@shapediver/viewer.shared.types 3.9.10 → 3.10.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.
@@ -1 +1 @@
1
- {"version":3,"file":"SDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACN,aAAa,EACb,iBAAiB,EACjB,MAAM,yCAAyC,CAAC;AAEjD,qBAAa,gBACZ,SAAQ,oBACR,YAAW,iBAAiB;;gBAUhB,QAAQ,EAAE,aAAa,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IASlE,IAAW,QAAQ,IAAI,aAAa,CAEnC;IAMD;;OAEG;IACI,KAAK,IAAI,iBAAiB;IAI1B,KAAK,CAAC,IAAI,EAAE,iBAAiB;CAmDpC"}
1
+ {"version":3,"file":"SDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACN,aAAa,EACb,iBAAiB,EACjB,MAAM,yCAAyC,CAAC;AAEjD,qBAAa,gBACZ,SAAQ,oBACR,YAAW,iBAAiB;;gBAUhB,QAAQ,EAAE,aAAa,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IASlE,IAAW,QAAQ,IAAI,aAAa,CAEnC;IAMD;;OAEG;IACI,KAAK,IAAI,iBAAiB;IAI1B,KAAK,CAAC,IAAI,EAAE,iBAAiB;CA4DpC"}
@@ -38,7 +38,7 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
38
38
  return new SDTFOverviewData(__classPrivateFieldGet(this, _SDTFOverviewData_overview, "f"), this.id, this.version);
39
39
  }
40
40
  merge(data) {
41
- var _a;
41
+ var _a, _b;
42
42
  for (let overviewKey in data.overview) {
43
43
  for (let i = 0; i < data.overview[overviewKey].length; i++) {
44
44
  const dataToCopy = data.overview[overviewKey][i];
@@ -50,6 +50,10 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
50
50
  entry.count++;
51
51
  if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isStringType(dataToCopy.typeHint)) {
52
52
  entry.values = (_a = entry.values) === null || _a === void 0 ? void 0 : _a.concat(dataToCopy.values.filter((item) => entry.values.indexOf(item) < 0));
53
+ entry.countForValue = (_b = entry.countForValue) === null || _b === void 0 ? void 0 : _b.map((count, index) => count +
54
+ (dataToCopy.countForValue
55
+ ? dataToCopy.countForValue[index]
56
+ : 0));
53
57
  }
54
58
  if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isNumberType(dataToCopy.typeHint)) {
55
59
  entry.min = Math.min(dataToCopy.min, entry.min);
@@ -61,6 +65,7 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
61
65
  typeHint: dataToCopy.typeHint,
62
66
  count: dataToCopy.count,
63
67
  values: dataToCopy.values,
68
+ countForValue: dataToCopy.countForValue,
64
69
  min: dataToCopy.min,
65
70
  max: dataToCopy.max,
66
71
  });
@@ -71,6 +76,7 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
71
76
  typeHint: dataToCopy.typeHint,
72
77
  count: dataToCopy.count,
73
78
  values: dataToCopy.values,
79
+ countForValue: dataToCopy.countForValue,
74
80
  min: dataToCopy.min,
75
81
  max: dataToCopy.max,
76
82
  },
@@ -1 +1 @@
1
- {"version":3,"file":"SDTFOverviewData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yEAAuE;AACvE,iFAAyE;AAMzE,MAAa,gBACZ,SAAQ,8CAAoB;IAO5B,4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wBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;wBACzB,aAAa,EAAE,UAAU,CAAC,aAAa;wBACvC,GAAG,EAAE,UAAU,CAAC,GAAG;wBACnB,GAAG,EAAE,UAAU,CAAC,GAAG;qBACnB,CAAC,CAAC;iBACH;qBAAM;oBACN,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,GAAG;wBAC5B;4BACC,QAAQ,EAAE,UAAU,CAAC,QAAQ;4BAC7B,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,MAAM,EAAE,UAAU,CAAC,MAAM;4BACzB,aAAa,EAAE,UAAU,CAAC,aAAa;4BACvC,GAAG,EAAE,UAAU,CAAC,GAAG;4BACnB,GAAG,EAAE,UAAU,CAAC,GAAG;yBACnB;qBACD,CAAC;iBACF;aACD;SACD;IACF,CAAC;CAGD;AAhGD,4CAgGC"}
@@ -112,7 +112,6 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
112
112
  } | undefined;
113
113
  }>>;
