diff --git a/classes/AbortError.html b/classes/AbortError.html index fc404772..55bbeb8c 100644 --- a/classes/AbortError.html +++ b/classes/AbortError.html @@ -1,4 +1,4 @@ -AbortError | Cadenza JS - v2.13.1

Class AbortError

Hierarchy

  • DOMException
    • AbortError

Constructors

constructor +AbortError | Cadenza JS - v2.13.2

Class AbortError

Hierarchy

  • DOMException
    • AbortError

Constructors

Properties

ABORT_ERR: 20
DATA_CLONE_ERR: 25
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
INDEX_SIZE_ERR: 1
INUSE_ATTRIBUTE_ERR: 10
INVALID_ACCESS_ERR: 15
INVALID_CHARACTER_ERR: 5
INVALID_MODIFICATION_ERR: 13
INVALID_NODE_TYPE_ERR: 24
INVALID_STATE_ERR: 11
NAMESPACE_ERR: 14
NETWORK_ERR: 19
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
QUOTA_EXCEEDED_ERR: 22
SECURITY_ERR: 18
SYNTAX_ERR: 12
TIMEOUT_ERR: 23
TYPE_MISMATCH_ERR: 17
URL_MISMATCH_ERR: 21
VALIDATION_ERR: 16
WRONG_DOCUMENT_ERR: 4
cause?: unknown
code: number

Deprecated

MDN Reference

+

Constructors

Properties

ABORT_ERR: 20
DATA_CLONE_ERR: 25
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
INDEX_SIZE_ERR: 1
INUSE_ATTRIBUTE_ERR: 10
INVALID_ACCESS_ERR: 15
INVALID_CHARACTER_ERR: 5
INVALID_MODIFICATION_ERR: 13
INVALID_NODE_TYPE_ERR: 24
INVALID_STATE_ERR: 11
NAMESPACE_ERR: 14
NETWORK_ERR: 19
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
QUOTA_EXCEEDED_ERR: 22
SECURITY_ERR: 18
SYNTAX_ERR: 12
TIMEOUT_ERR: 23
TYPE_MISMATCH_ERR: 17
URL_MISMATCH_ERR: 21
VALIDATION_ERR: 16
WRONG_DOCUMENT_ERR: 4
cause?: unknown
code: number

Deprecated

MDN Reference

message: string
name: string
stack?: string
ABORT_ERR: 20
DATA_CLONE_ERR: 25
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
INDEX_SIZE_ERR: 1
INUSE_ATTRIBUTE_ERR: 10
INVALID_ACCESS_ERR: 15
INVALID_CHARACTER_ERR: 5
INVALID_MODIFICATION_ERR: 13
INVALID_NODE_TYPE_ERR: 24
INVALID_STATE_ERR: 11
NAMESPACE_ERR: 14
NETWORK_ERR: 19
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
QUOTA_EXCEEDED_ERR: 22
SECURITY_ERR: 18
SYNTAX_ERR: 12
TIMEOUT_ERR: 23
TYPE_MISMATCH_ERR: 17
URL_MISMATCH_ERR: 21
VALIDATION_ERR: 16
WRONG_DOCUMENT_ERR: 4
\ No newline at end of file +
stack?: string
ABORT_ERR: 20
DATA_CLONE_ERR: 25
DOMSTRING_SIZE_ERR: 2
HIERARCHY_REQUEST_ERR: 3
INDEX_SIZE_ERR: 1
INUSE_ATTRIBUTE_ERR: 10
INVALID_ACCESS_ERR: 15
INVALID_CHARACTER_ERR: 5
INVALID_MODIFICATION_ERR: 13
INVALID_NODE_TYPE_ERR: 24
INVALID_STATE_ERR: 11
NAMESPACE_ERR: 14
NETWORK_ERR: 19
NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9
NO_DATA_ALLOWED_ERR: 6
NO_MODIFICATION_ALLOWED_ERR: 7
QUOTA_EXCEEDED_ERR: 22
SECURITY_ERR: 18
SYNTAX_ERR: 12
TIMEOUT_ERR: 23
TYPE_MISMATCH_ERR: 17
URL_MISMATCH_ERR: 21
VALIDATION_ERR: 16
WRONG_DOCUMENT_ERR: 4
\ No newline at end of file diff --git a/classes/CadenzaClient.html b/classes/CadenzaClient.html index 08177f01..6bc3a176 100644 --- a/classes/CadenzaClient.html +++ b/classes/CadenzaClient.html @@ -1,4 +1,4 @@ -CadenzaClient | Cadenza JS - v2.13.1

Class CadenzaClient

Notes:

+CadenzaClient | Cadenza JS - v2.13.2

Class CadenzaClient

Notes:

  • Most public methods are tagged with one of these modifiers:
    • Embed: The method embeds Cadenza in the given iframe.
    • @@ -13,7 +13,7 @@
    • For methods that support the hideMainHeaderAndFooter and hideWorkbookToolBar parameters - the parameters cannot override the configuration of an embedding target.
    • For methods that support the locationFinder and mapExtent parameters - when both are given, the mapExtent takes precedence.
    -

Properties

Properties

#baseUrl: undefined | string
#debug: boolean
#iframe: undefined | string | HTMLIFrameElement
#iframeElement: undefined | HTMLIFrameElement
#origin: string
#subscriptions: [string, ((event) => void)][] = []
#webApplication: undefined | ExternalLinkKey

Accessors

  • get #requiredIframe(): HTMLIFrameElement
  • Returns HTMLIFrameElement

  • get baseUrl(): undefined | string
  • The base URL of the Cadenza server this client is requesting

    -

    Returns undefined | string

  • get iframe(): undefined | HTMLIFrameElement
  • The iframe this client is using for embedding Cadenza.

    -

    Returns undefined | HTMLIFrameElement

