@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,295 @@
|
|
|
1
|
+
import { defineComponent as d, toRefs as R, createBlock as c, openBlock as u, unref as a, withCtx as r, renderSlot as i, computed as f, withKeys as E, normalizeProps as F, guardReactiveProps as j, mergeProps as $, createElementVNode as D, normalizeClass as H, createVNode as V } from "vue";
|
|
2
|
+
import { u as M, a as K } from "./useForwardPropsEmits-0XKBv1pB.js";
|
|
3
|
+
import { c as A } from "./utils-SFgRDk1R.js";
|
|
4
|
+
import { r as w } from "./index-OpE2oGce.js";
|
|
5
|
+
import { u as y } from "./useForwardExpose-DZT6mL_U.js";
|
|
6
|
+
import { _ as N, a as z, b as T } from "./CollapsibleTrigger-fCarY5DJ.js";
|
|
7
|
+
import { P as S } from "./Primitive-B3twiLO1.js";
|
|
8
|
+
import { u as q } from "./useSingleOrMultipleValue-BkTAaaJB.js";
|
|
9
|
+
import { c as O } from "./createContext-CZEfaSVa.js";
|
|
10
|
+
import { u as G } from "./useDirection-C3C_TLKm.js";
|
|
11
|
+
import { u as J } from "./useArrowNavigation-BRMPveaB.js";
|
|
12
|
+
import { u as L } from "./useId-reAg216X.js";
|
|
13
|
+
import { C as Q } from "./chevron-down-CnpAlizg.js";
|
|
14
|
+
const [C, U] = O("AccordionRoot"), W = /* @__PURE__ */ d({
|
|
15
|
+
__name: "AccordionRoot",
|
|
16
|
+
props: {
|
|
17
|
+
collapsible: { type: Boolean, default: !1 },
|
|
18
|
+
disabled: { type: Boolean, default: !1 },
|
|
19
|
+
dir: {},
|
|
20
|
+
orientation: { default: "vertical" },
|
|
21
|
+
unmountOnHide: { type: Boolean, default: !0 },
|
|
22
|
+
asChild: { type: Boolean },
|
|
23
|
+
as: {},
|
|
24
|
+
type: {},
|
|
25
|
+
modelValue: {},
|
|
26
|
+
defaultValue: {}
|
|
27
|
+
},
|
|
28
|
+
emits: ["update:modelValue"],
|
|
29
|
+
setup(s, { emit: o }) {
|
|
30
|
+
const t = s, e = o, { dir: n, disabled: l, unmountOnHide: p } = R(t), v = G(n), { modelValue: _, changeModelValue: h, isSingle: B } = q(t, e), { forwardRef: m, currentElement: b } = y();
|
|
31
|
+
return U({
|
|
32
|
+
disabled: l,
|
|
33
|
+
direction: v,
|
|
34
|
+
orientation: t.orientation,
|
|
35
|
+
parentElement: b,
|
|
36
|
+
isSingle: B,
|
|
37
|
+
collapsible: t.collapsible,
|
|
38
|
+
modelValue: _,
|
|
39
|
+
changeModelValue: h,
|
|
40
|
+
unmountOnHide: p
|
|
41
|
+
}), (g, k) => (u(), c(a(S), {
|
|
42
|
+
ref: a(m),
|
|
43
|
+
"as-child": g.asChild,
|
|
44
|
+
as: g.as
|
|
45
|
+
}, {
|
|
46
|
+
default: r(() => [
|
|
47
|
+
i(g.$slots, "default", { modelValue: a(_) })
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
}, 8, ["as-child", "as"]));
|
|
51
|
+
}
|
|
52
|
+
}), [x, X] = O("AccordionItem"), Y = /* @__PURE__ */ d({
|
|
53
|
+
__name: "AccordionItem",
|
|
54
|
+
props: {
|
|
55
|
+
disabled: { type: Boolean },
|
|
56
|
+
value: {},
|
|
57
|
+
unmountOnHide: { type: Boolean },
|
|
58
|
+
asChild: { type: Boolean },
|
|
59
|
+
as: {}
|
|
60
|
+
},
|
|
61
|
+
setup(s, { expose: o }) {
|
|
62
|
+
const t = s, e = C(), n = f(
|
|
63
|
+
() => e.isSingle.value ? t.value === e.modelValue.value : Array.isArray(e.modelValue.value) && e.modelValue.value.includes(t.value)
|
|
64
|
+
), l = f(() => e.disabled.value || t.disabled), p = f(() => l.value ? "" : void 0), v = f(
|
|
65
|
+
() => n.value ? "open" : "closed"
|
|
66
|
+
/* Closed */
|
|
67
|
+
);
|
|
68
|
+
o({ open: n, dataDisabled: p });
|
|
69
|
+
const { currentRef: _, currentElement: h } = y();
|
|
70
|
+
X({
|
|
71
|
+
open: n,
|
|
72
|
+
dataState: v,
|
|
73
|
+
disabled: l,
|
|
74
|
+
dataDisabled: p,
|
|
75
|
+
triggerId: "",
|
|
76
|
+
currentRef: _,
|
|
77
|
+
currentElement: h,
|
|
78
|
+
value: f(() => t.value)
|
|
79
|
+
});
|
|
80
|
+
function B(m) {
|
|
81
|
+
var I;
|
|
82
|
+
const b = m.target;
|
|
83
|
+
if (Array.from(((I = e.parentElement.value) == null ? void 0 : I.querySelectorAll("[data-reka-collection-item]")) ?? []).findIndex((P) => P === b) === -1)
|
|
84
|
+
return null;
|
|
85
|
+
J(
|
|
86
|
+
m,
|
|
87
|
+
h.value,
|
|
88
|
+
e.parentElement.value,
|
|
89
|
+
{
|
|
90
|
+
arrowKeyOptions: e.orientation,
|
|
91
|
+
dir: e.direction.value,
|
|
92
|
+
focus: !0
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
return (m, b) => (u(), c(a(N), {
|
|
97
|
+
"data-orientation": a(e).orientation,
|
|
98
|
+
"data-disabled": p.value,
|
|
99
|
+
"data-state": v.value,
|
|
100
|
+
disabled: l.value,
|
|
101
|
+
open: n.value,
|
|
102
|
+
as: t.as,
|
|
103
|
+
"as-child": t.asChild,
|
|
104
|
+
"unmount-on-hide": a(e).unmountOnHide.value,
|
|
105
|
+
onKeydown: E(B, ["up", "down", "left", "right", "home", "end"])
|
|
106
|
+
}, {
|
|
107
|
+
default: r(() => [
|
|
108
|
+
i(m.$slots, "default", { open: n.value })
|
|
109
|
+
]),
|
|
110
|
+
_: 3
|
|
111
|
+
}, 8, ["data-orientation", "data-disabled", "data-state", "disabled", "open", "as", "as-child", "unmount-on-hide"]));
|
|
112
|
+
}
|
|
113
|
+
}), Z = /* @__PURE__ */ d({
|
|
114
|
+
__name: "AccordionContent",
|
|
115
|
+
props: {
|
|
116
|
+
forceMount: { type: Boolean },
|
|
117
|
+
asChild: { type: Boolean },
|
|
118
|
+
as: {}
|
|
119
|
+
},
|
|
120
|
+
setup(s) {
|
|
121
|
+
const o = s, t = C(), e = x();
|
|
122
|
+
return y(), (n, l) => (u(), c(a(z), {
|
|
123
|
+
role: "region",
|
|
124
|
+
"as-child": o.asChild,
|
|
125
|
+
as: n.as,
|
|
126
|
+
"force-mount": o.forceMount,
|
|
127
|
+
"aria-labelledby": a(e).triggerId,
|
|
128
|
+
"data-state": a(e).dataState.value,
|
|
129
|
+
"data-disabled": a(e).dataDisabled.value,
|
|
130
|
+
"data-orientation": a(t).orientation,
|
|
131
|
+
style: { "--reka-accordion-content-width": "var(--reka-collapsible-content-width)", "--reka-accordion-content-height": "var(--reka-collapsible-content-height)" },
|
|
132
|
+
onContentFound: l[0] || (l[0] = (p) => a(t).changeModelValue(a(e).value.value))
|
|
133
|
+
}, {
|
|
134
|
+
default: r(() => [
|
|
135
|
+
i(n.$slots, "default")
|
|
136
|
+
]),
|
|
137
|
+
_: 3
|
|
138
|
+
}, 8, ["as-child", "as", "force-mount", "aria-labelledby", "data-state", "data-disabled", "data-orientation"]));
|
|
139
|
+
}
|
|
140
|
+
}), ee = /* @__PURE__ */ d({
|
|
141
|
+
__name: "AccordionHeader",
|
|
142
|
+
props: {
|
|
143
|
+
asChild: { type: Boolean },
|
|
144
|
+
as: { default: "h3" }
|
|
145
|
+
},
|
|
146
|
+
setup(s) {
|
|
147
|
+
const o = s, t = C(), e = x();
|
|
148
|
+
return y(), (n, l) => (u(), c(a(S), {
|
|
149
|
+
as: o.as,
|
|
150
|
+
"as-child": o.asChild,
|
|
151
|
+
"data-orientation": a(t).orientation,
|
|
152
|
+
"data-state": a(e).dataState.value,
|
|
153
|
+
"data-disabled": a(e).dataDisabled.value
|
|
154
|
+
}, {
|
|
155
|
+
default: r(() => [
|
|
156
|
+
i(n.$slots, "default")
|
|
157
|
+
]),
|
|
158
|
+
_: 3
|
|
159
|
+
}, 8, ["as", "as-child", "data-orientation", "data-state", "data-disabled"]));
|
|
160
|
+
}
|
|
161
|
+
}), ae = /* @__PURE__ */ d({
|
|
162
|
+
__name: "AccordionTrigger",
|
|
163
|
+
props: {
|
|
164
|
+
asChild: { type: Boolean },
|
|
165
|
+
as: {}
|
|
166
|
+
},
|
|
167
|
+
setup(s) {
|
|
168
|
+
const o = s, t = C(), e = x();
|
|
169
|
+
e.triggerId || (e.triggerId = L(void 0, "reka-accordion-trigger"));
|
|
170
|
+
function n() {
|
|
171
|
+
const l = t.isSingle.value && e.open.value && !t.collapsible;
|
|
172
|
+
e.disabled.value || l || t.changeModelValue(e.value.value);
|
|
173
|
+
}
|
|
174
|
+
return (l, p) => (u(), c(a(T), {
|
|
175
|
+
id: a(e).triggerId,
|
|
176
|
+
ref: a(e).currentRef,
|
|
177
|
+
"data-reka-collection-item": "",
|
|
178
|
+
as: o.as,
|
|
179
|
+
"as-child": o.asChild,
|
|
180
|
+
"aria-disabled": a(e).disabled.value || void 0,
|
|
181
|
+
"aria-expanded": a(e).open.value || !1,
|
|
182
|
+
"data-disabled": a(e).dataDisabled.value,
|
|
183
|
+
"data-orientation": a(t).orientation,
|
|
184
|
+
"data-state": a(e).dataState.value,
|
|
185
|
+
disabled: a(e).disabled.value,
|
|
186
|
+
onClick: n
|
|
187
|
+
}, {
|
|
188
|
+
default: r(() => [
|
|
189
|
+
i(l.$slots, "default")
|
|
190
|
+
]),
|
|
191
|
+
_: 3
|
|
192
|
+
}, 8, ["id", "as", "as-child", "aria-disabled", "aria-expanded", "data-disabled", "data-orientation", "data-state", "disabled"]));
|
|
193
|
+
}
|
|
194
|
+
}), ve = /* @__PURE__ */ d({
|
|
195
|
+
__name: "Accordion",
|
|
196
|
+
props: {
|
|
197
|
+
collapsible: { type: Boolean },
|
|
198
|
+
disabled: { type: Boolean },
|
|
199
|
+
dir: {},
|
|
200
|
+
orientation: {},
|
|
201
|
+
unmountOnHide: { type: Boolean },
|
|
202
|
+
asChild: { type: Boolean },
|
|
203
|
+
as: { type: [String, Object, Function] },
|
|
204
|
+
type: {},
|
|
205
|
+
modelValue: {},
|
|
206
|
+
defaultValue: {}
|
|
207
|
+
},
|
|
208
|
+
emits: ["update:modelValue"],
|
|
209
|
+
setup(s, { emit: o }) {
|
|
210
|
+
const n = M(s, o);
|
|
211
|
+
return (l, p) => (u(), c(a(W), F(j(a(n))), {
|
|
212
|
+
default: r(() => [
|
|
213
|
+
i(l.$slots, "default")
|
|
214
|
+
]),
|
|
215
|
+
_: 3
|
|
216
|
+
}, 16));
|
|
217
|
+
}
|
|
218
|
+
}), _e = /* @__PURE__ */ d({
|
|
219
|
+
__name: "AccordionContent",
|
|
220
|
+
props: {
|
|
221
|
+
forceMount: { type: Boolean },
|
|
222
|
+
asChild: { type: Boolean },
|
|
223
|
+
as: { type: [String, Object, Function] },
|
|
224
|
+
class: {}
|
|
225
|
+
},
|
|
226
|
+
setup(s) {
|
|
227
|
+
const o = s, t = w(o, "class");
|
|
228
|
+
return (e, n) => (u(), c(a(Z), $(a(t), { class: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
229
|
+
default: r(() => [
|
|
230
|
+
D("div", {
|
|
231
|
+
class: H(a(A)("pb-4 pt-0", o.class))
|
|
232
|
+
}, [
|
|
233
|
+
i(e.$slots, "default")
|
|
234
|
+
], 2)
|
|
235
|
+
]),
|
|
236
|
+
_: 3
|
|
237
|
+
}, 16));
|
|
238
|
+
}
|
|
239
|
+
}), he = /* @__PURE__ */ d({
|
|
240
|
+
__name: "AccordionItem",
|
|
241
|
+
props: {
|
|
242
|
+
disabled: { type: Boolean },
|
|
243
|
+
value: {},
|
|
244
|
+
unmountOnHide: { type: Boolean },
|
|
245
|
+
asChild: { type: Boolean },
|
|
246
|
+
as: { type: [String, Object, Function] },
|
|
247
|
+
class: {}
|
|
248
|
+
},
|
|
249
|
+
setup(s) {
|
|
250
|
+
const o = s, t = w(o, "class"), e = K(t);
|
|
251
|
+
return (n, l) => (u(), c(a(Y), $(a(e), {
|
|
252
|
+
class: a(A)("border-b", o.class)
|
|
253
|
+
}), {
|
|
254
|
+
default: r(() => [
|
|
255
|
+
i(n.$slots, "default")
|
|
256
|
+
]),
|
|
257
|
+
_: 3
|
|
258
|
+
}, 16, ["class"]));
|
|
259
|
+
}
|
|
260
|
+
}), be = /* @__PURE__ */ d({
|
|
261
|
+
__name: "AccordionTrigger",
|
|
262
|
+
props: {
|
|
263
|
+
asChild: { type: Boolean },
|
|
264
|
+
as: { type: [String, Object, Function] },
|
|
265
|
+
class: {}
|
|
266
|
+
},
|
|
267
|
+
setup(s) {
|
|
268
|
+
const o = s, t = w(o, "class");
|
|
269
|
+
return (e, n) => (u(), c(a(ee), { class: "flex" }, {
|
|
270
|
+
default: r(() => [
|
|
271
|
+
V(a(ae), $(a(t), {
|
|
272
|
+
class: a(A)(
|
|
273
|
+
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
274
|
+
o.class
|
|
275
|
+
)
|
|
276
|
+
}), {
|
|
277
|
+
default: r(() => [
|
|
278
|
+
i(e.$slots, "default"),
|
|
279
|
+
i(e.$slots, "icon", {}, () => [
|
|
280
|
+
V(a(Q), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
281
|
+
])
|
|
282
|
+
]),
|
|
283
|
+
_: 3
|
|
284
|
+
}, 16, ["class"])
|
|
285
|
+
]),
|
|
286
|
+
_: 3
|
|
287
|
+
}));
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
export {
|
|
291
|
+
ve as _,
|
|
292
|
+
_e as a,
|
|
293
|
+
he as b,
|
|
294
|
+
be as c
|
|
295
|
+
};
|