@auronui/vue 1.0.1 → 1.0.3
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/LICENSE +21 -0
- package/dist/cjs/index.cjs +760 -194
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/autocomplete/Autocomplete.context.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 +7 -0
- package/dist/components/autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteContent.js.map +1 -1
- package/dist/components/autocomplete/AutocompleteContent.vue_vue_type_script_setup_true_lang.js +10 -4
- package/dist/components/autocomplete/AutocompleteContent.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 +2 -1
- 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 +5 -1
- package/dist/components/autocomplete/AutocompleteItem.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 +6 -1
- 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 +7 -0
- package/dist/components/date-time-picker/DateTimePicker.js.map +1 -0
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +398 -0
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.js +7 -0
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.js.map +1 -0
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js +157 -0
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/index.js +2 -1
- package/package.json +15 -15
package/dist/cjs/index.cjs
CHANGED
|
@@ -373,15 +373,15 @@ function createContext(contextName) {
|
|
|
373
373
|
}
|
|
374
374
|
//#endregion
|
|
375
375
|
//#region src/components/spinner/Spinner.vue?vue&type=script&setup=true&lang.ts
|
|
376
|
-
var _hoisted_1$
|
|
377
|
-
var _hoisted_2$
|
|
376
|
+
var _hoisted_1$58 = ["aria-label"];
|
|
377
|
+
var _hoisted_2$32 = {
|
|
378
378
|
"data-slot": "spinner-icon",
|
|
379
379
|
viewBox: "0 0 24 24",
|
|
380
380
|
"aria-hidden": "true",
|
|
381
381
|
width: "100%",
|
|
382
382
|
height: "100%"
|
|
383
383
|
};
|
|
384
|
-
var _hoisted_3$
|
|
384
|
+
var _hoisted_3$21 = { fill: "none" };
|
|
385
385
|
var _hoisted_4$14 = ["fill"];
|
|
386
386
|
var _hoisted_5$10 = ["fill"];
|
|
387
387
|
//#endregion
|
|
@@ -408,7 +408,7 @@ var Spinner_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
408
408
|
class: (0, vue.normalizeClass)(classes.value),
|
|
409
409
|
role: "status",
|
|
410
410
|
"aria-label": __props.label
|
|
411
|
-
}, [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
411
|
+
}, [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$32, [(0, vue.createElementVNode)("defs", null, [(0, vue.createElementVNode)("linearGradient", {
|
|
412
412
|
id: gradId1,
|
|
413
413
|
x1: "50%",
|
|
414
414
|
x2: "50%",
|
|
@@ -435,7 +435,7 @@ var Spinner_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
435
435
|
offset: "100%",
|
|
436
436
|
"stop-color": "currentColor",
|
|
437
437
|
"stop-opacity": "0.55"
|
|
438
|
-
}, null, -1)])])]), (0, vue.createElementVNode)("g", _hoisted_3$
|
|
438
|
+
}, null, -1)])])]), (0, vue.createElementVNode)("g", _hoisted_3$21, [
|
|
439
439
|
_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)),
|
|
440
440
|
(0, vue.createElementVNode)("path", {
|
|
441
441
|
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",
|
|
@@ -447,13 +447,13 @@ var Spinner_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
447
447
|
fill: `url(#${gradId2})`,
|
|
448
448
|
transform: "translate(1.5 1.625)"
|
|
449
449
|
}, null, 8, _hoisted_5$10)
|
|
450
|
-
])]))], 10, _hoisted_1$
|
|
450
|
+
])]))], 10, _hoisted_1$58);
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region src/components/separator/Separator.vue?vue&type=script&setup=true&lang.ts
|
|
456
|
-
var _hoisted_1$
|
|
456
|
+
var _hoisted_1$57 = { class: "separator__content" };
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/components/separator/Separator.vue
|
|
459
459
|
var Separator_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -487,7 +487,7 @@ var Separator_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
487
487
|
"aria-orientation": "horizontal"
|
|
488
488
|
}, [
|
|
489
489
|
_cache[0] || (_cache[0] = (0, vue.createElementVNode)("div", { class: "separator__line" }, null, -1)),
|
|
490
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
490
|
+
(0, vue.createElementVNode)("div", _hoisted_1$57, [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
491
491
|
_cache[1] || (_cache[1] = (0, vue.createElementVNode)("div", { class: "separator__line" }, null, -1))
|
|
492
492
|
], 2));
|
|
493
493
|
};
|
|
@@ -539,7 +539,7 @@ var Text_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
539
539
|
});
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/components/label/Label.vue?vue&type=script&setup=true&lang.ts
|
|
542
|
-
var _hoisted_1$
|
|
542
|
+
var _hoisted_1$56 = ["for"];
|
|
543
543
|
//#endregion
|
|
544
544
|
//#region src/components/label/Label.vue
|
|
545
545
|
var Label_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -571,13 +571,13 @@ var Label_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
571
571
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
|
|
572
572
|
class: (0, vue.normalizeClass)(classes.value),
|
|
573
573
|
for: props.for
|
|
574
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
574
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$56);
|
|
575
575
|
};
|
|
576
576
|
}
|
|
577
577
|
});
|
|
578
578
|
//#endregion
|
|
579
579
|
//#region src/components/description/Description.vue?vue&type=script&setup=true&lang.ts
|
|
580
|
-
var _hoisted_1$
|
|
580
|
+
var _hoisted_1$55 = ["id"];
|
|
581
581
|
//#endregion
|
|
582
582
|
//#region src/components/description/Description.vue
|
|
583
583
|
var Description_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -593,7 +593,7 @@ var Description_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
593
593
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("p", {
|
|
594
594
|
id: props.id,
|
|
595
595
|
class: (0, vue.normalizeClass)(classes.value)
|
|
596
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
596
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$55);
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
});
|
|
@@ -661,7 +661,7 @@ var Badge_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
661
661
|
});
|
|
662
662
|
//#endregion
|
|
663
663
|
//#region src/components/chip/Chip.vue?vue&type=script&setup=true&lang.ts
|
|
664
|
-
var _hoisted_1$
|
|
664
|
+
var _hoisted_1$54 = ["aria-label"];
|
|
665
665
|
//#endregion
|
|
666
666
|
//#region src/components/chip/Chip.vue
|
|
667
667
|
var Chip_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -734,7 +734,7 @@ var Chip_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
734
734
|
y1: "6",
|
|
735
735
|
x2: "18",
|
|
736
736
|
y2: "18"
|
|
737
|
-
})], -1)])], 10, _hoisted_1$
|
|
737
|
+
})], -1)])], 10, _hoisted_1$54)) : (0, vue.createCommentVNode)("", true)
|
|
738
738
|
], 2);
|
|
739
739
|
};
|
|
740
740
|
}
|
|
@@ -767,7 +767,7 @@ var Surface_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
767
767
|
var { useProvide: useCardProvide, useInject: useCardInject, key: cardContextKey } = createContext("Card");
|
|
768
768
|
//#endregion
|
|
769
769
|
//#region src/components/card/Card.vue?vue&type=script&setup=true&lang.ts
|
|
770
|
-
var _hoisted_1$
|
|
770
|
+
var _hoisted_1$53 = [
|
|
771
771
|
"role",
|
|
772
772
|
"tabindex",
|
|
773
773
|
"aria-disabled",
|
|
@@ -843,7 +843,7 @@ var Card_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
843
843
|
"data-disabled": __props.isDisabled || void 0,
|
|
844
844
|
onClick,
|
|
845
845
|
onKeydown
|
|
846
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
846
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 42, _hoisted_1$53);
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
849
|
});
|
|
@@ -1068,7 +1068,7 @@ var Button_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1068
1068
|
});
|
|
1069
1069
|
//#endregion
|
|
1070
1070
|
//#region src/components/button/ButtonGroup.vue?vue&type=script&setup=true&lang.ts
|
|
1071
|
-
var _hoisted_1$
|
|
1071
|
+
var _hoisted_1$52 = ["data-orientation"];
|
|
1072
1072
|
//#endregion
|
|
1073
1073
|
//#region src/components/button/ButtonGroup.vue
|
|
1074
1074
|
var ButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1133,7 +1133,7 @@ var ButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1133
1133
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
1134
1134
|
"data-orientation": props.orientation,
|
|
1135
1135
|
role: "group"
|
|
1136
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
1136
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$52);
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
@@ -1205,7 +1205,7 @@ var CloseButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1205
1205
|
var { useProvide: useToggleButtonGroupProvide, useInject: useToggleButtonGroupInject, key: toggleButtonGroupContextKey } = createContext("ToggleButtonGroup");
|
|
1206
1206
|
//#endregion
|
|
1207
1207
|
//#region src/components/button/ToggleButton.vue?vue&type=script&setup=true&lang.ts
|
|
1208
|
-
var _hoisted_1$
|
|
1208
|
+
var _hoisted_1$51 = ["disabled", "data-orientation"];
|
|
1209
1209
|
//#endregion
|
|
1210
1210
|
//#region src/components/button/ToggleButton.vue
|
|
1211
1211
|
var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1276,7 +1276,7 @@ var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1276
1276
|
disabled: isDisabled.value || void 0,
|
|
1277
1277
|
"data-orientation": (0, vue.unref)(groupCtx).orientation.value,
|
|
1278
1278
|
type: "button"
|
|
1279
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
1279
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$51)]),
|
|
1280
1280
|
_: 3
|
|
1281
1281
|
}, 8, [
|
|
1282
1282
|
"disabled",
|
|
@@ -1288,7 +1288,7 @@ var ToggleButton_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1288
1288
|
});
|
|
1289
1289
|
//#endregion
|
|
1290
1290
|
//#region src/components/button/ToggleButtonGroup.vue?vue&type=script&setup=true&lang.ts
|
|
1291
|
-
var _hoisted_1$
|
|
1291
|
+
var _hoisted_1$50 = ["data-orientation"];
|
|
1292
1292
|
//#endregion
|
|
1293
1293
|
//#region src/components/button/ToggleButtonGroup.vue
|
|
1294
1294
|
var ToggleButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1355,7 +1355,7 @@ var ToggleButtonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1355
1355
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
1356
1356
|
"data-orientation": props.orientation,
|
|
1357
1357
|
role: "group"
|
|
1358
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
1358
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$50);
|
|
1359
1359
|
};
|
|
1360
1360
|
}
|
|
1361
1361
|
});
|
|
@@ -1443,7 +1443,7 @@ var Link_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1443
1443
|
});
|
|
1444
1444
|
//#endregion
|
|
1445
1445
|
//#region src/components/input/Input.vue?vue&type=script&setup=true&lang.ts
|
|
1446
|
-
var _hoisted_1$
|
|
1446
|
+
var _hoisted_1$49 = [
|
|
1447
1447
|
"data-invalid",
|
|
1448
1448
|
"data-disabled",
|
|
1449
1449
|
"data-readonly",
|
|
@@ -1451,8 +1451,8 @@ var _hoisted_1$46 = [
|
|
|
1451
1451
|
"data-has-label",
|
|
1452
1452
|
"data-has-helper"
|
|
1453
1453
|
];
|
|
1454
|
-
var _hoisted_2$
|
|
1455
|
-
var _hoisted_3$
|
|
1454
|
+
var _hoisted_2$31 = ["for"];
|
|
1455
|
+
var _hoisted_3$20 = {
|
|
1456
1456
|
key: 0,
|
|
1457
1457
|
"aria-hidden": "true"
|
|
1458
1458
|
};
|
|
@@ -1613,7 +1613,7 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1613
1613
|
key: 0,
|
|
1614
1614
|
for: inputId.value,
|
|
1615
1615
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
1616
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
1616
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$20, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$31)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createElementVNode)("div", {
|
|
1617
1617
|
class: (0, vue.normalizeClass)(slotFns.value.inputWrapper()),
|
|
1618
1618
|
"data-filled": hasLabel.value ? isFilled.value || void 0 : void 0
|
|
1619
1619
|
}, [
|
|
@@ -1708,13 +1708,13 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1708
1708
|
key: 1,
|
|
1709
1709
|
id: descriptionId.value,
|
|
1710
1710
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
1711
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_12)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
1711
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_12)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$49);
|
|
1712
1712
|
};
|
|
1713
1713
|
}
|
|
1714
1714
|
});
|
|
1715
1715
|
//#endregion
|
|
1716
1716
|
//#region src/components/textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
1717
|
-
var _hoisted_1$
|
|
1717
|
+
var _hoisted_1$48 = [
|
|
1718
1718
|
"data-invalid",
|
|
1719
1719
|
"data-disabled",
|
|
1720
1720
|
"data-readonly",
|
|
@@ -1722,8 +1722,8 @@ var _hoisted_1$45 = [
|
|
|
1722
1722
|
"data-has-label",
|
|
1723
1723
|
"data-has-helper"
|
|
1724
1724
|
];
|
|
1725
|
-
var _hoisted_2$
|
|
1726
|
-
var _hoisted_3$
|
|
1725
|
+
var _hoisted_2$30 = ["for"];
|
|
1726
|
+
var _hoisted_3$19 = {
|
|
1727
1727
|
key: 0,
|
|
1728
1728
|
"aria-hidden": "true"
|
|
1729
1729
|
};
|
|
@@ -1853,7 +1853,7 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1853
1853
|
key: 0,
|
|
1854
1854
|
for: inputId.value,
|
|
1855
1855
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
1856
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
1856
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$19, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$30)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createElementVNode)("div", {
|
|
1857
1857
|
class: (0, vue.normalizeClass)(slotFns.value.inputWrapper()),
|
|
1858
1858
|
"data-filled": hasLabel.value ? isFilled.value || void 0 : void 0
|
|
1859
1859
|
}, [
|
|
@@ -1931,13 +1931,13 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1931
1931
|
key: 1,
|
|
1932
1932
|
id: descriptionId.value,
|
|
1933
1933
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
1934
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_9)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
1934
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_9)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$48);
|
|
1935
1935
|
};
|
|
1936
1936
|
}
|
|
1937
1937
|
});
|
|
1938
1938
|
//#endregion
|
|
1939
1939
|
//#region src/components/number-field/NumberField.vue?vue&type=script&setup=true&lang.ts
|
|
1940
|
-
var _hoisted_1$
|
|
1940
|
+
var _hoisted_1$47 = ["for"];
|
|
1941
1941
|
//#endregion
|
|
1942
1942
|
//#region src/components/number-field/NumberField.vue
|
|
1943
1943
|
var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -2017,7 +2017,7 @@ var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2017
2017
|
for: resolvedInputId.value,
|
|
2018
2018
|
class: (0, vue.normalizeClass)(isLabelVisible.value ? void 0 : "sr-only"),
|
|
2019
2019
|
"data-slot": "label"
|
|
2020
|
-
}, (0, vue.toDisplayString)(props.label || props.ariaLabel), 11, _hoisted_1$
|
|
2020
|
+
}, (0, vue.toDisplayString)(props.label || props.ariaLabel), 11, _hoisted_1$47)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", {
|
|
2021
2021
|
class: (0, vue.normalizeClass)(slotFns.value.group()),
|
|
2022
2022
|
"data-slot": "group"
|
|
2023
2023
|
}, [
|
|
@@ -2080,7 +2080,7 @@ var NumberField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2080
2080
|
});
|
|
2081
2081
|
//#endregion
|
|
2082
2082
|
//#region src/components/fieldset/Fieldset.vue?vue&type=script&setup=true&lang.ts
|
|
2083
|
-
var _hoisted_1$
|
|
2083
|
+
var _hoisted_1$46 = ["disabled"];
|
|
2084
2084
|
//#endregion
|
|
2085
2085
|
//#region src/components/fieldset/Fieldset.vue
|
|
2086
2086
|
var Fieldset_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -2108,7 +2108,7 @@ var Fieldset_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2108
2108
|
}, [props.legend ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("legend", {
|
|
2109
2109
|
key: 0,
|
|
2110
2110
|
class: (0, vue.normalizeClass)((0, vue.unref)(styles).legend())
|
|
2111
|
-
}, (0, vue.toDisplayString)(props.legend), 3)) : (0, vue.createCommentVNode)("", true), (0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
2111
|
+
}, (0, vue.toDisplayString)(props.legend), 3)) : (0, vue.createCommentVNode)("", true), (0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$46);
|
|
2112
2112
|
};
|
|
2113
2113
|
}
|
|
2114
2114
|
});
|
|
@@ -2117,7 +2117,7 @@ var Fieldset_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2117
2117
|
var { useProvide: useCheckboxGroupProvide, useInject: useCheckboxGroupInject, key: checkboxGroupContextKey } = createContext("CheckboxGroup");
|
|
2118
2118
|
//#endregion
|
|
2119
2119
|
//#region src/components/checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
2120
|
-
var _hoisted_1$
|
|
2120
|
+
var _hoisted_1$45 = {
|
|
2121
2121
|
key: 0,
|
|
2122
2122
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2123
2123
|
width: "12",
|
|
@@ -2129,7 +2129,7 @@ var _hoisted_1$42 = {
|
|
|
2129
2129
|
"stroke-linecap": "round",
|
|
2130
2130
|
"aria-hidden": "true"
|
|
2131
2131
|
};
|
|
2132
|
-
var _hoisted_2$
|
|
2132
|
+
var _hoisted_2$29 = {
|
|
2133
2133
|
key: 1,
|
|
2134
2134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2135
2135
|
width: "12",
|
|
@@ -2204,12 +2204,12 @@ var Checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2204
2204
|
"onUpdate:modelValue": handleUpdate
|
|
2205
2205
|
}), {
|
|
2206
2206
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(slotFns.value.control()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.CheckboxIndicator), { class: (0, vue.normalizeClass)(slotFns.value.indicator()) }, {
|
|
2207
|
-
default: (0, vue.withCtx)(() => [props.isIndeterminate ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
2207
|
+
default: (0, vue.withCtx)(() => [props.isIndeterminate ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$45, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("line", {
|
|
2208
2208
|
x1: "5",
|
|
2209
2209
|
y1: "12",
|
|
2210
2210
|
x2: "19",
|
|
2211
2211
|
y2: "12"
|
|
2212
|
-
}, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
2212
|
+
}, null, -1)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$29, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" }, null, -1)])]))]),
|
|
2213
2213
|
_: 1
|
|
2214
2214
|
}, 8, ["class"])], 2), (0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(slotFns.value.content()) }, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2)]),
|
|
2215
2215
|
_: 3
|
|
@@ -2225,9 +2225,9 @@ var Checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2225
2225
|
});
|
|
2226
2226
|
//#endregion
|
|
2227
2227
|
//#region src/components/checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
|
|
2228
|
-
var _hoisted_1$
|
|
2229
|
-
var _hoisted_2$
|
|
2230
|
-
var _hoisted_3$
|
|
2228
|
+
var _hoisted_1$44 = ["aria-labelledby", "data-orientation"];
|
|
2229
|
+
var _hoisted_2$28 = { class: "checkbox-group__wrapper" };
|
|
2230
|
+
var _hoisted_3$18 = {
|
|
2231
2231
|
key: 1,
|
|
2232
2232
|
class: "checkbox-group__description"
|
|
2233
2233
|
};
|
|
@@ -2281,9 +2281,9 @@ var CheckboxGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2281
2281
|
id: labelId,
|
|
2282
2282
|
class: "checkbox-group__label"
|
|
2283
2283
|
}, (0, vue.toDisplayString)(props.label), 1)) : (0, vue.createCommentVNode)("", true),
|
|
2284
|
-
(0, vue.createElementVNode)("div", _hoisted_2$
|
|
2285
|
-
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
2286
|
-
], 10, _hoisted_1$
|
|
2284
|
+
(0, vue.createElementVNode)("div", _hoisted_2$28, [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
2285
|
+
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$18, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)
|
|
2286
|
+
], 10, _hoisted_1$44);
|
|
2287
2287
|
};
|
|
2288
2288
|
}
|
|
2289
2289
|
});
|
|
@@ -2334,8 +2334,8 @@ var Radio_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2334
2334
|
});
|
|
2335
2335
|
//#endregion
|
|
2336
2336
|
//#region src/components/radio/RadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
2337
|
-
var _hoisted_1$
|
|
2338
|
-
var _hoisted_2$
|
|
2337
|
+
var _hoisted_1$43 = { class: "radio-group__wrapper" };
|
|
2338
|
+
var _hoisted_2$27 = {
|
|
2339
2339
|
key: 1,
|
|
2340
2340
|
class: "radio-group__description"
|
|
2341
2341
|
};
|
|
@@ -2384,8 +2384,8 @@ var RadioGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2384
2384
|
id: labelId,
|
|
2385
2385
|
class: "radio-group__label"
|
|
2386
2386
|
}, (0, vue.toDisplayString)(props.label), 1)) : (0, vue.createCommentVNode)("", true),
|
|
2387
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
2388
|
-
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
2387
|
+
(0, vue.createElementVNode)("div", _hoisted_1$43, [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
2388
|
+
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$27, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)
|
|
2389
2389
|
]),
|
|
2390
2390
|
_: 3
|
|
2391
2391
|
}, 8, [
|
|
@@ -2476,8 +2476,8 @@ var Switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2476
2476
|
});
|
|
2477
2477
|
//#endregion
|
|
2478
2478
|
//#region src/components/switch/SwitchGroup.vue?vue&type=script&setup=true&lang.ts
|
|
2479
|
-
var _hoisted_1$
|
|
2480
|
-
var _hoisted_2$
|
|
2479
|
+
var _hoisted_1$42 = ["aria-labelledby", "data-orientation"];
|
|
2480
|
+
var _hoisted_2$26 = {
|
|
2481
2481
|
key: 1,
|
|
2482
2482
|
class: "switch-group__description"
|
|
2483
2483
|
};
|
|
@@ -2532,8 +2532,8 @@ var SwitchGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2532
2532
|
class: "switch-group__label"
|
|
2533
2533
|
}, (0, vue.toDisplayString)(props.label), 1)) : (0, vue.createCommentVNode)("", true),
|
|
2534
2534
|
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(groupSlots.value.items()) }, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2),
|
|
2535
|
-
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
2536
|
-
], 10, _hoisted_1$
|
|
2535
|
+
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$26, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)
|
|
2536
|
+
], 10, _hoisted_1$42);
|
|
2537
2537
|
};
|
|
2538
2538
|
}
|
|
2539
2539
|
});
|
|
@@ -12345,7 +12345,7 @@ var AlertDialogOverlay_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
12345
12345
|
});
|
|
12346
12346
|
//#endregion
|
|
12347
12347
|
//#region src/components/alert-dialog/AlertDialogContent.vue?vue&type=script&setup=true&lang.ts
|
|
12348
|
-
var _hoisted_1$
|
|
12348
|
+
var _hoisted_1$41 = ["data-placement"];
|
|
12349
12349
|
//#endregion
|
|
12350
12350
|
//#region src/components/alert-dialog/AlertDialogContent.vue
|
|
12351
12351
|
var AlertDialogContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -12380,7 +12380,7 @@ var AlertDialogContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
12380
12380
|
}, {
|
|
12381
12381
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
12382
12382
|
_: 3
|
|
12383
|
-
}, 8, ["class", "data-placement"])], 10, _hoisted_1$
|
|
12383
|
+
}, 8, ["class", "data-placement"])], 10, _hoisted_1$41)]),
|
|
12384
12384
|
_: 3
|
|
12385
12385
|
});
|
|
12386
12386
|
};
|
|
@@ -12530,7 +12530,7 @@ var AlertDialogDescription_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
12530
12530
|
});
|
|
12531
12531
|
//#endregion
|
|
12532
12532
|
//#region src/components/alert-dialog/AlertDialogIcon.vue?vue&type=script&setup=true&lang.ts
|
|
12533
|
-
var _hoisted_1$
|
|
12533
|
+
var _hoisted_1$40 = {
|
|
12534
12534
|
key: 0,
|
|
12535
12535
|
"data-slot": "alert-dialog-default-icon",
|
|
12536
12536
|
viewBox: "0 0 24 24",
|
|
@@ -12540,7 +12540,7 @@ var _hoisted_1$37 = {
|
|
|
12540
12540
|
"stroke-linecap": "round",
|
|
12541
12541
|
"stroke-linejoin": "round"
|
|
12542
12542
|
};
|
|
12543
|
-
var _hoisted_2$
|
|
12543
|
+
var _hoisted_2$25 = {
|
|
12544
12544
|
key: 1,
|
|
12545
12545
|
"data-slot": "alert-dialog-default-icon",
|
|
12546
12546
|
viewBox: "0 0 24 24",
|
|
@@ -12550,7 +12550,7 @@ var _hoisted_2$23 = {
|
|
|
12550
12550
|
"stroke-linecap": "round",
|
|
12551
12551
|
"stroke-linejoin": "round"
|
|
12552
12552
|
};
|
|
12553
|
-
var _hoisted_3$
|
|
12553
|
+
var _hoisted_3$17 = {
|
|
12554
12554
|
key: 2,
|
|
12555
12555
|
"data-slot": "alert-dialog-default-icon",
|
|
12556
12556
|
viewBox: "0 0 24 24",
|
|
@@ -12592,7 +12592,7 @@ var AlertDialogIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
12592
12592
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
12593
12593
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(styles).icon({ status: resolvedStatus() }), props.class)),
|
|
12594
12594
|
"aria-hidden": "true"
|
|
12595
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [resolvedStatus() === "danger" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
12595
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [resolvedStatus() === "danger" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$40, [..._cache[0] || (_cache[0] = [
|
|
12596
12596
|
(0, vue.createElementVNode)("circle", {
|
|
12597
12597
|
cx: "12",
|
|
12598
12598
|
cy: "12",
|
|
@@ -12600,11 +12600,11 @@ var AlertDialogIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
12600
12600
|
}, null, -1),
|
|
12601
12601
|
(0, vue.createElementVNode)("path", { d: "m9 9 6 6" }, null, -1),
|
|
12602
12602
|
(0, vue.createElementVNode)("path", { d: "m15 9-6 6" }, null, -1)
|
|
12603
|
-
])])) : resolvedStatus() === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
12603
|
+
])])) : resolvedStatus() === "warning" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$25, [..._cache[1] || (_cache[1] = [
|
|
12604
12604
|
(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),
|
|
12605
12605
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
12606
12606
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
12607
|
-
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
12607
|
+
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$17, [..._cache[2] || (_cache[2] = [(0, vue.createElementVNode)("circle", {
|
|
12608
12608
|
cx: "12",
|
|
12609
12609
|
cy: "12",
|
|
12610
12610
|
r: "9"
|
|
@@ -13324,7 +13324,7 @@ var Collapsible_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13324
13324
|
});
|
|
13325
13325
|
//#endregion
|
|
13326
13326
|
//#region src/components/collapsible/CollapsibleTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
13327
|
-
var _hoisted_1$
|
|
13327
|
+
var _hoisted_1$39 = ["data-state"];
|
|
13328
13328
|
//#endregion
|
|
13329
13329
|
//#region src/components/collapsible/CollapsibleTrigger.vue
|
|
13330
13330
|
var CollapsibleTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -13351,7 +13351,7 @@ var CollapsibleTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13351
13351
|
"stroke-linejoin": "round",
|
|
13352
13352
|
"aria-hidden": "true",
|
|
13353
13353
|
focusable: "false"
|
|
13354
|
-
}, [(0, vue.createElementVNode)("polyline", { points: "6 9 12 15 18 9" })], -1)])], 10, _hoisted_1$
|
|
13354
|
+
}, [(0, vue.createElementVNode)("polyline", { points: "6 9 12 15 18 9" })], -1)])], 10, _hoisted_1$39)]),
|
|
13355
13355
|
_: 3
|
|
13356
13356
|
}, 8, ["class"]);
|
|
13357
13357
|
};
|
|
@@ -13497,9 +13497,9 @@ var Breadcrumbs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13497
13497
|
});
|
|
13498
13498
|
//#endregion
|
|
13499
13499
|
//#region src/components/breadcrumbs/BreadcrumbItem.vue?vue&type=script&setup=true&lang.ts
|
|
13500
|
-
var _hoisted_1$
|
|
13501
|
-
var _hoisted_2$
|
|
13502
|
-
var _hoisted_3$
|
|
13500
|
+
var _hoisted_1$38 = ["aria-current"];
|
|
13501
|
+
var _hoisted_2$24 = ["href"];
|
|
13502
|
+
var _hoisted_3$16 = {
|
|
13503
13503
|
key: 1,
|
|
13504
13504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13505
13505
|
viewBox: "0 0 24 24",
|
|
@@ -13534,14 +13534,14 @@ var BreadcrumbItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13534
13534
|
key: 0,
|
|
13535
13535
|
href: props.href,
|
|
13536
13536
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.link())
|
|
13537
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_2$
|
|
13537
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_2$24)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
13538
13538
|
key: 1,
|
|
13539
13539
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.link())
|
|
13540
13540
|
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 2)), !props.isLast ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
13541
13541
|
key: 2,
|
|
13542
13542
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slotFns.value.separator()),
|
|
13543
13543
|
"aria-hidden": "true"
|
|
13544
|
-
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
13544
|
+
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$16, [..._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$38);
|
|
13545
13545
|
};
|
|
13546
13546
|
}
|
|
13547
13547
|
});
|
|
@@ -13734,7 +13734,7 @@ var ToolbarToggleItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13734
13734
|
});
|
|
13735
13735
|
//#endregion
|
|
13736
13736
|
//#region src/components/alert/Alert.vue?vue&type=script&setup=true&lang.ts
|
|
13737
|
-
var _hoisted_1$
|
|
13737
|
+
var _hoisted_1$37 = {
|
|
13738
13738
|
key: 0,
|
|
13739
13739
|
"data-slot": "alert-default-icon",
|
|
13740
13740
|
viewBox: "0 0 24 24",
|
|
@@ -13744,7 +13744,7 @@ var _hoisted_1$34 = {
|
|
|
13744
13744
|
"stroke-linecap": "round",
|
|
13745
13745
|
"stroke-linejoin": "round"
|
|
13746
13746
|
};
|
|
13747
|
-
var _hoisted_2$
|
|
13747
|
+
var _hoisted_2$23 = {
|
|
13748
13748
|
key: 1,
|
|
13749
13749
|
"data-slot": "alert-default-icon",
|
|
13750
13750
|
viewBox: "0 0 24 24",
|
|
@@ -13754,7 +13754,7 @@ var _hoisted_2$21 = {
|
|
|
13754
13754
|
"stroke-linecap": "round",
|
|
13755
13755
|
"stroke-linejoin": "round"
|
|
13756
13756
|
};
|
|
13757
|
-
var _hoisted_3$
|
|
13757
|
+
var _hoisted_3$15 = {
|
|
13758
13758
|
key: 2,
|
|
13759
13759
|
"data-slot": "alert-default-icon",
|
|
13760
13760
|
viewBox: "0 0 24 24",
|
|
@@ -13829,7 +13829,7 @@ var Alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13829
13829
|
(0, vue.renderSlot)(_ctx.$slots, "icon", {}, () => [(0, vue.createElementVNode)("span", {
|
|
13830
13830
|
class: (0, vue.normalizeClass)(styles.value.indicator()),
|
|
13831
13831
|
"aria-hidden": "true"
|
|
13832
|
-
}, [__props.severity === "default" || __props.severity === "primary" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$
|
|
13832
|
+
}, [__props.severity === "default" || __props.severity === "primary" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$37, [..._cache[0] || (_cache[0] = [
|
|
13833
13833
|
(0, vue.createElementVNode)("circle", {
|
|
13834
13834
|
cx: "12",
|
|
13835
13835
|
cy: "12",
|
|
@@ -13837,11 +13837,11 @@ var Alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13837
13837
|
}, null, -1),
|
|
13838
13838
|
(0, vue.createElementVNode)("path", { d: "M12 8h.01" }, null, -1),
|
|
13839
13839
|
(0, vue.createElementVNode)("path", { d: "M11 12h1v4h1" }, null, -1)
|
|
13840
|
-
])])) : __props.severity === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$
|
|
13840
|
+
])])) : __props.severity === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$23, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("circle", {
|
|
13841
13841
|
cx: "12",
|
|
13842
13842
|
cy: "12",
|
|
13843
13843
|
r: "9"
|
|
13844
|
-
}, 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$
|
|
13844
|
+
}, 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$15, [..._cache[2] || (_cache[2] = [
|
|
13845
13845
|
(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),
|
|
13846
13846
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
13847
13847
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
@@ -14203,7 +14203,7 @@ function useToast() {
|
|
|
14203
14203
|
}
|
|
14204
14204
|
//#endregion
|
|
14205
14205
|
//#region src/components/toast/ToastViewport.vue?vue&type=script&setup=true&lang.ts
|
|
14206
|
-
var _hoisted_1$
|
|
14206
|
+
var _hoisted_1$36 = { class: "flex shrink-0 items-center gap-1 ml-auto" };
|
|
14207
14207
|
//#endregion
|
|
14208
14208
|
//#region src/components/toast/ToastViewport.vue
|
|
14209
14209
|
var ToastViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -14273,7 +14273,7 @@ var ToastViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14273
14273
|
}, 1024), toast.description ? ((0, vue.openBlock)(), (0, vue.createBlock)(ToastDescription_default, { key: 0 }, {
|
|
14274
14274
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(toast.description), 1)]),
|
|
14275
14275
|
_: 2
|
|
14276
|
-
}, 1024)) : (0, vue.createCommentVNode)("", true)], 2), (0, vue.createElementVNode)("div", _hoisted_1$
|
|
14276
|
+
}, 1024)) : (0, vue.createCommentVNode)("", true)], 2), (0, vue.createElementVNode)("div", _hoisted_1$36, [toast.action ? ((0, vue.openBlock)(), (0, vue.createBlock)(ToastAction_default, {
|
|
14277
14277
|
key: 0,
|
|
14278
14278
|
"alt-text": toast.action.label,
|
|
14279
14279
|
onClick: toast.action.onClick
|
|
@@ -14462,7 +14462,7 @@ var ListBoxSection_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14462
14462
|
var { useProvide: useSelectProvide, useInject: useSelectInject, key: selectContextKey } = createContext("Select");
|
|
14463
14463
|
//#endregion
|
|
14464
14464
|
//#region src/components/select/Select.vue?vue&type=script&setup=true&lang.ts
|
|
14465
|
-
var _hoisted_1$
|
|
14465
|
+
var _hoisted_1$35 = [
|
|
14466
14466
|
"data-invalid",
|
|
14467
14467
|
"data-disabled",
|
|
14468
14468
|
"data-readonly",
|
|
@@ -14470,8 +14470,8 @@ var _hoisted_1$32 = [
|
|
|
14470
14470
|
"data-has-label",
|
|
14471
14471
|
"data-has-helper"
|
|
14472
14472
|
];
|
|
14473
|
-
var _hoisted_2$
|
|
14474
|
-
var _hoisted_3$
|
|
14473
|
+
var _hoisted_2$22 = ["for"];
|
|
14474
|
+
var _hoisted_3$14 = {
|
|
14475
14475
|
key: 0,
|
|
14476
14476
|
"aria-hidden": "true"
|
|
14477
14477
|
};
|
|
@@ -14590,7 +14590,7 @@ var Select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14590
14590
|
key: 0,
|
|
14591
14591
|
for: triggerId.value,
|
|
14592
14592
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
14593
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
14593
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$14, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$22)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.SelectRoot), {
|
|
14594
14594
|
"model-value": props.modelValue,
|
|
14595
14595
|
"default-value": props.defaultValue,
|
|
14596
14596
|
open: props.open,
|
|
@@ -14622,14 +14622,14 @@ var Select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14622
14622
|
key: 1,
|
|
14623
14623
|
id: descriptionId.value,
|
|
14624
14624
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
14625
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
14625
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$35);
|
|
14626
14626
|
};
|
|
14627
14627
|
}
|
|
14628
14628
|
});
|
|
14629
14629
|
//#endregion
|
|
14630
14630
|
//#region src/components/select/SelectTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
14631
|
-
var _hoisted_1$
|
|
14632
|
-
var _hoisted_2$
|
|
14631
|
+
var _hoisted_1$34 = ["for"];
|
|
14632
|
+
var _hoisted_2$21 = {
|
|
14633
14633
|
key: 0,
|
|
14634
14634
|
"aria-hidden": "true"
|
|
14635
14635
|
};
|
|
@@ -14664,7 +14664,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14664
14664
|
key: 0,
|
|
14665
14665
|
for: (0, vue.unref)(ctx).triggerId.value,
|
|
14666
14666
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
14667
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(ctx).label.value), 1), (0, vue.unref)(ctx).isRequired.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
14667
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(ctx).label.value), 1), (0, vue.unref)(ctx).isRequired.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$21, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$34)) : (0, vue.createCommentVNode)("", true),
|
|
14668
14668
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
14669
14669
|
key: 1,
|
|
14670
14670
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
@@ -14964,9 +14964,9 @@ var DropdownMenu_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14964
14964
|
});
|
|
14965
14965
|
//#endregion
|
|
14966
14966
|
//#region src/components/dropdown/DropdownItem.vue?vue&type=script&setup=true&lang.ts
|
|
14967
|
-
var _hoisted_1$
|
|
14968
|
-
var _hoisted_2$
|
|
14969
|
-
var _hoisted_3$
|
|
14967
|
+
var _hoisted_1$33 = { class: "flex flex-1 flex-col" };
|
|
14968
|
+
var _hoisted_2$20 = { "data-slot": "label" };
|
|
14969
|
+
var _hoisted_3$13 = {
|
|
14970
14970
|
key: 0,
|
|
14971
14971
|
"data-slot": "description"
|
|
14972
14972
|
};
|
|
@@ -15004,7 +15004,7 @@ var DropdownItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15004
15004
|
}, {
|
|
15005
15005
|
default: (0, vue.withCtx)(() => [
|
|
15006
15006
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
15007
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
15007
|
+
(0, vue.createElementVNode)("div", _hoisted_1$33, [(0, vue.createElementVNode)("span", _hoisted_2$20, [(0, vue.renderSlot)(_ctx.$slots, "default")]), props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$13, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)]),
|
|
15008
15008
|
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$8, (0, vue.toDisplayString)(props.shortcut), 1)) : (0, vue.createCommentVNode)("", true),
|
|
15009
15009
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
15010
15010
|
]),
|
|
@@ -15339,9 +15339,9 @@ var DropdownSubContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15339
15339
|
var { useProvide: useComboBoxProvide, useInject: useComboBoxInject, key: comboBoxContextKey } = createContext("ComboBox");
|
|
15340
15340
|
//#endregion
|
|
15341
15341
|
//#region src/components/combo-box/ComboBox.vue?vue&type=script&setup=true&lang.ts
|
|
15342
|
-
var _hoisted_1$
|
|
15343
|
-
var _hoisted_2$
|
|
15344
|
-
var _hoisted_3$
|
|
15342
|
+
var _hoisted_1$32 = ["aria-invalid"];
|
|
15343
|
+
var _hoisted_2$19 = ["id"];
|
|
15344
|
+
var _hoisted_3$12 = {
|
|
15345
15345
|
key: 0,
|
|
15346
15346
|
"aria-hidden": "true"
|
|
15347
15347
|
};
|
|
@@ -15436,7 +15436,7 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15436
15436
|
key: 0,
|
|
15437
15437
|
id: (0, vue.unref)(labelId),
|
|
15438
15438
|
"data-slot": "label"
|
|
15439
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
15439
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$12, " *")) : (0, vue.createCommentVNode)("", true)], 8, _hoisted_2$19)) : (0, vue.createCommentVNode)("", true),
|
|
15440
15440
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxRoot), {
|
|
15441
15441
|
"model-value": props.modelValue,
|
|
15442
15442
|
"default-value": props.defaultValue,
|
|
@@ -15460,7 +15460,7 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15460
15460
|
"filter-function"
|
|
15461
15461
|
]),
|
|
15462
15462
|
props.description || props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$7, [props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_5$6, (0, vue.toDisplayString)(props.errorMessage), 1)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_6$5, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)])) : (0, vue.createCommentVNode)("", true)
|
|
15463
|
-
], 10, _hoisted_1$
|
|
15463
|
+
], 10, _hoisted_1$32);
|
|
15464
15464
|
};
|
|
15465
15465
|
}
|
|
15466
15466
|
});
|
|
@@ -15678,7 +15678,7 @@ var ComboBoxEmpty_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15678
15678
|
var { useProvide: useAutocompleteProvide, useInject: useAutocompleteInject, key: autocompleteContextKey } = createContext("Autocomplete");
|
|
15679
15679
|
//#endregion
|
|
15680
15680
|
//#region src/components/autocomplete/Autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
15681
|
-
var _hoisted_1$
|
|
15681
|
+
var _hoisted_1$31 = [
|
|
15682
15682
|
"data-invalid",
|
|
15683
15683
|
"data-disabled",
|
|
15684
15684
|
"data-readonly",
|
|
@@ -15686,8 +15686,8 @@ var _hoisted_1$28 = [
|
|
|
15686
15686
|
"data-has-label",
|
|
15687
15687
|
"data-has-helper"
|
|
15688
15688
|
];
|
|
15689
|
-
var _hoisted_2$
|
|
15690
|
-
var _hoisted_3$
|
|
15689
|
+
var _hoisted_2$18 = ["for"];
|
|
15690
|
+
var _hoisted_3$11 = {
|
|
15691
15691
|
key: 0,
|
|
15692
15692
|
"aria-hidden": "true"
|
|
15693
15693
|
};
|
|
@@ -15748,6 +15748,10 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15748
15748
|
filterOnOpen: {
|
|
15749
15749
|
type: Boolean,
|
|
15750
15750
|
default: false
|
|
15751
|
+
},
|
|
15752
|
+
truncateItems: {
|
|
15753
|
+
type: Boolean,
|
|
15754
|
+
default: true
|
|
15751
15755
|
}
|
|
15752
15756
|
},
|
|
15753
15757
|
emits: ["update:modelValue", "update:open"],
|
|
@@ -15779,6 +15783,7 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15779
15783
|
}
|
|
15780
15784
|
const searchTerm = (0, vue.ref)(labelFor(props.modelValue));
|
|
15781
15785
|
const isFilled = (0, vue.computed)(() => !!searchTerm.value);
|
|
15786
|
+
const hasItems = (0, vue.computed)(() => internalItems.value.length > 0);
|
|
15782
15787
|
const descriptionId = (0, vue.computed)(() => `${inputId.value}-description`);
|
|
15783
15788
|
const errorMessageId = (0, vue.computed)(() => `${inputId.value}-error`);
|
|
15784
15789
|
const showError = (0, vue.computed)(() => props.isInvalid && !!props.errorMessage);
|
|
@@ -15859,6 +15864,8 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15859
15864
|
inputId,
|
|
15860
15865
|
label: (0, vue.toRef)(props, "label"),
|
|
15861
15866
|
ariaDescribedBy,
|
|
15867
|
+
truncateItems: (0, vue.toRef)(props, "truncateItems"),
|
|
15868
|
+
hasItems,
|
|
15862
15869
|
slots: slotFns
|
|
15863
15870
|
});
|
|
15864
15871
|
return (_ctx, _cache) => {
|
|
@@ -15874,7 +15881,7 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15874
15881
|
key: 0,
|
|
15875
15882
|
for: inputId.value,
|
|
15876
15883
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
15877
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
15884
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$11, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$18)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteRoot), {
|
|
15878
15885
|
"model-value": searchTerm.value,
|
|
15879
15886
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
15880
15887
|
open: props.open,
|
|
@@ -15908,14 +15915,14 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15908
15915
|
key: 1,
|
|
15909
15916
|
id: descriptionId.value,
|
|
15910
15917
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
15911
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$5)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
15918
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$5)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$31);
|
|
15912
15919
|
};
|
|
15913
15920
|
}
|
|
15914
15921
|
});
|
|
15915
15922
|
//#endregion
|
|
15916
15923
|
//#region src/components/autocomplete/AutocompleteInput.vue?vue&type=script&setup=true&lang.ts
|
|
15917
|
-
var _hoisted_1$
|
|
15918
|
-
var _hoisted_2$
|
|
15924
|
+
var _hoisted_1$30 = ["for"];
|
|
15925
|
+
var _hoisted_2$17 = {
|
|
15919
15926
|
key: 0,
|
|
15920
15927
|
"aria-hidden": "true"
|
|
15921
15928
|
};
|
|
@@ -15948,7 +15955,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15948
15955
|
key: 0,
|
|
15949
15956
|
for: (0, vue.unref)(ctx).inputId.value,
|
|
15950
15957
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
15951
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(ctx).label.value), 1), (0, vue.unref)(ctx).isRequired.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
15958
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(ctx).label.value), 1), (0, vue.unref)(ctx).isRequired.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$17, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$30)) : (0, vue.createCommentVNode)("", true),
|
|
15952
15959
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
15953
15960
|
key: 1,
|
|
15954
15961
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
@@ -15977,6 +15984,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15977
15984
|
]),
|
|
15978
15985
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteCancel), {
|
|
15979
15986
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.clearButton()),
|
|
15987
|
+
"data-empty": !(0, vue.unref)(ctx).isFilled.value || (0, vue.unref)(ctx).isReadonly.value || (0, vue.unref)(ctx).isDisabled.value ? "true" : void 0,
|
|
15980
15988
|
"data-slot": "clear-button",
|
|
15981
15989
|
"aria-label": "Clear"
|
|
15982
15990
|
}, {
|
|
@@ -16004,7 +16012,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16004
16012
|
y2: "18"
|
|
16005
16013
|
})], -1))])]),
|
|
16006
16014
|
_: 3
|
|
16007
|
-
}, 8, ["class"]),
|
|
16015
|
+
}, 8, ["class", "data-empty"]),
|
|
16008
16016
|
(0, vue.unref)(ctx).isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
16009
16017
|
key: 2,
|
|
16010
16018
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.indicator()),
|
|
@@ -16047,7 +16055,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16047
16055
|
});
|
|
16048
16056
|
//#endregion
|
|
16049
16057
|
//#region src/components/autocomplete/AutocompleteContent.vue?vue&type=script&setup=true&lang.ts
|
|
16050
|
-
var _hoisted_1$
|
|
16058
|
+
var _hoisted_1$29 = [
|
|
16051
16059
|
"inert",
|
|
16052
16060
|
"aria-disabled",
|
|
16053
16061
|
"data-disabled"
|
|
@@ -16067,7 +16075,7 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16067
16075
|
return (_ctx, _cache) => {
|
|
16068
16076
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.AutocompletePortal), null, {
|
|
16069
16077
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(AnimatePresence_default), null, {
|
|
16070
|
-
default: (0, vue.withCtx)(() => [(0, vue.unref)(rootContext).open.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.AutocompleteContent), {
|
|
16078
|
+
default: (0, vue.withCtx)(() => [(0, vue.unref)(rootContext).open.value && ((0, vue.unref)(ctx).hasItems.value || (0, vue.unref)(ctx).isFilled.value && !(0, vue.unref)(ctx).isLoading.value) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.AutocompleteContent), {
|
|
16071
16079
|
key: 0,
|
|
16072
16080
|
position: "popper",
|
|
16073
16081
|
"side-offset": props.sideOffset,
|
|
@@ -16077,6 +16085,7 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16077
16085
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(motion).div, {
|
|
16078
16086
|
class: (0, vue.normalizeClass)(["autocomplete__popover", "relative"]),
|
|
16079
16087
|
"data-loading": (0, vue.unref)(ctx).isLoading.value ? "" : void 0,
|
|
16088
|
+
"data-truncate-items": (0, vue.unref)(ctx).truncateItems.value ? void 0 : "false",
|
|
16080
16089
|
"aria-busy": (0, vue.unref)(ctx).isLoading.value || void 0,
|
|
16081
16090
|
initial: {
|
|
16082
16091
|
opacity: 0,
|
|
@@ -16099,17 +16108,22 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16099
16108
|
"data-disabled": (0, vue.unref)(ctx).isLoading.value ? "" : void 0,
|
|
16100
16109
|
"data-slot": "list-wrapper"
|
|
16101
16110
|
}, [(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteViewport), { "data-slot": "list-box" }, {
|
|
16102
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default"), (0, vue.
|
|
16111
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default"), (0, vue.unref)(ctx).isFilled.value && !(0, vue.unref)(ctx).isLoading.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.AutocompleteEmpty), {
|
|
16112
|
+
key: 0,
|
|
16103
16113
|
class: "py-3 text-center text-sm text-default-400",
|
|
16104
16114
|
"data-slot": "empty-content"
|
|
16105
16115
|
}, {
|
|
16106
16116
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "empty", {}, () => [_cache[0] || (_cache[0] = (0, vue.createTextVNode)(" No results found ", -1))])]),
|
|
16107
16117
|
_: 3
|
|
16108
|
-
})]),
|
|
16118
|
+
})) : (0, vue.createCommentVNode)("", true)]),
|
|
16109
16119
|
_: 3
|
|
16110
|
-
})], 10, _hoisted_1$
|
|
16120
|
+
})], 10, _hoisted_1$29)]),
|
|
16111
16121
|
_: 3
|
|
16112
|
-
}, 8, [
|
|
16122
|
+
}, 8, [
|
|
16123
|
+
"data-loading",
|
|
16124
|
+
"data-truncate-items",
|
|
16125
|
+
"aria-busy"
|
|
16126
|
+
])]),
|
|
16113
16127
|
_: 3
|
|
16114
16128
|
}, 8, ["side-offset"])) : (0, vue.createCommentVNode)("", true)]),
|
|
16115
16129
|
_: 3
|
|
@@ -16120,6 +16134,12 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16120
16134
|
}
|
|
16121
16135
|
});
|
|
16122
16136
|
//#endregion
|
|
16137
|
+
//#region src/components/autocomplete/AutocompleteItem.vue?vue&type=script&setup=true&lang.ts
|
|
16138
|
+
var _hoisted_1$28 = {
|
|
16139
|
+
class: "autocomplete-item__text",
|
|
16140
|
+
"data-slot": "item-text"
|
|
16141
|
+
};
|
|
16142
|
+
//#endregion
|
|
16123
16143
|
//#region src/components/autocomplete/AutocompleteItem.vue
|
|
16124
16144
|
var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
16125
16145
|
__name: "AutocompleteItem",
|
|
@@ -16145,7 +16165,7 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16145
16165
|
}, {
|
|
16146
16166
|
default: (0, vue.withCtx)(() => [
|
|
16147
16167
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
16148
|
-
(0, vue.renderSlot)(_ctx.$slots, "default"),
|
|
16168
|
+
(0, vue.createElementVNode)("span", _hoisted_1$28, [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
16149
16169
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxItemIndicator), {
|
|
16150
16170
|
class: "list-box-item__indicator",
|
|
16151
16171
|
"data-slot": "list-box-item-indicator"
|
|
@@ -16213,14 +16233,14 @@ var TagGroupInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16213
16233
|
});
|
|
16214
16234
|
//#endregion
|
|
16215
16235
|
//#region src/components/tag-group/TagGroup.vue?vue&type=script&setup=true&lang.ts
|
|
16216
|
-
var _hoisted_1$
|
|
16236
|
+
var _hoisted_1$27 = [
|
|
16217
16237
|
"data-invalid",
|
|
16218
16238
|
"data-required",
|
|
16219
16239
|
"data-disabled",
|
|
16220
16240
|
"data-readonly"
|
|
16221
16241
|
];
|
|
16222
|
-
var _hoisted_2$
|
|
16223
|
-
var _hoisted_3$
|
|
16242
|
+
var _hoisted_2$16 = ["id"];
|
|
16243
|
+
var _hoisted_3$10 = {
|
|
16224
16244
|
key: 0,
|
|
16225
16245
|
"aria-hidden": "true"
|
|
16226
16246
|
};
|
|
@@ -16311,7 +16331,7 @@ var TagGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16311
16331
|
id: (0, vue.unref)(labelId),
|
|
16312
16332
|
class: "text-sm font-medium text-default-foreground w-fit",
|
|
16313
16333
|
"data-slot": "label"
|
|
16314
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
16334
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$10, " *")) : (0, vue.createCommentVNode)("", true)], 8, _hoisted_2$16)) : (0, vue.createCommentVNode)("", true),
|
|
16315
16335
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.TagsInputRoot), {
|
|
16316
16336
|
"model-value": props.modelValue,
|
|
16317
16337
|
"default-value": props.defaultValue,
|
|
@@ -16343,7 +16363,7 @@ var TagGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16343
16363
|
"class"
|
|
16344
16364
|
]),
|
|
16345
16365
|
props.description || props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$5, [props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_5$4, (0, vue.toDisplayString)(props.errorMessage), 1)) : props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_6$4, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)])) : (0, vue.createCommentVNode)("", true)
|
|
16346
|
-
], 10, _hoisted_1$
|
|
16366
|
+
], 10, _hoisted_1$27);
|
|
16347
16367
|
};
|
|
16348
16368
|
}
|
|
16349
16369
|
});
|
|
@@ -16564,8 +16584,8 @@ var Pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16564
16584
|
});
|
|
16565
16585
|
//#endregion
|
|
16566
16586
|
//#region src/components/pagination/PaginationContent.vue?vue&type=script&setup=true&lang.ts
|
|
16567
|
-
var _hoisted_1$
|
|
16568
|
-
var _hoisted_2$
|
|
16587
|
+
var _hoisted_1$26 = ["disabled", "data-disabled"];
|
|
16588
|
+
var _hoisted_2$15 = ["disabled", "data-disabled"];
|
|
16569
16589
|
//#endregion
|
|
16570
16590
|
//#region src/components/pagination/PaginationContent.vue
|
|
16571
16591
|
var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -16597,7 +16617,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16597
16617
|
"data-disabled": !hasPreviousPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
16598
16618
|
"aria-label": "Before page",
|
|
16599
16619
|
onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(ctx).onCursorChange((0, vue.unref)(ctx).beforeCursor.value, null))
|
|
16600
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$
|
|
16620
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$26),
|
|
16601
16621
|
(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),
|
|
16602
16622
|
(0, vue.createElementVNode)("button", {
|
|
16603
16623
|
type: "button",
|
|
@@ -16606,7 +16626,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16606
16626
|
"data-disabled": !hasNextPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
16607
16627
|
"aria-label": "After page",
|
|
16608
16628
|
onClick: _cache[1] || (_cache[1] = ($event) => (0, vue.unref)(ctx).onCursorChange(null, (0, vue.unref)(ctx).afterCursor.value))
|
|
16609
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$
|
|
16629
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$15)
|
|
16610
16630
|
], 2));
|
|
16611
16631
|
};
|
|
16612
16632
|
}
|
|
@@ -19388,7 +19408,7 @@ function useTableKeyboardNav(options) {
|
|
|
19388
19408
|
}
|
|
19389
19409
|
//#endregion
|
|
19390
19410
|
//#region src/components/table/TableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
19391
|
-
var _hoisted_1$
|
|
19411
|
+
var _hoisted_1$25 = [
|
|
19392
19412
|
"data-col-index",
|
|
19393
19413
|
"aria-sort",
|
|
19394
19414
|
"data-allows-sorting",
|
|
@@ -19443,7 +19463,7 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19443
19463
|
key: 0,
|
|
19444
19464
|
render: header.column.columnDef.header,
|
|
19445
19465
|
props: header.getContext()
|
|
19446
|
-
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$
|
|
19466
|
+
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$25);
|
|
19447
19467
|
}), 128))], 2);
|
|
19448
19468
|
}), 128))], 2);
|
|
19449
19469
|
};
|
|
@@ -19451,14 +19471,14 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19451
19471
|
});
|
|
19452
19472
|
//#endregion
|
|
19453
19473
|
//#region src/components/table/TableBody.vue?vue&type=script&setup=true&lang.ts
|
|
19454
|
-
var _hoisted_1$
|
|
19474
|
+
var _hoisted_1$24 = [
|
|
19455
19475
|
"aria-rowindex",
|
|
19456
19476
|
"aria-selected",
|
|
19457
19477
|
"data-state",
|
|
19458
19478
|
"onClick",
|
|
19459
19479
|
"onKeydown"
|
|
19460
19480
|
];
|
|
19461
|
-
var _hoisted_2$
|
|
19481
|
+
var _hoisted_2$14 = [
|
|
19462
19482
|
"data-row-index",
|
|
19463
19483
|
"data-col-index",
|
|
19464
19484
|
"tabindex"
|
|
@@ -19506,8 +19526,8 @@ var TableBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19506
19526
|
}, () => [(0, vue.createVNode)((0, vue.unref)(FlexRender), {
|
|
19507
19527
|
render: cell.column.columnDef.cell,
|
|
19508
19528
|
props: cell.getContext()
|
|
19509
|
-
}, null, 8, ["render", "props"])])], 10, _hoisted_2$
|
|
19510
|
-
}), 128))], 42, _hoisted_1$
|
|
19529
|
+
}, null, 8, ["render", "props"])])], 10, _hoisted_2$14);
|
|
19530
|
+
}), 128))], 42, _hoisted_1$24);
|
|
19511
19531
|
}), 128))], 2);
|
|
19512
19532
|
};
|
|
19513
19533
|
}
|
|
@@ -20299,12 +20319,12 @@ function useVirtualizer(options) {
|
|
|
20299
20319
|
}
|
|
20300
20320
|
//#endregion
|
|
20301
20321
|
//#region src/components/table/TableVirtualBody.vue?vue&type=script&setup=true&lang.ts
|
|
20302
|
-
var _hoisted_1$
|
|
20322
|
+
var _hoisted_1$23 = {
|
|
20303
20323
|
key: 0,
|
|
20304
20324
|
"aria-hidden": "true"
|
|
20305
20325
|
};
|
|
20306
|
-
var _hoisted_2$
|
|
20307
|
-
var _hoisted_3$
|
|
20326
|
+
var _hoisted_2$13 = ["colspan"];
|
|
20327
|
+
var _hoisted_3$9 = [
|
|
20308
20328
|
"aria-rowindex",
|
|
20309
20329
|
"aria-selected",
|
|
20310
20330
|
"data-state",
|
|
@@ -20367,14 +20387,14 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20367
20387
|
__expose({ scrollToIndex: (index) => virtualizer.value.scrollToIndex(index, { align: "auto" }) });
|
|
20368
20388
|
return (_ctx, _cache) => {
|
|
20369
20389
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tbody", { class: (0, vue.normalizeClass)(slotFns.value.body()) }, [
|
|
20370
|
-
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$
|
|
20390
|
+
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$23, [(0, vue.createElementVNode)("td", {
|
|
20371
20391
|
colspan: columnCount.value,
|
|
20372
20392
|
style: (0, vue.normalizeStyle)({
|
|
20373
20393
|
height: `${paddingTop.value}px`,
|
|
20374
20394
|
padding: 0,
|
|
20375
20395
|
border: "none"
|
|
20376
20396
|
})
|
|
20377
|
-
}, null, 12, _hoisted_2$
|
|
20397
|
+
}, null, 12, _hoisted_2$13)])) : (0, vue.createCommentVNode)("", true),
|
|
20378
20398
|
((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(virtualItems.value, (vItem) => {
|
|
20379
20399
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
|
|
20380
20400
|
key: rows.value[vItem.index].id,
|
|
@@ -20397,7 +20417,7 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20397
20417
|
render: cell.column.columnDef.cell,
|
|
20398
20418
|
props: cell.getContext()
|
|
20399
20419
|
}, null, 8, ["render", "props"])], 10, _hoisted_4$4);
|
|
20400
|
-
}), 128))], 42, _hoisted_3$
|
|
20420
|
+
}), 128))], 42, _hoisted_3$9);
|
|
20401
20421
|
}), 128)),
|
|
20402
20422
|
paddingBottom.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_5$3, [(0, vue.createElementVNode)("td", {
|
|
20403
20423
|
colspan: columnCount.value,
|
|
@@ -20470,7 +20490,7 @@ var TableCheckboxCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20470
20490
|
});
|
|
20471
20491
|
//#endregion
|
|
20472
20492
|
//#region src/components/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
20473
|
-
var _hoisted_1$
|
|
20493
|
+
var _hoisted_1$22 = [
|
|
20474
20494
|
"aria-label",
|
|
20475
20495
|
"aria-rowcount",
|
|
20476
20496
|
"aria-colcount"
|
|
@@ -20643,7 +20663,7 @@ var Table_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20643
20663
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "footer")]),
|
|
20644
20664
|
_: 3
|
|
20645
20665
|
})) : (0, vue.createCommentVNode)("", true)
|
|
20646
|
-
], 40, _hoisted_1$
|
|
20666
|
+
], 40, _hoisted_1$22)], 6)], 2);
|
|
20647
20667
|
};
|
|
20648
20668
|
}
|
|
20649
20669
|
});
|
|
@@ -20664,7 +20684,7 @@ var TableRow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20664
20684
|
});
|
|
20665
20685
|
//#endregion
|
|
20666
20686
|
//#region src/components/table/TableCell.vue?vue&type=script&setup=true&lang.ts
|
|
20667
|
-
var _hoisted_1$
|
|
20687
|
+
var _hoisted_1$21 = ["data-row-index", "data-col-index"];
|
|
20668
20688
|
//#endregion
|
|
20669
20689
|
//#region src/components/table/TableCell.vue
|
|
20670
20690
|
var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -20682,13 +20702,13 @@ var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20682
20702
|
class: (0, vue.normalizeClass)(slotFns.value.cell()),
|
|
20683
20703
|
"data-row-index": __props.rowIndex,
|
|
20684
20704
|
"data-col-index": __props.columnIndex
|
|
20685
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
20705
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$21);
|
|
20686
20706
|
};
|
|
20687
20707
|
}
|
|
20688
20708
|
});
|
|
20689
20709
|
//#endregion
|
|
20690
20710
|
//#region src/components/table/TableHeaderCell.vue?vue&type=script&setup=true&lang.ts
|
|
20691
|
-
var _hoisted_1$
|
|
20711
|
+
var _hoisted_1$20 = ["data-col-index", "aria-sort"];
|
|
20692
20712
|
//#endregion
|
|
20693
20713
|
//#region src/components/table/TableHeaderCell.vue
|
|
20694
20714
|
var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -20706,7 +20726,7 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20706
20726
|
class: (0, vue.normalizeClass)(slotFns.value.column()),
|
|
20707
20727
|
"data-col-index": __props.columnIndex,
|
|
20708
20728
|
"aria-sort": __props.sortDirection
|
|
20709
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
20729
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$20);
|
|
20710
20730
|
};
|
|
20711
20731
|
}
|
|
20712
20732
|
});
|
|
@@ -20715,11 +20735,11 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20715
20735
|
var { useProvide: useAvatarGroupProvide, useInject: useAvatarGroupInject, key: avatarGroupContextKey } = createContext("AvatarGroup");
|
|
20716
20736
|
//#endregion
|
|
20717
20737
|
//#region src/components/avatar/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
20718
|
-
var _hoisted_1$
|
|
20738
|
+
var _hoisted_1$19 = {
|
|
20719
20739
|
key: 0,
|
|
20720
20740
|
class: /* @__PURE__ */ (0, vue.normalizeClass)("avatar__name text-xs font-medium leading-none")
|
|
20721
20741
|
};
|
|
20722
|
-
var _hoisted_2$
|
|
20742
|
+
var _hoisted_2$12 = {
|
|
20723
20743
|
key: 1,
|
|
20724
20744
|
class: "avatar__icon size-4/5",
|
|
20725
20745
|
"aria-hidden": "true",
|
|
@@ -20794,7 +20814,7 @@ var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20794
20814
|
"alt",
|
|
20795
20815
|
"class"
|
|
20796
20816
|
])) : (0, vue.createCommentVNode)("", true), (0, vue.createVNode)((0, vue.unref)(reka_ui.AvatarFallback), (0, vue.mergeProps)({ class: slotFns.value.fallback() }, props.src && !props.showFallback ? { "delay-ms": 600 } : {}), {
|
|
20797
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "fallback", {}, () => [initials.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$
|
|
20817
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "fallback", {}, () => [initials.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$19, (0, vue.toDisplayString)(initials.value), 1)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_2$12, [..._cache[0] || (_cache[0] = [(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)])]))])]),
|
|
20798
20818
|
_: 3
|
|
20799
20819
|
}, 16, ["class"])]),
|
|
20800
20820
|
_: 3
|
|
@@ -21017,7 +21037,7 @@ var SplitterResizeHandle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21017
21037
|
var stepperContextKey = Symbol("Stepper");
|
|
21018
21038
|
//#endregion
|
|
21019
21039
|
//#region src/components/stepper/Stepper.vue?vue&type=script&setup=true&lang.ts
|
|
21020
|
-
var _hoisted_1$
|
|
21040
|
+
var _hoisted_1$18 = ["aria-label"];
|
|
21021
21041
|
//#endregion
|
|
21022
21042
|
//#region src/components/stepper/Stepper.vue
|
|
21023
21043
|
var Stepper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21067,13 +21087,13 @@ var Stepper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21067
21087
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
21068
21088
|
"aria-label": `Step ${currentStep.value} of ${__props.totalSteps}`,
|
|
21069
21089
|
"data-slot": "stepper"
|
|
21070
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
21090
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$18);
|
|
21071
21091
|
};
|
|
21072
21092
|
}
|
|
21073
21093
|
});
|
|
21074
21094
|
//#endregion
|
|
21075
21095
|
//#region src/components/stepper/StepperItem.vue?vue&type=script&setup=true&lang.ts
|
|
21076
|
-
var _hoisted_1$
|
|
21096
|
+
var _hoisted_1$17 = ["data-status", "data-step"];
|
|
21077
21097
|
//#endregion
|
|
21078
21098
|
//#region src/components/stepper/StepperItem.vue
|
|
21079
21099
|
var StepperItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21103,7 +21123,7 @@ var StepperItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21103
21123
|
isCurrent: status.value === "current",
|
|
21104
21124
|
isCompleted: status.value === "completed",
|
|
21105
21125
|
isError: status.value === "error"
|
|
21106
|
-
})], 10, _hoisted_1$
|
|
21126
|
+
})], 10, _hoisted_1$17);
|
|
21107
21127
|
};
|
|
21108
21128
|
}
|
|
21109
21129
|
});
|
|
@@ -21271,7 +21291,7 @@ var Tree_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21271
21291
|
});
|
|
21272
21292
|
//#endregion
|
|
21273
21293
|
//#region src/components/tree/TreeItem.vue?vue&type=script&setup=true&lang.ts
|
|
21274
|
-
var _hoisted_1$
|
|
21294
|
+
var _hoisted_1$16 = ["data-selected", "data-expanded"];
|
|
21275
21295
|
//#endregion
|
|
21276
21296
|
//#region src/components/tree/TreeItem.vue
|
|
21277
21297
|
var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21314,7 +21334,7 @@ var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21314
21334
|
handleToggle: s.handleToggle,
|
|
21315
21335
|
toggleClass: slotFns.value.itemToggle(),
|
|
21316
21336
|
iconClass: slotFns.value.itemIcon()
|
|
21317
|
-
})], 14, _hoisted_1$
|
|
21337
|
+
})], 14, _hoisted_1$16)]),
|
|
21318
21338
|
_: 3
|
|
21319
21339
|
}, 8, [
|
|
21320
21340
|
"value",
|
|
@@ -21326,7 +21346,7 @@ var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21326
21346
|
});
|
|
21327
21347
|
//#endregion
|
|
21328
21348
|
//#region src/components/tree/TreeItemToggle.vue?vue&type=script&setup=true&lang.ts
|
|
21329
|
-
var _hoisted_1$
|
|
21349
|
+
var _hoisted_1$15 = ["data-expanded", "data-no-children"];
|
|
21330
21350
|
//#endregion
|
|
21331
21351
|
//#region src/components/tree/TreeItemToggle.vue
|
|
21332
21352
|
var TreeItemToggle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21362,18 +21382,18 @@ var TreeItemToggle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21362
21382
|
"stroke-linecap": "round",
|
|
21363
21383
|
"stroke-linejoin": "round",
|
|
21364
21384
|
"aria-hidden": "true"
|
|
21365
|
-
}, [(0, vue.createElementVNode)("path", { d: "m9 18 6-6-6-6" })], -1))])], 10, _hoisted_1$
|
|
21385
|
+
}, [(0, vue.createElementVNode)("path", { d: "m9 18 6-6-6-6" })], -1))])], 10, _hoisted_1$15);
|
|
21366
21386
|
};
|
|
21367
21387
|
}
|
|
21368
21388
|
});
|
|
21369
21389
|
//#endregion
|
|
21370
21390
|
//#region src/components/slider/Slider.vue?vue&type=script&setup=true&lang.ts
|
|
21371
|
-
var _hoisted_1$
|
|
21372
|
-
var _hoisted_2$
|
|
21391
|
+
var _hoisted_1$14 = ["data-orientation", "data-disabled"];
|
|
21392
|
+
var _hoisted_2$11 = {
|
|
21373
21393
|
key: 0,
|
|
21374
21394
|
"data-slot": "label"
|
|
21375
21395
|
};
|
|
21376
|
-
var _hoisted_3$
|
|
21396
|
+
var _hoisted_3$8 = { class: "relative flex items-center gap-2" };
|
|
21377
21397
|
//#endregion
|
|
21378
21398
|
//#region src/components/slider/Slider.vue
|
|
21379
21399
|
var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21463,10 +21483,10 @@ var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21463
21483
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
21464
21484
|
"data-orientation": __props.orientation,
|
|
21465
21485
|
"data-disabled": __props.disabled || void 0
|
|
21466
|
-
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$
|
|
21486
|
+
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$11, (0, vue.toDisplayString)(__props.label), 1)) : (0, vue.createCommentVNode)("", true), !__props.hideValue ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("output", {
|
|
21467
21487
|
key: 1,
|
|
21468
21488
|
class: (0, vue.normalizeClass)(slotFns.value.output())
|
|
21469
|
-
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$
|
|
21489
|
+
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$8, [
|
|
21470
21490
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
21471
21491
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.SliderRoot), {
|
|
21472
21492
|
modelValue: internalValue.value,
|
|
@@ -21523,13 +21543,13 @@ var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21523
21543
|
"data-orientation"
|
|
21524
21544
|
]),
|
|
21525
21545
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
21526
|
-
])], 10, _hoisted_1$
|
|
21546
|
+
])], 10, _hoisted_1$14);
|
|
21527
21547
|
};
|
|
21528
21548
|
}
|
|
21529
21549
|
});
|
|
21530
21550
|
//#endregion
|
|
21531
21551
|
//#region src/components/progress-bar/ProgressBar.vue?vue&type=script&setup=true&lang.ts
|
|
21532
|
-
var _hoisted_1$
|
|
21552
|
+
var _hoisted_1$13 = ["data-disabled"];
|
|
21533
21553
|
//#endregion
|
|
21534
21554
|
//#region src/components/progress-bar/ProgressBar.vue
|
|
21535
21555
|
var ProgressBar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21612,14 +21632,14 @@ var ProgressBar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21612
21632
|
"max",
|
|
21613
21633
|
"class",
|
|
21614
21634
|
"aria-label"
|
|
21615
|
-
])], 10, _hoisted_1$
|
|
21635
|
+
])], 10, _hoisted_1$13);
|
|
21616
21636
|
};
|
|
21617
21637
|
}
|
|
21618
21638
|
});
|
|
21619
21639
|
//#endregion
|
|
21620
21640
|
//#region src/components/progress-circle/ProgressCircle.vue?vue&type=script&setup=true&lang.ts
|
|
21621
|
-
var _hoisted_1$
|
|
21622
|
-
var _hoisted_2$
|
|
21641
|
+
var _hoisted_1$12 = ["r", "stroke-width"];
|
|
21642
|
+
var _hoisted_2$10 = [
|
|
21623
21643
|
"r",
|
|
21624
21644
|
"stroke-width",
|
|
21625
21645
|
"stroke-dasharray",
|
|
@@ -21695,7 +21715,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21695
21715
|
r: radius.value,
|
|
21696
21716
|
"stroke-width": __props.strokeWidth,
|
|
21697
21717
|
fill: "none"
|
|
21698
|
-
}, null, 10, _hoisted_1$
|
|
21718
|
+
}, null, 10, _hoisted_1$12), (0, vue.createElementVNode)("circle", {
|
|
21699
21719
|
class: (0, vue.normalizeClass)(slotFns.value.indicator()),
|
|
21700
21720
|
cx: "16",
|
|
21701
21721
|
cy: "16",
|
|
@@ -21707,7 +21727,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21707
21727
|
"stroke-dashoffset": offset.value,
|
|
21708
21728
|
transform: "rotate(-90 16 16)",
|
|
21709
21729
|
style: { "transition": "stroke-dashoffset 300ms ease-out" }
|
|
21710
|
-
}, null, 10, _hoisted_2$
|
|
21730
|
+
}, null, 10, _hoisted_2$10)], 2)), __props.showValueLabel || __props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
21711
21731
|
key: 0,
|
|
21712
21732
|
class: (0, vue.normalizeClass)(slotFns.value.value())
|
|
21713
21733
|
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(formattedValue.value), 1)])], 2)) : (0, vue.createCommentVNode)("", true)]),
|
|
@@ -21724,11 +21744,11 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21724
21744
|
});
|
|
21725
21745
|
//#endregion
|
|
21726
21746
|
//#region src/components/meter/Meter.vue?vue&type=script&setup=true&lang.ts
|
|
21727
|
-
var _hoisted_1$
|
|
21747
|
+
var _hoisted_1$11 = {
|
|
21728
21748
|
key: 0,
|
|
21729
21749
|
"data-slot": "label"
|
|
21730
21750
|
};
|
|
21731
|
-
var _hoisted_2$
|
|
21751
|
+
var _hoisted_2$9 = [
|
|
21732
21752
|
"aria-valuenow",
|
|
21733
21753
|
"aria-valuemin",
|
|
21734
21754
|
"aria-valuemax",
|
|
@@ -21771,7 +21791,7 @@ var Meter_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21771
21791
|
}));
|
|
21772
21792
|
return (_ctx, _cache) => {
|
|
21773
21793
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)) }, [
|
|
21774
|
-
__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$
|
|
21794
|
+
__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$11, (0, vue.toDisplayString)(__props.label), 1)) : (0, vue.createCommentVNode)("", true),
|
|
21775
21795
|
__props.showValueLabel ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("output", {
|
|
21776
21796
|
key: 1,
|
|
21777
21797
|
class: (0, vue.normalizeClass)(slotFns.value.output())
|
|
@@ -21787,14 +21807,14 @@ var Meter_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21787
21807
|
}, [(0, vue.createElementVNode)("div", {
|
|
21788
21808
|
class: (0, vue.normalizeClass)(slotFns.value.fill()),
|
|
21789
21809
|
style: (0, vue.normalizeStyle)({ width: percentage.value + "%" })
|
|
21790
|
-
}, null, 6)], 10, _hoisted_2$
|
|
21810
|
+
}, null, 6)], 10, _hoisted_2$9)
|
|
21791
21811
|
], 2);
|
|
21792
21812
|
};
|
|
21793
21813
|
}
|
|
21794
21814
|
});
|
|
21795
21815
|
//#endregion
|
|
21796
21816
|
//#region src/components/scroll-shadow/ScrollShadow.vue?vue&type=script&setup=true&lang.ts
|
|
21797
|
-
var _hoisted_1$
|
|
21817
|
+
var _hoisted_1$10 = [
|
|
21798
21818
|
"data-orientation",
|
|
21799
21819
|
"data-top-scroll",
|
|
21800
21820
|
"data-bottom-scroll",
|
|
@@ -21839,7 +21859,7 @@ var ScrollShadow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
21839
21859
|
"data-left-scroll": leftScroll.value ? "true" : void 0,
|
|
21840
21860
|
"data-right-scroll": rightScroll.value ? "true" : void 0,
|
|
21841
21861
|
style: (0, vue.normalizeStyle)({ "--scroll-shadow-size": __props.size + "px" })
|
|
21842
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 14, _hoisted_1$
|
|
21862
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 14, _hoisted_1$10);
|
|
21843
21863
|
};
|
|
21844
21864
|
}
|
|
21845
21865
|
});
|
|
@@ -22727,9 +22747,9 @@ var CalendarYearPicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22727
22747
|
});
|
|
22728
22748
|
//#endregion
|
|
22729
22749
|
//#region src/components/calendar/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
22730
|
-
var _hoisted_1$
|
|
22731
|
-
var _hoisted_2$
|
|
22732
|
-
var _hoisted_3$
|
|
22750
|
+
var _hoisted_1$9 = ["aria-label"];
|
|
22751
|
+
var _hoisted_2$8 = ["aria-label"];
|
|
22752
|
+
var _hoisted_3$7 = ["aria-label"];
|
|
22733
22753
|
//#endregion
|
|
22734
22754
|
//#region src/components/calendar/Calendar.vue
|
|
22735
22755
|
var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -22848,7 +22868,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22848
22868
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
22849
22869
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
22850
22870
|
onClick: cycleView
|
|
22851
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$
|
|
22871
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$9)]),
|
|
22852
22872
|
_: 1
|
|
22853
22873
|
}, 8, ["class"]),
|
|
22854
22874
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.CalendarNext), {
|
|
@@ -22986,7 +23006,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
22986
23006
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
22987
23007
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
22988
23008
|
onClick: cycleView
|
|
22989
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
23009
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$8)]),
|
|
22990
23010
|
_: 1
|
|
22991
23011
|
}, 8, ["class"]),
|
|
22992
23012
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -23064,7 +23084,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23064
23084
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
23065
23085
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
23066
23086
|
onClick: cycleView
|
|
23067
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$
|
|
23087
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$7)]),
|
|
23068
23088
|
_: 1
|
|
23069
23089
|
}, 8, [
|
|
23070
23090
|
"placeholder",
|
|
@@ -23081,9 +23101,9 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23081
23101
|
});
|
|
23082
23102
|
//#endregion
|
|
23083
23103
|
//#region src/components/range-calendar/RangeCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
23084
|
-
var _hoisted_1$
|
|
23085
|
-
var _hoisted_2$
|
|
23086
|
-
var _hoisted_3$
|
|
23104
|
+
var _hoisted_1$8 = ["aria-label"];
|
|
23105
|
+
var _hoisted_2$7 = ["aria-label"];
|
|
23106
|
+
var _hoisted_3$6 = ["aria-label"];
|
|
23087
23107
|
//#endregion
|
|
23088
23108
|
//#region src/components/range-calendar/RangeCalendar.vue
|
|
23089
23109
|
var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -23207,7 +23227,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23207
23227
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
23208
23228
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
23209
23229
|
onClick: cycleView
|
|
23210
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$
|
|
23230
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$8)]),
|
|
23211
23231
|
_: 1
|
|
23212
23232
|
}, 8, ["class"]),
|
|
23213
23233
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.RangeCalendarNext), {
|
|
@@ -23346,7 +23366,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23346
23366
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
23347
23367
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
23348
23368
|
onClick: cycleView
|
|
23349
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
23369
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$7)]),
|
|
23350
23370
|
_: 1
|
|
23351
23371
|
}, 8, ["class"]),
|
|
23352
23372
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -23448,7 +23468,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23448
23468
|
class: (0, vue.normalizeClass)(slotFns.value.headingButton()),
|
|
23449
23469
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
23450
23470
|
onClick: cycleView
|
|
23451
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$
|
|
23471
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$6)]),
|
|
23452
23472
|
_: 1
|
|
23453
23473
|
}, 8, ["class"]),
|
|
23454
23474
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.YearPickerNext), {
|
|
@@ -23515,7 +23535,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23515
23535
|
});
|
|
23516
23536
|
//#endregion
|
|
23517
23537
|
//#region src/components/date-input/DateInput.vue?vue&type=script&setup=true&lang.ts
|
|
23518
|
-
var _hoisted_1$
|
|
23538
|
+
var _hoisted_1$7 = [
|
|
23519
23539
|
"data-invalid",
|
|
23520
23540
|
"data-disabled",
|
|
23521
23541
|
"data-readonly",
|
|
@@ -23523,8 +23543,8 @@ var _hoisted_1$5 = [
|
|
|
23523
23543
|
"data-has-label",
|
|
23524
23544
|
"data-has-helper"
|
|
23525
23545
|
];
|
|
23526
|
-
var _hoisted_2$
|
|
23527
|
-
var _hoisted_3$
|
|
23546
|
+
var _hoisted_2$6 = ["id", "for"];
|
|
23547
|
+
var _hoisted_3$5 = {
|
|
23528
23548
|
key: 0,
|
|
23529
23549
|
"aria-hidden": "true"
|
|
23530
23550
|
};
|
|
@@ -23722,7 +23742,7 @@ var DateInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23722
23742
|
id: labelId.value,
|
|
23723
23743
|
for: fieldId.value,
|
|
23724
23744
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
23725
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
23745
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$5, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$6)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.DateFieldRoot), {
|
|
23726
23746
|
id: fieldId.value,
|
|
23727
23747
|
ref_key: "fieldRef",
|
|
23728
23748
|
ref: fieldRef,
|
|
@@ -23819,13 +23839,13 @@ var DateInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23819
23839
|
key: 1,
|
|
23820
23840
|
id: descriptionId.value,
|
|
23821
23841
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
23822
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$2)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
23842
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$2)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$7);
|
|
23823
23843
|
};
|
|
23824
23844
|
}
|
|
23825
23845
|
});
|
|
23826
23846
|
//#endregion
|
|
23827
23847
|
//#region src/components/date-range-field/DateRangeField.vue?vue&type=script&setup=true&lang.ts
|
|
23828
|
-
var _hoisted_1$
|
|
23848
|
+
var _hoisted_1$6 = [
|
|
23829
23849
|
"data-invalid",
|
|
23830
23850
|
"data-disabled",
|
|
23831
23851
|
"data-readonly",
|
|
@@ -23833,8 +23853,8 @@ var _hoisted_1$4 = [
|
|
|
23833
23853
|
"data-has-label",
|
|
23834
23854
|
"data-has-helper"
|
|
23835
23855
|
];
|
|
23836
|
-
var _hoisted_2$
|
|
23837
|
-
var _hoisted_3$
|
|
23856
|
+
var _hoisted_2$5 = ["id", "for"];
|
|
23857
|
+
var _hoisted_3$4 = {
|
|
23838
23858
|
key: 0,
|
|
23839
23859
|
"aria-hidden": "true"
|
|
23840
23860
|
};
|
|
@@ -24033,7 +24053,7 @@ var DateRangeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24033
24053
|
id: labelId.value,
|
|
24034
24054
|
for: fieldId.value,
|
|
24035
24055
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
24036
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
24056
|
+
}, [(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)], 10, _hoisted_2$5)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.DateRangeFieldRoot), {
|
|
24037
24057
|
id: fieldId.value,
|
|
24038
24058
|
ref_key: "fieldRef",
|
|
24039
24059
|
ref: fieldRef,
|
|
@@ -24152,13 +24172,13 @@ var DateRangeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24152
24172
|
key: 1,
|
|
24153
24173
|
id: descriptionId.value,
|
|
24154
24174
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
24155
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$1)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
24175
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$1)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$6);
|
|
24156
24176
|
};
|
|
24157
24177
|
}
|
|
24158
24178
|
});
|
|
24159
24179
|
//#endregion
|
|
24160
24180
|
//#region src/components/time-field/TimeField.vue?vue&type=script&setup=true&lang.ts
|
|
24161
|
-
var _hoisted_1$
|
|
24181
|
+
var _hoisted_1$5 = [
|
|
24162
24182
|
"data-invalid",
|
|
24163
24183
|
"data-disabled",
|
|
24164
24184
|
"data-readonly",
|
|
@@ -24166,8 +24186,8 @@ var _hoisted_1$3 = [
|
|
|
24166
24186
|
"data-has-label",
|
|
24167
24187
|
"data-has-helper"
|
|
24168
24188
|
];
|
|
24169
|
-
var _hoisted_2$
|
|
24170
|
-
var _hoisted_3$
|
|
24189
|
+
var _hoisted_2$4 = ["id", "for"];
|
|
24190
|
+
var _hoisted_3$3 = {
|
|
24171
24191
|
key: 0,
|
|
24172
24192
|
"aria-hidden": "true"
|
|
24173
24193
|
};
|
|
@@ -24366,7 +24386,7 @@ var TimeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24366
24386
|
id: labelId.value,
|
|
24367
24387
|
for: fieldId.value,
|
|
24368
24388
|
class: (0, vue.normalizeClass)(slotFns.value.label())
|
|
24369
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
24389
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$3, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$4)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(slotFns.value.mainWrapper()) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.TimeFieldRoot), {
|
|
24370
24390
|
id: fieldId.value,
|
|
24371
24391
|
ref_key: "fieldRef",
|
|
24372
24392
|
ref: fieldRef,
|
|
@@ -24463,7 +24483,7 @@ var TimeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24463
24483
|
key: 1,
|
|
24464
24484
|
id: descriptionId.value,
|
|
24465
24485
|
class: (0, vue.normalizeClass)(slotFns.value.description())
|
|
24466
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
24486
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$5);
|
|
24467
24487
|
};
|
|
24468
24488
|
}
|
|
24469
24489
|
});
|
|
@@ -24543,7 +24563,12 @@ var DatePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24543
24563
|
const calendarValue = (0, vue.computed)({
|
|
24544
24564
|
get: () => modelValue.value ?? void 0,
|
|
24545
24565
|
set: (val) => {
|
|
24546
|
-
modelValue.value
|
|
24566
|
+
if (val != null && modelValue.value != null && "hour" in modelValue.value) modelValue.value = modelValue.value.set({
|
|
24567
|
+
year: val.year,
|
|
24568
|
+
month: val.month,
|
|
24569
|
+
day: val.day
|
|
24570
|
+
});
|
|
24571
|
+
else modelValue.value = val ?? null;
|
|
24547
24572
|
if (props.closeOnSelect && val != null) openModel.value = false;
|
|
24548
24573
|
}
|
|
24549
24574
|
});
|
|
@@ -24986,6 +25011,546 @@ var DateRangePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24986
25011
|
}
|
|
24987
25012
|
});
|
|
24988
25013
|
//#endregion
|
|
25014
|
+
//#region src/components/date-time-picker/DateTimePickerTimeScroller.vue?vue&type=script&setup=true&lang.ts
|
|
25015
|
+
var _hoisted_1$4 = ["aria-label", "onScrollPassive"];
|
|
25016
|
+
var _hoisted_2$3 = [
|
|
25017
|
+
"data-selected",
|
|
25018
|
+
"aria-selected",
|
|
25019
|
+
"onClick"
|
|
25020
|
+
];
|
|
25021
|
+
var ITEM_H = 40;
|
|
25022
|
+
//#endregion
|
|
25023
|
+
//#region src/components/date-time-picker/DateTimePickerTimeScroller.vue
|
|
25024
|
+
var DateTimePickerTimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
25025
|
+
__name: "DateTimePickerTimeScroller",
|
|
25026
|
+
props: {
|
|
25027
|
+
modelValue: {},
|
|
25028
|
+
granularity: { default: "minute" },
|
|
25029
|
+
hourCycle: { default: 24 },
|
|
25030
|
+
class: { default: void 0 }
|
|
25031
|
+
},
|
|
25032
|
+
emits: ["update:modelValue"],
|
|
25033
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25034
|
+
const props = __props;
|
|
25035
|
+
const emit = __emit;
|
|
25036
|
+
const hours24 = Array.from({ length: 24 }, (_, i) => i);
|
|
25037
|
+
const hours12 = [12, ...Array.from({ length: 11 }, (_, i) => i + 1)];
|
|
25038
|
+
const minutes = Array.from({ length: 60 }, (_, i) => i);
|
|
25039
|
+
const seconds = Array.from({ length: 60 }, (_, i) => i);
|
|
25040
|
+
const ampm = ["AM", "PM"];
|
|
25041
|
+
const hourItems = (0, vue.computed)(() => props.hourCycle === 12 ? hours12 : hours24);
|
|
25042
|
+
const columns = (0, vue.computed)(() => {
|
|
25043
|
+
const cols = [{
|
|
25044
|
+
key: "hour",
|
|
25045
|
+
items: hourItems.value
|
|
25046
|
+
}, {
|
|
25047
|
+
key: "minute",
|
|
25048
|
+
items: minutes
|
|
25049
|
+
}];
|
|
25050
|
+
if (props.granularity === "second") cols.push({
|
|
25051
|
+
key: "second",
|
|
25052
|
+
items: seconds
|
|
25053
|
+
});
|
|
25054
|
+
if (props.hourCycle === 12) cols.push({
|
|
25055
|
+
key: "ampm",
|
|
25056
|
+
items: ampm
|
|
25057
|
+
});
|
|
25058
|
+
return cols;
|
|
25059
|
+
});
|
|
25060
|
+
function currentIndexFor(key) {
|
|
25061
|
+
const v = props.modelValue;
|
|
25062
|
+
if (key === "hour") {
|
|
25063
|
+
if (props.hourCycle === 12) {
|
|
25064
|
+
const h12 = v.hour % 12 === 0 ? 12 : v.hour % 12;
|
|
25065
|
+
return hours12.indexOf(h12);
|
|
25066
|
+
}
|
|
25067
|
+
return v.hour;
|
|
25068
|
+
}
|
|
25069
|
+
if (key === "minute") return v.minute;
|
|
25070
|
+
if (key === "second") return v.second ?? 0;
|
|
25071
|
+
if (key === "ampm") return v.hour >= 12 ? 1 : 0;
|
|
25072
|
+
return 0;
|
|
25073
|
+
}
|
|
25074
|
+
const columnRefs = (0, vue.ref)([]);
|
|
25075
|
+
function scrollColumnToIndex(colEl, index) {
|
|
25076
|
+
colEl.scrollTop = index * ITEM_H;
|
|
25077
|
+
}
|
|
25078
|
+
function syncScrollPositions() {
|
|
25079
|
+
columns.value.forEach((col, i) => {
|
|
25080
|
+
const el = columnRefs.value[i];
|
|
25081
|
+
if (el) scrollColumnToIndex(el, currentIndexFor(col.key));
|
|
25082
|
+
});
|
|
25083
|
+
}
|
|
25084
|
+
(0, vue.onMounted)(() => (0, vue.nextTick)(syncScrollPositions));
|
|
25085
|
+
(0, vue.watch)(() => props.modelValue, () => (0, vue.nextTick)(syncScrollPositions));
|
|
25086
|
+
function onColumnScroll(key, colEl) {
|
|
25087
|
+
const idx = Math.round(colEl.scrollTop / ITEM_H);
|
|
25088
|
+
const item = columns.value.find((c) => c.key === key).items[idx];
|
|
25089
|
+
if (item === void 0) return;
|
|
25090
|
+
const v = props.modelValue;
|
|
25091
|
+
if (key === "hour") {
|
|
25092
|
+
let newHour;
|
|
25093
|
+
if (props.hourCycle === 12) {
|
|
25094
|
+
const isPm = v.hour >= 12;
|
|
25095
|
+
const h12 = item;
|
|
25096
|
+
newHour = h12 === 12 ? isPm ? 12 : 0 : isPm ? h12 + 12 : h12;
|
|
25097
|
+
} else newHour = item;
|
|
25098
|
+
emit("update:modelValue", v.set({ hour: newHour }));
|
|
25099
|
+
} else if (key === "minute") emit("update:modelValue", v.set({ minute: item }));
|
|
25100
|
+
else if (key === "second") emit("update:modelValue", v.set({ second: item }));
|
|
25101
|
+
else if (key === "ampm") {
|
|
25102
|
+
const isPm = item === "PM";
|
|
25103
|
+
if (isPm !== v.hour >= 12) emit("update:modelValue", v.set({ hour: isPm ? v.hour + 12 : v.hour - 12 }));
|
|
25104
|
+
}
|
|
25105
|
+
}
|
|
25106
|
+
function onKeyDown(e, colEl) {
|
|
25107
|
+
if (e.key === "ArrowDown") {
|
|
25108
|
+
e.preventDefault();
|
|
25109
|
+
colEl.scrollTop += ITEM_H;
|
|
25110
|
+
} else if (e.key === "ArrowUp") {
|
|
25111
|
+
e.preventDefault();
|
|
25112
|
+
colEl.scrollTop -= ITEM_H;
|
|
25113
|
+
}
|
|
25114
|
+
}
|
|
25115
|
+
function onItemClick(colEl, idx) {
|
|
25116
|
+
colEl.scrollTo({
|
|
25117
|
+
top: idx * ITEM_H,
|
|
25118
|
+
behavior: "smooth"
|
|
25119
|
+
});
|
|
25120
|
+
}
|
|
25121
|
+
function columnLabel(key) {
|
|
25122
|
+
if (key === "hour") return "Hour";
|
|
25123
|
+
if (key === "minute") return "Minute";
|
|
25124
|
+
if (key === "second") return "Second";
|
|
25125
|
+
return "AM/PM";
|
|
25126
|
+
}
|
|
25127
|
+
function itemLabel(_key, item) {
|
|
25128
|
+
if (typeof item === "string") return item;
|
|
25129
|
+
return String(item).padStart(2, "0");
|
|
25130
|
+
}
|
|
25131
|
+
__expose({
|
|
25132
|
+
columnRefs,
|
|
25133
|
+
columns,
|
|
25134
|
+
currentIndexFor
|
|
25135
|
+
});
|
|
25136
|
+
return (_ctx, _cache) => {
|
|
25137
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
25138
|
+
class: (0, vue.normalizeClass)(["date-time-picker__scroller-wrap", props.class]),
|
|
25139
|
+
"data-slot": "time-scroller"
|
|
25140
|
+
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(columns.value, (col, i) => {
|
|
25141
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
25142
|
+
key: col.key,
|
|
25143
|
+
ref_for: true,
|
|
25144
|
+
ref: (el) => {
|
|
25145
|
+
if (el) columnRefs.value[i] = el;
|
|
25146
|
+
},
|
|
25147
|
+
class: "date-time-picker__scroller-column",
|
|
25148
|
+
"aria-label": columnLabel(col.key),
|
|
25149
|
+
"data-slot": "scroller-column",
|
|
25150
|
+
role: "listbox",
|
|
25151
|
+
tabindex: "0",
|
|
25152
|
+
onScrollPassive: ($event) => onColumnScroll(col.key, $event.currentTarget),
|
|
25153
|
+
onKeydown: _cache[0] || (_cache[0] = ($event) => onKeyDown($event, $event.currentTarget))
|
|
25154
|
+
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(col.items, (item, idx) => {
|
|
25155
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
25156
|
+
key: idx,
|
|
25157
|
+
class: "date-time-picker__scroller-item",
|
|
25158
|
+
"data-selected": idx === currentIndexFor(col.key) ? "true" : void 0,
|
|
25159
|
+
"aria-selected": idx === currentIndexFor(col.key),
|
|
25160
|
+
role: "option",
|
|
25161
|
+
onClick: ($event) => onItemClick(columnRefs.value[i], idx)
|
|
25162
|
+
}, (0, vue.toDisplayString)(itemLabel(col.key, item)), 9, _hoisted_2$3);
|
|
25163
|
+
}), 128))], 40, _hoisted_1$4);
|
|
25164
|
+
}), 128))], 2);
|
|
25165
|
+
};
|
|
25166
|
+
}
|
|
25167
|
+
});
|
|
25168
|
+
//#endregion
|
|
25169
|
+
//#region src/components/date-time-picker/DateTimePicker.vue?vue&type=script&setup=true&lang.ts
|
|
25170
|
+
var _hoisted_1$3 = ["data-hidden"];
|
|
25171
|
+
var _hoisted_2$2 = ["aria-label"];
|
|
25172
|
+
var _hoisted_3$2 = {
|
|
25173
|
+
key: 1,
|
|
25174
|
+
width: "14",
|
|
25175
|
+
height: "14",
|
|
25176
|
+
viewBox: "0 0 24 24",
|
|
25177
|
+
fill: "none",
|
|
25178
|
+
stroke: "currentColor",
|
|
25179
|
+
"stroke-width": "2.5",
|
|
25180
|
+
"stroke-linecap": "round",
|
|
25181
|
+
"stroke-linejoin": "round",
|
|
25182
|
+
"aria-hidden": "true"
|
|
25183
|
+
};
|
|
25184
|
+
//#endregion
|
|
25185
|
+
//#region src/components/date-time-picker/DateTimePicker.vue
|
|
25186
|
+
var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
25187
|
+
inheritAttrs: false,
|
|
25188
|
+
__name: "DateTimePicker",
|
|
25189
|
+
props: /* @__PURE__ */ (0, vue.mergeModels)({
|
|
25190
|
+
variant: {},
|
|
25191
|
+
size: { default: "md" },
|
|
25192
|
+
color: { default: "default" },
|
|
25193
|
+
labelPlacement: { default: "inside" },
|
|
25194
|
+
fullWidth: {
|
|
25195
|
+
type: Boolean,
|
|
25196
|
+
default: false
|
|
25197
|
+
},
|
|
25198
|
+
label: {},
|
|
25199
|
+
description: {},
|
|
25200
|
+
errorMessage: {},
|
|
25201
|
+
isInvalid: {
|
|
25202
|
+
type: Boolean,
|
|
25203
|
+
default: false
|
|
25204
|
+
},
|
|
25205
|
+
isDisabled: {
|
|
25206
|
+
type: Boolean,
|
|
25207
|
+
default: false
|
|
25208
|
+
},
|
|
25209
|
+
isReadOnly: {
|
|
25210
|
+
type: Boolean,
|
|
25211
|
+
default: false
|
|
25212
|
+
},
|
|
25213
|
+
isRequired: {
|
|
25214
|
+
type: Boolean,
|
|
25215
|
+
default: false
|
|
25216
|
+
},
|
|
25217
|
+
name: {},
|
|
25218
|
+
class: {},
|
|
25219
|
+
granularity: { default: "minute" },
|
|
25220
|
+
hourCycle: {},
|
|
25221
|
+
hideTimeZone: {
|
|
25222
|
+
type: Boolean,
|
|
25223
|
+
default: false
|
|
25224
|
+
},
|
|
25225
|
+
defaultOpen: {
|
|
25226
|
+
type: Boolean,
|
|
25227
|
+
default: false
|
|
25228
|
+
},
|
|
25229
|
+
closeOnSelect: {
|
|
25230
|
+
type: Boolean,
|
|
25231
|
+
default: true
|
|
25232
|
+
},
|
|
25233
|
+
locale: {},
|
|
25234
|
+
defaultValue: {},
|
|
25235
|
+
minValue: {},
|
|
25236
|
+
maxValue: {},
|
|
25237
|
+
isDateUnavailable: {},
|
|
25238
|
+
isDateDisabled: {}
|
|
25239
|
+
}, {
|
|
25240
|
+
"modelValue": {},
|
|
25241
|
+
"modelModifiers": {},
|
|
25242
|
+
"open": {
|
|
25243
|
+
type: Boolean,
|
|
25244
|
+
default: void 0
|
|
25245
|
+
},
|
|
25246
|
+
"openModifiers": {}
|
|
25247
|
+
}),
|
|
25248
|
+
emits: ["update:modelValue", "update:open"],
|
|
25249
|
+
setup(__props) {
|
|
25250
|
+
const props = __props;
|
|
25251
|
+
const modelValue = (0, vue.useModel)(__props, "modelValue");
|
|
25252
|
+
const openModel = (0, vue.useModel)(__props, "open");
|
|
25253
|
+
const STEP_TITLES = {
|
|
25254
|
+
date: "Pick a date",
|
|
25255
|
+
time: "Pick a time"
|
|
25256
|
+
};
|
|
25257
|
+
const STEP_ORDER = ["date", "time"];
|
|
25258
|
+
if (props.defaultOpen && openModel.value === void 0) openModel.value = true;
|
|
25259
|
+
if (modelValue.value == null && props.defaultValue != null) modelValue.value = props.defaultValue;
|
|
25260
|
+
const _today = $ad063034c8620db8$export$d0bdf45af03a6ea3($ad063034c8620db8$export$aa8b41735afcabd2());
|
|
25261
|
+
const internalValue = (0, vue.shallowRef)(modelValue.value ?? props.defaultValue ?? new $2aaf608024c21ca1$export$ca871e8dbb80966f(_today.year, _today.month, _today.day, 0, 0));
|
|
25262
|
+
(0, vue.watch)(modelValue, (v) => {
|
|
25263
|
+
if (v instanceof $2aaf608024c21ca1$export$ca871e8dbb80966f) internalValue.value = v;
|
|
25264
|
+
});
|
|
25265
|
+
function onInputChange(v) {
|
|
25266
|
+
if (!(v instanceof $2aaf608024c21ca1$export$ca871e8dbb80966f)) return;
|
|
25267
|
+
internalValue.value = v;
|
|
25268
|
+
modelValue.value = v;
|
|
25269
|
+
}
|
|
25270
|
+
const activeStep = (0, vue.ref)("date");
|
|
25271
|
+
const direction = (0, vue.ref)(1);
|
|
25272
|
+
(0, vue.watch)(openModel, (open) => {
|
|
25273
|
+
if (open) activeStep.value = "date";
|
|
25274
|
+
});
|
|
25275
|
+
function goTo(step) {
|
|
25276
|
+
const from = STEP_ORDER.indexOf(activeStep.value);
|
|
25277
|
+
direction.value = STEP_ORDER.indexOf(step) > from ? 1 : -1;
|
|
25278
|
+
activeStep.value = step;
|
|
25279
|
+
}
|
|
25280
|
+
function goBack() {
|
|
25281
|
+
const idx = STEP_ORDER.indexOf(activeStep.value);
|
|
25282
|
+
if (idx > 0) goTo(STEP_ORDER[idx - 1]);
|
|
25283
|
+
}
|
|
25284
|
+
function goForward() {
|
|
25285
|
+
const idx = STEP_ORDER.indexOf(activeStep.value);
|
|
25286
|
+
if (idx < STEP_ORDER.length - 1) goTo(STEP_ORDER[idx + 1]);
|
|
25287
|
+
else if (props.closeOnSelect) openModel.value = false;
|
|
25288
|
+
}
|
|
25289
|
+
const panelInitial = (0, vue.computed)(() => ({
|
|
25290
|
+
x: direction.value > 0 ? "100%" : "-100%",
|
|
25291
|
+
opacity: 0
|
|
25292
|
+
}));
|
|
25293
|
+
const panelAnimate = {
|
|
25294
|
+
x: "0%",
|
|
25295
|
+
opacity: 1
|
|
25296
|
+
};
|
|
25297
|
+
const panelExit = (0, vue.computed)(() => ({
|
|
25298
|
+
x: direction.value > 0 ? "-100%" : "100%",
|
|
25299
|
+
opacity: 0
|
|
25300
|
+
}));
|
|
25301
|
+
const calendarValue = (0, vue.computed)({
|
|
25302
|
+
get: () => $d07e34cce18680fd$export$93522d1a439f3617(internalValue.value),
|
|
25303
|
+
set: (val) => {
|
|
25304
|
+
if (!val) return;
|
|
25305
|
+
internalValue.value = internalValue.value.set({
|
|
25306
|
+
year: val.year,
|
|
25307
|
+
month: val.month,
|
|
25308
|
+
day: val.day
|
|
25309
|
+
});
|
|
25310
|
+
modelValue.value = internalValue.value;
|
|
25311
|
+
goTo("time");
|
|
25312
|
+
}
|
|
25313
|
+
});
|
|
25314
|
+
function onTimeUpdate(val) {
|
|
25315
|
+
internalValue.value = val;
|
|
25316
|
+
modelValue.value = val;
|
|
25317
|
+
}
|
|
25318
|
+
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.dateTimePickerVariants)({
|
|
25319
|
+
isInvalid: props.isInvalid,
|
|
25320
|
+
isDisabled: props.isDisabled,
|
|
25321
|
+
fullWidth: props.fullWidth
|
|
25322
|
+
}));
|
|
25323
|
+
return (_ctx, _cache) => {
|
|
25324
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.DatePickerRoot), {
|
|
25325
|
+
modelValue: modelValue.value,
|
|
25326
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => modelValue.value = $event),
|
|
25327
|
+
open: openModel.value,
|
|
25328
|
+
"onUpdate:open": _cache[3] || (_cache[3] = ($event) => openModel.value = $event),
|
|
25329
|
+
"default-value": __props.defaultValue,
|
|
25330
|
+
"default-open": __props.defaultOpen,
|
|
25331
|
+
"min-value": __props.minValue,
|
|
25332
|
+
"max-value": __props.maxValue,
|
|
25333
|
+
"is-date-unavailable": __props.isDateUnavailable,
|
|
25334
|
+
"is-date-disabled": __props.isDateDisabled,
|
|
25335
|
+
locale: __props.locale,
|
|
25336
|
+
granularity: __props.granularity,
|
|
25337
|
+
"hour-cycle": __props.hourCycle,
|
|
25338
|
+
disabled: __props.isDisabled,
|
|
25339
|
+
readonly: __props.isReadOnly,
|
|
25340
|
+
name: __props.name,
|
|
25341
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class)),
|
|
25342
|
+
"data-slot": "date-time-picker"
|
|
25343
|
+
}, {
|
|
25344
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(DateInput_default, {
|
|
25345
|
+
"model-value": internalValue.value,
|
|
25346
|
+
"onUpdate:modelValue": onInputChange,
|
|
25347
|
+
variant: __props.variant,
|
|
25348
|
+
size: __props.size,
|
|
25349
|
+
color: __props.color,
|
|
25350
|
+
"label-placement": __props.labelPlacement,
|
|
25351
|
+
"full-width": __props.fullWidth,
|
|
25352
|
+
"default-value": __props.defaultValue,
|
|
25353
|
+
granularity: __props.granularity,
|
|
25354
|
+
"hour-cycle": __props.hourCycle,
|
|
25355
|
+
locale: __props.locale,
|
|
25356
|
+
label: __props.label,
|
|
25357
|
+
description: __props.description,
|
|
25358
|
+
"error-message": __props.errorMessage,
|
|
25359
|
+
"is-invalid": __props.isInvalid,
|
|
25360
|
+
"is-disabled": __props.isDisabled,
|
|
25361
|
+
"is-read-only": __props.isReadOnly,
|
|
25362
|
+
"is-required": __props.isRequired,
|
|
25363
|
+
name: __props.name,
|
|
25364
|
+
"hide-time-zone": __props.hideTimeZone
|
|
25365
|
+
}, {
|
|
25366
|
+
endContent: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerTrigger), {
|
|
25367
|
+
class: (0, vue.normalizeClass)(slotFns.value.trigger()),
|
|
25368
|
+
"aria-label": "Open date time picker",
|
|
25369
|
+
onMousedown: _cache[0] || (_cache[0] = (0, vue.withModifiers)(() => {}, ["prevent"]))
|
|
25370
|
+
}, {
|
|
25371
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selectorIcon", {}, () => [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", {
|
|
25372
|
+
class: (0, vue.normalizeClass)(slotFns.value.triggerIndicator()),
|
|
25373
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25374
|
+
width: "16",
|
|
25375
|
+
height: "16",
|
|
25376
|
+
viewBox: "0 0 24 24",
|
|
25377
|
+
fill: "none",
|
|
25378
|
+
stroke: "currentColor",
|
|
25379
|
+
"stroke-width": "2",
|
|
25380
|
+
"stroke-linecap": "round",
|
|
25381
|
+
"stroke-linejoin": "round",
|
|
25382
|
+
"aria-hidden": "true",
|
|
25383
|
+
focusable: "false"
|
|
25384
|
+
}, [..._cache[4] || (_cache[4] = [
|
|
25385
|
+
(0, vue.createElementVNode)("rect", {
|
|
25386
|
+
x: "3",
|
|
25387
|
+
y: "4",
|
|
25388
|
+
width: "18",
|
|
25389
|
+
height: "18",
|
|
25390
|
+
rx: "2",
|
|
25391
|
+
ry: "2"
|
|
25392
|
+
}, null, -1),
|
|
25393
|
+
(0, vue.createElementVNode)("line", {
|
|
25394
|
+
x1: "16",
|
|
25395
|
+
y1: "2",
|
|
25396
|
+
x2: "16",
|
|
25397
|
+
y2: "6"
|
|
25398
|
+
}, null, -1),
|
|
25399
|
+
(0, vue.createElementVNode)("line", {
|
|
25400
|
+
x1: "8",
|
|
25401
|
+
y1: "2",
|
|
25402
|
+
x2: "8",
|
|
25403
|
+
y2: "6"
|
|
25404
|
+
}, null, -1),
|
|
25405
|
+
(0, vue.createElementVNode)("line", {
|
|
25406
|
+
x1: "3",
|
|
25407
|
+
y1: "10",
|
|
25408
|
+
x2: "21",
|
|
25409
|
+
y2: "10"
|
|
25410
|
+
}, null, -1)
|
|
25411
|
+
])], 2))])]),
|
|
25412
|
+
_: 3
|
|
25413
|
+
}, 8, ["class"])]),
|
|
25414
|
+
_: 3
|
|
25415
|
+
}, 8, [
|
|
25416
|
+
"model-value",
|
|
25417
|
+
"variant",
|
|
25418
|
+
"size",
|
|
25419
|
+
"color",
|
|
25420
|
+
"label-placement",
|
|
25421
|
+
"full-width",
|
|
25422
|
+
"default-value",
|
|
25423
|
+
"granularity",
|
|
25424
|
+
"hour-cycle",
|
|
25425
|
+
"locale",
|
|
25426
|
+
"label",
|
|
25427
|
+
"description",
|
|
25428
|
+
"error-message",
|
|
25429
|
+
"is-invalid",
|
|
25430
|
+
"is-disabled",
|
|
25431
|
+
"is-read-only",
|
|
25432
|
+
"is-required",
|
|
25433
|
+
"name",
|
|
25434
|
+
"hide-time-zone"
|
|
25435
|
+
]), (0, vue.createVNode)((0, vue.unref)(reka_ui.DatePickerContent), {
|
|
25436
|
+
class: (0, vue.normalizeClass)(slotFns.value.popover()),
|
|
25437
|
+
"data-slot": "popover",
|
|
25438
|
+
"side-offset": 8
|
|
25439
|
+
}, {
|
|
25440
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", {
|
|
25441
|
+
class: (0, vue.normalizeClass)(slotFns.value.stepHeader()),
|
|
25442
|
+
"data-slot": "step-header"
|
|
25443
|
+
}, [
|
|
25444
|
+
(0, vue.createElementVNode)("button", {
|
|
25445
|
+
type: "button",
|
|
25446
|
+
class: (0, vue.normalizeClass)(slotFns.value.navButton()),
|
|
25447
|
+
"data-hidden": activeStep.value === "date" ? "true" : void 0,
|
|
25448
|
+
"aria-label": "Previous step",
|
|
25449
|
+
"data-slot": "back-button",
|
|
25450
|
+
onClick: goBack
|
|
25451
|
+
}, [..._cache[5] || (_cache[5] = [(0, vue.createElementVNode)("svg", {
|
|
25452
|
+
width: "14",
|
|
25453
|
+
height: "14",
|
|
25454
|
+
viewBox: "0 0 24 24",
|
|
25455
|
+
fill: "none",
|
|
25456
|
+
stroke: "currentColor",
|
|
25457
|
+
"stroke-width": "2.5",
|
|
25458
|
+
"stroke-linecap": "round",
|
|
25459
|
+
"stroke-linejoin": "round",
|
|
25460
|
+
"aria-hidden": "true"
|
|
25461
|
+
}, [(0, vue.createElementVNode)("polyline", { points: "15 18 9 12 15 6" })], -1)])], 10, _hoisted_1$3),
|
|
25462
|
+
(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(slotFns.value.stepTitle()) }, (0, vue.toDisplayString)(STEP_TITLES[activeStep.value]), 3),
|
|
25463
|
+
(0, vue.createElementVNode)("button", {
|
|
25464
|
+
type: "button",
|
|
25465
|
+
class: (0, vue.normalizeClass)(slotFns.value.navButton()),
|
|
25466
|
+
"aria-label": activeStep.value === "time" ? "Done" : "Next step",
|
|
25467
|
+
"data-slot": "forward-button",
|
|
25468
|
+
onClick: goForward
|
|
25469
|
+
}, [activeStep.value === "time" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
25470
|
+
key: 0,
|
|
25471
|
+
class: (0, vue.normalizeClass)(slotFns.value.doneLabel())
|
|
25472
|
+
}, "Done", 2)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$2, [..._cache[6] || (_cache[6] = [(0, vue.createElementVNode)("polyline", { points: "9 18 15 12 9 6" }, null, -1)])]))], 10, _hoisted_2$2)
|
|
25473
|
+
], 2), (0, vue.createElementVNode)("div", {
|
|
25474
|
+
class: (0, vue.normalizeClass)(slotFns.value.panelWrap()),
|
|
25475
|
+
style: { "overflow": "hidden" }
|
|
25476
|
+
}, [(0, vue.createVNode)((0, vue.unref)(AnimatePresence_default), { mode: "popLayout" }, {
|
|
25477
|
+
default: (0, vue.withCtx)(() => [activeStep.value === "date" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(motion).div, {
|
|
25478
|
+
key: "date",
|
|
25479
|
+
initial: panelInitial.value,
|
|
25480
|
+
animate: panelAnimate,
|
|
25481
|
+
exit: panelExit.value,
|
|
25482
|
+
transition: { duration: .15 },
|
|
25483
|
+
class: "px-3 pb-3",
|
|
25484
|
+
"data-slot": "calendar-panel"
|
|
25485
|
+
}, {
|
|
25486
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(Calendar_default, {
|
|
25487
|
+
modelValue: calendarValue.value,
|
|
25488
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => calendarValue.value = $event),
|
|
25489
|
+
"default-value": __props.defaultValue,
|
|
25490
|
+
"min-value": __props.minValue,
|
|
25491
|
+
"max-value": __props.maxValue,
|
|
25492
|
+
"is-date-disabled": __props.isDateDisabled,
|
|
25493
|
+
"is-date-unavailable": __props.isDateUnavailable,
|
|
25494
|
+
locale: __props.locale,
|
|
25495
|
+
readonly: __props.isReadOnly,
|
|
25496
|
+
disabled: __props.isDisabled
|
|
25497
|
+
}, null, 8, [
|
|
25498
|
+
"modelValue",
|
|
25499
|
+
"default-value",
|
|
25500
|
+
"min-value",
|
|
25501
|
+
"max-value",
|
|
25502
|
+
"is-date-disabled",
|
|
25503
|
+
"is-date-unavailable",
|
|
25504
|
+
"locale",
|
|
25505
|
+
"readonly",
|
|
25506
|
+
"disabled"
|
|
25507
|
+
])]),
|
|
25508
|
+
_: 1
|
|
25509
|
+
}, 8, ["initial", "exit"])) : activeStep.value === "time" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(motion).div, {
|
|
25510
|
+
key: "time",
|
|
25511
|
+
initial: panelInitial.value,
|
|
25512
|
+
animate: panelAnimate,
|
|
25513
|
+
exit: panelExit.value,
|
|
25514
|
+
transition: { duration: .15 }
|
|
25515
|
+
}, {
|
|
25516
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(DateTimePickerTimeScroller_default, {
|
|
25517
|
+
"model-value": internalValue.value,
|
|
25518
|
+
granularity: __props.granularity,
|
|
25519
|
+
"hour-cycle": __props.hourCycle,
|
|
25520
|
+
"onUpdate:modelValue": onTimeUpdate
|
|
25521
|
+
}, null, 8, [
|
|
25522
|
+
"model-value",
|
|
25523
|
+
"granularity",
|
|
25524
|
+
"hour-cycle"
|
|
25525
|
+
])]),
|
|
25526
|
+
_: 1
|
|
25527
|
+
}, 8, ["initial", "exit"])) : (0, vue.createCommentVNode)("", true)]),
|
|
25528
|
+
_: 1
|
|
25529
|
+
})], 2)]),
|
|
25530
|
+
_: 1
|
|
25531
|
+
}, 8, ["class"])]),
|
|
25532
|
+
_: 3
|
|
25533
|
+
}, 8, [
|
|
25534
|
+
"modelValue",
|
|
25535
|
+
"open",
|
|
25536
|
+
"default-value",
|
|
25537
|
+
"default-open",
|
|
25538
|
+
"min-value",
|
|
25539
|
+
"max-value",
|
|
25540
|
+
"is-date-unavailable",
|
|
25541
|
+
"is-date-disabled",
|
|
25542
|
+
"locale",
|
|
25543
|
+
"granularity",
|
|
25544
|
+
"hour-cycle",
|
|
25545
|
+
"disabled",
|
|
25546
|
+
"readonly",
|
|
25547
|
+
"name",
|
|
25548
|
+
"class"
|
|
25549
|
+
]);
|
|
25550
|
+
};
|
|
25551
|
+
}
|
|
25552
|
+
});
|
|
25553
|
+
//#endregion
|
|
24989
25554
|
//#region src/components/color-picker/color-picker.context.ts
|
|
24990
25555
|
var { useProvide: provideColorPickerContext, useInject: useColorPickerInject, key: ColorPickerContextKey } = createContext("ColorPicker");
|
|
24991
25556
|
//#endregion
|
|
@@ -25671,6 +26236,7 @@ exports.DateInput = DateInput_default;
|
|
|
25671
26236
|
exports.DatePicker = DatePicker_default;
|
|
25672
26237
|
exports.DateRangeField = DateRangeField_default;
|
|
25673
26238
|
exports.DateRangePicker = DateRangePicker_default;
|
|
26239
|
+
exports.DateTimePicker = DateTimePicker_default;
|
|
25674
26240
|
exports.Description = Description_default;
|
|
25675
26241
|
exports.Drawer = Drawer_default;
|
|
25676
26242
|
exports.DrawerBody = DrawerBody_default;
|