@hirokisakabe/pom 5.1.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/dist/autoFit/autoFit.d.ts +2 -1
- package/dist/autoFit/autoFit.d.ts.map +1 -1
- package/dist/autoFit/autoFit.js +7 -7
- package/dist/autoFit/strategies/reduceFontSize.js +1 -1
- package/dist/autoFit/strategies/reduceGapAndPadding.js +1 -1
- package/dist/autoFit/strategies/reduceTableRowHeight.js +1 -1
- package/dist/autoFit/strategies/uniformScale.js +1 -1
- package/dist/buildContext.d.ts +12 -0
- package/dist/buildContext.d.ts.map +1 -0
- package/dist/buildContext.js +8 -0
- package/dist/buildPptx.d.ts +1 -1
- package/dist/buildPptx.d.ts.map +1 -1
- package/dist/buildPptx.js +15 -15
- package/dist/calcYogaLayout/calcYogaLayout.d.ts +3 -1
- package/dist/calcYogaLayout/calcYogaLayout.d.ts.map +1 -1
- package/dist/calcYogaLayout/calcYogaLayout.js +85 -341
- package/dist/calcYogaLayout/measureText.d.ts +1 -5
- package/dist/calcYogaLayout/measureText.d.ts.map +1 -1
- package/dist/calcYogaLayout/measureText.js +2 -10
- package/dist/icons/renderIcon.d.ts +1 -1
- package/dist/icons/renderIcon.d.ts.map +1 -1
- package/dist/icons/renderIcon.js +3 -4
- package/dist/parseXml/coercionRules.d.ts +35 -0
- package/dist/parseXml/coercionRules.d.ts.map +1 -0
- package/dist/parseXml/coercionRules.js +477 -0
- package/dist/parseXml/inputSchema.d.ts +326 -64
- package/dist/parseXml/inputSchema.d.ts.map +1 -1
- package/dist/parseXml/inputSchema.js +13 -3
- package/dist/parseXml/parseXml.d.ts.map +1 -1
- package/dist/parseXml/parseXml.js +40 -270
- package/dist/registry/definitions/box.d.ts +3 -0
- package/dist/registry/definitions/box.d.ts.map +1 -0
- package/dist/registry/definitions/box.js +6 -0
- package/dist/registry/definitions/chart.d.ts +3 -0
- package/dist/registry/definitions/chart.d.ts.map +1 -0
- package/dist/registry/definitions/chart.js +8 -0
- package/dist/registry/definitions/compositeNodes.d.ts +8 -0
- package/dist/registry/definitions/compositeNodes.d.ts.map +1 -0
- package/dist/registry/definitions/compositeNodes.js +81 -0
- package/dist/registry/definitions/icon.d.ts +3 -0
- package/dist/registry/definitions/icon.d.ts.map +1 -0
- package/dist/registry/definitions/icon.js +28 -0
- package/dist/registry/definitions/image.d.ts +3 -0
- package/dist/registry/definitions/image.d.ts.map +1 -0
- package/dist/registry/definitions/image.js +34 -0
- package/dist/registry/definitions/layer.d.ts +3 -0
- package/dist/registry/definitions/layer.d.ts.map +1 -0
- package/dist/registry/definitions/layer.js +49 -0
- package/dist/registry/definitions/line.d.ts +3 -0
- package/dist/registry/definitions/line.d.ts.map +1 -0
- package/dist/registry/definitions/line.js +26 -0
- package/dist/registry/definitions/list.d.ts +4 -0
- package/dist/registry/definitions/list.d.ts.map +1 -0
- package/dist/registry/definitions/list.js +53 -0
- package/dist/registry/definitions/shape.d.ts +3 -0
- package/dist/registry/definitions/shape.d.ts.map +1 -0
- package/dist/registry/definitions/shape.js +37 -0
- package/dist/registry/definitions/stack.d.ts +4 -0
- package/dist/registry/definitions/stack.d.ts.map +1 -0
- package/dist/registry/definitions/stack.js +78 -0
- package/dist/registry/definitions/table.d.ts +3 -0
- package/dist/registry/definitions/table.d.ts.map +1 -0
- package/dist/registry/definitions/table.js +16 -0
- package/dist/registry/definitions/text.d.ts +3 -0
- package/dist/registry/definitions/text.d.ts.map +1 -0
- package/dist/registry/definitions/text.js +35 -0
- package/dist/registry/index.d.ts +2 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +34 -0
- package/dist/registry/nodeRegistry.d.ts +7 -0
- package/dist/registry/nodeRegistry.d.ts.map +1 -0
- package/dist/registry/nodeRegistry.js +13 -0
- package/dist/registry/types.d.ts +26 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/registry/types.js +1 -0
- package/dist/renderPptx/renderPptx.d.ts +2 -1
- package/dist/renderPptx/renderPptx.d.ts.map +1 -1
- package/dist/renderPptx/renderPptx.js +30 -61
- package/dist/renderPptx/types.d.ts +2 -0
- package/dist/renderPptx/types.d.ts.map +1 -1
- package/dist/renderPptx/utils/backgroundBorder.d.ts.map +1 -1
- package/dist/renderPptx/utils/backgroundBorder.js +1 -1
- package/dist/shared/freeYogaTree.d.ts.map +1 -0
- package/dist/shared/measureImage.d.ts +13 -3
- package/dist/shared/measureImage.d.ts.map +1 -1
- package/dist/shared/measureImage.js +14 -19
- package/dist/shared/walkTree.d.ts.map +1 -0
- package/dist/toPositioned/toPositioned.d.ts +8 -1
- package/dist/toPositioned/toPositioned.d.ts.map +1 -1
- package/dist/toPositioned/toPositioned.js +32 -189
- package/dist/types.d.ts +371 -37
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +20 -1
- package/package.json +3 -3
- package/dist/autoFit/freeYogaTree.d.ts.map +0 -1
- package/dist/autoFit/walkTree.d.ts.map +0 -1
- package/dist/renderPptx/nodes/index.d.ts +0 -15
- package/dist/renderPptx/nodes/index.d.ts.map +0 -1
- package/dist/renderPptx/nodes/index.js +0 -14
- /package/dist/{autoFit → shared}/freeYogaTree.d.ts +0 -0
- /package/dist/{autoFit → shared}/freeYogaTree.js +0 -0
- /package/dist/{autoFit → shared}/walkTree.d.ts +0 -0
- /package/dist/{autoFit → shared}/walkTree.js +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -107,6 +107,22 @@ export declare const alignItemsSchema: z.ZodEnum<{
|
|
|
107
107
|
end: "end";
|
|
108
108
|
stretch: "stretch";
|
|
109
109
|
}>;
|
|
110
|
+
export declare const alignSelfSchema: z.ZodEnum<{
|
|
111
|
+
auto: "auto";
|
|
112
|
+
start: "start";
|
|
113
|
+
center: "center";
|
|
114
|
+
end: "end";
|
|
115
|
+
stretch: "stretch";
|
|
116
|
+
}>;
|
|
117
|
+
export declare const positionTypeSchema: z.ZodEnum<{
|
|
118
|
+
relative: "relative";
|
|
119
|
+
absolute: "absolute";
|
|
120
|
+
}>;
|
|
121
|
+
export declare const flexWrapSchema: z.ZodEnum<{
|
|
122
|
+
nowrap: "nowrap";
|
|
123
|
+
wrap: "wrap";
|
|
124
|
+
wrapReverse: "wrapReverse";
|
|
125
|
+
}>;
|
|
110
126
|
export declare const justifyContentSchema: z.ZodEnum<{
|
|
111
127
|
start: "start";
|
|
112
128
|
center: "center";
|
|
@@ -297,6 +313,7 @@ export declare const shapeTypeSchema: z.ZodEnum<{
|
|
|
297
313
|
}>;
|
|
298
314
|
export type ShadowStyle = z.infer<typeof shadowStyleSchema>;
|
|
299
315
|
export type AlignItems = z.infer<typeof alignItemsSchema>;
|
|
316
|
+
export type FlexWrap = z.infer<typeof flexWrapSchema>;
|
|
300
317
|
export type JustifyContent = z.infer<typeof justifyContentSchema>;
|
|
301
318
|
export type UnderlineStyle = z.infer<typeof underlineStyleSchema>;
|
|
302
319
|
export type Underline = z.infer<typeof underlineSchema>;
|
|
@@ -321,6 +338,12 @@ declare const basePOMNodeSchema: z.ZodObject<{
|
|
|
321
338
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
322
339
|
left: z.ZodOptional<z.ZodNumber>;
|
|
323
340
|
}, z.core.$strip>]>>;
|
|
341
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
342
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
}, z.core.$strip>]>>;
|
|
324
347
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
325
348
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
326
349
|
src: z.ZodString;
|
|
@@ -345,6 +368,22 @@ declare const basePOMNodeSchema: z.ZodObject<{
|
|
|
345
368
|
}, z.core.$strip>>;
|
|
346
369
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
347
370
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
372
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
373
|
+
relative: "relative";
|
|
374
|
+
absolute: "absolute";
|
|
375
|
+
}>>;
|
|
376
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
auto: "auto";
|
|
382
|
+
start: "start";
|
|
383
|
+
center: "center";
|
|
384
|
+
end: "end";
|
|
385
|
+
stretch: "stretch";
|
|
386
|
+
}>>;
|
|
348
387
|
}, z.core.$strip>;
|
|
349
388
|
type BasePOMNode = z.infer<typeof basePOMNodeSchema>;
|
|
350
389
|
declare const textNodeSchema: z.ZodObject<{
|
|
@@ -361,6 +400,12 @@ declare const textNodeSchema: z.ZodObject<{
|
|
|
361
400
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
362
401
|
left: z.ZodOptional<z.ZodNumber>;
|
|
363
402
|
}, z.core.$strip>]>>;
|
|
403
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
404
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
405
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
}, z.core.$strip>]>>;
|
|
364
409
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
365
410
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
366
411
|
src: z.ZodString;
|
|
@@ -385,6 +430,22 @@ declare const textNodeSchema: z.ZodObject<{
|
|
|
385
430
|
}, z.core.$strip>>;
|
|
386
431
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
387
432
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
relative: "relative";
|
|
436
|
+
absolute: "absolute";
|
|
437
|
+
}>>;
|
|
438
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
439
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
440
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
442
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
443
|
+
auto: "auto";
|
|
444
|
+
start: "start";
|
|
445
|
+
center: "center";
|
|
446
|
+
end: "end";
|
|
447
|
+
stretch: "stretch";
|
|
448
|
+
}>>;
|
|
388
449
|
type: z.ZodLiteral<"text">;
|
|
389
450
|
text: z.ZodString;
|
|
390
451
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -465,6 +526,12 @@ declare const ulNodeSchema: z.ZodObject<{
|
|
|
465
526
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
466
527
|
left: z.ZodOptional<z.ZodNumber>;
|
|
467
528
|
}, z.core.$strip>]>>;
|
|
529
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
530
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
532
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
}, z.core.$strip>]>>;
|
|
468
535
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
469
536
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
470
537
|
src: z.ZodString;
|
|
@@ -489,6 +556,22 @@ declare const ulNodeSchema: z.ZodObject<{
|
|
|
489
556
|
}, z.core.$strip>>;
|
|
490
557
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
491
558
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
559
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
relative: "relative";
|
|
562
|
+
absolute: "absolute";
|
|
563
|
+
}>>;
|
|
564
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
566
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
567
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
569
|
+
auto: "auto";
|
|
570
|
+
start: "start";
|
|
571
|
+
center: "center";
|
|
572
|
+
end: "end";
|
|
573
|
+
stretch: "stretch";
|
|
574
|
+
}>>;
|
|
492
575
|
type: z.ZodLiteral<"ul">;
|
|
493
576
|
items: z.ZodArray<z.ZodObject<{
|
|
494
577
|
text: z.ZodString;
|
|
@@ -568,6 +651,12 @@ declare const olNodeSchema: z.ZodObject<{
|
|
|
568
651
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
569
652
|
left: z.ZodOptional<z.ZodNumber>;
|
|
570
653
|
}, z.core.$strip>]>>;
|
|
654
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
655
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
656
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
657
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
659
|
+
}, z.core.$strip>]>>;
|
|
571
660
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
572
661
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
573
662
|
src: z.ZodString;
|
|
@@ -592,6 +681,22 @@ declare const olNodeSchema: z.ZodObject<{
|
|
|
592
681
|
}, z.core.$strip>>;
|
|
593
682
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
594
683
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
685
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
686
|
+
relative: "relative";
|
|
687
|
+
absolute: "absolute";
|
|
688
|
+
}>>;
|
|
689
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
690
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
693
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
694
|
+
auto: "auto";
|
|
695
|
+
start: "start";
|
|
696
|
+
center: "center";
|
|
697
|
+
end: "end";
|
|
698
|
+
stretch: "stretch";
|
|
699
|
+
}>>;
|
|
595
700
|
type: z.ZodLiteral<"ol">;
|
|
596
701
|
items: z.ZodArray<z.ZodObject<{
|
|
597
702
|
text: z.ZodString;
|
|
@@ -690,6 +795,12 @@ declare const imageNodeSchema: z.ZodObject<{
|
|
|
690
795
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
691
796
|
left: z.ZodOptional<z.ZodNumber>;
|
|
692
797
|
}, z.core.$strip>]>>;
|
|
798
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
799
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
800
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
801
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
802
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
803
|
+
}, z.core.$strip>]>>;
|
|
693
804
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
694
805
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
695
806
|
src: z.ZodString;
|
|
@@ -714,6 +825,22 @@ declare const imageNodeSchema: z.ZodObject<{
|
|
|
714
825
|
}, z.core.$strip>>;
|
|
715
826
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
716
827
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
829
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
relative: "relative";
|
|
831
|
+
absolute: "absolute";
|
|
832
|
+
}>>;
|
|
833
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
834
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
835
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
836
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
838
|
+
auto: "auto";
|
|
839
|
+
start: "start";
|
|
840
|
+
center: "center";
|
|
841
|
+
end: "end";
|
|
842
|
+
stretch: "stretch";
|
|
843
|
+
}>>;
|
|
717
844
|
type: z.ZodLiteral<"image">;
|
|
718
845
|
src: z.ZodString;
|
|
719
846
|
sizing: z.ZodOptional<z.ZodObject<{
|
|
@@ -757,6 +884,12 @@ declare const iconNodeSchema: z.ZodObject<{
|
|
|
757
884
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
758
885
|
left: z.ZodOptional<z.ZodNumber>;
|
|
759
886
|
}, z.core.$strip>]>>;
|
|
887
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
888
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
890
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
891
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
892
|
+
}, z.core.$strip>]>>;
|
|
760
893
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
761
894
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
762
895
|
src: z.ZodString;
|
|
@@ -781,6 +914,22 @@ declare const iconNodeSchema: z.ZodObject<{
|
|
|
781
914
|
}, z.core.$strip>>;
|
|
782
915
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
783
916
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
917
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
918
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
919
|
+
relative: "relative";
|
|
920
|
+
absolute: "absolute";
|
|
921
|
+
}>>;
|
|
922
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
924
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
925
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
926
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
927
|
+
auto: "auto";
|
|
928
|
+
start: "start";
|
|
929
|
+
center: "center";
|
|
930
|
+
end: "end";
|
|
931
|
+
stretch: "stretch";
|
|
932
|
+
}>>;
|
|
784
933
|
type: z.ZodLiteral<"icon">;
|
|
785
934
|
name: z.ZodEnum<{
|
|
786
935
|
[x: string]: string;
|
|
@@ -791,43 +940,6 @@ declare const iconNodeSchema: z.ZodObject<{
|
|
|
791
940
|
export type IconNode = z.infer<typeof iconNodeSchema> & {
|
|
792
941
|
yogaNode?: YogaNode;
|
|
793
942
|
};
|
|
794
|
-
export declare const tableCellSchema: z.ZodObject<{
|
|
795
|
-
text: z.ZodString;
|
|
796
|
-
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
797
|
-
color: z.ZodOptional<z.ZodString>;
|
|
798
|
-
bold: z.ZodOptional<z.ZodBoolean>;
|
|
799
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
800
|
-
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
801
|
-
style: z.ZodOptional<z.ZodEnum<{
|
|
802
|
-
dash: "dash";
|
|
803
|
-
dashHeavy: "dashHeavy";
|
|
804
|
-
dashLong: "dashLong";
|
|
805
|
-
dashLongHeavy: "dashLongHeavy";
|
|
806
|
-
dbl: "dbl";
|
|
807
|
-
dotDash: "dotDash";
|
|
808
|
-
dotDotDash: "dotDotDash";
|
|
809
|
-
dotted: "dotted";
|
|
810
|
-
dottedHeavy: "dottedHeavy";
|
|
811
|
-
heavy: "heavy";
|
|
812
|
-
none: "none";
|
|
813
|
-
sng: "sng";
|
|
814
|
-
wavy: "wavy";
|
|
815
|
-
wavyDbl: "wavyDbl";
|
|
816
|
-
wavyHeavy: "wavyHeavy";
|
|
817
|
-
}>>;
|
|
818
|
-
color: z.ZodOptional<z.ZodString>;
|
|
819
|
-
}, z.core.$strip>]>>;
|
|
820
|
-
strike: z.ZodOptional<z.ZodBoolean>;
|
|
821
|
-
highlight: z.ZodOptional<z.ZodString>;
|
|
822
|
-
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
823
|
-
right: "right";
|
|
824
|
-
left: "left";
|
|
825
|
-
center: "center";
|
|
826
|
-
}>>;
|
|
827
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
828
|
-
colspan: z.ZodOptional<z.ZodNumber>;
|
|
829
|
-
rowspan: z.ZodOptional<z.ZodNumber>;
|
|
830
|
-
}, z.core.$strip>;
|
|
831
943
|
export declare const tableRowSchema: z.ZodObject<{
|
|
832
944
|
cells: z.ZodArray<z.ZodObject<{
|
|
833
945
|
text: z.ZodString;
|
|
@@ -885,6 +997,12 @@ export declare const tableNodeSchema: z.ZodObject<{
|
|
|
885
997
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
886
998
|
left: z.ZodOptional<z.ZodNumber>;
|
|
887
999
|
}, z.core.$strip>]>>;
|
|
1000
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1001
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1005
|
+
}, z.core.$strip>]>>;
|
|
888
1006
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
889
1007
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
890
1008
|
src: z.ZodString;
|
|
@@ -909,6 +1027,22 @@ export declare const tableNodeSchema: z.ZodObject<{
|
|
|
909
1027
|
}, z.core.$strip>>;
|
|
910
1028
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
911
1029
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1030
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1031
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1032
|
+
relative: "relative";
|
|
1033
|
+
absolute: "absolute";
|
|
1034
|
+
}>>;
|
|
1035
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1036
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1039
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1040
|
+
auto: "auto";
|
|
1041
|
+
start: "start";
|
|
1042
|
+
center: "center";
|
|
1043
|
+
end: "end";
|
|
1044
|
+
stretch: "stretch";
|
|
1045
|
+
}>>;
|
|
912
1046
|
type: z.ZodLiteral<"table">;
|
|
913
1047
|
columns: z.ZodArray<z.ZodObject<{
|
|
914
1048
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -969,6 +1103,12 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
969
1103
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
970
1104
|
left: z.ZodOptional<z.ZodNumber>;
|
|
971
1105
|
}, z.core.$strip>]>>;
|
|
1106
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1107
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1108
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1109
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1110
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1111
|
+
}, z.core.$strip>]>>;
|
|
972
1112
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
973
1113
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
974
1114
|
src: z.ZodString;
|
|
@@ -993,6 +1133,22 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
993
1133
|
}, z.core.$strip>>;
|
|
994
1134
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
995
1135
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1136
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1137
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1138
|
+
relative: "relative";
|
|
1139
|
+
absolute: "absolute";
|
|
1140
|
+
}>>;
|
|
1141
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1142
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1145
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1146
|
+
auto: "auto";
|
|
1147
|
+
start: "start";
|
|
1148
|
+
center: "center";
|
|
1149
|
+
end: "end";
|
|
1150
|
+
stretch: "stretch";
|
|
1151
|
+
}>>;
|
|
996
1152
|
type: z.ZodLiteral<"shape">;
|
|
997
1153
|
shapeType: z.ZodEnum<{
|
|
998
1154
|
cloud: "cloud";
|
|
@@ -1270,6 +1426,12 @@ declare const chartNodeSchema: z.ZodObject<{
|
|
|
1270
1426
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1271
1427
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1272
1428
|
}, z.core.$strip>]>>;
|
|
1429
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1430
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1431
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1432
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1433
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1434
|
+
}, z.core.$strip>]>>;
|
|
1273
1435
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1274
1436
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1275
1437
|
src: z.ZodString;
|
|
@@ -1294,6 +1456,22 @@ declare const chartNodeSchema: z.ZodObject<{
|
|
|
1294
1456
|
}, z.core.$strip>>;
|
|
1295
1457
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1296
1458
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1459
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1460
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1461
|
+
relative: "relative";
|
|
1462
|
+
absolute: "absolute";
|
|
1463
|
+
}>>;
|
|
1464
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1465
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1467
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1468
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1469
|
+
auto: "auto";
|
|
1470
|
+
start: "start";
|
|
1471
|
+
center: "center";
|
|
1472
|
+
end: "end";
|
|
1473
|
+
stretch: "stretch";
|
|
1474
|
+
}>>;
|
|
1297
1475
|
type: z.ZodLiteral<"chart">;
|
|
1298
1476
|
chartType: z.ZodEnum<{
|
|
1299
1477
|
line: "line";
|
|
@@ -1350,6 +1528,12 @@ export declare const timelineNodeSchema: z.ZodObject<{
|
|
|
1350
1528
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1351
1529
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1352
1530
|
}, z.core.$strip>]>>;
|
|
1531
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1532
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1533
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1534
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1535
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1536
|
+
}, z.core.$strip>]>>;
|
|
1353
1537
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1354
1538
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1355
1539
|
src: z.ZodString;
|
|
@@ -1374,6 +1558,22 @@ export declare const timelineNodeSchema: z.ZodObject<{
|
|
|
1374
1558
|
}, z.core.$strip>>;
|
|
1375
1559
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1376
1560
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1561
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1562
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1563
|
+
relative: "relative";
|
|
1564
|
+
absolute: "absolute";
|
|
1565
|
+
}>>;
|
|
1566
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1567
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1568
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1570
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1571
|
+
auto: "auto";
|
|
1572
|
+
start: "start";
|
|
1573
|
+
center: "center";
|
|
1574
|
+
end: "end";
|
|
1575
|
+
stretch: "stretch";
|
|
1576
|
+
}>>;
|
|
1377
1577
|
type: z.ZodLiteral<"timeline">;
|
|
1378
1578
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1379
1579
|
horizontal: "horizontal";
|
|
@@ -1417,6 +1617,12 @@ export declare const matrixNodeSchema: z.ZodObject<{
|
|
|
1417
1617
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1418
1618
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1419
1619
|
}, z.core.$strip>]>>;
|
|
1620
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1621
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1622
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
}, z.core.$strip>]>>;
|
|
1420
1626
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1421
1627
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1422
1628
|
src: z.ZodString;
|
|
@@ -1441,6 +1647,22 @@ export declare const matrixNodeSchema: z.ZodObject<{
|
|
|
1441
1647
|
}, z.core.$strip>>;
|
|
1442
1648
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1443
1649
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1650
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1651
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1652
|
+
relative: "relative";
|
|
1653
|
+
absolute: "absolute";
|
|
1654
|
+
}>>;
|
|
1655
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1657
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1658
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1659
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1660
|
+
auto: "auto";
|
|
1661
|
+
start: "start";
|
|
1662
|
+
center: "center";
|
|
1663
|
+
end: "end";
|
|
1664
|
+
stretch: "stretch";
|
|
1665
|
+
}>>;
|
|
1444
1666
|
type: z.ZodLiteral<"matrix">;
|
|
1445
1667
|
axes: z.ZodObject<{
|
|
1446
1668
|
x: z.ZodString;
|
|
@@ -1492,6 +1714,12 @@ export declare const treeNodeSchema: z.ZodObject<{
|
|
|
1492
1714
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1493
1715
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1494
1716
|
}, z.core.$strip>]>>;
|
|
1717
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1718
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1719
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1720
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1722
|
+
}, z.core.$strip>]>>;
|
|
1495
1723
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1496
1724
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1497
1725
|
src: z.ZodString;
|
|
@@ -1516,6 +1744,22 @@ export declare const treeNodeSchema: z.ZodObject<{
|
|
|
1516
1744
|
}, z.core.$strip>>;
|
|
1517
1745
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1518
1746
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1748
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1749
|
+
relative: "relative";
|
|
1750
|
+
absolute: "absolute";
|
|
1751
|
+
}>>;
|
|
1752
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1753
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1754
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1755
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1756
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1757
|
+
auto: "auto";
|
|
1758
|
+
start: "start";
|
|
1759
|
+
center: "center";
|
|
1760
|
+
end: "end";
|
|
1761
|
+
stretch: "stretch";
|
|
1762
|
+
}>>;
|
|
1519
1763
|
type: z.ZodLiteral<"tree">;
|
|
1520
1764
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
1521
1765
|
horizontal: "horizontal";
|
|
@@ -1562,6 +1806,12 @@ export declare const processArrowNodeSchema: z.ZodObject<{
|
|
|
1562
1806
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1563
1807
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1564
1808
|
}, z.core.$strip>]>>;
|
|
1809
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1810
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1811
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1813
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
+
}, z.core.$strip>]>>;
|
|
1565
1815
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1566
1816
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1567
1817
|
src: z.ZodString;
|
|
@@ -1586,6 +1836,22 @@ export declare const processArrowNodeSchema: z.ZodObject<{
|
|
|
1586
1836
|
}, z.core.$strip>>;
|
|
1587
1837
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1588
1838
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1839
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1840
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1841
|
+
relative: "relative";
|
|
1842
|
+
absolute: "absolute";
|
|
1843
|
+
}>>;
|
|
1844
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1845
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1846
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1847
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1848
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1849
|
+
auto: "auto";
|
|
1850
|
+
start: "start";
|
|
1851
|
+
center: "center";
|
|
1852
|
+
end: "end";
|
|
1853
|
+
stretch: "stretch";
|
|
1854
|
+
}>>;
|
|
1589
1855
|
type: z.ZodLiteral<"processArrow">;
|
|
1590
1856
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1591
1857
|
horizontal: "horizontal";
|
|
@@ -1649,6 +1915,12 @@ export declare const pyramidNodeSchema: z.ZodObject<{
|
|
|
1649
1915
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1650
1916
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1651
1917
|
}, z.core.$strip>]>>;
|
|
1918
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1919
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1920
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1921
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1922
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1923
|
+
}, z.core.$strip>]>>;
|
|
1652
1924
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1653
1925
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1654
1926
|
src: z.ZodString;
|
|
@@ -1673,6 +1945,22 @@ export declare const pyramidNodeSchema: z.ZodObject<{
|
|
|
1673
1945
|
}, z.core.$strip>>;
|
|
1674
1946
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1675
1947
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1948
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
1949
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1950
|
+
relative: "relative";
|
|
1951
|
+
absolute: "absolute";
|
|
1952
|
+
}>>;
|
|
1953
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1954
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1955
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1956
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1957
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
1958
|
+
auto: "auto";
|
|
1959
|
+
start: "start";
|
|
1960
|
+
center: "center";
|
|
1961
|
+
end: "end";
|
|
1962
|
+
stretch: "stretch";
|
|
1963
|
+
}>>;
|
|
1676
1964
|
type: z.ZodLiteral<"pyramid">;
|
|
1677
1965
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1678
1966
|
up: "up";
|
|
@@ -1745,6 +2033,12 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
1745
2033
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1746
2034
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1747
2035
|
}, z.core.$strip>]>>;
|
|
2036
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2037
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
2038
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
2039
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
2040
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
2041
|
+
}, z.core.$strip>]>>;
|
|
1748
2042
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1749
2043
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1750
2044
|
src: z.ZodString;
|
|
@@ -1769,6 +2063,22 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
1769
2063
|
}, z.core.$strip>>;
|
|
1770
2064
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1771
2065
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2066
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
2067
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
2068
|
+
relative: "relative";
|
|
2069
|
+
absolute: "absolute";
|
|
2070
|
+
}>>;
|
|
2071
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
2072
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
2073
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
2074
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
2076
|
+
auto: "auto";
|
|
2077
|
+
start: "start";
|
|
2078
|
+
center: "center";
|
|
2079
|
+
end: "end";
|
|
2080
|
+
stretch: "stretch";
|
|
2081
|
+
}>>;
|
|
1772
2082
|
type: z.ZodLiteral<"flow">;
|
|
1773
2083
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1774
2084
|
horizontal: "horizontal";
|
|
@@ -1843,6 +2153,12 @@ declare const lineNodeSchema: z.ZodObject<{
|
|
|
1843
2153
|
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1844
2154
|
left: z.ZodOptional<z.ZodNumber>;
|
|
1845
2155
|
}, z.core.$strip>]>>;
|
|
2156
|
+
margin: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2157
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
2158
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
2159
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
2160
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
2161
|
+
}, z.core.$strip>]>>;
|
|
1846
2162
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1847
2163
|
backgroundImage: z.ZodOptional<z.ZodObject<{
|
|
1848
2164
|
src: z.ZodString;
|
|
@@ -1867,6 +2183,22 @@ declare const lineNodeSchema: z.ZodObject<{
|
|
|
1867
2183
|
}, z.core.$strip>>;
|
|
1868
2184
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
1869
2185
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2186
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
2187
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
2188
|
+
relative: "relative";
|
|
2189
|
+
absolute: "absolute";
|
|
2190
|
+
}>>;
|
|
2191
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
2192
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
2193
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
2195
|
+
alignSelf: z.ZodOptional<z.ZodEnum<{
|
|
2196
|
+
auto: "auto";
|
|
2197
|
+
start: "start";
|
|
2198
|
+
center: "center";
|
|
2199
|
+
end: "end";
|
|
2200
|
+
stretch: "stretch";
|
|
2201
|
+
}>>;
|
|
1870
2202
|
type: z.ZodLiteral<"line">;
|
|
1871
2203
|
x1: z.ZodNumber;
|
|
1872
2204
|
y1: z.ZodNumber;
|
|
@@ -1919,6 +2251,7 @@ export type VStackNode = BasePOMNode & {
|
|
|
1919
2251
|
alignItems?: AlignItems;
|
|
1920
2252
|
justifyContent?: JustifyContent;
|
|
1921
2253
|
shadow?: ShadowStyle;
|
|
2254
|
+
flexWrap?: FlexWrap;
|
|
1922
2255
|
};
|
|
1923
2256
|
export type HStackNode = BasePOMNode & {
|
|
1924
2257
|
type: "hstack";
|
|
@@ -1927,6 +2260,7 @@ export type HStackNode = BasePOMNode & {
|
|
|
1927
2260
|
alignItems?: AlignItems;
|
|
1928
2261
|
justifyContent?: JustifyContent;
|
|
1929
2262
|
shadow?: ShadowStyle;
|
|
2263
|
+
flexWrap?: FlexWrap;
|
|
1930
2264
|
};
|
|
1931
2265
|
type LayerChild = POMNode & {
|
|
1932
2266
|
x: number;
|