@adyen/bento-vue3 1.87.0 → 1.87.1

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.
Files changed (38) hide show
  1. package/dist/assets/accordion-item.css +1 -1
  2. package/dist/assets/action-bar.css +1 -1
  3. package/dist/assets/base-modal.css +1 -1
  4. package/dist/assets/button-actions.css +1 -1
  5. package/dist/assets/card.css +1 -1
  6. package/dist/assets/data-grid.css +1 -1
  7. package/dist/assets/date-range-picker.css +1 -1
  8. package/dist/assets/dialog-page.css +1 -1
  9. package/dist/assets/file-uploader.css +1 -1
  10. package/dist/assets/inspector.css +1 -1
  11. package/dist/assets/modal-fullscreen.css +1 -1
  12. package/dist/assets/sidepanel.css +1 -1
  13. package/dist/checkbox.js +2 -2
  14. package/dist/chunks/{checkbox-group.ODQy-ICn.js → checkbox-group.CYdDwMRy.js} +2 -2
  15. package/dist/chunks/{checkbox-group.ODQy-ICn.js.map → checkbox-group.CYdDwMRy.js.map} +1 -1
  16. package/dist/chunks/{checkbox.C3Ewfygy.js → checkbox.CSV86azi.js} +18 -18
  17. package/dist/chunks/{checkbox.C3Ewfygy.js.map → checkbox.CSV86azi.js.map} +1 -1
  18. package/dist/chunks/{data-grid.KudN-TcY.js → data-grid.DKys-Nai.js} +4 -4
  19. package/dist/chunks/{data-grid.KudN-TcY.js.map → data-grid.DKys-Nai.js.map} +1 -1
  20. package/dist/chunks/{date-range-picker.CDDw_xl_.js → date-range-picker.CHq6WwCb.js} +430 -450
  21. package/dist/chunks/{date-range-picker.CDDw_xl_.js.map → date-range-picker.CHq6WwCb.js.map} +1 -1
  22. package/dist/chunks/{filter-bar.xwfVuZw4.js → filter-bar.CuN1cxZZ.js} +8 -8
  23. package/dist/chunks/{filter-bar.xwfVuZw4.js.map → filter-bar.CuN1cxZZ.js.map} +1 -1
  24. package/dist/chunks/{header-with-views.BT6lbAby.js → header-with-views.BwhK4MPe.js} +2 -2
  25. package/dist/chunks/{header-with-views.BT6lbAby.js.map → header-with-views.BwhK4MPe.js.map} +1 -1
  26. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js → rich-text-editor.B5sL2RuL.js} +2 -2
  27. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js.map → rich-text-editor.B5sL2RuL.js.map} +1 -1
  28. package/dist/chunks/{selection-card-group.KBl4fVSH.js → selection-card-group.BuA6CLom.js} +9 -9
  29. package/dist/chunks/{selection-card-group.KBl4fVSH.js.map → selection-card-group.BuA6CLom.js.map} +1 -1
  30. package/dist/data-grid.js +1 -1
  31. package/dist/date-range-picker.js +1 -1
  32. package/dist/filter-bar.js +1 -1
  33. package/dist/header-with-views.js +1 -1
  34. package/dist/index.js +8 -8
  35. package/dist/rich-text-editor.js +1 -1
  36. package/dist/selection-card.js +1 -1
  37. package/dist/web-types.json +1 -1
  38. package/package.json +4 -4
@@ -1,135 +1,135 @@
1
- import { reactive as Me, defineComponent as ra, useSlots as Ia, ref as B, computed as p, onMounted as sa, openBlock as F, createElementBlock as he, createElementVNode as X, normalizeClass as Re, unref as c, renderSlot as Qe, createCommentVNode as C, createBlock as K, createVNode as H, withCtx as G, createTextVNode as ne, toDisplayString as _e, toRaw as Ae, watch as ke, useAttrs as Sa, toRef as Ee, withDirectives as Oa, withKeys as We, createSlots as wa } from "vue";
2
- import { j as Fa } from "./index.Dppy4qHk.js";
1
+ import { reactive as ke, defineComponent as ra, useSlots as Ia, ref as B, computed as p, onMounted as sa, openBlock as F, createElementBlock as be, createElementVNode as z, normalizeClass as he, unref as c, renderSlot as We, createCommentVNode as C, createBlock as G, createVNode as K, withCtx as W, createTextVNode as ae, toDisplayString as Ae, toRaw as Be, watch as Re, useAttrs as Ma, toRef as Ee, withDirectives as Sa, withKeys as Ge, createSlots as Oa } from "vue";
2
+ import { j as wa } from "./index.Dppy4qHk.js";
3
3
  import { B as Ea } from "./divider.BIY84UH7.js";
4
- import { h as _a, B as Aa } from "./button-actions.BYBpjNqy.js";
5
- import { B as Be, d as Ge } from "./typography.B3J6_tYk.js";
6
- import { D as Ba } from "./dropdown-default-textbox.CskseEho.js";
7
- import { g as oe } from "./generate-uid.NJ8tVoha.js";
8
- import { u as Ce } from "./index.B875RXHM.js";
9
- import { e as la, f as ie, i as N, h as M, j as Ca, k as Ke, l as qa, s as He, m as Ua, n as Pe, b as W, u as Ya, o as q, g as Na } from "./calendar.vM3abC8y.js";
10
- import { u as qe, a as xa } from "./use-date-input-formatter.dtbK-CEy.js";
11
- import { t as P, n as $a, c as ja } from "./en-US.YeSsZuOc.js";
12
- import { u as La } from "./use-form-layout-loading.CWbjZiwP.js";
13
- import { B as Qa } from "./directive.rXUeDb8p.js";
14
- import { u as Wa } from "./form-field.D_2g7vaP.js";
4
+ import { h as Fa, B as _a } from "./button-actions.BYBpjNqy.js";
5
+ import { B as Ce, d as Ke } from "./typography.B3J6_tYk.js";
6
+ import { D as Aa } from "./dropdown-default-textbox.CskseEho.js";
7
+ import { g as le } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as qe } from "./index.B875RXHM.js";
9
+ import { e as la, f as oe, i as x, h as R, j as Ba, k as He, l as Ca, s as Pe, m as qa, n as Ve, b as Q, u as Ya, o as q, g as Na } from "./calendar.vM3abC8y.js";
10
+ import { u as Ye, a as xa } from "./use-date-input-formatter.dtbK-CEy.js";
11
+ import { t as H, n as Ua, c as $a } from "./en-US.YeSsZuOc.js";
12
+ import { u as ja } from "./use-form-layout-loading.CWbjZiwP.js";
13
+ import { B as La } from "./directive.rXUeDb8p.js";
14
+ import { u as Qa } from "./form-field.D_2g7vaP.js";
15
15
  import { B as ge } from "./input-field.DqXVoKpy.js";
16
- import { B as Ga } from "./dropdown.Bdw2B-Cw.js";
17
- import { B as Ka } from "./segmented-control.Aqquod8g.js";
16
+ import { B as Wa } from "./dropdown.Bdw2B-Cw.js";
17
+ import { B as Ga } from "./segmented-control.Aqquod8g.js";
18
18
  import { d as Te } from "./debounce.DUTu11PS.js";
19
- import { u as Ha } from "./use-has-slot.B7eQSabc.js";
20
- import { e as j, a as Ve } from "./differenceInMonths.CIYECBxK.js";
21
- import { s as ze } from "./startOfWeek.CXhhX-R7.js";
22
- import { c as Pa } from "./constructNow.CIc7d13I.js";
19
+ import { u as Ka } from "./use-has-slot.B7eQSabc.js";
20
+ import { e as $, a as ze } from "./differenceInMonths.CIYECBxK.js";
21
+ import { s as Je } from "./startOfWeek.CXhhX-R7.js";
22
+ import { c as Ha } from "./constructNow.CIc7d13I.js";
23
23
  import { _ as oa } from "./_plugin-vue_export-helper.CHgC5LLL.js";
24
- import { F as Va, E as Je } from "./error-message.oGiefI2-.js";
25
- import { B as za } from "./button-actions.types.BptAXjD8.js";
24
+ import { F as Pa, E as Xe } from "./error-message.oGiefI2-.js";
25
+ import { B as Va } from "./button-actions.types.BptAXjD8.js";
26
26
  import "../assets/date-range-picker.css";
27
27
  function ia(t, o, d) {
28
28
  return la(t, o * 3, d);
29
29
  }
