document-content-model 7.9.0 → 7.9.1
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 +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C4XiF8OW.d.cts → construct-C9cYkjnd.d.cts} +6 -6
- package/dist/{construct-C4XiF8OW.d.ts → construct-C9cYkjnd.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-C1hJ6olW.d.ts → content-B6SPQuuq.d.ts} +45 -39
- package/dist/{content-DN5CqH6Y.d.cts → content-VhC4WCbj.d.cts} +45 -39
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{package-node-DktLHAKG.d.cts → package-node-ChC2_Itm.d.cts} +13 -13
- package/dist/{package-node-B9aFWtrZ.d.ts → package-node-mRax-XfS.d.ts} +13 -13
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +6 -6
- package/dist/package.d.ts +6 -6
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
- package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +13 -13
- package/schemas/document-tree.schema.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQt
|
|
|
5
5
|
import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.js";
|
|
6
6
|
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";
|
|
7
7
|
import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.js";
|
|
8
|
-
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-
|
|
9
|
-
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-
|
|
8
|
+
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
|
|
9
|
+
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-B6SPQuuq.js";
|
|
10
10
|
import { ContentCodec } from "./codec.js";
|
|
11
|
-
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-
|
|
11
|
+
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-C9cYkjnd.js";
|
|
12
12
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
|
|
13
|
-
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-
|
|
13
|
+
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-mRax-XfS.js";
|
|
14
14
|
import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.js";
|
|
15
15
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
16
16
|
import { DocumentTree, DocumentTreeSchema } from "./package.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-VhC4WCbj.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -136,7 +136,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
136
136
|
}, z.core.$strict>;
|
|
137
137
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
138
138
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
139
|
-
name: z.ZodString;
|
|
140
139
|
source: z.ZodOptional<z.ZodObject<{
|
|
141
140
|
format: z.ZodEnum<{
|
|
142
141
|
docx: "docx";
|
|
@@ -157,6 +156,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
157
156
|
}>;
|
|
158
157
|
xml: z.ZodString;
|
|
159
158
|
}, z.core.$strict>>;
|
|
159
|
+
name: z.ZodString;
|
|
160
160
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
chart: "chart";
|
|
162
162
|
diagram: "diagram";
|
|
@@ -547,8 +547,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
547
547
|
}, z.core.$strip>>;
|
|
548
548
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
549
549
|
left: "left";
|
|
550
|
-
center: "center";
|
|
551
550
|
right: "right";
|
|
551
|
+
center: "center";
|
|
552
552
|
justify: "justify";
|
|
553
553
|
}>>;
|
|
554
554
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -612,10 +612,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
612
612
|
endColumn: z.ZodNumber;
|
|
613
613
|
}, z.core.$strip>>;
|
|
614
614
|
type: z.ZodEnum<{
|
|
615
|
-
decimal: "decimal";
|
|
616
|
-
list: "list";
|
|
617
615
|
date: "date";
|
|
618
616
|
custom: "custom";
|
|
617
|
+
decimal: "decimal";
|
|
618
|
+
list: "list";
|
|
619
619
|
time: "time";
|
|
620
620
|
whole: "whole";
|
|
621
621
|
textLength: "textLength";
|
|
@@ -1293,7 +1293,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1293
1293
|
}, z.core.$strict>;
|
|
1294
1294
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1295
1295
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1296
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1297
1296
|
source: z.ZodOptional<z.ZodObject<{
|
|
1298
1297
|
format: z.ZodEnum<{
|
|
1299
1298
|
docx: "docx";
|
|
@@ -1314,6 +1313,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1314
1313
|
}>;
|
|
1315
1314
|
xml: z.ZodString;
|
|
1316
1315
|
}, z.core.$strict>>;
|
|
1316
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1317
1317
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1318
1318
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1319
1319
|
pageIndex: z.ZodNumber;
|
|
@@ -1476,12 +1476,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1476
1476
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1477
1477
|
kind: z.ZodLiteral<"contentControl">;
|
|
1478
1478
|
controlType: z.ZodEnum<{
|
|
1479
|
-
date: "date";
|
|
1480
1479
|
richText: "richText";
|
|
1481
1480
|
plainText: "plainText";
|
|
1482
1481
|
checkbox: "checkbox";
|
|
1483
1482
|
dropDown: "dropDown";
|
|
1484
1483
|
comboBox: "comboBox";
|
|
1484
|
+
date: "date";
|
|
1485
1485
|
picture: "picture";
|
|
1486
1486
|
repeatingSection: "repeatingSection";
|
|
1487
1487
|
button: "button";
|
|
@@ -1545,10 +1545,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1545
1545
|
}, z.core.$strict>, z.ZodObject<{
|
|
1546
1546
|
kind: z.ZodLiteral<"anchor">;
|
|
1547
1547
|
anchorType: z.ZodEnum<{
|
|
1548
|
-
comment: "comment";
|
|
1549
1548
|
bookmark: "bookmark";
|
|
1550
1549
|
footnote: "footnote";
|
|
1551
1550
|
endnote: "endnote";
|
|
1551
|
+
comment: "comment";
|
|
1552
1552
|
}>;
|
|
1553
1553
|
name: z.ZodString;
|
|
1554
1554
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1671,8 +1671,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1671
1671
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1672
1672
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1673
1673
|
left: "left";
|
|
1674
|
-
center: "center";
|
|
1675
1674
|
right: "right";
|
|
1675
|
+
center: "center";
|
|
1676
1676
|
justify: "justify";
|
|
1677
1677
|
}>>;
|
|
1678
1678
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1901,12 +1901,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1901
1901
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1902
1902
|
kind: z.ZodLiteral<"contentControl">;
|
|
1903
1903
|
controlType: z.ZodEnum<{
|
|
1904
|
-
date: "date";
|
|
1905
1904
|
richText: "richText";
|
|
1906
1905
|
plainText: "plainText";
|
|
1907
1906
|
checkbox: "checkbox";
|
|
1908
1907
|
dropDown: "dropDown";
|
|
1909
1908
|
comboBox: "comboBox";
|
|
1909
|
+
date: "date";
|
|
1910
1910
|
picture: "picture";
|
|
1911
1911
|
repeatingSection: "repeatingSection";
|
|
1912
1912
|
button: "button";
|
|
@@ -1970,10 +1970,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1970
1970
|
}, z.core.$strict>, z.ZodObject<{
|
|
1971
1971
|
kind: z.ZodLiteral<"anchor">;
|
|
1972
1972
|
anchorType: z.ZodEnum<{
|
|
1973
|
-
comment: "comment";
|
|
1974
1973
|
bookmark: "bookmark";
|
|
1975
1974
|
footnote: "footnote";
|
|
1976
1975
|
endnote: "endnote";
|
|
1976
|
+
comment: "comment";
|
|
1977
1977
|
}>;
|
|
1978
1978
|
name: z.ZodString;
|
|
1979
1979
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -2097,8 +2097,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2097
2097
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2098
2098
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2099
2099
|
left: "left";
|
|
2100
|
-
center: "center";
|
|
2101
2100
|
right: "right";
|
|
2101
|
+
center: "center";
|
|
2102
2102
|
justify: "justify";
|
|
2103
2103
|
}>>;
|
|
2104
2104
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-B6SPQuuq.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -136,7 +136,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
136
136
|
}, z.core.$strict>;
|
|
137
137
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
138
138
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
139
|
-
name: z.ZodString;
|
|
140
139
|
source: z.ZodOptional<z.ZodObject<{
|
|
141
140
|
format: z.ZodEnum<{
|
|
142
141
|
docx: "docx";
|
|
@@ -157,6 +156,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
157
156
|
}>;
|
|
158
157
|
xml: z.ZodString;
|
|
159
158
|
}, z.core.$strict>>;
|
|
159
|
+
name: z.ZodString;
|
|
160
160
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
chart: "chart";
|
|
162
162
|
diagram: "diagram";
|
|
@@ -547,8 +547,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
547
547
|
}, z.core.$strip>>;
|
|
548
548
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
549
549
|
left: "left";
|
|
550
|
-
center: "center";
|
|
551
550
|
right: "right";
|
|
551
|
+
center: "center";
|
|
552
552
|
justify: "justify";
|
|
553
553
|
}>>;
|
|
554
554
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -612,10 +612,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
612
612
|
endColumn: z.ZodNumber;
|
|
613
613
|
}, z.core.$strip>>;
|
|
614
614
|
type: z.ZodEnum<{
|
|
615
|
-
decimal: "decimal";
|
|
616
|
-
list: "list";
|
|
617
615
|
date: "date";
|
|
618
616
|
custom: "custom";
|
|
617
|
+
decimal: "decimal";
|
|
618
|
+
list: "list";
|
|
619
619
|
time: "time";
|
|
620
620
|
whole: "whole";
|
|
621
621
|
textLength: "textLength";
|
|
@@ -1293,7 +1293,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1293
1293
|
}, z.core.$strict>;
|
|
1294
1294
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1295
1295
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1296
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1297
1296
|
source: z.ZodOptional<z.ZodObject<{
|
|
1298
1297
|
format: z.ZodEnum<{
|
|
1299
1298
|
docx: "docx";
|
|
@@ -1314,6 +1313,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1314
1313
|
}>;
|
|
1315
1314
|
xml: z.ZodString;
|
|
1316
1315
|
}, z.core.$strict>>;
|
|
1316
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1317
1317
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1318
1318
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1319
1319
|
pageIndex: z.ZodNumber;
|
|
@@ -1476,12 +1476,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1476
1476
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1477
1477
|
kind: z.ZodLiteral<"contentControl">;
|
|
1478
1478
|
controlType: z.ZodEnum<{
|
|
1479
|
-
date: "date";
|
|
1480
1479
|
richText: "richText";
|
|
1481
1480
|
plainText: "plainText";
|
|
1482
1481
|
checkbox: "checkbox";
|
|
1483
1482
|
dropDown: "dropDown";
|
|
1484
1483
|
comboBox: "comboBox";
|
|
1484
|
+
date: "date";
|
|
1485
1485
|
picture: "picture";
|
|
1486
1486
|
repeatingSection: "repeatingSection";
|
|
1487
1487
|
button: "button";
|
|
@@ -1545,10 +1545,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1545
1545
|
}, z.core.$strict>, z.ZodObject<{
|
|
1546
1546
|
kind: z.ZodLiteral<"anchor">;
|
|
1547
1547
|
anchorType: z.ZodEnum<{
|
|
1548
|
-
comment: "comment";
|
|
1549
1548
|
bookmark: "bookmark";
|
|
1550
1549
|
footnote: "footnote";
|
|
1551
1550
|
endnote: "endnote";
|
|
1551
|
+
comment: "comment";
|
|
1552
1552
|
}>;
|
|
1553
1553
|
name: z.ZodString;
|
|
1554
1554
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1671,8 +1671,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1671
1671
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1672
1672
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1673
1673
|
left: "left";
|
|
1674
|
-
center: "center";
|
|
1675
1674
|
right: "right";
|
|
1675
|
+
center: "center";
|
|
1676
1676
|
justify: "justify";
|
|
1677
1677
|
}>>;
|
|
1678
1678
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1901,12 +1901,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1901
1901
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1902
1902
|
kind: z.ZodLiteral<"contentControl">;
|
|
1903
1903
|
controlType: z.ZodEnum<{
|
|
1904
|
-
date: "date";
|
|
1905
1904
|
richText: "richText";
|
|
1906
1905
|
plainText: "plainText";
|
|
1907
1906
|
checkbox: "checkbox";
|
|
1908
1907
|
dropDown: "dropDown";
|
|
1909
1908
|
comboBox: "comboBox";
|
|
1909
|
+
date: "date";
|
|
1910
1910
|
picture: "picture";
|
|
1911
1911
|
repeatingSection: "repeatingSection";
|
|
1912
1912
|
button: "button";
|
|
@@ -1970,10 +1970,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1970
1970
|
}, z.core.$strict>, z.ZodObject<{
|
|
1971
1971
|
kind: z.ZodLiteral<"anchor">;
|
|
1972
1972
|
anchorType: z.ZodEnum<{
|
|
1973
|
-
comment: "comment";
|
|
1974
1973
|
bookmark: "bookmark";
|
|
1975
1974
|
footnote: "footnote";
|
|
1976
1975
|
endnote: "endnote";
|
|
1976
|
+
comment: "comment";
|
|
1977
1977
|
}>;
|
|
1978
1978
|
name: z.ZodString;
|
|
1979
1979
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -2097,8 +2097,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2097
2097
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2098
2098
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2099
2099
|
left: "left";
|
|
2100
|
-
center: "center";
|
|
2101
2100
|
right: "right";
|
|
2101
|
+
center: "center";
|
|
2102
2102
|
justify: "justify";
|
|
2103
2103
|
}>>;
|
|
2104
2104
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
package/dist/package-node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-
|
|
1
|
+
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-ChC2_Itm.cjs";
|
|
2
2
|
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
|
package/dist/package-node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-
|
|
1
|
+
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-mRax-XfS.js";
|
|
2
2
|
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
|
package/dist/package.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
|
|
2
2
|
import { p as MathExpression } from "./math-BScHxedi.cjs";
|
|
3
|
-
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-ChC2_Itm.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13
13
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
15
15
|
left: "left";
|
|
16
|
-
center: "center";
|
|
17
16
|
right: "right";
|
|
17
|
+
center: "center";
|
|
18
18
|
justify: "justify";
|
|
19
19
|
}>>;
|
|
20
20
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
162
162
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
163
163
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
164
164
|
left: "left";
|
|
165
|
-
center: "center";
|
|
166
165
|
right: "right";
|
|
166
|
+
center: "center";
|
|
167
167
|
justify: "justify";
|
|
168
168
|
}>>;
|
|
169
169
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
316
316
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
317
317
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
318
318
|
left: "left";
|
|
319
|
-
center: "center";
|
|
320
319
|
right: "right";
|
|
320
|
+
center: "center";
|
|
321
321
|
justify: "justify";
|
|
322
322
|
}>>;
|
|
323
323
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
465
465
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
466
466
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
467
467
|
left: "left";
|
|
468
|
-
center: "center";
|
|
469
468
|
right: "right";
|
|
469
|
+
center: "center";
|
|
470
470
|
justify: "justify";
|
|
471
471
|
}>>;
|
|
472
472
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -673,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
673
673
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
674
674
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
675
675
|
left: "left";
|
|
676
|
-
center: "center";
|
|
677
676
|
right: "right";
|
|
677
|
+
center: "center";
|
|
678
678
|
justify: "justify";
|
|
679
679
|
}>>;
|
|
680
680
|
list: z.ZodOptional<z.ZodObject<{
|
package/dist/package.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
|
|
2
2
|
import { p as MathExpression } from "./math-BScHxedi.js";
|
|
3
|
-
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-mRax-XfS.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13
13
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
15
15
|
left: "left";
|
|
16
|
-
center: "center";
|
|
17
16
|
right: "right";
|
|
17
|
+
center: "center";
|
|
18
18
|
justify: "justify";
|
|
19
19
|
}>>;
|
|
20
20
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
162
162
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
163
163
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
164
164
|
left: "left";
|
|
165
|
-
center: "center";
|
|
166
165
|
right: "right";
|
|
166
|
+
center: "center";
|
|
167
167
|
justify: "justify";
|
|
168
168
|
}>>;
|
|
169
169
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
316
316
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
317
317
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
318
318
|
left: "left";
|
|
319
|
-
center: "center";
|
|
320
319
|
right: "right";
|
|
320
|
+
center: "center";
|
|
321
321
|
justify: "justify";
|
|
322
322
|
}>>;
|
|
323
323
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
465
465
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
466
466
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
467
467
|
left: "left";
|
|
468
|
-
center: "center";
|
|
469
468
|
right: "right";
|
|
469
|
+
center: "center";
|
|
470
470
|
justify: "justify";
|
|
471
471
|
}>>;
|
|
472
472
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -673,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
673
673
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
674
674
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
675
675
|
left: "left";
|
|
676
|
-
center: "center";
|
|
677
676
|
right: "right";
|
|
677
|
+
center: "center";
|
|
678
678
|
justify: "justify";
|
|
679
679
|
}>>;
|
|
680
680
|
list: z.ZodOptional<z.ZodObject<{
|
package/dist/schema-io.cjs
CHANGED
|
@@ -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@7.9.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
11
11
|
}
|
|
12
12
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
13
13
|
function parseSchemaUri(uri) {
|
|
@@ -102,7 +102,7 @@ function documentFromJson(value) {
|
|
|
102
102
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
103
103
|
const kind = kindForFileStem(parts.stem);
|
|
104
104
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
105
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.9.
|
|
105
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.9.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.1");
|
|
106
106
|
switch (kind) {
|
|
107
107
|
case "DocumentTree": return {
|
|
108
108
|
kind,
|
package/dist/schema-io.d.cts
CHANGED
package/dist/schema-io.d.ts
CHANGED
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@7.9.
|
|
9
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
10
10
|
}
|
|
11
11
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
12
12
|
function parseSchemaUri(uri) {
|
|
@@ -101,7 +101,7 @@ function documentFromJson(value) {
|
|
|
101
101
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
102
102
|
const kind = kindForFileStem(parts.stem);
|
|
103
103
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
104
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.9.
|
|
104
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.9.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.1");
|
|
105
105
|
switch (kind) {
|
|
106
106
|
case "DocumentTree": return {
|
|
107
107
|
kind,
|
package/dist/style.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-
|
|
1
|
+
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
|
|
2
2
|
export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
|
package/dist/style.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-
|
|
1
|
+
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
|
|
2
2
|
export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
|
package/dist/text-layout.d.cts
CHANGED
package/dist/text-layout.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-content-model",
|
|
3
|
-
"version": "7.9.
|
|
3
|
+
"version": "7.9.1",
|
|
4
4
|
"description": "The canonical, format-agnostic content and document-tree 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": {
|