@gsc-basic/shared-service 1.0.6 → 1.0.8

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 (949) hide show
  1. package/dist/index.css +14 -0
  2. package/dist/shared-service.js +14 -0
  3. package/package.json +17 -14
  4. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -22
  5. package/dist/es/_virtual/index.js +0 -15
  6. package/dist/es/_virtual/index2.js +0 -17
  7. package/dist/es/email-center/AccountConf/index.js +0 -19
  8. package/dist/es/email-center/AccountConf/src/config/columns.js +0 -82
  9. package/dist/es/email-center/AccountConf/src/config/filters.js +0 -61
  10. package/dist/es/email-center/AccountConf/src/config/schema.js +0 -139
  11. package/dist/es/email-center/AccountConf/src/constant/index.js +0 -72
  12. package/dist/es/email-center/AccountConf/src/index.css +0 -14
  13. package/dist/es/email-center/AccountConf/src/index.vue.js +0 -98
  14. package/dist/es/email-center/AccountConf/src/index2.css +0 -14
  15. package/dist/es/email-center/CmGroup/index.js +0 -19
  16. package/dist/es/email-center/CmGroup/src/config/columns.js +0 -77
  17. package/dist/es/email-center/CmGroup/src/config/filters.js +0 -64
  18. package/dist/es/email-center/CmGroup/src/config/schema.js +0 -79
  19. package/dist/es/email-center/CmGroup/src/constant/index.js +0 -26
  20. package/dist/es/email-center/CmGroup/src/index.css +0 -14
  21. package/dist/es/email-center/CmGroup/src/index.vue.js +0 -91
  22. package/dist/es/email-center/CmGroup/src/index2.css +0 -14
  23. package/dist/es/email-center/InboxNotifyConf/index.js +0 -19
  24. package/dist/es/email-center/InboxNotifyConf/src/config/columns.js +0 -124
  25. package/dist/es/email-center/InboxNotifyConf/src/config/filters.js +0 -61
  26. package/dist/es/email-center/InboxNotifyConf/src/config/schema.js +0 -152
  27. package/dist/es/email-center/InboxNotifyConf/src/constant/index.js +0 -104
  28. package/dist/es/email-center/InboxNotifyConf/src/index.css +0 -14
  29. package/dist/es/email-center/InboxNotifyConf/src/index.vue.js +0 -122
  30. package/dist/es/email-center/InboxNotifyConf/src/index2.css +0 -14
  31. package/dist/es/email-center/Log/index.js +0 -19
  32. package/dist/es/email-center/Log/src/config/columns.js +0 -115
  33. package/dist/es/email-center/Log/src/config/filters.js +0 -81
  34. package/dist/es/email-center/Log/src/index.css +0 -14
  35. package/dist/es/email-center/Log/src/index.vue.js +0 -161
  36. package/dist/es/email-center/Log/src/index2.css +0 -14
  37. package/dist/es/email-center/Template/index.js +0 -19
  38. package/dist/es/email-center/Template/src/components/MailTemplateSend.css +0 -14
  39. package/dist/es/email-center/Template/src/components/MailTemplateSend.vue.js +0 -256
  40. package/dist/es/email-center/Template/src/components/MailTemplateSend2.css +0 -14
  41. package/dist/es/email-center/Template/src/config/columns.js +0 -107
  42. package/dist/es/email-center/Template/src/config/filters.js +0 -82
  43. package/dist/es/email-center/Template/src/config/schema.js +0 -179
  44. package/dist/es/email-center/Template/src/constant/index.js +0 -274
  45. package/dist/es/email-center/Template/src/index.css +0 -14
  46. package/dist/es/email-center/Template/src/index.vue.js +0 -255
  47. package/dist/es/email-center/Template/src/index2.css +0 -14
  48. package/dist/es/email-center/api/accountConf.js +0 -21
  49. package/dist/es/email-center/api/cmGroup.js +0 -21
  50. package/dist/es/email-center/api/common.js +0 -42
  51. package/dist/es/email-center/api/inboxNotifyConf.js +0 -21
  52. package/dist/es/email-center/api/log.js +0 -23
  53. package/dist/es/email-center/api/template.js +0 -27
  54. package/dist/es/email-center/components/form.css +0 -14
  55. package/dist/es/email-center/components/form.vue.js +0 -116
  56. package/dist/es/email-center/components/form2.css +0 -14
  57. package/dist/es/email-center/components/grid.css +0 -14
  58. package/dist/es/email-center/components/grid.vue.js +0 -308
  59. package/dist/es/email-center/components/grid2.css +0 -14
  60. package/dist/es/file-flow/DownloadCenter/index.js +0 -19
  61. package/dist/es/file-flow/DownloadCenter/src/components/progress.css +0 -14
  62. package/dist/es/file-flow/DownloadCenter/src/components/progress.vue.js +0 -135
  63. package/dist/es/file-flow/DownloadCenter/src/components/progress2.css +0 -14
  64. package/dist/es/file-flow/DownloadCenter/src/config/columns.js +0 -80
  65. package/dist/es/file-flow/DownloadCenter/src/config/filters.js +0 -79
  66. package/dist/es/file-flow/DownloadCenter/src/config/logColumns.js +0 -48
  67. package/dist/es/file-flow/DownloadCenter/src/config/schema.js +0 -50
  68. package/dist/es/file-flow/DownloadCenter/src/index.css +0 -14
  69. package/dist/es/file-flow/DownloadCenter/src/index.vue.js +0 -219
  70. package/dist/es/file-flow/DownloadCenter/src/index2.css +0 -14
  71. package/dist/es/file-flow/UploadButton/index.js +0 -19
  72. package/dist/es/file-flow/UploadButton/src/component/upload.css +0 -14
  73. package/dist/es/file-flow/UploadButton/src/component/upload.vue.js +0 -139
  74. package/dist/es/file-flow/UploadButton/src/composables/useUploadFile.js +0 -57
  75. package/dist/es/file-flow/UploadButton/src/index.css +0 -14
  76. package/dist/es/file-flow/UploadButton/src/index.vue.js +0 -63
  77. package/dist/es/file-flow/UploadCenter/index.js +0 -19
  78. package/dist/es/file-flow/UploadCenter/src/config/columns.js +0 -75
  79. package/dist/es/file-flow/UploadCenter/src/config/filters.js +0 -103
  80. package/dist/es/file-flow/UploadCenter/src/config/logColumns.js +0 -47
  81. package/dist/es/file-flow/UploadCenter/src/config/schema.js +0 -50
  82. package/dist/es/file-flow/UploadCenter/src/config/statusColumns.js +0 -45
  83. package/dist/es/file-flow/UploadCenter/src/index.css +0 -14
  84. package/dist/es/file-flow/UploadCenter/src/index.vue.js +0 -244
  85. package/dist/es/file-flow/UploadCenter/src/index2.css +0 -14
  86. package/dist/es/file-flow/UploadCenter/src/index3.css +0 -14
  87. package/dist/es/file-flow/api/downloadCenter.js +0 -64
  88. package/dist/es/file-flow/api/uploadButton.js +0 -24
  89. package/dist/es/file-flow/api/uploadCenter.js +0 -62
  90. package/dist/es/file-flow/components/InterruptModal.css +0 -14
  91. package/dist/es/file-flow/components/InterruptModal.vue.js +0 -83
  92. package/dist/es/hooks/useLocale.js +0 -40
  93. package/dist/es/index.js +0 -51
  94. package/dist/es/locale/index.js +0 -44
  95. package/dist/es/locale/lang/en-US.js +0 -205
  96. package/dist/es/locale/lang/ja-JP.js +0 -206
  97. package/dist/es/locale/lang/zh-CN.js +0 -203
  98. package/dist/es/node_modules/@vueuse/core/dist/index.js +0 -230
  99. package/dist/es/node_modules/@vueuse/shared/dist/index.js +0 -165
  100. package/dist/es/node_modules/lodash-es/_Hash.js +0 -33
  101. package/dist/es/node_modules/lodash-es/_ListCache.js +0 -33
  102. package/dist/es/node_modules/lodash-es/_Map.js +0 -19
  103. package/dist/es/node_modules/lodash-es/_MapCache.js +0 -33
  104. package/dist/es/node_modules/lodash-es/_Symbol.js +0 -18
  105. package/dist/es/node_modules/lodash-es/_apply.js +0 -29
  106. package/dist/es/node_modules/lodash-es/_arrayMap.js +0 -21
  107. package/dist/es/node_modules/lodash-es/_arrayPush.js +0 -21
  108. package/dist/es/node_modules/lodash-es/_assignValue.js +0 -23
  109. package/dist/es/node_modules/lodash-es/_assocIndexOf.js +0 -23
  110. package/dist/es/node_modules/lodash-es/_baseAssignValue.js +0 -25
  111. package/dist/es/node_modules/lodash-es/_baseFlatten.js +0 -26
  112. package/dist/es/node_modules/lodash-es/_baseGet.js +0 -24
  113. package/dist/es/node_modules/lodash-es/_baseGetTag.js +0 -23
  114. package/dist/es/node_modules/lodash-es/_baseHasIn.js +0 -19
  115. package/dist/es/node_modules/lodash-es/_baseIsArguments.js +0 -22
  116. package/dist/es/node_modules/lodash-es/_baseIsNative.js +0 -29
  117. package/dist/es/node_modules/lodash-es/_basePick.js +0 -23
  118. package/dist/es/node_modules/lodash-es/_basePickBy.js +0 -26
  119. package/dist/es/node_modules/lodash-es/_baseSet.js +0 -37
  120. package/dist/es/node_modules/lodash-es/_baseSetToString.js +0 -27
  121. package/dist/es/node_modules/lodash-es/_baseToString.js +0 -31
  122. package/dist/es/node_modules/lodash-es/_castPath.js +0 -23
  123. package/dist/es/node_modules/lodash-es/_coreJsData.js +0 -18
  124. package/dist/es/node_modules/lodash-es/_defineProperty.js +0 -24
  125. package/dist/es/node_modules/lodash-es/_flatRest.js +0 -22
  126. package/dist/es/node_modules/lodash-es/_freeGlobal.js +0 -17
  127. package/dist/es/node_modules/lodash-es/_getMapData.js +0 -21
  128. package/dist/es/node_modules/lodash-es/_getNative.js +0 -22
  129. package/dist/es/node_modules/lodash-es/_getRawTag.js +0 -28
  130. package/dist/es/node_modules/lodash-es/_getValue.js +0 -19
  131. package/dist/es/node_modules/lodash-es/_hasPath.js +0 -32
  132. package/dist/es/node_modules/lodash-es/_hashClear.js +0 -20
  133. package/dist/es/node_modules/lodash-es/_hashDelete.js +0 -20
  134. package/dist/es/node_modules/lodash-es/_hashGet.js +0 -26
  135. package/dist/es/node_modules/lodash-es/_hashHas.js +0 -22
  136. package/dist/es/node_modules/lodash-es/_hashSet.js +0 -22
  137. package/dist/es/node_modules/lodash-es/_isFlattenable.js +0 -23
  138. package/dist/es/node_modules/lodash-es/_isIndex.js +0 -21
  139. package/dist/es/node_modules/lodash-es/_isKey.js +0 -25
  140. package/dist/es/node_modules/lodash-es/_isKeyable.js +0 -20
  141. package/dist/es/node_modules/lodash-es/_isMasked.js +0 -24
  142. package/dist/es/node_modules/lodash-es/_listCacheClear.js +0 -19
  143. package/dist/es/node_modules/lodash-es/_listCacheDelete.js +0 -25
  144. package/dist/es/node_modules/lodash-es/_listCacheGet.js +0 -21
  145. package/dist/es/node_modules/lodash-es/_listCacheHas.js +0 -20
  146. package/dist/es/node_modules/lodash-es/_listCacheSet.js +0 -21
  147. package/dist/es/node_modules/lodash-es/_mapCacheClear.js +0 -26
  148. package/dist/es/node_modules/lodash-es/_mapCacheDelete.js +0 -21
  149. package/dist/es/node_modules/lodash-es/_mapCacheGet.js +0 -20
  150. package/dist/es/node_modules/lodash-es/_mapCacheHas.js +0 -20
  151. package/dist/es/node_modules/lodash-es/_mapCacheSet.js +0 -21
  152. package/dist/es/node_modules/lodash-es/_memoizeCapped.js +0 -24
  153. package/dist/es/node_modules/lodash-es/_nativeCreate.js +0 -18
  154. package/dist/es/node_modules/lodash-es/_objectToString.js +0 -20
  155. package/dist/es/node_modules/lodash-es/_overRest.js +0 -28
  156. package/dist/es/node_modules/lodash-es/_root.js +0 -18
  157. package/dist/es/node_modules/lodash-es/_setToString.js +0 -19
  158. package/dist/es/node_modules/lodash-es/_shortOut.js +0 -29
  159. package/dist/es/node_modules/lodash-es/_stringToPath.js +0 -23
  160. package/dist/es/node_modules/lodash-es/_toKey.js +0 -23
  161. package/dist/es/node_modules/lodash-es/_toSource.js +0 -30
  162. package/dist/es/node_modules/lodash-es/constant.js +0 -21
  163. package/dist/es/node_modules/lodash-es/eq.js +0 -19
  164. package/dist/es/node_modules/lodash-es/flatten.js +0 -21
  165. package/dist/es/node_modules/lodash-es/get.js +0 -21
  166. package/dist/es/node_modules/lodash-es/hasIn.js +0 -21
  167. package/dist/es/node_modules/lodash-es/identity.js +0 -19
  168. package/dist/es/node_modules/lodash-es/isArguments.js +0 -23
  169. package/dist/es/node_modules/lodash-es/isArray.js +0 -17
  170. package/dist/es/node_modules/lodash-es/isFunction.js +0 -25
  171. package/dist/es/node_modules/lodash-es/isLength.js +0 -20
  172. package/dist/es/node_modules/lodash-es/isObject.js +0 -20
  173. package/dist/es/node_modules/lodash-es/isObjectLike.js +0 -19
  174. package/dist/es/node_modules/lodash-es/isSymbol.js +0 -22
  175. package/dist/es/node_modules/lodash-es/memoize.js +0 -31
  176. package/dist/es/node_modules/lodash-es/pick.js +0 -21
  177. package/dist/es/node_modules/lodash-es/toString.js +0 -20
  178. package/dist/es/node_modules/path-to-regexp/dist/index.js +0 -275
  179. package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -300
  180. package/dist/es/node_modules/sortablejs/modular/sortable.esm.js +0 -1283
  181. package/dist/es/node_modules/title-case/dist/index.js +0 -20
  182. package/dist/es/packages/components/dist/es/Button/index.js +0 -19
  183. package/dist/es/packages/components/dist/es/Button/src/Button.css +0 -14
  184. package/dist/es/packages/components/dist/es/Button/src/Button.vue.js +0 -54
  185. package/dist/es/packages/components/dist/es/Button/src/Button2.css +0 -14
  186. package/dist/es/packages/components/dist/es/ConfigProvider/index.js +0 -19
  187. package/dist/es/packages/components/dist/es/ConfigProvider/src/configProvider.js +0 -27
  188. package/dist/es/packages/components/dist/es/ConfigProvider/src/configProviderProps.js +0 -35
  189. package/dist/es/packages/components/dist/es/ConfigProvider/src/constants.js +0 -22
  190. package/dist/es/packages/components/dist/es/ConfigProvider/src/useGlobalConfig.js +0 -47
  191. package/dist/es/packages/components/dist/es/Form/index.js +0 -19
  192. package/dist/es/packages/components/dist/es/Form/src/Form.css +0 -14
  193. package/dist/es/packages/components/dist/es/Form/src/Form.vue.js +0 -386
  194. package/dist/es/packages/components/dist/es/Form/src/Form2.css +0 -14
  195. package/dist/es/packages/components/dist/es/Form/src/styles/form.css +0 -14
  196. package/dist/es/packages/components/dist/es/Overlay/src/Modal.css +0 -14
  197. package/dist/es/packages/components/dist/es/Overlay/src/Modal.vue.js +0 -80
  198. package/dist/es/packages/components/dist/es/Overlay/src/Modal2.css +0 -14
  199. package/dist/es/packages/components/dist/es/RichTextEditor/index.js +0 -19
  200. package/dist/es/packages/components/dist/es/RichTextEditor/src/ToolbarPanel.css +0 -14
  201. package/dist/es/packages/components/dist/es/RichTextEditor/src/ToolbarPanel.vue.js +0 -182
  202. package/dist/es/packages/components/dist/es/RichTextEditor/src/ToolbarPanel2.css +0 -14
  203. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/BlockquoteButton.css +0 -14
  204. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/BlockquoteButton.vue.js +0 -50
  205. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/CodeBlockButton.css +0 -14
  206. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/CodeBlockButton.vue.js +0 -50
  207. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ColorHighlightPopover.css +0 -14
  208. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ColorHighlightPopover.vue.js +0 -53
  209. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.css +0 -14
  210. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +0 -68
  211. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.css +0 -14
  212. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +0 -79
  213. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ImageUploadButton.css +0 -14
  214. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ImageUploadButton.vue.js +0 -90
  215. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/LinkPopover.css +0 -14
  216. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/LinkPopover.vue.js +0 -102
  217. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/LinkPopover2.css +0 -14
  218. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ListDropdownMenu.css +0 -14
  219. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ListDropdownMenu.vue.js +0 -86
  220. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/MarkButton.css +0 -14
  221. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/MarkButton.vue.js +0 -99
  222. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TableButton.css +0 -14
  223. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TableButton.vue.js +0 -175
  224. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.css +0 -14
  225. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +0 -95
  226. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TextColorPopover.css +0 -14
  227. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/TextColorPopover.vue.js +0 -53
  228. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ToolbarGroup.css +0 -14
  229. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ToolbarGroup.vue.js +0 -29
  230. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ToolbarSeparator.css +0 -14
  231. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/ToolbarSeparator.vue.js +0 -27
  232. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/UndoRedoButton.css +0 -14
  233. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/UndoRedoButton.vue.js +0 -64
  234. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/VideoUploadButton.css +0 -14
  235. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/VideoUploadButton.vue.js +0 -90
  236. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/ColorPicker.css +0 -14
  237. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/ColorPicker.vue.js +0 -111
  238. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.css +0 -14
  239. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +0 -390
  240. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal2.css +0 -14
  241. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu.css +0 -14
  242. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu.vue.js +0 -147
  243. package/dist/es/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu2.css +0 -14
  244. package/dist/es/packages/components/dist/es/RichTextEditor/src/constant/index.js +0 -63
  245. package/dist/es/packages/components/dist/es/RichTextEditor/src/extensions/styledTable.js +0 -112
  246. package/dist/es/packages/components/dist/es/RichTextEditor/src/extensions/video.js +0 -78
  247. package/dist/es/packages/components/dist/es/RichTextEditor/src/index.css +0 -14
  248. package/dist/es/packages/components/dist/es/RichTextEditor/src/index.vue.js +0 -176
  249. package/dist/es/packages/components/dist/es/RichTextEditor/src/index2.css +0 -14
  250. package/dist/es/packages/components/dist/es/RichTextEditor/src/props.js +0 -50
  251. package/dist/es/packages/components/dist/es/_virtual/_plugin-vue_export-helper.js +0 -22
  252. package/dist/es/packages/components/dist/es/hooks/useLocale.js +0 -38
  253. package/dist/es/packages/components/dist/es/hooks/useNamespace.js +0 -21
  254. package/dist/es/packages/components/dist/es/locale/lang/en-US.js +0 -134
  255. package/dist/es/packages/components/dist/es/locale/lang/ja-JP.js +0 -134
  256. package/dist/es/packages/components/dist/es/locale/lang/zh-CN.js +0 -134
  257. package/dist/es/packages/components/dist/es/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +0 -191
  258. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/EventClient.js +0 -26
  259. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +0 -419
  260. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +0 -799
  261. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +0 -68
  262. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +0 -122
  263. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +0 -58
  264. package/dist/es/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/utils.js +0 -226
  265. package/dist/es/packages/components/dist/es/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +0 -42
  266. package/dist/es/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/alien.js +0 -221
  267. package/dist/es/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/atom.js +0 -136
  268. package/dist/es/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/batch.js +0 -25
  269. package/dist/es/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/store.js +0 -57
  270. package/dist/es/packages/components/dist/es/node_modules/@tanstack/vue-form/dist/esm/useField.js +0 -51
  271. package/dist/es/packages/components/dist/es/node_modules/@tanstack/vue-form/dist/esm/useForm.js +0 -46
  272. package/dist/es/packages/components/dist/es/node_modules/@tanstack/vue-store/dist/esm/index.js +0 -61
  273. package/dist/es/packages/components/dist/es/node_modules/@tiptap/core/dist/index.js +0 -3995
  274. package/dist/es/packages/components/dist/es/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -30
  275. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -75
  276. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-bold/dist/index.js +0 -98
  277. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-character-count/dist/index.js +0 -19
  278. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-code/dist/index.js +0 -67
  279. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-code-block/dist/index.js +0 -227
  280. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-document/dist/index.js +0 -25
  281. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -72
  282. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-heading/dist/index.js +0 -76
  283. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -69
  284. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-image/dist/index.js +0 -143
  285. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-italic/dist/index.js +0 -96
  286. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-link/dist/index.js +0 -326
  287. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-list/dist/index.js +0 -743
  288. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -62
  289. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-strike/dist/index.js +0 -79
  290. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-subscript/dist/index.js +0 -54
  291. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-superscript/dist/index.js +0 -54
  292. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-table/dist/index.js +0 -392
  293. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-task-item/dist/index.js +0 -19
  294. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-task-list/dist/index.js +0 -19
  295. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-text/dist/index.js +0 -26
  296. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-text-align/dist/index.js +0 -60
  297. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-text-style/dist/index.js +0 -253
  298. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extension-underline/dist/index.js +0 -78
  299. package/dist/es/packages/components/dist/es/node_modules/@tiptap/extensions/dist/index.js +0 -311
  300. package/dist/es/packages/components/dist/es/node_modules/@tiptap/html/dist/index.js +0 -28
  301. package/dist/es/packages/components/dist/es/node_modules/@tiptap/starter-kit/dist/index.js +0 -42
  302. package/dist/es/packages/components/dist/es/node_modules/@tiptap/vue-3/dist/index.js +0 -270
  303. package/dist/es/packages/components/dist/es/node_modules/linkifyjs/dist/linkify.js +0 -720
  304. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_DataView.js +0 -19
  305. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Hash.js +0 -33
  306. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_ListCache.js +0 -33
  307. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Map.js +0 -19
  308. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_MapCache.js +0 -33
  309. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Promise.js +0 -19
  310. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Set.js +0 -19
  311. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_SetCache.js +0 -26
  312. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Stack.js +0 -31
  313. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Symbol.js +0 -18
  314. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_Uint8Array.js +0 -18
  315. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_WeakMap.js +0 -19
  316. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_apply.js +0 -29
  317. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayFilter.js +0 -23
  318. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayIncludes.js +0 -21
  319. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  320. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayLikeKeys.js +0 -33
  321. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayMap.js +0 -21
  322. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arrayPush.js +0 -21
  323. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_arraySome.js +0 -22
  324. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_assignMergeValue.js +0 -21
  325. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_assignValue.js +0 -23
  326. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_assocIndexOf.js +0 -23
  327. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseAssignValue.js +0 -25
  328. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseCreate.js +0 -30
  329. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseFindIndex.js +0 -22
  330. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseFlatten.js +0 -26
  331. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseFor.js +0 -18
  332. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseGet.js +0 -24
  333. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseGetAllKeys.js +0 -22
  334. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseGetTag.js +0 -23
  335. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIndexOf.js +0 -22
  336. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIntersection.js +0 -42
  337. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsArguments.js +0 -22
  338. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsEqual.js +0 -21
  339. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsEqualDeep.js +0 -45
  340. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsNaN.js +0 -19
  341. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsNative.js +0 -29
  342. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseIsTypedArray.js +0 -25
  343. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseKeys.js +0 -27
  344. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseKeysIn.js +0 -28
  345. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseMerge.js +0 -33
  346. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseMergeDeep.js +0 -44
  347. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseRest.js +0 -22
  348. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseSetToString.js +0 -27
  349. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseTimes.js +0 -21
  350. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseToString.js +0 -31
  351. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseUnary.js +0 -21
  352. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_baseUniq.js +0 -46
  353. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_cacheHas.js +0 -19
  354. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_castArrayLikeObject.js +0 -20
  355. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_castPath.js +0 -23
  356. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_cloneArrayBuffer.js +0 -21
  357. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_cloneBuffer.js +0 -22
  358. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_cloneTypedArray.js +0 -21
  359. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_copyArray.js +0 -22
  360. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_copyObject.js +0 -27
  361. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_coreJsData.js +0 -18
  362. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_createAssigner.js +0 -28
  363. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_createBaseFor.js +0 -26
  364. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_createSet.js +0 -22
  365. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_defineProperty.js +0 -24
  366. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_equalArrays.js +0 -53
  367. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_equalByTag.js +0 -58
  368. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_equalObjects.js +0 -49
  369. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_freeGlobal.js +0 -17
  370. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getAllKeys.js +0 -22
  371. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getMapData.js +0 -21
  372. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getNative.js +0 -22
  373. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getPrototype.js +0 -18
  374. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getRawTag.js +0 -28
  375. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getSymbols.js +0 -23
  376. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getTag.js +0 -41
  377. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_getValue.js +0 -19
  378. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_hashClear.js +0 -20
  379. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_hashDelete.js +0 -20
  380. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_hashGet.js +0 -26
  381. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_hashHas.js +0 -22
  382. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_hashSet.js +0 -22
  383. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_initCloneObject.js +0 -22
  384. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isFlattenable.js +0 -23
  385. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isIndex.js +0 -21
  386. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isIterateeCall.js +0 -26
  387. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isKey.js +0 -25
  388. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isKeyable.js +0 -20
  389. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isMasked.js +0 -24
  390. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_isPrototype.js +0 -21
  391. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_listCacheClear.js +0 -19
  392. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_listCacheDelete.js +0 -25
  393. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_listCacheGet.js +0 -21
  394. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_listCacheHas.js +0 -20
  395. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_listCacheSet.js +0 -21
  396. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapCacheClear.js +0 -26
  397. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapCacheDelete.js +0 -21
  398. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapCacheGet.js +0 -20
  399. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapCacheHas.js +0 -20
  400. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapCacheSet.js +0 -21
  401. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_mapToArray.js +0 -22
  402. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_memoizeCapped.js +0 -24
  403. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_nativeCreate.js +0 -18
  404. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_nativeKeys.js +0 -18
  405. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_nativeKeysIn.js +0 -23
  406. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_nodeUtil.js +0 -24
  407. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_objectToString.js +0 -20
  408. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_overArg.js +0 -21
  409. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_overRest.js +0 -28
  410. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_root.js +0 -18
  411. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_safeGet.js +0 -20
  412. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_setCacheAdd.js +0 -20
  413. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_setCacheHas.js +0 -19
  414. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_setToArray.js +0 -22
  415. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_setToString.js +0 -19
  416. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_shortOut.js +0 -29
  417. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stackClear.js +0 -20
  418. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stackDelete.js +0 -20
  419. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stackGet.js +0 -19
  420. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stackHas.js +0 -19
  421. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stackSet.js +0 -30
  422. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_strictIndexOf.js +0 -22
  423. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_stringToPath.js +0 -23
  424. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_toKey.js +0 -23
  425. package/dist/es/packages/components/dist/es/node_modules/lodash-es/_toSource.js +0 -30
  426. package/dist/es/packages/components/dist/es/node_modules/lodash-es/constant.js +0 -21
  427. package/dist/es/packages/components/dist/es/node_modules/lodash-es/eq.js +0 -19
  428. package/dist/es/packages/components/dist/es/node_modules/lodash-es/get.js +0 -21
  429. package/dist/es/packages/components/dist/es/node_modules/lodash-es/identity.js +0 -19
  430. package/dist/es/packages/components/dist/es/node_modules/lodash-es/intersectionWith.js +0 -25
  431. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isArguments.js +0 -23
  432. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isArray.js +0 -17
  433. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isArrayLike.js +0 -21
  434. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isArrayLikeObject.js +0 -21
  435. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isBuffer.js +0 -19
  436. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isEqual.js +0 -20
  437. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isFunction.js +0 -25
  438. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isLength.js +0 -20
  439. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isObject.js +0 -20
  440. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isObjectLike.js +0 -19
  441. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isPlainObject.js +0 -29
  442. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isSymbol.js +0 -22
  443. package/dist/es/packages/components/dist/es/node_modules/lodash-es/isTypedArray.js +0 -20
  444. package/dist/es/packages/components/dist/es/node_modules/lodash-es/keys.js +0 -22
  445. package/dist/es/packages/components/dist/es/node_modules/lodash-es/keysIn.js +0 -22
  446. package/dist/es/packages/components/dist/es/node_modules/lodash-es/last.js +0 -20
  447. package/dist/es/packages/components/dist/es/node_modules/lodash-es/memoize.js +0 -31
  448. package/dist/es/packages/components/dist/es/node_modules/lodash-es/mergeWith.js +0 -21
  449. package/dist/es/packages/components/dist/es/node_modules/lodash-es/noop.js +0 -18
  450. package/dist/es/packages/components/dist/es/node_modules/lodash-es/stubArray.js +0 -19
  451. package/dist/es/packages/components/dist/es/node_modules/lodash-es/stubFalse.js +0 -19
  452. package/dist/es/packages/components/dist/es/node_modules/lodash-es/toPlainObject.js +0 -21
  453. package/dist/es/packages/components/dist/es/node_modules/lodash-es/toString.js +0 -20
  454. package/dist/es/packages/components/dist/es/node_modules/lodash-es/unionWith.js +0 -25
  455. package/dist/es/packages/components/dist/es/node_modules/orderedmap/dist/index.js +0 -116
  456. package/dist/es/packages/components/dist/es/node_modules/prosemirror-commands/dist/index.js +0 -401
  457. package/dist/es/packages/components/dist/es/node_modules/prosemirror-dropcursor/dist/index.js +0 -99
  458. package/dist/es/packages/components/dist/es/node_modules/prosemirror-gapcursor/dist/index.js +0 -217
  459. package/dist/es/packages/components/dist/es/node_modules/prosemirror-history/dist/index.js +0 -261
  460. package/dist/es/packages/components/dist/es/node_modules/prosemirror-keymap/dist/index.js +0 -75
  461. package/dist/es/packages/components/dist/es/node_modules/prosemirror-model/dist/index.js +0 -2746
  462. package/dist/es/packages/components/dist/es/node_modules/prosemirror-schema-list/dist/index.js +0 -101
  463. package/dist/es/packages/components/dist/es/node_modules/prosemirror-state/dist/index.js +0 -835
  464. package/dist/es/packages/components/dist/es/node_modules/prosemirror-tables/dist/index.js +0 -1459
  465. package/dist/es/packages/components/dist/es/node_modules/prosemirror-transform/dist/index.js +0 -1549
  466. package/dist/es/packages/components/dist/es/node_modules/prosemirror-view/dist/index.js +0 -3811
  467. package/dist/es/packages/components/dist/es/node_modules/rope-sequence/dist/index.js +0 -113
  468. package/dist/es/packages/components/dist/es/node_modules/w3c-keyname/index.js +0 -106
  469. package/dist/es/packages/components/dist/es/packages/utils/dist/index.js +0 -556
  470. package/dist/es/packages/components/dist/es/styles/tokens.css +0 -14
  471. package/dist/es/packages/hooks/dist/index.js +0 -114
  472. package/dist/es/packages/service-auth/dist/index.js +0 -295
  473. package/dist/es/packages/shared-service/index.js +0 -61
  474. package/dist/es/packages/utils/dist/index.js +0 -532
  475. package/dist/es/utils/request.js +0 -100
  476. package/dist/es/utils/util.js +0 -53
  477. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -14
  478. package/dist/lib/_virtual/index.js +0 -14
  479. package/dist/lib/_virtual/index2.js +0 -14
  480. package/dist/lib/email-center/AccountConf/index.js +0 -14
  481. package/dist/lib/email-center/AccountConf/src/config/columns.js +0 -14
  482. package/dist/lib/email-center/AccountConf/src/config/filters.js +0 -14
  483. package/dist/lib/email-center/AccountConf/src/config/schema.js +0 -14
  484. package/dist/lib/email-center/AccountConf/src/constant/index.js +0 -14
  485. package/dist/lib/email-center/AccountConf/src/index.css +0 -14
  486. package/dist/lib/email-center/AccountConf/src/index.vue.js +0 -14
  487. package/dist/lib/email-center/AccountConf/src/index2.css +0 -14
  488. package/dist/lib/email-center/CmGroup/index.js +0 -14
  489. package/dist/lib/email-center/CmGroup/src/config/columns.js +0 -14
  490. package/dist/lib/email-center/CmGroup/src/config/filters.js +0 -14
  491. package/dist/lib/email-center/CmGroup/src/config/schema.js +0 -14
  492. package/dist/lib/email-center/CmGroup/src/constant/index.js +0 -14
  493. package/dist/lib/email-center/CmGroup/src/index.css +0 -14
  494. package/dist/lib/email-center/CmGroup/src/index.vue.js +0 -14
  495. package/dist/lib/email-center/CmGroup/src/index2.css +0 -14
  496. package/dist/lib/email-center/InboxNotifyConf/index.js +0 -14
  497. package/dist/lib/email-center/InboxNotifyConf/src/config/columns.js +0 -14
  498. package/dist/lib/email-center/InboxNotifyConf/src/config/filters.js +0 -14
  499. package/dist/lib/email-center/InboxNotifyConf/src/config/schema.js +0 -14
  500. package/dist/lib/email-center/InboxNotifyConf/src/constant/index.js +0 -14
  501. package/dist/lib/email-center/InboxNotifyConf/src/index.css +0 -14
  502. package/dist/lib/email-center/InboxNotifyConf/src/index.vue.js +0 -14
  503. package/dist/lib/email-center/InboxNotifyConf/src/index2.css +0 -14
  504. package/dist/lib/email-center/Log/index.js +0 -14
  505. package/dist/lib/email-center/Log/src/config/columns.js +0 -14
  506. package/dist/lib/email-center/Log/src/config/filters.js +0 -14
  507. package/dist/lib/email-center/Log/src/index.css +0 -14
  508. package/dist/lib/email-center/Log/src/index.vue.js +0 -14
  509. package/dist/lib/email-center/Log/src/index2.css +0 -14
  510. package/dist/lib/email-center/Template/index.js +0 -14
  511. package/dist/lib/email-center/Template/src/components/MailTemplateSend.css +0 -14
  512. package/dist/lib/email-center/Template/src/components/MailTemplateSend.vue.js +0 -14
  513. package/dist/lib/email-center/Template/src/components/MailTemplateSend2.css +0 -14
  514. package/dist/lib/email-center/Template/src/config/columns.js +0 -14
  515. package/dist/lib/email-center/Template/src/config/filters.js +0 -14
  516. package/dist/lib/email-center/Template/src/config/schema.js +0 -14
  517. package/dist/lib/email-center/Template/src/constant/index.js +0 -14
  518. package/dist/lib/email-center/Template/src/index.css +0 -14
  519. package/dist/lib/email-center/Template/src/index.vue.js +0 -14
  520. package/dist/lib/email-center/Template/src/index2.css +0 -14
  521. package/dist/lib/email-center/api/accountConf.js +0 -14
  522. package/dist/lib/email-center/api/cmGroup.js +0 -14
  523. package/dist/lib/email-center/api/common.js +0 -14
  524. package/dist/lib/email-center/api/inboxNotifyConf.js +0 -14
  525. package/dist/lib/email-center/api/log.js +0 -14
  526. package/dist/lib/email-center/api/template.js +0 -14
  527. package/dist/lib/email-center/components/form.css +0 -14
  528. package/dist/lib/email-center/components/form.vue.js +0 -14
  529. package/dist/lib/email-center/components/form2.css +0 -14
  530. package/dist/lib/email-center/components/grid.css +0 -14
  531. package/dist/lib/email-center/components/grid.vue.js +0 -14
  532. package/dist/lib/email-center/components/grid2.css +0 -14
  533. package/dist/lib/file-flow/DownloadCenter/index.js +0 -14
  534. package/dist/lib/file-flow/DownloadCenter/src/components/progress.css +0 -14
  535. package/dist/lib/file-flow/DownloadCenter/src/components/progress.vue.js +0 -14
  536. package/dist/lib/file-flow/DownloadCenter/src/components/progress2.css +0 -14
  537. package/dist/lib/file-flow/DownloadCenter/src/config/columns.js +0 -14
  538. package/dist/lib/file-flow/DownloadCenter/src/config/filters.js +0 -14
  539. package/dist/lib/file-flow/DownloadCenter/src/config/logColumns.js +0 -14
  540. package/dist/lib/file-flow/DownloadCenter/src/config/schema.js +0 -14
  541. package/dist/lib/file-flow/DownloadCenter/src/index.css +0 -14
  542. package/dist/lib/file-flow/DownloadCenter/src/index.vue.js +0 -14
  543. package/dist/lib/file-flow/DownloadCenter/src/index2.css +0 -14
  544. package/dist/lib/file-flow/UploadButton/index.js +0 -14
  545. package/dist/lib/file-flow/UploadButton/src/component/upload.css +0 -14
  546. package/dist/lib/file-flow/UploadButton/src/component/upload.vue.js +0 -14
  547. package/dist/lib/file-flow/UploadButton/src/composables/useUploadFile.js +0 -14
  548. package/dist/lib/file-flow/UploadButton/src/index.css +0 -14
  549. package/dist/lib/file-flow/UploadButton/src/index.vue.js +0 -14
  550. package/dist/lib/file-flow/UploadCenter/index.js +0 -14
  551. package/dist/lib/file-flow/UploadCenter/src/config/columns.js +0 -14
  552. package/dist/lib/file-flow/UploadCenter/src/config/filters.js +0 -14
  553. package/dist/lib/file-flow/UploadCenter/src/config/logColumns.js +0 -14
  554. package/dist/lib/file-flow/UploadCenter/src/config/schema.js +0 -14
  555. package/dist/lib/file-flow/UploadCenter/src/config/statusColumns.js +0 -14
  556. package/dist/lib/file-flow/UploadCenter/src/index.css +0 -14
  557. package/dist/lib/file-flow/UploadCenter/src/index.vue.js +0 -14
  558. package/dist/lib/file-flow/UploadCenter/src/index2.css +0 -14
  559. package/dist/lib/file-flow/UploadCenter/src/index3.css +0 -14
  560. package/dist/lib/file-flow/api/downloadCenter.js +0 -14
  561. package/dist/lib/file-flow/api/uploadButton.js +0 -14
  562. package/dist/lib/file-flow/api/uploadCenter.js +0 -14
  563. package/dist/lib/file-flow/components/InterruptModal.css +0 -14
  564. package/dist/lib/file-flow/components/InterruptModal.vue.js +0 -14
  565. package/dist/lib/hooks/useLocale.js +0 -14
  566. package/dist/lib/index.js +0 -14
  567. package/dist/lib/locale/index.js +0 -14
  568. package/dist/lib/locale/lang/en-US.js +0 -14
  569. package/dist/lib/locale/lang/ja-JP.js +0 -14
  570. package/dist/lib/locale/lang/zh-CN.js +0 -14
  571. package/dist/lib/node_modules/@vueuse/core/dist/index.js +0 -14
  572. package/dist/lib/node_modules/@vueuse/shared/dist/index.js +0 -14
  573. package/dist/lib/node_modules/lodash-es/_Hash.js +0 -14
  574. package/dist/lib/node_modules/lodash-es/_ListCache.js +0 -14
  575. package/dist/lib/node_modules/lodash-es/_Map.js +0 -14
  576. package/dist/lib/node_modules/lodash-es/_MapCache.js +0 -14
  577. package/dist/lib/node_modules/lodash-es/_Symbol.js +0 -14
  578. package/dist/lib/node_modules/lodash-es/_apply.js +0 -14
  579. package/dist/lib/node_modules/lodash-es/_arrayMap.js +0 -14
  580. package/dist/lib/node_modules/lodash-es/_arrayPush.js +0 -14
  581. package/dist/lib/node_modules/lodash-es/_assignValue.js +0 -14
  582. package/dist/lib/node_modules/lodash-es/_assocIndexOf.js +0 -14
  583. package/dist/lib/node_modules/lodash-es/_baseAssignValue.js +0 -14
  584. package/dist/lib/node_modules/lodash-es/_baseFlatten.js +0 -14
  585. package/dist/lib/node_modules/lodash-es/_baseGet.js +0 -14
  586. package/dist/lib/node_modules/lodash-es/_baseGetTag.js +0 -14
  587. package/dist/lib/node_modules/lodash-es/_baseHasIn.js +0 -14
  588. package/dist/lib/node_modules/lodash-es/_baseIsArguments.js +0 -14
  589. package/dist/lib/node_modules/lodash-es/_baseIsNative.js +0 -14
  590. package/dist/lib/node_modules/lodash-es/_basePick.js +0 -14
  591. package/dist/lib/node_modules/lodash-es/_basePickBy.js +0 -14
  592. package/dist/lib/node_modules/lodash-es/_baseSet.js +0 -14
  593. package/dist/lib/node_modules/lodash-es/_baseSetToString.js +0 -14
  594. package/dist/lib/node_modules/lodash-es/_baseToString.js +0 -14
  595. package/dist/lib/node_modules/lodash-es/_castPath.js +0 -14
  596. package/dist/lib/node_modules/lodash-es/_coreJsData.js +0 -14
  597. package/dist/lib/node_modules/lodash-es/_defineProperty.js +0 -14
  598. package/dist/lib/node_modules/lodash-es/_flatRest.js +0 -14
  599. package/dist/lib/node_modules/lodash-es/_freeGlobal.js +0 -14
  600. package/dist/lib/node_modules/lodash-es/_getMapData.js +0 -14
  601. package/dist/lib/node_modules/lodash-es/_getNative.js +0 -14
  602. package/dist/lib/node_modules/lodash-es/_getRawTag.js +0 -14
  603. package/dist/lib/node_modules/lodash-es/_getValue.js +0 -14
  604. package/dist/lib/node_modules/lodash-es/_hasPath.js +0 -14
  605. package/dist/lib/node_modules/lodash-es/_hashClear.js +0 -14
  606. package/dist/lib/node_modules/lodash-es/_hashDelete.js +0 -14
  607. package/dist/lib/node_modules/lodash-es/_hashGet.js +0 -14
  608. package/dist/lib/node_modules/lodash-es/_hashHas.js +0 -14
  609. package/dist/lib/node_modules/lodash-es/_hashSet.js +0 -14
  610. package/dist/lib/node_modules/lodash-es/_isFlattenable.js +0 -14
  611. package/dist/lib/node_modules/lodash-es/_isIndex.js +0 -14
  612. package/dist/lib/node_modules/lodash-es/_isKey.js +0 -14
  613. package/dist/lib/node_modules/lodash-es/_isKeyable.js +0 -14
  614. package/dist/lib/node_modules/lodash-es/_isMasked.js +0 -14
  615. package/dist/lib/node_modules/lodash-es/_listCacheClear.js +0 -14
  616. package/dist/lib/node_modules/lodash-es/_listCacheDelete.js +0 -14
  617. package/dist/lib/node_modules/lodash-es/_listCacheGet.js +0 -14
  618. package/dist/lib/node_modules/lodash-es/_listCacheHas.js +0 -14
  619. package/dist/lib/node_modules/lodash-es/_listCacheSet.js +0 -14
  620. package/dist/lib/node_modules/lodash-es/_mapCacheClear.js +0 -14
  621. package/dist/lib/node_modules/lodash-es/_mapCacheDelete.js +0 -14
  622. package/dist/lib/node_modules/lodash-es/_mapCacheGet.js +0 -14
  623. package/dist/lib/node_modules/lodash-es/_mapCacheHas.js +0 -14
  624. package/dist/lib/node_modules/lodash-es/_mapCacheSet.js +0 -14
  625. package/dist/lib/node_modules/lodash-es/_memoizeCapped.js +0 -14
  626. package/dist/lib/node_modules/lodash-es/_nativeCreate.js +0 -14
  627. package/dist/lib/node_modules/lodash-es/_objectToString.js +0 -14
  628. package/dist/lib/node_modules/lodash-es/_overRest.js +0 -14
  629. package/dist/lib/node_modules/lodash-es/_root.js +0 -14
  630. package/dist/lib/node_modules/lodash-es/_setToString.js +0 -14
  631. package/dist/lib/node_modules/lodash-es/_shortOut.js +0 -14
  632. package/dist/lib/node_modules/lodash-es/_stringToPath.js +0 -14
  633. package/dist/lib/node_modules/lodash-es/_toKey.js +0 -14
  634. package/dist/lib/node_modules/lodash-es/_toSource.js +0 -14
  635. package/dist/lib/node_modules/lodash-es/constant.js +0 -14
  636. package/dist/lib/node_modules/lodash-es/eq.js +0 -14
  637. package/dist/lib/node_modules/lodash-es/flatten.js +0 -14
  638. package/dist/lib/node_modules/lodash-es/get.js +0 -14
  639. package/dist/lib/node_modules/lodash-es/hasIn.js +0 -14
  640. package/dist/lib/node_modules/lodash-es/identity.js +0 -14
  641. package/dist/lib/node_modules/lodash-es/isArguments.js +0 -14
  642. package/dist/lib/node_modules/lodash-es/isArray.js +0 -14
  643. package/dist/lib/node_modules/lodash-es/isFunction.js +0 -14
  644. package/dist/lib/node_modules/lodash-es/isLength.js +0 -14
  645. package/dist/lib/node_modules/lodash-es/isObject.js +0 -14
  646. package/dist/lib/node_modules/lodash-es/isObjectLike.js +0 -14
  647. package/dist/lib/node_modules/lodash-es/isSymbol.js +0 -14
  648. package/dist/lib/node_modules/lodash-es/memoize.js +0 -14
  649. package/dist/lib/node_modules/lodash-es/pick.js +0 -14
  650. package/dist/lib/node_modules/lodash-es/toString.js +0 -14
  651. package/dist/lib/node_modules/path-to-regexp/dist/index.js +0 -14
  652. package/dist/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -14
  653. package/dist/lib/node_modules/sortablejs/modular/sortable.esm.js +0 -14
  654. package/dist/lib/node_modules/title-case/dist/index.js +0 -14
  655. package/dist/lib/packages/components/dist/es/Button/index.js +0 -14
  656. package/dist/lib/packages/components/dist/es/Button/src/Button.css +0 -14
  657. package/dist/lib/packages/components/dist/es/Button/src/Button.vue.js +0 -14
  658. package/dist/lib/packages/components/dist/es/Button/src/Button2.css +0 -14
  659. package/dist/lib/packages/components/dist/es/ConfigProvider/index.js +0 -14
  660. package/dist/lib/packages/components/dist/es/ConfigProvider/src/configProvider.js +0 -14
  661. package/dist/lib/packages/components/dist/es/ConfigProvider/src/configProviderProps.js +0 -14
  662. package/dist/lib/packages/components/dist/es/ConfigProvider/src/constants.js +0 -14
  663. package/dist/lib/packages/components/dist/es/ConfigProvider/src/useGlobalConfig.js +0 -14
  664. package/dist/lib/packages/components/dist/es/Form/index.js +0 -14
  665. package/dist/lib/packages/components/dist/es/Form/src/Form.css +0 -14
  666. package/dist/lib/packages/components/dist/es/Form/src/Form.vue.js +0 -14
  667. package/dist/lib/packages/components/dist/es/Form/src/Form2.css +0 -14
  668. package/dist/lib/packages/components/dist/es/Form/src/styles/form.css +0 -14
  669. package/dist/lib/packages/components/dist/es/Overlay/src/Modal.css +0 -14
  670. package/dist/lib/packages/components/dist/es/Overlay/src/Modal.vue.js +0 -14
  671. package/dist/lib/packages/components/dist/es/Overlay/src/Modal2.css +0 -14
  672. package/dist/lib/packages/components/dist/es/RichTextEditor/index.js +0 -14
  673. package/dist/lib/packages/components/dist/es/RichTextEditor/src/ToolbarPanel.css +0 -14
  674. package/dist/lib/packages/components/dist/es/RichTextEditor/src/ToolbarPanel.vue.js +0 -14
  675. package/dist/lib/packages/components/dist/es/RichTextEditor/src/ToolbarPanel2.css +0 -14
  676. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/BlockquoteButton.css +0 -14
  677. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/BlockquoteButton.vue.js +0 -14
  678. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/CodeBlockButton.css +0 -14
  679. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/CodeBlockButton.vue.js +0 -14
  680. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ColorHighlightPopover.css +0 -14
  681. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ColorHighlightPopover.vue.js +0 -14
  682. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.css +0 -14
  683. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +0 -14
  684. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.css +0 -14
  685. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +0 -14
  686. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ImageUploadButton.css +0 -14
  687. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ImageUploadButton.vue.js +0 -14
  688. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/LinkPopover.css +0 -14
  689. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/LinkPopover.vue.js +0 -14
  690. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/LinkPopover2.css +0 -14
  691. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ListDropdownMenu.css +0 -14
  692. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ListDropdownMenu.vue.js +0 -14
  693. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/MarkButton.css +0 -14
  694. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/MarkButton.vue.js +0 -14
  695. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TableButton.css +0 -14
  696. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TableButton.vue.js +0 -14
  697. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.css +0 -14
  698. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +0 -14
  699. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TextColorPopover.css +0 -14
  700. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/TextColorPopover.vue.js +0 -14
  701. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ToolbarGroup.css +0 -14
  702. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ToolbarGroup.vue.js +0 -14
  703. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ToolbarSeparator.css +0 -14
  704. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/ToolbarSeparator.vue.js +0 -14
  705. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/UndoRedoButton.css +0 -14
  706. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/UndoRedoButton.vue.js +0 -14
  707. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/VideoUploadButton.css +0 -14
  708. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/VideoUploadButton.vue.js +0 -14
  709. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/ColorPicker.css +0 -14
  710. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/ColorPicker.vue.js +0 -14
  711. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.css +0 -14
  712. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +0 -14
  713. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/MediaUploadModal2.css +0 -14
  714. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu.css +0 -14
  715. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu.vue.js +0 -14
  716. package/dist/lib/packages/components/dist/es/RichTextEditor/src/components/basic/SelectMenu2.css +0 -14
  717. package/dist/lib/packages/components/dist/es/RichTextEditor/src/constant/index.js +0 -14
  718. package/dist/lib/packages/components/dist/es/RichTextEditor/src/extensions/styledTable.js +0 -14
  719. package/dist/lib/packages/components/dist/es/RichTextEditor/src/extensions/video.js +0 -14
  720. package/dist/lib/packages/components/dist/es/RichTextEditor/src/index.css +0 -14
  721. package/dist/lib/packages/components/dist/es/RichTextEditor/src/index.vue.js +0 -14
  722. package/dist/lib/packages/components/dist/es/RichTextEditor/src/index2.css +0 -14
  723. package/dist/lib/packages/components/dist/es/RichTextEditor/src/props.js +0 -14
  724. package/dist/lib/packages/components/dist/es/_virtual/_plugin-vue_export-helper.js +0 -14
  725. package/dist/lib/packages/components/dist/es/hooks/useLocale.js +0 -14
  726. package/dist/lib/packages/components/dist/es/hooks/useNamespace.js +0 -14
  727. package/dist/lib/packages/components/dist/es/locale/lang/en-US.js +0 -14
  728. package/dist/lib/packages/components/dist/es/locale/lang/ja-JP.js +0 -14
  729. package/dist/lib/packages/components/dist/es/locale/lang/zh-CN.js +0 -14
  730. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +0 -14
  731. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/EventClient.js +0 -14
  732. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +0 -14
  733. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +0 -14
  734. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +0 -14
  735. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +0 -14
  736. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +0 -14
  737. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/form-core/dist/esm/utils.js +0 -14
  738. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +0 -14
  739. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/alien.js +0 -14
  740. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/atom.js +0 -14
  741. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/batch.js +0 -14
  742. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/store/dist/esm/store.js +0 -14
  743. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/vue-form/dist/esm/useField.js +0 -14
  744. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/vue-form/dist/esm/useForm.js +0 -14
  745. package/dist/lib/packages/components/dist/es/node_modules/@tanstack/vue-store/dist/esm/index.js +0 -14
  746. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/core/dist/index.js +0 -106
  747. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -14
  748. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -18
  749. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-bold/dist/index.js +0 -14
  750. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-character-count/dist/index.js +0 -14
  751. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-code/dist/index.js +0 -14
  752. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-code-block/dist/index.js +0 -31
  753. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-document/dist/index.js +0 -16
  754. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -16
  755. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-heading/dist/index.js +0 -14
  756. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -14
  757. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-image/dist/index.js +0 -14
  758. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-italic/dist/index.js +0 -14
  759. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-link/dist/index.js +0 -14
  760. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-list/dist/index.js +0 -25
  761. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -14
  762. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-strike/dist/index.js +0 -14
  763. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-subscript/dist/index.js +0 -14
  764. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-superscript/dist/index.js +0 -14
  765. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-table/dist/index.js +0 -18
  766. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-task-item/dist/index.js +0 -14
  767. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-task-list/dist/index.js +0 -14
  768. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-text/dist/index.js +0 -14
  769. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-text-align/dist/index.js +0 -14
  770. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-text-style/dist/index.js +0 -14
  771. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extension-underline/dist/index.js +0 -14
  772. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/extensions/dist/index.js +0 -14
  773. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/html/dist/index.js +0 -14
  774. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/starter-kit/dist/index.js +0 -14
  775. package/dist/lib/packages/components/dist/es/node_modules/@tiptap/vue-3/dist/index.js +0 -14
  776. package/dist/lib/packages/components/dist/es/node_modules/linkifyjs/dist/linkify.js +0 -18
  777. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_DataView.js +0 -14
  778. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Hash.js +0 -14
  779. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_ListCache.js +0 -14
  780. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Map.js +0 -14
  781. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_MapCache.js +0 -14
  782. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Promise.js +0 -14
  783. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Set.js +0 -14
  784. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_SetCache.js +0 -14
  785. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Stack.js +0 -14
  786. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Symbol.js +0 -14
  787. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_Uint8Array.js +0 -14
  788. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_WeakMap.js +0 -14
  789. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_apply.js +0 -14
  790. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayFilter.js +0 -14
  791. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayIncludes.js +0 -14
  792. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayIncludesWith.js +0 -14
  793. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayLikeKeys.js +0 -14
  794. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayMap.js +0 -14
  795. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arrayPush.js +0 -14
  796. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_arraySome.js +0 -14
  797. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_assignMergeValue.js +0 -14
  798. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_assignValue.js +0 -14
  799. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_assocIndexOf.js +0 -14
  800. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseAssignValue.js +0 -14
  801. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseCreate.js +0 -14
  802. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseFindIndex.js +0 -14
  803. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseFlatten.js +0 -14
  804. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseFor.js +0 -14
  805. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseGet.js +0 -14
  806. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseGetAllKeys.js +0 -14
  807. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseGetTag.js +0 -14
  808. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIndexOf.js +0 -14
  809. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIntersection.js +0 -14
  810. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsArguments.js +0 -14
  811. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsEqual.js +0 -14
  812. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsEqualDeep.js +0 -14
  813. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsNaN.js +0 -14
  814. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsNative.js +0 -14
  815. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseIsTypedArray.js +0 -14
  816. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseKeys.js +0 -14
  817. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseKeysIn.js +0 -14
  818. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseMerge.js +0 -14
  819. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseMergeDeep.js +0 -14
  820. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseRest.js +0 -14
  821. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseSetToString.js +0 -14
  822. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseTimes.js +0 -14
  823. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseToString.js +0 -14
  824. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseUnary.js +0 -14
  825. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_baseUniq.js +0 -14
  826. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_cacheHas.js +0 -14
  827. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  828. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_castPath.js +0 -14
  829. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_cloneArrayBuffer.js +0 -14
  830. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_cloneBuffer.js +0 -14
  831. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_cloneTypedArray.js +0 -14
  832. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_copyArray.js +0 -14
  833. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_copyObject.js +0 -14
  834. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_coreJsData.js +0 -14
  835. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_createAssigner.js +0 -14
  836. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_createBaseFor.js +0 -14
  837. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_createSet.js +0 -14
  838. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_defineProperty.js +0 -14
  839. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_equalArrays.js +0 -14
  840. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_equalByTag.js +0 -14
  841. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_equalObjects.js +0 -14
  842. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_freeGlobal.js +0 -14
  843. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getAllKeys.js +0 -14
  844. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getMapData.js +0 -14
  845. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getNative.js +0 -14
  846. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getPrototype.js +0 -14
  847. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getRawTag.js +0 -14
  848. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getSymbols.js +0 -14
  849. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getTag.js +0 -14
  850. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_getValue.js +0 -14
  851. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_hashClear.js +0 -14
  852. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_hashDelete.js +0 -14
  853. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_hashGet.js +0 -14
  854. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_hashHas.js +0 -14
  855. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_hashSet.js +0 -14
  856. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_initCloneObject.js +0 -14
  857. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isFlattenable.js +0 -14
  858. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isIndex.js +0 -14
  859. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isIterateeCall.js +0 -14
  860. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isKey.js +0 -14
  861. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isKeyable.js +0 -14
  862. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isMasked.js +0 -14
  863. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_isPrototype.js +0 -14
  864. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_listCacheClear.js +0 -14
  865. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_listCacheDelete.js +0 -14
  866. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_listCacheGet.js +0 -14
  867. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_listCacheHas.js +0 -14
  868. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_listCacheSet.js +0 -14
  869. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapCacheClear.js +0 -14
  870. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapCacheDelete.js +0 -14
  871. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapCacheGet.js +0 -14
  872. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapCacheHas.js +0 -14
  873. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapCacheSet.js +0 -14
  874. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_mapToArray.js +0 -14
  875. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_memoizeCapped.js +0 -14
  876. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_nativeCreate.js +0 -14
  877. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_nativeKeys.js +0 -14
  878. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_nativeKeysIn.js +0 -14
  879. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_nodeUtil.js +0 -14
  880. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_objectToString.js +0 -14
  881. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_overArg.js +0 -14
  882. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_overRest.js +0 -14
  883. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_root.js +0 -14
  884. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_safeGet.js +0 -14
  885. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_setCacheAdd.js +0 -14
  886. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_setCacheHas.js +0 -14
  887. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_setToArray.js +0 -14
  888. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_setToString.js +0 -14
  889. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_shortOut.js +0 -14
  890. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stackClear.js +0 -14
  891. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stackDelete.js +0 -14
  892. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stackGet.js +0 -14
  893. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stackHas.js +0 -14
  894. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stackSet.js +0 -14
  895. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_strictIndexOf.js +0 -14
  896. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_stringToPath.js +0 -14
  897. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_toKey.js +0 -14
  898. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/_toSource.js +0 -14
  899. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/constant.js +0 -14
  900. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/eq.js +0 -14
  901. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/get.js +0 -14
  902. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/identity.js +0 -14
  903. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/intersectionWith.js +0 -14
  904. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isArguments.js +0 -14
  905. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isArray.js +0 -14
  906. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isArrayLike.js +0 -14
  907. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isArrayLikeObject.js +0 -14
  908. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isBuffer.js +0 -14
  909. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isEqual.js +0 -14
  910. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isFunction.js +0 -14
  911. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isLength.js +0 -14
  912. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isObject.js +0 -14
  913. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isObjectLike.js +0 -14
  914. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isPlainObject.js +0 -14
  915. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isSymbol.js +0 -14
  916. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/isTypedArray.js +0 -14
  917. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/keys.js +0 -14
  918. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/keysIn.js +0 -14
  919. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/last.js +0 -14
  920. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/memoize.js +0 -14
  921. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/mergeWith.js +0 -14
  922. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/noop.js +0 -14
  923. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/stubArray.js +0 -14
  924. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/stubFalse.js +0 -14
  925. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/toPlainObject.js +0 -14
  926. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/toString.js +0 -14
  927. package/dist/lib/packages/components/dist/es/node_modules/lodash-es/unionWith.js +0 -14
  928. package/dist/lib/packages/components/dist/es/node_modules/orderedmap/dist/index.js +0 -14
  929. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-commands/dist/index.js +0 -15
  930. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-dropcursor/dist/index.js +0 -14
  931. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-gapcursor/dist/index.js +0 -14
  932. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-history/dist/index.js +0 -14
  933. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-keymap/dist/index.js +0 -14
  934. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-model/dist/index.js +0 -17
  935. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-schema-list/dist/index.js +0 -14
  936. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-state/dist/index.js +0 -14
  937. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-tables/dist/index.js +0 -14
  938. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-transform/dist/index.js +0 -15
  939. package/dist/lib/packages/components/dist/es/node_modules/prosemirror-view/dist/index.js +0 -18
  940. package/dist/lib/packages/components/dist/es/node_modules/rope-sequence/dist/index.js +0 -14
  941. package/dist/lib/packages/components/dist/es/node_modules/w3c-keyname/index.js +0 -14
  942. package/dist/lib/packages/components/dist/es/packages/utils/dist/index.js +0 -14
  943. package/dist/lib/packages/components/dist/es/styles/tokens.css +0 -14
  944. package/dist/lib/packages/hooks/dist/index.js +0 -14
  945. package/dist/lib/packages/service-auth/dist/index.js +0 -14
  946. package/dist/lib/packages/shared-service/index.js +0 -14
  947. package/dist/lib/packages/utils/dist/index.js +0 -14
  948. package/dist/lib/utils/request.js +0 -14
  949. package/dist/lib/utils/util.js +0 -14
