@code0-tech/pictor 0.9.2 → 0.10.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 (292) hide show
  1. package/dist/assets/components/island/Island.style.css +1 -0
  2. package/dist/assets/components/resizable/Resizable.style.css +1 -1
  3. package/dist/components/breadcrumb/Breadcrumb.js +7 -7
  4. package/dist/components/button/Button.js +11 -11
  5. package/dist/components/data-table/DataTable.js +15 -15
  6. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +15 -15
  7. package/dist/components/editor/Editor.js +13 -13
  8. package/dist/components/form/CheckboxInput.js +4 -4
  9. package/dist/components/form/EmailInput.js +9 -9
  10. package/dist/components/form/InputContentEditable.hook.js +11 -11
  11. package/dist/components/form/InputWrapper.js +15 -15
  12. package/dist/components/form/NumberInput.js +9 -9
  13. package/dist/components/form/PasswordInput.js +4 -4
  14. package/dist/components/form/SwitchInput.js +7 -7
  15. package/dist/components/form/TextAreaInput.js +6 -6
  16. package/dist/components/form/TextInput.js +6 -6
  17. package/dist/components/form/useForm.js +2 -2
  18. package/dist/components/fullscreen/FullScreen.js +2 -2
  19. package/dist/components/gantt/GanttGroup.js +15 -15
  20. package/dist/components/island/Island.d.ts +6 -0
  21. package/dist/components/island/Island.hook.d.ts +19 -0
  22. package/dist/components/island/Island.hook.js +58 -0
  23. package/dist/components/island/Island.js +71 -0
  24. package/dist/components/progress/Progress.js +18 -18
  25. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
  26. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
  27. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
  28. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
  29. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
  30. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
  31. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
  32. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
  33. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
  34. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
  35. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
  36. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
  37. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
  38. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
  39. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
  40. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
  41. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
  42. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
  43. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
  44. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
  45. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
  46. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
  47. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
  48. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  49. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
  50. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
  51. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  52. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
  53. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
  54. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
  55. package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
  56. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
  57. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
  58. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
  59. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  60. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
  61. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
  62. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
  63. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
  64. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  65. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
  66. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  67. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
  68. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
  69. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
  70. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
  71. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
  72. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
  73. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
  74. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
  75. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
  76. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
  77. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
  78. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
  79. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
  80. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
  81. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
  82. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
  83. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
  84. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
  85. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
  86. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
  87. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
  88. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
  89. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
  90. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
  91. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
  92. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
  93. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
  94. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
  95. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  96. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
  97. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
  98. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
  99. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
  100. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
  101. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
  102. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
  103. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
  104. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
  105. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
  106. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
  107. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
  108. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  109. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
  110. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
  111. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
  112. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
  113. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
  114. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
  115. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
  116. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  117. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  118. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  119. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
  120. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
  121. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
  122. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
  123. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
  124. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
  125. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  126. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
  127. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
  128. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
  129. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  130. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  131. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
  132. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
  133. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
  134. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
  135. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
  136. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
  137. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
  138. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
  139. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
  140. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
  141. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  142. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
  143. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
  144. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
  145. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
  146. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
  147. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
  148. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
  149. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
  150. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
  151. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  152. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
  153. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
  154. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
  155. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
  156. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
  157. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
  158. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
  159. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
  160. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
  161. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  162. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
  163. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
  164. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
  165. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
  166. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
  167. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
  168. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
  169. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  170. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
  171. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
  172. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
  173. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
  174. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
  175. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
  176. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
  177. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  178. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  179. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
  180. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  181. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
  182. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  183. package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
  184. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
  185. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
  186. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
  187. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
  188. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
  189. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
  190. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
  191. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
  192. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
  193. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
  194. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
  195. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
  196. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
  197. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
  198. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
  199. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
  200. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
  201. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
  202. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
  203. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
  204. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
  205. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
  206. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
  207. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
  208. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  209. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
  210. package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
  211. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
  212. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
  213. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
  214. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
  215. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
  216. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
  217. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
  218. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
  219. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
  220. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
  221. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
  222. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
  223. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
  224. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
  225. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
  226. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
  227. package/dist/node_modules/motion-dom/dist/es/value/index.js +212 -0
  228. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
  229. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
  230. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
  231. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
  232. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
  233. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
  234. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  235. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
  236. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
  237. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
  238. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
  239. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
  240. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
  241. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
  242. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
  243. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  244. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
  245. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
  246. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
  247. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
  248. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
  249. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
  250. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
  251. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
  252. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
  253. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
  254. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
  255. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
  256. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
  257. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
  258. package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
  259. package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
  260. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
  261. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  262. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  263. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
  264. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  265. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
  266. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
  267. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
  268. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
  269. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
  270. package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
  271. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
  272. package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
  273. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
  274. package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
  275. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
  276. package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
  277. package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
  278. package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
  279. package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
  280. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
  281. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
  282. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
  283. package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
  284. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
  285. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
  286. package/dist/utils/reactiveArrayService.js +4 -4
  287. package/package.json +9 -6
  288. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -25
  289. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +0 -81
  290. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.js +0 -55
  291. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
  292. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +0 -58
