@disy/cadenza.js 10.6.0 → 10.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/apidoc/classes/AbortError.html +3 -3
- package/apidoc/classes/CadenzaClient.html +29 -29
- package/apidoc/classes/CadenzaError.html +5 -5
- package/apidoc/functions/cadenza.html +4 -4
- package/apidoc/index.html +2 -2
- package/apidoc/interfaces/AreaIntersectionsResult.html +4 -4
- package/apidoc/interfaces/CadenzaClientOptions.html +6 -6
- package/apidoc/interfaces/CadenzaEvent.html +4 -4
- package/apidoc/interfaces/CommonEditGeometryOptions.html +12 -12
- package/apidoc/interfaces/Distance.html +2 -2
- package/apidoc/interfaces/ExternalLinkKey.html +4 -4
- package/apidoc/interfaces/Feature.html +9 -9
- package/apidoc/interfaces/FeatureCollection.html +4 -4
- package/apidoc/interfaces/Geometry.html +4 -4
- package/apidoc/interfaces/GeometryExtentStrategy.html +4 -4
- package/apidoc/interfaces/LayerDataExtentStrategy.html +4 -4
- package/apidoc/interfaces/LayerDefinition.html +4 -4
- package/apidoc/interfaces/LocationFinderExtentStrategy.html +4 -4
- package/apidoc/interfaces/PageSource.html +3 -3
- package/apidoc/interfaces/ProblemDetails.html +6 -6
- package/apidoc/interfaces/SnappingOptions.html +3 -3
- package/apidoc/interfaces/SpatialFilterValue.html +4 -4
- package/apidoc/interfaces/StaticExtentStrategy.html +4 -4
- package/apidoc/modules.html +1 -1
- package/apidoc/types/CadenzaActionEvent.html +2 -2
- package/apidoc/types/CadenzaChangeExtentEvent.html +2 -2
- package/apidoc/types/CadenzaChangeSelectionEvent.html +2 -2
- package/apidoc/types/CadenzaDrillThroughEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryCancelEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryCreateEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryDeleteEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryEditEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryOkEvent.html +2 -2
- package/apidoc/types/CadenzaEditGeometryUpdateEvent.html +2 -2
- package/apidoc/types/CadenzaErrorEvent.html +2 -2
- package/apidoc/types/CadenzaEventByType.html +1 -1
- package/apidoc/types/CadenzaEventType.html +2 -2
- package/apidoc/types/CadenzaReloadEvent.html +2 -2
- package/apidoc/types/CadenzaSelectObjectsCancelEvent.html +2 -2
- package/apidoc/types/CadenzaSelectObjectsOkEvent.html +2 -2
- package/apidoc/types/Coordinate.html +2 -2
- package/apidoc/types/CustomValidityType.html +2 -2
- package/apidoc/types/DataType.html +2 -2
- package/apidoc/types/EmbeddingTargetId.html +2 -2
- package/apidoc/types/Extent.html +2 -2
- package/apidoc/types/ExtentStrategy.html +2 -2
- package/apidoc/types/FilterVariables.html +2 -2
- package/apidoc/types/GeometryType.html +2 -2
- package/apidoc/types/GlobalId.html +2 -2
- package/apidoc/types/Layout.html +2 -2
- package/apidoc/types/LengthUnit.html +1 -1
- package/apidoc/types/OpaqueString.html +2 -2
- package/apidoc/types/OperationMode.html +2 -2
- package/apidoc/types/Polygon.html +1 -1
- package/apidoc/types/SpatialRelation.html +2 -2
- package/apidoc/types/TablePart.html +2 -2
- package/apidoc/types/UiFeature.html +2 -2
- package/apidoc/types/WorkbookLayerPath.html +2 -2
- package/apidoc/types/WorksheetPlaceholders.html +2 -2
- package/cadenza.d.ts +3 -3
- package/cadenza.js +6 -6
- package/package.json +1 -1
- package/sandbox.html +1 -0
package/cadenza.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
// This placeholder is replaced when Cadenza JS is released,
|
|
20
20
|
// i.e. during development, the version is not available.
|
|
21
|
-
const CADENZAJS_VERSION = '10.6.
|
|
21
|
+
const CADENZAJS_VERSION = '10.6.1';
|
|
22
22
|
/**
|
|
23
23
|
* Creates an instance of the Cadenza JS client.
|
|
24
24
|
*
|
|
@@ -181,7 +181,7 @@ globalThis.cadenza = Object.assign((/** @type Parameters<cadenza> */ ...args) =>
|
|
|
181
181
|
* @property {boolean} [useMapSrs] - Whether the coordinates specified in other parameters are specified in the map's SRS and the created geometry should use the map's SRS (otherwise EPSG:4326 is assumed)
|
|
182
182
|
*/
|
|
183
183
|
/**
|
|
184
|
-
* @typedef {'csv' | 'excel' | 'json' | 'pdf' | 'png'} DataType - A data type
|
|
184
|
+
* @typedef {'csv' | 'excel' | 'ods' | 'json' | 'pdf' | 'png'} DataType - A data type
|
|
185
185
|
*
|
|
186
186
|
* See [JSON Representation of Cadenza Object Data](../index.html#md:json-representation-of-cadenza-object-data) for JSON data.
|
|
187
187
|
*/
|
|
@@ -1084,7 +1084,7 @@ export class CadenzaClient {
|
|
|
1084
1084
|
*
|
|
1085
1085
|
* @param {EmbeddingTargetId} source - The workbook view to fetch data from.
|
|
1086
1086
|
* @param {DataType} dataType - The data type you want to get back from the server.
|
|
1087
|
-
* Currently, `"csv"`, `"excel"` and `"json"` are supported for embedding targets of type view with a view type of
|
|
1087
|
+
* Currently, `"csv"`, `"excel"`, `"ods"`, and `"json"` are supported for embedding targets of type view with a view type of
|
|
1088
1088
|
* table and indicator. `"pdf"` is supported for embedding targets of type report and of type view with a view type
|
|
1089
1089
|
* of "JasperReports report".
|
|
1090
1090
|
* @param {object} [__namedParameters] - Options
|
|
@@ -1097,7 +1097,7 @@ export class CadenzaClient {
|
|
|
1097
1097
|
*/
|
|
1098
1098
|
fetchData(source, dataType, { filter, parts, signal } = {}) {
|
|
1099
1099
|
this.#log('CadenzaClient#fetchData', ...arguments);
|
|
1100
|
-
assertSupportedDataType(dataType, ['csv', 'excel', 'json', 'pdf']);
|
|
1100
|
+
assertSupportedDataType(dataType, ['csv', 'excel', 'ods', 'json', 'pdf']);
|
|
1101
1101
|
const params = this.#createParams({ dataType, filter, parts });
|
|
1102
1102
|
return this.#fetch(resolvePath(source), params, signal);
|
|
1103
1103
|
}
|
|
@@ -1199,7 +1199,7 @@ export class CadenzaClient {
|
|
|
1199
1199
|
*
|
|
1200
1200
|
* @param {EmbeddingTargetId} source - The workbook view to fetch data from.
|
|
1201
1201
|
* @param {DataType} dataType - The data type you want to get back from the server.
|
|
1202
|
-
* Currently, `"csv"`, `"excel"` and `"json"` are supported for embedding targets of type view with a view type of
|
|
1202
|
+
* Currently, `"csv"`, `"excel"`, `"ods"`, and `"json"` are supported for embedding targets of type view with a view type of
|
|
1203
1203
|
* table and indicator. `"pdf"` is supported for embedding targets of type report and of type view with a view type
|
|
1204
1204
|
* of "JasperReports report".
|
|
1205
1205
|
* @param {object} [__namedParameters] - Options
|
|
@@ -1211,7 +1211,7 @@ export class CadenzaClient {
|
|
|
1211
1211
|
*/
|
|
1212
1212
|
downloadData(source, dataType, { fileName, filter, parts } = {}) {
|
|
1213
1213
|
this.#log('CadenzaClient#downloadData', ...arguments);
|
|
1214
|
-
assertSupportedDataType(dataType, ['csv', 'excel', 'json', 'pdf']);
|
|
1214
|
+
assertSupportedDataType(dataType, ['csv', 'excel', 'ods', 'json', 'pdf']);
|
|
1215
1215
|
const params = this.#createParams({ dataType, fileName, filter, parts });
|
|
1216
1216
|
this.#download(resolvePath(source), params);
|
|
1217
1217
|
}
|
package/package.json
CHANGED