@vc-shell/framework 2.0.0-alpha.2 → 2.0.0-alpha.4

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 (291) hide show
  1. package/dist/assets/042c75b764bc78a7.svg +1 -0
  2. package/dist/assets/0ba156439a339f2a.svg +1 -0
  3. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  4. package/dist/assets/0d67e9e056b4c500.woff +0 -0
  5. package/dist/assets/0f590f8a94577092.svg +1 -0
  6. package/dist/assets/0fc5820f8be53a1b.svg +1 -0
  7. package/dist/assets/105efd028edc1dfe.woff +0 -0
  8. package/dist/assets/10768e2cc79fc60b.svg +1 -0
  9. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  10. package/dist/assets/131b34336aedaf47.woff +0 -0
  11. package/dist/assets/154365acf3010d96.woff2 +0 -0
  12. package/dist/assets/157b8721e0600ea8.svg +1 -0
  13. package/dist/assets/15e91cdd649cde9a.svg +1 -0
  14. package/dist/assets/19275e398ae57130.woff2 +0 -0
  15. package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
  16. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  17. package/dist/assets/1de63eb118636cce.svg +1 -0
  18. package/dist/assets/1ea01de36eb5491b.svg +1 -0
  19. package/dist/assets/2010ada3e82156ed.woff +0 -0
  20. package/dist/assets/204eaf512fde2023.svg +1 -0
  21. package/dist/assets/2088983edf42e153.svg +1 -0
  22. package/dist/assets/208f810a9321a327.svg +1 -0
  23. package/dist/assets/21220a9d10e6c558.svg +1 -0
  24. package/dist/assets/220db345a102045d.woff2 +0 -0
  25. package/dist/assets/225da11d23968333.svg +1 -0
  26. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  27. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  28. package/dist/assets/259e6ad461a52ad7.svg +1 -0
  29. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  30. package/dist/assets/262f46a0b6d94bb6.svg +1 -0
  31. package/dist/assets/2857c513073467da.svg +1 -0
  32. package/dist/assets/2b3be7889467d98f.woff +0 -0
  33. package/dist/assets/2d4e6190eec72737.svg +1 -0
  34. package/dist/assets/2eba973185078bc8.woff +0 -0
  35. package/dist/assets/334d3f6bc766c516.woff +0 -0
  36. package/dist/assets/34ff7dd0c2285956.svg +1 -0
  37. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  38. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  39. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  40. package/dist/assets/3fc09a6113184f16.woff +0 -0
  41. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  42. package/dist/assets/41275bcb979cb650.svg +1 -0
  43. package/dist/assets/434f7982590e462f.woff +0 -0
  44. package/dist/assets/475937116ee3314a.woff2 +0 -0
  45. package/dist/assets/477e1881a0394cc5.woff +0 -0
  46. package/dist/assets/489710fb710e73f0.woff +0 -0
  47. package/dist/assets/49791943b3872376.woff2 +0 -0
  48. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  49. package/dist/assets/4d7a77b0e5373992.svg +1 -0
  50. package/dist/assets/4e43c74354534fb3.svg +1 -0
  51. package/dist/assets/4fe75f5117100705.svg +1 -0
  52. package/dist/assets/52e261a005074e1b.woff +0 -0
  53. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  54. package/dist/assets/54cda5482c6c9218.woff +0 -0
  55. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  56. package/dist/assets/572bb1bb4156a9c1.svg +1 -0
  57. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  58. package/dist/assets/617c4736236e199e.woff +0 -0
  59. package/dist/assets/67230f05dc94a265.svg +1 -0
  60. package/dist/assets/6798e4dd4add9b48.svg +1 -0
  61. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  62. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  63. package/dist/assets/6a3e73faf406cf33.svg +1 -0
  64. package/dist/assets/72de3a63bc0b70dd.svg +1 -0
  65. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  66. package/dist/assets/74ed5f8a78e71106.svg +1 -0
  67. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  68. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  69. package/dist/assets/7d55399c2a7bc985.svg +1 -0
  70. package/dist/assets/7d970675c69fca1d.woff +0 -0
  71. package/dist/assets/7eda727273fd98d3.svg +1 -0
  72. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  73. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  74. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  75. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  76. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  77. package/dist/assets/910b0d99b9e26568.svg +1 -0
  78. package/dist/assets/91fe94e424323d61.woff +0 -0
  79. package/dist/assets/92508f8707159b51.svg +1 -0
  80. package/dist/assets/9392bf1d591e1abb.svg +1 -0
  81. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  82. package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
  83. package/dist/assets/9d37314695c0b68d.woff +0 -0
  84. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  85. package/dist/assets/a18404194e3f9047.svg +1 -0
  86. package/dist/assets/a2017fe7f0a26510.svg +1 -0
  87. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  88. package/dist/assets/abf88f301a0730f4.svg +1 -0
  89. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  90. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  91. package/dist/assets/b1a596e31ad1185a.svg +1 -0
  92. package/dist/assets/b27767411c8427be.woff +0 -0
  93. package/dist/assets/b325adcae33bbe7a.svg +1 -0
  94. package/dist/assets/b372390551ca2fa1.svg +1 -0
  95. package/dist/assets/b5bb1e8fc975decd.svg +1 -0
  96. package/dist/assets/b645a4a2181b9dc1.svg +1 -0
  97. package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
  98. package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
  99. package/dist/assets/b94421fadd23b0f2.svg +1 -0
  100. package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
  101. package/dist/assets/c5195215cb712e9c.woff2 +0 -0
  102. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  103. package/dist/assets/c97328b91ac5cc66.woff +0 -0
  104. package/dist/assets/ca791c5ca5848a03.svg +1 -0
  105. package/dist/assets/cb32840ce330103f.woff +0 -0
  106. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  107. package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
  108. package/dist/assets/d084bda16abe8a56.svg +1 -0
  109. package/dist/assets/d32b129cae2fffd6.svg +1 -0
  110. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  111. package/dist/assets/d3f792f54ae4c307.svg +1 -0
  112. package/dist/assets/d5a5b8630120073d.svg +1 -0
  113. package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
  114. package/dist/assets/d5f9664ebbfb104b.svg +1 -0
  115. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  116. package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
  117. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  118. package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
  119. package/dist/assets/e2ad5b3428289141.woff +0 -0
  120. package/dist/assets/e38acaa1757232e0.svg +1 -0
  121. package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
  122. package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
  123. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  124. package/dist/assets/e72bb11356af94c7.svg +1 -0
  125. package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
  126. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  127. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  128. package/dist/assets/f09d89268e4c0317.svg +1 -0
  129. package/dist/assets/f239394367fcf005.woff2 +0 -0
  130. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  131. package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
  132. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  133. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  134. package/dist/assets/fed13b0d59903483.svg +1 -0
  135. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  136. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  137. package/dist/framework.css +9 -0
  138. package/dist/framework.js +36476 -0
  139. package/dist/shared/components/blade-navigation/plugin-v2.d.ts.map +1 -1
  140. package/dist/tsconfig.tsbuildinfo +1 -1
  141. package/dist/vendor-boolbase-D2i1C8XR.js +18 -0
  142. package/dist/vendor-cheerio-DrsWhxJH.js +1053 -0
  143. package/dist/vendor-cheerio-select-jw4C2SiT.js +191 -0
  144. package/dist/vendor-core-js-Do_NZFHx.js +880 -0
  145. package/dist/vendor-css-select-BwGMmTuc.js +622 -0
  146. package/dist/vendor-css-what-CZZaquJM.js +267 -0
  147. package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +781 -0
  148. package/dist/vendor-d3-array-9cpTrqlO.js +149 -0
  149. package/dist/vendor-d3-axis-D1_DbKLz.js +74 -0
  150. package/dist/vendor-d3-brush-CcKeJp9e.js +1 -0
  151. package/dist/vendor-d3-color-BOYE6h_9.js +306 -0
  152. package/dist/vendor-d3-dispatch-fx-WMg0D.js +64 -0
  153. package/dist/vendor-d3-ease-Cr34gv04.js +8 -0
  154. package/dist/vendor-d3-format-DaIwZvFc.js +182 -0
  155. package/dist/vendor-d3-interpolate-BYG2gvO4.js +177 -0
  156. package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +299 -0
  157. package/dist/vendor-d3-path-DJOTitNW.js +64 -0
  158. package/dist/vendor-d3-scale-CC5rtdt5.js +561 -0
  159. package/dist/vendor-d3-selection-CNMxsYiL.js +603 -0
  160. package/dist/vendor-d3-shape-DBhCDMiV.js +925 -0
  161. package/dist/vendor-d3-time-DAPP210_.js +212 -0
  162. package/dist/vendor-d3-time-format-hD7iE2WG.js +491 -0
  163. package/dist/vendor-d3-timer-C1cUWKPz.js +67 -0
  164. package/dist/vendor-d3-transition-BbNQT7qF.js +524 -0
  165. package/dist/vendor-d3-zoom-CcKeJp9e.js +1 -0
  166. package/dist/vendor-date-fns-BKO3x1R1.js +3102 -0
  167. package/dist/vendor-dom-serializer-BbVuF1MQ.js +213 -0
  168. package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
  169. package/dist/vendor-domhandler-Kufn9M_V.js +311 -0
  170. package/dist/vendor-dompurify-M2Bspgo5.js +553 -0
  171. package/dist/vendor-domutils-DDRq_ial.js +386 -0
  172. package/dist/vendor-emotion-cache-eEZT5l-Q.js +274 -0
  173. package/dist/vendor-emotion-hash-DImMRhyK.js +22 -0
  174. package/dist/vendor-emotion-memoize-BcEUCz8q.js +9 -0
  175. package/dist/vendor-emotion-serialize-BSDW8NwU.js +123 -0
  176. package/dist/vendor-emotion-sheet-CS8ZBl9s.js +44 -0
  177. package/dist/vendor-emotion-unitless-B7u1PU6w.js +53 -0
  178. package/dist/vendor-emotion-utils-D7refZTM.js +28 -0
  179. package/dist/vendor-entities-J86Og8IU.js +364 -0
  180. package/dist/vendor-floating-ui-core-BoHdh92a.js +432 -0
  181. package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +398 -0
  182. package/dist/vendor-floating-ui-utils-CidJRIm2.js +257 -0
  183. package/dist/vendor-floating-ui-vue-sCrhit51.js +121 -0
  184. package/dist/vendor-gridstack-Dkfw452e.js +3390 -0
  185. package/dist/vendor-headlessui-vue-Cn-RMs4E.js +961 -0
  186. package/dist/vendor-htmlparser2-BxKKzWLL.js +735 -0
  187. package/dist/vendor-internmap-Q5729_cS.js +35 -0
  188. package/dist/vendor-intlify-core-base-BmIo1dK4.js +1141 -0
  189. package/dist/vendor-intlify-message-compiler-D9VOavkL.js +960 -0
  190. package/dist/vendor-intlify-shared-SCAs3ybf.js +144 -0
  191. package/dist/vendor-iso-639-1-rPqx9HMT.js +786 -0
  192. package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +286 -0
  193. package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
  194. package/dist/vendor-linkifyjs-dCH9UYes.js +701 -0
  195. package/dist/vendor-lodash-es-BtnfG6xF.js +4829 -0
  196. package/dist/vendor-lucide-vue-next-CPgeDcFj.js +33093 -0
  197. package/dist/vendor-markdown-it-Bs9KEWkF.js +2266 -0
  198. package/dist/vendor-markdown-it-task-lists-CHCnS7dl.js +69 -0
  199. package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
  200. package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +1207 -0
  201. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +261 -0
  202. package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +1822 -0
  203. package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +1921 -0
  204. package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +4276 -0
  205. package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +1407 -0
  206. package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +572 -0
  207. package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +43 -0
  208. package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +487 -0
  209. package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +147 -0
  210. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
  211. package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +22 -0
  212. package/dist/vendor-module-federation-error-codes-DdVwX11j.js +55 -0
  213. package/dist/vendor-module-federation-runtime-CVH_lWgu.js +91 -0
  214. package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +2202 -0
  215. package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +18 -0
  216. package/dist/vendor-module-federation-sdk-DM4AJRa7.js +683 -0
  217. package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +261 -0
  218. package/dist/vendor-nevware21-ts-utils-DII8jruI.js +853 -0
  219. package/dist/vendor-nth-check-CGMdQf59.js +45 -0
  220. package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
  221. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +143 -0
  222. package/dist/vendor-parse5-zq5Hn0y9.js +5749 -0
  223. package/dist/vendor-prettier-CoRReRqw.js +5215 -0
  224. package/dist/vendor-prosemirror-commands-Bv4ChObl.js +385 -0
  225. package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +86 -0
  226. package/dist/vendor-prosemirror-gapcursor-S3ikcYX6.js +203 -0
  227. package/dist/vendor-prosemirror-history-CQYKHz3u.js +248 -0
  228. package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +62 -0
  229. package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +663 -0
  230. package/dist/vendor-prosemirror-model-DAA3avbR.js +2730 -0
  231. package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +87 -0
  232. package/dist/vendor-prosemirror-state-IeimrELV.js +821 -0
  233. package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +1414 -0
  234. package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +1525 -0
  235. package/dist/vendor-prosemirror-view-DFpBkGRq.js +3794 -0
  236. package/dist/vendor-punycode-js-CgGegfA_.js +133 -0
  237. package/dist/vendor-rope-sequence-BWC2FSrq.js +100 -0
  238. package/dist/vendor-semver-Dar8oU3V.js +1023 -0
  239. package/dist/vendor-striptags-BrHtQQiF.js +120 -0
  240. package/dist/vendor-stylis-ClfDrgKE.js +334 -0
  241. package/dist/vendor-swiper-1bp0oJwt.js +3387 -0
  242. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
  243. package/dist/vendor-throttle-debounce-CX0imT7m.js +28 -0
  244. package/dist/vendor-tiptap-core-CDScflP1.js +3921 -0
  245. package/dist/vendor-tiptap-extension-blockquote-ChRAwuus.js +55 -0
  246. package/dist/vendor-tiptap-extension-bold-BwoVpOFS.js +74 -0
  247. package/dist/vendor-tiptap-extension-code-DOlgG3ih.js +52 -0
  248. package/dist/vendor-tiptap-extension-code-block-CMeTs87s.js +215 -0
  249. package/dist/vendor-tiptap-extension-document-DO8oly70.js +12 -0
  250. package/dist/vendor-tiptap-extension-hard-break-BgDl2sHf.js +59 -0
  251. package/dist/vendor-tiptap-extension-heading-DFuYlwHi.js +63 -0
  252. package/dist/vendor-tiptap-extension-horizontal-rule-uyfttMp9.js +56 -0
  253. package/dist/vendor-tiptap-extension-image-DPeBaTE3.js +128 -0
  254. package/dist/vendor-tiptap-extension-italic-C9-3jNxO.js +73 -0
  255. package/dist/vendor-tiptap-extension-link-B57VzStq.js +312 -0
  256. package/dist/vendor-tiptap-extension-list-spvOF7Mz.js +722 -0
  257. package/dist/vendor-tiptap-extension-paragraph-Cj7auQB7.js +44 -0
  258. package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +1 -0
  259. package/dist/vendor-tiptap-extension-strike-yj6UvnkO.js +64 -0
  260. package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +1 -0
  261. package/dist/vendor-tiptap-extension-table-ex1kZQ-9.js +374 -0
  262. package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +1 -0
  263. package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +1 -0
  264. package/dist/vendor-tiptap-extension-text-C8FG4KnI.js +13 -0
  265. package/dist/vendor-tiptap-extension-text-style-DsQDXowp.js +235 -0
  266. package/dist/vendor-tiptap-extension-underline-HB3fg6Dc.js +65 -0
  267. package/dist/vendor-tiptap-extensions-CUGwjzl5.js +296 -0
  268. package/dist/vendor-tiptap-markdown-DLzeP3KU.js +826 -0
  269. package/dist/vendor-tiptap-pm-DSHuSumV.js +1 -0
  270. package/dist/vendor-tiptap-starter-kit-C42PcJ7J.js +28 -0
  271. package/dist/vendor-tiptap-vue-3-BxWCzu9Z.js +157 -0
  272. package/dist/vendor-truncate-html-r2r8GKvW.js +145 -0
  273. package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
  274. package/dist/vendor-unovis-ts-Bue71Kwt.js +2382 -0
  275. package/dist/vendor-unovis-vue-C_K1g5KH.js +446 -0
  276. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
  277. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
  278. package/dist/vendor-vue-currency-input-CckB4kjx.js +317 -0
  279. package/dist/vendor-vue-demi-CD9yLWd7.js +1 -0
  280. package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
  281. package/dist/vendor-vue-i18n-DeO9Fa9I.js +1387 -0
  282. package/dist/vendor-vue-router-R3V0tq8_.js +6 -0
  283. package/dist/vendor-vue3-application-insights-BmJCYUcp.js +69 -0
  284. package/dist/vendor-vue3-touch-events-DqysuuWh.js +169 -0
  285. package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +4998 -0
  286. package/dist/vendor-vueuse-components-Be490f6P.js +542 -0
  287. package/dist/vendor-vueuse-core-BW8bO6-j.js +5135 -0
  288. package/dist/vendor-vueuse-shared-bmkWEEYZ.js +1169 -0
  289. package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
  290. package/dist/vendor-web-vitals-vrpLO1bu.js +207 -0
  291. package/package.json +5 -8
