@vkzstudio/muza-ui 1.0.48 → 1.1.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 (713) hide show
  1. package/README.md +173 -171
  2. package/dist/Muza_BP_logo.svg +26 -26
  3. package/dist/components/Alert/Alert.d.ts +3 -1
  4. package/dist/components/Alert/Alert.d.ts.map +1 -1
  5. package/dist/components/Alert/Alert.js +28 -24
  6. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  7. package/dist/components/Calendar/Calendar.js +10 -11
  8. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  9. package/dist/components/Carousel/Carousel.d.ts +30 -3
  10. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  11. package/dist/components/Carousel/Carousel.js +112 -92
  12. package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
  13. package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
  14. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  15. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
  16. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -1
  17. package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
  18. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  19. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
  20. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  21. package/dist/components/Icons/CustomBadges.d.ts +5 -0
  22. package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
  23. package/dist/components/Icons/CustomBadges.js +216 -13
  24. package/dist/components/Input/Input.js +22 -32
  25. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
  26. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
  27. package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
  28. package/dist/components/Lightbox/Lightbox.js +70 -54
  29. package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
  30. package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
  31. package/dist/components/Lightbox/LightboxOverrides.css +5 -5
  32. package/dist/components/LoginScreen/LoginScreen.js +8 -8
  33. package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
  34. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
  35. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
  36. package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
  37. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  38. package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
  39. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
  40. package/dist/components/Popover/Popover.stories.d.ts +1 -0
  41. package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
  42. package/dist/components/Reorderable/Reorderable.js +74 -78
  43. package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
  44. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  45. package/dist/components/Select/Select.stories.d.ts +1 -0
  46. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  47. package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
  48. package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
  49. package/dist/components/SwipeButton/SwipeButton.js +37 -42
  50. package/dist/components/Tag/Tag.js +1 -1
  51. package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
  52. package/dist/components/TextEditor/TextEditor.js +5 -5
  53. package/dist/components/Toast/Toast.stories.d.ts +1 -0
  54. package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
  55. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
  56. package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  57. package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -1
  58. package/dist/fonts/Objectivity/OFL.txt +92 -92
  59. package/dist/globals.css +12 -12
  60. package/dist/index.js +194 -193
  61. package/dist/muza-ui.css +1 -1
  62. package/dist/styles/3rd-parties.css +5 -5
  63. package/dist/styles/animations.css +21 -21
  64. package/dist/styles/breakpoints.css +4 -4
  65. package/dist/styles/primitives.css +163 -163
  66. package/dist/styles/token-colors.css +1445 -1445
  67. package/dist/styles/token-sizes.css +1553 -1553
  68. package/dist/styles/typography.css +113 -113
  69. package/dist/styles/utilities.css +66 -66
  70. package/dist/styles/white-label.css +26 -26
  71. package/dist/translations/TranslationContext.js +22 -24
  72. package/dist/translations/locales/cs.d.ts.map +1 -1
  73. package/dist/translations/locales/cs.js +3 -0
  74. package/dist/translations/locales/en.d.ts.map +1 -1
  75. package/dist/translations/locales/en.js +3 -0
  76. package/dist/translations/locales/sk.d.ts.map +1 -1
  77. package/dist/translations/locales/sk.js +3 -0
  78. package/dist/translations/types.d.ts +8 -0
  79. package/dist/translations/types.d.ts.map +1 -1
  80. package/llms-full.md +584 -584
  81. package/llms.txt +37 -37
  82. package/package.json +165 -171
  83. package/dist/_virtual/_commonjsHelpers.js +0 -6
  84. package/dist/_virtual/constants.js +0 -5
  85. package/dist/_virtual/constants2.js +0 -4
  86. package/dist/_virtual/index.js +0 -7
  87. package/dist/_virtual/index2.js +0 -4
  88. package/dist/_virtual/index3.js +0 -4
  89. package/dist/_virtual/index4.js +0 -7
  90. package/dist/_virtual/index5.js +0 -5
  91. package/dist/_virtual/index6.js +0 -4
  92. package/dist/_virtual/index7.js +0 -4
  93. package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
  94. package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
  95. package/dist/_virtual/react-dom-server.browser.development.js +0 -4
  96. package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
  97. package/dist/_virtual/react-is.development.js +0 -4
  98. package/dist/_virtual/react-is.production.min.js +0 -4
  99. package/dist/_virtual/react-reconciler-constants.development.js +0 -4
  100. package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
  101. package/dist/_virtual/react-reconciler.development.js +0 -4
  102. package/dist/_virtual/scheduler.development.js +0 -4
  103. package/dist/_virtual/scheduler.production.min.js +0 -4
  104. package/dist/_virtual/server.browser.js +0 -5
  105. package/dist/_virtual/server.browser2.js +0 -4
  106. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  107. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  108. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  109. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  110. package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
  111. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
  112. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
  113. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
  114. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
  115. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
  116. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
  117. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
  118. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
  119. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
  120. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
  121. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
  122. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
  123. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
  124. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
  125. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
  126. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
  127. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
  128. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
  129. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
  130. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
  131. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
  132. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
  133. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
  134. package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
  135. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
  136. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
  137. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
  138. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
  139. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
  140. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
  141. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
  142. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
  143. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
  144. package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
  145. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
  146. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
  147. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
  148. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
  149. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
  150. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
  151. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
  152. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
  153. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
  154. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
  155. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
  156. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
  157. package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
  158. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
  159. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
  160. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
  161. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
  162. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
  163. package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
  164. package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
  165. package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
  166. package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
  167. package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
  168. package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
  169. package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
  170. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
  171. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
  172. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
  173. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
  174. package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
  175. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
  176. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
  177. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
  178. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
  179. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
  180. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
  181. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
  182. package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
  183. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
  184. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
  185. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
  186. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
  187. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
  188. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
  189. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
  190. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
  191. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
  192. package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
  193. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
  194. package/dist/node_modules/color/index.js +0 -262
  195. package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
  196. package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
  197. package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
  198. package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
  199. package/dist/node_modules/color-string/index.js +0 -105
  200. package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
  201. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  202. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  203. package/dist/node_modules/date-fns/constants.js +0 -4
  204. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  205. package/dist/node_modules/date-fns/isSameWeek.js +0 -14
  206. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  207. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  208. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  209. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  210. package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
  211. package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
  212. package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
  213. package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
  214. package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
  215. package/dist/node_modules/date-fns/locale/cs.js +0 -21
  216. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  217. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  218. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  219. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  220. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  221. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  222. package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
  223. package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
  224. package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
  225. package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
  226. package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
  227. package/dist/node_modules/date-fns/locale/sk.js +0 -21
  228. package/dist/node_modules/date-fns/startOfWeek.js +0 -11
  229. package/dist/node_modules/date-fns/toDate.js +0 -8
  230. package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
  231. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
  232. package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
  233. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
  234. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
  235. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
  236. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
  237. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
  238. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
  239. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
  240. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
  241. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
  242. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  243. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
  244. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  245. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  246. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  247. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
  248. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
  249. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
  250. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
  251. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  252. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  253. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  254. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  255. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  256. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  257. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  258. package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
  259. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  260. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  261. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  262. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
  263. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
  264. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
  265. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
  266. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  267. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
  268. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
  269. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
  270. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  271. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  272. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  273. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  274. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
  275. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  276. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  277. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
  278. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  279. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
  280. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  281. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  282. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
  283. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  284. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
  285. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  286. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  287. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  288. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  289. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
  290. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  291. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  292. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
  293. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  294. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  295. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
  296. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  297. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  298. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  299. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  300. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
  301. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  302. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  303. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  304. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  305. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  306. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
  307. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  308. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  309. package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
  310. package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
  311. package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
  312. package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
  313. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
  314. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
  315. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
  316. package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
  317. package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
  318. package/dist/node_modules/imask/esm/controls/input.js +0 -222
  319. package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
  320. package/dist/node_modules/imask/esm/core/action-details.js +0 -51
  321. package/dist/node_modules/imask/esm/core/change-details.js +0 -36
  322. package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
  323. package/dist/node_modules/imask/esm/core/holder.js +0 -6
  324. package/dist/node_modules/imask/esm/core/utils.js +0 -67
  325. package/dist/node_modules/imask/esm/index.js +0 -50
  326. package/dist/node_modules/imask/esm/masked/base.js +0 -252
  327. package/dist/node_modules/imask/esm/masked/date.js +0 -117
  328. package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
  329. package/dist/node_modules/imask/esm/masked/enum.js +0 -69
  330. package/dist/node_modules/imask/esm/masked/factory.js +0 -46
  331. package/dist/node_modules/imask/esm/masked/function.js +0 -23
  332. package/dist/node_modules/imask/esm/masked/number.js +0 -212
  333. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
  334. package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
  335. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
  336. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
  337. package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
  338. package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
  339. package/dist/node_modules/imask/esm/masked/range.js +0 -78
  340. package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
  341. package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
  342. package/dist/node_modules/its-fine/dist/index.js +0 -116
  343. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
  344. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
  345. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
  346. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
  347. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
  348. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
  349. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
  350. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
  351. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
  352. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
  353. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
  354. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
  355. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
  356. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
  357. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  358. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
  359. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  360. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
  361. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
  362. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
  363. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
  364. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
  365. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
  366. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
  367. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
  368. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
  369. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
  370. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  371. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
  372. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
  373. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  374. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
  375. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  376. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  377. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  378. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
  379. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
  380. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
  381. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
  382. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
  383. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  384. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  385. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  386. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
  387. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
  388. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
  389. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  390. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
  391. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
  392. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
  393. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
  394. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
  395. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  396. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
  397. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
  398. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  399. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
  400. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  401. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
  402. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  403. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
  404. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  405. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  406. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  407. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  408. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  409. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  410. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  411. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  412. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  413. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  414. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
  415. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
  416. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  417. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
  418. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
  419. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
  420. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  421. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
  422. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
  423. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  424. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
  425. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
  426. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
  427. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
  428. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
  429. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
  430. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
  431. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  432. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  433. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
  434. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  435. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
  436. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
  437. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
  438. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
  439. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  440. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
  441. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
  442. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  443. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
  444. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
  445. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  446. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
  447. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
  448. package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
  449. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  450. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
  451. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
  452. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  453. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  454. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
  455. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
  456. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  457. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
  458. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
  459. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
  460. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
  461. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
  462. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
  463. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
  464. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
  465. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
  466. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
  467. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
  468. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
  469. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  470. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
  471. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
  472. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
  473. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  474. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
  475. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
  476. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
  477. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
  478. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
  479. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
  480. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
  481. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  482. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
  483. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
  484. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
  485. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  486. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
  487. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  488. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
  489. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
  490. package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
  491. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
  492. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
  493. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
  494. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
  495. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
  496. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
  497. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
  498. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  499. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  500. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
  501. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
  502. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
  503. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
  504. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
  505. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
  506. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  507. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
  508. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
  509. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  510. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  511. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
  512. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  513. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
  514. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  515. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
  516. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  517. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  518. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
  519. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
  520. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
  521. package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
  522. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
  523. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
  524. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  525. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  526. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
  527. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  528. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
  529. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
  530. package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
  531. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
  532. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
  533. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
  534. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
  535. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
  536. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  537. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
  538. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
  539. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
  540. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  541. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  542. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
  543. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  544. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  545. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  546. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  547. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
  548. package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
  549. package/dist/node_modules/object-assign/index.js +0 -54
  550. package/dist/node_modules/orderedmap/dist/index.js +0 -103
  551. package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
  552. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  553. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  554. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  555. package/dist/node_modules/prop-types/index.js +0 -17
  556. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  557. package/dist/node_modules/prop-types/lib/has.js +0 -7
  558. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  559. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  560. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  561. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
  562. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
  563. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
  564. package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
  565. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
  566. package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
  567. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
  568. package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
  569. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
  570. package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
  571. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
  572. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  573. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  574. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  575. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  576. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
  577. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  578. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  579. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  580. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  581. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
  582. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  583. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  584. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  585. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  586. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  587. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  588. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  589. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  590. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  591. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  592. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  593. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  594. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  595. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  596. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  597. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  598. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  599. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  600. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  601. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  602. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  603. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  604. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  605. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  606. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  607. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  608. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  609. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  610. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  611. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  612. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  613. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  614. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  615. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  616. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  617. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  618. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  619. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  620. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  621. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  622. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  623. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  624. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  625. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  626. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  627. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  628. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  629. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  630. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  631. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  632. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  633. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  634. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  635. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  636. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  637. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  638. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  639. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  640. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  641. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  642. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  643. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  644. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  645. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  646. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  647. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  648. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  649. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  650. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  651. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  652. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  653. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  654. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  655. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  656. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  657. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  658. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  659. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  660. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  661. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  662. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  663. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  664. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  665. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
  666. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
  667. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
  668. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
  669. package/dist/node_modules/react-dom/server.browser.js +0 -15
  670. package/dist/node_modules/react-imask/esm/hook.js +0 -75
  671. package/dist/node_modules/react-imask/esm/input.js +0 -23
  672. package/dist/node_modules/react-imask/esm/mixin.js +0 -131
  673. package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
  674. package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
  675. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
  676. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
  677. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
  678. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
  679. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
  680. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
  681. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
  682. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
  683. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
  684. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
  685. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
  686. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
  687. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
  688. package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
  689. package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
  690. package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
  691. package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
  692. package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
  693. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
  694. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
  695. package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
  696. package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
  697. package/dist/node_modules/react-reconciler/constants.js +0 -10
  698. package/dist/node_modules/react-reconciler/index.js +0 -10
  699. package/dist/node_modules/react-use-measure/dist/index.js +0 -60
  700. package/dist/node_modules/rope-sequence/dist/index.js +0 -100
  701. package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
  702. package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
  703. package/dist/node_modules/scheduler/index.js +0 -10
  704. package/dist/node_modules/three/build/three.module.js +0 -20599
  705. package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
  706. package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
  707. package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
  708. package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
  709. package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
  710. package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
  711. package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
  712. package/dist/node_modules/w3c-keyname/index.js +0 -93
  713. package/dist/node_modules/zustand/esm/index.js +0 -61