Methods

  • Parameters

    • path: string
    • params: URLSearchParams

    Returns URL

  • Parameters

    • path: string
    • params: URLSearchParams

    Returns void

  • Parameters

    • path: string

      Type

      string

      +

Properties

#baseUrl: undefined | string
#debug: boolean
#iframe: undefined | string | HTMLIFrameElement
#iframeElement: undefined | HTMLIFrameElement
#origin: string
#subscriptions: [string, ((event) => void)][] = []
#webApplication: undefined | ExternalLinkKey

Accessors

  • get #requiredIframe(): HTMLIFrameElement
  • Returns HTMLIFrameElement

  • get baseUrl(): undefined | string
  • The base URL of the Cadenza server this client is requesting

    +

    Returns undefined | string

  • get iframe(): undefined | HTMLIFrameElement
  • The iframe this client is using for embedding Cadenza.

    +

    Returns undefined | HTMLIFrameElement

Methods

  • Parameters

    • path: string
    • params: URLSearchParams

    Returns URL

  • Parameters

    • path: string
    • params: URLSearchParams

    Returns void

  • Parameters

    • path: string

      Type

      string

    • params: URLSearchParams

      Type

      URLSearchParams

    • signal: undefined | AbortSignal

      Type

      AbortSignal | undefined

    • body: undefined | string

      Type

      String | undefined If body is set, the fetch will be a post.

      -

    Returns Promise<Response>

  • Parameters

    • signal: undefined | AbortSignal

    Returns Promise<void>

  • Type Parameters

    • TYPE extends string
    • DETAIL = unknown

    Parameters

    Returns (() => void)

    An unsubscribe function

    -
      • (): void
      • Returns void

  • Parameters

    • event: MessageEvent<CadenzaEvent<never, never>>

      Type

      MessageEvent<CadenzaEvent<never, never>>

      -

    Returns void

  • Parameters

    • type: string
    • Optional detail: unknown
    • Optional transfer: Transferable[]

    Returns void

  • Posts an event to Cadenza and returns a Promise for the response.

    +

Returns Promise<Response>

  • Parameters

    • signal: undefined | AbortSignal

    Returns Promise<void>

  • Type Parameters

    • TYPE extends string
    • DETAIL = unknown

    Parameters

    Returns (() => void)

    An unsubscribe function

    +
      • (): void
      • Returns void

  • Parameters

    • event: MessageEvent<CadenzaEvent<never, never>>

      Type

      MessageEvent<CadenzaEvent<never, never>>

      +

    Returns void

  • Parameters

    • type: string
    • Optional detail: unknown
    • Optional transfer: Transferable[]

    Returns void

  • Posts an event to Cadenza and returns a Promise for the response.

    It is guaranteed that a response refers to a specific request, even if multiple request are executed in parallel.

    -

    Type Parameters

    • T = void

    Parameters

    • type: string
    • Optional detail: unknown

    Returns Promise<T>

  • Parameters

    • path: string
    • params: URLSearchParams
    • Optional signal: AbortSignal

    Returns Promise<void>

  • Post Message Parent

    Sends a message to parent Cadenza window to close the window containing this application

    -

    Returns void

  • Embed

    Create a geometry.

    +

    Type Parameters

    • T = void

    Parameters

    • type: string
    • Optional detail: unknown

    Returns Promise<T>

  • Parameters

    • path: string
    • params: URLSearchParams
    • Optional signal: AbortSignal

    Returns Promise<void>

  • Post Message Parent

    Sends a message to parent Cadenza window to close the window containing this application

    +

    Returns void

  • Server

    Download data from a workbook view.

    +
  • Server

    Download data from a workbook view.

    Note: The file name, if not provided, is generated from the name of the workbook view and the current date.

    Parameters

    • source: EmbeddingTargetId

      The workbook view to fetch data from.

    • dataType: DataType

      The data type you want to get back from the server. Currently, "csv", "excel" and "json" are supported for table and indicator views and "pdf" for views of type "JasperReports report".

    • Optional __namedParameters: {
          fileName: undefined | string;
          filter: undefined | FilterVariables;
          parts: undefined | TablePart[];
      } = {}
    • Rest ...args: any

    Returns void

    Throws

    For invalid arguments

    -
  • Embed

    Edit a geometry.

    +
  • Embed

    Edit a geometry.

    Parameters

    • backgroundMapView: EmbeddingTargetId

      The workbook map view in the background

    • geometry: Geometry

      The geometry

    • Optional __namedParameters: {
          filter: undefined | FilterVariables;
          locationFinder: undefined | string;
          mapExtent: undefined | Extent;
          minScale: undefined | number;
          operationMode: undefined | OperationMode;
          signal: undefined | AbortSignal;
          useMapSrs: undefined | boolean;
          zoomTarget: undefined | GeometryZoomTarget;
      } = {}
      • filter: undefined | FilterVariables
      • locationFinder: undefined | string
      • mapExtent: undefined | Extent
      • minScale: undefined | number
      • operationMode: undefined | OperationMode
      • signal: undefined | AbortSignal
      • useMapSrs: undefined | boolean
      • zoomTarget: undefined | GeometryZoomTarget
    • Rest ...args: any

    Returns Promise<void>

    A Promise for when the iframe is loaded

    @@ -91,34 +91,34 @@

    Fires

    -

Returns void

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/CadenzaError.html b/classes/CadenzaError.html index 5e3ca8d3..184787bd 100644 --- a/classes/CadenzaError.html +++ b/classes/CadenzaError.html @@ -1,6 +1,6 @@ -CadenzaError | Cadenza JS - v2.13.1

