@orchidui/dashboard 1.8.1-96 → 1.8.1-97
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/Dashboard/Card/OcCard.js +1 -1
- package/dist/Dashboard/TextEditor/QuillEditor.js +1 -1
- package/dist/{OcCard-B3SCzVwn.js → OcCard-D3be6IMj.js} +58 -54
- package/dist/OcCodeBlock-uFQyGnLq.js +37 -0
- package/dist/{OcLottieAnimation-DeMoIDaX.js → OcLottieAnimation-BB7AK2AO.js} +62 -62
- package/dist/{QuillEditor-hFQ0MJZO.js → QuillEditor-DRwC0sgJ.js} +579 -556
- package/dist/index.js +4 -4
- package/package.json +3 -265
- package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-BdmLII9i.js +0 -295
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-DpJRpFhK.js +0 -891
- package/dist/CardTitle.vue_vue_type_script_setup_true_lang-D2_Bj3jw.js +0 -68
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-C51LjITJ.js +0 -172
- package/dist/CollapsibleTrigger-fCarY5DJ.js +0 -154
- package/dist/Collection-COudIl-A.js +0 -55
- package/dist/ConfigProvider-7mV0D7Sp.js +0 -6
- package/dist/DialogContent.vue_vue_type_script_setup_true_lang-CdrrrG29.js +0 -68
- package/dist/DialogOverlay-Cj3UTjZ8.js +0 -309
- package/dist/DialogPortal-zAvO8zt4.js +0 -23
- package/dist/DialogTrigger-BIF1A4hk.js +0 -72
- package/dist/DismissableLayer-C7IJliOb.js +0 -151
- package/dist/FocusScope--pJ6bboI.js +0 -121
- package/dist/FormMessage.vue_vue_type_script_setup_true_lang-DwlnFEn2.js +0 -92
- package/dist/Input.vue_vue_type_script_setup_true_lang-BrjsUUvL.js +0 -27
- package/dist/Label.vue_vue_type_script_setup_true_lang-D_LMIKBv.js +0 -51
- package/dist/ListboxItem-CjMk-mEX.js +0 -417
- package/dist/MenuSubTrigger-CUrxnPwO.js +0 -845
- package/dist/OcCodeBlock-CBdVqav7.js +0 -37
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-DtI_qIyx.js +0 -394
- package/dist/PopperContent-BT3Svcc3.js +0 -1465
- package/dist/Presence-CxfTrw6l.js +0 -133
- package/dist/Primitive-B3twiLO1.js +0 -44
- package/dist/RadioGroupItem.vue_vue_type_script_setup_true_lang-BNfRYIhL.js +0 -297
- package/dist/RovingFocusGroup-0OHdFQl0.js +0 -92
- package/dist/RovingFocusItem-s7Ug6oxb.js +0 -82
- package/dist/SelectValue.vue_vue_type_script_setup_true_lang-CVsYrN1R.js +0 -1255
- package/dist/Separator-DRam5i7g.js +0 -54
- package/dist/Separator.vue_vue_type_script_setup_true_lang-DGPbh6Dt.js +0 -27
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-k1A7l6Y-.js +0 -17
- package/dist/Switch.vue_vue_type_script_setup_true_lang-94ZKgnTz.js +0 -135
- package/dist/Teleport-DnUewq5H.js +0 -25
- package/dist/Textarea.vue_vue_type_script_setup_true_lang-DKazues9.js +0 -27
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-CZ3AuN38.js +0 -426
- package/dist/VisuallyHidden-DMAU4heD.js +0 -41
- package/dist/VisuallyHiddenInput-DvJnsVHt.js +0 -59
- package/dist/_commonjsHelpers-B4e78b8K.js +0 -28
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/array-CqVTtuYm.js +0 -6
- package/dist/arrays-4jDZqbdb.js +0 -20
- package/dist/check-C2tzJ0Gk.js +0 -11
- package/dist/chevron-down-CnpAlizg.js +0 -13
- package/dist/chevron-left-BOwFasou.js +0 -13
- package/dist/chevron-right-D308801z.js +0 -13
- package/dist/circle-A-6NpYiX.js +0 -13
- package/dist/clamp-BL1Rb24G.js +0 -22
- package/dist/constant-CuDQlTIy.js +0 -3433
- package/dist/createContext-CZEfaSVa.js +0 -17
- package/dist/createLucideIcon-eXqDwUWj.js +0 -71
- package/dist/ellipsis-CEG9G7eN.js +0 -15
- package/dist/getActiveElement-B-HWdUIb.js +0 -11
- package/dist/handleAndDispatchCustomEvent-Byh08EHr.js +0 -11
- package/dist/index-B3LW8uSH.js +0 -133
- package/dist/index-BIlpXuWX.js +0 -3430
- package/dist/index-BlGEiPHj.js +0 -1246
- package/dist/index-BwPb_idr.js +0 -574
- package/dist/index-C9julNQm.js +0 -173
- package/dist/index-C_aI-Wfj.js +0 -34
- package/dist/index-CumjCvqB.js +0 -5703
- package/dist/index-LqWMCtOd.js +0 -809
- package/dist/index-OpE2oGce.js +0 -110
- package/dist/isValueEqualOrExist-BDSMUv8t.js +0 -8
- package/dist/lib/utils.js +0 -5
- package/dist/nullish-CjWwlQS3.js +0 -6
- package/dist/ohash.D__AXeF1-DX2n0b2C.js +0 -106
- package/dist/plus-CgluTYQY.js +0 -14
- package/dist/text-zwICaAnx.js +0 -743
- package/dist/ui/accordion/index.js +0 -7
- package/dist/ui/alert/index.js +0 -64
- package/dist/ui/alert-dialog/index.js +0 -356
- package/dist/ui/aspect-ratio/index.js +0 -50
- package/dist/ui/auto-form/constant.js +0 -5
- package/dist/ui/auto-form/dependencies.js +0 -61
- package/dist/ui/auto-form/index.js +0 -227
- package/dist/ui/auto-form/interface.js +0 -4
- package/dist/ui/auto-form/utils.js +0 -89
- package/dist/ui/avatar/index.js +0 -189
- package/dist/ui/badge/index.js +0 -37
- package/dist/ui/breadcrumb/index.js +0 -126
- package/dist/ui/button/index.js +0 -55
- package/dist/ui/calendar/index.js +0 -15
- package/dist/ui/card/index.js +0 -38
- package/dist/ui/carousel/index.js +0 -174
- package/dist/ui/carousel/interface.js +0 -1
- package/dist/ui/carousel/useCarousel.js +0 -1288
- package/dist/ui/chart/index.js +0 -8
- package/dist/ui/chart/interface.js +0 -1
- package/dist/ui/chart-area/index.js +0 -331
- package/dist/ui/chart-bar/index.js +0 -490
- package/dist/ui/chart-donut/index.js +0 -509
- package/dist/ui/chart-line/index.js +0 -110
- package/dist/ui/checkbox/index.js +0 -4
- package/dist/ui/collapsible/index.js +0 -60
- package/dist/ui/combobox/index.js +0 -877
- package/dist/ui/command/index.js +0 -323
- package/dist/ui/context-menu/index.js +0 -734
- package/dist/ui/dialog/index.js +0 -169
- package/dist/ui/drawer/index.js +0 -971
- package/dist/ui/dropdown-menu/index.js +0 -723
- package/dist/ui/form/index.js +0 -13
- package/dist/ui/form/injectionKeys.js +0 -4
- package/dist/ui/form/useFormField.js +0 -25
- package/dist/ui/hover-card/index.js +0 -331
- package/dist/ui/input/index.js +0 -4
- package/dist/ui/label/index.js +0 -4
- package/dist/ui/menubar/index.js +0 -862
- package/dist/ui/navigation-menu/index.js +0 -873
- package/dist/ui/number-field/index.js +0 -682
- package/dist/ui/pagination/index.js +0 -444
- package/dist/ui/pin-input/index.js +0 -308
- package/dist/ui/popover/index.js +0 -6
- package/dist/ui/progress/index.js +0 -137
- package/dist/ui/radio-group/index.js +0 -5
- package/dist/ui/range-calendar/index.js +0 -986
- package/dist/ui/resizable/index.js +0 -1432
- package/dist/ui/scroll-area/index.js +0 -775
- package/dist/ui/select/index.js +0 -135
- package/dist/ui/separator/index.js +0 -4
- package/dist/ui/sheet/index.js +0 -188
- package/dist/ui/sidebar/index.js +0 -652
- package/dist/ui/sidebar/utils.js +0 -12
- package/dist/ui/skeleton/index.js +0 -4
- package/dist/ui/slider/index.js +0 -478
- package/dist/ui/sonner/index.js +0 -892
- package/dist/ui/stepper/index.js +0 -442
- package/dist/ui/switch/index.js +0 -4
- package/dist/ui/table/index.js +0 -153
- package/dist/ui/tabs/index.js +0 -280
- package/dist/ui/tags-input/index.js +0 -449
- package/dist/ui/textarea/index.js +0 -4
- package/dist/ui/toast/index.js +0 -738
- package/dist/ui/toast/use-toast.js +0 -85
- package/dist/ui/toggle/index.js +0 -6
- package/dist/ui/toggle-group/index.js +0 -112
- package/dist/ui/tooltip/index.js +0 -29
- package/dist/useArrowNavigation-BRMPveaB.js +0 -49
- package/dist/useBodyScrollLock-CazCRZjZ.js +0 -153
- package/dist/useDirection-C3C_TLKm.js +0 -14
- package/dist/useFocusGuards-CyjC9cG9.js +0 -26
- package/dist/useFormControl-CFVC51Lp.js +0 -11
- package/dist/useForwardExpose-DZT6mL_U.js +0 -37
- package/dist/useForwardPropsEmits-0XKBv1pB.js +0 -33
- package/dist/useGraceArea-D7-GP1ii.js +0 -137
- package/dist/useId-reAg216X.js +0 -13
- package/dist/useKbd-BJNupnml.js +0 -41
- package/dist/useLocale-BfU0LC8Z.js +0 -14
- package/dist/useNonce-C1ZOgOp5.js +0 -14
- package/dist/usePrimitiveElement-BjwUvHih.js +0 -15
- package/dist/useSingleOrMultipleValue-BkTAaaJB.js +0 -43
- package/dist/useSize-BnyQ8FZF.js +0 -37
- package/dist/useTypeahead-oSidjyFF.js +0 -40
- package/dist/utils-DKNaYMZh.js +0 -57
- package/dist/utils-Dx9la83v.js +0 -35
- package/dist/utils-DxQ_ywGa.js +0 -55
- package/dist/utils-SFgRDk1R.js +0 -2748
- package/dist/utils-W-UiqiPE.js +0 -1869
- package/dist/vee-validate-Cf8JDJ_k.js +0 -2232
- package/dist/x-Cl6YllUK.js +0 -14
package/dist/ui/button/index.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/ui/card/index.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,174 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|