@adyen/bento-vue2 1.76.2 → 1.77.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 (145) hide show
  1. package/dist/@types/index.d.ts +300 -35
  2. package/dist/assets/accordion-item.css +1 -1
  3. package/dist/assets/action-bar.css +1 -1
  4. package/dist/assets/base-modal.css +1 -1
  5. package/dist/assets/button-actions.css +1 -1
  6. package/dist/assets/card.css +1 -1
  7. package/dist/assets/data-grid.css +1 -1
  8. package/dist/assets/date-picker.css +1 -1
  9. package/dist/assets/date-range-picker.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown-default-textbox.css +1 -1
  12. package/dist/assets/dropdown-tag.css +1 -1
  13. package/dist/assets/dropdown.css +1 -1
  14. package/dist/assets/file-uploader.css +1 -1
  15. package/dist/assets/filter-bar.css +1 -1
  16. package/dist/assets/input-field-phone-number.css +1 -1
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/pagination.css +1 -1
  21. package/dist/assets/payment-method.css +1 -1
  22. package/dist/assets/secondary-nav.css +1 -1
  23. package/dist/assets/sidepanel.css +1 -1
  24. package/dist/assets/tag.css +1 -1
  25. package/dist/assets/textarea.css +1 -1
  26. package/dist/assets/timeline-item.css +1 -1
  27. package/dist/checkbox.js +2 -2
  28. package/dist/chunks/{checkbox-group.CtNVRcmP.js → checkbox-group.C3RH5Gcg.js} +2 -2
  29. package/dist/chunks/{checkbox-group.CtNVRcmP.js.map → checkbox-group.C3RH5Gcg.js.map} +1 -1
  30. package/dist/chunks/{checkbox.nyUc0gLb.js → checkbox.itbBlXev.js} +3 -3
  31. package/dist/chunks/{checkbox.nyUc0gLb.js.map → checkbox.itbBlXev.js.map} +1 -1
  32. package/dist/chunks/{code-snippet.DFf3KMSi.js → code-snippet.BEbA1bIn.js} +2 -2
  33. package/dist/chunks/{code-snippet.DFf3KMSi.js.map → code-snippet.BEbA1bIn.js.map} +1 -1
  34. package/dist/chunks/{currency.AvvbekWO.js → currency.Cwhzzxw2.js} +2 -2
  35. package/dist/chunks/{currency.AvvbekWO.js.map → currency.Cwhzzxw2.js.map} +1 -1
  36. package/dist/chunks/{data-grid.C07AmPwV.js → data-grid.B-kBw540.js} +7 -7
  37. package/dist/chunks/{data-grid.C07AmPwV.js.map → data-grid.B-kBw540.js.map} +1 -1
  38. package/dist/chunks/date-picker.CKaQJcPa.js +168 -0
  39. package/dist/chunks/date-picker.CKaQJcPa.js.map +1 -0
  40. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  41. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  42. package/dist/chunks/date-range-picker.BtPxkPN0.js +942 -0
  43. package/dist/chunks/date-range-picker.BtPxkPN0.js.map +1 -0
  44. package/dist/chunks/{dropdown-default-textbox.yLeN0E2z.js → dropdown-default-textbox.BCOVaw-a.js} +10 -10
  45. package/dist/chunks/dropdown-default-textbox.BCOVaw-a.js.map +1 -0
  46. package/dist/chunks/dropdown-tag.BXMgDH3v.js +294 -0
  47. package/dist/chunks/dropdown-tag.BXMgDH3v.js.map +1 -0
  48. package/dist/chunks/{dropdown.RxD2TqnP.js → dropdown.-3x2IBDg.js} +305 -297
  49. package/dist/chunks/{dropdown.RxD2TqnP.js.map → dropdown.-3x2IBDg.js.map} +1 -1
  50. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  51. package/dist/chunks/{file-uploader.BGoCYrnw.js → file-uploader.BkTtqgvQ.js} +296 -295
  52. package/dist/chunks/{file-uploader.BGoCYrnw.js.map → file-uploader.BkTtqgvQ.js.map} +1 -1
  53. package/dist/chunks/{filter-bar.DVqgwt2p.js → filter-bar.BLnSnOlj.js} +201 -201
  54. package/dist/chunks/filter-bar.BLnSnOlj.js.map +1 -0
  55. package/dist/chunks/form-field.BBqLu-vs.js +10 -0
  56. package/dist/chunks/form-field.BBqLu-vs.js.map +1 -0
  57. package/dist/chunks/get-slot-text.Bjb9dTSV.js +12 -0
  58. package/dist/chunks/get-slot-text.Bjb9dTSV.js.map +1 -0
  59. package/dist/chunks/{header-with-views.jnhILkoQ.js → header-with-views.C6Y7mAkq.js} +3 -3
  60. package/dist/chunks/{header-with-views.jnhILkoQ.js.map → header-with-views.C6Y7mAkq.js.map} +1 -1
  61. package/dist/chunks/{input-field-password.CHn2GUcL.js → input-field-password.sthICA2L.js} +3 -3
  62. package/dist/chunks/{input-field-password.CHn2GUcL.js.map → input-field-password.sthICA2L.js.map} +1 -1
  63. package/dist/chunks/{input-field-phone-number.CpnfVw6w.js → input-field-phone-number.BjinuvOl.js} +5 -5
  64. package/dist/chunks/{input-field-phone-number.CpnfVw6w.js.map → input-field-phone-number.BjinuvOl.js.map} +1 -1
  65. package/dist/chunks/{input-field.sGmuIXiw.js → input-field.CwKD3p3q.js} +34 -34
  66. package/dist/chunks/input-field.CwKD3p3q.js.map +1 -0
  67. package/dist/chunks/link.D8qpqg3W.js.map +1 -1
  68. package/dist/chunks/{listbox-option-tag.Dl8GwHLT.js → listbox-option-tag.DkPz3wPc.js} +2 -2
  69. package/dist/chunks/{listbox-option-tag.Dl8GwHLT.js.map → listbox-option-tag.DkPz3wPc.js.map} +1 -1
  70. package/dist/chunks/{pagination.C0YW_A_o.js → pagination.BzyyZJy6.js} +7 -7
  71. package/dist/chunks/pagination.BzyyZJy6.js.map +1 -0
  72. package/dist/chunks/{payment-method.DtvfUnit.js → payment-method.CcASYR3B.js} +12 -12
  73. package/dist/chunks/payment-method.CcASYR3B.js.map +1 -0
  74. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  75. package/dist/chunks/{radio-group.AcYMFudv.js → radio-group.B8ukv-pw.js} +3 -3
  76. package/dist/chunks/{radio-group.AcYMFudv.js.map → radio-group.B8ukv-pw.js.map} +1 -1
  77. package/dist/chunks/{rich-text-editor.eYW8X_YP.js → rich-text-editor.DzH-Z5oi.js} +2 -2
  78. package/dist/chunks/{rich-text-editor.eYW8X_YP.js.map → rich-text-editor.DzH-Z5oi.js.map} +1 -1
  79. package/dist/chunks/{search-bar.D8SJsbze.js → search-bar.CgzPXP8r.js} +3 -3
  80. package/dist/chunks/{search-bar.D8SJsbze.js.map → search-bar.CgzPXP8r.js.map} +1 -1
  81. package/dist/chunks/{secondary-nav.BFiTQaag.js → secondary-nav.3eZKyb8K.js} +4 -4
  82. package/dist/chunks/secondary-nav.3eZKyb8K.js.map +1 -0
  83. package/dist/chunks/{summary-grid.types.B80533d1.js → summary-grid.types.CaYrtyVO.js} +2 -2
  84. package/dist/chunks/{summary-grid.types.B80533d1.js.map → summary-grid.types.CaYrtyVO.js.map} +1 -1
  85. package/dist/chunks/tag.BltIbSh3.js +44 -0
  86. package/dist/chunks/tag.BltIbSh3.js.map +1 -0
  87. package/dist/chunks/textarea.h-WF62HP.js +173 -0
  88. package/dist/chunks/textarea.h-WF62HP.js.map +1 -0
  89. package/dist/chunks/{timeline-item.CZBuknZ_.js → timeline-item.BLhS7uNF.js} +5 -5
  90. package/dist/chunks/timeline-item.BLhS7uNF.js.map +1 -0
  91. package/dist/chunks/{toggle.BJMXpHRu.js → toggle.D2wmNu7m.js} +2 -2
  92. package/dist/chunks/{toggle.BJMXpHRu.js.map → toggle.D2wmNu7m.js.map} +1 -1
  93. package/dist/code-snippet.js +1 -1
  94. package/dist/currency.js +1 -1
  95. package/dist/data-grid.js +1 -1
  96. package/dist/date-picker.js +7 -6
  97. package/dist/date-picker.js.map +1 -1
  98. package/dist/date-range-picker.js +1 -1
  99. package/dist/dropdown.js +3 -3
  100. package/dist/file-uploader.js +1 -1
  101. package/dist/filter-bar.js +1 -1
  102. package/dist/header-with-views.js +1 -1
  103. package/dist/index.js +247 -246
  104. package/dist/index.js.map +1 -1
  105. package/dist/input-field-password.js +1 -1
  106. package/dist/input-field-phone-number.js +1 -1
  107. package/dist/input-field.js +1 -1
  108. package/dist/internal.js +1 -1
  109. package/dist/pagination.js +1 -1
  110. package/dist/payment-method.js +1 -1
  111. package/dist/radio-group.js +1 -1
  112. package/dist/rich-text-editor.js +1 -1
  113. package/dist/search-bar.js +2 -2
  114. package/dist/secondary-nav.js +1 -1
  115. package/dist/styles/bento-dark.css +4 -0
  116. package/dist/styles/bento-light.css +4 -0
  117. package/dist/styles/bento.css +4 -0
  118. package/dist/styles/legacy.css +4 -0
  119. package/dist/styles/styleguide.css +4 -0
  120. package/dist/summary-grid.js +1 -1
  121. package/dist/tag.js +1 -1
  122. package/dist/textarea.js +1 -1
  123. package/dist/timeline.js +1 -1
  124. package/dist/toggle.js +1 -1
  125. package/dist/web-types.json +144 -6
  126. package/package.json +6 -6
  127. package/dist/chunks/date-picker.DImAYvoM.js +0 -158
  128. package/dist/chunks/date-picker.DImAYvoM.js.map +0 -1
  129. package/dist/chunks/date-range-picker.NAG_5i8I.js +0 -914
  130. package/dist/chunks/date-range-picker.NAG_5i8I.js.map +0 -1
  131. package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +0 -1
  132. package/dist/chunks/dropdown-tag.CpvU8eSZ.js +0 -260
  133. package/dist/chunks/dropdown-tag.CpvU8eSZ.js.map +0 -1
  134. package/dist/chunks/filter-bar.DVqgwt2p.js.map +0 -1
  135. package/dist/chunks/get-slot-text.BQS5Olxm.js +0 -12
  136. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +0 -1
  137. package/dist/chunks/input-field.sGmuIXiw.js.map +0 -1
  138. package/dist/chunks/pagination.C0YW_A_o.js.map +0 -1
  139. package/dist/chunks/payment-method.DtvfUnit.js.map +0 -1
  140. package/dist/chunks/secondary-nav.BFiTQaag.js.map +0 -1
  141. package/dist/chunks/tag.BwKc2d2E.js +0 -44
  142. package/dist/chunks/tag.BwKc2d2E.js.map +0 -1
  143. package/dist/chunks/textarea.CIQuLWQ8.js +0 -165
  144. package/dist/chunks/textarea.CIQuLWQ8.js.map +0 -1
  145. package/dist/chunks/timeline-item.CZBuknZ_.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as N, useSlots as de, useAttrs as et, computed as r, ref as E, watch as W, nextTick as Ee, toRef as H, onBeforeUpdate as pe, provide as Oe, reactive as tt, onMounted as Re } from "vue";
