ooxml-core 1.37.0 → 1.38.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 +7 -0
- package/dist/automation/index.cjs +207 -207
- package/dist/automation/index.mjs +207 -207
- package/dist/{chunk-M2DFN3SP.mjs → chunk-XBIZIBTJ.mjs} +507 -10
- package/dist/collab/merge-values.d.ts +14 -0
- package/dist/collab/merge-values.d.ts.map +1 -0
- package/dist/docx/embedded.cjs +476 -474
- package/dist/docx/embedded.mjs +476 -474
- package/dist/docx/index.cjs +1075 -719
- package/dist/docx/index.d.ts +1 -0
- package/dist/docx/index.d.ts.map +1 -1
- package/dist/docx/index.mjs +1075 -720
- package/dist/docx/layout/index.cjs +4 -0
- package/dist/docx/layout/index.mjs +4 -0
- package/dist/docx/load/index.cjs +164 -164
- package/dist/docx/load/index.mjs +164 -164
- package/dist/docx/merge-snapshots.d.ts +9 -0
- package/dist/docx/merge-snapshots.d.ts.map +1 -0
- package/dist/docx/ui/index.cjs +155 -155
- package/dist/docx/ui/index.mjs +155 -155
- package/dist/embedding/index.cjs +207 -0
- package/dist/embedding/index.d.ts +3 -0
- package/dist/embedding/index.d.ts.map +1 -1
- package/dist/embedding/index.mjs +205 -1
- package/dist/embedding/onedrive/client.d.ts +4 -0
- package/dist/embedding/onedrive/client.d.ts.map +1 -0
- package/dist/embedding/onedrive/index.cjs +617 -0
- package/dist/embedding/onedrive/index.d.ts +6 -0
- package/dist/embedding/onedrive/index.d.ts.map +1 -0
- package/dist/embedding/onedrive/index.mjs +611 -0
- package/dist/embedding/onedrive/metadata.d.ts +6 -0
- package/dist/embedding/onedrive/metadata.d.ts.map +1 -0
- package/dist/embedding/onedrive/requests.d.ts +8 -0
- package/dist/embedding/onedrive/requests.d.ts.map +1 -0
- package/dist/embedding/onedrive/session.d.ts +4 -0
- package/dist/embedding/onedrive/session.d.ts.map +1 -0
- package/dist/embedding/onedrive/transport.d.ts +9 -0
- package/dist/embedding/onedrive/transport.d.ts.map +1 -0
- package/dist/embedding/onedrive/types.d.ts +86 -0
- package/dist/embedding/onedrive/types.d.ts.map +1 -0
- package/dist/embedding/onedrive/upload.d.ts +3 -0
- package/dist/embedding/onedrive/upload.d.ts.map +1 -0
- package/dist/embedding/storage-merge.d.ts +8 -0
- package/dist/embedding/storage-merge.d.ts.map +1 -0
- package/dist/embedding/storage-session.d.ts +7 -0
- package/dist/embedding/storage-session.d.ts.map +1 -0
- package/dist/embedding/versioned-storage.d.ts +67 -0
- package/dist/embedding/versioned-storage.d.ts.map +1 -0
- package/dist/index.cjs +1013 -340
- package/dist/index.mjs +1013 -340
- package/dist/opc/index.cjs +680 -216
- package/dist/opc/index.d.ts +1 -0
- package/dist/opc/index.d.ts.map +1 -1
- package/dist/opc/index.mjs +680 -217
- package/dist/opc/merge-snapshots.d.ts +26 -0
- package/dist/opc/merge-snapshots.d.ts.map +1 -0
- package/dist/pptx/automation/index.cjs +20 -6
- package/dist/pptx/automation/index.d.ts +8 -17
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +1 -1
- package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/chart-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/chart-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/element-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/element-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/export-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/export-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/geometry-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/geometry-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/index.d.ts +1 -3
- package/dist/pptx/automation/schemas/index.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/json-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/json-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/layout-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/layout-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/lock-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/lock-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/metadata-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/metadata-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/ole-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/ole-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/section-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/section-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/slide-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/slide-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/smartart-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/smartart-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/table-style-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/table-style-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/template-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/template-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/theme-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/theme-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/validation-schemas.d.ts +1 -3
- package/dist/pptx/automation/schemas/validation-schemas.d.ts.map +1 -1
- package/dist/pptx/chunks/{collaboration-text-codec-Du_XeE_i.d.ts → collaboration-text-codec-1VmwD3yq.d.ts} +1 -3
- package/dist/pptx/chunks/collaboration-text-codec-1VmwD3yq.d.ts.map +1 -0
- package/dist/pptx/chunks/{collaboration-text-merge-DWWWdT_t.d.ts → collaboration-text-merge-B-tth-0W.d.ts} +2 -4
- package/dist/pptx/chunks/collaboration-text-merge-B-tth-0W.d.ts.map +1 -0
- package/dist/pptx/chunks/{collaboration-text-positions-MMT3GkZi.d.ts → collaboration-text-positions-D-1Jo1Fz.d.ts} +1 -3
- package/dist/pptx/chunks/collaboration-text-positions-D-1Jo1Fz.d.ts.map +1 -0
- package/dist/pptx/chunks/{collaboration-text-session-D0NOLQk7.d.ts → collaboration-text-session-CWHTaWF4.d.ts} +4 -6
- package/dist/pptx/chunks/collaboration-text-session-CWHTaWF4.d.ts.map +1 -0
- package/dist/pptx/chunks/{collaboration-text-session-delta-CzJGrTKJ.d.ts → collaboration-text-session-delta-Dxzybssp.d.ts} +2 -4
- package/dist/pptx/chunks/collaboration-text-session-delta-Dxzybssp.d.ts.map +1 -0
- package/dist/pptx/chunks/{color-ref-DT599vEx.d.ts → color-ref-CwUQoKPJ.d.ts} +1 -3
- package/dist/pptx/chunks/color-ref-CwUQoKPJ.d.ts.map +1 -0
- package/dist/pptx/chunks/{elements-f3UbFph-.d.ts → elements-DheCTwi0.d.ts} +4 -54
- package/dist/pptx/chunks/elements-DheCTwi0.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-Bp-1pGo1.d.ts → index-B4ofjG6_.d.ts} +6 -384
- package/dist/pptx/chunks/index-B4ofjG6_.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-BnH2QjYm.d.ts → index-Jcce8TlI.d.ts} +5 -37
- package/dist/pptx/chunks/index-Jcce8TlI.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-pLLN4OTz.d.ts → index-bgj0Ztnq.d.ts} +23 -543
- package/dist/pptx/chunks/index-bgj0Ztnq.d.ts.map +1 -0
- package/dist/pptx/chunks/{inspection-status-DjiWd_Aa.d.ts → inspection-status-TKac7eqb.d.ts} +1 -13
- package/dist/pptx/chunks/inspection-status-TKac7eqb.d.ts.map +1 -0
- package/dist/pptx/chunks/{schemas-fuDGetRe.d.ts → schemas-LHsDbVOw.d.ts} +1 -29
- package/dist/pptx/chunks/schemas-LHsDbVOw.d.ts.map +1 -0
- package/dist/pptx/chunks/{smart-art-CmOrPLLQ.d.ts → smart-art-DB37AsFP.d.ts} +2 -46
- package/dist/pptx/chunks/smart-art-DB37AsFP.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-D5sgspO6.d.ts → text-operations-CdgEnFuK.d.ts} +4 -32
- package/dist/pptx/chunks/text-operations-CdgEnFuK.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-P9xVnXXf.d.ts → text-t_wJ2OwM.d.ts} +2 -12
- package/dist/pptx/chunks/text-t_wJ2OwM.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +20 -6
- package/dist/pptx/cli/index.d.ts +1 -3
- package/dist/pptx/cli/index.d.ts.map +1 -1
- package/dist/pptx/converter/index.cjs +7 -0
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/editor/ai/table-merge.d.ts +0 -2
- package/dist/pptx/editor/ai/table-merge.d.ts.map +1 -1
- package/dist/pptx/editor/loader/element-patch-walker.d.ts +0 -2
- package/dist/pptx/editor/loader/element-patch-walker.d.ts.map +1 -1
- package/dist/pptx/editor/loader/is-external-url.d.ts +0 -2
- package/dist/pptx/editor/loader/is-external-url.d.ts.map +1 -1
- package/dist/pptx/editor/loader/lazy-image-resolution.d.ts +0 -2
- package/dist/pptx/editor/loader/lazy-image-resolution.d.ts.map +1 -1
- package/dist/pptx/editor/loader/load-content-helpers.d.ts +0 -2
- package/dist/pptx/editor/loader/load-content-helpers.d.ts.map +1 -1
- package/dist/pptx/editor/loader/table-style-image-paths.d.ts +0 -2
- 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 +0 -2
- package/dist/pptx/editor/loader/text-fill-image-paths.d.ts.map +1 -1
- package/dist/pptx/editor/render/bullet-list.d.ts +0 -2
- package/dist/pptx/editor/render/bullet-list.d.ts.map +1 -1
- package/dist/pptx/editor/render/bullet-toggle.d.ts +0 -2
- package/dist/pptx/editor/render/bullet-toggle.d.ts.map +1 -1
- package/dist/pptx/editor/render/chart-user-shape-edit.d.ts +0 -2
- package/dist/pptx/editor/render/chart-user-shape-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/clone.d.ts +0 -2
- package/dist/pptx/editor/render/clone.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-active-session.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-active-session.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-departure.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-departure.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-load-origin.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-load-origin.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-reconcile.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-reconcile.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-sync.d.ts +4 -8
- package/dist/pptx/editor/render/collaboration-sync.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-codec.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-lease.d.ts +0 -2
- package/dist/pptx/editor/render/collaboration-text-lease.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-merge.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-native-edit.d.ts +2 -4
- package/dist/pptx/editor/render/collaboration-text-native-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-positions.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-projection.d.ts +1 -3
- package/dist/pptx/editor/render/collaboration-text-projection.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-session-apply.d.ts +3 -5
- package/dist/pptx/editor/render/collaboration-text-session-apply.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-session-delta.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-session-paragraph.d.ts +1 -3
- package/dist/pptx/editor/render/collaboration-text-session-paragraph.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-text-session.d.ts +1 -1
- package/dist/pptx/editor/render/collaboration-text-snapshot-positions.d.ts +2 -4
- package/dist/pptx/editor/render/collaboration-text-snapshot-positions.d.ts.map +1 -1
- package/dist/pptx/editor/render/custom-show-operations.d.ts +0 -2
- package/dist/pptx/editor/render/custom-show-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/deck-save-encryption.d.ts +0 -2
- package/dist/pptx/editor/render/deck-save-encryption.d.ts.map +1 -1
- package/dist/pptx/editor/render/editor-history.d.ts +0 -2
- package/dist/pptx/editor/render/editor-history.d.ts.map +1 -1
- package/dist/pptx/editor/render/editor-mutations.d.ts +0 -2
- package/dist/pptx/editor/render/editor-mutations.d.ts.map +1 -1
- package/dist/pptx/editor/render/element-locks.d.ts +0 -2
- package/dist/pptx/editor/render/element-locks.d.ts.map +1 -1
- package/dist/pptx/editor/render/element-operations.d.ts +0 -2
- package/dist/pptx/editor/render/element-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/element.d.ts +0 -2
- package/dist/pptx/editor/render/element.d.ts.map +1 -1
- package/dist/pptx/editor/render/find-replace.d.ts +2 -4
- package/dist/pptx/editor/render/find-replace.d.ts.map +1 -1
- package/dist/pptx/editor/render/font-family-update.d.ts +1 -3
- package/dist/pptx/editor/render/font-family-update.d.ts.map +1 -1
- package/dist/pptx/editor/render/group-drill.d.ts +0 -2
- package/dist/pptx/editor/render/group-drill.d.ts.map +1 -1
- package/dist/pptx/editor/render/inline-list-body.d.ts +0 -2
- package/dist/pptx/editor/render/inline-list-body.d.ts.map +1 -1
- package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts +1 -3
- package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts.map +1 -1
- package/dist/pptx/editor/render/remap-empty-paragraph.d.ts +0 -2
- package/dist/pptx/editor/render/remap-empty-paragraph.d.ts.map +1 -1
- package/dist/pptx/editor/render/remap-paragraph-sources.d.ts +0 -2
- package/dist/pptx/editor/render/remap-paragraph-sources.d.ts.map +1 -1
- package/dist/pptx/editor/render/remap-text-bullets.d.ts +0 -2
- package/dist/pptx/editor/render/remap-text-bullets.d.ts.map +1 -1
- package/dist/pptx/editor/render/remap-text.d.ts +0 -2
- package/dist/pptx/editor/render/remap-text.d.ts.map +1 -1
- package/dist/pptx/editor/render/schema-label-keys.d.ts +0 -2
- package/dist/pptx/editor/render/schema-label-keys.d.ts.map +1 -1
- package/dist/pptx/editor/render/section-operations.d.ts +0 -2
- package/dist/pptx/editor/render/section-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-background-patch.d.ts +0 -2
- package/dist/pptx/editor/render/slide-background-patch.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-operations.d.ts +0 -2
- package/dist/pptx/editor/render/slide-operations.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-search.d.ts +0 -2
- package/dist/pptx/editor/render/slide-search.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-size-rescale.d.ts +0 -2
- package/dist/pptx/editor/render/slide-size-rescale.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-transition-edits.d.ts +0 -2
- package/dist/pptx/editor/render/slide-transition-edits.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-cell-edit.d.ts +0 -2
- package/dist/pptx/editor/render/table-cell-edit.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-cell-merge.d.ts +0 -2
- package/dist/pptx/editor/render/table-cell-merge.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-data-grid-ops.d.ts +0 -2
- package/dist/pptx/editor/render/table-data-grid-ops.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-layout.d.ts +0 -2
- package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-merge.d.ts +0 -2
- package/dist/pptx/editor/render/table-merge.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts +0 -2
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/pptx/editor/render/table-style-map-edits.d.ts.map +1 -1
- package/dist/pptx/editor/render/template-editing.d.ts +0 -2
- package/dist/pptx/editor/render/template-editing.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-content-style.d.ts +1 -3
- 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 -4
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts +0 -2
- package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +2 -4
- package/dist/pptx/editor/render/text-style-scope.d.ts.map +1 -1
- package/dist/pptx/editor/render/text-theme.d.ts +0 -2
- package/dist/pptx/editor/render/text-theme.d.ts.map +1 -1
- package/dist/pptx/editor/render/theme-editor-model.d.ts +0 -2
- package/dist/pptx/editor/render/theme-editor-model.d.ts.map +1 -1
- package/dist/pptx/editor/render/theme-editor-presets.d.ts +0 -2
- package/dist/pptx/editor/render/theme-editor-presets.d.ts.map +1 -1
- package/dist/pptx/editor/render/update-text-segment-style.d.ts +1 -3
- package/dist/pptx/editor/render/update-text-segment-style.d.ts.map +1 -1
- package/dist/pptx/index.cjs +1687 -1159
- package/dist/pptx/index.d.ts +10 -10
- package/dist/pptx/index.mjs +1 -1
- package/dist/pptx/node/index.d.ts +1 -3
- package/dist/pptx/node/index.d.ts.map +1 -1
- package/dist/pptx/signature-node/index.d.ts +1 -21
- package/dist/pptx/signature-node/index.d.ts.map +1 -1
- package/dist/pptx/smartart-layouts/index.d.ts +1 -7
- package/dist/pptx/smartart-layouts/index.d.ts.map +1 -1
- package/dist/pptx/ui/index.d.ts +1 -9
- package/dist/pptx/ui/index.d.ts.map +1 -1
- package/dist/teams/index.cjs +215 -201
- package/dist/teams/index.mjs +215 -201
- package/dist/text/index.cjs +193 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +193 -1
- package/dist/text/merge-three-way.d.ts +9 -0
- package/dist/text/merge-three-way.d.ts.map +1 -0
- package/dist/visio/collab/index.cjs +226 -7
- package/dist/visio/collab/index.d.ts +1 -0
- package/dist/visio/collab/index.d.ts.map +1 -1
- package/dist/visio/collab/index.mjs +225 -7
- package/dist/visio/collab/merge-snapshots.d.ts +14 -0
- package/dist/visio/collab/merge-snapshots.d.ts.map +1 -0
- package/dist/visio/index.cjs +9 -9
- package/dist/visio/index.mjs +9 -9
- package/dist/visio/ui/index.cjs +9 -9
- package/dist/visio/ui/index.mjs +9 -9
- package/dist/xlsx/collab/index.cjs +49966 -507
- package/dist/xlsx/collab/index.d.ts +1 -0
- package/dist/xlsx/collab/index.d.ts.map +1 -1
- package/dist/xlsx/collab/index.mjs +49961 -507
- package/dist/xlsx/collab/merge-residual.d.ts +16 -0
- package/dist/xlsx/collab/merge-residual.d.ts.map +1 -0
- package/dist/xlsx/collab/merge-snapshots.d.ts +8 -0
- package/dist/xlsx/collab/merge-snapshots.d.ts.map +1 -0
- package/dist/xlsx/index.cjs +202 -202
- package/dist/xlsx/index.mjs +202 -202
- package/dist/xlsx/load/index.cjs +155 -155
- package/dist/xlsx/load/index.mjs +155 -155
- package/dist/xlsx/ui/index.cjs +202 -202
- package/dist/xlsx/ui/index.mjs +202 -202
- package/dist/xml/index.cjs +390 -22
- package/dist/xml/index.d.ts +1 -0
- package/dist/xml/index.d.ts.map +1 -1
- package/dist/xml/index.mjs +390 -23
- package/dist/xml/merge-three-way.d.ts +16 -0
- package/dist/xml/merge-three-way.d.ts.map +1 -0
- package/package.json +13 -8
- package/dist/pptx/chunks/collaboration-text-codec-Du_XeE_i.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-merge-DWWWdT_t.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-positions-MMT3GkZi.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-session-D0NOLQk7.d.ts.map +0 -1
- package/dist/pptx/chunks/collaboration-text-session-delta-CzJGrTKJ.d.ts.map +0 -1
- package/dist/pptx/chunks/color-ref-DT599vEx.d.ts.map +0 -1
- package/dist/pptx/chunks/elements-f3UbFph-.d.ts.map +0 -1
- package/dist/pptx/chunks/index-BnH2QjYm.d.ts.map +0 -1
- package/dist/pptx/chunks/index-Bp-1pGo1.d.ts.map +0 -1
- package/dist/pptx/chunks/index-pLLN4OTz.d.ts.map +0 -1
- package/dist/pptx/chunks/inspection-status-DjiWd_Aa.d.ts.map +0 -1
- package/dist/pptx/chunks/schemas-fuDGetRe.d.ts.map +0 -1
- package/dist/pptx/chunks/smart-art-CmOrPLLQ.d.ts.map +0 -1
- package/dist/pptx/chunks/text-P9xVnXXf.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-D5sgspO6.d.ts.map +0 -1
package/dist/xml/index.mjs
CHANGED
|
@@ -93,28 +93,28 @@ var MARKUP_SKIPS = [
|
|
|
93
93
|
["<![CDATA[", "]]>"],
|
|
94
94
|
["<?", "?>"]
|
|
95
95
|
];
|
|
96
|
-
function checkXmlLimits(
|
|
96
|
+
function checkXmlLimits(xml2, label, limits = {}) {
|
|
97
97
|
const maxDepth = limits.maxDepth ?? DEFAULT_XML_LIMITS.maxDepth;
|
|
98
98
|
const maxNodes = limits.maxNodes ?? DEFAULT_XML_LIMITS.maxNodes;
|
|
99
99
|
let depth = 0;
|
|
100
100
|
let nodes = 0;
|
|
101
|
-
let at =
|
|
101
|
+
let at = xml2.indexOf("<");
|
|
102
102
|
while (at !== -1) {
|
|
103
|
-
const skip = MARKUP_SKIPS.find(([open]) =>
|
|
103
|
+
const skip = MARKUP_SKIPS.find(([open]) => xml2.startsWith(open, at));
|
|
104
104
|
if (skip) {
|
|
105
|
-
const end =
|
|
105
|
+
const end = xml2.indexOf(skip[1], at + skip[0].length);
|
|
106
106
|
if (end === -1) return;
|
|
107
|
-
at =
|
|
107
|
+
at = xml2.indexOf("<", end + skip[1].length);
|
|
108
108
|
continue;
|
|
109
109
|
}
|
|
110
110
|
TAG_RE.lastIndex = at;
|
|
111
|
-
const match = TAG_RE.exec(
|
|
111
|
+
const match = TAG_RE.exec(xml2);
|
|
112
112
|
if (!match) {
|
|
113
|
-
at =
|
|
113
|
+
at = xml2.indexOf("<", at + 1);
|
|
114
114
|
continue;
|
|
115
115
|
}
|
|
116
116
|
const [, closing, , selfClosing] = match;
|
|
117
|
-
at =
|
|
117
|
+
at = xml2.indexOf("<", at + match[0].length);
|
|
118
118
|
if (closing) {
|
|
119
119
|
depth--;
|
|
120
120
|
continue;
|
|
@@ -136,11 +136,11 @@ function checkXmlLimits(xml, label, limits = {}) {
|
|
|
136
136
|
}
|
|
137
137
|
var CRLF_DECLARATION = /^<\?xml[^>]*\?>\r\n/;
|
|
138
138
|
var crlfDeclarations = /* @__PURE__ */ new WeakSet();
|
|
139
|
-
function parseXml(
|
|
139
|
+
function parseXml(xml2, options = {}) {
|
|
140
140
|
const label = options.label ?? "OOXML";
|
|
141
|
-
if (/<!DOCTYPE|<!ENTITY/i.test(
|
|
141
|
+
if (/<!DOCTYPE|<!ENTITY/i.test(xml2))
|
|
142
142
|
throw new Error(`${label} XML with DTD or entity declarations is not supported`);
|
|
143
|
-
checkXmlLimits(
|
|
143
|
+
checkXmlLimits(xml2, label, options.limits);
|
|
144
144
|
let parseError = "";
|
|
145
145
|
let parsed;
|
|
146
146
|
try {
|
|
@@ -148,7 +148,7 @@ function parseXml(xml, options = {}) {
|
|
|
148
148
|
onError: (level, message) => {
|
|
149
149
|
if (level !== "warning" || options.warningsAsErrors) parseError = message;
|
|
150
150
|
}
|
|
151
|
-
}).parseFromString(
|
|
151
|
+
}).parseFromString(xml2, "application/xml");
|
|
152
152
|
} catch (error) {
|
|
153
153
|
throw new Error(
|
|
154
154
|
`Invalid ${label} XML: ${error instanceof Error ? error.message : String(error)}`,
|
|
@@ -157,12 +157,12 @@ function parseXml(xml, options = {}) {
|
|
|
157
157
|
}
|
|
158
158
|
if (parseError || !parsed.documentElement)
|
|
159
159
|
throw new Error(`Invalid ${label} XML: ${parseError || "missing root element"}`);
|
|
160
|
-
if (CRLF_DECLARATION.test(
|
|
160
|
+
if (CRLF_DECLARATION.test(xml2)) crlfDeclarations.add(parsed);
|
|
161
161
|
return parsed;
|
|
162
162
|
}
|
|
163
163
|
var buildXml = (node) => {
|
|
164
|
-
const
|
|
165
|
-
return crlfDeclarations.has(node) ?
|
|
164
|
+
const xml2 = new XMLSerializer().serializeToString(node);
|
|
165
|
+
return crlfDeclarations.has(node) ? xml2.replace(/^(<\?xml[^>]*\?>)\n/, "$1\r\n") : xml2;
|
|
166
166
|
};
|
|
167
167
|
var isElement = (node) => node.nodeType === 1;
|
|
168
168
|
var elements = (parent) => Array.from(parent.childNodes).filter(isElement);
|
|
@@ -179,6 +179,373 @@ function attr(element, local, ns, prefix) {
|
|
|
179
179
|
}
|
|
180
180
|
var relAttr = (element, local) => attr(element, local, NS.r, "r");
|
|
181
181
|
|
|
182
|
+
// text/text-diff.ts
|
|
183
|
+
var isLowSurrogate = (text, at) => {
|
|
184
|
+
const code = text.charCodeAt(at);
|
|
185
|
+
return code >= 56320 && code <= 57343;
|
|
186
|
+
};
|
|
187
|
+
function shortestEdit(n, m, same, maxEdits) {
|
|
188
|
+
const max = Math.min(n + m, maxEdits);
|
|
189
|
+
const offset = max + 1;
|
|
190
|
+
const v = new Int32Array(2 * max + 3);
|
|
191
|
+
const trace = [];
|
|
192
|
+
for (let d = 0; d <= max; d++) {
|
|
193
|
+
for (let k = -d; k <= d; k += 2) {
|
|
194
|
+
const down = k === -d || k !== d && v[offset + k - 1] < v[offset + k + 1];
|
|
195
|
+
let x = down ? v[offset + k + 1] : v[offset + k - 1] + 1;
|
|
196
|
+
let y = x - k;
|
|
197
|
+
while (x < n && y < m && same(x, y)) {
|
|
198
|
+
x++;
|
|
199
|
+
y++;
|
|
200
|
+
}
|
|
201
|
+
v[offset + k] = x;
|
|
202
|
+
if (x >= n && y >= m) return backtrack(trace, n, m, d);
|
|
203
|
+
}
|
|
204
|
+
trace.push(v.slice(offset - d, offset + d + 1));
|
|
205
|
+
}
|
|
206
|
+
return void 0;
|
|
207
|
+
}
|
|
208
|
+
function backtrack(trace, n, m, d) {
|
|
209
|
+
const edits = [];
|
|
210
|
+
let x = n;
|
|
211
|
+
let y = m;
|
|
212
|
+
for (let step = d; step > 0; step--) {
|
|
213
|
+
const previous = trace[step - 1];
|
|
214
|
+
const at = (k2) => previous[k2 + step - 1];
|
|
215
|
+
const k = x - y;
|
|
216
|
+
const down = k === -step || k !== step && at(k - 1) < at(k + 1);
|
|
217
|
+
const before = down ? k + 1 : k - 1;
|
|
218
|
+
const startX = at(before);
|
|
219
|
+
const startY = startX - before;
|
|
220
|
+
edits.push(down ? [startX, startY, true] : [startX, startY, false]);
|
|
221
|
+
x = startX;
|
|
222
|
+
y = startY;
|
|
223
|
+
}
|
|
224
|
+
return edits.reverse();
|
|
225
|
+
}
|
|
226
|
+
function changesOf(edits) {
|
|
227
|
+
const changes = [];
|
|
228
|
+
for (const [x, y, inserts] of edits) {
|
|
229
|
+
const last = changes.at(-1);
|
|
230
|
+
if (last && last.fromEnd === x && last.toEnd === y) {
|
|
231
|
+
if (inserts) last.toEnd++;
|
|
232
|
+
else last.fromEnd++;
|
|
233
|
+
} else
|
|
234
|
+
changes.push({
|
|
235
|
+
fromStart: x,
|
|
236
|
+
fromEnd: inserts ? x : x + 1,
|
|
237
|
+
toStart: y,
|
|
238
|
+
toEnd: inserts ? y + 1 : y
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
return changes;
|
|
242
|
+
}
|
|
243
|
+
function characterChanges(a, b, maxEdits) {
|
|
244
|
+
const edits = shortestEdit(
|
|
245
|
+
a.length,
|
|
246
|
+
b.length,
|
|
247
|
+
(x, y) => a.charCodeAt(x) === b.charCodeAt(y),
|
|
248
|
+
maxEdits
|
|
249
|
+
);
|
|
250
|
+
return edits && changesOf(edits);
|
|
251
|
+
}
|
|
252
|
+
var TOKEN = /[\p{L}\p{N}\p{M}]+|\s+|[\s\S]/gu;
|
|
253
|
+
function tokensOf(text, ids) {
|
|
254
|
+
const tokens = [];
|
|
255
|
+
const starts = [];
|
|
256
|
+
for (const match of text.matchAll(TOKEN)) {
|
|
257
|
+
let id = ids.get(match[0]);
|
|
258
|
+
if (id === void 0) ids.set(match[0], id = ids.size);
|
|
259
|
+
tokens.push(id);
|
|
260
|
+
starts.push(match.index);
|
|
261
|
+
}
|
|
262
|
+
starts.push(text.length);
|
|
263
|
+
return { tokens, starts };
|
|
264
|
+
}
|
|
265
|
+
function tokenChanges(a, b, maxEdits) {
|
|
266
|
+
const ids = /* @__PURE__ */ new Map();
|
|
267
|
+
const from = tokensOf(a, ids);
|
|
268
|
+
const to = tokensOf(b, ids);
|
|
269
|
+
const edits = shortestEdit(
|
|
270
|
+
from.tokens.length,
|
|
271
|
+
to.tokens.length,
|
|
272
|
+
(x, y) => from.tokens[x] === to.tokens[y],
|
|
273
|
+
maxEdits
|
|
274
|
+
);
|
|
275
|
+
if (!edits) return void 0;
|
|
276
|
+
let budget = maxEdits;
|
|
277
|
+
return changesOf(edits).flatMap((stretch) => {
|
|
278
|
+
const change = {
|
|
279
|
+
fromStart: from.starts[stretch.fromStart],
|
|
280
|
+
fromEnd: from.starts[stretch.fromEnd],
|
|
281
|
+
toStart: to.starts[stretch.toStart],
|
|
282
|
+
toEnd: to.starts[stretch.toEnd]
|
|
283
|
+
};
|
|
284
|
+
const inner = change.fromEnd > change.fromStart && change.toEnd > change.toStart ? characterChanges(
|
|
285
|
+
a.slice(change.fromStart, change.fromEnd),
|
|
286
|
+
b.slice(change.toStart, change.toEnd),
|
|
287
|
+
budget
|
|
288
|
+
) : void 0;
|
|
289
|
+
if (!inner) return [change];
|
|
290
|
+
for (const found of inner)
|
|
291
|
+
budget -= found.fromEnd - found.fromStart + found.toEnd - found.toStart;
|
|
292
|
+
return inner.map((found) => ({
|
|
293
|
+
fromStart: found.fromStart + change.fromStart,
|
|
294
|
+
fromEnd: found.fromEnd + change.fromStart,
|
|
295
|
+
toStart: found.toStart + change.toStart,
|
|
296
|
+
toEnd: found.toEnd + change.toStart
|
|
297
|
+
}));
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
function diffText(from, to, maxEdits = 500) {
|
|
301
|
+
let start = 0;
|
|
302
|
+
while (start < from.length && start < to.length && from.charCodeAt(start) === to.charCodeAt(start))
|
|
303
|
+
start++;
|
|
304
|
+
let end = 0;
|
|
305
|
+
while (end < from.length - start && end < to.length - start && from.charCodeAt(from.length - 1 - end) === to.charCodeAt(to.length - 1 - end))
|
|
306
|
+
end++;
|
|
307
|
+
const a = from.slice(start, from.length - end);
|
|
308
|
+
const b = to.slice(start, to.length - end);
|
|
309
|
+
if (!a.length && !b.length) return [];
|
|
310
|
+
const found = a.length && b.length ? characterChanges(a, b, maxEdits) ?? tokenChanges(a, b, maxEdits) : void 0;
|
|
311
|
+
const changes = found ?? [{ fromStart: 0, fromEnd: a.length, toStart: 0, toEnd: b.length }];
|
|
312
|
+
const result = [];
|
|
313
|
+
for (const change of changes) {
|
|
314
|
+
const placed = {
|
|
315
|
+
fromStart: change.fromStart + start,
|
|
316
|
+
fromEnd: change.fromEnd + start,
|
|
317
|
+
toStart: change.toStart + start,
|
|
318
|
+
toEnd: change.toEnd + start
|
|
319
|
+
};
|
|
320
|
+
if (placed.fromStart > 0 && placed.toStart > 0 && (isLowSurrogate(from, placed.fromStart) || isLowSurrogate(to, placed.toStart))) {
|
|
321
|
+
placed.fromStart--;
|
|
322
|
+
placed.toStart--;
|
|
323
|
+
}
|
|
324
|
+
if (isLowSurrogate(from, placed.fromEnd) || isLowSurrogate(to, placed.toEnd)) {
|
|
325
|
+
placed.fromEnd++;
|
|
326
|
+
placed.toEnd++;
|
|
327
|
+
}
|
|
328
|
+
const last = result.at(-1);
|
|
329
|
+
if (last && placed.fromStart <= last.fromEnd) {
|
|
330
|
+
last.fromEnd = Math.max(last.fromEnd, placed.fromEnd);
|
|
331
|
+
last.toEnd = Math.max(last.toEnd, placed.toEnd);
|
|
332
|
+
} else result.push(placed);
|
|
333
|
+
}
|
|
334
|
+
return result;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// text/merge-three-way.ts
|
|
338
|
+
function mergeTextThreeWay(base, local, remote) {
|
|
339
|
+
if (local === remote || base === remote) return { status: "merged", text: local };
|
|
340
|
+
if (base === local) return { status: "merged", text: remote };
|
|
341
|
+
if (Math.max(base.length, local.length, remote.length) > 1e6)
|
|
342
|
+
return { status: "unresolved" };
|
|
343
|
+
const changes = (value) => diffText(base, value).map((change) => ({
|
|
344
|
+
start: change.fromStart,
|
|
345
|
+
end: change.fromEnd,
|
|
346
|
+
text: value.slice(change.toStart, change.toEnd)
|
|
347
|
+
}));
|
|
348
|
+
const edits = changes(local);
|
|
349
|
+
for (const next of changes(remote)) {
|
|
350
|
+
if (edits.some(
|
|
351
|
+
(edit) => edit.start === next.start && edit.end === next.end && edit.text === next.text
|
|
352
|
+
))
|
|
353
|
+
continue;
|
|
354
|
+
if (edits.some((edit) => {
|
|
355
|
+
if (edit.start === edit.end && next.start === next.end) return false;
|
|
356
|
+
if (edit.start === edit.end) return edit.start > next.start && edit.start < next.end;
|
|
357
|
+
if (next.start === next.end) return next.start > edit.start && next.start < edit.end;
|
|
358
|
+
return edit.start < next.end && next.start < edit.end;
|
|
359
|
+
}))
|
|
360
|
+
return { status: "unresolved" };
|
|
361
|
+
edits.push(next);
|
|
362
|
+
}
|
|
363
|
+
edits.sort(
|
|
364
|
+
(a, b) => a.start - b.start || a.end - b.end || (a.text < b.text ? -1 : a.text > b.text ? 1 : 0)
|
|
365
|
+
);
|
|
366
|
+
let text = "", cursor = 0;
|
|
367
|
+
for (const edit of edits) {
|
|
368
|
+
text += base.slice(cursor, edit.start) + edit.text;
|
|
369
|
+
cursor = edit.end;
|
|
370
|
+
}
|
|
371
|
+
return { status: "merged", text: text + base.slice(cursor) };
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
// xml/merge-three-way.ts
|
|
375
|
+
var tag = (node) => `${node.namespaceURI ?? ""}|${node.localName ?? node.tagName}`;
|
|
376
|
+
var xml = (node) => node ? buildXml(node) : void 0;
|
|
377
|
+
function childrenByKey(parent, options, repeated) {
|
|
378
|
+
const result = /* @__PURE__ */ new Map();
|
|
379
|
+
const counts = /* @__PURE__ */ new Map();
|
|
380
|
+
for (const child of elements(parent)) {
|
|
381
|
+
const name = tag(child), explicit = options.keyElement?.(child, parent);
|
|
382
|
+
const index = counts.get(name) ?? 0;
|
|
383
|
+
counts.set(name, index + 1);
|
|
384
|
+
if (!explicit && repeated.has(name) && !options.allowPositional?.(parent))
|
|
385
|
+
throw new Error("Ambiguous repeated elements");
|
|
386
|
+
const key = explicit ? `${name}@${explicit}` : `${name}#${index}`;
|
|
387
|
+
if (result.has(key)) throw new Error("Duplicate element identity");
|
|
388
|
+
result.set(key, child);
|
|
389
|
+
}
|
|
390
|
+
return result;
|
|
391
|
+
}
|
|
392
|
+
function orderKeys(base, local, remote) {
|
|
393
|
+
const same = (a, b) => a.length === b.length && a.every((key, index) => key === b[index]);
|
|
394
|
+
if (same(base, local)) return [...remote];
|
|
395
|
+
if (same(base, remote) || same(local, remote)) return [...local];
|
|
396
|
+
const keys = [.../* @__PURE__ */ new Set([...remote, ...local])].sort();
|
|
397
|
+
const edges = new Map(keys.map((key) => [key, /* @__PURE__ */ new Set()]));
|
|
398
|
+
const degree = new Map(keys.map((key) => [key, 0]));
|
|
399
|
+
for (const sequence of [local, remote])
|
|
400
|
+
for (let i = 1; i < sequence.length; i++) {
|
|
401
|
+
const previous = sequence[i - 1], next = sequence[i];
|
|
402
|
+
if (!edges.get(previous).has(next)) {
|
|
403
|
+
edges.get(previous).add(next);
|
|
404
|
+
degree.set(next, degree.get(next) + 1);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
const out = [];
|
|
408
|
+
const ready = keys.filter((key) => degree.get(key) === 0);
|
|
409
|
+
while (ready.length) {
|
|
410
|
+
const next = ready.sort().shift();
|
|
411
|
+
out.push(next);
|
|
412
|
+
for (const key of edges.get(next)) {
|
|
413
|
+
degree.set(key, degree.get(key) - 1);
|
|
414
|
+
if (degree.get(key) === 0) ready.push(key);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
return out.length === keys.length ? out : void 0;
|
|
418
|
+
}
|
|
419
|
+
function mergeXmlThreeWay(baseXml, localXml, remoteXml, options = {}) {
|
|
420
|
+
if (localXml === remoteXml || baseXml === remoteXml) return { status: "merged", xml: localXml };
|
|
421
|
+
if (baseXml === localXml) return { status: "merged", xml: remoteXml };
|
|
422
|
+
const issues = [];
|
|
423
|
+
try {
|
|
424
|
+
let merge2 = function(b, l, r, path) {
|
|
425
|
+
const bx = xml(b), lx = xml(l), rx = xml(r);
|
|
426
|
+
if (lx === rx || bx === rx) return l ? copy(l) : void 0;
|
|
427
|
+
if (bx === lx) return r ? copy(r) : void 0;
|
|
428
|
+
if (!b && l && r && tag(l) === tag(r) && !elements(l).length && !elements(r).length) {
|
|
429
|
+
const resolved = options.resolveText?.(r, l, r);
|
|
430
|
+
if (resolved !== void 0) {
|
|
431
|
+
const node = copy(r);
|
|
432
|
+
node.textContent = resolved;
|
|
433
|
+
return node;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
if (!b || !l || !r || tag(b) !== tag(l) || tag(b) !== tag(r)) {
|
|
437
|
+
issues.push(`${path}: overlapping structural changes`);
|
|
438
|
+
return void 0;
|
|
439
|
+
}
|
|
440
|
+
const out = remote.createElementNS(r.namespaceURI, r.tagName);
|
|
441
|
+
const attrs = (node) => new Map(
|
|
442
|
+
Array.from(node.attributes).map((a) => [
|
|
443
|
+
`${a.namespaceURI ?? ""}|${a.localName ?? a.name}`,
|
|
444
|
+
a
|
|
445
|
+
])
|
|
446
|
+
);
|
|
447
|
+
const ba = attrs(b), la = attrs(l), ra = attrs(r);
|
|
448
|
+
for (const key of /* @__PURE__ */ new Set([...ba.keys(), ...la.keys(), ...ra.keys()])) {
|
|
449
|
+
const old = ba.get(key)?.value, left = la.get(key)?.value, right = ra.get(key)?.value;
|
|
450
|
+
const value = left === right || right === old ? left : left === old ? right : void 0;
|
|
451
|
+
if (left !== right && left !== old && right !== old) {
|
|
452
|
+
issues.push(`${path}: overlapping attribute ${key}`);
|
|
453
|
+
continue;
|
|
454
|
+
}
|
|
455
|
+
const source = ra.get(key) ?? la.get(key) ?? ba.get(key);
|
|
456
|
+
if (value !== void 0) out.setAttributeNS(source.namespaceURI, source.name, value);
|
|
457
|
+
}
|
|
458
|
+
const lists = [b, l, r].map(elements);
|
|
459
|
+
if (lists.every((list) => list.length === 0)) {
|
|
460
|
+
if ([b, l, r].some(
|
|
461
|
+
(node) => Array.from(node.childNodes).some(
|
|
462
|
+
(child) => child.nodeType !== 3 && child.nodeType !== 4
|
|
463
|
+
)
|
|
464
|
+
)) {
|
|
465
|
+
issues.push(`${path}: non-text leaf content requires explicit preservation`);
|
|
466
|
+
return void 0;
|
|
467
|
+
}
|
|
468
|
+
const texts = [b, l, r].map((node) => node.textContent ?? "");
|
|
469
|
+
const override = options.resolveText?.(b, l, r);
|
|
470
|
+
const value = override !== void 0 ? { status: "merged", text: override } : texts[1] === texts[2] || texts[0] === texts[2] ? { status: "merged", text: texts[1] } : texts[0] === texts[1] ? { status: "merged", text: texts[2] } : options.allowText?.(b) ? mergeTextThreeWay(texts[0], texts[1], texts[2]) : { status: "unresolved" };
|
|
471
|
+
if (value.status !== "merged") issues.push(`${path}: overlapping text changes`);
|
|
472
|
+
else if (value.text) out.appendChild(remote.createTextNode(value.text));
|
|
473
|
+
return out;
|
|
474
|
+
}
|
|
475
|
+
if ([b, l, r].some(
|
|
476
|
+
(node) => Array.from(node.childNodes).some(
|
|
477
|
+
(child) => child.nodeType !== 1 && (child.nodeType !== 3 || Boolean(child.textContent?.trim()))
|
|
478
|
+
)
|
|
479
|
+
)) {
|
|
480
|
+
issues.push(`${path}: mixed content cannot be matched safely`);
|
|
481
|
+
return void 0;
|
|
482
|
+
}
|
|
483
|
+
const repeated = /* @__PURE__ */ new Set();
|
|
484
|
+
const groups = lists.map((list) => {
|
|
485
|
+
const grouped = /* @__PURE__ */ new Map();
|
|
486
|
+
for (const child of list) {
|
|
487
|
+
const name = tag(child), group = grouped.get(name) ?? [];
|
|
488
|
+
group.push(child);
|
|
489
|
+
grouped.set(name, group);
|
|
490
|
+
if (group.length > 1) repeated.add(name);
|
|
491
|
+
}
|
|
492
|
+
return grouped;
|
|
493
|
+
});
|
|
494
|
+
for (const name of repeated) {
|
|
495
|
+
const rows = groups.map((group) => group.get(name) ?? []);
|
|
496
|
+
if (rows.some((row) => row.some((child) => options.keyElement?.(child, b) !== void 0)))
|
|
497
|
+
continue;
|
|
498
|
+
if (rows.some((row) => row.length !== rows[0].length)) {
|
|
499
|
+
issues.push(`${path}: unkeyed structural changes`);
|
|
500
|
+
return void 0;
|
|
501
|
+
}
|
|
502
|
+
const before = rows[0].map((child) => buildXml(child));
|
|
503
|
+
const known = new Set(before);
|
|
504
|
+
for (const row of rows.slice(1))
|
|
505
|
+
if (row.some((child, i) => {
|
|
506
|
+
const value = buildXml(child);
|
|
507
|
+
return before[i] !== value && known.has(value);
|
|
508
|
+
})) {
|
|
509
|
+
issues.push(`${path}: reordered unkeyed elements`);
|
|
510
|
+
return void 0;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
let maps;
|
|
514
|
+
try {
|
|
515
|
+
maps = [b, l, r].map((parent) => childrenByKey(parent, options, repeated));
|
|
516
|
+
} catch {
|
|
517
|
+
issues.push(`${path}: ambiguous element identities`);
|
|
518
|
+
return void 0;
|
|
519
|
+
}
|
|
520
|
+
const [bm, lm, rm] = maps;
|
|
521
|
+
const merged = /* @__PURE__ */ new Map();
|
|
522
|
+
for (const key of /* @__PURE__ */ new Set([...bm.keys(), ...lm.keys(), ...rm.keys()])) {
|
|
523
|
+
const node = merge2(bm.get(key), lm.get(key), rm.get(key), `${path}/${key}`);
|
|
524
|
+
if (node) merged.set(key, node);
|
|
525
|
+
}
|
|
526
|
+
const surviving = (map) => [...map.keys()].filter((key) => merged.has(key));
|
|
527
|
+
const order = orderKeys(surviving(bm), surviving(lm), surviving(rm));
|
|
528
|
+
if (!order) {
|
|
529
|
+
issues.push(`${path}: incompatible element order`);
|
|
530
|
+
return void 0;
|
|
531
|
+
}
|
|
532
|
+
for (const key of order) out.appendChild(merged.get(key));
|
|
533
|
+
return out;
|
|
534
|
+
};
|
|
535
|
+
var merge = merge2;
|
|
536
|
+
const base = parseXml(baseXml, { warningsAsErrors: true });
|
|
537
|
+
const local = parseXml(localXml, { warningsAsErrors: true });
|
|
538
|
+
const remote = parseXml(remoteXml, { warningsAsErrors: true });
|
|
539
|
+
const copy = (node) => remote.importNode(node, true);
|
|
540
|
+
const root = merge2(base.documentElement, local.documentElement, remote.documentElement, "root");
|
|
541
|
+
if (!root || issues.length) return { status: "unresolved", issues };
|
|
542
|
+
remote.replaceChild(root, remote.documentElement);
|
|
543
|
+
return { status: "merged", xml: buildXml(remote) };
|
|
544
|
+
} catch {
|
|
545
|
+
return { status: "unresolved", issues: ["Invalid or unsupported XML input"] };
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
182
549
|
// xml/lite.ts
|
|
183
550
|
var LiteElement = class {
|
|
184
551
|
constructor(tagName, localName, namespaceURI) {
|
|
@@ -246,22 +613,22 @@ function decode(text) {
|
|
|
246
613
|
return ampersands === found ? out : void 0;
|
|
247
614
|
}
|
|
248
615
|
var isSpace = (code) => code === 32 || code === 9 || code === 10 || code === 13;
|
|
249
|
-
var hasLineEnds = (
|
|
616
|
+
var hasLineEnds = (xml2) => xml2.includes("\r") || xml2.includes("\x85") || xml2.includes("\u2028") || xml2.includes("\u2029");
|
|
250
617
|
var LiteDeclinedError = class extends Error {
|
|
251
618
|
constructor() {
|
|
252
619
|
super("The XML fragment needs the full parser");
|
|
253
620
|
this.name = "LiteDeclinedError";
|
|
254
621
|
}
|
|
255
622
|
};
|
|
256
|
-
function parseLiteFragment(
|
|
257
|
-
const nodes = topLevelNodes(
|
|
623
|
+
function parseLiteFragment(xml2, container, namespaces) {
|
|
624
|
+
const nodes = topLevelNodes(xml2, namespaces);
|
|
258
625
|
for (let next = nodes.next(); ; next = nodes.next()) {
|
|
259
626
|
if (next.done) return next.value ? container : void 0;
|
|
260
627
|
container.childNodes.push(next.value);
|
|
261
628
|
}
|
|
262
629
|
}
|
|
263
|
-
function* liteChildElements(
|
|
264
|
-
const nodes = topLevelNodes(
|
|
630
|
+
function* liteChildElements(xml2, namespaces) {
|
|
631
|
+
const nodes = topLevelNodes(xml2, namespaces);
|
|
265
632
|
for (let next = nodes.next(); ; next = nodes.next()) {
|
|
266
633
|
if (next.done) {
|
|
267
634
|
if (next.value) return;
|
|
@@ -270,8 +637,8 @@ function* liteChildElements(xml, namespaces) {
|
|
|
270
637
|
if (typeof next.value !== "string") yield next.value.asElement();
|
|
271
638
|
}
|
|
272
639
|
}
|
|
273
|
-
function* topLevelNodes(
|
|
274
|
-
const source = hasLineEnds(
|
|
640
|
+
function* topLevelNodes(xml2, namespaces) {
|
|
641
|
+
const source = hasLineEnds(xml2) ? xml2.replace(/\r[\n\u0085]/g, "\n").replace(/[\r\u0085\u2028\u2029]/g, "\n") : xml2;
|
|
275
642
|
const root = new LiteElement("", "", null);
|
|
276
643
|
const level = root.childNodes;
|
|
277
644
|
const stack = [root];
|
|
@@ -402,4 +769,4 @@ function selectXmlNodes(expression, node, options = {}) {
|
|
|
402
769
|
});
|
|
403
770
|
}
|
|
404
771
|
|
|
405
|
-
export { DEFAULT_XML_LIMITS, LiteDeclinedError, LiteElement, NS, XmlLimitError, attr, buildXml, checkXmlLimits, children, elements, first, isElement, liteChildElements, makeNS, named, parseLiteFragment, parseXml, relAttr, selectXmlNodes, textContent };
|
|
772
|
+
export { DEFAULT_XML_LIMITS, LiteDeclinedError, LiteElement, NS, XmlLimitError, attr, buildXml, checkXmlLimits, children, elements, first, isElement, liteChildElements, makeNS, mergeXmlThreeWay, named, parseLiteFragment, parseXml, relAttr, selectXmlNodes, textContent };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface XmlMergeOptions {
|
|
2
|
+
keyElement?: (element: Element, parent: Element) => string | undefined;
|
|
3
|
+
allowPositional?: (parent: Element) => boolean;
|
|
4
|
+
allowText?: (element: Element) => boolean;
|
|
5
|
+
resolveText?: (base: Element, local: Element, remote: Element) => string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export type XmlMergeResult = {
|
|
8
|
+
status: 'merged';
|
|
9
|
+
xml: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: 'unresolved';
|
|
12
|
+
issues: readonly string[];
|
|
13
|
+
};
|
|
14
|
+
/** Conservative namespace-aware XML merge. Product adapters explicitly admit positional lists. */
|
|
15
|
+
export declare function mergeXmlThreeWay(baseXml: string, localXml: string, remoteXml: string, options?: XmlMergeOptions): XmlMergeResult;
|
|
16
|
+
//# sourceMappingURL=merge-three-way.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge-three-way.d.ts","sourceRoot":"","sources":["../../xml/merge-three-way.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC/B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC;IACvE,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC;IAC/C,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC;IAC1C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC;CACrF;AACD,MAAM,MAAM,cAAc,GACvB;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC;AA4DvD,kGAAkG;AAClG,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,eAAoB,GAC3B,cAAc,CAiKhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "Shared OOXML logic for the Word, PowerPoint and Excel viewers: everything except the UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"charts",
|
|
@@ -89,6 +89,11 @@
|
|
|
89
89
|
"import": "./dist/embedding/index.mjs",
|
|
90
90
|
"require": "./dist/embedding/index.cjs"
|
|
91
91
|
},
|
|
92
|
+
"./embedding/onedrive": {
|
|
93
|
+
"types": "./dist/embedding/onedrive/index.d.ts",
|
|
94
|
+
"import": "./dist/embedding/onedrive/index.mjs",
|
|
95
|
+
"require": "./dist/embedding/onedrive/index.cjs"
|
|
96
|
+
},
|
|
92
97
|
"./diagram": {
|
|
93
98
|
"types": "./dist/diagram/index.d.ts",
|
|
94
99
|
"import": "./dist/diagram/index.mjs",
|
|
@@ -286,7 +291,7 @@
|
|
|
286
291
|
},
|
|
287
292
|
"dependencies": {
|
|
288
293
|
"@xmldom/xmldom": "^0.9.12",
|
|
289
|
-
"emf-converter": "^4.
|
|
294
|
+
"emf-converter": "^4.24.0",
|
|
290
295
|
"fast-xml-parser": "^5.11.2",
|
|
291
296
|
"fflate": "^0.8.3",
|
|
292
297
|
"jszip": "^3.10.2",
|
|
@@ -299,23 +304,23 @@
|
|
|
299
304
|
"prosemirror-model": "^1.25.12",
|
|
300
305
|
"prosemirror-state": "^1.4.4",
|
|
301
306
|
"prosemirror-transform": "^1.12.4",
|
|
302
|
-
"prosemirror-view": "^1.42.
|
|
307
|
+
"prosemirror-view": "^1.42.8",
|
|
303
308
|
"utif": "3.1.0",
|
|
304
|
-
"xpath": "0.0.
|
|
309
|
+
"xpath": "0.0.36",
|
|
305
310
|
"y-prosemirror": "^1.3.7",
|
|
306
311
|
"y-protocols": "^1.0.7",
|
|
307
312
|
"yjs": "^13.6.33"
|
|
308
313
|
},
|
|
309
314
|
"devDependencies": {
|
|
310
315
|
"@christophervr/ole2": "0.14.0",
|
|
311
|
-
"@modelcontextprotocol/sdk": "^1.32.
|
|
316
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
312
317
|
"@napi-rs/canvas": "^1.0.13",
|
|
313
|
-
"@types/node": "^26.6.
|
|
318
|
+
"@types/node": "^26.6.6",
|
|
314
319
|
"@types/node-forge": "^1.3.14",
|
|
315
320
|
"@types/utif": "3.0.6",
|
|
316
321
|
"fast-check": "^4.10.2",
|
|
317
|
-
"node-forge": "^1.4.
|
|
318
|
-
"tsdown": "^0.23.
|
|
322
|
+
"node-forge": "^1.4.2",
|
|
323
|
+
"tsdown": "^0.23.4",
|
|
319
324
|
"tsup": "^9.0.0",
|
|
320
325
|
"typescript": "^7.0.2",
|
|
321
326
|
"unrun": "^0.3.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-codec-Du_XeE_i.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-merge-DWWWdT_t.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-positions-MMT3GkZi.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-session-D0NOLQk7.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-text-session-delta-CzJGrTKJ.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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-ref-DT599vEx.d.ts","names":[],"sources":["../../../pptx/core/types/color-ref.ts"],"mappings":";;;;;;;;;;;;;;;;;KAiBY;;cAoBC,sCAAsC;;;;;;;UAmBlC;EAChB,QAAQ;;EAER;;EAEA;;EAEA;;EAEA;;EAEA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"elements-f3UbFph-.d.ts","names":["Pptx3DScene","PptxChartStyleDefinition","_$__table0.ParsedTableStyleFill","_$__table0.ParsedTableStyleText","_$__table0.ParsedTableStyleBorders","_$__table0.PptxTableCell3D","_$__table0.ParsedTableStyleEntry","_$__common0.XmlObject","_$__table_style_edit0.ParsedTableFillRef","_$__common0.XmlObject"],"sources":["../../../pptx/core/types/shape-style.ts","../../../pptx/core/types/image.ts","../../../chart/manual-layout.ts","../../../chart/model-analysis.ts","../../../pptx/core/types/chart-axis.ts","../../../drawingml/rect-path-gradient.ts","../../../chart/gradient-definition.ts","../../../pptx/core/types/chart-ex.ts","../../../chart/edit/target.ts","../../../pptx/core/types/chart-element-format.ts","../../../pptx/core/types/chart-pivot-format.ts","../../../pptx/core/types/chart-pivot-source.ts","../../../pptx/core/types/chart-print-settings.ts","../../../pptx/core/types/chart-protection.ts","../../../chart/style-definition.ts","../../../pptx/core/types/chart-title.ts","../../../pptx/core/types/chart-user-shapes.ts","../../../pptx/core/types/chart.ts","../../../pptx/core/types/table-style-edit.ts","../../../pptx/core/types/table.ts","../../../pptx/core/types/media.ts","../../../pptx/core/types/actions.ts","../../../pptx/core/types/element-base.ts","../../../pptx/core/types/model3d-scene.ts","../../../pptx/core/types/elements.ts"],"mappings":";;;;UAgCiB;;EAEhB;;EAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuCgB;EAChB;;;;;;;;;EASA,eAAe;;;;;;;;;EASf,eAAe;EACf;;EAEA,kBAAkB;EAClB;;;;;;;;;;;;EAYA;EACA;EACA;;EAEA,iBAAiB;;EAEjB,sBAAsB;;EAEtB,sBAAsB;;EAEtB;;EAEA;;;;;;;EAOA;EACA,oBAAoB;IACnB;IACA;IACA;;IAEA,mBAAmB;;;;;;IAMnB,WAAW;;EAEZ;EACA;;EAEA;;;EAGA;IAA2B;IAAW;;;;;EAItC;IAA2B;IAAW;IAAW;IAAW;;;;;EAI5D;IAAyB;IAAW;IAAW;IAAW;;;;EAG1D;;;;EAIA;;;EAGA;EACA;EACA;;;;;EAKA,iBAAiB;;;;;;EAMjB,iBAAiB;;;;;;;;EAQjB;;;EAGA,oBAAoB;;;EAGpB,mB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A;;EAEA;;;;;;;;UASgB,uBAAuB;EACvC;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;EASA;;;;;;;;;;;;;;;;EAgBA;;EAEA;;EAEA,eAAe;;;;;UAMC;EAChB;EACA;EACA;EACA;;;;;;;EAOA;;;;;;;;;;EAUA;;;;;EAKA;;;;;;;;;;;;;;EAcA;;;;;;;;;;;;;;EAcA;;;;;;;UAQgB,+BAA+B;EAC/C;;EAEA,aAAa;;EAEb;;EAEA,gBAAgB;;;;;;;;;;;;;;;;;;;UAoBA,wBAAwB,iBAAiB;EACzD;;EAEA;;EAEA;;EAEA;;EAEA,iBAAiB;;EAEjB;;;;;;;;;;;;;;;;;EAiBA;;;;;;;;;;;EAWA;;;UAIgB,0BAA0B;EAC1C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;EACA,SAAS;;;;;;;;;;UAWO,2BAA2B,iBAAiB;EAC5D;;EAEA;;EAEA;;EAEA;;EAEA;;;;;EAKA,QAAQ;;EAER,eAAe;;;UAIC,2BAA2B;EAC3C;;EAEA,eAAe;;;;;;;;;KAcJ,cACT,kBACA,mBACA,uBACA,mBACA,qBACA,mBACA,mBACA,sBACA,iBACA,mBACA,mBACA,iBACA,yBACA,kBACA,qBACA;;;;;;;;;;;;;;;;;;;;;;KAuBS,kBAAkB;;KAOlB,sBAAsB,kBAAkB,mBAAmB;;KAG3D,4BACT,kBACA,mBACA,uBACA,mBACA;;KAGS,uBAAuB,mBAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BnH2QjYm.d.ts","names":[],"sources":["../../../pptx/converter/types.ts","../../../pptx/converter/media-context.ts","../../../pptx/converter/base.ts","../../../pptx/converter/PptxMarkdownConverter.ts","../../../pptx/converter/elements/ElementProcessor.ts","../../../pptx/converter/TextSegmentRenderer.ts","../../../pptx/converter/SlideProcessor.ts","../../../pptx/converter/SlideMetadataRenderer.ts","../../../pptx/converter/svg-text-lines.ts","../../../pptx/converter/SvgExporter.ts","../../../pptx/converter/json/json-document.ts","../../../pptx/converter/json/json-binary-codec.ts","../../../pptx/converter/json/presentation-field-keys.ts","../../../pptx/converter/json/json-serializer.ts","../../../pptx/converter/json/json-deserializer.ts","../../../pptx/converter/json/PptxJsonConverter.ts"],"mappings":";;;;;;;;;;;;;;;UAUiB;;;;;;EAMhB,UAAU,cAAc,kBAAkB;;;;;;EAO1C,gBAAgB,cAAc,MAAM,aAAa;;;;;;EAOjD,aAAa,eAAe;;;;;;UAOZ;;EAEhB;;EAGA;;EAGA;;;;;;UAOgB;;EAEhB;;EAGA;;EAGA;;EAGA;;EAGA;;GAGC;;;;;;;;;;;;;;;;;;;iBCrBc,oBAAoB;EACnC,OAAO;EACP;;;;;;;;;;;;;;iBAiCe,sBAAsB,eAAe;;;;;;;;;;cAexC;mBAiBM;mBACA;;UAhBV;;UAGA;;mBAGS;;;;;;EAOjB,YACC,mBACiB,oBACA,KAAK;;MAMZ;;MAKA;;;;;;;;;;EAaE,UAAU,iBAAiB,kBAAkB;;;;;;;;;EAa7C,eAAe,OAAO,YAAY,aAAa,kBAAkB;;;;;UAgBhE;;;;;;;;;;;;;;;;;iBC7GC,cAAc;;;;;;;;;;;;;;iBAiBd,aAAa;;;;;;;;;;;;;;;;iBA2Bb,iBACf,gCACA;;;;;;;;;;uBAyBqB,kBAAkB;qBAUnB;qBACA,SAAS;qBACT,KAAK;;qBAVN,cAAc;;;;;;YAOxB,YACW,mBACA,SAAS,mBACT,KAAK;;;;;;;WAWT,QAAQ,QAAQ,UAAU;;;;;;;;YAShC,iBAAiB,UAAU;;;;;;;;;YA6BrB,YAAY,iBAAiB,qBAAqB;;;;;;;;UC3KlD,6BAA6B;;EAE7C;;EAGA;;;;;EAMA;;IAEC;;IAEA;;;;;;EAMD;;;;;;;;;;;;;;;;;;;;;cAsBY,8BAA8B,kBAAkB;;mBAE3C;;mBAGA;;mBAGA;;UAGT;;UAGA;;;;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