document-content-model 7.14.1 → 7.15.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/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
- package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-Cj_IC0ge.d.ts → content-BzGOsekw.d.ts} +124 -113
- package/dist/content-json-schema-defs.cjs +15 -6
- package/dist/content-json-schema-defs.js +15 -6
- package/dist/{content-DZDor2Ct.d.cts → content-lXpPw1nC.d.cts} +124 -113
- package/dist/content.cjs +10 -2
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +10 -3
- 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.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 +1 -0
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{package-node-DBtKtaqn.d.cts → package-node-CWW0Evpn.d.cts} +40 -40
- package/dist/{package-node-SBZNVEGu.d.ts → package-node-DosdPQ6x.d.ts} +40 -40
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/table-grid.cjs +3 -3
- package/dist/table-grid.d.cts +3 -3
- package/dist/table-grid.d.ts +3 -3
- package/dist/table-grid.js +3 -3
- package/package.json +1 -1
- package/schemas/content-document.schema.json +35 -20
- package/schemas/document-tree.schema.json +22 -7
|
@@ -697,6 +697,18 @@ const CONTENT_DEFS = {
|
|
|
697
697
|
required: ["cells"],
|
|
698
698
|
additionalProperties: false
|
|
699
699
|
},
|
|
700
|
+
ContentTableColumn: {
|
|
701
|
+
type: "object",
|
|
702
|
+
properties: {
|
|
703
|
+
widthPt: {
|
|
704
|
+
type: "number",
|
|
705
|
+
minimum: 0
|
|
706
|
+
},
|
|
707
|
+
isHeader: { type: "boolean" }
|
|
708
|
+
},
|
|
709
|
+
required: ["widthPt"],
|
|
710
|
+
additionalProperties: false
|
|
711
|
+
},
|
|
700
712
|
ContentTable: {
|
|
701
713
|
type: "object",
|
|
702
714
|
properties: {
|
|
@@ -708,12 +720,9 @@ const CONTENT_DEFS = {
|
|
|
708
720
|
type: "array",
|
|
709
721
|
items: { $ref: "#/$defs/ContentTableRow" }
|
|
710
722
|
},
|
|
711
|
-
|
|
723
|
+
columns: {
|
|
712
724
|
type: "array",
|
|
713
|
-
items: {
|
|
714
|
-
type: "number",
|
|
715
|
-
minimum: 0
|
|
716
|
-
}
|
|
725
|
+
items: { $ref: "#/$defs/ContentTableColumn" }
|
|
717
726
|
},
|
|
718
727
|
sourcePath: { type: "string" },
|
|
719
728
|
source: { $ref: "#/$defs/SourceResidue" },
|
|
@@ -727,7 +736,7 @@ const CONTENT_DEFS = {
|
|
|
727
736
|
required: [
|
|
728
737
|
"kind",
|
|
729
738
|
"rows",
|
|
730
|
-
"
|
|
739
|
+
"columns"
|
|
731
740
|
],
|
|
732
741
|
additionalProperties: false
|
|
733
742
|
},
|
|
@@ -696,6 +696,18 @@ const CONTENT_DEFS = {
|
|
|
696
696
|
required: ["cells"],
|
|
697
697
|
additionalProperties: false
|
|
698
698
|
},
|
|
699
|
+
ContentTableColumn: {
|
|
700
|
+
type: "object",
|
|
701
|
+
properties: {
|
|
702
|
+
widthPt: {
|
|
703
|
+
type: "number",
|
|
704
|
+
minimum: 0
|
|
705
|
+
},
|
|
706
|
+
isHeader: { type: "boolean" }
|
|
707
|
+
},
|
|
708
|
+
required: ["widthPt"],
|
|
709
|
+
additionalProperties: false
|
|
710
|
+
},
|
|
699
711
|
ContentTable: {
|
|
700
712
|
type: "object",
|
|
701
713
|
properties: {
|
|
@@ -707,12 +719,9 @@ const CONTENT_DEFS = {
|
|
|
707
719
|
type: "array",
|
|
708
720
|
items: { $ref: "#/$defs/ContentTableRow" }
|
|
709
721
|
},
|
|
710
|
-
|
|
722
|
+
columns: {
|
|
711
723
|
type: "array",
|
|
712
|
-
items: {
|
|
713
|
-
type: "number",
|
|
714
|
-
minimum: 0
|
|
715
|
-
}
|
|
724
|
+
items: { $ref: "#/$defs/ContentTableColumn" }
|
|
716
725
|
},
|
|
717
726
|
sourcePath: { type: "string" },
|
|
718
727
|
source: { $ref: "#/$defs/SourceResidue" },
|
|
@@ -726,7 +735,7 @@ const CONTENT_DEFS = {
|
|
|
726
735
|
required: [
|
|
727
736
|
"kind",
|
|
728
737
|
"rows",
|
|
729
|
-
"
|
|
738
|
+
"columns"
|
|
730
739
|
],
|
|
731
740
|
additionalProperties: false
|
|
732
741
|
},
|