2
- import { B as lt } from "./radio-group.AcYMFudv.js";
1
+ import { defineComponent as N, useSlots as de, useAttrs as et, computed as r, ref as O, watch as W, nextTick as Ee, toRef as H, onBeforeUpdate as pe, provide as Oe, reactive as tt, onMounted as Re } from "vue";
2
+ import { B as lt } from "./radio-group.B8ukv-pw.js";
3
3
  import { u as Z } from "./index.B6WW_F-J.js";
4
4
  import { t as le } from "./truncate.BfIl_-71.js";
5
5
  import { u as at, d as xe, h as nt, I as ot, k as st, B as it } from "./button-actions.B81vY51z.js";
@@ -11,30 +11,30 @@ import { B as Ue, a as Ce } from "./base-button.Cv-1788W.js";
11
11
  import { B as ue, d as _e } from "./typography.hlOAxsEn.js";
12
12
  import { u as $e } from "./use-has-slot.C9lQZ6nz.js";
13
13
  import { u as ke } from "./aria-label.CaUURpnB.js";
14
- import { g as we } from "./get-slot-text.BQS5Olxm.js";
15
- import { B as ye } from "./input-field.sGmuIXiw.js";
16
- import { B as me, b as oe } from "./search-bar.D8SJsbze.js";
14
+ import { g as we } from "./get-slot-text.Bjb9dTSV.js";
15
+ import { B as ye } from "./input-field.CwKD3p3q.js";
16
+ import { B as me, b as oe } from "./search-bar.CgzPXP8r.js";
17
17
  import "./index.Cl4_42j5.js";
18
18
  import { k as ct } from "./index.BDK4hwK_.js";
19
19
  import { F as Ve } from "./fixed-scroller.CgVOf5VE.js";
20
20
  import { B as dt } from "./modal.Bp5twyjz.js";
21
21
  import { B as pt } from "./button.CS_kdxYh.js";
22
- import { u as Fe, B as ft } from "./dropdown.RxD2TqnP.js";
22
+ import { u as Fe, B as ft } from "./dropdown.-3x2IBDg.js";
23
23
  import { g as bt } from "./focus-trap.BJfpIboH.js";
24
24
  import { C as vt } from "./chevron-up.d8cwIlA_.js";
25
25
  import { C as _t } from "./chevron-down.eYtgv5ly.js";
26
26
  /* empty css */
27
27
  import { B as he } from "./divider.CFbtmKeQ.js";
28
28
  import { c as ge, b as yt } from "./use-cached-selected-values.BZd3CTeP.js";
29
- import { L as Ne } from "./listbox-option-tag.Dl8GwHLT.js";
30
- import { B as mt } from "./payment-method.DtvfUnit.js";
29
+ import { L as Ne } from "./listbox-option-tag.DkPz3wPc.js";
30
+ import { B as mt } from "./payment-method.CcASYR3B.js";
31
31
  import { u as Ft } from "./use-country-items.B3Cd3Tdo.js";
32
32
  import { B as ht } from "./avatar.CeDqq2Z-.js";
33
- import { D as St, B as Bt, i as fe, b as Ct } from "./date-range-picker.NAG_5i8I.js";
33
+ import { D as St, B as Bt, i as fe, b as Ct } from "./date-range-picker.BtPxkPN0.js";
34
34
  import { g as Me } from "./differenceInMonths.C8FyCrav.js";
35
35
  import { D as De } from "./date-format.B8RU7D42.js";
36
36
  import { b as gt, f as ee, i as Dt } from "./calendar.Fm_dfQC5.js";
37
- import { B as At } from "./date-picker.DImAYvoM.js";
37
+ import { B as At } from "./date-picker.CKaQJcPa.js";
38
38
  import { R as Tt } from "./refresh.arF7jP-l.js";
39
39
  import { u as Pt } from "./use-bento-toast-controller.BKHU1qBv.js";
40
40
  import "../assets/filter-bar.css";
