@json-to-office/shared-docx 0.34.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{chunk-436TK3T4.js → chunk-2YUAD26Q.js} +7 -2
  2. package/dist/chunk-2YUAD26Q.js.map +1 -0
  3. package/dist/{chunk-PSVJL2G3.js → chunk-GGAJWGDI.js} +2 -2
  4. package/dist/{chunk-VRGM2FUX.js → chunk-HMNKQ7BT.js} +6 -6
  5. package/dist/{chunk-NJN6UT3A.js → chunk-HYY4ZOYL.js} +3 -3
  6. package/dist/{chunk-K7PV4XUA.js → chunk-K2LA6WCD.js} +2 -2
  7. package/dist/{chunk-SZCMTHGI.js → chunk-K367M7TI.js} +2 -2
  8. package/dist/{chunk-FG6SI4JG.js → chunk-OUSJFBMX.js} +2 -2
  9. package/dist/{chunk-Y2ME2XH6.js → chunk-WDRYTKHA.js} +2 -2
  10. package/dist/{chunk-Z5WQPM4B.js → chunk-WOFU72HH.js} +10 -3
  11. package/dist/chunk-WOFU72HH.js.map +1 -0
  12. package/dist/{chunk-CQHH44HX.js → chunk-ZC2I7CTZ.js} +4 -2
  13. package/dist/chunk-ZC2I7CTZ.js.map +1 -0
  14. package/dist/index.d.ts +47 -0
  15. package/dist/index.js +10 -10
  16. package/dist/schemas/api.js +5 -5
  17. package/dist/schemas/component-defaults.d.ts +2 -0
  18. package/dist/schemas/component-defaults.js +1 -1
  19. package/dist/schemas/component-registry.js +3 -3
  20. package/dist/schemas/components.d.ts +80 -0
  21. package/dist/schemas/components.js +4 -4
  22. package/dist/schemas/document.js +6 -6
  23. package/dist/schemas/export.js +4 -4
  24. package/dist/schemas/generator.js +4 -4
  25. package/dist/schemas/theme.d.ts +39 -0
  26. package/dist/schemas/theme.js +2 -2
  27. package/dist/validation/unified/index.d.ts +41 -0
  28. package/dist/validation/unified/index.js +6 -6
  29. package/package.json +2 -2
  30. package/dist/chunk-436TK3T4.js.map +0 -1
  31. package/dist/chunk-CQHH44HX.js.map +0 -1
  32. package/dist/chunk-Z5WQPM4B.js.map +0 -1
  33. /package/dist/{chunk-PSVJL2G3.js.map → chunk-GGAJWGDI.js.map} +0 -0
  34. /package/dist/{chunk-VRGM2FUX.js.map → chunk-HMNKQ7BT.js.map} +0 -0
  35. /package/dist/{chunk-NJN6UT3A.js.map → chunk-HYY4ZOYL.js.map} +0 -0
  36. /package/dist/{chunk-K7PV4XUA.js.map → chunk-K2LA6WCD.js.map} +0 -0
  37. /package/dist/{chunk-SZCMTHGI.js.map → chunk-K367M7TI.js.map} +0 -0
  38. /package/dist/{chunk-FG6SI4JG.js.map → chunk-OUSJFBMX.js.map} +0 -0
  39. /package/dist/{chunk-Y2ME2XH6.js.map → chunk-WDRYTKHA.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ComponentDefaultsSchema,
3
3
  IndentSchema
4
- } from "./chunk-436TK3T4.js";
4
+ } from "./chunk-2YUAD26Q.js";
5
5
  import {
6
6
  FontDefinitionSchema,
7
7
  HexColorSchema,
@@ -10,6 +10,7 @@ import {
10
10
 
11
11
  // src/schemas/theme.ts
12
12
  import { Type } from "@sinclair/typebox";
13
+ import { FontRegistrySchema } from "@json-to-office/shared";
13
14
  import { Value } from "@sinclair/typebox/value";
14
15
  var DocumentMarginsSchema = Type.Object(
15
16
  {
@@ -354,6 +355,7 @@ var ThemeConfigSchema = Type.Object(
354
355
  { additionalProperties: false }
355
356
  ),
356
357
  fonts: FontsSchema,
358
+ fontRegistry: Type.Optional(FontRegistrySchema),
357
359
  page: PageSchema,
358
360
  styles: Type.Optional(StyleDefinitionsSchema),
359
361
  componentDefaults: Type.Optional(ComponentDefaultsSchema),
@@ -439,4 +441,4 @@ export {
439
441
  isValidThemeConfig,
440
442
  createMinimalTheme
441
443
  };
442
- //# sourceMappingURL=chunk-CQHH44HX.js.map
444
+ //# sourceMappingURL=chunk-ZC2I7CTZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/schemas/theme.ts"],"sourcesContent":["/**\n * Theme Schema Definitions using TypeBox\n * This file provides TypeBox schemas for theme configuration validation\n */\n\nimport { Type, Static } from '@sinclair/typebox';\nimport { FontRegistrySchema } from '@json-to-office/shared';\nimport {\n FontDefinitionSchema,\n TextFormattingPropertiesSchema,\n HexColorSchema,\n} from './font';\nimport { IndentSchema } from './components/common';\n\n// ============================================================================\n// Document Margins Schema\n// ============================================================================\n\nexport const DocumentMarginsSchema = Type.Object(\n {\n top: Type.Number({ minimum: 0 }),\n bottom: Type.Number({ minimum: 0 }),\n left: Type.Number({ minimum: 0 }),\n right: Type.Number({ minimum: 0 }),\n header: Type.Number({ minimum: 0 }),\n footer: Type.Number({ minimum: 0 }),\n gutter: Type.Number({ minimum: 0 }),\n },\n { additionalProperties: false, description: 'Document margin configuration' }\n);\n\n// ============================================================================\n// Page Dimensions Schema\n// ============================================================================\n\nexport const PageDimensionsSchema = Type.Object(\n {\n width: Type.Number({ minimum: 0 }),\n height: Type.Number({ minimum: 0 }),\n },\n { additionalProperties: false, description: 'Page dimensions in twips' }\n);\n\n// ============================================================================\n// Page Schema (replaces PageSetupSchema)\n// ============================================================================\n\nexport const PageSchema = Type.Object(\n {\n size: Type.Union(\n [\n Type.Literal('A4'),\n Type.Literal('A3'),\n Type.Literal('LETTER'),\n Type.Literal('LEGAL'),\n Type.Object(\n {\n width: Type.Number({ minimum: 0 }),\n height: Type.Number({ minimum: 0 }),\n },\n { additionalProperties: false }\n ),\n ],\n { description: 'Standard page size or custom dimensions' }\n ),\n margins: DocumentMarginsSchema,\n },\n {\n description: 'Page configuration including dimensions and margins',\n additionalProperties: false,\n }\n);\n\n// ============================================================================\n// Text formatting and font schemas now imported from './font' to avoid cycles\n\n// ============================================================================\n// Fonts Schema\n// ============================================================================\n\nexport const FontsSchema = Type.Object(\n {\n heading: FontDefinitionSchema,\n body: FontDefinitionSchema,\n mono: FontDefinitionSchema,\n light: FontDefinitionSchema,\n },\n {\n additionalProperties: false,\n description: 'Font definitions for different text types',\n }\n);\n\n// ============================================================================\n// Style Definitions Schema\n// ============================================================================\n\n// Paragraph border style support (matches docx BorderStyle)\nconst BorderStyleSchema = Type.Union(\n [\n Type.Literal('single'),\n Type.Literal('dashDotStroked'),\n Type.Literal('dashed'),\n Type.Literal('dashSmallGap'),\n Type.Literal('dotDash'),\n Type.Literal('dotDotDash'),\n Type.Literal('dotted'),\n Type.Literal('double'),\n Type.Literal('doubleWave'),\n Type.Literal('inset'),\n Type.Literal('nil'),\n Type.Literal('none'),\n Type.Literal('outset'),\n Type.Literal('thick'),\n Type.Literal('thickThinLargeGap'),\n Type.Literal('thickThinMediumGap'),\n Type.Literal('thickThinSmallGap'),\n Type.Literal('thinThickLargeGap'),\n Type.Literal('thinThickMediumGap'),\n Type.Literal('thinThickSmallGap'),\n Type.Literal('thinThickThinLargeGap'),\n Type.Literal('thinThickThinMediumGap'),\n Type.Literal('thinThickThinSmallGap'),\n Type.Literal('threeDEmboss'),\n Type.Literal('threeDEngrave'),\n Type.Literal('triple'),\n Type.Literal('wave'),\n ],\n { description: 'Paragraph border style' }\n);\n\n/** Shared fields so each border slot can carry its own description. */\nconst BorderDefinitionFields = {\n style: BorderStyleSchema,\n size: Type.Number({\n minimum: 0,\n description: 'Width in eighths of a point (docx sz)',\n }),\n color: HexColorSchema,\n space: Type.Optional(\n Type.Number({\n minimum: 0,\n description: 'Space between text and border in points',\n })\n ),\n};\n\nconst BorderDefinitionSchema = Type.Object(BorderDefinitionFields, {\n additionalProperties: false,\n description: 'Paragraph border side definition',\n});\n\nconst BetweenBorderSchema = Type.Object(BorderDefinitionFields, {\n additionalProperties: false,\n description:\n 'Rule drawn between consecutive paragraphs sharing this border set (w:between), in place of their adjoining bottom and top edges',\n});\n\nconst BordersSchema = Type.Object(\n {\n top: Type.Optional(BorderDefinitionSchema),\n bottom: Type.Optional(BorderDefinitionSchema),\n left: Type.Optional(BorderDefinitionSchema),\n right: Type.Optional(BorderDefinitionSchema),\n between: Type.Optional(BetweenBorderSchema),\n },\n {\n additionalProperties: false,\n description:\n 'Paragraph borders (per side, plus the between-paragraph rule)',\n }\n);\n\n// Alignment schema for paragraph-level alignment (used in styles)\nconst AlignmentSchema = Type.Optional(\n Type.Union([\n Type.Literal('left'),\n Type.Literal('center'),\n Type.Literal('right'),\n Type.Literal('justify'),\n ])\n);\n\n/**\n * Style properties schema that extends text formatting properties\n * with additional style-specific properties (priority, baseStyle, etc.)\n */\nconst StylePropertiesSchema = Type.Object(\n {\n font: Type.Optional(\n Type.Union([\n Type.Literal('heading'),\n Type.Literal('body'),\n Type.Literal('mono'),\n Type.Literal('light'),\n ])\n ),\n ...TextFormattingPropertiesSchema.properties,\n // Paragraph-level alignment (not a font property)\n alignment: AlignmentSchema,\n // Additional properties specific to styles\n priority: Type.Optional(Type.Number()),\n baseStyle: Type.Optional(Type.String()),\n followingStyle: Type.Optional(Type.String()),\n widowControl: Type.Optional(Type.Boolean()),\n keepNext: Type.Optional(Type.Boolean()),\n keepLinesTogether: Type.Optional(Type.Boolean()),\n outlineLevel: Type.Optional(Type.Number()),\n borders: Type.Optional(BordersSchema),\n indent: Type.Optional(IndentSchema),\n },\n { additionalProperties: false }\n);\n\n// ============================================================================\n// Tab Stop Schema\n// ============================================================================\n\n/**\n * Tab stop leader types matching docx.js LeaderType\n */\nconst TabStopLeaderSchema = Type.Union(\n [\n Type.Literal('dot'),\n Type.Literal('hyphen'),\n Type.Literal('middleDot'),\n Type.Literal('none'),\n Type.Literal('underscore'),\n ],\n {\n description:\n 'Tab leader style: dot (dotted), hyphen (dashed), middleDot, none (blank), or underscore',\n }\n);\n\n/**\n * Tab stop type matching docx.js TabStopType\n */\nconst TabStopTypeSchema = Type.Union(\n [\n Type.Literal('left'),\n Type.Literal('right'),\n Type.Literal('center'),\n Type.Literal('bar'),\n Type.Literal('clear'),\n Type.Literal('decimal'),\n Type.Literal('end'),\n Type.Literal('num'),\n Type.Literal('start'),\n ],\n {\n description: 'Tab stop alignment type',\n }\n);\n\n/**\n * Tab stop definition schema\n */\nconst TabStopDefinitionSchema = Type.Object(\n {\n type: TabStopTypeSchema,\n position: Type.Union([\n Type.Number({\n description:\n 'Tab stop position in twips (1/1440 inch). Common: 9026 for right-aligned at page margin',\n }),\n Type.Literal('max', {\n description: 'Use maximum position (TabStopPosition.MAX = 9026 twips)',\n }),\n ]),\n leader: Type.Optional(TabStopLeaderSchema),\n },\n {\n description:\n 'Tab stop configuration with position, alignment, and optional leader',\n additionalProperties: false,\n }\n);\n\n/**\n * TOC style properties schema that extends text formatting properties\n * but EXCLUDES baseStyle to prevent unwanted coupling with Heading styles\n */\nconst TocStylePropertiesSchema = Type.Object(\n {\n font: Type.Optional(\n Type.Union([\n Type.Literal('heading'),\n Type.Literal('body'),\n Type.Literal('mono'),\n Type.Literal('light'),\n ])\n ),\n ...TextFormattingPropertiesSchema.properties,\n // Paragraph-level alignment (not a font property)\n alignment: AlignmentSchema,\n // Tab stops for controlling TOC entry formatting (leader dots, alignment, etc.)\n tabStops: Type.Optional(\n Type.Array(TabStopDefinitionSchema, {\n description:\n 'Tab stops for TOC entries. Use right-aligned tab with leader to create dotted lines to page numbers.',\n default: [{ type: 'right', position: 'max', leader: 'none' }],\n })\n ),\n // Additional properties specific to styles (baseStyle intentionally excluded)\n priority: Type.Optional(Type.Number()),\n followingStyle: Type.Optional(Type.String()),\n widowControl: Type.Optional(Type.Boolean()),\n keepNext: Type.Optional(Type.Boolean()),\n keepLinesTogether: Type.Optional(Type.Boolean()),\n outlineLevel: Type.Optional(Type.Number()),\n borders: Type.Optional(BordersSchema),\n indent: Type.Optional(IndentSchema),\n },\n { additionalProperties: false }\n);\n\nexport const StyleDefinitionsSchema = Type.Object(\n {\n normal: Type.Optional(StylePropertiesSchema),\n heading1: Type.Optional(StylePropertiesSchema),\n heading2: Type.Optional(StylePropertiesSchema),\n heading3: Type.Optional(StylePropertiesSchema),\n heading4: Type.Optional(StylePropertiesSchema),\n heading5: Type.Optional(StylePropertiesSchema),\n heading6: Type.Optional(StylePropertiesSchema),\n title: Type.Optional(StylePropertiesSchema),\n subtitle: Type.Optional(StylePropertiesSchema),\n // TOC entry styles (used by Word to format TOC entries)\n // Note: TOC styles use TocStylePropertiesSchema which excludes baseStyle to prevent coupling with Headings\n TOC1: Type.Optional(TocStylePropertiesSchema),\n TOC2: Type.Optional(TocStylePropertiesSchema),\n TOC3: Type.Optional(TocStylePropertiesSchema),\n TOC4: Type.Optional(TocStylePropertiesSchema),\n TOC5: Type.Optional(TocStylePropertiesSchema),\n TOC6: Type.Optional(TocStylePropertiesSchema),\n },\n {\n additionalProperties: StylePropertiesSchema,\n description:\n 'Style definitions supporting predefined styles (normal, heading1..6, title, subtitle), TOC entry styles (TOC1..TOC6), and arbitrary custom styles.',\n }\n);\n\n// ============================================================================\n// Heading Definition Schema\n// ============================================================================\n\n/**\n * Heading definition schema that uses the same properties as StylePropertiesSchema\n * but adds a required 'level' field.\n */\nexport const HeadingDefinitionSchema = Type.Object(\n {\n level: Type.Union([\n Type.Literal(1),\n Type.Literal(2),\n Type.Literal(3),\n Type.Literal(4),\n Type.Literal(5),\n Type.Literal(6),\n ]),\n ...StylePropertiesSchema.properties,\n },\n { additionalProperties: false }\n);\n\n// ============================================================================\n// Component Defaults Schemas (imported from component-defaults.ts to avoid\n// circular deps: report.ts needs ComponentDefaultsSchema, but the old location\n// here imported from the components barrel which re-exports report.ts)\n// ============================================================================\n\nimport { ComponentDefaultsSchema } from './component-defaults';\n\nexport {\n HeadingComponentDefaultsSchema,\n ParagraphComponentDefaultsSchema,\n ImageComponentDefaultsSchema,\n StatisticComponentDefaultsSchema,\n TableComponentDefaultsSchema,\n SectionComponentDefaultsSchema,\n ColumnsComponentDefaultsSchema,\n ListComponentDefaultsSchema,\n ComponentDefaultsSchema,\n} from './component-defaults';\n\n// ============================================================================\n// Theme Config Schema\n// ============================================================================\n\nexport const ThemeColorsSchema = Type.Object(\n {\n primary: HexColorSchema,\n secondary: HexColorSchema,\n accent: HexColorSchema,\n text: HexColorSchema,\n background: HexColorSchema,\n border: HexColorSchema,\n // Additional semantic color names\n textPrimary: HexColorSchema,\n textSecondary: HexColorSchema,\n textMuted: HexColorSchema,\n borderPrimary: HexColorSchema,\n borderSecondary: HexColorSchema,\n backgroundPrimary: HexColorSchema,\n backgroundSecondary: HexColorSchema,\n // Extra chart-series slots, named to match the PPTX theme so both\n // formats share one palette vocabulary. Optional: the bundled DOCX\n // themes leave them unset and charts skip the empty slots.\n accent4: Type.Optional(HexColorSchema),\n accent5: Type.Optional(HexColorSchema),\n accent6: Type.Optional(HexColorSchema),\n },\n { additionalProperties: false }\n);\n\nexport const ThemeOverridesSchema = Type.Object(\n {\n colors: Type.Optional(Type.Partial(ThemeColorsSchema)),\n fonts: Type.Optional(Type.Partial(FontsSchema)),\n styles: Type.Optional(StyleDefinitionsSchema),\n },\n {\n additionalProperties: false,\n description:\n 'Partial theme deep-merged over the resolved named theme: define or override palette tokens, font roles, and named styles in-document.',\n }\n);\n\nexport const ThemeConfigSchema = Type.Object(\n {\n $schema: Type.Optional(Type.String()),\n name: Type.String(),\n displayName: Type.String(),\n description: Type.String(),\n version: Type.String(),\n colors: Type.Object(\n {\n primary: HexColorSchema,\n secondary: HexColorSchema,\n accent: HexColorSchema,\n text: HexColorSchema,\n background: HexColorSchema,\n border: HexColorSchema,\n // Additional semantic color names\n textPrimary: HexColorSchema,\n textSecondary: HexColorSchema,\n textMuted: HexColorSchema,\n borderPrimary: HexColorSchema,\n borderSecondary: HexColorSchema,\n backgroundPrimary: HexColorSchema,\n backgroundSecondary: HexColorSchema,\n // Extra chart-series slots, named to match the PPTX theme so both\n // formats share one palette vocabulary. Optional: the bundled DOCX\n // themes leave them unset and charts skip the empty slots.\n accent4: Type.Optional(HexColorSchema),\n accent5: Type.Optional(HexColorSchema),\n accent6: Type.Optional(HexColorSchema),\n },\n { additionalProperties: false }\n ),\n fonts: FontsSchema,\n fontRegistry: Type.Optional(FontRegistrySchema),\n page: PageSchema,\n styles: Type.Optional(StyleDefinitionsSchema),\n componentDefaults: Type.Optional(ComponentDefaultsSchema),\n // House-style \"known words\" allowlist (whole-word, case-insensitive) that\n // should never be flagged as misspelled. The document's `noProofWords` is\n // merged on top of this at render time.\n noProofWords: Type.Optional(\n Type.Array(Type.String({ minLength: 1 }), {\n description:\n 'Words that should never be flagged as misspelled (whole-word, case-insensitive).',\n })\n ),\n },\n {\n additionalProperties: false,\n description: 'Theme configuration',\n }\n);\n\n// ============================================================================\n// TypeScript Types\n// ============================================================================\n\nexport type ThemeConfigJson = Static<typeof ThemeConfigSchema>;\nexport type DocumentMargins = Static<typeof DocumentMarginsSchema>;\nexport type PageDimensions = Static<typeof PageDimensionsSchema>;\nexport type Page = Static<typeof PageSchema>;\nexport type FontDefinition = Static<typeof FontDefinitionSchema>;\nexport type Fonts = Static<typeof FontsSchema>;\nexport type StyleDefinitions = Static<typeof StyleDefinitionsSchema>;\nexport type HeadingDefinition = Static<typeof HeadingDefinitionSchema>;\nexport type {\n HeadingComponentDefaults,\n ParagraphComponentDefaults,\n ImageComponentDefaults,\n StatisticComponentDefaults,\n TableComponentDefaults,\n SectionComponentDefaults,\n ColumnsComponentDefaults,\n ListComponentDefaults,\n ComponentDefaults,\n} from './component-defaults';\n\n// ============================================================================\n// Validation Function\n// ============================================================================\n\nimport { Value } from '@sinclair/typebox/value';\n\nexport function isValidThemeConfig(data: unknown): data is ThemeConfigJson {\n return Value.Check(ThemeConfigSchema, data);\n}\n\n// ============================================================================\n// Minimal Theme Scaffold\n// ============================================================================\n\n/**\n * Build a schema-complete theme to start from.\n *\n * Lives next to `ThemeConfigSchema` on purpose: the return type is the schema's\n * `Static` type, so a required property added to the schema breaks the build\n * here instead of shipping a scaffold that only fails at validation time.\n * Colour patterns are runtime-only, so `theme-scaffold.test.ts` validates the\n * result against the schema as well.\n *\n * Browser-safe (no Node built-ins), so the playground can scaffold new themes\n * from the same source as the CLI.\n *\n * @param name - Theme identifier; defaults to `minimal-theme`\n */\nexport function createMinimalTheme(\n name: string = 'minimal-theme'\n): ThemeConfigJson {\n return {\n name,\n displayName:\n name\n .split(/[-_\\s]+/)\n .filter(Boolean)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ') || name,\n description: 'A minimal theme with basic styling',\n version: '1.0.0',\n colors: {\n primary: '#2563EB',\n secondary: '#64748B',\n accent: '#F8FAFC',\n text: '#334155',\n background: '#FFFFFF',\n border: '#E2E8F0',\n textPrimary: '#334155',\n textSecondary: '#64748B',\n textMuted: '#94A3B8',\n borderPrimary: '#CBD5E1',\n borderSecondary: '#E2E8F0',\n backgroundPrimary: '#FFFFFF',\n backgroundSecondary: '#F8FAFC',\n },\n fonts: {\n heading: { family: 'Arial', size: 14 },\n body: { family: 'Arial', size: 11 },\n mono: { family: 'Courier New', size: 10 },\n light: { family: 'Arial', size: 10 },\n },\n page: {\n size: 'A4',\n margins: {\n top: 1440,\n bottom: 1440,\n left: 1440,\n right: 1440,\n header: 720,\n footer: 720,\n gutter: 0,\n },\n },\n styles: {\n normal: {\n font: 'body',\n size: 11,\n color: '#334155',\n alignment: 'left',\n lineSpacing: { type: 'multiple', value: 1.15 },\n spacing: { after: 8 },\n },\n },\n };\n}\n"],"mappings":";;;;;;;;;;;AAKA,SAAS,YAAoB;AAC7B,SAAS,0BAA0B;AAyfnC,SAAS,aAAa;AA7ef,IAAM,wBAAwB,KAAK;AAAA,EACxC;AAAA,IACE,KAAK,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IAC/B,QAAQ,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IAClC,MAAM,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IAChC,OAAO,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IACjC,QAAQ,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IAClC,QAAQ,KAAK,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA,IAClC,Q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AAE,YAAY,IAAI,KAAK,MAAM,CAAC,CAAC,EAC1D,KAAK,GAAG,KAAK;AAAA,IAClB,aAAa;AAAA,IACb,SAAS;AAAA,IACT,QAAQ;AAAA,MACN,SAAS;AAAA,MACT,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,eAAe;AAAA,MACf,WAAW;AAAA,MACX,eAAe;AAAA,MACf,iBAAiB;AAAA,MACjB,mBAAmB;AAAA,MACnB,qBAAqB;AAAA,IACvB;AAAA,IACA,OAAO;AAAA,MACL,SAAS,EAAE,QAAQ,SAAS,MAAM,GAAG;AAAA,MACrC,MAAM,EAAE,QAAQ,SAAS,MAAM,GAAG;AAAA,MAClC,MAAM,EAAE,QAAQ,eAAe,MAAM,GAAG;AAAA,MACxC,OAAO,EAAE,QAAQ,SAAS,MAAM,GAAG;AAAA,IACrC;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,QACP,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,IACA,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,aAAa,EAAE,MAAM,YAAY,OAAO,KAAK;AAAA,QAC7C,SAAS,EAAE,OAAO,EAAE;AAAA,MACtB;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
package/dist/index.d.ts CHANGED
@@ -298,6 +298,16 @@ type DataTransformer<T = any> = (data: any) => T;
298
298
  declare const COMPONENT_SCHEMA_MAP: {
299
299
  readonly report: _sinclair_typebox.TObject<{
300
300
  theme: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
301
+ /**
302
+ * Core validation engine
303
+ * @module validation/core/validator
304
+ * @description
305
+ * Main validation utilities using TypeBox for runtime validation.
306
+ * Provides comprehensive validation with error handling and data transformation.
307
+ */
308
+ /**
309
+ * Component name to schema mapping
310
+ */
301
311
  themeOverrides: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
302
312
  colors: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
303
313
  primary: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -1424,6 +1434,41 @@ declare const COMPONENT_SCHEMA_MAP: {
1424
1434
  }>>;
1425
1435
  }>>;
1426
1436
  }>>;
1437
+ fontRegistry: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
1438
+ id: _sinclair_typebox.TString;
1439
+ family: _sinclair_typebox.TString;
1440
+ category: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sans">, _sinclair_typebox.TLiteral<"serif">, _sinclair_typebox.TLiteral<"mono">, _sinclair_typebox.TLiteral<"display">, _sinclair_typebox.TLiteral<"handwriting">]>>;
1441
+ sources: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
1442
+ kind: _sinclair_typebox.TLiteral<"safe">;
1443
+ family: _sinclair_typebox.TString;
1444
+ }>, _sinclair_typebox.TObject<{
1445
+ kind: _sinclair_typebox.TLiteral<"google">;
1446
+ family: _sinclair_typebox.TString;
1447
+ weights: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
1448
+ italics: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1449
+ }>, _sinclair_typebox.TObject<{
1450
+ kind: _sinclair_typebox.TLiteral<"file">;
1451
+ path: _sinclair_typebox.TString;
1452
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1453
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1454
+ }>, _sinclair_typebox.TObject<{
1455
+ kind: _sinclair_typebox.TLiteral<"data">;
1456
+ data: _sinclair_typebox.TString;
1457
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1458
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1459
+ }>, _sinclair_typebox.TObject<{
1460
+ kind: _sinclair_typebox.TLiteral<"url">;
1461
+ url: _sinclair_typebox.TString;
1462
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1463
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1464
+ }>, _sinclair_typebox.TObject<{
1465
+ kind: _sinclair_typebox.TLiteral<"variable">;
1466
+ url: _sinclair_typebox.TString;
1467
+ weight: _sinclair_typebox.TNumber;
1468
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1469
+ axes: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TNumber>>;
1470
+ }>]>>;
1471
+ }>>>;
1427
1472
  componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1428
1473
  heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1429
1474
  text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -1644,6 +1689,7 @@ declare const COMPONENT_SCHEMA_MAP: {
1644
1689
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
1645
1690
  text: _sinclair_typebox.TString;
1646
1691
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1692
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1647
1693
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1648
1694
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1649
1695
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -1972,6 +2018,7 @@ declare const COMPONENT_SCHEMA_MAP: {
1972
2018
  items: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
1973
2019
  text: _sinclair_typebox.TString;
1974
2020
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2021
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1975
2022
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1976
2023
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1977
2024
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateUnifiedDocumentSchema
3
- } from "./chunk-PSVJL2G3.js";
3
+ } from "./chunk-GGAJWGDI.js";
4
4
  import {
5
5
  ERROR_TEMPLATES,
6
6
  componentValidator,
@@ -31,17 +31,17 @@ import {
31
31
  validateTheme,
32
32
  validateThemeJson,
33
33
  validateThemeWithEnhancement
34
- } from "./chunk-VRGM2FUX.js";
34
+ } from "./chunk-HMNKQ7BT.js";
35
35
  import {
36
36
  GenerateDocumentRequestSchema,
37
37
  GenerateDocumentResponseSchema,
38
38
  ValidateDocumentRequestSchema,
39
39
  ValidateDocumentResponseSchema
40
- } from "./chunk-FG6SI4JG.js";
40
+ } from "./chunk-OUSJFBMX.js";
41
41
  import {
42
42
  JSON_SCHEMA_URLS,
43
43
  JsonComponentDefinitionSchema
44
- } from "./chunk-SZCMTHGI.js";
44
+ } from "./chunk-K367M7TI.js";
45
45
  import {
46
46
  collectIndentConflicts,
47
47
  collectNoteRevisionConflicts,
@@ -65,11 +65,11 @@ import {
65
65
  validateJsonComponent,
66
66
  validateJsonDocument,
67
67
  validateWithEnhancement
68
- } from "./chunk-NJN6UT3A.js";
68
+ } from "./chunk-HYY4ZOYL.js";
69
69
  import {
70
70
  ComponentDefinitionSchema,
71
71
  StandardComponentDefinitionSchema
72
- } from "./chunk-K7PV4XUA.js";
72
+ } from "./chunk-K2LA6WCD.js";
73
73
  import {
74
74
  CustomComponentDefinitionSchema,
75
75
  TextSpaceAfterComponentSchema,
@@ -83,7 +83,7 @@ import {
83
83
  createComponentSchema,
84
84
  exportSchemaToFile,
85
85
  fixSchemaReferences
86
- } from "./chunk-Y2ME2XH6.js";
86
+ } from "./chunk-WDRYTKHA.js";
87
87
  import {
88
88
  HighchartsPropsSchema,
89
89
  ReportPropsSchema,
@@ -95,12 +95,12 @@ import {
95
95
  VisualPropsSchema,
96
96
  getAllStandardComponentNames,
97
97
  getStandardComponent
98
- } from "./chunk-Z5WQPM4B.js";
98
+ } from "./chunk-WOFU72HH.js";
99
99
  import {
100
100
  ThemeConfigSchema,
101
101
  createMinimalTheme,
102
102
  isValidThemeConfig
103
- } from "./chunk-CQHH44HX.js";
103
+ } from "./chunk-ZC2I7CTZ.js";
104
104
  import {
105
105
  AlignmentSchema,
106
106
  BaseComponentPropsSchema,
@@ -134,7 +134,7 @@ import {
134
134
  TabStopTypeSchema,
135
135
  TabStopsSchema,
136
136
  TablePropsSchema
137
- } from "./chunk-436TK3T4.js";
137
+ } from "./chunk-2YUAD26Q.js";
138
138
  import "./chunk-7TTAAYQ5.js";
