ooxml-core 1.4.0 → 1.6.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-ZPJNHEZZ.mjs → PptxHandler-DDEJ6CKU.mjs} +2 -2
- package/dist/automation/index.cjs +14809 -7789
- package/dist/automation/index.mjs +14809 -7789
- package/dist/{chunk-XGLKW3JJ.mjs → chunk-5L4DHJV3.mjs} +23 -3
- package/dist/{chunk-IVDC75E5.mjs → chunk-EPNLABIU.mjs} +1 -1
- package/dist/{chunk-BB55ASTX.mjs → chunk-Q52O7SXQ.mjs} +3 -3
- package/dist/{chunk-QPQDLSJQ.mjs → chunk-QXZJOUW4.mjs} +1 -1
- package/dist/{chunk-H4TPDZV4.mjs → chunk-UQQGC6O3.mjs} +1 -1
- package/dist/drawingml/index.cjs +102 -24
- package/dist/drawingml/index.d.ts +1 -0
- package/dist/drawingml/index.d.ts.map +1 -1
- package/dist/drawingml/index.mjs +102 -25
- package/dist/drawingml/write-theme.d.ts +17 -0
- package/dist/drawingml/write-theme.d.ts.map +1 -0
- package/dist/geometry/auto-align.d.ts +32 -0
- package/dist/geometry/auto-align.d.ts.map +1 -0
- package/dist/geometry/graph-layout.d.ts +37 -0
- package/dist/geometry/graph-layout.d.ts.map +1 -0
- package/dist/geometry/index.cjs +361 -7
- package/dist/geometry/index.d.ts +2 -0
- package/dist/geometry/index.d.ts.map +1 -1
- package/dist/geometry/index.mjs +359 -8
- package/dist/index.cjs +624 -122
- package/dist/index.mjs +624 -122
- package/dist/pptx/automation/index.cjs +23 -2
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/cli/index.cjs +23 -2
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/index.cjs +23 -2
- package/dist/pptx/index.mjs +5 -5
- package/dist/teams/index.cjs +3 -2
- package/dist/teams/index.mjs +3 -2
- package/dist/text/change-case.d.ts +20 -0
- package/dist/text/change-case.d.ts.map +1 -0
- package/dist/text/index.cjs +70 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +68 -1
- package/dist/visio/arrow-shapes.d.ts +16 -0
- package/dist/visio/arrow-shapes.d.ts.map +1 -0
- package/dist/visio/basic-shapes.d.ts +20 -0
- package/dist/visio/basic-shapes.d.ts.map +1 -0
- package/dist/visio/comments.d.ts +39 -0
- package/dist/visio/comments.d.ts.map +1 -0
- package/dist/visio/connector-route.d.ts +31 -0
- package/dist/visio/connector-route.d.ts.map +1 -0
- package/dist/visio/data-recordsets.d.ts +66 -0
- package/dist/visio/data-recordsets.d.ts.map +1 -0
- package/dist/visio/edit-change-shape-commands.d.ts +17 -0
- package/dist/visio/edit-change-shape-commands.d.ts.map +1 -0
- package/dist/visio/edit-change-shape.d.ts +4 -0
- package/dist/visio/edit-change-shape.d.ts.map +1 -0
- package/dist/visio/edit-commands.d.ts +41 -4
- package/dist/visio/edit-commands.d.ts.map +1 -1
- package/dist/visio/edit-comment-commands.d.ts +32 -0
- package/dist/visio/edit-comment-commands.d.ts.map +1 -0
- package/dist/visio/edit-comments.d.ts +7 -0
- package/dist/visio/edit-comments.d.ts.map +1 -0
- package/dist/visio/edit-connection-points.d.ts +19 -0
- package/dist/visio/edit-connection-points.d.ts.map +1 -0
- package/dist/visio/edit-connector-commands.d.ts +57 -0
- package/dist/visio/edit-connector-commands.d.ts.map +1 -0
- package/dist/visio/edit-connector-glue.d.ts +43 -0
- package/dist/visio/edit-connector-glue.d.ts.map +1 -0
- package/dist/visio/edit-connector-layout.d.ts +37 -0
- package/dist/visio/edit-connector-layout.d.ts.map +1 -0
- package/dist/visio/edit-connector-reroute.d.ts +30 -0
- package/dist/visio/edit-connector-reroute.d.ts.map +1 -0
- package/dist/visio/edit-connector.d.ts +42 -0
- package/dist/visio/edit-connector.d.ts.map +1 -0
- package/dist/visio/edit-data-commands.d.ts +49 -0
- package/dist/visio/edit-data-commands.d.ts.map +1 -0
- package/dist/visio/edit-data-parts.d.ts +34 -0
- package/dist/visio/edit-data-parts.d.ts.map +1 -0
- package/dist/visio/edit-data.d.ts +8 -0
- package/dist/visio/edit-data.d.ts.map +1 -0
- package/dist/visio/edit-delete.d.ts.map +1 -1
- package/dist/visio/edit-diagram-parts-commands.d.ts +55 -0
- package/dist/visio/edit-diagram-parts-commands.d.ts.map +1 -0
- package/dist/visio/edit-diagram-parts.d.ts +16 -0
- package/dist/visio/edit-diagram-parts.d.ts.map +1 -0
- package/dist/visio/edit-ellipse-geometry.d.ts +2 -0
- package/dist/visio/edit-ellipse-geometry.d.ts.map +1 -1
- package/dist/visio/edit-foreign-bitmap.d.ts +7 -0
- package/dist/visio/edit-foreign-bitmap.d.ts.map +1 -0
- package/dist/visio/edit-formatting-cell-admission.d.ts +2 -0
- package/dist/visio/edit-formatting-cell-admission.d.ts.map +1 -1
- package/dist/visio/edit-formatting-commands.d.ts +14 -1
- package/dist/visio/edit-formatting-commands.d.ts.map +1 -1
- package/dist/visio/edit-formatting-effects.d.ts +50 -0
- package/dist/visio/edit-formatting-effects.d.ts.map +1 -0
- package/dist/visio/edit-formatting-glow.d.ts +43 -0
- package/dist/visio/edit-formatting-glow.d.ts.map +1 -0
- package/dist/visio/edit-formatting-paint-scope.d.ts.map +1 -1
- package/dist/visio/edit-formatting-paint.d.ts +6 -0
- package/dist/visio/edit-formatting-paint.d.ts.map +1 -1
- package/dist/visio/edit-formatting-scope.d.ts.map +1 -1
- package/dist/visio/edit-formatting-text-commands.d.ts +56 -0
- package/dist/visio/edit-formatting-text-commands.d.ts.map +1 -0
- package/dist/visio/edit-formatting-text-extra.d.ts +11 -0
- package/dist/visio/edit-formatting-text-extra.d.ts.map +1 -0
- package/dist/visio/edit-formatting-text.d.ts.map +1 -1
- package/dist/visio/edit-formatting-theme-context.d.ts +14 -0
- package/dist/visio/edit-formatting-theme-context.d.ts.map +1 -0
- package/dist/visio/edit-formatting.d.ts +2 -0
- package/dist/visio/edit-formatting.d.ts.map +1 -1
- package/dist/visio/edit-geometry-admission.d.ts +1 -1
- package/dist/visio/edit-geometry-admission.d.ts.map +1 -1
- package/dist/visio/edit-geometry.d.ts.map +1 -1
- package/dist/visio/edit-group-commands.d.ts +22 -0
- package/dist/visio/edit-group-commands.d.ts.map +1 -0
- package/dist/visio/edit-group-rotation.d.ts +7 -1
- package/dist/visio/edit-group-rotation.d.ts.map +1 -1
- package/dist/visio/edit-group.d.ts +17 -0
- package/dist/visio/edit-group.d.ts.map +1 -0
- package/dist/visio/edit-guide-commands.d.ts +26 -0
- package/dist/visio/edit-guide-commands.d.ts.map +1 -0
- package/dist/visio/edit-guides.d.ts +4 -0
- package/dist/visio/edit-guides.d.ts.map +1 -0
- package/dist/visio/edit-layer-commands.d.ts +20 -0
- package/dist/visio/edit-layer-commands.d.ts.map +1 -0
- package/dist/visio/edit-layers.d.ts +7 -0
- package/dist/visio/edit-layers.d.ts.map +1 -0
- package/dist/visio/edit-metadata-commands.d.ts +46 -0
- package/dist/visio/edit-metadata-commands.d.ts.map +1 -0
- package/dist/visio/edit-metadata.d.ts +4 -0
- package/dist/visio/edit-metadata.d.ts.map +1 -0
- package/dist/visio/edit-page-auto-size.d.ts +19 -0
- package/dist/visio/edit-page-auto-size.d.ts.map +1 -0
- package/dist/visio/edit-page-create.d.ts +24 -0
- package/dist/visio/edit-page-create.d.ts.map +1 -0
- package/dist/visio/edit-page-decoration.d.ts +14 -0
- package/dist/visio/edit-page-decoration.d.ts.map +1 -0
- package/dist/visio/edit-page-setup-commands.d.ts +57 -0
- package/dist/visio/edit-page-setup-commands.d.ts.map +1 -0
- package/dist/visio/edit-page-setup.d.ts +13 -0
- package/dist/visio/edit-page-setup.d.ts.map +1 -0
- package/dist/visio/edit-page-size.d.ts +4 -0
- package/dist/visio/edit-page-size.d.ts.map +1 -1
- package/dist/visio/edit-page-theme-commands.d.ts +15 -0
- package/dist/visio/edit-page-theme-commands.d.ts.map +1 -0
- package/dist/visio/edit-page-theme-recolor.d.ts +3 -0
- package/dist/visio/edit-page-theme-recolor.d.ts.map +1 -0
- package/dist/visio/edit-page-theme.d.ts +10 -0
- package/dist/visio/edit-page-theme.d.ts.map +1 -0
- package/dist/visio/edit-pages.d.ts.map +1 -1
- package/dist/visio/edit-path-commands.d.ts +19 -0
- package/dist/visio/edit-path-commands.d.ts.map +1 -0
- package/dist/visio/edit-path-create.d.ts +23 -0
- package/dist/visio/edit-path-create.d.ts.map +1 -0
- package/dist/visio/edit-picture.d.ts +7 -0
- package/dist/visio/edit-picture.d.ts.map +1 -0
- package/dist/visio/edit-recalculate-index.d.ts +2 -0
- package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
- package/dist/visio/edit-resize-anchor.d.ts +1 -1
- package/dist/visio/edit-resize-anchor.d.ts.map +1 -1
- package/dist/visio/edit-scope.d.ts.map +1 -1
- package/dist/visio/edit-shape-create.d.ts +8 -0
- package/dist/visio/edit-shape-create.d.ts.map +1 -1
- package/dist/visio/edit-shape-data-commands.d.ts +34 -0
- package/dist/visio/edit-shape-data-commands.d.ts.map +1 -0
- package/dist/visio/edit-shape-data.d.ts +22 -0
- package/dist/visio/edit-shape-data.d.ts.map +1 -0
- package/dist/visio/edit-shape-order.d.ts.map +1 -1
- package/dist/visio/edit-subprocess-commands.d.ts +27 -0
- package/dist/visio/edit-subprocess-commands.d.ts.map +1 -0
- package/dist/visio/edit-subprocess.d.ts +9 -0
- package/dist/visio/edit-subprocess.d.ts.map +1 -0
- package/dist/visio/edit-text-field-commands.d.ts +21 -0
- package/dist/visio/edit-text-field-commands.d.ts.map +1 -0
- package/dist/visio/edit-text-field.d.ts +5 -0
- package/dist/visio/edit-text-field.d.ts.map +1 -0
- package/dist/visio/edit-text-range-plan.d.ts.map +1 -1
- package/dist/visio/edit-text-ranges.d.ts.map +1 -1
- package/dist/visio/edit-text.d.ts.map +1 -1
- package/dist/visio/edit.d.ts +2 -1
- package/dist/visio/edit.d.ts.map +1 -1
- package/dist/visio/effects.d.ts +13 -0
- package/dist/visio/effects.d.ts.map +1 -0
- package/dist/visio/formula-evaluate.d.ts.map +1 -1
- package/dist/visio/index.cjs +27020 -19658
- package/dist/visio/index.d.ts +26 -1
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +26949 -19659
- package/dist/visio/model.d.ts +125 -0
- package/dist/visio/model.d.ts.map +1 -1
- package/dist/visio/page-decoration.d.ts +66 -0
- package/dist/visio/page-decoration.d.ts.map +1 -0
- package/dist/visio/page-scale.d.ts.map +1 -1
- package/dist/visio/page-setup.d.ts +8 -0
- package/dist/visio/page-setup.d.ts.map +1 -0
- package/dist/visio/page-theme.d.ts +9 -0
- package/dist/visio/page-theme.d.ts.map +1 -0
- package/dist/visio/paper-sizes.d.ts +24 -0
- package/dist/visio/paper-sizes.d.ts.map +1 -0
- package/dist/visio/parser.d.ts.map +1 -1
- package/dist/visio/path-fit.d.ts +69 -0
- package/dist/visio/path-fit.d.ts.map +1 -0
- package/dist/visio/shadow.d.ts +9 -0
- package/dist/visio/shadow.d.ts.map +1 -0
- package/dist/visio/shape-connections.d.ts +5 -0
- package/dist/visio/shape-connections.d.ts.map +1 -0
- package/dist/visio/shape-metadata.d.ts +3 -0
- package/dist/visio/shape-metadata.d.ts.map +1 -1
- package/dist/visio/shape-structure.d.ts +10 -0
- package/dist/visio/shape-structure.d.ts.map +1 -0
- package/dist/visio/shapes.d.ts.map +1 -1
- package/dist/visio/stencil-shapes.d.ts +20 -0
- package/dist/visio/stencil-shapes.d.ts.map +1 -0
- package/dist/visio/stencils.d.ts +30 -0
- package/dist/visio/stencils.d.ts.map +1 -0
- package/dist/visio/style.d.ts +3 -0
- package/dist/visio/style.d.ts.map +1 -1
- package/dist/visio/text-character.d.ts +5 -0
- package/dist/visio/text-character.d.ts.map +1 -0
- package/dist/visio/text-field-context.d.ts +6 -0
- package/dist/visio/text-field-context.d.ts.map +1 -0
- package/dist/visio/text-field-display.d.ts +12 -0
- package/dist/visio/text-field-display.d.ts.map +1 -0
- package/dist/visio/text-fields.d.ts +65 -0
- package/dist/visio/text-fields.d.ts.map +1 -0
- package/dist/visio/theme-builtins.d.ts +32 -0
- package/dist/visio/theme-builtins.d.ts.map +1 -0
- package/dist/visio/theme-write.d.ts +4 -0
- package/dist/visio/theme-write.d.ts.map +1 -0
- package/dist/visio/theme.d.ts +2 -0
- package/dist/visio/theme.d.ts.map +1 -1
- package/dist/visio/ui/auto-layout.d.ts +38 -0
- package/dist/visio/ui/auto-layout.d.ts.map +1 -0
- package/dist/visio/ui/change-case.d.ts +12 -0
- package/dist/visio/ui/change-case.d.ts.map +1 -0
- package/dist/visio/ui/connection-points.d.ts +45 -0
- package/dist/visio/ui/connection-points.d.ts.map +1 -0
- package/dist/visio/ui/connector-preview.d.ts +24 -0
- package/dist/visio/ui/connector-preview.d.ts.map +1 -0
- package/dist/visio/ui/data-graphic-rules.d.ts +45 -0
- package/dist/visio/ui/data-graphic-rules.d.ts.map +1 -0
- package/dist/visio/ui/data-graphics.d.ts +15 -0
- package/dist/visio/ui/data-graphics.d.ts.map +1 -0
- package/dist/visio/ui/data-table.d.ts +33 -0
- package/dist/visio/ui/data-table.d.ts.map +1 -0
- package/dist/visio/ui/diagram-check.d.ts +32 -0
- package/dist/visio/ui/diagram-check.d.ts.map +1 -0
- package/dist/visio/ui/diagram-parts.d.ts +20 -0
- package/dist/visio/ui/diagram-parts.d.ts.map +1 -0
- package/dist/visio/ui/draw-path-plan.d.ts +21 -0
- package/dist/visio/ui/draw-path-plan.d.ts.map +1 -0
- package/dist/visio/ui/draw-plan.d.ts +13 -2
- package/dist/visio/ui/draw-plan.d.ts.map +1 -1
- package/dist/visio/ui/edit-commands.d.ts.map +1 -1
- package/dist/visio/ui/format-painter.d.ts +25 -0
- package/dist/visio/ui/format-painter.d.ts.map +1 -0
- package/dist/visio/ui/guides.d.ts +34 -0
- package/dist/visio/ui/guides.d.ts.map +1 -0
- package/dist/visio/ui/index.cjs +8010 -2707
- package/dist/visio/ui/index.d.ts +25 -0
- package/dist/visio/ui/index.d.ts.map +1 -1
- package/dist/visio/ui/index.mjs +7898 -2708
- package/dist/visio/ui/insert.d.ts +26 -0
- package/dist/visio/ui/insert.d.ts.map +1 -0
- package/dist/visio/ui/layer-assign.d.ts +31 -0
- package/dist/visio/ui/layer-assign.d.ts.map +1 -0
- package/dist/visio/ui/page-edit.d.ts.map +1 -1
- package/dist/visio/ui/page-setup.d.ts +50 -0
- package/dist/visio/ui/page-setup.d.ts.map +1 -0
- package/dist/visio/ui/page-size.d.ts +2 -11
- package/dist/visio/ui/page-size.d.ts.map +1 -1
- package/dist/visio/ui/paste-text.d.ts +13 -0
- package/dist/visio/ui/paste-text.d.ts.map +1 -0
- package/dist/visio/ui/scene-data.d.ts +4 -0
- package/dist/visio/ui/scene-data.d.ts.map +1 -0
- package/dist/visio/ui/scene-details.d.ts.map +1 -1
- package/dist/visio/ui/scene-validation-text.d.ts +8 -0
- package/dist/visio/ui/scene-validation-text.d.ts.map +1 -0
- package/dist/visio/ui/scene-validation.d.ts.map +1 -1
- package/dist/visio/ui/select-by-type.d.ts +35 -0
- package/dist/visio/ui/select-by-type.d.ts.map +1 -0
- package/dist/visio/ui/shape-arrange.d.ts.map +1 -1
- package/dist/visio/ui/shape-change.d.ts +11 -0
- package/dist/visio/ui/shape-change.d.ts.map +1 -0
- package/dist/visio/ui/shape-effects.d.ts +14 -0
- package/dist/visio/ui/shape-effects.d.ts.map +1 -0
- package/dist/visio/ui/shape-formatting.d.ts +5 -0
- package/dist/visio/ui/shape-formatting.d.ts.map +1 -1
- package/dist/visio/ui/shape-group.d.ts +9 -0
- package/dist/visio/ui/shape-group.d.ts.map +1 -0
- package/dist/visio/ui/shape-move.d.ts +5 -2
- package/dist/visio/ui/shape-move.d.ts.map +1 -1
- package/dist/visio/ui/shape-report.d.ts +37 -0
- package/dist/visio/ui/shape-report.d.ts.map +1 -0
- package/dist/visio/ui/shape-resize.d.ts.map +1 -1
- package/dist/visio/ui/shape-rotation.d.ts.map +1 -1
- package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
- package/dist/visio/ui/subprocess.d.ts +13 -0
- package/dist/visio/ui/subprocess.d.ts.map +1 -0
- package/dist/visio/ui/text-block.d.ts +42 -0
- package/dist/visio/ui/text-block.d.ts.map +1 -0
- package/dist/visio/ui/text-dialog.d.ts +54 -0
- package/dist/visio/ui/text-dialog.d.ts.map +1 -0
- package/dist/visio/ui/text-draft.d.ts +25 -0
- package/dist/visio/ui/text-draft.d.ts.map +1 -0
- package/dist/visio/ui/text-field-catalog.d.ts +17 -0
- package/dist/visio/ui/text-field-catalog.d.ts.map +1 -0
- package/dist/xlsx/edit/dimensions.d.ts.map +1 -1
- package/dist/xlsx/edit/filter.d.ts.map +1 -1
- package/dist/xlsx/edit/shift-sheet.d.ts.map +1 -1
- package/dist/xlsx/edit/structure.d.ts +1 -1
- package/dist/xlsx/edit/structure.d.ts.map +1 -1
- package/dist/xlsx/filter-rows.d.ts +4 -0
- package/dist/xlsx/filter-rows.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +37 -22
- package/dist/xlsx/index.mjs +37 -22
- package/dist/xlsx/load/index.cjs +3 -2
- package/dist/xlsx/load/index.mjs +3 -2
- package/dist/xlsx/ui/index.cjs +37 -22
- package/dist/xlsx/ui/index.mjs +37 -22
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ruler guides: Visio stores each as a top-level `Type="Guide"` shape with an infinite-line
|
|
3
|
+
* geometry. A horizontal guide sits at PinY, a vertical one at PinX (drawing inches).
|
|
4
|
+
*/
|
|
5
|
+
export type VisioGuideEdit = {
|
|
6
|
+
type: 'create-guide';
|
|
7
|
+
pageId: string;
|
|
8
|
+
shapeId: string;
|
|
9
|
+
orientation: 'horizontal' | 'vertical';
|
|
10
|
+
position: number;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'move-guide';
|
|
13
|
+
pageId: string;
|
|
14
|
+
shapeId: string;
|
|
15
|
+
position: number;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'delete-guide';
|
|
18
|
+
pageId: string;
|
|
19
|
+
shapeId: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const isVisioGuideEdit: (edit: {
|
|
22
|
+
type: string;
|
|
23
|
+
}) => edit is VisioGuideEdit;
|
|
24
|
+
/** Copy and validate a guide command; page admission stays with the transaction. */
|
|
25
|
+
export declare function snapshotGuideEdit(edit: VisioGuideEdit): VisioGuideEdit;
|
|
26
|
+
//# sourceMappingURL=edit-guide-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-guide-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-guide-commands.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,MAAM,cAAc,GACvB;IACA,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;CAChB,GACD;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACzE;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7D,eAAO,MAAM,gBAAgB,SAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,IAAI,IAAI,cACyB,CAAC;AAE5F,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAqBtE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { VisioGuideEdit } from './edit-guide-commands.js';
|
|
2
|
+
/** Apply one guide command to its page root; other pages are read only for references. */
|
|
3
|
+
export declare function applyGuideEdit(roots: ReadonlyMap<string, Element>, edit: VisioGuideEdit, check: () => void): void;
|
|
4
|
+
//# sourceMappingURL=edit-guides.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-guides.d.ts","sourceRoot":"","sources":["../../visio/edit-guides.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAiF5D,0FAA0F;AAC1F,wBAAgB,cAAc,CAC7B,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,MAAM,IAAI,GACf,IAAI,CA+BN"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Home > Editing > Layers > Assign to Layer: replace the layer membership (LayerMember) of
|
|
3
|
+
* top-level shapes on one page with `layerIds`, plus any `newLayers` added to the page's Layer
|
|
4
|
+
* section first. An empty membership removes the shapes from every layer.
|
|
5
|
+
*/
|
|
6
|
+
export interface VisioAssignLayersEdit {
|
|
7
|
+
type: 'assign-layers';
|
|
8
|
+
pageId: string;
|
|
9
|
+
shapeIds: readonly string[];
|
|
10
|
+
/** Existing page layer IDs (Layer row IX values). */
|
|
11
|
+
layerIds: readonly string[];
|
|
12
|
+
/** Names of layers to add to the page; their new IDs are appended to the membership. */
|
|
13
|
+
newLayers?: readonly string[];
|
|
14
|
+
}
|
|
15
|
+
export declare const VISIO_LAYER_NAME_LIMIT = 255;
|
|
16
|
+
/** A layer name Visio would accept: trimmed, short, no control characters or separators. */
|
|
17
|
+
export declare function isVisioLayerName(value: unknown): boolean;
|
|
18
|
+
/** Copy and validate the command; page admission stays with the transaction. */
|
|
19
|
+
export declare function snapshotAssignLayers(edit: VisioAssignLayersEdit): VisioAssignLayersEdit;
|
|
20
|
+
//# sourceMappingURL=edit-layer-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-layer-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-layer-commands.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACrC,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,qDAAqD;IACrD,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,wFAAwF;IACxF,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAI1C,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAUxD;AAED,gFAAgF;AAChF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,CAsCvF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VisioPackage } from './package.js';
|
|
2
|
+
import { type VisioPackageLimits } from './package-common.js';
|
|
3
|
+
import type { VisioAssignLayersEdit } from './edit-layer-commands.js';
|
|
4
|
+
import type { EditVsdxResult } from './edit.js';
|
|
5
|
+
/** Layer rows in pages.xml and LayerMember cells in the page part change together. */
|
|
6
|
+
export declare function editVsdxLayers(pkg: VisioPackage, parts: Map<string, Uint8Array>, pages: ReadonlyMap<string, string>, edits: readonly VisioAssignLayersEdit[], limits: VisioPackageLimits, maxOutput: number, deadline: number, check: () => void): Promise<EditVsdxResult>;
|
|
7
|
+
//# sourceMappingURL=edit-layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-layers.d.ts","sourceRoot":"","sources":["../../visio/edit-layers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAQ,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAMjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AA6G7C,sFAAsF;AACtF,wBAAsB,cAAc,CACnC,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EAC9B,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,KAAK,EAAE,SAAS,qBAAqB,EAAE,EACvC,MAAM,EAAE,kBAAkB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,cAAc,CAAC,CA+FzB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Longest ScreenTip (Comment cell) and hyperlink field accepted by the editor. */
|
|
2
|
+
export declare const VISIO_METADATA_TEXT_LIMIT = 4096;
|
|
3
|
+
/** Largest picture accepted for insertion; the reader shares the same raster ceiling. */
|
|
4
|
+
export declare const VISIO_PICTURE_MAX_BYTES: number;
|
|
5
|
+
export interface VisioHyperlinkFields {
|
|
6
|
+
/** External address (URL or path); empty for a link to a page or shape only. */
|
|
7
|
+
address: string;
|
|
8
|
+
/** Page or page/shape target inside the drawing; empty for none. */
|
|
9
|
+
subAddress: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
/** Add, replace or remove (`hyperlink: null`) one local Hyperlink section row. */
|
|
13
|
+
export interface VisioShapeHyperlinkEdit {
|
|
14
|
+
type: 'set-shape-hyperlink';
|
|
15
|
+
pageId: string;
|
|
16
|
+
shapeId: string;
|
|
17
|
+
/** Existing row name (`Row_1`) to replace or remove; omitted adds a new row. */
|
|
18
|
+
row?: string;
|
|
19
|
+
hyperlink: VisioHyperlinkFields | null;
|
|
20
|
+
}
|
|
21
|
+
/** Set the shape's Comment cell, which Visio shows as its ScreenTip; empty text removes it. */
|
|
22
|
+
export interface VisioShapeScreenTipEdit {
|
|
23
|
+
type: 'set-shape-screentip';
|
|
24
|
+
pageId: string;
|
|
25
|
+
shapeId: string;
|
|
26
|
+
text: string;
|
|
27
|
+
}
|
|
28
|
+
/** Embed a PNG, JPEG or GIF as a new Foreign shape. Drawing inches, bottom-left origin. */
|
|
29
|
+
export interface VisioPictureInsertEdit {
|
|
30
|
+
type: 'insert-picture';
|
|
31
|
+
pageId: string;
|
|
32
|
+
shapeId: string;
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
image: Uint8Array;
|
|
38
|
+
}
|
|
39
|
+
export type VisioMetadataEdit = VisioShapeHyperlinkEdit | VisioShapeScreenTipEdit;
|
|
40
|
+
export declare const isVisioMetadataEdit: (edit: {
|
|
41
|
+
type: string;
|
|
42
|
+
}) => edit is VisioMetadataEdit;
|
|
43
|
+
/** Copy and validate a metadata command; host properties never reach the transaction. */
|
|
44
|
+
export declare function snapshotMetadataEdit(edit: VisioMetadataEdit): VisioMetadataEdit;
|
|
45
|
+
export declare function snapshotPictureInsert(edit: VisioPictureInsertEdit): VisioPictureInsertEdit;
|
|
46
|
+
//# sourceMappingURL=edit-metadata-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-metadata-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-metadata-commands.ts"],"names":[],"mappings":"AAGA,mFAAmF;AACnF,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAC9C,yFAAyF;AACzF,eAAO,MAAM,uBAAuB,QAA0C,CAAC;AAE/E,MAAM,WAAW,oBAAoB;IACpC,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACpB;AACD,kFAAkF;AAClF,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACvC;AACD,+FAA+F;AAC/F,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACb;AACD,2FAA2F;AAC3F,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,UAAU,CAAC;CAClB;AACD,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAElF,eAAO,MAAM,mBAAmB,SAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,IAAI,IAAI,iBACM,CAAC;AAwB5E,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,CA4B/E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,GAAG,sBAAsB,CAuB1F"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { VisioMetadataEdit } from './edit-metadata-commands.js';
|
|
2
|
+
/** Apply a hyperlink or ScreenTip edit to cloned page roots. Returns whether the page changed. */
|
|
3
|
+
export declare function applyMetadataEdit(roots: ReadonlyMap<string, Element>, edit: VisioMetadataEdit, check: () => void): boolean;
|
|
4
|
+
//# sourceMappingURL=edit-metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-metadata.d.ts","sourceRoot":"","sources":["../../visio/edit-metadata.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,0BAA0B,CAAC;AA8HxF,kGAAkG;AAClG,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAwBT"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VisioPackage } from './package.js';
|
|
2
|
+
import type { VisioEdit } from './edit-commands.js';
|
|
3
|
+
import type { EditVsdxResult } from './edit.js';
|
|
4
|
+
import type { VisioPage } from './model.js';
|
|
5
|
+
/** Pages a transaction touches whose saved Auto Size is on, read without parsing the scene. */
|
|
6
|
+
export declare function autoSizePageIds(pkg: VisioPackage, edits: readonly VisioEdit[]): Promise<Set<string>>;
|
|
7
|
+
/** Physical page size after growing right and up in whole tiles, or undefined when it fits. */
|
|
8
|
+
export declare function visioAutoSizeGrowth(page: VisioPage): {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
} | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Visio's Auto Size after a shape transaction: a touched page with DrawingResizeType 1 grows to
|
|
14
|
+
* the right and upward in whole tiles until its top-level shapes fit. Shapes beyond the left or
|
|
15
|
+
* bottom edge are not followed (Visio would move the page origin). A refused growth keeps the
|
|
16
|
+
* shape edit and reports why.
|
|
17
|
+
*/
|
|
18
|
+
export declare function growAutoSizePages(touched: ReadonlySet<string>, result: EditVsdxResult, apply: (bytes: Uint8Array, edits: readonly VisioEdit[]) => Promise<EditVsdxResult>): Promise<EditVsdxResult>;
|
|
19
|
+
//# sourceMappingURL=edit-page-auto-size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-auto-size.d.ts","sourceRoot":"","sources":["../../visio/edit-page-auto-size.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAgBzC,+FAA+F;AAC/F,wBAAsB,eAAe,CACpC,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,SAAS,SAAS,EAAE,GACzB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAiBtB;AAqBD,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,SAAS,GACb;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAU/C;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACtC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,SAAS,EAAE,KAAK,OAAO,CAAC,cAAc,CAAC,GAChF,OAAO,CAAC,cAAc,CAAC,CAwCzB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** OPC state shared by every page created in one page transaction. */
|
|
2
|
+
export interface VisioPageParts {
|
|
3
|
+
readonly pagesPart: string;
|
|
4
|
+
readonly relsPart: string;
|
|
5
|
+
readonly directory: string;
|
|
6
|
+
readonly rels: Element;
|
|
7
|
+
readonly types: Element;
|
|
8
|
+
/** Lower-case reserved part names, including unused content-type overrides. */
|
|
9
|
+
readonly paths: Set<string>;
|
|
10
|
+
readonly relIds: Set<string>;
|
|
11
|
+
readonly pagePaths: Map<string, string>;
|
|
12
|
+
readonly dirty: Map<string, Element>;
|
|
13
|
+
nextPart: number;
|
|
14
|
+
nextRel: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a detached `<Page>` (ID, relationship link) with a new empty `PageContents` part, its
|
|
18
|
+
* relationship and content-type override. The caller sets names and sheets, then inserts it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function createVisioPagePart(parts: VisioPageParts, pages: Element, pageId: string, check: () => void): {
|
|
21
|
+
page: Element;
|
|
22
|
+
contents: Element;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=edit-page-create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-create.d.ts","sourceRoot":"","sources":["../../visio/edit-page-create.ts"],"names":[],"mappings":"AAMA,sEAAsE;AACtE,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,IAAI,GACf;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAuCtC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type VisioPageParts } from './edit-page-create.js';
|
|
2
|
+
import type { VisioPackage } from './package.js';
|
|
3
|
+
import type { VisioPageDecorationEdit } from './edit-page-setup-commands.js';
|
|
4
|
+
export interface DecorationContext {
|
|
5
|
+
pkg: VisioPackage;
|
|
6
|
+
pages: Element;
|
|
7
|
+
parts: VisioPageParts;
|
|
8
|
+
packageParts: Map<string, Uint8Array>;
|
|
9
|
+
removed: Set<string>;
|
|
10
|
+
check: () => void;
|
|
11
|
+
}
|
|
12
|
+
/** Design > Backgrounds and Borders & Titles on the page's managed `VBackground` page. */
|
|
13
|
+
export declare function setVisioPageDecoration(context: DecorationContext, command: VisioPageDecorationEdit): Promise<void>;
|
|
14
|
+
//# sourceMappingURL=edit-page-decoration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-decoration.d.ts","sourceRoot":"","sources":["../../visio/edit-page-decoration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAgB9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,MAAM,WAAW,iBAAiB;IACjC,GAAG,EAAE,YAAY,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,cAAc,CAAC;IACtB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACtC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AA2HD,0FAA0F;AAC1F,wBAAsB,sBAAsB,CAC3C,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,uBAAuB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAqGf"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type VisioBackgroundStyle, type VisioBorderStyle } from './page-decoration.js';
|
|
2
|
+
/** DrawingScale display units the Page Setup dialog writes; values stay internal inches. */
|
|
3
|
+
export declare const VISIO_SCALE_UNITS: readonly ["IN", "FT", "MM", "CM", "M"];
|
|
4
|
+
export type VisioScaleUnit = (typeof VISIO_SCALE_UNITS)[number];
|
|
5
|
+
/**
|
|
6
|
+
* Design > Page Setup cells of one page. Every field is optional; only the given cells change.
|
|
7
|
+
* `scale` keeps the physical page size: PageWidth and PageHeight are rewritten in the new scale.
|
|
8
|
+
*/
|
|
9
|
+
export interface VisioPageSetupEdit {
|
|
10
|
+
type: 'set-page-setup';
|
|
11
|
+
pageId: string;
|
|
12
|
+
/** PrintPageOrientation of the printer paper. */
|
|
13
|
+
printOrientation?: 'portrait' | 'landscape';
|
|
14
|
+
/** PaperKind: a Windows DMPAPER paper code. */
|
|
15
|
+
paperKind?: number;
|
|
16
|
+
/** DrawingResizeType: on (1) grows the page as shapes leave it; off (2) keeps it fixed. */
|
|
17
|
+
autoSize?: boolean;
|
|
18
|
+
/** `page` inches on paper equal `drawing` inches in the drawing (1 in = 1 ft is 1 and 12). */
|
|
19
|
+
scale?: {
|
|
20
|
+
page: number;
|
|
21
|
+
drawing: number;
|
|
22
|
+
unit?: VisioScaleUnit;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/** Page Properties: foreground/background type and the assigned background page (BackPage). */
|
|
26
|
+
export interface VisioPagePropertiesEdit {
|
|
27
|
+
type: 'set-page-properties';
|
|
28
|
+
pageId: string;
|
|
29
|
+
background?: boolean;
|
|
30
|
+
/** A background page ID, or null for no background. */
|
|
31
|
+
backPageId?: string | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Design > Backgrounds and Borders & Titles: decoration shapes on the page's Visio-managed
|
|
35
|
+
* background page (`VBackground-n`), created with `backgroundPageId` when the page has none.
|
|
36
|
+
* A null style removes that decoration; an empty background page is then deleted.
|
|
37
|
+
*/
|
|
38
|
+
export type VisioPageDecorationEdit = {
|
|
39
|
+
type: 'set-page-decoration';
|
|
40
|
+
pageId: string;
|
|
41
|
+
backgroundPageId?: string;
|
|
42
|
+
} & ({
|
|
43
|
+
kind: 'background';
|
|
44
|
+
style: VisioBackgroundStyle | null;
|
|
45
|
+
color?: string;
|
|
46
|
+
} | {
|
|
47
|
+
kind: 'border';
|
|
48
|
+
style: VisioBorderStyle | null;
|
|
49
|
+
title?: string;
|
|
50
|
+
});
|
|
51
|
+
export type VisioPageSetupEdits = VisioPageSetupEdit | VisioPagePropertiesEdit | VisioPageDecorationEdit;
|
|
52
|
+
export declare const isVisioPageSetupEdit: (edit: {
|
|
53
|
+
type: string;
|
|
54
|
+
}) => edit is VisioPageSetupEdits;
|
|
55
|
+
/** Copy and validate a page setup command; source admission remains authoritative. */
|
|
56
|
+
export declare function snapshotPageSetupEdit(edit: VisioPageSetupEdits): VisioPageSetupEdits;
|
|
57
|
+
//# sourceMappingURL=edit-page-setup-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-setup-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-page-setup-commands.ts"],"names":[],"mappings":"AACA,OAAO,EAGN,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,MAAM,mBAAmB,CAAC;AAE3B,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,wCAAwD,CAAC;AACvF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAC5C,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8FAA8F;IAC9F,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,cAAc,CAAA;KAAE,CAAC;CACjE;AACD,+FAA+F;AAC/F,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AACD;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,CACD;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,KAAK,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1E;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CACpE,CAAC;AACF,MAAM,MAAM,mBAAmB,GAC5B,kBAAkB,GAClB,uBAAuB,GACvB,uBAAuB,CAAC;AAE3B,eAAO,MAAM,oBAAoB,SAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,IAAI,IAAI,mBAGlC,CAAC;AAkBrC,sFAAsF;AACtF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,GAAG,mBAAmB,CAkFpF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { VisioPackage } from './package.js';
|
|
2
|
+
import type { VisioPagePropertiesEdit, VisioPageSetupEdit } from './edit-page-setup-commands.js';
|
|
3
|
+
export declare function pageById(pages: Element, pageId: string): Element;
|
|
4
|
+
/** The single explicit PageSheet and its uniquely named cells, refusing ambiguous names. */
|
|
5
|
+
export declare function explicitPageSheet(page: Element): {
|
|
6
|
+
sheet: Element;
|
|
7
|
+
cells: Map<string, Element>;
|
|
8
|
+
};
|
|
9
|
+
/** Design > Page Setup cells: print orientation, paper, Auto Size and drawing scale. */
|
|
10
|
+
export declare function setVisioPageSetup(pkg: VisioPackage, pagesPart: string, pages: Element, pagePaths: ReadonlyMap<string, string>, dirty: Map<string, Element>, command: VisioPageSetupEdit, check: () => void): Promise<void>;
|
|
11
|
+
/** Page Properties: page type and background assignment, with Visio's tab order. */
|
|
12
|
+
export declare function setVisioPageProperties(pagesPart: string, pages: Element, dirty: Map<string, Element>, command: VisioPagePropertiesEdit): void;
|
|
13
|
+
//# sourceMappingURL=edit-page-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-setup.d.ts","sourceRoot":"","sources":["../../visio/edit-page-setup.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAa9F,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAIhE;AAED,4FAA4F;AAC5F,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAYhG;AAED,wFAAwF;AACxF,wBAAsB,iBAAiB,CACtC,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACtC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,IAAI,CAAC,CAqEf;AAID,oFAAoF;AACpF,wBAAgB,sBAAsB,CACrC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,OAAO,EAAE,uBAAuB,GAC9B,IAAI,CA+CN"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { VisioPackage } from './package.js';
|
|
2
2
|
import type { VisioPageSizeEdit } from './edit-commands.js';
|
|
3
|
+
/** A proven explicit numeric page setting: no inheritance, error or dependent formula. */
|
|
4
|
+
export declare function pageSettingConstant(node: Element | undefined, length: boolean): number;
|
|
5
|
+
/** Refuse when any formula in the package may depend on the page cells about to change. */
|
|
6
|
+
export declare function assertPageCellsIndependent(pkg: VisioPackage, pagesPart: string, pages: Element, pagePaths: ReadonlyMap<string, string>, dirty: Map<string, Element>, pageId: string, changed: readonly string[], check: () => void): Promise<void>;
|
|
3
7
|
/** Set physical dimensions and explicit fixed/custom mode, preserving shapes and printer settings. */
|
|
4
8
|
export declare function setVisioPageSize(pkg: VisioPackage, pagesPart: string, pages: Element, pagePaths: ReadonlyMap<string, string>, dirty: Map<string, Element>, command: VisioPageSizeEdit, check: () => void): Promise<void>;
|
|
5
9
|
//# sourceMappingURL=edit-page-size.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-page-size.d.ts","sourceRoot":"","sources":["../../visio/edit-page-size.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit-page-size.d.ts","sourceRoot":"","sources":["../../visio/edit-page-size.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,0FAA0F;AAC1F,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CA6BtF;AA+GD,2FAA2F;AAC3F,wBAAsB,0BAA0B,CAC/C,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACtC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,IAAI,CAAC,CASf;AAED,sGAAsG;AACtG,wBAAsB,gBAAgB,CACrC,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACtC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,IAAI,CAAC,CA+Ef"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type VisioBuiltInThemeId } from './theme-builtins.js';
|
|
2
|
+
/**
|
|
3
|
+
* Design > Themes and Variants for one page. `theme` applies a built-in theme (writing its theme
|
|
4
|
+
* part when the drawing lacks it) or `none` clears the page's theme selection; `variant` (0-3)
|
|
5
|
+
* selects one of the theme's four colour and style variants. Without `theme`, only the variant of
|
|
6
|
+
* the theme the page already uses changes.
|
|
7
|
+
*/
|
|
8
|
+
export interface VisioPageThemeEdit {
|
|
9
|
+
type: 'set-page-theme';
|
|
10
|
+
pageId: string;
|
|
11
|
+
theme?: VisioBuiltInThemeId | 'none';
|
|
12
|
+
variant?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function snapshotPageTheme(edit: VisioPageThemeEdit): VisioPageThemeEdit;
|
|
15
|
+
//# sourceMappingURL=edit-page-theme-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-theme-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-page-theme-commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB,CAkB9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-theme-recolor.d.ts","sourceRoot":"","sources":["../../visio/edit-page-theme-recolor.ts"],"names":[],"mappings":"AAsDA,sFAAsF;AACtF,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,QAAQ,GAAG,UAAU,EAC3B,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CA2BT"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VisioPackage } from './package.js';
|
|
2
|
+
import { type VisioPackageLimits } from './package-common.js';
|
|
3
|
+
import { type VisioTheme } from './theme.js';
|
|
4
|
+
import type { VisioPageThemeEdit } from './edit-page-theme-commands.js';
|
|
5
|
+
import type { EditVsdxResult } from './edit.js';
|
|
6
|
+
/** The theme the page selects by its saved ColorSchemeIndex, when exactly one part matches. */
|
|
7
|
+
export declare function pageSelectedTheme(themes: readonly VisioTheme[], sheet: Element | undefined): VisioTheme | undefined;
|
|
8
|
+
/** Write the theme part, page selectors and recoloured shapes as one atomic package edit. */
|
|
9
|
+
export declare function editVsdxPageTheme(pkg: VisioPackage, parts: Map<string, Uint8Array>, pages: ReadonlyMap<string, string>, edit: VisioPageThemeEdit, limits: VisioPackageLimits, maxOutput: number, deadline: number, check: () => void): Promise<EditVsdxResult>;
|
|
10
|
+
//# sourceMappingURL=edit-page-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-page-theme.d.ts","sourceRoot":"","sources":["../../visio/edit-page-theme.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAM7E,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAmB7C,+FAA+F;AAC/F,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,SAAS,UAAU,EAAE,EAC7B,KAAK,EAAE,OAAO,GAAG,SAAS,GACxB,UAAU,GAAG,SAAS,CAKxB;AAED,6FAA6F;AAC7F,wBAAsB,iBAAiB,CACtC,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EAC9B,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,kBAAkB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,cAAc,CAAC,CA2HzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-pages.d.ts","sourceRoot":"","sources":["../../visio/edit-pages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit-pages.d.ts","sourceRoot":"","sources":["../../visio/edit-pages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAY7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAM7C,4FAA4F;AAC5F,wBAAsB,aAAa,CAClC,QAAQ,EAAE,UAAU,EACpB,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EAC9B,QAAQ,EAAE,SAAS,aAAa,EAAE,EAClC,MAAM,EAAE,kBAAkB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,cAAc,CAAC,CA+KzB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VisioPathSegment } from './path-fit.js';
|
|
2
|
+
export type { VisioPathSegment } from './path-fit.js';
|
|
3
|
+
/**
|
|
4
|
+
* Create a 2D shape from a drawn path (Freeform, Pencil and Arc tools). Drawing inches with a
|
|
5
|
+
* bottom-left origin; (`x`, `y`) is the start point. A closed path must end on its start point.
|
|
6
|
+
*/
|
|
7
|
+
export interface VisioPathCreateEdit {
|
|
8
|
+
type: 'create-path';
|
|
9
|
+
pageId: string;
|
|
10
|
+
shapeId: string;
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
segments: VisioPathSegment[];
|
|
14
|
+
closed?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const VISIO_PATH_SEGMENT_LIMIT = 2000;
|
|
17
|
+
/** Bound, clone and validate a path creation; strips host properties. */
|
|
18
|
+
export declare function snapshotPathCreation(edit: VisioPathCreateEdit, invalid?: (message: string) => never): VisioPathCreateEdit;
|
|
19
|
+
//# sourceMappingURL=edit-path-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-path-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-path-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IACnC,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAE7C,yEAAyE;AACzE,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,mBAAmB,EACzB,OAAO,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,KAAkD,GAC9E,mBAAmB,CAoDrB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { VisioPathCreateEdit } from './edit-path-commands.js';
|
|
2
|
+
/** The frame a path creation occupies: centre pin and positive dimensions. */
|
|
3
|
+
export declare function visioPathFrame(edit: VisioPathCreateEdit): {
|
|
4
|
+
minX: number;
|
|
5
|
+
minY: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Freeform, Pencil and Arc output: a local 2D shape whose single Geometry section uses only
|
|
11
|
+
* relative rows (RelMoveTo, RelLineTo, RelCubBezTo, RelEllipticalArcTo), so every coordinate is a
|
|
12
|
+
* fraction of Width and Height and the shape moves, rotates and resizes without formula rewrites.
|
|
13
|
+
* An open path is unfilled (NoFill 1); a closed one is filled.
|
|
14
|
+
*/
|
|
15
|
+
export declare function createPath(root: Element, document: Element, edit: VisioPathCreateEdit): {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
};
|
|
21
|
+
/** Resize proof for a relative elliptical arc: no rotation and a Width/Height-proportional ratio. */
|
|
22
|
+
export declare function assertRelativeArcResizeRow(shape: Element, row: Element): void;
|
|
23
|
+
//# sourceMappingURL=edit-path-create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-path-create.d.ts","sourceRoot":"","sources":["../../visio/edit-path-create.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAShE,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf,CAOA;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CACzB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,mBAAmB,GACvB;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAoEzD;AAED,qGAAqG;AACrG,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAoB7E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VisioPackage } from './package.js';
|
|
2
|
+
import { type VisioPackageLimits } from './package-common.js';
|
|
3
|
+
import type { VisioPictureInsertEdit } from './edit-metadata-commands.js';
|
|
4
|
+
import type { EditVsdxResult } from './edit.js';
|
|
5
|
+
/** Embed one validated raster as visio/media part, page relationship and Foreign shape. */
|
|
6
|
+
export declare function editVsdxPicture(pkg: VisioPackage, parts: Map<string, Uint8Array>, pages: ReadonlyMap<string, string>, edit: VisioPictureInsertEdit, limits: VisioPackageLimits, maxOutput: number, deadline: number, check: () => void): Promise<EditVsdxResult>;
|
|
7
|
+
//# sourceMappingURL=edit-picture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-picture.d.ts","sourceRoot":"","sources":["../../visio/edit-picture.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAQ7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AA8E7C,2FAA2F;AAC3F,wBAAsB,eAAe,CACpC,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EAC9B,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,IAAI,EAAE,sBAAsB,EAC5B,MAAM,EAAE,kBAAkB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,cAAc,CAAC,CA0GzB"}
|
|
@@ -18,6 +18,8 @@ export interface VisioRecalculationOptions {
|
|
|
18
18
|
masterMovePins?: ReadonlySet<Element>;
|
|
19
19
|
/** Internal authorization after proving an unglued local straight-line edit. */
|
|
20
20
|
lineEditShapes?: ReadonlySet<Element>;
|
|
21
|
+
/** Internal authorization of proven owned dynamic-glue connectors and their 2D targets. */
|
|
22
|
+
glueShapes?: ReadonlySet<Element>;
|
|
21
23
|
/** Internal authorization of the proven local parent-group Angle leaf only. */
|
|
22
24
|
groupRotationCells?: ReadonlySet<Element>;
|
|
23
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-recalculate-index.d.ts","sourceRoot":"","sources":["../../visio/edit-recalculate-index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-recalculate-index.d.ts","sourceRoot":"","sources":["../../visio/edit-recalculate-index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAuB,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI3F,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,yBAAyB;IACzC,WAAW,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,mFAAmF;IACnF,cAAc,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,gFAAgF;IAChF,cAAc,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,2FAA2F;IAC3F,UAAU,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClC,+EAA+E;IAC/E,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC1C;AACD,MAAM,WAAW,WAAY,SAAQ,YAAY;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC/C,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;CAChC;AACD,eAAO,MAAM,GAAG,SAAU,YAAY,WAC+B,CAAC;AACtE,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAKzE;AAWD,oGAAoG;AACpG,wBAAgB,UAAU,CACzB,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,EAAE,yBAAyB,4BA4KlC"}
|
|
@@ -3,6 +3,6 @@ type Resize = Extract<VisioGeometryEdit, {
|
|
|
3
3
|
type: 'resize-shape';
|
|
4
4
|
}>;
|
|
5
5
|
/** All source and proposed caches are evaluated before writing either geometry or dependent caches. */
|
|
6
|
-
export declare function resizeVisioShapeAtAnchor(roots: ReadonlyMap<string, Element>, document: Element, edit: Resize, check: () => void): readonly string[];
|
|
6
|
+
export declare function resizeVisioShapeAtAnchor(roots: ReadonlyMap<string, Element>, document: Element, edit: Resize, check: () => void, glueShapes?: ReadonlySet<Element>): readonly string[];
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=edit-resize-anchor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-resize-anchor.d.ts","sourceRoot":"","sources":["../../visio/edit-resize-anchor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAqBzD,KAAK,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC,CAAC;AAqCnE,uGAAuG;AACvG,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"edit-resize-anchor.d.ts","sourceRoot":"","sources":["../../visio/edit-resize-anchor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAqBzD,KAAK,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC,CAAC;AAqCnE,uGAAuG;AACvG,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,IAAI,EACjB,UAAU,GAAE,WAAW,CAAC,OAAO,CAAa,GAC1C,SAAS,MAAM,EAAE,CAqOnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-scope.d.ts","sourceRoot":"","sources":["../../visio/edit-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAO9C,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAqChF,+GAA+G;AAC/G,wBAAsB,0BAA0B,CAC/C,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,KAAK,EAAE,MAAM,IAAI,EACjB,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,OAAO,CAAC,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"edit-scope.d.ts","sourceRoot":"","sources":["../../visio/edit-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAO9C,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAqChF,+GAA+G;AAC/G,wBAAsB,0BAA0B,CAC/C,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,KAAK,EAAE,MAAM,IAAI,EACjB,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,OAAO,CAAC,eAAe,CAAC,CA2O1B"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import type { VisioGeometryEdit } from './edit-commands.js';
|
|
2
|
+
import type { VisioBasicOutline } from './basic-shapes.js';
|
|
3
|
+
export declare function createShape(root: Element, shapeId: string): Element;
|
|
4
|
+
export declare function createBox(root: Element, document: Element, edit: Extract<VisioGeometryEdit, {
|
|
5
|
+
type: 'create-rectangle' | 'create-ellipse' | 'create-text-box';
|
|
6
|
+
}>): Element;
|
|
2
7
|
export declare function createRectangle(root: Element, document: Element, edit: Extract<VisioGeometryEdit, {
|
|
3
8
|
type: 'create-rectangle' | 'create-text-box';
|
|
4
9
|
}>): Element;
|
|
10
|
+
/** Detached Geometry sections (IX 0, 1, ...) of closed relative polylines in the shape's box,
|
|
11
|
+
* followed by the outline's open interior lines as unfilled sections. */
|
|
12
|
+
export declare function outlineGeometrySections(shape: Element, outline: VisioBasicOutline): Element[];
|
|
5
13
|
export declare function createEllipse(root: Element, document: Element, edit: Extract<VisioGeometryEdit, {
|
|
6
14
|
type: 'create-ellipse';
|
|
7
15
|
}>): Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-shape-create.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-create.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit-shape-create.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-create.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAwBnE;AAED,wBAAgB,SAAS,CACxB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CACZ,iBAAiB,EACjB;IAAE,IAAI,EAAE,kBAAkB,GAAG,gBAAgB,GAAG,iBAAiB,CAAA;CAAE,CACnE,GACC,OAAO,CAmBT;AAED,wBAAgB,eAAe,CAC9B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,iBAAiB,EAAE;IAAE,IAAI,EAAE,kBAAkB,GAAG,iBAAiB,CAAA;CAAE,CAAC,GAChF,OAAO,CAuBT;AAED;yEACyE;AACzE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,EAAE,CAqB7F;AAED,wBAAgB,aAAa,CAC5B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,iBAAiB,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAAC,GAC1D,OAAO,CAST;AAED,sGAAsG;AACtG,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI,CAMhF;AAED,wBAAgB,UAAU,CACzB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,iBAAiB,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,GACvD,OAAO,CAkDT"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Shape Data types the editor writes (Visio Type cell 0, 1, 2, 3, 4 and 5). */
|
|
2
|
+
export declare const VISIO_SHAPE_DATA_TYPES: readonly ['string', 'fixed-list', 'number', 'boolean', 'variable-list', 'date'];
|
|
3
|
+
export type VisioShapeDataType = (typeof VISIO_SHAPE_DATA_TYPES)[number];
|
|
4
|
+
/** One Property (Shape Data) row as the Define Shape Data dialog edits it. */
|
|
5
|
+
export interface VisioShapeDataFields {
|
|
6
|
+
label: string;
|
|
7
|
+
prompt: string;
|
|
8
|
+
type: VisioShapeDataType;
|
|
9
|
+
/** Number or date picture, or the `;`-separated choices of a list. */
|
|
10
|
+
format: string;
|
|
11
|
+
/** Text as typed: a number, TRUE/FALSE, an ISO date (yyyy-mm-dd) or any string. */
|
|
12
|
+
value: string;
|
|
13
|
+
/** Hidden rows stay out of the Shape Data window (Invisible cell). */
|
|
14
|
+
invisible?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** Add (`row` is a new name), replace (`row` exists) or remove (`data: null`) a Prop row. */
|
|
17
|
+
export interface VisioShapeDataEdit {
|
|
18
|
+
type: 'set-shape-data';
|
|
19
|
+
pageId: string;
|
|
20
|
+
shapeId: string;
|
|
21
|
+
/** ShapeSheet row name without the `Prop.` prefix, for example `Cost_Center`. */
|
|
22
|
+
row: string;
|
|
23
|
+
data: VisioShapeDataFields | null;
|
|
24
|
+
}
|
|
25
|
+
export declare function shapeDataText(value: unknown, label: string): string;
|
|
26
|
+
/** Visio row names: a letter or underscore, then letters, digits and underscores. */
|
|
27
|
+
export declare function shapeDataRowName(value: unknown): string;
|
|
28
|
+
/** A row name derived from a label, as Visio's Define Shape Data dialog does. */
|
|
29
|
+
export declare function visioShapeDataRowName(label: string, taken?: Iterable<string>): string;
|
|
30
|
+
/** Validate and canonicalise a typed value for its Shape Data type. */
|
|
31
|
+
export declare function canonicalShapeDataValue(type: VisioShapeDataType, value: string): string;
|
|
32
|
+
/** Copy and validate a Shape Data command; host properties never reach the transaction. */
|
|
33
|
+
export declare function snapshotShapeDataEdit(edit: VisioShapeDataEdit): VisioShapeDataEdit;
|
|
34
|
+
//# sourceMappingURL=edit-shape-data-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-shape-data-commands.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-data-commands.ts"],"names":[],"mappings":"AAGA,gFAAgF;AAChF,eAAO,MAAM,sBAAsB,YAClC,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,eAAe,EACf,MAAM,CACG,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,8EAA8E;AAC9E,MAAM,WAAW,oBAAoB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;IACzB,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,6FAA6F;AAC7F,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAClC;AAID,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAMnE;AACD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIvD;AACD,iFAAiF;AACjF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,QAAQ,CAAC,MAAM,CAAM,GAAG,MAAM,CAYzF;AAGD,uEAAuE;AACvE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAiCvF;AAED,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB,CAkClF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type VisioShapeDataEdit, type VisioShapeDataFields } from './edit-shape-data-commands.js';
|
|
2
|
+
/**
|
|
3
|
+
* One unique page shape that can own local Property rows: a local shape or a top-level master
|
|
4
|
+
* instance (a local row of the same name overrides the master's row). Shapes inside a master
|
|
5
|
+
* instance (MasterShape) or deleted shapes are refused.
|
|
6
|
+
*/
|
|
7
|
+
export declare function shapeDataOwner(root: Element, shapeId: string): Element;
|
|
8
|
+
/** Refuse when a ShapeSheet formula anywhere reads one of the rows being changed. */
|
|
9
|
+
export declare function assertShapeDataUnreferenced(roots: Iterable<Element>, rows: ReadonlySet<string>, check: () => void): void;
|
|
10
|
+
export declare function propertySection(shape: Element, create: boolean): Element | undefined;
|
|
11
|
+
export declare function propertyRow(section: Element | undefined, name: string): Element | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Write one Property row's label, prompt, type, format and value; a missing row is created with
|
|
14
|
+
* the native cell set. `linked` sets the DataLinked cell of an external-data row. Returns
|
|
15
|
+
* whether anything changed.
|
|
16
|
+
*/
|
|
17
|
+
export declare function writePropertyRow(shape: Element, name: string, data: VisioShapeDataFields, linked?: boolean): boolean;
|
|
18
|
+
/** Remove one Property row (and an emptied section). Returns whether it existed. */
|
|
19
|
+
export declare function removePropertyRow(shape: Element, name: string): boolean;
|
|
20
|
+
/** Apply a Shape Data edit to cloned page roots. Returns whether the page changed. */
|
|
21
|
+
export declare function applyShapeDataEdit(roots: ReadonlyMap<string, Element>, edit: VisioShapeDataEdit, check: () => void): boolean;
|
|
22
|
+
//# sourceMappingURL=edit-shape-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-shape-data.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-data.ts"],"names":[],"mappings":"AAGA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,MAAM,4BAA4B,CAAC;AAyBpC;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAoBtE;AAED,qFAAqF;AACrF,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,EACxB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,EACzB,KAAK,EAAE,MAAM,IAAI,GACf,IAAI,CAcN;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAmBpF;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAQ3F;AAgCD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,oBAAoB,EAC1B,MAAM,CAAC,EAAE,OAAO,GACd,OAAO,CA+BT;AAED,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAUvE;AAED,sFAAsF;AACtF,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAST"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-shape-order.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"edit-shape-order.d.ts","sourceRoot":"","sources":["../../visio/edit-shape-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,kGAAkG;AAClG,wBAAsB,4BAA4B,CACjD,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CAAC,IAAI,CAAC,CA2Bf;AAuBD,mGAAmG;AACnG,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,MAAM,IAAI,GACf,OAAO,CA6CT"}
|