document-schema 7.15.3 → 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-constructs-3By08A5K.cjs +14695 -0
- package/dist/bijection-constructs-DlP29TpB.js +14624 -0
- package/dist/bijection-constructs.cjs +4 -0
- package/dist/bijection-constructs.d.cts +6 -0
- package/dist/bijection-constructs.d.ts +6 -0
- package/dist/bijection-constructs.js +2 -0
- package/dist/bijection-corpus.cjs +12 -0
- package/dist/bijection-corpus.d.cts +46 -0
- package/dist/bijection-corpus.d.ts +46 -0
- package/dist/bijection-corpus.js +2 -0
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{content-CSf8z9NW.d.cts → content-Bm02PmEB.d.cts} +7908 -9498
- package/dist/{content-1yGdeaVT.d.ts → content-C6lWHtDr.d.ts} +7908 -9498
- package/dist/content-drawing-DkgiEpfT.d.ts +1606 -0
- package/dist/content-drawing-akFpwGlo.d.cts +1606 -0
- package/dist/content-drawing.cjs +186 -0
- package/dist/content-drawing.d.cts +2 -0
- package/dist/content-drawing.d.ts +2 -0
- package/dist/content-drawing.js +171 -0
- package/dist/content-json-schema-defs.cjs +27 -3033
- package/dist/content-json-schema-defs.d.cts +2 -6
- package/dist/content-json-schema-defs.d.ts +2 -6
- package/dist/content-json-schema-defs.js +28 -3031
- package/dist/content-sheet.cjs +408 -0
- package/dist/content-sheet.d.cts +2 -0
- package/dist/content-sheet.d.ts +2 -0
- package/dist/content-sheet.js +385 -0
- package/dist/content-vocabulary.cjs +190 -0
- package/dist/content-vocabulary.d.cts +2 -0
- package/dist/content-vocabulary.d.ts +2 -0
- package/dist/content-vocabulary.js +168 -0
- package/dist/content.cjs +29 -781
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +6 -701
- package/dist/decompose.d.cts +3 -2
- package/dist/decompose.d.ts +3 -2
- package/dist/definitions.cjs +2 -1
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/definitions.js +2 -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.cjs +69 -63
- package/dist/index.d.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +10 -6
- package/dist/json-schema-defs-blocks.cjs +1036 -0
- package/dist/json-schema-defs-blocks.d.cts +5 -0
- package/dist/json-schema-defs-blocks.d.ts +5 -0
- package/dist/json-schema-defs-blocks.js +1035 -0
- package/dist/json-schema-defs-math.cjs +291 -0
- package/dist/json-schema-defs-math.d.cts +5 -0
- package/dist/json-schema-defs-math.d.ts +5 -0
- package/dist/json-schema-defs-math.js +290 -0
- package/dist/json-schema-defs-shared.cjs +42 -0
- package/dist/json-schema-defs-shared.d.cts +9 -0
- package/dist/json-schema-defs-shared.d.ts +9 -0
- package/dist/json-schema-defs-shared.js +38 -0
- package/dist/json-schema-defs-sheet.cjs +944 -0
- package/dist/json-schema-defs-sheet.d.cts +5 -0
- package/dist/json-schema-defs-sheet.d.ts +5 -0
- package/dist/json-schema-defs-sheet.js +943 -0
- package/dist/json-schema-defs-tree.cjs +237 -0
- package/dist/json-schema-defs-tree.d.cts +5 -0
- package/dist/json-schema-defs-tree.d.ts +5 -0
- package/dist/json-schema-defs-tree.js +237 -0
- package/dist/json-schema-defs-vector.cjs +513 -0
- package/dist/json-schema-defs-vector.d.cts +5 -0
- package/dist/json-schema-defs-vector.d.ts +5 -0
- package/dist/json-schema-defs-vector.js +512 -0
- package/dist/magic-string.es-CB2hOw9v.js +1012 -0
- package/dist/magic-string.es-MEBc20Ce.cjs +1012 -0
- package/dist/{math-BScHxedi.d.cts → math-DdIQCljT.d.cts} +9 -9
- package/dist/{math-BScHxedi.d.ts → math-DdIQCljT.d.ts} +9 -9
- package/dist/math.d.cts +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{package-node-CpE1BAqK.d.ts → package-node-B8YDhUTf.d.ts} +39 -38
- package/dist/{package-node-ng7Yimj9.d.cts → package-node-BMWuIKAC.d.cts} +39 -38
- package/dist/package-node.cjs +12 -9
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package-node.js +4 -1
- package/dist/package.d.cts +12 -12
- package/dist/package.d.ts +12 -12
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
- package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/table-grid.d.cts +2 -2
- package/dist/table-grid.d.ts +2 -2
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -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";
|
|
@@ -210,9 +210,9 @@ declare const QuantitySchema: z.ZodObject<{
|
|
|
210
210
|
kind: z.ZodLiteral<"quantity">;
|
|
211
211
|
magnitude: z.ZodNumber;
|
|
212
212
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
213
|
+
time: "time";
|
|
213
214
|
length: "length";
|
|
214
215
|
mass: "mass";
|
|
215
|
-
time: "time";
|
|
216
216
|
electricCurrent: "electricCurrent";
|
|
217
217
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
218
218
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -225,9 +225,9 @@ declare const IntervalSchema: z.ZodObject<{
|
|
|
225
225
|
min: z.ZodNumber;
|
|
226
226
|
max: z.ZodNumber;
|
|
227
227
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
228
|
+
time: "time";
|
|
228
229
|
length: "length";
|
|
229
230
|
mass: "mass";
|
|
230
|
-
time: "time";
|
|
231
231
|
electricCurrent: "electricCurrent";
|
|
232
232
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
233
233
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -239,9 +239,9 @@ declare const EvaluationValueSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
239
239
|
kind: z.ZodLiteral<"quantity">;
|
|
240
240
|
magnitude: z.ZodNumber;
|
|
241
241
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
242
|
+
time: "time";
|
|
242
243
|
length: "length";
|
|
243
244
|
mass: "mass";
|
|
244
|
-
time: "time";
|
|
245
245
|
electricCurrent: "electricCurrent";
|
|
246
246
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
247
247
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -252,9 +252,9 @@ declare const EvaluationValueSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
252
252
|
min: z.ZodNumber;
|
|
253
253
|
max: z.ZodNumber;
|
|
254
254
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
255
|
+
time: "time";
|
|
255
256
|
length: "length";
|
|
256
257
|
mass: "mass";
|
|
257
|
-
time: "time";
|
|
258
258
|
electricCurrent: "electricCurrent";
|
|
259
259
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
260
260
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -266,9 +266,9 @@ declare const FormulaBindingsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonl
|
|
|
266
266
|
kind: z.ZodLiteral<"quantity">;
|
|
267
267
|
magnitude: z.ZodNumber;
|
|
268
268
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
269
|
+
time: "time";
|
|
269
270
|
length: "length";
|
|
270
271
|
mass: "mass";
|
|
271
|
-
time: "time";
|
|
272
272
|
electricCurrent: "electricCurrent";
|
|
273
273
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
274
274
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -279,9 +279,9 @@ declare const FormulaBindingsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonl
|
|
|
279
279
|
min: z.ZodNumber;
|
|
280
280
|
max: z.ZodNumber;
|
|
281
281
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
282
|
+
time: "time";
|
|
282
283
|
length: "length";
|
|
283
284
|
mass: "mass";
|
|
284
|
-
time: "time";
|
|
285
285
|
electricCurrent: "electricCurrent";
|
|
286
286
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
287
287
|
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";
|
|
@@ -210,9 +210,9 @@ declare const QuantitySchema: z.ZodObject<{
|
|
|
210
210
|
kind: z.ZodLiteral<"quantity">;
|
|
211
211
|
magnitude: z.ZodNumber;
|
|
212
212
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
213
|
+
time: "time";
|
|
213
214
|
length: "length";
|
|
214
215
|
mass: "mass";
|
|
215
|
-
time: "time";
|
|
216
216
|
electricCurrent: "electricCurrent";
|
|
217
217
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
218
218
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -225,9 +225,9 @@ declare const IntervalSchema: z.ZodObject<{
|
|
|
225
225
|
min: z.ZodNumber;
|
|
226
226
|
max: z.ZodNumber;
|
|
227
227
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
228
|
+
time: "time";
|
|
228
229
|
length: "length";
|
|
229
230
|
mass: "mass";
|
|
230
|
-
time: "time";
|
|
231
231
|
electricCurrent: "electricCurrent";
|
|
232
232
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
233
233
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -239,9 +239,9 @@ declare const EvaluationValueSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
239
239
|
kind: z.ZodLiteral<"quantity">;
|
|
240
240
|
magnitude: z.ZodNumber;
|
|
241
241
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
242
|
+
time: "time";
|
|
242
243
|
length: "length";
|
|
243
244
|
mass: "mass";
|
|
244
|
-
time: "time";
|
|
245
245
|
electricCurrent: "electricCurrent";
|
|
246
246
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
247
247
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -252,9 +252,9 @@ declare const EvaluationValueSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
252
252
|
min: z.ZodNumber;
|
|
253
253
|
max: z.ZodNumber;
|
|
254
254
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
255
|
+
time: "time";
|
|
255
256
|
length: "length";
|
|
256
257
|
mass: "mass";
|
|
257
|
-
time: "time";
|
|
258
258
|
electricCurrent: "electricCurrent";
|
|
259
259
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
260
260
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -266,9 +266,9 @@ declare const FormulaBindingsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonl
|
|
|
266
266
|
kind: z.ZodLiteral<"quantity">;
|
|
267
267
|
magnitude: z.ZodNumber;
|
|
268
268
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
269
|
+
time: "time";
|
|
269
270
|
length: "length";
|
|
270
271
|
mass: "mass";
|
|
271
|
-
time: "time";
|
|
272
272
|
electricCurrent: "electricCurrent";
|
|
273
273
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
274
274
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -279,9 +279,9 @@ declare const FormulaBindingsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonl
|
|
|
279
279
|
min: z.ZodNumber;
|
|
280
280
|
max: z.ZodNumber;
|
|
281
281
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
282
|
+
time: "time";
|
|
282
283
|
length: "length";
|
|
283
284
|
mass: "mass";
|
|
284
|
-
time: "time";
|
|
285
285
|
electricCurrent: "electricCurrent";
|
|
286
286
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
287
287
|
amountOfSubstance: "amountOfSubstance";
|
package/dist/math.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-
|
|
1
|
+
import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-DdIQCljT.cjs";
|
|
2
2
|
export { DimensionVector, DimensionVectorSchema, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FormulaBindings, FormulaBindingsSchema, Interval, IntervalSchema, 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, Quantity, QuantitySchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
|
package/dist/math.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-
|
|
1
|
+
import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-DdIQCljT.js";
|
|
2
2
|
export { DimensionVector, DimensionVectorSchema, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FormulaBindings, FormulaBindingsSchema, Interval, IntervalSchema, 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, Quantity, QuantitySchema, SI_BASE_DIMENSIONS, SiBaseDimension, SymbolTable, SymbolTableSchema, isMathExpression };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-C6lWHtDr.js";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-DkgiEpfT.js";
|
|
2
3
|
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
//#region src/package-node.d.ts
|
|
@@ -60,17 +61,17 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
60
61
|
bottomPt: z.ZodNumber;
|
|
61
62
|
leftPt: z.ZodNumber;
|
|
62
63
|
}, z.core.$strip>;
|
|
64
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
66
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
67
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
63
69
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
70
|
nextPage: "nextPage";
|
|
65
71
|
continuous: "continuous";
|
|
66
72
|
evenPage: "evenPage";
|
|
67
73
|
oddPage: "oddPage";
|
|
68
74
|
}>>;
|
|
69
|
-
headers: z.ZodOptional<z.ZodObject<{
|
|
70
|
-
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
71
|
-
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
72
|
-
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
75
|
footers: z.ZodOptional<z.ZodObject<{
|
|
75
76
|
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
76
77
|
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
@@ -189,6 +190,16 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
189
190
|
at: z.ZodString;
|
|
190
191
|
}, z.core.$strip>>;
|
|
191
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
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
199
|
+
index: z.ZodNumber;
|
|
200
|
+
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
192
203
|
printSettings: z.ZodObject<{
|
|
193
204
|
pageSize: z.ZodObject<{
|
|
194
205
|
widthPt: z.ZodNumber;
|
|
@@ -552,8 +563,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
552
563
|
}, z.core.$strip>>;
|
|
553
564
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
554
565
|
left: "left";
|
|
555
|
-
right: "right";
|
|
556
566
|
center: "center";
|
|
567
|
+
right: "right";
|
|
557
568
|
justify: "justify";
|
|
558
569
|
}>>;
|
|
559
570
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -599,16 +610,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
599
610
|
heightPt: z.ZodNumber;
|
|
600
611
|
}, z.core.$strip>>>;
|
|
601
612
|
}, z.core.$strip>>;
|
|
602
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
603
|
-
index: z.ZodNumber;
|
|
604
|
-
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
605
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
-
}, z.core.$strip>>;
|
|
607
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
-
index: z.ZodNumber;
|
|
609
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}, z.core.$strip>>;
|
|
612
613
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
614
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
615
|
startRow: z.ZodNumber;
|
|
@@ -1093,8 +1094,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1093
1094
|
value: z.ZodObject<{
|
|
1094
1095
|
type: z.ZodEnum<{
|
|
1095
1096
|
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1097
|
num: "num";
|
|
1098
|
+
percent: "percent";
|
|
1098
1099
|
max: "max";
|
|
1099
1100
|
min: "min";
|
|
1100
1101
|
percentile: "percentile";
|
|
@@ -1140,8 +1141,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1140
1141
|
min: z.ZodObject<{
|
|
1141
1142
|
type: z.ZodEnum<{
|
|
1142
1143
|
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1144
|
num: "num";
|
|
1145
|
+
percent: "percent";
|
|
1145
1146
|
max: "max";
|
|
1146
1147
|
min: "min";
|
|
1147
1148
|
percentile: "percentile";
|
|
@@ -1151,8 +1152,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1151
1152
|
max: z.ZodObject<{
|
|
1152
1153
|
type: z.ZodEnum<{
|
|
1153
1154
|
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1155
|
num: "num";
|
|
1156
|
+
percent: "percent";
|
|
1156
1157
|
max: "max";
|
|
1157
1158
|
min: "min";
|
|
1158
1159
|
percentile: "percentile";
|
|
@@ -1199,8 +1200,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1199
1200
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1201
|
type: z.ZodEnum<{
|
|
1201
1202
|
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1203
|
num: "num";
|
|
1204
|
+
percent: "percent";
|
|
1204
1205
|
max: "max";
|
|
1205
1206
|
min: "min";
|
|
1206
1207
|
percentile: "percentile";
|
|
@@ -1319,6 +1320,21 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
1322
|
name: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
frame: z.ZodObject<{
|
|
1324
|
+
xPt: z.ZodNumber;
|
|
1325
|
+
yPt: z.ZodNumber;
|
|
1326
|
+
widthPt: z.ZodNumber;
|
|
1327
|
+
heightPt: z.ZodNumber;
|
|
1328
|
+
}, z.core.$strip>;
|
|
1329
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
insetLeftPt: z.ZodNumber;
|
|
1331
|
+
insetTopPt: z.ZodNumber;
|
|
1332
|
+
insetRightPt: z.ZodNumber;
|
|
1333
|
+
insetBottomPt: z.ZodNumber;
|
|
1334
|
+
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
+
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1322
1338
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1339
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1340
|
pageIndex: z.ZodNumber;
|
|
@@ -1354,21 +1370,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1370
|
at: z.ZodString;
|
|
1355
1371
|
}, z.core.$strip>>;
|
|
1356
1372
|
}, z.core.$strip>>;
|
|
1357
|
-
frame: z.ZodObject<{
|
|
1358
|
-
xPt: z.ZodNumber;
|
|
1359
|
-
yPt: z.ZodNumber;
|
|
1360
|
-
widthPt: z.ZodNumber;
|
|
1361
|
-
heightPt: z.ZodNumber;
|
|
1362
|
-
}, z.core.$strip>;
|
|
1363
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
insetLeftPt: z.ZodNumber;
|
|
1365
|
-
insetTopPt: z.ZodNumber;
|
|
1366
|
-
insetRightPt: z.ZodNumber;
|
|
1367
|
-
insetBottomPt: z.ZodNumber;
|
|
1368
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1372
1373
|
}, z.core.$strict>;
|
|
1373
1374
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1375
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
@@ -1677,8 +1678,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1677
1678
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1678
1679
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1679
1680
|
left: "left";
|
|
1680
|
-
right: "right";
|
|
1681
1681
|
center: "center";
|
|
1682
|
+
right: "right";
|
|
1682
1683
|
justify: "justify";
|
|
1683
1684
|
}>>;
|
|
1684
1685
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -2103,8 +2104,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2103
2104
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2104
2105
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2105
2106
|
left: "left";
|
|
2106
|
-
right: "right";
|
|
2107
2107
|
center: "center";
|
|
2108
|
+
right: "right";
|
|
2108
2109
|
justify: "justify";
|
|
2109
2110
|
}>>;
|
|
2110
2111
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-Bm02PmEB.cjs";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-akFpwGlo.cjs";
|
|
2
3
|
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
//#region src/package-node.d.ts
|
|
@@ -60,17 +61,17 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
60
61
|
bottomPt: z.ZodNumber;
|
|
61
62
|
leftPt: z.ZodNumber;
|
|
62
63
|
}, z.core.$strip>;
|
|
64
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
66
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
67
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
63
69
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
70
|
nextPage: "nextPage";
|
|
65
71
|
continuous: "continuous";
|
|
66
72
|
evenPage: "evenPage";
|
|
67
73
|
oddPage: "oddPage";
|
|
68
74
|
}>>;
|
|
69
|
-
headers: z.ZodOptional<z.ZodObject<{
|
|
70
|
-
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
71
|
-
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
72
|
-
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
75
|
footers: z.ZodOptional<z.ZodObject<{
|
|
75
76
|
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
76
77
|
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
|
|
@@ -189,6 +190,16 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
189
190
|
at: z.ZodString;
|
|
190
191
|
}, z.core.$strip>>;
|
|
191
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
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
199
|
+
index: z.ZodNumber;
|
|
200
|
+
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
192
203
|
printSettings: z.ZodObject<{
|
|
193
204
|
pageSize: z.ZodObject<{
|
|
194
205
|
widthPt: z.ZodNumber;
|
|
@@ -552,8 +563,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
552
563
|
}, z.core.$strip>>;
|
|
553
564
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
554
565
|
left: "left";
|
|
555
|
-
right: "right";
|
|
556
566
|
center: "center";
|
|
567
|
+
right: "right";
|
|
557
568
|
justify: "justify";
|
|
558
569
|
}>>;
|
|
559
570
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -599,16 +610,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
599
610
|
heightPt: z.ZodNumber;
|
|
600
611
|
}, z.core.$strip>>>;
|
|
601
612
|
}, z.core.$strip>>;
|
|
602
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
603
|
-
index: z.ZodNumber;
|
|
604
|
-
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
605
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
-
}, z.core.$strip>>;
|
|
607
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
-
index: z.ZodNumber;
|
|
609
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}, z.core.$strip>>;
|
|
612
613
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
614
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
615
|
startRow: z.ZodNumber;
|
|
@@ -1093,8 +1094,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1093
1094
|
value: z.ZodObject<{
|
|
1094
1095
|
type: z.ZodEnum<{
|
|
1095
1096
|
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1097
|
num: "num";
|
|
1098
|
+
percent: "percent";
|
|
1098
1099
|
max: "max";
|
|
1099
1100
|
min: "min";
|
|
1100
1101
|
percentile: "percentile";
|
|
@@ -1140,8 +1141,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1140
1141
|
min: z.ZodObject<{
|
|
1141
1142
|
type: z.ZodEnum<{
|
|
1142
1143
|
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1144
|
num: "num";
|
|
1145
|
+
percent: "percent";
|
|
1145
1146
|
max: "max";
|
|
1146
1147
|
min: "min";
|
|
1147
1148
|
percentile: "percentile";
|
|
@@ -1151,8 +1152,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1151
1152
|
max: z.ZodObject<{
|
|
1152
1153
|
type: z.ZodEnum<{
|
|
1153
1154
|
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1155
|
num: "num";
|
|
1156
|
+
percent: "percent";
|
|
1156
1157
|
max: "max";
|
|
1157
1158
|
min: "min";
|
|
1158
1159
|
percentile: "percentile";
|
|
@@ -1199,8 +1200,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1199
1200
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1201
|
type: z.ZodEnum<{
|
|
1201
1202
|
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1203
|
num: "num";
|
|
1204
|
+
percent: "percent";
|
|
1204
1205
|
max: "max";
|
|
1205
1206
|
min: "min";
|
|
1206
1207
|
percentile: "percentile";
|
|
@@ -1319,6 +1320,21 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
1322
|
name: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
frame: z.ZodObject<{
|
|
1324
|
+
xPt: z.ZodNumber;
|
|
1325
|
+
yPt: z.ZodNumber;
|
|
1326
|
+
widthPt: z.ZodNumber;
|
|
1327
|
+
heightPt: z.ZodNumber;
|
|
1328
|
+
}, z.core.$strip>;
|
|
1329
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
insetLeftPt: z.ZodNumber;
|
|
1331
|
+
insetTopPt: z.ZodNumber;
|
|
1332
|
+
insetRightPt: z.ZodNumber;
|
|
1333
|
+
insetBottomPt: z.ZodNumber;
|
|
1334
|
+
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
+
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1322
1338
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1339
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1340
|
pageIndex: z.ZodNumber;
|
|
@@ -1354,21 +1370,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1370
|
at: z.ZodString;
|
|
1355
1371
|
}, z.core.$strip>>;
|
|
1356
1372
|
}, z.core.$strip>>;
|
|
1357
|
-
frame: z.ZodObject<{
|
|
1358
|
-
xPt: z.ZodNumber;
|
|
1359
|
-
yPt: z.ZodNumber;
|
|
1360
|
-
widthPt: z.ZodNumber;
|
|
1361
|
-
heightPt: z.ZodNumber;
|
|
1362
|
-
}, z.core.$strip>;
|
|
1363
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
insetLeftPt: z.ZodNumber;
|
|
1365
|
-
insetTopPt: z.ZodNumber;
|
|
1366
|
-
insetRightPt: z.ZodNumber;
|
|
1367
|
-
insetBottomPt: z.ZodNumber;
|
|
1368
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1372
1373
|
}, z.core.$strict>;
|
|
1373
1374
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1375
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
@@ -1677,8 +1678,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1677
1678
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1678
1679
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1679
1680
|
left: "left";
|
|
1680
|
-
right: "right";
|
|
1681
1681
|
center: "center";
|
|
1682
|
+
right: "right";
|
|
1682
1683
|
justify: "justify";
|
|
1683
1684
|
}>>;
|
|
1684
1685
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -2103,8 +2104,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2103
2104
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2104
2105
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2105
2106
|
left: "left";
|
|
2106
|
-
right: "right";
|
|
2107
2107
|
center: "center";
|
|
2108
|
+
right: "right";
|
|
2108
2109
|
justify: "justify";
|
|
2109
2110
|
}>>;
|
|
2110
2111
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
package/dist/package-node.cjs
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_construct = require("./construct.cjs");
|
|
3
|
+
const require_content_vocabulary = require("./content-vocabulary.cjs");
|
|
4
|
+
const require_content_sheet = require("./content-sheet.cjs");
|
|
5
|
+
const require_content_drawing = require("./content-drawing.cjs");
|
|
3
6
|
const require_content = require("./content.cjs");
|
|
4
7
|
let zod = require("zod");
|
|
5
8
|
//#region src/package-node.ts
|
|
6
9
|
const SectionDescriptorSchema = require_content.ContentSectionSchema.omit({ blocks: true }).extend({ kind: zod.z.literal("section") }).strict();
|
|
7
|
-
const SlideDescriptorSchema =
|
|
8
|
-
const SheetDescriptorSchema =
|
|
10
|
+
const SlideDescriptorSchema = require_content_drawing.ContentSlideSchema.omit({ shapes: true }).extend({ kind: zod.z.literal("slide") }).strict();
|
|
11
|
+
const SheetDescriptorSchema = require_content_sheet.ContentSheetSchema.omit({
|
|
9
12
|
images: true,
|
|
10
13
|
embeddedObjects: true
|
|
11
14
|
}).extend({ kind: zod.z.literal("sheet") }).strict();
|
|
12
|
-
const DrawPageDescriptorSchema =
|
|
15
|
+
const DrawPageDescriptorSchema = require_content_drawing.ContentDrawPageSchema.omit({
|
|
13
16
|
shapes: true,
|
|
14
17
|
vectors: true
|
|
15
18
|
}).extend({ kind: zod.z.literal("drawPage") }).strict();
|
|
16
|
-
const ShapeDescriptorSchema =
|
|
19
|
+
const ShapeDescriptorSchema = require_content_drawing.ContentShapeSchema.omit({ blocks: true }).strict();
|
|
17
20
|
const HeadingParagraphSchema = require_content.ContentParagraphSchema.extend({ headingLevel: zod.z.number().int().positive() });
|
|
18
21
|
const ListParagraphSchema = require_content.ContentParagraphSchema.extend({ list: require_content.ContentListMembershipSchema });
|
|
19
22
|
function isRecord(value) {
|
|
@@ -43,10 +46,10 @@ function isListChild(value) {
|
|
|
43
46
|
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(TreeBlockLeafSchema, value);
|
|
44
47
|
}
|
|
45
48
|
function isSheetChild(value) {
|
|
46
|
-
return isLeafChild(
|
|
49
|
+
return isLeafChild(require_content_sheet.ContentSheetImageSchema, value) || isLeafChild(require_content_vocabulary.ContentEmbeddedObjectSchema, value);
|
|
47
50
|
}
|
|
48
51
|
function isDrawPageChild(value) {
|
|
49
|
-
return isShapeGroupNode(value) || isLeafChild(
|
|
52
|
+
return isShapeGroupNode(value) || isLeafChild(require_content_drawing.ContentVectorSchema, value);
|
|
50
53
|
}
|
|
51
54
|
function isSectionGroupNode(value) {
|
|
52
55
|
return isRecord(value) && SectionDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isSectionChild);
|
|
@@ -77,9 +80,9 @@ function isShapeConstructGroupNode(value) {
|
|
|
77
80
|
}
|
|
78
81
|
const packageLeafUnion = zod.z.union([
|
|
79
82
|
TreeBlockLeafSchema,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
require_content_sheet.ContentSheetImageSchema,
|
|
84
|
+
require_content_vocabulary.ContentEmbeddedObjectSchema,
|
|
85
|
+
require_content_drawing.ContentVectorSchema,
|
|
83
86
|
require_content.ContentFormulaSchema
|
|
84
87
|
]);
|
|
85
88
|
function isTreeLeaf(value) {
|
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-BMWuIKAC.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-B8YDhUTf.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-node.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ConstructDescriptorSchema } from "./construct.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ContentEmbeddedObjectSchema } from "./content-vocabulary.js";
|
|
3
|
+
import { ContentSheetImageSchema, ContentSheetSchema } from "./content-sheet.js";
|
|
4
|
+
import { ContentDrawPageSchema, ContentShapeSchema, ContentSlideSchema, ContentVectorSchema } from "./content-drawing.js";
|
|
5
|
+
import { ContentFormulaSchema, ContentListMembershipSchema, ContentParagraphSchema, ContentSectionSchema, isContentBlock, isContentConstructEnd, isContentConstructStart } from "./content.js";
|
|
3
6
|
import { z } from "zod";
|
|
4
7
|
//#region src/package-node.ts
|
|
5
8
|
const SectionDescriptorSchema = ContentSectionSchema.omit({ blocks: true }).extend({ kind: z.literal("section") }).strict();
|