@hirokisakabe/pom 5.3.0 → 5.5.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/README.md +7 -5
- package/dist/autoFit/autoFit.d.ts +2 -1
- package/dist/autoFit/autoFit.d.ts.map +1 -1
- package/dist/autoFit/autoFit.js +33 -17
- package/dist/buildContext.d.ts +2 -0
- package/dist/buildContext.d.ts.map +1 -1
- package/dist/buildContext.js +2 -0
- package/dist/buildPptx.d.ts +7 -1
- package/dist/buildPptx.d.ts.map +1 -1
- package/dist/buildPptx.js +14 -5
- package/dist/calcYogaLayout/calcYogaLayout.d.ts +4 -2
- package/dist/calcYogaLayout/calcYogaLayout.d.ts.map +1 -1
- package/dist/calcYogaLayout/calcYogaLayout.js +29 -15
- package/dist/calcYogaLayout/types.d.ts +16 -0
- package/dist/calcYogaLayout/types.d.ts.map +1 -0
- package/dist/calcYogaLayout/types.js +14 -0
- package/dist/diagnostics.d.ts +14 -0
- package/dist/diagnostics.d.ts.map +1 -0
- package/dist/diagnostics.js +17 -0
- package/dist/icons/iconData.d.ts.map +1 -1
- package/dist/icons/iconData.js +7708 -43
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/parseXml/parseXml.d.ts +1 -1
- package/dist/parseXml/parseXml.d.ts.map +1 -1
- package/dist/parseXml/parseXml.js +16 -16
- package/dist/registry/definitions/icon.d.ts.map +1 -1
- package/dist/registry/definitions/icon.js +26 -14
- package/dist/registry/definitions/image.d.ts.map +1 -1
- package/dist/registry/definitions/image.js +2 -3
- package/dist/registry/definitions/layer.d.ts.map +1 -1
- package/dist/registry/definitions/layer.js +9 -6
- package/dist/registry/definitions/line.d.ts.map +1 -1
- package/dist/registry/definitions/line.js +1 -2
- package/dist/registry/types.d.ts +2 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/renderPptx/nodes/chart.d.ts.map +1 -1
- package/dist/renderPptx/nodes/chart.js +6 -4
- package/dist/renderPptx/nodes/flow.d.ts.map +1 -1
- package/dist/renderPptx/nodes/flow.js +14 -4
- package/dist/renderPptx/nodes/image.d.ts.map +1 -1
- package/dist/renderPptx/nodes/image.js +8 -6
- package/dist/renderPptx/nodes/list.d.ts.map +1 -1
- package/dist/renderPptx/nodes/list.js +19 -16
- package/dist/renderPptx/nodes/matrix.d.ts.map +1 -1
- package/dist/renderPptx/nodes/matrix.js +11 -9
- package/dist/renderPptx/nodes/processArrow.d.ts.map +1 -1
- package/dist/renderPptx/nodes/processArrow.js +14 -4
- package/dist/renderPptx/nodes/pyramid.d.ts.map +1 -1
- package/dist/renderPptx/nodes/pyramid.js +6 -4
- package/dist/renderPptx/nodes/shape.d.ts.map +1 -1
- package/dist/renderPptx/nodes/shape.js +6 -4
- package/dist/renderPptx/nodes/table.d.ts.map +1 -1
- package/dist/renderPptx/nodes/table.js +7 -5
- package/dist/renderPptx/nodes/timeline.d.ts.map +1 -1
- package/dist/renderPptx/nodes/timeline.js +14 -4
- package/dist/renderPptx/nodes/tree.d.ts.map +1 -1
- package/dist/renderPptx/nodes/tree.js +6 -4
- package/dist/renderPptx/textOptions.d.ts.map +1 -1
- package/dist/renderPptx/textOptions.js +6 -4
- package/dist/renderPptx/utils/contentArea.d.ts +26 -0
- package/dist/renderPptx/utils/contentArea.d.ts.map +1 -0
- package/dist/renderPptx/utils/contentArea.js +26 -0
- package/dist/renderPptx/utils/scaleToFit.d.ts +3 -2
- package/dist/renderPptx/utils/scaleToFit.d.ts.map +1 -1
- package/dist/renderPptx/utils/scaleToFit.js +3 -3
- package/dist/shared/freeYogaTree.d.ts +3 -3
- package/dist/shared/freeYogaTree.d.ts.map +1 -1
- package/dist/shared/freeYogaTree.js +16 -21
- package/dist/shared/measureImage.d.ts +3 -2
- package/dist/shared/measureImage.d.ts.map +1 -1
- package/dist/shared/measureImage.js +5 -5
- package/dist/toPositioned/toPositioned.d.ts +3 -6
- package/dist/toPositioned/toPositioned.d.ts.map +1 -1
- package/dist/toPositioned/toPositioned.js +11 -19
- package/dist/types.d.ts +31 -464
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +43 -50
- package/package.json +10 -4
- package/dist/parseXml/inputSchema.d.ts +0 -1622
- package/dist/parseXml/inputSchema.d.ts.map +0 -1
- package/dist/parseXml/inputSchema.js +0 -257
package/dist/types.d.ts
CHANGED
|
@@ -1,40 +1,4 @@
|
|
|
1
|
-
import type { Node as YogaNode } from "yoga-layout";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
export declare const lengthSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>;
|
|
4
|
-
export declare const paddingSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
6
|
-
right: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
bottom: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
}, z.core.$strip>]>;
|
|
10
|
-
export declare const borderDashSchema: z.ZodEnum<{
|
|
11
|
-
solid: "solid";
|
|
12
|
-
dash: "dash";
|
|
13
|
-
dashDot: "dashDot";
|
|
14
|
-
lgDash: "lgDash";
|
|
15
|
-
lgDashDot: "lgDashDot";
|
|
16
|
-
lgDashDotDot: "lgDashDotDot";
|
|
17
|
-
sysDash: "sysDash";
|
|
18
|
-
sysDot: "sysDot";
|
|
19
|
-
}>;
|
|
20
|
-
export declare const borderStyleSchema: z.ZodObject<{
|
|
21
|
-
color: z.ZodOptional<z.ZodString>;
|
|
22
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
23
|
-
dashType: z.ZodOptional<z.ZodEnum<{
|
|
24
|
-
solid: "solid";
|
|
25
|
-
dash: "dash";
|
|
26
|
-
dashDot: "dashDot";
|
|
27
|
-
lgDash: "lgDash";
|
|
28
|
-
lgDashDot: "lgDashDot";
|
|
29
|
-
lgDashDotDot: "lgDashDotDot";
|
|
30
|
-
sysDash: "sysDash";
|
|
31
|
-
sysDot: "sysDot";
|
|
32
|
-
}>>;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
export declare const fillStyleSchema: z.ZodObject<{
|
|
35
|
-
color: z.ZodOptional<z.ZodString>;
|
|
36
|
-
transparency: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
2
|
export declare const shadowStyleSchema: z.ZodObject<{
|
|
39
3
|
type: z.ZodOptional<z.ZodEnum<{
|
|
40
4
|
outer: "outer";
|
|
@@ -46,24 +10,6 @@ export declare const shadowStyleSchema: z.ZodObject<{
|
|
|
46
10
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
47
11
|
color: z.ZodOptional<z.ZodString>;
|
|
48
12
|
}, z.core.$strip>;
|
|
49
|
-
export declare const bulletNumberTypeSchema: z.ZodEnum<{
|
|
50
|
-
alphaLcParenBoth: "alphaLcParenBoth";
|
|
51
|
-
alphaLcParenR: "alphaLcParenR";
|
|
52
|
-
alphaLcPeriod: "alphaLcPeriod";
|
|
53
|
-
alphaUcParenBoth: "alphaUcParenBoth";
|
|
54
|
-
alphaUcParenR: "alphaUcParenR";
|
|
55
|
-
alphaUcPeriod: "alphaUcPeriod";
|
|
56
|
-
arabicParenBoth: "arabicParenBoth";
|
|
57
|
-
arabicParenR: "arabicParenR";
|
|
58
|
-
arabicPeriod: "arabicPeriod";
|
|
59
|
-
arabicPlain: "arabicPlain";
|
|
60
|
-
romanLcParenBoth: "romanLcParenBoth";
|
|
61
|
-
romanLcParenR: "romanLcParenR";
|
|
62
|
-
romanLcPeriod: "romanLcPeriod";
|
|
63
|
-
romanUcParenBoth: "romanUcParenBoth";
|
|
64
|
-
romanUcParenR: "romanUcParenR";
|
|
65
|
-
romanUcPeriod: "romanUcPeriod";
|
|
66
|
-
}>;
|
|
67
13
|
export declare const underlineStyleSchema: z.ZodEnum<{
|
|
68
14
|
dash: "dash";
|
|
69
15
|
dashHeavy: "dashHeavy";
|
|
@@ -101,29 +47,18 @@ export declare const underlineSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodOb
|
|
|
101
47
|
}>>;
|
|
102
48
|
color: z.ZodOptional<z.ZodString>;
|
|
103
49
|
}, z.core.$strip>]>;
|
|
104
|
-
|
|
105
|
-
start: "start";
|
|
106
|
-
center: "center";
|
|
107
|
-
end: "end";
|
|
108
|
-
stretch: "stretch";
|
|
109
|
-
}>;
|
|
110
|
-
export declare const alignSelfSchema: z.ZodEnum<{
|
|
111
|
-
auto: "auto";
|
|
50
|
+
declare const alignItemsSchema: z.ZodEnum<{
|
|
112
51
|
start: "start";
|
|
113
52
|
center: "center";
|
|
114
53
|
end: "end";
|
|
115
54
|
stretch: "stretch";
|
|
116
55
|
}>;
|
|
117
|
-
|
|
118
|
-
relative: "relative";
|
|
119
|
-
absolute: "absolute";
|
|
120
|
-
}>;
|
|
121
|
-
export declare const flexWrapSchema: z.ZodEnum<{
|
|
56
|
+
declare const flexWrapSchema: z.ZodEnum<{
|
|
122
57
|
nowrap: "nowrap";
|
|
123
58
|
wrap: "wrap";
|
|
124
59
|
wrapReverse: "wrapReverse";
|
|
125
60
|
}>;
|
|
126
|
-
|
|
61
|
+
declare const justifyContentSchema: z.ZodEnum<{
|
|
127
62
|
start: "start";
|
|
128
63
|
center: "center";
|
|
129
64
|
end: "end";
|
|
@@ -131,201 +66,13 @@ export declare const justifyContentSchema: z.ZodEnum<{
|
|
|
131
66
|
spaceAround: "spaceAround";
|
|
132
67
|
spaceEvenly: "spaceEvenly";
|
|
133
68
|
}>;
|
|
134
|
-
export declare const shapeTypeSchema: z.ZodEnum<{
|
|
135
|
-
cloud: "cloud";
|
|
136
|
-
heart: "heart";
|
|
137
|
-
accentBorderCallout1: "accentBorderCallout1";
|
|
138
|
-
accentBorderCallout2: "accentBorderCallout2";
|
|
139
|
-
accentBorderCallout3: "accentBorderCallout3";
|
|
140
|
-
accentCallout1: "accentCallout1";
|
|
141
|
-
accentCallout2: "accentCallout2";
|
|
142
|
-
accentCallout3: "accentCallout3";
|
|
143
|
-
actionButtonBackPrevious: "actionButtonBackPrevious";
|
|
144
|
-
actionButtonBeginning: "actionButtonBeginning";
|
|
145
|
-
actionButtonBlank: "actionButtonBlank";
|
|
146
|
-
actionButtonDocument: "actionButtonDocument";
|
|
147
|
-
actionButtonEnd: "actionButtonEnd";
|
|
148
|
-
actionButtonForwardNext: "actionButtonForwardNext";
|
|
149
|
-
actionButtonHelp: "actionButtonHelp";
|
|
150
|
-
actionButtonHome: "actionButtonHome";
|
|
151
|
-
actionButtonInformation: "actionButtonInformation";
|
|
152
|
-
actionButtonMovie: "actionButtonMovie";
|
|
153
|
-
actionButtonReturn: "actionButtonReturn";
|
|
154
|
-
actionButtonSound: "actionButtonSound";
|
|
155
|
-
arc: "arc";
|
|
156
|
-
bentArrow: "bentArrow";
|
|
157
|
-
bentUpArrow: "bentUpArrow";
|
|
158
|
-
bevel: "bevel";
|
|
159
|
-
blockArc: "blockArc";
|
|
160
|
-
borderCallout1: "borderCallout1";
|
|
161
|
-
borderCallout2: "borderCallout2";
|
|
162
|
-
borderCallout3: "borderCallout3";
|
|
163
|
-
bracePair: "bracePair";
|
|
164
|
-
bracketPair: "bracketPair";
|
|
165
|
-
callout1: "callout1";
|
|
166
|
-
callout2: "callout2";
|
|
167
|
-
callout3: "callout3";
|
|
168
|
-
can: "can";
|
|
169
|
-
chartPlus: "chartPlus";
|
|
170
|
-
chartStar: "chartStar";
|
|
171
|
-
chartX: "chartX";
|
|
172
|
-
chevron: "chevron";
|
|
173
|
-
chord: "chord";
|
|
174
|
-
circularArrow: "circularArrow";
|
|
175
|
-
cloudCallout: "cloudCallout";
|
|
176
|
-
corner: "corner";
|
|
177
|
-
cornerTabs: "cornerTabs";
|
|
178
|
-
cube: "cube";
|
|
179
|
-
curvedDownArrow: "curvedDownArrow";
|
|
180
|
-
curvedLeftArrow: "curvedLeftArrow";
|
|
181
|
-
curvedRightArrow: "curvedRightArrow";
|
|
182
|
-
curvedUpArrow: "curvedUpArrow";
|
|
183
|
-
decagon: "decagon";
|
|
184
|
-
diagStripe: "diagStripe";
|
|
185
|
-
diamond: "diamond";
|
|
186
|
-
dodecagon: "dodecagon";
|
|
187
|
-
donut: "donut";
|
|
188
|
-
doubleWave: "doubleWave";
|
|
189
|
-
downArrow: "downArrow";
|
|
190
|
-
downArrowCallout: "downArrowCallout";
|
|
191
|
-
ellipse: "ellipse";
|
|
192
|
-
ellipseRibbon: "ellipseRibbon";
|
|
193
|
-
ellipseRibbon2: "ellipseRibbon2";
|
|
194
|
-
flowChartAlternateProcess: "flowChartAlternateProcess";
|
|
195
|
-
flowChartCollate: "flowChartCollate";
|
|
196
|
-
flowChartConnector: "flowChartConnector";
|
|
197
|
-
flowChartDecision: "flowChartDecision";
|
|
198
|
-
flowChartDelay: "flowChartDelay";
|
|
199
|
-
flowChartDisplay: "flowChartDisplay";
|
|
200
|
-
flowChartDocument: "flowChartDocument";
|
|
201
|
-
flowChartExtract: "flowChartExtract";
|
|
202
|
-
flowChartInputOutput: "flowChartInputOutput";
|
|
203
|
-
flowChartInternalStorage: "flowChartInternalStorage";
|
|
204
|
-
flowChartMagneticDisk: "flowChartMagneticDisk";
|
|
205
|
-
flowChartMagneticDrum: "flowChartMagneticDrum";
|
|
206
|
-
flowChartMagneticTape: "flowChartMagneticTape";
|
|
207
|
-
flowChartManualInput: "flowChartManualInput";
|
|
208
|
-
flowChartManualOperation: "flowChartManualOperation";
|
|
209
|
-
flowChartMerge: "flowChartMerge";
|
|
210
|
-
flowChartMultidocument: "flowChartMultidocument";
|
|
211
|
-
flowChartOfflineStorage: "flowChartOfflineStorage";
|
|
212
|
-
flowChartOffpageConnector: "flowChartOffpageConnector";
|
|
213
|
-
flowChartOnlineStorage: "flowChartOnlineStorage";
|
|
214
|
-
flowChartOr: "flowChartOr";
|
|
215
|
-
flowChartPredefinedProcess: "flowChartPredefinedProcess";
|
|
216
|
-
flowChartPreparation: "flowChartPreparation";
|
|
217
|
-
flowChartProcess: "flowChartProcess";
|
|
218
|
-
flowChartPunchedCard: "flowChartPunchedCard";
|
|
219
|
-
flowChartPunchedTape: "flowChartPunchedTape";
|
|
220
|
-
flowChartSort: "flowChartSort";
|
|
221
|
-
flowChartSummingJunction: "flowChartSummingJunction";
|
|
222
|
-
flowChartTerminator: "flowChartTerminator";
|
|
223
|
-
folderCorner: "folderCorner";
|
|
224
|
-
frame: "frame";
|
|
225
|
-
funnel: "funnel";
|
|
226
|
-
gear6: "gear6";
|
|
227
|
-
gear9: "gear9";
|
|
228
|
-
halfFrame: "halfFrame";
|
|
229
|
-
heptagon: "heptagon";
|
|
230
|
-
hexagon: "hexagon";
|
|
231
|
-
homePlate: "homePlate";
|
|
232
|
-
horizontalScroll: "horizontalScroll";
|
|
233
|
-
irregularSeal1: "irregularSeal1";
|
|
234
|
-
irregularSeal2: "irregularSeal2";
|
|
235
|
-
leftArrow: "leftArrow";
|
|
236
|
-
leftArrowCallout: "leftArrowCallout";
|
|
237
|
-
leftBrace: "leftBrace";
|
|
238
|
-
leftBracket: "leftBracket";
|
|
239
|
-
leftCircularArrow: "leftCircularArrow";
|
|
240
|
-
leftRightArrow: "leftRightArrow";
|
|
241
|
-
leftRightArrowCallout: "leftRightArrowCallout";
|
|
242
|
-
leftRightCircularArrow: "leftRightCircularArrow";
|
|
243
|
-
leftRightRibbon: "leftRightRibbon";
|
|
244
|
-
leftRightUpArrow: "leftRightUpArrow";
|
|
245
|
-
leftUpArrow: "leftUpArrow";
|
|
246
|
-
lightningBolt: "lightningBolt";
|
|
247
|
-
line: "line";
|
|
248
|
-
lineInv: "lineInv";
|
|
249
|
-
mathDivide: "mathDivide";
|
|
250
|
-
mathEqual: "mathEqual";
|
|
251
|
-
mathMinus: "mathMinus";
|
|
252
|
-
mathMultiply: "mathMultiply";
|
|
253
|
-
mathNotEqual: "mathNotEqual";
|
|
254
|
-
mathPlus: "mathPlus";
|
|
255
|
-
moon: "moon";
|
|
256
|
-
noSmoking: "noSmoking";
|
|
257
|
-
nonIsoscelesTrapezoid: "nonIsoscelesTrapezoid";
|
|
258
|
-
notchedRightArrow: "notchedRightArrow";
|
|
259
|
-
octagon: "octagon";
|
|
260
|
-
parallelogram: "parallelogram";
|
|
261
|
-
pentagon: "pentagon";
|
|
262
|
-
pie: "pie";
|
|
263
|
-
pieWedge: "pieWedge";
|
|
264
|
-
plaque: "plaque";
|
|
265
|
-
plaqueTabs: "plaqueTabs";
|
|
266
|
-
plus: "plus";
|
|
267
|
-
quadArrow: "quadArrow";
|
|
268
|
-
quadArrowCallout: "quadArrowCallout";
|
|
269
|
-
rect: "rect";
|
|
270
|
-
ribbon: "ribbon";
|
|
271
|
-
ribbon2: "ribbon2";
|
|
272
|
-
rightArrow: "rightArrow";
|
|
273
|
-
rightArrowCallout: "rightArrowCallout";
|
|
274
|
-
rightBrace: "rightBrace";
|
|
275
|
-
rightBracket: "rightBracket";
|
|
276
|
-
round1Rect: "round1Rect";
|
|
277
|
-
round2DiagRect: "round2DiagRect";
|
|
278
|
-
round2SameRect: "round2SameRect";
|
|
279
|
-
roundRect: "roundRect";
|
|
280
|
-
rtTriangle: "rtTriangle";
|
|
281
|
-
smileyFace: "smileyFace";
|
|
282
|
-
snip1Rect: "snip1Rect";
|
|
283
|
-
snip2DiagRect: "snip2DiagRect";
|
|
284
|
-
snip2SameRect: "snip2SameRect";
|
|
285
|
-
snipRoundRect: "snipRoundRect";
|
|
286
|
-
squareTabs: "squareTabs";
|
|
287
|
-
star10: "star10";
|
|
288
|
-
star12: "star12";
|
|
289
|
-
star16: "star16";
|
|
290
|
-
star24: "star24";
|
|
291
|
-
star32: "star32";
|
|
292
|
-
star4: "star4";
|
|
293
|
-
star5: "star5";
|
|
294
|
-
star6: "star6";
|
|
295
|
-
star7: "star7";
|
|
296
|
-
star8: "star8";
|
|
297
|
-
stripedRightArrow: "stripedRightArrow";
|
|
298
|
-
sun: "sun";
|
|
299
|
-
swooshArrow: "swooshArrow";
|
|
300
|
-
teardrop: "teardrop";
|
|
301
|
-
trapezoid: "trapezoid";
|
|
302
|
-
triangle: "triangle";
|
|
303
|
-
upArrow: "upArrow";
|
|
304
|
-
upArrowCallout: "upArrowCallout";
|
|
305
|
-
upDownArrow: "upDownArrow";
|
|
306
|
-
upDownArrowCallout: "upDownArrowCallout";
|
|
307
|
-
uturnArrow: "uturnArrow";
|
|
308
|
-
verticalScroll: "verticalScroll";
|
|
309
|
-
wave: "wave";
|
|
310
|
-
wedgeEllipseCallout: "wedgeEllipseCallout";
|
|
311
|
-
wedgeRectCallout: "wedgeRectCallout";
|
|
312
|
-
wedgeRoundRectCallout: "wedgeRoundRectCallout";
|
|
313
|
-
}>;
|
|
314
69
|
export type ShadowStyle = z.infer<typeof shadowStyleSchema>;
|
|
315
70
|
export type AlignItems = z.infer<typeof alignItemsSchema>;
|
|
316
71
|
export type FlexWrap = z.infer<typeof flexWrapSchema>;
|
|
317
72
|
export type JustifyContent = z.infer<typeof justifyContentSchema>;
|
|
318
73
|
export type UnderlineStyle = z.infer<typeof underlineStyleSchema>;
|
|
319
74
|
export type Underline = z.infer<typeof underlineSchema>;
|
|
320
|
-
export declare const backgroundImageSchema: z.ZodObject<{
|
|
321
|
-
src: z.ZodString;
|
|
322
|
-
sizing: z.ZodOptional<z.ZodEnum<{
|
|
323
|
-
cover: "cover";
|
|
324
|
-
contain: "contain";
|
|
325
|
-
}>>;
|
|
326
|
-
}, z.core.$strip>;
|
|
327
75
|
declare const basePOMNodeSchema: z.ZodObject<{
|
|
328
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
329
76
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
330
77
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
331
78
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -386,8 +133,7 @@ declare const basePOMNodeSchema: z.ZodObject<{
|
|
|
386
133
|
}>>;
|
|
387
134
|
}, z.core.$strip>;
|
|
388
135
|
type BasePOMNode = z.infer<typeof basePOMNodeSchema>;
|
|
389
|
-
declare const textNodeSchema: z.ZodObject<{
|
|
390
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
136
|
+
export declare const textNodeSchema: z.ZodObject<{
|
|
391
137
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
392
138
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
393
139
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -512,8 +258,7 @@ export declare const liNodeSchema: z.ZodObject<{
|
|
|
512
258
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
513
259
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
514
260
|
}, z.core.$strip>;
|
|
515
|
-
declare const ulNodeSchema: z.ZodObject<{
|
|
516
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
261
|
+
export declare const ulNodeSchema: z.ZodObject<{
|
|
517
262
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
518
263
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
519
264
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -637,8 +382,7 @@ declare const ulNodeSchema: z.ZodObject<{
|
|
|
637
382
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
638
383
|
lineHeight: z.ZodOptional<z.ZodNumber>;
|
|
639
384
|
}, z.core.$strip>;
|
|
640
|
-
declare const olNodeSchema: z.ZodObject<{
|
|
641
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
385
|
+
export declare const olNodeSchema: z.ZodObject<{
|
|
642
386
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
643
387
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
644
388
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -781,8 +525,7 @@ declare const olNodeSchema: z.ZodObject<{
|
|
|
781
525
|
}>>;
|
|
782
526
|
numberStartAt: z.ZodOptional<z.ZodNumber>;
|
|
783
527
|
}, z.core.$strip>;
|
|
784
|
-
declare const imageNodeSchema: z.ZodObject<{
|
|
785
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
528
|
+
export declare const imageNodeSchema: z.ZodObject<{
|
|
786
529
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
787
530
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
788
531
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -845,9 +588,9 @@ declare const imageNodeSchema: z.ZodObject<{
|
|
|
845
588
|
src: z.ZodString;
|
|
846
589
|
sizing: z.ZodOptional<z.ZodObject<{
|
|
847
590
|
type: z.ZodEnum<{
|
|
591
|
+
crop: "crop";
|
|
848
592
|
cover: "cover";
|
|
849
593
|
contain: "contain";
|
|
850
|
-
crop: "crop";
|
|
851
594
|
}>;
|
|
852
595
|
w: z.ZodOptional<z.ZodNumber>;
|
|
853
596
|
h: z.ZodOptional<z.ZodNumber>;
|
|
@@ -866,18 +609,7 @@ declare const imageNodeSchema: z.ZodObject<{
|
|
|
866
609
|
color: z.ZodOptional<z.ZodString>;
|
|
867
610
|
}, z.core.$strip>>;
|
|
868
611
|
}, z.core.$strip>;
|
|
869
|
-
export declare const
|
|
870
|
-
[x: string]: string;
|
|
871
|
-
}>;
|
|
872
|
-
export declare const iconColorSchema: z.ZodOptional<z.ZodString>;
|
|
873
|
-
export declare const iconVariantSchema: z.ZodOptional<z.ZodEnum<{
|
|
874
|
-
"circle-filled": "circle-filled";
|
|
875
|
-
"circle-outlined": "circle-outlined";
|
|
876
|
-
"square-filled": "square-filled";
|
|
877
|
-
"square-outlined": "square-outlined";
|
|
878
|
-
}>>;
|
|
879
|
-
declare const iconNodeSchema: z.ZodObject<{
|
|
880
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
612
|
+
export declare const iconNodeSchema: z.ZodObject<{
|
|
881
613
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
882
614
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
883
615
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -950,54 +682,8 @@ declare const iconNodeSchema: z.ZodObject<{
|
|
|
950
682
|
}>>;
|
|
951
683
|
bgColor: z.ZodOptional<z.ZodString>;
|
|
952
684
|
}, z.core.$strip>;
|
|
953
|
-
export type IconNode = z.infer<typeof iconNodeSchema
|
|
954
|
-
yogaNode?: YogaNode;
|
|
955
|
-
};
|
|
956
|
-
export declare const tableRowSchema: z.ZodObject<{
|
|
957
|
-
cells: z.ZodArray<z.ZodObject<{
|
|
958
|
-
text: z.ZodString;
|
|
959
|
-
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
960
|
-
color: z.ZodOptional<z.ZodString>;
|
|
961
|
-
bold: z.ZodOptional<z.ZodBoolean>;
|
|
962
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
-
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
964
|
-
style: z.ZodOptional<z.ZodEnum<{
|
|
965
|
-
dash: "dash";
|
|
966
|
-
dashHeavy: "dashHeavy";
|
|
967
|
-
dashLong: "dashLong";
|
|
968
|
-
dashLongHeavy: "dashLongHeavy";
|
|
969
|
-
dbl: "dbl";
|
|
970
|
-
dotDash: "dotDash";
|
|
971
|
-
dotDotDash: "dotDotDash";
|
|
972
|
-
dotted: "dotted";
|
|
973
|
-
dottedHeavy: "dottedHeavy";
|
|
974
|
-
heavy: "heavy";
|
|
975
|
-
none: "none";
|
|
976
|
-
sng: "sng";
|
|
977
|
-
wavy: "wavy";
|
|
978
|
-
wavyDbl: "wavyDbl";
|
|
979
|
-
wavyHeavy: "wavyHeavy";
|
|
980
|
-
}>>;
|
|
981
|
-
color: z.ZodOptional<z.ZodString>;
|
|
982
|
-
}, z.core.$strip>]>>;
|
|
983
|
-
strike: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
-
highlight: z.ZodOptional<z.ZodString>;
|
|
985
|
-
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
986
|
-
right: "right";
|
|
987
|
-
left: "left";
|
|
988
|
-
center: "center";
|
|
989
|
-
}>>;
|
|
990
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
991
|
-
colspan: z.ZodOptional<z.ZodNumber>;
|
|
992
|
-
rowspan: z.ZodOptional<z.ZodNumber>;
|
|
993
|
-
}, z.core.$strip>>;
|
|
994
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
995
|
-
}, z.core.$strip>;
|
|
996
|
-
export declare const tableColumnSchema: z.ZodObject<{
|
|
997
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
998
|
-
}, z.core.$strip>;
|
|
685
|
+
export type IconNode = z.infer<typeof iconNodeSchema>;
|
|
999
686
|
export declare const tableNodeSchema: z.ZodObject<{
|
|
1000
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1001
687
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1002
688
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1003
689
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1102,8 +788,7 @@ export declare const tableNodeSchema: z.ZodObject<{
|
|
|
1102
788
|
}, z.core.$strip>>;
|
|
1103
789
|
defaultRowHeight: z.ZodOptional<z.ZodNumber>;
|
|
1104
790
|
}, z.core.$strip>;
|
|
1105
|
-
declare const shapeNodeSchema: z.ZodObject<{
|
|
1106
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
791
|
+
export declare const shapeNodeSchema: z.ZodObject<{
|
|
1107
792
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1108
793
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1109
794
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1165,7 +850,20 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1165
850
|
type: z.ZodLiteral<"shape">;
|
|
1166
851
|
shapeType: z.ZodEnum<{
|
|
1167
852
|
cloud: "cloud";
|
|
853
|
+
diamond: "diamond";
|
|
854
|
+
donut: "donut";
|
|
855
|
+
ellipse: "ellipse";
|
|
856
|
+
frame: "frame";
|
|
857
|
+
funnel: "funnel";
|
|
1168
858
|
heart: "heart";
|
|
859
|
+
hexagon: "hexagon";
|
|
860
|
+
moon: "moon";
|
|
861
|
+
octagon: "octagon";
|
|
862
|
+
pentagon: "pentagon";
|
|
863
|
+
plus: "plus";
|
|
864
|
+
ribbon: "ribbon";
|
|
865
|
+
sun: "sun";
|
|
866
|
+
triangle: "triangle";
|
|
1169
867
|
accentBorderCallout1: "accentBorderCallout1";
|
|
1170
868
|
accentBorderCallout2: "accentBorderCallout2";
|
|
1171
869
|
accentBorderCallout3: "accentBorderCallout3";
|
|
@@ -1214,13 +912,10 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1214
912
|
curvedUpArrow: "curvedUpArrow";
|
|
1215
913
|
decagon: "decagon";
|
|
1216
914
|
diagStripe: "diagStripe";
|
|
1217
|
-
diamond: "diamond";
|
|
1218
915
|
dodecagon: "dodecagon";
|
|
1219
|
-
donut: "donut";
|
|
1220
916
|
doubleWave: "doubleWave";
|
|
1221
917
|
downArrow: "downArrow";
|
|
1222
918
|
downArrowCallout: "downArrowCallout";
|
|
1223
|
-
ellipse: "ellipse";
|
|
1224
919
|
ellipseRibbon: "ellipseRibbon";
|
|
1225
920
|
ellipseRibbon2: "ellipseRibbon2";
|
|
1226
921
|
flowChartAlternateProcess: "flowChartAlternateProcess";
|
|
@@ -1253,13 +948,10 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1253
948
|
flowChartSummingJunction: "flowChartSummingJunction";
|
|
1254
949
|
flowChartTerminator: "flowChartTerminator";
|
|
1255
950
|
folderCorner: "folderCorner";
|
|
1256
|
-
frame: "frame";
|
|
1257
|
-
funnel: "funnel";
|
|
1258
951
|
gear6: "gear6";
|
|
1259
952
|
gear9: "gear9";
|
|
1260
953
|
halfFrame: "halfFrame";
|
|
1261
954
|
heptagon: "heptagon";
|
|
1262
|
-
hexagon: "hexagon";
|
|
1263
955
|
homePlate: "homePlate";
|
|
1264
956
|
horizontalScroll: "horizontalScroll";
|
|
1265
957
|
irregularSeal1: "irregularSeal1";
|
|
@@ -1284,22 +976,17 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1284
976
|
mathMultiply: "mathMultiply";
|
|
1285
977
|
mathNotEqual: "mathNotEqual";
|
|
1286
978
|
mathPlus: "mathPlus";
|
|
1287
|
-
moon: "moon";
|
|
1288
979
|
noSmoking: "noSmoking";
|
|
1289
980
|
nonIsoscelesTrapezoid: "nonIsoscelesTrapezoid";
|
|
1290
981
|
notchedRightArrow: "notchedRightArrow";
|
|
1291
|
-
octagon: "octagon";
|
|
1292
982
|
parallelogram: "parallelogram";
|
|
1293
|
-
pentagon: "pentagon";
|
|
1294
983
|
pie: "pie";
|
|
1295
984
|
pieWedge: "pieWedge";
|
|
1296
985
|
plaque: "plaque";
|
|
1297
986
|
plaqueTabs: "plaqueTabs";
|
|
1298
|
-
plus: "plus";
|
|
1299
987
|
quadArrow: "quadArrow";
|
|
1300
988
|
quadArrowCallout: "quadArrowCallout";
|
|
1301
989
|
rect: "rect";
|
|
1302
|
-
ribbon: "ribbon";
|
|
1303
990
|
ribbon2: "ribbon2";
|
|
1304
991
|
rightArrow: "rightArrow";
|
|
1305
992
|
rightArrowCallout: "rightArrowCallout";
|
|
@@ -1327,11 +1014,9 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1327
1014
|
star7: "star7";
|
|
1328
1015
|
star8: "star8";
|
|
1329
1016
|
stripedRightArrow: "stripedRightArrow";
|
|
1330
|
-
sun: "sun";
|
|
1331
1017
|
swooshArrow: "swooshArrow";
|
|
1332
1018
|
teardrop: "teardrop";
|
|
1333
1019
|
trapezoid: "trapezoid";
|
|
1334
|
-
triangle: "triangle";
|
|
1335
1020
|
upArrow: "upArrow";
|
|
1336
1021
|
upArrowCallout: "upArrowCallout";
|
|
1337
1022
|
upDownArrow: "upDownArrow";
|
|
@@ -1407,26 +1092,7 @@ declare const shapeNodeSchema: z.ZodObject<{
|
|
|
1407
1092
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1408
1093
|
lineHeight: z.ZodOptional<z.ZodNumber>;
|
|
1409
1094
|
}, z.core.$strip>;
|
|
1410
|
-
export declare const
|
|
1411
|
-
line: "line";
|
|
1412
|
-
pie: "pie";
|
|
1413
|
-
bar: "bar";
|
|
1414
|
-
area: "area";
|
|
1415
|
-
doughnut: "doughnut";
|
|
1416
|
-
radar: "radar";
|
|
1417
|
-
}>;
|
|
1418
|
-
export declare const radarStyleSchema: z.ZodEnum<{
|
|
1419
|
-
standard: "standard";
|
|
1420
|
-
marker: "marker";
|
|
1421
|
-
filled: "filled";
|
|
1422
|
-
}>;
|
|
1423
|
-
export declare const chartDataSchema: z.ZodObject<{
|
|
1424
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1425
|
-
labels: z.ZodArray<z.ZodString>;
|
|
1426
|
-
values: z.ZodArray<z.ZodNumber>;
|
|
1427
|
-
}, z.core.$strip>;
|
|
1428
|
-
declare const chartNodeSchema: z.ZodObject<{
|
|
1429
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1095
|
+
export declare const chartNodeSchema: z.ZodObject<{
|
|
1430
1096
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1431
1097
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1432
1098
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1487,12 +1153,12 @@ declare const chartNodeSchema: z.ZodObject<{
|
|
|
1487
1153
|
}>>;
|
|
1488
1154
|
type: z.ZodLiteral<"chart">;
|
|
1489
1155
|
chartType: z.ZodEnum<{
|
|
1156
|
+
radar: "radar";
|
|
1490
1157
|
line: "line";
|
|
1491
1158
|
pie: "pie";
|
|
1492
1159
|
bar: "bar";
|
|
1493
1160
|
area: "area";
|
|
1494
1161
|
doughnut: "doughnut";
|
|
1495
|
-
radar: "radar";
|
|
1496
1162
|
}>;
|
|
1497
1163
|
data: z.ZodArray<z.ZodObject<{
|
|
1498
1164
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1517,18 +1183,7 @@ export type ImageNode = z.infer<typeof imageNodeSchema>;
|
|
|
1517
1183
|
export type TableNode = z.infer<typeof tableNodeSchema>;
|
|
1518
1184
|
export type ShapeNode = z.infer<typeof shapeNodeSchema>;
|
|
1519
1185
|
export type ChartNode = z.infer<typeof chartNodeSchema>;
|
|
1520
|
-
export declare const timelineDirectionSchema: z.ZodEnum<{
|
|
1521
|
-
horizontal: "horizontal";
|
|
1522
|
-
vertical: "vertical";
|
|
1523
|
-
}>;
|
|
1524
|
-
export declare const timelineItemSchema: z.ZodObject<{
|
|
1525
|
-
date: z.ZodString;
|
|
1526
|
-
title: z.ZodString;
|
|
1527
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1528
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1529
|
-
}, z.core.$strip>;
|
|
1530
1186
|
export declare const timelineNodeSchema: z.ZodObject<{
|
|
1531
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1532
1187
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1533
1188
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1534
1189
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1600,24 +1255,7 @@ export declare const timelineNodeSchema: z.ZodObject<{
|
|
|
1600
1255
|
}, z.core.$strip>>;
|
|
1601
1256
|
}, z.core.$strip>;
|
|
1602
1257
|
export type TimelineNode = z.infer<typeof timelineNodeSchema>;
|
|
1603
|
-
export declare const matrixAxisSchema: z.ZodObject<{
|
|
1604
|
-
x: z.ZodString;
|
|
1605
|
-
y: z.ZodString;
|
|
1606
|
-
}, z.core.$strip>;
|
|
1607
|
-
export declare const matrixQuadrantsSchema: z.ZodObject<{
|
|
1608
|
-
topLeft: z.ZodString;
|
|
1609
|
-
topRight: z.ZodString;
|
|
1610
|
-
bottomLeft: z.ZodString;
|
|
1611
|
-
bottomRight: z.ZodString;
|
|
1612
|
-
}, z.core.$strip>;
|
|
1613
|
-
export declare const matrixItemSchema: z.ZodObject<{
|
|
1614
|
-
label: z.ZodString;
|
|
1615
|
-
x: z.ZodNumber;
|
|
1616
|
-
y: z.ZodNumber;
|
|
1617
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1618
|
-
}, z.core.$strip>;
|
|
1619
1258
|
export declare const matrixNodeSchema: z.ZodObject<{
|
|
1620
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1621
1259
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1622
1260
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1623
1261
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1695,10 +1333,6 @@ export declare const matrixNodeSchema: z.ZodObject<{
|
|
|
1695
1333
|
}, z.core.$strip>>;
|
|
1696
1334
|
}, z.core.$strip>;
|
|
1697
1335
|
export type MatrixNode = z.infer<typeof matrixNodeSchema>;
|
|
1698
|
-
export declare const treeLayoutSchema: z.ZodEnum<{
|
|
1699
|
-
horizontal: "horizontal";
|
|
1700
|
-
vertical: "vertical";
|
|
1701
|
-
}>;
|
|
1702
1336
|
export declare const treeNodeShapeSchema: z.ZodEnum<{
|
|
1703
1337
|
ellipse: "ellipse";
|
|
1704
1338
|
rect: "rect";
|
|
@@ -1714,7 +1348,6 @@ export type TreeDataItem = {
|
|
|
1714
1348
|
children?: TreeDataItem[];
|
|
1715
1349
|
};
|
|
1716
1350
|
export declare const treeNodeSchema: z.ZodObject<{
|
|
1717
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1718
1351
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1719
1352
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1720
1353
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1796,17 +1429,7 @@ export declare const treeNodeSchema: z.ZodObject<{
|
|
|
1796
1429
|
export type TreeNodeShape = z.infer<typeof treeNodeShapeSchema>;
|
|
1797
1430
|
export type TreeConnectorStyle = z.infer<typeof treeConnectorStyleSchema>;
|
|
1798
1431
|
export type TreeNode = z.infer<typeof treeNodeSchema>;
|
|
1799
|
-
export declare const processArrowDirectionSchema: z.ZodEnum<{
|
|
1800
|
-
horizontal: "horizontal";
|
|
1801
|
-
vertical: "vertical";
|
|
1802
|
-
}>;
|
|
1803
|
-
export declare const processArrowStepSchema: z.ZodObject<{
|
|
1804
|
-
label: z.ZodString;
|
|
1805
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1806
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
}, z.core.$strip>;
|
|
1808
1432
|
export declare const processArrowNodeSchema: z.ZodObject<{
|
|
1809
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1810
1433
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1811
1434
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1812
1435
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1905,17 +1528,7 @@ export declare const processArrowNodeSchema: z.ZodObject<{
|
|
|
1905
1528
|
highlight: z.ZodOptional<z.ZodString>;
|
|
1906
1529
|
}, z.core.$strip>;
|
|
1907
1530
|
export type ProcessArrowNode = z.infer<typeof processArrowNodeSchema>;
|
|
1908
|
-
export declare const pyramidDirectionSchema: z.ZodEnum<{
|
|
1909
|
-
up: "up";
|
|
1910
|
-
down: "down";
|
|
1911
|
-
}>;
|
|
1912
|
-
export declare const pyramidLevelSchema: z.ZodObject<{
|
|
1913
|
-
label: z.ZodString;
|
|
1914
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1915
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
1916
|
-
}, z.core.$strip>;
|
|
1917
1531
|
export declare const pyramidNodeSchema: z.ZodObject<{
|
|
1918
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1919
1532
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1920
1533
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
1921
1534
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1988,52 +1601,7 @@ export declare const pyramidNodeSchema: z.ZodObject<{
|
|
|
1988
1601
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1989
1602
|
}, z.core.$strip>;
|
|
1990
1603
|
export type PyramidNode = z.infer<typeof pyramidNodeSchema>;
|
|
1991
|
-
export declare const flowDirectionSchema: z.ZodEnum<{
|
|
1992
|
-
horizontal: "horizontal";
|
|
1993
|
-
vertical: "vertical";
|
|
1994
|
-
}>;
|
|
1995
|
-
export declare const flowNodeItemSchema: z.ZodObject<{
|
|
1996
|
-
id: z.ZodString;
|
|
1997
|
-
shape: z.ZodEnum<{
|
|
1998
|
-
flowChartConnector: "flowChartConnector";
|
|
1999
|
-
flowChartDecision: "flowChartDecision";
|
|
2000
|
-
flowChartDelay: "flowChartDelay";
|
|
2001
|
-
flowChartDocument: "flowChartDocument";
|
|
2002
|
-
flowChartInputOutput: "flowChartInputOutput";
|
|
2003
|
-
flowChartMagneticDisk: "flowChartMagneticDisk";
|
|
2004
|
-
flowChartManualInput: "flowChartManualInput";
|
|
2005
|
-
flowChartManualOperation: "flowChartManualOperation";
|
|
2006
|
-
flowChartPredefinedProcess: "flowChartPredefinedProcess";
|
|
2007
|
-
flowChartPreparation: "flowChartPreparation";
|
|
2008
|
-
flowChartProcess: "flowChartProcess";
|
|
2009
|
-
flowChartTerminator: "flowChartTerminator";
|
|
2010
|
-
}>;
|
|
2011
|
-
text: z.ZodString;
|
|
2012
|
-
color: z.ZodOptional<z.ZodString>;
|
|
2013
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
2014
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
2015
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
2016
|
-
}, z.core.$strip>;
|
|
2017
|
-
export declare const flowConnectionSchema: z.ZodObject<{
|
|
2018
|
-
from: z.ZodString;
|
|
2019
|
-
to: z.ZodString;
|
|
2020
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2021
|
-
color: z.ZodOptional<z.ZodString>;
|
|
2022
|
-
}, z.core.$strip>;
|
|
2023
|
-
export declare const flowConnectorStyleSchema: z.ZodObject<{
|
|
2024
|
-
color: z.ZodOptional<z.ZodString>;
|
|
2025
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
2026
|
-
arrowType: z.ZodOptional<z.ZodEnum<{
|
|
2027
|
-
none: "none";
|
|
2028
|
-
diamond: "diamond";
|
|
2029
|
-
triangle: "triangle";
|
|
2030
|
-
arrow: "arrow";
|
|
2031
|
-
oval: "oval";
|
|
2032
|
-
stealth: "stealth";
|
|
2033
|
-
}>>;
|
|
2034
|
-
}, z.core.$strip>;
|
|
2035
1604
|
export declare const flowNodeSchema: z.ZodObject<{
|
|
2036
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
2037
1605
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
2038
1606
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
2039
1607
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2129,9 +1697,9 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
2129
1697
|
color: z.ZodOptional<z.ZodString>;
|
|
2130
1698
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2131
1699
|
arrowType: z.ZodOptional<z.ZodEnum<{
|
|
2132
|
-
none: "none";
|
|
2133
1700
|
diamond: "diamond";
|
|
2134
1701
|
triangle: "triangle";
|
|
1702
|
+
none: "none";
|
|
2135
1703
|
arrow: "arrow";
|
|
2136
1704
|
oval: "oval";
|
|
2137
1705
|
stealth: "stealth";
|
|
@@ -2144,16 +1712,15 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
2144
1712
|
export type FlowNode = z.infer<typeof flowNodeSchema>;
|
|
2145
1713
|
export declare const lineArrowSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2146
1714
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2147
|
-
none: "none";
|
|
2148
1715
|
diamond: "diamond";
|
|
2149
1716
|
triangle: "triangle";
|
|
1717
|
+
none: "none";
|
|
2150
1718
|
arrow: "arrow";
|
|
2151
1719
|
oval: "oval";
|
|
2152
1720
|
stealth: "stealth";
|
|
2153
1721
|
}>>;
|
|
2154
1722
|
}, z.core.$strip>]>;
|
|
2155
|
-
declare const lineNodeSchema: z.ZodObject<{
|
|
2156
|
-
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
1723
|
+
export declare const lineNodeSchema: z.ZodObject<{
|
|
2157
1724
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
2158
1725
|
h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
2159
1726
|
minW: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2231,9 +1798,9 @@ declare const lineNodeSchema: z.ZodObject<{
|
|
|
2231
1798
|
}>>;
|
|
2232
1799
|
beginArrow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2233
1800
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2234
|
-
none: "none";
|
|
2235
1801
|
diamond: "diamond";
|
|
2236
1802
|
triangle: "triangle";
|
|
1803
|
+
none: "none";
|
|
2237
1804
|
arrow: "arrow";
|
|
2238
1805
|
oval: "oval";
|
|
2239
1806
|
stealth: "stealth";
|
|
@@ -2241,9 +1808,9 @@ declare const lineNodeSchema: z.ZodObject<{
|
|
|
2241
1808
|
}, z.core.$strip>]>>;
|
|
2242
1809
|
endArrow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2243
1810
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2244
|
-
none: "none";
|
|
2245
1811
|
diamond: "diamond";
|
|
2246
1812
|
triangle: "triangle";
|
|
1813
|
+
none: "none";
|
|
2247
1814
|
arrow: "arrow";
|
|
2248
1815
|
oval: "oval";
|
|
2249
1816
|
stealth: "stealth";
|