ooxml-core 1.34.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.
Files changed (156) hide show
  1. package/dist/automation/index.cjs +4999 -3059
  2. package/dist/automation/index.mjs +4999 -3059
  3. package/dist/index.cjs +5 -1
  4. package/dist/index.mjs +6 -2
  5. package/dist/opc/index.cjs +5 -0
  6. package/dist/opc/index.d.ts +1 -0
  7. package/dist/opc/index.d.ts.map +1 -1
  8. package/dist/opc/index.mjs +5 -1
  9. package/dist/opc/zlib.d.ts +6 -0
  10. package/dist/opc/zlib.d.ts.map +1 -0
  11. package/dist/visio/action-formula.d.ts +21 -0
  12. package/dist/visio/action-formula.d.ts.map +1 -0
  13. package/dist/visio/action-menu.d.ts +8 -0
  14. package/dist/visio/action-menu.d.ts.map +1 -0
  15. package/dist/visio/bevel-3d.d.ts +88 -0
  16. package/dist/visio/bevel-3d.d.ts.map +1 -0
  17. package/dist/visio/cff-author.d.ts +14 -0
  18. package/dist/visio/cff-author.d.ts.map +1 -0
  19. package/dist/visio/cff-masters.d.ts +28 -0
  20. package/dist/visio/cff-masters.d.ts.map +1 -0
  21. package/dist/visio/cff-recalc.d.ts +17 -0
  22. package/dist/visio/cff-recalc.d.ts.map +1 -0
  23. package/dist/visio/control-formula.d.ts +13 -0
  24. package/dist/visio/control-formula.d.ts.map +1 -0
  25. package/dist/visio/edit-action.d.ts +22 -0
  26. package/dist/visio/edit-action.d.ts.map +1 -0
  27. package/dist/visio/edit-commands.d.ts +11 -1
  28. package/dist/visio/edit-commands.d.ts.map +1 -1
  29. package/dist/visio/edit-connector-glue.d.ts +24 -1
  30. package/dist/visio/edit-connector-glue.d.ts.map +1 -1
  31. package/dist/visio/edit-connector-layout.d.ts.map +1 -1
  32. package/dist/visio/edit-connector-org.d.ts +11 -0
  33. package/dist/visio/edit-connector-org.d.ts.map +1 -0
  34. package/dist/visio/edit-connector-reroute.d.ts.map +1 -1
  35. package/dist/visio/edit-connector-world.d.ts +25 -0
  36. package/dist/visio/edit-connector-world.d.ts.map +1 -0
  37. package/dist/visio/edit-connector.d.ts +5 -1
  38. package/dist/visio/edit-connector.d.ts.map +1 -1
  39. package/dist/visio/edit-control.d.ts +28 -0
  40. package/dist/visio/edit-control.d.ts.map +1 -0
  41. package/dist/visio/edit-formatting-commands.d.ts +10 -0
  42. package/dist/visio/edit-formatting-commands.d.ts.map +1 -1
  43. package/dist/visio/edit-formatting-paint.d.ts.map +1 -1
  44. package/dist/visio/edit-geometry.d.ts.map +1 -1
  45. package/dist/visio/edit-group-resize-instances.d.ts +43 -0
  46. package/dist/visio/edit-group-resize-instances.d.ts.map +1 -0
  47. package/dist/visio/edit-group-resize.d.ts +1 -0
  48. package/dist/visio/edit-group-resize.d.ts.map +1 -1
  49. package/dist/visio/edit-group-rotation.d.ts +8 -0
  50. package/dist/visio/edit-group-rotation.d.ts.map +1 -1
  51. package/dist/visio/edit-instance-geometry.d.ts +13 -0
  52. package/dist/visio/edit-instance-geometry.d.ts.map +1 -1
  53. package/dist/visio/edit-instance-recalculate.d.ts +6 -1
  54. package/dist/visio/edit-instance-recalculate.d.ts.map +1 -1
  55. package/dist/visio/edit-instance-sheet.d.ts.map +1 -1
  56. package/dist/visio/edit-master-add.d.ts +3 -0
  57. package/dist/visio/edit-master-add.d.ts.map +1 -1
  58. package/dist/visio/edit-master-drop.d.ts.map +1 -1
  59. package/dist/visio/edit-master-media.d.ts +22 -0
  60. package/dist/visio/edit-master-media.d.ts.map +1 -0
  61. package/dist/visio/edit-master-scope.d.ts.map +1 -1
  62. package/dist/visio/edit-resize-anchor.d.ts.map +1 -1
  63. package/dist/visio/edit-shape-create.d.ts.map +1 -1
  64. package/dist/visio/edit-sheet-cells.d.ts +23 -0
  65. package/dist/visio/edit-sheet-cells.d.ts.map +1 -0
  66. package/dist/visio/edit-stencil-connector-write.d.ts.map +1 -1
  67. package/dist/visio/edit-stencil-connector.d.ts +7 -2
  68. package/dist/visio/edit-stencil-connector.d.ts.map +1 -1
  69. package/dist/visio/edit-stencil-import.d.ts +1 -1
  70. package/dist/visio/edit-stencil-import.d.ts.map +1 -1
  71. package/dist/visio/edit-style-admission.d.ts +6 -0
  72. package/dist/visio/edit-style-admission.d.ts.map +1 -1
  73. package/dist/visio/edit-swimlane-clone.d.ts +7 -0
  74. package/dist/visio/edit-swimlane-clone.d.ts.map +1 -0
  75. package/dist/visio/edit-swimlane-layout.d.ts +9 -2
  76. package/dist/visio/edit-swimlane-layout.d.ts.map +1 -1
  77. package/dist/visio/edit-swimlane-ops.d.ts +2 -1
  78. package/dist/visio/edit-swimlane-ops.d.ts.map +1 -1
  79. package/dist/visio/edit-swimlane-stamp.d.ts +22 -0
  80. package/dist/visio/edit-swimlane-stamp.d.ts.map +1 -0
  81. package/dist/visio/edit.d.ts.map +1 -1
  82. package/dist/visio/index.cjs +3875 -1590
  83. package/dist/visio/index.d.ts +8 -0
  84. package/dist/visio/index.d.ts.map +1 -1
  85. package/dist/visio/index.mjs +3860 -1591
  86. package/dist/visio/model.d.ts +20 -0
  87. package/dist/visio/model.d.ts.map +1 -1
  88. package/dist/visio/paragraphs.d.ts +1 -1
  89. package/dist/visio/paragraphs.d.ts.map +1 -1
  90. package/dist/visio/parser.d.ts.map +1 -1
  91. package/dist/visio/path-segments.d.ts +25 -0
  92. package/dist/visio/path-segments.d.ts.map +1 -0
  93. package/dist/visio/shape-sections-types.d.ts +71 -0
  94. package/dist/visio/shape-sections-types.d.ts.map +1 -0
  95. package/dist/visio/shape-sections.d.ts +12 -0
  96. package/dist/visio/shape-sections.d.ts.map +1 -0
  97. package/dist/visio/shapes.d.ts.map +1 -1
  98. package/dist/visio/solid-3d.d.ts +55 -0
  99. package/dist/visio/solid-3d.d.ts.map +1 -0
  100. package/dist/visio/style.d.ts.map +1 -1
  101. package/dist/visio/swimlane-membership.d.ts +12 -0
  102. package/dist/visio/swimlane-membership.d.ts.map +1 -0
  103. package/dist/visio/swimlane-stack.d.ts +3 -1
  104. package/dist/visio/swimlane-stack.d.ts.map +1 -1
  105. package/dist/visio/tab-stops.d.ts +20 -0
  106. package/dist/visio/tab-stops.d.ts.map +1 -0
  107. package/dist/visio/theme-line.d.ts +10 -0
  108. package/dist/visio/theme-line.d.ts.map +1 -1
  109. package/dist/visio/theme-solid.d.ts +21 -0
  110. package/dist/visio/theme-solid.d.ts.map +1 -0
  111. package/dist/visio/ui/data-graphic-config.d.ts +1 -0
  112. package/dist/visio/ui/data-graphic-config.d.ts.map +1 -1
  113. package/dist/visio/ui/data-graphic-items.d.ts +23 -0
  114. package/dist/visio/ui/data-graphic-items.d.ts.map +1 -0
  115. package/dist/visio/ui/data-graphic-rules.d.ts +7 -0
  116. package/dist/visio/ui/data-graphic-rules.d.ts.map +1 -1
  117. package/dist/visio/ui/data-graphics.d.ts +1 -1
  118. package/dist/visio/ui/data-graphics.d.ts.map +1 -1
  119. package/dist/visio/ui/data-visualizer-edits.d.ts +23 -0
  120. package/dist/visio/ui/data-visualizer-edits.d.ts.map +1 -0
  121. package/dist/visio/ui/data-visualizer.d.ts +47 -0
  122. package/dist/visio/ui/data-visualizer.d.ts.map +1 -0
  123. package/dist/visio/ui/edit-commands.d.ts.map +1 -1
  124. package/dist/visio/ui/index.cjs +31643 -28428
  125. package/dist/visio/ui/index.d.ts +6 -0
  126. package/dist/visio/ui/index.d.ts.map +1 -1
  127. package/dist/visio/ui/index.mjs +31622 -28429
  128. package/dist/visio/ui/org-chart-belt.d.ts +20 -0
  129. package/dist/visio/ui/org-chart-belt.d.ts.map +1 -0
  130. package/dist/visio/ui/org-chart-edit.d.ts +59 -0
  131. package/dist/visio/ui/org-chart-edit.d.ts.map +1 -0
  132. package/dist/visio/ui/org-chart-import.d.ts +35 -0
  133. package/dist/visio/ui/org-chart-import.d.ts.map +1 -0
  134. package/dist/visio/ui/org-chart-layout.d.ts +43 -0
  135. package/dist/visio/ui/org-chart-layout.d.ts.map +1 -0
  136. package/dist/visio/ui/org-chart-stencil-data.d.ts +11 -0
  137. package/dist/visio/ui/org-chart-stencil-data.d.ts.map +1 -0
  138. package/dist/visio/ui/org-chart-template.d.ts +7 -0
  139. package/dist/visio/ui/org-chart-template.d.ts.map +1 -0
  140. package/dist/visio/ui/org-chart.d.ts +14 -26
  141. package/dist/visio/ui/org-chart.d.ts.map +1 -1
  142. package/dist/visio/ui/scene-validation.d.ts.map +1 -1
  143. package/dist/visio/ui/selection-connectors.d.ts +10 -0
  144. package/dist/visio/ui/selection-connectors.d.ts.map +1 -0
  145. package/dist/visio/ui/selection-resize.d.ts.map +1 -1
  146. package/dist/visio/ui/shape-group.d.ts +3 -1
  147. package/dist/visio/ui/shape-group.d.ts.map +1 -1
  148. package/dist/visio/ui/shape-move.d.ts.map +1 -1
  149. package/dist/visio/ui/shape-resize.d.ts.map +1 -1
  150. package/dist/visio/ui/shape-rotation.d.ts +3 -1
  151. package/dist/visio/ui/shape-rotation.d.ts.map +1 -1
  152. package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
  153. package/dist/visio/ui/swimlane.d.ts.map +1 -1
  154. package/dist/visio/ui/templates.d.ts +4 -0
  155. package/dist/visio/ui/templates.d.ts.map +1 -1
  156. 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"}