139
139
 
140
140
  // src/diff/word-diff.ts
@@ -3,11 +3,11 @@ import {
3
3
  GenerateDocumentResponseSchema,
4
4
  ValidateDocumentRequestSchema,
5
5
  ValidateDocumentResponseSchema
6
- } from "../chunk-FG6SI4JG.js";
7
- import "../chunk-K7PV4XUA.js";
8
- import "../chunk-Z5WQPM4B.js";
9
- import "../chunk-CQHH44HX.js";
10
- import "../chunk-436TK3T4.js";
6
+ } from "../chunk-OUSJFBMX.js";
7
+ import "../chunk-K2LA6WCD.js";
8
+ import "../chunk-WOFU72HH.js";
9
+ import "../chunk-ZC2I7CTZ.js";
10
+ import "../chunk-2YUAD26Q.js";
11
11
  import "../chunk-7TTAAYQ5.js";
12
12
  export {
13
13
  GenerateDocumentRequestSchema,
@@ -251,6 +251,7 @@ declare const ListComponentDefaultsSchema: _sinclair_typebox.TObject<{
251
251
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
252
252
  text: _sinclair_typebox.TString;
253
253
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
254
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
254
255
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
255
256
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
256
257
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -513,6 +514,7 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
513
514
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
514
515
  text: _sinclair_typebox.TString;
515
516
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
517
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
516
518
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
517
519
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
518
520
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -9,7 +9,7 @@ import {
9
9
  SectionComponentDefaultsSchema,
10
10
  StatisticComponentDefaultsSchema,
11
11
  TableComponentDefaultsSchema
12
- } from "../chunk-436TK3T4.js";
12
+ } from "../chunk-2YUAD26Q.js";
13
13
  import "../chunk-7TTAAYQ5.js";
14
14
  export {
15
15
  ColumnsComponentDefaultsSchema,
@@ -9,9 +9,9 @@ import {
9
9
  getContentComponents,
10
10
  getStandardComponent,
11
11
  isStandardComponent
12
- } from "../chunk-Z5WQPM4B.js";
13
- import "../chunk-CQHH44HX.js";
14
- import "../chunk-436TK3T4.js";
12
+ } from "../chunk-WOFU72HH.js";
13
+ import "../chunk-ZC2I7CTZ.js";
14
+ import "../chunk-2YUAD26Q.js";
15
15
  import "../chunk-7TTAAYQ5.js";
16
16
  export {
17
17
  STANDARD_COMPONENTS_REGISTRY,
@@ -1313,6 +1313,41 @@ declare const createReportPropsSchema: (_componentRef?: TSchema) => _sinclair_ty
1313
1313
  }>>;
1314
1314
  }>>;