Class CadenzaError

An Error implementation for errors in the communication with Cadenza.

+CadenzaError | Cadenza JS - v2.13.2

Class CadenzaError

An Error implementation for errors in the communication with Cadenza.

Note: For invalid parameters, the Cadenza client will throw "normal" Errors.

-

Hierarchy

  • Error
    • CadenzaError

Constructors

Hierarchy

  • Error
    • CadenzaError

Constructors

Properties

#type cause? message @@ -12,7 +12,7 @@

Methods

Constructors

  • Parameters

    • type: string

      The technical identifier of the error

    • message: string

      A description of the error

      -

    Returns CadenzaError

Properties

#type: string
cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+

Returns CadenzaError

Properties

#type: string
cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    -

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

\ No newline at end of file +
stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    +

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

\ No newline at end of file diff --git a/functions/cadenza.html b/functions/cadenza.html index a0164458..49763852 100644 --- a/functions/cadenza.html +++ b/functions/cadenza.html @@ -1,10 +1,10 @@ -cadenza | Cadenza JS - v2.13.1

Function cadenza

\ No newline at end of file diff --git a/index.html b/index.html index 241f1bff..7d88186e 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -Cadenza JS - v2.13.1

Cadenza JS - v2.13.1

+Cadenza JS - v2.13.2
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/CadenzaClientOptions.html b/interfaces/CadenzaClientOptions.html index 78f6dadb..ba0c128d 100644 --- a/interfaces/CadenzaClientOptions.html +++ b/interfaces/CadenzaClientOptions.html @@ -1,14 +1,14 @@ -CadenzaClientOptions | Cadenza JS - v2.13.1

Interface CadenzaClientOptions

interface CadenzaClientOptions {
    baseUrl: undefined | string;
    debug: undefined | boolean;
    iframe: undefined | string | HTMLIFrameElement;
    webApplication: undefined | ExternalLinkKey;
}

Properties

baseUrl +CadenzaClientOptions | Cadenza JS - v2.13.2

Interface CadenzaClientOptions

interface CadenzaClientOptions {
    baseUrl: undefined | string;
    debug: undefined | boolean;
    iframe: undefined | string | HTMLIFrameElement;
    webApplication: undefined | ExternalLinkKey;
}

Properties

baseUrl: undefined | string

The base URL of the Cadenza server

-
debug: undefined | boolean

Whether to enable debug logging

-
iframe: undefined | string | HTMLIFrameElement

An iframe for embedding Cadenza or the iframe's ID. +

debug: undefined | boolean

Whether to enable debug logging

+
iframe: undefined | string | HTMLIFrameElement

An iframe for embedding Cadenza or the iframe's ID. The iframe is required only for methods that embed Cadenza in an iframe, so e.g. not for CadenzaClient#fetchData. If you want to embed Cadenza in multiple iframes, you need to create an instance of the CadenzaClient per iframe.

-
webApplication: undefined | ExternalLinkKey

An external link that Cadenza uses to resolve the +

webApplication: undefined | ExternalLinkKey

An external link that Cadenza uses to resolve the target origin when posting events. This is required if Cadenza and your application are not running on the same origin. Please ensure that the user has view privilege for that link!

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/CadenzaEvent.html b/interfaces/CadenzaEvent.html index 084f951b..83e5185e 100644 --- a/interfaces/CadenzaEvent.html +++ b/interfaces/CadenzaEvent.html @@ -1,6 +1,6 @@ -CadenzaEvent | Cadenza JS - v2.13.1

Interface CadenzaEvent<TYPE, DETAIL>

A Cadenza postMessage() event

-
interface CadenzaEvent<TYPE, DETAIL> {
    detail: DETAIL;
    type: TYPE;
}

Type Parameters

Properties

detail +CadenzaEvent | Cadenza JS - v2.13.2

Interface CadenzaEvent<TYPE, DETAIL>

A Cadenza postMessage() event

+
interface CadenzaEvent<TYPE, DETAIL> {
    detail: DETAIL;
    type: TYPE;
}

Type Parameters

Properties

Properties

detail: DETAIL

Optional event details (depending on the event type)

-
type: TYPE

The event type

-
\ No newline at end of file +
type: TYPE

The event type

+
\ No newline at end of file diff --git a/interfaces/Distance.html b/interfaces/Distance.html index 4440a9f4..8a3b2f3b 100644 --- a/interfaces/Distance.html +++ b/interfaces/Distance.html @@ -1,3 +1,3 @@ -Distance | Cadenza JS - v2.13.1

Interface Distance

interface Distance {
    lengthUnit: LengthUnit;
    value: number;
}

Properties

lengthUnit +Distance | Cadenza JS - v2.13.2

Interface Distance

interface Distance {
    lengthUnit: LengthUnit;
    value: number;
}

Properties

Properties

lengthUnit: LengthUnit
value: number
\ No newline at end of file +

Properties

lengthUnit: LengthUnit
value: number
\ No newline at end of file diff --git a/interfaces/ExternalLinkKey.html b/interfaces/ExternalLinkKey.html index 8e1ee4cb..e71b454a 100644 --- a/interfaces/ExternalLinkKey.html +++ b/interfaces/ExternalLinkKey.html @@ -1,9 +1,9 @@ -ExternalLinkKey | Cadenza JS - v2.13.1

Interface ExternalLinkKey

A tuple qualifying a Cadenza external link

+ExternalLinkKey | Cadenza JS - v2.13.2

Interface ExternalLinkKey

A tuple qualifying a Cadenza external link

You get the repositoryName and externalLinkId from the URL of the external link's page in the Cadenza management center:

