ooxml-ui 1.49.0 → 1.50.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 (143) hide show
  1. package/README.md +10 -2
  2. package/dist/building-block-styles.d.ts +1 -0
  3. package/dist/chart/format-pane-effects.d.ts +1 -0
  4. package/dist/chart/format-pane-options.d.ts.map +1 -1
  5. package/dist/chart/format-pane-space.d.ts.map +1 -1
  6. package/dist/chart/format-pane-targets.d.ts +1 -0
  7. package/dist/chart/format-pane-view.d.ts +5 -0
  8. package/dist/chart/format-pane-view.d.ts.map +1 -1
  9. package/dist/chrome/find-replace-fields.d.ts +1 -0
  10. package/dist/{chunk-ZTLP52FH.js → chunk-2JHM6UO3.js} +1 -1
  11. package/dist/{chunk-J3ROBM74.js → chunk-63ELC26U.js} +2 -2
  12. package/dist/{chunk-MUY444GW.js → chunk-BY7X2LNM.js} +1 -1
  13. package/dist/{chunk-G5CALQUW.js → chunk-IHZK4NPQ.js} +1 -1
  14. package/dist/{chunk-UEFVC6V4.js → chunk-SRYBCJC2.js} +8 -2
  15. package/dist/controls.js +1 -1
  16. package/dist/docx/building-blocks-read-aloud.d.ts +24 -0
  17. package/dist/docx/building-blocks.d.ts +5 -0
  18. package/dist/docx/editor-core.d.ts +3 -0
  19. package/dist/docx/element-api.d.ts +7 -0
  20. package/dist/docx/index.d.ts +2 -0
  21. package/dist/docx/read-aloud-session.d.ts +39 -0
  22. package/dist/docx/read-aloud.d.ts +14 -1
  23. package/dist/docx/view-options.d.ts +3 -0
  24. package/dist/docx.js +276 -158
  25. package/dist/index.js +4 -4
  26. package/dist/pptx/{chunk-WBGU7BWD.cjs → chunk-2JR2CHTG.cjs} +31 -1
  27. package/dist/pptx/{chunk-UFJBHFSD.cjs → chunk-3JGYWDMR.cjs} +5 -0
  28. package/dist/pptx/{chunk-Q6YXUH4R.cjs → chunk-3YKUOEZ5.cjs} +42 -42
  29. package/dist/pptx/{chunk-4OM7WS6M.mjs → chunk-74ESWHDZ.mjs} +1 -1
  30. package/dist/pptx/{chunk-JOQIMYHE.cjs → chunk-N7RS46HM.cjs} +2494 -555
  31. package/dist/pptx/{chunk-JJP24O2L.mjs → chunk-OWXWCDNG.mjs} +2401 -554
  32. package/dist/pptx/{chunk-PTIGQSTY.mjs → chunk-QYBBLVGY.mjs} +31 -1
  33. package/dist/pptx/{chunk-2P6TH4ZE.mjs → chunk-VOBKKF45.mjs} +5 -0
  34. package/dist/pptx/dom/index.cjs +375 -375
  35. package/dist/pptx/dom/index.mjs +7 -7
  36. package/dist/pptx/i18n/index.cjs +6 -6
  37. package/dist/pptx/i18n/index.mjs +1 -1
  38. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  39. package/dist/pptx/index.cjs +3443 -3075
  40. package/dist/pptx/index.mjs +3 -3
  41. package/dist/pptx/render/building-block-actions.d.ts +106 -0
  42. package/dist/pptx/render/building-block-actions.d.ts.map +1 -0
  43. package/dist/pptx/render/building-block-custom-shows.d.ts +74 -0
  44. package/dist/pptx/render/building-block-custom-shows.d.ts.map +1 -0
  45. package/dist/pptx/render/building-block-document-properties.d.ts +78 -0
  46. package/dist/pptx/render/building-block-document-properties.d.ts.map +1 -0
  47. package/dist/pptx/render/building-block-font-embedding.d.ts +42 -0
  48. package/dist/pptx/render/building-block-font-embedding.d.ts.map +1 -0
  49. package/dist/pptx/render/building-block-password.d.ts +71 -0
  50. package/dist/pptx/render/building-block-password.d.ts.map +1 -0
  51. package/dist/pptx/render/building-block-show-dialogs.d.ts +61 -0
  52. package/dist/pptx/render/building-block-show-dialogs.d.ts.map +1 -0
  53. package/dist/pptx/render/building-block-show-settings.d.ts +61 -0
  54. package/dist/pptx/render/building-block-show-settings.d.ts.map +1 -0
  55. package/dist/pptx/render/building-block-signatures.d.ts +68 -0
  56. package/dist/pptx/render/building-block-signatures.d.ts.map +1 -0
  57. package/dist/pptx/render/building-blocks/action-groups.d.ts +61 -0
  58. package/dist/pptx/render/building-blocks/action-groups.d.ts.map +1 -0
  59. package/dist/pptx/render/building-blocks/actions-types.d.ts +110 -0
  60. package/dist/pptx/render/building-blocks/actions-types.d.ts.map +1 -0
  61. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts +18 -0
  62. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts.map +1 -0
  63. package/dist/pptx/render/building-blocks/find-highlight-dom.d.ts +20 -0
  64. package/dist/pptx/render/building-blocks/find-highlight-dom.d.ts.map +1 -0
  65. package/dist/pptx/render/building-blocks/find-layout.d.ts +62 -0
  66. package/dist/pptx/render/building-blocks/find-layout.d.ts.map +1 -0
  67. package/dist/pptx/render/building-blocks/groups/file-dialog-groups.d.ts +45 -0
  68. package/dist/pptx/render/building-blocks/groups/file-dialog-groups.d.ts.map +1 -0
  69. package/dist/pptx/render/building-blocks/groups/index.d.ts +25 -0
  70. package/dist/pptx/render/building-blocks/groups/index.d.ts.map +1 -0
  71. package/dist/pptx/render/building-blocks/groups/show-dialog-groups.d.ts +79 -0
  72. package/dist/pptx/render/building-blocks/groups/show-dialog-groups.d.ts.map +1 -0
  73. package/dist/pptx/render/building-blocks/hyperlink-edit-data.d.ts +57 -0
  74. package/dist/pptx/render/building-blocks/hyperlink-edit-data.d.ts.map +1 -0
  75. package/dist/pptx/render/building-blocks/index.d.ts +19 -0
  76. package/dist/pptx/render/building-blocks/index.d.ts.map +1 -0
  77. package/dist/pptx/render/building-blocks/media-element-from-file.d.ts +23 -0
  78. package/dist/pptx/render/building-blocks/media-element-from-file.d.ts.map +1 -0
  79. package/dist/pptx/render/building-blocks/mode.d.ts +11 -0
  80. package/dist/pptx/render/building-blocks/mode.d.ts.map +1 -0
  81. package/dist/pptx/render/building-blocks/requests.d.ts +96 -0
  82. package/dist/pptx/render/building-blocks/requests.d.ts.map +1 -0
  83. package/dist/pptx/render/building-blocks/session.d.ts +84 -0
  84. package/dist/pptx/render/building-blocks/session.d.ts.map +1 -0
  85. package/dist/pptx/render/building-blocks/toolbar.d.ts +56 -0
  86. package/dist/pptx/render/building-blocks/toolbar.d.ts.map +1 -0
  87. package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -1
  88. package/dist/pptx/render/controller/index.d.ts +4 -0
  89. package/dist/pptx/render/controller/index.d.ts.map +1 -1
  90. package/dist/pptx/render/controller/ribbon-display-controller.d.ts +80 -0
  91. package/dist/pptx/render/controller/ribbon-display-controller.d.ts.map +1 -0
  92. package/dist/pptx/render/controller/save-revision.d.ts +83 -0
  93. package/dist/pptx/render/controller/save-revision.d.ts.map +1 -0
  94. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts +1 -1
  95. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts.map +1 -1
  96. package/dist/pptx/render/font-catalog.cjs +3 -3
  97. package/dist/pptx/render/font-catalog.d.ts +27 -3
  98. package/dist/pptx/render/font-catalog.d.ts.map +1 -1
  99. package/dist/pptx/render/font-catalog.mjs +1 -1
  100. package/dist/pptx/render/index.d.ts +12 -0
  101. package/dist/pptx/render/index.d.ts.map +1 -1
  102. package/dist/pptx/render/insert-chart.d.ts +12 -0
  103. package/dist/pptx/render/insert-chart.d.ts.map +1 -1
  104. package/dist/pptx/render/read-only-recommendation.d.ts +2 -0
  105. package/dist/pptx/render/read-only-recommendation.d.ts.map +1 -1
  106. package/dist/pptx/render/ribbon-display.d.ts +50 -0
  107. package/dist/pptx/render/ribbon-display.d.ts.map +1 -0
  108. package/dist/pptx/render/ribbon-home-state-extras.d.ts.map +1 -1
  109. package/dist/pptx/render/stage-element-ids.d.ts +9 -0
  110. package/dist/pptx/render/stage-element-ids.d.ts.map +1 -1
  111. package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
  112. package/dist/pptx/render/viewer-zoom-store.d.ts.map +1 -1
  113. package/dist/pptx/render/viewport-navigation.d.ts +93 -0
  114. package/dist/pptx/render/viewport-navigation.d.ts.map +1 -0
  115. package/dist/pptx/render/zoom-step.d.ts +9 -2
  116. package/dist/pptx/render/zoom-step.d.ts.map +1 -1
  117. package/dist/pptx/{smartart-insert-preview-I6S2OSWU.cjs → smartart-insert-preview-WPIGM6UQ.cjs} +5 -5
  118. package/dist/pptx/{smartart-insert-preview-KQJPGRDR.mjs → smartart-insert-preview-ZHDQ5QDD.mjs} +4 -4
  119. package/dist/pptx/types.d.ts +20 -0
  120. package/dist/pptx/types.d.ts.map +1 -1
  121. package/dist/ribbon/color-preview.d.ts +0 -1
  122. package/dist/teams.js +2 -2
  123. package/dist/visio/controller.d.ts +11 -0
  124. package/dist/visio/index.d.ts +1 -0
  125. package/dist/visio/text-edit-outcome.d.ts +41 -0
  126. package/dist/visio/viewer-inline-text.d.ts +7 -0
  127. package/dist/visio.js +137 -14
  128. package/dist/xlsx/building-blocks.d.ts +24 -0
  129. package/dist/xlsx/commands/test-support.d.ts +1 -0
  130. package/dist/xlsx/component.d.ts +7 -0
  131. package/dist/xlsx/context-menu/host-api.d.ts +55 -0
  132. package/dist/xlsx/context-menu/menu.d.ts +9 -0
  133. package/dist/xlsx/dialogs/find-replace.d.ts +2 -4
  134. package/dist/xlsx/editor-core.d.ts +2 -0
  135. package/dist/xlsx/host-find.d.ts +3 -0
  136. package/dist/xlsx/host-function.d.ts +3 -0
  137. package/dist/xlsx/host-open.d.ts +10 -0
  138. package/dist/xlsx/host-workflows.d.ts +9 -0
  139. package/dist/xlsx/index.d.ts +1 -0
  140. package/dist/xlsx/surface-actions.d.ts +20 -4
  141. package/dist/xlsx/surface-workflows.d.ts +132 -0
  142. package/dist/xlsx.js +543 -205
  143. package/package.json +2 -2
