doc-schema.js 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -6
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-0rpAcHRT.d.cts → construct-D5pdDPqM.d.cts} +3 -3
- package/dist/{construct-0rpAcHRT.d.ts → construct-D5pdDPqM.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-eCPtLgjC.d.cts → content-B5VNueO_.d.cts} +97 -9
- package/dist/{content-D4gWnk94.d.ts → content-DPtA7fC1.d.ts} +97 -9
- package/dist/content-json-schema-defs.cjs +36 -6
- package/dist/content-json-schema-defs.js +36 -6
- package/dist/content.cjs +32 -0
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +28 -1
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/{math-BlG8Tjk-.d.cts → math-B7gZJeND.d.cts} +3 -3
- package/dist/{math-BlG8Tjk-.d.ts → math-B7gZJeND.d.ts} +3 -3
- package/dist/math.d.cts +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{package-node-BigDwzL9.d.ts → package-node-BGOvE4E_.d.ts} +56 -53
- package/dist/{package-node-WkzRlNO1.d.cts → package-node-Cz-iiwsx.d.cts} +56 -53
- package/dist/package-node.cjs +11 -4
- package/dist/package-node.d.cts +2 -2
- package/dist/package-node.d.ts +2 -2
- package/dist/package-node.js +11 -6
- package/dist/package.d.cts +7 -7
- package/dist/package.d.ts +7 -7
- 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/package.json +1 -1
- package/schemas/content-document.schema.json +64 -9
- package/schemas/document-package.schema.json +64 -9
package/dist/index.js
CHANGED
|
@@ -7,13 +7,13 @@ import { BoxSchema, LayoutFrameSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LE
|
|
|
7
7
|
import { MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, isMathMlNode } from "./mathml.js";
|
|
8
8
|
import { LayoutMetadataSchema } from "./metadata.js";
|
|
9
9
|
import { AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFontSchema } from "./style.js";
|
|
10
|
-
import { ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, contentDocumentSharedFields, isContentBlock } from "./content.js";
|
|
10
|
+
import { ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart } from "./content.js";
|
|
11
11
|
import { DefinitionEntrySchema, DefinitionsTableSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
12
|
-
import { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode } from "./package-node.js";
|
|
12
|
+
import { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageBlockLeafSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode } from "./package-node.js";
|
|
13
13
|
import { DocumentPackageSchema } from "./package.js";
|
|
14
14
|
import { LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, schemaUriFor } from "./schema-io.js";
|
|
15
15
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
|
|
16
16
|
import "./font-port.js";
|
|
17
17
|
import "./text-layout.js";
|
|
18
18
|
import "./math-layout.js";
|
|
19
|
-
export { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, ColorSchema, ConstructDescriptorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalStringSchema, DefinitionEntrySchema, DefinitionsTableSchema, DimensionVectorSchema, DivisionDescriptorSchema, DivisionSourceSchema, DocumentPackageSchema, DrawPageDescriptorSchema, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRationalSchema, FieldDescriptorSchema, HeadingGroupSchema, HeadingParagraphSchema, LayoutFontSchema, LayoutFrameSchema, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, ListParagraphSchema, MAX_SAFE_INTEGER, MarginsSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PageSizeSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, SymbolTableSchema, UnrecognizedDocumentSchemaError, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
19
|
+
export { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, ColorSchema, ConstructDescriptorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalStringSchema, DefinitionEntrySchema, DefinitionsTableSchema, DimensionVectorSchema, DivisionDescriptorSchema, DivisionSourceSchema, DocumentPackageSchema, DrawPageDescriptorSchema, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRationalSchema, FieldDescriptorSchema, HeadingGroupSchema, HeadingParagraphSchema, LayoutFontSchema, LayoutFrameSchema, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, ListParagraphSchema, MAX_SAFE_INTEGER, MarginsSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageBlockLeafSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PageSizeSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, SymbolTableSchema, UnrecognizedDocumentSchemaError, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
@@ -8,9 +8,9 @@ type ExactRational = z.infer<typeof ExactRationalSchema>;
|
|
|
8
8
|
declare const SI_BASE_DIMENSIONS: readonly ["length", "mass", "time", "electricCurrent", "thermodynamicTemperature", "amountOfSubstance", "luminousIntensity"];
|
|
9
9
|
type SiBaseDimension = (typeof SI_BASE_DIMENSIONS)[number];
|
|
10
10
|
declare const DimensionVectorSchema: z.ZodRecord<z.ZodEnum<{
|
|
11
|
+
time: "time";
|
|
11
12
|
length: "length";
|
|
12
13
|
mass: "mass";
|
|
13
|
-
time: "time";
|
|
14
14
|
electricCurrent: "electricCurrent";
|
|
15
15
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
16
16
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -22,9 +22,9 @@ declare const MathUnitSchema: z.ZodObject<{
|
|
|
22
22
|
symbol: z.ZodString;
|
|
23
23
|
name: z.ZodOptional<z.ZodString>;
|
|
24
24
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
25
|
+
time: "time";
|
|
25
26
|
length: "length";
|
|
26
27
|
mass: "mass";
|
|
27
|
-
time: "time";
|
|
28
28
|
electricCurrent: "electricCurrent";
|
|
29
29
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
30
30
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -75,9 +75,9 @@ declare const SymbolTableSchema: z.ZodObject<{
|
|
|
75
75
|
symbol: z.ZodString;
|
|
76
76
|
name: z.ZodOptional<z.ZodString>;
|
|
77
77
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
78
|
+
time: "time";
|
|
78
79
|
length: "length";
|
|
79
80
|
mass: "mass";
|
|
80
|
-
time: "time";
|
|
81
81
|
electricCurrent: "electricCurrent";
|
|
82
82
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
83
83
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -8,9 +8,9 @@ type ExactRational = z.infer<typeof ExactRationalSchema>;
|
|
|
8
8
|
declare const SI_BASE_DIMENSIONS: readonly ["length", "mass", "time", "electricCurrent", "thermodynamicTemperature", "amountOfSubstance", "luminousIntensity"];
|
|
9
9
|
type SiBaseDimension = (typeof SI_BASE_DIMENSIONS)[number];
|
|
10
10
|
declare const DimensionVectorSchema: z.ZodRecord<z.ZodEnum<{
|
|
11
|
+
time: "time";
|
|
11
12
|
length: "length";
|
|
12
13
|
mass: "mass";
|
|
13
|
-
time: "time";
|
|
14
14
|
electricCurrent: "electricCurrent";
|
|
15
15
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
16
16
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -22,9 +22,9 @@ declare const MathUnitSchema: z.ZodObject<{
|
|
|
22
22
|
symbol: z.ZodString;
|
|
23
23
|
name: z.ZodOptional<z.ZodString>;
|
|
24
24
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
25
|
+
time: "time";
|
|
25
26
|
length: "length";
|
|
26
27
|
mass: "mass";
|
|
27
|
-
time: "time";
|
|
28
28
|
electricCurrent: "electricCurrent";
|
|
29
29
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
30
30
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -75,9 +75,9 @@ declare const SymbolTableSchema: z.ZodObject<{
|
|
|
75
75
|
symbol: z.ZodString;
|
|
76
76
|
name: z.ZodOptional<z.ZodString>;
|
|
77
77
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
78
|
+
time: "time";
|
|
78
79
|
length: "length";
|
|
79
80
|
mass: "mass";
|
|
80
|
-
time: "time";
|
|
81
81
|
electricCurrent: "electricCurrent";
|
|
82
82
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
83
83
|
amountOfSubstance: "amountOfSubstance";
|
package/dist/math.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-
|
|
1
|
+
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.cjs";
|
|
2
2
|
export { DimensionVector, DimensionVectorSchema, ExactRational, ExactRationalSchema, MathApp, MathAppSchema, MathExpression, MathExpressionSchema, MathMatrix, MathMatrixSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
|
package/dist/math.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-
|
|
1
|
+
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.js";
|
|
2
2
|
export { DimensionVector, DimensionVectorSchema, ExactRational, ExactRationalSchema, MathApp, MathAppSchema, MathExpression, MathExpressionSchema, MathMatrix, MathMatrixSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-DPtA7fC1.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-D5pdDPqM.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -27,52 +27,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
27
27
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
28
28
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
29
29
|
name: z.ZodString;
|
|
30
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
31
|
-
index: z.ZodNumber;
|
|
32
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
printSettings: z.ZodObject<{
|
|
36
|
-
pageSize: z.ZodObject<{
|
|
37
|
-
widthPt: z.ZodNumber;
|
|
38
|
-
heightPt: z.ZodNumber;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
margins: z.ZodObject<{
|
|
41
|
-
topPt: z.ZodNumber;
|
|
42
|
-
rightPt: z.ZodNumber;
|
|
43
|
-
bottomPt: z.ZodNumber;
|
|
44
|
-
leftPt: z.ZodNumber;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
printRange: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
startRow: z.ZodNumber;
|
|
48
|
-
startColumn: z.ZodNumber;
|
|
49
|
-
endRow: z.ZodNumber;
|
|
50
|
-
endColumn: z.ZodNumber;
|
|
51
|
-
}, z.core.$strip>>;
|
|
52
|
-
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
54
|
-
width: z.ZodNumber;
|
|
55
|
-
height: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip>>;
|
|
57
|
-
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
start: z.ZodNumber;
|
|
59
|
-
end: z.ZodNumber;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
62
|
-
start: z.ZodNumber;
|
|
63
|
-
end: z.ZodNumber;
|
|
64
|
-
}, z.core.$strip>>;
|
|
65
|
-
gridlines: z.ZodBoolean;
|
|
66
|
-
headers: z.ZodBoolean;
|
|
67
|
-
pageOrder: z.ZodEnum<{
|
|
68
|
-
downThenOver: "downThenOver";
|
|
69
|
-
overThenDown: "overThenDown";
|
|
70
|
-
}>;
|
|
71
|
-
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
rows: z.ZodArray<z.ZodNumber>;
|
|
73
|
-
columns: z.ZodArray<z.ZodNumber>;
|
|
74
|
-
}, z.core.$strip>>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
30
|
cells: z.ZodArray<z.ZodObject<{
|
|
77
31
|
row: z.ZodNumber;
|
|
78
32
|
column: z.ZodNumber;
|
|
@@ -229,11 +183,57 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
229
183
|
heightPt: z.ZodNumber;
|
|
230
184
|
}, z.core.$strip>>>;
|
|
231
185
|
}, z.core.$strip>>;
|
|
186
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
187
|
+
index: z.ZodNumber;
|
|
188
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
232
191
|
columns: z.ZodArray<z.ZodObject<{
|
|
233
192
|
index: z.ZodNumber;
|
|
234
193
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
235
194
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
236
195
|
}, z.core.$strip>>;
|
|
196
|
+
printSettings: z.ZodObject<{
|
|
197
|
+
pageSize: z.ZodObject<{
|
|
198
|
+
widthPt: z.ZodNumber;
|
|
199
|
+
heightPt: z.ZodNumber;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
margins: z.ZodObject<{
|
|
202
|
+
topPt: z.ZodNumber;
|
|
203
|
+
rightPt: z.ZodNumber;
|
|
204
|
+
bottomPt: z.ZodNumber;
|
|
205
|
+
leftPt: z.ZodNumber;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
printRange: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
startRow: z.ZodNumber;
|
|
209
|
+
startColumn: z.ZodNumber;
|
|
210
|
+
endRow: z.ZodNumber;
|
|
211
|
+
endColumn: z.ZodNumber;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
width: z.ZodNumber;
|
|
216
|
+
height: z.ZodNumber;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
start: z.ZodNumber;
|
|
220
|
+
end: z.ZodNumber;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
start: z.ZodNumber;
|
|
224
|
+
end: z.ZodNumber;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
gridlines: z.ZodBoolean;
|
|
227
|
+
headers: z.ZodBoolean;
|
|
228
|
+
pageOrder: z.ZodEnum<{
|
|
229
|
+
downThenOver: "downThenOver";
|
|
230
|
+
overThenDown: "overThenDown";
|
|
231
|
+
}>;
|
|
232
|
+
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
rows: z.ZodArray<z.ZodNumber>;
|
|
234
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
237
|
kind: z.ZodLiteral<"sheet">;
|
|
238
238
|
}, z.core.$strict>;
|
|
239
239
|
type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
|
|
@@ -375,10 +375,11 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
375
375
|
}, z.core.$strip>;
|
|
376
376
|
}, z.core.$strip>;
|
|
377
377
|
type ListParagraph = z.infer<typeof ListParagraphSchema>;
|
|
378
|
-
type
|
|
379
|
-
type
|
|
380
|
-
type
|
|
381
|
-
type
|
|
378
|
+
type PackageBlockLeaf = Exclude<ContentBlock, ContentConstructStart | ContentConstructEnd>;
|
|
379
|
+
type PackageLeaf = PackageBlockLeaf | ContentSheetImage | ContentEmbeddedObject | ContentVector | ContentFormula;
|
|
380
|
+
type SectionChild = HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | PackageBlockLeaf;
|
|
381
|
+
type ShapeChild = ListGroupNode | ShapeConstructGroupNode | PackageBlockLeaf;
|
|
382
|
+
type ListChild = ListGroupNode | ShapeConstructGroupNode | PackageBlockLeaf;
|
|
382
383
|
type SheetChild = ContentSheetImage | ContentEmbeddedObject;
|
|
383
384
|
type DrawPageChild = ShapeGroupNode | ContentVector;
|
|
384
385
|
interface SectionGroupNode {
|
|
@@ -428,6 +429,8 @@ interface ShapeConstructGroupNode {
|
|
|
428
429
|
}
|
|
429
430
|
type PackageGroup = SectionGroupNode | SlideGroupNode | SheetGroupNode | DrawPageGroupNode | ShapeGroupNode | HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ShapeConstructGroupNode;
|
|
430
431
|
type PackageNode = PackageGroup | PackageLeaf;
|
|
432
|
+
declare function isPackageBlockLeaf(value: unknown): value is PackageBlockLeaf;
|
|
433
|
+
declare const PackageBlockLeafSchema: z.ZodCustom<PackageBlockLeaf, PackageBlockLeaf>;
|
|
431
434
|
declare function isSectionGroupNode(value: unknown): value is SectionGroupNode;
|
|
432
435
|
declare function isSlideGroupNode(value: unknown): value is SlideGroupNode;
|
|
433
436
|
declare function isSheetGroupNode(value: unknown): value is SheetGroupNode;
|
|
@@ -453,4 +456,4 @@ declare const PackageGroupSchema: z.ZodCustom<PackageGroup, PackageGroup>;
|
|
|
453
456
|
declare const PackageLeafSchema: z.ZodCustom<PackageLeaf, PackageLeaf>;
|
|
454
457
|
declare const PackageNodeSchema: z.ZodCustom<PackageNode, PackageNode>;
|
|
455
458
|
//#endregion
|
|
456
|
-
export {
|
|
459
|
+
export { isSectionConstructGroupNode as $, ShapeChild as A, SheetGroupNode as B, SectionChild as C, SectionDescriptorSchema as D, SectionDescriptor as E, ShapeGroupNode as F, SlideGroupSchema as G, SlideDescriptor as H, ShapeGroupSchema as I, isListGroupNode as J, isDrawPageGroupNode as K, SheetChild as L, ShapeConstructGroupSchema as M, ShapeDescriptor as N, SectionGroupNode as O, ShapeDescriptorSchema as P, isPackageNode as Q, SheetDescriptor as R, PackageNodeSchema as S, SectionConstructGroupSchema as T, SlideDescriptorSchema as U, SheetGroupSchema as V, SlideGroupNode as W, isPackageGroup as X, isPackageBlockLeaf as Y, isPackageLeaf as Z, PackageGroup as _, DrawPageGroupSchema as a, PackageLeafSchema as b, HeadingParagraph as c, ListGroupNode as d, isSectionGroupNode as et, ListGroupSchema as f, PackageBlockLeafSchema as g, PackageBlockLeaf as h, DrawPageGroupNode as i, isSlideGroupNode as it, ShapeConstructGroupNode as j, SectionGroupSchema as k, HeadingParagraphSchema as l, ListParagraphSchema as m, DrawPageDescriptor as n, isShapeGroupNode as nt, HeadingGroupNode as o, ListParagraph as p, isHeadingGroupNode as q, DrawPageDescriptorSchema as r, isSheetGroupNode as rt, HeadingGroupSchema as s, DrawPageChild as t, isShapeConstructGroupNode as tt, ListChild as u, PackageGroupSchema as v, SectionConstructGroupNode as w, PackageNode as x, PackageLeaf as y, SheetDescriptorSchema as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { C as ContentFormula, X as ContentSheetImage, f as ContentConstructStart, n as ContentBlock, u as ContentConstructEnd, v as ContentEmbeddedObject, xt as ContentVector } from "./content-B5VNueO_.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-D5pdDPqM.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -27,52 +27,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
27
27
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
28
28
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
29
29
|
name: z.ZodString;
|
|
30
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
31
|
-
index: z.ZodNumber;
|
|
32
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
printSettings: z.ZodObject<{
|
|
36
|
-
pageSize: z.ZodObject<{
|
|
37
|
-
widthPt: z.ZodNumber;
|
|
38
|
-
heightPt: z.ZodNumber;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
margins: z.ZodObject<{
|
|
41
|
-
topPt: z.ZodNumber;
|
|
42
|
-
rightPt: z.ZodNumber;
|
|
43
|
-
bottomPt: z.ZodNumber;
|
|
44
|
-
leftPt: z.ZodNumber;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
printRange: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
startRow: z.ZodNumber;
|
|
48
|
-
startColumn: z.ZodNumber;
|
|
49
|
-
endRow: z.ZodNumber;
|
|
50
|
-
endColumn: z.ZodNumber;
|
|
51
|
-
}, z.core.$strip>>;
|
|
52
|
-
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
54
|
-
width: z.ZodNumber;
|
|
55
|
-
height: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip>>;
|
|
57
|
-
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
start: z.ZodNumber;
|
|
59
|
-
end: z.ZodNumber;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
62
|
-
start: z.ZodNumber;
|
|
63
|
-
end: z.ZodNumber;
|
|
64
|
-
}, z.core.$strip>>;
|
|
65
|
-
gridlines: z.ZodBoolean;
|
|
66
|
-
headers: z.ZodBoolean;
|
|
67
|
-
pageOrder: z.ZodEnum<{
|
|
68
|
-
downThenOver: "downThenOver";
|
|
69
|
-
overThenDown: "overThenDown";
|
|
70
|
-
}>;
|
|
71
|
-
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
rows: z.ZodArray<z.ZodNumber>;
|
|
73
|
-
columns: z.ZodArray<z.ZodNumber>;
|
|
74
|
-
}, z.core.$strip>>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
30
|
cells: z.ZodArray<z.ZodObject<{
|
|
77
31
|
row: z.ZodNumber;
|
|
78
32
|
column: z.ZodNumber;
|
|
@@ -229,11 +183,57 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
229
183
|
heightPt: z.ZodNumber;
|
|
230
184
|
}, z.core.$strip>>>;
|
|
231
185
|
}, z.core.$strip>>;
|
|
186
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
187
|
+
index: z.ZodNumber;
|
|
188
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
232
191
|
columns: z.ZodArray<z.ZodObject<{
|
|
233
192
|
index: z.ZodNumber;
|
|
234
193
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
235
194
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
236
195
|
}, z.core.$strip>>;
|
|
196
|
+
printSettings: z.ZodObject<{
|
|
197
|
+
pageSize: z.ZodObject<{
|
|
198
|
+
widthPt: z.ZodNumber;
|
|
199
|
+
heightPt: z.ZodNumber;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
margins: z.ZodObject<{
|
|
202
|
+
topPt: z.ZodNumber;
|
|
203
|
+
rightPt: z.ZodNumber;
|
|
204
|
+
bottomPt: z.ZodNumber;
|
|
205
|
+
leftPt: z.ZodNumber;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
printRange: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
startRow: z.ZodNumber;
|
|
209
|
+
startColumn: z.ZodNumber;
|
|
210
|
+
endRow: z.ZodNumber;
|
|
211
|
+
endColumn: z.ZodNumber;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
width: z.ZodNumber;
|
|
216
|
+
height: z.ZodNumber;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
start: z.ZodNumber;
|
|
220
|
+
end: z.ZodNumber;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
start: z.ZodNumber;
|
|
224
|
+
end: z.ZodNumber;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
gridlines: z.ZodBoolean;
|
|
227
|
+
headers: z.ZodBoolean;
|
|
228
|
+
pageOrder: z.ZodEnum<{
|
|
229
|
+
downThenOver: "downThenOver";
|
|
230
|
+
overThenDown: "overThenDown";
|
|
231
|
+
}>;
|
|
232
|
+
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
rows: z.ZodArray<z.ZodNumber>;
|
|
234
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
237
|
kind: z.ZodLiteral<"sheet">;
|
|
238
238
|
}, z.core.$strict>;
|
|
239
239
|
type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
|
|
@@ -375,10 +375,11 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
375
375
|
}, z.core.$strip>;
|
|
376
376
|
}, z.core.$strip>;
|
|
377
377
|
type ListParagraph = z.infer<typeof ListParagraphSchema>;
|
|
378
|
-
type
|
|
379
|
-
type
|
|
380
|
-
type
|
|
381
|
-
type
|
|
378
|
+
type PackageBlockLeaf = Exclude<ContentBlock, ContentConstructStart | ContentConstructEnd>;
|
|
379
|
+
type PackageLeaf = PackageBlockLeaf | ContentSheetImage | ContentEmbeddedObject | ContentVector | ContentFormula;
|
|
380
|
+
type SectionChild = HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | PackageBlockLeaf;
|
|
381
|
+
type ShapeChild = ListGroupNode | ShapeConstructGroupNode | PackageBlockLeaf;
|
|
382
|
+
type ListChild = ListGroupNode | ShapeConstructGroupNode | PackageBlockLeaf;
|
|
382
383
|
type SheetChild = ContentSheetImage | ContentEmbeddedObject;
|
|
383
384
|
type DrawPageChild = ShapeGroupNode | ContentVector;
|
|
384
385
|
interface SectionGroupNode {
|
|
@@ -428,6 +429,8 @@ interface ShapeConstructGroupNode {
|
|
|
428
429
|
}
|
|
429
430
|
type PackageGroup = SectionGroupNode | SlideGroupNode | SheetGroupNode | DrawPageGroupNode | ShapeGroupNode | HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ShapeConstructGroupNode;
|
|
430
431
|
type PackageNode = PackageGroup | PackageLeaf;
|
|
432
|
+
declare function isPackageBlockLeaf(value: unknown): value is PackageBlockLeaf;
|
|
433
|
+
declare const PackageBlockLeafSchema: z.ZodCustom<PackageBlockLeaf, PackageBlockLeaf>;
|
|
431
434
|
declare function isSectionGroupNode(value: unknown): value is SectionGroupNode;
|
|
432
435
|
declare function isSlideGroupNode(value: unknown): value is SlideGroupNode;
|
|
433
436
|
declare function isSheetGroupNode(value: unknown): value is SheetGroupNode;
|
|
@@ -453,4 +456,4 @@ declare const PackageGroupSchema: z.ZodCustom<PackageGroup, PackageGroup>;
|
|
|
453
456
|
declare const PackageLeafSchema: z.ZodCustom<PackageLeaf, PackageLeaf>;
|
|
454
457
|
declare const PackageNodeSchema: z.ZodCustom<PackageNode, PackageNode>;
|
|
455
458
|
//#endregion
|
|
456
|
-
export {
|
|
459
|
+
export { isSectionConstructGroupNode as $, ShapeChild as A, SheetGroupNode as B, SectionChild as C, SectionDescriptorSchema as D, SectionDescriptor as E, ShapeGroupNode as F, SlideGroupSchema as G, SlideDescriptor as H, ShapeGroupSchema as I, isListGroupNode as J, isDrawPageGroupNode as K, SheetChild as L, ShapeConstructGroupSchema as M, ShapeDescriptor as N, SectionGroupNode as O, ShapeDescriptorSchema as P, isPackageNode as Q, SheetDescriptor as R, PackageNodeSchema as S, SectionConstructGroupSchema as T, SlideDescriptorSchema as U, SheetGroupSchema as V, SlideGroupNode as W, isPackageGroup as X, isPackageBlockLeaf as Y, isPackageLeaf as Z, PackageGroup as _, DrawPageGroupSchema as a, PackageLeafSchema as b, HeadingParagraph as c, ListGroupNode as d, isSectionGroupNode as et, ListGroupSchema as f, PackageBlockLeafSchema as g, PackageBlockLeaf as h, DrawPageGroupNode as i, isSlideGroupNode as it, ShapeConstructGroupNode as j, SectionGroupSchema as k, HeadingParagraphSchema as l, ListParagraphSchema as m, DrawPageDescriptor as n, isShapeGroupNode as nt, HeadingGroupNode as o, ListParagraph as p, isHeadingGroupNode as q, DrawPageDescriptorSchema as r, isSheetGroupNode as rt, HeadingGroupSchema as s, DrawPageChild as t, isShapeConstructGroupNode as tt, ListChild as u, PackageGroupSchema as v, SectionConstructGroupNode as w, PackageNode as x, PackageLeaf as y, SheetDescriptorSchema as z };
|
package/dist/package-node.cjs
CHANGED
|
@@ -29,14 +29,19 @@ function isLeafChild(schema, value) {
|
|
|
29
29
|
if (isRecord(value) && "style" in value) return false;
|
|
30
30
|
return schema.safeParse(value).success;
|
|
31
31
|
}
|
|
32
|
+
function isPackageBlockLeaf(value) {
|
|
33
|
+
if (require_content.isContentConstructStart(value) || require_content.isContentConstructEnd(value)) return false;
|
|
34
|
+
return require_content.isContentBlock(value);
|
|
35
|
+
}
|
|
36
|
+
const PackageBlockLeafSchema = zod.z.custom(isPackageBlockLeaf);
|
|
32
37
|
function isSectionChild(value) {
|
|
33
|
-
return isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isLeafChild(
|
|
38
|
+
return isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
34
39
|
}
|
|
35
40
|
function isShapeChild(value) {
|
|
36
|
-
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(
|
|
41
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
37
42
|
}
|
|
38
43
|
function isListChild(value) {
|
|
39
|
-
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(
|
|
44
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
40
45
|
}
|
|
41
46
|
function isSheetChild(value) {
|
|
42
47
|
return isLeafChild(require_content.ContentSheetImageSchema, value) || isLeafChild(require_content.ContentEmbeddedObjectSchema, value);
|
|
@@ -72,7 +77,7 @@ function isShapeConstructGroupNode(value) {
|
|
|
72
77
|
return isRecord(value) && require_construct.ConstructDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isShapeChild);
|
|
73
78
|
}
|
|
74
79
|
const packageLeafUnion = zod.z.union([
|
|
75
|
-
|
|
80
|
+
PackageBlockLeafSchema,
|
|
76
81
|
require_content.ContentSheetImageSchema,
|
|
77
82
|
require_content.ContentEmbeddedObjectSchema,
|
|
78
83
|
require_content.ContentVectorSchema,
|
|
@@ -106,6 +111,7 @@ exports.HeadingGroupSchema = HeadingGroupSchema;
|
|
|
106
111
|
exports.HeadingParagraphSchema = HeadingParagraphSchema;
|
|
107
112
|
exports.ListGroupSchema = ListGroupSchema;
|
|
108
113
|
exports.ListParagraphSchema = ListParagraphSchema;
|
|
114
|
+
exports.PackageBlockLeafSchema = PackageBlockLeafSchema;
|
|
109
115
|
exports.PackageGroupSchema = PackageGroupSchema;
|
|
110
116
|
exports.PackageLeafSchema = PackageLeafSchema;
|
|
111
117
|
exports.PackageNodeSchema = PackageNodeSchema;
|
|
@@ -122,6 +128,7 @@ exports.SlideGroupSchema = SlideGroupSchema;
|
|
|
122
128
|
exports.isDrawPageGroupNode = isDrawPageGroupNode;
|
|
123
129
|
exports.isHeadingGroupNode = isHeadingGroupNode;
|
|
124
130
|
exports.isListGroupNode = isListGroupNode;
|
|
131
|
+
exports.isPackageBlockLeaf = isPackageBlockLeaf;
|
|
125
132
|
exports.isPackageGroup = isPackageGroup;
|
|
126
133
|
exports.isPackageLeaf = isPackageLeaf;
|
|
127
134
|
exports.isPackageNode = isPackageNode;
|
package/dist/package-node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
|
1
|
+
import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-Cz-iiwsx.cjs";
|
|
2
|
+
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageBlockLeaf, PackageBlockLeafSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
package/dist/package-node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
|
1
|
+
import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-BGOvE4E_.js";
|
|
2
|
+
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageBlockLeaf, PackageBlockLeafSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
package/dist/package-node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConstructDescriptorSchema } from "./construct.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ContentDrawPageSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentListMembershipSchema, ContentParagraphSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetImageSchema, ContentSheetSchema, ContentSlideSchema, ContentVectorSchema, isContentBlock, isContentConstructEnd, isContentConstructStart } from "./content.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.ts
|
|
5
5
|
const SectionDescriptorSchema = ContentSectionSchema.omit({ blocks: true }).extend({ kind: z.literal("section") }).strict();
|
|
@@ -28,14 +28,19 @@ function isLeafChild(schema, value) {
|
|
|
28
28
|
if (isRecord(value) && "style" in value) return false;
|
|
29
29
|
return schema.safeParse(value).success;
|
|
30
30
|
}
|
|
31
|
+
function isPackageBlockLeaf(value) {
|
|
32
|
+
if (isContentConstructStart(value) || isContentConstructEnd(value)) return false;
|
|
33
|
+
return isContentBlock(value);
|
|
34
|
+
}
|
|
35
|
+
const PackageBlockLeafSchema = z.custom(isPackageBlockLeaf);
|
|
31
36
|
function isSectionChild(value) {
|
|
32
|
-
return isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isLeafChild(
|
|
37
|
+
return isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
33
38
|
}
|
|
34
39
|
function isShapeChild(value) {
|
|
35
|
-
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(
|
|
40
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
36
41
|
}
|
|
37
42
|
function isListChild(value) {
|
|
38
|
-
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(
|
|
43
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(PackageBlockLeafSchema, value);
|
|
39
44
|
}
|
|
40
45
|
function isSheetChild(value) {
|
|
41
46
|
return isLeafChild(ContentSheetImageSchema, value) || isLeafChild(ContentEmbeddedObjectSchema, value);
|
|
@@ -71,7 +76,7 @@ function isShapeConstructGroupNode(value) {
|
|
|
71
76
|
return isRecord(value) && ConstructDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isShapeChild);
|
|
72
77
|
}
|
|
73
78
|
const packageLeafUnion = z.union([
|
|
74
|
-
|
|
79
|
+
PackageBlockLeafSchema,
|
|
75
80
|
ContentSheetImageSchema,
|
|
76
81
|
ContentEmbeddedObjectSchema,
|
|
77
82
|
ContentVectorSchema,
|
|
@@ -99,4 +104,4 @@ const PackageGroupSchema = z.custom(isPackageGroup);
|
|
|
99
104
|
const PackageLeafSchema = z.custom(isPackageLeaf);
|
|
100
105
|
const PackageNodeSchema = z.custom(isPackageNode);
|
|
101
106
|
//#endregion
|
|
102
|
-
export { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
|
107
|
+
export { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageBlockLeafSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
package/dist/package.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
|
|
2
|
-
import { s as MathExpression } from "./math-
|
|
3
|
-
import {
|
|
2
|
+
import { s as MathExpression } from "./math-B7gZJeND.cjs";
|
|
3
|
+
import { B as SheetGroupNode, O as SectionGroupNode, W as SlideGroupNode, i as DrawPageGroupNode } from "./package-node-Cz-iiwsx.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -67,9 +67,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
67
67
|
symbol: z.ZodString;
|
|
68
68
|
name: z.ZodOptional<z.ZodString>;
|
|
69
69
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
70
|
+
time: "time";
|
|
70
71
|
length: "length";
|
|
71
72
|
mass: "mass";
|
|
72
|
-
time: "time";
|
|
73
73
|
electricCurrent: "electricCurrent";
|
|
74
74
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
75
75
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -171,9 +171,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
171
171
|
symbol: z.ZodString;
|
|
172
172
|
name: z.ZodOptional<z.ZodString>;
|
|
173
173
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
174
|
+
time: "time";
|
|
174
175
|
length: "length";
|
|
175
176
|
mass: "mass";
|
|
176
|
-
time: "time";
|
|
177
177
|
electricCurrent: "electricCurrent";
|
|
178
178
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
179
179
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -275,9 +275,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
275
275
|
symbol: z.ZodString;
|
|
276
276
|
name: z.ZodOptional<z.ZodString>;
|
|
277
277
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
278
|
+
time: "time";
|
|
278
279
|
length: "length";
|
|
279
280
|
mass: "mass";
|
|
280
|
-
time: "time";
|
|
281
281
|
electricCurrent: "electricCurrent";
|
|
282
282
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
283
283
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -379,9 +379,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
379
379
|
symbol: z.ZodString;
|
|
380
380
|
name: z.ZodOptional<z.ZodString>;
|
|
381
381
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
382
|
+
time: "time";
|
|
382
383
|
length: "length";
|
|
383
384
|
mass: "mass";
|
|
384
|
-
time: "time";
|
|
385
385
|
electricCurrent: "electricCurrent";
|
|
386
386
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
387
387
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -495,9 +495,9 @@ declare const DocumentPackageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
495
495
|
symbol: z.ZodString;
|
|
496
496
|
name: z.ZodOptional<z.ZodString>;
|
|
497
497
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
498
|
+
time: "time";
|
|
498
499
|
length: "length";
|
|
499
500
|
mass: "mass";
|
|
500
|
-
time: "time";
|
|
501
501
|
electricCurrent: "electricCurrent";
|
|
502
502
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
503
503
|
amountOfSubstance: "amountOfSubstance";
|