open-agreements 0.7.6 → 0.8.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 (879) hide show
  1. package/LICENSE +201 -21
  2. package/README.de.md +16 -29
  3. package/README.es.md +16 -29
  4. package/README.md +45 -54
  5. package/README.pt-br.md +16 -29
  6. package/README.template.md +19 -25
  7. package/README.zh.md +16 -29
  8. package/content/recipes/nvca-certificate-of-incorporation/fields/acquisition_exception_shares.json +36 -0
  9. package/content/recipes/nvca-certificate-of-incorporation/fields/adjustment_notice_days.json +22 -0
  10. package/content/recipes/nvca-certificate-of-incorporation/fields/common_shares_authorized.json +22 -0
  11. package/content/recipes/nvca-certificate-of-incorporation/fields/company_name.json +29 -0
  12. package/content/recipes/nvca-certificate-of-incorporation/fields/conversion_notice_days.json +22 -0
  13. package/content/recipes/nvca-certificate-of-incorporation/fields/dividend_formula_alt.json +22 -0
  14. package/content/recipes/nvca-certificate-of-incorporation/fields/dividend_rate_per_share.json +22 -0
  15. package/content/recipes/nvca-certificate-of-incorporation/fields/dividend_rate_percent.json +22 -0
  16. package/content/recipes/nvca-certificate-of-incorporation/fields/effective_date.json +22 -0
  17. package/content/recipes/nvca-certificate-of-incorporation/fields/number_of_classes.json +29 -0
  18. package/content/recipes/nvca-certificate-of-incorporation/fields/original_issue_price.json +22 -0
  19. package/content/recipes/nvca-certificate-of-incorporation/fields/par_value.json +36 -0
  20. package/content/recipes/nvca-certificate-of-incorporation/fields/preferred_director_seats.json +22 -0
  21. package/content/recipes/nvca-certificate-of-incorporation/fields/preferred_shares_authorized.json +22 -0
  22. package/content/recipes/nvca-certificate-of-incorporation/fields/preferred_shares_designated_portion.json +29 -0
  23. package/content/recipes/nvca-certificate-of-incorporation/fields/preferred_shares_outstanding_threshold.json +29 -0
  24. package/content/recipes/nvca-certificate-of-incorporation/fields/qualified_financing_notice_days.json +22 -0
  25. package/content/recipes/nvca-certificate-of-incorporation/fields/redemption_interest_rate.json +22 -0
  26. package/content/recipes/nvca-certificate-of-incorporation/fields/redemption_start_date.json +22 -0
  27. package/content/recipes/nvca-certificate-of-incorporation/fields/registered_agent_address.json +22 -0
  28. package/content/recipes/nvca-certificate-of-incorporation/fields/registered_agent_name.json +22 -0
  29. package/content/recipes/nvca-certificate-of-incorporation/fields/series_designation.json +22 -0
  30. package/content/recipes/nvca-certificate-of-incorporation/fields/signature_page_marker.json +22 -0
  31. package/content/recipes/nvca-certificate-of-incorporation/fields/specify_percentage.json +22 -0
  32. package/content/recipes/nvca-certificate-of-incorporation/fields/strategic_partnership_exception_shares.json +22 -0
  33. package/content/recipes/nvca-certificate-of-incorporation/fields/time_zone.json +22 -0
  34. package/content/recipes/nvca-certificate-of-incorporation/fields/total_authorized_shares.json +22 -0
  35. package/content/recipes/nvca-certificate-of-incorporation/template-manifest.json +77 -0
  36. package/content/recipes/nvca-stock-purchase-agreement/fields/agreement_date_month_day.json +27 -0
  37. package/content/recipes/nvca-stock-purchase-agreement/fields/agreement_year_two_digits.json +27 -0
  38. package/content/recipes/nvca-stock-purchase-agreement/fields/company_name.json +25 -0
  39. package/content/recipes/nvca-stock-purchase-agreement/fields/investor_counsel.json +27 -0
  40. package/content/recipes/nvca-stock-purchase-agreement/fields/minimum_shares_initial_closing.json +39 -0
  41. package/content/recipes/nvca-stock-purchase-agreement/fields/optional_plural_suffix.json +27 -0
  42. package/content/recipes/nvca-stock-purchase-agreement/fields/par_value_per_share.json +28 -0
  43. package/content/recipes/nvca-stock-purchase-agreement/fields/purchase_price_per_share.json +28 -0
  44. package/content/recipes/nvca-stock-purchase-agreement/fields/series_designation.json +159 -0
  45. package/content/recipes/nvca-stock-purchase-agreement/metadata.yaml +1 -1
  46. package/content/recipes/nvca-stock-purchase-agreement/template-manifest.json +24 -0
  47. package/content/templates/bonterms-mutual-nda/template.docx +0 -0
  48. package/content/templates/openagreements-board-consent-safe/.template.generated.json +0 -1
  49. package/content/templates/openagreements-due-diligence-request-list/template.docx +0 -0
  50. package/content/templates/openagreements-due-diligence-request-list/template.md +1 -1
  51. package/content/templates/openagreements-employee-ip-inventions-assignment/.template.generated.json +9 -5
  52. package/content/templates/openagreements-employee-ip-inventions-assignment/README.md +2 -0
  53. package/content/templates/openagreements-employee-ip-inventions-assignment/metadata.yaml +8 -9
  54. package/content/templates/openagreements-employee-ip-inventions-assignment/template.docx +0 -0
  55. package/content/templates/openagreements-employee-ip-inventions-assignment/template.md +3 -4
  56. package/content/templates/openagreements-employment-confidentiality-acknowledgement/metadata.yaml +0 -9
  57. package/content/templates/openagreements-employment-confidentiality-acknowledgement/template.docx +0 -0
  58. package/content/templates/openagreements-employment-confidentiality-acknowledgement/template.json +0 -1
  59. package/content/templates/openagreements-employment-offer-letter/.template.generated.json +9 -5
  60. package/content/templates/openagreements-employment-offer-letter/README.md +17 -5
  61. package/content/templates/openagreements-employment-offer-letter/metadata.yaml +8 -9
  62. package/content/templates/openagreements-employment-offer-letter/template.docx +0 -0
  63. package/content/templates/openagreements-employment-offer-letter/template.md +3 -4
  64. package/content/templates/openagreements-restrictive-covenant-florida/.template.generated.json +9 -5
  65. package/content/templates/openagreements-restrictive-covenant-florida/README.md +2 -2
  66. package/content/templates/openagreements-restrictive-covenant-florida/metadata.yaml +10 -12
  67. package/content/templates/openagreements-restrictive-covenant-florida/template.docx +0 -0
  68. package/content/templates/openagreements-restrictive-covenant-florida/template.md +3 -4
  69. package/content/templates/openagreements-restrictive-covenant-wyoming/.template.generated.json +9 -5
  70. package/content/templates/openagreements-restrictive-covenant-wyoming/metadata.yaml +10 -12
  71. package/content/templates/openagreements-restrictive-covenant-wyoming/template.docx +0 -0
  72. package/content/templates/openagreements-restrictive-covenant-wyoming/template.md +3 -4
  73. package/content/templates/openagreements-stockholder-consent-safe/.template.generated.json +0 -1
  74. package/dist/core/checklist/format-checklist-docx.d.ts.map +1 -1
  75. package/dist/core/checklist/format-checklist-docx.js +4 -1
  76. package/dist/core/checklist/format-checklist-docx.js.map +1 -1
  77. package/dist/core/engine.d.ts.map +1 -1
  78. package/dist/core/engine.js +2 -40
  79. package/dist/core/engine.js.map +1 -1
  80. package/dist/core/fill-pipeline.d.ts +0 -8
  81. package/dist/core/fill-pipeline.d.ts.map +1 -1
  82. package/dist/core/fill-pipeline.js +54 -38
  83. package/dist/core/fill-pipeline.js.map +1 -1
  84. package/dist/core/humanize-docx.d.ts.map +1 -1
  85. package/dist/core/humanize-docx.js +16 -6
  86. package/dist/core/humanize-docx.js.map +1 -1
  87. package/dist/core/recipe/bracket-normalizer.d.ts.map +1 -1
  88. package/dist/core/recipe/bracket-normalizer.js +3 -7
  89. package/dist/core/recipe/bracket-normalizer.js.map +1 -1
  90. package/dist/core/recipe/cleaner.js +5 -5
  91. package/dist/core/recipe/cleaner.js.map +1 -1
  92. package/dist/core/recipe/index.d.ts +1 -1
  93. package/dist/core/recipe/index.d.ts.map +1 -1
  94. package/dist/core/recipe/index.js +57 -4
  95. package/dist/core/recipe/index.js.map +1 -1
  96. package/dist/core/recipe/ooxml-parts.d.ts +11 -0
  97. package/dist/core/recipe/ooxml-parts.d.ts.map +1 -1
  98. package/dist/core/recipe/ooxml-parts.js +22 -0
  99. package/dist/core/recipe/ooxml-parts.js.map +1 -1
  100. package/dist/core/recipe/patcher.d.ts.map +1 -1
  101. package/dist/core/recipe/patcher.js +2 -5
  102. package/dist/core/recipe/patcher.js.map +1 -1
  103. package/dist/core/recipe/source-drift.d.ts +19 -0
  104. package/dist/core/recipe/source-drift.d.ts.map +1 -1
  105. package/dist/core/recipe/source-drift.js +32 -2
  106. package/dist/core/recipe/source-drift.js.map +1 -1
  107. package/dist/core/selector.d.ts.map +1 -1
  108. package/dist/core/selector.js +49 -4
  109. package/dist/core/selector.js.map +1 -1
  110. package/dist/core/selectors/index.d.ts +40 -0
  111. package/dist/core/selectors/index.d.ts.map +1 -0
  112. package/dist/core/selectors/index.js +64 -0
  113. package/dist/core/selectors/index.js.map +1 -0
  114. package/dist/core/selectors/loader.d.ts +16 -0
  115. package/dist/core/selectors/loader.d.ts.map +1 -0
  116. package/dist/core/selectors/loader.js +80 -0
  117. package/dist/core/selectors/loader.js.map +1 -0
  118. package/dist/core/selectors/manifest-schema.d.ts +123 -0
  119. package/dist/core/selectors/manifest-schema.d.ts.map +1 -0
  120. package/dist/core/selectors/manifest-schema.js +93 -0
  121. package/dist/core/selectors/manifest-schema.js.map +1 -0
  122. package/dist/core/selectors/patch.d.ts +24 -0
  123. package/dist/core/selectors/patch.d.ts.map +1 -0
  124. package/dist/core/selectors/patch.js +68 -0
  125. package/dist/core/selectors/patch.js.map +1 -0
  126. package/dist/core/selectors/postconditions.d.ts +24 -0
  127. package/dist/core/selectors/postconditions.d.ts.map +1 -0
  128. package/dist/core/selectors/postconditions.js +50 -0
  129. package/dist/core/selectors/postconditions.js.map +1 -0
  130. package/dist/core/selectors/resolve.d.ts +32 -0
  131. package/dist/core/selectors/resolve.d.ts.map +1 -0
  132. package/dist/core/selectors/resolve.js +36 -0
  133. package/dist/core/selectors/resolve.js.map +1 -0
  134. package/dist/core/unified-pipeline.d.ts +3 -1
  135. package/dist/core/unified-pipeline.d.ts.map +1 -1
  136. package/dist/core/unified-pipeline.js +23 -11
  137. package/dist/core/unified-pipeline.js.map +1 -1
  138. package/gemini-extension.json +1 -1
  139. package/node_modules/@usejunior/docx-core/LICENSE +202 -21
  140. package/node_modules/@usejunior/docx-core/NOTICE +2 -0
  141. package/node_modules/@usejunior/docx-core/README.md +2 -2
  142. package/node_modules/@usejunior/docx-core/dist/.tsbuildinfo +1 -1
  143. package/node_modules/@usejunior/docx-core/dist/atomizer.d.ts +55 -0
  144. package/node_modules/@usejunior/docx-core/dist/atomizer.d.ts.map +1 -1
  145. package/node_modules/@usejunior/docx-core/dist/atomizer.js +139 -14
  146. package/node_modules/@usejunior/docx-core/dist/atomizer.js.map +1 -1
  147. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/auxiliaryIdCollision.d.ts +99 -0
  148. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/auxiliaryIdCollision.d.ts.map +1 -0
  149. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/auxiliaryIdCollision.js +415 -0
  150. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/auxiliaryIdCollision.js.map +1 -0
  151. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.d.ts.map +1 -1
  152. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.js +403 -113
  153. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.js.map +1 -1
  154. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/formattingFidelity.d.ts +99 -0
  155. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/formattingFidelity.d.ts.map +1 -0
  156. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/formattingFidelity.js +449 -0
  157. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/formattingFidelity.js.map +1 -0
  158. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-bookmarks.d.ts +37 -0
  159. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-bookmarks.d.ts.map +1 -0
  160. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-bookmarks.js +189 -0
  161. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-bookmarks.js.map +1 -0
  162. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-containers.d.ts +74 -0
  163. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-containers.d.ts.map +1 -0
  164. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-containers.js +171 -0
  165. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-containers.js.map +1 -0
  166. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-deletion.d.ts +88 -0
  167. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-deletion.d.ts.map +1 -0
  168. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-deletion.js +326 -0
  169. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-deletion.js.map +1 -0
  170. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-postprocess.d.ts +85 -0
  171. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-postprocess.d.ts.map +1 -0
  172. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-postprocess.js +402 -0
  173. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-postprocess.js.map +1 -0
  174. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-presplit.d.ts +39 -0
  175. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-presplit.d.ts.map +1 -0
  176. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-presplit.js +265 -0
  177. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-presplit.js.map +1 -0
  178. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-shared.d.ts +62 -0
  179. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-shared.d.ts.map +1 -0
  180. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-shared.js +139 -0
  181. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-shared.js.map +1 -0
  182. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-wrappers.d.ts +198 -0
  183. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-wrappers.d.ts.map +1 -0
  184. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-wrappers.js +475 -0
  185. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier-wrappers.js.map +1 -0
  186. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.d.ts +6 -290
  187. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.d.ts.map +1 -1
  188. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.js +23 -1828
  189. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.js.map +1 -1
  190. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.d.ts +36 -2
  191. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.d.ts.map +1 -1
  192. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.js +456 -224
  193. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.js.map +1 -1
  194. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.d.ts.map +1 -1
  195. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.js +199 -173
  196. package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.js.map +1 -1
  197. package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.d.ts.map +1 -1
  198. package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.js +7 -0
  199. package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.js.map +1 -1
  200. package/node_modules/@usejunior/docx-core/dist/cli/compare-two.d.ts.map +1 -1
  201. package/node_modules/@usejunior/docx-core/dist/cli/compare-two.js +3 -1
  202. package/node_modules/@usejunior/docx-core/dist/cli/compare-two.js.map +1 -1
  203. package/node_modules/@usejunior/docx-core/dist/cli/conformance-adapter.d.ts +3 -0
  204. package/node_modules/@usejunior/docx-core/dist/cli/conformance-adapter.d.ts.map +1 -0
  205. package/node_modules/@usejunior/docx-core/dist/cli/conformance-adapter.js +93 -0
  206. package/node_modules/@usejunior/docx-core/dist/cli/conformance-adapter.js.map +1 -0
  207. package/node_modules/@usejunior/docx-core/dist/cli/index.d.ts.map +1 -1
  208. package/node_modules/@usejunior/docx-core/dist/cli/index.js +5 -1
  209. package/node_modules/@usejunior/docx-core/dist/cli/index.js.map +1 -1
  210. package/node_modules/@usejunior/docx-core/dist/compare-types.d.ts +197 -0
  211. package/node_modules/@usejunior/docx-core/dist/compare-types.d.ts.map +1 -0
  212. package/node_modules/@usejunior/docx-core/dist/compare-types.js +2 -0
  213. package/node_modules/@usejunior/docx-core/dist/compare-types.js.map +1 -0
  214. package/node_modules/@usejunior/docx-core/dist/core-types.d.ts +5 -1
  215. package/node_modules/@usejunior/docx-core/dist/core-types.d.ts.map +1 -1
  216. package/node_modules/@usejunior/docx-core/dist/core-types.js +5 -1
  217. package/node_modules/@usejunior/docx-core/dist/core-types.js.map +1 -1
  218. package/node_modules/@usejunior/docx-core/dist/footnotes.d.ts +8 -3
  219. package/node_modules/@usejunior/docx-core/dist/footnotes.d.ts.map +1 -1
  220. package/node_modules/@usejunior/docx-core/dist/footnotes.js +8 -3
  221. package/node_modules/@usejunior/docx-core/dist/footnotes.js.map +1 -1
  222. package/node_modules/@usejunior/docx-core/dist/generation/compile.d.ts +22 -0
  223. package/node_modules/@usejunior/docx-core/dist/generation/compile.d.ts.map +1 -0
  224. package/node_modules/@usejunior/docx-core/dist/generation/compile.js +58 -0
  225. package/node_modules/@usejunior/docx-core/dist/generation/compile.js.map +1 -0
  226. package/node_modules/@usejunior/docx-core/dist/generation/context.d.ts +42 -0
  227. package/node_modules/@usejunior/docx-core/dist/generation/context.d.ts.map +1 -0
  228. package/node_modules/@usejunior/docx-core/dist/generation/context.js +65 -0
  229. package/node_modules/@usejunior/docx-core/dist/generation/context.js.map +1 -0
  230. package/node_modules/@usejunior/docx-core/dist/generation/emit/comments-part.d.ts +36 -0
  231. package/node_modules/@usejunior/docx-core/dist/generation/emit/comments-part.d.ts.map +1 -0
  232. package/node_modules/@usejunior/docx-core/dist/generation/emit/comments-part.js +116 -0
  233. package/node_modules/@usejunior/docx-core/dist/generation/emit/comments-part.js.map +1 -0
  234. package/node_modules/@usejunior/docx-core/dist/generation/emit/document-part.d.ts +24 -0
  235. package/node_modules/@usejunior/docx-core/dist/generation/emit/document-part.d.ts.map +1 -0
  236. package/node_modules/@usejunior/docx-core/dist/generation/emit/document-part.js +60 -0
  237. package/node_modules/@usejunior/docx-core/dist/generation/emit/document-part.js.map +1 -0
  238. package/node_modules/@usejunior/docx-core/dist/generation/emit/emit-context.d.ts +28 -0
  239. package/node_modules/@usejunior/docx-core/dist/generation/emit/emit-context.d.ts.map +1 -0
  240. package/node_modules/@usejunior/docx-core/dist/generation/emit/emit-context.js +19 -0
  241. package/node_modules/@usejunior/docx-core/dist/generation/emit/emit-context.js.map +1 -0
  242. package/node_modules/@usejunior/docx-core/dist/generation/emit/font-table-part.d.ts +16 -0
  243. package/node_modules/@usejunior/docx-core/dist/generation/emit/font-table-part.d.ts.map +1 -0
  244. package/node_modules/@usejunior/docx-core/dist/generation/emit/font-table-part.js +74 -0
  245. package/node_modules/@usejunior/docx-core/dist/generation/emit/font-table-part.js.map +1 -0
  246. package/node_modules/@usejunior/docx-core/dist/generation/emit/header-footer-part.d.ts +23 -0
  247. package/node_modules/@usejunior/docx-core/dist/generation/emit/header-footer-part.d.ts.map +1 -0
  248. package/node_modules/@usejunior/docx-core/dist/generation/emit/header-footer-part.js +57 -0
  249. package/node_modules/@usejunior/docx-core/dist/generation/emit/header-footer-part.js.map +1 -0
  250. package/node_modules/@usejunior/docx-core/dist/generation/emit/numbering-part.d.ts +29 -0
  251. package/node_modules/@usejunior/docx-core/dist/generation/emit/numbering-part.d.ts.map +1 -0
  252. package/node_modules/@usejunior/docx-core/dist/generation/emit/numbering-part.js +102 -0
  253. package/node_modules/@usejunior/docx-core/dist/generation/emit/numbering-part.js.map +1 -0
  254. package/node_modules/@usejunior/docx-core/dist/generation/emit/package-parts.d.ts +24 -0
  255. package/node_modules/@usejunior/docx-core/dist/generation/emit/package-parts.d.ts.map +1 -0
  256. package/node_modules/@usejunior/docx-core/dist/generation/emit/package-parts.js +121 -0
  257. package/node_modules/@usejunior/docx-core/dist/generation/emit/package-parts.js.map +1 -0
  258. package/node_modules/@usejunior/docx-core/dist/generation/emit/paragraph.d.ts +24 -0
  259. package/node_modules/@usejunior/docx-core/dist/generation/emit/paragraph.d.ts.map +1 -0
  260. package/node_modules/@usejunior/docx-core/dist/generation/emit/paragraph.js +63 -0
  261. package/node_modules/@usejunior/docx-core/dist/generation/emit/paragraph.js.map +1 -0
  262. package/node_modules/@usejunior/docx-core/dist/generation/emit/properties.d.ts +36 -0
  263. package/node_modules/@usejunior/docx-core/dist/generation/emit/properties.d.ts.map +1 -0
  264. package/node_modules/@usejunior/docx-core/dist/generation/emit/properties.js +157 -0
  265. package/node_modules/@usejunior/docx-core/dist/generation/emit/properties.js.map +1 -0
  266. package/node_modules/@usejunior/docx-core/dist/generation/emit/run.d.ts +16 -0
  267. package/node_modules/@usejunior/docx-core/dist/generation/emit/run.d.ts.map +1 -0
  268. package/node_modules/@usejunior/docx-core/dist/generation/emit/run.js +71 -0
  269. package/node_modules/@usejunior/docx-core/dist/generation/emit/run.js.map +1 -0
  270. package/node_modules/@usejunior/docx-core/dist/generation/emit/section.d.ts +29 -0
  271. package/node_modules/@usejunior/docx-core/dist/generation/emit/section.d.ts.map +1 -0
  272. package/node_modules/@usejunior/docx-core/dist/generation/emit/section.js +117 -0
  273. package/node_modules/@usejunior/docx-core/dist/generation/emit/section.js.map +1 -0
  274. package/node_modules/@usejunior/docx-core/dist/generation/emit/settings-part.d.ts +13 -0
  275. package/node_modules/@usejunior/docx-core/dist/generation/emit/settings-part.d.ts.map +1 -0
  276. package/node_modules/@usejunior/docx-core/dist/generation/emit/settings-part.js +68 -0
  277. package/node_modules/@usejunior/docx-core/dist/generation/emit/settings-part.js.map +1 -0
  278. package/node_modules/@usejunior/docx-core/dist/generation/emit/styles-part.d.ts +16 -0
  279. package/node_modules/@usejunior/docx-core/dist/generation/emit/styles-part.d.ts.map +1 -0
  280. package/node_modules/@usejunior/docx-core/dist/generation/emit/styles-part.js +82 -0
  281. package/node_modules/@usejunior/docx-core/dist/generation/emit/styles-part.js.map +1 -0
  282. package/node_modules/@usejunior/docx-core/dist/generation/emit/table.d.ts +26 -0
  283. package/node_modules/@usejunior/docx-core/dist/generation/emit/table.d.ts.map +1 -0
  284. package/node_modules/@usejunior/docx-core/dist/generation/emit/table.js +209 -0
  285. package/node_modules/@usejunior/docx-core/dist/generation/emit/table.js.map +1 -0
  286. package/node_modules/@usejunior/docx-core/dist/generation/emit/theme-part.d.ts +21 -0
  287. package/node_modules/@usejunior/docx-core/dist/generation/emit/theme-part.d.ts.map +1 -0
  288. package/node_modules/@usejunior/docx-core/dist/generation/emit/theme-part.js +151 -0
  289. package/node_modules/@usejunior/docx-core/dist/generation/emit/theme-part.js.map +1 -0
  290. package/node_modules/@usejunior/docx-core/dist/generation/emit/web-settings-part.d.ts +12 -0
  291. package/node_modules/@usejunior/docx-core/dist/generation/emit/web-settings-part.d.ts.map +1 -0
  292. package/node_modules/@usejunior/docx-core/dist/generation/emit/web-settings-part.js +19 -0
  293. package/node_modules/@usejunior/docx-core/dist/generation/emit/web-settings-part.js.map +1 -0
  294. package/node_modules/@usejunior/docx-core/dist/generation/errors.d.ts +22 -0
  295. package/node_modules/@usejunior/docx-core/dist/generation/errors.d.ts.map +1 -0
  296. package/node_modules/@usejunior/docx-core/dist/generation/errors.js +29 -0
  297. package/node_modules/@usejunior/docx-core/dist/generation/errors.js.map +1 -0
  298. package/node_modules/@usejunior/docx-core/dist/generation/index.d.ts +13 -0
  299. package/node_modules/@usejunior/docx-core/dist/generation/index.d.ts.map +1 -0
  300. package/node_modules/@usejunior/docx-core/dist/generation/index.js +12 -0
  301. package/node_modules/@usejunior/docx-core/dist/generation/index.js.map +1 -0
  302. package/node_modules/@usejunior/docx-core/dist/generation/ordering.d.ts +46 -0
  303. package/node_modules/@usejunior/docx-core/dist/generation/ordering.d.ts.map +1 -0
  304. package/node_modules/@usejunior/docx-core/dist/generation/ordering.js +119 -0
  305. package/node_modules/@usejunior/docx-core/dist/generation/ordering.js.map +1 -0
  306. package/node_modules/@usejunior/docx-core/dist/generation/recipes.d.ts +87 -0
  307. package/node_modules/@usejunior/docx-core/dist/generation/recipes.d.ts.map +1 -0
  308. package/node_modules/@usejunior/docx-core/dist/generation/recipes.js +232 -0
  309. package/node_modules/@usejunior/docx-core/dist/generation/recipes.js.map +1 -0
  310. package/node_modules/@usejunior/docx-core/dist/generation/structural-checks.d.ts +24 -0
  311. package/node_modules/@usejunior/docx-core/dist/generation/structural-checks.d.ts.map +1 -0
  312. package/node_modules/@usejunior/docx-core/dist/generation/structural-checks.js +318 -0
  313. package/node_modules/@usejunior/docx-core/dist/generation/structural-checks.js.map +1 -0
  314. package/node_modules/@usejunior/docx-core/dist/generation/theme-colors.d.ts +4 -0
  315. package/node_modules/@usejunior/docx-core/dist/generation/theme-colors.d.ts.map +1 -0
  316. package/node_modules/@usejunior/docx-core/dist/generation/theme-colors.js +18 -0
  317. package/node_modules/@usejunior/docx-core/dist/generation/theme-colors.js.map +1 -0
  318. package/node_modules/@usejunior/docx-core/dist/generation/types.d.ts +266 -0
  319. package/node_modules/@usejunior/docx-core/dist/generation/types.d.ts.map +1 -0
  320. package/node_modules/@usejunior/docx-core/dist/generation/types.js +63 -0
  321. package/node_modules/@usejunior/docx-core/dist/generation/types.js.map +1 -0
  322. package/node_modules/@usejunior/docx-core/dist/generation/validate-spec.d.ts +27 -0
  323. package/node_modules/@usejunior/docx-core/dist/generation/validate-spec.d.ts.map +1 -0
  324. package/node_modules/@usejunior/docx-core/dist/generation/validate-spec.js +363 -0
  325. package/node_modules/@usejunior/docx-core/dist/generation/validate-spec.js.map +1 -0
  326. package/node_modules/@usejunior/docx-core/dist/index.d.ts +9 -150
  327. package/node_modules/@usejunior/docx-core/dist/index.d.ts.map +1 -1
  328. package/node_modules/@usejunior/docx-core/dist/index.js +14 -0
  329. package/node_modules/@usejunior/docx-core/dist/index.js.map +1 -1
  330. package/node_modules/@usejunior/docx-core/dist/integration/generation-probes.d.ts +15 -0
  331. package/node_modules/@usejunior/docx-core/dist/integration/generation-probes.d.ts.map +1 -0
  332. package/node_modules/@usejunior/docx-core/dist/integration/generation-probes.js +84 -0
  333. package/node_modules/@usejunior/docx-core/dist/integration/generation-probes.js.map +1 -0
  334. package/node_modules/@usejunior/docx-core/dist/integration/libreoffice-oracle.d.ts +49 -0
  335. package/node_modules/@usejunior/docx-core/dist/integration/libreoffice-oracle.d.ts.map +1 -0
  336. package/node_modules/@usejunior/docx-core/dist/integration/libreoffice-oracle.js +290 -0
  337. package/node_modules/@usejunior/docx-core/dist/integration/libreoffice-oracle.js.map +1 -0
  338. package/node_modules/@usejunior/docx-core/dist/integration/synthetic-docx-fixture.d.ts +134 -0
  339. package/node_modules/@usejunior/docx-core/dist/integration/synthetic-docx-fixture.d.ts.map +1 -0
  340. package/node_modules/@usejunior/docx-core/dist/integration/synthetic-docx-fixture.js +298 -0
  341. package/node_modules/@usejunior/docx-core/dist/integration/synthetic-docx-fixture.js.map +1 -0
  342. package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.d.ts +4 -3
  343. package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.d.ts.map +1 -1
  344. package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.js +163 -77
  345. package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.js.map +1 -1
  346. package/node_modules/@usejunior/docx-core/dist/primitives/comments.d.ts +12 -3
  347. package/node_modules/@usejunior/docx-core/dist/primitives/comments.d.ts.map +1 -1
  348. package/node_modules/@usejunior/docx-core/dist/primitives/comments.js +374 -97
  349. package/node_modules/@usejunior/docx-core/dist/primitives/comments.js.map +1 -1
  350. package/node_modules/@usejunior/docx-core/dist/primitives/content_fingerprint.d.ts +29 -0
  351. package/node_modules/@usejunior/docx-core/dist/primitives/content_fingerprint.d.ts.map +1 -0
  352. package/node_modules/@usejunior/docx-core/dist/primitives/content_fingerprint.js +63 -0
  353. package/node_modules/@usejunior/docx-core/dist/primitives/content_fingerprint.js.map +1 -0
  354. package/node_modules/@usejunior/docx-core/dist/primitives/document.d.ts +94 -15
  355. package/node_modules/@usejunior/docx-core/dist/primitives/document.d.ts.map +1 -1
  356. package/node_modules/@usejunior/docx-core/dist/primitives/document.js +377 -234
  357. package/node_modules/@usejunior/docx-core/dist/primitives/document.js.map +1 -1
  358. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-comments.d.ts +18 -0
  359. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-comments.d.ts.map +1 -0
  360. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-comments.js +160 -0
  361. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-comments.js.map +1 -0
  362. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-headings.d.ts +45 -0
  363. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-headings.d.ts.map +1 -0
  364. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-headings.js +247 -0
  365. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-headings.js.map +1 -0
  366. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-styles.d.ts +11 -0
  367. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-styles.d.ts.map +1 -0
  368. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-styles.js +104 -0
  369. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-styles.js.map +1 -0
  370. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-toon.d.ts +37 -0
  371. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-toon.d.ts.map +1 -0
  372. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-toon.js +199 -0
  373. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-toon.js.map +1 -0
  374. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-types.d.ts +165 -0
  375. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-types.d.ts.map +1 -0
  376. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-types.js +2 -0
  377. package/node_modules/@usejunior/docx-core/dist/primitives/document_view-types.js.map +1 -0
  378. package/node_modules/@usejunior/docx-core/dist/primitives/document_view.d.ts +50 -101
  379. package/node_modules/@usejunior/docx-core/dist/primitives/document_view.d.ts.map +1 -1
  380. package/node_modules/@usejunior/docx-core/dist/primitives/document_view.js +287 -326
  381. package/node_modules/@usejunior/docx-core/dist/primitives/document_view.js.map +1 -1
  382. package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.d.ts +9 -0
  383. package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.d.ts.map +1 -1
  384. package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.js +10 -1
  385. package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.js.map +1 -1
  386. package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.d.ts +4 -3
  387. package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.d.ts.map +1 -1
  388. package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.js +232 -44
  389. package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.js.map +1 -1
  390. package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.d.ts +7 -0
  391. package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.d.ts.map +1 -1
  392. package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.js +22 -11
  393. package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.js.map +1 -1
  394. package/node_modules/@usejunior/docx-core/dist/primitives/index.d.ts +12 -0
  395. package/node_modules/@usejunior/docx-core/dist/primitives/index.d.ts.map +1 -1
  396. package/node_modules/@usejunior/docx-core/dist/primitives/index.js +11 -0
  397. package/node_modules/@usejunior/docx-core/dist/primitives/index.js.map +1 -1
  398. package/node_modules/@usejunior/docx-core/dist/primitives/layout.d.ts +4 -3
  399. package/node_modules/@usejunior/docx-core/dist/primitives/layout.d.ts.map +1 -1
  400. package/node_modules/@usejunior/docx-core/dist/primitives/layout.js +45 -3
  401. package/node_modules/@usejunior/docx-core/dist/primitives/layout.js.map +1 -1
  402. package/node_modules/@usejunior/docx-core/dist/primitives/locator.d.ts +76 -0
  403. package/node_modules/@usejunior/docx-core/dist/primitives/locator.d.ts.map +1 -0
  404. package/node_modules/@usejunior/docx-core/dist/primitives/locator.js +223 -0
  405. package/node_modules/@usejunior/docx-core/dist/primitives/locator.js.map +1 -0
  406. package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.d.ts +21 -3
  407. package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.d.ts.map +1 -1
  408. package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.js +32 -10
  409. package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.js.map +1 -1
  410. package/node_modules/@usejunior/docx-core/dist/primitives/minimal_save.d.ts +38 -0
  411. package/node_modules/@usejunior/docx-core/dist/primitives/minimal_save.d.ts.map +1 -0
  412. package/node_modules/@usejunior/docx-core/dist/primitives/minimal_save.js +323 -0
  413. package/node_modules/@usejunior/docx-core/dist/primitives/minimal_save.js.map +1 -0
  414. package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.d.ts +53 -0
  415. package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.d.ts.map +1 -1
  416. package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.js +59 -0
  417. package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.js.map +1 -1
  418. package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.d.ts +6 -4
  419. package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.d.ts.map +1 -1
  420. package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.js +187 -91
  421. package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.js.map +1 -1
  422. package/node_modules/@usejunior/docx-core/dist/primitives/revision-parts.d.ts +7 -0
  423. package/node_modules/@usejunior/docx-core/dist/primitives/revision-parts.d.ts.map +1 -0
  424. package/node_modules/@usejunior/docx-core/dist/primitives/revision-parts.js +27 -0
  425. package/node_modules/@usejunior/docx-core/dist/primitives/revision-parts.js.map +1 -0
  426. package/node_modules/@usejunior/docx-core/dist/primitives/revision-vocabulary.d.ts +7 -0
  427. package/node_modules/@usejunior/docx-core/dist/primitives/revision-vocabulary.d.ts.map +1 -0
  428. package/node_modules/@usejunior/docx-core/dist/primitives/revision-vocabulary.js +39 -0
  429. package/node_modules/@usejunior/docx-core/dist/primitives/revision-vocabulary.js.map +1 -0
  430. package/node_modules/@usejunior/docx-core/dist/primitives/schema-corpus-capture.d.ts +19 -0
  431. package/node_modules/@usejunior/docx-core/dist/primitives/schema-corpus-capture.d.ts.map +1 -0
  432. package/node_modules/@usejunior/docx-core/dist/primitives/schema-corpus-capture.js +29 -0
  433. package/node_modules/@usejunior/docx-core/dist/primitives/schema-corpus-capture.js.map +1 -0
  434. package/node_modules/@usejunior/docx-core/dist/primitives/sectPrAudit.d.ts +19 -0
  435. package/node_modules/@usejunior/docx-core/dist/primitives/sectPrAudit.d.ts.map +1 -0
  436. package/node_modules/@usejunior/docx-core/dist/primitives/sectPrAudit.js +165 -0
  437. package/node_modules/@usejunior/docx-core/dist/primitives/sectPrAudit.js.map +1 -0
  438. package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.d.ts +7 -0
  439. package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.d.ts.map +1 -1
  440. package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.js +23 -4
  441. package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.js.map +1 -1
  442. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_html.d.ts +37 -0
  443. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_html.d.ts.map +1 -0
  444. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_html.js +395 -0
  445. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_html.js.map +1 -0
  446. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_markdown.d.ts +16 -0
  447. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_markdown.d.ts.map +1 -0
  448. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_markdown.js +300 -0
  449. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_markdown.js.map +1 -0
  450. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_plaintext.d.ts +15 -0
  451. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_plaintext.d.ts.map +1 -0
  452. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_plaintext.js +154 -0
  453. package/node_modules/@usejunior/docx-core/dist/primitives/serialize_plaintext.js.map +1 -0
  454. package/node_modules/@usejunior/docx-core/dist/primitives/styles.d.ts +15 -0
  455. package/node_modules/@usejunior/docx-core/dist/primitives/styles.d.ts.map +1 -1
  456. package/node_modules/@usejunior/docx-core/dist/primitives/styles.js +33 -22
  457. package/node_modules/@usejunior/docx-core/dist/primitives/styles.js.map +1 -1
  458. package/node_modules/@usejunior/docx-core/dist/primitives/table_context.d.ts +19 -0
  459. package/node_modules/@usejunior/docx-core/dist/primitives/table_context.d.ts.map +1 -0
  460. package/node_modules/@usejunior/docx-core/dist/primitives/table_context.js +189 -0
  461. package/node_modules/@usejunior/docx-core/dist/primitives/table_context.js.map +1 -0
  462. package/node_modules/@usejunior/docx-core/dist/primitives/tables.d.ts.map +1 -1
  463. package/node_modules/@usejunior/docx-core/dist/primitives/tables.js +13 -3
  464. package/node_modules/@usejunior/docx-core/dist/primitives/tables.js.map +1 -1
  465. package/node_modules/@usejunior/docx-core/dist/primitives/text.d.ts +2 -1
  466. package/node_modules/@usejunior/docx-core/dist/primitives/text.d.ts.map +1 -1
  467. package/node_modules/@usejunior/docx-core/dist/primitives/text.js +116 -12
  468. package/node_modules/@usejunior/docx-core/dist/primitives/text.js.map +1 -1
  469. package/node_modules/@usejunior/docx-core/dist/primitives/track-changes-emitter.d.ts +148 -0
  470. package/node_modules/@usejunior/docx-core/dist/primitives/track-changes-emitter.d.ts.map +1 -0
  471. package/node_modules/@usejunior/docx-core/dist/primitives/track-changes-emitter.js +291 -0
  472. package/node_modules/@usejunior/docx-core/dist/primitives/track-changes-emitter.js.map +1 -0
  473. package/node_modules/@usejunior/docx-core/dist/primitives/validate_ai_revisions.d.ts +35 -0
  474. package/node_modules/@usejunior/docx-core/dist/primitives/validate_ai_revisions.d.ts.map +1 -0
  475. package/node_modules/@usejunior/docx-core/dist/primitives/validate_ai_revisions.js +323 -0
  476. package/node_modules/@usejunior/docx-core/dist/primitives/validate_ai_revisions.js.map +1 -0
  477. package/node_modules/@usejunior/docx-core/dist/primitives/xml-helpers.d.ts +29 -0
  478. package/node_modules/@usejunior/docx-core/dist/primitives/xml-helpers.d.ts.map +1 -0
  479. package/node_modules/@usejunior/docx-core/dist/primitives/xml-helpers.js +35 -0
  480. package/node_modules/@usejunior/docx-core/dist/primitives/xml-helpers.js.map +1 -0
  481. package/node_modules/@usejunior/docx-core/dist/primitives/xml.d.ts +5 -0
  482. package/node_modules/@usejunior/docx-core/dist/primitives/xml.d.ts.map +1 -1
  483. package/node_modules/@usejunior/docx-core/dist/primitives/xml.js +5 -0
  484. package/node_modules/@usejunior/docx-core/dist/primitives/xml.js.map +1 -1
  485. package/node_modules/@usejunior/docx-core/dist/primitives/zip.d.ts +1 -0
  486. package/node_modules/@usejunior/docx-core/dist/primitives/zip.d.ts.map +1 -1
  487. package/node_modules/@usejunior/docx-core/dist/primitives/zip.js +21 -3
  488. package/node_modules/@usejunior/docx-core/dist/primitives/zip.js.map +1 -1
  489. package/node_modules/@usejunior/docx-core/dist/shared/field-structure.d.ts +14 -0
  490. package/node_modules/@usejunior/docx-core/dist/shared/field-structure.d.ts.map +1 -0
  491. package/node_modules/@usejunior/docx-core/dist/shared/field-structure.js +166 -0
  492. package/node_modules/@usejunior/docx-core/dist/shared/field-structure.js.map +1 -0
  493. package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.d.ts +4 -1
  494. package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.d.ts.map +1 -1
  495. package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.js +4 -1
  496. package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.js.map +1 -1
  497. package/node_modules/@usejunior/docx-core/package.json +13 -9
  498. package/node_modules/@xmldom/xmldom/CHANGELOG.md +1055 -0
  499. package/node_modules/@xmldom/xmldom/LICENSE +8 -0
  500. package/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
  501. package/node_modules/@xmldom/xmldom/index.d.ts +1789 -0
  502. package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +3 -0
  503. package/node_modules/@xmldom/xmldom/lib/conventions.js +429 -0
  504. package/node_modules/@xmldom/xmldom/lib/dom-parser.js +586 -0
  505. package/node_modules/@xmldom/xmldom/lib/dom.js +3554 -0
  506. package/node_modules/@xmldom/xmldom/lib/entities.js +2171 -0
  507. package/node_modules/@xmldom/xmldom/lib/errors.js +202 -0
  508. package/node_modules/@xmldom/xmldom/lib/grammar.js +547 -0
  509. package/node_modules/@xmldom/xmldom/lib/index.js +41 -0
  510. package/node_modules/@xmldom/xmldom/lib/sax.js +929 -0
  511. package/node_modules/@xmldom/xmldom/package.json +77 -0
  512. package/node_modules/@xmldom/xmldom/readme.md +364 -0
  513. package/node_modules/core-util-is/LICENSE +19 -0
  514. package/node_modules/core-util-is/README.md +3 -0
  515. package/node_modules/core-util-is/lib/util.js +107 -0
  516. package/node_modules/core-util-is/package.json +38 -0
  517. package/node_modules/immediate/LICENSE.txt +20 -0
  518. package/node_modules/immediate/README.md +93 -0
  519. package/node_modules/immediate/dist/immediate.js +75 -0
  520. package/node_modules/immediate/dist/immediate.min.js +1 -0
  521. package/node_modules/immediate/lib/browser.js +69 -0
  522. package/node_modules/immediate/lib/index.js +73 -0
  523. package/node_modules/immediate/package.json +42 -0
  524. package/node_modules/inherits/LICENSE +16 -0
  525. package/node_modules/inherits/README.md +42 -0
  526. package/node_modules/inherits/inherits.js +9 -0
  527. package/node_modules/inherits/inherits_browser.js +27 -0
  528. package/node_modules/inherits/package.json +29 -0
  529. package/node_modules/isarray/.npmignore +1 -0
  530. package/node_modules/isarray/.travis.yml +4 -0
  531. package/node_modules/isarray/Makefile +6 -0
  532. package/node_modules/isarray/README.md +60 -0
  533. package/node_modules/isarray/component.json +19 -0
  534. package/node_modules/isarray/index.js +5 -0
  535. package/node_modules/isarray/package.json +45 -0
  536. package/node_modules/isarray/test.js +20 -0
  537. package/node_modules/jszip/.codeclimate.yml +16 -0
  538. package/node_modules/jszip/.editorconfig +8 -0
  539. package/node_modules/jszip/.eslintrc.js +43 -0
  540. package/node_modules/jszip/.github/workflows/pr.yaml +58 -0
  541. package/node_modules/jszip/.jekyll-metadata +0 -0
  542. package/node_modules/jszip/.travis.yml +17 -0
  543. package/node_modules/jszip/CHANGES.md +204 -0
  544. package/node_modules/jszip/LICENSE.markdown +651 -0
  545. package/node_modules/jszip/README.markdown +33 -0
  546. package/node_modules/jszip/deps.js +37 -0
  547. package/node_modules/jszip/dist/jszip.js +11577 -0
  548. package/node_modules/jszip/dist/jszip.min.js +13 -0
  549. package/node_modules/jszip/graph.svg +601 -0
  550. package/node_modules/jszip/index.d.ts +330 -0
  551. package/node_modules/jszip/lib/base64.js +106 -0
  552. package/node_modules/jszip/lib/compressedObject.js +74 -0
  553. package/node_modules/jszip/lib/compressions.js +14 -0
  554. package/node_modules/jszip/lib/crc32.js +77 -0
  555. package/node_modules/jszip/lib/defaults.js +11 -0
  556. package/node_modules/jszip/lib/external.js +18 -0
  557. package/node_modules/jszip/lib/flate.js +85 -0
  558. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  559. package/node_modules/jszip/lib/generate/index.js +57 -0
  560. package/node_modules/jszip/lib/index.js +55 -0
  561. package/node_modules/jszip/lib/license_header.js +11 -0
  562. package/node_modules/jszip/lib/load.js +88 -0
  563. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  564. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  565. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  566. package/node_modules/jszip/lib/object.js +384 -0
  567. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  568. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  569. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  570. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  571. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  572. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  573. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  574. package/node_modules/jszip/lib/signature.js +7 -0
  575. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  576. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  577. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  578. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  579. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  580. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  581. package/node_modules/jszip/lib/support.js +38 -0
  582. package/node_modules/jszip/lib/utf8.js +275 -0
  583. package/node_modules/jszip/lib/utils.js +501 -0
  584. package/node_modules/jszip/lib/zipEntries.js +261 -0
  585. package/node_modules/jszip/lib/zipEntry.js +293 -0
  586. package/node_modules/jszip/lib/zipObject.js +133 -0
  587. package/node_modules/jszip/package.json +67 -0
  588. package/node_modules/jszip/sponsors.md +21 -0
  589. package/node_modules/jszip/tsconfig.json +101 -0
  590. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  591. package/node_modules/lie/README.md +62 -0
  592. package/node_modules/lie/dist/lie.js +350 -0
  593. package/node_modules/lie/dist/lie.min.js +1 -0
  594. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  595. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  596. package/node_modules/lie/lib/browser.js +273 -0
  597. package/node_modules/lie/lib/index.js +298 -0
  598. package/node_modules/lie/license.md +7 -0
  599. package/node_modules/lie/lie.d.ts +244 -0
  600. package/node_modules/lie/package.json +69 -0
  601. package/node_modules/lie/polyfill.js +4 -0
  602. package/node_modules/pako/LICENSE +21 -0
  603. package/node_modules/pako/README.md +191 -0
  604. package/node_modules/pako/dist/pako.js +6818 -0
  605. package/node_modules/pako/dist/pako.min.js +1 -0
  606. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  607. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  608. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  609. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  610. package/node_modules/pako/index.js +14 -0
  611. package/node_modules/pako/lib/deflate.js +400 -0
  612. package/node_modules/pako/lib/inflate.js +423 -0
  613. package/node_modules/pako/lib/utils/common.js +105 -0
  614. package/node_modules/pako/lib/utils/strings.js +187 -0
  615. package/node_modules/pako/lib/zlib/README +59 -0
  616. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  617. package/node_modules/pako/lib/zlib/constants.js +68 -0
  618. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  619. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  620. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  621. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  622. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  623. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  624. package/node_modules/pako/lib/zlib/messages.js +32 -0
  625. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  626. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  627. package/node_modules/pako/package.json +44 -0
  628. package/node_modules/process-nextick-args/index.js +45 -0
  629. package/node_modules/process-nextick-args/license.md +19 -0
  630. package/node_modules/process-nextick-args/package.json +25 -0
  631. package/node_modules/process-nextick-args/readme.md +18 -0
  632. package/node_modules/readable-stream/.travis.yml +34 -0
  633. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  634. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  635. package/node_modules/readable-stream/LICENSE +47 -0
  636. package/node_modules/readable-stream/README.md +58 -0
  637. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  638. package/node_modules/readable-stream/duplex-browser.js +1 -0
  639. package/node_modules/readable-stream/duplex.js +1 -0
  640. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  641. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  642. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  643. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  644. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  645. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  646. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  647. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  648. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  649. package/node_modules/readable-stream/package.json +52 -0
  650. package/node_modules/readable-stream/passthrough.js +1 -0
  651. package/node_modules/readable-stream/readable-browser.js +7 -0
  652. package/node_modules/readable-stream/readable.js +19 -0
  653. package/node_modules/readable-stream/transform.js +1 -0
  654. package/node_modules/readable-stream/writable-browser.js +1 -0
  655. package/node_modules/readable-stream/writable.js +8 -0
  656. package/node_modules/safe-buffer/LICENSE +21 -0
  657. package/node_modules/safe-buffer/README.md +584 -0
  658. package/node_modules/safe-buffer/index.d.ts +187 -0
  659. package/node_modules/safe-buffer/index.js +62 -0
  660. package/node_modules/safe-buffer/package.json +37 -0
  661. package/node_modules/setimmediate/LICENSE.txt +20 -0
  662. package/node_modules/setimmediate/package.json +30 -0
  663. package/node_modules/setimmediate/setImmediate.js +186 -0
  664. package/node_modules/string_decoder/.travis.yml +50 -0
  665. package/node_modules/string_decoder/LICENSE +48 -0
  666. package/node_modules/string_decoder/README.md +47 -0
  667. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  668. package/node_modules/string_decoder/package.json +31 -0
  669. package/node_modules/util-deprecate/History.md +16 -0
  670. package/node_modules/util-deprecate/LICENSE +24 -0
  671. package/node_modules/util-deprecate/README.md +53 -0
  672. package/node_modules/util-deprecate/browser.js +67 -0
  673. package/node_modules/util-deprecate/node.js +6 -0
  674. package/node_modules/util-deprecate/package.json +27 -0
  675. package/package.json +7 -7
  676. package/server.json +3 -3
  677. package/skills/{cloud-service-agreement → agreements/cloud-service-agreement}/SKILL.md +2 -2
  678. package/skills/{nda → agreements/cloud-service-agreement}/template-filling-execution.md +2 -2
  679. package/skills/{data-privacy-agreement → agreements/data-privacy-agreement}/SKILL.md +15 -4
  680. package/skills/{open-agreements → agreements/data-privacy-agreement}/template-filling-execution.md +12 -6
  681. package/skills/{employment-contract → agreements/employment-contract}/SKILL.md +25 -8
  682. package/skills/{cloud-service-agreement → agreements/employment-contract}/template-filling-execution.md +12 -6
  683. package/skills/{nda → agreements/nda}/SKILL.md +2 -2
  684. package/skills/{safe → agreements/nda}/template-filling-execution.md +12 -6
  685. package/skills/{open-agreements → agreements/open-agreements}/SKILL.md +13 -30
  686. package/skills/agreements/open-agreements/template-filling-execution.md +98 -0
  687. package/skills/{safe → agreements/safe}/SKILL.md +2 -2
  688. package/skills/agreements/safe/template-filling-execution.md +98 -0
  689. package/skills/{services-agreement → agreements/services-agreement}/SKILL.md +3 -3
  690. package/skills/agreements/services-agreement/template-filling-execution.md +98 -0
  691. package/skills/{venture-financing → agreements/venture-financing}/SKILL.md +3 -3
  692. package/skills/agreements/venture-financing/template-filling-execution.md +98 -0
  693. package/skills/{client-email → client-workflows/client-email}/SKILL.md +9 -7
  694. package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/SKILL.md +1 -1
  695. package/skills/{edit-docx-agreement → client-workflows/edit-docx-agreement}/SKILL.md +1 -1
  696. package/skills/{iso-27001-evidence-collection → compliance/iso-27001-evidence-collection}/SKILL.md +1 -1
  697. package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/SKILL.md +1 -1
  698. package/skills/{soc2-readiness → compliance/soc2-readiness}/SKILL.md +1 -1
  699. package/skills/{canonical-markdown-authoring → internal/canonical-markdown-authoring}/SKILL.md +2 -3
  700. package/skills/{recipe-quality-audit → internal/recipe-quality-audit}/SKILL.md +2 -1
  701. package/skills/{unit-test-philosophy → internal/unit-test-philosophy}/SKILL.md +2 -0
  702. package/skills/legal-explainers/data-privacy-law-explainer/CONTRIBUTING.md +7 -0
  703. package/skills/legal-explainers/data-privacy-law-explainer/LICENSE +269 -0
  704. package/skills/legal-explainers/data-privacy-law-explainer/NOTICE +7 -0
  705. package/skills/legal-explainers/data-privacy-law-explainer/SKILL.md +113 -0
  706. package/skills/legal-explainers/data-privacy-law-explainer/content/alabama.md +211 -0
  707. package/skills/legal-explainers/data-privacy-law-explainer/content/alaska.md +155 -0
  708. package/skills/legal-explainers/data-privacy-law-explainer/content/arizona.md +181 -0
  709. package/skills/legal-explainers/data-privacy-law-explainer/content/arkansas.md +219 -0
  710. package/skills/legal-explainers/data-privacy-law-explainer/content/california.md +107 -0
  711. package/skills/legal-explainers/data-privacy-law-explainer/content/colorado.md +87 -0
  712. package/skills/legal-explainers/data-privacy-law-explainer/content/connecticut.md +83 -0
  713. package/skills/legal-explainers/data-privacy-law-explainer/content/delaware.md +85 -0
  714. package/skills/legal-explainers/data-privacy-law-explainer/content/district-of-columbia.md +153 -0
  715. package/skills/legal-explainers/data-privacy-law-explainer/content/florida.md +234 -0
  716. package/skills/legal-explainers/data-privacy-law-explainer/content/georgia.md +149 -0
  717. package/skills/legal-explainers/data-privacy-law-explainer/content/hawaii.md +167 -0
  718. package/skills/legal-explainers/data-privacy-law-explainer/content/idaho.md +149 -0
  719. package/skills/legal-explainers/data-privacy-law-explainer/content/illinois.md +238 -0
  720. package/skills/legal-explainers/data-privacy-law-explainer/content/indiana.md +93 -0
  721. package/skills/legal-explainers/data-privacy-law-explainer/content/iowa.md +99 -0
  722. package/skills/legal-explainers/data-privacy-law-explainer/content/kansas.md +155 -0
  723. package/skills/legal-explainers/data-privacy-law-explainer/content/kentucky.md +87 -0
  724. package/skills/legal-explainers/data-privacy-law-explainer/content/louisiana.md +209 -0
  725. package/skills/legal-explainers/data-privacy-law-explainer/content/maine.md +163 -0
  726. package/skills/legal-explainers/data-privacy-law-explainer/content/maryland.md +85 -0
  727. package/skills/legal-explainers/data-privacy-law-explainer/content/massachusetts.md +260 -0
  728. package/skills/legal-explainers/data-privacy-law-explainer/content/michigan.md +175 -0
  729. package/skills/legal-explainers/data-privacy-law-explainer/content/minnesota.md +93 -0
  730. package/skills/legal-explainers/data-privacy-law-explainer/content/mississippi.md +132 -0
  731. package/skills/legal-explainers/data-privacy-law-explainer/content/missouri.md +179 -0
  732. package/skills/legal-explainers/data-privacy-law-explainer/content/montana.md +105 -0
  733. package/skills/legal-explainers/data-privacy-law-explainer/content/nebraska.md +83 -0
  734. package/skills/legal-explainers/data-privacy-law-explainer/content/nevada.md +212 -0
  735. package/skills/legal-explainers/data-privacy-law-explainer/content/new-hampshire.md +91 -0
  736. package/skills/legal-explainers/data-privacy-law-explainer/content/new-jersey.md +95 -0
  737. package/skills/legal-explainers/data-privacy-law-explainer/content/new-mexico.md +174 -0
  738. package/skills/legal-explainers/data-privacy-law-explainer/content/new-york.md +195 -0
  739. package/skills/legal-explainers/data-privacy-law-explainer/content/north-carolina.md +205 -0
  740. package/skills/legal-explainers/data-privacy-law-explainer/content/north-dakota.md +169 -0
  741. package/skills/legal-explainers/data-privacy-law-explainer/content/ohio.md +171 -0
  742. package/skills/legal-explainers/data-privacy-law-explainer/content/oklahoma.md +168 -0
  743. package/skills/legal-explainers/data-privacy-law-explainer/content/oregon.md +103 -0
  744. package/skills/legal-explainers/data-privacy-law-explainer/content/pennsylvania.md +99 -0
  745. package/skills/legal-explainers/data-privacy-law-explainer/content/rhode-island.md +93 -0
  746. package/skills/legal-explainers/data-privacy-law-explainer/content/south-carolina.md +175 -0
  747. package/skills/legal-explainers/data-privacy-law-explainer/content/south-dakota.md +176 -0
  748. package/skills/legal-explainers/data-privacy-law-explainer/content/tennessee.md +89 -0
  749. package/skills/legal-explainers/data-privacy-law-explainer/content/texas.md +89 -0
  750. package/skills/legal-explainers/data-privacy-law-explainer/content/utah.md +83 -0
  751. package/skills/legal-explainers/data-privacy-law-explainer/content/vermont.md +267 -0
  752. package/skills/legal-explainers/data-privacy-law-explainer/content/virginia.md +85 -0
  753. package/skills/legal-explainers/data-privacy-law-explainer/content/washington.md +247 -0
  754. package/skills/legal-explainers/data-privacy-law-explainer/content/west-virginia.md +141 -0
  755. package/skills/legal-explainers/data-privacy-law-explainer/content/wisconsin.md +156 -0
  756. package/skills/legal-explainers/data-privacy-law-explainer/content/wyoming.md +185 -0
  757. package/skills/legal-explainers/data-privacy-law-explainer/manifest.json +519 -0
  758. package/skills/legal-explainers/non-compete-contract-explainer/CONTRIBUTING.md +7 -0
  759. package/skills/legal-explainers/non-compete-contract-explainer/LICENSE +269 -0
  760. package/skills/legal-explainers/non-compete-contract-explainer/NOTICE +7 -0
  761. package/skills/{non-compete-contract-explainer → legal-explainers/non-compete-contract-explainer}/SKILL.md +1 -1
  762. package/skills/legal-explainers/non-compete-contract-explainer/content/alabama.md +251 -0
  763. package/skills/legal-explainers/non-compete-contract-explainer/content/alaska.md +160 -0
  764. package/skills/legal-explainers/non-compete-contract-explainer/content/american-samoa.md +187 -0
  765. package/skills/legal-explainers/non-compete-contract-explainer/content/arizona.md +295 -0
  766. package/skills/legal-explainers/non-compete-contract-explainer/content/arkansas.md +235 -0
  767. package/skills/legal-explainers/non-compete-contract-explainer/content/au.md +208 -0
  768. package/skills/legal-explainers/non-compete-contract-explainer/content/australian-capital-territory.md +220 -0
  769. package/skills/legal-explainers/non-compete-contract-explainer/content/california.md +270 -0
  770. package/skills/legal-explainers/non-compete-contract-explainer/content/cnmi.md +168 -0
  771. package/skills/legal-explainers/non-compete-contract-explainer/content/colorado.md +277 -0
  772. package/skills/legal-explainers/non-compete-contract-explainer/content/connecticut.md +220 -0
  773. package/skills/legal-explainers/non-compete-contract-explainer/content/delaware.md +222 -0
  774. package/skills/legal-explainers/non-compete-contract-explainer/content/district-of-columbia.md +263 -0
  775. package/skills/legal-explainers/non-compete-contract-explainer/content/florida.md +267 -0
  776. package/skills/legal-explainers/non-compete-contract-explainer/content/georgia.md +323 -0
  777. package/skills/legal-explainers/non-compete-contract-explainer/content/guam.md +180 -0
  778. package/skills/legal-explainers/non-compete-contract-explainer/content/hawaii.md +236 -0
  779. package/skills/legal-explainers/non-compete-contract-explainer/content/idaho.md +258 -0
  780. package/skills/legal-explainers/non-compete-contract-explainer/content/illinois.md +266 -0
  781. package/skills/legal-explainers/non-compete-contract-explainer/content/in.md +269 -0
  782. package/skills/legal-explainers/non-compete-contract-explainer/content/indiana.md +253 -0
  783. package/skills/legal-explainers/non-compete-contract-explainer/content/iowa.md +232 -0
  784. package/skills/legal-explainers/non-compete-contract-explainer/content/kansas.md +227 -0
  785. package/skills/legal-explainers/non-compete-contract-explainer/content/kentucky.md +201 -0
  786. package/skills/legal-explainers/non-compete-contract-explainer/content/louisiana.md +272 -0
  787. package/skills/legal-explainers/non-compete-contract-explainer/content/maine.md +178 -0
  788. package/skills/legal-explainers/non-compete-contract-explainer/content/maryland.md +244 -0
  789. package/skills/legal-explainers/non-compete-contract-explainer/content/massachusetts.md +272 -0
  790. package/skills/legal-explainers/non-compete-contract-explainer/content/michigan.md +222 -0
  791. package/skills/legal-explainers/non-compete-contract-explainer/content/minnesota.md +171 -0
  792. package/skills/legal-explainers/non-compete-contract-explainer/content/mississippi.md +237 -0
  793. package/skills/legal-explainers/non-compete-contract-explainer/content/missouri.md +219 -0
  794. package/skills/legal-explainers/non-compete-contract-explainer/content/montana.md +202 -0
  795. package/skills/legal-explainers/non-compete-contract-explainer/content/nebraska.md +206 -0
  796. package/skills/legal-explainers/non-compete-contract-explainer/content/nevada.md +278 -0
  797. package/skills/legal-explainers/non-compete-contract-explainer/content/new-hampshire.md +233 -0
  798. package/skills/legal-explainers/non-compete-contract-explainer/content/new-jersey.md +277 -0
  799. package/skills/legal-explainers/non-compete-contract-explainer/content/new-mexico.md +244 -0
  800. package/skills/legal-explainers/non-compete-contract-explainer/content/new-south-wales.md +218 -0
  801. package/skills/legal-explainers/non-compete-contract-explainer/content/new-york.md +226 -0
  802. package/skills/legal-explainers/non-compete-contract-explainer/content/north-carolina.md +346 -0
  803. package/skills/legal-explainers/non-compete-contract-explainer/content/north-dakota.md +187 -0
  804. package/skills/legal-explainers/non-compete-contract-explainer/content/northern-territory.md +214 -0
  805. package/skills/legal-explainers/non-compete-contract-explainer/content/ohio.md +207 -0
  806. package/skills/legal-explainers/non-compete-contract-explainer/content/oklahoma.md +196 -0
  807. package/skills/legal-explainers/non-compete-contract-explainer/content/oregon.md +359 -0
  808. package/skills/legal-explainers/non-compete-contract-explainer/content/pennsylvania.md +254 -0
  809. package/skills/legal-explainers/non-compete-contract-explainer/content/ph.md +211 -0
  810. package/skills/legal-explainers/non-compete-contract-explainer/content/puerto-rico.md +163 -0
  811. package/skills/legal-explainers/non-compete-contract-explainer/content/queensland.md +206 -0
  812. package/skills/legal-explainers/non-compete-contract-explainer/content/rhode-island.md +171 -0
  813. package/skills/legal-explainers/non-compete-contract-explainer/content/sg.md +229 -0
  814. package/skills/legal-explainers/non-compete-contract-explainer/content/south-australia.md +236 -0
  815. package/skills/legal-explainers/non-compete-contract-explainer/content/south-carolina.md +226 -0
  816. package/skills/legal-explainers/non-compete-contract-explainer/content/south-dakota.md +222 -0
  817. package/skills/legal-explainers/non-compete-contract-explainer/content/tasmania.md +224 -0
  818. package/skills/legal-explainers/non-compete-contract-explainer/content/tennessee.md +251 -0
  819. package/skills/legal-explainers/non-compete-contract-explainer/content/texas.md +297 -0
  820. package/skills/legal-explainers/non-compete-contract-explainer/content/utah.md +250 -0
  821. package/skills/legal-explainers/non-compete-contract-explainer/content/vermont.md +211 -0
  822. package/skills/legal-explainers/non-compete-contract-explainer/content/victoria.md +218 -0
  823. package/skills/legal-explainers/non-compete-contract-explainer/content/virgin-islands.md +193 -0
  824. package/skills/legal-explainers/non-compete-contract-explainer/content/virginia.md +213 -0
  825. package/skills/legal-explainers/non-compete-contract-explainer/content/washington.md +296 -0
  826. package/skills/legal-explainers/non-compete-contract-explainer/content/west-virginia.md +187 -0
  827. package/skills/legal-explainers/non-compete-contract-explainer/content/western-australia.md +224 -0
  828. package/skills/legal-explainers/non-compete-contract-explainer/content/wisconsin.md +293 -0
  829. package/skills/{non-compete-contract-explainer → legal-explainers/non-compete-contract-explainer}/content/wyoming.md +69 -55
  830. package/skills/legal-explainers/non-compete-contract-explainer/manifest.json +689 -0
  831. package/content/templates/bonterms-mutual-nda/signing.yaml +0 -35
  832. package/dist/core/signing-config.d.ts +0 -46
  833. package/dist/core/signing-config.d.ts.map +0 -1
  834. package/dist/core/signing-config.js +0 -67
  835. package/dist/core/signing-config.js.map +0 -1
  836. package/skills/non-compete-contract-explainer/manifest.json +0 -18
  837. package/skills/services-agreement/template-filling-execution.md +0 -81
  838. package/skills/shared/template-filling-execution.md +0 -92
  839. /package/skills/{cloud-service-agreement → agreements/cloud-service-agreement}/CONNECTORS.md +0 -0
  840. /package/skills/{data-privacy-agreement → agreements/data-privacy-agreement}/CONNECTORS.md +0 -0
  841. /package/skills/{employment-contract → agreements/employment-contract}/CONNECTORS.md +0 -0
  842. /package/skills/{nda → agreements/nda}/CONNECTORS.md +0 -0
  843. /package/skills/{open-agreements → agreements/open-agreements}/CONNECTORS.md +0 -0
  844. /package/skills/{safe → agreements/safe}/CONNECTORS.md +0 -0
  845. /package/skills/{services-agreement → agreements/services-agreement}/CONNECTORS.md +0 -0
  846. /package/skills/{venture-financing → agreements/venture-financing}/CONNECTORS.md +0 -0
  847. /package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/CONNECTORS.md +0 -0
  848. /package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/reference/ecorp-portal-playwright-notes.md +0 -0
  849. /package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/reference/faq.md +0 -0
  850. /package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/reference/filing-instructions.md +0 -0
  851. /package/skills/{delaware-franchise-tax → client-workflows/delaware-franchise-tax}/reference/tax-calculation.md +0 -0
  852. /package/skills/{edit-docx-agreement → client-workflows/edit-docx-agreement}/CONNECTORS.md +0 -0
  853. /package/skills/{iso-27001-evidence-collection → compliance/iso-27001-evidence-collection}/CONNECTORS.md +0 -0
  854. /package/skills/{iso-27001-evidence-collection → compliance/iso-27001-evidence-collection}/rules/api-exports.md +0 -0
  855. /package/skills/{iso-27001-evidence-collection → compliance/iso-27001-evidence-collection}/rules/evidence-types.md +0 -0
  856. /package/skills/{iso-27001-evidence-collection → compliance/iso-27001-evidence-collection}/rules/screenshot-guide.md +0 -0
  857. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/CONNECTORS.md +0 -0
  858. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/access-control.md +0 -0
  859. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/business-continuity.md +0 -0
  860. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/change-management.md +0 -0
  861. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/encryption.md +0 -0
  862. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/incident-response.md +0 -0
  863. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/isms-management.md +0 -0
  864. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/logging-monitoring.md +0 -0
  865. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/people-controls.md +0 -0
  866. /package/skills/{iso-27001-internal-audit → compliance/iso-27001-internal-audit}/rules/supplier-management.md +0 -0
  867. /package/skills/{soc2-readiness → compliance/soc2-readiness}/CONNECTORS.md +0 -0
  868. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/change-vendor-management.md +0 -0
  869. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/communication-info.md +0 -0
  870. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/control-activities.md +0 -0
  871. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/control-environment.md +0 -0
  872. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/logical-access.md +0 -0
  873. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/monitoring-activities.md +0 -0
  874. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/optional-categories.md +0 -0
  875. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/privacy-criteria.md +0 -0
  876. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/risk-assessment.md +0 -0
  877. /package/skills/{soc2-readiness → compliance/soc2-readiness}/rules/system-operations.md +0 -0
  878. /package/skills/{canonical-markdown-authoring → internal/canonical-markdown-authoring}/CONNECTORS.md +0 -0
  879. /package/skills/{unit-test-philosophy → internal/unit-test-philosophy}/references/allure-test-spec-writing-guide.md +0 -0
