@zeke-02/docx-editor 0.5.2 → 0.5.3

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 (211) hide show
  1. package/LICENSE +204 -0
  2. package/dist/FindReplaceDialog-7SQOVQWH.js +1 -0
  3. package/dist/FindReplaceDialog-RK3A7MSK.mjs +1 -0
  4. package/dist/{FootnotePropertiesDialog-XQ7NIFIU.js → FootnotePropertiesDialog-2Q2SHVMR.js} +1 -1
  5. package/dist/{FootnotePropertiesDialog-TNVJJCY6.mjs → FootnotePropertiesDialog-ZKQXW3YO.mjs} +1 -1
  6. package/dist/{HyperlinkDialog-FR4IZZ7E.mjs → HyperlinkDialog-QV3CVFQU.mjs} +1 -1
  7. package/dist/HyperlinkDialog-XVAF7FVN.js +1 -0
  8. package/dist/{ImagePositionDialog-JSZSIKF5.mjs → ImagePositionDialog-EGRH3HPP.mjs} +1 -1
  9. package/dist/{ImagePositionDialog-2YXRAGZS.js → ImagePositionDialog-HIVHUTBT.js} +1 -1
  10. package/dist/ImagePropertiesDialog-67WLFIIZ.mjs +1 -0
  11. package/dist/ImagePropertiesDialog-HSM3JJ22.js +1 -0
  12. package/dist/KeyboardShortcutsDialog-5D_FoAp6.d.ts +395 -0
  13. package/dist/KeyboardShortcutsDialog-D7ihAj18.d.mts +395 -0
  14. package/dist/PageSetupDialog-642IAVG2.js +1 -0
  15. package/dist/PageSetupDialog-ERUQDHAY.mjs +1 -0
  16. package/dist/{SplitCellDialog-NP3JJYHD.mjs → SplitCellDialog-GFWCFCTD.mjs} +1 -1
  17. package/dist/{SplitCellDialog-JIAC3RYV.js → SplitCellDialog-M7WF7ANE.js} +1 -1
  18. package/dist/{TablePropertiesDialog-TIK4AA5M.mjs → TablePropertiesDialog-TZ7VCL6V.mjs} +1 -1
  19. package/dist/{TablePropertiesDialog-T7D4HSVP.js → TablePropertiesDialog-ZKU2FTUX.js} +1 -1
  20. package/dist/agentApi-C41hiW-n.d.mts +486 -0
  21. package/dist/agentApi-D4AZmNfB.d.ts +486 -0
  22. package/dist/chunk-2XXILKEQ.js +1 -0
  23. package/dist/chunk-35DG3R42.js +2 -0
  24. package/dist/chunk-47VJOBJD.mjs +60 -0
  25. package/dist/chunk-5UX5CD4C.js +1 -0
  26. package/dist/chunk-7QQSDIWK.mjs +2 -0
  27. package/dist/chunk-AW5TISUL.js +3 -0
  28. package/dist/chunk-AYMGSTNG.js +1 -0
  29. package/dist/chunk-B45ECEGY.js +18 -0
  30. package/dist/chunk-B7CCL7SL.mjs +2 -0
  31. package/dist/chunk-BRMTZRLJ.js +2 -0
  32. package/dist/chunk-D47GTKGU.js +2 -0
  33. package/dist/chunk-E6MQXELR.js +1 -0
  34. package/dist/chunk-F5SERL7X.mjs +2 -0
  35. package/dist/chunk-FWPVBFKQ.mjs +1 -0
  36. package/dist/chunk-GGQK26JO.js +2 -0
  37. package/dist/chunk-GM2S2WMT.mjs +1 -0
  38. package/dist/chunk-ILYKDR3C.js +1 -0
  39. package/dist/chunk-IP5NAYHL.js +60 -0
  40. package/dist/chunk-JPF5R2ZM.mjs +1 -0
  41. package/dist/chunk-KOXCF3CL.mjs +1 -0
  42. package/dist/chunk-KRLNX56Y.mjs +2 -0
  43. package/dist/chunk-LUJ6HCMH.mjs +1 -0
  44. package/dist/chunk-MKNSJOCN.js +70 -0
  45. package/dist/chunk-NIBCC7WQ.js +1 -0
  46. package/dist/chunk-NLFXR2VH.js +2 -0
  47. package/dist/chunk-ONIYA2FU.mjs +2 -0
  48. package/dist/chunk-ONNHQWAX.mjs +1 -0
  49. package/dist/chunk-RCIZ7OM3.mjs +70 -0
  50. package/dist/{chunk-EHFEG3TX.js → chunk-SNZ57XBI.js} +1 -1
  51. package/dist/chunk-SOTWG3KJ.mjs +1 -0
  52. package/dist/chunk-TYPGB4KF.js +1 -0
  53. package/dist/chunk-U7ZW2DOO.mjs +2 -0
  54. package/dist/{chunk-PKEOQIQO.mjs → chunk-WPI3YRFO.mjs} +1 -1
  55. package/dist/chunk-XQZTWWRF.mjs +18 -0
  56. package/dist/chunk-ZVAFVHWR.mjs +3 -0
  57. package/dist/chunk-ZXPCJWVY.js +2 -0
  58. package/dist/{agentApi-DLt94vXk.d.mts → content-B2MzIMwA.d.mts} +8 -755
  59. package/dist/{agentApi-DLt94vXk.d.ts → content-B2MzIMwA.d.ts} +8 -755
  60. package/dist/dialogs.d.mts +25 -0
  61. package/dist/dialogs.d.ts +25 -0
  62. package/dist/dialogs.js +1 -0
  63. package/dist/dialogs.mjs +1 -0
  64. package/dist/document-DZ_ZeZEH.d.ts +294 -0
  65. package/dist/document-Di1qGqLS.d.mts +294 -0
  66. package/dist/executor-EPEB53SJ.js +1 -0
  67. package/dist/executor-TVJ6K6MW.mjs +1 -0
  68. package/dist/findReplace-CpIoILbP.d.mts +138 -0
  69. package/dist/findReplace-pkMskVJU.d.ts +138 -0
  70. package/dist/hooks.d.mts +598 -0
  71. package/dist/hooks.d.ts +598 -0
  72. package/dist/hooks.js +1 -0
  73. package/dist/hooks.mjs +1 -0
  74. package/dist/index.d.mts +1013 -483
  75. package/dist/index.d.ts +1013 -483
  76. package/dist/index.js +40 -120
  77. package/dist/index.mjs +40 -120
  78. package/dist/layout-bridge-5GYGYKM5.mjs +1 -0
  79. package/dist/layout-bridge-QQDA7ELH.js +1 -0
  80. package/dist/plugin-api.d.mts +176 -0
  81. package/dist/plugin-api.d.ts +176 -0
  82. package/dist/plugin-api.js +260 -0
  83. package/dist/plugin-api.mjs +260 -0
  84. package/dist/processTemplate-BTBTR7AM.js +1 -0
  85. package/dist/{processTemplate-W2C5PXZB.mjs → processTemplate-MBX2KDLE.mjs} +1 -1
  86. package/dist/styles.css +1 -1
  87. package/dist/styles.d.mts +18 -0
  88. package/dist/styles.d.ts +18 -0
  89. package/dist/styles.js +1 -0
  90. package/dist/styles.mjs +1 -0
  91. package/dist/types-Bd_YzkhG.d.mts +281 -0
  92. package/dist/types-Bd_YzkhG.d.ts +281 -0
  93. package/dist/types-CkfDgB0O.d.mts +39 -0
  94. package/dist/types-DZUhB7Ao.d.mts +18 -0
  95. package/dist/types-DZUhB7Ao.d.ts +18 -0
  96. package/dist/types-DcxHFUSc.d.ts +39 -0
  97. package/dist/ui.d.mts +111 -552
  98. package/dist/ui.d.ts +111 -552
  99. package/dist/ui.js +111 -1
  100. package/dist/ui.mjs +111 -1
  101. package/dist/useFindReplace-DDs533b-.d.mts +261 -0
  102. package/dist/useFindReplace-eyhMSZZf.d.ts +261 -0
  103. package/package.json +41 -43
  104. package/dist/ClipboardManager-CVKX0v9q.d.ts +0 -464
  105. package/dist/ClipboardManager-V3aaMnWE.d.mts +0 -464
  106. package/dist/DocumentAgent-BWflKHpH.d.mts +0 -442
  107. package/dist/DocumentAgent-DsdXtetF.d.ts +0 -442
  108. package/dist/FindReplaceDialog-L3YF5HIS.mjs +0 -1
  109. package/dist/FindReplaceDialog-SEBWC5P7.js +0 -1
  110. package/dist/HyperlinkDialog-WEK6JSAC.js +0 -1
  111. package/dist/ImagePropertiesDialog-527MFLQO.mjs +0 -1
  112. package/dist/ImagePropertiesDialog-HG4K3IE7.js +0 -1
  113. package/dist/PageSetupDialog-GALVJMUB.js +0 -1
  114. package/dist/PageSetupDialog-TGQIAMI7.mjs +0 -1
  115. package/dist/TableToolbar-DUgmob2I.d.ts +0 -1273
  116. package/dist/TableToolbar-YL74HNS1.d.mts +0 -1273
  117. package/dist/chunk-23SXXIZS.js +0 -111
  118. package/dist/chunk-3F52AP2Q.js +0 -1
  119. package/dist/chunk-42O5GXM5.mjs +0 -82
  120. package/dist/chunk-54ULJEHM.mjs +0 -1
  121. package/dist/chunk-5XK326FI.mjs +0 -1
  122. package/dist/chunk-6WPRCJ5A.mjs +0 -1
  123. package/dist/chunk-76IYR7C7.mjs +0 -1
  124. package/dist/chunk-AGRIVA4G.js +0 -1
  125. package/dist/chunk-BTCQ2QI3.mjs +0 -3
  126. package/dist/chunk-BUEMG4NW.js +0 -1
  127. package/dist/chunk-BXRC4U3X.mjs +0 -2
  128. package/dist/chunk-CPAYKE6X.mjs +0 -1
  129. package/dist/chunk-DACWLFKI.mjs +0 -1
  130. package/dist/chunk-EPBFWE36.js +0 -2
  131. package/dist/chunk-FXES3YDB.js +0 -82
  132. package/dist/chunk-HI66BSGS.mjs +0 -9
  133. package/dist/chunk-INTPVEO6.mjs +0 -9
  134. package/dist/chunk-IOAGVW6Q.mjs +0 -2
  135. package/dist/chunk-JCEWC5QL.mjs +0 -4
  136. package/dist/chunk-JTIUFACT.js +0 -1
  137. package/dist/chunk-LUF7PWIC.js +0 -10
  138. package/dist/chunk-MGEN6GOE.mjs +0 -2
  139. package/dist/chunk-MOE2ZGUE.js +0 -18
  140. package/dist/chunk-MWLHJWB6.js +0 -9
  141. package/dist/chunk-OFYVDN3U.mjs +0 -2
  142. package/dist/chunk-P4VSHBGZ.js +0 -2
  143. package/dist/chunk-P5FQHIES.mjs +0 -1
  144. package/dist/chunk-PBC7XAYZ.js +0 -3
  145. package/dist/chunk-PEMB6SZT.js +0 -2
  146. package/dist/chunk-PQMSZTBB.js +0 -9
  147. package/dist/chunk-Q7UDQXAF.js +0 -1
  148. package/dist/chunk-QGTAIC5E.js +0 -1
  149. package/dist/chunk-QVPR2W5S.js +0 -1
  150. package/dist/chunk-R3QMYPL5.mjs +0 -59
  151. package/dist/chunk-RBUTXXQJ.mjs +0 -18
  152. package/dist/chunk-RRWYZ2TS.mjs +0 -111
  153. package/dist/chunk-S3STEPVO.js +0 -182
  154. package/dist/chunk-SFUM35DH.js +0 -2
  155. package/dist/chunk-SNLC6EK2.js +0 -1
  156. package/dist/chunk-TMTLIGLZ.js +0 -59
  157. package/dist/chunk-TSE2PWFX.mjs +0 -10
  158. package/dist/chunk-UKESXQS5.mjs +0 -182
  159. package/dist/chunk-UWYD42WV.js +0 -4
  160. package/dist/chunk-UXVACQCY.mjs +0 -1
  161. package/dist/chunk-W4EIKDM6.mjs +0 -2
  162. package/dist/chunk-W53SI3XW.mjs +0 -1
  163. package/dist/chunk-WNS2RBQD.js +0 -2
  164. package/dist/chunk-Z3KMSHUP.js +0 -1
  165. package/dist/core-plugins-reexport.d.mts +0 -31
  166. package/dist/core-plugins-reexport.d.ts +0 -31
  167. package/dist/core-plugins-reexport.js +0 -1
  168. package/dist/core-plugins-reexport.mjs +0 -1
  169. package/dist/core-reexport.d.mts +0 -340
  170. package/dist/core-reexport.d.ts +0 -340
  171. package/dist/core-reexport.js +0 -1
  172. package/dist/core-reexport.mjs +0 -1
  173. package/dist/documentSerializer-DtS_-oGA.d.mts +0 -664
  174. package/dist/documentSerializer-Wj1p2ASa.d.ts +0 -664
  175. package/dist/executor-C3VXF7QA.mjs +0 -1
  176. package/dist/executor-GDBV3AGV.js +0 -1
  177. package/dist/headless-reexport.d.mts +0 -197
  178. package/dist/headless-reexport.d.ts +0 -197
  179. package/dist/headless-reexport.js +0 -1
  180. package/dist/headless-reexport.mjs +0 -1
  181. package/dist/insertOperations-BTH1Asas.d.mts +0 -176
  182. package/dist/insertOperations-CbUnXAXH.d.ts +0 -176
  183. package/dist/layout-bridge-EA4DJ227.js +0 -1
  184. package/dist/layout-bridge-XDPSO6GO.mjs +0 -1
  185. package/dist/mcp-reexport.d.mts +0 -156
  186. package/dist/mcp-reexport.d.ts +0 -156
  187. package/dist/mcp-reexport.js +0 -16
  188. package/dist/mcp-reexport.mjs +0 -16
  189. package/dist/processTemplate-MJ2PCSO5.js +0 -1
  190. package/dist/react-B0W16SV6.d.ts +0 -1330
  191. package/dist/react-D0Pn1nww.d.mts +0 -1330
  192. package/dist/react.css +0 -1
  193. package/dist/react.d.mts +0 -10
  194. package/dist/react.d.ts +0 -10
  195. package/dist/react.js +0 -1
  196. package/dist/react.mjs +0 -1
  197. package/dist/registry-CH9V-IX0.d.ts +0 -165
  198. package/dist/registry-CWBKYlNW.d.mts +0 -165
  199. package/dist/types-UDsUq8D3.d.mts +0 -310
  200. package/dist/types-jbivc9Lj.d.ts +0 -310
  201. package/dist/variableDetector-CdQ7ZTzA.d.mts +0 -204
  202. package/dist/variableDetector-DsRV3A9z.d.ts +0 -204
  203. package/i18n/de.json +0 -792
  204. package/i18n/en.json +0 -792
  205. package/i18n/he.json +0 -792
  206. package/i18n/pl.json +0 -792
  207. package/i18n/pt-BR.json +0 -792
  208. package/i18n/tr.json +0 -792
  209. package/i18n/zh-CN.json +0 -792
  210. /package/dist/{chunk-YC5KZSYD.js → chunk-ESZ6JRTW.js} +0 -0
  211. /package/dist/{chunk-LVGJKS7Y.mjs → chunk-TZMMD6RR.mjs} +0 -0
