@json-to-office/shared-pptx 0.8.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-O5OKKOVY.js → chunk-OGEYYLA3.js} +2 -2
- package/dist/{chunk-XVUV6GJL.js → chunk-QGJWZIH4.js} +2 -2
- package/dist/{chunk-TOK2Q3ET.js → chunk-QSFWNIU4.js} +2 -2
- package/dist/{chunk-OJMLZFHW.js → chunk-SN34KUZS.js} +30 -5
- package/dist/chunk-SN34KUZS.js.map +1 -0
- package/dist/{chunk-MSUK73NL.js → chunk-WPYC73KC.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/schemas/component-defaults.d.ts +8 -0
- package/dist/schemas/component-defaults.js +1 -1
- package/dist/schemas/component-registry.js +2 -2
- package/dist/schemas/component-union.js +3 -3
- package/dist/schemas/components.d.ts +9 -0
- package/dist/schemas/components.js +3 -3
- package/dist/schemas/document.js +4 -4
- package/dist/schemas/generator.js +3 -3
- package/dist/schemas/theme.d.ts +6 -0
- package/dist/schemas/theme.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-OJMLZFHW.js.map +0 -1
- /package/dist/{chunk-O5OKKOVY.js.map → chunk-OGEYYLA3.js.map} +0 -0
- /package/dist/{chunk-XVUV6GJL.js.map → chunk-QGJWZIH4.js.map} +0 -0
- /package/dist/{chunk-TOK2Q3ET.js.map → chunk-QSFWNIU4.js.map} +0 -0
- /package/dist/{chunk-MSUK73NL.js.map → chunk-WPYC73KC.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAllPptxComponentSchemasNarrowed,
|
|
3
3
|
createPptxComponentSchemaObject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WPYC73KC.js";
|
|
5
5
|
|
|
6
6
|
// src/schemas/generator.ts
|
|
7
7
|
import { Type } from "@sinclair/typebox";
|
|
@@ -39,4 +39,4 @@ function generateUnifiedDocumentSchema(options = {}) {
|
|
|
39
39
|
export {
|
|
40
40
|
generateUnifiedDocumentSchema
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-OGEYYLA3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PptxComponentDefinitionSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSFWNIU4.js";
|
|
4
4
|
|
|
5
5
|
// src/schemas/document.ts
|
|
6
6
|
var PptxJsonComponentDefinitionSchema = PptxComponentDefinitionSchema;
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
PptxJsonComponentDefinitionSchema,
|
|
19
19
|
PPTX_JSON_SCHEMA_URLS
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-QGJWZIH4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAllPptxComponentSchemas,
|
|
3
3
|
createAllPptxComponentSchemasNarrowed
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WPYC73KC.js";
|
|
5
5
|
|
|
6
6
|
// src/schemas/component-union.ts
|
|
7
7
|
import { Type } from "@sinclair/typebox";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
PptxStandardComponentDefinitionSchema,
|
|
24
24
|
PptxComponentDefinitionSchema
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-QSFWNIU4.js.map
|
|
@@ -3,12 +3,14 @@ import { Type as Type9 } from "@sinclair/typebox";
|
|
|
3
3
|
|
|
4
4
|
// src/schemas/components/text.ts
|
|
5
5
|
import { Type as Type3 } from "@sinclair/typebox";
|
|
6
|
+
import { FontFamilyNameSchema as FontFamilyNameSchema2 } from "@json-to-office/shared";
|
|
6
7
|
|
|
7
8
|
// src/schemas/components/common.ts
|
|
8
9
|
import { Type as Type2 } from "@sinclair/typebox";
|
|
9
10
|
|
|
10
11
|
// src/schemas/theme.ts
|
|
11
12
|
import { Type } from "@sinclair/typebox";
|
|
13
|
+
import { FontFamilyNameSchema } from "@json-to-office/shared";
|
|
12
14
|
var GridMarginSchema = Type.Union(
|
|
13
15
|
[
|
|
14
16
|
Type.Number({ description: "Margin in inches (all sides)" }),
|
|
@@ -88,9 +90,10 @@ var StyleNameSchema = Type.Union(
|
|
|
88
90
|
);
|
|
89
91
|
var TextStyleSchema = Type.Object({
|
|
90
92
|
fontSize: Type.Optional(Type.Number()),
|
|
91
|
-
fontFace: Type.Optional(
|
|
93
|
+
fontFace: Type.Optional(FontFamilyNameSchema),
|
|
92
94
|
fontColor: Type.Optional(ColorValueSchema),
|
|
93
95
|
bold: Type.Optional(Type.Boolean()),
|
|
96
|
+
fontWeight: Type.Optional(Type.Integer({ minimum: 100, maximum: 900 })),
|
|
94
97
|
italic: Type.Optional(Type.Boolean()),
|
|
95
98
|
align: Type.Optional(Type.Union([
|
|
96
99
|
Type.Literal("left"),
|
|
@@ -122,8 +125,8 @@ var ThemeConfigSchema = Type.Object(
|
|
|
122
125
|
),
|
|
123
126
|
fonts: Type.Object(
|
|
124
127
|
{
|
|
125
|
-
heading:
|
|
126
|
-
body:
|
|
128
|
+
heading: FontFamilyNameSchema,
|
|
129
|
+
body: FontFamilyNameSchema
|
|
127
130
|
},
|
|
128
131
|
{ additionalProperties: false, description: "Font families" }
|
|
129
132
|
),
|
|
@@ -312,11 +315,18 @@ var TextPropsSchema = Type3.Object(
|
|
|
312
315
|
fontSize: Type3.Optional(
|
|
313
316
|
Type3.Number({ minimum: 1, description: "Font size in points" })
|
|
314
317
|
),
|
|
315
|
-
fontFace: Type3.Optional(
|
|
318
|
+
fontFace: Type3.Optional(FontFamilyNameSchema2),
|
|
316
319
|
color: Type3.Optional(
|
|
317
320
|
Type3.String({ description: 'Text color (hex without #, e.g., "FF0000")' })
|
|
318
321
|
),
|
|
319
322
|
bold: Type3.Optional(Type3.Boolean({ description: "Bold text" })),
|
|
323
|
+
fontWeight: Type3.Optional(
|
|
324
|
+
Type3.Integer({
|
|
325
|
+
minimum: 100,
|
|
326
|
+
maximum: 900,
|
|
327
|
+
description: "Per-run weight (100\u2013900). Renderer picks the closest embedded variant via CSS font-matching and references it through a synthetic family alias. Overrides `bold` when set."
|
|
328
|
+
})
|
|
329
|
+
),
|
|
320
330
|
italic: Type3.Optional(Type3.Boolean({ description: "Italic text" })),
|
|
321
331
|
underline: Type3.Optional(
|
|
322
332
|
Type3.Union([
|
|
@@ -516,6 +526,7 @@ var TextSegmentSchema = Type5.Object(
|
|
|
516
526
|
fontFace: Type5.Optional(Type5.String()),
|
|
517
527
|
color: Type5.Optional(Type5.String({ description: "Segment color (hex without # or semantic name)" })),
|
|
518
528
|
bold: Type5.Optional(Type5.Boolean()),
|
|
529
|
+
fontWeight: Type5.Optional(Type5.Integer({ minimum: 100, maximum: 900 })),
|
|
519
530
|
italic: Type5.Optional(Type5.Boolean()),
|
|
520
531
|
breakLine: Type5.Optional(Type5.Boolean({ description: "Insert line break after this segment" })),
|
|
521
532
|
spaceBefore: Type5.Optional(Type5.Number({ minimum: 0, description: "Space before paragraph in points" })),
|
|
@@ -588,6 +599,13 @@ var ShapePropsSchema = Type5.Object(
|
|
|
588
599
|
fontColor: Type5.Optional(Type5.String({ description: "Font color for shape text (hex without #)" })),
|
|
589
600
|
charSpacing: Type5.Optional(Type5.Number({ description: "Character spacing in points for shape text" })),
|
|
590
601
|
bold: Type5.Optional(Type5.Boolean({ description: "Bold shape text" })),
|
|
602
|
+
fontWeight: Type5.Optional(
|
|
603
|
+
Type5.Integer({
|
|
604
|
+
minimum: 100,
|
|
605
|
+
maximum: 900,
|
|
606
|
+
description: "Per-shape weight (100\u2013900). Overrides `bold` when set."
|
|
607
|
+
})
|
|
608
|
+
),
|
|
591
609
|
italic: Type5.Optional(Type5.Boolean({ description: "Italic shape text" })),
|
|
592
610
|
align: Type5.Optional(PptxAlignmentSchema),
|
|
593
611
|
valign: Type5.Optional(VerticalAlignmentSchema),
|
|
@@ -620,6 +638,13 @@ var PptxTableCellSchema = Type6.Union([
|
|
|
620
638
|
fontSize: Type6.Optional(Type6.Number({ description: "Font size in points" })),
|
|
621
639
|
fontFace: Type6.Optional(Type6.String({ description: "Font family" })),
|
|
622
640
|
bold: Type6.Optional(Type6.Boolean({ description: "Bold text" })),
|
|
641
|
+
fontWeight: Type6.Optional(
|
|
642
|
+
Type6.Integer({
|
|
643
|
+
minimum: 100,
|
|
644
|
+
maximum: 900,
|
|
645
|
+
description: "Per-cell weight (100\u2013900). Overrides `bold` when set."
|
|
646
|
+
})
|
|
647
|
+
),
|
|
623
648
|
italic: Type6.Optional(Type6.Boolean({ description: "Italic text" })),
|
|
624
649
|
align: Type6.Optional(PptxAlignmentSchema),
|
|
625
650
|
valign: Type6.Optional(VerticalAlignmentSchema),
|
|
@@ -979,4 +1004,4 @@ export {
|
|
|
979
1004
|
ShadowSchema,
|
|
980
1005
|
GridPositionSchema
|
|
981
1006
|
};
|
|
982
|
-
//# sourceMappingURL=chunk-
|
|
1007
|
+
//# sourceMappingURL=chunk-SN34KUZS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/schemas/component-defaults.ts","../src/schemas/components/text.ts","../src/schemas/components/common.ts","../src/schemas/theme.ts","../src/schemas/components/image.ts","../src/schemas/components/shape.ts","../src/schemas/components/table.ts","../src/schemas/components/highcharts.ts","../src/schemas/components/chart.ts"],"sourcesContent":["/**\n * PPTX Component Defaults Schemas\n *\n * Imports directly from individual component files to avoid circular deps.\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { TextPropsSchema } from './components/text';\nimport { PptxImagePropsSchema } from './components/image';\nimport { ShapePropsSchema } from './components/shape';\nimport { PptxTablePropsSchema } from './components/table';\nimport { PptxHighchartsPropsSchema } from './components/highcharts';\nimport { PptxChartPropsSchema } from './components/chart';\n\n// Create component defaults by making all fields optional (Type.Partial)\nexport const TextComponentDefaultsSchema = Type.Partial(TextPropsSchema);\nexport const ImageComponentDefaultsSchema = Type.Partial(PptxImagePropsSchema);\nexport const ShapeComponentDefaultsSchema = Type.Partial(ShapePropsSchema);\nexport const TableComponentDefaultsSchema = Type.Partial(PptxTablePropsSchema);\nexport const HighchartsComponentDefaultsSchema = Type.Partial(\n PptxHighchartsPropsSchema\n);\nexport const ChartComponentDefaultsSchema = Type.Partial(PptxChartPropsSchema);\n\nexport const PptxComponentDefaultsSchema = Type.Object(\n {\n text: Type.Optional(TextComponentDefaultsSchema),\n image: Type.Optional(ImageComponentDefaultsSchema),\n shape: Type.Optional(ShapeComponentDefaultsSchema),\n table: Type.Optional(TableComponentDefaultsSchema),\n highcharts: Type.Optional(HighchartsComponentDefaultsSchema),\n chart: Type.Optional(ChartComponentDefaultsSchema),\n },\n { additionalProperties: true }\n);\n\n// TypeScript types\nexport type TextComponentDefaults = Static<typeof TextComponentDefaultsSchema>;\nexport type ImageComponentDefaults = Static<\n typeof ImageComponentDefaultsSchema\n>;\nexport type ShapeComponentDefaults = Static<\n typeof ShapeComponentDefaultsSchema\n>;\nexport type TableComponentDefaults = Static<\n typeof TableComponentDefaultsSchema\n>;\nexport type HighchartsComponentDefaults = Static<\n typeof HighchartsComponentDefaultsSchema\n>;\nexport type ChartComponentDefaults = Static<\n typeof ChartComponentDefaultsSchema\n>;\nexport type PptxComponentDefaults = Static<\n typeof PptxComponentDefaultsSchema\n>;\n","/**\n * Text Component Schema\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { FontFamilyNameSchema } from '@json-to-office/shared';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, ShadowSchema, GridPositionSchema } from './common';\nimport { StyleNameSchema } from '../theme';\n\nexport const TextPropsSchema = Type.Object(\n {\n text: Type.String({ description: 'Text content to display' }),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n fontSize: Type.Optional(\n Type.Number({ minimum: 1, description: 'Font size in points' })\n ),\n fontFace: Type.Optional(FontFamilyNameSchema),\n color: Type.Optional(\n Type.String({ description: 'Text color (hex without #, e.g., \"FF0000\")' })\n ),\n bold: Type.Optional(Type.Boolean({ description: 'Bold text' })),\n fontWeight: Type.Optional(\n Type.Integer({\n minimum: 100,\n maximum: 900,\n description:\n 'Per-run weight (100–900). Renderer picks the closest embedded variant via CSS font-matching and references it through a synthetic family alias. Overrides `bold` when set.',\n })\n ),\n italic: Type.Optional(Type.Boolean({ description: 'Italic text' })),\n underline: Type.Optional(\n Type.Union([\n Type.Boolean({ description: 'Simple underline toggle' }),\n Type.Object(\n {\n style: Type.Optional(\n Type.Union([\n Type.Literal('sng'),\n Type.Literal('dbl'),\n Type.Literal('dash'),\n Type.Literal('dotted'),\n ])\n ),\n color: Type.Optional(Type.String({ description: 'Underline color (hex)' })),\n },\n { additionalProperties: false }\n ),\n ])\n ),\n strike: Type.Optional(Type.Boolean({ description: 'Strikethrough text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n breakLine: Type.Optional(\n Type.Boolean({ description: 'Add line break after text' })\n ),\n bullet: Type.Optional(\n Type.Union([\n Type.Boolean({ description: 'Enable default bullet' }),\n Type.Object(\n {\n type: Type.Optional(\n Type.Union([Type.Literal('bullet'), Type.Literal('number')])\n ),\n style: Type.Optional(Type.String({ description: 'Bullet character or style' })),\n startAt: Type.Optional(Type.Number({ description: 'Starting number for numbered lists' })),\n },\n { additionalProperties: false }\n ),\n ])\n ),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Margin in points (all sides)' }),\n Type.Array(Type.Number(), {\n description: 'Margins as [top, right, bottom, left] in points',\n minItems: 4,\n maxItems: 4,\n }),\n ])\n ),\n rotate: Type.Optional(Type.Number({ description: 'Rotation angle in degrees' })),\n shadow: Type.Optional(ShadowSchema),\n fill: Type.Optional(\n Type.Object(\n {\n color: Type.String({ description: 'Fill color (hex without #)' }),\n transparency: Type.Optional(\n Type.Number({ minimum: 0, maximum: 100, description: 'Fill transparency (0-100)' })\n ),\n },\n { additionalProperties: false }\n )\n ),\n hyperlink: Type.Optional(\n Type.Object(\n {\n url: Type.Optional(Type.String({ description: 'Hyperlink URL' })),\n slide: Type.Optional(Type.Number({ description: 'Slide number to link to' })),\n tooltip: Type.Optional(Type.String({ description: 'Hyperlink tooltip' })),\n },\n { additionalProperties: false }\n )\n ),\n lineSpacing: Type.Optional(Type.Number({ description: 'Line spacing in points' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points (positive = wider, negative = tighter)' })),\n paraSpaceBefore: Type.Optional(Type.Number({ description: 'Space before paragraph in points' })),\n paraSpaceAfter: Type.Optional(Type.Number({ description: 'Space after paragraph in points' })),\n grid: Type.Optional(GridPositionSchema),\n style: Type.Optional(StyleNameSchema),\n },\n {\n description: 'Text component props',\n additionalProperties: false,\n }\n);\n\nexport type TextProps = Static<typeof TextPropsSchema>;\n","/**\n * Common Types and Schemas for PPTX Components\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { ColorValueSchema } from '../theme';\n\n// ============================================================================\n// PPTX-Specific Common Types\n// ============================================================================\n\nexport const PositionSchema = Type.Object(\n {\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'X position as percentage (e.g., \"10%\")',\n }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Y position as percentage (e.g., \"10%\")',\n }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Width as percentage (e.g., \"80%\")',\n }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Height as percentage (e.g., \"20%\")',\n }),\n ])\n ),\n },\n {\n description: 'Position and size in inches or percentages',\n additionalProperties: false,\n }\n);\n\nexport const SlideBackgroundSchema = Type.Object(\n {\n color: Type.Optional(ColorValueSchema),\n image: Type.Optional(\n Type.Object(\n {\n path: Type.Optional(Type.String({ description: 'Image file path or URL' })),\n base64: Type.Optional(\n Type.String({ description: 'Base64-encoded image data' })\n ),\n },\n { description: 'Background image', additionalProperties: false }\n )\n ),\n },\n {\n description: 'Slide background configuration',\n additionalProperties: false,\n }\n);\n\nexport const TransitionSchema = Type.Object(\n {\n type: Type.Optional(\n Type.Union(\n [\n Type.Literal('fade'),\n Type.Literal('push'),\n Type.Literal('wipe'),\n Type.Literal('zoom'),\n Type.Literal('none'),\n ],\n { description: 'Transition effect type' }\n )\n ),\n speed: Type.Optional(\n Type.Union(\n [Type.Literal('slow'), Type.Literal('medium'), Type.Literal('fast')],\n { description: 'Transition speed' }\n )\n ),\n },\n {\n description: 'Slide transition configuration',\n additionalProperties: false,\n }\n);\n\nexport const PptxAlignmentSchema = Type.Union(\n [Type.Literal('left'), Type.Literal('center'), Type.Literal('right')],\n { description: 'Horizontal alignment options' }\n);\n\nexport const VerticalAlignmentSchema = Type.Union(\n [Type.Literal('top'), Type.Literal('middle'), Type.Literal('bottom')],\n { description: 'Vertical alignment options' }\n);\n\nexport const ShadowSchema = Type.Object(\n {\n type: Type.Optional(\n Type.Union([Type.Literal('outer'), Type.Literal('inner')], {\n description: 'Shadow type',\n })\n ),\n color: Type.Optional(ColorValueSchema),\n blur: Type.Optional(Type.Number({ description: 'Shadow blur radius in points' })),\n offset: Type.Optional(Type.Number({ description: 'Shadow offset in points' })),\n angle: Type.Optional(Type.Number({ description: 'Shadow angle in degrees' })),\n opacity: Type.Optional(\n Type.Number({\n minimum: 0,\n maximum: 1,\n description: 'Shadow opacity (0-1)',\n })\n ),\n },\n {\n description: 'Shadow configuration',\n additionalProperties: false,\n }\n);\n\nexport const GridPositionSchema = Type.Object(\n {\n column: Type.Number({ minimum: 0, description: 'Starting column (0-indexed)' }),\n row: Type.Number({ minimum: 0, description: 'Starting row (0-indexed)' }),\n columnSpan: Type.Optional(Type.Number({ minimum: 1, description: 'Number of columns to span (default: 1)' })),\n rowSpan: Type.Optional(Type.Number({ minimum: 1, description: 'Number of rows to span (default: 1)' })),\n },\n { additionalProperties: false, description: 'Grid-based positioning' }\n);\n\nexport type GridPosition = Static<typeof GridPositionSchema>;\n\n// ============================================================================\n// TypeScript Types\n// ============================================================================\n\nexport type Position = Static<typeof PositionSchema>;\nexport type SlideBackground = Static<typeof SlideBackgroundSchema>;\nexport type Transition = Static<typeof TransitionSchema>;\nexport type PptxAlignment = Static<typeof PptxAlignmentSchema>;\nexport type VerticalAlignment = Static<typeof VerticalAlignmentSchema>;\nexport type Shadow = Static<typeof ShadowSchema>;\n","/**\n * PPTX Theme Schema\n * Simplified theme configuration for presentations\n */\nimport { Type, Static } from '@sinclair/typebox';\nimport { FontFamilyNameSchema } from '@json-to-office/shared';\nimport { PptxComponentDefaultsSchema } from './component-defaults';\n\nexport const GridMarginSchema = Type.Union(\n [\n Type.Number({ description: 'Margin in inches (all sides)' }),\n Type.Object(\n {\n top: Type.Number({ description: 'Top margin in inches' }),\n right: Type.Number({ description: 'Right margin in inches' }),\n bottom: Type.Number({ description: 'Bottom margin in inches' }),\n left: Type.Number({ description: 'Left margin in inches' }),\n },\n { additionalProperties: false }\n ),\n ],\n { description: 'Slide margins in inches' }\n);\n\nexport const GridGutterSchema = Type.Union(\n [\n Type.Number({ description: 'Gutter in inches (both axes)' }),\n Type.Object(\n {\n column: Type.Number({ description: 'Column gutter in inches' }),\n row: Type.Number({ description: 'Row gutter in inches' }),\n },\n { additionalProperties: false }\n ),\n ],\n { description: 'Gaps between grid tracks in inches' }\n);\n\nexport const GridConfigSchema = Type.Object(\n {\n columns: Type.Optional(Type.Number({ minimum: 1, description: 'Number of columns (default: 12)' })),\n rows: Type.Optional(Type.Number({ minimum: 1, description: 'Number of rows (default: 6)' })),\n margin: Type.Optional(GridMarginSchema),\n gutter: Type.Optional(GridGutterSchema),\n },\n { additionalProperties: false, description: 'Grid layout configuration' }\n);\n\nexport type GridMargin = Static<typeof GridMarginSchema>;\nexport type GridGutter = Static<typeof GridGutterSchema>;\nexport type GridConfig = Static<typeof GridConfigSchema>;\n\nconst HexColorSchema = Type.String({ pattern: '^#?[0-9A-Fa-f]{6}$', description: 'Hex color (e.g. #FF0000)' });\n\nexport const SEMANTIC_COLOR_NAMES = [\n 'primary', 'secondary', 'accent', 'background', 'text',\n 'text2', 'background2', 'accent4', 'accent5', 'accent6',\n] as const;\n\n/** PowerPoint XML aliases that resolve to canonical semantic names at runtime */\nexport const SEMANTIC_COLOR_ALIASES = [\n 'accent1', 'accent2', 'accent3', 'tx1', 'tx2', 'bg1', 'bg2',\n] as const;\n\nexport const ColorValueSchema = Type.Union([\n HexColorSchema,\n ...SEMANTIC_COLOR_NAMES.map(n => Type.Literal(n)),\n ...SEMANTIC_COLOR_ALIASES.map(n => Type.Literal(n)),\n], { description: 'Hex color or semantic theme color name' });\n\n// ── Named text styles ──────────────────────────────────────────────\n\nexport const STYLE_NAMES = [\n 'title', 'subtitle',\n 'heading1', 'heading2', 'heading3',\n 'body', 'caption',\n] as const;\n\nexport const StyleNameSchema = Type.Union(\n STYLE_NAMES.map(n => Type.Literal(n)),\n { description: 'Predefined style name' }\n);\n\nexport const TextStyleSchema = Type.Object({\n fontSize: Type.Optional(Type.Number()),\n fontFace: Type.Optional(FontFamilyNameSchema),\n fontColor: Type.Optional(ColorValueSchema),\n bold: Type.Optional(Type.Boolean()),\n fontWeight: Type.Optional(Type.Integer({ minimum: 100, maximum: 900 })),\n italic: Type.Optional(Type.Boolean()),\n align: Type.Optional(Type.Union([\n Type.Literal('left'), Type.Literal('center'), Type.Literal('right'), Type.Literal('justify'),\n ])),\n lineSpacing: Type.Optional(Type.Number()),\n charSpacing: Type.Optional(Type.Number()),\n paraSpaceAfter: Type.Optional(Type.Number()),\n}, { additionalProperties: false, description: 'Text style preset' });\n\nexport type StyleName = (typeof STYLE_NAMES)[number];\nexport type TextStyle = Static<typeof TextStyleSchema>;\n\n// ── Theme config ───────────────────────────────────────────────────\n\nexport const ThemeConfigSchema = Type.Object(\n {\n name: Type.String({ description: 'Theme name' }),\n colors: Type.Object(\n {\n primary: HexColorSchema,\n secondary: HexColorSchema,\n accent: HexColorSchema,\n background: HexColorSchema,\n text: HexColorSchema,\n text2: Type.Optional(HexColorSchema),\n background2: Type.Optional(HexColorSchema),\n accent4: Type.Optional(HexColorSchema),\n accent5: Type.Optional(HexColorSchema),\n accent6: Type.Optional(HexColorSchema),\n },\n { additionalProperties: false, description: 'Theme color palette (10-slot scheme)' }\n ),\n fonts: Type.Object(\n {\n heading: FontFamilyNameSchema,\n body: FontFamilyNameSchema,\n },\n { additionalProperties: false, description: 'Font families' }\n ),\n defaults: Type.Object(\n {\n fontSize: Type.Number({ description: 'Default font size in points' }),\n fontColor: HexColorSchema,\n },\n { additionalProperties: false, description: 'Default text styling' }\n ),\n styles: Type.Optional(Type.Partial(\n Type.Object(Object.fromEntries(\n STYLE_NAMES.map(n => [n, TextStyleSchema])\n ) as Record<string, typeof TextStyleSchema>),\n { additionalProperties: false, description: 'Named text style presets' }\n )),\n componentDefaults: Type.Optional(PptxComponentDefaultsSchema),\n },\n { additionalProperties: false, description: 'Presentation theme configuration' }\n);\n\nexport type ThemeConfigJson = Static<typeof ThemeConfigSchema>;\n\nexport function isValidThemeConfig(data: unknown): data is ThemeConfigJson {\n return typeof data === 'object' && data !== null;\n}\n","/**\n * Image Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { ShadowSchema, GridPositionSchema } from './common';\n\nexport const PptxImagePropsSchema = Type.Object(\n {\n path: Type.Optional(\n Type.String({\n description: 'Image file path or URL (mutually exclusive with base64)',\n })\n ),\n base64: Type.Optional(\n Type.String({\n description:\n 'Base64-encoded image data in data URI format (mutually exclusive with path)',\n })\n ),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n sizing: Type.Optional(\n Type.Object(\n {\n type: Type.Union(\n [\n Type.Literal('contain'),\n Type.Literal('cover'),\n Type.Literal('crop'),\n ],\n { description: 'Image sizing strategy' }\n ),\n w: Type.Optional(Type.Number({ description: 'Target width in inches' })),\n h: Type.Optional(Type.Number({ description: 'Target height in inches' })),\n },\n { description: 'Image sizing options', additionalProperties: false }\n )\n ),\n rotate: Type.Optional(\n Type.Number({ description: 'Rotation angle in degrees' })\n ),\n rounding: Type.Optional(\n Type.Boolean({ description: 'Apply rounded corners to image' })\n ),\n shadow: Type.Optional(ShadowSchema),\n hyperlink: Type.Optional(\n Type.Object(\n {\n url: Type.Optional(Type.String({ description: 'Hyperlink URL' })),\n slide: Type.Optional(Type.Number({ description: 'Slide number to link to' })),\n tooltip: Type.Optional(Type.String({ description: 'Hyperlink tooltip' })),\n },\n { additionalProperties: false }\n )\n ),\n alt: Type.Optional(\n Type.String({ description: 'Alternative text for accessibility' })\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX image component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxImageProps = Static<typeof PptxImagePropsSchema>;\n","/**\n * Shape Component Schema\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, ShadowSchema, GridPositionSchema } from './common';\nimport { StyleNameSchema } from '../theme';\n\nexport const ShapeTypeSchema = Type.Union(\n [\n Type.Literal('rect'),\n Type.Literal('roundRect'),\n Type.Literal('ellipse'),\n Type.Literal('triangle'),\n Type.Literal('diamond'),\n Type.Literal('pentagon'),\n Type.Literal('hexagon'),\n Type.Literal('star5'),\n Type.Literal('star6'),\n Type.Literal('line'),\n Type.Literal('arrow'),\n Type.Literal('chevron'),\n Type.Literal('cloud'),\n Type.Literal('heart'),\n Type.Literal('lightning'),\n ],\n { description: 'Shape type' }\n);\n\nexport const TextSegmentSchema = Type.Object(\n {\n text: Type.String(),\n fontSize: Type.Optional(Type.Number({ minimum: 1 })),\n fontFace: Type.Optional(Type.String()),\n color: Type.Optional(Type.String({ description: 'Segment color (hex without # or semantic name)' })),\n bold: Type.Optional(Type.Boolean()),\n fontWeight: Type.Optional(Type.Integer({ minimum: 100, maximum: 900 })),\n italic: Type.Optional(Type.Boolean()),\n breakLine: Type.Optional(Type.Boolean({ description: 'Insert line break after this segment' })),\n spaceBefore: Type.Optional(Type.Number({ minimum: 0, description: 'Space before paragraph in points' })),\n spaceAfter: Type.Optional(Type.Number({ minimum: 0, description: 'Space after paragraph in points' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points' })),\n },\n { additionalProperties: false }\n);\n\nexport type TextSegment = Static<typeof TextSegmentSchema>;\n\nexport const ShapePropsSchema = Type.Object(\n {\n type: ShapeTypeSchema,\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n fill: Type.Optional(\n Type.Object(\n {\n color: Type.String({ description: 'Fill color (hex without #)' }),\n transparency: Type.Optional(\n Type.Number({ minimum: 0, maximum: 100, description: 'Fill transparency (0-100)' })\n ),\n },\n { additionalProperties: false }\n )\n ),\n line: Type.Optional(\n Type.Object(\n {\n color: Type.Optional(Type.String({ description: 'Line color (hex without #)' })),\n width: Type.Optional(Type.Number({ minimum: 0, description: 'Line width in points' })),\n dashType: Type.Optional(\n Type.Union([\n Type.Literal('solid'),\n Type.Literal('dash'),\n Type.Literal('dot'),\n Type.Literal('dashDot'),\n ])\n ),\n },\n { additionalProperties: false }\n )\n ),\n text: Type.Optional(Type.Union([\n Type.String({ description: 'Plain text' }),\n Type.Array(TextSegmentSchema, { description: 'Rich text segments with per-segment formatting' }),\n ], { description: 'Text content inside the shape' })),\n fontSize: Type.Optional(Type.Number({ minimum: 1, description: 'Font size for shape text' })),\n fontFace: Type.Optional(Type.String({ description: 'Font family for shape text' })),\n fontColor: Type.Optional(Type.String({ description: 'Font color for shape text (hex without #)' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points for shape text' })),\n bold: Type.Optional(Type.Boolean({ description: 'Bold shape text' })),\n fontWeight: Type.Optional(\n Type.Integer({\n minimum: 100,\n maximum: 900,\n description:\n 'Per-shape weight (100–900). Overrides `bold` when set.',\n })\n ),\n italic: Type.Optional(Type.Boolean({ description: 'Italic shape text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n rotate: Type.Optional(Type.Number({ description: 'Rotation angle in degrees' })),\n shadow: Type.Optional(ShadowSchema),\n rectRadius: Type.Optional(\n Type.Number({\n minimum: 0,\n description: 'Corner radius for roundRect shape in inches',\n })\n ),\n grid: Type.Optional(GridPositionSchema),\n style: Type.Optional(StyleNameSchema),\n },\n {\n description: 'Shape component props',\n additionalProperties: false,\n }\n);\n\nexport type ShapeType = Static<typeof ShapeTypeSchema>;\nexport type ShapeProps = Static<typeof ShapePropsSchema>;\n","/**\n * Table Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, GridPositionSchema } from './common';\n\nconst PptxTableCellSchema = Type.Union([\n Type.String({ description: 'Simple text cell' }),\n Type.Object(\n {\n text: Type.String({ description: 'Cell text content' }),\n color: Type.Optional(Type.String({ description: 'Text color (hex without #)' })),\n fill: Type.Optional(Type.String({ description: 'Cell background color (hex without #)' })),\n fontSize: Type.Optional(Type.Number({ description: 'Font size in points' })),\n fontFace: Type.Optional(Type.String({ description: 'Font family' })),\n bold: Type.Optional(Type.Boolean({ description: 'Bold text' })),\n fontWeight: Type.Optional(\n Type.Integer({\n minimum: 100,\n maximum: 900,\n description: 'Per-cell weight (100–900). Overrides `bold` when set.',\n })\n ),\n italic: Type.Optional(Type.Boolean({ description: 'Italic text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n colspan: Type.Optional(Type.Number({ minimum: 1, description: 'Column span' })),\n rowspan: Type.Optional(Type.Number({ minimum: 1, description: 'Row span' })),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Margin in points (all sides)' }),\n Type.Array(Type.Number(), { minItems: 4, maxItems: 4 }),\n ])\n ),\n },\n { additionalProperties: false }\n ),\n]);\n\nexport const PptxTablePropsSchema = Type.Object(\n {\n rows: Type.Array(\n Type.Array(PptxTableCellSchema, { description: 'Row of cells' }),\n { description: 'Table rows (array of arrays)', minItems: 1 }\n ),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n colW: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Uniform column width in inches' }),\n Type.Array(Type.Number(), { description: 'Individual column widths in inches' }),\n ])\n ),\n rowH: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Uniform row height in inches' }),\n Type.Array(Type.Number(), { description: 'Individual row heights in inches' }),\n ])\n ),\n border: Type.Optional(\n Type.Object(\n {\n type: Type.Optional(\n Type.Union([\n Type.Literal('solid'),\n Type.Literal('dash'),\n Type.Literal('dot'),\n Type.Literal('none'),\n ])\n ),\n pt: Type.Optional(Type.Number({ minimum: 0, description: 'Border width in points' })),\n color: Type.Optional(Type.String({ description: 'Border color (hex without #)' })),\n },\n { additionalProperties: false }\n )\n ),\n fill: Type.Optional(Type.String({ description: 'Table background color (hex without #)' })),\n fontSize: Type.Optional(Type.Number({ minimum: 1, description: 'Default font size for all cells' })),\n fontFace: Type.Optional(Type.String({ description: 'Default font family for all cells' })),\n color: Type.Optional(Type.String({ description: 'Default text color for all cells (hex without #)' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n autoPage: Type.Optional(\n Type.Boolean({ description: 'Auto-paginate table across multiple slides when content overflows' })\n ),\n autoPageRepeatHeader: Type.Optional(\n Type.Boolean({ description: 'Repeat first row as header on each auto-paged slide' })\n ),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Cell margin in points (all sides)' }),\n Type.Array(Type.Number(), { minItems: 4, maxItems: 4 }),\n ])\n ),\n borderRadius: Type.Optional(\n Type.Number({ minimum: 0, description: 'Rounded corner radius in inches. Renders a roundRect shape behind the table.' })\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX table component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxTableProps = Static<typeof PptxTablePropsSchema>;\n","/**\n * Highcharts Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { GridPositionSchema } from './common';\n\nexport const PptxHighchartsPropsSchema = Type.Object(\n {\n options: Type.Intersect([\n Type.Record(Type.String(), Type.Unknown()),\n Type.Object({\n chart: Type.Object({\n width: Type.Number(),\n height: Type.Number(),\n }),\n }),\n ]),\n scale: Type.Optional(Type.Number()),\n serverUrl: Type.Optional(Type.String({ description: 'Highcharts Export Server URL (default: http://localhost:7801)' })),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX Highcharts component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxHighchartsProps = Static<typeof PptxHighchartsPropsSchema>;\n","/**\n * Chart Component Schema (PPTX) — native PowerPoint charts via pptxgenjs\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { GridPositionSchema } from './common';\n\nconst PositionValue = Type.Union([\n Type.Number(),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$' }),\n]);\n\nconst ChartTypeSchema = Type.Union(\n [\n Type.Literal('area'),\n Type.Literal('bar'),\n Type.Literal('bar3D'),\n Type.Literal('bubble'),\n Type.Literal('doughnut'),\n Type.Literal('line'),\n Type.Literal('pie'),\n Type.Literal('radar'),\n Type.Literal('scatter'),\n ],\n { description: 'Chart type' }\n);\n\nconst ChartDataSeriesSchema = Type.Object(\n {\n name: Type.Optional(Type.String({ description: 'Series name' })),\n labels: Type.Optional(Type.Array(Type.String(), { description: 'Category labels' })),\n values: Type.Optional(Type.Array(Type.Number(), { description: 'Data values' })),\n sizes: Type.Optional(Type.Array(Type.Number(), { description: 'Bubble sizes (bubble charts only)' })),\n },\n { additionalProperties: false }\n);\n\nexport const PptxChartPropsSchema = Type.Object(\n {\n type: ChartTypeSchema,\n data: Type.Array(ChartDataSeriesSchema, {\n description: 'Chart data series',\n minItems: 1,\n }),\n\n // Display toggles\n showLegend: Type.Optional(Type.Boolean({ description: 'Show chart legend' })),\n showTitle: Type.Optional(Type.Boolean({ description: 'Show chart title' })),\n showValue: Type.Optional(Type.Boolean({ description: 'Show data values' })),\n showPercent: Type.Optional(Type.Boolean({ description: 'Show percentages (pie/doughnut)' })),\n showLabel: Type.Optional(Type.Boolean({ description: 'Show category labels on data points' })),\n showSerName: Type.Optional(Type.Boolean({ description: 'Show series name on data points' })),\n\n // Title\n title: Type.Optional(Type.String({ description: 'Chart title text' })),\n titleFontSize: Type.Optional(Type.Number({ description: 'Title font size (points)' })),\n titleColor: Type.Optional(Type.String({ description: 'Title color (hex or semantic)' })),\n titleFontFace: Type.Optional(Type.String({ description: 'Title font face' })),\n\n // Chart colors\n chartColors: Type.Optional(\n Type.Array(Type.String(), {\n description: 'Series colors (hex or semantic theme names). Defaults to theme palette.',\n })\n ),\n\n // Legend\n legendPos: Type.Optional(\n Type.Union(\n [Type.Literal('b'), Type.Literal('l'), Type.Literal('r'), Type.Literal('t'), Type.Literal('tr')],\n { description: 'Legend position' }\n )\n ),\n legendFontSize: Type.Optional(Type.Number({ description: 'Legend font size' })),\n legendFontFace: Type.Optional(Type.String({ description: 'Legend font face' })),\n legendColor: Type.Optional(Type.String({ description: 'Legend text color' })),\n\n // Category axis\n catAxisTitle: Type.Optional(Type.String({ description: 'Category axis title' })),\n catAxisHidden: Type.Optional(Type.Boolean({ description: 'Hide category axis' })),\n catAxisLabelRotate: Type.Optional(Type.Number({ description: 'Category axis label rotation (degrees)' })),\n catAxisLabelFontSize: Type.Optional(Type.Number({ description: 'Category axis label font size' })),\n catAxisLabelColor: Type.Optional(Type.String({ description: 'Category axis label color (hex or semantic)' })),\n\n // Value axis\n valAxisTitle: Type.Optional(Type.String({ description: 'Value axis title' })),\n valAxisHidden: Type.Optional(Type.Boolean({ description: 'Hide value axis' })),\n valAxisMinVal: Type.Optional(Type.Number({ description: 'Value axis minimum' })),\n valAxisMaxVal: Type.Optional(Type.Number({ description: 'Value axis maximum' })),\n valAxisLabelFormatCode: Type.Optional(Type.String({ description: 'Value axis label format (e.g. \"$0.00\", \"#%\")' })),\n valAxisMajorUnit: Type.Optional(Type.Number({ description: 'Value axis major unit / tick interval' })),\n valAxisLabelColor: Type.Optional(Type.String({ description: 'Value axis label color (hex or semantic)' })),\n\n // Bar-specific\n barDir: Type.Optional(\n Type.Union([Type.Literal('bar'), Type.Literal('col')], {\n description: 'Bar direction: \"bar\" (horizontal) or \"col\" (vertical, default)',\n })\n ),\n barGrouping: Type.Optional(\n Type.Union(\n [Type.Literal('clustered'), Type.Literal('stacked'), Type.Literal('percentStacked')],\n { description: 'Bar grouping style' }\n )\n ),\n barGapWidthPct: Type.Optional(\n Type.Number({ minimum: 0, maximum: 500, description: 'Bar gap width (0-500%)' })\n ),\n\n // Line-specific\n lineSmooth: Type.Optional(Type.Boolean({ description: 'Smooth lines' })),\n lineDataSymbol: Type.Optional(\n Type.Union(\n [\n Type.Literal('circle'),\n Type.Literal('dash'),\n Type.Literal('diamond'),\n Type.Literal('dot'),\n Type.Literal('none'),\n Type.Literal('square'),\n Type.Literal('triangle'),\n ],\n { description: 'Line data point marker symbol' }\n )\n ),\n lineSize: Type.Optional(Type.Number({ description: 'Line width (points)' })),\n\n // Pie/doughnut-specific\n firstSliceAng: Type.Optional(Type.Number({ minimum: 0, maximum: 359, description: 'Angle of first slice (degrees)' })),\n holeSize: Type.Optional(Type.Number({ minimum: 10, maximum: 90, description: 'Doughnut hole size (%)' })),\n\n // Radar-specific\n radarStyle: Type.Optional(\n Type.Union(\n [Type.Literal('standard'), Type.Literal('marker'), Type.Literal('filled')],\n { description: 'Radar chart style' }\n )\n ),\n\n // Data labels\n dataLabelColor: Type.Optional(Type.String({ description: 'Data label text color' })),\n dataLabelFontSize: Type.Optional(Type.Number({ description: 'Data label font size' })),\n dataLabelFontFace: Type.Optional(Type.String({ description: 'Data label font face' })),\n dataLabelFontBold: Type.Optional(Type.Boolean({ description: 'Bold data labels' })),\n dataLabelPosition: Type.Optional(\n Type.Union(\n [\n Type.Literal('b'),\n Type.Literal('bestFit'),\n Type.Literal('ctr'),\n Type.Literal('l'),\n Type.Literal('r'),\n Type.Literal('t'),\n Type.Literal('inEnd'),\n Type.Literal('outEnd'),\n ],\n { description: 'Data label position' }\n )\n ),\n\n // Positioning\n x: Type.Optional(PositionValue),\n y: Type.Optional(PositionValue),\n w: Type.Optional(PositionValue),\n h: Type.Optional(PositionValue),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'Native PowerPoint chart component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxChartProps = Static<typeof PptxChartPropsSchema>;\n"],"mappings":";AAMA,SAAS,QAAAA,aAAoB;;;ACF7B,SAAS,QAAAC,aAAoB;AAC7B,SAAS,wBAAAC,6BAA4B;;;ACDrC,SAAS,QAAAC,aAAoB;;;ACA7B,SAAS,YAAoB;AAC7B,SAAS,4BAA4B;AAG9B,IAAM,mBAAmB,KAAK;AAAA,EACnC;AAAA,IACE,KAAK,OAAO,EAAE,aAAa,+BAA+B,CAAC;AAAA,IAC3D,KAAK;AAAA,MACH;AAAA,QACE,KAAK,KAAK,OAAO,EAAE,aAAa,uBAAuB,CAAC;AAAA,QACxD,OAAO,KAAK,OAAO,EAAE,aAAa,yBAAyB,CAAC;AAAA,QAC5D,QAAQ,KAAK,OAAO,EAAE,aAAa,0BAA0B,CAAC;AAAA,QAC9D,MAAM,KAAK,OAAO,EAAE,aAAa,wBAAwB,CAAC;AAAA,MAC5D;AAAA,MACA,EAAE,sBAAsB,MAAM;AAAA,IAChC;AAAA,EACF;AAAA,EACA,EAAE,aAAa,0BAA0B;AAC3C;AAEO,IAAM,mBAAmB,KAAK;AAAA,EACnC;AAAA,IACE,KAAK,OAAO,EAAE,aAAa,+BAA+B,CAAC;AAAA,IAC3D,KAAK;AAAA,MACH;AAAA,QACE,QAAQ,KAAK,OAAO,EAAE,aAAa,0BAA0B,CAAC;AAAA,QAC9D,KAAK,KAAK,OAAO,EAAE,aAAa,uBAAuB,CAAC;AAAA,MAC1D;AAAA,MACA,EAAE,sBAAsB,MAAM;AAAA,IAChC;AAAA,EACF;AAAA,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AAa;AAAA,IAC9B,MAAMA,MAAK,SAAS,kBAAkB;AAAA,EACxC;AAAA,EACA;AAAA,IACE,aAAa;AAAA,IACb,sBAAsB;AAAA,EACxB;AACF;;;AR5JO,IAAM,8BAA8BC,MAAK,QAAQ,eAAe;AAChE,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AACtE,IAAM,+BAA+BA,MAAK,QAAQ,gBAAgB;AAClE,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AACtE,IAAM,oCAAoCA,MAAK;AAAA,EACpD;AACF;AACO,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AAEtE,IAAM,8BAA8BA,MAAK;AAAA,EAC9C;AAAA,IACE,MAAMA,MAAK,SAAS,2BAA2B;AAAA,IAC/C,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,YAAYA,MAAK,SAAS,iCAAiC;AAAA,IAC3D,OAAOA,MAAK,SAAS,4BAA4B;AAAA,EACnD;AAAA,EACA,EAAE,sBAAsB,KAAK;AAC/B;","names":["Type","Type","FontFamilyNameSchema","Type","Type","Type","FontFamilyNameSchema","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type"]}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
SlideBackgroundSchema,
|
|
12
12
|
TextPropsSchema,
|
|
13
13
|
TransitionSchema
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SN34KUZS.js";
|
|
15
15
|
|
|
16
16
|
// src/schemas/component-registry.ts
|
|
17
17
|
import { Type as Type4 } from "@sinclair/typebox";
|
|
@@ -385,4 +385,4 @@ export {
|
|
|
385
385
|
createAllPptxComponentSchemas,
|
|
386
386
|
createAllPptxComponentSchemasNarrowed
|
|
387
387
|
};
|
|
388
|
-
//# sourceMappingURL=chunk-
|
|
388
|
+
//# sourceMappingURL=chunk-WPYC73KC.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PPTX_JSON_SCHEMA_URLS,
|
|
3
3
|
PptxJsonComponentDefinitionSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QGJWZIH4.js";
|
|
5
5
|
import "./chunk-J4OT5Y5B.js";
|
|
6
6
|
import {
|
|
7
7
|
PptxComponentDefinitionSchema,
|
|
8
8
|
PptxStandardComponentDefinitionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QSFWNIU4.js";
|
|
10
10
|
import {
|
|
11
11
|
PPTX_BASE_SCHEMA_METADATA,
|
|
12
12
|
PPTX_COMPONENT_METADATA
|
|
13
13
|
} from "./chunk-RV7W3UXU.js";
|
|
14
14
|
import {
|
|
15
15
|
generateUnifiedDocumentSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OGEYYLA3.js";
|
|
17
17
|
import {
|
|
18
18
|
PPTX_STANDARD_COMPONENTS_REGISTRY,
|
|
19
19
|
PresentationPropsSchema,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getPptxContentComponents,
|
|
27
27
|
getPptxStandardComponent,
|
|
28
28
|
isPptxStandardComponent
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WPYC73KC.js";
|
|
30
30
|
import {
|
|
31
31
|
ChartComponentDefaultsSchema,
|
|
32
32
|
ColorValueSchema,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
TransitionSchema,
|
|
56
56
|
VerticalAlignmentSchema,
|
|
57
57
|
isValidThemeConfig
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SN34KUZS.js";
|
|
59
59
|
|
|
60
60
|
// src/index.ts
|
|
61
61
|
import {
|
|
@@ -11,6 +11,7 @@ declare const TextComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
11
11
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
12
12
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
13
13
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
14
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
14
15
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
15
16
|
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
16
17
|
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
@@ -112,6 +113,7 @@ declare const ShapeComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
112
113
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
113
114
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
114
115
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
116
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
115
117
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
116
118
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
117
119
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -123,6 +125,7 @@ declare const ShapeComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
123
125
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
124
126
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
125
127
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
128
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
126
129
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
127
130
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
128
131
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -152,6 +155,7 @@ declare const TableComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
152
155
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
153
156
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
154
157
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
158
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
155
159
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
156
160
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
157
161
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -278,6 +282,7 @@ declare const PptxComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
278
282
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
279
283
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
280
284
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
285
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
281
286
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
282
287
|
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
283
288
|
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
@@ -379,6 +384,7 @@ declare const PptxComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
379
384
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
380
385
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
381
386
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
387
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
382
388
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
383
389
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
384
390
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -390,6 +396,7 @@ declare const PptxComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
390
396
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
391
397
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
392
398
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
399
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
393
400
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
394
401
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
395
402
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -419,6 +426,7 @@ declare const PptxComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
419
426
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
420
427
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
421
428
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
429
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
422
430
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
423
431
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
424
432
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getPptxContentComponents,
|
|
10
10
|
getPptxStandardComponent,
|
|
11
11
|
isPptxStandardComponent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-WPYC73KC.js";
|
|
13
|
+
import "../chunk-SN34KUZS.js";
|
|
14
14
|
export {
|
|
15
15
|
PPTX_STANDARD_COMPONENTS_REGISTRY,
|
|
16
16
|
createAllPptxComponentSchemas,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PptxComponentDefinitionSchema,
|
|
3
3
|
PptxStandardComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QSFWNIU4.js";
|
|
5
|
+
import "../chunk-WPYC73KC.js";
|
|
6
|
+
import "../chunk-SN34KUZS.js";
|
|
7
7
|
export {
|
|
8
8
|
PptxComponentDefinitionSchema,
|
|
9
9
|
PptxStandardComponentDefinitionSchema
|
|
@@ -64,6 +64,7 @@ declare const PresentationPropsSchema: _sinclair_typebox.TObject<{
|
|
|
64
64
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
65
65
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
66
66
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
67
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
67
68
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
68
69
|
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
69
70
|
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
@@ -165,6 +166,7 @@ declare const PresentationPropsSchema: _sinclair_typebox.TObject<{
|
|
|
165
166
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
166
167
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
167
168
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
169
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
168
170
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
169
171
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
170
172
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -176,6 +178,7 @@ declare const PresentationPropsSchema: _sinclair_typebox.TObject<{
|
|
|
176
178
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
177
179
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
178
180
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
181
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
179
182
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
180
183
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
181
184
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -205,6 +208,7 @@ declare const PresentationPropsSchema: _sinclair_typebox.TObject<{
|
|
|
205
208
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
206
209
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
207
210
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
211
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
208
212
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
209
213
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
210
214
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -463,6 +467,7 @@ declare const TextPropsSchema: _sinclair_typebox.TObject<{
|
|
|
463
467
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
464
468
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
465
469
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
470
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
466
471
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
467
472
|
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
468
473
|
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
@@ -554,6 +559,7 @@ declare const TextSegmentSchema: _sinclair_typebox.TObject<{
|
|
|
554
559
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
555
560
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
556
561
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
562
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
557
563
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
558
564
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
559
565
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -582,6 +588,7 @@ declare const ShapePropsSchema: _sinclair_typebox.TObject<{
|
|
|
582
588
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
583
589
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
584
590
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
591
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
585
592
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
586
593
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
587
594
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -593,6 +600,7 @@ declare const ShapePropsSchema: _sinclair_typebox.TObject<{
|
|
|
593
600
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
594
601
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
595
602
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
603
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
596
604
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
597
605
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
598
606
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -625,6 +633,7 @@ declare const PptxTablePropsSchema: _sinclair_typebox.TObject<{
|
|
|
625
633
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
626
634
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
627
635
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
636
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
628
637
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
629
638
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
630
639
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -2,11 +2,11 @@ import "../chunk-J4OT5Y5B.js";
|
|
|
2
2
|
import {
|
|
3
3
|
PptxComponentDefinitionSchema,
|
|
4
4
|
PptxStandardComponentDefinitionSchema
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-QSFWNIU4.js";
|
|
6
6
|
import {
|
|
7
7
|
PresentationPropsSchema,
|
|
8
8
|
SlidePropsSchema
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-WPYC73KC.js";
|
|
10
10
|
import {
|
|
11
11
|
GridPositionSchema,
|
|
12
12
|
PositionSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
TextSegmentSchema,
|
|
23
23
|
TransitionSchema,
|
|
24
24
|
VerticalAlignmentSchema
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-SN34KUZS.js";
|
|
26
26
|
export {
|
|
27
27
|
GridPositionSchema,
|
|
28
28
|
PositionSchema,
|
package/dist/schemas/document.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PPTX_JSON_SCHEMA_URLS,
|
|
3
3
|
PptxJsonComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QGJWZIH4.js";
|
|
5
5
|
import "../chunk-J4OT5Y5B.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-QSFWNIU4.js";
|
|
7
|
+
import "../chunk-WPYC73KC.js";
|
|
8
|
+
import "../chunk-SN34KUZS.js";
|
|
9
9
|
export {
|
|
10
10
|
PPTX_JSON_SCHEMA_URLS,
|
|
11
11
|
PptxJsonComponentDefinitionSchema
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateUnifiedDocumentSchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-OGEYYLA3.js";
|
|
4
|
+
import "../chunk-WPYC73KC.js";
|
|
5
|
+
import "../chunk-SN34KUZS.js";
|
|
6
6
|
export {
|
|
7
7
|
generateUnifiedDocumentSchema
|
|
8
8
|
};
|
package/dist/schemas/theme.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const TextStyleSchema: _sinclair_typebox.TObject<{
|
|
|
39
39
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
40
40
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "primary" | "secondary" | "accent" | "background" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
41
41
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
42
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
42
43
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
43
44
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
44
45
|
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -75,6 +76,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
75
76
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
76
77
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "primary" | "secondary" | "accent" | "background" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
77
78
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
79
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
78
80
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
79
81
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
80
82
|
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -93,6 +95,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
93
95
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
94
96
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
95
97
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
98
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
96
99
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
97
100
|
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
98
101
|
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
@@ -194,6 +197,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
194
197
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
195
198
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
196
199
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
200
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
197
201
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
198
202
|
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
199
203
|
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -205,6 +209,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
205
209
|
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
206
210
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
207
211
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
212
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
208
213
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
209
214
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
210
215
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
@@ -234,6 +239,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
234
239
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
235
240
|
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
236
241
|
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
242
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
237
243
|
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
238
244
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
239
245
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
package/dist/schemas/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/shared-pptx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "PPTX-specific schemas, component registry and validation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@sinclair/typebox": "0.34.38",
|
|
27
|
-
"@json-to-office/shared": "^0.
|
|
27
|
+
"@json-to-office/shared": "^0.12.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "20.11.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/schemas/component-defaults.ts","../src/schemas/components/text.ts","../src/schemas/components/common.ts","../src/schemas/theme.ts","../src/schemas/components/image.ts","../src/schemas/components/shape.ts","../src/schemas/components/table.ts","../src/schemas/components/highcharts.ts","../src/schemas/components/chart.ts"],"sourcesContent":["/**\n * PPTX Component Defaults Schemas\n *\n * Imports directly from individual component files to avoid circular deps.\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { TextPropsSchema } from './components/text';\nimport { PptxImagePropsSchema } from './components/image';\nimport { ShapePropsSchema } from './components/shape';\nimport { PptxTablePropsSchema } from './components/table';\nimport { PptxHighchartsPropsSchema } from './components/highcharts';\nimport { PptxChartPropsSchema } from './components/chart';\n\n// Create component defaults by making all fields optional (Type.Partial)\nexport const TextComponentDefaultsSchema = Type.Partial(TextPropsSchema);\nexport const ImageComponentDefaultsSchema = Type.Partial(PptxImagePropsSchema);\nexport const ShapeComponentDefaultsSchema = Type.Partial(ShapePropsSchema);\nexport const TableComponentDefaultsSchema = Type.Partial(PptxTablePropsSchema);\nexport const HighchartsComponentDefaultsSchema = Type.Partial(\n PptxHighchartsPropsSchema\n);\nexport const ChartComponentDefaultsSchema = Type.Partial(PptxChartPropsSchema);\n\nexport const PptxComponentDefaultsSchema = Type.Object(\n {\n text: Type.Optional(TextComponentDefaultsSchema),\n image: Type.Optional(ImageComponentDefaultsSchema),\n shape: Type.Optional(ShapeComponentDefaultsSchema),\n table: Type.Optional(TableComponentDefaultsSchema),\n highcharts: Type.Optional(HighchartsComponentDefaultsSchema),\n chart: Type.Optional(ChartComponentDefaultsSchema),\n },\n { additionalProperties: true }\n);\n\n// TypeScript types\nexport type TextComponentDefaults = Static<typeof TextComponentDefaultsSchema>;\nexport type ImageComponentDefaults = Static<\n typeof ImageComponentDefaultsSchema\n>;\nexport type ShapeComponentDefaults = Static<\n typeof ShapeComponentDefaultsSchema\n>;\nexport type TableComponentDefaults = Static<\n typeof TableComponentDefaultsSchema\n>;\nexport type HighchartsComponentDefaults = Static<\n typeof HighchartsComponentDefaultsSchema\n>;\nexport type ChartComponentDefaults = Static<\n typeof ChartComponentDefaultsSchema\n>;\nexport type PptxComponentDefaults = Static<\n typeof PptxComponentDefaultsSchema\n>;\n","/**\n * Text Component Schema\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, ShadowSchema, GridPositionSchema } from './common';\nimport { StyleNameSchema } from '../theme';\n\nexport const TextPropsSchema = Type.Object(\n {\n text: Type.String({ description: 'Text content to display' }),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n fontSize: Type.Optional(\n Type.Number({ minimum: 1, description: 'Font size in points' })\n ),\n fontFace: Type.Optional(Type.String({ description: 'Font family name' })),\n color: Type.Optional(\n Type.String({ description: 'Text color (hex without #, e.g., \"FF0000\")' })\n ),\n bold: Type.Optional(Type.Boolean({ description: 'Bold text' })),\n italic: Type.Optional(Type.Boolean({ description: 'Italic text' })),\n underline: Type.Optional(\n Type.Union([\n Type.Boolean({ description: 'Simple underline toggle' }),\n Type.Object(\n {\n style: Type.Optional(\n Type.Union([\n Type.Literal('sng'),\n Type.Literal('dbl'),\n Type.Literal('dash'),\n Type.Literal('dotted'),\n ])\n ),\n color: Type.Optional(Type.String({ description: 'Underline color (hex)' })),\n },\n { additionalProperties: false }\n ),\n ])\n ),\n strike: Type.Optional(Type.Boolean({ description: 'Strikethrough text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n breakLine: Type.Optional(\n Type.Boolean({ description: 'Add line break after text' })\n ),\n bullet: Type.Optional(\n Type.Union([\n Type.Boolean({ description: 'Enable default bullet' }),\n Type.Object(\n {\n type: Type.Optional(\n Type.Union([Type.Literal('bullet'), Type.Literal('number')])\n ),\n style: Type.Optional(Type.String({ description: 'Bullet character or style' })),\n startAt: Type.Optional(Type.Number({ description: 'Starting number for numbered lists' })),\n },\n { additionalProperties: false }\n ),\n ])\n ),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Margin in points (all sides)' }),\n Type.Array(Type.Number(), {\n description: 'Margins as [top, right, bottom, left] in points',\n minItems: 4,\n maxItems: 4,\n }),\n ])\n ),\n rotate: Type.Optional(Type.Number({ description: 'Rotation angle in degrees' })),\n shadow: Type.Optional(ShadowSchema),\n fill: Type.Optional(\n Type.Object(\n {\n color: Type.String({ description: 'Fill color (hex without #)' }),\n transparency: Type.Optional(\n Type.Number({ minimum: 0, maximum: 100, description: 'Fill transparency (0-100)' })\n ),\n },\n { additionalProperties: false }\n )\n ),\n hyperlink: Type.Optional(\n Type.Object(\n {\n url: Type.Optional(Type.String({ description: 'Hyperlink URL' })),\n slide: Type.Optional(Type.Number({ description: 'Slide number to link to' })),\n tooltip: Type.Optional(Type.String({ description: 'Hyperlink tooltip' })),\n },\n { additionalProperties: false }\n )\n ),\n lineSpacing: Type.Optional(Type.Number({ description: 'Line spacing in points' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points (positive = wider, negative = tighter)' })),\n paraSpaceBefore: Type.Optional(Type.Number({ description: 'Space before paragraph in points' })),\n paraSpaceAfter: Type.Optional(Type.Number({ description: 'Space after paragraph in points' })),\n grid: Type.Optional(GridPositionSchema),\n style: Type.Optional(StyleNameSchema),\n },\n {\n description: 'Text component props',\n additionalProperties: false,\n }\n);\n\nexport type TextProps = Static<typeof TextPropsSchema>;\n","/**\n * Common Types and Schemas for PPTX Components\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { ColorValueSchema } from '../theme';\n\n// ============================================================================\n// PPTX-Specific Common Types\n// ============================================================================\n\nexport const PositionSchema = Type.Object(\n {\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'X position as percentage (e.g., \"10%\")',\n }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Y position as percentage (e.g., \"10%\")',\n }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Width as percentage (e.g., \"80%\")',\n }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({\n pattern: '^\\\\d+(\\\\.\\\\d+)?%$',\n description: 'Height as percentage (e.g., \"20%\")',\n }),\n ])\n ),\n },\n {\n description: 'Position and size in inches or percentages',\n additionalProperties: false,\n }\n);\n\nexport const SlideBackgroundSchema = Type.Object(\n {\n color: Type.Optional(ColorValueSchema),\n image: Type.Optional(\n Type.Object(\n {\n path: Type.Optional(Type.String({ description: 'Image file path or URL' })),\n base64: Type.Optional(\n Type.String({ description: 'Base64-encoded image data' })\n ),\n },\n { description: 'Background image', additionalProperties: false }\n )\n ),\n },\n {\n description: 'Slide background configuration',\n additionalProperties: false,\n }\n);\n\nexport const TransitionSchema = Type.Object(\n {\n type: Type.Optional(\n Type.Union(\n [\n Type.Literal('fade'),\n Type.Literal('push'),\n Type.Literal('wipe'),\n Type.Literal('zoom'),\n Type.Literal('none'),\n ],\n { description: 'Transition effect type' }\n )\n ),\n speed: Type.Optional(\n Type.Union(\n [Type.Literal('slow'), Type.Literal('medium'), Type.Literal('fast')],\n { description: 'Transition speed' }\n )\n ),\n },\n {\n description: 'Slide transition configuration',\n additionalProperties: false,\n }\n);\n\nexport const PptxAlignmentSchema = Type.Union(\n [Type.Literal('left'), Type.Literal('center'), Type.Literal('right')],\n { description: 'Horizontal alignment options' }\n);\n\nexport const VerticalAlignmentSchema = Type.Union(\n [Type.Literal('top'), Type.Literal('middle'), Type.Literal('bottom')],\n { description: 'Vertical alignment options' }\n);\n\nexport const ShadowSchema = Type.Object(\n {\n type: Type.Optional(\n Type.Union([Type.Literal('outer'), Type.Literal('inner')], {\n description: 'Shadow type',\n })\n ),\n color: Type.Optional(ColorValueSchema),\n blur: Type.Optional(Type.Number({ description: 'Shadow blur radius in points' })),\n offset: Type.Optional(Type.Number({ description: 'Shadow offset in points' })),\n angle: Type.Optional(Type.Number({ description: 'Shadow angle in degrees' })),\n opacity: Type.Optional(\n Type.Number({\n minimum: 0,\n maximum: 1,\n description: 'Shadow opacity (0-1)',\n })\n ),\n },\n {\n description: 'Shadow configuration',\n additionalProperties: false,\n }\n);\n\nexport const GridPositionSchema = Type.Object(\n {\n column: Type.Number({ minimum: 0, description: 'Starting column (0-indexed)' }),\n row: Type.Number({ minimum: 0, description: 'Starting row (0-indexed)' }),\n columnSpan: Type.Optional(Type.Number({ minimum: 1, description: 'Number of columns to span (default: 1)' })),\n rowSpan: Type.Optional(Type.Number({ minimum: 1, description: 'Number of rows to span (default: 1)' })),\n },\n { additionalProperties: false, description: 'Grid-based positioning' }\n);\n\nexport type GridPosition = Static<typeof GridPositionSchema>;\n\n// ============================================================================\n// TypeScript Types\n// ============================================================================\n\nexport type Position = Static<typeof PositionSchema>;\nexport type SlideBackground = Static<typeof SlideBackgroundSchema>;\nexport type Transition = Static<typeof TransitionSchema>;\nexport type PptxAlignment = Static<typeof PptxAlignmentSchema>;\nexport type VerticalAlignment = Static<typeof VerticalAlignmentSchema>;\nexport type Shadow = Static<typeof ShadowSchema>;\n","/**\n * PPTX Theme Schema\n * Simplified theme configuration for presentations\n */\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxComponentDefaultsSchema } from './component-defaults';\n\nexport const GridMarginSchema = Type.Union(\n [\n Type.Number({ description: 'Margin in inches (all sides)' }),\n Type.Object(\n {\n top: Type.Number({ description: 'Top margin in inches' }),\n right: Type.Number({ description: 'Right margin in inches' }),\n bottom: Type.Number({ description: 'Bottom margin in inches' }),\n left: Type.Number({ description: 'Left margin in inches' }),\n },\n { additionalProperties: false }\n ),\n ],\n { description: 'Slide margins in inches' }\n);\n\nexport const GridGutterSchema = Type.Union(\n [\n Type.Number({ description: 'Gutter in inches (both axes)' }),\n Type.Object(\n {\n column: Type.Number({ description: 'Column gutter in inches' }),\n row: Type.Number({ description: 'Row gutter in inches' }),\n },\n { additionalProperties: false }\n ),\n ],\n { description: 'Gaps between grid tracks in inches' }\n);\n\nexport const GridConfigSchema = Type.Object(\n {\n columns: Type.Optional(Type.Number({ minimum: 1, description: 'Number of columns (default: 12)' })),\n rows: Type.Optional(Type.Number({ minimum: 1, description: 'Number of rows (default: 6)' })),\n margin: Type.Optional(GridMarginSchema),\n gutter: Type.Optional(GridGutterSchema),\n },\n { additionalProperties: false, description: 'Grid layout configuration' }\n);\n\nexport type GridMargin = Static<typeof GridMarginSchema>;\nexport type GridGutter = Static<typeof GridGutterSchema>;\nexport type GridConfig = Static<typeof GridConfigSchema>;\n\nconst HexColorSchema = Type.String({ pattern: '^#?[0-9A-Fa-f]{6}$', description: 'Hex color (e.g. #FF0000)' });\n\nexport const SEMANTIC_COLOR_NAMES = [\n 'primary', 'secondary', 'accent', 'background', 'text',\n 'text2', 'background2', 'accent4', 'accent5', 'accent6',\n] as const;\n\n/** PowerPoint XML aliases that resolve to canonical semantic names at runtime */\nexport const SEMANTIC_COLOR_ALIASES = [\n 'accent1', 'accent2', 'accent3', 'tx1', 'tx2', 'bg1', 'bg2',\n] as const;\n\nexport const ColorValueSchema = Type.Union([\n HexColorSchema,\n ...SEMANTIC_COLOR_NAMES.map(n => Type.Literal(n)),\n ...SEMANTIC_COLOR_ALIASES.map(n => Type.Literal(n)),\n], { description: 'Hex color or semantic theme color name' });\n\n// ── Named text styles ──────────────────────────────────────────────\n\nexport const STYLE_NAMES = [\n 'title', 'subtitle',\n 'heading1', 'heading2', 'heading3',\n 'body', 'caption',\n] as const;\n\nexport const StyleNameSchema = Type.Union(\n STYLE_NAMES.map(n => Type.Literal(n)),\n { description: 'Predefined style name' }\n);\n\nexport const TextStyleSchema = Type.Object({\n fontSize: Type.Optional(Type.Number()),\n fontFace: Type.Optional(Type.String()),\n fontColor: Type.Optional(ColorValueSchema),\n bold: Type.Optional(Type.Boolean()),\n italic: Type.Optional(Type.Boolean()),\n align: Type.Optional(Type.Union([\n Type.Literal('left'), Type.Literal('center'), Type.Literal('right'), Type.Literal('justify'),\n ])),\n lineSpacing: Type.Optional(Type.Number()),\n charSpacing: Type.Optional(Type.Number()),\n paraSpaceAfter: Type.Optional(Type.Number()),\n}, { additionalProperties: false, description: 'Text style preset' });\n\nexport type StyleName = (typeof STYLE_NAMES)[number];\nexport type TextStyle = Static<typeof TextStyleSchema>;\n\n// ── Theme config ───────────────────────────────────────────────────\n\nexport const ThemeConfigSchema = Type.Object(\n {\n name: Type.String({ description: 'Theme name' }),\n colors: Type.Object(\n {\n primary: HexColorSchema,\n secondary: HexColorSchema,\n accent: HexColorSchema,\n background: HexColorSchema,\n text: HexColorSchema,\n text2: Type.Optional(HexColorSchema),\n background2: Type.Optional(HexColorSchema),\n accent4: Type.Optional(HexColorSchema),\n accent5: Type.Optional(HexColorSchema),\n accent6: Type.Optional(HexColorSchema),\n },\n { additionalProperties: false, description: 'Theme color palette (10-slot scheme)' }\n ),\n fonts: Type.Object(\n {\n heading: Type.String({ description: 'Heading font family' }),\n body: Type.String({ description: 'Body font family' }),\n },\n { additionalProperties: false, description: 'Font families' }\n ),\n defaults: Type.Object(\n {\n fontSize: Type.Number({ description: 'Default font size in points' }),\n fontColor: HexColorSchema,\n },\n { additionalProperties: false, description: 'Default text styling' }\n ),\n styles: Type.Optional(Type.Partial(\n Type.Object(Object.fromEntries(\n STYLE_NAMES.map(n => [n, TextStyleSchema])\n ) as Record<string, typeof TextStyleSchema>),\n { additionalProperties: false, description: 'Named text style presets' }\n )),\n componentDefaults: Type.Optional(PptxComponentDefaultsSchema),\n },\n { additionalProperties: false, description: 'Presentation theme configuration' }\n);\n\nexport type ThemeConfigJson = Static<typeof ThemeConfigSchema>;\n\nexport function isValidThemeConfig(data: unknown): data is ThemeConfigJson {\n return typeof data === 'object' && data !== null;\n}\n","/**\n * Image Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { ShadowSchema, GridPositionSchema } from './common';\n\nexport const PptxImagePropsSchema = Type.Object(\n {\n path: Type.Optional(\n Type.String({\n description: 'Image file path or URL (mutually exclusive with base64)',\n })\n ),\n base64: Type.Optional(\n Type.String({\n description:\n 'Base64-encoded image data in data URI format (mutually exclusive with path)',\n })\n ),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n sizing: Type.Optional(\n Type.Object(\n {\n type: Type.Union(\n [\n Type.Literal('contain'),\n Type.Literal('cover'),\n Type.Literal('crop'),\n ],\n { description: 'Image sizing strategy' }\n ),\n w: Type.Optional(Type.Number({ description: 'Target width in inches' })),\n h: Type.Optional(Type.Number({ description: 'Target height in inches' })),\n },\n { description: 'Image sizing options', additionalProperties: false }\n )\n ),\n rotate: Type.Optional(\n Type.Number({ description: 'Rotation angle in degrees' })\n ),\n rounding: Type.Optional(\n Type.Boolean({ description: 'Apply rounded corners to image' })\n ),\n shadow: Type.Optional(ShadowSchema),\n hyperlink: Type.Optional(\n Type.Object(\n {\n url: Type.Optional(Type.String({ description: 'Hyperlink URL' })),\n slide: Type.Optional(Type.Number({ description: 'Slide number to link to' })),\n tooltip: Type.Optional(Type.String({ description: 'Hyperlink tooltip' })),\n },\n { additionalProperties: false }\n )\n ),\n alt: Type.Optional(\n Type.String({ description: 'Alternative text for accessibility' })\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX image component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxImageProps = Static<typeof PptxImagePropsSchema>;\n","/**\n * Shape Component Schema\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, ShadowSchema, GridPositionSchema } from './common';\nimport { StyleNameSchema } from '../theme';\n\nexport const ShapeTypeSchema = Type.Union(\n [\n Type.Literal('rect'),\n Type.Literal('roundRect'),\n Type.Literal('ellipse'),\n Type.Literal('triangle'),\n Type.Literal('diamond'),\n Type.Literal('pentagon'),\n Type.Literal('hexagon'),\n Type.Literal('star5'),\n Type.Literal('star6'),\n Type.Literal('line'),\n Type.Literal('arrow'),\n Type.Literal('chevron'),\n Type.Literal('cloud'),\n Type.Literal('heart'),\n Type.Literal('lightning'),\n ],\n { description: 'Shape type' }\n);\n\nexport const TextSegmentSchema = Type.Object(\n {\n text: Type.String(),\n fontSize: Type.Optional(Type.Number({ minimum: 1 })),\n fontFace: Type.Optional(Type.String()),\n color: Type.Optional(Type.String({ description: 'Segment color (hex without # or semantic name)' })),\n bold: Type.Optional(Type.Boolean()),\n italic: Type.Optional(Type.Boolean()),\n breakLine: Type.Optional(Type.Boolean({ description: 'Insert line break after this segment' })),\n spaceBefore: Type.Optional(Type.Number({ minimum: 0, description: 'Space before paragraph in points' })),\n spaceAfter: Type.Optional(Type.Number({ minimum: 0, description: 'Space after paragraph in points' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points' })),\n },\n { additionalProperties: false }\n);\n\nexport type TextSegment = Static<typeof TextSegmentSchema>;\n\nexport const ShapePropsSchema = Type.Object(\n {\n type: ShapeTypeSchema,\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n fill: Type.Optional(\n Type.Object(\n {\n color: Type.String({ description: 'Fill color (hex without #)' }),\n transparency: Type.Optional(\n Type.Number({ minimum: 0, maximum: 100, description: 'Fill transparency (0-100)' })\n ),\n },\n { additionalProperties: false }\n )\n ),\n line: Type.Optional(\n Type.Object(\n {\n color: Type.Optional(Type.String({ description: 'Line color (hex without #)' })),\n width: Type.Optional(Type.Number({ minimum: 0, description: 'Line width in points' })),\n dashType: Type.Optional(\n Type.Union([\n Type.Literal('solid'),\n Type.Literal('dash'),\n Type.Literal('dot'),\n Type.Literal('dashDot'),\n ])\n ),\n },\n { additionalProperties: false }\n )\n ),\n text: Type.Optional(Type.Union([\n Type.String({ description: 'Plain text' }),\n Type.Array(TextSegmentSchema, { description: 'Rich text segments with per-segment formatting' }),\n ], { description: 'Text content inside the shape' })),\n fontSize: Type.Optional(Type.Number({ minimum: 1, description: 'Font size for shape text' })),\n fontFace: Type.Optional(Type.String({ description: 'Font family for shape text' })),\n fontColor: Type.Optional(Type.String({ description: 'Font color for shape text (hex without #)' })),\n charSpacing: Type.Optional(Type.Number({ description: 'Character spacing in points for shape text' })),\n bold: Type.Optional(Type.Boolean({ description: 'Bold shape text' })),\n italic: Type.Optional(Type.Boolean({ description: 'Italic shape text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n rotate: Type.Optional(Type.Number({ description: 'Rotation angle in degrees' })),\n shadow: Type.Optional(ShadowSchema),\n rectRadius: Type.Optional(\n Type.Number({\n minimum: 0,\n description: 'Corner radius for roundRect shape in inches',\n })\n ),\n grid: Type.Optional(GridPositionSchema),\n style: Type.Optional(StyleNameSchema),\n },\n {\n description: 'Shape component props',\n additionalProperties: false,\n }\n);\n\nexport type ShapeType = Static<typeof ShapeTypeSchema>;\nexport type ShapeProps = Static<typeof ShapePropsSchema>;\n","/**\n * Table Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { PptxAlignmentSchema, VerticalAlignmentSchema, GridPositionSchema } from './common';\n\nconst PptxTableCellSchema = Type.Union([\n Type.String({ description: 'Simple text cell' }),\n Type.Object(\n {\n text: Type.String({ description: 'Cell text content' }),\n color: Type.Optional(Type.String({ description: 'Text color (hex without #)' })),\n fill: Type.Optional(Type.String({ description: 'Cell background color (hex without #)' })),\n fontSize: Type.Optional(Type.Number({ description: 'Font size in points' })),\n fontFace: Type.Optional(Type.String({ description: 'Font family' })),\n bold: Type.Optional(Type.Boolean({ description: 'Bold text' })),\n italic: Type.Optional(Type.Boolean({ description: 'Italic text' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n colspan: Type.Optional(Type.Number({ minimum: 1, description: 'Column span' })),\n rowspan: Type.Optional(Type.Number({ minimum: 1, description: 'Row span' })),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Margin in points (all sides)' }),\n Type.Array(Type.Number(), { minItems: 4, maxItems: 4 }),\n ])\n ),\n },\n { additionalProperties: false }\n ),\n]);\n\nexport const PptxTablePropsSchema = Type.Object(\n {\n rows: Type.Array(\n Type.Array(PptxTableCellSchema, { description: 'Row of cells' }),\n { description: 'Table rows (array of arrays)', minItems: 1 }\n ),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n colW: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Uniform column width in inches' }),\n Type.Array(Type.Number(), { description: 'Individual column widths in inches' }),\n ])\n ),\n rowH: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Uniform row height in inches' }),\n Type.Array(Type.Number(), { description: 'Individual row heights in inches' }),\n ])\n ),\n border: Type.Optional(\n Type.Object(\n {\n type: Type.Optional(\n Type.Union([\n Type.Literal('solid'),\n Type.Literal('dash'),\n Type.Literal('dot'),\n Type.Literal('none'),\n ])\n ),\n pt: Type.Optional(Type.Number({ minimum: 0, description: 'Border width in points' })),\n color: Type.Optional(Type.String({ description: 'Border color (hex without #)' })),\n },\n { additionalProperties: false }\n )\n ),\n fill: Type.Optional(Type.String({ description: 'Table background color (hex without #)' })),\n fontSize: Type.Optional(Type.Number({ minimum: 1, description: 'Default font size for all cells' })),\n fontFace: Type.Optional(Type.String({ description: 'Default font family for all cells' })),\n color: Type.Optional(Type.String({ description: 'Default text color for all cells (hex without #)' })),\n align: Type.Optional(PptxAlignmentSchema),\n valign: Type.Optional(VerticalAlignmentSchema),\n autoPage: Type.Optional(\n Type.Boolean({ description: 'Auto-paginate table across multiple slides when content overflows' })\n ),\n autoPageRepeatHeader: Type.Optional(\n Type.Boolean({ description: 'Repeat first row as header on each auto-paged slide' })\n ),\n margin: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Cell margin in points (all sides)' }),\n Type.Array(Type.Number(), { minItems: 4, maxItems: 4 }),\n ])\n ),\n borderRadius: Type.Optional(\n Type.Number({ minimum: 0, description: 'Rounded corner radius in inches. Renders a roundRect shape behind the table.' })\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX table component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxTableProps = Static<typeof PptxTablePropsSchema>;\n","/**\n * Highcharts Component Schema (PPTX)\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { GridPositionSchema } from './common';\n\nexport const PptxHighchartsPropsSchema = Type.Object(\n {\n options: Type.Intersect([\n Type.Record(Type.String(), Type.Unknown()),\n Type.Object({\n chart: Type.Object({\n width: Type.Number(),\n height: Type.Number(),\n }),\n }),\n ]),\n scale: Type.Optional(Type.Number()),\n serverUrl: Type.Optional(Type.String({ description: 'Highcharts Export Server URL (default: http://localhost:7801)' })),\n x: Type.Optional(\n Type.Union([\n Type.Number({ description: 'X position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'X as percentage' }),\n ])\n ),\n y: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Y position in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Y as percentage' }),\n ])\n ),\n w: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Width in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Width as percentage' }),\n ])\n ),\n h: Type.Optional(\n Type.Union([\n Type.Number({ description: 'Height in inches' }),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$', description: 'Height as percentage' }),\n ])\n ),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'PPTX Highcharts component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxHighchartsProps = Static<typeof PptxHighchartsPropsSchema>;\n","/**\n * Chart Component Schema (PPTX) — native PowerPoint charts via pptxgenjs\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { GridPositionSchema } from './common';\n\nconst PositionValue = Type.Union([\n Type.Number(),\n Type.String({ pattern: '^\\\\d+(\\\\.\\\\d+)?%$' }),\n]);\n\nconst ChartTypeSchema = Type.Union(\n [\n Type.Literal('area'),\n Type.Literal('bar'),\n Type.Literal('bar3D'),\n Type.Literal('bubble'),\n Type.Literal('doughnut'),\n Type.Literal('line'),\n Type.Literal('pie'),\n Type.Literal('radar'),\n Type.Literal('scatter'),\n ],\n { description: 'Chart type' }\n);\n\nconst ChartDataSeriesSchema = Type.Object(\n {\n name: Type.Optional(Type.String({ description: 'Series name' })),\n labels: Type.Optional(Type.Array(Type.String(), { description: 'Category labels' })),\n values: Type.Optional(Type.Array(Type.Number(), { description: 'Data values' })),\n sizes: Type.Optional(Type.Array(Type.Number(), { description: 'Bubble sizes (bubble charts only)' })),\n },\n { additionalProperties: false }\n);\n\nexport const PptxChartPropsSchema = Type.Object(\n {\n type: ChartTypeSchema,\n data: Type.Array(ChartDataSeriesSchema, {\n description: 'Chart data series',\n minItems: 1,\n }),\n\n // Display toggles\n showLegend: Type.Optional(Type.Boolean({ description: 'Show chart legend' })),\n showTitle: Type.Optional(Type.Boolean({ description: 'Show chart title' })),\n showValue: Type.Optional(Type.Boolean({ description: 'Show data values' })),\n showPercent: Type.Optional(Type.Boolean({ description: 'Show percentages (pie/doughnut)' })),\n showLabel: Type.Optional(Type.Boolean({ description: 'Show category labels on data points' })),\n showSerName: Type.Optional(Type.Boolean({ description: 'Show series name on data points' })),\n\n // Title\n title: Type.Optional(Type.String({ description: 'Chart title text' })),\n titleFontSize: Type.Optional(Type.Number({ description: 'Title font size (points)' })),\n titleColor: Type.Optional(Type.String({ description: 'Title color (hex or semantic)' })),\n titleFontFace: Type.Optional(Type.String({ description: 'Title font face' })),\n\n // Chart colors\n chartColors: Type.Optional(\n Type.Array(Type.String(), {\n description: 'Series colors (hex or semantic theme names). Defaults to theme palette.',\n })\n ),\n\n // Legend\n legendPos: Type.Optional(\n Type.Union(\n [Type.Literal('b'), Type.Literal('l'), Type.Literal('r'), Type.Literal('t'), Type.Literal('tr')],\n { description: 'Legend position' }\n )\n ),\n legendFontSize: Type.Optional(Type.Number({ description: 'Legend font size' })),\n legendFontFace: Type.Optional(Type.String({ description: 'Legend font face' })),\n legendColor: Type.Optional(Type.String({ description: 'Legend text color' })),\n\n // Category axis\n catAxisTitle: Type.Optional(Type.String({ description: 'Category axis title' })),\n catAxisHidden: Type.Optional(Type.Boolean({ description: 'Hide category axis' })),\n catAxisLabelRotate: Type.Optional(Type.Number({ description: 'Category axis label rotation (degrees)' })),\n catAxisLabelFontSize: Type.Optional(Type.Number({ description: 'Category axis label font size' })),\n catAxisLabelColor: Type.Optional(Type.String({ description: 'Category axis label color (hex or semantic)' })),\n\n // Value axis\n valAxisTitle: Type.Optional(Type.String({ description: 'Value axis title' })),\n valAxisHidden: Type.Optional(Type.Boolean({ description: 'Hide value axis' })),\n valAxisMinVal: Type.Optional(Type.Number({ description: 'Value axis minimum' })),\n valAxisMaxVal: Type.Optional(Type.Number({ description: 'Value axis maximum' })),\n valAxisLabelFormatCode: Type.Optional(Type.String({ description: 'Value axis label format (e.g. \"$0.00\", \"#%\")' })),\n valAxisMajorUnit: Type.Optional(Type.Number({ description: 'Value axis major unit / tick interval' })),\n valAxisLabelColor: Type.Optional(Type.String({ description: 'Value axis label color (hex or semantic)' })),\n\n // Bar-specific\n barDir: Type.Optional(\n Type.Union([Type.Literal('bar'), Type.Literal('col')], {\n description: 'Bar direction: \"bar\" (horizontal) or \"col\" (vertical, default)',\n })\n ),\n barGrouping: Type.Optional(\n Type.Union(\n [Type.Literal('clustered'), Type.Literal('stacked'), Type.Literal('percentStacked')],\n { description: 'Bar grouping style' }\n )\n ),\n barGapWidthPct: Type.Optional(\n Type.Number({ minimum: 0, maximum: 500, description: 'Bar gap width (0-500%)' })\n ),\n\n // Line-specific\n lineSmooth: Type.Optional(Type.Boolean({ description: 'Smooth lines' })),\n lineDataSymbol: Type.Optional(\n Type.Union(\n [\n Type.Literal('circle'),\n Type.Literal('dash'),\n Type.Literal('diamond'),\n Type.Literal('dot'),\n Type.Literal('none'),\n Type.Literal('square'),\n Type.Literal('triangle'),\n ],\n { description: 'Line data point marker symbol' }\n )\n ),\n lineSize: Type.Optional(Type.Number({ description: 'Line width (points)' })),\n\n // Pie/doughnut-specific\n firstSliceAng: Type.Optional(Type.Number({ minimum: 0, maximum: 359, description: 'Angle of first slice (degrees)' })),\n holeSize: Type.Optional(Type.Number({ minimum: 10, maximum: 90, description: 'Doughnut hole size (%)' })),\n\n // Radar-specific\n radarStyle: Type.Optional(\n Type.Union(\n [Type.Literal('standard'), Type.Literal('marker'), Type.Literal('filled')],\n { description: 'Radar chart style' }\n )\n ),\n\n // Data labels\n dataLabelColor: Type.Optional(Type.String({ description: 'Data label text color' })),\n dataLabelFontSize: Type.Optional(Type.Number({ description: 'Data label font size' })),\n dataLabelFontFace: Type.Optional(Type.String({ description: 'Data label font face' })),\n dataLabelFontBold: Type.Optional(Type.Boolean({ description: 'Bold data labels' })),\n dataLabelPosition: Type.Optional(\n Type.Union(\n [\n Type.Literal('b'),\n Type.Literal('bestFit'),\n Type.Literal('ctr'),\n Type.Literal('l'),\n Type.Literal('r'),\n Type.Literal('t'),\n Type.Literal('inEnd'),\n Type.Literal('outEnd'),\n ],\n { description: 'Data label position' }\n )\n ),\n\n // Positioning\n x: Type.Optional(PositionValue),\n y: Type.Optional(PositionValue),\n w: Type.Optional(PositionValue),\n h: Type.Optional(PositionValue),\n grid: Type.Optional(GridPositionSchema),\n },\n {\n description: 'Native PowerPoint chart component props',\n additionalProperties: false,\n }\n);\n\nexport type PptxChartProps = Static<typeof PptxChartPropsSchema>;\n"],"mappings":";AAMA,SAAS,QAAAA,aAAoB;;;ACF7B,SAAS,QAAAC,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AAK;AAAA,UAClBA,MAAK,QAAQ,GAAG;AAAA,UAChBA,MAAK,QAAQ,GAAG;AAAA,UAChBA,MAAK,QAAQ,GAAG;AAAA,UAChBA,MAAK,QAAQ,OAAO;AAAA,UACpBA,MAAK,QAAQ,QAAQ;AAAA,QACvB;AAAA,QACA,EAAE,aAAa,sBAAsB;AAAA,MACvC;AAAA,IACF;AAAA;AAAA,IAGA,GAAGA,MAAK,SAAS,aAAa;AAAA,IAC9B,GAAGA,MAAK,SAAS,aAAa;AAAA,IAC9B,GAAGA,MAAK,SAAS,aAAa;AAAA,IAC9B,GAAGA,MAAK,SAAS,aAAa;AAAA,IAC9B,MAAMA,MAAK,SAAS,kBAAkB;AAAA,EACxC;AAAA,EACA;AAAA,IACE,aAAa;AAAA,IACb,sBAAsB;AAAA,EACxB;AACF;;;AR5JO,IAAM,8BAA8BC,MAAK,QAAQ,eAAe;AAChE,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AACtE,IAAM,+BAA+BA,MAAK,QAAQ,gBAAgB;AAClE,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AACtE,IAAM,oCAAoCA,MAAK;AAAA,EACpD;AACF;AACO,IAAM,+BAA+BA,MAAK,QAAQ,oBAAoB;AAEtE,IAAM,8BAA8BA,MAAK;AAAA,EAC9C;AAAA,IACE,MAAMA,MAAK,SAAS,2BAA2B;AAAA,IAC/C,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,OAAOA,MAAK,SAAS,4BAA4B;AAAA,IACjD,YAAYA,MAAK,SAAS,iCAAiC;AAAA,IAC3D,OAAOA,MAAK,SAAS,4BAA4B;AAAA,EACnD;AAAA,EACA,EAAE,sBAAsB,KAAK;AAC/B;","names":["Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type","Type"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|