1315
1315
  }>>;
1316
+ fontRegistry: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
1317
+ id: _sinclair_typebox.TString;
1318
+ family: _sinclair_typebox.TString;
1319
+ category: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sans">, _sinclair_typebox.TLiteral<"serif">, _sinclair_typebox.TLiteral<"mono">, _sinclair_typebox.TLiteral<"display">, _sinclair_typebox.TLiteral<"handwriting">]>>;
1320
+ sources: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
1321
+ kind: _sinclair_typebox.TLiteral<"safe">;
1322
+ family: _sinclair_typebox.TString;
1323
+ }>, _sinclair_typebox.TObject<{
1324
+ kind: _sinclair_typebox.TLiteral<"google">;
1325
+ family: _sinclair_typebox.TString;
1326
+ weights: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
1327
+ italics: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1328
+ }>, _sinclair_typebox.TObject<{
1329
+ kind: _sinclair_typebox.TLiteral<"file">;
1330
+ path: _sinclair_typebox.TString;
1331
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1332
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1333
+ }>, _sinclair_typebox.TObject<{
1334
+ kind: _sinclair_typebox.TLiteral<"data">;
1335
+ data: _sinclair_typebox.TString;
1336
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1337
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1338
+ }>, _sinclair_typebox.TObject<{
1339
+ kind: _sinclair_typebox.TLiteral<"url">;
1340
+ url: _sinclair_typebox.TString;
1341
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1342
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1343
+ }>, _sinclair_typebox.TObject<{
1344
+ kind: _sinclair_typebox.TLiteral<"variable">;
1345
+ url: _sinclair_typebox.TString;
1346
+ weight: _sinclair_typebox.TNumber;
1347
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
1348
+ axes: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TNumber>>;
1349
+ }>]>>;
1350
+ }>>>;
1316
1351
  componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1317