114
114
  }, "strip", z.ZodTypeAny, {
115
- restrictions?: any[] | undefined;
116
115
  geometry?: {
117
116
  mode: "points" | "lines";
118
117
  close: boolean;
@@ -120,6 +119,7 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
120
119
  maxPoints?: number | undefined;
121
120
  strictMinMaxPoints?: boolean | undefined;
122
121
  } | undefined;
122
+ restrictions?: any[] | undefined;
123
123
  general?: {
124
124
  prompt?: {
125
125
  inactiveTitle?: string | undefined;
@@ -128,7 +128,6 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
128
128
  } | undefined;
129
129
  } | undefined;
130
130
  }, {
131
- restrictions?: any[] | undefined;
132
131
  geometry?: {
133
132
  mode: "points" | "lines";
134
133
  close: boolean;
@@ -136,6 +135,7 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
136
135
  maxPoints?: number | undefined;
137
136
  strictMinMaxPoints?: boolean | undefined;
138
137
  } | undefined;
138
+ restrictions?: any[] | undefined;
139
139
  general?: {
140
140
  prompt?: {
141
141
  inactiveTitle?: string | undefined;
@@ -145,7 +145,6 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
145
145
  } | undefined;
146
146
  }>;
147
147
  export declare const validateDrawingParameterSettings: (param: unknown) => z.SafeParseReturnType<{
148
- restrictions?: any[] | undefined;
149
148
  geometry?: {
150
149
  mode: "points" | "lines";
151
150
  close: boolean;
@@ -153,6 +152,7 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
153
152
  maxPoints?: number | undefined;
154
153
  strictMinMaxPoints?: boolean | undefined;
155
154
  } | undefined;
155
+ restrictions?: any[] | undefined;
156
156
  general?: {
157
157
  prompt?: {
158
158
  inactiveTitle?: string | undefined;
@@ -161,7 +161,6 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
161
161
  } | undefined;
162
162
  } | undefined;
163
163
  }, {
164
- restrictions?: any[] | undefined;
165
164
  geometry?: {
166
165
  mode: "points" | "lines";
167
166
  close: boolean;
@@ -169,6 +168,7 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
169
168
  maxPoints?: number | undefined;
170
169
  strictMinMaxPoints?: boolean | undefined;
171
170
  } | undefined;
171
+ restrictions?: any[] | undefined;
172
172
  general?: {
173
173
  prompt?: {
174
174
  inactiveTitle?: string | undefined;
@@ -53,59 +53,59 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
53
53
  activeText?: string | undefined;
54
54
  }>>;
55
55
  }, "strip", z.ZodTypeAny, {
56
+ prompt?: {
57
+ inactiveTitle?: string | undefined;
58
+ activeTitle?: string | undefined;
59
+ activeText?: string | undefined;
60
+ } | undefined;
56
61
  maximumSelection?: number | undefined;
57
62
  minimumSelection?: number | undefined;
58
63
  nameFilter?: string[] | undefined;
59
64
  selectionColor?: string | undefined;
60
65
  hover?: boolean | undefined;
61
66
  hoverColor?: string | undefined;
67
+ }, {
62
68
  prompt?: {
63
69
  inactiveTitle?: string | undefined;
64
70
  activeTitle?: string | undefined;
65
71
  activeText?: string | undefined;
66
72
  } | undefined;
67
- }, {
68
73
  maximumSelection?: number | undefined;
69
74
  minimumSelection?: number | undefined;
70
75
  nameFilter?: string[] | undefined;
71
76
  selectionColor?: string | undefined;
72
77
  hover?: boolean | undefined;
73
78
  hoverColor?: string | undefined;
79
+ }>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ type: "selection";
82
+ props: {
74
83
  prompt?: {
75
84
  inactiveTitle?: string | undefined;
76
85
  activeTitle?: string | undefined;
77
86
  activeText?: string | undefined;
78
87
  } | undefined;
79
- }>;
80
- }, "strip", z.ZodTypeAny, {
81
- type: "selection";
82
- props: {
83
88
  maximumSelection?: number | undefined;
84
89
  minimumSelection?: number | undefined;
85
90
  nameFilter?: string[] | undefined;
86
91
  selectionColor?: string | undefined;
87
92
  hover?: boolean | undefined;
88
93
  hoverColor?: string | undefined;
94
+ };
95
+ }, {
96
+ type: "selection";
97
+ props: {
89
98
  prompt?: {
90
99
  inactiveTitle?: string | undefined;
91
100
  activeTitle?: string | undefined;
92
101
  activeText?: string | undefined;
93
102
  } | undefined;
94
- };
95
- }, {
96
- type: "selection";
97
- props: {
98
103
  maximumSelection?: number | undefined;
99
104
  minimumSelection?: number | undefined;
100
105
  nameFilter?: string[] | undefined;
101
106
  selectionColor?: string | undefined;
102
107
  hover?: boolean | undefined;
103
108
  hoverColor?: string | undefined;
104
- prompt?: {
105
- inactiveTitle?: string | undefined;
106
- activeTitle?: string | undefined;
107
- activeText?: string | undefined;
108
- } | undefined;
109
109
  };
110
110
  }>;
111
111
  export declare const IGumballParameterJsonSchema: z.ZodObject<{
@@ -174,16 +174,15 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
174
174
  activeText?: string | undefined;
175
175
  }>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
- scale?: number | undefined;
178
- nameFilter?: string[] | undefined;
179
- selectionColor?: string | undefined;
180
- hover?: boolean | undefined;
181
- hoverColor?: string | undefined;
182
177
  prompt?: {
183
178
  inactiveTitle?: string | undefined;
184
179
  activeTitle?: string | undefined;
185
180
  activeText?: string | undefined;
186
181
  } | undefined;
182
+ nameFilter?: string[] | undefined;
183
+ selectionColor?: string | undefined;
184
+ hover?: boolean | undefined;
185
+ hoverColor?: string | undefined;
187
186
  enableRotation?: boolean | undefined;
188
187
  enableRotationAxes?: {
189
188
  x?: boolean | undefined;
@@ -202,18 +201,18 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
202
201
  y?: boolean | undefined;
203
202
  z?: boolean | undefined;
204
203
  } | undefined;
204
+ scale?: number | undefined;
205
205
  space?: "local" | "world" | undefined;
206
206
  }, {
207
- scale?: number | undefined;
208
- nameFilter?: string[] | undefined;
209
- selectionColor?: string | undefined;
210
- hover?: boolean | undefined;
211
- hoverColor?: string | undefined;
212
207
  prompt?: {
213
208
  inactiveTitle?: string | undefined;
214
209
  activeTitle?: string | undefined;
215
210
  activeText?: string | undefined;
216
211
  } | undefined;
212
+ nameFilter?: string[] | undefined;
213
+ selectionColor?: string | undefined;
214
+ hover?: boolean | undefined;
215
+ hoverColor?: string | undefined;
217
216
  enableRotation?: boolean | undefined;
218
217
  enableRotationAxes?: {
219
218
  x?: boolean | undefined;
@@ -232,21 +231,21 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
232
231
  y?: boolean | undefined;
233
232
  z?: boolean | undefined;
234
233
  } | undefined;
234
+ scale?: number | undefined;
235
235
  space?: "local" | "world" | undefined;
236
236
  }>;
