@adyen/bento-vue3 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 +216 -33
  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.8ebmaHsA.js → checkbox-group.COUx8Ne8.js} +2 -2
  29. package/dist/chunks/{checkbox-group.8ebmaHsA.js.map → checkbox-group.COUx8Ne8.js.map} +1 -1
  30. package/dist/chunks/{checkbox.BI0dqARY.js → checkbox.SffuKyNj.js} +3 -3
  31. package/dist/chunks/{checkbox.BI0dqARY.js.map → checkbox.SffuKyNj.js.map} +1 -1
  32. package/dist/chunks/{code-snippet.Bjf1ma1L.js → code-snippet.ByoBEM00.js} +2 -2
  33. package/dist/chunks/{code-snippet.Bjf1ma1L.js.map → code-snippet.ByoBEM00.js.map} +1 -1
  34. package/dist/chunks/{currency.CBZMwm21.js → currency.WmvQjX7l.js} +2 -2
  35. package/dist/chunks/{currency.CBZMwm21.js.map → currency.WmvQjX7l.js.map} +1 -1
  36. package/dist/chunks/{data-grid.VBEJO94f.js → data-grid.CMIG82Xt.js} +7 -7
  37. package/dist/chunks/{data-grid.VBEJO94f.js.map → data-grid.CMIG82Xt.js.map} +1 -1
  38. package/dist/chunks/date-picker.CsGq3iSK.js +244 -0
  39. package/dist/chunks/date-picker.CsGq3iSK.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.C19CWG27.js +1149 -0
  43. package/dist/chunks/date-range-picker.C19CWG27.js.map +1 -0
  44. package/dist/chunks/{dropdown-default-textbox.MkU0tMf1.js → dropdown-default-textbox._KEBXjKT.js} +88 -86
  45. package/dist/chunks/dropdown-default-textbox._KEBXjKT.js.map +1 -0
  46. package/dist/chunks/dropdown-tag.B90dpg8J.js +301 -0
  47. package/dist/chunks/dropdown-tag.B90dpg8J.js.map +1 -0
  48. package/dist/chunks/dropdown.DYDHM__3.js +833 -0
  49. package/dist/chunks/{dropdown.KStrJVoP.js.map → dropdown.DYDHM__3.js.map} +1 -1
  50. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  51. package/dist/chunks/{file-uploader.By0MTfKk.js → file-uploader.BDXQ7Ccv.js} +416 -415
  52. package/dist/chunks/{file-uploader.By0MTfKk.js.map → file-uploader.BDXQ7Ccv.js.map} +1 -1
  53. package/dist/chunks/{filter-bar.JXmlFnHV.js → filter-bar.CmF92iAr.js} +303 -303
  54. package/dist/chunks/filter-bar.CmF92iAr.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.CQRAP2_q.js +12 -0
  58. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -0
  59. package/dist/chunks/{header-with-views.Dg2usaMY.js → header-with-views.xPfeOz0Y.js} +3 -3
  60. package/dist/chunks/{header-with-views.Dg2usaMY.js.map → header-with-views.xPfeOz0Y.js.map} +1 -1
  61. package/dist/chunks/{input-field-password.B6nJ7ygZ.js → input-field-password.BZBYVyAb.js} +3 -3
  62. package/dist/chunks/{input-field-password.B6nJ7ygZ.js.map → input-field-password.BZBYVyAb.js.map} +1 -1
  63. package/dist/chunks/{input-field-phone-number.D_UBAN2s.js → input-field-phone-number.a8Mw5PAW.js} +5 -5
  64. package/dist/chunks/{input-field-phone-number.D_UBAN2s.js.map → input-field-phone-number.a8Mw5PAW.js.map} +1 -1
  65. package/dist/chunks/{input-field.C29FCI4j.js → input-field.CYGGIK48.js} +48 -48
  66. package/dist/chunks/input-field.CYGGIK48.js.map +1 -0
  67. package/dist/chunks/{listbox-option-tag.uHSB7MO6.js → listbox-option-tag.Cwe9Bn-R.js} +2 -2
  68. package/dist/chunks/{listbox-option-tag.uHSB7MO6.js.map → listbox-option-tag.Cwe9Bn-R.js.map} +1 -1
  69. package/dist/chunks/{pagination.BaBWNlIF.js → pagination.CYdGcyMA.js} +49 -49
  70. package/dist/chunks/pagination.CYdGcyMA.js.map +1 -0
  71. package/dist/chunks/{payment-method.CDnn1bjo.js → payment-method.D6PeTYWq.js} +45 -42
  72. package/dist/chunks/payment-method.D6PeTYWq.js.map +1 -0
  73. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  74. package/dist/chunks/{radio-group.DWNqrkZ3.js → radio-group.B_8R6vGx.js} +3 -3
  75. package/dist/chunks/{radio-group.DWNqrkZ3.js.map → radio-group.B_8R6vGx.js.map} +1 -1
  76. package/dist/chunks/{rich-text-editor.Bh7KS617.js → rich-text-editor.B6Ftqv55.js} +2 -2
  77. package/dist/chunks/{rich-text-editor.Bh7KS617.js.map → rich-text-editor.B6Ftqv55.js.map} +1 -1
  78. package/dist/chunks/{search-bar.RS02IcLc.js → search-bar.D3Ri_RUK.js} +3 -3
  79. package/dist/chunks/{search-bar.RS02IcLc.js.map → search-bar.D3Ri_RUK.js.map} +1 -1
  80. package/dist/chunks/{secondary-nav.DXsgUTqk.js → secondary-nav.CAb20jWW.js} +24 -24
  81. package/dist/chunks/secondary-nav.CAb20jWW.js.map +1 -0
  82. package/dist/chunks/{summary-grid.types.ByQ4u19J.js → summary-grid.types.cE1fyLvC.js} +2 -2
  83. package/dist/chunks/{summary-grid.types.ByQ4u19J.js.map → summary-grid.types.cE1fyLvC.js.map} +1 -1
  84. package/dist/chunks/tag.CjaB9DxL.js +57 -0
  85. package/dist/chunks/tag.CjaB9DxL.js.map +1 -0
  86. package/dist/chunks/textarea.C_gnXj6b.js +254 -0
  87. package/dist/chunks/textarea.C_gnXj6b.js.map +1 -0
  88. package/dist/chunks/{timeline-item.DNjubXL2.js → timeline-item.rSY0Xce3.js} +48 -48
  89. package/dist/chunks/timeline-item.rSY0Xce3.js.map +1 -0
  90. package/dist/chunks/{toggle.Dd_NA8eH.js → toggle.BHCUjMpp.js} +2 -2
  91. package/dist/chunks/{toggle.Dd_NA8eH.js.map → toggle.BHCUjMpp.js.map} +1 -1
  92. package/dist/code-snippet.js +1 -1
  93. package/dist/currency.js +1 -1
  94. package/dist/data-grid.js +1 -1
  95. package/dist/date-picker.js +7 -6
  96. package/dist/date-picker.js.map +1 -1
  97. package/dist/date-range-picker.js +1 -1
  98. package/dist/dropdown.js +3 -3
  99. package/dist/file-uploader.js +1 -1
  100. package/dist/filter-bar.js +1 -1
  101. package/dist/header-with-views.js +1 -1
  102. package/dist/index.js +246 -245
  103. package/dist/index.js.map +1 -1
  104. package/dist/input-field-password.js +1 -1
  105. package/dist/input-field-phone-number.js +1 -1
  106. package/dist/input-field.js +1 -1
  107. package/dist/internal.js +1 -1
  108. package/dist/pagination.js +1 -1
  109. package/dist/payment-method.js +1 -1
  110. package/dist/radio-group.js +1 -1
  111. package/dist/rich-text-editor.js +1 -1
  112. package/dist/search-bar.js +2 -2
  113. package/dist/secondary-nav.js +1 -1
  114. package/dist/styles/bento-dark.css +4 -0
  115. package/dist/styles/bento-light.css +4 -0
  116. package/dist/styles/bento.css +4 -0
  117. package/dist/styles/legacy.css +4 -0
  118. package/dist/styles/styleguide.css +4 -0
  119. package/dist/summary-grid.js +1 -1
  120. package/dist/tag.js +1 -1
  121. package/dist/textarea.js +1 -1
  122. package/dist/timeline.js +1 -1
  123. package/dist/toggle.js +1 -1
  124. package/dist/web-types.json +1 -1
  125. package/package.json +5 -5
  126. package/dist/chunks/date-picker.OI-sQ232.js +0 -234
  127. package/dist/chunks/date-picker.OI-sQ232.js.map +0 -1
  128. package/dist/chunks/date-range-picker.D7IwIR5V.js +0 -1114
  129. package/dist/chunks/date-range-picker.D7IwIR5V.js.map +0 -1
  130. package/dist/chunks/dropdown-default-textbox.MkU0tMf1.js.map +0 -1
  131. package/dist/chunks/dropdown-tag.DFeoXIgH.js +0 -242
  132. package/dist/chunks/dropdown-tag.DFeoXIgH.js.map +0 -1
  133. package/dist/chunks/dropdown.KStrJVoP.js +0 -825
  134. package/dist/chunks/filter-bar.JXmlFnHV.js.map +0 -1
  135. package/dist/chunks/get-slot-text.DQlZEsId.js +0 -12
  136. package/dist/chunks/get-slot-text.DQlZEsId.js.map +0 -1
  137. package/dist/chunks/input-field.C29FCI4j.js.map +0 -1
  138. package/dist/chunks/pagination.BaBWNlIF.js.map +0 -1
  139. package/dist/chunks/payment-method.CDnn1bjo.js.map +0 -1
  140. package/dist/chunks/secondary-nav.DXsgUTqk.js.map +0 -1
  141. package/dist/chunks/tag.CEmpyuYX.js +0 -50
  142. package/dist/chunks/tag.CEmpyuYX.js.map +0 -1
  143. package/dist/chunks/textarea.C1jkfowf.js +0 -246
  144. package/dist/chunks/textarea.C1jkfowf.js.map +0 -1
  145. package/dist/chunks/timeline-item.DNjubXL2.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as Q, useSlots as Ne, useAttrs as Ot, computed as b, ref as N, createBlock as w, openBlock as F, unref as T, normalizeClass as de, withCtx as B, createElementVNode as W, renderSlot as ce, createCommentVNode as Z, createVNode as R, createTextVNode as X, toDisplayString as x, watch as ie, createElementBlock as G, withDirectives as Rt, withKeys as me, nextTick as rt, toRef as te, onBeforeUpdate as Ve, provide as ut, mergeProps as re, resolveComponent as V, Fragment as $e, reactive as wt, createSlots as Pe, renderList as ye, normalizeProps as Re, guardReactiveProps as we, onMounted as dt, resolveDynamicComponent as Oe } from "vue";
2
- import { B as ke, b as Ae } from "./search-bar.RS02IcLc.js";
1
+ import { defineComponent as Q, useSlots as Ve, useAttrs as Ot, computed as b, ref as V, createBlock as w, openBlock as F, unref as I, normalizeClass as de, withCtx as D, createElementVNode as W, renderSlot as ce, createCommentVNode as Z, createVNode as R, createTextVNode as X, toDisplayString as x, watch as ie, createElementBlock as G, withDirectives as Rt, withKeys as me, nextTick as rt, toRef as te, onBeforeUpdate as Ne, provide as ut, mergeProps as re, resolveComponent as N, Fragment as $e, reactive as wt, createSlots as Pe, renderList as ye, normalizeProps as Re, guardReactiveProps as we, onMounted as dt, resolveDynamicComponent as Oe } from "vue";
2
+ import { B as ke, b as Ae } from "./search-bar.D3Ri_RUK.js";
3
3
  import { u as kt } from "./use-bento-toast-controller.Kri_h7jS.js";
4
4
  import { u as pe } from "./index.pdBj0KQU.js";
5
- import { k as Nt } from "./index.E60QniEu.js";
5
+ import { k as Vt } from "./index.E60QniEu.js";
6
6
  import { F as ct } from "./fixed-scroller.Dmg8r9QP.js";
7
- import { _ as Vt } from "./modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js";
7
+ import { _ as Nt } from "./modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js";
8
8
  import { B as Mt } from "./button.DhcxX2GJ.js";
9
- import { B as Ht } from "./radio-group.DWNqrkZ3.js";
9
+ import { B as Ht } from "./radio-group.B_8R6vGx.js";
10
10
  import { t as Ce } from "./truncate.BfIl_-71.js";
11
11
  import { u as jt, d as pt, h as qt, I as Kt, k as Jt, B as Yt } from "./button-actions.BQ3AFQqt.js";
12
12
  import { b as zt } from "./tooltip.Dp9_ESm_.js";
@@ -17,24 +17,24 @@ import { B as bt, a as Ge } from "./base-button.BYhf0xf3.js";
17
17
  import { B as ve, d as Ke } from "./typography.yBEME_Gu.js";
18
18
  import { u as ft } from "./use-has-slot.B7eQSabc.js";
19
19
  import { u as vt } from "./aria-label.CaUURpnB.js";
20
- import { g as mt } from "./get-slot-text.DQlZEsId.js";
21
- import { B as Je } from "./input-field.C29FCI4j.js";
22
- import { u as Ye, B as Gt } from "./dropdown.KStrJVoP.js";
20
+ import { g as mt } from "./get-slot-text.CQRAP2_q.js";
21
+ import { B as Je } from "./input-field.CYGGIK48.js";
22
+ import { u as Ye, B as Gt } from "./dropdown.DYDHM__3.js";
23
23
  import { g as Zt } from "./focus-trap.CpNGD7PH.js";
