document-content-model 7.16.0 → 7.16.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/bijection-corpus.d.cts +2 -2
- package/dist/bijection-corpus.d.ts +2 -2
- 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-CBE4kBMo.d.ts → content-C8oVg7U_.d.ts} +49 -49
- package/dist/{content-DKx5QaRd.d.cts → content-UFAqR2zQ.d.cts} +49 -49
- package/dist/{content-drawing-Dlo8cXJj.d.cts → content-drawing-3yNJVteg.d.cts} +1 -1
- package/dist/{content-drawing-DuvQQwuc.d.ts → content-drawing-cjm6n33_.d.ts} +1 -1
- package/dist/content-drawing.d.cts +1 -1
- package/dist/content-drawing.d.ts +1 -1
- package/dist/content-sheet.d.cts +1 -1
- package/dist/content-sheet.d.ts +1 -1
- package/dist/content-vocabulary.d.cts +1 -1
- package/dist/content-vocabulary.d.ts +1 -1
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/decompose.d.cts +3 -3
- package/dist/decompose.d.ts +3 -3
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- 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-vI3Q0nFf.d.ts → package-node-CoWOKxt7.d.ts} +22 -22
- package/dist/{package-node-BYL2owXg.d.cts → package-node-H2Calta4.d.cts} +22 -22
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- 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/table-grid.d.cts +1 -1
- package/dist/table-grid.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQt
|
|
|
4
4
|
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";
|
|
5
5
|
import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.js";
|
|
6
6
|
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-D06NwxAJ.js";
|
|
7
|
-
import { $ as ContentCellValue, $t as ContentImageBlockSchema, A as ContentTableCell, At as ContentSheetSchema, B as contentDocumentSharedFields, Bt as ContentEmbeddedObjectBlockSchema, C as ContentParagraph, Ct as ContentSheetPrintSettingsSchema, D as ContentSection, Dt as ContentSheetRepeatRangeSchema, E as ContentParagraphSchema, Et as ContentSheetRepeatRange, F as ContentTableRowSchema, Ft as resolveCellFillColor, G as isContentConstructStart, Gt as ContentFloatAxisSchema, H as findRunConstructFault, Ht as ContentFloatAlign, I as ContentTableSchema, It as unrecognizedFillKind, J as ContentCellBordersSchema, Jt as ContentFloatPosition, K as isRunConstructExtent, Kt as ContentFloatOrigin, L as FusedNode, Lt as CONTENT_ANNOTATION_FIELDS, M as ContentTableColumn, Mt as DecimalStringSchema, N as ContentTableColumnSchema, Nt as SheetRuleOperator, O as ContentSectionSchema, Ot as ContentSheetRow, P as ContentTableRow, Pt as SheetRuleOperatorSchema, Q as ContentCellPatternTypeSchema, Qt as ContentImageBlock, R as RunConstructFault, Rt as ContentBorder, S as ContentPageFurnitureSchema, St as ContentSheetPrintSettings, T as ContentParagraphBordersSchema, Tt as ContentSheetRangeSchema, U as isContentBlock, Ut as ContentFloatAlignSchema, V as findConstructMarkerImbalance, Vt as ContentEmbeddedObjectSchema, W as isContentConstructEnd, Wt as ContentFloatAxis, X as ContentCellFillSchema, Xt as ContentFont, Y as ContentCellFill, Yt as ContentFloatPositionSchema, Z as ContentCellPatternType, Zt as ContentFontSchema, _ as ContentListMembership, _n as contentBlockSchemaBox, _t as ContentSheetDataValidationTypeSchema, a as ContentConstructEndSchema, an as ContentOriginSchema, at as ContentSheetCellSchema, b as ContentPageBreakSchema, bt as ContentSheetPrintRange, c as ContentDefinedName, cn as ContentStrokeStyle, ct as ContentSheetConditionalFormat, d as ContentDocumentSchema, dn as ContentTranscriptSchema, dt as ContentSheetConditionalFormatStyleSchema, en as ContentImageOriginal, et as ContentCellValueSchema, f as ContentEmbeddedObject, fn as IMAGE_FORMATS, ft as ContentSheetConditionalFormatValue, g as ContentFormulaSchema, gn as RunConstructExtentSchema, gt as ContentSheetDataValidationType, h as ContentFormula, hn as RunConstructExtent, ht as ContentSheetDataValidationSchema, i as ContentConstructEnd, in as ContentOrigin, it as ContentSheetCellCommentSchema, j as ContentTableCellSchema, jt as DecimalString, k as ContentTable, kt as ContentSheetRowSchema, l as ContentDefinedNameSchema, ln as ContentStrokeStyleSchema, lt as ContentSheetConditionalFormatSchema, m as ContentEmbeddedObjectKind, mn as RUN_FONT_PROPERTY_SHAPE, mt as ContentSheetDataValidation, n as ContentBlock, nn as ContentInterpretation, nt as ContentSheetCell, o as ContentConstructStart, on as ContentRun, ot as ContentSheetColumn, p as ContentEmbeddedObjectBlock, pn as ImageFormat, pt as ContentSheetConditionalFormatValueSchema, q as ContentCellBorders, qt as ContentFloatOriginSchema, r as ContentBlockSchema, rn as ContentInterpretationSchema, rt as ContentSheetCellComment, s as ContentConstructStartSchema, sn as ContentRunSchema, st as ContentSheetColumnSchema, t as ConstructMarkerImbalance, tn as ContentImageOriginalSchema, tt as ContentSheet, u as ContentDocument, un as ContentTranscript, ut as ContentSheetConditionalFormatStyle, v as ContentListMembershipSchema, vn as contentDocumentSchemaBox, vt as ContentSheetImage, w as ContentParagraphBorders, wt as ContentSheetRange, x as ContentPageFurniture, xt as ContentSheetPrintRangeSchema, y as ContentPageBreak, yn as isImageFormat, yt as ContentSheetImageSchema, z as clampHeadingLevel, zt as ContentBorderSchema } from "./content-
|
|
7
|
+
import { $ as ContentCellValue, $t as ContentImageBlockSchema, A as ContentTableCell, At as ContentSheetSchema, B as contentDocumentSharedFields, Bt as ContentEmbeddedObjectBlockSchema, C as ContentParagraph, Ct as ContentSheetPrintSettingsSchema, D as ContentSection, Dt as ContentSheetRepeatRangeSchema, E as ContentParagraphSchema, Et as ContentSheetRepeatRange, F as ContentTableRowSchema, Ft as resolveCellFillColor, G as isContentConstructStart, Gt as ContentFloatAxisSchema, H as findRunConstructFault, Ht as ContentFloatAlign, I as ContentTableSchema, It as unrecognizedFillKind, J as ContentCellBordersSchema, Jt as ContentFloatPosition, K as isRunConstructExtent, Kt as ContentFloatOrigin, L as FusedNode, Lt as CONTENT_ANNOTATION_FIELDS, M as ContentTableColumn, Mt as DecimalStringSchema, N as ContentTableColumnSchema, Nt as SheetRuleOperator, O as ContentSectionSchema, Ot as ContentSheetRow, P as ContentTableRow, Pt as SheetRuleOperatorSchema, Q as ContentCellPatternTypeSchema, Qt as ContentImageBlock, R as RunConstructFault, Rt as ContentBorder, S as ContentPageFurnitureSchema, St as ContentSheetPrintSettings, T as ContentParagraphBordersSchema, Tt as ContentSheetRangeSchema, U as isContentBlock, Ut as ContentFloatAlignSchema, V as findConstructMarkerImbalance, Vt as ContentEmbeddedObjectSchema, W as isContentConstructEnd, Wt as ContentFloatAxis, X as ContentCellFillSchema, Xt as ContentFont, Y as ContentCellFill, Yt as ContentFloatPositionSchema, Z as ContentCellPatternType, Zt as ContentFontSchema, _ as ContentListMembership, _n as contentBlockSchemaBox, _t as ContentSheetDataValidationTypeSchema, a as ContentConstructEndSchema, an as ContentOriginSchema, at as ContentSheetCellSchema, b as ContentPageBreakSchema, bt as ContentSheetPrintRange, c as ContentDefinedName, cn as ContentStrokeStyle, ct as ContentSheetConditionalFormat, d as ContentDocumentSchema, dn as ContentTranscriptSchema, dt as ContentSheetConditionalFormatStyleSchema, en as ContentImageOriginal, et as ContentCellValueSchema, f as ContentEmbeddedObject, fn as IMAGE_FORMATS, ft as ContentSheetConditionalFormatValue, g as ContentFormulaSchema, gn as RunConstructExtentSchema, gt as ContentSheetDataValidationType, h as ContentFormula, hn as RunConstructExtent, ht as ContentSheetDataValidationSchema, i as ContentConstructEnd, in as ContentOrigin, it as ContentSheetCellCommentSchema, j as ContentTableCellSchema, jt as DecimalString, k as ContentTable, kt as ContentSheetRowSchema, l as ContentDefinedNameSchema, ln as ContentStrokeStyleSchema, lt as ContentSheetConditionalFormatSchema, m as ContentEmbeddedObjectKind, mn as RUN_FONT_PROPERTY_SHAPE, mt as ContentSheetDataValidation, n as ContentBlock, nn as ContentInterpretation, nt as ContentSheetCell, o as ContentConstructStart, on as ContentRun, ot as ContentSheetColumn, p as ContentEmbeddedObjectBlock, pn as ImageFormat, pt as ContentSheetConditionalFormatValueSchema, q as ContentCellBorders, qt as ContentFloatOriginSchema, r as ContentBlockSchema, rn as ContentInterpretationSchema, rt as ContentSheetCellComment, s as ContentConstructStartSchema, sn as ContentRunSchema, st as ContentSheetColumnSchema, t as ConstructMarkerImbalance, tn as ContentImageOriginalSchema, tt as ContentSheet, u as ContentDocument, un as ContentTranscript, ut as ContentSheetConditionalFormatStyle, v as ContentListMembershipSchema, vn as contentDocumentSchemaBox, vt as ContentSheetImage, w as ContentParagraphBorders, wt as ContentSheetRange, x as ContentPageFurniture, xt as ContentSheetPrintRangeSchema, y as ContentPageBreak, yn as isImageFormat, yt as ContentSheetImageSchema, z as clampHeadingLevel, zt as ContentBorderSchema } from "./content-C8oVg7U_.js";
|
|
8
8
|
import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.js";
|
|
9
|
-
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-
|
|
9
|
+
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-cjm6n33_.js";
|
|
10
10
|
import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.js";
|
|
11
11
|
import { ContentCodec } from "./codec.js";
|
|
12
|
-
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-
|
|
12
|
+
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";
|
|
13
13
|
import { CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS } from "./json-schema-defs-shared.js";
|
|
14
14
|
import { CONTENT_DEFS } from "./content-json-schema-defs.js";
|
|
15
|
-
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-
|
|
15
|
+
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-CoWOKxt7.js";
|
|
16
16
|
import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.js";
|
|
17
17
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
18
18
|
import { DocumentTree, DocumentTreeSchema, TreeEmbeddedFont, TreeEmbeddedFontSchema } from "./package.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-
|
|
2
|
-
import { k as ContentVector } from "./content-drawing-
|
|
3
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-C8oVg7U_.js";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-cjm6n33_.js";
|
|
3
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package-node.d.ts
|
|
6
6
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -142,7 +142,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
142
142
|
}, z.core.$strict>;
|
|
143
143
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
144
144
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
145
|
-
name: z.ZodString;
|
|
146
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
147
146
|
format: z.ZodEnum<{
|
|
148
147
|
docx: "docx";
|
|
@@ -163,6 +162,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
163
162
|
}>;
|
|
164
163
|
xml: z.ZodString;
|
|
165
164
|
}, z.core.$strict>>;
|
|
165
|
+
name: z.ZodString;
|
|
166
166
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
167
167
|
chart: "chart";
|
|
168
168
|
diagram: "diagram";
|
|
@@ -190,11 +190,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
190
190
|
at: z.ZodString;
|
|
191
191
|
}, z.core.$strip>>;
|
|
192
192
|
}, z.core.$strip>>;
|
|
193
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
194
|
-
index: z.ZodNumber;
|
|
195
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
196
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
193
|
printSettings: z.ZodObject<{
|
|
199
194
|
pageSize: z.ZodObject<{
|
|
200
195
|
widthPt: z.ZodNumber;
|
|
@@ -610,6 +605,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
610
605
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
611
606
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
612
607
|
}, z.core.$strip>>;
|
|
608
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
609
|
+
index: z.ZodNumber;
|
|
610
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
}, z.core.$strip>>;
|
|
613
613
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
614
614
|
ranges: z.ZodArray<z.ZodObject<{
|
|
615
615
|
startRow: z.ZodNumber;
|
|
@@ -1094,10 +1094,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1094
1094
|
value: z.ZodObject<{
|
|
1095
1095
|
type: z.ZodEnum<{
|
|
1096
1096
|
formula: "formula";
|
|
1097
|
+
percent: "percent";
|
|
1097
1098
|
num: "num";
|
|
1098
|
-
min: "min";
|
|
1099
1099
|
max: "max";
|
|
1100
|
-
|
|
1100
|
+
min: "min";
|
|
1101
1101
|
percentile: "percentile";
|
|
1102
1102
|
}>;
|
|
1103
1103
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1141,10 +1141,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1141
1141
|
min: z.ZodObject<{
|
|
1142
1142
|
type: z.ZodEnum<{
|
|
1143
1143
|
formula: "formula";
|
|
1144
|
+
percent: "percent";
|
|
1144
1145
|
num: "num";
|
|
1145
|
-
min: "min";
|
|
1146
1146
|
max: "max";
|
|
1147
|
-
|
|
1147
|
+
min: "min";
|
|
1148
1148
|
percentile: "percentile";
|
|
1149
1149
|
}>;
|
|
1150
1150
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1152,10 +1152,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1152
1152
|
max: z.ZodObject<{
|
|
1153
1153
|
type: z.ZodEnum<{
|
|
1154
1154
|
formula: "formula";
|
|
1155
|
+
percent: "percent";
|
|
1155
1156
|
num: "num";
|
|
1156
|
-
min: "min";
|
|
1157
1157
|
max: "max";
|
|
1158
|
-
|
|
1158
|
+
min: "min";
|
|
1159
1159
|
percentile: "percentile";
|
|
1160
1160
|
}>;
|
|
1161
1161
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1200,10 +1200,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1200
1200
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1201
1201
|
type: z.ZodEnum<{
|
|
1202
1202
|
formula: "formula";
|
|
1203
|
+
percent: "percent";
|
|
1203
1204
|
num: "num";
|
|
1204
|
-
min: "min";
|
|
1205
1205
|
max: "max";
|
|
1206
|
-
|
|
1206
|
+
min: "min";
|
|
1207
1207
|
percentile: "percentile";
|
|
1208
1208
|
}>;
|
|
1209
1209
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1299,7 +1299,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1299
1299
|
}, z.core.$strict>;
|
|
1300
1300
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1301
1301
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1302
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1303
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1304
1303
|
format: z.ZodEnum<{
|
|
1305
1304
|
docx: "docx";
|
|
@@ -1320,6 +1319,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1320
1319
|
}>;
|
|
1321
1320
|
xml: z.ZodString;
|
|
1322
1321
|
}, z.core.$strict>>;
|
|
1322
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frame: z.ZodObject<{
|
|
1324
1324
|
xPt: z.ZodNumber;
|
|
1325
1325
|
yPt: z.ZodNumber;
|
|
@@ -1483,12 +1483,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1483
1483
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1484
1484
|
kind: z.ZodLiteral<"contentControl">;
|
|
1485
1485
|
controlType: z.ZodEnum<{
|
|
1486
|
-
date: "date";
|
|
1487
1486
|
richText: "richText";
|
|
1488
1487
|
plainText: "plainText";
|
|
1489
1488
|
checkbox: "checkbox";
|
|
1490
1489
|
dropDown: "dropDown";
|
|
1491
1490
|
comboBox: "comboBox";
|
|
1491
|
+
date: "date";
|
|
1492
1492
|
picture: "picture";
|
|
1493
1493
|
repeatingSection: "repeatingSection";
|
|
1494
1494
|
button: "button";
|
|
@@ -1552,10 +1552,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1552
1552
|
}, z.core.$strict>, z.ZodObject<{
|
|
1553
1553
|
kind: z.ZodLiteral<"anchor">;
|
|
1554
1554
|
anchorType: z.ZodEnum<{
|
|
1555
|
-
comment: "comment";
|
|
1556
1555
|
bookmark: "bookmark";
|
|
1557
1556
|
footnote: "footnote";
|
|
1558
1557
|
endnote: "endnote";
|
|
1558
|
+
comment: "comment";
|
|
1559
1559
|
}>;
|
|
1560
1560
|
name: z.ZodString;
|
|
1561
1561
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1908,12 +1908,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1908
1908
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1909
1909
|
kind: z.ZodLiteral<"contentControl">;
|
|
1910
1910
|
controlType: z.ZodEnum<{
|
|
1911
|
-
date: "date";
|
|
1912
1911
|
richText: "richText";
|
|
1913
1912
|
plainText: "plainText";
|
|
1914
1913
|
checkbox: "checkbox";
|
|
1915
1914
|
dropDown: "dropDown";
|
|
1916
1915
|
comboBox: "comboBox";
|
|
1916
|
+
date: "date";
|
|
1917
1917
|
picture: "picture";
|
|
1918
1918
|
repeatingSection: "repeatingSection";
|
|
1919
1919
|
button: "button";
|
|
@@ -1977,10 +1977,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1977
1977
|
}, z.core.$strict>, z.ZodObject<{
|
|
1978
1978
|
kind: z.ZodLiteral<"anchor">;
|
|
1979
1979
|
anchorType: z.ZodEnum<{
|
|
1980
|
-
comment: "comment";
|
|
1981
1980
|
bookmark: "bookmark";
|
|
1982
1981
|
footnote: "footnote";
|
|
1983
1982
|
endnote: "endnote";
|
|
1983
|
+
comment: "comment";
|
|
1984
1984
|
}>;
|
|
1985
1985
|
name: z.ZodString;
|
|
1986
1986
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-
|
|
2
|
-
import { k as ContentVector } from "./content-drawing-
|
|
3
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-UFAqR2zQ.cjs";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-3yNJVteg.cjs";
|
|
3
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package-node.d.ts
|
|
6
6
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -142,7 +142,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
142
142
|
}, z.core.$strict>;
|
|
143
143
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
144
144
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
145
|
-
name: z.ZodString;
|
|
146
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
147
146
|
format: z.ZodEnum<{
|
|
148
147
|
docx: "docx";
|
|
@@ -163,6 +162,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
163
162
|
}>;
|
|
164
163
|
xml: z.ZodString;
|
|
165
164
|
}, z.core.$strict>>;
|
|
165
|
+
name: z.ZodString;
|
|
166
166
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
167
167
|
chart: "chart";
|
|
168
168
|
diagram: "diagram";
|
|
@@ -190,11 +190,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
190
190
|
at: z.ZodString;
|
|
191
191
|
}, z.core.$strip>>;
|
|
192
192
|
}, z.core.$strip>>;
|
|
193
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
194
|
-
index: z.ZodNumber;
|
|
195
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
196
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
193
|
printSettings: z.ZodObject<{
|
|
199
194
|
pageSize: z.ZodObject<{
|
|
200
195
|
widthPt: z.ZodNumber;
|
|
@@ -610,6 +605,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
610
605
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
611
606
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
612
607
|
}, z.core.$strip>>;
|
|
608
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
609
|
+
index: z.ZodNumber;
|
|
610
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
}, z.core.$strip>>;
|
|
613
613
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
614
614
|
ranges: z.ZodArray<z.ZodObject<{
|
|
615
615
|
startRow: z.ZodNumber;
|
|
@@ -1094,10 +1094,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1094
1094
|
value: z.ZodObject<{
|
|
1095
1095
|
type: z.ZodEnum<{
|
|
1096
1096
|
formula: "formula";
|
|
1097
|
+
percent: "percent";
|
|
1097
1098
|
num: "num";
|
|
1098
|
-
min: "min";
|
|
1099
1099
|
max: "max";
|
|
1100
|
-
|
|
1100
|
+
min: "min";
|
|
1101
1101
|
percentile: "percentile";
|
|
1102
1102
|
}>;
|
|
1103
1103
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1141,10 +1141,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1141
1141
|
min: z.ZodObject<{
|
|
1142
1142
|
type: z.ZodEnum<{
|
|
1143
1143
|
formula: "formula";
|
|
1144
|
+
percent: "percent";
|
|
1144
1145
|
num: "num";
|
|
1145
|
-
min: "min";
|
|
1146
1146
|
max: "max";
|
|
1147
|
-
|
|
1147
|
+
min: "min";
|
|
1148
1148
|
percentile: "percentile";
|
|
1149
1149
|
}>;
|
|
1150
1150
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1152,10 +1152,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1152
1152
|
max: z.ZodObject<{
|
|
1153
1153
|
type: z.ZodEnum<{
|
|
1154
1154
|
formula: "formula";
|
|
1155
|
+
percent: "percent";
|
|
1155
1156
|
num: "num";
|
|
1156
|
-
min: "min";
|
|
1157
1157
|
max: "max";
|
|
1158
|
-
|
|
1158
|
+
min: "min";
|
|
1159
1159
|
percentile: "percentile";
|
|
1160
1160
|
}>;
|
|
1161
1161
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1200,10 +1200,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1200
1200
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1201
1201
|
type: z.ZodEnum<{
|
|
1202
1202
|
formula: "formula";
|
|
1203
|
+
percent: "percent";
|
|
1203
1204
|
num: "num";
|
|
1204
|
-
min: "min";
|
|
1205
1205
|
max: "max";
|
|
1206
|
-
|
|
1206
|
+
min: "min";
|
|
1207
1207
|
percentile: "percentile";
|
|
1208
1208
|
}>;
|
|
1209
1209
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1299,7 +1299,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1299
1299
|
}, z.core.$strict>;
|
|
1300
1300
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1301
1301
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1302
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1303
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1304
1303
|
format: z.ZodEnum<{
|
|
1305
1304
|
docx: "docx";
|
|
@@ -1320,6 +1319,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1320
1319
|
}>;
|
|
1321
1320
|
xml: z.ZodString;
|
|
1322
1321
|
}, z.core.$strict>>;
|
|
1322
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frame: z.ZodObject<{
|
|
1324
1324
|
xPt: z.ZodNumber;
|
|
1325
1325
|
yPt: z.ZodNumber;
|
|
@@ -1483,12 +1483,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1483
1483
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1484
1484
|
kind: z.ZodLiteral<"contentControl">;
|
|
1485
1485
|
controlType: z.ZodEnum<{
|
|
1486
|
-
date: "date";
|
|
1487
1486
|
richText: "richText";
|
|
1488
1487
|
plainText: "plainText";
|
|
1489
1488
|
checkbox: "checkbox";
|
|
1490
1489
|
dropDown: "dropDown";
|
|
1491
1490
|
comboBox: "comboBox";
|
|
1491
|
+
date: "date";
|
|
1492
1492
|
picture: "picture";
|
|
1493
1493
|
repeatingSection: "repeatingSection";
|
|
1494
1494
|
button: "button";
|
|
@@ -1552,10 +1552,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1552
1552
|
}, z.core.$strict>, z.ZodObject<{
|
|
1553
1553
|
kind: z.ZodLiteral<"anchor">;
|
|
1554
1554
|
anchorType: z.ZodEnum<{
|
|
1555
|
-
comment: "comment";
|
|
1556
1555
|
bookmark: "bookmark";
|
|
1557
1556
|
footnote: "footnote";
|
|
1558
1557
|
endnote: "endnote";
|
|
1558
|
+
comment: "comment";
|
|
1559
1559
|
}>;
|
|
1560
1560
|
name: z.ZodString;
|
|
1561
1561
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1908,12 +1908,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1908
1908
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1909
1909
|
kind: z.ZodLiteral<"contentControl">;
|
|
1910
1910
|
controlType: z.ZodEnum<{
|
|
1911
|
-
date: "date";
|
|
1912
1911
|
richText: "richText";
|
|
1913
1912
|
plainText: "plainText";
|
|
1914
1913
|
checkbox: "checkbox";
|
|
1915
1914
|
dropDown: "dropDown";
|
|
1916
1915
|
comboBox: "comboBox";
|
|
1916
|
+
date: "date";
|
|
1917
1917
|
picture: "picture";
|
|
1918
1918
|
repeatingSection: "repeatingSection";
|
|
1919
1919
|
button: "button";
|
|
@@ -1977,10 +1977,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1977
1977
|
}, z.core.$strict>, z.ZodObject<{
|
|
1978
1978
|
kind: z.ZodLiteral<"anchor">;
|
|
1979
1979
|
anchorType: z.ZodEnum<{
|
|
1980
|
-
comment: "comment";
|
|
1981
1980
|
bookmark: "bookmark";
|
|
1982
1981
|
footnote: "footnote";
|
|
1983
1982
|
endnote: "endnote";
|
|
1983
|
+
comment: "comment";
|
|
1984
1984
|
}>;
|
|
1985
1985
|
name: z.ZodString;
|
|
1986
1986
|
definition: z.ZodOptional<z.ZodString>;
|
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-H2Calta4.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-CoWOKxt7.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-H2Calta4.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: 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-CoWOKxt7.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: 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.16.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.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) {
|
|
@@ -105,7 +105,7 @@ function documentFromJson(value) {
|
|
|
105
105
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
106
106
|
const kind = kindForFileStem(parts.stem);
|
|
107
107
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
108
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.
|
|
108
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.1");
|
|
109
109
|
switch (kind) {
|
|
110
110
|
case "DocumentTree": return {
|
|
111
111
|
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.16.
|
|
9
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.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) {
|
|
@@ -104,7 +104,7 @@ function documentFromJson(value) {
|
|
|
104
104
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
105
105
|
const kind = kindForFileStem(parts.stem);
|
|
106
106
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
107
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.
|
|
107
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.1");
|
|
108
108
|
switch (kind) {
|
|
109
109
|
case "DocumentTree": return {
|
|
110
110
|
kind,
|
package/dist/table-grid.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as TextDirection } from "./style-D06NwxAJ.cjs";
|
|
2
|
-
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-
|
|
2
|
+
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-UFAqR2zQ.cjs";
|
|
3
3
|
//#region src/table-grid.d.ts
|
|
4
4
|
/** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
|
|
5
5
|
declare function tableCellColumnSpan(cell: ContentTableCell): number;
|
package/dist/table-grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as TextDirection } from "./style-D06NwxAJ.js";
|
|
2
|
-
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-
|
|
2
|
+
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-C8oVg7U_.js";
|
|
3
3
|
//#region src/table-grid.d.ts
|
|
4
4
|
/** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
|
|
5
5
|
declare function tableCellColumnSpan(cell: ContentTableCell): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-content-model",
|
|
3
|
-
"version": "7.16.
|
|
3
|
+
"version": "7.16.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": {
|
|
@@ -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@7.16.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"blocks": {
|
|
134
134
|
"type": "array",
|
|
135
135
|
"items": {
|
|
136
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
136
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"breakType": {
|
|
@@ -151,19 +151,19 @@
|
|
|
151
151
|
"default": {
|
|
152
152
|
"type": "array",
|
|
153
153
|
"items": {
|
|
154
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
154
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"even": {
|
|
158
158
|
"type": "array",
|
|
159
159
|
"items": {
|
|
160
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
160
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"first": {
|
|
164
164
|
"type": "array",
|
|
165
165
|
"items": {
|
|
166
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
166
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
},
|
|
@@ -175,19 +175,19 @@
|
|
|
175
175
|
"default": {
|
|
176
176
|
"type": "array",
|
|
177
177
|
"items": {
|
|
178
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
178
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"even": {
|
|
182
182
|
"type": "array",
|
|
183
183
|
"items": {
|
|
184
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
184
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"first": {
|
|
188
188
|
"type": "array",
|
|
189
189
|
"items": {
|
|
190
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
190
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
@@ -199,19 +199,19 @@
|
|
|
199
199
|
"default": {
|
|
200
200
|
"type": "array",
|
|
201
201
|
"items": {
|
|
202
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
202
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"even": {
|
|
206
206
|
"type": "array",
|
|
207
207
|
"items": {
|
|
208
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
208
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
"first": {
|
|
212
212
|
"type": "array",
|
|
213
213
|
"items": {
|
|
214
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
214
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
},
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"blocks": {
|
|
639
639
|
"type": "array",
|
|
640
640
|
"items": {
|
|
641
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
641
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
},
|
|
@@ -2659,7 +2659,7 @@
|
|
|
2659
2659
|
]
|
|
2660
2660
|
},
|
|
2661
2661
|
"document": {
|
|
2662
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
2662
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
2663
2663
|
},
|
|
2664
2664
|
"frame": {
|
|
2665
2665
|
"type": "object",
|
|
@@ -5021,7 +5021,7 @@
|
|
|
5021
5021
|
"blocks": {
|
|
5022
5022
|
"type": "array",
|
|
5023
5023
|
"items": {
|
|
5024
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
5024
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
},
|
|
@@ -8045,7 +8045,7 @@
|
|
|
8045
8045
|
]
|
|
8046
8046
|
},
|
|
8047
8047
|
"document": {
|
|
8048
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
8048
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
8049
8049
|
},
|
|
8050
8050
|
"frame": {
|
|
8051
8051
|
"$ref": "#/$defs/Box"
|
|
@@ -10371,7 +10371,7 @@
|
|
|
10371
10371
|
]
|
|
10372
10372
|
},
|
|
10373
10373
|
"document": {
|
|
10374
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
10374
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
10375
10375
|
},
|
|
10376
10376
|
"frame": {
|
|
10377
10377
|
"$ref": "#/$defs/Box"
|