bootstrap-vue-next 1.2.4 → 1.2.5
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/{BAccordion-ByAMZCS9.js → BAccordion-BfaVicrj.js} +2 -2
- package/dist/{BAccordion-ByAMZCS9.js.map → BAccordion-BfaVicrj.js.map} +1 -1
- package/dist/{BAlert-DdfFcjWF.js → BAlert-Czy83dU3.js} +5 -5
- package/dist/{BAlert-DdfFcjWF.js.map → BAlert-Czy83dU3.js.map} +1 -1
- package/dist/BAutocomplete-Bh4Bp5AI.js +437 -0
- package/dist/BAutocomplete-Bh4Bp5AI.js.map +1 -0
- package/dist/{BAvatar-BsStQrBF.js → BAvatar-BJNeQ1fe.js} +2 -2
- package/dist/{BAvatar-BsStQrBF.js.map → BAvatar-BJNeQ1fe.js.map} +1 -1
- package/dist/{BButton-KZu5jczf.js → BButton-DlOQ5sem.js} +2 -2
- package/dist/{BButton-KZu5jczf.js.map → BButton-DlOQ5sem.js.map} +1 -1
- package/dist/{BCard-DELccMG-.js → BCard-Bc1wed-3.js} +2 -2
- package/dist/{BCard-DELccMG-.js.map → BCard-Bc1wed-3.js.map} +1 -1
- package/dist/{BCarousel-qHGRSVFe.js → BCarousel-B-WZR469.js} +3 -4
- package/dist/{BCarousel-qHGRSVFe.js.map → BCarousel-B-WZR469.js.map} +1 -1
- package/dist/{BCollapse-DtuJwN7B.js → BCollapse-DCjKiTxo.js} +2 -2
- package/dist/{BCollapse-DtuJwN7B.js.map → BCollapse-DCjKiTxo.js.map} +1 -1
- package/dist/BDateField-Oh-cU-4i.js +456 -0
- package/dist/BDateField-Oh-cU-4i.js.map +1 -0
- package/dist/BDatePicker-HNI11eCe.js +632 -0
- package/dist/BDatePicker-HNI11eCe.js.map +1 -0
- package/dist/{BDropdown-BY-E0SHv.js → BDropdown-04nGcMhm.js} +6 -7
- package/dist/{BDropdown-BY-E0SHv.js.map → BDropdown-04nGcMhm.js.map} +1 -1
- package/dist/{BFormCheckbox-BYNGQgr2.js → BFormCheckbox-zjr8OsNd.js} +2 -2
- package/dist/{BFormCheckbox-BYNGQgr2.js.map → BFormCheckbox-zjr8OsNd.js.map} +1 -1
- package/dist/{BFormFile-C2DnrbK7.js → BFormFile-D_s8tf1m.js} +2 -2
- package/dist/{BFormFile-C2DnrbK7.js.map → BFormFile-D_s8tf1m.js.map} +1 -1
- package/dist/{BFormInput-_AkAy6Wk.js → BFormInput-DnIBPLCx.js} +2 -2
- package/dist/{BFormInput-_AkAy6Wk.js.map → BFormInput-DnIBPLCx.js.map} +1 -1
- package/dist/BFormOtp-Dx2RxPAW.js +150 -0
- package/dist/BFormOtp-Dx2RxPAW.js.map +1 -0
- package/dist/{BFormRadio-DAddcnfE.js → BFormRadio-DUz60sBI.js} +2 -2
- package/dist/{BFormRadio-DAddcnfE.js.map → BFormRadio-DUz60sBI.js.map} +1 -1
- package/dist/{BFormRating-iKFgSFet.js → BFormRating-CtMmDgrF.js} +2 -2
- package/dist/{BFormRating-iKFgSFet.js.map → BFormRating-CtMmDgrF.js.map} +1 -1
- package/dist/{BFormSelect-CSS-_kul.js → BFormSelect-CeslPN3i.js} +2 -3
- package/dist/{BFormSelect-CSS-_kul.js.map → BFormSelect-CeslPN3i.js.map} +1 -1
- package/dist/{BFormSpinbutton-fkVMbQC3.js → BFormSpinbutton-BR9YTfYy.js} +2 -3
- package/dist/{BFormSpinbutton-fkVMbQC3.js.map → BFormSpinbutton-BR9YTfYy.js.map} +1 -1
- package/dist/{BFormTags-CUcyRTCK.js → BFormTags-6qQn0Vlv.js} +2 -3
- package/dist/{BFormTags-CUcyRTCK.js.map → BFormTags-6qQn0Vlv.js.map} +1 -1
- package/dist/{BFormTextarea-CBBlEcrV.js → BFormTextarea-DvLrtG08.js} +3 -3
- package/dist/{BFormTextarea-CBBlEcrV.js.map → BFormTextarea-DvLrtG08.js.map} +1 -1
- package/dist/{BImg-knz2UZQE.js → BImg-Dd8Pc1Ln.js} +2 -2
- package/dist/{BImg-knz2UZQE.js.map → BImg-Dd8Pc1Ln.js.map} +1 -1
- package/dist/{BModal-DtQlIFNn.js → BModal-DOmTYI6F.js} +5 -6
- package/dist/{BModal-DtQlIFNn.js.map → BModal-DOmTYI6F.js.map} +1 -1
- package/dist/{BNav-BMWNXoNo.js → BNav-D3XbyI1R.js} +2 -2
- package/dist/{BNav-BMWNXoNo.js.map → BNav-D3XbyI1R.js.map} +1 -1
- package/dist/{BOffcanvas-BtvIDgH7.js → BOffcanvas-DyPG7s8I.js} +5 -5
- package/dist/{BOffcanvas-BtvIDgH7.js.map → BOffcanvas-DyPG7s8I.js.map} +1 -1
- package/dist/{BPagination-C85wHRgS.js → BPagination-DGvgWeYG.js} +2 -2
- package/dist/{BPagination-C85wHRgS.js.map → BPagination-DGvgWeYG.js.map} +1 -1
- package/dist/{BPlaceholder-DI12zz0a.js → BPlaceholder-BrBmbfIg.js} +3 -3
- package/dist/{BPlaceholder-DI12zz0a.js.map → BPlaceholder-BrBmbfIg.js.map} +1 -1
- package/dist/{BProgress-BNxYppi-.js → BProgress-CXhe6hsN.js} +2 -2
- package/dist/{BProgress-BNxYppi-.js.map → BProgress-CXhe6hsN.js.map} +1 -1
- package/dist/{BTable-BZxX17YU.js → BTable-8jp3wPAI.js} +2 -2
- package/dist/{BTable-BZxX17YU.js.map → BTable-8jp3wPAI.js.map} +1 -1
- package/dist/BTimeField-vdultTwg.js +138 -0
- package/dist/BTimeField-vdultTwg.js.map +1 -0
- package/dist/{BToast-Cm7TZlZq.js → BToast-vxfpFGe3.js} +5 -5
- package/dist/{BToast-Cm7TZlZq.js.map → BToast-vxfpFGe3.js.map} +1 -1
- package/dist/{BTooltip-CAgQ77tS.js → BTooltip-CV5Ogidy.js} +2 -2
- package/dist/{BTooltip-CAgQ77tS.js.map → BTooltip-CV5Ogidy.js.map} +1 -1
- package/dist/bootstrap-vue-next.mjs +33 -33
- package/dist/{floatingUi-CSJCHfOw.js → floatingUi-BhgR4GBJ.js} +10 -168
- package/dist/floatingUi-BhgR4GBJ.js.map +1 -0
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/src/components/BAccordion/index.mjs +1 -1
- package/dist/src/components/BAlert/index.mjs +1 -1
- package/dist/src/components/BAutocomplete/index.mjs +1 -1
- package/dist/src/components/BAvatar/index.mjs +1 -1
- package/dist/src/components/BButton/index.mjs +1 -1
- package/dist/src/components/BCard/index.mjs +1 -1
- package/dist/src/components/BCarousel/index.mjs +1 -1
- package/dist/src/components/BCollapse/index.mjs +1 -1
- package/dist/src/components/BDateField/index.mjs +1 -1
- package/dist/src/components/BDatePicker/index.mjs +1 -1
- package/dist/src/components/BDropdown/index.mjs +1 -1
- package/dist/src/components/BFormCheckbox/index.mjs +1 -1
- package/dist/src/components/BFormFile/index.mjs +1 -1
- package/dist/src/components/BFormInput/index.mjs +1 -1
- package/dist/src/components/BFormOtp/index.mjs +1 -1
- package/dist/src/components/BFormRadio/index.mjs +1 -1
- package/dist/src/components/BFormRating/index.mjs +1 -1
- package/dist/src/components/BFormSelect/index.mjs +1 -1
- package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
- package/dist/src/components/BFormTags/index.mjs +1 -1
- package/dist/src/components/BFormTextarea/index.mjs +1 -1
- package/dist/src/components/BImg/index.mjs +1 -1
- package/dist/src/components/BModal/index.mjs +1 -1
- package/dist/src/components/BNav/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BPagination/index.mjs +1 -1
- package/dist/src/components/BPlaceholder/index.mjs +1 -1
- package/dist/src/components/BPopover/index.mjs +1 -1
- package/dist/src/components/BProgress/index.mjs +1 -1
- package/dist/src/components/BTable/index.mjs +1 -1
- package/dist/src/components/BTimeField/index.mjs +1 -1
- package/dist/src/components/BToast/index.mjs +1 -1
- package/dist/src/components/BTooltip/index.mjs +1 -1
- package/dist/src/components/index.mjs +34 -34
- package/dist/src/composables/index.mjs +1 -1
- package/dist/src/composables/useColorMode/index.mjs +1 -1
- package/dist/src/composables/useModal/index.mjs +1 -1
- package/dist/src/composables/usePopover/index.mjs +2 -2
- package/dist/src/composables/useScrollLock/index.mjs +1 -2
- package/dist/src/composables/useScrollLock/index.mjs.map +1 -1
- package/dist/src/composables/useScrollspy/index.mjs +1 -2
- package/dist/src/composables/useScrollspy/index.mjs.map +1 -1
- package/dist/src/composables/useToast/index.mjs +1 -1
- package/dist/src/directives/BPopover/index.mjs +2 -2
- package/dist/src/directives/BScrollspy/index.mjs +1 -1
- package/dist/src/directives/BToggle/index.mjs +1 -1
- package/dist/src/directives/BTooltip/index.mjs +2 -2
- package/dist/src/directives/index.mjs +1 -1
- package/dist/src/plugins/index.mjs +1 -1
- package/dist/src/resolvers/index.mjs +1 -1
- package/dist/src/types/index.mjs +1 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/{useCountdownHover-BN8vJIQW.js → useCountdownHover-HZSJZkHq.js} +2 -2
- package/dist/{useCountdownHover-BN8vJIQW.js.map → useCountdownHover-HZSJZkHq.js.map} +1 -1
- package/dist/{useFormInput-C-iXRxog.js → useFormInput-CMtXFoM2.js} +2 -3
- package/dist/{useFormInput-C-iXRxog.js.map → useFormInput-CMtXFoM2.js.map} +1 -1
- package/dist/useSafeScrollLock-BT4KKhxB.js +89 -0
- package/dist/useSafeScrollLock-BT4KKhxB.js.map +1 -0
- package/dist/{useShowHide-Dpld86ys.js → useShowHide-BLIZLD9E.js} +2 -3
- package/dist/{useShowHide-Dpld86ys.js.map → useShowHide-BLIZLD9E.js.map} +1 -1
- package/dist/{utils-DYdkCKBf.js → utils-CvjliJBf.js} +2 -2
- package/dist/{utils-DYdkCKBf.js.map → utils-CvjliJBf.js.map} +1 -1
- package/package.json +3 -23
- package/dist/BAutocomplete-BFbbKtpz.js +0 -2490
- package/dist/BAutocomplete-BFbbKtpz.js.map +0 -1
- package/dist/BDateField-Bj-Jz7u4.js +0 -906
- package/dist/BDateField-Bj-Jz7u4.js.map +0 -1
- package/dist/BDatePicker-AVTYcVLy.js +0 -5210
- package/dist/BDatePicker-AVTYcVLy.js.map +0 -1
- package/dist/BFormOtp-ClDACqXM.js +0 -577
- package/dist/BFormOtp-ClDACqXM.js.map +0 -1
- package/dist/BTimeField-CbRGjaI6.js +0 -516
- package/dist/BTimeField-CbRGjaI6.js.map +0 -1
- package/dist/DateRangeFieldInput-Cbzjg8iF.js +0 -761
- package/dist/DateRangeFieldInput-Cbzjg8iF.js.map +0 -1
- package/dist/PopperContent-C9eeL6LH.js +0 -1726
- package/dist/PopperContent-C9eeL6LH.js.map +0 -1
- package/dist/VisuallyHidden-BYzyjJiY.js +0 -182
- package/dist/VisuallyHidden-BYzyjJiY.js.map +0 -1
- package/dist/VisuallyHiddenInput-CUrc8XXa.js +0 -180
- package/dist/VisuallyHiddenInput-CUrc8XXa.js.map +0 -1
- package/dist/dist-9-XTMhb-.js +0 -1302
- package/dist/dist-9-XTMhb-.js.map +0 -1
- package/dist/dist-B-regXAP.js +0 -123
- package/dist/dist-B-regXAP.js.map +0 -1
- package/dist/dist-DKc2ivHS.js +0 -411
- package/dist/dist-DKc2ivHS.js.map +0 -1
- package/dist/floating-ui.dom-C7UZexJK.js +0 -1484
- package/dist/floating-ui.dom-C7UZexJK.js.map +0 -1
- package/dist/floatingUi-CSJCHfOw.js.map +0 -1
- package/dist/rolldown-runtime-BBjsoOtd.js +0 -27
- package/dist/useDateField-CQZb799C.js +0 -3679
- package/dist/useDateField-CQZb799C.js.map +0 -1
- package/dist/useForwardExpose-DDvk7mir.js +0 -60
- package/dist/useForwardExpose-DDvk7mir.js.map +0 -1
- package/dist/useKbd-DRsaFU_f.js +0 -76
- package/dist/useKbd-DRsaFU_f.js.map +0 -1
- package/dist/useSafeScrollLock-PVgSASYu.js +0 -1326
- package/dist/useSafeScrollLock-PVgSASYu.js.map +0 -1
|
@@ -1,516 +0,0 @@
|
|
|
1
|
-
import { S as useVModel } from "./dist-9-XTMhb-.js";
|
|
2
|
-
import { t as useDefaults } from "./useDefaults-BzP4qZBu.js";
|
|
3
|
-
import { t as useId$1 } from "./useId-Fh-Arhb7.js";
|
|
4
|
-
import { E as isBefore, H as $ad063034c8620db8$export$d0bdf45af03a6ea3, L as $ad063034c8620db8$export$91b62ebf2ba703ee, N as $d07e34cce18680fd$export$b21e0b124e224484, V as $ad063034c8620db8$export$aa8b41735afcabd2, a as createContent, d as useDateFormatter, g as normalizeHourCycle, h as normalizeDateStep, i as isSegmentNavigationKey, j as $2aaf608024c21ca1$export$680ea196effce5f, l as syncTimeSegmentValues, r as getTimeFieldSegmentElements, s as initializeTimeSegmentValues, t as useDateField, u as useLocale, x as getDefaultTime } from "./useDateField-CQZb799C.js";
|
|
5
|
-
import { a as useDirection, l as createContext, n as usePrimitiveElement, r as Primitive, t as VisuallyHidden_default } from "./VisuallyHidden-BYzyjJiY.js";
|
|
6
|
-
import { r as isNullish, t as useKbd } from "./useKbd-DRsaFU_f.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createElementBlock, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toHandlers, toRefs, unref, useModel, watch, withCtx, withKeys } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/TimeField/TimeFieldRoot.js
|
|
9
|
-
var [injectTimeFieldRootContext, provideTimeFieldRootContext] = /*#__PURE__*/ createContext("TimeFieldRoot");
|
|
10
|
-
function convertValue(value, date = $ad063034c8620db8$export$d0bdf45af03a6ea3($ad063034c8620db8$export$aa8b41735afcabd2())) {
|
|
11
|
-
if (value && "day" in value) return value;
|
|
12
|
-
return $d07e34cce18680fd$export$b21e0b124e224484(date, value);
|
|
13
|
-
}
|
|
14
|
-
var TimeFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
15
|
-
inheritAttrs: false,
|
|
16
|
-
__name: "TimeFieldRoot",
|
|
17
|
-
props: {
|
|
18
|
-
defaultValue: {
|
|
19
|
-
type: Object,
|
|
20
|
-
required: false,
|
|
21
|
-
default: void 0
|
|
22
|
-
},
|
|
23
|
-
defaultPlaceholder: {
|
|
24
|
-
type: Object,
|
|
25
|
-
required: false
|
|
26
|
-
},
|
|
27
|
-
placeholder: {
|
|
28
|
-
type: Object,
|
|
29
|
-
required: false,
|
|
30
|
-
default: void 0
|
|
31
|
-
},
|
|
32
|
-
modelValue: {
|
|
33
|
-
type: [Object, null],
|
|
34
|
-
required: false
|
|
35
|
-
},
|
|
36
|
-
hourCycle: {
|
|
37
|
-
type: null,
|
|
38
|
-
required: false
|
|
39
|
-
},
|
|
40
|
-
step: {
|
|
41
|
-
type: Object,
|
|
42
|
-
required: false
|
|
43
|
-
},
|
|
44
|
-
stepSnapping: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
required: false,
|
|
47
|
-
default: false
|
|
48
|
-
},
|
|
49
|
-
granularity: {
|
|
50
|
-
type: String,
|
|
51
|
-
required: false
|
|
52
|
-
},
|
|
53
|
-
hideTimeZone: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
required: false
|
|
56
|
-
},
|
|
57
|
-
maxValue: {
|
|
58
|
-
type: Object,
|
|
59
|
-
required: false
|
|
60
|
-
},
|
|
61
|
-
minValue: {
|
|
62
|
-
type: Object,
|
|
63
|
-
required: false
|
|
64
|
-
},
|
|
65
|
-
locale: {
|
|
66
|
-
type: String,
|
|
67
|
-
required: false
|
|
68
|
-
},
|
|
69
|
-
disabled: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
required: false,
|
|
72
|
-
default: false
|
|
73
|
-
},
|
|
74
|
-
readonly: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
required: false,
|
|
77
|
-
default: false
|
|
78
|
-
},
|
|
79
|
-
id: {
|
|
80
|
-
type: String,
|
|
81
|
-
required: false
|
|
82
|
-
},
|
|
83
|
-
dir: {
|
|
84
|
-
type: String,
|
|
85
|
-
required: false
|
|
86
|
-
},
|
|
87
|
-
asChild: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
required: false
|
|
90
|
-
},
|
|
91
|
-
as: {
|
|
92
|
-
type: null,
|
|
93
|
-
required: false
|
|
94
|
-
},
|
|
95
|
-
name: {
|
|
96
|
-
type: String,
|
|
97
|
-
required: false
|
|
98
|
-
},
|
|
99
|
-
required: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
required: false
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
emits: ["update:modelValue", "update:placeholder"],
|
|
105
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
106
|
-
const props = __props;
|
|
107
|
-
const emits = __emit;
|
|
108
|
-
const { disabled, readonly, granularity, defaultValue, minValue, maxValue, stepSnapping, dir: propDir, locale: propLocale } = toRefs(props);
|
|
109
|
-
const locale = useLocale(propLocale);
|
|
110
|
-
const dir = useDirection(propDir);
|
|
111
|
-
const formatter = useDateFormatter(locale.value, { hourCycle: normalizeHourCycle(props.hourCycle) });
|
|
112
|
-
const { primitiveElement, currentElement: parentElement } = usePrimitiveElement();
|
|
113
|
-
const segmentElements = ref(/* @__PURE__ */ new Set());
|
|
114
|
-
const step = computed(() => normalizeDateStep(props));
|
|
115
|
-
const convertedMinValue = computed(() => minValue.value ? convertValue(minValue.value) : void 0);
|
|
116
|
-
const convertedMaxValue = computed(() => maxValue.value ? convertValue(maxValue.value) : void 0);
|
|
117
|
-
onMounted(() => {
|
|
118
|
-
getTimeFieldSegmentElements(parentElement.value).forEach((item) => segmentElements.value.add(item));
|
|
119
|
-
});
|
|
120
|
-
const modelValue = useVModel(props, "modelValue", emits, {
|
|
121
|
-
defaultValue: defaultValue.value,
|
|
122
|
-
passive: props.modelValue === void 0
|
|
123
|
-
});
|
|
124
|
-
const convertedModelValue = computed({
|
|
125
|
-
get() {
|
|
126
|
-
if (isNullish(modelValue.value)) return modelValue.value;
|
|
127
|
-
return convertValue(modelValue.value);
|
|
128
|
-
},
|
|
129
|
-
set(newValue) {
|
|
130
|
-
if (newValue) modelValue.value = modelValue.value && "day" in modelValue.value ? newValue : new $2aaf608024c21ca1$export$680ea196effce5f(newValue.hour, newValue.minute, newValue.second, modelValue.value?.millisecond);
|
|
131
|
-
else modelValue.value = newValue;
|
|
132
|
-
return newValue;
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
const defaultDate = getDefaultTime({
|
|
136
|
-
defaultPlaceholder: props.placeholder,
|
|
137
|
-
defaultValue: modelValue.value
|
|
138
|
-
});
|
|
139
|
-
const placeholder = useVModel(props, "placeholder", emits, {
|
|
140
|
-
defaultValue: props.defaultPlaceholder ?? defaultDate.copy(),
|
|
141
|
-
passive: props.placeholder === void 0
|
|
142
|
-
});
|
|
143
|
-
const convertedPlaceholder = computed({
|
|
144
|
-
get() {
|
|
145
|
-
return convertValue(placeholder.value);
|
|
146
|
-
},
|
|
147
|
-
set(newValue) {
|
|
148
|
-
if (newValue) placeholder.value = "day" in placeholder.value ? newValue.copy() : new $2aaf608024c21ca1$export$680ea196effce5f(newValue.hour, newValue.minute, newValue.second, placeholder.value?.millisecond);
|
|
149
|
-
return newValue;
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
const inferredGranularity = computed(() => {
|
|
153
|
-
if (granularity.value) return granularity.value;
|
|
154
|
-
return "minute";
|
|
155
|
-
});
|
|
156
|
-
const isInvalid = computed(() => {
|
|
157
|
-
if (!modelValue.value) return false;
|
|
158
|
-
if (convertedMinValue.value && isBefore(convertedModelValue.value, convertedMinValue.value)) return true;
|
|
159
|
-
if (convertedMaxValue.value && isBefore(convertedMaxValue.value, convertedModelValue.value)) return true;
|
|
160
|
-
return false;
|
|
161
|
-
});
|
|
162
|
-
const initialSegments = initializeTimeSegmentValues(inferredGranularity.value);
|
|
163
|
-
const segmentValues = ref(modelValue.value ? { ...syncTimeSegmentValues({
|
|
164
|
-
value: convertedModelValue.value,
|
|
165
|
-
formatter
|
|
166
|
-
}) } : { ...initialSegments });
|
|
167
|
-
const allSegmentContent = computed(() => createContent({
|
|
168
|
-
granularity: inferredGranularity.value,
|
|
169
|
-
dateRef: convertedPlaceholder.value,
|
|
170
|
-
formatter,
|
|
171
|
-
hideTimeZone: props.hideTimeZone,
|
|
172
|
-
hourCycle: props.hourCycle,
|
|
173
|
-
segmentValues: segmentValues.value,
|
|
174
|
-
locale,
|
|
175
|
-
isTimeValue: true
|
|
176
|
-
}));
|
|
177
|
-
const segmentContents = computed(() => {
|
|
178
|
-
const contents = allSegmentContent.value.arr;
|
|
179
|
-
if (props.hourCycle === 12) return contents.map((segment) => {
|
|
180
|
-
if (segment.part === "hour" && "hour" in segmentValues.value) {
|
|
181
|
-
const hour = segmentValues.value.hour;
|
|
182
|
-
if (hour !== null) {
|
|
183
|
-
const displayHour = hour === 0 ? 12 : hour > 12 ? hour - 12 : hour;
|
|
184
|
-
return {
|
|
185
|
-
...segment,
|
|
186
|
-
value: displayHour.toString()
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
return segment;
|
|
191
|
-
});
|
|
192
|
-
return contents;
|
|
193
|
-
});
|
|
194
|
-
const editableSegmentContents = computed(() => segmentContents.value.filter(({ part }) => part !== "literal"));
|
|
195
|
-
watch(locale, (value) => {
|
|
196
|
-
if (formatter.getLocale() !== value) {
|
|
197
|
-
formatter.setLocale(value);
|
|
198
|
-
nextTick(() => {
|
|
199
|
-
segmentElements.value.clear();
|
|
200
|
-
getTimeFieldSegmentElements(parentElement.value).forEach((item) => segmentElements.value.add(item));
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
watch(convertedModelValue, (_modelValue) => {
|
|
205
|
-
if (!isNullish(_modelValue) && (!$ad063034c8620db8$export$91b62ebf2ba703ee(convertedPlaceholder.value, _modelValue) || convertedPlaceholder.value.compare(_modelValue) !== 0)) placeholder.value = _modelValue.copy();
|
|
206
|
-
});
|
|
207
|
-
watch([convertedModelValue, locale], ([_modelValue]) => {
|
|
208
|
-
if (!isNullish(_modelValue)) segmentValues.value = { ...syncTimeSegmentValues({
|
|
209
|
-
value: _modelValue,
|
|
210
|
-
formatter
|
|
211
|
-
}) };
|
|
212
|
-
else if (Object.values(segmentValues.value).every((value) => value !== null) && isNullish(_modelValue)) segmentValues.value = { ...initialSegments };
|
|
213
|
-
});
|
|
214
|
-
const currentFocusedElement = ref(null);
|
|
215
|
-
const currentSegmentIndex = computed(() => Array.from(segmentElements.value).findIndex((el) => el.getAttribute("data-reka-time-field-segment") === currentFocusedElement.value?.getAttribute("data-reka-time-field-segment")));
|
|
216
|
-
const nextFocusableSegment = computed(() => {
|
|
217
|
-
const sign = dir.value === "rtl" ? -1 : 1;
|
|
218
|
-
if (sign < 0 ? currentSegmentIndex.value < 0 : currentSegmentIndex.value > segmentElements.value.size - 1) return null;
|
|
219
|
-
return Array.from(segmentElements.value)[currentSegmentIndex.value + sign];
|
|
220
|
-
});
|
|
221
|
-
const prevFocusableSegment = computed(() => {
|
|
222
|
-
const sign = dir.value === "rtl" ? -1 : 1;
|
|
223
|
-
if (sign > 0 ? currentSegmentIndex.value < 0 : currentSegmentIndex.value > segmentElements.value.size - 1) return null;
|
|
224
|
-
return Array.from(segmentElements.value)[currentSegmentIndex.value - sign];
|
|
225
|
-
});
|
|
226
|
-
const kbd = useKbd();
|
|
227
|
-
function handleKeydown(e) {
|
|
228
|
-
if (e.isComposing) return;
|
|
229
|
-
if (!isSegmentNavigationKey(e.key)) return;
|
|
230
|
-
if (e.key === kbd.ARROW_LEFT) prevFocusableSegment.value?.focus();
|
|
231
|
-
if (e.key === kbd.ARROW_RIGHT) nextFocusableSegment.value?.focus();
|
|
232
|
-
}
|
|
233
|
-
function setFocusedElement(el) {
|
|
234
|
-
currentFocusedElement.value = el;
|
|
235
|
-
}
|
|
236
|
-
provideTimeFieldRootContext({
|
|
237
|
-
locale,
|
|
238
|
-
modelValue: convertedModelValue,
|
|
239
|
-
placeholder: convertedPlaceholder,
|
|
240
|
-
disabled,
|
|
241
|
-
formatter,
|
|
242
|
-
hourCycle: props.hourCycle,
|
|
243
|
-
step,
|
|
244
|
-
stepSnapping,
|
|
245
|
-
readonly,
|
|
246
|
-
segmentValues,
|
|
247
|
-
isInvalid,
|
|
248
|
-
segmentContents: editableSegmentContents,
|
|
249
|
-
elements: segmentElements,
|
|
250
|
-
setFocusedElement,
|
|
251
|
-
focusNext() {
|
|
252
|
-
Array.from(segmentElements.value)[currentSegmentIndex.value + 1]?.focus();
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
__expose({ setFocusedElement });
|
|
256
|
-
return (_ctx, _cache) => {
|
|
257
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {
|
|
258
|
-
ref_key: "primitiveElement",
|
|
259
|
-
ref: primitiveElement,
|
|
260
|
-
role: "group",
|
|
261
|
-
"aria-disabled": unref(disabled) ? true : void 0,
|
|
262
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
263
|
-
"data-readonly": unref(readonly) ? "" : void 0,
|
|
264
|
-
"data-invalid": isInvalid.value ? "" : void 0,
|
|
265
|
-
dir: unref(dir),
|
|
266
|
-
onKeydown: withKeys(handleKeydown, ["left", "right"])
|
|
267
|
-
}), {
|
|
268
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
269
|
-
modelValue: unref(modelValue),
|
|
270
|
-
segments: segmentContents.value,
|
|
271
|
-
isInvalid: isInvalid.value
|
|
272
|
-
}), createVNode(unref(VisuallyHidden_default), {
|
|
273
|
-
id: _ctx.id,
|
|
274
|
-
as: "input",
|
|
275
|
-
feature: "focusable",
|
|
276
|
-
tabindex: "-1",
|
|
277
|
-
value: unref(modelValue) ? unref(modelValue).toString() : "",
|
|
278
|
-
name: _ctx.name,
|
|
279
|
-
disabled: unref(disabled),
|
|
280
|
-
required: _ctx.required,
|
|
281
|
-
onFocus: _cache[0] || (_cache[0] = ($event) => Array.from(segmentElements.value)?.[0]?.focus())
|
|
282
|
-
}, null, 8, [
|
|
283
|
-
"id",
|
|
284
|
-
"value",
|
|
285
|
-
"name",
|
|
286
|
-
"disabled",
|
|
287
|
-
"required"
|
|
288
|
-
])]),
|
|
289
|
-
_: 3
|
|
290
|
-
}, 16, [
|
|
291
|
-
"aria-disabled",
|
|
292
|
-
"data-disabled",
|
|
293
|
-
"data-readonly",
|
|
294
|
-
"data-invalid",
|
|
295
|
-
"dir"
|
|
296
|
-
]);
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/TimeField/TimeFieldInput.js
|
|
302
|
-
var TimeFieldInput_default = /* @__PURE__ */ defineComponent({
|
|
303
|
-
__name: "TimeFieldInput",
|
|
304
|
-
props: {
|
|
305
|
-
part: {
|
|
306
|
-
type: null,
|
|
307
|
-
required: true
|
|
308
|
-
},
|
|
309
|
-
asChild: {
|
|
310
|
-
type: Boolean,
|
|
311
|
-
required: false
|
|
312
|
-
},
|
|
313
|
-
as: {
|
|
314
|
-
type: null,
|
|
315
|
-
required: false
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
setup(__props) {
|
|
319
|
-
const props = __props;
|
|
320
|
-
const rootContext = injectTimeFieldRootContext();
|
|
321
|
-
const hasLeftFocus = ref(true);
|
|
322
|
-
const lastKeyZero = ref(false);
|
|
323
|
-
const { handleSegmentClick, handleSegmentKeydown, handleSegmentBeforeInput, handleSegmentCompositionStart, handleSegmentCompositionEnd, handleSegmentFocusOut, attributes } = useDateField({
|
|
324
|
-
hasLeftFocus,
|
|
325
|
-
lastKeyZero,
|
|
326
|
-
placeholder: rootContext.placeholder,
|
|
327
|
-
hourCycle: rootContext.hourCycle,
|
|
328
|
-
step: rootContext.step,
|
|
329
|
-
stepSnapping: rootContext.stepSnapping,
|
|
330
|
-
segmentValues: rootContext.segmentValues,
|
|
331
|
-
formatter: rootContext.formatter,
|
|
332
|
-
part: props.part,
|
|
333
|
-
disabled: rootContext.disabled,
|
|
334
|
-
readonly: rootContext.readonly,
|
|
335
|
-
focusNext: rootContext.focusNext,
|
|
336
|
-
modelValue: rootContext.modelValue
|
|
337
|
-
});
|
|
338
|
-
const disabled = computed(() => rootContext.disabled.value);
|
|
339
|
-
const readonly = computed(() => rootContext.readonly.value);
|
|
340
|
-
const isInvalid = computed(() => rootContext.isInvalid.value);
|
|
341
|
-
return (_ctx, _cache) => {
|
|
342
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
343
|
-
as: _ctx.as,
|
|
344
|
-
"as-child": _ctx.asChild
|
|
345
|
-
}, unref(attributes), {
|
|
346
|
-
contenteditable: disabled.value || readonly.value ? false : _ctx.part !== "literal",
|
|
347
|
-
"data-reka-time-field-segment": _ctx.part,
|
|
348
|
-
"aria-disabled": disabled.value ? true : void 0,
|
|
349
|
-
"aria-readonly": readonly.value ? true : void 0,
|
|
350
|
-
"data-disabled": disabled.value ? "" : void 0,
|
|
351
|
-
"data-invalid": isInvalid.value ? "" : void 0,
|
|
352
|
-
"aria-invalid": isInvalid.value ? true : void 0
|
|
353
|
-
}, toHandlers(_ctx.part !== "literal" ? {
|
|
354
|
-
mousedown: unref(handleSegmentClick),
|
|
355
|
-
keydown: unref(handleSegmentKeydown),
|
|
356
|
-
beforeinput: unref(handleSegmentBeforeInput),
|
|
357
|
-
compositionstart: unref(handleSegmentCompositionStart),
|
|
358
|
-
compositionend: unref(handleSegmentCompositionEnd),
|
|
359
|
-
focusout: () => {
|
|
360
|
-
hasLeftFocus.value = true;
|
|
361
|
-
unref(handleSegmentFocusOut)();
|
|
362
|
-
},
|
|
363
|
-
focusin: (e) => {
|
|
364
|
-
unref(rootContext).setFocusedElement(e.target);
|
|
365
|
-
}
|
|
366
|
-
} : {})), {
|
|
367
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
368
|
-
_: 3
|
|
369
|
-
}, 16, [
|
|
370
|
-
"as",
|
|
371
|
-
"as-child",
|
|
372
|
-
"contenteditable",
|
|
373
|
-
"data-reka-time-field-segment",
|
|
374
|
-
"aria-disabled",
|
|
375
|
-
"aria-readonly",
|
|
376
|
-
"data-disabled",
|
|
377
|
-
"data-invalid",
|
|
378
|
-
"aria-invalid"
|
|
379
|
-
]);
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
});
|
|
383
|
-
//#endregion
|
|
384
|
-
//#region src/components/BTimeField/BTimeField.vue
|
|
385
|
-
var BTimeField_default = /* @__PURE__ */ defineComponent({
|
|
386
|
-
__name: "BTimeField",
|
|
387
|
-
props: /*@__PURE__*/ mergeModels({
|
|
388
|
-
defaultPlaceholder: { default: void 0 },
|
|
389
|
-
defaultValue: { default: void 0 },
|
|
390
|
-
dir: { default: void 0 },
|
|
391
|
-
disabled: {
|
|
392
|
-
type: Boolean,
|
|
393
|
-
default: false
|
|
394
|
-
},
|
|
395
|
-
granularity: { default: void 0 },
|
|
396
|
-
hideTimeZone: {
|
|
397
|
-
type: Boolean,
|
|
398
|
-
default: void 0
|
|
399
|
-
},
|
|
400
|
-
hourCycle: { default: void 0 },
|
|
401
|
-
id: { default: void 0 },
|
|
402
|
-
locale: { default: void 0 },
|
|
403
|
-
maxValue: { default: void 0 },
|
|
404
|
-
minValue: { default: void 0 },
|
|
405
|
-
name: { default: void 0 },
|
|
406
|
-
readonly: {
|
|
407
|
-
type: Boolean,
|
|
408
|
-
default: false
|
|
409
|
-
},
|
|
410
|
-
required: {
|
|
411
|
-
type: Boolean,
|
|
412
|
-
default: false
|
|
413
|
-
},
|
|
414
|
-
size: { default: void 0 },
|
|
415
|
-
state: {
|
|
416
|
-
type: [Boolean, null],
|
|
417
|
-
default: null
|
|
418
|
-
},
|
|
419
|
-
step: { default: void 0 },
|
|
420
|
-
stepSnapping: {
|
|
421
|
-
type: Boolean,
|
|
422
|
-
default: false
|
|
423
|
-
}
|
|
424
|
-
}, {
|
|
425
|
-
"modelValue": { default: null },
|
|
426
|
-
"modelModifiers": {},
|
|
427
|
-
"placeholder": {},
|
|
428
|
-
"placeholderModifiers": {}
|
|
429
|
-
}),
|
|
430
|
-
emits: ["update:modelValue", "update:placeholder"],
|
|
431
|
-
setup(__props) {
|
|
432
|
-
const props = useDefaults(__props, "BTimeField");
|
|
433
|
-
const modelValue = useModel(__props, "modelValue");
|
|
434
|
-
const placeholderModel = useModel(__props, "placeholder");
|
|
435
|
-
const computedId = useId$1(() => props.id, "time-field");
|
|
436
|
-
const computedRootClasses = computed(() => ({
|
|
437
|
-
"disabled": props.disabled,
|
|
438
|
-
"readonly": props.readonly,
|
|
439
|
-
"is-valid": props.state === true,
|
|
440
|
-
"is-invalid": props.state === false,
|
|
441
|
-
[`form-control-${props.size}`]: props.size !== void 0
|
|
442
|
-
}));
|
|
443
|
-
return (_ctx, _cache) => {
|
|
444
|
-
return openBlock(), createBlock(unref(TimeFieldRoot_default), {
|
|
445
|
-
id: unref(computedId),
|
|
446
|
-
modelValue: modelValue.value,
|
|
447
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
448
|
-
placeholder: placeholderModel.value,
|
|
449
|
-
"onUpdate:placeholder": _cache[1] || (_cache[1] = ($event) => placeholderModel.value = $event),
|
|
450
|
-
"default-value": unref(props).defaultValue,
|
|
451
|
-
"default-placeholder": unref(props).defaultPlaceholder,
|
|
452
|
-
"hour-cycle": unref(props).hourCycle,
|
|
453
|
-
step: unref(props).step,
|
|
454
|
-
"step-snapping": unref(props).stepSnapping,
|
|
455
|
-
granularity: unref(props).granularity,
|
|
456
|
-
"hide-time-zone": unref(props).hideTimeZone,
|
|
457
|
-
"max-value": unref(props).maxValue,
|
|
458
|
-
"min-value": unref(props).minValue,
|
|
459
|
-
locale: unref(props).locale,
|
|
460
|
-
disabled: unref(props).disabled,
|
|
461
|
-
readonly: unref(props).readonly,
|
|
462
|
-
name: unref(props).name,
|
|
463
|
-
required: unref(props).required,
|
|
464
|
-
dir: unref(props).dir,
|
|
465
|
-
class: normalizeClass([computedRootClasses.value, "b-time-field form-control d-inline-flex align-items-center gap-0"])
|
|
466
|
-
}, {
|
|
467
|
-
default: withCtx(({ segments, isInvalid, modelValue: currentValue }) => [renderSlot(_ctx.$slots, "default", {
|
|
468
|
-
modelValue: currentValue,
|
|
469
|
-
segments,
|
|
470
|
-
isInvalid
|
|
471
|
-
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(segments, ({ part, value }) => {
|
|
472
|
-
return openBlock(), createElementBlock(Fragment, { key: part }, [part === "literal" ? (openBlock(), createBlock(unref(TimeFieldInput_default), {
|
|
473
|
-
key: 0,
|
|
474
|
-
part,
|
|
475
|
-
class: "b-time-field-literal"
|
|
476
|
-
}, {
|
|
477
|
-
default: withCtx(() => [createTextVNode(toDisplayString(value), 1)]),
|
|
478
|
-
_: 2
|
|
479
|
-
}, 1032, ["part"])) : (openBlock(), createBlock(unref(TimeFieldInput_default), {
|
|
480
|
-
key: 1,
|
|
481
|
-
part,
|
|
482
|
-
class: "b-time-field-segment"
|
|
483
|
-
}, {
|
|
484
|
-
default: withCtx(() => [createTextVNode(toDisplayString(value), 1)]),
|
|
485
|
-
_: 2
|
|
486
|
-
}, 1032, ["part"]))], 64);
|
|
487
|
-
}), 128))])]),
|
|
488
|
-
_: 3
|
|
489
|
-
}, 8, [
|
|
490
|
-
"id",
|
|
491
|
-
"modelValue",
|
|
492
|
-
"placeholder",
|
|
493
|
-
"default-value",
|
|
494
|
-
"default-placeholder",
|
|
495
|
-
"hour-cycle",
|
|
496
|
-
"step",
|
|
497
|
-
"step-snapping",
|
|
498
|
-
"granularity",
|
|
499
|
-
"hide-time-zone",
|
|
500
|
-
"max-value",
|
|
501
|
-
"min-value",
|
|
502
|
-
"locale",
|
|
503
|
-
"disabled",
|
|
504
|
-
"readonly",
|
|
505
|
-
"name",
|
|
506
|
-
"required",
|
|
507
|
-
"dir",
|
|
508
|
-
"class"
|
|
509
|
-
]);
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
});
|
|
513
|
-
//#endregion
|
|
514
|
-
export { BTimeField_default as t };
|
|
515
|
-
|
|
516
|
-
//# sourceMappingURL=BTimeField-CbRGjaI6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BTimeField-CbRGjaI6.js","names":["today","getLocalTimeZone","toCalendarDateTime","Time","isEqualDay"],"sources":["../../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/TimeField/TimeFieldRoot.js","../../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/TimeField/TimeFieldInput.js","../src/components/BTimeField/BTimeField.vue","../src/components/BTimeField/BTimeField.vue"],"sourcesContent":["import { createContext } from \"../shared/createContext.js\";\nimport { isNullish } from \"../shared/nullish.js\";\nimport { getDefaultTime, isBefore } from \"../date/comparators.js\";\nimport { normalizeDateStep, normalizeHourCycle } from \"../date/utils.js\";\nimport { useDateFormatter } from \"../shared/useDateFormatter.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useKbd } from \"../shared/useKbd.js\";\nimport { useLocale } from \"../shared/useLocale.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { VisuallyHidden_default } from \"../VisuallyHidden/VisuallyHidden.js\";\nimport { createContent, initializeTimeSegmentValues, syncTimeSegmentValues } from \"../date/parser.js\";\nimport { getTimeFieldSegmentElements, isSegmentNavigationKey } from \"../date/segment.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, nextTick, onMounted, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx, withKeys } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\nimport { Time, getLocalTimeZone, isEqualDay, toCalendarDateTime, today } from \"@internationalized/date\";\n\n//#region src/TimeField/TimeFieldRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectTimeFieldRootContext, provideTimeFieldRootContext] = /*#__PURE__*/ createContext(\"TimeFieldRoot\");\nfunction convertValue(value, date = today(getLocalTimeZone())) {\n\tif (value && \"day\" in value) return value;\n\treturn toCalendarDateTime(date, value);\n}\nvar TimeFieldRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"TimeFieldRoot\",\n\tprops: {\n\t\tdefaultValue: {\n\t\t\ttype: Object,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\tdefaultPlaceholder: {\n\t\t\ttype: Object,\n\t\t\trequired: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: Object,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\tmodelValue: {\n\t\t\ttype: [Object, null],\n\t\t\trequired: false\n\t\t},\n\t\thourCycle: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tstep: {\n\t\t\ttype: Object,\n\t\t\trequired: false\n\t\t},\n\t\tstepSnapping: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tgranularity: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\thideTimeZone: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tmaxValue: {\n\t\t\ttype: Object,\n\t\t\trequired: false\n\t\t},\n\t\tminValue: {\n\t\t\ttype: Object,\n\t\t\trequired: false\n\t\t},\n\t\tlocale: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\treadonly: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"update:modelValue\", \"update:placeholder\"],\n\tsetup(__props, { expose: __expose, emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { disabled, readonly, granularity, defaultValue, minValue, maxValue, stepSnapping, dir: propDir, locale: propLocale } = toRefs(props);\n\t\tconst locale = useLocale(propLocale);\n\t\tconst dir = useDirection(propDir);\n\t\tconst formatter = useDateFormatter(locale.value, { hourCycle: normalizeHourCycle(props.hourCycle) });\n\t\tconst { primitiveElement, currentElement: parentElement } = usePrimitiveElement();\n\t\tconst segmentElements = ref(/* @__PURE__ */ new Set());\n\t\tconst step = computed(() => normalizeDateStep(props));\n\t\tconst convertedMinValue = computed(() => minValue.value ? convertValue(minValue.value) : void 0);\n\t\tconst convertedMaxValue = computed(() => maxValue.value ? convertValue(maxValue.value) : void 0);\n\t\tonMounted(() => {\n\t\t\tgetTimeFieldSegmentElements(parentElement.value).forEach((item) => segmentElements.value.add(item));\n\t\t});\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: defaultValue.value,\n\t\t\tpassive: props.modelValue === void 0\n\t\t});\n\t\tconst convertedModelValue = computed({\n\t\t\tget() {\n\t\t\t\tif (isNullish(modelValue.value)) return modelValue.value;\n\t\t\t\treturn convertValue(modelValue.value);\n\t\t\t},\n\t\t\tset(newValue) {\n\t\t\t\tif (newValue) modelValue.value = modelValue.value && \"day\" in modelValue.value ? newValue : new Time(newValue.hour, newValue.minute, newValue.second, modelValue.value?.millisecond);\n\t\t\t\telse modelValue.value = newValue;\n\t\t\t\treturn newValue;\n\t\t\t}\n\t\t});\n\t\tconst defaultDate = getDefaultTime({\n\t\t\tdefaultPlaceholder: props.placeholder,\n\t\t\tdefaultValue: modelValue.value\n\t\t});\n\t\tconst placeholder = useVModel(props, \"placeholder\", emits, {\n\t\t\tdefaultValue: props.defaultPlaceholder ?? defaultDate.copy(),\n\t\t\tpassive: props.placeholder === void 0\n\t\t});\n\t\tconst convertedPlaceholder = computed({\n\t\t\tget() {\n\t\t\t\treturn convertValue(placeholder.value);\n\t\t\t},\n\t\t\tset(newValue) {\n\t\t\t\tif (newValue) placeholder.value = \"day\" in placeholder.value ? newValue.copy() : new Time(newValue.hour, newValue.minute, newValue.second, placeholder.value?.millisecond);\n\t\t\t\treturn newValue;\n\t\t\t}\n\t\t});\n\t\tconst inferredGranularity = computed(() => {\n\t\t\tif (granularity.value) return granularity.value;\n\t\t\treturn \"minute\";\n\t\t});\n\t\tconst isInvalid = computed(() => {\n\t\t\tif (!modelValue.value) return false;\n\t\t\tif (convertedMinValue.value && isBefore(convertedModelValue.value, convertedMinValue.value)) return true;\n\t\t\tif (convertedMaxValue.value && isBefore(convertedMaxValue.value, convertedModelValue.value)) return true;\n\t\t\treturn false;\n\t\t});\n\t\tconst initialSegments = initializeTimeSegmentValues(inferredGranularity.value);\n\t\tconst segmentValues = ref(modelValue.value ? { ...syncTimeSegmentValues({\n\t\t\tvalue: convertedModelValue.value,\n\t\t\tformatter\n\t\t}) } : { ...initialSegments });\n\t\tconst allSegmentContent = computed(() => createContent({\n\t\t\tgranularity: inferredGranularity.value,\n\t\t\tdateRef: convertedPlaceholder.value,\n\t\t\tformatter,\n\t\t\thideTimeZone: props.hideTimeZone,\n\t\t\thourCycle: props.hourCycle,\n\t\t\tsegmentValues: segmentValues.value,\n\t\t\tlocale,\n\t\t\tisTimeValue: true\n\t\t}));\n\t\tconst segmentContents = computed(() => {\n\t\t\tconst contents = allSegmentContent.value.arr;\n\t\t\tif (props.hourCycle === 12) return contents.map((segment) => {\n\t\t\t\tif (segment.part === \"hour\" && \"hour\" in segmentValues.value) {\n\t\t\t\t\tconst hour = segmentValues.value.hour;\n\t\t\t\t\tif (hour !== null) {\n\t\t\t\t\t\tconst displayHour = hour === 0 ? 12 : hour > 12 ? hour - 12 : hour;\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...segment,\n\t\t\t\t\t\t\tvalue: displayHour.toString()\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn segment;\n\t\t\t});\n\t\t\treturn contents;\n\t\t});\n\t\tconst editableSegmentContents = computed(() => segmentContents.value.filter(({ part }) => part !== \"literal\"));\n\t\twatch(locale, (value) => {\n\t\t\tif (formatter.getLocale() !== value) {\n\t\t\t\tformatter.setLocale(value);\n\t\t\t\tnextTick(() => {\n\t\t\t\t\tsegmentElements.value.clear();\n\t\t\t\t\tgetTimeFieldSegmentElements(parentElement.value).forEach((item) => segmentElements.value.add(item));\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\twatch(convertedModelValue, (_modelValue) => {\n\t\t\tif (!isNullish(_modelValue) && (!isEqualDay(convertedPlaceholder.value, _modelValue) || convertedPlaceholder.value.compare(_modelValue) !== 0)) placeholder.value = _modelValue.copy();\n\t\t});\n\t\twatch([convertedModelValue, locale], ([_modelValue]) => {\n\t\t\tif (!isNullish(_modelValue)) segmentValues.value = { ...syncTimeSegmentValues({\n\t\t\t\tvalue: _modelValue,\n\t\t\t\tformatter\n\t\t\t}) };\n\t\t\telse if (Object.values(segmentValues.value).every((value) => value !== null) && isNullish(_modelValue)) segmentValues.value = { ...initialSegments };\n\t\t});\n\t\tconst currentFocusedElement = ref(null);\n\t\tconst currentSegmentIndex = computed(() => Array.from(segmentElements.value).findIndex((el) => el.getAttribute(\"data-reka-time-field-segment\") === currentFocusedElement.value?.getAttribute(\"data-reka-time-field-segment\")));\n\t\tconst nextFocusableSegment = computed(() => {\n\t\t\tconst sign = dir.value === \"rtl\" ? -1 : 1;\n\t\t\tconst nextCondition = sign < 0 ? currentSegmentIndex.value < 0 : currentSegmentIndex.value > segmentElements.value.size - 1;\n\t\t\tif (nextCondition) return null;\n\t\t\tconst segmentToFocus = Array.from(segmentElements.value)[currentSegmentIndex.value + sign];\n\t\t\treturn segmentToFocus;\n\t\t});\n\t\tconst prevFocusableSegment = computed(() => {\n\t\t\tconst sign = dir.value === \"rtl\" ? -1 : 1;\n\t\t\tconst prevCondition = sign > 0 ? currentSegmentIndex.value < 0 : currentSegmentIndex.value > segmentElements.value.size - 1;\n\t\t\tif (prevCondition) return null;\n\t\t\tconst segmentToFocus = Array.from(segmentElements.value)[currentSegmentIndex.value - sign];\n\t\t\treturn segmentToFocus;\n\t\t});\n\t\tconst kbd = useKbd();\n\t\tfunction handleKeydown(e) {\n\t\t\tif (e.isComposing) return;\n\t\t\tif (!isSegmentNavigationKey(e.key)) return;\n\t\t\tif (e.key === kbd.ARROW_LEFT) prevFocusableSegment.value?.focus();\n\t\t\tif (e.key === kbd.ARROW_RIGHT) nextFocusableSegment.value?.focus();\n\t\t}\n\t\tfunction setFocusedElement(el) {\n\t\t\tcurrentFocusedElement.value = el;\n\t\t}\n\t\tprovideTimeFieldRootContext({\n\t\t\tlocale,\n\t\t\tmodelValue: convertedModelValue,\n\t\t\tplaceholder: convertedPlaceholder,\n\t\t\tdisabled,\n\t\t\tformatter,\n\t\t\thourCycle: props.hourCycle,\n\t\t\tstep,\n\t\t\tstepSnapping,\n\t\t\treadonly,\n\t\t\tsegmentValues,\n\t\t\tisInvalid,\n\t\t\tsegmentContents: editableSegmentContents,\n\t\t\telements: segmentElements,\n\t\t\tsetFocusedElement,\n\t\t\tfocusNext() {\n\t\t\t\tArray.from(segmentElements.value)[currentSegmentIndex.value + 1]?.focus();\n\t\t\t}\n\t\t});\n\t\t__expose({ setFocusedElement });\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\trole: \"group\",\n\t\t\t\t\"aria-disabled\": unref(disabled) ? true : void 0,\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0,\n\t\t\t\t\"data-readonly\": unref(readonly) ? \"\" : void 0,\n\t\t\t\t\"data-invalid\": isInvalid.value ? \"\" : void 0,\n\t\t\t\tdir: unref(dir),\n\t\t\t\tonKeydown: withKeys(handleKeydown, [\"left\", \"right\"])\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", {\n\t\t\t\t\tmodelValue: unref(modelValue),\n\t\t\t\t\tsegments: segmentContents.value,\n\t\t\t\t\tisInvalid: isInvalid.value\n\t\t\t\t}), createVNode(unref(VisuallyHidden_default), {\n\t\t\t\t\tid: _ctx.id,\n\t\t\t\t\tas: \"input\",\n\t\t\t\t\tfeature: \"focusable\",\n\t\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\tvalue: unref(modelValue) ? unref(modelValue).toString() : \"\",\n\t\t\t\t\tname: _ctx.name,\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tonFocus: _cache[0] || (_cache[0] = ($event) => Array.from(segmentElements.value)?.[0]?.focus())\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"aria-disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-readonly\",\n\t\t\t\t\"data-invalid\",\n\t\t\t\t\"dir\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/TimeField/TimeFieldRoot.vue\nvar TimeFieldRoot_default = TimeFieldRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { TimeFieldRoot_default, injectTimeFieldRootContext };\n//# sourceMappingURL=TimeFieldRoot.js.map","import { Primitive } from \"../Primitive/Primitive.js\";\nimport { useDateField } from \"../date/useDateField.js\";\nimport { injectTimeFieldRootContext } from \"./TimeFieldRoot.js\";\nimport { computed, createBlock, defineComponent, mergeProps, openBlock, ref, renderSlot, toHandlers, unref, withCtx } from \"vue\";\n\n//#region src/TimeField/TimeFieldInput.vue?vue&type=script&setup=true&lang.ts\nvar TimeFieldInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"TimeFieldInput\",\n\tprops: {\n\t\tpart: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst rootContext = injectTimeFieldRootContext();\n\t\tconst hasLeftFocus = ref(true);\n\t\tconst lastKeyZero = ref(false);\n\t\tconst { handleSegmentClick, handleSegmentKeydown, handleSegmentBeforeInput, handleSegmentCompositionStart, handleSegmentCompositionEnd, handleSegmentFocusOut, attributes } = useDateField({\n\t\t\thasLeftFocus,\n\t\t\tlastKeyZero,\n\t\t\tplaceholder: rootContext.placeholder,\n\t\t\thourCycle: rootContext.hourCycle,\n\t\t\tstep: rootContext.step,\n\t\t\tstepSnapping: rootContext.stepSnapping,\n\t\t\tsegmentValues: rootContext.segmentValues,\n\t\t\tformatter: rootContext.formatter,\n\t\t\tpart: props.part,\n\t\t\tdisabled: rootContext.disabled,\n\t\t\treadonly: rootContext.readonly,\n\t\t\tfocusNext: rootContext.focusNext,\n\t\t\tmodelValue: rootContext.modelValue\n\t\t});\n\t\tconst disabled = computed(() => rootContext.disabled.value);\n\t\tconst readonly = computed(() => rootContext.readonly.value);\n\t\tconst isInvalid = computed(() => rootContext.isInvalid.value);\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps({\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild\n\t\t\t}, unref(attributes), {\n\t\t\t\tcontenteditable: disabled.value || readonly.value ? false : _ctx.part !== \"literal\",\n\t\t\t\t\"data-reka-time-field-segment\": _ctx.part,\n\t\t\t\t\"aria-disabled\": disabled.value ? true : void 0,\n\t\t\t\t\"aria-readonly\": readonly.value ? true : void 0,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-invalid\": isInvalid.value ? \"\" : void 0,\n\t\t\t\t\"aria-invalid\": isInvalid.value ? true : void 0\n\t\t\t}, toHandlers(_ctx.part !== \"literal\" ? {\n\t\t\t\tmousedown: unref(handleSegmentClick),\n\t\t\t\tkeydown: unref(handleSegmentKeydown),\n\t\t\t\tbeforeinput: unref(handleSegmentBeforeInput),\n\t\t\t\tcompositionstart: unref(handleSegmentCompositionStart),\n\t\t\t\tcompositionend: unref(handleSegmentCompositionEnd),\n\t\t\t\tfocusout: () => {\n\t\t\t\t\thasLeftFocus.value = true;\n\t\t\t\t\tunref(handleSegmentFocusOut)();\n\t\t\t\t},\n\t\t\t\tfocusin: (e) => {\n\t\t\t\t\tunref(rootContext).setFocusedElement(e.target);\n\t\t\t\t}\n\t\t\t} : {})), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"contenteditable\",\n\t\t\t\t\"data-reka-time-field-segment\",\n\t\t\t\t\"aria-disabled\",\n\t\t\t\t\"aria-readonly\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-invalid\",\n\t\t\t\t\"aria-invalid\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/TimeField/TimeFieldInput.vue\nvar TimeFieldInput_default = TimeFieldInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { TimeFieldInput_default };\n//# sourceMappingURL=TimeFieldInput.js.map","<template>\n <TimeFieldRoot\n :id=\"computedId\"\n v-slot=\"{segments, isInvalid, modelValue: currentValue}\"\n v-model=\"modelValue\"\n v-model:placeholder=\"placeholderModel\"\n :default-value=\"props.defaultValue\"\n :default-placeholder=\"props.defaultPlaceholder\"\n :hour-cycle=\"props.hourCycle\"\n :step=\"props.step\"\n :step-snapping=\"props.stepSnapping\"\n :granularity=\"props.granularity\"\n :hide-time-zone=\"props.hideTimeZone\"\n :max-value=\"props.maxValue\"\n :min-value=\"props.minValue\"\n :locale=\"props.locale\"\n :disabled=\"props.disabled\"\n :readonly=\"props.readonly\"\n :name=\"props.name\"\n :required=\"props.required\"\n :dir=\"props.dir\"\n :class=\"computedRootClasses\"\n class=\"b-time-field form-control d-inline-flex align-items-center gap-0\"\n >\n <slot :model-value=\"currentValue\" :segments=\"segments\" :is-invalid=\"isInvalid\">\n <template v-for=\"{part, value} in segments\" :key=\"part\">\n <TimeFieldInput v-if=\"part === 'literal'\" :part=\"part\" class=\"b-time-field-literal\">\n {{ value }}\n </TimeFieldInput>\n <TimeFieldInput v-else :part=\"part\" class=\"b-time-field-segment\">\n {{ value }}\n </TimeFieldInput>\n </template>\n </slot>\n </TimeFieldRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {TimeFieldInput, TimeFieldRoot} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport type {BTimeFieldProps, BTimeFieldSlots} from '../../types'\n\nconst _props = withDefaults(defineProps<Omit<BTimeFieldProps, 'modelValue' | 'placeholder'>>(), {\n defaultPlaceholder: undefined,\n defaultValue: undefined,\n dir: undefined,\n disabled: false,\n granularity: undefined,\n hideTimeZone: undefined,\n hourCycle: undefined,\n id: undefined,\n locale: undefined,\n maxValue: undefined,\n minValue: undefined,\n name: undefined,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n step: undefined,\n stepSnapping: false,\n})\nconst props = useDefaults(_props, 'BTimeField')\ndefineSlots<BTimeFieldSlots>()\n\nconst modelValue = defineModel<Exclude<BTimeFieldProps['modelValue'], undefined>>({\n default: null,\n})\n\nconst placeholderModel = defineModel<BTimeFieldProps['placeholder']>('placeholder')\n\nconst computedId = useId(() => props.id, 'time-field')\n\nconst computedRootClasses = computed(() => ({\n 'disabled': props.disabled,\n 'readonly': props.readonly,\n 'is-valid': props.state === true,\n 'is-invalid': props.state === false,\n [`form-control-${props.size}`]: props.size !== undefined,\n}))\n</script>\n","<template>\n <TimeFieldRoot\n :id=\"computedId\"\n v-slot=\"{segments, isInvalid, modelValue: currentValue}\"\n v-model=\"modelValue\"\n v-model:placeholder=\"placeholderModel\"\n :default-value=\"props.defaultValue\"\n :default-placeholder=\"props.defaultPlaceholder\"\n :hour-cycle=\"props.hourCycle\"\n :step=\"props.step\"\n :step-snapping=\"props.stepSnapping\"\n :granularity=\"props.granularity\"\n :hide-time-zone=\"props.hideTimeZone\"\n :max-value=\"props.maxValue\"\n :min-value=\"props.minValue\"\n :locale=\"props.locale\"\n :disabled=\"props.disabled\"\n :readonly=\"props.readonly\"\n :name=\"props.name\"\n :required=\"props.required\"\n :dir=\"props.dir\"\n :class=\"computedRootClasses\"\n class=\"b-time-field form-control d-inline-flex align-items-center gap-0\"\n >\n <slot :model-value=\"currentValue\" :segments=\"segments\" :is-invalid=\"isInvalid\">\n <template v-for=\"{part, value} in segments\" :key=\"part\">\n <TimeFieldInput v-if=\"part === 'literal'\" :part=\"part\" class=\"b-time-field-literal\">\n {{ value }}\n </TimeFieldInput>\n <TimeFieldInput v-else :part=\"part\" class=\"b-time-field-segment\">\n {{ value }}\n </TimeFieldInput>\n </template>\n </slot>\n </TimeFieldRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {TimeFieldInput, TimeFieldRoot} from 'reka-ui'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport type {BTimeFieldProps, BTimeFieldSlots} from '../../types'\n\nconst _props = withDefaults(defineProps<Omit<BTimeFieldProps, 'modelValue' | 'placeholder'>>(), {\n defaultPlaceholder: undefined,\n defaultValue: undefined,\n dir: undefined,\n disabled: false,\n granularity: undefined,\n hideTimeZone: undefined,\n hourCycle: undefined,\n id: undefined,\n locale: undefined,\n maxValue: undefined,\n minValue: undefined,\n name: undefined,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n step: undefined,\n stepSnapping: false,\n})\nconst props = useDefaults(_props, 'BTimeField')\ndefineSlots<BTimeFieldSlots>()\n\nconst modelValue = defineModel<Exclude<BTimeFieldProps['modelValue'], undefined>>({\n default: null,\n})\n\nconst placeholderModel = defineModel<BTimeFieldProps['placeholder']>('placeholder')\n\nconst computedId = useId(() => props.id, 'time-field')\n\nconst computedRootClasses = computed(() => ({\n 'disabled': props.disabled,\n 'readonly': props.readonly,\n 'is-valid': props.state === true,\n 'is-invalid': props.state === false,\n [`form-control-${props.size}`]: props.size !== undefined,\n}))\n</script>\n"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;AAkBA,IAAM,CAAC,4BAA4B,+BAA6C,4BAAc,eAAe;AAC7G,SAAS,aAAa,OAAO,OAAOA,0CAAMC,0CAAiB,CAAC,GAAG;CAC9D,IAAI,SAAS,SAAS,OAAO,OAAO;CACpC,OAAOC,0CAAmB,MAAM,KAAK;AACtC;AAsSA,IAAI,wBArS4E,gCAAgB;CAC/F,cAAc;CACd,QAAQ;CACR,OAAO;EACN,cAAc;GACb,MAAM;GACN,UAAU;GACV,SAAS,KAAK;EACf;EACA,oBAAoB;GACnB,MAAM;GACN,UAAU;EACX;EACA,aAAa;GACZ,MAAM;GACN,UAAU;GACV,SAAS,KAAK;EACf;EACA,YAAY;GACX,MAAM,CAAC,QAAQ,IAAI;GACnB,UAAU;EACX;EACA,WAAW;GACV,MAAM;GACN,UAAU;EACX;EACA,MAAM;GACL,MAAM;GACN,UAAU;EACX;EACA,cAAc;GACb,MAAM;GACN,UAAU;GACV,SA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