@code0-tech/pictor 1.1.0 → 1.1.1

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 (333) hide show
  1. package/dist/_virtual/rolldown_runtime.js +3 -12
  2. package/dist/components/alert/Alert.js +19 -20
  3. package/dist/components/aurora/Aurora.js +15 -16
  4. package/dist/components/avatar/Avatar.js +44 -44
  5. package/dist/components/badge/Badge.js +36 -37
  6. package/dist/components/button/Button.js +16 -17
  7. package/dist/components/button-group/ButtonGroup.js +15 -16
  8. package/dist/components/card/Card.js +21 -22
  9. package/dist/components/card/CardSection.js +15 -15
  10. package/dist/components/chart/Chart.js +82 -82
  11. package/dist/components/chart/LineChart.js +50 -51
  12. package/dist/components/col/Col.js +9 -10
  13. package/dist/components/command/Command.js +32 -33
  14. package/dist/components/container/Container.js +9 -10
  15. package/dist/components/context-menu/ContextMenu.js +76 -77
  16. package/dist/components/data-table/DataTableColumn.js +9 -10
  17. package/dist/components/data-table/DataTableFilterInput.js +83 -83
  18. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +26 -27
  19. package/dist/components/data-table/DataTableHeader.js +20 -21
  20. package/dist/components/data-table/DataTablePagination.js +27 -28
  21. package/dist/components/dialog/Dialog.js +61 -62
  22. package/dist/components/file-tabs/FileTabs.js +51 -52
  23. package/dist/components/flex/Flex.js +9 -10
  24. package/dist/components/form/CheckboxInput.js +50 -51
  25. package/dist/components/form/ColorInput.js +242 -242
  26. package/dist/components/form/DateInput.js +55 -55
  27. package/dist/components/form/EditorInput.js +300 -300
  28. package/dist/components/form/FileInput.js +67 -68
  29. package/dist/components/form/InputDescription.js +3 -4
  30. package/dist/components/form/InputLabel.js +9 -10
  31. package/dist/components/form/InputMessage.js +6 -7
  32. package/dist/components/form/InputWrapper.js +37 -38
  33. package/dist/components/form/PasswordInput.js +2 -2
  34. package/dist/components/form/PinInput.js +30 -31
  35. package/dist/components/form/RadioGroup.js +22 -23
  36. package/dist/components/form/RadioInput.js +19 -20
  37. package/dist/components/form/SelectInput.js +55 -56
  38. package/dist/components/form/TagInput.js +44 -44
  39. package/dist/components/fullscreen/FullScreen.js +14 -15
  40. package/dist/components/gantt/Gantt.js +63 -64
  41. package/dist/components/gantt/GanttGroup.js +2 -2
  42. package/dist/components/gantt/GanttHeader.js +40 -41
  43. package/dist/components/gantt/GanttItem.js +11 -12
  44. package/dist/components/icon/Icon.js +22 -22
  45. package/dist/components/json-view/JsonView.js +37 -38
  46. package/dist/components/layout/Layout.js +64 -65
  47. package/dist/components/menu/Menu.js +91 -92
  48. package/dist/components/quote/Quote.js +29 -30
  49. package/dist/components/resizable/Resizable.js +22 -23
  50. package/dist/components/row/Row.js +9 -10
  51. package/dist/components/scroll-area/ScrollArea.js +46 -47
  52. package/dist/components/segmented-control/SegmentedControl.js +35 -35
  53. package/dist/components/spacing/Spacing.js +8 -9
  54. package/dist/components/tab/Tab.js +53 -53
  55. package/dist/components/text/Text.js +9 -10
  56. package/dist/components/toast/Toast.js +47 -47
  57. package/dist/components/tooltip/Tooltip.js +35 -36
  58. package/dist/utils/contextStore.js +31 -32
  59. package/dist/utils/motion.js +39 -40
  60. package/package.json +4 -4
  61. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -6
  62. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  63. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -51
  64. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -58
  65. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -18
  66. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -9
  67. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -4
  68. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -4
  69. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -8
  70. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
  71. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -4
  72. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -13
  73. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -4
  74. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -4
  75. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -6
  76. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -9
  77. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
  78. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
  79. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -57
  80. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -25
  81. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -18
  82. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -136
  83. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -40
  84. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
  85. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -37
  86. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -23
  87. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -7
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -13
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -11
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -59
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -7
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
  94. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  95. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
  96. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -68
  97. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -2
  98. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
  99. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -56
  100. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -48
  101. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -5
  102. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -8
  103. package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +0 -3
  104. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -11
  105. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -5
  106. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -6
  107. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
  108. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -17
  109. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -5
  110. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -9
  111. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -24
  112. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -7
  113. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -28
  114. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
  115. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -9
  116. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -6
  117. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -6
  118. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -2
  119. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -2
  120. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -4
  121. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -11
  122. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -23
  123. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -7
  124. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -5
  125. package/dist/node_modules/motion/dist/es/react.js +0 -196
  126. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -105
  127. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -127
  128. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -82
  129. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -26
  130. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -8
  131. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -11
  132. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -30
  133. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -20
  134. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -164
  135. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -7
  136. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -14
  137. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -4
  138. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -7
  139. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -43
  140. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -54
  141. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -24
  142. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -19
  143. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -59
  144. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -65
  145. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -6
  146. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -6
  147. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -10
  148. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -4
  149. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -4
  150. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -5
  151. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  152. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -34
  153. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -3
  154. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -5
  155. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -20
  156. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -5
  157. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -16
  158. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -23
  159. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -25
  160. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  161. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -3
  162. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -5
  163. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -17
  164. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -4
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -14
  166. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
  167. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -2
  168. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -9
  169. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -33
  170. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -17
  171. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -22
  172. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -8
  173. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -6
  174. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -6
  175. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -6
  176. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -15
  177. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -4
  178. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -28
  179. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -4
  180. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -3
  181. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -11
  182. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -30
  183. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -13
  184. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -8
  185. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -9
  186. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -34
  187. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -34
  188. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
  189. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -26
  190. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -2
  191. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -2
  192. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -2
  193. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -14
  194. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -23
  195. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -37
  196. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -10
  197. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -41
  198. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -28
  199. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -27
  200. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -16
  201. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -26
  202. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -11
  203. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -20
  204. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -580
  205. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -5
  206. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -49
  207. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -11
  208. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -11
  209. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -15
  210. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -10
  211. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -2
  212. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -4
  213. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -17
  214. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -16
  215. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -10
  216. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -7
  217. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -201
  218. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -26
  219. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -2
  220. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -54
  221. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -5
  222. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  223. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
  224. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -26
  225. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -34
  226. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -6
  227. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -9
  228. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -2
  229. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -38
  230. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -20
  231. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -26
  232. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -2
  233. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -13
  234. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -7
  235. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -12
  236. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -133
  237. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -17
  238. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -4
  239. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -10
  240. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -6
  241. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -2
  242. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -4
  243. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -11
  244. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -20
  245. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -19
  246. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -9
  247. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -2
  248. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -6
  249. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -18
  250. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -17
  251. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -8
  252. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -10
  253. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -35
  254. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -20
  255. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -6
  256. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -5
  257. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -7
  258. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -10
  259. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -31
  260. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -5
  261. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -5
  262. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -5
  263. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -28
  264. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -50
  265. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -4
  266. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -6
  267. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -2
  268. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -5
  269. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -12
  270. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -2
  271. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -10
  272. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -7
  273. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -3
  274. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -90
  275. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -5
  276. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -17
  277. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -19
  278. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -10
  279. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -13
  280. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -13
  281. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -14
  282. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  283. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -50
  284. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -12
  285. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -14
  286. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -6
  287. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -22
  288. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -62
  289. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -30
  290. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -13
  291. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -10
  292. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -2
  293. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  294. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -2
  295. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
  296. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -2
  297. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -2
  298. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -4
  299. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -2
  300. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -2
  301. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -2
  302. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -5
  303. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -11
  304. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -5
  305. package/dist/node_modules/motion-utils/dist/es/array.js +0 -8
  306. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -2
  307. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -3
  308. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -5
  309. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -4
  310. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -16
  311. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -3
  312. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -2
  313. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -2
  314. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -2
  315. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -2
  316. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -29
  317. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -8
  318. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -4
  319. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -2
  320. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -2
  321. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -2
  322. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -2
  323. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -6
  324. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -2
  325. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -2
  326. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -5
  327. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -24
  328. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -2
  329. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -2
  330. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -6
  331. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -21
  332. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -18
  333. package/dist/node_modules/react/compiler-runtime.js +0 -8
