ooxml-core 1.33.0 → 1.34.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/dist/PptxHandler-5UDSMCBG.cjs +14 -0
- package/dist/PptxHandler-TTRTAQAR.mjs +5 -0
- package/dist/{PptxHandler-Q7CFNKOU.mjs → PptxHandler-XCYX5DVX.mjs} +2 -2
- package/dist/{PresentationBuilder-VP2637RH.cjs → PresentationBuilder-HA56ZY23.cjs} +6 -5
- package/dist/{PresentationBuilder-SADKXDWC.mjs → PresentationBuilder-IVLUEB4K.mjs} +2 -2
- package/dist/{PresentationBuilder-PJMQRZI6.mjs → PresentationBuilder-JBTNOIL7.mjs} +3 -2
- package/dist/automation/index.cjs +45489 -42876
- package/dist/automation/index.mjs +45489 -42876
- package/dist/{chunk-2LTIDUXH.cjs → chunk-A27O7M5X.cjs} +147 -133
- package/dist/{chunk-Y2RH4QWG.mjs → chunk-EGBNPVBA.mjs} +1542 -721
- package/dist/{chunk-QRXMYOVN.mjs → chunk-GNGL4BO7.mjs} +66 -44
- package/dist/chunk-LSO5SSFX.mjs +112 -0
- package/dist/chunk-MB3TYNMV.mjs +28 -0
- package/dist/{chunk-EBBWRRSB.mjs → chunk-MK2IBZU6.mjs} +1 -1
- package/dist/{chunk-BDZR4DZ6.cjs → chunk-PA5ADSTX.cjs} +1329 -1306
- package/dist/{chunk-BQGLWC6N.mjs → chunk-RI56PFGL.mjs} +67 -44
- package/dist/{chunk-3LMHYL4W.mjs → chunk-RPJHMPEL.mjs} +1 -1
- package/dist/{chunk-JQVOUS6B.mjs → chunk-TJXK4D4U.mjs} +4 -4
- package/dist/{chunk-6LJW76BZ.mjs → chunk-UQMAPY6D.mjs} +147 -128
- package/dist/chunk-XF6ZRA2D.cjs +120 -0
- package/dist/crypto/index.cjs +23 -15
- package/dist/crypto/index.mjs +23 -15
- package/dist/docx/block-parser.d.ts.map +1 -1
- package/dist/docx/embedded.cjs +519 -161
- package/dist/docx/embedded.mjs +519 -161
- package/dist/docx/find-pattern.d.ts +33 -0
- package/dist/docx/find-pattern.d.ts.map +1 -0
- package/dist/docx/find-replacement.d.ts +16 -0
- package/dist/docx/find-replacement.d.ts.map +1 -0
- package/dist/docx/find-syntax.d.ts +13 -0
- package/dist/docx/find-syntax.d.ts.map +1 -0
- package/dist/docx/find-wildcards.d.ts +8 -0
- package/dist/docx/find-wildcards.d.ts.map +1 -0
- package/dist/docx/form-field-model.d.ts +39 -0
- package/dist/docx/form-field-model.d.ts.map +1 -1
- package/dist/docx/index.cjs +3157 -994
- package/dist/docx/index.d.ts +3 -1
- package/dist/docx/index.d.ts.map +1 -1
- package/dist/docx/index.mjs +3153 -995
- package/dist/docx/layout/adapter.d.ts.map +1 -1
- package/dist/docx/layout/index.cjs +30 -8
- package/dist/docx/layout/index.mjs +30 -8
- package/dist/docx/layout/input.d.ts +2 -0
- package/dist/docx/layout/input.d.ts.map +1 -1
- package/dist/docx/load/index.cjs +6706 -1322
- package/dist/docx/load/index.mjs +6706 -1322
- package/dist/docx/load/legacy-doc/binary-save.d.ts +4 -0
- package/dist/docx/load/legacy-doc/binary-save.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/blocks.d.ts +19 -0
- package/dist/docx/load/legacy-doc/blocks.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/borders.d.ts +7 -0
- package/dist/docx/load/legacy-doc/borders.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/context.d.ts +65 -0
- package/dist/docx/load/legacy-doc/context.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/drawing.d.ts +15 -0
- package/dist/docx/load/legacy-doc/drawing.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/error.d.ts +5 -0
- package/dist/docx/load/legacy-doc/error.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/inline.d.ts +7 -0
- package/dist/docx/load/legacy-doc/inline.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/numbering-part.d.ts +3 -0
- package/dist/docx/load/legacy-doc/numbering-part.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/package.d.ts +8 -0
- package/dist/docx/load/legacy-doc/package.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/para-props.d.ts +6 -0
- package/dist/docx/load/legacy-doc/para-props.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/run-props.d.ts +8 -0
- package/dist/docx/load/legacy-doc/run-props.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/sections.d.ts +23 -0
- package/dist/docx/load/legacy-doc/sections.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/styles-part.d.ts +3 -0
- package/dist/docx/load/legacy-doc/styles-part.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/table.d.ts +6 -0
- package/dist/docx/load/legacy-doc/table.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc/xml.d.ts +21 -0
- package/dist/docx/load/legacy-doc/xml.d.ts.map +1 -0
- package/dist/docx/load/legacy-doc.d.ts +5 -4
- package/dist/docx/load/legacy-doc.d.ts.map +1 -1
- package/dist/docx/model-paragraph.d.ts +5 -0
- package/dist/docx/model-paragraph.d.ts.map +1 -1
- package/dist/docx/model.d.ts +3 -0
- package/dist/docx/model.d.ts.map +1 -1
- package/dist/docx/numbering-editing.d.ts +11 -1
- package/dist/docx/numbering-editing.d.ts.map +1 -1
- package/dist/docx/numbering-format.d.ts.map +1 -1
- package/dist/docx/numbering-model.d.ts +17 -0
- package/dist/docx/numbering-model.d.ts.map +1 -1
- package/dist/docx/numbering-package.d.ts +2 -2
- package/dist/docx/numbering-package.d.ts.map +1 -1
- package/dist/docx/numbering-parse.d.ts +2 -1
- package/dist/docx/numbering-parse.d.ts.map +1 -1
- package/dist/docx/numbering-picture-save.d.ts +13 -0
- package/dist/docx/numbering-picture-save.d.ts.map +1 -0
- package/dist/docx/numbering-picture.d.ts +18 -0
- package/dist/docx/numbering-picture.d.ts.map +1 -0
- package/dist/docx/parse.d.ts.map +1 -1
- package/dist/docx/permission-markers.d.ts +19 -0
- package/dist/docx/permission-markers.d.ts.map +1 -0
- package/dist/docx/permissions.d.ts +11 -0
- package/dist/docx/permissions.d.ts.map +1 -0
- package/dist/docx/protection-legacy.d.ts +13 -0
- package/dist/docx/protection-legacy.d.ts.map +1 -0
- package/dist/docx/protection.d.ts +30 -0
- package/dist/docx/protection.d.ts.map +1 -0
- package/dist/docx/save.d.ts.map +1 -1
- package/dist/docx/settings.d.ts +6 -1
- package/dist/docx/settings.d.ts.map +1 -1
- package/dist/docx/ui/customization.d.ts.map +1 -1
- package/dist/docx/ui/edit-restriction.d.ts +53 -0
- package/dist/docx/ui/edit-restriction.d.ts.map +1 -0
- package/dist/docx/ui/index.cjs +548 -18
- package/dist/docx/ui/index.d.ts +4 -0
- package/dist/docx/ui/index.d.ts.map +1 -1
- package/dist/docx/ui/index.mjs +528 -19
- package/dist/docx/ui/paragraph-attributes.d.ts.map +1 -1
- package/dist/docx/ui/ribbon-action-ids.d.ts +1 -1
- package/dist/docx/ui/ribbon-action-ids.d.ts.map +1 -1
- package/dist/docx/write-paragraph.d.ts.map +1 -1
- package/dist/drawingml/index.cjs +1 -0
- package/dist/drawingml/index.mjs +1 -0
- package/dist/drawingml/write-theme.d.ts +2 -0
- package/dist/drawingml/write-theme.d.ts.map +1 -1
- package/dist/index.cjs +337 -95
- package/dist/index.mjs +337 -95
- package/dist/pptx/automation/index.cjs +1919 -758
- package/dist/pptx/automation/index.d.ts +37 -3
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +252 -10
- package/dist/pptx/automation/schemas/index.cjs +26 -0
- package/dist/pptx/automation/schemas/index.d.ts +26 -1
- package/dist/pptx/automation/schemas/index.d.ts.map +1 -0
- package/dist/pptx/automation/schemas/index.mjs +1 -1
- package/dist/pptx/chunks/index-Bp-1pGo1.d.ts.map +1 -1
- package/dist/pptx/chunks/{index-BuMPQDQb.d.ts → index-pLLN4OTz.d.ts} +37 -10
- package/dist/pptx/chunks/{index-BuMPQDQb.d.ts.map → index-pLLN4OTz.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +281 -116
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.cjs +133 -0
- package/dist/pptx/editor/render/custom-show-operations.d.ts +42 -0
- package/dist/pptx/editor/render/custom-show-operations.d.ts.map +1 -0
- package/dist/pptx/editor/render/custom-show-operations.mjs +119 -0
- package/dist/pptx/editor/render/find-replace.cjs +15 -14
- package/dist/pptx/editor/render/find-replace.d.ts +1 -1
- package/dist/pptx/editor/render/find-replace.mjs +2 -1
- package/dist/pptx/editor/render/slide-operations.cjs +9 -8
- package/dist/pptx/editor/render/slide-operations.mjs +3 -2
- package/dist/pptx/editor/render/table-data-grid-ops.cjs +1 -1
- package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
- package/dist/pptx/index.cjs +1656 -761
- package/dist/pptx/index.d.ts +2 -2
- package/dist/pptx/index.mjs +5 -5
- package/dist/teams/index.cjs +213 -26
- package/dist/teams/index.mjs +213 -26
- package/dist/text/index.cjs +241 -0
- package/dist/text/index.d.ts +2 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +240 -1
- package/dist/text/truetype/parse.d.ts +36 -0
- package/dist/text/truetype/parse.d.ts.map +1 -0
- package/dist/text/truetype/subset.d.ts +16 -0
- package/dist/text/truetype/subset.d.ts.map +1 -0
- package/dist/visio/cell-formula.d.ts.map +1 -1
- package/dist/visio/container-relationships.d.ts +40 -6
- package/dist/visio/container-relationships.d.ts.map +1 -1
- package/dist/visio/data-connections.d.ts +32 -0
- package/dist/visio/data-connections.d.ts.map +1 -0
- package/dist/visio/data-recordsets.d.ts +7 -0
- package/dist/visio/data-recordsets.d.ts.map +1 -1
- package/dist/visio/data-refresh.d.ts +33 -0
- package/dist/visio/data-refresh.d.ts.map +1 -0
- package/dist/visio/edit-commands.d.ts +6 -1
- package/dist/visio/edit-commands.d.ts.map +1 -1
- package/dist/visio/edit-connector.d.ts.map +1 -1
- package/dist/visio/edit-container-fit.d.ts +15 -2
- package/dist/visio/edit-container-fit.d.ts.map +1 -1
- package/dist/visio/edit-container-members.d.ts +12 -0
- package/dist/visio/edit-container-members.d.ts.map +1 -1
- package/dist/visio/edit-container-options.d.ts +33 -0
- package/dist/visio/edit-container-options.d.ts.map +1 -0
- package/dist/visio/edit-data-commands.d.ts +5 -0
- package/dist/visio/edit-data-commands.d.ts.map +1 -1
- package/dist/visio/edit-data-parts.d.ts +2 -0
- package/dist/visio/edit-data-parts.d.ts.map +1 -1
- package/dist/visio/edit-data.d.ts.map +1 -1
- package/dist/visio/edit-diagram-parts-commands.d.ts +2 -1
- package/dist/visio/edit-diagram-parts-commands.d.ts.map +1 -1
- package/dist/visio/edit-diagram-parts.d.ts +8 -0
- package/dist/visio/edit-diagram-parts.d.ts.map +1 -1
- package/dist/visio/edit-group-resize.d.ts.map +1 -1
- package/dist/visio/edit-instance-checks.d.ts.map +1 -1
- package/dist/visio/edit-package.d.ts.map +1 -1
- package/dist/visio/edit-page-theme-commands.d.ts +26 -0
- package/dist/visio/edit-page-theme-commands.d.ts.map +1 -1
- package/dist/visio/edit-page-theme-part.d.ts +6 -0
- package/dist/visio/edit-page-theme-part.d.ts.map +1 -0
- package/dist/visio/edit-page-theme.d.ts +9 -1
- package/dist/visio/edit-page-theme.d.ts.map +1 -1
- package/dist/visio/edit-picture-adjust.d.ts +32 -0
- package/dist/visio/edit-picture-adjust.d.ts.map +1 -0
- package/dist/visio/edit-resize-anchor.d.ts.map +1 -1
- package/dist/visio/edit-swimlane-commands.d.ts +91 -0
- package/dist/visio/edit-swimlane-commands.d.ts.map +1 -0
- package/dist/visio/edit-swimlane-layout.d.ts +64 -0
- package/dist/visio/edit-swimlane-layout.d.ts.map +1 -0
- package/dist/visio/edit-swimlane-ops.d.ts +11 -0
- package/dist/visio/edit-swimlane-ops.d.ts.map +1 -0
- package/dist/visio/edit-swimlane-shapes.d.ts +42 -0
- package/dist/visio/edit-swimlane-shapes.d.ts.map +1 -0
- package/dist/visio/edit-swimlane-turn.d.ts +9 -0
- package/dist/visio/edit-swimlane-turn.d.ts.map +1 -0
- package/dist/visio/edit.d.ts.map +1 -1
- package/dist/visio/effects.d.ts +3 -2
- package/dist/visio/effects.d.ts.map +1 -1
- package/dist/visio/geometry.d.ts +2 -1
- package/dist/visio/geometry.d.ts.map +1 -1
- package/dist/visio/index.cjs +10254 -7285
- package/dist/visio/index.d.ts +7 -0
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +10248 -7286
- package/dist/visio/infinite-line.d.ts +17 -0
- package/dist/visio/infinite-line.d.ts.map +1 -0
- package/dist/visio/model.d.ts +46 -0
- package/dist/visio/model.d.ts.map +1 -1
- package/dist/visio/package-kind.d.ts +34 -0
- package/dist/visio/package-kind.d.ts.map +1 -0
- package/dist/visio/page-theme.d.ts +7 -0
- package/dist/visio/page-theme.d.ts.map +1 -1
- package/dist/visio/parser.d.ts +2 -2
- package/dist/visio/parser.d.ts.map +1 -1
- package/dist/visio/shadow.d.ts +2 -1
- package/dist/visio/shadow.d.ts.map +1 -1
- package/dist/visio/shape-structure.d.ts +14 -1
- package/dist/visio/shape-structure.d.ts.map +1 -1
- package/dist/visio/shapes.d.ts +7 -1
- package/dist/visio/shapes.d.ts.map +1 -1
- package/dist/visio/stencil-file.d.ts +2 -2
- package/dist/visio/style.d.ts.map +1 -1
- package/dist/visio/swimlane-stack.d.ts +65 -0
- package/dist/visio/swimlane-stack.d.ts.map +1 -0
- package/dist/visio/theme-builtins.d.ts +3 -0
- package/dist/visio/theme-builtins.d.ts.map +1 -1
- package/dist/visio/theme-effects.d.ts +19 -0
- package/dist/visio/theme-effects.d.ts.map +1 -0
- package/dist/visio/theme-font.d.ts +13 -0
- package/dist/visio/theme-font.d.ts.map +1 -0
- package/dist/visio/theme-line.d.ts.map +1 -1
- package/dist/visio/theme-write.d.ts.map +1 -1
- package/dist/visio/theme.d.ts +7 -0
- package/dist/visio/theme.d.ts.map +1 -1
- package/dist/visio/ui/data-graphic-config.d.ts +45 -0
- package/dist/visio/ui/data-graphic-config.d.ts.map +1 -0
- package/dist/visio/ui/data-graphic-rules.d.ts +7 -0
- package/dist/visio/ui/data-graphic-rules.d.ts.map +1 -1
- package/dist/visio/ui/data-graphics.d.ts +9 -0
- package/dist/visio/ui/data-graphics.d.ts.map +1 -1
- package/dist/visio/ui/diagram-parts.d.ts +8 -1
- package/dist/visio/ui/diagram-parts.d.ts.map +1 -1
- package/dist/visio/ui/edit-commands.d.ts.map +1 -1
- package/dist/visio/ui/guides.d.ts +9 -1
- package/dist/visio/ui/guides.d.ts.map +1 -1
- package/dist/visio/ui/index.cjs +12664 -9884
- package/dist/visio/ui/index.d.ts +4 -0
- package/dist/visio/ui/index.d.ts.map +1 -1
- package/dist/visio/ui/index.mjs +12630 -9885
- package/dist/visio/ui/org-chart.d.ts +75 -0
- package/dist/visio/ui/org-chart.d.ts.map +1 -0
- package/dist/visio/ui/resize-snap.d.ts +51 -0
- package/dist/visio/ui/resize-snap.d.ts.map +1 -0
- package/dist/visio/ui/sample-drawing.d.ts +26 -0
- package/dist/visio/ui/sample-drawing.d.ts.map +1 -1
- package/dist/visio/ui/scene-validation.d.ts.map +1 -1
- package/dist/visio/ui/selection-resize.d.ts +2 -2
- package/dist/visio/ui/selection-resize.d.ts.map +1 -1
- package/dist/visio/ui/shape-resize.d.ts +29 -1
- package/dist/visio/ui/shape-resize.d.ts.map +1 -1
- package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
- package/dist/visio/ui/swimlane.d.ts +37 -0
- package/dist/visio/ui/swimlane.d.ts.map +1 -0
- package/dist/visio/ui/templates.d.ts +26 -0
- package/dist/visio/ui/templates.d.ts.map +1 -0
- package/dist/xlsx/audit/ast-text.d.ts +12 -0
- package/dist/xlsx/audit/ast-text.d.ts.map +1 -0
- package/dist/xlsx/audit/error-check.d.ts +23 -0
- package/dist/xlsx/audit/error-check.d.ts.map +1 -0
- package/dist/xlsx/audit/evaluate-steps.d.ts +48 -0
- package/dist/xlsx/audit/evaluate-steps.d.ts.map +1 -0
- package/dist/xlsx/audit/index.d.ts +6 -0
- package/dist/xlsx/audit/index.d.ts.map +1 -0
- package/dist/xlsx/audit/trace.d.ts +59 -0
- package/dist/xlsx/audit/trace.d.ts.map +1 -0
- package/dist/xlsx/audit/watch.d.ts +17 -0
- package/dist/xlsx/audit/watch.d.ts.map +1 -0
- package/dist/xlsx/edit/filter.d.ts +5 -2
- package/dist/xlsx/edit/filter.d.ts.map +1 -1
- package/dist/xlsx/edit/index.d.ts +4 -1
- package/dist/xlsx/edit/index.d.ts.map +1 -1
- package/dist/xlsx/edit/session.d.ts.map +1 -1
- package/dist/xlsx/edit/sort-choices.d.ts +23 -0
- package/dist/xlsx/edit/sort-choices.d.ts.map +1 -0
- package/dist/xlsx/edit/sort-keys.d.ts +49 -0
- package/dist/xlsx/edit/sort-keys.d.ts.map +1 -0
- package/dist/xlsx/edit/sort-reapply.d.ts +11 -0
- package/dist/xlsx/edit/sort-reapply.d.ts.map +1 -0
- package/dist/xlsx/edit/sort.d.ts +14 -12
- package/dist/xlsx/edit/sort.d.ts.map +1 -1
- package/dist/xlsx/edit/types.d.ts +7 -6
- package/dist/xlsx/edit/types.d.ts.map +1 -1
- package/dist/xlsx/edit/view.d.ts +9 -1
- package/dist/xlsx/edit/view.d.ts.map +1 -1
- package/dist/xlsx/filter-criteria.d.ts +2 -1
- package/dist/xlsx/filter-criteria.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-types.d.ts +8 -0
- package/dist/xlsx/formula/engine-types.d.ts.map +1 -1
- package/dist/xlsx/formula/engine.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +5478 -4220
- package/dist/xlsx/index.d.ts +1 -0
- package/dist/xlsx/index.d.ts.map +1 -1
- package/dist/xlsx/index.mjs +5450 -4221
- package/dist/xlsx/layout/index.d.ts +1 -0
- package/dist/xlsx/layout/index.d.ts.map +1 -1
- package/dist/xlsx/layout/split.d.ts +55 -0
- package/dist/xlsx/layout/split.d.ts.map +1 -0
- package/dist/xlsx/layout/viewport.d.ts +2 -0
- package/dist/xlsx/layout/viewport.d.ts.map +1 -1
- package/dist/xlsx/load/index.cjs +305 -109
- package/dist/xlsx/load/index.mjs +305 -109
- package/dist/xlsx/model-sort.d.ts +27 -0
- package/dist/xlsx/model-sort.d.ts.map +1 -0
- package/dist/xlsx/model.d.ts +39 -1
- package/dist/xlsx/model.d.ts.map +1 -1
- package/dist/xlsx/read/ignored-errors.d.ts +4 -0
- package/dist/xlsx/read/ignored-errors.d.ts.map +1 -0
- package/dist/xlsx/read/sheet-props.d.ts.map +1 -1
- package/dist/xlsx/read/sort-state.d.ts +5 -0
- package/dist/xlsx/read/sort-state.d.ts.map +1 -0
- package/dist/xlsx/read/tables.d.ts +2 -2
- package/dist/xlsx/read/tables.d.ts.map +1 -1
- package/dist/xlsx/read/worksheet.d.ts.map +1 -1
- package/dist/xlsx/sort-lists.d.ts +6 -0
- package/dist/xlsx/sort-lists.d.ts.map +1 -0
- package/dist/xlsx/ui/audit-state.d.ts +19 -0
- package/dist/xlsx/ui/audit-state.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/audit.d.ts +3 -0
- package/dist/xlsx/ui/commands/audit.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/formulas.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/audit.d.ts +3 -0
- package/dist/xlsx/ui/commands/i18n/audit.d.ts.map +1 -0
- package/dist/xlsx/ui/commands/i18n/index.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/ribbon-tabs.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/rules.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/icons.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/sort-filter.d.ts.map +1 -1
- package/dist/xlsx/ui/context.d.ts +6 -1
- package/dist/xlsx/ui/context.d.ts.map +1 -1
- package/dist/xlsx/ui/grid/geometry.d.ts +29 -1
- package/dist/xlsx/ui/grid/geometry.d.ts.map +1 -1
- package/dist/xlsx/ui/index.cjs +10761 -9573
- package/dist/xlsx/ui/index.d.ts +1 -0
- package/dist/xlsx/ui/index.d.ts.map +1 -1
- package/dist/xlsx/ui/index.mjs +10755 -9574
- package/dist/xlsx/ui/ribbon/icon-paths.d.ts.map +1 -1
- package/dist/xlsx/ui/ribbon/tabs/review-view.d.ts.map +1 -1
- package/dist/xlsx/write/filter-columns.d.ts +14 -0
- package/dist/xlsx/write/filter-columns.d.ts.map +1 -1
- package/dist/xlsx/write/ignored-errors.d.ts +3 -0
- package/dist/xlsx/write/ignored-errors.d.ts.map +1 -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/sort-state.d.ts +55 -0
- package/dist/xlsx/write/sort-state.d.ts.map +1 -0
- package/dist/xlsx/write/table-patch.d.ts +2 -1
- package/dist/xlsx/write/table-patch.d.ts.map +1 -1
- package/dist/xlsx/write/tables.d.ts +2 -1
- package/dist/xlsx/write/tables.d.ts.map +1 -1
- package/dist/xlsx/write/worksheet.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/PptxHandler-MGKMIK22.cjs +0 -13
- package/dist/PptxHandler-TEC7SWBU.mjs +0 -4
- package/dist/chunk-MHNETXQB.mjs +0 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { VisioPartBox } from './edit-diagram-parts-commands.js';
|
|
2
|
+
/** Width of a lane's heading band and height of the frame's title bar, in inches. */
|
|
3
|
+
export declare const VISIO_SWIMLANE_HEADER = 0.5;
|
|
4
|
+
export declare const VISIO_SWIMLANE_TITLE = 0.35;
|
|
5
|
+
/** Thickness of a phase separator bar, in inches. */
|
|
6
|
+
export declare const VISIO_SEPARATOR_THICKNESS = 0.04;
|
|
7
|
+
export declare const VISIO_SWIMLANE_MIN = 0.75;
|
|
8
|
+
export declare const VISIO_SWIMLANE_STYLES: readonly [1, 2, 3, 4];
|
|
9
|
+
export type VisioSwimlaneDirection = 'horizontal' | 'vertical';
|
|
10
|
+
/** A cross-functional flowchart: a frame container and its lanes, stacked inside `box`. */
|
|
11
|
+
export interface VisioCreateSwimlanesEdit {
|
|
12
|
+
type: 'create-swimlanes';
|
|
13
|
+
pageId: string;
|
|
14
|
+
frameId: string;
|
|
15
|
+
laneIds: readonly string[];
|
|
16
|
+
headings: readonly string[];
|
|
17
|
+
/** The whole frame including the title bar, in drawing inches. */
|
|
18
|
+
box: VisioPartBox;
|
|
19
|
+
direction: VisioSwimlaneDirection;
|
|
20
|
+
title: string;
|
|
21
|
+
style?: number;
|
|
22
|
+
/** IDs of the Swimlane List and Phase List shapes; the next free IDs when absent. */
|
|
23
|
+
listId?: string;
|
|
24
|
+
phaseListId?: string;
|
|
25
|
+
}
|
|
26
|
+
/** Insert a lane before or after `relativeTo`; later lanes shift and the frame grows. */
|
|
27
|
+
export interface VisioInsertSwimlaneEdit {
|
|
28
|
+
type: 'insert-swimlane';
|
|
29
|
+
pageId: string;
|
|
30
|
+
frameId: string;
|
|
31
|
+
shapeId: string;
|
|
32
|
+
relativeTo: string;
|
|
33
|
+
position: 'before' | 'after';
|
|
34
|
+
heading: string;
|
|
35
|
+
/** 'leave': the caller moves the shapes in shifted lanes (stencil shapes need it). */
|
|
36
|
+
contents?: 'move' | 'leave';
|
|
37
|
+
}
|
|
38
|
+
/** Delete a lane together with the shapes in it; later lanes close up and the frame shrinks. */
|
|
39
|
+
export interface VisioDeleteSwimlaneEdit {
|
|
40
|
+
type: 'delete-swimlane';
|
|
41
|
+
pageId: string;
|
|
42
|
+
frameId: string;
|
|
43
|
+
laneId: string;
|
|
44
|
+
/** 'leave': the caller moves the shapes in shifted lanes (stencil shapes need it). */
|
|
45
|
+
contents?: 'move' | 'leave';
|
|
46
|
+
}
|
|
47
|
+
/** Change a lane's size along the stacking direction; lanes after it move and the frame follows. */
|
|
48
|
+
export interface VisioResizeSwimlaneEdit {
|
|
49
|
+
type: 'resize-swimlane';
|
|
50
|
+
pageId: string;
|
|
51
|
+
frameId: string;
|
|
52
|
+
laneId: string;
|
|
53
|
+
size: number;
|
|
54
|
+
/** 'leave': the caller moves the shapes in shifted lanes (stencil shapes need it). */
|
|
55
|
+
contents?: 'move' | 'leave';
|
|
56
|
+
}
|
|
57
|
+
/** Add a phase separator bar across all lanes at `at` (drawing inches along the lane axis). */
|
|
58
|
+
export interface VisioInsertSeparatorEdit {
|
|
59
|
+
type: 'insert-separator';
|
|
60
|
+
pageId: string;
|
|
61
|
+
frameId: string;
|
|
62
|
+
shapeId: string;
|
|
63
|
+
at?: number;
|
|
64
|
+
/** The phase's name, shown beside the bar. */
|
|
65
|
+
label?: string;
|
|
66
|
+
}
|
|
67
|
+
/** The Cross-Functional Flowchart tab's Design and Arrange options. */
|
|
68
|
+
export interface VisioSwimlaneOptionsEdit {
|
|
69
|
+
type: 'set-swimlane-options';
|
|
70
|
+
pageId: string;
|
|
71
|
+
frameId: string;
|
|
72
|
+
showTitle?: boolean;
|
|
73
|
+
showSeparators?: boolean;
|
|
74
|
+
rotateLabels?: boolean;
|
|
75
|
+
style?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Turn the flowchart: lanes become columns (or rows) and the phase bars turn with them, each
|
|
78
|
+
* lane keeping its size along the stacking axis. Shapes in a lane are carried to the mirrored
|
|
79
|
+
* place (`transposeSwimlanes`) unless `contents` is 'leave'.
|
|
80
|
+
*/
|
|
81
|
+
direction?: VisioSwimlaneDirection;
|
|
82
|
+
/** 'leave': the caller moves the shapes in shifted lanes (stencil shapes need it). */
|
|
83
|
+
contents?: 'move' | 'leave';
|
|
84
|
+
}
|
|
85
|
+
export type VisioSwimlaneEdit = VisioCreateSwimlanesEdit | VisioInsertSwimlaneEdit | VisioDeleteSwimlaneEdit | VisioResizeSwimlaneEdit | VisioInsertSeparatorEdit | VisioSwimlaneOptionsEdit;
|
|
86
|
+
export declare const isVisioSwimlaneEdit: (edit: {
|
|
87
|
+
type: string;
|
|
88
|
+
}) => edit is VisioSwimlaneEdit;
|
|
89
|
+
/** Copy and validate a swimlane command; source admission stays authoritative. */
|
|
90
|
+
export declare function snapshotSwimlaneEdit(edit: VisioSwimlaneEdit): VisioSwimlaneEdit;
|
|
91
|
+
//# sourceMappingURL=edit-swimlane-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-swimlane-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-swimlane-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,qDAAqD;AACrD,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAC9C,eAAO,MAAM,kBAAkB,OAAO,CAAC;AACvC,eAAO,MAAM,qBAAqB,YAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAU,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE/D,2FAA2F;AAC3F,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,kEAAkE;IAClE,GAAG,EAAE,YAAY,CAAC;IAClB,SAAS,EAAE,sBAAsB,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE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AC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AACD,MAAM,MAAM,iBAAiB,GAC1B,wBAAwB,GACxB,uBAAuB,GACvB,uBAAuB,GACvB,uBAAuB,GACvB,wBAAwB,GACxB,wBAAwB,CAAC;AAU5B,eAAO,MAAM,mBAAmB,SAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,IAAI,IAAI,iBAChD,CAAC;AA4CtB,kFAAkF;AAClF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,CAiF/E"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type Box } from './edit-container-fit.js';
|
|
2
|
+
import type { VisioSwimlaneDirection } from './edit-swimlane-commands.js';
|
|
3
|
+
export interface Scope {
|
|
4
|
+
roots: ReadonlyMap<string, Element>;
|
|
5
|
+
document: Element;
|
|
6
|
+
root: Element;
|
|
7
|
+
pageId: string;
|
|
8
|
+
check: () => void;
|
|
9
|
+
/** Whether the lanes carry their shapes (local ones) or the caller moves them. */
|
|
10
|
+
contents: 'move' | 'leave';
|
|
11
|
+
}
|
|
12
|
+
export interface Options {
|
|
13
|
+
direction: VisioSwimlaneDirection;
|
|
14
|
+
title: boolean;
|
|
15
|
+
separators: boolean;
|
|
16
|
+
rotate: boolean;
|
|
17
|
+
style: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function frameOf(scope: Scope, frameId: string): Element;
|
|
20
|
+
export declare function optionsOf(frame: Element): Options;
|
|
21
|
+
export declare const isLane: (shape: Element) => boolean;
|
|
22
|
+
export declare const isSeparator: (shape: Element) => boolean;
|
|
23
|
+
/** The flowchart's Swimlane List and Phase List, when it has them (older files do not). */
|
|
24
|
+
export declare function listsOf(scope: Scope, frame: Element): {
|
|
25
|
+
swim?: Element;
|
|
26
|
+
phase?: Element;
|
|
27
|
+
};
|
|
28
|
+
/** The frame's members and, through its lists, the lanes and separators. */
|
|
29
|
+
export declare function frameMemberIds(scope: Scope, frame: Element): Set<string>;
|
|
30
|
+
export declare const separatorsOf: (scope: Scope, frame: Element) => Element[];
|
|
31
|
+
/** The next `count` shape IDs after the page's highest. */
|
|
32
|
+
export declare function freeShapeIds(root: Element, count: number): string[];
|
|
33
|
+
/**
|
|
34
|
+
* Give the flowchart Visio's list structure: a Swimlane List and a Phase List that the frame
|
|
35
|
+
* contains, the lanes and separators as their members. Flowcharts saved as plain containers (the
|
|
36
|
+
* frame holding lanes and separators directly) are brought over the first time they are edited.
|
|
37
|
+
*/
|
|
38
|
+
export declare function ensureLists(scope: Scope, frame: Element, ids?: {
|
|
39
|
+
swim?: string;
|
|
40
|
+
phase?: string;
|
|
41
|
+
}): {
|
|
42
|
+
swim: Element;
|
|
43
|
+
phase: Element;
|
|
44
|
+
};
|
|
45
|
+
/** Separators in phase order: left to right in a horizontal flowchart, top to bottom otherwise. */
|
|
46
|
+
export declare function orderSeparators(bars: readonly Element[], direction: VisioSwimlaneDirection): Element[];
|
|
47
|
+
/** The frame's lanes in stacking order: top to bottom, or left to right. */
|
|
48
|
+
export declare function lanesOf(scope: Scope, frame: Element, direction: VisioSwimlaneDirection): Element[];
|
|
49
|
+
export declare function laneOf(scope: Scope, frame: Element, laneId: string, direction: VisioSwimlaneDirection): Element;
|
|
50
|
+
export declare function shift(scope: Scope, ids: Iterable<string>, dx: number, dy: number): void;
|
|
51
|
+
/** Give a lane, separator or frame its box; a sheet the geometry editor refuses stops the edit. */
|
|
52
|
+
export declare function place(scope: Scope, shape: Element, target: Box): void;
|
|
53
|
+
/**
|
|
54
|
+
* Stack the lanes edge to edge under the frame's title (the frame's top-left corner stays put),
|
|
55
|
+
* carry each lane's shapes with it unless the caller moves them (contents: 'leave'), resize the
|
|
56
|
+
* phase separators to span the lanes and fit the frame. 'order' overrides the geometric order
|
|
57
|
+
* (a lane just inserted).
|
|
58
|
+
*/
|
|
59
|
+
export declare function relayout(scope: Scope, frame: Element, order?: readonly Element[]): void;
|
|
60
|
+
/** Stencil instances move through the asynchronous instance path, so the caller must move them. */
|
|
61
|
+
export declare function assertMovable(root: Element, ids: readonly string[]): void;
|
|
62
|
+
/** Frame, lanes and separators sit behind the page's other shapes, in that order. */
|
|
63
|
+
export declare function sendBehind(root: Element, shapes: readonly Element[]): void;
|
|
64
|
+
//# sourceMappingURL=edit-swimlane-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-swimlane-layout.d.ts","sourceRoot":"","sources":["../../visio/edit-swimlane-layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2B,KAAK,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAkBzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGvE,MAAM,WAAW,KAAK;IACrB,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,kFAAkF;IAClF,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AACD,MAAM,WAAW,OAAO;IACvB,SAAS,EAAE,sBAAsB,CAAC;IAClC,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACd;AAMD,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAK9D;AACD,wBAAgB,SAAS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AS,EAAE,sBAAsB,WAKjC;AAYD,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAqBvF;AAED,mGAAmG;AACnG,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,IAAI,CAGrE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAiDvF;AAED,mGAAmG;AACnG,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAQzE;AAED,qFAAqF;AACrF,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAI1E"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type VisioSwimlaneEdit } from './edit-swimlane-commands.js';
|
|
2
|
+
/** The shapes a delete-swimlane command removes with its lane (for the transaction's admission). */
|
|
3
|
+
export declare function swimlaneDeleteTargets(roots: ReadonlyMap<string, Element>, command: {
|
|
4
|
+
type: string;
|
|
5
|
+
}): {
|
|
6
|
+
pageId: string;
|
|
7
|
+
shapeId: string;
|
|
8
|
+
}[];
|
|
9
|
+
/** Apply a cross-functional flowchart command to its page; throws a VisioPackageError on refusal. */
|
|
10
|
+
export declare function applySwimlaneEdit(roots: ReadonlyMap<string, Element>, document: Element, edit: VisioSwimlaneEdit, check: () => void, instances?: ReadonlySet<Element>): void;
|
|
11
|
+
//# sourceMappingURL=edit-swimlane-ops.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-swimlane-ops.d.ts","sourceRoot":"","sources":["../../visio/edit-swimlane-ops.ts"],"names":[],"mappings":"AAoBA,OAAO,EASN,KAAK,iBAAiB,EAEtB,MAAM,0BAA0B,CAAC;AA0JlC,oGAAoG;AACpG,wBAAgB,qBAAqB,CACpC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GACvB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CAOvC;AAqGD,qGAAqG;AACrG,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,IAAI,EACjB,SAAS,GAAE,WAAW,CAAC,OAAO,CAAa,GACzC,IAAI,CAYN"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { VISIO_SEPARATOR_ROW } from './shape-structure.js';
|
|
2
|
+
import { type VisioPartBox } from './edit-diagram-parts-commands.js';
|
|
3
|
+
import { type VisioSwimlaneDirection } from './edit-swimlane-commands.js';
|
|
4
|
+
export { VISIO_SEPARATOR_ROW };
|
|
5
|
+
export declare const VISIO_SWIMLANE_TITLE_ROW = "ooxmlSwimlaneTitle";
|
|
6
|
+
/** Lane fill and outline per Style number (1 is Visio's warm default). */
|
|
7
|
+
export declare const SWIMLANE_STYLES: Record<number, {
|
|
8
|
+
fill: string;
|
|
9
|
+
line: string;
|
|
10
|
+
}>;
|
|
11
|
+
/** Set (or add) a User row's Value cell. */
|
|
12
|
+
export declare function setUserRow(shape: Element, name: string, value: string, unit?: string): void;
|
|
13
|
+
/** Set a colour or string cell, creating it when the sheet has none. */
|
|
14
|
+
export declare function setTextCell(shape: Element, name: string, value: string): void;
|
|
15
|
+
/**
|
|
16
|
+
* Where a lane's heading text sits: a band of VISIO_SWIMLANE_HEADER at the left of a horizontal
|
|
17
|
+
* lane (text reading upwards) or at the top of a vertical one; `rotate` turns the text block
|
|
18
|
+
* the other way (Rotate Lane Labels). Formulas keep the block with the lane's size.
|
|
19
|
+
*/
|
|
20
|
+
export declare function applyLaneLabel(lane: Element, direction: VisioSwimlaneDirection, rotate: boolean): void;
|
|
21
|
+
/** Rebuild a lane's outline and heading divider (the direction changed); keeps the sections' place. */
|
|
22
|
+
export declare function applyLaneGeometry(lane: Element, direction: VisioSwimlaneDirection, size: VisioPartBox): void;
|
|
23
|
+
/** A lane: a container with a heading band, no resize behaviour of its own (the frame stacks it). */
|
|
24
|
+
export declare function createLaneShape(root: Element, document: Element, id: string, frame: VisioPartBox, heading: string, direction: VisioSwimlaneDirection, rotate: boolean, style: number): Element;
|
|
25
|
+
/**
|
|
26
|
+
* Visio's Swimlane List (members: the lanes in order) or Phase List (the separators): an
|
|
27
|
+
* invisible 2D sheet spanning the lanes. `direction` is msvSDListDirection (0 left to right,
|
|
28
|
+
* 2 top to bottom): lanes stack top to bottom in a horizontal flowchart, phases run left to right.
|
|
29
|
+
*/
|
|
30
|
+
export declare function createListShape(root: Element, document: Element, id: string, area: VisioPartBox, kind: 'swimlane' | 'phase', direction: 0 | 2, style: number): Element;
|
|
31
|
+
/** Restyle a lane or the frame outline for a Style number. */
|
|
32
|
+
export declare function applyLaneStyle(shape: Element, style: number, frame: boolean): void;
|
|
33
|
+
/** The frame's title text block, anchored to the top and following the frame's height. */
|
|
34
|
+
export declare function applyFrameTitle(frame: Element, visible: boolean): void;
|
|
35
|
+
/** A phase separator: a thin bar across the lanes (horizontal flows get a vertical bar). */
|
|
36
|
+
export declare function createSeparatorShape(root: Element, document: Element, id: string, boxIn: VisioPartBox, style: number, visible: boolean, direction?: VisioSwimlaneDirection, label?: string): Element;
|
|
37
|
+
/**
|
|
38
|
+
* Where a phase's name sits: beside the top of the bar in a horizontal flowchart (the bar is
|
|
39
|
+
* vertical), above its left end in a vertical one. Hidden separators shrink the block away.
|
|
40
|
+
*/
|
|
41
|
+
export declare function applySeparatorLabel(bar: Element, direction: VisioSwimlaneDirection, visible: boolean): void;
|
|
42
|
+
//# sourceMappingURL=edit-swimlane-shapes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-swimlane-shapes.d.ts","sourceRoot":"","sources":["../../visio/edit-swimlane-shapes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAA2B,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAGN,KAAK,YAAY,EACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAIN,KAAK,sBAAsB,EAC3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAE7D,0EAA0E;AAC1E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAK1E,CAAC;AAGF,4CAA4C;AAC5C,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,SAAQ,GAAG,IAAI,CAuB1F;AACD,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAM7E;AAGD;;;;GAIG;AACH,wBAAgB,cAAc,CAC7B,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,sBAAsB,EACjC,MAAM,EAAE,OAAO,GACb,IAAI,CA2BN;AAwBD,uGAAuG;AACvG,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,sBAAsB,EACjC,IAAI,EAAE,YAAY,GAChB,IAAI,CAKN;AAKD,qGAAqG;AACrG,wBAAgB,eAAe,CAC9B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,sBAAsB,EACjC,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,MAAM,GACX,OAAO,CAgCT;AAGD;;;;GAIG;AACH,wBAAgB,eAAe,CAC9B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,UAAU,GAAG,OAAO,EAC1B,SAAS,EAAE,CAAC,GAAG,CAAC,EAChB,KAAK,EAAE,MAAM,GACX,OAAO,CA2CT;AAED,8DAA8D;AAC9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAGlF;AAED,0FAA0F;AAC1F,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAWtE;AAED,4FAA4F;AAC5F,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,OAAO,EAChB,SAAS,GAAE,sBAAqC,EAChD,KAAK,SAAK,GACR,OAAO,CA8BT;AAGD;;;GAGG;AACH,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,sBAAsB,EACjC,OAAO,EAAE,OAAO,GACd,IAAI,CAmBN"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VisioSwimlaneDirection } from './edit-swimlane-commands.js';
|
|
2
|
+
import { type Scope } from './edit-swimlane-layout.js';
|
|
3
|
+
/**
|
|
4
|
+
* Direction > Horizontal or Vertical on an existing flowchart. Lanes keep their size along the
|
|
5
|
+
* stacking axis, headings and dividers follow, phase bars turn with the flow and the shapes in a
|
|
6
|
+
* lane are carried to the mirrored place (unless the caller moves them: contents 'leave').
|
|
7
|
+
*/
|
|
8
|
+
export declare function turnFlowchart(scope: Scope, frame: Element, direction: VisioSwimlaneDirection): void;
|
|
9
|
+
//# sourceMappingURL=edit-swimlane-turn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-swimlane-turn.d.ts","sourceRoot":"","sources":["../../visio/edit-swimlane-turn.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6B,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQlG,OAAO,EASN,KAAK,KAAK,EACV,MAAM,wBAAwB,CAAC;AAGhC;;;;GAIG;AACH,wBAAgB,aAAa,CAC5B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,sBAAsB,GAC/B,IAAI,CAwEN"}
|
package/dist/visio/edit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../visio/edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../visio/edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAuB9F,OAAO,EAGN,KAAK,SAAS,EAEd,MAAM,iBAAiB,CAAC;AAgDzB,YAAY,EACX,SAAS,EACT,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,mBAA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C,CAmCzB"}
|
package/dist/visio/effects.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { VisioGlow, VisioReflection } from './model.js';
|
|
2
|
+
import type { ThemeEffects } from './theme-effects.js';
|
|
2
3
|
import { type Cells, type Report } from './sheet.js';
|
|
3
4
|
/**
|
|
4
5
|
* Saved Glow, Soft Edges and Reflection cells (Additional Effect Properties). Theme-selected
|
|
5
|
-
* values (`Themed`)
|
|
6
|
+
* values (`Themed`) come from the selected theme effect style (`theme-effects.ts`).
|
|
6
7
|
* https://learn.microsoft.com/en-us/office/client-developer/visio/glowsize-cell-additional-effect-properties-section
|
|
7
8
|
*/
|
|
8
|
-
export declare function shapeEffects(cells: Cells, color: (name: string, fallback: string) => string, report: Report): {
|
|
9
|
+
export declare function shapeEffects(cells: Cells, color: (name: string, fallback: string) => string, report: Report, themed?: ThemeEffects): {
|
|
9
10
|
glow?: VisioGlow;
|
|
10
11
|
softEdges?: number;
|
|
11
12
|
reflection?: VisioReflection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../visio/effects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAU,KAAK,KAAK,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAE1D;;;;GAIG;AACH,wBAAgB,YAAY,CAC3B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,EACjD,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../visio/effects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAU,KAAK,KAAK,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAE1D;;;;GAIG;AACH,wBAAgB,YAAY,CAC3B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,EACjD,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,YAAY,GACnB;IAAE,IAAI,CAAC,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,eAAe,CAAA;CAAE,CAoCxE"}
|
package/dist/visio/geometry.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type InfiniteLineFrame } from './infinite-line.js';
|
|
1
2
|
import type { VisioGeometry, VisioMatrix } from './model.js';
|
|
2
3
|
import { type Cells, type Report, type Sheet } from './sheet.js';
|
|
3
4
|
/** Visio Pin/LocPin, angle and flips, mapping shape coordinates to its parent's coordinates. */
|
|
@@ -13,5 +14,5 @@ export declare function shapeTransformDetails(cells: Cells, width: number, heigh
|
|
|
13
14
|
};
|
|
14
15
|
export declare function transform(x: number, y: number, localX: number, localY: number, angle: number, flipX?: boolean, flipY?: boolean): VisioMatrix;
|
|
15
16
|
/** Converts the supported cached Geometry rows into inert SVG path data. */
|
|
16
|
-
export declare function geometryPaths(sheet: Sheet, width: number, height: number, report: Report, consume: () => void, consumeWork?: (units: number) => void): VisioGeometry[];
|
|
17
|
+
export declare function geometryPaths(sheet: Sheet, width: number, height: number, report: Report, consume: () => void, consumeWork?: (units: number) => void, frame?: InfiniteLineFrame): VisioGeometry[];
|
|
17
18
|
//# sourceMappingURL=geometry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../visio/geometry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../visio/geometry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAM3E,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAU,KAAK,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAItE,gGAAgG;AAChG,wBAAgB,cAAc,CAC7B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACb,WAAW,CAEb;AACD,mFAAmF;AACnF,wBAAgB,qBAAqB,CACpC,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM;;;;;;;EAiBf;AAED,wBAAgB,SAAS,CACxB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,KAAK,UAAQ,EACb,KAAK,UAAQ,GACX,WAAW,CAQb;AAsCD,4EAA4E;AAC5E,wBAAgB,aAAa,CAC5B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,IAAI,EACnB,WAAW,GAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAe,EAC/C,KAAK,CAAC,EAAE,iBAAiB,GACvB,aAAa,EAAE,CA4PjB"}
|