@ecomcx/ecomweb-editor 0.0.0-stage → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (724) hide show
  1. package/README.md +107 -2
  2. package/node_modules/@floating-ui/core/LICENSE +20 -0
  3. package/node_modules/@floating-ui/core/README.md +4 -0
  4. package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs +1 -0
  5. package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.mjs +1164 -0
  6. package/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
  7. package/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +535 -0
  8. package/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js +1038 -0
  9. package/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1038 -0
  10. package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.js +1183 -0
  11. package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.min.js +1 -0
  12. package/node_modules/@floating-ui/core/package.json +63 -0
  13. package/node_modules/@floating-ui/dom/LICENSE +20 -0
  14. package/node_modules/@floating-ui/dom/README.md +4 -0
  15. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs +1 -0
  16. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.mjs +964 -0
  17. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.mts +362 -0
  18. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts +362 -0
  19. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js +789 -0
  20. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +789 -0
  21. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.js +983 -0
  22. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.min.js +1 -0
  23. package/node_modules/@floating-ui/dom/package.json +72 -0
  24. package/node_modules/@floating-ui/utils/LICENSE +20 -0
  25. package/node_modules/@floating-ui/utils/README.md +4 -0
  26. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
  27. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +105 -0
  28. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
  29. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
  30. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.esm.js +165 -0
  31. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +165 -0
  32. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.js +192 -0
  33. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.min.js +1 -0
  34. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.esm.js +136 -0
  35. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +136 -0
  36. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.js +167 -0
  37. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.min.js +1 -0
  38. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
  39. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.esm.js +165 -0
  40. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.umd.js +192 -0
  41. package/node_modules/@floating-ui/utils/dom/package.json +6 -0
  42. package/node_modules/@floating-ui/utils/package.json +70 -0
  43. package/node_modules/@tiptap/core/LICENSE.md +21 -0
  44. package/node_modules/@tiptap/core/README.md +18 -0
  45. package/node_modules/@tiptap/core/dist/index.cjs +8463 -0
  46. package/node_modules/@tiptap/core/dist/index.d.cts +5798 -0
  47. package/node_modules/@tiptap/core/dist/index.d.ts +5797 -0
  48. package/node_modules/@tiptap/core/dist/index.js +8288 -0
  49. package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs +70 -0
  50. package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.cts +28 -0
  51. package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.ts +28 -0
  52. package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +64 -0
  53. package/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  54. package/node_modules/@tiptap/core/jsx-dev-runtime/index.cjs +1 -0
  55. package/node_modules/@tiptap/core/jsx-dev-runtime/index.d.cts +1 -0
  56. package/node_modules/@tiptap/core/jsx-dev-runtime/index.d.ts +1 -0
  57. package/node_modules/@tiptap/core/jsx-dev-runtime/index.js +1 -0
  58. package/node_modules/@tiptap/core/jsx-runtime/index.cjs +1 -0
  59. package/node_modules/@tiptap/core/jsx-runtime/index.d.cts +1 -0
  60. package/node_modules/@tiptap/core/jsx-runtime/index.d.ts +1 -0
  61. package/node_modules/@tiptap/core/jsx-runtime/index.js +1 -0
  62. package/node_modules/@tiptap/core/package.json +74 -0
  63. package/node_modules/@tiptap/extension-blockquote/LICENSE.md +21 -0
  64. package/node_modules/@tiptap/extension-blockquote/README.md +18 -0
  65. package/node_modules/@tiptap/extension-blockquote/dist/index.cjs +132 -0
  66. package/node_modules/@tiptap/extension-blockquote/dist/index.d.cts +40 -0
  67. package/node_modules/@tiptap/extension-blockquote/dist/index.d.ts +40 -0
  68. package/node_modules/@tiptap/extension-blockquote/dist/index.js +126 -0
  69. package/node_modules/@tiptap/extension-blockquote/package.json +52 -0
  70. package/node_modules/@tiptap/extension-bold/LICENSE.md +21 -0
  71. package/node_modules/@tiptap/extension-bold/README.md +18 -0
  72. package/node_modules/@tiptap/extension-bold/dist/index.cjs +117 -0
  73. package/node_modules/@tiptap/extension-bold/dist/index.d.cts +52 -0
  74. package/node_modules/@tiptap/extension-bold/dist/index.d.ts +52 -0
  75. package/node_modules/@tiptap/extension-bold/dist/index.js +108 -0
  76. package/node_modules/@tiptap/extension-bold/package.json +50 -0
  77. package/node_modules/@tiptap/extension-bubble-menu/LICENSE.md +21 -0
  78. package/node_modules/@tiptap/extension-bubble-menu/README.md +18 -0
  79. package/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs +333 -0
  80. package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.cts +170 -0
  81. package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.ts +170 -0
  82. package/node_modules/@tiptap/extension-bubble-menu/dist/index.js +326 -0
  83. package/node_modules/@tiptap/extension-bubble-menu/package.json +56 -0
  84. package/node_modules/@tiptap/extension-bullet-list/LICENSE.md +21 -0
  85. package/node_modules/@tiptap/extension-bullet-list/README.md +18 -0
  86. package/node_modules/@tiptap/extension-bullet-list/dist/index.cjs +17 -0
  87. package/node_modules/@tiptap/extension-bullet-list/dist/index.d.cts +2 -0
  88. package/node_modules/@tiptap/extension-bullet-list/dist/index.d.ts +2 -0
  89. package/node_modules/@tiptap/extension-bullet-list/dist/index.js +7 -0
  90. package/node_modules/@tiptap/extension-bullet-list/package.json +50 -0
  91. package/node_modules/@tiptap/extension-code/LICENSE.md +21 -0
  92. package/node_modules/@tiptap/extension-code/README.md +18 -0
  93. package/node_modules/@tiptap/extension-code/dist/index.cjs +136 -0
  94. package/node_modules/@tiptap/extension-code/dist/index.d.cts +60 -0
  95. package/node_modules/@tiptap/extension-code/dist/index.d.ts +60 -0
  96. package/node_modules/@tiptap/extension-code/dist/index.js +127 -0
  97. package/node_modules/@tiptap/extension-code/package.json +50 -0
  98. package/node_modules/@tiptap/extension-code-block/LICENSE.md +21 -0
  99. package/node_modules/@tiptap/extension-code-block/README.md +18 -0
  100. package/node_modules/@tiptap/extension-code-block/dist/index.cjs +255 -0
  101. package/node_modules/@tiptap/extension-code-block/dist/index.d.cts +84 -0
  102. package/node_modules/@tiptap/extension-code-block/dist/index.d.ts +84 -0
  103. package/node_modules/@tiptap/extension-code-block/dist/index.js +248 -0
  104. package/node_modules/@tiptap/extension-code-block/package.json +52 -0
  105. package/node_modules/@tiptap/extension-document/LICENSE.md +21 -0
  106. package/node_modules/@tiptap/extension-document/README.md +18 -0
  107. package/node_modules/@tiptap/extension-document/dist/index.cjs +26 -0
  108. package/node_modules/@tiptap/extension-document/dist/index.d.cts +10 -0
  109. package/node_modules/@tiptap/extension-document/dist/index.d.ts +10 -0
  110. package/node_modules/@tiptap/extension-document/dist/index.js +22 -0
  111. package/node_modules/@tiptap/extension-document/package.json +50 -0
  112. package/node_modules/@tiptap/extension-dropcursor/LICENSE.md +21 -0
  113. package/node_modules/@tiptap/extension-dropcursor/README.md +18 -0
  114. package/node_modules/@tiptap/extension-dropcursor/dist/index.cjs +17 -0
  115. package/node_modules/@tiptap/extension-dropcursor/dist/index.d.cts +2 -0
  116. package/node_modules/@tiptap/extension-dropcursor/dist/index.d.ts +2 -0
  117. package/node_modules/@tiptap/extension-dropcursor/dist/index.js +7 -0
  118. package/node_modules/@tiptap/extension-dropcursor/package.json +50 -0
  119. package/node_modules/@tiptap/extension-floating-menu/LICENSE.md +21 -0
  120. package/node_modules/@tiptap/extension-floating-menu/README.md +18 -0
  121. package/node_modules/@tiptap/extension-floating-menu/dist/index.cjs +272 -0
  122. package/node_modules/@tiptap/extension-floating-menu/dist/index.d.cts +180 -0
  123. package/node_modules/@tiptap/extension-floating-menu/dist/index.d.ts +180 -0
  124. package/node_modules/@tiptap/extension-floating-menu/dist/index.js +265 -0
  125. package/node_modules/@tiptap/extension-floating-menu/package.json +55 -0
  126. package/node_modules/@tiptap/extension-gapcursor/LICENSE.md +21 -0
  127. package/node_modules/@tiptap/extension-gapcursor/README.md +18 -0
  128. package/node_modules/@tiptap/extension-gapcursor/dist/index.cjs +17 -0
  129. package/node_modules/@tiptap/extension-gapcursor/dist/index.d.cts +2 -0
  130. package/node_modules/@tiptap/extension-gapcursor/dist/index.d.ts +2 -0
  131. package/node_modules/@tiptap/extension-gapcursor/dist/index.js +7 -0
  132. package/node_modules/@tiptap/extension-gapcursor/package.json +50 -0
  133. package/node_modules/@tiptap/extension-hard-break/LICENSE.md +21 -0
  134. package/node_modules/@tiptap/extension-hard-break/README.md +18 -0
  135. package/node_modules/@tiptap/extension-hard-break/dist/index.cjs +69 -0
  136. package/node_modules/@tiptap/extension-hard-break/dist/index.d.cts +35 -0
  137. package/node_modules/@tiptap/extension-hard-break/dist/index.d.ts +35 -0
  138. package/node_modules/@tiptap/extension-hard-break/dist/index.js +64 -0
  139. package/node_modules/@tiptap/extension-hard-break/package.json +50 -0
  140. package/node_modules/@tiptap/extension-heading/LICENSE.md +21 -0
  141. package/node_modules/@tiptap/extension-heading/README.md +18 -0
  142. package/node_modules/@tiptap/extension-heading/dist/index.cjs +93 -0
  143. package/node_modules/@tiptap/extension-heading/dist/index.d.cts +50 -0
  144. package/node_modules/@tiptap/extension-heading/dist/index.d.ts +50 -0
  145. package/node_modules/@tiptap/extension-heading/dist/index.js +88 -0
  146. package/node_modules/@tiptap/extension-heading/package.json +50 -0
  147. package/node_modules/@tiptap/extension-highlight/LICENSE.md +21 -0
  148. package/node_modules/@tiptap/extension-highlight/README.md +18 -0
  149. package/node_modules/@tiptap/extension-highlight/dist/index.cjs +113 -0
  150. package/node_modules/@tiptap/extension-highlight/dist/index.d.cts +59 -0
  151. package/node_modules/@tiptap/extension-highlight/dist/index.d.ts +59 -0
  152. package/node_modules/@tiptap/extension-highlight/dist/index.js +106 -0
  153. package/node_modules/@tiptap/extension-highlight/package.json +50 -0
  154. package/node_modules/@tiptap/extension-horizontal-rule/LICENSE.md +21 -0
  155. package/node_modules/@tiptap/extension-horizontal-rule/README.md +18 -0
  156. package/node_modules/@tiptap/extension-horizontal-rule/dist/index.cjs +78 -0
  157. package/node_modules/@tiptap/extension-horizontal-rule/dist/index.d.cts +35 -0
  158. package/node_modules/@tiptap/extension-horizontal-rule/dist/index.d.ts +35 -0
  159. package/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +73 -0
  160. package/node_modules/@tiptap/extension-horizontal-rule/package.json +52 -0
  161. package/node_modules/@tiptap/extension-image/LICENSE.md +21 -0
  162. package/node_modules/@tiptap/extension-image/README.md +18 -0
  163. package/node_modules/@tiptap/extension-image/dist/index.cjs +181 -0
  164. package/node_modules/@tiptap/extension-image/dist/index.d.cts +69 -0
  165. package/node_modules/@tiptap/extension-image/dist/index.d.ts +69 -0
  166. package/node_modules/@tiptap/extension-image/dist/index.js +175 -0
  167. package/node_modules/@tiptap/extension-image/package.json +50 -0
  168. package/node_modules/@tiptap/extension-italic/LICENSE.md +21 -0
  169. package/node_modules/@tiptap/extension-italic/README.md +18 -0
  170. package/node_modules/@tiptap/extension-italic/dist/index.cjs +113 -0
  171. package/node_modules/@tiptap/extension-italic/dist/index.d.cts +55 -0
  172. package/node_modules/@tiptap/extension-italic/dist/index.d.ts +55 -0
  173. package/node_modules/@tiptap/extension-italic/dist/index.js +104 -0
  174. package/node_modules/@tiptap/extension-italic/package.json +50 -0
  175. package/node_modules/@tiptap/extension-link/LICENSE.md +21 -0
  176. package/node_modules/@tiptap/extension-link/README.md +18 -0
  177. package/node_modules/@tiptap/extension-link/dist/index.cjs +560 -0
  178. package/node_modules/@tiptap/extension-link/dist/index.d.cts +159 -0
  179. package/node_modules/@tiptap/extension-link/dist/index.d.ts +159 -0
  180. package/node_modules/@tiptap/extension-link/dist/index.js +553 -0
  181. package/node_modules/@tiptap/extension-link/package.json +56 -0
  182. package/node_modules/@tiptap/extension-list/LICENSE.md +21 -0
  183. package/node_modules/@tiptap/extension-list/README.md +18 -0
  184. package/node_modules/@tiptap/extension-list/dist/bullet-list/index.cjs +84 -0
  185. package/node_modules/@tiptap/extension-list/dist/bullet-list/index.d.cts +52 -0
  186. package/node_modules/@tiptap/extension-list/dist/bullet-list/index.d.ts +52 -0
  187. package/node_modules/@tiptap/extension-list/dist/bullet-list/index.js +82 -0
  188. package/node_modules/@tiptap/extension-list/dist/index.cjs +1570 -0
  189. package/node_modules/@tiptap/extension-list/dist/index.d.cts +391 -0
  190. package/node_modules/@tiptap/extension-list/dist/index.d.ts +390 -0
  191. package/node_modules/@tiptap/extension-list/dist/index.js +1533 -0
  192. package/node_modules/@tiptap/extension-list/dist/item/index.cjs +308 -0
  193. package/node_modules/@tiptap/extension-list/dist/item/index.d.cts +30 -0
  194. package/node_modules/@tiptap/extension-list/dist/item/index.d.ts +30 -0
  195. package/node_modules/@tiptap/extension-list/dist/item/index.js +307 -0
  196. package/node_modules/@tiptap/extension-list/dist/keymap/index.cjs +263 -0
  197. package/node_modules/@tiptap/extension-list/dist/keymap/index.d.cts +66 -0
  198. package/node_modules/@tiptap/extension-list/dist/keymap/index.d.ts +65 -0
  199. package/node_modules/@tiptap/extension-list/dist/keymap/index.js +245 -0
  200. package/node_modules/@tiptap/extension-list/dist/keymap/rolldown-runtime-D7D4PA-g.js +13 -0
  201. package/node_modules/@tiptap/extension-list/dist/kit/index.cjs +1487 -0
  202. package/node_modules/@tiptap/extension-list/dist/kit/index.d.cts +235 -0
  203. package/node_modules/@tiptap/extension-list/dist/kit/index.d.ts +235 -0
  204. package/node_modules/@tiptap/extension-list/dist/kit/index.js +1486 -0
  205. package/node_modules/@tiptap/extension-list/dist/ordered-list/index.cjs +671 -0
  206. package/node_modules/@tiptap/extension-list/dist/ordered-list/index.d.cts +120 -0
  207. package/node_modules/@tiptap/extension-list/dist/ordered-list/index.d.ts +120 -0
  208. package/node_modules/@tiptap/extension-list/dist/ordered-list/index.js +659 -0
  209. package/node_modules/@tiptap/extension-list/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  210. package/node_modules/@tiptap/extension-list/dist/task-item/index.cjs +327 -0
  211. package/node_modules/@tiptap/extension-list/dist/task-item/index.d.cts +69 -0
  212. package/node_modules/@tiptap/extension-list/dist/task-item/index.d.ts +69 -0
  213. package/node_modules/@tiptap/extension-list/dist/task-item/index.js +325 -0
  214. package/node_modules/@tiptap/extension-list/dist/task-list/index.cjs +121 -0
  215. package/node_modules/@tiptap/extension-list/dist/task-list/index.d.cts +35 -0
  216. package/node_modules/@tiptap/extension-list/dist/task-list/index.d.ts +35 -0
  217. package/node_modules/@tiptap/extension-list/dist/task-list/index.js +120 -0
  218. package/node_modules/@tiptap/extension-list/package.json +108 -0
  219. package/node_modules/@tiptap/extension-list-item/LICENSE.md +21 -0
  220. package/node_modules/@tiptap/extension-list-item/README.md +18 -0
  221. package/node_modules/@tiptap/extension-list-item/dist/index.cjs +17 -0
  222. package/node_modules/@tiptap/extension-list-item/dist/index.d.cts +2 -0
  223. package/node_modules/@tiptap/extension-list-item/dist/index.d.ts +2 -0
  224. package/node_modules/@tiptap/extension-list-item/dist/index.js +7 -0
  225. package/node_modules/@tiptap/extension-list-item/package.json +50 -0
  226. package/node_modules/@tiptap/extension-list-keymap/LICENSE.md +21 -0
  227. package/node_modules/@tiptap/extension-list-keymap/README.md +18 -0
  228. package/node_modules/@tiptap/extension-list-keymap/dist/index.cjs +23 -0
  229. package/node_modules/@tiptap/extension-list-keymap/dist/index.d.cts +2 -0
  230. package/node_modules/@tiptap/extension-list-keymap/dist/index.d.ts +2 -0
  231. package/node_modules/@tiptap/extension-list-keymap/dist/index.js +7 -0
  232. package/node_modules/@tiptap/extension-list-keymap/package.json +50 -0
  233. package/node_modules/@tiptap/extension-ordered-list/LICENSE.md +21 -0
  234. package/node_modules/@tiptap/extension-ordered-list/README.md +18 -0
  235. package/node_modules/@tiptap/extension-ordered-list/dist/index.cjs +17 -0
  236. package/node_modules/@tiptap/extension-ordered-list/dist/index.d.cts +2 -0
  237. package/node_modules/@tiptap/extension-ordered-list/dist/index.d.ts +2 -0
  238. package/node_modules/@tiptap/extension-ordered-list/dist/index.js +7 -0
  239. package/node_modules/@tiptap/extension-ordered-list/package.json +50 -0
  240. package/node_modules/@tiptap/extension-paragraph/LICENSE.md +21 -0
  241. package/node_modules/@tiptap/extension-paragraph/README.md +18 -0
  242. package/node_modules/@tiptap/extension-paragraph/dist/index.cjs +73 -0
  243. package/node_modules/@tiptap/extension-paragraph/dist/index.d.cts +29 -0
  244. package/node_modules/@tiptap/extension-paragraph/dist/index.d.ts +29 -0
  245. package/node_modules/@tiptap/extension-paragraph/dist/index.js +68 -0
  246. package/node_modules/@tiptap/extension-paragraph/package.json +50 -0
  247. package/node_modules/@tiptap/extension-strike/LICENSE.md +21 -0
  248. package/node_modules/@tiptap/extension-strike/README.md +18 -0
  249. package/node_modules/@tiptap/extension-strike/dist/index.cjs +88 -0
  250. package/node_modules/@tiptap/extension-strike/dist/index.d.cts +47 -0
  251. package/node_modules/@tiptap/extension-strike/dist/index.d.ts +47 -0
  252. package/node_modules/@tiptap/extension-strike/dist/index.js +81 -0
  253. package/node_modules/@tiptap/extension-strike/package.json +50 -0
  254. package/node_modules/@tiptap/extension-subscript/LICENSE.md +21 -0
  255. package/node_modules/@tiptap/extension-subscript/README.md +18 -0
  256. package/node_modules/@tiptap/extension-subscript/dist/index.cjs +56 -0
  257. package/node_modules/@tiptap/extension-subscript/dist/index.d.cts +39 -0
  258. package/node_modules/@tiptap/extension-subscript/dist/index.d.ts +39 -0
  259. package/node_modules/@tiptap/extension-subscript/dist/index.js +51 -0
  260. package/node_modules/@tiptap/extension-subscript/package.json +52 -0
  261. package/node_modules/@tiptap/extension-superscript/LICENSE.md +21 -0
  262. package/node_modules/@tiptap/extension-superscript/README.md +18 -0
  263. package/node_modules/@tiptap/extension-superscript/dist/index.cjs +56 -0
  264. package/node_modules/@tiptap/extension-superscript/dist/index.d.cts +39 -0
  265. package/node_modules/@tiptap/extension-superscript/dist/index.d.ts +39 -0
  266. package/node_modules/@tiptap/extension-superscript/dist/index.js +51 -0
  267. package/node_modules/@tiptap/extension-superscript/package.json +52 -0
  268. package/node_modules/@tiptap/extension-table/LICENSE.md +21 -0
  269. package/node_modules/@tiptap/extension-table/README.md +18 -0
  270. package/node_modules/@tiptap/extension-table/dist/cell/index.cjs +142 -0
  271. package/node_modules/@tiptap/extension-table/dist/cell/index.d.cts +35 -0
  272. package/node_modules/@tiptap/extension-table/dist/cell/index.d.ts +35 -0
  273. package/node_modules/@tiptap/extension-table/dist/cell/index.js +141 -0
  274. package/node_modules/@tiptap/extension-table/dist/header/index.cjs +142 -0
  275. package/node_modules/@tiptap/extension-table/dist/header/index.d.cts +35 -0
  276. package/node_modules/@tiptap/extension-table/dist/header/index.d.ts +35 -0
  277. package/node_modules/@tiptap/extension-table/dist/header/index.js +141 -0
  278. package/node_modules/@tiptap/extension-table/dist/index.cjs +832 -0
  279. package/node_modules/@tiptap/extension-table/dist/index.d.cts +344 -0
  280. package/node_modules/@tiptap/extension-table/dist/index.d.ts +344 -0
  281. package/node_modules/@tiptap/extension-table/dist/index.js +819 -0
  282. package/node_modules/@tiptap/extension-table/dist/kit/index.cjs +817 -0
  283. package/node_modules/@tiptap/extension-table/dist/kit/index.d.cts +265 -0
  284. package/node_modules/@tiptap/extension-table/dist/kit/index.d.ts +265 -0
  285. package/node_modules/@tiptap/extension-table/dist/kit/index.js +816 -0
  286. package/node_modules/@tiptap/extension-table/dist/row/index.cjs +29 -0
  287. package/node_modules/@tiptap/extension-table/dist/row/index.d.cts +35 -0
  288. package/node_modules/@tiptap/extension-table/dist/row/index.d.ts +35 -0
  289. package/node_modules/@tiptap/extension-table/dist/row/index.js +28 -0
  290. package/node_modules/@tiptap/extension-table/dist/table/index.cjs +616 -0
  291. package/node_modules/@tiptap/extension-table/dist/table/index.d.cts +254 -0
  292. package/node_modules/@tiptap/extension-table/dist/table/index.d.ts +254 -0
  293. package/node_modules/@tiptap/extension-table/dist/table/index.js +609 -0
  294. package/node_modules/@tiptap/extension-table/package.json +92 -0
  295. package/node_modules/@tiptap/extension-text/LICENSE.md +21 -0
  296. package/node_modules/@tiptap/extension-text/README.md +18 -0
  297. package/node_modules/@tiptap/extension-text/dist/index.cjs +28 -0
  298. package/node_modules/@tiptap/extension-text/dist/index.d.cts +10 -0
  299. package/node_modules/@tiptap/extension-text/dist/index.d.ts +10 -0
  300. package/node_modules/@tiptap/extension-text/dist/index.js +24 -0
  301. package/node_modules/@tiptap/extension-text/package.json +50 -0
  302. package/node_modules/@tiptap/extension-text-align/LICENSE.md +21 -0
  303. package/node_modules/@tiptap/extension-text-align/README.md +18 -0
  304. package/node_modules/@tiptap/extension-text-align/dist/index.cjs +73 -0
  305. package/node_modules/@tiptap/extension-text-align/dist/index.d.cts +53 -0
  306. package/node_modules/@tiptap/extension-text-align/dist/index.d.ts +53 -0
  307. package/node_modules/@tiptap/extension-text-align/dist/index.js +68 -0
  308. package/node_modules/@tiptap/extension-text-align/package.json +50 -0
  309. package/node_modules/@tiptap/extension-text-style/LICENSE.md +21 -0
  310. package/node_modules/@tiptap/extension-text-style/README.md +18 -0
  311. package/node_modules/@tiptap/extension-text-style/dist/background-color/index.cjs +121 -0
  312. package/node_modules/@tiptap/extension-text-style/dist/background-color/index.d.cts +161 -0
  313. package/node_modules/@tiptap/extension-text-style/dist/background-color/index.d.ts +161 -0
  314. package/node_modules/@tiptap/extension-text-style/dist/background-color/index.js +116 -0
  315. package/node_modules/@tiptap/extension-text-style/dist/color/index.cjs +121 -0
  316. package/node_modules/@tiptap/extension-text-style/dist/color/index.d.cts +161 -0
  317. package/node_modules/@tiptap/extension-text-style/dist/color/index.d.ts +161 -0
  318. package/node_modules/@tiptap/extension-text-style/dist/color/index.js +116 -0
  319. package/node_modules/@tiptap/extension-text-style/dist/font-family/index.cjs +120 -0
  320. package/node_modules/@tiptap/extension-text-style/dist/font-family/index.d.cts +161 -0
  321. package/node_modules/@tiptap/extension-text-style/dist/font-family/index.d.ts +161 -0
  322. package/node_modules/@tiptap/extension-text-style/dist/font-family/index.js +115 -0
  323. package/node_modules/@tiptap/extension-text-style/dist/font-size/index.cjs +120 -0
  324. package/node_modules/@tiptap/extension-text-style/dist/font-size/index.d.cts +161 -0
  325. package/node_modules/@tiptap/extension-text-style/dist/font-size/index.d.ts +161 -0
  326. package/node_modules/@tiptap/extension-text-style/dist/font-size/index.js +115 -0
  327. package/node_modules/@tiptap/extension-text-style/dist/index.cjs +298 -0
  328. package/node_modules/@tiptap/extension-text-style/dist/index.d.cts +275 -0
  329. package/node_modules/@tiptap/extension-text-style/dist/index.d.ts +275 -0
  330. package/node_modules/@tiptap/extension-text-style/dist/index.js +291 -0
  331. package/node_modules/@tiptap/extension-text-style/dist/line-height/index.cjs +120 -0
  332. package/node_modules/@tiptap/extension-text-style/dist/line-height/index.d.cts +161 -0
  333. package/node_modules/@tiptap/extension-text-style/dist/line-height/index.d.ts +161 -0
  334. package/node_modules/@tiptap/extension-text-style/dist/line-height/index.js +115 -0
  335. package/node_modules/@tiptap/extension-text-style/dist/text-style/index.cjs +80 -0
  336. package/node_modules/@tiptap/extension-text-style/dist/text-style/index.d.cts +170 -0
  337. package/node_modules/@tiptap/extension-text-style/dist/text-style/index.d.ts +170 -0
  338. package/node_modules/@tiptap/extension-text-style/dist/text-style/index.js +79 -0
  339. package/node_modules/@tiptap/extension-text-style/dist/text-style-kit/index.cjs +292 -0
  340. package/node_modules/@tiptap/extension-text-style/dist/text-style-kit/index.d.cts +244 -0
  341. package/node_modules/@tiptap/extension-text-style/dist/text-style-kit/index.d.ts +244 -0
  342. package/node_modules/@tiptap/extension-text-style/dist/text-style-kit/index.js +291 -0
  343. package/node_modules/@tiptap/extension-text-style/package.json +106 -0
  344. package/node_modules/@tiptap/extension-underline/LICENSE.md +21 -0
  345. package/node_modules/@tiptap/extension-underline/README.md +18 -0
  346. package/node_modules/@tiptap/extension-underline/dist/index.cjs +81 -0
  347. package/node_modules/@tiptap/extension-underline/dist/index.d.cts +39 -0
  348. package/node_modules/@tiptap/extension-underline/dist/index.d.ts +39 -0
  349. package/node_modules/@tiptap/extension-underline/dist/index.js +76 -0
  350. package/node_modules/@tiptap/extension-underline/package.json +50 -0
  351. package/node_modules/@tiptap/extension-youtube/LICENSE.md +21 -0
  352. package/node_modules/@tiptap/extension-youtube/README.md +18 -0
  353. package/node_modules/@tiptap/extension-youtube/dist/index.cjs +254 -0
  354. package/node_modules/@tiptap/extension-youtube/dist/index.d.cts +204 -0
  355. package/node_modules/@tiptap/extension-youtube/dist/index.d.ts +204 -0
  356. package/node_modules/@tiptap/extension-youtube/dist/index.js +246 -0
  357. package/node_modules/@tiptap/extension-youtube/package.json +50 -0
  358. package/node_modules/@tiptap/extensions/LICENSE.md +21 -0
  359. package/node_modules/@tiptap/extensions/README.md +18 -0
  360. package/node_modules/@tiptap/extensions/dist/character-count/index.cjs +87 -0
  361. package/node_modules/@tiptap/extensions/dist/character-count/index.d.cts +70 -0
  362. package/node_modules/@tiptap/extensions/dist/character-count/index.d.ts +70 -0
  363. package/node_modules/@tiptap/extensions/dist/character-count/index.js +86 -0
  364. package/node_modules/@tiptap/extensions/dist/drop-cursor/index.cjs +27 -0
  365. package/node_modules/@tiptap/extensions/dist/drop-cursor/index.d.cts +32 -0
  366. package/node_modules/@tiptap/extensions/dist/drop-cursor/index.d.ts +32 -0
  367. package/node_modules/@tiptap/extensions/dist/drop-cursor/index.js +26 -0
  368. package/node_modules/@tiptap/extensions/dist/focus/index.cjs +48 -0
  369. package/node_modules/@tiptap/extensions/dist/focus/index.d.cts +29 -0
  370. package/node_modules/@tiptap/extensions/dist/focus/index.d.ts +29 -0
  371. package/node_modules/@tiptap/extensions/dist/focus/index.js +47 -0
  372. package/node_modules/@tiptap/extensions/dist/gap-cursor/index.cjs +29 -0
  373. package/node_modules/@tiptap/extensions/dist/gap-cursor/index.d.cts +26 -0
  374. package/node_modules/@tiptap/extensions/dist/gap-cursor/index.d.ts +26 -0
  375. package/node_modules/@tiptap/extensions/dist/gap-cursor/index.js +28 -0
  376. package/node_modules/@tiptap/extensions/dist/index.cjs +711 -0
  377. package/node_modules/@tiptap/extensions/dist/index.d.cts +321 -0
  378. package/node_modules/@tiptap/extensions/dist/index.d.ts +321 -0
  379. package/node_modules/@tiptap/extensions/dist/index.js +699 -0
  380. package/node_modules/@tiptap/extensions/dist/placeholder/index.cjs +372 -0
  381. package/node_modules/@tiptap/extensions/dist/placeholder/index.d.cts +91 -0
  382. package/node_modules/@tiptap/extensions/dist/placeholder/index.d.ts +91 -0
  383. package/node_modules/@tiptap/extensions/dist/placeholder/index.js +368 -0
  384. package/node_modules/@tiptap/extensions/dist/selection/index.cjs +72 -0
  385. package/node_modules/@tiptap/extensions/dist/selection/index.d.cts +20 -0
  386. package/node_modules/@tiptap/extensions/dist/selection/index.d.ts +20 -0
  387. package/node_modules/@tiptap/extensions/dist/selection/index.js +71 -0
  388. package/node_modules/@tiptap/extensions/dist/trailing-node/index.cjs +62 -0
  389. package/node_modules/@tiptap/extensions/dist/trailing-node/index.d.cts +30 -0
  390. package/node_modules/@tiptap/extensions/dist/trailing-node/index.d.ts +30 -0
  391. package/node_modules/@tiptap/extensions/dist/trailing-node/index.js +60 -0
  392. package/node_modules/@tiptap/extensions/dist/undo-redo/index.cjs +48 -0
  393. package/node_modules/@tiptap/extensions/dist/undo-redo/index.d.cts +45 -0
  394. package/node_modules/@tiptap/extensions/dist/undo-redo/index.d.ts +45 -0
  395. package/node_modules/@tiptap/extensions/dist/undo-redo/index.js +47 -0
  396. package/node_modules/@tiptap/extensions/package.json +116 -0
  397. package/node_modules/@tiptap/pm/LICENSE +21 -0
  398. package/node_modules/@tiptap/pm/README.md +22 -0
  399. package/node_modules/@tiptap/pm/THIRD_PARTY_LICENSES.md +47 -0
  400. package/node_modules/@tiptap/pm/changeset/index.ts +1 -0
  401. package/node_modules/@tiptap/pm/commands/index.ts +1 -0
  402. package/node_modules/@tiptap/pm/dist/changeset/index.cjs +9 -0
  403. package/node_modules/@tiptap/pm/dist/changeset/index.d.cts +1 -0
  404. package/node_modules/@tiptap/pm/dist/changeset/index.d.ts +1 -0
  405. package/node_modules/@tiptap/pm/dist/changeset/index.js +2 -0
  406. package/node_modules/@tiptap/pm/dist/commands/index.cjs +9 -0
  407. package/node_modules/@tiptap/pm/dist/commands/index.d.cts +1 -0
  408. package/node_modules/@tiptap/pm/dist/commands/index.d.ts +1 -0
  409. package/node_modules/@tiptap/pm/dist/commands/index.js +2 -0
  410. package/node_modules/@tiptap/pm/dist/dropcursor/index.cjs +9 -0
  411. package/node_modules/@tiptap/pm/dist/dropcursor/index.d.cts +1 -0
  412. package/node_modules/@tiptap/pm/dist/dropcursor/index.d.ts +1 -0
  413. package/node_modules/@tiptap/pm/dist/dropcursor/index.js +2 -0
  414. package/node_modules/@tiptap/pm/dist/gapcursor/index.cjs +9 -0
  415. package/node_modules/@tiptap/pm/dist/gapcursor/index.d.cts +1 -0
  416. package/node_modules/@tiptap/pm/dist/gapcursor/index.d.ts +1 -0
  417. package/node_modules/@tiptap/pm/dist/gapcursor/index.js +2 -0
  418. package/node_modules/@tiptap/pm/dist/history/index.cjs +9 -0
  419. package/node_modules/@tiptap/pm/dist/history/index.d.cts +1 -0
  420. package/node_modules/@tiptap/pm/dist/history/index.d.ts +1 -0
  421. package/node_modules/@tiptap/pm/dist/history/index.js +2 -0
  422. package/node_modules/@tiptap/pm/dist/inputrules/index.cjs +9 -0
  423. package/node_modules/@tiptap/pm/dist/inputrules/index.d.cts +1 -0
  424. package/node_modules/@tiptap/pm/dist/inputrules/index.d.ts +1 -0
  425. package/node_modules/@tiptap/pm/dist/inputrules/index.js +2 -0
  426. package/node_modules/@tiptap/pm/dist/keymap/index.cjs +9 -0
  427. package/node_modules/@tiptap/pm/dist/keymap/index.d.cts +1 -0
  428. package/node_modules/@tiptap/pm/dist/keymap/index.d.ts +1 -0
  429. package/node_modules/@tiptap/pm/dist/keymap/index.js +2 -0
  430. package/node_modules/@tiptap/pm/dist/model/index.cjs +9 -0
  431. package/node_modules/@tiptap/pm/dist/model/index.d.cts +1 -0
  432. package/node_modules/@tiptap/pm/dist/model/index.d.ts +1 -0
  433. package/node_modules/@tiptap/pm/dist/model/index.js +2 -0
  434. package/node_modules/@tiptap/pm/dist/schema-list/index.cjs +9 -0
  435. package/node_modules/@tiptap/pm/dist/schema-list/index.d.cts +1 -0
  436. package/node_modules/@tiptap/pm/dist/schema-list/index.d.ts +1 -0
  437. package/node_modules/@tiptap/pm/dist/schema-list/index.js +2 -0
  438. package/node_modules/@tiptap/pm/dist/state/index.cjs +9 -0
  439. package/node_modules/@tiptap/pm/dist/state/index.d.cts +1 -0
  440. package/node_modules/@tiptap/pm/dist/state/index.d.ts +1 -0
  441. package/node_modules/@tiptap/pm/dist/state/index.js +2 -0
  442. package/node_modules/@tiptap/pm/dist/tables/index.cjs +9 -0
  443. package/node_modules/@tiptap/pm/dist/tables/index.d.cts +1 -0
  444. package/node_modules/@tiptap/pm/dist/tables/index.d.ts +1 -0
  445. package/node_modules/@tiptap/pm/dist/tables/index.js +2 -0
  446. package/node_modules/@tiptap/pm/dist/transform/index.cjs +9 -0
  447. package/node_modules/@tiptap/pm/dist/transform/index.d.cts +1 -0
  448. package/node_modules/@tiptap/pm/dist/transform/index.d.ts +1 -0
  449. package/node_modules/@tiptap/pm/dist/transform/index.js +2 -0
  450. package/node_modules/@tiptap/pm/dist/view/index.cjs +9 -0
  451. package/node_modules/@tiptap/pm/dist/view/index.d.cts +1 -0
  452. package/node_modules/@tiptap/pm/dist/view/index.d.ts +1 -0
  453. package/node_modules/@tiptap/pm/dist/view/index.js +2 -0
  454. package/node_modules/@tiptap/pm/dropcursor/index.ts +1 -0
  455. package/node_modules/@tiptap/pm/gapcursor/index.ts +1 -0
  456. package/node_modules/@tiptap/pm/history/index.ts +1 -0
  457. package/node_modules/@tiptap/pm/inputrules/index.ts +1 -0
  458. package/node_modules/@tiptap/pm/keymap/index.ts +1 -0
  459. package/node_modules/@tiptap/pm/model/index.ts +1 -0
  460. package/node_modules/@tiptap/pm/package.json +166 -0
  461. package/node_modules/@tiptap/pm/schema-list/index.ts +1 -0
  462. package/node_modules/@tiptap/pm/state/index.ts +1 -0
  463. package/node_modules/@tiptap/pm/tables/index.ts +1 -0
  464. package/node_modules/@tiptap/pm/transform/index.ts +1 -0
  465. package/node_modules/@tiptap/pm/view/index.ts +1 -0
  466. package/node_modules/@tiptap/react/LICENSE.md +21 -0
  467. package/node_modules/@tiptap/react/README.md +18 -0
  468. package/node_modules/@tiptap/react/dist/index.cjs +1396 -0
  469. package/node_modules/@tiptap/react/dist/index.d.cts +632 -0
  470. package/node_modules/@tiptap/react/dist/index.d.ts +632 -0
  471. package/node_modules/@tiptap/react/dist/index.js +1337 -0
  472. package/node_modules/@tiptap/react/dist/menus/index.cjs +469 -0
  473. package/node_modules/@tiptap/react/dist/menus/index.d.cts +21 -0
  474. package/node_modules/@tiptap/react/dist/menus/index.d.ts +21 -0
  475. package/node_modules/@tiptap/react/dist/menus/index.js +444 -0
  476. package/node_modules/@tiptap/react/package.json +80 -0
  477. package/node_modules/@tiptap/starter-kit/LICENSE.md +21 -0
  478. package/node_modules/@tiptap/starter-kit/README.md +18 -0
  479. package/node_modules/@tiptap/starter-kit/dist/index.cjs +76 -0
  480. package/node_modules/@tiptap/starter-kit/dist/index.d.cts +137 -0
  481. package/node_modules/@tiptap/starter-kit/dist/index.d.ts +137 -0
  482. package/node_modules/@tiptap/starter-kit/dist/index.js +71 -0
  483. package/node_modules/@tiptap/starter-kit/package.json +70 -0
  484. package/node_modules/@tiptap/suggestion/LICENSE.md +21 -0
  485. package/node_modules/@tiptap/suggestion/README.md +18 -0
  486. package/node_modules/@tiptap/suggestion/dist/index.cjs +665 -0
  487. package/node_modules/@tiptap/suggestion/dist/index.d.cts +419 -0
  488. package/node_modules/@tiptap/suggestion/dist/index.d.ts +419 -0
  489. package/node_modules/@tiptap/suggestion/dist/index.js +657 -0
  490. package/node_modules/@tiptap/suggestion/package.json +54 -0
  491. package/node_modules/@types/use-sync-external-store/LICENSE +21 -0
  492. package/node_modules/@types/use-sync-external-store/README.md +15 -0
  493. package/node_modules/@types/use-sync-external-store/index.d.ts +5 -0
  494. package/node_modules/@types/use-sync-external-store/package.json +30 -0
  495. package/node_modules/@types/use-sync-external-store/shim/index.d.ts +1 -0
  496. package/node_modules/@types/use-sync-external-store/shim/with-selector.d.ts +1 -0
  497. package/node_modules/@types/use-sync-external-store/with-selector.d.ts +7 -0
  498. package/node_modules/fast-equals/LICENSE +21 -0
  499. package/node_modules/fast-equals/README.md +479 -0
  500. package/node_modules/fast-equals/dist/cjs/index.cjs +796 -0
  501. package/node_modules/fast-equals/dist/cjs/index.d.cts +211 -0
  502. package/node_modules/fast-equals/dist/es/index.d.mts +211 -0
  503. package/node_modules/fast-equals/dist/es/index.mjs +785 -0
  504. package/node_modules/fast-equals/dist/umd/index.d.ts +211 -0
  505. package/node_modules/fast-equals/dist/umd/index.js +802 -0
  506. package/node_modules/fast-equals/index.d.ts +211 -0
  507. package/node_modules/fast-equals/package.json +120 -0
  508. package/node_modules/linkifyjs/LICENSE +19 -0
  509. package/node_modules/linkifyjs/README.md +47 -0
  510. package/node_modules/linkifyjs/dist/linkify.cjs +1854 -0
  511. package/node_modules/linkifyjs/dist/linkify.d.cts +637 -0
  512. package/node_modules/linkifyjs/dist/linkify.d.mts +637 -0
  513. package/node_modules/linkifyjs/dist/linkify.js +1859 -0
  514. package/node_modules/linkifyjs/dist/linkify.min.js +1 -0
  515. package/node_modules/linkifyjs/dist/linkify.mjs +1836 -0
  516. package/node_modules/linkifyjs/package.json +38 -0
  517. package/node_modules/orderedmap/LICENSE +19 -0
  518. package/node_modules/orderedmap/README.md +69 -0
  519. package/node_modules/orderedmap/dist/index.cjs +139 -0
  520. package/node_modules/orderedmap/dist/index.d.cts +33 -0
  521. package/node_modules/orderedmap/dist/index.d.ts +33 -0
  522. package/node_modules/orderedmap/dist/index.js +137 -0
  523. package/node_modules/orderedmap/package.json +39 -0
  524. package/node_modules/prosemirror-changeset/CHANGELOG.md +171 -0
  525. package/node_modules/prosemirror-changeset/LICENSE +19 -0
  526. package/node_modules/prosemirror-changeset/README.md +175 -0
  527. package/node_modules/prosemirror-changeset/dist/index.cjs +588 -0
  528. package/node_modules/prosemirror-changeset/dist/index.d.cts +187 -0
  529. package/node_modules/prosemirror-changeset/dist/index.d.ts +187 -0
  530. package/node_modules/prosemirror-changeset/dist/index.js +722 -0
  531. package/node_modules/prosemirror-changeset/package.json +40 -0
  532. package/node_modules/prosemirror-changeset/test/test-changed-range.ts +48 -0
  533. package/node_modules/prosemirror-changeset/test/test-changes.ts +211 -0
  534. package/node_modules/prosemirror-changeset/test/test-diff.ts +77 -0
  535. package/node_modules/prosemirror-changeset/test/test-merge.ts +56 -0
  536. package/node_modules/prosemirror-changeset/test/test-simplify.ts +74 -0
  537. package/node_modules/prosemirror-commands/.tern-project +8 -0
  538. package/node_modules/prosemirror-commands/CHANGELOG.md +328 -0
  539. package/node_modules/prosemirror-commands/CONTRIBUTING.md +104 -0
  540. package/node_modules/prosemirror-commands/LICENSE +19 -0
  541. package/node_modules/prosemirror-commands/README.md +28 -0
  542. package/node_modules/prosemirror-commands/dist/index.cjs +688 -0
  543. package/node_modules/prosemirror-commands/dist/index.d.cts +215 -0
  544. package/node_modules/prosemirror-commands/dist/index.d.ts +215 -0
  545. package/node_modules/prosemirror-commands/dist/index.js +852 -0
  546. package/node_modules/prosemirror-commands/package.json +39 -0
  547. package/node_modules/prosemirror-dropcursor/CHANGELOG.md +149 -0
  548. package/node_modules/prosemirror-dropcursor/CONTRIBUTING.md +104 -0
  549. package/node_modules/prosemirror-dropcursor/LICENSE +19 -0
  550. package/node_modules/prosemirror-dropcursor/README.md +50 -0
  551. package/node_modules/prosemirror-dropcursor/dist/index.cjs +200 -0
  552. package/node_modules/prosemirror-dropcursor/dist/index.d.cts +38 -0
  553. package/node_modules/prosemirror-dropcursor/dist/index.d.ts +38 -0
  554. package/node_modules/prosemirror-dropcursor/dist/index.js +163 -0
  555. package/node_modules/prosemirror-dropcursor/package.json +38 -0
  556. package/node_modules/prosemirror-gapcursor/CHANGELOG.md +122 -0
  557. package/node_modules/prosemirror-gapcursor/CONTRIBUTING.md +104 -0
  558. package/node_modules/prosemirror-gapcursor/LICENSE +19 -0
  559. package/node_modules/prosemirror-gapcursor/README.md +31 -0
  560. package/node_modules/prosemirror-gapcursor/dist/index.cjs +239 -0
  561. package/node_modules/prosemirror-gapcursor/dist/index.d.cts +31 -0
  562. package/node_modules/prosemirror-gapcursor/dist/index.d.ts +31 -0
  563. package/node_modules/prosemirror-gapcursor/dist/index.js +239 -0
  564. package/node_modules/prosemirror-gapcursor/package.json +43 -0
  565. package/node_modules/prosemirror-gapcursor/style/gapcursor.css +25 -0
  566. package/node_modules/prosemirror-history/.tern-project +8 -0
  567. package/node_modules/prosemirror-history/CHANGELOG.md +176 -0
  568. package/node_modules/prosemirror-history/CONTRIBUTING.md +104 -0
  569. package/node_modules/prosemirror-history/LICENSE +19 -0
  570. package/node_modules/prosemirror-history/README.md +27 -0
  571. package/node_modules/prosemirror-history/dist/index.cjs +383 -0
  572. package/node_modules/prosemirror-history/dist/index.d.cts +64 -0
  573. package/node_modules/prosemirror-history/dist/index.d.ts +64 -0
  574. package/node_modules/prosemirror-history/dist/index.js +454 -0
  575. package/node_modules/prosemirror-history/package.json +40 -0
  576. package/node_modules/prosemirror-inputrules/.tern-project +8 -0
  577. package/node_modules/prosemirror-inputrules/CHANGELOG.md +127 -0
  578. package/node_modules/prosemirror-inputrules/CONTRIBUTING.md +104 -0
  579. package/node_modules/prosemirror-inputrules/LICENSE +19 -0
  580. package/node_modules/prosemirror-inputrules/README.md +29 -0
  581. package/node_modules/prosemirror-inputrules/dist/index.cjs +194 -0
  582. package/node_modules/prosemirror-inputrules/dist/index.d.cts +131 -0
  583. package/node_modules/prosemirror-inputrules/dist/index.d.ts +131 -0
  584. package/node_modules/prosemirror-inputrules/dist/index.js +239 -0
  585. package/node_modules/prosemirror-inputrules/package.json +36 -0
  586. package/node_modules/prosemirror-keymap/.tern-project +8 -0
  587. package/node_modules/prosemirror-keymap/CHANGELOG.md +104 -0
  588. package/node_modules/prosemirror-keymap/CONTRIBUTING.md +104 -0
  589. package/node_modules/prosemirror-keymap/LICENSE +19 -0
  590. package/node_modules/prosemirror-keymap/README.md +27 -0
  591. package/node_modules/prosemirror-keymap/dist/index.cjs +65 -0
  592. package/node_modules/prosemirror-keymap/dist/index.d.cts +47 -0
  593. package/node_modules/prosemirror-keymap/dist/index.d.ts +47 -0
  594. package/node_modules/prosemirror-keymap/dist/index.js +128 -0
  595. package/node_modules/prosemirror-keymap/package.json +38 -0
  596. package/node_modules/prosemirror-model/.tern-project +8 -0
  597. package/node_modules/prosemirror-model/CHANGELOG.md +782 -0
  598. package/node_modules/prosemirror-model/CONTRIBUTING.md +104 -0
  599. package/node_modules/prosemirror-model/LICENSE +19 -0
  600. package/node_modules/prosemirror-model/README.md +29 -0
  601. package/node_modules/prosemirror-model/dist/index.cjs +2911 -0
  602. package/node_modules/prosemirror-model/dist/index.d.cts +1683 -0
  603. package/node_modules/prosemirror-model/dist/index.d.ts +1683 -0
  604. package/node_modules/prosemirror-model/dist/index.js +3463 -0
  605. package/node_modules/prosemirror-model/package.json +38 -0
  606. package/node_modules/prosemirror-schema-list/.tern-project +8 -0
  607. package/node_modules/prosemirror-schema-list/CHANGELOG.md +140 -0
  608. package/node_modules/prosemirror-schema-list/CONTRIBUTING.md +100 -0
  609. package/node_modules/prosemirror-schema-list/LICENSE +19 -0
  610. package/node_modules/prosemirror-schema-list/README.md +28 -0
  611. package/node_modules/prosemirror-schema-list/dist/index.cjs +253 -0
  612. package/node_modules/prosemirror-schema-list/dist/index.d.cts +71 -0
  613. package/node_modules/prosemirror-schema-list/dist/index.d.ts +71 -0
  614. package/node_modules/prosemirror-schema-list/dist/index.js +289 -0
  615. package/node_modules/prosemirror-schema-list/package.json +40 -0
  616. package/node_modules/prosemirror-state/.tern-project +8 -0
  617. package/node_modules/prosemirror-state/CHANGELOG.md +296 -0
  618. package/node_modules/prosemirror-state/CONTRIBUTING.md +104 -0
  619. package/node_modules/prosemirror-state/LICENSE +19 -0
  620. package/node_modules/prosemirror-state/README.md +28 -0
  621. package/node_modules/prosemirror-state/dist/index.cjs +884 -0
  622. package/node_modules/prosemirror-state/dist/index.d.cts +709 -0
  623. package/node_modules/prosemirror-state/dist/index.d.ts +709 -0
  624. package/node_modules/prosemirror-state/dist/index.js +1002 -0
  625. package/node_modules/prosemirror-state/package.json +39 -0
  626. package/node_modules/prosemirror-tables/LICENSE +19 -0
  627. package/node_modules/prosemirror-tables/README.md +254 -0
  628. package/node_modules/prosemirror-tables/dist/index.cjs +2683 -0
  629. package/node_modules/prosemirror-tables/dist/index.d.cts +751 -0
  630. package/node_modules/prosemirror-tables/dist/index.d.ts +751 -0
  631. package/node_modules/prosemirror-tables/dist/index.js +2626 -0
  632. package/node_modules/prosemirror-tables/package.json +80 -0
  633. package/node_modules/prosemirror-tables/style/tables.css +48 -0
  634. package/node_modules/prosemirror-transform/.tern-project +8 -0
  635. package/node_modules/prosemirror-transform/CHANGELOG.md +530 -0
  636. package/node_modules/prosemirror-transform/CONTRIBUTING.md +104 -0
  637. package/node_modules/prosemirror-transform/LICENSE +19 -0
  638. package/node_modules/prosemirror-transform/README.md +29 -0
  639. package/node_modules/prosemirror-transform/dist/index.cjs +2014 -0
  640. package/node_modules/prosemirror-transform/dist/index.d.cts +857 -0
  641. package/node_modules/prosemirror-transform/dist/index.d.ts +857 -0
  642. package/node_modules/prosemirror-transform/dist/index.js +2272 -0
  643. package/node_modules/prosemirror-transform/package.json +37 -0
  644. package/node_modules/prosemirror-view/.tern-project +8 -0
  645. package/node_modules/prosemirror-view/CHANGELOG.md +2543 -0
  646. package/node_modules/prosemirror-view/CONTRIBUTING.md +104 -0
  647. package/node_modules/prosemirror-view/LICENSE +19 -0
  648. package/node_modules/prosemirror-view/README.md +28 -0
  649. package/node_modules/prosemirror-view/dist/index.cjs +5549 -0
  650. package/node_modules/prosemirror-view/dist/index.d.cts +913 -0
  651. package/node_modules/prosemirror-view/dist/index.d.ts +913 -0
  652. package/node_modules/prosemirror-view/dist/index.js +6053 -0
  653. package/node_modules/prosemirror-view/package.json +43 -0
  654. package/node_modules/prosemirror-view/style/prosemirror.css +54 -0
  655. package/node_modules/rope-sequence/LICENSE +19 -0
  656. package/node_modules/rope-sequence/README.md +63 -0
  657. package/node_modules/rope-sequence/dist/index.cjs +209 -0
  658. package/node_modules/rope-sequence/dist/index.d.cts +11 -0
  659. package/node_modules/rope-sequence/dist/index.d.ts +11 -0
  660. package/node_modules/rope-sequence/dist/index.js +207 -0
  661. package/node_modules/rope-sequence/index.js +190 -0
  662. package/node_modules/rope-sequence/package.json +34 -0
  663. package/node_modules/rope-sequence/test.js +78 -0
  664. package/node_modules/use-sync-external-store/LICENSE +21 -0
  665. package/node_modules/use-sync-external-store/README.md +5 -0
  666. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +97 -0
  667. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +85 -0
  668. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +95 -0
  669. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.development.js +88 -0
  670. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.production.js +59 -0
  671. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +66 -0
  672. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +96 -0
  673. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +84 -0
  674. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.development.js +27 -0
  675. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js +13 -0
  676. package/node_modules/use-sync-external-store/index.js +7 -0
  677. package/node_modules/use-sync-external-store/package.json +43 -0
  678. package/node_modules/use-sync-external-store/shim/index.js +7 -0
  679. package/node_modules/use-sync-external-store/shim/index.native.js +7 -0
  680. package/node_modules/use-sync-external-store/shim/with-selector.js +7 -0
  681. package/node_modules/use-sync-external-store/with-selector.js +7 -0
  682. package/node_modules/w3c-keyname/.tern-port +1 -0
  683. package/node_modules/w3c-keyname/LICENSE +19 -0
  684. package/node_modules/w3c-keyname/README.md +18 -0
  685. package/node_modules/w3c-keyname/index.cjs +127 -0
  686. package/node_modules/w3c-keyname/index.d.cts +5 -0
  687. package/node_modules/w3c-keyname/index.d.ts +5 -0
  688. package/node_modules/w3c-keyname/index.js +119 -0
  689. package/node_modules/w3c-keyname/package.json +37 -0
  690. package/package.json +79 -4
  691. package/src/Editor.tsx +424 -0
  692. package/src/ask.tsx +154 -0
  693. package/src/basic.tsx +149 -0
  694. package/src/blockMeta.ts +42 -0
  695. package/src/blockops.ts +179 -0
  696. package/src/blocks.tsx +189 -0
  697. package/src/content.ts +22 -0
  698. package/src/dynamic.tsx +105 -0
  699. package/src/editor.css +345 -0
  700. package/src/extensions.ts +78 -0
  701. package/src/handle.tsx +186 -0
  702. package/src/handles.tsx +149 -0
  703. package/src/index.ts +29 -0
  704. package/src/insert.ts +9 -0
  705. package/src/inserter.tsx +163 -0
  706. package/src/inspector.tsx +237 -0
  707. package/src/labels.ts +135 -0
  708. package/src/layout.tsx +174 -0
  709. package/src/layoutUi.tsx +226 -0
  710. package/src/media.ts +31 -0
  711. package/src/nodes.tsx +107 -0
  712. package/src/outline.tsx +124 -0
  713. package/src/panels.ts +59 -0
  714. package/src/paste.ts +100 -0
  715. package/src/patterns.ts +129 -0
  716. package/src/rank.ts +22 -0
  717. package/src/registry.ts +20 -0
  718. package/src/styleattr.ts +55 -0
  719. package/src/stylepanel.tsx +275 -0
  720. package/src/synced.tsx +128 -0
  721. package/src/toolbar.tsx +238 -0
  722. package/src/types.ts +55 -0
  723. package/src/unknown.tsx +74 -0
  724. package/src/util.ts +3 -0