24
24
  import { C as Qt } from "./chevron-up.kfuLRpZb.js";
25
25
  import { C as Xt } from "./chevron-down.DCQ6ZLaq.js";
26
26
  /* empty css */
27
27
  import { B as ze } from "./divider.DnKNNyWB.js";
28
28
  import { c as Ze, b as xt } from "./use-cached-selected-values.8MdrR9wt.js";
29
- import { L as yt } from "./listbox-option-tag.uHSB7MO6.js";
30
- import { B as el } from "./payment-method.CDnn1bjo.js";
29
+ import { L as yt } from "./listbox-option-tag.Cwe9Bn-R.js";
30
+ import { B as el } from "./payment-method.D6PeTYWq.js";
31
31
  import { u as tl } from "./use-country-items.Dzbl2UsO.js";
32
32
  import { B as ll } from "./avatar.P2Fkz2I6.js";
33
- import { D as al, B as ol, i as He, b as nl } from "./date-range-picker.D7IwIR5V.js";
33
+ import { D as al, B as ol, i as He, b as nl } from "./date-range-picker.C19CWG27.js";
34
34
  import { g as ht } from "./differenceInMonths.C8FyCrav.js";
35
35
  import { D as Qe } from "./date-format.B8RU7D42.js";
36
36
  import { b as sl, f as ge, i as il } from "./calendar.Tm7Cvpwu.js";
37
- import { B as rl } from "./date-picker.OI-sQ232.js";
37
+ import { B as rl } from "./date-picker.CsGq3iSK.js";
38
38
  import { R as Xe } from "./refresh.BB4ouvz_.js";
39
39
  import "../assets/filter-bar.css";