<baseUrl>/admin/repositories/<repositoryName>/external-links/<externalLinkId>?...
 
-
interface ExternalLinkKey {
    externalLinkId: string;
    repositoryName: string;
}

Properties

interface ExternalLinkKey {
    externalLinkId: string;
    repositoryName: string;
}

Properties

externalLinkId: string

The ID of the external link

-
repositoryName: string

The name of the link's repository

-
\ No newline at end of file +
repositoryName: string

The name of the link's repository

+
\ No newline at end of file diff --git a/interfaces/Feature.html b/interfaces/Feature.html index edc0a04a..5b98c848 100644 --- a/interfaces/Feature.html +++ b/interfaces/Feature.html @@ -1,12 +1,12 @@ -Feature | Cadenza JS - v2.13.1

Interface Feature

A adapted GeoJSON feature object.

-
interface Feature {
    area: undefined | number;
    geometry: Geometry;
    length: undefined | number;
    objectId: any[];
    properties: Record<string, string>;
}

Properties

area +Feature | Cadenza JS - v2.13.2

Interface Feature

A adapted GeoJSON feature object.

+
interface Feature {
    area: undefined | number;
    geometry: Geometry;
    length: undefined | number;
    objectId: any[];
    properties: Record<string, string>;
}

Properties

area: undefined | number

The area of a Polygon feature

-
geometry: Geometry

The geometry

-
length: undefined | number

The area of a LineString feature

-
objectId: any[]

The id of the feature

-
properties: Record<string, string>

The formated properties

-
\ No newline at end of file +
geometry: Geometry

The geometry

+
length: undefined | number

The area of a LineString feature

+
objectId: any[]

The id of the feature

+
properties: Record<string, string>

The formated properties

+
\ No newline at end of file diff --git a/interfaces/FeatureCollection.html b/interfaces/FeatureCollection.html index d6b6f5e5..3dbcba6f 100644 --- a/interfaces/FeatureCollection.html +++ b/interfaces/FeatureCollection.html @@ -1,4 +1,4 @@ -FeatureCollection | Cadenza JS - v2.13.1

Interface FeatureCollection

A adapted GeoJSON feature collection object

-
interface FeatureCollection {
    features: Feature[];
}

Properties

features +FeatureCollection | Cadenza JS - v2.13.2

Interface FeatureCollection

A adapted GeoJSON feature collection object

+
interface FeatureCollection {
    features: Feature[];
}

Properties

Properties

features: Feature[]

The features within this collection

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/Geometry.html b/interfaces/Geometry.html index ac4248c0..abb3c0e3 100644 --- a/interfaces/Geometry.html +++ b/interfaces/Geometry.html @@ -1,4 +1,4 @@ -Geometry | Cadenza JS - v2.13.1

Interface Geometry

A GeoJSON geometry object

-
interface Geometry {
    type: GeometryType;
}

Properties

type +Geometry | Cadenza JS - v2.13.2

Interface Geometry

A GeoJSON geometry object

+
interface Geometry {
    type: GeometryType;
}

Properties

Properties

The type of the geometry

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/GeometryZoomTarget.html b/interfaces/GeometryZoomTarget.html index c1708615..43310879 100644 --- a/interfaces/GeometryZoomTarget.html +++ b/interfaces/GeometryZoomTarget.html @@ -1,4 +1,4 @@ -GeometryZoomTarget | Cadenza JS - v2.13.1

Interface GeometryZoomTarget

Instructs Cadenza to zoom to a provided {@Link Geometry}

-
interface GeometryZoomTarget {
    type: "geometry";
}

Properties

type +GeometryZoomTarget | Cadenza JS - v2.13.2

Interface GeometryZoomTarget

Instructs Cadenza to zoom to a provided {@Link Geometry}

+
interface GeometryZoomTarget {
    type: "geometry";
}

Properties

Properties

type: "geometry"

The type of the zoom target

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/PageSource.html b/interfaces/PageSource.html index b7e74e94..e5e5ea07 100644 --- a/interfaces/PageSource.html +++ b/interfaces/PageSource.html @@ -1,4 +1,4 @@ -PageSource | Cadenza JS - v2.13.1

Interface PageSource

A well-known Cadenza page

-
interface PageSource {
    page: "welcome";
}

Properties

page +PageSource | Cadenza JS - v2.13.2

Interface PageSource

A well-known Cadenza page

+
interface PageSource {
    page: "welcome";
}

Properties

Properties

page: "welcome"

The name of the page (Only "welcome" is currently supported.)

-
\ No newline at end of file +
\ No newline at end of file diff --git a/modules.html b/modules.html index 27501b31..665f0244 100644 --- a/modules.html +++ b/modules.html @@ -1,4 +1,4 @@ -Cadenza JS - v2.13.1

Cadenza JS - v2.13.1

Index

Classes

AbortError +Cadenza JS - v2.13.2

Cadenza JS - v2.13.2

Index

Classes

Interfaces

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/types/CadenzaActionEvent.html b/types/CadenzaActionEvent.html index 57e02a4c..0ca86b00 100644 --- a/types/CadenzaActionEvent.html +++ b/types/CadenzaActionEvent.html @@ -1,2 +1,2 @@ -CadenzaActionEvent | Cadenza JS - v2.13.1

Type alias CadenzaActionEvent

CadenzaActionEvent: CadenzaEvent<"action", {
    context: string;
}>

When the user executed a POST message action, which is defined on an external link in the Cadenza management center.

-

Type declaration

  • context: string
\ No newline at end of file +CadenzaActionEvent | Cadenza JS - v2.13.2

Type alias CadenzaActionEvent