237
237
  }, "strip", z.ZodTypeAny, {
238
238
  type: "gumball";
239
239
  props: {
240
- scale?: number | undefined;
241
- nameFilter?: string[] | undefined;
242
- selectionColor?: string | undefined;
243
- hover?: boolean | undefined;
244
- hoverColor?: string | undefined;
245
240
  prompt?: {
246
241
  inactiveTitle?: string | undefined;
247
242
  activeTitle?: string | undefined;
248
243
  activeText?: string | undefined;
249
244
  } | undefined;
245
+ nameFilter?: string[] | undefined;
246
+ selectionColor?: string | undefined;
247
+ hover?: boolean | undefined;
248
+ hoverColor?: string | undefined;
250
249
  enableRotation?: boolean | undefined;
251
250
  enableRotationAxes?: {
252
251
  x?: boolean | undefined;
@@ -265,21 +264,21 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
265
264
  y?: boolean | undefined;
266
265
  z?: boolean | undefined;
267
266
  } | undefined;
267
+ scale?: number | undefined;
268
268
  space?: "local" | "world" | undefined;
269
269
  };
270
270
  }, {
271
271
  type: "gumball";
272
272
  props: {
273
- scale?: number | undefined;
274
- nameFilter?: string[] | undefined;
275
- selectionColor?: string | undefined;
276
- hover?: boolean | undefined;
277
- hoverColor?: string | undefined;
278
273
  prompt?: {
279
274
  inactiveTitle?: string | undefined;
280
275
  activeTitle?: string | undefined;
281
276
  activeText?: string | undefined;
282
277
  } | undefined;
278
+ nameFilter?: string[] | undefined;
279
+ selectionColor?: string | undefined;
280
+ hover?: boolean | undefined;
281
+ hoverColor?: string | undefined;
283
282
  enableRotation?: boolean | undefined;
284
283
  enableRotationAxes?: {
285
284
  x?: boolean | undefined;
@@ -298,6 +297,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
298
297
  y?: boolean | undefined;
299
298
  z?: boolean | undefined;
300
299
  } | undefined;
300
+ scale?: number | undefined;
301
301
  space?: "local" | "world" | undefined;
302
302
  };
303
303
  }>;
@@ -338,8 +338,8 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
338
338
  }>, "many">>;
339
339
  dragOrigin: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
340
340
  }, "strip", z.ZodTypeAny, {
341
- nameFilter: string;
342
341
  restrictions: string[];
342
+ nameFilter: string;
343
343
  dragAnchors?: {
344
344
  id: string;
345
345
  position: number[];
@@ -350,8 +350,8 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
350
350
  }[] | undefined;
351
351
  dragOrigin?: number[] | undefined;
352
352
  }, {
353
- nameFilter: string;
354
353
  restrictions: string[];
354
+ nameFilter: string;
355
355
  dragAnchors?: {
356
356
  id: string;
357
357
  position: number[];
@@ -419,14 +419,6 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
419
419
  activeText?: string | undefined;
420
420
  }>>;
421
421
  }, "strip", z.ZodTypeAny, {
422
- hover?: boolean | undefined;
423
- hoverColor?: string | undefined;
424
- prompt?: {
425
- inactiveTitle?: string | undefined;
426
- activeTitle?: string | undefined;
427
- activeText?: string | undefined;
428
- } | undefined;
429
- draggingColor?: string | undefined;
430
422
  restrictions?: z.objectOutputType<{
431
423
  id: z.ZodString;
432
424
  type: z.ZodString;
@@ -441,9 +433,17 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
441
433
  angle: number;
442
434
  }>>;
443
435
  }, z.ZodTypeAny, "passthrough">[] | undefined;
436
+ prompt?: {
437
+ inactiveTitle?: string | undefined;
438
+ activeTitle?: string | undefined;
439
+ activeText?: string | undefined;
440
+ } | undefined;
441
+ hover?: boolean | undefined;
442
+ hoverColor?: string | undefined;
443
+ draggingColor?: string | undefined;
444
444
  objects?: {
445
- nameFilter: string;
446
445
  restrictions: string[];
446
+ nameFilter: string;
447
447
  dragAnchors?: {
448
448
  id: string;
449
449
  position: number[];
@@ -455,14 +455,6 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
455
455
  dragOrigin?: number[] | undefined;
456
456
  }[] | undefined;
457
457
  }, {
458
- hover?: boolean | undefined;
459
- hoverColor?: string | undefined;
460
- prompt?: {
461
- inactiveTitle?: string | undefined;
462
- activeTitle?: string | undefined;
463
- activeText?: string | undefined;
464
- } | undefined;
465
- draggingColor?: string | undefined;
466
458
  restrictions?: z.objectInputType<{
467
459
  id: z.ZodString;
468
460
  type: z.ZodString;
@@ -477,9 +469,17 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
477
469
  angle: number;
478
470
  }>>;
479
471
  }, z.ZodTypeAny, "passthrough">[] | undefined;
