ooxml-ui 1.52.1 → 1.54.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 (306) hide show
  1. package/custom-elements.json +9 -1
  2. package/dist/building-block-styles.d.ts +1 -0
  3. package/dist/chart/chartex-options-locales.d.ts +6 -6
  4. package/dist/chart/chartex-options-more.d.ts +17 -0
  5. package/dist/chart/chartex-options.d.ts +1 -0
  6. package/dist/chart/data-sheet-labels.d.ts +1 -0
  7. package/dist/chart/data-sheet.d.ts +2 -1
  8. package/dist/chart/format-pane-3d.d.ts +1 -0
  9. package/dist/chart/format-pane-advanced-intent.d.ts +1 -0
  10. package/dist/chart/format-pane-advanced-space.d.ts +5 -2
  11. package/dist/chart/format-pane-advanced-space.d.ts.map +1 -1
  12. package/dist/chart/format-pane-analysis.d.ts +1 -0
  13. package/dist/chart/format-pane-analysis.d.ts.map +1 -1
  14. package/dist/chart/format-pane-axis.d.ts +1 -0
  15. package/dist/chart/format-pane-common.d.ts +1 -0
  16. package/dist/chart/format-pane-effects.d.ts +1 -0
  17. package/dist/chart/format-pane-fill-kinds.d.ts +6 -0
  18. package/dist/chart/format-pane-fill-kinds.d.ts.map +1 -1
  19. package/dist/chart/format-pane-intent.d.ts +3 -2
  20. package/dist/chart/format-pane-intent.d.ts.map +1 -1
  21. package/dist/chart/format-pane-locales/de.d.ts +1 -0
  22. package/dist/chart/format-pane-locales/de.d.ts.map +1 -1
  23. package/dist/chart/format-pane-locales/en.d.ts.map +1 -1
  24. package/dist/chart/format-pane-locales/es.d.ts +1 -0
  25. package/dist/chart/format-pane-locales/es.d.ts.map +1 -1
  26. package/dist/chart/format-pane-locales/fr.d.ts +1 -0
  27. package/dist/chart/format-pane-locales/fr.d.ts.map +1 -1
  28. package/dist/chart/format-pane-locales/index.d.ts +1 -0
  29. package/dist/chart/format-pane-locales/ja.d.ts +1 -0
  30. package/dist/chart/format-pane-locales/ja.d.ts.map +1 -1
  31. package/dist/chart/format-pane-locales/ko.d.ts +1 -0
  32. package/dist/chart/format-pane-locales/ko.d.ts.map +1 -1
  33. package/dist/chart/format-pane-locales/zh-CN.d.ts +1 -0
  34. package/dist/chart/format-pane-locales/zh-CN.d.ts.map +1 -1
  35. package/dist/chart/format-pane-options.d.ts +1 -0
  36. package/dist/chart/format-pane-space.d.ts +16 -3
  37. package/dist/chart/format-pane-space.d.ts.map +1 -1
  38. package/dist/chart/format-pane-targets.d.ts +1 -0
  39. package/dist/chart/format-pane-trendlines.d.ts +17 -0
  40. package/dist/chart/format-pane-trendlines.d.ts.map +1 -0
  41. package/dist/chart/format-pane-types.d.ts +1 -0
  42. package/dist/chart/format-pane-view.d.ts +10 -1
  43. package/dist/chart/format-pane-view.d.ts.map +1 -1
  44. package/dist/chart/format-pane.d.ts +7 -0
  45. package/dist/chart/format-pane.d.ts.map +1 -1
  46. package/dist/chart/gallery-tiles.d.ts +1 -0
  47. package/dist/chart-format-locales.js +1 -1
  48. package/dist/chrome/account-profile.d.ts +1 -0
  49. package/dist/chrome/account.d.ts +2 -1
  50. package/dist/chrome/find-bar.d.ts +2 -1
  51. package/dist/chrome/format-section.d.ts +2 -1
  52. package/dist/chrome/print-preview.d.ts +2 -1
  53. package/dist/chrome/status-bar.d.ts +2 -1
  54. package/dist/chrome/status-item.d.ts +2 -1
  55. package/dist/chrome/tab-drag.d.ts +1 -0
  56. package/dist/chrome/task-pane.d.ts +2 -1
  57. package/dist/chrome/title-bar-types.d.ts +1 -0
  58. package/dist/{chunk-2N6QBIKM.js → chunk-3BNPWXCC.js} +1 -1
  59. package/dist/{chunk-HUR5JAG7.js → chunk-4JFADIZ6.js} +359 -17
  60. package/dist/{chunk-QGRJJUH7.js → chunk-54MF25DU.js} +1 -1
  61. package/dist/{chunk-FP45SLBV.js → chunk-6SAT2GKV.js} +1 -1
  62. package/dist/{chunk-3TF5IIIJ.js → chunk-7F5IZHKM.js} +388 -255
  63. package/dist/{chunk-QDU4GLWK.js → chunk-HTB63MJO.js} +361 -60
  64. package/dist/{chunk-GSO4HLIY.js → chunk-O3ER66QG.js} +49 -7
  65. package/dist/{chunk-ELVHRXWE.js → chunk-UEUP3EMQ.js} +3 -3
  66. package/dist/comments/types.d.ts +1 -0
  67. package/dist/controls.d.ts +1 -0
  68. package/dist/controls.js +2 -2
  69. package/dist/dialog/chart-picker.d.ts +2 -1
  70. package/dist/dialog/dialog-footer.d.ts +2 -1
  71. package/dist/dialog/dialog-session.d.ts +1 -0
  72. package/dist/dialog/dialog.d.ts +2 -1
  73. package/dist/dialog/focus.d.ts +1 -0
  74. package/dist/dialog/message-dialog.d.ts +2 -1
  75. package/dist/dialog/message-dialogs.d.ts +1 -0
  76. package/dist/dialog/options-categories.d.ts +1 -0
  77. package/dist/dialog/options-controls.d.ts +1 -0
  78. package/dist/dialog/options-dialog.d.ts +2 -1
  79. package/dist/dialog/share-dialog-locales.d.ts +1 -0
  80. package/dist/dialog/share-dialog.d.ts +2 -1
  81. package/dist/docx/chart-commands.d.ts +5 -1
  82. package/dist/docx/locales/charts.d.ts +9 -0
  83. package/dist/docx/locales/en.d.ts +77 -14
  84. package/dist/docx/locales/smartart.d.ts +68 -14
  85. package/dist/docx/localization-strings.d.ts +77 -14
  86. package/dist/docx/smartart-node-view.d.ts +2 -1
  87. package/dist/docx.js +124 -58
  88. package/dist/embedding/region-host.d.ts +1 -0
  89. package/dist/export/pdf-font-faces.d.ts +1 -0
  90. package/dist/export/pdf-svg-gradient.d.ts +1 -0
  91. package/dist/export/pdf-svg-text.d.ts +1 -0
  92. package/dist/export/pdf-text-layer-font.d.ts +1 -0
  93. package/dist/files/cloud-files-view.d.ts +1 -0
  94. package/dist/files/cloud-files.d.ts +2 -1
  95. package/dist/files/open-places.d.ts +2 -1
  96. package/dist/files/save-progress-label.d.ts +1 -0
  97. package/dist/fonts/availability.d.ts +1 -0
  98. package/dist/fonts/catalog.d.ts +1 -0
  99. package/dist/fonts/custom-fonts.d.ts +1 -0
  100. package/dist/fonts/webfonts.d.ts +1 -0
  101. package/dist/form/checkbox.d.ts +2 -1
  102. package/dist/form/color-custom.d.ts +2 -1
  103. package/dist/form/color-grid.d.ts +2 -1
  104. package/dist/form/color-input/live-color-input.d.ts +1 -0
  105. package/dist/form/color-input/live-color-leaves.d.ts +1 -0
  106. package/dist/form/color-swatches.d.ts +1 -0
  107. package/dist/form/radio.d.ts +2 -1
  108. package/dist/form/range-control.d.ts +1 -0
  109. package/dist/form/search-field.d.ts +2 -1
  110. package/dist/form/select.d.ts +2 -1
  111. package/dist/form/symbol-picker.d.ts +2 -1
  112. package/dist/form/zoom-slider.d.ts +2 -1
  113. package/dist/glyph.d.ts +1 -0
  114. package/dist/icon.d.ts +1 -0
  115. package/dist/icons.d.ts +1 -0
  116. package/dist/index.js +6 -6
  117. package/dist/keytips.d.ts +1 -0
  118. package/dist/look.d.ts +1 -0
  119. package/dist/menu/command-search.d.ts +2 -1
  120. package/dist/menu/context-menu.d.ts +2 -1
  121. package/dist/menu/menu-item.d.ts +2 -1
  122. package/dist/menu/menu-separator.d.ts +2 -1
  123. package/dist/notices/paste-options.d.ts +2 -1
  124. package/dist/notices/read-only-banner.d.ts +2 -1
  125. package/dist/picture-artistic-filters.d.ts +1 -0
  126. package/dist/picture-artistic-preview.d.ts +1 -0
  127. package/dist/picture-effects.d.ts +1 -0
  128. package/dist/picture-pixels.d.ts +1 -0
  129. package/dist/picture-standard-filter.d.ts +1 -0
  130. package/dist/pptx/{chart-3d-view-scene-RCWYLVC3.cjs → chart-3d-view-scene-B3SNZWRD.cjs} +37 -37
  131. package/dist/pptx/{chart-3d-view-scene-7LIMCTEM.mjs → chart-3d-view-scene-ENYOU7XV.mjs} +2 -2
  132. package/dist/pptx/{chunk-JVCSVLFU.cjs → chunk-3GS5BKST.cjs} +76 -7
  133. package/dist/pptx/{chunk-SWJV6FQN.cjs → chunk-5BQM5YYS.cjs} +9574 -6384
  134. package/dist/pptx/{chunk-3DJZBAQ2.mjs → chunk-6FDEQ46Q.mjs} +1 -1
  135. package/dist/pptx/{chunk-EEELXUAE.mjs → chunk-7EVC4DK7.mjs} +2 -2
  136. package/dist/pptx/{chunk-OFXOF5ZX.mjs → chunk-DNXARUCD.mjs} +18119 -15025
  137. package/dist/pptx/{chunk-4K4DO7RJ.mjs → chunk-FYNZ6QSV.mjs} +76 -7
  138. package/dist/pptx/{chunk-FQGG3DGL.mjs → chunk-J4PPKLNF.mjs} +3 -3
  139. package/dist/pptx/{chunk-HTFYAGHG.cjs → chunk-K2SGPTSG.cjs} +43 -0
  140. package/dist/pptx/{chunk-LOUVYGWX.cjs → chunk-KESYQS6D.cjs} +12 -12
  141. package/dist/pptx/{chunk-XOAXPD2W.cjs → chunk-MCRNV5DK.cjs} +5 -187
  142. package/dist/pptx/{chunk-OATLMHQL.cjs → chunk-QMGOPAN5.cjs} +49 -49
  143. package/dist/pptx/{chunk-RQJOOXRG.mjs → chunk-T3GW4SKO.mjs} +6 -186
  144. package/dist/pptx/{chunk-AN34Z3QP.cjs → chunk-WPM2ADMY.cjs} +2 -2
  145. package/dist/pptx/{chunk-XL5AF4U3.mjs → chunk-YFS2TFET.mjs} +40 -1
  146. package/dist/pptx/dom/index.cjs +441 -441
  147. package/dist/pptx/dom/index.mjs +11 -11
  148. package/dist/pptx/export/html2canvas-clone.cjs +6 -6
  149. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  150. package/dist/pptx/i18n/index.cjs +6 -6
  151. package/dist/pptx/i18n/index.mjs +1 -1
  152. package/dist/pptx/i18n/translations-en-galleries-data.d.ts.map +1 -1
  153. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  154. package/dist/pptx/index.cjs +4092 -3692
  155. package/dist/pptx/index.mjs +6 -6
  156. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts +5 -11
  157. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts.map +1 -1
  158. package/dist/pptx/render/chart-combo-stock.cjs +3 -3
  159. package/dist/pptx/render/chart-combo-stock.mjs +1 -1
  160. package/dist/pptx/render/chart-format/chart-format-pane-edit-extra.d.ts +1 -5
  161. package/dist/pptx/render/chart-format/chart-format-pane-edit-extra.d.ts.map +1 -1
  162. package/dist/pptx/render/chart-format/chart-format-pane-edit.d.ts.map +1 -1
  163. package/dist/pptx/render/chart-format/chart-format-source.d.ts +3 -0
  164. package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -1
  165. package/dist/pptx/render/chart-overlays.cjs +7 -7
  166. package/dist/pptx/render/chart-overlays.mjs +1 -1
  167. package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
  168. package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
  169. package/dist/pptx/render/chart-view-model.cjs +44 -44
  170. package/dist/pptx/render/chart-view-model.mjs +1 -1
  171. package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
  172. package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
  173. package/dist/pptx/render/controller/comments-panel-controller.d.ts +78 -0
  174. package/dist/pptx/render/controller/comments-panel-controller.d.ts.map +1 -0
  175. package/dist/pptx/render/controller/find-replace-controller.d.ts +27 -0
  176. package/dist/pptx/render/controller/find-replace-controller.d.ts.map +1 -0
  177. package/dist/pptx/render/controller/index.d.ts +16 -0
  178. package/dist/pptx/render/controller/index.d.ts.map +1 -1
  179. package/dist/pptx/render/controller/presentation-ink-controller.d.ts +121 -0
  180. package/dist/pptx/render/controller/presentation-ink-controller.d.ts.map +1 -0
  181. package/dist/pptx/render/controller/presentation-rehearsal-controller.d.ts +71 -0
  182. package/dist/pptx/render/controller/presentation-rehearsal-controller.d.ts.map +1 -0
  183. package/dist/pptx/render/controller/presenter-session-controller.d.ts +85 -0
  184. package/dist/pptx/render/controller/presenter-session-controller.d.ts.map +1 -0
  185. package/dist/pptx/render/controller/selection-pane-controller.d.ts +82 -0
  186. package/dist/pptx/render/controller/selection-pane-controller.d.ts.map +1 -0
  187. package/dist/pptx/render/controller/slide-rail-controller.d.ts +67 -0
  188. package/dist/pptx/render/controller/slide-rail-controller.d.ts.map +1 -0
  189. package/dist/pptx/render/controller/slide-sorter-controller.d.ts +149 -0
  190. package/dist/pptx/render/controller/slide-sorter-controller.d.ts.map +1 -0
  191. package/dist/pptx/render/drawing-color.d.ts +10 -3
  192. package/dist/pptx/render/drawing-color.d.ts.map +1 -1
  193. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts +1 -1
  194. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts.map +1 -1
  195. package/dist/pptx/render/fill-style.d.ts.map +1 -1
  196. package/dist/pptx/render/index.d.ts +4 -0
  197. package/dist/pptx/render/index.d.ts.map +1 -1
  198. package/dist/pptx/render/inspector/action-settings-fields.d.ts +58 -0
  199. package/dist/pptx/render/inspector/action-settings-fields.d.ts.map +1 -0
  200. package/dist/pptx/render/inspector/element-alt-text-fields.d.ts +23 -0
  201. package/dist/pptx/render/inspector/element-alt-text-fields.d.ts.map +1 -0
  202. package/dist/pptx/render/inspector/index.d.ts +31 -0
  203. package/dist/pptx/render/inspector/index.d.ts.map +1 -1
  204. package/dist/pptx/render/inspector/inspector-field-model.d.ts +31 -3
  205. package/dist/pptx/render/inspector/inspector-field-model.d.ts.map +1 -1
  206. package/dist/pptx/render/inspector/inspector-option-label.d.ts +11 -0
  207. package/dist/pptx/render/inspector/inspector-option-label.d.ts.map +1 -0
  208. package/dist/pptx/render/inspector/media-playback-fields.d.ts +24 -0
  209. package/dist/pptx/render/inspector/media-playback-fields.d.ts.map +1 -0
  210. package/dist/pptx/render/inspector/media-trim-fields.d.ts +29 -0
  211. package/dist/pptx/render/inspector/media-trim-fields.d.ts.map +1 -0
  212. package/dist/pptx/render/inspector/ole-fields.d.ts +33 -0
  213. package/dist/pptx/render/inspector/ole-fields.d.ts.map +1 -0
  214. package/dist/pptx/render/inspector/paragraph-fields.d.ts +27 -0
  215. package/dist/pptx/render/inspector/paragraph-fields.d.ts.map +1 -0
  216. package/dist/pptx/render/inspector/picture-artistic-fields.d.ts +16 -0
  217. package/dist/pptx/render/inspector/picture-artistic-fields.d.ts.map +1 -0
  218. package/dist/pptx/render/inspector/picture-effect-fields.d.ts +45 -0
  219. package/dist/pptx/render/inspector/picture-effect-fields.d.ts.map +1 -0
  220. package/dist/pptx/render/inspector/picture-fields.d.ts +38 -0
  221. package/dist/pptx/render/inspector/picture-fields.d.ts.map +1 -0
  222. package/dist/pptx/render/inspector/shape-fill-actions.d.ts +109 -0
  223. package/dist/pptx/render/inspector/shape-fill-actions.d.ts.map +1 -0
  224. package/dist/pptx/render/inspector/shape-fill-fields.d.ts +54 -0
  225. package/dist/pptx/render/inspector/shape-fill-fields.d.ts.map +1 -0
  226. package/dist/pptx/render/inspector/shape-fill-stops.d.ts +21 -0
  227. package/dist/pptx/render/inspector/shape-fill-stops.d.ts.map +1 -0
  228. package/dist/pptx/render/inspector/slide-background-fields.d.ts +22 -0
  229. package/dist/pptx/render/inspector/slide-background-fields.d.ts.map +1 -0
  230. package/dist/pptx/render/inspector/table-cell-fields.d.ts +26 -0
  231. package/dist/pptx/render/inspector/table-cell-fields.d.ts.map +1 -0
  232. package/dist/pptx/render/inspector/table-option-fields.d.ts +23 -0
  233. package/dist/pptx/render/inspector/table-option-fields.d.ts.map +1 -0
  234. package/dist/pptx/render/outline-view-session.d.ts +67 -0
  235. package/dist/pptx/render/outline-view-session.d.ts.map +1 -0
  236. package/dist/pptx/render/present-controls-state.d.ts +6 -0
  237. package/dist/pptx/render/present-controls-state.d.ts.map +1 -1
  238. package/dist/pptx/render/ribbon-galleries/smartart-colors-gallery.d.ts.map +1 -1
  239. package/dist/pptx/render/ribbon-galleries/smartart-gallery-patch.d.ts.map +1 -1
  240. package/dist/pptx/render/ribbon-galleries/smartart-native-entries.d.ts +37 -0
  241. package/dist/pptx/render/ribbon-galleries/smartart-native-entries.d.ts.map +1 -0
  242. package/dist/pptx/render/ribbon-galleries/smartart-style-3d-preview.d.ts +4 -0
  243. package/dist/pptx/render/ribbon-galleries/smartart-style-3d-preview.d.ts.map +1 -0
  244. package/dist/pptx/render/ribbon-galleries/smartart-styles-gallery.d.ts +0 -11
  245. package/dist/pptx/render/ribbon-galleries/smartart-styles-gallery.d.ts.map +1 -1
  246. package/dist/pptx/render/ribbon-tab-row.d.ts +61 -0
  247. package/dist/pptx/render/ribbon-tab-row.d.ts.map +1 -0
  248. package/dist/pptx/render/slide-background-fill.d.ts +49 -0
  249. package/dist/pptx/render/slide-background-fill.d.ts.map +1 -0
  250. package/dist/pptx/render/slide-background.d.ts +3 -2
  251. package/dist/pptx/render/slide-background.d.ts.map +1 -1
  252. package/dist/pptx/render/smartart-3d-scene-camera.d.ts +13 -43
  253. package/dist/pptx/render/smartart-3d-scene-camera.d.ts.map +1 -1
  254. package/dist/pptx/render/visual-3d-camera-presets.d.ts +3 -33
  255. package/dist/pptx/render/visual-3d-camera-presets.d.ts.map +1 -1
  256. package/dist/pptx/render/zoom-to-selection.d.ts +41 -0
  257. package/dist/pptx/render/zoom-to-selection.d.ts.map +1 -0
  258. package/dist/pptx/{smartart-insert-preview-DF6KSG3D.mjs → smartart-insert-preview-D2WJBY2M.mjs} +7 -7
  259. package/dist/pptx/{smartart-insert-preview-BYPU325G.cjs → smartart-insert-preview-WI2O6X6C.cjs} +8 -8
  260. package/dist/pptx/{view-scene-GHBN7QMR.mjs → view-scene-DZCPZTE4.mjs} +1 -1
  261. package/dist/pptx/{view-scene-4ZFUCP6S.cjs → view-scene-HMOCSMJM.cjs} +8 -8
  262. package/dist/pptx/web-components/index.d.ts +2 -0
  263. package/dist/pptx/web-components/index.d.ts.map +1 -1
  264. package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
  265. package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
  266. package/dist/pptx/web-components/ribbon-tabs-styles.d.ts +8 -0
  267. package/dist/pptx/web-components/ribbon-tabs-styles.d.ts.map +1 -0
  268. package/dist/pptx/web-components/ribbon-tabs.d.ts +25 -0
  269. package/dist/pptx/web-components/ribbon-tabs.d.ts.map +1 -0
  270. package/dist/presence/presence.d.ts +2 -1
  271. package/dist/presence.d.ts +1 -0
  272. package/dist/recovery-scheduler.d.ts +1 -0
  273. package/dist/render-cache.d.ts +1 -0
  274. package/dist/ribbon/auto-collapse.d.ts +1 -0
  275. package/dist/ribbon/button.d.ts +2 -1
  276. package/dist/ribbon/color-preview.d.ts +1 -0
  277. package/dist/ribbon/gallery-styles.d.ts +1 -0
  278. package/dist/ribbon/gallery.d.ts +2 -1
  279. package/dist/ribbon/group-overflow.d.ts +1 -0
  280. package/dist/ribbon/keytip-run.d.ts +1 -0
  281. package/dist/ribbon/overflow.d.ts +1 -0
  282. package/dist/ribbon/ribbon-group.d.ts +2 -1
  283. package/dist/ribbon/ribbon-stack.d.ts +2 -1
  284. package/dist/ribbon/ribbon-tabs.d.ts +23 -0
  285. package/dist/ribbon/ribbon-tabs.d.ts.map +1 -1
  286. package/dist/ribbon/ribbon-toggle.d.ts +2 -1
  287. package/dist/ribbon/safe-svg.d.ts +1 -0
  288. package/dist/ribbon/scroll-more.d.ts +1 -0
  289. package/dist/ribbon/svg-preview.d.ts +1 -0
  290. package/dist/smartart/definition-tiles.d.ts +21 -0
  291. package/dist/smartart/definition-tiles.d.ts.map +1 -0
  292. package/dist/smartart/galleries.d.ts +12 -9
  293. package/dist/smartart/smartart-3d.d.ts +39 -0
  294. package/dist/smartart/smartart-picker.d.ts +2 -1
  295. package/dist/smartart/smartart-svg.d.ts +8 -1
  296. package/dist/smartart/smartart-text-pane-tools.d.ts +1 -0
  297. package/dist/smartart/smartart-text-pane.d.ts +2 -1
  298. package/dist/smartart.d.ts +1 -0
  299. package/dist/smartart.js +1 -1
  300. package/dist/styles.d.ts +1 -0
  301. package/dist/teams.js +3 -3
  302. package/dist/theme.d.ts +1 -0
  303. package/dist/visio.js +12 -7
  304. package/dist/xlsx/chart-format-source.d.ts +6 -3
  305. package/dist/xlsx.js +109 -36
  306. package/package.json +9 -9