CadenzaActionEvent: CadenzaEvent<"action", {
    context: string;
}>

When the user executed a POST message action, which is defined on an external link in the Cadenza management center.

+

Type declaration

  • context: string
\ No newline at end of file diff --git a/types/CadenzaChangeSelectionEvent.html b/types/CadenzaChangeSelectionEvent.html index ff5bbce6..d32ba513 100644 --- a/types/CadenzaChangeSelectionEvent.html +++ b/types/CadenzaChangeSelectionEvent.html @@ -1,3 +1,3 @@ -CadenzaChangeSelectionEvent | Cadenza JS - v2.13.1

Type alias CadenzaChangeSelectionEvent

CadenzaChangeSelectionEvent: CadenzaEvent<"change:selection", undefined | {
    layer: WorkbookLayerPath;
    values: unknown[][];
}>

When the user changed the selection.

+CadenzaChangeSelectionEvent | Cadenza JS - v2.13.2

Type alias CadenzaChangeSelectionEvent

CadenzaChangeSelectionEvent: CadenzaEvent<"change:selection", undefined | {
    layer: WorkbookLayerPath;
    values: unknown[][];
}>

When the user changed the selection.

For a selection in a workbook map view with activated feature info, the values also include the simplified geometries of the selected objects.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/CadenzaDrillThroughEvent.html b/types/CadenzaDrillThroughEvent.html index ba155175..d2115044 100644 --- a/types/CadenzaDrillThroughEvent.html +++ b/types/CadenzaDrillThroughEvent.html @@ -1,7 +1,7 @@ -CadenzaDrillThroughEvent | Cadenza JS - v2.13.1

Type alias CadenzaDrillThroughEvent

CadenzaDrillThroughEvent: CadenzaEvent<"drillThrough", {
    context?: string;
    values: unknown[][];
}>

When the user executed a POST message drill-through.

+CadenzaDrillThroughEvent | Cadenza JS - v2.13.2

Type alias CadenzaDrillThroughEvent

CadenzaDrillThroughEvent: CadenzaEvent<"drillThrough", {
    context?: string;
    values: unknown[][];
}>

When the user executed a POST message drill-through.

The event includes a data row for every item in the workbook selection, each row consisting of the values of the attributes that were selected for the POST message content. If the drill-through was executed from a map view, each row includes the geometry of the selected object as the last value.

-See also: JSON Representation of Cadenza Object Data

Type declaration

  • Optional context?: string
  • values: unknown[][]
\ No newline at end of file +See also: JSON Representation of Cadenza Object Data

Type declaration

  • Optional context?: string
  • values: unknown[][]
\ No newline at end of file diff --git a/types/CadenzaEditGeometryCancelEvent.html b/types/CadenzaEditGeometryCancelEvent.html index 2ed0fd0e..6f169506 100644 --- a/types/CadenzaEditGeometryCancelEvent.html +++ b/types/CadenzaEditGeometryCancelEvent.html @@ -1,2 +1,2 @@ -CadenzaEditGeometryCancelEvent | Cadenza JS - v2.13.1

Type alias CadenzaEditGeometryCancelEvent

CadenzaEditGeometryCancelEvent: CadenzaEvent<"editGeometry:cancel">

When the user cancelled the geometry editing.

-
\ No newline at end of file +CadenzaEditGeometryCancelEvent | Cadenza JS - v2.13.2

Type alias CadenzaEditGeometryCancelEvent

CadenzaEditGeometryCancelEvent: CadenzaEvent<"editGeometry:cancel">

When the user cancelled the geometry editing.

+
\ No newline at end of file diff --git a/types/CadenzaEditGeometryOkEvent.html b/types/CadenzaEditGeometryOkEvent.html index 7186da49..1c4eff6a 100644 --- a/types/CadenzaEditGeometryOkEvent.html +++ b/types/CadenzaEditGeometryOkEvent.html @@ -1,2 +1,2 @@ -CadenzaEditGeometryOkEvent | Cadenza JS - v2.13.1

Type alias CadenzaEditGeometryOkEvent

CadenzaEditGeometryOkEvent: CadenzaEvent<"editGeometry:ok", {
    geometry: Geometry;
}>

When the user submitted the geometry.

-

Type declaration

\ No newline at end of file +CadenzaEditGeometryOkEvent | Cadenza JS - v2.13.2

Type alias CadenzaEditGeometryOkEvent

CadenzaEditGeometryOkEvent: CadenzaEvent<"editGeometry:ok", {
    geometry: Geometry;
}>

When the user submitted the geometry.

+

Type declaration

\ No newline at end of file diff --git a/types/CadenzaEditGeometryUpdateEvent.html b/types/CadenzaEditGeometryUpdateEvent.html index 9e282c9e..6ffc185b 100644 --- a/types/CadenzaEditGeometryUpdateEvent.html +++ b/types/CadenzaEditGeometryUpdateEvent.html @@ -1,2 +1,2 @@ -CadenzaEditGeometryUpdateEvent | Cadenza JS - v2.13.1

Type alias CadenzaEditGeometryUpdateEvent

CadenzaEditGeometryUpdateEvent: CadenzaEvent<"editGeometry:update", {
    geometry: Geometry;
}>

When the user changed the geometry.

-

Type declaration

\ No newline at end of file +CadenzaEditGeometryUpdateEvent | Cadenza JS - v2.13.2

Type alias CadenzaEditGeometryUpdateEvent

CadenzaEditGeometryUpdateEvent: CadenzaEvent<"editGeometry:update", {
    geometry: Geometry;
}>

When the user changed the geometry.

+

Type declaration