472
+ prompt?: {
473
+ inactiveTitle?: string | undefined;
474
+ activeTitle?: string | undefined;
475
+ activeText?: string | undefined;
476
+ } | undefined;
477
+ hover?: boolean | undefined;
478
+ hoverColor?: string | undefined;
479
+ draggingColor?: string | undefined;
480
480
  objects?: {
481
- nameFilter: string;
482
481
  restrictions: string[];
482
+ nameFilter: string;
483
483
  dragAnchors?: {
484
484
  id: string;
485
485
  position: number[];
@@ -494,14 +494,6 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
494
494
  }, "strip", z.ZodTypeAny, {
495
495
  type: "dragging";
496
496
  props: {
497
- hover?: boolean | undefined;
498
- hoverColor?: string | undefined;
499
- prompt?: {
500
- inactiveTitle?: string | undefined;
501
- activeTitle?: string | undefined;
502
- activeText?: string | undefined;
503
- } | undefined;
504
- draggingColor?: string | undefined;
505
497
  restrictions?: z.objectOutputType<{
506
498
  id: z.ZodString;
507
499
  type: z.ZodString;
@@ -516,9 +508,17 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
516
508
  angle: number;
517
509
  }>>;
518
510
  }, z.ZodTypeAny, "passthrough">[] | undefined;
511
+ prompt?: {
512
+ inactiveTitle?: string | undefined;
513
+ activeTitle?: string | undefined;
514
+ activeText?: string | undefined;
515
+ } | undefined;
516
+ hover?: boolean | undefined;
517
+ hoverColor?: string | undefined;
518
+ draggingColor?: string | undefined;
519
519
  objects?: {
520
- nameFilter: string;
521
520
  restrictions: string[];
521
+ nameFilter: string;
522
522
  dragAnchors?: {
523
523
  id: string;
524
524
  position: number[];
@@ -533,14 +533,6 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
533
533
  }, {
534
534
  type: "dragging";
535
535
  props: {
536
- hover?: boolean | undefined;
537
- hoverColor?: string | undefined;
538
- prompt?: {
539
- inactiveTitle?: string | undefined;
540
- activeTitle?: string | undefined;
541
- activeText?: string | undefined;
542
- } | undefined;
543
- draggingColor?: string | undefined;
544
536
  restrictions?: z.objectInputType<{
545
537
  id: z.ZodString;
546
538
  type: z.ZodString;
@@ -555,9 +547,17 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
555
547
  angle: number;
556
548
  }>>;
557
549
  }, z.ZodTypeAny, "passthrough">[] | undefined;
550
+ prompt?: {
551
+ inactiveTitle?: string | undefined;
552
+ activeTitle?: string | undefined;
553
+ activeText?: string | undefined;
554
+ } | undefined;
555
+ hover?: boolean | undefined;
556
+ hoverColor?: string | undefined;
557
+ draggingColor?: string | undefined;
558
558
  objects?: {
559
- nameFilter: string;
560
559
  restrictions: string[];
560
+ nameFilter: string;
561
561
  dragAnchors?: {
562
562
  id: string;
563
563
  position: number[];
@@ -594,59 +594,59 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
594
594
  activeText?: string | undefined;
595
595
  }>>;
596
596
  }, "strip", z.ZodTypeAny, {
597
+ prompt?: {
598
+ inactiveTitle?: string | undefined;
599
+ activeTitle?: string | undefined;
600
+ activeText?: string | undefined;
601
+ } | undefined;
597
602
  maximumSelection?: number | undefined;
598
603
  minimumSelection?: number | undefined;
599
604
  nameFilter?: string[] | undefined;
600
605
  selectionColor?: string | undefined;
601
606
  hover?: boolean | undefined;
602
607
  hoverColor?: string | undefined;
608
+ }, {
603
609
  prompt?: {
604
610
  inactiveTitle?: string | undefined;
605
611
  activeTitle?: string | undefined;
606
612
  activeText?: string | undefined;
607
613
  } | undefined;
608
- }, {
609
614
  maximumSelection?: number | undefined;
610
615
  minimumSelection?: number | undefined;
611
616
  nameFilter?: string[] | undefined;
612
617
  selectionColor?: string | undefined;
613
618
  hover?: boolean | undefined;
614
619
  hoverColor?: string | undefined;
620
+ }>;
621
+ }, "strip", z.ZodTypeAny, {
622
+ type: "selection";
623
+ props: {
615
624
  prompt?: {
616
625
  inactiveTitle?: string | undefined;
617
626
  activeTitle?: string | undefined;
618
627
  activeText?: string | undefined;
619
628
  } | undefined;
620
- }>;
621
- }, "strip", z.ZodTypeAny, {
622
- type: "selection";
623
- props: {
624
629
  maximumSelection?: number | undefined;
625
630
  minimumSelection?: number | undefined;
626
631
  nameFilter?: string[] | undefined;
627
632
  selectionColor?: string | undefined;
628
633
  hover?: boolean | undefined;
629
634
  hoverColor?: string | undefined;
635
+ };
636
+ }, {
637
+ type: "selection";
638
+ props: {
630
639
  prompt?: {
631
640
  inactiveTitle?: string | undefined;
632
641
  activeTitle?: string | undefined;
633
642
  activeText?: string | undefined;
634
643
  } | undefined;
635
- };
636
- }, {
637
- type: "selection";
638
- props: {
639
644
  maximumSelection?: number | undefined;
640
645
  minimumSelection?: number | undefined;
641
646
  nameFilter?: string[] | undefined;
642
647
  selectionColor?: string | undefined;
643
648
  hover?: boolean | undefined;
644
649
  hoverColor?: string | undefined;
645
- prompt?: {
646
- inactiveTitle?: string | undefined;
647
- activeTitle?: string | undefined;
648
- activeText?: string | undefined;
649
- } | undefined;
650
650
  };
651
651
  }>, z.ZodObject<{
652
652
  type: z.ZodLiteral<"gumball">;
@@ -714,16 +714,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
714
714
  activeText?: string | undefined;
715
715
  }>>;
716
716
  }, "strip", z.ZodTypeAny, {
717
- scale?: number | undefined;
718
- nameFilter?: string[] | undefined;
719
- selectionColor?: string | undefined;
720
- hover?: boolean | undefined;
721
- hoverColor?: string | undefined;
722
717
  prompt?: {
723
718
  inactiveTitle?: string | undefined;
724
719
  activeTitle?: string | undefined;
725
720
  activeText?: string | undefined;
726
721
  } | undefined;
722
+ nameFilter?: string[] | undefined;
723
+ selectionColor?: string | undefined;
724
+ hover?: boolean | undefined;
725
+ hoverColor?: string | undefined;
727
726
  enableRotation?: boolean | undefined;
728
727
  enableRotationAxes?: {
729
728
  x?: boolean | undefined;
@@ -742,18 +741,18 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
742
741
  y?: boolean | undefined;
743
742
  z?: boolean | undefined;
744
743
  } | undefined;
744
+ scale?: number | undefined;
745
745
  space?: "local" | "world" | undefined;
746
746
  }, {
747
- scale?: number | undefined;
748
- nameFilter?: string[] | undefined;
749
- selectionColor?: string | undefined;
750
- hover?: boolean | undefined;
751
- hoverColor?: string | undefined;
752
747
  prompt?: {
753
748
  inactiveTitle?: string | undefined;
754
749
  activeTitle?: string | undefined;
755
750
  activeText?: string | undefined;
756
751
  } | undefined;
752
+ nameFilter?: string[] | undefined;
753
+ selectionColor?: string | undefined;
754
+ hover?: boolean | undefined;
755
+ hoverColor?: string | undefined;
757
756
  enableRotation?: boolean | undefined;
758
757
  enableRotationAxes?: {
759
758
  x?: boolean | undefined;
@@ -772,21 +771,21 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
772
771
  y?: boolean | undefined;
773
772
  z?: boolean | undefined;
774
773
  } | undefined;
774
+ scale?: number | undefined;
775
775
  space?: "local" | "world" | undefined;
776
776
  }>;
777
777
  }, "strip", z.ZodTypeAny, {
778
778
  type: "gumball";
779
779
  props: {
780
- scale?: number | undefined;
781
- nameFilter?: string[] | undefined;
782
- selectionColor?: string | undefined;
783
- hover?: boolean | undefined;
784
- hoverColor?: string | undefined;
785
780
  prompt?: {
786
781
  inactiveTitle?: string | undefined;
787
782
  activeTitle?: string | undefined;
788
783
  activeText?: string | undefined;
789
784
  } | undefined;
785
+ nameFilter?: string[] | undefined;
786
+ selectionColor?: string | undefined;
787
+ hover?: boolean | undefined;
788
+ hoverColor?: string | undefined;
790
789
  enableRotation?: boolean | undefined;
791
790
  enableRotationAxes?: {
792
791
  x?: boolean | undefined;
@@ -805,21 +804,21 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
805
804
  y?: boolean | undefined;
806
805
  z?: boolean | undefined;
807
806
  } | undefined;
807
+ scale?: number | undefined;
808
808
  space?: "local" | "world" | undefined;
809
809
  };
810
810
  }, {
811
811
  type: "gumball";
812
812
  props: {
813
- scale?: number | undefined;
814
- nameFilter?: string[] | undefined;
815
- selectionColor?: string | undefined;
816
- hover?: boolean | undefined;
817
- hoverColor?: string | undefined;
818
813
  prompt?: {
819
814
  inactiveTitle?: string | undefined;
820
815
  activeTitle?: string | undefined;
821
816
  activeText?: string | undefined;
822
817
  } | undefined;
818
+ nameFilter?: string[] | undefined;
819
+ selectionColor?: string | undefined;
820
+ hover?: boolean | undefined;
821
+ hoverColor?: string | undefined;
823
822
  enableRotation?: boolean | undefined;
824
823
  enableRotationAxes?: {
825
824
  x?: boolean | undefined;
@@ -838,6 +837,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
838
837
  y?: boolean | undefined;
839
838
  z?: boolean | undefined;
840
839
  } | undefined;
840
+ scale?: number | undefined;
841
841
  space?: "local" | "world" | undefined;
842
842
  };
843
843
  }>]>, z.ZodObject<{
@@ -877,8 +877,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
877
877
  }>, "many">>;