@@ -1,71 +1,70 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import { Text } from "../text/Text.js";
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { IconChevronLeft, IconChevronRight } from "@tabler/icons-react";
8
- var import_compiler_runtime = require_compiler_runtime();
9
- const GanttHeader = (e) => {
10
- let a = (0, import_compiler_runtime.c)(33), d, f, p, m, h, g, _;
11
- if (a[0] !== e) {
12
- let { avgDuration: i, stepWidth: o, canScrollLeft: s, canScrollRight: c, ticks: l, interval: u, ...v } = e;
13
- h = o, d = s, f = c, _ = l;
14
- let y;
15
- a[8] === i ? y = a[9] : (y = getTimelineLabel(i), a[8] = i, a[9] = y), m = y;
8
+ const GanttHeader = (a) => {
9
+ let d = c(33), f, p, m, h, g, _, v;
10
+ if (d[0] !== a) {
11
+ let { avgDuration: r, stepWidth: i, canScrollLeft: o, canScrollRight: s, ticks: l, interval: u, ...y } = a;
12
+ g = i, f = o, p = s, v = l;
16
13
  let b;
17
- a[10] === u ? b = a[11] : (b = (e) => {
14
+ d[8] === r ? b = d[9] : (b = getTimelineLabel(r), d[8] = r, d[9] = b), h = b;
15
+ let x;
16
+ d[10] === u ? x = d[11] : (x = (e) => {
18
17
  let { value: r, unit: i } = getTimelineLabel(e), a = Math.max(0, Math.ceil(-Math.log10(u / unitFactor(i))));
19
18
  return `${parseFloat(r.toFixed(a))}${i}`;
20
- }, a[10] = u, a[11] = b), p = b, g = mergeComponentProps("gantt__header", v), a[0] = e, a[1] = d, a[2] = f, a[3] = p, a[4] = m, a[5] = h, a[6] = g, a[7] = _;
21
- } else d = a[1], f = a[2], p = a[3], m = a[4], h = a[5], g = a[6], _ = a[7];
22
- let v;
23
- a[12] === d ? v = a[13] : (v = d && /* @__PURE__ */ jsx("div", {
19
+ }, d[10] = u, d[11] = x), m = x, _ = mergeComponentProps("gantt__header", y), d[0] = a, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = g, d[6] = _, d[7] = v;
20
+ } else f = d[1], p = d[2], m = d[3], h = d[4], g = d[5], _ = d[6], v = d[7];
21
+ let y;
22
+ d[12] === f ? y = d[13] : (y = f && /* @__PURE__ */ jsx("div", {
24
23
  className: "gantt__header-scroll gantt__header-scroll--left",
25
24
  children: /* @__PURE__ */ jsx(IconChevronLeft, { size: 16 })
26
- }), a[12] = d, a[13] = v);
27
- let y;
28
- a[14] === m.unit ? y = a[15] : (y = /* @__PURE__ */ jsx("div", {
25
+ }), d[12] = f, d[13] = y);
26
+ let b;
27
+ d[14] === h.unit ? b = d[15] : (b = /* @__PURE__ */ jsx("div", {
29
28
  className: "gantt__header-label-column",
30
29
  children: /* @__PURE__ */ jsxs(Text, {
31
30
  className: "gantt__header-label",
32
- children: ["Range in ", m.unit]
31
+ children: ["Range in ", h.unit]
33
32
  })
34
- }), a[14] = m.unit, a[15] = y);
35
- let b;
36
- a[16] !== v || a[17] !== y ? (b = /* @__PURE__ */ jsxs("div", {
37
- className: "gantt__header-start",
38
- children: [v, y]
39
- }), a[16] = v, a[17] = y, a[18] = b) : b = a[18];
33
+ }), d[14] = h.unit, d[15] = b);
40
34
  let x;
41
- if (a[19] !== p || a[20] !== h || a[21] !== _) {
35
+ d[16] !== y || d[17] !== b ? (x = /* @__PURE__ */ jsxs("div", {
36
+ className: "gantt__header-start",
37
+ children: [y, b]
38
+ }), d[16] = y, d[17] = b, d[18] = x) : x = d[18];
39
+ let S;
40
+ if (d[19] !== m || d[20] !== g || d[21] !== v) {
42
41
  let e;
43
- a[23] !== p || a[24] !== h ? (e = (e) => {
44
- let { time: r, left: a } = e;
42
+ d[23] !== m || d[24] !== g ? (e = (e) => {
43
+ let { time: i, left: a } = e;
45
44
  return /* @__PURE__ */ jsx("div", {
46
45
  className: "gantt__header-column",
47
46
  style: {
48
47
  left: a,
49
- width: h
48
+ width: g
50
49
  },
51
- children: /* @__PURE__ */ jsx(Text, { children: p(r) })
52
- }, `header-${r}`);
53
- }, a[23] = p, a[24] = h, a[25] = e) : e = a[25], x = _.map(e), a[19] = p, a[20] = h, a[21] = _, a[22] = x;
54
- } else x = a[22];
55
- let S;
56
- a[26] === f ? S = a[27] : (S = f && /* @__PURE__ */ jsx("div", {
50
+ children: /* @__PURE__ */ jsx(Text, { children: m(i) })
51
+ }, `header-${i}`);
52
+ }, d[23] = m, d[24] = g, d[25] = e) : e = d[25], S = v.map(e), d[19] = m, d[20] = g, d[21] = v, d[22] = S;
53
+ } else S = d[22];
54
+ let C;
55
+ d[26] === p ? C = d[27] : (C = p && /* @__PURE__ */ jsx("div", {
57
56
  className: "gantt__header-scroll gantt__header-scroll--right",
58
57
  children: /* @__PURE__ */ jsx(IconChevronRight, { size: 16 })
59
- }), a[26] = f, a[27] = S);
60
- let C;
61
- return a[28] !== g || a[29] !== b || a[30] !== x || a[31] !== S ? (C = /* @__PURE__ */ jsxs("div", {
62
- ...g,
58
+ }), d[26] = p, d[27] = C);
59
+ let w;
60
+ return d[28] !== _ || d[29] !== x || d[30] !== S || d[31] !== C ? (w = /* @__PURE__ */ jsxs("div", {
61
+ ..._,
63
62
  children: [
64
- b,
65
63
  x,
66
- S
64
+ S,
65
+ C
67
66
  ]
68
- }), a[28] = g, a[29] = b, a[30] = x, a[31] = S, a[32] = C) : C = a[32], C;
67
+ }), d[28] = _, d[29] = x, d[30] = S, d[31] = C, d[32] = w) : w = d[32], w;
69
68
  };
