ooxml-core 1.35.0 → 1.36.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/automation/index.cjs +1290 -825
- package/dist/automation/index.mjs +1290 -825
- package/dist/visio/bevel-3d.d.ts +31 -4
- package/dist/visio/bevel-3d.d.ts.map +1 -1
- package/dist/visio/cff-author.d.ts +14 -0
- package/dist/visio/cff-author.d.ts.map +1 -0
- package/dist/visio/cff-masters.d.ts +11 -0
- package/dist/visio/cff-masters.d.ts.map +1 -1
- package/dist/visio/edit-commands.d.ts +7 -0
- package/dist/visio/edit-commands.d.ts.map +1 -1
- package/dist/visio/edit-formatting-commands.d.ts +6 -0
- package/dist/visio/edit-formatting-commands.d.ts.map +1 -1
- package/dist/visio/edit-formatting-paint.d.ts.map +1 -1
- package/dist/visio/edit-instance-geometry.d.ts.map +1 -1
- package/dist/visio/edit-instance-recalculate.d.ts +6 -1
- package/dist/visio/edit-instance-recalculate.d.ts.map +1 -1
- package/dist/visio/edit-shape-create.d.ts.map +1 -1
- package/dist/visio/edit-stencil-connector.d.ts.map +1 -1
- package/dist/visio/edit-swimlane-stamp.d.ts +22 -0
- package/dist/visio/edit-swimlane-stamp.d.ts.map +1 -0
- package/dist/visio/edit.d.ts.map +1 -1
- package/dist/visio/index.cjs +1338 -568
- package/dist/visio/index.d.ts +3 -1
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +1331 -569
- package/dist/visio/model.d.ts +6 -2
- package/dist/visio/model.d.ts.map +1 -1
- package/dist/visio/path-segments.d.ts +25 -0
- package/dist/visio/path-segments.d.ts.map +1 -0
- package/dist/visio/shape-sections.d.ts +4 -3
- package/dist/visio/shape-sections.d.ts.map +1 -1
- package/dist/visio/solid-3d.d.ts +55 -0
- package/dist/visio/solid-3d.d.ts.map +1 -0
- package/dist/visio/style.d.ts.map +1 -1
- package/dist/visio/theme-solid.d.ts +21 -0
- package/dist/visio/theme-solid.d.ts.map +1 -0
- package/dist/visio/ui/data-visualizer-edits.d.ts +1 -0
- package/dist/visio/ui/data-visualizer-edits.d.ts.map +1 -1
- package/dist/visio/ui/edit-commands.d.ts.map +1 -1
- package/dist/visio/ui/index.cjs +1188 -571
- package/dist/visio/ui/index.mjs +1188 -572
- package/dist/visio/ui/org-chart-belt.d.ts +20 -0
- package/dist/visio/ui/org-chart-belt.d.ts.map +1 -0
- package/dist/visio/ui/org-chart-edit.d.ts +8 -1
- package/dist/visio/ui/org-chart-edit.d.ts.map +1 -1
- package/dist/visio/ui/org-chart-import.d.ts.map +1 -1
- package/dist/visio/ui/scene-validation.d.ts.map +1 -1
- package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { VisioEdit } from '../edit-commands.js';
|
|
2
|
+
import type { VisioPage, VisioShape } from '../model.js';
|
|
3
|
+
/**
|
|
4
|
+
* Switch a position to another Belt master, as Visio does when a Position Belt gains
|
|
5
|
+
* subordinates (it becomes a Manager Belt). The shapes of an instance are tied to its master, so
|
|
6
|
+
* the position is replaced: an instance of the new master is dropped on the old one's spot
|
|
7
|
+
* under `newId`, takes its text and Shape Data, every connector glued to the old shape is glued
|
|
8
|
+
* to the new one (keeping the connection point it used), and the old shape is deleted last.
|
|
9
|
+
* The drop edit comes first (drops run before the rest of a batch); `rest` follows the edits
|
|
10
|
+
* that place the positions and `removal` comes last.
|
|
11
|
+
*/
|
|
12
|
+
export declare function visioOrgSwapMaster(page: VisioPage, old: VisioShape, newId: string, drop: (at: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}) => VisioEdit): {
|
|
16
|
+
drop: VisioEdit;
|
|
17
|
+
rest: VisioEdit[];
|
|
18
|
+
removal: VisioEdit;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=org-chart-belt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"org-chart-belt.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-belt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,CAAC,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,SAAS,GAC/C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,SAAS,EAAE,CAAC;IAAC,OAAO,EAAE,SAAS,CAAA;CAAE,CAmD5D"}
|
|
@@ -18,6 +18,11 @@ export declare function visioOrgDropPosition(pageId: string, shapeId: string, ma
|
|
|
18
18
|
x: number;
|
|
19
19
|
y: number;
|
|
20
20
|
}): VisioEdit;
|
|
21
|
+
/** Rows of the Belt masters' Connection section (Top, Left, Right, Bottom, Float). */
|
|
22
|
+
export declare const ORG_POINT: {
|
|
23
|
+
readonly top: 0;
|
|
24
|
+
readonly bottom: 3;
|
|
25
|
+
};
|
|
21
26
|
/**
|
|
22
27
|
* A reporting line as Visio draws one: an instance of the Organization Chart stencil's Dynamic
|
|
23
28
|
* connector, dropped between the two positions and then glued to both, so it follows them. The
|
|
@@ -27,7 +32,9 @@ export declare function visioOrgDropPosition(pageId: string, shapeId: string, ma
|
|
|
27
32
|
export declare function visioOrgReportingLine(pageId: string, lineId: string, manager: string, subordinate: string, between: {
|
|
28
33
|
x: number;
|
|
29
34
|
y: number;
|
|
30
|
-
}
|
|
35
|
+
},
|
|
36
|
+
/** An assistant's line enters its side, so it stays glued to the whole shape. */
|
|
37
|
+
assistant?: boolean): {
|
|
31
38
|
drop: VisioEdit;
|
|
32
39
|
glue: VisioEdit[];
|
|
33
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org-chart-edit.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-edit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"org-chart-edit.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-edit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AAatD,0FAA0F;AAC1F,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG,cAAc,GAAG,eAAe,GAAG,gBAAgB,CAAC;AACpG,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEnE,+FAA+F;AAC/F,eAAO,MAAM,cAAc;aAAK,KAAK,EAAE,KAAK;aAAE,MAAM,EAAE,KAAK;CAAW,CAAC;AAgCvE,wGAAwG;AACxG,wBAAgB,eAAe,CAC9B,IAAI,EAAE,SAAS,EACf,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACX;IAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,SAAS,CAStD;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,cAAc,EACtB,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1B,SAAS,CAUX;AAED,sFAAsF;AACtF,eAAO,MAAM,SAAS;aAAK,GAAG,EAAE,CAAC;aAAE,MAAM,EAAE,CAAC;CAAW,CAAC;A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G,MAAM,CAiFlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene-validation.d.ts","sourceRoot":"","sources":["../../../visio/ui/scene-validation.ts"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,aAAa,EAGlB,MAAM,UAAU,CAAC;AAMlB,eAAO,MAAM,eAAe,QAAmB,CAAC;AAkChD,sFAAsF;AACtF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"scene-validation.d.ts","sourceRoot":"","sources":["../../../visio/ui/scene-validation.ts"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,aAAa,EAGlB,MAAM,UAAU,CAAC;AAMlB,eAAO,MAAM,eAAe,QAAmB,CAAC;AAkChD,sFAAsF;AACtF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAwYjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot-scene.d.ts","sourceRoot":"","sources":["../../../visio/ui/snapshot-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EAOb,MAAM,UAAU,CAAC;AA2BlB;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"snapshot-scene.d.ts","sourceRoot":"","sources":["../../../visio/ui/snapshot-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EAOb,MAAM,UAAU,CAAC;AA2BlB;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CA4TrE"}
|