878
878
  dragOrigin: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
879
879
  }, "strip", z.ZodTypeAny, {
880
- nameFilter: string;
881
880
  restrictions: string[];
881
+ nameFilter: string;
882
882
  dragAnchors?: {
883
883
  id: string;
884
884
  position: number[];
@@ -889,8 +889,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
889
889
  }[] | undefined;
890
890
  dragOrigin?: number[] | undefined;
891
891
  }, {
892
- nameFilter: string;
893
892
  restrictions: string[];
893
+ nameFilter: string;
894
894
  dragAnchors?: {
895
895
  id: string;
896
896
  position: number[];
@@ -958,14 +958,6 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
958
958
  activeText?: string | undefined;
959
959
  }>>;
960
960
  }, "strip", z.ZodTypeAny, {
961
- hover?: boolean | undefined;
962
- hoverColor?: string | undefined;
963
- prompt?: {
964
- inactiveTitle?: string | undefined;
965
- activeTitle?: string | undefined;
966
- activeText?: string | undefined;
967
- } | undefined;
968
- draggingColor?: string | undefined;
969
961
  restrictions?: z.objectOutputType<{
970
962
  id: z.ZodString;
971
963
  type: z.ZodString;
@@ -980,9 +972,17 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
980
972
  angle: number;
981
973
  }>>;
982
974
  }, z.ZodTypeAny, "passthrough">[] | undefined;
