From 7a51ae8b886316c75841438f6b23b74ea7472d3d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 10 Oct 2024 15:30:03 +0000 Subject: [PATCH] Updates --- assets/highlight.css | 53 +++++++++-------- classes/AbortError.html | 4 +- classes/CadenzaClient.html | 44 +++++++-------- classes/CadenzaError.html | 6 +- functions/cadenza.html | 4 +- index.html | 66 +++++++++++----------- interfaces/CadenzaClientOptions.html | 10 ++-- interfaces/CadenzaEvent.html | 6 +- interfaces/Distance.html | 4 +- interfaces/ExternalLinkKey.html | 8 +-- interfaces/Feature.html | 12 ++-- interfaces/FeatureCollection.html | 4 +- interfaces/Geometry.html | 4 +- interfaces/GeometryZoomTarget.html | 4 +- interfaces/PageSource.html | 4 +- types/CadenzaActionEvent.html | 2 +- types/CadenzaChangeSelectionEvent.html | 2 +- types/CadenzaDrillThroughEvent.html | 2 +- types/CadenzaEditGeometryCancelEvent.html | 2 +- types/CadenzaEditGeometryOkEvent.html | 2 +- types/CadenzaEditGeometryUpdateEvent.html | 2 +- types/CadenzaErrorEvent.html | 2 +- types/CadenzaEventByType.html | 2 +- types/CadenzaEventType.html | 2 +- types/CadenzaObjectInfoEvent.html | 2 +- types/CadenzaSelectObjectsCancelEvent.html | 2 +- types/CadenzaSelectObjectsOkEvent.html | 2 +- types/DataType.html | 2 +- types/EmbeddingTargetId.html | 2 +- types/Extent.html | 2 +- types/FilterVariables.html | 2 +- types/GeometryType.html | 2 +- types/GlobalId.html | 2 +- types/LengthUnit.html | 2 +- types/OpaqueString.html | 2 +- types/OperationMode.html | 2 +- types/TablePart.html | 2 +- types/UiFeature.html | 2 +- types/WorkbookLayerPath.html | 2 +- types/ZoomTarget.html | 2 +- 40 files changed, 146 insertions(+), 137 deletions(-) diff --git a/assets/highlight.css b/assets/highlight.css index d1630897..0cbeb968 100644 --- a/assets/highlight.css +++ b/assets/highlight.css @@ -5,30 +5,32 @@ --dark-hl-1: #D4D4D4; --light-hl-2: #A31515; --dark-hl-2: #CE9178; - --light-hl-3: #800000; - --dark-hl-3: #808080; + --light-hl-3: #008000; + --dark-hl-3: #6A9955; --light-hl-4: #800000; - --dark-hl-4: #569CD6; - --light-hl-5: #E50000; - --dark-hl-5: #9CDCFE; - --light-hl-6: #0000FF; - --dark-hl-6: #CE9178; - --light-hl-7: #AF00DB; - --dark-hl-7: #C586C0; - --light-hl-8: #001080; - --dark-hl-8: #9CDCFE; - --light-hl-9: #0000FF; - --dark-hl-9: #569CD6; - --light-hl-10: #0070C1; - --dark-hl-10: #4FC1FF; - --light-hl-11: #000000FF; - --dark-hl-11: #D4D4D4; - --light-hl-12: #098658; - --dark-hl-12: #B5CEA8; - --light-hl-13: #267F99; - --dark-hl-13: #4EC9B0; - --light-hl-14: #811F3F; - --dark-hl-14: #D16969; + --dark-hl-4: #808080; + --light-hl-5: #800000; + --dark-hl-5: #569CD6; + --light-hl-6: #E50000; + --dark-hl-6: #9CDCFE; + --light-hl-7: #0000FF; + --dark-hl-7: #CE9178; + --light-hl-8: #AF00DB; + --dark-hl-8: #C586C0; + --light-hl-9: #001080; + --dark-hl-9: #9CDCFE; + --light-hl-10: #0000FF; + --dark-hl-10: #569CD6; + --light-hl-11: #0070C1; + --dark-hl-11: #4FC1FF; + --light-hl-12: #000000FF; + --dark-hl-12: #D4D4D4; + --light-hl-13: #098658; + --dark-hl-13: #B5CEA8; + --light-hl-14: #267F99; + --dark-hl-14: #4EC9B0; + --light-hl-15: #811F3F; + --dark-hl-15: #D16969; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -49,6 +51,7 @@ --hl-12: var(--light-hl-12); --hl-13: var(--light-hl-13); --hl-14: var(--light-hl-14); + --hl-15: var(--light-hl-15); --code-background: var(--light-code-background); } } @@ -68,6 +71,7 @@ --hl-12: var(--dark-hl-12); --hl-13: var(--dark-hl-13); --hl-14: var(--dark-hl-14); + --hl-15: var(--dark-hl-15); --code-background: var(--dark-code-background); } } @@ -87,6 +91,7 @@ --hl-12: var(--light-hl-12); --hl-13: var(--light-hl-13); --hl-14: var(--light-hl-14); + --hl-15: var(--light-hl-15); --code-background: var(--light-code-background); } @@ -106,6 +111,7 @@ --hl-12: var(--dark-hl-12); --hl-13: var(--dark-hl-13); --hl-14: var(--dark-hl-14); + --hl-15: var(--dark-hl-15); --code-background: var(--dark-code-background); } @@ -124,4 +130,5 @@ .hl-12 { color: var(--hl-12); } .hl-13 { color: var(--hl-13); } .hl-14 { color: var(--hl-14); } +.hl-15 { color: var(--hl-15); } pre, code { background: var(--code-background); } diff --git a/classes/AbortError.html b/classes/AbortError.html index 5be0a140..50d9ded1 100644 --- a/classes/AbortError.html +++ b/classes/AbortError.html @@ -1,4 +1,4 @@ -AbortError | Cadenza JS - v2.13.2

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 diff --git a/classes/CadenzaClient.html b/classes/CadenzaClient.html index b13fde28..7046b789 100644 --- a/classes/CadenzaClient.html +++ b/classes/CadenzaClient.html @@ -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

      -
    • Post Message

      Expand/collapse the navigator.

      +
    • Post Message

      Expand/collapse the navigator.

      Parameters

      • expanded: boolean = true

        The expansion state of the navigator

        -
      • Rest ...args: any

      Returns void

    • Server

      Fetch the intersection areas from a workbook map view layer in JSON format for a given area.

      +
    • Rest ...args: any

    Returns void

    • Server

      Fetch the intersection areas from a workbook map view layer in JSON format for a given area.

      Parameters

      • source: EmbeddingTargetId

        The workbook view to fetch object info from.

      • layerPath: (string | WorkbookLayerPath)[]

        Layer path to identify the layer (identified using layer paths or print names)

      • geometry: Geometry

        The intersection geometry

      • Optional __namedParameters: {
            buffer: undefined | Distance;
            signal: undefined | AbortSignal;
            useMapSrs: undefined | boolean;
        } = {}
        • buffer: undefined | Distance
        • signal: undefined | AbortSignal
        • useMapSrs: undefined | boolean
      • Rest ...args: any

      Returns Promise<FeatureCollection>

      A Promise for the fetch response

      -
    • Server

      Fetch data from a workbook view.

      +
    • Server

      Fetch data from a workbook view.

      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: {
            filter: undefined | FilterVariables;
            parts: undefined | TablePart[];
            signal: undefined | AbortSignal;
        } = {}
      • Rest ...args: any

      Returns Promise<Response>

      A Promise for the fetch response

      Throws

      For invalid arguments

      -
    • Fetch object info from a workbook map view.

      +
    • Fetch object info from a workbook map view.

      Parameters

      • source: EmbeddingTargetId

        The workbook view to fetch object info from.

      • layerPath: (string | WorkbookLayerPath)[]

        Layer path to identify the layer (identified using layer paths or print names)

      • objectIds: unknown[][]

        The IDs of the objects to select

      • Optional __namedParameters: {
            filter: undefined | FilterVariables;
            fullGeometries: undefined | boolean;
            signal: undefined | AbortSignal;
            useMapSrs: undefined | boolean;
        } = {}
        • filter: undefined | FilterVariables
        • fullGeometries: undefined | boolean
        • signal: undefined | AbortSignal
        • useMapSrs: undefined | boolean
      • Rest ...args: any

      Returns Promise<FeatureCollection>

      A Promise for the fetch response

      Throws

      For invalid arguments

      -
    • Post Message

      Reload the views of a worksheet.

      -

      Parameters

      • Optional __namedParameters: {
            invalidateCaches: undefined | boolean;
        } = {}
        • invalidateCaches: undefined | boolean
      • Rest ...args: any

      Returns void

    • Embed

      Select objects in a workbook map.

      +
        • (): void
        • Returns void

    • Post Message

      Reload the views of a worksheet.

      +

      Parameters

      • Optional __namedParameters: {
            invalidateCaches: undefined | boolean;
        } = {}
        • invalidateCaches: undefined | boolean
      • Rest ...args: any

      Returns void

    • Embed

      Select objects in a workbook map.

      Parameters

      • backgroundMapView: EmbeddingTargetId

        The workbook map view

      • Optional __namedParameters: {
            filter: undefined | FilterVariables;
            layers: undefined | (string | WorkbookLayerPath)[];
            locationFinder: undefined | string;
            mapExtent: undefined | Extent;
            operationMode: undefined | OperationMode;
            signal: undefined | AbortSignal;
            useMapSrs: undefined | boolean;
        } = {}
      • Rest ...args: any

      Returns Promise<void>

      A Promise for when the iframe is loaded

      Throws

      For invalid arguments

      @@ -128,7 +128,7 @@

      Fires

      -
    • Embed

      Show a page, workbook, worksheet or workbook view in an iframe.

      +
    • Embed

      Show a page, workbook, worksheet or workbook view in an iframe.

      Parameters

      • source: EmbeddingTargetId | PageSource

        The source to show

      • Optional __namedParameters: {
            dataType: undefined | DataType;
            disabledUiFeatures: undefined | UiFeature[];
            expandNavigator: undefined | boolean;
            filter: undefined | FilterVariables;
            hideMainHeaderAndFooter: undefined | boolean;
            hideWorkbookToolBar: undefined | boolean;
            highlightGlobalId: undefined | GlobalId;
            labelSet: undefined | string;
            operationMode: undefined | OperationMode;
            signal: undefined | AbortSignal;
        } = {}
        • dataType: undefined | DataType
        • disabledUiFeatures: undefined | UiFeature[]
        • expandNavigator: undefined | boolean
        • filter: undefined | FilterVariables
        • hideMainHeaderAndFooter: undefined | boolean
        • hideWorkbookToolBar: undefined | boolean
        • highlightGlobalId: undefined | GlobalId
        • labelSet: undefined | string
        • operationMode: undefined | OperationMode
        • signal: undefined | AbortSignal
      • Rest ...args: any

      Returns Promise<void>

      A Promise for when the iframe is loaded

      Throws

      For invalid arguments

      @@ -136,7 +136,7 @@

      Fires

      -
    • Embed

      Show a workbook map view in an iframe.

      +
    • Embed

      Show a workbook map view in an iframe.

      Parameters

      • mapView: EmbeddingTargetId

        The workbook map view to show

      • Optional __namedParameters: {
            disabledUiFeatures: undefined | UiFeature[];
            expandNavigator: undefined | boolean;
            filter: undefined | FilterVariables;
            geometry: undefined | Geometry;
            hideMainHeaderAndFooter: undefined | boolean;
            hideWorkbookToolBar: undefined | boolean;
            highlightGlobalId: undefined | GlobalId;
            locationFinder: undefined | string;
            mapExtent: undefined | Extent;
            operationMode: undefined | OperationMode;
            signal: undefined | AbortSignal;
            useMapSrs: undefined | boolean;
            zoomTarget: undefined | GeometryZoomTarget;
        } = {}
        • disabledUiFeatures: undefined | UiFeature[]
        • expandNavigator: undefined | boolean
        • filter: undefined | FilterVariables
        • geometry: undefined | Geometry
        • hideMainHeaderAndFooter: undefined | boolean
        • hideWorkbookToolBar: undefined | boolean
        • highlightGlobalId: undefined | GlobalId
        • locationFinder: undefined | string
        • mapExtent: undefined | Extent
        • 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

      Throws

      For invalid arguments

      @@ -144,4 +144,4 @@

      Fires

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/CadenzaError.html b/classes/CadenzaError.html index fec71dee..c03c6ae5 100644 --- a/classes/CadenzaError.html +++ b/classes/CadenzaError.html @@ -1,6 +1,6 @@ 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

      +
    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 f9f482a7..b0f61616 100644 --- a/functions/cadenza.html +++ b/functions/cadenza.html @@ -1,10 +1,10 @@ cadenza | Cadenza JS - v2.13.2

    Function cadenza

    \ No newline at end of file +
    \ No newline at end of file diff --git a/index.html b/index.html index 7d88186e..18e3fc95 100644 --- a/index.html +++ b/index.html @@ -7,31 +7,33 @@
  • The development sandbox
  • Installation

    Cadenza JS is included in the Cadenza distribution in the corresponding version.

    -

    Alternatively you can install the most recent version using npm:

    -
    npm install @disy/cadenza.js
    +

    Alternatively you can install the most recent version for a particular Cadenza Release using npm:

    +
    npm install @disy/cadenza.js@~10.2.0 # For latest version for Cadenza 10.2 
     
    +

    The Cadenza main version is reflected in the Cadenza JS version (e.g. 10.2.0 for Cadenza 10.2), while the last version segment is increased for both, bugfixes and functional changes.

    +

    Cadenza 10.1 and earlier

    For Cadenza 10.1 and earlier versions Cadenza JS used did use genuine semantic versioning. Please consult the Cadenza Documentation for the corresponding major and minor version of cadenza.js.

    Usage Examples

    This section features usage examples for Cadenza JS. For detailed usage information, see the "API:" links.

    General Usage

    API: cadenza()

    There are two ways to use Cadenza JS: As a module and globally.

    As a module

    Create an instance of the Cadenza client by calling cadenza() with the base URL of your Cadenza instance. Pass an iframe in the options if you want to show Cadenza in an iframe.

    -
    <iframe id="cadenza-iframe"></iframe>
    +
    <iframe id="cadenza-iframe"></iframe>
     
    -
    import { cadenza } from '@disy/cadenza.js';

    const cadenzaClient = cadenza('<baseUrl>', {
    iframe: 'cadenza-iframe',
    }); +
    import { cadenza } from '@disy/cadenza.js';

    const cadenzaClient = cadenza('<baseUrl>', {
    iframe: 'cadenza-iframe',
    });

    Tip: If you develop your application in TypeScript - Cadenza JS is typed using JSDoc and also comes with a cadenza.d.ts type definition file.

    -

    Globally

    <script type="module" src="./cadenza.js">
    +

    Globally

    <script type="module" src="./cadenza.js">
     
    -
    const cadenzaClient = window.cadenza('<baseUrl>', ...);
    +
    const cadenzaClient = window.cadenza('<baseUrl>', ...);
     

    The type="module" has the effect that script execution is deferred. You might need to wait for the DOMContentLoaded event in order to use Cadenza JS.

    -
    window.addEventListener('DOMContentLoaded', () => {
    const cadenzaClient = window.cadenza(...);
    ...
    }); +
    window.addEventListener('DOMContentLoaded', () => {
    const cadenzaClient = window.cadenza(...);
    ...
    });

    If for some reason you don't like the global cadenza field, you can remove it like so:

    -
    const cadenza = window.cadenza.noConflict();
    +
    const cadenza = window.cadenza.noConflict();
     

    Communication with parent Cadenza

    If your application is opened from inside Cadenza (e.g. in a popup), you can send commands to parent Cadenza window. To do that, create CadenzaClient with no arguments:

    -
    const parentClient = window.cadenza();
    +
    const parentClient = window.cadenza();
     

    Warning: Not every operation can be done when dealing with parent Cadenza. For example reload and expandNavigator work, but show, showMap etc. require an iframe. Using these functions in this mode will result in errors.

    @@ -43,17 +45,17 @@
  • Disable the designer.
  • Set the filter variable "var1" to "foo".
  • -
    cadenzaClient.show('<embeddingTargetId>', {
    hideMainHeaderAndFooter: true,
    hideWorkbookToolBar: true,
    operationMode: 'simplified',
    disabledUiFeatures: ['workbook-design'],
    filter: {
    var1: 'foo'
    }
    }); +
    cadenzaClient.show('<embeddingTargetId>', {
    hideMainHeaderAndFooter: true,
    hideWorkbookToolBar: true,
    operationMode: 'simplified',
    disabledUiFeatures: ['workbook-design'],
    filter: {
    var1: 'foo'
    }
    });
    • If the embedding target cannot be resolved, a 404 page is shown to the user.
    • Cadenza JS does not handle user authentication: If the user is not already logged in, the normal authentication flow of Cadenza will run. By default, the login page would be shown to the user.

    Show the Generated PDF of a "JasperReports report" View Directly

    Views of type "JasperReports report" can be shown in an iframe like any other view. Additionally, there is an option to show only the generated PDF without any Cadenza footers or headers. This is done by setting the "dataType" option to "pdf".

    -
    cadenzaClient.show('<embeddingTargetId>', {
    dataType: 'pdf'
    }); +
    cadenzaClient.show('<embeddingTargetId>', {
    dataType: 'pdf'
    });

    Abort (Iframe) Loading

    Cadenza JS uses the AbortController Web API for aborting requests. This is supported by most of the public methods.

    -
    const abortController = new AbortController();
    try {
    await cadenzaClient.show('<embeddingTargetId>', { signal: abortController.signal });
    } catch (error) {
    if (error.name === 'AbortError') {
    console.log('Iframe loading was aborted');
    }
    }

    cancelButton.onclick = () => abortController.abort(); +
    const abortController = new AbortController();
    try {
    await cadenzaClient.show('<embeddingTargetId>', { signal: abortController.signal });
    } catch (error) {
    if (error.name === 'AbortError') {
    console.log('Iframe loading was aborted');
    }
    }

    cancelButton.onclick = () => abortController.abort();

    Tip: You can use the same AbortController to abort multiple requests, e.g. when embedding Cadenza in multiple iframes.

    \ No newline at end of file +
    \ No newline at end of file diff --git a/interfaces/CadenzaClientOptions.html b/interfaces/CadenzaClientOptions.html index c7284a94..f67b1db6 100644 --- a/interfaces/CadenzaClientOptions.html +++ b/interfaces/CadenzaClientOptions.html @@ -1,14 +1,14 @@ -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 +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 90fa116b..5a36bf79 100644 --- a/interfaces/CadenzaEvent.html +++ b/interfaces/CadenzaEvent.html @@ -1,6 +1,6 @@ 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

    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 2f7d5806..393e8b53 100644 --- a/interfaces/Distance.html +++ b/interfaces/Distance.html @@ -1,3 +1,3 @@ -Distance | Cadenza JS - v2.13.2

    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 ed9de767..9b4caca5 100644 --- a/interfaces/ExternalLinkKey.html +++ b/interfaces/ExternalLinkKey.html @@ -1,9 +1,9 @@ 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>?...
    +
    <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 164aeda3..e82145a0 100644 --- a/interfaces/Feature.html +++ b/interfaces/Feature.html @@ -1,12 +1,12 @@ 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

    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 c6de7111..5a776289 100644 --- a/interfaces/FeatureCollection.html +++ b/interfaces/FeatureCollection.html @@ -1,4 +1,4 @@ FeatureCollection | Cadenza JS - v2.13.2

    Interface FeatureCollection

    A adapted GeoJSON feature collection object

    -
    interface FeatureCollection {
        features: Feature[];
    }

    Properties

    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 6c71fef1..aed15023 100644 --- a/interfaces/Geometry.html +++ b/interfaces/Geometry.html @@ -1,4 +1,4 @@ Geometry | Cadenza JS - v2.13.2

    Interface Geometry

    A GeoJSON geometry object

    -
    interface Geometry {
        type: GeometryType;
    }

    Properties

    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 436bea30..f15ab8bc 100644 --- a/interfaces/GeometryZoomTarget.html +++ b/interfaces/GeometryZoomTarget.html @@ -1,4 +1,4 @@ GeometryZoomTarget | Cadenza JS - v2.13.2

    Interface GeometryZoomTarget

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

    -
    interface GeometryZoomTarget {
        type: "geometry";
    }

    Properties

    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 f6c7b202..153bf06f 100644 --- a/interfaces/PageSource.html +++ b/interfaces/PageSource.html @@ -1,4 +1,4 @@ PageSource | Cadenza JS - v2.13.2

    Interface PageSource

    A well-known Cadenza page

    -
    interface PageSource {
        page: "welcome";
    }

    Properties

    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/types/CadenzaActionEvent.html b/types/CadenzaActionEvent.html index 2688fa0e..0a4acb04 100644 --- a/types/CadenzaActionEvent.html +++ b/types/CadenzaActionEvent.html @@ -1,2 +1,2 @@ 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 +

    Type declaration

    • context: string
    \ No newline at end of file diff --git a/types/CadenzaChangeSelectionEvent.html b/types/CadenzaChangeSelectionEvent.html index 3e759080..92017d51 100644 --- a/types/CadenzaChangeSelectionEvent.html +++ b/types/CadenzaChangeSelectionEvent.html @@ -1,3 +1,3 @@ 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 aedcafe5..edbee8c0 100644 --- a/types/CadenzaDrillThroughEvent.html +++ b/types/CadenzaDrillThroughEvent.html @@ -4,4 +4,4 @@ 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 53d51e84..ce52899b 100644 --- a/types/CadenzaEditGeometryCancelEvent.html +++ b/types/CadenzaEditGeometryCancelEvent.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/CadenzaEditGeometryOkEvent.html b/types/CadenzaEditGeometryOkEvent.html index 9e453bc3..e45bf3ab 100644 --- a/types/CadenzaEditGeometryOkEvent.html +++ b/types/CadenzaEditGeometryOkEvent.html @@ -1,2 +1,2 @@ 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 +

    Type declaration

    \ No newline at end of file diff --git a/types/CadenzaEditGeometryUpdateEvent.html b/types/CadenzaEditGeometryUpdateEvent.html index 84e03149..37f789df 100644 --- a/types/CadenzaEditGeometryUpdateEvent.html +++ b/types/CadenzaEditGeometryUpdateEvent.html @@ -1,2 +1,2 @@ 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 +

    Type declaration

    \ No newline at end of file diff --git a/types/CadenzaErrorEvent.html b/types/CadenzaErrorEvent.html index bd3355b1..7b0df38f 100644 --- a/types/CadenzaErrorEvent.html +++ b/types/CadenzaErrorEvent.html @@ -1,2 +1,2 @@ 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 +

    Type declaration

    • Optional message?: string
    • type: string
    \ No newline at end of file diff --git a/types/CadenzaEventByType.html b/types/CadenzaEventByType.html index be018aac..dd4c5227 100644 --- a/types/CadenzaEventByType.html +++ b/types/CadenzaEventByType.html @@ -1 +1 @@ -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 +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 63ad7ac1..4686d5fa 100644 --- a/types/CadenzaEventType.html +++ b/types/CadenzaEventType.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/CadenzaObjectInfoEvent.html b/types/CadenzaObjectInfoEvent.html index ff28eb61..429490be 100644 --- a/types/CadenzaObjectInfoEvent.html +++ b/types/CadenzaObjectInfoEvent.html @@ -1,2 +1,2 @@ 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 +

    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 433a6a00..b58acc60 100644 --- a/types/CadenzaSelectObjectsCancelEvent.html +++ b/types/CadenzaSelectObjectsCancelEvent.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/CadenzaSelectObjectsOkEvent.html b/types/CadenzaSelectObjectsOkEvent.html index 3e532f87..7e8acfc2 100644 --- a/types/CadenzaSelectObjectsOkEvent.html +++ b/types/CadenzaSelectObjectsOkEvent.html @@ -1,3 +1,3 @@ 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 af6ade31..185da351 100644 --- a/types/DataType.html +++ b/types/DataType.html @@ -1,3 +1,3 @@ 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 1919d2d9..89c10c39 100644 --- a/types/EmbeddingTargetId.html +++ b/types/EmbeddingTargetId.html @@ -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 0c217fdf..1c35345a 100644 --- a/types/Extent.html +++ b/types/Extent.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/FilterVariables.html b/types/FilterVariables.html index beb45f9b..d2a7a44c 100644 --- a/types/FilterVariables.html +++ b/types/FilterVariables.html @@ -2,4 +2,4 @@

    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 7d827b00..d8291520 100644 --- a/types/GeometryType.html +++ b/types/GeometryType.html @@ -1,3 +1,3 @@ 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 dab41c74..cc377aad 100644 --- a/types/GlobalId.html +++ b/types/GlobalId.html @@ -1,2 +1,2 @@ GlobalId | Cadenza JS - v2.13.2

    Type alias GlobalId

    GlobalId: OpaqueString<"GlobalId">

    The ID of a navigator item

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/LengthUnit.html b/types/LengthUnit.html index 11bb7b14..5a1c6c34 100644 --- a/types/LengthUnit.html +++ b/types/LengthUnit.html @@ -1 +1 @@ -LengthUnit | Cadenza JS - v2.13.2

    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 c102977a..c688f468 100644 --- a/types/OpaqueString.html +++ b/types/OpaqueString.html @@ -3,4 +3,4 @@ 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 fa8b374e..be66eb86 100644 --- a/types/OperationMode.html +++ b/types/OperationMode.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/TablePart.html b/types/TablePart.html index 30374d15..0d2bbe22 100644 --- a/types/TablePart.html +++ b/types/TablePart.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file diff --git a/types/UiFeature.html b/types/UiFeature.html index 266bee66..1d7b8144 100644 --- a/types/UiFeature.html +++ b/types/UiFeature.html @@ -4,4 +4,4 @@
  • "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 c70a1d9b..a73b663e 100644 --- a/types/WorkbookLayerPath.html +++ b/types/WorkbookLayerPath.html @@ -1,3 +1,3 @@ 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 da40340c..9350ee3a 100644 --- a/types/ZoomTarget.html +++ b/types/ZoomTarget.html @@ -1,2 +1,2 @@ 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 +
    \ No newline at end of file