@disy/cadenza.js 2.2.4 → 2.3.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +16 -5
  2. package/README.md +1 -322
  3. package/apidoc/assets/highlight.css +0 -7
  4. package/apidoc/assets/main.js +2 -2
  5. package/apidoc/assets/navigation.js +1 -1
  6. package/apidoc/assets/search.js +1 -1
  7. package/apidoc/assets/style.css +46 -15
  8. package/apidoc/classes/AbortError.html +3 -3
  9. package/apidoc/classes/CadenzaClient.html +65 -86
  10. package/apidoc/classes/CadenzaError.html +8 -6
  11. package/apidoc/functions/cadenza.html +4 -4
  12. package/apidoc/index.html +152 -9
  13. package/apidoc/interfaces/CadenzaEvent.html +6 -6
  14. package/apidoc/interfaces/ExternalLinkKey.html +6 -3
  15. package/apidoc/interfaces/Geometry.html +2 -2
  16. package/apidoc/interfaces/PageSource.html +2 -2
  17. package/apidoc/modules.html +14 -2
  18. package/apidoc/types/CadenzaChangeSelectionEvent.html +2 -0
  19. package/apidoc/types/CadenzaDrillThroughEvent.html +7 -0
  20. package/apidoc/types/CadenzaEditGeometryCancelEvent.html +2 -0
  21. package/apidoc/types/CadenzaEditGeometryOkEvent.html +2 -0
  22. package/apidoc/types/CadenzaEditGeometryUpdateEvent.html +2 -0
  23. package/apidoc/types/CadenzaErrorEvent.html +2 -2
  24. package/apidoc/types/CadenzaEventByType.html +1 -0
  25. package/apidoc/types/CadenzaEventType.html +2 -0
  26. package/apidoc/types/CadenzaObjectInfoEvent.html +2 -0
  27. package/apidoc/types/CadenzaSelectObjectsCancelEvent.html +2 -0
  28. package/apidoc/types/CadenzaSelectObjectsOkEvent.html +2 -0
  29. package/apidoc/types/DataType.html +3 -2
  30. package/apidoc/types/EmbeddingTargetId.html +9 -2
  31. package/apidoc/types/Extent.html +1 -1
  32. package/apidoc/types/FilterVariables.html +5 -2
  33. package/apidoc/types/GeometryType.html +1 -1
  34. package/apidoc/types/GlobalId.html +2 -2
  35. package/apidoc/types/OpaqueString.html +6 -0
  36. package/apidoc/types/OperationMode.html +1 -1
  37. package/apidoc/types/TablePart.html +1 -1
  38. package/apidoc/types/UiFeature.html +3 -3
  39. package/apidoc/types/WorkbookLayerPath.html +3 -0
  40. package/cadenza.d.ts +274 -50
  41. package/cadenza.js +339 -69
  42. package/package.json +6 -6
  43. package/sandbox.html +197 -31
@@ -11,6 +11,7 @@
11
11
  --light-color-text-aside: #6e6e6e;
12
12
  --light-color-link: #1f70c2;
13
13
 
14
+ --light-color-ts-keyword: #056bd6;
14
15
  --light-color-ts-project: #b111c9;
15
16
  --light-color-ts-module: var(--light-color-ts-project);
16
17
  --light-color-ts-namespace: var(--light-color-ts-project);
@@ -28,7 +29,7 @@
28
29
  --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
29
30
  --light-color-ts-parameter: var(--light-color-ts-variable);
30
31
  /* type literal not included as links will never be generated to it */
31
- --light-color-ts-type-parameter: var(--light-color-ts-type-alias);
32
+ --light-color-ts-type-parameter: #a55c0e;
32
33
  --light-color-ts-accessor: var(--light-color-ts-property);
33
34
  --light-color-ts-get-signature: var(--light-color-ts-accessor);
34
35
  --light-color-ts-set-signature: var(--light-color-ts-accessor);
@@ -50,6 +51,7 @@
50
51
  --dark-color-text-aside: #dddddd;
51
52
  --dark-color-link: #00aff4;
52
53
 
54
+ --dark-color-ts-keyword: #3399ff;
53
55
  --dark-color-ts-project: #e358ff;
54
56
  --dark-color-ts-module: var(--dark-color-ts-project);
55
57
  --dark-color-ts-namespace: var(--dark-color-ts-project);
@@ -67,7 +69,7 @@
67
69
  --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
68
70
  --dark-color-ts-parameter: var(--dark-color-ts-variable);
69
71
  /* type literal not included as links will never be generated to it */
70
- --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
72
+ --dark-color-ts-type-parameter: #e07d13;
71
73
  --dark-color-ts-accessor: var(--dark-color-ts-property);
72
74
  --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
73
75
  --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
@@ -91,6 +93,7 @@
91
93
  --color-text-aside: var(--light-color-text-aside);
92
94
  --color-link: var(--light-color-link);