@@ -0,0 +1,802 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["fast-equals"] = {}));
5
+ })(this, (function (exports) { 'use strict';
6
+
7
+ const { getOwnPropertyNames, getOwnPropertySymbols } = Object;
8
+ // eslint-disable-next-line @typescript-eslint/unbound-method
9
+ const { hasOwnProperty } = Object.prototype;
10
+ /**
11
+ * Combine two comparators into a single comparators.
12
+ */
13
+ function combineComparators(comparatorA, comparatorB) {
14
+ return function isEqual(a, b, state) {
15
+ return comparatorA(a, b, state) && comparatorB(a, b, state);
16
+ };
17
+ }
18
+ /**
19
+ * Wrap the provided `areItemsEqual` method to manage the circular state, allowing
20
+ * for circular references to be safely included in the comparison without creating
21
+ * stack overflows.
22
+ */
23
+ function createIsCircular(areItemsEqual) {
24
+ return function isCircular(a, b, state) {
25
+ if (!a || !b || typeof a !== 'object' || typeof b !== 'object') {
26
+ return areItemsEqual(a, b, state);
27
+ }
28
+ const { cache } = state;
29
+ const cachedA = cache.get(a);
30
+ const cachedB = cache.get(b);
31
+ if (cachedA && cachedB) {
32
+ return cachedA === b && cachedB === a;
33
+ }
34
+ cache.set(a, b);
35
+ cache.set(b, a);
36
+ const result = areItemsEqual(a, b, state);
37
+ cache.delete(a);
38
+ cache.delete(b);
39
+ return result;
40
+ };
41
+ }
42
+ /**
43
+ * Get the `@@toStringTag` of the value, if it exists.
44
+ */
45
+ function getShortTag(value) {
46
+ return value != null ? value[Symbol.toStringTag] : undefined;
47
+ }
48
+ /**
49
+ * Get the properties to strictly examine, which include both own properties that are
50
+ * not enumerable and symbol properties.
51
+ */
52
+ function getStrictProperties(object) {
53
+ return getOwnPropertyNames(object).concat(getOwnPropertySymbols(object));
54
+ }
55
+ /**
56
+ * Whether the object contains the property passed as an own property.
57
+ */
58
+ const hasOwn =
59
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
60
+ Object.hasOwn || ((object, property) => hasOwnProperty.call(object, property));
61
+ /**
62
+ * Whether the values passed are strictly equal or both NaN.
63
+ */
64
+ function sameValueZeroEqual(a, b) {
65
+ return a === b || (!a && !b && a !== a && b !== b);
66
+ }
67
+
68
+ const PREACT_VNODE = '__v';
69
+ const PREACT_OWNER = '__o';
70
+ const REACT_OWNER = '_owner';
71
+ /**
72
+ * Above this many keys, out-of-position keys are checked with `propertyIsEnumerable` rather than by
73
+ * scanning the other object's keys. Measured in V8: scanning wins up to 50 keys and loses from 100.
74
+ */
75
+ const MAX_SCANNED_PROPERTIES = 64;
76
+ const { getOwnPropertyDescriptor, keys } = Object;
77
+ // eslint-disable-next-line @typescript-eslint/unbound-method
78
+ const { propertyIsEnumerable } = Object.prototype;
79
+ /**
80
+ * Identify the element type of TypedArrays across realms and subclasses.
81
+ */
82
+ // eslint-disable-next-line @typescript-eslint/unbound-method
83
+ const getTypedArrayTag = getOwnPropertyDescriptor(Object.getPrototypeOf(Int8Array.prototype), Symbol.toStringTag).get;
84
+ /**
85
+ * Whether the array buffers are equal in value.
86
+ */
87
+ function areArrayBuffersEqual(a, b) {
88
+ return a.byteLength === b.byteLength && areTypedArraysEqual(new Uint8Array(a), new Uint8Array(b));
89
+ }
90
+ /**
91
+ * Whether the arrays are equal in value.
92
+ */
93
+ function areArraysEqual(a, b, state) {
94
+ let index = a.length;
95
+ if (b.length !== index) {
96
+ return false;
97
+ }
98
+ while (index-- > 0) {
99
+ if (!state.equals(a[index], b[index], index, index, a, b, state)) {
100
+ return false;
101
+ }
102
+ }
103
+ return true;
104
+ }
105
+ /**
106
+ * Whether the dataviews are equal in value.
107
+ */
108
+ function areDataViewsEqual(a, b) {
109
+ return (a.byteLength === b.byteLength
110
+ && areTypedArraysEqual(new Uint8Array(a.buffer, a.byteOffset, a.byteLength), new Uint8Array(b.buffer, b.byteOffset, b.byteLength)));
111
+ }
112
+ /**
113
+ * Whether the dates passed are equal in value.
114
+ */
115
+ function areDatesEqual(a, b) {
116
+ return sameValueZeroEqual(a.getTime(), b.getTime());
117
+ }
118
+ /**
119
+ * Whether the errors passed are equal in value.
120
+ *
121
+ * @note
122
+ * `name`, `message` and `stack` are own properties but are not enumerable, so they are compared
123
+ * explicitly. `cause` and `errors` are compared by value rather than by reference, matching how
124
+ * every other nested value in the comparison is treated. They are compared exactly once, regardless
125
+ * of whether they were assigned (enumerable) or set by the constructor (non-enumerable). Other own
126
+ * enumerable properties (which custom `Error` subclasses commonly add) are compared afterward.
127
+ *
128
+ * The own property comparison is inlined rather than extracted, which measured faster in V8 when
129
+ * recursing through `cause`. Keep the bytecode under V8's 460-byte TurboFan inlining limit (383 bytes
130
+ * at time of writing; check with `node --print-bytecode --print-bytecode-filter=areErrorsEqual`), or
131
+ * this stops being inlined into its callers.
132
+ */
133
+ function areErrorsEqual(a, b, state) {
134
+ if (a.name !== b.name || a.message !== b.message || a.stack !== b.stack) {
135
+ return false;
136
+ }
137
+ const causeA = a.cause;
138
+ const causeB = b.cause;
139
+ if (causeA !== causeB && !state.equals(causeA, causeB, 'cause', 'cause', a, b, state)) {
140
+ return false;
141
+ }
142
+ const errorsA = a.errors;
143
+ const errorsB = b.errors;
144
+ if (errorsA !== errorsB && !state.equals(errorsA, errorsB, 'errors', 'errors', a, b, state)) {
145
+ return false;
146
+ }
147
+ const propertiesA = keys(a);
148
+ const propertiesB = keys(b);
149
+ let index = propertiesA.length;
150
+ // Constructed errors rarely have enumerable own properties.
151
+ if (!index && !propertiesB.length) {
152
+ return true;
153
+ }
154
+ let compared = 0;
155
+ let property;
156
+ while (index-- > 0) {
157
+ property = propertiesA[index];
158
+ // Already compared above regardless of enumerability, so we can ignore them.
159
+ if (property === 'cause' || property === 'errors') {
160
+ continue;
161
+ }
162
+ // `propertyIsEnumerable` rather than `hasOwn`, so that a non-enumerable own property on `b` cannot
163
+ // stand in for an enumerable one. Keys in the same position are trivially enumerable on `b`.
164
+ if ((property !== propertiesB[index] && !propertyIsEnumerable.call(b, property))
165
+ || !state.equals(a[property], b[property], property, property, a, b, state)) {
166
+ return false;
167
+ }
168
+ ++compared;
169
+ }
170
+ // Every compared key is enumerable on `b`, so any of `b`'s keys left over must be `cause` / `errors`.
171
+ const remaining = propertiesB.length - compared;
172
+ return (!remaining
173
+ || remaining === (propertyIsEnumerable.call(b, 'cause') ? 1 : 0) + (propertyIsEnumerable.call(b, 'errors') ? 1 : 0));
174
+ }
175
+ /**
176
+ * Whether the functions passed are equal in value.
177
+ */
178
+ function areFunctionsEqual(a, b) {
179
+ return a === b;
180
+ }
181
+ /**
182
+ * Whether the errors passed are equal in value.
183
+ *
184
+ * @note
185
+ * `name`, `message` and `stack` are own properties but are not enumerable, so they are compared
186
+ * explicitly. `cause` and `errors` are own properties, so `areObjectsEqualStrict` compares them along
187
+ * with every other own property; they are not compared explicitly to avoid comparing them twice.
188
+ */
189
+ function areErrorsEqualStrict(a, b, state) {
190
+ return a.name === b.name && a.message === b.message && a.stack === b.stack && areObjectsEqualStrict(a, b, state);
191
+ }
192
+ /**
193
+ * Whether the `Map`s are equal in value.
194
+ */
195
+ function areMapsEqual(a, b, state) {
196
+ const size = a.size;
197
+ if (size !== b.size) {
198
+ return false;
199
+ }
200
+ if (!size) {
201
+ return true;
202
+ }
203
+ const matchedIndices = new Array(size);
204
+ const aIterable = a.entries();
205
+ let aResult;
206
+ let bResult;
207
+ let index = 0;
208
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
209
+ while ((aResult = aIterable.next())) {
210
+ if (aResult.done) {
211
+ break;
212
+ }
213
+ const bIterable = b.entries();
214
+ let hasMatch = false;
215
+ let matchIndex = 0;
216
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
217
+ while ((bResult = bIterable.next())) {
218
+ if (bResult.done) {
219
+ break;
220
+ }
221
+ if (matchedIndices[matchIndex]) {
222
+ matchIndex++;
223
+ continue;
224
+ }
225
+ const aEntry = aResult.value;
226
+ const bEntry = bResult.value;
227
+ if (state.equals(aEntry[0], bEntry[0], index, matchIndex, a, b, state)
228
+ && state.equals(aEntry[1], bEntry[1], aEntry[0], bEntry[0], a, b, state)) {
229
+ hasMatch = matchedIndices[matchIndex] = true;
230
+ break;
231
+ }
232
+ matchIndex++;
233
+ }
234
+ if (!hasMatch) {
235
+ return false;
236
+ }
237
+ index++;
238
+ }
239
+ return true;
240
+ }
241
+ /**
242
+ * Whether the numbers are equal in value.
243
+ */
244
+ const areNumbersEqual = sameValueZeroEqual;
245
+ /**
246
+ * Whether the objects are equal in value.
247
+ */
248
+ function areObjectsEqual(a, b, state) {
249
+ const properties = keys(a);
250
+ const propertiesB = keys(b);
251
+ let index = properties.length;
252
+ if (propertiesB.length !== index) {
253
+ return false;
254
+ }
255
+ const isScannable = index <= MAX_SCANNED_PROPERTIES;
256
+ let property;
257
+ // Decrementing `while` showed faster results than either incrementing or
258
+ // decrementing `for` loop and than an incrementing `while` loop. Declarative
259
+ // methods like `some` / `every` were not used to avoid incurring the garbage
260
+ // cost of anonymous callbacks.
261
+ while (index-- > 0) {
262
+ property = properties[index];
263
+ if (isReactProperty(a, b, property)) {
264
+ continue;
265
+ }
266
+ // Objects built the same way list their keys in the same order, in which case the key is
267
+ // already known to be an own enumerable property of `b` and the lookup can be skipped.
268
+ // Otherwise, `propertiesB` is exactly `b`'s own enumerable keys. Scanning it is faster than
269
+ // `propertyIsEnumerable` for smaller objects, but it is linear per key, so larger objects
270
+ // (where reordering would make it quadratic) use the lookup instead.
271
+ if ((property !== propertiesB[index]
272
+ && !(isScannable ? propertiesB.includes(property) : propertyIsEnumerable.call(b, property)))
273
+ || !state.equals(a[property], b[property], property, property, a, b, state)) {
274
+ return false;
275
+ }
276
+ }
277
+ return true;
278
+ }
279
+ /**
280
+ * Whether the objects are equal in value with strict property checking.
281
+ */
282
+ function areObjectsEqualStrict(a, b, state) {
283
+ const properties = getStrictProperties(a);
284
+ let index = properties.length;
285
+ if (getStrictProperties(b).length !== index) {
286
+ return false;
287
+ }
288
+ let property;
289
+ let descriptorA;
290
+ let descriptorB;
291
+ // Decrementing `while` showed faster results than either incrementing or
292
+ // decrementing `for` loop and than an incrementing `while` loop. Declarative
293
+ // methods like `some` / `every` were not used to avoid incurring the garbage
294
+ // cost of anonymous callbacks.
295
+ while (index-- > 0) {
296
+ property = properties[index];
297
+ if (!isReactProperty(a, b, property)
298
+ && (!hasOwn(b, property) || !state.equals(a[property], b[property], property, property, a, b, state))) {
299
+ return false;
300
+ }
301
+ descriptorA = getOwnPropertyDescriptor(a, property);
302
+ descriptorB = getOwnPropertyDescriptor(b, property);
303
+ if ((descriptorA || descriptorB)
304
+ && (!descriptorA
305
+ || !descriptorB
306
+ || descriptorA.configurable !== descriptorB.configurable
307
+ || descriptorA.enumerable !== descriptorB.enumerable
308
+ || descriptorA.writable !== descriptorB.writable)) {
309
+ return false;
310
+ }
311
+ }
312
+ return true;
313
+ }
314
+ /**
315
+ * Whether the primitive wrappers passed are equal in value.
316
+ */
317
+ function arePrimitiveWrappersEqual(a, b) {
318
+ return sameValueZeroEqual(a.valueOf(), b.valueOf());
319
+ }
320
+ /**
321
+ * Whether the regexps passed are equal in value.
322
+ */
323
+ function areRegExpsEqual(a, b) {
324
+ return a.source === b.source && a.flags === b.flags;
325
+ }
326
+ /**
327
+ * Whether the `Set`s are equal in value.
328
+ */
329
+ function areSetsEqual(a, b, state) {
330
+ const size = a.size;
331
+ if (size !== b.size) {
332
+ return false;
333
+ }
334
+ if (!size) {
335
+ return true;
336
+ }
337
+ const matchedIndices = new Array(size);
338
+ const aIterable = a.values();
339
+ let aResult;
340
+ let bResult;
341
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
342
+ while ((aResult = aIterable.next())) {
343
+ if (aResult.done) {
344
+ break;
345
+ }
346
+ const bIterable = b.values();
347
+ let hasMatch = false;
348
+ let matchIndex = 0;
349
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
350
+ while ((bResult = bIterable.next())) {
351
+ if (bResult.done) {
352
+ break;
353
+ }
354
+ if (!matchedIndices[matchIndex]
355
+ && state.equals(aResult.value, bResult.value, aResult.value, bResult.value, a, b, state)) {
356
+ hasMatch = matchedIndices[matchIndex] = true;
357
+ break;
358
+ }
359
+ matchIndex++;
360
+ }
361
+ if (!hasMatch) {
362
+ return false;
363
+ }
364
+ }
365
+ return true;
366
+ }
367
+ /**
368
+ * Whether the TypedArray instances are equal in value.
369
+ */
370
+ function areTypedArraysEqual(a, b) {
371
+ let index = a.length;
372
+ if (b.length !== index || a.byteOffset !== b.byteOffset) {
373
+ return false;
374
+ }
375
+ // Only float-backed views can hold `NaN`, and the additional check needed to treat it as equal
376
+ // to itself measurably slows the loop, so integer views keep the plain comparison. This is
377
+ // hoisted out of the loop so the cost is paid once per call rather than once per element.
378
+ const tag = getTypedArrayTag.call(a);
379
+ if (tag === 'Float64Array' || tag === 'Float32Array' || tag === 'Float16Array') {
380
+ while (index-- > 0) {
381
+ // `NaN` is the only value not equal to itself, and it is treated as equal here to match
382
+ // the SameValueZero semantics used for every other numeric comparison in the library.
383
+ if (a[index] !== b[index] && (a[index] === a[index] || b[index] === b[index])) {
384
+ return false;
385
+ }
386
+ }
387
+ return true;
388
+ }
389
+ while (index-- > 0) {
390
+ if (a[index] !== b[index]) {
391
+ return false;
392
+ }
393
+ }
394
+ return true;
395
+ }
396
+ /**
397
+ * Whether the URL instances are equal in value.
398
+ */
399
+ function areUrlsEqual(a, b) {
400
+ // `href` is the normalized serialization of every component, so matching hrefs are equal without
401
+ // any further work. Only a difference in query parameter ordering can survive a mismatch here.
402
+ if (a.href === b.href) {
403
+ return true;
404
+ }
405
+ return (a.protocol === b.protocol
406
+ && a.username === b.username
407
+ && a.password === b.password
408
+ // `host` covers both the hostname and the port.
409
+ && a.host === b.host
410
+ && a.pathname === b.pathname
411
+ && a.hash === b.hash
412
+ && areSearchParamsEqual(a.searchParams, b.searchParams));
413
+ }
414
+ /**
415
+ * Whether the search params passed are equal in value.
416
+ *
417
+ * @note
418
+ * Order is not significant, matching how the other unordered collections in the library are
419
+ * compared. Repeated keys are, so this is a comparison of multisets rather than of sets:
420
+ * `a=1&a=2` is equal to `a=2&a=1`, but not to `a=1&a=1`.
421
+ */
422
+ function areSearchParamsEqual(a, b) {
423
+ const serializedA = a.toString();
424
+ const serializedB = b.toString();
425
+ // Identical serializations are equal under any ordering, and this is by far the common case, so
426
+ // it is worth checking before sorting anything.
427
+ return serializedA === serializedB || sortSearchParams(serializedA) === sortSearchParams(serializedB);
428
+ }
429
+ /**
430
+ * Reorder a serialized query string so that params holding the same pairs compare as equal
431
+ * regardless of the order they appear in.
432
+ *
433
+ * @note
434
+ * The serializer percent-encodes `&` and `=` wherever they appear inside a name or a value, so
435
+ * splitting on `&` recovers exactly the pairs and nothing else.
436
+ */
437
+ function sortSearchParams(serialized) {
438
+ return serialized.split('&').sort().join('&');
439
+ }
440
+ function isReactProperty(a, b, property) {
441
+ return ((property === REACT_OWNER || property === PREACT_OWNER || property === PREACT_VNODE) && !!(a.$$typeof || b.$$typeof));
442
+ }
443
+
444
+ const ARRAY_BUFFER_TAG = '[object ArrayBuffer]';
445
+ const ARGUMENTS_TAG = '[object Arguments]';
446
+ const BOOLEAN_TAG = '[object Boolean]';
447
+ const DATA_VIEW_TAG = '[object DataView]';
448
+ const DATE_TAG = '[object Date]';
449
+ const ERROR_TAG = '[object Error]';
450
+ const MAP_TAG = '[object Map]';
451
+ const NUMBER_TAG = '[object Number]';
452
+ const OBJECT_TAG = '[object Object]';
453
+ const REG_EXP_TAG = '[object RegExp]';
454
+ const SET_TAG = '[object Set]';
455
+ const STRING_TAG = '[object String]';
456
+ const TYPED_ARRAY_TAGS = {
457
+ '[object Int8Array]': true,
458
+ '[object Uint8Array]': true,
459
+ '[object Uint8ClampedArray]': true,
460
+ '[object Int16Array]': true,
461
+ '[object Uint16Array]': true,
462
+ '[object Int32Array]': true,
463
+ '[object Uint32Array]': true,
464
+ '[object Float16Array]': true,
465
+ '[object Float32Array]': true,
466
+ '[object Float64Array]': true,
467
+ '[object BigInt64Array]': true,
468
+ '[object BigUint64Array]': true,
469
+ };
470
+ const URL_TAG = '[object URL]';
471
+ // eslint-disable-next-line @typescript-eslint/unbound-method
472
+ const toString = Object.prototype.toString;
473
+ /**
474
+ * Create a comparator method based on the type-specific equality comparators passed.
475
+ */
476
+ function createEqualityComparator({ areArrayBuffersEqual, areArraysEqual, areDataViewsEqual, areDatesEqual, areErrorsEqual, areFunctionsEqual, areMapsEqual, areNumbersEqual, areObjectsEqual, arePrimitiveWrappersEqual, areRegExpsEqual, areSetsEqual, areTypedArraysEqual, areUrlsEqual, unknownTagComparators, }) {
477
+ /**
478
+ * compare the value of the two objects and return true if they are equivalent in values
479
+ */
480
+ return function comparator(a, b, state) {
481
+ // If the items are strictly equal, no need to do a value comparison.
482
+ if (a === b) {
483
+ return true;
484
+ }
485
+ // If either of the items are nullish and fail the strictly equal check
486
+ // above, then they must be unequal.
487
+ if (a == null || b == null) {
488
+ return false;
489
+ }
490
+ const type = typeof a;
491
+ if (type !== typeof b) {
492
+ return false;
493
+ }
494
+ if (type !== 'object') {
495
+ if (type === 'number') {
496
+ return areNumbersEqual(a, b, state);
497
+ }
498
+ if (type === 'function') {
499
+ return areFunctionsEqual(a, b, state);
500
+ }
501
+ // If a primitive value that is not strictly equal, it must be unequal.
502
+ return false;
503
+ }
504
+ const constructor = a.constructor;
505
+ // Checks are listed in order of commonality of use-case:
506
+ // 1. Common complex object types (plain object, array)
507
+ // 2. Common data values (date, regexp)
508
+ // 3. Less-common complex object types (map, set)
509
+ // 4. Less-common data values (promise, primitive wrappers)
510
+ // Inherently this is both subjective and assumptive, however
511
+ // when reviewing comparable libraries in the wild this order
512
+ // appears to be generally consistent.
513
+ // Constructors should match, otherwise there is potential for false positives
514
+ // between class and subclass or custom object and POJO.
515
+ if (constructor !== b.constructor) {
516
+ return false;
517
+ }
518
+ // `isPlainObject` only checks against the object's own realm. Cross-realm
519
+ // comparisons are rare, and will be handled in the ultimate fallback, so
520
+ // we can avoid capturing the string tag.
521
+ if (constructor === Object) {
522
+ return areObjectsEqual(a, b, state);
523
+ }
524
+ // `isArray()` works on subclasses and is cross-realm, so we can avoid capturing
525
+ // the string tag or doing an `instanceof` check.
526
+ if (Array.isArray(a)) {
527
+ return areArraysEqual(a, b, state);
528
+ }
529
+ // Try to fast-path equality checks for other complex object types in the
530
+ // same realm to avoid capturing the string tag. Strict equality is used
531
+ // instead of `instanceof` because it is more performant for the common
532
+ // use-case. If someone is subclassing a native class, it will be handled
533
+ // with the string tag comparison.
534
+ if (constructor === Date) {
535
+ return areDatesEqual(a, b, state);
536
+ }
537
+ if (constructor === RegExp) {
538
+ return areRegExpsEqual(a, b, state);
539
+ }
540
+ if (constructor === Map) {
541
+ return areMapsEqual(a, b, state);
542
+ }
543
+ if (constructor === Set) {
544
+ return areSetsEqual(a, b, state);
545
+ }
546
+ if (constructor == null) {
547
+ // Objects with a prototype of `null` are plain objects.
548
+ return areObjectsEqual(a, b, state);
549
+ }
550
+ // Since this is a custom object, capture the string tag to determing its type.
551
+ // This is reasonably performant in modern environments like v8 and SpiderMonkey.
552
+ const tag = toString.call(a);
553
+ if (tag === DATE_TAG) {
554
+ return areDatesEqual(a, b, state);
555
+ }
556
+ // For RegExp, the properties are not enumerable, and therefore will give false positives if
557
+ // tested like a standard object.
558
+ if (tag === REG_EXP_TAG) {
559
+ return areRegExpsEqual(a, b, state);
560
+ }
561
+ if (tag === MAP_TAG) {
562
+ return areMapsEqual(a, b, state);
563
+ }
564
+ if (tag === SET_TAG) {
565
+ return areSetsEqual(a, b, state);
566
+ }
567
+ if (tag === OBJECT_TAG) {
568
+ // The exception for value comparison is custom `Promise`-like class instances. These should
569
+ // be treated the same as standard `Promise` objects, which means strict equality, and if
570
+ // it reaches this point then that strict equality comparison has already failed.
571
+ return typeof a.then !== 'function' && typeof b.then !== 'function' && areObjectsEqual(a, b, state);
572
+ }
573
+ // If a URL tag, it should be tested explicitly. Like RegExp, the properties are not
574
+ // enumerable, and therefore will give false positives if tested like a standard object.
575
+ if (tag === URL_TAG) {
576
+ return areUrlsEqual(a, b, state);
577
+ }
578
+ // If an error tag, it should be tested explicitly. Like RegExp, the properties are not
579
+ // enumerable, and therefore will give false positives if tested like a standard object.
580
+ if (tag === ERROR_TAG) {
581
+ return areErrorsEqual(a, b, state);
582
+ }
583
+ // If an arguments tag, it should be treated as a standard object.
584
+ if (tag === ARGUMENTS_TAG) {
585
+ return areObjectsEqual(a, b, state);
586
+ }
587
+ if (TYPED_ARRAY_TAGS[tag]) {
588
+ return areTypedArraysEqual(a, b, state);
589
+ }
590
+ if (tag === ARRAY_BUFFER_TAG) {
591
+ return areArrayBuffersEqual(a, b, state);
592
+ }
593
+ if (tag === DATA_VIEW_TAG) {
594
+ return areDataViewsEqual(a, b, state);
595
+ }
596
+ // As the penultimate fallback, check if the values passed are primitive wrappers. This
597
+ // is very rare in modern JS, which is why it is deprioritized compared to all other object
598
+ // types.
599
+ if (tag === BOOLEAN_TAG || tag === NUMBER_TAG || tag === STRING_TAG) {
600
+ return arePrimitiveWrappersEqual(a, b, state);
601
+ }
602
+ if (unknownTagComparators) {
603
+ let unknownTagComparator = unknownTagComparators[tag];
604
+ if (!unknownTagComparator) {
605
+ const shortTag = getShortTag(a);
606
+ if (shortTag) {
607
+ unknownTagComparator = unknownTagComparators[shortTag];
608
+ }
609
+ }
610
+ // If the custom config has an unknown tag comparator that matches the captured tag or the
611
+ // @@toStringTag, it is the source of truth for whether the values are equal.
612
+ if (unknownTagComparator) {
613
+ return unknownTagComparator(a, b, state);
614
+ }
615
+ }
616
+ // If not matching any tags that require a specific type of comparison, then we hard-code false because
617
+ // the only thing remaining is strict equality, which has already been compared. This is for a few reasons:
618
+ // - Certain types that cannot be introspected (e.g., `WeakMap`). For these types, this is the only
619
+ // comparison that can be made.
620
+ // - For types that can be introspected, but rarely have requirements to be compared
621
+ // (`ArrayBuffer`, `DataView`, etc.), the cost is avoided to prioritize the common
622
+ // use-cases (may be included in a future release, if requested enough).
623
+ // - For types that can be introspected but do not have an objective definition of what
624
+ // equality is (`Error`, etc.), the subjective decision is to be conservative and strictly compare.
625
+ // In all cases, these decisions should be reevaluated based on changes to the language and
626
+ // common development practices.
627
+ return false;
628
+ };
629
+ }
630
+ /**
631
+ * Create the configuration object used for building comparators.
632
+ */
633
+ function createEqualityComparatorConfig({ circular, createCustomConfig, strict, }) {
634
+ let config = {
635
+ areArrayBuffersEqual,
636
+ areArraysEqual: strict ? areObjectsEqualStrict : areArraysEqual,
637
+ areDataViewsEqual,
638
+ areDatesEqual: areDatesEqual,
639
+ // `name` / `message` / `stack` / `cause` / `errors` are not enumerable (unless assigned), which is why
640
+ // errors need a comparator of their own rather than being treated as plain objects. Each variant also
641
+ // compares the own properties that `Error` subclasses routinely carry (`status`, `code`, ...):
642
+ // enumerable ones in loose mode, and all of them (via `areObjectsEqualStrict`) in strict mode.
643
+ areErrorsEqual: strict ? areErrorsEqualStrict : areErrorsEqual,
644
+ areFunctionsEqual: areFunctionsEqual,
645
+ areMapsEqual: strict ? combineComparators(areMapsEqual, areObjectsEqualStrict) : areMapsEqual,
646
+ areNumbersEqual: areNumbersEqual,
647
+ areObjectsEqual: strict ? areObjectsEqualStrict : areObjectsEqual,
648
+ arePrimitiveWrappersEqual: arePrimitiveWrappersEqual,
649
+ areRegExpsEqual: areRegExpsEqual,
650
+ areSetsEqual: strict ? combineComparators(areSetsEqual, areObjectsEqualStrict) : areSetsEqual,
651
+ areTypedArraysEqual: strict
652
+ ? combineComparators(areTypedArraysEqual, areObjectsEqualStrict)
653
+ : areTypedArraysEqual,
654
+ areUrlsEqual: areUrlsEqual,
655
+ unknownTagComparators: undefined,
656
+ };
657
+ if (createCustomConfig) {
658
+ config = Object.assign({}, config, createCustomConfig(config));
659
+ }
660
+ if (circular) {
661
+ const areArraysEqual = createIsCircular(config.areArraysEqual);
662
+ // Errors are included because comparing `cause` and own properties by value means an error
663
+ // that references itself would otherwise recurse without bound.
664
+ const areErrorsEqual = createIsCircular(config.areErrorsEqual);
665
+ const areMapsEqual = createIsCircular(config.areMapsEqual);
666
+ const areObjectsEqual = createIsCircular(config.areObjectsEqual);
667
+ const areSetsEqual = createIsCircular(config.areSetsEqual);
668
+ config = Object.assign({}, config, {
669
+ areArraysEqual,
670
+ areErrorsEqual,
671
+ areMapsEqual,
672
+ areObjectsEqual,
673
+ areSetsEqual,
674
+ });
675
+ }
676
+ return config;
677
+ }
678
+ /**
679
+ * Default equality comparator pass-through, used as the standard `isEqual` creator for
680
+ * use inside the built comparator.
681
+ */
682
+ function createInternalEqualityComparator(compare) {
683
+ return function (a, b, _indexOrKeyA, _indexOrKeyB, _parentA, _parentB, state) {
684
+ return compare(a, b, state);
685
+ };
686
+ }
687
+ /**
688
+ * Create the `isEqual` function used by the consuming application.
689
+ */
690
+ function createIsEqual({ circular, comparator, createState, equals, strict }) {
691
+ if (createState) {
692
+ return function isEqual(a, b) {
693
+ const { cache = circular ? new WeakMap() : undefined, meta } = createState();
694
+ return comparator(a, b, {
695
+ cache,
696
+ equals,
697
+ meta,
698
+ strict,
699
+ });
700
+ };
701
+ }
702
+ if (circular) {
703
+ return function isEqual(a, b) {
704
+ return comparator(a, b, {
705
+ cache: new WeakMap(),
706
+ equals,
707
+ meta: undefined,
708
+ strict,
709
+ });
710
+ };
711
+ }
712
+ const state = {
713
+ cache: undefined,
714
+ equals,
715
+ meta: undefined,
716
+ strict,
717
+ };
718
+ return function isEqual(a, b) {
719
+ return comparator(a, b, state);
720
+ };
721
+ }
722
+
723
+ /**
724
+ * Whether the items passed are deeply-equal in value.
725
+ */
726
+ const deepEqual = createCustomEqual();
727
+ /**
728
+ * Whether the items passed are deeply-equal in value based on strict comparison.
729
+ */
730
+ const strictDeepEqual = createCustomEqual({ strict: true });
731
+ /**
732
+ * Whether the items passed are deeply-equal in value, including circular references.
733
+ */
734
+ const circularDeepEqual = createCustomEqual({ circular: true });
735
+ /**
736
+ * Whether the items passed are deeply-equal in value, including circular references,
737
+ * based on strict comparison.
738
+ */
739
+ const strictCircularDeepEqual = createCustomEqual({
740
+ circular: true,
741
+ strict: true,
742
+ });
743
+ /**
744
+ * Whether the items passed are shallowly-equal in value.
745
+ */
746
+ const shallowEqual = createCustomEqual({
747
+ createInternalComparator: () => sameValueZeroEqual,
748
+ });
749
+ /**
750
+ * Whether the items passed are shallowly-equal in value based on strict comparison
751
+ */
752
+ const strictShallowEqual = createCustomEqual({
753
+ strict: true,
754
+ createInternalComparator: () => sameValueZeroEqual,
755
+ });
756
+ /**
757
+ * Whether the items passed are shallowly-equal in value, including circular references.
758
+ */
759
+ const circularShallowEqual = createCustomEqual({
760
+ circular: true,
761
+ createInternalComparator: () => sameValueZeroEqual,
762
+ });
763
+ /**
764
+ * Whether the items passed are shallowly-equal in value, including circular references,
765
+ * based on strict comparison.
766
+ */
767
+ const strictCircularShallowEqual = createCustomEqual({
768
+ circular: true,
769
+ createInternalComparator: () => sameValueZeroEqual,
770
+ strict: true,
771
+ });
772
+ /**
773
+ * Create a custom equality comparison method.
774
+ *
775
+ * This can be done to create very targeted comparisons in extreme hot-path scenarios
776
+ * where the standard methods are not performant enough, but can also be used to provide
777
+ * support for legacy environments that do not support expected features like
778
+ * `RegExp.prototype.flags` out of the box.
779
+ */
780
+ function createCustomEqual(options = {}) {
781
+ const { circular = false, createInternalComparator: createCustomInternalComparator, createState, strict = false, } = options;
782
+ const config = createEqualityComparatorConfig(options);
783
+ const comparator = createEqualityComparator(config);
784
+ const equals = createCustomInternalComparator
785
+ ? createCustomInternalComparator(comparator)
786
+ : createInternalEqualityComparator(comparator);
787
+ return createIsEqual({ circular, comparator, createState, equals, strict });
788
+ }
789
+
790
+ exports.circularDeepEqual = circularDeepEqual;
791
+ exports.circularShallowEqual = circularShallowEqual;
792
+ exports.createCustomEqual = createCustomEqual;
793
+ exports.deepEqual = deepEqual;
794
+ exports.sameValueZeroEqual = sameValueZeroEqual;
795
+ exports.shallowEqual = shallowEqual;
796
+ exports.strictCircularDeepEqual = strictCircularDeepEqual;
797
+ exports.strictCircularShallowEqual = strictCircularShallowEqual;
798
+ exports.strictDeepEqual = strictDeepEqual;
799
+ exports.strictShallowEqual = strictShallowEqual;
800
+
801
+ }));
802
+ //# sourceMappingURL=index.js.map