@json-to-office/shared-docx 0.20.0 → 0.22.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/{chunk-5KQFVW6L.js → chunk-2TQ74H6S.js} +2 -2
- package/dist/{chunk-JY5JBFBA.js → chunk-4HT2OQJO.js} +6 -6
- package/dist/{chunk-IOSZEILS.js → chunk-7636IMZ5.js} +2 -2
- package/dist/{chunk-7VT4KP6J.js → chunk-FNCLWYTA.js} +2 -2
- package/dist/{chunk-WTKEDXYL.js → chunk-HTOT7PVC.js} +3 -3
- package/dist/{chunk-2NLQPZ4G.js → chunk-KNMPYZUO.js} +2 -2
- package/dist/{chunk-2NLQPZ4G.js.map → chunk-KNMPYZUO.js.map} +1 -1
- package/dist/{chunk-QNIC7H4H.js → chunk-KQFMDKI7.js} +9 -3
- package/dist/{chunk-QNIC7H4H.js.map → chunk-KQFMDKI7.js.map} +1 -1
- package/dist/{chunk-65U4X47S.js → chunk-S4TSENRQ.js} +27 -11
- package/dist/chunk-S4TSENRQ.js.map +1 -0
- package/dist/{chunk-ZEJU25KW.js → chunk-U7UNC7QH.js} +2 -2
- package/dist/{chunk-6YSWOGOA.js → chunk-YQE7H4H4.js} +6 -3
- package/dist/{chunk-6YSWOGOA.js.map → chunk-YQE7H4H4.js.map} +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +10 -10
- package/dist/schemas/api.js +4 -4
- package/dist/schemas/component-defaults.js +1 -1
- package/dist/schemas/component-registry.js +2 -2
- package/dist/schemas/components.d.ts +307 -5
- package/dist/schemas/components.js +3 -3
- package/dist/schemas/document.js +5 -5
- package/dist/schemas/export.js +3 -3
- package/dist/schemas/generator.js +3 -3
- package/dist/schemas/theme.d.ts +3 -0
- package/dist/schemas/theme.js +2 -2
- package/dist/validation/unified/index.d.ts +0 -2
- package/dist/validation/unified/index.js +6 -6
- package/package.json +2 -3
- package/dist/chunk-65U4X47S.js.map +0 -1
- /package/dist/{chunk-5KQFVW6L.js.map → chunk-2TQ74H6S.js.map} +0 -0
- /package/dist/{chunk-JY5JBFBA.js.map → chunk-4HT2OQJO.js.map} +0 -0
- /package/dist/{chunk-IOSZEILS.js.map → chunk-7636IMZ5.js.map} +0 -0
- /package/dist/{chunk-7VT4KP6J.js.map → chunk-FNCLWYTA.js.map} +0 -0
- /package/dist/{chunk-WTKEDXYL.js.map → chunk-HTOT7PVC.js.map} +0 -0
- /package/dist/{chunk-ZEJU25KW.js.map → chunk-U7UNC7QH.js.map} +0 -0
|
@@ -356,8 +356,6 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
356
356
|
author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
357
357
|
company: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
358
358
|
date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
359
|
-
created: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
360
|
-
modified: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
361
359
|
version: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
362
360
|
tags: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
363
361
|
}>>;
|
|
@@ -609,8 +607,6 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
609
607
|
author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
610
608
|
company: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
611
609
|
date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
612
|
-
created: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
613
|
-
modified: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
614
610
|
version: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
615
611
|
tags: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
616
612
|
}>>;
|
|
@@ -912,7 +908,308 @@ declare const VisualPropsSchema: _sinclair_typebox.TObject<{
|
|
|
912
908
|
}>>;
|
|
913
909
|
}>>;
|
|
914
910
|
}>;
|
|
915
|
-
elements: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<_sinclair_typebox.
|
|
911
|
+
elements: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
912
|
+
name: _sinclair_typebox.TLiteral<"text">;
|
|
913
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
914
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
915
|
+
props: _sinclair_typebox.TObject<{
|
|
916
|
+
text: _sinclair_typebox.TString;
|
|
917
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
918
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
919
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
920
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
921
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
922
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
923
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
924
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
925
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
926
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
927
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
928
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
929
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
930
|
+
}>]>>;
|
|
931
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
932
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
933
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
934
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
935
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
936
|
+
bullet: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
937
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bullet">, _sinclair_typebox.TLiteral<"number">]>>;
|
|
938
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
939
|
+
startAt: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
940
|
+
}>]>>;
|
|
941
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
942
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
943
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
944
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
945
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "background" | "primary" | "secondary" | "accent" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
946
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
947
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
948
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
949
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
950
|
+
}>>;
|
|
951
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
952
|
+
color: _sinclair_typebox.TString;
|
|
953
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
954
|
+
}>>;
|
|
955
|
+
hyperlink: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
956
|
+
url: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
957
|
+
slide: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
958
|
+
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
959
|
+
}>>;
|
|
960
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
961
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
962
|
+
paraSpaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
963
|
+
paraSpaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
964
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
965
|
+
column: _sinclair_typebox.TNumber;
|
|
966
|
+
row: _sinclair_typebox.TNumber;
|
|
967
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
968
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
969
|
+
}>>;
|
|
970
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"title" | "caption" | "subtitle" | "heading1" | "heading2" | "heading3" | "body">[]>>;
|
|
971
|
+
}>;
|
|
972
|
+
}>, _sinclair_typebox.TObject<{
|
|
973
|
+
name: _sinclair_typebox.TLiteral<"image">;
|
|
974
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
975
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
976
|
+
props: _sinclair_typebox.TObject<{
|
|
977
|
+
path: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
978
|
+
base64: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
979
|
+
svg: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
980
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
981
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
982
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
983
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
984
|
+
sizing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
985
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"contain">, _sinclair_typebox.TLiteral<"cover">, _sinclair_typebox.TLiteral<"crop">]>;
|
|
986
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
987
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
988
|
+
}>>;
|
|
989
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
990
|
+
rounding: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
991
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
992
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
993
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "background" | "primary" | "secondary" | "accent" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
994
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
995
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
996
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
997
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
998
|
+
}>>;
|
|
999
|
+
hyperlink: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1000
|
+
url: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1001
|
+
slide: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1002
|
+
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1003
|
+
}>>;
|
|
1004
|
+
alt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1005
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1006
|
+
column: _sinclair_typebox.TNumber;
|
|
1007
|
+
row: _sinclair_typebox.TNumber;
|
|
1008
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1009
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1010
|
+
}>>;
|
|
1011
|
+
}>;
|
|
1012
|
+
}>, _sinclair_typebox.TObject<{
|
|
1013
|
+
name: _sinclair_typebox.TLiteral<"shape">;
|
|
1014
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1015
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1016
|
+
props: _sinclair_typebox.TObject<{
|
|
1017
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
1018
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1019
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1020
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1021
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1022
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1023
|
+
color: _sinclair_typebox.TString;
|
|
1024
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1025
|
+
}>>;
|
|
1026
|
+
line: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1027
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1028
|
+
width: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1029
|
+
dashType: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"dashDot">]>>;
|
|
1030
|
+
}>>;
|
|
1031
|
+
text: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
1032
|
+
text: _sinclair_typebox.TString;
|
|
1033
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1034
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1035
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1036
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1037
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
1038
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1039
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1040
|
+
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1041
|
+
spaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1042
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1043
|
+
}>>]>>;
|
|
1044
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1045
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1046
|
+
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1047
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1048
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1049
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
1050
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1051
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
1052
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
1053
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1054
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1055
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
1056
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "background" | "primary" | "secondary" | "accent" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
1057
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1058
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1059
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1060
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1061
|
+
}>>;
|
|
1062
|
+
rectRadius: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1063
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1064
|
+
column: _sinclair_typebox.TNumber;
|
|
1065
|
+
row: _sinclair_typebox.TNumber;
|
|
1066
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1067
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1068
|
+
}>>;
|
|
1069
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"title" | "caption" | "subtitle" | "heading1" | "heading2" | "heading3" | "body">[]>>;
|
|
1070
|
+
}>;
|
|
1071
|
+
}>, _sinclair_typebox.TObject<{
|
|
1072
|
+
name: _sinclair_typebox.TLiteral<"table">;
|
|
1073
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1074
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1075
|
+
props: _sinclair_typebox.TObject<{
|
|
1076
|
+
rows: _sinclair_typebox.TArray<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
|
|
1077
|
+
text: _sinclair_typebox.TString;
|
|
1078
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1079
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1080
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1081
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1082
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1083
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
1084
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1085
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
1086
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
1087
|
+
colspan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1088
|
+
rowspan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1089
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
1090
|
+
}>]>>>;
|
|
1091
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1092
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1093
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1094
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1095
|
+
colW: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
1096
|
+
rowH: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
1097
|
+
border: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1098
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
1099
|
+
pt: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1100
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1101
|
+
}>>;
|
|
1102
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1103
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1104
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1105
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1106
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
1107
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
1108
|
+
autoPage: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1109
|
+
autoPageRepeatHeader: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1110
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
1111
|
+
borderRadius: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1112
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1113
|
+
column: _sinclair_typebox.TNumber;
|
|
1114
|
+
row: _sinclair_typebox.TNumber;
|
|
1115
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1116
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1117
|
+
}>>;
|
|
1118
|
+
}>;
|
|
1119
|
+
}>, _sinclair_typebox.TObject<{
|
|
1120
|
+
name: _sinclair_typebox.TLiteral<"highcharts">;
|
|
1121
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1122
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1123
|
+
props: _sinclair_typebox.TObject<{
|
|
1124
|
+
options: _sinclair_typebox.TIntersect<[_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>, _sinclair_typebox.TObject<{
|
|
1125
|
+
chart: _sinclair_typebox.TObject<{
|
|
1126
|
+
width: _sinclair_typebox.TNumber;
|
|
1127
|
+
height: _sinclair_typebox.TNumber;
|
|
1128
|
+
}>;
|
|
1129
|
+
}>]>;
|
|
1130
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1131
|
+
serverUrl: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1132
|
+
resources: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1133
|
+
css: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1134
|
+
js: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1135
|
+
files: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
1136
|
+
}>>;
|
|
1137
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1138
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1139
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1140
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1141
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1142
|
+
column: _sinclair_typebox.TNumber;
|
|
1143
|
+
row: _sinclair_typebox.TNumber;
|
|
1144
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1145
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1146
|
+
}>>;
|
|
1147
|
+
}>;
|
|
1148
|
+
}>, _sinclair_typebox.TObject<{
|
|
1149
|
+
name: _sinclair_typebox.TLiteral<"chart">;
|
|
1150
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1151
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1152
|
+
props: _sinclair_typebox.TObject<{
|
|
1153
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"area">, _sinclair_typebox.TLiteral<"bar">, _sinclair_typebox.TLiteral<"bar3D">, _sinclair_typebox.TLiteral<"bubble">, _sinclair_typebox.TLiteral<"doughnut">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"pie">, _sinclair_typebox.TLiteral<"radar">, _sinclair_typebox.TLiteral<"scatter">]>;
|
|
1154
|
+
data: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
1155
|
+
name: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1156
|
+
labels: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
1157
|
+
values: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
|
|
1158
|
+
sizes: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
|
|
1159
|
+
}>>;
|
|
1160
|
+
showLegend: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1161
|
+
showTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1162
|
+
showValue: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1163
|
+
showPercent: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1164
|
+
showLabel: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1165
|
+
showSerName: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1166
|
+
title: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1167
|
+
titleFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1168
|
+
titleColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1169
|
+
titleFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1170
|
+
chartColors: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
1171
|
+
legendPos: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"tr">]>>;
|
|
1172
|
+
legendFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1173
|
+
legendFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1174
|
+
legendColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1175
|
+
catAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1176
|
+
catAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1177
|
+
catAxisLabelRotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1178
|
+
catAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1179
|
+
catAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1180
|
+
valAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1181
|
+
valAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1182
|
+
valAxisMinVal: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1183
|
+
valAxisMaxVal: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1184
|
+
valAxisLabelFormatCode: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1185
|
+
valAxisMajorUnit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1186
|
+
valAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1187
|
+
barDir: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bar">, _sinclair_typebox.TLiteral<"col">]>>;
|
|
1188
|
+
barGrouping: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"clustered">, _sinclair_typebox.TLiteral<"stacked">, _sinclair_typebox.TLiteral<"percentStacked">]>>;
|
|
1189
|
+
barGapWidthPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1190
|
+
lineSmooth: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1191
|
+
lineDataSymbol: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"circle">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"square">, _sinclair_typebox.TLiteral<"triangle">]>>;
|
|
1192
|
+
lineSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1193
|
+
firstSliceAng: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1194
|
+
holeSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1195
|
+
radarStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"marker">, _sinclair_typebox.TLiteral<"filled">]>>;
|
|
1196
|
+
dataLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1197
|
+
dataLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1198
|
+
dataLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1199
|
+
dataLabelFontBold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1200
|
+
dataLabelPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"bestFit">, _sinclair_typebox.TLiteral<"ctr">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"inEnd">, _sinclair_typebox.TLiteral<"outEnd">]>>;
|
|
1201
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1202
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1203
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1204
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
1205
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1206
|
+
column: _sinclair_typebox.TNumber;
|
|
1207
|
+
row: _sinclair_typebox.TNumber;
|
|
1208
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1209
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1210
|
+
}>>;
|
|
1211
|
+
}>;
|
|
1212
|
+
}>]>>>;
|
|
916
1213
|
dpi: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
917
1214
|
serverUrl: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
918
1215
|
width: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
@@ -1050,6 +1347,11 @@ type LevelFormat = Static<typeof LevelFormatSchema>;
|
|
|
1050
1347
|
type ListLevelProps = Static<typeof ListLevelPropsSchema>;
|
|
1051
1348
|
type ListProps = Static<typeof ListPropsSchema>;
|
|
1052
1349
|
|
|
1350
|
+
/**
|
|
1351
|
+
* Kept for back-compat only. Word's TOC field has no numbering switch, so the
|
|
1352
|
+
* renderer cannot apply this and logs a warning when it is set; entries inherit
|
|
1353
|
+
* the numbering of the heading styles they reference.
|
|
1354
|
+
*/
|
|
1053
1355
|
declare const TocStyleSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"numeric">, _sinclair_typebox.TLiteral<"bullet">, _sinclair_typebox.TLiteral<"none">]>;
|
|
1054
1356
|
declare const TocScopeSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"document">, _sinclair_typebox.TLiteral<"section">]>;
|
|
1055
1357
|
declare const TocStyleMappingSchema: _sinclair_typebox.TObject<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComponentDefinitionSchema,
|
|
3
3
|
StandardComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2TQ74H6S.js";
|
|
5
5
|
import {
|
|
6
6
|
HighchartsPropsSchema,
|
|
7
7
|
ReportPropsSchema,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
VisualCanvasSchema,
|
|
16
16
|
VisualPropsSchema,
|
|
17
17
|
createReportPropsSchema
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-S4TSENRQ.js";
|
|
19
19
|
import {
|
|
20
20
|
AlignmentSchema,
|
|
21
21
|
BaseComponentFields,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
VerticalPositionRelativeFromSchema,
|
|
51
51
|
createSectionPropsSchema,
|
|
52
52
|
createTablePropsSchema
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-KNMPYZUO.js";
|
|
54
54
|
import "../chunk-E5YI66B3.js";
|
|
55
55
|
export {
|
|
56
56
|
AlignmentSchema,
|
package/dist/schemas/document.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JSON_SCHEMA_URLS,
|
|
3
3
|
JsonComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FNCLWYTA.js";
|
|
5
5
|
import {
|
|
6
6
|
validateDocumentWithSchema,
|
|
7
7
|
validateJsonComponent
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-HTOT7PVC.js";
|
|
9
|
+
import "../chunk-2TQ74H6S.js";
|
|
10
10
|
import "../chunk-7GGTZ4TA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-S4TSENRQ.js";
|
|
12
|
+
import "../chunk-KNMPYZUO.js";
|
|
13
13
|
import "../chunk-E5YI66B3.js";
|
|
14
14
|
export {
|
|
15
15
|
JSON_SCHEMA_URLS,
|
package/dist/schemas/export.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
createComponentSchema,
|
|
7
7
|
exportSchemaToFile,
|
|
8
8
|
fixSchemaReferences
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-U7UNC7QH.js";
|
|
10
|
+
import "../chunk-S4TSENRQ.js";
|
|
11
|
+
import "../chunk-KNMPYZUO.js";
|
|
12
12
|
import "../chunk-E5YI66B3.js";
|
|
13
13
|
export {
|
|
14
14
|
BASE_SCHEMA_METADATA,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateUnifiedDocumentSchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-YQE7H4H4.js";
|
|
4
|
+
import "../chunk-S4TSENRQ.js";
|
|
5
|
+
import "../chunk-KNMPYZUO.js";
|
|
6
6
|
import "../chunk-E5YI66B3.js";
|
|
7
7
|
export {
|
|
8
8
|
generateUnifiedDocumentSchema
|
package/dist/schemas/theme.d.ts
CHANGED
|
@@ -1113,6 +1113,9 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
1113
1113
|
borderSecondary: _sinclair_typebox.TString;
|
|
1114
1114
|
backgroundPrimary: _sinclair_typebox.TString;
|
|
1115
1115
|
backgroundSecondary: _sinclair_typebox.TString;
|
|
1116
|
+
accent4: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1117
|
+
accent5: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1118
|
+
accent6: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1116
1119
|
}>;
|
|
1117
1120
|
fonts: _sinclair_typebox.TObject<{
|
|
1118
1121
|
heading: _sinclair_typebox.TObject<{
|
package/dist/schemas/theme.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
StyleDefinitionsSchema,
|
|
8
8
|
ThemeConfigSchema,
|
|
9
9
|
isValidThemeConfig
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-KQFMDKI7.js";
|
|
11
11
|
import {
|
|
12
12
|
ColumnsComponentDefaultsSchema,
|
|
13
13
|
ComponentDefaultsSchema,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
SectionComponentDefaultsSchema,
|
|
19
19
|
StatisticComponentDefaultsSchema,
|
|
20
20
|
TableComponentDefaultsSchema
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-KNMPYZUO.js";
|
|
22
22
|
import "../chunk-E5YI66B3.js";
|
|
23
23
|
export {
|
|
24
24
|
ColumnsComponentDefaultsSchema,
|
|
@@ -361,8 +361,6 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
361
361
|
author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
362
362
|
company: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
363
363
|
date: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
364
|
-
created: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
365
|
-
modified: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
366
364
|
version: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
367
365
|
tags: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
368
366
|
}>>;
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
validateTheme,
|
|
49
49
|
validateThemeJson,
|
|
50
50
|
validateThemeWithEnhancement
|
|
51
|
-
} from "../../chunk-
|
|
52
|
-
import "../../chunk-
|
|
51
|
+
} from "../../chunk-4HT2OQJO.js";
|
|
52
|
+
import "../../chunk-KQFMDKI7.js";
|
|
53
53
|
import {
|
|
54
54
|
comprehensiveValidateDocument,
|
|
55
55
|
createDocumentValidator,
|
|
@@ -71,11 +71,11 @@ import {
|
|
|
71
71
|
validateJsonComponent,
|
|
72
72
|
validateJsonDocument,
|
|
73
73
|
validateWithEnhancement
|
|
74
|
-
} from "../../chunk-
|
|
75
|
-
import "../../chunk-
|
|
74
|
+
} from "../../chunk-HTOT7PVC.js";
|
|
75
|
+
import "../../chunk-2TQ74H6S.js";
|
|
76
76
|
import "../../chunk-7GGTZ4TA.js";
|
|
77
|
-
import "../../chunk-
|
|
78
|
-
import "../../chunk-
|
|
77
|
+
import "../../chunk-S4TSENRQ.js";
|
|
78
|
+
import "../../chunk-KNMPYZUO.js";
|
|
79
79
|
import "../../chunk-E5YI66B3.js";
|
|
80
80
|
export {
|
|
81
81
|
DEFAULT_ERROR_CONFIG,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/shared-docx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "DOCX-specific schemas, component registry and validation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@sinclair/typebox": "0.34.38",
|
|
32
32
|
"docx": "9.5.1",
|
|
33
|
-
"@json-to-office/shared": "^0.
|
|
34
|
-
"@json-to-office/shared-pptx": "^0.20.0"
|
|
33
|
+
"@json-to-office/shared": "^0.22.0"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@types/node": "20.11.0",
|