ooxml-core 1.36.0 → 1.37.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-2JSQ22VD.cjs +14 -0
- package/dist/{PptxHandler-XCYX5DVX.mjs → PptxHandler-3T5DTNKA.mjs} +2 -2
- package/dist/PptxHandler-7T7ZS7IK.mjs +5 -0
- package/dist/{PresentationBuilder-JBTNOIL7.mjs → PresentationBuilder-D6ZICJWN.mjs} +3 -3
- package/dist/{PresentationBuilder-HA56ZY23.cjs → PresentationBuilder-HCMXZQDK.cjs} +6 -6
- package/dist/{PresentationBuilder-IVLUEB4K.mjs → PresentationBuilder-XHKNDJMD.mjs} +2 -2
- package/dist/automation/index.cjs +21750 -19661
- package/dist/automation/index.mjs +21731 -19661
- package/dist/chart/index.cjs +1 -1
- package/dist/chart/index.mjs +1 -1
- package/dist/chart/region-map/index.cjs +1 -1
- package/dist/chart/region-map/index.mjs +1 -1
- package/dist/{chunk-UQMAPY6D.mjs → chunk-2TQJHNVU.mjs} +1 -1
- package/dist/{chunk-RI56PFGL.mjs → chunk-4YBSHQ76.mjs} +5 -5
- package/dist/{chunk-XF6ZRA2D.cjs → chunk-AFALJ5TA.cjs} +3 -3
- package/dist/{chunk-MK2IBZU6.mjs → chunk-CNIKTXAV.mjs} +1 -1
- package/dist/{chunk-PA5ADSTX.cjs → chunk-GZOYXHDF.cjs} +1269 -1269
- package/dist/{chunk-LSO5SSFX.mjs → chunk-H2Q42P6P.mjs} +1 -1
- package/dist/{chunk-EGBNPVBA.mjs → chunk-J43V3QOA.mjs} +2 -2
- package/dist/{chunk-TJXK4D4U.mjs → chunk-M2DFN3SP.mjs} +4 -4
- package/dist/{chunk-RPJHMPEL.mjs → chunk-OEM2ECAJ.mjs} +1 -1
- package/dist/{chunk-GNGL4BO7.mjs → chunk-RHQQS6LJ.mjs} +4 -4
- package/dist/{chunk-A27O7M5X.cjs → chunk-SNID2FDY.cjs} +1 -1
- package/dist/{chunk-EDRS3OSM.mjs → chunk-WNAPUUAT.mjs} +1 -0
- package/dist/color/theme-palette.d.ts +1 -1
- package/dist/color/theme-palette.d.ts.map +1 -1
- package/dist/crypto/index.cjs +1 -1
- package/dist/crypto/index.mjs +1 -1
- package/dist/diagram/index.cjs +1 -1
- package/dist/diagram/index.mjs +1 -1
- package/dist/docx/block-parser.d.ts.map +1 -1
- package/dist/docx/comment-parts.d.ts +33 -0
- package/dist/docx/comment-parts.d.ts.map +1 -0
- package/dist/docx/comments.d.ts +5 -2
- package/dist/docx/comments.d.ts.map +1 -1
- package/dist/docx/embedded.cjs +15231 -14731
- package/dist/docx/embedded.mjs +15231 -14731
- package/dist/docx/glossary.d.ts.map +1 -1
- package/dist/docx/index.cjs +10771 -10329
- package/dist/docx/index.mjs +10771 -10329
- package/dist/docx/layout/index.cjs +81 -73
- package/dist/docx/layout/index.mjs +81 -73
- package/dist/docx/load/index.cjs +16891 -16391
- package/dist/docx/load/index.mjs +16891 -16391
- package/dist/docx/page-background.d.ts +4 -3
- package/dist/docx/page-background.d.ts.map +1 -1
- package/dist/docx/paragraph-text.d.ts +5 -0
- package/dist/docx/paragraph-text.d.ts.map +1 -0
- package/dist/docx/parse.d.ts.map +1 -1
- package/dist/docx/save.d.ts.map +1 -1
- package/dist/docx/special-characters.d.ts +2 -0
- package/dist/docx/special-characters.d.ts.map +1 -1
- package/dist/docx/theme-color.d.ts.map +1 -1
- package/dist/docx/ui/index.cjs +135 -135
- package/dist/docx/ui/index.mjs +135 -135
- package/dist/docx/write-comment-identities.d.ts +8 -0
- package/dist/docx/write-comment-identities.d.ts.map +1 -0
- package/dist/docx/write-comment-metadata.d.ts +12 -0
- package/dist/docx/write-comment-metadata.d.ts.map +1 -0
- package/dist/docx/write-comment-text.d.ts +3 -0
- package/dist/docx/write-comment-text.d.ts.map +1 -0
- package/dist/docx/write-comments.d.ts +1 -4
- package/dist/docx/write-comments.d.ts.map +1 -1
- package/dist/drawingml/index.cjs +1 -1
- package/dist/drawingml/index.mjs +1 -1
- package/dist/index.cjs +110 -6
- package/dist/index.mjs +91 -6
- package/dist/math/index.cjs +1 -1
- package/dist/math/index.mjs +1 -1
- package/dist/opc/index.cjs +78 -3
- package/dist/opc/index.mjs +78 -3
- package/dist/opc/signature/index.d.ts +1 -0
- package/dist/opc/signature/index.d.ts.map +1 -1
- package/dist/opc/signature/package.d.ts +12 -0
- package/dist/opc/signature/package.d.ts.map +1 -0
- package/dist/pptx/automation/index.cjs +21 -4
- package/dist/pptx/automation/index.d.ts +9 -17
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +16 -6
- 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.cjs +1 -0
- 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/index.mjs +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.cjs +1 -0
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts +2 -3
- package/dist/pptx/automation/schemas/presentation-schemas.d.ts.map +1 -1
- package/dist/pptx/automation/schemas/presentation-schemas.mjs +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-pLLN4OTz.d.ts → index-DC5m1m_8.d.ts} +8 -542
- package/dist/pptx/chunks/index-DC5m1m_8.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/{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 +10 -4
- package/dist/pptx/cli/index.d.ts +1 -3
- package/dist/pptx/cli/index.d.ts.map +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +7 -1
- 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 +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.cjs +2 -2
- 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/custom-show-operations.mjs +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.cjs +15 -15
- 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/find-replace.mjs +2 -2
- 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.cjs +9 -9
- 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-operations.mjs +3 -3
- 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 +10 -4
- package/dist/pptx/index.d.ts +9 -9
- package/dist/pptx/index.mjs +5 -5
- 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 +2 -10
- package/dist/pptx/ui/index.d.ts.map +1 -1
- package/dist/teams/index.cjs +812 -95
- package/dist/teams/index.mjs +811 -95
- package/dist/visio/bevel-3d.d.ts +6 -10
- package/dist/visio/bevel-3d.d.ts.map +1 -1
- package/dist/visio/bevel-shading.d.ts +72 -0
- package/dist/visio/bevel-shading.d.ts.map +1 -0
- package/dist/visio/cff-recalc.d.ts.map +1 -1
- package/dist/visio/collab/index.cjs +1 -1
- package/dist/visio/collab/index.mjs +1 -1
- package/dist/visio/data-graphic-instance.d.ts +44 -0
- package/dist/visio/data-graphic-instance.d.ts.map +1 -0
- package/dist/visio/data-graphic-masters.d.ts +38 -0
- package/dist/visio/data-graphic-masters.d.ts.map +1 -0
- package/dist/visio/data-graphic-place.d.ts +34 -0
- package/dist/visio/data-graphic-place.d.ts.map +1 -0
- package/dist/visio/edit-commands.d.ts +3 -1
- package/dist/visio/edit-commands.d.ts.map +1 -1
- package/dist/visio/edit-data-graphic-guard.d.ts +13 -0
- package/dist/visio/edit-data-graphic-guard.d.ts.map +1 -0
- package/dist/visio/edit-data-graphic-owner.d.ts +9 -0
- package/dist/visio/edit-data-graphic-owner.d.ts.map +1 -0
- package/dist/visio/edit-data-graphic-refresh.d.ts +14 -0
- package/dist/visio/edit-data-graphic-refresh.d.ts.map +1 -0
- package/dist/visio/edit-data-graphic.d.ts +33 -0
- package/dist/visio/edit-data-graphic.d.ts.map +1 -0
- package/dist/visio/edit-formatting-text-commands.d.ts +8 -0
- package/dist/visio/edit-formatting-text-commands.d.ts.map +1 -1
- package/dist/visio/edit-formatting-text-extra.d.ts +14 -0
- package/dist/visio/edit-formatting-text-extra.d.ts.map +1 -1
- package/dist/visio/edit-formatting-text.d.ts.map +1 -1
- package/dist/visio/edit-formatting.d.ts.map +1 -1
- package/dist/visio/edit-shape-data.d.ts.map +1 -1
- package/dist/visio/edit-swimlane-cff.d.ts +28 -0
- package/dist/visio/edit-swimlane-cff.d.ts.map +1 -0
- package/dist/visio/edit-swimlane-clone.d.ts +8 -4
- package/dist/visio/edit-swimlane-clone.d.ts.map +1 -1
- package/dist/visio/edit-swimlane-layout.d.ts +6 -1
- package/dist/visio/edit-swimlane-layout.d.ts.map +1 -1
- package/dist/visio/edit-swimlane-ops.d.ts.map +1 -1
- package/dist/visio/edit.d.ts.map +1 -1
- package/dist/visio/formula-analyze.d.ts.map +1 -1
- package/dist/visio/formula-evaluate.d.ts.map +1 -1
- package/dist/visio/formula.d.ts.map +1 -1
- package/dist/visio/index.cjs +2980 -1707
- package/dist/visio/index.d.ts +2 -1
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +2971 -1708
- package/dist/visio/master-list.d.ts +3 -3
- package/dist/visio/master-list.d.ts.map +1 -1
- package/dist/visio/model.d.ts +6 -1
- package/dist/visio/model.d.ts.map +1 -1
- package/dist/visio/rotation-presets.d.ts +25 -0
- package/dist/visio/rotation-presets.d.ts.map +1 -0
- package/dist/visio/shape-structure.d.ts.map +1 -1
- package/dist/visio/shapes.d.ts +2 -0
- package/dist/visio/shapes.d.ts.map +1 -1
- package/dist/visio/solid-3d.d.ts +9 -0
- package/dist/visio/solid-3d.d.ts.map +1 -1
- package/dist/visio/style.d.ts.map +1 -1
- package/dist/visio/ui/data-graphic-config.d.ts +4 -19
- package/dist/visio/ui/data-graphic-config.d.ts.map +1 -1
- package/dist/visio/ui/data-graphic-items.d.ts.map +1 -1
- package/dist/visio/ui/data-graphic-native.d.ts +20 -0
- package/dist/visio/ui/data-graphic-native.d.ts.map +1 -0
- package/dist/visio/ui/data-graphics.d.ts.map +1 -1
- package/dist/visio/ui/edit-commands.d.ts.map +1 -1
- package/dist/visio/ui/index.cjs +3130 -1821
- package/dist/visio/ui/index.mjs +3128 -1822
- package/dist/visio/ui/org-chart-belt.d.ts.map +1 -1
- package/dist/visio/ui/scene-validation.d.ts.map +1 -1
- package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
- package/dist/visio/ui/swimlane.d.ts.map +1 -1
- package/dist/visio/ui/text-dialog.d.ts +12 -0
- package/dist/visio/ui/text-dialog.d.ts.map +1 -1
- package/dist/xlsx/collab/index.cjs +45 -2
- package/dist/xlsx/collab/index.mjs +45 -2
- package/dist/xlsx/collab/part-specs.d.ts.map +1 -1
- package/dist/xlsx/collab/sheets.d.ts +1 -0
- package/dist/xlsx/collab/sheets.d.ts.map +1 -1
- package/dist/xlsx/edit/annotations.d.ts +4 -0
- package/dist/xlsx/edit/annotations.d.ts.map +1 -1
- package/dist/xlsx/edit/clipboard-annotations.d.ts.map +1 -1
- package/dist/xlsx/edit/comment-identities.d.ts +4 -0
- package/dist/xlsx/edit/comment-identities.d.ts.map +1 -0
- package/dist/xlsx/edit/session.d.ts.map +1 -1
- package/dist/xlsx/edit/sheets.d.ts.map +1 -1
- package/dist/xlsx/edit/types.d.ts +3 -0
- package/dist/xlsx/edit/types.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/filterxml.d.ts +2 -0
- package/dist/xlsx/formula/functions/filterxml.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/registry.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +1007 -285
- package/dist/xlsx/index.mjs +988 -285
- package/dist/xlsx/layout/split.d.ts +3 -1
- package/dist/xlsx/layout/split.d.ts.map +1 -1
- package/dist/xlsx/load/index.cjs +809 -126
- package/dist/xlsx/load/index.mjs +790 -126
- package/dist/xlsx/model.d.ts +19 -7
- package/dist/xlsx/model.d.ts.map +1 -1
- package/dist/xlsx/read/comments.d.ts +3 -1
- package/dist/xlsx/read/comments.d.ts.map +1 -1
- package/dist/xlsx/read/conditional.d.ts +2 -2
- package/dist/xlsx/read/conditional.d.ts.map +1 -1
- package/dist/xlsx/read/data-validations.d.ts +7 -0
- package/dist/xlsx/read/data-validations.d.ts.map +1 -0
- package/dist/xlsx/read/sheet-props.d.ts.map +1 -1
- package/dist/xlsx/read/worksheet.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/messages.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
- package/dist/xlsx/ui/grid/geometry.d.ts +3 -0
- package/dist/xlsx/ui/grid/geometry.d.ts.map +1 -1
- package/dist/xlsx/ui/index.cjs +952 -168
- package/dist/xlsx/ui/index.mjs +933 -169
- package/dist/xlsx/ui/selection.d.ts +3 -0
- package/dist/xlsx/ui/selection.d.ts.map +1 -1
- package/dist/xlsx/validation-extensions.d.ts +6 -0
- package/dist/xlsx/validation-extensions.d.ts.map +1 -0
- package/dist/xlsx/write/comment-ids.d.ts +14 -0
- package/dist/xlsx/write/comment-ids.d.ts.map +1 -0
- package/dist/xlsx/write/comment-mentions.d.ts +6 -0
- package/dist/xlsx/write/comment-mentions.d.ts.map +1 -0
- package/dist/xlsx/write/comment-persons.d.ts +16 -0
- package/dist/xlsx/write/comment-persons.d.ts.map +1 -0
- package/dist/xlsx/write/comments.d.ts +5 -11
- package/dist/xlsx/write/comments.d.ts.map +1 -1
- package/dist/xlsx/write/conditional.d.ts +2 -2
- package/dist/xlsx/write/conditional.d.ts.map +1 -1
- package/dist/xlsx/write/data-validations.d.ts +6 -0
- package/dist/xlsx/write/data-validations.d.ts.map +1 -0
- package/dist/xlsx/write/save.d.ts.map +1 -1
- package/dist/xlsx/write/sheet-parts.d.ts +4 -0
- package/dist/xlsx/write/sheet-parts.d.ts.map +1 -1
- package/dist/xlsx/write/sheet-props.d.ts.map +1 -1
- package/dist/xlsx/write/threaded-comments.d.ts +19 -0
- package/dist/xlsx/write/threaded-comments.d.ts.map +1 -0
- package/dist/xlsx/write/worksheet.d.ts.map +1 -1
- package/dist/xml/index.cjs +31 -1
- package/dist/xml/index.d.ts +1 -0
- package/dist/xml/index.d.ts.map +1 -1
- package/dist/xml/index.mjs +11 -2
- package/dist/xml/xml.d.ts +2 -0
- package/dist/xml/xml.d.ts.map +1 -1
- package/dist/xml/xpath.d.ts +9 -0
- package/dist/xml/xpath.d.ts.map +1 -0
- package/package.json +8 -7
- package/dist/PptxHandler-5UDSMCBG.cjs +0 -14
- package/dist/PptxHandler-TTRTAQAR.mjs +0 -5
- 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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxComment, PptxElement, PptxElementWithText } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/element.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Checks whether an element originates from a slide layout or slide master.
|
|
5
4
|
* Template elements have IDs prefixed with "layout-" or "master-".
|
|
@@ -46,5 +45,4 @@ export declare function getConnectionSitePosition(element: PptxElement, siteInde
|
|
|
46
45
|
x: number;
|
|
47
46
|
y: number;
|
|
48
47
|
} | undefined;
|
|
49
|
-
//#endregion
|
|
50
48
|
//# sourceMappingURL=element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element.d.ts","names":[],"sources":["../../../../pptx/editor/render/element.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"element.d.ts","names":[],"sources":["../../../../pptx/editor/render/element.ts"],"mappings":";;;;;wBAwBgB,kBAAkB,SAAS;;;;wBAO3B,oBAAoB;;;;;;wBASpB,sBAAsB,SAAS,cAAc,WAAW;;;;;wBAexD,gBAAgB,SAAS;;;;;wBAmDzB,uBAAuB;;;;;;wBAuBvB,yBACf,SAAS,aACT,eACA,eACA;EACI;EAAW;;;;;;;;;;wBAoBA,0BACf,SAAS,aACT;EACI;EAAW"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkAFALJ5TA_cjs = require('../../../chunk-AFALJ5TA.cjs');
|
|
4
|
+
var chunkSNID2FDY_cjs = require('../../../chunk-SNID2FDY.cjs');
|
|
5
5
|
var chunkXZPZHXV4_cjs = require('../../../chunk-XZPZHXV4.cjs');
|
|
6
6
|
require('../../../chunk-5W2QL4SB.cjs');
|
|
7
7
|
var chunkAWIDASUW_cjs = require('../../../chunk-AWIDASUW.cjs');
|
|
@@ -146,10 +146,10 @@ function* findSlideTextTargets(slide, includeNotes = false, includeChartTitles =
|
|
|
146
146
|
function patchTableXml(element, rowIndex, colIndex, original, runs) {
|
|
147
147
|
if (!element.rawXml) return void 0;
|
|
148
148
|
const rawXml = structuredClone(element.rawXml);
|
|
149
|
-
const table =
|
|
150
|
-
const row =
|
|
151
|
-
const cell =
|
|
152
|
-
const paragraphs =
|
|
149
|
+
const table = chunkAFALJ5TA_cjs.getTblFromRawXml(rawXml);
|
|
150
|
+
const row = chunkAFALJ5TA_cjs.ensureArray(table?.["a:tr"])[rowIndex];
|
|
151
|
+
const cell = chunkAFALJ5TA_cjs.ensureArray(row?.["a:tc"])[colIndex];
|
|
152
|
+
const paragraphs = chunkAFALJ5TA_cjs.ensureArray(
|
|
153
153
|
cell?.["a:txBody"]?.["a:p"]
|
|
154
154
|
);
|
|
155
155
|
let paragraphIndex = 0, runIndex = 0, fieldIndex = 0;
|
|
@@ -164,7 +164,7 @@ function patchTableXml(element, rowIndex, colIndex, original, runs) {
|
|
|
164
164
|
if (previous.isLineBreak) continue;
|
|
165
165
|
const paragraph = paragraphs[paragraphIndex];
|
|
166
166
|
const key = previous.isField ? "a:fld" : "a:r";
|
|
167
|
-
const xmlRun =
|
|
167
|
+
const xmlRun = chunkAFALJ5TA_cjs.ensureArray(paragraph?.[key])[previous.isField ? fieldIndex++ : runIndex++];
|
|
168
168
|
if (!xmlRun) return void 0;
|
|
169
169
|
if (previous.text !== runs[index].text) xmlRun["a:t"] = runs[index].text;
|
|
170
170
|
}
|
|
@@ -174,7 +174,7 @@ function updateNode(nodes, nodeId, text) {
|
|
|
174
174
|
return nodes.map((node) => {
|
|
175
175
|
if (node.id === nodeId) {
|
|
176
176
|
const originalParagraphs = node.paragraphs ?? (node.runs?.length ? [{ items: node.runs.map((run) => ({ kind: "run", run })) }] : void 0);
|
|
177
|
-
const paragraphs = originalParagraphs ?
|
|
177
|
+
const paragraphs = originalParagraphs ? chunkSNID2FDY_cjs.reconcileSmartArtTextParagraphs(originalParagraphs, text) : void 0;
|
|
178
178
|
return { ...node, text, ...paragraphs ? { paragraphs } : {} };
|
|
179
179
|
}
|
|
180
180
|
if (!node.children) return node;
|
|
@@ -253,14 +253,14 @@ function replaceLeaf(element, match, replacement) {
|
|
|
253
253
|
);
|
|
254
254
|
if (!runs) return element;
|
|
255
255
|
let text = runs.map((run) => run.isParagraphBreak ? "\n" : run.isLineBreak ? "" : run.text).join("");
|
|
256
|
-
let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) :
|
|
256
|
+
let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) : chunkAFALJ5TA_cjs.updateCellTextInRawXml(element, rowIndex, colIndex, text);
|
|
257
257
|
if (rawXml) {
|
|
258
|
-
const table =
|
|
259
|
-
const xmlRow =
|
|
260
|
-
const xmlCell =
|
|
261
|
-
text =
|
|
258
|
+
const table = chunkAFALJ5TA_cjs.getTblFromRawXml(rawXml);
|
|
259
|
+
const xmlRow = chunkAFALJ5TA_cjs.ensureArray(table?.["a:tr"])[rowIndex];
|
|
260
|
+
const xmlCell = chunkAFALJ5TA_cjs.ensureArray(xmlRow?.["a:tc"])[colIndex];
|
|
261
|
+
text = chunkAFALJ5TA_cjs.flattenCellTxBodyText(
|
|
262
262
|
xmlCell?.["a:txBody"],
|
|
263
|
-
(value) =>
|
|
263
|
+
(value) => chunkAFALJ5TA_cjs.ensureArray(value)
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
const rows = [...element.tableData.rows], cells = [...row.cells];
|
|
@@ -274,7 +274,7 @@ function replaceLeaf(element, match, replacement) {
|
|
|
274
274
|
if (!node || match.startOffset < 0 || match.startOffset + match.length > node.text.length)
|
|
275
275
|
return element;
|
|
276
276
|
const text = node.text.slice(0, match.startOffset) + replacement + node.text.slice(match.startOffset + match.length);
|
|
277
|
-
const next =
|
|
277
|
+
const next = chunkSNID2FDY_cjs.updateSmartArtNodeText({ ...data, nodes }, node.id, text);
|
|
278
278
|
const drawingShapes = next.drawingShapes?.map((shape, index) => {
|
|
279
279
|
if (shape === data.drawingShapes?.[index] || !shape.textSegments) return shape;
|
|
280
280
|
return {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "../../chunks/index-
|
|
2
|
-
import { C as PptxSlide } from "../../chunks/text-operations-
|
|
3
|
-
//#region pptx/editor/render/find-replace.d.ts
|
|
1
|
+
import "../../chunks/index-DC5m1m_8.js";
|
|
2
|
+
import { C as PptxSlide } from "../../chunks/text-operations-CdgEnFuK.js";
|
|
4
3
|
/** Identifies a single match of the find query at segment-level precision. */
|
|
5
4
|
export interface FindResult {
|
|
6
5
|
/** Zero-based index of the slide in the slides array. */
|
|
@@ -93,5 +92,4 @@ export declare function replaceMatch(slides: readonly PptxSlide[], allResults: r
|
|
|
93
92
|
* "Replace All" action.
|
|
94
93
|
*/
|
|
95
94
|
export declare function replaceInSlides(slides: readonly PptxSlide[], query: string, replacement: string, opts?: FindOptions): ReplaceResult;
|
|
96
|
-
//#endregion
|
|
97
95
|
//# sourceMappingURL=find-replace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-replace.d.ts","names":[],"sources":["../../../../pptx/editor/render/find-replace.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-replace.d.ts","names":[],"sources":["../../../../pptx/editor/render/find-replace.ts"],"mappings":";;;iBAiBiB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;IAAc;IAAkB;;;EAEhC;;EAEA;;EAEA;;EAEA;EACA;EACA;;EAEA;;;iBAIgB;;EAEhB;;EAEA;;EAEA;;EAEA;;;iBAIgB;;EAEhB,iBAAiB;;EAEjB;;;wBAIe,4BACf,kBAAkB,KAAK,2BACvB;;;;;;;;;;;;;;wBAuBe,aACf,iBAAiB,aACjB,eACA,OAAM,cACJ;;;;;;;;;;wBA4Ea,sBACf,iBAAiB,aACjB,oBAAoB,cACpB,sBACE;;;;;;;;;wBAuHa,aACf,iBAAiB,aACjB,qBAAqB,cACrB,oBACA,sBACE;;;;;;;wBAca,gBACf,iBAAiB,aACjB,eACA,qBACA,OAAM,cACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText } from '../../../chunk-
|
|
2
|
-
import { updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-
|
|
1
|
+
import { updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText } from '../../../chunk-H2Q42P6P.mjs';
|
|
2
|
+
import { updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-2TQJHNVU.mjs';
|
|
3
3
|
import { hasTextProperties } from '../../../chunk-GXHKNSZX.mjs';
|
|
4
4
|
import '../../../chunk-CA7KCNL3.mjs';
|
|
5
5
|
import { remapTextToSegments } from '../../../chunk-CBNKBVX5.mjs';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { i as TextStyle } from "../../chunks/text-
|
|
2
|
-
//#region pptx/editor/render/font-family-update.d.ts
|
|
1
|
+
import { i as TextStyle } from "../../chunks/text-t_wJ2OwM.js";
|
|
3
2
|
/**
|
|
4
3
|
* Expand a style update for `style`: when it sets a concrete `fontFamily`,
|
|
5
4
|
* carry the change to the script faces that were the same face as the old
|
|
@@ -13,5 +12,4 @@ export declare function fontFamilyStyleUpdates(style: TextStyle | undefined, upd
|
|
|
13
12
|
* `inherited` is the style a run without its own Latin face inherits from.
|
|
14
13
|
*/
|
|
15
14
|
export declare function mergeTextStyleUpdate(style: TextStyle | undefined, updates: Partial<TextStyle>, inherited?: TextStyle): TextStyle;
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=font-family-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-family-update.d.ts","names":[],"sources":["../../../../pptx/editor/render/font-family-update.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"font-family-update.d.ts","names":[],"sources":["../../../../pptx/editor/render/font-family-update.ts"],"mappings":";;;;;;;;wBAgDgB,uBACf,OAAO,uBACP,SAAS,QAAQ,YACjB,YAAY,YACV,QAAQ;;;;;wBAmCK,qBACf,OAAO,uBACP,SAAS,QAAQ,YACjB,YAAY,YACV"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GroupPptxElement, PptxElement } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/group-drill.d.ts
|
|
3
2
|
/** A group whose members can be selected one by one (see the module note). */
|
|
4
3
|
export declare function isEnterableGroup(el: PptxElement): el is GroupPptxElement;
|
|
5
4
|
/**
|
|
@@ -66,5 +65,4 @@ export declare function drillSelectionForDoubleClick(chain: readonly string[]):
|
|
|
66
65
|
* an inline text edit first, as they do today.
|
|
67
66
|
*/
|
|
68
67
|
export declare function parentSelection(elements: readonly PptxElement[], selectedId: string): string | null;
|
|
69
|
-
//#endregion
|
|
70
68
|
//# sourceMappingURL=group-drill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-drill.d.ts","names":[],"sources":["../../../../pptx/editor/render/group-drill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-drill.d.ts","names":[],"sources":["../../../../pptx/editor/render/group-drill.ts"],"mappings":";;wBAqCgB,iBAAiB,IAAI,cAAc,MAAM;;;;;wBAUzC,gBACf,mBAAmB,eACnB,aACE;;wBAgBa,cAAc,mBAAmB,eAAe;;;;;;;wBA6BhD,kBACf,mBAAmB,eACnB,aACE;;;;;;wBAqBa,kBAAkB,mBAAmB,gBAAgB,YAAY;;;;;;;;;wBA2BjE,oBACf,UAAU,eACV,YACA,SAAS,QAAQ,eACf;;;;;;;;;wBAwCa,mBACf,mBAAmB,eACnB,eACA;EAAS;EAAW;;;;;;;;;;;;;;;;wBAmDL,uBACf,0BACA,uBAAuB;;wBA8BR,6BAA6B;;;;;;wBAS7B,gBACf,mBAAmB,eACnB"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TextSegment } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/inline-list-body.d.ts
|
|
3
2
|
/** Authored body projection, excluding only a paragraph's dedicated display marker. */
|
|
4
3
|
export declare function inlineListBodyText(segments: readonly TextSegment[] | undefined): string;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=inline-list-body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-list-body.d.ts","names":[],"sources":["../../../../pptx/editor/render/inline-list-body.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"inline-list-body.d.ts","names":[],"sources":["../../../../pptx/editor/render/inline-list-body.ts"],"mappings":";;wBAMgB,mBAAmB,mBAAmB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { i as TextStyle } from "../../chunks/text-
|
|
2
|
-
//#region pptx/editor/render/paragraph-geometry-overrides.d.ts
|
|
1
|
+
import { i as TextStyle } from "../../chunks/text-t_wJ2OwM.js";
|
|
3
2
|
/** The geometry keys a paragraph may override independently of the body. */
|
|
4
3
|
export type ParagraphGeometryOverrides = Pick<TextStyle, 'eaLineBreak' | 'latinLineBreak' | 'hangingPunctuation' | 'fontAlignment' | 'defaultTabSize'>;
|
|
5
4
|
/**
|
|
@@ -13,5 +12,4 @@ export type ParagraphGeometryOverrides = Pick<TextStyle, 'eaLineBreak' | 'latinL
|
|
|
13
12
|
* @param bodyStyle The element's resolved text style, used as the fallback.
|
|
14
13
|
*/
|
|
15
14
|
export declare function resolveParagraphGeometryOverrides(paraProps: TextStyle | undefined, bodyStyle: TextStyle | undefined): ParagraphGeometryOverrides;
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=paragraph-geometry-overrides.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph-geometry-overrides.d.ts","names":[],"sources":["../../../../pptx/editor/render/paragraph-geometry-overrides.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"paragraph-geometry-overrides.d.ts","names":[],"sources":["../../../../pptx/editor/render/paragraph-geometry-overrides.ts"],"mappings":";;YAuBY,6BAA6B,KACxC;;;;;;;;;;;wBAce,kCACf,WAAW,uBACX,WAAW,wBACT"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TextSegment } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/remap-empty-paragraph.d.ts
|
|
3
2
|
/** Materialize typed body text without borrowing a display marker's style. */
|
|
4
3
|
export declare function remapEmptyParagraph(text: string, segments: TextSegment[], terminator?: TextSegment): TextSegment[] | undefined;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=remap-empty-paragraph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remap-empty-paragraph.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-empty-paragraph.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remap-empty-paragraph.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-empty-paragraph.ts"],"mappings":";;wBAKgB,oBACf,cACA,UAAU,eACV,aAAa,cACX"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextSegment } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/remap-paragraph-sources.d.ts
|
|
3
2
|
export interface RemapSourceParagraph {
|
|
4
3
|
segments: TextSegment[];
|
|
5
4
|
terminator?: TextSegment;
|
|
@@ -17,5 +16,4 @@ export declare function restoreParagraphMetadata(from: TextSegment | undefined,
|
|
|
17
16
|
* This infers no moves or case equivalence from plain editor text.
|
|
18
17
|
*/
|
|
19
18
|
export declare function alignParagraphSources(texts: readonly string[], original: readonly RemapSourceParagraph[]): Array<number | undefined>;
|
|
20
|
-
//#endregion
|
|
21
19
|
//# sourceMappingURL=remap-paragraph-sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remap-paragraph-sources.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-paragraph-sources.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remap-paragraph-sources.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-paragraph-sources.ts"],"mappings":";iBAKiB;EAChB,UAAU;EACV,aAAa;;;;;;;wBAQE,yBACf,MAAM,yBACN,UAAU,gBACR;;;;;;;wBAgDa,sBACf,0BACA,mBAAmB,yBACjB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextSegment } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/remap-text-bullets.d.ts
|
|
3
2
|
/** Refresh only derived ordinals after existing paragraphs have moved. */
|
|
4
3
|
export declare function renumberRemappedParagraphs(segments: TextSegment[]): TextSegment[];
|
|
5
4
|
/** Returns the editor-only display marker that begins a listed paragraph. */
|
|
@@ -18,5 +17,4 @@ export declare function withoutRenderedBulletPrefix(text: string, originalSegmen
|
|
|
18
17
|
* kinds retain their definition and level; unknown auto-number indices stay unknown.
|
|
19
18
|
*/
|
|
20
19
|
export declare function continueListParagraph(segments: TextSegment[], donorSegments: readonly TextSegment[]): TextSegment[];
|
|
21
|
-
//#endregion
|
|
22
20
|
//# sourceMappingURL=remap-text-bullets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remap-text-bullets.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-text-bullets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remap-text-bullets.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-text-bullets.ts"],"mappings":";;wBAYgB,2BAA2B,UAAU,gBAAgB;;wBAkCrD,sBACf,4BAA4B,gBAC1B;;wBAWa,oBACf,OAAO,aACP,wBACA,qBACE;;wBAYa,4BACf,cACA,2BAA2B,eAC3B,iBAAiB;;;;;;;;;;wBAqCF,sBACf,UAAU,eACV,wBAAwB,gBACtB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextSegment, TextStyle } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/remap-text.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Strategy:
|
|
5
4
|
* 1. Split both original segments and new text into paragraphs by "\n".
|
|
@@ -8,5 +7,4 @@ import { TextSegment, TextStyle } from "ooxml-core/pptx";
|
|
|
8
7
|
* 4. Re-insert paragraph-break markers between paragraphs.
|
|
9
8
|
*/
|
|
10
9
|
export declare function remapTextToSegments(newText: string, originalSegments: TextSegment[] | undefined, elementTextStyle: TextStyle | undefined): TextSegment[];
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=remap-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remap-text.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-text.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remap-text.d.ts","names":[],"sources":["../../../../pptx/editor/render/remap-text.ts"],"mappings":";;;;;;;;wBAiFgB,oBACf,iBACA,kBAAkB,2BAClB,kBAAkB,wBAChB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region pptx/editor/render/schema-label-keys.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* schema-label-keys.ts: i18n keys for OOXML wire tokens that bindings display
|
|
4
3
|
* in selects, swatches and toggle groups.
|
|
@@ -40,5 +39,4 @@ export declare const SMARTART_LAYOUT_LABEL_KEYS: Readonly<Record<string, string>
|
|
|
40
39
|
export declare const ARROWHEAD_LABEL_KEYS: Readonly<Record<string, string>>;
|
|
41
40
|
/** Arrowhead width/length steps (`@w`/`@len`: `sm`, `med`, `lg`). */
|
|
42
41
|
export declare const ARROW_SIZE_LABEL_KEYS: Readonly<Record<string, string>>;
|
|
43
|
-
//#endregion
|
|
44
42
|
//# sourceMappingURL=schema-label-keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-label-keys.d.ts","names":[],"sources":["../../../../pptx/editor/render/schema-label-keys.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema-label-keys.d.ts","names":[],"sources":["../../../../pptx/editor/render/schema-label-keys.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;wBAqBgB,YACf,MAAM,SAAS,yBACf,2BACA,YAAY;;;;;qBAgBA,6BAA6B,SAAS;;qBAgBtC,kCAAkC,SAAS;;qBAS3C,2BAA2B,SAAS;;;;;;;qBAYpC,4BAA4B,SAAS;;qBAkBrC,sBAAsB,SAAS;;qBAU/B,uBAAuB,SAAS"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxSection, PptxSlide } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/section-operations.d.ts
|
|
3
2
|
/** The updated `sections` + `slides` pair produced by a section transform. */
|
|
4
3
|
export interface SectionMutationResult {
|
|
5
4
|
sections: PptxSection[];
|
|
@@ -69,5 +68,4 @@ export declare function moveSectionDown(sections: readonly PptxSection[], sectio
|
|
|
69
68
|
* from any other section's `slideIds`. No-op if the target section is unknown.
|
|
70
69
|
*/
|
|
71
70
|
export declare function moveSlidesToSection(sections: readonly PptxSection[], slides: readonly PptxSlide[], slideIndexes: readonly number[], targetSectionId: string): SectionMutationResult;
|
|
72
|
-
//#endregion
|
|
73
71
|
//# sourceMappingURL=section-operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-operations.d.ts","names":[],"sources":["../../../../pptx/editor/render/section-operations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"section-operations.d.ts","names":[],"sources":["../../../../pptx/editor/render/section-operations.ts"],"mappings":";;iBAsBiB;EAChB,UAAU;EACV,QAAQ;;;iBAIQ;EAChB;EACA;EACA;EACA;;;iBAIgB,kBAAkB,iBAAiB,yBAAyB;EAC5E,SAAS;EACT,QAAQ;EACR;;;;;;;wBAYe;;;;;;;;;;;;;;;;;wBAwBA,eAAe,OAAO,uBAAuB;;;;;wBAY7C,qBAAqB,iBAAiB,wBACrD,mBAAmB,YACnB,iBAAiB,cACf,kBAAkB;;;;;;;wBA+CL,WACf,mBAAmB,eACnB,iBAAiB,aACjB,cACA,yBACA,6BACE;;wBAyCa,cACf,mBAAmB,eACnB,iBAAiB,aACjB,mBACA,kBACE;;;;;wBAWa,cACf,mBAAmB,eACnB,iBAAiB,aACjB,oBACE;;wBAiCa,cAAc,mBAAmB,eAAe,oBAAoB;;wBAWpE,gBACf,mBAAmB,eACnB,oBACE;;;;;wBAca,oBACf,mBAAmB,eACnB,iBAAiB,aACjB,iCACA,0BACE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxSlide } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/slide-background-patch.d.ts
|
|
3
2
|
/** Fields a background choice replaces. */
|
|
4
3
|
export type SlideBackgroundPatch = Pick<PptxSlide, 'backgroundColor' | 'backgroundImage' | 'backgroundGradient' | 'backgroundPattern'>;
|
|
5
4
|
/**
|
|
@@ -15,5 +14,4 @@ export declare function solidBackgroundPatch(hex: string): SlideBackgroundPatch;
|
|
|
15
14
|
export declare function imageBackgroundPatch(dataUrl: string): Omit<SlideBackgroundPatch, 'backgroundColor'>;
|
|
16
15
|
/** Remove every slide-level facet so the slide inherits its layout background again. */
|
|
17
16
|
export declare function clearBackgroundPatch(): SlideBackgroundPatch;
|
|
18
|
-
//#endregion
|
|
19
17
|
//# sourceMappingURL=slide-background-patch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-background-patch.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-background-patch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"slide-background-patch.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-background-patch.ts"],"mappings":";;YAkBY,uBAAuB,KAClC;;;;;wBAQe,qBAAqB,cAAc;;;;;;wBAcnC,qBACf,kBACE,KAAK;;wBASQ,wBAAwB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../../chunk-
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
var
|
|
3
|
+
require('../../../chunk-GZOYXHDF.cjs');
|
|
4
|
+
require('../../../chunk-AFALJ5TA.cjs');
|
|
5
|
+
var chunkSNID2FDY_cjs = require('../../../chunk-SNID2FDY.cjs');
|
|
6
6
|
require('../../../chunk-XZPZHXV4.cjs');
|
|
7
7
|
require('../../../chunk-5W2QL4SB.cjs');
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ function reassignElementId(element) {
|
|
|
21
21
|
return newElement;
|
|
22
22
|
}
|
|
23
23
|
function duplicateSlide(slide, newSlideNumber) {
|
|
24
|
-
const cloned =
|
|
24
|
+
const cloned = chunkSNID2FDY_cjs.cloneSlide(slide);
|
|
25
25
|
cloned.sourceSlideId = slide.id.startsWith("ppt/slides/") ? slide.id : slide.sourceSlideId ?? slide.id;
|
|
26
26
|
cloned.id = `slide${newSlideNumber}`;
|
|
27
27
|
cloned.rId = `rId${newSlideNumber + 1}`;
|
|
@@ -51,7 +51,7 @@ function duplicateSlide(slide, newSlideNumber) {
|
|
|
51
51
|
function captureSlideClipboard(slides, ids) {
|
|
52
52
|
return ids.flatMap((id) => {
|
|
53
53
|
const slide = slides.find((candidate) => candidate.id === id);
|
|
54
|
-
return slide ? [
|
|
54
|
+
return slide ? [chunkSNID2FDY_cjs.cloneSlide(slide)] : [];
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function createSlidePaste(clipboard, insertAt, templates = {}) {
|
|
@@ -62,14 +62,14 @@ function createSlidePaste(clipboard, insertAt, templates = {}) {
|
|
|
62
62
|
})),
|
|
63
63
|
sourceIds: clipboard.map((slide) => slide.id),
|
|
64
64
|
insertAt,
|
|
65
|
-
templateElements: clipboard.map((slide) => (templates[slide.id] ?? []).map(
|
|
65
|
+
templateElements: clipboard.map((slide) => (templates[slide.id] ?? []).map(chunkSNID2FDY_cjs.cloneElement))
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
function insertSlidePaste(slides, request) {
|
|
69
69
|
const index = Math.max(0, Math.min(slides.length, request.insertAt));
|
|
70
70
|
const next = [
|
|
71
71
|
...slides.slice(0, index),
|
|
72
|
-
...request.copies.map(
|
|
72
|
+
...request.copies.map(chunkSNID2FDY_cjs.cloneSlide),
|
|
73
73
|
...slides.slice(index)
|
|
74
74
|
];
|
|
75
75
|
return next.map(
|
|
@@ -79,12 +79,12 @@ function insertSlidePaste(slides, request) {
|
|
|
79
79
|
function applySlidePasteTemplates(mapping, request) {
|
|
80
80
|
const next = { ...mapping };
|
|
81
81
|
request.copies.forEach((copy, index) => {
|
|
82
|
-
next[copy.id] = (request.templateElements[index] ?? []).map(
|
|
82
|
+
next[copy.id] = (request.templateElements[index] ?? []).map(chunkSNID2FDY_cjs.cloneElement);
|
|
83
83
|
});
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
function captureSlideClipboardTemplates(mapping, ids) {
|
|
87
|
-
return Object.fromEntries(ids.map((id) => [id, (mapping[id] ?? []).map(
|
|
87
|
+
return Object.fromEntries(ids.map((id) => [id, (mapping[id] ?? []).map(chunkSNID2FDY_cjs.cloneElement)]));
|
|
88
88
|
}
|
|
89
89
|
function makeSlideId(idGenerator) {
|
|
90
90
|
if (idGenerator) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxElement, PptxSlide } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/slide-operations.d.ts
|
|
3
2
|
export interface SlidePasteRequest {
|
|
4
3
|
/** Independent slide copies with their new identities already assigned. */
|
|
5
4
|
readonly copies: PptxSlide[];
|
|
@@ -33,5 +32,4 @@ export declare function makeSlideId(idGenerator?: () => string): string;
|
|
|
33
32
|
* @param idGenerator - Optional id override forwarded to {@link makeSlideId}.
|
|
34
33
|
*/
|
|
35
34
|
export declare function createBlankSlide(slideNumber: number, idGenerator?: () => string): PptxSlide;
|
|
36
|
-
//#endregion
|
|
37
35
|
//# sourceMappingURL=slide-operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-operations.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-operations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"slide-operations.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-operations.ts"],"mappings":";iBAgBiB;;WAEP,QAAQ;;WAER;;WAEA;;WAEA,kBAAkB;;wBAGZ,sBACf,iBAAiB,aACjB,yBACE;wBAOa,iBACf,oBAAoB,aACpB,kBACA,YAAW,eAAe,iBACxB;;wBAaa,iBACf,iBAAiB,aACjB,SAAS,oBACP;wBAYa,yBACf,SAAS,eAAe,gBACxB,SAAS,oBACP,eAAe;wBAQF,+BACf,SAAS,eAAe,gBACxB,yBACE,eAAe;;;;;;;;wBAWF,YAAY;;;;;;;;;wBAeZ,iBAAiB,qBAAqB,6BAA6B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import { cloneSlide, cloneElement } from '../../../chunk-
|
|
1
|
+
import '../../../chunk-4YBSHQ76.mjs';
|
|
2
|
+
import '../../../chunk-H2Q42P6P.mjs';
|
|
3
|
+
import { cloneSlide, cloneElement } from '../../../chunk-2TQJHNVU.mjs';
|
|
4
4
|
import '../../../chunk-GXHKNSZX.mjs';
|
|
5
5
|
import '../../../chunk-CA7KCNL3.mjs';
|
|
6
6
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxElement, PptxSlide } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/slide-search.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A single slide that matched a text search query.
|
|
5
4
|
*/
|
|
@@ -34,5 +33,4 @@ export declare function collectSlideText(slide: PptxSlide): string;
|
|
|
34
33
|
* Returns an empty array when `query` is empty or whitespace-only.
|
|
35
34
|
*/
|
|
36
35
|
export declare function searchSlides(slides: readonly PptxSlide[], query: string): SlideSearchMatch[];
|
|
37
|
-
//#endregion
|
|
38
36
|
//# sourceMappingURL=slide-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-search.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"slide-search.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-search.ts"],"mappings":";;;;iBAYiB;;EAEhB;;EAEA;;;;;EAKA;;;;;;;;;;;wBA4Be,mBAAmB,SAAS;;;;wBA4C5B,iBAAiB,OAAO;;;;;;wBAwDxB,aAAa,iBAAiB,aAAa,gBAAgB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxSlide } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/slide-size-rescale.d.ts
|
|
3
2
|
export type SlideSizeRescaleMode = 'maximize' | 'ensureFit';
|
|
4
3
|
export interface RescaleSlideSize {
|
|
5
4
|
readonly widthEmu: number;
|
|
@@ -28,5 +27,4 @@ export declare function resolveSlideSizeRescaleTransform(oldSize: RescaleSlideSi
|
|
|
28
27
|
* slide/element objects, the inputs are never mutated.
|
|
29
28
|
*/
|
|
30
29
|
export declare function scaleSlidesForSizeChange(slides: readonly PptxSlide[], oldSize: RescaleSlideSize, newSize: RescaleSlideSize, mode: SlideSizeRescaleMode): PptxSlide[];
|
|
31
|
-
//#endregion
|
|
32
30
|
//# sourceMappingURL=slide-size-rescale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-size-rescale.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-size-rescale.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"slide-size-rescale.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-size-rescale.ts"],"mappings":";YAuBY;iBAEK;WACP;WACA;;;;;;;;;iBAUO;WACP;WACA;WACA;;;;;;wBAOM,iCACf,SAAS,kBACT,SAAS,kBACT,MAAM,uBACJ;;;;;;wBA0Fa,yBACf,iBAAiB,aACjB,SAAS,kBACT,SAAS,kBACT,MAAM,uBACJ"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxSlideTransition } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/slide-transition-edits.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Merge a partial change onto a slide's existing transition. Always yields a
|
|
5
4
|
* complete object (defaulting `type` to `none`, which the interface requires)
|
|
@@ -12,5 +11,4 @@ export declare function mergeSlideTransition(current: PptxSlideTransition | unde
|
|
|
12
11
|
* model untouched rather than writing a NaN.
|
|
13
12
|
*/
|
|
14
13
|
export declare function clampTransitionNumber(raw: number, min: number, max: number): number | null;
|
|
15
|
-
//#endregion
|
|
16
14
|
//# sourceMappingURL=slide-transition-edits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-transition-edits.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-transition-edits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"slide-transition-edits.d.ts","names":[],"sources":["../../../../pptx/editor/render/slide-transition-edits.ts"],"mappings":";;;;;;wBAsBgB,qBACf,SAAS,iCACT,SAAS,QAAQ,uBACf;;;;;;wBASa,sBAAsB,aAAa,aAAa"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxTableCell, PptxTableCellStyle, TablePptxElement } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/table-cell-edit.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Replace one cell's plain text, DROPPING the per-run model that described the
|
|
5
4
|
* text it used to hold.
|
|
@@ -64,5 +63,4 @@ export declare function setCellText(element: TablePptxElement, rowIndex: number,
|
|
|
64
63
|
* cell does not exist.
|
|
65
64
|
*/
|
|
66
65
|
export declare function getCellText(element: TablePptxElement, rowIndex: number, colIndex: number): string | undefined;
|
|
67
|
-
//#endregion
|
|
68
66
|
//# sourceMappingURL=table-cell-edit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell-edit.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-cell-edit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-cell-edit.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-cell-edit.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;wBAoCgB,aAAa,MAAM,eAAe,eAAe;;;;;;;;;;;;;wBAqBjD,cACf,MAAM,eACN,OAAO,QAAQ,sBACb;;;;;;;;;;;;;;;;;;;wBA6Ba,YACf,SAAS,kBACT,kBACA,kBACA,eACE;;;;;wBAqBa,YACf,SAAS,kBACT,kBACA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxTableData } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/table-cell-merge.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Merge the cell at `(rowIndex, columnIndex)` with the next cell to its right.
|
|
5
4
|
* Returns the new `rows` array, or `null` when there is no mergeable neighbour.
|
|
@@ -15,5 +14,4 @@ export declare function computeMergeCellDown(td: PptxTableData, rowIndex: number
|
|
|
15
14
|
* cells. Returns the new `rows` array, or `null` when the cell is not merged.
|
|
16
15
|
*/
|
|
17
16
|
export declare function computeSplitCell(td: PptxTableData, rowIndex: number, columnIndex: number): PptxTableData['rows'] | null;
|
|
18
|
-
//#endregion
|
|
19
17
|
//# sourceMappingURL=table-cell-merge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell-merge.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-cell-merge.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-cell-merge.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-cell-merge.ts"],"mappings":";;;;;wBAuBgB,sBACf,IAAI,eACJ,kBACA,sBACE;;;;;wBAkCa,qBACf,IAAI,eACJ,kBACA,sBACE;;;;;wBA6Ca,iBACf,IAAI,eACJ,kBACA,sBACE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TablePptxElement } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/table-data-grid-ops.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Set one cell's text, keeping `rawXml` in sync so the edit actually paints and
|
|
5
4
|
* survives a save. Prefer this over the bare `setCellText` whenever the edit
|
|
@@ -79,5 +78,4 @@ export declare function appendTableElementColumn(element: TablePptxElement): Tab
|
|
|
79
78
|
* @returns A new element with the last column removed.
|
|
80
79
|
*/
|
|
81
80
|
export declare function removeLastTableElementColumn(element: TablePptxElement): TablePptxElement;
|
|
82
|
-
//#endregion
|
|
83
81
|
//# sourceMappingURL=table-data-grid-ops.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-data-grid-ops.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-data-grid-ops.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-data-grid-ops.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-data-grid-ops.ts"],"mappings":";;;;;;;;;;;;wBAsFgB,wBACf,SAAS,kBACT,kBACA,kBACA,eACE;;;;;;;;;wBAiBa,sBACf,SAAS,kBACT,gBACA,8BACE;;;;;;;;wBAea,sBAAsB,SAAS,kBAAkB,iBAAiB;;;;;;;;;wBAgBlE,yBACf,SAAS,kBACT,gBACA,6BACE;;;;;;;;wBAea,yBACf,SAAS,kBACT,iBACE;;;;;;;;;;wBAiBa,sBAAsB,SAAS,mBAAmB;;;;;;;wBAclD,0BAA0B,SAAS,mBAAmB;;;;;;;;;wBAgBtD,yBAAyB,SAAS,mBAAmB;;;;;;;wBAcrD,6BAA6B,SAAS,mBAAmB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxTableData } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/table-layout.d.ts
|
|
3
2
|
/** Default pixel height assigned to a freshly-inserted row. */
|
|
4
3
|
export declare const DEFAULT_INSERTED_ROW_HEIGHT = 40;
|
|
5
4
|
/**
|
|
@@ -39,5 +38,4 @@ export declare function insertTableColumn(tableData: PptxTableData, colIdx: numb
|
|
|
39
38
|
* the index is out of range.
|
|
40
39
|
*/
|
|
41
40
|
export declare function deleteTableColumn(tableData: PptxTableData, colIdx: number): PptxTableData;
|
|
42
|
-
//#endregion
|
|
43
41
|
//# sourceMappingURL=table-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-layout.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-layout.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-layout.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-layout.ts"],"mappings":";;qBAoCa;;;;;;;;;;wBAeG,eACf,WAAW,eACX,gBACA,8BACE;;;;;;;wBA2Da,eAAe,WAAW,eAAe,iBAAiB;;;;;;;;;;;;wBA+F1D,kBACf,WAAW,eACX,gBACA,6BACE;;;;;;;;wBAgEa,kBAAkB,WAAW,eAAe,iBAAiB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PptxTableData } from "ooxml-core/pptx";
|
|
2
|
-
//#region pptx/editor/render/table-merge.d.ts
|
|
3
2
|
/** A cell coordinate within a table (0-based). */
|
|
4
3
|
export interface CellCoord {
|
|
5
4
|
row: number;
|
|
@@ -64,5 +63,4 @@ export declare function computeSelectionRect(anchorRow: number, anchorCol: numbe
|
|
|
64
63
|
export declare function rectToCells(rect: CellRect): CellCoord[];
|
|
65
64
|
/** Check whether a given cell coordinate is inside a rect. */
|
|
66
65
|
export declare function isCellInRect(row: number, col: number, rect: CellRect | undefined): boolean;
|
|
67
|
-
//#endregion
|
|
68
66
|
//# sourceMappingURL=table-merge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-merge.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-merge.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-merge.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-merge.ts"],"mappings":";;iBAyBiB;EAChB;EACA;;;iBAIgB;EAChB;EACA;EACA;EACA;;;;;;wBAWe,oBAAoB,OAAO,cAAc;;;;;;;;wBAmCzC,4BAA4B,MAAM,UAAU,WAAW,gBAAgB;;;;;;;wBAwFvE,cAAc,OAAO,aAAa,WAAW;;;;wBAmC7C,aAAa,aAAa,aAAa,WAAW;;;;;;;;;wBAsBlD,WAAW,OAAO,aAAa,WAAW,gBAAgB;;;;;;;;;wBA+G1D,UAAU,aAAa,aAAa,WAAW,gBAAgB;;;;;;wBAyD/D,qBACf,mBACA,mBACA,mBACA,mBACA,WAAW,gBACT;;wBAWa,YAAY,MAAM,WAAW;;wBAW7B,aAAa,aAAa,aAAa,MAAM"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TableStyleBorderSide, TableStyleEditorPartId } from "./table-style-editor-parts.js";
|
|
2
2
|
import { ParsedTableStyleEntry, ParsedTableStyleFill, PptxThemeColorRef } from "ooxml-core/pptx";
|
|
3
|
-
//#region pptx/editor/render/table-style-editor-descriptor.d.ts
|
|
4
3
|
/** A colour shown/edited by the panel: always a paintable hex, plus the theme ref when one applies. */
|
|
5
4
|
export interface TableStyleEditorColor {
|
|
6
5
|
readonly hex: string;
|
|
@@ -56,5 +55,4 @@ export declare function colorToFill(hex: string, ref: PptxThemeColorRef | undefi
|
|
|
56
55
|
* when `entry` itself is `undefined` (no style loaded / selected yet).
|
|
57
56
|
*/
|
|
58
57
|
export declare function describeTableStyleEditor(entry: ParsedTableStyleEntry | undefined, selectedPart: TableStyleEditorPartId, themeColorMap: Readonly<Record<string, string>> | undefined): TableStyleEditorDescriptor | undefined;
|
|
59
|
-
//#endregion
|
|
60
58
|
//# sourceMappingURL=table-style-editor-descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-style-editor-descriptor.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-style-editor-descriptor.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-style-editor-descriptor.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-style-editor-descriptor.ts"],"mappings":";;;iBA6BiB;WACP;WACA,KAAK;;;iBAIE;WACP,OAAO;WACP;;WAEA;;;iBAIO;WACP;WACA;WACA;WACA,OAAO;WACP;;;iBAIO;WACP,OAAO;WACP;WACA;WACA;WACA;;YAGE,+BAA+B,SAC1C,OAAO,sBAAsB;;iBAIb;WACP;WACA;WACA;WACA;;;iBAIO;WACP;WACA;WACA,cAAc;;WAEd;WACA,MAAM;WACN,MAAM;WACN,SAAS;WACT,QAAQ;;;wBA+BF,YAAY,aAAa,KAAK,gCAAgC;;;;;wBAiG9D,yBACf,OAAO,mCACP,cAAc,wBACd,eAAe,SAAS,sCACtB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TableStyleBorderSide, TableStyleEditorPartId } from "./table-style-editor-parts.js";
|
|
2
2
|
import { ParsedTableStyleBorders, ParsedTableStyleEntry, ParsedTableStyleFill, ParsedTableStyleText, PptxTableCell3D, PptxThemeColorRef, PptxThemeFormatScheme } from "ooxml-core/pptx";
|
|
3
|
-
//#region pptx/editor/render/table-style-editor-edit.d.ts
|
|
4
3
|
export type TableStyleEditorFieldEdit = {
|
|
5
4
|
readonly kind: 'fillColor';
|
|
6
5
|
readonly hex: string;
|
|
@@ -80,5 +79,4 @@ export interface TableStyleEditContext {
|
|
|
80
79
|
* with no facets set) so a caller does not need to pre-filter by part.
|
|
81
80
|
*/
|
|
82
81
|
export declare function applyTableStyleFieldEdit(entry: ParsedTableStyleEntry, part: TableStyleEditorPartId, edit: TableStyleEditorFieldEdit, context?: TableStyleEditContext): TableStyleEditorEditResult;
|
|
83
|
-
//#endregion
|
|
84
82
|
//# sourceMappingURL=table-style-editor-edit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-style-editor-edit.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-style-editor-edit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-style-editor-edit.d.ts","names":[],"sources":["../../../../pptx/editor/render/table-style-editor-edit.ts"],"mappings":";;YA6BY;WAEA;WACA;WACA,KAAK;;WAEH;WAA2B;;WAC3B;WAA2B;;WAC3B;WAA6B;;WAC7B;WAAgC;;WAElC;WACA;WACA,KAAK;;WAGL;WACA,MAAM;WACN;WACA,KAAK;;WAEH;WAA8B,MAAM;WAA+B;;WACnE;WAA6B,MAAM;WAA+B;;WAClE;WAA6B,MAAM;WAA+B;;WAClE;WAAmC;;WACnC;WAAoC;;WACpC;WAAoC;;;iBAGjC;WACP;WACA;WACA,OAAO;WACP,OAAO;WACP,UAAU;WACV,SAAS;;iBAGF;;WAEP,OAAO;;WAEP,SAAS;;;iBAcF;;;;;;WAMP,eAAe;;;;;;;;;wBAwDT,yBACf,OAAO,uBACP,MAAM,wBACN,MAAM,2BACN,UAAS,wBACP"}
|