@@ -1,1549 +0,0 @@
1
- /*!
2
- Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
3
- @license Proprietary
4
-
5
- This software is the confidential and proprietary property of Lenovo SSG BASD.
6
- You shall not disclose such Confidential Information and shall use it only in
7
- accordance with the terms of the license agreement.
8
-
9
- --- Build Info ---
10
- Version: 1.0.5
11
- Build Time: 2026/3/25 14:40:21
12
- Build Commit: 08d26b24db19edd5721d30cc5b166484c7968864
13
- */
14
- import { Slice as g, Fragment as y, Mark as ot, ReplaceError as st, MarkType as lt } from "../../prosemirror-model/dist/index.js";
15
- const K = 65535, Q = Math.pow(2, 16);
16
- function at(o, t) {
17
- return o + t * Q;
18
- }
19
- function G(o) {
20
- return o & K;
21
- }
22
- function pt(o) {
23
- return (o - (o & K)) / Q;
24
- }
25
- const U = 1, V = 2, F = 4, X = 8;
26
- class W {
27
- /**
28
- @internal
29
- */
30
- constructor(t, e, r) {
31
- this.pos = t, this.delInfo = e, this.recover = r;
32
- }
33
- /**
34
- Tells you whether the position was deleted, that is, whether the
35
- step removed the token on the side queried (via the `assoc`)
36
- argument from the document.
37
- */
38
- get deleted() {
39
- return (this.delInfo & X) > 0;
40
- }
41
- /**
42
- Tells you whether the token before the mapped position was deleted.
43
- */
44
- get deletedBefore() {
45
- return (this.delInfo & (U | F)) > 0;
46
- }
47
- /**
48
- True when the token after the mapped position was deleted.
49
- */
50
- get deletedAfter() {
51
- return (this.delInfo & (V | F)) > 0;
52
- }
53
- /**
54
- Tells whether any of the steps mapped through deletes across the
55
- position (including both the token before and after the
56
- position).
57
- */
58
- get deletedAcross() {
59
- return (this.delInfo & F) > 0;
60
- }
61
- }
62
- class M {
63
- /**
64
- Create a position map. The modifications to the document are
65
- represented as an array of numbers, in which each group of three
66
- represents a modified chunk as `[start, oldSize, newSize]`.
67
- */
68
- constructor(t, e = !1) {
69
- if (this.ranges = t, this.inverted = e, !t.length && M.empty)
70
- return M.empty;
71
- }
72
- /**
73
- @internal
74
- */
75
- recover(t) {
76
- let e = 0, r = G(t);
77
- if (!this.inverted)
78
- for (let n = 0; n < r; n++)
79
- e += this.ranges[n * 3 + 2] - this.ranges[n * 3 + 1];
80
- return this.ranges[r * 3] + e + pt(t);
81
- }
82
- mapResult(t, e = 1) {
83
- return this._map(t, e, !1);
84
- }
85
- map(t, e = 1) {
86
- return this._map(t, e, !0);
87
- }
88
- /**
89
- @internal
90
- */
91
- _map(t, e, r) {
92
- let n = 0, i = this.inverted ? 2 : 1, s = this.inverted ? 1 : 2;
93
- for (let l = 0; l < this.ranges.length; l += 3) {
94
- let a = this.ranges[l] - (this.inverted ? n : 0);
95
- if (a > t)
96
- break;
97
- let p = this.ranges[l + i], h = this.ranges[l + s], f = a + p;
98
- if (t <= f) {
99
- let c = p ? t == a ? -1 : t == f ? 1 : e : e, u = a + n + (c < 0 ? 0 : h);
100
- if (r)
101
- return u;
102
- let d = t == (e < 0 ? a : f) ? null : at(l / 3, t - a), m = t == a ? V : t == f ? U : F;
103
- return (e < 0 ? t != a : t != f) && (m |= X), new W(u, m, d);
104
- }
105
- n += h - p;
106
- }
107
- return r ? t + n : new W(t + n, 0, null);
108
- }
109
- /**
110
- @internal
111
- */
112
- touches(t, e) {
113
- let r = 0, n = G(e), i = this.inverted ? 2 : 1, s = this.inverted ? 1 : 2;
114
- for (let l = 0; l < this.ranges.length; l += 3) {
115
- let a = this.ranges[l] - (this.inverted ? r : 0);
116
- if (a > t)
117
- break;
118
- let p = this.ranges[l + i], h = a + p;
119
- if (t <= h && l == n * 3)
120
- return !0;
121
- r += this.ranges[l + s] - p;
122
- }
123
- return !1;
124
- }
125
- /**
126
- Calls the given function on each of the changed ranges included in
127
- this map.
128
- */
129
- forEach(t) {
130
- let e = this.inverted ? 2 : 1, r = this.inverted ? 1 : 2;
131
- for (let n = 0, i = 0; n < this.ranges.length; n += 3) {
132
- let s = this.ranges[n], l = s - (this.inverted ? i : 0), a = s + (this.inverted ? 0 : i), p = this.ranges[n + e], h = this.ranges[n + r];
133
- t(l, l + p, a, a + h), i += h - p;
134
- }
135
- }
136
- /**
137
- Create an inverted version of this map. The result can be used to
138
- map positions in the post-step document to the pre-step document.
139
- */
140
- invert() {
141
- return new M(this.ranges, !this.inverted);
142
- }
143
- /**
144
- @internal
145
- */
146
- toString() {
147
- return (this.inverted ? "-" : "") + JSON.stringify(this.ranges);
148
- }
149
- /**
150
- Create a map that moves all positions by offset `n` (which may be
151
- negative). This can be useful when applying steps meant for a
152
- sub-document to a larger document, or vice-versa.
153
- */
154
- static offset(t) {
155
- return t == 0 ? M.empty : new M(t < 0 ? [0, -t, 0] : [0, 0, t]);
156
- }
157
- }
158
- M.empty = new M([]);
159
- class z {
160
- /**
161
- Create a new mapping with the given position maps.
162
- */
163
- constructor(t, e, r = 0, n = t ? t.length : 0) {
164
- this.mirror = e, this.from = r, this.to = n, this._maps = t || [], this.ownData = !(t || e);
165
- }
166
- /**
167
- The step maps in this mapping.
168
- */
169
- get maps() {
170
- return this._maps;
171
- }
172
- /**
173
- Create a mapping that maps only through a part of this one.
174
- */
175
- slice(t = 0, e = this.maps.length) {
176
- return new z(this._maps, this.mirror, t, e);
177
- }
178
- /**
179
- Add a step map to the end of this mapping. If `mirrors` is
180
- given, it should be the index of the step map that is the mirror
181
- image of this one.
182
- */
183
- appendMap(t, e) {
184
- this.ownData || (this._maps = this._maps.slice(), this.mirror = this.mirror && this.mirror.slice(), this.ownData = !0), this.to = this._maps.push(t), e != null && this.setMirror(this._maps.length - 1, e);
185
- }
186
- /**
187
- Add all the step maps in a given mapping to this one (preserving
188
- mirroring information).
189
- */
190
- appendMapping(t) {
191
- for (let e = 0, r = this._maps.length; e < t._maps.length; e++) {
192
- let n = t.getMirror(e);
193
- this.appendMap(t._maps[e], n != null && n < e ? r + n : void 0);
194
- }
195
- }
196
- /**
197
- Finds the offset of the step map that mirrors the map at the
198
- given offset, in this mapping (as per the second argument to
199
- `appendMap`).
200
- */
201
- getMirror(t) {
202
- if (this.mirror) {
203
- for (let e = 0; e < this.mirror.length; e++)
204
- if (this.mirror[e] == t)
205
- return this.mirror[e + (e % 2 ? -1 : 1)];
206
- }
207
- }
208
- /**
209
- @internal
210
- */
211
- setMirror(t, e) {
212
- this.mirror || (this.mirror = []), this.mirror.push(t, e);
213
- }
214
- /**
215
- Append the inverse of the given mapping to this one.
216
- */
217
- appendMappingInverted(t) {
218
- for (let e = t.maps.length - 1, r = this._maps.length + t._maps.length; e >= 0; e--) {
219
- let n = t.getMirror(e);
220
- this.appendMap(t._maps[e].invert(), n != null && n > e ? r - n - 1 : void 0);
221
- }
222
- }
223
- /**
224
- Create an inverted version of this mapping.
225
- */
226
- invert() {
227
- let t = new z();
228
- return t.appendMappingInverted(this), t;
229
- }
230
- /**
231
- Map a position through this mapping.
232
- */
233
- map(t, e = 1) {
234
- if (this.mirror)
235
- return this._map(t, e, !0);
236
- for (let r = this.from; r < this.to; r++)
237
- t = this._maps[r].map(t, e);
238
- return t;
239
- }
240
- /**
241
- Map a position through this mapping, returning a mapping
242
- result.
243
- */
244
- mapResult(t, e = 1) {
245
- return this._map(t, e, !1);
246
- }
247
- /**
248
- @internal
249
- */
250
- _map(t, e, r) {
251
- let n = 0;
252
- for (let i = this.from; i < this.to; i++) {
253
- let s = this._maps[i], l = s.mapResult(t, e);
254
- if (l.recover != null) {
255
- let a = this.getMirror(i);
256
- if (a != null && a > i && a < this.to) {
257
- i = a, t = this._maps[a].recover(l.recover);
258
- continue;
259
- }
260
- }
261
- n |= l.delInfo, t = l.pos;
262
- }
263
- return r ? t : new W(t, n, null);
264
- }
265
- }
266
- const $ = /* @__PURE__ */ Object.create(null);
267
- class k {
268
- /**
269
- Get the step map that represents the changes made by this step,
270
- and which can be used to transform between positions in the old
271
- and the new document.
272
- */
273
- getMap() {
274
- return M.empty;
275
- }
276
- /**
277
- Try to merge this step with another one, to be applied directly
278
- after it. Returns the merged step when possible, null if the
279
- steps can't be merged.
280
- */
281
- merge(t) {
282
- return null;
283
- }
284
- /**
285
- Deserialize a step from its JSON representation. Will call
286
- through to the step class' own implementation of this method.
287
- */
288
- static fromJSON(t, e) {
289
- if (!e || !e.stepType)
290
- throw new RangeError("Invalid input for Step.fromJSON");
291
- let r = $[e.stepType];
292
- if (!r)
293
- throw new RangeError(`No step type ${e.stepType} defined`);
294
- return r.fromJSON(t, e);
295
- }
296
- /**
297
- To be able to serialize steps to JSON, each step needs a string
298
- ID to attach to its JSON representation. Use this method to
299
- register an ID for your step classes. Try to pick something
300
- that's unlikely to clash with steps from other modules.
301
- */
302
- static jsonID(t, e) {
303
- if (t in $)
304
- throw new RangeError("Duplicate use of step JSON ID " + t);
305
- return $[t] = e, e.prototype.jsonID = t, e;
306
- }
307
- }
308
- class w {
309
- /**
310
- @internal
311
- */
312
- constructor(t, e) {
313
- this.doc = t, this.failed = e;
314
- }
315
- /**
316
- Create a successful step result.
317
- */
318
- static ok(t) {
319
- return new w(t, null);
320
- }
321
- /**
322
- Create a failed step result.
323
- */
324
- static fail(t) {
325
- return new w(null, t);
326
- }
327
- /**
328
- Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
329
- arguments. Create a successful result if it succeeds, and a
330
- failed one if it throws a `ReplaceError`.
331
- */
332
- static fromReplace(t, e, r, n) {
333
- try {
334
- return w.ok(t.replace(e, r, n));
335
- } catch (i) {
336
- if (i instanceof st)
337
- return w.fail(i.message);
338
- throw i;
339
- }
340
- }
341
- }
342
- function L(o, t, e) {
343
- let r = [];
344
- for (let n = 0; n < o.childCount; n++) {
345
- let i = o.child(n);
346
- i.content.size && (i = i.copy(L(i.content, t, i))), i.isInline && (i = t(i, e, n)), r.push(i);
347
- }
348
- return y.fromArray(r);
349
- }
350
- class C extends k {
351
- /**
352
- Create a mark step.
353
- */
354
- constructor(t, e, r) {
355
- super(), this.from = t, this.to = e, this.mark = r;
356
- }
357
- apply(t) {
358
- let e = t.slice(this.from, this.to), r = t.resolve(this.from), n = r.node(r.sharedDepth(this.to)), i = new g(L(e.content, (s, l) => !s.isAtom || !l.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), n), e.openStart, e.openEnd);
359
- return w.fromReplace(t, this.from, this.to, i);
360
- }
361
- invert() {
362
- return new x(this.from, this.to, this.mark);
363
- }
364
- map(t) {
365
- let e = t.mapResult(this.from, 1), r = t.mapResult(this.to, -1);
366
- return e.deleted && r.deleted || e.pos >= r.pos ? null : new C(e.pos, r.pos, this.mark);
367
- }
368
- merge(t) {
369
- return t instanceof C && t.mark.eq(this.mark) && this.from <= t.to && this.to >= t.from ? new C(Math.min(this.from, t.from), Math.max(this.to, t.to), this.mark) : null;
370
- }
371
- toJSON() {
372
- return {
373
- stepType: "addMark",
374
- mark: this.mark.toJSON(),
375
- from: this.from,
376
- to: this.to
377
- };
378
- }
379
- /**
380
- @internal
381
- */
382
- static fromJSON(t, e) {
383
- if (typeof e.from != "number" || typeof e.to != "number")
384
- throw new RangeError("Invalid input for AddMarkStep.fromJSON");
385
- return new C(e.from, e.to, t.markFromJSON(e.mark));
386
- }
387
- }
388
- k.jsonID("addMark", C);
389
- class x extends k {
390
- /**
391
- Create a mark-removing step.
392
- */
393
- constructor(t, e, r) {
394
- super(), this.from = t, this.to = e, this.mark = r;
395
- }
396
- apply(t) {
397
- let e = t.slice(this.from, this.to), r = new g(L(e.content, (n) => n.mark(this.mark.removeFromSet(n.marks)), t), e.openStart, e.openEnd);
398
- return w.fromReplace(t, this.from, this.to, r);
399
- }
400
- invert() {
401
- return new C(this.from, this.to, this.mark);
402
- }
403
- map(t) {
404
- let e = t.mapResult(this.from, 1), r = t.mapResult(this.to, -1);
405
- return e.deleted && r.deleted || e.pos >= r.pos ? null : new x(e.pos, r.pos, this.mark);
406
- }
407
- merge(t) {
408
- return t instanceof x && t.mark.eq(this.mark) && this.from <= t.to && this.to >= t.from ? new x(Math.min(this.from, t.from), Math.max(this.to, t.to), this.mark) : null;
409
- }
410
- toJSON() {
411
- return {
412
- stepType: "removeMark",
413
- mark: this.mark.toJSON(),
414
- from: this.from,
415
- to: this.to
416
- };
417
- }
418
- /**
419
- @internal
420
- */
421
- static fromJSON(t, e) {
422
- if (typeof e.from != "number" || typeof e.to != "number")
423
- throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");
424
- return new x(e.from, e.to, t.markFromJSON(e.mark));
425
- }
426
- }
427
- k.jsonID("removeMark", x);
428
- class b extends k {
429
- /**
430
- Create a node mark step.
431
- */
432
- constructor(t, e) {
433
- super(), this.pos = t, this.mark = e;
434
- }
435
- apply(t) {
436
- let e = t.nodeAt(this.pos);
437
- if (!e)
438
- return w.fail("No node at mark step's position");
439
- let r = e.type.create(e.attrs, null, this.mark.addToSet(e.marks));
440
- return w.fromReplace(t, this.pos, this.pos + 1, new g(y.from(r), 0, e.isLeaf ? 0 : 1));
441
- }
442
- invert(t) {
443
- let e = t.nodeAt(this.pos);
444
- if (e) {
445
- let r = this.mark.addToSet(e.marks);
446
- if (r.length == e.marks.length) {
447
- for (let n = 0; n < e.marks.length; n++)
448
- if (!e.marks[n].isInSet(r))
449
- return new b(this.pos, e.marks[n]);
450
- return new b(this.pos, this.mark);
451
- }
452
- }
453
- return new T(this.pos, this.mark);
454
- }
455
- map(t) {
456
- let e = t.mapResult(this.pos, 1);
457
- return e.deletedAfter ? null : new b(e.pos, this.mark);
458
- }
459
- toJSON() {
460
- return { stepType: "addNodeMark", pos: this.pos, mark: this.mark.toJSON() };
461
- }
462
- /**
463
- @internal
464
- */
465
- static fromJSON(t, e) {
466
- if (typeof e.pos != "number")
467
- throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");
468
- return new b(e.pos, t.markFromJSON(e.mark));
469
- }
470
- }
471
- k.jsonID("addNodeMark", b);
472
- class T extends k {
473
- /**
474
- Create a mark-removing step.
475
- */
476
- constructor(t, e) {
477
- super(), this.pos = t, this.mark = e;
478
- }
479
- apply(t) {
480
- let e = t.nodeAt(this.pos);
481
- if (!e)
482
- return w.fail("No node at mark step's position");
483
- let r = e.type.create(e.attrs, null, this.mark.removeFromSet(e.marks));
484
- return w.fromReplace(t, this.pos, this.pos + 1, new g(y.from(r), 0, e.isLeaf ? 0 : 1));
485
- }
486
- invert(t) {
487
- let e = t.nodeAt(this.pos);
488
- return !e || !this.mark.isInSet(e.marks) ? this : new b(this.pos, this.mark);
489
- }
490
- map(t) {
491
- let e = t.mapResult(this.pos, 1);
492
- return e.deletedAfter ? null : new T(e.pos, this.mark);
493
- }
494
- toJSON() {
495
- return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
496
- }
497
- /**
498
- @internal
499
- */
500
- static fromJSON(t, e) {
501
- if (typeof e.pos != "number")
502
- throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
503
- return new T(e.pos, t.markFromJSON(e.mark));
504
- }
505
- }
506
- k.jsonID("removeNodeMark", T);
507
- class S extends k {
508
- /**
509
- The given `slice` should fit the 'gap' between `from` and
510
- `to`—the depths must line up, and the surrounding nodes must be
511
- able to be joined with the open sides of the slice. When
512
- `structure` is true, the step will fail if the content between
513
- from and to is not just a sequence of closing and then opening
514
- tokens (this is to guard against rebased replace steps
515
- overwriting something they weren't supposed to).
516
- */
517
- constructor(t, e, r, n = !1) {
518
- super(), this.from = t, this.to = e, this.slice = r, this.structure = n;
519
- }
520
- apply(t) {
521
- return this.structure && j(t, this.from, this.to) ? w.fail("Structure replace would overwrite content") : w.fromReplace(t, this.from, this.to, this.slice);
522
- }
523
- getMap() {
524
- return new M([this.from, this.to - this.from, this.slice.size]);
525
- }
526
- invert(t) {
527
- return new S(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
528
- }
529
- map(t) {
530
- let e = t.mapResult(this.from, 1), r = t.mapResult(this.to, -1);
531
- return e.deletedAcross && r.deletedAcross ? null : new S(e.pos, Math.max(e.pos, r.pos), this.slice, this.structure);
532
- }
533
- merge(t) {
534
- if (!(t instanceof S) || t.structure || this.structure)
535
- return null;
536
- if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
537
- let e = this.slice.size + t.slice.size == 0 ? g.empty : new g(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
538
- return new S(this.from, this.to + (t.to - t.from), e, this.structure);
539
- } else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
540
- let e = this.slice.size + t.slice.size == 0 ? g.empty : new g(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
541
- return new S(t.from, this.to, e, this.structure);
542
- } else
543
- return null;
544
- }
545
- toJSON() {
546
- let t = { stepType: "replace", from: this.from, to: this.to };
547
- return this.slice.size && (t.slice = this.slice.toJSON()), this.structure && (t.structure = !0), t;
548
- }
549
- /**
550
- @internal
551
- */
552
- static fromJSON(t, e) {
553
- if (typeof e.from != "number" || typeof e.to != "number")
554
- throw new RangeError("Invalid input for ReplaceStep.fromJSON");
555
- return new S(e.from, e.to, g.fromJSON(t, e.slice), !!e.structure);
556
- }
557
- }
558
- k.jsonID("replace", S);
559
- class R extends k {
560
- /**
561
- Create a replace-around step with the given range and gap.
562
- `insert` should be the point in the slice into which the content
563
- of the gap should be moved. `structure` has the same meaning as
564
- it has in the [`ReplaceStep`](https://prosemirror.net/docs/ref/#transform.ReplaceStep) class.
565
- */
566
- constructor(t, e, r, n, i, s, l = !1) {
567
- super(), this.from = t, this.to = e, this.gapFrom = r, this.gapTo = n, this.slice = i, this.insert = s, this.structure = l;
568
- }
569
- apply(t) {
570
- if (this.structure && (j(t, this.from, this.gapFrom) || j(t, this.gapTo, this.to)))
571
- return w.fail("Structure gap-replace would overwrite content");
572
- let e = t.slice(this.gapFrom, this.gapTo);
573
- if (e.openStart || e.openEnd)
574
- return w.fail("Gap is not a flat range");
575
- let r = this.slice.insertAt(this.insert, e.content);
576
- return r ? w.fromReplace(t, this.from, this.to, r) : w.fail("Content does not fit in gap");
577
- }
578
- getMap() {
579
- return new M([
580
- this.from,
581
- this.gapFrom - this.from,
582
- this.insert,
583
- this.gapTo,
584
- this.to - this.gapTo,
585
- this.slice.size - this.insert
586
- ]);
587
- }
588
- invert(t) {
589
- let e = this.gapTo - this.gapFrom;
590
- return new R(this.from, this.from + this.slice.size + e, this.from + this.insert, this.from + this.insert + e, t.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);
591
- }
592
- map(t) {
593
- let e = t.mapResult(this.from, 1), r = t.mapResult(this.to, -1), n = this.from == this.gapFrom ? e.pos : t.map(this.gapFrom, -1), i = this.to == this.gapTo ? r.pos : t.map(this.gapTo, 1);
594
- return e.deletedAcross && r.deletedAcross || n < e.pos || i > r.pos ? null : new R(e.pos, r.pos, n, i, this.slice, this.insert, this.structure);
595
- }
596
- toJSON() {
597
- let t = {
598
- stepType: "replaceAround",
599
- from: this.from,
600
- to: this.to,
601
- gapFrom: this.gapFrom,
602
- gapTo: this.gapTo,
603
- insert: this.insert
604
- };
605
- return this.slice.size && (t.slice = this.slice.toJSON()), this.structure && (t.structure = !0), t;
606
- }
607
- /**
608
- @internal
609
- */
610
- static fromJSON(t, e) {
611
- if (typeof e.from != "number" || typeof e.to != "number" || typeof e.gapFrom != "number" || typeof e.gapTo != "number" || typeof e.insert != "number")
612
- throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");
613
- return new R(e.from, e.to, e.gapFrom, e.gapTo, g.fromJSON(t, e.slice), e.insert, !!e.structure);
614
- }
615
- }
616
- k.jsonID("replaceAround", R);
617
- function j(o, t, e) {
618
- let r = o.resolve(t), n = e - t, i = r.depth;
619
- for (; n > 0 && i > 0 && r.indexAfter(i) == r.node(i).childCount; )
620
- i--, n--;
621
- if (n > 0) {
622
- let s = r.node(i).maybeChild(r.indexAfter(i));
623
- for (; n > 0; ) {
624
- if (!s || s.isLeaf)
625
- return !0;
626
- s = s.firstChild, n--;
627
- }
628
- }
629
- return !1;
630
- }
631
- function ht(o, t, e, r) {
632
- let n = [], i = [], s, l;
633
- o.doc.nodesBetween(t, e, (a, p, h) => {
634
- if (!a.isInline)
635
- return;
636
- let f = a.marks;
637
- if (!r.isInSet(f) && h.type.allowsMarkType(r.type)) {
638
- let c = Math.max(p, t), u = Math.min(p + a.nodeSize, e), d = r.addToSet(f);
639
- for (let m = 0; m < f.length; m++)
640
- f[m].isInSet(d) || (s && s.to == c && s.mark.eq(f[m]) ? s.to = u : n.push(s = new x(c, u, f[m])));
641
- l && l.to == c ? l.to = u : i.push(l = new C(c, u, r));
642
- }
643
- }), n.forEach((a) => o.step(a)), i.forEach((a) => o.step(a));
644
- }
645
- function ct(o, t, e, r) {
646
- let n = [], i = 0;
647
- o.doc.nodesBetween(t, e, (s, l) => {
648
- if (!s.isInline)
649
- return;
650
- i++;
651
- let a = null;
652
- if (r instanceof lt) {
653
- let p = s.marks, h;
654
- for (; h = r.isInSet(p); )
655
- (a || (a = [])).push(h), p = h.removeFromSet(p);
656
- } else r ? r.isInSet(s.marks) && (a = [r]) : a = s.marks;
657
- if (a && a.length) {
658
- let p = Math.min(l + s.nodeSize, e);
659
- for (let h = 0; h < a.length; h++) {
660
- let f = a[h], c;
661
- for (let u = 0; u < n.length; u++) {
662
- let d = n[u];
663
- d.step == i - 1 && f.eq(n[u].style) && (c = d);
664
- }
665
- c ? (c.to = p, c.step = i) : n.push({ style: f, from: Math.max(l, t), to: p, step: i });
666
- }
667
- }
668
- }), n.forEach((s) => o.step(new x(s.from, s.to, s.style)));
669
- }
670
- function q(o, t, e, r = e.contentMatch, n = !0) {
671
- let i = o.doc.nodeAt(t), s = [], l = t + 1;
672
- for (let a = 0; a < i.childCount; a++) {
673
- let p = i.child(a), h = l + p.nodeSize, f = r.matchType(p.type);
674
- if (!f)
675
- s.push(new S(l, h, g.empty));
676
- else {
677
- r = f;
678
- for (let c = 0; c < p.marks.length; c++)
679
- e.allowsMarkType(p.marks[c].type) || o.step(new x(l, h, p.marks[c]));
680
- if (n && p.isText && e.whitespace != "pre") {
681
- let c, u = /\r?\n|\r/g, d;
682
- for (; c = u.exec(p.text); )
683
- d || (d = new g(y.from(e.schema.text(" ", e.allowedMarks(p.marks))), 0, 0)), s.push(new S(l + c.index, l + c.index + c[0].length, d));
684
- }
685
- }
686
- l = h;
687
- }
688
- if (!r.validEnd) {
689
- let a = r.fillBefore(y.empty, !0);
690
- o.replace(l, l, new g(a, 0, 0));
691
- }
692
- for (let a = s.length - 1; a >= 0; a--)
693
- o.step(s[a]);
694
- }
695
- function ft(o, t, e) {
696
- return (t == 0 || o.canReplace(t, o.childCount)) && (e == o.childCount || o.canReplace(0, e));
697
- }
698
- function Et(o) {
699
- let t = o.parent.content.cutByIndex(o.startIndex, o.endIndex);
700
- for (let e = o.depth, r = 0, n = 0; ; --e) {
701
- let i = o.$from.node(e), s = o.$from.index(e) + r, l = o.$to.indexAfter(e) - n;
702
- if (e < o.depth && i.canReplace(s, l, t))
703
- return e;
704
- if (e == 0 || i.type.spec.isolating || !ft(i, s, l))
705
- break;
706
- s && (r = 1), l < i.childCount && (n = 1);
707
- }
708
- return null;
709
- }
710
- function ut(o, t, e) {
711
- let { $from: r, $to: n, depth: i } = t, s = r.before(i + 1), l = n.after(i + 1), a = s, p = l, h = y.empty, f = 0;
712
- for (let d = i, m = !1; d > e; d--)
713
- m || r.index(d) > 0 ? (m = !0, h = y.from(r.node(d).copy(h)), f++) : a--;
714
- let c = y.empty, u = 0;
715
- for (let d = i, m = !1; d > e; d--)
716
- m || n.after(d + 1) < n.end(d) ? (m = !0, c = y.from(n.node(d).copy(c)), u++) : p++;
717
- o.step(new R(a, p, s, l, new g(h.append(c), f, u), h.size - f, !0));
718
- }
719
- function Jt(o, t, e = null, r = o) {
720
- let n = dt(o, t), i = n && mt(r, t);
721
- return i ? n.map(H).concat({ type: t, attrs: e }).concat(i.map(H)) : null;
722
- }
723
- function H(o) {
724
- return { type: o, attrs: null };
725
- }
726
- function dt(o, t) {
727
- let { parent: e, startIndex: r, endIndex: n } = o, i = e.contentMatchAt(r).findWrapping(t);
728
- if (!i)
729
- return null;
730
- let s = i.length ? i[0] : t;
731
- return e.canReplaceWith(r, n, s) ? i : null;
732
- }
733
- function mt(o, t) {
734
- let { parent: e, startIndex: r, endIndex: n } = o, i = e.child(r), s = t.contentMatch.findWrapping(i.type);
735
- if (!s)
736
- return null;
737
- let l = (s.length ? s[s.length - 1] : t).contentMatch;
738
- for (let a = r; l && a < n; a++)
739
- l = l.matchType(e.child(a).type);
740
- return !l || !l.validEnd ? null : s;
741
- }
742
- function gt(o, t, e) {
743
- let r = y.empty;
744
- for (let s = e.length - 1; s >= 0; s--) {
745
- if (r.size) {
746
- let l = e[s].type.contentMatch.matchFragment(r);
747
- if (!l || !l.validEnd)
748
- throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
749
- }
750
- r = y.from(e[s].type.create(e[s].attrs, r));
751
- }
752
- let n = t.start, i = t.end;
753
- o.step(new R(n, i, n, i, new g(r, 0, 0), e.length, !0));
754
- }
755
- function yt(o, t, e, r, n) {
756
- if (!r.isTextblock)
757
- throw new RangeError("Type given to setBlockType should be a textblock");
758
- let i = o.steps.length;
759
- o.doc.nodesBetween(t, e, (s, l) => {
760
- let a = typeof n == "function" ? n(s) : n;
761
- if (s.isTextblock && !s.hasMarkup(r, a) && wt(o.doc, o.mapping.slice(i).map(l), r)) {
762
- let p = null;
763
- if (r.schema.linebreakReplacement) {
764
- let u = r.whitespace == "pre", d = !!r.contentMatch.matchType(r.schema.linebreakReplacement);
765
- u && !d ? p = !1 : !u && d && (p = !0);
766
- }
767
- p === !1 && Z(o, s, l, i), q(o, o.mapping.slice(i).map(l, 1), r, void 0, p === null);
768
- let h = o.mapping.slice(i), f = h.map(l, 1), c = h.map(l + s.nodeSize, 1);
769
- return o.step(new R(f, c, f + 1, c - 1, new g(y.from(r.create(a, null, s.marks)), 0, 0), 1, !0)), p === !0 && Y(o, s, l, i), !1;
770
- }
771
- });
772
- }
773
- function Y(o, t, e, r) {
774
- t.forEach((n, i) => {
775
- if (n.isText) {
776
- let s, l = /\r?\n|\r/g;
777
- for (; s = l.exec(n.text); ) {
778
- let a = o.mapping.slice(r).map(e + 1 + i + s.index);
779
- o.replaceWith(a, a + 1, t.type.schema.linebreakReplacement.create());
780
- }
781
- }
782
- });
783
- }
784
- function Z(o, t, e, r) {
785
- t.forEach((n, i) => {
786
- if (n.type == n.type.schema.linebreakReplacement) {
787
- let s = o.mapping.slice(r).map(e + 1 + i);
788
- o.replaceWith(s, s + 1, t.type.schema.text(`
789
- `));
790
- }
791
- });
792
- }
793
- function wt(o, t, e) {
794
- let r = o.resolve(t), n = r.index();
795
- return r.parent.canReplaceWith(n, n + 1, e);
796
- }
797
- function kt(o, t, e, r, n) {
798
- let i = o.doc.nodeAt(t);
799
- if (!i)
800
- throw new RangeError("No node at given position");
801
- e || (e = i.type);
802
- let s = e.create(r, null, n || i.marks);
803
- if (i.isLeaf)
804
- return o.replaceWith(t, t + i.nodeSize, s);
805
- if (!e.validContent(i.content))
806
- throw new RangeError("Invalid content for node type " + e.name);
807
- o.step(new R(t, t + i.nodeSize, t + 1, t + i.nodeSize - 1, new g(y.from(s), 0, 0), 1, !0));
808
- }
809
- function Ft(o, t, e = 1, r) {
810
- let n = o.resolve(t), i = n.depth - e, s = r && r[r.length - 1] || n.parent;
811
- if (i < 0 || n.parent.type.spec.isolating || !n.parent.canReplace(n.index(), n.parent.childCount) || !s.type.validContent(n.parent.content.cutByIndex(n.index(), n.parent.childCount)))
812
- return !1;
813
- for (let p = n.depth - 1, h = e - 2; p > i; p--, h--) {
814
- let f = n.node(p), c = n.index(p);
815
- if (f.type.spec.isolating)
816
- return !1;
817
- let u = f.content.cutByIndex(c, f.childCount), d = r && r[h + 1];
818
- d && (u = u.replaceChild(0, d.type.create(d.attrs)));
819
- let m = r && r[h] || f;
820
- if (!f.canReplace(c + 1, f.childCount) || !m.type.validContent(u))
821
- return !1;
822
- }
823
- let l = n.indexAfter(i), a = r && r[0];
824
- return n.node(i).canReplaceWith(l, l, a ? a.type : n.node(i + 1).type);
825
- }
826
- function St(o, t, e = 1, r) {
827
- let n = o.doc.resolve(t), i = y.empty, s = y.empty;
828
- for (let l = n.depth, a = n.depth - e, p = e - 1; l > a; l--, p--) {
829
- i = y.from(n.node(l).copy(i));
830
- let h = r && r[p];
831
- s = y.from(h ? h.type.create(h.attrs, s) : n.node(l).copy(s));
832
- }
833
- o.step(new S(t, t, new g(i.append(s), e, e), !0));
834
- }
835
- function zt(o, t) {
836
- let e = o.resolve(t), r = e.index();
837
- return _(e.nodeBefore, e.nodeAfter) && e.parent.canReplace(r, r + 1);
838
- }
839
- function vt(o, t) {
840
- t.content.size || o.type.compatibleContent(t.type);
841
- let e = o.contentMatchAt(o.childCount), { linebreakReplacement: r } = o.type.schema;
842
- for (let n = 0; n < t.childCount; n++) {
843
- let i = t.child(n), s = i.type == r ? o.type.schema.nodes.text : i.type;
844
- if (e = e.matchType(s), !e || !o.type.allowsMarks(i.marks))
845
- return !1;
846
- }
847
- return e.validEnd;
848
- }
849
- function _(o, t) {
850
- return !!(o && t && !o.isLeaf && vt(o, t));
851
- }
852
- function $t(o, t, e = -1) {
853
- let r = o.resolve(t);
854
- for (let n = r.depth; ; n--) {
855
- let i, s, l = r.index(n);
856
- if (n == r.depth ? (i = r.nodeBefore, s = r.nodeAfter) : e > 0 ? (i = r.node(n + 1), l++, s = r.node(n).maybeChild(l)) : (i = r.node(n).maybeChild(l - 1), s = r.node(n + 1)), i && !i.isTextblock && _(i, s) && r.node(n).canReplace(l, l + 1))
857
- return t;
858
- if (n == 0)
859
- break;
860
- t = e < 0 ? r.before(n) : r.after(n);
861
- }
862
- }
863
- function Mt(o, t, e) {
864
- let r = null, { linebreakReplacement: n } = o.doc.type.schema, i = o.doc.resolve(t - e), s = i.node().type;
865
- if (n && s.inlineContent) {
866
- let h = s.whitespace == "pre", f = !!s.contentMatch.matchType(n);
867
- h && !f ? r = !1 : !h && f && (r = !0);
868
- }
869
- let l = o.steps.length;
870
- if (r === !1) {
871
- let h = o.doc.resolve(t + e);
872
- Z(o, h.node(), h.before(), l);
873
- }
874
- s.inlineContent && q(o, t + e - 1, s, i.node().contentMatchAt(i.index()), r == null);
875
- let a = o.mapping.slice(l), p = a.map(t - e);
876
- if (o.step(new S(p, a.map(t + e, -1), g.empty, !0)), r === !0) {
877
- let h = o.doc.resolve(p);
878
- Y(o, h.node(), h.before(), o.steps.length);
879
- }
880
- return o;
881
- }
882
- function xt(o, t, e) {
883
- let r = o.resolve(t);
884
- if (r.parent.canReplaceWith(r.index(), r.index(), e))
885
- return t;
886
- if (r.parentOffset == 0)
887
- for (let n = r.depth - 1; n >= 0; n--) {
888
- let i = r.index(n);
889
- if (r.node(n).canReplaceWith(i, i, e))
890
- return r.before(n + 1);
891
- if (i > 0)
892
- return null;
893
- }
894
- if (r.parentOffset == r.parent.content.size)
895
- for (let n = r.depth - 1; n >= 0; n--) {
896
- let i = r.indexAfter(n);
897
- if (r.node(n).canReplaceWith(i, i, e))
898
- return r.after(n + 1);
899
- if (i < r.node(n).childCount)
900
- return null;
901
- }
902
- return null;
903
- }
904
- function Dt(o, t, e) {
905
- let r = o.resolve(t);
906
- if (!e.content.size)
907
- return t;
908
- let n = e.content;
909
- for (let i = 0; i < e.openStart; i++)
910
- n = n.firstChild.content;
911
- for (let i = 1; i <= (e.openStart == 0 && e.size ? 2 : 1); i++)
912
- for (let s = r.depth; s >= 0; s--) {
913
- let l = s == r.depth ? 0 : r.pos <= (r.start(s + 1) + r.end(s + 1)) / 2 ? -1 : 1, a = r.index(s) + (l > 0 ? 1 : 0), p = r.node(s), h = !1;
914
- if (i == 1)
915
- h = p.canReplace(a, a, n);
916
- else {
917
- let f = p.contentMatchAt(a).findWrapping(n.firstChild.type);
918
- h = f && p.canReplaceWith(a, a, f[0]);
919
- }
920
- if (h)
921
- return l == 0 ? r.pos : l < 0 ? r.before(s + 1) : r.after(s + 1);
922
- }
923
- return null;
924
- }
925
- function Rt(o, t, e = t, r = g.empty) {
926
- if (t == e && !r.size)
927
- return null;
928
- let n = o.resolve(t), i = o.resolve(e);
929
- return tt(n, i, r) ? new S(t, e, r) : new Ct(n, i, r).fit();
930
- }
931
- function tt(o, t, e) {
932
- return !e.openStart && !e.openEnd && o.start() == t.start() && o.parent.canReplace(o.index(), t.index(), e.content);
933
- }
934
- class Ct {
935
- constructor(t, e, r) {
936
- this.$from = t, this.$to = e, this.unplaced = r, this.frontier = [], this.placed = y.empty;
937
- for (let n = 0; n <= t.depth; n++) {
938
- let i = t.node(n);
939
- this.frontier.push({
940
- type: i.type,
941
- match: i.contentMatchAt(t.indexAfter(n))
942
- });
943
- }
944
- for (let n = t.depth; n > 0; n--)
945
- this.placed = y.from(t.node(n).copy(this.placed));
946
- }
947
- get depth() {
948
- return this.frontier.length - 1;
949
- }
950
- fit() {
951
- for (; this.unplaced.size; ) {
952
- let p = this.findFittable();
953
- p ? this.placeNodes(p) : this.openMore() || this.dropNode();
954
- }
955
- let t = this.mustMoveInline(), e = this.placed.size - this.depth - this.$from.depth, r = this.$from, n = this.close(t < 0 ? this.$to : r.doc.resolve(t));
956
- if (!n)
957
- return null;
958
- let i = this.placed, s = r.depth, l = n.depth;
959
- for (; s && l && i.childCount == 1; )
960
- i = i.firstChild.content, s--, l--;
961
- let a = new g(i, s, l);
962
- return t > -1 ? new R(r.pos, t, this.$to.pos, this.$to.end(), a, e) : a.size || r.pos != this.$to.pos ? new S(r.pos, n.pos, a) : null;
963
- }
964
- // Find a position on the start spine of `this.unplaced` that has
965
- // content that can be moved somewhere on the frontier. Returns two
966
- // depths, one for the slice and one for the frontier.
967
- findFittable() {
968
- let t = this.unplaced.openStart;
969
- for (let e = this.unplaced.content, r = 0, n = this.unplaced.openEnd; r < t; r++) {
970
- let i = e.firstChild;
971
- if (e.childCount > 1 && (n = 0), i.type.spec.isolating && n <= r) {
972
- t = r;
973
- break;
974
- }
975
- e = i.content;
976
- }
977
- for (let e = 1; e <= 2; e++)
978
- for (let r = e == 1 ? t : this.unplaced.openStart; r >= 0; r--) {
979
- let n, i = null;
980
- r ? (i = D(this.unplaced.content, r - 1).firstChild, n = i.content) : n = this.unplaced.content;
981
- let s = n.firstChild;
982
- for (let l = this.depth; l >= 0; l--) {
983
- let { type: a, match: p } = this.frontier[l], h, f = null;
984
- if (e == 1 && (s ? p.matchType(s.type) || (f = p.fillBefore(y.from(s), !1)) : i && a.compatibleContent(i.type)))
985
- return { sliceDepth: r, frontierDepth: l, parent: i, inject: f };
986
- if (e == 2 && s && (h = p.findWrapping(s.type)))
987
- return { sliceDepth: r, frontierDepth: l, parent: i, wrap: h };
988
- if (i && p.matchType(i.type))
989
- break;
990
- }
991
- }
992
- }
993
- openMore() {
994
- let { content: t, openStart: e, openEnd: r } = this.unplaced, n = D(t, e);
995
- return !n.childCount || n.firstChild.isLeaf ? !1 : (this.unplaced = new g(t, e + 1, Math.max(r, n.size + e >= t.size - r ? e + 1 : 0)), !0);
996
- }
997
- dropNode() {
998
- let { content: t, openStart: e, openEnd: r } = this.unplaced, n = D(t, e);
999
- if (n.childCount <= 1 && e > 0) {
1000
- let i = t.size - e <= e + n.size;
1001
- this.unplaced = new g(O(t, e - 1, 1), e - 1, i ? e - 1 : r);
1002
- } else
1003
- this.unplaced = new g(O(t, e, 1), e, r);
1004
- }
1005
- // Move content from the unplaced slice at `sliceDepth` to the
1006
- // frontier node at `frontierDepth`. Close that frontier node when
1007
- // applicable.
1008
- placeNodes({ sliceDepth: t, frontierDepth: e, parent: r, inject: n, wrap: i }) {
1009
- for (; this.depth > e; )
1010
- this.closeFrontierNode();
1011
- if (i)
1012
- for (let m = 0; m < i.length; m++)
1013
- this.openFrontierNode(i[m]);
1014
- let s = this.unplaced, l = r ? r.content : s.content, a = s.openStart - t, p = 0, h = [], { match: f, type: c } = this.frontier[e];
1015
- if (n) {
1016
- for (let m = 0; m < n.childCount; m++)
1017
- h.push(n.child(m));
1018
- f = f.matchFragment(n);
1019
- }
1020
- let u = l.size + t - (s.content.size - s.openEnd);
1021
- for (; p < l.childCount; ) {
1022
- let m = l.child(p), v = f.matchType(m.type);
1023
- if (!v)
1024
- break;
1025
- p++, (p > 1 || a == 0 || m.content.size) && (f = v, h.push(et(m.mark(c.allowedMarks(m.marks)), p == 1 ? a : 0, p == l.childCount ? u : -1)));
1026
- }
1027
- let d = p == l.childCount;
1028
- d || (u = -1), this.placed = E(this.placed, e, y.from(h)), this.frontier[e].match = f, d && u < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
1029
- for (let m = 0, v = l; m < u; m++) {
1030
- let N = v.lastChild;
1031
- this.frontier.push({ type: N.type, match: N.contentMatchAt(N.childCount) }), v = N.content;
1032
- }
1033
- this.unplaced = d ? t == 0 ? g.empty : new g(O(s.content, t - 1, 1), t - 1, u < 0 ? s.openEnd : t - 1) : new g(O(s.content, t, p), s.openStart, s.openEnd);
1034
- }
1035
- mustMoveInline() {
1036
- if (!this.$to.parent.isTextblock)
1037
- return -1;
1038
- let t = this.frontier[this.depth], e;
1039
- if (!t.type.isTextblock || !B(this.$to, this.$to.depth, t.type, t.match, !1) || this.$to.depth == this.depth && (e = this.findCloseLevel(this.$to)) && e.depth == this.depth)
1040
- return -1;
1041
- let { depth: r } = this.$to, n = this.$to.after(r);
1042
- for (; r > 1 && n == this.$to.end(--r); )
1043
- ++n;
1044
- return n;
1045
- }
1046
- findCloseLevel(t) {
1047
- t: for (let e = Math.min(this.depth, t.depth); e >= 0; e--) {
1048
- let { match: r, type: n } = this.frontier[e], i = e < t.depth && t.end(e + 1) == t.pos + (t.depth - (e + 1)), s = B(t, e, n, r, i);
1049
- if (s) {
1050
- for (let l = e - 1; l >= 0; l--) {
1051
- let { match: a, type: p } = this.frontier[l], h = B(t, l, p, a, !0);
1052
- if (!h || h.childCount)
1053
- continue t;
1054
- }
1055
- return { depth: e, fit: s, move: i ? t.doc.resolve(t.after(e + 1)) : t };
1056
- }
1057
- }
1058
- }
1059
- close(t) {
1060
- let e = this.findCloseLevel(t);
1061
- if (!e)
1062
- return null;
1063
- for (; this.depth > e.depth; )
1064
- this.closeFrontierNode();
1065
- e.fit.childCount && (this.placed = E(this.placed, e.depth, e.fit)), t = e.move;
1066
- for (let r = e.depth + 1; r <= t.depth; r++) {
1067
- let n = t.node(r), i = n.type.contentMatch.fillBefore(n.content, !0, t.index(r));
1068
- this.openFrontierNode(n.type, n.attrs, i);
1069
- }
1070
- return t;
1071
- }
1072
- openFrontierNode(t, e = null, r) {
1073
- let n = this.frontier[this.depth];
1074
- n.match = n.match.matchType(t), this.placed = E(this.placed, this.depth, y.from(t.create(e, r))), this.frontier.push({ type: t, match: t.contentMatch });
1075
- }
1076
- closeFrontierNode() {
1077
- let t = this.frontier.pop().match.fillBefore(y.empty, !0);
1078
- t.childCount && (this.placed = E(this.placed, this.frontier.length, t));
1079
- }
1080
- }
1081
- function O(o, t, e) {
1082
- return t == 0 ? o.cutByIndex(e, o.childCount) : o.replaceChild(0, o.firstChild.copy(O(o.firstChild.content, t - 1, e)));
1083
- }
1084
- function E(o, t, e) {
1085
- return t == 0 ? o.append(e) : o.replaceChild(o.childCount - 1, o.lastChild.copy(E(o.lastChild.content, t - 1, e)));
1086
- }
1087
- function D(o, t) {
1088
- for (let e = 0; e < t; e++)
1089
- o = o.firstChild.content;
1090
- return o;
1091
- }
1092
- function et(o, t, e) {
1093
- if (t <= 0)
1094
- return o;
1095
- let r = o.content;
1096
- return t > 1 && (r = r.replaceChild(0, et(r.firstChild, t - 1, r.childCount == 1 ? e - 1 : 0))), t > 0 && (r = o.type.contentMatch.fillBefore(r).append(r), e <= 0 && (r = r.append(o.type.contentMatch.matchFragment(r).fillBefore(y.empty, !0)))), o.copy(r);
1097
- }
1098
- function B(o, t, e, r, n) {
1099
- let i = o.node(t), s = n ? o.indexAfter(t) : o.index(t);
1100
- if (s == i.childCount && !e.compatibleContent(i.type))
1101
- return null;
1102
- let l = r.fillBefore(i.content, !0, s);
1103
- return l && !bt(e, i.content, s) ? l : null;
1104
- }
1105
- function bt(o, t, e) {
1106
- for (let r = e; r < t.childCount; r++)
1107
- if (!o.allowsMarks(t.child(r).marks))
1108
- return !0;
1109
- return !1;
1110
- }
1111
- function Nt(o) {
1112
- return o.spec.defining || o.spec.definingForContent;
1113
- }
1114
- function Tt(o, t, e, r) {
1115
- if (!r.size)
1116
- return o.deleteRange(t, e);
1117
- let n = o.doc.resolve(t), i = o.doc.resolve(e);
1118
- if (tt(n, i, r))
1119
- return o.step(new S(t, e, r));
1120
- let s = nt(n, i);
1121
- s[s.length - 1] == 0 && s.pop();
1122
- let l = -(n.depth + 1);
1123
- s.unshift(l);
1124
- for (let c = n.depth, u = n.pos - 1; c > 0; c--, u--) {
1125
- let d = n.node(c).type.spec;
1126
- if (d.defining || d.definingAsContext || d.isolating)
1127
- break;
1128
- s.indexOf(c) > -1 ? l = c : n.before(c) == u && s.splice(1, 0, -c);
1129
- }
1130
- let a = s.indexOf(l), p = [], h = r.openStart;
1131
- for (let c = r.content, u = 0; ; u++) {
1132
- let d = c.firstChild;
1133
- if (p.push(d), u == r.openStart)
1134
- break;
1135
- c = d.content;
1136
- }
1137
- for (let c = h - 1; c >= 0; c--) {
1138
- let u = p[c], d = Nt(u.type);
1139
- if (d && !u.sameMarkup(n.node(Math.abs(l) - 1)))
1140
- h = c;
1141
- else if (d || !u.type.isTextblock)
1142
- break;
1143
- }
1144
- for (let c = r.openStart; c >= 0; c--) {
1145
- let u = (c + h + 1) % (r.openStart + 1), d = p[u];
1146
- if (d)
1147
- for (let m = 0; m < s.length; m++) {
1148
- let v = s[(m + a) % s.length], N = !0;
1149
- v < 0 && (N = !1, v = -v);
1150
- let it = n.node(v - 1), P = n.index(v - 1);
1151
- if (it.canReplaceWith(P, P, d.type, d.marks))
1152
- return o.replace(n.before(v), N ? i.after(v) : e, new g(rt(r.content, 0, r.openStart, u), u, r.openEnd));
1153
- }
1154
- }
1155
- let f = o.steps.length;
1156
- for (let c = s.length - 1; c >= 0 && (o.replace(t, e, r), !(o.steps.length > f)); c--) {
1157
- let u = s[c];
1158
- u < 0 || (t = n.before(u), e = i.after(u));
1159
- }
1160
- }
1161
- function rt(o, t, e, r, n) {
1162
- if (t < e) {
1163
- let i = o.firstChild;
1164
- o = o.replaceChild(0, i.copy(rt(i.content, t + 1, e, r, i)));
1165
- }
1166
- if (t > r) {
1167
- let i = n.contentMatchAt(0), s = i.fillBefore(o).append(o);
1168
- o = s.append(i.matchFragment(s).fillBefore(y.empty, !0));
1169
- }
1170
- return o;
1171
- }
1172
- function It(o, t, e, r) {
1173
- if (!r.isInline && t == e && o.doc.resolve(t).parent.content.size) {
1174
- let n = xt(o.doc, t, r.type);
1175
- n != null && (t = e = n);
1176
- }
1177
- o.replaceRange(t, e, new g(y.from(r), 0, 0));
1178
- }
1179
- function At(o, t, e) {
1180
- let r = o.doc.resolve(t), n = o.doc.resolve(e), i = nt(r, n);
1181
- for (let s = 0; s < i.length; s++) {
1182
- let l = i[s], a = s == i.length - 1;
1183
- if (a && l == 0 || r.node(l).type.contentMatch.validEnd)
1184
- return o.delete(r.start(l), n.end(l));
1185
- if (l > 0 && (a || r.node(l - 1).canReplace(r.index(l - 1), n.indexAfter(l - 1))))
1186
- return o.delete(r.before(l), n.after(l));
1187
- }
1188
- for (let s = 1; s <= r.depth && s <= n.depth; s++)
1189
- if (t - r.start(s) == r.depth - s && e > r.end(s) && n.end(s) - e != n.depth - s && r.start(s - 1) == n.start(s - 1) && r.node(s - 1).canReplace(r.index(s - 1), n.index(s - 1)))
1190
- return o.delete(r.before(s), e);
1191
- o.delete(t, e);
1192
- }
1193
- function nt(o, t) {
1194
- let e = [], r = Math.min(o.depth, t.depth);
1195
- for (let n = r; n >= 0; n--) {
1196
- let i = o.start(n);
1197
- if (i < o.pos - (o.depth - n) || t.end(n) > t.pos + (t.depth - n) || o.node(n).type.spec.isolating || t.node(n).type.spec.isolating)
1198
- break;
1199
- (i == t.start(n) || n == o.depth && n == t.depth && o.parent.inlineContent && t.parent.inlineContent && n && t.start(n - 1) == i - 1) && e.push(n);
1200
- }
1201
- return e;
1202
- }
1203
- class I extends k {
1204
- /**
1205
- Construct an attribute step.
1206
- */
1207
- constructor(t, e, r) {
1208
- super(), this.pos = t, this.attr = e, this.value = r;
1209
- }
1210
- apply(t) {
1211
- let e = t.nodeAt(this.pos);
1212
- if (!e)
1213
- return w.fail("No node at attribute step's position");
1214
- let r = /* @__PURE__ */ Object.create(null);
1215
- for (let i in e.attrs)
1216
- r[i] = e.attrs[i];
1217
- r[this.attr] = this.value;
1218
- let n = e.type.create(r, null, e.marks);
1219
- return w.fromReplace(t, this.pos, this.pos + 1, new g(y.from(n), 0, e.isLeaf ? 0 : 1));
1220
- }
1221
- getMap() {
1222
- return M.empty;
1223
- }
1224
- invert(t) {
1225
- return new I(this.pos, this.attr, t.nodeAt(this.pos).attrs[this.attr]);
1226
- }
1227
- map(t) {
1228
- let e = t.mapResult(this.pos, 1);
1229
- return e.deletedAfter ? null : new I(e.pos, this.attr, this.value);
1230
- }
1231
- toJSON() {
1232
- return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
1233
- }
1234
- static fromJSON(t, e) {
1235
- if (typeof e.pos != "number" || typeof e.attr != "string")
1236
- throw new RangeError("Invalid input for AttrStep.fromJSON");
1237
- return new I(e.pos, e.attr, e.value);
1238
- }
1239
- }
1240
- k.jsonID("attr", I);
1241
- class J extends k {
1242
- /**
1243
- Construct an attribute step.
1244
- */
1245
- constructor(t, e) {
1246
- super(), this.attr = t, this.value = e;
1247
- }
1248
- apply(t) {
1249
- let e = /* @__PURE__ */ Object.create(null);
1250
- for (let n in t.attrs)
1251
- e[n] = t.attrs[n];
1252
- e[this.attr] = this.value;
1253
- let r = t.type.create(e, t.content, t.marks);
1254
- return w.ok(r);
1255
- }
1256
- getMap() {
1257
- return M.empty;
1258
- }
1259
- invert(t) {
1260
- return new J(this.attr, t.attrs[this.attr]);
1261
- }
1262
- map(t) {
1263
- return this;
1264
- }
1265
- toJSON() {
1266
- return { stepType: "docAttr", attr: this.attr, value: this.value };
1267
- }
1268
- static fromJSON(t, e) {
1269
- if (typeof e.attr != "string")
1270
- throw new RangeError("Invalid input for DocAttrStep.fromJSON");
1271
- return new J(e.attr, e.value);
1272
- }
1273
- }
1274
- k.jsonID("docAttr", J);
1275
- let A = class extends Error {
1276
- };
1277
- A = function o(t) {
1278
- let e = Error.call(this, t);
1279
- return e.__proto__ = o.prototype, e;
1280
- };
1281
- A.prototype = Object.create(Error.prototype);
1282
- A.prototype.constructor = A;
1283
- A.prototype.name = "TransformError";
1284
- class Bt {
1285
- /**
1286
- Create a transform that starts with the given document.
1287
- */
1288
- constructor(t) {
1289
- this.doc = t, this.steps = [], this.docs = [], this.mapping = new z();
1290
- }
1291
- /**
1292
- The starting document.
1293
- */
1294
- get before() {
1295
- return this.docs.length ? this.docs[0] : this.doc;
1296
- }
1297
- /**
1298
- Apply a new step in this transform, saving the result. Throws an
1299
- error when the step fails.
1300
- */
1301
- step(t) {
1302
- let e = this.maybeStep(t);
1303
- if (e.failed)
1304
- throw new A(e.failed);
1305
- return this;
1306
- }
1307
- /**
1308
- Try to apply a step in this transformation, ignoring it if it
1309
- fails. Returns the step result.
1310
- */
1311
- maybeStep(t) {
1312
- let e = t.apply(this.doc);
1313
- return e.failed || this.addStep(t, e.doc), e;
1314
- }
1315
- /**
1316
- True when the document has been changed (when there are any
1317
- steps).
1318
- */
1319
- get docChanged() {
1320
- return this.steps.length > 0;
1321
- }
1322
- /**
1323
- Return a single range, in post-transform document positions,
1324
- that covers all content changed by this transform. Returns null
1325
- if no replacements are made. Note that this will ignore changes
1326
- that add/remove marks without replacing the underlying content.
1327
- */
1328
- changedRange() {
1329
- let t = 1e9, e = -1e9;
1330
- for (let r = 0; r < this.mapping.maps.length; r++) {
1331
- let n = this.mapping.maps[r];
1332
- r && (t = n.map(t, 1), e = n.map(e, -1)), n.forEach((i, s, l, a) => {
1333
- t = Math.min(t, l), e = Math.max(e, a);
1334
- });
1335
- }
1336
- return t == 1e9 ? null : { from: t, to: e };
1337
- }
1338
- /**
1339
- @internal
1340
- */
1341
- addStep(t, e) {
1342
- this.docs.push(this.doc), this.steps.push(t), this.mapping.appendMap(t.getMap()), this.doc = e;
1343
- }
1344
- /**
1345
- Replace the part of the document between `from` and `to` with the
1346
- given `slice`.
1347
- */
1348
- replace(t, e = t, r = g.empty) {
1349
- let n = Rt(this.doc, t, e, r);
1350
- return n && this.step(n), this;
1351
- }
1352
- /**
1353
- Replace the given range with the given content, which may be a
1354
- fragment, node, or array of nodes.
1355
- */
1356
- replaceWith(t, e, r) {
1357
- return this.replace(t, e, new g(y.from(r), 0, 0));
1358
- }
1359
- /**
1360
- Delete the content between the given positions.
1361
- */
1362
- delete(t, e) {
1363
- return this.replace(t, e, g.empty);
1364
- }
1365
- /**
1366
- Insert the given content at the given position.
1367
- */
1368
- insert(t, e) {
1369
- return this.replaceWith(t, t, e);
1370
- }
1371
- /**
1372
- Replace a range of the document with a given slice, using
1373
- `from`, `to`, and the slice's
1374
- [`openStart`](https://prosemirror.net/docs/ref/#model.Slice.openStart) property as hints, rather
1375
- than fixed start and end points. This method may grow the
1376
- replaced area or close open nodes in the slice in order to get a
1377
- fit that is more in line with WYSIWYG expectations, by dropping
1378
- fully covered parent nodes of the replaced region when they are
1379
- marked [non-defining as
1380
- context](https://prosemirror.net/docs/ref/#model.NodeSpec.definingAsContext), or including an
1381
- open parent node from the slice that _is_ marked as [defining
1382
- its content](https://prosemirror.net/docs/ref/#model.NodeSpec.definingForContent).
1383
-
1384
- This is the method, for example, to handle paste. The similar
1385
- [`replace`](https://prosemirror.net/docs/ref/#transform.Transform.replace) method is a more
1386
- primitive tool which will _not_ move the start and end of its given
1387
- range, and is useful in situations where you need more precise
1388
- control over what happens.
1389
- */
1390
- replaceRange(t, e, r) {
1391
- return Tt(this, t, e, r), this;
1392
- }
1393
- /**
1394
- Replace the given range with a node, but use `from` and `to` as
1395
- hints, rather than precise positions. When from and to are the same
1396
- and are at the start or end of a parent node in which the given
1397
- node doesn't fit, this method may _move_ them out towards a parent
1398
- that does allow the given node to be placed. When the given range
1399
- completely covers a parent node, this method may completely replace
1400
- that parent node.
1401
- */
1402
- replaceRangeWith(t, e, r) {
1403
- return It(this, t, e, r), this;
1404
- }
1405
- /**
1406
- Delete the given range, expanding it to cover fully covered
1407
- parent nodes until a valid replace is found.
1408
- */
1409
- deleteRange(t, e) {
1410
- return At(this, t, e), this;
1411
- }
1412
- /**
1413
- Split the content in the given range off from its parent, if there
1414
- is sibling content before or after it, and move it up the tree to
1415
- the depth specified by `target`. You'll probably want to use
1416
- [`liftTarget`](https://prosemirror.net/docs/ref/#transform.liftTarget) to compute `target`, to make
1417
- sure the lift is valid.
1418
- */
1419
- lift(t, e) {
1420
- return ut(this, t, e), this;
1421
- }
1422
- /**
1423
- Join the blocks around the given position. If depth is 2, their
1424
- last and first siblings are also joined, and so on.
1425
- */
1426
- join(t, e = 1) {
1427
- return Mt(this, t, e), this;
1428
- }
1429
- /**
1430
- Wrap the given [range](https://prosemirror.net/docs/ref/#model.NodeRange) in the given set of wrappers.
1431
- The wrappers are assumed to be valid in this position, and should
1432
- probably be computed with [`findWrapping`](https://prosemirror.net/docs/ref/#transform.findWrapping).
1433
- */
1434
- wrap(t, e) {
1435
- return gt(this, t, e), this;
1436
- }
1437
- /**
1438
- Set the type of all textblocks (partly) between `from` and `to` to
1439
- the given node type with the given attributes.
1440
- */
1441
- setBlockType(t, e = t, r, n = null) {
1442
- return yt(this, t, e, r, n), this;
1443
- }
1444
- /**
1445
- Change the type, attributes, and/or marks of the node at `pos`.
1446
- When `type` isn't given, the existing node type is preserved,
1447
- */
1448
- setNodeMarkup(t, e, r = null, n) {
1449
- return kt(this, t, e, r, n), this;
1450
- }
1451
- /**
1452
- Set a single attribute on a given node to a new value.
1453
- The `pos` addresses the document content. Use `setDocAttribute`
1454
- to set attributes on the document itself.
1455
- */
1456
- setNodeAttribute(t, e, r) {
1457
- return this.step(new I(t, e, r)), this;
1458
- }
1459
- /**
1460
- Set a single attribute on the document to a new value.
1461
- */
1462
- setDocAttribute(t, e) {
1463
- return this.step(new J(t, e)), this;
1464
- }
1465
- /**
1466
- Add a mark to the node at position `pos`.
1467
- */
1468
- addNodeMark(t, e) {
1469
- return this.step(new b(t, e)), this;
1470
- }
1471
- /**
1472
- Remove a mark (or all marks of the given type) from the node at
1473
- position `pos`.
1474
- */
1475
- removeNodeMark(t, e) {
1476
- let r = this.doc.nodeAt(t);
1477
- if (!r)
1478
- throw new RangeError("No node at position " + t);
1479
- if (e instanceof ot)
1480
- e.isInSet(r.marks) && this.step(new T(t, e));
1481
- else {
1482
- let n = r.marks, i, s = [];
1483
- for (; i = e.isInSet(n); )
1484
- s.push(new T(t, i)), n = i.removeFromSet(n);
1485
- for (let l = s.length - 1; l >= 0; l--)
1486
- this.step(s[l]);
1487
- }
1488
- return this;
1489
- }
1490
- /**
1491
- Split the node at the given position, and optionally, if `depth` is
1492
- greater than one, any number of nodes above that. By default, the
1493
- parts split off will inherit the node type of the original node.
1494
- This can be changed by passing an array of types and attributes to
1495
- use after the split (with the outermost nodes coming first).
1496
- */
1497
- split(t, e = 1, r) {
1498
- return St(this, t, e, r), this;
1499
- }
1500
- /**
1501
- Add the given mark to the inline content between `from` and `to`.
1502
- */
1503
- addMark(t, e, r) {
1504
- return ht(this, t, e, r), this;
1505
- }
1506
- /**
1507
- Remove marks from inline nodes between `from` and `to`. When
1508
- `mark` is a single mark, remove precisely that mark. When it is
1509
- a mark type, remove all marks of that type. When it is null,
1510
- remove all marks of any type.
1511
- */
1512
- removeMark(t, e, r) {
1513
- return ct(this, t, e, r), this;
1514
- }
1515
- /**
1516
- Removes all marks and nodes from the content of the node at
1517
- `pos` that don't match the given new parent node type. Accepts
1518
- an optional starting [content match](https://prosemirror.net/docs/ref/#model.ContentMatch) as
1519
- third argument.
1520
- */
1521
- clearIncompatible(t, e, r) {
1522
- return q(this, t, e, r), this;
1523
- }
1524
- }
1525
- export {
1526
- C as AddMarkStep,
1527
- b as AddNodeMarkStep,
1528
- I as AttrStep,
1529
- J as DocAttrStep,
1530
- W as MapResult,
1531
- z as Mapping,
1532
- x as RemoveMarkStep,
1533
- T as RemoveNodeMarkStep,
1534
- R as ReplaceAroundStep,
1535
- S as ReplaceStep,
1536
- k as Step,
1537
- M as StepMap,
1538
- w as StepResult,
1539
- Bt as Transform,
1540
- A as TransformError,
1541
- zt as canJoin,
1542
- Ft as canSplit,
1543
- Dt as dropPoint,
1544
- Jt as findWrapping,
1545
- xt as insertPoint,
1546
- $t as joinPoint,
1547
- Et as liftTarget,
1548
- Rt as replaceStep
1549
- };