@pixi-ui-editor/schema 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2444 -234
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +226 -29
- package/dist/index.js.map +1 -1
- package/dist/index.test-fixtures.d.ts +5 -0
- package/dist/index.test-fixtures.d.ts.map +1 -1
- package/dist/index.test-fixtures.js +26 -1
- package/dist/index.test-fixtures.js.map +1 -1
- package/dist/index.test.js +104 -5
- package/dist/index.test.js.map +1 -1
- package/dist/localization.d.ts +201 -0
- package/dist/localization.d.ts.map +1 -0
- package/dist/localization.js +368 -0
- package/dist/localization.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Static } from "@sinclair/typebox";
|
|
2
|
-
|
|
2
|
+
import { type MaterializedPrefabNodeOrigin } from "./prefabs.js";
|
|
3
|
+
export declare const CURRENT_SCHEMA_VERSION: 22;
|
|
3
4
|
export declare const LayoutProfileIdSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"desktop">, import("@sinclair/typebox").TLiteral<"mobile">]>;
|
|
4
5
|
export type LayoutProfileId = Static<typeof LayoutProfileIdSchema>;
|
|
5
6
|
declare const Alignment: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"upper-left">, import("@sinclair/typebox").TLiteral<"upper-center">, import("@sinclair/typebox").TLiteral<"upper-right">, import("@sinclair/typebox").TLiteral<"middle-left">, import("@sinclair/typebox").TLiteral<"middle-center">, import("@sinclair/typebox").TLiteral<"middle-right">, import("@sinclair/typebox").TLiteral<"lower-left">, import("@sinclair/typebox").TLiteral<"lower-center">, import("@sinclair/typebox").TLiteral<"lower-right">]>;
|
|
@@ -84,6 +85,8 @@ export type PrefabNodeOverride = Static<typeof PrefabNodeOverrideSchema>;
|
|
|
84
85
|
/** Состояния кнопки. `normal` обязателен; остальные при отсутствии используют его изображение. */
|
|
85
86
|
export declare const BUTTON_STATE_KEYS: readonly ["normal", "hover", "pressed", "disabled"];
|
|
86
87
|
export type ButtonStateKey = (typeof BUTTON_STATE_KEYS)[number];
|
|
88
|
+
export declare const CHECKBOX_STATE_KEYS: readonly ["unchecked", "checked", "uncheckedHover", "checkedHover"];
|
|
89
|
+
export type CheckboxStateKey = (typeof CHECKBOX_STATE_KEYS)[number];
|
|
87
90
|
declare const ScrollViewDirection: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
88
91
|
export type ScrollViewDirection = Static<typeof ScrollViewDirection>;
|
|
89
92
|
declare const ScrollViewSettings: import("@sinclair/typebox").TObject<{
|
|
@@ -256,7 +259,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
256
259
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
257
260
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
258
261
|
}>>;
|
|
259
|
-
|
|
262
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
260
263
|
type: import("@sinclair/typebox").TLiteral<"container">;
|
|
261
264
|
}>, import("@sinclair/typebox").TObject<{
|
|
262
265
|
id: import("@sinclair/typebox").TString;
|
|
@@ -325,7 +328,76 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
325
328
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
326
329
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
327
330
|
}>>;
|
|
328
|
-
|
|
331
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
332
|
+
type: import("@sinclair/typebox").TLiteral<"mask">;
|
|
333
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
334
|
+
id: import("@sinclair/typebox").TString;
|
|
335
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
336
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
337
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
338
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
339
|
+
name: import("@sinclair/typebox").TString;
|
|
340
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
341
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
342
|
+
x: import("@sinclair/typebox").TNumber;
|
|
343
|
+
y: import("@sinclair/typebox").TNumber;
|
|
344
|
+
width: import("@sinclair/typebox").TNumber;
|
|
345
|
+
height: import("@sinclair/typebox").TNumber;
|
|
346
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
347
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
348
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
349
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
350
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
351
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
352
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
353
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
354
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
355
|
+
}>;
|
|
356
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
357
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
358
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
359
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
360
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
361
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
362
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
363
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
364
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
365
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
366
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
367
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
368
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
369
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
370
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
371
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
372
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
373
|
+
}>>;
|
|
374
|
+
}>>;
|
|
375
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
376
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
377
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
378
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
379
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
380
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
381
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
382
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
383
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
384
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
385
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
386
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
387
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
388
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
389
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
390
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
391
|
+
}>>;
|
|
392
|
+
}>>;
|
|
393
|
+
}>>;
|
|
394
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
395
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
396
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
397
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
398
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
399
|
+
}>>;
|
|
400
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
329
401
|
type: import("@sinclair/typebox").TLiteral<"horizontal-layout">;
|
|
330
402
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
331
403
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -444,7 +516,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
444
516
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
445
517
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
446
518
|
}>>;
|
|
447
|
-
|
|
519
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
448
520
|
type: import("@sinclair/typebox").TLiteral<"vertical-layout">;
|
|
449
521
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
450
522
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -563,7 +635,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
563
635
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
564
636
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
565
637
|
}>>;
|
|
566
|
-
|
|
638
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
567
639
|
type: import("@sinclair/typebox").TLiteral<"grid-layout">;
|
|
568
640
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
569
641
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -688,10 +760,16 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
688
760
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
689
761
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
690
762
|
}>>;
|
|
691
|
-
|
|
763
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
692
764
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
693
|
-
assetId: import("@sinclair/typebox").TString
|
|
765
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
694
766
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
767
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
768
|
+
left: import("@sinclair/typebox").TNumber;
|
|
769
|
+
right: import("@sinclair/typebox").TNumber;
|
|
770
|
+
top: import("@sinclair/typebox").TNumber;
|
|
771
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
772
|
+
}>>;
|
|
695
773
|
}>, import("@sinclair/typebox").TObject<{
|
|
696
774
|
id: import("@sinclair/typebox").TString;
|
|
697
775
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -759,9 +837,10 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
759
837
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
760
838
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
761
839
|
}>>;
|
|
762
|
-
|
|
840
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
763
841
|
type: import("@sinclair/typebox").TLiteral<"text">;
|
|
764
842
|
text: import("@sinclair/typebox").TString;
|
|
843
|
+
textKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
765
844
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
766
845
|
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
767
846
|
fontFamily: import("@sinclair/typebox").TString;
|
|
@@ -780,6 +859,44 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
780
859
|
width: import("@sinclair/typebox").TNumber;
|
|
781
860
|
}>>;
|
|
782
861
|
}>>;
|
|
862
|
+
textStyleOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
863
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
864
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
865
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
866
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
867
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
868
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
869
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
870
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
871
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
872
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
873
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
874
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
875
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
876
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
877
|
+
color: import("@sinclair/typebox").TString;
|
|
878
|
+
width: import("@sinclair/typebox").TNumber;
|
|
879
|
+
}>>;
|
|
880
|
+
}>>;
|
|
881
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
882
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
883
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
884
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
885
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
886
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
887
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
888
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
889
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
890
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
891
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
892
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
893
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
894
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
895
|
+
color: import("@sinclair/typebox").TString;
|
|
896
|
+
width: import("@sinclair/typebox").TNumber;
|
|
897
|
+
}>>;
|
|
898
|
+
}>>;
|
|
899
|
+
}>>;
|
|
783
900
|
}>, import("@sinclair/typebox").TObject<{
|
|
784
901
|
id: import("@sinclair/typebox").TString;
|
|
785
902
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -847,13 +964,27 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
847
964
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
848
965
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
849
966
|
}>>;
|
|
850
|
-
|
|
967
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
851
968
|
type: import("@sinclair/typebox").TLiteral<"spine">;
|
|
852
969
|
assetId: import("@sinclair/typebox").TString;
|
|
853
970
|
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
854
971
|
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
855
972
|
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
856
973
|
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
974
|
+
spineOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
975
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
976
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
977
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
978
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
979
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
980
|
+
}>>;
|
|
981
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
982
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
983
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
984
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
985
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
986
|
+
}>>;
|
|
987
|
+
}>>;
|
|
857
988
|
}>, import("@sinclair/typebox").TObject<{
|
|
858
989
|
id: import("@sinclair/typebox").TString;
|
|
859
990
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -921,8 +1052,14 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
921
1052
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
922
1053
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
923
1054
|
}>>;
|
|
924
|
-
|
|
1055
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
925
1056
|
type: import("@sinclair/typebox").TLiteral<"button">;
|
|
1057
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1058
|
+
left: import("@sinclair/typebox").TNumber;
|
|
1059
|
+
right: import("@sinclair/typebox").TNumber;
|
|
1060
|
+
top: import("@sinclair/typebox").TNumber;
|
|
1061
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
1062
|
+
}>>;
|
|
926
1063
|
states: import("@sinclair/typebox").TObject<{
|
|
927
1064
|
normalAssetId: import("@sinclair/typebox").TString;
|
|
928
1065
|
hoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -1015,7 +1152,89 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1015
1152
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1016
1153
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1017
1154
|
}>>;
|
|
1018
|
-
|
|
1155
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1156
|
+
type: import("@sinclair/typebox").TLiteral<"checkbox">;
|
|
1157
|
+
states: import("@sinclair/typebox").TObject<{
|
|
1158
|
+
uncheckedAssetId: import("@sinclair/typebox").TString;
|
|
1159
|
+
checkedAssetId: import("@sinclair/typebox").TString;
|
|
1160
|
+
uncheckedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1161
|
+
checkedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1162
|
+
}>;
|
|
1163
|
+
sounds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1164
|
+
checkAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1165
|
+
uncheckAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1166
|
+
}>>;
|
|
1167
|
+
enabled: import("@sinclair/typebox").TBoolean;
|
|
1168
|
+
defaultChecked: import("@sinclair/typebox").TBoolean;
|
|
1169
|
+
group: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1170
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1171
|
+
id: import("@sinclair/typebox").TString;
|
|
1172
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
1173
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1174
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1175
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1176
|
+
name: import("@sinclair/typebox").TString;
|
|
1177
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
1178
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
1179
|
+
x: import("@sinclair/typebox").TNumber;
|
|
1180
|
+
y: import("@sinclair/typebox").TNumber;
|
|
1181
|
+
width: import("@sinclair/typebox").TNumber;
|
|
1182
|
+
height: import("@sinclair/typebox").TNumber;
|
|
1183
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
1184
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
1185
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
1186
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1187
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1188
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1189
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1190
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1191
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1192
|
+
}>;
|
|
1193
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1194
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1195
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1196
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1197
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1198
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1199
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1200
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1201
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1202
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1203
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1204
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1205
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1206
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1207
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1208
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1209
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1210
|
+
}>>;
|
|
1211
|
+
}>>;
|
|
1212
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1213
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1214
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1215
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1216
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1217
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1218
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1219
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1220
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1221
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1222
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1223
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1224
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1225
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1226
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1227
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1228
|
+
}>>;
|
|
1229
|
+
}>>;
|
|
1230
|
+
}>>;
|
|
1231
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1232
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
1233
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
1234
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1235
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1236
|
+
}>>;
|
|
1237
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1019
1238
|
type: import("@sinclair/typebox").TLiteral<"prefab-instance">;
|
|
1020
1239
|
prefabId: import("@sinclair/typebox").TString;
|
|
1021
1240
|
propertyOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1095,7 +1314,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1095
1314
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1096
1315
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1097
1316
|
}>>;
|
|
1098
|
-
|
|
1317
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1099
1318
|
type: import("@sinclair/typebox").TLiteral<"scroll-view">;
|
|
1100
1319
|
scrollView: import("@sinclair/typebox").TObject<{
|
|
1101
1320
|
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
@@ -1178,7 +1397,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1178
1397
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1179
1398
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1180
1399
|
}>>;
|
|
1181
|
-
|
|
1400
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1182
1401
|
type: import("@sinclair/typebox").TLiteral<"input">;
|
|
1183
1402
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1184
1403
|
maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
@@ -1279,7 +1498,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1279
1498
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1280
1499
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1281
1500
|
}>>;
|
|
1282
|
-
|
|
1501
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1283
1502
|
type: import("@sinclair/typebox").TLiteral<"slider">;
|
|
1284
1503
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
1285
1504
|
defaultValue: import("@sinclair/typebox").TNumber;
|
|
@@ -1380,7 +1599,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1380
1599
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1381
1600
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1382
1601
|
}>>;
|
|
1383
|
-
|
|
1602
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1384
1603
|
type: import("@sinclair/typebox").TLiteral<"progress-bar">;
|
|
1385
1604
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
1386
1605
|
fillAssetId: import("@sinclair/typebox").TString;
|
|
@@ -1458,7 +1677,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1458
1677
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1459
1678
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1460
1679
|
}>>;
|
|
1461
|
-
|
|
1680
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1462
1681
|
type: import("@sinclair/typebox").TLiteral<"particle-emitter">;
|
|
1463
1682
|
autoplay: import("@sinclair/typebox").TBoolean;
|
|
1464
1683
|
effectId: import("@sinclair/typebox").TString;
|
|
@@ -1533,7 +1752,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1533
1752
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1534
1753
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1535
1754
|
}>>;
|
|
1536
|
-
|
|
1755
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1537
1756
|
type: import("@sinclair/typebox").TLiteral<"container">;
|
|
1538
1757
|
}>, import("@sinclair/typebox").TObject<{
|
|
1539
1758
|
id: import("@sinclair/typebox").TString;
|
|
@@ -1602,7 +1821,76 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1602
1821
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1603
1822
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1604
1823
|
}>>;
|
|
1605
|
-
|
|
1824
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1825
|
+
type: import("@sinclair/typebox").TLiteral<"mask">;
|
|
1826
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1827
|
+
id: import("@sinclair/typebox").TString;
|
|
1828
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
1829
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1830
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1831
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1832
|
+
name: import("@sinclair/typebox").TString;
|
|
1833
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
1834
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
1835
|
+
x: import("@sinclair/typebox").TNumber;
|
|
1836
|
+
y: import("@sinclair/typebox").TNumber;
|
|
1837
|
+
width: import("@sinclair/typebox").TNumber;
|
|
1838
|
+
height: import("@sinclair/typebox").TNumber;
|
|
1839
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
1840
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
1841
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
1842
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1843
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1844
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1845
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1846
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1847
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1848
|
+
}>;
|
|
1849
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1850
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1851
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1852
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1853
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1854
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1855
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1856
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1857
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1858
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1859
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1860
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1861
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1862
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1863
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1864
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1865
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1866
|
+
}>>;
|
|
1867
|
+
}>>;
|
|
1868
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1869
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1870
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1871
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1872
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1873
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1874
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1875
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1876
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1877
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1878
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1879
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1880
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1881
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1882
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1883
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1884
|
+
}>>;
|
|
1885
|
+
}>>;
|
|
1886
|
+
}>>;
|
|
1887
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1888
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
1889
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
1890
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1891
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1892
|
+
}>>;
|
|
1893
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1606
1894
|
type: import("@sinclair/typebox").TLiteral<"horizontal-layout">;
|
|
1607
1895
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1608
1896
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -1721,7 +2009,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1721
2009
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1722
2010
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1723
2011
|
}>>;
|
|
1724
|
-
|
|
2012
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1725
2013
|
type: import("@sinclair/typebox").TLiteral<"vertical-layout">;
|
|
1726
2014
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1727
2015
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -1840,7 +2128,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1840
2128
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1841
2129
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1842
2130
|
}>>;
|
|
1843
|
-
|
|
2131
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1844
2132
|
type: import("@sinclair/typebox").TLiteral<"grid-layout">;
|
|
1845
2133
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1846
2134
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -1965,10 +2253,16 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1965
2253
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1966
2254
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1967
2255
|
}>>;
|
|
1968
|
-
|
|
2256
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1969
2257
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
1970
|
-
assetId: import("@sinclair/typebox").TString
|
|
2258
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1971
2259
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2260
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2261
|
+
left: import("@sinclair/typebox").TNumber;
|
|
2262
|
+
right: import("@sinclair/typebox").TNumber;
|
|
2263
|
+
top: import("@sinclair/typebox").TNumber;
|
|
2264
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
2265
|
+
}>>;
|
|
1972
2266
|
}>, import("@sinclair/typebox").TObject<{
|
|
1973
2267
|
id: import("@sinclair/typebox").TString;
|
|
1974
2268
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2036,9 +2330,10 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2036
2330
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2037
2331
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2038
2332
|
}>>;
|
|
2039
|
-
|
|
2333
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2040
2334
|
type: import("@sinclair/typebox").TLiteral<"text">;
|
|
2041
2335
|
text: import("@sinclair/typebox").TString;
|
|
2336
|
+
textKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2042
2337
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2043
2338
|
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2044
2339
|
fontFamily: import("@sinclair/typebox").TString;
|
|
@@ -2057,6 +2352,44 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2057
2352
|
width: import("@sinclair/typebox").TNumber;
|
|
2058
2353
|
}>>;
|
|
2059
2354
|
}>>;
|
|
2355
|
+
textStyleOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2356
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2357
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2358
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2359
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2360
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
2361
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
2362
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2363
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
2364
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
2365
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2366
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2367
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2368
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2369
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2370
|
+
color: import("@sinclair/typebox").TString;
|
|
2371
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2372
|
+
}>>;
|
|
2373
|
+
}>>;
|
|
2374
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2375
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2376
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2377
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2378
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
2379
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
2380
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2381
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
2382
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
2383
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2384
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2385
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2386
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2387
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2388
|
+
color: import("@sinclair/typebox").TString;
|
|
2389
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2390
|
+
}>>;
|
|
2391
|
+
}>>;
|
|
2392
|
+
}>>;
|
|
2060
2393
|
}>, import("@sinclair/typebox").TObject<{
|
|
2061
2394
|
id: import("@sinclair/typebox").TString;
|
|
2062
2395
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2124,13 +2457,27 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2124
2457
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2125
2458
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2126
2459
|
}>>;
|
|
2127
|
-
|
|
2460
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2128
2461
|
type: import("@sinclair/typebox").TLiteral<"spine">;
|
|
2129
2462
|
assetId: import("@sinclair/typebox").TString;
|
|
2130
2463
|
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2131
2464
|
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2132
2465
|
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2133
2466
|
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2467
|
+
spineOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2468
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2469
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
2470
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2471
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2472
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2473
|
+
}>>;
|
|
2474
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2475
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
2476
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2477
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2478
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2479
|
+
}>>;
|
|
2480
|
+
}>>;
|
|
2134
2481
|
}>, import("@sinclair/typebox").TObject<{
|
|
2135
2482
|
id: import("@sinclair/typebox").TString;
|
|
2136
2483
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2198,8 +2545,14 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2198
2545
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2199
2546
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2200
2547
|
}>>;
|
|
2201
|
-
|
|
2548
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2202
2549
|
type: import("@sinclair/typebox").TLiteral<"button">;
|
|
2550
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2551
|
+
left: import("@sinclair/typebox").TNumber;
|
|
2552
|
+
right: import("@sinclair/typebox").TNumber;
|
|
2553
|
+
top: import("@sinclair/typebox").TNumber;
|
|
2554
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
2555
|
+
}>>;
|
|
2203
2556
|
states: import("@sinclair/typebox").TObject<{
|
|
2204
2557
|
normalAssetId: import("@sinclair/typebox").TString;
|
|
2205
2558
|
hoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -2292,7 +2645,89 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2292
2645
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2293
2646
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2294
2647
|
}>>;
|
|
2295
|
-
|
|
2648
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2649
|
+
type: import("@sinclair/typebox").TLiteral<"checkbox">;
|
|
2650
|
+
states: import("@sinclair/typebox").TObject<{
|
|
2651
|
+
uncheckedAssetId: import("@sinclair/typebox").TString;
|
|
2652
|
+
checkedAssetId: import("@sinclair/typebox").TString;
|
|
2653
|
+
uncheckedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2654
|
+
checkedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2655
|
+
}>;
|
|
2656
|
+
sounds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2657
|
+
checkAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2658
|
+
uncheckAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2659
|
+
}>>;
|
|
2660
|
+
enabled: import("@sinclair/typebox").TBoolean;
|
|
2661
|
+
defaultChecked: import("@sinclair/typebox").TBoolean;
|
|
2662
|
+
group: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2663
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
2664
|
+
id: import("@sinclair/typebox").TString;
|
|
2665
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
2666
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
2667
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2668
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2669
|
+
name: import("@sinclair/typebox").TString;
|
|
2670
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
2671
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
2672
|
+
x: import("@sinclair/typebox").TNumber;
|
|
2673
|
+
y: import("@sinclair/typebox").TNumber;
|
|
2674
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2675
|
+
height: import("@sinclair/typebox").TNumber;
|
|
2676
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
2677
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
2678
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
2679
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2680
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2681
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2682
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2683
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2684
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2685
|
+
}>;
|
|
2686
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2687
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2688
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2689
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2690
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2691
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2692
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2693
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2694
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2695
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2696
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2697
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2698
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2699
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2700
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2701
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2702
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2703
|
+
}>>;
|
|
2704
|
+
}>>;
|
|
2705
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2706
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2707
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2708
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2709
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2710
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2711
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2712
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2713
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2714
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2715
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2716
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2717
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2718
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2719
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2720
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2721
|
+
}>>;
|
|
2722
|
+
}>>;
|
|
2723
|
+
}>>;
|
|
2724
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2725
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
2726
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
2727
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2728
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2729
|
+
}>>;
|
|
2730
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2296
2731
|
type: import("@sinclair/typebox").TLiteral<"prefab-instance">;
|
|
2297
2732
|
prefabId: import("@sinclair/typebox").TString;
|
|
2298
2733
|
propertyOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -2372,7 +2807,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2372
2807
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2373
2808
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2374
2809
|
}>>;
|
|
2375
|
-
|
|
2810
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2376
2811
|
type: import("@sinclair/typebox").TLiteral<"scroll-view">;
|
|
2377
2812
|
scrollView: import("@sinclair/typebox").TObject<{
|
|
2378
2813
|
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
@@ -2455,7 +2890,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2455
2890
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2456
2891
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2457
2892
|
}>>;
|
|
2458
|
-
|
|
2893
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2459
2894
|
type: import("@sinclair/typebox").TLiteral<"input">;
|
|
2460
2895
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2461
2896
|
maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
@@ -2556,7 +2991,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2556
2991
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2557
2992
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2558
2993
|
}>>;
|
|
2559
|
-
|
|
2994
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2560
2995
|
type: import("@sinclair/typebox").TLiteral<"slider">;
|
|
2561
2996
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
2562
2997
|
defaultValue: import("@sinclair/typebox").TNumber;
|
|
@@ -2657,7 +3092,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2657
3092
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2658
3093
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2659
3094
|
}>>;
|
|
2660
|
-
|
|
3095
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2661
3096
|
type: import("@sinclair/typebox").TLiteral<"progress-bar">;
|
|
2662
3097
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
2663
3098
|
fillAssetId: import("@sinclair/typebox").TString;
|
|
@@ -2735,7 +3170,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2735
3170
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2736
3171
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2737
3172
|
}>>;
|
|
2738
|
-
|
|
3173
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2739
3174
|
type: import("@sinclair/typebox").TLiteral<"particle-emitter">;
|
|
2740
3175
|
autoplay: import("@sinclair/typebox").TBoolean;
|
|
2741
3176
|
effectId: import("@sinclair/typebox").TString;
|
|
@@ -2753,9 +3188,19 @@ export type ScrollViewNode = Extract<UINode, {
|
|
|
2753
3188
|
export declare function isScrollView(node: UINode): node is ScrollViewNode;
|
|
2754
3189
|
/** A direct child of this node does not own its own position: a layout group's Yoga solver or a scroll-view's `@pixi/ui` List does. */
|
|
2755
3190
|
export declare function isPositionManagingContainer(node: UINode): boolean;
|
|
3191
|
+
export type TextNode = Extract<UINode, {
|
|
3192
|
+
type: "text";
|
|
3193
|
+
}>;
|
|
3194
|
+
export declare function isTextNode(node: UINode): node is TextNode;
|
|
3195
|
+
export type ImageNode = Extract<UINode, {
|
|
3196
|
+
type: "image";
|
|
3197
|
+
}>;
|
|
2756
3198
|
export type InputNode = Extract<UINode, {
|
|
2757
3199
|
type: "input";
|
|
2758
3200
|
}>;
|
|
3201
|
+
export type CheckboxNode = Extract<UINode, {
|
|
3202
|
+
type: "checkbox";
|
|
3203
|
+
}>;
|
|
2759
3204
|
export type SliderNode = Extract<UINode, {
|
|
2760
3205
|
type: "slider";
|
|
2761
3206
|
}>;
|
|
@@ -2817,7 +3262,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
2817
3262
|
flexGrow: number;
|
|
2818
3263
|
flexShrink: number;
|
|
2819
3264
|
} | undefined;
|
|
2820
|
-
|
|
3265
|
+
bindingKey?: string | undefined;
|
|
2821
3266
|
id: string;
|
|
2822
3267
|
type: "container";
|
|
2823
3268
|
parentId: string | null;
|
|
@@ -2886,7 +3331,76 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
2886
3331
|
flexGrow: number;
|
|
2887
3332
|
flexShrink: number;
|
|
2888
3333
|
} | undefined;
|
|
2889
|
-
|
|
3334
|
+
bindingKey?: string | undefined;
|
|
3335
|
+
id: string;
|
|
3336
|
+
type: "mask";
|
|
3337
|
+
parentId: string | null;
|
|
3338
|
+
children: string[];
|
|
3339
|
+
name: string;
|
|
3340
|
+
visible: boolean;
|
|
3341
|
+
transform: {
|
|
3342
|
+
pivotX?: number | undefined;
|
|
3343
|
+
pivotY?: number | undefined;
|
|
3344
|
+
anchorMinX?: number | undefined;
|
|
3345
|
+
anchorMinY?: number | undefined;
|
|
3346
|
+
anchorMaxX?: number | undefined;
|
|
3347
|
+
anchorMaxY?: number | undefined;
|
|
3348
|
+
x: number;
|
|
3349
|
+
y: number;
|
|
3350
|
+
width: number;
|
|
3351
|
+
height: number;
|
|
3352
|
+
scaleX: number;
|
|
3353
|
+
scaleY: number;
|
|
3354
|
+
rotation: number;
|
|
3355
|
+
};
|
|
3356
|
+
} | {
|
|
3357
|
+
editorOnly?: boolean | undefined;
|
|
3358
|
+
locked?: boolean | undefined;
|
|
3359
|
+
layoutOverrides?: {
|
|
3360
|
+
desktop?: {
|
|
3361
|
+
visible?: boolean | undefined;
|
|
3362
|
+
transform?: {
|
|
3363
|
+
x?: number | undefined;
|
|
3364
|
+
y?: number | undefined;
|
|
3365
|
+
width?: number | undefined;
|
|
3366
|
+
height?: number | undefined;
|
|
3367
|
+
scaleX?: number | undefined;
|
|
3368
|
+
scaleY?: number | undefined;
|
|
3369
|
+
rotation?: number | undefined;
|
|
3370
|
+
pivotX?: number | undefined;
|
|
3371
|
+
pivotY?: number | undefined;
|
|
3372
|
+
anchorMinX?: number | undefined;
|
|
3373
|
+
anchorMinY?: number | undefined;
|
|
3374
|
+
anchorMaxX?: number | undefined;
|
|
3375
|
+
anchorMaxY?: number | undefined;
|
|
3376
|
+
} | undefined;
|
|
3377
|
+
} | undefined;
|
|
3378
|
+
mobile?: {
|
|
3379
|
+
visible?: boolean | undefined;
|
|
3380
|
+
transform?: {
|
|
3381
|
+
x?: number | undefined;
|
|
3382
|
+
y?: number | undefined;
|
|
3383
|
+
width?: number | undefined;
|
|
3384
|
+
height?: number | undefined;
|
|
3385
|
+
scaleX?: number | undefined;
|
|
3386
|
+
scaleY?: number | undefined;
|
|
3387
|
+
rotation?: number | undefined;
|
|
3388
|
+
pivotX?: number | undefined;
|
|
3389
|
+
pivotY?: number | undefined;
|
|
3390
|
+
anchorMinX?: number | undefined;
|
|
3391
|
+
anchorMinY?: number | undefined;
|
|
3392
|
+
anchorMaxX?: number | undefined;
|
|
3393
|
+
anchorMaxY?: number | undefined;
|
|
3394
|
+
} | undefined;
|
|
3395
|
+
} | undefined;
|
|
3396
|
+
} | undefined;
|
|
3397
|
+
layoutItem?: {
|
|
3398
|
+
flexBasis?: number | undefined;
|
|
3399
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
3400
|
+
flexGrow: number;
|
|
3401
|
+
flexShrink: number;
|
|
3402
|
+
} | undefined;
|
|
3403
|
+
bindingKey?: string | undefined;
|
|
2890
3404
|
backgroundAssetId?: string | undefined;
|
|
2891
3405
|
id: string;
|
|
2892
3406
|
type: "horizontal-layout";
|
|
@@ -3005,7 +3519,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3005
3519
|
flexGrow: number;
|
|
3006
3520
|
flexShrink: number;
|
|
3007
3521
|
} | undefined;
|
|
3008
|
-
|
|
3522
|
+
bindingKey?: string | undefined;
|
|
3009
3523
|
backgroundAssetId?: string | undefined;
|
|
3010
3524
|
id: string;
|
|
3011
3525
|
type: "vertical-layout";
|
|
@@ -3124,7 +3638,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3124
3638
|
flexGrow: number;
|
|
3125
3639
|
flexShrink: number;
|
|
3126
3640
|
} | undefined;
|
|
3127
|
-
|
|
3641
|
+
bindingKey?: string | undefined;
|
|
3128
3642
|
backgroundAssetId?: string | undefined;
|
|
3129
3643
|
id: string;
|
|
3130
3644
|
type: "grid-layout";
|
|
@@ -3249,8 +3763,15 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3249
3763
|
flexGrow: number;
|
|
3250
3764
|
flexShrink: number;
|
|
3251
3765
|
} | undefined;
|
|
3252
|
-
|
|
3766
|
+
bindingKey?: string | undefined;
|
|
3767
|
+
assetId?: string | undefined;
|
|
3253
3768
|
opacity?: number | undefined;
|
|
3769
|
+
nineSlice?: {
|
|
3770
|
+
left: number;
|
|
3771
|
+
right: number;
|
|
3772
|
+
top: number;
|
|
3773
|
+
bottom: number;
|
|
3774
|
+
} | undefined;
|
|
3254
3775
|
id: string;
|
|
3255
3776
|
type: "image";
|
|
3256
3777
|
parentId: string | null;
|
|
@@ -3272,7 +3793,6 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3272
3793
|
scaleY: number;
|
|
3273
3794
|
rotation: number;
|
|
3274
3795
|
};
|
|
3275
|
-
assetId: string;
|
|
3276
3796
|
} | {
|
|
3277
3797
|
editorOnly?: boolean | undefined;
|
|
3278
3798
|
locked?: boolean | undefined;
|
|
@@ -3320,7 +3840,8 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3320
3840
|
flexGrow: number;
|
|
3321
3841
|
flexShrink: number;
|
|
3322
3842
|
} | undefined;
|
|
3323
|
-
|
|
3843
|
+
bindingKey?: string | undefined;
|
|
3844
|
+
textKey?: string | undefined;
|
|
3324
3845
|
style?: {
|
|
3325
3846
|
fontAssetId?: string | undefined;
|
|
3326
3847
|
lineHeight?: number | undefined;
|
|
@@ -3339,6 +3860,44 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3339
3860
|
breakWords: boolean;
|
|
3340
3861
|
letterSpacing: number;
|
|
3341
3862
|
} | undefined;
|
|
3863
|
+
textStyleOverrides?: {
|
|
3864
|
+
desktop?: {
|
|
3865
|
+
fontAssetId?: string | undefined;
|
|
3866
|
+
fontFamily?: string | undefined;
|
|
3867
|
+
fontSize?: number | undefined;
|
|
3868
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
3869
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
3870
|
+
fill?: string | undefined;
|
|
3871
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
3872
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
3873
|
+
wordWrap?: boolean | undefined;
|
|
3874
|
+
breakWords?: boolean | undefined;
|
|
3875
|
+
lineHeight?: number | undefined;
|
|
3876
|
+
letterSpacing?: number | undefined;
|
|
3877
|
+
stroke?: {
|
|
3878
|
+
width: number;
|
|
3879
|
+
color: string;
|
|
3880
|
+
} | undefined;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
mobile?: {
|
|
3883
|
+
fontAssetId?: string | undefined;
|
|
3884
|
+
fontFamily?: string | undefined;
|
|
3885
|
+
fontSize?: number | undefined;
|
|
3886
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
3887
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
3888
|
+
fill?: string | undefined;
|
|
3889
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
3890
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
3891
|
+
wordWrap?: boolean | undefined;
|
|
3892
|
+
breakWords?: boolean | undefined;
|
|
3893
|
+
lineHeight?: number | undefined;
|
|
3894
|
+
letterSpacing?: number | undefined;
|
|
3895
|
+
stroke?: {
|
|
3896
|
+
width: number;
|
|
3897
|
+
color: string;
|
|
3898
|
+
} | undefined;
|
|
3899
|
+
} | undefined;
|
|
3900
|
+
} | undefined;
|
|
3342
3901
|
id: string;
|
|
3343
3902
|
type: "text";
|
|
3344
3903
|
parentId: string | null;
|
|
@@ -3408,11 +3967,25 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3408
3967
|
flexGrow: number;
|
|
3409
3968
|
flexShrink: number;
|
|
3410
3969
|
} | undefined;
|
|
3411
|
-
|
|
3970
|
+
bindingKey?: string | undefined;
|
|
3412
3971
|
animation?: string | undefined;
|
|
3413
3972
|
autoplay?: boolean | undefined;
|
|
3414
3973
|
loop?: boolean | undefined;
|
|
3415
3974
|
animationSpeed?: number | undefined;
|
|
3975
|
+
spineOverrides?: {
|
|
3976
|
+
desktop?: {
|
|
3977
|
+
animation?: string | null | undefined;
|
|
3978
|
+
autoplay?: boolean | undefined;
|
|
3979
|
+
loop?: boolean | undefined;
|
|
3980
|
+
animationSpeed?: number | undefined;
|
|
3981
|
+
} | undefined;
|
|
3982
|
+
mobile?: {
|
|
3983
|
+
animation?: string | null | undefined;
|
|
3984
|
+
autoplay?: boolean | undefined;
|
|
3985
|
+
loop?: boolean | undefined;
|
|
3986
|
+
animationSpeed?: number | undefined;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
} | undefined;
|
|
3416
3989
|
id: string;
|
|
3417
3990
|
type: "spine";
|
|
3418
3991
|
parentId: string | null;
|
|
@@ -3482,7 +4055,13 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3482
4055
|
flexGrow: number;
|
|
3483
4056
|
flexShrink: number;
|
|
3484
4057
|
} | undefined;
|
|
3485
|
-
|
|
4058
|
+
bindingKey?: string | undefined;
|
|
4059
|
+
nineSlice?: {
|
|
4060
|
+
left: number;
|
|
4061
|
+
right: number;
|
|
4062
|
+
top: number;
|
|
4063
|
+
bottom: number;
|
|
4064
|
+
} | undefined;
|
|
3486
4065
|
sounds?: {
|
|
3487
4066
|
hoverAssetId?: string | undefined;
|
|
3488
4067
|
pressAssetId?: string | undefined;
|
|
@@ -3529,6 +4108,88 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3529
4108
|
normalAssetId: string;
|
|
3530
4109
|
};
|
|
3531
4110
|
enabled: boolean;
|
|
4111
|
+
} | {
|
|
4112
|
+
editorOnly?: boolean | undefined;
|
|
4113
|
+
locked?: boolean | undefined;
|
|
4114
|
+
layoutOverrides?: {
|
|
4115
|
+
desktop?: {
|
|
4116
|
+
visible?: boolean | undefined;
|
|
4117
|
+
transform?: {
|
|
4118
|
+
x?: number | undefined;
|
|
4119
|
+
y?: number | undefined;
|
|
4120
|
+
width?: number | undefined;
|
|
4121
|
+
height?: number | undefined;
|
|
4122
|
+
scaleX?: number | undefined;
|
|
4123
|
+
scaleY?: number | undefined;
|
|
4124
|
+
rotation?: number | undefined;
|
|
4125
|
+
pivotX?: number | undefined;
|
|
4126
|
+
pivotY?: number | undefined;
|
|
4127
|
+
anchorMinX?: number | undefined;
|
|
4128
|
+
anchorMinY?: number | undefined;
|
|
4129
|
+
anchorMaxX?: number | undefined;
|
|
4130
|
+
anchorMaxY?: number | undefined;
|
|
4131
|
+
} | undefined;
|
|
4132
|
+
} | undefined;
|
|
4133
|
+
mobile?: {
|
|
4134
|
+
visible?: boolean | undefined;
|
|
4135
|
+
transform?: {
|
|
4136
|
+
x?: number | undefined;
|
|
4137
|
+
y?: number | undefined;
|
|
4138
|
+
width?: number | undefined;
|
|
4139
|
+
height?: number | undefined;
|
|
4140
|
+
scaleX?: number | undefined;
|
|
4141
|
+
scaleY?: number | undefined;
|
|
4142
|
+
rotation?: number | undefined;
|
|
4143
|
+
pivotX?: number | undefined;
|
|
4144
|
+
pivotY?: number | undefined;
|
|
4145
|
+
anchorMinX?: number | undefined;
|
|
4146
|
+
anchorMinY?: number | undefined;
|
|
4147
|
+
anchorMaxX?: number | undefined;
|
|
4148
|
+
anchorMaxY?: number | undefined;
|
|
4149
|
+
} | undefined;
|
|
4150
|
+
} | undefined;
|
|
4151
|
+
} | undefined;
|
|
4152
|
+
layoutItem?: {
|
|
4153
|
+
flexBasis?: number | undefined;
|
|
4154
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
4155
|
+
flexGrow: number;
|
|
4156
|
+
flexShrink: number;
|
|
4157
|
+
} | undefined;
|
|
4158
|
+
bindingKey?: string | undefined;
|
|
4159
|
+
sounds?: {
|
|
4160
|
+
checkAssetId?: string | undefined;
|
|
4161
|
+
uncheckAssetId?: string | undefined;
|
|
4162
|
+
} | undefined;
|
|
4163
|
+
group?: string | undefined;
|
|
4164
|
+
id: string;
|
|
4165
|
+
type: "checkbox";
|
|
4166
|
+
parentId: string | null;
|
|
4167
|
+
children: string[];
|
|
4168
|
+
name: string;
|
|
4169
|
+
visible: boolean;
|
|
4170
|
+
transform: {
|
|
4171
|
+
pivotX?: number | undefined;
|
|
4172
|
+
pivotY?: number | undefined;
|
|
4173
|
+
anchorMinX?: number | undefined;
|
|
4174
|
+
anchorMinY?: number | undefined;
|
|
4175
|
+
anchorMaxX?: number | undefined;
|
|
4176
|
+
anchorMaxY?: number | undefined;
|
|
4177
|
+
x: number;
|
|
4178
|
+
y: number;
|
|
4179
|
+
width: number;
|
|
4180
|
+
height: number;
|
|
4181
|
+
scaleX: number;
|
|
4182
|
+
scaleY: number;
|
|
4183
|
+
rotation: number;
|
|
4184
|
+
};
|
|
4185
|
+
states: {
|
|
4186
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
4187
|
+
checkedHoverAssetId?: string | undefined;
|
|
4188
|
+
uncheckedAssetId: string;
|
|
4189
|
+
checkedAssetId: string;
|
|
4190
|
+
};
|
|
4191
|
+
enabled: boolean;
|
|
4192
|
+
defaultChecked: boolean;
|
|
3532
4193
|
} | {
|
|
3533
4194
|
editorOnly?: boolean | undefined;
|
|
3534
4195
|
locked?: boolean | undefined;
|
|
@@ -3585,7 +4246,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3585
4246
|
flexGrow: number;
|
|
3586
4247
|
flexShrink: number;
|
|
3587
4248
|
} | undefined;
|
|
3588
|
-
|
|
4249
|
+
bindingKey?: string | undefined;
|
|
3589
4250
|
id: string;
|
|
3590
4251
|
type: "container";
|
|
3591
4252
|
parentId: string | null;
|
|
@@ -3654,10 +4315,9 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3654
4315
|
flexGrow: number;
|
|
3655
4316
|
flexShrink: number;
|
|
3656
4317
|
} | undefined;
|
|
3657
|
-
|
|
3658
|
-
backgroundAssetId?: string | undefined;
|
|
4318
|
+
bindingKey?: string | undefined;
|
|
3659
4319
|
id: string;
|
|
3660
|
-
type: "
|
|
4320
|
+
type: "mask";
|
|
3661
4321
|
parentId: string | null;
|
|
3662
4322
|
children: string[];
|
|
3663
4323
|
name: string;
|
|
@@ -3677,7 +4337,77 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3677
4337
|
scaleY: number;
|
|
3678
4338
|
rotation: number;
|
|
3679
4339
|
};
|
|
3680
|
-
|
|
4340
|
+
} | {
|
|
4341
|
+
editorOnly?: boolean | undefined;
|
|
4342
|
+
locked?: boolean | undefined;
|
|
4343
|
+
layoutOverrides?: {
|
|
4344
|
+
desktop?: {
|
|
4345
|
+
visible?: boolean | undefined;
|
|
4346
|
+
transform?: {
|
|
4347
|
+
x?: number | undefined;
|
|
4348
|
+
y?: number | undefined;
|
|
4349
|
+
width?: number | undefined;
|
|
4350
|
+
height?: number | undefined;
|
|
4351
|
+
scaleX?: number | undefined;
|
|
4352
|
+
scaleY?: number | undefined;
|
|
4353
|
+
rotation?: number | undefined;
|
|
4354
|
+
pivotX?: number | undefined;
|
|
4355
|
+
pivotY?: number | undefined;
|
|
4356
|
+
anchorMinX?: number | undefined;
|
|
4357
|
+
anchorMinY?: number | undefined;
|
|
4358
|
+
anchorMaxX?: number | undefined;
|
|
4359
|
+
anchorMaxY?: number | undefined;
|
|
4360
|
+
} | undefined;
|
|
4361
|
+
} | undefined;
|
|
4362
|
+
mobile?: {
|
|
4363
|
+
visible?: boolean | undefined;
|
|
4364
|
+
transform?: {
|
|
4365
|
+
x?: number | undefined;
|
|
4366
|
+
y?: number | undefined;
|
|
4367
|
+
width?: number | undefined;
|
|
4368
|
+
height?: number | undefined;
|
|
4369
|
+
scaleX?: number | undefined;
|
|
4370
|
+
scaleY?: number | undefined;
|
|
4371
|
+
rotation?: number | undefined;
|
|
4372
|
+
pivotX?: number | undefined;
|
|
4373
|
+
pivotY?: number | undefined;
|
|
4374
|
+
anchorMinX?: number | undefined;
|
|
4375
|
+
anchorMinY?: number | undefined;
|
|
4376
|
+
anchorMaxX?: number | undefined;
|
|
4377
|
+
anchorMaxY?: number | undefined;
|
|
4378
|
+
} | undefined;
|
|
4379
|
+
} | undefined;
|
|
4380
|
+
} | undefined;
|
|
4381
|
+
layoutItem?: {
|
|
4382
|
+
flexBasis?: number | undefined;
|
|
4383
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
4384
|
+
flexGrow: number;
|
|
4385
|
+
flexShrink: number;
|
|
4386
|
+
} | undefined;
|
|
4387
|
+
bindingKey?: string | undefined;
|
|
4388
|
+
backgroundAssetId?: string | undefined;
|
|
4389
|
+
id: string;
|
|
4390
|
+
type: "horizontal-layout";
|
|
4391
|
+
parentId: string | null;
|
|
4392
|
+
children: string[];
|
|
4393
|
+
name: string;
|
|
4394
|
+
visible: boolean;
|
|
4395
|
+
transform: {
|
|
4396
|
+
pivotX?: number | undefined;
|
|
4397
|
+
pivotY?: number | undefined;
|
|
4398
|
+
anchorMinX?: number | undefined;
|
|
4399
|
+
anchorMinY?: number | undefined;
|
|
4400
|
+
anchorMaxX?: number | undefined;
|
|
4401
|
+
anchorMaxY?: number | undefined;
|
|
4402
|
+
x: number;
|
|
4403
|
+
y: number;
|
|
4404
|
+
width: number;
|
|
4405
|
+
height: number;
|
|
4406
|
+
scaleX: number;
|
|
4407
|
+
scaleY: number;
|
|
4408
|
+
rotation: number;
|
|
4409
|
+
};
|
|
4410
|
+
layoutGroup: {
|
|
3681
4411
|
overrides?: {
|
|
3682
4412
|
desktop?: {
|
|
3683
4413
|
padding?: {
|
|
@@ -3773,7 +4503,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3773
4503
|
flexGrow: number;
|
|
3774
4504
|
flexShrink: number;
|
|
3775
4505
|
} | undefined;
|
|
3776
|
-
|
|
4506
|
+
bindingKey?: string | undefined;
|
|
3777
4507
|
backgroundAssetId?: string | undefined;
|
|
3778
4508
|
id: string;
|
|
3779
4509
|
type: "vertical-layout";
|
|
@@ -3892,7 +4622,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3892
4622
|
flexGrow: number;
|
|
3893
4623
|
flexShrink: number;
|
|
3894
4624
|
} | undefined;
|
|
3895
|
-
|
|
4625
|
+
bindingKey?: string | undefined;
|
|
3896
4626
|
backgroundAssetId?: string | undefined;
|
|
3897
4627
|
id: string;
|
|
3898
4628
|
type: "grid-layout";
|
|
@@ -4017,8 +4747,15 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4017
4747
|
flexGrow: number;
|
|
4018
4748
|
flexShrink: number;
|
|
4019
4749
|
} | undefined;
|
|
4020
|
-
|
|
4750
|
+
bindingKey?: string | undefined;
|
|
4751
|
+
assetId?: string | undefined;
|
|
4021
4752
|
opacity?: number | undefined;
|
|
4753
|
+
nineSlice?: {
|
|
4754
|
+
left: number;
|
|
4755
|
+
right: number;
|
|
4756
|
+
top: number;
|
|
4757
|
+
bottom: number;
|
|
4758
|
+
} | undefined;
|
|
4022
4759
|
id: string;
|
|
4023
4760
|
type: "image";
|
|
4024
4761
|
parentId: string | null;
|
|
@@ -4040,7 +4777,6 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4040
4777
|
scaleY: number;
|
|
4041
4778
|
rotation: number;
|
|
4042
4779
|
};
|
|
4043
|
-
assetId: string;
|
|
4044
4780
|
} | {
|
|
4045
4781
|
editorOnly?: boolean | undefined;
|
|
4046
4782
|
locked?: boolean | undefined;
|
|
@@ -4088,7 +4824,8 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4088
4824
|
flexGrow: number;
|
|
4089
4825
|
flexShrink: number;
|
|
4090
4826
|
} | undefined;
|
|
4091
|
-
|
|
4827
|
+
bindingKey?: string | undefined;
|
|
4828
|
+
textKey?: string | undefined;
|
|
4092
4829
|
style?: {
|
|
4093
4830
|
fontAssetId?: string | undefined;
|
|
4094
4831
|
lineHeight?: number | undefined;
|
|
@@ -4107,6 +4844,44 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4107
4844
|
breakWords: boolean;
|
|
4108
4845
|
letterSpacing: number;
|
|
4109
4846
|
} | undefined;
|
|
4847
|
+
textStyleOverrides?: {
|
|
4848
|
+
desktop?: {
|
|
4849
|
+
fontAssetId?: string | undefined;
|
|
4850
|
+
fontFamily?: string | undefined;
|
|
4851
|
+
fontSize?: number | undefined;
|
|
4852
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
4853
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
4854
|
+
fill?: string | undefined;
|
|
4855
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
4856
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
4857
|
+
wordWrap?: boolean | undefined;
|
|
4858
|
+
breakWords?: boolean | undefined;
|
|
4859
|
+
lineHeight?: number | undefined;
|
|
4860
|
+
letterSpacing?: number | undefined;
|
|
4861
|
+
stroke?: {
|
|
4862
|
+
width: number;
|
|
4863
|
+
color: string;
|
|
4864
|
+
} | undefined;
|
|
4865
|
+
} | undefined;
|
|
4866
|
+
mobile?: {
|
|
4867
|
+
fontAssetId?: string | undefined;
|
|
4868
|
+
fontFamily?: string | undefined;
|
|
4869
|
+
fontSize?: number | undefined;
|
|
4870
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
4871
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
4872
|
+
fill?: string | undefined;
|
|
4873
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
4874
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
4875
|
+
wordWrap?: boolean | undefined;
|
|
4876
|
+
breakWords?: boolean | undefined;
|
|
4877
|
+
lineHeight?: number | undefined;
|
|
4878
|
+
letterSpacing?: number | undefined;
|
|
4879
|
+
stroke?: {
|
|
4880
|
+
width: number;
|
|
4881
|
+
color: string;
|
|
4882
|
+
} | undefined;
|
|
4883
|
+
} | undefined;
|
|
4884
|
+
} | undefined;
|
|
4110
4885
|
id: string;
|
|
4111
4886
|
type: "text";
|
|
4112
4887
|
parentId: string | null;
|
|
@@ -4176,11 +4951,25 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4176
4951
|
flexGrow: number;
|
|
4177
4952
|
flexShrink: number;
|
|
4178
4953
|
} | undefined;
|
|
4179
|
-
|
|
4954
|
+
bindingKey?: string | undefined;
|
|
4180
4955
|
animation?: string | undefined;
|
|
4181
4956
|
autoplay?: boolean | undefined;
|
|
4182
4957
|
loop?: boolean | undefined;
|
|
4183
4958
|
animationSpeed?: number | undefined;
|
|
4959
|
+
spineOverrides?: {
|
|
4960
|
+
desktop?: {
|
|
4961
|
+
animation?: string | null | undefined;
|
|
4962
|
+
autoplay?: boolean | undefined;
|
|
4963
|
+
loop?: boolean | undefined;
|
|
4964
|
+
animationSpeed?: number | undefined;
|
|
4965
|
+
} | undefined;
|
|
4966
|
+
mobile?: {
|
|
4967
|
+
animation?: string | null | undefined;
|
|
4968
|
+
autoplay?: boolean | undefined;
|
|
4969
|
+
loop?: boolean | undefined;
|
|
4970
|
+
animationSpeed?: number | undefined;
|
|
4971
|
+
} | undefined;
|
|
4972
|
+
} | undefined;
|
|
4184
4973
|
id: string;
|
|
4185
4974
|
type: "spine";
|
|
4186
4975
|
parentId: string | null;
|
|
@@ -4250,7 +5039,13 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4250
5039
|
flexGrow: number;
|
|
4251
5040
|
flexShrink: number;
|
|
4252
5041
|
} | undefined;
|
|
4253
|
-
|
|
5042
|
+
bindingKey?: string | undefined;
|
|
5043
|
+
nineSlice?: {
|
|
5044
|
+
left: number;
|
|
5045
|
+
right: number;
|
|
5046
|
+
top: number;
|
|
5047
|
+
bottom: number;
|
|
5048
|
+
} | undefined;
|
|
4254
5049
|
sounds?: {
|
|
4255
5050
|
hoverAssetId?: string | undefined;
|
|
4256
5051
|
pressAssetId?: string | undefined;
|
|
@@ -4297,6 +5092,88 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4297
5092
|
normalAssetId: string;
|
|
4298
5093
|
};
|
|
4299
5094
|
enabled: boolean;
|
|
5095
|
+
} | {
|
|
5096
|
+
editorOnly?: boolean | undefined;
|
|
5097
|
+
locked?: boolean | undefined;
|
|
5098
|
+
layoutOverrides?: {
|
|
5099
|
+
desktop?: {
|
|
5100
|
+
visible?: boolean | undefined;
|
|
5101
|
+
transform?: {
|
|
5102
|
+
x?: number | undefined;
|
|
5103
|
+
y?: number | undefined;
|
|
5104
|
+
width?: number | undefined;
|
|
5105
|
+
height?: number | undefined;
|
|
5106
|
+
scaleX?: number | undefined;
|
|
5107
|
+
scaleY?: number | undefined;
|
|
5108
|
+
rotation?: number | undefined;
|
|
5109
|
+
pivotX?: number | undefined;
|
|
5110
|
+
pivotY?: number | undefined;
|
|
5111
|
+
anchorMinX?: number | undefined;
|
|
5112
|
+
anchorMinY?: number | undefined;
|
|
5113
|
+
anchorMaxX?: number | undefined;
|
|
5114
|
+
anchorMaxY?: number | undefined;
|
|
5115
|
+
} | undefined;
|
|
5116
|
+
} | undefined;
|
|
5117
|
+
mobile?: {
|
|
5118
|
+
visible?: boolean | undefined;
|
|
5119
|
+
transform?: {
|
|
5120
|
+
x?: number | undefined;
|
|
5121
|
+
y?: number | undefined;
|
|
5122
|
+
width?: number | undefined;
|
|
5123
|
+
height?: number | undefined;
|
|
5124
|
+
scaleX?: number | undefined;
|
|
5125
|
+
scaleY?: number | undefined;
|
|
5126
|
+
rotation?: number | undefined;
|
|
5127
|
+
pivotX?: number | undefined;
|
|
5128
|
+
pivotY?: number | undefined;
|
|
5129
|
+
anchorMinX?: number | undefined;
|
|
5130
|
+
anchorMinY?: number | undefined;
|
|
5131
|
+
anchorMaxX?: number | undefined;
|
|
5132
|
+
anchorMaxY?: number | undefined;
|
|
5133
|
+
} | undefined;
|
|
5134
|
+
} | undefined;
|
|
5135
|
+
} | undefined;
|
|
5136
|
+
layoutItem?: {
|
|
5137
|
+
flexBasis?: number | undefined;
|
|
5138
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
5139
|
+
flexGrow: number;
|
|
5140
|
+
flexShrink: number;
|
|
5141
|
+
} | undefined;
|
|
5142
|
+
bindingKey?: string | undefined;
|
|
5143
|
+
sounds?: {
|
|
5144
|
+
checkAssetId?: string | undefined;
|
|
5145
|
+
uncheckAssetId?: string | undefined;
|
|
5146
|
+
} | undefined;
|
|
5147
|
+
group?: string | undefined;
|
|
5148
|
+
id: string;
|
|
5149
|
+
type: "checkbox";
|
|
5150
|
+
parentId: string | null;
|
|
5151
|
+
children: string[];
|
|
5152
|
+
name: string;
|
|
5153
|
+
visible: boolean;
|
|
5154
|
+
transform: {
|
|
5155
|
+
pivotX?: number | undefined;
|
|
5156
|
+
pivotY?: number | undefined;
|
|
5157
|
+
anchorMinX?: number | undefined;
|
|
5158
|
+
anchorMinY?: number | undefined;
|
|
5159
|
+
anchorMaxX?: number | undefined;
|
|
5160
|
+
anchorMaxY?: number | undefined;
|
|
5161
|
+
x: number;
|
|
5162
|
+
y: number;
|
|
5163
|
+
width: number;
|
|
5164
|
+
height: number;
|
|
5165
|
+
scaleX: number;
|
|
5166
|
+
scaleY: number;
|
|
5167
|
+
rotation: number;
|
|
5168
|
+
};
|
|
5169
|
+
states: {
|
|
5170
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
5171
|
+
checkedHoverAssetId?: string | undefined;
|
|
5172
|
+
uncheckedAssetId: string;
|
|
5173
|
+
checkedAssetId: string;
|
|
5174
|
+
};
|
|
5175
|
+
enabled: boolean;
|
|
5176
|
+
defaultChecked: boolean;
|
|
4300
5177
|
} | /*elided*/ any | {
|
|
4301
5178
|
editorOnly?: boolean | undefined;
|
|
4302
5179
|
locked?: boolean | undefined;
|
|
@@ -4344,7 +5221,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4344
5221
|
flexGrow: number;
|
|
4345
5222
|
flexShrink: number;
|
|
4346
5223
|
} | undefined;
|
|
4347
|
-
|
|
5224
|
+
bindingKey?: string | undefined;
|
|
4348
5225
|
id: string;
|
|
4349
5226
|
type: "scroll-view";
|
|
4350
5227
|
parentId: string | null;
|
|
@@ -4428,7 +5305,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4428
5305
|
flexGrow: number;
|
|
4429
5306
|
flexShrink: number;
|
|
4430
5307
|
} | undefined;
|
|
4431
|
-
|
|
5308
|
+
bindingKey?: string | undefined;
|
|
4432
5309
|
backgroundAssetId?: string | undefined;
|
|
4433
5310
|
id: string;
|
|
4434
5311
|
type: "input";
|
|
@@ -4528,7 +5405,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4528
5405
|
flexGrow: number;
|
|
4529
5406
|
flexShrink: number;
|
|
4530
5407
|
} | undefined;
|
|
4531
|
-
|
|
5408
|
+
bindingKey?: string | undefined;
|
|
4532
5409
|
showValue?: boolean | undefined;
|
|
4533
5410
|
valueTextStyle?: {
|
|
4534
5411
|
fontAssetId?: string | undefined;
|
|
@@ -4629,7 +5506,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4629
5506
|
flexGrow: number;
|
|
4630
5507
|
flexShrink: number;
|
|
4631
5508
|
} | undefined;
|
|
4632
|
-
|
|
5509
|
+
bindingKey?: string | undefined;
|
|
4633
5510
|
id: string;
|
|
4634
5511
|
type: "progress-bar";
|
|
4635
5512
|
parentId: string | null;
|
|
@@ -4707,7 +5584,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4707
5584
|
flexGrow: number;
|
|
4708
5585
|
flexShrink: number;
|
|
4709
5586
|
} | undefined;
|
|
4710
|
-
|
|
5587
|
+
bindingKey?: string | undefined;
|
|
4711
5588
|
id: string;
|
|
4712
5589
|
type: "particle-emitter";
|
|
4713
5590
|
parentId: string | null;
|
|
@@ -4777,7 +5654,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4777
5654
|
flexGrow: number;
|
|
4778
5655
|
flexShrink: number;
|
|
4779
5656
|
} | undefined;
|
|
4780
|
-
|
|
5657
|
+
bindingKey?: string | undefined;
|
|
4781
5658
|
id: string;
|
|
4782
5659
|
type: "prefab-instance";
|
|
4783
5660
|
parentId: string | null;
|
|
@@ -4847,7 +5724,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4847
5724
|
flexGrow: number;
|
|
4848
5725
|
flexShrink: number;
|
|
4849
5726
|
} | undefined;
|
|
4850
|
-
|
|
5727
|
+
bindingKey?: string | undefined;
|
|
4851
5728
|
id: string;
|
|
4852
5729
|
type: "scroll-view";
|
|
4853
5730
|
parentId: string | null;
|
|
@@ -4931,7 +5808,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4931
5808
|
flexGrow: number;
|
|
4932
5809
|
flexShrink: number;
|
|
4933
5810
|
} | undefined;
|
|
4934
|
-
|
|
5811
|
+
bindingKey?: string | undefined;
|
|
4935
5812
|
backgroundAssetId?: string | undefined;
|
|
4936
5813
|
id: string;
|
|
4937
5814
|
type: "input";
|
|
@@ -5031,7 +5908,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5031
5908
|
flexGrow: number;
|
|
5032
5909
|
flexShrink: number;
|
|
5033
5910
|
} | undefined;
|
|
5034
|
-
|
|
5911
|
+
bindingKey?: string | undefined;
|
|
5035
5912
|
showValue?: boolean | undefined;
|
|
5036
5913
|
valueTextStyle?: {
|
|
5037
5914
|
fontAssetId?: string | undefined;
|
|
@@ -5132,7 +6009,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5132
6009
|
flexGrow: number;
|
|
5133
6010
|
flexShrink: number;
|
|
5134
6011
|
} | undefined;
|
|
5135
|
-
|
|
6012
|
+
bindingKey?: string | undefined;
|
|
5136
6013
|
id: string;
|
|
5137
6014
|
type: "progress-bar";
|
|
5138
6015
|
parentId: string | null;
|
|
@@ -5210,7 +6087,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5210
6087
|
flexGrow: number;
|
|
5211
6088
|
flexShrink: number;
|
|
5212
6089
|
} | undefined;
|
|
5213
|
-
|
|
6090
|
+
bindingKey?: string | undefined;
|
|
5214
6091
|
id: string;
|
|
5215
6092
|
type: "particle-emitter";
|
|
5216
6093
|
parentId: string | null;
|
|
@@ -5404,7 +6281,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5404
6281
|
flexGrow: number;
|
|
5405
6282
|
flexShrink: number;
|
|
5406
6283
|
} | undefined;
|
|
5407
|
-
|
|
6284
|
+
bindingKey?: string | undefined;
|
|
5408
6285
|
id: string;
|
|
5409
6286
|
type: "container";
|
|
5410
6287
|
parentId: string | null;
|
|
@@ -5473,7 +6350,76 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5473
6350
|
flexGrow: number;
|
|
5474
6351
|
flexShrink: number;
|
|
5475
6352
|
} | undefined;
|
|
5476
|
-
|
|
6353
|
+
bindingKey?: string | undefined;
|
|
6354
|
+
id: string;
|
|
6355
|
+
type: "mask";
|
|
6356
|
+
parentId: string | null;
|
|
6357
|
+
children: string[];
|
|
6358
|
+
name: string;
|
|
6359
|
+
visible: boolean;
|
|
6360
|
+
transform: {
|
|
6361
|
+
pivotX?: number | undefined;
|
|
6362
|
+
pivotY?: number | undefined;
|
|
6363
|
+
anchorMinX?: number | undefined;
|
|
6364
|
+
anchorMinY?: number | undefined;
|
|
6365
|
+
anchorMaxX?: number | undefined;
|
|
6366
|
+
anchorMaxY?: number | undefined;
|
|
6367
|
+
x: number;
|
|
6368
|
+
y: number;
|
|
6369
|
+
width: number;
|
|
6370
|
+
height: number;
|
|
6371
|
+
scaleX: number;
|
|
6372
|
+
scaleY: number;
|
|
6373
|
+
rotation: number;
|
|
6374
|
+
};
|
|
6375
|
+
} | {
|
|
6376
|
+
editorOnly?: boolean | undefined;
|
|
6377
|
+
locked?: boolean | undefined;
|
|
6378
|
+
layoutOverrides?: {
|
|
6379
|
+
desktop?: {
|
|
6380
|
+
visible?: boolean | undefined;
|
|
6381
|
+
transform?: {
|
|
6382
|
+
x?: number | undefined;
|
|
6383
|
+
y?: number | undefined;
|
|
6384
|
+
width?: number | undefined;
|
|
6385
|
+
height?: number | undefined;
|
|
6386
|
+
scaleX?: number | undefined;
|
|
6387
|
+
scaleY?: number | undefined;
|
|
6388
|
+
rotation?: number | undefined;
|
|
6389
|
+
pivotX?: number | undefined;
|
|
6390
|
+
pivotY?: number | undefined;
|
|
6391
|
+
anchorMinX?: number | undefined;
|
|
6392
|
+
anchorMinY?: number | undefined;
|
|
6393
|
+
anchorMaxX?: number | undefined;
|
|
6394
|
+
anchorMaxY?: number | undefined;
|
|
6395
|
+
} | undefined;
|
|
6396
|
+
} | undefined;
|
|
6397
|
+
mobile?: {
|
|
6398
|
+
visible?: boolean | undefined;
|
|
6399
|
+
transform?: {
|
|
6400
|
+
x?: number | undefined;
|
|
6401
|
+
y?: number | undefined;
|
|
6402
|
+
width?: number | undefined;
|
|
6403
|
+
height?: number | undefined;
|
|
6404
|
+
scaleX?: number | undefined;
|
|
6405
|
+
scaleY?: number | undefined;
|
|
6406
|
+
rotation?: number | undefined;
|
|
6407
|
+
pivotX?: number | undefined;
|
|
6408
|
+
pivotY?: number | undefined;
|
|
6409
|
+
anchorMinX?: number | undefined;
|
|
6410
|
+
anchorMinY?: number | undefined;
|
|
6411
|
+
anchorMaxX?: number | undefined;
|
|
6412
|
+
anchorMaxY?: number | undefined;
|
|
6413
|
+
} | undefined;
|
|
6414
|
+
} | undefined;
|
|
6415
|
+
} | undefined;
|
|
6416
|
+
layoutItem?: {
|
|
6417
|
+
flexBasis?: number | undefined;
|
|
6418
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
6419
|
+
flexGrow: number;
|
|
6420
|
+
flexShrink: number;
|
|
6421
|
+
} | undefined;
|
|
6422
|
+
bindingKey?: string | undefined;
|
|
5477
6423
|
backgroundAssetId?: string | undefined;
|
|
5478
6424
|
id: string;
|
|
5479
6425
|
type: "horizontal-layout";
|
|
@@ -5592,7 +6538,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5592
6538
|
flexGrow: number;
|
|
5593
6539
|
flexShrink: number;
|
|
5594
6540
|
} | undefined;
|
|
5595
|
-
|
|
6541
|
+
bindingKey?: string | undefined;
|
|
5596
6542
|
backgroundAssetId?: string | undefined;
|
|
5597
6543
|
id: string;
|
|
5598
6544
|
type: "vertical-layout";
|
|
@@ -5711,7 +6657,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5711
6657
|
flexGrow: number;
|
|
5712
6658
|
flexShrink: number;
|
|
5713
6659
|
} | undefined;
|
|
5714
|
-
|
|
6660
|
+
bindingKey?: string | undefined;
|
|
5715
6661
|
backgroundAssetId?: string | undefined;
|
|
5716
6662
|
id: string;
|
|
5717
6663
|
type: "grid-layout";
|
|
@@ -5836,8 +6782,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5836
6782
|
flexGrow: number;
|
|
5837
6783
|
flexShrink: number;
|
|
5838
6784
|
} | undefined;
|
|
5839
|
-
|
|
6785
|
+
bindingKey?: string | undefined;
|
|
6786
|
+
assetId?: string | undefined;
|
|
5840
6787
|
opacity?: number | undefined;
|
|
6788
|
+
nineSlice?: {
|
|
6789
|
+
left: number;
|
|
6790
|
+
right: number;
|
|
6791
|
+
top: number;
|
|
6792
|
+
bottom: number;
|
|
6793
|
+
} | undefined;
|
|
5841
6794
|
id: string;
|
|
5842
6795
|
type: "image";
|
|
5843
6796
|
parentId: string | null;
|
|
@@ -5859,7 +6812,6 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5859
6812
|
scaleY: number;
|
|
5860
6813
|
rotation: number;
|
|
5861
6814
|
};
|
|
5862
|
-
assetId: string;
|
|
5863
6815
|
} | {
|
|
5864
6816
|
editorOnly?: boolean | undefined;
|
|
5865
6817
|
locked?: boolean | undefined;
|
|
@@ -5907,7 +6859,8 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5907
6859
|
flexGrow: number;
|
|
5908
6860
|
flexShrink: number;
|
|
5909
6861
|
} | undefined;
|
|
5910
|
-
|
|
6862
|
+
bindingKey?: string | undefined;
|
|
6863
|
+
textKey?: string | undefined;
|
|
5911
6864
|
style?: {
|
|
5912
6865
|
fontAssetId?: string | undefined;
|
|
5913
6866
|
lineHeight?: number | undefined;
|
|
@@ -5926,14 +6879,52 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5926
6879
|
breakWords: boolean;
|
|
5927
6880
|
letterSpacing: number;
|
|
5928
6881
|
} | undefined;
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
6882
|
+
textStyleOverrides?: {
|
|
6883
|
+
desktop?: {
|
|
6884
|
+
fontAssetId?: string | undefined;
|
|
6885
|
+
fontFamily?: string | undefined;
|
|
6886
|
+
fontSize?: number | undefined;
|
|
6887
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6888
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6889
|
+
fill?: string | undefined;
|
|
6890
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6891
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6892
|
+
wordWrap?: boolean | undefined;
|
|
6893
|
+
breakWords?: boolean | undefined;
|
|
6894
|
+
lineHeight?: number | undefined;
|
|
6895
|
+
letterSpacing?: number | undefined;
|
|
6896
|
+
stroke?: {
|
|
6897
|
+
width: number;
|
|
6898
|
+
color: string;
|
|
6899
|
+
} | undefined;
|
|
6900
|
+
} | undefined;
|
|
6901
|
+
mobile?: {
|
|
6902
|
+
fontAssetId?: string | undefined;
|
|
6903
|
+
fontFamily?: string | undefined;
|
|
6904
|
+
fontSize?: number | undefined;
|
|
6905
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6906
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6907
|
+
fill?: string | undefined;
|
|
6908
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6909
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6910
|
+
wordWrap?: boolean | undefined;
|
|
6911
|
+
breakWords?: boolean | undefined;
|
|
6912
|
+
lineHeight?: number | undefined;
|
|
6913
|
+
letterSpacing?: number | undefined;
|
|
6914
|
+
stroke?: {
|
|
6915
|
+
width: number;
|
|
6916
|
+
color: string;
|
|
6917
|
+
} | undefined;
|
|
6918
|
+
} | undefined;
|
|
6919
|
+
} | undefined;
|
|
6920
|
+
id: string;
|
|
6921
|
+
type: "text";
|
|
6922
|
+
parentId: string | null;
|
|
6923
|
+
children: string[];
|
|
6924
|
+
name: string;
|
|
6925
|
+
visible: boolean;
|
|
6926
|
+
transform: {
|
|
6927
|
+
pivotX?: number | undefined;
|
|
5937
6928
|
pivotY?: number | undefined;
|
|
5938
6929
|
anchorMinX?: number | undefined;
|
|
5939
6930
|
anchorMinY?: number | undefined;
|
|
@@ -5995,11 +6986,25 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5995
6986
|
flexGrow: number;
|
|
5996
6987
|
flexShrink: number;
|
|
5997
6988
|
} | undefined;
|
|
5998
|
-
|
|
6989
|
+
bindingKey?: string | undefined;
|
|
5999
6990
|
animation?: string | undefined;
|
|
6000
6991
|
autoplay?: boolean | undefined;
|
|
6001
6992
|
loop?: boolean | undefined;
|
|
6002
6993
|
animationSpeed?: number | undefined;
|
|
6994
|
+
spineOverrides?: {
|
|
6995
|
+
desktop?: {
|
|
6996
|
+
animation?: string | null | undefined;
|
|
6997
|
+
autoplay?: boolean | undefined;
|
|
6998
|
+
loop?: boolean | undefined;
|
|
6999
|
+
animationSpeed?: number | undefined;
|
|
7000
|
+
} | undefined;
|
|
7001
|
+
mobile?: {
|
|
7002
|
+
animation?: string | null | undefined;
|
|
7003
|
+
autoplay?: boolean | undefined;
|
|
7004
|
+
loop?: boolean | undefined;
|
|
7005
|
+
animationSpeed?: number | undefined;
|
|
7006
|
+
} | undefined;
|
|
7007
|
+
} | undefined;
|
|
6003
7008
|
id: string;
|
|
6004
7009
|
type: "spine";
|
|
6005
7010
|
parentId: string | null;
|
|
@@ -6069,7 +7074,13 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6069
7074
|
flexGrow: number;
|
|
6070
7075
|
flexShrink: number;
|
|
6071
7076
|
} | undefined;
|
|
6072
|
-
|
|
7077
|
+
bindingKey?: string | undefined;
|
|
7078
|
+
nineSlice?: {
|
|
7079
|
+
left: number;
|
|
7080
|
+
right: number;
|
|
7081
|
+
top: number;
|
|
7082
|
+
bottom: number;
|
|
7083
|
+
} | undefined;
|
|
6073
7084
|
sounds?: {
|
|
6074
7085
|
hoverAssetId?: string | undefined;
|
|
6075
7086
|
pressAssetId?: string | undefined;
|
|
@@ -6116,6 +7127,88 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6116
7127
|
normalAssetId: string;
|
|
6117
7128
|
};
|
|
6118
7129
|
enabled: boolean;
|
|
7130
|
+
} | {
|
|
7131
|
+
editorOnly?: boolean | undefined;
|
|
7132
|
+
locked?: boolean | undefined;
|
|
7133
|
+
layoutOverrides?: {
|
|
7134
|
+
desktop?: {
|
|
7135
|
+
visible?: boolean | undefined;
|
|
7136
|
+
transform?: {
|
|
7137
|
+
x?: number | undefined;
|
|
7138
|
+
y?: number | undefined;
|
|
7139
|
+
width?: number | undefined;
|
|
7140
|
+
height?: number | undefined;
|
|
7141
|
+
scaleX?: number | undefined;
|
|
7142
|
+
scaleY?: number | undefined;
|
|
7143
|
+
rotation?: number | undefined;
|
|
7144
|
+
pivotX?: number | undefined;
|
|
7145
|
+
pivotY?: number | undefined;
|
|
7146
|
+
anchorMinX?: number | undefined;
|
|
7147
|
+
anchorMinY?: number | undefined;
|
|
7148
|
+
anchorMaxX?: number | undefined;
|
|
7149
|
+
anchorMaxY?: number | undefined;
|
|
7150
|
+
} | undefined;
|
|
7151
|
+
} | undefined;
|
|
7152
|
+
mobile?: {
|
|
7153
|
+
visible?: boolean | undefined;
|
|
7154
|
+
transform?: {
|
|
7155
|
+
x?: number | undefined;
|
|
7156
|
+
y?: number | undefined;
|
|
7157
|
+
width?: number | undefined;
|
|
7158
|
+
height?: number | undefined;
|
|
7159
|
+
scaleX?: number | undefined;
|
|
7160
|
+
scaleY?: number | undefined;
|
|
7161
|
+
rotation?: number | undefined;
|
|
7162
|
+
pivotX?: number | undefined;
|
|
7163
|
+
pivotY?: number | undefined;
|
|
7164
|
+
anchorMinX?: number | undefined;
|
|
7165
|
+
anchorMinY?: number | undefined;
|
|
7166
|
+
anchorMaxX?: number | undefined;
|
|
7167
|
+
anchorMaxY?: number | undefined;
|
|
7168
|
+
} | undefined;
|
|
7169
|
+
} | undefined;
|
|
7170
|
+
} | undefined;
|
|
7171
|
+
layoutItem?: {
|
|
7172
|
+
flexBasis?: number | undefined;
|
|
7173
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
7174
|
+
flexGrow: number;
|
|
7175
|
+
flexShrink: number;
|
|
7176
|
+
} | undefined;
|
|
7177
|
+
bindingKey?: string | undefined;
|
|
7178
|
+
sounds?: {
|
|
7179
|
+
checkAssetId?: string | undefined;
|
|
7180
|
+
uncheckAssetId?: string | undefined;
|
|
7181
|
+
} | undefined;
|
|
7182
|
+
group?: string | undefined;
|
|
7183
|
+
id: string;
|
|
7184
|
+
type: "checkbox";
|
|
7185
|
+
parentId: string | null;
|
|
7186
|
+
children: string[];
|
|
7187
|
+
name: string;
|
|
7188
|
+
visible: boolean;
|
|
7189
|
+
transform: {
|
|
7190
|
+
pivotX?: number | undefined;
|
|
7191
|
+
pivotY?: number | undefined;
|
|
7192
|
+
anchorMinX?: number | undefined;
|
|
7193
|
+
anchorMinY?: number | undefined;
|
|
7194
|
+
anchorMaxX?: number | undefined;
|
|
7195
|
+
anchorMaxY?: number | undefined;
|
|
7196
|
+
x: number;
|
|
7197
|
+
y: number;
|
|
7198
|
+
width: number;
|
|
7199
|
+
height: number;
|
|
7200
|
+
scaleX: number;
|
|
7201
|
+
scaleY: number;
|
|
7202
|
+
rotation: number;
|
|
7203
|
+
};
|
|
7204
|
+
states: {
|
|
7205
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
7206
|
+
checkedHoverAssetId?: string | undefined;
|
|
7207
|
+
uncheckedAssetId: string;
|
|
7208
|
+
checkedAssetId: string;
|
|
7209
|
+
};
|
|
7210
|
+
enabled: boolean;
|
|
7211
|
+
defaultChecked: boolean;
|
|
6119
7212
|
} | {
|
|
6120
7213
|
editorOnly?: boolean | undefined;
|
|
6121
7214
|
locked?: boolean | undefined;
|
|
@@ -6172,7 +7265,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6172
7265
|
flexGrow: number;
|
|
6173
7266
|
flexShrink: number;
|
|
6174
7267
|
} | undefined;
|
|
6175
|
-
|
|
7268
|
+
bindingKey?: string | undefined;
|
|
6176
7269
|
id: string;
|
|
6177
7270
|
type: "container";
|
|
6178
7271
|
parentId: string | null;
|
|
@@ -6241,7 +7334,76 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6241
7334
|
flexGrow: number;
|
|
6242
7335
|
flexShrink: number;
|
|
6243
7336
|
} | undefined;
|
|
6244
|
-
|
|
7337
|
+
bindingKey?: string | undefined;
|
|
7338
|
+
id: string;
|
|
7339
|
+
type: "mask";
|
|
7340
|
+
parentId: string | null;
|
|
7341
|
+
children: string[];
|
|
7342
|
+
name: string;
|
|
7343
|
+
visible: boolean;
|
|
7344
|
+
transform: {
|
|
7345
|
+
pivotX?: number | undefined;
|
|
7346
|
+
pivotY?: number | undefined;
|
|
7347
|
+
anchorMinX?: number | undefined;
|
|
7348
|
+
anchorMinY?: number | undefined;
|
|
7349
|
+
anchorMaxX?: number | undefined;
|
|
7350
|
+
anchorMaxY?: number | undefined;
|
|
7351
|
+
x: number;
|
|
7352
|
+
y: number;
|
|
7353
|
+
width: number;
|
|
7354
|
+
height: number;
|
|
7355
|
+
scaleX: number;
|
|
7356
|
+
scaleY: number;
|
|
7357
|
+
rotation: number;
|
|
7358
|
+
};
|
|
7359
|
+
} | {
|
|
7360
|
+
editorOnly?: boolean | undefined;
|
|
7361
|
+
locked?: boolean | undefined;
|
|
7362
|
+
layoutOverrides?: {
|
|
7363
|
+
desktop?: {
|
|
7364
|
+
visible?: boolean | undefined;
|
|
7365
|
+
transform?: {
|
|
7366
|
+
x?: number | undefined;
|
|
7367
|
+
y?: number | undefined;
|
|
7368
|
+
width?: number | undefined;
|
|
7369
|
+
height?: number | undefined;
|
|
7370
|
+
scaleX?: number | undefined;
|
|
7371
|
+
scaleY?: number | undefined;
|
|
7372
|
+
rotation?: number | undefined;
|
|
7373
|
+
pivotX?: number | undefined;
|
|
7374
|
+
pivotY?: number | undefined;
|
|
7375
|
+
anchorMinX?: number | undefined;
|
|
7376
|
+
anchorMinY?: number | undefined;
|
|
7377
|
+
anchorMaxX?: number | undefined;
|
|
7378
|
+
anchorMaxY?: number | undefined;
|
|
7379
|
+
} | undefined;
|
|
7380
|
+
} | undefined;
|
|
7381
|
+
mobile?: {
|
|
7382
|
+
visible?: boolean | undefined;
|
|
7383
|
+
transform?: {
|
|
7384
|
+
x?: number | undefined;
|
|
7385
|
+
y?: number | undefined;
|
|
7386
|
+
width?: number | undefined;
|
|
7387
|
+
height?: number | undefined;
|
|
7388
|
+
scaleX?: number | undefined;
|
|
7389
|
+
scaleY?: number | undefined;
|
|
7390
|
+
rotation?: number | undefined;
|
|
7391
|
+
pivotX?: number | undefined;
|
|
7392
|
+
pivotY?: number | undefined;
|
|
7393
|
+
anchorMinX?: number | undefined;
|
|
7394
|
+
anchorMinY?: number | undefined;
|
|
7395
|
+
anchorMaxX?: number | undefined;
|
|
7396
|
+
anchorMaxY?: number | undefined;
|
|
7397
|
+
} | undefined;
|
|
7398
|
+
} | undefined;
|
|
7399
|
+
} | undefined;
|
|
7400
|
+
layoutItem?: {
|
|
7401
|
+
flexBasis?: number | undefined;
|
|
7402
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
7403
|
+
flexGrow: number;
|
|
7404
|
+
flexShrink: number;
|
|
7405
|
+
} | undefined;
|
|
7406
|
+
bindingKey?: string | undefined;
|
|
6245
7407
|
backgroundAssetId?: string | undefined;
|
|
6246
7408
|
id: string;
|
|
6247
7409
|
type: "horizontal-layout";
|
|
@@ -6360,7 +7522,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6360
7522
|
flexGrow: number;
|
|
6361
7523
|
flexShrink: number;
|
|
6362
7524
|
} | undefined;
|
|
6363
|
-
|
|
7525
|
+
bindingKey?: string | undefined;
|
|
6364
7526
|
backgroundAssetId?: string | undefined;
|
|
6365
7527
|
id: string;
|
|
6366
7528
|
type: "vertical-layout";
|
|
@@ -6479,7 +7641,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6479
7641
|
flexGrow: number;
|
|
6480
7642
|
flexShrink: number;
|
|
6481
7643
|
} | undefined;
|
|
6482
|
-
|
|
7644
|
+
bindingKey?: string | undefined;
|
|
6483
7645
|
backgroundAssetId?: string | undefined;
|
|
6484
7646
|
id: string;
|
|
6485
7647
|
type: "grid-layout";
|
|
@@ -6604,8 +7766,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6604
7766
|
flexGrow: number;
|
|
6605
7767
|
flexShrink: number;
|
|
6606
7768
|
} | undefined;
|
|
6607
|
-
|
|
7769
|
+
bindingKey?: string | undefined;
|
|
7770
|
+
assetId?: string | undefined;
|
|
6608
7771
|
opacity?: number | undefined;
|
|
7772
|
+
nineSlice?: {
|
|
7773
|
+
left: number;
|
|
7774
|
+
right: number;
|
|
7775
|
+
top: number;
|
|
7776
|
+
bottom: number;
|
|
7777
|
+
} | undefined;
|
|
6609
7778
|
id: string;
|
|
6610
7779
|
type: "image";
|
|
6611
7780
|
parentId: string | null;
|
|
@@ -6627,7 +7796,6 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6627
7796
|
scaleY: number;
|
|
6628
7797
|
rotation: number;
|
|
6629
7798
|
};
|
|
6630
|
-
assetId: string;
|
|
6631
7799
|
} | {
|
|
6632
7800
|
editorOnly?: boolean | undefined;
|
|
6633
7801
|
locked?: boolean | undefined;
|
|
@@ -6675,7 +7843,8 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6675
7843
|
flexGrow: number;
|
|
6676
7844
|
flexShrink: number;
|
|
6677
7845
|
} | undefined;
|
|
6678
|
-
|
|
7846
|
+
bindingKey?: string | undefined;
|
|
7847
|
+
textKey?: string | undefined;
|
|
6679
7848
|
style?: {
|
|
6680
7849
|
fontAssetId?: string | undefined;
|
|
6681
7850
|
lineHeight?: number | undefined;
|
|
@@ -6694,6 +7863,44 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6694
7863
|
breakWords: boolean;
|
|
6695
7864
|
letterSpacing: number;
|
|
6696
7865
|
} | undefined;
|
|
7866
|
+
textStyleOverrides?: {
|
|
7867
|
+
desktop?: {
|
|
7868
|
+
fontAssetId?: string | undefined;
|
|
7869
|
+
fontFamily?: string | undefined;
|
|
7870
|
+
fontSize?: number | undefined;
|
|
7871
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
7872
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
7873
|
+
fill?: string | undefined;
|
|
7874
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
7875
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
7876
|
+
wordWrap?: boolean | undefined;
|
|
7877
|
+
breakWords?: boolean | undefined;
|
|
7878
|
+
lineHeight?: number | undefined;
|
|
7879
|
+
letterSpacing?: number | undefined;
|
|
7880
|
+
stroke?: {
|
|
7881
|
+
width: number;
|
|
7882
|
+
color: string;
|
|
7883
|
+
} | undefined;
|
|
7884
|
+
} | undefined;
|
|
7885
|
+
mobile?: {
|
|
7886
|
+
fontAssetId?: string | undefined;
|
|
7887
|
+
fontFamily?: string | undefined;
|
|
7888
|
+
fontSize?: number | undefined;
|
|
7889
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
7890
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
7891
|
+
fill?: string | undefined;
|
|
7892
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
7893
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
7894
|
+
wordWrap?: boolean | undefined;
|
|
7895
|
+
breakWords?: boolean | undefined;
|
|
7896
|
+
lineHeight?: number | undefined;
|
|
7897
|
+
letterSpacing?: number | undefined;
|
|
7898
|
+
stroke?: {
|
|
7899
|
+
width: number;
|
|
7900
|
+
color: string;
|
|
7901
|
+
} | undefined;
|
|
7902
|
+
} | undefined;
|
|
7903
|
+
} | undefined;
|
|
6697
7904
|
id: string;
|
|
6698
7905
|
type: "text";
|
|
6699
7906
|
parentId: string | null;
|
|
@@ -6763,11 +7970,25 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6763
7970
|
flexGrow: number;
|
|
6764
7971
|
flexShrink: number;
|
|
6765
7972
|
} | undefined;
|
|
6766
|
-
|
|
7973
|
+
bindingKey?: string | undefined;
|
|
6767
7974
|
animation?: string | undefined;
|
|
6768
7975
|
autoplay?: boolean | undefined;
|
|
6769
7976
|
loop?: boolean | undefined;
|
|
6770
7977
|
animationSpeed?: number | undefined;
|
|
7978
|
+
spineOverrides?: {
|
|
7979
|
+
desktop?: {
|
|
7980
|
+
animation?: string | null | undefined;
|
|
7981
|
+
autoplay?: boolean | undefined;
|
|
7982
|
+
loop?: boolean | undefined;
|
|
7983
|
+
animationSpeed?: number | undefined;
|
|
7984
|
+
} | undefined;
|
|
7985
|
+
mobile?: {
|
|
7986
|
+
animation?: string | null | undefined;
|
|
7987
|
+
autoplay?: boolean | undefined;
|
|
7988
|
+
loop?: boolean | undefined;
|
|
7989
|
+
animationSpeed?: number | undefined;
|
|
7990
|
+
} | undefined;
|
|
7991
|
+
} | undefined;
|
|
6771
7992
|
id: string;
|
|
6772
7993
|
type: "spine";
|
|
6773
7994
|
parentId: string | null;
|
|
@@ -6837,7 +8058,13 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6837
8058
|
flexGrow: number;
|
|
6838
8059
|
flexShrink: number;
|
|
6839
8060
|
} | undefined;
|
|
6840
|
-
|
|
8061
|
+
bindingKey?: string | undefined;
|
|
8062
|
+
nineSlice?: {
|
|
8063
|
+
left: number;
|
|
8064
|
+
right: number;
|
|
8065
|
+
top: number;
|
|
8066
|
+
bottom: number;
|
|
8067
|
+
} | undefined;
|
|
6841
8068
|
sounds?: {
|
|
6842
8069
|
hoverAssetId?: string | undefined;
|
|
6843
8070
|
pressAssetId?: string | undefined;
|
|
@@ -6884,7 +8111,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6884
8111
|
normalAssetId: string;
|
|
6885
8112
|
};
|
|
6886
8113
|
enabled: boolean;
|
|
6887
|
-
} |
|
|
8114
|
+
} | {
|
|
6888
8115
|
editorOnly?: boolean | undefined;
|
|
6889
8116
|
locked?: boolean | undefined;
|
|
6890
8117
|
layoutOverrides?: {
|
|
@@ -6931,9 +8158,14 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6931
8158
|
flexGrow: number;
|
|
6932
8159
|
flexShrink: number;
|
|
6933
8160
|
} | undefined;
|
|
6934
|
-
|
|
8161
|
+
bindingKey?: string | undefined;
|
|
8162
|
+
sounds?: {
|
|
8163
|
+
checkAssetId?: string | undefined;
|
|
8164
|
+
uncheckAssetId?: string | undefined;
|
|
8165
|
+
} | undefined;
|
|
8166
|
+
group?: string | undefined;
|
|
6935
8167
|
id: string;
|
|
6936
|
-
type: "
|
|
8168
|
+
type: "checkbox";
|
|
6937
8169
|
parentId: string | null;
|
|
6938
8170
|
children: string[];
|
|
6939
8171
|
name: string;
|
|
@@ -6953,21 +8185,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6953
8185
|
scaleY: number;
|
|
6954
8186
|
rotation: number;
|
|
6955
8187
|
};
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
right: number;
|
|
6962
|
-
top: number;
|
|
6963
|
-
bottom: number;
|
|
6964
|
-
};
|
|
6965
|
-
direction: "horizontal" | "vertical" | "both";
|
|
6966
|
-
itemSpacing: number;
|
|
6967
|
-
cornerRadius: number;
|
|
6968
|
-
easingEnabled: boolean;
|
|
8188
|
+
states: {
|
|
8189
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
8190
|
+
checkedHoverAssetId?: string | undefined;
|
|
8191
|
+
uncheckedAssetId: string;
|
|
8192
|
+
checkedAssetId: string;
|
|
6969
8193
|
};
|
|
6970
|
-
|
|
8194
|
+
enabled: boolean;
|
|
8195
|
+
defaultChecked: boolean;
|
|
8196
|
+
} | /*elided*/ any | {
|
|
6971
8197
|
editorOnly?: boolean | undefined;
|
|
6972
8198
|
locked?: boolean | undefined;
|
|
6973
8199
|
layoutOverrides?: {
|
|
@@ -7008,17 +8234,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7008
8234
|
} | undefined;
|
|
7009
8235
|
} | undefined;
|
|
7010
8236
|
} | undefined;
|
|
7011
|
-
maxLength?: number | undefined;
|
|
7012
8237
|
layoutItem?: {
|
|
7013
8238
|
flexBasis?: number | undefined;
|
|
7014
8239
|
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
7015
8240
|
flexGrow: number;
|
|
7016
8241
|
flexShrink: number;
|
|
7017
8242
|
} | undefined;
|
|
7018
|
-
|
|
7019
|
-
backgroundAssetId?: string | undefined;
|
|
8243
|
+
bindingKey?: string | undefined;
|
|
7020
8244
|
id: string;
|
|
7021
|
-
type: "
|
|
8245
|
+
type: "scroll-view";
|
|
7022
8246
|
parentId: string | null;
|
|
7023
8247
|
children: string[];
|
|
7024
8248
|
name: string;
|
|
@@ -7038,23 +8262,108 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7038
8262
|
scaleY: number;
|
|
7039
8263
|
rotation: number;
|
|
7040
8264
|
};
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
8265
|
+
scrollView: {
|
|
8266
|
+
backgroundColor?: string | undefined;
|
|
8267
|
+
shiftWheelHorizontal?: boolean | undefined;
|
|
8268
|
+
padding: {
|
|
8269
|
+
left: number;
|
|
8270
|
+
right: number;
|
|
8271
|
+
top: number;
|
|
8272
|
+
bottom: number;
|
|
8273
|
+
};
|
|
8274
|
+
direction: "horizontal" | "vertical" | "both";
|
|
8275
|
+
itemSpacing: number;
|
|
8276
|
+
cornerRadius: number;
|
|
8277
|
+
easingEnabled: boolean;
|
|
8278
|
+
};
|
|
8279
|
+
} | {
|
|
8280
|
+
editorOnly?: boolean | undefined;
|
|
8281
|
+
locked?: boolean | undefined;
|
|
8282
|
+
layoutOverrides?: {
|
|
8283
|
+
desktop?: {
|
|
8284
|
+
visible?: boolean | undefined;
|
|
8285
|
+
transform?: {
|
|
8286
|
+
x?: number | undefined;
|
|
8287
|
+
y?: number | undefined;
|
|
8288
|
+
width?: number | undefined;
|
|
8289
|
+
height?: number | undefined;
|
|
8290
|
+
scaleX?: number | undefined;
|
|
8291
|
+
scaleY?: number | undefined;
|
|
8292
|
+
rotation?: number | undefined;
|
|
8293
|
+
pivotX?: number | undefined;
|
|
8294
|
+
pivotY?: number | undefined;
|
|
8295
|
+
anchorMinX?: number | undefined;
|
|
8296
|
+
anchorMinY?: number | undefined;
|
|
8297
|
+
anchorMaxX?: number | undefined;
|
|
8298
|
+
anchorMaxY?: number | undefined;
|
|
8299
|
+
} | undefined;
|
|
8300
|
+
} | undefined;
|
|
8301
|
+
mobile?: {
|
|
8302
|
+
visible?: boolean | undefined;
|
|
8303
|
+
transform?: {
|
|
8304
|
+
x?: number | undefined;
|
|
8305
|
+
y?: number | undefined;
|
|
8306
|
+
width?: number | undefined;
|
|
8307
|
+
height?: number | undefined;
|
|
8308
|
+
scaleX?: number | undefined;
|
|
8309
|
+
scaleY?: number | undefined;
|
|
8310
|
+
rotation?: number | undefined;
|
|
8311
|
+
pivotX?: number | undefined;
|
|
8312
|
+
pivotY?: number | undefined;
|
|
8313
|
+
anchorMinX?: number | undefined;
|
|
8314
|
+
anchorMinY?: number | undefined;
|
|
8315
|
+
anchorMaxX?: number | undefined;
|
|
8316
|
+
anchorMaxY?: number | undefined;
|
|
8317
|
+
} | undefined;
|
|
8318
|
+
} | undefined;
|
|
8319
|
+
} | undefined;
|
|
8320
|
+
maxLength?: number | undefined;
|
|
8321
|
+
layoutItem?: {
|
|
8322
|
+
flexBasis?: number | undefined;
|
|
8323
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
8324
|
+
flexGrow: number;
|
|
8325
|
+
flexShrink: number;
|
|
8326
|
+
} | undefined;
|
|
8327
|
+
bindingKey?: string | undefined;
|
|
8328
|
+
backgroundAssetId?: string | undefined;
|
|
8329
|
+
id: string;
|
|
8330
|
+
type: "input";
|
|
8331
|
+
parentId: string | null;
|
|
8332
|
+
children: string[];
|
|
8333
|
+
name: string;
|
|
8334
|
+
visible: boolean;
|
|
8335
|
+
transform: {
|
|
8336
|
+
pivotX?: number | undefined;
|
|
8337
|
+
pivotY?: number | undefined;
|
|
8338
|
+
anchorMinX?: number | undefined;
|
|
8339
|
+
anchorMinY?: number | undefined;
|
|
8340
|
+
anchorMaxX?: number | undefined;
|
|
8341
|
+
anchorMaxY?: number | undefined;
|
|
8342
|
+
x: number;
|
|
8343
|
+
y: number;
|
|
8344
|
+
width: number;
|
|
8345
|
+
height: number;
|
|
8346
|
+
scaleX: number;
|
|
8347
|
+
scaleY: number;
|
|
8348
|
+
rotation: number;
|
|
8349
|
+
};
|
|
8350
|
+
padding: {
|
|
8351
|
+
left: number;
|
|
8352
|
+
right: number;
|
|
8353
|
+
top: number;
|
|
8354
|
+
bottom: number;
|
|
8355
|
+
};
|
|
8356
|
+
align: "center" | "left" | "right";
|
|
8357
|
+
placeholder: string;
|
|
8358
|
+
defaultValue: string;
|
|
8359
|
+
secure: boolean;
|
|
8360
|
+
cleanOnFocus: boolean;
|
|
8361
|
+
clipText: boolean;
|
|
8362
|
+
textStyle: {
|
|
8363
|
+
fontAssetId?: string | undefined;
|
|
8364
|
+
lineHeight?: number | undefined;
|
|
8365
|
+
stroke?: {
|
|
8366
|
+
width: number;
|
|
7058
8367
|
color: string;
|
|
7059
8368
|
} | undefined;
|
|
7060
8369
|
fontFamily: string;
|
|
@@ -7115,7 +8424,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7115
8424
|
flexGrow: number;
|
|
7116
8425
|
flexShrink: number;
|
|
7117
8426
|
} | undefined;
|
|
7118
|
-
|
|
8427
|
+
bindingKey?: string | undefined;
|
|
7119
8428
|
showValue?: boolean | undefined;
|
|
7120
8429
|
valueTextStyle?: {
|
|
7121
8430
|
fontAssetId?: string | undefined;
|
|
@@ -7216,7 +8525,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7216
8525
|
flexGrow: number;
|
|
7217
8526
|
flexShrink: number;
|
|
7218
8527
|
} | undefined;
|
|
7219
|
-
|
|
8528
|
+
bindingKey?: string | undefined;
|
|
7220
8529
|
id: string;
|
|
7221
8530
|
type: "progress-bar";
|
|
7222
8531
|
parentId: string | null;
|
|
@@ -7294,7 +8603,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7294
8603
|
flexGrow: number;
|
|
7295
8604
|
flexShrink: number;
|
|
7296
8605
|
} | undefined;
|
|
7297
|
-
|
|
8606
|
+
bindingKey?: string | undefined;
|
|
7298
8607
|
id: string;
|
|
7299
8608
|
type: "particle-emitter";
|
|
7300
8609
|
parentId: string | null;
|
|
@@ -7364,7 +8673,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7364
8673
|
flexGrow: number;
|
|
7365
8674
|
flexShrink: number;
|
|
7366
8675
|
} | undefined;
|
|
7367
|
-
|
|
8676
|
+
bindingKey?: string | undefined;
|
|
7368
8677
|
id: string;
|
|
7369
8678
|
type: "prefab-instance";
|
|
7370
8679
|
parentId: string | null;
|
|
@@ -7434,7 +8743,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7434
8743
|
flexGrow: number;
|
|
7435
8744
|
flexShrink: number;
|
|
7436
8745
|
} | undefined;
|
|
7437
|
-
|
|
8746
|
+
bindingKey?: string | undefined;
|
|
7438
8747
|
id: string;
|
|
7439
8748
|
type: "scroll-view";
|
|
7440
8749
|
parentId: string | null;
|
|
@@ -7518,7 +8827,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7518
8827
|
flexGrow: number;
|
|
7519
8828
|
flexShrink: number;
|
|
7520
8829
|
} | undefined;
|
|
7521
|
-
|
|
8830
|
+
bindingKey?: string | undefined;
|
|
7522
8831
|
backgroundAssetId?: string | undefined;
|
|
7523
8832
|
id: string;
|
|
7524
8833
|
type: "input";
|
|
@@ -7618,7 +8927,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7618
8927
|
flexGrow: number;
|
|
7619
8928
|
flexShrink: number;
|
|
7620
8929
|
} | undefined;
|
|
7621
|
-
|
|
8930
|
+
bindingKey?: string | undefined;
|
|
7622
8931
|
showValue?: boolean | undefined;
|
|
7623
8932
|
valueTextStyle?: {
|
|
7624
8933
|
fontAssetId?: string | undefined;
|
|
@@ -7719,7 +9028,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7719
9028
|
flexGrow: number;
|
|
7720
9029
|
flexShrink: number;
|
|
7721
9030
|
} | undefined;
|
|
7722
|
-
|
|
9031
|
+
bindingKey?: string | undefined;
|
|
7723
9032
|
id: string;
|
|
7724
9033
|
type: "progress-bar";
|
|
7725
9034
|
parentId: string | null;
|
|
@@ -7797,7 +9106,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7797
9106
|
flexGrow: number;
|
|
7798
9107
|
flexShrink: number;
|
|
7799
9108
|
} | undefined;
|
|
7800
|
-
|
|
9109
|
+
bindingKey?: string | undefined;
|
|
7801
9110
|
id: string;
|
|
7802
9111
|
type: "particle-emitter";
|
|
7803
9112
|
parentId: string | null;
|
|
@@ -7830,7 +9139,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7830
9139
|
}>;
|
|
7831
9140
|
export type PrefabDefinition = Static<typeof PrefabDefinitionSchema>;
|
|
7832
9141
|
export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<{
|
|
7833
|
-
schemaVersion: import("@sinclair/typebox").TLiteral<
|
|
9142
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<22>;
|
|
7834
9143
|
project: import("@sinclair/typebox").TObject<{
|
|
7835
9144
|
id: import("@sinclair/typebox").TString;
|
|
7836
9145
|
name: import("@sinclair/typebox").TString;
|
|
@@ -7841,6 +9150,14 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
7841
9150
|
mobileMaxAspectRatio: import("@sinclair/typebox").TNumber;
|
|
7842
9151
|
}>;
|
|
7843
9152
|
}>;
|
|
9153
|
+
localization: import("@sinclair/typebox").TObject<{
|
|
9154
|
+
baseLocale: import("@sinclair/typebox").TString;
|
|
9155
|
+
locales: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
9156
|
+
id: import("@sinclair/typebox").TString;
|
|
9157
|
+
label: import("@sinclair/typebox").TString;
|
|
9158
|
+
}>>;
|
|
9159
|
+
entries: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
9160
|
+
}>;
|
|
7844
9161
|
assets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
7845
9162
|
id: import("@sinclair/typebox").TString;
|
|
7846
9163
|
name: import("@sinclair/typebox").TString;
|
|
@@ -8048,7 +9365,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8048
9365
|
flexGrow: number;
|
|
8049
9366
|
flexShrink: number;
|
|
8050
9367
|
} | undefined;
|
|
8051
|
-
|
|
9368
|
+
bindingKey?: string | undefined;
|
|
8052
9369
|
id: string;
|
|
8053
9370
|
type: "container";
|
|
8054
9371
|
parentId: string | null;
|
|
@@ -8117,7 +9434,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8117
9434
|
flexGrow: number;
|
|
8118
9435
|
flexShrink: number;
|
|
8119
9436
|
} | undefined;
|
|
8120
|
-
|
|
9437
|
+
bindingKey?: string | undefined;
|
|
9438
|
+
id: string;
|
|
9439
|
+
type: "mask";
|
|
9440
|
+
parentId: string | null;
|
|
9441
|
+
children: string[];
|
|
9442
|
+
name: string;
|
|
9443
|
+
visible: boolean;
|
|
9444
|
+
transform: {
|
|
9445
|
+
pivotX?: number | undefined;
|
|
9446
|
+
pivotY?: number | undefined;
|
|
9447
|
+
anchorMinX?: number | undefined;
|
|
9448
|
+
anchorMinY?: number | undefined;
|
|
9449
|
+
anchorMaxX?: number | undefined;
|
|
9450
|
+
anchorMaxY?: number | undefined;
|
|
9451
|
+
x: number;
|
|
9452
|
+
y: number;
|
|
9453
|
+
width: number;
|
|
9454
|
+
height: number;
|
|
9455
|
+
scaleX: number;
|
|
9456
|
+
scaleY: number;
|
|
9457
|
+
rotation: number;
|
|
9458
|
+
};
|
|
9459
|
+
} | {
|
|
9460
|
+
editorOnly?: boolean | undefined;
|
|
9461
|
+
locked?: boolean | undefined;
|
|
9462
|
+
layoutOverrides?: {
|
|
9463
|
+
desktop?: {
|
|
9464
|
+
visible?: boolean | undefined;
|
|
9465
|
+
transform?: {
|
|
9466
|
+
x?: number | undefined;
|
|
9467
|
+
y?: number | undefined;
|
|
9468
|
+
width?: number | undefined;
|
|
9469
|
+
height?: number | undefined;
|
|
9470
|
+
scaleX?: number | undefined;
|
|
9471
|
+
scaleY?: number | undefined;
|
|
9472
|
+
rotation?: number | undefined;
|
|
9473
|
+
pivotX?: number | undefined;
|
|
9474
|
+
pivotY?: number | undefined;
|
|
9475
|
+
anchorMinX?: number | undefined;
|
|
9476
|
+
anchorMinY?: number | undefined;
|
|
9477
|
+
anchorMaxX?: number | undefined;
|
|
9478
|
+
anchorMaxY?: number | undefined;
|
|
9479
|
+
} | undefined;
|
|
9480
|
+
} | undefined;
|
|
9481
|
+
mobile?: {
|
|
9482
|
+
visible?: boolean | undefined;
|
|
9483
|
+
transform?: {
|
|
9484
|
+
x?: number | undefined;
|
|
9485
|
+
y?: number | undefined;
|
|
9486
|
+
width?: number | undefined;
|
|
9487
|
+
height?: number | undefined;
|
|
9488
|
+
scaleX?: number | undefined;
|
|
9489
|
+
scaleY?: number | undefined;
|
|
9490
|
+
rotation?: number | undefined;
|
|
9491
|
+
pivotX?: number | undefined;
|
|
9492
|
+
pivotY?: number | undefined;
|
|
9493
|
+
anchorMinX?: number | undefined;
|
|
9494
|
+
anchorMinY?: number | undefined;
|
|
9495
|
+
anchorMaxX?: number | undefined;
|
|
9496
|
+
anchorMaxY?: number | undefined;
|
|
9497
|
+
} | undefined;
|
|
9498
|
+
} | undefined;
|
|
9499
|
+
} | undefined;
|
|
9500
|
+
layoutItem?: {
|
|
9501
|
+
flexBasis?: number | undefined;
|
|
9502
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
9503
|
+
flexGrow: number;
|
|
9504
|
+
flexShrink: number;
|
|
9505
|
+
} | undefined;
|
|
9506
|
+
bindingKey?: string | undefined;
|
|
8121
9507
|
backgroundAssetId?: string | undefined;
|
|
8122
9508
|
id: string;
|
|
8123
9509
|
type: "horizontal-layout";
|
|
@@ -8236,7 +9622,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8236
9622
|
flexGrow: number;
|
|
8237
9623
|
flexShrink: number;
|
|
8238
9624
|
} | undefined;
|
|
8239
|
-
|
|
9625
|
+
bindingKey?: string | undefined;
|
|
8240
9626
|
backgroundAssetId?: string | undefined;
|
|
8241
9627
|
id: string;
|
|
8242
9628
|
type: "vertical-layout";
|
|
@@ -8355,7 +9741,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8355
9741
|
flexGrow: number;
|
|
8356
9742
|
flexShrink: number;
|
|
8357
9743
|
} | undefined;
|
|
8358
|
-
|
|
9744
|
+
bindingKey?: string | undefined;
|
|
8359
9745
|
backgroundAssetId?: string | undefined;
|
|
8360
9746
|
id: string;
|
|
8361
9747
|
type: "grid-layout";
|
|
@@ -8480,8 +9866,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8480
9866
|
flexGrow: number;
|
|
8481
9867
|
flexShrink: number;
|
|
8482
9868
|
} | undefined;
|
|
8483
|
-
|
|
9869
|
+
bindingKey?: string | undefined;
|
|
9870
|
+
assetId?: string | undefined;
|
|
8484
9871
|
opacity?: number | undefined;
|
|
9872
|
+
nineSlice?: {
|
|
9873
|
+
left: number;
|
|
9874
|
+
right: number;
|
|
9875
|
+
top: number;
|
|
9876
|
+
bottom: number;
|
|
9877
|
+
} | undefined;
|
|
8485
9878
|
id: string;
|
|
8486
9879
|
type: "image";
|
|
8487
9880
|
parentId: string | null;
|
|
@@ -8503,7 +9896,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8503
9896
|
scaleY: number;
|
|
8504
9897
|
rotation: number;
|
|
8505
9898
|
};
|
|
8506
|
-
assetId: string;
|
|
8507
9899
|
} | {
|
|
8508
9900
|
editorOnly?: boolean | undefined;
|
|
8509
9901
|
locked?: boolean | undefined;
|
|
@@ -8551,7 +9943,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8551
9943
|
flexGrow: number;
|
|
8552
9944
|
flexShrink: number;
|
|
8553
9945
|
} | undefined;
|
|
8554
|
-
|
|
9946
|
+
bindingKey?: string | undefined;
|
|
9947
|
+
textKey?: string | undefined;
|
|
8555
9948
|
style?: {
|
|
8556
9949
|
fontAssetId?: string | undefined;
|
|
8557
9950
|
lineHeight?: number | undefined;
|
|
@@ -8570,6 +9963,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8570
9963
|
breakWords: boolean;
|
|
8571
9964
|
letterSpacing: number;
|
|
8572
9965
|
} | undefined;
|
|
9966
|
+
textStyleOverrides?: {
|
|
9967
|
+
desktop?: {
|
|
9968
|
+
fontAssetId?: string | undefined;
|
|
9969
|
+
fontFamily?: string | undefined;
|
|
9970
|
+
fontSize?: number | undefined;
|
|
9971
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
9972
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
9973
|
+
fill?: string | undefined;
|
|
9974
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
9975
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
9976
|
+
wordWrap?: boolean | undefined;
|
|
9977
|
+
breakWords?: boolean | undefined;
|
|
9978
|
+
lineHeight?: number | undefined;
|
|
9979
|
+
letterSpacing?: number | undefined;
|
|
9980
|
+
stroke?: {
|
|
9981
|
+
width: number;
|
|
9982
|
+
color: string;
|
|
9983
|
+
} | undefined;
|
|
9984
|
+
} | undefined;
|
|
9985
|
+
mobile?: {
|
|
9986
|
+
fontAssetId?: string | undefined;
|
|
9987
|
+
fontFamily?: string | undefined;
|
|
9988
|
+
fontSize?: number | undefined;
|
|
9989
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
9990
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
9991
|
+
fill?: string | undefined;
|
|
9992
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
9993
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
9994
|
+
wordWrap?: boolean | undefined;
|
|
9995
|
+
breakWords?: boolean | undefined;
|
|
9996
|
+
lineHeight?: number | undefined;
|
|
9997
|
+
letterSpacing?: number | undefined;
|
|
9998
|
+
stroke?: {
|
|
9999
|
+
width: number;
|
|
10000
|
+
color: string;
|
|
10001
|
+
} | undefined;
|
|
10002
|
+
} | undefined;
|
|
10003
|
+
} | undefined;
|
|
8573
10004
|
id: string;
|
|
8574
10005
|
type: "text";
|
|
8575
10006
|
parentId: string | null;
|
|
@@ -8639,11 +10070,25 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8639
10070
|
flexGrow: number;
|
|
8640
10071
|
flexShrink: number;
|
|
8641
10072
|
} | undefined;
|
|
8642
|
-
|
|
10073
|
+
bindingKey?: string | undefined;
|
|
8643
10074
|
animation?: string | undefined;
|
|
8644
10075
|
autoplay?: boolean | undefined;
|
|
8645
10076
|
loop?: boolean | undefined;
|
|
8646
10077
|
animationSpeed?: number | undefined;
|
|
10078
|
+
spineOverrides?: {
|
|
10079
|
+
desktop?: {
|
|
10080
|
+
animation?: string | null | undefined;
|
|
10081
|
+
autoplay?: boolean | undefined;
|
|
10082
|
+
loop?: boolean | undefined;
|
|
10083
|
+
animationSpeed?: number | undefined;
|
|
10084
|
+
} | undefined;
|
|
10085
|
+
mobile?: {
|
|
10086
|
+
animation?: string | null | undefined;
|
|
10087
|
+
autoplay?: boolean | undefined;
|
|
10088
|
+
loop?: boolean | undefined;
|
|
10089
|
+
animationSpeed?: number | undefined;
|
|
10090
|
+
} | undefined;
|
|
10091
|
+
} | undefined;
|
|
8647
10092
|
id: string;
|
|
8648
10093
|
type: "spine";
|
|
8649
10094
|
parentId: string | null;
|
|
@@ -8713,7 +10158,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8713
10158
|
flexGrow: number;
|
|
8714
10159
|
flexShrink: number;
|
|
8715
10160
|
} | undefined;
|
|
8716
|
-
|
|
10161
|
+
bindingKey?: string | undefined;
|
|
10162
|
+
nineSlice?: {
|
|
10163
|
+
left: number;
|
|
10164
|
+
right: number;
|
|
10165
|
+
top: number;
|
|
10166
|
+
bottom: number;
|
|
10167
|
+
} | undefined;
|
|
8717
10168
|
sounds?: {
|
|
8718
10169
|
hoverAssetId?: string | undefined;
|
|
8719
10170
|
pressAssetId?: string | undefined;
|
|
@@ -8763,43 +10214,125 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8763
10214
|
} | {
|
|
8764
10215
|
editorOnly?: boolean | undefined;
|
|
8765
10216
|
locked?: boolean | undefined;
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
scaleX?: number | undefined;
|
|
8784
|
-
scaleY?: number | undefined;
|
|
8785
|
-
rotation?: number | undefined;
|
|
8786
|
-
pivotX?: number | undefined;
|
|
8787
|
-
pivotY?: number | undefined;
|
|
8788
|
-
anchorMinX?: number | undefined;
|
|
8789
|
-
anchorMinY?: number | undefined;
|
|
8790
|
-
anchorMaxX?: number | undefined;
|
|
8791
|
-
anchorMaxY?: number | undefined;
|
|
8792
|
-
} | undefined;
|
|
10217
|
+
layoutOverrides?: {
|
|
10218
|
+
desktop?: {
|
|
10219
|
+
visible?: boolean | undefined;
|
|
10220
|
+
transform?: {
|
|
10221
|
+
x?: number | undefined;
|
|
10222
|
+
y?: number | undefined;
|
|
10223
|
+
width?: number | undefined;
|
|
10224
|
+
height?: number | undefined;
|
|
10225
|
+
scaleX?: number | undefined;
|
|
10226
|
+
scaleY?: number | undefined;
|
|
10227
|
+
rotation?: number | undefined;
|
|
10228
|
+
pivotX?: number | undefined;
|
|
10229
|
+
pivotY?: number | undefined;
|
|
10230
|
+
anchorMinX?: number | undefined;
|
|
10231
|
+
anchorMinY?: number | undefined;
|
|
10232
|
+
anchorMaxX?: number | undefined;
|
|
10233
|
+
anchorMaxY?: number | undefined;
|
|
8793
10234
|
} | undefined;
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
10235
|
+
} | undefined;
|
|
10236
|
+
mobile?: {
|
|
10237
|
+
visible?: boolean | undefined;
|
|
10238
|
+
transform?: {
|
|
10239
|
+
x?: number | undefined;
|
|
10240
|
+
y?: number | undefined;
|
|
10241
|
+
width?: number | undefined;
|
|
10242
|
+
height?: number | undefined;
|
|
10243
|
+
scaleX?: number | undefined;
|
|
10244
|
+
scaleY?: number | undefined;
|
|
10245
|
+
rotation?: number | undefined;
|
|
10246
|
+
pivotX?: number | undefined;
|
|
10247
|
+
pivotY?: number | undefined;
|
|
10248
|
+
anchorMinX?: number | undefined;
|
|
10249
|
+
anchorMinY?: number | undefined;
|
|
10250
|
+
anchorMaxX?: number | undefined;
|
|
10251
|
+
anchorMaxY?: number | undefined;
|
|
10252
|
+
} | undefined;
|
|
10253
|
+
} | undefined;
|
|
10254
|
+
} | undefined;
|
|
10255
|
+
layoutItem?: {
|
|
10256
|
+
flexBasis?: number | undefined;
|
|
10257
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
10258
|
+
flexGrow: number;
|
|
10259
|
+
flexShrink: number;
|
|
10260
|
+
} | undefined;
|
|
10261
|
+
bindingKey?: string | undefined;
|
|
10262
|
+
sounds?: {
|
|
10263
|
+
checkAssetId?: string | undefined;
|
|
10264
|
+
uncheckAssetId?: string | undefined;
|
|
10265
|
+
} | undefined;
|
|
10266
|
+
group?: string | undefined;
|
|
10267
|
+
id: string;
|
|
10268
|
+
type: "checkbox";
|
|
10269
|
+
parentId: string | null;
|
|
10270
|
+
children: string[];
|
|
10271
|
+
name: string;
|
|
10272
|
+
visible: boolean;
|
|
10273
|
+
transform: {
|
|
10274
|
+
pivotX?: number | undefined;
|
|
10275
|
+
pivotY?: number | undefined;
|
|
10276
|
+
anchorMinX?: number | undefined;
|
|
10277
|
+
anchorMinY?: number | undefined;
|
|
10278
|
+
anchorMaxX?: number | undefined;
|
|
10279
|
+
anchorMaxY?: number | undefined;
|
|
10280
|
+
x: number;
|
|
10281
|
+
y: number;
|
|
10282
|
+
width: number;
|
|
10283
|
+
height: number;
|
|
10284
|
+
scaleX: number;
|
|
10285
|
+
scaleY: number;
|
|
10286
|
+
rotation: number;
|
|
10287
|
+
};
|
|
10288
|
+
states: {
|
|
10289
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
10290
|
+
checkedHoverAssetId?: string | undefined;
|
|
10291
|
+
uncheckedAssetId: string;
|
|
10292
|
+
checkedAssetId: string;
|
|
10293
|
+
};
|
|
10294
|
+
enabled: boolean;
|
|
10295
|
+
defaultChecked: boolean;
|
|
10296
|
+
} | {
|
|
10297
|
+
editorOnly?: boolean | undefined;
|
|
10298
|
+
locked?: boolean | undefined;
|
|
10299
|
+
propertyOverrides?: {
|
|
10300
|
+
nodeId: string;
|
|
10301
|
+
patch: {
|
|
10302
|
+
[x: string]: unknown;
|
|
10303
|
+
};
|
|
10304
|
+
}[] | undefined;
|
|
10305
|
+
locallyAddedNodes?: ({
|
|
10306
|
+
editorOnly?: boolean | undefined;
|
|
10307
|
+
locked?: boolean | undefined;
|
|
10308
|
+
layoutOverrides?: {
|
|
10309
|
+
desktop?: {
|
|
10310
|
+
visible?: boolean | undefined;
|
|
10311
|
+
transform?: {
|
|
10312
|
+
x?: number | undefined;
|
|
10313
|
+
y?: number | undefined;
|
|
10314
|
+
width?: number | undefined;
|
|
10315
|
+
height?: number | undefined;
|
|
10316
|
+
scaleX?: number | undefined;
|
|
10317
|
+
scaleY?: number | undefined;
|
|
10318
|
+
rotation?: number | undefined;
|
|
10319
|
+
pivotX?: number | undefined;
|
|
10320
|
+
pivotY?: number | undefined;
|
|
10321
|
+
anchorMinX?: number | undefined;
|
|
10322
|
+
anchorMinY?: number | undefined;
|
|
10323
|
+
anchorMaxX?: number | undefined;
|
|
10324
|
+
anchorMaxY?: number | undefined;
|
|
10325
|
+
} | undefined;
|
|
10326
|
+
} | undefined;
|
|
10327
|
+
mobile?: {
|
|
10328
|
+
visible?: boolean | undefined;
|
|
10329
|
+
transform?: {
|
|
10330
|
+
x?: number | undefined;
|
|
10331
|
+
y?: number | undefined;
|
|
10332
|
+
width?: number | undefined;
|
|
10333
|
+
height?: number | undefined;
|
|
10334
|
+
scaleX?: number | undefined;
|
|
10335
|
+
scaleY?: number | undefined;
|
|
8803
10336
|
rotation?: number | undefined;
|
|
8804
10337
|
pivotX?: number | undefined;
|
|
8805
10338
|
pivotY?: number | undefined;
|
|
@@ -8816,7 +10349,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8816
10349
|
flexGrow: number;
|
|
8817
10350
|
flexShrink: number;
|
|
8818
10351
|
} | undefined;
|
|
8819
|
-
|
|
10352
|
+
bindingKey?: string | undefined;
|
|
8820
10353
|
id: string;
|
|
8821
10354
|
type: "container";
|
|
8822
10355
|
parentId: string | null;
|
|
@@ -8885,7 +10418,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8885
10418
|
flexGrow: number;
|
|
8886
10419
|
flexShrink: number;
|
|
8887
10420
|
} | undefined;
|
|
8888
|
-
|
|
10421
|
+
bindingKey?: string | undefined;
|
|
10422
|
+
id: string;
|
|
10423
|
+
type: "mask";
|
|
10424
|
+
parentId: string | null;
|
|
10425
|
+
children: string[];
|
|
10426
|
+
name: string;
|
|
10427
|
+
visible: boolean;
|
|
10428
|
+
transform: {
|
|
10429
|
+
pivotX?: number | undefined;
|
|
10430
|
+
pivotY?: number | undefined;
|
|
10431
|
+
anchorMinX?: number | undefined;
|
|
10432
|
+
anchorMinY?: number | undefined;
|
|
10433
|
+
anchorMaxX?: number | undefined;
|
|
10434
|
+
anchorMaxY?: number | undefined;
|
|
10435
|
+
x: number;
|
|
10436
|
+
y: number;
|
|
10437
|
+
width: number;
|
|
10438
|
+
height: number;
|
|
10439
|
+
scaleX: number;
|
|
10440
|
+
scaleY: number;
|
|
10441
|
+
rotation: number;
|
|
10442
|
+
};
|
|
10443
|
+
} | {
|
|
10444
|
+
editorOnly?: boolean | undefined;
|
|
10445
|
+
locked?: boolean | undefined;
|
|
10446
|
+
layoutOverrides?: {
|
|
10447
|
+
desktop?: {
|
|
10448
|
+
visible?: boolean | undefined;
|
|
10449
|
+
transform?: {
|
|
10450
|
+
x?: number | undefined;
|
|
10451
|
+
y?: number | undefined;
|
|
10452
|
+
width?: number | undefined;
|
|
10453
|
+
height?: number | undefined;
|
|
10454
|
+
scaleX?: number | undefined;
|
|
10455
|
+
scaleY?: number | undefined;
|
|
10456
|
+
rotation?: number | undefined;
|
|
10457
|
+
pivotX?: number | undefined;
|
|
10458
|
+
pivotY?: number | undefined;
|
|
10459
|
+
anchorMinX?: number | undefined;
|
|
10460
|
+
anchorMinY?: number | undefined;
|
|
10461
|
+
anchorMaxX?: number | undefined;
|
|
10462
|
+
anchorMaxY?: number | undefined;
|
|
10463
|
+
} | undefined;
|
|
10464
|
+
} | undefined;
|
|
10465
|
+
mobile?: {
|
|
10466
|
+
visible?: boolean | undefined;
|
|
10467
|
+
transform?: {
|
|
10468
|
+
x?: number | undefined;
|
|
10469
|
+
y?: number | undefined;
|
|
10470
|
+
width?: number | undefined;
|
|
10471
|
+
height?: number | undefined;
|
|
10472
|
+
scaleX?: number | undefined;
|
|
10473
|
+
scaleY?: number | undefined;
|
|
10474
|
+
rotation?: number | undefined;
|
|
10475
|
+
pivotX?: number | undefined;
|
|
10476
|
+
pivotY?: number | undefined;
|
|
10477
|
+
anchorMinX?: number | undefined;
|
|
10478
|
+
anchorMinY?: number | undefined;
|
|
10479
|
+
anchorMaxX?: number | undefined;
|
|
10480
|
+
anchorMaxY?: number | undefined;
|
|
10481
|
+
} | undefined;
|
|
10482
|
+
} | undefined;
|
|
10483
|
+
} | undefined;
|
|
10484
|
+
layoutItem?: {
|
|
10485
|
+
flexBasis?: number | undefined;
|
|
10486
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
10487
|
+
flexGrow: number;
|
|
10488
|
+
flexShrink: number;
|
|
10489
|
+
} | undefined;
|
|
10490
|
+
bindingKey?: string | undefined;
|
|
8889
10491
|
backgroundAssetId?: string | undefined;
|
|
8890
10492
|
id: string;
|
|
8891
10493
|
type: "horizontal-layout";
|
|
@@ -9004,7 +10606,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9004
10606
|
flexGrow: number;
|
|
9005
10607
|
flexShrink: number;
|
|
9006
10608
|
} | undefined;
|
|
9007
|
-
|
|
10609
|
+
bindingKey?: string | undefined;
|
|
9008
10610
|
backgroundAssetId?: string | undefined;
|
|
9009
10611
|
id: string;
|
|
9010
10612
|
type: "vertical-layout";
|
|
@@ -9123,7 +10725,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9123
10725
|
flexGrow: number;
|
|
9124
10726
|
flexShrink: number;
|
|
9125
10727
|
} | undefined;
|
|
9126
|
-
|
|
10728
|
+
bindingKey?: string | undefined;
|
|
9127
10729
|
backgroundAssetId?: string | undefined;
|
|
9128
10730
|
id: string;
|
|
9129
10731
|
type: "grid-layout";
|
|
@@ -9248,8 +10850,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9248
10850
|
flexGrow: number;
|
|
9249
10851
|
flexShrink: number;
|
|
9250
10852
|
} | undefined;
|
|
9251
|
-
|
|
10853
|
+
bindingKey?: string | undefined;
|
|
10854
|
+
assetId?: string | undefined;
|
|
9252
10855
|
opacity?: number | undefined;
|
|
10856
|
+
nineSlice?: {
|
|
10857
|
+
left: number;
|
|
10858
|
+
right: number;
|
|
10859
|
+
top: number;
|
|
10860
|
+
bottom: number;
|
|
10861
|
+
} | undefined;
|
|
9253
10862
|
id: string;
|
|
9254
10863
|
type: "image";
|
|
9255
10864
|
parentId: string | null;
|
|
@@ -9271,7 +10880,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9271
10880
|
scaleY: number;
|
|
9272
10881
|
rotation: number;
|
|
9273
10882
|
};
|
|
9274
|
-
assetId: string;
|
|
9275
10883
|
} | {
|
|
9276
10884
|
editorOnly?: boolean | undefined;
|
|
9277
10885
|
locked?: boolean | undefined;
|
|
@@ -9319,7 +10927,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9319
10927
|
flexGrow: number;
|
|
9320
10928
|
flexShrink: number;
|
|
9321
10929
|
} | undefined;
|
|
9322
|
-
|
|
10930
|
+
bindingKey?: string | undefined;
|
|
10931
|
+
textKey?: string | undefined;
|
|
9323
10932
|
style?: {
|
|
9324
10933
|
fontAssetId?: string | undefined;
|
|
9325
10934
|
lineHeight?: number | undefined;
|
|
@@ -9338,6 +10947,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9338
10947
|
breakWords: boolean;
|
|
9339
10948
|
letterSpacing: number;
|
|
9340
10949
|
} | undefined;
|
|
10950
|
+
textStyleOverrides?: {
|
|
10951
|
+
desktop?: {
|
|
10952
|
+
fontAssetId?: string | undefined;
|
|
10953
|
+
fontFamily?: string | undefined;
|
|
10954
|
+
fontSize?: number | undefined;
|
|
10955
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
10956
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
10957
|
+
fill?: string | undefined;
|
|
10958
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
10959
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
10960
|
+
wordWrap?: boolean | undefined;
|
|
10961
|
+
breakWords?: boolean | undefined;
|
|
10962
|
+
lineHeight?: number | undefined;
|
|
10963
|
+
letterSpacing?: number | undefined;
|
|
10964
|
+
stroke?: {
|
|
10965
|
+
width: number;
|
|
10966
|
+
color: string;
|
|
10967
|
+
} | undefined;
|
|
10968
|
+
} | undefined;
|
|
10969
|
+
mobile?: {
|
|
10970
|
+
fontAssetId?: string | undefined;
|
|
10971
|
+
fontFamily?: string | undefined;
|
|
10972
|
+
fontSize?: number | undefined;
|
|
10973
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
10974
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
10975
|
+
fill?: string | undefined;
|
|
10976
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
10977
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
10978
|
+
wordWrap?: boolean | undefined;
|
|
10979
|
+
breakWords?: boolean | undefined;
|
|
10980
|
+
lineHeight?: number | undefined;
|
|
10981
|
+
letterSpacing?: number | undefined;
|
|
10982
|
+
stroke?: {
|
|
10983
|
+
width: number;
|
|
10984
|
+
color: string;
|
|
10985
|
+
} | undefined;
|
|
10986
|
+
} | undefined;
|
|
10987
|
+
} | undefined;
|
|
9341
10988
|
id: string;
|
|
9342
10989
|
type: "text";
|
|
9343
10990
|
parentId: string | null;
|
|
@@ -9407,11 +11054,25 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9407
11054
|
flexGrow: number;
|
|
9408
11055
|
flexShrink: number;
|
|
9409
11056
|
} | undefined;
|
|
9410
|
-
|
|
11057
|
+
bindingKey?: string | undefined;
|
|
9411
11058
|
animation?: string | undefined;
|
|
9412
11059
|
autoplay?: boolean | undefined;
|
|
9413
11060
|
loop?: boolean | undefined;
|
|
9414
11061
|
animationSpeed?: number | undefined;
|
|
11062
|
+
spineOverrides?: {
|
|
11063
|
+
desktop?: {
|
|
11064
|
+
animation?: string | null | undefined;
|
|
11065
|
+
autoplay?: boolean | undefined;
|
|
11066
|
+
loop?: boolean | undefined;
|
|
11067
|
+
animationSpeed?: number | undefined;
|
|
11068
|
+
} | undefined;
|
|
11069
|
+
mobile?: {
|
|
11070
|
+
animation?: string | null | undefined;
|
|
11071
|
+
autoplay?: boolean | undefined;
|
|
11072
|
+
loop?: boolean | undefined;
|
|
11073
|
+
animationSpeed?: number | undefined;
|
|
11074
|
+
} | undefined;
|
|
11075
|
+
} | undefined;
|
|
9415
11076
|
id: string;
|
|
9416
11077
|
type: "spine";
|
|
9417
11078
|
parentId: string | null;
|
|
@@ -9481,7 +11142,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9481
11142
|
flexGrow: number;
|
|
9482
11143
|
flexShrink: number;
|
|
9483
11144
|
} | undefined;
|
|
9484
|
-
|
|
11145
|
+
bindingKey?: string | undefined;
|
|
11146
|
+
nineSlice?: {
|
|
11147
|
+
left: number;
|
|
11148
|
+
right: number;
|
|
11149
|
+
top: number;
|
|
11150
|
+
bottom: number;
|
|
11151
|
+
} | undefined;
|
|
9485
11152
|
sounds?: {
|
|
9486
11153
|
hoverAssetId?: string | undefined;
|
|
9487
11154
|
pressAssetId?: string | undefined;
|
|
@@ -9528,6 +11195,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9528
11195
|
normalAssetId: string;
|
|
9529
11196
|
};
|
|
9530
11197
|
enabled: boolean;
|
|
11198
|
+
} | {
|
|
11199
|
+
editorOnly?: boolean | undefined;
|
|
11200
|
+
locked?: boolean | undefined;
|
|
11201
|
+
layoutOverrides?: {
|
|
11202
|
+
desktop?: {
|
|
11203
|
+
visible?: boolean | undefined;
|
|
11204
|
+
transform?: {
|
|
11205
|
+
x?: number | undefined;
|
|
11206
|
+
y?: number | undefined;
|
|
11207
|
+
width?: number | undefined;
|
|
11208
|
+
height?: number | undefined;
|
|
11209
|
+
scaleX?: number | undefined;
|
|
11210
|
+
scaleY?: number | undefined;
|
|
11211
|
+
rotation?: number | undefined;
|
|
11212
|
+
pivotX?: number | undefined;
|
|
11213
|
+
pivotY?: number | undefined;
|
|
11214
|
+
anchorMinX?: number | undefined;
|
|
11215
|
+
anchorMinY?: number | undefined;
|
|
11216
|
+
anchorMaxX?: number | undefined;
|
|
11217
|
+
anchorMaxY?: number | undefined;
|
|
11218
|
+
} | undefined;
|
|
11219
|
+
} | undefined;
|
|
11220
|
+
mobile?: {
|
|
11221
|
+
visible?: boolean | undefined;
|
|
11222
|
+
transform?: {
|
|
11223
|
+
x?: number | undefined;
|
|
11224
|
+
y?: number | undefined;
|
|
11225
|
+
width?: number | undefined;
|
|
11226
|
+
height?: number | undefined;
|
|
11227
|
+
scaleX?: number | undefined;
|
|
11228
|
+
scaleY?: number | undefined;
|
|
11229
|
+
rotation?: number | undefined;
|
|
11230
|
+
pivotX?: number | undefined;
|
|
11231
|
+
pivotY?: number | undefined;
|
|
11232
|
+
anchorMinX?: number | undefined;
|
|
11233
|
+
anchorMinY?: number | undefined;
|
|
11234
|
+
anchorMaxX?: number | undefined;
|
|
11235
|
+
anchorMaxY?: number | undefined;
|
|
11236
|
+
} | undefined;
|
|
11237
|
+
} | undefined;
|
|
11238
|
+
} | undefined;
|
|
11239
|
+
layoutItem?: {
|
|
11240
|
+
flexBasis?: number | undefined;
|
|
11241
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
11242
|
+
flexGrow: number;
|
|
11243
|
+
flexShrink: number;
|
|
11244
|
+
} | undefined;
|
|
11245
|
+
bindingKey?: string | undefined;
|
|
11246
|
+
sounds?: {
|
|
11247
|
+
checkAssetId?: string | undefined;
|
|
11248
|
+
uncheckAssetId?: string | undefined;
|
|
11249
|
+
} | undefined;
|
|
11250
|
+
group?: string | undefined;
|
|
11251
|
+
id: string;
|
|
11252
|
+
type: "checkbox";
|
|
11253
|
+
parentId: string | null;
|
|
11254
|
+
children: string[];
|
|
11255
|
+
name: string;
|
|
11256
|
+
visible: boolean;
|
|
11257
|
+
transform: {
|
|
11258
|
+
pivotX?: number | undefined;
|
|
11259
|
+
pivotY?: number | undefined;
|
|
11260
|
+
anchorMinX?: number | undefined;
|
|
11261
|
+
anchorMinY?: number | undefined;
|
|
11262
|
+
anchorMaxX?: number | undefined;
|
|
11263
|
+
anchorMaxY?: number | undefined;
|
|
11264
|
+
x: number;
|
|
11265
|
+
y: number;
|
|
11266
|
+
width: number;
|
|
11267
|
+
height: number;
|
|
11268
|
+
scaleX: number;
|
|
11269
|
+
scaleY: number;
|
|
11270
|
+
rotation: number;
|
|
11271
|
+
};
|
|
11272
|
+
states: {
|
|
11273
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
11274
|
+
checkedHoverAssetId?: string | undefined;
|
|
11275
|
+
uncheckedAssetId: string;
|
|
11276
|
+
checkedAssetId: string;
|
|
11277
|
+
};
|
|
11278
|
+
enabled: boolean;
|
|
11279
|
+
defaultChecked: boolean;
|
|
9531
11280
|
} | /*elided*/ any | {
|
|
9532
11281
|
editorOnly?: boolean | undefined;
|
|
9533
11282
|
locked?: boolean | undefined;
|
|
@@ -9575,7 +11324,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9575
11324
|
flexGrow: number;
|
|
9576
11325
|
flexShrink: number;
|
|
9577
11326
|
} | undefined;
|
|
9578
|
-
|
|
11327
|
+
bindingKey?: string | undefined;
|
|
9579
11328
|
id: string;
|
|
9580
11329
|
type: "scroll-view";
|
|
9581
11330
|
parentId: string | null;
|
|
@@ -9659,7 +11408,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9659
11408
|
flexGrow: number;
|
|
9660
11409
|
flexShrink: number;
|
|
9661
11410
|
} | undefined;
|
|
9662
|
-
|
|
11411
|
+
bindingKey?: string | undefined;
|
|
9663
11412
|
backgroundAssetId?: string | undefined;
|
|
9664
11413
|
id: string;
|
|
9665
11414
|
type: "input";
|
|
@@ -9759,7 +11508,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9759
11508
|
flexGrow: number;
|
|
9760
11509
|
flexShrink: number;
|
|
9761
11510
|
} | undefined;
|
|
9762
|
-
|
|
11511
|
+
bindingKey?: string | undefined;
|
|
9763
11512
|
showValue?: boolean | undefined;
|
|
9764
11513
|
valueTextStyle?: {
|
|
9765
11514
|
fontAssetId?: string | undefined;
|
|
@@ -9860,7 +11609,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9860
11609
|
flexGrow: number;
|
|
9861
11610
|
flexShrink: number;
|
|
9862
11611
|
} | undefined;
|
|
9863
|
-
|
|
11612
|
+
bindingKey?: string | undefined;
|
|
9864
11613
|
id: string;
|
|
9865
11614
|
type: "progress-bar";
|
|
9866
11615
|
parentId: string | null;
|
|
@@ -9938,7 +11687,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9938
11687
|
flexGrow: number;
|
|
9939
11688
|
flexShrink: number;
|
|
9940
11689
|
} | undefined;
|
|
9941
|
-
|
|
11690
|
+
bindingKey?: string | undefined;
|
|
9942
11691
|
id: string;
|
|
9943
11692
|
type: "particle-emitter";
|
|
9944
11693
|
parentId: string | null;
|
|
@@ -10008,7 +11757,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10008
11757
|
flexGrow: number;
|
|
10009
11758
|
flexShrink: number;
|
|
10010
11759
|
} | undefined;
|
|
10011
|
-
|
|
11760
|
+
bindingKey?: string | undefined;
|
|
10012
11761
|
id: string;
|
|
10013
11762
|
type: "prefab-instance";
|
|
10014
11763
|
parentId: string | null;
|
|
@@ -10078,7 +11827,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10078
11827
|
flexGrow: number;
|
|
10079
11828
|
flexShrink: number;
|
|
10080
11829
|
} | undefined;
|
|
10081
|
-
|
|
11830
|
+
bindingKey?: string | undefined;
|
|
10082
11831
|
id: string;
|
|
10083
11832
|
type: "scroll-view";
|
|
10084
11833
|
parentId: string | null;
|
|
@@ -10162,7 +11911,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10162
11911
|
flexGrow: number;
|
|
10163
11912
|
flexShrink: number;
|
|
10164
11913
|
} | undefined;
|
|
10165
|
-
|
|
11914
|
+
bindingKey?: string | undefined;
|
|
10166
11915
|
backgroundAssetId?: string | undefined;
|
|
10167
11916
|
id: string;
|
|
10168
11917
|
type: "input";
|
|
@@ -10262,7 +12011,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10262
12011
|
flexGrow: number;
|
|
10263
12012
|
flexShrink: number;
|
|
10264
12013
|
} | undefined;
|
|
10265
|
-
|
|
12014
|
+
bindingKey?: string | undefined;
|
|
10266
12015
|
showValue?: boolean | undefined;
|
|
10267
12016
|
valueTextStyle?: {
|
|
10268
12017
|
fontAssetId?: string | undefined;
|
|
@@ -10363,7 +12112,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10363
12112
|
flexGrow: number;
|
|
10364
12113
|
flexShrink: number;
|
|
10365
12114
|
} | undefined;
|
|
10366
|
-
|
|
12115
|
+
bindingKey?: string | undefined;
|
|
10367
12116
|
id: string;
|
|
10368
12117
|
type: "progress-bar";
|
|
10369
12118
|
parentId: string | null;
|
|
@@ -10441,7 +12190,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10441
12190
|
flexGrow: number;
|
|
10442
12191
|
flexShrink: number;
|
|
10443
12192
|
} | undefined;
|
|
10444
|
-
|
|
12193
|
+
bindingKey?: string | undefined;
|
|
10445
12194
|
id: string;
|
|
10446
12195
|
type: "particle-emitter";
|
|
10447
12196
|
parentId: string | null;
|
|
@@ -10523,7 +12272,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10523
12272
|
flexGrow: number;
|
|
10524
12273
|
flexShrink: number;
|
|
10525
12274
|
} | undefined;
|
|
10526
|
-
|
|
12275
|
+
bindingKey?: string | undefined;
|
|
10527
12276
|
id: string;
|
|
10528
12277
|
type: "container";
|
|
10529
12278
|
parentId: string | null;
|
|
@@ -10592,10 +12341,9 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10592
12341
|
flexGrow: number;
|
|
10593
12342
|
flexShrink: number;
|
|
10594
12343
|
} | undefined;
|
|
10595
|
-
|
|
10596
|
-
backgroundAssetId?: string | undefined;
|
|
12344
|
+
bindingKey?: string | undefined;
|
|
10597
12345
|
id: string;
|
|
10598
|
-
type: "
|
|
12346
|
+
type: "mask";
|
|
10599
12347
|
parentId: string | null;
|
|
10600
12348
|
children: string[];
|
|
10601
12349
|
name: string;
|
|
@@ -10615,7 +12363,77 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10615
12363
|
scaleY: number;
|
|
10616
12364
|
rotation: number;
|
|
10617
12365
|
};
|
|
10618
|
-
|
|
12366
|
+
} | {
|
|
12367
|
+
editorOnly?: boolean | undefined;
|
|
12368
|
+
locked?: boolean | undefined;
|
|
12369
|
+
layoutOverrides?: {
|
|
12370
|
+
desktop?: {
|
|
12371
|
+
visible?: boolean | undefined;
|
|
12372
|
+
transform?: {
|
|
12373
|
+
x?: number | undefined;
|
|
12374
|
+
y?: number | undefined;
|
|
12375
|
+
width?: number | undefined;
|
|
12376
|
+
height?: number | undefined;
|
|
12377
|
+
scaleX?: number | undefined;
|
|
12378
|
+
scaleY?: number | undefined;
|
|
12379
|
+
rotation?: number | undefined;
|
|
12380
|
+
pivotX?: number | undefined;
|
|
12381
|
+
pivotY?: number | undefined;
|
|
12382
|
+
anchorMinX?: number | undefined;
|
|
12383
|
+
anchorMinY?: number | undefined;
|
|
12384
|
+
anchorMaxX?: number | undefined;
|
|
12385
|
+
anchorMaxY?: number | undefined;
|
|
12386
|
+
} | undefined;
|
|
12387
|
+
} | undefined;
|
|
12388
|
+
mobile?: {
|
|
12389
|
+
visible?: boolean | undefined;
|
|
12390
|
+
transform?: {
|
|
12391
|
+
x?: number | undefined;
|
|
12392
|
+
y?: number | undefined;
|
|
12393
|
+
width?: number | undefined;
|
|
12394
|
+
height?: number | undefined;
|
|
12395
|
+
scaleX?: number | undefined;
|
|
12396
|
+
scaleY?: number | undefined;
|
|
12397
|
+
rotation?: number | undefined;
|
|
12398
|
+
pivotX?: number | undefined;
|
|
12399
|
+
pivotY?: number | undefined;
|
|
12400
|
+
anchorMinX?: number | undefined;
|
|
12401
|
+
anchorMinY?: number | undefined;
|
|
12402
|
+
anchorMaxX?: number | undefined;
|
|
12403
|
+
anchorMaxY?: number | undefined;
|
|
12404
|
+
} | undefined;
|
|
12405
|
+
} | undefined;
|
|
12406
|
+
} | undefined;
|
|
12407
|
+
layoutItem?: {
|
|
12408
|
+
flexBasis?: number | undefined;
|
|
12409
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
12410
|
+
flexGrow: number;
|
|
12411
|
+
flexShrink: number;
|
|
12412
|
+
} | undefined;
|
|
12413
|
+
bindingKey?: string | undefined;
|
|
12414
|
+
backgroundAssetId?: string | undefined;
|
|
12415
|
+
id: string;
|
|
12416
|
+
type: "horizontal-layout";
|
|
12417
|
+
parentId: string | null;
|
|
12418
|
+
children: string[];
|
|
12419
|
+
name: string;
|
|
12420
|
+
visible: boolean;
|
|
12421
|
+
transform: {
|
|
12422
|
+
pivotX?: number | undefined;
|
|
12423
|
+
pivotY?: number | undefined;
|
|
12424
|
+
anchorMinX?: number | undefined;
|
|
12425
|
+
anchorMinY?: number | undefined;
|
|
12426
|
+
anchorMaxX?: number | undefined;
|
|
12427
|
+
anchorMaxY?: number | undefined;
|
|
12428
|
+
x: number;
|
|
12429
|
+
y: number;
|
|
12430
|
+
width: number;
|
|
12431
|
+
height: number;
|
|
12432
|
+
scaleX: number;
|
|
12433
|
+
scaleY: number;
|
|
12434
|
+
rotation: number;
|
|
12435
|
+
};
|
|
12436
|
+
layoutGroup: {
|
|
10619
12437
|
overrides?: {
|
|
10620
12438
|
desktop?: {
|
|
10621
12439
|
padding?: {
|
|
@@ -10711,7 +12529,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10711
12529
|
flexGrow: number;
|
|
10712
12530
|
flexShrink: number;
|
|
10713
12531
|
} | undefined;
|
|
10714
|
-
|
|
12532
|
+
bindingKey?: string | undefined;
|
|
10715
12533
|
backgroundAssetId?: string | undefined;
|
|
10716
12534
|
id: string;
|
|
10717
12535
|
type: "vertical-layout";
|
|
@@ -10830,7 +12648,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10830
12648
|
flexGrow: number;
|
|
10831
12649
|
flexShrink: number;
|
|
10832
12650
|
} | undefined;
|
|
10833
|
-
|
|
12651
|
+
bindingKey?: string | undefined;
|
|
10834
12652
|
backgroundAssetId?: string | undefined;
|
|
10835
12653
|
id: string;
|
|
10836
12654
|
type: "grid-layout";
|
|
@@ -10955,8 +12773,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10955
12773
|
flexGrow: number;
|
|
10956
12774
|
flexShrink: number;
|
|
10957
12775
|
} | undefined;
|
|
10958
|
-
|
|
12776
|
+
bindingKey?: string | undefined;
|
|
12777
|
+
assetId?: string | undefined;
|
|
10959
12778
|
opacity?: number | undefined;
|
|
12779
|
+
nineSlice?: {
|
|
12780
|
+
left: number;
|
|
12781
|
+
right: number;
|
|
12782
|
+
top: number;
|
|
12783
|
+
bottom: number;
|
|
12784
|
+
} | undefined;
|
|
10960
12785
|
id: string;
|
|
10961
12786
|
type: "image";
|
|
10962
12787
|
parentId: string | null;
|
|
@@ -10978,7 +12803,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10978
12803
|
scaleY: number;
|
|
10979
12804
|
rotation: number;
|
|
10980
12805
|
};
|
|
10981
|
-
assetId: string;
|
|
10982
12806
|
} | {
|
|
10983
12807
|
editorOnly?: boolean | undefined;
|
|
10984
12808
|
locked?: boolean | undefined;
|
|
@@ -11026,7 +12850,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11026
12850
|
flexGrow: number;
|
|
11027
12851
|
flexShrink: number;
|
|
11028
12852
|
} | undefined;
|
|
11029
|
-
|
|
12853
|
+
bindingKey?: string | undefined;
|
|
12854
|
+
textKey?: string | undefined;
|
|
11030
12855
|
style?: {
|
|
11031
12856
|
fontAssetId?: string | undefined;
|
|
11032
12857
|
lineHeight?: number | undefined;
|
|
@@ -11045,6 +12870,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11045
12870
|
breakWords: boolean;
|
|
11046
12871
|
letterSpacing: number;
|
|
11047
12872
|
} | undefined;
|
|
12873
|
+
textStyleOverrides?: {
|
|
12874
|
+
desktop?: {
|
|
12875
|
+
fontAssetId?: string | undefined;
|
|
12876
|
+
fontFamily?: string | undefined;
|
|
12877
|
+
fontSize?: number | undefined;
|
|
12878
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
12879
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
12880
|
+
fill?: string | undefined;
|
|
12881
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
12882
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
12883
|
+
wordWrap?: boolean | undefined;
|
|
12884
|
+
breakWords?: boolean | undefined;
|
|
12885
|
+
lineHeight?: number | undefined;
|
|
12886
|
+
letterSpacing?: number | undefined;
|
|
12887
|
+
stroke?: {
|
|
12888
|
+
width: number;
|
|
12889
|
+
color: string;
|
|
12890
|
+
} | undefined;
|
|
12891
|
+
} | undefined;
|
|
12892
|
+
mobile?: {
|
|
12893
|
+
fontAssetId?: string | undefined;
|
|
12894
|
+
fontFamily?: string | undefined;
|
|
12895
|
+
fontSize?: number | undefined;
|
|
12896
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
12897
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
12898
|
+
fill?: string | undefined;
|
|
12899
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
12900
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
12901
|
+
wordWrap?: boolean | undefined;
|
|
12902
|
+
breakWords?: boolean | undefined;
|
|
12903
|
+
lineHeight?: number | undefined;
|
|
12904
|
+
letterSpacing?: number | undefined;
|
|
12905
|
+
stroke?: {
|
|
12906
|
+
width: number;
|
|
12907
|
+
color: string;
|
|
12908
|
+
} | undefined;
|
|
12909
|
+
} | undefined;
|
|
12910
|
+
} | undefined;
|
|
11048
12911
|
id: string;
|
|
11049
12912
|
type: "text";
|
|
11050
12913
|
parentId: string | null;
|
|
@@ -11114,11 +12977,25 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11114
12977
|
flexGrow: number;
|
|
11115
12978
|
flexShrink: number;
|
|
11116
12979
|
} | undefined;
|
|
11117
|
-
|
|
12980
|
+
bindingKey?: string | undefined;
|
|
11118
12981
|
animation?: string | undefined;
|
|
11119
12982
|
autoplay?: boolean | undefined;
|
|
11120
12983
|
loop?: boolean | undefined;
|
|
11121
12984
|
animationSpeed?: number | undefined;
|
|
12985
|
+
spineOverrides?: {
|
|
12986
|
+
desktop?: {
|
|
12987
|
+
animation?: string | null | undefined;
|
|
12988
|
+
autoplay?: boolean | undefined;
|
|
12989
|
+
loop?: boolean | undefined;
|
|
12990
|
+
animationSpeed?: number | undefined;
|
|
12991
|
+
} | undefined;
|
|
12992
|
+
mobile?: {
|
|
12993
|
+
animation?: string | null | undefined;
|
|
12994
|
+
autoplay?: boolean | undefined;
|
|
12995
|
+
loop?: boolean | undefined;
|
|
12996
|
+
animationSpeed?: number | undefined;
|
|
12997
|
+
} | undefined;
|
|
12998
|
+
} | undefined;
|
|
11122
12999
|
id: string;
|
|
11123
13000
|
type: "spine";
|
|
11124
13001
|
parentId: string | null;
|
|
@@ -11188,7 +13065,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11188
13065
|
flexGrow: number;
|
|
11189
13066
|
flexShrink: number;
|
|
11190
13067
|
} | undefined;
|
|
11191
|
-
|
|
13068
|
+
bindingKey?: string | undefined;
|
|
13069
|
+
nineSlice?: {
|
|
13070
|
+
left: number;
|
|
13071
|
+
right: number;
|
|
13072
|
+
top: number;
|
|
13073
|
+
bottom: number;
|
|
13074
|
+
} | undefined;
|
|
11192
13075
|
sounds?: {
|
|
11193
13076
|
hoverAssetId?: string | undefined;
|
|
11194
13077
|
pressAssetId?: string | undefined;
|
|
@@ -11235,6 +13118,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11235
13118
|
normalAssetId: string;
|
|
11236
13119
|
};
|
|
11237
13120
|
enabled: boolean;
|
|
13121
|
+
} | {
|
|
13122
|
+
editorOnly?: boolean | undefined;
|
|
13123
|
+
locked?: boolean | undefined;
|
|
13124
|
+
layoutOverrides?: {
|
|
13125
|
+
desktop?: {
|
|
13126
|
+
visible?: boolean | undefined;
|
|
13127
|
+
transform?: {
|
|
13128
|
+
x?: number | undefined;
|
|
13129
|
+
y?: number | undefined;
|
|
13130
|
+
width?: number | undefined;
|
|
13131
|
+
height?: number | undefined;
|
|
13132
|
+
scaleX?: number | undefined;
|
|
13133
|
+
scaleY?: number | undefined;
|
|
13134
|
+
rotation?: number | undefined;
|
|
13135
|
+
pivotX?: number | undefined;
|
|
13136
|
+
pivotY?: number | undefined;
|
|
13137
|
+
anchorMinX?: number | undefined;
|
|
13138
|
+
anchorMinY?: number | undefined;
|
|
13139
|
+
anchorMaxX?: number | undefined;
|
|
13140
|
+
anchorMaxY?: number | undefined;
|
|
13141
|
+
} | undefined;
|
|
13142
|
+
} | undefined;
|
|
13143
|
+
mobile?: {
|
|
13144
|
+
visible?: boolean | undefined;
|
|
13145
|
+
transform?: {
|
|
13146
|
+
x?: number | undefined;
|
|
13147
|
+
y?: number | undefined;
|
|
13148
|
+
width?: number | undefined;
|
|
13149
|
+
height?: number | undefined;
|
|
13150
|
+
scaleX?: number | undefined;
|
|
13151
|
+
scaleY?: number | undefined;
|
|
13152
|
+
rotation?: number | undefined;
|
|
13153
|
+
pivotX?: number | undefined;
|
|
13154
|
+
pivotY?: number | undefined;
|
|
13155
|
+
anchorMinX?: number | undefined;
|
|
13156
|
+
anchorMinY?: number | undefined;
|
|
13157
|
+
anchorMaxX?: number | undefined;
|
|
13158
|
+
anchorMaxY?: number | undefined;
|
|
13159
|
+
} | undefined;
|
|
13160
|
+
} | undefined;
|
|
13161
|
+
} | undefined;
|
|
13162
|
+
layoutItem?: {
|
|
13163
|
+
flexBasis?: number | undefined;
|
|
13164
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
13165
|
+
flexGrow: number;
|
|
13166
|
+
flexShrink: number;
|
|
13167
|
+
} | undefined;
|
|
13168
|
+
bindingKey?: string | undefined;
|
|
13169
|
+
sounds?: {
|
|
13170
|
+
checkAssetId?: string | undefined;
|
|
13171
|
+
uncheckAssetId?: string | undefined;
|
|
13172
|
+
} | undefined;
|
|
13173
|
+
group?: string | undefined;
|
|
13174
|
+
id: string;
|
|
13175
|
+
type: "checkbox";
|
|
13176
|
+
parentId: string | null;
|
|
13177
|
+
children: string[];
|
|
13178
|
+
name: string;
|
|
13179
|
+
visible: boolean;
|
|
13180
|
+
transform: {
|
|
13181
|
+
pivotX?: number | undefined;
|
|
13182
|
+
pivotY?: number | undefined;
|
|
13183
|
+
anchorMinX?: number | undefined;
|
|
13184
|
+
anchorMinY?: number | undefined;
|
|
13185
|
+
anchorMaxX?: number | undefined;
|
|
13186
|
+
anchorMaxY?: number | undefined;
|
|
13187
|
+
x: number;
|
|
13188
|
+
y: number;
|
|
13189
|
+
width: number;
|
|
13190
|
+
height: number;
|
|
13191
|
+
scaleX: number;
|
|
13192
|
+
scaleY: number;
|
|
13193
|
+
rotation: number;
|
|
13194
|
+
};
|
|
13195
|
+
states: {
|
|
13196
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
13197
|
+
checkedHoverAssetId?: string | undefined;
|
|
13198
|
+
uncheckedAssetId: string;
|
|
13199
|
+
checkedAssetId: string;
|
|
13200
|
+
};
|
|
13201
|
+
enabled: boolean;
|
|
13202
|
+
defaultChecked: boolean;
|
|
11238
13203
|
} | {
|
|
11239
13204
|
editorOnly?: boolean | undefined;
|
|
11240
13205
|
locked?: boolean | undefined;
|
|
@@ -11291,7 +13256,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11291
13256
|
flexGrow: number;
|
|
11292
13257
|
flexShrink: number;
|
|
11293
13258
|
} | undefined;
|
|
11294
|
-
|
|
13259
|
+
bindingKey?: string | undefined;
|
|
11295
13260
|
id: string;
|
|
11296
13261
|
type: "container";
|
|
11297
13262
|
parentId: string | null;
|
|
@@ -11360,7 +13325,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11360
13325
|
flexGrow: number;
|
|
11361
13326
|
flexShrink: number;
|
|
11362
13327
|
} | undefined;
|
|
11363
|
-
|
|
13328
|
+
bindingKey?: string | undefined;
|
|
13329
|
+
id: string;
|
|
13330
|
+
type: "mask";
|
|
13331
|
+
parentId: string | null;
|
|
13332
|
+
children: string[];
|
|
13333
|
+
name: string;
|
|
13334
|
+
visible: boolean;
|
|
13335
|
+
transform: {
|
|
13336
|
+
pivotX?: number | undefined;
|
|
13337
|
+
pivotY?: number | undefined;
|
|
13338
|
+
anchorMinX?: number | undefined;
|
|
13339
|
+
anchorMinY?: number | undefined;
|
|
13340
|
+
anchorMaxX?: number | undefined;
|
|
13341
|
+
anchorMaxY?: number | undefined;
|
|
13342
|
+
x: number;
|
|
13343
|
+
y: number;
|
|
13344
|
+
width: number;
|
|
13345
|
+
height: number;
|
|
13346
|
+
scaleX: number;
|
|
13347
|
+
scaleY: number;
|
|
13348
|
+
rotation: number;
|
|
13349
|
+
};
|
|
13350
|
+
} | {
|
|
13351
|
+
editorOnly?: boolean | undefined;
|
|
13352
|
+
locked?: boolean | undefined;
|
|
13353
|
+
layoutOverrides?: {
|
|
13354
|
+
desktop?: {
|
|
13355
|
+
visible?: boolean | undefined;
|
|
13356
|
+
transform?: {
|
|
13357
|
+
x?: number | undefined;
|
|
13358
|
+
y?: number | undefined;
|
|
13359
|
+
width?: number | undefined;
|
|
13360
|
+
height?: number | undefined;
|
|
13361
|
+
scaleX?: number | undefined;
|
|
13362
|
+
scaleY?: number | undefined;
|
|
13363
|
+
rotation?: number | undefined;
|
|
13364
|
+
pivotX?: number | undefined;
|
|
13365
|
+
pivotY?: number | undefined;
|
|
13366
|
+
anchorMinX?: number | undefined;
|
|
13367
|
+
anchorMinY?: number | undefined;
|
|
13368
|
+
anchorMaxX?: number | undefined;
|
|
13369
|
+
anchorMaxY?: number | undefined;
|
|
13370
|
+
} | undefined;
|
|
13371
|
+
} | undefined;
|
|
13372
|
+
mobile?: {
|
|
13373
|
+
visible?: boolean | undefined;
|
|
13374
|
+
transform?: {
|
|
13375
|
+
x?: number | undefined;
|
|
13376
|
+
y?: number | undefined;
|
|
13377
|
+
width?: number | undefined;
|
|
13378
|
+
height?: number | undefined;
|
|
13379
|
+
scaleX?: number | undefined;
|
|
13380
|
+
scaleY?: number | undefined;
|
|
13381
|
+
rotation?: number | undefined;
|
|
13382
|
+
pivotX?: number | undefined;
|
|
13383
|
+
pivotY?: number | undefined;
|
|
13384
|
+
anchorMinX?: number | undefined;
|
|
13385
|
+
anchorMinY?: number | undefined;
|
|
13386
|
+
anchorMaxX?: number | undefined;
|
|
13387
|
+
anchorMaxY?: number | undefined;
|
|
13388
|
+
} | undefined;
|
|
13389
|
+
} | undefined;
|
|
13390
|
+
} | undefined;
|
|
13391
|
+
layoutItem?: {
|
|
13392
|
+
flexBasis?: number | undefined;
|
|
13393
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
13394
|
+
flexGrow: number;
|
|
13395
|
+
flexShrink: number;
|
|
13396
|
+
} | undefined;
|
|
13397
|
+
bindingKey?: string | undefined;
|
|
11364
13398
|
backgroundAssetId?: string | undefined;
|
|
11365
13399
|
id: string;
|
|
11366
13400
|
type: "horizontal-layout";
|
|
@@ -11479,7 +13513,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11479
13513
|
flexGrow: number;
|
|
11480
13514
|
flexShrink: number;
|
|
11481
13515
|
} | undefined;
|
|
11482
|
-
|
|
13516
|
+
bindingKey?: string | undefined;
|
|
11483
13517
|
backgroundAssetId?: string | undefined;
|
|
11484
13518
|
id: string;
|
|
11485
13519
|
type: "vertical-layout";
|
|
@@ -11598,7 +13632,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11598
13632
|
flexGrow: number;
|
|
11599
13633
|
flexShrink: number;
|
|
11600
13634
|
} | undefined;
|
|
11601
|
-
|
|
13635
|
+
bindingKey?: string | undefined;
|
|
11602
13636
|
backgroundAssetId?: string | undefined;
|
|
11603
13637
|
id: string;
|
|
11604
13638
|
type: "grid-layout";
|
|
@@ -11723,8 +13757,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11723
13757
|
flexGrow: number;
|
|
11724
13758
|
flexShrink: number;
|
|
11725
13759
|
} | undefined;
|
|
11726
|
-
|
|
13760
|
+
bindingKey?: string | undefined;
|
|
13761
|
+
assetId?: string | undefined;
|
|
11727
13762
|
opacity?: number | undefined;
|
|
13763
|
+
nineSlice?: {
|
|
13764
|
+
left: number;
|
|
13765
|
+
right: number;
|
|
13766
|
+
top: number;
|
|
13767
|
+
bottom: number;
|
|
13768
|
+
} | undefined;
|
|
11728
13769
|
id: string;
|
|
11729
13770
|
type: "image";
|
|
11730
13771
|
parentId: string | null;
|
|
@@ -11746,7 +13787,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11746
13787
|
scaleY: number;
|
|
11747
13788
|
rotation: number;
|
|
11748
13789
|
};
|
|
11749
|
-
assetId: string;
|
|
11750
13790
|
} | {
|
|
11751
13791
|
editorOnly?: boolean | undefined;
|
|
11752
13792
|
locked?: boolean | undefined;
|
|
@@ -11794,7 +13834,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11794
13834
|
flexGrow: number;
|
|
11795
13835
|
flexShrink: number;
|
|
11796
13836
|
} | undefined;
|
|
11797
|
-
|
|
13837
|
+
bindingKey?: string | undefined;
|
|
13838
|
+
textKey?: string | undefined;
|
|
11798
13839
|
style?: {
|
|
11799
13840
|
fontAssetId?: string | undefined;
|
|
11800
13841
|
lineHeight?: number | undefined;
|
|
@@ -11813,6 +13854,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11813
13854
|
breakWords: boolean;
|
|
11814
13855
|
letterSpacing: number;
|
|
11815
13856
|
} | undefined;
|
|
13857
|
+
textStyleOverrides?: {
|
|
13858
|
+
desktop?: {
|
|
13859
|
+
fontAssetId?: string | undefined;
|
|
13860
|
+
fontFamily?: string | undefined;
|
|
13861
|
+
fontSize?: number | undefined;
|
|
13862
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
13863
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
13864
|
+
fill?: string | undefined;
|
|
13865
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
13866
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
13867
|
+
wordWrap?: boolean | undefined;
|
|
13868
|
+
breakWords?: boolean | undefined;
|
|
13869
|
+
lineHeight?: number | undefined;
|
|
13870
|
+
letterSpacing?: number | undefined;
|
|
13871
|
+
stroke?: {
|
|
13872
|
+
width: number;
|
|
13873
|
+
color: string;
|
|
13874
|
+
} | undefined;
|
|
13875
|
+
} | undefined;
|
|
13876
|
+
mobile?: {
|
|
13877
|
+
fontAssetId?: string | undefined;
|
|
13878
|
+
fontFamily?: string | undefined;
|
|
13879
|
+
fontSize?: number | undefined;
|
|
13880
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
13881
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
13882
|
+
fill?: string | undefined;
|
|
13883
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
13884
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
13885
|
+
wordWrap?: boolean | undefined;
|
|
13886
|
+
breakWords?: boolean | undefined;
|
|
13887
|
+
lineHeight?: number | undefined;
|
|
13888
|
+
letterSpacing?: number | undefined;
|
|
13889
|
+
stroke?: {
|
|
13890
|
+
width: number;
|
|
13891
|
+
color: string;
|
|
13892
|
+
} | undefined;
|
|
13893
|
+
} | undefined;
|
|
13894
|
+
} | undefined;
|
|
11816
13895
|
id: string;
|
|
11817
13896
|
type: "text";
|
|
11818
13897
|
parentId: string | null;
|
|
@@ -11882,11 +13961,25 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11882
13961
|
flexGrow: number;
|
|
11883
13962
|
flexShrink: number;
|
|
11884
13963
|
} | undefined;
|
|
11885
|
-
|
|
13964
|
+
bindingKey?: string | undefined;
|
|
11886
13965
|
animation?: string | undefined;
|
|
11887
13966
|
autoplay?: boolean | undefined;
|
|
11888
13967
|
loop?: boolean | undefined;
|
|
11889
13968
|
animationSpeed?: number | undefined;
|
|
13969
|
+
spineOverrides?: {
|
|
13970
|
+
desktop?: {
|
|
13971
|
+
animation?: string | null | undefined;
|
|
13972
|
+
autoplay?: boolean | undefined;
|
|
13973
|
+
loop?: boolean | undefined;
|
|
13974
|
+
animationSpeed?: number | undefined;
|
|
13975
|
+
} | undefined;
|
|
13976
|
+
mobile?: {
|
|
13977
|
+
animation?: string | null | undefined;
|
|
13978
|
+
autoplay?: boolean | undefined;
|
|
13979
|
+
loop?: boolean | undefined;
|
|
13980
|
+
animationSpeed?: number | undefined;
|
|
13981
|
+
} | undefined;
|
|
13982
|
+
} | undefined;
|
|
11890
13983
|
id: string;
|
|
11891
13984
|
type: "spine";
|
|
11892
13985
|
parentId: string | null;
|
|
@@ -11956,7 +14049,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11956
14049
|
flexGrow: number;
|
|
11957
14050
|
flexShrink: number;
|
|
11958
14051
|
} | undefined;
|
|
11959
|
-
|
|
14052
|
+
bindingKey?: string | undefined;
|
|
14053
|
+
nineSlice?: {
|
|
14054
|
+
left: number;
|
|
14055
|
+
right: number;
|
|
14056
|
+
top: number;
|
|
14057
|
+
bottom: number;
|
|
14058
|
+
} | undefined;
|
|
11960
14059
|
sounds?: {
|
|
11961
14060
|
hoverAssetId?: string | undefined;
|
|
11962
14061
|
pressAssetId?: string | undefined;
|
|
@@ -12003,6 +14102,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12003
14102
|
normalAssetId: string;
|
|
12004
14103
|
};
|
|
12005
14104
|
enabled: boolean;
|
|
14105
|
+
} | {
|
|
14106
|
+
editorOnly?: boolean | undefined;
|
|
14107
|
+
locked?: boolean | undefined;
|
|
14108
|
+
layoutOverrides?: {
|
|
14109
|
+
desktop?: {
|
|
14110
|
+
visible?: boolean | undefined;
|
|
14111
|
+
transform?: {
|
|
14112
|
+
x?: number | undefined;
|
|
14113
|
+
y?: number | undefined;
|
|
14114
|
+
width?: number | undefined;
|
|
14115
|
+
height?: number | undefined;
|
|
14116
|
+
scaleX?: number | undefined;
|
|
14117
|
+
scaleY?: number | undefined;
|
|
14118
|
+
rotation?: number | undefined;
|
|
14119
|
+
pivotX?: number | undefined;
|
|
14120
|
+
pivotY?: number | undefined;
|
|
14121
|
+
anchorMinX?: number | undefined;
|
|
14122
|
+
anchorMinY?: number | undefined;
|
|
14123
|
+
anchorMaxX?: number | undefined;
|
|
14124
|
+
anchorMaxY?: number | undefined;
|
|
14125
|
+
} | undefined;
|
|
14126
|
+
} | undefined;
|
|
14127
|
+
mobile?: {
|
|
14128
|
+
visible?: boolean | undefined;
|
|
14129
|
+
transform?: {
|
|
14130
|
+
x?: number | undefined;
|
|
14131
|
+
y?: number | undefined;
|
|
14132
|
+
width?: number | undefined;
|
|
14133
|
+
height?: number | undefined;
|
|
14134
|
+
scaleX?: number | undefined;
|
|
14135
|
+
scaleY?: number | undefined;
|
|
14136
|
+
rotation?: number | undefined;
|
|
14137
|
+
pivotX?: number | undefined;
|
|
14138
|
+
pivotY?: number | undefined;
|
|
14139
|
+
anchorMinX?: number | undefined;
|
|
14140
|
+
anchorMinY?: number | undefined;
|
|
14141
|
+
anchorMaxX?: number | undefined;
|
|
14142
|
+
anchorMaxY?: number | undefined;
|
|
14143
|
+
} | undefined;
|
|
14144
|
+
} | undefined;
|
|
14145
|
+
} | undefined;
|
|
14146
|
+
layoutItem?: {
|
|
14147
|
+
flexBasis?: number | undefined;
|
|
14148
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
14149
|
+
flexGrow: number;
|
|
14150
|
+
flexShrink: number;
|
|
14151
|
+
} | undefined;
|
|
14152
|
+
bindingKey?: string | undefined;
|
|
14153
|
+
sounds?: {
|
|
14154
|
+
checkAssetId?: string | undefined;
|
|
14155
|
+
uncheckAssetId?: string | undefined;
|
|
14156
|
+
} | undefined;
|
|
14157
|
+
group?: string | undefined;
|
|
14158
|
+
id: string;
|
|
14159
|
+
type: "checkbox";
|
|
14160
|
+
parentId: string | null;
|
|
14161
|
+
children: string[];
|
|
14162
|
+
name: string;
|
|
14163
|
+
visible: boolean;
|
|
14164
|
+
transform: {
|
|
14165
|
+
pivotX?: number | undefined;
|
|
14166
|
+
pivotY?: number | undefined;
|
|
14167
|
+
anchorMinX?: number | undefined;
|
|
14168
|
+
anchorMinY?: number | undefined;
|
|
14169
|
+
anchorMaxX?: number | undefined;
|
|
14170
|
+
anchorMaxY?: number | undefined;
|
|
14171
|
+
x: number;
|
|
14172
|
+
y: number;
|
|
14173
|
+
width: number;
|
|
14174
|
+
height: number;
|
|
14175
|
+
scaleX: number;
|
|
14176
|
+
scaleY: number;
|
|
14177
|
+
rotation: number;
|
|
14178
|
+
};
|
|
14179
|
+
states: {
|
|
14180
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
14181
|
+
checkedHoverAssetId?: string | undefined;
|
|
14182
|
+
uncheckedAssetId: string;
|
|
14183
|
+
checkedAssetId: string;
|
|
14184
|
+
};
|
|
14185
|
+
enabled: boolean;
|
|
14186
|
+
defaultChecked: boolean;
|
|
12006
14187
|
} | /*elided*/ any | {
|
|
12007
14188
|
editorOnly?: boolean | undefined;
|
|
12008
14189
|
locked?: boolean | undefined;
|
|
@@ -12050,7 +14231,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12050
14231
|
flexGrow: number;
|
|
12051
14232
|
flexShrink: number;
|
|
12052
14233
|
} | undefined;
|
|
12053
|
-
|
|
14234
|
+
bindingKey?: string | undefined;
|
|
12054
14235
|
id: string;
|
|
12055
14236
|
type: "scroll-view";
|
|
12056
14237
|
parentId: string | null;
|
|
@@ -12134,7 +14315,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12134
14315
|
flexGrow: number;
|
|
12135
14316
|
flexShrink: number;
|
|
12136
14317
|
} | undefined;
|
|
12137
|
-
|
|
14318
|
+
bindingKey?: string | undefined;
|
|
12138
14319
|
backgroundAssetId?: string | undefined;
|
|
12139
14320
|
id: string;
|
|
12140
14321
|
type: "input";
|
|
@@ -12234,7 +14415,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12234
14415
|
flexGrow: number;
|
|
12235
14416
|
flexShrink: number;
|
|
12236
14417
|
} | undefined;
|
|
12237
|
-
|
|
14418
|
+
bindingKey?: string | undefined;
|
|
12238
14419
|
showValue?: boolean | undefined;
|
|
12239
14420
|
valueTextStyle?: {
|
|
12240
14421
|
fontAssetId?: string | undefined;
|
|
@@ -12335,7 +14516,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12335
14516
|
flexGrow: number;
|
|
12336
14517
|
flexShrink: number;
|
|
12337
14518
|
} | undefined;
|
|
12338
|
-
|
|
14519
|
+
bindingKey?: string | undefined;
|
|
12339
14520
|
id: string;
|
|
12340
14521
|
type: "progress-bar";
|
|
12341
14522
|
parentId: string | null;
|
|
@@ -12413,7 +14594,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12413
14594
|
flexGrow: number;
|
|
12414
14595
|
flexShrink: number;
|
|
12415
14596
|
} | undefined;
|
|
12416
|
-
|
|
14597
|
+
bindingKey?: string | undefined;
|
|
12417
14598
|
id: string;
|
|
12418
14599
|
type: "particle-emitter";
|
|
12419
14600
|
parentId: string | null;
|
|
@@ -12483,7 +14664,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12483
14664
|
flexGrow: number;
|
|
12484
14665
|
flexShrink: number;
|
|
12485
14666
|
} | undefined;
|
|
12486
|
-
|
|
14667
|
+
bindingKey?: string | undefined;
|
|
12487
14668
|
id: string;
|
|
12488
14669
|
type: "prefab-instance";
|
|
12489
14670
|
parentId: string | null;
|
|
@@ -12553,7 +14734,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12553
14734
|
flexGrow: number;
|
|
12554
14735
|
flexShrink: number;
|
|
12555
14736
|
} | undefined;
|
|
12556
|
-
|
|
14737
|
+
bindingKey?: string | undefined;
|
|
12557
14738
|
id: string;
|
|
12558
14739
|
type: "scroll-view";
|
|
12559
14740
|
parentId: string | null;
|
|
@@ -12637,7 +14818,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12637
14818
|
flexGrow: number;
|
|
12638
14819
|
flexShrink: number;
|
|
12639
14820
|
} | undefined;
|
|
12640
|
-
|
|
14821
|
+
bindingKey?: string | undefined;
|
|
12641
14822
|
backgroundAssetId?: string | undefined;
|
|
12642
14823
|
id: string;
|
|
12643
14824
|
type: "input";
|
|
@@ -12737,7 +14918,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12737
14918
|
flexGrow: number;
|
|
12738
14919
|
flexShrink: number;
|
|
12739
14920
|
} | undefined;
|
|
12740
|
-
|
|
14921
|
+
bindingKey?: string | undefined;
|
|
12741
14922
|
showValue?: boolean | undefined;
|
|
12742
14923
|
valueTextStyle?: {
|
|
12743
14924
|
fontAssetId?: string | undefined;
|
|
@@ -12838,7 +15019,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12838
15019
|
flexGrow: number;
|
|
12839
15020
|
flexShrink: number;
|
|
12840
15021
|
} | undefined;
|
|
12841
|
-
|
|
15022
|
+
bindingKey?: string | undefined;
|
|
12842
15023
|
id: string;
|
|
12843
15024
|
type: "progress-bar";
|
|
12844
15025
|
parentId: string | null;
|
|
@@ -12916,7 +15097,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12916
15097
|
flexGrow: number;
|
|
12917
15098
|
flexShrink: number;
|
|
12918
15099
|
} | undefined;
|
|
12919
|
-
|
|
15100
|
+
bindingKey?: string | undefined;
|
|
12920
15101
|
id: string;
|
|
12921
15102
|
type: "particle-emitter";
|
|
12922
15103
|
parentId: string | null;
|
|
@@ -12977,6 +15158,7 @@ export type ValidationIssue = {
|
|
|
12977
15158
|
message: string;
|
|
12978
15159
|
severity: "error" | "warning";
|
|
12979
15160
|
};
|
|
15161
|
+
/** `valid` означает отсутствие issues с severity `error`, а не пустой массив: warnings сохраняемы. */
|
|
12980
15162
|
export type ValidationResult = {
|
|
12981
15163
|
valid: boolean;
|
|
12982
15164
|
issues: ValidationIssue[];
|
|
@@ -12986,12 +15168,40 @@ export declare class ProjectDocumentMigrationError extends Error {
|
|
|
12986
15168
|
constructor(message: string);
|
|
12987
15169
|
}
|
|
12988
15170
|
export declare function createStableId(): string;
|
|
15171
|
+
/**
|
|
15172
|
+
* Единственная реализация группировки binding-ключей: и validation документа, и Inspector спрашивают
|
|
15173
|
+
* именно её, поэтому «ключ занят» в UI и «ключ дублируется» в документе не могут разойтись.
|
|
15174
|
+
*
|
|
15175
|
+
* На вход идут materialized-ноды владельца (`resolveOwnerNodeGraph`), а не сырые `owner.nodes`: ключ
|
|
15176
|
+
* принадлежит конкретному view, поэтому нода внутри prefab-инстанса участвует в проверке наравне с
|
|
15177
|
+
* обычной нодой сцены. Ключ группируется по trimmed-значению; пустая строка остаётся отдельной
|
|
15178
|
+
* группой, чтобы вызывающий отличил «ключа нет» от «ключ состоит из пробелов».
|
|
15179
|
+
*/
|
|
15180
|
+
export declare function collectBindingKeys(nodes: readonly UINode[]): Map<string, string[]>;
|
|
15181
|
+
/** Область владельца: собственные узлы сцены или определения пресета. Инстанс адресуется своим id. */
|
|
15182
|
+
export declare const OWNER_BINDING_KEY_SCOPE = "";
|
|
15183
|
+
/**
|
|
15184
|
+
* Разбивает materialized-граф владельца на области, внутри которых ключ обязан быть уникальным.
|
|
15185
|
+
* Область — это то, относительно чего ключ разрешается, а не весь граф целиком: развёрнутое из
|
|
15186
|
+
* определения поддерево принадлежит своему инстансу, потому что игровой код спрашивает такой ключ
|
|
15187
|
+
* у конкретного инстанса (`materializedPrefabNodeId`), а не у сцены. Иначе пресет с ключом внутри
|
|
15188
|
+
* нельзя было бы разместить на сцене дважды: второй инстанс тиражировал бы тот же ключ.
|
|
15189
|
+
*
|
|
15190
|
+
* Локально добавленный узел попадает сразу в две области: он существует в единственном экземпляре и
|
|
15191
|
+
* авторится на сцене, поэтому участвует в области владельца, но живёт внутри инстанса, поэтому не
|
|
15192
|
+
* должен сталкиваться с унаследованными ключами того же инстанса.
|
|
15193
|
+
*/
|
|
15194
|
+
export declare function collectBindingKeyScopes(graph: {
|
|
15195
|
+
readonly nodes: readonly UINode[];
|
|
15196
|
+
readonly origins: ReadonlyMap<string, MaterializedPrefabNodeOrigin>;
|
|
15197
|
+
}): Map<string, UINode[]>;
|
|
12989
15198
|
export declare function collectEffectAssetIds(effect: EffectDefinition): string[];
|
|
12990
15199
|
export declare function validateProjectDocument(input: unknown): ValidationResult;
|
|
12991
15200
|
export declare function assertProjectDocument(input: unknown): asserts input is ProjectDocument;
|
|
12992
15201
|
export declare function migrateProjectDocument(input: unknown): ProjectDocument;
|
|
12993
15202
|
export declare function serializeProjectDocument(document: ProjectDocument): string;
|
|
12994
15203
|
export * from "./assetPaths.js";
|
|
15204
|
+
export * from "./localization.js";
|
|
12995
15205
|
export * from "./manifest.js";
|
|
12996
15206
|
export * from "./prefabs.js";
|
|
12997
15207
|
//# sourceMappingURL=index.d.ts.map
|