@@ -72,7 +72,7 @@ const It = {}, Lt = /* @__PURE__ */ N({
72
72
  },
73
73
  emits: ["click"],
74
74
  setup(a, { emit: e }) {
75
- const t = a, l = de(), n = et(), o = $e(l), s = r(() => l.default ? we(l)("default") : null), c = r(() => !o("default") && o("iconLeft")), u = ke({ ariaLabel: s }), d = E(null), _ = r(() => {
75
+ const t = a, l = de(), n = et(), o = $e(l), s = r(() => l.default ? we(l)("default") : null), c = r(() => !o("default") && o("iconLeft")), u = ke({ ariaLabel: s }), d = O(null), _ = r(() => {
76
76
  var h;
77
77
  return {
78
78
  "aria-controls": (h = n["aria-controls"]) == null ? void 0 : h.toString()
@@ -184,18 +184,18 @@ const Nt = {
184
184
  J.CANCEL
185
185
  ],
186
186
  setup(a, { expose: e, emit: t }) {
187
- const l = a, { t: n } = Z(), o = ve("base-filter-popover"), s = E(!1), c = E(null), u = E(null), d = r(() => l.defaultValue !== null), _ = r(() => d.value ? JSON.stringify(l.value) !== JSON.stringify(l.defaultValue) : l.appliedFiltersCount || l.buttonSecondaryLabel), F = r(() => {
188
- let R = l.buttonSecondaryLabel ? `: ${l.buttonSecondaryLabel}` : "";
189
- return l.appliedFiltersCount && (R = `: ${n("numberSelected", { numberOfItemsSelected: l.appliedFiltersCount })}`), (d.value ? l.label : C.value) + R;
187
+ const l = a, { t: n } = Z(), o = ve("base-filter-popover"), s = O(!1), c = O(null), u = O(null), d = r(() => l.defaultValue !== null), _ = r(() => d.value ? JSON.stringify(l.value) !== JSON.stringify(l.defaultValue) : l.appliedFiltersCount || l.buttonSecondaryLabel), F = r(() => {
188
+ let I = l.buttonSecondaryLabel ? `: ${l.buttonSecondaryLabel}` : "";
189
+ return l.appliedFiltersCount && (I = `: ${n("numberSelected", { numberOfItemsSelected: l.appliedFiltersCount })}`), (d.value ? l.label : g.value) + I;
190
190
  }), b = r(
191
191
  () => d.value ? n("resetFilter", {
192
- function: C.value
192
+ function: g.value
193
193
  }) : n("clearFilter", {
194
- function: C.value
194
+ function: g.value
195
195
  })
196
- ), C = r(() => l.buttonLabel || l.label), h = async () => {
197
- var R, D;
198
- await Ee(), (D = (R = c.value) == null ? void 0 : R.$el) == null || D.focus();
196
+ ), g = r(() => l.buttonLabel || l.label), h = async () => {
197
+ var I, C;
198
+ await Ee(), (C = (I = c.value) == null ? void 0 : I.$el) == null || C.focus();
199
199
  }, x = () => {
200
200
  s.value && (s.value = !1, h(), t(J.CLOSE));
201
201
  }, T = () => {
@@ -204,14 +204,14 @@ const Nt = {
204
204
  x(), T();
205
205
  }, $ = () => {
206
206
  s.value ? x() : (s.value = !0, t(J.OPEN));
207
- }, g = () => {
207
+ }, D = () => {
208
208
  x(), t(J.APPLY);
209
209
  }, S = () => {
210
210
  x(), t(J.CANCEL);
211
- }, I = () => S(), P = r(() => [
211
+ }, L = () => S(), P = r(() => [
212
212
  {
213
213
  title: n("apply"),
214
- event: g,
214
+ event: D,
215
215
  disabled: l.disableApplyButton
216
216
  },
217
217
  {
@@ -222,13 +222,13 @@ const Nt = {
222
222
  ]);
223
223
  return W(
224
224
  () => s.value,
225
- (R, D) => {
225
+ (I, C) => {
226
226
  var k, j;
227
- !R && D && (j = (k = c.value) == null ? void 0 : k.filterBarButtonRef) != null && j.bentoBaseButtonRef && c.value.filterBarButtonRef.bentoBaseButtonRef.focus();
227
+ !I && C && (j = (k = c.value) == null ? void 0 : k.filterBarButtonRef) != null && j.bentoBaseButtonRef && c.value.filterBarButtonRef.bentoBaseButtonRef.focus();
228
228
  }
229
- ), at(u, I, { ignore: [c] }), e({
229
+ ), at(u, L, { ignore: [c] }), e({
230
230
  closePopover: x
231
- }), { __sfc: !0, emit: t, props: l, t: n, popoverId: o, isFilterOpen: s, filterButtonRef: c, popoverRef: u, isPersistentFilter: d, isValueChanged: _, computedAriaLabel: F, computedClearButtonLabel: b, computedButtonText: C, resetFocus: h, closePopover: x, resetFilter: T, onClickSecondaryAction: U, onClickFilter: $, onClickApply: g, onCancel: S, onClickOutside: I, actions: P, BentoPopover: nt, vBentoTooltipDirective: rt, FilterBarButton: Se, FilterBarButtonGroup: Vt, BentoTeleport: xe, CrossSmallIcon: ut };
231
+ }), { __sfc: !0, emit: t, props: l, t: n, popoverId: o, isFilterOpen: s, filterButtonRef: c, popoverRef: u, isPersistentFilter: d, isValueChanged: _, computedAriaLabel: F, computedClearButtonLabel: b, computedButtonText: g, resetFocus: h, closePopover: x, resetFilter: T, onClickSecondaryAction: U, onClickFilter: $, onClickApply: D, onCancel: S, onClickOutside: L, actions: P, BentoPopover: nt, vBentoTooltipDirective: rt, FilterBarButton: Se, FilterBarButtonGroup: Vt, BentoTeleport: xe, CrossSmallIcon: ut };
232
232
  }
233
233
  });
234
234
  var jt = function() {
@@ -249,7 +249,7 @@ var jt = function() {
249
249
  "83cb499e"
250
250
  );
251
251
  const ae = Jt.exports, Yt = (a) => a instanceof Array, Ae = (a) => Yt(a) ? a.length === 0 || a.every((e) => e === "") : !a, Te = (a, e) => JSON.stringify(a) === JSON.stringify(e), Q = (a, e) => {
252
- const t = E(a.value);
252
+ const t = O(a.value);
253
253
  W(
254
254
  () => a.value,
255
255
  () => {
@@ -279,36 +279,36 @@ const ae = Jt.exports, Yt = (a) => a instanceof Array, Ae = (a) => Yt(a) ? a.len
279
279
  },
280
280
  emits: ["input", "update"],
281
281
  setup(a, { emit: e }) {
282
- var P, R;
283
- const t = a, l = E(null), n = E((R = (P = t == null ? void 0 : t.options) == null ? void 0 : P.dropdown) == null ? void 0 : R.value), o = r(
282
+ var P, I;
283
+ const t = a, l = O(null), n = O((I = (P = t == null ? void 0 : t.options) == null ? void 0 : P.dropdown) == null ? void 0 : I.value), o = r(
284
284
  () => {
285
- var D, k;
286
- return ((D = t == null ? void 0 : t.options) == null ? void 0 : D.variant) === "dropdown" && ((k = t == null ? void 0 : t.options) == null ? void 0 : k.dropdown) !== void 0;
285
+ var C, k;
286
+ return ((C = t == null ? void 0 : t.options) == null ? void 0 : C.variant) === "dropdown" && ((k = t == null ? void 0 : t.options) == null ? void 0 : k.dropdown) !== void 0;
287
287
  }
288
288
  ), s = r(
289
289
  () => {
290
- var D;
291
- return o.value ? { ...(D = t == null ? void 0 : t.options) == null ? void 0 : D.dropdown, value: n.value } : void 0;
290
+ var C;
291
+ return o.value ? { ...(C = t == null ? void 0 : t.options) == null ? void 0 : C.dropdown, value: n.value } : void 0;
292
292
  }
293
293
  ), c = r(() => {
294
- var D;
295
- return ((D = t == null ? void 0 : t.options) == null ? void 0 : D.variant) === "dropdown" ? "dropdown" : "default";
294
+ var C;
295
+ return ((C = t == null ? void 0 : t.options) == null ? void 0 : C.variant) === "dropdown" ? "dropdown" : "default";
296
296
  }), u = r(
297
297
  () => {
298
- var D;
299
- return o.value ? (D = t.value) == null ? void 0 : D.inputValue : t == null ? void 0 : t.value;
298
+ var C;
299
+ return o.value ? (C = t.value) == null ? void 0 : C.inputValue : t == null ? void 0 : t.value;
300
300
  }
301
301
  ), { internalFilterValue: d, isSecondaryButtonDisabled: _, isApplyButtonDisabled: F } = Q(
302
302
  u,
303
303
  H(t, "defaultValue")
304
- ), b = r(() => t.label), C = r(() => le(u.value, 12)), h = r(() => ({
304
+ ), b = r(() => t.label), g = r(() => le(u.value, 12)), h = r(() => ({
305
305
  "b-input-filter--only-slot": t.onlySlot
306
306
  }));
307
307
  pe(() => {
308
308
  d.value === "" && (d.value = null);
309
309
  }), W(l, () => {
310
- var D;
311
- (D = l.value) == null || D.focusInput();
310
+ var C;
311
+ (C = l.value) == null || C.focusInput();
312
312
  });
313
313
  const x = () => {
314
314
  d.value = u.value;
@@ -322,18 +322,18 @@ const ae = Jt.exports, Yt = (a) => a instanceof Array, Ae = (a) => Yt(a) ? a.len
322
322
  });
323
323
  }, U = () => e("update", { ...t, value: t.defaultValue }), $ = () => {
324
324
  d.value = null, T();
325
- }, g = () => {
325
+ }, D = () => {
326
326
  e("input", { ...t, value: d.value });
327
- }, S = (D) => {
328
- d.value = D;
329
- }, I = (D) => {
330
- n.value = D;
327
+ }, S = (C) => {
328
+ d.value = C;
329
+ }, L = (C) => {
330
+ n.value = C;
331
331
  };
332
332
  return Oe(ot, o.value), W(
333
333
  () => t.options,
334
334
  () => {
335
- var D, k, j;
336
- ((D = t.options) != null && D.dropdown || (k = t.options) != null && k.dropdownPosition || (j = t.options) != null && j.variant) && _e(
335
+ var C, k, j;
336
+ ((C = t.options) != null && C.dropdown || (k = t.options) != null && k.dropdownPosition || (j = t.options) != null && j.variant) && _e(
337
337
  'BentoInputFilter "options" property',
338
338
  `BentoInputFilter "options" no longer supports "dropdown", "dropdownPosition" or "variant" attributes.
339
339
  Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
@@ -349,7 +349,7 @@ const ae = Jt.exports, Yt = (a) => a instanceof Array, Ae = (a) => Yt(a) ? a.len
349
349
  );
350
350
  },
351
351
  { immediate: !0 }
352
- ), { __sfc: !0, props: t, emit: e, inputTextRef: l, dropdownValue: n, isDropdownVariant: o, dropdownProp: s, inputVariant: c, valueProp: u, internalFilterValue: d, isSecondaryButtonDisabled: _, isApplyButtonDisabled: F, buttonLabel: b, buttonSecondaryLabel: C, conditionalClasses: h, openFilter: x, updateFilter: T, resetFilter: U, clearFilter: $, onInput: g, setInternalFilterValue: S, onDropdownInput: I, BentoBaseFilter: ae, BentoInputField: ye };
352
+ ), { __sfc: !0, props: t, emit: e, inputTextRef: l, dropdownValue: n, isDropdownVariant: o, dropdownProp: s, inputVariant: c, valueProp: u, internalFilterValue: d, isSecondaryButtonDisabled: _, isApplyButtonDisabled: F, buttonLabel: b, buttonSecondaryLabel: g, conditionalClasses: h, openFilter: x, updateFilter: T, resetFilter: U, clearFilter: $, onInput: D, setInternalFilterValue: S, onDropdownInput: L, BentoBaseFilter: ae, BentoInputField: ye };
353
353
  }
354
354
  });
355
355
  var Wt = function() {
@@ -383,25 +383,25 @@ const Qt = {
383
383
  },
384
384
  emits: [m.INPUT, m.UPDATE],
385
385
  setup(a, { emit: e }) {
386
- const t = a, l = E(null), { internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s } = Q(H(t, "value"), H(t, "defaultValue")), c = r(() => t.label), u = r(() => {
386
+ const t = a, l = O(null), { internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s } = Q(H(t, "value"), H(t, "defaultValue")), c = r(() => t.label), u = r(() => {
387
387
  var S;
388
388
  return le((S = t.value) == null ? void 0 : S.inputValue, 12);
389
389
  }), d = r(
390
390
  () => {
391
- var S, I, P;
392
- return ((S = n.value) == null ? void 0 : S.dropdownValue) ?? ((P = (I = t.options) == null ? void 0 : I.dropdown) == null ? void 0 : P.value);
391
+ var S, L, P, I, C;
392
+ return ((S = n.value) == null ? void 0 : S.dropdownValue) ?? ((P = (L = t.options) == null ? void 0 : L.dropdown) == null ? void 0 : P.modelValue) ?? ((C = (I = t.options) == null ? void 0 : I.dropdown) == null ? void 0 : C.value);
393
393
  }
394
394
  ), _ = r(() => {
395
395
  var S;
396
396
  return {
397
397
  ...((S = t.options) == null ? void 0 : S.dropdown) || {},
398
- value: d.value
398
+ modelValue: d.value
399
399
  };
400
400
  }), F = r(() => ({
401
401
  "b-input-with-dropdown-filter--only-slot": t.onlySlot
402
402
  })), b = r(() => {
403
- var I;
404
- return !(!!((I = n.value) != null && I.inputValue) && !!d.value) || s.value;
403
+ var L;
404
+ return !(!!((L = n.value) != null && L.inputValue) && !!d.value) || s.value;
405
405
  });
406
406
  pe(() => {
407
407
  var S;
@@ -410,7 +410,7 @@ const Qt = {
410
410
  var S;
411
411
  (S = l.value) == null || S.focusInput();
412
412
  });
413
- const C = () => {
413
+ const g = () => {
414
414
  n.value = t.value;
415
415
  }, h = () => {
416
416
  var S;
@@ -424,10 +424,10 @@ const Qt = {
424
424
  e(m.INPUT, { ...t, value: n.value });
425
425
  }, $ = (S) => {
426
426
  n.value = { dropdownValue: d.value, inputValue: S };
427
- }, g = (S) => {
427
+ }, D = (S) => {
428
428
  n.value = { ...n.value, dropdownValue: S };
429
429
  };
430
- return Oe(st, !0), { __sfc: !0, props: t, emit: e, inputTextRef: l, internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s, buttonLabel: c, buttonSecondaryLabel: u, dropdownSelection: d, dropdownOptions: _, conditionalClasses: F, shouldDisableApply: b, openFilter: C, updateFilter: h, resetFilter: x, clearFilter: T, onInput: U, setInternalFilterValue: $, onDropdownInput: g, BentoBaseFilter: ae, BentoInputField: ye };
430
+ return Oe(st, !0), { __sfc: !0, props: t, emit: e, inputTextRef: l, internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s, buttonLabel: c, buttonSecondaryLabel: u, dropdownSelection: d, dropdownOptions: _, conditionalClasses: F, shouldDisableApply: b, openFilter: g, updateFilter: h, resetFilter: x, clearFilter: T, onInput: U, setInternalFilterValue: $, onDropdownInput: D, BentoBaseFilter: ae, BentoInputField: ye };
431
431
  }
432
432
  });
433
433
  var el = function() {
@@ -442,7 +442,7 @@ var el = function() {
442
442
  tl,
443
443
  !1,
444
444
  null,
445
- "f304d68d"
445
+ "9623d386"
446
446
  );
447
447
  const je = ll.exports, al = N({
448
448
  name: "bento-date-filter",
@@ -511,7 +511,7 @@ const je = ll.exports, al = N({
511
511
  n.value = null, _();
512
512
  }, b = () => {
513
513
  n.value = a.defaultValue, _();
514
- }, C = () => {
514
+ }, g = () => {
515
515
  n.value = a.value;
516
516
  }, h = (T) => {
517
517
  n.value = T, e(m.INPUT, { ...a, value: n.value });
@@ -526,7 +526,7 @@ const je = ll.exports, al = N({
526
526
  // Events
527
527
  clearFilter: F,
528
528
  onDateSelected: h,
529
- openFilter: C,
529
+ openFilter: g,
530
530
  updateFilter: _,
531
531
  resetFilter: b,
532
532
  onDateInputSelected: (T) => {
@@ -626,54 +626,54 @@ const qe = sl.exports, il = {
626
626
  },
627
627
  emits: [m.INPUT, m.UPDATE],
628
628
  setup(a, { emit: e }) {
629
- var y, O, w, q;
629
+ var y, R, w, q;
630
630
  const { locale: t, t: l } = Z(), n = Me(), { internalFilterValue: o, isSecondaryButtonDisabled: s, isApplyButtonDisabled: c } = Q(
631
631
  H(a, "value"),
632
632
  H(a, "defaultValue")
633
- ), u = E(!1), d = r(() => {
633
+ ), u = O(!1), d = r(() => {
634
634
  var i;
635
- return ((i = a == null ? void 0 : a.options) == null ? void 0 : i.quickSelectRanges) && a.options.quickSelectRanges.map((L) => {
636
- const v = L.data.endDate ? void 0 : new Date(Date.now()).getTime() - L.data.startDate.getTime();
635
+ return ((i = a == null ? void 0 : a.options) == null ? void 0 : i.quickSelectRanges) && a.options.quickSelectRanges.map((E) => {
636
+ const v = E.data.endDate ? void 0 : new Date(Date.now()).getTime() - E.data.startDate.getTime();
637
637
  return {
638
- ...L,
638
+ ...E,
639
639
  data: {
640
- ...L.data,
640
+ ...E.data,
641
641
  // Adding timeDifference to calculate an up-to-date endDate on range selection
642
642
  timeDifference: v
643
643
  }
644
644
  };
645
645
  });
646
646
  }), _ = (i) => {
647
- var L;
647
+ var E;
648
648
  return i ? ee(i, De.NUMERIC_DATE_YEAR_FIRST, {
649
- locale: n[(L = t.value) == null ? void 0 : L.substring(0, 2)] || n.enUS
649
+ locale: n[(E = t.value) == null ? void 0 : E.substring(0, 2)] || n.enUS
650
650
  }) : void 0;
651
651
  }, F = (i) => {
652
- var L;
652
+ var E;
653
653
  return i ? ee(i, De.HOUR_MINUTE_SECONDS, {
654
- locale: n[(L = t.value) == null ? void 0 : L.substring(0, 2)] || n.enUS
654
+ locale: n[(E = t.value) == null ? void 0 : E.substring(0, 2)] || n.enUS
655
655
  }) : "";
656
- }, b = E(null), C = E(!1), h = tt({
656
+ }, b = O(null), g = O(!1), h = tt({
657
657
  startDate: _((y = a.value) == null ? void 0 : y.startDate),
658
- endDate: _((O = a.value) == null ? void 0 : O.endDate),
658
+ endDate: _((R = a.value) == null ? void 0 : R.endDate),
659
659
  startTime: F((w = a.value) == null ? void 0 : w.startDate),
660
660
  endTime: F((q = a.value) == null ? void 0 : q.endDate)
661
661
  });
662
662
  W(
663
663
  () => a.value,
664
664
  () => {
665
- var i, L, v, p;
666
- h.startDate = _((i = a.value) == null ? void 0 : i.startDate), h.endDate = _((L = a.value) == null ? void 0 : L.endDate), h.startTime = F((v = a.value) == null ? void 0 : v.startDate), h.endTime = F((p = a.value) == null ? void 0 : p.endDate);
665
+ var i, E, v, p;
666
+ h.startDate = _((i = a.value) == null ? void 0 : i.startDate), h.endDate = _((E = a.value) == null ? void 0 : E.endDate), h.startTime = F((v = a.value) == null ? void 0 : v.startDate), h.endTime = F((p = a.value) == null ? void 0 : p.endDate);
667
667
  }
668
668
  );
669
669
  function x(i) {
670
670
  return (i == null ? void 0 : i.length) !== void 0;
671
671
  }
672
672
  const T = (i) => {
673
- var L, v, p, A, M, K, X, ie, re, ce;
673
+ var E, v, p, A, M, K, X, ie, re, ce;
674
674
  if (!i || !(i != null && i.startDate) && !i.endDate)
675
675
  return null;
676
- if (x((L = a.options) == null ? void 0 : L.quickSelectRanges) && ((p = (v = a.options) == null ? void 0 : v.quickSelectRanges) == null ? void 0 : p.length) > 0) {
676
+ if (x((E = a.options) == null ? void 0 : E.quickSelectRanges) && ((p = (v = a.options) == null ? void 0 : v.quickSelectRanges) == null ? void 0 : p.length) > 0) {
677
677
  const Be = (M = (A = a.options) == null ? void 0 : A.quickSelectRanges) == null ? void 0 : M.find(({ value: Xe, data: z }) => i ? i.range ? Xe === i.range : !i.startDate || !i.endDate ? !1 : z != null && z.endDate ? fe(z == null ? void 0 : z.startDate, i.startDate) && fe(z == null ? void 0 : z.endDate, i.endDate) : fe(z == null ? void 0 : z.startDate, i.startDate) && Ct(i.endDate) : !1);
678
678
  if (Be)
679
679
  return Be.label;
@@ -687,42 +687,42 @@ const qe = sl.exports, il = {
687
687
  })} - ${ee(i.endDate, "dd MMM, yyyy", {
688
688
  locale: n[(ce = t.value) == null ? void 0 : ce.substring(0, 2)] || n.enUS
689
689
  })}`;
690
- }, U = E(T(a.value)), $ = r(() => a.label), g = () => {
690
+ }, U = O(T(a.value)), $ = r(() => a.label), D = () => {
691
691
  b.value.closePopover();
692
- const { onlySlot: i, ...L } = a;
693
- e(m.UPDATE, { ...L, value: o.value });
692
+ const { onlySlot: i, ...E } = a;
693
+ e(m.UPDATE, { ...E, value: o.value });
694
694
  }, S = () => {
695
- o.value = void 0, g();
696
- }, I = () => {
697
- o.value = a.defaultValue, g();
695
+ o.value = void 0, D();
696
+ }, L = () => {
697
+ o.value = a.defaultValue, D();
698
698
  }, P = () => {
699
699
  o.value = a.value;
700
- }, R = () => {
701
- var i, L, v, p;
702
- o.value = a.value, u.value = !1, h.startDate = _((i = a.value) == null ? void 0 : i.startDate), h.endDate = _((L = a.value) == null ? void 0 : L.endDate), h.startTime = F((v = a.value) == null ? void 0 : v.startDate), h.endTime = F((p = a.value) == null ? void 0 : p.endDate);
703
- }, D = (i) => {
700
+ }, I = () => {
701
+ var i, E, v, p;
702
+ o.value = a.value, u.value = !1, h.startDate = _((i = a.value) == null ? void 0 : i.startDate), h.endDate = _((E = a.value) == null ? void 0 : E.endDate), h.startTime = F((v = a.value) == null ? void 0 : v.startDate), h.endTime = F((p = a.value) == null ? void 0 : p.endDate);
703
+ }, C = (i) => {
704
704
  u.value = !1, o.value = i, h.startDate = _(i.startDate), h.endDate = _(i.endDate), e(m.INPUT, { ...a, value: o.value });
705
705
  }, k = (i) => {
706
706
  i != null && i.startDate && (i != null && i.endDate) && (o.value = i, h.startDate = _(i.startDate), h.endDate = _(i.endDate), e(m.INPUT, { ...a, value: o.value }));
707
707
  }, j = (i) => {
708
- D(i), e(m.INPUT, { ...a, value: o.value });
708
+ C(i), e(m.INPUT, { ...a, value: o.value });
709
709
  }, Y = r(
710
710
  () => [
711
711
  {
712
712
  title: l("apply"),
713
- event: g,
714
- disabled: u.value || C.value || c.value
713
+ event: D,
714
+ disabled: u.value || g.value || c.value
715
715
  },
716
716
  {
717
717
  title: a.defaultValue ? l("reset") : l("clear"),
718
- event: a.defaultValue ? I : S,
719
- disabled: C.value && s.value
718
+ event: a.defaultValue ? L : S,
719
+ disabled: g.value && s.value
720
720
  }
721
721
  ]
722
722
  ), B = () => {
723
- C.value = !0, o.value = { startDate: void 0, endDate: void 0 }, e(m.INPUT, { ...a, value: o.value });
723
+ g.value = !0, o.value = { startDate: void 0, endDate: void 0 }, e(m.INPUT, { ...a, value: o.value });
724
724
  }, f = (i) => {
725
- C.value = !1, i.startTime && (h.startTime = i.startTime), i.endTime && (h.endTime = i.endTime);
725
+ g.value = !1, i.startTime && (h.startTime = i.startTime), i.endTime && (h.endTime = i.endTime);
726
726
  };
727
727
  return W(
728
728
  () => a.value,
@@ -744,12 +744,12 @@ const qe = sl.exports, il = {
744
744
  buttonSecondaryLabel: U,
745
745
  adjustedQuickSelectRanges: d,
746
746
  // Events
747
- onCancel: R,
748
- onDateSelected: D,
747
+ onCancel: I,
748
+ onDateSelected: C,
749
749
  openFilter: P,
750
750
  clearFilter: S,
751
- resetFilter: I,
752
- updateFilter: g,
751
+ resetFilter: L,
752
+ updateFilter: D,
753
753
  onDatePickerRangeError: B,
754
754
  onDatePickerRangeFormDateInputUpdate: f,
755
755
  onDateInputSelected: j,
@@ -758,9 +758,9 @@ const qe = sl.exports, il = {
758
758
  }
759
759
  });
760
760
  var ul = function() {
761
- var l, n, o, s, c, u, d, _, F, b, C, h, x, T, U, $, g, S, I, P, R, D, k;
761
+ var l, n, o, s, c, u, d, _, F, b, g, h, x, T, U, $, D, S, L, P, I, C, k;
762
762
  var e = this, t = e._self._c;
763
- return e._self._setupProxy, t("bento-base-filter", { ref: "baseFilter", staticClass: "b-base-filter-date-range-filter", attrs: { "button-label": e.buttonLabel, "button-secondary-label": e.buttonSecondaryLabel, controlled: !e.onlySlot, disabled: e.disabled, "disable-apply-button": e.isApplyButtonDisabled, "disable-secondary-button": e.isSecondaryButtonDisabled, "default-value": e.defaultValue, field: e.field, label: e.label, "only-slot": e.onlySlot, "tooltip-position": (l = e.options) == null ? void 0 : l.tooltipPosition, "tooltip-text": (n = e.options) == null ? void 0 : n.tooltipText, "fit-content": "" }, on: { open: e.openFilter, clear: e.clearFilter, reset: e.resetFilter, cancel: e.onCancel } }, [e.onlySlot ? t("bento-date-range-picker", { attrs: { "allow-time-input": (o = e.options) == null ? void 0 : o.allowTimeInput, value: e.internalFilterValue, "first-day-of-week": (s = e.options) == null ? void 0 : s.firstDayOfWeek, "is-date-disabled": (c = e.options) == null ? void 0 : c.isDateDisabled, "number-of-months": (u = e.options) == null ? void 0 : u.numberOfMonths, "quick-select-ranges": (d = e.options) == null ? void 0 : d.quickSelectRanges, variant: (_ = e.options) == null ? void 0 : _.variant, disabled: e.disabled, granularities: (F = e.options) == null ? void 0 : F.granularities, "max-range": (b = e.options) == null ? void 0 : b.maxRange, min: (C = e.options) == null ? void 0 : C.min, max: (h = e.options) == null ? void 0 : h.max, "date-form-data": e.formData, "show-end-date-on-open": (x = e.options) == null ? void 0 : x.showEndDateOnOpen }, on: { input: e.onDateInputSelected } }) : [t("div", { staticClass: "b-date-range-filter" }, [t("date-range-picker-calendar", { attrs: { "allow-time-input": (T = e.options) == null ? void 0 : T.allowTimeInput, "first-day-of-week": (U = e.options) == null ? void 0 : U.firstDayOfWeek, "is-date-disabled": ($ = e.options) == null ? void 0 : $.isDateDisabled, granularities: (g = e.options) == null ? void 0 : g.granularities, "max-range": (S = e.options) == null ? void 0 : S.maxRange, min: (I = e.options) == null ? void 0 : I.min, max: (P = e.options) == null ? void 0 : P.max, "number-of-months": (R = e.options) == null ? void 0 : R.numberOfMonths, "quick-select-ranges": e.adjustedQuickSelectRanges, value: e.internalFilterValue, "date-form-data": e.formData, "show-end-date-on-open": (D = e.options) == null ? void 0 : D.showEndDateOnOpen, variant: (k = e.options) == null ? void 0 : k.variant }, on: { input: e.onDateSelected, "custom-range": e.onRangeSelectorInput, error: e.onDatePickerRangeError, "form-date": e.onDatePickerRangeFormDateInputUpdate, "start-date-selected": function(j) {
763
+ return e._self._setupProxy, t("bento-base-filter", { ref: "baseFilter", staticClass: "b-base-filter-date-range-filter", attrs: { "button-label": e.buttonLabel, "button-secondary-label": e.buttonSecondaryLabel, controlled: !e.onlySlot, disabled: e.disabled, "disable-apply-button": e.isApplyButtonDisabled, "disable-secondary-button": e.isSecondaryButtonDisabled, "default-value": e.defaultValue, field: e.field, label: e.label, "only-slot": e.onlySlot, "tooltip-position": (l = e.options) == null ? void 0 : l.tooltipPosition, "tooltip-text": (n = e.options) == null ? void 0 : n.tooltipText, "fit-content": "" }, on: { open: e.openFilter, clear: e.clearFilter, reset: e.resetFilter, cancel: e.onCancel } }, [e.onlySlot ? t("bento-date-range-picker", { attrs: { "allow-time-input": (o = e.options) == null ? void 0 : o.allowTimeInput, value: e.internalFilterValue, "first-day-of-week": (s = e.options) == null ? void 0 : s.firstDayOfWeek, "is-date-disabled": (c = e.options) == null ? void 0 : c.isDateDisabled, "number-of-months": (u = e.options) == null ? void 0 : u.numberOfMonths, "quick-select-ranges": (d = e.options) == null ? void 0 : d.quickSelectRanges, variant: (_ = e.options) == null ? void 0 : _.variant, disabled: e.disabled, granularities: (F = e.options) == null ? void 0 : F.granularities, "max-range": (b = e.options) == null ? void 0 : b.maxRange, min: (g = e.options) == null ? void 0 : g.min, max: (h = e.options) == null ? void 0 : h.max, "date-form-data": e.formData, "show-end-date-on-open": (x = e.options) == null ? void 0 : x.showEndDateOnOpen }, on: { input: e.onDateInputSelected } }) : [t("div", { staticClass: "b-date-range-filter" }, [t("date-range-picker-calendar", { attrs: { "allow-time-input": (T = e.options) == null ? void 0 : T.allowTimeInput, "first-day-of-week": (U = e.options) == null ? void 0 : U.firstDayOfWeek, "is-date-disabled": ($ = e.options) == null ? void 0 : $.isDateDisabled, granularities: (D = e.options) == null ? void 0 : D.granularities, "max-range": (S = e.options) == null ? void 0 : S.maxRange, min: (L = e.options) == null ? void 0 : L.min, max: (P = e.options) == null ? void 0 : P.max, "number-of-months": (I = e.options) == null ? void 0 : I.numberOfMonths, "quick-select-ranges": e.adjustedQuickSelectRanges, value: e.internalFilterValue, "date-form-data": e.formData, "show-end-date-on-open": (C = e.options) == null ? void 0 : C.showEndDateOnOpen, variant: (k = e.options) == null ? void 0 : k.variant }, on: { input: e.onDateSelected, "custom-range": e.onRangeSelectorInput, error: e.onDatePickerRangeError, "form-date": e.onDatePickerRangeFormDateInputUpdate, "start-date-selected": function(j) {
764
764
  e.isSelectingDate = !0;
765
765
  } }, scopedSlots: e._u([{ key: "title", fn: function() {
766
766
  return [t("bento-typography", { attrs: { strongest: "", variant: "body", el: "span" } }, [e._v(" " + e._s(e.label) + " ")])];
@@ -844,7 +844,7 @@ const Je = dl.exports, pl = {
844
844
  emits: ["input", "update"],
845
845
  setup(a, { emit: e }) {
846
846
  var Y, B;
847
- const t = a, l = de(), { t: n } = Z(), o = E(""), s = H(t, "options"), c = E(t.options.listboxItems ?? []), { cachedSelectedListboxOptions: u, setCachedValues: d, resetCache: _ } = ge(
847
+ const t = a, l = de(), { t: n } = Z(), o = O(""), s = H(t, "options"), c = O(t.options.listboxItems ?? []), { cachedSelectedListboxOptions: u, setCachedValues: d, resetCache: _ } = ge(
848
848
  c,
849
849
  H(t, "value"),
850
850
  H(s.value, "multiple")
@@ -852,7 +852,7 @@ const Je = dl.exports, pl = {
852
852
  c,
853
853
  H(t, "defaultValue"),
854
854
  H(s.value, "multiple")
855
- ), { internalFilterValue: b, isSecondaryButtonDisabled: C, isApplyButtonDisabled: h } = Q(u, F);
855
+ ), { internalFilterValue: b, isSecondaryButtonDisabled: g, isApplyButtonDisabled: h } = Q(u, F);
856
856
  W(s, () => {
857
857
  c.value = s.value.listboxItems ?? [];
858
858
  });
@@ -861,80 +861,80 @@ const Je = dl.exports, pl = {
861
861
  c,
862
862
  (B = (Y = t.options) == null ? void 0 : Y.search) == null ? void 0 : B.searchEvent
863
863
  ), T = r(() => n("noFiltersMatchThisSearch")), U = r(() => t.label), $ = r(() => {
864
- var O, w, q, i, L;
865
- const f = !((O = t == null ? void 0 : t.options) != null && O.multiple) && (t == null ? void 0 : t.value), y = ((w = t == null ? void 0 : t.options) == null ? void 0 : w.multiple) && Array.isArray(t.value) && t.value.length === 1;
864
+ var R, w, q, i, E;
865
+ const f = !((R = t == null ? void 0 : t.options) != null && R.multiple) && (t == null ? void 0 : t.value), y = ((w = t == null ? void 0 : t.options) == null ? void 0 : w.multiple) && Array.isArray(t.value) && t.value.length === 1;
866
866
  if (f || y) {
867
867
  if ((q = t.options) != null && q.enableValueLabelPair) {
868
868
  const A = ((i = b.value) == null ? void 0 : i.length) > 0 ? b.value[0].label : t.value;
869
869
  return le(A, 12);
870
870
  }
871
- let p = (L = t.options.listboxItems.flatMap((A) => A.items ? A.items : A).find(
871
+ let p = (E = t.options.listboxItems.flatMap((A) => A.items ? A.items : A).find(
872
872
  ({ value: A }) => {
873
873
  var M;
874
874
  return Array.isArray(t.value) ? (M = t == null ? void 0 : t.value) == null ? void 0 : M.includes(A) : A === t.value;
875
875
  }
876
- )) == null ? void 0 : L.label;
876
+ )) == null ? void 0 : E.label;
877
877
  return !p && t.value && (p = t.value[0]), le(p, 12);
878
878
  }
879
879
  return null;
880
- }), g = r(() => ve(`filter-listbox-${t.field}`)), S = (f) => {
881
- var q, i, L;
880
+ }), D = r(() => ve(`filter-listbox-${t.field}`)), S = (f) => {
881
+ var q, i, E;
882
882
  b.value = f;
883
- const { onlySlot: y, ...O } = t;
883
+ const { onlySlot: y, ...R } = t;
884
884
  if ((q = t.options) != null && q.multiple) {
885
885
  let v;
886
- (i = t.options) != null && i.enableValueLabelPair ? v = f.length ? b.value : null : v = f.length ? b.value.map(({ value: p }) => p) : null, e(m.INPUT, { ...O, value: v });
886
+ (i = t.options) != null && i.enableValueLabelPair ? v = f.length ? b.value : null : v = f.length ? b.value.map(({ value: p }) => p) : null, e(m.INPUT, { ...R, value: v });
887
887
  return;
888
888
  }
889
889
  let w;
890
- (L = t.options) != null && L.enableValueLabelPair ? w = f.length ? f[0] : null : w = f.length ? f[0].value : null, e(m.INPUT, { ...O, value: w });
891
- }, I = () => {
892
- var w, q, i, L, v, p;
890
+ (E = t.options) != null && E.enableValueLabelPair ? w = f.length ? f[0] : null : w = f.length ? f[0].value : null, e(m.INPUT, { ...R, value: w });
891
+ }, L = () => {
892
+ var w, q, i, E, v, p;
893
893
  const { onlySlot: f, ...y } = t;
894
894
  if (t.options.multiple) {
895
895
  b.value && ((w = b.value) == null ? void 0 : w.length) === 0 && (b.value = t.defaultValue !== null ? F.value : void 0);
896
896
  let A;
897
- (q = t.options) != null && q.enableValueLabelPair ? A = (i = b.value) != null && i.length ? b.value : null : A = (L = b.value) != null && L.length ? (v = b.value) == null ? void 0 : v.map(({ value: M }) => M) : null, e(m.UPDATE, {
897
+ (q = t.options) != null && q.enableValueLabelPair ? A = (i = b.value) != null && i.length ? b.value : null : A = (E = b.value) != null && E.length ? (v = b.value) == null ? void 0 : v.map(({ value: M }) => M) : null, e(m.UPDATE, {
898
898
  ...y,
899
899
  value: A
900
900
  });
901
901
  return;
902
902
  }
903
- let O;
904
- (p = t.options) != null && p.enableValueLabelPair ? O = b.value.length ? b.value[0] : void 0 : O = b.value.length ? b.value[0].value : void 0, e(m.UPDATE, { ...y, value: O });
903
+ let R;
904
+ (p = t.options) != null && p.enableValueLabelPair ? R = b.value.length ? b.value[0] : void 0 : R = b.value.length ? b.value[0].value : void 0, e(m.UPDATE, { ...y, value: R });
905
905
  }, P = () => {
906
906
  var f, y;
907
907
  b.value = u.value, (y = (f = t.options) == null ? void 0 : f.onOpen) == null || y.call(f);
908
- }, R = () => {
908
+ }, I = () => {
909
909
  o.value && (o.value = "");
910
- }, D = () => {
911
- d(F.value), b.value = F.value, I();
910
+ }, C = () => {
911
+ d(F.value), b.value = F.value, L();
912
912
  }, k = () => {
913
- _(), b.value = [], I();
913
+ _(), b.value = [], L();
914
914
  }, j = r(() => {
915
- var O, w;
915
+ var R, w;
916
916
  if (t.value == null || !t.options.multiple)
917
917
  return null;
918
- const f = (O = t.options.listboxItems) == null ? void 0 : O.reduce((q, i) => {
919
- var L;
920
- return q += (L = i == null ? void 0 : i.items) != null && L.length ? i.items.length : 1, q;
918
+ const f = (R = t.options.listboxItems) == null ? void 0 : R.reduce((q, i) => {
919
+ var E;
920
+ return q += (E = i == null ? void 0 : i.items) != null && E.length ? i.items.length : 1, q;
921
921
  }, 0), y = (w = t.value) == null ? void 0 : w.length;
922
922
  return y === 1 ? null : y === f ? n("all") : y;
923
923
  });
924
- return { __sfc: !0, slots: l, emit: e, props: t, t: n, searchTerm: o, optionsRef: s, itemsRef: c, cachedSelectedListboxOptions: u, setCachedValues: d, resetCache: _, cachedDefaultSelectedListboxOptions: F, internalFilterValue: b, isSecondaryButtonDisabled: C, isApplyButtonDisabled: h, filteredItems: x, noResultsMessage: T, buttonLabel: U, buttonSecondaryLabel: $, listboxFilterId: g, onOptionSelected: S, updateFilter: I, openFilter: P, closeFilter: R, resetFilter: D, clearFilter: k, appliedFiltersCount: j, BentoSearchBar: me, BentoDivider: he, BentoListbox: yt, BentoBaseFilter: ae };
924
+ return { __sfc: !0, slots: l, emit: e, props: t, t: n, searchTerm: o, optionsRef: s, itemsRef: c, cachedSelectedListboxOptions: u, setCachedValues: d, resetCache: _, cachedDefaultSelectedListboxOptions: F, internalFilterValue: b, isSecondaryButtonDisabled: g, isApplyButtonDisabled: h, filteredItems: x, noResultsMessage: T, buttonLabel: U, buttonSecondaryLabel: $, listboxFilterId: D, onOptionSelected: S, updateFilter: L, openFilter: P, closeFilter: I, resetFilter: C, clearFilter: k, appliedFiltersCount: j, BentoSearchBar: me, BentoDivider: he, BentoListbox: yt, BentoBaseFilter: ae };
925
925
  }
926
926
  });
927
927
  var vl = function() {
928
- var n, o, s, c, u, d, _, F, b, C, h, x, T, U, $, g, S;
928
+ var n, o, s, c, u, d, _, F, b, g, h, x, T, U, $, D, S;
929
929
  var e = this, t = e._self._c, l = e._self._setupProxy;
930
- return t(l.BentoBaseFilter, { attrs: { "applied-filters-count": l.appliedFiltersCount, "button-label": l.buttonLabel, "button-secondary-label": l.buttonSecondaryLabel, disabled: e.disabled, "disable-apply-button": l.isApplyButtonDisabled, "disable-secondary-button": l.isSecondaryButtonDisabled, "default-value": e.defaultValue, label: e.label, field: e.field, "only-slot": !1, "tooltip-position": (n = e.options) == null ? void 0 : n.tooltipPosition, "tooltip-text": (o = e.options) == null ? void 0 : o.tooltipText, value: e.value }, on: { apply: l.updateFilter, clear: l.clearFilter, reset: l.resetFilter, open: l.openFilter, close: l.closeFilter } }, [t("div", { staticClass: "b-select-filter-button__search-bar-wrapper" }, [((s = e.options) == null ? void 0 : s.dynamicFiltering) ?? !0 ? t("div", { staticClass: "b-select-filter-button__search-bar" }, [t(l.BentoSearchBar, { attrs: { "debounce-time": (u = (c = e.options) == null ? void 0 : c.search) == null ? void 0 : u.debounceTime, value: l.searchTerm, "input-field-aria-label": l.t("searchFilter", { filter: e.label.toLocaleLowerCase() }) }, on: { input: function(I) {
931
- l.searchTerm = I;
932
- } } })], 1) : e._e(), t("div", { staticClass: "b-select-filter-button__divider" }, [t(l.BentoDivider)], 1)]), t(l.BentoListbox, { staticClass: "b-select-filter-button__wrapper", attrs: { id: l.listboxFilterId, "aria-label": e.label, "component-loading": (d = e.options) == null ? void 0 : d.loading, "empty-state": (_ = e.options) == null ? void 0 : _.emptyState, "has-more-items": (b = (F = e.options) == null ? void 0 : F.lazy) == null ? void 0 : b.hasMoreItems, items: l.filteredItems, "is-option-disabled": (C = e.options) == null ? void 0 : C.isOptionDisabled, "lazy-load-type": (x = (h = e.options) == null ? void 0 : h.lazy) == null ? void 0 : x.lazyLoadType, loading: (U = (T = e.options) == null ? void 0 : T.lazy) == null ? void 0 : U.loading, multiple: ($ = e.options) == null ? void 0 : $.multiple, "static-categories": (g = e.options) == null ? void 0 : g.staticCategories, "no-results-message": l.noResultsMessage, searching: !!l.searchTerm, "selected-value": l.internalFilterValue, "virtual-scroll": (S = e.options) == null ? void 0 : S.virtualScroll }, on: { select: l.onOptionSelected, "space-pressed": l.onOptionSelected, "enter-pressed": l.onOptionSelected, "show-more": function(I) {
933
- var P, R;
934
- (R = (P = e.options) == null ? void 0 : P.lazy) == null || R.showMoreEvent();
935
- } }, scopedSlots: e._u([e._l(l.slots, function(I, P) {
936
- return { key: P, fn: function(R) {
937
- return [e._t(P, null, null, R)];
930
+ return t(l.BentoBaseFilter, { attrs: { "applied-filters-count": l.appliedFiltersCount, "button-label": l.buttonLabel, "button-secondary-label": l.buttonSecondaryLabel, disabled: e.disabled, "disable-apply-button": l.isApplyButtonDisabled, "disable-secondary-button": l.isSecondaryButtonDisabled, "default-value": e.defaultValue, label: e.label, field: e.field, "only-slot": !1, "tooltip-position": (n = e.options) == null ? void 0 : n.tooltipPosition, "tooltip-text": (o = e.options) == null ? void 0 : o.tooltipText, value: e.value }, on: { apply: l.updateFilter, clear: l.clearFilter, reset: l.resetFilter, open: l.openFilter, close: l.closeFilter } }, [t("div", { staticClass: "b-select-filter-button__search-bar-wrapper" }, [((s = e.options) == null ? void 0 : s.dynamicFiltering) ?? !0 ? t("div", { staticClass: "b-select-filter-button__search-bar" }, [t(l.BentoSearchBar, { attrs: { "debounce-time": (u = (c = e.options) == null ? void 0 : c.search) == null ? void 0 : u.debounceTime, value: l.searchTerm, "input-field-aria-label": l.t("searchFilter", { filter: e.label.toLocaleLowerCase() }) }, on: { input: function(L) {
931
+ l.searchTerm = L;
932
+ } } })], 1) : e._e(), t("div", { staticClass: "b-select-filter-button__divider" }, [t(l.BentoDivider)], 1)]), t(l.BentoListbox, { staticClass: "b-select-filter-button__wrapper", attrs: { id: l.listboxFilterId, "aria-label": e.label, "component-loading": (d = e.options) == null ? void 0 : d.loading, "empty-state": (_ = e.options) == null ? void 0 : _.emptyState, "has-more-items": (b = (F = e.options) == null ? void 0 : F.lazy) == null ? void 0 : b.hasMoreItems, items: l.filteredItems, "is-option-disabled": (g = e.options) == null ? void 0 : g.isOptionDisabled, "lazy-load-type": (x = (h = e.options) == null ? void 0 : h.lazy) == null ? void 0 : x.lazyLoadType, loading: (U = (T = e.options) == null ? void 0 : T.lazy) == null ? void 0 : U.loading, multiple: ($ = e.options) == null ? void 0 : $.multiple, "static-categories": (D = e.options) == null ? void 0 : D.staticCategories, "no-results-message": l.noResultsMessage, searching: !!l.searchTerm, "selected-value": l.internalFilterValue, "virtual-scroll": (S = e.options) == null ? void 0 : S.virtualScroll }, on: { select: l.onOptionSelected, "space-pressed": l.onOptionSelected, "enter-pressed": l.onOptionSelected, "show-more": function(L) {
933
+ var P, I;
934
+ (I = (P = e.options) == null ? void 0 : P.lazy) == null || I.showMoreEvent();
935
+ } }, scopedSlots: e._u([e._l(l.slots, function(L, P) {
936
+ return { key: P, fn: function(I) {
937
+ return [e._t(P, null, null, I)];
938
938
  } };
939
939
  })], null, !0) })], 1);
940
940
  }, _l = [], yl = /* @__PURE__ */ V(
@@ -1006,7 +1006,7 @@ const ml = yl.exports, Fl = {
1006
1006
  },
1007
1007
  emits: ["input", "update"],
1008
1008
  setup(a, { emit: e }) {
1009
- const t = a, { t: l } = Z(), n = de(), { internalFilterValue: o } = Q(H(t, "value"), H(t, "defaultValue")), s = H(t, "options"), c = E(t.options.listboxItems);
1009
+ const t = a, { t: l } = Z(), n = de(), { internalFilterValue: o } = Q(H(t, "value"), H(t, "defaultValue")), s = H(t, "options"), c = O(t.options.listboxItems);
1010
1010
  W(s, () => {
1011
1011
  c.value = s.value.listboxItems;
1012
1012
  });
@@ -1021,12 +1021,12 @@ const ml = yl.exports, Fl = {
1021
1021
  var Bl = function() {
1022
1022
  var n, o, s, c, u, d, _;
1023
1023
  var e = this, t = e._self._c, l = e._self._setupProxy;
1024
- return t(l.BentoDropdown, { attrs: { value: l.internalFilterValue, items: e.options.listboxItems, search: (n = e.options) == null ? void 0 : n.search, multiple: (o = e.options) == null ? void 0 : o.multiple, "static-categories": (s = e.options) == null ? void 0 : s.staticCategories, "no-results-message": l.noResultsMessage, "is-option-disabled": e.options.isOptionDisabled, "dynamic-filtering": ((c = e.options) == null ? void 0 : c.dynamicFiltering) ?? !0, "component-loading": (u = e.options) == null ? void 0 : u.loading, "empty-state": (d = e.options) == null ? void 0 : d.emptyState, disabled: e.disabled, "enable-value-label-pair": (_ = e.options) == null ? void 0 : _.enableValueLabelPair }, on: { input: l.onOptionSelected, open: () => {
1024
+ return t(l.BentoDropdown, { attrs: { "model-value": l.internalFilterValue, items: e.options.listboxItems, search: (n = e.options) == null ? void 0 : n.search, multiple: (o = e.options) == null ? void 0 : o.multiple, "static-categories": (s = e.options) == null ? void 0 : s.staticCategories, "no-results-message": l.noResultsMessage, "is-option-disabled": e.options.isOptionDisabled, "dynamic-filtering": ((c = e.options) == null ? void 0 : c.dynamicFiltering) ?? !0, "component-loading": (u = e.options) == null ? void 0 : u.loading, "empty-state": (d = e.options) == null ? void 0 : d.emptyState, disabled: e.disabled, "enable-value-label-pair": (_ = e.options) == null ? void 0 : _.enableValueLabelPair }, on: { "update:model-value": l.onOptionSelected, open: () => {
1025
1025
  var F, b;
1026
1026
  return (b = (F = e.options) == null ? void 0 : F.onOpen) == null ? void 0 : b.call(F);
1027
1027
  } }, scopedSlots: e._u([e._l(l.slots, function(F, b) {
1028
- return { key: b, fn: function(C) {
1029
- return [e._t(b, null, null, C)];
1028
+ return { key: b, fn: function(g) {
1029
+ return [e._t(b, null, null, g)];
1030
1030
  } };
1031
1031
  })], null, !0) });
1032
1032
  }, Cl = [], gl = /* @__PURE__ */ V(
@@ -1191,21 +1191,21 @@ const Ye = xl.exports, Ul = N({
1191
1191
  var s;
1192
1192
  const t = (c) => {
1193
1193
  e(m.UPDATE, c);
1194
- }, l = E(a.options.listboxItems), n = (s = a.options) != null && s.search ? a.options.search : {
1194
+ }, l = O(a.options.listboxItems), n = (s = a.options) != null && s.search ? a.options.search : {
1195
1195
  debounceTime: 500,
1196
1196
  searchEvent: async (c) => {
1197
1197
  var F, b;
1198
- const u = a.options.listboxItems.map((C) => ({
1199
- ...C,
1200
- label: `${C.value} ${C.label}`
1198
+ const u = a.options.listboxItems.map((g) => ({
1199
+ ...g,
1200
+ label: `${g.value} ${g.label}`
1201
1201
  })), d = Fe(
1202
- E(c),
1203
- E(u),
1202
+ O(c),
1203
+ O(u),
1204
1204
  (b = (F = a.options) == null ? void 0 : F.search) == null ? void 0 : b.searchEvent,
1205
- E(!1)
1206
- ).value, _ = d == null ? void 0 : d.map((C) => ({
1207
- ...C,
1208
- label: C.label.substring(C.value.length + 1)
1205
+ O(!1)
1206
+ ).value, _ = d == null ? void 0 : d.map((g) => ({
1207
+ ...g,
1208
+ label: g.label.substring(g.value.length + 1)
1209
1209
  }));
1210
1210
  l.value = _;
1211
1211
  }
@@ -1256,7 +1256,7 @@ const ze = wl.exports, Vl = {
1256
1256
  },
1257
1257
  emits: [m.INPUT, m.UPDATE],
1258
1258
  setup(a, { emit: e }) {
1259
- const t = a, l = E(t.options.variant), n = E(t.options.listboxItems);
1259
+ const t = a, l = O(t.options.variant), n = O(t.options.listboxItems);
1260
1260
  W([() => t.options.variant, () => t.options.listboxItems], () => {
1261
1261
  l.value = t.options.variant, n.value = t.options.listboxItems;
1262
1262
  });
@@ -1438,9 +1438,9 @@ const Ke = Zl.exports, Ql = {
1438
1438
  },
1439
1439
  emits: [m.INPUT, m.UPDATE],
1440
1440
  setup(a, { emit: e }) {
1441
- const { t } = Z(), l = (g) => typeof g == "boolean" ? g == null ? void 0 : g.toString() : g, n = (g) => {
1442
- var S, I, P, R;
1443
- return ((I = (S = a == null ? void 0 : a.options) == null ? void 0 : S.positiveOption) == null ? void 0 : I.value) !== void 0 && ((R = (P = a == null ? void 0 : a.options) == null ? void 0 : P.negativeOption) == null ? void 0 : R.value) !== void 0 && typeof a.options.positiveOption.value == "boolean" && typeof a.options.negativeOption.value == "boolean" && typeof g == "string" ? g === "true" : g;
1441
+ const { t } = Z(), l = (D) => typeof D == "boolean" ? D == null ? void 0 : D.toString() : D, n = (D) => {
1442
+ var S, L, P, I;
1443
+ return ((L = (S = a == null ? void 0 : a.options) == null ? void 0 : S.positiveOption) == null ? void 0 : L.value) !== void 0 && ((I = (P = a == null ? void 0 : a.options) == null ? void 0 : P.negativeOption) == null ? void 0 : I.value) !== void 0 && typeof a.options.positiveOption.value == "boolean" && typeof a.options.negativeOption.value == "boolean" && typeof D == "string" ? D === "true" : D;
1444
1444
  }, o = r(() => l(a.defaultValue)), s = r(() => l(a.value)), c = r(() => a.options && a.options.positiveOption && a.options.negativeOption ? [
1445
1445
  {
1446
1446
  ...a.options.positiveOption,
@@ -1458,17 +1458,17 @@ const Ke = Zl.exports, Ql = {
1458
1458
  o
1459
1459
  ), F = r(() => a.label), b = r(
1460
1460
  () => {
1461
- var g;
1462
- return le((g = c.value.find(({ value: S }) => S === s.value)) == null ? void 0 : g.label, 12);
1461
+ var D;
1462
+ return le((D = c.value.find(({ value: S }) => S === s.value)) == null ? void 0 : D.label, 12);
1463
1463
  }
1464
- ), C = r(() => ({
1464
+ ), g = r(() => ({
1465
1465
  "b-boolean-filter--only-slot": a.onlySlot
1466
1466
  }));
1467
1467
  pe(() => {
1468
1468
  u.value || (u.value = null);
1469
1469
  });
1470
- const h = (g) => {
1471
- u.value = g, e(m.INPUT, {
1470
+ const h = (D) => {
1471
+ u.value = D, e(m.INPUT, {
1472
1472
  ...a,
1473
1473
  value: n(u.value)
1474
1474
  });
@@ -1483,7 +1483,7 @@ const Ke = Zl.exports, Ql = {
1483
1483
  return {
1484
1484
  // Values
1485
1485
  items: c,
1486
- conditionalClasses: C,
1486
+ conditionalClasses: g,
1487
1487
  buttonLabel: F,
1488
1488
  buttonSecondaryLabel: b,
1489
1489
  internalFilterValue: u,
@@ -1562,24 +1562,24 @@ const Ze = la.exports, aa = {
1562
1562
  },
1563
1563
  emits: [m.INPUT, m.UPDATE],
1564
1564
  setup(a, { emit: e }) {
1565
- const { t } = Z(), l = E(null), { internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s } = Q(
1565
+ const { t } = Z(), l = O(null), { internalFilterValue: n, isSecondaryButtonDisabled: o, isApplyButtonDisabled: s } = Q(
1566
1566
  H(a, "value"),
1567
1567
  H(a, "defaultValue")
1568
1568
  ), c = r(() => {
1569
- var P, R, D, k, j, Y, B, f;
1570
- if (!((P = a.value) != null && P[0]) && !((R = a.value) != null && R[1]))
1569
+ var P, I, C, k, j, Y, B, f;
1570
+ if (!((P = a.value) != null && P[0]) && !((I = a.value) != null && I[1]))
1571
1571
  return null;
1572
1572
  let $ = "";
1573
- (D = a.value) != null && D[0] ? (k = a.value) != null && k[1] || ($ = "≥") : $ = "≤";
1574
- const g = (j = a.value) != null && j[0] ? `${le(a.value[0], 5)}` : "", S = (Y = a.value) != null && Y[0] && ((B = a.value) != null && B[1]) ? " - " : "", I = (f = a.value) != null && f[1] ? `${le(a.value[1], 5)}` : "";
1575
- return `${$}${g}${S}${I}`;
1573
+ (C = a.value) != null && C[0] ? (k = a.value) != null && k[1] || ($ = "≥") : $ = "≤";
1574
+ const D = (j = a.value) != null && j[0] ? `${le(a.value[0], 5)}` : "", S = (Y = a.value) != null && Y[0] && ((B = a.value) != null && B[1]) ? " - " : "", L = (f = a.value) != null && f[1] ? `${le(a.value[1], 5)}` : "";
1575
+ return `${$}${D}${S}${L}`;
1576
1576
  }), u = r(() => a.label), d = r(() => c.value), _ = r(() => ({
1577
1577
  "b-range-filter--only-slot": a.onlySlot
1578
1578
  })), F = () => {
1579
1579
  n.value = a.value, Ee(() => l.value.focusInput());
1580
1580
  }, b = () => {
1581
1581
  e(m.INPUT, { ...a, value: n.value });
1582
- }, C = ($) => {
1582
+ }, g = ($) => {
1583
1583
  n.value = [$, n.value[1]], b();
1584
1584
  }, h = ($) => {
1585
1585
  n.value = [n.value[0], $], b();
@@ -1599,7 +1599,7 @@ const Ze = la.exports, aa = {
1599
1599
  buttonLabel: u,
1600
1600
  buttonSecondaryLabel: d,
1601
1601
  // Events
1602
- updateFrom: C,
1602
+ updateFrom: g,
1603
1603
  updateTo: h,
1604
1604
  updateFilter: x,
1605
1605
  clearFilter: () => {
@@ -1628,7 +1628,7 @@ var oa = function() {
1628
1628
  );
1629
1629
  const Qe = ia.exports, Pe = 430, Ie = 700;
1630
1630
  function ra(a, e) {
1631
- const t = E("div"), l = E(!1), n = E(0), o = r(() => !(n.value < Pe && e.value.small === "multi-line"));
1631
+ const t = O("div"), l = O(!1), n = O(0), o = r(() => !(n.value < Pe && e.value.small === "multi-line"));
1632
1632
  function s() {
1633
1633
  l.value = !1, t.value = "div";
1634
1634
  }
@@ -1676,7 +1676,7 @@ const ua = N({
1676
1676
  },
1677
1677
  emits: [Ce.CLICK],
1678
1678
  setup(a, { slots: e, emit: t, attrs: l }) {
1679
- const n = r(() => e.default ? we(e)("default") : null), o = ke({ ariaLabel: n }), s = E(null), c = r(() => {
1679
+ const n = r(() => e.default ? we(e)("default") : null), o = ke({ ariaLabel: n }), s = O(null), c = r(() => {
1680
1680
  var _;
1681
1681
  return {
1682
1682
  "aria-controls": (_ = l["aria-controls"]) == null ? void 0 : _.toString()
@@ -1865,7 +1865,7 @@ const Ca = Ba.exports, ga = {
1865
1865
  },
1866
1866
  emits: [be.INPUT],
1867
1867
  setup(a, { emit: e }) {
1868
- const t = E(a.value), l = ve("all-filters-modal"), n = E([]), o = E(!1), s = E(0), c = E(null), u = E(""), { t: d, n: _ } = Z(), F = Fe(u, H(t, "value")), b = E({});
1868
+ const t = O(a.value), l = ve("all-filters-modal"), n = O([]), o = O(!1), s = O(0), c = O(null), u = O(""), { t: d, n: _ } = Z(), F = Fe(u, H(t, "value")), b = O({});
1869
1869
  pe(() => {
1870
1870
  b.value = [];
1871
1871
  }), W(
@@ -1874,8 +1874,8 @@ const Ca = Ba.exports, ga = {
1874
1874
  o.value ? t.value = a.value.map((v, p) => ({ ...v, value: t.value[p].value })) : t.value = a.value;
1875
1875
  }
1876
1876
  );
1877
- const C = (v) => v.sort((p, A) => p.label > A.label ? 1 : A.label > p.label ? -1 : 0), h = r(
1878
- () => C(
1877
+ const g = (v) => v.sort((p, A) => p.label > A.label ? 1 : A.label > p.label ? -1 : 0), h = r(
1878
+ () => g(
1879
1879
  F.value.filter(
1880
1880
  (v) => {
1881
1881
  var p, A;
@@ -1884,7 +1884,7 @@ const Ca = Ba.exports, ga = {
1884
1884
  )
1885
1885
  )
1886
1886
  ), x = r(
1887
- () => C(
1887
+ () => g(
1888
1888
  F.value.filter(
1889
1889
  (v) => {
1890
1890
  var p, A;
@@ -1904,7 +1904,7 @@ const Ca = Ba.exports, ga = {
1904
1904
  Re(() => {
1905
1905
  $();
1906
1906
  });
1907
- const g = (v) => v.map((p) => {
1907
+ const D = (v) => v.map((p) => {
1908
1908
  var A, M, K, X, ie, re;
1909
1909
  switch (p.type) {
1910
1910
  case G.SELECT:
@@ -1954,16 +1954,16 @@ const Ca = Ba.exports, ga = {
1954
1954
  var v;
1955
1955
  return Array.isArray(U.value.value) ? ((v = U.value) == null ? void 0 : v.value.length) && U.value.value.find((p) => p !== "") : !!t.value[s.value].value;
1956
1956
  }
1957
- ), I = r(() => !S.value || U.value.disabled), P = r(
1957
+ ), L = r(() => !S.value || U.value.disabled), P = r(
1958
1958
  () => {
1959
1959
  var v;
1960
- return (v = g(a.value)) == null ? void 0 : v.filter(({ count: p }) => !!p).length;
1960
+ return (v = D(a.value)) == null ? void 0 : v.filter(({ count: p }) => !!p).length;
1961
1961
  }
1962
- ), R = () => {
1962
+ ), I = () => {
1963
1963
  o.value ? o.value = !1 : o.value = !0;
1964
- }, D = (v) => {
1964
+ }, C = (v) => {
1965
1965
  var A, M, K;
1966
- const p = g(t.value).find((X) => X.field === v.field).count;
1966
+ const p = D(t.value).find((X) => X.field === v.field).count;
1967
1967
  return typeof v.type == "string" && // Type guard to avoid casting
1968
1968
  v.type.includes("BentoSelect") && ((A = v.options) != null && A.multiple) && p === ((K = (M = v.options) == null ? void 0 : M.listboxItems) == null ? void 0 : K.length) ? d("all") : p === null ? null : _(p);
1969
1969
  }, k = (v, p) => {
@@ -1989,7 +1989,7 @@ const Ca = Ba.exports, ga = {
1989
1989
  ...p,
1990
1990
  value: void 0
1991
1991
  }));
1992
- }, O = () => {
1992
+ }, R = () => {
1993
1993
  e(be.INPUT, t.value), o.value = !1;
1994
1994
  }, w = r(
1995
1995
  () => JSON.stringify(t.value) === JSON.stringify(a.value)
@@ -1997,7 +1997,7 @@ const Ca = Ba.exports, ga = {
1997
1997
  {
1998
1998
  title: d("applyAll"),
1999
1999
  disabled: w.value,
2000
- event: O
2000
+ event: R
2001
2001
  },
2002
2002
  {
2003
2003
  title: d("cancel"),
@@ -2017,7 +2017,7 @@ const Ca = Ba.exports, ga = {
2017
2017
  numberOfActiveFilters: P,
2018
2018
  isEmptyResultForSearchFilter: T,
2019
2019
  isModalOpen: o,
2020
- isClearButtonDisabled: I,
2020
+ isClearButtonDisabled: L,
2021
2021
  activeFilters: h,
2022
2022
  otherFilters: x,
2023
2023
  modalActions: q,
@@ -2025,8 +2025,8 @@ const Ca = Ba.exports, ga = {
2025
2025
  selectedFilterRef: c,
2026
2026
  searchTerm: u,
2027
2027
  // Methods
2028
- onClickAllFiltersModal: R,
2029
- getFilterCount: D,
2028
+ onClickAllFiltersModal: I,
2029
+ getFilterCount: C,
2030
2030
  cancel: Y,
2031
2031
  selectFilter: k,
2032
2032
  clearFilter: f,
@@ -2144,13 +2144,13 @@ const Ia = Pa.exports, La = {
2144
2144
  oe.UPDATE
2145
2145
  ],
2146
2146
  setup(a, { expose: e, emit: t }) {
2147
- const l = a, { t: n } = Z(), o = E(null), s = r(
2147
+ const l = a, { t: n } = Z(), o = O(null), s = r(
2148
2148
  () => {
2149
2149
  var B, f;
2150
2150
  return (f = ((B = l.config) == null ? void 0 : B.length) > 0 ? l.config : l.value) == null ? void 0 : f.map((y) => {
2151
2151
  var w;
2152
- let O = (w = l.filterValues.find(({ field: q }) => q === y.field)) == null ? void 0 : w.value;
2153
- return l.filterValuesObject && y.field in l.filterValuesObject && (O = l.filterValuesObject[y.field]), O === void 0 && (O = (y == null ? void 0 : y.value) === void 0 && (y == null ? void 0 : y.defaultValue) !== void 0 ? y == null ? void 0 : y.defaultValue : y == null ? void 0 : y.value), { ...y, value: O !== void 0 ? O : y == null ? void 0 : y.value };
2152
+ let R = (w = l.filterValues.find(({ field: q }) => q === y.field)) == null ? void 0 : w.value;
2153
+ return l.filterValuesObject && y.field in l.filterValuesObject && (R = l.filterValuesObject[y.field]), R === void 0 && (R = (y == null ? void 0 : y.value) === void 0 && (y == null ? void 0 : y.defaultValue) !== void 0 ? y == null ? void 0 : y.defaultValue : y == null ? void 0 : y.value), { ...y, value: R !== void 0 ? R : y == null ? void 0 : y.value };
2154
2154
  });
2155
2155
  }
2156
2156
  ), { addToast: c } = Pt(), { screenLayoutComponent: u, showSearchbarInsideContainer: d, isOneLineLayout: _ } = ra(
@@ -2164,14 +2164,14 @@ const Ia = Pa.exports, La = {
2164
2164
  "b-filter-bar__scroller-content": _.value,
2165
2165
  "b-filter-bar__filters": !_.value
2166
2166
  // Multi-line
2167
- })), C = r(() => {
2167
+ })), g = r(() => {
2168
2168
  var B;
2169
2169
  return ((B = l.search) == null ? void 0 : B.inputFieldAriaLabel) || n("searchBar");
2170
2170
  }), h = r(() => {
2171
2171
  if (!l.search)
2172
2172
  return;
2173
- const { debounceTime: B, disabled: f, inputFieldAriaLabel: y, hint: O, placeholder: w } = l.search;
2174
- return { debounceTime: B, disabled: f, inputFieldAriaLabel: y, hint: O, placeholder: w };
2173
+ const { debounceTime: B, disabled: f, inputFieldAriaLabel: y, hint: R, placeholder: w } = l.search;
2174
+ return { debounceTime: B, disabled: f, inputFieldAriaLabel: y, hint: R, placeholder: w };
2175
2175
  }), x = r(() => s.value.some(
2176
2176
  ({ visible: f }) => f != null
2177
2177
  ) ? s.value.some(({ visible: f }) => !f) : !1), T = r(
@@ -2179,18 +2179,18 @@ const Ia = Pa.exports, La = {
2179
2179
  ), U = r(() => s.value.some(
2180
2180
  ({ visible: f }) => f != null
2181
2181
  ) ? s.value.filter(
2182
- ({ defaultValue: f, visible: y, value: O }) => (
2182
+ ({ defaultValue: f, visible: y, value: R }) => (
2183
2183
  // eslint-disable-next-line eqeqeq
2184
- f === void 0 && y || l.showAppliedHiddenFilters && O != null
2184
+ f === void 0 && y || l.showAppliedHiddenFilters && R != null
2185
2185
  )
2186
2186
  ) : s.value.filter(
2187
2187
  ({ defaultValue: f, value: y }) => (
2188
2188
  // eslint-disable-next-line eqeqeq
2189
2189
  f === void 0 || l.showAppliedHiddenFilters && y != null
2190
2190
  )
2191
- )), $ = r(() => l.searchTerm != null), g = r(
2191
+ )), $ = r(() => l.searchTerm != null), D = r(
2192
2192
  () => s.value.filter(({ defaultValue: B }) => B == null).some(({ value: B }) => B != null)
2193
- ), S = r(() => T.value.length === 0 && g.value), I = r(() => T.value.length === 0 ? !1 : !s.value.filter(({ defaultValue: f }) => f !== void 0 || f !== null).every(({ value: f, defaultValue: y }) => JSON.stringify(f) === JSON.stringify(y)) || g.value), P = (B) => {
2193
+ ), S = r(() => T.value.length === 0 && D.value), L = r(() => T.value.length === 0 ? !1 : !s.value.filter(({ defaultValue: f }) => f !== void 0 || f !== null).every(({ value: f, defaultValue: y }) => JSON.stringify(f) === JSON.stringify(y)) || D.value), P = (B) => {
2194
2194
  t(te.INPUT, B), t(
2195
2195
  te.UPDATE_FILTER_VALUES_ARRAY,
2196
2196
  B == null ? void 0 : B.filter(({ value: f }) => f !== null || f !== void 0).map(({ field: f, value: y }) => ({ field: f, value: y }))
@@ -2198,14 +2198,14 @@ const Ia = Pa.exports, La = {
2198
2198
  te.UPDATE_FILTER_VALUES_OBJECT,
2199
2199
  B == null ? void 0 : B.filter(({ value: f }) => f !== null || f !== void 0).reduce((f, y) => (f[y.field] = y.value, f), {})
2200
2200
  );
2201
- }, R = (B) => {
2201
+ }, I = (B) => {
2202
2202
  const f = s.value.findIndex(
2203
- (O) => O.field === B.field
2203
+ (R) => R.field === B.field
2204
2204
  ), y = s.value.slice();
2205
2205
  y[f].value = B.value, P(y);
2206
- }, D = () => {
2207
- const B = s.value.slice(), f = s.value.map(({ value: y, ...O }) => ({
2208
- ...O,
2206
+ }, C = () => {
2207
+ const B = s.value.slice(), f = s.value.map(({ value: y, ...R }) => ({
2208
+ ...R,
2209
2209
  value: void 0
2210
2210
  }));
2211
2211
  c({
@@ -2216,8 +2216,8 @@ const Ia = Pa.exports, La = {
2216
2216
  }
2217
2217
  }), P(f);
2218
2218
  }, k = () => {
2219
- const B = s.value.slice(), f = s.value.map(({ defaultValue: y, ...O }) => ({
2220
- ...O,
2219
+ const B = s.value.slice(), f = s.value.map(({ defaultValue: y, ...R }) => ({
2220
+ ...R,
2221
2221
  defaultValue: y,
2222
2222
  value: y
2223
2223
  }));
@@ -2233,7 +2233,7 @@ const Ia = Pa.exports, La = {
2233
2233
  }, Y = () => {
2234
2234
  t(oe.CLEAR);
2235
2235
  };
2236
- return e({ isClearAllVisible: S, clearAllFilters: D, isResetAllVisible: I, resetAllFilters: k }), { __sfc: !0, props: l, emit: t, t: n, filterBarRef: o, valueAndFilterValuesPropsMerged: s, addToast: c, screenLayoutComponent: u, showSearchbarInsideContainer: d, isOneLineLayout: _, containerConditionalClasses: F, contentConditionalClasses: b, searchBarAriaLabel: C, searchBarProps: h, hasHiddenFilters: x, persistentFilters: T, regularFilters: U, isSearchBarEnabled: $, hasActiveFilters: g, isClearAllVisible: S, isResetAllVisible: I, updateAllFilters: P, updateFilterHandler: R, clearAllFilters: D, resetAllFilters: k, onSearchbarInput: j, onSearchbarClear: Y, FilterBarButton: Se, BentoSearchBar: me, AllFiltersModal: Ia, RefreshIcon: Tt };
2236
+ return e({ isClearAllVisible: S, clearAllFilters: C, isResetAllVisible: L, resetAllFilters: k }), { __sfc: !0, props: l, emit: t, t: n, filterBarRef: o, valueAndFilterValuesPropsMerged: s, addToast: c, screenLayoutComponent: u, showSearchbarInsideContainer: d, isOneLineLayout: _, containerConditionalClasses: F, contentConditionalClasses: b, searchBarAriaLabel: g, searchBarProps: h, hasHiddenFilters: x, persistentFilters: T, regularFilters: U, isSearchBarEnabled: $, hasActiveFilters: D, isClearAllVisible: S, isResetAllVisible: L, updateAllFilters: P, updateFilterHandler: I, clearAllFilters: C, resetAllFilters: k, onSearchbarInput: j, onSearchbarClear: Y, FilterBarButton: Se, BentoSearchBar: me, AllFiltersModal: Ia, RefreshIcon: Tt };
2237
2237
  }
2238
2238
  });
2239
2239
  var Ra = function() {
@@ -2263,4 +2263,4 @@ export {
2263
2263
  te as c,
2264
2264
  G as d
2265
2265
  };
2266
- //# sourceMappingURL=filter-bar.DVqgwt2p.js.map
2266
+ //# sourceMappingURL=filter-bar.BLnSnOlj.js.map