ooxml-ui 1.44.0 → 1.45.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.
Files changed (149) hide show
  1. package/README.md +4 -0
  2. package/dist/base.d.ts +1 -0
  3. package/dist/chart/format-pane-3d.d.ts +1 -0
  4. package/dist/chart/format-pane-advanced-intent.d.ts +1 -0
  5. package/dist/chart/format-pane-analysis.d.ts +1 -0
  6. package/dist/chart/format-pane-axis.d.ts +1 -0
  7. package/dist/chart/format-pane-common.d.ts +1 -0
  8. package/dist/chart/format-pane-effects.d.ts +1 -0
  9. package/dist/chart/format-pane-fields.d.ts +1 -0
  10. package/dist/chart/format-pane-fill-kinds.d.ts +1 -0
  11. package/dist/chart/format-pane-fill-line.d.ts +1 -0
  12. package/dist/chart/format-pane-locales/es.d.ts +1 -0
  13. package/dist/chart/format-pane-model.d.ts +1 -0
  14. package/dist/chart/format-pane-options.d.ts +1 -0
  15. package/dist/chart/format-pane-space.d.ts +1 -0
  16. package/dist/chart/format-pane-text.d.ts +1 -0
  17. package/dist/chart/format-pane-types.d.ts +1 -0
  18. package/dist/chart/format-pane-view.d.ts +1 -0
  19. package/dist/chrome/find-bar.d.ts +2 -1
  20. package/dist/{chunk-NH5ZSZMI.js → chunk-2YRHRV4H.js} +1 -1
  21. package/dist/{chunk-JWBWLGEY.js → chunk-LPI7LT4B.js} +2 -2
  22. package/dist/{chunk-2ZYRZANE.js → chunk-MWDG776V.js} +1 -1
  23. package/dist/{chunk-I57TCM2Q.js → chunk-UEFVC6V4.js} +1 -1
  24. package/dist/{chunk-M4ARYL3L.js → chunk-ZTLP52FH.js} +1 -1
  25. package/dist/controls.d.ts +1 -0
  26. package/dist/controls.js +1 -1
  27. package/dist/docx.js +4 -4
  28. package/dist/embedding/region-host.d.ts +1 -0
  29. package/dist/files/save-progress-label.d.ts +1 -0
  30. package/dist/fonts/custom-fonts.d.ts +1 -0
  31. package/dist/form/color-swatches.d.ts +1 -0
  32. package/dist/image-native-size.d.ts +1 -0
  33. package/dist/index.js +4 -4
  34. package/dist/picture-artistic-filters.d.ts +1 -0
  35. package/dist/picture-artistic-preview.d.ts +1 -0
  36. package/dist/picture-paint.d.ts +1 -0
  37. package/dist/pptx/{chart-3d-view-scene-D6OJTZYC.mjs → chart-3d-view-scene-7LIMCTEM.mjs} +3 -3
  38. package/dist/pptx/{chart-3d-view-scene-PC2RUBL4.cjs → chart-3d-view-scene-RCWYLVC3.cjs} +38 -38
  39. package/dist/pptx/{chunk-W2QJX2ON.mjs → chunk-2P6TH4ZE.mjs} +3 -0
  40. package/dist/pptx/{chunk-H6M3FKNG.mjs → chunk-3DJZBAQ2.mjs} +1 -1
  41. package/dist/pptx/{chunk-BNPTGOEZ.mjs → chunk-6JTQ7AG6.mjs} +3 -3
  42. package/dist/pptx/{chunk-LK35P6RE.cjs → chunk-CWBVJ4DC.cjs} +1043 -427
  43. package/dist/pptx/{chunk-HWJKBKCW.cjs → chunk-FI2ATACZ.cjs} +3 -3
  44. package/dist/pptx/{chunk-EDIAPF6J.mjs → chunk-G5NEBI7N.mjs} +3 -3
  45. package/dist/pptx/{chunk-HB6CH2FF.cjs → chunk-GYI2TFSW.cjs} +3 -3
  46. package/dist/pptx/{chunk-D3DQS2J2.mjs → chunk-HGT3CA36.mjs} +796 -200
  47. package/dist/pptx/{chunk-2SO3BL67.cjs → chunk-HTFYAGHG.cjs} +238 -87
  48. package/dist/pptx/{chunk-2GDYTHUY.cjs → chunk-LOUVYGWX.cjs} +12 -12
  49. package/dist/pptx/{chunk-ZH35NTNU.cjs → chunk-MZCAYJ7H.cjs} +49 -49
  50. package/dist/pptx/{chunk-KYTG7WNC.mjs → chunk-S6P7UWGZ.mjs} +2 -2
  51. package/dist/pptx/{chunk-ZHVKGGLQ.cjs → chunk-UFJBHFSD.cjs} +3 -0
  52. package/dist/pptx/{chunk-TDALHSYV.mjs → chunk-XL5AF4U3.mjs} +211 -73
  53. package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
  54. package/dist/pptx/dom/index.cjs +458 -449
  55. package/dist/pptx/dom/index.mjs +32 -23
  56. package/dist/pptx/export/html2canvas-clone.cjs +7 -7
  57. package/dist/pptx/export/html2canvas-clone.mjs +2 -2
  58. package/dist/pptx/i18n/index.cjs +6 -6
  59. package/dist/pptx/i18n/index.mjs +1 -1
  60. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  61. package/dist/pptx/index.cjs +3547 -3459
  62. package/dist/pptx/index.mjs +6 -6
  63. package/dist/pptx/render/chart-combo-stock.cjs +4 -4
  64. package/dist/pptx/render/chart-combo-stock.mjs +2 -2
  65. package/dist/pptx/render/chart-overlays.cjs +8 -8
  66. package/dist/pptx/render/chart-overlays.mjs +2 -2
  67. package/dist/pptx/render/chart-surface-treemap.cjs +5 -5
  68. package/dist/pptx/render/chart-surface-treemap.mjs +2 -2
  69. package/dist/pptx/render/chart-view-model.cjs +45 -45
  70. package/dist/pptx/render/chart-view-model.mjs +2 -2
  71. package/dist/pptx/render/chart-waterfall-map.cjs +7 -7
  72. package/dist/pptx/render/chart-waterfall-map.mjs +2 -2
  73. package/dist/pptx/render/connector-dash.d.ts +15 -0
  74. package/dist/pptx/render/connector-dash.d.ts.map +1 -1
  75. package/dist/pptx/render/connector-path.d.ts +1 -1
  76. package/dist/pptx/render/connector-path.d.ts.map +1 -1
  77. package/dist/pptx/render/customization/customization-controller.d.ts +8 -0
  78. package/dist/pptx/render/customization/customization-controller.d.ts.map +1 -1
  79. package/dist/pptx/render/dash-pattern.d.ts +5 -56
  80. package/dist/pptx/render/dash-pattern.d.ts.map +1 -1
  81. package/dist/pptx/render/dash-square-cap.d.ts +34 -0
  82. package/dist/pptx/render/dash-square-cap.d.ts.map +1 -0
  83. package/dist/pptx/render/deck-webfont-outlines.d.ts +25 -0
  84. package/dist/pptx/render/deck-webfont-outlines.d.ts.map +1 -0
  85. package/dist/pptx/render/deck-webfont-readiness.d.ts +59 -0
  86. package/dist/pptx/render/deck-webfont-readiness.d.ts.map +1 -0
  87. package/dist/pptx/render/device-pixel-stroke.d.ts +1 -1
  88. package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
  89. package/dist/pptx/render/fill-style.d.ts +6 -0
  90. package/dist/pptx/render/fill-style.d.ts.map +1 -1
  91. package/dist/pptx/render/google-webfonts.d.ts +11 -1
  92. package/dist/pptx/render/google-webfonts.d.ts.map +1 -1
  93. package/dist/pptx/render/gradient-svg-image.d.ts +9 -0
  94. package/dist/pptx/render/gradient-svg-image.d.ts.map +1 -1
  95. package/dist/pptx/render/index.d.ts +4 -0
  96. package/dist/pptx/render/index.d.ts.map +1 -1
  97. package/dist/pptx/render/options/font-download-policy.d.ts +52 -0
  98. package/dist/pptx/render/options/font-download-policy.d.ts.map +1 -0
  99. package/dist/pptx/render/options/index.d.ts +1 -0
  100. package/dist/pptx/render/options/index.d.ts.map +1 -1
  101. package/dist/pptx/render/options/viewer-options-tabs-advanced.d.ts.map +1 -1
  102. package/dist/pptx/render/options/viewer-options.d.ts +2 -0
  103. package/dist/pptx/render/options/viewer-options.d.ts.map +1 -1
  104. package/dist/pptx/render/paragraph-baseline.d.ts +13 -2
  105. package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
  106. package/dist/pptx/render/paragraph-run-build.d.ts.map +1 -1
  107. package/dist/pptx/render/paragraph-trailing-break.d.ts +15 -0
  108. package/dist/pptx/render/paragraph-trailing-break.d.ts.map +1 -0
  109. package/dist/pptx/render/shape-path-gradient-fill.d.ts +20 -0
  110. package/dist/pptx/render/shape-path-gradient-fill.d.ts.map +1 -0
  111. package/dist/pptx/render/silhouette-effects.d.ts.map +1 -1
  112. package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
  113. package/dist/pptx/render/svg-attr-escape.d.ts +30 -0
  114. package/dist/pptx/render/svg-attr-escape.d.ts.map +1 -0
  115. package/dist/pptx/render/svg-gradient-paint.d.ts +6 -1
  116. package/dist/pptx/render/svg-gradient-paint.d.ts.map +1 -1
  117. package/dist/pptx/render/table-cell-baseline.d.ts +2 -1
  118. package/dist/pptx/render/table-cell-baseline.d.ts.map +1 -1
  119. package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
  120. package/dist/pptx/render/text-body-top-snap.d.ts +43 -0
  121. package/dist/pptx/render/text-body-top-snap.d.ts.map +1 -0
  122. package/dist/pptx/render/text-design-tracking.d.ts +20 -0
  123. package/dist/pptx/render/text-design-tracking.d.ts.map +1 -0
  124. package/dist/pptx/render/text-line-height.d.ts +8 -0
  125. package/dist/pptx/render/text-line-height.d.ts.map +1 -1
  126. package/dist/pptx/render/text-metric-tracking.d.ts.map +1 -1
  127. package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
  128. package/dist/pptx/render/text-warp-arch-fit.d.ts +51 -0
  129. package/dist/pptx/render/text-warp-arch-fit.d.ts.map +1 -0
  130. package/dist/pptx/render/text-warp-arch.d.ts +53 -13
  131. package/dist/pptx/render/text-warp-arch.d.ts.map +1 -1
  132. package/dist/pptx/render/text-warp-envelope-measure.d.ts +5 -0
  133. package/dist/pptx/render/text-warp-envelope-measure.d.ts.map +1 -1
  134. package/dist/pptx/render/text-warp-outline-webfont-fetch.d.ts.map +1 -1
  135. package/dist/pptx/render/text-warp.d.ts +3 -1
  136. package/dist/pptx/render/text-warp.d.ts.map +1 -1
  137. package/dist/pptx/render/visual-effects.d.ts +2 -21
  138. package/dist/pptx/render/visual-effects.d.ts.map +1 -1
  139. package/dist/pptx/{smartart-insert-preview-55QCEISC.cjs → smartart-insert-preview-R7USUBIX.cjs} +8 -8
  140. package/dist/pptx/{smartart-insert-preview-GPBTE3HU.mjs → smartart-insert-preview-ZKVFXFSI.mjs} +7 -7
  141. package/dist/render-cache.d.ts +1 -0
  142. package/dist/ribbon/ribbon-group.d.ts +2 -1
  143. package/dist/ribbon/svg-preview.d.ts +1 -0
  144. package/dist/teams.js +2 -2
  145. package/dist/theme-bridge.d.ts +1 -0
  146. package/dist/theme.d.ts +1 -0
  147. package/dist/visio.js +23 -6
  148. package/dist/xlsx.js +7 -7
  149. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-body-top-snap.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-body-top-snap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAYnD,4EAA4E;AAC5E,MAAM,WAAW,OAAO;IACvB,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,GAAG,SAAS,CAsBnE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAGrE"}
