@shapediver/viewer.shared.types 3.10.0 → 3.11.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.
|
@@ -112,6 +112,7 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
|
|
|
112
112
|
} | undefined;
|
|
113
113
|
}>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
restrictions?: any[] | undefined;
|
|
115
116
|
geometry?: {
|
|
116
117
|
mode: "points" | "lines";
|
|
117
118
|
close: boolean;
|
|
@@ -119,7 +120,6 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
|
|
|
119
120
|
maxPoints?: number | undefined;
|
|
120
121
|
strictMinMaxPoints?: boolean | undefined;
|
|
121
122
|
} | undefined;
|
|
122
|
-
restrictions?: any[] | undefined;
|
|
123
123
|
general?: {
|
|
124
124
|
prompt?: {
|
|
125
125
|
inactiveTitle?: string | undefined;
|
|
@@ -128,6 +128,7 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
|
|
|
128
128
|
} | undefined;
|
|
129
129
|
} | undefined;
|
|
130
130
|
}, {
|
|
131
|
+
restrictions?: any[] | undefined;
|
|
131
132
|
geometry?: {
|
|
132
133
|
mode: "points" | "lines";
|
|
133
134
|
close: boolean;
|
|
@@ -135,7 +136,6 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
|
|
|
135
136
|
maxPoints?: number | undefined;
|
|
136
137
|
strictMinMaxPoints?: boolean | undefined;
|
|
137
138
|
} | undefined;
|
|
138
|
-
restrictions?: any[] | undefined;
|
|
139
139
|
general?: {
|
|
140
140
|
prompt?: {
|
|
141
141
|
inactiveTitle?: string | undefined;
|
|
@@ -145,6 +145,7 @@ 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;
|
|
148
149
|
geometry?: {
|
|
149
150
|
mode: "points" | "lines";
|
|
150
151
|
close: boolean;
|
|
@@ -152,7 +153,6 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
|
|
|
152
153
|
maxPoints?: number | undefined;
|
|
153
154
|
strictMinMaxPoints?: boolean | undefined;
|
|
154
155
|
} | undefined;
|
|
155
|
-
restrictions?: any[] | undefined;
|
|
156
156
|
general?: {
|
|
157
157
|
prompt?: {
|
|
158
158
|
inactiveTitle?: string | undefined;
|
|
@@ -161,6 +161,7 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
|
|
|
161
161
|
} | undefined;
|
|
162
162
|
} | undefined;
|
|
163
163
|
}, {
|
|
164
|
+
restrictions?: any[] | undefined;
|
|
164
165
|
geometry?: {
|
|
165
166
|
mode: "points" | "lines";
|
|
166
167
|
close: boolean;
|
|
@@ -168,7 +169,6 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
|
|
|
168
169
|
maxPoints?: number | undefined;
|
|
169
170
|
strictMinMaxPoints?: boolean | undefined;
|
|
170
171
|
} | 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;
|
|
61
56
|
maximumSelection?: number | undefined;
|
|
62
57
|
minimumSelection?: number | undefined;
|
|
63
58
|
nameFilter?: string[] | undefined;
|
|
64
59
|
selectionColor?: string | undefined;
|
|
65
60
|
hover?: boolean | undefined;
|
|
66
61
|
hoverColor?: string | undefined;
|
|
67
|
-
}, {
|
|
68
62
|
prompt?: {
|
|
69
63
|
inactiveTitle?: string | undefined;
|
|
70
64
|
activeTitle?: string | undefined;
|
|
71
65
|
activeText?: string | undefined;
|
|
72
66
|
} | undefined;
|
|
67
|
+
}, {
|
|
73
68
|
maximumSelection?: number | undefined;
|
|
74
69
|
minimumSelection?: number | undefined;
|
|
75
70
|
nameFilter?: string[] | undefined;
|
|
76
71
|
selectionColor?: string | undefined;
|
|
77
72
|
hover?: boolean | undefined;
|
|
78
73
|
hoverColor?: string | undefined;
|
|
79
|
-
}>;
|
|
80
|
-
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
type: "selection";
|
|
82
|
-
props: {
|
|
83
74
|
prompt?: {
|
|
84
75
|
inactiveTitle?: string | undefined;
|
|
85
76
|
activeTitle?: string | undefined;
|
|
86
77
|
activeText?: string | undefined;
|
|
87
78
|
} | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
type: "selection";
|
|
82
|
+
props: {
|
|
88
83
|
maximumSelection?: number | undefined;
|
|
89
84
|
minimumSelection?: number | undefined;
|
|
90
85
|
nameFilter?: string[] | undefined;
|
|
91
86
|
selectionColor?: string | undefined;
|
|
92
87
|
hover?: boolean | undefined;
|
|
93
88
|
hoverColor?: string | undefined;
|
|
94
|
-
};
|
|
95
|
-
}, {
|
|
96
|
-
type: "selection";
|
|
97
|
-
props: {
|
|
98
89
|
prompt?: {
|
|
99
90
|
inactiveTitle?: string | undefined;
|
|
100
91
|
activeTitle?: string | undefined;
|
|
101
92
|
activeText?: string | undefined;
|
|
102
93
|
} | undefined;
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
type: "selection";
|
|
97
|
+
props: {
|
|
103
98
|
maximumSelection?: number | undefined;
|
|
104
99
|
minimumSelection?: number | undefined;
|
|
105
100
|
nameFilter?: string[] | undefined;
|
|
106
101
|
selectionColor?: string | undefined;
|
|
107
102
|
hover?: boolean | undefined;
|
|
108
103
|
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,15 +174,15 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
174
174
|
activeText?: string | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
+
nameFilter?: string[] | undefined;
|
|
178
|
+
selectionColor?: string | undefined;
|
|
179
|
+
hover?: boolean | undefined;
|
|
180
|
+
hoverColor?: string | undefined;
|
|
177
181
|
prompt?: {
|
|
178
182
|
inactiveTitle?: string | undefined;
|
|
179
183
|
activeTitle?: string | undefined;
|
|
180
184
|
activeText?: string | undefined;
|
|
181
185
|
} | undefined;
|
|
182
|
-
nameFilter?: string[] | undefined;
|
|
183
|
-
selectionColor?: string | undefined;
|
|
184
|
-
hover?: boolean | undefined;
|
|
185
|
-
hoverColor?: string | undefined;
|
|
186
186
|
enableRotation?: boolean | undefined;
|
|
187
187
|
enableRotationAxes?: {
|
|
188
188
|
x?: boolean | undefined;
|
|
@@ -204,15 +204,15 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
204
204
|
scale?: number | undefined;
|
|
205
205
|
space?: "local" | "world" | undefined;
|
|
206
206
|
}, {
|
|
207
|
+
nameFilter?: string[] | undefined;
|
|
208
|
+
selectionColor?: string | undefined;
|
|
209
|
+
hover?: boolean | undefined;
|
|
210
|
+
hoverColor?: string | undefined;
|
|
207
211
|
prompt?: {
|
|
208
212
|
inactiveTitle?: string | undefined;
|
|
209
213
|
activeTitle?: string | undefined;
|
|
210
214
|
activeText?: string | undefined;
|
|
211
215
|
} | undefined;
|
|
212
|
-
nameFilter?: string[] | undefined;
|
|
213
|
-
selectionColor?: string | undefined;
|
|
214
|
-
hover?: boolean | undefined;
|
|
215
|
-
hoverColor?: string | undefined;
|
|
216
216
|
enableRotation?: boolean | undefined;
|
|
217
217
|
enableRotationAxes?: {
|
|
218
218
|
x?: boolean | undefined;
|
|
@@ -237,15 +237,15 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
type: "gumball";
|
|
239
239
|
props: {
|
|
240
|
+
nameFilter?: string[] | undefined;
|
|
241
|
+
selectionColor?: string | undefined;
|
|
242
|
+
hover?: boolean | undefined;
|
|
243
|
+
hoverColor?: string | undefined;
|
|
240
244
|
prompt?: {
|
|
241
245
|
inactiveTitle?: string | undefined;
|
|
242
246
|
activeTitle?: string | undefined;
|
|
243
247
|
activeText?: string | undefined;
|
|
244
248
|
} | undefined;
|
|
245
|
-
nameFilter?: string[] | undefined;
|
|
246
|
-
selectionColor?: string | undefined;
|
|
247
|
-
hover?: boolean | undefined;
|
|
248
|
-
hoverColor?: string | undefined;
|
|
249
249
|
enableRotation?: boolean | undefined;
|
|
250
250
|
enableRotationAxes?: {
|
|
251
251
|
x?: boolean | undefined;
|
|
@@ -270,15 +270,15 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
270
270
|
}, {
|
|
271
271
|
type: "gumball";
|
|
272
272
|
props: {
|
|
273
|
+
nameFilter?: string[] | undefined;
|
|
274
|
+
selectionColor?: string | undefined;
|
|
275
|
+
hover?: boolean | undefined;
|
|
276
|
+
hoverColor?: string | undefined;
|
|
273
277
|
prompt?: {
|
|
274
278
|
inactiveTitle?: string | undefined;
|
|
275
279
|
activeTitle?: string | undefined;
|
|
276
280
|
activeText?: string | undefined;
|
|
277
281
|
} | undefined;
|
|
278
|
-
nameFilter?: string[] | undefined;
|
|
279
|
-
selectionColor?: string | undefined;
|
|
280
|
-
hover?: boolean | undefined;
|
|
281
|
-
hoverColor?: string | undefined;
|
|
282
282
|
enableRotation?: boolean | undefined;
|
|
283
283
|
enableRotationAxes?: {
|
|
284
284
|
x?: boolean | undefined;
|
|
@@ -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
|
-
restrictions: string[];
|
|
342
341
|
nameFilter: string;
|
|
342
|
+
restrictions: 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
|
-
restrictions: string[];
|
|
354
353
|
nameFilter: string;
|
|
354
|
+
restrictions: string[];
|
|
355
355
|
dragAnchors?: {
|
|
356
356
|
id: string;
|
|
357
357
|
position: number[];
|
|
@@ -419,6 +419,14 @@ 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;
|
|
422
430
|
restrictions?: z.objectOutputType<{
|
|
423
431
|
id: z.ZodString;
|
|
424
432
|
type: z.ZodString;
|
|
@@ -433,17 +441,9 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
433
441
|
angle: number;
|
|
434
442
|
}>>;
|
|
435
443
|
}, 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
|
-
restrictions: string[];
|
|
446
445
|
nameFilter: string;
|
|
446
|
+
restrictions: string[];
|
|
447
447
|
dragAnchors?: {
|
|
448
448
|
id: string;
|
|
449
449
|
position: number[];
|
|
@@ -455,6 +455,14 @@ 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;
|
|
458
466
|
restrictions?: z.objectInputType<{
|
|
459
467
|
id: z.ZodString;
|
|
460
468
|
type: z.ZodString;
|
|
@@ -469,17 +477,9 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
469
477
|
angle: number;
|
|
470
478
|
}>>;
|
|
471
479
|
}, 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
|
-
restrictions: string[];
|
|
482
481
|
nameFilter: string;
|
|
482
|
+
restrictions: string[];
|
|
483
483
|
dragAnchors?: {
|
|
484
484
|
id: string;
|
|
485
485
|
position: number[];
|
|
@@ -494,6 +494,14 @@ 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;
|
|
497
505
|
restrictions?: z.objectOutputType<{
|
|
498
506
|
id: z.ZodString;
|
|
499
507
|
type: z.ZodString;
|
|
@@ -508,17 +516,9 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
508
516
|
angle: number;
|
|
509
517
|
}>>;
|
|
510
518
|
}, 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
|
-
restrictions: string[];
|
|
521
520
|
nameFilter: string;
|
|
521
|
+
restrictions: string[];
|
|
522
522
|
dragAnchors?: {
|
|
523
523
|
id: string;
|
|
524
524
|
position: number[];
|
|
@@ -533,6 +533,14 @@ 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;
|
|
536
544
|
restrictions?: z.objectInputType<{
|
|
537
545
|
id: z.ZodString;
|
|
538
546
|
type: z.ZodString;
|
|
@@ -547,17 +555,9 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
547
555
|
angle: number;
|
|
548
556
|
}>>;
|
|
549
557
|
}, 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
|
-
restrictions: string[];
|
|
560
559
|
nameFilter: string;
|
|
560
|
+
restrictions: 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;
|
|
602
597
|
maximumSelection?: number | undefined;
|
|
603
598
|
minimumSelection?: number | undefined;
|
|
604
599
|
nameFilter?: string[] | undefined;
|
|
605
600
|
selectionColor?: string | undefined;
|
|
606
601
|
hover?: boolean | undefined;
|
|
607
602
|
hoverColor?: string | undefined;
|
|
608
|
-
}, {
|
|
609
603
|
prompt?: {
|
|
610
604
|
inactiveTitle?: string | undefined;
|
|
611
605
|
activeTitle?: string | undefined;
|
|
612
606
|
activeText?: string | undefined;
|
|
613
607
|
} | undefined;
|
|
608
|
+
}, {
|
|
614
609
|
maximumSelection?: number | undefined;
|
|
615
610
|
minimumSelection?: number | undefined;
|
|
616
611
|
nameFilter?: string[] | undefined;
|
|
617
612
|
selectionColor?: string | undefined;
|
|
618
613
|
hover?: boolean | undefined;
|
|
619
614
|
hoverColor?: string | undefined;
|
|
620
|
-
}>;
|
|
621
|
-
}, "strip", z.ZodTypeAny, {
|
|
622
|
-
type: "selection";
|
|
623
|
-
props: {
|
|
624
615
|
prompt?: {
|
|
625
616
|
inactiveTitle?: string | undefined;
|
|
626
617
|
activeTitle?: string | undefined;
|
|
627
618
|
activeText?: string | undefined;
|
|
628
619
|
} | undefined;
|
|
620
|
+
}>;
|
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
type: "selection";
|
|
623
|
+
props: {
|
|
629
624
|
maximumSelection?: number | undefined;
|
|
630
625
|
minimumSelection?: number | undefined;
|
|
631
626
|
nameFilter?: string[] | undefined;
|
|
632
627
|
selectionColor?: string | undefined;
|
|
633
628
|
hover?: boolean | undefined;
|
|
634
629
|
hoverColor?: string | undefined;
|
|
635
|
-
};
|
|
636
|
-
}, {
|
|
637
|
-
type: "selection";
|
|
638
|
-
props: {
|
|
639
630
|
prompt?: {
|
|
640
631
|
inactiveTitle?: string | undefined;
|
|
641
632
|
activeTitle?: string | undefined;
|
|
642
633
|
activeText?: string | undefined;
|
|
643
634
|
} | undefined;
|
|
635
|
+
};
|
|
636
|
+
}, {
|
|
637
|
+
type: "selection";
|
|
638
|
+
props: {
|
|
644
639
|
maximumSelection?: number | undefined;
|
|
645
640
|
minimumSelection?: number | undefined;
|
|
646
641
|
nameFilter?: string[] | undefined;
|
|
647
642
|
selectionColor?: string | undefined;
|
|
648
643
|
hover?: boolean | undefined;
|
|
649
644
|
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,15 +714,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
714
714
|
activeText?: string | undefined;
|
|
715
715
|
}>>;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
nameFilter?: string[] | undefined;
|
|
718
|
+
selectionColor?: string | undefined;
|
|
719
|
+
hover?: boolean | undefined;
|
|
720
|
+
hoverColor?: string | undefined;
|
|
717
721
|
prompt?: {
|
|
718
722
|
inactiveTitle?: string | undefined;
|
|
719
723
|
activeTitle?: string | undefined;
|
|
720
724
|
activeText?: string | undefined;
|
|
721
725
|
} | undefined;
|
|
722
|
-
nameFilter?: string[] | undefined;
|
|
723
|
-
selectionColor?: string | undefined;
|
|
724
|
-
hover?: boolean | undefined;
|
|
725
|
-
hoverColor?: string | undefined;
|
|
726
726
|
enableRotation?: boolean | undefined;
|
|
727
727
|
enableRotationAxes?: {
|
|
728
728
|
x?: boolean | undefined;
|
|
@@ -744,15 +744,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
744
744
|
scale?: number | undefined;
|
|
745
745
|
space?: "local" | "world" | undefined;
|
|
746
746
|
}, {
|
|
747
|
+
nameFilter?: string[] | undefined;
|
|
748
|
+
selectionColor?: string | undefined;
|
|
749
|
+
hover?: boolean | undefined;
|
|
750
|
+
hoverColor?: string | undefined;
|
|
747
751
|
prompt?: {
|
|
748
752
|
inactiveTitle?: string | undefined;
|
|
749
753
|
activeTitle?: string | undefined;
|
|
750
754
|
activeText?: string | undefined;
|
|
751
755
|
} | undefined;
|
|
752
|
-
nameFilter?: string[] | undefined;
|
|
753
|
-
selectionColor?: string | undefined;
|
|
754
|
-
hover?: boolean | undefined;
|
|
755
|
-
hoverColor?: string | undefined;
|
|
756
756
|
enableRotation?: boolean | undefined;
|
|
757
757
|
enableRotationAxes?: {
|
|
758
758
|
x?: boolean | undefined;
|
|
@@ -777,15 +777,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
778
|
type: "gumball";
|
|
779
779
|
props: {
|
|
780
|
+
nameFilter?: string[] | undefined;
|
|
781
|
+
selectionColor?: string | undefined;
|
|
782
|
+
hover?: boolean | undefined;
|
|
783
|
+
hoverColor?: string | undefined;
|
|
780
784
|
prompt?: {
|
|
781
785
|
inactiveTitle?: string | undefined;
|
|
782
786
|
activeTitle?: string | undefined;
|
|
783
787
|
activeText?: string | undefined;
|
|
784
788
|
} | undefined;
|
|
785
|
-
nameFilter?: string[] | undefined;
|
|
786
|
-
selectionColor?: string | undefined;
|
|
787
|
-
hover?: boolean | undefined;
|
|
788
|
-
hoverColor?: string | undefined;
|
|
789
789
|
enableRotation?: boolean | undefined;
|
|
790
790
|
enableRotationAxes?: {
|
|
791
791
|
x?: boolean | undefined;
|
|
@@ -810,15 +810,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
810
810
|
}, {
|
|
811
811
|
type: "gumball";
|
|
812
812
|
props: {
|
|
813
|
+
nameFilter?: string[] | undefined;
|
|
814
|
+
selectionColor?: string | undefined;
|
|
815
|
+
hover?: boolean | undefined;
|
|
816
|
+
hoverColor?: string | undefined;
|
|
813
817
|
prompt?: {
|
|
814
818
|
inactiveTitle?: string | undefined;
|
|
815
819
|
activeTitle?: string | undefined;
|
|
816
820
|
activeText?: string | undefined;
|
|
817
821
|
} | undefined;
|
|
818
|
-
nameFilter?: string[] | undefined;
|
|
819
|
-
selectionColor?: string | undefined;
|
|
820
|
-
hover?: boolean | undefined;
|
|
821
|
-
hoverColor?: string | undefined;
|
|
822
822
|
enableRotation?: boolean | undefined;
|
|
823
823
|
enableRotationAxes?: {
|
|
824
824
|
x?: boolean | undefined;
|
|
@@ -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
|
-
restrictions: string[];
|
|
881
880
|
nameFilter: string;
|
|
881
|
+
restrictions: 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
|
-
restrictions: string[];
|
|
893
892
|
nameFilter: string;
|
|
893
|
+
restrictions: string[];
|
|
894
894
|
dragAnchors?: {
|
|
895
895
|
id: string;
|
|
896
896
|
position: number[];
|
|
@@ -958,6 +958,14 @@ 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;
|
|
961
969
|
restrictions?: z.objectOutputType<{
|
|
962
970
|
id: z.ZodString;
|
|
963
971
|
type: z.ZodString;
|
|
@@ -972,17 +980,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
972
980
|
angle: number;
|
|
973
981
|
}>>;
|
|
974
982
|
}, 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
|
-
restrictions: string[];
|
|
985
984
|
nameFilter: string;
|
|
985
|
+
restrictions: string[];
|
|
986
986
|
dragAnchors?: {
|
|
987
987
|
id: string;
|
|
988
988
|
position: number[];
|
|
@@ -994,6 +994,14 @@ 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;
|
|
997
1005
|
restrictions?: z.objectInputType<{
|
|
998
1006
|
id: z.ZodString;
|
|
999
1007
|
type: z.ZodString;
|
|
@@ -1008,17 +1016,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1008
1016
|
angle: number;
|
|
1009
1017
|
}>>;
|
|
1010
1018
|
}, 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
|
-
restrictions: string[];
|
|
1021
1020
|
nameFilter: string;
|
|
1021
|
+
restrictions: string[];
|
|
1022
1022
|
dragAnchors?: {
|
|
1023
1023
|
id: string;
|
|
1024
1024
|
position: number[];
|
|
@@ -1033,6 +1033,14 @@ 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;
|
|
1036
1044
|
restrictions?: z.objectOutputType<{
|
|
1037
1045
|
id: z.ZodString;
|
|
1038
1046
|
type: z.ZodString;
|
|
@@ -1047,17 +1055,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1047
1055
|
angle: number;
|
|
1048
1056
|
}>>;
|
|
1049
1057
|
}, 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
|
-
restrictions: string[];
|
|
1060
1059
|
nameFilter: string;
|
|
1060
|
+
restrictions: string[];
|
|
1061
1061
|
dragAnchors?: {
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
position: number[];
|
|
@@ -1072,6 +1072,14 @@ 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;
|
|
1075
1083
|
restrictions?: z.objectInputType<{
|
|
1076
1084
|
id: z.ZodString;
|
|
1077
1085
|
type: z.ZodString;
|
|
@@ -1086,17 +1094,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1086
1094
|
angle: number;
|
|
1087
1095
|
}>>;
|
|
1088
1096
|
}, 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
|
-
restrictions: string[];
|
|
1099
1098
|
nameFilter: string;
|
|
1099
|
+
restrictions: string[];
|
|
1100
1100
|
dragAnchors?: {
|
|
1101
1101
|
id: string;
|
|
1102
1102
|
position: number[];
|
|
@@ -1112,30 +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;
|
|
1120
1115
|
maximumSelection?: number | undefined;
|
|
1121
1116
|
minimumSelection?: number | undefined;
|
|
1122
1117
|
nameFilter?: string[] | undefined;
|
|
1123
1118
|
selectionColor?: string | undefined;
|
|
1124
1119
|
hover?: boolean | undefined;
|
|
1125
1120
|
hoverColor?: string | undefined;
|
|
1126
|
-
};
|
|
1127
|
-
} | {
|
|
1128
|
-
type: "gumball";
|
|
1129
|
-
props: {
|
|
1130
1121
|
prompt?: {
|
|
1131
1122
|
inactiveTitle?: string | undefined;
|
|
1132
1123
|
activeTitle?: string | undefined;
|
|
1133
1124
|
activeText?: string | undefined;
|
|
1134
1125
|
} | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
} | {
|
|
1128
|
+
type: "gumball";
|
|
1129
|
+
props: {
|
|
1135
1130
|
nameFilter?: string[] | undefined;
|
|
1136
1131
|
selectionColor?: string | undefined;
|
|
1137
1132
|
hover?: boolean | undefined;
|
|
1138
1133
|
hoverColor?: string | undefined;
|
|
1134
|
+
prompt?: {
|
|
1135
|
+
inactiveTitle?: string | undefined;
|
|
1136
|
+
activeTitle?: string | undefined;
|
|
1137
|
+
activeText?: string | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
1139
|
enableRotation?: boolean | undefined;
|
|
1140
1140
|
enableRotationAxes?: {
|
|
1141
1141
|
x?: boolean | undefined;
|
|
@@ -1160,6 +1160,14 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
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;
|
|
1163
1171
|
restrictions?: z.objectInputType<{
|
|
1164
1172
|
id: z.ZodString;
|
|
1165
1173
|
type: z.ZodString;
|
|
@@ -1174,17 +1182,9 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1174
1182
|
angle: number;
|
|
1175
1183
|
}>>;
|
|
1176
1184
|
}, 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
|
-
restrictions: string[];
|
|
1187
1186
|
nameFilter: string;
|
|
1187
|
+
restrictions: string[];
|
|
1188
1188
|
dragAnchors?: {
|
|
1189
1189
|
id: string;
|
|
1190
1190
|
position: number[];
|
|
@@ -1199,30 +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;
|
|
1207
1202
|
maximumSelection?: number | undefined;
|
|
1208
1203
|
minimumSelection?: number | undefined;
|
|
1209
1204
|
nameFilter?: string[] | undefined;
|
|
1210
1205
|
selectionColor?: string | undefined;
|
|
1211
1206
|
hover?: boolean | undefined;
|
|
1212
1207
|
hoverColor?: string | undefined;
|
|
1213
|
-
};
|
|
1214
|
-
} | {
|
|
1215
|
-
type: "gumball";
|
|
1216
|
-
props: {
|
|
1217
1208
|
prompt?: {
|
|
1218
1209
|
inactiveTitle?: string | undefined;
|
|
1219
1210
|
activeTitle?: string | undefined;
|
|
1220
1211
|
activeText?: string | undefined;
|
|
1221
1212
|
} | undefined;
|
|
1213
|
+
};
|
|
1214
|
+
} | {
|
|
1215
|
+
type: "gumball";
|
|
1216
|
+
props: {
|
|
1222
1217
|
nameFilter?: string[] | undefined;
|
|
1223
1218
|
selectionColor?: string | undefined;
|
|
1224
1219
|
hover?: boolean | undefined;
|
|
1225
1220
|
hoverColor?: string | undefined;
|
|
1221
|
+
prompt?: {
|
|
1222
|
+
inactiveTitle?: string | undefined;
|
|
1223
|
+
activeTitle?: string | undefined;
|
|
1224
|
+
activeText?: string | undefined;
|
|
1225
|
+
} | undefined;
|
|
1226
1226
|
enableRotation?: boolean | undefined;
|
|
1227
1227
|
enableRotationAxes?: {
|
|
1228
1228
|
x?: boolean | undefined;
|
|
@@ -1247,6 +1247,14 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
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;
|
|
1250
1258
|
restrictions?: z.objectOutputType<{
|
|
1251
1259
|
id: z.ZodString;
|
|
1252
1260
|
type: z.ZodString;
|
|
@@ -1261,17 +1269,9 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1261
1269
|
angle: number;
|
|
1262
1270
|
}>>;
|
|
1263
1271
|
}, 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
|
-
restrictions: string[];
|
|
1274
1273
|
nameFilter: string;
|
|
1274
|
+
restrictions: string[];
|
|
1275
1275
|
dragAnchors?: {
|
|
1276
1276
|
id: string;
|
|
1277
1277
|
position: number[];
|
|
@@ -1287,46 +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;
|
|
1295
1290
|
maximumSelection?: number | undefined;
|
|
1296
1291
|
minimumSelection?: number | undefined;
|
|
1297
1292
|
nameFilter?: string[] | undefined;
|
|
1298
1293
|
selectionColor?: string | undefined;
|
|
1299
1294
|
hover?: boolean | undefined;
|
|
1300
1295
|
hoverColor?: string | undefined;
|
|
1301
|
-
};
|
|
1302
|
-
}, {
|
|
1303
|
-
type: "selection";
|
|
1304
|
-
props: {
|
|
1305
1296
|
prompt?: {
|
|
1306
1297
|
inactiveTitle?: string | undefined;
|
|
1307
1298
|
activeTitle?: string | undefined;
|
|
1308
1299
|
activeText?: string | undefined;
|
|
1309
1300
|
} | undefined;
|
|
1301
|
+
};
|
|
1302
|
+
}, {
|
|
1303
|
+
type: "selection";
|
|
1304
|
+
props: {
|
|
1310
1305
|
maximumSelection?: number | undefined;
|
|
1311
1306
|
minimumSelection?: number | undefined;
|
|
1312
1307
|
nameFilter?: string[] | undefined;
|
|
1313
1308
|
selectionColor?: string | undefined;
|
|
1314
1309
|
hover?: boolean | undefined;
|
|
1315
1310
|
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
|
+
nameFilter?: string[] | undefined;
|
|
1322
|
+
selectionColor?: string | undefined;
|
|
1323
|
+
hover?: boolean | undefined;
|
|
1324
|
+
hoverColor?: string | undefined;
|
|
1321
1325
|
prompt?: {
|
|
1322
1326
|
inactiveTitle?: string | undefined;
|
|
1323
1327
|
activeTitle?: string | undefined;
|
|
1324
1328
|
activeText?: string | undefined;
|
|
1325
1329
|
} | undefined;
|
|
1326
|
-
nameFilter?: string[] | undefined;
|
|
1327
|
-
selectionColor?: string | undefined;
|
|
1328
|
-
hover?: boolean | undefined;
|
|
1329
|
-
hoverColor?: string | undefined;
|
|
1330
1330
|
enableRotation?: boolean | undefined;
|
|
1331
1331
|
enableRotationAxes?: {
|
|
1332
1332
|
x?: boolean | undefined;
|
|
@@ -1351,15 +1351,15 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1351
1351
|
}, {
|
|
1352
1352
|
type: "gumball";
|
|
1353
1353
|
props: {
|
|
1354
|
+
nameFilter?: string[] | undefined;
|
|
1355
|
+
selectionColor?: string | undefined;
|
|
1356
|
+
hover?: boolean | undefined;
|
|
1357
|
+
hoverColor?: string | undefined;
|
|
1354
1358
|
prompt?: {
|
|
1355
1359
|
inactiveTitle?: string | undefined;
|
|
1356
1360
|
activeTitle?: string | undefined;
|
|
1357
1361
|
activeText?: string | undefined;
|
|
1358
1362
|
} | undefined;
|
|
1359
|
-
nameFilter?: string[] | undefined;
|
|
1360
|
-
selectionColor?: string | undefined;
|
|
1361
|
-
hover?: boolean | undefined;
|
|
1362
|
-
hoverColor?: string | undefined;
|
|
1363
1363
|
enableRotation?: boolean | undefined;
|
|
1364
1364
|
enableRotationAxes?: {
|
|
1365
1365
|
x?: boolean | undefined;
|
|
@@ -1385,6 +1385,14 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
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;
|
|
1388
1396
|
restrictions?: z.objectInputType<{
|
|
1389
1397
|
id: z.ZodString;
|
|
1390
1398
|
type: z.ZodString;
|
|
@@ -1399,17 +1407,9 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1399
1407
|
angle: number;
|
|
1400
1408
|
}>>;
|
|
1401
1409
|
}, 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
|
-
restrictions: string[];
|
|
1412
1411
|
nameFilter: string;
|
|
1412
|
+
restrictions: string[];
|
|
1413
1413
|
dragAnchors?: {
|
|
1414
1414
|
id: string;
|
|
1415
1415
|
position: number[];
|
|
@@ -1424,6 +1424,14 @@ 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;
|
|
1427
1435
|
restrictions?: z.objectOutputType<{
|
|
1428
1436
|
id: z.ZodString;
|
|
1429
1437
|
type: z.ZodString;
|
|
@@ -1438,17 +1446,9 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1438
1446
|
angle: number;
|
|
1439
1447
|
}>>;
|
|
1440
1448
|
}, 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
|
-
restrictions: string[];
|
|
1451
1450
|
nameFilter: string;
|
|
1451
|
+
restrictions: string[];
|
|
1452
1452
|
dragAnchors?: {
|
|
1453
1453
|
id: string;
|
|
1454
1454
|
position: number[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/viewer.shared.types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.1",
|
|
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.
|
|
44
|
-
"@shapediver/viewer.shared.node-tree": "3.
|
|
45
|
-
"@shapediver/viewer.shared.services": "3.
|
|
43
|
+
"@shapediver/viewer.shared.math": "3.11.1",
|
|
44
|
+
"@shapediver/viewer.shared.node-tree": "3.11.1",
|
|
45
|
+
"@shapediver/viewer.shared.services": "3.11.1",
|
|
46
46
|
"gl-matrix": "3.3.0",
|
|
47
47
|
"zod": "^3.23.8"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8c6413861b13ac95e6f413cd9a93b3c9170f91f6"
|
|
50
50
|
}
|