@@ -0,0 +1,318 @@
1
+ /**
2
+ * Post-build structural validation of a generated package — the
3
+ * "no recovery dialog" gate. Each check targets a concrete repair trigger in
4
+ * reading applications: missing content types, dangling relationship targets,
5
+ * unresolvable r:id references, malformed section properties, and unbalanced
6
+ * field characters.
7
+ *
8
+ * `auditSectPr` is reused as one component: it flags duplicated or misplaced
9
+ * body-level sectPr and dangling header/footer references, but tolerates the
10
+ * zero-sectPr case (legal for parsed third-party documents), so the
11
+ * required-final-sectPr check lives here.
12
+ */
13
+ import { auditSectPr } from '../primitives/sectPrAudit.js';
14
+ import { NODE_TYPE } from '../primitives/dom-helpers.js';
15
+ import { OOXML } from '../primitives/namespaces.js';
16
+ import { parseXml } from '../primitives/xml.js';
17
+ import { DocxZip } from '../primitives/zip.js';
18
+ /** Run every structural check against a generated package buffer. */
19
+ export async function checkGeneratedPackage(buffer) {
20
+ const zip = await DocxZip.load(buffer);
21
+ const files = zip.listFiles().filter((name) => !name.endsWith('/'));
22
+ const contents = new Map();
23
+ for (const name of files) {
24
+ contents.set(name, await zip.readText(name));
25
+ }
26
+ const issues = [
27
+ ...checkXmlDeclarations(contents),
28
+ ...checkContentTypeCoverage(contents),
29
+ ...checkRelationshipTargets(contents),
30
+ ...checkRidResolution(contents),
31
+ ...checkSectPr(contents),
32
+ ...checkFieldPairing(contents),
33
+ ...checkTables(contents),
34
+ ];
35
+ return { ok: issues.length === 0, issues };
36
+ }
37
+ function isXmlPart(name) {
38
+ return name.endsWith('.xml') || name.endsWith('.rels');
39
+ }
40
+ function checkXmlDeclarations(contents) {
41
+ const issues = [];
42
+ for (const [name, text] of contents) {
43
+ if (!isXmlPart(name))
44
+ continue;
45
+ if (!text.startsWith('<?xml')) {
46
+ issues.push({
47
+ check: 'xml_declaration',
48
+ part: name,
49
+ message: 'XML part does not begin with an <?xml declaration',
50
+ });
51
+ }
52
+ }
53
+ return issues;
54
+ }
55
+ function checkContentTypeCoverage(contents) {
56
+ const issues = [];
57
+ const contentTypes = contents.get('[Content_Types].xml');
58
+ if (!contentTypes) {
59
+ return [{ check: 'content_type_coverage', part: '[Content_Types].xml', message: 'Part is missing' }];
60
+ }
61
+ const doc = parseXml(contentTypes);
62
+ const defaults = new Set();
63
+ const overrides = new Set();
64
+ for (const el of Array.from(doc.getElementsByTagName('Default'))) {
65
+ const ext = el.getAttribute('Extension');
66
+ if (ext)
67
+ defaults.add(ext.toLowerCase());
68
+ }
69
+ for (const el of Array.from(doc.getElementsByTagName('Override'))) {
70
+ const part = el.getAttribute('PartName');
71
+ if (part)
72
+ overrides.add(part);
73
+ }
74
+ for (const name of contents.keys()) {
75
+ if (name === '[Content_Types].xml')
76
+ continue;
77
+ const extension = name.split('.').pop()?.toLowerCase() ?? '';
78
+ if (!overrides.has(`/${name}`) && !defaults.has(extension)) {
79
+ issues.push({
80
+ check: 'content_type_coverage',
81
+ part: name,
82
+ message: 'Part is covered by neither a content-type Default nor an Override',
83
+ });
84
+ }
85
+ }
86
+ return issues;
87
+ }
88
+ /** Directory ('word/' or '') whose relationships a .rels part declares. */
89
+ function relsOwnerDir(relsName) {
90
+ const marker = '_rels/';
91
+ const idx = relsName.lastIndexOf(marker);
92
+ return idx <= 0 ? '' : relsName.slice(0, idx);
93
+ }
94
+ function resolveTarget(ownerDir, target) {
95
+ const joined = target.startsWith('/') ? target.slice(1) : ownerDir + target;
96
+ const segments = [];
97
+ for (const segment of joined.split('/')) {
98
+ if (segment === '' || segment === '.')
99
+ continue;
100
+ if (segment === '..')
101
+ segments.pop();
102
+ else
103
+ segments.push(segment);
104
+ }
105
+ return segments.join('/');
106
+ }
107
+ function checkRelationshipTargets(contents) {
108
+ const issues = [];
109
+ for (const [name, text] of contents) {
110
+ if (!name.endsWith('.rels'))
111
+ continue;
112
+ const ownerDir = relsOwnerDir(name);
113
+ const doc = parseXml(text);
114
+ for (const rel of Array.from(doc.getElementsByTagName('Relationship'))) {
115
+ if (rel.getAttribute('TargetMode') === 'External')
116
+ continue;
117
+ const target = rel.getAttribute('Target');
118
+ if (!target) {
119
+ issues.push({ check: 'relationship_target', part: name, message: 'Relationship without Target' });
120
+ continue;
121
+ }
122
+ const resolved = resolveTarget(ownerDir, target);
123
+ if (!contents.has(resolved)) {
124
+ issues.push({
125
+ check: 'relationship_target',
126
+ part: name,
127
+ message: `Relationship target '${target}' resolves to missing part '${resolved}'`,
128
+ });
129
+ }
130
+ }
131
+ }
132
+ return issues;
133
+ }
134
+ function relsIdsFor(contents, partName) {
135
+ const dir = partName.includes('/') ? partName.slice(0, partName.lastIndexOf('/') + 1) : '';
136
+ const base = partName.slice(dir.length);
137
+ const relsName = `${dir}_rels/${base}.rels`;
138
+ const ids = new Set();
139
+ const text = contents.get(relsName);
140
+ if (!text)
141
+ return ids;
142
+ const doc = parseXml(text);
143
+ for (const rel of Array.from(doc.getElementsByTagName('Relationship'))) {
144
+ const id = rel.getAttribute('Id');
145
+ if (id)
146
+ ids.add(id);
147
+ }
148
+ return ids;
149
+ }
150
+ function checkRidResolution(contents) {
151
+ const issues = [];
152
+ for (const [name, text] of contents) {
153
+ if (!name.startsWith('word/') || !name.endsWith('.xml'))
154
+ continue;
155
+ const ids = relsIdsFor(contents, name);
156
+ const doc = parseXml(text);
157
+ const visit = (el) => {
158
+ for (let i = 0; i < el.attributes.length; i++) {
159
+ const attr = el.attributes[i];
160
+ const isRid = attr.namespaceURI === OOXML.R_NS || attr.name === 'r:id' || attr.name === 'r:embed';
161
+ if (!isRid)
162
+ continue;
163
+ if (!ids.has(attr.value)) {
164
+ issues.push({
165
+ check: 'rid_resolution',
166
+ part: name,
167
+ message: `<${el.tagName}> references relationship '${attr.value}' missing from this part's rels`,
168
+ });
169
+ }
170
+ }
171
+ for (let i = 0; i < el.childNodes.length; i++) {
172
+ const child = el.childNodes[i];
173
+ if (child.nodeType === NODE_TYPE.ELEMENT)
174
+ visit(child);
175
+ }
176
+ };
177
+ if (doc.documentElement)
178
+ visit(doc.documentElement);
179
+ }
180
+ return issues;
181
+ }
182
+ /**
183
+ * Generated documents must bind their final section explicitly: exactly one
184
+ * body-level w:sectPr, positioned last. auditSectPr supplies the placement
185
+ * and reference checks but allows the zero-sectPr case, hence the count
186
+ * assertion here.
187
+ *
188
+ * @conformance ECMA-376 edition 5, Part 1 § 17.6.17
189
+ */
190
+ function checkSectPr(contents) {
191
+ const issues = [];
192
+ const documentXml = contents.get('word/document.xml');
193
+ if (!documentXml) {
194
+ return [{ check: 'sectpr', part: 'word/document.xml', message: 'Part is missing' }];
195
+ }
196
+ const audit = auditSectPr(documentXml, contents.get('word/_rels/document.xml.rels') ?? null);
197
+ for (const issue of audit.issues) {
198
+ issues.push({ check: 'sectpr', part: 'word/document.xml', message: `${issue.type}: ${issue.message}` });
199
+ }
200
+ if (audit.stats.bodyLevelSectPrCount !== 1) {
201
+ issues.push({
202
+ check: 'sectpr',
203
+ part: 'word/document.xml',
204
+ message: `Expected exactly one body-level w:sectPr, found ${audit.stats.bodyLevelSectPrCount}`,
205
+ });
206
+ }
207
+ return issues;
208
+ }
209
+ function isStoryPart(name) {
210
+ return (name === 'word/document.xml' ||
211
+ /^word\/header\d+\.xml$/.test(name) ||
212
+ /^word\/footer\d+\.xml$/.test(name) ||
213
+ name === 'word/footnotes.xml' ||
214
+ name === 'word/endnotes.xml' ||
215
+ name === 'word/comments.xml');
216
+ }
217
+ function checkFieldPairing(contents) {
218
+ const issues = [];
219
+ for (const [name, text] of contents) {
220
+ if (!isStoryPart(name))
221
+ continue;
222
+ const doc = parseXml(text);
223
+ // Document-order walk over field-relevant leaves; fldChar transitions
224
+ // drive a begin → separate → end state machine per story part.
225
+ let state = 'idle';
226
+ const visit = (el) => {
227
+ if (el.tagName === 'w:fldChar') {
228
+ const type = el.getAttribute('w:fldCharType');
229
+ if (type === 'begin') {
230
+ if (state !== 'idle') {
231
+ issues.push({ check: 'field_pairing', part: name, message: 'fldChar begin while a field is already open' });
232
+ }
233
+ state = 'instr';
234
+ }
235
+ else if (type === 'separate') {
236
+ if (state !== 'instr') {
237
+ issues.push({ check: 'field_pairing', part: name, message: 'fldChar separate without a matching begin' });
238
+ }
239
+ state = 'result';
240
+ }
241
+ else if (type === 'end') {
242
+ if (state === 'idle') {
243
+ issues.push({ check: 'field_pairing', part: name, message: 'fldChar end without a matching begin' });
244
+ }
245
+ state = 'idle';
246
+ }
247
+ }
248
+ else if (el.tagName === 'w:instrText') {
249
+ if (state !== 'instr') {
250
+ issues.push({
251
+ check: 'field_pairing',
252
+ part: name,
253
+ message: 'w:instrText outside a begin→separate range',
254
+ });
255
+ }
256
+ }
257
+ for (let i = 0; i < el.childNodes.length; i++) {
258
+ const child = el.childNodes[i];
259
+ if (child.nodeType === NODE_TYPE.ELEMENT)
260
+ visit(child);
261
+ }
262
+ };
263
+ if (doc.documentElement)
264
+ visit(doc.documentElement);
265
+ if (state !== 'idle') {
266
+ issues.push({ check: 'field_pairing', part: name, message: 'Unclosed field at end of story part' });
267
+ }
268
+ }
269
+ return issues;
270
+ }
271
+ /**
272
+ * Table invariants readers actually enforce: every cell ends with a w:p,
273
+ * and the document body never ends with a table (the element preceding the
274
+ * body-level sectPr, or the last body child, must not be w:tbl).
275
+ *
276
+ * @conformance ECMA-376 edition 5, Part 1 § 17.4.65
277
+ */
278
+ function checkTables(contents) {
279
+ const issues = [];
280
+ for (const [name, text] of contents) {
281
+ if (!isStoryPart(name))
282
+ continue;
283
+ const doc = parseXml(text);
284
+ for (const tc of Array.from(doc.getElementsByTagName('w:tc'))) {
285
+ let last = null;
286
+ for (let child = tc.firstChild; child; child = child.nextSibling) {
287
+ if (child.nodeType === NODE_TYPE.ELEMENT)
288
+ last = child;
289
+ }
290
+ if (!last || last.tagName !== 'w:p') {
291
+ issues.push({
292
+ check: 'table',
293
+ part: name,
294
+ message: `Table cell ends with <${last?.tagName ?? 'nothing'}> instead of a w:p`,
295
+ });
296
+ }
297
+ }
298
+ if (name !== 'word/document.xml')
299
+ continue;
300
+ const body = doc.getElementsByTagName('w:body').item(0);
301
+ if (!body)
302
+ continue;
303
+ let lastContent = null;
304
+ for (let child = body.firstChild; child; child = child.nextSibling) {
305
+ if (child.nodeType !== NODE_TYPE.ELEMENT)
306
+ continue;
307
+ const el = child;
308
+ if (el.tagName === 'w:sectPr')
309
+ continue;
310
+ lastContent = el;
311
+ }
312
+ if (lastContent && lastContent.tagName === 'w:tbl') {
313
+ issues.push({ check: 'table', part: name, message: 'Document body ends with a w:tbl' });
314
+ }
315
+ }
316
+ return issues;
317
+ }
318
+ //# sourceMappingURL=structural-checks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structural-checks.js","sourceRoot":"","sources":["../../src/generation/structural-checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MA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,EAAE,CAAC,OAAO,KAAK,UAAU;gBAAE,SAAS;YACxC,WAAW,GAAG,EAAE,CAAC;QACnB,CAAC;QACD,IAAI,WAAW,IAAI,WAAW,CAAC,OAAO,KAAK,OAAO,EAAE,CAAC;YACnD,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC,CAAC;QAC1F,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { DocumentThemeSpec, ThemeColorSlot } from './types.js';
2
+ export declare const CANONICAL_THEME_COLORS: Record<ThemeColorSlot, string>;
3
+ export declare function resolveThemeColorValues(theme?: DocumentThemeSpec): ReadonlyMap<ThemeColorSlot, string>;
4
+ //# sourceMappingURL=theme-colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-colors.d.ts","sourceRoot":"","sources":["../../src/generation/theme-colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEpE,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAajE,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,WAAW,CAAC,cAAc,EAAE,MAAM,CAAC,CAEtG"}
@@ -0,0 +1,18 @@
1
+ export const CANONICAL_THEME_COLORS = {
2
+ text1: '000000',
3
+ background1: 'FFFFFF',
4
+ text2: '44546A',
5
+ background2: 'E7E6E6',
6
+ accent1: '4472C4',
7
+ accent2: 'ED7D31',
8
+ accent3: 'A5A5A5',
9
+ accent4: 'FFC000',
10
+ accent5: '5B9BD5',
11
+ accent6: '70AD47',
12
+ hyperlink: '0563C1',
13
+ followedHyperlink: '954F72',
14
+ };
15
+ export function resolveThemeColorValues(theme) {
16
+ return new Map(Object.entries({ ...CANONICAL_THEME_COLORS, ...(theme?.colors ?? {}) }));
17
+ }
18
+ //# sourceMappingURL=theme-colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-colors.js","sourceRoot":"","sources":["../../src/generation/theme-colors.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,sBAAsB,GAAmC;IACpE,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,QAAQ;IACnB,iBAAiB,EAAE,QAAQ;CAC5B,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,KAAyB;IAC/D,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,GAAG,sBAAsB,EAAE,GAAG,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,CAAC,EAAE,CAAoC,CAAC,CAAC;AAC7H,CAAC"}
@@ -0,0 +1,266 @@
1
+ /**
2
+ * Declarative document specification for from-scratch DOCX generation.
3
+ *
4
+ * The entire surface is plain data: discriminated unions on `kind`, no Map /
5
+ * Date / class instances, explicit unit suffixes (`...Twips`, `...Pt`) instead
6
+ * of bare numbers. `JSON.parse(JSON.stringify(spec))` is identity over any
7
+ * valid spec, which is what lets a stored recipe (or, later, an MCP payload)
8
+ * compile without translation.
9
+ *
10
+ * The type surface intentionally covers the full feature set of the
11
+ * add-docx-generation change even though emitters land in phases; the
12
+ * compiler rejects any spec feature whose emitter has not shipped yet
13
+ * (see validate-spec.ts) rather than silently ignoring it.
14
+ */
15
+ export type DocumentSpec = {
16
+ meta?: DocumentMetaSpec;
17
+ /** Optional partial override for the emitted package theme. */
18
+ theme?: DocumentThemeSpec;
19
+ /** Emitted to word/styles.xml. Document defaults + Normal are always emitted. */
20
+ styles?: StyleSpec[];
21
+ /** Emitted to word/numbering.xml when non-empty. */
22
+ numbering?: NumberingSpec[];
23
+ /** At least one section. The final section's properties bind at body level. */
24
+ sections: SectionSpec[];
25
+ options?: {
26
+ /** Default true. When false, drafting notes compile to nothing. */
27
+ includeDraftingNotes?: boolean;
28
+ };
29
+ };
30
+ export type DocumentMetaSpec = {
31
+ title?: string;
32
+ author?: string;
33
+ /** ISO-8601 timestamp used for docProps dates. Generation never reads the clock. */
34
+ createdIso?: string;
35
+ };
36
+ export declare const THEME_COLOR_SLOTS: readonly ["text1", "background1", "text2", "background2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hyperlink", "followedHyperlink"];
37
+ export type ThemeColorSlot = (typeof THEME_COLOR_SLOTS)[number];
38
+ export type DocumentThemeSpec = {
39
+ /** Partial slot overrides; values are six-digit hex without '#'. */
40
+ colors?: Partial<Record<ThemeColorSlot, string>>;
41
+ /** Optional major (headings) and minor (body) latin typefaces. */
42
+ fonts?: {
43
+ major?: string;
44
+ minor?: string;
45
+ };
46
+ };
47
+ export type SectionSpec = {
48
+ page?: {
49
+ /** Defaults to US Letter (12240 × 15840). */
50
+ sizeTwips?: {
51
+ w: number;
52
+ h: number;
53
+ };
54
+ orientation?: 'portrait' | 'landscape';
55
+ marginsTwips?: {
56
+ top?: number;
57
+ right?: number;
58
+ bottom?: number;
59
+ left?: number;
60
+ header?: number;
61
+ footer?: number;
62
+ gutter?: number;
63
+ };
64
+ };
65
+ /** Section-break type for non-final sections (w:type). */
66
+ breakType?: 'nextPage' | 'continuous' | 'oddPage' | 'evenPage';
67
+ pageNumbering?: {
68
+ start?: number;
69
+ format?: 'decimal' | 'lowerRoman' | 'upperRoman' | 'lowerLetter' | 'upperLetter';
70
+ };
71
+ /** Auto-implied when headers.first or footers.first is present. */
72
+ titlePg?: boolean;
73
+ headers?: HeaderFooterSet;
74
+ footers?: HeaderFooterSet;
75
+ blocks: BlockSpec[];
76
+ };
77
+ export type HeaderFooterSet = {
78
+ default?: HeaderFooterSpec;
79
+ first?: HeaderFooterSpec;
80
+ even?: HeaderFooterSpec;
81
+ };
82
+ export type HeaderFooterSpec = {
83
+ blocks: BlockSpec[];
84
+ };
85
+ export type BlockSpec = ParagraphSpec | TableSpec;
86
+ export type ParagraphSpec = {
87
+ kind: 'paragraph';
88
+ /** Must resolve to a declared style (or the implicit Normal). */
89
+ styleId?: string;
90
+ alignment?: 'left' | 'center' | 'right' | 'justify';
91
+ spacing?: {
92
+ beforeTwips?: number;
93
+ afterTwips?: number;
94
+ lineTwips?: number;
95
+ lineRule?: 'auto' | 'exact' | 'atLeast';
96
+ };
97
+ indent?: {
98
+ leftTwips?: number;
99
+ rightTwips?: number;
100
+ firstLineTwips?: number;
101
+ hangingTwips?: number;
102
+ };
103
+ /** Must resolve to a declared numbering definition. */
104
+ list?: {
105
+ numId: string;
106
+ ilvl: number;
107
+ };
108
+ pageBreakBefore?: boolean;
109
+ keepNext?: boolean;
110
+ /** Keep every line of this paragraph on one page (w:keepLines). */
111
+ keepLines?: boolean;
112
+ tabs?: Array<{
113
+ posTwips: number;
114
+ align: 'left' | 'center' | 'right';
115
+ leader?: 'none' | 'dot' | 'underscore';
116
+ }>;
117
+ runs: InlineSpec[];
118
+ /** Drafting-note annotation anchored to this paragraph (separable layer). */
119
+ note?: DraftingNoteSpec;
120
+ };
121
+ export type InlineSpec = RunSpec | FieldSpec | TabSpec | BreakSpec;
122
+ /**
123
+ * The fixed set of text-highlight values (CT_HighlightColor). Single source of
124
+ * truth: the {@link HighlightColor} union is derived from this array, and
125
+ * validation reuses it as a runtime whitelist so JSON/JS callers cannot author
126
+ * an out-of-enum `w:highlight`.
127
+ */
128
+ export declare const HIGHLIGHT_COLORS: readonly ["yellow", "green", "cyan", "magenta", "blue", "red", "darkBlue", "darkCyan", "darkGreen", "darkMagenta", "darkRed", "darkYellow", "darkGray", "lightGray", "black", "white", "none"];
129
+ export type HighlightColor = (typeof HIGHLIGHT_COLORS)[number];
130
+ /** Run-level formatting shared by text runs, fields, and style definitions. */
131
+ export type RunProps = {
132
+ bold?: boolean;
133
+ italic?: boolean;
134
+ underline?: 'single' | 'double' | 'none';
135
+ /** Six-digit hex without '#', e.g. 'FF0000'. */
136
+ colorHex?: string;
137
+ /** Theme color slot emitted as w:color/@w:themeColor. */
138
+ themeColor?: ThemeColorSlot;
139
+ /** Two-digit hex tint emitted as w:color/@w:themeTint. */
140
+ themeTint?: string;
141
+ /** Two-digit hex shade emitted as w:color/@w:themeShade. */
142
+ themeShade?: string;
143
+ /** Fixed text highlight color; arbitrary run fill belongs to run shading. */
144
+ highlight?: HighlightColor;
145
+ /** Applied to ascii + hAnsi + cs so all script ranges agree. */
146
+ font?: string;
147
+ sizePt?: number;
148
+ caps?: boolean;
149
+ smallCaps?: boolean;
150
+ };
151
+ export type RunSpec = {
152
+ kind: 'text';
153
+ text: string;
154
+ } & RunProps;
155
+ export type FieldSpec = {
156
+ kind: 'field';
157
+ field: 'PAGE' | 'NUMPAGES';
158
+ /**
159
+ * Cached field result text, required so readers display a value without
160
+ * recomputation prompts. The no-recovery-dialog guarantee is
161
+ * unrepresentable-by-omission.
162
+ */
163
+ cachedResult: string;
164
+ } & RunProps;
165
+ export type TabSpec = {
166
+ kind: 'tab';
167
+ };
168
+ export type BreakSpec = {
169
+ kind: 'break';
170
+ breakType?: 'line' | 'page';
171
+ };
172
+ export type TableSpec = {
173
+ kind: 'table';
174
+ /** Defaults to 'fixed'. */
175
+ layout?: 'fixed' | 'autofit';
176
+ /** Defines w:tblGrid; the sum drives w:tblW. */
177
+ columnWidthsTwips: number[];
178
+ borders?: TableBorders;
179
+ rows: TableRowSpec[];
180
+ };
181
+ export type BorderSpec = {
182
+ style: 'single' | 'double' | 'none';
183
+ sizeEighthPt?: number;
184
+ colorHex?: string;
185
+ };
186
+ export type TableBorders = {
187
+ top?: BorderSpec;
188
+ bottom?: BorderSpec;
189
+ left?: BorderSpec;
190
+ right?: BorderSpec;
191
+ insideH?: BorderSpec;
192
+ insideV?: BorderSpec;
193
+ };
194
+ export type TableRowSpec = {
195
+ heightTwips?: number;
196
+ heightRule?: 'atLeast' | 'exact';
197
+ /** Marks the row as a repeating header row (w:tblHeader). */
198
+ header?: boolean;
199
+ cells: TableCellSpec[];
200
+ };
201
+ export type TableCellSpec = {
202
+ widthTwips?: number;
203
+ gridSpan?: number;
204
+ vMerge?: 'restart' | 'continue';
205
+ borders?: TableBorders;
206
+ shadingHex?: string;
207
+ themeFill?: ThemeColorSlot;
208
+ themeFillTint?: string;
209
+ themeFillShade?: string;
210
+ vAlign?: 'top' | 'center' | 'bottom';
211
+ marginsTwips?: {
212
+ top?: number;
213
+ right?: number;
214
+ bottom?: number;
215
+ left?: number;
216
+ };
217
+ blocks: BlockSpec[];
218
+ };
219
+ export type StyleSpec = {
220
+ styleId: string;
221
+ name: string;
222
+ type: 'paragraph' | 'character';
223
+ basedOn?: string;
224
+ next?: string;
225
+ paragraph?: Omit<ParagraphSpec, 'kind' | 'runs' | 'list' | 'note' | 'styleId'>;
226
+ run?: RunProps;
227
+ };
228
+ /**
229
+ * The level-justification values we author for `w:lvlJc` — the transitional
230
+ * ST_Jc subset (`left`/`center`/`right`) the numbering generator emits, not the
231
+ * full CT_Jc value space. Single source of truth: the
232
+ * {@link NumberingLevelJustification} union is derived from this array, and
233
+ * validation reuses it as a runtime whitelist so JSON/JS callers cannot author
234
+ * an out-of-enum `w:lvlJc`.
235
+ */
236
+ export declare const NUMBERING_LEVEL_JUSTIFICATIONS: readonly ["left", "center", "right"];
237
+ export type NumberingLevelJustification = (typeof NUMBERING_LEVEL_JUSTIFICATIONS)[number];
238
+ export type NumberingSpec = {
239
+ /** Spec-level handle; the compiler assigns numeric w:numId / abstractNumId. */
240
+ numId: string;
241
+ levels: Array<{
242
+ ilvl: number;
243
+ start?: number;
244
+ numFmt: 'decimal' | 'lowerLetter' | 'upperLetter' | 'lowerRoman' | 'upperRoman' | 'bullet' | 'none';
245
+ /** Level text pattern, e.g. '%1.' or '%1.%2' or a bullet glyph. */
246
+ lvlText: string;
247
+ suff?: 'tab' | 'space' | 'nothing';
248
+ /**
249
+ * Level number justification against the text indent (`w:lvlJc`); defaults
250
+ * to `left`. `right` aligns labels of differing widths on their right edge.
251
+ */
252
+ lvlJc?: NumberingLevelJustification;
253
+ indentTwips?: {
254
+ left?: number;
255
+ hanging?: number;
256
+ };
257
+ runProps?: RunProps;
258
+ }>;
259
+ };
260
+ export type DraftingNoteSpec = {
261
+ text: string;
262
+ author?: string;
263
+ /** ISO-8601; comment metadata is deterministic, never wall-clock. */
264
+ dateIso?: string;
265
+ };
266
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/generation/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,iFAAiF;IACjF,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,oDAAoD;IACpD,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,+EAA+E;IAC/E,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE;QACR,mEAAmE;QACnE,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAChC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,+JAapB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CA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