document-content-model 7.11.1 → 7.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a1.cjs +1 -1
- package/dist/a1.js +1 -1
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/color.cjs +3 -5
- package/dist/color.js +3 -5
- package/dist/{construct-C9cYkjnd.d.cts → construct-C4XiF8OW.d.cts} +6 -6
- package/dist/{construct-C9cYkjnd.d.ts → construct-C4XiF8OW.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-oJmrSCr6.d.cts → content-BrxGwe8j.d.cts} +29 -29
- package/dist/{content-DJYlkhmk.d.ts → content-D-j5QBCq.d.ts} +29 -29
- package/dist/content-json-schema-defs.cjs +1 -3
- package/dist/content-json-schema-defs.js +1 -3
- package/dist/content.cjs +1 -1
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +1 -1
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/factor-styles.cjs +17 -61
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +17 -61
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{package-node-DkOfPGtb.d.ts → package-node-CHX4Z0RM.d.ts} +21 -21
- package/dist/{package-node-BaeLuQNH.d.cts → package-node-DH0p0dyl.d.cts} +21 -21
- package/dist/package-node.cjs +0 -1
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package-node.js +0 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
package/dist/a1.cjs
CHANGED
|
@@ -43,7 +43,7 @@ function cellReference(row, column) {
|
|
|
43
43
|
function parseRangeReference(ref) {
|
|
44
44
|
const separatorIndex = ref.indexOf(":");
|
|
45
45
|
const startRaw = separatorIndex === -1 ? ref : ref.slice(0, separatorIndex);
|
|
46
|
-
const endRaw =
|
|
46
|
+
const endRaw = ref.slice(separatorIndex + 1);
|
|
47
47
|
const start = parseCellReference(startRaw);
|
|
48
48
|
const end = parseCellReference(endRaw);
|
|
49
49
|
if (start === void 0 || end === void 0) return;
|
package/dist/a1.js
CHANGED
|
@@ -42,7 +42,7 @@ function cellReference(row, column) {
|
|
|
42
42
|
function parseRangeReference(ref) {
|
|
43
43
|
const separatorIndex = ref.indexOf(":");
|
|
44
44
|
const startRaw = separatorIndex === -1 ? ref : ref.slice(0, separatorIndex);
|
|
45
|
-
const endRaw =
|
|
45
|
+
const endRaw = ref.slice(separatorIndex + 1);
|
|
46
46
|
const start = parseCellReference(startRaw);
|
|
47
47
|
const end = parseCellReference(endRaw);
|
|
48
48
|
if (start === void 0 || end === void 0) return;
|
package/dist/codec.d.cts
CHANGED
package/dist/codec.d.ts
CHANGED
package/dist/color.cjs
CHANGED
|
@@ -11,13 +11,11 @@ const COLOR_BLACK = {
|
|
|
11
11
|
g: 0,
|
|
12
12
|
b: 0
|
|
13
13
|
};
|
|
14
|
-
const
|
|
14
|
+
const HEX_DIGITS_PATTERN = /^[0-9a-fA-F]{6}$/;
|
|
15
15
|
const HEX_BYTE_MAX = 255;
|
|
16
16
|
function rgbHexToColor(hex) {
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
19
|
-
const digits = match[1];
|
|
20
|
-
if (digits === void 0) throw new Error(`not a 6-digit hex colour: ${hex}`);
|
|
17
|
+
const digits = hex.startsWith("#") ? hex.slice(1) : hex;
|
|
18
|
+
if (!HEX_DIGITS_PATTERN.test(digits)) throw new Error(`not a 6-digit hex colour: ${hex}`);
|
|
21
19
|
const r = Number.parseInt(digits.slice(0, 2), 16);
|
|
22
20
|
const g = Number.parseInt(digits.slice(2, 4), 16);
|
|
23
21
|
const b = Number.parseInt(digits.slice(4, 6), 16);
|
package/dist/color.js
CHANGED
|
@@ -10,13 +10,11 @@ const COLOR_BLACK = {
|
|
|
10
10
|
g: 0,
|
|
11
11
|
b: 0
|
|
12
12
|
};
|
|
13
|
-
const
|
|
13
|
+
const HEX_DIGITS_PATTERN = /^[0-9a-fA-F]{6}$/;
|
|
14
14
|
const HEX_BYTE_MAX = 255;
|
|
15
15
|
function rgbHexToColor(hex) {
|
|
16
|
-
const
|
|
17
|
-
if (
|
|
18
|
-
const digits = match[1];
|
|
19
|
-
if (digits === void 0) throw new Error(`not a 6-digit hex colour: ${hex}`);
|
|
16
|
+
const digits = hex.startsWith("#") ? hex.slice(1) : hex;
|
|
17
|
+
if (!HEX_DIGITS_PATTERN.test(digits)) throw new Error(`not a 6-digit hex colour: ${hex}`);
|
|
20
18
|
const r = Number.parseInt(digits.slice(0, 2), 16);
|
|
21
19
|
const g = Number.parseInt(digits.slice(2, 4), 16);
|
|
22
20
|
const b = Number.parseInt(digits.slice(4, 6), 16);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/construct.d.ts
|
|
3
3
|
declare const ContentControlTypeSchema: z.ZodEnum<{
|
|
4
|
+
date: "date";
|
|
4
5
|
richText: "richText";
|
|
5
6
|
plainText: "plainText";
|
|
6
7
|
checkbox: "checkbox";
|
|
7
8
|
dropDown: "dropDown";
|
|
8
9
|
comboBox: "comboBox";
|
|
9
|
-
date: "date";
|
|
10
10
|
picture: "picture";
|
|
11
11
|
repeatingSection: "repeatingSection";
|
|
12
12
|
button: "button";
|
|
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
|
|
|
23
23
|
declare const ContentControlDescriptorSchema: z.ZodObject<{
|
|
24
24
|
kind: z.ZodLiteral<"contentControl">;
|
|
25
25
|
controlType: z.ZodEnum<{
|
|
26
|
+
date: "date";
|
|
26
27
|
richText: "richText";
|
|
27
28
|
plainText: "plainText";
|
|
28
29
|
checkbox: "checkbox";
|
|
29
30
|
dropDown: "dropDown";
|
|
30
31
|
comboBox: "comboBox";
|
|
31
|
-
date: "date";
|
|
32
32
|
picture: "picture";
|
|
33
33
|
repeatingSection: "repeatingSection";
|
|
34
34
|
button: "button";
|
|
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
|
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
|
|
96
96
|
declare const AnchorTypeSchema: z.ZodEnum<{
|
|
97
|
+
comment: "comment";
|
|
97
98
|
bookmark: "bookmark";
|
|
98
99
|
footnote: "footnote";
|
|
99
100
|
endnote: "endnote";
|
|
100
|
-
comment: "comment";
|
|
101
101
|
}>;
|
|
102
102
|
type AnchorType = z.infer<typeof AnchorTypeSchema>;
|
|
103
103
|
declare const AnchorDescriptorSchema: z.ZodObject<{
|
|
104
104
|
kind: z.ZodLiteral<"anchor">;
|
|
105
105
|
anchorType: z.ZodEnum<{
|
|
106
|
+
comment: "comment";
|
|
106
107
|
bookmark: "bookmark";
|
|
107
108
|
footnote: "footnote";
|
|
108
109
|
endnote: "endnote";
|
|
109
|
-
comment: "comment";
|
|
110
110
|
}>;
|
|
111
111
|
name: z.ZodString;
|
|
112
112
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
|
|
|
252
252
|
declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
253
|
kind: z.ZodLiteral<"contentControl">;
|
|
254
254
|
controlType: z.ZodEnum<{
|
|
255
|
+
date: "date";
|
|
255
256
|
richText: "richText";
|
|
256
257
|
plainText: "plainText";
|
|
257
258
|
checkbox: "checkbox";
|
|
258
259
|
dropDown: "dropDown";
|
|
259
260
|
comboBox: "comboBox";
|
|
260
|
-
date: "date";
|
|
261
261
|
picture: "picture";
|
|
262
262
|
repeatingSection: "repeatingSection";
|
|
263
263
|
button: "button";
|
|
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
321
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
322
322
|
kind: z.ZodLiteral<"anchor">;
|
|
323
323
|
anchorType: z.ZodEnum<{
|
|
324
|
+
comment: "comment";
|
|
324
325
|
bookmark: "bookmark";
|
|
325
326
|
footnote: "footnote";
|
|
326
327
|
endnote: "endnote";
|
|
327
|
-
comment: "comment";
|
|
328
328
|
}>;
|
|
329
329
|
name: z.ZodString;
|
|
330
330
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/construct.d.ts
|
|
3
3
|
declare const ContentControlTypeSchema: z.ZodEnum<{
|
|
4
|
+
date: "date";
|
|
4
5
|
richText: "richText";
|
|
5
6
|
plainText: "plainText";
|
|
6
7
|
checkbox: "checkbox";
|
|
7
8
|
dropDown: "dropDown";
|
|
8
9
|
comboBox: "comboBox";
|
|
9
|
-
date: "date";
|
|
10
10
|
picture: "picture";
|
|
11
11
|
repeatingSection: "repeatingSection";
|
|
12
12
|
button: "button";
|
|
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
|
|
|
23
23
|
declare const ContentControlDescriptorSchema: z.ZodObject<{
|
|
24
24
|
kind: z.ZodLiteral<"contentControl">;
|
|
25
25
|
controlType: z.ZodEnum<{
|
|
26
|
+
date: "date";
|
|
26
27
|
richText: "richText";
|
|
27
28
|
plainText: "plainText";
|
|
28
29
|
checkbox: "checkbox";
|
|
29
30
|
dropDown: "dropDown";
|
|
30
31
|
comboBox: "comboBox";
|
|
31
|
-
date: "date";
|
|
32
32
|
picture: "picture";
|
|
33
33
|
repeatingSection: "repeatingSection";
|
|
34
34
|
button: "button";
|
|
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
|
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
|
|
96
96
|
declare const AnchorTypeSchema: z.ZodEnum<{
|
|
97
|
+
comment: "comment";
|
|
97
98
|
bookmark: "bookmark";
|
|
98
99
|
footnote: "footnote";
|
|
99
100
|
endnote: "endnote";
|
|
100
|
-
comment: "comment";
|
|
101
101
|
}>;
|
|
102
102
|
type AnchorType = z.infer<typeof AnchorTypeSchema>;
|
|
103
103
|
declare const AnchorDescriptorSchema: z.ZodObject<{
|
|
104
104
|
kind: z.ZodLiteral<"anchor">;
|
|
105
105
|
anchorType: z.ZodEnum<{
|
|
106
|
+
comment: "comment";
|
|
106
107
|
bookmark: "bookmark";
|
|
107
108
|
footnote: "footnote";
|
|
108
109
|
endnote: "endnote";
|
|
109
|
-
comment: "comment";
|
|
110
110
|
}>;
|
|
111
111
|
name: z.ZodString;
|
|
112
112
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
|
|
|
252
252
|
declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
253
|
kind: z.ZodLiteral<"contentControl">;
|
|
254
254
|
controlType: z.ZodEnum<{
|
|
255
|
+
date: "date";
|
|
255
256
|
richText: "richText";
|
|
256
257
|
plainText: "plainText";
|
|
257
258
|
checkbox: "checkbox";
|
|
258
259
|
dropDown: "dropDown";
|
|
259
260
|
comboBox: "comboBox";
|
|
260
|
-
date: "date";
|
|
261
261
|
picture: "picture";
|
|
262
262
|
repeatingSection: "repeatingSection";
|
|
263
263
|
button: "button";
|
|
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
321
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
322
322
|
kind: z.ZodLiteral<"anchor">;
|
|
323
323
|
anchorType: z.ZodEnum<{
|
|
324
|
+
comment: "comment";
|
|
324
325
|
bookmark: "bookmark";
|
|
325
326
|
footnote: "footnote";
|
|
326
327
|
endnote: "endnote";
|
|
327
|
-
comment: "comment";
|
|
328
328
|
}>;
|
|
329
329
|
name: z.ZodString;
|
|
330
330
|
definition: z.ZodOptional<z.ZodString>;
|
package/dist/construct.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C4XiF8OW.cjs";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|
package/dist/construct.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C4XiF8OW.js";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|
|
@@ -205,12 +205,12 @@ declare const RunConstructExtentSchema: z.ZodObject<{
|
|
|
205
205
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
206
206
|
kind: z.ZodLiteral<"contentControl">;
|
|
207
207
|
controlType: z.ZodEnum<{
|
|
208
|
+
date: "date";
|
|
208
209
|
richText: "richText";
|
|
209
210
|
plainText: "plainText";
|
|
210
211
|
checkbox: "checkbox";
|
|
211
212
|
dropDown: "dropDown";
|
|
212
213
|
comboBox: "comboBox";
|
|
213
|
-
date: "date";
|
|
214
214
|
picture: "picture";
|
|
215
215
|
repeatingSection: "repeatingSection";
|
|
216
216
|
button: "button";
|
|
@@ -274,10 +274,10 @@ declare const RunConstructExtentSchema: z.ZodObject<{
|
|
|
274
274
|
}, z.core.$strict>, z.ZodObject<{
|
|
275
275
|
kind: z.ZodLiteral<"anchor">;
|
|
276
276
|
anchorType: z.ZodEnum<{
|
|
277
|
+
comment: "comment";
|
|
277
278
|
bookmark: "bookmark";
|
|
278
279
|
footnote: "footnote";
|
|
279
280
|
endnote: "endnote";
|
|
280
|
-
comment: "comment";
|
|
281
281
|
}>;
|
|
282
282
|
name: z.ZodString;
|
|
283
283
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -588,12 +588,12 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
588
588
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
589
|
kind: z.ZodLiteral<"contentControl">;
|
|
590
590
|
controlType: z.ZodEnum<{
|
|
591
|
+
date: "date";
|
|
591
592
|
richText: "richText";
|
|
592
593
|
plainText: "plainText";
|
|
593
594
|
checkbox: "checkbox";
|
|
594
595
|
dropDown: "dropDown";
|
|
595
596
|
comboBox: "comboBox";
|
|
596
|
-
date: "date";
|
|
597
597
|
picture: "picture";
|
|
598
598
|
repeatingSection: "repeatingSection";
|
|
599
599
|
button: "button";
|
|
@@ -657,10 +657,10 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
657
657
|
}, z.core.$strict>, z.ZodObject<{
|
|
658
658
|
kind: z.ZodLiteral<"anchor">;
|
|
659
659
|
anchorType: z.ZodEnum<{
|
|
660
|
+
comment: "comment";
|
|
660
661
|
bookmark: "bookmark";
|
|
661
662
|
footnote: "footnote";
|
|
662
663
|
endnote: "endnote";
|
|
663
|
-
comment: "comment";
|
|
664
664
|
}>;
|
|
665
665
|
name: z.ZodString;
|
|
666
666
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1305,12 +1305,12 @@ declare const ContentConstructStartSchema: z.ZodObject<{
|
|
|
1305
1305
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1306
1306
|
kind: z.ZodLiteral<"contentControl">;
|
|
1307
1307
|
controlType: z.ZodEnum<{
|
|
1308
|
+
date: "date";
|
|
1308
1309
|
richText: "richText";
|
|
1309
1310
|
plainText: "plainText";
|
|
1310
1311
|
checkbox: "checkbox";
|
|
1311
1312
|
dropDown: "dropDown";
|
|
1312
1313
|
comboBox: "comboBox";
|
|
1313
|
-
date: "date";
|
|
1314
1314
|
picture: "picture";
|
|
1315
1315
|
repeatingSection: "repeatingSection";
|
|
1316
1316
|
button: "button";
|
|
@@ -1374,10 +1374,10 @@ declare const ContentConstructStartSchema: z.ZodObject<{
|
|
|
1374
1374
|
}, z.core.$strict>, z.ZodObject<{
|
|
1375
1375
|
kind: z.ZodLiteral<"anchor">;
|
|
1376
1376
|
anchorType: z.ZodEnum<{
|
|
1377
|
+
comment: "comment";
|
|
1377
1378
|
bookmark: "bookmark";
|
|
1378
1379
|
footnote: "footnote";
|
|
1379
1380
|
endnote: "endnote";
|
|
1380
|
-
comment: "comment";
|
|
1381
1381
|
}>;
|
|
1382
1382
|
name: z.ZodString;
|
|
1383
1383
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1588,11 +1588,11 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
1588
1588
|
}, z.core.$strip>>;
|
|
1589
1589
|
}, z.core.$strip>>;
|
|
1590
1590
|
objectKind: z.ZodEnum<{
|
|
1591
|
-
formula: "formula";
|
|
1592
1591
|
wordprocessing: "wordprocessing";
|
|
1593
1592
|
presentation: "presentation";
|
|
1594
1593
|
spreadsheet: "spreadsheet";
|
|
1595
1594
|
drawing: "drawing";
|
|
1595
|
+
formula: "formula";
|
|
1596
1596
|
chart: "chart";
|
|
1597
1597
|
}>;
|
|
1598
1598
|
document: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2572,9 +2572,9 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2572
2572
|
type: z.ZodEnum<{
|
|
2573
2573
|
date: "date";
|
|
2574
2574
|
custom: "custom";
|
|
2575
|
+
time: "time";
|
|
2575
2576
|
decimal: "decimal";
|
|
2576
2577
|
list: "list";
|
|
2577
|
-
time: "time";
|
|
2578
2578
|
whole: "whole";
|
|
2579
2579
|
textLength: "textLength";
|
|
2580
2580
|
}>;
|
|
@@ -3046,8 +3046,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
3046
3046
|
value: z.ZodObject<{
|
|
3047
3047
|
type: z.ZodEnum<{
|
|
3048
3048
|
formula: "formula";
|
|
3049
|
-
percent: "percent";
|
|
3050
3049
|
num: "num";
|
|
3050
|
+
percent: "percent";
|
|
3051
3051
|
max: "max";
|
|
3052
3052
|
min: "min";
|
|
3053
3053
|
percentile: "percentile";
|
|
@@ -3093,8 +3093,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
3093
3093
|
min: z.ZodObject<{
|
|
3094
3094
|
type: z.ZodEnum<{
|
|
3095
3095
|
formula: "formula";
|
|
3096
|
-
percent: "percent";
|
|
3097
3096
|
num: "num";
|
|
3097
|
+
percent: "percent";
|
|
3098
3098
|
max: "max";
|
|
3099
3099
|
min: "min";
|
|
3100
3100
|
percentile: "percentile";
|
|
@@ -3104,8 +3104,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
3104
3104
|
max: z.ZodObject<{
|
|
3105
3105
|
type: z.ZodEnum<{
|
|
3106
3106
|
formula: "formula";
|
|
3107
|
-
percent: "percent";
|
|
3108
3107
|
num: "num";
|
|
3108
|
+
percent: "percent";
|
|
3109
3109
|
max: "max";
|
|
3110
3110
|
min: "min";
|
|
3111
3111
|
percentile: "percentile";
|
|
@@ -3152,8 +3152,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
3152
3152
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
3153
3153
|
type: z.ZodEnum<{
|
|
3154
3154
|
formula: "formula";
|
|
3155
|
-
percent: "percent";
|
|
3156
3155
|
num: "num";
|
|
3156
|
+
percent: "percent";
|
|
3157
3157
|
max: "max";
|
|
3158
3158
|
min: "min";
|
|
3159
3159
|
percentile: "percentile";
|
|
@@ -5961,9 +5961,9 @@ type SheetRuleOperator = z.infer<typeof SheetRuleOperatorSchema>;
|
|
|
5961
5961
|
declare const ContentSheetDataValidationTypeSchema: z.ZodEnum<{
|
|
5962
5962
|
date: "date";
|
|
5963
5963
|
custom: "custom";
|
|
5964
|
+
time: "time";
|
|
5964
5965
|
decimal: "decimal";
|
|
5965
5966
|
list: "list";
|
|
5966
|
-
time: "time";
|
|
5967
5967
|
whole: "whole";
|
|
5968
5968
|
textLength: "textLength";
|
|
5969
5969
|
}>;
|
|
@@ -5978,9 +5978,9 @@ declare const ContentSheetDataValidationSchema: z.ZodObject<{
|
|
|
5978
5978
|
type: z.ZodEnum<{
|
|
5979
5979
|
date: "date";
|
|
5980
5980
|
custom: "custom";
|
|
5981
|
+
time: "time";
|
|
5981
5982
|
decimal: "decimal";
|
|
5982
5983
|
list: "list";
|
|
5983
|
-
time: "time";
|
|
5984
5984
|
whole: "whole";
|
|
5985
5985
|
textLength: "textLength";
|
|
5986
5986
|
}>;
|
|
@@ -6066,8 +6066,8 @@ type ContentSheetConditionalFormatStyle = z.infer<typeof ContentSheetConditional
|
|
|
6066
6066
|
declare const ContentSheetConditionalFormatValueSchema: z.ZodObject<{
|
|
6067
6067
|
type: z.ZodEnum<{
|
|
6068
6068
|
formula: "formula";
|
|
6069
|
-
percent: "percent";
|
|
6070
6069
|
num: "num";
|
|
6070
|
+
percent: "percent";
|
|
6071
6071
|
max: "max";
|
|
6072
6072
|
min: "min";
|
|
6073
6073
|
percentile: "percentile";
|
|
@@ -6498,8 +6498,8 @@ declare const ContentSheetConditionalFormatSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6498
6498
|
value: z.ZodObject<{
|
|
6499
6499
|
type: z.ZodEnum<{
|
|
6500
6500
|
formula: "formula";
|
|
6501
|
-
percent: "percent";
|
|
6502
6501
|
num: "num";
|
|
6502
|
+
percent: "percent";
|
|
6503
6503
|
max: "max";
|
|
6504
6504
|
min: "min";
|
|
6505
6505
|
percentile: "percentile";
|
|
@@ -6545,8 +6545,8 @@ declare const ContentSheetConditionalFormatSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6545
6545
|
min: z.ZodObject<{
|
|
6546
6546
|
type: z.ZodEnum<{
|
|
6547
6547
|
formula: "formula";
|
|
6548
|
-
percent: "percent";
|
|
6549
6548
|
num: "num";
|
|
6549
|
+
percent: "percent";
|
|
6550
6550
|
max: "max";
|
|
6551
6551
|
min: "min";
|
|
6552
6552
|
percentile: "percentile";
|
|
@@ -6556,8 +6556,8 @@ declare const ContentSheetConditionalFormatSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6556
6556
|
max: z.ZodObject<{
|
|
6557
6557
|
type: z.ZodEnum<{
|
|
6558
6558
|
formula: "formula";
|
|
6559
|
-
percent: "percent";
|
|
6560
6559
|
num: "num";
|
|
6560
|
+
percent: "percent";
|
|
6561
6561
|
max: "max";
|
|
6562
6562
|
min: "min";
|
|
6563
6563
|
percentile: "percentile";
|
|
@@ -6604,8 +6604,8 @@ declare const ContentSheetConditionalFormatSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6604
6604
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
6605
6605
|
type: z.ZodEnum<{
|
|
6606
6606
|
formula: "formula";
|
|
6607
|
-
percent: "percent";
|
|
6608
6607
|
num: "num";
|
|
6608
|
+
percent: "percent";
|
|
6609
6609
|
max: "max";
|
|
6610
6610
|
min: "min";
|
|
6611
6611
|
percentile: "percentile";
|
|
@@ -7448,9 +7448,9 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7448
7448
|
type: z.ZodEnum<{
|
|
7449
7449
|
date: "date";
|
|
7450
7450
|
custom: "custom";
|
|
7451
|
+
time: "time";
|
|
7451
7452
|
decimal: "decimal";
|
|
7452
7453
|
list: "list";
|
|
7453
|
-
time: "time";
|
|
7454
7454
|
whole: "whole";
|
|
7455
7455
|
textLength: "textLength";
|
|
7456
7456
|
}>;
|
|
@@ -7922,8 +7922,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7922
7922
|
value: z.ZodObject<{
|
|
7923
7923
|
type: z.ZodEnum<{
|
|
7924
7924
|
formula: "formula";
|
|
7925
|
-
percent: "percent";
|
|
7926
7925
|
num: "num";
|
|
7926
|
+
percent: "percent";
|
|
7927
7927
|
max: "max";
|
|
7928
7928
|
min: "min";
|
|
7929
7929
|
percentile: "percentile";
|
|
@@ -7969,8 +7969,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7969
7969
|
min: z.ZodObject<{
|
|
7970
7970
|
type: z.ZodEnum<{
|
|
7971
7971
|
formula: "formula";
|
|
7972
|
-
percent: "percent";
|
|
7973
7972
|
num: "num";
|
|
7973
|
+
percent: "percent";
|
|
7974
7974
|
max: "max";
|
|
7975
7975
|
min: "min";
|
|
7976
7976
|
percentile: "percentile";
|
|
@@ -7980,8 +7980,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7980
7980
|
max: z.ZodObject<{
|
|
7981
7981
|
type: z.ZodEnum<{
|
|
7982
7982
|
formula: "formula";
|
|
7983
|
-
percent: "percent";
|
|
7984
7983
|
num: "num";
|
|
7984
|
+
percent: "percent";
|
|
7985
7985
|
max: "max";
|
|
7986
7986
|
min: "min";
|
|
7987
7987
|
percentile: "percentile";
|
|
@@ -8028,8 +8028,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
8028
8028
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
8029
8029
|
type: z.ZodEnum<{
|
|
8030
8030
|
formula: "formula";
|
|
8031
|
-
percent: "percent";
|
|
8032
8031
|
num: "num";
|
|
8032
|
+
percent: "percent";
|
|
8033
8033
|
max: "max";
|
|
8034
8034
|
min: "min";
|
|
8035
8035
|
percentile: "percentile";
|
|
@@ -10576,9 +10576,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10576
10576
|
type: z.ZodEnum<{
|
|
10577
10577
|
date: "date";
|
|
10578
10578
|
custom: "custom";
|
|
10579
|
+
time: "time";
|
|
10579
10580
|
decimal: "decimal";
|
|
10580
10581
|
list: "list";
|
|
10581
|
-
time: "time";
|
|
10582
10582
|
whole: "whole";
|
|
10583
10583
|
textLength: "textLength";
|
|
10584
10584
|
}>;
|
|
@@ -11050,8 +11050,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11050
11050
|
value: z.ZodObject<{
|
|
11051
11051
|
type: z.ZodEnum<{
|
|
11052
11052
|
formula: "formula";
|
|
11053
|
-
percent: "percent";
|
|
11054
11053
|
num: "num";
|
|
11054
|
+
percent: "percent";
|
|
11055
11055
|
max: "max";
|
|
11056
11056
|
min: "min";
|
|
11057
11057
|
percentile: "percentile";
|
|
@@ -11097,8 +11097,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11097
11097
|
min: z.ZodObject<{
|
|
11098
11098
|
type: z.ZodEnum<{
|
|
11099
11099
|
formula: "formula";
|
|
11100
|
-
percent: "percent";
|
|
11101
11100
|
num: "num";
|
|
11101
|
+
percent: "percent";
|
|
11102
11102
|
max: "max";
|
|
11103
11103
|
min: "min";
|
|
11104
11104
|
percentile: "percentile";
|
|
@@ -11108,8 +11108,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11108
11108
|
max: z.ZodObject<{
|
|
11109
11109
|
type: z.ZodEnum<{
|
|
11110
11110
|
formula: "formula";
|
|
11111
|
-
percent: "percent";
|
|
11112
11111
|
num: "num";
|
|
11112
|
+
percent: "percent";
|
|
11113
11113
|
max: "max";
|
|
11114
11114
|
min: "min";
|
|
11115
11115
|
percentile: "percentile";
|
|
@@ -11156,8 +11156,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11156
11156
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
11157
11157
|
type: z.ZodEnum<{
|
|
11158
11158
|
formula: "formula";
|
|
11159
|
-
percent: "percent";
|
|
11160
11159
|
num: "num";
|
|
11160
|
+
percent: "percent";
|
|
11161
11161
|
max: "max";
|
|
11162
11162
|
min: "min";
|
|
11163
11163
|
percentile: "percentile";
|