\ No newline at end of file diff --git a/types/CadenzaErrorEvent.html b/types/CadenzaErrorEvent.html index 59d0ab19..480c40a0 100644 --- a/types/CadenzaErrorEvent.html +++ b/types/CadenzaErrorEvent.html @@ -1,2 +1,2 @@ -CadenzaErrorEvent | Cadenza JS - v2.13.1

Type alias CadenzaErrorEvent

CadenzaErrorEvent: CadenzaEvent<"error", {
    message?: string;
    type: string;
}>

An error event that is mapped to a CadenzaError

-

Type declaration

  • Optional message?: string
  • type: string
\ No newline at end of file +CadenzaErrorEvent | Cadenza JS - v2.13.2

Type alias CadenzaErrorEvent

CadenzaErrorEvent: CadenzaEvent<"error", {
    message?: string;
    type: string;
}>

An error event that is mapped to a CadenzaError

+

Type declaration

  • Optional message?: string
  • type: string
\ No newline at end of file diff --git a/types/CadenzaEventByType.html b/types/CadenzaEventByType.html index 2c631332..bb866e18 100644 --- a/types/CadenzaEventByType.html +++ b/types/CadenzaEventByType.html @@ -1 +1 @@ -CadenzaEventByType | Cadenza JS - v2.13.1

Type alias CadenzaEventByType<T>

CadenzaEventByType<T>: T extends "action"
    ? CadenzaActionEvent
    : T extends "change:selection"
        ? CadenzaChangeSelectionEvent
        : T extends "drillThrough"
            ? CadenzaDrillThroughEvent
            : T extends "editGeometry:update"
                ? CadenzaEditGeometryUpdateEvent
                : T extends "editGeometry:ok"
                    ? CadenzaEditGeometryOkEvent
                    : T extends "editGeometry:cancel"
                        ? CadenzaEditGeometryCancelEvent
                        : T extends "objectInfo"
                            ? CadenzaObjectInfoEvent
                            : T extends "selectObjects:ok"
                                ? CadenzaSelectObjectsOkEvent
                                : T extends "selectObjects:cancel"
                                    ? CadenzaSelectObjectsCancelEvent
                                    : never

Type Parameters

\ No newline at end of file +CadenzaEventByType | Cadenza JS - v2.13.2

Type alias CadenzaEventByType<T>

CadenzaEventByType<T>: T extends "action"
    ? CadenzaActionEvent
    : T extends "change:selection"
        ? CadenzaChangeSelectionEvent
        : T extends "drillThrough"
            ? CadenzaDrillThroughEvent
            : T extends "editGeometry:update"
                ? CadenzaEditGeometryUpdateEvent
                : T extends "editGeometry:ok"
                    ? CadenzaEditGeometryOkEvent
                    : T extends "editGeometry:cancel"
                        ? CadenzaEditGeometryCancelEvent
                        : T extends "objectInfo"
                            ? CadenzaObjectInfoEvent
                            : T extends "selectObjects:ok"
                                ? CadenzaSelectObjectsOkEvent
                                : T extends "selectObjects:cancel"
                                    ? CadenzaSelectObjectsCancelEvent
                                    : never

Type Parameters

\ No newline at end of file diff --git a/types/CadenzaEventType.html b/types/CadenzaEventType.html index be2c4ede..33c4c3e9 100644 --- a/types/CadenzaEventType.html +++ b/types/CadenzaEventType.html @@ -1,2 +1,2 @@ -CadenzaEventType | Cadenza JS - v2.13.1

Type alias CadenzaEventType

CadenzaEventType: "action" | "change:selection" | "drillThrough" | "editGeometry:ok" | "editGeometry:update" | "editGeometry:cancel" | "objectInfo" | "selectObjects:ok" | "selectObjects:cancel"

An event type to subscribe to using CadenzaClient#on

-
\ No newline at end of file +CadenzaEventType | Cadenza JS - v2.13.2

Type alias CadenzaEventType

CadenzaEventType: "action" | "change:selection" | "drillThrough" | "editGeometry:ok" | "editGeometry:update" | "editGeometry:cancel" | "objectInfo" | "selectObjects:ok" | "selectObjects:cancel"

An event type to subscribe to using CadenzaClient#on

+
\ No newline at end of file diff --git a/types/CadenzaObjectInfoEvent.html b/types/CadenzaObjectInfoEvent.html index 98010881..9b435ee6 100644 --- a/types/CadenzaObjectInfoEvent.html +++ b/types/CadenzaObjectInfoEvent.html @@ -1,2 +1,2 @@ -CadenzaObjectInfoEvent | Cadenza JS - v2.13.1

Type alias CadenzaObjectInfoEvent

CadenzaObjectInfoEvent: CadenzaEvent<"objectInfo", {
    layer: WorkbookLayerPath;
    objectInfos: {
        elements: {
            attributePrintName: string;
            formattedValue: string;
        }[];
        selectionIndex: number;
    };
}>

When the user opened the object info flyout.

-

Type declaration

  • layer: WorkbookLayerPath
  • objectInfos: {
        elements: {
            attributePrintName: string;
            formattedValue: string;
        }[];
        selectionIndex: number;
    }
    • elements: {
          attributePrintName: string;
          formattedValue: string;
      }[]
    • selectionIndex: number
\ No newline at end of file +CadenzaObjectInfoEvent | Cadenza JS - v2.13.2

Type alias CadenzaObjectInfoEvent

CadenzaObjectInfoEvent: CadenzaEvent<"objectInfo", {
    layer: WorkbookLayerPath;
    objectInfos: {
        elements: {
            attributePrintName: string;
            formattedValue: string;
        }[];
        selectionIndex: number;
    };
}>

When the user opened the object info flyout.

+

