@silurus/ooxml 0.88.0 → 0.89.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.
Files changed (127) hide show
  1. package/README.md +118 -23
  2. package/THIRD_PARTY_NOTICES.md +8 -7
  3. package/dist/abort-VrnK7mdP.js +10 -0
  4. package/dist/assets/render-worker-C5G_Nr_A.js +35 -0
  5. package/dist/assets/render-worker-DQfWdNsm.js +16 -0
  6. package/dist/assets/render-worker-Ds7LjwU-.js +15 -0
  7. package/dist/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-CsnNptAy.js} +4937 -7458
  8. package/dist/bundled-asset-url-E2nXURF9.js +15 -0
  9. package/dist/canvas-viewer-mechanics-BZ8QCrRi.js +675 -0
  10. package/dist/cfb-guard-dNeUiANF.js +528 -0
  11. package/dist/chart-ex.mjs +667 -663
  12. package/dist/comment-overlay-controller-CBvQx-En.js +994 -0
  13. package/dist/comment-ui-runtime-B7ZvovcS.js +2 -0
  14. package/dist/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-BKidRH36.js} +5 -5
  15. package/dist/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-C47QoDUy.js} +5 -5
  16. package/dist/delimited-text-worker-host-CikWU6_m.js +27 -0
  17. package/dist/document-model-source-MzFPrxt0.js +249 -0
  18. package/dist/document-pull-client-BoJeuURD.js +35941 -0
  19. package/dist/document-pull-worker-CaP8XESP.js +104 -0
  20. package/dist/docx-BN70UhvX.js +495 -0
  21. package/dist/docx-BRRtSvk3.js +3563 -0
  22. package/dist/docx-model-source-CTO9iw_W.js +98 -0
  23. package/dist/docx-source-worker.mjs +455 -0
  24. package/dist/docx.mjs +7 -7
  25. package/dist/docx_parser_bg.wasm +0 -0
  26. package/dist/drawingml-shape-CHmq8kpM.js +310 -0
  27. package/dist/duotone-DN8P4aXe.js +126 -0
  28. package/dist/emf-CGFQIz6c.js +1790 -0
  29. package/dist/font-preload-demand-Dmy31xt-.js +2058 -0
  30. package/dist/grid-geometry-C3IG20ut.js +384 -0
  31. package/dist/host-layout-DVMw8hDY.js +56 -0
  32. package/dist/host-layout-measure-DsuQ2UJs.js +7 -0
  33. package/dist/in-process-pull-transport-DuXcPZng.js +29 -0
  34. package/dist/index.mjs +4 -4
  35. package/dist/internal-companion.mjs +12 -0
  36. package/dist/line-distribute-Bu8psjGd.js +2799 -0
  37. package/dist/math.mjs +2 -2
  38. package/dist/mathjax-stix2.js +10 -10
  39. package/dist/model-source-kz_NkZqT.js +179 -0
  40. package/dist/model-source-s5hRpk4w.js +61 -0
  41. package/dist/model-source-session-6fuaqbGs.js +71 -0
  42. package/dist/model-source-session-DqrR4XHR.js +85 -0
  43. package/dist/model-source-session-cPJSF_Ak.js +58 -0
  44. package/dist/node.mjs +7 -1327
  45. package/dist/{pixel-budget-9P63Bsk5.js → pixel-budget-BpTYrepD.js} +13 -10
  46. package/dist/plot-area-frame-Bs_j4uu7.js +41811 -0
  47. package/dist/pptx-CaJ6ILnw.js +183 -0
  48. package/dist/pptx-_BOGcBym.js +2936 -0
  49. package/dist/pptx-model-source-B_9afw9R.js +37 -0
  50. package/dist/pptx-source-worker.mjs +446 -0
  51. package/dist/pptx.mjs +8 -7
  52. package/dist/pptx_parser_bg.wasm +0 -0
  53. package/dist/presentation-model-source-CGHLyX32.js +77 -0
  54. package/dist/raster-target-YQ4G6rxo.js +42 -0
  55. package/dist/region-map.mjs +117 -153
  56. package/dist/{render-D3iqVKCo.js → render-CzbDzRKa.js} +3 -3
  57. package/dist/{render-worker-host-B5wQfB7U.js → render-worker-host-B1u6BOUd.js} +1 -1
  58. package/dist/{render-worker-host-D4123J27.js → render-worker-host-C-EECo68.js} +1 -1
  59. package/dist/{render-worker-host-Di3LxLc0.js → render-worker-host-DDqZTCVf.js} +1 -1
  60. package/dist/renderer-CD2cvVAF.js +5823 -0
  61. package/dist/renderer-DRoeb14O.js +5170 -0
  62. package/dist/resource-measurement-Dhhm7P_l.js +772 -0
  63. package/dist/session-XPmC0CUd.js +656 -0
  64. package/dist/slide-pull-client-tq7U_fYg.js +6485 -0
  65. package/dist/three-d-BKwNPAP4.js +878 -0
  66. package/dist/three-d.mjs +925 -910
  67. package/dist/{raster-target-ojDdQizC.js → tiff-contract-C6M3QcPp.js} +1 -42
  68. package/dist/tiff.mjs +401 -248
  69. package/dist/types/chart-ex.d.ts +149 -2
  70. package/dist/types/docx.d.ts +333 -96
  71. package/dist/types/index.d.ts +566 -301
  72. package/dist/types/internal-companion.d.ts +11 -0
  73. package/dist/types/math.d.ts +1 -1
  74. package/dist/types/node.d.ts +422 -9
  75. package/dist/types/pptx.d.ts +302 -95
  76. package/dist/types/region-map.d.ts +149 -2
  77. package/dist/types/three-d.d.ts +149 -2
  78. package/dist/types/tiff.d.ts +1 -1
  79. package/dist/types/xlsx.d.ts +343 -132
  80. package/dist/wasm-loader-rlgHmcSv.js +35 -0
  81. package/dist/wasm-runtime-generation-D6TKZdNb.js +97 -0
  82. package/dist/workbook-model-source-BIGrfZy6.js +94 -0
  83. package/dist/worker-source-DrwhR9fw.js +22 -0
  84. package/dist/worker-source-SbudzjYL.js +22 -0
  85. package/dist/worker-source-UAi3GNcM.js +22 -0
  86. package/dist/worksheet-pull-client-ClvPO_Jf.js +579 -0
  87. package/dist/xlsx-CsmREBaZ.js +5819 -0
  88. package/dist/xlsx-DmHfeNNp.js +534 -0
  89. package/dist/xlsx-model-source-D1flORqy.js +309 -0
  90. package/dist/xlsx-source-worker.mjs +525 -0
  91. package/dist/xlsx.mjs +8 -7
  92. package/dist/xlsx_parser_bg.wasm +0 -0
  93. package/package.json +42 -16
  94. package/dist/assets/render-worker-1uPAxMZr.js +0 -31
  95. package/dist/assets/render-worker-BlvJybji.js +0 -10
  96. package/dist/assets/render-worker-CzmiJfFL.js +0 -11
  97. package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  98. package/dist/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
  99. package/dist/cjk-fallback-bLI3z70h.js +0 -46
  100. package/dist/comment-occurrence-C8Y2uoVr.js +0 -6
  101. package/dist/comment-ui-runtime-BsK8pmUT.js +0 -2
  102. package/dist/comments-Diid5ujN.js +0 -246
  103. package/dist/delimited-text-worker-host-BVY-Ecni.js +0 -27
  104. package/dist/document-pull-client-B9PTM-pL.js +0 -27280
  105. package/dist/docx-BF9WXrYH.js +0 -3103
  106. package/dist/dom-interaction-boundary-Cnm8DSBN.js +0 -223
  107. package/dist/highlight-rect-C5hkRqUr.js +0 -13
  108. package/dist/line-distribute-D1WNHKz_.js +0 -1023
  109. package/dist/line-metrics-B60C86uh.js +0 -60
  110. package/dist/plot-area-frame-DLTYKHNP.js +0 -4354
  111. package/dist/pptx-DkyYBYoL.js +0 -3065
  112. package/dist/renderer-B4GZb5We.js +0 -6492
  113. package/dist/resource-measurement-SHQCbkh2.js +0 -150
  114. package/dist/session-BGq81gRQ.js +0 -743
  115. package/dist/slide-pull-client-DiPnm240.js +0 -6253
  116. package/dist/source-key-DIJG8BA0.js +0 -42
  117. package/dist/three-d-DJBl8g8M.js +0 -1162
  118. package/dist/transfer-p6iCC2R7.js +0 -6
  119. package/dist/units-BzZ0gAxs.js +0 -4
  120. package/dist/worksheet-pull-client-BM8ywvbu.js +0 -458
  121. package/dist/xlsx-C9NVjgaV.js +0 -8484
  122. /package/dist/{chunk-DmhlhrBa.js → chunk-Dy4uBu1J.js} +0 -0
  123. /package/dist/{mathjax-DoyWZbSp.js → mathjax-BhwN6ilc.js} +0 -0
  124. /package/dist/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-PidH0wnP.js} +0 -0
  125. /package/dist/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-B52rDVKo.js} +0 -0
  126. /package/dist/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-CWM7jv6d.js} +0 -0
  127. /package/dist/{visible-index-BgiHEc1z.js → visible-index-FeVA0mGE.js} +0 -0
