@auronui/vue 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +393 -366
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +69 -149
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js +49 -54
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/list-box/ListBox.context.js.map +1 -1
- package/dist/components/list-box/ListBox.js.map +1 -1
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js +138 -32
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/list-box/ListBoxItem.js.map +1 -1
- package/dist/components/list-box/ListBoxItem.vue_vue_type_script_setup_true_lang.js +11 -4
- package/dist/components/list-box/ListBoxItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/index.d.ts +149 -7
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -381,7 +381,7 @@ var _hoisted_2$31 = {
|
|
|
381
381
|
width: "100%",
|
|
382
382
|
height: "100%"
|
|
383
383
|
};
|
|
384
|
-
var _hoisted_3$
|
|
384
|
+
var _hoisted_3$19 = { fill: "none" };
|
|
385
385
|
var _hoisted_4$13 = ["fill"];
|
|
386
386
|
var _hoisted_5$9 = ["fill"];
|
|
387
387
|
//#endregion
|
|
@@ -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$19, [
|
|
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",
|
|
@@ -2050,7 +2050,7 @@ var _hoisted_1$55 = [
|
|
|
2050
2050
|
"data-has-helper"
|
|
2051
2051
|
];
|
|
2052
2052
|
var _hoisted_2$30 = ["for"];
|
|
2053
|
-
var _hoisted_3$
|
|
2053
|
+
var _hoisted_3$18 = {
|
|
2054
2054
|
key: 0,
|
|
2055
2055
|
"aria-hidden": "true"
|
|
2056
2056
|
};
|
|
@@ -2218,7 +2218,7 @@ var Input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2218
2218
|
key: 0,
|
|
2219
2219
|
for: inputId.value,
|
|
2220
2220
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
2221
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
2221
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$18, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$30)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createElementVNode)("div", {
|
|
2222
2222
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.inputWrapper(), props.classNames?.inputWrapper)),
|
|
2223
2223
|
"data-filled": hasLabel.value ? isFilled.value || void 0 : void 0
|
|
2224
2224
|
}, [
|
|
@@ -2328,7 +2328,7 @@ var _hoisted_1$54 = [
|
|
|
2328
2328
|
"data-has-helper"
|
|
2329
2329
|
];
|
|
2330
2330
|
var _hoisted_2$29 = ["for"];
|
|
2331
|
-
var _hoisted_3$
|
|
2331
|
+
var _hoisted_3$17 = {
|
|
2332
2332
|
key: 0,
|
|
2333
2333
|
"aria-hidden": "true"
|
|
2334
2334
|
};
|
|
@@ -2465,7 +2465,7 @@ var Textarea_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2465
2465
|
key: 0,
|
|
2466
2466
|
for: inputId.value,
|
|
2467
2467
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
2468
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
2468
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$17, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$29)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createElementVNode)("div", {
|
|
2469
2469
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.inputWrapper(), props.classNames?.inputWrapper)),
|
|
2470
2470
|
"data-filled": hasLabel.value ? isFilled.value || void 0 : void 0
|
|
2471
2471
|
}, [
|
|
@@ -2930,7 +2930,7 @@ var Checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2930
2930
|
//#region src/components/checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
|
|
2931
2931
|
var _hoisted_1$50 = ["aria-labelledby", "data-orientation"];
|
|
2932
2932
|
var _hoisted_2$27 = { class: "checkbox-group__wrapper" };
|
|
2933
|
-
var _hoisted_3$
|
|
2933
|
+
var _hoisted_3$16 = {
|
|
2934
2934
|
key: 1,
|
|
2935
2935
|
class: "checkbox-group__description"
|
|
2936
2936
|
};
|
|
@@ -2995,7 +2995,7 @@ var CheckboxGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2995
2995
|
_: 2
|
|
2996
2996
|
}, 1032, ["value", "disabled"]);
|
|
2997
2997
|
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })]),
|
|
2998
|
-
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
2998
|
+
props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$16, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)
|
|
2999
2999
|
], 10, _hoisted_1$50);
|
|
3000
3000
|
};
|
|
3001
3001
|
}
|
|
@@ -13743,7 +13743,7 @@ var _hoisted_2$24 = {
|
|
|
13743
13743
|
"stroke-linecap": "round",
|
|
13744
13744
|
"stroke-linejoin": "round"
|
|
13745
13745
|
};
|
|
13746
|
-
var _hoisted_3$
|
|
13746
|
+
var _hoisted_3$15 = {
|
|
13747
13747
|
key: 2,
|
|
13748
13748
|
"data-slot": "alert-dialog-default-icon",
|
|
13749
13749
|
viewBox: "0 0 24 24",
|
|
@@ -13797,7 +13797,7 @@ var AlertDialogIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13797
13797
|
(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),
|
|
13798
13798
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
13799
13799
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
13800
|
-
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
13800
|
+
])])) : resolvedStatus() === "success" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$15, [..._cache[2] || (_cache[2] = [(0, vue.createElementVNode)("circle", {
|
|
13801
13801
|
cx: "12",
|
|
13802
13802
|
cy: "12",
|
|
13803
13803
|
r: "9"
|
|
@@ -15529,7 +15529,7 @@ var { useProvide: useBreadcrumbsProvide, useInject: useBreadcrumbsInject, key: b
|
|
|
15529
15529
|
//#region src/components/breadcrumbs/BreadcrumbItem.vue?vue&type=script&setup=true&lang.ts
|
|
15530
15530
|
var _hoisted_1$41 = ["aria-current"];
|
|
15531
15531
|
var _hoisted_2$23 = ["href"];
|
|
15532
|
-
var _hoisted_3$
|
|
15532
|
+
var _hoisted_3$14 = {
|
|
15533
15533
|
key: 1,
|
|
15534
15534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15535
15535
|
viewBox: "0 0 24 24",
|
|
@@ -15578,7 +15578,7 @@ var BreadcrumbItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15578
15578
|
key: 2,
|
|
15579
15579
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)((0, vue.unref)(ctx).slotFns.value.separator(), props.classNames?.separator)),
|
|
15580
15580
|
"aria-hidden": "true"
|
|
15581
|
-
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$
|
|
15581
|
+
}, [SeparatorRenderer.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(SeparatorRenderer.value), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_3$14, [..._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$41);
|
|
15582
15582
|
};
|
|
15583
15583
|
}
|
|
15584
15584
|
});
|
|
@@ -15962,7 +15962,7 @@ var _hoisted_2$22 = {
|
|
|
15962
15962
|
"stroke-linecap": "round",
|
|
15963
15963
|
"stroke-linejoin": "round"
|
|
15964
15964
|
};
|
|
15965
|
-
var _hoisted_3$
|
|
15965
|
+
var _hoisted_3$13 = {
|
|
15966
15966
|
key: 2,
|
|
15967
15967
|
"data-slot": "alert-default-icon",
|
|
15968
15968
|
viewBox: "0 0 24 24",
|
|
@@ -16049,7 +16049,7 @@ var Alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16049
16049
|
cx: "12",
|
|
16050
16050
|
cy: "12",
|
|
16051
16051
|
r: "9"
|
|
16052
|
-
}, 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$
|
|
16052
|
+
}, 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$13, [..._cache[2] || (_cache[2] = [
|
|
16053
16053
|
(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),
|
|
16054
16054
|
(0, vue.createElementVNode)("path", { d: "M12 10v4" }, null, -1),
|
|
16055
16055
|
(0, vue.createElementVNode)("path", { d: "M12 17.5h.01" }, null, -1)
|
|
@@ -16630,6 +16630,10 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16630
16630
|
indicatorAsChild: {
|
|
16631
16631
|
type: Boolean,
|
|
16632
16632
|
default: false
|
|
16633
|
+
},
|
|
16634
|
+
hideSelectedIcon: {
|
|
16635
|
+
type: Boolean,
|
|
16636
|
+
default: void 0
|
|
16633
16637
|
}
|
|
16634
16638
|
},
|
|
16635
16639
|
emits: ["select"],
|
|
@@ -16639,10 +16643,12 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16639
16643
|
const ctx = useListBoxInject({
|
|
16640
16644
|
variant: (0, vue.ref)("default"),
|
|
16641
16645
|
itemVariant: (0, vue.ref)("default"),
|
|
16642
|
-
isDisabled: (0, vue.ref)(false)
|
|
16646
|
+
isDisabled: (0, vue.ref)(false),
|
|
16647
|
+
hideSelectedIcon: (0, vue.ref)(false)
|
|
16643
16648
|
});
|
|
16644
16649
|
const finalVariant = (0, vue.computed)(() => props.variant ?? ctx.itemVariant.value);
|
|
16645
16650
|
const finalDisabled = (0, vue.computed)(() => ctx.isDisabled.value || props.isDisabled);
|
|
16651
|
+
const finalHideSelectedIcon = (0, vue.computed)(() => props.hideSelectedIcon ?? ctx.hideSelectedIcon.value);
|
|
16646
16652
|
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.listboxItemVariants)({ variant: finalVariant.value }));
|
|
16647
16653
|
return (_ctx, _cache) => {
|
|
16648
16654
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ListboxItem), {
|
|
@@ -16658,7 +16664,8 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16658
16664
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
16659
16665
|
(0, vue.renderSlot)(_ctx.$slots, "default"),
|
|
16660
16666
|
(0, vue.renderSlot)(_ctx.$slots, "endContent"),
|
|
16661
|
-
(0, vue.
|
|
16667
|
+
!finalHideSelectedIcon.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ListboxItemIndicator), {
|
|
16668
|
+
key: 0,
|
|
16662
16669
|
as: props.indicatorAs,
|
|
16663
16670
|
"as-child": props.indicatorAsChild,
|
|
16664
16671
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.indicator(), props.classNames?.indicator))
|
|
@@ -16681,7 +16688,7 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16681
16688
|
"as",
|
|
16682
16689
|
"as-child",
|
|
16683
16690
|
"class"
|
|
16684
|
-
])
|
|
16691
|
+
])) : (0, vue.createCommentVNode)("", true)
|
|
16685
16692
|
]),
|
|
16686
16693
|
_: 3
|
|
16687
16694
|
}, 8, [
|
|
@@ -16696,6 +16703,19 @@ var ListBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16696
16703
|
}
|
|
16697
16704
|
});
|
|
16698
16705
|
//#endregion
|
|
16706
|
+
//#region src/components/list-box/ListBox.vue?vue&type=script&setup=true&lang.ts
|
|
16707
|
+
var _hoisted_1$38 = {
|
|
16708
|
+
key: 0,
|
|
16709
|
+
"data-slot": "list-box-loading",
|
|
16710
|
+
role: "status",
|
|
16711
|
+
"aria-live": "polite"
|
|
16712
|
+
};
|
|
16713
|
+
var _hoisted_2$21 = {
|
|
16714
|
+
key: 1,
|
|
16715
|
+
class: "flex justify-center p-2",
|
|
16716
|
+
"data-slot": "list-box-load-more"
|
|
16717
|
+
};
|
|
16718
|
+
//#endregion
|
|
16699
16719
|
//#region src/components/list-box/ListBox.vue
|
|
16700
16720
|
var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
16701
16721
|
inheritAttrs: false,
|
|
@@ -16747,13 +16767,39 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16747
16767
|
contentAsChild: {
|
|
16748
16768
|
type: Boolean,
|
|
16749
16769
|
default: false
|
|
16750
|
-
}
|
|
16770
|
+
},
|
|
16771
|
+
hideSelectedIcon: {
|
|
16772
|
+
type: Boolean,
|
|
16773
|
+
default: false
|
|
16774
|
+
},
|
|
16775
|
+
virtualized: {
|
|
16776
|
+
type: Boolean,
|
|
16777
|
+
default: false
|
|
16778
|
+
},
|
|
16779
|
+
estimateSize: {
|
|
16780
|
+
type: [Number, Function],
|
|
16781
|
+
default: 36
|
|
16782
|
+
},
|
|
16783
|
+
overscan: { default: 12 },
|
|
16784
|
+
maxHeight: { default: "16rem" },
|
|
16785
|
+
hasMore: {
|
|
16786
|
+
type: Boolean,
|
|
16787
|
+
default: false
|
|
16788
|
+
},
|
|
16789
|
+
isLoading: {
|
|
16790
|
+
type: Boolean,
|
|
16791
|
+
default: false
|
|
16792
|
+
},
|
|
16793
|
+
loadMoreDistance: { default: 120 },
|
|
16794
|
+
loadMode: { default: "scroll" },
|
|
16795
|
+
loadMoreLabel: { default: "Load more" }
|
|
16751
16796
|
},
|
|
16752
16797
|
emits: [
|
|
16753
16798
|
"update:modelValue",
|
|
16754
16799
|
"highlight",
|
|
16755
16800
|
"entry-focus",
|
|
16756
|
-
"leave"
|
|
16801
|
+
"leave",
|
|
16802
|
+
"load-more"
|
|
16757
16803
|
],
|
|
16758
16804
|
setup(__props, { emit: __emit }) {
|
|
16759
16805
|
const props = __props;
|
|
@@ -16762,13 +16808,33 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16762
16808
|
useListBoxProvide({
|
|
16763
16809
|
variant: (0, vue.toRef)(props, "variant"),
|
|
16764
16810
|
itemVariant: (0, vue.toRef)(props, "variant"),
|
|
16765
|
-
isDisabled: (0, vue.toRef)(props, "isDisabled")
|
|
16811
|
+
isDisabled: (0, vue.toRef)(props, "isDisabled"),
|
|
16812
|
+
hideSelectedIcon: (0, vue.toRef)(props, "hideSelectedIcon")
|
|
16766
16813
|
});
|
|
16767
16814
|
const slotFns = (0, vue.computed)(() => (0, _auronui_styles.listboxVariants)({ variant: props.variant }));
|
|
16815
|
+
const contentRef = (0, vue.useTemplateRef)("content");
|
|
16816
|
+
const lastRequestedCount = (0, vue.ref)(-1);
|
|
16817
|
+
(0, _vueuse_core.useInfiniteScroll)(contentRef, () => {
|
|
16818
|
+
lastRequestedCount.value = props.items?.length ?? 0;
|
|
16819
|
+
emit("load-more");
|
|
16820
|
+
}, {
|
|
16821
|
+
distance: props.loadMoreDistance,
|
|
16822
|
+
canLoadMore: () => props.loadMode === "scroll" && props.hasMore && !props.isLoading && (props.items?.length ?? 0) !== lastRequestedCount.value
|
|
16823
|
+
});
|
|
16824
|
+
function requestLoadMore() {
|
|
16825
|
+
if (props.hasMore && !props.isLoading) emit("load-more");
|
|
16826
|
+
}
|
|
16827
|
+
const needsScroll = (0, vue.computed)(() => props.virtualized);
|
|
16828
|
+
const contentStyle = (0, vue.computed)(() => needsScroll.value ? {
|
|
16829
|
+
maxHeight: typeof props.maxHeight === "number" ? `${props.maxHeight}px` : props.maxHeight,
|
|
16830
|
+
overflowY: "auto"
|
|
16831
|
+
} : void 0);
|
|
16832
|
+
const rekaModelValue = (0, vue.computed)(() => props.modelValue == null ? void 0 : [].concat(props.modelValue));
|
|
16833
|
+
const rekaDefaultValue = (0, vue.computed)(() => props.defaultValue == null ? void 0 : [].concat(props.defaultValue));
|
|
16768
16834
|
return (_ctx, _cache) => {
|
|
16769
16835
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ListboxRoot), {
|
|
16770
|
-
"model-value":
|
|
16771
|
-
"default-value":
|
|
16836
|
+
"model-value": rekaModelValue.value,
|
|
16837
|
+
"default-value": rekaDefaultValue.value,
|
|
16772
16838
|
multiple: props.multiple ?? props.selectionMode === "multiple",
|
|
16773
16839
|
"selection-behavior": props.selectionBehavior ?? (props.selectionMode === "multiple" ? "toggle" : "replace"),
|
|
16774
16840
|
disabled: props.isDisabled,
|
|
@@ -16785,32 +16851,79 @@ var ListBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16785
16851
|
onEntryFocus: _cache[2] || (_cache[2] = ($event) => emit("entry-focus", $event)),
|
|
16786
16852
|
onLeave: _cache[3] || (_cache[3] = ($event) => emit("leave", $event))
|
|
16787
16853
|
}, {
|
|
16788
|
-
default: (0, vue.withCtx)(() => [
|
|
16789
|
-
|
|
16790
|
-
|
|
16791
|
-
|
|
16792
|
-
|
|
16793
|
-
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
|
|
16798
|
-
"
|
|
16854
|
+
default: (0, vue.withCtx)(() => [
|
|
16855
|
+
(0, vue.createVNode)((0, vue.unref)(reka_ui.ListboxContent), (0, vue.mergeProps)({ ref: "content" }, (0, vue.unref)(attrs), {
|
|
16856
|
+
as: props.contentAs,
|
|
16857
|
+
"as-child": props.contentAsChild,
|
|
16858
|
+
style: contentStyle.value,
|
|
16859
|
+
class: (0, vue.unref)(composeClassName)(slotFns.value, props.class, props.classNames?.base)
|
|
16860
|
+
}), {
|
|
16861
|
+
default: (0, vue.withCtx)(() => [props.virtualized && props.items ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ListboxVirtualizer), {
|
|
16862
|
+
key: 0,
|
|
16863
|
+
options: props.items,
|
|
16864
|
+
"estimate-size": props.estimateSize,
|
|
16865
|
+
overscan: props.overscan,
|
|
16866
|
+
"text-content": (o) => o.label ?? o.value
|
|
16799
16867
|
}, {
|
|
16800
|
-
default: (0, vue.withCtx)(() => [(0, vue.
|
|
16801
|
-
|
|
16802
|
-
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
|
|
16810
|
-
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
|
-
|
|
16868
|
+
default: (0, vue.withCtx)(({ option, virtualItem }) => [(0, vue.renderSlot)(_ctx.$slots, "item", {
|
|
16869
|
+
item: option,
|
|
16870
|
+
index: virtualItem.index
|
|
16871
|
+
}, () => [(0, vue.createVNode)(ListBoxItem_default, {
|
|
16872
|
+
value: option.value,
|
|
16873
|
+
"is-disabled": option.disabled,
|
|
16874
|
+
"text-value": option.textValue
|
|
16875
|
+
}, {
|
|
16876
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(option.label ?? option.value), 1)]),
|
|
16877
|
+
_: 2
|
|
16878
|
+
}, 1032, [
|
|
16879
|
+
"value",
|
|
16880
|
+
"is-disabled",
|
|
16881
|
+
"text-value"
|
|
16882
|
+
])])]),
|
|
16883
|
+
_: 3
|
|
16884
|
+
}, 8, [
|
|
16885
|
+
"options",
|
|
16886
|
+
"estimate-size",
|
|
16887
|
+
"overscan",
|
|
16888
|
+
"text-content"
|
|
16889
|
+
])) : props.items ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(props.items, (item) => {
|
|
16890
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)(ListBoxItem_default, {
|
|
16891
|
+
key: item.value,
|
|
16892
|
+
value: item.value,
|
|
16893
|
+
"is-disabled": item.disabled,
|
|
16894
|
+
"text-value": item.textValue
|
|
16895
|
+
}, {
|
|
16896
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item.label ?? item.value), 1)]),
|
|
16897
|
+
_: 2
|
|
16898
|
+
}, 1032, [
|
|
16899
|
+
"value",
|
|
16900
|
+
"is-disabled",
|
|
16901
|
+
"text-value"
|
|
16902
|
+
]);
|
|
16903
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 2 })]),
|
|
16904
|
+
_: 3
|
|
16905
|
+
}, 16, [
|
|
16906
|
+
"as",
|
|
16907
|
+
"as-child",
|
|
16908
|
+
"style",
|
|
16909
|
+
"class"
|
|
16910
|
+
]),
|
|
16911
|
+
props.loadMode === "scroll" && props.isLoading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$38, [(0, vue.renderSlot)(_ctx.$slots, "loading", {}, () => [_cache[4] || (_cache[4] = (0, vue.createTextVNode)("Loading…", -1))])])) : (0, vue.createCommentVNode)("", true),
|
|
16912
|
+
props.loadMode === "button" && props.hasMore ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$21, [(0, vue.renderSlot)(_ctx.$slots, "loadMore", {
|
|
16913
|
+
loadMore: requestLoadMore,
|
|
16914
|
+
isLoading: props.isLoading,
|
|
16915
|
+
hasMore: props.hasMore
|
|
16916
|
+
}, () => [(0, vue.createVNode)(Button_default, {
|
|
16917
|
+
size: "sm",
|
|
16918
|
+
"is-loading": props.isLoading,
|
|
16919
|
+
disabled: props.isLoading,
|
|
16920
|
+
"data-slot": "load-more-button",
|
|
16921
|
+
onClick: requestLoadMore
|
|
16922
|
+
}, {
|
|
16923
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.loadMoreLabel), 1)]),
|
|
16924
|
+
_: 1
|
|
16925
|
+
}, 8, ["is-loading", "disabled"])])])) : (0, vue.createCommentVNode)("", true)
|
|
16926
|
+
]),
|
|
16814
16927
|
_: 3
|
|
16815
16928
|
}, 8, [
|
|
16816
16929
|
"model-value",
|
|
@@ -16924,8 +17037,8 @@ function hasSlotComponent(nodes, components) {
|
|
|
16924
17037
|
}
|
|
16925
17038
|
//#endregion
|
|
16926
17039
|
//#region src/components/select/SelectTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
16927
|
-
var _hoisted_1$
|
|
16928
|
-
var _hoisted_2$
|
|
17040
|
+
var _hoisted_1$37 = ["for"];
|
|
17041
|
+
var _hoisted_2$20 = {
|
|
16929
17042
|
key: 0,
|
|
16930
17043
|
"aria-hidden": "true"
|
|
16931
17044
|
};
|
|
@@ -16991,7 +17104,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
16991
17104
|
key: 0,
|
|
16992
17105
|
for: (0, vue.unref)(ctx).triggerId.value,
|
|
16993
17106
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
16994
|
-
}, [(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$
|
|
17107
|
+
}, [(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$20, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$37)) : (0, vue.createCommentVNode)("", true),
|
|
16995
17108
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
16996
17109
|
key: 1,
|
|
16997
17110
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
@@ -17036,7 +17149,7 @@ var SelectTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17036
17149
|
});
|
|
17037
17150
|
//#endregion
|
|
17038
17151
|
//#region src/components/select/SelectOverflowChips.vue?vue&type=script&setup=true&lang.ts
|
|
17039
|
-
var _hoisted_1$
|
|
17152
|
+
var _hoisted_1$36 = {
|
|
17040
17153
|
ref: "container",
|
|
17041
17154
|
style: {
|
|
17042
17155
|
"display": "flex",
|
|
@@ -17094,7 +17207,7 @@ var SelectOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17094
17207
|
(0, _vueuse_core.useResizeObserver)(containerEl, reflow);
|
|
17095
17208
|
(0, vue.watch)(() => props.values.join("\0"), () => reflow(), { flush: "post" });
|
|
17096
17209
|
return (_ctx, _cache) => {
|
|
17097
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
17210
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$36, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.values, (val, i) => {
|
|
17098
17211
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
17099
17212
|
key: val,
|
|
17100
17213
|
"data-chip-item": "",
|
|
@@ -17434,7 +17547,7 @@ var SelectItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17434
17547
|
});
|
|
17435
17548
|
//#endregion
|
|
17436
17549
|
//#region src/components/select/Select.vue?vue&type=script&setup=true&lang.ts
|
|
17437
|
-
var _hoisted_1$
|
|
17550
|
+
var _hoisted_1$35 = [
|
|
17438
17551
|
"data-invalid",
|
|
17439
17552
|
"data-disabled",
|
|
17440
17553
|
"data-readonly",
|
|
@@ -17442,8 +17555,8 @@ var _hoisted_1$36 = [
|
|
|
17442
17555
|
"data-has-label",
|
|
17443
17556
|
"data-has-helper"
|
|
17444
17557
|
];
|
|
17445
|
-
var _hoisted_2$
|
|
17446
|
-
var _hoisted_3$
|
|
17558
|
+
var _hoisted_2$19 = ["for"];
|
|
17559
|
+
var _hoisted_3$12 = {
|
|
17447
17560
|
key: 0,
|
|
17448
17561
|
"aria-hidden": "true"
|
|
17449
17562
|
};
|
|
@@ -17587,7 +17700,7 @@ var Select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17587
17700
|
key: 0,
|
|
17588
17701
|
for: triggerId.value,
|
|
17589
17702
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
17590
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
17703
|
+
}, [(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)], 10, _hoisted_2$19)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.SelectRoot), {
|
|
17591
17704
|
"model-value": props.modelValue,
|
|
17592
17705
|
"default-value": props.defaultValue,
|
|
17593
17706
|
multiple: props.multiple,
|
|
@@ -17647,7 +17760,7 @@ var Select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17647
17760
|
key: 1,
|
|
17648
17761
|
id: descriptionId.value,
|
|
17649
17762
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
17650
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$6)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
17763
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$6)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$35);
|
|
17651
17764
|
};
|
|
17652
17765
|
}
|
|
17653
17766
|
});
|
|
@@ -17913,9 +18026,9 @@ var DropdownMenu_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17913
18026
|
});
|
|
17914
18027
|
//#endregion
|
|
17915
18028
|
//#region src/components/dropdown/DropdownItem.vue?vue&type=script&setup=true&lang.ts
|
|
17916
|
-
var _hoisted_1$
|
|
17917
|
-
var _hoisted_2$
|
|
17918
|
-
var _hoisted_3$
|
|
18029
|
+
var _hoisted_1$34 = { class: "flex flex-1 flex-col" };
|
|
18030
|
+
var _hoisted_2$18 = { "data-slot": "label" };
|
|
18031
|
+
var _hoisted_3$11 = {
|
|
17919
18032
|
key: 0,
|
|
17920
18033
|
"data-slot": "description"
|
|
17921
18034
|
};
|
|
@@ -17964,7 +18077,7 @@ var DropdownItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17964
18077
|
}, {
|
|
17965
18078
|
default: (0, vue.withCtx)(() => [
|
|
17966
18079
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
17967
|
-
(0, vue.createElementVNode)("div", _hoisted_1$
|
|
18080
|
+
(0, vue.createElementVNode)("div", _hoisted_1$34, [(0, vue.createElementVNode)("span", _hoisted_2$18, [(0, vue.renderSlot)(_ctx.$slots, "default")]), props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$11, (0, vue.toDisplayString)(props.description), 1)) : (0, vue.createCommentVNode)("", true)]),
|
|
17968
18081
|
props.shortcut ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("kbd", _hoisted_4$7, (0, vue.toDisplayString)(props.shortcut), 1)) : (0, vue.createCommentVNode)("", true),
|
|
17969
18082
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
17970
18083
|
]),
|
|
@@ -18995,9 +19108,9 @@ var ComboBoxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18995
19108
|
});
|
|
18996
19109
|
//#endregion
|
|
18997
19110
|
//#region src/components/combo-box/ComboBox.vue?vue&type=script&setup=true&lang.ts
|
|
18998
|
-
var _hoisted_1$
|
|
18999
|
-
var _hoisted_2$
|
|
19000
|
-
var _hoisted_3$
|
|
19111
|
+
var _hoisted_1$33 = ["aria-invalid"];
|
|
19112
|
+
var _hoisted_2$17 = ["id"];
|
|
19113
|
+
var _hoisted_3$10 = {
|
|
19001
19114
|
key: 0,
|
|
19002
19115
|
"aria-hidden": "true"
|
|
19003
19116
|
};
|
|
@@ -19183,7 +19296,7 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19183
19296
|
key: 0,
|
|
19184
19297
|
id: (0, vue.unref)(labelId),
|
|
19185
19298
|
"data-slot": "label"
|
|
19186
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label) + " ", 1), props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
19299
|
+
}, [(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$17)) : (0, vue.createCommentVNode)("", true),
|
|
19187
19300
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.ComboboxRoot), {
|
|
19188
19301
|
modelValue: internalValue.value,
|
|
19189
19302
|
"onUpdate:modelValue": [_cache[0] || (_cache[0] = ($event) => internalValue.value = $event), _cache[1] || (_cache[1] = ($event) => handleModelValueUpdate($event))],
|
|
@@ -19246,7 +19359,7 @@ var ComboBox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19246
19359
|
"filter-function"
|
|
19247
19360
|
]),
|
|
19248
19361
|
props.description || props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$6, [props.isInvalid && props.errorMessage ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", _hoisted_5$5, (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)
|
|
19249
|
-
], 10, _hoisted_1$
|
|
19362
|
+
], 10, _hoisted_1$33);
|
|
19250
19363
|
};
|
|
19251
19364
|
}
|
|
19252
19365
|
});
|
|
@@ -19281,7 +19394,7 @@ var ComboBoxEmpty_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19281
19394
|
var { useProvide: useAutocompleteProvide, useInject: useAutocompleteInject, key: autocompleteContextKey } = createContext("Autocomplete");
|
|
19282
19395
|
//#endregion
|
|
19283
19396
|
//#region src/components/autocomplete/AutocompleteOverflowChips.vue?vue&type=script&setup=true&lang.ts
|
|
19284
|
-
var _hoisted_1$
|
|
19397
|
+
var _hoisted_1$32 = {
|
|
19285
19398
|
ref: "container",
|
|
19286
19399
|
style: {
|
|
19287
19400
|
"display": "flex",
|
|
@@ -19340,7 +19453,7 @@ var AutocompleteOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)
|
|
|
19340
19453
|
(0, _vueuse_core.useResizeObserver)(containerEl, reflow);
|
|
19341
19454
|
(0, vue.watch)(() => props.values.join("\0"), () => reflow(), { flush: "post" });
|
|
19342
19455
|
return (_ctx, _cache) => {
|
|
19343
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
19456
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$32, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.values, (val, i) => {
|
|
19344
19457
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Chip_default, {
|
|
19345
19458
|
key: val,
|
|
19346
19459
|
"data-chip-item": "",
|
|
@@ -19365,8 +19478,8 @@ var AutocompleteOverflowChips_default = /* @__PURE__ */ (0, vue.defineComponent)
|
|
|
19365
19478
|
});
|
|
19366
19479
|
//#endregion
|
|
19367
19480
|
//#region src/components/autocomplete/AutocompleteInput.vue?vue&type=script&setup=true&lang.ts
|
|
19368
|
-
var _hoisted_1$
|
|
19369
|
-
var _hoisted_2$
|
|
19481
|
+
var _hoisted_1$31 = ["for"];
|
|
19482
|
+
var _hoisted_2$16 = {
|
|
19370
19483
|
key: 0,
|
|
19371
19484
|
"aria-hidden": "true"
|
|
19372
19485
|
};
|
|
@@ -19441,7 +19554,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19441
19554
|
key: 0,
|
|
19442
19555
|
for: (0, vue.unref)(ctx).inputId.value,
|
|
19443
19556
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.label())
|
|
19444
|
-
}, [(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$
|
|
19557
|
+
}, [(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$16, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_1$31)) : (0, vue.createCommentVNode)("", true),
|
|
19445
19558
|
_ctx.$slots.startContent ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
19446
19559
|
key: 1,
|
|
19447
19560
|
class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.startContent()),
|
|
@@ -19594,7 +19707,7 @@ var AutocompleteInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19594
19707
|
});
|
|
19595
19708
|
//#endregion
|
|
19596
19709
|
//#region src/components/autocomplete/AutocompleteContent.vue?vue&type=script&setup=true&lang.ts
|
|
19597
|
-
var _hoisted_1$
|
|
19710
|
+
var _hoisted_1$30 = [
|
|
19598
19711
|
"inert",
|
|
19599
19712
|
"aria-disabled",
|
|
19600
19713
|
"data-disabled"
|
|
@@ -19806,7 +19919,7 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19806
19919
|
_: 3
|
|
19807
19920
|
})) : (0, vue.createCommentVNode)("", true)]),
|
|
19808
19921
|
_: 3
|
|
19809
|
-
})], 10, _hoisted_1$
|
|
19922
|
+
})], 10, _hoisted_1$30)]),
|
|
19810
19923
|
_: 3
|
|
19811
19924
|
}, 8, [
|
|
19812
19925
|
"data-loading",
|
|
@@ -19854,11 +19967,11 @@ var AutocompleteContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19854
19967
|
});
|
|
19855
19968
|
//#endregion
|
|
19856
19969
|
//#region src/components/autocomplete/AutocompleteItem.vue?vue&type=script&setup=true&lang.ts
|
|
19857
|
-
var _hoisted_1$
|
|
19970
|
+
var _hoisted_1$29 = {
|
|
19858
19971
|
class: "autocomplete-item__text",
|
|
19859
19972
|
"data-slot": "item-text"
|
|
19860
19973
|
};
|
|
19861
|
-
var _hoisted_2$
|
|
19974
|
+
var _hoisted_2$15 = {
|
|
19862
19975
|
key: 1,
|
|
19863
19976
|
class: "list-box-item__indicator",
|
|
19864
19977
|
"data-slot": "list-box-item-indicator"
|
|
@@ -19937,7 +20050,7 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19937
20050
|
}, {
|
|
19938
20051
|
default: (0, vue.withCtx)(() => [
|
|
19939
20052
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
19940
|
-
(0, vue.createElementVNode)("span", _hoisted_1$
|
|
20053
|
+
(0, vue.createElementVNode)("span", _hoisted_1$29, [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
19941
20054
|
!(0, vue.unref)(ctx).multiple.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.ComboboxItemIndicator), {
|
|
19942
20055
|
key: 0,
|
|
19943
20056
|
as: props.indicatorAs,
|
|
@@ -19959,7 +20072,7 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19959
20072
|
"aria-hidden": "true"
|
|
19960
20073
|
}, [(0, vue.createElementVNode)("polyline", { points: "20 6 9 17 4 12" })], -1))])]),
|
|
19961
20074
|
_: 3
|
|
19962
|
-
}, 8, ["as", "as-child"])) : isChecked.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
20075
|
+
}, 8, ["as", "as-child"])) : isChecked.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$15, [(0, vue.renderSlot)(_ctx.$slots, "selectedIcon", {}, () => [_cache[1] || (_cache[1] = (0, vue.createElementVNode)("svg", {
|
|
19963
20076
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19964
20077
|
width: "12",
|
|
19965
20078
|
height: "12",
|
|
@@ -19989,7 +20102,7 @@ var AutocompleteItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
19989
20102
|
});
|
|
19990
20103
|
//#endregion
|
|
19991
20104
|
//#region src/components/autocomplete/Autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
19992
|
-
var _hoisted_1$
|
|
20105
|
+
var _hoisted_1$28 = [
|
|
19993
20106
|
"data-invalid",
|
|
19994
20107
|
"data-disabled",
|
|
19995
20108
|
"data-readonly",
|
|
@@ -19997,8 +20110,8 @@ var _hoisted_1$29 = [
|
|
|
19997
20110
|
"data-has-label",
|
|
19998
20111
|
"data-has-helper"
|
|
19999
20112
|
];
|
|
20000
|
-
var _hoisted_2$
|
|
20001
|
-
var _hoisted_3$
|
|
20113
|
+
var _hoisted_2$14 = ["for"];
|
|
20114
|
+
var _hoisted_3$9 = {
|
|
20002
20115
|
key: 0,
|
|
20003
20116
|
"aria-hidden": "true"
|
|
20004
20117
|
};
|
|
@@ -20338,7 +20451,7 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20338
20451
|
key: 0,
|
|
20339
20452
|
for: inputId.value,
|
|
20340
20453
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
20341
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
20454
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$9, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$14)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.AutocompleteRoot), {
|
|
20342
20455
|
"model-value": searchTerm.value,
|
|
20343
20456
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
20344
20457
|
open: props.multiple ? internalOpen.value : singleOpen.value,
|
|
@@ -20399,13 +20512,13 @@ var Autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20399
20512
|
key: 1,
|
|
20400
20513
|
id: descriptionId.value,
|
|
20401
20514
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
20402
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$4)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
20515
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_5$4)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$28);
|
|
20403
20516
|
};
|
|
20404
20517
|
}
|
|
20405
20518
|
});
|
|
20406
20519
|
//#endregion
|
|
20407
20520
|
//#region src/components/autocomplete/AutocompleteCreateItem.vue?vue&type=script&setup=true&lang.ts
|
|
20408
|
-
var _hoisted_1$
|
|
20521
|
+
var _hoisted_1$27 = {
|
|
20409
20522
|
class: "autocomplete-item__text",
|
|
20410
20523
|
"data-slot": "item-text"
|
|
20411
20524
|
};
|
|
@@ -20463,7 +20576,7 @@ var AutocompleteCreateItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20463
20576
|
"data-create-item": "",
|
|
20464
20577
|
onSelect: handleSelect
|
|
20465
20578
|
}, {
|
|
20466
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { term: term.value }, () => [(0, vue.createElementVNode)("span", _hoisted_1$
|
|
20579
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { term: term.value }, () => [(0, vue.createElementVNode)("span", _hoisted_1$27, (0, vue.toDisplayString)(displayLabel.value), 1)])]),
|
|
20467
20580
|
_: 3
|
|
20468
20581
|
}, 8, [
|
|
20469
20582
|
"value",
|
|
@@ -20584,8 +20697,8 @@ var Pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20584
20697
|
});
|
|
20585
20698
|
//#endregion
|
|
20586
20699
|
//#region src/components/pagination/PaginationContent.vue?vue&type=script&setup=true&lang.ts
|
|
20587
|
-
var _hoisted_1$
|
|
20588
|
-
var _hoisted_2$
|
|
20700
|
+
var _hoisted_1$26 = ["disabled", "data-disabled"];
|
|
20701
|
+
var _hoisted_2$13 = ["disabled", "data-disabled"];
|
|
20589
20702
|
//#endregion
|
|
20590
20703
|
//#region src/components/pagination/PaginationContent.vue
|
|
20591
20704
|
var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -20627,7 +20740,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20627
20740
|
"data-disabled": !hasPreviousPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
20628
20741
|
"aria-label": "Before page",
|
|
20629
20742
|
onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(ctx).onCursorChange((0, vue.unref)(ctx).beforeCursor.value, null))
|
|
20630
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$
|
|
20743
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "before", {}, () => [_cache[2] || (_cache[2] = (0, vue.createTextVNode)(" Before ", -1))])], 10, _hoisted_1$26),
|
|
20631
20744
|
(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),
|
|
20632
20745
|
(0, vue.createElementVNode)("button", {
|
|
20633
20746
|
type: "button",
|
|
@@ -20636,7 +20749,7 @@ var PaginationContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
20636
20749
|
"data-disabled": !hasNextPage.value || (0, vue.unref)(ctx).disabled.value || void 0,
|
|
20637
20750
|
"aria-label": "After page",
|
|
20638
20751
|
onClick: _cache[1] || (_cache[1] = ($event) => (0, vue.unref)(ctx).onCursorChange(null, (0, vue.unref)(ctx).afterCursor.value))
|
|
20639
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$
|
|
20752
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "after", {}, () => [_cache[3] || (_cache[3] = (0, vue.createTextVNode)(" After ", -1))])], 10, _hoisted_2$13)
|
|
20640
20753
|
], 2));
|
|
20641
20754
|
};
|
|
20642
20755
|
}
|
|
@@ -23469,7 +23582,7 @@ function useTableKeyboardNav(options) {
|
|
|
23469
23582
|
}
|
|
23470
23583
|
//#endregion
|
|
23471
23584
|
//#region src/components/table/TableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
23472
|
-
var _hoisted_1$
|
|
23585
|
+
var _hoisted_1$25 = [
|
|
23473
23586
|
"data-col-index",
|
|
23474
23587
|
"aria-sort",
|
|
23475
23588
|
"data-allows-sorting",
|
|
@@ -23526,7 +23639,7 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23526
23639
|
key: 0,
|
|
23527
23640
|
render: header.column.columnDef.header,
|
|
23528
23641
|
props: header.getContext()
|
|
23529
|
-
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$
|
|
23642
|
+
}, null, 8, ["render", "props"])) : (0, vue.createCommentVNode)("", true)], 42, _hoisted_1$25);
|
|
23530
23643
|
}), 128))], 2);
|
|
23531
23644
|
}), 128))], 2);
|
|
23532
23645
|
};
|
|
@@ -23534,14 +23647,14 @@ var TableHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23534
23647
|
});
|
|
23535
23648
|
//#endregion
|
|
23536
23649
|
//#region src/components/table/TableBody.vue?vue&type=script&setup=true&lang.ts
|
|
23537
|
-
var _hoisted_1$
|
|
23650
|
+
var _hoisted_1$24 = [
|
|
23538
23651
|
"aria-rowindex",
|
|
23539
23652
|
"aria-selected",
|
|
23540
23653
|
"data-state",
|
|
23541
23654
|
"onClick",
|
|
23542
23655
|
"onKeydown"
|
|
23543
23656
|
];
|
|
23544
|
-
var _hoisted_2$
|
|
23657
|
+
var _hoisted_2$12 = [
|
|
23545
23658
|
"data-row-index",
|
|
23546
23659
|
"data-col-index",
|
|
23547
23660
|
"tabindex"
|
|
@@ -23591,8 +23704,8 @@ var TableBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
23591
23704
|
}, () => [(0, vue.createVNode)((0, vue.unref)(FlexRender), {
|
|
23592
23705
|
render: cell.column.columnDef.cell,
|
|
23593
23706
|
props: cell.getContext()
|
|
23594
|
-
}, null, 8, ["render", "props"])])], 10, _hoisted_2$
|
|
23595
|
-
}), 128))], 42, _hoisted_1$
|
|
23707
|
+
}, null, 8, ["render", "props"])])], 10, _hoisted_2$12);
|
|
23708
|
+
}), 128))], 42, _hoisted_1$24);
|
|
23596
23709
|
}), 128))], 2);
|
|
23597
23710
|
};
|
|
23598
23711
|
}
|
|
@@ -24384,12 +24497,12 @@ function useVirtualizer(options) {
|
|
|
24384
24497
|
}
|
|
24385
24498
|
//#endregion
|
|
24386
24499
|
//#region src/components/table/TableVirtualBody.vue?vue&type=script&setup=true&lang.ts
|
|
24387
|
-
var _hoisted_1$
|
|
24500
|
+
var _hoisted_1$23 = {
|
|
24388
24501
|
key: 0,
|
|
24389
24502
|
"aria-hidden": "true"
|
|
24390
24503
|
};
|
|
24391
|
-
var _hoisted_2$
|
|
24392
|
-
var _hoisted_3$
|
|
24504
|
+
var _hoisted_2$11 = ["colspan"];
|
|
24505
|
+
var _hoisted_3$8 = [
|
|
24393
24506
|
"aria-rowindex",
|
|
24394
24507
|
"aria-selected",
|
|
24395
24508
|
"data-state",
|
|
@@ -24453,14 +24566,14 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24453
24566
|
__expose({ scrollToIndex: (index) => virtualizer.value.scrollToIndex(index, { align: "auto" }) });
|
|
24454
24567
|
return (_ctx, _cache) => {
|
|
24455
24568
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tbody", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.body(), props.classNames?.body)) }, [
|
|
24456
|
-
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$
|
|
24569
|
+
paddingTop.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1$23, [(0, vue.createElementVNode)("td", {
|
|
24457
24570
|
colspan: columnCount.value,
|
|
24458
24571
|
style: (0, vue.normalizeStyle)({
|
|
24459
24572
|
height: `${paddingTop.value}px`,
|
|
24460
24573
|
padding: 0,
|
|
24461
24574
|
border: "none"
|
|
24462
24575
|
})
|
|
24463
|
-
}, null, 12, _hoisted_2$
|
|
24576
|
+
}, null, 12, _hoisted_2$11)])) : (0, vue.createCommentVNode)("", true),
|
|
24464
24577
|
((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(virtualItems.value, (vItem) => {
|
|
24465
24578
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
|
|
24466
24579
|
key: rows.value[vItem.index].id,
|
|
@@ -24483,7 +24596,7 @@ var TableVirtualBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24483
24596
|
render: cell.column.columnDef.cell,
|
|
24484
24597
|
props: cell.getContext()
|
|
24485
24598
|
}, null, 8, ["render", "props"])], 10, _hoisted_4$4);
|
|
24486
|
-
}), 128))], 42, _hoisted_3$
|
|
24599
|
+
}), 128))], 42, _hoisted_3$8);
|
|
24487
24600
|
}), 128)),
|
|
24488
24601
|
paddingBottom.value > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_5$3, [(0, vue.createElementVNode)("td", {
|
|
24489
24602
|
colspan: columnCount.value,
|
|
@@ -24558,7 +24671,7 @@ var TableCheckboxCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24558
24671
|
});
|
|
24559
24672
|
//#endregion
|
|
24560
24673
|
//#region src/components/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
24561
|
-
var _hoisted_1$
|
|
24674
|
+
var _hoisted_1$22 = [
|
|
24562
24675
|
"aria-label",
|
|
24563
24676
|
"aria-rowcount",
|
|
24564
24677
|
"aria-colcount"
|
|
@@ -24732,7 +24845,7 @@ var Table_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24732
24845
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "footer")]),
|
|
24733
24846
|
_: 3
|
|
24734
24847
|
})) : (0, vue.createCommentVNode)("", true)
|
|
24735
|
-
], 40, _hoisted_1$
|
|
24848
|
+
], 40, _hoisted_1$22)], 6)], 2);
|
|
24736
24849
|
};
|
|
24737
24850
|
}
|
|
24738
24851
|
});
|
|
@@ -24764,7 +24877,7 @@ var TableRow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24764
24877
|
});
|
|
24765
24878
|
//#endregion
|
|
24766
24879
|
//#region src/components/table/TableCell.vue?vue&type=script&setup=true&lang.ts
|
|
24767
|
-
var _hoisted_1$
|
|
24880
|
+
var _hoisted_1$21 = ["data-row-index", "data-col-index"];
|
|
24768
24881
|
//#endregion
|
|
24769
24882
|
//#region src/components/table/TableCell.vue
|
|
24770
24883
|
var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -24784,13 +24897,13 @@ var TableCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24784
24897
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.cell(), props.classNames?.cell)),
|
|
24785
24898
|
"data-row-index": __props.rowIndex,
|
|
24786
24899
|
"data-col-index": __props.columnIndex
|
|
24787
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
24900
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$21);
|
|
24788
24901
|
};
|
|
24789
24902
|
}
|
|
24790
24903
|
});
|
|
24791
24904
|
//#endregion
|
|
24792
24905
|
//#region src/components/table/TableHeaderCell.vue?vue&type=script&setup=true&lang.ts
|
|
24793
|
-
var _hoisted_1$
|
|
24906
|
+
var _hoisted_1$20 = ["data-col-index", "aria-sort"];
|
|
24794
24907
|
//#endregion
|
|
24795
24908
|
//#region src/components/table/TableHeaderCell.vue
|
|
24796
24909
|
var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -24810,7 +24923,7 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24810
24923
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.column(), props.classNames?.column)),
|
|
24811
24924
|
"data-col-index": __props.columnIndex,
|
|
24812
24925
|
"aria-sort": __props.sortDirection
|
|
24813
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$
|
|
24926
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_1$20);
|
|
24814
24927
|
};
|
|
24815
24928
|
}
|
|
24816
24929
|
});
|
|
@@ -24819,11 +24932,11 @@ var TableHeaderCell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24819
24932
|
var { useProvide: useAvatarGroupProvide, useInject: useAvatarGroupInject, key: avatarGroupContextKey } = createContext("AvatarGroup");
|
|
24820
24933
|
//#endregion
|
|
24821
24934
|
//#region src/components/avatar/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
24822
|
-
var _hoisted_1$
|
|
24935
|
+
var _hoisted_1$19 = {
|
|
24823
24936
|
key: 0,
|
|
24824
24937
|
class: /* @__PURE__ */ (0, vue.normalizeClass)("avatar__name text-xs font-medium leading-none")
|
|
24825
24938
|
};
|
|
24826
|
-
var _hoisted_2$
|
|
24939
|
+
var _hoisted_2$10 = {
|
|
24827
24940
|
key: 1,
|
|
24828
24941
|
class: "avatar__icon size-4/5",
|
|
24829
24942
|
"aria-hidden": "true",
|
|
@@ -24932,7 +25045,7 @@ var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24932
25045
|
"delay-ms": props.delayMs,
|
|
24933
25046
|
class: (0, vue.unref)(composeClassName)(slotFns.value.fallback(), props.classNames?.fallback)
|
|
24934
25047
|
}, props.src && !props.showFallback && props.delayMs === void 0 ? { "delay-ms": 600 } : {}), {
|
|
24935
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "fallback", {}, () => [initials.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$
|
|
25048
|
+
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$10, [..._cache[1] || (_cache[1] = [(0, vue.createElementVNode)("path", { d: "M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z" }, null, -1)])]))])]),
|
|
24936
25049
|
_: 3
|
|
24937
25050
|
}, 16, [
|
|
24938
25051
|
"as",
|
|
@@ -24953,7 +25066,7 @@ var Avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
24953
25066
|
});
|
|
24954
25067
|
//#endregion
|
|
24955
25068
|
//#region src/components/avatar/AvatarGroup.vue?vue&type=script&setup=true&lang.ts
|
|
24956
|
-
var _hoisted_1$
|
|
25069
|
+
var _hoisted_1$18 = { class: "avatar__name text-xs font-medium leading-none" };
|
|
24957
25070
|
//#endregion
|
|
24958
25071
|
//#region src/components/avatar/AvatarGroup.vue
|
|
24959
25072
|
var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25026,7 +25139,7 @@ var AvatarGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25026
25139
|
}, [props.avatars ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(visibleAvatars.value, (avatar, idx) => {
|
|
25027
25140
|
return (0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, (0, vue.mergeProps)({ key: idx }, { ref_for: true }, avatar), null, 16);
|
|
25028
25141
|
}), 128)), avatarOverflowCount.value > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)(Avatar_default, { key: 0 }, {
|
|
25029
|
-
fallback: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", _hoisted_1$
|
|
25142
|
+
fallback: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", _hoisted_1$18, (0, vue.toDisplayString)(avatarOverflowLabel.value), 1)]),
|
|
25030
25143
|
_: 1
|
|
25031
25144
|
})) : (0, vue.createCommentVNode)("", true)], 64)) : props.max !== void 0 ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(getSlicedNodes(), (node, _i) => {
|
|
25032
25145
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(node), { key: _i });
|
|
@@ -25277,7 +25390,7 @@ var SplitterResizeHandle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25277
25390
|
var stepperContextKey = Symbol("Stepper");
|
|
25278
25391
|
//#endregion
|
|
25279
25392
|
//#region src/components/stepper/StepperItem.vue?vue&type=script&setup=true&lang.ts
|
|
25280
|
-
var _hoisted_1$
|
|
25393
|
+
var _hoisted_1$17 = ["data-status", "data-step"];
|
|
25281
25394
|
//#endregion
|
|
25282
25395
|
//#region src/components/stepper/StepperItem.vue
|
|
25283
25396
|
var StepperItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25317,7 +25430,7 @@ var StepperItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25317
25430
|
isCurrent: status.value === "current",
|
|
25318
25431
|
isCompleted: status.value === "completed",
|
|
25319
25432
|
isError: status.value === "error"
|
|
25320
|
-
})], 10, _hoisted_1$
|
|
25433
|
+
})], 10, _hoisted_1$17);
|
|
25321
25434
|
};
|
|
25322
25435
|
}
|
|
25323
25436
|
});
|
|
@@ -25471,7 +25584,7 @@ var StepperContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25471
25584
|
});
|
|
25472
25585
|
//#endregion
|
|
25473
25586
|
//#region src/components/stepper/Stepper.vue?vue&type=script&setup=true&lang.ts
|
|
25474
|
-
var _hoisted_1$
|
|
25587
|
+
var _hoisted_1$16 = ["aria-label"];
|
|
25475
25588
|
//#endregion
|
|
25476
25589
|
//#region src/components/stepper/Stepper.vue
|
|
25477
25590
|
var Stepper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25557,7 +25670,7 @@ var Stepper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25557
25670
|
]),
|
|
25558
25671
|
_: 2
|
|
25559
25672
|
}, 1032, ["step"]);
|
|
25560
|
-
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$
|
|
25673
|
+
}), 128)) : (0, vue.renderSlot)(_ctx.$slots, "default", { key: 1 })], 10, _hoisted_1$16);
|
|
25561
25674
|
};
|
|
25562
25675
|
}
|
|
25563
25676
|
});
|
|
@@ -25662,7 +25775,7 @@ var Tree_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25662
25775
|
});
|
|
25663
25776
|
//#endregion
|
|
25664
25777
|
//#region src/components/tree/TreeItem.vue?vue&type=script&setup=true&lang.ts
|
|
25665
|
-
var _hoisted_1$
|
|
25778
|
+
var _hoisted_1$15 = ["data-selected", "data-expanded"];
|
|
25666
25779
|
//#endregion
|
|
25667
25780
|
//#region src/components/tree/TreeItem.vue
|
|
25668
25781
|
var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25719,7 +25832,7 @@ var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25719
25832
|
handleToggle: s.handleToggle,
|
|
25720
25833
|
toggleClass: slotFns.value.itemToggle(),
|
|
25721
25834
|
iconClass: slotFns.value.itemIcon()
|
|
25722
|
-
})], 14, _hoisted_1$
|
|
25835
|
+
})], 14, _hoisted_1$15)]),
|
|
25723
25836
|
_: 3
|
|
25724
25837
|
}, 8, [
|
|
25725
25838
|
"value",
|
|
@@ -25733,7 +25846,7 @@ var TreeItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25733
25846
|
});
|
|
25734
25847
|
//#endregion
|
|
25735
25848
|
//#region src/components/tree/TreeItemToggle.vue?vue&type=script&setup=true&lang.ts
|
|
25736
|
-
var _hoisted_1$
|
|
25849
|
+
var _hoisted_1$14 = ["data-expanded", "data-no-children"];
|
|
25737
25850
|
//#endregion
|
|
25738
25851
|
//#region src/components/tree/TreeItemToggle.vue
|
|
25739
25852
|
var TreeItemToggle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25779,18 +25892,18 @@ var TreeItemToggle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25779
25892
|
"stroke-linecap": "round",
|
|
25780
25893
|
"stroke-linejoin": "round",
|
|
25781
25894
|
"aria-hidden": "true"
|
|
25782
|
-
}, [(0, vue.createElementVNode)("path", { d: "m9 18 6-6-6-6" })], -1))])], 10, _hoisted_1$
|
|
25895
|
+
}, [(0, vue.createElementVNode)("path", { d: "m9 18 6-6-6-6" })], -1))])], 10, _hoisted_1$14);
|
|
25783
25896
|
};
|
|
25784
25897
|
}
|
|
25785
25898
|
});
|
|
25786
25899
|
//#endregion
|
|
25787
25900
|
//#region src/components/slider/Slider.vue?vue&type=script&setup=true&lang.ts
|
|
25788
|
-
var _hoisted_1$
|
|
25789
|
-
var _hoisted_2$
|
|
25901
|
+
var _hoisted_1$13 = ["data-orientation", "data-disabled"];
|
|
25902
|
+
var _hoisted_2$9 = {
|
|
25790
25903
|
key: 0,
|
|
25791
25904
|
"data-slot": "label"
|
|
25792
25905
|
};
|
|
25793
|
-
var _hoisted_3$
|
|
25906
|
+
var _hoisted_3$7 = { class: "relative flex items-center gap-2" };
|
|
25794
25907
|
//#endregion
|
|
25795
25908
|
//#region src/components/slider/Slider.vue
|
|
25796
25909
|
var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -25914,10 +26027,10 @@ var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25914
26027
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.base(), props.class, props.classNames?.base)),
|
|
25915
26028
|
"data-orientation": __props.orientation,
|
|
25916
26029
|
"data-disabled": __props.disabled || void 0
|
|
25917
|
-
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$
|
|
26030
|
+
}, [showLabelWrapper.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [__props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", _hoisted_2$9, (0, vue.toDisplayString)(__props.label), 1)) : (0, vue.createCommentVNode)("", true), !__props.hideValue ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("output", {
|
|
25918
26031
|
key: 1,
|
|
25919
26032
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.output(), props.classNames?.output))
|
|
25920
|
-
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$
|
|
26033
|
+
}, (0, vue.toDisplayString)(formatted.value), 3)) : (0, vue.createCommentVNode)("", true)], 64)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_3$7, [
|
|
25921
26034
|
(0, vue.renderSlot)(_ctx.$slots, "startContent"),
|
|
25922
26035
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.SliderRoot), {
|
|
25923
26036
|
modelValue: internalValue.value,
|
|
@@ -26010,13 +26123,13 @@ var Slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26010
26123
|
"data-orientation"
|
|
26011
26124
|
]),
|
|
26012
26125
|
(0, vue.renderSlot)(_ctx.$slots, "endContent")
|
|
26013
|
-
])], 10, _hoisted_1$
|
|
26126
|
+
])], 10, _hoisted_1$13);
|
|
26014
26127
|
};
|
|
26015
26128
|
}
|
|
26016
26129
|
});
|
|
26017
26130
|
//#endregion
|
|
26018
26131
|
//#region src/components/progress-bar/ProgressBar.vue?vue&type=script&setup=true&lang.ts
|
|
26019
|
-
var _hoisted_1$
|
|
26132
|
+
var _hoisted_1$12 = ["data-disabled"];
|
|
26020
26133
|
//#endregion
|
|
26021
26134
|
//#region src/components/progress-bar/ProgressBar.vue
|
|
26022
26135
|
var ProgressBar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -26138,14 +26251,14 @@ var ProgressBar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26138
26251
|
"get-value-text",
|
|
26139
26252
|
"class",
|
|
26140
26253
|
"aria-label"
|
|
26141
|
-
])], 14, _hoisted_1$
|
|
26254
|
+
])], 14, _hoisted_1$12);
|
|
26142
26255
|
};
|
|
26143
26256
|
}
|
|
26144
26257
|
});
|
|
26145
26258
|
//#endregion
|
|
26146
26259
|
//#region src/components/progress-circle/ProgressCircle.vue?vue&type=script&setup=true&lang.ts
|
|
26147
|
-
var _hoisted_1$
|
|
26148
|
-
var _hoisted_2$
|
|
26260
|
+
var _hoisted_1$11 = ["r", "stroke-width"];
|
|
26261
|
+
var _hoisted_2$8 = [
|
|
26149
26262
|
"r",
|
|
26150
26263
|
"stroke-width",
|
|
26151
26264
|
"stroke-dasharray",
|
|
@@ -26245,7 +26358,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26245
26358
|
r: radius.value,
|
|
26246
26359
|
"stroke-width": __props.strokeWidth,
|
|
26247
26360
|
fill: "none"
|
|
26248
|
-
}, null, 10, _hoisted_1$
|
|
26361
|
+
}, null, 10, _hoisted_1$11), (0, vue.createElementVNode)("circle", {
|
|
26249
26362
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.indicator(), props.classNames?.indicator)),
|
|
26250
26363
|
cx: "16",
|
|
26251
26364
|
cy: "16",
|
|
@@ -26257,7 +26370,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26257
26370
|
"stroke-dashoffset": offset.value,
|
|
26258
26371
|
transform: "rotate(-90 16 16)",
|
|
26259
26372
|
style: { "transition": "stroke-dashoffset 300ms ease-out" }
|
|
26260
|
-
}, null, 10, _hoisted_2$
|
|
26373
|
+
}, null, 10, _hoisted_2$8)], 2)), __props.showValueLabel || __props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
26261
26374
|
key: 0,
|
|
26262
26375
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.value(), props.classNames?.value))
|
|
26263
26376
|
}, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(formattedValue.value), 1)])], 2)) : (0, vue.createCommentVNode)("", true)]),
|
|
@@ -26278,7 +26391,7 @@ var ProgressCircle_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26278
26391
|
});
|
|
26279
26392
|
//#endregion
|
|
26280
26393
|
//#region src/components/meter/Meter.vue?vue&type=script&setup=true&lang.ts
|
|
26281
|
-
var _hoisted_1$
|
|
26394
|
+
var _hoisted_1$10 = [
|
|
26282
26395
|
"aria-valuenow",
|
|
26283
26396
|
"aria-valuemin",
|
|
26284
26397
|
"aria-valuemax",
|
|
@@ -26348,14 +26461,14 @@ var Meter_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26348
26461
|
}, [(0, vue.createElementVNode)("div", {
|
|
26349
26462
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.fill(), props.classNames?.fill)),
|
|
26350
26463
|
style: (0, vue.normalizeStyle)({ width: percentage.value + "%" })
|
|
26351
|
-
}, null, 6)], 10, _hoisted_1$
|
|
26464
|
+
}, null, 6)], 10, _hoisted_1$10)
|
|
26352
26465
|
], 2);
|
|
26353
26466
|
};
|
|
26354
26467
|
}
|
|
26355
26468
|
});
|
|
26356
26469
|
//#endregion
|
|
26357
26470
|
//#region src/components/scroll-shadow/ScrollShadow.vue?vue&type=script&setup=true&lang.ts
|
|
26358
|
-
var _hoisted_1$
|
|
26471
|
+
var _hoisted_1$9 = [
|
|
26359
26472
|
"data-orientation",
|
|
26360
26473
|
"data-top-scroll",
|
|
26361
26474
|
"data-bottom-scroll",
|
|
@@ -26407,7 +26520,7 @@ var ScrollShadow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
26407
26520
|
"data-left-scroll": leftScroll.value ? "true" : void 0,
|
|
26408
26521
|
"data-right-scroll": rightScroll.value ? "true" : void 0,
|
|
26409
26522
|
style: (0, vue.normalizeStyle)({ "--scroll-shadow-size": __props.size + "px" })
|
|
26410
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 14, _hoisted_1$
|
|
26523
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 14, _hoisted_1$9);
|
|
26411
26524
|
};
|
|
26412
26525
|
}
|
|
26413
26526
|
});
|
|
@@ -27323,9 +27436,9 @@ var CalendarYearPicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27323
27436
|
});
|
|
27324
27437
|
//#endregion
|
|
27325
27438
|
//#region src/components/calendar/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
27326
|
-
var _hoisted_1$
|
|
27327
|
-
var _hoisted_2$
|
|
27328
|
-
var _hoisted_3$
|
|
27439
|
+
var _hoisted_1$8 = ["aria-label"];
|
|
27440
|
+
var _hoisted_2$7 = ["aria-label"];
|
|
27441
|
+
var _hoisted_3$6 = ["aria-label"];
|
|
27329
27442
|
//#endregion
|
|
27330
27443
|
//#region src/components/calendar/Calendar.vue
|
|
27331
27444
|
var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -27469,7 +27582,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27469
27582
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
27470
27583
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
27471
27584
|
onClick: cycleView
|
|
27472
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$
|
|
27585
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$8)]),
|
|
27473
27586
|
_: 1
|
|
27474
27587
|
}, 8, ["class"]),
|
|
27475
27588
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.CalendarNext), {
|
|
@@ -27624,7 +27737,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27624
27737
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
27625
27738
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
27626
27739
|
onClick: cycleView
|
|
27627
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
27740
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$7)]),
|
|
27628
27741
|
_: 1
|
|
27629
27742
|
}, 8, ["class"]),
|
|
27630
27743
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -27711,7 +27824,7 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27711
27824
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
27712
27825
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
27713
27826
|
onClick: cycleView
|
|
27714
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$
|
|
27827
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$6)]),
|
|
27715
27828
|
_: 1
|
|
27716
27829
|
}, 8, [
|
|
27717
27830
|
"placeholder",
|
|
@@ -27728,9 +27841,9 @@ var Calendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27728
27841
|
});
|
|
27729
27842
|
//#endregion
|
|
27730
27843
|
//#region src/components/range-calendar/RangeCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
27731
|
-
var _hoisted_1$
|
|
27732
|
-
var _hoisted_2$
|
|
27733
|
-
var _hoisted_3$
|
|
27844
|
+
var _hoisted_1$7 = ["aria-label"];
|
|
27845
|
+
var _hoisted_2$6 = ["aria-label"];
|
|
27846
|
+
var _hoisted_3$5 = ["aria-label"];
|
|
27734
27847
|
//#endregion
|
|
27735
27848
|
//#region src/components/range-calendar/RangeCalendar.vue
|
|
27736
27849
|
var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -27884,7 +27997,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
27884
27997
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
27885
27998
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
27886
27999
|
onClick: cycleView
|
|
27887
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$
|
|
28000
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_1$7)]),
|
|
27888
28001
|
_: 1
|
|
27889
28002
|
}, 8, ["class"]),
|
|
27890
28003
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.RangeCalendarNext), {
|
|
@@ -28033,7 +28146,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28033
28146
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
28034
28147
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
28035
28148
|
onClick: cycleView
|
|
28036
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$
|
|
28149
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_2$6)]),
|
|
28037
28150
|
_: 1
|
|
28038
28151
|
}, 8, ["class"]),
|
|
28039
28152
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.MonthPickerNext), {
|
|
@@ -28135,7 +28248,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28135
28248
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.headingButton(), props.classNames?.headingButton)),
|
|
28136
28249
|
"aria-label": `Switch to ${nextViewLabel.value} view`,
|
|
28137
28250
|
onClick: cycleView
|
|
28138
|
-
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$
|
|
28251
|
+
}, (0, vue.toDisplayString)(headingValue), 11, _hoisted_3$5)]),
|
|
28139
28252
|
_: 1
|
|
28140
28253
|
}, 8, ["class"]),
|
|
28141
28254
|
(0, vue.createVNode)((0, vue.unref)(reka_ui.YearPickerNext), {
|
|
@@ -28202,7 +28315,7 @@ var RangeCalendar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28202
28315
|
});
|
|
28203
28316
|
//#endregion
|
|
28204
28317
|
//#region src/components/date-input/DateInput.vue?vue&type=script&setup=true&lang.ts
|
|
28205
|
-
var _hoisted_1$
|
|
28318
|
+
var _hoisted_1$6 = [
|
|
28206
28319
|
"data-invalid",
|
|
28207
28320
|
"data-disabled",
|
|
28208
28321
|
"data-readonly",
|
|
@@ -28210,8 +28323,8 @@ var _hoisted_1$7 = [
|
|
|
28210
28323
|
"data-has-label",
|
|
28211
28324
|
"data-has-helper"
|
|
28212
28325
|
];
|
|
28213
|
-
var _hoisted_2$
|
|
28214
|
-
var _hoisted_3$
|
|
28326
|
+
var _hoisted_2$5 = ["id", "for"];
|
|
28327
|
+
var _hoisted_3$4 = {
|
|
28215
28328
|
key: 0,
|
|
28216
28329
|
"aria-hidden": "true"
|
|
28217
28330
|
};
|
|
@@ -28429,7 +28542,7 @@ var DateInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28429
28542
|
id: labelId.value,
|
|
28430
28543
|
for: fieldId.value,
|
|
28431
28544
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
28432
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
28545
|
+
}, [(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)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.DateFieldRoot), {
|
|
28433
28546
|
id: fieldId.value,
|
|
28434
28547
|
ref_key: "fieldRef",
|
|
28435
28548
|
ref: fieldRef,
|
|
@@ -28540,13 +28653,13 @@ var DateInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28540
28653
|
key: 1,
|
|
28541
28654
|
id: descriptionId.value,
|
|
28542
28655
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
28543
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$2)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
28656
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$2)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$6);
|
|
28544
28657
|
};
|
|
28545
28658
|
}
|
|
28546
28659
|
});
|
|
28547
28660
|
//#endregion
|
|
28548
28661
|
//#region src/components/date-range-field/DateRangeField.vue?vue&type=script&setup=true&lang.ts
|
|
28549
|
-
var _hoisted_1$
|
|
28662
|
+
var _hoisted_1$5 = [
|
|
28550
28663
|
"data-invalid",
|
|
28551
28664
|
"data-disabled",
|
|
28552
28665
|
"data-readonly",
|
|
@@ -28554,8 +28667,8 @@ var _hoisted_1$6 = [
|
|
|
28554
28667
|
"data-has-label",
|
|
28555
28668
|
"data-has-helper"
|
|
28556
28669
|
];
|
|
28557
|
-
var _hoisted_2$
|
|
28558
|
-
var _hoisted_3$
|
|
28670
|
+
var _hoisted_2$4 = ["id", "for"];
|
|
28671
|
+
var _hoisted_3$3 = {
|
|
28559
28672
|
key: 0,
|
|
28560
28673
|
"aria-hidden": "true"
|
|
28561
28674
|
};
|
|
@@ -28768,7 +28881,7 @@ var DateRangeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28768
28881
|
id: labelId.value,
|
|
28769
28882
|
for: fieldId.value,
|
|
28770
28883
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
28771
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
28884
|
+
}, [(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)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.DateRangeFieldRoot), {
|
|
28772
28885
|
id: fieldId.value,
|
|
28773
28886
|
ref_key: "fieldRef",
|
|
28774
28887
|
ref: fieldRef,
|
|
@@ -28901,13 +29014,13 @@ var DateRangeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
28901
29014
|
key: 1,
|
|
28902
29015
|
id: descriptionId.value,
|
|
28903
29016
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
28904
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$1)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
29017
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7$1)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$5);
|
|
28905
29018
|
};
|
|
28906
29019
|
}
|
|
28907
29020
|
});
|
|
28908
29021
|
//#endregion
|
|
28909
29022
|
//#region src/components/time-field/TimeField.vue?vue&type=script&setup=true&lang.ts
|
|
28910
|
-
var _hoisted_1$
|
|
29023
|
+
var _hoisted_1$4 = [
|
|
28911
29024
|
"data-invalid",
|
|
28912
29025
|
"data-disabled",
|
|
28913
29026
|
"data-readonly",
|
|
@@ -28915,8 +29028,8 @@ var _hoisted_1$5 = [
|
|
|
28915
29028
|
"data-has-label",
|
|
28916
29029
|
"data-has-helper"
|
|
28917
29030
|
];
|
|
28918
|
-
var _hoisted_2$
|
|
28919
|
-
var _hoisted_3$
|
|
29031
|
+
var _hoisted_2$3 = ["id", "for"];
|
|
29032
|
+
var _hoisted_3$2 = {
|
|
28920
29033
|
key: 0,
|
|
28921
29034
|
"aria-hidden": "true"
|
|
28922
29035
|
};
|
|
@@ -29129,7 +29242,7 @@ var TimeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29129
29242
|
id: labelId.value,
|
|
29130
29243
|
for: fieldId.value,
|
|
29131
29244
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.label(), props.classNames?.label))
|
|
29132
|
-
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
29245
|
+
}, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.label), 1), __props.isRequired ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$2, " *")) : (0, vue.createCommentVNode)("", true)], 10, _hoisted_2$3)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.mainWrapper(), props.classNames?.mainWrapper)) }, [(0, vue.createVNode)((0, vue.unref)(reka_ui.TimeFieldRoot), {
|
|
29133
29246
|
id: fieldId.value,
|
|
29134
29247
|
ref_key: "fieldRef",
|
|
29135
29248
|
ref: fieldRef,
|
|
@@ -29240,7 +29353,7 @@ var TimeField_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
29240
29353
|
key: 1,
|
|
29241
29354
|
id: descriptionId.value,
|
|
29242
29355
|
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.description(), props.classNames?.description))
|
|
29243
|
-
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$
|
|
29356
|
+
}, (0, vue.toDisplayString)(__props.description), 11, _hoisted_7)) : (0, vue.createCommentVNode)("", true)], 2)) : (0, vue.createCommentVNode)("", true)], 2)], 10, _hoisted_1$4);
|
|
29244
29357
|
};
|
|
29245
29358
|
}
|
|
29246
29359
|
});
|
|
@@ -30050,12 +30163,13 @@ var DateRangePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30050
30163
|
});
|
|
30051
30164
|
//#endregion
|
|
30052
30165
|
//#region src/components/date-time-picker/DateTimePickerTimeScroller.vue?vue&type=script&setup=true&lang.ts
|
|
30053
|
-
var _hoisted_1$
|
|
30054
|
-
var _hoisted_2$
|
|
30166
|
+
var _hoisted_1$3 = ["aria-label", "onScrollPassive"];
|
|
30167
|
+
var _hoisted_2$2 = [
|
|
30055
30168
|
"data-selected",
|
|
30056
30169
|
"aria-selected",
|
|
30057
30170
|
"onClick"
|
|
30058
30171
|
];
|
|
30172
|
+
var REPEAT = 3;
|
|
30059
30173
|
var ITEM_H = 40;
|
|
30060
30174
|
//#endregion
|
|
30061
30175
|
//#region src/components/date-time-picker/DateTimePickerTimeScroller.vue
|
|
@@ -30080,51 +30194,62 @@ var DateTimePickerTimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent
|
|
|
30080
30194
|
const columns = (0, vue.computed)(() => {
|
|
30081
30195
|
const cols = [{
|
|
30082
30196
|
key: "hour",
|
|
30083
|
-
items: hourItems.value
|
|
30197
|
+
items: hourItems.value,
|
|
30198
|
+
loop: true
|
|
30084
30199
|
}, {
|
|
30085
30200
|
key: "minute",
|
|
30086
|
-
items: minutes
|
|
30201
|
+
items: minutes,
|
|
30202
|
+
loop: true
|
|
30087
30203
|
}];
|
|
30088
30204
|
if (props.granularity === "second") cols.push({
|
|
30089
30205
|
key: "second",
|
|
30090
|
-
items: seconds
|
|
30206
|
+
items: seconds,
|
|
30207
|
+
loop: true
|
|
30091
30208
|
});
|
|
30092
30209
|
if (props.hourCycle === 12) cols.push({
|
|
30093
30210
|
key: "ampm",
|
|
30094
|
-
items: ampm
|
|
30211
|
+
items: ampm,
|
|
30212
|
+
loop: false
|
|
30095
30213
|
});
|
|
30096
30214
|
return cols;
|
|
30097
30215
|
});
|
|
30098
|
-
function currentIndexFor(key) {
|
|
30099
|
-
const v = props.modelValue;
|
|
30100
|
-
if (key === "hour") {
|
|
30101
|
-
if (props.hourCycle === 12) {
|
|
30102
|
-
const h12 = v.hour % 12 === 0 ? 12 : v.hour % 12;
|
|
30103
|
-
return hours12.indexOf(h12);
|
|
30104
|
-
}
|
|
30105
|
-
return v.hour;
|
|
30106
|
-
}
|
|
30107
|
-
if (key === "minute") return v.minute;
|
|
30108
|
-
if (key === "second") return v.second ?? 0;
|
|
30109
|
-
if (key === "ampm") return v.hour >= 12 ? 1 : 0;
|
|
30110
|
-
return 0;
|
|
30111
|
-
}
|
|
30112
30216
|
const columnRefs = (0, vue.ref)([]);
|
|
30113
|
-
function
|
|
30114
|
-
|
|
30217
|
+
function renderItems(col) {
|
|
30218
|
+
if (!col.loop) return col.items;
|
|
30219
|
+
const out = [];
|
|
30220
|
+
for (let r = 0; r < REPEAT; r++) out.push(...col.items);
|
|
30221
|
+
return out;
|
|
30222
|
+
}
|
|
30223
|
+
function cycleHeight(col) {
|
|
30224
|
+
return col.items.length * ITEM_H;
|
|
30225
|
+
}
|
|
30226
|
+
function onColumnScroll(i, colEl) {
|
|
30227
|
+
const col = columns.value[i];
|
|
30228
|
+
if (!col.loop) return;
|
|
30229
|
+
const cycle = cycleHeight(col);
|
|
30230
|
+
const total = cycle * REPEAT;
|
|
30231
|
+
const recenter = (REPEAT - 2) * cycle;
|
|
30232
|
+
if (colEl.scrollTop < cycle) colEl.scrollTop += recenter;
|
|
30233
|
+
else if (colEl.scrollTop >= total - cycle) colEl.scrollTop -= recenter;
|
|
30115
30234
|
}
|
|
30116
|
-
|
|
30235
|
+
(0, vue.onMounted)(() => {
|
|
30117
30236
|
columns.value.forEach((col, i) => {
|
|
30118
30237
|
const el = columnRefs.value[i];
|
|
30119
|
-
if (el)
|
|
30238
|
+
if (el && col.loop) el.scrollTop = cycleHeight(col) * Math.floor(REPEAT / 2);
|
|
30120
30239
|
});
|
|
30240
|
+
});
|
|
30241
|
+
function isSelected(key, item) {
|
|
30242
|
+
const v = props.modelValue;
|
|
30243
|
+
if (key === "hour") {
|
|
30244
|
+
if (props.hourCycle === 12) return item === (v.hour % 12 === 0 ? 12 : v.hour % 12);
|
|
30245
|
+
return item === v.hour;
|
|
30246
|
+
}
|
|
30247
|
+
if (key === "minute") return item === v.minute;
|
|
30248
|
+
if (key === "second") return item === (v.second ?? 0);
|
|
30249
|
+
if (key === "ampm") return item === (v.hour >= 12 ? "PM" : "AM");
|
|
30250
|
+
return false;
|
|
30121
30251
|
}
|
|
30122
|
-
(
|
|
30123
|
-
(0, vue.watch)(() => props.modelValue, () => (0, vue.nextTick)(syncScrollPositions));
|
|
30124
|
-
function onColumnScroll(key, colEl) {
|
|
30125
|
-
const idx = Math.round(colEl.scrollTop / ITEM_H);
|
|
30126
|
-
const item = columns.value.find((c) => c.key === key).items[idx];
|
|
30127
|
-
if (item === void 0) return;
|
|
30252
|
+
function onItemClick(key, item) {
|
|
30128
30253
|
const v = props.modelValue;
|
|
30129
30254
|
if (key === "hour") {
|
|
30130
30255
|
let newHour;
|
|
@@ -30141,35 +30266,19 @@ var DateTimePickerTimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent
|
|
|
30141
30266
|
if (isPm !== v.hour >= 12) emit("update:modelValue", v.set({ hour: isPm ? v.hour + 12 : v.hour - 12 }));
|
|
30142
30267
|
}
|
|
30143
30268
|
}
|
|
30144
|
-
function onKeyDown(e, colEl) {
|
|
30145
|
-
if (e.key === "ArrowDown") {
|
|
30146
|
-
e.preventDefault();
|
|
30147
|
-
colEl.scrollTop += ITEM_H;
|
|
30148
|
-
} else if (e.key === "ArrowUp") {
|
|
30149
|
-
e.preventDefault();
|
|
30150
|
-
colEl.scrollTop -= ITEM_H;
|
|
30151
|
-
}
|
|
30152
|
-
}
|
|
30153
|
-
function onItemClick(colEl, idx) {
|
|
30154
|
-
colEl.scrollTo({
|
|
30155
|
-
top: idx * ITEM_H,
|
|
30156
|
-
behavior: "smooth"
|
|
30157
|
-
});
|
|
30158
|
-
}
|
|
30159
30269
|
function columnLabel(key) {
|
|
30160
30270
|
if (key === "hour") return "Hour";
|
|
30161
30271
|
if (key === "minute") return "Minute";
|
|
30162
30272
|
if (key === "second") return "Second";
|
|
30163
30273
|
return "AM/PM";
|
|
30164
30274
|
}
|
|
30165
|
-
function itemLabel(
|
|
30275
|
+
function itemLabel(item) {
|
|
30166
30276
|
if (typeof item === "string") return item;
|
|
30167
30277
|
return String(item).padStart(2, "0");
|
|
30168
30278
|
}
|
|
30169
30279
|
__expose({
|
|
30170
30280
|
columnRefs,
|
|
30171
|
-
columns
|
|
30172
|
-
currentIndexFor
|
|
30281
|
+
columns
|
|
30173
30282
|
});
|
|
30174
30283
|
return (_ctx, _cache) => {
|
|
30175
30284
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
@@ -30187,39 +30296,22 @@ var DateTimePickerTimeScroller_default = /* @__PURE__ */ (0, vue.defineComponent
|
|
|
30187
30296
|
"data-slot": "scroller-column",
|
|
30188
30297
|
role: "listbox",
|
|
30189
30298
|
tabindex: "0",
|
|
30190
|
-
onScrollPassive: ($event) => onColumnScroll(
|
|
30191
|
-
|
|
30192
|
-
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(col.items, (item, idx) => {
|
|
30299
|
+
onScrollPassive: ($event) => onColumnScroll(i, $event.currentTarget)
|
|
30300
|
+
}, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(renderItems(col), (item, idx) => {
|
|
30193
30301
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
30194
30302
|
key: idx,
|
|
30195
30303
|
class: "date-time-picker__scroller-item",
|
|
30196
|
-
"data-selected":
|
|
30197
|
-
"aria-selected":
|
|
30304
|
+
"data-selected": isSelected(col.key, item) ? "true" : void 0,
|
|
30305
|
+
"aria-selected": isSelected(col.key, item),
|
|
30198
30306
|
role: "option",
|
|
30199
|
-
onClick: ($event) => onItemClick(
|
|
30200
|
-
}, (0, vue.toDisplayString)(itemLabel(
|
|
30201
|
-
}), 128))], 40, _hoisted_1$
|
|
30307
|
+
onClick: ($event) => onItemClick(col.key, item)
|
|
30308
|
+
}, (0, vue.toDisplayString)(itemLabel(item)), 9, _hoisted_2$2);
|
|
30309
|
+
}), 128))], 40, _hoisted_1$3);
|
|
30202
30310
|
}), 128))], 2);
|
|
30203
30311
|
};
|
|
30204
30312
|
}
|
|
30205
30313
|
});
|
|
30206
30314
|
//#endregion
|
|
30207
|
-
//#region src/components/date-time-picker/DateTimePicker.vue?vue&type=script&setup=true&lang.ts
|
|
30208
|
-
var _hoisted_1$3 = ["data-hidden"];
|
|
30209
|
-
var _hoisted_2$2 = ["aria-label"];
|
|
30210
|
-
var _hoisted_3$2 = {
|
|
30211
|
-
key: 1,
|
|
30212
|
-
width: "14",
|
|
30213
|
-
height: "14",
|
|
30214
|
-
viewBox: "0 0 24 24",
|
|
30215
|
-
fill: "none",
|
|
30216
|
-
stroke: "currentColor",
|
|
30217
|
-
"stroke-width": "2.5",
|
|
30218
|
-
"stroke-linecap": "round",
|
|
30219
|
-
"stroke-linejoin": "round",
|
|
30220
|
-
"aria-hidden": "true"
|
|
30221
|
-
};
|
|
30222
|
-
//#endregion
|
|
30223
30315
|
//#region src/components/date-time-picker/DateTimePicker.vue
|
|
30224
30316
|
var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
30225
30317
|
inheritAttrs: false,
|
|
@@ -30275,6 +30367,7 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30275
30367
|
type: Boolean,
|
|
30276
30368
|
default: true
|
|
30277
30369
|
},
|
|
30370
|
+
doneLabel: { default: "Done" },
|
|
30278
30371
|
locale: {},
|
|
30279
30372
|
defaultValue: {},
|
|
30280
30373
|
defaultPlaceholder: {},
|
|
@@ -30342,11 +30435,6 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30342
30435
|
const emit = __emit;
|
|
30343
30436
|
const modelValue = (0, vue.useModel)(__props, "modelValue");
|
|
30344
30437
|
const openModel = (0, vue.useModel)(__props, "open");
|
|
30345
|
-
const STEP_TITLES = {
|
|
30346
|
-
date: "Pick a date",
|
|
30347
|
-
time: "Pick a time"
|
|
30348
|
-
};
|
|
30349
|
-
const STEP_ORDER = ["date", "time"];
|
|
30350
30438
|
if (props.defaultOpen && openModel.value === void 0) openModel.value = true;
|
|
30351
30439
|
if (modelValue.value == null && props.defaultValue != null) modelValue.value = props.defaultValue;
|
|
30352
30440
|
const _today = $ad063034c8620db8$export$d0bdf45af03a6ea3($ad063034c8620db8$export$aa8b41735afcabd2());
|
|
@@ -30359,37 +30447,6 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30359
30447
|
internalValue.value = v;
|
|
30360
30448
|
modelValue.value = v;
|
|
30361
30449
|
}
|
|
30362
|
-
const activeStep = (0, vue.ref)("date");
|
|
30363
|
-
const direction = (0, vue.ref)(1);
|
|
30364
|
-
(0, vue.watch)(openModel, (open) => {
|
|
30365
|
-
if (open) activeStep.value = "date";
|
|
30366
|
-
});
|
|
30367
|
-
function goTo(step) {
|
|
30368
|
-
const from = STEP_ORDER.indexOf(activeStep.value);
|
|
30369
|
-
direction.value = STEP_ORDER.indexOf(step) > from ? 1 : -1;
|
|
30370
|
-
activeStep.value = step;
|
|
30371
|
-
}
|
|
30372
|
-
function goBack() {
|
|
30373
|
-
const idx = STEP_ORDER.indexOf(activeStep.value);
|
|
30374
|
-
if (idx > 0) goTo(STEP_ORDER[idx - 1]);
|
|
30375
|
-
}
|
|
30376
|
-
function goForward() {
|
|
30377
|
-
const idx = STEP_ORDER.indexOf(activeStep.value);
|
|
30378
|
-
if (idx < STEP_ORDER.length - 1) goTo(STEP_ORDER[idx + 1]);
|
|
30379
|
-
else if (props.closeOnSelect) openModel.value = false;
|
|
30380
|
-
}
|
|
30381
|
-
const panelInitial = (0, vue.computed)(() => ({
|
|
30382
|
-
x: direction.value > 0 ? "100%" : "-100%",
|
|
30383
|
-
opacity: 0
|
|
30384
|
-
}));
|
|
30385
|
-
const panelAnimate = {
|
|
30386
|
-
x: "0%",
|
|
30387
|
-
opacity: 1
|
|
30388
|
-
};
|
|
30389
|
-
const panelExit = (0, vue.computed)(() => ({
|
|
30390
|
-
x: direction.value > 0 ? "-100%" : "100%",
|
|
30391
|
-
opacity: 0
|
|
30392
|
-
}));
|
|
30393
30450
|
const calendarValue = (0, vue.computed)({
|
|
30394
30451
|
get: () => $d07e34cce18680fd$export$93522d1a439f3617(internalValue.value),
|
|
30395
30452
|
set: (val) => {
|
|
@@ -30400,7 +30457,6 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30400
30457
|
day: val.day
|
|
30401
30458
|
});
|
|
30402
30459
|
modelValue.value = internalValue.value;
|
|
30403
|
-
goTo("time");
|
|
30404
30460
|
}
|
|
30405
30461
|
});
|
|
30406
30462
|
function onTimeUpdate(val) {
|
|
@@ -30415,9 +30471,9 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30415
30471
|
return (_ctx, _cache) => {
|
|
30416
30472
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.DatePickerRoot), {
|
|
30417
30473
|
modelValue: modelValue.value,
|
|
30418
|
-
"onUpdate:modelValue": _cache[
|
|
30474
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => modelValue.value = $event),
|
|
30419
30475
|
open: openModel.value,
|
|
30420
|
-
"onUpdate:open": _cache[
|
|
30476
|
+
"onUpdate:open": _cache[10] || (_cache[10] = ($event) => openModel.value = $event),
|
|
30421
30477
|
"default-value": __props.defaultValue,
|
|
30422
30478
|
"default-open": __props.defaultOpen,
|
|
30423
30479
|
"default-placeholder": __props.defaultPlaceholder,
|
|
@@ -30488,7 +30544,7 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30488
30544
|
"stroke-linejoin": "round",
|
|
30489
30545
|
"aria-hidden": "true",
|
|
30490
30546
|
focusable: "false"
|
|
30491
|
-
}, [..._cache[
|
|
30547
|
+
}, [..._cache[11] || (_cache[11] = [
|
|
30492
30548
|
(0, vue.createElementVNode)("rect", {
|
|
30493
30549
|
x: "3",
|
|
30494
30550
|
y: "4",
|
|
@@ -30569,104 +30625,75 @@ var DateTimePicker_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
30569
30625
|
as: __props.contentAs,
|
|
30570
30626
|
"as-child": __props.contentAsChild,
|
|
30571
30627
|
"disable-outside-pointer-events": __props.disableOutsidePointerEvents,
|
|
30572
|
-
onEscapeKeyDown: _cache[
|
|
30573
|
-
onPointerDownOutside: _cache[
|
|
30574
|
-
onFocusOutside: _cache[
|
|
30575
|
-
onInteractOutside: _cache[
|
|
30576
|
-
onOpenAutoFocus: _cache[
|
|
30577
|
-
onCloseAutoFocus: _cache[
|
|
30628
|
+
onEscapeKeyDown: _cache[3] || (_cache[3] = ($event) => emit("escape-key-down", $event)),
|
|
30629
|
+
onPointerDownOutside: _cache[4] || (_cache[4] = ($event) => emit("pointer-down-outside", $event)),
|
|
30630
|
+
onFocusOutside: _cache[5] || (_cache[5] = ($event) => emit("focus-outside", $event)),
|
|
30631
|
+
onInteractOutside: _cache[6] || (_cache[6] = ($event) => emit("interact-outside", $event)),
|
|
30632
|
+
onOpenAutoFocus: _cache[7] || (_cache[7] = ($event) => emit("open-auto-focus", $event)),
|
|
30633
|
+
onCloseAutoFocus: _cache[8] || (_cache[8] = ($event) => emit("close-auto-focus", $event))
|
|
30578
30634
|
}, {
|
|
30579
30635
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", {
|
|
30580
|
-
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.
|
|
30581
|
-
"data-slot": "
|
|
30636
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.panel(), props.classNames?.panel)),
|
|
30637
|
+
"data-slot": "panel"
|
|
30582
30638
|
}, [
|
|
30583
|
-
(0, vue.createElementVNode)("
|
|
30584
|
-
|
|
30585
|
-
|
|
30586
|
-
|
|
30587
|
-
|
|
30588
|
-
"
|
|
30589
|
-
|
|
30590
|
-
|
|
30591
|
-
|
|
30592
|
-
|
|
30593
|
-
|
|
30594
|
-
|
|
30595
|
-
|
|
30596
|
-
|
|
30597
|
-
|
|
30598
|
-
"
|
|
30639
|
+
(0, vue.createElementVNode)("div", {
|
|
30640
|
+
class: (0, vue.normalizeClass)(slotFns.value.calendarPane()),
|
|
30641
|
+
"data-slot": "calendar-pane"
|
|
30642
|
+
}, [(0, vue.createVNode)(Calendar_default, {
|
|
30643
|
+
modelValue: calendarValue.value,
|
|
30644
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => calendarValue.value = $event),
|
|
30645
|
+
"default-value": __props.defaultValue,
|
|
30646
|
+
"min-value": __props.minValue,
|
|
30647
|
+
"max-value": __props.maxValue,
|
|
30648
|
+
"is-date-disabled": __props.isDateDisabled,
|
|
30649
|
+
"is-date-unavailable": __props.isDateUnavailable,
|
|
30650
|
+
locale: __props.locale,
|
|
30651
|
+
readonly: __props.isReadOnly,
|
|
30652
|
+
disabled: __props.isDisabled
|
|
30653
|
+
}, null, 8, [
|
|
30654
|
+
"modelValue",
|
|
30655
|
+
"default-value",
|
|
30656
|
+
"min-value",
|
|
30657
|
+
"max-value",
|
|
30658
|
+
"is-date-disabled",
|
|
30659
|
+
"is-date-unavailable",
|
|
30660
|
+
"locale",
|
|
30661
|
+
"readonly",
|
|
30662
|
+
"disabled"
|
|
30663
|
+
])], 2),
|
|
30664
|
+
(0, vue.createElementVNode)("div", {
|
|
30665
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(composeClassName)(slotFns.value.divider(), props.classNames?.divider)),
|
|
30666
|
+
"data-slot": "divider",
|
|
30599
30667
|
"aria-hidden": "true"
|
|
30600
|
-
},
|
|
30601
|
-
(0, vue.createElementVNode)("
|
|
30602
|
-
|
|
30603
|
-
|
|
30604
|
-
|
|
30605
|
-
"
|
|
30606
|
-
|
|
30607
|
-
|
|
30608
|
-
|
|
30609
|
-
|
|
30610
|
-
|
|
30611
|
-
|
|
30612
|
-
|
|
30613
|
-
|
|
30614
|
-
|
|
30615
|
-
|
|
30616
|
-
|
|
30617
|
-
|
|
30618
|
-
|
|
30619
|
-
|
|
30620
|
-
|
|
30621
|
-
|
|
30622
|
-
|
|
30623
|
-
"data-slot": "calendar-panel"
|
|
30668
|
+
}, null, 2),
|
|
30669
|
+
(0, vue.createElementVNode)("div", {
|
|
30670
|
+
class: (0, vue.normalizeClass)(slotFns.value.timePane()),
|
|
30671
|
+
"data-slot": "time-pane"
|
|
30672
|
+
}, [(0, vue.createVNode)(DateTimePickerTimeScroller_default, {
|
|
30673
|
+
"model-value": internalValue.value,
|
|
30674
|
+
granularity: __props.granularity,
|
|
30675
|
+
"hour-cycle": __props.hourCycle,
|
|
30676
|
+
"onUpdate:modelValue": onTimeUpdate
|
|
30677
|
+
}, null, 8, [
|
|
30678
|
+
"model-value",
|
|
30679
|
+
"granularity",
|
|
30680
|
+
"hour-cycle"
|
|
30681
|
+
]), (0, vue.createElementVNode)("div", {
|
|
30682
|
+
class: (0, vue.normalizeClass)(slotFns.value.timeDone()),
|
|
30683
|
+
"data-slot": "time-done"
|
|
30684
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "footer", { close: () => {
|
|
30685
|
+
openModel.value = false;
|
|
30686
|
+
} }, () => [(0, vue.createVNode)(Button_default, {
|
|
30687
|
+
size: "sm",
|
|
30688
|
+
color: "primary",
|
|
30689
|
+
"data-slot": "done-button",
|
|
30690
|
+
onClick: _cache[2] || (_cache[2] = ($event) => openModel.value = false)
|
|
30624
30691
|
}, {
|
|
30625
|
-
default: (0, vue.withCtx)(() => [(0, vue.
|
|
30626
|
-
modelValue: calendarValue.value,
|
|
30627
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => calendarValue.value = $event),
|
|
30628
|
-
"default-value": __props.defaultValue,
|
|
30629
|
-
"min-value": __props.minValue,
|
|
30630
|
-
"max-value": __props.maxValue,
|
|
30631
|
-
"is-date-disabled": __props.isDateDisabled,
|
|
30632
|
-
"is-date-unavailable": __props.isDateUnavailable,
|
|
30633
|
-
locale: __props.locale,
|
|
30634
|
-
readonly: __props.isReadOnly,
|
|
30635
|
-
disabled: __props.isDisabled
|
|
30636
|
-
}, null, 8, [
|
|
30637
|
-
"modelValue",
|
|
30638
|
-
"default-value",
|
|
30639
|
-
"min-value",
|
|
30640
|
-
"max-value",
|
|
30641
|
-
"is-date-disabled",
|
|
30642
|
-
"is-date-unavailable",
|
|
30643
|
-
"locale",
|
|
30644
|
-
"readonly",
|
|
30645
|
-
"disabled"
|
|
30646
|
-
])]),
|
|
30692
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.doneLabel), 1)]),
|
|
30647
30693
|
_: 1
|
|
30648
|
-
}
|
|
30649
|
-
|
|
30650
|
-
|
|
30651
|
-
animate: panelAnimate,
|
|
30652
|
-
exit: panelExit.value,
|
|
30653
|
-
transition: { duration: .15 }
|
|
30654
|
-
}, {
|
|
30655
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(DateTimePickerTimeScroller_default, {
|
|
30656
|
-
"model-value": internalValue.value,
|
|
30657
|
-
granularity: __props.granularity,
|
|
30658
|
-
"hour-cycle": __props.hourCycle,
|
|
30659
|
-
"onUpdate:modelValue": onTimeUpdate
|
|
30660
|
-
}, null, 8, [
|
|
30661
|
-
"model-value",
|
|
30662
|
-
"granularity",
|
|
30663
|
-
"hour-cycle"
|
|
30664
|
-
])]),
|
|
30665
|
-
_: 1
|
|
30666
|
-
}, 8, ["initial", "exit"])) : (0, vue.createCommentVNode)("", true)]),
|
|
30667
|
-
_: 1
|
|
30668
|
-
})], 2)]),
|
|
30669
|
-
_: 1
|
|
30694
|
+
})])], 2)], 2)
|
|
30695
|
+
], 2)]),
|
|
30696
|
+
_: 3
|
|
30670
30697
|
}, 8, [
|
|
30671
30698
|
"class",
|
|
30672
30699
|
"side-offset",
|