ooxml-core 0.2.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/LICENSE +202 -0
- package/NOTICE +3 -0
- package/README.md +125 -0
- package/THIRD-PARTY-LICENSES +26 -0
- package/dist/collab/assets.d.ts +42 -0
- package/dist/collab/assets.d.ts.map +1 -0
- package/dist/collab/awareness.d.ts +65 -0
- package/dist/collab/awareness.d.ts.map +1 -0
- package/dist/collab/binding.d.ts +36 -0
- package/dist/collab/binding.d.ts.map +1 -0
- package/dist/collab/codec.d.ts +37 -0
- package/dist/collab/codec.d.ts.map +1 -0
- package/dist/collab/emitter.d.ts +11 -0
- package/dist/collab/emitter.d.ts.map +1 -0
- package/dist/collab/external-provider.d.ts +50 -0
- package/dist/collab/external-provider.d.ts.map +1 -0
- package/dist/collab/identity.d.ts +48 -0
- package/dist/collab/identity.d.ts.map +1 -0
- package/dist/collab/index.cjs +1328 -0
- package/dist/collab/index.d.ts +18 -0
- package/dist/collab/index.d.ts.map +1 -0
- package/dist/collab/index.mjs +1225 -0
- package/dist/collab/lifecycle.d.ts +62 -0
- package/dist/collab/lifecycle.d.ts.map +1 -0
- package/dist/collab/memory-transport.d.ts +19 -0
- package/dist/collab/memory-transport.d.ts.map +1 -0
- package/dist/collab/ordering.d.ts +53 -0
- package/dist/collab/ordering.d.ts.map +1 -0
- package/dist/collab/policy.d.ts +39 -0
- package/dist/collab/policy.d.ts.map +1 -0
- package/dist/collab/presence.d.ts +61 -0
- package/dist/collab/presence.d.ts.map +1 -0
- package/dist/collab/provider.d.ts +55 -0
- package/dist/collab/provider.d.ts.map +1 -0
- package/dist/collab/session.d.ts +70 -0
- package/dist/collab/session.d.ts.map +1 -0
- package/dist/collab/transport-provider.d.ts +13 -0
- package/dist/collab/transport-provider.d.ts.map +1 -0
- package/dist/collab/validation.d.ts +38 -0
- package/dist/collab/validation.d.ts.map +1 -0
- package/dist/collab/websocket-transport.d.ts +33 -0
- package/dist/collab/websocket-transport.d.ts.map +1 -0
- package/dist/color/color-linear.d.ts +5 -0
- package/dist/color/color-linear.d.ts.map +1 -0
- package/dist/color/color-primitives.d.ts +183 -0
- package/dist/color/color-primitives.d.ts.map +1 -0
- package/dist/color/index.cjs +177 -0
- package/dist/color/index.d.ts +3 -0
- package/dist/color/index.d.ts.map +1 -0
- package/dist/color/index.mjs +161 -0
- package/dist/diagram/attributes.d.ts +12 -0
- package/dist/diagram/attributes.d.ts.map +1 -0
- package/dist/diagram/data-model.d.ts +18 -0
- package/dist/diagram/data-model.d.ts.map +1 -0
- package/dist/diagram/definitions.d.ts +14 -0
- package/dist/diagram/definitions.d.ts.map +1 -0
- package/dist/diagram/dom.d.ts +15 -0
- package/dist/diagram/dom.d.ts.map +1 -0
- package/dist/diagram/drawing-color.d.ts +28 -0
- package/dist/diagram/drawing-color.d.ts.map +1 -0
- package/dist/diagram/drawing-fill.d.ts +9 -0
- package/dist/diagram/drawing-fill.d.ts.map +1 -0
- package/dist/diagram/drawing-geometry.d.ts +23 -0
- package/dist/diagram/drawing-geometry.d.ts.map +1 -0
- package/dist/diagram/drawing-text.d.ts +5 -0
- package/dist/diagram/drawing-text.d.ts.map +1 -0
- package/dist/diagram/drawing.d.ts +7 -0
- package/dist/diagram/drawing.d.ts.map +1 -0
- package/dist/diagram/index.cjs +1193 -0
- package/dist/diagram/index.d.ts +14 -0
- package/dist/diagram/index.d.ts.map +1 -0
- package/dist/diagram/index.mjs +1161 -0
- package/dist/diagram/layout-category.d.ts +8 -0
- package/dist/diagram/layout-category.d.ts.map +1 -0
- package/dist/diagram/load.d.ts +36 -0
- package/dist/diagram/load.d.ts.map +1 -0
- package/dist/diagram/relationships.d.ts +35 -0
- package/dist/diagram/relationships.d.ts.map +1 -0
- package/dist/diagram/types.d.ts +306 -0
- package/dist/diagram/types.d.ts.map +1 -0
- package/dist/docx/block-parser.d.ts +13 -0
- package/dist/docx/block-parser.d.ts.map +1 -0
- package/dist/docx/bookmarks.d.ts +18 -0
- package/dist/docx/bookmarks.d.ts.map +1 -0
- package/dist/docx/breaks.d.ts +11 -0
- package/dist/docx/breaks.d.ts.map +1 -0
- package/dist/docx/character-styles.d.ts +4 -0
- package/dist/docx/character-styles.d.ts.map +1 -0
- package/dist/docx/comment-spans.d.ts +19 -0
- package/dist/docx/comment-spans.d.ts.map +1 -0
- package/dist/docx/comments.d.ts +4 -0
- package/dist/docx/comments.d.ts.map +1 -0
- package/dist/docx/core-properties.d.ts +18 -0
- package/dist/docx/core-properties.d.ts.map +1 -0
- package/dist/docx/default-styles.d.ts +8 -0
- package/dist/docx/default-styles.d.ts.map +1 -0
- package/dist/docx/defined-props.d.ts +9 -0
- package/dist/docx/defined-props.d.ts.map +1 -0
- package/dist/docx/diagram-document.d.ts +9 -0
- package/dist/docx/diagram-document.d.ts.map +1 -0
- package/dist/docx/diagram-theme.d.ts +8 -0
- package/dist/docx/diagram-theme.d.ts.map +1 -0
- package/dist/docx/diagram.d.ts +89 -0
- package/dist/docx/diagram.d.ts.map +1 -0
- package/dist/docx/docpr-ids.d.ts +14 -0
- package/dist/docx/docpr-ids.d.ts.map +1 -0
- package/dist/docx/document-parts.d.ts +18 -0
- package/dist/docx/document-parts.d.ts.map +1 -0
- package/dist/docx/drawing.d.ts +13 -0
- package/dist/docx/drawing.d.ts.map +1 -0
- package/dist/docx/element-order.d.ts +13 -0
- package/dist/docx/element-order.d.ts.map +1 -0
- package/dist/docx/embedded.cjs +7646 -0
- package/dist/docx/embedded.d.ts +5 -0
- package/dist/docx/embedded.d.ts.map +1 -0
- package/dist/docx/embedded.mjs +7639 -0
- package/dist/docx/expect-defined.d.ts +3 -0
- package/dist/docx/expect-defined.d.ts.map +1 -0
- package/dist/docx/field-date.d.ts +10 -0
- package/dist/docx/field-date.d.ts.map +1 -0
- package/dist/docx/field-runs.d.ts +10 -0
- package/dist/docx/field-runs.d.ts.map +1 -0
- package/dist/docx/generated/wml-simple-types.d.ts +298 -0
- package/dist/docx/generated/wml-simple-types.d.ts.map +1 -0
- package/dist/docx/heading-list-kinds.d.ts +10 -0
- package/dist/docx/heading-list-kinds.d.ts.map +1 -0
- package/dist/docx/highlight.d.ts +5 -0
- package/dist/docx/highlight.d.ts.map +1 -0
- package/dist/docx/hyperlink.d.ts +8 -0
- package/dist/docx/hyperlink.d.ts.map +1 -0
- package/dist/docx/index.cjs +9784 -0
- package/dist/docx/index.d.ts +40 -0
- package/dist/docx/index.d.ts.map +1 -0
- package/dist/docx/index.mjs +9456 -0
- package/dist/docx/inline-model.d.ts +68 -0
- package/dist/docx/inline-model.d.ts.map +1 -0
- package/dist/docx/language.d.ts +3 -0
- package/dist/docx/language.d.ts.map +1 -0
- package/dist/docx/layout/adapt-drop-cap.d.ts +10 -0
- package/dist/docx/layout/adapt-drop-cap.d.ts.map +1 -0
- package/dist/docx/layout/adapt-floats.d.ts +8 -0
- package/dist/docx/layout/adapt-floats.d.ts.map +1 -0
- package/dist/docx/layout/adapt-notes.d.ts +13 -0
- package/dist/docx/layout/adapt-notes.d.ts.map +1 -0
- package/dist/docx/layout/adapt-paragraph-box.d.ts +12 -0
- package/dist/docx/layout/adapt-paragraph-box.d.ts.map +1 -0
- package/dist/docx/layout/adapt-table.d.ts +12 -0
- package/dist/docx/layout/adapt-table.d.ts.map +1 -0
- package/dist/docx/layout/adapter.d.ts +5 -0
- package/dist/docx/layout/adapter.d.ts.map +1 -0
- package/dist/docx/layout/floats.d.ts +20 -0
- package/dist/docx/layout/floats.d.ts.map +1 -0
- package/dist/docx/layout/flow-paragraph.d.ts +26 -0
- package/dist/docx/layout/flow-paragraph.d.ts.map +1 -0
- package/dist/docx/layout/flow-table.d.ts +12 -0
- package/dist/docx/layout/flow-table.d.ts.map +1 -0
- package/dist/docx/layout/fonts.d.ts +3 -0
- package/dist/docx/layout/fonts.d.ts.map +1 -0
- package/dist/docx/layout/index.cjs +2537 -0
- package/dist/docx/layout/index.d.ts +20 -0
- package/dist/docx/layout/index.d.ts.map +1 -0
- package/dist/docx/layout/index.mjs +2503 -0
- package/dist/docx/layout/input.d.ts +206 -0
- package/dist/docx/layout/input.d.ts.map +1 -0
- package/dist/docx/layout/keep-rules.d.ts +24 -0
- package/dist/docx/layout/keep-rules.d.ts.map +1 -0
- package/dist/docx/layout/layout.d.ts +9 -0
- package/dist/docx/layout/layout.d.ts.map +1 -0
- package/dist/docx/layout/ligatures.d.ts +4 -0
- package/dist/docx/layout/ligatures.d.ts.map +1 -0
- package/dist/docx/layout/line-metrics.d.ts +21 -0
- package/dist/docx/layout/line-metrics.d.ts.map +1 -0
- package/dist/docx/layout/measure.d.ts +34 -0
- package/dist/docx/layout/measure.d.ts.map +1 -0
- package/dist/docx/layout/page-cursor.d.ts +45 -0
- package/dist/docx/layout/page-cursor.d.ts.map +1 -0
- package/dist/docx/layout/page-flow.d.ts +7 -0
- package/dist/docx/layout/page-flow.d.ts.map +1 -0
- package/dist/docx/layout/paragraph-fragments.d.ts +6 -0
- package/dist/docx/layout/paragraph-fragments.d.ts.map +1 -0
- package/dist/docx/layout/paragraph-layout.d.ts +37 -0
- package/dist/docx/layout/paragraph-layout.d.ts.map +1 -0
- package/dist/docx/layout/paragraph-tokens.d.ts +27 -0
- package/dist/docx/layout/paragraph-tokens.d.ts.map +1 -0
- package/dist/docx/layout/result.d.ts +139 -0
- package/dist/docx/layout/result.d.ts.map +1 -0
- package/dist/docx/layout/tab-stops.d.ts +14 -0
- package/dist/docx/layout/tab-stops.d.ts.map +1 -0
- package/dist/docx/layout/table-layout.d.ts +30 -0
- package/dist/docx/layout/table-layout.d.ts.map +1 -0
- package/dist/docx/layout/test-helpers.d.ts +3 -0
- package/dist/docx/layout/test-helpers.d.ts.map +1 -0
- package/dist/docx/layout/text-breaks.d.ts +56 -0
- package/dist/docx/layout/text-breaks.d.ts.map +1 -0
- package/dist/docx/layout/units.d.ts +17 -0
- package/dist/docx/layout/units.d.ts.map +1 -0
- package/dist/docx/layout/wrap.d.ts +22 -0
- package/dist/docx/layout/wrap.d.ts.map +1 -0
- package/dist/docx/ligatures.d.ts +9 -0
- package/dist/docx/ligatures.d.ts.map +1 -0
- package/dist/docx/load/detect.d.ts +6 -0
- package/dist/docx/load/detect.d.ts.map +1 -0
- package/dist/docx/load/index.cjs +8869 -0
- package/dist/docx/load/index.d.ts +3 -0
- package/dist/docx/load/index.d.ts.map +1 -0
- package/dist/docx/load/index.mjs +8860 -0
- package/dist/docx/load/legacy-doc.d.ts +7 -0
- package/dist/docx/load/legacy-doc.d.ts.map +1 -0
- package/dist/docx/model-paragraph.d.ts +100 -0
- package/dist/docx/model-paragraph.d.ts.map +1 -0
- package/dist/docx/model-run.d.ts +110 -0
- package/dist/docx/model-run.d.ts.map +1 -0
- package/dist/docx/model.d.ts +114 -0
- package/dist/docx/model.d.ts.map +1 -0
- package/dist/docx/notes.d.ts +9 -0
- package/dist/docx/notes.d.ts.map +1 -0
- package/dist/docx/numbering-editing.d.ts +30 -0
- package/dist/docx/numbering-editing.d.ts.map +1 -0
- package/dist/docx/numbering-format.d.ts +17 -0
- package/dist/docx/numbering-format.d.ts.map +1 -0
- package/dist/docx/numbering-model.d.ts +73 -0
- package/dist/docx/numbering-model.d.ts.map +1 -0
- package/dist/docx/numbering-package.d.ts +12 -0
- package/dist/docx/numbering-package.d.ts.map +1 -0
- package/dist/docx/numbering-parse.d.ts +8 -0
- package/dist/docx/numbering-parse.d.ts.map +1 -0
- package/dist/docx/numbering-parts.d.ts +4 -0
- package/dist/docx/numbering-parts.d.ts.map +1 -0
- package/dist/docx/numbering-text.d.ts +20 -0
- package/dist/docx/numbering-text.d.ts.map +1 -0
- package/dist/docx/numbering-write.d.ts +5 -0
- package/dist/docx/numbering-write.d.ts.map +1 -0
- package/dist/docx/package-parts.d.ts +4 -0
- package/dist/docx/package-parts.d.ts.map +1 -0
- package/dist/docx/page-background.d.ts +9 -0
- package/dist/docx/page-background.d.ts.map +1 -0
- package/dist/docx/page-borders.d.ts +9 -0
- package/dist/docx/page-borders.d.ts.map +1 -0
- package/dist/docx/paragraph-alignment.d.ts +21 -0
- package/dist/docx/paragraph-alignment.d.ts.map +1 -0
- package/dist/docx/paragraph-styles.d.ts +15 -0
- package/dist/docx/paragraph-styles.d.ts.map +1 -0
- package/dist/docx/parse-diagnostics.d.ts +10 -0
- package/dist/docx/parse-diagnostics.d.ts.map +1 -0
- package/dist/docx/parse-revisions.d.ts +36 -0
- package/dist/docx/parse-revisions.d.ts.map +1 -0
- package/dist/docx/parse-table.d.ts +5 -0
- package/dist/docx/parse-table.d.ts.map +1 -0
- package/dist/docx/parse-warnings.d.ts +9 -0
- package/dist/docx/parse-warnings.d.ts.map +1 -0
- package/dist/docx/parse.d.ts +13 -0
- package/dist/docx/parse.d.ts.map +1 -0
- package/dist/docx/part-relationships.d.ts +12 -0
- package/dist/docx/part-relationships.d.ts.map +1 -0
- package/dist/docx/relationship-allocator.d.ts +32 -0
- package/dist/docx/relationship-allocator.d.ts.map +1 -0
- package/dist/docx/relationships.d.ts +3 -0
- package/dist/docx/relationships.d.ts.map +1 -0
- package/dist/docx/resolve-table.d.ts +8 -0
- package/dist/docx/resolve-table.d.ts.map +1 -0
- package/dist/docx/revision-commands.d.ts +27 -0
- package/dist/docx/revision-commands.d.ts.map +1 -0
- package/dist/docx/revision-ids.d.ts +10 -0
- package/dist/docx/revision-ids.d.ts.map +1 -0
- package/dist/docx/run-formatting.d.ts +16 -0
- package/dist/docx/run-formatting.d.ts.map +1 -0
- package/dist/docx/run-properties.d.ts +5 -0
- package/dist/docx/run-properties.d.ts.map +1 -0
- package/dist/docx/run-style-model.d.ts +21 -0
- package/dist/docx/run-style-model.d.ts.map +1 -0
- package/dist/docx/save.d.ts +5 -0
- package/dist/docx/save.d.ts.map +1 -0
- package/dist/docx/section-model.d.ts +97 -0
- package/dist/docx/section-model.d.ts.map +1 -0
- package/dist/docx/sections.d.ts +18 -0
- package/dist/docx/sections.d.ts.map +1 -0
- package/dist/docx/settings.d.ts +11 -0
- package/dist/docx/settings.d.ts.map +1 -0
- package/dist/docx/simple-types.d.ts +37 -0
- package/dist/docx/simple-types.d.ts.map +1 -0
- package/dist/docx/style-numbering-package.d.ts +11 -0
- package/dist/docx/style-numbering-package.d.ts.map +1 -0
- package/dist/docx/tab-stops.d.ts +8 -0
- package/dist/docx/tab-stops.d.ts.map +1 -0
- package/dist/docx/table-borders.d.ts +15 -0
- package/dist/docx/table-borders.d.ts.map +1 -0
- package/dist/docx/table-cell-write.d.ts +12 -0
- package/dist/docx/table-cell-write.d.ts.map +1 -0
- package/dist/docx/table-defaults.d.ts +20 -0
- package/dist/docx/table-defaults.d.ts.map +1 -0
- package/dist/docx/table-model.d.ts +101 -0
- package/dist/docx/table-model.d.ts.map +1 -0
- package/dist/docx/table-of-contents.d.ts +67 -0
- package/dist/docx/table-of-contents.d.ts.map +1 -0
- package/dist/docx/table-of-figures.d.ts +10 -0
- package/dist/docx/table-of-figures.d.ts.map +1 -0
- package/dist/docx/table-styles.d.ts +4 -0
- package/dist/docx/table-styles.d.ts.map +1 -0
- package/dist/docx/table-visuals.d.ts +22 -0
- package/dist/docx/table-visuals.d.ts.map +1 -0
- package/dist/docx/test-support/access.d.ts +14 -0
- package/dist/docx/test-support/access.d.ts.map +1 -0
- package/dist/docx/test-support/heading-numbering-fixture.d.ts +5 -0
- package/dist/docx/test-support/heading-numbering-fixture.d.ts.map +1 -0
- package/dist/docx/test-support/restart-fixture.d.ts +17 -0
- package/dist/docx/test-support/restart-fixture.d.ts.map +1 -0
- package/dist/docx/test-support/schema-validation.d.ts +24 -0
- package/dist/docx/test-support/schema-validation.d.ts.map +1 -0
- package/dist/docx/theme-color.d.ts +16 -0
- package/dist/docx/theme-color.d.ts.map +1 -0
- package/dist/docx/theme-model.d.ts +31 -0
- package/dist/docx/theme-model.d.ts.map +1 -0
- package/dist/docx/theme.d.ts +6 -0
- package/dist/docx/theme.d.ts.map +1 -0
- package/dist/docx/underline.d.ts +5 -0
- package/dist/docx/underline.d.ts.map +1 -0
- package/dist/docx/units.d.ts +2 -0
- package/dist/docx/units.d.ts.map +1 -0
- package/dist/docx/validate-issues.d.ts +40 -0
- package/dist/docx/validate-issues.d.ts.map +1 -0
- package/dist/docx/validate-model.d.ts +8 -0
- package/dist/docx/validate-model.d.ts.map +1 -0
- package/dist/docx/validate-paragraph.d.ts +10 -0
- package/dist/docx/validate-paragraph.d.ts.map +1 -0
- package/dist/docx/validate-structure.d.ts +10 -0
- package/dist/docx/validate-structure.d.ts.map +1 -0
- package/dist/docx/watermark.d.ts +14 -0
- package/dist/docx/watermark.d.ts.map +1 -0
- package/dist/docx/write-comments.d.ts +12 -0
- package/dist/docx/write-comments.d.ts.map +1 -0
- package/dist/docx/write-drawing.d.ts +12 -0
- package/dist/docx/write-drawing.d.ts.map +1 -0
- package/dist/docx/write-header-footer.d.ts +21 -0
- package/dist/docx/write-header-footer.d.ts.map +1 -0
- package/dist/docx/write-inline.d.ts +23 -0
- package/dist/docx/write-inline.d.ts.map +1 -0
- package/dist/docx/write-notes.d.ts +5 -0
- package/dist/docx/write-notes.d.ts.map +1 -0
- package/dist/docx/write-paragraph-decoration.d.ts +5 -0
- package/dist/docx/write-paragraph-decoration.d.ts.map +1 -0
- package/dist/docx/write-paragraph-properties.d.ts +4 -0
- package/dist/docx/write-paragraph-properties.d.ts.map +1 -0
- package/dist/docx/write-paragraph.d.ts +8 -0
- package/dist/docx/write-paragraph.d.ts.map +1 -0
- package/dist/docx/write-ranges.d.ts +42 -0
- package/dist/docx/write-ranges.d.ts.map +1 -0
- package/dist/docx/write-revisions.d.ts +10 -0
- package/dist/docx/write-revisions.d.ts.map +1 -0
- package/dist/docx/write-run-extra.d.ts +5 -0
- package/dist/docx/write-run-extra.d.ts.map +1 -0
- package/dist/docx/write-run-validation.d.ts +4 -0
- package/dist/docx/write-run-validation.d.ts.map +1 -0
- package/dist/docx/write-run.d.ts +7 -0
- package/dist/docx/write-run.d.ts.map +1 -0
- package/dist/docx/write-sections.d.ts +10 -0
- package/dist/docx/write-sections.d.ts.map +1 -0
- package/dist/docx/write-table-properties.d.ts +13 -0
- package/dist/docx/write-table-properties.d.ts.map +1 -0
- package/dist/docx/write-table.d.ts +9 -0
- package/dist/docx/write-table.d.ts.map +1 -0
- package/dist/docx/write-text-box.d.ts +15 -0
- package/dist/docx/write-text-box.d.ts.map +1 -0
- package/dist/docx/write.d.ts +25 -0
- package/dist/docx/write.d.ts.map +1 -0
- package/dist/docx/xml.d.ts +14 -0
- package/dist/docx/xml.d.ts.map +1 -0
- package/dist/docx/zip-parts.d.ts +5 -0
- package/dist/docx/zip-parts.d.ts.map +1 -0
- package/dist/geometry/adjustment-aware-shapes.d.ts +63 -0
- package/dist/geometry/adjustment-aware-shapes.d.ts.map +1 -0
- package/dist/geometry/callout-geometry.d.ts +65 -0
- package/dist/geometry/callout-geometry.d.ts.map +1 -0
- package/dist/geometry/cloud-bezier-paths.d.ts +55 -0
- package/dist/geometry/cloud-bezier-paths.d.ts.map +1 -0
- package/dist/geometry/com-avlst-ground-truth.d.ts +48 -0
- package/dist/geometry/com-avlst-ground-truth.d.ts.map +1 -0
- package/dist/geometry/connector-elbow-geometry.d.ts +41 -0
- package/dist/geometry/connector-elbow-geometry.d.ts.map +1 -0
- package/dist/geometry/guide-formula-api.d.ts +55 -0
- package/dist/geometry/guide-formula-api.d.ts.map +1 -0
- package/dist/geometry/guide-formula-eval.d.ts +85 -0
- package/dist/geometry/guide-formula-eval.d.ts.map +1 -0
- package/dist/geometry/index.cjs +15031 -0
- package/dist/geometry/index.d.ts +80 -0
- package/dist/geometry/index.d.ts.map +1 -0
- package/dist/geometry/index.mjs +14897 -0
- package/dist/geometry/indexed.d.ts +6 -0
- package/dist/geometry/indexed.d.ts.map +1 -0
- package/dist/geometry/preset-clip-paths-core.d.ts +20 -0
- package/dist/geometry/preset-clip-paths-core.d.ts.map +1 -0
- package/dist/geometry/preset-clip-paths-extended.d.ts +19 -0
- package/dist/geometry/preset-clip-paths-extended.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-action-buttons.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-action-buttons.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-arrows-curved.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-arrows-curved.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-arrows-misc.d.ts +13 -0
- package/dist/geometry/preset-connection-sites-arrows-misc.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-arrows.d.ts +13 -0
- package/dist/geometry/preset-connection-sites-arrows.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-basic-a.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-basic-a.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-basic-b.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-basic-b.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-braces.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-braces.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-callouts-basic.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-callouts-basic.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-circular-arrow.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-circular-arrow.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-flowchart.d.ts +19 -0
- package/dist/geometry/preset-connection-sites-flowchart.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-gear9.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-gear9.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts +13 -0
- package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-math.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-math.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-misc.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-misc.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-polygons.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-polygons.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-quads.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-quads.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-rects.d.ts +14 -0
- package/dist/geometry/preset-connection-sites-rects.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-ribbons.d.ts +12 -0
- package/dist/geometry/preset-connection-sites-ribbons.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-stars.d.ts +13 -0
- package/dist/geometry/preset-connection-sites-stars.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-table.d.ts +23 -0
- package/dist/geometry/preset-connection-sites-table.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-tabs.d.ts +11 -0
- package/dist/geometry/preset-connection-sites-tabs.d.ts.map +1 -0
- package/dist/geometry/preset-connection-sites-types.d.ts +52 -0
- package/dist/geometry/preset-connection-sites-types.d.ts.map +1 -0
- package/dist/geometry/preset-geometry-names.d.ts +53 -0
- package/dist/geometry/preset-geometry-names.d.ts.map +1 -0
- package/dist/geometry/preset-shape-clip-paths.d.ts +13 -0
- package/dist/geometry/preset-shape-clip-paths.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +45 -0
- package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts +55 -0
- package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts +45 -0
- package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-arrows.d.ts +52 -0
- package/dist/geometry/preset-shape-definitions-arrows.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-chart-marks.d.ts +23 -0
- package/dist/geometry/preset-shape-definitions-chart-marks.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts +28 -0
- package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts +37 -0
- package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts +43 -0
- package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts +30 -0
- package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-flowchart.d.ts +29 -0
- package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-gear6.d.ts +38 -0
- package/dist/geometry/preset-shape-definitions-gear6.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-gear9.d.ts +24 -0
- package/dist/geometry/preset-shape-definitions-gear9.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-misc.d.ts +38 -0
- package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-rects-snips.d.ts +28 -0
- package/dist/geometry/preset-shape-definitions-rects-snips.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts +45 -0
- package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-table.d.ts +121 -0
- package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts +48 -0
- package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts.map +1 -0
- package/dist/geometry/preset-shape-definitions.d.ts +28 -0
- package/dist/geometry/preset-shape-definitions.d.ts.map +1 -0
- package/dist/geometry/preset-shape-paths.d.ts +13 -0
- package/dist/geometry/preset-shape-paths.d.ts.map +1 -0
- package/dist/geometry/preset-shape-types.d.ts +33 -0
- package/dist/geometry/preset-shape-types.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-action-buttons.d.ts +13 -0
- package/dist/geometry/preset-text-rect-action-buttons.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-arrows.d.ts +3 -0
- package/dist/geometry/preset-text-rect-arrows.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-braces.d.ts +3 -0
- package/dist/geometry/preset-text-rect-braces.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-callouts.d.ts +3 -0
- package/dist/geometry/preset-text-rect-callouts.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-circular-arrows.d.ts +3 -0
- package/dist/geometry/preset-text-rect-circular-arrows.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-flowchart.d.ts +3 -0
- package/dist/geometry/preset-text-rect-flowchart.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-misc-a.d.ts +3 -0
- package/dist/geometry/preset-text-rect-misc-a.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-misc-b.d.ts +3 -0
- package/dist/geometry/preset-text-rect-misc-b.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-polygons.d.ts +3 -0
- package/dist/geometry/preset-text-rect-polygons.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-quads.d.ts +3 -0
- package/dist/geometry/preset-text-rect-quads.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-ribbons.d.ts +3 -0
- package/dist/geometry/preset-text-rect-ribbons.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-stars.d.ts +3 -0
- package/dist/geometry/preset-text-rect-stars.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-table.d.ts +20 -0
- package/dist/geometry/preset-text-rect-table.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-tabs.d.ts +3 -0
- package/dist/geometry/preset-text-rect-tabs.d.ts.map +1 -0
- package/dist/geometry/preset-text-rect-types.d.ts +46 -0
- package/dist/geometry/preset-text-rect-types.d.ts.map +1 -0
- package/dist/geometry/shape-boolean-clipping.d.ts +70 -0
- package/dist/geometry/shape-boolean-clipping.d.ts.map +1 -0
- package/dist/geometry/shape-boolean-ops.d.ts +142 -0
- package/dist/geometry/shape-boolean-ops.d.ts.map +1 -0
- package/dist/geometry/shape-boolean-svg.d.ts +31 -0
- package/dist/geometry/shape-boolean-svg.d.ts.map +1 -0
- package/dist/geometry/shape-boolean-types.d.ts +91 -0
- package/dist/geometry/shape-boolean-types.d.ts.map +1 -0
- package/dist/geometry/shape-boolean-union.d.ts +79 -0
- package/dist/geometry/shape-boolean-union.d.ts.map +1 -0
- package/dist/geometry/shape-boolean.d.ts +22 -0
- package/dist/geometry/shape-boolean.d.ts.map +1 -0
- package/dist/geometry/shape-definitions-extended.d.ts +18 -0
- package/dist/geometry/shape-definitions-extended.d.ts.map +1 -0
- package/dist/geometry/shape-definitions-primary.d.ts +19 -0
- package/dist/geometry/shape-definitions-primary.d.ts.map +1 -0
- package/dist/index.cjs +16618 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +16611 -0
- package/dist/opc/content-types.d.ts +14 -0
- package/dist/opc/content-types.d.ts.map +1 -0
- package/dist/opc/index.cjs +228 -0
- package/dist/opc/index.d.ts +6 -0
- package/dist/opc/index.d.ts.map +1 -0
- package/dist/opc/index.mjs +212 -0
- package/dist/opc/package.d.ts +14 -0
- package/dist/opc/package.d.ts.map +1 -0
- package/dist/opc/relationship-types.d.ts +34 -0
- package/dist/opc/relationship-types.d.ts.map +1 -0
- package/dist/opc/relationships.d.ts +29 -0
- package/dist/opc/relationships.d.ts.map +1 -0
- package/dist/opc/safe-href.d.ts +3 -0
- package/dist/opc/safe-href.d.ts.map +1 -0
- package/dist/pptx/chunks/index-CojJtI77.d.ts +9627 -0
- package/dist/pptx/chunks/index-CojJtI77.d.ts.map +1 -0
- package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts +220 -0
- package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts.map +1 -0
- package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts +11122 -0
- package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +138457 -0
- package/dist/pptx/cli/index.d.ts +139 -0
- package/dist/pptx/cli/index.d.ts.map +1 -0
- package/dist/pptx/cli/index.mjs +138424 -0
- package/dist/pptx/converter/index.cjs +32084 -0
- package/dist/pptx/converter/index.d.ts +2 -0
- package/dist/pptx/converter/index.mjs +32060 -0
- package/dist/pptx/index.cjs +172307 -0
- package/dist/pptx/index.d.ts +9692 -0
- package/dist/pptx/index.d.ts.map +1 -0
- package/dist/pptx/index.mjs +171623 -0
- package/dist/pptx/signature-node/index.cjs +1299 -0
- package/dist/pptx/signature-node/index.d.ts +172 -0
- package/dist/pptx/signature-node/index.d.ts.map +1 -0
- package/dist/pptx/signature-node/index.mjs +1236 -0
- package/dist/units/constants.d.ts +13 -0
- package/dist/units/constants.d.ts.map +1 -0
- package/dist/units/index.cjs +76 -0
- package/dist/units/index.d.ts +3 -0
- package/dist/units/index.d.ts.map +1 -0
- package/dist/units/index.mjs +45 -0
- package/dist/units/units.d.ts +52 -0
- package/dist/units/units.d.ts.map +1 -0
- package/dist/xml/index.cjs +98 -0
- package/dist/xml/index.d.ts +3 -0
- package/dist/xml/index.d.ts.map +1 -0
- package/dist/xml/index.mjs +85 -0
- package/dist/xml/namespaces.d.ts +47 -0
- package/dist/xml/namespaces.d.ts.map +1 -0
- package/dist/xml/xml.d.ts +31 -0
- package/dist/xml/xml.d.ts.map +1 -0
- package/package.json +192 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Index access helper for `noUncheckedIndexedAccess`. Use only where the index is guaranteed
|
|
3
|
+
* to be in range by the surrounding algorithm; throws if the invariant is ever violated.
|
|
4
|
+
*/
|
|
5
|
+
export declare function at<T>(items: ArrayLike<T>, index: number): T;
|
|
6
|
+
//# sourceMappingURL=indexed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexed.d.ts","sourceRoot":"","sources":["../../src/geometry/indexed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAM3D"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core preset clip-paths: basic shapes, rectangle variants, and arrows.
|
|
3
|
+
*
|
|
4
|
+
* Split from the full OOXML preset geometry map for file-size compliance.
|
|
5
|
+
* Each entry maps a lowercase OOXML preset geometry name to a CSS
|
|
6
|
+
* `clip-path` value (a `polygon(...)`, `ellipse(...)`, `circle(...)`,
|
|
7
|
+
* or `inset(...)` expression). Entries with `undefined` values indicate
|
|
8
|
+
* shapes that are handled by other means (e.g. `border-radius` for
|
|
9
|
+
* rounded rectangles, or special-case rendering for cylinders).
|
|
10
|
+
*
|
|
11
|
+
* Format: `lowercaseOoxmlName: "css-clip-path-value" | undefined`
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Core clip-path lookup for basic shapes, rectangle variants, and arrows.
|
|
15
|
+
*
|
|
16
|
+
* Merged into the master `PRESET_SHAPE_CLIP_PATHS` record by
|
|
17
|
+
* `preset-shape-clip-paths.ts`.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CLIP_PATHS_CORE: Record<string, string | undefined>;
|
|
20
|
+
//# sourceMappingURL=preset-clip-paths-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-clip-paths-core.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-clip-paths-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAsI9D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended preset clip-paths: stars, callouts, flowchart, math, action
|
|
3
|
+
* buttons, and miscellaneous shapes.
|
|
4
|
+
*
|
|
5
|
+
* Split from the full OOXML preset geometry map for file-size compliance.
|
|
6
|
+
* Each entry maps a lowercase OOXML preset geometry name to a CSS
|
|
7
|
+
* `clip-path` value. See `preset-clip-paths-core.ts` for format details.
|
|
8
|
+
*
|
|
9
|
+
* Format: `lowercaseOoxmlName: "css-clip-path-value" | undefined`
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Extended clip-path lookup for stars, callouts, flowchart, math,
|
|
13
|
+
* action buttons, and miscellaneous shapes.
|
|
14
|
+
*
|
|
15
|
+
* Merged into the master `PRESET_SHAPE_CLIP_PATHS` record by
|
|
16
|
+
* `preset-shape-clip-paths.ts`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const CLIP_PATHS_EXTENDED: Record<string, string | undefined>;
|
|
19
|
+
//# sourceMappingURL=preset-clip-paths-extended.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-clip-paths-extended.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-clip-paths-extended.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAmMlE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the `actionButton*` family (all 12 share the identical
|
|
3
|
+
* plain-rectangle `cxnLst`, just in right/bottom/left/top document order rather
|
|
4
|
+
* than this table's own `CARDINAL_SITES` top/left/bottom/right order, so `@idx`
|
|
5
|
+
* still needs its own transcription per shape).
|
|
6
|
+
*
|
|
7
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
8
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-action-buttons
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const ACTION_BUTTON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-action-buttons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-action-buttons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-action-buttons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA4GzF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `bentArrow`, `bentUpArrow`, and the four `curved*Arrow`
|
|
3
|
+
* presets.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-arrows-curved
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const CURVED_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-arrows-curved.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-arrows-curved.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows-curved.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA6NxF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the remaining block-arrow variants:
|
|
3
|
+
* `leftRightUpArrow`, `leftUpArrow`, `notchedRightArrow`, `stripedRightArrow`,
|
|
4
|
+
* `swooshArrow`, `uturnArrow`.
|
|
5
|
+
*
|
|
6
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
7
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
8
|
+
*
|
|
9
|
+
* @module render/preset-connection-sites-arrows-misc
|
|
10
|
+
*/
|
|
11
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
12
|
+
export declare const MISC_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
13
|
+
//# sourceMappingURL=preset-connection-sites-arrows-misc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-arrows-misc.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows-misc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwJtF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the block-arrow and chevron-family presets:
|
|
3
|
+
* `rightArrow`, `leftArrow`, `upArrow`, `downArrow`, `leftRightArrow`,
|
|
4
|
+
* `upDownArrow`, `quadArrow`, `chevron`, `homePlate`.
|
|
5
|
+
*
|
|
6
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
7
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
8
|
+
*
|
|
9
|
+
* @module render/preset-connection-sites-arrows
|
|
10
|
+
*/
|
|
11
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
12
|
+
export declare const ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
13
|
+
//# sourceMappingURL=preset-connection-sites-arrows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-arrows.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA0IjF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for basic presets, part 1 (alphabetical: arc..decagon):
|
|
3
|
+
* `arc`, `bevel`, `blockArc`, `can`, `chord`, `cloud`, `cube`, `decagon`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-basic-a
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const BASIC_SHAPE_CONNECTION_SITES_A: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-basic-a.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-basic-a.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-basic-a.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA8LzF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for basic presets, part 2 (alphabetical: diagStripe..gear6):
|
|
3
|
+
* `diagStripe`, `dodecagon`, `donut`, `doubleWave`, `foldedCorner`, `frame`, `gear6`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-basic-b
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const BASIC_SHAPE_CONNECTION_SITES_B: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-basic-b.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-basic-b.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-basic-b.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAoLzF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `bracePair`, `bracketPair`, `leftBrace`, `leftBracket`,
|
|
3
|
+
* `rightBrace`, `rightBracket`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-braces
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const BRACE_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-braces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-braces.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-braces.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwBjF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the arrow- and wedge-leader callout family:
|
|
3
|
+
* `leftArrowCallout`, `rightArrowCallout`, `upArrowCallout`, `downArrowCallout`,
|
|
4
|
+
* `leftRightArrowCallout`, `upDownArrowCallout`, `quadArrowCallout`,
|
|
5
|
+
* `wedgeEllipseCallout`, `wedgeRectCallout`, `wedgeRoundRectCallout`.
|
|
6
|
+
*
|
|
7
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
8
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-callouts-arrow
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const ARROW_CALLOUT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-callouts-arrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-callouts-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-callouts-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+IzF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the basic (line-leader) callout family: `accentBorderCallout1-3`,
|
|
3
|
+
* `accentCallout1-3`, `borderCallout1-3`, `callout1-3`, `cloudCallout`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-callouts-basic
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const CALLOUT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-callouts-basic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-callouts-basic.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-callouts-basic.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAiInF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `circularArrow`. Split into its own file because ECMA-376
|
|
3
|
+
* defines this preset's arc-head geometry via a genuinely large chain of
|
|
4
|
+
* intermediate guides (~160 entries transitively feed its 4 `cxnLst` points),
|
|
5
|
+
* which alone is close to this repo's 300-line-per-file budget.
|
|
6
|
+
*
|
|
7
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
8
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-circular-arrow
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-circular-arrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAiL1F,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the ANSI flowchart preset family (`flowChart*`).
|
|
3
|
+
*
|
|
4
|
+
* Most flowchart shapes are box-like enough that PowerPoint's own `cxnLst`
|
|
5
|
+
* for them is the plain 4 cardinal edge midpoints (already this app's
|
|
6
|
+
* fallback), so those presets are listed only so `getPresetConnectionSites`
|
|
7
|
+
* has a hit and future audits can see they were checked, not skipped. The
|
|
8
|
+
* ones whose sites are NOT the cardinal fallback (`flowChartDocument`'s
|
|
9
|
+
* wavy bottom edge, the circular connectors, the parallelogram-ish I/O
|
|
10
|
+
* shapes) carry the extra `gdLst` guides their `cxnLst` needs.
|
|
11
|
+
*
|
|
12
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
13
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
14
|
+
*
|
|
15
|
+
* @module render/preset-connection-sites-flowchart
|
|
16
|
+
*/
|
|
17
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
18
|
+
export declare const FLOWCHART_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
19
|
+
//# sourceMappingURL=preset-connection-sites-flowchart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-flowchart.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-flowchart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAyBzF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAoIrF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `gear9`, split into its own file: its 9-tooth gdLst chain
|
|
3
|
+
* (~190 entries) is close to this repo's 300-line-per-file budget on its own.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-gear9
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const GEAR9_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-gear9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-gear9.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-gear9.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAgNjF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `leftCircularArrow`. See `preset-connection-sites-circular-arrow.ts`
|
|
3
|
+
* for why this shares no file with its siblings.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-left-circular-arrow
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const LEFT_CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-left-circular-arrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-left-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-left-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAqL9F,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `leftRightCircularArrow`. See
|
|
3
|
+
* `preset-connection-sites-circular-arrow.ts` for why this shares no file with
|
|
4
|
+
* its siblings (this one's guide chain is the largest of the three, ~214 entries).
|
|
5
|
+
*
|
|
6
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
7
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
8
|
+
*
|
|
9
|
+
* @module render/preset-connection-sites-left-right-circular-arrow
|
|
10
|
+
*/
|
|
11
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
12
|
+
export declare const LEFT_RIGHT_CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
13
|
+
//# sourceMappingURL=preset-connection-sites-left-right-circular-arrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-left-right-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-left-right-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAC9D,MAAM,EACN,8BAA8B,CAqO9B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the equation-symbol presets: `mathDivide`, `mathEqual`,
|
|
3
|
+
* `mathMinus`, `mathMultiply`, `mathNotEqual`, `mathPlus`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-math
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const MATH_SYMBOL_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-math.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-math.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-math.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA4KvF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the remaining basic presets (alphabetical: halfFrame..wave):
|
|
3
|
+
* `halfFrame`, `heart`, `horizontalScroll`, `irregularSeal1`, `irregularSeal2`,
|
|
4
|
+
* `lightningBolt`, `line`, `lineInv`, `moon`, `nonIsoscelesTrapezoid`, `noSmoking`,
|
|
5
|
+
* `pie`, `pieWedge`, `smileyFace`, `sun`, `teardrop`, `verticalScroll`, `wave`.
|
|
6
|
+
*
|
|
7
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
8
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-misc
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const MISC_SHAPE_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-misc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-misc.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-misc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAkQtF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the regular-polygon and star presets: `pentagon`,
|
|
3
|
+
* `hexagon`, `heptagon`, `octagon`, `plus`, `star4`, `star5`, `star6`, `star8`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-polygons
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const POLYGON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-polygons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-polygons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-polygons.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+LnF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the basic box/polygon presets: `rect`, `roundRect`,
|
|
3
|
+
* `ellipse`, `triangle`, `rtTriangle`, `parallelogram`, `trapezoid`, `diamond`.
|
|
4
|
+
*
|
|
5
|
+
* Transcribed verbatim from ECMA-376's `presetShapeDefinitions.xml` (`avLst`
|
|
6
|
+
* defaults, the `gdLst` guides each shape's own `cxnLst` formulas reference,
|
|
7
|
+
* and the `cxnLst` itself). See `preset-connection-sites-types.ts` for why
|
|
8
|
+
* this table is separate from `preset-shape-definitions-*.ts`.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-quads
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const QUAD_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-quads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-quads.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-quads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+GhF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the cut/rounded-corner rectangle family: `round1Rect`,
|
|
3
|
+
* `round2DiagRect`, `round2SameRect`, `snip1Rect`, `snip2DiagRect`,
|
|
4
|
+
* `snip2SameRect`, `snipRoundRect`. PowerPoint attaches these to the plain
|
|
5
|
+
* edge midpoints/corners of the notional rectangle, not the cut corners.
|
|
6
|
+
*
|
|
7
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
8
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
9
|
+
*
|
|
10
|
+
* @module render/preset-connection-sites-rects
|
|
11
|
+
*/
|
|
12
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
13
|
+
export declare const RECT_VARIANT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
14
|
+
//# sourceMappingURL=preset-connection-sites-rects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-rects.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-rects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwDxF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the banner/ribbon family: `ribbon`, `ribbon2`,
|
|
3
|
+
* `ellipseRibbon`, `ellipseRibbon2`, `leftRightRibbon`.
|
|
4
|
+
*
|
|
5
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
6
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
7
|
+
*
|
|
8
|
+
* @module render/preset-connection-sites-ribbons
|
|
9
|
+
*/
|
|
10
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
11
|
+
export declare const RIBBON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
12
|
+
//# sourceMappingURL=preset-connection-sites-ribbons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-ribbons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-ribbons.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAuHlF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for the higher-point star presets: `star7`, `star10`,
|
|
3
|
+
* `star12`, `star16`, `star24`, `star32`. See `preset-connection-sites-polygons.ts`
|
|
4
|
+
* for `star4`/`star5`/`star6`/`star8`.
|
|
5
|
+
*
|
|
6
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
7
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
8
|
+
*
|
|
9
|
+
* @module render/preset-connection-sites-stars
|
|
10
|
+
*/
|
|
11
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
12
|
+
export declare const STAR_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
13
|
+
//# sourceMappingURL=preset-connection-sites-stars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-stars.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-stars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwIhF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
2
|
+
/** A preset connection site evaluated to pixel coordinates in the shape's own box. */
|
|
3
|
+
export interface EvaluatedPresetConnectionSite {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Look up a preset's `cxnLst` definition, exact name first, then normalised
|
|
9
|
+
* (`oval` -> `ellipse`, `rtArrow` -> `rightArrow`, a deck's own casing) -
|
|
10
|
+
* mirrors `lookupPresetShape`'s own fallback order for the same reason.
|
|
11
|
+
*/
|
|
12
|
+
export declare function lookupPresetConnectionSites(name: string): PresetConnectionSiteDefinition | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Evaluate `prst`'s ECMA-376 connection sites at the given box size and
|
|
15
|
+
* adjustment values, in the shape's own (unrotated, unflipped) local pixel
|
|
16
|
+
* space - the same space `getUnrotatedShapeConnectionSites` (shared) already
|
|
17
|
+
* works in for an authored `a:custGeom/a:cxnLst`.
|
|
18
|
+
*
|
|
19
|
+
* Returns `undefined` when `prst` has no transcribed `cxnLst`, so the caller
|
|
20
|
+
* can fall back to the 4 cardinal edge midpoints exactly as before.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getPresetConnectionSites(prst: string, width: number, height: number, adjustments?: Record<string, number>): EvaluatedPresetConnectionSite[] | undefined;
|
|
23
|
+
//# sourceMappingURL=preset-connection-sites-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-table.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-table.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAoCzF,sFAAsF;AACtF,MAAM,WAAW,6BAA6B;IAC7C,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAC1C,IAAI,EAAE,MAAM,GACV,8BAA8B,GAAG,SAAS,CAU5C;AAQD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC,6BAA6B,EAAE,GAAG,SAAS,CA4B7C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection sites for `corner`, `cornerTabs`, `plaque`, `plaqueTabs`, `squareTabs`.
|
|
3
|
+
*
|
|
4
|
+
* See `preset-connection-sites-quads.ts` for the provenance note; same source
|
|
5
|
+
* (`presetShapeDefinitions.xml`), same transcription method.
|
|
6
|
+
*
|
|
7
|
+
* @module render/preset-connection-sites-tabs
|
|
8
|
+
*/
|
|
9
|
+
import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
|
|
10
|
+
export declare const TAB_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
|
|
11
|
+
//# sourceMappingURL=preset-connection-sites-tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-tabs.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-tabs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAgG/E,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared vocabulary for the preset connection-site tables
|
|
3
|
+
* (`preset-connection-sites-*.ts`).
|
|
4
|
+
*
|
|
5
|
+
* ECMA-376's `presetShapeDefinitions.xml` gives most non-rectangular presets an
|
|
6
|
+
* explicit `<cxnLst>` of `<cxn ang="..."><pos x="..." y="..."/></cxn>` entries,
|
|
7
|
+
* distinct from the shape's own `pathLst`/`rect` geometry (which this repo
|
|
8
|
+
* already transcribes in `preset-shape-definitions-*.ts`). No preset in that
|
|
9
|
+
* table carries a `cxnLst`, so `a:cxn/@idx` on ANY preset always fell back to
|
|
10
|
+
* the four bounding-box edge midpoints, wrong for anything but a plain
|
|
11
|
+
* rectangle. These tables close that gap without touching the existing
|
|
12
|
+
* `pathLst` tables: each entry lists only the `avLst`/`gdLst` a shape's OWN
|
|
13
|
+
* `cxnLst` formulas need (frequently a strict subset of what `pathLst` needs,
|
|
14
|
+
* since a connection site is usually a vertex the path already visits), plus
|
|
15
|
+
* the `cxn` tokens themselves, verbatim from the spec.
|
|
16
|
+
*
|
|
17
|
+
* @module render/preset-connection-sites-types
|
|
18
|
+
*/
|
|
19
|
+
/** One `<a:cxn>` entry: an approach angle plus a formula-token position. */
|
|
20
|
+
export interface PresetConnectionSiteToken {
|
|
21
|
+
/** `@_ang`, a builtin angle guide (`0`, `cd4`, `cd2`, `3cd4`) or literal. */
|
|
22
|
+
ang: string;
|
|
23
|
+
/** `a:pos/@_x` formula token (guide name or numeric literal). */
|
|
24
|
+
x: string;
|
|
25
|
+
/** `a:pos/@_y` formula token. */
|
|
26
|
+
y: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The `avLst`/`gdLst`/`cxnLst` slice of one preset's `presetShapeDefinition`,
|
|
30
|
+
* transcribed only as far as evaluating its `cxnLst` requires.
|
|
31
|
+
*/
|
|
32
|
+
export interface PresetConnectionSiteDefinition {
|
|
33
|
+
/** `avLst` defaults (`adj`, `adj1`, `hf`, `vf`, ...), overridable at call time. */
|
|
34
|
+
avLst?: Record<string, number>;
|
|
35
|
+
/** `gdLst` guides the `cxnLst` position formulas reference, in order. */
|
|
36
|
+
gdLst?: Array<{
|
|
37
|
+
name: string;
|
|
38
|
+
formula: string;
|
|
39
|
+
}>;
|
|
40
|
+
/** The preset's connection sites, in `@idx` order. */
|
|
41
|
+
sites: PresetConnectionSiteToken[];
|
|
42
|
+
}
|
|
43
|
+
/** Build a `gdLst` entry from a `<a:gd name="..." fmla="..."/>` pair. */
|
|
44
|
+
export declare function gd(name: string, formula: string): {
|
|
45
|
+
name: string;
|
|
46
|
+
formula: string;
|
|
47
|
+
};
|
|
48
|
+
/** Build a `<a:cxn ang="..."><a:pos x="..." y="..."/></a:cxn>` token. */
|
|
49
|
+
export declare function cxn(ang: string, x: string, y: string): PresetConnectionSiteToken;
|
|
50
|
+
/** The plain 4-cardinal `cxnLst` shared by every box-like preset. */
|
|
51
|
+
export declare const CARDINAL_SITES: PresetConnectionSiteToken[];
|
|
52
|
+
//# sourceMappingURL=preset-connection-sites-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-connection-sites-types.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,4EAA4E;AAC5E,MAAM,WAAW,yBAAyB;IACzC,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,CAAC,EAAE,MAAM,CAAC;IACV,iCAAiC;IACjC,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC9C,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,yEAAyE;IACzE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjD,sDAAsD;IACtD,KAAK,EAAE,yBAAyB,EAAE,CAAC;CACnC;AAED,yEAAyE;AACzE,wBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAEnF;AAED,yEAAyE;AACzE,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,yBAAyB,CAEhF;AAED,qEAAqE;AACrE,eAAO,MAAM,cAAc,EAAE,yBAAyB,EAKrD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The closed `ST_ShapeType` enumeration and the alias table that folds this
|
|
3
|
+
* repository's internal / UI-facing shape identifiers onto it.
|
|
4
|
+
*
|
|
5
|
+
* `a:prstGeom/@prst` is typed `ST_ShapeType` (ISO/IEC 29500-1 section
|
|
6
|
+
* 20.1.10.55 / A.4.1), a **closed 187-value enumeration**. Emitting anything
|
|
7
|
+
* else produces a package PowerPoint rejects at schema-validation time, so
|
|
8
|
+
* every writer that fills `@prst` must pass its identifier through
|
|
9
|
+
* {@link normalizeStShapeType} first.
|
|
10
|
+
*
|
|
11
|
+
* Two families of non-spec identifier exist in this codebase and both are
|
|
12
|
+
* resolved here rather than at the call sites:
|
|
13
|
+
*
|
|
14
|
+
* - **UI / legacy aliases** the shape picker and the shared insert catalogue
|
|
15
|
+
* offer under friendlier names (`rightTriangle`, `cross`, `flowChartData`,
|
|
16
|
+
* ...). Each maps to the real preset it draws.
|
|
17
|
+
* - **Internal `SupportedShapeType` tokens** (`cylinder`, `rtArrow`,
|
|
18
|
+
* `connector`) which are render-layer classifications, not OOXML names.
|
|
19
|
+
*
|
|
20
|
+
* Lookup is exact-match first (deck-authored values are already canonical),
|
|
21
|
+
* then case-insensitive, then the alias table. Unknown identifiers resolve to
|
|
22
|
+
* `undefined` so the caller can substitute a safe default instead of writing
|
|
23
|
+
* an invalid token.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* The canonical `ST_ShapeType` enumeration, in ISO/IEC 29500-1 declaration
|
|
27
|
+
* order. Exactly 187 values.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ST_SHAPE_TYPE_VALUES: readonly string[];
|
|
30
|
+
/**
|
|
31
|
+
* Non-spec identifier (lower-cased) to the `ST_ShapeType` value it draws.
|
|
32
|
+
*
|
|
33
|
+
* Every entry is a shape this repository can produce but OOXML cannot name:
|
|
34
|
+
* UI labels from the shape picker, PowerPoint UI names that differ from the
|
|
35
|
+
* schema name, and internal `SupportedShapeType` render classifications.
|
|
36
|
+
*/
|
|
37
|
+
export declare const PRESET_GEOMETRY_ALIASES: Readonly<Record<string, string>>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether `name` is one of the 187 `ST_ShapeType` values, spelled exactly as
|
|
40
|
+
* the schema declares it.
|
|
41
|
+
*/
|
|
42
|
+
export declare function isStShapeType(name: string | undefined): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Resolve any shape identifier this codebase can produce to the exact
|
|
45
|
+
* `ST_ShapeType` spelling that belongs in `a:prstGeom/@prst`.
|
|
46
|
+
*
|
|
47
|
+
* @param name - A preset name, picker label, or internal shape token.
|
|
48
|
+
* @returns The canonical `ST_ShapeType` value, or `undefined` when the
|
|
49
|
+
* identifier is not a preset at all (callers should fall back to a
|
|
50
|
+
* safe default such as `'rect'` rather than writing it out).
|
|
51
|
+
*/
|
|
52
|
+
export declare function normalizeStShapeType(name: string | undefined): string | undefined;
|
|
53
|
+
//# sourceMappingURL=preset-geometry-names.d.ts.map
|