@@ -1,822 +0,0 @@
1
- import { Slice as m, Fragment as B, Node as x, Mark as R } from "../../prosemirror-model/dist/index.js";
2
- import { ReplaceStep as P, ReplaceAroundStep as K, Transform as $ } from "../../prosemirror-transform/dist/index.js";
3
- const O = /* @__PURE__ */ Object.create(null);
4
- class l {
5
- /**
6
- Initialize a selection with the head and anchor and ranges. If no
7
- ranges are given, constructs a single range across `$anchor` and
8
- `$head`.
9
- */
10
- constructor(e, t, r) {
11
- this.$anchor = e, this.$head = t, this.ranges = r || [new q(e.min(t), e.max(t))];
12
- }
13
- /**
14
- The selection's anchor, as an unresolved position.
15
- */
16
- get anchor() {
17
- return this.$anchor.pos;
18
- }
19
- /**
20
- The selection's head.
21
- */
22
- get head() {
23
- return this.$head.pos;
24
- }
25
- /**
26
- The lower bound of the selection's main range.
27
- */
28
- get from() {
29
- return this.$from.pos;
30
- }
31
- /**
32
- The upper bound of the selection's main range.
33
- */
34
- get to() {
35
- return this.$to.pos;
36
- }
37
- /**
38
- The resolved lower bound of the selection's main range.
39
- */
40
- get $from() {
41
- return this.ranges[0].$from;
42
- }
43
- /**
44
- The resolved upper bound of the selection's main range.
45
- */
46
- get $to() {
47
- return this.ranges[0].$to;
48
- }
49
- /**
50
- Indicates whether the selection contains any content.
51
- */
52
- get empty() {
53
- let e = this.ranges;
54
- for (let t = 0; t < e.length; t++)
55
- if (e[t].$from.pos != e[t].$to.pos)
56
- return !1;
57
- return !0;
58
- }
59
- /**
60
- Get the content of this selection as a slice.
61
- */
62
- content() {
63
- return this.$from.doc.slice(this.from, this.to, !0);
64
- }
65
- /**
66
- Replace the selection with a slice or, if no slice is given,
67
- delete the selection. Will append to the given transaction.
68
- */
69
- replace(e, t = m.empty) {
70
- let r = t.content.lastChild, n = null;
71
- for (let a = 0; a < t.openEnd; a++)
72
- n = r, r = r.lastChild;
73
- let s = e.steps.length, o = this.ranges;
74
- for (let a = 0; a < o.length; a++) {
75
- let { $from: c, $to: u } = o[a], h = e.mapping.slice(s);
76
- e.replaceRange(h.map(c.pos), h.map(u.pos), a ? m.empty : t), a == 0 && E(e, s, (r ? r.isInline : n && n.isTextblock) ? -1 : 1);
77
- }
78
- }
79
- /**
80
- Replace the selection with the given node, appending the changes
81
- to the given transaction.
82
- */
83
- replaceWith(e, t) {
84
- let r = e.steps.length, n = this.ranges;
85
- for (let s = 0; s < n.length; s++) {
86
- let { $from: o, $to: a } = n[s], c = e.mapping.slice(r), u = c.map(o.pos), h = c.map(a.pos);
87
- s ? e.deleteRange(u, h) : (e.replaceRangeWith(u, h, t), E(e, r, t.isInline ? -1 : 1));
88
- }
89
- }
90
- /**
91
- Find a valid cursor or leaf node selection starting at the given
92
- position and searching back if `dir` is negative, and forward if
93
- positive. When `textOnly` is true, only consider cursor
94
- selections. Will return null when no valid selection position is
95
- found.
96
- */
97
- static findFrom(e, t, r = !1) {
98
- let n = e.parent.inlineContent ? new f(e) : g(e.node(0), e.parent, e.pos, e.index(), t, r);
99
- if (n)
100
- return n;
101
- for (let s = e.depth - 1; s >= 0; s--) {
102
- let o = t < 0 ? g(e.node(0), e.node(s), e.before(s + 1), e.index(s), t, r) : g(e.node(0), e.node(s), e.after(s + 1), e.index(s) + 1, t, r);
103
- if (o)
104
- return o;
105
- }
106
- return null;
107
- }
108
- /**
109
- Find a valid cursor or leaf node selection near the given
110
- position. Searches forward first by default, but if `bias` is
111
- negative, it will search backwards first.
112
- */
113
- static near(e, t = 1) {
114
- return this.findFrom(e, t) || this.findFrom(e, -t) || new d(e.node(0));
115
- }
116
- /**
117
- Find the cursor or leaf node selection closest to the start of
118
- the given document. Will return an
119
- [`AllSelection`](https://prosemirror.net/docs/ref/#state.AllSelection) if no valid position
120
- exists.
121
- */
122
- static atStart(e) {
123
- return g(e, e, 0, 0, 1) || new d(e);
124
- }
125
- /**
126
- Find the cursor or leaf node selection closest to the end of the
127
- given document.
128
- */
129
- static atEnd(e) {
130
- return g(e, e, e.content.size, e.childCount, -1) || new d(e);
131
- }
132
- /**
133
- Deserialize the JSON representation of a selection. Must be
134
- implemented for custom classes (as a static class method).
135
- */
136
- static fromJSON(e, t) {
137
- if (!t || !t.type)
138
- throw new RangeError("Invalid input for Selection.fromJSON");
139
- let r = O[t.type];
140
- if (!r)
141
- throw new RangeError(`No selection type ${t.type} defined`);
142
- return r.fromJSON(e, t);
143
- }
144
- /**
145
- To be able to deserialize selections from JSON, custom selection
146
- classes must register themselves with an ID string, so that they
147
- can be disambiguated. Try to pick something that's unlikely to
148
- clash with classes from other modules.
149
- */
150
- static jsonID(e, t) {
151
- if (e in O)
152
- throw new RangeError("Duplicate use of selection JSON ID " + e);
153
- return O[e] = t, t.prototype.jsonID = e, t;
154
- }
155
- /**
156
- Get a [bookmark](https://prosemirror.net/docs/ref/#state.SelectionBookmark) for this selection,
157
- which is a value that can be mapped without having access to a
158
- current document, and later resolved to a real selection for a
159
- given document again. (This is used mostly by the history to
160
- track and restore old selections.) The default implementation of
161
- this method just converts the selection to a text selection and
162
- returns the bookmark for that.
163
- */
164
- getBookmark() {
165
- return f.between(this.$anchor, this.$head).getBookmark();
166
- }
167
- }
168
- l.prototype.visible = !0;
169
- class q {
170
- /**
171
- Create a range.
172
- */
173
- constructor(e, t) {
174
- this.$from = e, this.$to = t;
175
- }
176
- }
177
- let I = !1;
178
- function T(i) {
179
- !I && !i.parent.inlineContent && (I = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + i.parent.type.name + ")"));
180
- }
181
- class f extends l {
182
- /**
183
- Construct a text selection between the given points.
184
- */
185
- constructor(e, t = e) {
186
- T(e), T(t), super(e, t);
187
- }
188
- /**
189
- Returns a resolved position if this is a cursor selection (an
190
- empty text selection), and null otherwise.
191
- */
192
- get $cursor() {
193
- return this.$anchor.pos == this.$head.pos ? this.$head : null;
194
- }
195
- map(e, t) {
196
- let r = e.resolve(t.map(this.head));
197
- if (!r.parent.inlineContent)
198
- return l.near(r);
199
- let n = e.resolve(t.map(this.anchor));
200
- return new f(n.parent.inlineContent ? n : r, r);
201
- }
202
- replace(e, t = m.empty) {
203
- if (super.replace(e, t), t == m.empty) {
204
- let r = this.$from.marksAcross(this.$to);
205
- r && e.ensureMarks(r);
206
- }
207
- }
208
- eq(e) {
209
- return e instanceof f && e.anchor == this.anchor && e.head == this.head;
210
- }
211
- getBookmark() {
212
- return new y(this.anchor, this.head);
213
- }
214
- toJSON() {
215
- return { type: "text", anchor: this.anchor, head: this.head };
216
- }
217
- /**
218
- @internal
219
- */
220
- static fromJSON(e, t) {
221
- if (typeof t.anchor != "number" || typeof t.head != "number")
222
- throw new RangeError("Invalid input for TextSelection.fromJSON");
223
- return new f(e.resolve(t.anchor), e.resolve(t.head));
224
- }
225
- /**
226
- Create a text selection from non-resolved positions.
227
- */
228
- static create(e, t, r = t) {
229
- let n = e.resolve(t);
230
- return new this(n, r == t ? n : e.resolve(r));
231
- }
232
- /**
233
- Return a text selection that spans the given positions or, if
234
- they aren't text positions, find a text selection near them.
235
- `bias` determines whether the method searches forward (default)
236
- or backwards (negative number) first. Will fall back to calling
237
- [`Selection.near`](https://prosemirror.net/docs/ref/#state.Selection^near) when the document
238
- doesn't contain a valid text position.
239
- */
240
- static between(e, t, r) {
241
- let n = e.pos - t.pos;
242
- if ((!r || n) && (r = n >= 0 ? 1 : -1), !t.parent.inlineContent) {
243
- let s = l.findFrom(t, r, !0) || l.findFrom(t, -r, !0);
244
- if (s)
245
- t = s.$head;
246
- else
247
- return l.near(t, r);
248
- }
249
- return e.parent.inlineContent || (n == 0 ? e = t : (e = (l.findFrom(e, -r, !0) || l.findFrom(e, r, !0)).$anchor, e.pos < t.pos != n < 0 && (e = t))), new f(e, t);
250
- }
251
- }
252
- l.jsonID("text", f);
253
- class y {
254
- constructor(e, t) {
255
- this.anchor = e, this.head = t;
256
- }
257
- map(e) {
258
- return new y(e.map(this.anchor), e.map(this.head));
259
- }
260
- resolve(e) {
261
- return f.between(e.resolve(this.anchor), e.resolve(this.head));
262
- }
263
- }
264
- class p extends l {
265
- /**
266
- Create a node selection. Does not verify the validity of its
267
- argument.
268
- */
269
- constructor(e) {
270
- let t = e.nodeAfter, r = e.node(0).resolve(e.pos + t.nodeSize);
271
- super(e, r), this.node = t;
272
- }
273
- map(e, t) {
274
- let { deleted: r, pos: n } = t.mapResult(this.anchor), s = e.resolve(n);
275
- return r ? l.near(s) : new p(s);
276
- }
277
- content() {
278
- return new m(B.from(this.node), 0, 0);
279
- }
280
- eq(e) {
281
- return e instanceof p && e.anchor == this.anchor;
282
- }
283
- toJSON() {
284
- return { type: "node", anchor: this.anchor };
285
- }
286
- getBookmark() {
287
- return new J(this.anchor);
288
- }
289
- /**
290
- @internal
291
- */
292
- static fromJSON(e, t) {
293
- if (typeof t.anchor != "number")
294
- throw new RangeError("Invalid input for NodeSelection.fromJSON");
295
- return new p(e.resolve(t.anchor));
296
- }
297
- /**
298
- Create a node selection from non-resolved positions.
299
- */
300
- static create(e, t) {
301
- return new p(e.resolve(t));
302
- }
303
- /**
304
- Determines whether the given node may be selected as a node
305
- selection.
306
- */
307
- static isSelectable(e) {
308
- return !e.isText && e.type.spec.selectable !== !1;
309
- }
310
- }
311
- p.prototype.visible = !1;
312
- l.jsonID("node", p);
313
- class J {
314
- constructor(e) {
315
- this.anchor = e;
316
- }
317
- map(e) {
318
- let { deleted: t, pos: r } = e.mapResult(this.anchor);
319
- return t ? new y(r, r) : new J(r);
320
- }
321
- resolve(e) {
322
- let t = e.resolve(this.anchor), r = t.nodeAfter;
323
- return r && p.isSelectable(r) ? new p(t) : l.near(t);
324
- }
325
- }
326
- class d extends l {
327
- /**
328
- Create an all-selection over the given document.
329
- */
330
- constructor(e) {
331
- super(e.resolve(0), e.resolve(e.content.size));
332
- }
333
- replace(e, t = m.empty) {
334
- if (t == m.empty) {
335
- e.delete(0, e.doc.content.size);
336
- let r = l.atStart(e.doc);
337
- r.eq(e.selection) || e.setSelection(r);
338
- } else
339
- super.replace(e, t);
340
- }
341
- toJSON() {
342
- return { type: "all" };
343
- }
344
- /**
345
- @internal
346
- */
347
- static fromJSON(e) {
348
- return new d(e);
349
- }
350
- map(e) {
351
- return new d(e);
352
- }
353
- eq(e) {
354
- return e instanceof d;
355
- }
356
- getBookmark() {
357
- return z;
358
- }
359
- }
360
- l.jsonID("all", d);
361
- const z = {
362
- map() {
363
- return this;
364
- },
365
- resolve(i) {
366
- return new d(i);
367
- }
368
- };
369
- function g(i, e, t, r, n, s = !1) {
370
- if (e.inlineContent)
371
- return f.create(i, t);
372
- for (let o = r - (n > 0 ? 0 : 1); n > 0 ? o < e.childCount : o >= 0; o += n) {
373
- let a = e.child(o);
374
- if (a.isAtom) {
375
- if (!s && p.isSelectable(a))
376
- return p.create(i, t - (n < 0 ? a.nodeSize : 0));
377
- } else {
378
- let c = g(i, a, t + n, n < 0 ? a.childCount : 0, n, s);
379
- if (c)
380
- return c;
381
- }
382
- t += a.nodeSize * n;
383
- }
384
- return null;
385
- }
386
- function E(i, e, t) {
387
- let r = i.steps.length - 1;
388
- if (r < e)
389
- return;
390
- let n = i.steps[r];
391
- if (!(n instanceof P || n instanceof K))
392
- return;
393
- let s = i.mapping.maps[r], o;
394
- s.forEach((a, c, u, h) => {
395
- o == null && (o = h);
396
- }), i.setSelection(l.near(i.doc.resolve(o), t));
397
- }
398
- const b = 1, k = 2, F = 4;
399
- class W extends $ {
400
- /**
401
- @internal
402
- */
403
- constructor(e) {
404
- super(e.doc), this.curSelectionFor = 0, this.updated = 0, this.meta = /* @__PURE__ */ Object.create(null), this.time = Date.now(), this.curSelection = e.selection, this.storedMarks = e.storedMarks;
405
- }
406
- /**
407
- The transaction's current selection. This defaults to the editor
408
- selection [mapped](https://prosemirror.net/docs/ref/#state.Selection.map) through the steps in the
409
- transaction, but can be overwritten with
410
- [`setSelection`](https://prosemirror.net/docs/ref/#state.Transaction.setSelection).
411
- */
412
- get selection() {
413
- return this.curSelectionFor < this.steps.length && (this.curSelection = this.curSelection.map(this.doc, this.mapping.slice(this.curSelectionFor)), this.curSelectionFor = this.steps.length), this.curSelection;
414
- }
415
- /**
416
- Update the transaction's current selection. Will determine the
417
- selection that the editor gets when the transaction is applied.
418
- */
419
- setSelection(e) {
420
- if (e.$from.doc != this.doc)
421
- throw new RangeError("Selection passed to setSelection must point at the current document");
422
- return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | b) & ~k, this.storedMarks = null, this;
423
- }
424
- /**
425
- Whether the selection was explicitly updated by this transaction.
426
- */
427
- get selectionSet() {
428
- return (this.updated & b) > 0;
429
- }
430
- /**
431
- Set the current stored marks.
432
- */
433
- setStoredMarks(e) {
434
- return this.storedMarks = e, this.updated |= k, this;
435
- }
436
- /**
437
- Make sure the current stored marks or, if that is null, the marks
438
- at the selection, match the given set of marks. Does nothing if
439
- this is already the case.
440
- */
441
- ensureMarks(e) {
442
- return R.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
443
- }
444
- /**
445
- Add a mark to the set of stored marks.
446
- */
447
- addStoredMark(e) {
448
- return this.ensureMarks(e.addToSet(this.storedMarks || this.selection.$head.marks()));
449
- }
450
- /**
451
- Remove a mark or mark type from the set of stored marks.
452
- */
453
- removeStoredMark(e) {
454
- return this.ensureMarks(e.removeFromSet(this.storedMarks || this.selection.$head.marks()));
455
- }
456
- /**
457
- Whether the stored marks were explicitly set for this transaction.
458
- */
459
- get storedMarksSet() {
460
- return (this.updated & k) > 0;
461
- }
462
- /**
463
- @internal
464
- */
465
- addStep(e, t) {
466
- super.addStep(e, t), this.updated = this.updated & ~k, this.storedMarks = null;
467
- }
468
- /**
469
- Update the timestamp for the transaction.
470
- */
471
- setTime(e) {
472
- return this.time = e, this;
473
- }
474
- /**
475
- Replace the current selection with the given slice.
476
- */
477
- replaceSelection(e) {
478
- return this.selection.replace(this, e), this;
479
- }
480
- /**
481
- Replace the selection with the given node. When `inheritMarks` is
482
- true and the content is inline, it inherits the marks from the
483
- place where it is inserted.
484
- */
485
- replaceSelectionWith(e, t = !0) {
486
- let r = this.selection;
487
- return t && (e = e.mark(this.storedMarks || (r.empty ? r.$from.marks() : r.$from.marksAcross(r.$to) || R.none))), r.replaceWith(this, e), this;
488
- }
489
- /**
490
- Delete the selection.
491
- */
492
- deleteSelection() {
493
- return this.selection.replace(this), this;
494
- }
495
- /**
496
- Replace the given range, or the selection if no range is given,
497
- with a text node containing the given string.
498
- */
499
- insertText(e, t, r) {
500
- let n = this.doc.type.schema;
501
- if (t == null)
502
- return e ? this.replaceSelectionWith(n.text(e), !0) : this.deleteSelection();
503
- {
504
- if (r == null && (r = t), !e)
505
- return this.deleteRange(t, r);
506
- let s = this.storedMarks;
507
- if (!s) {
508
- let o = this.doc.resolve(t);
509
- s = r == t ? o.marks() : o.marksAcross(this.doc.resolve(r));
510
- }
511
- return this.replaceRangeWith(t, r, n.text(e, s)), !this.selection.empty && this.selection.to == t + e.length && this.setSelection(l.near(this.selection.$to)), this;
512
- }
513
- }
514
- /**
515
- Store a metadata property in this transaction, keyed either by
516
- name or by plugin.
517
- */
518
- setMeta(e, t) {
519
- return this.meta[typeof e == "string" ? e : e.key] = t, this;
520
- }
521
- /**
522
- Retrieve a metadata property for a given name or plugin.
523
- */
524
- getMeta(e) {
525
- return this.meta[typeof e == "string" ? e : e.key];
526
- }
527
- /**
528
- Returns true if this transaction doesn't contain any metadata,
529
- and can thus safely be extended.
530
- */
531
- get isGeneric() {
532
- for (let e in this.meta)
533
- return !1;
534
- return !0;
535
- }
536
- /**
537
- Indicate that the editor should scroll the selection into view
538
- when updated to the state produced by this transaction.
539
- */
540
- scrollIntoView() {
541
- return this.updated |= F, this;
542
- }
543
- /**
544
- True when this transaction has had `scrollIntoView` called on it.
545
- */
546
- get scrolledIntoView() {
547
- return (this.updated & F) > 0;
548
- }
549
- }
550
- function D(i, e) {
551
- return !e || !i ? i : i.bind(e);
552
- }
553
- class S {
554
- constructor(e, t, r) {
555
- this.name = e, this.init = D(t.init, r), this.apply = D(t.apply, r);
556
- }
557
- }
558
- const L = [
559
- new S("doc", {
560
- init(i) {
561
- return i.doc || i.schema.topNodeType.createAndFill();
562
- },
563
- apply(i) {
564
- return i.doc;
565
- }
566
- }),
567
- new S("selection", {
568
- init(i, e) {
569
- return i.selection || l.atStart(e.doc);
570
- },
571
- apply(i) {
572
- return i.selection;
573
- }
574
- }),
575
- new S("storedMarks", {
576
- init(i) {
577
- return i.storedMarks || null;
578
- },
579
- apply(i, e, t, r) {
580
- return r.selection.$cursor ? i.storedMarks : null;
581
- }
582
- }),
583
- new S("scrollToSelection", {
584
- init() {
585
- return 0;
586
- },
587
- apply(i, e) {
588
- return i.scrolledIntoView ? e + 1 : e;
589
- }
590
- })
591
- ];
592
- class v {
593
- constructor(e, t) {
594
- this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = L.slice(), t && t.forEach((r) => {
595
- if (this.pluginsByKey[r.key])
596
- throw new RangeError("Adding different instances of a keyed plugin (" + r.key + ")");
597
- this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new S(r.key, r.spec.state, r));
598
- });
599
- }
600
- }
601
- class w {
602
- /**
603
- @internal
604
- */
605
- constructor(e) {
606
- this.config = e;
607
- }
608
- /**
609
- The schema of the state's document.
610
- */
611
- get schema() {
612
- return this.config.schema;
613
- }
614
- /**
615
- The plugins that are active in this state.
616
- */
617
- get plugins() {
618
- return this.config.plugins;
619
- }
620
- /**
621
- Apply the given transaction to produce a new state.
622
- */
623
- apply(e) {
624
- return this.applyTransaction(e).state;
625
- }
626
- /**
627
- @internal
628
- */
629
- filterTransaction(e, t = -1) {
630
- for (let r = 0; r < this.config.plugins.length; r++)
631
- if (r != t) {
632
- let n = this.config.plugins[r];
633
- if (n.spec.filterTransaction && !n.spec.filterTransaction.call(n, e, this))
634
- return !1;
635
- }
636
- return !0;
637
- }
638
- /**
639
- Verbose variant of [`apply`](https://prosemirror.net/docs/ref/#state.EditorState.apply) that
640
- returns the precise transactions that were applied (which might
641
- be influenced by the [transaction
642
- hooks](https://prosemirror.net/docs/ref/#state.PluginSpec.filterTransaction) of
643
- plugins) along with the new state.
644
- */
645
- applyTransaction(e) {
646
- if (!this.filterTransaction(e))
647
- return { state: this, transactions: [] };
648
- let t = [e], r = this.applyInner(e), n = null;
649
- for (; ; ) {
650
- let s = !1;
651
- for (let o = 0; o < this.config.plugins.length; o++) {
652
- let a = this.config.plugins[o];
653
- if (a.spec.appendTransaction) {
654
- let c = n ? n[o].n : 0, u = n ? n[o].state : this, h = c < t.length && a.spec.appendTransaction.call(a, c ? t.slice(c) : t, u, r);
655
- if (h && r.filterTransaction(h, o)) {
656
- if (h.setMeta("appendedTransaction", e), !n) {
657
- n = [];
658
- for (let M = 0; M < this.config.plugins.length; M++)
659
- n.push(M < o ? { state: r, n: t.length } : { state: this, n: 0 });
660
- }
661
- t.push(h), r = r.applyInner(h), s = !0;
662
- }
663
- n && (n[o] = { state: r, n: t.length });
664
- }
665
- }
666
- if (!s)
667
- return { state: r, transactions: t };
668
- }
669
- }
670
- /**
671
- @internal
672
- */
673
- applyInner(e) {
674
- if (!e.before.eq(this.doc))
675
- throw new RangeError("Applying a mismatched transaction");
676
- let t = new w(this.config), r = this.config.fields;
677
- for (let n = 0; n < r.length; n++) {
678
- let s = r[n];
679
- t[s.name] = s.apply(e, this[s.name], this, t);
680
- }
681
- return t;
682
- }
683
- /**
684
- Accessor that constructs and returns a new [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state.
685
- */
686
- get tr() {
687
- return new W(this);
688
- }
689
- /**
690
- Create a new state.
691
- */
692
- static create(e) {
693
- let t = new v(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new w(t);
694
- for (let n = 0; n < t.fields.length; n++)
695
- r[t.fields[n].name] = t.fields[n].init(e, r);
696
- return r;
697
- }
698
- /**
699
- Create a new state based on this one, but with an adjusted set
700
- of active plugins. State fields that exist in both sets of
701
- plugins are kept unchanged. Those that no longer exist are
702
- dropped, and those that are new are initialized using their
703
- [`init`](https://prosemirror.net/docs/ref/#state.StateField.init) method, passing in the new
704
- configuration object..
705
- */
706
- reconfigure(e) {
707
- let t = new v(this.schema, e.plugins), r = t.fields, n = new w(t);
708
- for (let s = 0; s < r.length; s++) {
709
- let o = r[s].name;
710
- n[o] = this.hasOwnProperty(o) ? this[o] : r[s].init(e, n);
711
- }
712
- return n;
713
- }
714
- /**
715
- Serialize this state to JSON. If you want to serialize the state
716
- of plugins, pass an object mapping property names to use in the
717
- resulting JSON object to plugin objects. The argument may also be
718
- a string or number, in which case it is ignored, to support the
719
- way `JSON.stringify` calls `toString` methods.
720
- */
721
- toJSON(e) {
722
- let t = { doc: this.doc.toJSON(), selection: this.selection.toJSON() };
723
- if (this.storedMarks && (t.storedMarks = this.storedMarks.map((r) => r.toJSON())), e && typeof e == "object")
724
- for (let r in e) {
725
- if (r == "doc" || r == "selection")
726
- throw new RangeError("The JSON fields `doc` and `selection` are reserved");
727
- let n = e[r], s = n.spec.state;
728
- s && s.toJSON && (t[r] = s.toJSON.call(n, this[n.key]));
729
- }
730
- return t;
731
- }
732
- /**
733
- Deserialize a JSON representation of a state. `config` should
734
- have at least a `schema` field, and should contain array of
735
- plugins to initialize the state with. `pluginFields` can be used
736
- to deserialize the state of plugins, by associating plugin
737
- instances with the property names they use in the JSON object.
738
- */
739
- static fromJSON(e, t, r) {
740
- if (!t)
741
- throw new RangeError("Invalid input for EditorState.fromJSON");
742
- if (!e.schema)
743
- throw new RangeError("Required config field 'schema' missing");
744
- let n = new v(e.schema, e.plugins), s = new w(n);
745
- return n.fields.forEach((o) => {
746
- if (o.name == "doc")
747
- s.doc = x.fromJSON(e.schema, t.doc);
748
- else if (o.name == "selection")
749
- s.selection = l.fromJSON(s.doc, t.selection);
750
- else if (o.name == "storedMarks")
751
- t.storedMarks && (s.storedMarks = t.storedMarks.map(e.schema.markFromJSON));
752
- else {
753
- if (r)
754
- for (let a in r) {
755
- let c = r[a], u = c.spec.state;
756
- if (c.key == o.name && u && u.fromJSON && Object.prototype.hasOwnProperty.call(t, a)) {
757
- s[o.name] = u.fromJSON.call(c, e, t[a], s);
758
- return;
759
- }
760
- }
761
- s[o.name] = o.init(e, s);
762
- }
763
- }), s;
764
- }
765
- }
766
- function A(i, e, t) {
767
- for (let r in i) {
768
- let n = i[r];
769
- n instanceof Function ? n = n.bind(e) : r == "handleDOMEvents" && (n = A(n, e, {})), t[r] = n;
770
- }
771
- return t;
772
- }
773
- class G {
774
- /**
775
- Create a plugin.
776
- */
777
- constructor(e) {
778
- this.spec = e, this.props = {}, e.props && A(e.props, this, this.props), this.key = e.key ? e.key.key : C("plugin");
779
- }
780
- /**
781
- Extract the plugin's state field from an editor state.
782
- */
783
- getState(e) {
784
- return e[this.key];
785
- }
786
- }
787
- const N = /* @__PURE__ */ Object.create(null);
788
- function C(i) {
789
- return i in N ? i + "$" + ++N[i] : (N[i] = 0, i + "$");
790
- }
791
- class H {
792
- /**
793
- Create a plugin key.
794
- */
795
- constructor(e = "key") {
796
- this.key = C(e);
797
- }
798
- /**
799
- Get the active plugin with this key, if any, from an editor
800
- state.
801
- */
802
- get(e) {
803
- return e.config.pluginsByKey[this.key];
804
- }
805
- /**
806
- Get the plugin's state from an editor state.
807
- */
808
- getState(e) {
809
- return e[this.key];
810
- }
811
- }
812
- export {
813
- d as AllSelection,
814
- w as EditorState,
815
- p as NodeSelection,
816
- G as Plugin,
817
- H as PluginKey,
818
- l as Selection,
819
- q as SelectionRange,
820
- f as TextSelection,
821
- W as Transaction
822
- };