@hirokisakabe/pom 1.3.0 → 2.0.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.
Files changed (52) hide show
  1. package/README.md +22 -150
  2. package/dist/buildPptx.d.ts +2 -2
  3. package/dist/buildPptx.d.ts.map +1 -1
  4. package/dist/buildPptx.js +3 -1
  5. package/dist/calcYogaLayout/fontLoader.d.ts +0 -7
  6. package/dist/calcYogaLayout/fontLoader.d.ts.map +1 -1
  7. package/dist/calcYogaLayout/fontLoader.js +1 -1
  8. package/dist/calcYogaLayout/measureText.d.ts +0 -4
  9. package/dist/calcYogaLayout/measureText.d.ts.map +1 -1
  10. package/dist/calcYogaLayout/measureText.js +0 -6
  11. package/dist/index.d.ts +2 -4
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -3
  14. package/dist/inputSchema.d.ts +3 -438
  15. package/dist/inputSchema.d.ts.map +1 -1
  16. package/dist/inputSchema.js +6 -138
  17. package/dist/parseXml.d.ts +28 -0
  18. package/dist/parseXml.d.ts.map +1 -0
  19. package/dist/parseXml.js +795 -0
  20. package/dist/renderPptx/renderPptx.d.ts +1 -2
  21. package/dist/renderPptx/renderPptx.d.ts.map +1 -1
  22. package/dist/renderPptx/renderPptx.js +0 -2
  23. package/dist/renderPptx/textOptions.d.ts +0 -1
  24. package/dist/renderPptx/textOptions.d.ts.map +1 -1
  25. package/dist/renderPptx/textOptions.js +1 -1
  26. package/dist/renderPptx/types.d.ts +0 -2
  27. package/dist/renderPptx/types.d.ts.map +1 -1
  28. package/dist/table/utils.d.ts +0 -2
  29. package/dist/table/utils.d.ts.map +1 -1
  30. package/dist/table/utils.js +2 -2
  31. package/dist/types.d.ts +13 -121
  32. package/dist/types.d.ts.map +1 -1
  33. package/dist/types.js +21 -27
  34. package/package.json +4 -6
  35. package/dist/component.d.ts +0 -90
  36. package/dist/component.d.ts.map +0 -1
  37. package/dist/component.js +0 -123
  38. package/dist/renderPptx/nodes/box.d.ts +0 -2
  39. package/dist/renderPptx/nodes/box.d.ts.map +0 -1
  40. package/dist/renderPptx/nodes/box.js +0 -3
  41. package/dist/renderPptx/utils/index.d.ts +0 -6
  42. package/dist/renderPptx/utils/index.d.ts.map +0 -1
  43. package/dist/renderPptx/utils/index.js +0 -3
  44. package/dist/renderPptx/utils/shapeDrawing.d.ts +0 -27
  45. package/dist/renderPptx/utils/shapeDrawing.d.ts.map +0 -1
  46. package/dist/renderPptx/utils/shapeDrawing.js +0 -36
  47. package/dist/renderPptx/utils/textDrawing.d.ts +0 -25
  48. package/dist/renderPptx/utils/textDrawing.d.ts.map +0 -1
  49. package/dist/renderPptx/utils/textDrawing.js +0 -25
  50. package/dist/schema.d.ts +0 -23
  51. package/dist/schema.d.ts.map +0 -1
  52. package/dist/schema.js +0 -24
@@ -3,8 +3,6 @@ type SlidePx = {
3
3
  w: number;
4
4
  h: number;
5
5
  };
6
- export { createTextOptions, convertUnderline, convertStrike, } from "./textOptions.ts";
7
- export { PX_PER_IN, pxToIn, pxToPt } from "./units.ts";
8
6
  /**
9
7
  * PositionedNode ツリーを PptxGenJS スライドに変換する
10
8
  * @param pages PositionedNode ツリーの配列(各要素が1ページ)
@@ -13,4 +11,5 @@ export { PX_PER_IN, pxToIn, pxToPt } from "./units.ts";
13
11
  * @returns PptxGenJS インスタンス
14
12
  */
15
13
  export declare function renderPptx(pages: PositionedNode[], slidePx: SlidePx, master?: SlideMasterOptions): import("pptxgenjs").default;
14
+ export {};
16
15
  //# sourceMappingURL=renderPptx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderPptx.d.ts","sourceRoot":"","sources":["../../src/renderPptx/renderPptx.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAEnB,MAAM,aAAa,CAAC;AAoBrB,KAAK,OAAO,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACxC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAqJvD;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,EAAE,OAAO,EAChB,MAAM,CAAC,EAAE,kBAAkB,+BAqK5B"}