70
69
  var getTimelineLabel = (e) => e > 5e5 ? {
71
70
  value: e / 1e6,
@@ -1,20 +1,19 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
3
+ import { c } from "react/compiler-runtime";
4
4
  import React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- var import_compiler_runtime = require_compiler_runtime();
7
- const GanttItem = (e) => {
8
- let n = (0, import_compiler_runtime.c)(10), a, o, s, c;
9
- if (n[0] !== e) {
10
- let { children: r, ...i } = e;
11
- a = r, o = i.id, s = i.id, c = mergeComponentProps("gantt__item", i), n[0] = e, n[1] = a, n[2] = o, n[3] = s, n[4] = c;
12
- } else a = n[1], o = n[2], s = n[3], c = n[4];
13
- let l;
14
- return n[5] !== a || n[6] !== o || n[7] !== s || n[8] !== c ? (l = /* @__PURE__ */ jsx("div", {
6
+ const GanttItem = (n) => {
7
+ let i = c(10), a, o, s, l;
8
+ if (i[0] !== n) {
9
+ let { children: t, ...r } = n;
10
+ a = t, o = r.id, s = r.id, l = mergeComponentProps("gantt__item", r), i[0] = n, i[1] = a, i[2] = o, i[3] = s, i[4] = l;
11
+ } else a = i[1], o = i[2], s = i[3], l = i[4];
12
+ let u;
13
+ return i[5] !== a || i[6] !== o || i[7] !== s || i[8] !== l ? (u = /* @__PURE__ */ jsx("div", {
15
14
  "data-gantt-id": s,
16
- ...c,
15
+ ...l,
17
16
  children: a
18
- }, o), n[5] = a, n[6] = o, n[7] = s, n[8] = c, n[9] = l) : l = n[9], l;
17
+ }, o), i[5] = a, i[6] = o, i[7] = s, i[8] = l, i[9] = u) : u = i[9], u;
19
18
  };
20
19
  export { GanttItem };
@@ -1,14 +1,14 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import { codezero_exports } from "./codezero/index.js";
5
4
  import '../../assets/Icon.style.css';/* empty css */
5
+ import { c } from "react/compiler-runtime";
6
6
  import React from "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import * as TablerIcons from "@tabler/icons-react";
9
9
  import * as SimpleIcons from "@icons-pack/react-simple-icons";
10
10
  import * as TheSvgIcons from "@thesvg/react";
11
- var import_compiler_runtime = require_compiler_runtime(), theSvgIconCache = /* @__PURE__ */ new Map(), theSvgIcon = (e, n) => {
11
+ var theSvgIconCache = /* @__PURE__ */ new Map(), theSvgIcon = (e, n) => {
12
12
  let r = n ? `${e}/${n}` : e, i = theSvgIconCache.get(r);
13
13
  if (i) return i;
14
14
  let o = TheSvgIcons[e], s = function({ size: e = 24, color: r, stroke: i, ...s }) {
@@ -23,33 +23,33 @@ var import_compiler_runtime = require_compiler_runtime(), theSvgIconCache = /* @
23
23
  return theSvgIconCache.set(r, s), s;
24
24
  };
25
25
  const resolveIcon = (e) => {
26
- let n = TablerIcons.IconNote;
26
+ let r = TablerIcons.IconNote;
27
27
  if (e?.startsWith("codezero:")) {
28
28
  let i = e.replace("codezero:", "").trim().toLowerCase(), a = Object.keys(codezero_exports).find((e) => e.toLowerCase() === i);
29
- return a ? codezero_exports[a] : n;
29
+ return a ? codezero_exports[a] : r;
30
30
  }
31
31
  if (e?.startsWith("thesvg:")) {
32
- let [r, i] = e.replace("thesvg:", "").trim().split("/"), a = r.split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(""), o = /^[0-9]/.test(a) ? `I${a}` : a;
33
- return o in TheSvgIcons ? theSvgIcon(o, i) : n;
32
+ let [n, i] = e.replace("thesvg:", "").trim().split("/"), a = n.split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(""), o = /^[0-9]/.test(a) ? `I${a}` : a;
33
+ return o in TheSvgIcons ? theSvgIcon(o, i) : r;
34
34
  }
35
35
  if (e?.startsWith("simple:")) {
36
- let r = e.replace("simple:", "").trim(), i = `Si${r.charAt(0).toUpperCase() + r.slice(1)}`;
37
- return i in SimpleIcons ? SimpleIcons[i] : n;
36
+ let n = e.replace("simple:", "").trim(), i = `Si${n.charAt(0).toUpperCase() + n.slice(1)}`;
37
+ return i in SimpleIcons ? SimpleIcons[i] : r;
38
38
  }
39
39
  let i = `Icon${(e?.replace("tabler:", "") ?? "Note").trim().replace(/^icon/i, "").split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("")}`;
40
- return i in TablerIcons ? TablerIcons[i] : n;
41
- }, Icon = (e) => {
42
- let r = (0, import_compiler_runtime.c)(14), i, o, s, c, u;
43
- if (r[0] !== e) {
44
- let { icon: a, size: l, color: d, stroke: f, ...p } = e, m = l === void 0 ? 24 : l, h;
45
- r[6] === a ? h = r[7] : (h = resolveIcon(a), r[6] = a, r[7] = h), i = h, o = m, s = d, c = f, u = mergeComponentProps("icon", p), r[0] = e, r[1] = i, r[2] = o, r[3] = s, r[4] = c, r[5] = u;
46
- } else i = r[1], o = r[2], s = r[3], c = r[4], u = r[5];
47
- let d;
48
- return r[8] !== i || r[9] !== o || r[10] !== s || r[11] !== c || r[12] !== u ? (d = /* @__PURE__ */ jsx(i, {
49
- size: o,
50
- color: s,
51
- stroke: c,
52
- ...u
53
- }), r[8] = i, r[9] = o, r[10] = s, r[11] = c, r[12] = u, r[13] = d) : d = r[13], d;
40
+ return i in TablerIcons ? TablerIcons[i] : r;
41
+ }, Icon = (n) => {
42
+ let i = c(14), o, s, l, u, d;
43
+ if (i[0] !== n) {
44
+ let { icon: r, size: a, color: f, stroke: p, ...m } = n, h = a === void 0 ? 24 : a, g;
45
+ i[6] === r ? g = i[7] : (g = resolveIcon(r), i[6] = r, i[7] = g), o = g, s = h, l = f, u = p, d = mergeComponentProps("icon", m), i[0] = n, i[1] = o, i[2] = s, i[3] = l, i[4] = u, i[5] = d;
46
+ } else o = i[1], s = i[2], l = i[3], u = i[4], d = i[5];
47
+ let f;
48
+ return i[8] !== o || i[9] !== s || i[10] !== l || i[11] !== u || i[12] !== d ? (f = /* @__PURE__ */ jsx(o, {
49
+ size: s,
50
+ color: l,
51
+ stroke: u,
52
+ ...d
53
+ }), i[8] = o, i[9] = s, i[10] = l, i[11] = u, i[12] = d, i[13] = f) : f = i[13], f;
54
54
  };
55
55
  export { Icon, resolveIcon };
@@ -1,16 +1,15 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
- import { AnimatePresence } from "../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
4
- import { motion } from "../../node_modules/motion/dist/es/react.js";
5
2
  import { hashToColor } from "../../utils/color.js";
6
3
  import "../../utils/index.js";
7
4
  import { Text } from "../text/Text.js";
8
5
  import '../../assets/JsonView.style.css';/* empty css */
6
+ import { c } from "react/compiler-runtime";
9
7
  import React from "react";
10
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
+ import { AnimatePresence, motion } from "motion/react";
11
10
  import { IconCheck, IconChevronRight, IconCopy } from "@tabler/icons-react";
12
11
  import ReactJsonView from "@uiw/react-json-view";
13
- var import_compiler_runtime = require_compiler_runtime(), JSON_VIEW_THEME = {
12
+ var JSON_VIEW_THEME = {
14
13
  "--w-rjv-font-family": "\"Inter\", sans-serif",
15
14
  "--w-rjv-font-size": "0.8rem",
16
15
  "--w-rjv-color": "rgba(255, 255, 255, 0.75)",
@@ -38,42 +37,42 @@ var import_compiler_runtime = require_compiler_runtime(), JSON_VIEW_THEME = {
38
37
  "--w-rjv-type-nan-color": hashToColor("Number"),
39
38
  "--w-rjv-type-undefined-color": hashToColor("Null")
40
39
  };
41
- const JsonView = (e) => {
42
- let a = (0, import_compiler_runtime.c)(24), o, l, f, p, m, _;
43
- if (a[0] !== e) {
44
- let { displayObjectSize: s, displayDataTypes: c, enableClipboard: u, indentWidth: d, value: h, ...g } = e;
45
- _ = h, l = s === void 0 ? !1 : s, o = c === void 0 ? !1 : c, f = u === void 0 ? !0 : u, p = d === void 0 ? 12.8 : d, m = mergeComponentProps("json-view", g), a[0] = e, a[1] = o, a[2] = l, a[3] = f, a[4] = p, a[5] = m, a[6] = _;
46
- } else o = a[1], l = a[2], f = a[3], p = a[4], m = a[5], _ = a[6];
47
- let v = m;
48
- if (typeof _ != "object" || !_) {
40
+ const JsonView = (s) => {
41
+ let d = c(24), f, p, m, h, _, v;
42
+ if (d[0] !== s) {
43
+ let { displayObjectSize: i, displayDataTypes: a, enableClipboard: o, indentWidth: l, value: u, ...g } = s;
44
+ v = u, p = i === void 0 ? !1 : i, f = a === void 0 ? !1 : a, m = o === void 0 ? !0 : o, h = l === void 0 ? 12.8 : l, _ = mergeComponentProps("json-view", g), d[0] = s, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = _, d[6] = v;
45
+ } else f = d[1], p = d[2], m = d[3], h = d[4], _ = d[5], v = d[6];
46
+ let y = _;
47
+ if (typeof v != "object" || !v) {
49
48
  let e;
50
- a[7] === Symbol.for("react.memo_cache_sentinel") ? (e = hashToColor("Text"), a[7] = e) : e = a[7];
51
- let i = String(_), o;
52
- return a[8] === i ? o = a[9] : (o = /* @__PURE__ */ jsx(Text, {
49
+ d[7] === Symbol.for("react.memo_cache_sentinel") ? (e = hashToColor("Text"), d[7] = e) : e = d[7];
50
+ let o = String(v), s;
51
+ return d[8] === o ? s = d[9] : (s = /* @__PURE__ */ jsx(Text, {
53
52
  c: e,
54
- children: i
55
- }), a[8] = i, a[9] = o), o;
53
+ children: o
54
+ }), d[8] = o, d[9] = s), s;
56
55
  }
57
- let y;
58
- a[10] === v.style ? y = a[11] : (y = v.style ?? {}, a[10] = v.style, a[11] = y);
59
56
  let b;
60
- a[12] === y ? b = a[13] : (b = {
57
+ d[10] === y.style ? b = d[11] : (b = y.style ?? {}, d[10] = y.style, d[11] = b);
58
+ let x;
59
+ d[12] === b ? x = d[13] : (x = {
61
60
  ...JSON_VIEW_THEME,
62
- ...y
63
- }, a[12] = y, a[13] = b);
64
- let x, S;
65
- a[14] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ jsx(ReactJsonView.Arrow, { render: _temp }), S = /* @__PURE__ */ jsx(ReactJsonView.Copied, { render: _temp2 }), a[14] = x, a[15] = S) : (x = a[14], S = a[15]);
66
- let C;
67
- return a[16] !== o || a[17] !== l || a[18] !== f || a[19] !== p || a[20] !== v || a[21] !== b || a[22] !== _ ? (C = /* @__PURE__ */ jsxs(ReactJsonView, {
68
- displayObjectSize: l,
69
- displayDataTypes: o,
70
- enableClipboard: f,
71
- indentWidth: p,
72
- ...v,
73
- value: _,
74
- style: b,
75
- children: [x, S]
76
- }), a[16] = o, a[17] = l, a[18] = f, a[19] = p, a[20] = v, a[21] = b, a[22] = _, a[23] = C) : C = a[23], C;
61
+ ...b
62
+ }, d[12] = b, d[13] = x);
63
+ let S, C;
64
+ d[14] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ jsx(ReactJsonView.Arrow, { render: _temp }), C = /* @__PURE__ */ jsx(ReactJsonView.Copied, { render: _temp2 }), d[14] = S, d[15] = C) : (S = d[14], C = d[15]);
65
+ let w;
66
+ return d[16] !== f || d[17] !== p || d[18] !== m || d[19] !== h || d[20] !== y || d[21] !== x || d[22] !== v ? (w = /* @__PURE__ */ jsxs(ReactJsonView, {
67
+ displayObjectSize: p,
68
+ displayDataTypes: f,
69
+ enableClipboard: m,
70
+ indentWidth: h,
71
+ ...y,
72
+ value: v,
73
+ style: x,
74
+ children: [S, C]
75
+ }), d[16] = f, d[17] = p, d[18] = m, d[19] = h, d[20] = y, d[21] = x, d[22] = v, d[23] = w) : w = d[23], w;
77
76
  };
78
77
  function _temp(e) {
79
78
  let { "data-expanded": i, ...a } = e;
@@ -85,10 +84,10 @@ function _temp(e) {
85
84
  });
86
85
  }
87
86
  function _temp2(e) {
88
- let { "data-copied": i, onClick: s, ...c } = e;
87
+ let { "data-copied": i, onClick: a, ...o } = e;
89
88
  return /* @__PURE__ */ jsx("span", {
90
- ...c,
91
- onClick: s,
89
+ ...o,
90
+ onClick: a,
92
91
  className: "json-view__copy",
93
92
  "data-copied": i,
94
93
  children: /* @__PURE__ */ jsx(AnimatePresence, {
@@ -1,102 +1,101 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import { getSize } from "../../utils/size.js";
4
3
  import "../../utils/index.js";
5
4
  import { Flex } from "../flex/Flex.js";
6
5
  import '../../assets/Layout.style.css';/* empty css */
6
+ import { c } from "react/compiler-runtime";
7
7
  import React from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
- var import_compiler_runtime = require_compiler_runtime();
10
- const Layout = (e) => {
11
- let i = (0, import_compiler_runtime.c)(56), c, l, u, d, f, p, m, h;
12
- if (i[0] !== e) {
13
- let { children: n, topContent: r, bottomContent: a, leftContent: o, rightContent: s, showLayoutSplitter: g, layoutGap: _, ...v } = e;
14
- l = n, h = r, c = a, d = o, f = s, p = g === void 0 ? !0 : g, u = _ === void 0 ? "xl" : _, m = mergeComponentProps("d-layout", v), i[0] = e, i[1] = c, i[2] = l, i[3] = u, i[4] = d, i[5] = f, i[6] = p, i[7] = m, i[8] = h;
15
- } else c = i[1], l = i[2], u = i[3], d = i[4], f = i[5], p = i[6], m = i[7], h = i[8];
16
- let g;
17
- i[9] === u ? g = i[10] : (g = getSize(u), i[9] = u, i[10] = g);
9
+ const Layout = (i) => {
10
+ let s = c(56), l, u, d, f, p, m, h, g;
11
+ if (s[0] !== i) {
12
+ let { children: t, topContent: n, bottomContent: r, leftContent: a, rightContent: o, showLayoutSplitter: _, layoutGap: v, ...y } = i;
13
+ u = t, g = n, l = r, f = a, p = o, m = _ === void 0 ? !0 : _, d = v === void 0 ? "xl" : v, h = mergeComponentProps("d-layout", y), s[0] = i, s[1] = l, s[2] = u, s[3] = d, s[4] = f, s[5] = p, s[6] = m, s[7] = h, s[8] = g;
14
+ } else l = s[1], u = s[2], d = s[3], f = s[4], p = s[5], m = s[6], h = s[7], g = s[8];
18
15
  let _;
19
- i[11] === g ? _ = i[12] : (_ = {
20
- flexDirection: "column",
21
- gap: g
22
- }, i[11] = g, i[12] = _);
16
+ s[9] === d ? _ = s[10] : (_ = getSize(d), s[9] = d, s[10] = _);
23
17
  let v;
24
- i[13] === h ? v = i[14] : (v = h && /* @__PURE__ */ jsx("div", {
25
- className: "d-layout__top",
26
- children: h
27
- }), i[13] = h, i[14] = v);
18
+ s[11] === _ ? v = s[12] : (v = {
19
+ flexDirection: "column",
20
+ gap: _
21
+ }, s[11] = _, s[12] = v);
28
22
  let y;
29
- i[15] !== p || i[16] !== h ? (y = h && p && /* @__PURE__ */ jsx("div", {
23
+ s[13] === g ? y = s[14] : (y = g && /* @__PURE__ */ jsx("div", {
24
+ className: "d-layout__top",
25
+ children: g
26
+ }), s[13] = g, s[14] = y);
27
+ let b;
28
+ s[15] !== m || s[16] !== g ? (b = g && m && /* @__PURE__ */ jsx("div", {
30
29
  className: "d-layout__splitter",
31
30
  "aria-orientation": "horizontal"
32
- }), i[15] = p, i[16] = h, i[17] = y) : y = i[17];
33
- let b;
34
- i[18] === u ? b = i[19] : (b = getSize(u), i[18] = u, i[19] = b);
31
+ }), s[15] = m, s[16] = g, s[17] = b) : b = s[17];
35
32
  let x;
36
- i[20] === b ? x = i[21] : (x = { gap: b }, i[20] = b, i[21] = x);
33
+ s[18] === d ? x = s[19] : (x = getSize(d), s[18] = d, s[19] = x);
37
34
  let S;
38
- i[22] === d ? S = i[23] : (S = d && /* @__PURE__ */ jsx("div", {
39
- className: "d-layout__left",
40
- children: d
41
- }), i[22] = d, i[23] = S);
35
+ s[20] === x ? S = s[21] : (S = { gap: x }, s[20] = x, s[21] = S);
42
36
  let C;
43
- i[24] !== d || i[25] !== p ? (C = d && p && /* @__PURE__ */ jsx("div", {
37
+ s[22] === f ? C = s[23] : (C = f && /* @__PURE__ */ jsx("div", {
38
+ className: "d-layout__left",
39
+ children: f
40
+ }), s[22] = f, s[23] = C);
41
+ let w;
42
+ s[24] !== f || s[25] !== m ? (w = f && m && /* @__PURE__ */ jsx("div", {
44
43
  className: "d-layout__splitter",
45
44
  "aria-orientation": "vertical"
46
- }), i[24] = d, i[25] = p, i[26] = C) : C = i[26];
47
- let w;
48
- i[27] === l ? w = i[28] : (w = /* @__PURE__ */ jsx("div", {
49
- className: "d-layout__content",
50
- children: l
51
- }), i[27] = l, i[28] = w);
45
+ }), s[24] = f, s[25] = m, s[26] = w) : w = s[26];
52
46
  let T;
53
- i[29] !== f || i[30] !== p ? (T = f && p && /* @__PURE__ */ jsx("div", {
47
+ s[27] === u ? T = s[28] : (T = /* @__PURE__ */ jsx("div", {
48
+ className: "d-layout__content",
49
+ children: u
50
+ }), s[27] = u, s[28] = T);
51
+ let E;
52
+ s[29] !== p || s[30] !== m ? (E = p && m && /* @__PURE__ */ jsx("div", {
54
53
  className: "d-layout__splitter",
55
54
  "aria-orientation": "vertical"
56
- }), i[29] = f, i[30] = p, i[31] = T) : T = i[31];
57
- let E;
58
- i[32] === f ? E = i[33] : (E = f && /* @__PURE__ */ jsx("div", {
59
- className: "d-layout__right",
60
- children: f
61
- }), i[32] = f, i[33] = E);
55
+ }), s[29] = p, s[30] = m, s[31] = E) : E = s[31];
62
56
  let D;
63
- i[34] !== T || i[35] !== E || i[36] !== x || i[37] !== S || i[38] !== C || i[39] !== w ? (D = /* @__PURE__ */ jsxs(Flex, {
57
+ s[32] === p ? D = s[33] : (D = p && /* @__PURE__ */ jsx("div", {
58
+ className: "d-layout__right",
59
+ children: p
60
+ }), s[32] = p, s[33] = D);
61
+ let O;
62
+ s[34] !== E || s[35] !== D || s[36] !== S || s[37] !== C || s[38] !== w || s[39] !== T ? (O = /* @__PURE__ */ jsxs(Flex, {
64
63
  className: "d-layout__middle",
65
- style: x,
64
+ style: S,
66
65
  children: [
67
- S,
68
66
  C,
69
67
  w,
70
68
  T,
71
- E
69
+ E,
70
+ D
72
71
  ]
73
- }), i[34] = T, i[35] = E, i[36] = x, i[37] = S, i[38] = C, i[39] = w, i[40] = D) : D = i[40];
74
- let O;
75
- i[41] !== c || i[42] !== p ? (O = c && p && /* @__PURE__ */ jsx("div", {
72
+ }), s[34] = E, s[35] = D, s[36] = S, s[37] = C, s[38] = w, s[39] = T, s[40] = O) : O = s[40];
73
+ let k;
74
+ s[41] !== l || s[42] !== m ? (k = l && m && /* @__PURE__ */ jsx("div", {
76
75
  className: "d-layout__splitter",
77
76
  "aria-orientation": "horizontal"
78
- }), i[41] = c, i[42] = p, i[43] = O) : O = i[43];
79
- let k;
80
- i[44] === c ? k = i[45] : (k = c && /* @__PURE__ */ jsx("div", {
81
- className: "d-layout__bottom",
82
- children: c
83
- }), i[44] = c, i[45] = k);
77
+ }), s[41] = l, s[42] = m, s[43] = k) : k = s[43];
84
78
  let A;
85
- i[46] !== D || i[47] !== O || i[48] !== k || i[49] !== _ || i[50] !== v || i[51] !== y ? (A = /* @__PURE__ */ jsxs(Flex, {
79
+ s[44] === l ? A = s[45] : (A = l && /* @__PURE__ */ jsx("div", {
80
+ className: "d-layout__bottom",
81
+ children: l
82
+ }), s[44] = l, s[45] = A);
83
+ let j;
84
+ s[46] !== O || s[47] !== k || s[48] !== A || s[49] !== v || s[50] !== y || s[51] !== b ? (j = /* @__PURE__ */ jsxs(Flex, {
86
85
  className: "d-layout__inner",
87
- style: _,
86
+ style: v,
88
87
  children: [
89
- v,
90
88
  y,
91
- D,
89
+ b,
92
90
  O,
93
- k
91
+ k,
92
+ A
94
93
  ]
95
- }), i[46] = D, i[47] = O, i[48] = k, i[49] = _, i[50] = v, i[51] = y, i[52] = A) : A = i[52];
96
- let j;
97
- return i[53] !== m || i[54] !== A ? (j = /* @__PURE__ */ jsx("div", {
98
- ...m,
99
- children: A
100
- }), i[53] = m, i[54] = A, i[55] = j) : j = i[55], j;
94
+ }), s[46] = O, s[47] = k, s[48] = A, s[49] = v, s[50] = y, s[51] = b, s[52] = j) : j = s[52];
95
+ let M;
96
+ return s[53] !== h || s[54] !== j ? (M = /* @__PURE__ */ jsx("div", {
97
+ ...h,
98
+ children: j
99
+ }), s[53] = h, s[54] = j, s[55] = M) : M = s[55], M;
101
100
  };
102
101
  export { Layout };