@auronui/vue 1.4.1 → 1.4.2
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/cjs/index.cjs +719 -460
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/_shared/TimeScroller.js.map +1 -1
- package/dist/components/_shared/TimeScroller.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/components/_shared/TimeScroller.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/accordion/Accordion.js.map +1 -1
- package/dist/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +17 -6
- package/dist/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/Autocomplete.js.map +1 -1
- package/dist/components/autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +23 -3
- package/dist/components/autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteCreateItem.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteCreateItem.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/components/autocomplete/AutocompleteCreateItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteInput.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteInput.vue_vue_type_script_setup_true_lang.js +23 -11
- package/dist/components/autocomplete/AutocompleteInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteItem.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteItem.vue_vue_type_script_setup_true_lang.js +25 -17
- package/dist/components/autocomplete/AutocompleteItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteOverflowChips.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteOverflowChips.vue_vue_type_script_setup_true_lang.js +11 -4
- package/dist/components/autocomplete/AutocompleteOverflowChips.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +11 -13
- package/dist/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/avatar/AvatarGroup.js.map +1 -1
- package/dist/components/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.js +12 -8
- package/dist/components/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +11 -2
- package/dist/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/button/ButtonGroup.js.map +1 -1
- package/dist/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/Calendar.vue_vue_type_script_setup_true_lang.js +3 -1
- package/dist/components/calendar/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/checkbox/CheckboxGroup.js.map +1 -1
- package/dist/components/checkbox/CheckboxGroup.vue_vue_type_script_setup_true_lang.js +32 -19
- package/dist/components/checkbox/CheckboxGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/collapsible/CollapsibleGroup.js.map +1 -1
- package/dist/components/collapsible/CollapsibleGroup.vue_vue_type_script_setup_true_lang.js +9 -3
- package/dist/components/collapsible/CollapsibleGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/color-field/ColorField.js.map +1 -1
- package/dist/components/color-field/ColorField.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/components/color-field/ColorField.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/color-input-group/ColorInputGroup.js.map +1 -1
- package/dist/components/color-input-group/ColorInputGroup.vue_vue_type_script_setup_true_lang.js +16 -18
- package/dist/components/color-input-group/ColorInputGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/combo-box/ComboBox.js.map +1 -1
- package/dist/components/combo-box/ComboBox.vue_vue_type_script_setup_true_lang.js +10 -2
- package/dist/components/combo-box/ComboBox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/combo-box/ComboBoxInput.js.map +1 -1
- package/dist/components/combo-box/ComboBoxInput.vue_vue_type_script_setup_true_lang.js +9 -4
- package/dist/components/combo-box/ComboBoxInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/combo-box/ComboBoxItem.js.map +1 -1
- package/dist/components/combo-box/ComboBoxItem.vue_vue_type_script_setup_true_lang.js +15 -6
- package/dist/components/combo-box/ComboBoxItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/date-picker/DatePicker.vue_vue_type_script_setup_true_lang.js +8 -4
- package/dist/components/date-picker/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +10 -4
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/list-box/ListBox.js.map +1 -1
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js +14 -4
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/modal/ModalContent.js.map +1 -1
- package/dist/components/modal/ModalContent.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/modal/ModalContent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/radio/RadioGroup.js.map +1 -1
- package/dist/components/radio/RadioGroup.vue_vue_type_script_setup_true_lang.js +32 -19
- package/dist/components/radio/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/scroll-area/ScrollArea.js.map +1 -1
- package/dist/components/scroll-area/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -13
- package/dist/components/scroll-area/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/Select.vue_vue_type_script_setup_true_lang.js +21 -5
- package/dist/components/select/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/select/SelectItem.js.map +1 -1
- package/dist/components/select/SelectItem.vue_vue_type_script_setup_true_lang.js +11 -6
- package/dist/components/select/SelectItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/select/SelectOverflowChips.js.map +1 -1
- package/dist/components/select/SelectOverflowChips.vue_vue_type_script_setup_true_lang.js +8 -5
- package/dist/components/select/SelectOverflowChips.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/select/SelectTrigger.js.map +1 -1
- package/dist/components/select/SelectTrigger.vue_vue_type_script_setup_true_lang.js +7 -5
- package/dist/components/select/SelectTrigger.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/select/SelectValue.js.map +1 -1
- package/dist/components/select/SelectValue.vue_vue_type_script_setup_true_lang.js +11 -4
- package/dist/components/select/SelectValue.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/separator/Separator.js.map +1 -1
- package/dist/components/separator/Separator.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/separator/Separator.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/stepper/Stepper.js.map +1 -1
- package/dist/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +20 -10
- package/dist/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/switch/SwitchGroup.js.map +1 -1
- package/dist/components/switch/SwitchGroup.vue_vue_type_script_setup_true_lang.js +29 -15
- package/dist/components/switch/SwitchGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/Table.vue_vue_type_script_setup_true_lang.js +29 -9
- package/dist/components/table/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/tabs/TabList.js.map +1 -1
- package/dist/components/tabs/TabList.vue_vue_type_script_setup_true_lang.js +18 -15
- package/dist/components/tabs/TabList.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tabs/Tabs.vue_vue_type_script_setup_true_lang.js +30 -7
- package/dist/components/tabs/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/time-picker/TimePicker.js.map +1 -1
- package/dist/components/time-picker/TimePicker.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/components/time-picker/TimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/toast/ToastViewport.js.map +1 -1
- package/dist/components/toast/ToastViewport.vue_vue_type_script_setup_true_lang.js +19 -6
- package/dist/components/toast/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/index.d.ts +363 -0
- package/dist/packages/styles/dist/components/modal/modal.styles.js +2 -1
- package/dist/packages/styles/dist/components/modal/modal.styles.js.map +1 -1
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -1003,16 +1003,16 @@ function createContext(contextName) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
//#endregion
|
|
1005
1005
|
//#region src/components/spinner/Spinner.vue?vue&type=script&setup=true&lang.ts
|
|
1006
|
-
var _hoisted_1$
|
|
1007
|
-
var _hoisted_2$
|
|
1006
|
+
var _hoisted_1$52 = ["aria-label"];
|
|
1007
|
+
var _hoisted_2$21 = {
|
|
1008
1008
|
"data-slot": "spinner-icon",
|
|
1009
1009
|
viewBox: "0 0 24 24",
|
|
1010
1010
|
"aria-hidden": "true",
|
|
1011
1011
|
width: "100%",
|
|
1012
1012
|
height: "100%"
|
|
1013
1013
|
};
|
|
1014
|
-
var _hoisted_3$
|
|
1015
|
-
var _hoisted_4$
|
|
1014
|
+
var _hoisted_3$12 = { fill: "none" };
|
|
1015
|
+
var _hoisted_4$8 = ["fill"];
|
|
1016
1016
|
var _hoisted_5$3 = ["fill"];
|
|
1017
1017
|
//#endregion
|
|
1018
1018
|
//#region src/components/spinner/Spinner.vue
|
|
@@ -1038,7 +1038,7 @@ var Spinner_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1038
1038
|
class: (0, vue.normalizeClass)(classes.value),
|
|
1039
1039
|
role: "status",
|
|
1040
1040
|
"aria-label": __props.label
|
|
1041
|
-
}, [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
1041
|
+
}, [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$21, [(0, vue.createElementVNode)("defs", null, [(0, vue.createElementVNode)("linearGradient", {
|
|
1042
1042
|
id: gradId1,
|
|
1043
1043
|
x1: "50%",
|
|
1044
1044
|
x2: "50%",
|
|
@@ -1065,42 +1065,41 @@ var Spinner_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1065
1065
|
offset: "100%",
|
|
1066
1066
|
"stop-color": "currentColor",
|
|
1067
1067
|
"stop-opacity": "0.55"
|
|
1068
|
-
}, null, -1)])])]), (0, vue.createElementVNode)("g", _hoisted_3$
|
|
1068
|
+
}, null, -1)])])]), (0, vue.createElementVNode)("g", _hoisted_3$12, [
|
|
1069
1069
|
_cache[2] || (_cache[2] = (0, vue.createElementVNode)("path", { d: "m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }, null, -1)),
|
|
1070
1070
|
(0, vue.createElementVNode)("path", {
|
|
1071
1071
|
d: "M8.749.021a1.5 1.5 0 0 1 .497 2.958A7.5 7.5 0 0 0 3 10.375a7.5 7.5 0 0 0 7.5 7.5v3c-5.799 0-10.5-4.7-10.5-10.5C0 5.23 3.726.865 8.749.021",
|
|
1072
1072
|
fill: `url(#${gradId1})`,
|
|
1073
1073
|
transform: "translate(1.5 1.625)"
|
|
1074
|
-
}, null, 8, _hoisted_4$
|
|
1074
|
+
}, null, 8, _hoisted_4$8),
|
|
1075
1075
|
(0, vue.createElementVNode)("path", {
|
|
1076
1076
|
d: "M15.392 2.673a1.5 1.5 0 0 1 2.119-.115A10.48 10.48 0 0 1 21 10.375c0 5.8-4.701 10.5-10.5 10.5v-3a7.5 7.5 0 0 0 5.007-13.084a1.5 1.5 0 0 1-.115-2.118",
|
|
1077
1077
|
fill: `url(#${gradId2})`,
|
|
1078
1078
|
transform: "translate(1.5 1.625)"
|
|
1079
1079
|
}, null, 8, _hoisted_5$3)
|
|
1080
|
-
])]))], 10, _hoisted_1$
|
|
1080
|
+
])]))], 10, _hoisted_1$52);
|
|
1081
1081
|
};
|
|
1082
1082
|
}
|
|
1083
1083
|
});
|
|
1084
1084
|
//#endregion
|
|
1085
|
-
//#region src/components/separator/Separator.vue?vue&type=script&setup=true&lang.ts
|
|
1086
|
-
var _hoisted_1$60 = { class: "separator__content" };
|
|
1087
|
-
//#endregion
|
|
1088
1085
|
//#region src/components/separator/Separator.vue
|
|
1089
1086
|
var Separator_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1090
1087
|
__name: "Separator",
|
|
1091
1088
|
props: {
|
|
1092
1089
|
orientation: { default: "horizontal" },
|
|
1093
1090
|
variant: { default: "default" },
|
|
1094
|
-
class: {}
|
|
1091
|
+
class: {},
|
|
1092
|
+
classNames: {}
|
|
1095
1093
|
},
|
|
1096
1094
|
setup(__props) {
|
|
1097
1095
|
const props = __props;
|
|
1098
1096
|
const slots = (0, vue.useSlots)();
|
|
1099
1097
|
const hasLabel = (0, vue.computed)(() => !!slots.default);
|
|
1100
|
-
const
|
|
1098
|
+
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.separatorVariants)({
|
|
1101
1099
|
orientation: props.orientation,
|
|
1102
1100
|
variant: props.variant
|
|
1103
|
-
})
|
|
1101
|
+
}));
|
|
1102
|
+
const classes = (0, vue.computed)(() => composeClassName(slotFns.value.base(), props.class));
|
|
1104
1103
|
return (_ctx, _cache) => {
|
|
1105
1104
|
return props.orientation !== "vertical" && !hasLabel.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("hr", {
|
|
1106
1105
|
key: 0,
|
|
@@ -1116,9 +1115,9 @@ var Separator_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1116
1115
|
role: "separator",
|
|
1117
1116
|
"aria-orientation": "horizontal"
|
|
1118
1117
|
}, [
|
|
1119
|
-
|
|
1120
|
-
(0, vue.createElementVNode)("div",
|
|
1121
|
-
|
|
1118
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.line(), props.classNames?.line)) }, null, 2),
|
|
1119
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.content(), props.classNames?.content)) }, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2),
|
|
1120
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.line(), props.classNames?.line)) }, null, 2)
|
|
1122
1121
|
], 2));
|
|
1123
1122
|
};
|
|
1124
1123
|
}
|
|
@@ -1176,7 +1175,7 @@ var Text_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1176
1175
|
});
|
|
1177
1176
|
//#endregion
|
|
1178
1177
|
//#region src/components/label/Label.vue?vue&type=script&setup=true&lang.ts
|
|
1179
|
-
var _hoisted_1$
|
|
1178
|
+
var _hoisted_1$51 = ["for"];
|
|
1180
1179
|
//#endregion
|
|
1181
1180
|
//#region src/components/label/Label.vue
|
|
1182
1181
|
var Label_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1208,13 +1207,13 @@ var Label_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1208
1207
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
|
|
1209
1208
|
class: (0, vue.normalizeClass)(classes.value),
|
|
1210
1209
|
for: props.for
|
|
1211
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
1210
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$51);
|
|
1212
1211
|
};
|
|
1213
1212
|
}
|
|
1214
1213
|
});
|
|
1215
1214
|
//#endregion
|
|
1216
1215
|
//#region src/components/description/Description.vue?vue&type=script&setup=true&lang.ts
|
|
1217
|
-
var _hoisted_1$
|
|
1216
|
+
var _hoisted_1$50 = ["id"];
|
|
1218
1217
|
//#endregion
|
|
1219
1218
|
//#region src/components/description/Description.vue
|
|
1220
1219
|
var Description_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1230,7 +1229,7 @@ var Description_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1230
1229
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("p", {
|
|
1231
1230
|
id: props.id,
|
|
1232
1231
|
class: (0, vue.normalizeClass)(classes.value)
|
|
1233
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
1232
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$50);
|
|
1234
1233
|
};
|
|
1235
1234
|
}
|
|
1236
1235
|
});
|
|
@@ -1312,7 +1311,7 @@ var Badge_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1312
1311
|
});
|
|
1313
1312
|
//#endregion
|
|
1314
1313
|
//#region src/components/chip/Chip.vue?vue&type=script&setup=true&lang.ts
|
|
1315
|
-
var _hoisted_1$
|
|
1314
|
+
var _hoisted_1$49 = ["aria-label"];
|
|
1316
1315
|
//#endregion
|
|
1317
1316
|
//#region src/components/chip/Chip.vue
|
|
1318
1317
|
var Chip_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1396,7 +1395,7 @@ var Chip_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1396
1395
|
y1: "6",
|
|
1397
1396
|
x2: "18",
|
|
1398
1397
|
y2: "18"
|
|
1399
|
-
})], -1)])], 10, _hoisted_1$
|
|
1398
|
+
})], -1)])], 10, _hoisted_1$49)) : (0, vue.createCommentVNode)("", true)
|
|
1400
1399
|
], 2);
|
|
1401
1400
|
};
|
|
1402
1401
|
}
|
|
@@ -1429,7 +1428,7 @@ var Surface_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1429
1428
|
var { useProvide: useCardProvide, useInject: useCardInject, key: cardContextKey } = createContext("Card");
|
|
1430
1429
|
//#endregion
|
|
1431
1430
|
//#region src/components/card/Card.vue?vue&type=script&setup=true&lang.ts
|
|
1432
|
-
var _hoisted_1$
|
|
1431
|
+
var _hoisted_1$48 = [
|
|
1433
1432
|
"role",
|
|
1434
1433
|
"tabindex",
|
|
1435
1434
|
"aria-disabled",
|
|
@@ -1512,7 +1511,7 @@ var Card_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1512
1511
|
"data-disabled": __props.isDisabled || void 0,
|
|
1513
1512
|
onClick,
|
|
1514
1513
|
onKeydown
|
|
1515
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
1514
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 42, _hoisted_1$48);
|
|
1516
1515
|
};
|
|
1517
1516
|
}
|
|
1518
1517
|
});
|
|
@@ -1863,7 +1862,7 @@ var Button_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1863
1862
|
});
|
|
1864
1863
|
//#endregion
|
|
1865
1864
|
//#region src/components/button/ButtonGroup.vue?vue&type=script&setup=true&lang.ts
|
|
1866
|
-
var _hoisted_1$
|
|
1865
|
+
var _hoisted_1$47 = ["data-orientation"];
|
|
1867
1866
|
//#endregion
|
|
1868
1867
|
//#region src/components/button/ButtonGroup.vue
|
|
1869
1868
|
var ButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1951,7 +1950,8 @@ var ButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1951
1950
|
"is-loading": btn.isLoading,
|
|
1952
1951
|
variant: btn.variant,
|
|
1953
1952
|
color: btn.color,
|
|
1954
|
-
class: (0, vue.normalizeClass)(btn.class)
|
|
1953
|
+
class: (0, vue.normalizeClass)(btn.class),
|
|
1954
|
+
"class-names": btn.classNames
|
|
1955
1955
|
}, {
|
|
1956
1956
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(btn.label), 1)]),
|
|
1957
1957
|
_: 2
|
|
@@ -1961,9 +1961,10 @@ var ButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1961
1961
|
"is-loading",
|
|
1962
1962
|
"variant",
|
|
1963
1963
|
"color",
|
|
1964
|
-
"class"
|
|
1964
|
+
"class",
|
|
1965
|
+
"class-names"
|
|
1965
1966
|
]);
|
|
1966
|
-
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$
|
|
1967
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$47);
|
|
1967
1968
|
};
|
|
1968
1969
|
}
|
|
1969
1970
|
});
|
|
@@ -2040,7 +2041,7 @@ var CloseButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2040
2041
|
var { useProvide: useToggleButtonGroupProvide, useInject: useToggleButtonGroupInject, key: toggleButtonGroupContextKey } = createContext("ToggleButtonGroup");
|
|
2041
2042
|
//#endregion
|
|
2042
2043
|
//#region src/components/button/ToggleButton.vue?vue&type=script&setup=true&lang.ts
|
|
2043
|
-
var _hoisted_1$
|
|
2044
|
+
var _hoisted_1$46 = ["disabled", "data-orientation"];
|
|
2044
2045
|
//#endregion
|
|
2045
2046
|
//#region src/components/button/ToggleButton.vue
|
|
2046
2047
|
var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -2133,7 +2134,7 @@ var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2133
2134
|
disabled: effectiveDisabled.value || void 0,
|
|
2134
2135
|
"data-orientation": (0, vue.unref)(groupCtx).orientation.value,
|
|
2135
2136
|
type: "button"
|
|
2136
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
2137
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$46)]),
|
|
2137
2138
|
_: 3
|
|
2138
2139
|
}, 8, [
|
|
2139
2140
|
"disabled",
|
|
@@ -2147,7 +2148,7 @@ var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2147
2148
|
});
|
|
2148
2149
|
//#endregion
|
|
2149
2150
|
//#region src/components/button/ToggleButtonGroup.vue?vue&type=script&setup=true&lang.ts
|
|
2150
|
-
var _hoisted_1$
|
|
2151
|
+
var _hoisted_1$45 = ["data-orientation"];
|
|
2151
2152
|
//#endregion
|
|
2152
2153
|
//#region src/components/button/ToggleButtonGroup.vue
|
|
2153
2154
|
var ToggleButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -2243,7 +2244,7 @@ var ToggleButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2243
2244
|
"is-disabled",
|
|
2244
2245
|
"class"
|
|
2245
2246
|
]);
|
|
2246
|
-
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$
|
|
2247
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$45);
|
|
2247
2248
|
};
|
|
2248
2249
|
}
|
|
2249
2250
|
});
|
|
@@ -2965,8 +2966,8 @@ function useFormField(input) {
|
|
|
2965
2966
|
}
|
|
2966
2967
|
//#endregion
|
|
2967
2968
|
//#region src/components/_shared/FieldLabel.vue?vue&type=script&setup=true&lang.ts
|
|
2968
|
-
var _hoisted_1$
|
|
2969
|
-
var _hoisted_2$
|
|
2969
|
+
var _hoisted_1$44 = ["id", "for"];
|
|
2970
|
+
var _hoisted_2$20 = {
|
|
2970
2971
|
key: 0,
|
|
2971
2972
|
"aria-hidden": "true"
|
|
2972
2973
|
};
|
|
@@ -2995,14 +2996,14 @@ var FieldLabel_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2995
2996
|
id: __props.id,
|
|
2996
2997
|
for: props.for,
|
|
2997
2998
|
class: (0, vue.normalizeClass)(props.class)
|
|
2998
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
2999
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$20, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$44)) : (0, vue.createCommentVNode)("", true);
|
|
2999
3000
|
};
|
|
3000
3001
|
}
|
|
3001
3002
|
});
|
|
3002
3003
|
//#endregion
|
|
3003
3004
|
//#region src/components/_shared/FormFieldHelper.vue?vue&type=script&setup=true&lang.ts
|
|
3004
|
-
var _hoisted_1$
|
|
3005
|
-
var _hoisted_2$
|
|
3005
|
+
var _hoisted_1$43 = ["id", "role"];
|
|
3006
|
+
var _hoisted_2$19 = ["id"];
|
|
3006
3007
|
//#endregion
|
|
3007
3008
|
//#region src/components/_shared/FormFieldHelper.vue
|
|
3008
3009
|
var FormFieldHelper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -3048,18 +3049,18 @@ var FormFieldHelper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3048
3049
|
id: __props.errorMessageId,
|
|
3049
3050
|
class: (0, vue.normalizeClass)(__props.errorClass),
|
|
3050
3051
|
role: __props.errorRole
|
|
3051
|
-
}, (0, vue.toDisplayString)(__props.errorMessage), 11, _hoisted_1$
|
|
3052
|
+
}, (0, vue.toDisplayString)(__props.errorMessage), 11, _hoisted_1$43)) : __props.showDescription ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
3052
3053
|
key: 1,
|
|
3053
3054
|
id: __props.descriptionId,
|
|
3054
3055
|
class: (0, vue.normalizeClass)(__props.descriptionClass)
|
|
3055
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_2$
|
|
3056
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_2$19)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true);
|
|
3056
3057
|
};
|
|
3057
3058
|
}
|
|
3058
3059
|
});
|
|
3059
3060
|
//#endregion
|
|
3060
3061
|
//#region src/components/input/Input.vue?vue&type=script&setup=true&lang.ts
|
|
3061
|
-
var _hoisted_1$
|
|
3062
|
-
var _hoisted_2$
|
|
3062
|
+
var _hoisted_1$42 = ["data-filled"];
|
|
3063
|
+
var _hoisted_2$18 = [
|
|
3063
3064
|
"id",
|
|
3064
3065
|
"type",
|
|
3065
3066
|
"placeholder",
|
|
@@ -3070,8 +3071,8 @@ var _hoisted_2$25 = [
|
|
|
3070
3071
|
"aria-invalid",
|
|
3071
3072
|
"aria-describedby"
|
|
3072
3073
|
];
|
|
3073
|
-
var _hoisted_3$
|
|
3074
|
-
var _hoisted_4$
|
|
3074
|
+
var _hoisted_3$11 = ["aria-label", "aria-pressed"];
|
|
3075
|
+
var _hoisted_4$7 = {
|
|
3075
3076
|
key: 0,
|
|
3076
3077
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3077
3078
|
viewBox: "0 0 24 24",
|
|
@@ -3252,7 +3253,7 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3252
3253
|
"aria-invalid": __props.isInvalid || void 0,
|
|
3253
3254
|
"aria-describedby": (0, vue.unref)(ariaDescribedBy),
|
|
3254
3255
|
class: (0, vue.unref)(composeClassName)(slotFns.value.input(), props.classNames?.input)
|
|
3255
|
-
}), null, 16, _hoisted_2$
|
|
3256
|
+
}), null, 16, _hoisted_2$18), [[vue.vModelDynamic, modelValue.value]]),
|
|
3256
3257
|
_ctx.$slots.endContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
3257
3258
|
key: 2,
|
|
3258
3259
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.endContent(), props.classNames?.endContent))
|
|
@@ -3299,7 +3300,7 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3299
3300
|
"aria-label": isPasswordVisible.value ? "Hide password" : "Show password",
|
|
3300
3301
|
"aria-pressed": isPasswordVisible.value,
|
|
3301
3302
|
onClick: togglePasswordVisibility
|
|
3302
|
-
}, [isPasswordVisible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$
|
|
3303
|
+
}, [isPasswordVisible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$7, [..._cache[2] || (_cache[2] = [(0, vue.createElementVNode)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }, null, -1), (0, vue.createElementVNode)("line", {
|
|
3303
3304
|
x1: "1",
|
|
3304
3305
|
y1: "1",
|
|
3305
3306
|
x2: "23",
|
|
@@ -3308,8 +3309,8 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3308
3309
|
cx: "12",
|
|
3309
3310
|
cy: "12",
|
|
3310
3311
|
r: "3"
|
|
3311
|
-
}, null, -1)])]))], 10, _hoisted_3$
|
|
3312
|
-
], 10, _hoisted_1$
|
|
3312
|
+
}, null, -1)])]))], 10, _hoisted_3$11)) : (0, vue.createCommentVNode)("", true)
|
|
3313
|
+
], 10, _hoisted_1$42), (0, vue.createVNode)(FormFieldHelper_default, {
|
|
3313
3314
|
"has-helper": (0, vue.unref)(hasHelper),
|
|
3314
3315
|
"show-error": (0, vue.unref)(showError),
|
|
3315
3316
|
"show-description": (0, vue.unref)(showDescription),
|
|
@@ -3337,8 +3338,8 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3337
3338
|
});
|
|
3338
3339
|
//#endregion
|
|
3339
3340
|
//#region src/components/textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
3340
|
-
var _hoisted_1$
|
|
3341
|
-
var _hoisted_2$
|
|
3341
|
+
var _hoisted_1$41 = ["data-filled"];
|
|
3342
|
+
var _hoisted_2$17 = [
|
|
3342
3343
|
"id",
|
|
3343
3344
|
"rows",
|
|
3344
3345
|
"placeholder",
|
|
@@ -3500,7 +3501,7 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3500
3501
|
"aria-invalid": __props.isInvalid || void 0,
|
|
3501
3502
|
"aria-describedby": (0, vue.unref)(ariaDescribedBy),
|
|
3502
3503
|
class: (0, vue.unref)(composeClassName)(slotFns.value.input(), props.classNames?.input)
|
|
3503
|
-
}), null, 16, _hoisted_2$
|
|
3504
|
+
}), null, 16, _hoisted_2$17), [[vue.vModelText, modelValue.value]]),
|
|
3504
3505
|
_ctx.$slots.endContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
3505
3506
|
key: 2,
|
|
3506
3507
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.endContent(), props.classNames?.endContent))
|
|
@@ -3540,7 +3541,7 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3540
3541
|
y2: "15"
|
|
3541
3542
|
})
|
|
3542
3543
|
], -1)])], 2)) : (0, vue.createCommentVNode)("", true)
|
|
3543
|
-
], 10, _hoisted_1$
|
|
3544
|
+
], 10, _hoisted_1$41), (0, vue.createVNode)(FormFieldHelper_default, {
|
|
3544
3545
|
"has-helper": (0, vue.unref)(hasHelper),
|
|
3545
3546
|
"show-error": (0, vue.unref)(showError),
|
|
3546
3547
|
"show-description": (0, vue.unref)(showDescription),
|
|
@@ -3568,7 +3569,7 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3568
3569
|
});
|
|
3569
3570
|
//#endregion
|
|
3570
3571
|
//#region src/components/number-field/NumberField.vue?vue&type=script&setup=true&lang.ts
|
|
3571
|
-
var _hoisted_1$
|
|
3572
|
+
var _hoisted_1$40 = ["for"];
|
|
3572
3573
|
//#endregion
|
|
3573
3574
|
//#region src/components/number-field/NumberField.vue
|
|
3574
3575
|
var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -3682,7 +3683,7 @@ var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3682
3683
|
for: resolvedInputId.value,
|
|
3683
3684
|
class: (0, vue.normalizeClass)(isLabelVisible.value ? void 0 : "sr-only"),
|
|
3684
3685
|
"data-slot": "label"
|
|
3685
|
-
}, (0, vue.toDisplayString)(props.label || props.ariaLabel), 11, _hoisted_1$
|
|
3686
|
+
}, (0, vue.toDisplayString)(props.label || props.ariaLabel), 11, _hoisted_1$40)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", {
|
|
3686
3687
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.group(), props.classNames?.group)),
|
|
3687
3688
|
"data-slot": "group"
|
|
3688
3689
|
}, [
|
|
@@ -3751,7 +3752,7 @@ var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3751
3752
|
});
|
|
3752
3753
|
//#endregion
|
|
3753
3754
|
//#region src/components/fieldset/Fieldset.vue?vue&type=script&setup=true&lang.ts
|
|
3754
|
-
var _hoisted_1$
|
|
3755
|
+
var _hoisted_1$39 = ["disabled"];
|
|
3755
3756
|
//#endregion
|
|
3756
3757
|
//#region src/components/fieldset/Fieldset.vue
|
|
3757
3758
|
var Fieldset_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -3784,7 +3785,7 @@ var Fieldset_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3784
3785
|
}, [props.legend ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("legend", {
|
|
3785
3786
|
key: 0,
|
|
3786
3787
|
class: (0, vue.normalizeClass)((0, vue.unref)(styles).legend())
|
|
3787
|
-
}, (0, vue.toDisplayString)(props.legend), 3)) : (0, vue.createCommentVNode)("", true), (0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
3788
|
+
}, (0, vue.toDisplayString)(props.legend), 3)) : (0, vue.createCommentVNode)("", true), (0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$39);
|
|
3788
3789
|
};
|
|
3789
3790
|
}
|
|
3790
3791
|
});
|
|
@@ -4157,7 +4158,7 @@ var EditableCancelTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4157
4158
|
var { useProvide: useCheckboxGroupProvide, useInject: useCheckboxGroupInject, key: checkboxGroupContextKey } = createContext("CheckboxGroup");
|
|
4158
4159
|
//#endregion
|
|
4159
4160
|
//#region src/components/checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
4160
|
-
var _hoisted_1$
|
|
4161
|
+
var _hoisted_1$38 = {
|
|
4161
4162
|
key: 0,
|
|
4162
4163
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4163
4164
|
width: "12",
|
|
@@ -4169,7 +4170,7 @@ var _hoisted_1$46 = {
|
|
|
4169
4170
|
"stroke-linecap": "round",
|
|
4170
4171
|
"aria-hidden": "true"
|
|
4171
4172
|
};
|
|
4172
|
-
var _hoisted_2$
|
|
4173
|
+
var _hoisted_2$16 = {
|
|
4173
4174
|
key: 1,
|
|
4174
4175
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4175
4176
|
width: "12",
|
|
@@ -4314,12 +4315,12 @@ var Checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4314
4315
|
as: props.indicatorAs,
|
|
4315
4316
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.indicator(), props.classNames?.indicator))
|
|
4316
4317
|
}, {
|
|
4317
|
-
default: (0, vue.withCtx)(() => [props.isIndeterminate ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
4318
|
+
default: (0, vue.withCtx)(() => [props.isIndeterminate ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$38, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("line", {
|
|
4318
4319
|
x1: "5",
|
|
4319
4320
|
y1: "12",
|
|
4320
4321
|
x2: "19",
|
|
4321
4322
|
y2: "12"
|
|
4322
|
-
}, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
4323
|
+
}, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$16, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" }, null, -1)])]))]),
|
|
4323
4324
|
_: 1
|
|
4324
4325
|
}, 8, [
|
|
4325
4326
|
"force-mount",
|
|
@@ -4347,20 +4348,11 @@ var Checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4347
4348
|
});
|
|
4348
4349
|
//#endregion
|
|
4349
4350
|
//#region src/components/checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4350
|
-
var _hoisted_1$
|
|
4351
|
+
var _hoisted_1$37 = [
|
|
4351
4352
|
"aria-labelledby",
|
|
4352
4353
|
"aria-invalid",
|
|
4353
4354
|
"data-orientation"
|
|
4354
4355
|
];
|
|
4355
|
-
var _hoisted_2$22 = { class: "checkbox-group__wrapper" };
|
|
4356
|
-
var _hoisted_3$15 = {
|
|
4357
|
-
key: 1,
|
|
4358
|
-
class: "checkbox-group__error-message"
|
|
4359
|
-
};
|
|
4360
|
-
var _hoisted_4$8 = {
|
|
4361
|
-
key: 2,
|
|
4362
|
-
class: "checkbox-group__description"
|
|
4363
|
-
};
|
|
4364
4356
|
//#endregion
|
|
4365
4357
|
//#region src/components/checkbox/CheckboxGroup.vue
|
|
4366
4358
|
var CheckboxGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -4387,7 +4379,8 @@ var CheckboxGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4387
4379
|
description: { default: void 0 },
|
|
4388
4380
|
errorMessage: { default: void 0 },
|
|
4389
4381
|
class: {},
|
|
4390
|
-
items: {}
|
|
4382
|
+
items: {},
|
|
4383
|
+
classNames: {}
|
|
4391
4384
|
},
|
|
4392
4385
|
emits: ["update:modelValue"],
|
|
4393
4386
|
setup(__props, { emit: __emit }) {
|
|
@@ -4410,32 +4403,53 @@ var CheckboxGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4410
4403
|
name: (0, vue.toRef)(props, "name")
|
|
4411
4404
|
});
|
|
4412
4405
|
const labelId = `checkbox-group-label-${Math.random().toString(36).slice(2, 8)}`;
|
|
4413
|
-
const
|
|
4406
|
+
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.checkboxGroupVariants)({ variant: props.variant }));
|
|
4407
|
+
function itemClassNames(item) {
|
|
4408
|
+
return {
|
|
4409
|
+
base: composeClassName(props.classNames?.checkbox?.base, item.classNames?.base),
|
|
4410
|
+
control: composeClassName(props.classNames?.checkbox?.control, item.classNames?.control),
|
|
4411
|
+
indicator: composeClassName(props.classNames?.checkbox?.indicator, item.classNames?.indicator),
|
|
4412
|
+
content: composeClassName(props.classNames?.checkbox?.content, item.classNames?.content)
|
|
4413
|
+
};
|
|
4414
|
+
}
|
|
4414
4415
|
return (_ctx, _cache) => {
|
|
4415
4416
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
4416
4417
|
role: "group",
|
|
4417
4418
|
"aria-labelledby": props.label ? labelId : void 0,
|
|
4418
4419
|
"aria-invalid": props.isInvalid || void 0,
|
|
4419
4420
|
"data-orientation": props.orientation,
|
|
4420
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(
|
|
4421
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class))
|
|
4421
4422
|
}, [
|
|
4422
4423
|
props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4423
4424
|
key: 0,
|
|
4424
4425
|
id: labelId,
|
|
4425
|
-
class:
|
|
4426
|
-
}, (0, vue.toDisplayString)(props.label),
|
|
4427
|
-
(0, vue.createElementVNode)("div",
|
|
4426
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
4427
|
+
}, (0, vue.toDisplayString)(props.label), 3)) : (0, vue.createCommentVNode)("", true),
|
|
4428
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.wrapper(), props.classNames?.wrapper)) }, [props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(props.items, (item) => {
|
|
4428
4429
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Checkbox_default, {
|
|
4429
4430
|
key: item.value,
|
|
4430
4431
|
value: item.value,
|
|
4431
|
-
"is-disabled": item.disabled
|
|
4432
|
+
"is-disabled": item.disabled,
|
|
4433
|
+
class: (0, vue.normalizeClass)(item.class),
|
|
4434
|
+
"class-names": itemClassNames(item)
|
|
4432
4435
|
}, {
|
|
4433
4436
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.value), 1)]),
|
|
4434
4437
|
_: 2
|
|
4435
|
-
}, 1032, [
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4438
|
+
}, 1032, [
|
|
4439
|
+
"value",
|
|
4440
|
+
"is-disabled",
|
|
4441
|
+
"class",
|
|
4442
|
+
"class-names"
|
|
4443
|
+
]);
|
|
4444
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 2),
|
|
4445
|
+
props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4446
|
+
key: 1,
|
|
4447
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.errorMessage(), props.classNames?.errorMessage))
|
|
4448
|
+
}, (0, vue.toDisplayString)(props.errorMessage), 3)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4449
|
+
key: 2,
|
|
4450
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
4451
|
+
}, (0, vue.toDisplayString)(props.description), 3)) : (0, vue.createCommentVNode)("", true)
|
|
4452
|
+
], 10, _hoisted_1$37);
|
|
4439
4453
|
};
|
|
4440
4454
|
}
|
|
4441
4455
|
});
|
|
@@ -4556,17 +4570,6 @@ var Radio_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4556
4570
|
}
|
|
4557
4571
|
});
|
|
4558
4572
|
//#endregion
|
|
4559
|
-
//#region src/components/radio/RadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4560
|
-
var _hoisted_1$44 = { class: "radio-group__wrapper" };
|
|
4561
|
-
var _hoisted_2$21 = {
|
|
4562
|
-
key: 1,
|
|
4563
|
-
class: "radio-group__error-message"
|
|
4564
|
-
};
|
|
4565
|
-
var _hoisted_3$14 = {
|
|
4566
|
-
key: 2,
|
|
4567
|
-
class: "radio-group__description"
|
|
4568
|
-
};
|
|
4569
|
-
//#endregion
|
|
4570
4573
|
//#region src/components/radio/RadioGroup.vue
|
|
4571
4574
|
var RadioGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
4572
4575
|
__name: "RadioGroup",
|
|
@@ -4610,7 +4613,8 @@ var RadioGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4610
4613
|
default: void 0
|
|
4611
4614
|
},
|
|
4612
4615
|
class: {},
|
|
4613
|
-
items: {}
|
|
4616
|
+
items: {},
|
|
4617
|
+
classNames: {}
|
|
4614
4618
|
},
|
|
4615
4619
|
emits: ["update:modelValue"],
|
|
4616
4620
|
setup(__props, { emit: __emit }) {
|
|
@@ -4624,7 +4628,15 @@ var RadioGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4624
4628
|
isInvalid: (0, vue.toRef)(props, "isInvalid")
|
|
4625
4629
|
});
|
|
4626
4630
|
const labelId = `radio-group-label-${Math.random().toString(36).slice(2, 8)}`;
|
|
4627
|
-
const
|
|
4631
|
+
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.radioGroupVariants)({ variant: props.variant }));
|
|
4632
|
+
function itemClassNames(item) {
|
|
4633
|
+
return {
|
|
4634
|
+
base: composeClassName(props.classNames?.radio?.base, item.classNames?.base),
|
|
4635
|
+
control: composeClassName(props.classNames?.radio?.control, item.classNames?.control),
|
|
4636
|
+
indicator: composeClassName(props.classNames?.radio?.indicator, item.classNames?.indicator),
|
|
4637
|
+
content: composeClassName(props.classNames?.radio?.content, item.classNames?.content)
|
|
4638
|
+
};
|
|
4639
|
+
}
|
|
4628
4640
|
return (_ctx, _cache) => {
|
|
4629
4641
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.RadioGroupRoot), {
|
|
4630
4642
|
"model-value": props.modelValue,
|
|
@@ -4639,26 +4651,39 @@ var RadioGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4639
4651
|
as: props.as,
|
|
4640
4652
|
required: (0, vue.unref)(isRequired),
|
|
4641
4653
|
"aria-labelledby": props.label ? labelId : void 0,
|
|
4642
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(
|
|
4654
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
4643
4655
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $event != null && emit("update:modelValue", String($event)))
|
|
4644
4656
|
}, {
|
|
4645
4657
|
default: (0, vue.withCtx)(() => [
|
|
4646
4658
|
props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4647
4659
|
key: 0,
|
|
4648
4660
|
id: labelId,
|
|
4649
|
-
class:
|
|
4650
|
-
}, (0, vue.toDisplayString)(props.label),
|
|
4651
|
-
(0, vue.createElementVNode)("div",
|
|
4661
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
4662
|
+
}, (0, vue.toDisplayString)(props.label), 3)) : (0, vue.createCommentVNode)("", true),
|
|
4663
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.wrapper(), props.classNames?.wrapper)) }, [props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(props.items, (item) => {
|
|
4652
4664
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Radio_default, {
|
|
4653
4665
|
key: item.value,
|
|
4654
4666
|
value: item.value,
|
|
4655
|
-
"is-disabled": item.disabled
|
|
4667
|
+
"is-disabled": item.disabled,
|
|
4668
|
+
class: (0, vue.normalizeClass)(item.class),
|
|
4669
|
+
"class-names": itemClassNames(item)
|
|
4656
4670
|
}, {
|
|
4657
4671
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.value), 1)]),
|
|
4658
4672
|
_: 2
|
|
4659
|
-
}, 1032, [
|
|
4660
|
-
|
|
4661
|
-
|
|
4673
|
+
}, 1032, [
|
|
4674
|
+
"value",
|
|
4675
|
+
"is-disabled",
|
|
4676
|
+
"class",
|
|
4677
|
+
"class-names"
|
|
4678
|
+
]);
|
|
4679
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 2),
|
|
4680
|
+
props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4681
|
+
key: 1,
|
|
4682
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.errorMessage(), props.classNames?.errorMessage))
|
|
4683
|
+
}, (0, vue.toDisplayString)(props.errorMessage), 3)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4684
|
+
key: 2,
|
|
4685
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
4686
|
+
}, (0, vue.toDisplayString)(props.description), 3)) : (0, vue.createCommentVNode)("", true)
|
|
4662
4687
|
]),
|
|
4663
4688
|
_: 3
|
|
4664
4689
|
}, 8, [
|
|
@@ -4831,19 +4856,11 @@ var Switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4831
4856
|
});
|
|
4832
4857
|
//#endregion
|
|
4833
4858
|
//#region src/components/switch/SwitchGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4834
|
-
var _hoisted_1$
|
|
4859
|
+
var _hoisted_1$36 = [
|
|
4835
4860
|
"aria-labelledby",
|
|
4836
4861
|
"aria-invalid",
|
|
4837
4862
|
"data-orientation"
|
|
4838
4863
|
];
|
|
4839
|
-
var _hoisted_2$20 = {
|
|
4840
|
-
key: 1,
|
|
4841
|
-
class: "switch-group__error-message"
|
|
4842
|
-
};
|
|
4843
|
-
var _hoisted_3$13 = {
|
|
4844
|
-
key: 2,
|
|
4845
|
-
class: "switch-group__description"
|
|
4846
|
-
};
|
|
4847
4864
|
//#endregion
|
|
4848
4865
|
//#region src/components/switch/SwitchGroup.vue
|
|
4849
4866
|
var SwitchGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -4870,7 +4887,8 @@ var SwitchGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4870
4887
|
label: { default: void 0 },
|
|
4871
4888
|
description: { default: void 0 },
|
|
4872
4889
|
class: {},
|
|
4873
|
-
items: {}
|
|
4890
|
+
items: {},
|
|
4891
|
+
classNames: {}
|
|
4874
4892
|
},
|
|
4875
4893
|
emits: ["update:modelValue"],
|
|
4876
4894
|
setup(__props, { emit: __emit }) {
|
|
@@ -4894,6 +4912,14 @@ var SwitchGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4894
4912
|
});
|
|
4895
4913
|
const labelId = `switch-group-label-${Math.random().toString(36).slice(2, 8)}`;
|
|
4896
4914
|
const groupSlots = (0, vue.computed)(() => (0, _auronui_styles.switchGroupVariants)({ orientation: props.orientation }));
|
|
4915
|
+
function itemClassNames(item) {
|
|
4916
|
+
return {
|
|
4917
|
+
base: composeClassName(props.classNames?.switch?.base, item.classNames?.base),
|
|
4918
|
+
control: composeClassName(props.classNames?.switch?.control, item.classNames?.control),
|
|
4919
|
+
thumb: composeClassName(props.classNames?.switch?.thumb, item.classNames?.thumb),
|
|
4920
|
+
content: composeClassName(props.classNames?.switch?.content, item.classNames?.content)
|
|
4921
|
+
};
|
|
4922
|
+
}
|
|
4897
4923
|
return (_ctx, _cache) => {
|
|
4898
4924
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
4899
4925
|
role: "group",
|
|
@@ -4905,20 +4931,33 @@ var SwitchGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
4905
4931
|
props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4906
4932
|
key: 0,
|
|
4907
4933
|
id: labelId,
|
|
4908
|
-
class:
|
|
4909
|
-
}, (0, vue.toDisplayString)(props.label),
|
|
4910
|
-
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(groupSlots.value.items()) }, [props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(props.items, (item) => {
|
|
4934
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(groupSlots.value.label(), props.classNames?.label))
|
|
4935
|
+
}, (0, vue.toDisplayString)(props.label), 3)) : (0, vue.createCommentVNode)("", true),
|
|
4936
|
+
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(groupSlots.value.items(), props.classNames?.items)) }, [props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(props.items, (item) => {
|
|
4911
4937
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Switch_default, {
|
|
4912
4938
|
key: item.value,
|
|
4913
4939
|
value: item.value,
|
|
4914
|
-
"is-disabled": item.disabled
|
|
4940
|
+
"is-disabled": item.disabled,
|
|
4941
|
+
class: (0, vue.normalizeClass)(item.class),
|
|
4942
|
+
"class-names": itemClassNames(item)
|
|
4915
4943
|
}, {
|
|
4916
4944
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.value), 1)]),
|
|
4917
4945
|
_: 2
|
|
4918
|
-
}, 1032, [
|
|
4946
|
+
}, 1032, [
|
|
4947
|
+
"value",
|
|
4948
|
+
"is-disabled",
|
|
4949
|
+
"class",
|
|
4950
|
+
"class-names"
|
|
4951
|
+
]);
|
|
4919
4952
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 2),
|
|
4920
|
-
props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span",
|
|
4921
|
-
|
|
4953
|
+
props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4954
|
+
key: 1,
|
|
4955
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(groupSlots.value.errorMessage(), props.classNames?.errorMessage))
|
|
4956
|
+
}, (0, vue.toDisplayString)(props.errorMessage), 3)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4957
|
+
key: 2,
|
|
4958
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(groupSlots.value.description(), props.classNames?.description))
|
|
4959
|
+
}, (0, vue.toDisplayString)(props.description), 3)) : (0, vue.createCommentVNode)("", true)
|
|
4960
|
+
], 10, _hoisted_1$36);
|
|
4922
4961
|
};
|
|
4923
4962
|
}
|
|
4924
4963
|
});
|
|
@@ -14496,7 +14535,8 @@ var modalVariants = (0, tailwind_variants.tv)({
|
|
|
14496
14535
|
header: "modal__header",
|
|
14497
14536
|
heading: "modal__heading",
|
|
14498
14537
|
icon: "modal__icon",
|
|
14499
|
-
trigger: "modal__trigger"
|
|
14538
|
+
trigger: "modal__trigger",
|
|
14539
|
+
portal: "modal__portal"
|
|
14500
14540
|
},
|
|
14501
14541
|
variants: {
|
|
14502
14542
|
scroll: {
|
|
@@ -14569,9 +14609,6 @@ var ModalOverlay_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14569
14609
|
}
|
|
14570
14610
|
});
|
|
14571
14611
|
//#endregion
|
|
14572
|
-
//#region src/components/modal/ModalContent.vue?vue&type=script&setup=true&lang.ts
|
|
14573
|
-
var _hoisted_1$42 = { class: "modal__portal" };
|
|
14574
|
-
//#endregion
|
|
14575
14612
|
//#region src/components/modal/ModalContent.vue
|
|
14576
14613
|
var ModalContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
14577
14614
|
__name: "ModalContent",
|
|
@@ -14626,7 +14663,7 @@ var ModalContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14626
14663
|
defer: props.defer,
|
|
14627
14664
|
"force-mount": props.forceMount
|
|
14628
14665
|
}, {
|
|
14629
|
-
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div",
|
|
14666
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(styles).portal()) }, [(0, vue.createVNode)(ModalOverlay_default), (0, vue.createVNode)((0, vue.unref)(reka_ui.DialogContent), {
|
|
14630
14667
|
as: props.as,
|
|
14631
14668
|
"as-child": props.asChild,
|
|
14632
14669
|
"force-mount": props.forceMount,
|
|
@@ -14683,7 +14720,7 @@ var ModalContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14683
14720
|
"class",
|
|
14684
14721
|
"data-placement",
|
|
14685
14722
|
"aria-hidden"
|
|
14686
|
-
])])]),
|
|
14723
|
+
])], 2)]),
|
|
14687
14724
|
_: 3
|
|
14688
14725
|
}, 8, [
|
|
14689
14726
|
"to",
|
|
@@ -14999,7 +15036,7 @@ var AlertDialogOverlay_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14999
15036
|
});
|
|
15000
15037
|
//#endregion
|
|
15001
15038
|
//#region src/components/alert-dialog/AlertDialogContent.vue?vue&type=script&setup=true&lang.ts
|
|
15002
|
-
var _hoisted_1$
|
|
15039
|
+
var _hoisted_1$35 = ["data-placement"];
|
|
15003
15040
|
//#endregion
|
|
15004
15041
|
//#region src/components/alert-dialog/AlertDialogContent.vue
|
|
15005
15042
|
var AlertDialogContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -15065,7 +15102,7 @@ var AlertDialogContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15065
15102
|
"disable-outside-pointer-events",
|
|
15066
15103
|
"class",
|
|
15067
15104
|
"data-placement"
|
|
15068
|
-
])], 10, _hoisted_1$
|
|
15105
|
+
])], 10, _hoisted_1$35)]),
|
|
15069
15106
|
_: 3
|
|
15070
15107
|
}, 8, [
|
|
15071
15108
|
"to",
|
|
@@ -15111,10 +15148,12 @@ var ScrollArea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15111
15148
|
thumbAs: {},
|
|
15112
15149
|
thumbAsChild: { type: Boolean },
|
|
15113
15150
|
cornerAs: {},
|
|
15114
|
-
cornerAsChild: { type: Boolean }
|
|
15151
|
+
cornerAsChild: { type: Boolean },
|
|
15152
|
+
classNames: {}
|
|
15115
15153
|
},
|
|
15116
15154
|
setup(__props) {
|
|
15117
15155
|
const props = __props;
|
|
15156
|
+
const slotFns = (0, _auronui_styles.scrollAreaVariants)();
|
|
15118
15157
|
return (_ctx, _cache) => {
|
|
15119
15158
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ScrollAreaRoot), {
|
|
15120
15159
|
type: props.type,
|
|
@@ -15122,14 +15161,14 @@ var ScrollArea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15122
15161
|
dir: props.dir,
|
|
15123
15162
|
as: props.as,
|
|
15124
15163
|
"as-child": props.asChild,
|
|
15125
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(
|
|
15164
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).root(), props.class, props.classNames?.root))
|
|
15126
15165
|
}, {
|
|
15127
15166
|
default: (0, vue.withCtx)(() => [
|
|
15128
15167
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ScrollAreaViewport), {
|
|
15129
15168
|
nonce: props.viewportNonce,
|
|
15130
15169
|
as: props.viewportAs,
|
|
15131
15170
|
"as-child": props.viewportAsChild,
|
|
15132
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(
|
|
15171
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).viewport(), props.viewportClass, props.classNames?.viewport))
|
|
15133
15172
|
}, {
|
|
15134
15173
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
15135
15174
|
_: 3
|
|
@@ -15145,18 +15184,23 @@ var ScrollArea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15145
15184
|
"force-mount": props.scrollbarForceMount,
|
|
15146
15185
|
as: props.scrollbarAs,
|
|
15147
15186
|
"as-child": props.scrollbarAsChild,
|
|
15148
|
-
class: "scroll-area__scrollbar
|
|
15187
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).scrollbar(), "scroll-area__scrollbar--vertical", props.classNames?.scrollbar))
|
|
15149
15188
|
}, {
|
|
15150
15189
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.ScrollAreaThumb), {
|
|
15151
15190
|
as: props.thumbAs,
|
|
15152
15191
|
"as-child": props.thumbAsChild,
|
|
15153
|
-
class:
|
|
15154
|
-
}, null, 8, [
|
|
15192
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).thumb(), props.classNames?.thumb))
|
|
15193
|
+
}, null, 8, [
|
|
15194
|
+
"as",
|
|
15195
|
+
"as-child",
|
|
15196
|
+
"class"
|
|
15197
|
+
])]),
|
|
15155
15198
|
_: 1
|
|
15156
15199
|
}, 8, [
|
|
15157
15200
|
"force-mount",
|
|
15158
15201
|
"as",
|
|
15159
|
-
"as-child"
|
|
15202
|
+
"as-child",
|
|
15203
|
+
"class"
|
|
15160
15204
|
])) : (0, vue.createCommentVNode)("", true),
|
|
15161
15205
|
props.orientation === "horizontal" || props.orientation === "both" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ScrollAreaScrollbar), {
|
|
15162
15206
|
key: 1,
|
|
@@ -15164,25 +15208,34 @@ var ScrollArea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15164
15208
|
"force-mount": props.scrollbarForceMount,
|
|
15165
15209
|
as: props.scrollbarAs,
|
|
15166
15210
|
"as-child": props.scrollbarAsChild,
|
|
15167
|
-
class: "scroll-area__scrollbar
|
|
15211
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).scrollbar(), "scroll-area__scrollbar--horizontal", props.classNames?.scrollbar))
|
|
15168
15212
|
}, {
|
|
15169
15213
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.ScrollAreaThumb), {
|
|
15170
15214
|
as: props.thumbAs,
|
|
15171
15215
|
"as-child": props.thumbAsChild,
|
|
15172
|
-
class:
|
|
15173
|
-
}, null, 8, [
|
|
15216
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).thumb(), props.classNames?.thumb))
|
|
15217
|
+
}, null, 8, [
|
|
15218
|
+
"as",
|
|
15219
|
+
"as-child",
|
|
15220
|
+
"class"
|
|
15221
|
+
])]),
|
|
15174
15222
|
_: 1
|
|
15175
15223
|
}, 8, [
|
|
15176
15224
|
"force-mount",
|
|
15177
15225
|
"as",
|
|
15178
|
-
"as-child"
|
|
15226
|
+
"as-child",
|
|
15227
|
+
"class"
|
|
15179
15228
|
])) : (0, vue.createCommentVNode)("", true),
|
|
15180
15229
|
props.orientation === "both" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ScrollAreaCorner), {
|
|
15181
15230
|
key: 2,
|
|
15182
15231
|
as: props.cornerAs,
|
|
15183
15232
|
"as-child": props.cornerAsChild,
|
|
15184
|
-
class:
|
|
15185
|
-
}, null, 8, [
|
|
15233
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).corner(), props.classNames?.corner))
|
|
15234
|
+
}, null, 8, [
|
|
15235
|
+
"as",
|
|
15236
|
+
"as-child",
|
|
15237
|
+
"class"
|
|
15238
|
+
])) : (0, vue.createCommentVNode)("", true)
|
|
15186
15239
|
]),
|
|
15187
15240
|
_: 3
|
|
15188
15241
|
}, 8, [
|
|
@@ -15291,7 +15344,7 @@ var AlertDialogDescription_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15291
15344
|
});
|
|
15292
15345
|
//#endregion
|
|
15293
15346
|
//#region src/components/alert-dialog/AlertDialogIcon.vue?vue&type=script&setup=true&lang.ts
|
|
15294
|
-
var _hoisted_1$
|
|
15347
|
+
var _hoisted_1$34 = {
|
|
15295
15348
|
key: 0,
|
|
15296
15349
|
"data-slot": "alert-dialog-default-icon",
|
|
15297
15350
|
viewBox: "0 0 24 24",
|
|
@@ -15301,7 +15354,7 @@ var _hoisted_1$40 = {
|
|
|
15301
15354
|
"stroke-linecap": "round",
|
|
15302
15355
|
"stroke-linejoin": "round"
|
|
15303
15356
|
};
|
|
15304
|
-
var _hoisted_2$
|
|
15357
|
+
var _hoisted_2$15 = {
|
|
15305
15358
|
key: 1,
|
|
15306
15359
|
"data-slot": "alert-dialog-default-icon",
|
|
15307
15360
|
viewBox: "0 0 24 24",
|
|
@@ -15311,7 +15364,7 @@ var _hoisted_2$19 = {
|
|
|
15311
15364
|
"stroke-linecap": "round",
|
|
15312
15365
|
"stroke-linejoin": "round"
|
|
15313
15366
|
};
|
|
15314
|
-
var _hoisted_3$
|
|
15367
|
+
var _hoisted_3$10 = {
|
|
15315
15368
|
key: 2,
|
|
15316
15369
|
"data-slot": "alert-dialog-default-icon",
|
|
15317
15370
|
viewBox: "0 0 24 24",
|
|
@@ -15321,7 +15374,7 @@ var _hoisted_3$12 = {
|
|
|
15321
15374
|
"stroke-linecap": "round",
|
|
15322
15375
|
"stroke-linejoin": "round"
|
|
15323
15376
|
};
|
|
15324
|
-
var _hoisted_4$
|
|
15377
|
+
var _hoisted_4$6 = {
|
|
15325
15378
|
key: 3,
|
|
15326
15379
|
"data-slot": "alert-dialog-default-icon",
|
|
15327
15380
|
viewBox: "0 0 24 24",
|
|
@@ -15353,7 +15406,7 @@ var AlertDialogIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15353
15406
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
15354
15407
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).icon({ status: resolvedStatus() }), props.class)),
|
|
15355
15408
|
"aria-hidden": "true"
|
|
15356
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [resolvedStatus() === "danger" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
15409
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [resolvedStatus() === "danger" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$34, [..._cache[0] || (_cache[0] = [
|
|
15357
15410
|
(0, vue.createElementVNode)("circle", {
|
|
15358
15411
|
cx: "12",
|
|
15359
15412
|
cy: "12",
|
|
@@ -15361,15 +15414,15 @@ var AlertDialogIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15361
15414
|
}, null, -1),
|
|
15362
15415
|
(0, vue.createElementVNode)("path", { d: "m9 9 6 6" }, null, -1),
|
|
15363
15416
|
(0, vue.createElementVNode)("path", { d: "m15 9-6 6" }, null, -1)
|
|
15364
|
-
])])) : resolvedStatus() === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
15417
|
+
])])) : resolvedStatus() === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$15, [..._cache[1] || (_cache[1] = [
|
|
15365
15418
|
(0, vue.createElementVNode)("path", { d: "M12 3.5 2.8 19.5a1.2 1.2 0 0 0 1 1.8h16.4a1.2 1.2 0 0 0 1-1.8L12 3.5Z" }, null, -1),
|
|
15366
15419
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
15367
15420
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
15368
|
-
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
15421
|
+
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$10, [..._cache[2] || (_cache[2] = [(0, vue.createElementVNode)("circle", {
|
|
15369
15422
|
cx: "12",
|
|
15370
15423
|
cy: "12",
|
|
15371
15424
|
r: "9"
|
|
15372
|
-
}, null, -1), (0, vue.createElementVNode)("path", { d: "m8.5 12.5 2.5 2.5 4.5-5" }, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$
|
|
15425
|
+
}, null, -1), (0, vue.createElementVNode)("path", { d: "m8.5 12.5 2.5 2.5 4.5-5" }, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$6, [..._cache[3] || (_cache[3] = [
|
|
15373
15426
|
(0, vue.createElementVNode)("circle", {
|
|
15374
15427
|
cx: "12",
|
|
15375
15428
|
cy: "12",
|
|
@@ -15708,7 +15761,7 @@ var DrawerOverlay_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15708
15761
|
});
|
|
15709
15762
|
//#endregion
|
|
15710
15763
|
//#region src/components/drawer/DrawerContent.vue?vue&type=script&setup=true&lang.ts
|
|
15711
|
-
var _hoisted_1$
|
|
15764
|
+
var _hoisted_1$33 = ["data-placement", "data-state"];
|
|
15712
15765
|
//#endregion
|
|
15713
15766
|
//#region src/components/drawer/DrawerContent.vue
|
|
15714
15767
|
var DrawerContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -15786,7 +15839,7 @@ var DrawerContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15786
15839
|
}), props.class)),
|
|
15787
15840
|
"data-placement": (0, vue.unref)(ctx).placement.value,
|
|
15788
15841
|
"data-state": (0, vue.unref)(ctx).dockOpen.value ? "open" : "closed"
|
|
15789
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
15842
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$33), [[vue.vShow, (0, vue.unref)(ctx).dockOpen.value]])]),
|
|
15790
15843
|
_: 3
|
|
15791
15844
|
}, 8, ["name"])) : (0, vue.unref)(ctx).inline.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.DialogContent), {
|
|
15792
15845
|
key: 1,
|
|
@@ -16194,13 +16247,6 @@ var HoverCardArrow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16194
16247
|
//#region src/components/tabs/tabs.context.ts
|
|
16195
16248
|
var { useProvide: useTabsProvide, useInject: useTabsInject, key: tabsContextKey } = createContext("Tabs");
|
|
16196
16249
|
//#endregion
|
|
16197
|
-
//#region src/components/tabs/TabList.vue?vue&type=script&setup=true&lang.ts
|
|
16198
|
-
var _hoisted_1$38 = {
|
|
16199
|
-
key: 0,
|
|
16200
|
-
class: "tabs__overflow-menu",
|
|
16201
|
-
role: "menu"
|
|
16202
|
-
};
|
|
16203
|
-
//#endregion
|
|
16204
16250
|
//#region src/components/tabs/TabList.vue
|
|
16205
16251
|
var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
16206
16252
|
__name: "TabList",
|
|
@@ -16370,7 +16416,7 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16370
16416
|
"class"
|
|
16371
16417
|
])) : props.overflow === "arrows" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
16372
16418
|
key: 1,
|
|
16373
|
-
class: (0, vue.normalizeClass)(["tabs__list-container
|
|
16419
|
+
class: (0, vue.normalizeClass)([(0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.tabListContainer(), "tabs__list-container--arrows"), {
|
|
16374
16420
|
"has-left": canScrollLeft.value,
|
|
16375
16421
|
"has-right": canScrollRight.value
|
|
16376
16422
|
}])
|
|
@@ -16403,7 +16449,7 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16403
16449
|
(0, vue.createElementVNode)("div", {
|
|
16404
16450
|
ref_key: "scrollWrapperEl",
|
|
16405
16451
|
ref: scrollWrapperEl,
|
|
16406
|
-
class:
|
|
16452
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.scrollWrapper())
|
|
16407
16453
|
}, [(0, vue.createVNode)((0, vue.unref)(reka_ui.TabsList), {
|
|
16408
16454
|
loop: props.loop ?? true,
|
|
16409
16455
|
as: props.as,
|
|
@@ -16417,7 +16463,7 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16417
16463
|
"as",
|
|
16418
16464
|
"as-child",
|
|
16419
16465
|
"class"
|
|
16420
|
-
])],
|
|
16466
|
+
])], 2),
|
|
16421
16467
|
(0, vue.createVNode)(Button_default, {
|
|
16422
16468
|
variant: "secondary",
|
|
16423
16469
|
size: "sm",
|
|
@@ -16447,7 +16493,7 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16447
16493
|
key: 2,
|
|
16448
16494
|
ref_key: "containerEl",
|
|
16449
16495
|
ref: containerEl,
|
|
16450
|
-
class: "tabs__list-container
|
|
16496
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.tabListContainer(), "tabs__list-container--dropdown"))
|
|
16451
16497
|
}, [(0, vue.createVNode)((0, vue.unref)(reka_ui.TabsList), {
|
|
16452
16498
|
loop: props.loop ?? true,
|
|
16453
16499
|
as: props.as,
|
|
@@ -16464,12 +16510,12 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16464
16510
|
]), (0, vue.createElementVNode)("div", {
|
|
16465
16511
|
ref_key: "dropdownEl",
|
|
16466
16512
|
ref: dropdownEl,
|
|
16467
|
-
class: (0, vue.normalizeClass)([
|
|
16513
|
+
class: (0, vue.normalizeClass)([(0, vue.unref)(ctx).slotFns.value.more(), { "tabs__more--visible": hasOverflow.value }])
|
|
16468
16514
|
}, [(0, vue.createVNode)(Button_default, {
|
|
16469
16515
|
variant: "secondary",
|
|
16470
16516
|
size: "sm",
|
|
16471
16517
|
radius: "full",
|
|
16472
|
-
class:
|
|
16518
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.moreBtn()),
|
|
16473
16519
|
"aria-expanded": dropdownOpen.value,
|
|
16474
16520
|
"aria-haspopup": "menu",
|
|
16475
16521
|
onClick: _cache[2] || (_cache[2] = ($event) => dropdownOpen.value = !dropdownOpen.value)
|
|
@@ -16488,20 +16534,28 @@ var TabList_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16488
16534
|
"stroke-linejoin": "round"
|
|
16489
16535
|
})], -1))]),
|
|
16490
16536
|
_: 1
|
|
16491
|
-
}, 8, ["aria-expanded"]), dropdownOpen.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div",
|
|
16537
|
+
}, 8, ["class", "aria-expanded"]), dropdownOpen.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
16538
|
+
key: 0,
|
|
16539
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.overflowMenu()),
|
|
16540
|
+
role: "menu"
|
|
16541
|
+
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(hiddenTabs.value, (tab) => {
|
|
16492
16542
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Button_default, {
|
|
16493
16543
|
key: tab.value,
|
|
16494
16544
|
variant: "ghost",
|
|
16495
16545
|
radius: "lg",
|
|
16496
|
-
class:
|
|
16546
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.overflowItem()),
|
|
16497
16547
|
role: "menuitem",
|
|
16498
16548
|
"is-disabled": tab.disabled,
|
|
16499
16549
|
onClick: ($event) => selectOverflowTab(tab.value)
|
|
16500
16550
|
}, {
|
|
16501
16551
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(tab.label), 1)]),
|
|
16502
16552
|
_: 2
|
|
16503
|
-
}, 1032, [
|
|
16504
|
-
|
|
16553
|
+
}, 1032, [
|
|
16554
|
+
"class",
|
|
16555
|
+
"is-disabled",
|
|
16556
|
+
"onClick"
|
|
16557
|
+
]);
|
|
16558
|
+
}), 128))], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 2)) : (0, vue.createCommentVNode)("", true);
|
|
16505
16559
|
};
|
|
16506
16560
|
}
|
|
16507
16561
|
});
|
|
@@ -16619,7 +16673,9 @@ var Tabs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16619
16673
|
dir: {},
|
|
16620
16674
|
unmountOnHide: { type: Boolean },
|
|
16621
16675
|
as: {},
|
|
16622
|
-
asChild: { type: Boolean }
|
|
16676
|
+
asChild: { type: Boolean },
|
|
16677
|
+
loop: { type: Boolean },
|
|
16678
|
+
overflow: {}
|
|
16623
16679
|
},
|
|
16624
16680
|
emits: ["update:modelValue"],
|
|
16625
16681
|
setup(__props, { emit: __emit }) {
|
|
@@ -16656,26 +16712,47 @@ var Tabs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16656
16712
|
"data-orientation": props.orientation,
|
|
16657
16713
|
"onUpdate:modelValue": changeTab
|
|
16658
16714
|
}, {
|
|
16659
|
-
default: (0, vue.withCtx)(() => [props.items ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createVNode)(TabList_default,
|
|
16715
|
+
default: (0, vue.withCtx)(() => [props.items ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createVNode)(TabList_default, {
|
|
16716
|
+
loop: props.loop,
|
|
16717
|
+
overflow: props.overflow,
|
|
16718
|
+
"class-names": { tabList: props.classNames?.tabList }
|
|
16719
|
+
}, {
|
|
16660
16720
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(props.items, (item) => {
|
|
16661
16721
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Tab_default, {
|
|
16662
16722
|
key: item.value,
|
|
16663
16723
|
value: item.value,
|
|
16664
|
-
"is-disabled": item.disabled
|
|
16724
|
+
"is-disabled": item.disabled,
|
|
16725
|
+
class: (0, vue.normalizeClass)(item.class),
|
|
16726
|
+
"class-names": item.classNames
|
|
16665
16727
|
}, {
|
|
16666
16728
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label), 1)]),
|
|
16667
16729
|
_: 2
|
|
16668
|
-
}, 1032, [
|
|
16730
|
+
}, 1032, [
|
|
16731
|
+
"value",
|
|
16732
|
+
"is-disabled",
|
|
16733
|
+
"class",
|
|
16734
|
+
"class-names"
|
|
16735
|
+
]);
|
|
16669
16736
|
}), 128))]),
|
|
16670
16737
|
_: 1
|
|
16671
|
-
}
|
|
16738
|
+
}, 8, [
|
|
16739
|
+
"loop",
|
|
16740
|
+
"overflow",
|
|
16741
|
+
"class-names"
|
|
16742
|
+
]), ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(props.items, (item) => {
|
|
16672
16743
|
return (0, vue.openBlock)(), (0, vue.createBlock)(TabPanel_default, {
|
|
16673
16744
|
key: item.value,
|
|
16674
|
-
value: item.value
|
|
16745
|
+
value: item.value,
|
|
16746
|
+
class: (0, vue.normalizeClass)(item.panelClass),
|
|
16747
|
+
"class-names": item.panelClassNames
|
|
16675
16748
|
}, {
|
|
16676
16749
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.content), 1)]),
|
|
16677
16750
|
_: 2
|
|
16678
|
-
}, 1032, [
|
|
16751
|
+
}, 1032, [
|
|
16752
|
+
"value",
|
|
16753
|
+
"class",
|
|
16754
|
+
"class-names"
|
|
16755
|
+
]);
|
|
16679
16756
|
}), 128))], 64)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })]),
|
|
16680
16757
|
_: 3
|
|
16681
16758
|
}, 8, [
|
|
@@ -16997,20 +17074,31 @@ var Accordion_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16997
17074
|
return (0, vue.openBlock)(), (0, vue.createBlock)(AccordionItem_default, {
|
|
16998
17075
|
key: item.value,
|
|
16999
17076
|
value: item.value,
|
|
17000
|
-
"is-disabled": item.disabled
|
|
17077
|
+
"is-disabled": item.disabled,
|
|
17078
|
+
"class-names": { item: props.classNames?.item }
|
|
17001
17079
|
}, {
|
|
17002
17080
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(AccordionHeader_default, null, {
|
|
17003
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(AccordionTrigger_default,
|
|
17081
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(AccordionTrigger_default, { "class-names": {
|
|
17082
|
+
trigger: props.classNames?.trigger,
|
|
17083
|
+
indicator: props.classNames?.indicator
|
|
17084
|
+
} }, {
|
|
17004
17085
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.title), 1)]),
|
|
17005
17086
|
_: 2
|
|
17006
|
-
},
|
|
17087
|
+
}, 1032, ["class-names"])]),
|
|
17007
17088
|
_: 2
|
|
17008
|
-
}, 1024), (0, vue.createVNode)(AccordionContent_default,
|
|
17089
|
+
}, 1024), (0, vue.createVNode)(AccordionContent_default, { "class-names": {
|
|
17090
|
+
body: props.classNames?.body,
|
|
17091
|
+
bodyInner: props.classNames?.bodyInner
|
|
17092
|
+
} }, {
|
|
17009
17093
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.content), 1)]),
|
|
17010
17094
|
_: 2
|
|
17011
|
-
},
|
|
17095
|
+
}, 1032, ["class-names"])]),
|
|
17012
17096
|
_: 2
|
|
17013
|
-
}, 1032, [
|
|
17097
|
+
}, 1032, [
|
|
17098
|
+
"value",
|
|
17099
|
+
"is-disabled",
|
|
17100
|
+
"class-names"
|
|
17101
|
+
]);
|
|
17014
17102
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })]),
|
|
17015
17103
|
_: 3
|
|
17016
17104
|
}, 8, [
|
|
@@ -17133,7 +17221,7 @@ var Collapsible_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17133
17221
|
});
|
|
17134
17222
|
//#endregion
|
|
17135
17223
|
//#region src/components/collapsible/CollapsibleTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
17136
|
-
var _hoisted_1$
|
|
17224
|
+
var _hoisted_1$32 = ["data-state"];
|
|
17137
17225
|
//#endregion
|
|
17138
17226
|
//#region src/components/collapsible/CollapsibleTrigger.vue
|
|
17139
17227
|
var CollapsibleTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -17175,7 +17263,7 @@ var CollapsibleTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17175
17263
|
"stroke-linejoin": "round",
|
|
17176
17264
|
"aria-hidden": "true",
|
|
17177
17265
|
focusable: "false"
|
|
17178
|
-
}, [(0, vue.createElementVNode)("polyline", { points: "6 9 12 15 18 9" })], -1)])], 10, _hoisted_1$
|
|
17266
|
+
}, [(0, vue.createElementVNode)("polyline", { points: "6 9 12 15 18 9" })], -1)])], 10, _hoisted_1$32)]),
|
|
17179
17267
|
_: 3
|
|
17180
17268
|
}, 8, [
|
|
17181
17269
|
"as",
|
|
@@ -17294,13 +17382,19 @@ var CollapsibleGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17294
17382
|
"default-open": item.defaultOpen,
|
|
17295
17383
|
"is-disabled": item.disabled
|
|
17296
17384
|
}, {
|
|
17297
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(CollapsibleTrigger_default,
|
|
17385
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(CollapsibleTrigger_default, { "class-names": {
|
|
17386
|
+
trigger: props.classNames?.trigger,
|
|
17387
|
+
indicator: props.classNames?.indicator
|
|
17388
|
+
} }, {
|
|
17298
17389
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.title), 1)]),
|
|
17299
17390
|
_: 2
|
|
17300
|
-
},
|
|
17391
|
+
}, 1032, ["class-names"]), (0, vue.createVNode)(CollapsibleContent_default, { "class-names": {
|
|
17392
|
+
body: props.classNames?.body,
|
|
17393
|
+
bodyInner: props.classNames?.bodyInner
|
|
17394
|
+
} }, {
|
|
17301
17395
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.content), 1)]),
|
|
17302
17396
|
_: 2
|
|
17303
|
-
},
|
|
17397
|
+
}, 1032, ["class-names"])]),
|
|
17304
17398
|
_: 2
|
|
17305
17399
|
}, 1032, ["default-open", "is-disabled"]);
|
|
17306
17400
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 2);
|
|
@@ -17312,9 +17406,9 @@ var CollapsibleGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17312
17406
|
var { useProvide: useBreadcrumbsProvide, useInject: useBreadcrumbsInject, key: breadcrumbsContextKey } = createContext("Breadcrumbs");
|
|
17313
17407
|
//#endregion
|
|
17314
17408
|
//#region src/components/breadcrumbs/BreadcrumbItem.vue?vue&type=script&setup=true&lang.ts
|
|
17315
|
-
var _hoisted_1$
|
|
17316
|
-
var _hoisted_2$
|
|
17317
|
-
var _hoisted_3$
|
|
17409
|
+
var _hoisted_1$31 = ["aria-current"];
|
|
17410
|
+
var _hoisted_2$14 = ["href"];
|
|
17411
|
+
var _hoisted_3$9 = {
|
|
17318
17412
|
key: 1,
|
|
17319
17413
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17320
17414
|
viewBox: "0 0 24 24",
|
|
@@ -17356,14 +17450,14 @@ var BreadcrumbItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17356
17450
|
key: 0,
|
|
17357
17451
|
href: props.href,
|
|
17358
17452
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.link(), props.classNames?.link))
|
|
17359
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_2$
|
|
17453
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_2$14)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
17360
17454
|
key: 1,
|
|
17361
17455
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.link(), props.classNames?.link))
|
|
17362
17456
|
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2)), !props.isLast ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
17363
17457
|
key: 2,
|
|
17364
17458
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.separator(), props.classNames?.separator)),
|
|
17365
17459
|
"aria-hidden": "true"
|
|
17366
|
-
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
17460
|
+
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$9, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("polyline", { points: "9 6 15 12 9 18" }, null, -1)])]))], 2)) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$31);
|
|
17367
17461
|
};
|
|
17368
17462
|
}
|
|
17369
17463
|
});
|
|
@@ -17440,11 +17534,20 @@ var Breadcrumbs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17440
17534
|
return (0, vue.openBlock)(), (0, vue.createBlock)(BreadcrumbItem_default, {
|
|
17441
17535
|
key: idx,
|
|
17442
17536
|
href: item.href,
|
|
17443
|
-
"is-last": idx === renderedItems.value.length - 1
|
|
17537
|
+
"is-last": idx === renderedItems.value.length - 1,
|
|
17538
|
+
"class-names": {
|
|
17539
|
+
item: props.classNames?.item,
|
|
17540
|
+
link: props.classNames?.link,
|
|
17541
|
+
separator: props.classNames?.separator
|
|
17542
|
+
}
|
|
17444
17543
|
}, {
|
|
17445
17544
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label), 1)]),
|
|
17446
17545
|
_: 2
|
|
17447
|
-
}, 1032, [
|
|
17546
|
+
}, 1032, [
|
|
17547
|
+
"href",
|
|
17548
|
+
"is-last",
|
|
17549
|
+
"class-names"
|
|
17550
|
+
]);
|
|
17448
17551
|
}), 128)) : ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(renderedChildren.value, (child, idx) => {
|
|
17449
17552
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(child), { key: idx });
|
|
17450
17553
|
}), 128))], 2)], 2);
|
|
@@ -17759,7 +17862,7 @@ var ToolbarToggleGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17759
17862
|
});
|
|
17760
17863
|
//#endregion
|
|
17761
17864
|
//#region src/components/alert/Alert.vue?vue&type=script&setup=true&lang.ts
|
|
17762
|
-
var _hoisted_1$
|
|
17865
|
+
var _hoisted_1$30 = {
|
|
17763
17866
|
key: 0,
|
|
17764
17867
|
"data-slot": "alert-default-icon",
|
|
17765
17868
|
viewBox: "0 0 24 24",
|
|
@@ -17769,7 +17872,7 @@ var _hoisted_1$35 = {
|
|
|
17769
17872
|
"stroke-linecap": "round",
|
|
17770
17873
|
"stroke-linejoin": "round"
|
|
17771
17874
|
};
|
|
17772
|
-
var _hoisted_2$
|
|
17875
|
+
var _hoisted_2$13 = {
|
|
17773
17876
|
key: 1,
|
|
17774
17877
|
"data-slot": "alert-default-icon",
|
|
17775
17878
|
viewBox: "0 0 24 24",
|
|
@@ -17779,7 +17882,7 @@ var _hoisted_2$17 = {
|
|
|
17779
17882
|
"stroke-linecap": "round",
|
|
17780
17883
|
"stroke-linejoin": "round"
|
|
17781
17884
|
};
|
|
17782
|
-
var _hoisted_3$
|
|
17885
|
+
var _hoisted_3$8 = {
|
|
17783
17886
|
key: 2,
|
|
17784
17887
|
"data-slot": "alert-default-icon",
|
|
17785
17888
|
viewBox: "0 0 24 24",
|
|
@@ -17789,7 +17892,7 @@ var _hoisted_3$10 = {
|
|
|
17789
17892
|
"stroke-linecap": "round",
|
|
17790
17893
|
"stroke-linejoin": "round"
|
|
17791
17894
|
};
|
|
17792
|
-
var _hoisted_4$
|
|
17895
|
+
var _hoisted_4$5 = {
|
|
17793
17896
|
key: 3,
|
|
17794
17897
|
"data-slot": "alert-default-icon",
|
|
17795
17898
|
viewBox: "0 0 24 24",
|
|
@@ -17854,7 +17957,7 @@ var Alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17854
17957
|
(0, vue.renderSlot)(_ctx.$slots, "icon", {}, () => [(0, vue.createElementVNode)("span", {
|
|
17855
17958
|
class: (0, vue.normalizeClass)(styles.value.indicator()),
|
|
17856
17959
|
"aria-hidden": "true"
|
|
17857
|
-
}, [__props.severity === "default" || __props.severity === "primary" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
17960
|
+
}, [__props.severity === "default" || __props.severity === "primary" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$30, [..._cache[0] || (_cache[0] = [
|
|
17858
17961
|
(0, vue.createElementVNode)("circle", {
|
|
17859
17962
|
cx: "12",
|
|
17860
17963
|
cy: "12",
|
|
@@ -17862,15 +17965,15 @@ var Alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17862
17965
|
}, null, -1),
|
|
17863
17966
|
(0, vue.createElementVNode)("path", { d: "M12 8h.01" }, null, -1),
|
|
17864
17967
|
(0, vue.createElementVNode)("path", { d: "M11 12h1v4h1" }, null, -1)
|
|
17865
|
-
])])) : __props.severity === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
17968
|
+
])])) : __props.severity === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$13, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("circle", {
|
|
17866
17969
|
cx: "12",
|
|
17867
17970
|
cy: "12",
|
|
17868
17971
|
r: "9"
|
|
17869
|
-
}, null, -1), (0, vue.createElementVNode)("path", { d: "m8.5 12.5 2.5 2.5 4.5-5" }, null, -1)])])) : __props.severity === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
17972
|
+
}, null, -1), (0, vue.createElementVNode)("path", { d: "m8.5 12.5 2.5 2.5 4.5-5" }, null, -1)])])) : __props.severity === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$8, [..._cache[2] || (_cache[2] = [
|
|
17870
17973
|
(0, vue.createElementVNode)("path", { d: "M12 3.5 2.8 19.5a1.2 1.2 0 0 0 1 1.8h16.4a1.2 1.2 0 0 0 1-1.8L12 3.5Z" }, null, -1),
|
|
17871
17974
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
17872
17975
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
17873
|
-
])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$
|
|
17976
|
+
])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_4$5, [..._cache[3] || (_cache[3] = [
|
|
17874
17977
|
(0, vue.createElementVNode)("circle", {
|
|
17875
17978
|
cx: "12",
|
|
17876
17979
|
cy: "12",
|
|
@@ -18290,9 +18393,6 @@ function useToast() {
|
|
|
18290
18393
|
};
|
|
18291
18394
|
}
|
|
18292
18395
|
//#endregion
|
|
18293
|
-
//#region src/components/toast/ToastViewport.vue?vue&type=script&setup=true&lang.ts
|
|
18294
|
-
var _hoisted_1$34 = { class: "flex shrink-0 items-center gap-1 ml-auto" };
|
|
18295
|
-
//#endregion
|
|
18296
18396
|
//#region src/components/toast/ToastViewport.vue
|
|
18297
18397
|
var ToastViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
18298
18398
|
__name: "ToastViewport",
|
|
@@ -18306,7 +18406,8 @@ var ToastViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18306
18406
|
disableSwipe: { type: Boolean },
|
|
18307
18407
|
swipeThreshold: {},
|
|
18308
18408
|
as: {},
|
|
18309
|
-
asChild: { type: Boolean }
|
|
18409
|
+
asChild: { type: Boolean },
|
|
18410
|
+
classNames: {}
|
|
18310
18411
|
},
|
|
18311
18412
|
setup(__props) {
|
|
18312
18413
|
/**
|
|
@@ -18365,28 +18466,41 @@ var ToastViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18365
18466
|
duration: toast.duration,
|
|
18366
18467
|
position: toast.position,
|
|
18367
18468
|
variant: toast.variant,
|
|
18469
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.classNames?.toast)),
|
|
18368
18470
|
"onUpdate:open": (open) => handleOpenChange(toast.id, open)
|
|
18369
18471
|
}, {
|
|
18370
|
-
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(styles.value.content()) }, [(0, vue.createVNode)(ToastTitle_default,
|
|
18472
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(styles.value.content(), props.classNames?.content)) }, [(0, vue.createVNode)(ToastTitle_default, { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.classNames?.title)) }, {
|
|
18371
18473
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(toast.title), 1)]),
|
|
18372
18474
|
_: 2
|
|
18373
|
-
},
|
|
18475
|
+
}, 1032, ["class"]), toast.description ? ((0, vue.openBlock)(), (0, vue.createBlock)(ToastDescription_default, {
|
|
18476
|
+
key: 0,
|
|
18477
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.classNames?.description))
|
|
18478
|
+
}, {
|
|
18374
18479
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(toast.description), 1)]),
|
|
18375
18480
|
_: 2
|
|
18376
|
-
},
|
|
18481
|
+
}, 1032, ["class"])) : (0, vue.createCommentVNode)("", true)], 2), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)("flex shrink-0 items-center gap-1 ml-auto", props.classNames?.actions)) }, [toast.action ? ((0, vue.openBlock)(), (0, vue.createBlock)(ToastAction_default, {
|
|
18377
18482
|
key: 0,
|
|
18378
18483
|
"alt-text": toast.action.label,
|
|
18484
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.classNames?.action)),
|
|
18379
18485
|
onClick: toast.action.onClick
|
|
18380
18486
|
}, {
|
|
18381
18487
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(toast.action.label), 1)]),
|
|
18382
18488
|
_: 2
|
|
18383
|
-
}, 1032, [
|
|
18489
|
+
}, 1032, [
|
|
18490
|
+
"alt-text",
|
|
18491
|
+
"class",
|
|
18492
|
+
"onClick"
|
|
18493
|
+
])) : (0, vue.createCommentVNode)("", true), (0, vue.createVNode)(ToastClose_default, {
|
|
18494
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.classNames?.close)),
|
|
18495
|
+
onClick: ($event) => (0, vue.unref)(dismiss)(toast.id)
|
|
18496
|
+
}, null, 8, ["class", "onClick"])], 2)]),
|
|
18384
18497
|
_: 2
|
|
18385
18498
|
}, 1032, [
|
|
18386
18499
|
"open",
|
|
18387
18500
|
"duration",
|
|
18388
18501
|
"position",
|
|
18389
18502
|
"variant",
|
|
18503
|
+
"class",
|
|
18390
18504
|
"onUpdate:open"
|
|
18391
18505
|
]);
|
|
18392
18506
|
}), 128)), (0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
@@ -18521,13 +18635,13 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18521
18635
|
});
|
|
18522
18636
|
//#endregion
|
|
18523
18637
|
//#region src/components/list-box/ListBox.vue?vue&type=script&setup=true&lang.ts
|
|
18524
|
-
var _hoisted_1$
|
|
18638
|
+
var _hoisted_1$29 = {
|
|
18525
18639
|
key: 0,
|
|
18526
18640
|
"data-slot": "list-box-loading",
|
|
18527
18641
|
role: "status",
|
|
18528
18642
|
"aria-live": "polite"
|
|
18529
18643
|
};
|
|
18530
|
-
var _hoisted_2$
|
|
18644
|
+
var _hoisted_2$12 = {
|
|
18531
18645
|
key: 1,
|
|
18532
18646
|
class: "flex justify-center p-2",
|
|
18533
18647
|
"data-slot": "list-box-load-more"
|
|
@@ -18693,14 +18807,19 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18693
18807
|
}, () => [(0, vue.createVNode)(ListBoxItem_default, {
|
|
18694
18808
|
value: option.value,
|
|
18695
18809
|
"is-disabled": option.disabled,
|
|
18696
|
-
"text-value": option.textValue
|
|
18810
|
+
"text-value": option.textValue,
|
|
18811
|
+
"class-names": {
|
|
18812
|
+
item: props.classNames?.item,
|
|
18813
|
+
indicator: props.classNames?.indicator
|
|
18814
|
+
}
|
|
18697
18815
|
}, {
|
|
18698
18816
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(option.label ?? option.value), 1)]),
|
|
18699
18817
|
_: 2
|
|
18700
18818
|
}, 1032, [
|
|
18701
18819
|
"value",
|
|
18702
18820
|
"is-disabled",
|
|
18703
|
-
"text-value"
|
|
18821
|
+
"text-value",
|
|
18822
|
+
"class-names"
|
|
18704
18823
|
])])]),
|
|
18705
18824
|
_: 3
|
|
18706
18825
|
}, 8, [
|
|
@@ -18713,14 +18832,19 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18713
18832
|
key: item.value,
|
|
18714
18833
|
value: item.value,
|
|
18715
18834
|
"is-disabled": item.disabled,
|
|
18716
|
-
"text-value": item.textValue
|
|
18835
|
+
"text-value": item.textValue,
|
|
18836
|
+
"class-names": {
|
|
18837
|
+
item: props.classNames?.item,
|
|
18838
|
+
indicator: props.classNames?.indicator
|
|
18839
|
+
}
|
|
18717
18840
|
}, {
|
|
18718
18841
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.value), 1)]),
|
|
18719
18842
|
_: 2
|
|
18720
18843
|
}, 1032, [
|
|
18721
18844
|
"value",
|
|
18722
18845
|
"is-disabled",
|
|
18723
|
-
"text-value"
|
|
18846
|
+
"text-value",
|
|
18847
|
+
"class-names"
|
|
18724
18848
|
]);
|
|
18725
18849
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 2 })]),
|
|
18726
18850
|
_: 3
|
|
@@ -18730,8 +18854,8 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18730
18854
|
"style",
|
|
18731
18855
|
"class"
|
|
18732
18856
|
]),
|
|
18733
|
-
props.loadMode === "scroll" && props.isLoading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
18734
|
-
props.loadMode === "button" && props.hasMore ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$
|
|
18857
|
+
props.loadMode === "scroll" && props.isLoading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$29, [(0, vue.renderSlot)(_ctx.$slots, "loading", {}, () => [_cache[4] || (_cache[4] = (0, vue.createTextVNode)("Loading…", -1))])])) : (0, vue.createCommentVNode)("", true),
|
|
18858
|
+
props.loadMode === "button" && props.hasMore ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$12, [(0, vue.renderSlot)(_ctx.$slots, "loadMore", {
|
|
18735
18859
|
loadMore: requestLoadMore,
|
|
18736
18860
|
isLoading: props.isLoading,
|
|
18737
18861
|
hasMore: props.hasMore
|
|
@@ -18876,7 +19000,8 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18876
19000
|
asChild: {
|
|
18877
19001
|
type: Boolean,
|
|
18878
19002
|
default: false
|
|
18879
|
-
}
|
|
19003
|
+
},
|
|
19004
|
+
classNames: {}
|
|
18880
19005
|
},
|
|
18881
19006
|
setup(__props) {
|
|
18882
19007
|
const props = __props;
|
|
@@ -18906,7 +19031,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18906
19031
|
return (_ctx, _cache) => {
|
|
18907
19032
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.SelectTrigger), {
|
|
18908
19033
|
id: (0, vue.unref)(ctx).triggerId.value,
|
|
18909
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.trigger()),
|
|
19034
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.trigger(), props.classNames?.trigger)),
|
|
18910
19035
|
"data-filled": isFilled.value || void 0,
|
|
18911
19036
|
"data-invalid": (0, vue.unref)(ctx).isInvalid.value || void 0,
|
|
18912
19037
|
"data-readonly": (0, vue.unref)(ctx).isReadonly.value || void 0,
|
|
@@ -18925,7 +19050,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18925
19050
|
for: (0, vue.unref)(ctx).triggerId.value,
|
|
18926
19051
|
label: (0, vue.unref)(ctx).label.value,
|
|
18927
19052
|
"is-required": (0, vue.unref)(ctx).isRequired.value,
|
|
18928
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
19053
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.label(), props.classNames?.label))
|
|
18929
19054
|
}, null, 8, [
|
|
18930
19055
|
"for",
|
|
18931
19056
|
"label",
|
|
@@ -18934,12 +19059,12 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18934
19059
|
])) : (0, vue.createCommentVNode)("", true),
|
|
18935
19060
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
18936
19061
|
key: 1,
|
|
18937
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
19062
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.startContent(), props.classNames?.startContent)),
|
|
18938
19063
|
"data-slot": "start-content"
|
|
18939
19064
|
}, [(0, vue.renderSlot)(_ctx.$slots, "startContent")], 2)) : (0, vue.createCommentVNode)("", true),
|
|
18940
19065
|
(0, vue.renderSlot)(_ctx.$slots, "default"),
|
|
18941
19066
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.SelectIcon), {
|
|
18942
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.indicator()),
|
|
19067
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.indicator(), props.classNames?.indicator)),
|
|
18943
19068
|
"data-slot": "select-default-indicator"
|
|
18944
19069
|
}, {
|
|
18945
19070
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selectorIcon", {}, () => [_cache[0] || (_cache[0] = (0, vue.createElementVNode)("svg", {
|
|
@@ -18976,7 +19101,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18976
19101
|
});
|
|
18977
19102
|
//#endregion
|
|
18978
19103
|
//#region src/components/select/SelectOverflowChips.vue?vue&type=script&setup=true&lang.ts
|
|
18979
|
-
var _hoisted_1$
|
|
19104
|
+
var _hoisted_1$28 = {
|
|
18980
19105
|
ref: "container",
|
|
18981
19106
|
style: {
|
|
18982
19107
|
"display": "flex",
|
|
@@ -18994,7 +19119,8 @@ var SelectOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18994
19119
|
__name: "SelectOverflowChips",
|
|
18995
19120
|
props: {
|
|
18996
19121
|
values: {},
|
|
18997
|
-
getLabel: { type: Function }
|
|
19122
|
+
getLabel: { type: Function },
|
|
19123
|
+
classNames: {}
|
|
18998
19124
|
},
|
|
18999
19125
|
setup(__props) {
|
|
19000
19126
|
const props = __props;
|
|
@@ -19034,24 +19160,26 @@ var SelectOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19034
19160
|
(0, _vueuse_core.useResizeObserver)(containerEl, reflow);
|
|
19035
19161
|
(0, vue.watch)(() => props.values.join("\0"), () => reflow(), { flush: "post" });
|
|
19036
19162
|
return (_ctx, _cache) => {
|
|
19037
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
19163
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$28, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.values, (val, i) => {
|
|
19038
19164
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
19039
19165
|
key: val,
|
|
19040
19166
|
"data-chip-item": "",
|
|
19041
19167
|
size: "sm",
|
|
19042
|
-
style: (0, vue.normalizeStyle)(i >= visibleCount.value ? "display: none" : void 0)
|
|
19168
|
+
style: (0, vue.normalizeStyle)(i >= visibleCount.value ? "display: none" : void 0),
|
|
19169
|
+
"class-names": props.classNames?.chip
|
|
19043
19170
|
}, {
|
|
19044
19171
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.getLabel(val)), 1)]),
|
|
19045
19172
|
_: 2
|
|
19046
|
-
}, 1032, ["style"]);
|
|
19173
|
+
}, 1032, ["style", "class-names"]);
|
|
19047
19174
|
}), 128)), overflowCount.value > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
19048
19175
|
key: 0,
|
|
19049
19176
|
size: "sm",
|
|
19050
|
-
color: "default"
|
|
19177
|
+
color: "default",
|
|
19178
|
+
"class-names": props.classNames?.chip
|
|
19051
19179
|
}, {
|
|
19052
19180
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" +" + (0, vue.toDisplayString)(overflowCount.value) + " more ", 1)]),
|
|
19053
19181
|
_: 1
|
|
19054
|
-
})) : (0, vue.createCommentVNode)("", true)], 512);
|
|
19182
|
+
}, 8, ["class-names"])) : (0, vue.createCommentVNode)("", true)], 512);
|
|
19055
19183
|
};
|
|
19056
19184
|
}
|
|
19057
19185
|
});
|
|
@@ -19066,14 +19194,15 @@ var SelectValue_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19066
19194
|
asChild: {
|
|
19067
19195
|
type: Boolean,
|
|
19068
19196
|
default: false
|
|
19069
|
-
}
|
|
19197
|
+
},
|
|
19198
|
+
classNames: {}
|
|
19070
19199
|
},
|
|
19071
19200
|
setup(__props) {
|
|
19072
19201
|
const props = __props;
|
|
19073
19202
|
const ctx = useSelectInject();
|
|
19074
19203
|
return (_ctx, _cache) => {
|
|
19075
19204
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.SelectValue), {
|
|
19076
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.value()),
|
|
19205
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.value(), props.classNames?.value)),
|
|
19077
19206
|
placeholder: props.placeholder,
|
|
19078
19207
|
as: props.as,
|
|
19079
19208
|
"as-child": props.asChild,
|
|
@@ -19082,8 +19211,13 @@ var SelectValue_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19082
19211
|
default: (0, vue.withCtx)(({ selectedLabel, modelValue }) => [(0, vue.unref)(ctx).multiple.value && Array.isArray(modelValue) && modelValue.length > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(SelectOverflowChips_default, {
|
|
19083
19212
|
key: 0,
|
|
19084
19213
|
values: modelValue,
|
|
19085
|
-
"get-label": (0, vue.unref)(ctx).itemLabel
|
|
19086
|
-
|
|
19214
|
+
"get-label": (0, vue.unref)(ctx).itemLabel,
|
|
19215
|
+
"class-names": { chip: props.classNames?.chip }
|
|
19216
|
+
}, null, 8, [
|
|
19217
|
+
"values",
|
|
19218
|
+
"get-label",
|
|
19219
|
+
"class-names"
|
|
19220
|
+
])) : (0, vue.unref)(ctx).multiple.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.placeholder), 1)], 64)) : selectedLabel && selectedLabel.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(selectedLabel.join(", ")), 1)], 64)) : modelValue != null && (Array.isArray(modelValue) ? modelValue.length > 0 : modelValue !== "") ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 3 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(ctx).itemLabel(modelValue)), 1)], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 4 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.placeholder), 1)], 64))]),
|
|
19087
19221
|
_: 1
|
|
19088
19222
|
}, 8, [
|
|
19089
19223
|
"class",
|
|
@@ -19306,7 +19440,8 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19306
19440
|
asChild: {
|
|
19307
19441
|
type: Boolean,
|
|
19308
19442
|
default: false
|
|
19309
|
-
}
|
|
19443
|
+
},
|
|
19444
|
+
classNames: {}
|
|
19310
19445
|
},
|
|
19311
19446
|
emits: ["select"],
|
|
19312
19447
|
setup(__props, { emit: __emit }) {
|
|
@@ -19315,6 +19450,7 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19315
19450
|
const isDisabled = useDeprecatedBooleanProp("SelectItem", "isDisabled", () => props.isDisabled, "disabled", () => props.disabled);
|
|
19316
19451
|
const ctx = useSelectInject();
|
|
19317
19452
|
const textRef = (0, vue.useTemplateRef)("textRef");
|
|
19453
|
+
const itemSlots = (0, _auronui_styles.listboxItemVariants)();
|
|
19318
19454
|
if (props.textValue !== void 0) ctx.registerItem(props.value, props.textValue);
|
|
19319
19455
|
(0, vue.onMounted)(() => {
|
|
19320
19456
|
const el = textRef.value?.$el;
|
|
@@ -19328,7 +19464,7 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19328
19464
|
"text-value": props.textValue ?? String(props.value),
|
|
19329
19465
|
as: props.as,
|
|
19330
19466
|
"as-child": props.asChild,
|
|
19331
|
-
class:
|
|
19467
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).item(), props.classNames?.item)),
|
|
19332
19468
|
"data-slot": "list-box-item",
|
|
19333
19469
|
onSelect: _cache[0] || (_cache[0] = ($event) => emit("select", $event))
|
|
19334
19470
|
}, {
|
|
@@ -19342,7 +19478,7 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19342
19478
|
_: 3
|
|
19343
19479
|
}, 512),
|
|
19344
19480
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.SelectItemIndicator), {
|
|
19345
|
-
class:
|
|
19481
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).indicator(), props.classNames?.indicator)),
|
|
19346
19482
|
"data-slot": "list-box-item-indicator"
|
|
19347
19483
|
}, {
|
|
19348
19484
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selectedIcon", {}, () => [_cache[1] || (_cache[1] = (0, vue.createElementVNode)("svg", {
|
|
@@ -19359,7 +19495,7 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19359
19495
|
"aria-hidden": "true"
|
|
19360
19496
|
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])]),
|
|
19361
19497
|
_: 3
|
|
19362
|
-
}),
|
|
19498
|
+
}, 8, ["class"]),
|
|
19363
19499
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
19364
19500
|
]),
|
|
19365
19501
|
_: 3
|
|
@@ -19368,7 +19504,8 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19368
19504
|
"disabled",
|
|
19369
19505
|
"text-value",
|
|
19370
19506
|
"as",
|
|
19371
|
-
"as-child"
|
|
19507
|
+
"as-child",
|
|
19508
|
+
"class"
|
|
19372
19509
|
]);
|
|
19373
19510
|
};
|
|
19374
19511
|
}
|
|
@@ -19530,23 +19667,39 @@ var Select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19530
19667
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event)),
|
|
19531
19668
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => emit("update:open", $event))
|
|
19532
19669
|
}, {
|
|
19533
|
-
default: (0, vue.withCtx)(() => [usesCustomChrome.value ? (0, vue.renderSlot)(_ctx.$slots, "default", { key: 0 }) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createVNode)(SelectTrigger_default,
|
|
19534
|
-
|
|
19670
|
+
default: (0, vue.withCtx)(() => [usesCustomChrome.value ? (0, vue.renderSlot)(_ctx.$slots, "default", { key: 0 }) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createVNode)(SelectTrigger_default, { "class-names": {
|
|
19671
|
+
trigger: props.classNames?.trigger,
|
|
19672
|
+
label: props.classNames?.label,
|
|
19673
|
+
startContent: props.classNames?.startContent,
|
|
19674
|
+
indicator: props.classNames?.triggerIndicator
|
|
19675
|
+
} }, {
|
|
19676
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(SelectValue_default, {
|
|
19677
|
+
placeholder: props.placeholder,
|
|
19678
|
+
"class-names": {
|
|
19679
|
+
value: props.classNames?.value,
|
|
19680
|
+
chip: props.classNames?.chip
|
|
19681
|
+
}
|
|
19682
|
+
}, null, 8, ["placeholder", "class-names"])]),
|
|
19535
19683
|
_: 1
|
|
19536
|
-
}), (0, vue.createVNode)(SelectContent_default, null, {
|
|
19684
|
+
}, 8, ["class-names"]), (0, vue.createVNode)(SelectContent_default, null, {
|
|
19537
19685
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(props.items, (item) => {
|
|
19538
19686
|
return (0, vue.openBlock)(), (0, vue.createBlock)(SelectItem_default, {
|
|
19539
19687
|
key: item.value,
|
|
19540
19688
|
value: item.value,
|
|
19541
19689
|
"text-value": item.textValue ?? item.label,
|
|
19542
|
-
"is-disabled": item.isDisabled
|
|
19690
|
+
"is-disabled": item.isDisabled,
|
|
19691
|
+
"class-names": {
|
|
19692
|
+
item: props.classNames?.item,
|
|
19693
|
+
indicator: props.classNames?.indicator
|
|
19694
|
+
}
|
|
19543
19695
|
}, {
|
|
19544
19696
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "item", { item }, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? String(item.value)), 1)])]),
|
|
19545
19697
|
_: 2
|
|
19546
19698
|
}, 1032, [
|
|
19547
19699
|
"value",
|
|
19548
19700
|
"text-value",
|
|
19549
|
-
"is-disabled"
|
|
19701
|
+
"is-disabled",
|
|
19702
|
+
"class-names"
|
|
19550
19703
|
]);
|
|
19551
19704
|
}), 128)), (0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
19552
19705
|
_: 3
|
|
@@ -19857,13 +20010,13 @@ var DropdownMenu_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19857
20010
|
});
|
|
19858
20011
|
//#endregion
|
|
19859
20012
|
//#region src/components/dropdown/DropdownItem.vue?vue&type=script&setup=true&lang.ts
|
|
19860
|
-
var _hoisted_1$
|
|
19861
|
-
var _hoisted_2$
|
|
19862
|
-
var _hoisted_3$
|
|
20013
|
+
var _hoisted_1$27 = { class: "flex flex-1 flex-col" };
|
|
20014
|
+
var _hoisted_2$11 = { "data-slot": "label" };
|
|
20015
|
+
var _hoisted_3$7 = {
|
|
19863
20016
|
key: 0,
|
|
19864
20017
|
"data-slot": "description"
|
|
19865
20018
|
};
|
|
19866
|
-
var _hoisted_4$
|
|
20019
|
+
var _hoisted_4$4 = {
|
|
19867
20020
|
key: 0,
|
|
19868
20021
|
"data-slot": "shortcut",
|
|
19869
20022
|
class: "ml-auto text-xs text-muted font-mono"
|
|
@@ -19909,8 +20062,8 @@ var DropdownItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19909
20062
|
}, {
|
|
19910
20063
|
default: (0, vue.withCtx)(() => [
|
|
19911
20064
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
19912
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
19913
|
-
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$
|
|
20065
|
+
(0, vue.createElementVNode)("div", _hoisted_1$27, [(0, vue.createElementVNode)("span", _hoisted_2$11, [(0, vue.renderSlot)(_ctx.$slots, "default")]), props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$7, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)]),
|
|
20066
|
+
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$4, (0, vue.toDisplayString)(props.shortcut), 1)) : (0, vue.createCommentVNode)("", true),
|
|
19914
20067
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
19915
20068
|
]),
|
|
19916
20069
|
_: 3
|
|
@@ -20643,13 +20796,13 @@ var ContextMenuContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20643
20796
|
});
|
|
20644
20797
|
//#endregion
|
|
20645
20798
|
//#region src/components/context-menu/ContextMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
20646
|
-
var _hoisted_1$
|
|
20647
|
-
var _hoisted_2$
|
|
20648
|
-
var _hoisted_3$
|
|
20799
|
+
var _hoisted_1$26 = { class: "flex flex-1 flex-col" };
|
|
20800
|
+
var _hoisted_2$10 = { "data-slot": "label" };
|
|
20801
|
+
var _hoisted_3$6 = {
|
|
20649
20802
|
key: 0,
|
|
20650
20803
|
"data-slot": "description"
|
|
20651
20804
|
};
|
|
20652
|
-
var _hoisted_4$
|
|
20805
|
+
var _hoisted_4$3 = {
|
|
20653
20806
|
key: 0,
|
|
20654
20807
|
"data-slot": "shortcut",
|
|
20655
20808
|
class: "ml-auto text-xs text-muted font-mono"
|
|
@@ -20695,8 +20848,8 @@ var ContextMenuItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20695
20848
|
}, {
|
|
20696
20849
|
default: (0, vue.withCtx)(() => [
|
|
20697
20850
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
20698
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
20699
|
-
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$
|
|
20851
|
+
(0, vue.createElementVNode)("div", _hoisted_1$26, [(0, vue.createElementVNode)("span", _hoisted_2$10, [(0, vue.renderSlot)(_ctx.$slots, "default")]), props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$6, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)]),
|
|
20852
|
+
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$3, (0, vue.toDisplayString)(props.shortcut), 1)) : (0, vue.createCommentVNode)("", true),
|
|
20700
20853
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
20701
20854
|
]),
|
|
20702
20855
|
_: 3
|
|
@@ -21461,13 +21614,13 @@ var MenubarContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21461
21614
|
});
|
|
21462
21615
|
//#endregion
|
|
21463
21616
|
//#region src/components/menubar/MenubarItem.vue?vue&type=script&setup=true&lang.ts
|
|
21464
|
-
var _hoisted_1$
|
|
21465
|
-
var _hoisted_2$
|
|
21466
|
-
var _hoisted_3$
|
|
21617
|
+
var _hoisted_1$25 = { class: "flex flex-1 flex-col" };
|
|
21618
|
+
var _hoisted_2$9 = { "data-slot": "label" };
|
|
21619
|
+
var _hoisted_3$5 = {
|
|
21467
21620
|
key: 0,
|
|
21468
21621
|
"data-slot": "description"
|
|
21469
21622
|
};
|
|
21470
|
-
var _hoisted_4$
|
|
21623
|
+
var _hoisted_4$2 = {
|
|
21471
21624
|
key: 0,
|
|
21472
21625
|
"data-slot": "shortcut",
|
|
21473
21626
|
class: "ml-auto text-xs text-muted font-mono"
|
|
@@ -21513,8 +21666,8 @@ var MenubarItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21513
21666
|
}, {
|
|
21514
21667
|
default: (0, vue.withCtx)(() => [
|
|
21515
21668
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
21516
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
21517
|
-
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$
|
|
21669
|
+
(0, vue.createElementVNode)("div", _hoisted_1$25, [(0, vue.createElementVNode)("span", _hoisted_2$9, [(0, vue.renderSlot)(_ctx.$slots, "default")]), props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$5, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)]),
|
|
21670
|
+
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$2, (0, vue.toDisplayString)(props.shortcut), 1)) : (0, vue.createCommentVNode)("", true),
|
|
21518
21671
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
21519
21672
|
]),
|
|
21520
21673
|
_: 3
|
|
@@ -22527,7 +22680,7 @@ var ComboBoxInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22527
22680
|
"display-value": props.displayValue ?? (0, vue.unref)(ctx).displayValue.value,
|
|
22528
22681
|
as: props.as,
|
|
22529
22682
|
"as-child": props.asChild,
|
|
22530
|
-
class:
|
|
22683
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.input()),
|
|
22531
22684
|
"data-slot": "input",
|
|
22532
22685
|
autocomplete: "off",
|
|
22533
22686
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -22538,12 +22691,13 @@ var ComboBoxInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22538
22691
|
"disabled",
|
|
22539
22692
|
"display-value",
|
|
22540
22693
|
"as",
|
|
22541
|
-
"as-child"
|
|
22694
|
+
"as-child",
|
|
22695
|
+
"class"
|
|
22542
22696
|
]),
|
|
22543
22697
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxCancel), {
|
|
22544
22698
|
as: props.cancelAs,
|
|
22545
22699
|
"as-child": props.cancelAsChild,
|
|
22546
|
-
class:
|
|
22700
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.clearButton()),
|
|
22547
22701
|
"data-slot": "clear-button",
|
|
22548
22702
|
"aria-label": "Clear"
|
|
22549
22703
|
}, {
|
|
@@ -22570,7 +22724,11 @@ var ComboBoxInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22570
22724
|
y2: "18"
|
|
22571
22725
|
})], -1))])]),
|
|
22572
22726
|
_: 3
|
|
22573
|
-
}, 8, [
|
|
22727
|
+
}, 8, [
|
|
22728
|
+
"as",
|
|
22729
|
+
"as-child",
|
|
22730
|
+
"class"
|
|
22731
|
+
]),
|
|
22574
22732
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxTrigger), {
|
|
22575
22733
|
disabled: props.triggerDisabled,
|
|
22576
22734
|
as: props.triggerAs,
|
|
@@ -22880,7 +23038,8 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22880
23038
|
indicatorAsChild: {
|
|
22881
23039
|
type: Boolean,
|
|
22882
23040
|
default: false
|
|
22883
|
-
}
|
|
23041
|
+
},
|
|
23042
|
+
classNames: {}
|
|
22884
23043
|
},
|
|
22885
23044
|
emits: ["select"],
|
|
22886
23045
|
setup(__props, { emit: __emit }) {
|
|
@@ -22889,6 +23048,7 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22889
23048
|
const isDisabled = useDeprecatedBooleanProp("ComboBoxItem", "isDisabled", () => props.isDisabled, "disabled", () => props.disabled);
|
|
22890
23049
|
const slots = (0, vue.useSlots)();
|
|
22891
23050
|
const ctx = useComboBoxInject();
|
|
23051
|
+
const itemSlots = (0, _auronui_styles.listboxItemVariants)();
|
|
22892
23052
|
function extractText(nodes) {
|
|
22893
23053
|
return nodes.map((n) => {
|
|
22894
23054
|
if (typeof n.children === "string") return n.children;
|
|
@@ -22915,7 +23075,7 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22915
23075
|
as: props.as,
|
|
22916
23076
|
"as-child": props.asChild,
|
|
22917
23077
|
"data-item-value": props.value,
|
|
22918
|
-
class:
|
|
23078
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).item(), props.classNames?.item)),
|
|
22919
23079
|
"data-slot": "list-box-item",
|
|
22920
23080
|
onSelect: _cache[0] || (_cache[0] = ($event) => emit("select", $event))
|
|
22921
23081
|
}, {
|
|
@@ -22925,7 +23085,7 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22925
23085
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxItemIndicator), {
|
|
22926
23086
|
as: props.indicatorAs,
|
|
22927
23087
|
"as-child": props.indicatorAsChild,
|
|
22928
|
-
class:
|
|
23088
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).indicator(), props.classNames?.indicator)),
|
|
22929
23089
|
"data-slot": "list-box-item-indicator"
|
|
22930
23090
|
}, {
|
|
22931
23091
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selectedIcon", {}, () => [_cache[1] || (_cache[1] = (0, vue.createElementVNode)("svg", {
|
|
@@ -22942,7 +23102,11 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22942
23102
|
"aria-hidden": "true"
|
|
22943
23103
|
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])]),
|
|
22944
23104
|
_: 3
|
|
22945
|
-
}, 8, [
|
|
23105
|
+
}, 8, [
|
|
23106
|
+
"as",
|
|
23107
|
+
"as-child",
|
|
23108
|
+
"class"
|
|
23109
|
+
]),
|
|
22946
23110
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
22947
23111
|
]),
|
|
22948
23112
|
_: 3
|
|
@@ -22952,20 +23116,21 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22952
23116
|
"disabled",
|
|
22953
23117
|
"as",
|
|
22954
23118
|
"as-child",
|
|
22955
|
-
"data-item-value"
|
|
23119
|
+
"data-item-value",
|
|
23120
|
+
"class"
|
|
22956
23121
|
]);
|
|
22957
23122
|
};
|
|
22958
23123
|
}
|
|
22959
23124
|
});
|
|
22960
23125
|
//#endregion
|
|
22961
23126
|
//#region src/components/combo-box/ComboBox.vue?vue&type=script&setup=true&lang.ts
|
|
22962
|
-
var _hoisted_1$
|
|
22963
|
-
var _hoisted_2$
|
|
22964
|
-
var _hoisted_3$
|
|
23127
|
+
var _hoisted_1$24 = ["aria-invalid"];
|
|
23128
|
+
var _hoisted_2$8 = ["id"];
|
|
23129
|
+
var _hoisted_3$4 = {
|
|
22965
23130
|
key: 0,
|
|
22966
23131
|
"aria-hidden": "true"
|
|
22967
23132
|
};
|
|
22968
|
-
var _hoisted_4$
|
|
23133
|
+
var _hoisted_4$1 = {
|
|
22969
23134
|
key: 1,
|
|
22970
23135
|
"data-slot": "helper-wrapper"
|
|
22971
23136
|
};
|
|
@@ -23147,7 +23312,7 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23147
23312
|
key: 0,
|
|
23148
23313
|
id: (0, vue.unref)(labelId),
|
|
23149
23314
|
"data-slot": "label"
|
|
23150
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
23315
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$4, " *")) : (0, vue.createCommentVNode)("", true)], 8, _hoisted_2$8)) : (0, vue.createCommentVNode)("", true),
|
|
23151
23316
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxRoot), {
|
|
23152
23317
|
modelValue: internalValue.value,
|
|
23153
23318
|
"onUpdate:modelValue": [_cache[0] || (_cache[0] = ($event) => internalValue.value = $event), _cache[1] || (_cache[1] = ($event) => handleModelValueUpdate($event))],
|
|
@@ -23178,11 +23343,19 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23178
23343
|
return (0, vue.openBlock)(), (0, vue.createBlock)(ComboBoxItem_default, {
|
|
23179
23344
|
key: item.value,
|
|
23180
23345
|
value: item.value,
|
|
23181
|
-
"is-disabled": item.isDisabled
|
|
23346
|
+
"is-disabled": item.isDisabled,
|
|
23347
|
+
"class-names": {
|
|
23348
|
+
item: props.classNames?.item,
|
|
23349
|
+
indicator: props.classNames?.indicator
|
|
23350
|
+
}
|
|
23182
23351
|
}, {
|
|
23183
23352
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "item", { item }, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.textValue ?? item.value), 1)])]),
|
|
23184
23353
|
_: 2
|
|
23185
|
-
}, 1032, [
|
|
23354
|
+
}, 1032, [
|
|
23355
|
+
"value",
|
|
23356
|
+
"is-disabled",
|
|
23357
|
+
"class-names"
|
|
23358
|
+
]);
|
|
23186
23359
|
}), 128))]),
|
|
23187
23360
|
_: 3
|
|
23188
23361
|
})], 64))]),
|
|
@@ -23209,8 +23382,8 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23209
23382
|
"by",
|
|
23210
23383
|
"filter-function"
|
|
23211
23384
|
]),
|
|
23212
|
-
props.description || props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$
|
|
23213
|
-
], 10, _hoisted_1$
|
|
23385
|
+
props.description || props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$1, [props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_5$1, (0, vue.toDisplayString)(props.errorMessage), 1)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_6$1, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)])) : (0, vue.createCommentVNode)("", true)
|
|
23386
|
+
], 10, _hoisted_1$24);
|
|
23214
23387
|
};
|
|
23215
23388
|
}
|
|
23216
23389
|
});
|
|
@@ -23245,7 +23418,7 @@ var ComboBoxEmpty_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23245
23418
|
var { useProvide: useAutocompleteProvide, useInject: useAutocompleteInject, key: autocompleteContextKey } = createContext("Autocomplete");
|
|
23246
23419
|
//#endregion
|
|
23247
23420
|
//#region src/components/autocomplete/AutocompleteOverflowChips.vue?vue&type=script&setup=true&lang.ts
|
|
23248
|
-
var _hoisted_1$
|
|
23421
|
+
var _hoisted_1$23 = {
|
|
23249
23422
|
ref: "container",
|
|
23250
23423
|
style: {
|
|
23251
23424
|
"display": "flex",
|
|
@@ -23264,7 +23437,8 @@ var AutocompleteOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)
|
|
|
23264
23437
|
props: {
|
|
23265
23438
|
values: {},
|
|
23266
23439
|
getLabel: { type: Function },
|
|
23267
|
-
removeValue: { type: Function }
|
|
23440
|
+
removeValue: { type: Function },
|
|
23441
|
+
classNames: {}
|
|
23268
23442
|
},
|
|
23269
23443
|
setup(__props) {
|
|
23270
23444
|
const props = __props;
|
|
@@ -23304,26 +23478,32 @@ var AutocompleteOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)
|
|
|
23304
23478
|
(0, _vueuse_core.useResizeObserver)(containerEl, reflow);
|
|
23305
23479
|
(0, vue.watch)(() => props.values.join("\0"), () => reflow(), { flush: "post" });
|
|
23306
23480
|
return (_ctx, _cache) => {
|
|
23307
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
23481
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$23, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.values, (val, i) => {
|
|
23308
23482
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
23309
23483
|
key: val,
|
|
23310
23484
|
"data-chip-item": "",
|
|
23311
23485
|
size: "sm",
|
|
23312
23486
|
"is-closable": "",
|
|
23313
23487
|
style: (0, vue.normalizeStyle)(i >= visibleCount.value ? "display: none" : void 0),
|
|
23488
|
+
"class-names": props.classNames?.chip,
|
|
23314
23489
|
onClose: (0, vue.withModifiers)(($event) => __props.removeValue(val), ["stop"])
|
|
23315
23490
|
}, {
|
|
23316
23491
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.getLabel(val)), 1)]),
|
|
23317
23492
|
_: 2
|
|
23318
|
-
}, 1032, [
|
|
23493
|
+
}, 1032, [
|
|
23494
|
+
"style",
|
|
23495
|
+
"class-names",
|
|
23496
|
+
"onClose"
|
|
23497
|
+
]);
|
|
23319
23498
|
}), 128)), overflowCount.value > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
23320
23499
|
key: 0,
|
|
23321
23500
|
size: "sm",
|
|
23322
|
-
color: "default"
|
|
23501
|
+
color: "default",
|
|
23502
|
+
"class-names": props.classNames?.chip
|
|
23323
23503
|
}, {
|
|
23324
23504
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" +" + (0, vue.toDisplayString)(overflowCount.value) + " more ", 1)]),
|
|
23325
23505
|
_: 1
|
|
23326
|
-
})) : (0, vue.createCommentVNode)("", true)], 512);
|
|
23506
|
+
}, 8, ["class-names"])) : (0, vue.createCommentVNode)("", true)], 512);
|
|
23327
23507
|
};
|
|
23328
23508
|
}
|
|
23329
23509
|
});
|
|
@@ -23371,7 +23551,8 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23371
23551
|
anchorAsChild: {
|
|
23372
23552
|
type: Boolean,
|
|
23373
23553
|
default: false
|
|
23374
|
-
}
|
|
23554
|
+
},
|
|
23555
|
+
classNames: {}
|
|
23375
23556
|
},
|
|
23376
23557
|
emits: ["update:modelValue"],
|
|
23377
23558
|
setup(__props, { emit: __emit }) {
|
|
@@ -23389,7 +23570,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23389
23570
|
reference: props.anchorReference,
|
|
23390
23571
|
as: props.anchorAs,
|
|
23391
23572
|
"as-child": props.anchorAsChild,
|
|
23392
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.trigger()),
|
|
23573
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.trigger(), props.classNames?.trigger)),
|
|
23393
23574
|
"data-filled": (0, vue.unref)(ctx).hasLabel.value ? (0, vue.unref)(ctx).isFilled.value || void 0 : void 0,
|
|
23394
23575
|
"data-focused": (0, vue.unref)(isFocused) || void 0,
|
|
23395
23576
|
"data-invalid": (0, vue.unref)(ctx).isInvalid.value || void 0,
|
|
@@ -23404,7 +23585,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23404
23585
|
for: (0, vue.unref)(ctx).inputId.value,
|
|
23405
23586
|
label: (0, vue.unref)(ctx).label.value,
|
|
23406
23587
|
"is-required": (0, vue.unref)(ctx).isRequired.value,
|
|
23407
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
23588
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.label(), props.classNames?.label))
|
|
23408
23589
|
}, null, 8, [
|
|
23409
23590
|
"for",
|
|
23410
23591
|
"label",
|
|
@@ -23413,26 +23594,36 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23413
23594
|
])) : (0, vue.createCommentVNode)("", true),
|
|
23414
23595
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
23415
23596
|
key: 1,
|
|
23416
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
23597
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.startContent(), props.classNames?.startContent)),
|
|
23417
23598
|
"data-slot": "start-content"
|
|
23418
23599
|
}, [(0, vue.renderSlot)(_ctx.$slots, "startContent")], 2)) : (0, vue.createCommentVNode)("", true),
|
|
23419
23600
|
(0, vue.unref)(ctx).multiple.value && (0, vue.unref)(ctx).multipleOverflow.value === "collapse" && (0, vue.unref)(ctx).selectedValues.value.length > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(AutocompleteOverflowChips_default, {
|
|
23420
23601
|
key: 2,
|
|
23421
23602
|
values: (0, vue.unref)(ctx).selectedValues.value,
|
|
23422
23603
|
"get-label": getLabel,
|
|
23423
|
-
"remove-value": (0, vue.unref)(ctx).removeValue
|
|
23424
|
-
|
|
23604
|
+
"remove-value": (0, vue.unref)(ctx).removeValue,
|
|
23605
|
+
"class-names": { chip: props.classNames?.chip }
|
|
23606
|
+
}, null, 8, [
|
|
23607
|
+
"values",
|
|
23608
|
+
"remove-value",
|
|
23609
|
+
"class-names"
|
|
23610
|
+
])) : (0, vue.unref)(ctx).multiple.value && (0, vue.unref)(ctx).multipleOverflow.value === "wrap" ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 3 }, (0, vue.renderList)((0, vue.unref)(ctx).selectedLabels.value, (item) => {
|
|
23425
23611
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
23426
23612
|
key: item.value,
|
|
23427
23613
|
size: "sm",
|
|
23428
23614
|
"is-closable": "",
|
|
23429
23615
|
"close-aria-label": `Remove ${item.label}`,
|
|
23430
23616
|
"data-slot": "selected-chip",
|
|
23617
|
+
"class-names": props.classNames?.chip,
|
|
23431
23618
|
onClose: (0, vue.withModifiers)(($event) => (0, vue.unref)(ctx).removeValue(item.value), ["stop"])
|
|
23432
23619
|
}, {
|
|
23433
23620
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label), 1)]),
|
|
23434
23621
|
_: 2
|
|
23435
|
-
}, 1032, [
|
|
23622
|
+
}, 1032, [
|
|
23623
|
+
"close-aria-label",
|
|
23624
|
+
"class-names",
|
|
23625
|
+
"onClose"
|
|
23626
|
+
]);
|
|
23436
23627
|
}), 128)) : (0, vue.createCommentVNode)("", true),
|
|
23437
23628
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteInput), {
|
|
23438
23629
|
id: (0, vue.unref)(ctx).inputId.value,
|
|
@@ -23446,7 +23637,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23446
23637
|
required: (0, vue.unref)(ctx).isRequired.value,
|
|
23447
23638
|
"aria-invalid": (0, vue.unref)(ctx).isInvalid.value || void 0,
|
|
23448
23639
|
"aria-describedby": (0, vue.unref)(ctx).ariaDescribedBy.value,
|
|
23449
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.input()),
|
|
23640
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.input(), props.classNames?.input)),
|
|
23450
23641
|
style: (0, vue.normalizeStyle)((0, vue.unref)(ctx).multiple.value && (0, vue.unref)(ctx).multipleOverflow.value === "collapse" && (0, vue.unref)(ctx).selectedValues.value.length > 0 ? {
|
|
23451
23642
|
flex: "0 0 auto",
|
|
23452
23643
|
minWidth: "80px",
|
|
@@ -23473,7 +23664,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23473
23664
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteCancel), {
|
|
23474
23665
|
as: props.cancelAs,
|
|
23475
23666
|
"as-child": props.cancelAsChild,
|
|
23476
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.clearButton()),
|
|
23667
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.clearButton(), props.classNames?.clearButton)),
|
|
23477
23668
|
"data-empty": !(0, vue.unref)(ctx).isFilled.value || (0, vue.unref)(ctx).isReadonly.value || (0, vue.unref)(ctx).isDisabled.value ? "true" : void 0,
|
|
23478
23669
|
"data-slot": "clear-button",
|
|
23479
23670
|
"aria-label": "Clear",
|
|
@@ -23511,7 +23702,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23511
23702
|
]),
|
|
23512
23703
|
(0, vue.unref)(ctx).isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
23513
23704
|
key: 4,
|
|
23514
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.indicator()),
|
|
23705
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.indicator(), props.classNames?.indicator)),
|
|
23515
23706
|
"data-slot": "autocomplete-loading-indicator",
|
|
23516
23707
|
role: "status",
|
|
23517
23708
|
"aria-live": "polite",
|
|
@@ -23521,7 +23712,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23521
23712
|
as: props.triggerAs,
|
|
23522
23713
|
"as-child": props.triggerAsChild,
|
|
23523
23714
|
disabled: props.triggerDisabled,
|
|
23524
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.indicator()),
|
|
23715
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slots.value.indicator(), props.classNames?.indicator)),
|
|
23525
23716
|
"data-slot": "autocomplete-default-indicator",
|
|
23526
23717
|
"aria-label": "Toggle suggestions"
|
|
23527
23718
|
}, {
|
|
@@ -23563,7 +23754,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23563
23754
|
});
|
|
23564
23755
|
//#endregion
|
|
23565
23756
|
//#region src/components/autocomplete/AutocompleteContent.vue?vue&type=script&setup=true&lang.ts
|
|
23566
|
-
var _hoisted_1$
|
|
23757
|
+
var _hoisted_1$22 = [
|
|
23567
23758
|
"inert",
|
|
23568
23759
|
"aria-disabled",
|
|
23569
23760
|
"data-disabled"
|
|
@@ -23775,7 +23966,7 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23775
23966
|
_: 3
|
|
23776
23967
|
})) : (0, vue.createCommentVNode)("", true)]),
|
|
23777
23968
|
_: 3
|
|
23778
|
-
})], 10, _hoisted_1$
|
|
23969
|
+
})], 10, _hoisted_1$22)]),
|
|
23779
23970
|
_: 3
|
|
23780
23971
|
}, 8, [
|
|
23781
23972
|
"data-loading",
|
|
@@ -23822,17 +24013,6 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23822
24013
|
}
|
|
23823
24014
|
});
|
|
23824
24015
|
//#endregion
|
|
23825
|
-
//#region src/components/autocomplete/AutocompleteItem.vue?vue&type=script&setup=true&lang.ts
|
|
23826
|
-
var _hoisted_1$25 = {
|
|
23827
|
-
class: "autocomplete-item__text",
|
|
23828
|
-
"data-slot": "item-text"
|
|
23829
|
-
};
|
|
23830
|
-
var _hoisted_2$11 = {
|
|
23831
|
-
key: 1,
|
|
23832
|
-
class: "list-box-item__indicator",
|
|
23833
|
-
"data-slot": "list-box-item-indicator"
|
|
23834
|
-
};
|
|
23835
|
-
//#endregion
|
|
23836
24016
|
//#region src/components/autocomplete/AutocompleteItem.vue
|
|
23837
24017
|
var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
23838
24018
|
__name: "AutocompleteItem",
|
|
@@ -23857,7 +24037,8 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23857
24037
|
indicatorAsChild: {
|
|
23858
24038
|
type: Boolean,
|
|
23859
24039
|
default: false
|
|
23860
|
-
}
|
|
24040
|
+
},
|
|
24041
|
+
classNames: {}
|
|
23861
24042
|
},
|
|
23862
24043
|
emits: ["select"],
|
|
23863
24044
|
setup(__props, { emit: __emit }) {
|
|
@@ -23866,6 +24047,8 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23866
24047
|
const isDisabled = useDeprecatedBooleanProp("AutocompleteItem", "isDisabled", () => props.isDisabled, "disabled", () => props.disabled);
|
|
23867
24048
|
const slots = (0, vue.useSlots)();
|
|
23868
24049
|
const ctx = useAutocompleteInject();
|
|
24050
|
+
const itemSlots = (0, _auronui_styles.listboxItemVariants)();
|
|
24051
|
+
const itemTextClass = (0, vue.computed)(() => (0, _auronui_styles.autocompleteVariants)().itemText());
|
|
23869
24052
|
function extractText(nodes) {
|
|
23870
24053
|
return nodes.map((n) => {
|
|
23871
24054
|
if (typeof n.children === "string") return n.children;
|
|
@@ -23901,18 +24084,21 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23901
24084
|
"as-child": props.asChild,
|
|
23902
24085
|
"data-item-value": props.value,
|
|
23903
24086
|
"data-selected": isChecked.value || void 0,
|
|
23904
|
-
class:
|
|
24087
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).item(), props.classNames?.item)),
|
|
23905
24088
|
"data-slot": "list-box-item",
|
|
23906
24089
|
onSelect: handleSelect
|
|
23907
24090
|
}, {
|
|
23908
24091
|
default: (0, vue.withCtx)(() => [
|
|
23909
24092
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
23910
|
-
(0, vue.createElementVNode)("span",
|
|
24093
|
+
(0, vue.createElementVNode)("span", {
|
|
24094
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(itemTextClass.value, props.classNames?.text)),
|
|
24095
|
+
"data-slot": "item-text"
|
|
24096
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2),
|
|
23911
24097
|
!(0, vue.unref)(ctx).multiple.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ComboboxItemIndicator), {
|
|
23912
24098
|
key: 0,
|
|
23913
24099
|
as: props.indicatorAs,
|
|
23914
24100
|
"as-child": props.indicatorAsChild,
|
|
23915
|
-
class:
|
|
24101
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).indicator(), props.classNames?.indicator)),
|
|
23916
24102
|
"data-slot": "list-box-item-indicator"
|
|
23917
24103
|
}, {
|
|
23918
24104
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selectedIcon", {}, () => [_cache[0] || (_cache[0] = (0, vue.createElementVNode)("svg", {
|
|
@@ -23929,7 +24115,15 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23929
24115
|
"aria-hidden": "true"
|
|
23930
24116
|
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])]),
|
|
23931
24117
|
_: 3
|
|
23932
|
-
}, 8, [
|
|
24118
|
+
}, 8, [
|
|
24119
|
+
"as",
|
|
24120
|
+
"as-child",
|
|
24121
|
+
"class"
|
|
24122
|
+
])) : isChecked.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
24123
|
+
key: 1,
|
|
24124
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).indicator(), props.classNames?.indicator)),
|
|
24125
|
+
"data-slot": "list-box-item-indicator"
|
|
24126
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "selectedIcon", {}, () => [_cache[1] || (_cache[1] = (0, vue.createElementVNode)("svg", {
|
|
23933
24127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23934
24128
|
width: "12",
|
|
23935
24129
|
height: "12",
|
|
@@ -23941,7 +24135,7 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23941
24135
|
"stroke-linejoin": "round",
|
|
23942
24136
|
"data-slot": "list-box-item-indicator--checkmark",
|
|
23943
24137
|
"aria-hidden": "true"
|
|
23944
|
-
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])])) : (0, vue.createCommentVNode)("", true),
|
|
24138
|
+
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])], 2)) : (0, vue.createCommentVNode)("", true),
|
|
23945
24139
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
23946
24140
|
]),
|
|
23947
24141
|
_: 3
|
|
@@ -23952,7 +24146,8 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23952
24146
|
"as",
|
|
23953
24147
|
"as-child",
|
|
23954
24148
|
"data-item-value",
|
|
23955
|
-
"data-selected"
|
|
24149
|
+
"data-selected",
|
|
24150
|
+
"class"
|
|
23956
24151
|
]);
|
|
23957
24152
|
};
|
|
23958
24153
|
}
|
|
@@ -24320,16 +24515,36 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24320
24515
|
key: 0,
|
|
24321
24516
|
isLoading: isLoading.value,
|
|
24322
24517
|
items: internalItems.value
|
|
24323
|
-
}) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createVNode)(AutocompleteInput_default, {
|
|
24518
|
+
}) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createVNode)(AutocompleteInput_default, {
|
|
24519
|
+
placeholder: props.placeholder,
|
|
24520
|
+
"class-names": {
|
|
24521
|
+
chip: props.classNames?.chip,
|
|
24522
|
+
trigger: props.classNames?.trigger,
|
|
24523
|
+
label: props.classNames?.label,
|
|
24524
|
+
startContent: props.classNames?.startContent,
|
|
24525
|
+
input: props.classNames?.input,
|
|
24526
|
+
clearButton: props.classNames?.clearButton,
|
|
24527
|
+
indicator: props.classNames?.triggerIndicator
|
|
24528
|
+
}
|
|
24529
|
+
}, null, 8, ["placeholder", "class-names"]), (0, vue.createVNode)(AutocompleteContent_default, null, {
|
|
24324
24530
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(internalItems.value, (item) => {
|
|
24325
24531
|
return (0, vue.openBlock)(), (0, vue.createBlock)(AutocompleteItem_default, {
|
|
24326
24532
|
key: item.value,
|
|
24327
24533
|
value: item.value,
|
|
24328
|
-
"is-disabled": item.isDisabled
|
|
24534
|
+
"is-disabled": item.isDisabled,
|
|
24535
|
+
"class-names": {
|
|
24536
|
+
item: props.classNames?.item,
|
|
24537
|
+
text: props.classNames?.text,
|
|
24538
|
+
indicator: props.classNames?.indicator
|
|
24539
|
+
}
|
|
24329
24540
|
}, {
|
|
24330
24541
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "item", { item }, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.textValue ?? item.value), 1)])]),
|
|
24331
24542
|
_: 2
|
|
24332
|
-
}, 1032, [
|
|
24543
|
+
}, 1032, [
|
|
24544
|
+
"value",
|
|
24545
|
+
"is-disabled",
|
|
24546
|
+
"class-names"
|
|
24547
|
+
]);
|
|
24333
24548
|
}), 128))]),
|
|
24334
24549
|
_: 3
|
|
24335
24550
|
})], 64))]),
|
|
@@ -24375,12 +24590,6 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24375
24590
|
}
|
|
24376
24591
|
});
|
|
24377
24592
|
//#endregion
|
|
24378
|
-
//#region src/components/autocomplete/AutocompleteCreateItem.vue?vue&type=script&setup=true&lang.ts
|
|
24379
|
-
var _hoisted_1$24 = {
|
|
24380
|
-
class: "autocomplete-item__text",
|
|
24381
|
-
"data-slot": "item-text"
|
|
24382
|
-
};
|
|
24383
|
-
//#endregion
|
|
24384
24593
|
//#region src/components/autocomplete/AutocompleteCreateItem.vue
|
|
24385
24594
|
var AutocompleteCreateItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
24386
24595
|
__name: "AutocompleteCreateItem",
|
|
@@ -24404,7 +24613,8 @@ var AutocompleteCreateItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24404
24613
|
asChild: {
|
|
24405
24614
|
type: Boolean,
|
|
24406
24615
|
default: false
|
|
24407
|
-
}
|
|
24616
|
+
},
|
|
24617
|
+
classNames: {}
|
|
24408
24618
|
},
|
|
24409
24619
|
emits: ["select"],
|
|
24410
24620
|
setup(__props, { emit: __emit }) {
|
|
@@ -24413,6 +24623,8 @@ var AutocompleteCreateItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24413
24623
|
const isDisabled = useDeprecatedBooleanProp("AutocompleteCreateItem", "isDisabled", () => props.isDisabled, "disabled", () => props.disabled);
|
|
24414
24624
|
const ctx = useAutocompleteInject();
|
|
24415
24625
|
const comboboxCtx = (0, reka_ui.injectComboboxRootContext)();
|
|
24626
|
+
const itemSlots = (0, _auronui_styles.listboxItemVariants)();
|
|
24627
|
+
const itemTextClass = (0, vue.computed)(() => (0, _auronui_styles.autocompleteVariants)().itemText());
|
|
24416
24628
|
const term = (0, vue.computed)(() => ctx.searchTerm.value.trim());
|
|
24417
24629
|
const isVisible = (0, vue.computed)(() => !!term.value && !ctx.hasExactMatch.value);
|
|
24418
24630
|
const displayLabel = (0, vue.computed)(() => {
|
|
@@ -24434,12 +24646,15 @@ var AutocompleteCreateItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24434
24646
|
disabled: (0, vue.unref)(isDisabled),
|
|
24435
24647
|
as: props.as,
|
|
24436
24648
|
"as-child": props.asChild,
|
|
24437
|
-
class: (0, vue.normalizeClass)(
|
|
24649
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(itemSlots).item(), props.classNames?.item, props.class)),
|
|
24438
24650
|
"data-slot": "list-box-item",
|
|
24439
24651
|
"data-create-item": "",
|
|
24440
24652
|
onSelect: handleSelect
|
|
24441
24653
|
}, {
|
|
24442
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { term: term.value }, () => [(0, vue.createElementVNode)("span",
|
|
24654
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { term: term.value }, () => [(0, vue.createElementVNode)("span", {
|
|
24655
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(itemTextClass.value, props.classNames?.text)),
|
|
24656
|
+
"data-slot": "item-text"
|
|
24657
|
+
}, (0, vue.toDisplayString)(displayLabel.value), 3)])]),
|
|
24443
24658
|
_: 3
|
|
24444
24659
|
}, 8, [
|
|
24445
24660
|
"value",
|
|
@@ -24565,8 +24780,8 @@ var Pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24565
24780
|
});
|
|
24566
24781
|
//#endregion
|
|
24567
24782
|
//#region src/components/pagination/PaginationContent.vue?vue&type=script&setup=true&lang.ts
|
|
24568
|
-
var _hoisted_1$
|
|
24569
|
-
var _hoisted_2$
|
|
24783
|
+
var _hoisted_1$21 = ["disabled", "data-disabled"];
|
|
24784
|
+
var _hoisted_2$7 = ["disabled", "data-disabled"];
|
|
24570
24785
|
//#endregion
|
|
24571
24786
|
//#region src/components/pagination/PaginationContent.vue
|
|
24572
24787
|
var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -24608,7 +24823,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24608
24823
|
"data-disabled": !hasPreviousPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
24609
24824
|
"aria-label": "Before page",
|
|
24610
24825
|
onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(ctx).onCursorChange((0, vue.unref)(ctx).beforeCursor.value, null))
|
|
24611
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$
|
|
24826
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$21),
|
|
24612
24827
|
(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(styles.value.summary?.()) }, [(0, vue.renderSlot)(_ctx.$slots, "page-info", {}, () => [(0, vue.createTextVNode)("Page " + (0, vue.toDisplayString)((0, vue.unref)(ctx).page.value), 1)])], 2),
|
|
24613
24828
|
(0, vue.createElementVNode)("button", {
|
|
24614
24829
|
type: "button",
|
|
@@ -24617,7 +24832,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24617
24832
|
"data-disabled": !hasNextPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
24618
24833
|
"aria-label": "After page",
|
|
24619
24834
|
onClick: _cache[1] || (_cache[1] = ($event) => (0, vue.unref)(ctx).onCursorChange(null, (0, vue.unref)(ctx).afterCursor.value))
|
|
24620
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$
|
|
24835
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$7)
|
|
24621
24836
|
], 2));
|
|
24622
24837
|
};
|
|
24623
24838
|
}
|
|
@@ -27450,7 +27665,7 @@ function useTableKeyboardNav(options) {
|
|
|
27450
27665
|
}
|
|
27451
27666
|
//#endregion
|
|
27452
27667
|
//#region src/components/table/TableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
27453
|
-
var _hoisted_1$
|
|
27668
|
+
var _hoisted_1$20 = [
|
|
27454
27669
|
"data-col-index",
|
|
27455
27670
|
"aria-sort",
|
|
27456
27671
|
"data-allows-sorting",
|
|
@@ -27507,7 +27722,7 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27507
27722
|
key: 0,
|
|
27508
27723
|
render: header.column.columnDef.header,
|
|
27509
27724
|
props: header.getContext()
|
|
27510
|
-
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$
|
|
27725
|
+
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$20);
|
|
27511
27726
|
}), 128))], 2);
|
|
27512
27727
|
}), 128))], 2);
|
|
27513
27728
|
};
|
|
@@ -27515,14 +27730,14 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27515
27730
|
});
|
|
27516
27731
|
//#endregion
|
|
27517
27732
|
//#region src/components/table/TableBody.vue?vue&type=script&setup=true&lang.ts
|
|
27518
|
-
var _hoisted_1$
|
|
27733
|
+
var _hoisted_1$19 = [
|
|
27519
27734
|
"aria-rowindex",
|
|
27520
27735
|
"aria-selected",
|
|
27521
27736
|
"data-state",
|
|
27522
27737
|
"onClick",
|
|
27523
27738
|
"onKeydown"
|
|
27524
27739
|
];
|
|
27525
|
-
var _hoisted_2$
|
|
27740
|
+
var _hoisted_2$6 = [
|
|
27526
27741
|
"data-row-index",
|
|
27527
27742
|
"data-col-index",
|
|
27528
27743
|
"tabindex"
|
|
@@ -27572,8 +27787,8 @@ var TableBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27572
27787
|
}, () => [(0, vue.createVNode)((0, vue.unref)(FlexRender), {
|
|
27573
27788
|
render: cell.column.columnDef.cell,
|
|
27574
27789
|
props: cell.getContext()
|
|
27575
|
-
}, null, 8, ["render", "props"])])], 10, _hoisted_2$
|
|
27576
|
-
}), 128))], 42, _hoisted_1$
|
|
27790
|
+
}, null, 8, ["render", "props"])])], 10, _hoisted_2$6);
|
|
27791
|
+
}), 128))], 42, _hoisted_1$19);
|
|
27577
27792
|
}), 128))], 2);
|
|
27578
27793
|
};
|
|
27579
27794
|
}
|
|
@@ -28365,19 +28580,19 @@ function useVirtualizer(options) {
|
|
|
28365
28580
|
}
|
|
28366
28581
|
//#endregion
|
|
28367
28582
|
//#region src/components/table/TableVirtualBody.vue?vue&type=script&setup=true&lang.ts
|
|
28368
|
-
var _hoisted_1$
|
|
28583
|
+
var _hoisted_1$18 = {
|
|
28369
28584
|
key: 0,
|
|
28370
28585
|
"aria-hidden": "true"
|
|
28371
28586
|
};
|
|
28372
|
-
var _hoisted_2$
|
|
28373
|
-
var _hoisted_3$
|
|
28587
|
+
var _hoisted_2$5 = ["colspan"];
|
|
28588
|
+
var _hoisted_3$3 = [
|
|
28374
28589
|
"aria-rowindex",
|
|
28375
28590
|
"aria-selected",
|
|
28376
28591
|
"data-state",
|
|
28377
28592
|
"onClick",
|
|
28378
28593
|
"onKeydown"
|
|
28379
28594
|
];
|
|
28380
|
-
var _hoisted_4
|
|
28595
|
+
var _hoisted_4 = [
|
|
28381
28596
|
"data-row-index",
|
|
28382
28597
|
"data-col-index",
|
|
28383
28598
|
"tabindex"
|
|
@@ -28434,14 +28649,14 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28434
28649
|
__expose({ scrollToIndex: (index) => virtualizer.value.scrollToIndex(index, { align: "auto" }) });
|
|
28435
28650
|
return (_ctx, _cache) => {
|
|
28436
28651
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tbody", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.body(), props.classNames?.body)) }, [
|
|
28437
|
-
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$
|
|
28652
|
+
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$18, [(0, vue.createElementVNode)("td", {
|
|
28438
28653
|
colspan: columnCount.value,
|
|
28439
28654
|
style: (0, vue.normalizeStyle)({
|
|
28440
28655
|
height: `${paddingTop.value}px`,
|
|
28441
28656
|
padding: 0,
|
|
28442
28657
|
border: "none"
|
|
28443
28658
|
})
|
|
28444
|
-
}, null, 12, _hoisted_2$
|
|
28659
|
+
}, null, 12, _hoisted_2$5)])) : (0, vue.createCommentVNode)("", true),
|
|
28445
28660
|
((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(virtualItems.value, (vItem) => {
|
|
28446
28661
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
|
|
28447
28662
|
key: rows.value[vItem.index].id,
|
|
@@ -28463,8 +28678,8 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28463
28678
|
}, [(0, vue.createVNode)((0, vue.unref)(FlexRender), {
|
|
28464
28679
|
render: cell.column.columnDef.cell,
|
|
28465
28680
|
props: cell.getContext()
|
|
28466
|
-
}, null, 8, ["render", "props"])], 10, _hoisted_4
|
|
28467
|
-
}), 128))], 42, _hoisted_3$
|
|
28681
|
+
}, null, 8, ["render", "props"])], 10, _hoisted_4);
|
|
28682
|
+
}), 128))], 42, _hoisted_3$3);
|
|
28468
28683
|
}), 128)),
|
|
28469
28684
|
paddingBottom.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_5, [(0, vue.createElementVNode)("td", {
|
|
28470
28685
|
colspan: columnCount.value,
|
|
@@ -28539,7 +28754,7 @@ var TableCheckboxCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28539
28754
|
});
|
|
28540
28755
|
//#endregion
|
|
28541
28756
|
//#region src/components/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
28542
|
-
var _hoisted_1$
|
|
28757
|
+
var _hoisted_1$17 = [
|
|
28543
28758
|
"aria-label",
|
|
28544
28759
|
"aria-rowcount",
|
|
28545
28760
|
"aria-colcount"
|
|
@@ -28685,7 +28900,7 @@ var Table_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28685
28900
|
overflow: "auto"
|
|
28686
28901
|
} : void 0)
|
|
28687
28902
|
}, [(0, vue.createElementVNode)("table", {
|
|
28688
|
-
class:
|
|
28903
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.content(), props.classNames?.content)),
|
|
28689
28904
|
ref_key: "rootRef",
|
|
28690
28905
|
ref: rootRef,
|
|
28691
28906
|
role: "grid",
|
|
@@ -28694,27 +28909,47 @@ var Table_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28694
28909
|
"aria-colcount": columnCount.value,
|
|
28695
28910
|
onKeydown: _cache[0] || (_cache[0] = (...args) => (0, vue.unref)(keyboardNav).onKeydown && (0, vue.unref)(keyboardNav).onKeydown(...args))
|
|
28696
28911
|
}, [
|
|
28697
|
-
(0, vue.createVNode)(TableHeader_default
|
|
28698
|
-
|
|
28912
|
+
(0, vue.createVNode)(TableHeader_default, { "class-names": {
|
|
28913
|
+
header: props.classNames?.header,
|
|
28914
|
+
row: props.classNames?.row,
|
|
28915
|
+
column: props.classNames?.column
|
|
28916
|
+
} }, null, 8, ["class-names"]),
|
|
28917
|
+
!useVirtual.value ? ((0, vue.openBlock)(), (0, vue.createBlock)(TableBody_default, {
|
|
28918
|
+
key: 0,
|
|
28919
|
+
"class-names": {
|
|
28920
|
+
body: props.classNames?.body,
|
|
28921
|
+
row: props.classNames?.row,
|
|
28922
|
+
cell: props.classNames?.cell
|
|
28923
|
+
}
|
|
28924
|
+
}, {
|
|
28699
28925
|
cell: (0, vue.withCtx)((slotProps) => [(0, vue.renderSlot)(_ctx.$slots, "cell", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps)))]),
|
|
28700
28926
|
_: 3
|
|
28701
|
-
})) : ((0, vue.openBlock)(), (0, vue.createBlock)(TableVirtualBody_default, {
|
|
28927
|
+
}, 8, ["class-names"])) : ((0, vue.openBlock)(), (0, vue.createBlock)(TableVirtualBody_default, {
|
|
28702
28928
|
key: 1,
|
|
28703
28929
|
ref_key: "virtualBodyRef",
|
|
28704
28930
|
ref: virtualBodyRef,
|
|
28705
28931
|
"scroll-element": scrollContainerRef.value,
|
|
28706
28932
|
"estimated-row-height": __props.estimatedRowHeight,
|
|
28707
|
-
overscan: __props.virtualizerOverscan
|
|
28933
|
+
overscan: __props.virtualizerOverscan,
|
|
28934
|
+
"class-names": {
|
|
28935
|
+
body: props.classNames?.body,
|
|
28936
|
+
row: props.classNames?.row,
|
|
28937
|
+
cell: props.classNames?.cell
|
|
28938
|
+
}
|
|
28708
28939
|
}, null, 8, [
|
|
28709
28940
|
"scroll-element",
|
|
28710
28941
|
"estimated-row-height",
|
|
28711
|
-
"overscan"
|
|
28942
|
+
"overscan",
|
|
28943
|
+
"class-names"
|
|
28712
28944
|
])),
|
|
28713
|
-
_ctx.$slots.footer ? ((0, vue.openBlock)(), (0, vue.createBlock)(TableFooter_default, {
|
|
28945
|
+
_ctx.$slots.footer ? ((0, vue.openBlock)(), (0, vue.createBlock)(TableFooter_default, {
|
|
28946
|
+
key: 2,
|
|
28947
|
+
"class-names": { footer: props.classNames?.footer }
|
|
28948
|
+
}, {
|
|
28714
28949
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "footer")]),
|
|
28715
28950
|
_: 3
|
|
28716
|
-
})) : (0, vue.createCommentVNode)("", true)
|
|
28717
|
-
],
|
|
28951
|
+
}, 8, ["class-names"])) : (0, vue.createCommentVNode)("", true)
|
|
28952
|
+
], 42, _hoisted_1$17)], 6)], 2);
|
|
28718
28953
|
};
|
|
28719
28954
|
}
|
|
28720
28955
|
});
|
|
@@ -28746,7 +28981,7 @@ var TableRow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28746
28981
|
});
|
|
28747
28982
|
//#endregion
|
|
28748
28983
|
//#region src/components/table/TableCell.vue?vue&type=script&setup=true&lang.ts
|
|
28749
|
-
var _hoisted_1$
|
|
28984
|
+
var _hoisted_1$16 = ["data-row-index", "data-col-index"];
|
|
28750
28985
|
//#endregion
|
|
28751
28986
|
//#region src/components/table/TableCell.vue
|
|
28752
28987
|
var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -28766,13 +29001,13 @@ var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28766
29001
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.cell(), props.classNames?.cell)),
|
|
28767
29002
|
"data-row-index": __props.rowIndex,
|
|
28768
29003
|
"data-col-index": __props.columnIndex
|
|
28769
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
29004
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$16);
|
|
28770
29005
|
};
|
|
28771
29006
|
}
|
|
28772
29007
|
});
|
|
28773
29008
|
//#endregion
|
|
28774
29009
|
//#region src/components/table/TableHeaderCell.vue?vue&type=script&setup=true&lang.ts
|
|
28775
|
-
var _hoisted_1$
|
|
29010
|
+
var _hoisted_1$15 = ["data-col-index", "aria-sort"];
|
|
28776
29011
|
//#endregion
|
|
28777
29012
|
//#region src/components/table/TableHeaderCell.vue
|
|
28778
29013
|
var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -28792,7 +29027,7 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28792
29027
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.column(), props.classNames?.column)),
|
|
28793
29028
|
"data-col-index": __props.columnIndex,
|
|
28794
29029
|
"aria-sort": __props.sortDirection
|
|
28795
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
29030
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$15);
|
|
28796
29031
|
};
|
|
28797
29032
|
}
|
|
28798
29033
|
});
|
|
@@ -28800,20 +29035,6 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28800
29035
|
//#region src/components/avatar/avatar-group.context.ts
|
|
28801
29036
|
var { useProvide: useAvatarGroupProvide, useInject: useAvatarGroupInject, key: avatarGroupContextKey } = createContext("AvatarGroup");
|
|
28802
29037
|
//#endregion
|
|
28803
|
-
//#region src/components/avatar/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
28804
|
-
var _hoisted_1$16 = {
|
|
28805
|
-
key: 0,
|
|
28806
|
-
class: /* @__PURE__ */ (0, vue.normalizeClass)("avatar__name text-xs font-medium leading-none")
|
|
28807
|
-
};
|
|
28808
|
-
var _hoisted_2$7 = {
|
|
28809
|
-
key: 1,
|
|
28810
|
-
class: "avatar__icon size-4/5",
|
|
28811
|
-
"aria-hidden": "true",
|
|
28812
|
-
viewBox: "0 0 24 24",
|
|
28813
|
-
fill: "currentColor",
|
|
28814
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28815
|
-
};
|
|
28816
|
-
//#endregion
|
|
28817
29038
|
//#region src/components/avatar/Avatar.vue
|
|
28818
29039
|
var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
28819
29040
|
__name: "Avatar",
|
|
@@ -28914,7 +29135,17 @@ var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28914
29135
|
"delay-ms": props.delayMs,
|
|
28915
29136
|
class: (0, vue.unref)(composeClassName)(slotFns.value.fallback(), props.classNames?.fallback)
|
|
28916
29137
|
}, props.src && !props.showFallback && props.delayMs === void 0 ? { "delay-ms": 600 } : {}), {
|
|
28917
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "fallback", {}, () => [initials.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span",
|
|
29138
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "fallback", {}, () => [initials.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
29139
|
+
key: 0,
|
|
29140
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.name(), "text-xs font-medium leading-none", props.classNames?.name))
|
|
29141
|
+
}, (0, vue.toDisplayString)(initials.value), 3)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", {
|
|
29142
|
+
key: 1,
|
|
29143
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.icon(), "size-4/5", props.classNames?.icon)),
|
|
29144
|
+
"aria-hidden": "true",
|
|
29145
|
+
viewBox: "0 0 24 24",
|
|
29146
|
+
fill: "currentColor",
|
|
29147
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
29148
|
+
}, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("path", { d: "M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z" }, null, -1)])], 2))])]),
|
|
28918
29149
|
_: 3
|
|
28919
29150
|
}, 16, [
|
|
28920
29151
|
"as",
|
|
@@ -28934,9 +29165,6 @@ var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28934
29165
|
}
|
|
28935
29166
|
});
|
|
28936
29167
|
//#endregion
|
|
28937
|
-
//#region src/components/avatar/AvatarGroup.vue?vue&type=script&setup=true&lang.ts
|
|
28938
|
-
var _hoisted_1$15 = { class: "avatar__name text-xs font-medium leading-none" };
|
|
28939
|
-
//#endregion
|
|
28940
29168
|
//#region src/components/avatar/AvatarGroup.vue
|
|
28941
29169
|
var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
28942
29170
|
__name: "AvatarGroup",
|
|
@@ -28958,7 +29186,8 @@ var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28958
29186
|
total: {},
|
|
28959
29187
|
renderCount: {},
|
|
28960
29188
|
class: {},
|
|
28961
|
-
avatars: {}
|
|
29189
|
+
avatars: {},
|
|
29190
|
+
classNames: {}
|
|
28962
29191
|
},
|
|
28963
29192
|
setup(__props) {
|
|
28964
29193
|
const props = __props;
|
|
@@ -28971,6 +29200,7 @@ var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28971
29200
|
isInGroup: (0, vue.ref)(true)
|
|
28972
29201
|
});
|
|
28973
29202
|
const containerClass = (0, vue.computed)(() => composeClassName("flex items-center flex-row", props.class));
|
|
29203
|
+
const nameSlotClass = (0, vue.computed)(() => composeClassName((0, _auronui_styles.avatarVariants)({ size: props.size }).name(), "text-xs font-medium leading-none"));
|
|
28974
29204
|
const visibleAvatars = (0, vue.computed)(() => {
|
|
28975
29205
|
if (!props.avatars) return [];
|
|
28976
29206
|
return props.max !== void 0 ? props.avatars.slice(0, props.max) : props.avatars;
|
|
@@ -28998,7 +29228,7 @@ var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28998
29228
|
const overflowCount = (props.total ?? allNodes.length) - props.max;
|
|
28999
29229
|
if (overflowCount <= 0) return visibleNodes;
|
|
29000
29230
|
const counterLabel = props.renderCount ? props.renderCount(overflowCount) : `+${overflowCount}`;
|
|
29001
|
-
const counterNode = (0, vue.h)(Avatar_default, {}, { fallback: () => (0, vue.h)("span", { class:
|
|
29231
|
+
const counterNode = (0, vue.h)(Avatar_default, { classNames: props.classNames }, { fallback: () => (0, vue.h)("span", { class: nameSlotClass.value }, counterLabel) });
|
|
29002
29232
|
return [...visibleNodes, counterNode];
|
|
29003
29233
|
}
|
|
29004
29234
|
return (_ctx, _cache) => {
|
|
@@ -29006,11 +29236,14 @@ var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29006
29236
|
role: "group",
|
|
29007
29237
|
class: (0, vue.normalizeClass)(containerClass.value)
|
|
29008
29238
|
}, [props.avatars ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(visibleAvatars.value, (avatar, idx) => {
|
|
29009
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, (0, vue.mergeProps)({ key: idx }, { ref_for: true }, avatar), null, 16);
|
|
29010
|
-
}), 128)), avatarOverflowCount.value > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, {
|
|
29011
|
-
|
|
29239
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, (0, vue.mergeProps)({ key: idx }, { ref_for: true }, avatar, { "class-names": props.classNames }), null, 16, ["class-names"]);
|
|
29240
|
+
}), 128)), avatarOverflowCount.value > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, {
|
|
29241
|
+
key: 0,
|
|
29242
|
+
"class-names": props.classNames
|
|
29243
|
+
}, {
|
|
29244
|
+
fallback: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(nameSlotClass.value) }, (0, vue.toDisplayString)(avatarOverflowLabel.value), 3)]),
|
|
29012
29245
|
_: 1
|
|
29013
|
-
})) : (0, vue.createCommentVNode)("", true)], 64)) : props.max !== void 0 ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(getSlicedNodes(), (node, _i) => {
|
|
29246
|
+
}, 8, ["class-names"])) : (0, vue.createCommentVNode)("", true)], 64)) : props.max !== void 0 ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(getSlicedNodes(), (node, _i) => {
|
|
29014
29247
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(node), { key: _i });
|
|
29015
29248
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 2 })], 2);
|
|
29016
29249
|
};
|
|
@@ -29523,27 +29756,37 @@ var Stepper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29523
29756
|
}, [props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(props.items, (item, idx) => {
|
|
29524
29757
|
return (0, vue.openBlock)(), (0, vue.createBlock)(StepperItem_default, {
|
|
29525
29758
|
key: idx + 1,
|
|
29526
|
-
step: idx + 1
|
|
29759
|
+
step: idx + 1,
|
|
29760
|
+
"class-names": { item: props.classNames?.item }
|
|
29527
29761
|
}, {
|
|
29528
29762
|
default: (0, vue.withCtx)(() => [
|
|
29529
|
-
(0, vue.createVNode)(StepperIndicator_default,
|
|
29763
|
+
(0, vue.createVNode)(StepperIndicator_default, { "class-names": { indicator: props.classNames?.indicator } }, {
|
|
29530
29764
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(idx + 1), 1)]),
|
|
29531
29765
|
_: 2
|
|
29532
|
-
},
|
|
29533
|
-
idx < props.items.length - 1 ? ((0, vue.openBlock)(), (0, vue.createBlock)(StepperSeparator_default, {
|
|
29534
|
-
|
|
29535
|
-
|
|
29766
|
+
}, 1032, ["class-names"]),
|
|
29767
|
+
idx < props.items.length - 1 ? ((0, vue.openBlock)(), (0, vue.createBlock)(StepperSeparator_default, {
|
|
29768
|
+
key: 0,
|
|
29769
|
+
"class-names": { separator: props.classNames?.separator }
|
|
29770
|
+
}, null, 8, ["class-names"])) : (0, vue.createCommentVNode)("", true),
|
|
29771
|
+
(0, vue.createVNode)(StepperContent_default, { "class-names": { content: props.classNames?.content } }, {
|
|
29772
|
+
default: (0, vue.withCtx)(() => [item.title ? ((0, vue.openBlock)(), (0, vue.createBlock)(StepperTitle_default, {
|
|
29773
|
+
key: 0,
|
|
29774
|
+
"class-names": { title: props.classNames?.title }
|
|
29775
|
+
}, {
|
|
29536
29776
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.title), 1)]),
|
|
29537
29777
|
_: 2
|
|
29538
|
-
},
|
|
29778
|
+
}, 1032, ["class-names"])) : (0, vue.createCommentVNode)("", true), item.description ? ((0, vue.openBlock)(), (0, vue.createBlock)(StepperDescription_default, {
|
|
29779
|
+
key: 1,
|
|
29780
|
+
"class-names": { description: props.classNames?.description }
|
|
29781
|
+
}, {
|
|
29539
29782
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.description), 1)]),
|
|
29540
29783
|
_: 2
|
|
29541
|
-
},
|
|
29784
|
+
}, 1032, ["class-names"])) : (0, vue.createCommentVNode)("", true)]),
|
|
29542
29785
|
_: 2
|
|
29543
|
-
},
|
|
29786
|
+
}, 1032, ["class-names"])
|
|
29544
29787
|
]),
|
|
29545
29788
|
_: 2
|
|
29546
|
-
}, 1032, ["step"]);
|
|
29789
|
+
}, 1032, ["step", "class-names"]);
|
|
29547
29790
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$13);
|
|
29548
29791
|
};
|
|
29549
29792
|
}
|
|
@@ -29781,11 +30024,11 @@ var TreeItemToggle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29781
30024
|
//#endregion
|
|
29782
30025
|
//#region src/components/slider/Slider.vue?vue&type=script&setup=true&lang.ts
|
|
29783
30026
|
var _hoisted_1$10 = ["data-orientation", "data-disabled"];
|
|
29784
|
-
var _hoisted_2$
|
|
30027
|
+
var _hoisted_2$4 = {
|
|
29785
30028
|
key: 0,
|
|
29786
30029
|
"data-slot": "label"
|
|
29787
30030
|
};
|
|
29788
|
-
var _hoisted_3$
|
|
30031
|
+
var _hoisted_3$2 = { class: "relative flex items-center gap-2" };
|
|
29789
30032
|
//#endregion
|
|
29790
30033
|
//#region src/components/slider/Slider.vue
|
|
29791
30034
|
var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -29919,10 +30162,10 @@ var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29919
30162
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class, props.classNames?.base)),
|
|
29920
30163
|
"data-orientation": __props.orientation,
|
|
29921
30164
|
"data-disabled": (0, vue.unref)(isDisabled) || void 0
|
|
29922
|
-
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$
|
|
30165
|
+
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$4, (0, vue.toDisplayString)(__props.label), 1)) : (0, vue.createCommentVNode)("", true), !__props.hideValue ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("output", {
|
|
29923
30166
|
key: 1,
|
|
29924
30167
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.output(), props.classNames?.output))
|
|
29925
|
-
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$
|
|
30168
|
+
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$2, [
|
|
29926
30169
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
29927
30170
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.SliderRoot), {
|
|
29928
30171
|
modelValue: internalValue.value,
|
|
@@ -30150,7 +30393,7 @@ var ProgressBar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30150
30393
|
//#endregion
|
|
30151
30394
|
//#region src/components/progress-circle/ProgressCircle.vue?vue&type=script&setup=true&lang.ts
|
|
30152
30395
|
var _hoisted_1$8 = ["r", "stroke-width"];
|
|
30153
|
-
var _hoisted_2$
|
|
30396
|
+
var _hoisted_2$3 = [
|
|
30154
30397
|
"r",
|
|
30155
30398
|
"stroke-width",
|
|
30156
30399
|
"stroke-dasharray",
|
|
@@ -30262,7 +30505,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30262
30505
|
"stroke-dashoffset": offset.value,
|
|
30263
30506
|
transform: "rotate(-90 16 16)",
|
|
30264
30507
|
style: { "transition": "stroke-dashoffset 300ms ease-out" }
|
|
30265
|
-
}, null, 10, _hoisted_2$
|
|
30508
|
+
}, null, 10, _hoisted_2$3)], 2)), __props.showValueLabel || __props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
30266
30509
|
key: 0,
|
|
30267
30510
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.value(), props.classNames?.value))
|
|
30268
30511
|
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(formattedValue.value), 1)])], 2)) : (0, vue.createCommentVNode)("", true)]),
|
|
@@ -30610,8 +30853,8 @@ var CalendarYearPicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30610
30853
|
//#endregion
|
|
30611
30854
|
//#region src/components/calendar/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
30612
30855
|
var _hoisted_1$5 = ["aria-label"];
|
|
30613
|
-
var _hoisted_2$
|
|
30614
|
-
var _hoisted_3$
|
|
30856
|
+
var _hoisted_2$2 = ["aria-label"];
|
|
30857
|
+
var _hoisted_3$1 = ["aria-label"];
|
|
30615
30858
|
//#endregion
|
|
30616
30859
|
//#region src/components/calendar/Calendar.vue
|
|
30617
30860
|
var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -30920,7 +31163,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30920
31163
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
30921
31164
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
30922
31165
|
onClick: cycleView
|
|
30923
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
31166
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$2)]),
|
|
30924
31167
|
_: 1
|
|
30925
31168
|
}, 8, ["class"]),
|
|
30926
31169
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -31000,6 +31243,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31000
31243
|
"is-read-only": (0, vue.unref)(isReadOnly),
|
|
31001
31244
|
"is-disabled": (0, vue.unref)(isDisabled),
|
|
31002
31245
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(props.class, props.classNames?.base)),
|
|
31246
|
+
"class-names": props.classNames?.yearView,
|
|
31003
31247
|
"onUpdate:modelValue": onYearSelect
|
|
31004
31248
|
}, {
|
|
31005
31249
|
heading: (0, vue.withCtx)(({ headingValue }) => [(0, vue.createElementVNode)("button", {
|
|
@@ -31007,7 +31251,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31007
31251
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
31008
31252
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
31009
31253
|
onClick: cycleView
|
|
31010
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$
|
|
31254
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$1)]),
|
|
31011
31255
|
_: 1
|
|
31012
31256
|
}, 8, [
|
|
31013
31257
|
"placeholder",
|
|
@@ -31016,7 +31260,8 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31016
31260
|
"max-value",
|
|
31017
31261
|
"is-read-only",
|
|
31018
31262
|
"is-disabled",
|
|
31019
|
-
"class"
|
|
31263
|
+
"class",
|
|
31264
|
+
"class-names"
|
|
31020
31265
|
])) : (0, vue.createCommentVNode)("", true)
|
|
31021
31266
|
], 64);
|
|
31022
31267
|
};
|
|
@@ -31025,8 +31270,8 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31025
31270
|
//#endregion
|
|
31026
31271
|
//#region src/components/range-calendar/RangeCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
31027
31272
|
var _hoisted_1$4 = ["aria-label"];
|
|
31028
|
-
var _hoisted_2$
|
|
31029
|
-
var _hoisted_3
|
|
31273
|
+
var _hoisted_2$1 = ["aria-label"];
|
|
31274
|
+
var _hoisted_3 = ["aria-label"];
|
|
31030
31275
|
//#endregion
|
|
31031
31276
|
//#region src/components/range-calendar/RangeCalendar.vue
|
|
31032
31277
|
var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -31339,7 +31584,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31339
31584
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
31340
31585
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
31341
31586
|
onClick: cycleView
|
|
31342
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
31587
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$1)]),
|
|
31343
31588
|
_: 1
|
|
31344
31589
|
}, 8, ["class"]),
|
|
31345
31590
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -31441,7 +31686,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
31441
31686
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
31442
31687
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
31443
31688
|
onClick: cycleView
|
|
31444
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3
|
|
31689
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3)]),
|
|
31445
31690
|
_: 1
|
|
31446
31691
|
}, 8, ["class"]),
|
|
31447
31692
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.YearPickerNext), {
|
|
@@ -33685,7 +33930,8 @@ var DatePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
33685
33930
|
"is-read-only": __props.isReadOnly,
|
|
33686
33931
|
"is-required": __props.isRequired,
|
|
33687
33932
|
name: __props.name,
|
|
33688
|
-
"hide-time-zone": __props.hideTimeZone
|
|
33933
|
+
"hide-time-zone": __props.hideTimeZone,
|
|
33934
|
+
"class-names": props.classNames?.dateInput
|
|
33689
33935
|
}, {
|
|
33690
33936
|
endContent: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerTrigger), {
|
|
33691
33937
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.trigger(), props.classNames?.trigger)),
|
|
@@ -33764,7 +34010,8 @@ var DatePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
33764
34010
|
"is-read-only",
|
|
33765
34011
|
"is-required",
|
|
33766
34012
|
"name",
|
|
33767
|
-
"hide-time-zone"
|
|
34013
|
+
"hide-time-zone",
|
|
34014
|
+
"class-names"
|
|
33768
34015
|
]), (0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerContent), {
|
|
33769
34016
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.popover(), props.classNames?.popover)),
|
|
33770
34017
|
"data-slot": "popover",
|
|
@@ -33812,7 +34059,8 @@ var DatePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
33812
34059
|
locale: __props.locale,
|
|
33813
34060
|
"number-of-months": __props.visibleMonths,
|
|
33814
34061
|
readonly: __props.isReadOnly,
|
|
33815
|
-
disabled: __props.isDisabled
|
|
34062
|
+
disabled: __props.isDisabled,
|
|
34063
|
+
"class-names": props.classNames?.calendar
|
|
33816
34064
|
}, null, 8, [
|
|
33817
34065
|
"modelValue",
|
|
33818
34066
|
"default-value",
|
|
@@ -33824,7 +34072,8 @@ var DatePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
33824
34072
|
"locale",
|
|
33825
34073
|
"number-of-months",
|
|
33826
34074
|
"readonly",
|
|
33827
|
-
"disabled"
|
|
34075
|
+
"disabled",
|
|
34076
|
+
"class-names"
|
|
33828
34077
|
]),
|
|
33829
34078
|
(0, vue.renderSlot)(_ctx.$slots, "calendarBottomContent")
|
|
33830
34079
|
]),
|
|
@@ -34299,7 +34548,7 @@ var DateRangePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34299
34548
|
//#endregion
|
|
34300
34549
|
//#region src/components/_shared/TimeScroller.vue?vue&type=script&setup=true&lang.ts
|
|
34301
34550
|
var _hoisted_1$3 = ["aria-label", "onScrollPassive"];
|
|
34302
|
-
var _hoisted_2
|
|
34551
|
+
var _hoisted_2 = [
|
|
34303
34552
|
"data-selected",
|
|
34304
34553
|
"aria-selected",
|
|
34305
34554
|
"onClick"
|
|
@@ -34314,7 +34563,8 @@ var TimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34314
34563
|
modelValue: {},
|
|
34315
34564
|
granularity: { default: "minute" },
|
|
34316
34565
|
hourCycle: { default: 24 },
|
|
34317
|
-
class: { default: void 0 }
|
|
34566
|
+
class: { default: void 0 },
|
|
34567
|
+
classNames: {}
|
|
34318
34568
|
},
|
|
34319
34569
|
emits: ["update:modelValue"],
|
|
34320
34570
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -34411,13 +34661,14 @@ var TimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34411
34661
|
if (typeof item === "string") return item;
|
|
34412
34662
|
return String(item).padStart(2, "0");
|
|
34413
34663
|
}
|
|
34664
|
+
const slotFns = (0, _auronui_styles.dateTimePickerVariants)();
|
|
34414
34665
|
__expose({
|
|
34415
34666
|
columnRefs,
|
|
34416
34667
|
columns
|
|
34417
34668
|
});
|
|
34418
34669
|
return (_ctx, _cache) => {
|
|
34419
34670
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
34420
|
-
class: (0, vue.normalizeClass)(
|
|
34671
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).scrollerWrap(), props.class, props.classNames?.scrollerWrap)),
|
|
34421
34672
|
"data-slot": "time-scroller"
|
|
34422
34673
|
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(columns.value, (col, i) => {
|
|
34423
34674
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
@@ -34426,7 +34677,7 @@ var TimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34426
34677
|
ref: (el) => {
|
|
34427
34678
|
if (el) columnRefs.value[i] = el;
|
|
34428
34679
|
},
|
|
34429
|
-
class:
|
|
34680
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).scrollerColumn(), props.classNames?.scrollerColumn)),
|
|
34430
34681
|
"aria-label": columnLabel(col.key),
|
|
34431
34682
|
"data-slot": "scroller-column",
|
|
34432
34683
|
role: "listbox",
|
|
@@ -34435,13 +34686,13 @@ var TimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34435
34686
|
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(renderItems(col), (item, idx) => {
|
|
34436
34687
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
34437
34688
|
key: idx,
|
|
34438
|
-
class:
|
|
34689
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(slotFns).scrollerItem(), props.classNames?.scrollerItem)),
|
|
34439
34690
|
"data-selected": isSelected(col.key, item) ? "true" : void 0,
|
|
34440
34691
|
"aria-selected": isSelected(col.key, item),
|
|
34441
34692
|
role: "option",
|
|
34442
34693
|
onClick: ($event) => onItemClick(col.key, item)
|
|
34443
|
-
}, (0, vue.toDisplayString)(itemLabel(item)),
|
|
34444
|
-
}), 128))],
|
|
34694
|
+
}, (0, vue.toDisplayString)(itemLabel(item)), 11, _hoisted_2);
|
|
34695
|
+
}), 128))], 42, _hoisted_1$3);
|
|
34445
34696
|
}), 128))], 2);
|
|
34446
34697
|
};
|
|
34447
34698
|
}
|
|
@@ -34663,6 +34914,7 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34663
34914
|
"is-required": __props.isRequired,
|
|
34664
34915
|
name: __props.name,
|
|
34665
34916
|
"hide-time-zone": __props.hideTimeZone,
|
|
34917
|
+
"class-names": props.classNames?.dateInput,
|
|
34666
34918
|
"onUpdate:modelValue": onInputChange
|
|
34667
34919
|
}, {
|
|
34668
34920
|
endContent: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerTrigger), {
|
|
@@ -34739,7 +34991,8 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34739
34991
|
"is-read-only",
|
|
34740
34992
|
"is-required",
|
|
34741
34993
|
"name",
|
|
34742
|
-
"hide-time-zone"
|
|
34994
|
+
"hide-time-zone",
|
|
34995
|
+
"class-names"
|
|
34743
34996
|
]), (0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerContent), {
|
|
34744
34997
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.popover(), props.classNames?.popover)),
|
|
34745
34998
|
"data-slot": "popover",
|
|
@@ -34790,7 +35043,8 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34790
35043
|
"is-date-unavailable": __props.isDateUnavailable,
|
|
34791
35044
|
locale: __props.locale,
|
|
34792
35045
|
readonly: __props.isReadOnly,
|
|
34793
|
-
disabled: __props.isDisabled
|
|
35046
|
+
disabled: __props.isDisabled,
|
|
35047
|
+
"class-names": props.classNames?.calendar
|
|
34794
35048
|
}, null, 8, [
|
|
34795
35049
|
"modelValue",
|
|
34796
35050
|
"default-value",
|
|
@@ -34800,7 +35054,8 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34800
35054
|
"is-date-unavailable",
|
|
34801
35055
|
"locale",
|
|
34802
35056
|
"readonly",
|
|
34803
|
-
"disabled"
|
|
35057
|
+
"disabled",
|
|
35058
|
+
"class-names"
|
|
34804
35059
|
])], 2),
|
|
34805
35060
|
(0, vue.createElementVNode)("div", {
|
|
34806
35061
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.divider(), props.classNames?.divider)),
|
|
@@ -34814,11 +35069,13 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
34814
35069
|
"model-value": internalValue.value,
|
|
34815
35070
|
granularity: __props.granularity,
|
|
34816
35071
|
"hour-cycle": __props.hourCycle,
|
|
35072
|
+
"class-names": props.classNames?.timeScroller,
|
|
34817
35073
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => onTimeUpdate(val))
|
|
34818
35074
|
}, null, 8, [
|
|
34819
35075
|
"model-value",
|
|
34820
35076
|
"granularity",
|
|
34821
|
-
"hour-cycle"
|
|
35077
|
+
"hour-cycle",
|
|
35078
|
+
"class-names"
|
|
34822
35079
|
]), (0, vue.createElementVNode)("div", {
|
|
34823
35080
|
class: (0, vue.normalizeClass)(slotFns.value.timeDone()),
|
|
34824
35081
|
"data-slot": "time-done"
|
|
@@ -35063,6 +35320,7 @@ var TimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35063
35320
|
"hide-time-zone": __props.hideTimeZone,
|
|
35064
35321
|
required: __props.required,
|
|
35065
35322
|
dir: __props.dir,
|
|
35323
|
+
"class-names": props.classNames?.timeField,
|
|
35066
35324
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = (val) => onFieldChange(val))
|
|
35067
35325
|
}, {
|
|
35068
35326
|
endContent: (0, vue.withCtx)(() => [(0, vue.createVNode)(PopoverTrigger_default, {
|
|
@@ -35124,7 +35382,8 @@ var TimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35124
35382
|
"name",
|
|
35125
35383
|
"hide-time-zone",
|
|
35126
35384
|
"required",
|
|
35127
|
-
"dir"
|
|
35385
|
+
"dir",
|
|
35386
|
+
"class-names"
|
|
35128
35387
|
]), (0, vue.createVNode)(PopoverContent_default, {
|
|
35129
35388
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.popover(), props.classNames?.popover)),
|
|
35130
35389
|
"data-slot": "popover",
|
|
@@ -35153,11 +35412,13 @@ var TimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35153
35412
|
"model-value": internalValue.value,
|
|
35154
35413
|
granularity: __props.granularity === "hour" ? "minute" : __props.granularity,
|
|
35155
35414
|
"hour-cycle": __props.hourCycle,
|
|
35415
|
+
"class-names": props.classNames?.timeScroller,
|
|
35156
35416
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => onScrollerChange(val))
|
|
35157
35417
|
}, null, 8, [
|
|
35158
35418
|
"model-value",
|
|
35159
35419
|
"granularity",
|
|
35160
|
-
"hour-cycle"
|
|
35420
|
+
"hour-cycle",
|
|
35421
|
+
"class-names"
|
|
35161
35422
|
]), (0, vue.createElementVNode)("div", {
|
|
35162
35423
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.timeDone(), props.classNames?.timeDone)),
|
|
35163
35424
|
"data-slot": "time-done"
|
|
@@ -35488,15 +35749,6 @@ var ColorSlider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35488
35749
|
//#endregion
|
|
35489
35750
|
//#region src/components/color-field/ColorField.vue?vue&type=script&setup=true&lang.ts
|
|
35490
35751
|
var _hoisted_1$2 = ["for"];
|
|
35491
|
-
var _hoisted_2$1 = {
|
|
35492
|
-
key: 1,
|
|
35493
|
-
class: "color-field__description"
|
|
35494
|
-
};
|
|
35495
|
-
var _hoisted_3$1 = {
|
|
35496
|
-
key: 2,
|
|
35497
|
-
class: "color-field__error-message",
|
|
35498
|
-
role: "alert"
|
|
35499
|
-
};
|
|
35500
35752
|
//#endregion
|
|
35501
35753
|
//#region src/components/color-field/ColorField.vue
|
|
35502
35754
|
var ColorField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -35548,7 +35800,8 @@ var ColorField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35548
35800
|
default: false
|
|
35549
35801
|
},
|
|
35550
35802
|
locale: {},
|
|
35551
|
-
step: {}
|
|
35803
|
+
step: {},
|
|
35804
|
+
classNames: {}
|
|
35552
35805
|
},
|
|
35553
35806
|
emits: ["update:modelValue", "update:color"],
|
|
35554
35807
|
setup(__props, { emit: __emit }) {
|
|
@@ -35604,27 +35857,35 @@ var ColorField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35604
35857
|
"disable-wheel-change": props.disableWheelChange,
|
|
35605
35858
|
locale: props.locale,
|
|
35606
35859
|
step: props.step,
|
|
35607
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles), props.class)),
|
|
35860
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).base(), props.class)),
|
|
35608
35861
|
"onUpdate:color": onColorUpdate
|
|
35609
35862
|
}, {
|
|
35610
35863
|
default: (0, vue.withCtx)(() => [
|
|
35611
35864
|
__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
|
|
35612
35865
|
key: 0,
|
|
35613
35866
|
for: (0, vue.unref)(id),
|
|
35614
|
-
class:
|
|
35615
|
-
}, (0, vue.toDisplayString)(__props.label),
|
|
35867
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).label(), props.classNames?.label))
|
|
35868
|
+
}, (0, vue.toDisplayString)(__props.label), 11, _hoisted_1$2)) : (0, vue.createCommentVNode)("", true),
|
|
35616
35869
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ColorFieldInput), {
|
|
35617
35870
|
id: (0, vue.unref)(id),
|
|
35618
35871
|
placeholder: __props.placeholder,
|
|
35619
35872
|
"aria-label": __props.label ? void 0 : props.ariaLabel ?? "Color value",
|
|
35620
|
-
class:
|
|
35873
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).input(), props.classNames?.input))
|
|
35621
35874
|
}, null, 8, [
|
|
35622
35875
|
"id",
|
|
35623
35876
|
"placeholder",
|
|
35624
|
-
"aria-label"
|
|
35877
|
+
"aria-label",
|
|
35878
|
+
"class"
|
|
35625
35879
|
]),
|
|
35626
|
-
__props.description && !__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span",
|
|
35627
|
-
|
|
35880
|
+
__props.description && !__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
35881
|
+
key: 1,
|
|
35882
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).description(), props.classNames?.description))
|
|
35883
|
+
}, (0, vue.toDisplayString)(__props.description), 3)) : (0, vue.createCommentVNode)("", true),
|
|
35884
|
+
__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
35885
|
+
key: 2,
|
|
35886
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).errorMessage(), props.classNames?.errorMessage)),
|
|
35887
|
+
role: "alert"
|
|
35888
|
+
}, (0, vue.toDisplayString)(__props.errorMessage), 3)) : (0, vue.createCommentVNode)("", true)
|
|
35628
35889
|
]),
|
|
35629
35890
|
_: 1
|
|
35630
35891
|
}, 8, [
|
|
@@ -35841,17 +36102,7 @@ var ColorSwatchPicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35841
36102
|
});
|
|
35842
36103
|
//#endregion
|
|
35843
36104
|
//#region src/components/color-input-group/ColorInputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
35844
|
-
var _hoisted_1$1 =
|
|
35845
|
-
var _hoisted_2 = ["for"];
|
|
35846
|
-
var _hoisted_3 = {
|
|
35847
|
-
key: 1,
|
|
35848
|
-
class: "color-input-group__description"
|
|
35849
|
-
};
|
|
35850
|
-
var _hoisted_4 = {
|
|
35851
|
-
key: 2,
|
|
35852
|
-
class: "color-input-group__error-message",
|
|
35853
|
-
role: "alert"
|
|
35854
|
-
};
|
|
36105
|
+
var _hoisted_1$1 = ["for"];
|
|
35855
36106
|
//#endregion
|
|
35856
36107
|
//#region src/components/color-input-group/ColorInputGroup.vue
|
|
35857
36108
|
var ColorInputGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -35904,7 +36155,8 @@ var ColorInputGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35904
36155
|
default: false
|
|
35905
36156
|
},
|
|
35906
36157
|
locale: {},
|
|
35907
|
-
step: {}
|
|
36158
|
+
step: {},
|
|
36159
|
+
classNames: {}
|
|
35908
36160
|
},
|
|
35909
36161
|
emits: ["update:modelValue", "update:color"],
|
|
35910
36162
|
setup(__props, { emit: __emit }) {
|
|
@@ -35950,12 +36202,12 @@ var ColorInputGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
35950
36202
|
}
|
|
35951
36203
|
}
|
|
35952
36204
|
return (_ctx, _cache) => {
|
|
35953
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div",
|
|
36205
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).wrapper(), props.classNames?.wrapper)) }, [
|
|
35954
36206
|
__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
|
|
35955
36207
|
key: 0,
|
|
35956
36208
|
for: (0, vue.unref)(id),
|
|
35957
|
-
class:
|
|
35958
|
-
}, (0, vue.toDisplayString)(__props.label),
|
|
36209
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).label(), props.classNames?.label))
|
|
36210
|
+
}, (0, vue.toDisplayString)(__props.label), 11, _hoisted_1$1)) : (0, vue.createCommentVNode)("", true),
|
|
35959
36211
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ColorFieldRoot), {
|
|
35960
36212
|
"model-value": color.value,
|
|
35961
36213
|
disabled: (0, vue.unref)(isDisabled),
|
|
@@ -36017,9 +36269,16 @@ var ColorInputGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
36017
36269
|
"class",
|
|
36018
36270
|
"aria-invalid"
|
|
36019
36271
|
]),
|
|
36020
|
-
__props.description && !__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span",
|
|
36021
|
-
|
|
36022
|
-
|
|
36272
|
+
__props.description && !__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
36273
|
+
key: 1,
|
|
36274
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).description(), props.classNames?.description))
|
|
36275
|
+
}, (0, vue.toDisplayString)(__props.description), 3)) : (0, vue.createCommentVNode)("", true),
|
|
36276
|
+
__props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
36277
|
+
key: 2,
|
|
36278
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).errorMessage(), props.classNames?.errorMessage)),
|
|
36279
|
+
role: "alert"
|
|
36280
|
+
}, (0, vue.toDisplayString)(__props.errorMessage), 3)) : (0, vue.createCommentVNode)("", true)
|
|
36281
|
+
], 2);
|
|
36023
36282
|
};
|
|
36024
36283
|
}
|
|
36025
36284
|
});
|