package/README.md CHANGED
@@ -43,6 +43,14 @@ translation and focus-restoration policies. Dispose owned font scopes and sessio
43
43
  when the host unmounts. Font selection and script segmentation are DOM-free APIs
44
44
  in `ooxml-core/text`.
45
45
 
46
+ PowerPoint hosts can import `buildFontCatalog` from the DOM-free
47
+ `ooxml-ui/pptx/render/font-catalog` runtime entry. Set `includeWeightVariants: true`
48
+ to add `entry.variants` with supported `{ family, weight }` faces, for example
49
+ `DM Sans Medium` at 500; the 400 face keeps the plain family name. Omit the option
50
+ for the existing output. Embedded/custom and unknown families do not inherit Google
51
+ Fonts weights. All five PowerPoint dropdowns use the shared variant rows.
52
+ See [font loading](../../docs/font-loading.md#font-picker-weights) for the input/output table.
53
+
46
54
  ## How the elements are built
47
55
 
48
56
  `office-ui-smartart` accepts `schemeFonts` (`major` and `minor` Latin typefaces)
@@ -124,7 +132,7 @@ button.addEventListener('office-command', (event) => console.log(event.detail));
124
132
  document.body.append(button);
125
133
  ```
126
134
 
127
- ## API: entries (ESM only)
135
+ ## API: entries (ESM, plus CJS for PowerPoint)
128
136
 
129
137
  The shared `office-ui-gallery` also supports `mode="panel"` for modal pickers.
130
138
  It displays labelled preview tiles directly, keeps focus when a pick refreshes the
@@ -152,7 +160,7 @@ uses it for Text Warp and Quick Styles, whose picks apply at once.
152
160
  | `ooxml-ui/visio` | the Visio editor and viewer elements (`<visio-viewer>`) |
153
161
  | `ooxml-ui/pptx` | the PowerPoint renderer, editor and web components; also `/pptx/theme`, `/loader`, `/i18n`, `/ai`, `/dom` |
154
162
 
155
- Every entry declares an `import` and a `default` export condition, so CommonJS consumers on Node 20.19+ or 22.12+ load it through `require(esm)`.
163
+ Most entries declare an `import` and a `default` export condition, so CommonJS consumers on Node 20.19+ or 22.12+ load them through `require(esm)`; the `ooxml-ui/pptx` entries also declare a `require` condition for the CJS build.
156
164
 
157
165
  `installOfficeUiTheme()` installs one theme stylesheet in the document by default. Pass a
158
166
  `ShadowRoot` to install scoped mode and control rules inside an embedding app's shadow tree.
@@ -2,3 +2,4 @@ export type OfficeUiBlockKind = 'toolbar' | 'formula-bar' | 'tabs' | 'inspector'
2
2
  export type OfficeUiProduct = 'docx' | 'xlsx' | 'visio' | 'pptx';
3
3
  /** Opt-in styles for native framework controls. They never target host-owned controls implicitly. */
4
4
  export declare const BUILDING_BLOCKS_CSS: string;
5
+ //# sourceMappingURL=building-block-styles.d.ts.map
@@ -22,3 +22,4 @@ export declare function glowSection(prefix: string, glow: Effects['glow']): Char
22
22
  /** The Effects tab's sections. */
23
23
  export declare function effectsSections(view: ChartFormatElementView): ChartFormatSection[];
24
24
  export {};
25
+ //# sourceMappingURL=format-pane-effects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format-pane-options.d.ts","sourceRoot":"","sources":["../../src/chart/format-pane-options.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAK1D,OAAO,KAAK,EAAoB,kBAAkB,EAAmB,MAAM,qBAAqB,CAAC;AACjG,OAAO,KAAK,EAKX,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AA+M5B,KAAK,aAAa,GAAG,IAAI,CACxB,iBAAiB,EACjB,eAAe,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,CAClE,CAAC;AAEF,8FAA8F;AAC9F,wBAAgB,eAAe,CAC9B,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,iBAAiB,GACvB,kBAAkB,EAAE,GAAG,SAAS,CAqBlC"}
1
+ {"version":3,"file":"format-pane-options.d.ts","sourceRoot":"","sources":["../../src/chart/format-pane-options.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAK1D,OAAO,KAAK,EAAoB,kBAAkB,EAAmB,MAAM,qBAAqB,CAAC;AACjG,OAAO,KAAK,EAKX,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAkN5B,KAAK,aAAa,GAAG,IAAI,CACxB,iBAAiB,EACjB,eAAe,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,CAClE,CAAC;AAEF,8FAA8F;AAC9F,wBAAgB,eAAe,CAC9B,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,iBAAiB,GACvB,kBAAkB,EAAE,GAAG,SAAS,CAqBlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"format-pane-space.d.ts","sourceRoot":"","sources":["../../src/chart/format-pane-space.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAgC,UAAU,EAAoB,MAAM,kBAAkB,CAAC;AAcnG,OAAO,KAAK,EAEX,iBAAiB,EAGjB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAOX,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,6BAA6B;IAC7C,4DAA4D;IAC5D,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAyHD,yCAAyC;AACzC,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,6BAAkC,GACzC,iBAAiB,CAuHnB"}
1
+ {"version":3,"file":"format-pane-space.d.ts","sourceRoot":"","sources":["../../src/chart/format-pane-space.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAgC,UAAU,EAAoB,MAAM,kBAAkB,CAAC;AAenG,OAAO,KAAK,EAEX,iBAAiB,EAGjB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAOX,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,6BAA6B;IAC7C,4DAA4D;IAC5D,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAyHD,yCAAyC;AACzC,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,6BAAkC,GACzC,iBAAiB,CA+HnB"}
@@ -22,3 +22,4 @@ export declare function chartFormatPaneTitle(target: ChartFormatTarget): ChartFo
22
22
  export declare function chartFormatTargetOptions(targets: readonly ChartFormatTarget[], describe: ChartFormatDescribe): ChartFormatTargetOption[];
23
23
  /** The chart area entry, what a stale or missing key falls back to. */
24
24
  export declare const CHART_AREA_TARGET: ChartFormatTargetOption;
25
+ //# sourceMappingURL=format-pane-targets.d.ts.map
@@ -199,6 +199,11 @@ export interface ChartFormatLabelsView {
199
199
  showPercent?: boolean;
200
200
  showLegendKey?: boolean;
201
201
  position?: string;
202
+ /**
203
+ * The `c:dLblPos` values the edited labels accept (`chartLabelPositions`): the pane offers only
204
+ * these, since the core refuses any other. Unset, the chart family's list is offered.
205
+ */
206
+ positions?: readonly string[];
202
207
  }
203
208
  /** How an axis reads in a caption ("Secondary Vertical (Value) Axis"). */
204
209
  export interface ChartFormatAxisInfo {
@@ -1 +1 @@
1
- {"version":3,"file":"format-pane-view.d.ts","sourceRoot":"","sources":["../../src/chart/format-pane-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,KAAK,EACX,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,MAAM,qBAAqB,CAAC;AAE7B,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,yDAAyD;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,mBAAmB,GAC5B,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,SAAS,GACT,WAAW,CAAC;AAEf,MAAM,WAAW,mB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IACnC,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACnB;AAED,qDAAqD;AACrD,MAAM,WAAW,iBAAiB;IACjC,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACrD,6DAA6D;IAC7D,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAAC;IAC3D,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,sBAAsB,CAAC;IAC3D,aAAa,CAAC,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B,GAAG,SAAS,CAAC;IAC9E,WAAW,CAAC,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAAC;IACjE,aAAa,CAAC,IAAI,qBAAqB,GAAG,SAAS,CAAC;IACpD,YAAY,CAAC,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,qBAAqB,GAAG,SAAS,CAAC;IAClF,+CAA+C;IAC/C,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACvD,sFAAsF;IACtF,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3D,uGAAuG;IACvG,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,oDAAoD;IACpD,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,+DAA+D;IAC/D,QAAQ,CAAC,MAAM,CAAC,EAAE,eAAe,CAAC;CAClC"}
@@ -18,3 +18,4 @@ export interface FindReplaceFields {
18
18
  }
19
19
  /** Optional product-neutral Replace controls; matching, scopes and transactions belong to core. */
20
20
  export declare function findReplaceFields(state: FindReplaceFields): import("lit").TemplateResult<1>;
21
+ //# sourceMappingURL=find-replace-fields.d.ts.map
@@ -1,4 +1,4 @@
1
- import { defineRibbonGroup, defineRibbonStack, defineButton, defineMenuItem, defineMenuButton } from './chunk-UEFVC6V4.js';
1
+ import { defineRibbonGroup, defineRibbonStack, defineButton, defineMenuItem, defineMenuButton } from './chunk-SRYBCJC2.js';
2
2
  import { acceptedRibbonAddIns, findRibbonAddInCommand, RIBBON_ADD_IN_EVENT } from 'ooxml-core/ribbon';
3
3
  export { RIBBON_ADD_IN_EVENT } from 'ooxml-core/ribbon';
4
4
  import { sameRenderer, sameRegionContext, hostBackstagePageId, acceptedHostBackstagePages, placeHostBackstagePages, hostBackstageItemId, withHostMenuCommands, isHostMenuEntry, resolveHostMenuCommands, withoutHiddenEntries, hostBackstageRegionId } from 'ooxml-core/embedding';
@@ -1,7 +1,7 @@
1
1
  import { defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane } from './chunk-6FFZFH73.js';
2
- import { TEAMS_TAGS, registerTeams } from './chunk-MUY444GW.js';
2
+ import { TEAMS_TAGS, registerTeams } from './chunk-BY7X2LNM.js';
3
3
  import { installOfficeUiTheme } from './chunk-N6AKS4ED.js';
4
- import { registerControls } from './chunk-UEFVC6V4.js';
4
+ import { registerControls } from './chunk-SRYBCJC2.js';
5
5
  import { definePresence } from './chunk-Q6WZEGAM.js';
6
6
 
7
7
  // src/index.ts
@@ -2,7 +2,7 @@ import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } fr
2
2
  import { listenEvents, bindElement, syncClassName } from './chunk-CDAXY5KC.js';
3
3
  import { eventArgs, pickProps } from './chunk-NDUD5JJB.js';
4
4
  import { THEME_CSS, installOfficeUiTheme } from './chunk-N6AKS4ED.js';
5
- import { defineMenuButton, defineMenuItem, registerControls, confirmDialog, defineSwitch, promptDialog } from './chunk-UEFVC6V4.js';
5
+ import { defineMenuButton, defineMenuItem, registerControls, confirmDialog, defineSwitch, promptDialog } from './chunk-SRYBCJC2.js';
6
6
  import { registerIcon, getIcon } from './chunk-M6GF5ED2.js';
7
7
  import { initialsOf, definePresence } from './chunk-Q6WZEGAM.js';
8
8
  import { definer, OfficeElement, controlStyles } from './chunk-FE5KE5TR.js';
@@ -1,4 +1,4 @@
1
- import { defineShareDialog, chartSpaceFormatSource, shareDialogLabels } from './chunk-UEFVC6V4.js';
1
+ import { defineShareDialog, chartSpaceFormatSource, shareDialogLabels } from './chunk-SRYBCJC2.js';
2
2
  import { GOOGLE_FONTS_CSS2_BASE, resolveGoogleFontsCss2Base, collectRunFamilies, collectWebfontFaces, selectGoogleWebfontFamilies, buildGoogleFontsHref, matchGoogleWebfontFragments } from 'ooxml-core/text';
3
3
  import { readDeclaredFonts } from 'ooxml-core/opc';
4
4
  import { chartExStyleSpace } from 'ooxml-core/chart';
@@ -10,7 +10,7 @@ import { repeat } from 'lit/directives/repeat.js';
10
10
  import { normalizeLocale } from 'ooxml-core/i18n';
11
11
  import { unsafeStatic, html as html$1 } from 'lit/static-html.js';
12
12
  import { live } from 'lit/directives/live.js';
13
- import { applyChartDataSheetEdits, chartDataSheetCellEdit, chartDataSheetPasteEdits, chartSeriesEntries, chartGroupPaintsLine, chartTargetShape, chartSeriesSecondaryAxisSupported, chartTargetHasText, chartFormatTargetKey, chartDrawingColorFromHex, chartSeriesOnSecondaryAxis, chartSeriesMarkersSupported, chartSeriesAnalysisSupported, resolveChartGradient, chartTargetEffects, chartTargetTextFormatting, CHART_MARKER_SYMBOLS, chartPointsToEmu, chartEffectEditsFromAppearance, chartThreeDFromAppearance, chartDrawingGradientFrom, chartTargetThreeD } from 'ooxml-core/chart';
13
+ import { applyChartDataSheetEdits, chartDataSheetCellEdit, chartDataSheetPasteEdits, chartSeriesEntries, chartLabelPositions, chartGroupPaintsLine, chartTargetShape, chartSeriesSecondaryAxisSupported, chartTargetHasText, chartFormatTargetKey, chartDrawingColorFromHex, chartSeriesOnSecondaryAxis, chartSeriesMarkersSupported, chartSeriesAnalysisSupported, resolveChartGradient, chartTargetEffects, chartTargetTextFormatting, CHART_MARKER_SYMBOLS, chartPointsToEmu, chartEffectEditsFromAppearance, chartThreeDFromAppearance, chartDrawingGradientFrom, chartTargetThreeD } from 'ooxml-core/chart';
14
14
  import { resolveDrawingColor } from 'ooxml-core/drawingml';
15
15
  import { keyed } from 'lit/directives/keyed.js';
16
16
  import { OFFICE_STANDARD_COLORS, normalizePaletteHex, buildThemePalette, hslToRgb, toHex, hexToRgbChannels, rgbToHsl } from 'ooxml-core/color';
@@ -3837,7 +3837,10 @@ function labelOptions(labels) {
3837
3837
  fields.push(check("labels.showPercent", "labelPercentage", "Percentage", labels.showPercent));
3838
3838
  }
3839
3839
  fields.push(check("labels.showLegendKey", "labelLegendKey", "Legend key", labels.showLegendKey));
3840
- const positions = labelPositions(type);
3840
+ const accepted = labels.positions;
3841
+ const positions = labelPositions(type).filter(
3842
+ ([value]) => accepted === void 0 || accepted.includes(value)
3843
+ );
3841
3844
  if (positions.length > 0) {
3842
3845
  fields.push({
3843
3846
  id: "labels.position",
@@ -4423,6 +4426,9 @@ function chartSpaceFormatSource(space, options = {}) {
4423
4426
  set("showPercent", pick("showPercent"));
4424
4427
  set("showLegendKey", pick("showLegendKey"));
4425
4428
  set("position", pick("position"));
4429
+ const edited = entry ? [entry.group] : space.plotArea.groups.filter((item) => item.kind !== "surface");
4430
+ if (edited.length > 0)
4431
+ view.positions = edited.map((item) => chartLabelPositions(item.element, item.grouping)).reduce((all, own2) => all.filter((value) => own2.includes(value)));
4426
4432
  return view;
4427
4433
  };
4428
4434
  return {
package/dist/controls.js CHANGED
@@ -1,4 +1,4 @@
1
- export { CONTROL_DEFINERS, CUSTOM_FONT_ACCEPT, CUSTOM_FONT_EXTENSIONS, DEFAULT_CLOUD_FILES_LABELS, DEFAULT_COMMENTS_LABELS, DEFAULT_CONNECTED_SERVICES_LABELS, DEFAULT_OFFICE_PROFILE, DEFAULT_OPEN_PLACES_LABELS, DEVICE_PLACE, EMPTY_MENU_STATE, OFFICE_AVATAR_SWATCHES, OFFICE_COLOR_SWATCHES, OFFICE_COLOR_SWATCH_HEXES, OFFICE_PROFILE_STORAGE_KEY, OFFICE_SYMBOLS, OFFICE_TITLE_BAR_SEARCH_LIMIT, OFFICE_TOAST_VISIBLE_LIMIT, OfficeUiChartFormatPane, OfficeUiCloudFiles, OfficeUiConnectedServices, OfficeUiMessageDialog, OfficeUiOpenPlaces, OfficeUiShareDialog, SAVE_PROGRESS_TEXT, SHARE_DIALOG_LABELS, SHARE_DIALOG_LOCALES, alertDialog, assignKeyTips, attachKeyTips, attachRibbonGroupOverflow, buildChartFormatModel, buildFontCatalog, chartFormatFieldIntent, chartFormatLocale, chartFormatPaneTitle, chartFormatSourceTabs, chartFormatTargetLabel, chartFormatTargetOptions, chartFormatTranslator, chartSpaceFormatSource, clampFlyoutPosition, clampOptionNumber, clearOfficeProfile, commentInitials, confirmDialog, createDialogSession, createFontFaceScope, createLiveColorInput, createRibbonOverflow, defaultPaneGradient, defineAccount, defineBackstage, defineButton, defineChartDataSheet, defineChartFormatPane, defineChartPicker, defineCheckbox, defineCloudFiles, defineColorCustom, defineColorGrid, defineCommandSearch, defineCommentsPane, defineConnectedServices, defineContextMenu, defineDialog, defineDialogFooter, defineFindBar, defineGallery, defineIcon, defineMenuButton, defineMenuItem, defineMenuSeparator, defineMessageDialog, defineOpenPlaces, defineOptionsDialog, definePasteOptions, definePrintPreview, defineProgressDialog, defineRadio, defineReadOnlyBanner, defineRibbon, defineRibbonActions, defineRibbonGroup, defineRibbonSection, defineRibbonStack, defineRibbonToggle, defineRuler, defineSearchField, defineSelect, defineShareDialog, defineStatusBar, defineStatusItem, defineSwitch, defineSymbolPicker, defineTabStrip, defineTaskPane, defineTitleBar, defineToasts, defineToolbar, defineZoomSlider, deriveCustomFontDescriptor, drawingColorFromHex, drawingGradientFrom, fitRibbonGroups, formatCommentTime, handleLiveColorEvent, hexForInput, isFontFamilyAvailable, liveColorRevertPatch, nextEnabledIndex, optionText, optionsLabels, parseOfficeSymbolCode, personalizeSection, profileInitials, promptDialog, readOfficeProfile, recordLiveColorLeaves, registerControls, registerCustomFont, resolveChartFormatSourceTarget, rulerDivisions, runKeyTips, sanitizeOfficeProfile, saveProgressLabel, saveProgressStepChanged, scanAvailableFontFamilies, shareDialogLabels, translateChartFormatText, typeAheadIndex, unavailableCategory, unavailableControl, userInterfaceSection, writeOfficeProfile } from './chunk-UEFVC6V4.js';
1
+ export { CONTROL_DEFINERS, CUSTOM_FONT_ACCEPT, CUSTOM_FONT_EXTENSIONS, DEFAULT_CLOUD_FILES_LABELS, DEFAULT_COMMENTS_LABELS, DEFAULT_CONNECTED_SERVICES_LABELS, DEFAULT_OFFICE_PROFILE, DEFAULT_OPEN_PLACES_LABELS, DEVICE_PLACE, EMPTY_MENU_STATE, OFFICE_AVATAR_SWATCHES, OFFICE_COLOR_SWATCHES, OFFICE_COLOR_SWATCH_HEXES, OFFICE_PROFILE_STORAGE_KEY, OFFICE_SYMBOLS, OFFICE_TITLE_BAR_SEARCH_LIMIT, OFFICE_TOAST_VISIBLE_LIMIT, OfficeUiChartFormatPane, OfficeUiCloudFiles, OfficeUiConnectedServices, OfficeUiMessageDialog, OfficeUiOpenPlaces, OfficeUiShareDialog, SAVE_PROGRESS_TEXT, SHARE_DIALOG_LABELS, SHARE_DIALOG_LOCALES, alertDialog, assignKeyTips, attachKeyTips, attachRibbonGroupOverflow, buildChartFormatModel, buildFontCatalog, chartFormatFieldIntent, chartFormatLocale, chartFormatPaneTitle, chartFormatSourceTabs, chartFormatTargetLabel, chartFormatTargetOptions, chartFormatTranslator, chartSpaceFormatSource, clampFlyoutPosition, clampOptionNumber, clearOfficeProfile, commentInitials, confirmDialog, createDialogSession, createFontFaceScope, createLiveColorInput, createRibbonOverflow, defaultPaneGradient, defineAccount, defineBackstage, defineButton, defineChartDataSheet, defineChartFormatPane, defineChartPicker, defineCheckbox, defineCloudFiles, defineColorCustom, defineColorGrid, defineCommandSearch, defineCommentsPane, defineConnectedServices, defineContextMenu, defineDialog, defineDialogFooter, defineFindBar, defineGallery, defineIcon, defineMenuButton, defineMenuItem, defineMenuSeparator, defineMessageDialog, defineOpenPlaces, defineOptionsDialog, definePasteOptions, definePrintPreview, defineProgressDialog, defineRadio, defineReadOnlyBanner, defineRibbon, defineRibbonActions, defineRibbonGroup, defineRibbonSection, defineRibbonStack, defineRibbonToggle, defineRuler, defineSearchField, defineSelect, defineShareDialog, defineStatusBar, defineStatusItem, defineSwitch, defineSymbolPicker, defineTabStrip, defineTaskPane, defineTitleBar, defineToasts, defineToolbar, defineZoomSlider, deriveCustomFontDescriptor, drawingColorFromHex, drawingGradientFrom, fitRibbonGroups, formatCommentTime, handleLiveColorEvent, hexForInput, isFontFamilyAvailable, liveColorRevertPatch, nextEnabledIndex, optionText, optionsLabels, parseOfficeSymbolCode, personalizeSection, profileInitials, promptDialog, readOfficeProfile, recordLiveColorLeaves, registerControls, registerCustomFont, resolveChartFormatSourceTarget, rulerDivisions, runKeyTips, sanitizeOfficeProfile, saveProgressLabel, saveProgressStepChanged, scanAvailableFontFamilies, shareDialogLabels, translateChartFormatText, typeAheadIndex, unavailableCategory, unavailableControl, userInterfaceSection, writeOfficeProfile } from './chunk-SRYBCJC2.js';
2
2
  import './chunk-M6GF5ED2.js';
3
3
  export { CHART_FORMAT_LOCALES, CHART_FORMAT_STRINGS, prefixChartFormatStrings } from './chunk-4OBMFPGF.js';
4
4
  import './chunk-Q6WZEGAM.js';
@@ -0,0 +1,24 @@
1
+ import type { EditorCore } from './editor-core.js';
2
+ import type { ReadAloudIssue, ReadAloudStart } from './read-aloud.js';
3
+ export type { ReadAloudIssue, ReadAloudStart };
4
+ /**
5
+ * State and commands for a host's own Read Aloud control. It reads the selection, or the caret to
6
+ * the end of the document, with the editor's own implementation, and works in a read-only
7
+ * document (it never edits or dirties). Callbacks read the live editor and never move focus or
8
+ * the selection.
9
+ */
10
+ export declare function wordReadAloudProps(core: EditorCore): {
11
+ /** A document is on screen and the browser can speak. */
12
+ canReadAloud: boolean;
13
+ /** This editor is reading now. Another editor reading leaves it false. */
14
+ readingAloud: boolean;
15
+ /**
16
+ * Why Read Aloud is not or no longer playing: `unsupported` (no speech synthesis),
17
+ * `empty` (nothing to read) or `error` (the voice failed). Null otherwise. The host words it.
18
+ */
19
+ readAloudIssue: ReadAloudIssue | null;
20
+ /** Starts reading, taking the voice over from another editor. Says why nothing started. */
21
+ onReadAloud: () => ReadAloudStart;
22
+ /** Stops this editor's playback. Returns whether it was playing. */
23
+ onStopReadAloud: () => boolean;
24
+ };
@@ -17,6 +17,11 @@ export declare function wordToolbarProps(core: EditorCore): {
17
17
  openHyperlinkDialog: () => boolean;
18
18
  openFindReplace: () => boolean;
19
19
  openImagePicker: () => boolean;
20
+ canReadAloud: boolean;
21
+ readingAloud: boolean;
22
+ readAloudIssue: import("./read-aloud.js").ReadAloudIssue | null;
23
+ onReadAloud: () => import("./read-aloud.js").ReadAloudStart;
24
+ onStopReadAloud: () => boolean;
20
25
  labels: {
21
26
  [k: string]: string;
22
27
  };
@@ -28,6 +28,7 @@ import type { PageNavigator } from './page-navigator.js';
28
28
  import type { HeadingNavigator } from './heading-navigator.js';
29
29
  import type { DocxChartFormatPane } from './chart-format-pane.js';
30
30
  import { ViewOptions } from './view-options.js';
31
+ import { ReadAloudSession } from './read-aloud-session.js';
31
32
  import { DocxWebfonts } from './docx-webfonts.js';
32
33
  export type LoadedDocument = Awaited<ReturnType<typeof loadDocument>>;
33
34
  /** DOM pieces created by the shell once the element connects. */
@@ -124,6 +125,8 @@ export declare class EditorCore {
124
125
  readonly parts: PartsController;
125
126
  readonly pages: PageController;
126
127
  readonly viewOptions: ViewOptions;
128
+ /** This editor's Read Aloud playback; the browser's one voice is shared with other editors. */
129
+ readonly readAloud: ReadAloudSession;
127
130
  /** The `googleFonts` option and this editor's webfont `<link>`. */
128
131
  readonly webfonts: DocxWebfonts;
129
132
  readonly dirtyState: DirtyState;
@@ -10,6 +10,7 @@ import { type WordToolbarProps } from './building-blocks.js';
10
10
  import { type WordNavigationProps, type WordStatusProps } from './building-blocks-status.js';
11
11
  import type { SurfaceHostActions } from './building-blocks-actions.js';
12
12
  import type { GoogleFontsOption } from 'ooxml-core/text';
13
+ import type { ReadAloudOptions } from './read-aloud-session.js';
13
14
  declare const HTMLElementBase: typeof HTMLElement;
14
15
  /**
15
16
  * Save, collaboration, dirty-tracking and UI-customisation surface of `<docx-editor>`.
@@ -81,6 +82,12 @@ export declare abstract class DocxEditorApi extends HTMLElementBase {
81
82
  /** Shows the left rail of page thumbnails. Needs Print Layout; reflected to `show-thumbnails`. */
82
83
  get showThumbnails(): boolean;
83
84
  set showThumbnails(value: boolean);
85
+ /**
86
+ * Read Aloud options. `stopOnEdit` (default false) also stops playback when the document is
87
+ * edited; replacing or reloading the document and unmounting always stop it.
88
+ */
89
+ get readAloud(): ReadAloudOptions | null;
90
+ set readAloud(value: ReadAloudOptions | null | undefined);
84
91
  /**
85
92
  * Tabs a host adds after Word's own, as an Office add-in does. Each command runs its `run`
86
93
  * callback and dispatches `office-ribbon-add-in` (`{ tab, command }`) from the editor.
@@ -1,6 +1,7 @@
1
1
  export { DocxEditorElement, registerDocxEditor } from './component.js';
2
2
  export type { WordAlignment, WordListChoice, WordListState, WordToolbarProps, } from './building-blocks.js';
3
3
  export type { WordNavigationProps, WordStatusProps } from './building-blocks-status.js';
4
+ export type { ReadAloudIssue, ReadAloudStart } from './building-blocks-read-aloud.js';
4
5
  export type { FindReplaceRequest, HyperlinkRequest, ImagePickerRequest, SurfaceHostActions, } from './building-blocks-actions.js';
5
6
  export { DOCX_EDITOR_EVENTS } from './events.js';
6
7
  export type { RibbonAction } from './ribbon.js';
@@ -27,6 +28,7 @@ export type { RevisionRange } from './review-commands.js';
27
28
  export { lightTheme, darkTheme, themeToCssVars } from 'ooxml-core/docx/ui';
28
29
  export type { EditorTheme, EditorThemeMode } from 'ooxml-core/docx/ui';
29
30
  export { RIBBON_ADD_IN_EVENT, type OfficeRibbonAddInEvent, type RibbonAddInCommand, type RibbonAddInCommandDetail, type RibbonAddInGroup, type RibbonAddInTab, } from '../ribbon/add-in-tabs.js';
31
+ export type { ReadAloudOptions } from './read-aloud-session.js';
30
32
  export type { WordBackstagePage, WordCustomization, WordMenuCommand, WordMenuContext, WordRegionContext, WordRegionRenderer, } from './customization.js';
31
33
  export { WORD_CAPABILITY_IDS } from 'ooxml-core/docx/ui';
32
34
  export type { WordCapabilities, WordCapabilityId } from 'ooxml-core/docx/ui';
@@ -0,0 +1,39 @@
1
+ import type { EditorCore } from './editor-core.js';
2
+ import { type ReadAloudIssue, type ReadAloudStart } from './read-aloud.js';
3
+ /**
4
+ * Host options for Read Aloud. Playback always stops when the document is replaced or reloaded and
5
+ * when the editor unmounts; this only decides what an ordinary edit does.
6
+ */
7
+ export interface ReadAloudOptions {
8
+ /**
9
+ * Stop playback when the document is edited, locally or by a collaborator. Default false:
10
+ * Microsoft's public Word documentation does not say that editing stops Read Aloud, so playback
11
+ * carries on with the text it started with.
12
+ */
13
+ stopOnEdit?: boolean | undefined;
14
+ }
15
+ /**
16
+ * One editor's Read Aloud: the playback it owns, and the last problem it ran into. The browser has
17
+ * a single voice, so starting here takes it over from another editor, and this session lets go of
18
+ * it when its document changes or the editor leaves the page.
19
+ */
20
+ export declare class ReadAloudSession {
21
+ private readonly core;
22
+ private lastIssue;
23
+ constructor(core: EditorCore);
24
+ get playing(): boolean;
25
+ /** The last problem, or `unsupported` while the browser has no speech synthesis. */
26
+ get issue(): ReadAloudIssue | null;
27
+ /** True when a request can play now: speech exists and a document is on screen. */
28
+ get available(): boolean;
29
+ /** Reads the selection, or the caret to the end, restarting if it is already reading. */
30
+ start(): ReadAloudStart;
31
+ /** Stops this editor's playback and clears its problem. Returns whether it was playing. */
32
+ stop(): boolean;
33
+ /** The document was edited: stops only when the host chose `readAloud.stopOnEdit`. */
34
+ documentEdited(): void;
35
+ /** Starts, or stops when already playing. Returns whether it is playing now. */
36
+ toggle(): boolean;
37
+ private report;
38
+ private changed;
39
+ }
@@ -3,7 +3,20 @@ import type { EditorView } from 'prosemirror-view';
3
3
  export declare function readAloudAvailable(): boolean;
4
4
  /** What Word's Read Aloud reads: the selection, or everything from the caret to the end. */
5
5
  export declare function textToRead(view: EditorView): string;
6
- export declare function isReadingAloud(): boolean;
6
+ /** Why a Read Aloud request did not play, or that the voice failed while playing. */
7
+ export type ReadAloudIssue = 'unsupported' | 'empty' | 'error';
8
+ /** The result of a start request. */
9
+ export type ReadAloudStart = 'started' | ReadAloudIssue;
10
+ /** Whether `owner` (or, without one, anybody) is reading right now. */
11
+ export declare function isReadingAloud(owner?: object): boolean;
12
+ /** Stops the playback `owner` started, if it is the one playing. Returns whether it stopped one. */
13
+ export declare function stopReadAloud(owner?: object): boolean;
14
+ /**
15
+ * Reads `text` for `owner`. Starting while another owner is reading takes the voice over: that
16
+ * owner is told it stopped. Returns why nothing started (`unsupported`, `empty`, `error`) or
17
+ * `started`. `onChange` fires when playback starts and ends; `onError` when the voice fails.
18
+ */
19
+ export declare function startReadAloud(owner: object, text: string, onChange: (speaking: boolean) => void, onError?: (issue: ReadAloudIssue) => void): ReadAloudStart;
7
20
  /**
8
21
  * Starts reading `text` with the browser's voice, or stops when it is already reading. Returns
9
22
  * whether speech is now playing. `onChange` fires when it ends by itself.
@@ -1,10 +1,13 @@
1
1
  import type { EditorCore } from './editor-core.js';
2
+ import type { ReadAloudOptions } from './read-aloud-session.js';
2
3
  import type { RibbonActionId } from 'ooxml-core/docx/ui';
3
4
  import { type ResolvedWordCustomization, type WordCustomization } from './customization.js';
4
5
  /** Host-controlled UI customisation; each value maps to one element property and attribute. */
5
6
  export declare class ViewOptions {
6
7
  showThumbnails: boolean;
7
8
  showToolbar: boolean;
9
+ /** The host's Read Aloud options (`readAloud`); none keeps the defaults. */
10
+ readAloud: ReadAloudOptions | null;
8
11
  hiddenActions: readonly RibbonActionId[];
9
12
  /** The host's `customization` object, as given. */
10
13
  customizationInput: WordCustomization | null;