@@ -1,5 +1,5 @@
1
1
  import { createIconSvg, paintIcon, getIcon } from './chunk-M6GF5ED2.js';
2
- import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES } from './chunk-GSO4HLIY.js';
2
+ import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES } from './chunk-O3ER66QG.js';
3
3
  import { initialsOf } from './chunk-FQN4XNEF.js';
4
4
  import { parseSvgPreview } from './chunk-FN7IF6M6.js';
5
5
  import { OfficeElement, controlStyles, definer, valueOn, flag, present, emit, triState, withTokens } from './chunk-4W4QZF4C.js';
@@ -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, 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';
13
+ import { applyChartDataSheetEdits, chartDataSheetCellEdit, chartDataSheetPasteEdits, chartSeriesEntries, chartLabelPositions, chartGroupPaintsLine, chartTargetShape, chartSeriesSecondaryAxisSupported, chartTargetHasText, chartFormatTargetKey, chartDrawingColorFromHex, chartSeriesOnSecondaryAxis, chartSeriesMarkersSupported, chartSeriesAnalysisSupported, chartSpaceRangeNumbers, resolveChartGradient, chartTargetEffects, chartTargetTextFormatting, CHART_MARKER_SYMBOLS, chartErrorBarSourceFromText, chartPointsToEmu, chartEffectEditsFromAppearance, chartThreeDFromAppearance, chartDrawingGradientFrom, chartTargetThreeD, chartErrorBarSourceText } 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';
@@ -2286,16 +2286,16 @@ function control(field, ctx, label) {
2286
2286
  @change=${commit}
2287
2287
  ></${tag}>`;
2288
2288
  }
2289
- const number3 = field.kind === "number" ? field : void 0;
2289
+ const number2 = field.kind === "number" ? field : void 0;
2290
2290
  return html`<input
2291
- type=${field.kind === "color" ? "color" : number3 ? "number" : "text"}
2291
+ type=${field.kind === "color" ? "color" : number2 ? "number" : "text"}
2292
2292
  aria-label=${label}
2293
2293
  data-value=${String(field.value)}
2294
- min=${number3?.min ?? nothing}
2295
- max=${number3?.max ?? nothing}
2296
- step=${number3 ? number3.step ?? "any" : nothing}
2297
- placeholder=${number3?.auto ? ctx.autoLabel : nothing}
2298
- inputmode=${number3 ? "decimal" : nothing}
2294
+ min=${number2?.min ?? nothing}
2295
+ max=${number2?.max ?? nothing}
2296
+ step=${number2 ? number2.step ?? "any" : nothing}
2297
+ placeholder=${number2?.auto ? ctx.autoLabel : nothing}
2298
+ inputmode=${number2 ? "decimal" : nothing}
2299
2299
  ?disabled=${disabled}
2300
2300
  @change=${commit}
2301
2301
  />`;
@@ -2566,7 +2566,9 @@ function effectsSections(view) {
2566
2566
  ...view.support.threeD && view.threeD ? [threeDSection(view.threeD)] : []
2567
2567
  ];
2568
2568
  }
2569
- var TYPES = [
2569
+
2570
+ // src/chart/format-pane-trendlines.ts
2571
+ var CHART_TRENDLINE_TYPES = [
2570
2572
  ["linear", "Linear"],
2571
2573
  ["exp", "Exponential"],
2572
2574
  ["log", "Logarithmic"],
@@ -2574,111 +2576,128 @@ var TYPES = [
2574
2576
  ["power", "Power"],
2575
2577
  ["movingAvg", "Moving average"]
2576
2578
  ];
2577
- var ERRORS = [
2578
- ["fixedVal", "Fixed value"],
2579
- ["percentage", "Percentage"],
2580
- ["stdDev", "Standard deviation"],
2581
- ["stdErr", "Standard error"]
2582
- ];
2583
- var number = (id, key, fallback, value, min, max, auto2 = false) => ({
2584
- id,
2585
- kind: "number",
2586
- label: t(key, fallback),
2587
- value,
2588
- min,
2589
- max,
2590
- step: 1,
2591
- ...auto2 ? { auto: true } : {}
2592
- });
2593
- function chartAnalysisSections(series) {
2594
- const sections = [];
2595
- if (series.marker)
2596
- sections.push({
2597
- id: "markers",
2598
- title: t("section.markers", "Markers"),
2599
- fields: [
2600
- {
2601
- id: "marker.symbol",
2602
- kind: "select",
2603
- label: t("marker.symbol", "Marker"),
2604
- value: series.marker.symbol ?? "auto",
2605
- choices: CHART_MARKER_SYMBOLS.map((symbol) => choice(symbol, `marker.${symbol}`, symbol))
2606
- },
2607
- number("marker.size", "marker.size", "Marker size", series.marker.size ?? 5, 2, 72)
2608
- ]
2609
- });
2610
- const analysis = series.analysis;
2611
- if (!analysis) return sections;
2612
- const trend = analysis.trendline;
2613
- const error = analysis.errorBars;
2579
+ var typeChoices = () => CHART_TRENDLINE_TYPES.map(([value, label]) => choice(value, `trendline.${value}`, label));
2580
+ var chartFormatNumberField = (id, key, fallback, value, min, max) => ({ id, kind: "number", label: t(key, fallback), value, min, max, step: 1 });
2581
+ function trendlineFields(prefix, trend) {
2614
2582
  const fields = [
2615
2583
  {
2616
- id: "trendline.type",
2584
+ id: `${prefix}type`,
2617
2585
  kind: "select",
2618
2586
  label: t("trendline.type", "Trendline"),
2619
2587
  value: trend?.trendlineType ?? "none",
2620
- disabled: analysis.multipleTrendlines,
2621
- choices: [
2622
- choice("none", "marker.none", "None"),
2623
- ...TYPES.map(([value, label]) => choice(value, `trendline.${value}`, label))
2624
- ]
2588
+ choices: [choice("none", "marker.none", "None"), ...typeChoices()]
2625
2589
  }
2626
2590
  ];
2627
- if (trend && !analysis.multipleTrendlines) {
2628
- if (trend.trendlineType === "poly")
2629
- fields.push(
2630
- number("trendline.order", "trendline.order", "Polynomial order", trend.order ?? 2, 2, 6)
2631
- );
2632
- if (trend.trendlineType === "movingAvg")
2633
- fields.push(
2634
- number("trendline.period", "trendline.period", "Period", trend.period ?? 2, 2, 1e5)
2635
- );
2591
+ if (!trend) return fields;
2592
+ const number2 = (key, fallback, value, min, max) => chartFormatNumberField(`${prefix}${key}`, `trendline.${key}`, fallback, value, min, max);
2593
+ if (trend.trendlineType === "poly")
2594
+ fields.push(number2("order", "Polynomial order", trend.order ?? 2, 2, 6));
2595
+ if (trend.trendlineType === "movingAvg")
2596
+ fields.push(number2("period", "Period", trend.period ?? 2, 2, 1e5));
2597
+ fields.push(
2598
+ number2("forward", "Forecast forward", trend.forward ?? 0, 0, 1e5),
2599
+ number2("backward", "Forecast backward", trend.backward ?? 0, 0, 1e5)
2600
+ );
2601
+ if (trend.trendlineType !== "movingAvg")
2636
2602
  fields.push(
2637
- number(
2638
- "trendline.forward",
2639
- "trendline.forward",
2640
- "Forecast forward",
2641
- trend.forward ?? 0,
2642
- 0,
2643
- 1e5
2644
- ),
2645
- number(
2646
- "trendline.backward",
2647
- "trendline.backward",
2648
- "Forecast backward",
2649
- trend.backward ?? 0,
2650
- 0,
2651
- 1e5
2652
- )
2603
+ {
2604
+ id: `${prefix}equation`,
2605
+ kind: "checkbox",
2606
+ label: t("trendline.equation", "Display equation"),
2607
+ value: trend.displayEquation ?? false
2608
+ },
2609
+ {
2610
+ id: `${prefix}rSquared`,
2611
+ kind: "checkbox",
2612
+ label: t("trendline.rSquared", "Display R-squared"),
2613
+ value: trend.displayRSquared ?? false
2614
+ }
2653
2615
  );
2654
- if (trend.trendlineType !== "movingAvg")
2655
- fields.push(
2656
- {
2657
- id: "trendline.equation",
2658
- kind: "checkbox",
2659
- label: t("trendline.equation", "Display equation"),
2660
- value: trend.displayEquation ?? false
2661
- },
2662
- {
2663
- id: "trendline.rSquared",
2664
- kind: "checkbox",
2665
- label: t("trendline.rSquared", "Display R-squared"),
2666
- value: trend.displayRSquared ?? false
2667
- }
2668
- );
2669
- }
2670
- sections.push({
2671
- id: "trendlines",
2672
- title: t("section.trendlines", "Trendlines"),
2673
- fields,
2674
- ...analysis.multipleTrendlines ? {
2675
- note: t(
2676
- "analysis.multipleTrendlines",
2677
- "This series has multiple trendlines. Their settings are preserved."
2678
- )
2679
- } : {}
2616
+ return fields;
2617
+ }
2618
+ function chartTrendlineSections(trends) {
2619
+ const sections = [
2620
+ {
2621
+ id: "trendlines",
2622
+ title: t("section.trendlines", "Trendlines"),
2623
+ fields: trendlineFields("trendline.", trends[0])
2624
+ }
2625
+ ];
2626
+ trends.slice(1).forEach(
2627
+ (trend, i) => sections.push({
2628
+ id: `trendline-${i + 1}`,
2629
+ title: {
2630
+ key: "chartFormat.section.trendlineN",
2631
+ fallback: "Trendline {{n}}",
2632
+ params: { n: i + 2 }
2633
+ },
2634
+ fields: trendlineFields(`trendline.${i + 1}.`, trend)
2635
+ })
2636
+ );
2637
+ if (trends.length > 0)
2638
+ sections[sections.length - 1].fields.push({
2639
+ id: "trendline.add",
2640
+ kind: "select",
2641
+ label: t("trendline.add", "Add trendline"),
2642
+ value: "none",
2643
+ choices: [choice("none", "marker.none", "None"), ...typeChoices()]
2644
+ });
2645
+ return sections;
2646
+ }
2647
+ function chartTrendlineFieldIntent(trends, seriesIndex, field, value) {
2648
+ const text2 = String(value);
2649
+ const isType = CHART_TRENDLINE_TYPES.some(([type]) => type === text2);
2650
+ if (field === "trendline.add")
2651
+ return isType ? {
2652
+ op: "trendline",
2653
+ seriesIndex,
2654
+ index: trends.length,
2655
+ edit: { type: text2 }
2656
+ } : null;
2657
+ const match = /^trendline\.(?:(\d+)\.)?(\w+)$/u.exec(field);
2658
+ if (!match) return null;
2659
+ const index = match[1] === void 0 ? 0 : Number(match[1]);
2660
+ const key = match[2];
2661
+ const wrap = (edit) => ({
2662
+ op: "trendline",
2663
+ seriesIndex,
2664
+ index,
2665
+ edit
2680
2666
  });
2681
- const errorFields = [
2667
+ const trend = trends[index];
2668
+ if (key === "type") {
2669
+ if (text2 === "none") return trend ? wrap(null) : null;
2670
+ return isType && (trend || index === trends.length) ? wrap({ type: text2 }) : null;
2671
+ }
2672
+ if (!trend) return null;
2673
+ if (key === "equation") return wrap({ displayEquation: Boolean(value) });
2674
+ if (key === "rSquared") return wrap({ displayRSquared: Boolean(value) });
2675
+ const n = value === "" || typeof value === "boolean" ? NaN : Number(value);
2676
+ if (!["order", "period", "forward", "backward"].includes(key) || !Number.isFinite(n) || n < 0)
2677
+ return null;
2678
+ return wrap({ [key]: n });
2679
+ }
2680
+
2681
+ // src/chart/format-pane-analysis.ts
2682
+ var ERRORS = [
2683
+ ["fixedVal", "Fixed value"],
2684
+ ["percentage", "Percentage"],
2685
+ ["stdDev", "Standard deviation"],
2686
+ ["stdErr", "Standard error"],
2687
+ ["cust", "Custom source"]
2688
+ ];
2689
+ var sourceField = (side, error) => ({
2690
+ id: `errorBars.${side}Values`,
2691
+ kind: "text",
2692
+ label: t(
2693
+ `errorBars.${side}Values`,
2694
+ side === "plus" ? "Positive error value" : "Negative error value"
2695
+ ),
2696
+ value: chartErrorBarSourceText(error[side])
2697
+ });
2698
+ function errorBarSection(analysis) {
2699
+ const error = analysis.errorBars;
2700
+ const fields = [
2682
2701
  {
2683
2702
  id: "errorBars.type",
2684
2703
  kind: "select",
@@ -2687,13 +2706,14 @@ function chartAnalysisSections(series) {
2687
2706
  disabled: analysis.multipleErrorBars,
2688
2707
  choices: [
2689
2708
  choice("none", "marker.none", "None"),
2690
- ...ERRORS.map(([value, label]) => choice(value, `errorBars.${value}`, label)),
2691
- ...error?.valueType === "cust" ? [choice("cust", "errorBars.custom", "Custom source")] : []
2709
+ ...ERRORS.map(
2710
+ ([value, label]) => choice(value, value === "cust" ? "errorBars.custom" : `errorBars.${value}`, label)
2711
+ )
2692
2712
  ]
2693
2713
  }
2694
2714
  ];
2695
2715
  if (error && !analysis.multipleErrorBars) {
2696
- errorFields.push(
2716
+ fields.push(
2697
2717
  {
2698
2718
  id: "errorBars.side",
2699
2719
  kind: "select",
@@ -2712,24 +2732,55 @@ function chartAnalysisSections(series) {
2712
2732
  value: !error.noEndCap
2713
2733
  }
2714
2734
  );
2715
- if (error.valueType !== "cust" && error.valueType !== "stdErr")
2716
- errorFields.push(
2717
- number("errorBars.value", "errorBars.value", "Error value", error.value ?? 1, 0, 1e5)
2735
+ if (error.valueType === "cust") {
2736
+ if (error.barType !== "minus") fields.push(sourceField("plus", error));
2737
+ if (error.barType !== "plus") fields.push(sourceField("minus", error));
2738
+ } else if (error.valueType !== "stdErr")
2739
+ fields.push(
2740
+ chartFormatNumberField("errorBars.value", "errorBars.value", "Error value", error.value ?? 1, 0, 1e5)
2718
2741
  );
2719
2742
  }
2720
- sections.push({
2743
+ const note = analysis.multipleErrorBars ? t(
2744
+ "analysis.multipleErrorBars",
2745
+ "Ambiguous error bars are preserved and cannot be edited here."
2746
+ ) : error?.valueType === "cust" ? !analysis.resolveRange ? t("errorBars.customValuesHint", "Enter values such as 1, 2, 3.") : analysis.workbookRanges ? t(
2747
+ "errorBars.customHint",
2748
+ "Enter values such as 1, 2, 3 or a range such as Sheet1!$C$2:$C$4."
2749
+ ) : t(
2750
+ "errorBars.customCachedHint",
2751
+ "Enter values such as 1, 2, 3, or a range of cells this chart already plots."
2752
+ ) : void 0;
2753
+ return {
2721
2754
  id: "errorBars",
2722
2755
  title: t("section.errorBars", "Error bars"),
2723
- fields: errorFields,
2724
- ...analysis.multipleErrorBars ? {
2725
- note: t(
2726
- "analysis.multipleErrorBars",
2727
- "Ambiguous error bars are preserved and cannot be edited here."
2728
- )
2729
- } : {}
2730
- });
2756
+ fields,
2757
+ ...note ? { note } : {}
2758
+ };
2759
+ }
2760
+ function chartAnalysisSections(series) {
2761
+ const sections = [];
2762
+ if (series.marker)
2763
+ sections.push({
2764
+ id: "markers",
2765
+ title: t("section.markers", "Markers"),
2766
+ fields: [
2767
+ {
2768
+ id: "marker.symbol",
2769
+ kind: "select",
2770
+ label: t("marker.symbol", "Marker"),
2771
+ value: series.marker.symbol ?? "auto",
2772
+ choices: CHART_MARKER_SYMBOLS.map((symbol) => choice(symbol, `marker.${symbol}`, symbol))
2773
+ },
2774
+ chartFormatNumberField("marker.size", "marker.size", "Marker size", series.marker.size ?? 5, 2, 72)
2775
+ ]
2776
+ });
2777
+ const analysis = series.analysis;
2778
+ if (!analysis) return sections;
2779
+ if (analysis.trendlines) sections.push(...chartTrendlineSections(analysis.trendlines));
2780
+ sections.push(errorBarSection(analysis));
2731
2781
  return sections;
2732
2782
  }
2783
+ var ones = (count) => chartErrorBarSourceFromText("1", { pointCount: count });
2733
2784
  function chartAnalysisFieldIntent(series, target, field, value) {
2734
2785
  if (!/^(marker|trendline|errorBars)\./u.test(field)) return void 0;
2735
2786
  if (!series || target.kind !== "series") return null;
@@ -2744,19 +2795,8 @@ function chartAnalysisFieldIntent(series, target, field, value) {
2744
2795
  }
2745
2796
  const analysis = series.analysis;
2746
2797
  if (!analysis) return null;
2747
- if (field.startsWith("trendline.")) {
2748
- if (analysis.multipleTrendlines) return null;
2749
- const wrap2 = (edit) => ({ op: "trendline", seriesIndex, index: 0, edit });
2750
- if (field === "trendline.type")
2751
- return text2 === "none" ? analysis.trendline ? wrap2(null) : null : TYPES.some(([type]) => type === text2) ? wrap2({ type: text2 }) : null;
2752
- if (!analysis.trendline) return null;
2753
- if (field === "trendline.equation") return wrap2({ displayEquation: Boolean(value) });
2754
- if (field === "trendline.rSquared") return wrap2({ displayRSquared: Boolean(value) });
2755
- const key = field.slice(10);
2756
- if (!["order", "period", "forward", "backward"].includes(key) || !Number.isFinite(n) || n < 0)
2757
- return null;
2758
- return wrap2({ [key]: n });
2759
- }
2798
+ if (field.startsWith("trendline."))
2799
+ return chartTrendlineFieldIntent(analysis.trendlines ?? [], seriesIndex, field, value);
2760
2800
  if (analysis.multipleErrorBars) return null;
2761
2801
  const wrap = (edit) => ({
2762
2802
  op: "errorBars",
@@ -2764,12 +2804,34 @@ function chartAnalysisFieldIntent(series, target, field, value) {
2764
2804
  direction: "y",
2765
2805
  edit
2766
2806
  });
2767
- if (field === "errorBars.type")
2768
- return text2 === "none" ? analysis.errorBars ? wrap(null) : null : ERRORS.some(([type]) => type === text2) ? wrap({ valueType: text2 }) : null;
2769
- if (!analysis.errorBars) return null;
2807
+ const error = analysis.errorBars;
2808
+ const count = analysis.pointCount ?? 1;
2809
+ if (field === "errorBars.type") {
2810
+ if (text2 === "none") return error ? wrap(null) : null;
2811
+ if (!ERRORS.some(([type]) => type === text2)) return null;
2812
+ return text2 === "cust" ? error?.valueType === "cust" ? null : wrap({ valueType: "cust", plus: ones(count), minus: ones(count) }) : wrap({ valueType: text2 });
2813
+ }
2814
+ if (!error) return null;
2770
2815
  if (field === "errorBars.cap") return wrap({ noEndCap: !value });
2771
- if (field === "errorBars.side")
2772
- return ["both", "plus", "minus"].includes(text2) ? wrap({ barType: text2 }) : null;
2816
+ if (field === "errorBars.side") {
2817
+ if (!["both", "plus", "minus"].includes(text2)) return null;
2818
+ const edit = {
2819
+ barType: text2
2820
+ };
2821
+ if (error.valueType === "cust") {
2822
+ if (text2 !== "minus" && !error.plus) edit.plus = ones(count);
2823
+ if (text2 !== "plus" && !error.minus) edit.minus = ones(count);
2824
+ }
2825
+ return wrap(edit);
2826
+ }
2827
+ if (field === "errorBars.plusValues" || field === "errorBars.minusValues") {
2828
+ if (error.valueType !== "cust") return null;
2829
+ const source = chartErrorBarSourceFromText(text2, {
2830
+ pointCount: count,
2831
+ ...analysis.resolveRange ? { resolveRange: analysis.resolveRange } : {}
2832
+ });
2833
+ return source ? wrap(field === "errorBars.plusValues" ? { plus: source } : { minus: source }) : null;
2834
+ }
2773
2835
  return field === "errorBars.value" && Number.isFinite(n) && n >= 0 ? wrap({ value: n }) : null;
2774
2836
  }
2775
2837
 
@@ -2959,7 +3021,106 @@ function chartAdvancedFieldIntent(view, target, field, value) {
2959
3021
  return null;
2960
3022
  }
2961
3023
  }
2962
- var number2 = (value) => {
3024
+
3025
+ // src/chart/format-pane-fill-kinds.ts
3026
+ function gradientFields(prefix, gradient) {
3027
+ const stops = gradient.stops;
3028
+ const fields = [
3029
+ {
3030
+ id: `${prefix}.gradientType`,
3031
+ kind: "select",
3032
+ label: t("gradientType", "Type"),
3033
+ value: gradient.type,
3034
+ choices: [
3035
+ choice("linear", "gradientType.linear", "Linear"),
3036
+ choice("radial", "gradientType.radial", "Radial")
3037
+ ]
3038
+ },
3039
+ {
3040
+ id: `${prefix}.gradientStart`,
3041
+ kind: "color",
3042
+ label: t("gradientStart", "Start color"),
3043
+ value: hexForInput(stops[0]?.color, "#FFFFFF")
3044
+ },
3045
+ {
3046
+ id: `${prefix}.gradientEnd`,
3047
+ kind: "color",
3048
+ label: t("gradientEnd", "End color"),
3049
+ value: hexForInput(stops[stops.length - 1]?.color)
3050
+ }
3051
+ ];
3052
+ if (gradient.type === "linear") {
3053
+ fields.push({
3054
+ id: `${prefix}.gradientAngle`,
3055
+ kind: "number",
3056
+ label: t("angle", "Angle"),
3057
+ value: Math.round(gradient.angle ?? 0),
3058
+ min: 0,
3059
+ max: 359,
3060
+ step: 1,
3061
+ unit: "\xB0"
3062
+ });
3063
+ }
3064
+ return fields;
3065
+ }
3066
+ function patternFields(pattern, presets) {
3067
+ return [
3068
+ {
3069
+ id: "fill.patternPreset",
3070
+ kind: "select",
3071
+ label: t("pattern", "Pattern"),
3072
+ value: pattern.preset,
3073
+ choices: [...presets]
3074
+ },
3075
+ {
3076
+ id: "fill.patternForeground",
3077
+ kind: "color",
3078
+ label: t("foreground", "Foreground"),
3079
+ value: hexForInput(pattern.foreground)
3080
+ },
3081
+ {
3082
+ id: "fill.patternBackground",
3083
+ kind: "color",
3084
+ label: t("background", "Background"),
3085
+ value: hexForInput(pattern.background, "#FFFFFF")
3086
+ }
3087
+ ];
3088
+ }
3089
+ var DEFAULT_CHART_TEXTURE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABoUlEQVR42j3S504CQRQF4Hn/19BojCUxMYiiomIBFKmCIh1sgL389sMxJpPZnXPvKXd2QyW70qlt37UOn0f5m/Jmq5L8HJcm/dN2dev25mA6yObSc+PeSa++E6vhvp2xvPUbu3atjmpozdIGGpyWhQwPHhYHBzU7zvB6l+3wOo3sJRpqgwQHYi+3Z93LFJSqAj0ZRIJoeL07Z/7n8DTMqT12j9vVzZjn/eFi1Nx/6BzpsKMRZt5vpIgG7F59Ow4QTY2I/z2toL3dF3DKp8t0NTAMylRRo7DEuuPccub35+GcaX08FqkEA+izWHGnhKAsAO14y/bB1R5cTyDjTI+7s0itSgIBrhUHAneN5IGBarOUiMMVMoscBCVGwmXIgyAnOXPW8msB9WtSbhTW+ZgEEyK0DCS18jGSLxPB0Kklncmz06Gbkr7I91I8XlICCsJ5NrTEatjcoZpI0KvmViVUjbdnEllm1wr1ackIKrpUo+aemgHscBeKz9wK8REHRTNWHFckO3L8ZZjQnf0av//P7B7PDxf+/2o1IA4HNEeiGij+AIB5gfnxhkAIAAAAAElFTkSuQmCC";
3090
+ function pictureFields(picture) {
3091
+ const fields = [
3092
+ {
3093
+ id: "fill.picture",
3094
+ kind: "file",
3095
+ label: t("pictureSource", "Picture source"),
3096
+ accept: "image/png,image/jpeg,image/gif,image/bmp",
3097
+ button: t("insertPicture", "Insert..."),
3098
+ value: Boolean(picture?.src || picture?.relId)
3099
+ }
3100
+ ];
3101
+ if (picture?.src || picture?.relId) {
3102
+ fields.push(
3103
+ {
3104
+ id: "fill.pictureTransparency",
3105
+ kind: "number",
3106
+ label: t("transparency", "Transparency"),
3107
+ value: Math.round(picture.transparency ?? 0),
3108
+ min: 0,
3109
+ max: 100,
3110
+ step: 1,
3111
+ unit: "%"
3112
+ },
3113
+ {
3114
+ id: "fill.pictureTile",
3115
+ kind: "checkbox",
3116
+ label: t("pictureTile", "Tile picture as texture"),
3117
+ value: Boolean(picture.tile)
3118
+ }
3119
+ );
3120
+ }
3121
+ return fields;
3122
+ }
3123
+ var number = (value) => {
2963
3124
  if (value === "" || typeof value === "boolean") return null;
2964
3125
  const n = typeof value === "number" ? value : Number(value);
2965
3126
  return Number.isFinite(n) ? n : null;
@@ -2994,13 +3155,13 @@ function gradientEdit(current, part, value) {
2994
3155
  return { ...current, stops };
2995
3156
  }
2996
3157
  default: {
2997
- const n = number2(value);
3158
+ const n = number(value);
2998
3159
  return n === null ? null : { ...current, stops, angle: (n % 360 + 360) % 360 };
2999
3160
  }
3000
3161
  }
3001
3162
  }
3002
3163
  function paintIntent(view, target, field, value) {
3003
- const n = number2(value);
3164
+ const n = number(value);
3004
3165
  const text2 = String(value);
3005
3166
  const gradient = GRADIENT.exec(field);
3006
3167
  if (gradient) {
@@ -3028,8 +3189,20 @@ function paintIntent(view, target, field, value) {
3028
3189
  );
3029
3190
  return fill3 && { op: "fill", target, fill: fill3 };
3030
3191
  }
3192
+ if (text2 === "picture")
3193
+ return !view.support.picture || view.fill.kind === "picture" ? null : { op: "picture", target, edit: { src: DEFAULT_CHART_TEXTURE, tile: true } };
3031
3194
  return null;
3032
3195
  }
3196
+ case "fill.picture":
3197
+ return view.support.picture && text2.startsWith("data:image/") ? {
3198
+ op: "picture",
3199
+ target,
3200
+ edit: { src: text2, tile: Boolean(view.fill.picture?.tile) }
3201
+ } : null;
3202
+ case "fill.pictureTile":
3203
+ return view.support.picture && view.fill.kind === "picture" ? { op: "picture", target, edit: { tile: Boolean(value) } } : null;
3204
+ case "fill.pictureTransparency":
3205
+ return !view.support.picture || view.fill.kind !== "picture" || n === null || n < 0 || n > 100 ? null : { op: "picture", target, edit: { transparency: n } };
3033
3206
  case "fill.color": {
3034
3207
  const color = drawingColorFromHex(text2, view.fill.transparency);
3035
3208
  return color && { op: "fill", target, fill: { kind: "solid", color } };
@@ -3089,7 +3262,7 @@ var one = (key, value) => {
3089
3262
  return edit;
3090
3263
  };
3091
3264
  function axisEdit(field, value) {
3092
- const n = number2(value);
3265
+ const n = number(value);
3093
3266
  const text2 = String(value);
3094
3267
  switch (field) {
3095
3268
  case "axis.title":
@@ -3175,7 +3348,7 @@ function chartFormatFieldIntent(view, target, field, value) {
3175
3348
  }
3176
3349
  const spacing = SPACING[field];
3177
3350
  if (spacing && target.kind === "series") {
3178
- const n = number2(value);
3351
+ const n = number(value);
3179
3352
  const [key, min, max] = spacing;
3180
3353
  if (n === null || !Number.isInteger(n) || n < min || n > max) return null;
3181
3354
  const edit = {};
@@ -3185,104 +3358,6 @@ function chartFormatFieldIntent(view, target, field, value) {
3185
3358
  return null;
3186
3359
  }
3187
3360
 
3188
- // src/chart/format-pane-fill-kinds.ts
3189
- function gradientFields(prefix, gradient) {
3190
- const stops = gradient.stops;
3191
- const fields = [
3192
- {
3193
- id: `${prefix}.gradientType`,
3194
- kind: "select",
3195
- label: t("gradientType", "Type"),
3196
- value: gradient.type,
3197
- choices: [
3198
- choice("linear", "gradientType.linear", "Linear"),
3199
- choice("radial", "gradientType.radial", "Radial")
3200
- ]
3201
- },
3202
- {
3203
- id: `${prefix}.gradientStart`,
3204
- kind: "color",
3205
- label: t("gradientStart", "Start color"),
3206
- value: hexForInput(stops[0]?.color, "#FFFFFF")
3207
- },
3208
- {
3209
- id: `${prefix}.gradientEnd`,
3210
- kind: "color",
3211
- label: t("gradientEnd", "End color"),
3212
- value: hexForInput(stops[stops.length - 1]?.color)
3213
- }
3214
- ];
3215
- if (gradient.type === "linear") {
3216
- fields.push({
3217
- id: `${prefix}.gradientAngle`,
3218
- kind: "number",
3219
- label: t("angle", "Angle"),
3220
- value: Math.round(gradient.angle ?? 0),
3221
- min: 0,
3222
- max: 359,
3223
- step: 1,
3224
- unit: "\xB0"
3225
- });
3226
- }
3227
- return fields;
3228
- }
3229
- function patternFields(pattern, presets) {
3230
- return [
3231
- {
3232
- id: "fill.patternPreset",
3233
- kind: "select",
3234
- label: t("pattern", "Pattern"),
3235
- value: pattern.preset,
3236
- choices: [...presets]
3237
- },
3238
- {
3239
- id: "fill.patternForeground",
3240
- kind: "color",
3241
- label: t("foreground", "Foreground"),
3242
- value: hexForInput(pattern.foreground)
3243
- },
3244
- {
3245
- id: "fill.patternBackground",
3246
- kind: "color",
3247
- label: t("background", "Background"),
3248
- value: hexForInput(pattern.background, "#FFFFFF")
3249
- }
3250
- ];
3251
- }
3252
- function pictureFields(picture) {
3253
- const fields = [
3254
- {
3255
- id: "fill.picture",
3256
- kind: "file",
3257
- label: t("pictureSource", "Picture source"),
3258
- accept: "image/png,image/jpeg,image/gif,image/bmp",
3259
- button: t("insertPicture", "Insert..."),
3260
- value: Boolean(picture?.src || picture?.relId)
3261
- }
3262
- ];
3263
- if (picture?.src || picture?.relId) {
3264
- fields.push(
3265
- {
3266
- id: "fill.pictureTransparency",
3267
- kind: "number",
3268
- label: t("transparency", "Transparency"),
3269
- value: Math.round(picture.transparency ?? 0),
3270
- min: 0,
3271
- max: 100,
3272
- step: 1,
3273
- unit: "%"
3274
- },
3275
- {
3276
- id: "fill.pictureTile",
3277
- kind: "checkbox",
3278
- label: t("pictureTile", "Tile picture as texture"),
3279
- value: Boolean(picture.tile)
3280
- }
3281
- );
3282
- }
3283
- return fields;
3284
- }
3285
-
3286
3361
  // src/chart/format-pane-fill-line.ts
3287
3362
  var DASHES = [
3288
3363
  ["solid", "Solid"],
@@ -4166,7 +4241,7 @@ function buildChartFormatModel(source, targetKey, tab = "fillLine", mode = "char
4166
4241
  }
4167
4242
  var transparency2 = (alpha) => Math.round((1 - alpha) * 100);
4168
4243
  var chartGroupFormatType = (group) => group.element.replace(/Chart$/u, "");
4169
- function chartSeriesOptionsView(space, entry, seriesIndex, advanced) {
4244
+ function chartSeriesOptionsView(space, entry, seriesIndex, advanced, workbookRanges) {
4170
4245
  const group = entry?.group;
4171
4246
  if (!entry || !group) return void 0;
4172
4247
  const view = { chartType: chartGroupFormatType(group) };
@@ -4181,9 +4256,15 @@ function chartSeriesOptionsView(space, entry, seriesIndex, advanced) {
4181
4256
  const errors = (entry.series.errorBars ?? []).filter(
4182
4257
  (error) => (error.direction ?? "y") === "y"
4183
4258
  );
4259
+ const values = entry.series.values ?? entry.series.yValues;
4260
+ const cached = chartSpaceRangeNumbers(space);
4184
4261
  view.analysis = {
4185
4262
  multipleTrendlines: trends.length > 1,
4186
4263
  multipleErrorBars: errors.length > 1,
4264
+ trendlines: structuredClone(trends),
4265
+ pointCount: Math.max(1, values?.cache?.pointCount ?? values?.cache?.points.length ?? 1),
4266
+ resolveRange: workbookRanges ? (formula) => workbookRanges(formula) ?? cached(formula) : cached,
4267
+ ...workbookRanges ? { workbookRanges: true } : {},
4187
4268
  ...trends[0] ? { trendline: structuredClone(trends[0]) } : {},
4188
4269
  ...errors[0] ? { errorBars: structuredClone(errors[0]) } : {}
4189
4270
  };
@@ -4265,7 +4346,7 @@ function chartAdvancedElementView(space, target, resolve, fillView2, lineView2,
4265
4346
  return result;
4266
4347
  }
4267
4348
  var transparency3 = (alpha) => Math.round((1 - alpha) * 100);
4268
- function fillView(fill3, resolve) {
4349
+ function fillView(fill3, resolve, sources) {
4269
4350
  switch (fill3?.kind) {
4270
4351
  case "none":
4271
4352
  return { kind: "none" };
@@ -4284,8 +4365,19 @@ function fillView(fill3, resolve) {
4284
4365
  background: fill3.background ? resolve(fill3.background)?.hex ?? "#FFFFFF" : "#FFFFFF"
4285
4366
  }
4286
4367
  };
4287
- case "picture":
4288
- return { kind: "picture" };
4368
+ case "picture": {
4369
+ const alpha = fill3.effects?.find((effect) => effect.kind === "alphaModFix");
4370
+ const src = fill3.relId ? sources?.[fill3.relId] : void 0;
4371
+ return {
4372
+ kind: "picture",
4373
+ picture: {
4374
+ ...fill3.relId ? { relId: fill3.relId } : {},
4375
+ ...src ? { src } : {},
4376
+ tile: Boolean(fill3.layout?.tile),
4377
+ transparency: alpha?.kind === "alphaModFix" ? Math.round((1 - alpha.amount) * 100) : 0
4378
+ }
4379
+ };
4380
+ }
4289
4381
  default:
4290
4382
  return { kind: "automatic" };
4291
4383
  }
@@ -4371,7 +4463,13 @@ function chartSpaceFormatSource(space, options = {}) {
4371
4463
  };
4372
4464
  const entries = chartSeriesEntries(space);
4373
4465
  const advanced = options.advanced !== false;
4374
- const seriesOptions2 = (seriesIndex) => chartSeriesOptionsView(space, entries[seriesIndex], seriesIndex, advanced);
4466
+ const seriesOptions2 = (seriesIndex) => chartSeriesOptionsView(
4467
+ space,
4468
+ entries[seriesIndex],
4469
+ seriesIndex,
4470
+ advanced,
4471
+ options.resolveRange
4472
+ );
4375
4473
  const describe = {
4376
4474
  axis: (axisIndex) => {
4377
4475
  const axis = space.plotArea.axes[axisIndex];
@@ -4395,7 +4493,7 @@ function chartSpaceFormatSource(space, options = {}) {
4395
4493
  space,
4396
4494
  target,
4397
4495
  resolve,
4398
- (fill3) => fillView(fill3, resolve),
4496
+ (fill3) => fillView(fill3, resolve, space.pictureSources),
4399
4497
  (line) => lineView(line, resolve),
4400
4498
  !lineTarget
4401
4499
  ) : {},
@@ -4403,14 +4501,14 @@ function chartSpaceFormatSource(space, options = {}) {
4403
4501
  fill: !lineTarget,
4404
4502
  gradient: true,
4405
4503
  pattern: advanced && !lineTarget,
4406
- picture: false,
4504
+ picture: advanced && !lineTarget && options.pictures === true,
4407
4505
  threeD: advanced && !lineTarget,
4408
4506
  text: advanced && chartTargetHasText(target),
4409
4507
  lineDetails: advanced,
4410
4508
  effects: advanced,
4411
4509
  secondaryAxis: target.kind === "series" && advanced && chartSeriesSecondaryAxisSupported(space, target.seriesIndex)
4412
4510
  },
4413
- fill: fillView(shape?.fill, resolve),
4511
+ fill: fillView(shape?.fill, resolve, space.pictureSources),
4414
4512
  line: lineView(shape?.line, resolve)
4415
4513
  };
4416
4514
  };
@@ -4493,6 +4591,7 @@ var OfficeUiChartFormatPane = class extends OfficeElement {
4493
4591
  /** Properties a host may set before the element is defined; replayed through their setters. */
4494
4592
  static replayed = [
4495
4593
  "source",
4594
+ "pictures",
4496
4595
  "chartSpace",
4497
4596
  "theme",
4498
4597
  "target",
@@ -4502,6 +4601,7 @@ var OfficeUiChartFormatPane = class extends OfficeElement {
4502
4601
  sourceValue;
4503
4602
  spaceValue;
4504
4603
  themeValue;
4604
+ picturesValue = false;
4505
4605
  targetValue = "chartArea";
4506
4606
  translator = echo;
4507
4607
  localeValue = "en";
@@ -4548,6 +4648,17 @@ var OfficeUiChartFormatPane = class extends OfficeElement {
4548
4648
  this.sourceValue = value && chartSpaceFormatSource(value, this.themeOptions());
4549
4649
  this.requestUpdate("chartSpace");
4550
4650
  }
4651
+ /**
4652
+ * Offer Picture or texture fill for a `chartSpace`: set by a host that keeps the chart's
4653
+ * `pictureSources` and stores pending pictures when it saves (`embedChartSpacePictures`).
4654
+ */
4655
+ get pictures() {
4656
+ return this.picturesValue;
4657
+ }
4658
+ set pictures(value) {
4659
+ this.picturesValue = Boolean(value);
4660
+ if (this.spaceValue) this.chartSpace = this.spaceValue;
4661
+ }
4551
4662
  /** Resolves scheme colours of a `chartSpace`. */
4552
4663
  get theme() {
4553
4664
  return this.themeValue;
@@ -4586,7 +4697,10 @@ var OfficeUiChartFormatPane = class extends OfficeElement {
4586
4697
  this.requestUpdate("locale");
4587
4698
  }
4588
4699
  themeOptions() {
4589
- return this.themeValue ? { theme: this.themeValue } : {};
4700
+ return {
4701
+ ...this.themeValue ? { theme: this.themeValue } : {},
4702
+ ...this.picturesValue ? { pictures: true } : {}
4703
+ };
4590
4704
  }
4591
4705
  statics() {
4592
4706
  return this.constructor;
@@ -4901,6 +5015,7 @@ var OfficeUiRibbon = class extends OfficeElement {
4901
5015
  collapsed: flag,
4902
5016
  peek: flag,
4903
5017
  collapseLabel: { attribute: "collapse-label", type: String },
5018
+ items: { attribute: false },
4904
5019
  tabs: { state: true }
4905
5020
  };
4906
5021
  chosen = null;
@@ -4915,9 +5030,13 @@ var OfficeUiRibbon = class extends OfficeElement {
4915
5030
  this.collapsed = false;
4916
5031
  this.peek = false;
4917
5032
  this.collapseLabel = null;
5033
+ this.items = null;
4918
5034
  this.tabs = [];
4919
5035
  }
4920
5036
  get selected() {
5037
+ if (this.items) {
5038
+ return this.items.some((item) => item.id === this.chosen) ? this.chosen ?? "" : "";
5039
+ }
4921
5040
  const shown = this.shown();
4922
5041
  const chosen = shown.find((panel) => panel.dataset.ribbonTab === this.chosen);
4923
5042
  return chosen?.dataset.ribbonTab ?? shown[0]?.dataset.ribbonTab ?? "";
@@ -4968,6 +5087,16 @@ var OfficeUiRibbon = class extends OfficeElement {
4968
5087
  }
4969
5088
  /** Read the tabs off the panels (on connection and whenever the slotted panels change). */
4970
5089
  build() {
5090
+ if (this.items) {
5091
+ this.tabs = this.items.map((item) => ({
5092
+ id: item.id,
5093
+ label: item.label,
5094
+ contextual: item.contextual === true,
5095
+ ...item.keytip ? { keytip: item.keytip } : {},
5096
+ ...item.title ? { title: item.title } : {}
5097
+ }));
5098
+ return;
5099
+ }
4971
5100
  this.tabs = this.shown().map((panel) => {
4972
5101
  const id = panel.dataset.ribbonTab;
4973
5102
  panel.setAttribute("role", "tabpanel");
@@ -5016,6 +5145,7 @@ var OfficeUiRibbon = class extends OfficeElement {
5016
5145
  this.peek = false;
5017
5146
  }
5018
5147
  willUpdate(changed) {
5148
+ if (changed.has("items")) this.build();
5019
5149
  if (changed.has("collapsible")) this.applyAuto();
5020
5150
  if (changed.has("peek")) {
5021
5151
  const doc = this.ownerDocument;
@@ -5025,7 +5155,7 @@ var OfficeUiRibbon = class extends OfficeElement {
5025
5155
  }
5026
5156
  choose(tab) {
5027
5157
  if (this.collapsible && this.collapsed) this.peek = true;
5028
- if (tab === this.selected) return;
5158
+ if (tab === this.selected && !this.items) return;
5029
5159
  if (this.fire("office-ribbon-select", { tab }, true)) this.selected = tab;
5030
5160
  }
5031
5161
  onTabClick(event) {
@@ -5048,7 +5178,8 @@ var OfficeUiRibbon = class extends OfficeElement {
5048
5178
  if (!next2) return;
5049
5179
  event.preventDefault();
5050
5180
  this.choose(next2.dataset.tab);
5051
- this.focusTab();
5181
+ if (this.items) next2.focus();
5182
+ else this.focusTab();
5052
5183
  }
5053
5184
  /** Rebuild the tab row when a panel's label or visibility flag changes. */
5054
5185
  watcher;
@@ -5079,8 +5210,9 @@ var OfficeUiRibbon = class extends OfficeElement {
5079
5210
  updated() {
5080
5211
  const selected = this.selected;
5081
5212
  const hideAll = this.collapsed && !this.peek;
5082
- for (const panel of this.panels())
5083
- panel.hidden = hideAll || panel.dataset.ribbonTab !== selected;
5213
+ if (!this.items)
5214
+ for (const panel of this.panels())
5215
+ panel.hidden = hideAll || panel.dataset.ribbonTab !== selected;
5084
5216
  const active2 = this.tabButton(selected);
5085
5217
  const list2 = active2?.parentElement;
5086
5218
  if (active2 && list2 && list2.scrollWidth > list2.clientWidth) {
@@ -5123,6 +5255,7 @@ var OfficeUiRibbon = class extends OfficeElement {
5123
5255
  data-contextual=${ifDefined(tab.contextual ? "" : void 0)}
5124
5256
  data-keytip=${ifDefined(tab.keytip)}
5125
5257
  data-keytip-panel=${ifDefined(tab.keytipPanel)}
5258
+ title=${ifDefined(tab.title)}
5126
5259
  aria-selected=${String(tab.id === selected)}
5127
5260
  tabindex=${tab.id === selected ? 0 : -1}
5128
5261
  >${tab.label}</button
@@ -12128,4 +12261,4 @@ function registerControls(registry) {
12128
12261
  for (const define of CONTROL_DEFINERS) define(registry);
12129
12262
  }
12130
12263
 
12131
- export { CHART_DATA_SHEET_ENGLISH, 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, OfficeUiFormatSection, 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, defineFormatSection, 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, glyph, handleLiveColorEvent, hexForInput, isFontFamilyAvailable, liveColorRevertPatch, nextEnabledIndex, optionText, optionsLabels, parseOfficeSymbolCode, personalizeSection, profileInitials, promptDialog, rangeControl, range_control_default, readOfficeProfile, recordLiveColorLeaves, registerControls, registerCustomFont, resolveChartFormatSourceTarget, rulerDivisions, runKeyTips, sanitizeOfficeProfile, saveProgressLabel, saveProgressStepChanged, scanAvailableFontFamilies, shareDialogLabels, translateChartFormatText, typeAheadIndex, unavailableCategory, unavailableControl, userInterfaceSection, wireTabDrag, writeOfficeProfile };
12264
+ export { CHART_DATA_SHEET_ENGLISH, CONTROL_DEFINERS, CUSTOM_FONT_ACCEPT, CUSTOM_FONT_EXTENSIONS, DEFAULT_CHART_TEXTURE, 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, OfficeUiFormatSection, 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, defineFormatSection, 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, glyph, handleLiveColorEvent, hexForInput, isFontFamilyAvailable, liveColorRevertPatch, nextEnabledIndex, optionText, optionsLabels, parseOfficeSymbolCode, personalizeSection, profileInitials, promptDialog, rangeControl, range_control_default, readOfficeProfile, recordLiveColorLeaves, registerControls, registerCustomFont, resolveChartFormatSourceTarget, rulerDivisions, runKeyTips, sanitizeOfficeProfile, saveProgressLabel, saveProgressStepChanged, scanAvailableFontFamilies, shareDialogLabels, translateChartFormatText, typeAheadIndex, unavailableCategory, unavailableControl, userInterfaceSection, wireTabDrag, writeOfficeProfile };