@adyen/bento-vue2 1.11.0 → 1.12.0

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 (221) hide show
  1. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +11 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +38 -29
  6. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +43 -1306
  7. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +5 -11
  8. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +43 -48
  9. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +2 -0
  10. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +43 -44
  11. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +2 -0
  12. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +43 -43
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +2 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +43 -43
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +2 -0
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +43 -48
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +2 -0
  18. package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +2 -0
  19. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +28 -0
  21. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useKeyboardNavigation.d.ts → use-keyboard-navigation.d.ts} +3 -13
  22. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +15 -0
  23. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +48 -1674
  24. package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +6 -5
  25. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -12
  26. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
  27. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +1 -1
  28. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +17 -11
  29. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +16 -60
  30. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +59 -49
  31. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +39 -291
  32. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +76 -83
  33. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
  37. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +3 -3
  39. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +6 -0
  40. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +10 -0
  41. package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +1 -0
  42. package/dist/accordion.js +2 -2
  43. package/dist/action-bar.js +5 -5
  44. package/dist/alert.js +3 -3
  45. package/dist/assets/base-modal.css +1 -1
  46. package/dist/assets/button.css +1 -1
  47. package/dist/assets/dropdown-default-textbox.css +1 -1
  48. package/dist/assets/dropdown.css +1 -1
  49. package/dist/assets/index10.css +1 -1
  50. package/dist/assets/index11.css +1 -1
  51. package/dist/assets/index12.css +1 -1
  52. package/dist/assets/index13.css +1 -1
  53. package/dist/assets/index14.css +1 -1
  54. package/dist/assets/index15.css +1 -1
  55. package/dist/assets/index16.css +1 -1
  56. package/dist/assets/index17.css +1 -1
  57. package/dist/assets/index18.css +1 -1
  58. package/dist/assets/index19.css +1 -1
  59. package/dist/assets/index2.css +1 -1
  60. package/dist/assets/index20.css +1 -1
  61. package/dist/assets/index21.css +1 -1
  62. package/dist/assets/index22.css +1 -1
  63. package/dist/assets/index23.css +1 -1
  64. package/dist/assets/index24.css +1 -1
  65. package/dist/assets/index25.css +1 -1
  66. package/dist/assets/index26.css +1 -1
  67. package/dist/assets/index27.css +1 -1
  68. package/dist/assets/index28.css +1 -1
  69. package/dist/assets/index29.css +1 -1
  70. package/dist/assets/index3.css +1 -1
  71. package/dist/assets/index30.css +1 -1
  72. package/dist/assets/index31.css +1 -1
  73. package/dist/assets/index32.css +1 -1
  74. package/dist/assets/index33.css +1 -1
  75. package/dist/assets/index34.css +1 -1
  76. package/dist/assets/index35.css +1 -1
  77. package/dist/assets/index36.css +1 -1
  78. package/dist/assets/index37.css +1 -1
  79. package/dist/assets/index38.css +1 -1
  80. package/dist/assets/index39.css +1 -1
  81. package/dist/assets/index4.css +1 -1
  82. package/dist/assets/index40.css +1 -1
  83. package/dist/assets/index41.css +1 -1
  84. package/dist/assets/index42.css +1 -1
  85. package/dist/assets/index43.css +1 -1
  86. package/dist/assets/index44.css +1 -1
  87. package/dist/assets/index45.css +1 -1
  88. package/dist/assets/index46.css +1 -1
  89. package/dist/assets/index5.css +1 -1
  90. package/dist/assets/index6.css +1 -1
  91. package/dist/assets/index7.css +1 -1
  92. package/dist/assets/index8.css +1 -1
  93. package/dist/assets/index9.css +1 -1
  94. package/dist/avatar-image.js +1 -1
  95. package/dist/button.js +5 -5
  96. package/dist/card.js +15 -15
  97. package/dist/card.js.map +1 -1
  98. package/dist/checkbox.js +6 -6
  99. package/dist/chunks/{base-button.bd61ab14.js → base-button.1f07b7c1.js} +2 -2
  100. package/dist/chunks/{base-button.bd61ab14.js.map → base-button.1f07b7c1.js.map} +1 -1
  101. package/dist/chunks/base-modal.9d63bdaf.js +200 -0
  102. package/dist/chunks/base-modal.9d63bdaf.js.map +1 -0
  103. package/dist/chunks/{button-actions-with-menu.767344df.js → button-actions-with-menu.4c5091f4.js} +3 -3
  104. package/dist/chunks/{button-actions-with-menu.767344df.js.map → button-actions-with-menu.4c5091f4.js.map} +1 -1
  105. package/dist/chunks/{button.bb5b4909.js → button.133f145e.js} +2 -2
  106. package/dist/chunks/{button.bb5b4909.js.map → button.133f145e.js.map} +1 -1
  107. package/dist/chunks/{calendar.4ab3c2dc.js → calendar.9a8605d1.js} +8 -7
  108. package/dist/chunks/{calendar.4ab3c2dc.js.map → calendar.9a8605d1.js.map} +1 -1
  109. package/dist/chunks/{checkbox.c684c20a.js → checkbox.d8b810c7.js} +3 -3
  110. package/dist/chunks/{checkbox.c684c20a.js.map → checkbox.d8b810c7.js.map} +1 -1
  111. package/dist/chunks/{controls-group.d25f5044.js → controls-group.bf152dea.js} +3 -3
  112. package/dist/chunks/{controls-group.d25f5044.js.map → controls-group.bf152dea.js.map} +1 -1
  113. package/dist/chunks/{copy.36c058e9.js → copy.68a7d416.js} +4 -4
  114. package/dist/chunks/{copy.36c058e9.js.map → copy.68a7d416.js.map} +1 -1
  115. package/dist/chunks/{dropdown-default-textbox.1cba89ea.js → dropdown-default-textbox.c595fd31.js} +129 -148
  116. package/dist/chunks/dropdown-default-textbox.c595fd31.js.map +1 -0
  117. package/dist/chunks/dropdown.eaee22a3.js +797 -0
  118. package/dist/chunks/dropdown.eaee22a3.js.map +1 -0
  119. package/dist/chunks/{field-label.a0c54b7d.js → field-label.66f52c8f.js} +2 -2
  120. package/dist/chunks/{field-label.a0c54b7d.js.map → field-label.66f52c8f.js.map} +1 -1
  121. package/dist/chunks/{fixed-scroller.5c90f692.js → fixed-scroller.01fc96f7.js} +2 -2
  122. package/dist/chunks/{fixed-scroller.5c90f692.js.map → fixed-scroller.01fc96f7.js.map} +1 -1
  123. package/dist/chunks/{footer-actions.b14cfca8.js → footer-actions.38e99891.js} +3 -3
  124. package/dist/chunks/{footer-actions.b14cfca8.js.map → footer-actions.38e99891.js.map} +1 -1
  125. package/dist/chunks/{index.aaedd8f9.js → index.14758ff7.js} +3 -3
  126. package/dist/chunks/{index.aaedd8f9.js.map → index.14758ff7.js.map} +1 -1
  127. package/dist/chunks/index.18773b0b.js +637 -0
  128. package/dist/chunks/index.18773b0b.js.map +1 -0
  129. package/dist/chunks/{index.7d2ea1de.js → index.2cfe4a09.js} +2 -2
  130. package/dist/chunks/{index.7d2ea1de.js.map → index.2cfe4a09.js.map} +1 -1
  131. package/dist/chunks/{index.1e8c900a.js → index.3b7d40b7.js} +2 -2
  132. package/dist/chunks/{index.1e8c900a.js.map → index.3b7d40b7.js.map} +1 -1
  133. package/dist/chunks/{index.f18f79eb.js → index.45aa17fc.js} +5 -5
  134. package/dist/chunks/{index.f18f79eb.js.map → index.45aa17fc.js.map} +1 -1
  135. package/dist/chunks/{index.b0a89960.js → index.99a2184a.js} +2 -2
  136. package/dist/chunks/{index.b0a89960.js.map → index.99a2184a.js.map} +1 -1
  137. package/dist/chunks/{index.f2223abb.js → index.9b669c12.js} +6 -6
  138. package/dist/chunks/{index.f2223abb.js.map → index.9b669c12.js.map} +1 -1
  139. package/dist/chunks/{index.720f0cbf.js → index.b38a191d.js} +13 -12
  140. package/dist/chunks/{index.720f0cbf.js.map → index.b38a191d.js.map} +1 -1
  141. package/dist/chunks/{index.58282364.js → index.d90c5838.js} +3 -3
  142. package/dist/chunks/{index.58282364.js.map → index.d90c5838.js.map} +1 -1
  143. package/dist/chunks/{index.75f0e99f.js → index.eb527b75.js} +6 -6
  144. package/dist/chunks/{index.75f0e99f.js.map → index.eb527b75.js.map} +1 -1
  145. package/dist/chunks/{listbox-option-tag.9103c011.js → listbox-option-tag.168c794c.js} +3 -3
  146. package/dist/chunks/{listbox-option-tag.9103c011.js.map → listbox-option-tag.168c794c.js.map} +1 -1
  147. package/dist/chunks/{listbox.7cf6d6b4.js → listbox.23c6b393.js} +6 -6
  148. package/dist/chunks/{listbox.7cf6d6b4.js.map → listbox.23c6b393.js.map} +1 -1
  149. package/dist/chunks/{loading-button.fb025a2e.js → loading-button.44d698b9.js} +2 -2
  150. package/dist/chunks/{loading-button.fb025a2e.js.map → loading-button.44d698b9.js.map} +1 -1
  151. package/dist/chunks/{tooltip.f48beb54.js → tooltip.f91b2040.js} +3 -3
  152. package/dist/chunks/{tooltip.f48beb54.js.map → tooltip.f91b2040.js.map} +1 -1
  153. package/dist/chunks/{useCountryItems.6b7985bf.js → use-country-items.6b7985bf.js} +1 -1
  154. package/dist/chunks/use-country-items.6b7985bf.js.map +1 -0
  155. package/dist/code-snippet.js +7 -7
  156. package/dist/code-snippet.js.map +1 -1
  157. package/dist/country.js +2 -2
  158. package/dist/currency.js +1 -1
  159. package/dist/data-grid.js +460 -451
  160. package/dist/data-grid.js.map +1 -1
  161. package/dist/date-picker.js +38 -38
  162. package/dist/date-picker.js.map +1 -1
  163. package/dist/date-range-picker.js +2 -2
  164. package/dist/date.js +1 -1
  165. package/dist/divider.js +1 -1
  166. package/dist/dropdown.js +102 -132
  167. package/dist/dropdown.js.map +1 -1
  168. package/dist/empty-state.js +3 -3
  169. package/dist/filter-bar.js +54 -53
  170. package/dist/filter-bar.js.map +1 -1
  171. package/dist/focus-trap.js +1 -1
  172. package/dist/form-layout.js +2 -2
  173. package/dist/header.js +3 -3
  174. package/dist/index.js +218 -215
  175. package/dist/info-icon.js +3 -3
  176. package/dist/input-field.js +4 -4
  177. package/dist/internal.js +7 -7
  178. package/dist/link.js +38 -28
  179. package/dist/link.js.map +1 -1
  180. package/dist/loading-indicator.js +1 -1
  181. package/dist/menu.js +1 -1
  182. package/dist/modal.js +209 -302
  183. package/dist/modal.js.map +1 -1
  184. package/dist/pagination.js +88 -88
  185. package/dist/pagination.js.map +1 -1
  186. package/dist/payment-method.js +2 -2
  187. package/dist/popover.js +1 -1
  188. package/dist/popper-container.js +1 -1
  189. package/dist/radio-group.js +4 -4
  190. package/dist/search-bar.js +2 -2
  191. package/dist/secondary-nav.js +2 -2
  192. package/dist/segmented-control.js +3 -3
  193. package/dist/sidepanel.js +5 -5
  194. package/dist/status.js +2 -2
  195. package/dist/stepper.js +3 -3
  196. package/dist/structured-list.js +1 -1
  197. package/dist/summary-grid.js +3 -3
  198. package/dist/tabs.js +4 -4
  199. package/dist/tabs.js.map +1 -1
  200. package/dist/tag.js +3 -3
  201. package/dist/textarea.js +4 -4
  202. package/dist/timeline.js +5 -5
  203. package/dist/toast.js +3 -3
  204. package/dist/toggle.js +2 -2
  205. package/dist/tutorial.js +5 -5
  206. package/dist/typography.js +1 -1
  207. package/dist/web-types.json +3739 -3589
  208. package/package.json +2 -2
  209. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.d.ts +0 -2
  210. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +0 -12
  211. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +0 -3
  212. package/dist/chunks/base-modal.5640a66a.js +0 -222
  213. package/dist/chunks/base-modal.5640a66a.js.map +0 -1
  214. package/dist/chunks/dropdown-default-textbox.1cba89ea.js.map +0 -1
  215. package/dist/chunks/dropdown.4152cc00.js +0 -887
  216. package/dist/chunks/dropdown.4152cc00.js.map +0 -1
  217. package/dist/chunks/index.179d485c.js +0 -635
  218. package/dist/chunks/index.179d485c.js.map +0 -1
  219. package/dist/chunks/useCountryItems.6b7985bf.js.map +0 -1
  220. /package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/{useDropdownOptionsListbox.d.ts → use-dropdown-options-listbox.d.ts} +0 -0
  221. /package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/{useCountryItems.d.ts → use-country-items.d.ts} +0 -0
