ooxml-ui 1.24.0 → 1.26.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/README.md +83 -19
- package/custom-elements.json +355 -1
- package/dist/bindings/bind-element.d.ts +29 -0
- package/dist/bindings/contract.d.ts +115 -0
- package/dist/bindings/equality.d.ts +9 -0
- package/dist/bindings/handle.d.ts +33 -0
- package/dist/bindings/index.d.ts +6 -0
- package/dist/bindings/react.d.ts +21 -0
- package/dist/bindings/react.js +39 -0
- package/dist/bindings/solid.d.ts +14 -0
- package/dist/bindings/solid.js +27 -0
- package/dist/bindings/src-loader.d.ts +14 -0
- package/dist/bindings/tracker.d.ts +14 -0
- package/dist/bindings/vue.d.ts +35 -0
- package/dist/bindings/vue.js +65 -0
- package/dist/bindings.js +3 -0
- package/dist/chart/data-sheet-keys.d.ts +38 -0
- package/dist/chart/data-sheet-keys.d.ts.map +1 -0
- package/dist/chart/data-sheet-labels.d.ts +36 -0
- package/dist/chart/data-sheet-labels.d.ts.map +1 -0
- package/dist/chart/data-sheet.d.ts +68 -0
- package/dist/chart/data-sheet.d.ts.map +1 -0
- package/dist/chart/design-galleries.d.ts +52 -0
- package/dist/chart/design-galleries.d.ts.map +1 -0
- package/dist/chart/format-pane-3d.d.ts +7 -0
- package/dist/chart/format-pane-3d.d.ts.map +1 -0
- package/dist/chart/format-pane-api.d.ts +17 -0
- package/dist/chart/format-pane-api.d.ts.map +1 -0
- package/dist/chart/format-pane-axis.d.ts +5 -0
- package/dist/chart/format-pane-axis.d.ts.map +1 -0
- package/dist/chart/format-pane-common.d.ts +23 -0
- package/dist/chart/format-pane-common.d.ts.map +1 -0
- package/dist/{pptx/render/chart-format/chart-format-pane-effects.d.ts → chart/format-pane-effects.d.ts} +5 -11
- package/dist/chart/format-pane-effects.d.ts.map +1 -0
- package/dist/chart/format-pane-fields.d.ts +29 -0
- package/dist/chart/format-pane-fields.d.ts.map +1 -0
- package/dist/chart/format-pane-fill-kinds.d.ts +16 -0
- package/dist/chart/format-pane-fill-kinds.d.ts.map +1 -0
- package/dist/chart/format-pane-fill-line.d.ts +13 -0
- package/dist/chart/format-pane-fill-line.d.ts.map +1 -0
- package/dist/chart/format-pane-fixture.test-util.d.ts +3 -0
- package/dist/chart/format-pane-intent.d.ts +24 -0
- package/dist/chart/format-pane-intent.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/de.d.ts +3 -0
- package/dist/chart/format-pane-locales/de.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/en.d.ts +3 -0
- package/dist/chart/format-pane-locales/en.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/es.d.ts +3 -0
- package/dist/chart/format-pane-locales/es.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/fr.d.ts +3 -0
- package/dist/chart/format-pane-locales/fr.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/index.d.ts +7 -0
- package/dist/chart/format-pane-locales/index.d.ts.map +1 -0
- package/dist/chart/format-pane-locales/zh-CN.d.ts +3 -0
- package/dist/chart/format-pane-locales/zh-CN.d.ts.map +1 -0
- package/dist/chart/format-pane-model.d.ts +23 -0
- package/dist/chart/format-pane-model.d.ts.map +1 -0
- package/dist/chart/format-pane-options.d.ts +14 -0
- package/dist/chart/format-pane-options.d.ts.map +1 -0
- package/dist/chart/format-pane-space.d.ts +21 -0
- package/dist/chart/format-pane-space.d.ts.map +1 -0
- package/dist/chart/format-pane-targets.d.ts +25 -0
- package/dist/chart/format-pane-targets.d.ts.map +1 -0
- package/dist/chart/format-pane-text.d.ts +7 -0
- package/dist/chart/format-pane-text.d.ts.map +1 -0
- package/dist/chart/format-pane-translate.d.ts +10 -0
- package/dist/chart/format-pane-translate.d.ts.map +1 -0
- package/dist/chart/format-pane-types.d.ts +118 -0
- package/dist/chart/format-pane-types.d.ts.map +1 -0
- package/dist/chart/format-pane-view.d.ts +212 -0
- package/dist/chart/format-pane-view.d.ts.map +1 -0
- package/dist/chart/format-pane.d.ts +128 -0
- package/dist/chart/format-pane.d.ts.map +1 -0
- package/dist/chart/gallery-tiles.d.ts +23 -0
- package/dist/chart/gallery-tiles.d.ts.map +1 -0
- package/dist/chart-format-locales.js +1 -0
- package/dist/chunk-CDAXY5KC.js +118 -0
- package/dist/chunk-FN7IF6M6.js +25 -0
- package/dist/{chunk-4AARUBIF.js → chunk-HGLCXNCT.js} +50 -24
- package/dist/chunk-KJMAVPQB.js +53 -0
- package/dist/{chunk-A277D2OJ.js → chunk-KSOHDEUI.js} +1 -1
- package/dist/chunk-NDUD5JJB.js +79 -0
- package/dist/chunk-P4FRKIPE.js +953 -0
- package/dist/chunk-VM6ZTKB3.js +1134 -0
- package/dist/{chunk-DQEV4EMA.js → chunk-WDOWQKKC.js} +2722 -276
- package/dist/{chunk-Y67BTA5W.js → chunk-WH3EGA3S.js} +10 -3
- package/dist/controls.d.ts +9 -2
- package/dist/controls.d.ts.map +1 -1
- package/dist/controls.js +3 -1
- package/dist/dialog/dialog.d.ts +6 -0
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/dialog/progress-dialog.d.ts +42 -0
- package/dist/dialog/progress-dialog.d.ts.map +1 -0
- package/dist/docx/chart-commands.d.ts +22 -0
- package/dist/docx/chart-design-ribbon.d.ts +4 -0
- package/dist/docx/chart-dialogs.d.ts +11 -0
- package/dist/docx/chart-format-pane.d.ts +22 -0
- package/dist/docx/context-menu-items.d.ts +2 -0
- package/dist/docx/editor-core.d.ts +3 -0
- package/dist/docx/format-dialogs.d.ts +4 -2
- package/dist/docx/image-media.d.ts +9 -1
- package/dist/docx/insert-controller.d.ts +5 -0
- package/dist/docx/locales/charts.d.ts +51 -0
- package/dist/docx/locales/en.d.ts +113 -0
- package/dist/docx/locales/smartart.d.ts +77 -0
- package/dist/docx/localization-strings.d.ts +113 -0
- package/dist/docx/resize-handle.d.ts +23 -0
- package/dist/docx/ribbon-action.d.ts +15 -0
- package/dist/docx/ribbon-icons.d.ts +13 -0
- package/dist/docx/smartart-commands.d.ts +26 -0
- package/dist/docx/smartart-controller.d.ts +35 -0
- package/dist/docx/smartart-design-ribbon.d.ts +7 -0
- package/dist/docx/smartart-dialog.d.ts +12 -0
- package/dist/docx/smartart-node-view.d.ts +6 -3
- package/dist/docx.js +1674 -546
- package/dist/form/color-grid.d.ts +8 -1
- package/dist/form/color-grid.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -5
- package/dist/pptx/ai/bridge-factory.d.ts +77 -0
- package/dist/pptx/ai/bridge-factory.d.ts.map +1 -0
- package/dist/pptx/ai/index.cjs +443 -164
- package/dist/pptx/ai/index.d.ts +4 -0
- package/dist/pptx/ai/index.d.ts.map +1 -1
- package/dist/pptx/ai/index.mjs +437 -165
- package/dist/pptx/ai/panel-controller.d.ts +104 -0
- package/dist/pptx/ai/panel-controller.d.ts.map +1 -0
- package/dist/pptx/{chart-3d-view-scene-RYL7F65H.cjs → chart-3d-view-scene-N7UQOYFI.cjs} +38 -38
- package/dist/pptx/{chart-3d-view-scene-CDIMM5T3.mjs → chart-3d-view-scene-ZUGA3DKM.mjs} +2 -2
- package/dist/pptx/{chunk-PIIYTRLE.mjs → chunk-34LEUH5R.mjs} +1 -1
- package/dist/pptx/{chunk-G3UVZ5FO.cjs → chunk-6KLPQQYP.cjs} +1 -0
- package/dist/pptx/{chunk-B5FR65LB.mjs → chunk-AMW2AR7J.mjs} +48 -2
- package/dist/pptx/chunk-CWHK7HF4.mjs +751 -0
- package/dist/pptx/{chunk-ZO43VVWQ.cjs → chunk-FM4C4MBJ.cjs} +49 -1
- package/dist/pptx/{chunk-LCB46TH2.cjs → chunk-H5IPNKX6.cjs} +12 -12
- package/dist/pptx/{chunk-SQQJLXTZ.cjs → chunk-HAO5PKWK.cjs} +8048 -4240
- package/dist/pptx/{chunk-3UOENEK7.mjs → chunk-IWUIGVWT.mjs} +7836 -4095
- package/dist/pptx/{chunk-ZNXKAINY.mjs → chunk-LB3A3GF6.mjs} +1150 -222
- package/dist/pptx/chunk-LUDEAPHZ.cjs +776 -0
- package/dist/pptx/{chunk-A2X5BP7J.cjs → chunk-OOQMIQT3.cjs} +1151 -221
- package/dist/pptx/chunk-WM5SW737.mjs +27 -0
- package/dist/pptx/{chunk-73OUATE4.mjs → chunk-WQA3KZRB.mjs} +1 -1
- package/dist/pptx/chunk-Y6DO6SVT.cjs +29 -0
- package/dist/pptx/dom/index.cjs +503 -1123
- package/dist/pptx/dom/index.d.ts +1 -0
- package/dist/pptx/dom/index.d.ts.map +1 -1
- package/dist/pptx/dom/index.mjs +12 -704
- package/dist/pptx/dom/smartart-insert-preview.d.ts +15 -0
- package/dist/pptx/dom/smartart-insert-preview.d.ts.map +1 -0
- package/dist/pptx/export/html2canvas-clone.cjs +10 -2
- package/dist/pptx/export/html2canvas-clone.d.ts +24 -0
- package/dist/pptx/export/html2canvas-clone.d.ts.map +1 -1
- 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/i18n/translations-en-chart-format.d.ts.map +1 -1
- package/dist/pptx/i18n/translations-en-galleries.d.ts.map +1 -1
- package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
- package/dist/pptx/index.cjs +3523 -3238
- package/dist/pptx/index.mjs +6 -5
- package/dist/pptx/render/autosave-inline-draft.d.ts +27 -0
- package/dist/pptx/render/autosave-inline-draft.d.ts.map +1 -0
- package/dist/pptx/render/autosave-policy.d.ts +6 -7
- package/dist/pptx/render/autosave-policy.d.ts.map +1 -1
- package/dist/pptx/render/autosave-tick.d.ts +6 -0
- package/dist/pptx/render/autosave-tick.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.d.ts +10 -2
- package/dist/pptx/render/chart-format/chart-format-pane-edit.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/chart-format-pane-model.d.ts +4 -2
- package/dist/pptx/render/chart-format/chart-format-pane-model.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/chart-format-pane-types.d.ts +4 -91
- package/dist/pptx/render/chart-format/chart-format-pane-types.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/chart-format-source.d.ts +14 -0
- package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -0
- package/dist/pptx/render/chart-format/chart-format-targets.d.ts +16 -19
- package/dist/pptx/render/chart-format/chart-format-targets.d.ts.map +1 -1
- package/dist/pptx/render/chart-format/index.d.ts +2 -1
- package/dist/pptx/render/chart-format/index.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-quick-action-styles.d.ts +4 -1
- package/dist/pptx/render/chart-quick-action-styles.d.ts.map +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/collaboration-provider.d.ts +80 -0
- package/dist/pptx/render/collaboration-provider.d.ts.map +1 -0
- package/dist/pptx/render/collaboration-yjs-session.d.ts +48 -0
- package/dist/pptx/render/collaboration-yjs-session.d.ts.map +1 -0
- package/dist/pptx/render/controller/autosave-controller.d.ts +133 -0
- package/dist/pptx/render/controller/autosave-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/autosave-recovery-controller.d.ts +68 -0
- package/dist/pptx/render/controller/autosave-recovery-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/collaboration-session-controller.d.ts +89 -0
- package/dist/pptx/render/controller/collaboration-session-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/controller.d.ts +44 -0
- package/dist/pptx/render/controller/controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/history-controller.d.ts +54 -0
- package/dist/pptx/render/controller/history-controller.d.ts.map +1 -0
- package/dist/pptx/render/controller/index.d.ts +17 -0
- package/dist/pptx/render/controller/index.d.ts.map +1 -0
- package/dist/pptx/render/customization/ribbon-control-catalog-tail.d.ts +2 -0
- package/dist/pptx/render/customization/ribbon-control-catalog-tail.d.ts.map +1 -1
- package/dist/pptx/render/customization/ribbon-control-catalog.d.ts +2 -0
- package/dist/pptx/render/customization/ribbon-control-catalog.d.ts.map +1 -1
- package/dist/pptx/render/editor-gesture-frames.d.ts +59 -0
- package/dist/pptx/render/editor-gesture-frames.d.ts.map +1 -0
- package/dist/pptx/render/editor-gestures.d.ts +39 -38
- package/dist/pptx/render/editor-gestures.d.ts.map +1 -1
- package/dist/pptx/render/editor-history.d.ts +1 -1
- package/dist/pptx/render/editor-history.d.ts.map +1 -1
- package/dist/pptx/render/editor-key-dispatch.d.ts +68 -0
- package/dist/pptx/render/editor-key-dispatch.d.ts.map +1 -0
- package/dist/pptx/render/effects-helpers.d.ts +8 -1
- package/dist/pptx/render/effects-helpers.d.ts.map +1 -1
- package/dist/pptx/render/effects-shadow-helpers.d.ts +7 -0
- package/dist/pptx/render/effects-shadow-helpers.d.ts.map +1 -1
- package/dist/pptx/render/export-progress.d.ts +12 -0
- package/dist/pptx/render/export-progress.d.ts.map +1 -1
- package/dist/pptx/render/group-press-target.d.ts +37 -0
- package/dist/pptx/render/group-press-target.d.ts.map +1 -0
- package/dist/pptx/render/index.d.ts +13 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/insert-chart-preview.d.ts +15 -0
- package/dist/pptx/render/insert-chart-preview.d.ts.map +1 -0
- package/dist/pptx/render/insert-chart.d.ts +21 -1
- package/dist/pptx/render/insert-chart.d.ts.map +1 -1
- package/dist/pptx/render/inspector/element-geometry-fields.d.ts +28 -0
- package/dist/pptx/render/inspector/element-geometry-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/index.d.ts +18 -0
- package/dist/pptx/render/inspector/index.d.ts.map +1 -0
- package/dist/pptx/render/inspector/inspector-field-model.d.ts +125 -0
- package/dist/pptx/render/inspector/inspector-field-model.d.ts.map +1 -0
- package/dist/pptx/render/inspector/shape-effect-fields-more.d.ts +8 -0
- package/dist/pptx/render/inspector/shape-effect-fields-more.d.ts.map +1 -0
- package/dist/pptx/render/inspector/shape-effect-fields.d.ts +27 -0
- package/dist/pptx/render/inspector/shape-effect-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/shape-effect-sections.d.ts +7 -0
- package/dist/pptx/render/inspector/shape-effect-sections.d.ts.map +1 -0
- package/dist/pptx/render/inspector/shape-line-fields.d.ts +20 -0
- package/dist/pptx/render/inspector/shape-line-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/text-box-fields.d.ts +24 -0
- package/dist/pptx/render/inspector/text-box-fields.d.ts.map +1 -0
- package/dist/pptx/render/options/viewer-options-apply.d.ts.map +1 -1
- package/dist/pptx/render/options/viewer-options.d.ts.map +1 -1
- package/dist/pptx/render/presentation-show-step.d.ts +105 -0
- package/dist/pptx/render/presentation-show-step.d.ts.map +1 -0
- package/dist/pptx/render/read-only-session.d.ts +120 -0
- package/dist/pptx/render/read-only-session.d.ts.map +1 -0
- package/dist/pptx/render/ribbon-galleries/chart-colors-gallery.d.ts +3 -2
- package/dist/pptx/render/ribbon-galleries/chart-colors-gallery.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/chart-quick-layout-gallery.d.ts +6 -3
- package/dist/pptx/render/ribbon-galleries/chart-quick-layout-gallery.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/chart-styles-gallery.d.ts +2 -1
- package/dist/pptx/render/ribbon-galleries/chart-styles-gallery.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/gallery-placements.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts +1 -1
- package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-colors-gallery.d.ts +0 -8
- package/dist/pptx/render/ribbon-galleries/smartart-colors-gallery.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-commands.d.ts +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-commands.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-gallery-patch.d.ts +4 -2
- package/dist/pptx/render/ribbon-galleries/smartart-gallery-patch.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-gallery-tiles.d.ts +3 -8
- package/dist/pptx/render/ribbon-galleries/smartart-gallery-tiles.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-layout-tiles.d.ts +7 -5
- package/dist/pptx/render/ribbon-galleries/smartart-layout-tiles.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-layouts-gallery.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-insert-state.d.ts +6 -0
- package/dist/pptx/render/ribbon-insert-state.d.ts.map +1 -1
- package/dist/pptx/render/smart-art-presets.d.ts +12 -6
- package/dist/pptx/render/smart-art-presets.d.ts.map +1 -1
- package/dist/pptx/render/smartart-text-pane-model.d.ts +59 -0
- package/dist/pptx/render/smartart-text-pane-model.d.ts.map +1 -0
- package/dist/pptx/render/span-snap-move.d.ts +32 -0
- package/dist/pptx/render/span-snap-move.d.ts.map +1 -0
- package/dist/pptx/render/theme-color-grid.d.ts +17 -0
- package/dist/pptx/render/theme-color-grid.d.ts.map +1 -1
- package/dist/pptx/render/viewer-event-payloads.d.ts +4 -4
- package/dist/pptx/smartart-insert-preview-5ZTZYAZR.cjs +48 -0
- package/dist/pptx/smartart-insert-preview-HMSNUWDO.mjs +39 -0
- package/dist/pptx/web-components/chart-data-sheet.d.ts +47 -0
- package/dist/pptx/web-components/chart-data-sheet.d.ts.map +1 -0
- package/dist/pptx/web-components/chart-format-pane.d.ts +7 -5
- package/dist/pptx/web-components/chart-format-pane.d.ts.map +1 -1
- package/dist/pptx/web-components/host-styles.d.ts.map +1 -1
- package/dist/pptx/web-components/index.d.ts +7 -0
- package/dist/pptx/web-components/index.d.ts.map +1 -1
- package/dist/pptx/web-components/insert-chart-dialog.d.ts +25 -0
- package/dist/pptx/web-components/insert-chart-dialog.d.ts.map +1 -0
- package/dist/pptx/web-components/insert-dialog-frame.d.ts +25 -0
- package/dist/pptx/web-components/insert-dialog-frame.d.ts.map +1 -0
- package/dist/pptx/web-components/insert-smartart-dialog.d.ts +26 -0
- package/dist/pptx/web-components/insert-smartart-dialog.d.ts.map +1 -0
- package/dist/pptx/web-components/mobile-insert.d.ts.map +1 -1
- package/dist/pptx/web-components/office-alias-types.d.ts +6 -1
- package/dist/pptx/web-components/office-alias-types.d.ts.map +1 -1
- package/dist/pptx/web-components/office-aliases.d.ts +5 -0
- package/dist/pptx/web-components/office-aliases.d.ts.map +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
- package/dist/pptx/web-components/ribbon-insert-view.d.ts.map +1 -1
- package/dist/pptx/web-components/smartart-text-pane.d.ts +38 -0
- package/dist/pptx/web-components/smartart-text-pane.d.ts.map +1 -0
- package/dist/smartart/galleries.d.ts +17 -0
- package/dist/smartart/smartart-picker.d.ts +97 -0
- package/dist/smartart/smartart-picker.d.ts.map +1 -0
- package/dist/smartart/smartart-text-pane-tools.d.ts +51 -0
- package/dist/smartart/smartart-text-pane-tools.d.ts.map +1 -0
- package/dist/smartart/smartart-text-pane.d.ts +121 -0
- package/dist/smartart/smartart-text-pane.d.ts.map +1 -0
- package/dist/smartart/text-pane-controller.d.ts +51 -0
- package/dist/smartart/tiles.d.ts +17 -0
- package/dist/smartart/tiles.d.ts.map +1 -0
- package/dist/smartart.d.ts +5 -0
- package/dist/smartart.js +2 -1
- package/dist/teams/app/bind.d.ts +30 -0
- package/dist/teams/app/index.d.ts +1 -1
- package/dist/teams.js +7 -2
- package/dist/visio/ribbon-action.d.ts +5 -2
- package/dist/visio/viewer-chart-editor.d.ts +38 -0
- package/dist/visio/viewer-insert.d.ts +7 -2
- package/dist/visio.js +197 -17
- package/dist/xlsx/chart-format-pane.d.ts +10 -0
- package/dist/xlsx/chart-format-source.d.ts +17 -0
- package/dist/xlsx/commands/chart-design.d.ts +55 -0
- package/dist/xlsx/dialogs/insert-smartart.d.ts +4 -0
- package/dist/xlsx/grid/smartart.d.ts +4 -1
- package/dist/xlsx/ribbon/tabs/contextual.d.ts +6 -0
- package/dist/xlsx/smartart-controller.d.ts +14 -0
- package/dist/xlsx.js +789 -468
- package/package.json +47 -4
- package/dist/chunk-QBXYGKPB.js +0 -224
- package/dist/pptx/render/chart-format/chart-format-pane-3d.d.ts +0 -13
- package/dist/pptx/render/chart-format/chart-format-pane-3d.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-axis.d.ts +0 -12
- package/dist/pptx/render/chart-format/chart-format-pane-axis.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-common.d.ts +0 -14
- package/dist/pptx/render/chart-format/chart-format-pane-common.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-effects.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-fill-kinds.d.ts +0 -15
- package/dist/pptx/render/chart-format/chart-format-pane-fill-kinds.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-fill-line.d.ts +0 -12
- package/dist/pptx/render/chart-format/chart-format-pane-fill-line.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-options.d.ts +0 -13
- package/dist/pptx/render/chart-format/chart-format-pane-options.d.ts.map +0 -1
- package/dist/pptx/render/chart-format/chart-format-pane-text.d.ts +0 -14
- package/dist/pptx/render/chart-format/chart-format-pane-text.d.ts.map +0 -1
- package/dist/pptx/render/ribbon-galleries/chart-color-palette-catalog.d.ts +0 -3
- package/dist/pptx/render/ribbon-galleries/chart-color-palette-catalog.d.ts.map +0 -1
- package/dist/pptx/render/ribbon-galleries/chart-gallery-tiles.d.ts +0 -24
- package/dist/pptx/render/ribbon-galleries/chart-gallery-tiles.d.ts.map +0 -1
- package/dist/pptx/render/ribbon-galleries/chart-quick-layout-catalog.d.ts +0 -22
- package/dist/pptx/render/ribbon-galleries/chart-quick-layout-catalog.d.ts.map +0 -1
- package/dist/pptx/web-components/chart-format-pane-fields.d.ts +0 -17
- package/dist/pptx/web-components/chart-format-pane-fields.d.ts.map +0 -1
- package/dist/xlsx/chart-area-pane.d.ts +0 -9
- package/dist/xlsx/chart-series-pane.d.ts +0 -8
- package/dist/xlsx/commands/chart-colors.d.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
"import": "./dist/icons.js",
|
|
53
53
|
"default": "./dist/icons.js"
|
|
54
54
|
},
|
|
55
|
+
"./chart-format-locales": {
|
|
56
|
+
"types": "./dist/chart/format-pane-locales/index.d.ts",
|
|
57
|
+
"import": "./dist/chart-format-locales.js",
|
|
58
|
+
"default": "./dist/chart-format-locales.js"
|
|
59
|
+
},
|
|
55
60
|
"./controls": {
|
|
56
61
|
"types": "./dist/controls.d.ts",
|
|
57
62
|
"import": "./dist/controls.js",
|
|
@@ -72,6 +77,26 @@
|
|
|
72
77
|
"import": "./dist/teams.js",
|
|
73
78
|
"default": "./dist/teams.js"
|
|
74
79
|
},
|
|
80
|
+
"./bindings": {
|
|
81
|
+
"types": "./dist/bindings/index.d.ts",
|
|
82
|
+
"import": "./dist/bindings.js",
|
|
83
|
+
"default": "./dist/bindings.js"
|
|
84
|
+
},
|
|
85
|
+
"./bindings/react": {
|
|
86
|
+
"types": "./dist/bindings/react.d.ts",
|
|
87
|
+
"import": "./dist/bindings/react.js",
|
|
88
|
+
"default": "./dist/bindings/react.js"
|
|
89
|
+
},
|
|
90
|
+
"./bindings/vue": {
|
|
91
|
+
"types": "./dist/bindings/vue.d.ts",
|
|
92
|
+
"import": "./dist/bindings/vue.js",
|
|
93
|
+
"default": "./dist/bindings/vue.js"
|
|
94
|
+
},
|
|
95
|
+
"./bindings/solid": {
|
|
96
|
+
"types": "./dist/bindings/solid.d.ts",
|
|
97
|
+
"import": "./dist/bindings/solid.js",
|
|
98
|
+
"default": "./dist/bindings/solid.js"
|
|
99
|
+
},
|
|
75
100
|
"./suite": {
|
|
76
101
|
"types": "./dist/suite/index.d.ts",
|
|
77
102
|
"import": "./dist/suite.js",
|
|
@@ -146,7 +171,7 @@
|
|
|
146
171
|
"dompurify": "^3.4.17",
|
|
147
172
|
"emf-converter": "4.21.0",
|
|
148
173
|
"lit": "^3.3.3",
|
|
149
|
-
"ooxml-core": "^1.
|
|
174
|
+
"ooxml-core": "^1.25.0",
|
|
150
175
|
"opentype.js": "^2.0.0",
|
|
151
176
|
"prosemirror-collab": "^1.3.1",
|
|
152
177
|
"prosemirror-commands": "^1.7.2",
|
|
@@ -163,21 +188,30 @@
|
|
|
163
188
|
"@ai-sdk/openai-compatible": "^3.0.70",
|
|
164
189
|
"@types/jsdom": "^30.0.0",
|
|
165
190
|
"@types/opentype.js": "^1.3.10",
|
|
191
|
+
"@types/react": "^19.3.0",
|
|
192
|
+
"@types/react-dom": "^19.3.0",
|
|
166
193
|
"@types/three": "^0.186.0",
|
|
167
194
|
"ai": "^7.0.142",
|
|
168
195
|
"fake-indexeddb": "^6.2.6",
|
|
169
196
|
"happy-dom": "^21.0.3",
|
|
170
197
|
"jsdom": "^30.1.3",
|
|
171
198
|
"jszip": "^3.10.2",
|
|
199
|
+
"react": "^19.3.1",
|
|
200
|
+
"react-dom": "^19.3.1",
|
|
201
|
+
"solid-js": "^1.9.17",
|
|
172
202
|
"tailwindcss": "^4.3.3",
|
|
173
203
|
"three": "^0.186.1",
|
|
174
204
|
"tsup": "^9.0.0",
|
|
175
205
|
"typescript": "^7.0.2",
|
|
176
|
-
"vitest": "^5.0.5"
|
|
206
|
+
"vitest": "^5.0.5",
|
|
207
|
+
"vue": "^3.5.44"
|
|
177
208
|
},
|
|
178
209
|
"peerDependencies": {
|
|
179
210
|
"ai": ">=6.0.0 <8",
|
|
180
|
-
"
|
|
211
|
+
"react": ">=18",
|
|
212
|
+
"solid-js": "^1.9.0",
|
|
213
|
+
"three": "^0.186.1",
|
|
214
|
+
"vue": "^3.5.0"
|
|
181
215
|
},
|
|
182
216
|
"peerDependenciesMeta": {
|
|
183
217
|
"three": {
|
|
@@ -185,6 +219,15 @@
|
|
|
185
219
|
},
|
|
186
220
|
"ai": {
|
|
187
221
|
"optional": true
|
|
222
|
+
},
|
|
223
|
+
"react": {
|
|
224
|
+
"optional": true
|
|
225
|
+
},
|
|
226
|
+
"solid-js": {
|
|
227
|
+
"optional": true
|
|
228
|
+
},
|
|
229
|
+
"vue": {
|
|
230
|
+
"optional": true
|
|
188
231
|
}
|
|
189
232
|
},
|
|
190
233
|
"engines": {
|
package/dist/chunk-QBXYGKPB.js
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import { OfficeElement, controlStyles, definer } from './chunk-QLHCGV4C.js';
|
|
2
|
-
import { html } from 'lit';
|
|
3
|
-
import { hexToRgbChannels } from 'ooxml-core/color';
|
|
4
|
-
import { resolveDrawingColor } from 'ooxml-core/diagram';
|
|
5
|
-
|
|
6
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
7
|
-
var EMU_PER_PX = 9525;
|
|
8
|
-
function colorToCss(color, scheme, report) {
|
|
9
|
-
if (!color) return void 0;
|
|
10
|
-
const resolved = resolveDrawingColor(color, { scheme: (name) => scheme[name] });
|
|
11
|
-
const unapplied = resolved?.unapplied ?? color.transforms.map((transform) => transform.name);
|
|
12
|
-
if (report && unapplied.length)
|
|
13
|
-
report.unappliedColorTransforms = [
|
|
14
|
-
.../* @__PURE__ */ new Set([...report.unappliedColorTransforms ?? [], ...unapplied])
|
|
15
|
-
];
|
|
16
|
-
if (resolved) {
|
|
17
|
-
if (resolved.alpha === 1) return resolved.hex;
|
|
18
|
-
const rgb = hexToRgbChannels(resolved.hex);
|
|
19
|
-
return `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, ${resolved.alpha})`;
|
|
20
|
-
}
|
|
21
|
-
if (color.kind === "preset")
|
|
22
|
-
return /^[a-z]+$/i.test(color.value) ? color.value.toLowerCase() : "#808080";
|
|
23
|
-
if (color.kind === "system" && !color.fallback) return void 0;
|
|
24
|
-
return "#9ca3af";
|
|
25
|
-
}
|
|
26
|
-
function fillToCss(fill, scheme, report) {
|
|
27
|
-
if (!fill) return "none";
|
|
28
|
-
if (fill.kind === "none") return "none";
|
|
29
|
-
if (fill.kind === "solid") return colorToCss(fill.color, scheme, report) ?? "none";
|
|
30
|
-
if (!report.approximatedFills.includes(fill.kind)) report.approximatedFills.push(fill.kind);
|
|
31
|
-
if (fill.kind === "gradient") return colorToCss(fill.stops[0]?.color, scheme, report) ?? "none";
|
|
32
|
-
return "#d1d5db";
|
|
33
|
-
}
|
|
34
|
-
function pathData(path, widthPx, heightPx) {
|
|
35
|
-
const sx = path.width ? widthPx / path.width : 1;
|
|
36
|
-
const sy = path.height ? heightPx / path.height : 1;
|
|
37
|
-
const x = (v) => +(v * sx).toFixed(2);
|
|
38
|
-
const y = (v) => +(v * sy).toFixed(2);
|
|
39
|
-
const out = [];
|
|
40
|
-
for (const c of path.commands) {
|
|
41
|
-
if (c.op === "M" || c.op === "L") out.push(`${c.op}${x(c.x)} ${y(c.y)}`);
|
|
42
|
-
else if (c.op === "C")
|
|
43
|
-
out.push(`C${x(c.x1)} ${y(c.y1)} ${x(c.x2)} ${y(c.y2)} ${x(c.x)} ${y(c.y)}`);
|
|
44
|
-
else if (c.op === "Q") out.push(`Q${x(c.x1)} ${y(c.y1)} ${x(c.x)} ${y(c.y)}`);
|
|
45
|
-
else if (c.op === "Z") out.push("Z");
|
|
46
|
-
}
|
|
47
|
-
return out.join("");
|
|
48
|
-
}
|
|
49
|
-
var hasArc = (shape) => Boolean(shape.paths?.some((p) => p.commands.some((c) => c.op === "A")));
|
|
50
|
-
function shapeElement(doc, shape, report) {
|
|
51
|
-
const { frame } = shape;
|
|
52
|
-
const w = frame.width / EMU_PER_PX;
|
|
53
|
-
const h = frame.height / EMU_PER_PX;
|
|
54
|
-
if (shape.paths?.length) {
|
|
55
|
-
const el = doc.createElementNS(SVG_NS, "g");
|
|
56
|
-
for (const path of shape.paths) {
|
|
57
|
-
const p = doc.createElementNS(SVG_NS, "path");
|
|
58
|
-
p.setAttribute("d", pathData(path, w, h));
|
|
59
|
-
el.append(p);
|
|
60
|
-
}
|
|
61
|
-
if (hasArc(shape) && !report.approximatedGeometries.includes("custom:arc")) {
|
|
62
|
-
report.approximatedGeometries.push("custom:arc");
|
|
63
|
-
}
|
|
64
|
-
return el;
|
|
65
|
-
}
|
|
66
|
-
if (shape.geometry === "ellipse") {
|
|
67
|
-
const e = doc.createElementNS(SVG_NS, "ellipse");
|
|
68
|
-
e.setAttribute("rx", String(w / 2));
|
|
69
|
-
e.setAttribute("ry", String(h / 2));
|
|
70
|
-
e.setAttribute("cx", String(w / 2));
|
|
71
|
-
e.setAttribute("cy", String(h / 2));
|
|
72
|
-
return e;
|
|
73
|
-
}
|
|
74
|
-
const rect = doc.createElementNS(SVG_NS, "rect");
|
|
75
|
-
rect.setAttribute("width", String(w));
|
|
76
|
-
rect.setAttribute("height", String(h));
|
|
77
|
-
if (shape.geometry === "roundRect") {
|
|
78
|
-
const adj = (shape.adjustments?.adj ?? 16667) / 1e5;
|
|
79
|
-
rect.setAttribute("rx", String(Math.min(w, h) * adj));
|
|
80
|
-
} else if (shape.geometry !== "rect" && !report.approximatedGeometries.includes(shape.geometry)) {
|
|
81
|
-
report.approximatedGeometries.push(shape.geometry);
|
|
82
|
-
rect.setAttribute("data-approximated", shape.geometry);
|
|
83
|
-
}
|
|
84
|
-
return rect;
|
|
85
|
-
}
|
|
86
|
-
function renderDiagramDrawing(doc, drawing, scheme = {}, fonts = {}) {
|
|
87
|
-
const report = {
|
|
88
|
-
shapeCount: drawing.shapes.length,
|
|
89
|
-
approximatedGeometries: [],
|
|
90
|
-
flattened3d: 0,
|
|
91
|
-
approximatedFills: []
|
|
92
|
-
};
|
|
93
|
-
const svg = doc.createElementNS(SVG_NS, "svg");
|
|
94
|
-
let right = 0;
|
|
95
|
-
let bottom = 0;
|
|
96
|
-
for (const shape of drawing.shapes) {
|
|
97
|
-
const { frame } = shape;
|
|
98
|
-
right = Math.max(right, (frame.x + frame.width) / EMU_PER_PX);
|
|
99
|
-
bottom = Math.max(bottom, (frame.y + frame.height) / EMU_PER_PX);
|
|
100
|
-
const group = doc.createElementNS(SVG_NS, "g");
|
|
101
|
-
group.dataset.modelId = shape.modelId;
|
|
102
|
-
const cx = frame.width / EMU_PER_PX / 2;
|
|
103
|
-
const cy = frame.height / EMU_PER_PX / 2;
|
|
104
|
-
const fx = shape.flipHorizontal ? -1 : 1;
|
|
105
|
-
const fy = shape.flipVertical ? -1 : 1;
|
|
106
|
-
const transform = [`translate(${frame.x / EMU_PER_PX} ${frame.y / EMU_PER_PX})`];
|
|
107
|
-
if (shape.rotation) transform.push(`rotate(${shape.rotation} ${cx} ${cy})`);
|
|
108
|
-
if (fx !== 1 || fy !== 1) {
|
|
109
|
-
transform.push(`translate(${cx} ${cy}) scale(${fx} ${fy}) translate(${-cx} ${-cy})`);
|
|
110
|
-
}
|
|
111
|
-
group.setAttribute("transform", transform.join(" "));
|
|
112
|
-
const body = shapeElement(doc, shape, report);
|
|
113
|
-
body.setAttribute("fill", fillToCss(shape.fill, scheme, report));
|
|
114
|
-
const stroke = shape.line?.fill?.kind === "solid" ? colorToCss(shape.line.fill.color, scheme, report) : void 0;
|
|
115
|
-
body.setAttribute("stroke", stroke ?? "none");
|
|
116
|
-
if (stroke)
|
|
117
|
-
body.setAttribute(
|
|
118
|
-
"stroke-width",
|
|
119
|
-
String(Math.max(0.5, (shape.line?.widthEmu ?? 9525) / EMU_PER_PX))
|
|
120
|
-
);
|
|
121
|
-
group.append(body);
|
|
122
|
-
if (shape.has3d) {
|
|
123
|
-
report.flattened3d += 1;
|
|
124
|
-
group.setAttribute("data-flattened-3d", "");
|
|
125
|
-
}
|
|
126
|
-
if (shape.text?.text) group.append(textElement(doc, shape, scheme, fonts, report));
|
|
127
|
-
svg.append(group);
|
|
128
|
-
}
|
|
129
|
-
svg.setAttribute("viewBox", `0 0 ${Math.max(right, 1)} ${Math.max(bottom, 1)}`);
|
|
130
|
-
return { svg, report };
|
|
131
|
-
}
|
|
132
|
-
function textElement(doc, shape, scheme, fonts, report) {
|
|
133
|
-
const frame = shape.textFrame ?? {
|
|
134
|
-
x: shape.frame.x,
|
|
135
|
-
y: shape.frame.y,
|
|
136
|
-
width: shape.frame.width,
|
|
137
|
-
height: shape.frame.height
|
|
138
|
-
};
|
|
139
|
-
const ox = (frame.x - shape.frame.x) / EMU_PER_PX;
|
|
140
|
-
const oy = (frame.y - shape.frame.y) / EMU_PER_PX;
|
|
141
|
-
const w = frame.width / EMU_PER_PX;
|
|
142
|
-
const h = frame.height / EMU_PER_PX;
|
|
143
|
-
const text = doc.createElementNS(SVG_NS, "text");
|
|
144
|
-
const first = shape.text?.paragraphs[0]?.runs[0];
|
|
145
|
-
const sizePx = (first?.sizePt ?? 12) * 96 / 72;
|
|
146
|
-
text.setAttribute("x", String(ox + w / 2));
|
|
147
|
-
text.setAttribute("y", String(oy + h / 2));
|
|
148
|
-
text.setAttribute("text-anchor", "middle");
|
|
149
|
-
text.setAttribute("dominant-baseline", "central");
|
|
150
|
-
text.setAttribute("font-size", String(sizePx));
|
|
151
|
-
text.setAttribute(
|
|
152
|
-
"fill",
|
|
153
|
-
colorToCss(first?.color ?? shape.style?.font?.color, scheme, report) ?? "currentColor"
|
|
154
|
-
);
|
|
155
|
-
if (first?.bold) text.setAttribute("font-weight", "700");
|
|
156
|
-
if (first?.italic) text.setAttribute("font-style", "italic");
|
|
157
|
-
const ref = shape.style?.font?.fontIndex;
|
|
158
|
-
const inherited = ref === "major" ? fonts.major : ref === "minor" ? fonts.minor : void 0;
|
|
159
|
-
const typeface = first?.typeface;
|
|
160
|
-
const font = typeface === "+mj-lt" ? fonts.major : typeface === "+mn-lt" ? fonts.minor : typeface ?? inherited;
|
|
161
|
-
if (font) text.setAttribute("font-family", font);
|
|
162
|
-
text.textContent = shape.text?.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join(" ") ?? "";
|
|
163
|
-
return text;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// raw-css:/home/runner/work/ooxml/ooxml/src/ui/src/smartart/smartart.css?raw
|
|
167
|
-
var smartart_default = ":host {\n display: block;\n}\nsvg {\n display: block;\n width: 100%;\n height: auto;\n max-height: 100%;\n}\ntext {\n pointer-events: none;\n}\ntext:not([font-family]) {\n font-family: var(--office-font);\n}\n.empty {\n padding: var(--office-space-2);\n font-size: var(--office-font-size-sm);\n color: var(--office-muted-foreground);\n}\n@media (forced-colors: active) {\n text {\n fill: CanvasText;\n }\n}\n";
|
|
168
|
-
|
|
169
|
-
// src/smartart/smartart.ts
|
|
170
|
-
var OfficeUiSmartArt = class extends OfficeElement {
|
|
171
|
-
static styles = controlStyles(smartart_default);
|
|
172
|
-
static properties = {
|
|
173
|
-
drawing: { attribute: false },
|
|
174
|
-
schemeColors: { attribute: false },
|
|
175
|
-
schemeFonts: { attribute: false },
|
|
176
|
-
label: { type: String }
|
|
177
|
-
};
|
|
178
|
-
figure;
|
|
179
|
-
lastReport;
|
|
180
|
-
constructor() {
|
|
181
|
-
super();
|
|
182
|
-
this.drawing = void 0;
|
|
183
|
-
this.schemeColors = {};
|
|
184
|
-
this.schemeFonts = {};
|
|
185
|
-
this.label = null;
|
|
186
|
-
}
|
|
187
|
-
/** The report of the last render (undefined while empty). */
|
|
188
|
-
get report() {
|
|
189
|
-
return this.lastReport;
|
|
190
|
-
}
|
|
191
|
-
/** The SVG is rebuilt only when the drawing or the scheme colours change. */
|
|
192
|
-
willUpdate(changed) {
|
|
193
|
-
if (changed.has("drawing") || changed.has("schemeColors") || changed.has("schemeFonts")) {
|
|
194
|
-
if (!this.drawing || this.drawing.shapes.length === 0) {
|
|
195
|
-
this.figure = void 0;
|
|
196
|
-
this.lastReport = void 0;
|
|
197
|
-
} else {
|
|
198
|
-
const { svg, report } = renderDiagramDrawing(
|
|
199
|
-
this.ownerDocument,
|
|
200
|
-
this.drawing,
|
|
201
|
-
this.schemeColors,
|
|
202
|
-
this.schemeFonts
|
|
203
|
-
);
|
|
204
|
-
svg.setAttribute("role", "img");
|
|
205
|
-
this.figure = svg;
|
|
206
|
-
this.lastReport = report;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
this.figure?.setAttribute("aria-label", this.label ?? "Diagram");
|
|
210
|
-
}
|
|
211
|
-
updated(changed) {
|
|
212
|
-
if (this.lastReport && (changed.has("drawing") || changed.has("schemeColors") || changed.has("schemeFonts")))
|
|
213
|
-
this.fire("office-smartart-render", this.lastReport);
|
|
214
|
-
}
|
|
215
|
-
render() {
|
|
216
|
-
if (this.figure) return this.figure;
|
|
217
|
-
return html`<div class="empty"
|
|
218
|
-
>${this.drawing ? "This diagram has no cached drawing to show." : ""}</div
|
|
219
|
-
>`;
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
var defineSmartArt = definer("office-ui-smartart", () => OfficeUiSmartArt);
|
|
223
|
-
|
|
224
|
-
export { OfficeUiSmartArt, defineSmartArt, renderDiagramDrawing };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The 3-D Format section of a chart Format pane's Effects tab: top and
|
|
3
|
-
* bottom bevel, depth, contour, material and lighting.
|
|
4
|
-
*
|
|
5
|
-
* @module render/chart-format/chart-format-pane-3d
|
|
6
|
-
*/
|
|
7
|
-
import type { PptxChartElementThreeD } from 'ooxml-core/pptx';
|
|
8
|
-
import type { ChartFormatSection } from './chart-format-pane-types.js';
|
|
9
|
-
/** `ST_BevelPresetType`, in PowerPoint's gallery order. */
|
|
10
|
-
export declare const CHART_BEVEL_TYPES: readonly ['circle', 'relaxedInset', 'cross', 'coolSlant', 'angle', 'softRound', 'convex', 'slope', 'divot', 'riblet', 'hardEdge', 'artDeco'];
|
|
11
|
-
/** The 3-D Format section for an element with `threeD` as its current 3-D settings. */
|
|
12
|
-
export declare function threeDSection(threeD: PptxChartElementThreeD): ChartFormatSection;
|
|
13
|
-
//# sourceMappingURL=chart-format-pane-3d.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-3d.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-3d.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAkB,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAG9E,OAAO,KAAK,EAGX,kBAAkB,EAClB,MAAM,2BAA2B,CAAC;AAEnC,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,YAC7B,QAAQ,EACR,cAAc,EACd,OAAO,EACP,WAAW,EACX,OAAO,EACP,WAAW,EACX,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,CACA,CAAC;AAwEX,uFAAuF;AACvF,wBAAgB,aAAa,CAAC,MAAM,EAAE,sBAAsB,GAAG,kBAAkB,CA+ChF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Axis Options tab of a chart Format pane: bounds, units, crossing,
|
|
3
|
-
* display units, log scale, order, tick marks, label position and number
|
|
4
|
-
* format.
|
|
5
|
-
*
|
|
6
|
-
* @module render/chart-format/chart-format-pane-axis
|
|
7
|
-
*/
|
|
8
|
-
import type { PptxChartData } from 'ooxml-core/pptx';
|
|
9
|
-
import type { ChartFormatSection } from './chart-format-pane-types.js';
|
|
10
|
-
/** Axis Options, Tick Marks, Labels and Number sections for `data.axes[axisIndex]`. */
|
|
11
|
-
export declare function axisOptions(data: PptxChartData, axisIndex: number): ChartFormatSection[];
|
|
12
|
-
//# sourceMappingURL=chart-format-pane-axis.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-axis.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-axis.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAyBtF,uFAAuF;AACvF,wBAAgB,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,GAAG,kBAAkB,EAAE,CA0IxF"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Caption and colour helpers every chart Format pane section shares.
|
|
3
|
-
*
|
|
4
|
-
* @module render/chart-format/chart-format-pane-common
|
|
5
|
-
*/
|
|
6
|
-
import type { ChartFormatChoice } from './chart-format-pane-types.js';
|
|
7
|
-
import type { ChartFormatText } from './chart-format-targets.js';
|
|
8
|
-
export declare const t: (key: string, fallback: string) => ChartFormatText;
|
|
9
|
-
export declare const choice: (value: string, key: string, fallback: string, extra?: Partial<ChartFormatChoice>) => ChartFormatChoice;
|
|
10
|
-
/** Percent 0..100 for display. */
|
|
11
|
-
export declare const pct: (value: number | undefined) => number;
|
|
12
|
-
/** `#RRGGBB` for an `<input type=color>`; unknown colours fall back to black. */
|
|
13
|
-
export declare function hexForInput(color: string | undefined, fallback?: string): string;
|
|
14
|
-
//# sourceMappingURL=chart-format-pane-common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-common.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,CAAC,QAAS,MAAM,YAAY,MAAM,KAAG,eAGhD,CAAC;AAEH,eAAO,MAAM,MAAM,UACX,MAAM,OACR,MAAM,YACD,MAAM,UACR,OAAO,CAAC,iBAAiB,CAAC,KAChC,iBAAmE,CAAC;AAEvE,kCAAkC;AAClC,eAAO,MAAM,GAAG,UAAW,MAAM,GAAG,SAAS,KAAG,MAAgC,CAAC;AAEjF,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,SAAY,GAAG,MAAM,CAKnF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-effects.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-effects.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAI9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,qFAAqF;AACrF,eAAO,MAAM,oBAAoB;aAChC,KAAK,EAAE,SAAS;aAChB,YAAY,EAAE,EAAE;aAChB,IAAI,EAAE,CAAC;aACP,QAAQ,EAAE,CAAC;aACX,KAAK,EAAE,EAAE;CACA,CAAC;AAEX,kFAAkF;AAClF,eAAO,MAAM,kBAAkB;aAAK,KAAK,EAAE,SAAS;aAAE,YAAY,EAAE,EAAE;aAAE,MAAM,EAAE,CAAC;CAAW,CAAC;AAqB7F,KAAK,OAAO,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAEjD,8FAA8F;AAC9F,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAmC3F;AAED,+DAA+D;AAC/D,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,kBAAkB,CAiCrF;AAED,kCAAkC;AAClC,wBAAgB,eAAe,CAAC,IAAI,EAAE,sBAAsB,GAAG,kBAAkB,EAAE,CAWlF"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The detail fields of the gradient, pattern and picture choices of a chart
|
|
3
|
-
* Format pane's Fill, Line and Text Fill sections.
|
|
4
|
-
*
|
|
5
|
-
* @module render/chart-format/chart-format-pane-fill-kinds
|
|
6
|
-
*/
|
|
7
|
-
import type { PptxChartGradientFill, PptxChartPatternFill, PptxChartPictureFill } from 'ooxml-core/pptx';
|
|
8
|
-
import type { ChartFormatField } from './chart-format-pane-types.js';
|
|
9
|
-
/** Type, stops and angle of a gradient; field ids are `${prefix}.gradient*`. */
|
|
10
|
-
export declare function gradientFields(prefix: string, gradient: PptxChartGradientFill): ChartFormatField[];
|
|
11
|
-
/** Preset, foreground and background of a pattern fill. */
|
|
12
|
-
export declare function patternFields(pattern: PptxChartPatternFill): ChartFormatField[];
|
|
13
|
-
/** Picture source, transparency and tiling of a picture fill. */
|
|
14
|
-
export declare function pictureFields(picture: PptxChartPictureFill | undefined): ChartFormatField[];
|
|
15
|
-
//# sourceMappingURL=chart-format-pane-fill-kinds.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-fill-kinds.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-fill-kinds.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACX,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,gFAAgF;AAChF,wBAAgB,cAAc,CAC7B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,qBAAqB,GAC7B,gBAAgB,EAAE,CAuCpB;AAED,2DAA2D;AAC3D,wBAAgB,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,gBAAgB,EAAE,CAyB/E;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,GAAG,gBAAgB,EAAE,CAgC3F"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Fill & Line tab of a chart Format pane.
|
|
3
|
-
*
|
|
4
|
-
* @module render/chart-format/chart-format-pane-fill-line
|
|
5
|
-
*/
|
|
6
|
-
import type { ChartElementFormatView, PptxChartFormatTarget } from 'ooxml-core/pptx';
|
|
7
|
-
import type { ChartFormatSection } from './chart-format-pane-types.js';
|
|
8
|
-
export { choice, hexForInput, t } from './chart-format-pane-common.js';
|
|
9
|
-
export declare const ARROWS: Array<[string, string]>;
|
|
10
|
-
/** The Fill & Line tab's sections. */
|
|
11
|
-
export declare function fillLineSections(view: ChartElementFormatView, target: PptxChartFormatTarget): ChartFormatSection[];
|
|
12
|
-
//# sourceMappingURL=chart-format-pane-fill-line.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-fill-line.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-fill-line.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAIrF,OAAO,KAAK,EAAqB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EAAE,MAAM,4BAA4B,CAAC;AA6BpE,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAO1C,CAAC;AA6KF,sCAAsC;AACtC,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,sBAAsB,EAC5B,MAAM,EAAE,qBAAqB,GAC3B,kBAAkB,EAAE,CAGtB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The element-specific Options tab of a chart Format pane: Series Options,
|
|
3
|
-
* Axis Options, Legend Options and Label Options.
|
|
4
|
-
*
|
|
5
|
-
* @module render/chart-format/chart-format-pane-options
|
|
6
|
-
*/
|
|
7
|
-
import type { PptxChartData, PptxChartFormatTarget } from 'ooxml-core/pptx';
|
|
8
|
-
import type { ChartFormatSection } from './chart-format-pane-types.js';
|
|
9
|
-
/** The Options tab's sections for `target`, or `[]` when the target has no options. */
|
|
10
|
-
export declare function optionsSections(data: PptxChartData, target: PptxChartFormatTarget): ChartFormatSection[];
|
|
11
|
-
/** Whether `target` has an Options tab. */
|
|
12
|
-
export declare function hasOptionsTab(target: PptxChartFormatTarget): boolean;
|
|
13
|
-
//# sourceMappingURL=chart-format-pane-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-options.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-options.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAiB,MAAM,iBAAiB,CAAC;AAI3F,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AA0NtF,uFAAuF;AACvF,wBAAgB,eAAe,CAC9B,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,qBAAqB,GAC3B,kBAAkB,EAAE,CAatB;AAED,2CAA2C;AAC3C,wBAAgB,aAAa,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAOpE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Text Options half of a chart Format pane (Text Fill & Outline, Text
|
|
3
|
-
* Effects and Textbox), for the chart area, title, legend, axis labels and
|
|
4
|
-
* data labels. Field ids start with `text.`.
|
|
5
|
-
*
|
|
6
|
-
* @module render/chart-format/chart-format-pane-text
|
|
7
|
-
*/
|
|
8
|
-
import type { ChartElementFormatView } from 'ooxml-core/pptx';
|
|
9
|
-
import type { ChartFormatSection, ChartFormatTab } from './chart-format-pane-types.js';
|
|
10
|
-
/** The Text Options tabs, in PowerPoint's order. */
|
|
11
|
-
export declare function chartTextTabs(): ChartFormatTab[];
|
|
12
|
-
/** The sections of Text Options tab `tab`. */
|
|
13
|
-
export declare function textOptionsSections(view: ChartElementFormatView, tab: 'textFill' | 'textEffects' | 'textBox'): ChartFormatSection[];
|
|
14
|
-
//# sourceMappingURL=chart-format-pane-text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-text.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/chart-format/chart-format-pane-text.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAK9D,OAAO,KAAK,EAEX,kBAAkB,EAClB,cAAc,EACd,MAAM,2BAA2B,CAAC;AAEnC,oDAAoD;AACpD,wBAAgB,aAAa,IAAI,cAAc,EAAE,CAMhD;AAmID,8CAA8C;AAC9C,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,sBAAsB,EAC5B,GAAG,EAAE,UAAU,GAAG,aAAa,GAAG,SAAS,GACzC,kBAAkB,EAAE,CAQtB"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/** Compatibility exports: the shared chart palette catalog lives in strict core. */
|
|
2
|
-
export { CHART_COLOR_PALETTES, chartPaletteColors, chartPaletteSeriesColor, findChartColorPalette, withinLinearTransform, type ChartColorPalette, } from 'ooxml-core/chart';
|
|
3
|
-
//# sourceMappingURL=chart-color-palette-catalog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-color-palette-catalog.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/chart-color-palette-catalog.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,OAAO,EACN,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,GACtB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { swatchStripSvg } from '../../../ribbon/color-preview.js';
|
|
2
|
-
/** A clustered column chart: three categories of `colors.length` (max 4) bars. */
|
|
3
|
-
export declare function columnChartTileSvg(colors: readonly string[], size: {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}): string;
|
|
7
|
-
/** The elements a Quick Layout switches on, as its schematic tile draws them. */
|
|
8
|
-
export interface ChartLayoutSketch {
|
|
9
|
-
title: boolean;
|
|
10
|
-
legend: 'r' | 't' | 'b' | 'l' | null;
|
|
11
|
-
dataLabels: boolean;
|
|
12
|
-
catAxisTitle: boolean;
|
|
13
|
-
valAxisTitle: boolean;
|
|
14
|
-
majorGridlines: boolean;
|
|
15
|
-
minorGridlines: boolean;
|
|
16
|
-
valueAxis: boolean;
|
|
17
|
-
dataTable: boolean;
|
|
18
|
-
}
|
|
19
|
-
/** A schematic of a Quick Layout: title bar, legend box, axis titles, gridlines, labels, table. */
|
|
20
|
-
export declare function chartLayoutTileSvg(sketch: ChartLayoutSketch, size: {
|
|
21
|
-
width: number;
|
|
22
|
-
height: number;
|
|
23
|
-
}): string;
|
|
24
|
-
//# sourceMappingURL=chart-gallery-tiles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-gallery-tiles.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/chart-gallery-tiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAgB/D,kFAAkF;AAClF,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACrC,MAAM,CAoBR;AAED,iFAAiF;AACjF,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACnB;AAKD,mGAAmG;AACnG,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,iBAAiB,EACzB,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACrC,MAAM,CAwER"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PowerPoint's Chart Design > Quick Layout presets for a column / bar chart.
|
|
3
|
-
*
|
|
4
|
-
* Ground truth: `scripts/capture-data-galleries-com.ps1` calls
|
|
5
|
-
* `Chart.ApplyLayout(1..11)` on a 4-series clustered column chart and reads
|
|
6
|
-
* back HasTitle, HasLegend + Legend.Position, HasDataTable (+ ShowLegendKey),
|
|
7
|
-
* series 1's data labels (ShowValue, Position = xlLabelPositionOutsideEnd),
|
|
8
|
-
* each axis' HasTitle / HasMajorGridlines / HasMinorGridlines, HasAxis and the
|
|
9
|
-
* chart group's GapWidth / Overlap. The table below is that read-back.
|
|
10
|
-
*
|
|
11
|
-
* @module render/ribbon-galleries/chart-quick-layout-catalog
|
|
12
|
-
*/
|
|
13
|
-
import type { ChartLayoutSketch } from './chart-gallery-tiles.js';
|
|
14
|
-
export interface ChartQuickLayout extends ChartLayoutSketch {
|
|
15
|
-
/** 1-based `Chart.ApplyLayout` number. */
|
|
16
|
-
n: number;
|
|
17
|
-
/** `c:barChart/c:gapWidth` / `c:overlap` PowerPoint sets for bar/column charts. */
|
|
18
|
-
gapWidth: number;
|
|
19
|
-
overlap: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const CHART_QUICK_LAYOUTS: readonly ChartQuickLayout[];
|
|
22
|
-
//# sourceMappingURL=chart-quick-layout-catalog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-quick-layout-catalog.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/chart-quick-layout-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IAC1D,0CAA0C;IAC1C,CAAC,EAAE,MAAM,CAAC;IACV,mFAAmF;IACnF,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CAChB;AAuBD,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EA4B1D,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DOM for one field of the chart Format pane, built from its descriptor and
|
|
3
|
-
* repainted in place. Choices use the shared `pptx-ui-radio`,
|
|
4
|
-
* `pptx-ui-checkbox` and `pptx-ui-select` controls, as every pptx panel does.
|
|
5
|
-
*
|
|
6
|
-
* @module web-components/chart-format-pane-fields
|
|
7
|
-
*/
|
|
8
|
-
import type { ChartFormatField, ChartFormatFieldValue, ChartFormatText } from '../render/index.js';
|
|
9
|
-
export type PaneTranslate = (text: ChartFormatText) => string;
|
|
10
|
-
/** A built field: its root node and a value repaint that skips the focused control. */
|
|
11
|
-
export interface PaneFieldView {
|
|
12
|
-
node: HTMLElement;
|
|
13
|
-
paint(field: ChartFormatField, locked: boolean): void;
|
|
14
|
-
}
|
|
15
|
-
/** Build the control for `field`; `change` reports a committed value. */
|
|
16
|
-
export declare function createPaneField(doc: Document, field: ChartFormatField, tr: PaneTranslate, change: (id: string, value: ChartFormatFieldValue) => void, autoLabel: string): PaneFieldView;
|
|
17
|
-
//# sourceMappingURL=chart-format-pane-fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane-fields.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/chart-format-pane-fields.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE1F,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,eAAe,KAAK,MAAM,CAAC;AAE9D,uFAAuF;AACvF,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACtD;AA8ID,yEAAyE;AACzE,wBAAgB,eAAe,CAC9B,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,gBAAgB,EACvB,EAAE,EAAE,aAAa,EACjB,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,KAAK,IAAI,EAC1D,SAAS,EAAE,MAAM,GACf,aAAa,CAwCf"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Command, type EditorContext } from 'ooxml-core/xlsx/ui';
|
|
2
|
-
export declare function chartAreaCommand(): Command;
|
|
3
|
-
/** Background targets share the series fill controls and all their native Office galleries. */
|
|
4
|
-
export declare function createChartAreaPane(ctx: EditorContext, onOpen: () => void): {
|
|
5
|
-
element: HTMLElement;
|
|
6
|
-
refresh: () => void;
|
|
7
|
-
relocalize: () => void;
|
|
8
|
-
close: () => void;
|
|
9
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Command, type EditorContext } from 'ooxml-core/xlsx/ui';
|
|
2
|
-
export declare function chartSeriesCommand(): Command;
|
|
3
|
-
export declare function createChartSeriesPane(ctx: EditorContext, onOpen?: () => void): {
|
|
4
|
-
element: HTMLElement;
|
|
5
|
-
refresh: () => void;
|
|
6
|
-
relocalize: () => void;
|
|
7
|
-
close: () => void;
|
|
8
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type EditorContext } from 'ooxml-core/xlsx/ui';
|
|
2
|
-
export declare function chartColorGallerySections(ctx: EditorContext): {
|
|
3
|
-
title: string;
|
|
4
|
-
columns: number;
|
|
5
|
-
tileWidth: number;
|
|
6
|
-
tileHeight: number;
|
|
7
|
-
items: {
|
|
8
|
-
id: string;
|
|
9
|
-
label: string;
|
|
10
|
-
preview: string;
|
|
11
|
-
applied: boolean;
|
|
12
|
-
}[];
|
|
13
|
-
}[];
|
|
14
|
-
export declare const chartColorGalleryItems: (ctx: EditorContext) => {
|
|
15
|
-
id: string;
|
|
16
|
-
label: string;
|
|
17
|
-
preview: string;
|
|
18
|
-
applied: boolean;
|
|
19
|
-
}[];
|