1352
  heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1318
1353
  text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -1533,6 +1568,7 @@ declare const createReportPropsSchema: (_componentRef?: TSchema) => _sinclair_ty
1533
1568
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
1534
1569
  text: _sinclair_typebox.TString;
1535
1570
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
1571
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1536
1572
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1537
1573
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1538
1574
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -2718,6 +2754,41 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
2718
2754
  }>>;
2719
2755
  }>>;
2720
2756
  }>>;
2757
+ fontRegistry: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
2758
+ id: _sinclair_typebox.TString;
2759
+ family: _sinclair_typebox.TString;
2760
+ category: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sans">, _sinclair_typebox.TLiteral<"serif">, _sinclair_typebox.TLiteral<"mono">, _sinclair_typebox.TLiteral<"display">, _sinclair_typebox.TLiteral<"handwriting">]>>;
2761
+ sources: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
2762
+ kind: _sinclair_typebox.TLiteral<"safe">;
2763
+ family: _sinclair_typebox.TString;
2764
+ }>, _sinclair_typebox.TObject<{
2765
+ kind: _sinclair_typebox.TLiteral<"google">;
2766
+ family: _sinclair_typebox.TString;
2767
+ weights: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
2768
+ italics: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2769
+ }>, _sinclair_typebox.TObject<{
2770
+ kind: _sinclair_typebox.TLiteral<"file">;
2771
+ path: _sinclair_typebox.TString;
2772
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2773
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2774
+ }>, _sinclair_typebox.TObject<{
2775
+ kind: _sinclair_typebox.TLiteral<"data">;
2776
+ data: _sinclair_typebox.TString;
2777
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2778
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2779
+ }>, _sinclair_typebox.TObject<{
2780
+ kind: _sinclair_typebox.TLiteral<"url">;
2781
+ url: _sinclair_typebox.TString;
2782
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2783
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2784
+ }>, _sinclair_typebox.TObject<{
2785
+ kind: _sinclair_typebox.TLiteral<"variable">;
2786
+ url: _sinclair_typebox.TString;
2787
+ weight: _sinclair_typebox.TNumber;
2788
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2789
+ axes: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TNumber>>;
2790
+ }>]>>;
2791
+ }>>>;
2721
2792
  componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
