@orchidui/dashboard 1.8.1-95 → 1.8.1-96
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/AccordionTrigger.vue_vue_type_script_setup_true_lang-BdmLII9i.js +295 -0
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-DpJRpFhK.js +891 -0
- package/dist/CardTitle.vue_vue_type_script_setup_true_lang-D2_Bj3jw.js +68 -0
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-C51LjITJ.js +172 -0
- package/dist/CollapsibleTrigger-fCarY5DJ.js +154 -0
- package/dist/Collection-COudIl-A.js +55 -0
- package/dist/ConfigProvider-7mV0D7Sp.js +6 -0
- package/dist/Dashboard/Card/OcCard.js +1 -1
- package/dist/Dashboard/TextEditor/QuillEditor.js +1 -1
- package/dist/DialogContent.vue_vue_type_script_setup_true_lang-CdrrrG29.js +68 -0
- package/dist/DialogOverlay-Cj3UTjZ8.js +309 -0
- package/dist/DialogPortal-zAvO8zt4.js +23 -0
- package/dist/DialogTrigger-BIF1A4hk.js +72 -0
- package/dist/DismissableLayer-C7IJliOb.js +151 -0
- package/dist/FocusScope--pJ6bboI.js +121 -0
- package/dist/FormMessage.vue_vue_type_script_setup_true_lang-DwlnFEn2.js +92 -0
- package/dist/Input.vue_vue_type_script_setup_true_lang-BrjsUUvL.js +27 -0
- package/dist/Label.vue_vue_type_script_setup_true_lang-D_LMIKBv.js +51 -0
- package/dist/ListboxItem-CjMk-mEX.js +417 -0
- package/dist/MenuSubTrigger-CUrxnPwO.js +845 -0
- package/dist/{OcCard-D3be6IMj.js → OcCard-B3SCzVwn.js} +54 -58
- package/dist/{OcLottieAnimation-0mdksHMn.js → OcLottieAnimation-DeMoIDaX.js} +1 -1
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-DtI_qIyx.js +394 -0
- package/dist/PopperContent-BT3Svcc3.js +1465 -0
- package/dist/Presence-CxfTrw6l.js +133 -0
- package/dist/Primitive-B3twiLO1.js +44 -0
- package/dist/{QuillEditor-DRwC0sgJ.js → QuillEditor-hFQ0MJZO.js} +556 -579
- package/dist/RadioGroupItem.vue_vue_type_script_setup_true_lang-BNfRYIhL.js +297 -0
- package/dist/RovingFocusGroup-0OHdFQl0.js +92 -0
- package/dist/RovingFocusItem-s7Ug6oxb.js +82 -0
- package/dist/SelectValue.vue_vue_type_script_setup_true_lang-CVsYrN1R.js +1255 -0
- package/dist/Separator-DRam5i7g.js +54 -0
- package/dist/Separator.vue_vue_type_script_setup_true_lang-DGPbh6Dt.js +27 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-k1A7l6Y-.js +17 -0
- package/dist/Switch.vue_vue_type_script_setup_true_lang-94ZKgnTz.js +135 -0
- package/dist/Teleport-DnUewq5H.js +25 -0
- package/dist/Textarea.vue_vue_type_script_setup_true_lang-DKazues9.js +27 -0
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-CZ3AuN38.js +426 -0
- package/dist/VisuallyHidden-DMAU4heD.js +41 -0
- package/dist/VisuallyHiddenInput-DvJnsVHt.js +59 -0
- package/dist/_commonjsHelpers-B4e78b8K.js +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/array-CqVTtuYm.js +6 -0
- package/dist/arrays-4jDZqbdb.js +20 -0
- package/dist/check-C2tzJ0Gk.js +11 -0
- package/dist/chevron-down-CnpAlizg.js +13 -0
- package/dist/chevron-left-BOwFasou.js +13 -0
- package/dist/chevron-right-D308801z.js +13 -0
- package/dist/circle-A-6NpYiX.js +13 -0
- package/dist/clamp-BL1Rb24G.js +22 -0
- package/dist/constant-CuDQlTIy.js +3433 -0
- package/dist/createContext-CZEfaSVa.js +17 -0
- package/dist/createLucideIcon-eXqDwUWj.js +71 -0
- package/dist/ellipsis-CEG9G7eN.js +15 -0
- package/dist/getActiveElement-B-HWdUIb.js +11 -0
- package/dist/handleAndDispatchCustomEvent-Byh08EHr.js +11 -0
- package/dist/index-B3LW8uSH.js +133 -0
- package/dist/index-BIlpXuWX.js +3430 -0
- package/dist/index-BlGEiPHj.js +1246 -0
- package/dist/index-BwPb_idr.js +574 -0
- package/dist/index-C9julNQm.js +173 -0
- package/dist/index-C_aI-Wfj.js +34 -0
- package/dist/index-CumjCvqB.js +5703 -0
- package/dist/index-LqWMCtOd.js +809 -0
- package/dist/index-OpE2oGce.js +110 -0
- package/dist/index.js +3 -3
- package/dist/isValueEqualOrExist-BDSMUv8t.js +8 -0
- package/dist/lib/utils.js +5 -0
- package/dist/nullish-CjWwlQS3.js +6 -0
- package/dist/ohash.D__AXeF1-DX2n0b2C.js +106 -0
- package/dist/plus-CgluTYQY.js +14 -0
- package/dist/text-zwICaAnx.js +743 -0
- package/dist/ui/accordion/index.js +7 -0
- package/dist/ui/alert/index.js +64 -0
- package/dist/ui/alert-dialog/index.js +356 -0
- package/dist/ui/aspect-ratio/index.js +50 -0
- package/dist/ui/auto-form/constant.js +5 -0
- package/dist/ui/auto-form/dependencies.js +61 -0
- package/dist/ui/auto-form/index.js +227 -0
- package/dist/ui/auto-form/interface.js +4 -0
- package/dist/ui/auto-form/utils.js +89 -0
- package/dist/ui/avatar/index.js +189 -0
- package/dist/ui/badge/index.js +37 -0
- package/dist/ui/breadcrumb/index.js +126 -0
- package/dist/ui/button/index.js +55 -0
- package/dist/ui/calendar/index.js +15 -0
- package/dist/ui/card/index.js +38 -0
- package/dist/ui/carousel/index.js +174 -0
- package/dist/ui/carousel/interface.js +1 -0
- package/dist/ui/carousel/useCarousel.js +1288 -0
- package/dist/ui/chart/index.js +8 -0
- package/dist/ui/chart/interface.js +1 -0
- package/dist/ui/chart-area/index.js +331 -0
- package/dist/ui/chart-bar/index.js +490 -0
- package/dist/ui/chart-donut/index.js +509 -0
- package/dist/ui/chart-line/index.js +110 -0
- package/dist/ui/checkbox/index.js +4 -0
- package/dist/ui/collapsible/index.js +60 -0
- package/dist/ui/combobox/index.js +877 -0
- package/dist/ui/command/index.js +323 -0
- package/dist/ui/context-menu/index.js +734 -0
- package/dist/ui/dialog/index.js +169 -0
- package/dist/ui/drawer/index.js +971 -0
- package/dist/ui/dropdown-menu/index.js +723 -0
- package/dist/ui/form/index.js +13 -0
- package/dist/ui/form/injectionKeys.js +4 -0
- package/dist/ui/form/useFormField.js +25 -0
- package/dist/ui/hover-card/index.js +331 -0
- package/dist/ui/input/index.js +4 -0
- package/dist/ui/label/index.js +4 -0
- package/dist/ui/menubar/index.js +862 -0
- package/dist/ui/navigation-menu/index.js +873 -0
- package/dist/ui/number-field/index.js +682 -0
- package/dist/ui/pagination/index.js +444 -0
- package/dist/ui/pin-input/index.js +308 -0
- package/dist/ui/popover/index.js +6 -0
- package/dist/ui/progress/index.js +137 -0
- package/dist/ui/radio-group/index.js +5 -0
- package/dist/ui/range-calendar/index.js +986 -0
- package/dist/ui/resizable/index.js +1432 -0
- package/dist/ui/scroll-area/index.js +775 -0
- package/dist/ui/select/index.js +135 -0
- package/dist/ui/separator/index.js +4 -0
- package/dist/ui/sheet/index.js +188 -0
- package/dist/ui/sidebar/index.js +652 -0
- package/dist/ui/sidebar/utils.js +12 -0
- package/dist/ui/skeleton/index.js +4 -0
- package/dist/ui/slider/index.js +478 -0
- package/dist/ui/sonner/index.js +892 -0
- package/dist/ui/stepper/index.js +442 -0
- package/dist/ui/switch/index.js +4 -0
- package/dist/ui/table/index.js +153 -0
- package/dist/ui/tabs/index.js +280 -0
- package/dist/ui/tags-input/index.js +449 -0
- package/dist/ui/textarea/index.js +4 -0
- package/dist/ui/toast/index.js +738 -0
- package/dist/ui/toast/use-toast.js +85 -0
- package/dist/ui/toggle/index.js +6 -0
- package/dist/ui/toggle-group/index.js +112 -0
- package/dist/ui/tooltip/index.js +29 -0
- package/dist/useArrowNavigation-BRMPveaB.js +49 -0
- package/dist/useBodyScrollLock-CazCRZjZ.js +153 -0
- package/dist/useDirection-C3C_TLKm.js +14 -0
- package/dist/useFocusGuards-CyjC9cG9.js +26 -0
- package/dist/useFormControl-CFVC51Lp.js +11 -0
- package/dist/useForwardExpose-DZT6mL_U.js +37 -0
- package/dist/useForwardPropsEmits-0XKBv1pB.js +33 -0
- package/dist/useGraceArea-D7-GP1ii.js +137 -0
- package/dist/useId-reAg216X.js +13 -0
- package/dist/useKbd-BJNupnml.js +41 -0
- package/dist/useLocale-BfU0LC8Z.js +14 -0
- package/dist/useNonce-C1ZOgOp5.js +14 -0
- package/dist/usePrimitiveElement-BjwUvHih.js +15 -0
- package/dist/useSingleOrMultipleValue-BkTAaaJB.js +43 -0
- package/dist/useSize-BnyQ8FZF.js +37 -0
- package/dist/useTypeahead-oSidjyFF.js +40 -0
- package/dist/utils-DKNaYMZh.js +57 -0
- package/dist/utils-Dx9la83v.js +35 -0
- package/dist/utils-DxQ_ywGa.js +55 -0
- package/dist/utils-SFgRDk1R.js +2748 -0
- package/dist/utils-W-UiqiPE.js +1869 -0
- package/dist/vee-validate-Cf8JDJ_k.js +2232 -0
- package/dist/x-Cl6YllUK.js +14 -0
- package/package.json +264 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { c as o } from "../../index-C_aI-Wfj.js";
|
|
2
|
+
import { defineComponent as s, createBlock as i, openBlock as a, unref as t, normalizeClass as d, withCtx as c, renderSlot as u } from "vue";
|
|
3
|
+
import { c as l } from "../../utils-SFgRDk1R.js";
|
|
4
|
+
import { P as f } from "../../Primitive-B3twiLO1.js";
|
|
5
|
+
const y = /* @__PURE__ */ s({
|
|
6
|
+
__name: "Button",
|
|
7
|
+
props: {
|
|
8
|
+
variant: {},
|
|
9
|
+
size: {},
|
|
10
|
+
class: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: { type: [String, Object, Function], default: "button" }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const n = r;
|
|
16
|
+
return (e, v) => (a(), i(t(f), {
|
|
17
|
+
as: e.as,
|
|
18
|
+
"as-child": e.asChild,
|
|
19
|
+
class: d(t(l)(t(p)({ variant: e.variant, size: e.size }), n.class))
|
|
20
|
+
}, {
|
|
21
|
+
default: c(() => [
|
|
22
|
+
u(e.$slots, "default")
|
|
23
|
+
]),
|
|
24
|
+
_: 3
|
|
25
|
+
}, 8, ["as", "as-child", "class"]));
|
|
26
|
+
}
|
|
27
|
+
}), p = o(
|
|
28
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
29
|
+
{
|
|
30
|
+
variants: {
|
|
31
|
+
variant: {
|
|
32
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
33
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
34
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
35
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
36
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
37
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
38
|
+
},
|
|
39
|
+
size: {
|
|
40
|
+
default: "h-10 px-4 py-2",
|
|
41
|
+
sm: "h-9 rounded-md px-3",
|
|
42
|
+
lg: "h-11 rounded-md px-8",
|
|
43
|
+
icon: "h-10 w-10"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
defaultVariants: {
|
|
47
|
+
variant: "default",
|
|
48
|
+
size: "default"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
y as Button,
|
|
54
|
+
p as buttonVariants
|
|
55
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { _ as d, a as r, b as l, c as n, d as C, e as s, f as i, g as o, h as t, i as g, j as G, k as H } from "../../CalendarPrevButton.vue_vue_type_script_setup_true_lang-DpJRpFhK.js";
|
|
2
|
+
export {
|
|
3
|
+
d as Calendar,
|
|
4
|
+
r as CalendarCell,
|
|
5
|
+
l as CalendarCellTrigger,
|
|
6
|
+
n as CalendarGrid,
|
|
7
|
+
C as CalendarGridBody,
|
|
8
|
+
s as CalendarGridHead,
|
|
9
|
+
i as CalendarGridRow,
|
|
10
|
+
o as CalendarHeadCell,
|
|
11
|
+
t as CalendarHeader,
|
|
12
|
+
g as CalendarHeading,
|
|
13
|
+
G as CalendarNextButton,
|
|
14
|
+
H as CalendarPrevButton
|
|
15
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { _ as x, a as $, b as h, c as k } from "../../CardTitle.vue_vue_type_script_setup_true_lang-D2_Bj3jw.js";
|
|
2
|
+
import { defineComponent as t, createElementBlock as a, openBlock as o, normalizeClass as n, unref as c, renderSlot as p } from "vue";
|
|
3
|
+
import { c as l } from "../../utils-SFgRDk1R.js";
|
|
4
|
+
const f = /* @__PURE__ */ t({
|
|
5
|
+
__name: "CardDescription",
|
|
6
|
+
props: {
|
|
7
|
+
class: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const s = e;
|
|
11
|
+
return (r, d) => (o(), a("p", {
|
|
12
|
+
class: n(c(l)("text-sm text-muted-foreground", s.class))
|
|
13
|
+
}, [
|
|
14
|
+
p(r.$slots, "default")
|
|
15
|
+
], 2));
|
|
16
|
+
}
|
|
17
|
+
}), u = /* @__PURE__ */ t({
|
|
18
|
+
__name: "CardFooter",
|
|
19
|
+
props: {
|
|
20
|
+
class: {}
|
|
21
|
+
},
|
|
22
|
+
setup(e) {
|
|
23
|
+
const s = e;
|
|
24
|
+
return (r, d) => (o(), a("div", {
|
|
25
|
+
class: n(c(l)("flex items-center p-6 pt-0", s.class))
|
|
26
|
+
}, [
|
|
27
|
+
p(r.$slots, "default")
|
|
28
|
+
], 2));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
x as Card,
|
|
33
|
+
$ as CardContent,
|
|
34
|
+
f as CardDescription,
|
|
35
|
+
u as CardFooter,
|
|
36
|
+
h as CardHeader,
|
|
37
|
+
k as CardTitle
|
|
38
|
+
};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { defineComponent as i, createElementBlock as x, openBlock as u, normalizeClass as d, unref as e, renderSlot as p, createElementVNode as C, mergeProps as z, createBlock as N, withCtx as P, createVNode as $ } from "vue";
|
|
2
|
+
import { c as f } from "../../utils-SFgRDk1R.js";
|
|
3
|
+
import { useProvideCarousel as R, useCarousel as m } from "./useCarousel.js";
|
|
4
|
+
import { Button as b } from "../button/index.js";
|
|
5
|
+
import { c as g } from "../../createLucideIcon-eXqDwUWj.js";
|
|
6
|
+
/**
|
|
7
|
+
* @license lucide-vue-next v0.514.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
const B = g("arrow-left", [
|
|
13
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
14
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
15
|
+
]);
|
|
16
|
+
/**
|
|
17
|
+
* @license lucide-vue-next v0.514.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
const D = g("arrow-right", [
|
|
23
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
24
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
25
|
+
]), V = /* @__PURE__ */ i({
|
|
26
|
+
__name: "Carousel",
|
|
27
|
+
props: {
|
|
28
|
+
opts: {},
|
|
29
|
+
plugins: {},
|
|
30
|
+
orientation: { default: "horizontal" },
|
|
31
|
+
class: {}
|
|
32
|
+
},
|
|
33
|
+
emits: ["init-api"],
|
|
34
|
+
setup(t, { expose: r, emit: s }) {
|
|
35
|
+
const o = t, a = s, { canScrollNext: n, canScrollPrev: l, carouselApi: v, carouselRef: w, orientation: y, scrollNext: h, scrollPrev: _ } = R(o, a);
|
|
36
|
+
r({
|
|
37
|
+
canScrollNext: n,
|
|
38
|
+
canScrollPrev: l,
|
|
39
|
+
carouselApi: v,
|
|
40
|
+
carouselRef: w,
|
|
41
|
+
orientation: y,
|
|
42
|
+
scrollNext: h,
|
|
43
|
+
scrollPrev: _
|
|
44
|
+
});
|
|
45
|
+
function A(c) {
|
|
46
|
+
const k = o.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", S = o.orientation === "vertical" ? "ArrowDown" : "ArrowRight";
|
|
47
|
+
if (c.key === k) {
|
|
48
|
+
c.preventDefault(), _();
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
c.key === S && (c.preventDefault(), h());
|
|
52
|
+
}
|
|
53
|
+
return (c, k) => (u(), x("div", {
|
|
54
|
+
class: d(e(f)("relative", o.class)),
|
|
55
|
+
role: "region",
|
|
56
|
+
"aria-roledescription": "carousel",
|
|
57
|
+
tabindex: "0",
|
|
58
|
+
onKeydown: A
|
|
59
|
+
}, [
|
|
60
|
+
p(c.$slots, "default", {
|
|
61
|
+
canScrollNext: e(n),
|
|
62
|
+
canScrollPrev: e(l),
|
|
63
|
+
carouselApi: e(v),
|
|
64
|
+
carouselRef: e(w),
|
|
65
|
+
orientation: e(y),
|
|
66
|
+
scrollNext: e(h),
|
|
67
|
+
scrollPrev: e(_)
|
|
68
|
+
})
|
|
69
|
+
], 34));
|
|
70
|
+
}
|
|
71
|
+
}), q = /* @__PURE__ */ i({
|
|
72
|
+
inheritAttrs: !1,
|
|
73
|
+
__name: "CarouselContent",
|
|
74
|
+
props: {
|
|
75
|
+
class: {}
|
|
76
|
+
},
|
|
77
|
+
setup(t) {
|
|
78
|
+
const r = t, { carouselRef: s, orientation: o } = m();
|
|
79
|
+
return (a, n) => (u(), x("div", {
|
|
80
|
+
ref_key: "carouselRef",
|
|
81
|
+
ref: s,
|
|
82
|
+
class: "overflow-hidden"
|
|
83
|
+
}, [
|
|
84
|
+
C("div", z({
|
|
85
|
+
class: e(f)(
|
|
86
|
+
"flex",
|
|
87
|
+
e(o) === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
88
|
+
r.class
|
|
89
|
+
)
|
|
90
|
+
}, a.$attrs), [
|
|
91
|
+
p(a.$slots, "default")
|
|
92
|
+
], 16)
|
|
93
|
+
], 512));
|
|
94
|
+
}
|
|
95
|
+
}), H = /* @__PURE__ */ i({
|
|
96
|
+
__name: "CarouselItem",
|
|
97
|
+
props: {
|
|
98
|
+
class: {}
|
|
99
|
+
},
|
|
100
|
+
setup(t) {
|
|
101
|
+
const r = t, { orientation: s } = m();
|
|
102
|
+
return (o, a) => (u(), x("div", {
|
|
103
|
+
role: "group",
|
|
104
|
+
"aria-roledescription": "slide",
|
|
105
|
+
class: d(e(f)(
|
|
106
|
+
"min-w-0 shrink-0 grow-0 basis-full",
|
|
107
|
+
e(s) === "horizontal" ? "pl-4" : "pt-4",
|
|
108
|
+
r.class
|
|
109
|
+
))
|
|
110
|
+
}, [
|
|
111
|
+
p(o.$slots, "default")
|
|
112
|
+
], 2));
|
|
113
|
+
}
|
|
114
|
+
}), U = /* @__PURE__ */ i({
|
|
115
|
+
__name: "CarouselNext",
|
|
116
|
+
props: {
|
|
117
|
+
class: {}
|
|
118
|
+
},
|
|
119
|
+
setup(t) {
|
|
120
|
+
const r = t, { orientation: s, canScrollNext: o, scrollNext: a } = m();
|
|
121
|
+
return (n, l) => (u(), N(e(b), {
|
|
122
|
+
disabled: !e(o),
|
|
123
|
+
class: d(e(f)(
|
|
124
|
+
"touch-manipulation absolute h-8 w-8 rounded-full p-0",
|
|
125
|
+
e(s) === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
126
|
+
r.class
|
|
127
|
+
)),
|
|
128
|
+
variant: "outline",
|
|
129
|
+
onClick: e(a)
|
|
130
|
+
}, {
|
|
131
|
+
default: P(() => [
|
|
132
|
+
p(n.$slots, "default", {}, () => [
|
|
133
|
+
$(e(D), { class: "h-4 w-4 text-current" }),
|
|
134
|
+
l[0] || (l[0] = C("span", { class: "sr-only" }, "Next Slide", -1))
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 3
|
|
138
|
+
}, 8, ["disabled", "class", "onClick"]));
|
|
139
|
+
}
|
|
140
|
+
}), j = /* @__PURE__ */ i({
|
|
141
|
+
__name: "CarouselPrevious",
|
|
142
|
+
props: {
|
|
143
|
+
class: {}
|
|
144
|
+
},
|
|
145
|
+
setup(t) {
|
|
146
|
+
const r = t, { orientation: s, canScrollPrev: o, scrollPrev: a } = m();
|
|
147
|
+
return (n, l) => (u(), N(e(b), {
|
|
148
|
+
disabled: !e(o),
|
|
149
|
+
class: d(e(f)(
|
|
150
|
+
"touch-manipulation absolute h-8 w-8 rounded-full p-0",
|
|
151
|
+
e(s) === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
152
|
+
r.class
|
|
153
|
+
)),
|
|
154
|
+
variant: "outline",
|
|
155
|
+
onClick: e(a)
|
|
156
|
+
}, {
|
|
157
|
+
default: P(() => [
|
|
158
|
+
p(n.$slots, "default", {}, () => [
|
|
159
|
+
$(e(B), { class: "h-4 w-4 text-current" }),
|
|
160
|
+
l[0] || (l[0] = C("span", { class: "sr-only" }, "Previous Slide", -1))
|
|
161
|
+
])
|
|
162
|
+
]),
|
|
163
|
+
_: 3
|
|
164
|
+
}, 8, ["disabled", "class", "onClick"]));
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
export {
|
|
168
|
+
V as Carousel,
|
|
169
|
+
q as CarouselContent,
|
|
170
|
+
H as CarouselItem,
|
|
171
|
+
U as CarouselNext,
|
|
172
|
+
j as CarouselPrevious,
|
|
173
|
+
m as useCarousel
|
|
174
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|