40
40
  const ul = { class: "b-filter-bar-button__container" }, dl = { class: "b-filter-bar-button__label-container" }, cl = {}, pl = /* @__PURE__ */ Q({
@@ -71,7 +71,7 @@ const ul = { class: "b-filter-bar-button__container" }, dl = { class: "b-filter-
71
71
  },
72
72
  emits: ["click"],
73
73
  setup(e, { emit: n }) {
74
- const l = e, s = n, t = Ne(), o = Ot(), u = ft(t), a = b(() => t.default ? mt(t)("default") : null), i = b(() => !u("default") && u("iconLeft")), f = vt({ ariaLabel: a }), p = N(null), S = b(() => {
74
+ const l = e, s = n, t = Ve(), o = Ot(), u = ft(t), a = b(() => t.default ? mt(t)("default") : null), i = b(() => !u("default") && u("iconLeft")), f = vt({ ariaLabel: a }), p = V(null), C = b(() => {
75
75
  var P;
76
76
  return {
77
77
  "aria-controls": (P = o["aria-controls"]) == null ? void 0 : P.toString()
@@ -88,52 +88,52 @@ const ul = { class: "b-filter-bar-button__container" }, dl = { class: "b-filter-
88
88
  })), g = (P) => {
89
89
  P.preventDefault(), l.disabled || s("click", P);
90
90
  };
91
- return (P, $) => (F(), w(T(bt), {
91
+ return (P, $) => (F(), w(I(bt), {
92
92
  ref_key: "filterBarButtonRef",
93
93
  ref: p,
94
94
  class: de(["b-filter-bar-button", r.value]),
95
95
  disabled: e.disabled,
96
- "aria-label": T(f),
97
- "aria-controls": S.value["aria-controls"],
96
+ "aria-label": I(f),
97
+ "aria-controls": C.value["aria-controls"],
98
98
  type: "button",
99
99
  onClick: g
100
100
  }, {
101
- iconRight: B(() => [
102
- e.appliedFiltersCount && !i.value ? (F(), w(T(ve), {
101
+ iconRight: D(() => [
102
+ e.appliedFiltersCount && !i.value ? (F(), w(I(ve), {
103
103
  key: 0,
104
104
  class: "b-filter-bar-button__counter",
105
105
  el: "span",
106
106
  variant: "body",
107
107
  stronger: ""
108
108
  }, {
109
- default: B(() => [
109
+ default: D(() => [
110
110
  X(x(e.appliedFiltersCount), 1)
111
111
  ]),
112
112
  _: 1
113
113
  })) : Z("", !0)
114
114
  ]),
115
- default: B(() => [
115
+ default: D(() => [
116
116
  W("div", ul, [
117
- T(u)("iconLeft") ? ce(P.$slots, "iconLeft", { key: 0 }, void 0, !0) : Z("", !0),
117
+ I(u)("iconLeft") ? ce(P.$slots, "iconLeft", { key: 0 }, void 0, !0) : Z("", !0),
118
118
  W("div", dl, [
119
- R(T(ve), {
119
+ R(I(ve), {
120
120
  el: "span",
121
121
  variant: "body",
122
122
  stronger: "",
123
123
  class: "b-filter-bar-button__label"
124
124
  }, {
125
- default: B(() => [
125
+ default: D(() => [
126
126
  W("span", null, [
127
127
  ce(P.$slots, "default", {}, void 0, !0)
128
128
  ]),
129
- e.secondaryLabel && !i.value ? (F(), w(T(ve), {
129
+ e.secondaryLabel && !i.value ? (F(), w(I(ve), {
130
130
  key: 0,
131
131
  el: "span",
132
132
  variant: "body",
133
133
  stronger: "",
134
134
  class: "b-filter-bar-button__label"
135
135
  }, {
136
- default: B(() => $[0] || ($[0] = [
136
+ default: D(() => $[0] || ($[0] = [
137
137
  X(":")
138
138
  ])),
139
139
  _: 1
@@ -141,14 +141,14 @@ const ul = { class: "b-filter-bar-button__container" }, dl = { class: "b-filter-
141
141
  ]),
142
142
  _: 3
143
143
  }),
144
- e.secondaryLabel && !i.value ? (F(), w(T(ve), {
144
+ e.secondaryLabel && !i.value ? (F(), w(I(ve), {
145
145
  key: 0,
146
146
  el: "span",
147
147
  variant: "body",
148
148
  stronger: "",
149
149
  class: "b-filter-bar-button__secondary-label"
150
150
  }, {
151
- default: B(() => [
151
+ default: D(() => [
152
152
  X(x(e.secondaryLabel), 1)
153
153
  ]),
154
154
  _: 1
@@ -163,7 +163,7 @@ const ul = { class: "b-filter-bar-button__container" }, dl = { class: "b-filter-
163
163
  var A = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.UPDATE = "update", e))(A || {}), Se = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", e.UPDATE_FILTER_VALUES_ARRAY = "update:filter-values", e))(Se || {}), se = /* @__PURE__ */ ((e) => (e.BOOLEAN = "BentoBooleanFilter", e.RANGE = "BentoRangeFilter", e.INPUT = "BentoInputFilter", e.INPUT_DROPDOWN = "BentoInputWithDropdownFilter", e.SELECT = "BentoSelectFilter", e.SELECT_AVATAR = "BentoSelectAvatarFilter", e.SELECT_COUNTRY = "BentoSelectCountryFilter", e.SELECT_CURRENCY = "BentoSelectCurrencyFilter", e.SELECT_PAYMENT_METHOD = "BentoSelectPaymentMethodFilter", e.SELECT_TAG = "BentoSelectTagFilter", e.DATE = "BentoDateFilter", e.DATE_RANGE = "BentoDateRangeFilter", e))(se || {});
164
164
  const xe = 430, et = 700;
165
165
  function bl(e, n) {
166
- const l = N("div"), s = N(!1), t = N(0), o = b(() => !(t.value < xe && n.value.small === "multi-line"));
166
+ const l = V("div"), s = V(!1), t = V(0), o = b(() => !(t.value < xe && n.value.small === "multi-line"));
167
167
  function u() {
168
168
  s.value = !1, l.value = "div";
169
169
  }
@@ -173,7 +173,7 @@ function bl(e, n) {
173
173
  function i() {
174
174
  t.value > et || t.value < et && t.value >= xe && n.value.medium === "multi-line" ? u() : a();
175
175
  }
176
- return ie(() => n.value, i), Nt(e, (f) => {
176
+ return ie(() => n.value, i), Vt(e, (f) => {
177
177
  t.value = f[0].contentRect.width, i();
178
178
  }), {
179
179
  screenLayoutComponent: l,
@@ -255,9 +255,9 @@ const Ft = {
255
255
  ne.CANCEL
256
256
  ],
257
257
  setup(e, { expose: n, emit: l }) {
258
- const s = l, t = e, { t: o } = pe({ messages: Ft }), u = qe("base-filter-popover"), a = N(!1), i = N(null), f = N(null), p = b(() => t.defaultValue !== null), S = b(() => p.value ? JSON.stringify(t.value) !== JSON.stringify(t.defaultValue) : t.appliedFiltersCount || t.buttonSecondaryLabel), _ = b(() => {
259
- let I = t.buttonSecondaryLabel ? `: ${t.buttonSecondaryLabel}` : "";
260
- return t.appliedFiltersCount && (I = `: ${o("numberSelected", { numberOfItemsSelected: t.appliedFiltersCount })}`), (p.value ? t.label : g.value) + I;
258
+ const s = l, t = e, { t: o } = pe({ messages: Ft }), u = qe("base-filter-popover"), a = V(!1), i = V(null), f = V(null), p = b(() => t.defaultValue !== null), C = b(() => p.value ? JSON.stringify(t.value) !== JSON.stringify(t.defaultValue) : t.appliedFiltersCount || t.buttonSecondaryLabel), _ = b(() => {
259
+ let T = t.buttonSecondaryLabel ? `: ${t.buttonSecondaryLabel}` : "";
260
+ return t.appliedFiltersCount && (T = `: ${o("numberSelected", { numberOfItemsSelected: t.appliedFiltersCount })}`), (p.value ? t.label : g.value) + T;
261
261
  }), r = b(
262
262
  () => p.value ? o("resetFilter", {
263
263
  function: g.value
@@ -265,8 +265,8 @@ const Ft = {
265
265
  function: g.value
266
266
  })
267
267
  ), g = b(() => t.buttonLabel || t.label), P = async () => {
268
- var I, D;
269
- await rt(), (D = (I = i.value) == null ? void 0 : I.$el) == null || D.focus();
268
+ var T, S;
269
+ await rt(), (S = (T = i.value) == null ? void 0 : T.$el) == null || S.focus();
270
270
  }, $ = () => {
271
271
  a.value && (a.value = !1, P(), s(ne.CLOSE));
272
272
  }, U = () => {
@@ -293,82 +293,82 @@ const Ft = {
293
293
  ]);
294
294
  return ie(
295
295
  () => a.value,
296
- (I, D) => {
296
+ (T, S) => {
297
297
  var J, z;
298
- !I && D && (z = (J = i.value) == null ? void 0 : J.filterBarButtonRef) != null && z.bentoBaseButtonRef && i.value.filterBarButtonRef.bentoBaseButtonRef.focus();
298
+ !T && S && (z = (J = i.value) == null ? void 0 : J.filterBarButtonRef) != null && z.bentoBaseButtonRef && i.value.filterBarButtonRef.bentoBaseButtonRef.focus();
299
299
  }
300
300
  ), jt(f, M, { ignore: [i] }), n({
301
301
  closePopover: $
302
- }), (I, D) => I.onlySlot ? (F(), G("div", yl, [
303
- ce(I.$slots, "default", {}, void 0, !0)
302
+ }), (T, S) => T.onlySlot ? (F(), G("div", yl, [
303
+ ce(T.$slots, "default", {}, void 0, !0)
304
304
  ])) : (F(), G("div", hl, [
305
305
  Rt((F(), w(ml, {
306
306
  "is-active": a.value,
307
- "skip-grouping": !S.value
307
+ "skip-grouping": !C.value
308
308
  }, {
309
- default: B(() => [
310
- R(T(Ee), {
309
+ default: D(() => [
310
+ R(I(Ee), {
311
311
  ref_key: "filterButtonRef",
312
312
  ref: i,
313
313
  "aria-label": _.value,
314
- "aria-controls": a.value ? T(u) : null,
315
- "applied-filters-count": I.appliedFiltersCount,
316
- disabled: I.disabled,
314
+ "aria-controls": a.value ? I(u) : null,
315
+ "applied-filters-count": T.appliedFiltersCount,
316
+ disabled: T.disabled,
317
317
  "is-persistent-filter": p.value,
318
318
  "is-filter-open": a.value,
319
- "secondary-label": I.buttonSecondaryLabel,
319
+ "secondary-label": T.buttonSecondaryLabel,
320
320
  onClick: E,
321
321
  onKeydown: me($, ["esc"])
322
322
  }, {
323
- default: B(() => [
323
+ default: D(() => [
324
324
  X(x(g.value), 1)
325
325
  ]),
326
326
  _: 1
327
327
  }, 8, ["aria-label", "aria-controls", "applied-filters-count", "disabled", "is-persistent-filter", "is-filter-open", "secondary-label"]),
328
- S.value ? (F(), w(T(Ee), {
328
+ C.value ? (F(), w(I(Ee), {
329
329
  key: 0,
330
- "applied-filters-count": I.appliedFiltersCount,
331
- disabled: I.disabled,
330
+ "applied-filters-count": T.appliedFiltersCount,
331
+ disabled: T.disabled,
332
332
  "is-persistent-filter": p.value,
333
333
  "is-filter-open": a.value,
334
- "secondary-label": I.buttonSecondaryLabel,
334
+ "secondary-label": T.buttonSecondaryLabel,
335
335
  onClick: U
336
336
  }, {
337
- iconLeft: B(() => [
338
- R(T(Wt), { "svg-title": r.value }, null, 8, ["svg-title"])
337
+ iconLeft: D(() => [
338
+ R(I(Wt), { "svg-title": r.value }, null, 8, ["svg-title"])
339
339
  ]),
340
340
  _: 1
341
341
  }, 8, ["applied-filters-count", "disabled", "is-persistent-filter", "is-filter-open", "secondary-label"])) : Z("", !0)
342
342
  ]),
343
343
  _: 1
344
344
  }, 8, ["is-active", "skip-grouping"])), [
345
- [T(zt), I.tooltipText, I.tooltipPosition]
345
+ [I(zt), T.tooltipText, T.tooltipPosition]
346
346
  ]),
347
347
  i.value ? (F(), w(pt, { key: 0 }, {
348
- default: B(() => [
348
+ default: D(() => [
349
349
  i.value ? (F(), w(qt, {
350
350
  key: 0,
351
- id: T(u),
351
+ id: I(u),
352
352
  ref_key: "popoverRef",
353
353
  ref: f,
354
354
  class: "b-base-filter__popover",
355
355
  divider: "",
356
356
  open: a.value,
357
- actions: I.controlled ? null : H.value,
357
+ actions: T.controlled ? null : H.value,
358
358
  "actions-layout": "space-between",
359
359
  "target-element": i.value,
360
- title: I.controlled ? null : I.label,
361
- "fit-content": I.fitContent,
360
+ title: T.controlled ? null : T.label,
361
+ "fit-content": T.fitContent,
362
362
  position: "bottom-start",
363
- "without-space": I.controlled,
363
+ "without-space": T.controlled,
364
364
  "fallback-position": ["bottom-end"],
365
365
  "overflow-visible": ""
366
366
  }, {
367
- default: B(() => [
367
+ default: D(() => [
368
368
  W("div", {
369
369
  onKeydown: me(h, ["esc"])
370
370
  }, [
371
- ce(I.$slots, "default", {}, void 0, !0)
371
+ ce(T.$slots, "default", {}, void 0, !0)
372
372
  ], 32)
373
373
  ]),
374
374
  _: 3
@@ -379,7 +379,7 @@ const Ft = {
379
379
  ]));
380
380
  }
381
381
  }), Be = /* @__PURE__ */ le(gl, [["__scopeId", "data-v-0b7847c0"]]), Sl = (e) => e instanceof Array, tt = (e) => Sl(e) ? e.length === 0 || e.every((n) => n === "") : !e, lt = (e, n) => JSON.stringify(e) === JSON.stringify(n), he = (e, n) => {
382
- const l = N(e.value);
382
+ const l = V(e.value);
383
383
  ie(
384
384
  () => e.value,
385
385
  () => {
@@ -409,36 +409,36 @@ const Ft = {
409
409
  },
410
410
  emits: ["input", "update"],
411
411
  setup(e, { emit: n }) {
412
- var H, I;
413
- const l = e, s = n, t = N(null), o = N((I = (H = l == null ? void 0 : l.options) == null ? void 0 : H.dropdown) == null ? void 0 : I.value), u = b(
412
+ var H, T;
413
+ const l = e, s = n, t = V(null), o = V((T = (H = l == null ? void 0 : l.options) == null ? void 0 : H.dropdown) == null ? void 0 : T.value), u = b(
414
414
  () => {
415
- var D, J;
416
- return ((D = l == null ? void 0 : l.options) == null ? void 0 : D.variant) === "dropdown" && ((J = l == null ? void 0 : l.options) == null ? void 0 : J.dropdown) !== void 0;
415
+ var S, J;
416
+ return ((S = l == null ? void 0 : l.options) == null ? void 0 : S.variant) === "dropdown" && ((J = l == null ? void 0 : l.options) == null ? void 0 : J.dropdown) !== void 0;
417
417
  }
418
418
  ), a = b(
419
419
  () => {
420
- var D;
421
- return u.value ? { ...(D = l == null ? void 0 : l.options) == null ? void 0 : D.dropdown, value: o.value } : void 0;
420
+ var S;
421
+ return u.value ? { ...(S = l == null ? void 0 : l.options) == null ? void 0 : S.dropdown, value: o.value } : void 0;
422
422
  }
423
423
  ), i = b(() => {
424
- var D;
425
- return ((D = l == null ? void 0 : l.options) == null ? void 0 : D.variant) === "dropdown" ? "dropdown" : "default";
424
+ var S;
425
+ return ((S = l == null ? void 0 : l.options) == null ? void 0 : S.variant) === "dropdown" ? "dropdown" : "default";
426
426
  }), f = b(
427
427
  () => {
428
- var D;
429
- return u.value ? (D = l.value) == null ? void 0 : D.inputValue : l == null ? void 0 : l.value;
428
+ var S;
429
+ return u.value ? (S = l.value) == null ? void 0 : S.inputValue : l == null ? void 0 : l.value;
430
430
  }
431
- ), { internalFilterValue: p, isSecondaryButtonDisabled: S, isApplyButtonDisabled: _ } = he(
431
+ ), { internalFilterValue: p, isSecondaryButtonDisabled: C, isApplyButtonDisabled: _ } = he(
432
432
  f,
433
433
  te(l, "defaultValue")
434
434
  ), r = b(() => l.label), g = b(() => Ce(f.value, 12)), P = b(() => ({
435
435
  "b-input-filter--only-slot": l.onlySlot
436
436
  }));
437
- Ve(() => {
437
+ Ne(() => {
438
438
  p.value === "" && (p.value = null);
439
439
  }), ie(t, () => {
440
- var D;
441
- (D = t.value) == null || D.focusInput();
440
+ var S;
441
+ (S = t.value) == null || S.focusInput();
442
442
  });
443
443
  const $ = () => {
444
444
  p.value = f.value;
@@ -454,16 +454,16 @@ const Ft = {
454
454
  p.value = null, U();
455
455
  }, q = () => {
456
456
  s("input", { ...l, value: p.value });
457
- }, h = (D) => {
458
- p.value = D;
459
- }, M = (D) => {
460
- o.value = D;
457
+ }, h = (S) => {
458
+ p.value = S;
459
+ }, M = (S) => {
460
+ o.value = S;
461
461
  };
462
462
  return ut(Kt, u.value), ie(
463
463
  () => l.options,
464
464
  () => {
465
- var D, J, z;
466
- ((D = l.options) != null && D.dropdown || (J = l.options) != null && J.dropdownPosition || (z = l.options) != null && z.variant) && Ke(
465
+ var S, J, z;
466
+ ((S = l.options) != null && S.dropdown || (J = l.options) != null && J.dropdownPosition || (z = l.options) != null && z.variant) && Ke(
467
467
  'BentoInputFilter "options" property',
468
468
  `BentoInputFilter "options" no longer supports "dropdown", "dropdownPosition" or "variant" attributes.
469
469
  Use the "BentoFilterItemType.INPUT_DROPDOWN" instead of "BentoFilterItemType.INPUT"
@@ -479,39 +479,39 @@ const Ft = {
479
479
  );
480
480
  },
481
481
  { immediate: !0 }
482
- ), (D, J) => {
482
+ ), (S, J) => {
483
483
  var z, ee;
484
- return F(), w(T(Be), re(D.$props, {
484
+ return F(), w(I(Be), re(S.$props, {
485
485
  "button-label": r.value,
486
486
  "button-secondary-label": g.value,
487
- "disable-apply-button": T(_),
488
- "disable-secondary-button": T(S),
489
- "only-slot": D.onlySlot,
487
+ "disable-apply-button": I(_),
488
+ "disable-secondary-button": I(C),
489
+ "only-slot": S.onlySlot,
490
490
  "popover-overflow-visible": u.value,
491
- "tooltip-position": (z = D.options) == null ? void 0 : z.tooltipPosition,
492
- "tooltip-text": (ee = D.options) == null ? void 0 : ee.tooltipText,
491
+ "tooltip-position": (z = S.options) == null ? void 0 : z.tooltipPosition,
492
+ "tooltip-text": (ee = S.options) == null ? void 0 : ee.tooltipText,
493
493
  onApply: U,
494
494
  onClear: E,
495
495
  onOpen: $,
496
496
  onReset: j
497
497
  }), {
498
- default: B(() => {
499
- var C, v;
498
+ default: D(() => {
499
+ var B, v;
500
500
  return [
501
501
  W("div", {
502
502
  class: de(["b-input-filter", P.value]),
503
503
  onKeydown: me(U, ["enter"]),
504
504
  onInput: q
505
505
  }, [
506
- R(T(Je), {
506
+ R(I(Je), {
507
507
  ref_key: "inputTextRef",
508
508
  ref: t,
509
509
  dropdown: a.value,
510
- "dropdown-position": (C = D.options) == null ? void 0 : C.dropdownPosition,
511
- placeholder: (v = D.options) == null ? void 0 : v.placeholder,
510
+ "dropdown-position": (B = S.options) == null ? void 0 : B.dropdownPosition,
511
+ placeholder: (v = S.options) == null ? void 0 : v.placeholder,
512
512
  variant: i.value,
513
- value: T(p),
514
- disabled: D.disabled,
513
+ value: I(p),
514
+ disabled: S.disabled,
515
515
  onInput: h,
516
516
  onDropdownInput: M
517
517
  }, null, 8, ["dropdown", "dropdown-position", "placeholder", "variant", "value", "disabled"])
@@ -537,19 +537,19 @@ const Ft = {
537
537
  },
538
538
  emits: [A.INPUT, A.UPDATE],
539
539
  setup(e, { emit: n }) {
540
- const l = e, s = n, t = N(null), { internalFilterValue: o, isSecondaryButtonDisabled: u, isApplyButtonDisabled: a } = he(te(l, "value"), te(l, "defaultValue")), i = b(() => l.label), f = b(() => {
540
+ const l = e, s = n, t = V(null), { internalFilterValue: o, isSecondaryButtonDisabled: u, isApplyButtonDisabled: a } = he(te(l, "value"), te(l, "defaultValue")), i = b(() => l.label), f = b(() => {
541
541
  var h;
542
542
  return Ce((h = l.value) == null ? void 0 : h.inputValue, 12);
543
543
  }), p = b(
544
544
  () => {
545
- var h, M, H;
546
- return ((h = o.value) == null ? void 0 : h.dropdownValue) ?? ((H = (M = l.options) == null ? void 0 : M.dropdown) == null ? void 0 : H.value);
545
+ var h, M, H, T, S;
546
+ return ((h = o.value) == null ? void 0 : h.dropdownValue) ?? ((H = (M = l.options) == null ? void 0 : M.dropdown) == null ? void 0 : H.modelValue) ?? ((S = (T = l.options) == null ? void 0 : T.dropdown) == null ? void 0 : S.value);
547
547
  }
548
- ), S = b(() => {
548
+ ), C = b(() => {
549
549
  var h;
550
550
  return {
551
551
  ...((h = l.options) == null ? void 0 : h.dropdown) || {},
552
- value: p.value
552
+ modelValue: p.value
553
553
  };
554
554
  }), _ = b(() => ({
555
555
  "b-input-with-dropdown-filter--only-slot": l.onlySlot
@@ -557,7 +557,7 @@ const Ft = {
557
557
  var M;
558
558
  return !(!!((M = o.value) != null && M.inputValue) && !!p.value) || a.value;
559
559
  });
560
- Ve(() => {
560
+ Ne(() => {
561
561
  var h;
562
562
  ((h = o.value) == null ? void 0 : h.inputValue) === "" && (o.value = { ...o.value, inputValue: void 0 });
563
563
  }), ie(t, () => {
@@ -582,35 +582,35 @@ const Ft = {
582
582
  o.value = { ...o.value, dropdownValue: h };
583
583
  };
584
584
  return ut(Jt, !0), (h, M) => {
585
- var H, I;
586
- return F(), w(T(Be), re(h.$props, {
585
+ var H, T;
586
+ return F(), w(I(Be), re(h.$props, {
587
587
  "button-label": i.value,
588
588
  "button-secondary-label": f.value,
589
589
  "disable-apply-button": r.value,
590
- "disable-secondary-button": T(u),
590
+ "disable-secondary-button": I(u),
591
591
  "only-slot": h.onlySlot,
592
592
  "tooltip-position": (H = h.options) == null ? void 0 : H.tooltipPosition,
593
- "tooltip-text": (I = h.options) == null ? void 0 : I.tooltipText,
593
+ "tooltip-text": (T = h.options) == null ? void 0 : T.tooltipText,
594
594
  onApply: P,
595
595
  onClear: U,
596
596
  onOpen: g,
597
597
  onReset: $
598
598
  }), {
599
- default: B(() => {
600
- var D, J;
599
+ default: D(() => {
600
+ var S, J;
601
601
  return [
602
602
  W("div", {
603
603
  class: de(["b-input-with-dropdown-filter", _.value]),
604
604
  onKeydown: me(P, ["enter"]),
605
605
  onInput: j
606
606
  }, [
607
- R(T(Je), {
607
+ R(I(Je), {
608
608
  ref_key: "inputTextRef",
609
609
  ref: t,
610
- dropdown: S.value,
611
- "dropdown-position": (D = h.options) == null ? void 0 : D.dropdownPosition,
610
+ dropdown: C.value,
611
+ "dropdown-position": (S = h.options) == null ? void 0 : S.dropdownPosition,
612
612
  variant: "dropdown",
613
- value: (J = T(o)) == null ? void 0 : J.inputValue,
613
+ value: (J = I(o)) == null ? void 0 : J.inputValue,
614
614
  disabled: h.disabled,
615
615
  onInput: E,
616
616
  onDropdownInput: q
@@ -622,7 +622,7 @@ const Ft = {
622
622
  }, 16, ["button-label", "button-secondary-label", "disable-apply-button", "disable-secondary-button", "only-slot", "tooltip-position", "tooltip-text"]);
623
623
  };
624
624
  }
625
- }), St = /* @__PURE__ */ le(Al, [["__scopeId", "data-v-f10e25d2"]]), Tl = Q({
625
+ }), St = /* @__PURE__ */ le(Al, [["__scopeId", "data-v-30d40e52"]]), Tl = Q({
626
626
  name: "bento-date-filter",
627
627
  components: {
628
628
  BentoBaseFilter: Be,
@@ -685,7 +685,7 @@ const Ft = {
685
685
  }
686
686
  ), i = b(() => e.label), f = b(() => a.value), p = () => {
687
687
  n(A.UPDATE, { ...e, value: t.value });
688
- }, S = () => {
688
+ }, C = () => {
689
689
  t.value = null, p();
690
690
  }, _ = () => {
691
691
  t.value = e.defaultValue, p();
@@ -702,7 +702,7 @@ const Ft = {
702
702
  buttonLabel: i,
703
703
  buttonSecondaryLabel: f,
704
704
  // Events
705
- clearFilter: S,
705
+ clearFilter: C,
706
706
  onDateSelected: g,
707
707
  openFilter: r,
708
708
  updateFilter: p,
@@ -714,8 +714,8 @@ const Ft = {
714
714
  }
715
715
  }), Il = { class: "b-date-filter" };
716
716
  function _l(e, n, l, s, t, o) {
717
- var p, S;
718
- const u = V("bento-date-picker"), a = V("bento-divider"), i = V("calendar"), f = V("bento-base-filter");
717
+ var p, C;
718
+ const u = N("bento-date-picker"), a = N("bento-divider"), i = N("calendar"), f = N("bento-base-filter");
719
719
  return F(), w(f, {
720
720
  "button-label": e.buttonLabel,
721
721
  "button-secondary-label": e.buttonSecondaryLabel,
@@ -727,14 +727,14 @@ function _l(e, n, l, s, t, o) {
727
727
  label: e.label,
728
728
  "only-slot": e.onlySlot,
729
729
  "tooltip-position": (p = e.options) == null ? void 0 : p.tooltipPosition,
730
- "tooltip-text": (S = e.options) == null ? void 0 : S.tooltipText,
730
+ "tooltip-text": (C = e.options) == null ? void 0 : C.tooltipText,
731
731
  "fit-content": "",
732
732
  onApply: e.updateFilter,
733
733
  onClear: e.clearFilter,
734
734
  onOpen: e.openFilter,
735
735
  onReset: e.resetFilter
736
736
  }, {
737
- default: B(() => {
737
+ default: D(() => {
738
738
  var _, r, g, P, $, U;
739
739
  return [
740
740
  e.onlySlot ? (F(), w(u, {
@@ -846,7 +846,7 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
846
846
  const { locale: l, t: s } = pe({ messages: at }), t = ht(), { internalFilterValue: o, isSecondaryButtonDisabled: u, isApplyButtonDisabled: a } = he(
847
847
  te(e, "value"),
848
848
  te(e, "defaultValue")
849
- ), i = N(!1), f = b(() => {
849
+ ), i = V(!1), f = b(() => {
850
850
  var c;
851
851
  return ((c = e == null ? void 0 : e.options) == null ? void 0 : c.quickSelectRanges) && e.options.quickSelectRanges.map((L) => {
852
852
  const y = L.data.endDate ? void 0 : new Date(Date.now()).getTime() - L.data.startDate.getTime();
@@ -864,22 +864,22 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
864
864
  return c ? ge(c, Qe.NUMERIC_DATE_YEAR_FIRST, {
865
865
  locale: t[(L = l.value) == null ? void 0 : L.substring(0, 2)] || t.enUS
866
866
  }) : void 0;
867
- }, S = (c) => {
867
+ }, C = (c) => {
868
868
  var L;
869
869
  return c ? ge(c, Qe.HOUR_MINUTE_SECONDS, {
870
870
  locale: t[(L = l.value) == null ? void 0 : L.substring(0, 2)] || t.enUS
871
871
  }) : "";
872
- }, _ = N(null), r = N(!1), g = wt({
872
+ }, _ = V(null), r = V(!1), g = wt({
873
873
  startDate: p((v = e.value) == null ? void 0 : v.startDate),
874
874
  endDate: p((d = e.value) == null ? void 0 : d.endDate),
875
- startTime: S((O = e.value) == null ? void 0 : O.startDate),
876
- endTime: S((Y = e.value) == null ? void 0 : Y.endDate)
875
+ startTime: C((O = e.value) == null ? void 0 : O.startDate),
876
+ endTime: C((Y = e.value) == null ? void 0 : Y.endDate)
877
877
  });
878
878
  ie(
879
879
  () => e.value,
880
880
  () => {
881
881
  var c, L, y, m;
882
- g.startDate = p((c = e.value) == null ? void 0 : c.startDate), g.endDate = p((L = e.value) == null ? void 0 : L.endDate), g.startTime = S((y = e.value) == null ? void 0 : y.startDate), g.endTime = S((m = e.value) == null ? void 0 : m.endDate);
882
+ g.startDate = p((c = e.value) == null ? void 0 : c.startDate), g.endDate = p((L = e.value) == null ? void 0 : L.endDate), g.startTime = C((y = e.value) == null ? void 0 : y.startDate), g.endTime = C((m = e.value) == null ? void 0 : m.endDate);
883
883
  }
884
884
  );
885
885
  function P(c) {
@@ -903,7 +903,7 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
903
903
  })} - ${ge(c.endDate, "dd MMM, yyyy", {
904
904
  locale: t[(Fe = l.value) == null ? void 0 : Fe.substring(0, 2)] || t.enUS
905
905
  })}`;
906
- }, U = N($(e.value)), j = b(() => e.label), E = () => {
906
+ }, U = V($(e.value)), j = b(() => e.label), E = () => {
907
907
  _.value.closePopover();
908
908
  const { onlySlot: c, ...L } = e;
909
909
  n(A.UPDATE, { ...L, value: o.value });
@@ -915,13 +915,13 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
915
915
  o.value = e.value;
916
916
  }, H = () => {
917
917
  var c, L, y, m;
918
- o.value = e.value, i.value = !1, g.startDate = p((c = e.value) == null ? void 0 : c.startDate), g.endDate = p((L = e.value) == null ? void 0 : L.endDate), g.startTime = S((y = e.value) == null ? void 0 : y.startDate), g.endTime = S((m = e.value) == null ? void 0 : m.endDate);
919
- }, I = (c) => {
918
+ o.value = e.value, i.value = !1, g.startDate = p((c = e.value) == null ? void 0 : c.startDate), g.endDate = p((L = e.value) == null ? void 0 : L.endDate), g.startTime = C((y = e.value) == null ? void 0 : y.startDate), g.endTime = C((m = e.value) == null ? void 0 : m.endDate);
919
+ }, T = (c) => {
920
920
  i.value = !1, o.value = c, g.startDate = p(c.startDate), g.endDate = p(c.endDate), n(A.INPUT, { ...e, value: o.value });
921
- }, D = (c) => {
921
+ }, S = (c) => {
922
922
  c != null && c.startDate && (c != null && c.endDate) && (o.value = c, g.startDate = p(c.startDate), g.endDate = p(c.endDate), n(A.INPUT, { ...e, value: o.value }));
923
923
  }, J = (c) => {
924
- I(c), n(A.INPUT, { ...e, value: o.value });
924
+ T(c), n(A.INPUT, { ...e, value: o.value });
925
925
  }, z = b(
926
926
  () => [
927
927
  {
@@ -937,7 +937,7 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
937
937
  ]
938
938
  ), ee = () => {
939
939
  r.value = !0, o.value = { startDate: void 0, endDate: void 0 }, n(A.INPUT, { ...e, value: o.value });
940
- }, C = (c) => {
940
+ }, B = (c) => {
941
941
  r.value = !1, c.startTime && (g.startTime = c.startTime), c.endTime && (g.endTime = c.endTime);
942
942
  };
943
943
  return ie(
@@ -961,15 +961,15 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
961
961
  adjustedQuickSelectRanges: f,
962
962
  // Events
963
963
  onCancel: H,
964
- onDateSelected: I,
964
+ onDateSelected: T,
965
965
  openFilter: M,
966
966
  clearFilter: q,
967
967
  resetFilter: h,
968
968
  updateFilter: E,
969
969
  onDatePickerRangeError: ee,
970
- onDatePickerRangeFormDateInputUpdate: C,
970
+ onDatePickerRangeFormDateInputUpdate: B,
971
971
  onDateInputSelected: J,
972
- onRangeSelectorInput: D
972
+ onRangeSelectorInput: S
973
973
  };
974
974
  }
975
975
  }), Pl = {
@@ -978,8 +978,8 @@ const Ct = /* @__PURE__ */ le(Tl, [["render", _l], ["__scopeId", "data-v-28d8abb
978
978
  };
979
979
  function El(e, n, l, s, t, o) {
980
980
  var _, r;
981
- const u = V("bento-date-range-picker"), a = V("bento-typography"), i = V("bento-divider"), f = V("bento-button-actions"), p = V("date-range-picker-calendar"), S = V("bento-base-filter");
982
- return F(), w(S, {
981
+ const u = N("bento-date-range-picker"), a = N("bento-typography"), i = N("bento-divider"), f = N("bento-button-actions"), p = N("date-range-picker-calendar"), C = N("bento-base-filter");
982
+ return F(), w(C, {
983
983
  ref: "baseFilter",
984
984
  class: "b-base-filter-date-range-filter",
985
985
  "button-label": e.buttonLabel,
@@ -1000,8 +1000,8 @@ function El(e, n, l, s, t, o) {
1000
1000
  onReset: e.resetFilter,
1001
1001
  onCancel: e.onCancel
1002
1002
  }, {
1003
- default: B(() => {
1004
- var g, P, $, U, j, E, q, h, M, H, I, D, J, z, ee, C, v, d, O, Y, c;
1003
+ default: D(() => {
1004
+ var g, P, $, U, j, E, q, h, M, H, T, S, J, z, ee, B, v, d, O, Y, c;
1005
1005
  return [
1006
1006
  e.onlySlot ? (F(), w(u, {
1007
1007
  key: 0,
@@ -1018,15 +1018,15 @@ function El(e, n, l, s, t, o) {
1018
1018
  min: (M = e.options) == null ? void 0 : M.min,
1019
1019
  max: (H = e.options) == null ? void 0 : H.max,
1020
1020
  "date-form-data": e.formData,
1021
- "show-end-date-on-open": (I = e.options) == null ? void 0 : I.showEndDateOnOpen,
1021
+ "show-end-date-on-open": (T = e.options) == null ? void 0 : T.showEndDateOnOpen,
1022
1022
  onInput: e.onDateInputSelected
1023
1023
  }, null, 8, ["allow-time-input", "value", "first-day-of-week", "is-date-disabled", "number-of-months", "quick-select-ranges", "variant", "disabled", "granularities", "max-range", "min", "max", "date-form-data", "show-end-date-on-open", "onInput"])) : (F(), G("div", Pl, [
1024
1024
  R(p, {
1025
- "allow-time-input": (D = e.options) == null ? void 0 : D.allowTimeInput,
1025
+ "allow-time-input": (S = e.options) == null ? void 0 : S.allowTimeInput,
1026
1026
  "first-day-of-week": (J = e.options) == null ? void 0 : J.firstDayOfWeek,
1027
1027
  "is-date-disabled": (z = e.options) == null ? void 0 : z.isDateDisabled,
1028
1028
  granularities: (ee = e.options) == null ? void 0 : ee.granularities,
1029
- "max-range": (C = e.options) == null ? void 0 : C.maxRange,
1029
+ "max-range": (B = e.options) == null ? void 0 : B.maxRange,
1030
1030
  min: (v = e.options) == null ? void 0 : v.min,
1031
1031
  max: (d = e.options) == null ? void 0 : d.max,
1032
1032
  "number-of-months": (O = e.options) == null ? void 0 : O.numberOfMonths,
@@ -1041,19 +1041,19 @@ function El(e, n, l, s, t, o) {
1041
1041
  onFormDate: e.onDatePickerRangeFormDateInputUpdate,
1042
1042
  onStartDateSelected: n[0] || (n[0] = (L) => e.isSelectingDate = !0)
1043
1043
  }, {
1044
- title: B(() => [
1044
+ title: D(() => [
1045
1045
  R(a, {
1046
1046
  strongest: "",
1047
1047
  variant: "body",
1048
1048
  el: "span"
1049
1049
  }, {
1050
- default: B(() => [
1050
+ default: D(() => [
1051
1051
  X(x(e.label), 1)
1052
1052
  ]),
1053
1053
  _: 1
1054
1054
  })
1055
1055
  ]),
1056
- actions: B(() => [
1056
+ actions: D(() => [
1057
1057
  R(i, { class: "b-date-range-filter__divider" }),
1058
1058
  R(f, {
1059
1059
  class: "b-date-range-filter__actions",
@@ -1140,8 +1140,8 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1140
1140
  },
1141
1141
  emits: ["input", "update"],
1142
1142
  setup(e, { emit: n }) {
1143
- var ee, C;
1144
- const l = Ne(), s = n, t = e, { t: o } = pe({ messages: Dt }), u = N(""), a = te(t, "options"), i = N(t.options.listboxItems ?? []), { cachedSelectedListboxOptions: f, setCachedValues: p, resetCache: S } = Ze(
1143
+ var ee, B;
1144
+ const l = Ve(), s = n, t = e, { t: o } = pe({ messages: Dt }), u = V(""), a = te(t, "options"), i = V(t.options.listboxItems ?? []), { cachedSelectedListboxOptions: f, setCachedValues: p, resetCache: C } = Ze(
1145
1145
  i,
1146
1146
  te(t, "value"),
1147
1147
  te(a.value, "multiple")
@@ -1156,7 +1156,7 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1156
1156
  const $ = Ye(
1157
1157
  u,
1158
1158
  i,
1159
- (C = (ee = t.options) == null ? void 0 : ee.search) == null ? void 0 : C.searchEvent
1159
+ (B = (ee = t.options) == null ? void 0 : ee.search) == null ? void 0 : B.searchEvent
1160
1160
  ), U = b(() => o("noFiltersMatchThisSearch")), j = b(() => t.label), E = b(() => {
1161
1161
  var O, Y, c, L, y;
1162
1162
  const v = !((O = t == null ? void 0 : t.options) != null && O.multiple) && (t == null ? void 0 : t.value), d = ((Y = t == null ? void 0 : t.options) == null ? void 0 : Y.multiple) && Array.isArray(t.value) && t.value.length === 1;
@@ -1202,12 +1202,12 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1202
1202
  }, H = () => {
1203
1203
  var v, d;
1204
1204
  r.value = f.value, (d = (v = t.options) == null ? void 0 : v.onOpen) == null || d.call(v);
1205
- }, I = () => {
1205
+ }, T = () => {
1206
1206
  u.value && (u.value = "");
1207
- }, D = () => {
1207
+ }, S = () => {
1208
1208
  p(_.value), r.value = _.value, M();
1209
1209
  }, J = () => {
1210
- S(), r.value = [], M();
1210
+ C(), r.value = [], M();
1211
1211
  }, z = b(() => {
1212
1212
  var O, Y;
1213
1213
  if (t.value == null || !t.options.multiple)
@@ -1220,13 +1220,13 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1220
1220
  });
1221
1221
  return (v, d) => {
1222
1222
  var O, Y;
1223
- return F(), w(T(Be), {
1223
+ return F(), w(I(Be), {
1224
1224
  "applied-filters-count": z.value,
1225
1225
  "button-label": j.value,
1226
1226
  "button-secondary-label": E.value,
1227
1227
  disabled: e.disabled,
1228
- "disable-apply-button": T(P),
1229
- "disable-secondary-button": T(g),
1228
+ "disable-apply-button": I(P),
1229
+ "disable-secondary-button": I(g),
1230
1230
  "default-value": e.defaultValue,
1231
1231
  label: e.label,
1232
1232
  field: e.field,
@@ -1236,11 +1236,11 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1236
1236
  value: e.value,
1237
1237
  onApply: M,
1238
1238
  onClear: J,
1239
- onReset: D,
1239
+ onReset: S,
1240
1240
  onOpen: H,
1241
- onClose: I
1241
+ onClose: T
1242
1242
  }, {
1243
- default: B(() => {
1243
+ default: D(() => {
1244
1244
  var c, L, y, m, k, K, ae, ue, be, fe, Fe, Ie, Le, oe, We;
1245
1245
  return [
1246
1246
  W("div", Ll, [
@@ -1248,22 +1248,22 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1248
1248
  R(ke, {
1249
1249
  "debounce-time": (y = (L = e.options) == null ? void 0 : L.search) == null ? void 0 : y.debounceTime,
1250
1250
  value: u.value,
1251
- "input-field-aria-label": T(o)("searchFilter", { filter: e.label.toLocaleLowerCase() }),
1251
+ "input-field-aria-label": I(o)("searchFilter", { filter: e.label.toLocaleLowerCase() }),
1252
1252
  onInput: d[0] || (d[0] = (Me) => u.value = Me)
1253
1253
  }, null, 8, ["debounce-time", "value", "input-field-aria-label"])
1254
1254
  ])) : Z("", !0),
1255
1255
  W("div", Ol, [
1256
- R(T(ze))
1256
+ R(I(ze))
1257
1257
  ])
1258
1258
  ]),
1259
- R(T(xt), {
1259
+ R(I(xt), {
1260
1260
  id: q.value,
1261
1261
  "aria-label": e.label,
1262
1262
  class: "b-select-filter-button__wrapper",
1263
1263
  "component-loading": (m = e.options) == null ? void 0 : m.loading,
1264
1264
  "empty-state": (k = e.options) == null ? void 0 : k.emptyState,
1265
1265
  "has-more-items": (ae = (K = e.options) == null ? void 0 : K.lazy) == null ? void 0 : ae.hasMoreItems,
1266
- items: T($),
1266
+ items: I($),
1267
1267
  "is-option-disabled": (ue = e.options) == null ? void 0 : ue.isOptionDisabled,
1268
1268
  "lazy-load-type": (fe = (be = e.options) == null ? void 0 : be.lazy) == null ? void 0 : fe.lazyLoadType,
1269
1269
  loading: (Ie = (Fe = e.options) == null ? void 0 : Fe.lazy) == null ? void 0 : Ie.loading,
@@ -1271,7 +1271,7 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1271
1271
  "static-categories": (oe = e.options) == null ? void 0 : oe.staticCategories,
1272
1272
  "no-results-message": U.value,
1273
1273
  searching: !!u.value,
1274
- "selected-value": T(r),
1274
+ "selected-value": I(r),
1275
1275
  "virtual-scroll": (We = e.options) == null ? void 0 : We.virtualScroll,
1276
1276
  onSelect: h,
1277
1277
  onSpacePressed: h,
@@ -1281,9 +1281,9 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1281
1281
  return (Ue = (_e = e.options) == null ? void 0 : _e.lazy) == null ? void 0 : Ue.showMoreEvent();
1282
1282
  })
1283
1283
  }, Pe({ _: 2 }, [
1284
- ye(T(l), (Me, _e) => ({
1284
+ ye(I(l), (Me, _e) => ({
1285
1285
  name: _e,
1286
- fn: B((Ue) => [
1286
+ fn: D((Ue) => [
1287
1287
  ce(v.$slots, _e, Re(we(Ue)), void 0, !0)
1288
1288
  ])
1289
1289
  }))
@@ -1298,11 +1298,11 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1298
1298
  "en-US": {
1299
1299
  noFiltersMatchThisSearch: "No filters match this search"
1300
1300
  }
1301
- }, Nl = {
1301
+ }, Vl = {
1302
1302
  i18n: { messages: At },
1303
1303
  name: "select-filter-dropdown"
1304
- }, Vl = /* @__PURE__ */ Q({
1305
- ...Nl,
1304
+ }, Nl = /* @__PURE__ */ Q({
1305
+ ...Vl,
1306
1306
  props: {
1307
1307
  /**
1308
1308
  * Disables the filter from being interacted with.
@@ -1355,19 +1355,19 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1355
1355
  },
1356
1356
  emits: ["input", "update"],
1357
1357
  setup(e, { emit: n }) {
1358
- const { t: l } = pe({ messages: At }), s = Ne(), t = n, o = e, { internalFilterValue: u } = he(te(o, "value"), te(o, "defaultValue")), a = te(o, "options"), i = N(o.options.listboxItems);
1358
+ const { t: l } = pe({ messages: At }), s = Ve(), t = n, o = e, { internalFilterValue: u } = he(te(o, "value"), te(o, "defaultValue")), a = te(o, "options"), i = V(o.options.listboxItems);
1359
1359
  ie(a, () => {
1360
1360
  i.value = a.value.listboxItems;
1361
1361
  });
1362
- const f = b(() => l("noFiltersMatchThisSearch")), p = (S) => {
1363
- u.value = S;
1362
+ const f = b(() => l("noFiltersMatchThisSearch")), p = (C) => {
1363
+ u.value = C;
1364
1364
  const { onlySlot: _, ...r } = o;
1365
1365
  t(A.INPUT, { ...r, value: u.value });
1366
1366
  };
1367
- return (S, _) => {
1367
+ return (C, _) => {
1368
1368
  var r, g, P, $, U, j, E;
1369
- return F(), w(T(Gt), {
1370
- value: T(u),
1369
+ return F(), w(I(Gt), {
1370
+ "model-value": I(u),
1371
1371
  items: e.options.listboxItems,
1372
1372
  search: (r = e.options) == null ? void 0 : r.search,
1373
1373
  multiple: (g = e.options) == null ? void 0 : g.multiple,
@@ -1379,19 +1379,19 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1379
1379
  "empty-state": (j = e.options) == null ? void 0 : j.emptyState,
1380
1380
  disabled: e.disabled,
1381
1381
  "enable-value-label-pair": (E = e.options) == null ? void 0 : E.enableValueLabelPair,
1382
- onInput: p,
1382
+ "onUpdate:modelValue": p,
1383
1383
  onOpen: _[0] || (_[0] = () => {
1384
1384
  var q, h;
1385
1385
  return (h = (q = e.options) == null ? void 0 : q.onOpen) == null ? void 0 : h.call(q);
1386
1386
  })
1387
1387
  }, Pe({ _: 2 }, [
1388
- ye(T(s), (q, h) => ({
1388
+ ye(I(s), (q, h) => ({
1389
1389
  name: h,
1390
- fn: B((M) => [
1391
- ce(S.$slots, h, Re(we(M)))
1390
+ fn: D((M) => [
1391
+ ce(C.$slots, h, Re(we(M)))
1392
1392
  ])
1393
1393
  }))
1394
- ]), 1032, ["value", "items", "search", "multiple", "static-categories", "no-results-message", "is-option-disabled", "dynamic-filtering", "component-loading", "empty-state", "disabled", "enable-value-label-pair"]);
1394
+ ]), 1032, ["model-value", "items", "search", "multiple", "static-categories", "no-results-message", "is-option-disabled", "dynamic-filtering", "component-loading", "empty-state", "disabled", "enable-value-label-pair"]);
1395
1395
  };
1396
1396
  }
1397
1397
  }), Te = {
@@ -1451,7 +1451,7 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1451
1451
  props: Te,
1452
1452
  emits: ["input", "update"],
1453
1453
  setup(e, { emit: n }) {
1454
- const l = Ne(), s = n, t = e, o = (a) => s("input", a), u = (a) => s("update", a);
1454
+ const l = Ve(), s = n, t = e, o = (a) => s("input", a), u = (a) => s("update", a);
1455
1455
  return dt(() => {
1456
1456
  var a;
1457
1457
  (a = t == null ? void 0 : t.options) != null && a.messages && Ke(
@@ -1460,7 +1460,7 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1460
1460
  This will be the default behavior in the v2 and "options.messages" will be removed.`,
1461
1461
  "2.0.0"
1462
1462
  );
1463
- }), (a, i) => a.onlySlot ? (F(), w(T(Vl), {
1463
+ }), (a, i) => a.onlySlot ? (F(), w(I(Nl), {
1464
1464
  key: 0,
1465
1465
  disabled: a.disabled,
1466
1466
  "default-value": a.defaultValue,
@@ -1471,13 +1471,13 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1471
1471
  onInput: o,
1472
1472
  onUpdate: u
1473
1473
  }, Pe({ _: 2 }, [
1474
- ye(T(l), (f, p) => ({
1474
+ ye(I(l), (f, p) => ({
1475
1475
  name: p,
1476
- fn: B((S) => [
1477
- ce(a.$slots, p, Re(we(S)))
1476
+ fn: D((C) => [
1477
+ ce(a.$slots, p, Re(we(C)))
1478
1478
  ])
1479
1479
  }))
1480
- ]), 1032, ["disabled", "default-value", "field", "label", "options", "value"])) : (F(), w(T(kl), {
1480
+ ]), 1032, ["disabled", "default-value", "field", "label", "options", "value"])) : (F(), w(I(kl), {
1481
1481
  key: 1,
1482
1482
  disabled: a.disabled,
1483
1483
  "default-value": a.defaultValue,
@@ -1488,10 +1488,10 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1488
1488
  onInput: o,
1489
1489
  onUpdate: u
1490
1490
  }, Pe({ _: 2 }, [
1491
- ye(T(l), (f, p) => ({
1491
+ ye(I(l), (f, p) => ({
1492
1492
  name: p,
1493
- fn: B((S) => [
1494
- ce(a.$slots, p, Re(we(S)))
1493
+ fn: D((C) => [
1494
+ ce(a.$slots, p, Re(we(C)))
1495
1495
  ])
1496
1496
  }))
1497
1497
  ]), 1032, ["disabled", "default-value", "field", "label", "options", "value"]));
@@ -1526,14 +1526,14 @@ const Bt = /* @__PURE__ */ le($l, [["render", El], ["__scopeId", "data-v-49d0606
1526
1526
  }
1527
1527
  });
1528
1528
  function jl(e, n, l, s, t, o) {
1529
- const u = V("bento-avatar"), a = V("bento-select-filter");
1529
+ const u = N("bento-avatar"), a = N("bento-select-filter");
1530
1530
  return F(), w(a, re(e.$props, {
1531
1531
  field: e.field,
1532
1532
  label: e.label,
1533
1533
  onUpdate: e.onUpdate,
1534
1534
  onInput: n[0] || (n[0] = (i) => e.$emit(e.BentoFilterEvent.INPUT, i))
1535
1535
  }), {
1536
- default: B(({ label: i, data: f }) => [
1536
+ default: D(({ label: i, data: f }) => [
1537
1537
  R(u, {
1538
1538
  username: i,
1539
1539
  src: f
@@ -1566,18 +1566,18 @@ const Tt = /* @__PURE__ */ le(Hl, [["render", jl]]), ql = Q({
1566
1566
  var u;
1567
1567
  const l = (a) => {
1568
1568
  n(A.UPDATE, a);
1569
- }, s = N(e.options.listboxItems), t = (u = e.options) != null && u.search ? e.options.search : {
1569
+ }, s = V(e.options.listboxItems), t = (u = e.options) != null && u.search ? e.options.search : {
1570
1570
  debounceTime: 500,
1571
1571
  searchEvent: async (a) => {
1572
- var S, _;
1572
+ var C, _;
1573
1573
  const i = e.options.listboxItems.map((r) => ({
1574
1574
  ...r,
1575
1575
  label: `${r.value} ${r.label}`
1576
1576
  })), f = Ye(
1577
- N(a),
1578
- N(i),
1579
- (_ = (S = e.options) == null ? void 0 : S.search) == null ? void 0 : _.searchEvent,
1580
- N(!1)
1577
+ V(a),
1578
+ V(i),
1579
+ (_ = (C = e.options) == null ? void 0 : C.search) == null ? void 0 : _.searchEvent,
1580
+ V(!1)
1581
1581
  ).value, p = f == null ? void 0 : f.map((r) => ({
1582
1582
  ...r,
1583
1583
  label: r.label.substring(r.value.length + 1)
@@ -1599,7 +1599,7 @@ const Tt = /* @__PURE__ */ le(Hl, [["render", jl]]), ql = Q({
1599
1599
  }
1600
1600
  });
1601
1601
  function Kl(e, n, l, s, t, o) {
1602
- const u = V("listbox-option-tag"), a = V("bento-select-filter");
1602
+ const u = N("listbox-option-tag"), a = N("bento-select-filter");
1603
1603
  return F(), w(a, re(e.$props, {
1604
1604
  field: e.field,
1605
1605
  label: e.label,
@@ -1607,7 +1607,7 @@ function Kl(e, n, l, s, t, o) {
1607
1607
  onUpdate: e.onUpdate,
1608
1608
  onInput: n[0] || (n[0] = (i) => e.$emit(e.BentoFilterEvent.INPUT, i))
1609
1609
  }), {
1610
- default: B((i) => [
1610
+ default: D((i) => [
1611
1611
  R(u, { option: i }, null, 8, ["option"])
1612
1612
  ]),
1613
1613
  _: 1
@@ -1633,7 +1633,7 @@ const It = /* @__PURE__ */ le(ql, [["render", Kl]]), Jl = {
1633
1633
  },
1634
1634
  emits: [A.INPUT, A.UPDATE],
1635
1635
  setup(e, { emit: n }) {
1636
- const l = e, s = n, t = N(l.options.variant), o = N(l.options.listboxItems);
1636
+ const l = e, s = n, t = V(l.options.variant), o = V(l.options.listboxItems);
1637
1637
  ie([() => l.options.variant, () => l.options.listboxItems], () => {
1638
1638
  t.value = l.options.variant, o.value = l.options.listboxItems;
1639
1639
  });
@@ -1650,12 +1650,12 @@ const It = /* @__PURE__ */ le(ql, [["render", Kl]]), Jl = {
1650
1650
  label: f.label,
1651
1651
  options: i.value,
1652
1652
  onUpdate: u,
1653
- onInput: p[0] || (p[0] = (S) => f.$emit(T(A).INPUT, S))
1653
+ onInput: p[0] || (p[0] = (C) => f.$emit(I(A).INPUT, C))
1654
1654
  }), {
1655
- default: B(({ label: S }) => [
1656
- R(T(ve), { el: "span" }, {
1657
- default: B(() => [
1658
- X(x(S), 1)
1655
+ default: D(({ label: C }) => [
1656
+ R(I(ve), { el: "span" }, {
1657
+ default: D(() => [
1658
+ X(x(C), 1)
1659
1659
  ]),
1660
1660
  _: 2
1661
1661
  }, 1024)
@@ -1693,14 +1693,14 @@ const It = /* @__PURE__ */ le(ql, [["render", Kl]]), Jl = {
1693
1693
  }
1694
1694
  });
1695
1695
  function zl(e, n, l, s, t, o) {
1696
- const u = V("bento-payment-method"), a = V("bento-select-filter");
1696
+ const u = N("bento-payment-method"), a = N("bento-select-filter");
1697
1697
  return F(), w(a, re(e.$props, {
1698
1698
  field: e.field,
1699
1699
  label: e.label,
1700
1700
  onUpdate: e.onUpdate,
1701
1701
  onInput: n[0] || (n[0] = (i) => e.$emit(e.BentoFilterEvent.INPUT, i))
1702
1702
  }), {
1703
- default: B(({ value: i, label: f }) => [
1703
+ default: D(({ value: i, label: f }) => [
1704
1704
  R(u, {
1705
1705
  type: i,
1706
1706
  label: f
@@ -1750,7 +1750,7 @@ const $t = /* @__PURE__ */ le(Yl, [["render", zl]]), Wl = Q({
1750
1750
  }
1751
1751
  });
1752
1752
  function Gl(e, n, l, s, t, o) {
1753
- const u = V("listbox-option-tag"), a = V("bento-select-filter");
1753
+ const u = N("listbox-option-tag"), a = N("bento-select-filter");
1754
1754
  return F(), w(a, re(e.$props, {
1755
1755
  field: e.field,
1756
1756
  label: e.label,
@@ -1758,7 +1758,7 @@ function Gl(e, n, l, s, t, o) {
1758
1758
  onUpdate: e.onUpdate,
1759
1759
  onInput: n[0] || (n[0] = (i) => e.$emit(e.BentoFilterEvent.INPUT, i))
1760
1760
  }), {
1761
- default: B(({ label: i, data: f }) => [
1761
+ default: D(({ label: i, data: f }) => [
1762
1762
  R(u, {
1763
1763
  option: { value: i, data: f, label: "" }
1764
1764
  }, null, 8, ["option"])
@@ -1843,7 +1843,7 @@ const Pt = /* @__PURE__ */ le(Wl, [["render", Gl]]), ot = {
1843
1843
  ]), { internalFilterValue: i, isSecondaryButtonDisabled: f, isApplyButtonDisabled: p } = he(
1844
1844
  u,
1845
1845
  o
1846
- ), S = b(() => e.label), _ = b(
1846
+ ), C = b(() => e.label), _ = b(
1847
1847
  () => {
1848
1848
  var E;
1849
1849
  return Ce((E = a.value.find(({ value: q }) => q === u.value)) == null ? void 0 : E.label, 12);
@@ -1851,7 +1851,7 @@ const Pt = /* @__PURE__ */ le(Wl, [["render", Gl]]), ot = {
1851
1851
  ), r = b(() => ({
1852
1852
  "b-boolean-filter--only-slot": e.onlySlot
1853
1853
  }));
1854
- Ve(() => {
1854
+ Ne(() => {
1855
1855
  i.value || (i.value = null);
1856
1856
  });
1857
1857
  const g = (E) => {
@@ -1871,7 +1871,7 @@ const Pt = /* @__PURE__ */ le(Wl, [["render", Gl]]), ot = {
1871
1871
  // Values
1872
1872
  items: a,
1873
1873
  conditionalClasses: r,
1874
- buttonLabel: S,
1874
+ buttonLabel: C,
1875
1875
  buttonSecondaryLabel: _,
1876
1876
  internalFilterValue: i,
1877
1877
  isApplyButtonDisabled: p,
@@ -1891,7 +1891,7 @@ const Pt = /* @__PURE__ */ le(Wl, [["render", Gl]]), ot = {
1891
1891
  });
1892
1892
  function Ql(e, n, l, s, t, o) {
1893
1893
  var i, f;
1894
- const u = V("bento-radio-group"), a = V("bento-base-filter");
1894
+ const u = N("bento-radio-group"), a = N("bento-base-filter");
1895
1895
  return F(), w(a, re(e.$props, {
1896
1896
  value: e.translatedValue,
1897
1897
  "default-value": e.translatedDefaultValue,
@@ -1907,7 +1907,7 @@ function Ql(e, n, l, s, t, o) {
1907
1907
  onOpen: e.openFilter,
1908
1908
  onReset: e.resetFilter
1909
1909
  }), {
1910
- default: B(() => [
1910
+ default: D(() => [
1911
1911
  W("div", {
1912
1912
  class: de(["b-boolean-filter", e.conditionalClasses]),
1913
1913
  onKeydown: n[0] || (n[0] = me((...p) => e.updateFilter && e.updateFilter(...p), ["enter"]))
@@ -1971,20 +1971,20 @@ const Et = /* @__PURE__ */ le(Zl, [["render", Ql], ["__scopeId", "data-v-7772a6d
1971
1971
  },
1972
1972
  emits: [A.INPUT, A.UPDATE],
1973
1973
  setup(e, { emit: n }) {
1974
- const { t: l } = pe({ messages: nt }), s = N(null), { internalFilterValue: t, isSecondaryButtonDisabled: o, isApplyButtonDisabled: u } = he(
1974
+ const { t: l } = pe({ messages: nt }), s = V(null), { internalFilterValue: t, isSecondaryButtonDisabled: o, isApplyButtonDisabled: u } = he(
1975
1975
  te(e, "value"),
1976
1976
  te(e, "defaultValue")
1977
1977
  ), a = b(() => {
1978
- var M, H, I, D, J, z, ee, C;
1978
+ var M, H, T, S, J, z, ee, B;
1979
1979
  if (!((M = e.value) != null && M[0]) && !((H = e.value) != null && H[1]))
1980
1980
  return null;
1981
1981
  let j = "";
1982
- (I = e.value) != null && I[0] ? (D = e.value) != null && D[1] || (j = "≥") : j = "≤";
1983
- const E = (J = e.value) != null && J[0] ? `${Ce(e.value[0], 5)}` : "", q = (z = e.value) != null && z[0] && ((ee = e.value) != null && ee[1]) ? " - " : "", h = (C = e.value) != null && C[1] ? `${Ce(e.value[1], 5)}` : "";
1982
+ (T = e.value) != null && T[0] ? (S = e.value) != null && S[1] || (j = "≥") : j = "≤";
1983
+ const E = (J = e.value) != null && J[0] ? `${Ce(e.value[0], 5)}` : "", q = (z = e.value) != null && z[0] && ((ee = e.value) != null && ee[1]) ? " - " : "", h = (B = e.value) != null && B[1] ? `${Ce(e.value[1], 5)}` : "";
1984
1984
  return `${j}${E}${q}${h}`;
1985
1985
  }), i = b(() => e.label), f = b(() => a.value), p = b(() => ({
1986
1986
  "b-range-filter--only-slot": e.onlySlot
1987
- })), S = () => {
1987
+ })), C = () => {
1988
1988
  t.value = e.value, rt(() => s.value.focusInput());
1989
1989
  }, _ = () => {
1990
1990
  n(A.INPUT, { ...e, value: t.value });
@@ -2014,7 +2014,7 @@ const Et = /* @__PURE__ */ le(Zl, [["render", Ql], ["__scopeId", "data-v-7772a6d
2014
2014
  clearFilter: () => {
2015
2015
  t.value = ["", ""], P();
2016
2016
  },
2017
- openFilter: S,
2017
+ openFilter: C,
2018
2018
  resetFilter: () => n(A.UPDATE, { ...e, value: e.defaultValue }),
2019
2019
  // Translations
2020
2020
  t: l
@@ -2023,7 +2023,7 @@ const Et = /* @__PURE__ */ le(Zl, [["render", Ql], ["__scopeId", "data-v-7772a6d
2023
2023
  });
2024
2024
  function xl(e, n, l, s, t, o) {
2025
2025
  var i, f;
2026
- const u = V("bento-input-field"), a = V("bento-base-filter");
2026
+ const u = N("bento-input-field"), a = N("bento-base-filter");
2027
2027
  return F(), w(a, re(e.$props, {
2028
2028
  "disable-apply-button": e.isApplyButtonDisabled,
2029
2029
  "disable-secondary-button": e.isSecondaryButtonDisabled,
@@ -2037,7 +2037,7 @@ function xl(e, n, l, s, t, o) {
2037
2037
  onOpen: e.openFilter,
2038
2038
  onReset: e.resetFilter
2039
2039
  }), {
2040
- default: B(() => [
2040
+ default: D(() => [
2041
2041
  W("div", {
2042
2042
  class: de(["b-range-filter", e.conditionalClasses]),
2043
2043
  onKeydown: n[0] || (n[0] = me((...p) => e.updateFilter && e.updateFilter(...p), ["enter"]))
@@ -2050,7 +2050,7 @@ function xl(e, n, l, s, t, o) {
2050
2050
  disabled: e.disabled,
2051
2051
  onInput: e.updateFrom
2052
2052
  }, {
2053
- default: B(() => [
2053
+ default: D(() => [
2054
2054
  X(x(e.t("from")), 1)
2055
2055
  ]),
2056
2056
  _: 1
@@ -2063,7 +2063,7 @@ function xl(e, n, l, s, t, o) {
2063
2063
  disabled: e.disabled,
2064
2064
  onInput: e.updateTo
2065
2065
  }, {
2066
- default: B(() => [
2066
+ default: D(() => [
2067
2067
  X(x(e.t("to")), 1)
2068
2068
  ]),
2069
2069
  _: 1
@@ -2104,7 +2104,7 @@ const ea = Q({
2104
2104
  },
2105
2105
  emits: [Ge.CLICK],
2106
2106
  setup(e, { slots: n, emit: l, attrs: s }) {
2107
- const t = b(() => n.default ? mt(n)("default") : null), o = vt({ ariaLabel: t }), u = N(null), a = b(() => {
2107
+ const t = b(() => n.default ? mt(n)("default") : null), o = vt({ ariaLabel: t }), u = V(null), a = b(() => {
2108
2108
  var p;
2109
2109
  return {
2110
2110
  "aria-controls": (p = s["aria-controls"]) == null ? void 0 : p.toString()
@@ -2132,7 +2132,7 @@ const ea = Q({
2132
2132
  class: "b-base-filter-button__counter-wrapper"
2133
2133
  };
2134
2134
  function oa(e, n, l, s, t, o) {
2135
- const u = V("bento-typography"), a = V("chevron-up-icon"), i = V("chevron-down-icon"), f = V("base-button");
2135
+ const u = N("bento-typography"), a = N("chevron-up-icon"), i = N("chevron-down-icon"), f = N("base-button");
2136
2136
  return F(), w(f, {
2137
2137
  ref: "baseFilterButtonRef",
2138
2138
  class: de(["b-base-filter-button", e.conditionalClasses]),
@@ -2142,7 +2142,7 @@ function oa(e, n, l, s, t, o) {
2142
2142
  type: "button",
2143
2143
  onClick: e.onClickButton
2144
2144
  }, Pe({
2145
- default: B(() => [
2145
+ default: D(() => [
2146
2146
  W("div", ta, [
2147
2147
  W("div", la, [
2148
2148
  R(u, {
@@ -2151,7 +2151,7 @@ function oa(e, n, l, s, t, o) {
2151
2151
  stronger: e.bold,
2152
2152
  class: "b-base-filter-button__label"
2153
2153
  }, {
2154
- default: B(() => [
2154
+ default: D(() => [
2155
2155
  ce(e.$slots, "default", {}, void 0, !0)
2156
2156
  ]),
2157
2157
  _: 3
@@ -2164,7 +2164,7 @@ function oa(e, n, l, s, t, o) {
2164
2164
  variant: "body",
2165
2165
  stronger: ""
2166
2166
  }, {
2167
- default: B(() => [
2167
+ default: D(() => [
2168
2168
  X(x(e.amountAppliedValues), 1)
2169
2169
  ]),
2170
2170
  _: 1
@@ -2176,7 +2176,7 @@ function oa(e, n, l, s, t, o) {
2176
2176
  }, [
2177
2177
  e.hasChevron ? {
2178
2178
  name: "iconRight",
2179
- fn: B(() => [
2179
+ fn: D(() => [
2180
2180
  e.isFilterOpen ? (F(), w(a, {
2181
2181
  key: 0,
2182
2182
  "aria-hidden": "true"
@@ -2224,7 +2224,7 @@ const na = /* @__PURE__ */ le(ea, [["render", oa], ["__scopeId", "data-v-af9efc7
2224
2224
  }
2225
2225
  });
2226
2226
  function ia(e, n, l, s, t, o) {
2227
- const u = V("base-filter-button");
2227
+ const u = N("base-filter-button");
2228
2228
  return F(), w(u, {
2229
2229
  class: de(["b-all-filters-modal-button", e.conditionalClasses]),
2230
2230
  "amount-applied-values": e.appliedFiltersCount,
@@ -2232,7 +2232,7 @@ function ia(e, n, l, s, t, o) {
2232
2232
  disabled: e.disabled,
2233
2233
  onClick: e.onClick
2234
2234
  }, {
2235
- default: B(() => [
2235
+ default: D(() => [
2236
2236
  X(x(e.label), 1)
2237
2237
  ]),
2238
2238
  _: 1
@@ -2312,7 +2312,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2312
2312
  BentoDateRangeFilter: Bt,
2313
2313
  BentoInputFilter: gt,
2314
2314
  BentoInputWithDropdownFilter: St,
2315
- BentoModal: Vt,
2315
+ BentoModal: Nt,
2316
2316
  BentoRangeFilter: Lt,
2317
2317
  BentoSearchBar: ke,
2318
2318
  BentoSelectAvatarFilter: Tt,
@@ -2353,8 +2353,8 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2353
2353
  },
2354
2354
  emits: [je.INPUT],
2355
2355
  setup(e, { emit: n }) {
2356
- const l = N(e.value), s = qe("all-filters-modal"), t = N([]), o = N(!1), u = N(0), a = N(null), i = N(""), { t: f, n: p } = pe({ messages: it }), S = Ye(i, te(l, "value")), _ = N({});
2357
- Ve(() => {
2356
+ const l = V(e.value), s = qe("all-filters-modal"), t = V([]), o = V(!1), u = V(0), a = V(null), i = V(""), { t: f, n: p } = pe({ messages: it }), C = Ye(i, te(l, "value")), _ = V({});
2357
+ Ne(() => {
2358
2358
  _.value = [];
2359
2359
  }), ie(
2360
2360
  () => e.value,
@@ -2364,7 +2364,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2364
2364
  );
2365
2365
  const r = (y) => y.sort((m, k) => m.label > k.label ? 1 : k.label > m.label ? -1 : 0), g = b(
2366
2366
  () => r(
2367
- S.value.filter(
2367
+ C.value.filter(
2368
2368
  (y) => {
2369
2369
  var m, k;
2370
2370
  return Array.isArray(y.value) ? ((m = y.value) == null ? void 0 : m.length) && ((k = y.value) == null ? void 0 : k.find((K) => K !== "")) : y.value;
@@ -2373,7 +2373,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2373
2373
  )
2374
2374
  ), P = b(
2375
2375
  () => r(
2376
- S.value.filter(
2376
+ C.value.filter(
2377
2377
  (y) => {
2378
2378
  var m, k;
2379
2379
  return Array.isArray(y.value) ? ((m = y.value) == null ? void 0 : m.length) === 0 || ((k = y.value) == null ? void 0 : k.every((K) => K === "")) : !y.value;
@@ -2382,7 +2382,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2382
2382
  )
2383
2383
  ), $ = b(() => {
2384
2384
  var y;
2385
- return i.value && ((y = S.value) == null ? void 0 : y.length) === 0;
2385
+ return i.value && ((y = C.value) == null ? void 0 : y.length) === 0;
2386
2386
  }), U = b(() => l.value[u.value]), j = () => {
2387
2387
  const y = g.value.length ? g.value[0] : P.value[0], m = l.value.findIndex(
2388
2388
  (k) => k.label === y.label && k.field === y.field
@@ -2449,12 +2449,12 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2449
2449
  }
2450
2450
  ), H = () => {
2451
2451
  o.value ? o.value = !1 : o.value = !0;
2452
- }, I = (y) => {
2452
+ }, T = (y) => {
2453
2453
  var k, K, ae;
2454
2454
  const m = E(l.value).find((ue) => ue.field === y.field).count;
2455
2455
  return typeof y.type == "string" && // Type guard to avoid casting
2456
2456
  y.type.includes("BentoSelect") && ((k = y.options) != null && k.multiple) && m === ((ae = (K = y.options) == null ? void 0 : K.listboxItems) == null ? void 0 : ae.length) ? f("all") : m === null ? null : p(m);
2457
- }, D = (y, m) => {
2457
+ }, S = (y, m) => {
2458
2458
  u.value = l.value.findIndex(
2459
2459
  (k) => k.label === y && k.field === m
2460
2460
  );
@@ -2465,7 +2465,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2465
2465
  }, ee = (y) => {
2466
2466
  const m = l.value.map(({ value: k, ...K }, ae) => ae === u.value ? { value: y.value, ...K } : { value: k, ...K });
2467
2467
  l.value = m;
2468
- }, C = () => {
2468
+ }, B = () => {
2469
2469
  ee({
2470
2470
  field: U.value.field,
2471
2471
  label: U.value.label,
@@ -2514,10 +2514,10 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2514
2514
  searchTerm: i,
2515
2515
  // Methods
2516
2516
  onClickAllFiltersModal: H,
2517
- getFilterCount: I,
2517
+ getFilterCount: T,
2518
2518
  cancel: z,
2519
- selectFilter: D,
2520
- clearFilter: C,
2519
+ selectFilter: S,
2520
+ clearFilter: B,
2521
2521
  updateFilter: ee,
2522
2522
  onSearchbarClear: J,
2523
2523
  onKeydownRight: () => {
@@ -2541,7 +2541,7 @@ const pa = /* @__PURE__ */ le(ua, [["render", ca]]), it = {
2541
2541
  class: "b-all-filters-modal__filters-section"
2542
2542
  }, Fa = ["aria-labelledby"], ga = { class: "b-all-filters-modal__selected-filter-text" }, Sa = { class: "b-all-filters-modal__selected-filter-component" }, Ca = { class: "b-all-filters-modal__clear-button" };
2543
2543
  function Ba(e, n, l, s, t, o) {
2544
- const u = V("sliders-icon"), a = V("filter-bar-button"), i = V("bento-search-bar"), f = V("bento-typography"), p = V("all-filters-modal-button"), S = V("bento-button"), _ = V("bento-modal");
2544
+ const u = N("sliders-icon"), a = N("filter-bar-button"), i = N("bento-search-bar"), f = N("bento-typography"), p = N("all-filters-modal-button"), C = N("bento-button"), _ = N("bento-modal");
2545
2545
  return F(), G("div", fa, [
2546
2546
  R(a, {
2547
2547
  "is-filter-open": e.isModalOpen,
@@ -2549,10 +2549,10 @@ function Ba(e, n, l, s, t, o) {
2549
2549
  "no-applied-state-styles": "",
2550
2550
  onClick: e.onClickAllFiltersModal
2551
2551
  }, {
2552
- iconLeft: B(() => [
2552
+ iconLeft: D(() => [
2553
2553
  R(u, { "aria-hidden": "true" })
2554
2554
  ]),
2555
- default: B(() => [
2555
+ default: D(() => [
2556
2556
  X(x(e.t("allFilters")) + " ", 1)
2557
2557
  ]),
2558
2558
  _: 1
@@ -2567,10 +2567,10 @@ function Ba(e, n, l, s, t, o) {
2567
2567
  "hide-close-button": "",
2568
2568
  onCloseModal: e.cancel
2569
2569
  }, {
2570
- default: B(() => [
2570
+ default: D(() => [
2571
2571
  X(x(e.t("allFilters")), 1)
2572
2572
  ]),
2573
- "content-col-1": B(() => [
2573
+ "content-col-1": D(() => [
2574
2574
  W("div", {
2575
2575
  ref: "allFiltersModalFiltersSection",
2576
2576
  class: "b-all-filters-modal__filters",
@@ -2585,7 +2585,7 @@ function Ba(e, n, l, s, t, o) {
2585
2585
  }, null, 8, ["value", "input-field-aria-label", "onClear"]),
2586
2586
  e.isEmptyResultForSearchFilter ? (F(), G("div", va, [
2587
2587
  R(f, { el: "span" }, {
2588
- default: B(() => [
2588
+ default: D(() => [
2589
2589
  X(x(e.t("noFiltersMatchThisSearch")), 1)
2590
2590
  ]),
2591
2591
  _: 1
@@ -2598,7 +2598,7 @@ function Ba(e, n, l, s, t, o) {
2598
2598
  el: "span",
2599
2599
  variant: "caption"
2600
2600
  }, {
2601
- default: B(() => [
2601
+ default: D(() => [
2602
2602
  X(x(e.t("activeFilters")), 1)
2603
2603
  ]),
2604
2604
  _: 1
@@ -2630,7 +2630,7 @@ function Ba(e, n, l, s, t, o) {
2630
2630
  el: "span",
2631
2631
  variant: "caption"
2632
2632
  }, {
2633
- default: B(() => [
2633
+ default: D(() => [
2634
2634
  X(x(e.t("otherFilters")), 1)
2635
2635
  ]),
2636
2636
  _: 1
@@ -2656,7 +2656,7 @@ function Ba(e, n, l, s, t, o) {
2656
2656
  ])) : Z("", !0)
2657
2657
  ], 544)
2658
2658
  ]),
2659
- "content-col-2": B(() => [
2659
+ "content-col-2": D(() => [
2660
2660
  W("div", {
2661
2661
  class: "b-all-filters-modal__selected-filter-content",
2662
2662
  onKeydown: n[2] || (n[2] = me((...r) => e.onKeydownLeft && e.onKeydownLeft(...r), ["left"]))
@@ -2667,7 +2667,7 @@ function Ba(e, n, l, s, t, o) {
2667
2667
  variant: "title",
2668
2668
  medium: ""
2669
2669
  }, {
2670
- default: B(() => [
2670
+ default: D(() => [
2671
2671
  X(x(e.selectedFilter.label), 1)
2672
2672
  ]),
2673
2673
  _: 1
@@ -2678,7 +2678,7 @@ function Ba(e, n, l, s, t, o) {
2678
2678
  variant: "body",
2679
2679
  wide: ""
2680
2680
  }, {
2681
- default: B(() => [
2681
+ default: D(() => [
2682
2682
  X(x(e.selectedFilter.description), 1)
2683
2683
  ]),
2684
2684
  _: 1
@@ -2699,12 +2699,12 @@ function Ba(e, n, l, s, t, o) {
2699
2699
  }, null, 40, ["field", "label", "options", "value", "default-value", "disabled", "onInput"]))
2700
2700
  ]),
2701
2701
  W("div", Ca, [
2702
- R(S, {
2702
+ R(C, {
2703
2703
  variant: "secondary",
2704
2704
  disabled: e.isClearButtonDisabled,
2705
2705
  onClick: e.clearFilter
2706
2706
  }, {
2707
- default: B(() => [
2707
+ default: D(() => [
2708
2708
  X(x(e.t("clear")), 1)
2709
2709
  ]),
2710
2710
  _: 1
@@ -2787,38 +2787,38 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2787
2787
  Ae.UPDATE
2788
2788
  ],
2789
2789
  setup(e, { expose: n, emit: l }) {
2790
- const s = e, t = l, { t: o } = pe({ messages: Ut }), u = N(null), a = b(
2790
+ const s = e, t = l, { t: o } = pe({ messages: Ut }), u = V(null), a = b(
2791
2791
  () => {
2792
- var C, v;
2793
- return (v = ((C = s.config) == null ? void 0 : C.length) > 0 ? s.config : s.value) == null ? void 0 : v.map((d) => {
2792
+ var B, v;
2793
+ return (v = ((B = s.config) == null ? void 0 : B.length) > 0 ? s.config : s.value) == null ? void 0 : v.map((d) => {
2794
2794
  var Y;
2795
2795
  let O = (Y = s.filterValues.find(({ field: c }) => c === d.field)) == null ? void 0 : Y.value;
2796
2796
  return s.filterValuesObject && d.field in s.filterValuesObject && (O = s.filterValuesObject[d.field]), O === void 0 && (O = (d == null ? void 0 : d.value) === void 0 && (d == null ? void 0 : d.defaultValue) !== void 0 ? d == null ? void 0 : d.defaultValue : d == null ? void 0 : d.value), { ...d, value: O !== void 0 ? O : d == null ? void 0 : d.value };
2797
2797
  });
2798
2798
  }
2799
- ), { addToast: i } = kt(), { screenLayoutComponent: f, showSearchbarInsideContainer: p, isOneLineLayout: S } = bl(
2799
+ ), { addToast: i } = kt(), { screenLayoutComponent: f, showSearchbarInsideContainer: p, isOneLineLayout: C } = bl(
2800
2800
  u,
2801
2801
  te(s, "containerSizeLayout")
2802
2802
  ), _ = b(() => ({
2803
- "b-filter-bar__fixed-scroller": S.value,
2804
- "b-filter-bar__container": !S.value
2803
+ "b-filter-bar__fixed-scroller": C.value,
2804
+ "b-filter-bar__container": !C.value
2805
2805
  // Multi-line
2806
2806
  })), r = b(() => ({
2807
- "b-filter-bar__scroller-content": S.value,
2808
- "b-filter-bar__filters": !S.value
2807
+ "b-filter-bar__scroller-content": C.value,
2808
+ "b-filter-bar__filters": !C.value
2809
2809
  // Multi-line
2810
2810
  })), g = b(() => {
2811
- var C;
2812
- return ((C = s.search) == null ? void 0 : C.inputFieldAriaLabel) || o("searchBar");
2811
+ var B;
2812
+ return ((B = s.search) == null ? void 0 : B.inputFieldAriaLabel) || o("searchBar");
2813
2813
  }), P = b(() => {
2814
2814
  if (!s.search)
2815
2815
  return;
2816
- const { debounceTime: C, disabled: v, inputFieldAriaLabel: d, hint: O, placeholder: Y } = s.search;
2817
- return { debounceTime: C, disabled: v, inputFieldAriaLabel: d, hint: O, placeholder: Y };
2816
+ const { debounceTime: B, disabled: v, inputFieldAriaLabel: d, hint: O, placeholder: Y } = s.search;
2817
+ return { debounceTime: B, disabled: v, inputFieldAriaLabel: d, hint: O, placeholder: Y };
2818
2818
  }), $ = b(() => a.value.some(
2819
2819
  ({ visible: v }) => v != null
2820
2820
  ) ? a.value.some(({ visible: v }) => !v) : !1), U = b(
2821
- () => a.value.filter(({ defaultValue: C }) => C !== void 0)
2821
+ () => a.value.filter(({ defaultValue: B }) => B !== void 0)
2822
2822
  ), j = b(() => a.value.some(
2823
2823
  ({ visible: v }) => v != null
2824
2824
  ) ? a.value.filter(
@@ -2832,34 +2832,34 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2832
2832
  v === void 0 || s.showAppliedHiddenFilters && d != null
2833
2833
  )
2834
2834
  )), E = b(() => s.searchTerm != null), q = b(
2835
- () => a.value.filter(({ defaultValue: C }) => C == null).some(({ value: C }) => C != null)
2836
- ), h = b(() => U.value.length === 0 && q.value), M = b(() => U.value.length === 0 ? !1 : !a.value.filter(({ defaultValue: v }) => v !== void 0 || v !== null).every(({ value: v, defaultValue: d }) => JSON.stringify(v) === JSON.stringify(d)) || q.value), H = (C) => {
2837
- t(Se.INPUT, C), t(
2835
+ () => a.value.filter(({ defaultValue: B }) => B == null).some(({ value: B }) => B != null)
2836
+ ), h = b(() => U.value.length === 0 && q.value), M = b(() => U.value.length === 0 ? !1 : !a.value.filter(({ defaultValue: v }) => v !== void 0 || v !== null).every(({ value: v, defaultValue: d }) => JSON.stringify(v) === JSON.stringify(d)) || q.value), H = (B) => {
2837
+ t(Se.INPUT, B), t(
2838
2838
  Se.UPDATE_FILTER_VALUES_ARRAY,
2839
- C == null ? void 0 : C.filter(({ value: v }) => v !== null || v !== void 0).map(({ field: v, value: d }) => ({ field: v, value: d }))
2839
+ B == null ? void 0 : B.filter(({ value: v }) => v !== null || v !== void 0).map(({ field: v, value: d }) => ({ field: v, value: d }))
2840
2840
  ), t(
2841
2841
  Se.UPDATE_FILTER_VALUES_OBJECT,
2842
- C == null ? void 0 : C.filter(({ value: v }) => v !== null || v !== void 0).reduce((v, d) => (v[d.field] = d.value, v), {})
2842
+ B == null ? void 0 : B.filter(({ value: v }) => v !== null || v !== void 0).reduce((v, d) => (v[d.field] = d.value, v), {})
2843
2843
  );
2844
- }, I = (C) => {
2844
+ }, T = (B) => {
2845
2845
  const v = a.value.findIndex(
2846
- (O) => O.field === C.field
2846
+ (O) => O.field === B.field
2847
2847
  ), d = a.value.slice();
2848
- d[v].value = C.value, H(d);
2849
- }, D = () => {
2850
- const C = a.value.slice(), v = a.value.map(({ value: d, ...O }) => ({
2848
+ d[v].value = B.value, H(d);
2849
+ }, S = () => {
2850
+ const B = a.value.slice(), v = a.value.map(({ value: d, ...O }) => ({
2851
2851
  ...O,
2852
2852
  value: void 0
2853
2853
  }));
2854
2854
  i({
2855
2855
  text: o("filtersHaveBeenCleared"),
2856
2856
  action: {
2857
- handler: () => H(C),
2857
+ handler: () => H(B),
2858
2858
  text: o("undo")
2859
2859
  }
2860
2860
  }), H(v);
2861
2861
  }, J = () => {
2862
- const C = a.value.slice(), v = a.value.map(({ defaultValue: d, ...O }) => ({
2862
+ const B = a.value.slice(), v = a.value.map(({ defaultValue: d, ...O }) => ({
2863
2863
  ...O,
2864
2864
  defaultValue: d,
2865
2865
  value: d
@@ -2867,41 +2867,41 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2867
2867
  i({
2868
2868
  text: o("filtersHaveBeenReset"),
2869
2869
  action: {
2870
- handler: () => H(C),
2870
+ handler: () => H(B),
2871
2871
  text: o("undo")
2872
2872
  }
2873
2873
  }), H(v);
2874
- }, z = (C) => {
2875
- t(Ae.INPUT, C), t(Ae.UPDATE, C);
2874
+ }, z = (B) => {
2875
+ t(Ae.INPUT, B), t(Ae.UPDATE, B);
2876
2876
  }, ee = () => {
2877
2877
  t(Ae.CLEAR);
2878
2878
  };
2879
- return n({ isClearAllVisible: h, clearAllFilters: D, isResetAllVisible: M, resetAllFilters: J }), (C, v) => (F(), G("div", {
2879
+ return n({ isClearAllVisible: h, clearAllFilters: S, isResetAllVisible: M, resetAllFilters: J }), (B, v) => (F(), G("div", {
2880
2880
  ref_key: "filterBarRef",
2881
2881
  ref: u,
2882
2882
  class: "b-filter-bar"
2883
2883
  }, [
2884
- !T(p) && E.value ? (F(), G("div", Aa, [
2884
+ !I(p) && E.value ? (F(), G("div", Aa, [
2885
2885
  R(ke, re({ class: "b-filter-bar__search-bar" }, P.value, {
2886
2886
  "input-field-aria-label": g.value,
2887
- value: C.searchTerm,
2887
+ value: B.searchTerm,
2888
2888
  condensed: "",
2889
2889
  onInput: z,
2890
2890
  onClear: ee
2891
2891
  }), null, 16, ["input-field-aria-label", "value"])
2892
2892
  ])) : Z("", !0),
2893
- (F(), w(Oe(T(f)), {
2893
+ (F(), w(Oe(I(f)), {
2894
2894
  class: de(_.value),
2895
2895
  condensed: ""
2896
2896
  }, {
2897
- default: B(() => [
2897
+ default: D(() => [
2898
2898
  W("div", {
2899
2899
  class: de(r.value)
2900
2900
  }, [
2901
- T(p) && E.value ? (F(), G("div", Ta, [
2901
+ I(p) && E.value ? (F(), G("div", Ta, [
2902
2902
  R(ke, re({ class: "b-filter-bar__search-bar" }, P.value, {
2903
2903
  "input-field-aria-label": g.value,
2904
- value: C.searchTerm,
2904
+ value: B.searchTerm,
2905
2905
  condensed: "",
2906
2906
  onInput: z,
2907
2907
  onClear: ee
@@ -2915,7 +2915,7 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2915
2915
  options: d.options,
2916
2916
  value: d.value,
2917
2917
  "default-value": d.defaultValue,
2918
- onUpdate: I
2918
+ onUpdate: T
2919
2919
  }, null, 40, ["field", "label", "disabled", "options", "value", "default-value"]))), 128)) : Z("", !0),
2920
2920
  (F(!0), G($e, null, ye(j.value, (d) => (F(), w(Oe(d.type), {
2921
2921
  key: d.field,
@@ -2924,7 +2924,7 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2924
2924
  disabled: d == null ? void 0 : d.disabled,
2925
2925
  options: d.options,
2926
2926
  value: d.value,
2927
- onUpdate: I
2927
+ onUpdate: T
2928
2928
  }, null, 40, ["field", "label", "disabled", "options", "value"]))), 128)),
2929
2929
  $.value ? (F(), w(Da, {
2930
2930
  key: 2,
@@ -2932,29 +2932,29 @@ const Da = /* @__PURE__ */ le(ba, [["render", Ba], ["__scopeId", "data-v-cf3baf8
2932
2932
  value: a.value,
2933
2933
  onInput: H
2934
2934
  }, null, 8, ["value"])) : Z("", !0),
2935
- h.value ? (F(), w(T(Ee), {
2935
+ h.value ? (F(), w(I(Ee), {
2936
2936
  key: 3,
2937
2937
  class: "b-filter-bar__clear-all",
2938
- onClick: D
2938
+ onClick: S
2939
2939
  }, {
2940
- iconLeft: B(() => [
2941
- R(T(Xe), { "aria-hidden": "true" })
2940
+ iconLeft: D(() => [
2941
+ R(I(Xe), { "aria-hidden": "true" })
2942
2942
  ]),
2943
- default: B(() => [
2944
- X(x(T(o)("clearFilters")) + " ", 1)
2943
+ default: D(() => [
2944
+ X(x(I(o)("clearFilters")) + " ", 1)
2945
2945
  ]),
2946
2946
  _: 1
2947
2947
  })) : Z("", !0),
2948
- M.value ? (F(), w(T(Ee), {
2948
+ M.value ? (F(), w(I(Ee), {
2949
2949
  key: 4,
2950
2950
  class: "b-filter-bar__reset-all",
2951
2951
  onClick: J
2952
2952
  }, {
2953
- iconLeft: B(() => [
2954
- R(T(Xe), { "aria-hidden": "true" })
2953
+ iconLeft: D(() => [
2954
+ R(I(Xe), { "aria-hidden": "true" })
2955
2955
  ]),
2956
- default: B(() => [
2957
- X(x(T(o)("resetFilters")) + " ", 1)
2956
+ default: D(() => [
2957
+ X(x(I(o)("resetFilters")) + " ", 1)
2958
2958
  ]),
2959
2959
  _: 1
2960
2960
  })) : Z("", !0)
@@ -2972,4 +2972,4 @@ export {
2972
2972
  Se as c,
2973
2973
  se as d
2974
2974
  };
2975
- //# sourceMappingURL=filter-bar.JXmlFnHV.js.map
2975
+ //# sourceMappingURL=filter-bar.CmF92iAr.js.map