@@ -0,0 +1,25 @@
1
+ export { B as BookmarkOption, F as FindReplaceDialog, a as FindReplaceDialogProps, H as HyperlinkData, b as HyperlinkDialog, c as HyperlinkDialogProps, K as KeyboardShortcut, d as KeyboardShortcutsDialog, e as KeyboardShortcutsDialogProps, P as PasteOption, f as PasteSpecialDialog, g as PasteSpecialDialogProps, S as ShortcutCategory, U as UseKeyboardShortcutsDialogOptions, h as UseKeyboardShortcutsDialogReturn, i as UsePasteSpecialOptions, j as UsePasteSpecialReturn, x as createBookmarkLinkData, y as createHyperlinkData, z as emailToMailto, A as extractBookmarksForDialog, k as formatShortcutKeys, l as getAllCategories, m as getAllPasteOptions, n as getCategoryLabel, o as getCommonShortcuts, p as getDefaultPasteOption, q as getDefaultShortcuts, C as getDisplayText, r as getPasteOption, s as getShortcutsByCategory, D as getUrlType, E as isBookmarkHyperlinkData, G as isExternalHyperlinkData, t as isPasteSpecialShortcut, I as isValidUrl, J as normalizeUrl, L as phoneToTel, v as useKeyboardShortcutsDialog, w as usePasteSpecial } from './KeyboardShortcutsDialog-D7ihAj18.mjs';
2
+ import React__default from 'react';
3
+ import { S as SectionProperties } from './content-B2MzIMwA.mjs';
4
+ export { F as FindMatch, a as FindOptions, b as FindResult, H as HighlightOptions, c as createDefaultFindOptions, d as createSearchPattern, e as escapeRegexString, f as findAllMatches, i as getDefaultHighlightOptions, j as getMatchCountText, k as isEmptySearch, r as replaceAllInContent, l as replaceFirstInContent } from './findReplace-CpIoILbP.mjs';
5
+ import './types-DZUhB7Ao.mjs';
6
+ import '@eigenpal/docx-editor-i18n/en.json';
7
+
8
+ /**
9
+ * Page Setup Dialog
10
+ *
11
+ * Modal for editing page layout properties:
12
+ * - Page size (Letter, A4, Legal, etc.)
13
+ * - Orientation (portrait/landscape)
14
+ * - Margins (top, bottom, left, right) in inches
15
+ */
16
+
17
+ interface PageSetupDialogProps {
18
+ isOpen: boolean;
19
+ onClose: () => void;
20
+ onApply: (props: Partial<SectionProperties>) => void;
21
+ currentProps?: SectionProperties;
22
+ }
23
+ declare function PageSetupDialog({ isOpen, onClose, onApply, currentProps, }: PageSetupDialogProps): React__default.ReactElement | null;
24
+
25
+ export { PageSetupDialog, type PageSetupDialogProps };
@@ -0,0 +1,25 @@
1
+ export { B as BookmarkOption, F as FindReplaceDialog, a as FindReplaceDialogProps, H as HyperlinkData, b as HyperlinkDialog, c as HyperlinkDialogProps, K as KeyboardShortcut, d as KeyboardShortcutsDialog, e as KeyboardShortcutsDialogProps, P as PasteOption, f as PasteSpecialDialog, g as PasteSpecialDialogProps, S as ShortcutCategory, U as UseKeyboardShortcutsDialogOptions, h as UseKeyboardShortcutsDialogReturn, i as UsePasteSpecialOptions, j as UsePasteSpecialReturn, x as createBookmarkLinkData, y as createHyperlinkData, z as emailToMailto, A as extractBookmarksForDialog, k as formatShortcutKeys, l as getAllCategories, m as getAllPasteOptions, n as getCategoryLabel, o as getCommonShortcuts, p as getDefaultPasteOption, q as getDefaultShortcuts, C as getDisplayText, r as getPasteOption, s as getShortcutsByCategory, D as getUrlType, E as isBookmarkHyperlinkData, G as isExternalHyperlinkData, t as isPasteSpecialShortcut, I as isValidUrl, J as normalizeUrl, L as phoneToTel, v as useKeyboardShortcutsDialog, w as usePasteSpecial } from './KeyboardShortcutsDialog-5D_FoAp6.js';
2
+ import React__default from 'react';
3
+ import { S as SectionProperties } from './content-B2MzIMwA.js';
4
+ export { F as FindMatch, a as FindOptions, b as FindResult, H as HighlightOptions, c as createDefaultFindOptions, d as createSearchPattern, e as escapeRegexString, f as findAllMatches, i as getDefaultHighlightOptions, j as getMatchCountText, k as isEmptySearch, r as replaceAllInContent, l as replaceFirstInContent } from './findReplace-pkMskVJU.js';
5
+ import './types-DZUhB7Ao.js';
6
+ import '@eigenpal/docx-editor-i18n/en.json';
7
+
8
+ /**
9
+ * Page Setup Dialog
10
+ *
11
+ * Modal for editing page layout properties:
12
+ * - Page size (Letter, A4, Legal, etc.)
13
+ * - Orientation (portrait/landscape)
14
+ * - Margins (top, bottom, left, right) in inches
15
+ */
16
+
17
+ interface PageSetupDialogProps {
18
+ isOpen: boolean;
19
+ onClose: () => void;
20
+ onApply: (props: Partial<SectionProperties>) => void;
21
+ currentProps?: SectionProperties;
22
+ }
23
+ declare function PageSetupDialog({ isOpen, onClose, onApply, currentProps, }: PageSetupDialogProps): React__default.ReactElement | null;
24
+
25
+ export { PageSetupDialog, type PageSetupDialogProps };
@@ -0,0 +1 @@
1
+ 'use strict';var chunk5UX5CD4C_js=require('./chunk-5UX5CD4C.js'),chunkD47GTKGU_js=require('./chunk-D47GTKGU.js'),chunkTYPGB4KF_js=require('./chunk-TYPGB4KF.js'),chunkSNZ57XBI_js=require('./chunk-SNZ57XBI.js');require('./chunk-MKNSJOCN.js');var chunk35DG3R42_js=require('./chunk-35DG3R42.js');require('./chunk-NLFXR2VH.js'),require('./chunk-GGQK26JO.js'),require('./chunk-ZXPCJWVY.js'),require('./chunk-ESZ6JRTW.js'),require('./chunk-ILYKDR3C.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"PageSetupDialog",{enumerable:true,get:function(){return chunk5UX5CD4C_js.a}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkD47GTKGU_js.g}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkD47GTKGU_js.a}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkD47GTKGU_js.n}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkD47GTKGU_js.m}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkD47GTKGU_js.d}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkD47GTKGU_js.l}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkD47GTKGU_js.k}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkD47GTKGU_js.e}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkD47GTKGU_js.i}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkD47GTKGU_js.c}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkD47GTKGU_js.j}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkD47GTKGU_js.f}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkD47GTKGU_js.h}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkD47GTKGU_js.b}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkTYPGB4KF_js.a}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkSNZ57XBI_js.d}});Object.defineProperty(exports,"createBookmarkLinkData",{enumerable:true,get:function(){return chunkSNZ57XBI_js.f}});Object.defineProperty(exports,"createHyperlinkData",{enumerable:true,get:function(){return chunkSNZ57XBI_js.e}});Object.defineProperty(exports,"emailToMailto",{enumerable:true,get:function(){return chunkSNZ57XBI_js.j}});Object.defineProperty(exports,"extractBookmarksForDialog",{enumerable:true,get:function(){return chunkSNZ57XBI_js.l}});Object.defineProperty(exports,"getDisplayText",{enumerable:true,get:function(){return chunkSNZ57XBI_js.i}});Object.defineProperty(exports,"getUrlType",{enumerable:true,get:function(){return chunkSNZ57XBI_js.c}});Object.defineProperty(exports,"isBookmarkHyperlinkData",{enumerable:true,get:function(){return chunkSNZ57XBI_js.h}});Object.defineProperty(exports,"isExternalHyperlinkData",{enumerable:true,get:function(){return chunkSNZ57XBI_js.g}});Object.defineProperty(exports,"isValidUrl",{enumerable:true,get:function(){return chunkSNZ57XBI_js.a}});Object.defineProperty(exports,"normalizeUrl",{enumerable:true,get:function(){return chunkSNZ57XBI_js.b}});Object.defineProperty(exports,"phoneToTel",{enumerable:true,get:function(){return chunkSNZ57XBI_js.k}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunk35DG3R42_js.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunk35DG3R42_js.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunk35DG3R42_js.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunk35DG3R42_js.d}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunk35DG3R42_js.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunk35DG3R42_js.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunk35DG3R42_js.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunk35DG3R42_js.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunk35DG3R42_js.f}});
@@ -0,0 +1 @@
1
+ export{a as PageSetupDialog}from'./chunk-SOTWG3KJ.mjs';export{g as KeyboardShortcutsDialog,a as PasteSpecialDialog,n as formatShortcutKeys,m as getAllCategories,d as getAllPasteOptions,l as getCategoryLabel,k as getCommonShortcuts,e as getDefaultPasteOption,i as getDefaultShortcuts,c as getPasteOption,j as getShortcutsByCategory,f as isPasteSpecialShortcut,h as useKeyboardShortcutsDialog,b as usePasteSpecial}from'./chunk-KRLNX56Y.mjs';export{a as FindReplaceDialog}from'./chunk-JPF5R2ZM.mjs';export{d as HyperlinkDialog,f as createBookmarkLinkData,e as createHyperlinkData,j as emailToMailto,l as extractBookmarksForDialog,i as getDisplayText,c as getUrlType,h as isBookmarkHyperlinkData,g as isExternalHyperlinkData,a as isValidUrl,b as normalizeUrl,k as phoneToTel}from'./chunk-WPI3YRFO.mjs';import'./chunk-RCIZ7OM3.mjs';export{a as createDefaultFindOptions,c as createSearchPattern,b as escapeRegexString,d as findAllMatches,i as getDefaultHighlightOptions,g as getMatchCountText,h as isEmptySearch,e as replaceAllInContent,f as replaceFirstInContent}from'./chunk-F5SERL7X.mjs';import'./chunk-7QQSDIWK.mjs';import'./chunk-B7CCL7SL.mjs';import'./chunk-ONIYA2FU.mjs';import'./chunk-TZMMD6RR.mjs';import'./chunk-FWPVBFKQ.mjs';import'./chunk-TAUMSKRE.mjs';
@@ -0,0 +1,294 @@
1
+ import { T as TextFormatting, P as ParagraphFormatting, f as TableFormatting, g as TableRowFormatting, h as TableCellFormatting, D as DocumentBody, N as NumberingDefinitions, F as Footnote, E as Endnote, H as HeaderFooter } from './content-B2MzIMwA.js';
2
+
3
+ /**
4
+ * Styles, Theme, Font Table, Relationships & Media Types
5
+ *
6
+ * Types for document-level definitions that don't form the content tree.
7
+ */
8
+
9
+ /**
10
+ * Style type
11
+ */
12
+ type StyleType = 'paragraph' | 'character' | 'numbering' | 'table';
13
+ /**
14
+ * Style definition
15
+ */
16
+ interface Style {
17
+ /** Style ID */
18
+ styleId: string;
19
+ /** Style type */
20
+ type: StyleType;
21
+ /** Display name */
22
+ name?: string;
23
+ /** Based on style ID */
24
+ basedOn?: string;
25
+ /** Next style after Enter (for paragraph styles) */
26
+ next?: string;
27
+ /** Linked style (paragraph/character pair) */
28
+ link?: string;
29
+ /** UI sort priority */
30
+ uiPriority?: number;
31
+ /** Hidden from UI */
32
+ hidden?: boolean;
33
+ /** Semi-hidden from UI */
34
+ semiHidden?: boolean;
35
+ /** Unhide when used */
36
+ unhideWhenUsed?: boolean;
37
+ /** Quick format in gallery */
38
+ qFormat?: boolean;
39
+ /** Is default style */
40
+ default?: boolean;
41
+ /** Personal style (custom) */
42
+ personal?: boolean;
43
+ /** Paragraph properties (for paragraph/table styles) */
44
+ pPr?: ParagraphFormatting;
45
+ /** Run properties */
46
+ rPr?: TextFormatting;
47
+ /** Table properties (for table styles) */
48
+ tblPr?: TableFormatting;
49
+ /** Table row properties */
50
+ trPr?: TableRowFormatting;
51
+ /** Table cell properties */
52
+ tcPr?: TableCellFormatting;
53
+ /** Conditional table style parts */
54
+ tblStylePr?: Array<{
55
+ type: 'band1Horz' | 'band1Vert' | 'band2Horz' | 'band2Vert' | 'firstCol' | 'firstRow' | 'lastCol' | 'lastRow' | 'neCell' | 'nwCell' | 'seCell' | 'swCell';
56
+ pPr?: ParagraphFormatting;
57
+ rPr?: TextFormatting;
58
+ tblPr?: TableFormatting;
59
+ trPr?: TableRowFormatting;
60
+ tcPr?: TableCellFormatting;
61
+ }>;
62
+ }
63
+ /**
64
+ * Document defaults (w:docDefaults)
65
+ */
66
+ interface DocDefaults {
67
+ /** Default run properties */
68
+ rPr?: TextFormatting;
69
+ /** Default paragraph properties */
70
+ pPr?: ParagraphFormatting;
71
+ }
72
+ /**
73
+ * Style definitions from styles.xml
74
+ */
75
+ interface StyleDefinitions {
76
+ /** Document defaults */
77
+ docDefaults?: DocDefaults;
78
+ /** Latent styles */
79
+ latentStyles?: {
80
+ defLockedState?: boolean;
81
+ defUIPriority?: number;
82
+ defSemiHidden?: boolean;
83
+ defUnhideWhenUsed?: boolean;
84
+ defQFormat?: boolean;
85
+ count?: number;
86
+ };
87
+ /** Style definitions */
88
+ styles: Style[];
89
+ }
90
+ /**
91
+ * Theme color scheme (a:clrScheme)
92
+ */
93
+ interface ThemeColorScheme {
94
+ /** Dark 1 color (usually black) */
95
+ dk1?: string;
96
+ /** Light 1 color (usually white) */
97
+ lt1?: string;
98
+ /** Dark 2 color */
99
+ dk2?: string;
100
+ /** Light 2 color */
101
+ lt2?: string;
102
+ /** Accent colors 1-6 */
103
+ accent1?: string;
104
+ accent2?: string;
105
+ accent3?: string;
106
+ accent4?: string;
107
+ accent5?: string;
108
+ accent6?: string;
109
+ /** Hyperlink color */
110
+ hlink?: string;
111
+ /** Followed hyperlink color */
112
+ folHlink?: string;
113
+ }
114
+ /**
115
+ * Theme font (with script variants)
116
+ */
117
+ interface ThemeFont {
118
+ /** Latin font */
119
+ latin?: string;
120
+ /** East Asian font */
121
+ ea?: string;
122
+ /** Complex script font */
123
+ cs?: string;
124
+ /** Script-specific fonts */
125
+ fonts?: Record<string, string>;
126
+ }
127
+ /**
128
+ * Theme font scheme (a:fontScheme)
129
+ */
130
+ interface ThemeFontScheme {
131
+ /** Major font (headings) */
132
+ majorFont?: ThemeFont;
133
+ /** Minor font (body text) */
134
+ minorFont?: ThemeFont;
135
+ }
136
+ /**
137
+ * Theme (from theme1.xml)
138
+ */
139
+ interface Theme {
140
+ /** Theme name */
141
+ name?: string;
142
+ /** Color scheme */
143
+ colorScheme?: ThemeColorScheme;
144
+ /** Font scheme */
145
+ fontScheme?: ThemeFontScheme;
146
+ /** Format scheme (fills, lines, effects) - simplified */
147
+ formatScheme?: {
148
+ name?: string;
149
+ };
150
+ }
151
+ /**
152
+ * Font info from fontTable.xml
153
+ */
154
+ interface FontInfo {
155
+ /** Font name */
156
+ name: string;
157
+ /** Alternate names */
158
+ altName?: string;
159
+ /** Panose-1 classification */
160
+ panose1?: string;
161
+ /** Character set */
162
+ charset?: string;
163
+ /** Font family type */
164
+ family?: 'decorative' | 'modern' | 'roman' | 'script' | 'swiss' | 'auto';
165
+ /** Pitch (fixed or variable) */
166
+ pitch?: 'default' | 'fixed' | 'variable';
167
+ /** Signature */
168
+ sig?: {
169
+ usb0?: string;
170
+ usb1?: string;
171
+ usb2?: string;
172
+ usb3?: string;
173
+ csb0?: string;
174
+ csb1?: string;
175
+ };
176
+ /** Embedded font data reference */
177
+ embedRegular?: string;
178
+ embedBold?: string;
179
+ embedItalic?: string;
180
+ embedBoldItalic?: string;
181
+ }
182
+ /**
183
+ * Font table from fontTable.xml
184
+ */
185
+ interface FontTable {
186
+ fonts: FontInfo[];
187
+ }
188
+ /**
189
+ * Relationship type
190
+ */
191
+ type RelationshipType = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/header' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData' | string;
192
+ /**
193
+ * Relationship entry
194
+ */
195
+ interface Relationship {
196
+ /** Relationship ID (e.g., "rId1") */
197
+ id: string;
198
+ /** Relationship type URI */
199
+ type: RelationshipType;
200
+ /** Target path or URL */
201
+ target: string;
202
+ /** Target mode */
203
+ targetMode?: 'External' | 'Internal';
204
+ }
205
+ /**
206
+ * Relationship map (keyed by rId)
207
+ */
208
+ type RelationshipMap = Map<string, Relationship>;
209
+ /**
210
+ * Media file from word/media/
211
+ */
212
+ interface MediaFile {
213
+ /** File path in ZIP */
214
+ path: string;
215
+ /** Original filename */
216
+ filename?: string;
217
+ /** MIME type */
218
+ mimeType: string;
219
+ /** Binary data */
220
+ data: ArrayBuffer;
221
+ /** Base64 encoded data for rendering */
222
+ base64?: string;
223
+ /** Data URL for direct use in src attributes */
224
+ dataUrl?: string;
225
+ }
226
+
227
+ /**
228
+ * Comprehensive TypeScript types for full DOCX document representation
229
+ *
230
+ * This barrel file re-exports all types from the split modules.
231
+ * Existing imports from './types/document' continue to work unchanged.
232
+ *
233
+ * Module structure:
234
+ * - colors.ts — Color primitives, borders, shading
235
+ * - formatting.ts — Text, paragraph, and table formatting properties
236
+ * - lists.ts — Numbering and list definitions
237
+ * - content.ts — Content model (runs, images, shapes, tables, paragraphs, sections)
238
+ * - styles.ts — Styles, theme, fonts, relationships, media
239
+ */
240
+
241
+ /**
242
+ * Complete DOCX package structure
243
+ */
244
+ interface DocxPackage {
245
+ /** Document body */
246
+ document: DocumentBody;
247
+ /** Style definitions */
248
+ styles?: StyleDefinitions;
249
+ /** Theme */
250
+ theme?: Theme;
251
+ /** Numbering definitions */
252
+ numbering?: NumberingDefinitions;
253
+ /** Font table */
254
+ fontTable?: FontTable;
255
+ /** Footnotes */
256
+ footnotes?: Footnote[];
257
+ /** Endnotes */
258
+ endnotes?: Endnote[];
259
+ /** Headers by relationship ID */
260
+ headers?: Map<string, HeaderFooter>;
261
+ /** Footers by relationship ID */
262
+ footers?: Map<string, HeaderFooter>;
263
+ /** Document relationships */
264
+ relationships?: RelationshipMap;
265
+ /** Media files */
266
+ media?: Map<string, MediaFile>;
267
+ /** Document properties */
268
+ properties?: {
269
+ title?: string;
270
+ subject?: string;
271
+ creator?: string;
272
+ keywords?: string;
273
+ description?: string;
274
+ lastModifiedBy?: string;
275
+ revision?: number;
276
+ created?: Date;
277
+ modified?: Date;
278
+ };
279
+ }
280
+ /**
281
+ * Complete parsed DOCX document
282
+ */
283
+ interface Document {
284
+ /** DOCX package with all parsed content */
285
+ package: DocxPackage;
286
+ /** Original ArrayBuffer for round-trip */
287
+ originalBuffer?: ArrayBuffer;
288
+ /** Detected template variables ({{...}}) */
289
+ templateVariables?: string[];
290
+ /** Parsing warnings/errors */
291
+ warnings?: string[];
292
+ }
293
+
294
+ export type { Document as D, Style as S, Theme as T, StyleType as a };
@@ -0,0 +1,294 @@
1
+ import { T as TextFormatting, P as ParagraphFormatting, f as TableFormatting, g as TableRowFormatting, h as TableCellFormatting, D as DocumentBody, N as NumberingDefinitions, F as Footnote, E as Endnote, H as HeaderFooter } from './content-B2MzIMwA.mjs';
2
+
3
+ /**
4
+ * Styles, Theme, Font Table, Relationships & Media Types
5
+ *
6
+ * Types for document-level definitions that don't form the content tree.
7
+ */
8
+
9
+ /**
10
+ * Style type
11
+ */
12
+ type StyleType = 'paragraph' | 'character' | 'numbering' | 'table';
13
+ /**
14
+ * Style definition
15
+ */
16
+ interface Style {
17
+ /** Style ID */
18
+ styleId: string;
19
+ /** Style type */
20
+ type: StyleType;
21
+ /** Display name */
22
+ name?: string;
23
+ /** Based on style ID */
24
+ basedOn?: string;
25
+ /** Next style after Enter (for paragraph styles) */
26
+ next?: string;
27
+ /** Linked style (paragraph/character pair) */
28
+ link?: string;
29
+ /** UI sort priority */
30
+ uiPriority?: number;
31
+ /** Hidden from UI */
32
+ hidden?: boolean;
33
+ /** Semi-hidden from UI */
34
+ semiHidden?: boolean;
35
+ /** Unhide when used */
36
+ unhideWhenUsed?: boolean;
37
+ /** Quick format in gallery */
38
+ qFormat?: boolean;
39
+ /** Is default style */
40
+ default?: boolean;
41
+ /** Personal style (custom) */
42
+ personal?: boolean;
43
+ /** Paragraph properties (for paragraph/table styles) */
44
+ pPr?: ParagraphFormatting;
45
+ /** Run properties */
46
+ rPr?: TextFormatting;
47
+ /** Table properties (for table styles) */
48
+ tblPr?: TableFormatting;
49
+ /** Table row properties */
50
+ trPr?: TableRowFormatting;
51
+ /** Table cell properties */
52
+ tcPr?: TableCellFormatting;
53
+ /** Conditional table style parts */
54
+ tblStylePr?: Array<{
55
+ type: 'band1Horz' | 'band1Vert' | 'band2Horz' | 'band2Vert' | 'firstCol' | 'firstRow' | 'lastCol' | 'lastRow' | 'neCell' | 'nwCell' | 'seCell' | 'swCell';
56
+ pPr?: ParagraphFormatting;
57
+ rPr?: TextFormatting;
58
+ tblPr?: TableFormatting;
59
+ trPr?: TableRowFormatting;
60
+ tcPr?: TableCellFormatting;
61
+ }>;
62
+ }
63
+ /**
64
+ * Document defaults (w:docDefaults)
65
+ */
66
+ interface DocDefaults {
67
+ /** Default run properties */
68
+ rPr?: TextFormatting;
69
+ /** Default paragraph properties */
70
+ pPr?: ParagraphFormatting;
71
+ }
72
+ /**
73
+ * Style definitions from styles.xml
74
+ */
75
+ interface StyleDefinitions {
76
+ /** Document defaults */
77
+ docDefaults?: DocDefaults;
78
+ /** Latent styles */
79
+ latentStyles?: {
80
+ defLockedState?: boolean;
81
+ defUIPriority?: number;
82
+ defSemiHidden?: boolean;
83
+ defUnhideWhenUsed?: boolean;
84
+ defQFormat?: boolean;
85
+ count?: number;
86
+ };
87
+ /** Style definitions */
88
+ styles: Style[];
89
+ }
90
+ /**
91
+ * Theme color scheme (a:clrScheme)
92
+ */
93
+ interface ThemeColorScheme {
94
+ /** Dark 1 color (usually black) */
95
+ dk1?: string;
96
+ /** Light 1 color (usually white) */
97
+ lt1?: string;
98
+ /** Dark 2 color */
99
+ dk2?: string;
100
+ /** Light 2 color */
101
+ lt2?: string;
102
+ /** Accent colors 1-6 */
103
+ accent1?: string;
104
+ accent2?: string;
105
+ accent3?: string;
106
+ accent4?: string;
107
+ accent5?: string;
108
+ accent6?: string;
109
+ /** Hyperlink color */
110
+ hlink?: string;
111
+ /** Followed hyperlink color */
112
+ folHlink?: string;
113
+ }
114
+ /**
115
+ * Theme font (with script variants)
116
+ */
117
+ interface ThemeFont {
118
+ /** Latin font */
119
+ latin?: string;
120
+ /** East Asian font */
121
+ ea?: string;
122
+ /** Complex script font */
123
+ cs?: string;
124
+ /** Script-specific fonts */
125
+ fonts?: Record<string, string>;
126
+ }
127
+ /**
128
+ * Theme font scheme (a:fontScheme)
129
+ */
130
+ interface ThemeFontScheme {
131
+ /** Major font (headings) */
132
+ majorFont?: ThemeFont;
133
+ /** Minor font (body text) */
134
+ minorFont?: ThemeFont;
135
+ }
136
+ /**
137
+ * Theme (from theme1.xml)
138
+ */
139
+ interface Theme {
140
+ /** Theme name */
141
+ name?: string;
142
+ /** Color scheme */
143
+ colorScheme?: ThemeColorScheme;
144
+ /** Font scheme */
145
+ fontScheme?: ThemeFontScheme;
146
+ /** Format scheme (fills, lines, effects) - simplified */
147
+ formatScheme?: {
148
+ name?: string;
149
+ };
150
+ }
151
+ /**
152
+ * Font info from fontTable.xml
153
+ */
154
+ interface FontInfo {
155
+ /** Font name */
156
+ name: string;
157
+ /** Alternate names */
158
+ altName?: string;
159
+ /** Panose-1 classification */
160
+ panose1?: string;
161
+ /** Character set */
162
+ charset?: string;
163
+ /** Font family type */
164
+ family?: 'decorative' | 'modern' | 'roman' | 'script' | 'swiss' | 'auto';
165
+ /** Pitch (fixed or variable) */
166
+ pitch?: 'default' | 'fixed' | 'variable';
167
+ /** Signature */
168
+ sig?: {
169
+ usb0?: string;
170
+ usb1?: string;
171
+ usb2?: string;
172
+ usb3?: string;
173
+ csb0?: string;
174
+ csb1?: string;
175
+ };
176
+ /** Embedded font data reference */
177
+ embedRegular?: string;
178
+ embedBold?: string;
179
+ embedItalic?: string;
180
+ embedBoldItalic?: string;
181
+ }
182
+ /**
183
+ * Font table from fontTable.xml
184
+ */
185
+ interface FontTable {
186
+ fonts: FontInfo[];
187
+ }
188
+ /**
189
+ * Relationship type
190
+ */
191
+ type RelationshipType = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/header' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData' | string;
192
+ /**
193
+ * Relationship entry
194
+ */
195
+ interface Relationship {
196
+ /** Relationship ID (e.g., "rId1") */
197
+ id: string;
198
+ /** Relationship type URI */
199
+ type: RelationshipType;
200
+ /** Target path or URL */
201
+ target: string;
202
+ /** Target mode */
203
+ targetMode?: 'External' | 'Internal';
204
+ }
205
+ /**
206
+ * Relationship map (keyed by rId)
207
+ */
208
+ type RelationshipMap = Map<string, Relationship>;
209
+ /**
210
+ * Media file from word/media/
211
+ */
212
+ interface MediaFile {
213
+ /** File path in ZIP */
214
+ path: string;
215
+ /** Original filename */
216
+ filename?: string;
217
+ /** MIME type */
218
+ mimeType: string;
219
+ /** Binary data */
220
+ data: ArrayBuffer;
221
+ /** Base64 encoded data for rendering */
222
+ base64?: string;
223
+ /** Data URL for direct use in src attributes */
224
+ dataUrl?: string;
225
+ }
226
+
227
+ /**
228
+ * Comprehensive TypeScript types for full DOCX document representation
229
+ *
230
+ * This barrel file re-exports all types from the split modules.
231
+ * Existing imports from './types/document' continue to work unchanged.
232
+ *
233
+ * Module structure:
234
+ * - colors.ts — Color primitives, borders, shading
235
+ * - formatting.ts — Text, paragraph, and table formatting properties
236
+ * - lists.ts — Numbering and list definitions
237
+ * - content.ts — Content model (runs, images, shapes, tables, paragraphs, sections)
238
+ * - styles.ts — Styles, theme, fonts, relationships, media
239
+ */
240
+
241
+ /**
242
+ * Complete DOCX package structure
243
+ */
244
+ interface DocxPackage {
245
+ /** Document body */
246
+ document: DocumentBody;
247
+ /** Style definitions */
248
+ styles?: StyleDefinitions;
249
+ /** Theme */
250
+ theme?: Theme;
251
+ /** Numbering definitions */
252
+ numbering?: NumberingDefinitions;
253
+ /** Font table */
254
+ fontTable?: FontTable;
255
+ /** Footnotes */
256
+ footnotes?: Footnote[];
257
+ /** Endnotes */
258
+ endnotes?: Endnote[];
259
+ /** Headers by relationship ID */
260
+ headers?: Map<string, HeaderFooter>;
261
+ /** Footers by relationship ID */
262
+ footers?: Map<string, HeaderFooter>;
263
+ /** Document relationships */
264
+ relationships?: RelationshipMap;
265
+ /** Media files */
266
+ media?: Map<string, MediaFile>;
267
+ /** Document properties */
268
+ properties?: {
269
+ title?: string;
270
+ subject?: string;
271
+ creator?: string;
272
+ keywords?: string;
273
+ description?: string;
274
+ lastModifiedBy?: string;
275
+ revision?: number;
276
+ created?: Date;
277
+ modified?: Date;
278
+ };
279
+ }
280
+ /**
281
+ * Complete parsed DOCX document
282
+ */
283
+ interface Document {
284
+ /** DOCX package with all parsed content */
285
+ package: DocxPackage;
286
+ /** Original ArrayBuffer for round-trip */
287
+ originalBuffer?: ArrayBuffer;
288
+ /** Detected template variables ({{...}}) */
289
+ templateVariables?: string[];
290
+ /** Parsing warnings/errors */
291
+ warnings?: string[];
292
+ }
293
+
294
+ export type { Document as D, Style as S, Theme as T, StyleType as a };
@@ -0,0 +1 @@
1
+ 'use strict';var chunkE6MQXELR_js=require('./chunk-E6MQXELR.js');require('./chunk-ILYKDR3C.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkE6MQXELR_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkE6MQXELR_js.b}});
@@ -0,0 +1 @@
1
+ export{a as executeCommand,b as executeCommands}from'./chunk-ONNHQWAX.mjs';import'./chunk-FWPVBFKQ.mjs';import'./chunk-TAUMSKRE.mjs';