ooxml-ui 1.53.0 → 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.
- package/custom-elements.json +4 -0
- package/dist/base.d.ts +1 -0
- package/dist/chart/chartex-options-locales.d.ts +6 -6
- package/dist/chart/chartex-options-more.d.ts +17 -0
- package/dist/chart/chartex-options.d.ts +1 -0
- package/dist/chart/data-sheet-keys.d.ts +1 -0
- package/dist/chart/data-sheet-labels.d.ts +1 -0
- package/dist/chart/data-sheet.d.ts +2 -1
- package/dist/chart/format-pane-3d.d.ts +1 -0
- package/dist/chart/format-pane-advanced-intent.d.ts +1 -0
- package/dist/chart/format-pane-analysis.d.ts.map +1 -1
- package/dist/chart/format-pane-axis.d.ts +1 -0
- package/dist/chart/format-pane-common.d.ts +1 -0
- package/dist/chart/format-pane-effects.d.ts +1 -0
- package/dist/chart/format-pane-fields.d.ts +1 -0
- package/dist/chart/format-pane-fill-kinds.d.ts +5 -0
- package/dist/chart/format-pane-fill-kinds.d.ts.map +1 -1
- package/dist/chart/format-pane-intent.d.ts +3 -2
- package/dist/chart/format-pane-intent.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/de.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/en.d.ts +1 -0
- package/dist/chart/format-pane-locales/en.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/es.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/fr.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/ja.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/ko.d.ts +1 -0
- package/dist/chart/format-pane-locales/ko.d.ts.map +1 -1
- package/dist/chart/format-pane-locales/zh-CN.d.ts.map +1 -1
- package/dist/chart/format-pane-model.d.ts +1 -0
- package/dist/chart/format-pane-options.d.ts +1 -0
- package/dist/chart/format-pane-space.d.ts +10 -4
- package/dist/chart/format-pane-space.d.ts.map +1 -1
- package/dist/chart/format-pane.d.ts +9 -1
- package/dist/chart/format-pane.d.ts.map +1 -1
- package/dist/chart/gallery-tiles.d.ts +1 -0
- package/dist/chart-format-locales.js +1 -1
- package/dist/chrome/account-profile.d.ts +1 -0
- package/dist/chrome/account.d.ts +2 -1
- package/dist/chrome/backstage.d.ts +2 -1
- package/dist/chrome/find-bar.d.ts +2 -1
- package/dist/chrome/find-replace-fields.d.ts +1 -0
- package/dist/chrome/format-section.d.ts +2 -1
- package/dist/chrome/ruler.d.ts +2 -1
- package/dist/chrome/status-bar.d.ts +2 -1
- package/dist/chrome/status-item.d.ts +2 -1
- package/dist/chrome/tab-drag.d.ts +1 -0
- package/dist/chrome/tab-strip.d.ts +2 -1
- package/dist/chrome/task-pane.d.ts +2 -1
- package/dist/chrome/title-bar-types.d.ts +1 -0
- package/dist/chrome/title-bar.d.ts +2 -1
- package/dist/{chunk-J36LIYGS.js → chunk-3BNPWXCC.js} +1 -1
- package/dist/{chunk-HUR5JAG7.js → chunk-4JFADIZ6.js} +359 -17
- package/dist/{chunk-Y535PPSZ.js → chunk-54MF25DU.js} +1 -1
- package/dist/{chunk-XQIZWJEV.js → chunk-6SAT2GKV.js} +1 -1
- package/dist/{chunk-NSBQACCO.js → chunk-7F5IZHKM.js} +150 -109
- package/dist/{chunk-X464LPTR.js → chunk-HTB63MJO.js} +210 -14
- package/dist/{chunk-JI4ZNPEK.js → chunk-O3ER66QG.js} +7 -0
- package/dist/{chunk-2EBZ6IV6.js → chunk-UEUP3EMQ.js} +3 -3
- package/dist/comments/comments-pane.d.ts +2 -1
- package/dist/controls.d.ts +1 -0
- package/dist/controls.js +2 -2
- package/dist/dialog/chart-picker.d.ts +2 -1
- package/dist/dialog/dialog-footer.d.ts +2 -1
- package/dist/dialog/dialog-session.d.ts +1 -0
- package/dist/dialog/dialog.d.ts +2 -1
- package/dist/dialog/focus.d.ts +1 -0
- package/dist/dialog/message-dialogs.d.ts +1 -0
- package/dist/dialog/options-categories.d.ts +1 -0
- package/dist/dialog/options-controls.d.ts +1 -0
- package/dist/dialog/options-dialog.d.ts +2 -1
- package/dist/dialog/progress-dialog.d.ts +2 -1
- package/dist/dialog/share-dialog-locales.d.ts +1 -0
- package/dist/dialog/share-dialog.d.ts +2 -1
- package/dist/docx/chart-commands.d.ts +5 -1
- package/dist/docx/locales/charts.d.ts +9 -0
- package/dist/docx/locales/en.d.ts +77 -14
- package/dist/docx/locales/smartart.d.ts +68 -14
- package/dist/docx/localization-strings.d.ts +77 -14
- package/dist/docx/smartart-node-view.d.ts +2 -1
- package/dist/docx.js +94 -22
- package/dist/export/pdf-image.d.ts +1 -0
- package/dist/export/pdf-path.d.ts +1 -0
- package/dist/export/pdf-svg-gradient.d.ts +1 -0
- package/dist/export/pdf-svg-notes.d.ts +1 -0
- package/dist/export/pdf-text-layer-font.d.ts +1 -0
- package/dist/files/cloud-files-labels.d.ts +1 -0
- package/dist/files/cloud-files-view.d.ts +1 -0
- package/dist/files/connected-services.d.ts +2 -1
- package/dist/files/open-places.d.ts +2 -1
- package/dist/files/save-progress-label.d.ts +1 -0
- package/dist/fonts/availability.d.ts +1 -0
- package/dist/fonts/catalog.d.ts +1 -0
- package/dist/fonts/custom-fonts.d.ts +1 -0
- package/dist/form/checkable.d.ts +1 -0
- package/dist/form/color-custom.d.ts +2 -1
- package/dist/form/color-grid.d.ts +2 -1
- package/dist/form/color-input/live-color-input.d.ts +1 -0
- package/dist/form/color-input/live-color-leaves.d.ts +1 -0
- package/dist/form/radio.d.ts +2 -1
- package/dist/form/range-control.d.ts +1 -0
- package/dist/form/search-field.d.ts +2 -1
- package/dist/form/select.d.ts +2 -1
- package/dist/form/switch.d.ts +2 -1
- package/dist/form/symbol-picker.d.ts +2 -1
- package/dist/form/zoom-slider.d.ts +2 -1
- package/dist/icon.d.ts +1 -0
- package/dist/image-native-size.d.ts +1 -0
- package/dist/index.js +6 -6
- package/dist/keytips.d.ts +1 -0
- package/dist/menu/command-search.d.ts +2 -1
- package/dist/menu/context-menu.d.ts +2 -1
- package/dist/menu/menu-button.d.ts +2 -1
- package/dist/menu/menu-item.d.ts +2 -1
- package/dist/menu/menu-model.d.ts +1 -0
- package/dist/menu/menu-separator.d.ts +2 -1
- package/dist/notices/toasts.d.ts +2 -1
- package/dist/picture-artistic-filters.d.ts +1 -0
- package/dist/pptx/{chart-3d-view-scene-RCWYLVC3.cjs → chart-3d-view-scene-B3SNZWRD.cjs} +37 -37
- package/dist/pptx/{chart-3d-view-scene-7LIMCTEM.mjs → chart-3d-view-scene-ENYOU7XV.mjs} +2 -2
- package/dist/pptx/{chunk-O33ER4AJ.cjs → chunk-3GS5BKST.cjs} +7 -0
- package/dist/pptx/{chunk-STQTJXYQ.cjs → chunk-5BQM5YYS.cjs} +21550 -19868
- package/dist/pptx/{chunk-3DJZBAQ2.mjs → chunk-6FDEQ46Q.mjs} +1 -1
- package/dist/pptx/{chunk-EEELXUAE.mjs → chunk-7EVC4DK7.mjs} +2 -2
- package/dist/pptx/{chunk-OS2SX33G.mjs → chunk-DNXARUCD.mjs} +18865 -17244
- package/dist/pptx/{chunk-75MKMQP5.mjs → chunk-FYNZ6QSV.mjs} +7 -0
- package/dist/pptx/{chunk-5PL3ZZV4.mjs → chunk-J4PPKLNF.mjs} +3 -3
- package/dist/pptx/{chunk-HTFYAGHG.cjs → chunk-K2SGPTSG.cjs} +43 -0
- package/dist/pptx/{chunk-LOUVYGWX.cjs → chunk-KESYQS6D.cjs} +12 -12
- package/dist/pptx/{chunk-XOAXPD2W.cjs → chunk-MCRNV5DK.cjs} +5 -187
- package/dist/pptx/{chunk-TJPRGVT4.cjs → chunk-QMGOPAN5.cjs} +49 -49
- package/dist/pptx/{chunk-RQJOOXRG.mjs → chunk-T3GW4SKO.mjs} +6 -186
- package/dist/pptx/{chunk-AN34Z3QP.cjs → chunk-WPM2ADMY.cjs} +2 -2
- package/dist/pptx/{chunk-XL5AF4U3.mjs → chunk-YFS2TFET.mjs} +40 -1
- package/dist/pptx/dom/index.cjs +441 -441
- package/dist/pptx/dom/index.mjs +11 -11
- package/dist/pptx/export/html2canvas-clone.cjs +6 -6
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/i18n/index.cjs +6 -6
- package/dist/pptx/i18n/index.mjs +1 -1
- package/dist/pptx/index.cjs +3987 -3727
- package/dist/pptx/index.mjs +6 -6
- package/dist/pptx/render/building-blocks/find-bar-controller.d.ts +5 -11
- package/dist/pptx/render/building-blocks/find-bar-controller.d.ts.map +1 -1
- package/dist/pptx/render/chart-combo-stock.cjs +3 -3
- package/dist/pptx/render/chart-combo-stock.mjs +1 -1
- package/dist/pptx/render/chart-format/chart-format-pane-edit-extra.d.ts +1 -5
- package/dist/pptx/render/chart-format/chart-format-pane-edit-extra.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/chart-format-pane-edit.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/chart-format-source.d.ts +3 -0
- package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -1
- package/dist/pptx/render/chart-overlays.cjs +7 -7
- package/dist/pptx/render/chart-overlays.mjs +1 -1
- package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
- package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
- package/dist/pptx/render/chart-view-model.cjs +44 -44
- package/dist/pptx/render/chart-view-model.mjs +1 -1
- package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
- package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
- package/dist/pptx/render/controller/comments-panel-controller.d.ts +78 -0
- package/dist/pptx/render/controller/comments-panel-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/find-replace-controller.d.ts +27 -0
- package/dist/pptx/render/controller/find-replace-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/index.d.ts +10 -0
- package/dist/pptx/render/controller/index.d.ts.map +1 -1
- package/dist/pptx/render/controller/selection-pane-controller.d.ts +82 -0
- package/dist/pptx/render/controller/selection-pane-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/slide-rail-controller.d.ts +67 -0
- package/dist/pptx/render/controller/slide-rail-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/slide-sorter-controller.d.ts +149 -0
- package/dist/pptx/render/controller/slide-sorter-controller.d.ts.map +1 -0
- package/dist/pptx/render/drawing-color.d.ts +10 -3
- package/dist/pptx/render/drawing-color.d.ts.map +1 -1
- package/dist/pptx/render/fill-style.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +3 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/inspector/action-settings-fields.d.ts +58 -0
- package/dist/pptx/render/inspector/action-settings-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/element-alt-text-fields.d.ts +23 -0
- package/dist/pptx/render/inspector/element-alt-text-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/index.d.ts +25 -0
- package/dist/pptx/render/inspector/index.d.ts.map +1 -1
- package/dist/pptx/render/inspector/inspector-field-model.d.ts +31 -3
- package/dist/pptx/render/inspector/inspector-field-model.d.ts.map +1 -1
- package/dist/pptx/render/inspector/inspector-option-label.d.ts +11 -0
- package/dist/pptx/render/inspector/inspector-option-label.d.ts.map +1 -0
- package/dist/pptx/render/inspector/media-playback-fields.d.ts +24 -0
- package/dist/pptx/render/inspector/media-playback-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/media-trim-fields.d.ts +29 -0
- package/dist/pptx/render/inspector/media-trim-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/ole-fields.d.ts +33 -0
- package/dist/pptx/render/inspector/ole-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/paragraph-fields.d.ts +27 -0
- package/dist/pptx/render/inspector/paragraph-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/picture-artistic-fields.d.ts +16 -0
- package/dist/pptx/render/inspector/picture-artistic-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/picture-effect-fields.d.ts +45 -0
- package/dist/pptx/render/inspector/picture-effect-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/picture-fields.d.ts +38 -0
- package/dist/pptx/render/inspector/picture-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/shape-fill-fields.d.ts.map +1 -1
- package/dist/pptx/render/inspector/slide-background-fields.d.ts +22 -0
- package/dist/pptx/render/inspector/slide-background-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/table-cell-fields.d.ts +26 -0
- package/dist/pptx/render/inspector/table-cell-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/table-option-fields.d.ts +23 -0
- package/dist/pptx/render/inspector/table-option-fields.d.ts.map +1 -0
- package/dist/pptx/render/outline-view-session.d.ts +67 -0
- package/dist/pptx/render/outline-view-session.d.ts.map +1 -0
- package/dist/pptx/render/present-controls-state.d.ts +6 -0
- package/dist/pptx/render/present-controls-state.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-native-entries.d.ts +3 -2
- package/dist/pptx/render/ribbon-galleries/smartart-native-entries.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-style-3d-preview.d.ts +4 -0
- package/dist/pptx/render/ribbon-galleries/smartart-style-3d-preview.d.ts.map +1 -0
- package/dist/pptx/render/ribbon-galleries/smartart-styles-gallery.d.ts.map +1 -1
- package/dist/pptx/render/slide-background-fill.d.ts +49 -0
- package/dist/pptx/render/slide-background-fill.d.ts.map +1 -0
- package/dist/pptx/render/slide-background.d.ts +3 -2
- package/dist/pptx/render/slide-background.d.ts.map +1 -1
- package/dist/pptx/render/smartart-3d-scene-camera.d.ts +13 -43
- package/dist/pptx/render/smartart-3d-scene-camera.d.ts.map +1 -1
- package/dist/pptx/render/visual-3d-camera-presets.d.ts +3 -33
- package/dist/pptx/render/visual-3d-camera-presets.d.ts.map +1 -1
- package/dist/pptx/render/zoom-to-selection.d.ts +41 -0
- package/dist/pptx/render/zoom-to-selection.d.ts.map +1 -0
- package/dist/pptx/{smartart-insert-preview-FJFP4JJ5.mjs → smartart-insert-preview-D2WJBY2M.mjs} +7 -7
- package/dist/pptx/{smartart-insert-preview-XNHOSN3T.cjs → smartart-insert-preview-WI2O6X6C.cjs} +8 -8
- package/dist/pptx/{view-scene-GHBN7QMR.mjs → view-scene-DZCPZTE4.mjs} +1 -1
- package/dist/pptx/{view-scene-4ZFUCP6S.cjs → view-scene-HMOCSMJM.cjs} +8 -8
- package/dist/presence/presence.d.ts +2 -1
- package/dist/recovery-scheduler.d.ts +1 -0
- package/dist/render-cache.d.ts +1 -0
- package/dist/ribbon/button.d.ts +2 -1
- package/dist/ribbon/color-preview.d.ts +1 -0
- package/dist/ribbon/gallery-styles.d.ts +1 -0
- package/dist/ribbon/gallery.d.ts +2 -1
- package/dist/ribbon/group-overflow.d.ts +1 -0
- package/dist/ribbon/keytip-run.d.ts +1 -0
- package/dist/ribbon/overflow.d.ts +1 -0
- package/dist/ribbon/ribbon-actions.d.ts +2 -1
- package/dist/ribbon/ribbon-section.d.ts +2 -1
- package/dist/ribbon/ribbon-stack.d.ts +2 -1
- package/dist/ribbon/ribbon-tabs.d.ts +2 -1
- package/dist/ribbon/ribbon-toolbar.d.ts +2 -1
- package/dist/ribbon/safe-svg.d.ts +1 -0
- package/dist/smartart/smartart-3d.d.ts +39 -0
- package/dist/smartart/smartart-picker.d.ts +2 -1
- package/dist/smartart/smartart-svg.d.ts +8 -1
- package/dist/smartart/smartart-text-pane-tools.d.ts +1 -0
- package/dist/smartart/smartart-text-pane.d.ts +2 -1
- package/dist/smartart.js +1 -1
- package/dist/teams.js +3 -3
- package/dist/theme.d.ts +1 -0
- package/dist/touch-targets.d.ts +1 -0
- package/dist/visio.js +12 -7
- package/dist/xlsx/chart-format-source.d.ts +2 -0
- package/dist/xlsx.js +72 -19
- package/package.json +9 -9
|
@@ -1,9 +1,174 @@
|
|
|
1
1
|
import { OfficeElement, controlStyles, flag, emit, definer } from './chunk-4W4QZF4C.js';
|
|
2
2
|
import { html, nothing } from 'lit';
|
|
3
3
|
import { live } from 'lit/directives/live.js';
|
|
4
|
-
import { chartExSpaceDataSheet,
|
|
4
|
+
import { chartExFamilyOf, chartExSpaceDataSheet, CHART_EX_FAMILIES, CHART_EX_MAP_PROJECTIONS } from 'ooxml-core/chart';
|
|
5
5
|
import { normalizeLocale } from 'ooxml-core/i18n';
|
|
6
6
|
|
|
7
|
+
var UNITS = [
|
|
8
|
+
["", "Automatic"],
|
|
9
|
+
["hundreds", "Hundreds"],
|
|
10
|
+
["thousands", "Thousands"],
|
|
11
|
+
["millions", "Millions"],
|
|
12
|
+
["billions", "Billions"]
|
|
13
|
+
];
|
|
14
|
+
function select(host, key, value, options, change) {
|
|
15
|
+
return html`<label
|
|
16
|
+
>${host.t(key)}<select
|
|
17
|
+
aria-label=${host.t(key)}
|
|
18
|
+
.value=${live(value)}
|
|
19
|
+
?disabled=${host.disabled}
|
|
20
|
+
@change=${(e) => change(e.target.value)}
|
|
21
|
+
>${options.map(([id, label]) => html`<option value=${id}>${host.t(label)}</option>`)}</select
|
|
22
|
+
></label
|
|
23
|
+
>`;
|
|
24
|
+
}
|
|
25
|
+
function text(host, key, value, change) {
|
|
26
|
+
return html`<label
|
|
27
|
+
>${host.t(key)}<input
|
|
28
|
+
type="text"
|
|
29
|
+
aria-label=${host.t(key)}
|
|
30
|
+
.value=${live(value)}
|
|
31
|
+
?disabled=${host.disabled}
|
|
32
|
+
@change=${(e) => change(e.target.value)}
|
|
33
|
+
/></label>`;
|
|
34
|
+
}
|
|
35
|
+
function chartExAxisOptions(host, space, axisIndex) {
|
|
36
|
+
const axis = space.plotArea.axes[axisIndex];
|
|
37
|
+
if (!axis) return nothing;
|
|
38
|
+
const edit = (value2) => host.send({ op: "axisOptions", axisIndex, edit: value2 });
|
|
39
|
+
const value = axis.scaling?.kind === "val";
|
|
40
|
+
return html`${host.check("Visible", !axis.hidden, (visible) => edit({ visible }))}${text(
|
|
41
|
+
host,
|
|
42
|
+
"Axis title",
|
|
43
|
+
axis.title?.tx?.value ?? axis.title?.tx?.rich?.text ?? "",
|
|
44
|
+
(title) => edit({ title: title.trim() || null })
|
|
45
|
+
)}${host.check(
|
|
46
|
+
"Major gridlines",
|
|
47
|
+
!!axis.majorGridlines,
|
|
48
|
+
(majorGridlines) => edit({ majorGridlines })
|
|
49
|
+
)}${host.check(
|
|
50
|
+
"Minor gridlines",
|
|
51
|
+
!!axis.minorGridlines,
|
|
52
|
+
(minorGridlines) => edit({ minorGridlines })
|
|
53
|
+
)}${value ? html`${text(
|
|
54
|
+
host,
|
|
55
|
+
"Number format",
|
|
56
|
+
axis.numberFormat?.formatCode ?? "",
|
|
57
|
+
(code) => edit({
|
|
58
|
+
numberFormat: code.trim() ? { formatCode: code.trim(), sourceLinked: false } : null
|
|
59
|
+
})
|
|
60
|
+
)}${axis.units?.unit === "percentage" ? nothing : select(
|
|
61
|
+
host,
|
|
62
|
+
"Display units",
|
|
63
|
+
axis.units?.unit ?? "",
|
|
64
|
+
UNITS,
|
|
65
|
+
(unit) => edit({ units: unit || null })
|
|
66
|
+
)}` : nothing}`;
|
|
67
|
+
}
|
|
68
|
+
function chartExSeriesOptions(host, space, seriesIndex) {
|
|
69
|
+
const series = space.plotArea.series[seriesIndex];
|
|
70
|
+
if (!series || series.ownerIndex !== void 0) return nothing;
|
|
71
|
+
const layout = series.layoutProperties;
|
|
72
|
+
const family = chartExFamilyOf(space);
|
|
73
|
+
const name = text(
|
|
74
|
+
host,
|
|
75
|
+
"Series name",
|
|
76
|
+
series.tx?.value ?? series.tx?.rich?.text ?? "",
|
|
77
|
+
(value) => host.send({ op: "seriesName", seriesIndex, name: value })
|
|
78
|
+
);
|
|
79
|
+
const bins = family === "clusteredColumn" || family === "pareto" ? html`${host.check(
|
|
80
|
+
"By category",
|
|
81
|
+
!!layout?.aggregation,
|
|
82
|
+
(byCategory) => host.send({
|
|
83
|
+
op: "binning",
|
|
84
|
+
seriesIndex,
|
|
85
|
+
binning: byCategory ? "category" : { ...layout?.binning }
|
|
86
|
+
})
|
|
87
|
+
)}${layout?.aggregation ? nothing : ["overflow", "underflow"].map(
|
|
88
|
+
(key) => host.number(
|
|
89
|
+
key === "overflow" ? "Overflow bin" : "Underflow bin",
|
|
90
|
+
typeof layout?.binning?.[key] === "number" ? layout.binning[key] : void 0,
|
|
91
|
+
(limit) => host.send({
|
|
92
|
+
op: "binning",
|
|
93
|
+
seriesIndex,
|
|
94
|
+
binning: { ...layout?.binning, [key]: limit ?? "auto" }
|
|
95
|
+
})
|
|
96
|
+
)
|
|
97
|
+
)}` : nothing;
|
|
98
|
+
const funnelAxis = space.plotArea.axes.findIndex((axis) => axis.scaling?.kind === "cat");
|
|
99
|
+
const funnel = family === "funnel" && funnelAxis >= 0 ? host.number(
|
|
100
|
+
"Gap width",
|
|
101
|
+
(() => {
|
|
102
|
+
const scaling = space.plotArea.axes[funnelAxis].scaling;
|
|
103
|
+
return scaling?.kind === "cat" && typeof scaling.gapWidth === "number" ? Math.round(scaling.gapWidth * 100) : void 0;
|
|
104
|
+
})(),
|
|
105
|
+
(percent) => {
|
|
106
|
+
if (percent !== void 0 && (percent < 0 || percent > 500)) return;
|
|
107
|
+
host.send({
|
|
108
|
+
op: "axis",
|
|
109
|
+
axisIndex: funnelAxis,
|
|
110
|
+
edit: {
|
|
111
|
+
scaling: { kind: "cat", gapWidth: percent === void 0 ? "auto" : percent / 100 }
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
) : nothing;
|
|
116
|
+
const geography = layout?.geography;
|
|
117
|
+
const map = family === "regionMap" ? html`<fieldset
|
|
118
|
+
><legend>${host.t("Map")}</legend>${geography ? html`${select(
|
|
119
|
+
host,
|
|
120
|
+
"Map projection",
|
|
121
|
+
geography.projectionType ?? "auto",
|
|
122
|
+
[
|
|
123
|
+
["auto", "Automatic"],
|
|
124
|
+
...CHART_EX_MAP_PROJECTIONS.map(
|
|
125
|
+
(id) => [id, id.charAt(0).toUpperCase() + id.slice(1)]
|
|
126
|
+
)
|
|
127
|
+
],
|
|
128
|
+
(projectionType) => host.send({
|
|
129
|
+
op: "regionMap",
|
|
130
|
+
seriesIndex,
|
|
131
|
+
options: {
|
|
132
|
+
projectionType
|
|
133
|
+
}
|
|
134
|
+
})
|
|
135
|
+
)}${select(
|
|
136
|
+
host,
|
|
137
|
+
"Map area",
|
|
138
|
+
geography.viewedRegionType ?? "auto",
|
|
139
|
+
[
|
|
140
|
+
["auto", "Automatic"],
|
|
141
|
+
["dataOnly", "Only regions with data"],
|
|
142
|
+
["world", "World"]
|
|
143
|
+
],
|
|
144
|
+
(viewedRegionType) => host.send({
|
|
145
|
+
op: "regionMap",
|
|
146
|
+
seriesIndex,
|
|
147
|
+
options: { viewedRegionType }
|
|
148
|
+
})
|
|
149
|
+
)}` : nothing}${select(
|
|
150
|
+
host,
|
|
151
|
+
"Map labels",
|
|
152
|
+
layout?.regionLabelLayout ?? "auto",
|
|
153
|
+
[
|
|
154
|
+
["auto", "Automatic"],
|
|
155
|
+
["none", "None"],
|
|
156
|
+
["bestFitOnly", "Best fit only"],
|
|
157
|
+
["showAll", "Show all"]
|
|
158
|
+
],
|
|
159
|
+
(regionLabelLayout) => host.send({
|
|
160
|
+
op: "regionMap",
|
|
161
|
+
seriesIndex,
|
|
162
|
+
options: { regionLabelLayout }
|
|
163
|
+
})
|
|
164
|
+
)}${geography?.geoCacheXml ? nothing : html`<p role="note">
|
|
165
|
+
${host.t(
|
|
166
|
+
"Map outlines here are approximate. Office draws a new map only after it adds map data through its online service."
|
|
167
|
+
)}
|
|
168
|
+
</p>`}</fieldset
|
|
169
|
+
>` : nothing;
|
|
170
|
+
return html`${name}${bins}${funnel}${map}`;
|
|
171
|
+
}
|
|
7
172
|
var en = [
|
|
8
173
|
"Chart title",
|
|
9
174
|
"Chart type",
|
|
@@ -39,7 +204,40 @@ var en = [
|
|
|
39
204
|
"Treemap",
|
|
40
205
|
"Sunburst",
|
|
41
206
|
"Funnel",
|
|
42
|
-
"Map"
|
|
207
|
+
"Map",
|
|
208
|
+
"Series name",
|
|
209
|
+
"Pareto line",
|
|
210
|
+
"Visible",
|
|
211
|
+
"Axis title",
|
|
212
|
+
"Major gridlines",
|
|
213
|
+
"Minor gridlines",
|
|
214
|
+
"Number format",
|
|
215
|
+
"Display units",
|
|
216
|
+
"Category axis",
|
|
217
|
+
"Value axis",
|
|
218
|
+
"Percentage axis",
|
|
219
|
+
"Automatic",
|
|
220
|
+
"Hundreds",
|
|
221
|
+
"Thousands",
|
|
222
|
+
"Millions",
|
|
223
|
+
"Billions",
|
|
224
|
+
"By category",
|
|
225
|
+
"Overflow bin",
|
|
226
|
+
"Underflow bin",
|
|
227
|
+
"Gap width",
|
|
228
|
+
"Map projection",
|
|
229
|
+
"Map area",
|
|
230
|
+
"Map labels",
|
|
231
|
+
"Mercator",
|
|
232
|
+
"Miller",
|
|
233
|
+
"Robinson",
|
|
234
|
+
"Albers",
|
|
235
|
+
"Only regions with data",
|
|
236
|
+
"World",
|
|
237
|
+
"Best fit only",
|
|
238
|
+
"Show all",
|
|
239
|
+
"Pareto",
|
|
240
|
+
"Map outlines here are approximate. Office draws a new map only after it adds map data through its online service."
|
|
43
241
|
];
|
|
44
242
|
var dictionaries = {
|
|
45
243
|
en,
|
|
@@ -78,7 +276,40 @@ var dictionaries = {
|
|
|
78
276
|
"Treemap",
|
|
79
277
|
"Sunburst",
|
|
80
278
|
"Trichter",
|
|
81
|
-
"Karte"
|
|
279
|
+
"Karte",
|
|
280
|
+
"Datenreihenname",
|
|
281
|
+
"Pareto-Linie",
|
|
282
|
+
"Sichtbar",
|
|
283
|
+
"Achsentitel",
|
|
284
|
+
"Hauptgitternetzlinien",
|
|
285
|
+
"Hilfsgitternetzlinien",
|
|
286
|
+
"Zahlenformat",
|
|
287
|
+
"Anzeigeeinheiten",
|
|
288
|
+
"Rubrikenachse",
|
|
289
|
+
"Gr\xF6\xDFenachse",
|
|
290
|
+
"Prozentachse",
|
|
291
|
+
"Automatisch",
|
|
292
|
+
"Hunderter",
|
|
293
|
+
"Tausender",
|
|
294
|
+
"Millionen",
|
|
295
|
+
"Milliarden",
|
|
296
|
+
"Nach Kategorie",
|
|
297
|
+
"\xDCberlaufklasse",
|
|
298
|
+
"Unterlaufklasse",
|
|
299
|
+
"Abstandsbreite",
|
|
300
|
+
"Kartenprojektion",
|
|
301
|
+
"Kartenbereich",
|
|
302
|
+
"Kartenbeschriftungen",
|
|
303
|
+
"Mercator",
|
|
304
|
+
"Miller",
|
|
305
|
+
"Robinson",
|
|
306
|
+
"Albers",
|
|
307
|
+
"Nur Regionen mit Daten",
|
|
308
|
+
"Welt",
|
|
309
|
+
"Nur optimale Anpassung",
|
|
310
|
+
"Alle anzeigen",
|
|
311
|
+
"Pareto",
|
|
312
|
+
"Die Kartenumrisse sind hier angen\xE4hert. Office zeichnet eine neue Karte erst, nachdem es \xFCber seinen Onlinedienst Kartendaten hinzugef\xFCgt hat."
|
|
82
313
|
],
|
|
83
314
|
fr: [
|
|
84
315
|
"Titre du graphique",
|
|
@@ -115,7 +346,40 @@ var dictionaries = {
|
|
|
115
346
|
"Compartimentage",
|
|
116
347
|
"Rayons de soleil",
|
|
117
348
|
"Entonnoir",
|
|
118
|
-
"Carte"
|
|
349
|
+
"Carte",
|
|
350
|
+
"Nom de la s\xE9rie",
|
|
351
|
+
"Courbe de Pareto",
|
|
352
|
+
"Visible",
|
|
353
|
+
"Titre de l\u2019axe",
|
|
354
|
+
"Quadrillage principal",
|
|
355
|
+
"Quadrillage secondaire",
|
|
356
|
+
"Format de nombre",
|
|
357
|
+
"Unit\xE9s d\u2019affichage",
|
|
358
|
+
"Axe des abscisses",
|
|
359
|
+
"Axe des ordonn\xE9es",
|
|
360
|
+
"Axe des pourcentages",
|
|
361
|
+
"Automatique",
|
|
362
|
+
"Centaines",
|
|
363
|
+
"Milliers",
|
|
364
|
+
"Millions",
|
|
365
|
+
"Milliards",
|
|
366
|
+
"Par cat\xE9gorie",
|
|
367
|
+
"Classe de d\xE9passement sup\xE9rieur",
|
|
368
|
+
"Classe de d\xE9passement inf\xE9rieur",
|
|
369
|
+
"Largeur de l\u2019intervalle",
|
|
370
|
+
"Projection cartographique",
|
|
371
|
+
"Zone cartographique",
|
|
372
|
+
"\xC9tiquettes de carte",
|
|
373
|
+
"Mercator",
|
|
374
|
+
"Miller",
|
|
375
|
+
"Robinson",
|
|
376
|
+
"Albers",
|
|
377
|
+
"Uniquement les r\xE9gions avec des donn\xE9es",
|
|
378
|
+
"Monde",
|
|
379
|
+
"Ajustement optimal uniquement",
|
|
380
|
+
"Afficher tout",
|
|
381
|
+
"Pareto",
|
|
382
|
+
"Les contours de la carte sont approximatifs ici. Office ne dessine une nouvelle carte qu\u2019apr\xE8s y avoir ajout\xE9 des donn\xE9es cartographiques via son service en ligne."
|
|
119
383
|
],
|
|
120
384
|
es: [
|
|
121
385
|
"T\xEDtulo del gr\xE1fico",
|
|
@@ -152,7 +416,40 @@ var dictionaries = {
|
|
|
152
416
|
"Rect\xE1ngulos",
|
|
153
417
|
"Proyecci\xF3n solar",
|
|
154
418
|
"Embudo",
|
|
155
|
-
"Mapa"
|
|
419
|
+
"Mapa",
|
|
420
|
+
"Nombre de la serie",
|
|
421
|
+
"L\xEDnea de Pareto",
|
|
422
|
+
"Visible",
|
|
423
|
+
"T\xEDtulo del eje",
|
|
424
|
+
"L\xEDneas de divisi\xF3n principales",
|
|
425
|
+
"L\xEDneas de divisi\xF3n secundarias",
|
|
426
|
+
"Formato de n\xFAmero",
|
|
427
|
+
"Unidades de visualizaci\xF3n",
|
|
428
|
+
"Eje de categor\xEDas",
|
|
429
|
+
"Eje de valores",
|
|
430
|
+
"Eje de porcentaje",
|
|
431
|
+
"Autom\xE1tico",
|
|
432
|
+
"Centenas",
|
|
433
|
+
"Miles",
|
|
434
|
+
"Millones",
|
|
435
|
+
"Miles de millones",
|
|
436
|
+
"Por categor\xEDa",
|
|
437
|
+
"Discretizaci\xF3n de desbordamiento",
|
|
438
|
+
"Discretizaci\xF3n de subdesbordamiento",
|
|
439
|
+
"Ancho del intervalo",
|
|
440
|
+
"Proyecci\xF3n de mapa",
|
|
441
|
+
"\xC1rea del mapa",
|
|
442
|
+
"Etiquetas de mapa",
|
|
443
|
+
"Mercator",
|
|
444
|
+
"Miller",
|
|
445
|
+
"Robinson",
|
|
446
|
+
"Albers",
|
|
447
|
+
"Solo regiones con datos",
|
|
448
|
+
"Mundo",
|
|
449
|
+
"Solo mejor ajuste",
|
|
450
|
+
"Mostrar todo",
|
|
451
|
+
"Pareto",
|
|
452
|
+
"Aqu\xED los contornos del mapa son aproximados. Office dibuja un mapa nuevo solo despu\xE9s de a\xF1adirle datos de mapa mediante su servicio en l\xEDnea."
|
|
156
453
|
],
|
|
157
454
|
"zh-CN": [
|
|
158
455
|
"\u56FE\u8868\u6807\u9898",
|
|
@@ -189,7 +486,40 @@ var dictionaries = {
|
|
|
189
486
|
"\u6811\u72B6\u56FE",
|
|
190
487
|
"\u65ED\u65E5\u56FE",
|
|
191
488
|
"\u6F0F\u6597\u56FE",
|
|
192
|
-
"\u5730\u56FE"
|
|
489
|
+
"\u5730\u56FE",
|
|
490
|
+
"\u7CFB\u5217\u540D\u79F0",
|
|
491
|
+
"\u6392\u5217\u7EBF",
|
|
492
|
+
"\u53EF\u89C1",
|
|
493
|
+
"\u5750\u6807\u8F74\u6807\u9898",
|
|
494
|
+
"\u4E3B\u8981\u7F51\u683C\u7EBF",
|
|
495
|
+
"\u6B21\u8981\u7F51\u683C\u7EBF",
|
|
496
|
+
"\u6570\u5B57\u683C\u5F0F",
|
|
497
|
+
"\u663E\u793A\u5355\u4F4D",
|
|
498
|
+
"\u5206\u7C7B\u8F74",
|
|
499
|
+
"\u6570\u503C\u8F74",
|
|
500
|
+
"\u767E\u5206\u6BD4\u8F74",
|
|
501
|
+
"\u81EA\u52A8",
|
|
502
|
+
"\u767E",
|
|
503
|
+
"\u5343",
|
|
504
|
+
"\u767E\u4E07",
|
|
505
|
+
"\u5341\u4EBF",
|
|
506
|
+
"\u6309\u7C7B\u522B",
|
|
507
|
+
"\u6EA2\u51FA\u7BB1",
|
|
508
|
+
"\u4E0B\u6EA2\u7BB1",
|
|
509
|
+
"\u95F4\u9699\u5BBD\u5EA6",
|
|
510
|
+
"\u5730\u56FE\u6295\u5F71",
|
|
511
|
+
"\u5730\u56FE\u533A\u57DF",
|
|
512
|
+
"\u5730\u56FE\u6807\u7B7E",
|
|
513
|
+
"\u58A8\u5361\u6258",
|
|
514
|
+
"\u7C73\u52D2",
|
|
515
|
+
"\u7F57\u5BBE\u68EE",
|
|
516
|
+
"\u963F\u5C14\u4F2F\u65AF",
|
|
517
|
+
"\u4EC5\u9650\u5305\u542B\u6570\u636E\u7684\u533A\u57DF",
|
|
518
|
+
"\u4E16\u754C",
|
|
519
|
+
"\u4EC5\u6700\u4F73\u5339\u914D",
|
|
520
|
+
"\u5168\u90E8\u663E\u793A",
|
|
521
|
+
"\u6392\u5217\u56FE",
|
|
522
|
+
"\u6B64\u5904\u7684\u5730\u56FE\u8F6E\u5ED3\u4E3A\u8FD1\u4F3C\u503C\u3002Office \u4EC5\u5728\u901A\u8FC7\u5176\u8054\u673A\u670D\u52A1\u6DFB\u52A0\u5730\u56FE\u6570\u636E\u540E\u624D\u4F1A\u7ED8\u5236\u65B0\u5730\u56FE\u3002"
|
|
193
523
|
]
|
|
194
524
|
};
|
|
195
525
|
function chartExOptionsText(locale, key) {
|
|
@@ -241,6 +571,15 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
241
571
|
}}
|
|
242
572
|
/></label>`;
|
|
243
573
|
}
|
|
574
|
+
host() {
|
|
575
|
+
return {
|
|
576
|
+
t: (key) => this.t(key),
|
|
577
|
+
send: (action) => this.send(action),
|
|
578
|
+
disabled: this.disabled,
|
|
579
|
+
check: (key, value, change) => this.check(key, value, change),
|
|
580
|
+
number: (key, value, change) => this.number(key, value, change)
|
|
581
|
+
};
|
|
582
|
+
}
|
|
244
583
|
render() {
|
|
245
584
|
const space = this.space;
|
|
246
585
|
if (!space) return nothing;
|
|
@@ -250,9 +589,11 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
250
589
|
const options = series.layoutProperties;
|
|
251
590
|
const axisIndex = Math.min(this.axisIndex, Math.max(0, space.plotArea.axes.length - 1));
|
|
252
591
|
const numeric = space.plotArea.axes[axisIndex];
|
|
592
|
+
const family = chartExFamilyOf(space) ?? "waterfall";
|
|
253
593
|
const layoutNames = {
|
|
254
594
|
waterfall: "Waterfall",
|
|
255
595
|
clusteredColumn: "Histogram",
|
|
596
|
+
pareto: "Pareto",
|
|
256
597
|
boxWhisker: "Box and Whisker",
|
|
257
598
|
treemap: "Treemap",
|
|
258
599
|
sunburst: "Sunburst",
|
|
@@ -283,10 +624,10 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
283
624
|
<label
|
|
284
625
|
>${this.t("Chart type")}<select
|
|
285
626
|
aria-label=${this.t("Chart type")}
|
|
286
|
-
.value=${live(
|
|
627
|
+
.value=${live(family)}
|
|
287
628
|
?disabled=${this.disabled}
|
|
288
629
|
@change=${(e) => this.send({ op: "layout", layout: e.target.value })}
|
|
289
|
-
>${
|
|
630
|
+
>${CHART_EX_FAMILIES.filter((layout) => layout !== "regionMap" || family === "regionMap").map((layout) => html`<option value=${layout}>${this.t(layoutNames[layout])}</option>`)}</select
|
|
290
631
|
></label
|
|
291
632
|
>
|
|
292
633
|
<label
|
|
@@ -297,11 +638,11 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
297
638
|
this.seriesIndex = Number(e.target.value);
|
|
298
639
|
this.requestUpdate();
|
|
299
640
|
}}
|
|
300
|
-
>${space.plotArea.series.map((series2, i) => html`<option value=${i}>${series2.tx?.value ?? series2.tx?.rich?.text ?? i + 1}</option>`)}</select
|
|
641
|
+
>${space.plotArea.series.map((series2, i) => html`<option value=${i}>${series2.ownerIndex !== void 0 && series2.layoutId === "paretoLine" ? this.t("Pareto line") : series2.tx?.value ?? series2.tx?.rich?.text ?? i + 1}</option>`)}</select
|
|
301
642
|
></label
|
|
302
643
|
>
|
|
303
644
|
<button
|
|
304
|
-
?disabled=${this.disabled || !["boxWhisker", "clusteredColumn"].includes(series.layoutId)}
|
|
645
|
+
?disabled=${this.disabled || family === "pareto" || !["boxWhisker", "clusteredColumn"].includes(series.layoutId)}
|
|
305
646
|
@click=${() => this.send({ op: "addSeries", name: `${this.t("Series")} ${space.plotArea.series.length + 1}`, templateIndex: index })}
|
|
306
647
|
>${this.t("Add series")}</button
|
|
307
648
|
>
|
|
@@ -310,6 +651,7 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
310
651
|
@click=${() => this.send({ op: "removeSeries", seriesIndex: index })}
|
|
311
652
|
>${this.t("Remove series")}</button
|
|
312
653
|
>
|
|
654
|
+
${chartExSeriesOptions(this.host(), space, index)}
|
|
313
655
|
${series.layoutId === "waterfall" ? html`<fieldset
|
|
314
656
|
><legend>${this.t("Waterfall")}</legend>
|
|
315
657
|
${this.check("Connector lines", options?.visibility?.connectorLines ?? true, (value2) => this.send({ op: "waterfall", seriesIndex: index, options: { connectorLines: value2 } }))}
|
|
@@ -319,8 +661,8 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
319
661
|
.value=${live((options?.subtotals ?? []).join(", "))}
|
|
320
662
|
?disabled=${this.disabled}
|
|
321
663
|
@change=${(e) => {
|
|
322
|
-
const
|
|
323
|
-
const subtotals =
|
|
664
|
+
const text2 = e.target.value;
|
|
665
|
+
const subtotals = text2.trim() ? text2.split(",").map((v) => Number(v.trim())) : [];
|
|
324
666
|
if (subtotals.every((n) => Number.isSafeInteger(n) && n >= 0 && n < points))
|
|
325
667
|
this.send({ op: "waterfall", seriesIndex: index, options: { subtotals } });
|
|
326
668
|
}} /></label
|
|
@@ -379,7 +721,7 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
379
721
|
this.axisIndex = Number(e.target.value);
|
|
380
722
|
this.requestUpdate();
|
|
381
723
|
}}
|
|
382
|
-
>${space.plotArea.axes.map((axis, i) => html`<option value=${i}>${axis.id ?? i + 1}</option>`)}</select
|
|
724
|
+
>${space.plotArea.axes.map((axis, i) => html`<option value=${i}>${this.t(axis.scaling?.kind === "cat" ? "Category axis" : axis.units?.unit === "percentage" ? "Percentage axis" : "Value axis")} ${axis.id ?? i + 1}</option>`)}</select
|
|
383
725
|
>${numeric?.scaling?.kind === "val" ? html`${this.number("Minimum", value("min"), (n) => scale("min", n))}${this.number("Maximum", value("max"), (n) => scale("max", n))}${this.number(
|
|
384
726
|
"Major unit",
|
|
385
727
|
value("majorUnit"),
|
|
@@ -388,7 +730,7 @@ var OfficeUiChartExOptions = class extends OfficeElement {
|
|
|
388
730
|
}
|
|
389
731
|
)}${this.number("Minor unit", value("minorUnit"), (n) => {
|
|
390
732
|
if (n === void 0 || n > 0) scale("minorUnit", n);
|
|
391
|
-
})}` : nothing}${this.check("Show tick labels", !!numeric?.tickLabels, (show) => this.send({ op: "tickLabels", axisIndex, visible: show }))}</fieldset
|
|
733
|
+
})}` : nothing}${this.check("Show tick labels", !!numeric?.tickLabels, (show) => this.send({ op: "tickLabels", axisIndex, visible: show }))}${chartExAxisOptions(this.host(), space, axisIndex)}</fieldset
|
|
392
734
|
>` : nothing}
|
|
393
735
|
<fieldset
|
|
394
736
|
><legend>${this.t("Point label")}</legend
|
|
@@ -439,9 +781,9 @@ function watchStatusWidth(element, onChange) {
|
|
|
439
781
|
observer.observe(element);
|
|
440
782
|
return () => observer.disconnect();
|
|
441
783
|
}
|
|
442
|
-
function compactPageText(
|
|
443
|
-
const numbers =
|
|
444
|
-
return numbers && numbers.length === 2 ? numbers.join("/") :
|
|
784
|
+
function compactPageText(text2) {
|
|
785
|
+
const numbers = text2.match(/\d+/g);
|
|
786
|
+
return numbers && numbers.length === 2 ? numbers.join("/") : text2;
|
|
445
787
|
}
|
|
446
788
|
|
|
447
789
|
export { compactPageText, defineChartExOptions, statusLayout, watchStatusWidth };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineRibbonGroup, defineRibbonStack, defineButton, defineMenuItem, defineMenuButton } from './chunk-
|
|
1
|
+
import { defineRibbonGroup, defineRibbonStack, defineButton, defineMenuItem, defineMenuButton } from './chunk-7F5IZHKM.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,4 +1,4 @@
|
|
|
1
|
-
import { defineShareDialog, chartSpaceFormatSource, shareDialogLabels } from './chunk-
|
|
1
|
+
import { defineShareDialog, chartSpaceFormatSource, shareDialogLabels } from './chunk-7F5IZHKM.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';
|