ooxml-ui 1.25.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 +82 -19
- package/custom-elements.json +321 -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-X5XR45BK.js → chunk-HGLCXNCT.js} +50 -24
- package/dist/chunk-KJMAVPQB.js +53 -0
- package/dist/{chunk-S736N64L.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-SC44SOIS.js → chunk-WDOWQKKC.js} +2601 -275
- package/dist/{chunk-5ZFOSFCK.js → chunk-WH3EGA3S.js} +9 -3
- package/dist/controls.d.ts +7 -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/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 +1664 -542
- 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-SCURBCNQ.mjs → chunk-AMW2AR7J.mjs} +1 -1
- package/dist/pptx/chunk-CWHK7HF4.mjs +751 -0
- package/dist/pptx/{chunk-J642EKDV.cjs → chunk-FM4C4MBJ.cjs} +1 -1
- package/dist/pptx/{chunk-LCB46TH2.cjs → chunk-H5IPNKX6.cjs} +12 -12
- package/dist/pptx/{chunk-4TFSELNQ.cjs → chunk-HAO5PKWK.cjs} +7671 -4138
- package/dist/pptx/{chunk-QTLP3MX7.mjs → chunk-IWUIGVWT.mjs} +7468 -3993
- 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 +4 -4
- 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 +3490 -3249
- 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/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 +12 -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/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 +6 -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-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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-types.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/gallery-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EACX,WAAW,EACX,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,SAAS,EACT,MAAM,iBAAiB,CAAC;AAEzB,uCAAuC;AACvC,MAAM,MAAM,eAAe,GACxB,aAAa,GACb,cAAc,GACd,eAAe;AACjB,4DAA4D;GAC1D,UAAU;AACZ,iEAAiE;GAC/D,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,wBAAwB,GACxB,SAAS,GACT,WAAW,GACX,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,qBAAqB,GACrB,wBAAwB,GACxB,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,cAAc,GACd,aAAa,GACb,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,qBAAqB,GACrB,gBAAgB,GAChB,kBAAkB,GAClB,sBAAsB,GACtB,iBAAiB,GACjB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,YAAY,GACZ,cAAc,GACd,kBAAkB,CAAC;AAEtB,gBAAgB;AAChB,MAAM,WAAW,iBAAiB;IACjC,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,wDAAwD;IACxD,QAAQ,EAAE,MAAM,C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IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CAC3B,GACD;IACA,wEAAwE;IACxE,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,oBAAoB,CAAC;IAClC,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,oBAAoB,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,wFAAwF;IACxF,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,6DAA6D;IAC7D,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC;CACzB,GACD;IACA,gFAAgF;IAChF,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,kBAAkB,CAAC;CAC3B,GACD;IACA,+FAA+F;IAC/F,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,wBAAwB,EAAE,CAAC;CACjC,CAAC"}
|
|
1
|
+
{"version":3,"file":"gallery-types.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/gallery-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EACX,WAAW,EACX,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,SAAS,EACT,MAAM,iBAAiB,CAAC;AAEzB,uCAAuC;AACvC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C;IACzB,WAAW,EAAE,oBAAoB,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,wFAAwF;IACxF,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACZ,GACD;IACA,6DAA6D;IAC7D,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC;CACzB,GACD;IACA,gFAAgF;IAChF,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,kBAAkB,CAAC;CAC3B,GACD;IACA,+FAA+F;IAC/F,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,wBAAwB,EAAE,CAAC;CACjC,CAAC"}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SmartArt Design > Change Colors: the colour schemes the core SmartArt model
|
|
3
|
-
* carries (`SmartArtColorScheme`), named and grouped after PowerPoint's
|
|
4
|
-
* gallery (see `smartart-gallery-patch.ts`). A pick sets
|
|
5
|
-
* `smartArtData.colorScheme` through the shared inspector patch.
|
|
6
|
-
*
|
|
7
|
-
* @module render/ribbon-galleries/smartart-colors-gallery
|
|
8
|
-
*/
|
|
9
1
|
import type { RibbonGalleryModule } from './gallery-module.js';
|
|
10
2
|
export declare const SMARTART_COLORS_GALLERY: RibbonGalleryModule;
|
|
11
3
|
//# sourceMappingURL=smartart-colors-gallery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-colors-gallery.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-colors-gallery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartart-colors-gallery.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-colors-gallery.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAY5D,eAAO,MAAM,uBAAuB,EAAE,mBAkErC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RibbonGalleryModule } from './gallery-module.js';
|
|
2
2
|
import type { RibbonGalleryId } from './gallery-types.js';
|
|
3
3
|
/** Gallery ids that are SmartArt command buttons. */
|
|
4
|
-
export type SmartArtCommandGalleryId = Extract<RibbonGalleryId, 'smartArtAddShape' | 'smartArtAddBullet' | 'smartArtTextPane' | 'smartArtPromote' | 'smartArtDemote' | 'smartArtRightToLeft' | 'smartArtMoveUp' | 'smartArtMoveDown' | 'smartArtResetGraphic' | 'smartArtConvert'>;
|
|
4
|
+
export type SmartArtCommandGalleryId = Extract<RibbonGalleryId, 'smartArtAddShape' | 'smartArtAddShapeBefore' | 'smartArtAddShapeAbove' | 'smartArtAddBullet' | 'smartArtTextPane' | 'smartArtPromote' | 'smartArtDemote' | 'smartArtRightToLeft' | 'smartArtMoveUp' | 'smartArtMoveDown' | 'smartArtResetGraphic' | 'smartArtConvert'>;
|
|
5
5
|
/** The SmartArt command entries, keyed by gallery id, for the registry. */
|
|
6
6
|
export declare const SMARTART_COMMAND_MODULES: Record<SmartArtCommandGalleryId, RibbonGalleryModule>;
|
|
7
7
|
//# sourceMappingURL=smartart-commands.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-commands.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-commands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartart-commands.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-commands.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAGX,eAAe,EACf,MAAM,iBAAiB,CAAC;AA4MzB,qDAAqD;AACrD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC7C,eAAe,EACb,kBAAkB,GAClB,wBAAwB,GACxB,uBAAuB,GACvB,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,qBAAqB,GACrB,gBAAgB,GAChB,kBAAkB,GAClB,sBAAsB,GACtB,iBAAiB,CACnB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,EAEhC,MAAM,CAAC,wBAAwB,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DiagramColorEntry } from 'ooxml-core/diagram';
|
|
2
|
+
import type { PptxElement, SmartArtLayoutType, PptxSmartArtData, SmartArtColorScheme, SmartArtStyle } from 'ooxml-core/pptx';
|
|
2
3
|
/** `data` with `patch` merged, drawing shapes rebuilt when a structural edit cleared them. */
|
|
3
4
|
export declare function applySmartArtDataPatch(data: PptxSmartArtData, patch: Partial<PptxSmartArtData>, box?: {
|
|
4
5
|
width: number;
|
|
@@ -31,8 +32,9 @@ export interface SmartArtColorEntry {
|
|
|
31
32
|
name: string;
|
|
32
33
|
labelKey: string;
|
|
33
34
|
/** Theme accents the scheme fills nodes with, in cycle order. */
|
|
34
|
-
accents:
|
|
35
|
+
accents: DiagramColorEntry['accents'];
|
|
35
36
|
}
|
|
37
|
+
/** The product-neutral catalogue (`ooxml-core/diagram`) with the pptx dictionary keys. */
|
|
36
38
|
export declare const SMARTART_COLOR_ENTRIES: readonly SmartArtColorEntry[];
|
|
37
39
|
export interface SmartArtStyleEntry {
|
|
38
40
|
id: SmartArtStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-gallery-patch.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-gallery-patch.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACX,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"smartart-gallery-patch.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-gallery-patch.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EACX,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,MAAM,iBAAiB,CAAC;AAMzB,8FAA8F;AAC9F,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,EAChC,GAAG,CAAC,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACvC,SAAS,SAAc,GACrB,gBAAgB,CAmBlB;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,kBAAkB,GACxB,OAAO,CAAC,gBAAgB,CAAC,CAoB3B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,kBAAkB,GACxB,gBAAgB,CAKlB;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,WAAW,GAAG,IAAI,EAC3B,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAC9B;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;CAAE,GAAG,IAAI,CAW3D;AAED,MAAM,WAAW,kBAAkB;IAClC,EAAE,EAAE,mBAAmB,CAAC;IACxB,OAAO,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACtC;AAWD,0FAA0F;AAC1F,eAAO,MAAM,sBAAsB,EAAE,SAAS,kBAAkB,EAE/D,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,EAAE,EAAE,aAAa,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACjB;AAQD,eAAO,MAAM,sBAAsB,EAAE,SAAS,kBAAkB,EAE/D,CAAC;AAEF,iGAAiG;AACjG,wBAAgB,0BAA0B,CACzC,IAAI,EAAE,gBAAgB,EACtB,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAEvC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* SmartArt Design gallery tiles
|
|
3
|
-
*
|
|
2
|
+
* SmartArt Design gallery tiles (colour schemes and styles). The drawing is product-neutral and
|
|
3
|
+
* lives in `src/ui/src/smartart/tiles.ts`; this module keeps the PowerPoint import path.
|
|
4
4
|
*
|
|
5
5
|
* @module render/ribbon-galleries/smartart-gallery-tiles
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
/** Three boxes with arrow gaps, filled with `fills` (cycled) and an optional effect. */
|
|
9
|
-
export declare function smartArtTileSvg(id: string, fills: readonly string[], style: SmartArtStyle, size: {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
}): string;
|
|
7
|
+
export { smartArtTileSvg } from '../../../smartart/tiles.js';
|
|
13
8
|
//# sourceMappingURL=smartart-gallery-tiles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-gallery-tiles.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-gallery-tiles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"smartart-gallery-tiles.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-gallery-tiles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* SmartArt Design > Layouts gallery tiles. The drawing is product-neutral and lives in
|
|
3
|
+
* `src/ui/src/smartart/tiles.ts`; this module keeps the PowerPoint import path.
|
|
4
|
+
*
|
|
5
|
+
* @module render/ribbon-galleries/smartart-layout-tiles
|
|
6
|
+
*/
|
|
7
|
+
export { smartArtLayoutTileSvg } from '../../../smartart/tiles.js';
|
|
6
8
|
//# sourceMappingURL=smartart-layout-tiles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-layout-tiles.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-layout-tiles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartart-layout-tiles.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-layout-tiles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-layouts-gallery.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-layouts-gallery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartart-layouts-gallery.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/ribbon-galleries/smartart-layouts-gallery.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAY5D;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAM3D;AAkDD,eAAO,MAAM,wBAAwB,EAAE,mBA2DtC,CAAC"}
|
|
@@ -44,6 +44,8 @@ export interface RibbonInsertState {
|
|
|
44
44
|
commentAvailable?: boolean;
|
|
45
45
|
/** The host can open the Slide Templates dialog: New Slide's menu then always ends with it. */
|
|
46
46
|
slideTemplatesAvailable?: boolean;
|
|
47
|
+
/** The host mounts the Insert Chart dialog: the Chart menu then ends with "Insert Chart...". */
|
|
48
|
+
chartDialogAvailable?: boolean;
|
|
47
49
|
/** The layouts New Slide offers; empty leaves the gallery out and inserts the host default. */
|
|
48
50
|
layouts?: readonly InsertSlideLayout[];
|
|
49
51
|
/** The active slide's layout, marked in the New Slide gallery. */
|
|
@@ -84,6 +86,10 @@ export type RibbonInsertIntent = {
|
|
|
84
86
|
| {
|
|
85
87
|
kind: 'slideTemplates';
|
|
86
88
|
}
|
|
89
|
+
/** Insert Chart... at the end of the Chart menu: the host opens the Insert Chart dialog. */
|
|
90
|
+
| {
|
|
91
|
+
kind: 'chartDialog';
|
|
92
|
+
}
|
|
87
93
|
/** Insert Table from the grid picker: rows by columns. */
|
|
88
94
|
| {
|
|
89
95
|
kind: 'table';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ribbon-insert-state.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/ribbon-insert-state.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,mBAAmB,GAC5B,SAAS,GACT,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,MAAM,GACN,cAAc,GACd,SAAS,CAAC;AAEb,gFAAgF;AAChF,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,OAAO,EAAE,SAAS,iBAAiB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AAC,KAAK,EAAE,iBAAiB,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CA2D9F"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* smart-art-presets.ts: the SmartArt insert-gallery catalogue
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* when the user picks it without editing.
|
|
2
|
+
* smart-art-presets.ts: the SmartArt insert-gallery catalogue as PowerPoint names it. The
|
|
3
|
+
* catalogue itself is product-neutral (`DIAGRAM_INSERT_PRESETS` / `DIAGRAM_INSERT_CATEGORIES` in
|
|
4
|
+
* `ooxml-core/diagram`); this module adds the pptx translation keys and keeps the historical
|
|
5
|
+
* `PRESETS` / `CATEGORIES` import surface every binding and test uses.
|
|
7
6
|
*/
|
|
7
|
+
import type { DiagramInsertCategory } from 'ooxml-core/diagram';
|
|
8
8
|
import type { SmartArtLayout } from 'ooxml-core/pptx';
|
|
9
9
|
/** The five categories surfaced in the dialog's left sidebar. */
|
|
10
|
-
export type SmartArtCategory =
|
|
10
|
+
export type SmartArtCategory = DiagramInsertCategory;
|
|
11
11
|
/** A single entry in the SmartArt insert gallery. */
|
|
12
12
|
export interface SmartArtPreset {
|
|
13
13
|
/** Core layout kind this preset inserts. */
|
|
@@ -21,6 +21,12 @@ export interface SmartArtPreset {
|
|
|
21
21
|
/** Default node texts to seed the new SmartArt with. */
|
|
22
22
|
defaultItems: string[];
|
|
23
23
|
}
|
|
24
|
+
/** Dictionary key of a preset's name. */
|
|
25
|
+
export declare const smartArtPresetLabelKey: (layout: string) => string;
|
|
26
|
+
/** Dictionary key of an insert category's name. */
|
|
27
|
+
export declare const smartArtCategoryLabelKey: (category: string) => string;
|
|
28
|
+
/** Dictionary key of an insert category's description. */
|
|
29
|
+
export declare const smartArtCategoryDescriptionKey: (category: string) => string;
|
|
24
30
|
export declare const PRESETS: SmartArtPreset[];
|
|
25
31
|
/** Sidebar tabs, in display order. */
|
|
26
32
|
export declare const CATEGORIES: Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-art-presets.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/smart-art-presets.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"smart-art-presets.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/smart-art-presets.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,iEAAiE;AACjE,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAErD,qDAAqD;AACrD,MAAM,WAAW,cAAc;IAC9B,4CAA4C;IAC5C,MAAM,EAAE,cAAc,CAAC;IACvB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,wDAAwD;IACxD,YAAY,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,yCAAyC;AACzC,eAAO,MAAM,sBAAsB,WAAY,MAAM,KAAG,MAA0C,CAAC;AACnG,mDAAmD;AACnD,eAAO,MAAM,wBAAwB,aAAc,MAAM,KAAG,MACvB,CAAC;AACtC,0DAA0D;AAC1D,eAAO,MAAM,8BAA8B,aAAc,MAAM,KAAG,MACpB,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,cAAc,EAMjC,CAAC;AAEJ,sCAAsC;AACtC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC;IAAE,EAAE,EAAE,gBAAgB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAKpF,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { PptxSmartArtData, PptxSmartArtNodeStyle } from 'ooxml-core/pptx';
|
|
2
|
+
type Translate = (key: string, params?: Record<string, string | number>) => string;
|
|
3
|
+
/** One outline line, in the shape `office-ui-smartart-text-pane` takes. */
|
|
4
|
+
export interface SmartArtTextPaneLine {
|
|
5
|
+
id: string;
|
|
6
|
+
text: string;
|
|
7
|
+
level: number;
|
|
8
|
+
/** The item number of a top-level line, a bullet for a deeper one. */
|
|
9
|
+
marker: string;
|
|
10
|
+
label: string;
|
|
11
|
+
style?: PptxSmartArtNodeStyle;
|
|
12
|
+
canMoveUp: boolean;
|
|
13
|
+
canMoveDown: boolean;
|
|
14
|
+
canRemove: boolean;
|
|
15
|
+
/** Sub-items are added under top-level lines only. */
|
|
16
|
+
canAddChild: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** What the pane shows for a diagram. */
|
|
19
|
+
export interface SmartArtTextPaneView {
|
|
20
|
+
lines: SmartArtTextPaneLine[];
|
|
21
|
+
/** The layout holds no more top-level shapes. */
|
|
22
|
+
appendDisabled: boolean;
|
|
23
|
+
/** The layout's shape-count hint, the extra connections note and the keyboard hint. */
|
|
24
|
+
notes: string[];
|
|
25
|
+
}
|
|
26
|
+
/** A request from the pane, as the pptx alias reads it from the element's events. */
|
|
27
|
+
export type SmartArtTextPaneRequest = {
|
|
28
|
+
kind: 'text';
|
|
29
|
+
id: string;
|
|
30
|
+
text: string;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'add' | 'remove' | 'promote' | 'demote' | 'addChild';
|
|
33
|
+
id: string;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'move';
|
|
36
|
+
id: string;
|
|
37
|
+
direction: 1 | -1;
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'append';
|
|
40
|
+
} | {
|
|
41
|
+
kind: 'style';
|
|
42
|
+
id: string;
|
|
43
|
+
style: Partial<PptxSmartArtNodeStyle>;
|
|
44
|
+
};
|
|
45
|
+
/** The edited data and the line to focus after it lands. */
|
|
46
|
+
export interface SmartArtTextPaneEdit {
|
|
47
|
+
data: PptxSmartArtData;
|
|
48
|
+
focusNodeId?: string;
|
|
49
|
+
}
|
|
50
|
+
/** The outline, notes and append state for `data`. */
|
|
51
|
+
export declare function smartArtTextPaneView(data: PptxSmartArtData, t: Translate): SmartArtTextPaneView;
|
|
52
|
+
/**
|
|
53
|
+
* The edit a pane request makes, or `undefined` when it changes nothing or the layout refuses it
|
|
54
|
+
* (removing a shape the layout needs, appending past its maximum). `subItemText` labels a new
|
|
55
|
+
* sub-item.
|
|
56
|
+
*/
|
|
57
|
+
export declare function applySmartArtTextPaneRequest(data: PptxSmartArtData, request: SmartArtTextPaneRequest, subItemText: string): SmartArtTextPaneEdit | undefined;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=smartart-text-pane-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartart-text-pane-model.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/smartart-text-pane-model.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAqB/E,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAEnF,2EAA2E;AAC3E,MAAM,WAAW,oBAAoB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,WAAW,EAAE,OAAO,CAAC;CACrB;AAED,yCAAyC;AACzC,MAAM,WAAW,oBAAoB;IACpC,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,iDAAiD;IACjD,cAAc,EAAE,OAAO,CAAC;IACxB,uFAAuF;IACvF,KAAK,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,qFAAqF;AACrF,MAAM,MAAM,uBAAuB,GAChC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC1E;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAA;CAAE,CAAC;AAExE,4DAA4D;AAC5D,MAAM,WAAW,oBAAoB;IACpC,IAAI,EAAE,gBAAgB,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAQD,sDAAsD;AACtD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,gBAAgB,EAAE,CAAC,EAAE,SAAS,GAAG,oBAAoB,CA2C/F;AA2BD;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC3C,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,uBAAuB,EAChC,WAAW,EAAE,MAAM,GACjB,oBAAoB,GAAG,SAAS,CAgDlC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SnapBox, SnapGuide } from './snap-guides.js';
|
|
2
|
+
/**
|
|
3
|
+
* The span-guide move snap: the box snaps to the closest edge or centre of the
|
|
4
|
+
* other boxes (drawing span guides that cover both), then to the grid, then to
|
|
5
|
+
* the user's ruler guides. The Angular canvas draws this model; it moved here
|
|
6
|
+
* from `SlideCanvasComponent` with its move gesture, which now runs on the
|
|
7
|
+
* shared `createGestureController` and plugs this in as its `snapMove`.
|
|
8
|
+
*/
|
|
9
|
+
/** A user ruler guide: `axis: 'x'` is a vertical line at x = `pos`. */
|
|
10
|
+
export interface SpanSnapRulerGuide {
|
|
11
|
+
axis: 'x' | 'y';
|
|
12
|
+
pos: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SpanSnapMoveOptions {
|
|
15
|
+
/** The other boxes on the stage (the moving one left out). */
|
|
16
|
+
others: readonly SnapBox[];
|
|
17
|
+
/** Snap distance in slide px (the screen distance divided by the zoom). */
|
|
18
|
+
threshold: number;
|
|
19
|
+
snapToShape: boolean;
|
|
20
|
+
/** Grid spacing applied after the shape snap, or null for no grid snap. */
|
|
21
|
+
gridSize: number | null;
|
|
22
|
+
/** Ruler guides applied last, or null when guide snapping is off. */
|
|
23
|
+
rulerGuides: readonly SpanSnapRulerGuide[] | null;
|
|
24
|
+
}
|
|
25
|
+
/** Where a moving box lands and the span guides to draw for it. */
|
|
26
|
+
export interface SpanSnapMoveResult {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
guides: SnapGuide[];
|
|
30
|
+
}
|
|
31
|
+
export declare function snapMoveToSpanGuides(box: SnapBox, options: SpanSnapMoveOptions): SpanSnapMoveResult;
|
|
32
|
+
//# sourceMappingURL=span-snap-move.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"span-snap-move.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/span-snap-move.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGxD;;;;;;GAMG;AAEH,uEAAuE;AACvE,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,mBAAmB;IACnC,8DAA8D;IAC9D,MAAM,EAAE,SAAS,OAAO,EAAE,CAAC;IAC3B,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,qEAAqE;IACrE,WAAW,EAAE,SAAS,kBAAkB,EAAE,GAAG,IAAI,CAAC;CAClD;AAED,mEAAmE;AACnE,MAAM,WAAW,kBAAkB;IAClC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,SAAS,EAAE,CAAC;CACpB;AAyBD,wBAAgB,oBAAoB,CACnC,GAAG,EAAE,OAAO,EACZ,OAAO,EAAE,mBAAmB,GAC1B,kBAAkB,CAmBpB"}
|
|
@@ -15,6 +15,23 @@ export interface ThemeColorGridView {
|
|
|
15
15
|
* or else the colour, selects.
|
|
16
16
|
*/
|
|
17
17
|
export declare function themeColorGridView(columns: readonly ThemeColorSwatchColumn[], selectedRef: PptxThemeColorRef | undefined, selectedHex: string | undefined): ThemeColorGridView;
|
|
18
|
+
type Translate = (key: string, params?: Record<string, string | number>) => string;
|
|
19
|
+
/** What a recent-colours row's `pptx-ui-color-grid` shows: Recent Colors and nothing else. */
|
|
20
|
+
export interface RecentColorsGridView {
|
|
21
|
+
palette: [];
|
|
22
|
+
standardColors: [];
|
|
23
|
+
recentColors: readonly string[];
|
|
24
|
+
label: string;
|
|
25
|
+
recentHeading: string;
|
|
26
|
+
recentLabel: (hex: string) => string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The "Recent Colors" row under an inspector colour picker, as a `pptx-ui-color-grid` with only
|
|
30
|
+
* that section: every binding sets these fields (and `data-testid="pptx-color-recent"`) and
|
|
31
|
+
* hides the row while the list is empty, so the row looks, reads and is named the same
|
|
32
|
+
* everywhere. A pick arrives as `office-color-pick` with source `recent`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function recentColorsGridView(colors: readonly string[], t: Translate): RecentColorsGridView;
|
|
18
35
|
/** The hex and theme reference to store for a pick from that grid; undefined for any other pick. */
|
|
19
36
|
export declare function themeColorGridCommit(columns: readonly ThemeColorSwatchColumn[], pick: OfficeColorPick): ThemeColorPickerCommit | undefined;
|
|
20
37
|
//# sourceMappingURL=theme-color-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-color-grid.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/theme-color-grid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAGN,KAAK,sBAAsB,EAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAoB,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEvF,YAAY,EACX,eAAe,EACf,oBAAoB,EACpB,yBAAyB,GACzB,MAAM,uBAAuB,CAAC;AAE/B,wFAAwF;AACxF,MAAM,WAAW,kBAAkB;IAClC,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,aAAa,EAAE,yBAAyB,GAAG,IAAI,CAAC;CAChD;AAiBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CACjC,OAAO,EAAE,SAAS,sBAAsB,EAAE,EAC1C,WAAW,EAAE,iBAAiB,GAAG,SAAS,EAC1C,WAAW,EAAE,MAAM,GAAG,SAAS,GAC7B,kBAAkB,CAqBpB;AAED,oGAAoG;AACpG,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,SAAS,sBAAsB,EAAE,EAC1C,IAAI,EAAE,eAAe,GACnB,sBAAsB,GAAG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AKG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,CAAC,EAAE,SAAS,GACV,oBAAoB,CAUtB;AAED,oGAAoG;AACpG,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,SAAS,sBAAsB,EAAE,EAC1C,IAAI,EAAE,eAAe,GACnB,sBAAsB,GAAG,SAAS,CAYpC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview The payloads of the viewer events every binding reports the same way.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Every binding runs the shared autosave engine (`PptxAutosaveStatus`, which also has a
|
|
5
|
+
* `disabled` state); some render only its `state` string. The host-facing `autosaveStatus` event
|
|
6
|
+
* must not leak that difference, so every binding maps what it holds through
|
|
7
|
+
* {@link autosaveStatusKind} before reporting it.
|
|
8
8
|
*
|
|
9
9
|
* @module render/viewer-event-payloads
|
|
10
10
|
*/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLUDEAPHZ_cjs = require('./chunk-LUDEAPHZ.cjs');
|
|
4
|
+
require('./chunk-HAO5PKWK.cjs');
|
|
5
|
+
require('./chunk-WSTWYZFM.cjs');
|
|
6
|
+
require('./chunk-2JEQHIAL.cjs');
|
|
7
|
+
require('./chunk-IOR4KOGN.cjs');
|
|
8
|
+
require('./chunk-X7FS7XHU.cjs');
|
|
9
|
+
require('./chunk-XFQ2RD4I.cjs');
|
|
10
|
+
require('./chunk-52LKIMK3.cjs');
|
|
11
|
+
require('./chunk-H5IPNKX6.cjs');
|
|
12
|
+
require('./chunk-XOAXPD2W.cjs');
|
|
13
|
+
require('./chunk-P27CIE4O.cjs');
|
|
14
|
+
require('./chunk-BSGCZ4JZ.cjs');
|
|
15
|
+
require('./chunk-43NFRLCD.cjs');
|
|
16
|
+
require('./chunk-IOOI63TH.cjs');
|
|
17
|
+
require('./chunk-ZJFN5POF.cjs');
|
|
18
|
+
require('./chunk-B4GBGPNL.cjs');
|
|
19
|
+
require('./chunk-WB25PCHQ.cjs');
|
|
20
|
+
require('./chunk-W3X2UVYQ.cjs');
|
|
21
|
+
require('./chunk-6KLPQQYP.cjs');
|
|
22
|
+
require('./chunk-FOE75Z6N.cjs');
|
|
23
|
+
require('./chunk-NTXHQHCS.cjs');
|
|
24
|
+
require('./chunk-JJP5HOLA.cjs');
|
|
25
|
+
require('./chunk-QWF3PGUX.cjs');
|
|
26
|
+
require('./chunk-FM4C4MBJ.cjs');
|
|
27
|
+
require('./chunk-G4WRLFMJ.cjs');
|
|
28
|
+
require('./chunk-73IDQGYI.cjs');
|
|
29
|
+
require('./chunk-X4FNVH7J.cjs');
|
|
30
|
+
require('./chunk-FGKPZFLL.cjs');
|
|
31
|
+
require('./chunk-UPN5FFKP.cjs');
|
|
32
|
+
require('./chunk-FQUX6AUU.cjs');
|
|
33
|
+
require('./chunk-OJFD3SHS.cjs');
|
|
34
|
+
require('./chunk-USBRSEJK.cjs');
|
|
35
|
+
require('./chunk-3ESFHUZI.cjs');
|
|
36
|
+
require('./chunk-U47LRWDT.cjs');
|
|
37
|
+
require('./chunk-OOQMIQT3.cjs');
|
|
38
|
+
require('./chunk-Y6DO6SVT.cjs');
|
|
39
|
+
require('./chunk-PBZWDEXQ.cjs');
|
|
40
|
+
require('./chunk-HJ3JZXOL.cjs');
|
|
41
|
+
require('./chunk-EW5DW5KR.cjs');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Object.defineProperty(exports, "buildSmartArtInsertPreview", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkLUDEAPHZ_cjs.buildSmartArtInsertPreview; }
|
|
48
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { buildSmartArtInsertPreview } from './chunk-CWHK7HF4.mjs';
|
|
2
|
+
import './chunk-IWUIGVWT.mjs';
|
|
3
|
+
import './chunk-A63ASSCH.mjs';
|
|
4
|
+
import './chunk-DMWNOP4E.mjs';
|
|
5
|
+
import './chunk-WSR2S2MY.mjs';
|
|
6
|
+
import './chunk-GVH4QN7R.mjs';
|
|
7
|
+
import './chunk-6B3UUVRS.mjs';
|
|
8
|
+
import './chunk-APQ3OOAT.mjs';
|
|
9
|
+
import './chunk-WQA3KZRB.mjs';
|
|
10
|
+
import './chunk-RQJOOXRG.mjs';
|
|
11
|
+
import './chunk-PI47Z46K.mjs';
|
|
12
|
+
import './chunk-QX6XPYVA.mjs';
|
|
13
|
+
import './chunk-72P6AWRA.mjs';
|
|
14
|
+
import './chunk-KY75GY5O.mjs';
|
|
15
|
+
import './chunk-L55MIOBC.mjs';
|
|
16
|
+
import './chunk-7DIZOCO4.mjs';
|
|
17
|
+
import './chunk-SMSCEGAE.mjs';
|
|
18
|
+
import './chunk-7BHPBO2O.mjs';
|
|
19
|
+
import './chunk-34LEUH5R.mjs';
|
|
20
|
+
import './chunk-IB6ZM2E2.mjs';
|
|
21
|
+
import './chunk-JA7WYSRE.mjs';
|
|
22
|
+
import './chunk-V4YMLIGL.mjs';
|
|
23
|
+
import './chunk-MNSWEXYO.mjs';
|
|
24
|
+
import './chunk-AMW2AR7J.mjs';
|
|
25
|
+
import './chunk-2V5ATMMB.mjs';
|
|
26
|
+
import './chunk-A62C6PSL.mjs';
|
|
27
|
+
import './chunk-3ZI57W7O.mjs';
|
|
28
|
+
import './chunk-IXFG46KB.mjs';
|
|
29
|
+
import './chunk-IEAO7N4E.mjs';
|
|
30
|
+
import './chunk-XAOEDYA5.mjs';
|
|
31
|
+
import './chunk-PMURSMHH.mjs';
|
|
32
|
+
import './chunk-T7FRLIDM.mjs';
|
|
33
|
+
import './chunk-MK2ASJSY.mjs';
|
|
34
|
+
import './chunk-AEQGGKRZ.mjs';
|
|
35
|
+
import './chunk-LB3A3GF6.mjs';
|
|
36
|
+
import './chunk-WM5SW737.mjs';
|
|
37
|
+
import './chunk-PEDGPFLR.mjs';
|
|
38
|
+
import './chunk-7JBQPQ6G.mjs';
|
|
39
|
+
import './chunk-WHUMPYEM.mjs';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ChartDataSheetEdit } from 'ooxml-core/chart';
|
|
2
|
+
import type { PptxChartData } from 'ooxml-core/pptx';
|
|
3
|
+
import type { OfficeChartDataSheetLabels, OfficeUiChartDataSheet } from '../../chart/data-sheet.js';
|
|
4
|
+
type Translate = (key: string, params?: Record<string, string | number>) => string;
|
|
5
|
+
/** What a binding passes to `pptx-ui-chart-data-sheet` through `state`. */
|
|
6
|
+
export interface ChartDataSheetViewState {
|
|
7
|
+
chartData: PptxChartData | undefined;
|
|
8
|
+
canEdit: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* File > Options > Advanced > "Properties follow chart data point for current workbook":
|
|
11
|
+
* whether removing a category re-indexes per-point formatting (default `true`).
|
|
12
|
+
*/
|
|
13
|
+
followDataPoint?: boolean;
|
|
14
|
+
/** The chart part picked on the canvas: a value cell, or a series' name cell. */
|
|
15
|
+
highlight?: {
|
|
16
|
+
seriesIndex: number;
|
|
17
|
+
pointIndex?: number;
|
|
18
|
+
} | null;
|
|
19
|
+
/** BCP-47 language the values are read and shown in (default: the browser's). */
|
|
20
|
+
locale?: string;
|
|
21
|
+
translate?: Translate;
|
|
22
|
+
}
|
|
23
|
+
/** Detail of `pptx-chart-data-change`: the chart data after the edits, ready to commit. */
|
|
24
|
+
export interface ChartDataSheetChange {
|
|
25
|
+
chartData: PptxChartData;
|
|
26
|
+
edits: ChartDataSheetEdit[];
|
|
27
|
+
}
|
|
28
|
+
export type ChartDataSheetChangeEvent = CustomEvent<ChartDataSheetChange>;
|
|
29
|
+
export interface PptxUiChartDataSheetElement extends OfficeUiChartDataSheet {
|
|
30
|
+
state: ChartDataSheetViewState;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'pptx-ui-chart-data-sheet': PptxUiChartDataSheetElement;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/** The sheet's text from the pptx dictionary (the keys every binding's grid used). */
|
|
38
|
+
export declare function chartDataSheetLabels(t: Translate): OfficeChartDataSheetLabels;
|
|
39
|
+
/**
|
|
40
|
+
* `pptx-ui-chart-data-sheet`: the shared chart data sheet fed a pptx chart. A binding sets
|
|
41
|
+
* `state` and commits the `pptx-chart-data-change` detail's `chartData` through its own update
|
|
42
|
+
* path; the edits go through the pptx chart grid policy (`chartDataApplySheetEdits`), so series
|
|
43
|
+
* and point formatting survive every edit.
|
|
44
|
+
*/
|
|
45
|
+
export declare function definePptxChartDataSheet(registry: CustomElementRegistry): void;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=chart-data-sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-data-sheet.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/chart-data-sheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGjG,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAEnF,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACvC,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iFAAiF;IACjF,SAAS,CAAC,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAChE,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,2FAA2F;AAC3F,MAAM,WAAW,oBAAoB;IACpC,SAAS,EAAE,aAAa,CAAC;IACzB,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC5B;AACD,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;AAE1E,MAAM,WAAW,2BAA4B,SAAQ,sBAAsB;IAC1E,KAAK,EAAE,uBAAuB,CAAC;CAC/B;AACD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,0BAA0B,EAAE,2BAA2B,CAAC;KACxD;CACD;AAED,sFAAsF;AACtF,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,SAAS,GAAG,0BAA0B,CAgB7E;AAID;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI,CAkD9E"}
|
|
@@ -24,11 +24,13 @@ declare global {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* `pptx-ui-chart-format-pane`: PowerPoint's chart Format task pane (Format
|
|
27
|
-
* Chart Area, Format Data Series, Format Axis, ...)
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
27
|
+
* Chart Area, Format Data Series, Format Axis, ...), a thin subclass of the
|
|
28
|
+
* shared `office-ui-chart-format-pane`. It reads `chartData` through
|
|
29
|
+
* {@link pptxChartFormatSource} and maps each committed edit onto the pptx
|
|
30
|
+
* chart operations (`applyChartFormatEdit`), firing `chart-format-change`
|
|
31
|
+
* with the whole new chart model; the host applies it and keeps history.
|
|
32
|
+
* Docked at the editor's right edge, a bottom sheet on narrow screens;
|
|
33
|
+
* `inline` lays it out in flow. Keeps PowerPoint's tags, events and ids.
|
|
32
34
|
*/
|
|
33
35
|
export declare function definePptxChartFormatPane(registry: CustomElementRegistry): void;
|
|
34
36
|
//# sourceMappingURL=chart-format-pane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-format-pane.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/chart-format-pane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-format-pane.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/chart-format-pane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAarD,MAAM,MAAM,wBAAwB,GAAG,CACtC,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,KAC9C,MAAM,CAAC;AAEZ,MAAM,WAAW,4BAA6B,SAAQ,WAAW;IAChE,kCAAkC;IAClC,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,6EAA6E;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,wBAAwB,CAAC;IACzC,QAAQ,EAAE,OAAO,CAAC;CAClB;AACD,yFAAyF;AACzF,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC;IAAE,SAAS,EAAE,aAAa,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAC/F,gDAAgD;AAChD,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AACrE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,2BAA2B,EAAE,4BAA4B,CAAC;KAC1D;CACD;AAID;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI,CAsE/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-styles.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/host-styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"host-styles.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/host-styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,QAgDvB,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export { slideClipboardLabels } from './slide-clipboard.js';
|
|
2
2
|
export type { PptxUiSlideClipboardElement } from './slide-clipboard.js';
|
|
3
|
+
export { smartArtTextPaneLabels } from './smartart-text-pane.js';
|
|
4
|
+
export type { PptxUiSmartArtTextPaneElement, SmartArtTextPaneChange, SmartArtTextPaneChangeEvent, SmartArtTextPaneViewState, } from './smartart-text-pane.js';
|
|
3
5
|
export type { PptxUiThemeEditorElement, ThemeEditorApplyEvent } from './theme-editor.js';
|
|
6
|
+
export type { InsertChartDialogDetail, InsertChartDialogInsertEvent, PptxUiInsertChartDialogElement, } from './insert-chart-dialog.js';
|
|
7
|
+
export type { InsertSmartArtDialogDetail, InsertSmartArtDialogInsertEvent, PptxUiInsertSmartArtDialogElement, } from './insert-smartart-dialog.js';
|
|
4
8
|
export type { ChartFormatChangeEvent, ChartFormatPaneTranslate, ChartFormatTargetEvent, PptxUiChartFormatPaneElement, } from './chart-format-pane.js';
|
|
5
9
|
export type { CompatToastsRequestEvent, PptxUiCompatToastsElement } from './office-alias-types.js';
|
|
6
10
|
export type { PptxUiColorGridElement } from './office-aliases.js';
|
|
11
|
+
export { chartDataSheetLabels } from './chart-data-sheet.js';
|
|
12
|
+
export type { ChartDataSheetChange, ChartDataSheetChangeEvent, ChartDataSheetViewState, PptxUiChartDataSheetElement, } from './chart-data-sheet.js';
|
|
7
13
|
export type { DialogFooterRequestEvent, PptxUiDialogFooterElement } from './office-alias-types.js';
|
|
8
14
|
export type { MobileBarRequestEvent, PptxUiMobileBarElement } from './mobile-bar.js';
|
|
9
15
|
export type { MobileInsertRequestEvent, PptxUiMobileInsertElement } from './mobile-insert.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pptx/web-components/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAwBrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,YAAY,EACX,6BAA6B,EAC7B,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,GACzB,MAAM,sBAAsB,CAAC;AA0C9B,YAAY,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACtF,YAAY,EACX,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACX,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,GACjC,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACX,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAChG,YAAY,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EACX,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,GAC3B,MAAM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AgB,uBAAuB,IAAI,IAAI,CA0B9C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { InsertChartGrouping, InsertChartKind } from '../render/index.js';
|
|
2
|
+
import type { InsertDialogTranslate } from './insert-dialog-frame.js';
|
|
3
|
+
/** What Insert hands the host: build the chart with `createDefaultChartElement(kind, _, rest)`. */
|
|
4
|
+
export interface InsertChartDialogDetail {
|
|
5
|
+
kind: InsertChartKind;
|
|
6
|
+
title: string;
|
|
7
|
+
grouping: InsertChartGrouping;
|
|
8
|
+
}
|
|
9
|
+
export type InsertChartDialogInsertEvent = CustomEvent<InsertChartDialogDetail>;
|
|
10
|
+
export interface PptxUiInsertChartDialogElement extends HTMLElement {
|
|
11
|
+
open: boolean;
|
|
12
|
+
/** The chart type selected when the dialog opens. */
|
|
13
|
+
kind: InsertChartKind;
|
|
14
|
+
translateLabel: InsertDialogTranslate | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* `pptx-ui-insert-chart-dialog`: PowerPoint's Insert Chart dialog, the shared
|
|
18
|
+
* `office-ui-chart-picker` (type gallery with live previews drawn by the slide's chart
|
|
19
|
+
* renderer, grouping, title) in the shared dialog. Controlled: the host sets `open` (and
|
|
20
|
+
* optionally `kind` and `translateLabel`); Insert emits `insert-chart` with
|
|
21
|
+
* {@link InsertChartDialogDetail}, and every close (Insert, Cancel, Escape, the backdrop)
|
|
22
|
+
* emits `dialog-close` so the host clears its open state. The host inserts the chart.
|
|
23
|
+
*/
|
|
24
|
+
export declare function definePptxInsertChartDialog(registry: CustomElementRegistry): void;
|
|
25
|
+
//# sourceMappingURL=insert-chart-dialog.d.ts.map
|