@@ -0,0 +1,59 @@
1
+ import type { VisioEdit } from '../edit-commands.js';
2
+ import type { VisioPage } from '../model.js';
3
+ /** The org chart masters of Visio's Organization Chart stencil that a position can be. */
4
+ export type VisioOrgMaster = 'Executive Belt' | 'Manager Belt' | 'Position Belt' | 'Assistant Belt';
5
+ export type VisioOrgAddKind = 'subordinate' | 'peer' | 'assistant';
6
+ /** Every Belt master is this large, in drawing inches (the master's User.Width and Height). */
7
+ export declare const VISIO_ORG_SIZE: {
8
+ readonly width: 1.625;
9
+ readonly height: 0.875;
10
+ };
11
+ /** IDs for `positions` new positions (each leaves room for its sub-shapes), then `lines` connectors. */
12
+ export declare function visioOrgFreeIds(page: VisioPage, positions: number, lines: number): {
13
+ positions: string[];
14
+ lines: string[];
15
+ } | undefined;
16
+ /** The drop of one position: an instance of the Belt master `master`, centred on `at`. */
17
+ export declare function visioOrgDropPosition(pageId: string, shapeId: string, master: VisioOrgMaster, at: {
18
+ x: number;
19
+ y: number;
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
+ };
26
+ /**
27
+ * A reporting line as Visio draws one: an instance of the Organization Chart stencil's Dynamic
28
+ * connector, dropped between the two positions and then glued to both, so it follows them. The
29
+ * drop edit comes first in the returned pair (drops run before the rest of a batch); `glue`
30
+ * follows the edits that place the positions.
31
+ */
32
+ export declare function visioOrgReportingLine(pageId: string, lineId: string, manager: string, subordinate: string, between: {
33
+ x: number;
34
+ y: number;
35
+ },
36
+ /** An assistant's line enters its side, so it stays glued to the whole shape. */
37
+ assistant?: boolean): {
38
+ drop: VisioEdit;
39
+ glue: VisioEdit[];
40
+ };
41
+ /**
42
+ * Org Chart > Subordinate, Assistant or Coworker: a new position under the selected one (or under
43
+ * its manager, for a coworker; a coworker of an assistant is another assistant), an instance of
44
+ * Visio's Position, Assistant or the selected position's Belt master, with a Dynamic connector
45
+ * glued to it and its manager, then the whole tree laid out again so the new box has room. An
46
+ * assistant sits beside its manager's line. One edit batch, so it is one undo step. The new
47
+ * shape id is returned for selection.
48
+ */
49
+ export declare function visioOrgAddPosition(page: VisioPage, shapeId: string, kind: VisioOrgAddKind): {
50
+ edits: VisioEdit[];
51
+ newId: string;
52
+ } | undefined;
53
+ /**
54
+ * Org Chart > Delete Position: the position and the connectors glued to it go; its subordinates
55
+ * (and assistants) are joined to its manager, or become tops of their own trees when it had none.
56
+ * One batch, so the whole command is one undo step.
57
+ */
58
+ export declare function visioOrgDeletePosition(page: VisioPage, shapeId: string): VisioEdit[] | undefined;
59
+ //# sourceMappingURL=org-chart-edit.d.ts.map
@@ -0,0 +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,kBA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AAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,GACnB;IAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAkEnD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,SAAS,CAuChG"}
@@ -0,0 +1,35 @@
1
+ import type { VisioEdit } from '../edit-commands.js';
2
+ import type { VisioPage } from '../model.js';
3
+ import type { VisioDataTable } from './data-table.js';
4
+ /** One row of an org chart import: a person and who they report to. */
5
+ export interface VisioOrgPerson {
6
+ name: string;
7
+ title: string;
8
+ /** The Name (or ID) of the manager; empty for the top of a tree. */
9
+ reportsTo: string;
10
+ /** An identifier other rows may use in their Reports To column. */
11
+ id?: string;
12
+ department?: string;
13
+ telephone?: string;
14
+ email?: string;
15
+ assistant?: boolean;
16
+ }
17
+ /**
18
+ * The people of an imported sheet. Columns are found by their headings: Name, Title and Reports To
19
+ * are required (Reports To holds the manager's Name, or their ID when the sheet has an ID column);
20
+ * Department, Telephone, E-Mail and a Type column (a value of "Assistant" makes the row an
21
+ * assistant) are used when present. Returns an error sentence when the sheet cannot be read.
22
+ */
23
+ export declare function visioOrgPeople(table: VisioDataTable): VisioOrgPerson[] | string;
24
+ /**
25
+ * Org Chart > Import: build an org chart from `people` on `page`, to the right of what is already
26
+ * there. Tops of trees are Executive Belts, people with subordinates Manager Belts, the rest
27
+ * Position Belts and assistants Assistant Belts, joined by Dynamic connectors, with Name, Title
28
+ * and the optional rows as Shape Data and the text following the data. The page grows to hold
29
+ * the chart. One batch, so it is one undo step. Returns an error sentence when it cannot be done.
30
+ */
31
+ export declare function visioOrgImportEdits(page: VisioPage, people: readonly VisioOrgPerson[]): {
32
+ edits: VisioEdit[];
33
+ firstId: string;
34
+ } | string;
35
+ //# sourceMappingURL=org-chart-import.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-chart-import.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAYnD,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,cAAc,EAAE,GAAG,MAAM,CAkC/E;AAuCD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,SAAS,cAAc,EAAE,GAC/B;IAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAiFlD"}
@@ -0,0 +1,43 @@
1
+ import type { VisioEdit } from '../edit-commands.js';
2
+ import type { VisioPage } from '../model.js';
3
+ export interface OrgLayoutNode {
4
+ id: string;
5
+ /** Page inches. */
6
+ width: number;
7
+ height: number;
8
+ /** An assistant sits beside its manager's line, between the manager and the subordinates. */
9
+ assistant?: boolean;
10
+ /** Where the position is now (x, page inches): siblings keep their order. New ones go last. */
11
+ hint?: number;
12
+ }
13
+ export interface OrgPoint {
14
+ x: number;
15
+ y: number;
16
+ }
17
+ /**
18
+ * Lay a tree of positions out top-down and return each position's centre, x rightward and y
19
+ * downward from the top left of the whole chart. Each manager sits over its subordinates, and
20
+ * every level is a row. A manager's assistants are stacked to the right of the line that drops
21
+ * from the manager, in a band of their own between the manager's row and the next, as Visio
22
+ * places them; the rows below are pushed down to make room.
23
+ */
24
+ export declare function planOrgLayout(nodes: readonly OrgLayoutNode[], edges: readonly {
25
+ from: string;
26
+ to: string;
27
+ }[]): Map<string, OrgPoint> | undefined;
28
+ export interface OrgNewNode extends OrgLayoutNode {
29
+ /** The position the new one reports to. */
30
+ parent: string;
31
+ }
32
+ /**
33
+ * Lay the page's tree out again with `extra` positions (not in the page yet) added. Existing
34
+ * positions keep the top-left corner of their bounds. Returns the move edits for existing
35
+ * positions and the new positions' centres (drawing inches, y up).
36
+ */
37
+ export declare function layoutOrgPage(page: VisioPage, extra?: readonly OrgNewNode[]): {
38
+ moves: VisioEdit[];
39
+ centres: Map<string, OrgPoint>;
40
+ } | undefined;
41
+ /** Org Chart > Layout: put every position back in a tidy top-down tree. */
42
+ export declare function visioOrgReLayout(page: VisioPage): VisioEdit[] | undefined;
43
+ //# sourceMappingURL=org-chart-layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-chart-layout.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AAYtD,MAAM,WAAW,aAAa;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+FAA+F;IAC/F,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,QAAQ;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAcD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC5B,KAAK,EAAE,SAAS,aAAa,EAAE,EAC/B,KAAK,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,GAC5C,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,SAAS,CAwGnC;AAED,MAAM,WAAW,UAAW,SAAQ,aAAa;IAChD,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;CACf;AAMD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,GAAE,SAAS,UAAU,EAAO;;;cAyD/E;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,EAAE,GAAG,SAAS,CAGzE"}
@@ -0,0 +1,11 @@
1
+ /** Master IDs inside the stencil: Executive Belt = 2, Manager Belt = 4, Position Belt = 5, Assistant Belt = 6, Dynamic connector = 15. */
2
+ export declare const ORG_STENCIL_MASTER_IDS: {
3
+ readonly 'Executive Belt': '2';
4
+ readonly 'Manager Belt': '4';
5
+ readonly 'Position Belt': '5';
6
+ readonly 'Assistant Belt': '6';
7
+ readonly 'Dynamic connector': '15';
8
+ };
9
+ /** The stencil package bytes (a .vssx holding the org chart masters). */
10
+ export declare const orgStencilBytes: () => Uint8Array;
11
+ //# sourceMappingURL=org-chart-stencil-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-chart-stencil-data.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-stencil-data.ts"],"names":[],"mappings":"AACA,0IAA0I;AAC1I,eAAO,MAAM,sBAAsB;aAClC,gBAAgB,EAAE,GAAG;aACrB,cAAc,EAAE,GAAG;aACnB,eAAe,EAAE,GAAG;aACpB,gBAAgB,EAAE,GAAG;aACrB,mBAAmB,EAAE,IAAI;CAChB,CAAC;AA8PX,yEAAyE;AACzE,eAAO,MAAM,eAAe,QAAO,UACiC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The Basic Organization Chart starter: a Chief Executive, three Managers and two Positions,
3
+ * instances of Visio's Executive, Manager and Position Belt masters joined by Dynamic connectors,
4
+ * built by the editor's own edit API. The text of each position is its Name and Title Shape Data.
5
+ */
6
+ export declare function createOrgChartTemplate(): Promise<Uint8Array>;
7
+ //# sourceMappingURL=org-chart-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-chart-template.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart-template.ts"],"names":[],"mappings":"AA+BA;;;;GAIG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,UAAU,CAAC,CA6BlE"}
@@ -22,16 +22,21 @@ export declare const VISIO_ORG_ROWS: readonly [{
22
22
  readonly label: 'E-Mail';
23
23
  }];
24
24
  export interface VisioOrgPositionData {
25
- Name: string;
26
- Title: string;
25
+ Name?: string;
26
+ Title?: string;
27
27
  Department?: string;
28
28
  Telephone?: string;
29
29
  Email?: string;
30
30
  }
31
- /** The set-shape-data edits that give a shape the org chart rows. */
31
+ /**
32
+ * The set-shape-data edits for the rows `data` names. The rows themselves come from the master the
33
+ * position is an instance of; only the values given are written.
34
+ */
32
35
  export declare function visioOrgDataEdits(pageId: string, shapeId: string, data: VisioOrgPositionData): VisioEdit[];
33
36
  /** Whether a shape is an org chart position: it carries every org chart Shape Data row. */
34
37
  export declare const visioIsOrgPosition: (shape: VisioShape | undefined) => boolean;
38
+ /** Whether a position is an instance of the Assistant Belt master (instances are named after it). */
39
+ export declare const visioIsOrgAssistant: (shape: VisioShape | undefined) => boolean;
35
40
  /** The org chart position a selected shape is, when it is one. */
36
41
  export declare function visioOrgPosition(page: VisioPage, shapeId: string): VisioShape | undefined;
37
42
  export interface VisioOrgHierarchy {
@@ -47,29 +52,12 @@ export interface VisioOrgHierarchy {
47
52
  }
48
53
  /** The positions of a page and the glued connectors that join them. */
49
54
  export declare function visioOrgHierarchy(page: VisioPage): VisioOrgHierarchy;
50
- declare const FILLS: {
51
- readonly subordinate: '#D8EFEB';
52
- readonly peer: '#D8EFEB';
53
- readonly assistant: '#F3EEE1';
54
- };
55
- export type VisioOrgAddKind = keyof typeof FILLS;
56
- /** Org Chart > Layout: put every position back in a tidy top-down tree. */
57
- export declare function visioOrgReLayout(page: VisioPage): VisioEdit[] | undefined;
58
- /**
59
- * Org Chart > Subordinate, Assistant or Coworker: a new position under the selected one (or under
60
- * its manager, for a coworker), joined by a glued connector and carrying the org chart Shape Data,
61
- * then the whole tree laid out again so the new box has room. One edit batch, so it is one undo
62
- * step. The new shape id is returned for selection. Assistants are placed like subordinates.
63
- */
64
- export declare function visioOrgAddPosition(page: VisioPage, shapeId: string, kind: VisioOrgAddKind): {
65
- edits: VisioEdit[];
66
- newId: string;
67
- } | undefined;
55
+ /** The text a position shows: its Name, then its Title, each on a line of its own when set. */
56
+ export declare const visioOrgText: (data: Pick<VisioOrgPositionData, 'Name' | 'Title'>) => string;
68
57
  /**
69
- * Org Chart > Delete Position: the position and the connectors glued to it go; its subordinates
70
- * are joined to its manager, or become tops of their own trees when it had none. Two batches
71
- * (the deletion, then the new connectors), applied in order.
58
+ * Keep the text of an org chart position in step with its Shape Data, as Visio's org chart shows
59
+ * the Name and Title fields: after a `set-shape-data` of the Name or Title row of a position, a
60
+ * text edit with the new Name and Title follows it. Other edits are returned as they are.
72
61
  */
73
- export declare function visioOrgDeletePosition(page: VisioPage, shapeId: string): VisioEdit[][] | undefined;
74
- export {};
62
+ export declare function visioOrgFollowData(page: VisioPage, edits: readonly VisioEdit[]): VisioEdit[];
75
63
  //# sourceMappingURL=org-chart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"org-chart.d.ts","sourceRoot":"","sources":["../../../visio/ui/org-chart.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OA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ation.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,CAqXjE"}
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"}
@@ -0,0 +1,10 @@
1
+ import type { VisioPage } from '../model.js';
2
+ /**
3
+ * The part of a selection that is moved or resized as shapes. A connector in the selection with
4
+ * both ends glued to selected shapes (or to members of selected groups) is not moved itself: the
5
+ * core lays it out again after each shape command, which puts it where its two ends now are. A
6
+ * connector with a free end, or an end glued outside the selection, makes the whole selection
7
+ * ineligible (`undefined`): its free end has no rule here, and Visio moves it differently.
8
+ */
9
+ export declare function visioSelectionShapes(page: VisioPage, ids: readonly string[]): string[] | undefined;
10
+ //# sourceMappingURL=selection-connectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection-connectors.d.ts","sourceRoot":"","sources":["../../../visio/ui/selection-connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AActD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,SAAS,MAAM,EAAE,GACpB,MAAM,EAAE,GAAG,SAAS,CAqBtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"selection-resize.d.ts","sourceRoot":"","sources":["../../../visio/ui/selection-resize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AAEtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAON,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,MAAM,gBAAgB,CAAC;AAiExB,6FAA6F;AAC7F,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,SAAS,MAAM,EAAE,GACpB,gBAAgB,GAAG,SAAS,CAG9B;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,SAAS,MAAM,EAAE,EACtB,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,cAAc,EACnB,OAAO,GAAE,sBAA2B,GAElC;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,gBAAgB,CAAA;KAAE,EAAE,CAAC;CAClD,GACD,SAAS,CA6HX"}
1
+ {"version":3,"file":"selection-resize.d.ts","sourceRoot":"","sources":["../../../visio/ui/selection-resize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAON,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,MAAM,gBAAgB,CAAC;AAmExB,6FAA6F;AAC7F,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,SAAS,MAAM,EAAE,GACpB,gBAAgB,GAAG,SAAS,CAG9B;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,SAAS,MAAM,EAAE,EACtB,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,cAAc,EACnB,OAAO,GAAE,sBAA2B,GAElC;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,gBAAgB,CAAA;KAAE,EAAE,CAAC;CAClD,GACD,SAAS,CA6HX"}
@@ -1,7 +1,9 @@
1
1
  import type { VisioPage, VisioShape } from '../model.js';
2
2
  import type { VisioGroupShapesEdit, VisioUngroupShapeEdit } from '../edit-group-commands.js';
3
3
  /** A top-level group the pointer can move as one sheet. */
4
- export declare function visioMovableGroup(page: VisioPage, id: string): VisioShape | undefined;
4
+ export declare function visioMovableGroup(page: VisioPage, id: string,
5
+ /** Moving may leave connectors glued to members; ungrouping may not. */
6
+ followGlue?: boolean): VisioShape | undefined;
5
7
  /** Group two or more selected top-level shapes; members keep page stacking order. */
6
8
  export declare function visioGroupCommand(page: VisioPage, shapeIds: readonly string[]): VisioGroupShapesEdit | undefined;
7
9
  /** Ungroup exactly one selected top-level group. */
@@ -1 +1 @@
1
- {"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../visio/ui/shape-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAuB1F,2DAA2D;AAC3D,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAIrF;AAED,qFAAqF;AACrF,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,SAAS,MAAM,EAAE,GACzB,oBAAoB,GAAG,SAAS,CAmBlC;AAED,oDAAoD;AACpD,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,SAAS,MAAM,EAAE,GACzB,qBAAqB,GAAG,SAAS,CAGnC"}
1
+ {"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../visio/ui/shape-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAuB1F,2DAA2D;AAC3D,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,SAAS,EACf,EAAE,EAAE,MAAM;AACV,wEAAwE;AACxE,UAAU,UAAQ,GAChB,UAAU,GAAG,SAAS,CAIxB;AAED,qFAAqF;AACrF,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,SAAS,MAAM,EAAE,GACzB,oBAAoB,GAAG,SAAS,CAmBlC;AAED,oDAAoD;AACpD,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,SAAS,MAAM,EAAE,GACzB,qBAAqB,GAAG,SAAS,CAGnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shape-move.d.ts","sourceRoot":"","sources":["../../../visio/ui/shape-move.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMnE,MAAM,WAAW,cAAc;IAC9B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAaD,6FAA6F;AAC7F,wBAAgB,kB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AgB,2BAA2B,CAC1C,MAAM,EAAE,iBAAiB,EACzB,OAAO,GAAE,sBAA2B,GAClC,OAAO,CAET;AACD;gGACgG;AAChG,wBAAgB,qBAAqB,CACpC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACxC,GAAG,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACtC,QAAQ,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAClC,GAAG;IAAK,KAAK;IAAiC,MAAM;CAAkC,GACpF;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAanC;AACD;;GAEG;AACH,wBAAgB,eAAe,CAC9B,IAAI,EAAE,SAAS,EACf,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,cAAc,EACnB,OAAO,GAAE,sBAA2B,GAClC;IAAE,KAAK,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC,SAAS,EAAE;QAAE,IAAI,EAAE,cAAc,CAAA;KAAE,CAAC,CAAA;CAAE,GAAG,SAAS,CAgDhG"}
@@ -5,7 +5,9 @@ import type { VisioPage, VisioShape } from '../model.js';
5
5
  * stencil shapes; each stays an instance of its master and moves with the group as one member.
6
6
  * Source protections remain enforced by core edits.
7
7
  */
8
- export declare function visioLocalRotationShape(page: VisioPage, shapeId: string, includeGroups?: boolean): VisioShape | undefined;
8
+ export declare function visioLocalRotationShape(page: VisioPage, shapeId: string, includeGroups?: boolean,
9
+ /** Connectors glued to members of the group follow it (core lays them out again). */
10
+ followGlue?: boolean): VisioShape | undefined;
9
11
  /**
10
12
  * What Rotate and Flip act on: a local shape or group, or a stencil instance (a group included), whose
11
13
  * angle and flip flags are saved as local values over its master.
@@ -1 +1 @@
1
- {"version":3,"file":"shape-rotation.d.ts","sourceRoot":"","sources":["../../../visio/ui/shape-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtD;;;;GAIG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,aAAa,UAAO,GAClB,UAAU,GAAG,SAAS,CA6CxB;AACD;;;GAGG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,aAAa,UAAO,GAClB,UAAU,GAAG,SAAS,CAcxB;AACD,+FAA+F;AAC/F,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAAG,OAAO,GACzB,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC,GAAG,SAAS,CAa1D"}
1
+ {"version":3,"file":"shape-rotation.d.ts","sourceRoot":"","sources":["../../../visio/ui/shape-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtD;;;;GAIG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,aAAa,UAAO;AACpB,qFAAqF;AACrF,UAAU,UAAQ,GAChB,UAAU,GAAG,SAAS,CAgDxB;AACD;;;GAGG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,aAAa,UAAO,GAClB,UAAU,GAAG,SAAS,CAcxB;AACD,+FAA+F;AAC/F,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAAG,OAAO,GACzB,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC,GAAG,SAAS,CAa1D"}
@@ -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,CAsTrE"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"swimlane.d.ts","sourceRoot":"","sources":["../../../visio/ui/swimlane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AACjF,OAAO,EAAsB,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAO5F,8FAA8F;AAC9F,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,yBAAyB,CAAC;IACnC,KAAK,EAAE,UAAU,EAAE,CAAC;CACpB;AAkCD,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAwBjG;AACD,yFAAyF;AACzF,eAAO,M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C,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,SAAS,CAAC,EAAE,sBAAsB,CAAC;CACnC;AAyCD,yFAAyF;AACzF,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,mBAAmB,GACzB,SAAS,EAAE,GAAG,SAAS,CAgCzB;AAED,mFAAmF;AACnF,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,SAAS,EACf,SAAS,EAAE,sBAAsB,EACjC,SAAS,SAAI,GACX,SAAS,EAAE,GAAG,SAAS,CA0BzB"}
@@ -11,6 +11,10 @@ export declare const VISIO_TEMPLATES: readonly [{
11
11
  readonly id: 'cross-functional-flowchart';
12
12
  readonly name: 'Cross-Functional Flowchart';
13
13
  readonly description: 'A process across three horizontal swimlanes that stack and resize together.';
14
+ }, {
15
+ readonly id: 'cross-functional-flowchart-vertical';
16
+ readonly name: 'Cross-Functional Flowchart (Vertical)';
17
+ readonly description: 'A process across three vertical swimlanes, lanes side by side with the flow running down.';
14
18
  }, {
15
19
  readonly id: 'organization-chart';
16
20
  readonly name: 'Basic Organization Chart';
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../visio/ui/templates.ts"],"names":[],"mappings":"AAIA,8EAA8E;AAC9E,eAAO,MAAM,eAAe;aACzB,EAAE,EAAE,OAAO;aAAE,IAAI,EAAE,eAAe;aAAE,WAAW,EAAE,yBAAyB;;aAE3E,EAAE,EAAE,iBAAiB;aACrB,IAAI,EAAE,iBAAiB;aACvB,WAAW,EAAE,gEAAgE;;aAG7E,EAAE,EAAE,4BAA4B;aAChC,IAAI,EAAE,4BAA4B;aAClC,WAAW,EAAE,6EAA6E;;aAG1F,EAAE,EAAE,oBAAoB;aACxB,IAAI,EAAE,0BAA0B;aAChC,WAAW,EAAE,mDAAmD;EAExD,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,KAAK,IAAI,eACF,CAAC;AA0E3D;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CA4BjF"}
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../visio/ui/templates.ts"],"names":[],"mappings":"AAIA,8EAA8E;AAC9E,eAAO,MAAM,eAAe;aACzB,EAAE,EAAE,OAAO;aAAE,IAAI,EAAE,eAAe;aAAE,WAAW,EAAE,yBAAyB;;aAE3E,EAAE,EAAE,iBAAiB;aACrB,IAAI,EAAE,iBAAiB;aACvB,WAAW,EAAE,gEAAgE;;aAG7E,EAAE,EAAE,4BAA4B;aAChC,IAAI,EAAE,4BAA4B;aAClC,WAAW,EAAE,6EAA6E;;aAG1F,EAAE,EAAE,qCAAqC;aACzC,IAAI,EAAE,uCAAuC;aAC7C,WAAW,EACV,2FAA2F;;aAG5F,EAAE,EAAE,oBAAoB;aACxB,IAAI,EAAE,0BAA0B;aAChC,WAAW,EAAE,mDAAmD;EAExD,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,KAAK,IAAI,eACF,CAAC;AA4E3D;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CA6BjF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ooxml-core",
3
- "version": "1.34.0",
3
+ "version": "1.36.0",
4
4
  "description": "Shared OOXML logic for the Word, PowerPoint and Excel viewers: everything except the UI",
5
5
  "keywords": [
6
6
  "charts",