1
+ {"version":3,"file":"renderPptx.d.ts","sourceRoot":"","sources":["../../src/renderPptx/renderPptx.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAEnB,MAAM,aAAa,CAAC;AAoBrB,KAAK,OAAO,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAqJxC;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,EAAE,OAAO,EAChB,MAAM,CAAC,EAAE,kBAAkB,+BAqK5B"}
@@ -10,8 +10,6 @@ import { convertUnderline, convertStrike } from "./textOptions.js";
10
10
  import { getImageData } from "../calcYogaLayout/measureImage.js";
11
11
  import { renderBackgroundAndBorder } from "./utils/backgroundBorder.js";
12
12
  import { renderTextNode, renderImageNode, renderTableNode, renderShapeNode, renderChartNode, renderTimelineNode, renderMatrixNode, renderTreeNode, renderFlowNode, renderProcessArrowNode, renderLineNode, } from "./nodes/index.js";
13
- export { createTextOptions, convertUnderline, convertStrike, } from "./textOptions.js";
14
- export { PX_PER_IN, pxToIn, pxToPt } from "./units.js";
15
13
  const DEFAULT_MASTER_NAME = "POM_MASTER";
16
14
  /**
17
15
  * MasterObject を pptxgenjs の objects 形式に変換する
@@ -19,7 +19,6 @@ type PptxBulletOptions = {
19
19
  numberType?: BulletOptions["numberType"];
20
20
  numberStartAt?: number;
21
21
  };
22
- export declare function createBulletOptions(bullet: boolean | BulletOptions): PptxBulletOptions | boolean;
23
22
  export declare function createTextOptions(node: TextNode): {
24
23
  x: number;
25
24
  y: number;
@@ -1 +1 @@
1
- {"version":3,"file":"textOptions.d.ts","sourceRoot":"","sources":["../../src/renderPptx/textOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,SAAS,EACT,cAAc,EACf,MAAM,aAAa,CAAC;AAGrB,KAAK,QAAQ,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE1D;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,SAAS,GAAG,SAAS,GAC/B;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAQxD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,OAAO,GAAG,SAAS,GAC1B,WAAW,GAAG,SAAS,CAGzB;AAED,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,OAAO,GAAG,aAAa,GAC9B,iBAAiB,GAAG,OAAO,CAqB7B;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ;;;;;;;;;;;;;;;gBApDnC,cAAc;gBAAU,MAAM;;;;;;;;;;;;;;;;;;;;gBAA9B,cAAc;gBAAU,MAAM;;;;EAoF1C"}
1
+ {"version":3,"file":"textOptions.d.ts","sourceRoot":"","sources":["../../src/renderPptx/textOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,SAAS,EACT,cAAc,EACf,MAAM,aAAa,CAAC;AAGrB,KAAK,QAAQ,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE1D;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,SAAS,GAAG,SAAS,GAC/B;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAQxD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,OAAO,GAAG,SAAS,GAC1B,WAAW,GAAG,SAAS,CAGzB;AAED,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA2BF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ;;;;;;;;;;;;;;;gBApDnC,cAAc;gBAAU,MAAM;;;;;;;;;;;;;;;;;;;;gBAA9B,cAAc;gBAAU,MAAM;;;;EAoF1C"}
@@ -22,7 +22,7 @@ export function convertStrike(strike) {
22
22
  return "sngStrike";
23
23
  return undefined;
24
24
  }
25
- export function createBulletOptions(bullet) {
25
+ function createBulletOptions(bullet) {
26
26
  if (typeof bullet === "boolean") {
27
27
  return bullet;
28
28
  }
@@ -1,4 +1,3 @@
1
- import type { PositionedNode } from "../types.ts";
2
1
  type PptxGenJSClass = import("pptxgenjs").default;
3
2
  export type SlideInstance = ReturnType<PptxGenJSClass["addSlide"]>;
4
3
  export type PptxInstance = PptxGenJSClass;
@@ -6,6 +5,5 @@ export type RenderContext = {
6
5
  slide: SlideInstance;
7
6
  pptx: PptxInstance;
8
7
  };
9
- export type NodeRenderer<T extends PositionedNode> = (node: T, ctx: RenderContext) => void;
10
8
  export {};
11
9
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/renderPptx/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,KAAK,cAAc,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,cAAc,IAAI,CACnD,IAAI,EAAE,CAAC,EACP,GAAG,EAAE,aAAa,KACf,IAAI,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/renderPptx/types.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC"}
@@ -1,6 +1,4 @@
1
1
  import type { TableNode } from "../types.ts";
2
- export declare const DEFAULT_TABLE_ROW_HEIGHT = 32;
3
- export declare const DEFAULT_TABLE_COLUMN_WIDTH = 100;
4
2
  export declare function calcTableIntrinsicSize(node: TableNode): {
5
3
  width: number;
6
4
  height: number;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/table/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS;;;EAQrD;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,YAGhD;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,GACjB,MAAM,EAAE,CAeV"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/table/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS;;;EAQrD;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,YAGhD;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,GACjB,MAAM,EAAE,CAeV"}
@@ -1,5 +1,5 @@
1
- export const DEFAULT_TABLE_ROW_HEIGHT = 32;
2
- export const DEFAULT_TABLE_COLUMN_WIDTH = 100;
1
+ const DEFAULT_TABLE_ROW_HEIGHT = 32;
2
+ const DEFAULT_TABLE_COLUMN_WIDTH = 100;
3
3
  export function calcTableIntrinsicSize(node) {
4
4
  const width = node.columns.reduce((sum, column) => sum + (column.width ?? DEFAULT_TABLE_COLUMN_WIDTH), 0);
5
5
  const height = resolveRowHeights(node).reduce((sum, h) => sum + h, 0);
package/dist/types.d.ts CHANGED
@@ -46,24 +46,6 @@ export declare const shadowStyleSchema: z.ZodObject<{
46
46
  offset: z.ZodOptional<z.ZodNumber>;
47
47
  color: z.ZodOptional<z.ZodString>;
48
48
  }, 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
49
  export declare const bulletOptionsSchema: z.ZodObject<{
68
50
  type: z.ZodOptional<z.ZodEnum<{
69
51
  number: "number";
@@ -141,10 +123,6 @@ export declare const justifyContentSchema: z.ZodEnum<{
141
123
  spaceAround: "spaceAround";
142
124
  spaceEvenly: "spaceEvenly";
143
125
  }>;
144
- export declare const flexDirectionSchema: z.ZodEnum<{
145
- row: "row";
146
- column: "column";
147
- }>;
148
126
  export declare const shapeTypeSchema: z.ZodEnum<{
149
127
  accentBorderCallout1: "accentBorderCallout1";
150
128
  accentBorderCallout2: "accentBorderCallout2";
@@ -325,24 +303,12 @@ export declare const shapeTypeSchema: z.ZodEnum<{
325
303
  wedgeRectCallout: "wedgeRectCallout";
326
304
  wedgeRoundRectCallout: "wedgeRoundRectCallout";
327
305
  }>;
328
- export type Length = z.infer<typeof lengthSchema>;
329
- export type Padding = z.infer<typeof paddingSchema>;
330
- export type BorderDash = z.infer<typeof borderDashSchema>;
331
- export type BorderStyle = z.infer<typeof borderStyleSchema>;
332
- export type FillStyle = z.infer<typeof fillStyleSchema>;
333
306
  export type ShadowStyle = z.infer<typeof shadowStyleSchema>;
334
- export type BulletNumberType = z.infer<typeof bulletNumberTypeSchema>;
335
307
  export type BulletOptions = z.infer<typeof bulletOptionsSchema>;
336
308
  export type AlignItems = z.infer<typeof alignItemsSchema>;
337
309
  export type JustifyContent = z.infer<typeof justifyContentSchema>;
338
- export type FlexDirection = z.infer<typeof flexDirectionSchema>;
339
- export type ShapeType = z.infer<typeof shapeTypeSchema>;
340
310
  export type UnderlineStyle = z.infer<typeof underlineStyleSchema>;
341
311
  export type Underline = z.infer<typeof underlineSchema>;
342
- export declare const backgroundImageSizingSchema: z.ZodEnum<{
343
- cover: "cover";
344
- contain: "contain";
345
- }>;
346
312
  export declare const backgroundImageSchema: z.ZodObject<{
347
313
  src: z.ZodString;
348
314
  sizing: z.ZodOptional<z.ZodEnum<{
@@ -350,8 +316,6 @@ export declare const backgroundImageSchema: z.ZodObject<{
350
316
  contain: "contain";
351
317
  }>>;
352
318
  }, z.core.$strip>;
353
- export type BackgroundImageSizing = z.infer<typeof backgroundImageSizingSchema>;
354
- export type BackgroundImage = z.infer<typeof backgroundImageSchema>;
355
319
  declare const basePOMNodeSchema: z.ZodObject<{
356
320
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
357
321
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -392,7 +356,7 @@ declare const basePOMNodeSchema: z.ZodObject<{
392
356
  opacity: z.ZodOptional<z.ZodNumber>;
393
357
  }, z.core.$strip>;
394
358
  type BasePOMNode = z.infer<typeof basePOMNodeSchema>;
395
- export declare const textNodeSchema: z.ZodObject<{
359
+ declare const textNodeSchema: z.ZodObject<{
396
360
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
397
361
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
398
362
  h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -492,18 +456,7 @@ export declare const textNodeSchema: z.ZodObject<{
492
456
  numberStartAt: z.ZodOptional<z.ZodNumber>;
493
457
  }, z.core.$strip>]>>;
494
458
  }, z.core.$strip>;
495
- export declare const imageSizingSchema: z.ZodObject<{
496
- type: z.ZodEnum<{
497
- cover: "cover";
498
- contain: "contain";
499
- crop: "crop";
500
- }>;
501
- w: z.ZodOptional<z.ZodNumber>;
502
- h: z.ZodOptional<z.ZodNumber>;
503
- x: z.ZodOptional<z.ZodNumber>;
504
- y: z.ZodOptional<z.ZodNumber>;
505
- }, z.core.$strip>;
506
- export declare const imageNodeSchema: z.ZodObject<{
459
+ declare const imageNodeSchema: z.ZodObject<{
507
460
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
508
461
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
509
462
  h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -724,7 +677,7 @@ export declare const tableNodeSchema: z.ZodObject<{
724
677
  }, z.core.$strip>>;
725
678
  defaultRowHeight: z.ZodOptional<z.ZodNumber>;
726
679
  }, z.core.$strip>;
727
- export declare const shapeNodeSchema: z.ZodObject<{
680
+ declare const shapeNodeSchema: z.ZodObject<{
728
681
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
729
682
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
730
683
  h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -1023,7 +976,7 @@ export declare const chartDataSchema: z.ZodObject<{
1023
976
  labels: z.ZodArray<z.ZodString>;
1024
977
  values: z.ZodArray<z.ZodNumber>;
1025
978
  }, z.core.$strip>;
1026
- export declare const chartNodeSchema: z.ZodObject<{
979
+ declare const chartNodeSchema: z.ZodObject<{
1027
980
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
1028
981
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
1029
982
  h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -1086,17 +1039,10 @@ export declare const chartNodeSchema: z.ZodObject<{
1086
1039
  }>>;
1087
1040
  }, z.core.$strip>;
1088
1041
  export type TextNode = z.infer<typeof textNodeSchema>;
1089
- export type ImageSizing = z.infer<typeof imageSizingSchema>;
1090
1042
  export type ImageNode = z.infer<typeof imageNodeSchema>;
1091
- export type TableCell = z.infer<typeof tableCellSchema>;
1092
- export type TableRow = z.infer<typeof tableRowSchema>;
1093
- export type TableColumn = z.infer<typeof tableColumnSchema>;
1094
1043
  export type TableNode = z.infer<typeof tableNodeSchema>;
1095
1044
  export type ShapeNode = z.infer<typeof shapeNodeSchema>;
1096
- export type ChartType = z.infer<typeof chartTypeSchema>;
1097
- export type ChartData = z.infer<typeof chartDataSchema>;
1098
1045
  export type ChartNode = z.infer<typeof chartNodeSchema>;
1099
- export type RadarStyle = z.infer<typeof radarStyleSchema>;
1100
1046
  export declare const timelineDirectionSchema: z.ZodEnum<{
1101
1047
  horizontal: "horizontal";
1102
1048
  vertical: "vertical";
@@ -1157,8 +1103,6 @@ export declare const timelineNodeSchema: z.ZodObject<{
1157
1103
  color: z.ZodOptional<z.ZodString>;
1158
1104
  }, z.core.$strip>>;
1159
1105
  }, z.core.$strip>;
1160
- export type TimelineDirection = z.infer<typeof timelineDirectionSchema>;
1161
- export type TimelineItem = z.infer<typeof timelineItemSchema>;
1162
1106
  export type TimelineNode = z.infer<typeof timelineNodeSchema>;
1163
1107
  export declare const matrixAxisSchema: z.ZodObject<{
1164
1108
  x: z.ZodString;
@@ -1232,9 +1176,6 @@ export declare const matrixNodeSchema: z.ZodObject<{
1232
1176
  color: z.ZodOptional<z.ZodString>;
1233
1177
  }, z.core.$strip>>;
1234
1178
  }, z.core.$strip>;
1235
- export type MatrixAxis = z.infer<typeof matrixAxisSchema>;
1236
- export type MatrixQuadrants = z.infer<typeof matrixQuadrantsSchema>;
1237
- export type MatrixItem = z.infer<typeof matrixItemSchema>;
1238
1179
  export type MatrixNode = z.infer<typeof matrixNodeSchema>;
1239
1180
  export declare const treeLayoutSchema: z.ZodEnum<{
1240
1181
  horizontal: "horizontal";
@@ -1254,7 +1195,6 @@ export type TreeDataItem = {
1254
1195
  color?: string;
1255
1196
  children?: TreeDataItem[];
1256
1197
  };
1257
- export declare const treeDataItemSchema: z.ZodType<TreeDataItem>;
1258
1198
  export declare const treeNodeSchema: z.ZodObject<{
1259
1199
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
1260
1200
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -1313,7 +1253,6 @@ export declare const treeNodeSchema: z.ZodObject<{
1313
1253
  levelGap: z.ZodOptional<z.ZodNumber>;
1314
1254
  siblingGap: z.ZodOptional<z.ZodNumber>;
1315
1255
  }, z.core.$strip>;
1316
- export type TreeLayout = z.infer<typeof treeLayoutSchema>;
1317
1256
  export type TreeNodeShape = z.infer<typeof treeNodeShapeSchema>;
1318
1257
  export type TreeConnectorStyle = z.infer<typeof treeConnectorStyleSchema>;
1319
1258
  export type TreeNode = z.infer<typeof treeNodeSchema>;
@@ -1403,27 +1342,11 @@ export declare const processArrowNodeSchema: z.ZodObject<{
1403
1342
  strike: z.ZodOptional<z.ZodBoolean>;
1404
1343
  highlight: z.ZodOptional<z.ZodString>;
1405
1344
  }, z.core.$strip>;
1406
- export type ProcessArrowDirection = z.infer<typeof processArrowDirectionSchema>;
1407
- export type ProcessArrowStep = z.infer<typeof processArrowStepSchema>;
1408
1345
  export type ProcessArrowNode = z.infer<typeof processArrowNodeSchema>;
1409
1346
  export declare const flowDirectionSchema: z.ZodEnum<{
1410
1347
  horizontal: "horizontal";
1411
1348
  vertical: "vertical";
1412
1349
  }>;
1413
- export declare const flowNodeShapeSchema: z.ZodEnum<{
1414
- flowChartConnector: "flowChartConnector";
1415
- flowChartDecision: "flowChartDecision";
1416
- flowChartDelay: "flowChartDelay";
1417
- flowChartDocument: "flowChartDocument";
1418
- flowChartInputOutput: "flowChartInputOutput";
1419
- flowChartMagneticDisk: "flowChartMagneticDisk";
1420
- flowChartManualInput: "flowChartManualInput";
1421
- flowChartManualOperation: "flowChartManualOperation";
1422
- flowChartPredefinedProcess: "flowChartPredefinedProcess";
1423
- flowChartPreparation: "flowChartPreparation";
1424
- flowChartProcess: "flowChartProcess";
1425
- flowChartTerminator: "flowChartTerminator";
1426
- }>;
1427
1350
  export declare const flowNodeItemSchema: z.ZodObject<{
1428
1351
  id: z.ZodString;
1429
1352
  shape: z.ZodEnum<{
@@ -1551,30 +1474,7 @@ export declare const flowNodeSchema: z.ZodObject<{
1551
1474
  nodeHeight: z.ZodOptional<z.ZodNumber>;
1552
1475
  nodeGap: z.ZodOptional<z.ZodNumber>;
1553
1476
  }, z.core.$strip>;
1554
- export type FlowDirection = z.infer<typeof flowDirectionSchema>;
1555
- export type FlowNodeShape = z.infer<typeof flowNodeShapeSchema>;
1556
- export type FlowNodeItem = z.infer<typeof flowNodeItemSchema>;
1557
- export type FlowConnection = z.infer<typeof flowConnectionSchema>;
1558
- export type FlowConnectorStyle = z.infer<typeof flowConnectorStyleSchema>;
1559
1477
  export type FlowNode = z.infer<typeof flowNodeSchema>;
1560
- export declare const lineArrowTypeSchema: z.ZodEnum<{
1561
- none: "none";
1562
- diamond: "diamond";
1563
- triangle: "triangle";
1564
- arrow: "arrow";
1565
- oval: "oval";
1566
- stealth: "stealth";
1567
- }>;
1568
- export declare const lineArrowOptionsSchema: z.ZodObject<{
1569
- type: z.ZodOptional<z.ZodEnum<{
1570
- none: "none";
1571
- diamond: "diamond";
1572
- triangle: "triangle";
1573
- arrow: "arrow";
1574
- oval: "oval";
1575
- stealth: "stealth";
1576
- }>>;
1577
- }, z.core.$strip>;
1578
1478
  export declare const lineArrowSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1579
1479
  type: z.ZodOptional<z.ZodEnum<{
1580
1480
  none: "none";
@@ -1585,7 +1485,7 @@ export declare const lineArrowSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodOb
1585
1485
  stealth: "stealth";
1586
1486
  }>>;
1587
1487
  }, z.core.$strip>]>;
1588
- export declare const lineNodeSchema: z.ZodObject<{
1488
+ declare const lineNodeSchema: z.ZodObject<{
1589
1489
  yogaNode: z.ZodOptional<z.ZodCustom<YogaNode, YogaNode>>;
1590
1490
  w: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
1591
1491
  h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"max">, z.ZodString]>>;
@@ -1661,8 +1561,6 @@ export declare const lineNodeSchema: z.ZodObject<{
1661
1561
  }>>;
1662
1562
  }, z.core.$strip>]>>;
1663
1563
  }, z.core.$strip>;
1664
- export type LineArrowType = z.infer<typeof lineArrowTypeSchema>;
1665
- export type LineArrowOptions = z.infer<typeof lineArrowOptionsSchema>;
1666
1564
  export type LineArrow = z.infer<typeof lineArrowSchema>;
1667
1565
  export type LineNode = z.infer<typeof lineNodeSchema>;
1668
1566
  export type BoxNode = BasePOMNode & {
@@ -1684,7 +1582,7 @@ export type HStackNode = BasePOMNode & {
1684
1582
  alignItems?: AlignItems;
1685
1583
  justifyContent?: JustifyContent;
1686
1584
  };
1687
- export type LayerChild = POMNode & {
1585
+ type LayerChild = POMNode & {
1688
1586
  x: number;
1689
1587
  y: number;
1690
1588
  };
@@ -1693,11 +1591,6 @@ export type LayerNode = BasePOMNode & {
1693
1591
  children: LayerChild[];
1694
1592
  };
1695
1593
  export type POMNode = TextNode | ImageNode | TableNode | BoxNode | VStackNode | HStackNode | ShapeNode | ChartNode | TimelineNode | MatrixNode | TreeNode | FlowNode | ProcessArrowNode | LineNode | LayerNode;
1696
- export declare const boxNodeSchema: z.ZodType<BoxNode>;
1697
- export declare const vStackNodeSchema: z.ZodType<VStackNode>;
1698
- export declare const hStackNodeSchema: z.ZodType<HStackNode>;
1699
- export declare const layerNodeSchema: z.ZodType<LayerNode>;
1700
- export declare const pomNodeSchema: z.ZodType<POMNode>;
1701
1594
  declare const positionedBaseSchema: z.ZodObject<{
1702
1595
  x: z.ZodNumber;
1703
1596
  y: z.ZodNumber;
@@ -1720,8 +1613,7 @@ export type PositionedNode = (TextNode & PositionedBase) | (ImageNode & Position
1720
1613
  }) | (ShapeNode & PositionedBase) | (ChartNode & PositionedBase) | (TimelineNode & PositionedBase) | (MatrixNode & PositionedBase) | (TreeNode & PositionedBase) | (FlowNode & PositionedBase) | (ProcessArrowNode & PositionedBase) | (LineNode & PositionedBase) | (LayerNode & PositionedBase & {
1721
1614
  children: PositionedLayerChild[];
1722
1615
  });
1723
- export declare const positionedNodeSchema: z.ZodType<PositionedNode>;
1724
- export declare const masterTextObjectSchema: z.ZodObject<{
1616
+ declare const masterTextObjectSchema: z.ZodObject<{
1725
1617
  type: z.ZodLiteral<"text">;
1726
1618
  text: z.ZodString;
1727
1619
  x: z.ZodNumber;
@@ -1761,7 +1653,7 @@ export declare const masterTextObjectSchema: z.ZodObject<{
1761
1653
  center: "center";
1762
1654
  }>>;
1763
1655
  }, z.core.$strip>;
1764
- export declare const masterImageObjectSchema: z.ZodObject<{
1656
+ declare const masterImageObjectSchema: z.ZodObject<{
1765
1657
  type: z.ZodLiteral<"image">;
1766
1658
  src: z.ZodString;
1767
1659
  x: z.ZodNumber;
@@ -1769,7 +1661,7 @@ export declare const masterImageObjectSchema: z.ZodObject<{
1769
1661
  w: z.ZodNumber;
1770
1662
  h: z.ZodNumber;
1771
1663
  }, z.core.$strip>;
1772
- export declare const masterRectObjectSchema: z.ZodObject<{
1664
+ declare const masterRectObjectSchema: z.ZodObject<{
1773
1665
  type: z.ZodLiteral<"rect">;
1774
1666
  x: z.ZodNumber;
1775
1667
  y: z.ZodNumber;
@@ -1794,7 +1686,7 @@ export declare const masterRectObjectSchema: z.ZodObject<{
1794
1686
  }>>;
1795
1687
  }, z.core.$strip>>;
1796
1688
  }, z.core.$strip>;
1797
- export declare const masterLineObjectSchema: z.ZodObject<{
1689
+ declare const masterLineObjectSchema: z.ZodObject<{
1798
1690
  type: z.ZodLiteral<"line">;
1799
1691
  x: z.ZodNumber;
1800
1692
  y: z.ZodNumber;
@@ -1906,7 +1798,7 @@ export declare const masterObjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1906
1798
  }>>;
1907
1799
  }, z.core.$strip>>;
1908
1800
  }, z.core.$strip>], "type">;
1909
- export declare const slideNumberOptionsSchema: z.ZodObject<{
1801
+ declare const slideNumberOptionsSchema: z.ZodObject<{
1910
1802
  x: z.ZodNumber;
1911
1803
  y: z.ZodNumber;
1912
1804
  w: z.ZodOptional<z.ZodNumber>;
@@ -1915,7 +1807,7 @@ export declare const slideNumberOptionsSchema: z.ZodObject<{
1915
1807
  fontFamily: z.ZodOptional<z.ZodString>;
1916
1808
  color: z.ZodOptional<z.ZodString>;
1917
1809
  }, z.core.$strip>;
1918
- export declare const slideMasterBackgroundSchema: z.ZodUnion<readonly [z.ZodObject<{
1810
+ declare const slideMasterBackgroundSchema: z.ZodUnion<readonly [z.ZodObject<{
1919
1811
  color: z.ZodString;
1920
1812
  }, z.core.$strip>, z.ZodObject<{
1921
1813
  path: z.ZodString;
@@ -1924,7 +1816,7 @@ export declare const slideMasterBackgroundSchema: z.ZodUnion<readonly [z.ZodObje
1924
1816
  }, z.core.$strip>, z.ZodObject<{
1925
1817
  image: z.ZodString;
1926
1818
  }, z.core.$strip>]>;
1927
- export declare const slideMasterMarginSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1819
+ declare const slideMasterMarginSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1928
1820
  top: z.ZodOptional<z.ZodNumber>;
1929
1821
  right: z.ZodOptional<z.ZodNumber>;
1930
1822
  bottom: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1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,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMnC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,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
@@ -41,7 +41,7 @@ export const shadowStyleSchema = z.object({
41
41
  offset: z.number().optional(),
42
42
  color: z.string().optional(),
43
43
  });
44
- export const bulletNumberTypeSchema = z.enum([
44
+ const bulletNumberTypeSchema = z.enum([
45
45
  "alphaLcParenBoth",
46
46
  "alphaLcParenR",
47
47
  "alphaLcPeriod",
@@ -98,7 +98,6 @@ export const justifyContentSchema = z.enum([
98
98
  "spaceAround",
99
99
  "spaceEvenly",
100
100
  ]);
101
- export const flexDirectionSchema = z.enum(["row", "column"]);
102
101
  export const shapeTypeSchema = z.enum([
103
102
  "accentBorderCallout1",
104
103
  "accentBorderCallout2",
@@ -280,7 +279,7 @@ export const shapeTypeSchema = z.enum([
280
279
  "wedgeRoundRectCallout",
281
280
  ]);
282
281
  // ===== Background Image =====
283
- export const backgroundImageSizingSchema = z.enum(["cover", "contain"]);
282
+ const backgroundImageSizingSchema = z.enum(["cover", "contain"]);
284
283
  export const backgroundImageSchema = z.object({
285
284
  src: z.string(),
286
285
  sizing: backgroundImageSizingSchema.optional(),
@@ -302,7 +301,7 @@ const basePOMNodeSchema = z.object({
302
301
  opacity: z.number().min(0).max(1).optional(),
303
302
  });
304
303
  // ===== Non-recursive Node Types =====
305
- export const textNodeSchema = basePOMNodeSchema.extend({
304
+ const textNodeSchema = basePOMNodeSchema.extend({
306
305
  type: z.literal("text"),
307
306
  text: z.string(),
308
307
  fontPx: z.number().optional(),
@@ -317,14 +316,14 @@ export const textNodeSchema = basePOMNodeSchema.extend({
317
316
  lineSpacingMultiple: z.number().optional(),
318
317
  bullet: z.union([z.boolean(), bulletOptionsSchema]).optional(),
319
318
  });
320
- export const imageSizingSchema = z.object({
319
+ const imageSizingSchema = z.object({
321
320
  type: z.enum(["contain", "cover", "crop"]),
322
321
  w: z.number().optional(),
323
322
  h: z.number().optional(),
324
323
  x: z.number().optional(),
325
324
  y: z.number().optional(),
326
325
  });
327
- export const imageNodeSchema = basePOMNodeSchema.extend({
326
+ const imageNodeSchema = basePOMNodeSchema.extend({
328
327
  type: z.literal("image"),
329
328
  src: z.string(),
330
329
  sizing: imageSizingSchema.optional(),
@@ -355,7 +354,7 @@ export const tableNodeSchema = basePOMNodeSchema.extend({
355
354
  rows: z.array(tableRowSchema),
356
355
  defaultRowHeight: z.number().optional(),
357
356
  });
358
- export const shapeNodeSchema = basePOMNodeSchema.extend({
357
+ const shapeNodeSchema = basePOMNodeSchema.extend({
359
358
  type: z.literal("shape"),
360
359
  shapeType: shapeTypeSchema,
361
360
  text: z.string().optional(),
@@ -385,7 +384,7 @@ export const chartDataSchema = z.object({
385
384
  labels: z.array(z.string()),
386
385
  values: z.array(z.number()),
387
386
  });
388
- export const chartNodeSchema = basePOMNodeSchema.extend({
387
+ const chartNodeSchema = basePOMNodeSchema.extend({
389
388
  type: z.literal("chart"),
390
389
  chartType: chartTypeSchema,
391
390
  data: z.array(chartDataSchema),
@@ -439,7 +438,7 @@ export const treeConnectorStyleSchema = z.object({
439
438
  color: z.string().optional(),
440
439
  width: z.number().optional(),
441
440
  });
442
- export const treeDataItemSchema = z.lazy(() => z.object({
441
+ const treeDataItemSchema = z.lazy(() => z.object({
443
442
  label: z.string(),
444
443
  color: z.string().optional(),
445
444
  children: z.array(treeDataItemSchema).optional(),
@@ -478,7 +477,7 @@ export const processArrowNodeSchema = basePOMNodeSchema.extend({
478
477
  });
479
478
  // ===== Flow Node =====
480
479
  export const flowDirectionSchema = z.enum(["horizontal", "vertical"]);
481
- export const flowNodeShapeSchema = z.enum([
480
+ const flowNodeShapeSchema = z.enum([
482
481
  "flowChartTerminator",
483
482
  "flowChartProcess",
484
483
  "flowChartDecision",
@@ -525,7 +524,7 @@ export const flowNodeSchema = basePOMNodeSchema.extend({
525
524
  nodeGap: z.number().optional(),
526
525
  });
527
526
  // ===== Line Node =====
528
- export const lineArrowTypeSchema = z.enum([
527
+ const lineArrowTypeSchema = z.enum([
529
528
  "none",
530
529
  "arrow",
531
530
  "triangle",
@@ -533,11 +532,11 @@ export const lineArrowTypeSchema = z.enum([
533
532
  "oval",
534
533
  "stealth",
535
534
  ]);
536
- export const lineArrowOptionsSchema = z.object({
535
+ const lineArrowOptionsSchema = z.object({
537
536
  type: lineArrowTypeSchema.optional(),
538
537
  });
539
538
  export const lineArrowSchema = z.union([z.boolean(), lineArrowOptionsSchema]);
540
- export const lineNodeSchema = basePOMNodeSchema.extend({
539
+ const lineNodeSchema = basePOMNodeSchema.extend({
541
540
  type: z.literal("line"),
542
541
  x1: z.number(),
543
542
  y1: z.number(),
@@ -577,12 +576,7 @@ const layerNodeSchemaBase = basePOMNodeSchema.extend({
577
576
  type: z.literal("layer"),
578
577
  children: z.array(layerChildSchemaBase),
579
578
  });
580
- // Export with proper type annotations using z.ZodType
581
- export const boxNodeSchema = boxNodeSchemaBase;
582
- export const vStackNodeSchema = vStackNodeSchemaBase;
583
- export const hStackNodeSchema = hStackNodeSchemaBase;
584
- export const layerNodeSchema = layerNodeSchemaBase;
585
- export const pomNodeSchema = z.lazy(() => z.discriminatedUnion("type", [
579
+ const pomNodeSchema = z.lazy(() => z.discriminatedUnion("type", [
586
580
  textNodeSchema,
587
581
  imageNodeSchema,
588
582
  tableNodeSchema,
@@ -610,7 +604,7 @@ const positionedLayerChildSchema = z.lazy(() => positionedNodeSchema.and(z.objec
610
604
  x: z.number(),
611
605
  y: z.number(),
612
606
  })));
613
- export const positionedNodeSchema = z.lazy(() => z.union([
607
+ const positionedNodeSchema = z.lazy(() => z.union([
614
608
  textNodeSchema.merge(positionedBaseSchema),
615
609
  imageNodeSchema.merge(positionedBaseSchema).extend({
616
610
  imageData: z.string().optional(),
@@ -638,7 +632,7 @@ export const positionedNodeSchema = z.lazy(() => z.union([
638
632
  }),
639
633
  ]));
640
634
  // ===== Slide Master Options =====
641
- export const masterTextObjectSchema = z.object({
635
+ const masterTextObjectSchema = z.object({
642
636
  type: z.literal("text"),
643
637
  text: z.string(),
644
638
  x: z.number(),
@@ -655,7 +649,7 @@ export const masterTextObjectSchema = z.object({
655
649
  highlight: z.string().optional(),
656
650
  alignText: z.enum(["left", "center", "right"]).optional(),
657
651
  });
658
- export const masterImageObjectSchema = z.object({
652
+ const masterImageObjectSchema = z.object({
659
653
  type: z.literal("image"),
660
654
  src: z.string(),
661
655
  x: z.number(),
@@ -663,7 +657,7 @@ export const masterImageObjectSchema = z.object({
663
657
  w: z.number(),
664
658
  h: z.number(),
665
659
  });
666
- export const masterRectObjectSchema = z.object({
660
+ const masterRectObjectSchema = z.object({
667
661
  type: z.literal("rect"),
668
662
  x: z.number(),
669
663
  y: z.number(),
@@ -672,7 +666,7 @@ export const masterRectObjectSchema = z.object({
672
666
  fill: fillStyleSchema.optional(),
673
667
  border: borderStyleSchema.optional(),
674
668
  });
675
- export const masterLineObjectSchema = z.object({
669
+ const masterLineObjectSchema = z.object({
676
670
  type: z.literal("line"),
677
671
  x: z.number(),
678
672
  y: z.number(),
@@ -686,7 +680,7 @@ export const masterObjectSchema = z.discriminatedUnion("type", [
686
680
  masterRectObjectSchema,
687
681
  masterLineObjectSchema,
688
682
  ]);
689
- export const slideNumberOptionsSchema = z.object({
683
+ const slideNumberOptionsSchema = z.object({
690
684
  x: z.number(),
691
685
  y: z.number(),
692
686
  w: z.number().optional(),
@@ -695,13 +689,13 @@ export const slideNumberOptionsSchema = z.object({
695
689
  fontFamily: z.string().optional(),
696
690
  color: z.string().optional(),
697
691
  });
698
- export const slideMasterBackgroundSchema = z.union([
692
+ const slideMasterBackgroundSchema = z.union([
699
693
  z.object({ color: z.string() }),
700
694
  z.object({ path: z.string() }),
701
695
  z.object({ data: z.string() }),
702
696
  z.object({ image: z.string() }),
703
697
  ]);
704
- export const slideMasterMarginSchema = z.union([
698
+ const slideMasterMarginSchema = z.union([
705
699
  z.number(),
706
700
  z.object({
707
701
  top: z.number().optional(),