2722
2793
  heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
2723
2794
  text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -2938,6 +3009,7 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
2938
3009
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
2939
3010
  text: _sinclair_typebox.TString;
2940
3011
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3012
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
2941
3013
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
2942
3014
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
2943
3015
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -3578,6 +3650,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3578
3650
  fill: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3579
3651
  fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3580
3652
  fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3653
+ fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3581
3654
  color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3582
3655
  align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
3583
3656
  valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
@@ -3643,6 +3716,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3643
3716
  titleFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3644
3717
  titleColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3645
3718
  titleFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3719
+ titleFontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3646
3720
  chartColors: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
3647
3721
  dataBorder: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3648
3722
  pt: _sinclair_typebox.TNumber;
@@ -3651,6 +3725,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3651
3725
  legendPos: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"tr">]>>;
3652
3726
  legendFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3653
3727
  legendFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3728
+ legendFontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3654
3729
  legendColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3655
3730
  catAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3656
3731
  catAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
@@ -3658,6 +3733,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3658
3733
  catAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3659
3734
  catAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3660
3735
  catAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3736
+ catAxisLabelFontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3661
3737
  catGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3662
3738
  style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
3663
3739
  size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
@@ -3671,6 +3747,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3671
3747
  valAxisMajorUnit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3672