Type declaration

  • layer: WorkbookLayerPath
  • objectInfos: {
        elements: {
            attributePrintName: string;
            formattedValue: string;
        }[];
        selectionIndex: number;
    }
    • elements: {
          attributePrintName: string;
          formattedValue: string;
      }[]
    • selectionIndex: number
\ No newline at end of file diff --git a/types/CadenzaSelectObjectsCancelEvent.html b/types/CadenzaSelectObjectsCancelEvent.html index 06453c74..79786662 100644 --- a/types/CadenzaSelectObjectsCancelEvent.html +++ b/types/CadenzaSelectObjectsCancelEvent.html @@ -1,2 +1,2 @@ -CadenzaSelectObjectsCancelEvent | Cadenza JS - v2.13.1

Type alias CadenzaSelectObjectsCancelEvent

CadenzaSelectObjectsCancelEvent: CadenzaEvent<"selectObjects:cancel">

When the user cancelled the selection.

-
\ No newline at end of file +CadenzaSelectObjectsCancelEvent | Cadenza JS - v2.13.2

Type alias CadenzaSelectObjectsCancelEvent

CadenzaSelectObjectsCancelEvent: CadenzaEvent<"selectObjects:cancel">

When the user cancelled the selection.

+
\ No newline at end of file diff --git a/types/CadenzaSelectObjectsOkEvent.html b/types/CadenzaSelectObjectsOkEvent.html index f86b3657..f5ea3a61 100644 --- a/types/CadenzaSelectObjectsOkEvent.html +++ b/types/CadenzaSelectObjectsOkEvent.html @@ -1,3 +1,3 @@ -CadenzaSelectObjectsOkEvent | Cadenza JS - v2.13.1

Type alias CadenzaSelectObjectsOkEvent

CadenzaSelectObjectsOkEvent: CadenzaEvent<"selectObjects:ok", {
    layer: WorkbookLayerPath;
    values: unknown[][];
}>

When the user submitted the selection.

+CadenzaSelectObjectsOkEvent | Cadenza JS - v2.13.2

Type alias CadenzaSelectObjectsOkEvent

CadenzaSelectObjectsOkEvent: CadenzaEvent<"selectObjects:ok", {
    layer: WorkbookLayerPath;
    values: unknown[][];
}>

When the user submitted the selection.

For a selection in a workbook map view with activated feature info, the values also include the simplified geometries of the selected objects.

-

Type declaration

\ No newline at end of file +

Type declaration

\ No newline at end of file diff --git a/types/DataType.html b/types/DataType.html index 67eba69d..81c14f68 100644 --- a/types/DataType.html +++ b/types/DataType.html @@ -1,3 +1,3 @@ -DataType | Cadenza JS - v2.13.1

Type alias DataType

DataType: "csv" | "excel" | "json" | "pdf" | "png"

A data type

+DataType | Cadenza JS - v2.13.2

Type alias DataType

DataType: "csv" | "excel" | "json" | "pdf" | "png"

A data type

See JSON Representation of Cadenza Object Data for JSON data.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/EmbeddingTargetId.html b/types/EmbeddingTargetId.html index 712ad0ba..6e2971e5 100644 --- a/types/EmbeddingTargetId.html +++ b/types/EmbeddingTargetId.html @@ -1,4 +1,4 @@ -EmbeddingTargetId | Cadenza JS - v2.13.1

Type alias EmbeddingTargetId

EmbeddingTargetId: OpaqueString<"EmbeddingTargetId">

The ID of a Cadenza embedding target

+EmbeddingTargetId | Cadenza JS - v2.13.2

Type alias EmbeddingTargetId

EmbeddingTargetId: OpaqueString<"EmbeddingTargetId">

The ID of a Cadenza embedding target

Embedding targets are called 🇩🇪 "Einbettbarer Inhalt" / 🇺🇸 "Embeddable content" throughout the Cadenza UI and help. They're managed within the respective workbook:

    @@ -6,4 +6,4 @@
  • 🇺🇸 "More" > "Manage workbook" > "Embedding"

The name of an embedding target (as entered in the UI) is its ID.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/Extent.html b/types/Extent.html index 57b12f86..424a708e 100644 --- a/types/Extent.html +++ b/types/Extent.html @@ -1,2 +1,2 @@ -Extent | Cadenza JS - v2.13.1

Type alias Extent

Extent: [number, number, number, number]

An array of numbers representing an extent: [minx, miny, maxx, maxy]

-
\ No newline at end of file +Extent | Cadenza JS - v2.13.2

Type alias Extent

Extent: [number, number, number, number]

An array of numbers representing an extent: [minx, miny, maxx, maxy]

+
\ No newline at end of file diff --git a/types/FilterVariables.html b/types/FilterVariables.html index 1095dbf2..f4a243e2 100644 --- a/types/FilterVariables.html +++ b/types/FilterVariables.html @@ -1,5 +1,5 @@ -FilterVariables | Cadenza JS - v2.13.1

Type alias FilterVariables

FilterVariables: Record<string, string | string[] | number | Date | null>

Filter variable names and values

+FilterVariables | Cadenza JS - v2.13.2

Type alias FilterVariables

FilterVariables: Record<string, string | string[] | number | Date | null>

Filter variable names and values

Variables of type String, Integer, Long, Double and Date can be set.

Note: Since numbers in JavaScript are Double values (more info on MDN), for Long variables, the API is currently limited to the Double value range.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/GeometryType.html b/types/GeometryType.html index 06d3bb75..7eaab370 100644 --- a/types/GeometryType.html +++ b/types/GeometryType.html @@ -1,3 +1,3 @@ -GeometryType | Cadenza JS - v2.13.1

