@quan-erp/shared-ui 2.0.2 → 2.0.3
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/components/ui/calendar.d.ts +2 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/sheet.d.ts +1 -1
- package/dist/components/ui/table.d.ts +3 -0
- package/dist/es/components/custom/data-table/cursor-based-pagination.js +1 -1
- package/dist/es/components/custom/data-table/data-table-bulk-action-menu.js +1 -1
- package/dist/es/components/custom/data-table/data-table-bulk-export.js +1 -1
- package/dist/es/components/custom/data-table/data-table-column-header.js +1 -1
- package/dist/es/components/custom/data-table/data-table-grid.js +2 -2
- package/dist/es/components/custom/data-table/data-table-list-view.js +1 -1
- package/dist/es/components/custom/data-table/data-table-pagination.js +1 -1
- package/dist/es/components/custom/data-table/data-table-toolbar.js +1 -1
- package/dist/es/components/custom/data-table/data-table-view-options.js +1 -1
- package/dist/es/components/custom/data-table/data-table.js +2 -3
- package/dist/es/components/custom/error-screen.js +1 -1
- package/dist/es/components/custom/floating-action-btn.js +2 -2
- package/dist/es/components/custom/pull-to-refresh.js +1 -1
- package/dist/es/components/custom/responsive-dialog.js +1 -1
- package/dist/es/components/ui/calendar.js +95 -8
- package/dist/es/components/ui/dialog.js +23 -0
- package/dist/es/components/ui/sheet.js +23 -0
- package/dist/es/components/ui/table.js +2 -1
- package/dist/es/index.js +1 -0
- package/dist/es/shared-ui.css +1 -1
- package/package.json +4 -3
- package/dist/es/node_modules/@tanstack/react-table/build/lib/index.js +0 -93
- package/dist/es/node_modules/@tanstack/table-core/build/lib/index.js +0 -2737
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/components/AnimatePresence/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/LayoutGroupContext.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/LazyContext.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/MotionConfigContext.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/MotionContext/create.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/MotionContext/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/MotionContext/utils.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/PresenceContext.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/events/add-pointer-event.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/events/event-info.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/drag/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/focus.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/hover.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/pan/PanSession.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/pan/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/gestures/press.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/animation/exit.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/animation/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/animations.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/definitions.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/drag.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/gestures.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/layout.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/load-features.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/viewport/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/features/viewport/observers.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/utils/symbol.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/motion/utils/valid-prop.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/components/create-proxy.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/components/motion/proxy.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/dom/create-visual-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/dom/use-render.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/html/use-props.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/svg/use-props.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/distance.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/get-context-window.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/is-browser.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/is-ref-object.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/use-composed-ref.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/use-constant.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/JSAnimation.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/NativeAnimation.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/animate/single-value.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/drivers/frame.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/inertia.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/keyframes.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/spring.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/get-final.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/WithPromise.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/can-animate.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/default-transitions.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/is-animatable.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/events/add-dom-event.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/batcher.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/frame.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/microtask.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/order.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/render-step.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/frameloop/sync-time.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/hover.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/press/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/press/utils/state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/gestures/utils/setup.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/animation/mix-values.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/conversion.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/copy.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/models.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/geometry/utils.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/node/create-projection-node.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/node/state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/shared/stack.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/styles/scale-correction.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/styles/transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/utils/each-axis.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/utils/flat-tree.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/utils/has-transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/projection/utils/measure.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/Feature.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/VisualElement.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/dom/is-css-var.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/dom/parse-transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/dom/style-set.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/html/utils/build-styles.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/html/utils/build-transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/html/utils/render.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/store.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/path.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/render.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/animation-state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/get-variant-context.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/is-variant-label.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/keys-position.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/keys-transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/motion-values.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/resolve-variants.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/setters.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/shallow-compare.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/render/utils/variant-props.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/resize/handle-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/resize/handle-window.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/resize/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/delay.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/interpolate.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/is-html-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/is-svg-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/color.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/complex.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/immediate.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/number.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/mix/visibility.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/resolve-elements.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/supports/flags.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/supports/linear-easing.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/supports/memo.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/auto.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/hex.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/hsla.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/rgba.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/color/utils.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/complex/filter.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/complex/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/complex/mask.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/dimensions.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/int.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/maps/defaults.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/maps/number.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/maps/transform.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/numbers/index.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/numbers/units.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/test.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/color-regex.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/find.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/float-regex.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/sanitize.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/utils/is-motion-value.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/will-change/add-will-change.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-dom/dist/es/value/will-change/is.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/array.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/clamp.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/anticipate.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/back.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/circ.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/cubic-bezier.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/ease.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/modifiers/mirror.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/modifiers/reverse.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/easing/utils/map.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/errors.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/format-error-message.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/global-config.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/is-numerical-string.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/is-object.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/is-zero-value-string.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/memo.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/noop.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/pipe.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/progress.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/subscription-manager.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/time-conversion.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/velocity-per-second.js +0 -0
- /package/dist/es/{shared-ui/node_modules → node_modules}/motion-utils/dist/es/warn-once.js +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DayButton, DayPicker } from 'react-day-picker';
|
|
2
2
|
import { Button } from './button';
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, type, trigger, label, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
4
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, type, trigger, label, onSelect, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
5
5
|
type?: 'raw' | 'popover' | 'drawer' | 'automatic';
|
|
6
6
|
trigger?: React.ReactNode;
|
|
7
7
|
label?: React.ReactNode;
|
|
8
8
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
9
|
+
onSelect?: (...args: any[]) => void;
|
|
9
10
|
}): React.JSX.Element;
|
|
10
11
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): React.JSX.Element;
|
|
11
12
|
export { Calendar, CalendarDayButton };
|
|
@@ -5,7 +5,7 @@ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogP
|
|
|
5
5
|
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
|
|
6
6
|
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
|
|
7
7
|
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
|
|
8
|
-
declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
8
|
+
declare function DialogContent({ className, children, showCloseButton, onPointerDownOutside, onInteractOutside, onFocusOutside, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
@@ -4,7 +4,7 @@ declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.
|
|
|
4
4
|
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): React.JSX.Element;
|
|
5
5
|
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): React.JSX.Element;
|
|
6
6
|
declare function SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>): React.JSX.Element;
|
|
7
|
-
declare function SheetContent({ className, children, side, showCloseButton, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
|
+
declare function SheetContent({ className, children, side, showCloseButton, onPointerDownOutside, onInteractOutside, onFocusOutside, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
8
8
|
side?: "top" | "right" | "bottom" | "left";
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
}): React.JSX.Element;
|
|
@@ -2,6 +2,9 @@ import * as React from "react";
|
|
|
2
2
|
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
|
|
3
3
|
wrapper?: string;
|
|
4
4
|
parentContainer?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
warpperStyle?: React.CSSProperties;
|
|
7
|
+
parentContainerStyle?: React.CSSProperties;
|
|
5
8
|
} & React.RefAttributes<HTMLTableElement>>;
|
|
6
9
|
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
7
10
|
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -13,7 +13,6 @@ import "lucide-react";
|
|
|
13
13
|
import "react-day-picker";
|
|
14
14
|
import "../../ui/popover.js";
|
|
15
15
|
import "../../ui/drawer.js";
|
|
16
|
-
import "../../ui/select.js";
|
|
17
16
|
import "uuid";
|
|
18
17
|
import "@quan-erp/shared-frontend-core";
|
|
19
18
|
import "@icon-park/react";
|
|
@@ -40,6 +39,7 @@ import "../../ui/progress.js";
|
|
|
40
39
|
import "../../ui/radio-group.js";
|
|
41
40
|
import "react-resizable-panels";
|
|
42
41
|
import "../../ui/scroll-area.js";
|
|
42
|
+
import "../../ui/select.js";
|
|
43
43
|
import "@radix-ui/react-separator";
|
|
44
44
|
import "../../ui/sidebar.js";
|
|
45
45
|
import "../../ui/slider.js";
|
|
@@ -13,7 +13,6 @@ import { macrosSlot } from "../../../lib/macros.js";
|
|
|
13
13
|
import { cn } from "../../../lib/utils.js";
|
|
14
14
|
import "../../ui/popover.js";
|
|
15
15
|
import "../../ui/drawer.js";
|
|
16
|
-
import "../../ui/select.js";
|
|
17
16
|
import "uuid";
|
|
18
17
|
import "@quan-erp/shared-frontend-core";
|
|
19
18
|
import "@icon-park/react";
|
|
@@ -40,6 +39,7 @@ import "../../ui/progress.js";
|
|
|
40
39
|
import "../../ui/radio-group.js";
|
|
41
40
|
import "react-resizable-panels";
|
|
42
41
|
import "../../ui/scroll-area.js";
|
|
42
|
+
import "../../ui/select.js";
|
|
43
43
|
import { Separator } from "../../ui/separator.js";
|
|
44
44
|
import "../../ui/sidebar.js";
|
|
45
45
|
import "../../ui/slider.js";
|
|
@@ -14,7 +14,6 @@ import "clsx";
|
|
|
14
14
|
import "tailwind-merge";
|
|
15
15
|
import "../../ui/popover.js";
|
|
16
16
|
import "../../ui/drawer.js";
|
|
17
|
-
import "../../ui/select.js";
|
|
18
17
|
import "uuid";
|
|
19
18
|
import "@quan-erp/shared-frontend-core";
|
|
20
19
|
import "@icon-park/react";
|
|
@@ -41,6 +40,7 @@ import "../../ui/progress.js";
|
|
|
41
40
|
import "../../ui/radio-group.js";
|
|
42
41
|
import "react-resizable-panels";
|
|
43
42
|
import "../../ui/scroll-area.js";
|
|
43
|
+
import "../../ui/select.js";
|
|
44
44
|
import "@radix-ui/react-separator";
|
|
45
45
|
import "../../ui/sidebar.js";
|
|
46
46
|
import "../../ui/slider.js";
|
|
@@ -13,7 +13,6 @@ import { Button } from "../../ui/button.js";
|
|
|
13
13
|
import "react-day-picker";
|
|
14
14
|
import "../../ui/popover.js";
|
|
15
15
|
import "../../ui/drawer.js";
|
|
16
|
-
import "../../ui/select.js";
|
|
17
16
|
import "uuid";
|
|
18
17
|
import "@quan-erp/shared-frontend-core";
|
|
19
18
|
import "@icon-park/react";
|
|
@@ -40,6 +39,7 @@ import "../../ui/progress.js";
|
|
|
40
39
|
import "../../ui/radio-group.js";
|
|
41
40
|
import "react-resizable-panels";
|
|
42
41
|
import "../../ui/scroll-area.js";
|
|
42
|
+
import "../../ui/select.js";
|
|
43
43
|
import "@radix-ui/react-separator";
|
|
44
44
|
import "../../ui/sidebar.js";
|
|
45
45
|
import "../../ui/slider.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { flexRender } from "
|
|
2
|
+
import { flexRender } from "@tanstack/react-table";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { groupTableRowsBy } from "./group-table-rows.js";
|
|
5
5
|
import "../../ui/accordion.js";
|
|
@@ -15,7 +15,6 @@ import { macrosSlot } from "../../../lib/macros.js";
|
|
|
15
15
|
import { cn } from "../../../lib/utils.js";
|
|
16
16
|
import "../../ui/popover.js";
|
|
17
17
|
import "../../ui/drawer.js";
|
|
18
|
-
import "../../ui/select.js";
|
|
19
18
|
import "uuid";
|
|
20
19
|
import "@quan-erp/shared-frontend-core";
|
|
21
20
|
import "@icon-park/react";
|
|
@@ -42,6 +41,7 @@ import "../../ui/progress.js";
|
|
|
42
41
|
import "../../ui/radio-group.js";
|
|
43
42
|
import "react-resizable-panels";
|
|
44
43
|
import "../../ui/scroll-area.js";
|
|
44
|
+
import "../../ui/select.js";
|
|
45
45
|
import "@radix-ui/react-separator";
|
|
46
46
|
import "../../ui/sidebar.js";
|
|
47
47
|
import "../../ui/slider.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { flexRender } from "
|
|
2
|
+
import { flexRender } from "@tanstack/react-table";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { groupTableRowsBy } from "./group-table-rows.js";
|
|
5
5
|
import { cn } from "../../../lib/utils.js";
|
|
@@ -16,7 +16,6 @@ import { macrosSlot } from "../../../lib/macros.js";
|
|
|
16
16
|
import { cn } from "../../../lib/utils.js";
|
|
17
17
|
import "../../ui/popover.js";
|
|
18
18
|
import "../../ui/drawer.js";
|
|
19
|
-
import "../../ui/select.js";
|
|
20
19
|
import "@icon-park/react";
|
|
21
20
|
import "../../ui/carousel.js";
|
|
22
21
|
import "../../ui/chart.js";
|
|
@@ -41,6 +40,7 @@ import "../../ui/progress.js";
|
|
|
41
40
|
import "../../ui/radio-group.js";
|
|
42
41
|
import "react-resizable-panels";
|
|
43
42
|
import "../../ui/scroll-area.js";
|
|
43
|
+
import "../../ui/select.js";
|
|
44
44
|
import "@radix-ui/react-separator";
|
|
45
45
|
import "../../ui/sidebar.js";
|
|
46
46
|
import "../../ui/slider.js";
|
|
@@ -14,7 +14,6 @@ import "lucide-react";
|
|
|
14
14
|
import "react-day-picker";
|
|
15
15
|
import "../../ui/popover.js";
|
|
16
16
|
import "../../ui/drawer.js";
|
|
17
|
-
import "../../ui/select.js";
|
|
18
17
|
import "uuid";
|
|
19
18
|
import "@quan-erp/shared-frontend-core";
|
|
20
19
|
import "@icon-park/react";
|
|
@@ -41,6 +40,7 @@ import "../../ui/progress.js";
|
|
|
41
40
|
import "../../ui/radio-group.js";
|
|
42
41
|
import "react-resizable-panels";
|
|
43
42
|
import "../../ui/scroll-area.js";
|
|
43
|
+
import "../../ui/select.js";
|
|
44
44
|
import { Separator } from "../../ui/separator.js";
|
|
45
45
|
import "../../ui/sidebar.js";
|
|
46
46
|
import "../../ui/slider.js";
|
|
@@ -18,7 +18,6 @@ import { Button } from "../../ui/button.js";
|
|
|
18
18
|
import "react-day-picker";
|
|
19
19
|
import "../../ui/popover.js";
|
|
20
20
|
import "../../ui/drawer.js";
|
|
21
|
-
import "../../ui/select.js";
|
|
22
21
|
import "@icon-park/react";
|
|
23
22
|
import "../../ui/carousel.js";
|
|
24
23
|
import "../../ui/chart.js";
|
|
@@ -43,6 +42,7 @@ import "../../ui/progress.js";
|
|
|
43
42
|
import "../../ui/radio-group.js";
|
|
44
43
|
import "react-resizable-panels";
|
|
45
44
|
import "../../ui/scroll-area.js";
|
|
45
|
+
import "../../ui/select.js";
|
|
46
46
|
import "@radix-ui/react-separator";
|
|
47
47
|
import "../../ui/sidebar.js";
|
|
48
48
|
import "../../ui/slider.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useReactTable } from "
|
|
2
|
+
import { useReactTable, getSortedRowModel, getCoreRowModel } from "@tanstack/react-table";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { DataTableBulkActionMenu } from "./data-table-bulk-action-menu.js";
|
|
5
5
|
import { DataTableBulkExportButton } from "./data-table-bulk-export.js";
|
|
@@ -27,7 +27,6 @@ import "lucide-react";
|
|
|
27
27
|
import "react-day-picker";
|
|
28
28
|
import "../../ui/popover.js";
|
|
29
29
|
import "../../ui/drawer.js";
|
|
30
|
-
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from "../../ui/select.js";
|
|
31
30
|
import "@icon-park/react";
|
|
32
31
|
import "../../ui/carousel.js";
|
|
33
32
|
import "../../ui/chart.js";
|
|
@@ -52,6 +51,7 @@ import "../../ui/progress.js";
|
|
|
52
51
|
import "../../ui/radio-group.js";
|
|
53
52
|
import "react-resizable-panels";
|
|
54
53
|
import "../../ui/scroll-area.js";
|
|
54
|
+
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from "../../ui/select.js";
|
|
55
55
|
import "@radix-ui/react-separator";
|
|
56
56
|
import "../../ui/sidebar.js";
|
|
57
57
|
import "../../ui/slider.js";
|
|
@@ -66,7 +66,6 @@ import "../../ui/toggle-group.js";
|
|
|
66
66
|
import "../../ui/toggle.js";
|
|
67
67
|
import "@radix-ui/react-tooltip";
|
|
68
68
|
import "@radix-ui/react-alert-dialog";
|
|
69
|
-
import { getSortedRowModel, getCoreRowModel } from "../../../node_modules/@tanstack/table-core/build/lib/index.js";
|
|
70
69
|
const LazyDataTableGrid = React.lazy(
|
|
71
70
|
() => import("./data-table-grid.js").then((m) => ({ default: m.DataTableGrid }))
|
|
72
71
|
);
|
|
@@ -13,7 +13,6 @@ import "lucide-react";
|
|
|
13
13
|
import "react-day-picker";
|
|
14
14
|
import "../ui/popover.js";
|
|
15
15
|
import "../ui/drawer.js";
|
|
16
|
-
import "../ui/select.js";
|
|
17
16
|
import "uuid";
|
|
18
17
|
import "@quan-erp/shared-frontend-core";
|
|
19
18
|
import "../ui/carousel.js";
|
|
@@ -39,6 +38,7 @@ import "../ui/progress.js";
|
|
|
39
38
|
import "../ui/radio-group.js";
|
|
40
39
|
import "react-resizable-panels";
|
|
41
40
|
import "../ui/scroll-area.js";
|
|
41
|
+
import "../ui/select.js";
|
|
42
42
|
import "@radix-ui/react-separator";
|
|
43
43
|
import "../ui/sidebar.js";
|
|
44
44
|
import "../ui/slider.js";
|
|
@@ -6,8 +6,8 @@ import { useUserHandBehavior } from "../../hooks/use-user-hand-behavior.js";
|
|
|
6
6
|
import { Portal } from "./portal.js";
|
|
7
7
|
import { cn } from "../../lib/utils.js";
|
|
8
8
|
import { macrosSlot } from "../../lib/macros.js";
|
|
9
|
-
import { AnimatePresence } from "../../
|
|
10
|
-
import { motion } from "../../
|
|
9
|
+
import { AnimatePresence } from "../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
10
|
+
import { motion } from "../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
11
11
|
const FAB_BUTTON = "FAB_BUTTON";
|
|
12
12
|
const FAB_CONTAINER = "FAB_CONTAINER";
|
|
13
13
|
const FloatingButtonContext = createContext({
|
|
@@ -15,7 +15,6 @@ import "clsx";
|
|
|
15
15
|
import "tailwind-merge";
|
|
16
16
|
import "../ui/popover.js";
|
|
17
17
|
import "../ui/drawer.js";
|
|
18
|
-
import "../ui/select.js";
|
|
19
18
|
import "uuid";
|
|
20
19
|
import { Vibration } from "@quan-erp/shared-frontend-core";
|
|
21
20
|
import "../ui/carousel.js";
|
|
@@ -41,6 +40,7 @@ import "../ui/progress.js";
|
|
|
41
40
|
import "../ui/radio-group.js";
|
|
42
41
|
import "react-resizable-panels";
|
|
43
42
|
import "../ui/scroll-area.js";
|
|
43
|
+
import "../ui/select.js";
|
|
44
44
|
import "@radix-ui/react-separator";
|
|
45
45
|
import "../ui/sidebar.js";
|
|
46
46
|
import "../ui/slider.js";
|
|
@@ -16,7 +16,6 @@ import { macrosSlot } from "../../lib/macros.js";
|
|
|
16
16
|
import { cn } from "../../lib/utils.js";
|
|
17
17
|
import "../ui/popover.js";
|
|
18
18
|
import { Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger } from "../ui/drawer.js";
|
|
19
|
-
import "../ui/select.js";
|
|
20
19
|
import "@icon-park/react";
|
|
21
20
|
import "../ui/carousel.js";
|
|
22
21
|
import "../ui/chart.js";
|
|
@@ -41,6 +40,7 @@ import "../ui/progress.js";
|
|
|
41
40
|
import "../ui/radio-group.js";
|
|
42
41
|
import "react-resizable-panels";
|
|
43
42
|
import "../ui/scroll-area.js";
|
|
43
|
+
import "../ui/select.js";
|
|
44
44
|
import "@radix-ui/react-separator";
|
|
45
45
|
import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger } from "../ui/sheet.js";
|
|
46
46
|
import "../ui/sidebar.js";
|
|
@@ -7,7 +7,6 @@ import { cn } from "../../lib/utils.js";
|
|
|
7
7
|
import { Button, buttonVariants } from "./button.js";
|
|
8
8
|
import { Popover, PopoverTrigger, PopoverContent } from "./popover.js";
|
|
9
9
|
import { Drawer, DrawerTrigger, DrawerContent, DrawerFooter, DrawerClose } from "./drawer.js";
|
|
10
|
-
import "./select.js";
|
|
11
10
|
import { useMediaQuery } from "../../hooks/use-mobile.js";
|
|
12
11
|
import { useMobileBackDialog } from "../../hooks/use-mobile-back-dialog.js";
|
|
13
12
|
import "@quan-erp/shared-frontend-core";
|
|
@@ -23,18 +22,86 @@ function Calendar({
|
|
|
23
22
|
type = "raw",
|
|
24
23
|
trigger,
|
|
25
24
|
label,
|
|
25
|
+
onSelect,
|
|
26
26
|
...props
|
|
27
27
|
}) {
|
|
28
28
|
const defaultClassNames = getDefaultClassNames();
|
|
29
29
|
const isMobile = useMediaQuery();
|
|
30
30
|
const [open, setOpen] = React.useState(false);
|
|
31
31
|
const isDrawer = type === "drawer" || type === "automatic" && isMobile;
|
|
32
|
+
const contentRef = React.useRef(null);
|
|
33
|
+
const triggerRef = React.useRef(null);
|
|
32
34
|
const [internalMonth, setInternalMonth] = React.useState(props.defaultMonth || props.month || /* @__PURE__ */ new Date());
|
|
33
35
|
useMobileBackDialog({
|
|
34
36
|
open,
|
|
35
37
|
enable: open && isDrawer,
|
|
36
38
|
onOpenChange: setOpen
|
|
37
39
|
});
|
|
40
|
+
React.useLayoutEffect(() => {
|
|
41
|
+
if (!open || isDrawer) return;
|
|
42
|
+
const pad = 8;
|
|
43
|
+
const gap = 6;
|
|
44
|
+
let applying = false;
|
|
45
|
+
let observed = null;
|
|
46
|
+
let obs;
|
|
47
|
+
function place() {
|
|
48
|
+
const el = contentRef.current;
|
|
49
|
+
const trigger2 = triggerRef.current;
|
|
50
|
+
if (!el || !trigger2 || !el.isConnected || applying) return;
|
|
51
|
+
const wrapper = el.closest("[data-radix-popper-content-wrapper]") || el;
|
|
52
|
+
const tr = trigger2.getBoundingClientRect();
|
|
53
|
+
const h = el.offsetHeight;
|
|
54
|
+
const w = el.offsetWidth;
|
|
55
|
+
const vh = window.innerHeight;
|
|
56
|
+
const vw = window.innerWidth;
|
|
57
|
+
let top = tr.bottom + gap;
|
|
58
|
+
if (top + h > vh - pad) top = tr.top - gap - h;
|
|
59
|
+
if (top < pad) top = pad;
|
|
60
|
+
if (top + h > vh - pad) top = Math.max(pad, vh - pad - h);
|
|
61
|
+
let left = tr.left;
|
|
62
|
+
if (left + w > vw - pad) left = Math.max(pad, vw - pad - w);
|
|
63
|
+
if (left < pad) left = pad;
|
|
64
|
+
applying = true;
|
|
65
|
+
wrapper.style.setProperty("position", "fixed", "important");
|
|
66
|
+
wrapper.style.setProperty("top", `${Math.round(top)}px`, "important");
|
|
67
|
+
wrapper.style.setProperty("left", `${Math.round(left)}px`, "important");
|
|
68
|
+
wrapper.style.setProperty("right", "auto", "important");
|
|
69
|
+
wrapper.style.setProperty("bottom", "auto", "important");
|
|
70
|
+
wrapper.style.setProperty("transform", "none", "important");
|
|
71
|
+
wrapper.style.setProperty("margin", "0", "important");
|
|
72
|
+
wrapper.style.setProperty("z-index", "200", "important");
|
|
73
|
+
applying = false;
|
|
74
|
+
if (observed !== wrapper) {
|
|
75
|
+
if (observed) obs.disconnect();
|
|
76
|
+
observed = wrapper;
|
|
77
|
+
obs.observe(wrapper, { attributes: true, attributeFilter: ["style"] });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
obs = new MutationObserver(() => {
|
|
81
|
+
if (!applying) place();
|
|
82
|
+
});
|
|
83
|
+
place();
|
|
84
|
+
const rafs = [0, 1, 2].map(() => requestAnimationFrame(place));
|
|
85
|
+
const timers = [16, 50, 100, 200, 400].map((ms) => window.setTimeout(place, ms));
|
|
86
|
+
window.addEventListener("resize", place);
|
|
87
|
+
window.addEventListener("scroll", place, true);
|
|
88
|
+
return () => {
|
|
89
|
+
rafs.forEach((id) => cancelAnimationFrame(id));
|
|
90
|
+
timers.forEach((id) => window.clearTimeout(id));
|
|
91
|
+
obs.disconnect();
|
|
92
|
+
window.removeEventListener("resize", place);
|
|
93
|
+
window.removeEventListener("scroll", place, true);
|
|
94
|
+
};
|
|
95
|
+
}, [open, isDrawer]);
|
|
96
|
+
const handleSelect = React.useCallback(
|
|
97
|
+
(date, ...args) => {
|
|
98
|
+
onSelect?.(date, ...args);
|
|
99
|
+
if (props.mode === "single" && date && (type === "popover" || type === "automatic" || type === "drawer")) {
|
|
100
|
+
setOpen(false);
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
[onSelect, props.mode, type]
|
|
104
|
+
);
|
|
38
105
|
React.useEffect(() => {
|
|
39
106
|
if (props.month) {
|
|
40
107
|
setInternalMonth(props.month);
|
|
@@ -106,8 +173,8 @@ function Calendar({
|
|
|
106
173
|
const today = /* @__PURE__ */ new Date();
|
|
107
174
|
setInternalMonth(today);
|
|
108
175
|
props.onMonthChange?.(today);
|
|
109
|
-
if (props.mode === "single" &&
|
|
110
|
-
|
|
176
|
+
if (props.mode === "single" && onSelect) {
|
|
177
|
+
handleSelect(today, today, { selected: false }, {});
|
|
111
178
|
}
|
|
112
179
|
};
|
|
113
180
|
const CalendarContent = /* @__PURE__ */ jsxs("div", { className: "shared:flex shared:flex-col shared:gap-2 shared:w-full shared:overflow-hidden shared:md:h-[26.5rem] shared:h-[31.5rem] shared:md:mt-0 shared:mt-5", children: [
|
|
@@ -329,7 +396,8 @@ function Calendar({
|
|
|
329
396
|
},
|
|
330
397
|
...components
|
|
331
398
|
},
|
|
332
|
-
...props
|
|
399
|
+
...props,
|
|
400
|
+
onSelect: handleSelect
|
|
333
401
|
}
|
|
334
402
|
),
|
|
335
403
|
/* @__PURE__ */ jsx("div", { className: "shared:px-2 shared:pb-2 shared:mt-[-4px] shared:min-h-min shared:flex shared:justify-end", children: showMonthYearPicker ? /* @__PURE__ */ jsx(
|
|
@@ -361,10 +429,29 @@ function Calendar({
|
|
|
361
429
|
] })
|
|
362
430
|
] });
|
|
363
431
|
}
|
|
364
|
-
return
|
|
365
|
-
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
|
|
432
|
+
return (
|
|
433
|
+
// modal={false}: works inside Dialog (pointer-events / focus trap won't swallow the panel)
|
|
434
|
+
/* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, modal: false, children: [
|
|
435
|
+
/* @__PURE__ */ jsx("div", { ref: triggerRef, className: "shared:w-full shared:min-w-0", children: /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: trigger || /* @__PURE__ */ jsxs(Button, { type: "button", variant: "input", children: [
|
|
436
|
+
label,
|
|
437
|
+
/* @__PURE__ */ jsx(Calendar$1, { theme: "outline", size: "19", fill: "#000000" })
|
|
438
|
+
] }) }) }),
|
|
439
|
+
/* @__PURE__ */ jsx(
|
|
440
|
+
PopoverContent,
|
|
441
|
+
{
|
|
442
|
+
ref: contentRef,
|
|
443
|
+
align: "start",
|
|
444
|
+
side: "bottom",
|
|
445
|
+
sideOffset: 6,
|
|
446
|
+
avoidCollisions: false,
|
|
447
|
+
className: "shared:z-[100] shared:w-auto shared:p-0",
|
|
448
|
+
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
449
|
+
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
450
|
+
children: CalendarContent
|
|
451
|
+
}
|
|
452
|
+
)
|
|
453
|
+
] })
|
|
454
|
+
);
|
|
368
455
|
}
|
|
369
456
|
function CalendarDayButton({
|
|
370
457
|
className,
|
|
@@ -40,10 +40,21 @@ function DialogOverlay({
|
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
+
function isPortaledOverlayTarget(target) {
|
|
44
|
+
if (!(target instanceof Element)) return false;
|
|
45
|
+
return Boolean(
|
|
46
|
+
target.closest(
|
|
47
|
+
'[data-slot="popover-content"], [data-slot="select-content"], [data-slot="dropdown-menu-content"], [data-slot="combobox-content"]'
|
|
48
|
+
)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
43
51
|
function DialogContent({
|
|
44
52
|
className,
|
|
45
53
|
children,
|
|
46
54
|
showCloseButton = true,
|
|
55
|
+
onPointerDownOutside,
|
|
56
|
+
onInteractOutside,
|
|
57
|
+
onFocusOutside,
|
|
47
58
|
...props
|
|
48
59
|
}) {
|
|
49
60
|
return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
@@ -57,6 +68,18 @@ function DialogContent({
|
|
|
57
68
|
className
|
|
58
69
|
),
|
|
59
70
|
...props,
|
|
71
|
+
onPointerDownOutside: (e) => {
|
|
72
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
73
|
+
onPointerDownOutside?.(e);
|
|
74
|
+
},
|
|
75
|
+
onInteractOutside: (e) => {
|
|
76
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
77
|
+
onInteractOutside?.(e);
|
|
78
|
+
},
|
|
79
|
+
onFocusOutside: (e) => {
|
|
80
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
81
|
+
onFocusOutside?.(e);
|
|
82
|
+
},
|
|
60
83
|
children: [
|
|
61
84
|
children,
|
|
62
85
|
showCloseButton && /* @__PURE__ */ jsxs(
|
|
@@ -38,11 +38,22 @@ function SheetOverlay({
|
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
+
function isPortaledOverlayTarget(target) {
|
|
42
|
+
if (!(target instanceof Element)) return false;
|
|
43
|
+
return Boolean(
|
|
44
|
+
target.closest(
|
|
45
|
+
'[data-slot="popover-content"], [data-slot="select-content"], [data-slot="dropdown-menu-content"], [data-slot="combobox-content"]'
|
|
46
|
+
)
|
|
47
|
+
);
|
|
48
|
+
}
|
|
41
49
|
function SheetContent({
|
|
42
50
|
className,
|
|
43
51
|
children,
|
|
44
52
|
side = "right",
|
|
45
53
|
showCloseButton = true,
|
|
54
|
+
onPointerDownOutside,
|
|
55
|
+
onInteractOutside,
|
|
56
|
+
onFocusOutside,
|
|
46
57
|
...props
|
|
47
58
|
}) {
|
|
48
59
|
return /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
@@ -60,6 +71,18 @@ function SheetContent({
|
|
|
60
71
|
className
|
|
61
72
|
),
|
|
62
73
|
...props,
|
|
74
|
+
onPointerDownOutside: (e) => {
|
|
75
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
76
|
+
onPointerDownOutside?.(e);
|
|
77
|
+
},
|
|
78
|
+
onInteractOutside: (e) => {
|
|
79
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
80
|
+
onInteractOutside?.(e);
|
|
81
|
+
},
|
|
82
|
+
onFocusOutside: (e) => {
|
|
83
|
+
if (isPortaledOverlayTarget(e.target)) e.preventDefault();
|
|
84
|
+
onFocusOutside?.(e);
|
|
85
|
+
},
|
|
63
86
|
children: [
|
|
64
87
|
children,
|
|
65
88
|
showCloseButton && /* @__PURE__ */ jsxs(DialogPrimitive.Close, { ...macrosSlot("sheet-close"), className: "shared:p-2 shared:bg-muted shared:rounded-full shared:ring-offset-background shared:focus:ring-ring shared:data-[state=open]:bg-secondary shared:absolute shared:top-4 shared:right-4 shared:opacity-70 shared:transition-opacity shared:hover:opacity-100 shared:focus:ring-2 shared:focus:ring-offset-2 shared:focus:outline-hidden shared:disabled:pointer-events-none shared:cursor-pointer", children: [
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { cn } from "../../lib/utils.js";
|
|
4
|
-
const Table = React.forwardRef(({ className, wrapper, parentContainer, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("shared:w-full shared:border shared:border-black/10 shared:rounded-xl shared:cupertino-corner shared:overflow-hidden", parentContainer), children: /* @__PURE__ */ jsx("div", { className: cn("shared:relative shared:w-full shared:overflow-auto", wrapper), children: /* @__PURE__ */ jsx(
|
|
4
|
+
const Table = React.forwardRef(({ className, wrapper, parentContainer, parentContainerStyle, warpperStyle, style, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("shared:w-full shared:border shared:border-black/10 shared:rounded-xl shared:cupertino-corner shared:overflow-hidden", parentContainer), style: parentContainerStyle, children: /* @__PURE__ */ jsx("div", { className: cn("shared:relative shared:w-full shared:overflow-auto", wrapper), style: warpperStyle, children: /* @__PURE__ */ jsx(
|
|
5
5
|
"table",
|
|
6
6
|
{
|
|
7
7
|
ref,
|
|
8
8
|
className: cn("shared:w-full shared:caption-bottom shared:text-sm", className),
|
|
9
|
+
style,
|
|
9
10
|
...props
|
|
10
11
|
}
|
|
11
12
|
) }) }));
|
package/dist/es/index.js
CHANGED
|
@@ -90,6 +90,7 @@ import { DataTableViewFallback } from "./components/custom/data-table/data-table
|
|
|
90
90
|
import { DataTableViewOptions } from "./components/custom/data-table/data-table-view-options.js";
|
|
91
91
|
import { buildColumnLayoutKey, loadViewPreferences, parseViewPreferences, saveViewPreferences, serializeViewPreferences, setColumnVisibleInState } from "./components/custom/data-table/data-table-view-preferences.storage.js";
|
|
92
92
|
import { getDataTableViewPreferencesStorageKey, useDataTableViewPreferences } from "./components/custom/data-table/data-table-view-preferences.js";
|
|
93
|
+
import "@tanstack/react-table";
|
|
93
94
|
import { DataTable } from "./components/custom/data-table/data-table.js";
|
|
94
95
|
import { useDataTablePageSize } from "./components/custom/data-table/use-data-table-page-size.js";
|
|
95
96
|
import { SCREENS, useMediaQuery, useMediaQueryMultiStep } from "./hooks/use-mobile.js";
|