@shapediver/viewer.shared.types 3.9.9 → 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.
- package/dist/implementation/sdtf/SDTFOverviewData.d.ts.map +1 -1
- package/dist/implementation/sdtf/SDTFOverviewData.js +7 -1
- package/dist/implementation/sdtf/SDTFOverviewData.js.map +1 -1
- package/dist/interfaces/data/IAnimationData.d.ts +1 -1
- package/dist/interfaces/data/IAnimationData.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts +4 -4
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts +225 -225
- package/dist/interfaces/sdtf/ISDTFOverviewData.d.ts +1 -0
- package/dist/interfaces/sdtf/ISDTFOverviewData.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -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;
|
|
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,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,QAAuB,EAAE,EAAW,EAAE,OAAgB;QACjE,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QATpB,yBAAyB;QAEzB,qCAA2B,EAAE,EAAC;QAQ7B,uBAAA,IAAI,8BAAa,QAAQ,MAAA,CAAC;IAC3B,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,kCAAU,CAAC;IACvB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,gBAAgB,CAAC,uBAAA,IAAI,kCAAU,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAEM,KAAK,CAAC,IAAuB;;QACnC,KAAK,IAAI,WAAW,IAAI,IAAI,CAAC,QAAQ,EAAE;YAC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, ITreeNodeData } from "@shapediver/viewer.shared.node-tree";
|
|
2
2
|
import { vec3 } from "gl-matrix";
|
|
3
3
|
export interface IAnimationTrack {
|
|
4
|
-
interpolation: "linear" | "step";
|
|
4
|
+
interpolation: "linear" | "step" | string | ((amount: number) => number);
|
|
5
5
|
node: ITreeNode;
|
|
6
6
|
path: "scale" | "translation" | "rotation";
|
|
7
7
|
previousMatrix?: ITransformation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnimationData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/data/IAnimationData.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,SAAS,EACT,aAAa,EACb,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,eAAe;IAG/B,aAAa,EAAE,QAAQ,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IAnimationData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/data/IAnimationData.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,SAAS,EACT,aAAa,EACb,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,eAAe;IAG/B,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;IACzE,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,CAAC;IAC3C,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,EACF,YAAY,GACZ,UAAU,GACV,WAAW,GACX,SAAS,GACT,UAAU,GACV,WAAW,GACX,MAAM,EAAE,CAAC;IACZ,MAAM,EACH,YAAY,GACZ,UAAU,GACV,WAAW,GACX,SAAS,GACT,UAAU,GACV,WAAW,GACX,MAAM,EAAE,CAAC;CAGZ;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa;IAGpD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,eAAe,EAAE,CAAC;IAM1B,KAAK,IAAI,cAAc,CAAC;IACxB,iBAAiB,IAAI,IAAI,CAAC;IAC1B,cAAc,IAAI,IAAI,CAAC;IACvB,cAAc,IAAI,IAAI,CAAC;IACvB,aAAa,IAAI,IAAI,CAAC;CAGtB"}
|
|
@@ -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;
|
|
@@ -31,12 +31,12 @@ export interface IInteractionParameterSettings {
|
|
|
31
31
|
}
|
|
32
32
|
export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"selection">;
|
|
34
|
-
props: z.ZodObject<
|
|
34
|
+
props: z.ZodObject<{
|
|
35
35
|
maximumSelection: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
minimumSelection: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
38
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
42
42
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -52,65 +52,65 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
52
52
|
activeTitle?: string | undefined;
|
|
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<{
|
|
112
112
|
type: z.ZodLiteral<"gumball">;
|
|
113
|
-
props: z.ZodObject<
|
|
113
|
+
props: z.ZodObject<{
|
|
114
114
|
enableRotation: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
116
116
|
x: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -157,7 +157,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
157
157
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>;
|
|
159
159
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
160
|
-
}
|
|
160
|
+
} & {
|
|
161
161
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
162
162
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
163
163
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -173,16 +173,16 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
173
173
|
activeTitle?: string | undefined;
|
|
174
174
|
activeText?: string | undefined;
|
|
175
175
|
}>>;
|
|
176
|
-
}
|
|
177
|
-
nameFilter?: string[] | undefined;
|
|
178
|
-
selectionColor?: string | undefined;
|
|
179
|
-
hover?: boolean | undefined;
|
|
180
|
-
hoverColor?: string | undefined;
|
|
176
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
177
|
prompt?: {
|
|
182
178
|
inactiveTitle?: string | undefined;
|
|
183
179
|
activeTitle?: string | undefined;
|
|
184
180
|
activeText?: string | undefined;
|
|
185
181
|
} | 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;
|
|
211
207
|
prompt?: {
|
|
212
208
|
inactiveTitle?: string | undefined;
|
|
213
209
|
activeTitle?: string | undefined;
|
|
214
210
|
activeText?: string | undefined;
|
|
215
211
|
} | 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;
|
|
244
240
|
prompt?: {
|
|
245
241
|
inactiveTitle?: string | undefined;
|
|
246
242
|
activeTitle?: string | undefined;
|
|
247
243
|
activeText?: string | undefined;
|
|
248
244
|
} | 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;
|
|
277
273
|
prompt?: {
|
|
278
274
|
inactiveTitle?: string | undefined;
|
|
279
275
|
activeTitle?: string | undefined;
|
|
280
276
|
activeText?: string | undefined;
|
|
281
277
|
} | 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;
|
|
@@ -303,7 +303,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
303
303
|
}>;
|
|
304
304
|
export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
305
305
|
type: z.ZodLiteral<"dragging">;
|
|
306
|
-
props: z.ZodObject<
|
|
306
|
+
props: z.ZodObject<{
|
|
307
307
|
draggingColor: z.ZodOptional<z.ZodString>;
|
|
308
308
|
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
309
309
|
nameFilter: z.ZodString;
|
|
@@ -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[];
|
|
@@ -402,7 +402,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
402
402
|
angle: number;
|
|
403
403
|
}>>;
|
|
404
404
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
405
|
-
}
|
|
405
|
+
} & {
|
|
406
406
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
407
407
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
408
408
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -418,15 +418,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
418
418
|
activeTitle?: string | undefined;
|
|
419
419
|
activeText?: string | undefined;
|
|
420
420
|
}>>;
|
|
421
|
-
}
|
|
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;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
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[];
|
|
@@ -572,12 +572,12 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
572
572
|
}>;
|
|
573
573
|
export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
574
574
|
type: z.ZodLiteral<"selection">;
|
|
575
|
-
props: z.ZodObject<
|
|
575
|
+
props: z.ZodObject<{
|
|
576
576
|
maximumSelection: z.ZodOptional<z.ZodNumber>;
|
|
577
577
|
minimumSelection: z.ZodOptional<z.ZodNumber>;
|
|
578
578
|
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
579
579
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
580
|
-
}
|
|
580
|
+
} & {
|
|
581
581
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
582
582
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
583
583
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -593,64 +593,64 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
593
593
|
activeTitle?: string | undefined;
|
|
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">;
|
|
653
|
-
props: z.ZodObject<
|
|
653
|
+
props: z.ZodObject<{
|
|
654
654
|
enableRotation: z.ZodOptional<z.ZodBoolean>;
|
|
655
655
|
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
656
656
|
x: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -697,7 +697,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
697
697
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
698
698
|
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>;
|
|
699
699
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
700
|
-
}
|
|
700
|
+
} & {
|
|
701
701
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
702
702
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
703
703
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -713,16 +713,16 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
713
713
|
activeTitle?: string | undefined;
|
|
714
714
|
activeText?: string | undefined;
|
|
715
715
|
}>>;
|
|
716
|
-
}
|
|
717
|
-
nameFilter?: string[] | undefined;
|
|
718
|
-
selectionColor?: string | undefined;
|
|
719
|
-
hover?: boolean | undefined;
|
|
720
|
-
hoverColor?: string | undefined;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
721
717
|
prompt?: {
|
|
722
718
|
inactiveTitle?: string | undefined;
|
|
723
719
|
activeTitle?: string | undefined;
|
|
724
720
|
activeText?: string | undefined;
|
|
725
721
|
} | 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;
|
|
751
747
|
prompt?: {
|
|
752
748
|
inactiveTitle?: string | undefined;
|
|
753
749
|
activeTitle?: string | undefined;
|
|
754
750
|
activeText?: string | undefined;
|
|
755
751
|
} | 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;
|
|
784
780
|
prompt?: {
|
|
785
781
|
inactiveTitle?: string | undefined;
|
|
786
782
|
activeTitle?: string | undefined;
|
|
787
783
|
activeText?: string | undefined;
|
|
788
784
|
} | 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;
|
|
817
813
|
prompt?: {
|
|
818
814
|
inactiveTitle?: string | undefined;
|
|
819
815
|
activeTitle?: string | undefined;
|
|
820
816
|
activeText?: string | undefined;
|
|
821
817
|
} | 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;
|
|
@@ -842,7 +842,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
842
842
|
};
|
|
843
843
|
}>]>, z.ZodObject<{
|
|
844
844
|
type: z.ZodLiteral<"dragging">;
|
|
845
|
-
props: z.ZodObject<
|
|
845
|
+
props: z.ZodObject<{
|
|
846
846
|
draggingColor: z.ZodOptional<z.ZodString>;
|
|
847
847
|
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
848
848
|
nameFilter: z.ZodString;
|
|
@@ -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[];
|
|
@@ -941,7 +941,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
941
941
|
angle: number;
|
|
942
942
|
}>>;
|
|
943
943
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
944
|
-
}
|
|
944
|
+
} & {
|
|
945
945
|
hover: z.ZodOptional<z.ZodBoolean>;
|
|
946
946
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
947
947
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -957,15 +957,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
957
957
|
activeTitle?: string | undefined;
|
|
958
958
|
activeText?: string | undefined;
|
|
959
959
|
}>>;
|
|
960
|
-
}
|
|
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;
|
|
960
|
+
}, "strip", z.ZodTypeAny, {
|
|
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,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;
|
|
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
|
-
nameFilter?: string[] | undefined;
|
|
1131
|
-
selectionColor?: string | undefined;
|
|
1132
|
-
hover?: boolean | undefined;
|
|
1133
|
-
hoverColor?: string | undefined;
|
|
1134
1130
|
prompt?: {
|
|
1135
1131
|
inactiveTitle?: string | undefined;
|
|
1136
1132
|
activeTitle?: string | undefined;
|
|
1137
1133
|
activeText?: string | undefined;
|
|
1138
1134
|
} | undefined;
|
|
1135
|
+
nameFilter?: string[] | undefined;
|
|
1136
|
+
selectionColor?: string | undefined;
|
|
1137
|
+
hover?: boolean | undefined;
|
|
1138
|
+
hoverColor?: string | undefined;
|
|
1139
1139
|
enableRotation?: boolean | undefined;
|
|
1140
1140
|
enableRotationAxes?: {
|
|
1141
1141
|
x?: boolean | undefined;
|
|
@@ -1160,14 +1160,6 @@ 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;
|
|
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,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;
|
|
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
|
-
nameFilter?: string[] | undefined;
|
|
1218
|
-
selectionColor?: string | undefined;
|
|
1219
|
-
hover?: boolean | undefined;
|
|
1220
|
-
hoverColor?: string | undefined;
|
|
1221
1217
|
prompt?: {
|
|
1222
1218
|
inactiveTitle?: string | undefined;
|
|
1223
1219
|
activeTitle?: string | undefined;
|
|
1224
1220
|
activeText?: string | undefined;
|
|
1225
1221
|
} | undefined;
|
|
1222
|
+
nameFilter?: string[] | undefined;
|
|
1223
|
+
selectionColor?: string | undefined;
|
|
1224
|
+
hover?: boolean | undefined;
|
|
1225
|
+
hoverColor?: string | undefined;
|
|
1226
1226
|
enableRotation?: boolean | undefined;
|
|
1227
1227
|
enableRotationAxes?: {
|
|
1228
1228
|
x?: boolean | undefined;
|
|
@@ -1247,14 +1247,6 @@ 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;
|
|
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,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;
|
|
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
|
-
nameFilter?: string[] | undefined;
|
|
1322
|
-
selectionColor?: string | undefined;
|
|
1323
|
-
hover?: boolean | undefined;
|
|
1324
|
-
hoverColor?: string | undefined;
|
|
1325
1321
|
prompt?: {
|
|
1326
1322
|
inactiveTitle?: string | undefined;
|
|
1327
1323
|
activeTitle?: string | undefined;
|
|
1328
1324
|
activeText?: string | undefined;
|
|
1329
1325
|
} | 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;
|
|
1358
1354
|
prompt?: {
|
|
1359
1355
|
inactiveTitle?: string | undefined;
|
|
1360
1356
|
activeTitle?: string | undefined;
|
|
1361
1357
|
activeText?: string | undefined;
|
|
1362
1358
|
} | 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,14 +1385,6 @@ 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;
|
|
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[];
|
|
@@ -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.
|
|
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.
|
|
44
|
-
"@shapediver/viewer.shared.node-tree": "3.
|
|
45
|
-
"@shapediver/viewer.shared.services": "3.
|
|
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": "
|
|
49
|
+
"gitHead": "b0e185f7bc0ee8c5526e1da640078a448b6d6f56"
|
|
50
50
|
}
|