3748
  valAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3673
3749
  valAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3750
+ valAxisLabelFontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3674
3751
  valAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3675
3752
  valGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3676
3753
  style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
@@ -3693,6 +3770,7 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
3693
3770
  dataLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3694
3771
  dataLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3695
3772
  dataLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3773
+ dataLabelFontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
3696
3774
  dataLabelFontBold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
3697
3775
  dataLabelPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"bestFit">, _sinclair_typebox.TLiteral<"ctr">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"inEnd">, _sinclair_typebox.TLiteral<"outEnd">]>>;
3698
3776
  x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
@@ -3825,6 +3903,7 @@ declare const ListPropsSchema: _sinclair_typebox.TObject<{
3825
3903
  items: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
3826
3904
  text: _sinclair_typebox.TString;
3827
3905
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3906
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3828
3907
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3829
3908
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3830
3909
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -3926,6 +4005,7 @@ type TocProps = Static<typeof TocPropsSchema>;
3926
4005
  declare const TextBoxPropsSchema: _sinclair_typebox.TObject<{
3927
4006
  width: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
3928
4007
  height: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
4008
+ renderAs: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"table">, _sinclair_typebox.TLiteral<"shape">]>>;
3929
4009
  floating: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3930
4010
  horizontalPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3931
4011
  relative: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"character">, _sinclair_typebox.TLiteral<"column">, _sinclair_typebox.TLiteral<"margin">, _sinclair_typebox.TLiteral<"page">, _sinclair_typebox.TLiteral<"text">]>>;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ComponentDefinitionSchema,
