ingeniuscliq-core 0.4.24 → 0.4.25
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/index.js +5 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +3 -0
- package/dist/_virtual/react-jsx-runtime.development.js +3 -0
- package/dist/_virtual/react-jsx-runtime.production.js +3 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +3 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +3 -0
- package/dist/components/common/carousel/CustomCarousel.tsx +6 -6
- package/dist/components/common/carousel/CustomCarouselSection.tsx +12 -12
- package/dist/components/common/form/CustomFormField.tsx +6 -6
- package/dist/components/common/form/FormCheckbox.tsx +5 -5
- package/dist/components/common/form/FormInput.tsx +3 -3
- package/dist/components/common/form/FormSelect.tsx +5 -5
- package/dist/components/common/form/FormTextArea.tsx +3 -3
- package/dist/components/common/form/FormWrapper.tsx +2 -2
- package/dist/components/common/logo/Logo.tsx +3 -3
- package/dist/components/common/pagination/CustomPagination.tsx +5 -5
- package/dist/components/common/select/CustomSelect.tsx +4 -4
- package/dist/components/common/spinner/Spinner.tsx +14 -14
- package/dist/components/common/stepper/Stepper.tsx +9 -9
- package/dist/components/layouts/CoreBaseLayout.tsx +5 -5
- package/dist/components/templates/CoreHomeLayout.tsx +2 -2
- package/dist/components/templates/CorePreviewLayout.tsx +2 -2
- package/dist/components/ui/accordion.tsx +14 -14
- package/dist/components/ui/alert-dialog.tsx +27 -27
- package/dist/components/ui/alert.tsx +5 -5
- package/dist/components/ui/avatar.tsx +11 -11
- package/dist/components/ui/badge.tsx +3 -3
- package/dist/components/ui/breadcrumb.tsx +14 -13
- package/dist/components/ui/button.tsx +4 -4
- package/dist/components/ui/card.tsx +8 -8
- package/dist/components/ui/carousel.tsx +14 -13
- package/dist/components/ui/checkbox.tsx +9 -9
- package/dist/components/ui/dialog.tsx +26 -26
- package/dist/components/ui/dropdown-menu.tsx +39 -37
- package/dist/components/ui/form.tsx +9 -9
- package/dist/components/ui/input.tsx +2 -2
- package/dist/components/ui/label.tsx +6 -6
- package/dist/components/ui/pagination.tsx +17 -15
- package/dist/components/ui/popover.tsx +8 -8
- package/dist/components/ui/radio-group.tsx +10 -10
- package/dist/components/ui/select.tsx +40 -38
- package/dist/components/ui/separator.tsx +5 -5
- package/dist/components/ui/sheet.tsx +27 -27
- package/dist/components/ui/skeleton.tsx +2 -2
- package/dist/components/ui/slider.tsx +9 -9
- package/dist/components/ui/stepper.tsx +34 -34
- package/dist/components/ui/switch.tsx +7 -7
- package/dist/components/ui/table.tsx +9 -9
- package/dist/components/ui/tabs.tsx +13 -13
- package/dist/components/ui/textarea.tsx +2 -2
- package/dist/components/ui/tooltip.tsx +8 -8
- package/dist/helpers/axiosGlobal.js +2 -1
- package/dist/hooks/useNotification.js +1 -1
- package/dist/lib/utils.js +2 -2
- package/dist/modules/CoreAuth/classes/CoreAuthBuilder.js +1 -1
- package/dist/modules/CoreAuth/context/AuthContext.tsx +1 -1
- package/dist/modules/CoreAuth/index.js +0 -1
- package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.js +1 -1
- package/dist/modules/CoreCustomization/index.js +0 -1
- package/dist/modules/CoreOrder/classes/CoreOrderBuilder.js +1 -1
- package/dist/modules/CoreOrder/index.js +0 -1
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.js +1 -1
- package/dist/modules/CorePayForm/index.js +0 -1
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.js +1 -1
- package/dist/modules/CoreProduct/index.js +0 -1
- package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.js +1 -1
- package/dist/modules/CoreShipment/index.js +0 -1
- package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.js +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +814 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +751 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +350 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +161 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +305 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +147 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +118 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +270 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +145 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +39 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +79 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +321 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +267 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +834 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +299 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +282 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +1156 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +30 -0
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +554 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +99 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +152 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +187 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +482 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +35 -0
- package/dist/node_modules/@stepperize/core/dist/index.js +3 -0
- package/dist/node_modules/@stepperize/react/dist/index.js +6 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +137 -0
- package/dist/node_modules/axios/index.js +25 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +81 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +229 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +199 -0
- package/dist/node_modules/axios/lib/axios.js +86 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +133 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +23 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/dist/node_modules/axios/lib/core/Axios.js +238 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +101 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +312 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +69 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +22 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +81 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +106 -0
- package/dist/node_modules/axios/lib/core/settle.js +27 -0
- package/dist/node_modules/axios/lib/core/transformData.js +28 -0
- package/dist/node_modules/axios/lib/defaults/index.js +159 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/dist/node_modules/axios/lib/env/data.js +3 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +56 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +7 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +15 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +48 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +43 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +93 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +46 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +58 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +53 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +28 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +219 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +88 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +99 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +45 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.js +780 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +44 -0
- package/dist/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1669 -0
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +37 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +38 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +43 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +30 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +28 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +363 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
- package/dist/node_modules/react/jsx-runtime.js +19 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +560 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +9 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +167 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +38 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +21 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +56 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +10 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +31 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +19 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +51 -0
- package/dist/node_modules/sonner/dist/index.js +299 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +3035 -0
- package/dist/node_modules/tslib/tslib.es6.js +56 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +24 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +48 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +77 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +106 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +77 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +19 -0
- package/dist/node_modules/zustand/esm/react.js +22 -0
- package/dist/node_modules/zustand/esm/vanilla.js +24 -0
- package/package.json +1 -1
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { ChevronRight, Check, Circle } from 'lucide-react';
|
|
3
|
+
import { SubTrigger as SubTrigger2, SubContent as SubContent2, Portal as Portal2, Content as Content2, Item as Item2, CheckboxItem as CheckboxItem2, ItemIndicator as ItemIndicator2, RadioItem as RadioItem2, Label as Label2, Separator as Separator2, Root as Root2, Trigger, Group as Group2, Sub as Sub2, RadioGroup as RadioGroup2 } from '../../node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
|
|
5
4
|
import { cn } from '../../lib/utils.js';
|
|
5
|
+
import ChevronRight from '../../node_modules/lucide-react/dist/esm/icons/chevron-right.js';
|
|
6
|
+
import Check from '../../node_modules/lucide-react/dist/esm/icons/check.js';
|
|
7
|
+
import Circle from '../../node_modules/lucide-react/dist/esm/icons/circle.js';
|
|
6
8
|
|
|
7
|
-
const DropdownMenu =
|
|
8
|
-
const DropdownMenuTrigger =
|
|
9
|
-
const DropdownMenuGroup =
|
|
10
|
-
const DropdownMenuPortal =
|
|
11
|
-
const DropdownMenuSub =
|
|
12
|
-
const DropdownMenuRadioGroup =
|
|
13
|
-
const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
14
|
-
|
|
9
|
+
const DropdownMenu = Root2;
|
|
10
|
+
const DropdownMenuTrigger = Trigger;
|
|
11
|
+
const DropdownMenuGroup = Group2;
|
|
12
|
+
const DropdownMenuPortal = Portal2;
|
|
13
|
+
const DropdownMenuSub = Sub2;
|
|
14
|
+
const DropdownMenuRadioGroup = RadioGroup2;
|
|
15
|
+
const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
16
|
+
SubTrigger2,
|
|
15
17
|
{
|
|
16
18
|
ref,
|
|
17
19
|
className: cn(
|
|
@@ -22,13 +24,13 @@ const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, .
|
|
|
22
24
|
...props,
|
|
23
25
|
children: [
|
|
24
26
|
children,
|
|
25
|
-
/* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
27
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
26
28
|
]
|
|
27
29
|
}
|
|
28
30
|
));
|
|
29
|
-
DropdownMenuSubTrigger.displayName =
|
|
30
|
-
const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
31
|
-
|
|
31
|
+
DropdownMenuSubTrigger.displayName = SubTrigger2.displayName;
|
|
32
|
+
const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
33
|
+
SubContent2,
|
|
32
34
|
{
|
|
33
35
|
ref,
|
|
34
36
|
className: cn(
|
|
@@ -38,9 +40,9 @@ const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) =
|
|
|
38
40
|
...props
|
|
39
41
|
}
|
|
40
42
|
));
|
|
41
|
-
DropdownMenuSubContent.displayName =
|
|
42
|
-
const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
43
|
-
|
|
43
|
+
DropdownMenuSubContent.displayName = SubContent2.displayName;
|
|
44
|
+
const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(Portal2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45
|
+
Content2,
|
|
44
46
|
{
|
|
45
47
|
ref,
|
|
46
48
|
sideOffset,
|
|
@@ -51,9 +53,9 @@ const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
51
53
|
...props
|
|
52
54
|
}
|
|
53
55
|
) }));
|
|
54
|
-
DropdownMenuContent.displayName =
|
|
55
|
-
const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
56
|
-
|
|
56
|
+
DropdownMenuContent.displayName = Content2.displayName;
|
|
57
|
+
const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
58
|
+
Item2,
|
|
57
59
|
{
|
|
58
60
|
ref,
|
|
59
61
|
className: cn(
|
|
@@ -65,9 +67,9 @@ const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "defaul
|
|
|
65
67
|
...props
|
|
66
68
|
}
|
|
67
69
|
));
|
|
68
|
-
DropdownMenuItem.displayName =
|
|
69
|
-
const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
70
|
-
|
|
70
|
+
DropdownMenuItem.displayName = Item2.displayName;
|
|
71
|
+
const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
72
|
+
CheckboxItem2,
|
|
71
73
|
{
|
|
72
74
|
ref,
|
|
73
75
|
className: cn(
|
|
@@ -77,14 +79,14 @@ const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checke
|
|
|
77
79
|
checked,
|
|
78
80
|
...props,
|
|
79
81
|
children: [
|
|
80
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
82
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "h-4 w-4" }) }) }),
|
|
81
83
|
children
|
|
82
84
|
]
|
|
83
85
|
}
|
|
84
86
|
));
|
|
85
|
-
DropdownMenuCheckboxItem.displayName =
|
|
86
|
-
const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
87
|
-
|
|
87
|
+
DropdownMenuCheckboxItem.displayName = CheckboxItem2.displayName;
|
|
88
|
+
const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
89
|
+
RadioItem2,
|
|
88
90
|
{
|
|
89
91
|
ref,
|
|
90
92
|
className: cn(
|
|
@@ -93,14 +95,14 @@ const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props
|
|
|
93
95
|
),
|
|
94
96
|
...props,
|
|
95
97
|
children: [
|
|
96
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
98
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
97
99
|
children
|
|
98
100
|
]
|
|
99
101
|
}
|
|
100
102
|
));
|
|
101
|
-
DropdownMenuRadioItem.displayName =
|
|
102
|
-
const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
103
|
-
|
|
103
|
+
DropdownMenuRadioItem.displayName = RadioItem2.displayName;
|
|
104
|
+
const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
105
|
+
Label2,
|
|
104
106
|
{
|
|
105
107
|
ref,
|
|
106
108
|
className: cn(
|
|
@@ -111,21 +113,21 @@ const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref)
|
|
|
111
113
|
...props
|
|
112
114
|
}
|
|
113
115
|
));
|
|
114
|
-
DropdownMenuLabel.displayName =
|
|
115
|
-
const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
116
|
-
|
|
116
|
+
DropdownMenuLabel.displayName = Label2.displayName;
|
|
117
|
+
const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
118
|
+
Separator2,
|
|
117
119
|
{
|
|
118
120
|
ref,
|
|
119
121
|
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
120
122
|
...props
|
|
121
123
|
}
|
|
122
124
|
));
|
|
123
|
-
DropdownMenuSeparator.displayName =
|
|
125
|
+
DropdownMenuSeparator.displayName = Separator2.displayName;
|
|
124
126
|
const DropdownMenuShortcut = ({
|
|
125
127
|
className,
|
|
126
128
|
...props
|
|
127
129
|
}) => {
|
|
128
|
-
return /* @__PURE__ */ jsx(
|
|
130
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
129
131
|
"span",
|
|
130
132
|
{
|
|
131
133
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Slot } from '
|
|
4
|
-
import { useFormContext, FormProvider, Controller } from 'react-hook-form';
|
|
3
|
+
import { Root as Slot } from '../../node_modules/@radix-ui/react-slot/dist/index.js';
|
|
4
|
+
import { useFormContext, FormProvider, Controller } from '../../node_modules/react-hook-form/dist/index.esm.js';
|
|
5
5
|
import { cn } from '../../lib/utils.js';
|
|
6
6
|
import { Label } from './label.tsx';
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ const FormFieldContext = React.createContext(
|
|
|
12
12
|
const FormField = ({
|
|
13
13
|
...props
|
|
14
14
|
}) => {
|
|
15
|
-
return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx(Controller, { ...props }) });
|
|
15
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Controller, { ...props }) });
|
|
16
16
|
};
|
|
17
17
|
const useFormField = () => {
|
|
18
18
|
const fieldContext = React.useContext(FormFieldContext);
|
|
@@ -37,12 +37,12 @@ const FormItemContext = React.createContext(
|
|
|
37
37
|
);
|
|
38
38
|
const FormItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
39
39
|
const id = React.useId();
|
|
40
|
-
return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, "data-slot": "form-item", className: cn("grid gap-2", className), ...props }) });
|
|
40
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, "data-slot": "form-item", className: cn("grid gap-2", className), ...props }) });
|
|
41
41
|
});
|
|
42
42
|
FormItem.displayName = "FormItem";
|
|
43
43
|
const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
|
|
44
44
|
const { error, formItemId } = useFormField();
|
|
45
|
-
return /* @__PURE__ */ jsx(
|
|
45
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
46
46
|
Label,
|
|
47
47
|
{
|
|
48
48
|
ref,
|
|
@@ -55,7 +55,7 @@ const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
55
55
|
FormLabel.displayName = "FormLabel";
|
|
56
56
|
const FormControl = React.forwardRef(({ ...props }, ref) => {
|
|
57
57
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
58
|
-
return /* @__PURE__ */ jsx(
|
|
58
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59
59
|
Slot,
|
|
60
60
|
{
|
|
61
61
|
ref,
|
|
@@ -69,7 +69,7 @@ const FormControl = React.forwardRef(({ ...props }, ref) => {
|
|
|
69
69
|
FormControl.displayName = "FormControl";
|
|
70
70
|
const FormDescription = React.forwardRef(({ className, ...props }, ref) => {
|
|
71
71
|
const { formDescriptionId } = useFormField();
|
|
72
|
-
return /* @__PURE__ */ jsx(
|
|
72
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
73
73
|
"p",
|
|
74
74
|
{
|
|
75
75
|
ref,
|
|
@@ -86,7 +86,7 @@ const FormMessage = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
86
86
|
if (!body) {
|
|
87
87
|
return null;
|
|
88
88
|
}
|
|
89
|
-
return /* @__PURE__ */ jsx(
|
|
89
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
90
90
|
"p",
|
|
91
91
|
{
|
|
92
92
|
ref,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { cn } from '../../lib/utils.js';
|
|
4
4
|
|
|
5
5
|
const Input = React.forwardRef(
|
|
6
6
|
({ className, type, outlined, ...props }, ref) => {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8
8
|
"input",
|
|
9
9
|
{
|
|
10
10
|
type,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
3
|
+
import { Root } from '../../node_modules/@radix-ui/react-label/dist/index.js';
|
|
4
|
+
import { cva } from '../../node_modules/class-variance-authority/dist/index.js';
|
|
5
5
|
import { cn } from '../../lib/utils.js';
|
|
6
6
|
|
|
7
7
|
const labelVariants = cva(
|
|
8
8
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
9
9
|
);
|
|
10
|
-
const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
11
|
-
|
|
10
|
+
const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11
|
+
Root,
|
|
12
12
|
{
|
|
13
13
|
ref,
|
|
14
14
|
className: cn(labelVariants(), className),
|
|
15
15
|
...props
|
|
16
16
|
}
|
|
17
17
|
));
|
|
18
|
-
Label.displayName =
|
|
18
|
+
Label.displayName = Root.displayName;
|
|
19
19
|
|
|
20
20
|
export { Label };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { MoreHorizontal, ChevronRight, ChevronLeft } from 'lucide-react';
|
|
4
3
|
import { cn } from '../../lib/utils.js';
|
|
5
4
|
import { buttonVariants } from './button.tsx';
|
|
6
5
|
import { useLanguage } from '../../hooks/useLanguage.js';
|
|
6
|
+
import Ellipsis from '../../node_modules/lucide-react/dist/esm/icons/ellipsis.js';
|
|
7
|
+
import ChevronRight from '../../node_modules/lucide-react/dist/esm/icons/chevron-right.js';
|
|
8
|
+
import ChevronLeft from '../../node_modules/lucide-react/dist/esm/icons/chevron-left.js';
|
|
7
9
|
|
|
8
|
-
const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
10
|
+
const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9
11
|
"nav",
|
|
10
12
|
{
|
|
11
13
|
role: "navigation",
|
|
@@ -16,7 +18,7 @@ const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
16
18
|
}
|
|
17
19
|
);
|
|
18
20
|
Pagination.displayName = "Pagination";
|
|
19
|
-
const PaginationContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
21
|
+
const PaginationContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
20
22
|
"ul",
|
|
21
23
|
{
|
|
22
24
|
ref,
|
|
@@ -26,7 +28,7 @@ const PaginationContent = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
26
28
|
}
|
|
27
29
|
));
|
|
28
30
|
PaginationContent.displayName = "PaginationContent";
|
|
29
|
-
const PaginationItem = React.forwardRef(({ className, disabled, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
31
|
+
const PaginationItem = React.forwardRef(({ className, disabled, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30
32
|
"li",
|
|
31
33
|
{
|
|
32
34
|
ref,
|
|
@@ -41,7 +43,7 @@ const PaginationLink = ({
|
|
|
41
43
|
isActive,
|
|
42
44
|
size = "icon",
|
|
43
45
|
...props
|
|
44
|
-
}) => /* @__PURE__ */ jsx(
|
|
46
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45
47
|
"a",
|
|
46
48
|
{
|
|
47
49
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -62,7 +64,7 @@ const PaginationPrevious = ({
|
|
|
62
64
|
...props
|
|
63
65
|
}) => {
|
|
64
66
|
const { t } = useLanguage();
|
|
65
|
-
return /* @__PURE__ */ jsxs(
|
|
67
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
66
68
|
PaginationLink,
|
|
67
69
|
{
|
|
68
70
|
"aria-label": "Go to previous page",
|
|
@@ -70,8 +72,8 @@ const PaginationPrevious = ({
|
|
|
70
72
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
71
73
|
...props,
|
|
72
74
|
children: [
|
|
73
|
-
/* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": "true" }),
|
|
74
|
-
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: t("pagination.previous") })
|
|
75
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronLeft, { "aria-hidden": "true" }),
|
|
76
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "hidden sm:block", children: t("pagination.previous") })
|
|
75
77
|
]
|
|
76
78
|
}
|
|
77
79
|
);
|
|
@@ -82,7 +84,7 @@ const PaginationNext = ({
|
|
|
82
84
|
...props
|
|
83
85
|
}) => {
|
|
84
86
|
const { t } = useLanguage();
|
|
85
|
-
return /* @__PURE__ */ jsxs(
|
|
87
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
86
88
|
PaginationLink,
|
|
87
89
|
{
|
|
88
90
|
"aria-label": "Go to next page",
|
|
@@ -90,8 +92,8 @@ const PaginationNext = ({
|
|
|
90
92
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
91
93
|
...props,
|
|
92
94
|
children: [
|
|
93
|
-
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: t("pagination.next") }),
|
|
94
|
-
/* @__PURE__ */ jsx(ChevronRight, { "aria-hidden": "true" })
|
|
95
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "hidden sm:block", children: t("pagination.next") }),
|
|
96
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { "aria-hidden": "true" })
|
|
95
97
|
]
|
|
96
98
|
}
|
|
97
99
|
);
|
|
@@ -102,15 +104,15 @@ const PaginationEllipsis = ({
|
|
|
102
104
|
...props
|
|
103
105
|
}) => {
|
|
104
106
|
const { t } = useLanguage();
|
|
105
|
-
return /* @__PURE__ */ jsxs(
|
|
107
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
106
108
|
"span",
|
|
107
109
|
{
|
|
108
110
|
"aria-hidden": true,
|
|
109
111
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
110
112
|
...props,
|
|
111
113
|
children: [
|
|
112
|
-
/* @__PURE__ */ jsx(
|
|
113
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: t("pagination.more_pages") })
|
|
114
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Ellipsis, { className: "h-4 w-4" }),
|
|
115
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: t("pagination.more_pages") })
|
|
114
116
|
]
|
|
115
117
|
}
|
|
116
118
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import { Portal, Content as Content2, Root as Root2, Trigger, Anchor as Anchor2 } from '../../node_modules/@radix-ui/react-popover/dist/index.js';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
|
-
const Popover =
|
|
7
|
-
const PopoverTrigger =
|
|
8
|
-
const PopoverAnchor =
|
|
9
|
-
const PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10
|
-
|
|
6
|
+
const Popover = Root2;
|
|
7
|
+
const PopoverTrigger = Trigger;
|
|
8
|
+
const PopoverAnchor = Anchor2;
|
|
9
|
+
const PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(Portal, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10
|
+
Content2,
|
|
11
11
|
{
|
|
12
12
|
ref,
|
|
13
13
|
align,
|
|
@@ -19,6 +19,6 @@ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffs
|
|
|
19
19
|
...props
|
|
20
20
|
}
|
|
21
21
|
) }));
|
|
22
|
-
PopoverContent.displayName =
|
|
22
|
+
PopoverContent.displayName = Content2.displayName;
|
|
23
23
|
|
|
24
24
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { Circle } from 'lucide-react';
|
|
3
|
+
import { Root as Root2, Item as Item2, Indicator } from '../../node_modules/@radix-ui/react-radio-group/dist/index.js';
|
|
5
4
|
import { cn } from '../../lib/utils.js';
|
|
5
|
+
import Circle from '../../node_modules/lucide-react/dist/esm/icons/circle.js';
|
|
6
6
|
|
|
7
7
|
const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
9
|
-
|
|
8
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9
|
+
Root2,
|
|
10
10
|
{
|
|
11
11
|
className: cn("grid gap-2", className),
|
|
12
12
|
...props,
|
|
@@ -14,10 +14,10 @@ const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
14
14
|
}
|
|
15
15
|
);
|
|
16
16
|
});
|
|
17
|
-
RadioGroup.displayName =
|
|
17
|
+
RadioGroup.displayName = Root2.displayName;
|
|
18
18
|
const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
19
|
-
return /* @__PURE__ */ jsx(
|
|
20
|
-
|
|
19
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
20
|
+
Item2,
|
|
21
21
|
{
|
|
22
22
|
ref,
|
|
23
23
|
className: cn(
|
|
@@ -25,10 +25,10 @@ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
25
25
|
className
|
|
26
26
|
),
|
|
27
27
|
...props,
|
|
28
|
-
children: /* @__PURE__ */ jsx(
|
|
28
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
});
|
|
32
|
-
RadioGroupItem.displayName =
|
|
32
|
+
RadioGroupItem.displayName = Item2.displayName;
|
|
33
33
|
|
|
34
34
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { ChevronDown, ChevronUp, Check } from 'lucide-react';
|
|
3
|
+
import { Value, Trigger, Icon, ScrollUpButton, ScrollDownButton, Portal, Content as Content2, Viewport, Label, Item, ItemIndicator, ItemText, Separator, Root as Root2, Group } from '../../node_modules/@radix-ui/react-select/dist/index.js';
|
|
5
4
|
import { cn } from '../../lib/utils.js';
|
|
5
|
+
import ChevronDown from '../../node_modules/lucide-react/dist/esm/icons/chevron-down.js';
|
|
6
|
+
import ChevronUp from '../../node_modules/lucide-react/dist/esm/icons/chevron-up.js';
|
|
7
|
+
import Check from '../../node_modules/lucide-react/dist/esm/icons/check.js';
|
|
6
8
|
|
|
7
|
-
const Select =
|
|
8
|
-
const SelectGroup =
|
|
9
|
-
const SelectValue = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10
|
-
|
|
9
|
+
const Select = Root2;
|
|
10
|
+
const SelectGroup = Group;
|
|
11
|
+
const SelectValue = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12
|
+
Value,
|
|
11
13
|
{
|
|
12
14
|
ref,
|
|
13
15
|
"data-slot": "select-value",
|
|
@@ -15,9 +17,9 @@ const SelectValue = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
15
17
|
...props
|
|
16
18
|
}
|
|
17
19
|
));
|
|
18
|
-
SelectValue.displayName =
|
|
19
|
-
const SelectTrigger = React.forwardRef(({ className, children, size = "default", ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
20
|
-
|
|
20
|
+
SelectValue.displayName = Value.displayName;
|
|
21
|
+
const SelectTrigger = React.forwardRef(({ className, children, size = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
22
|
+
Trigger,
|
|
21
23
|
{
|
|
22
24
|
ref,
|
|
23
25
|
"data-slot": "select-trigger",
|
|
@@ -29,13 +31,13 @@ const SelectTrigger = React.forwardRef(({ className, children, size = "default",
|
|
|
29
31
|
...props,
|
|
30
32
|
children: [
|
|
31
33
|
children,
|
|
32
|
-
/* @__PURE__ */ jsx(
|
|
34
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4 opacity-50" }) })
|
|
33
35
|
]
|
|
34
36
|
}
|
|
35
37
|
));
|
|
36
|
-
SelectTrigger.displayName =
|
|
37
|
-
const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
38
|
-
|
|
38
|
+
SelectTrigger.displayName = Trigger.displayName;
|
|
39
|
+
const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
40
|
+
ScrollUpButton,
|
|
39
41
|
{
|
|
40
42
|
ref,
|
|
41
43
|
className: cn(
|
|
@@ -43,12 +45,12 @@ const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
43
45
|
className
|
|
44
46
|
),
|
|
45
47
|
...props,
|
|
46
|
-
children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
|
|
48
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronUp, { className: "h-4 w-4" })
|
|
47
49
|
}
|
|
48
50
|
));
|
|
49
|
-
SelectScrollUpButton.displayName =
|
|
50
|
-
const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
51
|
-
|
|
51
|
+
SelectScrollUpButton.displayName = ScrollUpButton.displayName;
|
|
52
|
+
const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
53
|
+
ScrollDownButton,
|
|
52
54
|
{
|
|
53
55
|
ref,
|
|
54
56
|
className: cn(
|
|
@@ -56,12 +58,12 @@ const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) =
|
|
|
56
58
|
className
|
|
57
59
|
),
|
|
58
60
|
...props,
|
|
59
|
-
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
61
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "h-4 w-4" })
|
|
60
62
|
}
|
|
61
63
|
));
|
|
62
|
-
SelectScrollDownButton.displayName =
|
|
63
|
-
const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
64
|
-
|
|
64
|
+
SelectScrollDownButton.displayName = ScrollDownButton.displayName;
|
|
65
|
+
const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(Portal, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
66
|
+
Content2,
|
|
65
67
|
{
|
|
66
68
|
ref,
|
|
67
69
|
className: cn(
|
|
@@ -72,9 +74,9 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
72
74
|
position,
|
|
73
75
|
...props,
|
|
74
76
|
children: [
|
|
75
|
-
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
76
|
-
/* @__PURE__ */ jsx(
|
|
77
|
-
|
|
77
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectScrollUpButton, {}),
|
|
78
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79
|
+
Viewport,
|
|
78
80
|
{
|
|
79
81
|
className: cn(
|
|
80
82
|
"p-1",
|
|
@@ -83,22 +85,22 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
83
85
|
children
|
|
84
86
|
}
|
|
85
87
|
),
|
|
86
|
-
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
88
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectScrollDownButton, {})
|
|
87
89
|
]
|
|
88
90
|
}
|
|
89
91
|
) }));
|
|
90
|
-
SelectContent.displayName =
|
|
91
|
-
const SelectLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
92
|
-
|
|
92
|
+
SelectContent.displayName = Content2.displayName;
|
|
93
|
+
const SelectLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
94
|
+
Label,
|
|
93
95
|
{
|
|
94
96
|
ref,
|
|
95
97
|
className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
|
|
96
98
|
...props
|
|
97
99
|
}
|
|
98
100
|
));
|
|
99
|
-
SelectLabel.displayName =
|
|
100
|
-
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
101
|
-
|
|
101
|
+
SelectLabel.displayName = Label.displayName;
|
|
102
|
+
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
103
|
+
Item,
|
|
102
104
|
{
|
|
103
105
|
ref,
|
|
104
106
|
className: cn(
|
|
@@ -107,20 +109,20 @@ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
107
109
|
),
|
|
108
110
|
...props,
|
|
109
111
|
children: [
|
|
110
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
111
|
-
/* @__PURE__ */ jsx(
|
|
112
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "h-4 w-4" }) }) }),
|
|
113
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children })
|
|
112
114
|
]
|
|
113
115
|
}
|
|
114
116
|
));
|
|
115
|
-
SelectItem.displayName =
|
|
116
|
-
const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
117
|
-
|
|
117
|
+
SelectItem.displayName = Item.displayName;
|
|
118
|
+
const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
119
|
+
Separator,
|
|
118
120
|
{
|
|
119
121
|
ref,
|
|
120
122
|
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
121
123
|
...props
|
|
122
124
|
}
|
|
123
125
|
));
|
|
124
|
-
SelectSeparator.displayName =
|
|
126
|
+
SelectSeparator.displayName = Separator.displayName;
|
|
125
127
|
|
|
126
128
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../_virtual/jsx-runtime.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import { Root } from '../../node_modules/@radix-ui/react-separator/dist/index.js';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
6
|
const Separator = React.forwardRef(
|
|
7
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
8
|
-
|
|
7
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8
|
+
Root,
|
|
9
9
|
{
|
|
10
10
|
ref,
|
|
11
11
|
decorative,
|
|
@@ -19,6 +19,6 @@ const Separator = React.forwardRef(
|
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
|
-
Separator.displayName =
|
|
22
|
+
Separator.displayName = Root.displayName;
|
|
23
23
|
|
|
24
24
|
export { Separator };
|