@hirokisakabe/pom 1.1.2 → 1.2.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 +130 -15
- package/dist/calcYogaLayout/calcYogaLayout.js +4 -1
- package/dist/component.d.ts +90 -0
- package/dist/component.d.ts.map +1 -0
- package/dist/component.js +123 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/inputSchema.d.ts +187 -3
- package/dist/inputSchema.d.ts.map +1 -1
- package/dist/inputSchema.js +26 -1
- package/dist/renderPptx/nodes/image.d.ts.map +1 -1
- package/dist/renderPptx/nodes/image.js +9 -0
- package/dist/renderPptx/nodes/processArrow.d.ts.map +1 -1
- package/dist/renderPptx/nodes/processArrow.js +9 -0
- package/dist/renderPptx/nodes/shape.d.ts.map +1 -1
- package/dist/renderPptx/nodes/shape.js +6 -0
- package/dist/renderPptx/nodes/table.d.ts.map +1 -1
- package/dist/renderPptx/nodes/table.js +5 -0
- package/dist/renderPptx/renderPptx.d.ts +1 -1
- package/dist/renderPptx/renderPptx.d.ts.map +1 -1
- package/dist/renderPptx/renderPptx.js +6 -1
- package/dist/renderPptx/textOptions.d.ts +26 -1
- package/dist/renderPptx/textOptions.d.ts.map +1 -1
- package/dist/renderPptx/textOptions.js +27 -0
- package/dist/renderPptx/utils/textDrawing.d.ts +5 -0
- package/dist/renderPptx/utils/textDrawing.d.ts.map +1 -1
- package/dist/renderPptx/utils/textDrawing.js +6 -1
- package/dist/types.d.ts +276 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +52 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -90,6 +90,43 @@ export declare const bulletOptionsSchema: z.ZodObject<{
|
|
|
90
90
|
}>>;
|
|
91
91
|
numberStartAt: z.ZodOptional<z.ZodNumber>;
|
|
92
92
|
}, z.core.$strip>;
|
|
93
|
+
export declare const underlineStyleSchema: z.ZodEnum<{
|
|
94
|
+
dash: "dash";
|
|
95
|
+
dashHeavy: "dashHeavy";
|
|
96
|
+
dashLong: "dashLong";
|
|
97
|
+
dashLongHeavy: "dashLongHeavy";
|
|
98
|
+
dbl: "dbl";
|
|
99
|
+
dotDash: "dotDash";
|
|
100
|
+
dotDotDash: "dotDotDash";
|
|
101
|
+
dotted: "dotted";
|
|
102
|
+
dottedHeavy: "dottedHeavy";
|
|
103
|
+
heavy: "heavy";
|
|
104
|
+
none: "none";
|
|
105
|
+
sng: "sng";
|
|
106
|
+
wavy: "wavy";
|
|
107
|
+
wavyDbl: "wavyDbl";
|
|
108
|
+
wavyHeavy: "wavyHeavy";
|
|
109
|
+
}>;
|
|
110
|
+
export declare const underlineSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
111
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
dash: "dash";
|
|
113
|
+
dashHeavy: "dashHeavy";
|
|
114
|
+
dashLong: "dashLong";
|
|
115
|
+
dashLongHeavy: "dashLongHeavy";
|
|
116
|
+
dbl: "dbl";
|
|
117
|
+
dotDash: "dotDash";
|
|
118
|
+
dotDotDash: "dotDotDash";
|
|
119
|
+
dotted: "dotted";
|
|
120
|
+
dottedHeavy: "dottedHeavy";
|
|
121
|
+
heavy: "heavy";
|
|
122
|
+
none: "none";
|
|
123
|
+
sng: "sng";
|
|
124
|
+
wavy: "wavy";
|
|
125
|
+
wavyDbl: "wavyDbl";
|
|
126
|
+
wavyHeavy: "wavyHeavy";
|
|
127
|
+
}>>;
|
|
128
|
+
color: z.ZodOptional<z.ZodString>;
|
|
129
|
+
}, z.core.$strip>]>;
|
|
93
130
|
export declare const alignItemsSchema: z.ZodEnum<{
|
|
94
131
|
start: "start";
|
|
95
132
|
center: "center";
|
|
@@ -300,6 +337,8 @@ export type AlignItems = z.infer<typeof alignItemsSchema>;
|
|
|
300
337
|
export type JustifyContent = z.infer<typeof justifyContentSchema>;
|
|
301
338
|
export type FlexDirection = z.infer<typeof flexDirectionSchema>;
|
|
302
339
|
export type ShapeType = z.infer<typeof shapeTypeSchema>;
|
|
340
|
+
export type UnderlineStyle = z.infer<typeof underlineStyleSchema>;
|
|
341
|
+
export type Underline = z.infer<typeof underlineSchema>;
|
|
303
342
|
declare const basePOMNodeSchema: z.ZodObject<{
|
|
304
343
|
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
305
344
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
@@ -372,6 +411,29 @@ export declare const textNodeSchema: z.ZodObject<{
|
|
|
372
411
|
center: "center";
|
|
373
412
|
}>>;
|
|
374
413
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
416
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
417
|
+
dash: "dash";
|
|
418
|
+
dashHeavy: "dashHeavy";
|
|
419
|
+
dashLong: "dashLong";
|
|
420
|
+
dashLongHeavy: "dashLongHeavy";
|
|
421
|
+
dbl: "dbl";
|
|
422
|
+
dotDash: "dotDash";
|
|
423
|
+
dotDotDash: "dotDotDash";
|
|
424
|
+
dotted: "dotted";
|
|
425
|
+
dottedHeavy: "dottedHeavy";
|
|
426
|
+
heavy: "heavy";
|
|
427
|
+
none: "none";
|
|
428
|
+
sng: "sng";
|
|
429
|
+
wavy: "wavy";
|
|
430
|
+
wavyDbl: "wavyDbl";
|
|
431
|
+
wavyHeavy: "wavyHeavy";
|
|
432
|
+
}>>;
|
|
433
|
+
color: z.ZodOptional<z.ZodString>;
|
|
434
|
+
}, z.core.$strip>]>>;
|
|
435
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
375
437
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
376
438
|
lineSpacingMultiple: z.ZodOptional<z.ZodNumber>;
|
|
377
439
|
bullet: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
@@ -401,6 +463,17 @@ export declare const textNodeSchema: z.ZodObject<{
|
|
|
401
463
|
numberStartAt: z.ZodOptional<z.ZodNumber>;
|
|
402
464
|
}, z.core.$strip>]>>;
|
|
403
465
|
}, z.core.$strip>;
|
|
466
|
+
export declare const imageSizingSchema: z.ZodObject<{
|
|
467
|
+
type: z.ZodEnum<{
|
|
468
|
+
contain: "contain";
|
|
469
|
+
cover: "cover";
|
|
470
|
+
crop: "crop";
|
|
471
|
+
}>;
|
|
472
|
+
w: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
h: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
}, z.core.$strip>;
|
|
404
477
|
export declare const imageNodeSchema: z.ZodObject<{
|
|
405
478
|
yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
|
|
406
479
|
w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
|
|
@@ -433,12 +506,46 @@ export declare const imageNodeSchema: z.ZodObject<{
|
|
|
433
506
|
borderRadius: z.ZodOptional<z.ZodNumber>;
|
|
434
507
|
type: z.ZodLiteral<"image">;
|
|
435
508
|
src: z.ZodString;
|
|
509
|
+
sizing: z.ZodOptional<z.ZodObject<{
|
|
510
|
+
type: z.ZodEnum<{
|
|
511
|
+
contain: "contain";
|
|
512
|
+
cover: "cover";
|
|
513
|
+
crop: "crop";
|
|
514
|
+
}>;
|
|
515
|
+
w: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
h: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
436
520
|
}, z.core.$strip>;
|
|
437
521
|
export declare const tableCellSchema: z.ZodObject<{
|
|
438
522
|
text: z.ZodString;
|
|
439
523
|
fontPx: z.ZodOptional<z.ZodNumber>;
|
|
440
524
|
color: z.ZodOptional<z.ZodString>;
|
|
441
525
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
528
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
529
|
+
dash: "dash";
|
|
530
|
+
dashHeavy: "dashHeavy";
|
|
531
|
+
dashLong: "dashLong";
|
|
532
|
+
dashLongHeavy: "dashLongHeavy";
|
|
533
|
+
dbl: "dbl";
|
|
534
|
+
dotDash: "dotDash";
|
|
535
|
+
dotDotDash: "dotDotDash";
|
|
536
|
+
dotted: "dotted";
|
|
537
|
+
dottedHeavy: "dottedHeavy";
|
|
538
|
+
heavy: "heavy";
|
|
539
|
+
none: "none";
|
|
540
|
+
sng: "sng";
|
|
541
|
+
wavy: "wavy";
|
|
542
|
+
wavyDbl: "wavyDbl";
|
|
543
|
+
wavyHeavy: "wavyHeavy";
|
|
544
|
+
}>>;
|
|
545
|
+
color: z.ZodOptional<z.ZodString>;
|
|
546
|
+
}, z.core.$strip>]>>;
|
|
547
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
442
549
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
443
550
|
right: "right";
|
|
444
551
|
left: "left";
|
|
@@ -452,6 +559,29 @@ export declare const tableRowSchema: z.ZodObject<{
|
|
|
452
559
|
fontPx: z.ZodOptional<z.ZodNumber>;
|
|
453
560
|
color: z.ZodOptional<z.ZodString>;
|
|
454
561
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
564
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
565
|
+
dash: "dash";
|
|
566
|
+
dashHeavy: "dashHeavy";
|
|
567
|
+
dashLong: "dashLong";
|
|
568
|
+
dashLongHeavy: "dashLongHeavy";
|
|
569
|
+
dbl: "dbl";
|
|
570
|
+
dotDash: "dotDash";
|
|
571
|
+
dotDotDash: "dotDotDash";
|
|
572
|
+
dotted: "dotted";
|
|
573
|
+
dottedHeavy: "dottedHeavy";
|
|
574
|
+
heavy: "heavy";
|
|
575
|
+
none: "none";
|
|
576
|
+
sng: "sng";
|
|
577
|
+
wavy: "wavy";
|
|
578
|
+
wavyDbl: "wavyDbl";
|
|
579
|
+
wavyHeavy: "wavyHeavy";
|
|
580
|
+
}>>;
|
|
581
|
+
color: z.ZodOptional<z.ZodString>;
|
|
582
|
+
}, z.core.$strip>]>>;
|
|
583
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
455
585
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
456
586
|
right: "right";
|
|
457
587
|
left: "left";
|
|
@@ -504,6 +634,29 @@ export declare const tableNodeSchema: z.ZodObject<{
|
|
|
504
634
|
fontPx: z.ZodOptional<z.ZodNumber>;
|
|
505
635
|
color: z.ZodOptional<z.ZodString>;
|
|
506
636
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
637
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
638
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
639
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
640
|
+
dash: "dash";
|
|
641
|
+
dashHeavy: "dashHeavy";
|
|
642
|
+
dashLong: "dashLong";
|
|
643
|
+
dashLongHeavy: "dashLongHeavy";
|
|
644
|
+
dbl: "dbl";
|
|
645
|
+
dotDash: "dotDash";
|
|
646
|
+
dotDotDash: "dotDotDash";
|
|
647
|
+
dotted: "dotted";
|
|
648
|
+
dottedHeavy: "dottedHeavy";
|
|
649
|
+
heavy: "heavy";
|
|
650
|
+
none: "none";
|
|
651
|
+
sng: "sng";
|
|
652
|
+
wavy: "wavy";
|
|
653
|
+
wavyDbl: "wavyDbl";
|
|
654
|
+
wavyHeavy: "wavyHeavy";
|
|
655
|
+
}>>;
|
|
656
|
+
color: z.ZodOptional<z.ZodString>;
|
|
657
|
+
}, z.core.$strip>]>>;
|
|
658
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
507
660
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
508
661
|
right: "right";
|
|
509
662
|
left: "left";
|
|
@@ -764,6 +917,29 @@ export declare const shapeNodeSchema: z.ZodObject<{
|
|
|
764
917
|
center: "center";
|
|
765
918
|
}>>;
|
|
766
919
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
920
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
921
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
922
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
923
|
+
dash: "dash";
|
|
924
|
+
dashHeavy: "dashHeavy";
|
|
925
|
+
dashLong: "dashLong";
|
|
926
|
+
dashLongHeavy: "dashLongHeavy";
|
|
927
|
+
dbl: "dbl";
|
|
928
|
+
dotDash: "dotDash";
|
|
929
|
+
dotDotDash: "dotDotDash";
|
|
930
|
+
dotted: "dotted";
|
|
931
|
+
dottedHeavy: "dottedHeavy";
|
|
932
|
+
heavy: "heavy";
|
|
933
|
+
none: "none";
|
|
934
|
+
sng: "sng";
|
|
935
|
+
wavy: "wavy";
|
|
936
|
+
wavyDbl: "wavyDbl";
|
|
937
|
+
wavyHeavy: "wavyHeavy";
|
|
938
|
+
}>>;
|
|
939
|
+
color: z.ZodOptional<z.ZodString>;
|
|
940
|
+
}, z.core.$strip>]>>;
|
|
941
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
942
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
767
943
|
}, z.core.$strip>;
|
|
768
944
|
export declare const chartTypeSchema: z.ZodEnum<{
|
|
769
945
|
line: "line";
|
|
@@ -838,6 +1014,7 @@ export declare const chartNodeSchema: z.ZodObject<{
|
|
|
838
1014
|
}>>;
|
|
839
1015
|
}, z.core.$strip>;
|
|
840
1016
|
export type TextNode = z.infer<typeof textNodeSchema>;
|
|
1017
|
+
export type ImageSizing = z.infer<typeof imageSizingSchema>;
|
|
841
1018
|
export type ImageNode = z.infer<typeof imageNodeSchema>;
|
|
842
1019
|
export type TableCell = z.infer<typeof tableCellSchema>;
|
|
843
1020
|
export type TableRow = z.infer<typeof tableRowSchema>;
|
|
@@ -1098,6 +1275,29 @@ export declare const processArrowNodeSchema: z.ZodObject<{
|
|
|
1098
1275
|
gap: z.ZodOptional<z.ZodNumber>;
|
|
1099
1276
|
fontPx: z.ZodOptional<z.ZodNumber>;
|
|
1100
1277
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1280
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1281
|
+
dash: "dash";
|
|
1282
|
+
dashHeavy: "dashHeavy";
|
|
1283
|
+
dashLong: "dashLong";
|
|
1284
|
+
dashLongHeavy: "dashLongHeavy";
|
|
1285
|
+
dbl: "dbl";
|
|
1286
|
+
dotDash: "dotDash";
|
|
1287
|
+
dotDotDash: "dotDotDash";
|
|
1288
|
+
dotted: "dotted";
|
|
1289
|
+
dottedHeavy: "dottedHeavy";
|
|
1290
|
+
heavy: "heavy";
|
|
1291
|
+
none: "none";
|
|
1292
|
+
sng: "sng";
|
|
1293
|
+
wavy: "wavy";
|
|
1294
|
+
wavyDbl: "wavyDbl";
|
|
1295
|
+
wavyHeavy: "wavyHeavy";
|
|
1296
|
+
}>>;
|
|
1297
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
}, z.core.$strip>]>>;
|
|
1299
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1300
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
1101
1301
|
}, z.core.$strip>;
|
|
1102
1302
|
export type ProcessArrowDirection = z.infer<typeof processArrowDirectionSchema>;
|
|
1103
1303
|
export type ProcessArrowStep = z.infer<typeof processArrowStepSchema>;
|
|
@@ -1152,9 +1352,9 @@ export declare const flowConnectorStyleSchema: z.ZodObject<{
|
|
|
1152
1352
|
color: z.ZodOptional<z.ZodString>;
|
|
1153
1353
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1154
1354
|
arrowType: z.ZodOptional<z.ZodEnum<{
|
|
1355
|
+
none: "none";
|
|
1155
1356
|
diamond: "diamond";
|
|
1156
1357
|
triangle: "triangle";
|
|
1157
|
-
none: "none";
|
|
1158
1358
|
arrow: "arrow";
|
|
1159
1359
|
oval: "oval";
|
|
1160
1360
|
stealth: "stealth";
|
|
@@ -1227,9 +1427,9 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
1227
1427
|
color: z.ZodOptional<z.ZodString>;
|
|
1228
1428
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1229
1429
|
arrowType: z.ZodOptional<z.ZodEnum<{
|
|
1430
|
+
none: "none";
|
|
1230
1431
|
diamond: "diamond";
|
|
1231
1432
|
triangle: "triangle";
|
|
1232
|
-
none: "none";
|
|
1233
1433
|
arrow: "arrow";
|
|
1234
1434
|
oval: "oval";
|
|
1235
1435
|
stealth: "stealth";
|
|
@@ -1246,18 +1446,18 @@ export type FlowConnection = z.infer<typeof flowConnectionSchema>;
|
|
|
1246
1446
|
export type FlowConnectorStyle = z.infer<typeof flowConnectorStyleSchema>;
|
|
1247
1447
|
export type FlowNode = z.infer<typeof flowNodeSchema>;
|
|
1248
1448
|
export declare const lineArrowTypeSchema: z.ZodEnum<{
|
|
1449
|
+
none: "none";
|
|
1249
1450
|
diamond: "diamond";
|
|
1250
1451
|
triangle: "triangle";
|
|
1251
|
-
none: "none";
|
|
1252
1452
|
arrow: "arrow";
|
|
1253
1453
|
oval: "oval";
|
|
1254
1454
|
stealth: "stealth";
|
|
1255
1455
|
}>;
|
|
1256
1456
|
export declare const lineArrowOptionsSchema: z.ZodObject<{
|
|
1257
1457
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1458
|
+
none: "none";
|
|
1258
1459
|
diamond: "diamond";
|
|
1259
1460
|
triangle: "triangle";
|
|
1260
|
-
none: "none";
|
|
1261
1461
|
arrow: "arrow";
|
|
1262
1462
|
oval: "oval";
|
|
1263
1463
|
stealth: "stealth";
|
|
@@ -1265,9 +1465,9 @@ export declare const lineArrowOptionsSchema: z.ZodObject<{
|
|
|
1265
1465
|
}, z.core.$strip>;
|
|
1266
1466
|
export declare const lineArrowSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1267
1467
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1468
|
+
none: "none";
|
|
1268
1469
|
diamond: "diamond";
|
|
1269
1470
|
triangle: "triangle";
|
|
1270
|
-
none: "none";
|
|
1271
1471
|
arrow: "arrow";
|
|
1272
1472
|
oval: "oval";
|
|
1273
1473
|
stealth: "stealth";
|
|
@@ -1322,9 +1522,9 @@ export declare const lineNodeSchema: z.ZodObject<{
|
|
|
1322
1522
|
}>>;
|
|
1323
1523
|
beginArrow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1324
1524
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1525
|
+
none: "none";
|
|
1325
1526
|
diamond: "diamond";
|
|
1326
1527
|
triangle: "triangle";
|
|
1327
|
-
none: "none";
|
|
1328
1528
|
arrow: "arrow";
|
|
1329
1529
|
oval: "oval";
|
|
1330
1530
|
stealth: "stealth";
|
|
@@ -1332,9 +1532,9 @@ export declare const lineNodeSchema: z.ZodObject<{
|
|
|
1332
1532
|
}, z.core.$strip>]>>;
|
|
1333
1533
|
endArrow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1334
1534
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1535
|
+
none: "none";
|
|
1335
1536
|
diamond: "diamond";
|
|
1336
1537
|
triangle: "triangle";
|
|
1337
|
-
none: "none";
|
|
1338
1538
|
arrow: "arrow";
|
|
1339
1539
|
oval: "oval";
|
|
1340
1540
|
stealth: "stealth";
|
|
@@ -1411,6 +1611,29 @@ export declare const masterTextObjectSchema: z.ZodObject<{
|
|
|
1411
1611
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1412
1612
|
color: z.ZodOptional<z.ZodString>;
|
|
1413
1613
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1614
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1615
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1616
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1617
|
+
dash: "dash";
|
|
1618
|
+
dashHeavy: "dashHeavy";
|
|
1619
|
+
dashLong: "dashLong";
|
|
1620
|
+
dashLongHeavy: "dashLongHeavy";
|
|
1621
|
+
dbl: "dbl";
|
|
1622
|
+
dotDash: "dotDash";
|
|
1623
|
+
dotDotDash: "dotDotDash";
|
|
1624
|
+
dotted: "dotted";
|
|
1625
|
+
dottedHeavy: "dottedHeavy";
|
|
1626
|
+
heavy: "heavy";
|
|
1627
|
+
none: "none";
|
|
1628
|
+
sng: "sng";
|
|
1629
|
+
wavy: "wavy";
|
|
1630
|
+
wavyDbl: "wavyDbl";
|
|
1631
|
+
wavyHeavy: "wavyHeavy";
|
|
1632
|
+
}>>;
|
|
1633
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
}, z.core.$strip>]>>;
|
|
1635
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
1414
1637
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
1415
1638
|
right: "right";
|
|
1416
1639
|
left: "left";
|
|
@@ -1482,6 +1705,29 @@ export declare const masterObjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1482
1705
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1483
1706
|
color: z.ZodOptional<z.ZodString>;
|
|
1484
1707
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1708
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1709
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1710
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1711
|
+
dash: "dash";
|
|
1712
|
+
dashHeavy: "dashHeavy";
|
|
1713
|
+
dashLong: "dashLong";
|
|
1714
|
+
dashLongHeavy: "dashLongHeavy";
|
|
1715
|
+
dbl: "dbl";
|
|
1716
|
+
dotDash: "dotDash";
|
|
1717
|
+
dotDotDash: "dotDotDash";
|
|
1718
|
+
dotted: "dotted";
|
|
1719
|
+
dottedHeavy: "dottedHeavy";
|
|
1720
|
+
heavy: "heavy";
|
|
1721
|
+
none: "none";
|
|
1722
|
+
sng: "sng";
|
|
1723
|
+
wavy: "wavy";
|
|
1724
|
+
wavyDbl: "wavyDbl";
|
|
1725
|
+
wavyHeavy: "wavyHeavy";
|
|
1726
|
+
}>>;
|
|
1727
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
}, z.core.$strip>]>>;
|
|
1729
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1730
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
1485
1731
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
1486
1732
|
right: "right";
|
|
1487
1733
|
left: "left";
|
|
@@ -1587,6 +1833,29 @@ export declare const slideMasterOptionsSchema: z.ZodObject<{
|
|
|
1587
1833
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1588
1834
|
color: z.ZodOptional<z.ZodString>;
|
|
1589
1835
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1836
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1837
|
+
underline: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1838
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1839
|
+
dash: "dash";
|
|
1840
|
+
dashHeavy: "dashHeavy";
|
|
1841
|
+
dashLong: "dashLong";
|
|
1842
|
+
dashLongHeavy: "dashLongHeavy";
|
|
1843
|
+
dbl: "dbl";
|
|
1844
|
+
dotDash: "dotDash";
|
|
1845
|
+
dotDotDash: "dotDotDash";
|
|
1846
|
+
dotted: "dotted";
|
|
1847
|
+
dottedHeavy: "dottedHeavy";
|
|
1848
|
+
heavy: "heavy";
|
|
1849
|
+
none: "none";
|
|
1850
|
+
sng: "sng";
|
|
1851
|
+
wavy: "wavy";
|
|
1852
|
+
wavyDbl: "wavyDbl";
|
|
1853
|
+
wavyHeavy: "wavyHeavy";
|
|
1854
|
+
}>>;
|
|
1855
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
}, z.core.$strip>]>>;
|
|
1857
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1858
|
+
highlight: z.ZodOptional<z.ZodString>;
|
|
1590
1859
|
alignText: z.ZodOptional<z.ZodEnum<{
|
|
1591
1860
|
right: "right";
|
|
1592
1861
|
left: "left";
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,KA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qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/types.js
CHANGED
|
@@ -65,6 +65,30 @@ export const bulletOptionsSchema = z.object({
|
|
|
65
65
|
numberType: bulletNumberTypeSchema.optional(),
|
|
66
66
|
numberStartAt: z.number().optional(),
|
|
67
67
|
});
|
|
68
|
+
export const underlineStyleSchema = z.enum([
|
|
69
|
+
"dash",
|
|
70
|
+
"dashHeavy",
|
|
71
|
+
"dashLong",
|
|
72
|
+
"dashLongHeavy",
|
|
73
|
+
"dbl",
|
|
74
|
+
"dotDash",
|
|
75
|
+
"dotDotDash",
|
|
76
|
+
"dotted",
|
|
77
|
+
"dottedHeavy",
|
|
78
|
+
"heavy",
|
|
79
|
+
"none",
|
|
80
|
+
"sng",
|
|
81
|
+
"wavy",
|
|
82
|
+
"wavyDbl",
|
|
83
|
+
"wavyHeavy",
|
|
84
|
+
]);
|
|
85
|
+
export const underlineSchema = z.union([
|
|
86
|
+
z.boolean(),
|
|
87
|
+
z.object({
|
|
88
|
+
style: underlineStyleSchema.optional(),
|
|
89
|
+
color: z.string().optional(),
|
|
90
|
+
}),
|
|
91
|
+
]);
|
|
68
92
|
export const alignItemsSchema = z.enum(["start", "center", "end", "stretch"]);
|
|
69
93
|
export const justifyContentSchema = z.enum([
|
|
70
94
|
"start",
|
|
@@ -277,19 +301,35 @@ export const textNodeSchema = basePOMNodeSchema.extend({
|
|
|
277
301
|
color: z.string().optional(),
|
|
278
302
|
alignText: z.enum(["left", "center", "right"]).optional(),
|
|
279
303
|
bold: z.boolean().optional(),
|
|
304
|
+
italic: z.boolean().optional(),
|
|
305
|
+
underline: underlineSchema.optional(),
|
|
306
|
+
strike: z.boolean().optional(),
|
|
307
|
+
highlight: z.string().optional(),
|
|
280
308
|
fontFamily: z.string().optional(),
|
|
281
309
|
lineSpacingMultiple: z.number().optional(),
|
|
282
310
|
bullet: z.union([z.boolean(), bulletOptionsSchema]).optional(),
|
|
283
311
|
});
|
|
312
|
+
export const imageSizingSchema = z.object({
|
|
313
|
+
type: z.enum(["contain", "cover", "crop"]),
|
|
314
|
+
w: z.number().optional(),
|
|
315
|
+
h: z.number().optional(),
|
|
316
|
+
x: z.number().optional(),
|
|
317
|
+
y: z.number().optional(),
|
|
318
|
+
});
|
|
284
319
|
export const imageNodeSchema = basePOMNodeSchema.extend({
|
|
285
320
|
type: z.literal("image"),
|
|
286
321
|
src: z.string(),
|
|
322
|
+
sizing: imageSizingSchema.optional(),
|
|
287
323
|
});
|
|
288
324
|
export const tableCellSchema = z.object({
|
|
289
325
|
text: z.string(),
|
|
290
326
|
fontPx: z.number().optional(),
|
|
291
327
|
color: z.string().optional(),
|
|
292
328
|
bold: z.boolean().optional(),
|
|
329
|
+
italic: z.boolean().optional(),
|
|
330
|
+
underline: underlineSchema.optional(),
|
|
331
|
+
strike: z.boolean().optional(),
|
|
332
|
+
highlight: z.string().optional(),
|
|
293
333
|
alignText: z.enum(["left", "center", "right"]).optional(),
|
|
294
334
|
backgroundColor: z.string().optional(),
|
|
295
335
|
});
|
|
@@ -317,6 +357,10 @@ export const shapeNodeSchema = basePOMNodeSchema.extend({
|
|
|
317
357
|
color: z.string().optional(),
|
|
318
358
|
alignText: z.enum(["left", "center", "right"]).optional(),
|
|
319
359
|
bold: z.boolean().optional(),
|
|
360
|
+
italic: z.boolean().optional(),
|
|
361
|
+
underline: underlineSchema.optional(),
|
|
362
|
+
strike: z.boolean().optional(),
|
|
363
|
+
highlight: z.string().optional(),
|
|
320
364
|
});
|
|
321
365
|
export const chartTypeSchema = z.enum([
|
|
322
366
|
"bar",
|
|
@@ -418,6 +462,10 @@ export const processArrowNodeSchema = basePOMNodeSchema.extend({
|
|
|
418
462
|
gap: z.number().optional(),
|
|
419
463
|
fontPx: z.number().optional(),
|
|
420
464
|
bold: z.boolean().optional(),
|
|
465
|
+
italic: z.boolean().optional(),
|
|
466
|
+
underline: underlineSchema.optional(),
|
|
467
|
+
strike: z.boolean().optional(),
|
|
468
|
+
highlight: z.string().optional(),
|
|
421
469
|
});
|
|
422
470
|
// ===== Flow Node =====
|
|
423
471
|
export const flowDirectionSchema = z.enum(["horizontal", "vertical"]);
|
|
@@ -591,6 +639,10 @@ export const masterTextObjectSchema = z.object({
|
|
|
591
639
|
fontFamily: z.string().optional(),
|
|
592
640
|
color: z.string().optional(),
|
|
593
641
|
bold: z.boolean().optional(),
|
|
642
|
+
italic: z.boolean().optional(),
|
|
643
|
+
underline: underlineSchema.optional(),
|
|
644
|
+
strike: z.boolean().optional(),
|
|
645
|
+
highlight: z.string().optional(),
|
|
594
646
|
alignText: z.enum(["left", "center", "right"]).optional(),
|
|
595
647
|
});
|
|
596
648
|
export const masterImageObjectSchema = z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hirokisakabe/pom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "PowerPoint Object Model - A declarative TypeScript library for creating PowerPoint presentations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -92,6 +92,6 @@
|
|
|
92
92
|
"opentype.js": "^1.3.4",
|
|
93
93
|
"pptxgenjs": "4.0.1",
|
|
94
94
|
"yoga-layout": "3.2.1",
|
|
95
|
-
"zod": "4.
|
|
95
|
+
"zod": "^4.3.6"
|
|
96
96
|
}
|
|
97
97
|
}
|