@@ -1,8 +1,138 @@
1
- //#region dist/.types-work/chart-BtUu4_7Y.d.ts
1
+ //#region dist/.types-work/chart-BX4Zli_Z.d.ts
2
2
  interface Duotone {
3
3
  clr1: string;
4
4
  clr2: string;
5
5
  }
6
+ type BlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
7
+ type BlipEffect = {
8
+ type: 'grayscale';
9
+ } | {
10
+ type: 'biLevel';
11
+ thresh: number;
12
+ } | {
13
+ type: 'colorChange';
14
+ from: string;
15
+ fromAlpha: number;
16
+ to: string;
17
+ toAlpha: number;
18
+ useAlpha: boolean;
19
+ } | {
20
+ type: 'luminance';
21
+ bright: number;
22
+ contrast: number;
23
+ } | {
24
+ type: 'duotone';
25
+ clr1?: string;
26
+ clr2?: string;
27
+ } | {
28
+ type: 'alphaBiLevel';
29
+ thresh: number;
30
+ } | {
31
+ type: 'alphaCeiling' | 'alphaFloor';
32
+ } | {
33
+ type: 'alphaInv';
34
+ color?: string;
35
+ } | {
36
+ type: 'hsl';
37
+ hue: number;
38
+ sat: number;
39
+ lum: number;
40
+ } | {
41
+ type: 'tint';
42
+ hue: number;
43
+ amt: number;
44
+ } | {
45
+ type: 'blur';
46
+ radius: number;
47
+ grow: boolean;
48
+ } | {
49
+ type: 'alphaMod';
50
+ container: BlipEffectContainer;
51
+ } | {
52
+ type: 'container';
53
+ container: BlipEffectContainer;
54
+ } | {
55
+ type: 'reference';
56
+ reference: string;
57
+ } | {
58
+ type: 'definitions';
59
+ containers: readonly BlipEffectContainer[];
60
+ work: number;
61
+ } | {
62
+ type: 'effectCountLimit';
63
+ observed: number;
64
+ } | {
65
+ type: 'alphaOutset';
66
+ radius: number;
67
+ } | {
68
+ type: 'blend';
69
+ container: BlipEffectContainer;
70
+ blend: BlendMode;
71
+ } | {
72
+ type: 'fill';
73
+ fill: BlipEffectFill;
74
+ } | {
75
+ type: 'glow';
76
+ glow: Glow;
77
+ } | {
78
+ type: 'shadow';
79
+ shadow: Shadow;
80
+ inner: boolean;
81
+ } | {
82
+ type: 'softEdge';
83
+ radius: number;
84
+ } | {
85
+ type: 'reflection';
86
+ reflection: Reflection & {
87
+ kx?: number;
88
+ ky?: number;
89
+ algn?: Shadow['algn'];
90
+ fadeDir?: number;
91
+ rotWithShape?: boolean;
92
+ };
93
+ } | {
94
+ type: 'transform';
95
+ sx: number;
96
+ sy: number;
97
+ kx: number;
98
+ ky: number;
99
+ tx: number;
100
+ ty: number;
101
+ } | {
102
+ type: 'relativeOffset';
103
+ tx: number;
104
+ ty: number;
105
+ } | {
106
+ type: 'presetShadow';
107
+ shadows: readonly Shadow[];
108
+ } | {
109
+ type: 'fillOverlay';
110
+ fill: BlipEffectFill;
111
+ blend: BlendMode;
112
+ } | {
113
+ type: 'alphaModFix';
114
+ amt: number;
115
+ } | {
116
+ type: 'alphaRepl';
117
+ alpha: number;
118
+ } | {
119
+ type: 'colorReplace';
120
+ color: string;
121
+ } | {
122
+ type: 'unsupported';
123
+ effect: string;
124
+ };
125
+ type BlipEffectImageFill = Omit<ImageFill, 'blipEffects'> & {
126
+ readonly blipEffects?: readonly BlipEffect[];
127
+ };
128
+ type BlipEffectFill = SolidFill | NoFill | PatternFill | (Omit<GradientFill, 'stops'> & {
129
+ readonly stops: readonly GradientStop[];
130
+ }) | BlipEffectImageFill;
131
+ interface BlipEffectContainer {
132
+ readonly kind: 'sib' | 'tree';
133
+ readonly name?: string;
134
+ readonly effects: readonly BlipEffect[];
135
+ }
6
136
  interface SrcRect {
7
137
  l: number;
8
138
  t: number;
@@ -66,6 +196,7 @@ interface ImageFill {
66
196
  tile?: TileInfo;
67
197
  alpha?: number;
68
198
  duotone?: Duotone;
199
+ blipEffects?: BlipEffect[];
69
200
  }
70
201
  interface Shadow {
71
202
  color: string;
@@ -460,6 +591,7 @@ interface ChartModel {
460
591
  title: string | null;
461
592
  titleRichRuns?: ChartTextRun[] | null;
462
593
  titlePresent?: boolean;
594
+ authoredWithoutSeries?: boolean;
463
595
  categories: string[];
464
596
  categorySourceHidden?: boolean[] | null;
465
597
  categoryLevels?: string[][] | null;
@@ -539,6 +671,7 @@ interface ChartModel {
539
671
  subtotalIndices: number[];
540
672
  legendManualLayout?: LegendManualLayout | null;
541
673
  valAxisFormatCode?: string | null;
674
+ valAxisNumberFormat?: ChartAxisNumberFormat | null;
542
675
  valAxisDisplayUnits?: ChartDisplayUnits | null;
543
676
  catAxisDisplayUnits?: ChartDisplayUnits | null;
544
677
  barGapWidth?: number | null;
@@ -627,6 +760,7 @@ interface ChartModel {
627
760
  valAxisLineDash?: string | null;
628
761
  valAxisLinePaintAuthored?: boolean | null;
629
762
  catAxisFormatCode?: string | null;
763
+ catAxisNumberFormat?: ChartAxisNumberFormat | null;
630
764
  catAxisMin?: number | null;
631
765
  catAxisMax?: number | null;
632
766
  titleManualLayout?: ChartManualLayout | null;
@@ -710,6 +844,13 @@ interface ChartModel {
710
844
  chartexTreemap?: ChartexTreemap | null;
711
845
  chartexRegionMap?: ChartexRegionMap | null;
712
846
  chartexHistogramBinning?: ChartexHistogramBinning | null;
847
+ chartexParetoOwnerIndex?: number | null;
848
+ chartexParetoSortDescending?: boolean | null;
849
+ chartexParetoFlatEndpoint?: boolean | null;
850
+ chartexSuppressGeometry?: boolean | null;
851
+ chartexParetoOutlineOwner?: boolean | null;
852
+ chartexPrimaryAxisRight?: boolean | null;
853
+ chartexShowUnpairedPercentageAxis?: boolean | null;
713
854
  chartexAccents?: string[] | null;
714
855
  chartexColorPalette?: Array<string | null> | null;
715
856
  chartexColorStyleMethod?: string | null;
@@ -965,6 +1106,11 @@ interface ChartexHistogramBinning {
965
1106
  intervalClosed?: 'l' | 'r' | null;
966
1107
  underflow?: number | null;
967
1108
  overflow?: number | null;
1109
+ edgeFormatCode?: string | null;
1110
+ }
1111
+ interface ChartAxisNumberFormat {
1112
+ authoredCode: string;
1113
+ sourceLinked?: boolean | null;
968
1114
  }
969
1115
  interface SecondaryValueAxis {
970
1116
  style?: ChartExElementStyle | null;
@@ -976,6 +1122,7 @@ interface SecondaryValueAxis {
976
1122
  title: string | null;
977
1123
  hidden: boolean;
978
1124
  formatCode?: string | null;
1125
+ numberFormat?: ChartAxisNumberFormat | null;
979
1126
  displayUnits?: ChartDisplayUnits | null;
980
1127
  fontColor?: string | null;
981
1128
  fontPaintAuthored?: boolean | null;
@@ -1076,7 +1223,7 @@ interface ChartRect {
1076
1223
  h: number;
1077
1224
  }
1078
1225
  //#endregion
1079
- //#region dist/.types-work/chart-ex-contract-Dds4H6Xe.d.ts
1226
+ //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1080
1227
  interface ChartExRenderer {
1081
1228
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1082
1229
  }