30
- function Xe(t, o) {
31
- const d = P(t, o == null ? void 0 : o.in);
30
+ function Ze(t, o) {
31
+ const d = H(t, o == null ? void 0 : o.in);
32
32
  return Math.trunc(d.getMonth() / 3) + 1;
33
33
  }
34
- function Ze(t, o) {
35
- return P(t, o == null ? void 0 : o.in).getFullYear();
34
+ function ea(t, o) {
35
+ return H(t, o == null ? void 0 : o.in).getFullYear();
36
36
  }
37
- function be(t, o) {
38
- return +P(t) == +P(o);
37
+ function Fe(t, o) {
38
+ return +H(t) == +H(o);
39
39
  }
40
- function Ja(t, o, d) {
41
- const [r, e] = $a(
40
+ function za(t, o, d) {
41
+ const [r, e] = Ua(
42
42
  d == null ? void 0 : d.in,
43
43
  t,
44
44
  o
45
45
  );
46
- return +ie(r) == +ie(e);
46
+ return +oe(r) == +oe(e);
47
47
  }
48
- function ea(t, o) {
49
- const d = P(t, o == null ? void 0 : o.in);
48
+ function aa(t, o) {
49
+ const d = H(t, o == null ? void 0 : o.in);
50
50
  return d.setMilliseconds(0), d;
51
51
  }
52
- function aa(t, o) {
53
- return +ea(t) == +ea(o);
52
+ function _e(t, o) {
53
+ return +aa(t) == +aa(o);
54
54
  }
55
- function Xa(t, o) {
56
- return N(
57
- ja(t, t),
58
- Pa(t)
55
+ function Ja(t, o) {
56
+ return x(
57
+ $a(t, t),
58
+ Ha(t)
59
59
  );
60
60
  }
61
- function Za(t, o, d) {
62
- const r = P(t, d == null ? void 0 : d.in);
61
+ function Xa(t, o, d) {
62
+ const r = H(t, d == null ? void 0 : d.in);
63
63
  return r.setHours(o), r;
64
64
  }
65
65
  function ta(t, o, d) {
66
- const r = P(t, d == null ? void 0 : d.in);
66
+ const r = H(t, d == null ? void 0 : d.in);
67
67
  return r.setMilliseconds(o), r;
68
68
  }
69
- function et(t, o, d) {
70
- const r = P(t, d == null ? void 0 : d.in);
69
+ function Za(t, o, d) {
70
+ const r = H(t, d == null ? void 0 : d.in);
71
71
  return r.setMinutes(o), r;
72
72
  }
73
- function at(t, o, d) {
74
- const r = P(t, d == null ? void 0 : d.in);
73
+ function et(t, o, d) {
74
+ const r = H(t, d == null ? void 0 : d.in);
75
75
  return r.setSeconds(o), r;
76
76
  }
77
- function tt(t, o, d) {
77
+ function at(t, o, d) {
78
78
  return ia(t, -1, d);
79
79
  }
80
- const nt = ({
80
+ const tt = ({
81
81
  firstDayOfWeek: t,
82
82
  min: o,
83
83
  max: d
84
84
  }) => ({ getGranularCalendarLimits: (e) => {
85
85
  if (!o && !d)
86
86
  return { min: null, max: null };
87
- let u = o ? M(o) : null, f = d ? j(d) : null;
87
+ let u = o ? R(o) : null, f = d ? $(d) : null;
88
88
  if ((e == null ? void 0 : e.type) === "weekly") {
89
89
  if (e.earliest)
90
- u = M(e.earliest);
90
+ u = R(e.earliest);
91
91
  else if (u) {
92
- const y = ze(u, { weekStartsOn: t });
93
- N(u, y) || (u = M(Ca(Ke(u, { weekStartsOn: t }), 1)));
92
+ const y = Je(u, { weekStartsOn: t });
93
+ x(u, y) || (u = R(Ba(He(u, { weekStartsOn: t }), 1)));
94
94
  }
95
95
  if (e.latest)
96
- f = j(e.latest);
96
+ f = $(e.latest);
97
97
  else if (f) {
98
- const y = Ke(f, { weekStartsOn: t });
99
- N(f, y) || (f = j(qa(ze(f, { weekStartsOn: t }), 1)));
98
+ const y = He(f, { weekStartsOn: t });
99
+ x(f, y) || (f = $(Ca(Je(f, { weekStartsOn: t }), 1)));
100
100
  }
101
101
  }
102
102
  if ((e == null ? void 0 : e.type) === "monthly") {
103
103
  if (e.earliest)
104
- u = M(e.earliest);
104
+ u = R(e.earliest);
105
105
  else if (u) {
106
- const y = He(u);
107
- N(u, y) || (u = He(la(u, 1)));
106
+ const y = Pe(u);
107
+ x(u, y) || (u = Pe(la(u, 1)));
108
108
  }
109
109
  if (e.latest)
110
- f = j(e.latest);
110
+ f = $(e.latest);
111
111
  else if (f) {
112
- const y = Ve(f);
113
- N(f, y) || (f = Ve(Ua(f, 1)));
112
+ const y = ze(f);
113
+ x(f, y) || (f = ze(qa(f, 1)));
114
114
  }
115
115
  }
116
116
  if ((e == null ? void 0 : e.type) === "quarterly") {
117
117
  if (e.earliest)
118
- u = ie(e.earliest);
118
+ u = oe(e.earliest);
119
119
  else if (u) {
120
- const y = ie(u);
121
- N(u, y) || (u = ie(ia(u, 1)));
120
+ const y = oe(u);
121
+ x(u, y) || (u = oe(ia(u, 1)));
122
122
  }
123
123
  if (e.latest)
124
- f = j(e.latest);
124
+ f = $(e.latest);
125
125
  else if (f) {
126
- const y = Pe(f);
127
- N(f, y) || (f = Pe(tt(f)));
126
+ const y = Ve(f);
127
+ x(f, y) || (f = Ve(at(f)));
128
128
  }
129
129
  }
130
130
  return { min: u, max: f };
131
- } }), rt = () => {
132
- const t = Me({
131
+ } }), nt = () => {
132
+ const t = ke({
133
133
  daily: null,
134
134
  weekly: null,
135
135
  monthly: null,
@@ -146,8 +146,8 @@ const nt = ({
146
146
  };
147
147
  };
148
148
  var g = /* @__PURE__ */ ((t) => (t.CUSTOM_RANGE = "custom-range", t.INPUT = "input", t.ERROR = "error", t.FORM_DATE = "form-date", t.START_DATE_SELECTED = "start-date-selected", t))(g || {});
149
- const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
150
- const { selectionStart: o } = t.target, d = ["Backspace", "Tab", "ArrowLeft", "ArrowRight"], r = st.test(t.key) || d.includes(t.key), e = [1, 2, 4, 5].includes(o) && t.key === ":";
149
+ const rt = /[\d]/, st = /^\d{2}$/, lt = /^\d{2}:\d{2}$/, ot = (t) => {
150
+ const { selectionStart: o } = t.target, d = ["Backspace", "Tab", "ArrowLeft", "ArrowRight"], r = rt.test(t.key) || d.includes(t.key), e = [1, 2, 4, 5].includes(o) && t.key === ":";
151
151
  !r && !e && t.preventDefault();
152
152
  }, na = (t) => {
153
153
  if (!t)
@@ -156,7 +156,7 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
156
156
  if (o.length === 1 && parseInt(t, 10) > 2)
157
157
  return `0${o}:`;
158
158
  const [d, r] = o.slice(-2);
159
- return [2, 5].includes(o.length) && r === ":" && (o = `${o.slice(0, o.length - 2)}0${d}`), (lt.test(o) || ot.test(o)) && (o += ":"), o;
159
+ return [2, 5].includes(o.length) && r === ":" && (o = `${o.slice(0, o.length - 2)}0${d}`), (st.test(o) || lt.test(o)) && (o += ":"), o;
160
160
  }, ua = {
161
161
  "en-US": {
162
162
  "DD-MM-YYYY": "DD-MM-YYYY",
@@ -203,15 +203,15 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
203
203
  timeTo: "Hora de",
204
204
  weekly: "Semanal"
205
205
  }
206
- }, ut = { class: "b-date-range-picker-calendar" }, dt = { class: "b-date-range-picker-calendar__form" }, mt = { key: 0 }, ct = {
206
+ }, it = { class: "b-date-range-picker-calendar" }, ut = { class: "b-date-range-picker-calendar__form" }, dt = { key: 0 }, mt = {
207
207
  key: 0,
208
208
  class: "b-date-range-picker-calendar__calendars-container",
209
209
  "data-testid": "date-range-picker-calendar-calendar-container"
210
- }, Dt = {
210
+ }, ct = {
211
211
  name: "date-range-picker-calendar",
212
212
  i18n: { messages: ua }
213
- }, ft = /* @__PURE__ */ ra({
214
- ...Dt,
213
+ }, Dt = /* @__PURE__ */ ra({
214
+ ...ct,
215
215
  props: {
216
216
  /**
217
217
  * Allows user to enter time values in the form
@@ -227,7 +227,7 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
227
227
  /**
228
228
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
229
229
  */
230
- firstDayOfWeek: W.props.firstDayOfWeek,
230
+ firstDayOfWeek: Q.props.firstDayOfWeek,
231
231
  /**
232
232
  * A list of available granularities.
233
233
  * If present, the date picker will display a segmented control to change granularity.
@@ -239,25 +239,25 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
239
239
  /**
240
240
  * Indicate if a date should be disabled or not
241
241
  */
242
- isDateDisabled: W.props.isDateDisabled,
242
+ isDateDisabled: Q.props.isDateDisabled,
243
243
  /**
244
244
  * Set a maximum number of dates to be selectable by the range.
245
245
  */
246
- maxRange: W.props.maxRange,
246
+ maxRange: Q.props.maxRange,
247
247
  /**
248
248
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
249
249
  */
250
- min: W.props.min,
250
+ min: Q.props.min,
251
251
  /**
252
252
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
253
253
  */
254
- max: W.props.max,
254
+ max: Q.props.max,
255
255
  /**
256
256
  * Number of months rendered on pane
257
257
  */
258
258
  numberOfMonths: {
259
- type: W.props.numberOfMonths.type,
260
- default: W.props.numberOfMonths.default,
259
+ type: Q.props.numberOfMonths.type,
260
+ default: Q.props.numberOfMonths.default,
261
261
  validator: (t) => t >= 0
262
262
  },
263
263
  /**
@@ -282,7 +282,7 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
282
282
  /**
283
283
  * The type of calendar to display. Defaults to showing days.
284
284
  */
285
- variant: W.props.variant
285
+ variant: Q.props.variant
286
286
  },
287
287
  emits: [
288
288
  g.CUSTOM_RANGE,
@@ -292,247 +292,227 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
292
292
  g.START_DATE_SELECTED
293
293
  ],
294
294
  setup(t, { emit: o }) {
295
- var xe, $e, je, Le;
296
- const r = "customRange", e = t, u = o, f = Ia(), y = Ha(f), { t: I } = Ce({ messages: ua }), {
297
- dateFormat: V,
298
- isFormatValid: S,
299
- parseDate: E,
300
- onKeyDown: ue,
295
+ var $e, je, Le, Qe;
296
+ const r = "customRange", e = t, u = o, f = Ia(), y = Ka(f), { t: k } = qe({ messages: ua }), {
297
+ dateFormat: P,
298
+ isFormatValid: M,
299
+ parseDate: _,
300
+ onKeyDown: ie,
301
301
  autoFormat: v,
302
- formatDate: re
303
- } = qe(), _ = B({}), U = p(() => e.variant === "month" ? "monthly" : "daily"), x = p(() => e.numberOfMonths === 0), n = Me({
304
- startDate: (xe = e.value) == null ? void 0 : xe.startDate,
305
- endDate: ($e = e.value) == null ? void 0 : $e.endDate,
306
- range: (je = e.value) == null ? void 0 : je.range,
302
+ formatDate: te
303
+ } = Ye(), A = B({}), Y = p(() => e.variant === "month" ? "monthly" : "daily"), U = p(() => e.numberOfMonths === 0), n = ke({
304
+ startDate: ($e = e.value) == null ? void 0 : $e.startDate,
305
+ endDate: (je = e.value) == null ? void 0 : je.endDate,
306
+ range: (Le = e.value) == null ? void 0 : Le.range,
307
307
  ...e.granularities ? {
308
- granularity: ((Le = e.value) == null ? void 0 : Le.granularity) || U.value
308
+ granularity: ((Qe = e.value) == null ? void 0 : Qe.granularity) || Y.value
309
309
  } : {}
310
- });
311
- function h(a) {
312
- return a ? new Date(
313
- a.getUTCFullYear(),
314
- a.getUTCMonth(),
315
- a.getUTCDate(),
316
- a.getUTCHours(),
317
- a.getUTCMinutes(),
318
- a.getUTCSeconds()
319
- ) : null;
320
- }
321
- const T = p(() => {
310
+ }), N = p(() => {
322
311
  var a, l;
323
312
  return (
324
313
  // eslint-disable-next-line consistent-return
325
314
  ((l = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ value: m, data: D }) => {
326
- var k;
315
+ var h;
327
316
  if (!D.endDate) {
328
317
  if (D.isRelativeToNow) {
329
- const w = (k = _.value) == null ? void 0 : k[m];
330
- return w ? be(
331
- h(w.startDate),
332
- h(n.startDate)
333
- ) && be(
334
- h(w.endDate),
335
- h(n.endDate)
336
- ) : (
318
+ const E = (h = A.value) == null ? void 0 : h[m];
319
+ return E ? Fe(E.startDate, n.startDate) && Fe(E.endDate, n.endDate) : (
337
320
  // If not stored calculated dates, fall back to comparing the quick select item's value
338
321
  // with the internal range's stored range identifier.
339
322
  m === n.range
340
323
  );
341
324
  }
342
- return be(h(D.startDate), h(n.startDate)) && be(
343
- h(n.endDate),
344
- h(j(n.endDate))
345
- ) && Xa(h(n.endDate)) && (e.granularities ? D.granularity === n.granularity : !0);
325
+ return Fe(D.startDate, n.startDate) && Ja(n.endDate) && (!e.allowTimeInput || _e(n.endDate, $(n.endDate))) && (e.granularities ? D.granularity === n.granularity : !0);
346
326
  }
347
327
  if (e.allowTimeInput)
348
- return aa(h(D.startDate), h(n.startDate)) && aa(h(D.endDate), h(n.endDate)) && (e.granularities ? D.granularity === n.granularity : !0);
328
+ return _e(D.startDate, n.startDate) && _e(D.endDate, n.endDate) && (e.granularities ? D.granularity === n.granularity : !0);
349
329
  if (D.endDate)
350
- return N(D.startDate, n.startDate) && N(D.endDate, n.endDate) && (e.granularities ? D.granularity === n.granularity : !0);
330
+ return x(D.startDate, n.startDate) && x(D.endDate, n.endDate) && (e.granularities ? D.granularity === n.granularity : !0);
351
331
  })) == null ? void 0 : l.value) ?? r
352
332
  );
353
- }), de = p(() => ({
333
+ }), O = p(() => ({
354
334
  "b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
355
- })), me = p(() => [
356
- { label: I("customRange"), value: r },
335
+ })), Ie = p(() => [
336
+ { label: k("customRange"), value: r },
357
337
  ...e.quickSelectRanges ? e.quickSelectRanges : []
358
- ]), Z = p(
338
+ ]), J = p(
359
339
  () => {
360
340
  var a;
361
341
  return ((a = e.granularities) == null ? void 0 : a.find(({ type: l }) => l === n.granularity)) || null;
362
342
  }
363
- ), se = p(
343
+ ), ue = p(
364
344
  () => {
365
345
  var a;
366
346
  return ((a = e.granularities) == null ? void 0 : a.map(({ type: l, disabled: m }) => ({
367
- label: I(l),
347
+ label: k(l),
368
348
  value: l,
369
349
  disabled: m
370
350
  }))) ?? [];
371
351
  }
372
- ), { getGranularCalendarLimits: Ie } = nt(e), b = p(
373
- () => e.granularities ? Ie(Z.value) : { min: e.min ? M(e.min) : null, max: e.max ? j(e.max) : null }
352
+ ), { getGranularCalendarLimits: re } = tt(e), T = p(
353
+ () => e.granularities ? re(J.value) : { min: e.min ? R(e.min) : null, max: e.max ? $(e.max) : null }
374
354
  ), {
375
- adjustDateForQuarterly: ce,
376
- adjustDateForMonthly: le,
377
- adjustDateForWeekly: R,
378
- adjustStartDateInputForWeekly: Se,
379
- adjustEndDateInputForWeekly: ee,
380
- adjustStartDateInputForMonthly: Oe,
381
- adjustEndDateInputForMonthly: De,
382
- adjustStartDateInputForQuarterly: fe,
383
- adjustEndDateInputForQuarterly: z
384
- } = Ya(e.firstDayOfWeek), { savedRanges: Y, saveRange: we, resetSavedRanges: ve } = rt(), O = (a) => a ? re(a) : "", ae = B(!1), te = B(!1), L = B(!1), Q = B(!1), i = Me({
355
+ adjustDateForQuarterly: Me,
356
+ adjustDateForMonthly: de,
357
+ adjustDateForWeekly: se,
358
+ adjustStartDateInputForWeekly: b,
359
+ adjustEndDateInputForWeekly: Se,
360
+ adjustStartDateInputForMonthly: X,
361
+ adjustEndDateInputForMonthly: Oe,
362
+ adjustStartDateInputForQuarterly: me,
363
+ adjustEndDateInputForQuarterly: ce
364
+ } = Ya(e.firstDayOfWeek), { savedRanges: w, saveRange: ne, resetSavedRanges: De } = nt(), S = (a) => a ? te(a) : "", Z = B(!1), ee = B(!1), j = B(!1), L = B(!1), i = ke({
385
365
  startDate: e.dateFormData.startDate,
386
366
  endDate: e.dateFormData.endDate,
387
367
  startTime: e.dateFormData.startTime,
388
368
  endTime: e.dateFormData.endTime
389
- }), pe = (a, l) => {
369
+ }), fe = (a, l) => {
390
370
  let m = new Date(a);
391
- const [D, k, w] = l.split(":");
392
- return m = Za(m, parseInt(D, 10)), m = et(m, parseInt(k, 10)), m = at(m, parseInt(w, 10)), m;
393
- }, s = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), $ = (a, l) => {
371
+ const [D, h, E] = l.split(":");
372
+ return m = Xa(m, parseInt(D, 10)), m = Za(m, parseInt(h, 10)), m = et(m, parseInt(E, 10)), m;
373
+ }, ve = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), s = (a, l) => {
394
374
  const m = () => {
395
- if (l && J(l)) {
396
- const D = pe(E(l), a);
375
+ if (l && V(l)) {
376
+ const D = fe(_(l), a);
397
377
  if (e.min && D < ta(e.min, 0) || e.max && D > ta(e.max, 0))
398
378
  return !1;
399
379
  }
400
380
  return !0;
401
381
  };
402
- return s(a) && m();
403
- }, A = (a, l) => !l || !s(l) || e.variant === "month" ? a : pe(new Date(a), l), da = (a) => {
382
+ return ve(a) && m();
383
+ }, I = (a, l) => !l || !ve(l) || e.variant === "month" ? a : fe(new Date(a), l), pe = (a) => {
404
384
  i.startTime = q(
405
- e.min && e.allowTimeInput && N(e.min, a.startDate) ? e.min : M(a.startDate)
385
+ e.min && e.allowTimeInput && x(e.min, a.startDate) ? e.min : R(a.startDate)
406
386
  ), i.endTime = q(
407
- e.max && e.allowTimeInput && N(e.max, a.endDate) ? e.max : j(a.endDate)
408
- ), n.startDate = A(a.startDate, i.startTime), n.endDate = A(a.endDate, i.endTime), n.range = null, e.granularities && ve(), u(g.INPUT, {
387
+ e.max && e.allowTimeInput && x(e.max, a.endDate) ? e.max : $(a.endDate)
388
+ ), n.startDate = I(a.startDate, i.startTime), n.endDate = I(a.endDate, i.endTime), n.range = null, e.granularities && De(), u(g.INPUT, {
409
389
  ...n,
410
- range: T.value
390
+ range: N.value
411
391
  });
412
- }, J = (a) => {
392
+ }, V = (a) => {
413
393
  if (!a)
414
394
  return !1;
415
- const l = (m) => e.min && M(m) < M(e.min) || e.max && M(m) > M(e.max) ? !1 : e.isDateDisabled ? !e.isDateDisabled(M(m)) : !0;
416
- return S(a) && l(E(a));
395
+ const l = (m) => e.min && R(m) < R(e.min) || e.max && R(m) > R(e.max) ? !1 : e.isDateDisabled ? !e.isDateDisabled(R(m)) : !0;
396
+ return M(a) && l(_(a));
417
397
  };
418
398
  sa(() => {
419
- ae.value = !!(e.dateFormData.startDate && !J(e.dateFormData.startDate)), e.allowTimeInput ? L.value = !!(e.dateFormData.startTime && !$(e.dateFormData.startTime, e.dateFormData.startDate)) : L.value = !1, te.value = !!(e.dateFormData.endDate && !J(e.dateFormData.endDate)), e.allowTimeInput ? Q.value = !!(e.dateFormData.endTime && !$(e.dateFormData.endTime, e.dateFormData.endDate)) : Q.value = !1;
399
+ Z.value = !!(e.dateFormData.startDate && !V(e.dateFormData.startDate)), e.allowTimeInput ? j.value = !!(e.dateFormData.startTime && !s(e.dateFormData.startTime, e.dateFormData.startDate)) : j.value = !1, ee.value = !!(e.dateFormData.endDate && !V(e.dateFormData.endDate)), e.allowTimeInput ? L.value = !!(e.dateFormData.endTime && !s(e.dateFormData.endTime, e.dateFormData.endDate)) : L.value = !1;
420
400
  });
421
- const ma = (a) => {
401
+ const da = (a) => {
422
402
  var l;
423
- i.startDate = O(a), i.startTime ? L.value && (i.startTime = (l = e.dateFormData) == null ? void 0 : l.startTime) : i.startTime = q(a), ae.value = !1, L.value = !1, u(g.START_DATE_SELECTED, a);
424
- }, ca = (a) => {
403
+ i.startDate = S(a), i.startTime ? j.value && (i.startTime = (l = e.dateFormData) == null ? void 0 : l.startTime) : i.startTime = q(a), Z.value = !1, j.value = !1, u(g.START_DATE_SELECTED, a);
404
+ }, ma = (a) => {
425
405
  var l;
426
- i.endDate = O(a), i.endTime ? Q.value && (i.endTime = (l = e.dateFormData) == null ? void 0 : l.endTime) : i.endTime = q(j(a)), te.value = !1, Q.value = !1;
427
- }, Fe = (a) => {
406
+ i.endDate = S(a), i.endTime ? L.value && (i.endTime = (l = e.dateFormData) == null ? void 0 : l.endTime) : i.endTime = q($(a)), ee.value = !1, L.value = !1;
407
+ }, we = (a) => {
428
408
  const l = e.value[a];
429
409
  if (l)
430
410
  return l;
431
- if (e.dateFormData[a] && J(e.dateFormData[a]))
432
- return E(e.dateFormData[a]);
433
- }, Da = Te((a) => {
411
+ if (e.dateFormData[a] && V(e.dateFormData[a]))
412
+ return _(e.dateFormData[a]);
413
+ }, ca = Te((a) => {
434
414
  var l;
435
- if (J(a)) {
415
+ if (V(a)) {
436
416
  let m = a;
437
- switch (ae.value = !1, (l = Z.value) == null ? void 0 : l.type) {
417
+ switch (Z.value = !1, (l = J.value) == null ? void 0 : l.type) {
438
418
  case "weekly":
439
- m = Se(
419
+ m = b(
440
420
  a,
441
- O,
442
- b.value.min,
443
- b.value.max
421
+ S,
422
+ T.value.min,
423
+ T.value.max
444
424
  ), i.startDate = m;
445
425
  break;
446
426
  case "monthly":
447
- m = Oe(
427
+ m = X(
448
428
  a,
449
- O,
450
- b.value.min,
451
- b.value.max
429
+ S,
430
+ T.value.min,
431
+ T.value.max
452
432
  ), i.startDate = m;
453
433
  break;
454
434
  case "quarterly":
455
- m = fe(
435
+ m = me(
456
436
  a,
457
- O,
458
- b.value.min,
459
- b.value.max
437
+ S,
438
+ T.value.min,
439
+ T.value.max
460
440
  ), i.startDate = m;
461
441
  break;
462
442
  }
463
- const D = M(E(m));
464
- n.startDate = A(D, i.startTime), n.endDate = A(
465
- M(E(i.endDate)),
443
+ const D = R(_(m));
444
+ n.startDate = I(D, i.startTime), n.endDate = I(
445
+ R(_(i.endDate)),
466
446
  i.endTime
467
- ), J(i.endDate) && (n.endDate = A(
468
- M(E(i.endDate)),
447
+ ), V(i.endDate) && (n.endDate = I(
448
+ R(_(i.endDate)),
469
449
  i.endTime
470
450
  ));
471
- const k = Fe("endDate");
451
+ const h = we("endDate");
472
452
  n.range = null, u(g.FORM_DATE, {
473
453
  startDate: D,
474
- endDate: k
454
+ endDate: h
475
455
  }), u(g.INPUT, {
476
456
  ...n,
477
- range: T.value
457
+ range: N.value
478
458
  });
479
459
  } else
480
- ae.value = !0, u(g.ERROR, { ...i });
481
- }, 300), fa = (a) => {
482
- i.startDate = v(a), Da(i.startDate);
483
- }, va = Te((a) => {
460
+ Z.value = !0, u(g.ERROR, { ...i });
461
+ }, 300), Da = (a) => {
462
+ i.startDate = v(a), ca(i.startDate);
463
+ }, fa = Te((a) => {
484
464
  var l;
485
- if (J(a)) {
465
+ if (V(a)) {
486
466
  let m = a;
487
- switch (te.value = !1, (l = Z.value) == null ? void 0 : l.type) {
467
+ switch (ee.value = !1, (l = J.value) == null ? void 0 : l.type) {
488
468
  case "weekly":
489
- m = ee(
469
+ m = Se(
490
470
  a,
491
- O,
492
- b.value.min,
493
- b.value.max
471
+ S,
472
+ T.value.min,
473
+ T.value.max
494
474
  ), i.endDate = m;
495
475
  break;
496
476
  case "monthly":
497
- m = De(
477
+ m = Oe(
498
478
  a,
499
- O,
500
- b.value.min,
501
- b.value.max
479
+ S,
480
+ T.value.min,
481
+ T.value.max
502
482
  ), i.endDate = m;
503
483
  break;
504
484
  case "quarterly":
505
- m = z(
485
+ m = ce(
506
486
  a,
507
- O,
508
- b.value.min,
509
- b.value.max
487
+ S,
488
+ T.value.min,
489
+ T.value.max
510
490
  ), i.endDate = m;
511
491
  break;
512
492
  }
513
- const D = M(E(m));
514
- n.endDate = A(D, i.endTime), J(i.startDate) && (n.startDate = A(
515
- M(E(i.startDate)),
493
+ const D = R(_(m));
494
+ n.endDate = I(D, i.endTime), V(i.startDate) && (n.startDate = I(
495
+ R(_(i.startDate)),
516
496
  i.startTime
517
497
  ));
518
- const k = Fe("startDate");
498
+ const h = we("startDate");
519
499
  n.range = null, u(g.FORM_DATE, {
520
- startDate: k,
500
+ startDate: h,
521
501
  endDate: D
522
502
  }), u(g.INPUT, {
523
503
  ...n,
524
- range: T.value
504
+ range: N.value
525
505
  });
526
506
  } else
527
- te.value = !0, u(g.ERROR, { ...i });
528
- }, 300), pa = (a) => {
529
- i.endDate = v(a), va(i.endDate);
530
- }, Ye = (a) => {
531
- ue(a);
532
- }, ya = Te((a) => {
533
- if ($(a, e.dateFormData.startDate)) {
534
- L.value = !1, n.startDate = A(n.startDate, a);
535
- const l = Fe("endDate");
507
+ ee.value = !0, u(g.ERROR, { ...i });
508
+ }, 300), va = (a) => {
509
+ i.endDate = v(a), fa(i.endDate);
510
+ }, xe = (a) => {
511
+ ie(a);
512
+ }, pa = Te((a) => {
513
+ if (s(a, e.dateFormData.startDate)) {
514
+ j.value = !1, n.startDate = I(n.startDate, a);
515
+ const l = we("endDate");
536
516
  u(g.FORM_DATE, {
537
517
  startDate: n.startDate,
538
518
  endDate: l,
@@ -540,216 +520,216 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
540
520
  endTime: i.endTime ?? e.dateFormData.endTime
541
521
  }), u(g.INPUT, {
542
522
  ...n,
543
- range: T.value
523
+ range: N.value
544
524
  });
545
525
  } else
546
- L.value = !0, u(g.ERROR, { ...i });
547
- }), ga = Te((a) => {
548
- $(a, e.dateFormData.endDate) ? (Q.value = !1, n.endDate = A(n.endDate, a), u(g.FORM_DATE, {
526
+ j.value = !0, u(g.ERROR, { ...i });
527
+ }), ya = Te((a) => {
528
+ s(a, e.dateFormData.endDate) ? (L.value = !1, n.endDate = I(n.endDate, a), u(g.FORM_DATE, {
549
529
  startDate: n.startDate,
550
530
  endDate: n.endDate,
551
531
  startTime: i.startTime ?? e.dateFormData.startTime,
552
532
  endTime: a
553
533
  }), u(g.INPUT, {
554
534
  ...n,
555
- range: T.value
556
- })) : (Q.value = !0, u(g.ERROR, { ...i }));
557
- }), Ta = (a) => {
558
- i.startTime = na(a), ya(i.startTime);
559
- }, ba = (a) => {
560
- i.endTime = na(a), ga(i.endTime);
561
- }, Ne = (a) => {
562
- it(a);
535
+ range: N.value
536
+ })) : (L.value = !0, u(g.ERROR, { ...i }));
537
+ }), ga = (a) => {
538
+ i.startTime = na(a), pa(i.startTime);
539
+ }, Ta = (a) => {
540
+ i.endTime = na(a), ya(i.endTime);
541
+ }, Ue = (a) => {
542
+ ot(a);
563
543
  }, ye = (a, l, m, D) => {
564
544
  n.startDate = a, n.endDate = l, m && (n.granularity = m), D && (n.range = D);
565
- }, ha = (a) => {
545
+ }, ba = (a) => {
566
546
  var m;
567
547
  const l = (m = e.quickSelectRanges) == null ? void 0 : m.find(({ value: D }) => D === a);
568
548
  if (l) {
569
- ve();
570
- const D = l.data, k = D.endDate || (D.isRelativeToNow ? new Date(Date.now()) : j(new Date(Date.now()))), w = D.isRelativeToNow && D.timeDifference ? new Date(k.getTime() - D.timeDifference) : D.startDate;
571
- i.endDate = O(k), i.startDate = O(w), ye(w, k, null, a), e.granularities && (n.granularity = D.granularity || U.value), i.startTime = q(w), i.endTime = q(k), n.startDate = w, n.endDate = k, D.isRelativeToNow && (_.value = {
572
- ..._.value,
549
+ De();
550
+ const D = l.data, h = D.endDate || (D.isRelativeToNow ? new Date(Date.now()) : $(new Date(Date.now()))), E = D.isRelativeToNow && D.timeDifference ? new Date(h.getTime() - D.timeDifference) : D.startDate;
551
+ i.endDate = S(h), i.startDate = S(E), ye(E, h, null, a), e.granularities && (n.granularity = D.granularity || Y.value), i.startTime = q(E), i.endTime = q(h), n.startDate = E, n.endDate = h, D.isRelativeToNow && (A.value = {
552
+ ...A.value,
573
553
  [a]: {
574
- startDate: w,
575
- endDate: k
554
+ startDate: E,
555
+ endDate: h
576
556
  }
577
557
  }), u(g.CUSTOM_RANGE, {
578
558
  ...l.data,
579
- startDate: w,
580
- endDate: k,
559
+ startDate: E,
560
+ endDate: h,
581
561
  range: l.value
582
562
  });
583
563
  }
584
- }, Ra = {
585
- weekly: R,
586
- monthly: le,
587
- quarterly: ce
588
- }, ka = (a) => {
564
+ }, ha = {
565
+ weekly: se,
566
+ monthly: de,
567
+ quarterly: Me
568
+ }, Ra = (a) => {
589
569
  const l = n.granularity;
590
- if (n.granularity = a, l && we(l, structuredClone(Ae(n))), n.startDate && n.endDate) {
570
+ if (n.granularity = a, l && ne(l, structuredClone(Be(n))), n.startDate && n.endDate) {
591
571
  switch (a) {
592
572
  case "quarterly":
593
573
  case "monthly":
594
574
  case "weekly": {
595
- if (Y[a]) {
596
- ye(Y[a].startDate, Y[a].endDate, a);
575
+ if (w[a]) {
576
+ ye(w[a].startDate, w[a].endDate, a);
597
577
  break;
598
578
  }
599
- const { startDate: m, endDate: D } = Ra[a](
579
+ const { startDate: m, endDate: D } = ha[a](
600
580
  n.startDate,
601
581
  n.endDate,
602
- b.value.min,
603
- b.value.max
582
+ T.value.min,
583
+ T.value.max
604
584
  );
605
585
  ye(m, D, a);
606
586
  break;
607
587
  }
608
588
  case "daily":
609
- Y.daily && ye(Y.daily.startDate, Y.daily.endDate, a);
589
+ w.daily && ye(w.daily.startDate, w.daily.endDate, a);
610
590
  break;
611
591
  }
612
- i.startDate = O(n.startDate), i.endDate = O(n.endDate), u(g.INPUT, {
592
+ i.startDate = S(n.startDate), i.endDate = S(n.endDate), u(g.INPUT, {
613
593
  ...n,
614
- range: T.value
594
+ range: N.value
615
595
  });
616
596
  }
617
- }, Ma = p(() => ({
618
- "b-date-range-picker-calendar__form-container--no-calendars": x.value
597
+ }, ka = p(() => ({
598
+ "b-date-range-picker-calendar__form-container--no-calendars": U.value
619
599
  }));
620
- return (a, l) => (F(), he("div", ut, [
621
- X("div", {
622
- class: Re(["b-date-range-picker-calendar__form-container", Ma.value]),
600
+ return (a, l) => (F(), be("div", it, [
601
+ z("div", {
602
+ class: he(["b-date-range-picker-calendar__form-container", ka.value]),
623
603
  "data-testid": "date-range-picker-calendar-form-container"
624
604
  }, [
625
- X("div", dt, [
626
- c(y)("title") ? Qe(a.$slots, "title", { key: 0 }, void 0, !0) : C("", !0),
627
- t.quickSelectRanges ? (F(), K(Ga, {
605
+ z("div", ut, [
606
+ c(y)("title") ? We(a.$slots, "title", { key: 0 }, void 0, !0) : C("", !0),
607
+ t.quickSelectRanges ? (F(), G(Wa, {
628
608
  key: 1,
629
- "aria-label": c(I)("customRange"),
630
- items: me.value,
631
- "model-value": T.value,
632
- "onUpdate:modelValue": ha
609
+ "aria-label": c(k)("customRange"),
610
+ items: Ie.value,
611
+ "model-value": N.value,
612
+ "onUpdate:modelValue": ba
633
613
  }, null, 8, ["aria-label", "items", "model-value"])) : C("", !0),
634
- t.granularities ? (F(), K(c(Ka), {
614
+ t.granularities ? (F(), G(c(Ga), {
635
615
  key: 2,
636
- items: se.value,
616
+ items: ue.value,
637
617
  "model-value": n.granularity,
638
618
  "full-width": "",
639
- "onUpdate:modelValue": ka
619
+ "onUpdate:modelValue": Ra
640
620
  }, null, 8, ["items", "model-value"])) : C("", !0),
641
- X("div", null, [
642
- H(c(Be), {
621
+ z("div", null, [
622
+ K(c(Ce), {
643
623
  stronger: "",
644
624
  el: "span",
645
625
  class: "b-date-range-picker-calendar__label"
646
626
  }, {
647
- default: G(() => l[0] || (l[0] = [
648
- ne(" From ")
627
+ default: W(() => l[0] || (l[0] = [
628
+ ae(" From ")
649
629
  ])),
650
630
  _: 1
651
631
  }),
652
- X("div", {
653
- class: Re(de.value)
632
+ z("div", {
633
+ class: he(O.value)
654
634
  }, [
655
- H(c(ge), {
656
- "aria-label": c(I)("dateFrom"),
635
+ K(c(ge), {
636
+ "aria-label": c(k)("dateFrom"),
657
637
  "model-value": i.startDate,
658
- error: ae.value,
638
+ error: Z.value,
659
639
  class: "b-date-range-picker-calendar__form-input",
660
- "onUpdate:modelValue": fa,
661
- onKeydown: Ye
640
+ "onUpdate:modelValue": Da,
641
+ onKeydown: xe
662
642
  }, {
663
- description: G(() => [
664
- ne(_e(c(I)(c(V))), 1)
643
+ description: W(() => [
644
+ ae(Ae(c(k)(c(P))), 1)
665
645
  ]),
666
646
  _: 1
667
647
  }, 8, ["aria-label", "model-value", "error"]),
668
- t.allowTimeInput ? (F(), K(c(ge), {
648
+ t.allowTimeInput ? (F(), G(c(ge), {
669
649
  key: 0,
670
- "aria-label": c(I)("timeFrom"),
650
+ "aria-label": c(k)("timeFrom"),
671
651
  "model-value": i.startTime,
672
- error: L.value,
652
+ error: j.value,
673
653
  class: "b-date-range-picker-calendar__form-input",
674
- "onUpdate:modelValue": Ta,
675
- onKeydown: Ne
654
+ "onUpdate:modelValue": ga,
655
+ onKeydown: Ue
676
656
  }, {
677
- description: G(() => l[1] || (l[1] = [
678
- ne("HH:MM:SS")
657
+ description: W(() => l[1] || (l[1] = [
658
+ ae("HH:MM:SS")
679
659
  ])),
680
660
  _: 1
681
661
  }, 8, ["aria-label", "model-value", "error"])) : C("", !0)
682
662
  ], 2)
683
663
  ]),
684
- X("div", null, [
685
- H(c(Be), {
664
+ z("div", null, [
665
+ K(c(Ce), {
686
666
  stronger: "",
687
667
  el: "span",
688
668
  class: "b-date-range-picker-calendar__label"
689
669
  }, {
690
- default: G(() => l[2] || (l[2] = [
691
- ne(" To ")
670
+ default: W(() => l[2] || (l[2] = [
671
+ ae(" To ")
692
672
  ])),
693
673
  _: 1
694
674
  }),
695
- X("div", {
696
- class: Re(de.value)
675
+ z("div", {
676
+ class: he(O.value)
697
677
  }, [
698
- H(c(ge), {
678
+ K(c(ge), {
699
679
  class: "b-date-range-picker-calendar__form-input",
700
- "aria-label": c(I)("dateTo"),
680
+ "aria-label": c(k)("dateTo"),
701
681
  "model-value": i.endDate,
702
- error: te.value,
703
- "onUpdate:modelValue": pa,
704
- onKeydown: Ye
682
+ error: ee.value,
683
+ "onUpdate:modelValue": va,
684
+ onKeydown: xe
705
685
  }, {
706
- description: G(() => [
707
- ne(_e(c(I)(c(V))), 1)
686
+ description: W(() => [
687
+ ae(Ae(c(k)(c(P))), 1)
708
688
  ]),
709
689
  _: 1
710
690
  }, 8, ["aria-label", "model-value", "error"]),
711
- t.allowTimeInput ? (F(), K(c(ge), {
691
+ t.allowTimeInput ? (F(), G(c(ge), {
712
692
  key: 0,
713
- "aria-label": c(I)("timeTo"),
693
+ "aria-label": c(k)("timeTo"),
714
694
  "model-value": i.endTime,
715
- error: Q.value,
695
+ error: L.value,
716
696
  class: "b-date-range-picker-calendar__form-input",
717
- "onUpdate:modelValue": ba,
718
- onKeydown: Ne
697
+ "onUpdate:modelValue": Ta,
698
+ onKeydown: Ue
719
699
  }, {
720
- description: G(() => l[3] || (l[3] = [
721
- ne("HH:MM:SS")
700
+ description: W(() => l[3] || (l[3] = [
701
+ ae("HH:MM:SS")
722
702
  ])),
723
703
  _: 1
724
704
  }, 8, ["aria-label", "model-value", "error"])) : C("", !0)
725
705
  ], 2)
726
706
  ])
727
707
  ]),
728
- c(y)("actions") ? (F(), he("div", mt, [
729
- Qe(a.$slots, "actions", {}, void 0, !0)
708
+ c(y)("actions") ? (F(), be("div", dt, [
709
+ We(a.$slots, "actions", {}, void 0, !0)
730
710
  ])) : C("", !0)
731
711
  ], 2),
732
- x.value ? C("", !0) : (F(), he("div", ct, [
733
- H(c(W), {
712
+ U.value ? C("", !0) : (F(), be("div", mt, [
713
+ K(c(Q), {
734
714
  value: n,
735
715
  "first-day-of-week": t.firstDayOfWeek,
736
716
  "is-date-disabled": t.isDateDisabled,
737
717
  "max-range": t.maxRange,
738
- min: b.value.min,
739
- max: b.value.max,
718
+ min: T.value.min,
719
+ max: T.value.max,
740
720
  "number-of-months": t.numberOfMonths,
741
721
  "show-end-date-on-open": t.showEndDateOnOpen,
742
- granularity: Z.value,
722
+ granularity: J.value,
743
723
  variant: t.variant,
744
724
  "is-range": "",
745
- onInput: da,
746
- onStartDateSelected: ma,
747
- onEndDateSelected: ca
725
+ onInput: pe,
726
+ onStartDateSelected: da,
727
+ onEndDateSelected: ma
748
728
  }, null, 8, ["value", "first-day-of-week", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "granularity", "variant"])
749
729
  ]))
750
730
  ]));
751
731
  }
752
- }), vt = /* @__PURE__ */ oa(ft, [["__scopeId", "data-v-3ab5bc1d"]]), Ue = {
732
+ }), ft = /* @__PURE__ */ oa(Dt, [["__scopeId", "data-v-cf6285de"]]), Ne = {
753
733
  "en-US": {
754
734
  apply: "Apply",
755
735
  cancel: "Cancel",
@@ -780,7 +760,7 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
780
760
  selectDateRange: "Selecione um intervalo de datas",
781
761
  selectedDateIsNotAvailable: "A data selecionada não está disponível"
782
762
  }
783
- }, pt = ({
763
+ }, vt = ({
784
764
  datePickerValue: t,
785
765
  isDateIncorrect: o,
786
766
  quickSelectRanges: d,
@@ -788,43 +768,43 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
788
768
  withTimeInput: e,
789
769
  placeholder: u
790
770
  }) => {
791
- const { locale: f, t: y } = Ce({ messages: Ue }), { dateToInputDateString: I } = qe(), V = (v) => !!v && !isNaN(v.getTime()), S = Me({
771
+ const { locale: f, t: y } = qe({ messages: Ne }), { dateToInputDateString: k } = Ye(), P = (v) => !!v && !isNaN(v.getTime()), M = ke({
792
772
  startDate: null,
793
773
  endDate: null,
794
774
  startTime: null,
795
775
  endTime: null
796
776
  });
797
- return ke(
777
+ return Re(
798
778
  t,
799
779
  (v) => {
800
- S.startDate = I(v == null ? void 0 : v.startDate), S.endDate = I(v == null ? void 0 : v.endDate), S.startTime = q(v == null ? void 0 : v.startDate), S.endTime = q(v == null ? void 0 : v.endDate);
780
+ M.startDate = k(v == null ? void 0 : v.startDate), M.endDate = k(v == null ? void 0 : v.endDate), M.startTime = q(v == null ? void 0 : v.startDate), M.endTime = q(v == null ? void 0 : v.endDate);
801
781
  },
802
782
  { immediate: !0 }
803
783
  ), {
804
784
  // Values
805
785
  dateDisplayValue: p(() => {
806
- var re;
786
+ var te;
807
787
  if (o.value)
808
- return `${S.startDate || ""} - ${S.endDate || ""}`;
788
+ return `${M.startDate || ""} - ${M.endDate || ""}`;
809
789
  if (!t.value || !t.value.startDate && !t.value.endDate)
810
790
  return (u == null ? void 0 : u.value) || y("selectDateRange");
811
- if ((re = d.value) != null && re.length) {
812
- const _ = d.value.find(({ value: U }) => {
813
- var x;
814
- return U === ((x = t.value) == null ? void 0 : x.range);
791
+ if ((te = d.value) != null && te.length) {
792
+ const A = d.value.find(({ value: Y }) => {
793
+ var U;
794
+ return Y === ((U = t.value) == null ? void 0 : U.range);
815
795
  });
816
- if (_)
817
- return _.label;
796
+ if (A)
797
+ return A.label;
818
798
  }
819
799
  if (t.value.granularity === "quarterly") {
820
- const { startDate: _, endDate: U } = t.value, x = y("quarter", { quarter: Xe(_), year: Ze(_) });
821
- if (Ja(_, U))
822
- return x;
823
- const n = y("quarter", { quarter: Xe(U), year: Ze(U) });
824
- return `${x} - ${n}`;
800
+ const { startDate: A, endDate: Y } = t.value, U = y("quarter", { quarter: Ze(A), year: ea(A) });
801
+ if (za(A, Y))
802
+ return U;
803
+ const n = y("quarter", { quarter: Ze(Y), year: ea(Y) });
804
+ return `${U} - ${n}`;
825
805
  }
826
- if (!V(t.value.startDate) || !V(t.value.endDate))
827
- return `${S.startDate || ""} - ${S.endDate || ""}`;
806
+ if (!P(t.value.startDate) || !P(t.value.endDate))
807
+ return `${M.startDate || ""} - ${M.endDate || ""}`;
828
808
  let v = r != null && r.value ? { month: "long", year: "numeric" } : { month: "short", day: "2-digit", year: "numeric" };
829
809
  return e.value && (v = {
830
810
  ...v,
@@ -837,16 +817,16 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
837
817
  t.value.endDate
838
818
  );
839
819
  }),
840
- textInputDisplayValue: S,
820
+ textInputDisplayValue: M,
841
821
  // Methods
842
822
  formatTextInputDisplayValue: () => ""
843
823
  };
844
- }, yt = { class: "b-date-range-picker" }, gt = { class: "b-date-range-picker__footer" }, Tt = {
845
- i18n: { messages: Ue },
824
+ }, pt = { class: "b-date-range-picker" }, yt = { class: "b-date-range-picker__footer" }, gt = {
825
+ i18n: { messages: Ne },
846
826
  name: "bento-date-range-picker",
847
827
  model: { prop: "modelValue" }
848
- }, bt = /* @__PURE__ */ ra({
849
- ...Tt,
828
+ }, Tt = /* @__PURE__ */ ra({
829
+ ...gt,
850
830
  props: {
851
831
  allowTimeInput: { type: Boolean },
852
832
  firstDayOfWeek: { default: void 0 },
@@ -874,7 +854,7 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
874
854
  },
875
855
  emits: ["update:model-value", "input"],
876
856
  setup(t, { emit: o }) {
877
- const d = o, r = t, e = Sa(), { t: u } = Ce({ messages: Ue }), { dateToInputDateString: f } = qe(), y = oe("bento-date-range-picker-container"), I = oe("bento-date-range-picker-label"), V = oe("bento-date-range-picker-description"), S = oe("bento-date-range-picker-error"), E = oe("bento-date-range-picker-date-error"), ue = p(() => r.label || u("dateRangePicker", { name: y })), { resolvedFirstDayOfWeek: v } = xa(Ee(r, "firstDayOfWeek")), re = Fa({
857
+ const d = o, r = t, e = Ma(), { t: u } = qe({ messages: Ne }), { dateToInputDateString: f } = Ye(), y = le("bento-date-range-picker-container"), k = le("bento-date-range-picker-label"), P = le("bento-date-range-picker-description"), M = le("bento-date-range-picker-error"), _ = le("bento-date-range-picker-date-error"), ie = p(() => r.label || u("dateRangePicker", { name: y })), { resolvedFirstDayOfWeek: v } = xa(Ee(r, "firstDayOfWeek")), te = wa({
878
858
  none: 0,
879
859
  one: 710,
880
860
  // width of date range picker with one panes
@@ -882,205 +862,205 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
882
862
  // width of date range picker with two panes
883
863
  three: 1290
884
864
  // width of date range picker with three panes
885
- }), _ = p(() => {
886
- const s = re.active().value, $ = {
865
+ }), A = p(() => {
866
+ const s = te.active().value, I = {
887
867
  none: 0,
888
868
  one: 1,
889
869
  two: 2
890
870
  };
891
- if (s in $) {
892
- const A = $[s];
893
- return r.numberOfMonths === void 0 ? A : Math.min(r.numberOfMonths, A);
871
+ if (s in I) {
872
+ const pe = I[s];
873
+ return r.numberOfMonths === void 0 ? pe : Math.min(r.numberOfMonths, pe);
894
874
  }
895
875
  return r.numberOfMonths;
896
- }), U = p(() => (r == null ? void 0 : r.quickSelectRanges) && r.quickSelectRanges.map((s) => {
897
- const $ = s.data.endDate ? void 0 : new Date(Date.now()).getTime() - s.data.startDate.getTime();
876
+ }), Y = p(() => (r == null ? void 0 : r.quickSelectRanges) && r.quickSelectRanges.map((s) => {
877
+ const I = s.data.endDate ? void 0 : new Date(Date.now()).getTime() - s.data.startDate.getTime();
898
878
  return {
899
879
  ...s,
900
880
  data: {
901
881
  ...s.data,
902
882
  // Adding timeDifference to calculate an up-to-date endDate on range selection
903
- timeDifference: $
883
+ timeDifference: I
904
884
  }
905
885
  };
906
- })), x = p(() => r.label ? I : (e == null ? void 0 : e["aria-labelledby"]) ?? null), n = B(!1), h = B(null), T = B(!1), { isReadOnly: de } = La(Ee(r, "readonly")), { emitValue: me } = Wa(d);
907
- ke(
886
+ })), U = p(() => r.label ? k : (e == null ? void 0 : e["aria-labelledby"]) ?? null), n = B(!1), N = B(null), O = B(!1), { isReadOnly: Ie } = ja(Ee(r, "readonly")), { emitValue: J } = Qa(d);
887
+ Re(
908
888
  () => r.disabled,
909
889
  () => {
910
- r.disabled && T.value && (T.value = !1);
890
+ r.disabled && O.value && (O.value = !1);
911
891
  }
912
892
  );
913
- const Z = p(() => r.modelValue || r.value), se = p(() => r.hasActions ? !Y.value && n.value : n.value), Ie = p(() => ({
914
- "b-date-range-picker__description--error": !!r.errorMessage || se.value
915
- })), b = p(() => r.variant === "month"), ce = p(() => r.allowTimeInput && r.variant !== "month"), { dateDisplayValue: le, textInputDisplayValue: R } = pt({
916
- datePickerValue: Z,
893
+ const ue = p(() => r.modelValue || r.value), re = p(() => r.hasActions ? !ne.value && n.value : n.value), T = p(() => ({
894
+ "b-date-range-picker__description--error": !!r.errorMessage || re.value
895
+ })), Me = p(() => r.variant === "month"), de = p(() => r.allowTimeInput && r.variant !== "month"), { dateDisplayValue: se, textInputDisplayValue: b } = vt({
896
+ datePickerValue: ue,
917
897
  isDateIncorrect: n,
918
- quickSelectRanges: U,
919
- isMonthVariant: b,
920
- withTimeInput: ce,
898
+ quickSelectRanges: Y,
899
+ isMonthVariant: Me,
900
+ withTimeInput: de,
921
901
  placeholder: Ee(r, "placeholder")
922
902
  }), Se = p(
923
- () => `${r.description ? V : ""} ${r.errorMessage ? S : ""} ${n.value ? E : ""}`.trim() || null
924
- ), ee = () => {
925
- T.value = !1;
903
+ () => `${r.description ? P : ""} ${r.errorMessage ? M : ""} ${n.value ? _ : ""}`.trim() || null
904
+ ), X = () => {
905
+ O.value = !1;
926
906
  }, Oe = () => {
927
- T.value = !0;
928
- }, De = B(le.value), fe = B(
907
+ O.value = !0;
908
+ }, me = B(se.value), ce = B(
929
909
  // textInputDisplayValue is a reactive object
930
- structuredClone(Ae(R))
931
- ), z = B(r.modelValue ?? r.value), Y = B(!0), we = p(
932
- () => r.hasActions ? fe.value : R
933
- ), ve = p(
934
- () => r.hasActions ? De.value : le.value
910
+ structuredClone(Be(b))
911
+ ), w = B(r.modelValue ?? r.value), ne = B(!0), De = p(
912
+ () => r.hasActions ? ce.value : b
913
+ ), S = p(
914
+ () => r.hasActions ? me.value : se.value
935
915
  );
936
916
  sa(() => {
937
- if (r.hasActions || Ge(
917
+ if (r.hasActions || Ke(
938
918
  'BentoDateRangePicker "hasActions" property',
939
919
  `Set the BentoDateRangePicker "hasActions" property true which will display the "Apply" and "Cancel" buttons.
940
920
  This will be the default behavior in the v2 and "hasActions" will be removed.`,
941
921
  "2.0.0"
942
- ), r.value && Ge(
922
+ ), r.value && Ke(
943
923
  'BentoDateRangePicker "value" property',
944
924
  'The use of "value" prop in "BentoDateRangePicker" is no longer supported. Use the "v-model" or "model-value" property instead.',
945
925
  "2.0.0"
946
926
  ), r.granularities && r.variant !== "month" && r.granularities.find(({ type: s }) => s === "quarterly"))
947
927
  throw new Error('Quarterly granularity is only supported by BentoDateRangePicker with variant: "month"');
948
- }), ke([() => r.value, () => r.modelValue], () => {
949
- De.value = le.value, fe.value = structuredClone(Ae(R));
928
+ }), Re([() => r.value, () => r.modelValue], () => {
929
+ me.value = se.value, ce.value = structuredClone(Be(b));
950
930
  });
951
- const O = p(() => [
931
+ const Z = p(() => [
952
932
  {
953
933
  title: u("apply"),
954
934
  event: () => {
955
- me(z.value), ee(), Y.value = !0;
935
+ J(w.value), X(), ne.value = !0;
956
936
  },
957
- disabled: Y.value
937
+ disabled: ne.value
958
938
  },
959
939
  {
960
940
  title: u("cancel"),
961
- event: ee
941
+ event: X
962
942
  }
963
943
  ]);
964
- ke(z, (s) => {
944
+ Re(w, (s) => {
965
945
  if (r.hasActions) {
966
- Y.value = n.value;
946
+ ne.value = n.value;
967
947
  return;
968
948
  }
969
- me(s);
949
+ J(s);
970
950
  });
971
- const ae = (s) => {
972
- n.value = !1, R.startDate = f(s.startDate), R.endDate = f(s.endDate), R.startTime = q(s.startDate), R.endTime = q(s.endDate), z.value = s;
973
- }, te = async () => {
974
- n.value && (n.value = !1), z.value = null;
951
+ const ee = (s) => {
952
+ n.value = !1, b.startDate = f(s.startDate), b.endDate = f(s.endDate), b.startTime = q(s.startDate), b.endTime = q(s.endDate), w.value = s;
953
+ }, j = async () => {
954
+ n.value && (n.value = !1), w.value = null;
975
955
  }, L = () => {
976
- if (!T.value) {
977
- T.value = !0;
956
+ if (!O.value) {
957
+ O.value = !0;
978
958
  return;
979
959
  }
980
- n.value || (T.value = !1);
981
- }, Q = (s) => {
982
- n.value = !1, s.startTime && (R.startTime = s.startTime), s.endTime && (R.endTime = s.endTime);
960
+ n.value || (O.value = !1);
983
961
  }, i = (s) => {
984
- n.value = !0, R.startDate = s.startDate, R.endDate = s.endDate, z.value = { startDate: null, endDate: null };
985
- }, pe = (s) => {
986
- s && (R.startDate = f(s.startDate), R.endDate = f(s.endDate), R.startTime = q(s.startDate), R.endTime = q(s.endDate), z.value = s);
962
+ n.value = !1, s.startTime && (b.startTime = s.startTime), s.endTime && (b.endTime = s.endTime);
963
+ }, fe = (s) => {
964
+ n.value = !0, b.startDate = s.startDate, b.endDate = s.endDate, w.value = { startDate: null, endDate: null };
965
+ }, ve = (s) => {
966
+ s && (b.startDate = f(s.startDate), b.endDate = f(s.endDate), b.startTime = q(s.startDate), b.endTime = q(s.endDate), w.value = s);
987
967
  };
988
- return (s, $) => Oa((F(), he("div", yt, [
989
- s.label ? (F(), K(c(Va), {
968
+ return (s, I) => Sa((F(), be("div", pt, [
969
+ s.label ? (F(), G(c(Pa), {
990
970
  key: 0,
991
- id: c(I),
971
+ id: c(k),
992
972
  label: s.label,
993
973
  "tooltip-text": s.tooltipText,
994
974
  optional: s.optional,
995
975
  required: s.required
996
976
  }, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : C("", !0),
997
- X("div", {
998
- onKeydown: We(L, ["enter"])
977
+ z("div", {
978
+ onKeydown: Ge(L, ["enter"])
999
979
  }, [
1000
- H(c(Ba), {
980
+ K(c(Aa), {
1001
981
  ref_key: "inputContainerRef",
1002
- ref: h,
982
+ ref: N,
1003
983
  "always-combobox-is-input": "",
1004
984
  ariaControls: c(y),
1005
- ariaExpanded: T.value,
1006
- "aria-labelledby": x.value,
985
+ ariaExpanded: O.value,
986
+ "aria-labelledby": U.value,
1007
987
  "aria-describedby": Se.value,
1008
988
  "aria-required": s.required,
1009
989
  disabled: s.disabled,
1010
- "is-invalid": !!s.errorMessage || se.value,
1011
- open: T.value,
1012
- "display-value": ve.value,
1013
- readonly: c(de),
990
+ "is-invalid": !!s.errorMessage || re.value,
991
+ open: O.value,
992
+ "display-value": S.value,
993
+ readonly: c(Ie),
1014
994
  onOpen: Oe,
1015
- onClear: te,
1016
- onClose: ee
995
+ onClear: j,
996
+ onClose: X
1017
997
  }, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-required", "disabled", "is-invalid", "open", "display-value", "readonly"])
1018
998
  ], 32),
1019
- se.value ? (F(), K(c(Je), {
999
+ re.value ? (F(), G(c(Xe), {
1020
1000
  key: 1,
1021
- id: c(E),
1001
+ id: c(_),
1022
1002
  "error-message": c(u)("provideDateInAFormat"),
1023
1003
  class: "b-date-range-picker__error-message"
1024
1004
  }, null, 8, ["id", "error-message"])) : C("", !0),
1025
- s.errorMessage ? (F(), K(c(Je), {
1005
+ s.errorMessage ? (F(), G(c(Xe), {
1026
1006
  key: 2,
1027
- id: c(S),
1007
+ id: c(M),
1028
1008
  "error-message": s.errorMessage,
1029
1009
  class: "b-date-range-picker__error-message"
1030
1010
  }, null, 8, ["id", "error-message"])) : C("", !0),
1031
- s.description ? (F(), K(c(Be), {
1011
+ s.description ? (F(), G(c(Ce), {
1032
1012
  key: 3,
1033
- id: c(V),
1034
- class: Re(["b-date-range-picker__description", Ie.value]),
1013
+ id: c(P),
1014
+ class: he(["b-date-range-picker__description", T.value]),
1035
1015
  el: "span"
1036
1016
  }, {
1037
- default: G(() => [
1038
- ne(_e(s.description), 1)
1017
+ default: W(() => [
1018
+ ae(Ae(s.description), 1)
1039
1019
  ]),
1040
1020
  _: 1
1041
1021
  }, 8, ["id", "class"])) : C("", !0),
1042
- h.value ? (F(), K(c(_a), {
1022
+ N.value ? (F(), G(c(Fa), {
1043
1023
  key: 4,
1044
1024
  id: c(y),
1045
1025
  class: "b-date-range-picker__container",
1046
- open: T.value,
1047
- "target-element": h.value,
1048
- "aria-label": ue.value,
1026
+ open: O.value,
1027
+ "target-element": N.value,
1028
+ "aria-label": ie.value,
1049
1029
  position: "bottom-start",
1050
1030
  "without-space": "",
1051
1031
  "fit-content": "",
1052
1032
  "trap-all": "",
1053
1033
  "overflow-visible": "",
1054
- onKeydown: We(ee, ["esc", "native"])
1034
+ onKeydown: Ge(X, ["esc", "native"])
1055
1035
  }, {
1056
- default: G(() => [
1057
- H(c(vt), {
1058
- "allow-time-input": ce.value,
1059
- "quick-select-ranges": U.value,
1060
- value: Z.value,
1036
+ default: W(() => [
1037
+ K(c(ft), {
1038
+ "allow-time-input": de.value,
1039
+ "quick-select-ranges": Y.value,
1040
+ value: ue.value,
1061
1041
  "first-day-of-week": c(v),
1062
1042
  granularities: s.granularities,
1063
1043
  "is-date-disabled": s.isDateDisabled,
1064
1044
  "max-range": s.maxRange,
1065
1045
  min: s.min,
1066
1046
  max: s.max,
1067
- "number-of-months": _.value,
1047
+ "number-of-months": A.value,
1068
1048
  "show-end-date-on-open": s.showEndDateOnOpen,
1069
- "date-form-data": we.value,
1049
+ "date-form-data": De.value,
1070
1050
  variant: s.variant,
1071
- onCustomRange: pe,
1072
- onInput: ae,
1073
- onError: i,
1074
- onFormDate: Q
1075
- }, wa({ _: 2 }, [
1051
+ onCustomRange: ve,
1052
+ onInput: ee,
1053
+ onError: fe,
1054
+ onFormDate: i
1055
+ }, Oa({ _: 2 }, [
1076
1056
  s.hasActions ? {
1077
1057
  name: "actions",
1078
- fn: G(() => [
1079
- H(c(Ea)),
1080
- X("div", gt, [
1081
- H(c(Aa), {
1082
- actions: O.value,
1083
- layout: c(za).SPACE_BETWEEN
1058
+ fn: W(() => [
1059
+ K(c(Ea)),
1060
+ z("div", yt, [
1061
+ K(c(_a), {
1062
+ actions: Z.value,
1063
+ layout: c(Va).SPACE_BETWEEN
1084
1064
  }, null, 8, ["actions", "layout"])
1085
1065
  ])
1086
1066
  ]),
@@ -1091,14 +1071,14 @@ const st = /[\d]/, lt = /^\d{2}$/, ot = /^\d{2}:\d{2}$/, it = (t) => {
1091
1071
  _: 1
1092
1072
  }, 8, ["id", "open", "target-element", "aria-label"])) : C("", !0)
1093
1073
  ])), [
1094
- [c(Qa), ee]
1074
+ [c(La), X]
1095
1075
  ]);
1096
1076
  }
1097
- }), Kt = /* @__PURE__ */ oa(bt, [["__scopeId", "data-v-e00826fe"]]);
1077
+ }), Gt = /* @__PURE__ */ oa(Tt, [["__scopeId", "data-v-e00826fe"]]);
1098
1078
  export {
1099
- Kt as B,
1100
- vt as D,
1101
- Xa as a,
1102
- be as i
1079
+ Gt as B,
1080
+ ft as D,
1081
+ Ja as a,
1082
+ Fe as i
1103
1083
  };
1104
- //# sourceMappingURL=date-range-picker.CDDw_xl_.js.map
1084
+ //# sourceMappingURL=date-range-picker.CHq6WwCb.js.map