ooxml-core 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +3 -0
  3. package/README.md +125 -0
  4. package/THIRD-PARTY-LICENSES +26 -0
  5. package/dist/collab/assets.d.ts +42 -0
  6. package/dist/collab/assets.d.ts.map +1 -0
  7. package/dist/collab/awareness.d.ts +65 -0
  8. package/dist/collab/awareness.d.ts.map +1 -0
  9. package/dist/collab/binding.d.ts +36 -0
  10. package/dist/collab/binding.d.ts.map +1 -0
  11. package/dist/collab/codec.d.ts +37 -0
  12. package/dist/collab/codec.d.ts.map +1 -0
  13. package/dist/collab/emitter.d.ts +11 -0
  14. package/dist/collab/emitter.d.ts.map +1 -0
  15. package/dist/collab/external-provider.d.ts +50 -0
  16. package/dist/collab/external-provider.d.ts.map +1 -0
  17. package/dist/collab/identity.d.ts +48 -0
  18. package/dist/collab/identity.d.ts.map +1 -0
  19. package/dist/collab/index.cjs +1328 -0
  20. package/dist/collab/index.d.ts +18 -0
  21. package/dist/collab/index.d.ts.map +1 -0
  22. package/dist/collab/index.mjs +1225 -0
  23. package/dist/collab/lifecycle.d.ts +62 -0
  24. package/dist/collab/lifecycle.d.ts.map +1 -0
  25. package/dist/collab/memory-transport.d.ts +19 -0
  26. package/dist/collab/memory-transport.d.ts.map +1 -0
  27. package/dist/collab/ordering.d.ts +53 -0
  28. package/dist/collab/ordering.d.ts.map +1 -0
  29. package/dist/collab/policy.d.ts +39 -0
  30. package/dist/collab/policy.d.ts.map +1 -0
  31. package/dist/collab/presence.d.ts +61 -0
  32. package/dist/collab/presence.d.ts.map +1 -0
  33. package/dist/collab/provider.d.ts +55 -0
  34. package/dist/collab/provider.d.ts.map +1 -0
  35. package/dist/collab/session.d.ts +70 -0
  36. package/dist/collab/session.d.ts.map +1 -0
  37. package/dist/collab/transport-provider.d.ts +13 -0
  38. package/dist/collab/transport-provider.d.ts.map +1 -0
  39. package/dist/collab/validation.d.ts +38 -0
  40. package/dist/collab/validation.d.ts.map +1 -0
  41. package/dist/collab/websocket-transport.d.ts +33 -0
  42. package/dist/collab/websocket-transport.d.ts.map +1 -0
  43. package/dist/color/color-linear.d.ts +5 -0
  44. package/dist/color/color-linear.d.ts.map +1 -0
  45. package/dist/color/color-primitives.d.ts +183 -0
  46. package/dist/color/color-primitives.d.ts.map +1 -0
  47. package/dist/color/index.cjs +177 -0
  48. package/dist/color/index.d.ts +3 -0
  49. package/dist/color/index.d.ts.map +1 -0
  50. package/dist/color/index.mjs +161 -0
  51. package/dist/diagram/attributes.d.ts +12 -0
  52. package/dist/diagram/attributes.d.ts.map +1 -0
  53. package/dist/diagram/data-model.d.ts +18 -0
  54. package/dist/diagram/data-model.d.ts.map +1 -0
  55. package/dist/diagram/definitions.d.ts +14 -0
  56. package/dist/diagram/definitions.d.ts.map +1 -0
  57. package/dist/diagram/dom.d.ts +15 -0
  58. package/dist/diagram/dom.d.ts.map +1 -0
  59. package/dist/diagram/drawing-color.d.ts +28 -0
  60. package/dist/diagram/drawing-color.d.ts.map +1 -0
  61. package/dist/diagram/drawing-fill.d.ts +9 -0
  62. package/dist/diagram/drawing-fill.d.ts.map +1 -0
  63. package/dist/diagram/drawing-geometry.d.ts +23 -0
  64. package/dist/diagram/drawing-geometry.d.ts.map +1 -0
  65. package/dist/diagram/drawing-text.d.ts +5 -0
  66. package/dist/diagram/drawing-text.d.ts.map +1 -0
  67. package/dist/diagram/drawing.d.ts +7 -0
  68. package/dist/diagram/drawing.d.ts.map +1 -0
  69. package/dist/diagram/index.cjs +1193 -0
  70. package/dist/diagram/index.d.ts +14 -0
  71. package/dist/diagram/index.d.ts.map +1 -0
  72. package/dist/diagram/index.mjs +1161 -0
  73. package/dist/diagram/layout-category.d.ts +8 -0
  74. package/dist/diagram/layout-category.d.ts.map +1 -0
  75. package/dist/diagram/load.d.ts +36 -0
  76. package/dist/diagram/load.d.ts.map +1 -0
  77. package/dist/diagram/relationships.d.ts +35 -0
  78. package/dist/diagram/relationships.d.ts.map +1 -0
  79. package/dist/diagram/types.d.ts +306 -0
  80. package/dist/diagram/types.d.ts.map +1 -0
  81. package/dist/docx/block-parser.d.ts +13 -0
  82. package/dist/docx/block-parser.d.ts.map +1 -0
  83. package/dist/docx/bookmarks.d.ts +18 -0
  84. package/dist/docx/bookmarks.d.ts.map +1 -0
  85. package/dist/docx/breaks.d.ts +11 -0
  86. package/dist/docx/breaks.d.ts.map +1 -0
  87. package/dist/docx/character-styles.d.ts +4 -0
  88. package/dist/docx/character-styles.d.ts.map +1 -0
  89. package/dist/docx/comment-spans.d.ts +19 -0
  90. package/dist/docx/comment-spans.d.ts.map +1 -0
  91. package/dist/docx/comments.d.ts +4 -0
  92. package/dist/docx/comments.d.ts.map +1 -0
  93. package/dist/docx/core-properties.d.ts +18 -0
  94. package/dist/docx/core-properties.d.ts.map +1 -0
  95. package/dist/docx/default-styles.d.ts +8 -0
  96. package/dist/docx/default-styles.d.ts.map +1 -0
  97. package/dist/docx/defined-props.d.ts +9 -0
  98. package/dist/docx/defined-props.d.ts.map +1 -0
  99. package/dist/docx/diagram-document.d.ts +9 -0
  100. package/dist/docx/diagram-document.d.ts.map +1 -0
  101. package/dist/docx/diagram-theme.d.ts +8 -0
  102. package/dist/docx/diagram-theme.d.ts.map +1 -0
  103. package/dist/docx/diagram.d.ts +89 -0
  104. package/dist/docx/diagram.d.ts.map +1 -0
  105. package/dist/docx/docpr-ids.d.ts +14 -0
  106. package/dist/docx/docpr-ids.d.ts.map +1 -0
  107. package/dist/docx/document-parts.d.ts +18 -0
  108. package/dist/docx/document-parts.d.ts.map +1 -0
  109. package/dist/docx/drawing.d.ts +13 -0
  110. package/dist/docx/drawing.d.ts.map +1 -0
  111. package/dist/docx/element-order.d.ts +13 -0
  112. package/dist/docx/element-order.d.ts.map +1 -0
  113. package/dist/docx/embedded.cjs +7646 -0
  114. package/dist/docx/embedded.d.ts +5 -0
  115. package/dist/docx/embedded.d.ts.map +1 -0
  116. package/dist/docx/embedded.mjs +7639 -0
  117. package/dist/docx/expect-defined.d.ts +3 -0
  118. package/dist/docx/expect-defined.d.ts.map +1 -0
  119. package/dist/docx/field-date.d.ts +10 -0
  120. package/dist/docx/field-date.d.ts.map +1 -0
  121. package/dist/docx/field-runs.d.ts +10 -0
  122. package/dist/docx/field-runs.d.ts.map +1 -0
  123. package/dist/docx/generated/wml-simple-types.d.ts +298 -0
  124. package/dist/docx/generated/wml-simple-types.d.ts.map +1 -0
  125. package/dist/docx/heading-list-kinds.d.ts +10 -0
  126. package/dist/docx/heading-list-kinds.d.ts.map +1 -0
  127. package/dist/docx/highlight.d.ts +5 -0
  128. package/dist/docx/highlight.d.ts.map +1 -0
  129. package/dist/docx/hyperlink.d.ts +8 -0
  130. package/dist/docx/hyperlink.d.ts.map +1 -0
  131. package/dist/docx/index.cjs +9784 -0
  132. package/dist/docx/index.d.ts +40 -0
  133. package/dist/docx/index.d.ts.map +1 -0
  134. package/dist/docx/index.mjs +9456 -0
  135. package/dist/docx/inline-model.d.ts +68 -0
  136. package/dist/docx/inline-model.d.ts.map +1 -0
  137. package/dist/docx/language.d.ts +3 -0
  138. package/dist/docx/language.d.ts.map +1 -0
  139. package/dist/docx/layout/adapt-drop-cap.d.ts +10 -0
  140. package/dist/docx/layout/adapt-drop-cap.d.ts.map +1 -0
  141. package/dist/docx/layout/adapt-floats.d.ts +8 -0
  142. package/dist/docx/layout/adapt-floats.d.ts.map +1 -0
  143. package/dist/docx/layout/adapt-notes.d.ts +13 -0
  144. package/dist/docx/layout/adapt-notes.d.ts.map +1 -0
  145. package/dist/docx/layout/adapt-paragraph-box.d.ts +12 -0
  146. package/dist/docx/layout/adapt-paragraph-box.d.ts.map +1 -0
  147. package/dist/docx/layout/adapt-table.d.ts +12 -0
  148. package/dist/docx/layout/adapt-table.d.ts.map +1 -0
  149. package/dist/docx/layout/adapter.d.ts +5 -0
  150. package/dist/docx/layout/adapter.d.ts.map +1 -0
  151. package/dist/docx/layout/floats.d.ts +20 -0
  152. package/dist/docx/layout/floats.d.ts.map +1 -0
  153. package/dist/docx/layout/flow-paragraph.d.ts +26 -0
  154. package/dist/docx/layout/flow-paragraph.d.ts.map +1 -0
  155. package/dist/docx/layout/flow-table.d.ts +12 -0
  156. package/dist/docx/layout/flow-table.d.ts.map +1 -0
  157. package/dist/docx/layout/fonts.d.ts +3 -0
  158. package/dist/docx/layout/fonts.d.ts.map +1 -0
  159. package/dist/docx/layout/index.cjs +2537 -0
  160. package/dist/docx/layout/index.d.ts +20 -0
  161. package/dist/docx/layout/index.d.ts.map +1 -0
  162. package/dist/docx/layout/index.mjs +2503 -0
  163. package/dist/docx/layout/input.d.ts +206 -0
  164. package/dist/docx/layout/input.d.ts.map +1 -0
  165. package/dist/docx/layout/keep-rules.d.ts +24 -0
  166. package/dist/docx/layout/keep-rules.d.ts.map +1 -0
  167. package/dist/docx/layout/layout.d.ts +9 -0
  168. package/dist/docx/layout/layout.d.ts.map +1 -0
  169. package/dist/docx/layout/ligatures.d.ts +4 -0
  170. package/dist/docx/layout/ligatures.d.ts.map +1 -0
  171. package/dist/docx/layout/line-metrics.d.ts +21 -0
  172. package/dist/docx/layout/line-metrics.d.ts.map +1 -0
  173. package/dist/docx/layout/measure.d.ts +34 -0
  174. package/dist/docx/layout/measure.d.ts.map +1 -0
  175. package/dist/docx/layout/page-cursor.d.ts +45 -0
  176. package/dist/docx/layout/page-cursor.d.ts.map +1 -0
  177. package/dist/docx/layout/page-flow.d.ts +7 -0
  178. package/dist/docx/layout/page-flow.d.ts.map +1 -0
  179. package/dist/docx/layout/paragraph-fragments.d.ts +6 -0
  180. package/dist/docx/layout/paragraph-fragments.d.ts.map +1 -0
  181. package/dist/docx/layout/paragraph-layout.d.ts +37 -0
  182. package/dist/docx/layout/paragraph-layout.d.ts.map +1 -0
  183. package/dist/docx/layout/paragraph-tokens.d.ts +27 -0
  184. package/dist/docx/layout/paragraph-tokens.d.ts.map +1 -0
  185. package/dist/docx/layout/result.d.ts +139 -0
  186. package/dist/docx/layout/result.d.ts.map +1 -0
  187. package/dist/docx/layout/tab-stops.d.ts +14 -0
  188. package/dist/docx/layout/tab-stops.d.ts.map +1 -0
  189. package/dist/docx/layout/table-layout.d.ts +30 -0
  190. package/dist/docx/layout/table-layout.d.ts.map +1 -0
  191. package/dist/docx/layout/test-helpers.d.ts +3 -0
  192. package/dist/docx/layout/test-helpers.d.ts.map +1 -0
  193. package/dist/docx/layout/text-breaks.d.ts +56 -0
  194. package/dist/docx/layout/text-breaks.d.ts.map +1 -0
  195. package/dist/docx/layout/units.d.ts +17 -0
  196. package/dist/docx/layout/units.d.ts.map +1 -0
  197. package/dist/docx/layout/wrap.d.ts +22 -0
  198. package/dist/docx/layout/wrap.d.ts.map +1 -0
  199. package/dist/docx/ligatures.d.ts +9 -0
  200. package/dist/docx/ligatures.d.ts.map +1 -0
  201. package/dist/docx/load/detect.d.ts +6 -0
  202. package/dist/docx/load/detect.d.ts.map +1 -0
  203. package/dist/docx/load/index.cjs +8869 -0
  204. package/dist/docx/load/index.d.ts +3 -0
  205. package/dist/docx/load/index.d.ts.map +1 -0
  206. package/dist/docx/load/index.mjs +8860 -0
  207. package/dist/docx/load/legacy-doc.d.ts +7 -0
  208. package/dist/docx/load/legacy-doc.d.ts.map +1 -0
  209. package/dist/docx/model-paragraph.d.ts +100 -0
  210. package/dist/docx/model-paragraph.d.ts.map +1 -0
  211. package/dist/docx/model-run.d.ts +110 -0
  212. package/dist/docx/model-run.d.ts.map +1 -0
  213. package/dist/docx/model.d.ts +114 -0
  214. package/dist/docx/model.d.ts.map +1 -0
  215. package/dist/docx/notes.d.ts +9 -0
  216. package/dist/docx/notes.d.ts.map +1 -0
  217. package/dist/docx/numbering-editing.d.ts +30 -0
  218. package/dist/docx/numbering-editing.d.ts.map +1 -0
  219. package/dist/docx/numbering-format.d.ts +17 -0
  220. package/dist/docx/numbering-format.d.ts.map +1 -0
  221. package/dist/docx/numbering-model.d.ts +73 -0
  222. package/dist/docx/numbering-model.d.ts.map +1 -0
  223. package/dist/docx/numbering-package.d.ts +12 -0
  224. package/dist/docx/numbering-package.d.ts.map +1 -0
  225. package/dist/docx/numbering-parse.d.ts +8 -0
  226. package/dist/docx/numbering-parse.d.ts.map +1 -0
  227. package/dist/docx/numbering-parts.d.ts +4 -0
  228. package/dist/docx/numbering-parts.d.ts.map +1 -0
  229. package/dist/docx/numbering-text.d.ts +20 -0
  230. package/dist/docx/numbering-text.d.ts.map +1 -0
  231. package/dist/docx/numbering-write.d.ts +5 -0
  232. package/dist/docx/numbering-write.d.ts.map +1 -0
  233. package/dist/docx/package-parts.d.ts +4 -0
  234. package/dist/docx/package-parts.d.ts.map +1 -0
  235. package/dist/docx/page-background.d.ts +9 -0
  236. package/dist/docx/page-background.d.ts.map +1 -0
  237. package/dist/docx/page-borders.d.ts +9 -0
  238. package/dist/docx/page-borders.d.ts.map +1 -0
  239. package/dist/docx/paragraph-alignment.d.ts +21 -0
  240. package/dist/docx/paragraph-alignment.d.ts.map +1 -0
  241. package/dist/docx/paragraph-styles.d.ts +15 -0
  242. package/dist/docx/paragraph-styles.d.ts.map +1 -0
  243. package/dist/docx/parse-diagnostics.d.ts +10 -0
  244. package/dist/docx/parse-diagnostics.d.ts.map +1 -0
  245. package/dist/docx/parse-revisions.d.ts +36 -0
  246. package/dist/docx/parse-revisions.d.ts.map +1 -0
  247. package/dist/docx/parse-table.d.ts +5 -0
  248. package/dist/docx/parse-table.d.ts.map +1 -0
  249. package/dist/docx/parse-warnings.d.ts +9 -0
  250. package/dist/docx/parse-warnings.d.ts.map +1 -0
  251. package/dist/docx/parse.d.ts +13 -0
  252. package/dist/docx/parse.d.ts.map +1 -0
  253. package/dist/docx/part-relationships.d.ts +12 -0
  254. package/dist/docx/part-relationships.d.ts.map +1 -0
  255. package/dist/docx/relationship-allocator.d.ts +32 -0
  256. package/dist/docx/relationship-allocator.d.ts.map +1 -0
  257. package/dist/docx/relationships.d.ts +3 -0
  258. package/dist/docx/relationships.d.ts.map +1 -0
  259. package/dist/docx/resolve-table.d.ts +8 -0
  260. package/dist/docx/resolve-table.d.ts.map +1 -0
  261. package/dist/docx/revision-commands.d.ts +27 -0
  262. package/dist/docx/revision-commands.d.ts.map +1 -0
  263. package/dist/docx/revision-ids.d.ts +10 -0
  264. package/dist/docx/revision-ids.d.ts.map +1 -0
  265. package/dist/docx/run-formatting.d.ts +16 -0
  266. package/dist/docx/run-formatting.d.ts.map +1 -0
  267. package/dist/docx/run-properties.d.ts +5 -0
  268. package/dist/docx/run-properties.d.ts.map +1 -0
  269. package/dist/docx/run-style-model.d.ts +21 -0
  270. package/dist/docx/run-style-model.d.ts.map +1 -0
  271. package/dist/docx/save.d.ts +5 -0
  272. package/dist/docx/save.d.ts.map +1 -0
  273. package/dist/docx/section-model.d.ts +97 -0
  274. package/dist/docx/section-model.d.ts.map +1 -0
  275. package/dist/docx/sections.d.ts +18 -0
  276. package/dist/docx/sections.d.ts.map +1 -0
  277. package/dist/docx/settings.d.ts +11 -0
  278. package/dist/docx/settings.d.ts.map +1 -0
  279. package/dist/docx/simple-types.d.ts +37 -0
  280. package/dist/docx/simple-types.d.ts.map +1 -0
  281. package/dist/docx/style-numbering-package.d.ts +11 -0
  282. package/dist/docx/style-numbering-package.d.ts.map +1 -0
  283. package/dist/docx/tab-stops.d.ts +8 -0
  284. package/dist/docx/tab-stops.d.ts.map +1 -0
  285. package/dist/docx/table-borders.d.ts +15 -0
  286. package/dist/docx/table-borders.d.ts.map +1 -0
  287. package/dist/docx/table-cell-write.d.ts +12 -0
  288. package/dist/docx/table-cell-write.d.ts.map +1 -0
  289. package/dist/docx/table-defaults.d.ts +20 -0
  290. package/dist/docx/table-defaults.d.ts.map +1 -0
  291. package/dist/docx/table-model.d.ts +101 -0
  292. package/dist/docx/table-model.d.ts.map +1 -0
  293. package/dist/docx/table-of-contents.d.ts +67 -0
  294. package/dist/docx/table-of-contents.d.ts.map +1 -0
  295. package/dist/docx/table-of-figures.d.ts +10 -0
  296. package/dist/docx/table-of-figures.d.ts.map +1 -0
  297. package/dist/docx/table-styles.d.ts +4 -0
  298. package/dist/docx/table-styles.d.ts.map +1 -0
  299. package/dist/docx/table-visuals.d.ts +22 -0
  300. package/dist/docx/table-visuals.d.ts.map +1 -0
  301. package/dist/docx/test-support/access.d.ts +14 -0
  302. package/dist/docx/test-support/access.d.ts.map +1 -0
  303. package/dist/docx/test-support/heading-numbering-fixture.d.ts +5 -0
  304. package/dist/docx/test-support/heading-numbering-fixture.d.ts.map +1 -0
  305. package/dist/docx/test-support/restart-fixture.d.ts +17 -0
  306. package/dist/docx/test-support/restart-fixture.d.ts.map +1 -0
  307. package/dist/docx/test-support/schema-validation.d.ts +24 -0
  308. package/dist/docx/test-support/schema-validation.d.ts.map +1 -0
  309. package/dist/docx/theme-color.d.ts +16 -0
  310. package/dist/docx/theme-color.d.ts.map +1 -0
  311. package/dist/docx/theme-model.d.ts +31 -0
  312. package/dist/docx/theme-model.d.ts.map +1 -0
  313. package/dist/docx/theme.d.ts +6 -0
  314. package/dist/docx/theme.d.ts.map +1 -0
  315. package/dist/docx/underline.d.ts +5 -0
  316. package/dist/docx/underline.d.ts.map +1 -0
  317. package/dist/docx/units.d.ts +2 -0
  318. package/dist/docx/units.d.ts.map +1 -0
  319. package/dist/docx/validate-issues.d.ts +40 -0
  320. package/dist/docx/validate-issues.d.ts.map +1 -0
  321. package/dist/docx/validate-model.d.ts +8 -0
  322. package/dist/docx/validate-model.d.ts.map +1 -0
  323. package/dist/docx/validate-paragraph.d.ts +10 -0
  324. package/dist/docx/validate-paragraph.d.ts.map +1 -0
  325. package/dist/docx/validate-structure.d.ts +10 -0
  326. package/dist/docx/validate-structure.d.ts.map +1 -0
  327. package/dist/docx/watermark.d.ts +14 -0
  328. package/dist/docx/watermark.d.ts.map +1 -0
  329. package/dist/docx/write-comments.d.ts +12 -0
  330. package/dist/docx/write-comments.d.ts.map +1 -0
  331. package/dist/docx/write-drawing.d.ts +12 -0
  332. package/dist/docx/write-drawing.d.ts.map +1 -0
  333. package/dist/docx/write-header-footer.d.ts +21 -0
  334. package/dist/docx/write-header-footer.d.ts.map +1 -0
  335. package/dist/docx/write-inline.d.ts +23 -0
  336. package/dist/docx/write-inline.d.ts.map +1 -0
  337. package/dist/docx/write-notes.d.ts +5 -0
  338. package/dist/docx/write-notes.d.ts.map +1 -0
  339. package/dist/docx/write-paragraph-decoration.d.ts +5 -0
  340. package/dist/docx/write-paragraph-decoration.d.ts.map +1 -0
  341. package/dist/docx/write-paragraph-properties.d.ts +4 -0
  342. package/dist/docx/write-paragraph-properties.d.ts.map +1 -0
  343. package/dist/docx/write-paragraph.d.ts +8 -0
  344. package/dist/docx/write-paragraph.d.ts.map +1 -0
  345. package/dist/docx/write-ranges.d.ts +42 -0
  346. package/dist/docx/write-ranges.d.ts.map +1 -0
  347. package/dist/docx/write-revisions.d.ts +10 -0
  348. package/dist/docx/write-revisions.d.ts.map +1 -0
  349. package/dist/docx/write-run-extra.d.ts +5 -0
  350. package/dist/docx/write-run-extra.d.ts.map +1 -0
  351. package/dist/docx/write-run-validation.d.ts +4 -0
  352. package/dist/docx/write-run-validation.d.ts.map +1 -0
  353. package/dist/docx/write-run.d.ts +7 -0
  354. package/dist/docx/write-run.d.ts.map +1 -0
  355. package/dist/docx/write-sections.d.ts +10 -0
  356. package/dist/docx/write-sections.d.ts.map +1 -0
  357. package/dist/docx/write-table-properties.d.ts +13 -0
  358. package/dist/docx/write-table-properties.d.ts.map +1 -0
  359. package/dist/docx/write-table.d.ts +9 -0
  360. package/dist/docx/write-table.d.ts.map +1 -0
  361. package/dist/docx/write-text-box.d.ts +15 -0
  362. package/dist/docx/write-text-box.d.ts.map +1 -0
  363. package/dist/docx/write.d.ts +25 -0
  364. package/dist/docx/write.d.ts.map +1 -0
  365. package/dist/docx/xml.d.ts +14 -0
  366. package/dist/docx/xml.d.ts.map +1 -0
  367. package/dist/docx/zip-parts.d.ts +5 -0
  368. package/dist/docx/zip-parts.d.ts.map +1 -0
  369. package/dist/geometry/adjustment-aware-shapes.d.ts +63 -0
  370. package/dist/geometry/adjustment-aware-shapes.d.ts.map +1 -0
  371. package/dist/geometry/callout-geometry.d.ts +65 -0
  372. package/dist/geometry/callout-geometry.d.ts.map +1 -0
  373. package/dist/geometry/cloud-bezier-paths.d.ts +55 -0
  374. package/dist/geometry/cloud-bezier-paths.d.ts.map +1 -0
  375. package/dist/geometry/com-avlst-ground-truth.d.ts +48 -0
  376. package/dist/geometry/com-avlst-ground-truth.d.ts.map +1 -0
  377. package/dist/geometry/connector-elbow-geometry.d.ts +41 -0
  378. package/dist/geometry/connector-elbow-geometry.d.ts.map +1 -0
  379. package/dist/geometry/guide-formula-api.d.ts +55 -0
  380. package/dist/geometry/guide-formula-api.d.ts.map +1 -0
  381. package/dist/geometry/guide-formula-eval.d.ts +85 -0
  382. package/dist/geometry/guide-formula-eval.d.ts.map +1 -0
  383. package/dist/geometry/index.cjs +15031 -0
  384. package/dist/geometry/index.d.ts +80 -0
  385. package/dist/geometry/index.d.ts.map +1 -0
  386. package/dist/geometry/index.mjs +14897 -0
  387. package/dist/geometry/indexed.d.ts +6 -0
  388. package/dist/geometry/indexed.d.ts.map +1 -0
  389. package/dist/geometry/preset-clip-paths-core.d.ts +20 -0
  390. package/dist/geometry/preset-clip-paths-core.d.ts.map +1 -0
  391. package/dist/geometry/preset-clip-paths-extended.d.ts +19 -0
  392. package/dist/geometry/preset-clip-paths-extended.d.ts.map +1 -0
  393. package/dist/geometry/preset-connection-sites-action-buttons.d.ts +14 -0
  394. package/dist/geometry/preset-connection-sites-action-buttons.d.ts.map +1 -0
  395. package/dist/geometry/preset-connection-sites-arrows-curved.d.ts +12 -0
  396. package/dist/geometry/preset-connection-sites-arrows-curved.d.ts.map +1 -0
  397. package/dist/geometry/preset-connection-sites-arrows-misc.d.ts +13 -0
  398. package/dist/geometry/preset-connection-sites-arrows-misc.d.ts.map +1 -0
  399. package/dist/geometry/preset-connection-sites-arrows.d.ts +13 -0
  400. package/dist/geometry/preset-connection-sites-arrows.d.ts.map +1 -0
  401. package/dist/geometry/preset-connection-sites-basic-a.d.ts +12 -0
  402. package/dist/geometry/preset-connection-sites-basic-a.d.ts.map +1 -0
  403. package/dist/geometry/preset-connection-sites-basic-b.d.ts +12 -0
  404. package/dist/geometry/preset-connection-sites-basic-b.d.ts.map +1 -0
  405. package/dist/geometry/preset-connection-sites-braces.d.ts +12 -0
  406. package/dist/geometry/preset-connection-sites-braces.d.ts.map +1 -0
  407. package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts +14 -0
  408. package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts.map +1 -0
  409. package/dist/geometry/preset-connection-sites-callouts-basic.d.ts +12 -0
  410. package/dist/geometry/preset-connection-sites-callouts-basic.d.ts.map +1 -0
  411. package/dist/geometry/preset-connection-sites-circular-arrow.d.ts +14 -0
  412. package/dist/geometry/preset-connection-sites-circular-arrow.d.ts.map +1 -0
  413. package/dist/geometry/preset-connection-sites-flowchart.d.ts +19 -0
  414. package/dist/geometry/preset-connection-sites-flowchart.d.ts.map +1 -0
  415. package/dist/geometry/preset-connection-sites-gear9.d.ts +12 -0
  416. package/dist/geometry/preset-connection-sites-gear9.d.ts.map +1 -0
  417. package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts +12 -0
  418. package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts.map +1 -0
  419. package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts +13 -0
  420. package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts.map +1 -0
  421. package/dist/geometry/preset-connection-sites-math.d.ts +12 -0
  422. package/dist/geometry/preset-connection-sites-math.d.ts.map +1 -0
  423. package/dist/geometry/preset-connection-sites-misc.d.ts +14 -0
  424. package/dist/geometry/preset-connection-sites-misc.d.ts.map +1 -0
  425. package/dist/geometry/preset-connection-sites-polygons.d.ts +12 -0
  426. package/dist/geometry/preset-connection-sites-polygons.d.ts.map +1 -0
  427. package/dist/geometry/preset-connection-sites-quads.d.ts +14 -0
  428. package/dist/geometry/preset-connection-sites-quads.d.ts.map +1 -0
  429. package/dist/geometry/preset-connection-sites-rects.d.ts +14 -0
  430. package/dist/geometry/preset-connection-sites-rects.d.ts.map +1 -0
  431. package/dist/geometry/preset-connection-sites-ribbons.d.ts +12 -0
  432. package/dist/geometry/preset-connection-sites-ribbons.d.ts.map +1 -0
  433. package/dist/geometry/preset-connection-sites-stars.d.ts +13 -0
  434. package/dist/geometry/preset-connection-sites-stars.d.ts.map +1 -0
  435. package/dist/geometry/preset-connection-sites-table.d.ts +23 -0
  436. package/dist/geometry/preset-connection-sites-table.d.ts.map +1 -0
  437. package/dist/geometry/preset-connection-sites-tabs.d.ts +11 -0
  438. package/dist/geometry/preset-connection-sites-tabs.d.ts.map +1 -0
  439. package/dist/geometry/preset-connection-sites-types.d.ts +52 -0
  440. package/dist/geometry/preset-connection-sites-types.d.ts.map +1 -0
  441. package/dist/geometry/preset-geometry-names.d.ts +53 -0
  442. package/dist/geometry/preset-geometry-names.d.ts.map +1 -0
  443. package/dist/geometry/preset-shape-clip-paths.d.ts +13 -0
  444. package/dist/geometry/preset-shape-clip-paths.d.ts.map +1 -0
  445. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +45 -0
  446. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -0
  447. package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts +55 -0
  448. package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts.map +1 -0
  449. package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts +45 -0
  450. package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts.map +1 -0
  451. package/dist/geometry/preset-shape-definitions-arrows.d.ts +52 -0
  452. package/dist/geometry/preset-shape-definitions-arrows.d.ts.map +1 -0
  453. package/dist/geometry/preset-shape-definitions-chart-marks.d.ts +23 -0
  454. package/dist/geometry/preset-shape-definitions-chart-marks.d.ts.map +1 -0
  455. package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts +28 -0
  456. package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts.map +1 -0
  457. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts +37 -0
  458. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -0
  459. package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts +43 -0
  460. package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts.map +1 -0
  461. package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts +30 -0
  462. package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts.map +1 -0
  463. package/dist/geometry/preset-shape-definitions-flowchart.d.ts +29 -0
  464. package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -0
  465. package/dist/geometry/preset-shape-definitions-gear6.d.ts +38 -0
  466. package/dist/geometry/preset-shape-definitions-gear6.d.ts.map +1 -0
  467. package/dist/geometry/preset-shape-definitions-gear9.d.ts +24 -0
  468. package/dist/geometry/preset-shape-definitions-gear9.d.ts.map +1 -0
  469. package/dist/geometry/preset-shape-definitions-misc.d.ts +38 -0
  470. package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -0
  471. package/dist/geometry/preset-shape-definitions-rects-snips.d.ts +28 -0
  472. package/dist/geometry/preset-shape-definitions-rects-snips.d.ts.map +1 -0
  473. package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts +45 -0
  474. package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts.map +1 -0
  475. package/dist/geometry/preset-shape-definitions-table.d.ts +121 -0
  476. package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -0
  477. package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts +48 -0
  478. package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts.map +1 -0
  479. package/dist/geometry/preset-shape-definitions.d.ts +28 -0
  480. package/dist/geometry/preset-shape-definitions.d.ts.map +1 -0
  481. package/dist/geometry/preset-shape-paths.d.ts +13 -0
  482. package/dist/geometry/preset-shape-paths.d.ts.map +1 -0
  483. package/dist/geometry/preset-shape-types.d.ts +33 -0
  484. package/dist/geometry/preset-shape-types.d.ts.map +1 -0
  485. package/dist/geometry/preset-text-rect-action-buttons.d.ts +13 -0
  486. package/dist/geometry/preset-text-rect-action-buttons.d.ts.map +1 -0
  487. package/dist/geometry/preset-text-rect-arrows.d.ts +3 -0
  488. package/dist/geometry/preset-text-rect-arrows.d.ts.map +1 -0
  489. package/dist/geometry/preset-text-rect-braces.d.ts +3 -0
  490. package/dist/geometry/preset-text-rect-braces.d.ts.map +1 -0
  491. package/dist/geometry/preset-text-rect-callouts.d.ts +3 -0
  492. package/dist/geometry/preset-text-rect-callouts.d.ts.map +1 -0
  493. package/dist/geometry/preset-text-rect-circular-arrows.d.ts +3 -0
  494. package/dist/geometry/preset-text-rect-circular-arrows.d.ts.map +1 -0
  495. package/dist/geometry/preset-text-rect-flowchart.d.ts +3 -0
  496. package/dist/geometry/preset-text-rect-flowchart.d.ts.map +1 -0
  497. package/dist/geometry/preset-text-rect-misc-a.d.ts +3 -0
  498. package/dist/geometry/preset-text-rect-misc-a.d.ts.map +1 -0
  499. package/dist/geometry/preset-text-rect-misc-b.d.ts +3 -0
  500. package/dist/geometry/preset-text-rect-misc-b.d.ts.map +1 -0
  501. package/dist/geometry/preset-text-rect-polygons.d.ts +3 -0
  502. package/dist/geometry/preset-text-rect-polygons.d.ts.map +1 -0
  503. package/dist/geometry/preset-text-rect-quads.d.ts +3 -0
  504. package/dist/geometry/preset-text-rect-quads.d.ts.map +1 -0
  505. package/dist/geometry/preset-text-rect-ribbons.d.ts +3 -0
  506. package/dist/geometry/preset-text-rect-ribbons.d.ts.map +1 -0
  507. package/dist/geometry/preset-text-rect-stars.d.ts +3 -0
  508. package/dist/geometry/preset-text-rect-stars.d.ts.map +1 -0
  509. package/dist/geometry/preset-text-rect-table.d.ts +20 -0
  510. package/dist/geometry/preset-text-rect-table.d.ts.map +1 -0
  511. package/dist/geometry/preset-text-rect-tabs.d.ts +3 -0
  512. package/dist/geometry/preset-text-rect-tabs.d.ts.map +1 -0
  513. package/dist/geometry/preset-text-rect-types.d.ts +46 -0
  514. package/dist/geometry/preset-text-rect-types.d.ts.map +1 -0
  515. package/dist/geometry/shape-boolean-clipping.d.ts +70 -0
  516. package/dist/geometry/shape-boolean-clipping.d.ts.map +1 -0
  517. package/dist/geometry/shape-boolean-ops.d.ts +142 -0
  518. package/dist/geometry/shape-boolean-ops.d.ts.map +1 -0
  519. package/dist/geometry/shape-boolean-svg.d.ts +31 -0
  520. package/dist/geometry/shape-boolean-svg.d.ts.map +1 -0
  521. package/dist/geometry/shape-boolean-types.d.ts +91 -0
  522. package/dist/geometry/shape-boolean-types.d.ts.map +1 -0
  523. package/dist/geometry/shape-boolean-union.d.ts +79 -0
  524. package/dist/geometry/shape-boolean-union.d.ts.map +1 -0
  525. package/dist/geometry/shape-boolean.d.ts +22 -0
  526. package/dist/geometry/shape-boolean.d.ts.map +1 -0
  527. package/dist/geometry/shape-definitions-extended.d.ts +18 -0
  528. package/dist/geometry/shape-definitions-extended.d.ts.map +1 -0
  529. package/dist/geometry/shape-definitions-primary.d.ts +19 -0
  530. package/dist/geometry/shape-definitions-primary.d.ts.map +1 -0
  531. package/dist/index.cjs +16618 -0
  532. package/dist/index.d.ts +7 -0
  533. package/dist/index.d.ts.map +1 -0
  534. package/dist/index.mjs +16611 -0
  535. package/dist/opc/content-types.d.ts +14 -0
  536. package/dist/opc/content-types.d.ts.map +1 -0
  537. package/dist/opc/index.cjs +228 -0
  538. package/dist/opc/index.d.ts +6 -0
  539. package/dist/opc/index.d.ts.map +1 -0
  540. package/dist/opc/index.mjs +212 -0
  541. package/dist/opc/package.d.ts +14 -0
  542. package/dist/opc/package.d.ts.map +1 -0
  543. package/dist/opc/relationship-types.d.ts +34 -0
  544. package/dist/opc/relationship-types.d.ts.map +1 -0
  545. package/dist/opc/relationships.d.ts +29 -0
  546. package/dist/opc/relationships.d.ts.map +1 -0
  547. package/dist/opc/safe-href.d.ts +3 -0
  548. package/dist/opc/safe-href.d.ts.map +1 -0
  549. package/dist/pptx/chunks/index-CojJtI77.d.ts +9627 -0
  550. package/dist/pptx/chunks/index-CojJtI77.d.ts.map +1 -0
  551. package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts +220 -0
  552. package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts.map +1 -0
  553. package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts +11122 -0
  554. package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts.map +1 -0
  555. package/dist/pptx/cli/index.cjs +138457 -0
  556. package/dist/pptx/cli/index.d.ts +139 -0
  557. package/dist/pptx/cli/index.d.ts.map +1 -0
  558. package/dist/pptx/cli/index.mjs +138424 -0
  559. package/dist/pptx/converter/index.cjs +32084 -0
  560. package/dist/pptx/converter/index.d.ts +2 -0
  561. package/dist/pptx/converter/index.mjs +32060 -0
  562. package/dist/pptx/index.cjs +172307 -0
  563. package/dist/pptx/index.d.ts +9692 -0
  564. package/dist/pptx/index.d.ts.map +1 -0
  565. package/dist/pptx/index.mjs +171623 -0
  566. package/dist/pptx/signature-node/index.cjs +1299 -0
  567. package/dist/pptx/signature-node/index.d.ts +172 -0
  568. package/dist/pptx/signature-node/index.d.ts.map +1 -0
  569. package/dist/pptx/signature-node/index.mjs +1236 -0
  570. package/dist/units/constants.d.ts +13 -0
  571. package/dist/units/constants.d.ts.map +1 -0
  572. package/dist/units/index.cjs +76 -0
  573. package/dist/units/index.d.ts +3 -0
  574. package/dist/units/index.d.ts.map +1 -0
  575. package/dist/units/index.mjs +45 -0
  576. package/dist/units/units.d.ts +52 -0
  577. package/dist/units/units.d.ts.map +1 -0
  578. package/dist/xml/index.cjs +98 -0
  579. package/dist/xml/index.d.ts +3 -0
  580. package/dist/xml/index.d.ts.map +1 -0
  581. package/dist/xml/index.mjs +85 -0
  582. package/dist/xml/namespaces.d.ts +47 -0
  583. package/dist/xml/namespaces.d.ts.map +1 -0
  584. package/dist/xml/xml.d.ts +31 -0
  585. package/dist/xml/xml.d.ts.map +1 -0
  586. package/package.json +192 -0
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Index access helper for `noUncheckedIndexedAccess`. Use only where the index is guaranteed
3
+ * to be in range by the surrounding algorithm; throws if the invariant is ever violated.
4
+ */
5
+ export declare function at<T>(items: ArrayLike<T>, index: number): T;
6
+ //# sourceMappingURL=indexed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexed.d.ts","sourceRoot":"","sources":["../../src/geometry/indexed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAM3D"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Core preset clip-paths: basic shapes, rectangle variants, and arrows.
3
+ *
4
+ * Split from the full OOXML preset geometry map for file-size compliance.
5
+ * Each entry maps a lowercase OOXML preset geometry name to a CSS
6
+ * `clip-path` value (a `polygon(...)`, `ellipse(...)`, `circle(...)`,
7
+ * or `inset(...)` expression). Entries with `undefined` values indicate
8
+ * shapes that are handled by other means (e.g. `border-radius` for
9
+ * rounded rectangles, or special-case rendering for cylinders).
10
+ *
11
+ * Format: `lowercaseOoxmlName: "css-clip-path-value" | undefined`
12
+ */
13
+ /**
14
+ * Core clip-path lookup for basic shapes, rectangle variants, and arrows.
15
+ *
16
+ * Merged into the master `PRESET_SHAPE_CLIP_PATHS` record by
17
+ * `preset-shape-clip-paths.ts`.
18
+ */
19
+ export declare const CLIP_PATHS_CORE: Record<string, string | undefined>;
20
+ //# sourceMappingURL=preset-clip-paths-core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-clip-paths-core.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-clip-paths-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAsI9D,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Extended preset clip-paths: stars, callouts, flowchart, math, action
3
+ * buttons, and miscellaneous shapes.
4
+ *
5
+ * Split from the full OOXML preset geometry map for file-size compliance.
6
+ * Each entry maps a lowercase OOXML preset geometry name to a CSS
7
+ * `clip-path` value. See `preset-clip-paths-core.ts` for format details.
8
+ *
9
+ * Format: `lowercaseOoxmlName: "css-clip-path-value" | undefined`
10
+ */
11
+ /**
12
+ * Extended clip-path lookup for stars, callouts, flowchart, math,
13
+ * action buttons, and miscellaneous shapes.
14
+ *
15
+ * Merged into the master `PRESET_SHAPE_CLIP_PATHS` record by
16
+ * `preset-shape-clip-paths.ts`.
17
+ */
18
+ export declare const CLIP_PATHS_EXTENDED: Record<string, string | undefined>;
19
+ //# sourceMappingURL=preset-clip-paths-extended.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-clip-paths-extended.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-clip-paths-extended.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAmMlE,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for the `actionButton*` family (all 12 share the identical
3
+ * plain-rectangle `cxnLst`, just in right/bottom/left/top document order rather
4
+ * than this table's own `CARDINAL_SITES` top/left/bottom/right order, so `@idx`
5
+ * still needs its own transcription per shape).
6
+ *
7
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
8
+ * (`presetShapeDefinitions.xml`), same transcription method.
9
+ *
10
+ * @module render/preset-connection-sites-action-buttons
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const ACTION_BUTTON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-action-buttons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-action-buttons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-action-buttons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA4GzF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for `bentArrow`, `bentUpArrow`, and the four `curved*Arrow`
3
+ * presets.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-arrows-curved
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const CURVED_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-arrows-curved.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-arrows-curved.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows-curved.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA6NxF,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Connection sites for the remaining block-arrow variants:
3
+ * `leftRightUpArrow`, `leftUpArrow`, `notchedRightArrow`, `stripedRightArrow`,
4
+ * `swooshArrow`, `uturnArrow`.
5
+ *
6
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
7
+ * (`presetShapeDefinitions.xml`), same transcription method.
8
+ *
9
+ * @module render/preset-connection-sites-arrows-misc
10
+ */
11
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
12
+ export declare const MISC_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
13
+ //# sourceMappingURL=preset-connection-sites-arrows-misc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-arrows-misc.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows-misc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwJtF,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Connection sites for the block-arrow and chevron-family presets:
3
+ * `rightArrow`, `leftArrow`, `upArrow`, `downArrow`, `leftRightArrow`,
4
+ * `upDownArrow`, `quadArrow`, `chevron`, `homePlate`.
5
+ *
6
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
7
+ * (`presetShapeDefinitions.xml`), same transcription method.
8
+ *
9
+ * @module render/preset-connection-sites-arrows
10
+ */
11
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
12
+ export declare const ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
13
+ //# sourceMappingURL=preset-connection-sites-arrows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-arrows.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-arrows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA0IjF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for basic presets, part 1 (alphabetical: arc..decagon):
3
+ * `arc`, `bevel`, `blockArc`, `can`, `chord`, `cloud`, `cube`, `decagon`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-basic-a
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const BASIC_SHAPE_CONNECTION_SITES_A: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-basic-a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-basic-a.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-basic-a.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA8LzF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for basic presets, part 2 (alphabetical: diagStripe..gear6):
3
+ * `diagStripe`, `dodecagon`, `donut`, `doubleWave`, `foldedCorner`, `frame`, `gear6`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-basic-b
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const BASIC_SHAPE_CONNECTION_SITES_B: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-basic-b.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-basic-b.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-basic-b.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAoLzF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for `bracePair`, `bracketPair`, `leftBrace`, `leftBracket`,
3
+ * `rightBrace`, `rightBracket`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-braces
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const BRACE_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-braces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-braces.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-braces.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwBjF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for the arrow- and wedge-leader callout family:
3
+ * `leftArrowCallout`, `rightArrowCallout`, `upArrowCallout`, `downArrowCallout`,
4
+ * `leftRightArrowCallout`, `upDownArrowCallout`, `quadArrowCallout`,
5
+ * `wedgeEllipseCallout`, `wedgeRectCallout`, `wedgeRoundRectCallout`.
6
+ *
7
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
8
+ * (`presetShapeDefinitions.xml`), same transcription method.
9
+ *
10
+ * @module render/preset-connection-sites-callouts-arrow
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const ARROW_CALLOUT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-callouts-arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-callouts-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-callouts-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+IzF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for the basic (line-leader) callout family: `accentBorderCallout1-3`,
3
+ * `accentCallout1-3`, `borderCallout1-3`, `callout1-3`, `cloudCallout`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-callouts-basic
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const CALLOUT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-callouts-basic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-callouts-basic.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-callouts-basic.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAiInF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for `circularArrow`. Split into its own file because ECMA-376
3
+ * defines this preset's arc-head geometry via a genuinely large chain of
4
+ * intermediate guides (~160 entries transitively feed its 4 `cxnLst` points),
5
+ * which alone is close to this repo's 300-line-per-file budget.
6
+ *
7
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
8
+ * (`presetShapeDefinitions.xml`), same transcription method.
9
+ *
10
+ * @module render/preset-connection-sites-circular-arrow
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-circular-arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAiL1F,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Connection sites for the ANSI flowchart preset family (`flowChart*`).
3
+ *
4
+ * Most flowchart shapes are box-like enough that PowerPoint's own `cxnLst`
5
+ * for them is the plain 4 cardinal edge midpoints (already this app's
6
+ * fallback), so those presets are listed only so `getPresetConnectionSites`
7
+ * has a hit and future audits can see they were checked, not skipped. The
8
+ * ones whose sites are NOT the cardinal fallback (`flowChartDocument`'s
9
+ * wavy bottom edge, the circular connectors, the parallelogram-ish I/O
10
+ * shapes) carry the extra `gdLst` guides their `cxnLst` needs.
11
+ *
12
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
13
+ * (`presetShapeDefinitions.xml`), same transcription method.
14
+ *
15
+ * @module render/preset-connection-sites-flowchart
16
+ */
17
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
18
+ export declare const FLOWCHART_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
19
+ //# sourceMappingURL=preset-connection-sites-flowchart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-flowchart.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-flowchart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAyBzF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAoIrF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for `gear9`, split into its own file: its 9-tooth gdLst chain
3
+ * (~190 entries) is close to this repo's 300-line-per-file budget on its own.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-gear9
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const GEAR9_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-gear9.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-gear9.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-gear9.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAgNjF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for `leftCircularArrow`. See `preset-connection-sites-circular-arrow.ts`
3
+ * for why this shares no file with its siblings.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-left-circular-arrow
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const LEFT_CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-left-circular-arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-left-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-left-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAqL9F,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Connection sites for `leftRightCircularArrow`. See
3
+ * `preset-connection-sites-circular-arrow.ts` for why this shares no file with
4
+ * its siblings (this one's guide chain is the largest of the three, ~214 entries).
5
+ *
6
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
7
+ * (`presetShapeDefinitions.xml`), same transcription method.
8
+ *
9
+ * @module render/preset-connection-sites-left-right-circular-arrow
10
+ */
11
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
12
+ export declare const LEFT_RIGHT_CIRCULAR_ARROW_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
13
+ //# sourceMappingURL=preset-connection-sites-left-right-circular-arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-left-right-circular-arrow.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-left-right-circular-arrow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAC9D,MAAM,EACN,8BAA8B,CAqO9B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for the equation-symbol presets: `mathDivide`, `mathEqual`,
3
+ * `mathMinus`, `mathMultiply`, `mathNotEqual`, `mathPlus`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-math
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const MATH_SYMBOL_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-math.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-math.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-math.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA4KvF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for the remaining basic presets (alphabetical: halfFrame..wave):
3
+ * `halfFrame`, `heart`, `horizontalScroll`, `irregularSeal1`, `irregularSeal2`,
4
+ * `lightningBolt`, `line`, `lineInv`, `moon`, `nonIsoscelesTrapezoid`, `noSmoking`,
5
+ * `pie`, `pieWedge`, `smileyFace`, `sun`, `teardrop`, `verticalScroll`, `wave`.
6
+ *
7
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
8
+ * (`presetShapeDefinitions.xml`), same transcription method.
9
+ *
10
+ * @module render/preset-connection-sites-misc
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const MISC_SHAPE_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-misc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-misc.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-misc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAkQtF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for the regular-polygon and star presets: `pentagon`,
3
+ * `hexagon`, `heptagon`, `octagon`, `plus`, `star4`, `star5`, `star6`, `star8`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-polygons
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const POLYGON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-polygons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-polygons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-polygons.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+LnF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for the basic box/polygon presets: `rect`, `roundRect`,
3
+ * `ellipse`, `triangle`, `rtTriangle`, `parallelogram`, `trapezoid`, `diamond`.
4
+ *
5
+ * Transcribed verbatim from ECMA-376's `presetShapeDefinitions.xml` (`avLst`
6
+ * defaults, the `gdLst` guides each shape's own `cxnLst` formulas reference,
7
+ * and the `cxnLst` itself). See `preset-connection-sites-types.ts` for why
8
+ * this table is separate from `preset-shape-definitions-*.ts`.
9
+ *
10
+ * @module render/preset-connection-sites-quads
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const QUAD_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-quads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-quads.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-quads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CA+GhF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Connection sites for the cut/rounded-corner rectangle family: `round1Rect`,
3
+ * `round2DiagRect`, `round2SameRect`, `snip1Rect`, `snip2DiagRect`,
4
+ * `snip2SameRect`, `snipRoundRect`. PowerPoint attaches these to the plain
5
+ * edge midpoints/corners of the notional rectangle, not the cut corners.
6
+ *
7
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
8
+ * (`presetShapeDefinitions.xml`), same transcription method.
9
+ *
10
+ * @module render/preset-connection-sites-rects
11
+ */
12
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
13
+ export declare const RECT_VARIANT_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
14
+ //# sourceMappingURL=preset-connection-sites-rects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-rects.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-rects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwDxF,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Connection sites for the banner/ribbon family: `ribbon`, `ribbon2`,
3
+ * `ellipseRibbon`, `ellipseRibbon2`, `leftRightRibbon`.
4
+ *
5
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
6
+ * (`presetShapeDefinitions.xml`), same transcription method.
7
+ *
8
+ * @module render/preset-connection-sites-ribbons
9
+ */
10
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
11
+ export declare const RIBBON_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
12
+ //# sourceMappingURL=preset-connection-sites-ribbons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-ribbons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-ribbons.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAuHlF,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Connection sites for the higher-point star presets: `star7`, `star10`,
3
+ * `star12`, `star16`, `star24`, `star32`. See `preset-connection-sites-polygons.ts`
4
+ * for `star4`/`star5`/`star6`/`star8`.
5
+ *
6
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
7
+ * (`presetShapeDefinitions.xml`), same transcription method.
8
+ *
9
+ * @module render/preset-connection-sites-stars
10
+ */
11
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
12
+ export declare const STAR_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
13
+ //# sourceMappingURL=preset-connection-sites-stars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-stars.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-stars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAwIhF,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
2
+ /** A preset connection site evaluated to pixel coordinates in the shape's own box. */
3
+ export interface EvaluatedPresetConnectionSite {
4
+ x: number;
5
+ y: number;
6
+ }
7
+ /**
8
+ * Look up a preset's `cxnLst` definition, exact name first, then normalised
9
+ * (`oval` -> `ellipse`, `rtArrow` -> `rightArrow`, a deck's own casing) -
10
+ * mirrors `lookupPresetShape`'s own fallback order for the same reason.
11
+ */
12
+ export declare function lookupPresetConnectionSites(name: string): PresetConnectionSiteDefinition | undefined;
13
+ /**
14
+ * Evaluate `prst`'s ECMA-376 connection sites at the given box size and
15
+ * adjustment values, in the shape's own (unrotated, unflipped) local pixel
16
+ * space - the same space `getUnrotatedShapeConnectionSites` (shared) already
17
+ * works in for an authored `a:custGeom/a:cxnLst`.
18
+ *
19
+ * Returns `undefined` when `prst` has no transcribed `cxnLst`, so the caller
20
+ * can fall back to the 4 cardinal edge midpoints exactly as before.
21
+ */
22
+ export declare function getPresetConnectionSites(prst: string, width: number, height: number, adjustments?: Record<string, number>): EvaluatedPresetConnectionSite[] | undefined;
23
+ //# sourceMappingURL=preset-connection-sites-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-table.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-table.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAoCzF,sFAAsF;AACtF,MAAM,WAAW,6BAA6B;IAC7C,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAC1C,IAAI,EAAE,MAAM,GACV,8BAA8B,GAAG,SAAS,CAU5C;AAQD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC,6BAA6B,EAAE,GAAG,SAAS,CA4B7C"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Connection sites for `corner`, `cornerTabs`, `plaque`, `plaqueTabs`, `squareTabs`.
3
+ *
4
+ * See `preset-connection-sites-quads.ts` for the provenance note; same source
5
+ * (`presetShapeDefinitions.xml`), same transcription method.
6
+ *
7
+ * @module render/preset-connection-sites-tabs
8
+ */
9
+ import type { PresetConnectionSiteDefinition } from './preset-connection-sites-types.js';
10
+ export declare const TAB_CONNECTION_SITES: Record<string, PresetConnectionSiteDefinition>;
11
+ //# sourceMappingURL=preset-connection-sites-tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-tabs.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-tabs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAGzF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAgG/E,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Shared vocabulary for the preset connection-site tables
3
+ * (`preset-connection-sites-*.ts`).
4
+ *
5
+ * ECMA-376's `presetShapeDefinitions.xml` gives most non-rectangular presets an
6
+ * explicit `<cxnLst>` of `<cxn ang="..."><pos x="..." y="..."/></cxn>` entries,
7
+ * distinct from the shape's own `pathLst`/`rect` geometry (which this repo
8
+ * already transcribes in `preset-shape-definitions-*.ts`). No preset in that
9
+ * table carries a `cxnLst`, so `a:cxn/@idx` on ANY preset always fell back to
10
+ * the four bounding-box edge midpoints, wrong for anything but a plain
11
+ * rectangle. These tables close that gap without touching the existing
12
+ * `pathLst` tables: each entry lists only the `avLst`/`gdLst` a shape's OWN
13
+ * `cxnLst` formulas need (frequently a strict subset of what `pathLst` needs,
14
+ * since a connection site is usually a vertex the path already visits), plus
15
+ * the `cxn` tokens themselves, verbatim from the spec.
16
+ *
17
+ * @module render/preset-connection-sites-types
18
+ */
19
+ /** One `<a:cxn>` entry: an approach angle plus a formula-token position. */
20
+ export interface PresetConnectionSiteToken {
21
+ /** `@_ang`, a builtin angle guide (`0`, `cd4`, `cd2`, `3cd4`) or literal. */
22
+ ang: string;
23
+ /** `a:pos/@_x` formula token (guide name or numeric literal). */
24
+ x: string;
25
+ /** `a:pos/@_y` formula token. */
26
+ y: string;
27
+ }
28
+ /**
29
+ * The `avLst`/`gdLst`/`cxnLst` slice of one preset's `presetShapeDefinition`,
30
+ * transcribed only as far as evaluating its `cxnLst` requires.
31
+ */
32
+ export interface PresetConnectionSiteDefinition {
33
+ /** `avLst` defaults (`adj`, `adj1`, `hf`, `vf`, ...), overridable at call time. */
34
+ avLst?: Record<string, number>;
35
+ /** `gdLst` guides the `cxnLst` position formulas reference, in order. */
36
+ gdLst?: Array<{
37
+ name: string;
38
+ formula: string;
39
+ }>;
40
+ /** The preset's connection sites, in `@idx` order. */
41
+ sites: PresetConnectionSiteToken[];
42
+ }
43
+ /** Build a `gdLst` entry from a `<a:gd name="..." fmla="..."/>` pair. */
44
+ export declare function gd(name: string, formula: string): {
45
+ name: string;
46
+ formula: string;
47
+ };
48
+ /** Build a `<a:cxn ang="..."><a:pos x="..." y="..."/></a:cxn>` token. */
49
+ export declare function cxn(ang: string, x: string, y: string): PresetConnectionSiteToken;
50
+ /** The plain 4-cardinal `cxnLst` shared by every box-like preset. */
51
+ export declare const CARDINAL_SITES: PresetConnectionSiteToken[];
52
+ //# sourceMappingURL=preset-connection-sites-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-connection-sites-types.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-connection-sites-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,4EAA4E;AAC5E,MAAM,WAAW,yBAAyB;IACzC,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,CAAC,EAAE,MAAM,CAAC;IACV,iCAAiC;IACjC,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC9C,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,yEAAyE;IACzE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjD,sDAAsD;IACtD,KAAK,EAAE,yBAAyB,EAAE,CAAC;CACnC;AAED,yEAAyE;AACzE,wBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAEnF;AAED,yEAAyE;AACzE,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,yBAAyB,CAEhF;AAED,qEAAqE;AACrE,eAAO,MAAM,cAAc,EAAE,yBAAyB,EAKrD,CAAC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * The closed `ST_ShapeType` enumeration and the alias table that folds this
3
+ * repository's internal / UI-facing shape identifiers onto it.
4
+ *
5
+ * `a:prstGeom/@prst` is typed `ST_ShapeType` (ISO/IEC 29500-1 section
6
+ * 20.1.10.55 / A.4.1), a **closed 187-value enumeration**. Emitting anything
7
+ * else produces a package PowerPoint rejects at schema-validation time, so
8
+ * every writer that fills `@prst` must pass its identifier through
9
+ * {@link normalizeStShapeType} first.
10
+ *
11
+ * Two families of non-spec identifier exist in this codebase and both are
12
+ * resolved here rather than at the call sites:
13
+ *
14
+ * - **UI / legacy aliases** the shape picker and the shared insert catalogue
15
+ * offer under friendlier names (`rightTriangle`, `cross`, `flowChartData`,
16
+ * ...). Each maps to the real preset it draws.
17
+ * - **Internal `SupportedShapeType` tokens** (`cylinder`, `rtArrow`,
18
+ * `connector`) which are render-layer classifications, not OOXML names.
19
+ *
20
+ * Lookup is exact-match first (deck-authored values are already canonical),
21
+ * then case-insensitive, then the alias table. Unknown identifiers resolve to
22
+ * `undefined` so the caller can substitute a safe default instead of writing
23
+ * an invalid token.
24
+ */
25
+ /**
26
+ * The canonical `ST_ShapeType` enumeration, in ISO/IEC 29500-1 declaration
27
+ * order. Exactly 187 values.
28
+ */
29
+ export declare const ST_SHAPE_TYPE_VALUES: readonly string[];
30
+ /**
31
+ * Non-spec identifier (lower-cased) to the `ST_ShapeType` value it draws.
32
+ *
33
+ * Every entry is a shape this repository can produce but OOXML cannot name:
34
+ * UI labels from the shape picker, PowerPoint UI names that differ from the
35
+ * schema name, and internal `SupportedShapeType` render classifications.
36
+ */
37
+ export declare const PRESET_GEOMETRY_ALIASES: Readonly<Record<string, string>>;
38
+ /**
39
+ * Whether `name` is one of the 187 `ST_ShapeType` values, spelled exactly as
40
+ * the schema declares it.
41
+ */
42
+ export declare function isStShapeType(name: string | undefined): boolean;
43
+ /**
44
+ * Resolve any shape identifier this codebase can produce to the exact
45
+ * `ST_ShapeType` spelling that belongs in `a:prstGeom/@prst`.
46
+ *
47
+ * @param name - A preset name, picker label, or internal shape token.
48
+ * @returns The canonical `ST_ShapeType` value, or `undefined` when the
49
+ * identifier is not a preset at all (callers should fall back to a
50
+ * safe default such as `'rect'` rather than writing it out).
51
+ */
52
+ export declare function normalizeStShapeType(name: string | undefined): string | undefined;
53
+ //# sourceMappingURL=preset-geometry-names.d.ts.map