ooxml-core 0.19.0 → 0.21.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 +21 -43
- package/dist/automation/index.cjs +195 -193
- package/dist/automation/index.mjs +195 -193
- package/dist/chart/axis-nice.d.ts +97 -0
- package/dist/chart/axis-nice.d.ts.map +1 -0
- package/dist/chart/histogram-binning.d.ts +40 -0
- package/dist/chart/histogram-binning.d.ts.map +1 -0
- package/dist/chart/index.cjs +167 -0
- package/dist/chart/index.d.ts +2 -0
- package/dist/chart/index.d.ts.map +1 -1
- package/dist/chart/index.mjs +162 -1
- package/dist/diagram/index.cjs +2 -1
- package/dist/diagram/index.mjs +2 -1
- package/dist/docx/attr-units.d.ts +11 -0
- package/dist/docx/attr-units.d.ts.map +1 -0
- package/dist/docx/block-parser.d.ts.map +1 -1
- package/dist/docx/case-transform.d.ts +9 -0
- package/dist/docx/case-transform.d.ts.map +1 -0
- package/dist/docx/embedded.cjs +2 -1
- package/dist/docx/embedded.mjs +2 -1
- package/dist/docx/index.cjs +289 -3
- package/dist/docx/index.d.ts +5 -0
- package/dist/docx/index.d.ts.map +1 -1
- package/dist/docx/index.mjs +269 -4
- package/dist/docx/layout/adapter.d.ts.map +1 -1
- package/dist/docx/layout/table-layout.d.ts.map +1 -1
- package/dist/docx/load/index.cjs +2 -1
- package/dist/docx/load/index.mjs +2 -1
- package/dist/docx/page-setup-model.d.ts +29 -0
- package/dist/docx/page-setup-model.d.ts.map +1 -0
- package/dist/docx/page-size.d.ts +11 -0
- package/dist/docx/page-size.d.ts.map +1 -0
- package/dist/docx/parse.d.ts.map +1 -1
- package/dist/docx/section-edit.d.ts +19 -0
- package/dist/docx/section-edit.d.ts.map +1 -0
- package/dist/docx/tab-stops.d.ts.map +1 -1
- package/dist/docx/ui/backstage-focus.d.ts +6 -0
- package/dist/docx/ui/backstage-focus.d.ts.map +1 -0
- package/dist/docx/ui/break-note-schema.d.ts +11 -0
- package/dist/docx/ui/break-note-schema.d.ts.map +1 -0
- package/dist/docx/ui/collaboration-authority.d.ts +31 -0
- package/dist/docx/ui/collaboration-authority.d.ts.map +1 -0
- package/dist/docx/ui/collaboration-identity.d.ts +8 -0
- package/dist/docx/ui/collaboration-identity.d.ts.map +1 -0
- package/dist/docx/ui/collaboration-protocol.d.ts +25 -0
- package/dist/docx/ui/collaboration-protocol.d.ts.map +1 -0
- package/dist/docx/ui/collaboration.d.ts +30 -0
- package/dist/docx/ui/collaboration.d.ts.map +1 -0
- package/dist/docx/ui/defined.d.ts +3 -0
- package/dist/docx/ui/defined.d.ts.map +1 -0
- package/dist/docx/ui/dirty-state.d.ts +9 -0
- package/dist/docx/ui/dirty-state.d.ts.map +1 -0
- package/dist/docx/ui/field-guard.d.ts +21 -0
- package/dist/docx/ui/field-guard.d.ts.map +1 -0
- package/dist/docx/ui/header-footer-history.d.ts +15 -0
- package/dist/docx/ui/header-footer-history.d.ts.map +1 -0
- package/dist/docx/ui/index.cjs +2380 -0
- package/dist/docx/ui/index.d.ts +30 -0
- package/dist/docx/ui/index.d.ts.map +1 -0
- package/dist/docx/ui/index.mjs +2317 -0
- package/dist/docx/ui/inline-content-schema.d.ts +15 -0
- package/dist/docx/ui/inline-content-schema.d.ts.map +1 -0
- package/dist/docx/ui/ligature-style.d.ts +4 -0
- package/dist/docx/ui/ligature-style.d.ts.map +1 -0
- package/dist/docx/ui/node-numbering.d.ts +8 -0
- package/dist/docx/ui/node-numbering.d.ts.map +1 -0
- package/dist/docx/ui/review-schema.d.ts +90 -0
- package/dist/docx/ui/review-schema.d.ts.map +1 -0
- package/dist/docx/ui/ribbon-action-ids.d.ts +26 -0
- package/dist/docx/ui/ribbon-action-ids.d.ts.map +1 -0
- package/dist/docx/ui/ribbon-colors.d.ts +3 -0
- package/dist/docx/ui/ribbon-colors.d.ts.map +1 -0
- package/dist/docx/ui/ribbon-legacy-labels.d.ts +6 -0
- package/dist/docx/ui/ribbon-legacy-labels.d.ts.map +1 -0
- package/dist/docx/ui/run-compare.d.ts +5 -0
- package/dist/docx/ui/run-compare.d.ts.map +1 -0
- package/dist/docx/ui/run-extra-mark.d.ts +17 -0
- package/dist/docx/ui/run-extra-mark.d.ts.map +1 -0
- package/dist/docx/ui/schema-marks.d.ts +273 -0
- package/dist/docx/ui/schema-marks.d.ts.map +1 -0
- package/dist/docx/ui/smartart-theme.d.ts +21 -0
- package/dist/docx/ui/smartart-theme.d.ts.map +1 -0
- package/dist/docx/ui/table-render.d.ts +24 -0
- package/dist/docx/ui/table-render.d.ts.map +1 -0
- package/dist/docx/ui/table-visuals.d.ts +3 -0
- package/dist/docx/ui/table-visuals.d.ts.map +1 -0
- package/dist/docx/ui/theme/css-vars.d.ts +6 -0
- package/dist/docx/ui/theme/css-vars.d.ts.map +1 -0
- package/dist/docx/ui/theme/defaults.d.ts +12 -0
- package/dist/docx/ui/theme/defaults.d.ts.map +1 -0
- package/dist/docx/ui/theme/element.d.ts +9 -0
- package/dist/docx/ui/theme/element.d.ts.map +1 -0
- package/dist/docx/ui/theme/index.d.ts +5 -0
- package/dist/docx/ui/theme/index.d.ts.map +1 -0
- package/dist/docx/ui/theme/types.d.ts +42 -0
- package/dist/docx/ui/theme/types.d.ts.map +1 -0
- package/dist/docx/ui/word-count.d.ts +3 -0
- package/dist/docx/ui/word-count.d.ts.map +1 -0
- package/dist/docx/ui/zoom-fit.d.ts +16 -0
- package/dist/docx/ui/zoom-fit.d.ts.map +1 -0
- package/dist/docx/validate-paragraph.d.ts.map +1 -1
- package/dist/index.cjs +169 -1
- package/dist/index.mjs +169 -1
- package/dist/math/index.cjs +2 -1
- package/dist/math/index.mjs +2 -1
- package/dist/opc/index.cjs +2 -1
- package/dist/opc/index.mjs +2 -1
- package/dist/pptx/automation/index.cjs +1572 -863
- package/dist/pptx/automation/index.d.ts +4 -3
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +1572 -863
- package/dist/pptx/chunks/color-ref-BM66NGFP.d.ts +42 -0
- package/dist/pptx/chunks/color-ref-BM66NGFP.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-D0yGoLyw.d.ts → index-CcQTCBnT.d.ts} +63 -479
- package/dist/pptx/chunks/index-CcQTCBnT.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-BtBj3VG1.d.ts → index-DHoPgFcH.d.ts} +529 -11
- package/dist/pptx/chunks/index-DHoPgFcH.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-GuisjlbR.d.ts → text-operations-BzdehTeY.d.ts} +50 -51
- package/dist/pptx/chunks/text-operations-BzdehTeY.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +1204 -489
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +1204 -489
- package/dist/pptx/converter/index.cjs +8 -5
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +8 -5
- package/dist/pptx/index.cjs +1699 -989
- package/dist/pptx/index.d.ts +5 -4
- package/dist/pptx/index.mjs +1698 -990
- package/dist/pptx/ui/index.cjs +510 -0
- package/dist/pptx/ui/index.d.ts +80 -0
- package/dist/pptx/ui/index.d.ts.map +1 -0
- package/dist/pptx/ui/index.mjs +499 -0
- package/dist/visio/index.cjs +2 -1
- package/dist/visio/index.mjs +2 -1
- package/dist/visio/ui/contract.d.ts +33 -0
- package/dist/visio/ui/contract.d.ts.map +1 -0
- package/dist/visio/ui/demo-document.d.ts +4 -0
- package/dist/visio/ui/demo-document.d.ts.map +1 -0
- package/dist/visio/ui/diagnostics.d.ts +10 -0
- package/dist/visio/ui/diagnostics.d.ts.map +1 -0
- package/dist/visio/ui/document-history.d.ts +43 -0
- package/dist/visio/ui/document-history.d.ts.map +1 -0
- package/dist/visio/ui/document-text-search.d.ts +45 -0
- package/dist/visio/ui/document-text-search.d.ts.map +1 -0
- package/dist/visio/ui/edit-commands.d.ts +4 -0
- package/dist/visio/ui/edit-commands.d.ts.map +1 -0
- package/dist/visio/ui/edit-error.d.ts +5 -0
- package/dist/visio/ui/edit-error.d.ts.map +1 -0
- package/dist/visio/ui/foreign-vector-budget.d.ts +25 -0
- package/dist/visio/ui/foreign-vector-budget.d.ts.map +1 -0
- package/dist/visio/ui/index.cjs +1523 -0
- package/dist/visio/ui/index.d.ts +12 -0
- package/dist/visio/ui/index.d.ts.map +1 -0
- package/dist/visio/ui/index.mjs +1498 -0
- package/dist/visio/ui/scene-details.d.ts +8 -0
- package/dist/visio/ui/scene-details.d.ts.map +1 -0
- package/dist/visio/ui/scene-validation.d.ts +5 -0
- package/dist/visio/ui/scene-validation.d.ts.map +1 -0
- package/dist/visio/ui/snapshot-scene.d.ts +9 -0
- package/dist/visio/ui/snapshot-scene.d.ts.map +1 -0
- package/dist/xlsx/index.cjs +100 -98
- package/dist/xlsx/index.mjs +100 -98
- package/dist/xlsx/load/index.cjs +68 -66
- package/dist/xlsx/load/index.mjs +68 -66
- package/dist/xlsx/ui/backstage/templates.d.ts +16 -0
- package/dist/xlsx/ui/backstage/templates.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/alignment.d.ts +4 -0
- package/dist/xlsx/ui/commands/alignment.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/cells.d.ts +3 -0
- package/dist/xlsx/ui/commands/cells.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/cf-presets.d.ts +15 -0
- package/dist/xlsx/ui/commands/cf-presets.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/clipboard.d.ts +22 -0
- package/dist/xlsx/ui/commands/clipboard.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/contextual.d.ts +13 -0
- package/dist/xlsx/ui/commands/contextual.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/data.d.ts +3 -0
- package/dist/xlsx/ui/commands/data.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/editing.d.ts +13 -0
- package/dist/xlsx/ui/commands/editing.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/font.d.ts +21 -0
- package/dist/xlsx/ui/commands/font.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/formulas.d.ts +15 -0
- package/dist/xlsx/ui/commands/formulas.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/core-features.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/core-features.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/format-cells.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/format-cells.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/index.d.ts +4 -0
- package/dist/xlsx/ui/commands/i18n/index.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/messages.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/messages.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/ribbon-home.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/ribbon-home.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/ribbon-tabs.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/ribbon-tabs.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/rules.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/rules.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/tools.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/tools.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/types.d.ts +5 -0
- package/dist/xlsx/ui/commands/i18n/types.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/icons.d.ts +4 -0
- package/dist/xlsx/ui/commands/icons.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/number.d.ts +11 -0
- package/dist/xlsx/ui/commands/number.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/page-layout.d.ts +10 -0
- package/dist/xlsx/ui/commands/page-layout.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/select-special.d.ts +12 -0
- package/dist/xlsx/ui/commands/select-special.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/sort-filter.d.ts +3 -0
- package/dist/xlsx/ui/commands/sort-filter.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/style-presets.d.ts +21 -0
- package/dist/xlsx/ui/commands/style-presets.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/util.d.ts +59 -0
- package/dist/xlsx/ui/commands/util.d.ts.map +1 -0
- package/dist/xlsx/ui/commands.d.ts +36 -0
- package/dist/xlsx/ui/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/context-menu/items.d.ts +36 -0
- package/dist/xlsx/ui/context-menu/items.d.ts.map +1 -0
- package/dist/xlsx/ui/context.d.ts +65 -0
- package/dist/xlsx/ui/context.d.ts.map +1 -0
- package/dist/xlsx/ui/dialogs/format-cells/number-categories.d.ts +28 -0
- package/dist/xlsx/ui/dialogs/format-cells/number-categories.d.ts.map +1 -0
- package/dist/xlsx/ui/dialogs/format-cells/types.d.ts +40 -0
- package/dist/xlsx/ui/dialogs/format-cells/types.d.ts.map +1 -0
- package/dist/xlsx/ui/dialogs/insert-chart-model.d.ts +9 -0
- package/dist/xlsx/ui/dialogs/insert-chart-model.d.ts.map +1 -0
- package/dist/xlsx/ui/dialogs.d.ts +9 -0
- package/dist/xlsx/ui/dialogs.d.ts.map +1 -0
- package/dist/xlsx/ui/dirty-state.d.ts +9 -0
- package/dist/xlsx/ui/dirty-state.d.ts.map +1 -0
- package/dist/xlsx/ui/formula-bar/name-resolve.d.ts +23 -0
- package/dist/xlsx/ui/formula-bar/name-resolve.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/cell-items.d.ts +42 -0
- package/dist/xlsx/ui/grid/cell-items.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/cell-paint.d.ts +26 -0
- package/dist/xlsx/ui/grid/cell-paint.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/edit-bridge.d.ts +47 -0
- package/dist/xlsx/ui/grid/edit-bridge.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/geometry.d.ts +76 -0
- package/dist/xlsx/ui/grid/geometry.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/icon-sets.d.ts +3 -0
- package/dist/xlsx/ui/grid/icon-sets.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/number-fit.d.ts +3 -0
- package/dist/xlsx/ui/grid/number-fit.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/selection-ops.d.ts +32 -0
- package/dist/xlsx/ui/grid/selection-ops.d.ts.map +1 -0
- package/dist/xlsx/ui/grid/view-cache.d.ts +15 -0
- package/dist/xlsx/ui/grid/view-cache.d.ts.map +1 -0
- package/dist/xlsx/ui/index.cjs +28484 -0
- package/dist/xlsx/ui/index.d.ts +56 -0
- package/dist/xlsx/ui/index.d.ts.map +1 -0
- package/dist/xlsx/ui/index.mjs +28290 -0
- package/dist/xlsx/ui/locales/de/commands.d.ts +2 -0
- package/dist/xlsx/ui/locales/de/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/de/grid.d.ts +2 -0
- package/dist/xlsx/ui/locales/de/grid.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/de/index.d.ts +2 -0
- package/dist/xlsx/ui/locales/de/index.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/de/shell.d.ts +2 -0
- package/dist/xlsx/ui/locales/de/shell.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/en/commands.d.ts +2 -0
- package/dist/xlsx/ui/locales/en/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/en/grid.d.ts +2 -0
- package/dist/xlsx/ui/locales/en/grid.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/en/index.d.ts +2 -0
- package/dist/xlsx/ui/locales/en/index.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/en/shell.d.ts +2 -0
- package/dist/xlsx/ui/locales/en/shell.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/es/commands.d.ts +2 -0
- package/dist/xlsx/ui/locales/es/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/es/grid.d.ts +2 -0
- package/dist/xlsx/ui/locales/es/grid.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/es/index.d.ts +2 -0
- package/dist/xlsx/ui/locales/es/index.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/es/shell.d.ts +2 -0
- package/dist/xlsx/ui/locales/es/shell.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/fr/commands.d.ts +2 -0
- package/dist/xlsx/ui/locales/fr/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/fr/grid.d.ts +2 -0
- package/dist/xlsx/ui/locales/fr/grid.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/fr/index.d.ts +2 -0
- package/dist/xlsx/ui/locales/fr/index.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/fr/shell.d.ts +2 -0
- package/dist/xlsx/ui/locales/fr/shell.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/merge.d.ts +7 -0
- package/dist/xlsx/ui/locales/merge.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/zh-CN/commands.d.ts +2 -0
- package/dist/xlsx/ui/locales/zh-CN/commands.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/zh-CN/grid.d.ts +2 -0
- package/dist/xlsx/ui/locales/zh-CN/grid.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/zh-CN/index.d.ts +2 -0
- package/dist/xlsx/ui/locales/zh-CN/index.d.ts.map +1 -0
- package/dist/xlsx/ui/locales/zh-CN/shell.d.ts +2 -0
- package/dist/xlsx/ui/locales/zh-CN/shell.d.ts.map +1 -0
- package/dist/xlsx/ui/localization.d.ts +23 -0
- package/dist/xlsx/ui/localization.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/icon-paths.d.ts +9 -0
- package/dist/xlsx/ui/ribbon/icon-paths.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/parts.d.ts +88 -0
- package/dist/xlsx/ui/ribbon/parts.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/tab-api.d.ts +21 -0
- package/dist/xlsx/ui/ribbon/tab-api.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/tabs/review-view.d.ts +5 -0
- package/dist/xlsx/ui/ribbon/tabs/review-view.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/tabs/theme-palette.d.ts +8 -0
- package/dist/xlsx/ui/ribbon/tabs/theme-palette.d.ts.map +1 -0
- package/dist/xlsx/ui/ribbon/tell-me.d.ts +16 -0
- package/dist/xlsx/ui/ribbon/tell-me.d.ts.map +1 -0
- package/dist/xlsx/ui/selection.d.ts +34 -0
- package/dist/xlsx/ui/selection.d.ts.map +1 -0
- package/dist/xlsx/ui/theme/css-vars.d.ts +6 -0
- package/dist/xlsx/ui/theme/css-vars.d.ts.map +1 -0
- package/dist/xlsx/ui/theme/defaults.d.ts +6 -0
- package/dist/xlsx/ui/theme/defaults.d.ts.map +1 -0
- package/dist/xlsx/ui/theme/element.d.ts +9 -0
- package/dist/xlsx/ui/theme/element.d.ts.map +1 -0
- package/dist/xlsx/ui/theme/types.d.ts +54 -0
- package/dist/xlsx/ui/theme/types.d.ts.map +1 -0
- package/dist/xml/index.cjs +2 -1
- package/dist/xml/index.mjs +2 -1
- package/package.json +42 -4
- package/dist/pptx/chunks/index-BtBj3VG1.d.ts.map +0 -1
- package/dist/pptx/chunks/index-D0yGoLyw.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-GuisjlbR.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/de/commands.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/de/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4FvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/de/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAI9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/de/shell.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAuQxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/en/commands.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/en/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA0FvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/en/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAI9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/en/shell.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmQxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/es/commands.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/es/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4FvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/es/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAI9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/es/shell.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAsQxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/fr/commands.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/fr/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6FvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/fr/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAI9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/fr/shell.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAuQxC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Merges the string files of one locale folder (`shell.ts`, `grid.ts`, `commands.ts`, ...). Each
|
|
3
|
+
* file may export its table under any name (or as default); every exported plain object whose
|
|
4
|
+
* values are all strings is merged, in file-name order, so agents can add files independently.
|
|
5
|
+
*/
|
|
6
|
+
export declare function mergeStringModules(modules: Record<string, Record<string, unknown>>): Readonly<Record<string, string>>;
|
|
7
|
+
//# sourceMappingURL=merge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/locales/merge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,kBAAkB,CACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAC9C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAalC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/zh-CN/commands.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/zh-CN/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwFvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/zh-CN/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/locales/zh-CN/shell.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgQxC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type EditorLocale = 'en' | 'fr' | 'de' | 'es' | 'zh-CN';
|
|
2
|
+
/** A supported locale or any BCP 47 tag that maps onto one (`de-DE`, `zh-Hans`). */
|
|
3
|
+
export type EditorLocaleInput = EditorLocale | (string & {});
|
|
4
|
+
export declare const EDITOR_LOCALES: readonly EditorLocale[];
|
|
5
|
+
/** Every display locale, keyed by its canonical code. `en` defines the key set. */
|
|
6
|
+
export declare const STRINGS: Readonly<Record<EditorLocale, Readonly<Record<string, string>>>>;
|
|
7
|
+
/**
|
|
8
|
+
* Maps any BCP 47 tag to a supported display locale, falling back to English. Region variants
|
|
9
|
+
* resolve to their language (`fr-CA`, `de-DE`, `es-MX`); `zh`, `zh-CN`, `zh-Hans` and `zh-SG` use
|
|
10
|
+
* Simplified Chinese, while Traditional tags (`zh-TW`, `zh-HK`, `zh-Hant`) fall back to English.
|
|
11
|
+
*/
|
|
12
|
+
export declare function normalizeEditorLocale(value: string | null | undefined): EditorLocale;
|
|
13
|
+
/** Fills `{name}` placeholders; unknown names are left as written. */
|
|
14
|
+
export declare function fillTemplate(text: string, vars?: Record<string, string | number>): string;
|
|
15
|
+
/** Translates an English key (falling back to English, then to the key itself) and fills it. */
|
|
16
|
+
export declare function translate(locale: EditorLocale, key: string, vars?: Record<string, string | number>): string;
|
|
17
|
+
/** A bound translator for one locale, the shape of `EditorContext.t`. */
|
|
18
|
+
export declare function translator(locale: () => EditorLocale): (key: string, vars?: Record<string, string | number>) => string;
|
|
19
|
+
/** Formats a number in the display locale (status bar statistics, zoom). */
|
|
20
|
+
export declare function formatNumber(locale: EditorLocale, value: number, digits?: number): string;
|
|
21
|
+
/** Base of new sheet names in the UI language (`Sheet`, `Tabelle`, `Feuil`), as Excel uses. */
|
|
22
|
+
export declare function sheetBaseName(t: (key: string) => string): string;
|
|
23
|
+
//# sourceMappingURL=localization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../../src/xlsx/ui/localization.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC;AAC/D,oFAAoF;AACpF,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAC7D,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAAsC,CAAC;AAEzF,mFAAmF;AACnF,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAMpF,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,CAYpF;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAKzF;AAED,gGAAgG;AAChG,wBAAgB,SAAS,CACxB,MAAM,EAAE,YAAY,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACpC,MAAM,CAGR;AAED,yEAAyE;AACzE,wBAAgB,UAAU,CACzB,MAAM,EAAE,MAAM,YAAY,GACxB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAEjE;AAED,4EAA4E;AAC5E,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,SAAK,GAAG,MAAM,CAMrF;AAED,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAIhE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Line icons for the ribbon on a 24x24 grid, drawn with `currentColor`. The general office
|
|
3
|
+
* glyphs come from docx-viewer's ribbon-icons.ts; the spreadsheet glyphs are drawn for this editor.
|
|
4
|
+
* Commands name an icon from this table, an ooxml-ui icon, or one added with `registerRibbonIcon`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ICON_PATHS: Record<string, string>;
|
|
7
|
+
/** Icons drawn in a spreadsheet hue, as Office tints its command glyphs. */
|
|
8
|
+
export declare const ICON_ACCENTS: Record<string, 'blue' | 'green' | 'red' | 'orange'>;
|
|
9
|
+
//# sourceMappingURL=icon-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-paths.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/ribbon/icon-paths.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyJ7C,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAmC5E,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { EditorContext } from '../context.js';
|
|
2
|
+
export interface RibbonOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export type RibbonControl = {
|
|
7
|
+
kind: 'button';
|
|
8
|
+
command: string;
|
|
9
|
+
size?: 'large' | 'small';
|
|
10
|
+
showLabel?: boolean;
|
|
11
|
+
} | {
|
|
12
|
+
kind: 'toggle';
|
|
13
|
+
command: string;
|
|
14
|
+
size?: 'large' | 'small';
|
|
15
|
+
showLabel?: boolean;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'split';
|
|
18
|
+
command: string;
|
|
19
|
+
menu: RibbonMenuItem[];
|
|
20
|
+
size?: 'large' | 'small';
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'menu';
|
|
23
|
+
label: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
items: RibbonMenuItem[];
|
|
26
|
+
size?: 'large' | 'small';
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'select';
|
|
29
|
+
command: string;
|
|
30
|
+
options: RibbonOption[] | ((ctx: EditorContext) => RibbonOption[]);
|
|
31
|
+
width?: number;
|
|
32
|
+
editable?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/** Split with a theme and standard colour grid; the command arg is a `Color` or undefined. */
|
|
35
|
+
| {
|
|
36
|
+
kind: 'color';
|
|
37
|
+
command: string;
|
|
38
|
+
label: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
} | {
|
|
41
|
+
kind: 'gallery';
|
|
42
|
+
command: string;
|
|
43
|
+
items: (ctx: EditorContext) => {
|
|
44
|
+
id: string;
|
|
45
|
+
label: string;
|
|
46
|
+
preview?: string;
|
|
47
|
+
}[];
|
|
48
|
+
}
|
|
49
|
+
/** Vertical stack of small controls. */
|
|
50
|
+
| {
|
|
51
|
+
kind: 'stack';
|
|
52
|
+
controls: RibbonControl[];
|
|
53
|
+
} | {
|
|
54
|
+
kind: 'separator';
|
|
55
|
+
};
|
|
56
|
+
export type RibbonMenuItem = {
|
|
57
|
+
command: string;
|
|
58
|
+
arg?: unknown;
|
|
59
|
+
label?: string;
|
|
60
|
+
} | {
|
|
61
|
+
separator: true;
|
|
62
|
+
};
|
|
63
|
+
export interface RibbonGroup {
|
|
64
|
+
id: string;
|
|
65
|
+
label: string;
|
|
66
|
+
controls: RibbonControl[];
|
|
67
|
+
/** Command id of the dialog launcher in the group corner. */
|
|
68
|
+
launcher?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface RibbonTab {
|
|
71
|
+
id: string;
|
|
72
|
+
label: string;
|
|
73
|
+
groups: RibbonGroup[];
|
|
74
|
+
/** Contextual tabs (Table Design, Chart Design) show only while this returns true. */
|
|
75
|
+
contextual?: (ctx: EditorContext) => boolean;
|
|
76
|
+
}
|
|
77
|
+
/** Adds or replaces tabs (by id). UI-COMMANDS calls this from `commands/index.ts`. */
|
|
78
|
+
export declare function registerRibbonTabs(tabs: RibbonTab[]): void;
|
|
79
|
+
/** Every registered tab, in registration order. */
|
|
80
|
+
export declare function ribbonTabs(): readonly RibbonTab[];
|
|
81
|
+
/** Notifies the renderer when tabs are registered after it rendered. */
|
|
82
|
+
export declare function onRibbonTabsChange(listener: () => void): () => void;
|
|
83
|
+
/** Test helper: forgets every registered tab. */
|
|
84
|
+
export declare function resetRibbonTabs(): void;
|
|
85
|
+
export declare const isMenuSeparator: (item: RibbonMenuItem) => item is {
|
|
86
|
+
separator: true;
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/ribbon/parts.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tab row belongs to the shared `office-ui-ribbon`: it builds the tabs from the panels, keeps one
|
|
3
|
+
* panel visible and renders the File button. Products reach a tab through its panel, with these
|
|
4
|
+
* helpers, so no other module touches the ribbon's shadow root.
|
|
5
|
+
*/
|
|
6
|
+
export type RibbonElement = HTMLElement & {
|
|
7
|
+
selected: string;
|
|
8
|
+
updateComplete: Promise<boolean>;
|
|
9
|
+
focusTab(): void;
|
|
10
|
+
focusFile(): void;
|
|
11
|
+
setTabHidden(tab: string, reason: string, hidden: boolean): void;
|
|
12
|
+
tabButton(tab: string): HTMLButtonElement | null;
|
|
13
|
+
fileButton(): HTMLButtonElement | null;
|
|
14
|
+
};
|
|
15
|
+
/** Why a tab can be missing: the tools do not apply to the selection, or hidden actions emptied it. */
|
|
16
|
+
export type TabHiddenReason = 'contextual' | 'custom';
|
|
17
|
+
export declare const selectTab: (ribbon: HTMLElement, id: string) => void;
|
|
18
|
+
export declare const setTabHidden: (ribbon: HTMLElement, id: string, reason: TabHiddenReason, hidden: boolean) => void;
|
|
19
|
+
export declare const isTabHidden: (panel: HTMLElement) => boolean;
|
|
20
|
+
export declare const tabButton: (ribbon: HTMLElement, id: string) => HTMLButtonElement | null;
|
|
21
|
+
//# sourceMappingURL=tab-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-api.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/ribbon/tab-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACjC,QAAQ,IAAI,IAAI,CAAC;IACjB,SAAS,IAAI,IAAI,CAAC;IAClB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACjE,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI,CAAC;IACjD,UAAU,IAAI,iBAAiB,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,uGAAuG;AACvG,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,QAAQ,CAAC;AAEtD,eAAO,MAAM,SAAS,WAAY,WAAW,MAAM,MAAM,KAAG,IAE3D,CAAC;AAEF,eAAO,MAAM,YAAY,WAChB,WAAW,MACf,MAAM,UACF,eAAe,UACf,OAAO,KACb,IAAkE,CAAC;AAEtE,eAAO,MAAM,WAAW,UAAW,WAAW,KAAG,OAAgD,CAAC;AAElG,eAAO,MAAM,SAAS,WAAY,WAAW,MAAM,MAAM,KAAG,iBAAiB,GAAG,IACxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review-view.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/ribbon/tabs/review-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,wBAAgB,SAAS,IAAI,SAAS,CAoCrC;AAED,wBAAgB,OAAO,IAAI,SAAS,CAqDnC;AAED,wBAAgB,OAAO,IAAI,SAAS,CAenC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EditorContext } from '../../context.js';
|
|
2
|
+
/** One gallery item: an SVG strip of the theme's dark, light and six accent colours. */
|
|
3
|
+
export declare function themePaletteItems(ctx: EditorContext): {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
preview?: string;
|
|
7
|
+
}[];
|
|
8
|
+
//# sourceMappingURL=theme-palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-palette.d.ts","sourceRoot":"","sources":["../../../../../src/xlsx/ui/ribbon/tabs/theme-palette.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKtD,wFAAwF;AACxF,wBAAgB,iBAAiB,CAChC,GAAG,EAAE,aAAa,GAChB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,CAiBnD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Tell me what you want to do": searches every registered, enabled, visible command by its
|
|
3
|
+
* translated and English label. The shared title bar shows the matches; choosing one runs it, and a
|
|
4
|
+
* command that needs a value (font, size, number format, colour) takes the user to its ribbon
|
|
5
|
+
* control instead (see title-bar.ts).
|
|
6
|
+
*/
|
|
7
|
+
import type { Command } from '../commands.js';
|
|
8
|
+
import type { EditorContext } from '../context.js';
|
|
9
|
+
export interface TellMeHandlers {
|
|
10
|
+
isHidden(id: string): boolean;
|
|
11
|
+
/** Shows the ribbon tab holding a command's control and focuses it; false when there is none. */
|
|
12
|
+
revealControl(id: string): boolean;
|
|
13
|
+
}
|
|
14
|
+
/** Commands matching `query` (case-insensitive, any word order), best first. */
|
|
15
|
+
export declare function searchCommands(ctx: EditorContext, query: string, isHidden: (id: string) => boolean): Command[];
|
|
16
|
+
//# sourceMappingURL=tell-me.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tell-me.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/ribbon/tell-me.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,iGAAiG;IACjG,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;CACnC;AAID,gFAAgF;AAChF,wBAAgB,cAAc,CAC7B,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,GAC/B,OAAO,EAAE,CAsBX"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** The selection model behind `ctx.selection`, and A1 text conversions for the element API. */
|
|
2
|
+
import { type CellRange, type Workbook, type Worksheet } from '../index.js';
|
|
3
|
+
import type { Selection, SelectionModel } from './context.js';
|
|
4
|
+
export declare function initialSelection(sheet: number, workbook?: Workbook): Selection;
|
|
5
|
+
export declare function createSelectionModel(initial?: Selection): SelectionModel;
|
|
6
|
+
/**
|
|
7
|
+
* Per-sheet selection memory, keyed by the worksheet object so it survives sheets being
|
|
8
|
+
* inserted, moved or deleted around it. Switching tabs comes back to each sheet's last cells.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SheetSelections {
|
|
11
|
+
private readonly saved;
|
|
12
|
+
remember(sheet: Worksheet | undefined, selection: Selection): void;
|
|
13
|
+
/** The remembered selection of a sheet, else the one saved in the file, else A1. */
|
|
14
|
+
restore(index: number, workbook: Workbook | undefined): Selection;
|
|
15
|
+
}
|
|
16
|
+
export declare const isWholeRows: (range: CellRange) => boolean;
|
|
17
|
+
export declare const isWholeCols: (range: CellRange) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* One range as Excel writes it: `B2:C5`, whole rows as `2:4` and whole columns as `A:C`. The
|
|
20
|
+
* single formatter for selection-change events, getSelection() and the grid's announcements.
|
|
21
|
+
*/
|
|
22
|
+
export declare function rangeRef(range: CellRange): string;
|
|
23
|
+
/** `B2:C5,E1` for a selection (the order the ranges were made in). */
|
|
24
|
+
export declare function selectionRef(selection: Selection): string;
|
|
25
|
+
export declare function activeRef(selection: Selection): string;
|
|
26
|
+
/**
|
|
27
|
+
* Parses `B2`, `B2:C5`, `A:A`, `1:3`, `B2:C5,E1` and a sheet-qualified `'My Sheet'!B2`. Returns
|
|
28
|
+
* the sheet index (when named) and the ranges, or undefined when the text is not a reference.
|
|
29
|
+
*/
|
|
30
|
+
export declare function parseSelectionRef(ref: string, workbook?: Workbook): {
|
|
31
|
+
sheet?: number;
|
|
32
|
+
ranges: CellRange[];
|
|
33
|
+
} | undefined;
|
|
34
|
+
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../src/xlsx/ui/selection.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,OAAO,EAQN,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAK9D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAK9E;AAID,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,SAA+B,GAAG,cAAc,CA+B7F;AAED;;;GAGG;AACH,qBAAa,eAAe;IAC3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuC;IAE7D,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI,CAEjE;IAED,oFAAoF;IACpF,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAMhE;CACD;AAED,eAAO,MAAM,WAAW,UAAW,SAAS,KAAG,OACI,CAAC;AACpD,eAAO,MAAM,WAAW,UAAW,SAAS,KAAG,OACI,CAAC;AAGpD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAKjD;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAEzD;AAED,wBAAgB,SAAS,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAEtD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAChC,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,QAAQ,GACjB;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG,SAAS,CAuBrD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { XlsxTheme } from './types.js';
|
|
2
|
+
/** Every token key; each becomes the kebab-case `--xve-*` custom property. */
|
|
3
|
+
export declare const THEME_KEYS: readonly ["background", "foreground", "card", "cardForeground", "popover", "popoverForeground", "primary", "primaryForeground", "secondary", "secondaryForeground", "muted", "mutedForeground", "accent", "accentForeground", "destructive", "destructiveForeground", "border", "input", "ring", "radius", "gridLine", "headerBg", "headerFg", "headerActiveBg", "selection", "selectionBorder", "sheetBg"];
|
|
4
|
+
/** Converts a (partial) theme to `--xve-*` custom properties; unknown or empty values are skipped. */
|
|
5
|
+
export declare function themeToCssVars(theme: Partial<XlsxTheme> | undefined): Record<string, string>;
|
|
6
|
+
//# sourceMappingURL=css-vars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-vars.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/theme/css-vars.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,8EAA8E;AAC9E,eAAO,MAAM,UAAU,6YA4B0B,CAAC;AAIlD,sGAAsG;AACtG,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQ5F"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { XlsxTheme } from './types.js';
|
|
2
|
+
/** Light preset: the Word editor's neutral chrome with Excel green as primary. */
|
|
3
|
+
export declare const lightTheme: XlsxTheme;
|
|
4
|
+
/** Dark preset: the Word editor's dark gray scale with a lighter Excel green. */
|
|
5
|
+
export declare const darkTheme: XlsxTheme;
|
|
6
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/theme/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,kFAAkF;AAClF,eAAO,MAAM,UAAU,EAAE,SA4BxB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,SAAS,EAAE,SA4BvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type EditorThemeMode, type XlsxTheme } from './types.js';
|
|
2
|
+
/** Unknown values fall back to `auto`, which follows the OS colour scheme. */
|
|
3
|
+
export declare function normalizeThemeMode(value: unknown): EditorThemeMode;
|
|
4
|
+
/**
|
|
5
|
+
* Applies custom-property overrides inline on the host so they beat the stylesheet presets in
|
|
6
|
+
* light and dark. Returns the applied names so the next call can clear stale ones.
|
|
7
|
+
*/
|
|
8
|
+
export declare function applyThemeColors(host: HTMLElement, previous: readonly string[], colors: Partial<XlsxTheme> | undefined): string[];
|
|
9
|
+
//# sourceMappingURL=element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/theme/element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGtF,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,CAIlE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,GACpC,MAAM,EAAE,CAMV"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Editor theme tokens.
|
|
3
|
+
*
|
|
4
|
+
* Provenance: the semantic key set mirrors docx-viewer's theme (packages/web-component/src/theme,
|
|
5
|
+
* itself following pptx-viewer's shared `ViewerThemeColors` and the shadcn/ui naming), with the
|
|
6
|
+
* `--xve-*` prefix, plus grid tokens for the spreadsheet surface. Keys are camelCase here and
|
|
7
|
+
* become kebab-case custom properties. Values accept any CSS colour. Cells stay white like Excel's
|
|
8
|
+
* sheet in every theme; only the chrome (and the row and column headers) follow dark mode.
|
|
9
|
+
*/
|
|
10
|
+
export interface XlsxTheme {
|
|
11
|
+
/** Application chrome background (title bar, status bar). */
|
|
12
|
+
background: string;
|
|
13
|
+
foreground: string;
|
|
14
|
+
/** Ribbon, panel and backstage surface. */
|
|
15
|
+
card: string;
|
|
16
|
+
cardForeground: string;
|
|
17
|
+
/** Menus, dialogs and other floating surfaces. */
|
|
18
|
+
popover: string;
|
|
19
|
+
popoverForeground: string;
|
|
20
|
+
/** Brand and primary action colour (Excel green). */
|
|
21
|
+
primary: string;
|
|
22
|
+
primaryForeground: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
secondaryForeground: string;
|
|
25
|
+
muted: string;
|
|
26
|
+
mutedForeground: string;
|
|
27
|
+
/** Hover and selected highlight. */
|
|
28
|
+
accent: string;
|
|
29
|
+
accentForeground: string;
|
|
30
|
+
destructive: string;
|
|
31
|
+
destructiveForeground: string;
|
|
32
|
+
border: string;
|
|
33
|
+
input: string;
|
|
34
|
+
/** Focus ring. */
|
|
35
|
+
ring: string;
|
|
36
|
+
/** Base corner radius, e.g. `4px`. */
|
|
37
|
+
radius: string;
|
|
38
|
+
/** Cell gridlines. */
|
|
39
|
+
gridLine: string;
|
|
40
|
+
/** Row and column header background and text. */
|
|
41
|
+
headerBg: string;
|
|
42
|
+
headerFg: string;
|
|
43
|
+
/** Header of a selected row or column. */
|
|
44
|
+
headerActiveBg: string;
|
|
45
|
+
/** Fill over selected cells. */
|
|
46
|
+
selection: string;
|
|
47
|
+
/** Outline of the selection and the active cell. */
|
|
48
|
+
selectionBorder: string;
|
|
49
|
+
/** The sheet behind the cells (white like Excel's paper). */
|
|
50
|
+
sheetBg: string;
|
|
51
|
+
}
|
|
52
|
+
export type EditorThemeMode = 'light' | 'dark' | 'auto';
|
|
53
|
+
export declare const EDITOR_THEME_MODES: readonly EditorThemeMode[];
|
|
54
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/xlsx/ui/theme/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAS;IACzB,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AACxD,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAA8B,CAAC"}
|
package/dist/xml/index.cjs
CHANGED
|
@@ -81,7 +81,8 @@ function parseXml(xml, options = {}) {
|
|
|
81
81
|
}).parseFromString(xml, "application/xml");
|
|
82
82
|
} catch (error) {
|
|
83
83
|
throw new Error(
|
|
84
|
-
`Invalid ${label} XML: ${error instanceof Error ? error.message : String(error)}
|
|
84
|
+
`Invalid ${label} XML: ${error instanceof Error ? error.message : String(error)}`,
|
|
85
|
+
{ cause: error }
|
|
85
86
|
);
|
|
86
87
|
}
|
|
87
88
|
if (parseError || !parsed.documentElement)
|
package/dist/xml/index.mjs
CHANGED
|
@@ -79,7 +79,8 @@ function parseXml(xml, options = {}) {
|
|
|
79
79
|
}).parseFromString(xml, "application/xml");
|
|
80
80
|
} catch (error) {
|
|
81
81
|
throw new Error(
|
|
82
|
-
`Invalid ${label} XML: ${error instanceof Error ? error.message : String(error)}
|
|
82
|
+
`Invalid ${label} XML: ${error instanceof Error ? error.message : String(error)}`,
|
|
83
|
+
{ cause: error }
|
|
83
84
|
);
|
|
84
85
|
}
|
|
85
86
|
if (parseError || !parsed.documentElement)
|