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,107 +1,107 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import { clamp as
|
|
3
|
+
import * as Ee from "react-dom";
|
|
4
|
+
import { clamp as Re } from "../../number/dist/index.js";
|
|
5
5
|
import { composeEventHandlers as b } from "../../primitive/dist/index.js";
|
|
6
|
-
import { createCollection as
|
|
7
|
-
import { useComposedRefs as
|
|
8
|
-
import { createContextScope as
|
|
9
|
-
import { useDirection as
|
|
10
|
-
import { DismissableLayer as
|
|
11
|
-
import { useFocusGuards as
|
|
12
|
-
import { FocusScope as
|
|
13
|
-
import { useId as
|
|
14
|
-
import { createPopperScope as
|
|
15
|
-
import { Portal as
|
|
6
|
+
import { createCollection as st } from "../../react-collection/dist/index.js";
|
|
7
|
+
import { useComposedRefs as V } from "../../react-compose-refs/dist/index.js";
|
|
8
|
+
import { createContextScope as lt } from "../../react-context/dist/index.js";
|
|
9
|
+
import { useDirection as ct } from "../../react-direction/dist/index.js";
|
|
10
|
+
import { DismissableLayer as it } from "../../react-dismissable-layer/dist/index.js";
|
|
11
|
+
import { useFocusGuards as at } from "../../react-focus-guards/dist/index.js";
|
|
12
|
+
import { FocusScope as dt } from "../../react-focus-scope/dist/index.js";
|
|
13
|
+
import { useId as Ie } from "../../react-id/dist/index.js";
|
|
14
|
+
import { createPopperScope as _e, Root as ut, Anchor as pt, Content as ft, Arrow as mt } from "../../react-popper/dist/index.js";
|
|
15
|
+
import { Portal as ht } from "../../react-portal/dist/index.js";
|
|
16
16
|
import { Primitive as M } from "../../react-primitive/dist/index.js";
|
|
17
|
-
import { createSlot as
|
|
18
|
-
import { useCallbackRef as
|
|
19
|
-
import { useControllableState as
|
|
20
|
-
import { useLayoutEffect as
|
|
21
|
-
import { usePrevious as
|
|
22
|
-
import { VisuallyHidden as
|
|
23
|
-
import { hideOthers as
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
]),
|
|
17
|
+
import { createSlot as vt } from "../../react-slot/dist/index.js";
|
|
18
|
+
import { useCallbackRef as gt } from "../../react-use-callback-ref/dist/index.js";
|
|
19
|
+
import { useControllableState as be } from "../../react-use-controllable-state/dist/index.js";
|
|
20
|
+
import { useLayoutEffect as j } from "../../react-use-layout-effect/dist/index.js";
|
|
21
|
+
import { usePrevious as St } from "../../react-use-previous/dist/index.js";
|
|
22
|
+
import { VisuallyHidden as wt } from "../../react-visually-hidden/dist/index.js";
|
|
23
|
+
import { hideOthers as Ct } from "../../../aria-hidden/dist/es2015/index.js";
|
|
24
|
+
import yt from "../../../react-remove-scroll/dist/es2015/Combination.js";
|
|
25
|
+
import { jsx as f, jsxs as ce, Fragment as Te } from "react/jsx-runtime";
|
|
26
|
+
var xt = [" ", "Enter", "ArrowUp", "ArrowDown"], It = [" ", "Enter"], re = "Select", [ae, de, Tt] = st(re), [ee, ao] = lt(re, [
|
|
27
|
+
Tt,
|
|
28
|
+
_e
|
|
29
|
+
]), ue = _e(), [Pt, Y] = ee(re), [Rt, bt] = ee(re), Ne = (n) => {
|
|
30
30
|
const {
|
|
31
31
|
__scopeSelect: i,
|
|
32
32
|
children: e,
|
|
33
33
|
open: c,
|
|
34
34
|
defaultOpen: l,
|
|
35
|
-
onOpenChange:
|
|
35
|
+
onOpenChange: u,
|
|
36
36
|
value: r,
|
|
37
37
|
defaultValue: s,
|
|
38
38
|
onValueChange: o,
|
|
39
|
-
dir:
|
|
39
|
+
dir: p,
|
|
40
40
|
name: g,
|
|
41
|
-
autoComplete:
|
|
41
|
+
autoComplete: C,
|
|
42
42
|
disabled: P,
|
|
43
43
|
required: R,
|
|
44
44
|
form: T
|
|
45
|
-
} = n, a =
|
|
45
|
+
} = n, a = ue(i), [v, y] = t.useState(null), [d, h] = t.useState(null), [A, O] = t.useState(!1), te = ct(p), [E = !1, L] = be({
|
|
46
46
|
prop: c,
|
|
47
47
|
defaultProp: l,
|
|
48
|
-
onChange:
|
|
49
|
-
}), [
|
|
48
|
+
onChange: u
|
|
49
|
+
}), [K, X] = be({
|
|
50
50
|
prop: r,
|
|
51
51
|
defaultProp: s,
|
|
52
52
|
onChange: o
|
|
53
|
-
}),
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
|
|
53
|
+
}), B = t.useRef(null), H = v ? T || !!v.closest("form") : !0, [G, W] = t.useState(/* @__PURE__ */ new Set()), F = Array.from(G).map((_) => _.props.value).join(";");
|
|
54
|
+
return /* @__PURE__ */ f(ut, { ...a, children: /* @__PURE__ */ ce(
|
|
55
|
+
Pt,
|
|
56
56
|
{
|
|
57
57
|
required: R,
|
|
58
58
|
scope: i,
|
|
59
59
|
trigger: v,
|
|
60
|
-
onTriggerChange:
|
|
61
|
-
valueNode:
|
|
60
|
+
onTriggerChange: y,
|
|
61
|
+
valueNode: d,
|
|
62
62
|
onValueNodeChange: h,
|
|
63
63
|
valueNodeHasChildren: A,
|
|
64
64
|
onValueNodeHasChildrenChange: O,
|
|
65
|
-
contentId:
|
|
66
|
-
value:
|
|
65
|
+
contentId: Ie(),
|
|
66
|
+
value: K,
|
|
67
67
|
onValueChange: X,
|
|
68
68
|
open: E,
|
|
69
|
-
onOpenChange:
|
|
69
|
+
onOpenChange: L,
|
|
70
70
|
dir: te,
|
|
71
|
-
triggerPointerDownPosRef:
|
|
71
|
+
triggerPointerDownPosRef: B,
|
|
72
72
|
disabled: P,
|
|
73
73
|
children: [
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
|
|
74
|
+
/* @__PURE__ */ f(ae.Provider, { scope: i, children: /* @__PURE__ */ f(
|
|
75
|
+
Rt,
|
|
76
76
|
{
|
|
77
77
|
scope: n.__scopeSelect,
|
|
78
78
|
onNativeOptionAdd: t.useCallback((_) => {
|
|
79
|
-
|
|
79
|
+
W((k) => new Set(k).add(_));
|
|
80
80
|
}, []),
|
|
81
81
|
onNativeOptionRemove: t.useCallback((_) => {
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
return
|
|
82
|
+
W((k) => {
|
|
83
|
+
const U = new Set(k);
|
|
84
|
+
return U.delete(_), U;
|
|
85
85
|
});
|
|
86
86
|
}, []),
|
|
87
87
|
children: e
|
|
88
88
|
}
|
|
89
89
|
) }),
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
H ? /* @__PURE__ */ ce(
|
|
91
|
+
ot,
|
|
92
92
|
{
|
|
93
93
|
"aria-hidden": !0,
|
|
94
94
|
required: R,
|
|
95
95
|
tabIndex: -1,
|
|
96
96
|
name: g,
|
|
97
|
-
autoComplete:
|
|
98
|
-
value:
|
|
97
|
+
autoComplete: C,
|
|
98
|
+
value: K,
|
|
99
99
|
onChange: (_) => X(_.target.value),
|
|
100
100
|
disabled: P,
|
|
101
101
|
form: T,
|
|
102
102
|
children: [
|
|
103
|
-
|
|
104
|
-
Array.from(
|
|
103
|
+
K === void 0 ? /* @__PURE__ */ f("option", { value: "" }) : null,
|
|
104
|
+
Array.from(G)
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
107
|
F
|
|
@@ -110,19 +110,19 @@ var wt = [" ", "Enter", "ArrowUp", "ArrowDown"], Ct = [" ", "Enter"], re = "Sele
|
|
|
110
110
|
}
|
|
111
111
|
) });
|
|
112
112
|
};
|
|
113
|
-
|
|
114
|
-
var
|
|
113
|
+
Ne.displayName = re;
|
|
114
|
+
var Me = "SelectTrigger", Ae = t.forwardRef(
|
|
115
115
|
(n, i) => {
|
|
116
|
-
const { __scopeSelect: e, disabled: c = !1, ...l } = n,
|
|
117
|
-
const v =
|
|
118
|
-
|
|
116
|
+
const { __scopeSelect: e, disabled: c = !1, ...l } = n, u = ue(e), r = Y(Me, e), s = r.disabled || c, o = V(i, r.onTriggerChange), p = de(e), g = t.useRef("touch"), [C, P, R] = nt((a) => {
|
|
117
|
+
const v = p().filter((h) => !h.disabled), y = v.find((h) => h.value === r.value), d = rt(v, a, y);
|
|
118
|
+
d !== void 0 && r.onValueChange(d.value);
|
|
119
119
|
}), T = (a) => {
|
|
120
120
|
s || (r.onOpenChange(!0), R()), a && (r.triggerPointerDownPosRef.current = {
|
|
121
121
|
x: Math.round(a.pageX),
|
|
122
122
|
y: Math.round(a.pageY)
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
|
-
return /* @__PURE__ */
|
|
125
|
+
return /* @__PURE__ */ f(pt, { asChild: !0, ...u, children: /* @__PURE__ */ f(
|
|
126
126
|
M.button,
|
|
127
127
|
{
|
|
128
128
|
type: "button",
|
|
@@ -135,7 +135,7 @@ var _e = "SelectTrigger", Ne = t.forwardRef(
|
|
|
135
135
|
"data-state": r.open ? "open" : "closed",
|
|
136
136
|
disabled: s,
|
|
137
137
|
"data-disabled": s ? "" : void 0,
|
|
138
|
-
"data-placeholder":
|
|
138
|
+
"data-placeholder": tt(r.value) ? "" : void 0,
|
|
139
139
|
...l,
|
|
140
140
|
ref: o,
|
|
141
141
|
onClick: b(l.onClick, (a) => {
|
|
@@ -147,196 +147,196 @@ var _e = "SelectTrigger", Ne = t.forwardRef(
|
|
|
147
147
|
v.hasPointerCapture(a.pointerId) && v.releasePointerCapture(a.pointerId), a.button === 0 && a.ctrlKey === !1 && a.pointerType === "mouse" && (T(a), a.preventDefault());
|
|
148
148
|
}),
|
|
149
149
|
onKeyDown: b(l.onKeyDown, (a) => {
|
|
150
|
-
const v =
|
|
151
|
-
!(a.ctrlKey || a.altKey || a.metaKey) && a.key.length === 1 && P(a.key), !(v && a.key === " ") &&
|
|
150
|
+
const v = C.current !== "";
|
|
151
|
+
!(a.ctrlKey || a.altKey || a.metaKey) && a.key.length === 1 && P(a.key), !(v && a.key === " ") && xt.includes(a.key) && (T(), a.preventDefault());
|
|
152
152
|
})
|
|
153
153
|
}
|
|
154
154
|
) });
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
|
-
|
|
158
|
-
var
|
|
157
|
+
Ae.displayName = Me;
|
|
158
|
+
var Oe = "SelectValue", De = t.forwardRef(
|
|
159
159
|
(n, i) => {
|
|
160
|
-
const { __scopeSelect: e, className: c, style: l, children:
|
|
161
|
-
return
|
|
162
|
-
|
|
163
|
-
}, [
|
|
160
|
+
const { __scopeSelect: e, className: c, style: l, children: u, placeholder: r = "", ...s } = n, o = Y(Oe, e), { onValueNodeHasChildrenChange: p } = o, g = u !== void 0, C = V(i, o.onValueNodeChange);
|
|
161
|
+
return j(() => {
|
|
162
|
+
p(g);
|
|
163
|
+
}, [p, g]), /* @__PURE__ */ f(
|
|
164
164
|
M.span,
|
|
165
165
|
{
|
|
166
166
|
...s,
|
|
167
|
-
ref:
|
|
167
|
+
ref: C,
|
|
168
168
|
style: { pointerEvents: "none" },
|
|
169
|
-
children:
|
|
169
|
+
children: tt(o.value) ? /* @__PURE__ */ f(Te, { children: r }) : u
|
|
170
170
|
}
|
|
171
171
|
);
|
|
172
172
|
}
|
|
173
173
|
);
|
|
174
|
-
|
|
175
|
-
var
|
|
174
|
+
De.displayName = Oe;
|
|
175
|
+
var Et = "SelectIcon", Le = t.forwardRef(
|
|
176
176
|
(n, i) => {
|
|
177
177
|
const { __scopeSelect: e, children: c, ...l } = n;
|
|
178
|
-
return /* @__PURE__ */
|
|
178
|
+
return /* @__PURE__ */ f(M.span, { "aria-hidden": !0, ...l, ref: i, children: c || "▼" });
|
|
179
179
|
}
|
|
180
180
|
);
|
|
181
|
-
|
|
182
|
-
var
|
|
183
|
-
|
|
184
|
-
var J = "SelectContent",
|
|
181
|
+
Le.displayName = Et;
|
|
182
|
+
var _t = "SelectPortal", ke = (n) => /* @__PURE__ */ f(ht, { asChild: !0, ...n });
|
|
183
|
+
ke.displayName = _t;
|
|
184
|
+
var J = "SelectContent", Ve = t.forwardRef(
|
|
185
185
|
(n, i) => {
|
|
186
186
|
const e = Y(J, n.__scopeSelect), [c, l] = t.useState();
|
|
187
|
-
if (
|
|
187
|
+
if (j(() => {
|
|
188
188
|
l(new DocumentFragment());
|
|
189
189
|
}, []), !e.open) {
|
|
190
|
-
const
|
|
191
|
-
return
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
|
|
190
|
+
const u = c;
|
|
191
|
+
return u ? Ee.createPortal(
|
|
192
|
+
/* @__PURE__ */ f(Be, { scope: n.__scopeSelect, children: /* @__PURE__ */ f(ae.Slot, { scope: n.__scopeSelect, children: /* @__PURE__ */ f("div", { children: n.children }) }) }),
|
|
193
|
+
u
|
|
194
194
|
) : null;
|
|
195
195
|
}
|
|
196
|
-
return /* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ f(He, { ...n, ref: i });
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
|
-
|
|
200
|
-
var D = 10, [
|
|
199
|
+
Ve.displayName = J;
|
|
200
|
+
var D = 10, [Be, q] = ee(J), Nt = "SelectContentImpl", Mt = vt("SelectContent.RemoveScroll"), He = t.forwardRef(
|
|
201
201
|
(n, i) => {
|
|
202
202
|
const {
|
|
203
203
|
__scopeSelect: e,
|
|
204
204
|
position: c = "item-aligned",
|
|
205
205
|
onCloseAutoFocus: l,
|
|
206
|
-
onEscapeKeyDown:
|
|
206
|
+
onEscapeKeyDown: u,
|
|
207
207
|
onPointerDownOutside: r,
|
|
208
208
|
//
|
|
209
209
|
// PopperContent props
|
|
210
210
|
side: s,
|
|
211
211
|
sideOffset: o,
|
|
212
|
-
align:
|
|
212
|
+
align: p,
|
|
213
213
|
alignOffset: g,
|
|
214
|
-
arrowPadding:
|
|
214
|
+
arrowPadding: C,
|
|
215
215
|
collisionBoundary: P,
|
|
216
216
|
collisionPadding: R,
|
|
217
217
|
sticky: T,
|
|
218
218
|
hideWhenDetached: a,
|
|
219
219
|
avoidCollisions: v,
|
|
220
220
|
//
|
|
221
|
-
...
|
|
222
|
-
} = n,
|
|
221
|
+
...y
|
|
222
|
+
} = n, d = Y(J, e), [h, A] = t.useState(null), [O, te] = t.useState(null), E = V(i, (m) => A(m)), [L, K] = t.useState(null), [X, B] = t.useState(
|
|
223
223
|
null
|
|
224
|
-
),
|
|
224
|
+
), H = de(e), [G, W] = t.useState(!1), F = t.useRef(!1);
|
|
225
225
|
t.useEffect(() => {
|
|
226
|
-
if (h) return
|
|
227
|
-
}, [h]),
|
|
226
|
+
if (h) return Ct(h);
|
|
227
|
+
}, [h]), at();
|
|
228
228
|
const _ = t.useCallback(
|
|
229
229
|
(m) => {
|
|
230
|
-
const [I, ...N] =
|
|
231
|
-
for (const
|
|
232
|
-
if (
|
|
230
|
+
const [I, ...N] = H().map((w) => w.ref.current), [x] = N.slice(-1), S = document.activeElement;
|
|
231
|
+
for (const w of m)
|
|
232
|
+
if (w === S || (w == null || w.scrollIntoView({ block: "nearest" }), w === I && O && (O.scrollTop = 0), w === x && O && (O.scrollTop = O.scrollHeight), w == null || w.focus(), document.activeElement !== S)) return;
|
|
233
233
|
},
|
|
234
|
-
[
|
|
235
|
-
),
|
|
236
|
-
() => _([
|
|
237
|
-
[_,
|
|
234
|
+
[H, O]
|
|
235
|
+
), k = t.useCallback(
|
|
236
|
+
() => _([L, h]),
|
|
237
|
+
[_, L, h]
|
|
238
238
|
);
|
|
239
239
|
t.useEffect(() => {
|
|
240
|
-
|
|
241
|
-
}, [
|
|
242
|
-
const { onOpenChange:
|
|
240
|
+
G && k();
|
|
241
|
+
}, [G, k]);
|
|
242
|
+
const { onOpenChange: U, triggerPointerDownPosRef: z } = d;
|
|
243
243
|
t.useEffect(() => {
|
|
244
244
|
if (h) {
|
|
245
245
|
let m = { x: 0, y: 0 };
|
|
246
|
-
const I = (
|
|
247
|
-
var S,
|
|
246
|
+
const I = (x) => {
|
|
247
|
+
var S, w;
|
|
248
248
|
m = {
|
|
249
|
-
x: Math.abs(Math.round(
|
|
250
|
-
y: Math.abs(Math.round(
|
|
249
|
+
x: Math.abs(Math.round(x.pageX) - (((S = z.current) == null ? void 0 : S.x) ?? 0)),
|
|
250
|
+
y: Math.abs(Math.round(x.pageY) - (((w = z.current) == null ? void 0 : w.y) ?? 0))
|
|
251
251
|
};
|
|
252
|
-
}, N = (
|
|
253
|
-
m.x <= 10 && m.y <= 10 ?
|
|
252
|
+
}, N = (x) => {
|
|
253
|
+
m.x <= 10 && m.y <= 10 ? x.preventDefault() : h.contains(x.target) || U(!1), document.removeEventListener("pointermove", I), z.current = null;
|
|
254
254
|
};
|
|
255
|
-
return
|
|
255
|
+
return z.current !== null && (document.addEventListener("pointermove", I), document.addEventListener("pointerup", N, { capture: !0, once: !0 })), () => {
|
|
256
256
|
document.removeEventListener("pointermove", I), document.removeEventListener("pointerup", N, { capture: !0 });
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
}, [h,
|
|
260
|
-
const m = () =>
|
|
259
|
+
}, [h, U, z]), t.useEffect(() => {
|
|
260
|
+
const m = () => U(!1);
|
|
261
261
|
return window.addEventListener("blur", m), window.addEventListener("resize", m), () => {
|
|
262
262
|
window.removeEventListener("blur", m), window.removeEventListener("resize", m);
|
|
263
263
|
};
|
|
264
|
-
}, [
|
|
265
|
-
const [
|
|
266
|
-
const I =
|
|
267
|
-
|
|
268
|
-
}),
|
|
264
|
+
}, [U]);
|
|
265
|
+
const [pe, se] = nt((m) => {
|
|
266
|
+
const I = H().filter((S) => !S.disabled), N = I.find((S) => S.ref.current === document.activeElement), x = rt(I, m, N);
|
|
267
|
+
x && setTimeout(() => x.ref.current.focus());
|
|
268
|
+
}), fe = t.useCallback(
|
|
269
269
|
(m, I, N) => {
|
|
270
|
-
const
|
|
271
|
-
(
|
|
270
|
+
const x = !F.current && !N;
|
|
271
|
+
(d.value !== void 0 && d.value === I || x) && (K(m), x && (F.current = !0));
|
|
272
272
|
},
|
|
273
|
-
[
|
|
274
|
-
),
|
|
273
|
+
[d.value]
|
|
274
|
+
), me = t.useCallback(() => h == null ? void 0 : h.focus(), [h]), Q = t.useCallback(
|
|
275
275
|
(m, I, N) => {
|
|
276
|
-
const
|
|
277
|
-
(
|
|
276
|
+
const x = !F.current && !N;
|
|
277
|
+
(d.value !== void 0 && d.value === I || x) && B(m);
|
|
278
278
|
},
|
|
279
|
-
[
|
|
280
|
-
), le = c === "popper" ?
|
|
279
|
+
[d.value]
|
|
280
|
+
), le = c === "popper" ? Se : We, oe = le === Se ? {
|
|
281
281
|
side: s,
|
|
282
282
|
sideOffset: o,
|
|
283
|
-
align:
|
|
283
|
+
align: p,
|
|
284
284
|
alignOffset: g,
|
|
285
|
-
arrowPadding:
|
|
285
|
+
arrowPadding: C,
|
|
286
286
|
collisionBoundary: P,
|
|
287
287
|
collisionPadding: R,
|
|
288
288
|
sticky: T,
|
|
289
289
|
hideWhenDetached: a,
|
|
290
290
|
avoidCollisions: v
|
|
291
291
|
} : {};
|
|
292
|
-
return /* @__PURE__ */
|
|
293
|
-
|
|
292
|
+
return /* @__PURE__ */ f(
|
|
293
|
+
Be,
|
|
294
294
|
{
|
|
295
295
|
scope: e,
|
|
296
296
|
content: h,
|
|
297
297
|
viewport: O,
|
|
298
298
|
onViewportChange: te,
|
|
299
|
-
itemRefCallback:
|
|
300
|
-
selectedItem:
|
|
301
|
-
onItemLeave:
|
|
299
|
+
itemRefCallback: fe,
|
|
300
|
+
selectedItem: L,
|
|
301
|
+
onItemLeave: me,
|
|
302
302
|
itemTextRefCallback: Q,
|
|
303
|
-
focusSelectedItem:
|
|
303
|
+
focusSelectedItem: k,
|
|
304
304
|
selectedItemText: X,
|
|
305
305
|
position: c,
|
|
306
|
-
isPositioned:
|
|
307
|
-
searchRef:
|
|
308
|
-
children: /* @__PURE__ */
|
|
309
|
-
|
|
306
|
+
isPositioned: G,
|
|
307
|
+
searchRef: pe,
|
|
308
|
+
children: /* @__PURE__ */ f(yt, { as: Mt, allowPinchZoom: !0, children: /* @__PURE__ */ f(
|
|
309
|
+
dt,
|
|
310
310
|
{
|
|
311
311
|
asChild: !0,
|
|
312
|
-
trapped:
|
|
312
|
+
trapped: d.open,
|
|
313
313
|
onMountAutoFocus: (m) => {
|
|
314
314
|
m.preventDefault();
|
|
315
315
|
},
|
|
316
316
|
onUnmountAutoFocus: b(l, (m) => {
|
|
317
317
|
var I;
|
|
318
|
-
(I =
|
|
318
|
+
(I = d.trigger) == null || I.focus({ preventScroll: !0 }), m.preventDefault();
|
|
319
319
|
}),
|
|
320
|
-
children: /* @__PURE__ */
|
|
321
|
-
|
|
320
|
+
children: /* @__PURE__ */ f(
|
|
321
|
+
it,
|
|
322
322
|
{
|
|
323
323
|
asChild: !0,
|
|
324
324
|
disableOutsidePointerEvents: !0,
|
|
325
|
-
onEscapeKeyDown:
|
|
325
|
+
onEscapeKeyDown: u,
|
|
326
326
|
onPointerDownOutside: r,
|
|
327
327
|
onFocusOutside: (m) => m.preventDefault(),
|
|
328
|
-
onDismiss: () =>
|
|
329
|
-
children: /* @__PURE__ */
|
|
328
|
+
onDismiss: () => d.onOpenChange(!1),
|
|
329
|
+
children: /* @__PURE__ */ f(
|
|
330
330
|
le,
|
|
331
331
|
{
|
|
332
332
|
role: "listbox",
|
|
333
|
-
id:
|
|
334
|
-
"data-state":
|
|
335
|
-
dir:
|
|
333
|
+
id: d.contentId,
|
|
334
|
+
"data-state": d.open ? "open" : "closed",
|
|
335
|
+
dir: d.dir,
|
|
336
336
|
onContextMenu: (m) => m.preventDefault(),
|
|
337
|
-
...
|
|
337
|
+
...y,
|
|
338
338
|
...oe,
|
|
339
|
-
onPlaced: () =>
|
|
339
|
+
onPlaced: () => W(!0),
|
|
340
340
|
ref: E,
|
|
341
341
|
style: {
|
|
342
342
|
// flex layout so we can place the scroll buttons properly
|
|
@@ -344,17 +344,17 @@ var D = 10, [Le, q] = ee(J), Et = "SelectContentImpl", _t = mt("SelectContent.Re
|
|
|
344
344
|
flexDirection: "column",
|
|
345
345
|
// reset the outline by default as the content MAY get focused
|
|
346
346
|
outline: "none",
|
|
347
|
-
...
|
|
347
|
+
...y.style
|
|
348
348
|
},
|
|
349
|
-
onKeyDown: b(
|
|
349
|
+
onKeyDown: b(y.onKeyDown, (m) => {
|
|
350
350
|
const I = m.ctrlKey || m.altKey || m.metaKey;
|
|
351
351
|
if (m.key === "Tab" && m.preventDefault(), !I && m.key.length === 1 && se(m.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(m.key)) {
|
|
352
|
-
let
|
|
353
|
-
if (["ArrowUp", "End"].includes(m.key) && (
|
|
354
|
-
const S = m.target,
|
|
355
|
-
|
|
352
|
+
let x = H().filter((S) => !S.disabled).map((S) => S.ref.current);
|
|
353
|
+
if (["ArrowUp", "End"].includes(m.key) && (x = x.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(m.key)) {
|
|
354
|
+
const S = m.target, w = x.indexOf(S);
|
|
355
|
+
x = x.slice(w + 1);
|
|
356
356
|
}
|
|
357
|
-
setTimeout(() => _(
|
|
357
|
+
setTimeout(() => _(x)), m.preventDefault();
|
|
358
358
|
}
|
|
359
359
|
})
|
|
360
360
|
}
|
|
@@ -367,82 +367,82 @@ var D = 10, [Le, q] = ee(J), Et = "SelectContentImpl", _t = mt("SelectContent.Re
|
|
|
367
367
|
);
|
|
368
368
|
}
|
|
369
369
|
);
|
|
370
|
-
|
|
371
|
-
var
|
|
372
|
-
const { __scopeSelect: e, onPlaced: c, ...l } = n,
|
|
373
|
-
if (
|
|
374
|
-
const E =
|
|
375
|
-
if (
|
|
376
|
-
const S = X.left -
|
|
370
|
+
He.displayName = Nt;
|
|
371
|
+
var At = "SelectItemAlignedPosition", We = t.forwardRef((n, i) => {
|
|
372
|
+
const { __scopeSelect: e, onPlaced: c, ...l } = n, u = Y(J, e), r = q(J, e), [s, o] = t.useState(null), [p, g] = t.useState(null), C = V(i, (E) => g(E)), P = de(e), R = t.useRef(!1), T = t.useRef(!0), { viewport: a, selectedItem: v, selectedItemText: y, focusSelectedItem: d } = r, h = t.useCallback(() => {
|
|
373
|
+
if (u.trigger && u.valueNode && s && p && a && v && y) {
|
|
374
|
+
const E = u.trigger.getBoundingClientRect(), L = p.getBoundingClientRect(), K = u.valueNode.getBoundingClientRect(), X = y.getBoundingClientRect();
|
|
375
|
+
if (u.dir !== "rtl") {
|
|
376
|
+
const S = X.left - L.left, w = K.left - S, Z = E.left - w, $ = E.width + Z, he = Math.max($, L.width), ve = window.innerWidth - D, ge = Re(w, [
|
|
377
377
|
D,
|
|
378
378
|
// Prevents the content from going off the starting edge of the
|
|
379
379
|
// viewport. It may still go off the ending edge, but this can be
|
|
380
380
|
// controlled by the user since they may want to manage overflow in a
|
|
381
381
|
// specific way.
|
|
382
382
|
// https://github.com/radix-ui/primitives/issues/2049
|
|
383
|
-
Math.max(D,
|
|
383
|
+
Math.max(D, ve - he)
|
|
384
384
|
]);
|
|
385
|
-
s.style.minWidth = $ + "px", s.style.left =
|
|
385
|
+
s.style.minWidth = $ + "px", s.style.left = ge + "px";
|
|
386
386
|
} else {
|
|
387
|
-
const S =
|
|
387
|
+
const S = L.right - X.right, w = window.innerWidth - K.right - S, Z = window.innerWidth - E.right - w, $ = E.width + Z, he = Math.max($, L.width), ve = window.innerWidth - D, ge = Re(w, [
|
|
388
388
|
D,
|
|
389
|
-
Math.max(D,
|
|
389
|
+
Math.max(D, ve - he)
|
|
390
390
|
]);
|
|
391
|
-
s.style.minWidth = $ + "px", s.style.right =
|
|
391
|
+
s.style.minWidth = $ + "px", s.style.right = ge + "px";
|
|
392
392
|
}
|
|
393
|
-
const
|
|
393
|
+
const B = P(), H = window.innerHeight - D * 2, G = a.scrollHeight, W = window.getComputedStyle(p), F = parseInt(W.borderTopWidth, 10), _ = parseInt(W.paddingTop, 10), k = parseInt(W.borderBottomWidth, 10), U = parseInt(W.paddingBottom, 10), z = F + _ + G + U + k, pe = Math.min(v.offsetHeight * 5, z), se = window.getComputedStyle(a), fe = parseInt(se.paddingTop, 10), me = parseInt(se.paddingBottom, 10), Q = E.top + E.height / 2 - D, le = H - Q, oe = v.offsetHeight / 2, m = v.offsetTop + oe, I = F + _ + m, N = z - I;
|
|
394
394
|
if (I <= Q) {
|
|
395
|
-
const S =
|
|
395
|
+
const S = B.length > 0 && v === B[B.length - 1].ref.current;
|
|
396
396
|
s.style.bottom = "0px";
|
|
397
|
-
const
|
|
397
|
+
const w = p.clientHeight - a.offsetTop - a.offsetHeight, Z = Math.max(
|
|
398
398
|
le,
|
|
399
399
|
oe + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
400
|
-
(S ?
|
|
400
|
+
(S ? me : 0) + w + k
|
|
401
401
|
), $ = I + Z;
|
|
402
402
|
s.style.height = $ + "px";
|
|
403
403
|
} else {
|
|
404
|
-
const S =
|
|
404
|
+
const S = B.length > 0 && v === B[0].ref.current;
|
|
405
405
|
s.style.top = "0px";
|
|
406
406
|
const Z = Math.max(
|
|
407
407
|
Q,
|
|
408
408
|
F + a.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
|
409
|
-
(S ?
|
|
409
|
+
(S ? fe : 0) + oe
|
|
410
410
|
) + N;
|
|
411
411
|
s.style.height = Z + "px", a.scrollTop = I - Q + a.offsetTop;
|
|
412
412
|
}
|
|
413
|
-
s.style.margin = `${D}px 0`, s.style.minHeight =
|
|
413
|
+
s.style.margin = `${D}px 0`, s.style.minHeight = pe + "px", s.style.maxHeight = H + "px", c == null || c(), requestAnimationFrame(() => R.current = !0);
|
|
414
414
|
}
|
|
415
415
|
}, [
|
|
416
416
|
P,
|
|
417
|
-
|
|
418
|
-
|
|
417
|
+
u.trigger,
|
|
418
|
+
u.valueNode,
|
|
419
419
|
s,
|
|
420
|
-
|
|
420
|
+
p,
|
|
421
421
|
a,
|
|
422
422
|
v,
|
|
423
|
-
|
|
424
|
-
|
|
423
|
+
y,
|
|
424
|
+
u.dir,
|
|
425
425
|
c
|
|
426
426
|
]);
|
|
427
|
-
|
|
427
|
+
j(() => h(), [h]);
|
|
428
428
|
const [A, O] = t.useState();
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
}, [
|
|
429
|
+
j(() => {
|
|
430
|
+
p && O(window.getComputedStyle(p).zIndex);
|
|
431
|
+
}, [p]);
|
|
432
432
|
const te = t.useCallback(
|
|
433
433
|
(E) => {
|
|
434
|
-
E && T.current === !0 && (h(),
|
|
434
|
+
E && T.current === !0 && (h(), d == null || d(), T.current = !1);
|
|
435
435
|
},
|
|
436
|
-
[h,
|
|
436
|
+
[h, d]
|
|
437
437
|
);
|
|
438
|
-
return /* @__PURE__ */
|
|
439
|
-
|
|
438
|
+
return /* @__PURE__ */ f(
|
|
439
|
+
Dt,
|
|
440
440
|
{
|
|
441
441
|
scope: e,
|
|
442
442
|
contentWrapper: s,
|
|
443
443
|
shouldExpandOnScrollRef: R,
|
|
444
444
|
onScrollButtonChange: te,
|
|
445
|
-
children: /* @__PURE__ */
|
|
445
|
+
children: /* @__PURE__ */ f(
|
|
446
446
|
"div",
|
|
447
447
|
{
|
|
448
448
|
ref: o,
|
|
@@ -452,11 +452,11 @@ var Nt = "SelectItemAlignedPosition", Ve = t.forwardRef((n, i) => {
|
|
|
452
452
|
position: "fixed",
|
|
453
453
|
zIndex: A
|
|
454
454
|
},
|
|
455
|
-
children: /* @__PURE__ */
|
|
455
|
+
children: /* @__PURE__ */ f(
|
|
456
456
|
M.div,
|
|
457
457
|
{
|
|
458
458
|
...l,
|
|
459
|
-
ref:
|
|
459
|
+
ref: C,
|
|
460
460
|
style: {
|
|
461
461
|
// When we get the height of the content, it includes borders. If we were to set
|
|
462
462
|
// the height without having `boxSizing: 'border-box'` it would be too big.
|
|
@@ -472,26 +472,26 @@ var Nt = "SelectItemAlignedPosition", Ve = t.forwardRef((n, i) => {
|
|
|
472
472
|
}
|
|
473
473
|
);
|
|
474
474
|
});
|
|
475
|
-
|
|
476
|
-
var
|
|
475
|
+
We.displayName = At;
|
|
476
|
+
var Ot = "SelectPopperPosition", Se = t.forwardRef((n, i) => {
|
|
477
477
|
const {
|
|
478
478
|
__scopeSelect: e,
|
|
479
479
|
align: c = "start",
|
|
480
480
|
collisionPadding: l = D,
|
|
481
|
-
...
|
|
482
|
-
} = n, r =
|
|
483
|
-
return /* @__PURE__ */
|
|
484
|
-
|
|
481
|
+
...u
|
|
482
|
+
} = n, r = ue(e);
|
|
483
|
+
return /* @__PURE__ */ f(
|
|
484
|
+
ft,
|
|
485
485
|
{
|
|
486
486
|
...r,
|
|
487
|
-
...
|
|
487
|
+
...u,
|
|
488
488
|
ref: i,
|
|
489
489
|
align: c,
|
|
490
490
|
collisionPadding: l,
|
|
491
491
|
style: {
|
|
492
492
|
// Ensure border-box for floating-ui calculations
|
|
493
493
|
boxSizing: "border-box",
|
|
494
|
-
...
|
|
494
|
+
...u.style,
|
|
495
495
|
"--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
496
496
|
"--radix-select-content-available-width": "var(--radix-popper-available-width)",
|
|
497
497
|
"--radix-select-content-available-height": "var(--radix-popper-available-height)",
|
|
@@ -501,12 +501,12 @@ var Mt = "SelectPopperPosition", ge = t.forwardRef((n, i) => {
|
|
|
501
501
|
}
|
|
502
502
|
);
|
|
503
503
|
});
|
|
504
|
-
|
|
505
|
-
var [
|
|
504
|
+
Se.displayName = Ot;
|
|
505
|
+
var [Dt, Pe] = ee(J, {}), we = "SelectViewport", Fe = t.forwardRef(
|
|
506
506
|
(n, i) => {
|
|
507
|
-
const { __scopeSelect: e, nonce: c, ...l } = n,
|
|
508
|
-
return /* @__PURE__ */
|
|
509
|
-
/* @__PURE__ */
|
|
507
|
+
const { __scopeSelect: e, nonce: c, ...l } = n, u = q(we, e), r = Pe(we, e), s = V(i, u.onViewportChange), o = t.useRef(0);
|
|
508
|
+
return /* @__PURE__ */ ce(Te, { children: [
|
|
509
|
+
/* @__PURE__ */ f(
|
|
510
510
|
"style",
|
|
511
511
|
{
|
|
512
512
|
dangerouslySetInnerHTML: {
|
|
@@ -515,7 +515,7 @@ var [At, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
|
|
|
515
515
|
nonce: c
|
|
516
516
|
}
|
|
517
517
|
),
|
|
518
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ f(ae.Slot, { scope: e, children: /* @__PURE__ */ f(
|
|
519
519
|
M.div,
|
|
520
520
|
{
|
|
521
521
|
"data-radix-select-viewport": "",
|
|
@@ -535,15 +535,15 @@ var [At, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
|
|
|
535
535
|
overflow: "hidden auto",
|
|
536
536
|
...l.style
|
|
537
537
|
},
|
|
538
|
-
onScroll: b(l.onScroll, (
|
|
539
|
-
const g =
|
|
540
|
-
if (P != null && P.current &&
|
|
538
|
+
onScroll: b(l.onScroll, (p) => {
|
|
539
|
+
const g = p.currentTarget, { contentWrapper: C, shouldExpandOnScrollRef: P } = r;
|
|
540
|
+
if (P != null && P.current && C) {
|
|
541
541
|
const R = Math.abs(o.current - g.scrollTop);
|
|
542
542
|
if (R > 0) {
|
|
543
|
-
const T = window.innerHeight - D * 2, a = parseFloat(
|
|
544
|
-
if (
|
|
545
|
-
const
|
|
546
|
-
|
|
543
|
+
const T = window.innerHeight - D * 2, a = parseFloat(C.style.minHeight), v = parseFloat(C.style.height), y = Math.max(a, v);
|
|
544
|
+
if (y < T) {
|
|
545
|
+
const d = y + R, h = Math.min(T, d), A = d - h;
|
|
546
|
+
C.style.height = h + "px", C.style.bottom === "0px" && (g.scrollTop = A > 0 ? A : 0, C.style.justifyContent = "flex-end");
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
}
|
|
@@ -554,68 +554,68 @@ var [At, Ie] = ee(J, {}), Se = "SelectViewport", Be = t.forwardRef(
|
|
|
554
554
|
] });
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
|
-
|
|
558
|
-
var
|
|
557
|
+
Fe.displayName = we;
|
|
558
|
+
var Ue = "SelectGroup", [Lt, kt] = ee(Ue), Ke = t.forwardRef(
|
|
559
559
|
(n, i) => {
|
|
560
|
-
const { __scopeSelect: e, ...c } = n, l =
|
|
561
|
-
return /* @__PURE__ */
|
|
560
|
+
const { __scopeSelect: e, ...c } = n, l = Ie();
|
|
561
|
+
return /* @__PURE__ */ f(Lt, { scope: e, id: l, children: /* @__PURE__ */ f(M.div, { role: "group", "aria-labelledby": l, ...c, ref: i }) });
|
|
562
562
|
}
|
|
563
563
|
);
|
|
564
|
-
|
|
565
|
-
var
|
|
564
|
+
Ke.displayName = Ue;
|
|
565
|
+
var Ge = "SelectLabel", ze = t.forwardRef(
|
|
566
566
|
(n, i) => {
|
|
567
|
-
const { __scopeSelect: e, ...c } = n, l =
|
|
568
|
-
return /* @__PURE__ */
|
|
567
|
+
const { __scopeSelect: e, ...c } = n, l = kt(Ge, e);
|
|
568
|
+
return /* @__PURE__ */ f(M.div, { id: l.id, ...c, ref: i });
|
|
569
569
|
}
|
|
570
570
|
);
|
|
571
|
-
|
|
572
|
-
var
|
|
571
|
+
ze.displayName = Ge;
|
|
572
|
+
var ie = "SelectItem", [Vt, je] = ee(ie), Ye = t.forwardRef(
|
|
573
573
|
(n, i) => {
|
|
574
574
|
const {
|
|
575
575
|
__scopeSelect: e,
|
|
576
576
|
value: c,
|
|
577
577
|
disabled: l = !1,
|
|
578
|
-
textValue:
|
|
578
|
+
textValue: u,
|
|
579
579
|
...r
|
|
580
|
-
} = n, s = Y(
|
|
580
|
+
} = n, s = Y(ie, e), o = q(ie, e), p = s.value === c, [g, C] = t.useState(u ?? ""), [P, R] = t.useState(!1), T = V(
|
|
581
581
|
i,
|
|
582
|
-
(
|
|
582
|
+
(d) => {
|
|
583
583
|
var h;
|
|
584
|
-
return (h = o.itemRefCallback) == null ? void 0 : h.call(o,
|
|
584
|
+
return (h = o.itemRefCallback) == null ? void 0 : h.call(o, d, c, l);
|
|
585
585
|
}
|
|
586
|
-
), a =
|
|
586
|
+
), a = Ie(), v = t.useRef("touch"), y = () => {
|
|
587
587
|
l || (s.onValueChange(c), s.onOpenChange(!1));
|
|
588
588
|
};
|
|
589
589
|
if (c === "")
|
|
590
590
|
throw new Error(
|
|
591
591
|
"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
|
|
592
592
|
);
|
|
593
|
-
return /* @__PURE__ */
|
|
594
|
-
|
|
593
|
+
return /* @__PURE__ */ f(
|
|
594
|
+
Vt,
|
|
595
595
|
{
|
|
596
596
|
scope: e,
|
|
597
597
|
value: c,
|
|
598
598
|
disabled: l,
|
|
599
599
|
textId: a,
|
|
600
|
-
isSelected:
|
|
601
|
-
onItemTextChange: t.useCallback((
|
|
602
|
-
|
|
600
|
+
isSelected: p,
|
|
601
|
+
onItemTextChange: t.useCallback((d) => {
|
|
602
|
+
C((h) => h || ((d == null ? void 0 : d.textContent) ?? "").trim());
|
|
603
603
|
}, []),
|
|
604
|
-
children: /* @__PURE__ */
|
|
605
|
-
|
|
604
|
+
children: /* @__PURE__ */ f(
|
|
605
|
+
ae.ItemSlot,
|
|
606
606
|
{
|
|
607
607
|
scope: e,
|
|
608
608
|
value: c,
|
|
609
609
|
disabled: l,
|
|
610
610
|
textValue: g,
|
|
611
|
-
children: /* @__PURE__ */
|
|
611
|
+
children: /* @__PURE__ */ f(
|
|
612
612
|
M.div,
|
|
613
613
|
{
|
|
614
614
|
role: "option",
|
|
615
615
|
"aria-labelledby": a,
|
|
616
616
|
"data-highlighted": P ? "" : void 0,
|
|
617
|
-
"aria-selected":
|
|
618
|
-
"data-state":
|
|
617
|
+
"aria-selected": p && P,
|
|
618
|
+
"data-state": p ? "checked" : "unchecked",
|
|
619
619
|
"aria-disabled": l || void 0,
|
|
620
620
|
"data-disabled": l ? "" : void 0,
|
|
621
621
|
tabIndex: l ? void 0 : -1,
|
|
@@ -624,25 +624,25 @@ var ce = "SelectItem", [jt, Ke] = ee(ce), Ge = t.forwardRef(
|
|
|
624
624
|
onFocus: b(r.onFocus, () => R(!0)),
|
|
625
625
|
onBlur: b(r.onBlur, () => R(!1)),
|
|
626
626
|
onClick: b(r.onClick, () => {
|
|
627
|
-
v.current !== "mouse" &&
|
|
627
|
+
v.current !== "mouse" && y();
|
|
628
628
|
}),
|
|
629
629
|
onPointerUp: b(r.onPointerUp, () => {
|
|
630
|
-
v.current === "mouse" &&
|
|
630
|
+
v.current === "mouse" && y();
|
|
631
631
|
}),
|
|
632
|
-
onPointerDown: b(r.onPointerDown, (
|
|
633
|
-
v.current =
|
|
632
|
+
onPointerDown: b(r.onPointerDown, (d) => {
|
|
633
|
+
v.current = d.pointerType;
|
|
634
634
|
}),
|
|
635
|
-
onPointerMove: b(r.onPointerMove, (
|
|
635
|
+
onPointerMove: b(r.onPointerMove, (d) => {
|
|
636
636
|
var h;
|
|
637
|
-
v.current =
|
|
637
|
+
v.current = d.pointerType, l ? (h = o.onItemLeave) == null || h.call(o) : v.current === "mouse" && d.currentTarget.focus({ preventScroll: !0 });
|
|
638
638
|
}),
|
|
639
|
-
onPointerLeave: b(r.onPointerLeave, (
|
|
639
|
+
onPointerLeave: b(r.onPointerLeave, (d) => {
|
|
640
640
|
var h;
|
|
641
|
-
|
|
641
|
+
d.currentTarget === document.activeElement && ((h = o.onItemLeave) == null || h.call(o));
|
|
642
642
|
}),
|
|
643
|
-
onKeyDown: b(r.onKeyDown, (
|
|
643
|
+
onKeyDown: b(r.onKeyDown, (d) => {
|
|
644
644
|
var A;
|
|
645
|
-
((A = o.searchRef) == null ? void 0 : A.current) !== "" &&
|
|
645
|
+
((A = o.searchRef) == null ? void 0 : A.current) !== "" && d.key === " " || (It.includes(d.key) && y(), d.key === " " && d.preventDefault());
|
|
646
646
|
})
|
|
647
647
|
}
|
|
648
648
|
)
|
|
@@ -652,48 +652,48 @@ var ce = "SelectItem", [jt, Ke] = ee(ce), Ge = t.forwardRef(
|
|
|
652
652
|
);
|
|
653
653
|
}
|
|
654
654
|
);
|
|
655
|
-
|
|
656
|
-
var ne = "SelectItemText",
|
|
655
|
+
Ye.displayName = ie;
|
|
656
|
+
var ne = "SelectItemText", qe = t.forwardRef(
|
|
657
657
|
(n, i) => {
|
|
658
|
-
const { __scopeSelect: e, className: c, style: l, ...
|
|
658
|
+
const { __scopeSelect: e, className: c, style: l, ...u } = n, r = Y(ne, e), s = q(ne, e), o = je(ne, e), p = bt(ne, e), [g, C] = t.useState(null), P = V(
|
|
659
659
|
i,
|
|
660
|
-
(
|
|
660
|
+
(y) => C(y),
|
|
661
661
|
o.onItemTextChange,
|
|
662
|
-
(
|
|
663
|
-
var
|
|
664
|
-
return (
|
|
662
|
+
(y) => {
|
|
663
|
+
var d;
|
|
664
|
+
return (d = s.itemTextRefCallback) == null ? void 0 : d.call(s, y, o.value, o.disabled);
|
|
665
665
|
}
|
|
666
666
|
), R = g == null ? void 0 : g.textContent, T = t.useMemo(
|
|
667
|
-
() => /* @__PURE__ */
|
|
667
|
+
() => /* @__PURE__ */ f("option", { value: o.value, disabled: o.disabled, children: R }, o.value),
|
|
668
668
|
[o.disabled, o.value, R]
|
|
669
|
-
), { onNativeOptionAdd: a, onNativeOptionRemove: v } =
|
|
670
|
-
return
|
|
671
|
-
/* @__PURE__ */
|
|
672
|
-
o.isSelected && r.valueNode && !r.valueNodeHasChildren ?
|
|
669
|
+
), { onNativeOptionAdd: a, onNativeOptionRemove: v } = p;
|
|
670
|
+
return j(() => (a(T), () => v(T)), [a, v, T]), /* @__PURE__ */ ce(Te, { children: [
|
|
671
|
+
/* @__PURE__ */ f(M.span, { id: o.textId, ...u, ref: P }),
|
|
672
|
+
o.isSelected && r.valueNode && !r.valueNodeHasChildren ? Ee.createPortal(u.children, r.valueNode) : null
|
|
673
673
|
] });
|
|
674
674
|
}
|
|
675
675
|
);
|
|
676
|
-
|
|
677
|
-
var
|
|
676
|
+
qe.displayName = ne;
|
|
677
|
+
var Xe = "SelectItemIndicator", Ze = t.forwardRef(
|
|
678
678
|
(n, i) => {
|
|
679
679
|
const { __scopeSelect: e, ...c } = n;
|
|
680
|
-
return
|
|
680
|
+
return je(Xe, e).isSelected ? /* @__PURE__ */ f(M.span, { "aria-hidden": !0, ...c, ref: i }) : null;
|
|
681
681
|
}
|
|
682
682
|
);
|
|
683
|
-
|
|
684
|
-
var
|
|
685
|
-
const e = q(
|
|
686
|
-
return
|
|
683
|
+
Ze.displayName = Xe;
|
|
684
|
+
var Ce = "SelectScrollUpButton", $e = t.forwardRef((n, i) => {
|
|
685
|
+
const e = q(Ce, n.__scopeSelect), c = Pe(Ce, n.__scopeSelect), [l, u] = t.useState(!1), r = V(i, c.onScrollButtonChange);
|
|
686
|
+
return j(() => {
|
|
687
687
|
if (e.viewport && e.isPositioned) {
|
|
688
688
|
let s = function() {
|
|
689
|
-
const
|
|
690
|
-
p
|
|
689
|
+
const p = o.scrollTop > 0;
|
|
690
|
+
u(p);
|
|
691
691
|
};
|
|
692
692
|
const o = e.viewport;
|
|
693
693
|
return s(), o.addEventListener("scroll", s), () => o.removeEventListener("scroll", s);
|
|
694
694
|
}
|
|
695
|
-
}, [e.viewport, e.isPositioned]), l ? /* @__PURE__ */
|
|
696
|
-
|
|
695
|
+
}, [e.viewport, e.isPositioned]), l ? /* @__PURE__ */ f(
|
|
696
|
+
Qe,
|
|
697
697
|
{
|
|
698
698
|
...n,
|
|
699
699
|
ref: r,
|
|
@@ -704,20 +704,20 @@ var xe = "SelectScrollUpButton", Xe = t.forwardRef((n, i) => {
|
|
|
704
704
|
}
|
|
705
705
|
) : null;
|
|
706
706
|
});
|
|
707
|
-
|
|
708
|
-
var
|
|
709
|
-
const e = q(
|
|
710
|
-
return
|
|
707
|
+
$e.displayName = Ce;
|
|
708
|
+
var ye = "SelectScrollDownButton", Je = t.forwardRef((n, i) => {
|
|
709
|
+
const e = q(ye, n.__scopeSelect), c = Pe(ye, n.__scopeSelect), [l, u] = t.useState(!1), r = V(i, c.onScrollButtonChange);
|
|
710
|
+
return j(() => {
|
|
711
711
|
if (e.viewport && e.isPositioned) {
|
|
712
712
|
let s = function() {
|
|
713
|
-
const
|
|
714
|
-
|
|
713
|
+
const p = o.scrollHeight - o.clientHeight, g = Math.ceil(o.scrollTop) < p;
|
|
714
|
+
u(g);
|
|
715
715
|
};
|
|
716
716
|
const o = e.viewport;
|
|
717
717
|
return s(), o.addEventListener("scroll", s), () => o.removeEventListener("scroll", s);
|
|
718
718
|
}
|
|
719
|
-
}, [e.viewport, e.isPositioned]), l ? /* @__PURE__ */
|
|
720
|
-
|
|
719
|
+
}, [e.viewport, e.isPositioned]), l ? /* @__PURE__ */ f(
|
|
720
|
+
Qe,
|
|
721
721
|
{
|
|
722
722
|
...n,
|
|
723
723
|
ref: r,
|
|
@@ -728,16 +728,16 @@ var we = "SelectScrollDownButton", Ze = t.forwardRef((n, i) => {
|
|
|
728
728
|
}
|
|
729
729
|
) : null;
|
|
730
730
|
});
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
const { __scopeSelect: e, onAutoScroll: c, ...l } = n,
|
|
731
|
+
Je.displayName = ye;
|
|
732
|
+
var Qe = t.forwardRef((n, i) => {
|
|
733
|
+
const { __scopeSelect: e, onAutoScroll: c, ...l } = n, u = q("SelectScrollButton", e), r = t.useRef(null), s = de(e), o = t.useCallback(() => {
|
|
734
734
|
r.current !== null && (window.clearInterval(r.current), r.current = null);
|
|
735
735
|
}, []);
|
|
736
|
-
return t.useEffect(() => () => o(), [o]),
|
|
736
|
+
return t.useEffect(() => () => o(), [o]), j(() => {
|
|
737
737
|
var g;
|
|
738
|
-
const
|
|
739
|
-
(g =
|
|
740
|
-
}, [s]), /* @__PURE__ */
|
|
738
|
+
const p = s().find((C) => C.ref.current === document.activeElement);
|
|
739
|
+
(g = p == null ? void 0 : p.ref.current) == null || g.scrollIntoView({ block: "nearest" });
|
|
740
|
+
}, [s]), /* @__PURE__ */ f(
|
|
741
741
|
M.div,
|
|
742
742
|
{
|
|
743
743
|
"aria-hidden": !0,
|
|
@@ -748,105 +748,105 @@ var $e = t.forwardRef((n, i) => {
|
|
|
748
748
|
r.current === null && (r.current = window.setInterval(c, 50));
|
|
749
749
|
}),
|
|
750
750
|
onPointerMove: b(l.onPointerMove, () => {
|
|
751
|
-
var
|
|
752
|
-
(
|
|
751
|
+
var p;
|
|
752
|
+
(p = u.onItemLeave) == null || p.call(u), r.current === null && (r.current = window.setInterval(c, 50));
|
|
753
753
|
}),
|
|
754
754
|
onPointerLeave: b(l.onPointerLeave, () => {
|
|
755
755
|
o();
|
|
756
756
|
})
|
|
757
757
|
}
|
|
758
758
|
);
|
|
759
|
-
}),
|
|
759
|
+
}), Bt = "SelectSeparator", et = t.forwardRef(
|
|
760
760
|
(n, i) => {
|
|
761
761
|
const { __scopeSelect: e, ...c } = n;
|
|
762
|
-
return /* @__PURE__ */
|
|
762
|
+
return /* @__PURE__ */ f(M.div, { "aria-hidden": !0, ...c, ref: i });
|
|
763
763
|
}
|
|
764
764
|
);
|
|
765
|
-
|
|
766
|
-
var
|
|
765
|
+
et.displayName = Bt;
|
|
766
|
+
var xe = "SelectArrow", Ht = t.forwardRef(
|
|
767
767
|
(n, i) => {
|
|
768
|
-
const { __scopeSelect: e, ...c } = n, l =
|
|
769
|
-
return
|
|
768
|
+
const { __scopeSelect: e, ...c } = n, l = ue(e), u = Y(xe, e), r = q(xe, e);
|
|
769
|
+
return u.open && r.position === "popper" ? /* @__PURE__ */ f(mt, { ...l, ...c, ref: i }) : null;
|
|
770
770
|
}
|
|
771
771
|
);
|
|
772
|
-
|
|
773
|
-
function
|
|
772
|
+
Ht.displayName = xe;
|
|
773
|
+
function tt(n) {
|
|
774
774
|
return n === "" || n === void 0;
|
|
775
775
|
}
|
|
776
|
-
var
|
|
776
|
+
var ot = t.forwardRef(
|
|
777
777
|
(n, i) => {
|
|
778
|
-
const { value: e, ...c } = n, l = t.useRef(null),
|
|
778
|
+
const { value: e, ...c } = n, l = t.useRef(null), u = V(i, l), r = St(e);
|
|
779
779
|
return t.useEffect(() => {
|
|
780
780
|
const s = l.current, o = window.HTMLSelectElement.prototype, g = Object.getOwnPropertyDescriptor(
|
|
781
781
|
o,
|
|
782
782
|
"value"
|
|
783
783
|
).set;
|
|
784
784
|
if (r !== e && g) {
|
|
785
|
-
const
|
|
786
|
-
g.call(s, e), s.dispatchEvent(
|
|
785
|
+
const C = new Event("change", { bubbles: !0 });
|
|
786
|
+
g.call(s, e), s.dispatchEvent(C);
|
|
787
787
|
}
|
|
788
|
-
}, [r, e]), /* @__PURE__ */
|
|
788
|
+
}, [r, e]), /* @__PURE__ */ f(wt, { asChild: !0, children: /* @__PURE__ */ f("select", { ...c, ref: u, defaultValue: e }) });
|
|
789
789
|
}
|
|
790
790
|
);
|
|
791
|
-
|
|
792
|
-
function
|
|
793
|
-
const i =
|
|
791
|
+
ot.displayName = "BubbleSelect";
|
|
792
|
+
function nt(n) {
|
|
793
|
+
const i = gt(n), e = t.useRef(""), c = t.useRef(0), l = t.useCallback(
|
|
794
794
|
(r) => {
|
|
795
795
|
const s = e.current + r;
|
|
796
|
-
i(s), function o(
|
|
797
|
-
e.current =
|
|
796
|
+
i(s), function o(p) {
|
|
797
|
+
e.current = p, window.clearTimeout(c.current), p !== "" && (c.current = window.setTimeout(() => o(""), 1e3));
|
|
798
798
|
}(s);
|
|
799
799
|
},
|
|
800
800
|
[i]
|
|
801
|
-
),
|
|
801
|
+
), u = t.useCallback(() => {
|
|
802
802
|
e.current = "", window.clearTimeout(c.current);
|
|
803
803
|
}, []);
|
|
804
|
-
return t.useEffect(() => () => window.clearTimeout(c.current), []), [e, l,
|
|
804
|
+
return t.useEffect(() => () => window.clearTimeout(c.current), []), [e, l, u];
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
const l = i.length > 1 && Array.from(i).every((
|
|
808
|
-
let r =
|
|
809
|
-
l.length === 1 && (r = r.filter((
|
|
806
|
+
function rt(n, i, e) {
|
|
807
|
+
const l = i.length > 1 && Array.from(i).every((p) => p === i[0]) ? i[0] : i, u = e ? n.indexOf(e) : -1;
|
|
808
|
+
let r = Wt(n, Math.max(u, 0));
|
|
809
|
+
l.length === 1 && (r = r.filter((p) => p !== e));
|
|
810
810
|
const o = r.find(
|
|
811
|
-
(
|
|
811
|
+
(p) => p.textValue.toLowerCase().startsWith(l.toLowerCase())
|
|
812
812
|
);
|
|
813
813
|
return o !== e ? o : void 0;
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function Wt(n, i) {
|
|
816
816
|
return n.map((e, c) => n[(i + c) % n.length]);
|
|
817
817
|
}
|
|
818
|
-
var
|
|
818
|
+
var uo = Ne, po = Ae, fo = De, mo = Le, ho = ke, vo = Ve, go = Fe, So = Ke, wo = ze, Co = Ye, yo = qe, xo = Ze, Io = $e, To = Je, Po = et;
|
|
819
819
|
export {
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
820
|
+
vo as Content,
|
|
821
|
+
So as Group,
|
|
822
|
+
mo as Icon,
|
|
823
|
+
Co as Item,
|
|
824
|
+
xo as ItemIndicator,
|
|
825
|
+
yo as ItemText,
|
|
826
|
+
wo as Label,
|
|
827
|
+
ho as Portal,
|
|
828
|
+
uo as Root,
|
|
829
|
+
To as ScrollDownButton,
|
|
830
|
+
Io as ScrollUpButton,
|
|
831
|
+
Ne as Select,
|
|
832
|
+
Ht as SelectArrow,
|
|
833
|
+
Ve as SelectContent,
|
|
834
|
+
Ke as SelectGroup,
|
|
835
|
+
Le as SelectIcon,
|
|
836
|
+
Ye as SelectItem,
|
|
837
|
+
Ze as SelectItemIndicator,
|
|
838
|
+
qe as SelectItemText,
|
|
839
|
+
ze as SelectLabel,
|
|
840
|
+
ke as SelectPortal,
|
|
841
|
+
Je as SelectScrollDownButton,
|
|
842
|
+
$e as SelectScrollUpButton,
|
|
843
|
+
et as SelectSeparator,
|
|
844
|
+
Ae as SelectTrigger,
|
|
845
|
+
De as SelectValue,
|
|
846
|
+
Fe as SelectViewport,
|
|
847
|
+
Po as Separator,
|
|
848
|
+
po as Trigger,
|
|
849
|
+
fo as Value,
|
|
850
|
+
go as Viewport,
|
|
851
|
+
ao as createSelectScope
|
|
852
852
|
};
|