@@ -0,0 +1,44 @@
1
+ import { N as o, m as i } from "./vendor-tiptap-core-CDScflP1.js";
2
+ var a = " ", s = " ", p = o.create({
3
+ name: "paragraph",
4
+ priority: 1e3,
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {}
8
+ };
9
+ },
10
+ group: "block",
11
+ content: "inline*",
12
+ parseHTML() {
13
+ return [{ tag: "p" }];
14
+ },
15
+ renderHTML({ HTMLAttributes: r }) {
16
+ return ["p", i(this.options.HTMLAttributes, r), 0];
17
+ },
18
+ parseMarkdown: (r, e) => {
19
+ const t = r.tokens || [];
20
+ if (t.length === 1 && t[0].type === "image")
21
+ return e.parseChildren([t[0]]);
22
+ const n = e.parseInline(t);
23
+ return n.length === 1 && n[0].type === "text" && (n[0].text === a || n[0].text === s) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, n);
24
+ },
25
+ renderMarkdown: (r, e) => {
26
+ if (!r)
27
+ return "";
28
+ const t = Array.isArray(r.content) ? r.content : [];
29
+ return t.length === 0 ? a : e.renderChildren(t);
30
+ },
31
+ addCommands() {
32
+ return {
33
+ setParagraph: () => ({ commands: r }) => r.setNode(this.name)
34
+ };
35
+ },
36
+ addKeyboardShortcuts() {
37
+ return {
38
+ "Mod-Alt-0": () => this.editor.commands.setParagraph()
39
+ };
40
+ }
41
+ });
42
+ export {
43
+ p as P
44
+ };
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extensions-CUGwjzl5.js";
@@ -0,0 +1,64 @@
1
+ import { M as r, a as s, b as a, m as n } from "./vendor-tiptap-core-CDScflP1.js";
2
+ var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
+ name: "strike",
4
+ addOptions() {
5
+ return {
6
+ HTMLAttributes: {}
7
+ };
8
+ },
9
+ parseHTML() {
10
+ return [
11
+ {
12
+ tag: "s"
13
+ },
14
+ {
15
+ tag: "del"
16
+ },
17
+ {
18
+ tag: "strike"
19
+ },
20
+ {
21
+ style: "text-decoration",
22
+ consuming: !1,
23
+ getAttrs: (e) => e.includes("line-through") ? {} : !1
24
+ }
25
+ ];
26
+ },
27
+ renderHTML({ HTMLAttributes: e }) {
28
+ return ["s", n(this.options.HTMLAttributes, e), 0];
29
+ },
30
+ markdownTokenName: "del",
31
+ parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
+ renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
+ addCommands() {
34
+ return {
35
+ setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
+ toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
+ unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
38
+ };
39
+ },
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
+ };
44
+ },
45
+ addInputRules() {
46
+ return [
47
+ a({
48
+ find: i,
49
+ type: this.type
50
+ })
51
+ ];
52
+ },
53
+ addPasteRules() {
54
+ return [
55
+ s({
56
+ find: d,
57
+ type: this.type
58
+ })
59
+ ];
60
+ }
61
+ });
62
+ export {
63
+ o as S
64
+ };
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-ex1kZQ-9.js";
@@ -0,0 +1,374 @@
1
+ import { N as x, m as M, x as $, y as k, k as _, A as O } from "./vendor-tiptap-core-CDScflP1.js";
2
+ import { T as I } from "./vendor-prosemirror-state-IeimrELV.js";
3
+ import { c as P, t as j, C as N, f as z, g as H, s as D, m as W, a as v, b as V, d as S, e as B, h as K, i as F, j as U, k as q, l as G, n as J } from "./vendor-prosemirror-tables-zVUKdbdQ.js";
4
+ var Q = x.create({
5
+ name: "tableCell",
6
+ addOptions() {
7
+ return {
8
+ HTMLAttributes: {}
9
+ };
10
+ },
11
+ content: "block+",
12
+ addAttributes() {
13
+ return {
14
+ colspan: {
15
+ default: 1
16
+ },
17
+ rowspan: {
18
+ default: 1
19
+ },
20
+ colwidth: {
21
+ default: null,
22
+ parseHTML: (e) => {
23
+ var t, n;
24
+ const l = e.getAttribute("colwidth"), u = l ? l.split(",").map((r) => parseInt(r, 10)) : null;
25
+ if (!u) {
26
+ const r = (t = e.closest("table")) == null ? void 0 : t.querySelectorAll("colgroup > col"), i = Array.from(((n = e.parentElement) == null ? void 0 : n.children) || []).indexOf(e);
27
+ if (i && i > -1 && r && r[i]) {
28
+ const a = r[i].getAttribute("width");
29
+ return a ? [parseInt(a, 10)] : null;
30
+ }
31
+ }
32
+ return u;
33
+ }
34
+ }
35
+ };
36
+ },
37
+ tableRole: "cell",
38
+ isolating: !0,
39
+ parseHTML() {
40
+ return [{ tag: "td" }];
41
+ },
42
+ renderHTML({ HTMLAttributes: e }) {
43
+ return ["td", M(this.options.HTMLAttributes, e), 0];
44
+ }
45
+ }), X = x.create({
46
+ name: "tableHeader",
47
+ addOptions() {
48
+ return {
49
+ HTMLAttributes: {}
50
+ };
51
+ },
52
+ content: "block+",
53
+ addAttributes() {
54
+ return {
55
+ colspan: {
56
+ default: 1
57
+ },
58
+ rowspan: {
59
+ default: 1
60
+ },
61
+ colwidth: {
62
+ default: null,
63
+ parseHTML: (e) => {
64
+ const t = e.getAttribute("colwidth");
65
+ return t ? t.split(",").map((l) => parseInt(l, 10)) : null;
66
+ }
67
+ }
68
+ };
69
+ },
70
+ tableRole: "header_cell",
71
+ isolating: !0,
72
+ parseHTML() {
73
+ return [{ tag: "th" }];
74
+ },
75
+ renderHTML({ HTMLAttributes: e }) {
76
+ return ["th", M(this.options.HTMLAttributes, e), 0];
77
+ }
78
+ }), Y = x.create({
79
+ name: "tableRow",
80
+ addOptions() {
81
+ return {
82
+ HTMLAttributes: {}
83
+ };
84
+ },
85
+ content: "(tableCell | tableHeader)*",
86
+ tableRole: "row",
87
+ parseHTML() {
88
+ return [{ tag: "tr" }];
89
+ },
90
+ renderHTML({ HTMLAttributes: e }) {
91
+ return ["tr", M(this.options.HTMLAttributes, e), 0];
92
+ }
93
+ });
94
+ function R(e, t) {
95
+ return t ? ["width", `${Math.max(t, e)}px`] : ["min-width", `${e}px`];
96
+ }
97
+ function E(e, t, n, l, u, r) {
98
+ var i;
99
+ let a = 0, f = !0, c = t.firstChild;
100
+ const b = e.firstChild;
101
+ if (b !== null)
102
+ for (let m = 0, y = 0; m < b.childCount; m += 1) {
103
+ const { colspan: s, colwidth: d } = b.child(m).attrs;
104
+ for (let o = 0; o < s; o += 1, y += 1) {
105
+ const h = u === y ? r : d && d[o], C = h ? `${h}px` : "";
106
+ if (a += h || l, h || (f = !1), c) {
107
+ if (c.style.width !== C) {
108
+ const [g, w] = R(l, h);
109
+ c.style.setProperty(g, w);
110
+ }
111
+ c = c.nextSibling;
112
+ } else {
113
+ const g = document.createElement("col"), [w, A] = R(l, h);
114
+ g.style.setProperty(w, A), t.appendChild(g);
115
+ }
116
+ }
117
+ }
118
+ for (; c; ) {
119
+ const m = c.nextSibling;
120
+ (i = c.parentNode) == null || i.removeChild(c), c = m;
121
+ }
122
+ const p = e.attrs.style && typeof e.attrs.style == "string" && /\bwidth\s*:/i.test(e.attrs.style);
123
+ f && !p ? (n.style.width = `${a}px`, n.style.minWidth = "") : (n.style.width = "", n.style.minWidth = `${a}px`);
124
+ }
125
+ var Z = class {
126
+ constructor(e, t) {
127
+ this.node = e, this.cellMinWidth = t, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), e.attrs.style && (this.table.style.cssText = e.attrs.style), this.colgroup = this.table.appendChild(document.createElement("colgroup")), E(e, this.colgroup, this.table, t), this.contentDOM = this.table.appendChild(document.createElement("tbody"));
128
+ }
129
+ update(e) {
130
+ return e.type !== this.node.type ? !1 : (this.node = e, E(e, this.colgroup, this.table, this.cellMinWidth), !0);
131
+ }
132
+ ignoreMutation(e) {
133
+ const t = e.target, n = this.dom.contains(t), l = this.contentDOM.contains(t);
134
+ return !!(n && !l && (e.type === "attributes" || e.type === "childList" || e.type === "characterData"));
135
+ }
136
+ };
137
+ function ee(e, t, n, l) {
138
+ let u = 0, r = !0;
139
+ const i = [], a = e.firstChild;
140
+ if (!a)
141
+ return {};
142
+ for (let p = 0, m = 0; p < a.childCount; p += 1) {
143
+ const { colspan: y, colwidth: s } = a.child(p).attrs;
144
+ for (let d = 0; d < y; d += 1, m += 1) {
145
+ const o = n === m ? l : s && s[d];
146
+ u += o || t, o || (r = !1);
147
+ const [h, C] = R(t, o);
148
+ i.push(["col", { style: `${h}: ${C}` }]);
149
+ }
150
+ }
151
+ const f = r ? `${u}px` : "", c = r ? "" : `${u}px`;
152
+ return { colgroup: ["colgroup", {}, ...i], tableWidth: f, tableMinWidth: c };
153
+ }
154
+ function L(e, t) {
155
+ return e.createAndFill();
156
+ }
157
+ function te(e) {
158
+ if (e.cached.tableNodeTypes)
159
+ return e.cached.tableNodeTypes;
160
+ const t = {};
161
+ return Object.keys(e.nodes).forEach((n) => {
162
+ const l = e.nodes[n];
163
+ l.spec.tableRole && (t[l.spec.tableRole] = l);
164
+ }), e.cached.tableNodeTypes = t, t;
165
+ }
166
+ function le(e, t, n, l, u) {
167
+ const r = te(e), i = [], a = [];
168
+ for (let c = 0; c < n; c += 1) {
169
+ const b = L(r.cell);
170
+ if (b && a.push(b), l) {
171
+ const p = L(r.header_cell);
172
+ p && i.push(p);
173
+ }
174
+ }
175
+ const f = [];
176
+ for (let c = 0; c < t; c += 1)
177
+ f.push(r.row.createChecked(null, l && c === 0 ? i : a));
178
+ return r.table.createChecked(null, f);
179
+ }
180
+ function re(e) {
181
+ return e instanceof N;
182
+ }
183
+ var T = ({ editor: e }) => {
184
+ const { selection: t } = e.state;
185
+ if (!re(t))
186
+ return !1;
187
+ let n = 0;
188
+ const l = O(t.ranges[0].$from, (r) => r.type.name === "table");
189
+ return l?.node.descendants((r) => {
190
+ if (r.type.name === "table")
191
+ return !1;
192
+ ["tableCell", "tableHeader"].includes(r.type.name) && (n += 1);
193
+ }), n === t.ranges.length ? (e.commands.deleteTable(), !0) : !1;
194
+ }, ne = "";
195
+ function oe(e) {
196
+ return (e || "").replace(/\s+/g, " ").trim();
197
+ }
198
+ function ae(e, t, n = {}) {
199
+ var l;
200
+ const u = (l = n.cellLineSeparator) != null ? l : ne;
201
+ if (!e || !e.content || e.content.length === 0)
202
+ return "";
203
+ const r = [];
204
+ e.content.forEach((s) => {
205
+ const d = [];
206
+ s.content && s.content.forEach((o) => {
207
+ let h = "";
208
+ o.content && Array.isArray(o.content) && o.content.length > 1 ? h = o.content.map((A) => t.renderChildren(A)).join(u) : h = o.content ? t.renderChildren(o.content) : "";
209
+ const C = oe(h), g = o.type === "tableHeader";
210
+ d.push({ text: C, isHeader: g });
211
+ }), r.push(d);
212
+ });
213
+ const i = r.reduce((s, d) => Math.max(s, d.length), 0);
214
+ if (i === 0)
215
+ return "";
216
+ const a = new Array(i).fill(0);
217
+ r.forEach((s) => {
218
+ var d;
219
+ for (let o = 0; o < i; o += 1) {
220
+ const C = (((d = s[o]) == null ? void 0 : d.text) || "").length;
221
+ C > a[o] && (a[o] = C), a[o] < 3 && (a[o] = 3);
222
+ }
223
+ });
224
+ const f = (s, d) => s + " ".repeat(Math.max(0, d - s.length)), c = r[0], b = c.some((s) => s.isHeader);
225
+ let p = `
226
+ `;
227
+ const m = new Array(i).fill(0).map((s, d) => b && c[d] && c[d].text || "");
228
+ return p += `| ${m.map((s, d) => f(s, a[d])).join(" | ")} |
229
+ `, p += `| ${a.map((s) => "-".repeat(Math.max(3, s))).join(" | ")} |
230
+ `, (b ? r.slice(1) : r).forEach((s) => {
231
+ p += `| ${new Array(i).fill(0).map((d, o) => f(s[o] && s[o].text || "", a[o])).join(" | ")} |
232
+ `;
233
+ }), p;
234
+ }
235
+ var se = ae, ie = x.create({
236
+ name: "table",
237
+ // @ts-ignore
238
+ addOptions() {
239
+ return {
240
+ HTMLAttributes: {},
241
+ resizable: !1,
242
+ renderWrapper: !1,
243
+ handleWidth: 5,
244
+ cellMinWidth: 25,
245
+ // TODO: fix
246
+ View: Z,
247
+ lastColumnResizable: !0,
248
+ allowTableNodeSelection: !1
249
+ };
250
+ },
251
+ content: "tableRow+",
252
+ tableRole: "table",
253
+ isolating: !0,
254
+ group: "block",
255
+ parseHTML() {
256
+ return [{ tag: "table" }];
257
+ },
258
+ renderHTML({ node: e, HTMLAttributes: t }) {
259
+ const { colgroup: n, tableWidth: l, tableMinWidth: u } = ee(e, this.options.cellMinWidth), r = t.style;
260
+ function i() {
261
+ return r || (l ? `width: ${l}` : `min-width: ${u}`);
262
+ }
263
+ const a = [
264
+ "table",
265
+ M(this.options.HTMLAttributes, t, {
266
+ style: i()
267
+ }),
268
+ n,
269
+ ["tbody", 0]
270
+ ];
271
+ return this.options.renderWrapper ? ["div", { class: "tableWrapper" }, a] : a;
272
+ },
273
+ parseMarkdown: (e, t) => {
274
+ const n = [];
275
+ if (e.header) {
276
+ const l = [];
277
+ e.header.forEach((u) => {
278
+ l.push(t.createNode("tableHeader", {}, [{ type: "paragraph", content: t.parseInline(u.tokens) }]));
279
+ }), n.push(t.createNode("tableRow", {}, l));
280
+ }
281
+ return e.rows && e.rows.forEach((l) => {
282
+ const u = [];
283
+ l.forEach((r) => {
284
+ u.push(t.createNode("tableCell", {}, [{ type: "paragraph", content: t.parseInline(r.tokens) }]));
285
+ }), n.push(t.createNode("tableRow", {}, u));
286
+ }), t.createNode("table", void 0, n);
287
+ },
288
+ renderMarkdown: (e, t) => se(e, t),
289
+ addCommands() {
290
+ return {
291
+ insertTable: ({ rows: e = 3, cols: t = 3, withHeaderRow: n = !0 } = {}) => ({ tr: l, dispatch: u, editor: r }) => {
292
+ const i = le(r.schema, e, t, n);
293
+ if (u) {
294
+ const a = l.selection.from + 1;
295
+ l.replaceSelectionWith(i).scrollIntoView().setSelection(I.near(l.doc.resolve(a)));
296
+ }
297
+ return !0;
298
+ },
299
+ addColumnBefore: () => ({ state: e, dispatch: t }) => J(e, t),
300
+ addColumnAfter: () => ({ state: e, dispatch: t }) => G(e, t),
301
+ deleteColumn: () => ({ state: e, dispatch: t }) => q(e, t),
302
+ addRowBefore: () => ({ state: e, dispatch: t }) => U(e, t),
303
+ addRowAfter: () => ({ state: e, dispatch: t }) => F(e, t),
304
+ deleteRow: () => ({ state: e, dispatch: t }) => K(e, t),
305
+ deleteTable: () => ({ state: e, dispatch: t }) => B(e, t),
306
+ mergeCells: () => ({ state: e, dispatch: t }) => W(e, t),
307
+ splitCell: () => ({ state: e, dispatch: t }) => v(e, t),
308
+ toggleHeaderColumn: () => ({ state: e, dispatch: t }) => S("column")(e, t),
309
+ toggleHeaderRow: () => ({ state: e, dispatch: t }) => S("row")(e, t),
310
+ toggleHeaderCell: () => ({ state: e, dispatch: t }) => V(e, t),
311
+ mergeOrSplit: () => ({ state: e, dispatch: t }) => W(e, t) ? !0 : v(e, t),
312
+ setCellAttribute: (e, t) => ({ state: n, dispatch: l }) => D(e, t)(n, l),
313
+ goToNextCell: () => ({ state: e, dispatch: t }) => H(1)(e, t),
314
+ goToPreviousCell: () => ({ state: e, dispatch: t }) => H(-1)(e, t),
315
+ fixTables: () => ({ state: e, dispatch: t }) => (t && z(e), !0),
316
+ setCellSelection: (e) => ({ tr: t, dispatch: n }) => {
317
+ if (n) {
318
+ const l = N.create(t.doc, e.anchorCell, e.headCell);
319
+ t.setSelection(l);
320
+ }
321
+ return !0;
322
+ }
323
+ };
324
+ },
325
+ addKeyboardShortcuts() {
326
+ return {
327
+ Tab: () => this.editor.commands.goToNextCell() ? !0 : this.editor.can().addRowAfter() ? this.editor.chain().addRowAfter().goToNextCell().run() : !1,
328
+ "Shift-Tab": () => this.editor.commands.goToPreviousCell(),
329
+ Backspace: T,
330
+ "Mod-Backspace": T,
331
+ Delete: T,
332
+ "Mod-Delete": T
333
+ };
334
+ },
335
+ addProseMirrorPlugins() {
336
+ return [
337
+ ...this.options.resizable && this.editor.isEditable ? [
338
+ P({
339
+ handleWidth: this.options.handleWidth,
340
+ cellMinWidth: this.options.cellMinWidth,
341
+ defaultCellMinWidth: this.options.cellMinWidth,
342
+ View: this.options.View,
343
+ lastColumnResizable: this.options.lastColumnResizable
344
+ })
345
+ ] : [],
346
+ j({
347
+ allowTableNodeSelection: this.options.allowTableNodeSelection
348
+ })
349
+ ];
350
+ },
351
+ extendNodeSchema(e) {
352
+ const t = {
353
+ name: e.name,
354
+ options: e.options,
355
+ storage: e.storage
356
+ };
357
+ return {
358
+ tableRole: $(k(e, "tableRole", t))
359
+ };
360
+ }
361
+ });
362
+ _.create({
363
+ name: "tableKit",
364
+ addExtensions() {
365
+ const e = [];
366
+ return this.options.table !== !1 && e.push(ie.configure(this.options.table)), this.options.tableCell !== !1 && e.push(Q.configure(this.options.tableCell)), this.options.tableHeader !== !1 && e.push(X.configure(this.options.tableHeader)), this.options.tableRow !== !1 && e.push(Y.configure(this.options.tableRow)), e;
367
+ }
368
+ });
369
+ export {
370
+ Y as T,
371
+ X as a,
372
+ Q as b,
373
+ ie as c
374
+ };
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-ex1kZQ-9.js";
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-ex1kZQ-9.js";
@@ -0,0 +1,13 @@
1
+ import { N as t } from "./vendor-tiptap-core-CDScflP1.js";
2
+ var a = t.create({
3
+ name: "text",
4
+ group: "inline",
5
+ parseMarkdown: (e) => ({
6
+ type: "text",
7
+ text: e.text || ""
8
+ }),
9
+ renderMarkdown: (e) => e.text || ""
10
+ });
11
+ export {
12
+ a as T
13
+ };