@@ -0,0 +1 @@
1
+ .island{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;border-radius:1rem;cursor:pointer;overflow:hidden;max-width:max-content;min-height:max-content}.island *{box-sizing:border-box}.island__icon{--path-offset: 300%;display:inline-flex;padding-left:.7rem}.island__icon svg path{stroke-dasharray:300%;stroke-dashoffset:inherit}.island__message{padding-right:.7rem}.island__content{padding:.7rem;position:relative;width:100%;max-width:100%;height:100%;overflow:hidden}
@@ -1 +1 @@
1
- .d-resizable__panel{color:#fff;position:relative;background:transparent;overflow:hidden;z-index:0}.d-resizable__panel{border:none}.d-resizable__handle{position:relative;display:flex;align-items:center;justify-content:center;background:transparent;outline:none}.d-resizable__handle[aria-orientation=vertical]{width:.7rem;height:100%}.d-resizable__handle[aria-orientation=horizontal]{height:.7rem;width:100%}.d-resizable__handle[data-separator=hover] .d-resizable__handle-bar{background:#2c2b37}.d-resizable__handle[data-separator=active] .d-resizable__handle-bar{background:#393743}.d-resizable__handle-bar{z-index:1;position:relative;border-radius:.7rem;height:10%;padding:.2rem}.d-resizable__handle-bar{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.d-resizable__handle-bar:hover{background:#2c2b37;box-shadow:inset 0 1px 1px #bfbfbf1a}.d-resizable__handle-bar:active,.d-resizable__handle-bar:focus,.d-resizable__handle-bar[aria-selected=true],.d-resizable__handle-bar[data-state=open]{background:#393743;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.d-resizable__handle-bar{box-shadow:none!important}.d-resizable__panel--primary{background:#070514;border:none}.d-resizable__panel--secondary{background:#191825;border:none}.d-resizable__panel--tertiary{background:#201e2c;border:none}.d-resizable__panel--success{background:#0a1814;border:none}.d-resizable__panel--warning{background:#201813;border:none}.d-resizable__panel--error{background:#1c0516;border:none}.d-resizable__panel--info{background:#121e24;border:none}
1
+ .d-resizable__panel{color:#fff;position:relative;background:transparent;overflow:hidden;z-index:0}.d-resizable__panel{border:none}.d-resizable__handle{position:relative;display:flex;align-items:center;justify-content:center;background:transparent;outline:none}.d-resizable__handle[aria-orientation=vertical]{width:.7rem;height:100%}.d-resizable__handle[aria-orientation=vertical] .d-resizable__handle-bar{height:10%}.d-resizable__handle[aria-orientation=horizontal]{height:.7rem;width:100%}.d-resizable__handle[aria-orientation=horizontal] .d-resizable__handle-bar{width:10%}.d-resizable__handle[data-separator=hover] .d-resizable__handle-bar{background:#2c2b37}.d-resizable__handle[data-separator=active] .d-resizable__handle-bar{background:#393743}.d-resizable__handle-bar{z-index:1;position:relative;border-radius:.7rem;padding:.2rem}.d-resizable__handle-bar{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.d-resizable__handle-bar:hover{background:#2c2b37;box-shadow:inset 0 1px 1px #bfbfbf1a}.d-resizable__handle-bar:active,.d-resizable__handle-bar:focus,.d-resizable__handle-bar[aria-selected=true],.d-resizable__handle-bar[data-state=open]{background:#393743;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.d-resizable__handle-bar{box-shadow:none!important}.d-resizable__panel--primary{background:#070514;border:none}.d-resizable__panel--secondary{background:#191825;border:none}.d-resizable__panel--tertiary{background:#201e2c;border:none}.d-resizable__panel--success{background:#0a1814;border:none}.d-resizable__panel--warning{background:#201813;border:none}.d-resizable__panel--error{background:#1c0516;border:none}.d-resizable__panel--info{background:#121e24;border:none}
@@ -5,17 +5,17 @@ import { mergeComponentProps as l } from "../../utils/component.js";
5
5
  import "js-md5";
6
6
  import '../../assets/components/breadcrumb/Breadcrumb.style.css';/* empty css */
7
7
  import { IconChevronRight as a } from "@tabler/icons-react";
8
- const g = (m) => {
8
+ const j = (m) => {
9
9
  const {
10
10
  splitter: n = /* @__PURE__ */ r(a, { size: 16 }),
11
- children: e,
11
+ children: o,
12
12
  ...i
13
- } = m, c = t.Children.count(e);
14
- return /* @__PURE__ */ r("div", { ...l("breadcrumb", i), children: t.Children.map(e, (p, o) => /* @__PURE__ */ s(t.Fragment, { children: [
13
+ } = m, c = t.Children.count(o);
14
+ return /* @__PURE__ */ r("div", { ...l("breadcrumb", i), children: t.Children.map(o, (p, e) => /* @__PURE__ */ s(t.Fragment, { children: [
15
15
  p,
16
- o < c - 1 ? /* @__PURE__ */ r("span", { className: "breadcrumb__splitter", children: n }) : null
17
- ] }, o)) });
16
+ e < c - 1 ? /* @__PURE__ */ r("span", { className: "breadcrumb__splitter", children: n }) : null
17
+ ] }, e)) });
18
18
  };
19
19
  export {
20
- g as Breadcrumb
20
+ j as Breadcrumb
21
21
  };
@@ -5,28 +5,28 @@ import z from "react";
5
5
  import "../../utils/contextStore.js";
6
6
  import { mergeComponentProps as S } from "../../utils/component.js";
7
7
  import "js-md5";
8
- const P = z.forwardRef((a, d) => {
8
+ const k = z.forwardRef((a, s) => {
9
9
  const t = h.c(11);
10
10
  let o, n, e, i;
11
- if (t[0] !== a || t[1] !== d) {
11
+ if (t[0] !== a || t[1] !== s) {
12
12
  const {
13
13
  children: f,
14
- variant: l,
15
- color: c,
14
+ variant: c,
15
+ color: l,
16
16
  paddingSize: m,
17
- active: u,
18
- disabled: b,
17
+ active: b,
18
+ disabled: u,
19
19
  ...p
20
20
  } = a;
21
21
  o = f;
22
- const v = l === void 0 ? "normal" : l, $ = c === void 0 ? "secondary" : c, g = m === void 0 ? "xs" : m, x = u === void 0 ? !1 : u;
23
- n = b === void 0 ? !1 : b, e = d, i = S(`button button--${$} ${x ? "button--active" : ""} ${n ? "button--disabled" : ""} button--${v} button--${g}`, p), t[0] = a, t[1] = d, t[2] = o, t[3] = n, t[4] = e, t[5] = i;
22
+ const v = c === void 0 ? "normal" : c, $ = l === void 0 ? "secondary" : l, g = m === void 0 ? "xs" : m, x = b === void 0 ? !1 : b;
23
+ n = u === void 0 ? !1 : u, e = s, i = S(`button button--${$} ${x ? "button--active" : ""} ${n ? "button--disabled" : ""} button--${v} button--${g}`, p), t[0] = a, t[1] = s, t[2] = o, t[3] = n, t[4] = e, t[5] = i;
24
24
  } else
25
25
  o = t[2], n = t[3], e = t[4], i = t[5];
26
- const s = n ? "true" : "false";
26
+ const d = n ? "true" : "false";
27
27
  let r;
28
- return t[6] !== o || t[7] !== e || t[8] !== i || t[9] !== s ? (r = /* @__PURE__ */ R("button", { ref: e, ...i, "aria-disabled": s, children: o }), t[6] = o, t[7] = e, t[8] = i, t[9] = s, t[10] = r) : r = t[10], r;
28
+ return t[6] !== o || t[7] !== e || t[8] !== i || t[9] !== d ? (r = /* @__PURE__ */ R("button", { ref: e, ...i, "aria-disabled": d, children: o }), t[6] = o, t[7] = e, t[8] = i, t[9] = d, t[10] = r) : r = t[10], r;
29
29
  });
30
30
  export {
31
- P as Button
31
+ k as Button
32
32
  };
@@ -1,40 +1,40 @@
1
- import { jsxs as _, jsx as p } from "react/jsx-runtime";
2
- import g from "react";
1
+ import { jsxs as g, jsx as p } from "react/jsx-runtime";
2
+ import h from "react";
3
3
  import '../../assets/components/data-table/DataTable.style.css';/* empty css */
4
4
  import "../../utils/contextStore.js";
5
- import { mergeComponentProps as h } from "../../utils/component.js";
5
+ import { mergeComponentProps as C } from "../../utils/component.js";
6
6
  import "js-md5";
7
- const d = (l, m) => m.split(".").reduce((t, f) => {
7
+ const A = (l, m) => m.split(".").reduce((t, f) => {
8
8
  if (t != null)
9
- return Array.isArray(t) ? t.map((a) => a?.[f]).filter((a) => a !== void 0) : t[f];
9
+ return Array.isArray(t) ? t.map((o) => o?.[f]).filter((o) => o !== void 0) : t[f];
10
10
  }, l), w = (l) => {
11
11
  const {
12
12
  data: m,
13
13
  sort: t,
14
14
  filter: f,
15
- loading: a,
16
- loadingComponent: C,
17
- emptyComponent: A,
15
+ loading: o,
16
+ loadingComponent: j,
17
+ emptyComponent: d,
18
18
  onSelect: u,
19
19
  children: O,
20
20
  ...b
21
- } = l, y = m.filter((i) => Object.entries(f || {}).every(([o, {
21
+ } = l, y = m.filter((i) => Object.entries(f || {}).every(([a, {
22
22
  operator: n,
23
23
  value: r
24
24
  }]) => {
25
- const e = d(i, o);
25
+ const e = A(i, a);
26
26
  return n === "isOneOf" && !Array.isArray(r) && !Array.isArray(e) ? e === r : n === "isOneOf" && !Array.isArray(r) && Array.isArray(e) ? Array.from(e).includes(r) : n === "isOneOf" && Array.isArray(r) && !Array.isArray(e) ? Array.from(r).some((s) => s === e) : n === "isOneOf" && Array.isArray(r) && Array.isArray(e) ? Array.from(r).some((s) => Array.from(e).includes(s)) : !1;
27
- })), c = g.useMemo(() => t ? [...y].sort((i, o) => {
27
+ })), c = h.useMemo(() => t ? [...y].sort((i, a) => {
28
28
  for (const [n, r] of Object.entries(t)) {
29
- const e = d(i, n), s = d(o, n);
29
+ const e = A(i, n), s = A(a, n);
30
30
  if (e < s) return r === "asc" ? -1 : 1;
31
31
  if (e > s) return r === "asc" ? 1 : -1;
32
32
  }
33
33
  return 0;
34
34
  }) : y, [y, t]);
35
- return /* @__PURE__ */ _("table", { ...h("data-table", b), children: [
36
- c.map((i, o) => /* @__PURE__ */ p("tr", { className: "data-table__row", onClick: () => u?.(i), children: O?.(i, o) })),
37
- c.length === 0 && !a && A ? /* @__PURE__ */ p("tr", { className: "data-table__row", onClick: () => u?.(void 0), children: A }) : null
35
+ return /* @__PURE__ */ g("table", { ...C("data-table", b), children: [
36
+ c.map((i, a) => /* @__PURE__ */ p("tr", { className: "data-table__row", onClick: () => u?.(i), children: O?.(i, a) })),
37
+ c.length === 0 && !o && d ? /* @__PURE__ */ p("tr", { className: "data-table__row", onClick: () => u?.(void 0), children: d }) : null
38
38
  ] });
39
39
  };
40
40
  export {
@@ -1,16 +1,16 @@
1
1
  import { jsx as f, jsxs as d } from "react/jsx-runtime";
2
- import { c as _ } from "../../_virtual/compiler-runtime.js";
3
- import v from "react";
4
- import { MenuTrigger as w, MenuContent as y, Menu as g } from "../menu/Menu.js";
2
+ import { c as v } from "../../_virtual/compiler-runtime.js";
3
+ import w from "react";
4
+ import { MenuTrigger as y, MenuContent as _, Menu as g } from "../menu/Menu.js";
5
5
  const T = (t) => {
6
- const e = _.c(11), {
7
- children: c,
8
- context: u
9
- } = t, [m, p] = v.useState(!0), h = y;
6
+ const e = v.c(11), {
7
+ children: l,
8
+ context: m
9
+ } = t, [u, p] = w.useState(!0), h = _;
10
10
  let r;
11
11
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = (a) => p(a), e[0] = r) : r = e[0];
12
12
  let i;
13
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ f(w, { asChild: !0, children: /* @__PURE__ */ f("div", { style: {
13
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ f(y, { asChild: !0, children: /* @__PURE__ */ f("div", { style: {
14
14
  position: "absolute",
15
15
  top: 0,
16
16
  left: 0,
@@ -18,9 +18,9 @@ const T = (t) => {
18
18
  height: 0
19
19
  } }) }), e[1] = i) : i = e[1];
20
20
  let n;
21
- e[2] !== u?.view ? (n = (a) => {
22
- ["Escape", "ArrowUp", "ArrowDown"].includes(a.key) || u?.view?.focus();
23
- }, e[2] = u?.view, e[3] = n) : n = e[3];
21
+ e[2] !== m?.view ? (n = (a) => {
22
+ ["Escape", "ArrowUp", "ArrowDown"].includes(a.key) || m?.view?.focus();
23
+ }, e[2] = m?.view, e[3] = n) : n = e[3];
24
24
  let s;
25
25
  e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
26
26
  position: "fixed",
@@ -29,12 +29,12 @@ const T = (t) => {
29
29
  pointerEvents: "auto"
30
30
  }, e[4] = s) : s = e[4];
31
31
  let o;
32
- e[5] !== c || e[6] !== n ? (o = /* @__PURE__ */ f(h, { miw: "200px", onInteractOutside: b, onOpenAutoFocus: D, onKeyDown: n, style: s, children: c }), e[5] = c, e[6] = n, e[7] = o) : o = e[7];
33
- let l;
34
- return e[8] !== m || e[9] !== o ? (l = /* @__PURE__ */ d(g, { open: m, onOpenChange: r, modal: !1, children: [
32
+ e[5] !== l || e[6] !== n ? (o = /* @__PURE__ */ f(h, { miw: "200px", onInteractOutside: b, onOpenAutoFocus: D, onKeyDown: n, style: s, children: l }), e[5] = l, e[6] = n, e[7] = o) : o = e[7];
33
+ let c;
34
+ return e[8] !== u || e[9] !== o ? (c = /* @__PURE__ */ d(g, { open: u, onOpenChange: r, modal: !1, children: [
35
35
  i,
36
36
  o
37
- ] }), e[8] = m, e[9] = o, e[10] = l) : l = e[10], l;
37
+ ] }), e[8] = u, e[9] = o, e[10] = c) : c = e[10], c;
38
38
  };
39
39
  function x(t) {
40
40
  return t;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
2
  import m, { isValidElement as me } from "react";
3
- import { createPortal as H } from "react-dom";
3
+ import { createPortal as K } from "react-dom";
4
4
  import "../../utils/contextStore.js";
5
5
  import { mergeComponentProps as he } from "../../utils/component.js";
6
6
  import { hashToColor as w } from "../../utils/color.js";
7
- import fe, { Prec as K, keymap as J, ViewPlugin as ge, RangeSetBuilder as pe, Decoration as F, EditorView as ye, WidgetType as be } from "@uiw/react-codemirror";
7
+ import fe, { Prec as _, keymap as J, ViewPlugin as ge, RangeSetBuilder as pe, Decoration as F, EditorView as ye, WidgetType as be } from "@uiw/react-codemirror";
8
8
  import { json as ve, jsonParseLinter as Se } from "@codemirror/lang-json";
9
9
  import { syntaxTree as L } from "@codemirror/language";
10
10
  import { linter as we } from "@codemirror/lint";
@@ -53,7 +53,7 @@ class X extends be {
53
53
  return t.type === this.type && t.rawValue === this.rawValue;
54
54
  }
55
55
  }
56
- const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array.isArray(i), dr = (i) => {
56
+ const De = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array.isArray(i), dr = (i) => {
57
57
  const {
58
58
  language: t,
59
59
  tokenizer: f,
@@ -70,9 +70,9 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
70
70
  showValidation: U = !0,
71
71
  readonly: ee,
72
72
  basicSetup: re,
73
- customSuggestionComponent: _ = !1,
73
+ customSuggestionComponent: D = !1,
74
74
  ...te
75
- } = i, [oe, I] = m.useState(), R = m.useRef(null), [ne, ie] = m.useState(/* @__PURE__ */ new Map()), [u, se] = m.useState([]), [T, le] = m.useState(null), [g, y] = m.useState(null), D = m.useRef(null);
75
+ } = i, [oe, I] = m.useState(), R = m.useRef(null), [ne, ie] = m.useState(/* @__PURE__ */ new Map()), [u, se] = m.useState([]), [T, le] = m.useState(null), [g, y] = m.useState(null), H = m.useRef(null);
76
76
  m.useEffect(() => {
77
77
  (async () => {
78
78
  try {
@@ -92,7 +92,7 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
92
92
  if (V) {
93
93
  const n = (o) => {
94
94
  const c = V(o);
95
- if (c && _e(c)) {
95
+ if (c && De(c)) {
96
96
  const l = o.view?.coordsAtPos(o.pos);
97
97
  return l && y({
98
98
  component: c,
@@ -105,15 +105,15 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
105
105
  return y(null), c;
106
106
  };
107
107
  e.push(Be({
108
- ..._ ? {
108
+ ...D ? {
109
109
  override: [n]
110
110
  } : {
111
111
  override: [V]
112
112
  }
113
- })), e.push(K.highest(J.of([{
113
+ })), e.push(_.highest(J.of([{
114
114
  key: "Tab",
115
115
  run: Fe
116
- }]))), _ && e.push(K.highest(J.of([{
116
+ }]))), D && e.push(_.highest(J.of([{
117
117
  key: "ArrowUp",
118
118
  run: (o) => (g || E(o), !0)
119
119
  }, {
@@ -177,7 +177,7 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
177
177
  to: c
178
178
  });
179
179
  } else e.selectionSet && (y(null), E(e.view));
180
- const d = D.current?.querySelectorAll(".cm-react-anchor"), n = /* @__PURE__ */ new Map();
180
+ const d = H.current?.querySelectorAll(".cm-react-anchor"), n = /* @__PURE__ */ new Map();
181
181
  d?.forEach((o) => {
182
182
  n.set(o, {
183
183
  type: o.dataset.type,
@@ -291,7 +291,7 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
291
291
  ] }),
292
292
  /* @__PURE__ */ r(a, { children: "suggestions" })
293
293
  ] }) }),
294
- /* @__PURE__ */ r(Me, { asChild: !0, children: /* @__PURE__ */ s("div", { ref: D, ...he("editor", te), children: [
294
+ /* @__PURE__ */ r(Me, { asChild: !0, children: /* @__PURE__ */ s("div", { ref: H, ...he("editor", te), children: [
295
295
  /* @__PURE__ */ r(fe, { width: "100%", height: "100%", value: oe, theme: ue, readOnly: N || ee, editable: !N, extensions: ae, "aria-disabled": N, className: "editor__control", onChange: (e) => {
296
296
  if (I(e), t === "json")
297
297
  try {
@@ -304,13 +304,13 @@ const _e = (i) => me(i) || typeof i == "string" || typeof i == "number" || Array
304
304
  }, onUpdate: ce, basicSetup: re }),
305
305
  p && Array.from(ne.entries()).map(([e, d]) => {
306
306
  const n = p[d.type];
307
- return n ? H(/* @__PURE__ */ r("div", { style: {
307
+ return n ? K(/* @__PURE__ */ r("div", { style: {
308
308
  display: "contents"
309
309
  }, children: n({
310
310
  content: d.value
311
311
  }) }, e.outerHTML + d.value), e) : null;
312
312
  }),
313
- g && H(/* @__PURE__ */ r("div", { ref: R, style: {
313
+ g && K(/* @__PURE__ */ r("div", { ref: R, style: {
314
314
  position: "fixed",
315
315
  top: g.position.top,
316
316
  left: g.position.left,
@@ -12,8 +12,8 @@ import '../../assets/components/form/Input.style.css';/* empty css
12
12
  import { IconMinus as T, IconCheck as q } from "@tabler/icons-react";
13
13
  const ee = (l) => {
14
14
  const e = $.c(40), {
15
- title: _,
16
- description: b,
15
+ title: b,
16
+ description: _,
17
17
  formValidation: k,
18
18
  ...N
19
19
  } = l;
@@ -31,9 +31,9 @@ const ee = (l) => {
31
31
  let v;
32
32
  e[5] !== t ? (v = [t], e[5] = t, e[6] = v) : v = e[6], z.useEffect(g, v);
33
33
  let o;
34
- e[7] !== _ ? (o = _ ? /* @__PURE__ */ n(F, { children: _ }) : null, e[7] = _, e[8] = o) : o = e[8];
34
+ e[7] !== b ? (o = b ? /* @__PURE__ */ n(F, { children: b }) : null, e[7] = b, e[8] = o) : o = e[8];
35
35
  let c;
36
- e[9] !== b ? (c = b ? /* @__PURE__ */ n(L, { children: b }) : null, e[9] = b, e[10] = c) : c = e[10];
36
+ e[9] !== _ ? (c = _ ? /* @__PURE__ */ n(L, { children: _ }) : null, e[9] = _, e[10] = c) : c = e[10];
37
37
  const V = `input ${i?.valid ? "" : "input--not-valid"} checkbox-input`;
38
38
  let r;
39
39
  e[11] !== V ? (r = E(V, {}), e[11] = V, e[12] = r) : r = e[12];
@@ -1,21 +1,21 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import e from "react";
3
- import { Input as l } from "./Input.js";
4
- import { IconX as m } from "@tabler/icons-react";
2
+ import r from "react";
3
+ import { Input as m } from "./Input.js";
4
+ import { IconX as l } from "@tabler/icons-react";
5
5
  import { Button as f } from "../button/Button.js";
6
6
  import { clearInputElement as s } from "./Input.utils.js";
7
- const p = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/, I = (t) => p.test(t), _ = e.forwardRef((t, x) => {
8
- x = x || e.useRef(null);
7
+ const p = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/, d = (t) => p.test(t), R = r.forwardRef((t, x) => {
8
+ x = x || r.useRef(null);
9
9
  const {
10
- clearable: r = !1,
10
+ clearable: e = !1,
11
11
  right: n,
12
12
  ...c
13
13
  } = t, i = () => {
14
14
  s(x.current);
15
15
  }, a = [n];
16
- return r && a.push(/* @__PURE__ */ o(f, { onClick: i, children: /* @__PURE__ */ o(m, { size: 13 }) })), /* @__PURE__ */ o(l, { right: a, type: "email", ref: x, ...c });
16
+ return e && a.push(/* @__PURE__ */ o(f, { onClick: i, children: /* @__PURE__ */ o(l, { size: 13 }) })), /* @__PURE__ */ o(m, { right: a, type: "email", ref: x, ...c });
17
17
  });
18
18
  export {
19
- _ as EmailInput,
20
- I as emailValidation
19
+ R as EmailInput,
20
+ d as emailValidation
21
21
  };
@@ -401,8 +401,8 @@ const F = "input__token", K = "input__token--selected", q = "aria-data", O = "
401
401
  s(r.current);
402
402
  }, e[15] = r, e[16] = s, e[17] = w) : w = e[17];
403
403
  const V = w, G = me;
404
- let _;
405
- e[18] !== r || e[19] !== s ? (_ = (i) => {
404
+ let L;
405
+ e[18] !== r || e[19] !== s ? (L = (i) => {
406
406
  const g = r.current;
407
407
  if (!g || document.activeElement !== g)
408
408
  return !1;
@@ -414,26 +414,26 @@ const F = "input__token", K = "input__token--selected", q = "aria-data", O = "
414
414
  return i.preventDefault(), i.stopPropagation(), $(g), !0;
415
415
  }
416
416
  return i.key === "Enter" ? (i.preventDefault(), !0) : !1;
417
- }, e[18] = r, e[19] = s, e[20] = _) : _ = e[20];
418
- const X = _;
419
- let L;
420
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = () => {
417
+ }, e[18] = r, e[19] = s, e[20] = L) : L = e[20];
418
+ const X = L;
419
+ let M;
420
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = () => {
421
421
  const i = u.current;
422
422
  return u.current = null, i;
423
- }, e[21] = L) : L = e[21];
424
- let M;
425
- return e[22] !== y || e[23] !== d || e[24] !== V || e[25] !== X || e[26] !== S || e[27] !== p || e[28] !== s ? (M = {
423
+ }, e[21] = M) : M = e[21];
424
+ let _;
425
+ return e[22] !== y || e[23] !== d || e[24] !== V || e[25] !== X || e[26] !== S || e[27] !== p || e[28] !== s ? (_ = {
426
426
  editorHtml: d,
427
427
  setEditorHtml: c,
428
428
  initializeFromExternalValue: p,
429
429
  updateEditorState: s,
430
- takePendingSelection: L,
430
+ takePendingSelection: M,
431
431
  applySuggestionValueSyntax: y,
432
432
  handlePaste: S,
433
433
  handleChange: V,
434
434
  handleKeyDownCapture: G,
435
435
  handleKeyDown: X
436
- }, e[22] = y, e[23] = d, e[24] = V, e[25] = X, e[26] = S, e[27] = p, e[28] = s, e[29] = M) : M = e[29], M;
436
+ }, e[22] = y, e[23] = d, e[24] = V, e[25] = X, e[26] = S, e[27] = p, e[28] = s, e[29] = _) : _ = e[29], _;
437
437
  };
438
438
  function pe(t) {
439
439
  return typeof t != "string";
@@ -10,18 +10,18 @@ import { InputDescription as F } from "./InputDescription.js";
10
10
  import '../../assets/components/form/InputWrapper.style.css';/* empty css */
11
11
  const K = N.forwardRef((C, L) => {
12
12
  const e = j.c(29), {
13
- children: w,
14
- wrapperComponent: f,
15
- left: m,
16
- right: d,
13
+ children: _,
14
+ wrapperComponent: m,
15
+ left: f,
16
+ right: c,
17
17
  leftType: M,
18
18
  rightType: T,
19
- title: c,
19
+ title: d,
20
20
  description: u,
21
21
  formValidation: h
22
22
  } = C;
23
23
  let g;
24
- e[0] !== f ? (g = f === void 0 ? {} : f, e[0] = f, e[1] = g) : g = e[1];
24
+ e[0] !== m ? (g = m === void 0 ? {} : m, e[0] = m, e[1] = g) : g = e[1];
25
25
  const V = g, x = M === void 0 ? "icon" : M, y = T === void 0 ? "action" : T;
26
26
  let v;
27
27
  e[2] !== h ? (v = h === void 0 ? {
@@ -31,31 +31,31 @@ const K = N.forwardRef((C, L) => {
31
31
  } : h, e[2] = h, e[3] = v) : v = e[3];
32
32
  const t = v;
33
33
  let i;
34
- e[4] !== c ? (i = c && /* @__PURE__ */ a(E, { children: c }), e[4] = c, e[5] = i) : i = e[5];
34
+ e[4] !== d ? (i = d && /* @__PURE__ */ a(E, { children: d }), e[4] = d, e[5] = i) : i = e[5];
35
35
  let r;
36
36
  e[6] !== u ? (r = u && /* @__PURE__ */ a(F, { children: u }), e[6] = u, e[7] = r) : r = e[7];
37
37
  const I = `input-wrapper ${t?.valid ? "" : "input-wrapper--not-valid"}`;
38
38
  let l;
39
39
  e[8] !== I || e[9] !== V ? (l = b(I, V), e[8] = I, e[9] = V, e[10] = l) : l = e[10];
40
40
  let o;
41
- e[11] !== m || e[12] !== x ? (o = m && /* @__PURE__ */ a("div", { className: `input-wrapper__left input__left--${x}`, children: m }), e[11] = m, e[12] = x, e[13] = o) : o = e[13];
41
+ e[11] !== f || e[12] !== x ? (o = f && /* @__PURE__ */ a("div", { className: `input-wrapper__left input__left--${x}`, children: f }), e[11] = f, e[12] = x, e[13] = o) : o = e[13];
42
42
  let p;
43
- e[14] !== d || e[15] !== y ? (p = d && /* @__PURE__ */ a("div", { className: `input-wrapper__right input-wrapper__right--${y}`, children: d }), e[14] = d, e[15] = y, e[16] = p) : p = e[16];
43
+ e[14] !== c || e[15] !== y ? (p = c && /* @__PURE__ */ a("div", { className: `input-wrapper__right input-wrapper__right--${y}`, children: c }), e[14] = c, e[15] = y, e[16] = p) : p = e[16];
44
44
  let n;
45
- e[17] !== w || e[18] !== o || e[19] !== p || e[20] !== l ? (n = /* @__PURE__ */ $("div", { ...l, children: [
45
+ e[17] !== _ || e[18] !== o || e[19] !== p || e[20] !== l ? (n = /* @__PURE__ */ $("div", { ...l, children: [
46
46
  o,
47
- w,
47
+ _,
48
48
  p
49
- ] }), e[17] = w, e[18] = o, e[19] = p, e[20] = l, e[21] = n) : n = e[21];
49
+ ] }), e[17] = _, e[18] = o, e[19] = p, e[20] = l, e[21] = n) : n = e[21];
50
50
  let s;
51
51
  e[22] !== t ? (s = !t?.valid && t?.notValidMessage && /* @__PURE__ */ a(D, { children: t.notValidMessage }), e[22] = t, e[23] = s) : s = e[23];
52
- let _;
53
- return e[24] !== n || e[25] !== s || e[26] !== i || e[27] !== r ? (_ = /* @__PURE__ */ $(R, { children: [
52
+ let w;
53
+ return e[24] !== n || e[25] !== s || e[26] !== i || e[27] !== r ? (w = /* @__PURE__ */ $(R, { children: [
54
54
  i,
55
55
  r,
56
56
  n,
57
57
  s
58
- ] }), e[24] = n, e[25] = s, e[26] = i, e[27] = r, e[28] = _) : _ = e[28], _;
58
+ ] }), e[24] = n, e[25] = s, e[26] = i, e[27] = r, e[28] = w) : w = e[28], w;
59
59
  });
60
60
  export {
61
61
  K as InputWrapper
@@ -1,20 +1,20 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as t } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { Input as i } from "./Input.js";
4
4
  import { IconMinus as a, IconPlus as l } from "@tabler/icons-react";
5
5
  import { Button as e } from "../button/Button.js";
6
- const N = u.forwardRef((o, t) => {
7
- t = t || u.useRef(null);
6
+ const d = u.forwardRef((o, n) => {
7
+ n = n || u.useRef(null);
8
8
  const {
9
9
  step: r = 1,
10
10
  ...c
11
11
  } = o;
12
- return /* @__PURE__ */ n(i, { className: "number-input", right: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
13
- t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) + r).toString());
14
- }, children: /* @__PURE__ */ n(l, { size: 13 }) }), left: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
15
- t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) - r).toString());
16
- }, children: /* @__PURE__ */ n(a, { size: 13 }) }), leftType: "action", type: "number", ref: t, ...c });
12
+ return /* @__PURE__ */ t(i, { className: "number-input", right: /* @__PURE__ */ t(e, { variant: "none", onClick: () => {
13
+ n.current && (n.current.value || (n.current.value = "0"), n.current.value = (Number.parseInt(n.current.value) + r).toString());
14
+ }, children: /* @__PURE__ */ t(l, { size: 13 }) }), left: /* @__PURE__ */ t(e, { variant: "none", onClick: () => {
15
+ n.current && (n.current.value || (n.current.value = "0"), n.current.value = (Number.parseInt(n.current.value) - r).toString());
16
+ }, children: /* @__PURE__ */ t(a, { size: 13 }) }), leftType: "action", type: "number", ref: n, ...c });
17
17
  });
18
18
  export {
19
- N as NumberInput
19
+ d as NumberInput
20
20
  };
@@ -6,7 +6,7 @@ import { Button as p } from "../button/Button.js";
6
6
  import { clearInputElement as w } from "./Input.utils.js";
7
7
  import { Flex as o } from "../flex/Flex.js";
8
8
  import { Text as a } from "../text/Text.js";
9
- const v = u.forwardRef((n, e) => {
9
+ const A = u.forwardRef((n, e) => {
10
10
  e = e || u.useRef(null);
11
11
  const {
12
12
  clearable: m = !0,
@@ -57,12 +57,12 @@ const v = u.forwardRef((n, e) => {
57
57
  ] })
58
58
  ] })
59
59
  ] });
60
- }), A = (n) => {
60
+ }), E = (n) => {
61
61
  if (!n) return "12345";
62
62
  let e = null;
63
63
  return n.length < 8 && (e = (e ?? "") + "1"), /[a-z]/.test(n) || (e = (e ?? "") + "2"), /[A-Z]/.test(n) || (e = (e ?? "") + "3"), /[0-9]/.test(n) || (e = (e ?? "") + "4"), /[^A-Za-z0-9]/.test(n) || (e = (e ?? "") + "5"), e;
64
64
  };
65
65
  export {
66
- v as PasswordInput,
67
- A as passwordValidation
66
+ A as PasswordInput,
67
+ E as passwordValidation
68
68
  };
@@ -1,18 +1,18 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as u } from "react/jsx-runtime";
2
2
  import e from "react";
3
3
  import { Input as p } from "./Input.js";
4
4
  const m = e.forwardRef((r, t) => {
5
5
  t = t || e.useRef(null);
6
6
  const {
7
- value: l,
8
- initialValue: o,
9
- ...u
7
+ value: o,
8
+ initialValue: l,
9
+ ...n
10
10
  } = r;
11
- return /* @__PURE__ */ n(p, { wrapperComponent: {
11
+ return /* @__PURE__ */ u(p, { wrapperComponent: {
12
12
  className: "switch-input"
13
- }, type: "checkbox", right: null, left: null, ref: t, value: l, ...o ? {
13
+ }, type: "checkbox", right: null, left: null, ref: t, value: o, ...l ? {
14
14
  defaultChecked: !0
15
- } : {}, ...u });
15
+ } : {}, ...n });
16
16
  });
17
17
  export {
18
18
  m as SwitchInput
@@ -1,20 +1,20 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import a from "react";
3
3
  import { Input as u } from "./Input.js";
4
4
  import { IconX as f } from "@tabler/icons-react";
5
5
  import { Button as p } from "../button/Button.js";
6
6
  import { clearInputElement as s } from "./Input.utils.js";
7
- const R = a.forwardRef((r, t) => {
7
+ const b = a.forwardRef((r, t) => {
8
8
  t = t || a.useRef(null);
9
9
  const {
10
10
  clearable: i = !1,
11
11
  right: l,
12
12
  ...m
13
- } = r, c = (e) => {
14
- s(t.current), r.onClear && r.onClear(e);
13
+ } = r, c = (o) => {
14
+ s(t.current), r.onClear && r.onClear(o);
15
15
  }, n = [l];
16
- return i && n.push(/* @__PURE__ */ o(p, { variant: "none", onClick: (e) => c(e), children: /* @__PURE__ */ o(f, { size: 13 }) })), /* @__PURE__ */ o(u, { right: n, type: "textarea", ref: t, ...m });
16
+ return i && n.push(/* @__PURE__ */ e(p, { variant: "none", onClick: (o) => c(o), children: /* @__PURE__ */ e(f, { size: 13 }) })), /* @__PURE__ */ e(u, { right: n, type: "textarea", ref: t, ...m });
17
17
  });
18
18
  export {
19
- R as TextAreaInput
19
+ b as TextAreaInput
20
20
  };
@@ -4,17 +4,17 @@ import { Input as u } from "./Input.js";
4
4
  import { IconX as f } from "@tabler/icons-react";
5
5
  import { Button as p } from "../button/Button.js";
6
6
  import { clearInputElement as s } from "./Input.utils.js";
7
- const R = i.forwardRef((r, t) => {
7
+ const b = i.forwardRef((r, t) => {
8
8
  t = t || i.useRef(null);
9
9
  const {
10
10
  clearable: l = !1,
11
- right: a,
12
- ...m
11
+ right: m,
12
+ ...a
13
13
  } = r, c = (o) => {
14
14
  s(t.current), r.onClear && r.onClear(o);
15
- }, n = [a];
16
- return l && n.push(/* @__PURE__ */ e(p, { variant: "none", onClick: (o) => c(o), children: /* @__PURE__ */ e(f, { size: 13 }) })), /* @__PURE__ */ e(u, { right: n, type: "text", ref: t, ...m });
15
+ }, n = [m];
16
+ return l && n.push(/* @__PURE__ */ e(p, { variant: "none", onClick: (o) => c(o), children: /* @__PURE__ */ e(f, { size: 13 }) })), /* @__PURE__ */ e(u, { right: n, type: "text", ref: t, ...a });
17
17
  });
18
18
  export {
19
- R as TextInput
19
+ b as TextInput
20
20
  };
@@ -49,7 +49,7 @@ class f {
49
49
  };
50
50
  }
51
51
  }
52
- const _ = (i) => {
52
+ const E = (i) => {
53
53
  const {
54
54
  initialValues: e,
55
55
  validate: t = {},
@@ -72,5 +72,5 @@ const _ = (i) => {
72
72
  return [b, M, s];
73
73
  };
74
74
  export {
75
- _ as useForm
75
+ E as useForm
76
76
  };
@@ -5,7 +5,7 @@ import l from "react";
5
5
  import { mergeComponentProps as f } from "../../utils/component.js";
6
6
  import "js-md5";
7
7
  import '../../assets/components/fullscreen/FullScreen.style.css';/* empty css */
8
- const M = (i) => {
8
+ const R = (i) => {
9
9
  const e = m.c(7), t = l.useRef(null);
10
10
  let r, o;
11
11
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = () => {
@@ -24,5 +24,5 @@ const M = (i) => {
24
24
  return e[4] !== i.children || e[5] !== n ? (d = /* @__PURE__ */ u("div", { ...n, ref: t, children: i.children }), e[4] = i.children, e[5] = n, e[6] = d) : d = e[6], d;
25
25
  };
26
26
  export {
27
- M as FullScreen
27
+ R as FullScreen
28
28
  };