@@ -0,0 +1,20 @@
1
+ /** The deck font: the first family of the resolved CSS list, unquoted. */
2
+ export declare function deckFamilyOf(fontFamily: string | undefined): string | undefined;
3
+ /**
4
+ * Whether the browser paints `family` itself rather than a stand-in: a string set in
5
+ * `family` followed by one fallback measures differently from the fallback alone only when
6
+ * the family exists, checked against two fallbacks so a family that equals one of them is
7
+ * still seen.
8
+ */
9
+ export declare function isFamilyPainted(ctx: CanvasRenderingContext2D, family: string): boolean;
10
+ /**
11
+ * The letter-spacing (CSS px) that gives `text` the width the deck font has in PowerPoint,
12
+ * or `undefined` when the deck font is painted, was not measured, or the text needs
13
+ * a glyph outside the measured range.
14
+ *
15
+ * @param natural The width (px) the browser paints `text` at without any spacing.
16
+ */
17
+ export declare function resolveDesignTrackingPx(ctx: CanvasRenderingContext2D, text: string, deckFamily: string | undefined, sizePx: number, bold: boolean, natural: number): number | undefined;
18
+ /** Test hook. */
19
+ export declare function resetDesignTrackingCache(): void;
20
+ //# sourceMappingURL=text-design-tracking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-design-tracking.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-design-tracking.ts"],"names":[],"mappings":"AAuBA,0EAA0E;AAC1E,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAM/E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAmBtF;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACtC,GAAG,EAAE,wBAAwB,EAC7B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,MAAM,GACb,MAAM,GAAG,SAAS,CAepB;AAED,iBAAiB;AACjB,wBAAgB,wBAAwB,IAAI,IAAI,CAE/C"}
@@ -27,6 +27,14 @@ export interface LineHeightSource {
27
27
  * vertical drift over a full text panel.
28
28
  */
29
29
  export declare const DEFAULT_LINE_HEIGHT = 1.2;
30
+ /**
31
+ * An exact line pitch (`a:spcPts`) as PowerPoint lays it out: whole points,
32
+ * half up. A 14.3pt authored pitch lays out at 14pt (18.67px), 14.5pt at 15pt
33
+ * and 10.5pt at 11pt, measured on 8-line paragraphs of PowerPoint 16 exports
34
+ * (10.2 to 15.5pt in 0.1 and 0.5pt steps; the pitch stays unrounded in pixels,
35
+ * so 14pt is 18.67px and the baselines round one by one).
36
+ */
37
+ export declare function exactPitchPoints(points: number): number;
30
38
  /**
31
39
  * Resolve a CSS `line-height` value from a TextStyle's spacing fields.
32
40
  *
@@ -1 +1 @@
1
- {"version":3,"file":"text-line-height.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-line-height.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,gBAAgB,GAAG,SAAS,EACvC,aAAa,EAAE,OAAO,GACpB,MAAM,GAAG,MAAM,CAWjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CACrC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,UAAQ,GACvB,MAAM,CAKR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC7B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACrC,MAAM,CAYR"}
1
+ {"version":3,"file":"text-line-height.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-line-height.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,gBAAgB,GAAG,SAAS,EACvC,aAAa,EAAE,OAAO,GACpB,MAAM,GAAG,MAAM,CAWjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CACrC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,UAAQ,GACvB,MAAM,CAKR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC7B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACrC,MAAM,CAYR"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-metric-tracking.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-metric-tracking.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAKH,4EAA4E;AAC5E,MAAM,WAAW,WAAW;IAC3B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAgGD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM,CAkC/E;AAED,wDAAwD;AACxD,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;CACjB;AAiBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,cAAc,EAAE,CAmBpF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAGzF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EACjB,YAAY,EAAE,MAAM,GAClB,MAAM,CAMR;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C"}
1
+ {"version":3,"file":"text-metric-tracking.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-metric-tracking.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAUH,4EAA4E;AAC5E,MAAM,WAAW,WAAW;IAC3B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAgGD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM,CAoD/E;AAED,wDAAwD;AACxD,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;CACjB;AAiBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,cAAc,EAAE,CAmBpF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAGzF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EACjB,YAAY,EAAE,MAAM,GAClB,MAAM,CAMR;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,IAAI,IAAI,CAI/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,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wB,EACvC,gBAAgB,CAAC,EAAE,SAAS,WAAW,EAAE,EACzC,OAAO,CAAC,EAAE;IACT,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,GACC,eAAe,EAAE,CAkNnB"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * How PowerPoint fits a line of text to the arc of Arch Up, Arch Down, Button
3
+ * and Circle: text longer than the arc is not clipped or spilled over its ends,
4
+ * it is scaled down (both ways, so glyph height follows) until it exactly fills
5
+ * the arc. The arc is not always the whole half-ellipse (or loop): a start
6
+ * angle close to the one where the text flips to the other half leaves only a
7
+ * short stretch of it.
8
+ *
9
+ * Measured on PowerPoint 16 (rows of full-block glyphs and capital letters):
10
+ *
11
+ * - At 48 pt and at 60 pt the same capital row draws identically, as it must
12
+ * when the text length is pinned to the arc length.
13
+ * - Arch Up, Arch Down and Button: the available sweep is `540 - 2a` degrees
14
+ * for a start angle `a` (turned half a turn when the text sits on the lower
15
+ * half, see `archOnUpperHalf`) between 180 and 270 degrees, the whole half
16
+ * ellipse before that. The capacity at 66, 70, 75, 80 and 84 degrees was
17
+ * 168, 138, 102, 68 and 40 px for a 392 px box: the arc length of that sweep
18
+ * about the top or bottom of the box ellipse.
19
+ * - Circle: the sweep about the tip is `2 (360 - a)` degrees from 180 to 360
20
+ * and `2 (180 - a)` from 0 to 180, the whole loop at the other end.
21
+ */
22
+ import type { PptxTextWarpPreset, TextSegment, TextStyle } from 'ooxml-core/pptx';
23
+ /** Sweep (degrees) of the arch ellipse left for the text: 180 is the whole half. */
24
+ export declare function archFitSweep(adj: number | undefined, half: 'up' | 'down'): number;
25
+ /** Sweep (degrees) of the Circle loop left for the text: 360 is the whole loop. */
26
+ export declare function circleFitSweep(adj: number | undefined): number;
27
+ /**
28
+ * The length (px) of the arc a warped line of `preset` may fill, or
29
+ * `undefined` for a preset that does not scale its text to the path.
30
+ */
31
+ export declare function warpFitCapacity(preset: string, width: number, height: number, outward: number, adj: number | undefined): number | undefined;
32
+ /** The scale (at most 1) that fits `textWidth` into `capacity`. */
33
+ export declare function warpFitScale(capacity: number | undefined, textWidth: number | undefined): number;
34
+ /** The advance width (px) of a paragraph's runs as rendered, or `undefined` with nothing to measure with. */
35
+ export declare function measureWarpParagraphWidth(segments: readonly TextSegment[], elementStyle: TextStyle | undefined): number | undefined;
36
+ /** One paragraph's warp placement: its SVG path and the factor its font sizes are multiplied by. */
37
+ export interface WarpParagraphLayout {
38
+ d: string;
39
+ /** 1 unless the text is longer than the arc (see the module header). */
40
+ fitScale: number;
41
+ }
42
+ /**
43
+ * The path and the fit scale of every paragraph of a warped block, the one
44
+ * call every binding makes for the presets drawn along a path. Lines of the
45
+ * arch and loop presets lie one line pitch ({@link WARP_ARC_LINE_PITCH_EM}
46
+ * of the block's largest font) apart.
47
+ */
48
+ export declare function warpParagraphLayouts(preset: PptxTextWarpPreset, width: number, height: number, paragraphs: readonly {
49
+ segments: readonly TextSegment[];
50
+ }[], adj: number | undefined, adj2: number | undefined, elementStyle: TextStyle | undefined): WarpParagraphLayout[];
51
+ //# sourceMappingURL=text-warp-arch-fit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-warp-arch-fit.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-arch-fit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AA6BlF,oFAAoF;AACpF,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAKjF;AAED,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAG9D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC9B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GAAG,SAAS,GACrB,MAAM,GAAG,SAAS,CAmBpB;AAED,mEAAmE;AACnE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAKhG;AAED,6GAA6G;AAC7G,wBAAgB,yBAAyB,CACxC,QAAQ,EAAE,SAAS,WAAW,EAAE,EAChC,YAAY,EAAE,SAAS,GAAG,SAAS,GACjC,MAAM,GAAG,SAAS,CAiBpB;AAED,oGAAoG;AACpG,MAAM,WAAW,mBAAmB;IACnC,CAAC,EAAE,MAAM,CAAC;IACV,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,kBAAkB,EAC1B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,SAAS;IAAE,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAA;CAAE,EAAE,EAC3D,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,YAAY,EAAE,SAAS,GAAG,SAAS,GACjC,mBAAmB,EAAE,CA4BvB"}
@@ -1,25 +1,65 @@
1
1
  /**
2
- * The arch ellipse PowerPoint draws for Arch Up, Arch Down and Button at the
3
- * default angle (10800000, 180 degrees): the box's own ellipse, one half of
4
- * it, with the text baseline on the path.
2
+ * The arch ellipse PowerPoint draws for Arch Up, Arch Down and Button: the
3
+ * box's own ellipse, one half of it, with the text baseline on the path.
5
4
  *
6
5
  * Measured on PowerPoint 16 exports (a row of full-block glyphs, so the ink is
7
6
  * the line box): the ellipse is centred horizontally, has the box's own radii
8
7
  * and is shifted down by the default text frame inset, so the baseline of a
9
8
  * single line passes that inset below the top edge (arch up) or the bottom
10
9
  * edge (arch down) and the arc ends at mid height. The glyph tops point away
11
- * from the centre for Arch Up and Button and toward it for Arch Down. A
12
- * following line lies on a concentric ellipse: `t` 0 is the outermost, 1 the
13
- * innermost. Other angles keep the previous approximation.
10
+ * from the centre for Arch Up and Button and toward it for Arch Down. Further
11
+ * lines lie on concentric ellipses one line pitch apart (see
12
+ * {@link warpLineOutward}).
13
+ *
14
+ * The start angle does not turn the arc: it only picks which half carries the
15
+ * text (see {@link archOnUpperHalf}).
16
+ */
17
+ /** An angle in 60000ths of a degree, as degrees in [0, 360). */
18
+ export declare function normalizeWarpAngle(adj: number): number;
19
+ /**
20
+ * Whether an arch or button preset puts its text on the upper half of the
21
+ * ellipse. Measured on PowerPoint 16 at every 15 degrees: from 90 up to, but
22
+ * not including, 270 degrees the text lies on the upper half of the box
23
+ * ellipse, from 270 round to 90 on the lower half. Arch Up and Button default
24
+ * to 180 degrees (upper half), Arch Down to 0 (lower half).
25
+ */
26
+ export declare function archOnUpperHalf(adj: number | undefined, half: 'up' | 'down'): boolean;
27
+ /** Radii of the arch ellipse of a line: the box's own, `outward` px larger for each line further from the base line. */
28
+ export declare function archEllipseRadii(width: number, height: number, outward: number): {
29
+ rx: number;
30
+ ry: number;
31
+ };
32
+ /** A line's pitch on the arch and loop warps, in ems of the font size (1.2 em measured in Arial, Times New Roman, Calibri and Verdana, 52 px for 24 pt text). */
33
+ export declare const WARP_ARC_LINE_PITCH_EM = 1.2;
34
+ /**
35
+ * How far (px) the ellipse of a line lies outside the base ellipse. The text
36
+ * block stacks away from the centre of the box: the base ellipse carries the
37
+ * line nearest the centre (the last line of Arch Up, Button and Circle, the
38
+ * first line of Arch Down) and every other line lies one `gap` further out.
39
+ * Measured on PowerPoint 16 with two and three lines: the lines are one pitch
40
+ * apart, not scaled copies of each other.
41
+ */
42
+ export declare function warpLineOutward(preset: string, lineIndex: number, lineCount: number, gap: number): number;
43
+ /**
44
+ * SVG path for the arch half-ellipse. `half` is the preset's own half (`up`:
45
+ * glyph tops away from the centre, `down`: toward it); a start angle in the
46
+ * other range turns the whole picture half a turn about the centre of the
47
+ * box, so Arch Up reads upside down along the lower half.
14
48
  */
15
- /** SVG path for the arch half-ellipse, or `undefined` when `adj` is not the default angle. */
16
- export declare function archEllipsePath(width: number, height: number, t: number, adj: number | undefined, half: 'up' | 'down'): string | undefined;
49
+ export declare function archEllipsePath(width: number, height: number, outward: number, adj: number | undefined, half: 'up' | 'down'): string;
50
+ /** Radii of the Circle loop of a line, `outward` px larger for each line further from the base loop. */
51
+ export declare function circleLoopRadii(width: number, height: number, outward: number): {
52
+ rx: number;
53
+ ry: number;
54
+ };
17
55
  /**
18
56
  * The closed loop PowerPoint draws for Circle: an ellipse near the box
19
- * ellipse from the start angle `adj` (default 180 degrees, the left tip) once
20
- * around clockwise, with the text centred on the path, so at the default
21
- * angle it sits on the right tip and runs down the right side. A following
22
- * line lies on a concentric ellipse: `t` 0 is the outermost, 1 the innermost.
57
+ * ellipse run once around clockwise, with the text centred on the path. The
58
+ * start angle only picks the tip: from 180 round to 360 degrees (the default)
59
+ * the loop starts at the left tip, so a centred line sits on the right tip and
60
+ * runs down the right side; from 0 to 180 it starts at the right tip and the
61
+ * text sits on the left. A line further out lies on an ellipse `outward` px
62
+ * larger (see {@link warpLineOutward}).
23
63
  */
24
- export declare function circleEllipsePath(width: number, height: number, t: number, adj: number | undefined): string;
64
+ export declare function circleEllipsePath(width: number, height: number, outward: number, adj: number | undefined): string;
25
65
  //# sourceMappingURL=text-warp-arch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-warp-arch.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-arch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAYH,8FAA8F;AAC9F,wBAAgB,eAAe,CAC9B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,IAAI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MAAM,GACb;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAK5B;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GAAG,SAAS,GACrB,MAAM,CAYR"}
@@ -12,6 +12,11 @@ export declare function toCanvasFont(font: EnvelopeFontSpec, sizePx?: number): s
12
12
  * to measure with (SSR, or a test environment without a 2D canvas context).
13
13
  */
14
14
  export declare function measureGlyphAdvances(text: string, font: EnvelopeFontSpec): number[];
15
+ /**
16
+ * The advance width of `text` in `font` (kerned, like the per-glyph advances
17
+ * above), or `undefined` when there is no canvas to measure with.
18
+ */
19
+ export declare function measureTextAdvance(text: string, font: EnvelopeFontSpec): number | undefined;
15
20
  /** A glyph's ink extent relative to its own origin (baseline, left advance edge). */
16
21
  export interface GlyphInkExtent {
17
22
  left: number;
@@ -1 +1 @@
1
- {"version":3,"file":"text-warp-envelope-measure.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-envelope-measure.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAEjE;AAED,oFAAoF;AACpF,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,SAA2B,GAAG,MAAM,CAG9F;AAeD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,MAAM,EAAE,CAsBnF;AAED,qFAAqF;AACrF,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,cAAc,GAAG,SAAS,CAwBhG;AAED,wDAAwD;AACxD,wBAAgB,8BAA8B,IAAI,IAAI,CAErD"}
1
+ {"version":3,"file":"text-warp-envelope-measure.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-envelope-measure.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAEjE;AAED,oFAAoF;AACpF,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,SAA2B,GAAG,MAAM,CAG9F;AAeD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,MAAM,EAAE,CAsBnF;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAQ3F;AAED,qFAAqF;AACrF,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,cAAc,GAAG,SAAS,CAwBhG;AAED,wDAAwD;AACxD,wBAAgB,8BAA8B,IAAI,IAAI,CAErD"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-warp-outline-webfont-fetch.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-outline-webfont-fetch.ts"],"names":[],"mappings":"AAkFA,yFAAyF;AACzF,MAAM,MAAM,SAAS,GAAG,CACvB,GAAG,EAAE,MAAM,KACP,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAAC,WAAW,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;AAEpG;;;;;;;;GAQG;AACH,wBAAsB,8BAA8B,CACnD,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,SAAS,GAClB,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAiCjC"}
1
+ {"version":3,"file":"text-warp-outline-webfont-fetch.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp-outline-webfont-fetch.ts"],"names":[],"mappings":"AAyFA,yFAAyF;AACzF,MAAM,MAAM,SAAS,GAAG,CACvB,GAAG,EAAE,MAAM,KACP,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAAC,WAAW,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;AAoDpG;;;;;;;;GAQG;AACH,wBAAsB,8BAA8B,CACnD,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,SAAS,GAClB,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CA4BjC"}
@@ -110,8 +110,10 @@ export declare function hasTextWarp(element: PptxElement): boolean;
110
110
  * @param lineCount Total number of lines/paragraphs.
111
111
  * @param adj Optional primary adjustment (raw OOXML 1/60000th units).
112
112
  * @param adj2 Optional secondary adjustment (raw OOXML 1/60000th units).
113
+ * @param lineGap Arch Up, Arch Down, Button and Circle: px between the paths of two lines
114
+ * (see `warpLineOutward`); 0 puts every line on the base path.
113
115
  */
114
- export declare function buildWarpPath(preset: PptxTextWarpPreset, width: number, height: number, lineIndex: number, lineCount: number, adj?: number, adj2?: number): string;
116
+ export declare function buildWarpPath(preset: PptxTextWarpPreset, width: number, height: number, lineIndex: number, lineCount: number, adj?: number, adj2?: number, lineGap?: number): string;
115
117
  /**
116
118
  * Alias for {@link buildWarpPath}, kept under the original React/Angular symbol
117
119
  * name (`getWarpPath`) so binding renderers can import it directly from shared
@@ -1 +1 @@
1
- {"version":3,"file":"text-warp.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-warp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQpF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AA6EnE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAczE;AAED,qDAAqD;AACrD,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAKrD,CAAC;AAIH,8EAA8E;AAC9E,MAAM,WAAW,aAAa;IAC7B,+EAA+E;IAC/E,QAAQ,EAAE,WAAW,EAAE,CAAC;CACxB;AAED,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,EAAE,WAAW,KAAK,WAAW,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBA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wBAAgB,aAAa,CAC5B,MAAM,EAAE,kBAAkB,EAC1B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,GAAG,CAAC,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,SAAI,GACT,MAAM,CAkBR;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,sBAAgB,CAAC;AAIzC;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAgB;IAChC,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,eAAe,EAAE,MAAM,CAAC;CACxB;AAmBD;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACtC,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,MAAM,GACX,gBAAgB,GAAG,SAAS,CA8D9B;AAcD;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CA+CjG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAClC,MAAM,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS,EAC/C,GAAG,CAAC,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,GACX,gBAAgB,GAAG,SAAS,CAS9B"}
@@ -28,27 +28,8 @@
28
28
  */
29
29
  import type { PptxElement, ShapeStyle } from 'ooxml-core/pptx';
30
30
  import type { ReflectionWrapperStyle } from './reflection.js';
31
- /**
32
- * Escape a string for safe inclusion in an SVG/XML attribute value. Applied
33
- * to element-derived ids before they're interpolated into hand-built
34
- * `<filter>` markup (some bindings inject that markup via `innerHTML`/
35
- * `v-html`, so an unescaped id from a crafted OOXML shape id could otherwise
36
- * break out of the attribute).
37
- *
38
- * This is the ONE escaper for every string-concatenated SVG in `render/`.
39
- * `chart-sparkline`, `svg-gradient-paint` and `image-tiling` all build markup
40
- * that lands in `innerHTML`, and each grew its own private copy of exactly
41
- * this function; the copies are the failure mode, because a hardening applied
42
- * to one of four escapers protects a quarter of the surface.
43
- *
44
- * `String(value)` is deliberate rather than decorative: these builders are
45
- * fed descriptors assembled from parsed OOXML, so a field typed `string` can
46
- * still arrive `undefined` from a malformed deck. Coercing yields an inert
47
- * `"undefined"` in the attribute instead of throwing partway through building
48
- * a markup string, which is what one of the private copies already did and
49
- * what the consolidated version must keep doing.
50
- */
51
- export declare function escapeSvgAttr(value: string): string;
31
+ import { escapeSvgAttr } from './svg-attr-escape.js';
32
+ export { escapeSvgAttr };
52
33
  /**
53
34
  * Geometry context enabling the `a:outerShdw/@rotWithShape=false` correction
54
35
  * in {@link getOuterShadowCss}: the element's own rotation, so the shadow
@@ -1 +1 @@
1
- {"version":3,"file":"visual-effects.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/visual-effects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAM/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAS3D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMnD;AAiDD;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IACnC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,OAAO,CAAC,EAAE,mBAAmB,GAC3B,MAAM,GAAG,SAAS,CA6DpB;AAED;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC/C,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,OAAO,C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H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CASjF;AAED,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,WAAW,EACpB,OAAO,GAAE;IAAE,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAAO,GAC9C,mBAAmB,CA2GrB;AAED,wEAAwE;AACxE,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAE7D"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkZH35NTNU_cjs = require('./chunk-ZH35NTNU.cjs');
4
- require('./chunk-LK35P6RE.cjs');
5
- require('./chunk-2GDYTHUY.cjs');
3
+ var chunkMZCAYJ7H_cjs = require('./chunk-MZCAYJ7H.cjs');
4
+ require('./chunk-CWBVJ4DC.cjs');
5
+ require('./chunk-LOUVYGWX.cjs');
6
6
  require('./chunk-XOAXPD2W.cjs');
7
7
  require('./chunk-W3X2UVYQ.cjs');
8
8
  require('./chunk-WSTWYZFM.cjs');
@@ -22,12 +22,12 @@ require('./chunk-FFWLDANS.cjs');
22
22
  require('./chunk-ZJFN5POF.cjs');
23
23
  require('./chunk-OJFD3SHS.cjs');
24
24
  require('./chunk-USBRSEJK.cjs');
25
- require('./chunk-2SO3BL67.cjs');
25
+ require('./chunk-HTFYAGHG.cjs');
26
26
  require('./chunk-FOE75Z6N.cjs');
27
27
  require('./chunk-NTXHQHCS.cjs');
28
- require('./chunk-HB6CH2FF.cjs');
28
+ require('./chunk-GYI2TFSW.cjs');
29
29
  require('./chunk-G4WRLFMJ.cjs');
30
- require('./chunk-HWJKBKCW.cjs');
30
+ require('./chunk-FI2ATACZ.cjs');
31
31
  require('./chunk-HJ3JZXOL.cjs');
32
32
  require('./chunk-73IDQGYI.cjs');
33
33
  require('./chunk-3CYWRMYZ.cjs');
@@ -37,7 +37,7 @@ require('./chunk-UPN5FFKP.cjs');
37
37
  require('./chunk-FQUX6AUU.cjs');
38
38
  require('./chunk-XZSGVMRN.cjs');
39
39
  require('./chunk-U47LRWDT.cjs');
40
- require('./chunk-ZHVKGGLQ.cjs');
40
+ require('./chunk-UFJBHFSD.cjs');
41
41
  require('./chunk-3RIGT7H6.cjs');
42
42
  require('./chunk-PBZWDEXQ.cjs');
43
43
 
@@ -45,5 +45,5 @@ require('./chunk-PBZWDEXQ.cjs');
45
45
 
46
46
  Object.defineProperty(exports, "buildSmartArtInsertPreview", {
47
47
  enumerable: true,
48
- get: function () { return chunkZH35NTNU_cjs.buildSmartArtInsertPreview; }
48
+ get: function () { return chunkMZCAYJ7H_cjs.buildSmartArtInsertPreview; }
49
49
  });
@@ -1,6 +1,6 @@
1
- export { buildSmartArtInsertPreview } from './chunk-BNPTGOEZ.mjs';
2
- import './chunk-D3DQS2J2.mjs';
3
- import './chunk-H6M3FKNG.mjs';
1
+ export { buildSmartArtInsertPreview } from './chunk-6JTQ7AG6.mjs';
2
+ import './chunk-HGT3CA36.mjs';
3
+ import './chunk-3DJZBAQ2.mjs';
4
4
  import './chunk-RQJOOXRG.mjs';
5
5
  import './chunk-7BHPBO2O.mjs';
6
6
  import './chunk-A63ASSCH.mjs';
@@ -20,12 +20,12 @@ import './chunk-7FXQHSPE.mjs';
20
20
  import './chunk-L55MIOBC.mjs';
21
21
  import './chunk-PMURSMHH.mjs';
22
22
  import './chunk-T7FRLIDM.mjs';
23
- import './chunk-TDALHSYV.mjs';
23
+ import './chunk-XL5AF4U3.mjs';
24
24
  import './chunk-IB6ZM2E2.mjs';
25
25
  import './chunk-JA7WYSRE.mjs';
26
- import './chunk-KYTG7WNC.mjs';
26
+ import './chunk-S6P7UWGZ.mjs';
27
27
  import './chunk-2V5ATMMB.mjs';
28
- import './chunk-EDIAPF6J.mjs';
28
+ import './chunk-G5NEBI7N.mjs';
29
29
  import './chunk-7JBQPQ6G.mjs';
30
30
  import './chunk-A62C6PSL.mjs';
31
31
  import './chunk-5VSUIPDX.mjs';
@@ -35,6 +35,6 @@ import './chunk-IEAO7N4E.mjs';
35
35
  import './chunk-XAOEDYA5.mjs';
36
36
  import './chunk-G4VNRJUX.mjs';
37
37
  import './chunk-AEQGGKRZ.mjs';
38
- import './chunk-W2QJX2ON.mjs';
38
+ import './chunk-2P6TH4ZE.mjs';
39
39
  import './chunk-PM2SOLK3.mjs';
40
40
  import './chunk-PEDGPFLR.mjs';
@@ -1,3 +1,4 @@
1
1
  export declare const RENDER_CACHE_MAX_BYTES: number;
2
2
  /** FIFO retention limit; oversized results still render, but are not memoised. */
3
3
  export declare function setBoundedRenderCache<T>(cache: Map<string, T>, key: string, value: T, maxEntries: number): void;
4
+ //# sourceMappingURL=render-cache.d.ts.map
@@ -32,4 +32,5 @@ export declare class OfficeUiRibbonGroup extends OfficeElement {
32
32
  protected willUpdate(): void;
33
33
  protected render(): import("lit").TemplateResult<1>;
34
34
  }
35
- export declare const defineRibbonGroup: import("../index.js").Definer;
35
+ export declare const defineRibbonGroup: import("../registry.js").Definer;
36
+ //# sourceMappingURL=ribbon-group.d.ts.map
@@ -4,3 +4,4 @@ export declare function escapeSvgText(text: string): string;
4
4
  export declare function safeColor(color: string | undefined, fallback?: string): string;
5
5
  /** The shared shell every tile uses. */
6
6
  export declare function svgTile(width: number, height: number, defs: string, body: string): string;
7
+ //# sourceMappingURL=svg-preview.d.ts.map
package/dist/teams.js CHANGED
@@ -1,10 +1,10 @@
1
- export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-NH5ZSZMI.js';
1
+ export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-2YRHRV4H.js';
2
2
  export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-4ZSZPUE5.js';
3
3
  import './chunk-CDAXY5KC.js';
4
4
  import './chunk-NDUD5JJB.js';
5
5
  import './chunk-KJMAVPQB.js';
6
6
  import './chunk-N6AKS4ED.js';
7
- import './chunk-I57TCM2Q.js';
7
+ import './chunk-UEFVC6V4.js';
8
8
  import './chunk-M6GF5ED2.js';
9
9
  import './chunk-4OBMFPGF.js';
10
10
  import './chunk-Q6WZEGAM.js';
@@ -54,3 +54,4 @@ export interface ShadcnBridgeOptions {
54
54
  * (`prefix` includes the dashes, for example `'--dve-'` or `'--pptx-'`).
55
55
  */
56
56
  export declare function shadcnBridge(selector: string, prefix: string, options?: ShadcnBridgeOptions): string;
57
+ //# sourceMappingURL=theme-bridge.d.ts.map
package/dist/theme.d.ts CHANGED
@@ -15,3 +15,4 @@ export declare function installOfficeUiTheme(root?: Document | ShadowRoot | unde
15
15
  export declare function installOfficeUiThemeFor(host: HTMLElement): boolean;
16
16
  /** Marks only the library control's own root. Theme state and custom tokens stay on host scopes. */
17
17
  export declare function prepareOfficeUiBlock(host: HTMLElement, kind: OfficeUiBlockKind, product?: OfficeUiProduct): void;
18
+ //# sourceMappingURL=theme.d.ts.map
package/dist/visio.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { trackPointerPan, ownsCaptureLoss } from './chunk-GSXOZCAN.js';
2
- import { attachShareDialog, connectedServicesLabels, chartExSpaceFormatSource } from './chunk-2ZYRZANE.js';
2
+ import { attachShareDialog, connectedServicesLabels, chartExSpaceFormatSource } from './chunk-MWDG776V.js';
3
3
  import { createRecoveryScheduler } from './chunk-DA57FPSN.js';
4
- import { syncRibbonAddIns, createHostBackstagePages, syncHostMenuChildren, tidyMenuSeparators } from './chunk-M4ARYL3L.js';
5
- export { RIBBON_ADD_IN_EVENT } from './chunk-M4ARYL3L.js';
4
+ import { syncRibbonAddIns, createHostBackstagePages, syncHostMenuChildren, tidyMenuSeparators } from './chunk-ZTLP52FH.js';
5
+ export { RIBBON_ADD_IN_EVENT } from './chunk-ZTLP52FH.js';
6
6
  import { themeBridge, installOfficeUiThemeFor, prepareOfficeUiBlock } from './chunk-N6AKS4ED.js';
7
- import { personalizeSection, unavailableCategory, userInterfaceSection, attachKeyTips, registerControls, readOfficeProfile, sanitizeOfficeProfile, writeOfficeProfile, defineRibbonActions, saveProgressStepChanged, saveProgressLabel, attachRibbonGroupOverflow, defineConnectedServices, defineOpenPlaces, defineChartPicker, defineChartDataSheet, defineChartFormatPane, commentInitials } from './chunk-I57TCM2Q.js';
7
+ import { personalizeSection, unavailableCategory, userInterfaceSection, attachKeyTips, registerControls, readOfficeProfile, sanitizeOfficeProfile, writeOfficeProfile, defineRibbonActions, saveProgressStepChanged, saveProgressLabel, attachRibbonGroupOverflow, defineConnectedServices, defineOpenPlaces, defineChartPicker, defineChartDataSheet, defineChartFormatPane, commentInitials } from './chunk-UEFVC6V4.js';
8
8
  import { getIcon, registerIcon } from './chunk-M6GF5ED2.js';
9
9
  import './chunk-4OBMFPGF.js';
10
10
  import { definePresence } from './chunk-Q6WZEGAM.js';
@@ -10249,6 +10249,23 @@ function exact(locale, text2) {
10249
10249
  }
10250
10250
  return void 0;
10251
10251
  }
10252
+ var isSpace = (char) => /\s/.test(char);
10253
+ function splitSentences(text2) {
10254
+ const sentences = [];
10255
+ let start = 0;
10256
+ while (start < text2.length) {
10257
+ const first = text2.charAt(start);
10258
+ if (first === "." || isSpace(first)) return void 0;
10259
+ const stop = text2.indexOf(".", start);
10260
+ if (stop < 0) return void 0;
10261
+ let end = stop + 1;
10262
+ while (end < text2.length && isSpace(text2.charAt(end))) end++;
10263
+ if (end === stop + 1 && end < text2.length) return void 0;
10264
+ sentences.push(text2.slice(start, end));
10265
+ start = end;
10266
+ }
10267
+ return sentences;
10268
+ }
10252
10269
  function translateRibbonText(locale, text2) {
10253
10270
  if (locale === "en") return text2;
10254
10271
  const direct = exact(locale, text2);
@@ -10272,8 +10289,8 @@ function translateRibbonText(locale, text2) {
10272
10289
  const rest = translateRibbonText(locale, text2.slice(colon + 2));
10273
10290
  if (label !== void 0) return `${label}: ${rest}`;
10274
10291
  }
10275
- const sentences = text2.match(/[^.\s][^.]*\.(?:\s+|$)/g);
10276
- if (sentences && sentences.length > 1 && sentences.join("") === text2) {
10292
+ const sentences = splitSentences(text2);
10293
+ if (sentences && sentences.length > 1) {
10277
10294
  const parts = sentences.map((sentence) => exact(locale, sentence.trim()));
10278
10295
  if (parts.every((part) => part !== void 0)) return parts.join(" ");
10279
10296
  }
package/dist/xlsx.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { statusLayout, watchStatusWidth, defineChartExOptions } from './chunk-II43ALTT.js';
2
2
  import { trackPointerGesture } from './chunk-GSXOZCAN.js';
3
- import { attachShareDialog, chartExSpaceFormatSource, connectedServicesLabels } from './chunk-2ZYRZANE.js';
4
- import './chunk-JWBWLGEY.js';
3
+ import { attachShareDialog, chartExSpaceFormatSource, connectedServicesLabels } from './chunk-MWDG776V.js';
4
+ import './chunk-LPI7LT4B.js';
5
5
  import './chunk-DA57FPSN.js';
6
- import { createHostBackstagePages, syncRibbonAddIns, withHostMenuItems } from './chunk-M4ARYL3L.js';
7
- export { RIBBON_ADD_IN_EVENT } from './chunk-M4ARYL3L.js';
6
+ import { createHostBackstagePages, syncRibbonAddIns, withHostMenuItems } from './chunk-ZTLP52FH.js';
7
+ export { RIBBON_ADD_IN_EVENT } from './chunk-ZTLP52FH.js';
8
8
  import { needsPicturePixels, pictureSvg, pictureEffectFilter, SmartArtTextPaneController, defineSmartArt, defineSmartArtPicker, smartArtStylesGalleryState, smartArtColorsGalleryState, safeColor, svgTile } from './chunk-6FFZFH73.js';
9
- import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-NH5ZSZMI.js';
10
- export { XLSX_EDITOR_EVENTS } from './chunk-NH5ZSZMI.js';
9
+ import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-2YRHRV4H.js';
10
+ export { XLSX_EDITOR_EVENTS } from './chunk-2YRHRV4H.js';
11
11
  import './chunk-4ZSZPUE5.js';
12
12
  import './chunk-CDAXY5KC.js';
13
13
  import './chunk-NDUD5JJB.js';
14
14
  import './chunk-KJMAVPQB.js';
15
15
  import { legacyThemeAliases, legacyThemeBridge, installOfficeUiThemeFor } from './chunk-N6AKS4ED.js';
16
- import { range_control_default, createRibbonOverflow, defineBackstage, defineRibbon, defineRibbonActions, defineTitleBar, defineStatusBar, defineZoomSlider, defineChartFormatPane, defineChartDataSheet, confirmDialog, defineOptionsDialog, defineDialog, createDialogSession, optionsLabels, defineConnectedServices, defineOpenPlaces, runKeyTips, assignKeyTips, chartFormatTranslator, chartSpaceFormatSource, CHART_DATA_SHEET_ENGLISH, saveProgressLabel, userInterfaceSection, personalizeSection, optionText, unavailableControl, unavailableCategory, defineGallery, defineContextMenu, rangeControl, defineColorGrid, wireTabDrag, defineCommentsPane, defineChartPicker, createLiveColorInput, handleLiveColorEvent } from './chunk-I57TCM2Q.js';
16
+ import { range_control_default, createRibbonOverflow, defineBackstage, defineRibbon, defineRibbonActions, defineTitleBar, defineStatusBar, defineZoomSlider, defineChartFormatPane, defineChartDataSheet, confirmDialog, defineOptionsDialog, defineDialog, createDialogSession, optionsLabels, defineConnectedServices, defineOpenPlaces, runKeyTips, assignKeyTips, chartFormatTranslator, chartSpaceFormatSource, CHART_DATA_SHEET_ENGLISH, saveProgressLabel, userInterfaceSection, personalizeSection, optionText, unavailableControl, unavailableCategory, defineGallery, defineContextMenu, rangeControl, defineColorGrid, wireTabDrag, defineCommentsPane, defineChartPicker, createLiveColorInput, handleLiveColorEvent } from './chunk-UEFVC6V4.js';
17
17
  import { getIcon, registerIcon } from './chunk-M6GF5ED2.js';
18
18
  import './chunk-4OBMFPGF.js';
19
19
  import { definePresence } from './chunk-Q6WZEGAM.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ooxml-ui",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
5
5
  "keywords": [
6
6
  "custom-elements",
@@ -176,7 +176,7 @@
176
176
  "dompurify": "^3.4.17",
177
177
  "emf-converter": "4.25.3",
178
178
  "lit": "^3.3.3",
179
- "ooxml-core": "^1.41.0",
179
+ "ooxml-core": "^1.42.0",
180
180
  "opentype.js": "^2.0.0",
181
181
  "prosemirror-collab": "^1.3.1",
182
182
  "prosemirror-commands": "^1.7.2",