@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.
- package/dist/assets/components/island/Island.style.css +1 -0
- package/dist/assets/components/resizable/Resizable.style.css +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +7 -7
- package/dist/components/button/Button.js +11 -11
- package/dist/components/data-table/DataTable.js +15 -15
- package/dist/components/data-table/DataTableFilterSuggestionMenu.js +15 -15
- package/dist/components/editor/Editor.js +13 -13
- package/dist/components/form/CheckboxInput.js +4 -4
- package/dist/components/form/EmailInput.js +9 -9
- package/dist/components/form/InputContentEditable.hook.js +11 -11
- package/dist/components/form/InputWrapper.js +15 -15
- package/dist/components/form/NumberInput.js +9 -9
- package/dist/components/form/PasswordInput.js +4 -4
- package/dist/components/form/SwitchInput.js +7 -7
- package/dist/components/form/TextAreaInput.js +6 -6
- package/dist/components/form/TextInput.js +6 -6
- package/dist/components/form/useForm.js +2 -2
- package/dist/components/fullscreen/FullScreen.js +2 -2
- package/dist/components/gantt/GanttGroup.js +15 -15
- package/dist/components/island/Island.d.ts +6 -0
- package/dist/components/island/Island.hook.d.ts +19 -0
- package/dist/components/island/Island.hook.js +58 -0
- package/dist/components/island/Island.js +71 -0
- package/dist/components/progress/Progress.js +18 -18
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +212 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
- package/dist/utils/reactiveArrayService.js +4 -4
- package/package.json +9 -6
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -25
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +0 -81
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.js +0 -55
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
- 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;
|
|
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
|
|
8
|
+
const j = (m) => {
|
|
9
9
|
const {
|
|
10
10
|
splitter: n = /* @__PURE__ */ r(a, { size: 16 }),
|
|
11
|
-
children:
|
|
11
|
+
children: o,
|
|
12
12
|
...i
|
|
13
|
-
} = m, c = t.Children.count(
|
|
14
|
-
return /* @__PURE__ */ r("div", { ...l("breadcrumb", i), children: t.Children.map(
|
|
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
|
-
|
|
17
|
-
] },
|
|
16
|
+
e < c - 1 ? /* @__PURE__ */ r("span", { className: "breadcrumb__splitter", children: n }) : null
|
|
17
|
+
] }, e)) });
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
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
|
|
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] !==
|
|
11
|
+
if (t[0] !== a || t[1] !== s) {
|
|
12
12
|
const {
|
|
13
13
|
children: f,
|
|
14
|
-
variant:
|
|
15
|
-
color:
|
|
14
|
+
variant: c,
|
|
15
|
+
color: l,
|
|
16
16
|
paddingSize: m,
|
|
17
|
-
active:
|
|
18
|
-
disabled:
|
|
17
|
+
active: b,
|
|
18
|
+
disabled: u,
|
|
19
19
|
...p
|
|
20
20
|
} = a;
|
|
21
21
|
o = f;
|
|
22
|
-
const v =
|
|
23
|
-
n =
|
|
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
|
|
26
|
+
const d = n ? "true" : "false";
|
|
27
27
|
let r;
|
|
28
|
-
return t[6] !== o || t[7] !== e || t[8] !== i || t[9] !==
|
|
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
|
-
|
|
31
|
+
k as Button
|
|
32
32
|
};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
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
|
|
5
|
+
import { mergeComponentProps as C } from "../../utils/component.js";
|
|
6
6
|
import "js-md5";
|
|
7
|
-
const
|
|
7
|
+
const A = (l, m) => m.split(".").reduce((t, f) => {
|
|
8
8
|
if (t != null)
|
|
9
|
-
return Array.isArray(t) ? t.map((
|
|
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:
|
|
16
|
-
loadingComponent:
|
|
17
|
-
emptyComponent:
|
|
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(([
|
|
21
|
+
} = l, y = m.filter((i) => Object.entries(f || {}).every(([a, {
|
|
22
22
|
operator: n,
|
|
23
23
|
value: r
|
|
24
24
|
}]) => {
|
|
25
|
-
const e =
|
|
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 =
|
|
27
|
+
})), c = h.useMemo(() => t ? [...y].sort((i, a) => {
|
|
28
28
|
for (const [n, r] of Object.entries(t)) {
|
|
29
|
-
const e =
|
|
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__ */
|
|
36
|
-
c.map((i,
|
|
37
|
-
c.length === 0 && !
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import { MenuTrigger as
|
|
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 =
|
|
7
|
-
children:
|
|
8
|
-
context:
|
|
9
|
-
} = t, [
|
|
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(
|
|
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] !==
|
|
22
|
-
["Escape", "ArrowUp", "ArrowDown"].includes(a.key) ||
|
|
23
|
-
}, e[2] =
|
|
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] !==
|
|
33
|
-
let
|
|
34
|
-
return e[8] !==
|
|
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] =
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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),
|
|
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 &&
|
|
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(
|
|
113
|
+
})), e.push(_.highest(J.of([{
|
|
114
114
|
key: "Tab",
|
|
115
115
|
run: Fe
|
|
116
|
-
}]))),
|
|
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 =
|
|
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:
|
|
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 ?
|
|
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 &&
|
|
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:
|
|
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] !==
|
|
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] !==
|
|
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
|
|
3
|
-
import { Input as
|
|
4
|
-
import { IconX as
|
|
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])+)\])/,
|
|
8
|
-
x = x ||
|
|
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:
|
|
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
|
|
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
|
-
|
|
20
|
-
|
|
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 ? (
|
|
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] =
|
|
418
|
-
const X =
|
|
419
|
-
let
|
|
420
|
-
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
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] =
|
|
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 ? (
|
|
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:
|
|
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] =
|
|
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:
|
|
14
|
-
wrapperComponent:
|
|
15
|
-
left:
|
|
16
|
-
right:
|
|
13
|
+
children: _,
|
|
14
|
+
wrapperComponent: m,
|
|
15
|
+
left: f,
|
|
16
|
+
right: c,
|
|
17
17
|
leftType: M,
|
|
18
18
|
rightType: T,
|
|
19
|
-
title:
|
|
19
|
+
title: d,
|
|
20
20
|
description: u,
|
|
21
21
|
formValidation: h
|
|
22
22
|
} = C;
|
|
23
23
|
let g;
|
|
24
|
-
e[0] !==
|
|
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] !==
|
|
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] !==
|
|
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] !==
|
|
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] !==
|
|
45
|
+
e[17] !== _ || e[18] !== o || e[19] !== p || e[20] !== l ? (n = /* @__PURE__ */ $("div", { ...l, children: [
|
|
46
46
|
o,
|
|
47
|
-
|
|
47
|
+
_,
|
|
48
48
|
p
|
|
49
|
-
] }), e[17] =
|
|
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 ? (
|
|
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] =
|
|
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
|
|
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
|
|
7
|
-
|
|
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__ */
|
|
13
|
-
|
|
14
|
-
}, children: /* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
}, children: /* @__PURE__ */
|
|
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
|
-
|
|
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
|
|
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
|
-
}),
|
|
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
|
-
|
|
67
|
-
|
|
66
|
+
A as PasswordInput,
|
|
67
|
+
E as passwordValidation
|
|
68
68
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
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:
|
|
8
|
-
initialValue:
|
|
9
|
-
...
|
|
7
|
+
value: o,
|
|
8
|
+
initialValue: l,
|
|
9
|
+
...n
|
|
10
10
|
} = r;
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ u(p, { wrapperComponent: {
|
|
12
12
|
className: "switch-input"
|
|
13
|
-
}, type: "checkbox", right: null, left: null, ref: t, value:
|
|
13
|
+
}, type: "checkbox", right: null, left: null, ref: t, value: o, ...l ? {
|
|
14
14
|
defaultChecked: !0
|
|
15
|
-
} : {}, ...
|
|
15
|
+
} : {}, ...n });
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
18
|
m as SwitchInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
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
|
|
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 = (
|
|
14
|
-
s(t.current), r.onClear && r.onClear(
|
|
13
|
+
} = r, c = (o) => {
|
|
14
|
+
s(t.current), r.onClear && r.onClear(o);
|
|
15
15
|
}, n = [l];
|
|
16
|
-
return i && n.push(/* @__PURE__ */
|
|
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
|
-
|
|
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
|
|
7
|
+
const b = i.forwardRef((r, t) => {
|
|
8
8
|
t = t || i.useRef(null);
|
|
9
9
|
const {
|
|
10
10
|
clearable: l = !1,
|
|
11
|
-
right:
|
|
12
|
-
...
|
|
11
|
+
right: m,
|
|
12
|
+
...a
|
|
13
13
|
} = r, c = (o) => {
|
|
14
14
|
s(t.current), r.onClear && r.onClear(o);
|
|
15
|
-
}, n = [
|
|
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, ...
|
|
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
|
-
|
|
19
|
+
b as TextInput
|
|
20
20
|
};
|
|
@@ -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
|
|
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
|
-
|
|
27
|
+
R as FullScreen
|
|
28
28
|
};
|