laif-ds 0.1.9 → 0.1.11
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/_virtual/index2.js +5 -2
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +2 -5
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index6.js +5 -2
- package/dist/components/ui/accordion.js +20 -20
- package/dist/components/ui/alert-dialog.js +41 -41
- package/dist/components/ui/alert.js +10 -10
- package/dist/components/ui/aspect-ratio.js +4 -4
- package/dist/components/ui/async-select.js +112 -112
- package/dist/components/ui/audio-visualizer.js +26 -26
- package/dist/components/ui/avatar.js +17 -17
- package/dist/components/ui/badge.js +9 -10
- package/dist/components/ui/breadcrumb.js +24 -25
- package/dist/components/ui/button.js +17 -17
- package/dist/components/ui/calendar.js +8 -8
- package/dist/components/ui/card.js +15 -15
- package/dist/components/ui/carousel.js +66 -66
- package/dist/components/ui/chart.js +80 -80
- package/dist/components/ui/chat-message.js +104 -104
- package/dist/components/ui/chat.js +109 -109
- package/dist/components/ui/checkbox.js +5 -5
- package/dist/components/ui/collapsible.js +10 -10
- package/dist/components/ui/command.js +52 -52
- package/dist/components/ui/context-menu.js +61 -61
- package/dist/components/ui/copy-button.js +19 -19
- package/dist/components/ui/data-table.js +73 -73
- package/dist/components/ui/date-picker.js +18 -18
- package/dist/components/ui/dialog.js +49 -49
- package/dist/components/ui/drawer.js +43 -43
- package/dist/components/ui/file-preview.js +49 -49
- package/dist/components/ui/form.js +33 -33
- package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
- package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
- package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
- package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
- package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
- package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
- package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
- package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
- package/dist/components/ui/hover-card.js +4 -4
- package/dist/components/ui/icon.js +9 -9
- package/dist/components/ui/input-otp.js +14 -14
- package/dist/components/ui/input-selector.js +38 -38
- package/dist/components/ui/input.js +32 -32
- package/dist/components/ui/interrupt-prompt.js +9 -10
- package/dist/components/ui/label.js +4 -4
- package/dist/components/ui/markdown-renderer.js +60 -63
- package/dist/components/ui/menubar.js +89 -89
- package/dist/components/ui/message-input.js +149 -150
- package/dist/components/ui/message-list.js +15 -15
- package/dist/components/ui/multiple-selector.js +159 -159
- package/dist/components/ui/navigation-menu.js +44 -44
- package/dist/components/ui/pagination.js +39 -39
- package/dist/components/ui/popover.js +13 -13
- package/dist/components/ui/progress.js +14 -14
- package/dist/components/ui/prompt-suggestions.js +10 -10
- package/dist/components/ui/radio-group.js +15 -15
- package/dist/components/ui/resizable.js +13 -13
- package/dist/components/ui/scroll-area.js +25 -25
- package/dist/components/ui/select.js +80 -80
- package/dist/components/ui/separator.js +4 -4
- package/dist/components/ui/sheet.js +48 -48
- package/dist/components/ui/sidebar.js +178 -182
- package/dist/components/ui/skeleton.js +4 -4
- package/dist/components/ui/switch.js +5 -5
- package/dist/components/ui/table.js +14 -14
- package/dist/components/ui/tabs.js +10 -10
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/toaster.js +2 -2
- package/dist/components/ui/toggle-group.js +6 -6
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +19 -19
- package/dist/components/ui/typing-indicator.js +7 -7
- package/dist/components/ui/typo.js +10 -10
- package/dist/dist/components/ui/checkbox.js +6 -6
- package/dist/dist/components/ui/scroll-area.js +30 -30
- package/dist/dist/components/ui/table.js +15 -15
- package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
- package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
- package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
- package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
- package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
- package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/lib/index.js +39 -39
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/package.json +3 -2
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/node_modules/react/jsx-runtime.js +0 -11
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { useAutoScroll as
|
|
6
|
-
import { Button as
|
|
7
|
-
import { CopyButton as
|
|
8
|
-
import { MessageInput as
|
|
9
|
-
import { MessageList as
|
|
10
|
-
import { PromptSuggestions as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
function
|
|
2
|
+
import { jsxs as y, jsx as t, Fragment as j } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as g, useRef as L, useCallback as T, useState as z } from "react";
|
|
4
|
+
import { cn as B } from "../../lib/utils.js";
|
|
5
|
+
import { useAutoScroll as D } from "../../hooks/use-auto-scroll.js";
|
|
6
|
+
import { Button as N } from "./button.js";
|
|
7
|
+
import { CopyButton as S } from "./copy-button.js";
|
|
8
|
+
import { MessageInput as P } from "./message-input.js";
|
|
9
|
+
import { MessageList as U } from "./message-list.js";
|
|
10
|
+
import { PromptSuggestions as E } from "./prompt-suggestions.js";
|
|
11
|
+
import O from "../../node_modules/lucide-react/dist/esm/icons/thumbs-up.js";
|
|
12
|
+
import q from "../../node_modules/lucide-react/dist/esm/icons/thumbs-down.js";
|
|
13
|
+
import H from "../../node_modules/lucide-react/dist/esm/icons/arrow-down.js";
|
|
14
|
+
function J({
|
|
15
15
|
messages: e,
|
|
16
16
|
handleSubmit: n,
|
|
17
|
-
input:
|
|
18
|
-
handleInputChange:
|
|
19
|
-
stop:
|
|
17
|
+
input: a,
|
|
18
|
+
handleInputChange: u,
|
|
19
|
+
stop: l,
|
|
20
20
|
isGenerating: c,
|
|
21
|
-
append:
|
|
21
|
+
append: f,
|
|
22
22
|
suggestions: d,
|
|
23
|
-
className:
|
|
23
|
+
className: w,
|
|
24
24
|
onRateResponse: p,
|
|
25
|
-
setMessages:
|
|
26
|
-
transcribeAudio:
|
|
25
|
+
setMessages: v,
|
|
26
|
+
transcribeAudio: A
|
|
27
27
|
}) {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
32
|
-
const
|
|
33
|
-
(
|
|
28
|
+
const C = e.at(-1), F = e.length === 0, b = (C == null ? void 0 : C.role) === "user", x = L(e);
|
|
29
|
+
x.current = e;
|
|
30
|
+
const M = T(() => {
|
|
31
|
+
if (l == null || l(), !v) return;
|
|
32
|
+
const r = [...x.current], i = r.findLast(
|
|
33
|
+
(s) => s.role === "assistant"
|
|
34
34
|
);
|
|
35
|
-
if (!
|
|
36
|
-
let m = !1, h = { ...
|
|
37
|
-
if (
|
|
38
|
-
const
|
|
35
|
+
if (!i) return;
|
|
36
|
+
let m = !1, h = { ...i };
|
|
37
|
+
if (i.toolInvocations) {
|
|
38
|
+
const s = i.toolInvocations.map(
|
|
39
39
|
(o) => o.state === "call" ? (m = !0, {
|
|
40
40
|
...o,
|
|
41
41
|
state: "result",
|
|
@@ -48,11 +48,11 @@ function q({
|
|
|
48
48
|
);
|
|
49
49
|
m && (h = {
|
|
50
50
|
...h,
|
|
51
|
-
toolInvocations:
|
|
51
|
+
toolInvocations: s
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
if (
|
|
55
|
-
const
|
|
54
|
+
if (i.parts && i.parts.length > 0) {
|
|
55
|
+
const s = i.parts.map((o) => o.type === "tool-invocation" && o.toolInvocation && o.toolInvocation.state === "call" ? (m = !0, {
|
|
56
56
|
...o,
|
|
57
57
|
toolInvocation: {
|
|
58
58
|
...o.toolInvocation,
|
|
@@ -65,164 +65,164 @@ function q({
|
|
|
65
65
|
}) : o);
|
|
66
66
|
m && (h = {
|
|
67
67
|
...h,
|
|
68
|
-
parts:
|
|
68
|
+
parts: s
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
if (m) {
|
|
72
|
-
const
|
|
73
|
-
(o) => o.id ===
|
|
72
|
+
const s = r.findIndex(
|
|
73
|
+
(o) => o.id === i.id
|
|
74
74
|
);
|
|
75
|
-
|
|
75
|
+
s !== -1 && (r[s] = h, v(r));
|
|
76
76
|
}
|
|
77
|
-
}, [
|
|
78
|
-
(
|
|
79
|
-
actions: p ? /* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */ t
|
|
81
|
-
|
|
77
|
+
}, [l, v, x]), _ = T(
|
|
78
|
+
(r) => ({
|
|
79
|
+
actions: p ? /* @__PURE__ */ y(j, { children: [
|
|
80
|
+
/* @__PURE__ */ t("div", { className: "border-r pr-1", children: /* @__PURE__ */ t(
|
|
81
|
+
S,
|
|
82
82
|
{
|
|
83
|
-
content:
|
|
83
|
+
content: r.content,
|
|
84
84
|
copyMessage: "Copied response to clipboard!"
|
|
85
85
|
}
|
|
86
86
|
) }),
|
|
87
|
-
/* @__PURE__ */ t
|
|
88
|
-
|
|
87
|
+
/* @__PURE__ */ t(
|
|
88
|
+
N,
|
|
89
89
|
{
|
|
90
90
|
size: "icon",
|
|
91
91
|
variant: "ghost",
|
|
92
92
|
className: "h-6 w-6",
|
|
93
|
-
onClick: () => p(
|
|
94
|
-
children: /* @__PURE__ */ t
|
|
93
|
+
onClick: () => p(r.id, "thumbs-up"),
|
|
94
|
+
children: /* @__PURE__ */ t(O, { className: "h-4 w-4" })
|
|
95
95
|
}
|
|
96
96
|
),
|
|
97
|
-
/* @__PURE__ */ t
|
|
98
|
-
|
|
97
|
+
/* @__PURE__ */ t(
|
|
98
|
+
N,
|
|
99
99
|
{
|
|
100
100
|
size: "icon",
|
|
101
101
|
variant: "ghost",
|
|
102
102
|
className: "h-6 w-6",
|
|
103
|
-
onClick: () => p(
|
|
104
|
-
children: /* @__PURE__ */ t
|
|
103
|
+
onClick: () => p(r.id, "thumbs-down"),
|
|
104
|
+
children: /* @__PURE__ */ t(q, { className: "h-4 w-4" })
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
|
-
] }) : /* @__PURE__ */ t
|
|
108
|
-
|
|
107
|
+
] }) : /* @__PURE__ */ t(
|
|
108
|
+
S,
|
|
109
109
|
{
|
|
110
|
-
content:
|
|
110
|
+
content: r.content,
|
|
111
111
|
copyMessage: "Copied response to clipboard!"
|
|
112
112
|
}
|
|
113
113
|
)
|
|
114
114
|
}),
|
|
115
115
|
[p]
|
|
116
116
|
);
|
|
117
|
-
return /* @__PURE__ */
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
return /* @__PURE__ */ y(I, { className: w, children: [
|
|
118
|
+
F && f && d ? /* @__PURE__ */ t(
|
|
119
|
+
E,
|
|
120
120
|
{
|
|
121
121
|
label: "Try these prompts ✨",
|
|
122
|
-
append:
|
|
122
|
+
append: f,
|
|
123
123
|
suggestions: d
|
|
124
124
|
}
|
|
125
125
|
) : null,
|
|
126
|
-
e.length > 0 ? /* @__PURE__ */ t
|
|
127
|
-
|
|
126
|
+
e.length > 0 ? /* @__PURE__ */ t(K, { messages: e, children: /* @__PURE__ */ t(
|
|
127
|
+
U,
|
|
128
128
|
{
|
|
129
129
|
messages: e,
|
|
130
|
-
isTyping:
|
|
131
|
-
messageOptions:
|
|
130
|
+
isTyping: b,
|
|
131
|
+
messageOptions: _
|
|
132
132
|
}
|
|
133
133
|
) }) : null,
|
|
134
|
-
/* @__PURE__ */ t
|
|
135
|
-
|
|
134
|
+
/* @__PURE__ */ t(
|
|
135
|
+
k,
|
|
136
136
|
{
|
|
137
137
|
className: "flex-shrink-0",
|
|
138
|
-
isPending: c ||
|
|
138
|
+
isPending: c || b,
|
|
139
139
|
handleSubmit: n,
|
|
140
|
-
children: ({ files:
|
|
141
|
-
|
|
140
|
+
children: ({ files: r, setFiles: i }) => /* @__PURE__ */ t(
|
|
141
|
+
P,
|
|
142
142
|
{
|
|
143
|
-
value:
|
|
144
|
-
onChange:
|
|
143
|
+
value: a,
|
|
144
|
+
onChange: u,
|
|
145
145
|
allowAttachments: !0,
|
|
146
|
-
files:
|
|
147
|
-
setFiles:
|
|
148
|
-
stop:
|
|
146
|
+
files: r,
|
|
147
|
+
setFiles: i,
|
|
148
|
+
stop: M,
|
|
149
149
|
isGenerating: c,
|
|
150
|
-
transcribeAudio:
|
|
150
|
+
transcribeAudio: A
|
|
151
151
|
}
|
|
152
152
|
)
|
|
153
153
|
}
|
|
154
154
|
)
|
|
155
155
|
] });
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
function
|
|
157
|
+
J.displayName = "Chat";
|
|
158
|
+
function K({
|
|
159
159
|
messages: e,
|
|
160
160
|
children: n
|
|
161
161
|
}) {
|
|
162
162
|
const {
|
|
163
|
-
containerRef:
|
|
164
|
-
scrollToBottom:
|
|
165
|
-
handleScroll:
|
|
163
|
+
containerRef: a,
|
|
164
|
+
scrollToBottom: u,
|
|
165
|
+
handleScroll: l,
|
|
166
166
|
shouldAutoScroll: c,
|
|
167
|
-
handleTouchStart:
|
|
168
|
-
} =
|
|
169
|
-
return /* @__PURE__ */
|
|
167
|
+
handleTouchStart: f
|
|
168
|
+
} = D([e]);
|
|
169
|
+
return /* @__PURE__ */ y(
|
|
170
170
|
"div",
|
|
171
171
|
{
|
|
172
172
|
className: "flex-1 relative overflow-y-auto pb-4",
|
|
173
|
-
ref:
|
|
174
|
-
onScroll:
|
|
175
|
-
onTouchStart:
|
|
173
|
+
ref: a,
|
|
174
|
+
onScroll: l,
|
|
175
|
+
onTouchStart: f,
|
|
176
176
|
children: [
|
|
177
|
-
/* @__PURE__ */ t
|
|
178
|
-
!c && /* @__PURE__ */ t
|
|
179
|
-
|
|
177
|
+
/* @__PURE__ */ t("div", { className: "max-w-full", children: n }),
|
|
178
|
+
!c && /* @__PURE__ */ t("div", { className: "pointer-events-none absolute bottom-0 left-0 right-0 flex items-end justify-end", children: /* @__PURE__ */ t("div", { className: "sticky bottom-0 left-0 flex w-full justify-end", children: /* @__PURE__ */ t(
|
|
179
|
+
N,
|
|
180
180
|
{
|
|
181
|
-
onClick:
|
|
181
|
+
onClick: u,
|
|
182
182
|
className: "pointer-events-auto h-8 w-8 rounded-full ease-in-out animate-in fade-in-0 slide-in-from-bottom-1",
|
|
183
183
|
size: "icon",
|
|
184
184
|
variant: "ghost",
|
|
185
|
-
children: /* @__PURE__ */ t
|
|
185
|
+
children: /* @__PURE__ */ t(H, { className: "h-4 w-4" })
|
|
186
186
|
}
|
|
187
187
|
) }) })
|
|
188
188
|
]
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
const
|
|
192
|
+
const I = g(({ className: e, ...n }, a) => /* @__PURE__ */ t(
|
|
193
193
|
"div",
|
|
194
194
|
{
|
|
195
|
-
ref:
|
|
196
|
-
className:
|
|
195
|
+
ref: a,
|
|
196
|
+
className: B("flex flex-col max-h-full w-full h-full", e),
|
|
197
197
|
...n
|
|
198
198
|
}
|
|
199
199
|
));
|
|
200
|
-
|
|
201
|
-
const
|
|
202
|
-
({ children: e, handleSubmit: n, className:
|
|
203
|
-
const [
|
|
204
|
-
|
|
200
|
+
I.displayName = "ChatContainer";
|
|
201
|
+
const k = g(
|
|
202
|
+
({ children: e, handleSubmit: n, className: a }, u) => {
|
|
203
|
+
const [l, c] = z(null);
|
|
204
|
+
return /* @__PURE__ */ t("form", { ref: u, onSubmit: (d) => {
|
|
205
|
+
if (!l) {
|
|
205
206
|
n(d);
|
|
206
207
|
return;
|
|
207
208
|
}
|
|
208
|
-
const
|
|
209
|
-
n(d, { experimental_attachments:
|
|
210
|
-
};
|
|
211
|
-
return /* @__PURE__ */ t.jsx("form", { ref: f, onSubmit: u, className: i, children: e({ files: r, setFiles: c }) });
|
|
209
|
+
const w = Q(l);
|
|
210
|
+
n(d, { experimental_attachments: w }), c(null);
|
|
211
|
+
}, className: a, children: e({ files: l, setFiles: c }) });
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
|
-
|
|
215
|
-
function
|
|
214
|
+
k.displayName = "ChatForm";
|
|
215
|
+
function Q(e) {
|
|
216
216
|
if (typeof window > "u")
|
|
217
217
|
return {};
|
|
218
218
|
const n = new DataTransfer();
|
|
219
|
-
for (const
|
|
220
|
-
n.items.add(
|
|
219
|
+
for (const a of Array.from(e))
|
|
220
|
+
n.items.add(a);
|
|
221
221
|
return n.files;
|
|
222
222
|
}
|
|
223
223
|
export {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
224
|
+
J as Chat,
|
|
225
|
+
I as ChatContainer,
|
|
226
|
+
k as ChatForm,
|
|
227
|
+
K as ChatMessages
|
|
228
228
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { Root as t, Indicator as a } from "../../node_modules/@radix-ui/react-checkbox/dist/index.js";
|
|
4
4
|
import { cn as o } from "../../lib/utils.js";
|
|
5
|
-
import
|
|
5
|
+
import d from "../../node_modules/lucide-react/dist/esm/icons/check.js";
|
|
6
6
|
function u({
|
|
7
7
|
className: e,
|
|
8
8
|
...i
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */ r
|
|
10
|
+
return /* @__PURE__ */ r(
|
|
11
11
|
t,
|
|
12
12
|
{
|
|
13
13
|
"data-slot": "checkbox",
|
|
@@ -16,12 +16,12 @@ function u({
|
|
|
16
16
|
e
|
|
17
17
|
),
|
|
18
18
|
...i,
|
|
19
|
-
children: /* @__PURE__ */ r
|
|
19
|
+
children: /* @__PURE__ */ r(
|
|
20
20
|
a,
|
|
21
21
|
{
|
|
22
22
|
"data-slot": "checkbox-indicator",
|
|
23
23
|
className: "flex items-center justify-center text-current transition-none",
|
|
24
|
-
children: /* @__PURE__ */ r
|
|
24
|
+
children: /* @__PURE__ */ r(d, { className: "size-3.5" })
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
27
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Root as t, CollapsibleTrigger as e, CollapsibleContent as
|
|
4
|
-
function
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { Root as t, CollapsibleTrigger as e, CollapsibleContent as i } from "../../node_modules/@radix-ui/react-collapsible/dist/index.js";
|
|
4
|
+
function n({
|
|
5
5
|
...l
|
|
6
6
|
}) {
|
|
7
|
-
return /* @__PURE__ */ o
|
|
7
|
+
return /* @__PURE__ */ o(t, { "data-slot": "collapsible", ...l });
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function s({
|
|
10
10
|
...l
|
|
11
11
|
}) {
|
|
12
|
-
return /* @__PURE__ */ o
|
|
12
|
+
return /* @__PURE__ */ o(
|
|
13
13
|
e,
|
|
14
14
|
{
|
|
15
15
|
"data-slot": "collapsible-trigger",
|
|
@@ -20,8 +20,8 @@ function n({
|
|
|
20
20
|
function p({
|
|
21
21
|
...l
|
|
22
22
|
}) {
|
|
23
|
-
return /* @__PURE__ */ o
|
|
24
|
-
|
|
23
|
+
return /* @__PURE__ */ o(
|
|
24
|
+
i,
|
|
25
25
|
{
|
|
26
26
|
"data-slot": "collapsible-content",
|
|
27
27
|
...l
|
|
@@ -29,7 +29,7 @@ function p({
|
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
n as Collapsible,
|
|
33
33
|
p as CollapsibleContent,
|
|
34
|
-
|
|
34
|
+
s as CollapsibleTrigger
|
|
35
35
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
3
3
|
import { Command as a } from "../../node_modules/cmdk/dist/index.js";
|
|
4
4
|
import { cn as n } from "../../lib/utils.js";
|
|
5
|
-
import { Dialog as
|
|
6
|
-
import
|
|
7
|
-
function
|
|
5
|
+
import { Dialog as s, DialogHeader as c, DialogTitle as i, DialogDescription as l, DialogContent as u } from "./dialog.js";
|
|
6
|
+
import p from "../../node_modules/lucide-react/dist/esm/icons/search.js";
|
|
7
|
+
function g({
|
|
8
8
|
className: e,
|
|
9
|
-
...
|
|
9
|
+
...t
|
|
10
10
|
}) {
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ o(
|
|
12
12
|
a,
|
|
13
13
|
{
|
|
14
14
|
"data-slot": "command",
|
|
@@ -16,36 +16,36 @@ function p({
|
|
|
16
16
|
"bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
|
|
17
17
|
e
|
|
18
18
|
),
|
|
19
|
-
...
|
|
19
|
+
...t
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function v({
|
|
24
24
|
title: e = "Command Palette",
|
|
25
|
-
description:
|
|
25
|
+
description: t = "Search for a command to run...",
|
|
26
26
|
children: r,
|
|
27
|
-
...
|
|
27
|
+
...m
|
|
28
28
|
}) {
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ d(s, { ...m, children: [
|
|
30
|
+
/* @__PURE__ */ d(c, { className: "sr-only", children: [
|
|
31
|
+
/* @__PURE__ */ o(i, { children: e }),
|
|
32
|
+
/* @__PURE__ */ o(l, { children: t })
|
|
33
33
|
] }),
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ o(u, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(g, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: r }) })
|
|
35
35
|
] });
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function w({
|
|
38
38
|
className: e,
|
|
39
|
-
...
|
|
39
|
+
...t
|
|
40
40
|
}) {
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ d(
|
|
42
42
|
"div",
|
|
43
43
|
{
|
|
44
44
|
"data-slot": "command-input-wrapper",
|
|
45
45
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ o(p, { className: "size-4 shrink-0 opacity-50" }),
|
|
48
|
+
/* @__PURE__ */ o(
|
|
49
49
|
a.Input,
|
|
50
50
|
{
|
|
51
51
|
"data-slot": "command-input",
|
|
@@ -53,18 +53,18 @@ function v({
|
|
|
53
53
|
"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
54
54
|
e
|
|
55
55
|
),
|
|
56
|
-
...
|
|
56
|
+
...t
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function y({
|
|
64
64
|
className: e,
|
|
65
|
-
...
|
|
65
|
+
...t
|
|
66
66
|
}) {
|
|
67
|
-
return /* @__PURE__ */
|
|
67
|
+
return /* @__PURE__ */ o(
|
|
68
68
|
a.List,
|
|
69
69
|
{
|
|
70
70
|
"data-slot": "command-list",
|
|
@@ -72,14 +72,14 @@ function j({
|
|
|
72
72
|
"max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
|
|
73
73
|
e
|
|
74
74
|
),
|
|
75
|
-
...
|
|
75
|
+
...t
|
|
76
76
|
}
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function N({
|
|
80
80
|
...e
|
|
81
81
|
}) {
|
|
82
|
-
return /* @__PURE__ */
|
|
82
|
+
return /* @__PURE__ */ o(
|
|
83
83
|
a.Empty,
|
|
84
84
|
{
|
|
85
85
|
"data-slot": "command-empty",
|
|
@@ -88,11 +88,11 @@ function w({
|
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function C({
|
|
92
92
|
className: e,
|
|
93
|
-
...
|
|
93
|
+
...t
|
|
94
94
|
}) {
|
|
95
|
-
return /* @__PURE__ */
|
|
95
|
+
return /* @__PURE__ */ o(
|
|
96
96
|
a.Group,
|
|
97
97
|
{
|
|
98
98
|
"data-slot": "command-group",
|
|
@@ -100,28 +100,28 @@ function y({
|
|
|
100
100
|
"text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
|
|
101
101
|
e
|
|
102
102
|
),
|
|
103
|
-
...
|
|
103
|
+
...t
|
|
104
104
|
}
|
|
105
105
|
);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function b({
|
|
108
108
|
className: e,
|
|
109
|
-
...
|
|
109
|
+
...t
|
|
110
110
|
}) {
|
|
111
|
-
return /* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ o(
|
|
112
112
|
a.Separator,
|
|
113
113
|
{
|
|
114
114
|
"data-slot": "command-separator",
|
|
115
115
|
className: n("bg-border -mx-1 h-px", e),
|
|
116
|
-
...
|
|
116
|
+
...t
|
|
117
117
|
}
|
|
118
118
|
);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function D({
|
|
121
121
|
className: e,
|
|
122
|
-
...
|
|
122
|
+
...t
|
|
123
123
|
}) {
|
|
124
|
-
return /* @__PURE__ */
|
|
124
|
+
return /* @__PURE__ */ o(
|
|
125
125
|
a.Item,
|
|
126
126
|
{
|
|
127
127
|
"data-slot": "command-item",
|
|
@@ -129,15 +129,15 @@ function C({
|
|
|
129
129
|
"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
130
130
|
e
|
|
131
131
|
),
|
|
132
|
-
...
|
|
132
|
+
...t
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function S({
|
|
137
137
|
className: e,
|
|
138
|
-
...
|
|
138
|
+
...t
|
|
139
139
|
}) {
|
|
140
|
-
return /* @__PURE__ */
|
|
140
|
+
return /* @__PURE__ */ o(
|
|
141
141
|
"span",
|
|
142
142
|
{
|
|
143
143
|
"data-slot": "command-shortcut",
|
|
@@ -145,18 +145,18 @@ function b({
|
|
|
145
145
|
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
146
146
|
e
|
|
147
147
|
),
|
|
148
|
-
...
|
|
148
|
+
...t
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
152
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
153
|
+
g as Command,
|
|
154
|
+
v as CommandDialog,
|
|
155
|
+
N as CommandEmpty,
|
|
156
|
+
C as CommandGroup,
|
|
157
|
+
w as CommandInput,
|
|
158
|
+
D as CommandItem,
|
|
159
|
+
y as CommandList,
|
|
160
|
+
b as CommandSeparator,
|
|
161
|
+
S as CommandShortcut
|
|
162
162
|
};
|