ooxml-core 1.47.0 → 1.48.1
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/dist/PptxHandler-6UQWMUVU.cjs +14 -0
- package/dist/{PptxHandler-NXHZ6ITL.mjs → PptxHandler-PLSH2BAS.mjs} +2 -2
- package/dist/PptxHandler-QLKZVYCG.mjs +5 -0
- package/dist/{PresentationBuilder-URSPID7L.mjs → PresentationBuilder-3QXOJNRO.mjs} +2 -2
- package/dist/{PresentationBuilder-IK6NIK6T.cjs → PresentationBuilder-CRBFFHNW.cjs} +6 -6
- package/dist/{PresentationBuilder-LHQ333UL.mjs → PresentationBuilder-DQ3XFU4R.mjs} +3 -3
- package/dist/{chunk-QHR726W3.mjs → chunk-32K7JG2Z.mjs} +1 -1
- package/dist/{chunk-APCA7N6Q.cjs → chunk-7RCBSNXT.cjs} +3 -3
- package/dist/{chunk-6MU4WKHS.mjs → chunk-CXIDPUT6.mjs} +1 -1
- package/dist/{chunk-553WFEHD.mjs → chunk-EKEE6BTU.mjs} +638 -50
- package/dist/{chunk-XVEJS7HN.mjs → chunk-IKFTITJ7.mjs} +4 -4
- package/dist/{chunk-7L6ZAA5Y.mjs → chunk-K5G6MV37.mjs} +2 -2
- package/dist/{chunk-4GPLQEEC.cjs → chunk-RRA262A6.cjs} +1926 -1326
- package/dist/{chunk-5HNRZOBX.mjs → chunk-WAYEYX4G.mjs} +1 -1
- package/dist/{chunk-Z734BYYR.mjs → chunk-WLKOLTBH.mjs} +653 -53
- package/dist/pptx/automation/index.cjs +45094 -44442
- package/dist/pptx/automation/index.d.ts +5 -12
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/chart-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/chart-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/element-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/element-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/export-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/export-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/geometry-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/geometry-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/index.d.ts +8 -8
- package/dist/pptx/automation/schemas/index.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/json-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/json-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/layout-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/layout-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/lock-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/lock-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/metadata-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/metadata-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/ole-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/ole-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/section-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/section-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/slide-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/slide-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/smartart-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/smartart-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/table-style-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/table-style-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/template-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/template-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/theme-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/theme-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/validation-schemas.d.ts +1 -1
- package/dist/pptx/automation/schemas/validation-schemas.d.ts.map +1 -1
- package/dist/pptx/chunks/color-primitives-DHyz14D9.d.ts +151 -0
- package/dist/pptx/chunks/color-primitives-DHyz14D9.d.ts.map +1 -0
- package/dist/pptx/chunks/{index--HBUyILF.d.ts → index-7tA9HqRL.d.ts} +10060 -1223
- package/dist/pptx/chunks/index-7tA9HqRL.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-Dr3iIPt9.d.ts → index-CAzt1jbx.d.ts} +4 -5
- package/dist/pptx/chunks/index-CAzt1jbx.d.ts.map +1 -0
- package/dist/pptx/chunks/{schemas-LHsDbVOw.d.ts → index-CyAgQ2zG.d.ts} +6 -2
- package/dist/pptx/chunks/index-CyAgQ2zG.d.ts.map +1 -0
- package/dist/pptx/chunks/index-cJSPBkU1.d.ts +185 -0
- package/dist/pptx/chunks/index-cJSPBkU1.d.ts.map +1 -0
- package/dist/pptx/chunks/index-cr_sgz1w.d.ts +94 -0
- package/dist/pptx/chunks/index-cr_sgz1w.d.ts.map +1 -0
- package/dist/pptx/chunks/presentation-Be108jrz.d.ts +12521 -0
- package/dist/pptx/chunks/presentation-Be108jrz.d.ts.map +1 -0
- package/dist/pptx/chunks/{inspection-status-TKac7eqb.d.ts → signature-inspection-status-TKac7eqb.d.ts} +1 -1
- package/dist/pptx/chunks/signature-inspection-status-TKac7eqb.d.ts.map +1 -0
- package/dist/pptx/chunks/text-operations-a1cqBYk9.d.ts +111 -0
- package/dist/pptx/chunks/text-operations-a1cqBYk9.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +746 -94
- package/dist/pptx/cli/index.d.ts +17 -1
- package/dist/pptx/cli/index.d.ts.map +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/ai/table-merge.d.ts +16 -0
- package/dist/pptx/editor/ai/table-merge.d.ts.map +1 -1
- package/dist/pptx/editor/loader/element-patch-walker.d.ts +15 -0
- package/dist/pptx/editor/loader/element-patch-walker.d.ts.map +1 -1
- package/dist/pptx/editor/loader/lazy-image-resolution.d.ts +15 -0
- package/dist/pptx/editor/loader/lazy-image-resolution.d.ts.map +1 -1
- package/dist/pptx/editor/loader/load-content-helpers.d.ts +7 -0
- package/dist/pptx/editor/loader/load-content-helpers.d.ts.map +1 -1
- package/dist/pptx/editor/loader/table-style-image-paths.d.ts +20 -0
- package/dist/pptx/editor/loader/table-style-image-paths.d.ts.map +1 -1
- package/dist/pptx/editor/loader/text-fill-image-paths.d.ts +19 -0
- package/dist/pptx/editor/loader/text-fill-image-paths.d.ts.map +1 -1
- package/dist/pptx/editor/render/bullet-autonum.d.ts +14 -0
- package/dist/pptx/editor/render/bullet-list.d.ts +8 -0
- package/dist/pptx/editor/render/bullet-list.d.ts.map +1 -1
- package/dist/pptx/editor/render/bullet-toggle.d.ts +4 -0
- package/dist/pptx/editor/render/bullet-toggle.d.ts.map +1 -1
- package/dist/pptx/editor/render/chart-user-shape-edit.d.ts +12 -0
- package/dist/pptx/editor/render/chart-user-shape-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/clone.d.ts +20 -0
- package/dist/pptx/editor/render/clone.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-assets.d.ts +17 -0
- package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts +9 -0
- package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-reconcile.d.ts +21 -0
- package/dist/pptx/editor/render/collaboration-reconcile.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-sync.d.ts +32 -4
- package/dist/pptx/editor/render/collaboration-sync.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-codec.d.ts +33 -2
- package/dist/pptx/editor/render/collaboration-text-codec.d.ts.map +1 -0
- package/dist/pptx/editor/render/collaboration-text-merge.d.ts +36 -2
- package/dist/pptx/editor/render/collaboration-text-merge.d.ts.map +1 -0
- package/dist/pptx/editor/render/collaboration-text-native-edit.d.ts +2 -2
- package/dist/pptx/editor/render/collaboration-text-positions.d.ts +34 -2
- package/dist/pptx/editor/render/collaboration-text-positions.d.ts.map +1 -0
- package/dist/pptx/editor/render/collaboration-text-projection.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-session-apply.d.ts +3 -3
- package/dist/pptx/editor/render/collaboration-text-session-delta.d.ts +36 -2
- package/dist/pptx/editor/render/collaboration-text-session-delta.d.ts.map +1 -0
- package/dist/pptx/editor/render/collaboration-text-session-paragraph.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-session.d.ts +40 -2
- package/dist/pptx/editor/render/collaboration-text-session.d.ts.map +1 -0
- package/dist/pptx/editor/render/collaboration-text-snapshot-positions.d.ts +2 -2
- package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.d.ts +14 -0
- package/dist/pptx/editor/render/custom-show-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
- package/dist/pptx/editor/render/deck-save-encryption.d.ts +24 -0
- package/dist/pptx/editor/render/deck-save-encryption.d.ts.map +1 -1
- package/dist/pptx/editor/render/element-locks.d.ts +25 -0
- package/dist/pptx/editor/render/element-locks.d.ts.map +1 -1
- package/dist/pptx/editor/render/element-operations.d.ts +11 -0
- package/dist/pptx/editor/render/element-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/element.d.ts +12 -0
- package/dist/pptx/editor/render/element.d.ts.map +1 -1
- package/dist/pptx/editor/render/find-replace.cjs +15 -15
- package/dist/pptx/editor/render/find-replace.d.ts +8 -2
- package/dist/pptx/editor/render/find-replace.d.ts.map +1 -1
- package/dist/pptx/editor/render/find-replace.mjs +2 -2
- package/dist/pptx/editor/render/font-family-update.d.ts +32 -1
- package/dist/pptx/editor/render/font-family-update.d.ts.map +1 -1
- package/dist/pptx/editor/render/group-drill.d.ts +26 -0
- package/dist/pptx/editor/render/group-drill.d.ts.map +1 -1
- package/dist/pptx/editor/render/group-ops.d.ts +24 -0
- package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts +21 -1
- package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts.map +1 -1
- package/dist/pptx/editor/render/remap-text.d.ts +5 -0
- package/dist/pptx/editor/render/remap-text.d.ts.map +1 -1
- package/dist/pptx/editor/render/section-operations.d.ts +14 -0
- package/dist/pptx/editor/render/section-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-background-patch.d.ts +15 -0
- package/dist/pptx/editor/render/slide-background-patch.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-operations.cjs +9 -9
- package/dist/pptx/editor/render/slide-operations.d.ts +12 -0
- package/dist/pptx/editor/render/slide-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-operations.mjs +3 -3
- package/dist/pptx/editor/render/slide-search.d.ts +6 -0
- package/dist/pptx/editor/render/slide-search.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-size-rescale.d.ts +18 -0
- package/dist/pptx/editor/render/slide-size-rescale.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-transition-edits.d.ts +15 -0
- package/dist/pptx/editor/render/slide-transition-edits.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-cell-edit.d.ts +8 -0
- package/dist/pptx/editor/render/table-cell-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-cell-merge.d.ts +15 -0
- package/dist/pptx/editor/render/table-cell-merge.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-data-grid-ops.d.ts +26 -0
- package/dist/pptx/editor/render/table-data-grid-ops.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-layout.d.ts +3 -1
- package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-merge.d.ts +16 -0
- package/dist/pptx/editor/render/table-merge.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts +13 -0
- package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-style-editor-edit.d.ts +13 -0
- package/dist/pptx/editor/render/table-style-editor-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-style-editor-parts.d.ts +10 -0
- package/dist/pptx/editor/render/table-style-editor-parts.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-style-map-edits.d.ts +20 -0
- package/dist/pptx/editor/render/table-style-map-edits.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-content-style.d.ts +2 -1
- package/dist/pptx/editor/render/text-content-style.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts +2 -2
- package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts +23 -0
- package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +20 -2
- package/dist/pptx/editor/render/text-style-scope.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-theme.d.ts +11 -0
- package/dist/pptx/editor/render/text-theme.d.ts.map +1 -1
- package/dist/pptx/editor/render/theme-editor-presets.d.ts +9 -0
- package/dist/pptx/editor/render/theme-editor-presets.d.ts.map +1 -1
- package/dist/pptx/editor/render/update-text-segment-style.d.ts +2 -1
- package/dist/pptx/editor/render/update-text-segment-style.d.ts.map +1 -1
- package/dist/pptx/index.cjs +34610 -33974
- package/dist/pptx/index.d.ts +24 -10
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +17 -1
- package/dist/pptx/node/index.d.ts.map +1 -1
- package/dist/pptx/signature-node/index.d.ts +8 -1
- package/dist/pptx/signature-node/index.d.ts.map +1 -1
- package/dist/pptx/smartart-layouts/index.d.ts +8 -1
- package/dist/pptx/smartart-layouts/index.d.ts.map +1 -1
- package/dist/pptx/ui/index.d.ts +2 -0
- package/dist/pptx/ui/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/PptxHandler-JX62VKU4.cjs +0 -14
- package/dist/PptxHandler-SUGLNSZI.mjs +0 -5
- package/dist/pptx/chunks/collaboration-text-codec-1VmwD3yq.d.ts +0 -34
- package/dist/pptx/chunks/collaboration-text-codec-1VmwD3yq.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-merge-B-tth-0W.d.ts +0 -19
- package/dist/pptx/chunks/collaboration-text-merge-B-tth-0W.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-positions-D-1Jo1Fz.d.ts +0 -34
- package/dist/pptx/chunks/collaboration-text-positions-D-1Jo1Fz.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-session-CWHTaWF4.d.ts +0 -41
- package/dist/pptx/chunks/collaboration-text-session-CWHTaWF4.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-session-delta-Dxzybssp.d.ts +0 -37
- package/dist/pptx/chunks/collaboration-text-session-delta-Dxzybssp.d.ts.map +0 -1
- package/dist/pptx/chunks/elements-B4Z6N-Gz.d.ts +0 -3993
- package/dist/pptx/chunks/elements-B4Z6N-Gz.d.ts.map +0 -1
- package/dist/pptx/chunks/index--HBUyILF.d.ts.map +0 -1
- package/dist/pptx/chunks/index-BDVzSboe.d.ts +0 -9746
- package/dist/pptx/chunks/index-BDVzSboe.d.ts.map +0 -1
- package/dist/pptx/chunks/index-Dr3iIPt9.d.ts.map +0 -1
- package/dist/pptx/chunks/inspection-status-TKac7eqb.d.ts.map +0 -1
- package/dist/pptx/chunks/schemas-LHsDbVOw.d.ts.map +0 -1
- package/dist/pptx/chunks/smart-art-DB37AsFP.d.ts +0 -1817
- package/dist/pptx/chunks/smart-art-DB37AsFP.d.ts.map +0 -1
- package/dist/pptx/chunks/table-BfgZfw5R.d.ts +0 -1359
- package/dist/pptx/chunks/table-BfgZfw5R.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-CVHXOSit.d.ts +0 -3363
- package/dist/pptx/chunks/text-operations-CVHXOSit.d.ts.map +0 -1
- package/dist/pptx/chunks/text-t_wJ2OwM.d.ts +0 -1452
- package/dist/pptx/chunks/text-t_wJ2OwM.d.ts.map +0 -1
- /package/dist/{chunk-WFN6ZU7N.cjs → chunk-HBQBS7PO.cjs} +0 -0
- /package/dist/{chunk-DEDK2J57.mjs → chunk-I5REMIZR.mjs} +0 -0
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `ooxml-core/pptx/smartart-layouts`: PowerPoint's built-in SmartArt layout definitions.
|
|
3
|
+
*
|
|
4
|
+
* A separate entry because the library is about 350 KB gzipped: the main `pptx` entry never
|
|
5
|
+
* imports it, so only a viewer that offers a named-layout gallery pays for it.
|
|
6
|
+
*/
|
|
7
|
+
import "../chunks/index-cJSPBkU1.js";
|
|
8
|
+
import { Rr as PptxSmartArtData } from "../chunks/presentation-Be108jrz.js";
|
|
2
9
|
/** One entry of the built-in SmartArt layout catalogue. */
|
|
3
10
|
interface BuiltinSmartArtLayoutEntry {
|
|
4
11
|
/** The layout definition's `uniqueId` URN. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../diagram/builtin/types.ts","../../../diagram/builtin/layouts.ts","../../../pptx/core/utils/smartart-builtin-layouts/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../diagram/builtin/types.ts","../../../diagram/builtin/layouts.ts","../../../pptx/core/utils/smartart-builtin-layouts/index.ts"],"mappings":";;;;;;;;;UACiB;;EAEhB;;EAEA;;EAEA;;EAEA;EACA;;;wBCIe,uCAAuC;;wBAKvC,0BAA0B,aAAa;;wBAavC,6BAA6B;;wBAsC7B,+BAA+B;;wBCpC/B,6BAA6B,cAAc;;;;;;wBAsB3C,2BAA2B,MAAM,kBAAkB,aAAa"}
|
package/dist/pptx/ui/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** DOM-free PowerPoint editor logic shared by every viewer binding. */
|
|
2
|
+
import "../chunks/color-primitives-DHyz14D9.js";
|
|
1
3
|
import { n as PptxThemeColorSchemeName, t as PptxThemeColorRef } from "../chunks/color-ref-CwUQoKPJ.js";
|
|
2
4
|
/** A luminance variant of a base theme colour. */
|
|
3
5
|
interface ThemePaletteVariant {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../color/theme-palette.ts","../../../i18n/translator.ts","../../../pptx/ui/theme-color-swatches.ts","../../../pptx/ui/theme-color-picker-state.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../color/theme-palette.ts","../../../i18n/translator.ts","../../../pptx/ui/theme-color-swatches.ts","../../../pptx/ui/theme-color-picker-state.ts"],"mappings":";;;;UAUiB;WACP;;WAEA;;KCXE,gBAAgB,SAAS;;KAGzB,aAAa,aAAa,SAAS;;iBC2B9B;;WAEP,KAAK;;WAEL;;;;;WAKA;;WAEA,SAAS;;;YAIP,oBAAoB;;iBAGf;WACP,QAAQ;WACR,MAAM;WACN,mBAAmB;;;qBAuBhB,sCAAsC,SAAS;;qBAoB/C;WACH;WACD;;;;;;wBAUO,+BAA+B,qBAAqB;;wBAKpD,uBACf,QAAQ,0BACR,SAAS,oBACP;;;;;;wBASa,yBACf,KAAK,mBACL,SAAS,+BACT,YAAY;;;;;wBAqBG,uBAAuB,KAAK,oBAAoB;;;;;;;;wBAkBhD,0BACf,eAAe,SAAS,qCACxB,YAAY,qBACD;;iBCrJK;;WAEP;;WAEA,KAAK;;;wBAIC,oBACf,GAAG,+BACH,GAAG;;;;;;;;;;wBAuBY,wBACf,kBAAkB,0BAClB,KAAK,+BACL,0BACE;;wBA0Ba,kBAAkB,QAAQ,mBAAmB;;;;;wBAQ7C,kBAAkB,cAAc;;;;;;;wBAUhC,qBACf,kBAAkB,+CACI"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.1",
|
|
4
4
|
"description": "Shared OOXML logic for the Word, PowerPoint and Excel viewers: everything except the UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"charts",
|
|
@@ -291,8 +291,8 @@
|
|
|
291
291
|
},
|
|
292
292
|
"dependencies": {
|
|
293
293
|
"@xmldom/xmldom": "^0.9.12",
|
|
294
|
-
"emf-converter": "^4.25.
|
|
295
|
-
"fast-xml-parser": "^5.
|
|
294
|
+
"emf-converter": "^4.25.4",
|
|
295
|
+
"fast-xml-parser": "^5.12.0",
|
|
296
296
|
"fflate": "^0.8.3",
|
|
297
297
|
"jszip": "^3.10.2",
|
|
298
298
|
"lib0": "^0.2.119",
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"prosemirror-keymap": "^1.2.3",
|
|
304
304
|
"prosemirror-model": "^1.25.12",
|
|
305
305
|
"prosemirror-state": "^1.4.4",
|
|
306
|
-
"prosemirror-transform": "^1.12.
|
|
306
|
+
"prosemirror-transform": "^1.12.5",
|
|
307
307
|
"prosemirror-view": "^1.42.8",
|
|
308
308
|
"utif": "3.1.0",
|
|
309
309
|
"xpath": "0.0.36",
|
|
@@ -314,17 +314,17 @@
|
|
|
314
314
|
"devDependencies": {
|
|
315
315
|
"@christophervr/ole2": "0.14.0",
|
|
316
316
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
317
|
-
"@napi-rs/canvas": "^1.0
|
|
317
|
+
"@napi-rs/canvas": "^1.1.0",
|
|
318
318
|
"@types/node": "^26.6.6",
|
|
319
319
|
"@types/node-forge": "^1.3.14",
|
|
320
320
|
"@types/utif": "3.0.6",
|
|
321
321
|
"fast-check": "^4.10.2",
|
|
322
|
-
"node-forge": "^1.4.
|
|
323
|
-
"tsdown": "^0.23.
|
|
322
|
+
"node-forge": "^1.4.3",
|
|
323
|
+
"tsdown": "^0.23.5",
|
|
324
324
|
"tsup": "^9.0.0",
|
|
325
325
|
"typescript": "^7.0.2",
|
|
326
326
|
"unrun": "^0.3.1",
|
|
327
|
-
"vitest": "^5.0
|
|
327
|
+
"vitest": "^5.1.0",
|
|
328
328
|
"xml-crypto": "^6.4.0",
|
|
329
329
|
"xmllint-wasm": "5.3.0",
|
|
330
330
|
"zod": "^4.6.7"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk4GPLQEEC_cjs = require('./chunk-4GPLQEEC.cjs');
|
|
4
|
-
require('./chunk-APCA7N6Q.cjs');
|
|
5
|
-
require('./chunk-WFN6ZU7N.cjs');
|
|
6
|
-
require('./chunk-XZPZHXV4.cjs');
|
|
7
|
-
require('./chunk-5W2QL4SB.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "PptxHandler", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunk4GPLQEEC_cjs.PptxHandler; }
|
|
14
|
-
});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* collaboration-text-codec.ts: TextSegment[] <-> Y.Text delta codec used by the
|
|
3
|
-
* collaboration sync layer. Split out of collaboration-sync.ts to keep both
|
|
4
|
-
* modules focused.
|
|
5
|
-
*
|
|
6
|
-
* Exports:
|
|
7
|
-
* - DeltaOp / YTextLike: structural Yjs text interfaces (no yjs import)
|
|
8
|
-
* - encodeTextBody: write TextSegment[] into a live YTextLike
|
|
9
|
-
* - encodeSegmentsToDelta: pure simulation of the delta Y.Text would produce
|
|
10
|
-
* - decodeDelta / decodeTextBody: delta -> TextSegment[]
|
|
11
|
-
* - isYTextLike: runtime guard
|
|
12
|
-
*/
|
|
13
|
-
interface DeltaOp {
|
|
14
|
-
insert?: unknown;
|
|
15
|
-
attributes?: Record<string, unknown>;
|
|
16
|
-
}
|
|
17
|
-
interface YTextLike {
|
|
18
|
-
insert: (index: number, text: string, attrs?: Record<string, string>) => void;
|
|
19
|
-
toDelta: () => DeltaOp[];
|
|
20
|
-
toString: () => string;
|
|
21
|
-
}
|
|
22
|
-
declare function isYTextLike(value: unknown): value is YTextLike;
|
|
23
|
-
declare function encodeTextBody(segments: unknown[], ytext: YTextLike): void;
|
|
24
|
-
/**
|
|
25
|
-
* Pure simulation of the delta a Y.Text produces after `encodeTextBody`:
|
|
26
|
-
* adjacent runs with identical attribute maps merge into one op, matching
|
|
27
|
-
* Yjs run-merging. Used to compare desired segments against a live Y.Text
|
|
28
|
-
* without instantiating one.
|
|
29
|
-
*/
|
|
30
|
-
declare function encodeSegmentsToDelta(segments: unknown[]): DeltaOp[];
|
|
31
|
-
declare function decodeDelta(delta: DeltaOp[]): Record<string, unknown>[];
|
|
32
|
-
declare function decodeTextBody(ytext: YTextLike): Record<string, unknown>[];
|
|
33
|
-
export { encodeSegmentsToDelta as a, decodeTextBody as i, YTextLike as n, encodeTextBody as o, decodeDelta as r, isYTextLike as s, DeltaOp as t };
|
|
34
|
-
//# sourceMappingURL=collaboration-text-codec-1VmwD3yq.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-codec-1VmwD3yq.d.ts","names":[],"sources":["../../../pptx/editor/render/collaboration-text-codec.ts"],"mappings":";;;;;;;;;;;;UAaiB;EAChB;EACA,aAAa;;UAGG;EAChB,SAAS,eAAe,cAAc,QAAQ;EAC9C,eAAe;EACf;;iBAGe,YAAY,iBAAiB,SAAS;iBAsFtC,eAAe,qBAAqB,OAAO;;;;;;;iBAoB3C,sBAAsB,sBAAsB;iBAqB5C,YAAY,OAAO,YAAY;iBAiI/B,eAAe,OAAO,YAAY"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { n as YTextLike, t as DeltaOp } from "./collaboration-text-codec-1VmwD3yq.js";
|
|
2
|
-
/** Y.Text surface needed for in-place edits (delete/format on top of insert). */
|
|
3
|
-
interface YTextEditableLike extends YTextLike {
|
|
4
|
-
delete: (index: number, length: number) => void;
|
|
5
|
-
format: (index: number, length: number, attributes: Record<string, string | null>) => void;
|
|
6
|
-
}
|
|
7
|
-
declare function isYTextEditable(value: unknown): value is YTextEditableLike;
|
|
8
|
-
declare function commonPrefixLength(a: string, b: string): number;
|
|
9
|
-
declare function commonSuffixLength(a: string, b: string, prefix: number): number;
|
|
10
|
-
/**
|
|
11
|
-
* Apply the minimal edit script that turns the live `ytext` into the state
|
|
12
|
-
* described by `desiredOps`. Returns false (leaving the caller to fall back
|
|
13
|
-
* to wholesale replacement) if the text diff did not converge.
|
|
14
|
-
*
|
|
15
|
-
* Must be called inside a Y.Doc transaction when the text is integrated.
|
|
16
|
-
*/
|
|
17
|
-
declare function mergeDeltaIntoYText(ytext: YTextEditableLike, desiredOps: DeltaOp[]): boolean;
|
|
18
|
-
export { mergeDeltaIntoYText as a, isYTextEditable as i, commonPrefixLength as n, commonSuffixLength as r, YTextEditableLike as t };
|
|
19
|
-
//# sourceMappingURL=collaboration-text-merge-B-tth-0W.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-merge-B-tth-0W.d.ts","names":[],"sources":["../../../pptx/editor/render/collaboration-text-merge.ts"],"mappings":";;UAuBiB,0BAA0B;EAC1C,SAAS,eAAe;EACxB,SAAS,eAAe,gBAAgB,YAAY;;iBAGrC,gBAAgB,iBAAiB,SAAS;iBAqB1C,mBAAmB,WAAW;iBAa9B,mBAAmB,WAAW,WAAW;;;;;;;;iBAsGzC,oBAAoB,OAAO,mBAAmB,YAAY"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/** Identity-preserving changes from a CRDT snapshot, not a plain-text diff. */
|
|
2
|
-
interface TextPositionChange {
|
|
3
|
-
retain?: number;
|
|
4
|
-
delete?: number;
|
|
5
|
-
insert?: string;
|
|
6
|
-
}
|
|
7
|
-
interface TextPositionCell {
|
|
8
|
-
index: number;
|
|
9
|
-
left?: TextPositionCell;
|
|
10
|
-
right?: TextPositionCell;
|
|
11
|
-
}
|
|
12
|
-
interface TrackedTextPosition {
|
|
13
|
-
/** Internal identity, shared by snapshots that observed the same character. */
|
|
14
|
-
readonly cell: TextPositionCell;
|
|
15
|
-
readonly association: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Keep observed character identities without a Yjs index scan per character.
|
|
19
|
-
* Removed characters point to surviving neighbours; resolving their start/end
|
|
20
|
-
* cannot include new text inserted into the deleted gap. This uses explicit gap
|
|
21
|
-
* affinity, not Yjs's historical tombstone ordering or collaborative undo.
|
|
22
|
-
*
|
|
23
|
-
* A bridge must provide complete identity-preserving changes before capture or
|
|
24
|
-
* resolution, including local writes. Unordered/lazy observer deltas are not a
|
|
25
|
-
* sufficient source when host observers can change the document themselves.
|
|
26
|
-
*/
|
|
27
|
-
declare function createTextPositionTracker(length: number): {
|
|
28
|
-
capture(index: number, association: number): TrackedTextPosition;
|
|
29
|
-
resolve(position: TrackedTextPosition): number | null;
|
|
30
|
-
apply(changes: readonly TextPositionChange[]): boolean;
|
|
31
|
-
dispose: () => void;
|
|
32
|
-
};
|
|
33
|
-
export { TrackedTextPosition as n, createTextPositionTracker as r, TextPositionChange as t };
|
|
34
|
-
//# sourceMappingURL=collaboration-text-positions-D-1Jo1Fz.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-positions-D-1Jo1Fz.d.ts","names":[],"sources":["../../../pptx/editor/render/collaboration-text-positions.ts"],"mappings":";UACiB;EAChB;EACA;EACA;;UAGS;EACT;EACA,OAAO;EACP,QAAQ;;UAGQ;;WAEP,MAAM;WACN;;;;;;;;;;;;iBAaM,0BAA0B;EAqBzB,QAAA,eAAM,sBAAwB;EAS3B,QAAA,UAAA;EASH,MAAA,kBAAS;EAlCL"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { t as DeltaOp } from "./collaboration-text-codec-1VmwD3yq.js";
|
|
2
|
-
import { t as YTextEditableLike } from "./collaboration-text-merge-B-tth-0W.js";
|
|
3
|
-
import { t as LocalTextEdit } from "./collaboration-text-session-delta-Dxzybssp.js";
|
|
4
|
-
/** Supplied by the binding's existing Yjs runtime, bound to this exact Y.Text. */
|
|
5
|
-
interface TextSessionPositions<Position> {
|
|
6
|
-
capture: (index: number, association: number) => Position;
|
|
7
|
-
resolve: (position: Position) => number | null;
|
|
8
|
-
/** Synchronize tracked positions once per batch, including in-transaction writes. */
|
|
9
|
-
refresh?: () => boolean | void;
|
|
10
|
-
/** Release only resources created for this session. */
|
|
11
|
-
dispose?: () => void;
|
|
12
|
-
}
|
|
13
|
-
/** Opaque acknowledgement identity for an exact remote snapshot painted by an adapter. */
|
|
14
|
-
interface CollaborationTextSnapshot {
|
|
15
|
-
readonly delta: readonly DeltaOp[];
|
|
16
|
-
}
|
|
17
|
-
interface CollaborationTextSession {
|
|
18
|
-
applyLocalDelta: (delta: readonly DeltaOp[], edit?: LocalTextEdit) => boolean;
|
|
19
|
-
readMerged: () => CollaborationTextSnapshot | undefined;
|
|
20
|
-
adoptMerged: (snapshot: CollaborationTextSnapshot) => boolean;
|
|
21
|
-
/** Capture an offset in the last painted/local draft, not the newer remote string. */
|
|
22
|
-
bookmark: (index: number, association: number) => () => number | null;
|
|
23
|
-
dispose: () => void;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Rebase an active editor's local intent onto an integrated Y.Text.
|
|
27
|
-
*
|
|
28
|
-
* This primitive uses encoded deltas, including the codec's break and empty-run
|
|
29
|
-
* carriers. Adapters must map native body offsets, initialize legacy plain-text
|
|
30
|
-
* inputs, and apply/acknowledge remote DOM snapshots separately. It does not
|
|
31
|
-
* reinterpret scalar text, own host resources or schedule delayed whole drafts.
|
|
32
|
-
*/
|
|
33
|
-
declare function createCollaborationTextSession<Position>({ text, positions, transact, isCurrent }: {
|
|
34
|
-
text: YTextEditableLike;
|
|
35
|
-
positions: TextSessionPositions<Position>;
|
|
36
|
-
transact: (callback: () => void) => void;
|
|
37
|
-
/** Checks edit permission and the exact document/element/text identity. */
|
|
38
|
-
isCurrent: () => boolean;
|
|
39
|
-
}): CollaborationTextSession | undefined;
|
|
40
|
-
export { createCollaborationTextSession as i, CollaborationTextSnapshot as n, TextSessionPositions as r, CollaborationTextSession as t };
|
|
41
|
-
//# sourceMappingURL=collaboration-text-session-CWHTaWF4.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-session-CWHTaWF4.d.ts","names":[],"sources":["../../../pptx/editor/render/collaboration-text-session.ts"],"mappings":";;;;UAaiB,qBAAqB;EACrC,UAAU,eAAe,wBAAwB;EACjD,UAAU,UAAU;;EAEpB;;EAEA;;;UAIgB;WACP,gBAAgB;;UAGT;EAChB,kBAAkB,gBAAgB,WAAW,OAAO;EACpD,kBAAkB;EAClB,cAAc,UAAU;;EAExB,WAAW,eAAe;EAC1B;;;;;;;;;;iBAWe,+BAA+B,YAC9C,MACA,WACA,UACA;EAEA,MAAM;EACN,WAAW,qBAAqB;EAChC,WAAW;;EAEX;IACG"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { t as DeltaOp } from "./collaboration-text-codec-1VmwD3yq.js";
|
|
2
|
-
interface TextSessionUnit {
|
|
3
|
-
text: string;
|
|
4
|
-
attributes: Record<string, string>;
|
|
5
|
-
}
|
|
6
|
-
/** Browser edit range mapped to the editor's pre-input encoded coordinates. */
|
|
7
|
-
interface LocalTextReplacement {
|
|
8
|
-
from: number;
|
|
9
|
-
to: number;
|
|
10
|
-
}
|
|
11
|
-
/** Desired UTF-16 units mapped to the editor's previously observed identities. */
|
|
12
|
-
interface TextSessionCorrespondence {
|
|
13
|
-
readonly retainedIndices: readonly (number | null)[];
|
|
14
|
-
/** Old carriers for known paragraph attributes, independently of character identity. */
|
|
15
|
-
readonly paragraphSources?: readonly (number | null)[];
|
|
16
|
-
}
|
|
17
|
-
type LocalTextEdit = LocalTextReplacement | TextSessionCorrespondence;
|
|
18
|
-
/** A range disambiguates repeated text; reject a draft that changed outside it. */
|
|
19
|
-
declare function textSessionReplacementSpan(before: string, after: string, { from, to }: LocalTextReplacement): {
|
|
20
|
-
prefix: number;
|
|
21
|
-
suffix: number;
|
|
22
|
-
} | undefined;
|
|
23
|
-
/** Validate all identities before writes; null units are explicit new insertions. */
|
|
24
|
-
declare function textSessionRetainedIndices(before: string, after: string, edit?: LocalTextEdit): (number | null)[] | undefined;
|
|
25
|
-
/** Copy and validate optional carrier provenance before entering a transaction. */
|
|
26
|
-
declare function textSessionPlan(before: string, after: string, edit?: LocalTextEdit): TextSessionCorrespondence | undefined;
|
|
27
|
-
declare function textSessionAttributesEqual(a: Record<string, string>, b: Record<string, string>): boolean;
|
|
28
|
-
/** Encoded Y.Text coordinates, not native editor/body offsets. */
|
|
29
|
-
declare function textSessionDeltaSupported(delta: readonly DeltaOp[]): boolean;
|
|
30
|
-
/** Expand validated encoded runs into UTF-16 character identities. */
|
|
31
|
-
declare function textSessionUnits(delta: readonly DeltaOp[]): TextSessionUnit[] | undefined;
|
|
32
|
-
/** Preserve remote keys when the local draft did not change them. */
|
|
33
|
-
declare function textSessionAttributePatch(before: Record<string, string>, after: Record<string, string>, current: Record<string, string>): Record<string, string | null>;
|
|
34
|
-
/** Codec JSON objects merge local property changes without overwriting peer keys. */
|
|
35
|
-
declare function mergeTextSessionObjectAttribute(before: string | undefined, after: string | undefined, current: string | undefined): string | null;
|
|
36
|
-
export { mergeTextSessionObjectAttribute as a, textSessionDeltaSupported as c, textSessionRetainedIndices as d, textSessionUnits as f, TextSessionUnit as i, textSessionPlan as l, LocalTextReplacement as n, textSessionAttributePatch as o, TextSessionCorrespondence as r, textSessionAttributesEqual as s, LocalTextEdit as t, textSessionReplacementSpan as u };
|
|
37
|
-
//# sourceMappingURL=collaboration-text-session-delta-Dxzybssp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-session-delta-Dxzybssp.d.ts","names":[],"sources":["../../../pptx/editor/render/collaboration-text-session-delta.ts"],"mappings":";UAGiB;EAChB;EACA,YAAY;;;UAII;EAChB;EACA;;;UAIgB;WACP;;WAEA;;KAGE,gBAAgB,uBAAuB;;iBAWnC,2BACf,gBACA,iBACE,MAAM,MAAM;EACV;EAAgB;;;iBAoBL,2BACf,gBACA,eACA,OAAO;;iBA8CQ,gBACf,gBACA,eACA,OAAO,gBACL;iBAsBa,2BACf,GAAG,wBACH,GAAG;;iBASY,0BAA0B,gBAAgB;;iBAS1C,iBAAiB,gBAAgB,YAAY;;iBAqB7C,0BACf,QAAQ,wBACR,OAAO,wBACP,SAAS,yBACP;;iBAmDa,gCACf,4BACA,2BACA"}
|