3
3
  StandardComponentDefinitionSchema
4
- } from "../chunk-K7PV4XUA.js";
4
+ } from "../chunk-K2LA6WCD.js";
5
5
  import {
6
6
  HighchartsPropsSchema,
7
7
  ReportPropsSchema,
@@ -15,8 +15,8 @@ import {
15
15
  VisualCanvasSchema,
16
16
  VisualPropsSchema,
17
17
  createReportPropsSchema
18
- } from "../chunk-Z5WQPM4B.js";
19
- import "../chunk-CQHH44HX.js";
18
+ } from "../chunk-WOFU72HH.js";
19
+ import "../chunk-ZC2I7CTZ.js";
20
20
  import {
21
21
  AlignmentSchema,
22
22
  BaseComponentFields,
@@ -63,7 +63,7 @@ import {
63
63
  VerticalPositionRelativeFromSchema,
64
64
  createSectionPropsSchema,
65
65
  createTablePropsSchema
66
- } from "../chunk-436TK3T4.js";
66
+ } from "../chunk-2YUAD26Q.js";
67
67
  import "../chunk-7TTAAYQ5.js";
68
68
  export {
69
69
  AlignmentSchema,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  JSON_SCHEMA_URLS,
3
3
  JsonComponentDefinitionSchema
4
- } from "../chunk-SZCMTHGI.js";
4
+ } from "../chunk-K367M7TI.js";
5
5
  import {
6
6
  validateDocumentWithSchema,
7
7
  validateJsonComponent
8
- } from "../chunk-NJN6UT3A.js";
9
- import "../chunk-K7PV4XUA.js";
8
+ } from "../chunk-HYY4ZOYL.js";
9
+ import "../chunk-K2LA6WCD.js";
10
10
  import "../chunk-7GGTZ4TA.js";
