document-model.js 4.3.0 → 4.3.2

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/codec.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-BmqzegMG.cjs";
1
+ import { m as ContentDocument } from "./content-B7b_P3FC.cjs";
2
2
  //#region src/codec.d.ts
3
3
  interface ContentCodec<TOptions = unknown> {
4
4
  read(bytes: Uint8Array, options?: TOptions): ContentDocument;
package/dist/codec.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-CIwPb_yh.js";
1
+ import { m as ContentDocument } from "./content-Dn7uoJFG.js";
2
2
  //#region src/codec.d.ts
3
3
  interface ContentCodec<TOptions = unknown> {
4
4
  read(bytes: Uint8Array, options?: TOptions): ContentDocument;
@@ -1,5 +1,5 @@
1
1
  import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
2
- import { s as MathExpression } from "./math-B7gZJeND.cjs";
2
+ import { s as MathExpression } from "./math-BlG8Tjk-.cjs";
3
3
  import { n as Color } from "./color-AELCDH_b.cjs";
4
4
  import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.cjs";
5
5
  import { z } from "zod";
@@ -1668,9 +1668,9 @@ declare const contentDocumentSharedFields: {
1668
1668
  symbol: z.ZodString;
1669
1669
  name: z.ZodOptional<z.ZodString>;
1670
1670
  dimension: z.ZodRecord<z.ZodEnum<{
1671
- time: "time";
1672
1671
  length: "length";
1673
1672
  mass: "mass";
1673
+ time: "time";
1674
1674
  electricCurrent: "electricCurrent";
1675
1675
  thermodynamicTemperature: "thermodynamicTemperature";
1676
1676
  amountOfSubstance: "amountOfSubstance";
@@ -1726,9 +1726,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1726
1726
  symbol: z.ZodString;
1727
1727
  name: z.ZodOptional<z.ZodString>;
1728
1728
  dimension: z.ZodRecord<z.ZodEnum<{
1729
- time: "time";
1730
1729
  length: "length";
1731
1730
  mass: "mass";
1731
+ time: "time";
1732
1732
  electricCurrent: "electricCurrent";
1733
1733
  thermodynamicTemperature: "thermodynamicTemperature";
1734
1734
  amountOfSubstance: "amountOfSubstance";
@@ -1814,9 +1814,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1814
1814
  symbol: z.ZodString;
1815
1815
  name: z.ZodOptional<z.ZodString>;
1816
1816
  dimension: z.ZodRecord<z.ZodEnum<{
1817
- time: "time";
1818
1817
  length: "length";
1819
1818
  mass: "mass";
1819
+ time: "time";
1820
1820
  electricCurrent: "electricCurrent";
1821
1821
  thermodynamicTemperature: "thermodynamicTemperature";
1822
1822
  amountOfSubstance: "amountOfSubstance";
@@ -2103,9 +2103,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2103
2103
  symbol: z.ZodString;
2104
2104
  name: z.ZodOptional<z.ZodString>;
2105
2105
  dimension: z.ZodRecord<z.ZodEnum<{
2106
- time: "time";
2107
2106
  length: "length";
2108
2107
  mass: "mass";
2108
+ time: "time";
2109
2109
  electricCurrent: "electricCurrent";
2110
2110
  thermodynamicTemperature: "thermodynamicTemperature";
2111
2111
  amountOfSubstance: "amountOfSubstance";
@@ -2367,9 +2367,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2367
2367
  symbol: z.ZodString;
2368
2368
  name: z.ZodOptional<z.ZodString>;
2369
2369
  dimension: z.ZodRecord<z.ZodEnum<{
2370
- time: "time";
2371
2370
  length: "length";
2372
2371
  mass: "mass";
2372
+ time: "time";
2373
2373
  electricCurrent: "electricCurrent";
2374
2374
  thermodynamicTemperature: "thermodynamicTemperature";
2375
2375
  amountOfSubstance: "amountOfSubstance";
@@ -2435,9 +2435,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2435
2435
  symbol: z.ZodString;
2436
2436
  name: z.ZodOptional<z.ZodString>;
2437
2437
  dimension: z.ZodRecord<z.ZodEnum<{
2438
- time: "time";
2439
2438
  length: "length";
2440
2439
  mass: "mass";
2440
+ time: "time";
2441
2441
  electricCurrent: "electricCurrent";
2442
2442
  thermodynamicTemperature: "thermodynamicTemperature";
2443
2443
  amountOfSubstance: "amountOfSubstance";
@@ -1,5 +1,5 @@
1
1
  import { d as MathMlNode } from "./mathml-B1oTCtzc.js";
2
- import { s as MathExpression } from "./math-B7gZJeND.js";
2
+ import { s as MathExpression } from "./math-BlG8Tjk-.js";
3
3
  import { n as Color } from "./color-AELCDH_b.js";
4
4
  import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.js";
5
5
  import { z } from "zod";
@@ -1668,9 +1668,9 @@ declare const contentDocumentSharedFields: {
1668
1668
  symbol: z.ZodString;
1669
1669
  name: z.ZodOptional<z.ZodString>;
1670
1670
  dimension: z.ZodRecord<z.ZodEnum<{
1671
- time: "time";
1672
1671
  length: "length";
1673
1672
  mass: "mass";
1673
+ time: "time";
1674
1674
  electricCurrent: "electricCurrent";
1675
1675
  thermodynamicTemperature: "thermodynamicTemperature";
1676
1676
  amountOfSubstance: "amountOfSubstance";
@@ -1726,9 +1726,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1726
1726
  symbol: z.ZodString;
1727
1727
  name: z.ZodOptional<z.ZodString>;
1728
1728
  dimension: z.ZodRecord<z.ZodEnum<{
1729
- time: "time";
1730
1729
  length: "length";
1731
1730
  mass: "mass";
1731
+ time: "time";
1732
1732
  electricCurrent: "electricCurrent";
1733
1733
  thermodynamicTemperature: "thermodynamicTemperature";
1734
1734
  amountOfSubstance: "amountOfSubstance";
@@ -1814,9 +1814,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1814
1814
  symbol: z.ZodString;
1815
1815
  name: z.ZodOptional<z.ZodString>;
1816
1816
  dimension: z.ZodRecord<z.ZodEnum<{
1817
- time: "time";
1818
1817
  length: "length";
1819
1818
  mass: "mass";
1819
+ time: "time";
1820
1820
  electricCurrent: "electricCurrent";
1821
1821
  thermodynamicTemperature: "thermodynamicTemperature";
1822
1822
  amountOfSubstance: "amountOfSubstance";
@@ -2103,9 +2103,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2103
2103
  symbol: z.ZodString;
2104
2104
  name: z.ZodOptional<z.ZodString>;
2105
2105
  dimension: z.ZodRecord<z.ZodEnum<{
2106
- time: "time";
2107
2106
  length: "length";
2108
2107
  mass: "mass";
2108
+ time: "time";
2109
2109
  electricCurrent: "electricCurrent";
2110
2110
  thermodynamicTemperature: "thermodynamicTemperature";
2111
2111
  amountOfSubstance: "amountOfSubstance";
@@ -2367,9 +2367,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2367
2367
  symbol: z.ZodString;
2368
2368
  name: z.ZodOptional<z.ZodString>;
2369
2369
  dimension: z.ZodRecord<z.ZodEnum<{
2370
- time: "time";
2371
2370
  length: "length";
2372
2371
  mass: "mass";
2372
+ time: "time";
2373
2373
  electricCurrent: "electricCurrent";
2374
2374
  thermodynamicTemperature: "thermodynamicTemperature";
2375
2375
  amountOfSubstance: "amountOfSubstance";
@@ -2435,9 +2435,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2435
2435
  symbol: z.ZodString;
2436
2436
  name: z.ZodOptional<z.ZodString>;
2437
2437
  dimension: z.ZodRecord<z.ZodEnum<{
2438
- time: "time";
2439
2438
  length: "length";
2440
2439
  mass: "mass";
2440
+ time: "time";
2441
2441
  electricCurrent: "electricCurrent";
2442
2442
  thermodynamicTemperature: "thermodynamicTemperature";
2443
2443
  amountOfSubstance: "amountOfSubstance";
@@ -1,2 +1,2 @@
1
- import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-BmqzegMG.cjs";
1
+ import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-B7b_P3FC.cjs";
2
2
  export { ConstructMarkerImbalance, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart };
package/dist/content.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-CIwPb_yh.js";
1
+ import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-Dn7uoJFG.js";
2
2
  export { ConstructMarkerImbalance, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart };
@@ -1,5 +1,5 @@
1
- import { C as ContentFormula, U as ContentSheet, V as ContentShape, g as ContentDrawPage, j as ContentParagraph, m as ContentDocument, st as ContentSlide, t as ConstructMarkerImbalance, z as ContentSection } from "./content-BmqzegMG.cjs";
2
- import { B as SheetGroupNode, F as ShapeGroupNode, O as SectionGroupNode, W as SlideGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-a9CyRaD3.cjs";
1
+ import { C as ContentFormula, U as ContentSheet, V as ContentShape, g as ContentDrawPage, j as ContentParagraph, m as ContentDocument, st as ContentSlide, t as ConstructMarkerImbalance, z as ContentSection } from "./content-B7b_P3FC.cjs";
2
+ import { B as SheetGroupNode, F as ShapeGroupNode, O as SectionGroupNode, W as SlideGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-CC-FE2zS.cjs";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,5 @@
1
- import { C as ContentFormula, U as ContentSheet, V as ContentShape, g as ContentDrawPage, j as ContentParagraph, m as ContentDocument, st as ContentSlide, t as ConstructMarkerImbalance, z as ContentSection } from "./content-CIwPb_yh.js";
2
- import { B as SheetGroupNode, F as ShapeGroupNode, O as SectionGroupNode, W as SlideGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-C7RiYhyk.js";
1
+ import { C as ContentFormula, U as ContentSheet, V as ContentShape, g as ContentDrawPage, j as ContentParagraph, m as ContentDocument, st as ContentSlide, t as ConstructMarkerImbalance, z as ContentSection } from "./content-Dn7uoJFG.js";
2
+ import { B as SheetGroupNode, F as ShapeGroupNode, O as SectionGroupNode, W as SlideGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-DxdparRh.js";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,4 +1,4 @@
1
- import { L as ContentRun, j as ContentParagraph } from "./content-BmqzegMG.cjs";
1
+ import { L as ContentRun, j as ContentParagraph } from "./content-B7b_P3FC.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { L as ContentRun, j as ContentParagraph } from "./content-CIwPb_yh.js";
1
+ import { L as ContentRun, j as ContentParagraph } from "./content-Dn7uoJFG.js";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
2
- import { m as ContentDocument } from "./content-BmqzegMG.cjs";
2
+ import { m as ContentDocument } from "./content-B7b_P3FC.cjs";
3
3
  import { DocumentPackage } from "./package.cjs";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assemblePackage(content: ContentDocument, pages?: readonly PageSize[]): DocumentPackage;
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.js";
2
- import { m as ContentDocument } from "./content-CIwPb_yh.js";
2
+ import { m as ContentDocument } from "./content-Dn7uoJFG.js";
3
3
  import { DocumentPackage } from "./package.js";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assemblePackage(content: ContentDocument, pages?: readonly PageSize[]): DocumentPackage;
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-BmqzegMG.cjs";
1
+ import { m as ContentDocument } from "./content-B7b_P3FC.cjs";
2
2
  import { DocumentPackage } from "./package.cjs";
3
3
  //#region src/flatten.d.ts
4
4
  declare function flattenPackage(pkg: DocumentPackage): ContentDocument;
package/dist/flatten.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-CIwPb_yh.js";
1
+ import { m as ContentDocument } from "./content-Dn7uoJFG.js";
2
2
  import { DocumentPackage } from "./package.js";
3
3
  //#region src/flatten.d.ts
4
4
  declare function flattenPackage(pkg: DocumentPackage): ContentDocument;
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.cjs";
2
2
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-B1oTCtzc.cjs";
3
- import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.cjs";
3
+ import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-BlG8Tjk-.cjs";
4
4
  import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.cjs";
5
5
  import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.cjs";
6
- import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-BmqzegMG.cjs";
6
+ import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-B7b_P3FC.cjs";
7
7
  import { ContentCodec } from "./codec.cjs";
8
8
  import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-CdQuI9f5.cjs";
9
9
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
10
- import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-a9CyRaD3.cjs";
10
+ import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-CC-FE2zS.cjs";
11
11
  import { ConstructMarkerImbalanceError, PackageChildren, decompose } from "./decompose.cjs";
12
12
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
13
13
  import { DocumentPackage, DocumentPackageSchema } from "./package.cjs";
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.js";
2
2
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-B1oTCtzc.js";
3
- import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.js";
3
+ import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-BlG8Tjk-.js";
4
4
  import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.js";
5
5
  import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.js";
6
- import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-CIwPb_yh.js";
6
+ import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-Dn7uoJFG.js";
7
7
  import { ContentCodec } from "./codec.js";
8
8
  import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-CdQuI9f5.js";
9
9
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
10
- import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-C7RiYhyk.js";
10
+ import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-DxdparRh.js";
11
11
  import { ConstructMarkerImbalanceError, PackageChildren, decompose } from "./decompose.js";
12
12
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
13
13
  import { DocumentPackage, DocumentPackageSchema } from "./package.js";
@@ -8,9 +8,9 @@ type ExactRational = z.infer<typeof ExactRationalSchema>;
8
8
  declare const SI_BASE_DIMENSIONS: readonly ["length", "mass", "time", "electricCurrent", "thermodynamicTemperature", "amountOfSubstance", "luminousIntensity"];
9
9
  type SiBaseDimension = (typeof SI_BASE_DIMENSIONS)[number];
10
10
  declare const DimensionVectorSchema: z.ZodRecord<z.ZodEnum<{
11
- time: "time";
12
11
  length: "length";
13
12
  mass: "mass";
13
+ time: "time";
14
14
  electricCurrent: "electricCurrent";
15
15
  thermodynamicTemperature: "thermodynamicTemperature";
16
16
  amountOfSubstance: "amountOfSubstance";
@@ -22,9 +22,9 @@ declare const MathUnitSchema: z.ZodObject<{
22
22
  symbol: z.ZodString;
23
23
  name: z.ZodOptional<z.ZodString>;
24
24
  dimension: z.ZodRecord<z.ZodEnum<{
25
- time: "time";
26
25
  length: "length";
27
26
  mass: "mass";
27
+ time: "time";
28
28
  electricCurrent: "electricCurrent";
29
29
  thermodynamicTemperature: "thermodynamicTemperature";
30
30
  amountOfSubstance: "amountOfSubstance";
@@ -75,9 +75,9 @@ declare const SymbolTableSchema: z.ZodObject<{
75
75
  symbol: z.ZodString;
76
76
  name: z.ZodOptional<z.ZodString>;
77
77
  dimension: z.ZodRecord<z.ZodEnum<{
78
- time: "time";
79
78
  length: "length";
80
79
  mass: "mass";
80
+ time: "time";
81
81
  electricCurrent: "electricCurrent";
82
82
  thermodynamicTemperature: "thermodynamicTemperature";
83
83
  amountOfSubstance: "amountOfSubstance";
@@ -8,9 +8,9 @@ type ExactRational = z.infer<typeof ExactRationalSchema>;
8
8
  declare const SI_BASE_DIMENSIONS: readonly ["length", "mass", "time", "electricCurrent", "thermodynamicTemperature", "amountOfSubstance", "luminousIntensity"];
9
9
  type SiBaseDimension = (typeof SI_BASE_DIMENSIONS)[number];
10
10
  declare const DimensionVectorSchema: z.ZodRecord<z.ZodEnum<{
11
- time: "time";
12
11
  length: "length";
13
12
  mass: "mass";
13
+ time: "time";
14
14
  electricCurrent: "electricCurrent";
15
15
  thermodynamicTemperature: "thermodynamicTemperature";
16
16
  amountOfSubstance: "amountOfSubstance";
@@ -22,9 +22,9 @@ declare const MathUnitSchema: z.ZodObject<{
22
22
  symbol: z.ZodString;
23
23
  name: z.ZodOptional<z.ZodString>;
24
24
  dimension: z.ZodRecord<z.ZodEnum<{
25
- time: "time";
26
25
  length: "length";
27
26
  mass: "mass";
27
+ time: "time";
28
28
  electricCurrent: "electricCurrent";
29
29
  thermodynamicTemperature: "thermodynamicTemperature";
30
30
  amountOfSubstance: "amountOfSubstance";
@@ -75,9 +75,9 @@ declare const SymbolTableSchema: z.ZodObject<{
75
75
  symbol: z.ZodString;
76
76
  name: z.ZodOptional<z.ZodString>;
77
77
  dimension: z.ZodRecord<z.ZodEnum<{
78
- time: "time";
79
78
  length: "length";
80
79
  mass: "mass";
80
+ time: "time";
81
81
  electricCurrent: "electricCurrent";
82
82
  thermodynamicTemperature: "thermodynamicTemperature";
83
83
  amountOfSubstance: "amountOfSubstance";
package/dist/math.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.cjs";
1
+ import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-BlG8Tjk-.cjs";
2
2
  export { DimensionVector, DimensionVectorSchema, ExactRational, ExactRationalSchema, MathApp, MathAppSchema, MathExpression, MathExpressionSchema, MathMatrix, MathMatrixSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
package/dist/math.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.js";
1
+ import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-BlG8Tjk-.js";
2
2
  export { DimensionVector, DimensionVectorSchema, ExactRational, ExactRationalSchema, MathApp, MathAppSchema, MathExpression, MathExpressionSchema, MathMatrix, MathMatrixSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
@@ -1,4 +1,4 @@
1
- import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-BmqzegMG.cjs";
1
+ import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-B7b_P3FC.cjs";
2
2
  import { a as ConstructDescriptor } from "./construct-CdQuI9f5.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -27,6 +27,52 @@ declare const SlideDescriptorSchema: z.ZodObject<{
27
27
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
28
28
  declare const SheetDescriptorSchema: z.ZodObject<{
29
29
  name: z.ZodString;
30
+ rows: z.ZodArray<z.ZodObject<{
31
+ index: z.ZodNumber;
32
+ heightPt: z.ZodOptional<z.ZodNumber>;
33
+ hidden: z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>>;
35
+ printSettings: z.ZodObject<{
36
+ pageSize: z.ZodObject<{
37
+ widthPt: z.ZodNumber;
38
+ heightPt: z.ZodNumber;
39
+ }, z.core.$strip>;
40
+ margins: z.ZodObject<{
41
+ topPt: z.ZodNumber;
42
+ rightPt: z.ZodNumber;
43
+ bottomPt: z.ZodNumber;
44
+ leftPt: z.ZodNumber;
45
+ }, z.core.$strip>;
46
+ printRange: z.ZodOptional<z.ZodObject<{
47
+ startRow: z.ZodNumber;
48
+ startColumn: z.ZodNumber;
49
+ endRow: z.ZodNumber;
50
+ endColumn: z.ZodNumber;
51
+ }, z.core.$strip>>;
52
+ scalePercent: z.ZodOptional<z.ZodNumber>;
53
+ fitToPages: z.ZodOptional<z.ZodObject<{
54
+ width: z.ZodNumber;
55
+ height: z.ZodNumber;
56
+ }, z.core.$strip>>;
57
+ repeatRows: z.ZodOptional<z.ZodObject<{
58
+ start: z.ZodNumber;
59
+ end: z.ZodNumber;
60
+ }, z.core.$strip>>;
61
+ repeatColumns: z.ZodOptional<z.ZodObject<{
62
+ start: z.ZodNumber;
63
+ end: z.ZodNumber;
64
+ }, z.core.$strip>>;
65
+ gridlines: z.ZodBoolean;
66
+ headers: z.ZodBoolean;
67
+ pageOrder: z.ZodEnum<{
68
+ downThenOver: "downThenOver";
69
+ overThenDown: "overThenDown";
70
+ }>;
71
+ manualBreaks: z.ZodOptional<z.ZodObject<{
72
+ rows: z.ZodArray<z.ZodNumber>;
73
+ columns: z.ZodArray<z.ZodNumber>;
74
+ }, z.core.$strip>>;
75
+ }, z.core.$strip>;
30
76
  cells: z.ZodArray<z.ZodObject<{
31
77
  row: z.ZodNumber;
32
78
  column: z.ZodNumber;
@@ -183,57 +229,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
183
229
  heightPt: z.ZodNumber;
184
230
  }, z.core.$strip>>>;
185
231
  }, z.core.$strip>>;
186
- rows: z.ZodArray<z.ZodObject<{
187
- index: z.ZodNumber;
188
- heightPt: z.ZodOptional<z.ZodNumber>;
189
- hidden: z.ZodOptional<z.ZodBoolean>;
190
- }, z.core.$strip>>;
191
232
  columns: z.ZodArray<z.ZodObject<{
192
233
  index: z.ZodNumber;
193
234
  widthPt: z.ZodOptional<z.ZodNumber>;
194
235
  hidden: z.ZodOptional<z.ZodBoolean>;
195
236
  }, z.core.$strip>>;
196
- printSettings: z.ZodObject<{
197
- pageSize: z.ZodObject<{
198
- widthPt: z.ZodNumber;
199
- heightPt: z.ZodNumber;
200
- }, z.core.$strip>;
201
- margins: z.ZodObject<{
202
- topPt: z.ZodNumber;
203
- rightPt: z.ZodNumber;
204
- bottomPt: z.ZodNumber;
205
- leftPt: z.ZodNumber;
206
- }, z.core.$strip>;
207
- printRange: z.ZodOptional<z.ZodObject<{
208
- startRow: z.ZodNumber;
209
- startColumn: z.ZodNumber;
210
- endRow: z.ZodNumber;
211
- endColumn: z.ZodNumber;
212
- }, z.core.$strip>>;
213
- scalePercent: z.ZodOptional<z.ZodNumber>;
214
- fitToPages: z.ZodOptional<z.ZodObject<{
215
- width: z.ZodNumber;
216
- height: z.ZodNumber;
217
- }, z.core.$strip>>;
218
- repeatRows: z.ZodOptional<z.ZodObject<{
219
- start: z.ZodNumber;
220
- end: z.ZodNumber;
221
- }, z.core.$strip>>;
222
- repeatColumns: z.ZodOptional<z.ZodObject<{
223
- start: z.ZodNumber;
224
- end: z.ZodNumber;
225
- }, z.core.$strip>>;
226
- gridlines: z.ZodBoolean;
227
- headers: z.ZodBoolean;
228
- pageOrder: z.ZodEnum<{
229
- downThenOver: "downThenOver";
230
- overThenDown: "overThenDown";
231
- }>;
232
- manualBreaks: z.ZodOptional<z.ZodObject<{
233
- rows: z.ZodArray<z.ZodNumber>;
234
- columns: z.ZodArray<z.ZodNumber>;
235
- }, z.core.$strip>>;
236
- }, z.core.$strip>;
237
237
  kind: z.ZodLiteral<"sheet">;
238
238
  }, z.core.$strict>;
239
239
  type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
@@ -1,4 +1,4 @@
1
- import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-CIwPb_yh.js";
1
+ import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-Dn7uoJFG.js";
2
2
  import { a as ConstructDescriptor } from "./construct-CdQuI9f5.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -27,6 +27,52 @@ declare const SlideDescriptorSchema: z.ZodObject<{
27
27
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
28
28
  declare const SheetDescriptorSchema: z.ZodObject<{
29
29
  name: z.ZodString;
30
+ rows: z.ZodArray<z.ZodObject<{
31
+ index: z.ZodNumber;
32
+ heightPt: z.ZodOptional<z.ZodNumber>;
33
+ hidden: z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>>;
35
+ printSettings: z.ZodObject<{
36
+ pageSize: z.ZodObject<{
37
+ widthPt: z.ZodNumber;
38
+ heightPt: z.ZodNumber;
39
+ }, z.core.$strip>;
40
+ margins: z.ZodObject<{
41
+ topPt: z.ZodNumber;
42
+ rightPt: z.ZodNumber;
43
+ bottomPt: z.ZodNumber;
44
+ leftPt: z.ZodNumber;
45
+ }, z.core.$strip>;
46
+ printRange: z.ZodOptional<z.ZodObject<{
47
+ startRow: z.ZodNumber;
48
+ startColumn: z.ZodNumber;
49
+ endRow: z.ZodNumber;
50
+ endColumn: z.ZodNumber;
51
+ }, z.core.$strip>>;
52
+ scalePercent: z.ZodOptional<z.ZodNumber>;
53
+ fitToPages: z.ZodOptional<z.ZodObject<{
54
+ width: z.ZodNumber;
55
+ height: z.ZodNumber;
56
+ }, z.core.$strip>>;
57
+ repeatRows: z.ZodOptional<z.ZodObject<{
58
+ start: z.ZodNumber;
59
+ end: z.ZodNumber;
60
+ }, z.core.$strip>>;
61
+ repeatColumns: z.ZodOptional<z.ZodObject<{
62
+ start: z.ZodNumber;
63
+ end: z.ZodNumber;
64
+ }, z.core.$strip>>;
65
+ gridlines: z.ZodBoolean;
66
+ headers: z.ZodBoolean;
67
+ pageOrder: z.ZodEnum<{
68
+ downThenOver: "downThenOver";
69
+ overThenDown: "overThenDown";
70
+ }>;
71
+ manualBreaks: z.ZodOptional<z.ZodObject<{
72
+ rows: z.ZodArray<z.ZodNumber>;
73
+ columns: z.ZodArray<z.ZodNumber>;
74
+ }, z.core.$strip>>;
75
+ }, z.core.$strip>;
30
76
  cells: z.ZodArray<z.ZodObject<{
31
77
  row: z.ZodNumber;
32
78
  column: z.ZodNumber;
@@ -183,57 +229,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
183
229
  heightPt: z.ZodNumber;
184
230
  }, z.core.$strip>>>;
185
231
  }, z.core.$strip>>;
186
- rows: z.ZodArray<z.ZodObject<{
187
- index: z.ZodNumber;
188
- heightPt: z.ZodOptional<z.ZodNumber>;
189
- hidden: z.ZodOptional<z.ZodBoolean>;
190
- }, z.core.$strip>>;
191
232
  columns: z.ZodArray<z.ZodObject<{
192
233
  index: z.ZodNumber;
193
234
  widthPt: z.ZodOptional<z.ZodNumber>;
194
235
  hidden: z.ZodOptional<z.ZodBoolean>;
195
236
  }, z.core.$strip>>;
196
- printSettings: z.ZodObject<{
197
- pageSize: z.ZodObject<{
198
- widthPt: z.ZodNumber;
199
- heightPt: z.ZodNumber;
200
- }, z.core.$strip>;
201
- margins: z.ZodObject<{
202
- topPt: z.ZodNumber;
203
- rightPt: z.ZodNumber;
204
- bottomPt: z.ZodNumber;
205
- leftPt: z.ZodNumber;
206
- }, z.core.$strip>;
207
- printRange: z.ZodOptional<z.ZodObject<{
208
- startRow: z.ZodNumber;
209
- startColumn: z.ZodNumber;
210
- endRow: z.ZodNumber;
211
- endColumn: z.ZodNumber;
212
- }, z.core.$strip>>;
213
- scalePercent: z.ZodOptional<z.ZodNumber>;
214
- fitToPages: z.ZodOptional<z.ZodObject<{
215
- width: z.ZodNumber;
216
- height: z.ZodNumber;
217
- }, z.core.$strip>>;
218
- repeatRows: z.ZodOptional<z.ZodObject<{
219
- start: z.ZodNumber;
220
- end: z.ZodNumber;
221
- }, z.core.$strip>>;
222
- repeatColumns: z.ZodOptional<z.ZodObject<{
223
- start: z.ZodNumber;
224
- end: z.ZodNumber;
225
- }, z.core.$strip>>;
226
- gridlines: z.ZodBoolean;
227
- headers: z.ZodBoolean;
228
- pageOrder: z.ZodEnum<{
229
- downThenOver: "downThenOver";
230
- overThenDown: "overThenDown";
231
- }>;
232
- manualBreaks: z.ZodOptional<z.ZodObject<{
233
- rows: z.ZodArray<z.ZodNumber>;
234
- columns: z.ZodArray<z.ZodNumber>;
235
- }, z.core.$strip>>;
236
- }, z.core.$strip>;
237
237
  kind: z.ZodLiteral<"sheet">;
238
238
  }, z.core.$strict>;
239
239
  type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
@@ -1,2 +1,2 @@
1
- import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-a9CyRaD3.cjs";
1
+ import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-CC-FE2zS.cjs";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageBlockLeaf, PackageBlockLeafSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
@@ -1,2 +1,2 @@
1
- import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-C7RiYhyk.js";
1
+ import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-DxdparRh.js";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageBlockLeaf, PackageBlockLeafSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
2
- import { s as MathExpression } from "./math-B7gZJeND.cjs";
3
- import { B as SheetGroupNode, O as SectionGroupNode, W as SlideGroupNode, i as DrawPageGroupNode } from "./package-node-a9CyRaD3.cjs";
2
+ import { s as MathExpression } from "./math-BlG8Tjk-.cjs";
3
+ import { B as SheetGroupNode, O as SectionGroupNode, W as SlideGroupNode, i as DrawPageGroupNode } from "./package-node-CC-FE2zS.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -67,9 +67,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
67
  symbol: z.ZodString;
68
68
  name: z.ZodOptional<z.ZodString>;
69
69
  dimension: z.ZodRecord<z.ZodEnum<{
70
- time: "time";
71
70
  length: "length";
72
71
  mass: "mass";
72
+ time: "time";
73
73
  electricCurrent: "electricCurrent";
74
74
  thermodynamicTemperature: "thermodynamicTemperature";
75
75
  amountOfSubstance: "amountOfSubstance";
@@ -171,9 +171,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
171
171
  symbol: z.ZodString;
172
172
  name: z.ZodOptional<z.ZodString>;
173
173
  dimension: z.ZodRecord<z.ZodEnum<{
174
- time: "time";
175
174
  length: "length";
176
175
  mass: "mass";
176
+ time: "time";
177
177
  electricCurrent: "electricCurrent";
178
178
  thermodynamicTemperature: "thermodynamicTemperature";
179
179
  amountOfSubstance: "amountOfSubstance";
@@ -275,9 +275,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
275
275
  symbol: z.ZodString;
276
276
  name: z.ZodOptional<z.ZodString>;
277
277
  dimension: z.ZodRecord<z.ZodEnum<{
278
- time: "time";
279
278
  length: "length";
280
279
  mass: "mass";
280
+ time: "time";
281
281
  electricCurrent: "electricCurrent";
282
282
  thermodynamicTemperature: "thermodynamicTemperature";
283
283
  amountOfSubstance: "amountOfSubstance";
@@ -379,9 +379,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
379
  symbol: z.ZodString;
380
380
  name: z.ZodOptional<z.ZodString>;
381
381
  dimension: z.ZodRecord<z.ZodEnum<{
382
- time: "time";
383
382
  length: "length";
384
383
  mass: "mass";
384
+ time: "time";
385
385
  electricCurrent: "electricCurrent";
386
386
  thermodynamicTemperature: "thermodynamicTemperature";
387
387
  amountOfSubstance: "amountOfSubstance";
@@ -495,9 +495,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
495
495
  symbol: z.ZodString;
496
496
  name: z.ZodOptional<z.ZodString>;
497
497
  dimension: z.ZodRecord<z.ZodEnum<{
498
- time: "time";
499
498
  length: "length";
500
499
  mass: "mass";
500
+ time: "time";
501
501
  electricCurrent: "electricCurrent";
502
502
  thermodynamicTemperature: "thermodynamicTemperature";
503
503
  amountOfSubstance: "amountOfSubstance";
package/dist/package.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-B1oTCtzc.js";
2
- import { s as MathExpression } from "./math-B7gZJeND.js";
3
- import { B as SheetGroupNode, O as SectionGroupNode, W as SlideGroupNode, i as DrawPageGroupNode } from "./package-node-C7RiYhyk.js";
2
+ import { s as MathExpression } from "./math-BlG8Tjk-.js";
3
+ import { B as SheetGroupNode, O as SectionGroupNode, W as SlideGroupNode, i as DrawPageGroupNode } from "./package-node-DxdparRh.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -67,9 +67,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
67
  symbol: z.ZodString;
68
68
  name: z.ZodOptional<z.ZodString>;
69
69
  dimension: z.ZodRecord<z.ZodEnum<{
70
- time: "time";
71
70
  length: "length";
72
71
  mass: "mass";
72
+ time: "time";
73
73
  electricCurrent: "electricCurrent";
74
74
  thermodynamicTemperature: "thermodynamicTemperature";
75
75
  amountOfSubstance: "amountOfSubstance";
@@ -171,9 +171,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
171
171
  symbol: z.ZodString;
172
172
  name: z.ZodOptional<z.ZodString>;
173
173
  dimension: z.ZodRecord<z.ZodEnum<{
174
- time: "time";
175
174
  length: "length";
176
175
  mass: "mass";
176
+ time: "time";
177
177
  electricCurrent: "electricCurrent";
178
178
  thermodynamicTemperature: "thermodynamicTemperature";
179
179
  amountOfSubstance: "amountOfSubstance";
@@ -275,9 +275,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
275
275
  symbol: z.ZodString;
276
276
  name: z.ZodOptional<z.ZodString>;
277
277
  dimension: z.ZodRecord<z.ZodEnum<{
278
- time: "time";
279
278
  length: "length";
280
279
  mass: "mass";
280
+ time: "time";
281
281
  electricCurrent: "electricCurrent";
282
282
  thermodynamicTemperature: "thermodynamicTemperature";
283
283
  amountOfSubstance: "amountOfSubstance";
@@ -379,9 +379,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
379
379
  symbol: z.ZodString;
380
380
  name: z.ZodOptional<z.ZodString>;
381
381
  dimension: z.ZodRecord<z.ZodEnum<{
382
- time: "time";
383
382
  length: "length";
384
383
  mass: "mass";
384
+ time: "time";
385
385
  electricCurrent: "electricCurrent";
386
386
  thermodynamicTemperature: "thermodynamicTemperature";
387
387
  amountOfSubstance: "amountOfSubstance";
@@ -495,9 +495,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
495
495
  symbol: z.ZodString;
496
496
  name: z.ZodOptional<z.ZodString>;
497
497
  dimension: z.ZodRecord<z.ZodEnum<{
498
- time: "time";
499
498
  length: "length";
500
499
  mass: "mass";
500
+ time: "time";
501
501
  electricCurrent: "electricCurrent";
502
502
  thermodynamicTemperature: "thermodynamicTemperature";
503
503
  amountOfSubstance: "amountOfSubstance";
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
7
7
  ContentDocument: "content-document.schema.json"
8
8
  };
9
9
  function schemaUriFor(kind) {
10
- return `https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
11
11
  }
12
12
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-package|content-document|layout-document)\.schema\.json$/;
13
13
  function parseSchemaUri(uri) {
@@ -93,7 +93,7 @@ function documentFromJson(value) {
93
93
  if (parts.stem === "layout-document") throw new LayoutSchemaDemotedError(value.$schema);
94
94
  const kind = kindForFileStem(parts.stem);
95
95
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
96
- if (majorVersionOf(parts.version) !== majorVersionOf("4.3.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "4.3.0");
96
+ if (majorVersionOf(parts.version) !== majorVersionOf("4.3.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "4.3.2");
97
97
  switch (kind) {
98
98
  case "DocumentPackage": return {
99
99
  kind,
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-BmqzegMG.cjs";
1
+ import { m as ContentDocument } from "./content-B7b_P3FC.cjs";
2
2
  import { DocumentPackage } from "./package.cjs";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = 'DocumentPackage' | 'ContentDocument';
@@ -1,4 +1,4 @@
1
- import { m as ContentDocument } from "./content-CIwPb_yh.js";
1
+ import { m as ContentDocument } from "./content-Dn7uoJFG.js";
2
2
  import { DocumentPackage } from "./package.js";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = 'DocumentPackage' | 'ContentDocument';
package/dist/schema-io.js CHANGED
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
6
6
  ContentDocument: "content-document.schema.json"
7
7
  };
8
8
  function schemaUriFor(kind) {
9
- return `https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
10
  }
11
11
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-package|content-document|layout-document)\.schema\.json$/;
12
12
  function parseSchemaUri(uri) {
@@ -92,7 +92,7 @@ function documentFromJson(value) {
92
92
  if (parts.stem === "layout-document") throw new LayoutSchemaDemotedError(value.$schema);
93
93
  const kind = kindForFileStem(parts.stem);
94
94
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
95
- if (majorVersionOf(parts.version) !== majorVersionOf("4.3.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "4.3.0");
95
+ if (majorVersionOf(parts.version) !== majorVersionOf("4.3.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "4.3.2");
96
96
  switch (kind) {
97
97
  case "DocumentPackage": return {
98
98
  kind,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-model.js",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "The canonical, format-agnostic content and document-package schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them -- no format-specific or I/O behaviour.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@arethetypeswrong/cli": "^0.18.5",
67
- "@cloudflare/vitest-pool-workers": "^0.20.1",
67
+ "@cloudflare/vitest-pool-workers": "^0.21.2",
68
68
  "@commitlint/cli": "^21.2.1",
69
69
  "@commitlint/config-conventional": "^21.2.0",
70
70
  "@eslint/js": "^10.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/content-document.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -2857,7 +2857,7 @@
2857
2857
  ]
2858
2858
  },
2859
2859
  "document": {
2860
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/content-document.schema.json"
2860
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/content-document.schema.json"
2861
2861
  },
2862
2862
  "frame": {
2863
2863
  "$ref": "#/$defs/Box"
@@ -4132,7 +4132,7 @@
4132
4132
  ]
4133
4133
  },
4134
4134
  "document": {
4135
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/content-document.schema.json"
4135
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/content-document.schema.json"
4136
4136
  },
4137
4137
  "frame": {
4138
4138
  "$ref": "#/$defs/Box"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/document-package.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/document-package.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -1066,7 +1066,7 @@
1066
1066
  ]
1067
1067
  },
1068
1068
  "document": {
1069
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/content-document.schema.json"
1069
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/content-document.schema.json"
1070
1070
  },
1071
1071
  "frame": {
1072
1072
  "$ref": "#/$defs/Box"
@@ -2341,7 +2341,7 @@
2341
2341
  ]
2342
2342
  },
2343
2343
  "document": {
2344
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.0/schemas/content-document.schema.json"
2344
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.2/schemas/content-document.schema.json"
2345
2345
  },
2346
2346
  "frame": {
2347
2347
  "$ref": "#/$defs/Box"