@disy/cadenza.js 2.3.1 → 2.4.0

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/apidoc/classes/AbortError.html +2 -2
  3. package/apidoc/classes/CadenzaClient.html +19 -19
  4. package/apidoc/classes/CadenzaError.html +3 -3
  5. package/apidoc/functions/cadenza.html +1 -1
  6. package/apidoc/interfaces/CadenzaEvent.html +3 -3
  7. package/apidoc/interfaces/ExternalLinkKey.html +3 -3
  8. package/apidoc/interfaces/Geometry.html +2 -2
  9. package/apidoc/interfaces/PageSource.html +2 -2
  10. package/apidoc/types/CadenzaChangeSelectionEvent.html +1 -1
  11. package/apidoc/types/CadenzaDrillThroughEvent.html +1 -1
  12. package/apidoc/types/CadenzaEditGeometryCancelEvent.html +1 -1
  13. package/apidoc/types/CadenzaEditGeometryOkEvent.html +1 -1
  14. package/apidoc/types/CadenzaEditGeometryUpdateEvent.html +1 -1
  15. package/apidoc/types/CadenzaErrorEvent.html +1 -1
  16. package/apidoc/types/CadenzaEventByType.html +1 -1
  17. package/apidoc/types/CadenzaEventType.html +1 -1
  18. package/apidoc/types/CadenzaObjectInfoEvent.html +2 -2
  19. package/apidoc/types/CadenzaSelectObjectsCancelEvent.html +1 -1
  20. package/apidoc/types/CadenzaSelectObjectsOkEvent.html +1 -1
  21. package/apidoc/types/DataType.html +1 -1
  22. package/apidoc/types/EmbeddingTargetId.html +1 -1
  23. package/apidoc/types/Extent.html +1 -1
  24. package/apidoc/types/FilterVariables.html +1 -1
  25. package/apidoc/types/GeometryType.html +1 -1
  26. package/apidoc/types/GlobalId.html +1 -1
  27. package/apidoc/types/OpaqueString.html +1 -1
  28. package/apidoc/types/OperationMode.html +1 -1
  29. package/apidoc/types/TablePart.html +1 -1
  30. package/apidoc/types/UiFeature.html +1 -1
  31. package/apidoc/types/WorkbookLayerPath.html +1 -1
  32. package/cadenza.d.ts +16 -9
  33. package/cadenza.js +9 -7
  34. package/package.json +1 -1
  35. package/sandbox.html +21 -26
package/sandbox.html CHANGED
@@ -291,18 +291,19 @@
291
291
  </footer>
292
292
 
293
293
  <template id="common-show">
294
- <div>
295
- <label>
296
- <input type="checkbox" name="expandNavigator">
297
- Expand navigator tree
298
- </label>
299
- </div>
300
294
  <div>
301
295
  <label>
302
296
  <input type="checkbox" name="hideMainHeaderAndFooter">
303
297
  Hide main header and footer
304
298
  </label>
305
299
  </div>
300
+ <div>
301
+ <label for="highlightGlobalId">Highlighted Global ID</label>
302
+ <input name="highlightGlobalId" id="highlightGlobalId">
303
+ </div>
304
+ </template>
305
+
306
+ <template id="common-showWorkbook">
306
307
  <div>
307
308
  <label>
308
309
  <input type="checkbox" name="hideWorkbookToolBar">
@@ -315,10 +316,6 @@
315
316
  Simplified operation mode
316
317
  </label>
317
318
  </div>
318
- <div>
319
- <label for="highlightGlobalId">Highlighted Global ID</label>
320
- <input name="highlightGlobalId" id="highlightGlobalId">
321
- </div>
322
319
  <div>
323
320
  <label for="disabledUiFeatures">Disabled UI features</label>
324
321
  <input name="disabledUiFeatures" id="disabledUiFeatures" placeholder="feature1,feature2,...">
@@ -333,6 +330,15 @@
333
330
  </ul>
334
331
  </small>
335
332
  </div>
333
+ <div>
334
+ <label>
335
+ <input type="checkbox" name="expandNavigator">
336
+ Expand navigator tree
337
+ </label>
338
+ </div>
339
+ </template>
340
+
341
+ <template id="common-filter">
336
342
  <div>
337
343
  <label for="filter">Filter</label>
338
344
  <textarea name="filter" id="filter" rows="3"></textarea>
@@ -385,7 +391,7 @@
385
391
  </div>
386
392
  </template>
387
393
 
388
- <template data-action="show" data-common="show">
394
+ <template data-action="show" data-common="showWorkbook,filter,show">
389
395
  <div>
390
396
  <label for="embeddingTargetId">Embedding target ID *</label>
391
397
  <input name="embeddingTargetId" id="embeddingTargetId" required>
@@ -421,7 +427,7 @@
421
427
  </div>
422
428
  </template>
423
429
 
424
- <template data-action="showMap" data-common="map,show">
430
+ <template data-action="showMap" data-common="map,showWorkbook,filter,show">
425
431
  <div>
426
432
  <label for="embeddingTargetId">Embedding target ID of the map view *</label>
427
433
  <input name="embeddingTargetId" id="embeddingTargetId" required>
@@ -432,18 +438,7 @@
432
438
  </div>
433
439
  </template>
434
440
 
435
- <template data-action="setFilter">
436
- <div>
437
- <label for="filter">Filter *</label>
438
- <textarea name="filter" id="filter" rows="3" required></textarea>
439
- <small>
440
- <p>A JSON object with filter variable names and values</p>
441
- <p>Dates need to be ISO strings<br>(e.g. <code>"2023-11-17T17:12:06.175Z"</code>).<br>Use <code>"{{currentDate}}"</code> for the current date.</p>
442
- <p>Pass multiple values for an <code>IN</code> expression as <code>["a", "b", ...]</code></p>
443
- <p>Pass <code>null</code> to unset a variable.</p>
444
- </small>
445
- </div>
446
- </template>
441
+ <template data-action="setFilter" data-common="filter"></template>
447
442
 
448
443
  <template data-action="createGeometry" data-common="map">
449
444
  <div>
@@ -535,7 +530,7 @@
535
530
  </div>
536
531
  </template>
537
532
 
538
- <template data-action="downloadData" data-common="data">
533
+ <template data-action="downloadData" data-common="data,filter">
539
534
  <div>
540
535
  <label for="embeddingTargetId">Embedding target ID *</label>
541
536
  <input name="embeddingTargetId" id="embeddingTargetId" required>
@@ -546,7 +541,7 @@
546
541
  </div>
547
542
  </template>
548
543
 
549
- <template data-action="fetchData" data-common="data">
544
+ <template data-action="fetchData" data-common="data,filter">
550
545
  <div>
551
546
  <label for="embeddingTargetId">Embedding target ID *</label>
552
547
  <input name="embeddingTargetId" id="embeddingTargetId" required>