11
- import "../chunk-Z5WQPM4B.js";
12
- import "../chunk-CQHH44HX.js";
13
- import "../chunk-436TK3T4.js";
11
+ import "../chunk-WOFU72HH.js";
12
+ import "../chunk-ZC2I7CTZ.js";
13
+ import "../chunk-2YUAD26Q.js";
14
14
  import "../chunk-7TTAAYQ5.js";
15
15
  export {
16
16
  JSON_SCHEMA_URLS,
@@ -6,10 +6,10 @@ import {
6
6
  createComponentSchema,
7
7
  exportSchemaToFile,
8
8
  fixSchemaReferences
9
- } from "../chunk-Y2ME2XH6.js";
10
- import "../chunk-Z5WQPM4B.js";
11
- import "../chunk-CQHH44HX.js";
12
- import "../chunk-436TK3T4.js";
9
+ } from "../chunk-WDRYTKHA.js";
10
+ import "../chunk-WOFU72HH.js";
11
+ import "../chunk-ZC2I7CTZ.js";
12
+ import "../chunk-2YUAD26Q.js";
13
13
  import "../chunk-7TTAAYQ5.js";
14
14
  export {
15
15
  BASE_SCHEMA_METADATA,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generateUnifiedDocumentSchema
3
- } from "../chunk-PSVJL2G3.js";
4
- import "../chunk-Z5WQPM4B.js";
5
- import "../chunk-CQHH44HX.js";
6
- import "../chunk-436TK3T4.js";
3
+ } from "../chunk-GGAJWGDI.js";
4
+ import "../chunk-WOFU72HH.js";
5
+ import "../chunk-ZC2I7CTZ.js";
6
+ import "../chunk-2YUAD26Q.js";
7
7
  import "../chunk-7TTAAYQ5.js";
8
8
  export {
9
9
  generateUnifiedDocumentSchema
@@ -2467,6 +2467,41 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
2467
2467
  family: _sinclair_typebox.TString;
2468
2468
  }>;
2469
2469
  }>;
2470
+ fontRegistry: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
2471
+ id: _sinclair_typebox.TString;
2472
+ family: _sinclair_typebox.TString;
2473
+ category: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sans">, _sinclair_typebox.TLiteral<"serif">, _sinclair_typebox.TLiteral<"mono">, _sinclair_typebox.TLiteral<"display">, _sinclair_typebox.TLiteral<"handwriting">]>>;
2474
+ sources: _sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
2475
+ kind: _sinclair_typebox.TLiteral<"safe">;
2476
+ family: _sinclair_typebox.TString;
2477
+ }>, _sinclair_typebox.TObject<{
2478
+ kind: _sinclair_typebox.TLiteral<"google">;
2479
+ family: _sinclair_typebox.TString;
2480
+ weights: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
2481
+ italics: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2482
+ }>, _sinclair_typebox.TObject<{
2483
+ kind: _sinclair_typebox.TLiteral<"file">;
2484
+ path: _sinclair_typebox.TString;
2485
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2486
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2487
+ }>, _sinclair_typebox.TObject<{
2488
+ kind: _sinclair_typebox.TLiteral<"data">;
2489
+ data: _sinclair_typebox.TString;
2490
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2491
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2492
+ }>, _sinclair_typebox.TObject<{
2493
+ kind: _sinclair_typebox.TLiteral<"url">;
2494
+ url: _sinclair_typebox.TString;
2495
+ weight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2496
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2497
+ }>, _sinclair_typebox.TObject<{
2498
+ kind: _sinclair_typebox.TLiteral<"variable">;
2499
+ url: _sinclair_typebox.TString;
2500
+ weight: _sinclair_typebox.TNumber;
2501
+ italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
2502
+ axes: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TNumber>>;
2503
+ }>]>>;
2504
+ }>>>;
2470
2505
  page: _sinclair_typebox.TObject<{
2471
2506
  size: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"A4">, _sinclair_typebox.TLiteral<"A3">, _sinclair_typebox.TLiteral<"LETTER">, _sinclair_typebox.TLiteral<"LEGAL">, _sinclair_typebox.TObject<{
2472
2507
  width: _sinclair_typebox.TNumber;
@@ -3635,6 +3670,9 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
3635
3670
  floating: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3636
3671
  horizontalPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3637
3672
  relative: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"character">, _sinclair_typebox.TLiteral<"column">, _sinclair_typebox.TLiteral<"margin">, _sinclair_typebox.TLiteral<"page">, _sinclair_typebox.TLiteral<"text">]>>;
3673
+ /**
3674
+ * Tab stop definition schema
3675
+ */
3638
3676
  align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"inside">, _sinclair_typebox.TLiteral<"outside">]>>;
3639
3677
  offset: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
3640
3678
  }>>;
@@ -3718,6 +3756,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
3718
3756
  items: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
3719
3757
  text: _sinclair_typebox.TString;
3720
3758
  level: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
3759
+ id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3721
3760
  revision: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
3722
3761
  author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
3723
3762
  date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
@@ -10,7 +10,7 @@ import {
10
10
  ThemeOverridesSchema,
11
11
  createMinimalTheme,
12
12
  isValidThemeConfig
13
- } from "../chunk-CQHH44HX.js";
13
+ } from "../chunk-ZC2I7CTZ.js";
14
14
  import {
15
15
  ColumnsComponentDefaultsSchema,
16
16
  ComponentDefaultsSchema,
@@ -21,7 +21,7 @@ import {
21
21
  SectionComponentDefaultsSchema,
22
22
  StatisticComponentDefaultsSchema,
23
23
  TableComponentDefaultsSchema
24
- } from "../chunk-436TK3T4.js";
24
+ } from "../chunk-2YUAD26Q.js";
25
25
  import "../chunk-7TTAAYQ5.js";
26
26
  export {
27
27
  ColumnsComponentDefaultsSchema,