93
95
 
96
+ --color-ts-keyword: var(--light-color-ts-keyword);
94
97
  --color-ts-module: var(--light-color-ts-module);
95
98
  --color-ts-namespace: var(--light-color-ts-namespace);
96
99
  --color-ts-enum: var(--light-color-ts-enum);
@@ -132,6 +135,7 @@
132
135
  --color-text-aside: var(--dark-color-text-aside);
133
136
  --color-link: var(--dark-color-link);
134
137
 
138
+ --color-ts-keyword: var(--dark-color-ts-keyword);
135
139
  --color-ts-module: var(--dark-color-ts-module);
136
140
  --color-ts-namespace: var(--dark-color-ts-namespace);
137
141
  --color-ts-enum: var(--dark-color-ts-enum);
@@ -180,6 +184,7 @@ body {
180
184
  --color-text-aside: var(--light-color-text-aside);
181
185
  --color-link: var(--light-color-link);
182
186
 
187
+ --color-ts-keyword: var(--light-color-ts-keyword);
183
188
  --color-ts-module: var(--light-color-ts-module);
184
189
  --color-ts-namespace: var(--light-color-ts-namespace);
185
190
  --color-ts-enum: var(--light-color-ts-enum);
@@ -219,6 +224,7 @@ body {
219
224
  --color-text-aside: var(--dark-color-text-aside);
220
225
  --color-link: var(--dark-color-link);
221
226
 
227
+ --color-ts-keyword: var(--dark-color-ts-keyword);
222
228
  --color-ts-module: var(--dark-color-ts-module);
223
229
  --color-ts-namespace: var(--dark-color-ts-namespace);
224
230
  --color-ts-enum: var(--dark-color-ts-enum);
@@ -260,12 +266,12 @@ h6 {
260
266
  line-height: 1.2;
261
267
  }
262
268
 
263
- h1 > a,
264
- h2 > a,
265
- h3 > a,
266
- h4 > a,
267
- h5 > a,
268
- h6 > a {
269
+ h1 > a:not(.link),
270
+ h2 > a:not(.link),
271
+ h3 > a:not(.link),
272
+ h4 > a:not(.link),
273
+ h5 > a:not(.link),
274
+ h6 > a:not(.link) {
269
275
  text-decoration: none;
270
276
  color: var(--color-text);
271
277
  }
@@ -643,6 +649,28 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
643
649
  font-weight: bold;
644
650
  }
645
651
 
652
+ .tsd-full-hierarchy:not(:last-child) {
653
+ margin-bottom: 1em;
654
+ padding-bottom: 1em;
655
+ border-bottom: 1px solid var(--color-accent);
656
+ }
657
+ .tsd-full-hierarchy,
658
+ .tsd-full-hierarchy ul {
659
+ list-style: none;
660
+ margin: 0;
661
+ padding: 0;
662
+ }
663
+ .tsd-full-hierarchy ul {
664
+ padding-left: 1.5rem;
665
+ }
666
+ .tsd-full-hierarchy a {
667
+ padding: 0.25rem 0 !important;
668
+ font-size: 1rem;
669
+ display: inline-flex;
670
+ align-items: center;
671
+ color: var(--color-text);
672
+ }
673
+
646
674
  .tsd-panel-group.tsd-index-group {
647
675
  margin-bottom: 0;
648
676
  }
@@ -708,12 +736,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
708
736
  }
709
737
  .tsd-navigation > a,
710
738
  .tsd-navigation .tsd-accordion-summary {
711
- width: calc(100% - 0.5rem);
739
+ width: calc(100% - 0.25rem);
740
+ display: flex;
741
+ align-items: center;
712
742
  }
713
743
  .tsd-navigation a,
714
744
  .tsd-navigation summary > span,
715
745
  .tsd-page-navigation a {
716
- display: inline-flex;
746
+ display: flex;
747
+ width: calc(100% - 0.25rem);
717
748
  align-items: center;
718
749
  padding: 0.25rem;
719
750
  color: var(--color-text);
@@ -753,11 +784,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
753
784
  margin-left: -1.5rem;
754
785
  }
755
786
 
756
- .tsd-nested-navigation > li > a,
757
- .tsd-nested-navigation > li > span {
758
- width: calc(100% - 1.75rem - 0.5rem);
759
- }
760
-
761
787
  .tsd-page-navigation ul {
762
788
  padding-left: 1.75rem;
763
789
  }
@@ -984,6 +1010,11 @@ a.tsd-index-link {
984
1010
  overflow-x: auto;
985
1011
  }
986
1012
 
1013
+ .tsd-signature-keyword {
1014
+ color: var(--color-ts-keyword);
1015
+ font-weight: normal;
1016
+ }
1017
+
987
1018
  .tsd-signature-symbol {
988
1019
  color: var(--color-text-aside);
989
1020
  font-weight: normal;