Type alias GeometryType

GeometryType: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon"

A GeoJSON geometry type

+GeometryType | Cadenza JS - v2.13.2

Type alias GeometryType

GeometryType: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon"

A GeoJSON geometry type

Note: The GeoJSON geometry type "GeometryCollection" is currently not supported.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/GlobalId.html b/types/GlobalId.html index 38908bed..0efaa040 100644 --- a/types/GlobalId.html +++ b/types/GlobalId.html @@ -1,2 +1,2 @@ -GlobalId | Cadenza JS - v2.13.1

Type alias GlobalId

GlobalId: OpaqueString<"GlobalId">

The ID of a navigator item

-
\ No newline at end of file +GlobalId | Cadenza JS - v2.13.2

Type alias GlobalId

GlobalId: OpaqueString<"GlobalId">

The ID of a navigator item

+
\ No newline at end of file diff --git a/types/LengthUnit.html b/types/LengthUnit.html index f4fa4d91..6014971e 100644 --- a/types/LengthUnit.html +++ b/types/LengthUnit.html @@ -1 +1 @@ -LengthUnit | Cadenza JS - v2.13.1

Type alias LengthUnit

LengthUnit: "m" | "km"
\ No newline at end of file +LengthUnit | Cadenza JS - v2.13.2

Type alias LengthUnit

LengthUnit: "m" | "km"
\ No newline at end of file diff --git a/types/OpaqueString.html b/types/OpaqueString.html index 641ed5b6..e90434d1 100644 --- a/types/OpaqueString.html +++ b/types/OpaqueString.html @@ -1,6 +1,6 @@ -OpaqueString | Cadenza JS - v2.13.1

Type alias OpaqueString<T>

OpaqueString<T>: string & {
    __type: T;
}

A specific string type that is not assignable from another string

+OpaqueString | Cadenza JS - v2.13.2

Type alias OpaqueString<T>

OpaqueString<T>: string & {
    __type: T;
}

A specific string type that is not assignable from another string

The idea is to have a specific type e.g. for the EmbeddingTargetId instead of a plain string. You don't need to actually add that __type property. In TS code, just use a type assertion (e.g. cadenzaClient.show('<embeddingTargetId>' as EmbeddingTargetId)).

-

Type Parameters

  • T extends string

Type declaration

  • __type: T
\ No newline at end of file +

Type Parameters

  • T extends string

Type declaration

  • __type: T
\ No newline at end of file diff --git a/types/OperationMode.html b/types/OperationMode.html index 0e23e3a9..9abeb25d 100644 --- a/types/OperationMode.html +++ b/types/OperationMode.html @@ -1,2 +1,2 @@ -OperationMode | Cadenza JS - v2.13.1

Type alias OperationMode

OperationMode: "normal" | "simplified"

The mode in which a workbook should be operated

-
\ No newline at end of file +OperationMode | Cadenza JS - v2.13.2

Type alias OperationMode

OperationMode: "normal" | "simplified"

The mode in which a workbook should be operated

+
\ No newline at end of file diff --git a/types/TablePart.html b/types/TablePart.html index ad04bab5..d7a8e822 100644 --- a/types/TablePart.html +++ b/types/TablePart.html @@ -1,2 +1,2 @@ -TablePart | Cadenza JS - v2.13.1

Type alias TablePart

TablePart: "columns" | "values" | "totals"

A part of a table to export

-
\ No newline at end of file +TablePart | Cadenza JS - v2.13.2

Type alias TablePart

TablePart: "columns" | "values" | "totals"

A part of a table to export

+
\ No newline at end of file diff --git a/types/UiFeature.html b/types/UiFeature.html index 6c9ed98c..393cfcc3 100644 --- a/types/UiFeature.html +++ b/types/UiFeature.html @@ -1,7 +1,7 @@ -UiFeature | Cadenza JS - v2.13.1

Type alias UiFeature

UiFeature: "workbook-design" | "workbook-view-management"

The name of a Cadenza UI feature

+UiFeature | Cadenza JS - v2.13.2

Type alias UiFeature

UiFeature: "workbook-design" | "workbook-view-management"

The name of a Cadenza UI feature

Note: Supported features are:

  • "workbook-design" - The workbook designer
  • "workbook-view-management" - Add/Edit/Remove workbook views (Is included in 'workbook-design'.)
-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/WorkbookLayerPath.html b/types/WorkbookLayerPath.html index db69601b..8e3c790c 100644 --- a/types/WorkbookLayerPath.html +++ b/types/WorkbookLayerPath.html @@ -1,3 +1,3 @@ -WorkbookLayerPath | Cadenza JS - v2.13.1

Type alias WorkbookLayerPath

WorkbookLayerPath: string[]

Identifies a layer within a workbook map view +WorkbookLayerPath | Cadenza JS - v2.13.2

Type alias WorkbookLayerPath

WorkbookLayerPath: string[]

Identifies a layer within a workbook map view using the print names of the layer and - if the layer is grouped - its ancestors

-
\ No newline at end of file +
\ No newline at end of file diff --git a/types/ZoomTarget.html b/types/ZoomTarget.html index bb565807..32bb3fa7 100644 --- a/types/ZoomTarget.html +++ b/types/ZoomTarget.html @@ -1,2 +1,2 @@ -ZoomTarget | Cadenza JS - v2.13.1

Type alias ZoomTarget

ZoomTarget: GeometryZoomTarget

An object describing a target to zoom to

-
\ No newline at end of file +ZoomTarget | Cadenza JS - v2.13.2

Type alias ZoomTarget

ZoomTarget: GeometryZoomTarget

An object describing a target to zoom to

+
\ No newline at end of file