975
+ prompt?: {
976
+ inactiveTitle?: string | undefined;
977
+ activeTitle?: string | undefined;
978
+ activeText?: string | undefined;
979
+ } | undefined;
980
+ hover?: boolean | undefined;
981
+ hoverColor?: string | undefined;
982
+ draggingColor?: string | undefined;
983
983
  objects?: {
984
- nameFilter: string;
985
984
  restrictions: string[];
985
+ nameFilter: string;
986
986
  dragAnchors?: {
987
987
  id: string;
988
988
  position: number[];
@@ -994,14 +994,6 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
994
994
  dragOrigin?: number[] | undefined;
995
995
  }[] | undefined;
996
996
  }, {
997
- hover?: boolean | undefined;
998
- hoverColor?: string | undefined;
999
- prompt?: {
1000
- inactiveTitle?: string | undefined;
1001
- activeTitle?: string | undefined;
1002
- activeText?: string | undefined;
1003
- } | undefined;
1004
- draggingColor?: string | undefined;
1005
997
  restrictions?: z.objectInputType<{
1006
998
  id: z.ZodString;
1007
999
  type: z.ZodString;
@@ -1016,9 +1008,17 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1016
1008
  angle: number;
1017
1009
  }>>;
1018
1010
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1011
+ prompt?: {
1012
+ inactiveTitle?: string | undefined;
1013
+ activeTitle?: string | undefined;
1014
+ activeText?: string | undefined;
1015
+ } | undefined;
1016
+ hover?: boolean | undefined;
1017
+ hoverColor?: string | undefined;
1018
+ draggingColor?: string | undefined;
1019
1019
  objects?: {
1020
- nameFilter: string;
1021
1020
  restrictions: string[];
1021
+ nameFilter: string;
1022
1022
  dragAnchors?: {
1023
1023
  id: string;
1024
1024
  position: number[];
@@ -1033,14 +1033,6 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1033
1033
  }, "strip", z.ZodTypeAny, {
1034
1034
  type: "dragging";
1035
1035
  props: {
1036
- hover?: boolean | undefined;
1037
- hoverColor?: string | undefined;
1038
- prompt?: {
1039
- inactiveTitle?: string | undefined;
1040
- activeTitle?: string | undefined;
1041
- activeText?: string | undefined;
1042
- } | undefined;
1043
- draggingColor?: string | undefined;
1044
1036
  restrictions?: z.objectOutputType<{
1045
1037
  id: z.ZodString;
1046
1038
  type: z.ZodString;
@@ -1055,9 +1047,17 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1055
1047
  angle: number;
1056
1048
  }>>;
1057
1049
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1050
+ prompt?: {
1051
+ inactiveTitle?: string | undefined;
1052
+ activeTitle?: string | undefined;
1053
+ activeText?: string | undefined;
1054
+ } | undefined;
1055
+ hover?: boolean | undefined;
1056
+ hoverColor?: string | undefined;
1057
+ draggingColor?: string | undefined;
1058
1058
  objects?: {
1059
- nameFilter: string;
1060
1059
  restrictions: string[];
1060
+ nameFilter: string;
1061
1061
  dragAnchors?: {
1062
1062
  id: string;
1063
1063
  position: number[];
@@ -1072,14 +1072,6 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1072
1072
  }, {
1073
1073
  type: "dragging";
1074
1074
  props: {
1075
- hover?: boolean | undefined;
1076
- hoverColor?: string | undefined;
1077
- prompt?: {
1078
- inactiveTitle?: string | undefined;
1079
- activeTitle?: string | undefined;
1080
- activeText?: string | undefined;
1081
- } | undefined;
1082
- draggingColor?: string | undefined;
1083
1075
  restrictions?: z.objectInputType<{
1084
1076
  id: z.ZodString;
1085
1077
  type: z.ZodString;
@@ -1094,9 +1086,17 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1094
1086
  angle: number;
1095
1087
  }>>;
1096
1088
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1089
+ prompt?: {
1090
+ inactiveTitle?: string | undefined;
1091
+ activeTitle?: string | undefined;
1092
+ activeText?: string | undefined;
1093
+ } | undefined;
1094
+ hover?: boolean | undefined;
1095
+ hoverColor?: string | undefined;
1096
+ draggingColor?: string | undefined;
1097
1097
  objects?: {
1098
- nameFilter: string;
1099
1098
  restrictions: string[];
1099
+ nameFilter: string;
1100
1100
  dragAnchors?: {
1101
1101
  id: string;
1102
1102
  position: number[];
@@ -1112,31 +1112,30 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
1112
1112
  export declare const validateInteractionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
1113
1113
  type: "selection";
1114
1114
  props: {
1115
+ prompt?: {
1116
+ inactiveTitle?: string | undefined;
1117
+ activeTitle?: string | undefined;
1118
+ activeText?: string | undefined;
1119
+ } | undefined;
1115
1120
  maximumSelection?: number | undefined;
1116
1121
  minimumSelection?: number | undefined;
1117
1122
  nameFilter?: string[] | undefined;
1118
1123
  selectionColor?: string | undefined;
1119
1124
  hover?: boolean | undefined;
1120
1125
  hoverColor?: string | undefined;
1121
- prompt?: {
1122
- inactiveTitle?: string | undefined;
1123
- activeTitle?: string | undefined;
1124
- activeText?: string | undefined;
1125
- } | undefined;
1126
1126
  };
1127
1127
  } | {
1128
1128
  type: "gumball";
1129
1129
  props: {
1130
- scale?: number | undefined;
1131
- nameFilter?: string[] | undefined;
1132
- selectionColor?: string | undefined;
1133
- hover?: boolean | undefined;
1134
- hoverColor?: string | undefined;
1135
1130
  prompt?: {
1136
1131
  inactiveTitle?: string | undefined;
1137
1132
  activeTitle?: string | undefined;
1138
1133
  activeText?: string | undefined;
1139
1134
  } | undefined;
1135
+ nameFilter?: string[] | undefined;
1136
+ selectionColor?: string | undefined;
1137
+ hover?: boolean | undefined;
1138
+ hoverColor?: string | undefined;
1140
1139
  enableRotation?: boolean | undefined;
1141
1140
  enableRotationAxes?: {
1142
1141
  x?: boolean | undefined;
@@ -1155,19 +1154,12 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1155
1154
  y?: boolean | undefined;
1156
1155
  z?: boolean | undefined;
1157
1156
  } | undefined;
1157
+ scale?: number | undefined;
1158
1158
  space?: "local" | "world" | undefined;
1159
1159
  };
1160
1160
  } | {
1161
1161
  type: "dragging";
1162
1162
  props: {
1163
- hover?: boolean | undefined;
1164
- hoverColor?: string | undefined;
1165
- prompt?: {
1166
- inactiveTitle?: string | undefined;
1167
- activeTitle?: string | undefined;
1168
- activeText?: string | undefined;
1169
- } | undefined;
1170
- draggingColor?: string | undefined;
1171
1163
  restrictions?: z.objectInputType<{
1172
1164
  id: z.ZodString;
1173
1165
  type: z.ZodString;
@@ -1182,9 +1174,17 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1182
1174
  angle: number;
1183
1175
  }>>;
1184
1176
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1177
+ prompt?: {
1178
+ inactiveTitle?: string | undefined;
1179
+ activeTitle?: string | undefined;
1180
+ activeText?: string | undefined;
1181
+ } | undefined;
1182
+ hover?: boolean | undefined;
1183
+ hoverColor?: string | undefined;
1184
+ draggingColor?: string | undefined;
1185
1185
  objects?: {
1186
- nameFilter: string;
1187
1186
  restrictions: string[];
1187
+ nameFilter: string;
1188
1188
  dragAnchors?: {
1189
1189
  id: string;
1190
1190
  position: number[];
@@ -1199,31 +1199,30 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1199
1199
  }, {
1200
1200
  type: "selection";
1201
1201
  props: {
1202
+ prompt?: {
1203
+ inactiveTitle?: string | undefined;
1204
+ activeTitle?: string | undefined;
1205
+ activeText?: string | undefined;
1206
+ } | undefined;
1202
1207
  maximumSelection?: number | undefined;
1203
1208
  minimumSelection?: number | undefined;
1204
1209
  nameFilter?: string[] | undefined;
1205
1210
  selectionColor?: string | undefined;
1206
1211
  hover?: boolean | undefined;
1207
1212
  hoverColor?: string | undefined;
1208
- prompt?: {
1209
- inactiveTitle?: string | undefined;
1210
- activeTitle?: string | undefined;
1211
- activeText?: string | undefined;
1212
- } | undefined;
1213
1213
  };
1214
1214
  } | {
1215
1215
  type: "gumball";
1216
1216
  props: {
1217
- scale?: number | undefined;
1218
- nameFilter?: string[] | undefined;
1219
- selectionColor?: string | undefined;
1220
- hover?: boolean | undefined;
1221
- hoverColor?: string | undefined;
1222
1217
  prompt?: {
1223
1218
  inactiveTitle?: string | undefined;
1224
1219
  activeTitle?: string | undefined;
1225
1220
  activeText?: string | undefined;
1226
1221
  } | undefined;
1222
+ nameFilter?: string[] | undefined;
1223
+ selectionColor?: string | undefined;
1224
+ hover?: boolean | undefined;
1225
+ hoverColor?: string | undefined;
1227
1226
  enableRotation?: boolean | undefined;
1228
1227
  enableRotationAxes?: {
1229
1228
  x?: boolean | undefined;
@@ -1242,19 +1241,12 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1242
1241
  y?: boolean | undefined;
1243
1242
  z?: boolean | undefined;
1244
1243
  } | undefined;
1244
+ scale?: number | undefined;
1245
1245
  space?: "local" | "world" | undefined;
1246
1246
  };
1247
1247
  } | {
1248
1248
  type: "dragging";
1249
1249
  props: {
1250
- hover?: boolean | undefined;
1251
- hoverColor?: string | undefined;
1252
- prompt?: {
1253
- inactiveTitle?: string | undefined;
1254
- activeTitle?: string | undefined;
1255
- activeText?: string | undefined;
1256
- } | undefined;
1257
- draggingColor?: string | undefined;
1258
1250
  restrictions?: z.objectOutputType<{
1259
1251
  id: z.ZodString;
1260
1252
  type: z.ZodString;
@@ -1269,9 +1261,17 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1269
1261
  angle: number;
1270
1262
  }>>;
1271
1263
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1264
+ prompt?: {
1265
+ inactiveTitle?: string | undefined;
1266
+ activeTitle?: string | undefined;
1267
+ activeText?: string | undefined;
1268
+ } | undefined;
1269
+ hover?: boolean | undefined;
1270
+ hoverColor?: string | undefined;
1271
+ draggingColor?: string | undefined;
1272
1272
  objects?: {
1273
- nameFilter: string;
1274
1273
  restrictions: string[];
1274
+ nameFilter: string;
1275
1275
  dragAnchors?: {
1276
1276
  id: string;
1277
1277
  position: number[];
@@ -1287,47 +1287,46 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
1287
1287
  export declare const validateSelectionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
1288
1288
  type: "selection";
1289
1289
  props: {
1290
+ prompt?: {
1291
+ inactiveTitle?: string | undefined;
1292
+ activeTitle?: string | undefined;
1293
+ activeText?: string | undefined;
1294
+ } | undefined;
1290
1295
  maximumSelection?: number | undefined;
1291
1296
  minimumSelection?: number | undefined;
1292
1297
  nameFilter?: string[] | undefined;
1293
1298
  selectionColor?: string | undefined;
1294
1299
  hover?: boolean | undefined;
1295
1300
  hoverColor?: string | undefined;
1301
+ };
1302
+ }, {
1303
+ type: "selection";
1304
+ props: {
1296
1305
  prompt?: {
1297
1306
  inactiveTitle?: string | undefined;
1298
1307
  activeTitle?: string | undefined;
1299
1308
  activeText?: string | undefined;
1300
1309
  } | undefined;
1301
- };
1302
- }, {
1303
- type: "selection";
1304
- props: {
1305
1310
  maximumSelection?: number | undefined;
1306
1311
  minimumSelection?: number | undefined;
1307
1312
  nameFilter?: string[] | undefined;
1308
1313
  selectionColor?: string | undefined;
1309
1314
  hover?: boolean | undefined;
1310
1315
  hoverColor?: string | undefined;
1311
- prompt?: {
1312
- inactiveTitle?: string | undefined;
1313
- activeTitle?: string | undefined;
1314
- activeText?: string | undefined;
1315
- } | undefined;
1316
1316
  };
1317
1317
  }>;
1318
1318
  export declare const validateGumballParameterSettings: (param: unknown) => z.SafeParseReturnType<{
1319
1319
  type: "gumball";
1320
1320
  props: {
1321
- scale?: number | undefined;
1322
- nameFilter?: string[] | undefined;
1323
- selectionColor?: string | undefined;
1324
- hover?: boolean | undefined;
1325
- hoverColor?: string | undefined;
1326
1321
  prompt?: {
1327
1322
  inactiveTitle?: string | undefined;
1328
1323
  activeTitle?: string | undefined;
1329
1324
  activeText?: string | undefined;
1330
1325
  } | undefined;
1326
+ nameFilter?: string[] | undefined;
1327
+ selectionColor?: string | undefined;
1328
+ hover?: boolean | undefined;
1329
+ hoverColor?: string | undefined;
1331
1330
  enableRotation?: boolean | undefined;
1332
1331
  enableRotationAxes?: {
1333
1332
  x?: boolean | undefined;
@@ -1346,21 +1345,21 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
1346
1345
  y?: boolean | undefined;
1347
1346
  z?: boolean | undefined;
1348
1347
  } | undefined;
1348
+ scale?: number | undefined;
1349
1349
  space?: "local" | "world" | undefined;
1350
1350
  };
1351
1351
  }, {
1352
1352
  type: "gumball";
1353
1353
  props: {
1354
- scale?: number | undefined;
1355
- nameFilter?: string[] | undefined;
1356
- selectionColor?: string | undefined;
1357
- hover?: boolean | undefined;
1358
- hoverColor?: string | undefined;
1359
1354
  prompt?: {
1360
1355
  inactiveTitle?: string | undefined;
1361
1356
  activeTitle?: string | undefined;
1362
1357
  activeText?: string | undefined;
1363
1358
  } | undefined;
1359
+ nameFilter?: string[] | undefined;
1360
+ selectionColor?: string | undefined;
1361
+ hover?: boolean | undefined;
1362
+ hoverColor?: string | undefined;
1364
1363
  enableRotation?: boolean | undefined;
1365
1364
  enableRotationAxes?: {
1366
1365
  x?: boolean | undefined;
@@ -1379,20 +1378,13 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
1379
1378
  y?: boolean | undefined;
1380
1379
  z?: boolean | undefined;
1381
1380
  } | undefined;
1381
+ scale?: number | undefined;
1382
1382
  space?: "local" | "world" | undefined;
1383
1383
  };
1384
1384
  }>;
1385
1385
  export declare const validateDraggingParameterSettings: (param: unknown) => z.SafeParseReturnType<{
1386
1386
  type: "dragging";
1387
1387
  props: {
1388
- hover?: boolean | undefined;
1389
- hoverColor?: string | undefined;
1390
- prompt?: {
1391
- inactiveTitle?: string | undefined;
1392
- activeTitle?: string | undefined;
1393
- activeText?: string | undefined;
1394
- } | undefined;
1395
- draggingColor?: string | undefined;
1396
1388
  restrictions?: z.objectInputType<{
1397
1389
  id: z.ZodString;
1398
1390
  type: z.ZodString;
@@ -1407,9 +1399,17 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
1407
1399
  angle: number;
1408
1400
  }>>;
1409
1401
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1402
+ prompt?: {
1403
+ inactiveTitle?: string | undefined;
1404
+ activeTitle?: string | undefined;
1405
+ activeText?: string | undefined;
1406
+ } | undefined;
1407
+ hover?: boolean | undefined;
1408
+ hoverColor?: string | undefined;
1409
+ draggingColor?: string | undefined;
1410
1410
  objects?: {
1411
- nameFilter: string;
1412
1411
  restrictions: string[];
1412
+ nameFilter: string;
1413
1413
  dragAnchors?: {
1414
1414
  id: string;
1415
1415
  position: number[];
@@ -1424,14 +1424,6 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
1424
1424
  }, {
1425
1425
  type: "dragging";
1426
1426
  props: {
1427
- hover?: boolean | undefined;
1428
- hoverColor?: string | undefined;
1429
- prompt?: {
1430
- inactiveTitle?: string | undefined;
1431
- activeTitle?: string | undefined;
1432
- activeText?: string | undefined;
1433
- } | undefined;
1434
- draggingColor?: string | undefined;
1435
1427
  restrictions?: z.objectOutputType<{
1436
1428
  id: z.ZodString;
1437
1429
  type: z.ZodString;
@@ -1446,9 +1438,17 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
1446
1438
  angle: number;
1447
1439
  }>>;
1448
1440
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1441
+ prompt?: {
1442
+ inactiveTitle?: string | undefined;
1443
+ activeTitle?: string | undefined;
1444
+ activeText?: string | undefined;
1445
+ } | undefined;
1446
+ hover?: boolean | undefined;
1447
+ hoverColor?: string | undefined;
1448
+ draggingColor?: string | undefined;
1449
1449
  objects?: {
1450
- nameFilter: string;
1451
1450
  restrictions: string[];
1451
+ nameFilter: string;
1452
1452
  dragAnchors?: {
1453
1453
  id: string;
1454
1454
  position: number[];
@@ -5,6 +5,7 @@ export interface ISDTFOverview {
5
5
  typeHint: SdtfTypeHintName | string;
6
6
  count: number;
7
7
  values?: string[];
8
+ countForValue?: number[];
8
9
  min?: number;
9
10
  max?: number;
10
11
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"ISDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/sdtf/ISDTFOverviewData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,qCAAqC,CAAC;AAElE,MAAM,WAAW,aAAa;IAG7B,CAAC,GAAG,EAAE,MAAM,GAAG;QACd,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAAC;QACpC,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CAGJ;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IAGvD,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IAMjC,KAAK,IAAI,iBAAiB,CAAC;IAC3B,KAAK,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAGrC"}
1
+ {"version":3,"file":"ISDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/sdtf/ISDTFOverviewData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,qCAAqC,CAAC;AAElE,MAAM,WAAW,aAAa;IAG7B,CAAC,GAAG,EAAE,MAAM,GAAG;QACd,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAAC;QACpC,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;QACzB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CAGJ;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IAGvD,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IAMjC,KAAK,IAAI,iBAAiB,CAAC;IAC3B,KAAK,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAGrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapediver/viewer.shared.types",
3
- "version": "3.9.10",
3
+ "version": "3.10.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "Michael Oppitz <michael@shapediver.com>",
@@ -40,11 +40,11 @@
40
40
  "dependencies": {
41
41
  "@shapediver/sdk.geometry-api-sdk-v2": "1.12.2",
42
42
  "@shapediver/sdk.sdtf-v1": "1.5.3",
43
- "@shapediver/viewer.shared.math": "3.9.10",
44
- "@shapediver/viewer.shared.node-tree": "3.9.10",
45
- "@shapediver/viewer.shared.services": "3.9.10",
43
+ "@shapediver/viewer.shared.math": "3.10.0",
44
+ "@shapediver/viewer.shared.node-tree": "3.10.0",
45
+ "@shapediver/viewer.shared.services": "3.10.0",
46
46
  "gl-matrix": "3.3.0",
47
47
  "zod": "^3.23.8"
48
48
  },
49
- "gitHead": "57ed0febcf3179f79d7982927109929962f53ee9"
49
+ "gitHead": "b0e185f7bc0ee8c5526e1da640078a448b6d6f56"
50
50
  }