@@ -1,635 +0,0 @@
1
- import { defineComponent as Re, reactive as Z, ref as E, computed as b, onMounted as Ue, toRef as ue, watch as Ae } from "vue";
2
- import { a as Ne } from "./index.f18f79eb.js";
3
- import { B as Te } from "./index.b0a89960.js";
4
- import { c as Be } from "./dropdown-default-textbox.1cba89ea.js";
5
- import { g as q } from "./unique-id.a2a2b458.js";
6
- import { u as ee } from "./i18n.eb5b985b.js";
7
- import { t as te, f as N } from "./index.720f0cbf.js";
8
- import { r as z, t as G, e as k, d as ae, f as ne } from "./index.f55fdc32.js";
9
- import { f as ce, v as Le, D as y } from "./date-input.9186a0bf.js";
10
- import { u as $e } from "./use-form-layout-loading.d03e5d48.js";
11
- import "./index.4c062058.js";
12
- import { BentoInputField as Ye } from "../input-field.js";
13
- import { B as qe } from "./dropdown.4152cc00.js";
14
- import { BentoSegmentedControl as Ge } from "../segmented-control.js";
15
- import { d as H } from "./debounce.b5ef6acf.js";
16
- import { u as We } from "./use-has-slot.fbeb19ec.js";
17
- import { s as Ve, c as De, i as K, e as me, d as fe, f as Q, g as He, C as h, u as Ke } from "./calendar.4ab3c2dc.js";
18
- import { e as j } from "./index.fdf12170.js";
19
- import { e as je } from "./index.d80206ed.js";
20
- import { n as Ie } from "./_plugin-vue2_normalizer.71e2aa87.js";
21
- import { E as ze, F as Je } from "./field-label.a0c54b7d.js";
22
- import { B as Qe } from "./directive.0408e565.js";
23
- import "../assets/index5.css";
24
- function pe(t, e) {
25
- z(2, arguments);
26
- var n = G(t), o = G(e);
27
- return n.getTime() === o.getTime();
28
- }
29
- function Xe(t, e) {
30
- z(2, arguments);
31
- var n = G(t), o = te(e);
32
- return n.setHours(o), n;
33
- }
34
- function Ze(t, e) {
35
- z(2, arguments);
36
- var n = G(t), o = te(e);
37
- return n.setMinutes(o), n;
38
- }
39
- function et(t, e) {
40
- z(2, arguments);
41
- var n = G(t), o = te(e);
42
- return n.setSeconds(o), n;
43
- }
44
- const tt = ({
45
- firstDayOfWeek: t,
46
- min: e,
47
- max: n
48
- }) => ({ getGranularCalendarLimits: (l) => {
49
- let d = Ve(e), s = j(n);
50
- if ((l == null ? void 0 : l.type) === "weekly") {
51
- if (l.earliest)
52
- d = l.earliest;
53
- else {
54
- const c = De(d, { weekStartsOn: t });
55
- K(d, c) || (d = me(d, { weekStartsOn: t }));
56
- }
57
- if (l.latest)
58
- s = l.latest;
59
- else {
60
- const c = me(s, { weekStartsOn: t });
61
- K(s, c) || (s = fe(De(s, { weekStartsOn: t }), 1));
62
- }
63
- }
64
- if ((l == null ? void 0 : l.type) === "monthly") {
65
- if (l.earliest)
66
- d = l.earliest;
67
- else {
68
- const c = Q(d);
69
- K(d, c) || (d = Q(He(d, 1)));
70
- }
71
- if (l.latest)
72
- s = l.latest;
73
- else {
74
- const c = je(s);
75
- K(s, c) || (s = fe(Q(s), 1));
76
- }
77
- }
78
- return { min: d, max: s };
79
- } });
80
- var D = /* @__PURE__ */ ((t) => (t.CUSTOM_RANGE = "custom-range", t.INPUT = "input", t.ERROR = "error", t.FORM_DATE = "form-date", t))(D || {});
81
- const at = /[\d]/, nt = /^\d{2}$/, rt = /^\d{2}:\d{2}$/, st = (t) => {
82
- const { selectionStart: e } = t.target, n = at.test(t.key) || t.key === "Backspace", o = [1, 2, 4, 5].includes(e) && t.key === ":";
83
- !n && !o && t.preventDefault();
84
- }, ge = (t) => {
85
- if (!t)
86
- return t;
87
- let e = t;
88
- if (e.length === 1 && parseInt(t, 10) > 2)
89
- return `0${e}:`;
90
- const [n, o] = e.slice(-2);
91
- return [2, 5].includes(e.length) && o === ":" && (e = `${e.slice(0, e.length - 2)}0${n}`), (nt.test(e) || rt.test(e)) && (e += ":"), e;
92
- }, it = {
93
- "en-US": {
94
- customRange: "Custom range",
95
- daily: "Daily",
96
- dateFrom: "Date from",
97
- dateTo: "Date to",
98
- lastMonth: "Last month",
99
- lastSevenDays: "Last 7 days",
100
- lastThreeMonths: "Last three months",
101
- monthly: "Monthly",
102
- timeFrom: "Time from",
103
- timeTo: "Time to",
104
- weekly: "Weekly"
105
- }
106
- }, ve = 300, X = "customRange", _e = "daily", ot = Re({
107
- i18n: { messages: it },
108
- name: "date-range-picker-calendar",
109
- components: {
110
- BentoDropdown: qe,
111
- BentoInputField: Ye,
112
- BentoSegmentedControl: Ge,
113
- BentoTypography: Te,
114
- Calendar: h
115
- },
116
- props: {
117
- /**
118
- * Allows user to enter time values in the form
119
- */
120
- allowTimeInput: { type: Boolean, default: !1 },
121
- /**
122
- * Ranges form persistance data
123
- */
124
- dateFormData: {
125
- type: Object,
126
- default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
127
- },
128
- /**
129
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
130
- */
131
- firstDayOfWeek: h.props.firstDayOfWeek,
132
- /**
133
- * A list of available granularities.
134
- * If present, the date picker will display a segmented control to change granularity.
135
- */
136
- granularities: {
137
- type: Array,
138
- default: null
139
- },
140
- /**
141
- * Indicate if a date should be disabled or not
142
- */
143
- isDateDisabled: h.props.isDateDisabled,
144
- /**
145
- * Set a maximum number of dates to be selectable by the range.
146
- */
147
- maxRange: h.props.maxRange,
148
- /**
149
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
150
- */
151
- min: h.props.min,
152
- /**
153
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
154
- */
155
- max: h.props.max,
156
- /**
157
- * Number of months rendered on pane
158
- */
159
- numberOfMonths: h.props.numberOfMonths,
160
- /**
161
- * Enables the custom range selector.
162
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
163
- * `label` - label of custom range item.
164
- * `value` - a unique key of the custom range item.
165
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
166
- */
167
- quickSelectRanges: {
168
- type: Array,
169
- default: void 0
170
- },
171
- /**
172
- * Selected date
173
- */
174
- value: { type: Object, default: void 0 }
175
- },
176
- emits: [
177
- D.CUSTOM_RANGE,
178
- D.INPUT,
179
- D.ERROR,
180
- D.FORM_DATE
181
- ],
182
- setup(t, { emit: e, slots: n }) {
183
- var se, ie, oe, le, de;
184
- const { locale: o, t: l } = ee(), d = { de: ae, enUS: k, fr: ne }, s = Z({
185
- startDate: (se = t.value) == null ? void 0 : se.startDate,
186
- endDate: (ie = t.value) == null ? void 0 : ie.endDate,
187
- ...t.granularities ? {
188
- granularity: ((oe = t.value) == null ? void 0 : oe.granularity) || _e
189
- } : {}
190
- }), c = E(
191
- ((de = (le = t == null ? void 0 : t.quickSelectRanges) == null ? void 0 : le.find(
192
- ({ data: a }) => pe(a.startDate, s.startDate) && pe(a.endDate, s.endDate)
193
- )) == null ? void 0 : de.value) ?? X
194
- ), B = b(() => ({
195
- "b-date-range-picker-calendar__form-input-wrapper": t.allowTimeInput
196
- })), L = b(() => t.quickSelectRanges ? [
197
- { label: l("customRange"), value: X },
198
- ...t.quickSelectRanges
199
- ] : []), R = b(
200
- () => {
201
- var a;
202
- return ((a = t.granularities) == null ? void 0 : a.find(({ type: r }) => r === s.granularity)) || null;
203
- }
204
- ), f = b(
205
- () => t.granularities.map(({ type: a, disabled: r }) => ({
206
- label: l(a),
207
- value: a,
208
- disabled: r
209
- }))
210
- ), { getGranularCalendarLimits: P } = tt(t), p = b(
211
- () => t.granularities ? P(R.value) : { min: t.min, max: t.max }
212
- ), {
213
- adjustStartDateInputForWeekly: U,
214
- adjustEndDateInputForWeekly: T,
215
- adjustStartDateInputForMonthly: M,
216
- adjustEndDateInputForMonthly: g
217
- } = Ke(t.firstDayOfWeek, t.min, t.max), O = () => {
218
- t != null && t.quickSelectRanges && (c.value = X);
219
- }, _ = (a) => a ? N(a, y.NUMERIC_DATE_YEAR_FIRST, {
220
- locale: d[o.value.substring(0, 2)] || k
221
- }) : "", $ = (a) => a ? N(a, y.HOUR_MINUTE_SECONDS, {
222
- locale: d[o.value.substring(0, 2)] || k
223
- }) : "", C = E(!1), x = E(!1), w = E(!1), F = E(!1), i = Z({
224
- startDate: t.dateFormData.startDate,
225
- endDate: t.dateFormData.endDate,
226
- startTime: t.dateFormData.startTime,
227
- endTime: t.dateFormData.endTime
228
- }), re = (a) => {
229
- s.startDate = a.startDate, s.endDate = a.endDate, e(D.INPUT, s);
230
- }, W = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), u = (a, r) => {
231
- if (!r || !W(r))
232
- return a;
233
- let m = new Date(a);
234
- const [S, J, Pe] = r.split(":");
235
- return m = Xe(m, parseInt(S, 10)), m = Ze(m, parseInt(J, 10)), m = et(m, parseInt(Pe, 10)), m;
236
- }, v = (a) => {
237
- const r = (S) => t.min && S <= t.min || t.max && S >= t.max ? !1 : t.isDateDisabled ? !t.isDateDisabled(S) : !0;
238
- return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && r(new Date(a));
239
- };
240
- Ue(() => {
241
- t.dateFormData.startDate && !v(t.dateFormData.startDate) ? C.value = !0 : (C.value = !1, w.value = !1), t.dateFormData.endDate && !v(t.dateFormData.endDate) ? x.value = !0 : (x.value = !1, F.value = !1);
242
- });
243
- const Y = (a) => {
244
- var r;
245
- O(), i.startDate = _(a), i.startTime ? w.value && (i.startTime = (r = t.dateFormData) == null ? void 0 : r.startTime) : i.startTime = $(a), C.value = !1, w.value = !1;
246
- }, be = (a) => {
247
- var r;
248
- i.endDate = _(a), i.endTime ? F.value && (i.endTime = (r = t.dateFormData) == null ? void 0 : r.endTime) : i.endTime = $(j(a)), x.value = !1, F.value = !1;
249
- }, V = (a) => {
250
- const r = t.value[a];
251
- if (r)
252
- return r;
253
- if (t.dateFormData[a] && v(t.dateFormData[a]))
254
- return new Date(t.dateFormData[a]);
255
- }, ye = H((a) => {
256
- if (v(a)) {
257
- let r = a;
258
- switch (C.value = !1, R.value.type) {
259
- case "weekly":
260
- r = U(a, _), i.startDate = r;
261
- break;
262
- case "monthly":
263
- r = M(a, _), i.startDate = r;
264
- break;
265
- }
266
- s.startDate = u(new Date(r), i.startTime);
267
- const m = V("endDate");
268
- e(D.FORM_DATE, {
269
- startDate: new Date(r),
270
- endDate: m
271
- }), e(D.INPUT, {
272
- startDate: new Date(r),
273
- endDate: m
274
- });
275
- } else
276
- C.value = !0, e(D.ERROR, { ...i });
277
- }, ve), ke = (a) => {
278
- O(), i.startDate = ce(a), ye(i.startDate);
279
- }, Se = H((a) => {
280
- if (v(a)) {
281
- let r = a;
282
- switch (x.value = !1, R.value.type) {
283
- case "weekly":
284
- r = T(a, _), i.endDate = r;
285
- break;
286
- case "monthly":
287
- r = g(a, _), i.endDate = r;
288
- break;
289
- }
290
- s.endDate = u(new Date(r), i.endTime);
291
- const m = V("startDate");
292
- e(D.FORM_DATE, {
293
- startDate: m,
294
- endDate: new Date(s.endDate),
295
- startTime: t.dateFormData.endTime,
296
- endTime: r
297
- }), e(D.INPUT, {
298
- startDate: m,
299
- endDate: new Date(s.endDate)
300
- });
301
- } else
302
- x.value = !0, e(D.ERROR, { ...i });
303
- }, ve), Ee = (a) => {
304
- O(), i.endDate = ce(a), Se(i.endDate);
305
- }, Me = (a) => {
306
- Le(a);
307
- }, Oe = H((a) => {
308
- if (W(a)) {
309
- w.value = !1, s.startDate = u(s.startDate, a);
310
- const r = V("endDate");
311
- e(D.FORM_DATE, {
312
- startDate: new Date(s.startDate),
313
- endDate: r,
314
- startTime: a,
315
- endTime: t.dateFormData.endTime
316
- }), e(D.INPUT, {
317
- startDate: new Date(s.startDate),
318
- endDate: r
319
- });
320
- } else
321
- w.value = !0, e(D.ERROR, { ...i });
322
- }), Ce = H((a) => {
323
- if (W(a)) {
324
- F.value = !1, s.endDate = u(s.endDate, a);
325
- const r = V("startDate");
326
- e(D.FORM_DATE, {
327
- startDate: r,
328
- endDate: new Date(s.endDate),
329
- startTime: t.dateFormData.startTime,
330
- endTime: a
331
- }), e(D.INPUT, {
332
- startDate: r,
333
- endDate: new Date(s.endDate)
334
- });
335
- } else
336
- F.value = !0, e(D.ERROR, { ...i });
337
- }), xe = (a) => {
338
- O(), i.startTime = ge(a), Oe(i.startTime);
339
- }, we = (a) => {
340
- O(), i.endTime = ge(a), Ce(i.endTime);
341
- }, Fe = (a) => {
342
- st(a);
343
- }, he = (a) => {
344
- var m, S;
345
- c.value = a;
346
- const r = (S = (m = t.quickSelectRanges) == null ? void 0 : m.find(({ value: J }) => J === a)) == null ? void 0 : S.data;
347
- r && (i.startDate = _(r.startDate), i.endDate = _(r.endDate), t.granularities && (s.granularity = r.granularity || _e), i.startTime || (i.startTime = $(j(r.startDate))), i.endTime || (i.endTime = $(j(r.endDate))), e(D.CUSTOM_RANGE, r));
348
- };
349
- return {
350
- // Values
351
- internalRangeDate: s,
352
- dateTextInput: i,
353
- endDateError: x,
354
- endTimeError: F,
355
- granularityItems: f,
356
- selectedGranularity: R,
357
- computedMinMax: p,
358
- selectedRangeSelectorValue: c,
359
- startDateError: C,
360
- startTimeError: w,
361
- quickSelectRangeDefaultItems: L,
362
- formInputWrapperConditionalClasses: B,
363
- // Methods
364
- hasSlot: We(n),
365
- t: l,
366
- // Events
367
- onDateInput: re,
368
- onDateInputKeyDown: Me,
369
- onEndDateInput: Ee,
370
- onEndDateSelected: be,
371
- onEndTimeInput: we,
372
- onRangeSelectorInput: he,
373
- onStartDateInput: ke,
374
- onStartDateSelected: Y,
375
- onStartTimeInput: xe,
376
- onTimeInputKeyDown: Fe
377
- };
378
- }
379
- });
380
- var lt = function() {
381
- var e = this, n = e._self._c;
382
- return e._self._setupProxy, n("div", { staticClass: "b-date-range-picker-calendar" }, [n("div", { staticClass: "b-date-range-picker-calendar__form-container" }, [n("div", { staticClass: "b-date-range-picker-calendar__form" }, [e.hasSlot("title") ? [e._t("title")] : e._e(), e.quickSelectRanges ? n("bento-dropdown", { attrs: { "aria-label": e.t("customRange"), items: e.quickSelectRangeDefaultItems, value: e.selectedRangeSelectorValue }, on: { input: e.onRangeSelectorInput } }) : e._e(), e.granularities ? n("bento-segmented-control", { attrs: { items: e.granularityItems, "model-value": e.internalRangeDate.granularity, "full-width": "" }, on: { "update:model-value": function(o) {
383
- e.internalRangeDate.granularity = o;
384
- } } }) : e._e(), n("div", [n("bento-typography", { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [e._v(" From ")]), n("div", { class: e.formInputWrapperConditionalClasses }, [n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.$t("dateFrom"), value: e.dateTextInput.startDate, error: e.startDateError }, on: { input: e.onStartDateInput, keydown: e.onDateInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
385
- return [e._v("YYYY-MM-DD")];
386
- }, proxy: !0 }]) }), e.allowTimeInput ? n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("timeFrom"), value: e.dateTextInput.startTime, error: e.startTimeError }, on: { input: e.onStartTimeInput, keydown: e.onTimeInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
387
- return [e._v("HH:MM:SS")];
388
- }, proxy: !0 }], null, !1, 3442289499) }) : e._e()], 1)], 1), n("div", [n("bento-typography", { staticClass: "b-date-range-picker-calendar__label", attrs: { stronger: "", el: "span" } }, [e._v(" To ")]), n("div", { class: e.formInputWrapperConditionalClasses }, [n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.$t("dateTo"), value: e.dateTextInput.endDate, error: e.endDateError }, on: { input: e.onEndDateInput, keydown: e.onDateInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
389
- return [e._v("YYYY-MM-DD")];
390
- }, proxy: !0 }]) }), e.allowTimeInput ? n("bento-input-field", { staticClass: "b-date-range-picker-calendar__form-input", attrs: { "aria-label": e.t("timeTo"), value: e.dateTextInput.endTime, error: e.endTimeError }, on: { input: e.onEndTimeInput, keydown: e.onTimeInputKeyDown }, scopedSlots: e._u([{ key: "description", fn: function() {
391
- return [e._v("HH:MM:SS")];
392
- }, proxy: !0 }], null, !1, 3442289499) }) : e._e()], 1)], 1)], 2), e.hasSlot("actions") ? n("div", [e._t("actions")], 2) : e._e()]), n("div", { staticClass: "b-date-range-picker-calendar__calendars-container" }, [n("calendar", { attrs: { value: e.value, "first-day-of-week": e.firstDayOfWeek, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.computedMinMax.min, max: e.computedMinMax.max, "number-of-months": e.numberOfMonths, granularity: e.selectedGranularity, "is-range": "" }, on: { input: e.onDateInput, "start-date-selected": e.onStartDateSelected, "end-date-selected": e.onEndDateSelected } })], 1)]);
393
- }, dt = [], ut = /* @__PURE__ */ Ie(
394
- ot,
395
- lt,
396
- dt,
397
- !1,
398
- null,
399
- "5e4759a3",
400
- null,
401
- null
402
- );
403
- const I = ut.exports, ct = ({
404
- datePickerValue: t,
405
- isDateIncorrect: e
406
- }) => {
407
- var R, f, P, p, U;
408
- const { locale: n, t: o } = ee(), l = { de: ae, enUS: k, fr: ne }, d = (T, M) => N(T, M, {
409
- locale: l[n.value.substring(0, 2)] || k
410
- }), s = (T) => N(T, y.HOUR_MINUTE_SECONDS, {
411
- locale: l[n.value.substring(0, 2)] || k
412
- }), c = Z({
413
- startDate: (R = t.value) != null && R.startDate ? d(t.value.startDate, y.NUMERIC_DATE_YEAR_FIRST) : void 0,
414
- endDate: (f = t.value) != null && f.endDate ? d(t.value.endDate, y.NUMERIC_DATE_YEAR_FIRST) : void 0,
415
- // Set time if the startDate/endDate are set
416
- startTime: (P = t.value) != null && P.startDate ? s((p = t.value) == null ? void 0 : p.startDate) : void 0,
417
- endTime: (U = t.value) != null && U.endDate ? s(t.value.endDate) : void 0
418
- });
419
- return {
420
- // Values
421
- dateDisplayValue: b(() => {
422
- if (e.value)
423
- return `${c.startDate || ""} - ${c.endDate || ""}`;
424
- if (!t.value || !t.value.startDate && !t.value.endDate)
425
- return o("selectDateRange");
426
- const { startDate: T, endDate: M } = c;
427
- return `${d(new Date(T), y.FULL_DATE_MONTH_FIRST)} - ${d(
428
- new Date(M),
429
- y.FULL_DATE_MONTH_FIRST
430
- )}`;
431
- }),
432
- textInputDisplayValue: c,
433
- // Methods
434
- formatTextInputDisplayValue: () => ""
435
- };
436
- };
437
- var A = /* @__PURE__ */ ((t) => (t.INPUT = "input", t))(A || {});
438
- const Dt = {
439
- "en-US": {
440
- dateRangePicker: "Date range picker {name}",
441
- provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
442
- selectDate: "Select a date",
443
- selectDateRange: "Select a date range",
444
- selectedDateIsNotAvailable: "Selected date is not available"
445
- }
446
- }, mt = Re({
447
- i18n: { messages: Dt },
448
- name: "bento-date-range-picker",
449
- components: {
450
- BentoTypography: Te,
451
- BentoPopover: Ne,
452
- DateRangePickerCalendar: I,
453
- DropdownInputDefault: Be,
454
- ErrorMessage: ze,
455
- FieldLabel: Je
456
- },
457
- directives: { BentoClickOutsideDirective: Qe },
458
- props: {
459
- /**
460
- * Allows user to enter time values in the form
461
- */
462
- allowTimeInput: { type: Boolean, default: !1 },
463
- /**
464
- * Descriptive supporting text visbile underneath the dropdown.
465
- */
466
- description: { type: String, default: void 0 },
467
- /**
468
- * Disables dropdown functionality.
469
- */
470
- disabled: { type: Boolean, default: !1 },
471
- /**
472
- * Displays component in an error state with an error message
473
- */
474
- errorMessage: { type: String, default: null },
475
- /**
476
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
477
- */
478
- firstDayOfWeek: I.props.firstDayOfWeek,
479
- /**
480
- * A list of available granularities.
481
- * If present, the date picker will display a segmented control to change granularity.
482
- */
483
- granularities: I.props.granularities,
484
- /**
485
- * Indicate if a date should be disabled or not
486
- */
487
- isDateDisabled: I.props.isDateDisabled,
488
- /**
489
- * Text that is displayed as a label above the element.
490
- */
491
- label: { type: String, default: void 0 },
492
- /**
493
- * Highlights the dropdown is optional.
494
- */
495
- optional: { type: Boolean, default: !1 },
496
- /**
497
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
498
- */
499
- readonly: { type: Boolean, default: !1 },
500
- /**
501
- * Highlights the dropdown is required.
502
- */
503
- required: { type: Boolean, default: !1 },
504
- /**
505
- * Adds a info icon next to the label to display the passed tooltip message.
506
- */
507
- tooltipText: { type: String, default: null },
508
- /**
509
- * Enables the range selector.
510
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
511
- * `label` - label of custom range item.
512
- * `value` - a unique key of the custom range item.
513
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
514
- */
515
- quickSelectRanges: {
516
- type: Array,
517
- default: void 0
518
- },
519
- /**
520
- * Set a maximum number of dates to be selectable by the range.
521
- */
522
- maxRange: I.props.maxRange,
523
- /**
524
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
525
- */
526
- min: I.props.min,
527
- /**
528
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
529
- */
530
- max: I.props.max,
531
- /**
532
- * Number of months rendered on pane
533
- */
534
- numberOfMonths: I.props.numberOfMonths,
535
- /**
536
- * Selected date
537
- */
538
- value: I.props.value
539
- },
540
- emits: [A.INPUT],
541
- setup(t, { emit: e }) {
542
- const { locale: n, t: o } = ee(), l = { de: ae, enUS: k, fr: ne }, d = q("bento-date-range-picker-container"), s = q("bento-date-range-picker-label"), c = q("bento-date-range-picker-description"), B = q("bento-date-range-picker-error"), L = q("bento-date-range-picker-date-error"), R = b(
543
- () => t.label || o("dateRangePicker", { name: d })
544
- ), f = E(!1), P = E(null), p = E(!1), { isReadOnly: U } = $e(ue(t, "readonly"));
545
- Ae(
546
- () => t.disabled,
547
- () => {
548
- t.disabled && p.value && (p.value = !1);
549
- }
550
- );
551
- const T = b(() => ({
552
- "b-date-range-picker__description--error": !!t.errorMessage || f.value
553
- })), { dateDisplayValue: M, textInputDisplayValue: g, formatTextInputDisplayValue: O } = ct({
554
- datePickerValue: ue(t, "value"),
555
- isDateIncorrect: f
556
- }), _ = b(
557
- () => `${t.description ? c : ""} ${t.errorMessage ? B : ""} ${f.value ? L : ""}`.trim() || null
558
- );
559
- return {
560
- // Refs
561
- inputContainerRef: P,
562
- // Values,
563
- dateDisplayValue: M,
564
- datePickerContainerId: d,
565
- descriptionConditionalClasses: T,
566
- isDateIncorrect: f,
567
- isDateRangePickerOpen: p,
568
- isReadOnly: U,
569
- labelId: s,
570
- descriptionId: c,
571
- dateErrorId: L,
572
- errorId: B,
573
- popoverAriaLabel: R,
574
- ariaDescribedBy: _,
575
- textInputDisplayValue: g,
576
- // Events
577
- closeDateRangePicker: () => {
578
- p.value = !1;
579
- },
580
- clearDateRangePickerValue: async () => {
581
- f.value && (f.value = !1), e(A.INPUT, null);
582
- },
583
- openDateRangePicker: () => {
584
- p.value = !0, O();
585
- },
586
- onRangeSelectorInput: (u) => {
587
- if (u) {
588
- const v = (Y) => N(Y, y.NUMERIC_DATE_YEAR_FIRST, {
589
- locale: l[n.value.substring(0, 2)] || k
590
- });
591
- g.startDate = v(u.startDate), g.endDate = v(u.endDate), e(A.INPUT, u);
592
- }
593
- },
594
- onEnterPressedOverInput: () => {
595
- f.value || (p.value = !1);
596
- },
597
- onDateRangePickerInput: (u) => {
598
- f.value = !1;
599
- const v = (Y) => N(Y, y.NUMERIC_DATE_YEAR_FIRST, {
600
- locale: l[n.value.substring(0, 2)] || k
601
- });
602
- g.startDate = v(u.startDate), g.endDate = v(u.endDate), e(A.INPUT, u);
603
- },
604
- onDateRangePickerError: (u) => {
605
- f.value = !0, g.startDate = u.startDate, g.endDate = u.endDate, e(A.INPUT, { startDate: null, endDate: null });
606
- },
607
- onDateRangePickerFormDateInputUpdate: (u) => {
608
- f.value = !1, u.startTime && (g.startTime = u.startTime), u.endTime && (g.endTime = u.endTime);
609
- }
610
- };
611
- }
612
- });
613
- var ft = function() {
614
- var e = this, n = e._self._c;
615
- return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.closeDateRangePicker, expression: "closeDateRangePicker" }], staticClass: "b-date-range-picker" }, [e.label ? n("field-label", { attrs: { id: e.labelId, label: e.label, "tooltip-text": e.tooltipText, optional: e.optional, required: e.required } }) : e._e(), n("div", { on: { keydown: function(o) {
616
- return !o.type.indexOf("key") && e._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : e.onEnterPressedOverInput.apply(null, arguments);
617
- } } }, [n("dropdown-input-default", { ref: "inputContainerRef", attrs: { ariaControls: e.datePickerContainerId, ariaExpanded: e.isDateRangePickerOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, disabled: e.disabled, "is-invalid": !!e.errorMessage || e.isDateIncorrect, open: e.isDateRangePickerOpen, "display-value": e.dateDisplayValue, readonly: e.isReadOnly }, on: { open: e.openDateRangePicker, clear: e.clearDateRangePickerValue, close: e.closeDateRangePicker } })], 1), e.isDateIncorrect ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.dateErrorId, "error-message": e.$t("provideDateInAFormat").toString() } }) : e._e(), e.errorMessage ? n("error-message", { staticClass: "b-date-range-picker__error-message", attrs: { id: e.errorId, "error-message": e.errorMessage } }) : e._e(), e.description ? n("bento-typography", { staticClass: "b-date-range-picker__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [e._v(" " + e._s(e.description) + " ")]) : e._e(), e.inputContainerRef ? n("bento-popover", { staticClass: "b-date-range-picker__container", attrs: { id: e.datePickerContainerId, open: e.isDateRangePickerOpen, "target-element": e.inputContainerRef, "disable-focus-trap": !0, "aria-label": e.popoverAriaLabel, position: "bottom-start", "without-space": "", "fit-content": "" } }, [n("date-range-picker-calendar", { attrs: { "allow-time-input": e.allowTimeInput, "quick-select-ranges": e.quickSelectRanges, value: e.value, "first-day-of-week": e.firstDayOfWeek, granularities: e.granularities, "is-date-disabled": e.isDateDisabled, "max-range": e.maxRange, min: e.min, max: e.max, "number-of-months": e.numberOfMonths, "date-form-data": e.textInputDisplayValue }, on: { "custom-range": e.onRangeSelectorInput, input: e.onDateRangePickerInput, error: e.onDateRangePickerError, "form-date": e.onDateRangePickerFormDateInputUpdate } })], 1) : e._e()], 1);
618
- }, pt = [], gt = /* @__PURE__ */ Ie(
619
- mt,
620
- ft,
621
- pt,
622
- !1,
623
- null,
624
- "4511bb26",
625
- null,
626
- null
627
- );
628
- const Lt = gt.exports;
629
- export {
630
- Lt as B,
631
- I as D,
632
- A as a,
633
- pe as i
634
- };
635
- //# sourceMappingURL=index.179d485c.js.map