cisse-vue-ui 0.7.5 → 0.7.7
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/{CheckboxGroup.vue_vue_type_script_setup_true_lang-BcoXb8Xg.cjs → CheckboxGroup.vue_vue_type_script_setup_true_lang-DJbuHoDj.cjs} +178 -147
- package/dist/{CheckboxGroup.vue_vue_type_script_setup_true_lang-BcoXb8Xg.cjs.map → CheckboxGroup.vue_vue_type_script_setup_true_lang-DJbuHoDj.cjs.map} +1 -1
- package/dist/{CheckboxGroup.vue_vue_type_script_setup_true_lang-BOGul8zU.js → CheckboxGroup.vue_vue_type_script_setup_true_lang-hHJdvUYS.js} +178 -147
- package/dist/{CheckboxGroup.vue_vue_type_script_setup_true_lang-BOGul8zU.js.map → CheckboxGroup.vue_vue_type_script_setup_true_lang-hHJdvUYS.js.map} +1 -1
- package/dist/{FilterTabs.vue_vue_type_script_setup_true_lang-HwjuvIJX.cjs → FilterTabs.vue_vue_type_script_setup_true_lang-Bj3I5Sn7.cjs} +63 -3
- package/dist/FilterTabs.vue_vue_type_script_setup_true_lang-Bj3I5Sn7.cjs.map +1 -0
- package/dist/{FilterTabs.vue_vue_type_script_setup_true_lang-C5vnz3qo.js → FilterTabs.vue_vue_type_script_setup_true_lang-DzLwUVCW.js} +63 -3
- package/dist/FilterTabs.vue_vue_type_script_setup_true_lang-DzLwUVCW.js.map +1 -0
- package/dist/components/core/Avatar.stories.d.ts +4 -0
- package/dist/components/core/Avatar.vue.d.ts +6 -0
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.js +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +2 -2
- package/dist/{index-DXO2TliH.cjs → index-CtUcdTUz.cjs} +3 -3
- package/dist/{index-DXO2TliH.cjs.map → index-CtUcdTUz.cjs.map} +1 -1
- package/dist/{index-DpEkzIVv.js → index-DvkgM40a.js} +3 -3
- package/dist/index-DvkgM40a.js.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FilterTabs.vue_vue_type_script_setup_true_lang-C5vnz3qo.js.map +0 -1
- package/dist/FilterTabs.vue_vue_type_script_setup_true_lang-HwjuvIJX.cjs.map +0 -1
- package/dist/index-DpEkzIVv.js.map +0 -1
|
@@ -5,7 +5,7 @@ import { u as useDropdown } from "./useDropdown-iVu14E6s.js";
|
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
import { o as onClickOutside, a as useDebounceFn, _ as _sfc_main$v } from "./index-SNefWfX0.js";
|
|
7
7
|
import { _ as _sfc_main$u } from "./Button.vue_vue_type_script_setup_true_lang-CBYr0Z2_.js";
|
|
8
|
-
const _hoisted_1$
|
|
8
|
+
const _hoisted_1$t = ["data-error", "for"];
|
|
9
9
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "FormLabel",
|
|
11
11
|
props: {
|
|
@@ -20,11 +20,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
class: "block text-sm font-medium text-gray-700 data-[error=true]:text-red-500 dark:text-gray-300"
|
|
21
21
|
}, [
|
|
22
22
|
renderSlot(_ctx.$slots, "default")
|
|
23
|
-
], 8, _hoisted_1$
|
|
23
|
+
], 8, _hoisted_1$t);
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
const _hoisted_1$
|
|
27
|
+
const _hoisted_1$s = ["id", "data-error", "role", "aria-live"];
|
|
28
28
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
29
29
|
__name: "FormHelp",
|
|
30
30
|
props: {
|
|
@@ -44,11 +44,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
45
45
|
createTextVNode(toDisplayString(__props.text ?? ""), 1)
|
|
46
46
|
])
|
|
47
|
-
], 8, _hoisted_1$
|
|
47
|
+
], 8, _hoisted_1$s);
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
const _hoisted_1$
|
|
51
|
+
const _hoisted_1$r = {
|
|
52
52
|
key: 0,
|
|
53
53
|
class: "absolute left-3 top-1/2 -translate-y-1/2 pointer-events-none text-gray-400"
|
|
54
54
|
};
|
|
@@ -96,7 +96,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
return openBlock(), createElementBlock("div", {
|
|
97
97
|
class: normalizeClass(["relative", __props.wrapperClass])
|
|
98
98
|
}, [
|
|
99
|
-
hasLeftIcon.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
99
|
+
hasLeftIcon.value ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
100
100
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
101
101
|
__props.icon ? (openBlock(), createBlock(unref(Icon), {
|
|
102
102
|
key: 0,
|
|
@@ -119,7 +119,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
|
-
const _hoisted_1$
|
|
122
|
+
const _hoisted_1$q = ["id", "disabled", "name", "placeholder", "type", "required", "aria-invalid", "aria-required", "aria-describedby"];
|
|
123
123
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
124
124
|
...{
|
|
125
125
|
inheritAttrs: false
|
|
@@ -165,7 +165,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
165
165
|
"aria-required": props.required || void 0,
|
|
166
166
|
"aria-describedby": props.describedBy || void 0,
|
|
167
167
|
class: inputClass
|
|
168
|
-
}, _ctx.$attrs), null, 16, _hoisted_1$
|
|
168
|
+
}, _ctx.$attrs), null, 16, _hoisted_1$q), [
|
|
169
169
|
[vModelDynamic, modelValue.value]
|
|
170
170
|
])
|
|
171
171
|
]),
|
|
@@ -174,11 +174,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
|
-
const _hoisted_1$
|
|
177
|
+
const _hoisted_1$p = { class: "relative" };
|
|
178
178
|
const _hoisted_2$h = ["id", "disabled", "aria-expanded", "aria-controls", "aria-invalid", "aria-describedby"];
|
|
179
179
|
const _hoisted_3$g = { class: "flex-1 truncate" };
|
|
180
180
|
const _hoisted_4$c = ["id", "aria-label"];
|
|
181
|
-
const _hoisted_5$
|
|
181
|
+
const _hoisted_5$9 = {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: "sticky top-0 border-b border-gray-200 bg-white p-2 dark:border-gray-700 dark:bg-gray-800"
|
|
184
184
|
};
|
|
@@ -316,7 +316,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
316
316
|
return [base, state, text, props.triggerClass];
|
|
317
317
|
});
|
|
318
318
|
return (_ctx, _cache) => {
|
|
319
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
319
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
320
320
|
createElementVNode("button", {
|
|
321
321
|
id: triggerId.value,
|
|
322
322
|
ref_key: "triggerRef",
|
|
@@ -370,7 +370,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
370
370
|
!__props.teleport && "absolute mt-1 w-full"
|
|
371
371
|
])
|
|
372
372
|
}, [
|
|
373
|
-
__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
373
|
+
__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
|
|
374
374
|
createElementVNode("div", _hoisted_6$8, [
|
|
375
375
|
createVNode(unref(Icon), {
|
|
376
376
|
icon: "lucide:search",
|
|
@@ -434,7 +434,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
|
-
const _hoisted_1$
|
|
437
|
+
const _hoisted_1$o = ["hidden"];
|
|
438
438
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
439
439
|
__name: "FormGroup",
|
|
440
440
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -517,11 +517,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
517
517
|
_: 1
|
|
518
518
|
}, 8, ["id"])) : createCommentVNode("", true)
|
|
519
519
|
])
|
|
520
|
-
], 12, _hoisted_1$
|
|
520
|
+
], 12, _hoisted_1$o);
|
|
521
521
|
};
|
|
522
522
|
}
|
|
523
523
|
});
|
|
524
|
-
const _hoisted_1$
|
|
524
|
+
const _hoisted_1$n = ["name", "placeholder", "disabled"];
|
|
525
525
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
526
526
|
...{
|
|
527
527
|
inheritAttrs: false
|
|
@@ -555,7 +555,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
555
555
|
placeholder: props.placeholder,
|
|
556
556
|
disabled: props.disabled,
|
|
557
557
|
class: inputClass
|
|
558
|
-
}, _ctx.$attrs), null, 16, _hoisted_1$
|
|
558
|
+
}, _ctx.$attrs), null, 16, _hoisted_1$n), [
|
|
559
559
|
[vModelText, modelValue.value]
|
|
560
560
|
])
|
|
561
561
|
]),
|
|
@@ -564,7 +564,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
|
-
const _hoisted_1$
|
|
567
|
+
const _hoisted_1$m = ["id", "aria-checked", "aria-labelledby", "aria-describedby", "disabled"];
|
|
568
568
|
const _hoisted_2$g = {
|
|
569
569
|
key: 0,
|
|
570
570
|
class: "flex flex-col"
|
|
@@ -635,7 +635,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
635
635
|
]),
|
|
636
636
|
"aria-hidden": "true"
|
|
637
637
|
}, null, 2)
|
|
638
|
-
], 10, _hoisted_1$
|
|
638
|
+
], 10, _hoisted_1$m),
|
|
639
639
|
__props.label || __props.description ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
640
640
|
__props.label ? (openBlock(), createElementBlock("span", {
|
|
641
641
|
key: 0,
|
|
@@ -652,14 +652,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
|
-
const _hoisted_1$
|
|
655
|
+
const _hoisted_1$l = { class: "w-full" };
|
|
656
656
|
const _hoisted_2$f = {
|
|
657
657
|
key: 0,
|
|
658
658
|
class: "mb-2 flex justify-between text-sm"
|
|
659
659
|
};
|
|
660
660
|
const _hoisted_3$e = { class: "text-gray-600 dark:text-gray-400" };
|
|
661
661
|
const _hoisted_4$a = { class: "font-medium text-gray-900 dark:text-white" };
|
|
662
|
-
const _hoisted_5$
|
|
662
|
+
const _hoisted_5$8 = { class: "text-gray-600 dark:text-gray-400" };
|
|
663
663
|
const _hoisted_6$7 = { class: "relative" };
|
|
664
664
|
const _hoisted_7$6 = ["value", "min", "max", "step", "disabled"];
|
|
665
665
|
const _hoisted_8$5 = { class: "pointer-events-none absolute inset-y-0 left-0 flex items-center" };
|
|
@@ -694,11 +694,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
694
694
|
modelValue.value = Number(target.value);
|
|
695
695
|
};
|
|
696
696
|
return (_ctx, _cache) => {
|
|
697
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
697
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
698
698
|
__props.showValue ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
699
699
|
createElementVNode("span", _hoisted_3$e, toDisplayString(__props.min), 1),
|
|
700
700
|
createElementVNode("span", _hoisted_4$a, toDisplayString(displayValue.value), 1),
|
|
701
|
-
createElementVNode("span", _hoisted_5$
|
|
701
|
+
createElementVNode("span", _hoisted_5$8, toDisplayString(__props.max), 1)
|
|
702
702
|
])) : createCommentVNode("", true),
|
|
703
703
|
createElementVNode("div", _hoisted_6$7, [
|
|
704
704
|
createElementVNode("input", {
|
|
@@ -723,11 +723,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c25e2c2a"]]);
|
|
726
|
-
const _hoisted_1$
|
|
726
|
+
const _hoisted_1$k = { class: "relative" };
|
|
727
727
|
const _hoisted_2$e = ["id", "disabled", "aria-expanded", "aria-controls"];
|
|
728
728
|
const _hoisted_3$d = { class: "flex-1 truncate" };
|
|
729
729
|
const _hoisted_4$9 = { class: "flex items-center gap-1" };
|
|
730
|
-
const _hoisted_5$
|
|
730
|
+
const _hoisted_5$7 = ["id", "aria-label"];
|
|
731
731
|
const _hoisted_6$6 = { class: "mb-4 flex items-center justify-between" };
|
|
732
732
|
const _hoisted_7$5 = {
|
|
733
733
|
class: "font-medium text-gray-900 dark:text-white",
|
|
@@ -866,7 +866,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
866
866
|
return formatter.format(date);
|
|
867
867
|
};
|
|
868
868
|
return (_ctx, _cache) => {
|
|
869
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
869
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
870
870
|
createElementVNode("button", {
|
|
871
871
|
id: triggerId.value,
|
|
872
872
|
ref_key: "triggerRef",
|
|
@@ -1001,7 +1001,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1001
1001
|
onClick: _cache[1] || (_cache[1] = ($event) => selectDate({ date: /* @__PURE__ */ new Date(), isDisabled: false }))
|
|
1002
1002
|
}, " Today ")
|
|
1003
1003
|
])
|
|
1004
|
-
], 12, _hoisted_5$
|
|
1004
|
+
], 12, _hoisted_5$7)) : createCommentVNode("", true)
|
|
1005
1005
|
]),
|
|
1006
1006
|
_: 1
|
|
1007
1007
|
})
|
|
@@ -1010,11 +1010,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1010
1010
|
};
|
|
1011
1011
|
}
|
|
1012
1012
|
});
|
|
1013
|
-
const _hoisted_1$
|
|
1013
|
+
const _hoisted_1$j = { class: "space-y-4" };
|
|
1014
1014
|
const _hoisted_2$d = ["accept", "multiple", "disabled"];
|
|
1015
1015
|
const _hoisted_3$c = { class: "space-y-2" };
|
|
1016
1016
|
const _hoisted_4$8 = { class: "text-sm font-medium text-gray-700 dark:text-gray-300" };
|
|
1017
|
-
const _hoisted_5$
|
|
1017
|
+
const _hoisted_5$6 = {
|
|
1018
1018
|
key: 0,
|
|
1019
1019
|
class: "text-xs text-gray-500 dark:text-gray-400"
|
|
1020
1020
|
};
|
|
@@ -1158,7 +1158,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1158
1158
|
return "heroicons:document";
|
|
1159
1159
|
};
|
|
1160
1160
|
return (_ctx, _cache) => {
|
|
1161
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1161
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
1162
1162
|
createElementVNode("div", {
|
|
1163
1163
|
class: normalizeClass(dropzoneClasses.value),
|
|
1164
1164
|
onDrop: withModifiers(handleDrop, ["prevent"]),
|
|
@@ -1182,7 +1182,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1182
1182
|
class: normalizeClass(["size-12 mx-auto text-gray-400", { "text-primary-500": isDragging.value }])
|
|
1183
1183
|
}, null, 8, ["class"]),
|
|
1184
1184
|
createElementVNode("p", _hoisted_4$8, toDisplayString(__props.label), 1),
|
|
1185
|
-
__props.description ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
1185
|
+
__props.description ? (openBlock(), createElementBlock("p", _hoisted_5$6, toDisplayString(__props.description), 1)) : createCommentVNode("", true),
|
|
1186
1186
|
__props.maxSize ? (openBlock(), createElementBlock("p", _hoisted_6$5, " Max size: " + toDisplayString(formatSize(__props.maxSize)), 1)) : createCommentVNode("", true)
|
|
1187
1187
|
])
|
|
1188
1188
|
], 34),
|
|
@@ -1217,7 +1217,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1217
1217
|
};
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
|
-
const _hoisted_1$
|
|
1220
|
+
const _hoisted_1$i = { class: "flex items-center gap-1" };
|
|
1221
1221
|
const _hoisted_2$c = ["disabled", "onClick", "onMousemove"];
|
|
1222
1222
|
const _hoisted_3$b = {
|
|
1223
1223
|
key: 0,
|
|
@@ -1286,7 +1286,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1286
1286
|
hoverValue.value = null;
|
|
1287
1287
|
};
|
|
1288
1288
|
return (_ctx, _cache) => {
|
|
1289
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1289
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
1290
1290
|
createElementVNode("div", {
|
|
1291
1291
|
class: "flex items-center",
|
|
1292
1292
|
onMouseleave: handleMouseLeave
|
|
@@ -1326,14 +1326,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
1328
|
});
|
|
1329
|
-
const _hoisted_1$
|
|
1329
|
+
const _hoisted_1$h = { class: "relative inline-block" };
|
|
1330
1330
|
const _hoisted_2$b = {
|
|
1331
1331
|
key: 0,
|
|
1332
1332
|
class: "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"
|
|
1333
1333
|
};
|
|
1334
1334
|
const _hoisted_3$a = ["disabled"];
|
|
1335
1335
|
const _hoisted_4$7 = { class: "text-sm font-mono text-gray-700 dark:text-gray-300" };
|
|
1336
|
-
const _hoisted_5$
|
|
1336
|
+
const _hoisted_5$5 = { class: "grid grid-cols-5 gap-2 mb-3" };
|
|
1337
1337
|
const _hoisted_6$4 = ["title", "onClick"];
|
|
1338
1338
|
const _hoisted_7$3 = {
|
|
1339
1339
|
key: 0,
|
|
@@ -1409,7 +1409,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1409
1409
|
isOpen.value = false;
|
|
1410
1410
|
};
|
|
1411
1411
|
return (_ctx, _cache) => {
|
|
1412
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1412
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
1413
1413
|
__props.label ? (openBlock(), createElementBlock("label", _hoisted_2$b, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
1414
1414
|
createElementVNode("button", {
|
|
1415
1415
|
type: "button",
|
|
@@ -1446,7 +1446,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1446
1446
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
1447
1447
|
}, ["stop"]))
|
|
1448
1448
|
}, [
|
|
1449
|
-
createElementVNode("div", _hoisted_5$
|
|
1449
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
1450
1450
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.swatches, (color) => {
|
|
1451
1451
|
return openBlock(), createElementBlock("button", {
|
|
1452
1452
|
key: color,
|
|
@@ -1500,7 +1500,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1500
1500
|
};
|
|
1501
1501
|
}
|
|
1502
1502
|
});
|
|
1503
|
-
const _hoisted_1$
|
|
1503
|
+
const _hoisted_1$g = { class: "space-y-2" };
|
|
1504
1504
|
const _hoisted_2$a = {
|
|
1505
1505
|
key: 0,
|
|
1506
1506
|
class: "flex justify-between text-sm font-medium text-gray-700 dark:text-gray-300"
|
|
@@ -1587,7 +1587,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
1589
|
return (_ctx, _cache) => {
|
|
1590
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1590
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
1591
1591
|
__props.showLabels ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
1592
1592
|
createElementVNode("span", null, toDisplayString(__props.formatLabel(minValue.value)), 1),
|
|
1593
1593
|
createElementVNode("span", null, toDisplayString(__props.formatLabel(maxValue.value)), 1)
|
|
@@ -1629,11 +1629,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1629
1629
|
};
|
|
1630
1630
|
}
|
|
1631
1631
|
});
|
|
1632
|
-
const _hoisted_1$
|
|
1632
|
+
const _hoisted_1$f = ["aria-expanded", "aria-controls"];
|
|
1633
1633
|
const _hoisted_2$9 = ["id", "name", "placeholder", "disabled", "aria-controls"];
|
|
1634
1634
|
const _hoisted_3$8 = { class: "flex items-center gap-1" };
|
|
1635
1635
|
const _hoisted_4$6 = ["id", "aria-label", "aria-multiselectable"];
|
|
1636
|
-
const _hoisted_5$
|
|
1636
|
+
const _hoisted_5$4 = ["aria-selected", "aria-disabled", "disabled", "onClick"];
|
|
1637
1637
|
const _hoisted_6$3 = { class: "flex-1" };
|
|
1638
1638
|
const _hoisted_7$2 = {
|
|
1639
1639
|
key: 1,
|
|
@@ -1797,7 +1797,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1797
1797
|
"aria-hidden": "true"
|
|
1798
1798
|
}, null, 8, ["class"])
|
|
1799
1799
|
])
|
|
1800
|
-
], 10, _hoisted_1$
|
|
1800
|
+
], 10, _hoisted_1$f),
|
|
1801
1801
|
(openBlock(), createBlock(Teleport, {
|
|
1802
1802
|
to: teleportTarget.value,
|
|
1803
1803
|
disabled: teleportDisabled.value
|
|
@@ -1854,7 +1854,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1854
1854
|
class: "size-4 text-primary",
|
|
1855
1855
|
"aria-hidden": "true"
|
|
1856
1856
|
})) : createCommentVNode("", true)
|
|
1857
|
-
], 10, _hoisted_5$
|
|
1857
|
+
], 10, _hoisted_5$4);
|
|
1858
1858
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(__props.noResultsText), 1))
|
|
1859
1859
|
], 8, _hoisted_4$6)) : createCommentVNode("", true)
|
|
1860
1860
|
]),
|
|
@@ -1865,7 +1865,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
1867
1867
|
});
|
|
1868
|
-
const _hoisted_1$
|
|
1868
|
+
const _hoisted_1$e = { class: "relative" };
|
|
1869
1869
|
const _hoisted_2$8 = {
|
|
1870
1870
|
key: 0,
|
|
1871
1871
|
class: "text-red-500 ml-0.5"
|
|
@@ -1875,7 +1875,7 @@ const _hoisted_4$5 = {
|
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "flex items-center gap-2 flex-1"
|
|
1877
1877
|
};
|
|
1878
|
-
const _hoisted_5$
|
|
1878
|
+
const _hoisted_5$3 = { class: "flex size-8 items-center justify-center rounded bg-gray-100 dark:bg-gray-800" };
|
|
1879
1879
|
const _hoisted_6$2 = { class: "text-gray-700 dark:text-gray-300 font-mono text-xs truncate" };
|
|
1880
1880
|
const _hoisted_7$1 = {
|
|
1881
1881
|
key: 1,
|
|
@@ -2023,7 +2023,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2023
2023
|
searchQuery.value = "";
|
|
2024
2024
|
}
|
|
2025
2025
|
return (_ctx, _cache) => {
|
|
2026
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2026
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
2027
2027
|
__props.label ? (openBlock(), createBlock(_sfc_main$t, {
|
|
2028
2028
|
key: 0,
|
|
2029
2029
|
"html-for": inputId.value,
|
|
@@ -2048,7 +2048,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2048
2048
|
onClick: openPicker
|
|
2049
2049
|
}, [
|
|
2050
2050
|
modelValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
2051
|
-
createElementVNode("div", _hoisted_5$
|
|
2051
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
2052
2052
|
createVNode(unref(Icon), {
|
|
2053
2053
|
icon: modelValue.value,
|
|
2054
2054
|
class: "size-5 text-gray-700 dark:text-gray-300"
|
|
@@ -2158,14 +2158,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2158
2158
|
};
|
|
2159
2159
|
}
|
|
2160
2160
|
});
|
|
2161
|
-
const _hoisted_1$
|
|
2161
|
+
const _hoisted_1$d = { class: "flex items-center justify-between" };
|
|
2162
2162
|
const _hoisted_2$7 = { class: "flex items-center gap-3" };
|
|
2163
2163
|
const _hoisted_3$6 = { class: "text-lg font-semibold text-gray-900 dark:text-white" };
|
|
2164
2164
|
const _hoisted_4$4 = {
|
|
2165
2165
|
key: 0,
|
|
2166
2166
|
class: "text-sm text-gray-500 dark:text-gray-400"
|
|
2167
2167
|
};
|
|
2168
|
-
const _hoisted_5$
|
|
2168
|
+
const _hoisted_5$2 = { class: "p-5 sm:p-6" };
|
|
2169
2169
|
const _hoisted_6$1 = {
|
|
2170
2170
|
key: 0,
|
|
2171
2171
|
class: "px-5 py-4 bg-gray-50 dark:bg-slate-800/50 border-t border-gray-100 dark:border-slate-700"
|
|
@@ -2204,7 +2204,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2204
2204
|
]),
|
|
2205
2205
|
onClick: _cache[0] || (_cache[0] = ($event) => __props.collapsible && toggleCollapse())
|
|
2206
2206
|
}, [
|
|
2207
|
-
createElementVNode("div", _hoisted_1$
|
|
2207
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
2208
2208
|
createElementVNode("div", _hoisted_2$7, [
|
|
2209
2209
|
__props.icon ? (openBlock(), createElementBlock("div", {
|
|
2210
2210
|
key: 0,
|
|
@@ -2259,7 +2259,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2259
2259
|
renderSlot(_ctx.$slots, "header-actions")
|
|
2260
2260
|
])
|
|
2261
2261
|
], 2),
|
|
2262
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
2262
|
+
withDirectives(createElementVNode("div", _hoisted_5$2, [
|
|
2263
2263
|
renderSlot(_ctx.$slots, "default")
|
|
2264
2264
|
], 512), [
|
|
2265
2265
|
[vShow, !isCollapsed.value]
|
|
@@ -2273,7 +2273,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2273
2273
|
};
|
|
2274
2274
|
}
|
|
2275
2275
|
});
|
|
2276
|
-
const _hoisted_1$
|
|
2276
|
+
const _hoisted_1$c = { key: 1 };
|
|
2277
2277
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2278
2278
|
__name: "FormActions",
|
|
2279
2279
|
props: {
|
|
@@ -2341,7 +2341,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2341
2341
|
class: "w-5 h-5"
|
|
2342
2342
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
2343
2343
|
createTextVNode(" " + toDisplayString(__props.submitLabel), 1)
|
|
2344
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2344
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_1$c, toDisplayString(__props.loadingLabel || __props.submitLabel + "..."), 1))
|
|
2345
2345
|
]),
|
|
2346
2346
|
_: 1
|
|
2347
2347
|
}, 8, ["variant", "disabled", "loading", "class"]),
|
|
@@ -2350,7 +2350,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2350
2350
|
};
|
|
2351
2351
|
}
|
|
2352
2352
|
});
|
|
2353
|
-
const _hoisted_1$
|
|
2353
|
+
const _hoisted_1$b = ["id", "name", "placeholder", "disabled", "required", "aria-invalid", "aria-required", "aria-describedby"];
|
|
2354
2354
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2355
2355
|
...{
|
|
2356
2356
|
inheritAttrs: false
|
|
@@ -2405,7 +2405,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2405
2405
|
"aria-required": __props.required || void 0,
|
|
2406
2406
|
"aria-describedby": __props.describedBy,
|
|
2407
2407
|
class: inputClass
|
|
2408
|
-
}, _ctx.$attrs, { onBlur: handleBlur }), null, 16, _hoisted_1$
|
|
2408
|
+
}, _ctx.$attrs, { onBlur: handleBlur }), null, 16, _hoisted_1$b), [
|
|
2409
2409
|
[vModelText, modelValue.value]
|
|
2410
2410
|
])
|
|
2411
2411
|
]),
|
|
@@ -2425,7 +2425,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2425
2425
|
};
|
|
2426
2426
|
}
|
|
2427
2427
|
});
|
|
2428
|
-
const _hoisted_1$
|
|
2428
|
+
const _hoisted_1$a = ["id", "type", "name", "placeholder", "disabled", "required", "aria-required", "aria-describedby"];
|
|
2429
2429
|
const _hoisted_2$6 = ["disabled"];
|
|
2430
2430
|
const _hoisted_3$5 = {
|
|
2431
2431
|
key: 0,
|
|
@@ -2503,7 +2503,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2503
2503
|
"aria-required": __props.required || void 0,
|
|
2504
2504
|
"aria-describedby": __props.describedBy,
|
|
2505
2505
|
class: inputClass
|
|
2506
|
-
}, _ctx.$attrs, { autocomplete: "new-password" }), null, 16, _hoisted_1$
|
|
2506
|
+
}, _ctx.$attrs, { autocomplete: "new-password" }), null, 16, _hoisted_1$a), [
|
|
2507
2507
|
[vModelDynamic, modelValue.value]
|
|
2508
2508
|
])
|
|
2509
2509
|
]),
|
|
@@ -2547,11 +2547,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2547
2547
|
};
|
|
2548
2548
|
}
|
|
2549
2549
|
});
|
|
2550
|
-
const _hoisted_1$
|
|
2550
|
+
const _hoisted_1$9 = ["disabled"];
|
|
2551
2551
|
const _hoisted_2$5 = { class: "text-lg leading-none" };
|
|
2552
2552
|
const _hoisted_3$4 = ["id", "value", "name", "placeholder", "disabled", "required", "aria-required", "aria-describedby"];
|
|
2553
2553
|
const _hoisted_4$2 = { class: "text-xs text-gray-400 font-medium" };
|
|
2554
|
-
const _hoisted_5 = {
|
|
2554
|
+
const _hoisted_5$1 = {
|
|
2555
2555
|
key: 0,
|
|
2556
2556
|
class: "absolute z-50 mt-1 w-full bg-white dark:bg-slate-800 border border-gray-200 dark:border-slate-700 rounded-xl shadow-lg overflow-hidden"
|
|
2557
2557
|
};
|
|
@@ -2752,7 +2752,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2752
2752
|
showDropdown.value && "rotate-180"
|
|
2753
2753
|
])
|
|
2754
2754
|
}, null, 8, ["class"])
|
|
2755
|
-
], 8, _hoisted_1$
|
|
2755
|
+
], 8, _hoisted_1$9)
|
|
2756
2756
|
]),
|
|
2757
2757
|
default: withCtx(({ inputClass }) => [
|
|
2758
2758
|
createElementVNode("input", mergeProps({
|
|
@@ -2785,7 +2785,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2785
2785
|
"leave-to-class": "opacity-0 -translate-y-2"
|
|
2786
2786
|
}, {
|
|
2787
2787
|
default: withCtx(() => [
|
|
2788
|
-
showDropdown.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
2788
|
+
showDropdown.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
2789
2789
|
createElementVNode("div", _hoisted_6, [
|
|
2790
2790
|
withDirectives(createElementVNode("input", {
|
|
2791
2791
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchQuery.value = $event),
|
|
@@ -2818,7 +2818,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2818
2818
|
};
|
|
2819
2819
|
}
|
|
2820
2820
|
});
|
|
2821
|
-
const _hoisted_1$
|
|
2821
|
+
const _hoisted_1$8 = ["disabled"];
|
|
2822
2822
|
const _hoisted_2$4 = ["id", "value", "name", "placeholder", "disabled", "required", "min", "max", "step", "aria-required", "aria-describedby"];
|
|
2823
2823
|
const _hoisted_3$3 = ["disabled"];
|
|
2824
2824
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
@@ -2919,7 +2919,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2919
2919
|
icon: "lucide:minus",
|
|
2920
2920
|
class: "size-4 text-gray-500"
|
|
2921
2921
|
})
|
|
2922
|
-
], 8, _hoisted_1$
|
|
2922
|
+
], 8, _hoisted_1$8)
|
|
2923
2923
|
]),
|
|
2924
2924
|
key: "0"
|
|
2925
2925
|
} : void 0,
|
|
@@ -2944,7 +2944,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2944
2944
|
};
|
|
2945
2945
|
}
|
|
2946
2946
|
});
|
|
2947
|
-
const _hoisted_1$
|
|
2947
|
+
const _hoisted_1$7 = { class: "text-sm font-medium text-gray-500 dark:text-gray-400" };
|
|
2948
2948
|
const _hoisted_2$3 = ["id", "value", "name", "placeholder", "disabled", "required", "aria-required", "aria-describedby"];
|
|
2949
2949
|
const _hoisted_3$2 = { class: "text-sm font-medium text-gray-500 dark:text-gray-400" };
|
|
2950
2950
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
@@ -3048,7 +3048,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3048
3048
|
config.value.position === "prefix" ? {
|
|
3049
3049
|
name: "icon",
|
|
3050
3050
|
fn: withCtx(() => [
|
|
3051
|
-
createElementVNode("span", _hoisted_1$
|
|
3051
|
+
createElementVNode("span", _hoisted_1$7, toDisplayString(config.value.symbol), 1)
|
|
3052
3052
|
]),
|
|
3053
3053
|
key: "0"
|
|
3054
3054
|
} : void 0,
|
|
@@ -3063,7 +3063,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3063
3063
|
};
|
|
3064
3064
|
}
|
|
3065
3065
|
});
|
|
3066
|
-
const _hoisted_1$
|
|
3066
|
+
const _hoisted_1$6 = ["id", "value", "name", "placeholder", "disabled", "required", "min", "max", "step", "aria-required", "aria-describedby"];
|
|
3067
3067
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3068
3068
|
...{
|
|
3069
3069
|
inheritAttrs: false
|
|
@@ -3129,7 +3129,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3129
3129
|
"aria-required": __props.required || void 0,
|
|
3130
3130
|
"aria-describedby": __props.describedBy,
|
|
3131
3131
|
class: [inputClass, "text-right pr-10"]
|
|
3132
|
-
}, _ctx.$attrs, { onInput: handleInput }), null, 16, _hoisted_1$
|
|
3132
|
+
}, _ctx.$attrs, { onInput: handleInput }), null, 16, _hoisted_1$6)
|
|
3133
3133
|
]),
|
|
3134
3134
|
actions: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
3135
3135
|
createElementVNode("span", { class: "text-sm font-medium text-gray-500 dark:text-gray-400" }, "%", -1)
|
|
@@ -3139,7 +3139,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3139
3139
|
};
|
|
3140
3140
|
}
|
|
3141
3141
|
});
|
|
3142
|
-
const _hoisted_1$
|
|
3142
|
+
const _hoisted_1$5 = { class: "inline-flex items-center gap-2 bg-gray-50 dark:bg-slate-700 rounded-xl p-1 border border-gray-200 dark:border-slate-600" };
|
|
3143
3143
|
const _hoisted_2$2 = ["disabled"];
|
|
3144
3144
|
const _hoisted_3$1 = ["id", "value", "name", "disabled", "required", "min", "max"];
|
|
3145
3145
|
const _hoisted_4$1 = ["disabled"];
|
|
@@ -3213,7 +3213,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3213
3213
|
}[props.size]
|
|
3214
3214
|
}));
|
|
3215
3215
|
return (_ctx, _cache) => {
|
|
3216
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3216
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
3217
3217
|
createElementVNode("button", {
|
|
3218
3218
|
type: "button",
|
|
3219
3219
|
disabled: !canDecrement.value,
|
|
@@ -3269,7 +3269,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3269
3269
|
};
|
|
3270
3270
|
}
|
|
3271
3271
|
});
|
|
3272
|
-
const _hoisted_1$
|
|
3272
|
+
const _hoisted_1$4 = ["id", "name", "placeholder", "disabled", "required", "aria-invalid", "aria-required", "aria-describedby"];
|
|
3273
3273
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
3274
3274
|
...{
|
|
3275
3275
|
inheritAttrs: false
|
|
@@ -3330,7 +3330,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3330
3330
|
"aria-required": __props.required || void 0,
|
|
3331
3331
|
"aria-describedby": __props.describedBy,
|
|
3332
3332
|
class: inputClass
|
|
3333
|
-
}, _ctx.$attrs, { onBlur: handleBlur }), null, 16, _hoisted_1$
|
|
3333
|
+
}, _ctx.$attrs, { onBlur: handleBlur }), null, 16, _hoisted_1$4), [
|
|
3334
3334
|
[vModelText, modelValue.value]
|
|
3335
3335
|
])
|
|
3336
3336
|
]),
|
|
@@ -3357,7 +3357,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3357
3357
|
};
|
|
3358
3358
|
}
|
|
3359
3359
|
});
|
|
3360
|
-
const _hoisted_1$
|
|
3360
|
+
const _hoisted_1$3 = ["value", "type", "name", "disabled", "onInput", "onKeydown"];
|
|
3361
3361
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3362
3362
|
...{
|
|
3363
3363
|
inheritAttrs: false
|
|
@@ -3503,13 +3503,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3503
3503
|
onKeydown: ($event) => handleKeydown($event, index),
|
|
3504
3504
|
onPaste: handlePaste,
|
|
3505
3505
|
onFocus: handleFocus
|
|
3506
|
-
}, null, 42, _hoisted_1$
|
|
3506
|
+
}, null, 42, _hoisted_1$3);
|
|
3507
3507
|
}), 128))
|
|
3508
3508
|
], 2);
|
|
3509
3509
|
};
|
|
3510
3510
|
}
|
|
3511
3511
|
});
|
|
3512
|
-
const _hoisted_1$
|
|
3512
|
+
const _hoisted_1$2 = ["onClick"];
|
|
3513
3513
|
const _hoisted_2$1 = ["id", "name", "placeholder", "disabled", "required"];
|
|
3514
3514
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3515
3515
|
...{
|
|
@@ -3629,7 +3629,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3629
3629
|
icon: "lucide:x",
|
|
3630
3630
|
class: normalizeClass(["text-primary-500", sizeClasses.value.icon])
|
|
3631
3631
|
}, null, 8, ["class"])
|
|
3632
|
-
], 8, _hoisted_1$
|
|
3632
|
+
], 8, _hoisted_1$2)) : createCommentVNode("", true)
|
|
3633
3633
|
], 2);
|
|
3634
3634
|
}), 128))
|
|
3635
3635
|
]),
|
|
@@ -3662,13 +3662,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3662
3662
|
}
|
|
3663
3663
|
});
|
|
3664
3664
|
const TagsInput = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-fcace07c"]]);
|
|
3665
|
-
const _hoisted_1 =
|
|
3666
|
-
const _hoisted_2 = {
|
|
3665
|
+
const _hoisted_1$1 = {
|
|
3667
3666
|
key: 0,
|
|
3667
|
+
class: "text-red-500 ml-1"
|
|
3668
|
+
};
|
|
3669
|
+
const _hoisted_2 = ["value", "placeholder", "disabled", "readonly", "required", "rows", "maxlength"];
|
|
3670
|
+
const _hoisted_3 = {
|
|
3671
|
+
key: 1,
|
|
3668
3672
|
class: "flex justify-end mt-1"
|
|
3669
3673
|
};
|
|
3670
|
-
const
|
|
3671
|
-
const
|
|
3674
|
+
const _hoisted_4 = { class: "text-xs text-gray-400" };
|
|
3675
|
+
const _hoisted_5 = { key: 0 };
|
|
3672
3676
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3673
3677
|
__name: "TextArea",
|
|
3674
3678
|
props: {
|
|
@@ -3712,51 +3716,66 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3712
3716
|
emit("update:modelValue", target.value);
|
|
3713
3717
|
}
|
|
3714
3718
|
return (_ctx, _cache) => {
|
|
3715
|
-
return openBlock(),
|
|
3716
|
-
label
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
createElementVNode("textarea", {
|
|
3724
|
-
value: __props.modelValue,
|
|
3725
|
-
placeholder: __props.placeholder,
|
|
3726
|
-
disabled: __props.disabled,
|
|
3727
|
-
readonly: __props.readonly,
|
|
3728
|
-
required: __props.required,
|
|
3729
|
-
rows: __props.rows,
|
|
3730
|
-
maxlength: __props.maxLength,
|
|
3731
|
-
class: normalizeClass([
|
|
3732
|
-
"w-full px-4 py-3 rounded-xl border transition-all duration-200",
|
|
3733
|
-
"focus:outline-none focus:ring-2 focus:ring-offset-0",
|
|
3734
|
-
resizeClass.value,
|
|
3735
|
-
__props.error ? "border-red-300 dark:border-red-500 focus:border-red-500 focus:ring-red-500/20" : "border-gray-200 dark:border-slate-600 focus:border-primary-500 focus:ring-primary-500/20",
|
|
3736
|
-
__props.disabled ? "bg-gray-50 dark:bg-slate-800 text-gray-400 cursor-not-allowed" : "bg-white dark:bg-slate-700 text-gray-900 dark:text-white"
|
|
3719
|
+
return openBlock(), createElementBlock("div", null, [
|
|
3720
|
+
__props.label || _ctx.$slots.label ? (openBlock(), createBlock(_sfc_main$t, {
|
|
3721
|
+
key: 0,
|
|
3722
|
+
error: __props.error
|
|
3723
|
+
}, {
|
|
3724
|
+
default: withCtx(() => [
|
|
3725
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
3726
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
3737
3727
|
]),
|
|
3738
|
-
|
|
3739
|
-
}, null, 42, _hoisted_1),
|
|
3740
|
-
__props.showCount || __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
3741
|
-
createElementVNode("span", _hoisted_3, [
|
|
3742
|
-
createTextVNode(toDisplayString(charCount.value), 1),
|
|
3743
|
-
__props.maxLength ? (openBlock(), createElementBlock("span", _hoisted_4, " / " + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true)
|
|
3744
|
-
])
|
|
3745
|
-
])) : createCommentVNode("", true)
|
|
3746
|
-
]),
|
|
3747
|
-
_: 2
|
|
3748
|
-
}, [
|
|
3749
|
-
_ctx.$slots.label ? {
|
|
3750
|
-
name: "label",
|
|
3751
|
-
fn: withCtx(() => [
|
|
3752
|
-
renderSlot(_ctx.$slots, "label")
|
|
3728
|
+
__props.required ? (openBlock(), createElementBlock("span", _hoisted_1$1, "*")) : createCommentVNode("", true)
|
|
3753
3729
|
]),
|
|
3754
|
-
|
|
3755
|
-
} :
|
|
3756
|
-
|
|
3730
|
+
_: 3
|
|
3731
|
+
}, 8, ["error"])) : createCommentVNode("", true),
|
|
3732
|
+
createElementVNode("textarea", {
|
|
3733
|
+
value: __props.modelValue,
|
|
3734
|
+
placeholder: __props.placeholder,
|
|
3735
|
+
disabled: __props.disabled,
|
|
3736
|
+
readonly: __props.readonly,
|
|
3737
|
+
required: __props.required,
|
|
3738
|
+
rows: __props.rows,
|
|
3739
|
+
maxlength: __props.maxLength,
|
|
3740
|
+
class: normalizeClass([
|
|
3741
|
+
"w-full px-4 py-3 rounded-xl border transition-all duration-200",
|
|
3742
|
+
"focus:outline-none focus:ring-2 focus:ring-offset-0",
|
|
3743
|
+
resizeClass.value,
|
|
3744
|
+
__props.label || _ctx.$slots.label ? "mt-2" : "",
|
|
3745
|
+
__props.error ? "border-red-300 dark:border-red-500 focus:border-red-500 focus:ring-red-500/20" : "border-gray-200 dark:border-slate-600 focus:border-primary-500 focus:ring-primary-500/20",
|
|
3746
|
+
__props.disabled ? "bg-gray-50 dark:bg-slate-800 text-gray-400 cursor-not-allowed" : "bg-white dark:bg-slate-700 text-gray-900 dark:text-white"
|
|
3747
|
+
]),
|
|
3748
|
+
onInput: handleInput
|
|
3749
|
+
}, null, 42, _hoisted_2),
|
|
3750
|
+
__props.showCount || __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
3751
|
+
createElementVNode("span", _hoisted_4, [
|
|
3752
|
+
createTextVNode(toDisplayString(charCount.value), 1),
|
|
3753
|
+
__props.maxLength ? (openBlock(), createElementBlock("span", _hoisted_5, " / " + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true)
|
|
3754
|
+
])
|
|
3755
|
+
])) : createCommentVNode("", true),
|
|
3756
|
+
__props.hint && !__props.error ? (openBlock(), createBlock(_sfc_main$s, { key: 2 }, {
|
|
3757
|
+
default: withCtx(() => [
|
|
3758
|
+
createTextVNode(toDisplayString(__props.hint), 1)
|
|
3759
|
+
]),
|
|
3760
|
+
_: 1
|
|
3761
|
+
})) : createCommentVNode("", true),
|
|
3762
|
+
__props.error ? (openBlock(), createBlock(_sfc_main$s, {
|
|
3763
|
+
key: 3,
|
|
3764
|
+
error: true
|
|
3765
|
+
}, {
|
|
3766
|
+
default: withCtx(() => [
|
|
3767
|
+
createTextVNode(toDisplayString(__props.error), 1)
|
|
3768
|
+
]),
|
|
3769
|
+
_: 1
|
|
3770
|
+
})) : createCommentVNode("", true)
|
|
3771
|
+
]);
|
|
3757
3772
|
};
|
|
3758
3773
|
}
|
|
3759
3774
|
});
|
|
3775
|
+
const _hoisted_1 = {
|
|
3776
|
+
key: 0,
|
|
3777
|
+
class: "text-red-500 ml-1"
|
|
3778
|
+
};
|
|
3760
3779
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3761
3780
|
__name: "CheckboxGroup",
|
|
3762
3781
|
props: {
|
|
@@ -3804,34 +3823,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3804
3823
|
}
|
|
3805
3824
|
}
|
|
3806
3825
|
return (_ctx, _cache) => {
|
|
3807
|
-
return openBlock(),
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3826
|
+
return openBlock(), createElementBlock("div", null, [
|
|
3827
|
+
__props.label ? (openBlock(), createBlock(_sfc_main$t, {
|
|
3828
|
+
key: 0,
|
|
3829
|
+
error: __props.error
|
|
3830
|
+
}, {
|
|
3831
|
+
default: withCtx(() => [
|
|
3832
|
+
createTextVNode(toDisplayString(__props.label), 1),
|
|
3833
|
+
__props.required ? (openBlock(), createElementBlock("span", _hoisted_1, "*")) : createCommentVNode("", true)
|
|
3834
|
+
]),
|
|
3835
|
+
_: 1
|
|
3836
|
+
}, 8, ["error"])) : createCommentVNode("", true),
|
|
3837
|
+
createElementVNode("div", {
|
|
3838
|
+
class: normalizeClass([gridClass.value, __props.label ? "mt-2" : ""])
|
|
3839
|
+
}, [
|
|
3840
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
|
|
3841
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
3842
|
+
key: option.value,
|
|
3843
|
+
"model-value": isChecked(option.value),
|
|
3844
|
+
label: option.label,
|
|
3845
|
+
disabled: __props.disabled || option.disabled,
|
|
3846
|
+
"onUpdate:modelValue": (checked) => toggleValue(option.value, checked)
|
|
3847
|
+
}, null, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"]);
|
|
3848
|
+
}), 128))
|
|
3849
|
+
], 2),
|
|
3850
|
+
__props.hint && !__props.error ? (openBlock(), createBlock(_sfc_main$s, { key: 1 }, {
|
|
3851
|
+
default: withCtx(() => [
|
|
3852
|
+
createTextVNode(toDisplayString(__props.hint), 1)
|
|
3853
|
+
]),
|
|
3854
|
+
_: 1
|
|
3855
|
+
})) : createCommentVNode("", true),
|
|
3856
|
+
__props.error ? (openBlock(), createBlock(_sfc_main$s, {
|
|
3857
|
+
key: 2,
|
|
3858
|
+
error: true
|
|
3859
|
+
}, {
|
|
3860
|
+
default: withCtx(() => [
|
|
3861
|
+
createTextVNode(toDisplayString(__props.error), 1)
|
|
3862
|
+
]),
|
|
3863
|
+
_: 1
|
|
3864
|
+
})) : createCommentVNode("", true)
|
|
3865
|
+
]);
|
|
3835
3866
|
};
|
|
3836
3867
|
}
|
|
3837
3868
|
});
|
|
@@ -3867,4 +3898,4 @@ export {
|
|
|
3867
3898
|
_sfc_main$3 as y,
|
|
3868
3899
|
_sfc_main$1 as z
|
|
3869
3900
|
};
|
|
3870
|
-
//# sourceMappingURL=CheckboxGroup.vue_vue_type_script_setup_true_lang-
|
|
3901
|
+
//# sourceMappingURL=CheckboxGroup.vue_vue_type_script_setup_true_lang-hHJdvUYS.js.map
|