@revolugo/elements 6.7.3 → 6.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/index.es.min.js +2622 -2554
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.D70RTc43.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.B8BqSfrk.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DeYwgC-X.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.qOkb7bF4.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DS8JMdFX.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.EmC1mHXe.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.OgMINhMq.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.lJaJEdFg.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.m08SYP86.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.T6fWvVKX.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.M46KdeWM.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.Cd9RL-Se.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.x9SgSKRO.min.js +24 -0
  21. package/dist/revolugo.cancellationpolicieslist.CXEi_O_B.min.js +24 -0
  22. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.kh5sahhd.min.js} +28 -47
  23. package/dist/revolugo.case-transformers.DfCc1sKY.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.Cz_EExR3.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.ZqPrv4K6.min.js} +652 -903
  27. package/dist/revolugo.creditcardpayment.C47xZXR4.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.olC2sHv8.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.D44ks2e0.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.C2gt2Wvi.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.Da2NhlAu.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.C_5QvJAn.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.ksNwOfBf.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.BIb9TBpX.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.BVg0Q886.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BoCEWA7i.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.DflBNZtA.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.B954A8ZU.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.DkUtJZ29.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.VpDpWMAm.min.js} +1158 -1176
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.CrrP-Mjf.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.BD26Zl70.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.599v6DtH.min.js +8394 -0
  45. package/dist/revolugo.hoteloffersmap.O73rRIrY.min.js +24 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.BSuaPamT.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.uFcA-Q8V.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.047wvmlm.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.hNh95LPc.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.CIga3epB.min.js} +40 -39
  52. package/dist/revolugo.hotelroomoffersearchmenu.BqPoCOJV.min.js +25 -0
  53. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.SXEmMWNu.min.js} +29 -49
  54. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.C29cidjz.min.js} +71 -91
  55. package/dist/revolugo.hotelroomoffersview.gzfKsSHa.min.js +24 -0
  56. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.BaBMFwcZ.min.js} +6 -6
  57. package/dist/revolugo.index.MUWumuM5.min.js +1037 -0
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.hcj2tBQa.min.js} +12976 -13227
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.CTF21wTY.min.js} +15 -15
  60. package/dist/revolugo.langpickerbtn.DMWudtGn.min.js +24 -0
  61. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.E0CLTwCX.min.js} +53 -71
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.mEwvDkCr.min.js} +45 -44
  64. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.BcktaxEc.min.js} +94 -114
  65. package/dist/revolugo.prebookform.Bi-sWZL0.min.js +24 -0
  66. package/dist/revolugo.roominglisteditor.BgDPCfkP.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.jO9FT_rG.min.js} +82 -101
  68. package/dist/revolugo.rounded.DGGd6U47.min.js +68 -0
  69. package/dist/revolugo.ssrboot.RImRxJU9.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js} +110 -108
  71. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.Bf8tOgI4.min.js} +90 -108
  72. package/dist/revolugo.termsandconditions.DrrQwLEt.min.js +23 -0
  73. package/dist/revolugo.use-breakpoint-service.C55UqJ8N.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.X5OrrUPl.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BeCXlcev.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.DSYh8Plf.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.DrUjDHZJ.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.-WD79m_3.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.C40-fld0.min.js} +26 -25
  80. package/dist/revolugo.vdivider.C8qKKweh.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.CPfBybl9.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bxkhj0tA.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.DkrPzK9V.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.Ra8-PR0S.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.hjMTQUm_.min.js} +90 -88
  86. package/dist/revolugo.vmenu.Df9qQOg5.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.D58BjYst.min.js} +133 -132
  88. package/dist/revolugo.vsheet.Be5_uKvN.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.DLz_sBeT.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.DmI3K8dZ.min.js} +46 -44
  91. package/dist/revolugo.vspacer.D1ff4Ue6.min.js +7 -0
  92. package/dist/revolugo.vtextarea.CE2P777C.min.js +2102 -0
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.B3H-uARB.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.ZaD9QMMg.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CiaW90fk.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.BjNUE921.min.js} +41 -41
  97. package/dist/revolugo.watch-list.BLmFRUgU.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.D7s9Wt1u.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
  110. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  111. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  112. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  113. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,14 +1,15 @@
1
- import { u as be, m as Ee, V as xe } from "./revolugo.vselect.C8g3avwV.min.js";
2
- import { m as Me, V as le } from "./revolugo.vtextfield.DPMmhQ6a.min.js";
3
- import { e as Ie, u as Le, f as _e } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
4
- import { p as se, _ as A, J as C, ay as Y, a6 as Ae, Y as q, aJ as Oe, a as Pe, z as Re, r as z, S as Z, V as G, a5 as Te, c as i, C as P, aK as ae, aB as ne, am as Ke, X as ue, U as De, Q as H, aL as Ue, aM as Ne, ao as je } from "./revolugo.rounded.u4maswiM.min.js";
5
- import { e as Be } from "./revolugo.vinput.8rjbvXX2.min.js";
6
- import { f as Ye, V as oe, a as ze, b as Ge } from "./revolugo.index.Ds7GPsGI.min.js";
7
- import { u as He, V as Je, a as re } from "./revolugo.vlist.DCvg08Wu.min.js";
8
- import { V as Qe } from "./revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js";
9
- import { V as We } from "./revolugo.vcheckboxbtn.DxJuZdU5.min.js";
10
- import { V as Xe } from "./revolugo.btag.0ugEj-2W.min.js";
11
- function Ce(e) {
1
+ import { u as Ce, m as Ee, a as xe } from "./revolugo.vselect.D58BjYst.min.js";
2
+ import { c as Me, V as le } from "./revolugo.vtextfield.B3H-uARB.min.js";
3
+ import { d as Ie, u as _e, p as Le } from "./revolugo.webcomponentwrapper.D7s9Wt1u.min.js";
4
+ import { _ as ie, a5 as A, D as F, J as G, a8 as Ae, a3 as q, aU as Oe, Z as Re, ac as Pe, C as Y, a2 as X, M as z, a6 as Te, a as s, y as R, bG as ae, bH as ne, bI as De, R as ue, bo as Ke, F as H, bJ as Ue, bK as Ne, f as je } from "./revolugo.index.wc.hcj2tBQa.min.js";
5
+ import { b as Be } from "./revolugo.vinput.DkrPzK9V.min.js";
6
+ import { f as Ge } from "./revolugo.forwardrefs.-bfQnFea.min.js";
7
+ import { u as Ye, b as ze, V as oe } from "./revolugo.vlist.hjMTQUm_.min.js";
8
+ import { V as re, h as He, a as Je } from "./revolugo.index.MUWumuM5.min.js";
9
+ import { V as Qe } from "./revolugo.vmenu.Df9qQOg5.min.js";
10
+ import { a as We } from "./revolugo.vcheckboxbtn.-WD79m_3.min.js";
11
+ import { V as Ze } from "./revolugo.btag.Cd9RL-Se.min.js";
12
+ function Fe(e) {
12
13
  try {
13
14
  if (typeof document < "u") {
14
15
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -28,7 +29,7 @@ function Ce(e) {
28
29
  console.error("[revolugo-elements] ", r);
29
30
  }
30
31
  }
31
- const $e = (e, r, l) => e == null || r == null ? -1 : e.toString().toLocaleLowerCase().indexOf(r.toString().toLocaleLowerCase()), Ze = se({
32
+ const $e = (e, r, l) => e == null || r == null ? -1 : e.toString().toLocaleLowerCase().indexOf(r.toString().toLocaleLowerCase()), Xe = ie({
32
33
  customFilter: Function,
33
34
  customKeyFilter: Object,
34
35
  filterKeys: [Array, String],
@@ -42,58 +43,58 @@ function qe(e, r, l) {
42
43
  var x;
43
44
  const g = [], m = (l == null ? void 0 : l.default) ?? $e, y = l != null && l.filterKeys ? q(l.filterKeys) : !1, V = Object.keys((l == null ? void 0 : l.customKeyFilter) ?? {}).length;
44
45
  if (!(e != null && e.length)) return g;
45
- e: for (let p = 0; p < e.length; p++) {
46
- const [F, M = F] = q(e[p]), s = {}, u = {};
47
- let S = -1;
46
+ e: for (let S = 0; S < e.length; S++) {
47
+ const [w, M = w] = q(e[S]), i = {}, u = {};
48
+ let p = -1;
48
49
  if ((r || V > 0) && !(l != null && l.noFilter)) {
49
- if (typeof F == "object") {
50
- const R = y || Object.keys(M);
51
- for (const b of R) {
52
- const D = Oe(M, b), T = (x = l == null ? void 0 : l.customKeyFilter) == null ? void 0 : x[b];
53
- if (S = T ? T(D, r, F) : m(D, r, F), S !== -1 && S !== !1)
54
- T ? s[b] = S : u[b] = S;
50
+ if (typeof w == "object") {
51
+ const P = y || Object.keys(M);
52
+ for (const C of P) {
53
+ const K = Oe(M, C), T = (x = l == null ? void 0 : l.customKeyFilter) == null ? void 0 : x[C];
54
+ if (p = T ? T(K, r, w) : m(K, r, w), p !== -1 && p !== !1)
55
+ T ? i[C] = p : u[C] = p;
55
56
  else if ((l == null ? void 0 : l.filterMode) === "every")
56
57
  continue e;
57
58
  }
58
59
  } else
59
- S = m(F, r, F), S !== -1 && S !== !1 && (u.title = S);
60
- const I = Object.keys(u).length, L = Object.keys(s).length;
61
- if (!I && !L || (l == null ? void 0 : l.filterMode) === "union" && L !== V && !I || (l == null ? void 0 : l.filterMode) === "intersection" && (L !== V || !I)) continue;
60
+ p = m(w, r, w), p !== -1 && p !== !1 && (u.title = p);
61
+ const I = Object.keys(u).length, _ = Object.keys(i).length;
62
+ if (!I && !_ || (l == null ? void 0 : l.filterMode) === "union" && _ !== V && !I || (l == null ? void 0 : l.filterMode) === "intersection" && (_ !== V || !I)) continue;
62
63
  }
63
64
  g.push({
64
- index: p,
65
+ index: S,
65
66
  matches: {
66
67
  ...u,
67
- ...s
68
+ ...i
68
69
  }
69
70
  });
70
71
  }
71
72
  return g;
72
73
  }
73
74
  function et(e, r, l, g) {
74
- const m = A([]), y = A(/* @__PURE__ */ new Map()), V = C(() => Y(r));
75
+ const m = A([]), y = A(/* @__PURE__ */ new Map()), V = F(() => G(r));
75
76
  Ae(() => {
76
- const p = typeof l == "function" ? l() : Y(l), F = typeof p != "string" && typeof p != "number" ? "" : String(p), M = qe(V.value, F, {
77
+ const S = typeof l == "function" ? l() : G(l), w = typeof S != "string" && typeof S != "number" ? "" : String(S), M = qe(V.value, w, {
77
78
  customKeyFilter: {
78
79
  ...e.customKeyFilter,
79
- ...Y(g == null ? void 0 : g.customKeyFilter)
80
+ ...G(g == null ? void 0 : g.customKeyFilter)
80
81
  },
81
82
  default: e.customFilter,
82
83
  filterKeys: e.filterKeys,
83
84
  filterMode: e.filterMode,
84
85
  noFilter: e.noFilter
85
- }), s = Y(r), u = [], S = /* @__PURE__ */ new Map();
86
+ }), i = G(r), u = [], p = /* @__PURE__ */ new Map();
86
87
  M.forEach((I) => {
87
88
  let {
88
- index: L,
89
- matches: R
89
+ index: _,
90
+ matches: P
90
91
  } = I;
91
- const b = s[L];
92
- u.push(b), S.set(b.value, R);
93
- }), m.value = u, y.value = S;
92
+ const C = i[_];
93
+ u.push(C), p.set(C.value, P);
94
+ }), m.value = u, y.value = p;
94
95
  });
95
- function x(p) {
96
- return y.value.get(p.value);
96
+ function x(S) {
97
+ return y.value.get(S.value);
97
98
  }
98
99
  return {
99
100
  filteredItems: m,
@@ -104,21 +105,21 @@ function et(e, r, l, g) {
104
105
  function tt(e, r, l) {
105
106
  if (r == null) return e;
106
107
  if (Array.isArray(r)) throw new Error("Multiple matches is not implemented");
107
- return typeof r == "number" && ~r ? i(H, null, [i("span", {
108
+ return typeof r == "number" && ~r ? s(H, null, [s("span", {
108
109
  class: "v-autocomplete__unmask"
109
- }, [e.substr(0, r)]), i("span", {
110
+ }, [e.substr(0, r)]), s("span", {
110
111
  class: "v-autocomplete__mask"
111
- }, [e.substr(r, l)]), i("span", {
112
+ }, [e.substr(r, l)]), s("span", {
112
113
  class: "v-autocomplete__unmask"
113
114
  }, [e.substr(r + l)])]) : e;
114
115
  }
115
- const lt = se({
116
+ const lt = ie({
116
117
  autoSelectFirst: {
117
118
  type: [Boolean, String]
118
119
  },
119
120
  clearOnSelect: Boolean,
120
121
  search: String,
121
- ...Ze({
122
+ ...Xe({
122
123
  filterKeys: ["title"]
123
124
  }),
124
125
  ...Ee(),
@@ -126,10 +127,10 @@ const lt = se({
126
127
  modelValue: null,
127
128
  role: "combobox"
128
129
  }), ["validationValue", "dirty", "appendInnerIcon"]),
129
- ..._e({
130
+ ...Le({
130
131
  transition: !1
131
132
  })
132
- }, "VAutocomplete"), dt = Pe()({
133
+ }, "VAutocomplete"), mt = Re()({
133
134
  name: "VAutocomplete",
134
135
  props: lt(),
135
136
  emits: {
@@ -144,40 +145,40 @@ const lt = se({
144
145
  } = r;
145
146
  const {
146
147
  t: g
147
- } = Re(), m = z(), y = A(!1), V = A(!0), x = A(!1), p = z(), F = z(), M = Z(e, "menu"), s = C({
148
+ } = Pe(), m = Y(), y = A(!1), V = A(!0), x = A(!1), S = Y(), w = Y(), M = X(e, "menu"), i = F({
148
149
  get: () => M.value,
149
150
  set: (t) => {
150
151
  var a;
151
- M.value && !t && ((a = p.value) != null && a.ΨopenChildren.size) || (M.value = t);
152
+ M.value && !t && ((a = S.value) != null && a.ΨopenChildren.size) || (M.value = t);
152
153
  }
153
- }), u = A(-1), S = C(() => {
154
+ }), u = A(-1), p = F(() => {
154
155
  var t;
155
156
  return (t = m.value) == null ? void 0 : t.color;
156
- }), I = C(() => s.value ? e.closeText : e.openText), {
157
- items: L,
158
- transformIn: R,
159
- transformOut: b
160
- } = He(e), {
161
- textColorClasses: D,
157
+ }), I = F(() => i.value ? e.closeText : e.openText), {
158
+ items: _,
159
+ transformIn: P,
160
+ transformOut: C
161
+ } = Ye(e), {
162
+ textColorClasses: K,
162
163
  textColorStyles: T
163
- } = Ie(S), v = Z(e, "search", ""), o = Z(e, "modelValue", [], (t) => R(t === null ? [null] : q(t)), (t) => {
164
- const a = b(t);
164
+ } = Ie(p), v = X(e, "search", ""), o = X(e, "modelValue", [], (t) => P(t === null ? [null] : q(t)), (t) => {
165
+ const a = C(t);
165
166
  return e.multiple ? a : a[0] ?? null;
166
- }), ie = C(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : o.value.length), U = Be(e), {
167
+ }), se = F(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : o.value.length), U = Be(e), {
167
168
  filteredItems: J,
168
169
  getMatches: ce
169
- } = et(e, L, () => V.value ? "" : v.value), E = C(() => e.hideSelected ? J.value.filter((t) => !o.value.some((a) => a.value === t.value)) : J.value), N = C(() => !!(e.chips || l.chip)), K = C(() => N.value || !!l.selection), fe = C(() => o.value.map((t) => t.props.value)), Q = C(() => {
170
+ } = et(e, _, () => V.value ? "" : v.value), E = F(() => e.hideSelected ? J.value.filter((t) => !o.value.some((a) => a.value === t.value)) : J.value), N = F(() => !!(e.chips || l.chip)), D = F(() => N.value || !!l.selection), fe = F(() => o.value.map((t) => t.props.value)), Q = F(() => {
170
171
  var a;
171
172
  return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && v.value === ((a = E.value[0]) == null ? void 0 : a.title)) && E.value.length > 0 && !V.value && !x.value;
172
- }), W = C(() => e.hideNoData && !E.value.length || U.isReadonly.value || U.isDisabled.value), X = z(), ve = be(X, m);
173
+ }), W = F(() => e.hideNoData && !E.value.length || U.isReadonly.value || U.isDisabled.value), Z = Y(), ve = Ce(Z, m);
173
174
  function de(t) {
174
- e.openOnClear && (s.value = !0), v.value = "";
175
+ e.openOnClear && (i.value = !0), v.value = "";
175
176
  }
176
177
  function me() {
177
- W.value || (s.value = !0);
178
+ W.value || (i.value = !0);
178
179
  }
179
180
  function he(t) {
180
- W.value || (y.value && (t.preventDefault(), t.stopPropagation()), s.value = !s.value);
181
+ W.value || (y.value && (t.preventDefault(), t.stopPropagation()), i.value = !i.value);
181
182
  }
182
183
  function ge(t) {
183
184
  var a;
@@ -187,17 +188,17 @@ const lt = se({
187
188
  var n, c, k;
188
189
  if (U.isReadonly.value) return;
189
190
  const a = m.value.selectionStart, f = o.value.length;
190
- if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (s.value = !0), ["Escape"].includes(t.key) && (s.value = !1), Q.value && ["Enter", "Tab"].includes(t.key) && !o.value.some((d) => {
191
+ if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (i.value = !0), ["Escape"].includes(t.key) && (i.value = !1), Q.value && ["Enter", "Tab"].includes(t.key) && !o.value.some((d) => {
191
192
  let {
192
193
  value: h
193
194
  } = d;
194
195
  return h === E.value[0].value;
195
- }) && _(E.value[0]), t.key === "ArrowDown" && Q.value && ((n = X.value) == null || n.focus("next")), ["Backspace", "Delete"].includes(t.key)) {
196
- if (!e.multiple && K.value && o.value.length > 0 && !v.value) return _(o.value[0], !1);
196
+ }) && L(E.value[0]), t.key === "ArrowDown" && Q.value && ((n = Z.value) == null || n.focus("next")), ["Backspace", "Delete"].includes(t.key)) {
197
+ if (!e.multiple && D.value && o.value.length > 0 && !v.value) return L(o.value[0], !1);
197
198
  if (~u.value) {
198
199
  t.preventDefault();
199
200
  const d = u.value;
200
- _(o.value[u.value], !1), u.value = d >= f - 1 ? f - 2 : d;
201
+ L(o.value[u.value], !1), u.value = d >= f - 1 ? f - 2 : d;
201
202
  } else t.key === "Backspace" && !v.value && (u.value = f - 1);
202
203
  return;
203
204
  }
@@ -214,15 +215,15 @@ const lt = se({
214
215
  }
215
216
  function Ve(t) {
216
217
  if (ne(m.value, ":autofill") || ne(m.value, ":-webkit-autofill")) {
217
- const a = L.value.find((f) => f.title === t.target.value);
218
- a && _(a);
218
+ const a = _.value.find((f) => f.title === t.target.value);
219
+ a && L(a);
219
220
  }
220
221
  }
221
- function Se() {
222
+ function pe() {
222
223
  var t;
223
- e.eager && ((t = F.value) == null || t.calculateVisibleItems());
224
+ e.eager && ((t = w.value) == null || t.calculateVisibleItems());
224
225
  }
225
- function pe() {
226
+ function Se() {
226
227
  var t;
227
228
  y.value && (V.value = !0, (t = m.value) == null || t.focus());
228
229
  }
@@ -231,18 +232,18 @@ const lt = se({
231
232
  x.value = !0;
232
233
  });
233
234
  }
234
- function we(t) {
235
+ function be(t) {
235
236
  x.value = !1;
236
237
  }
237
- function Fe(t) {
238
- (t == null || t === "" && !e.multiple && !K.value) && (o.value = []);
238
+ function we(t) {
239
+ (t == null || t === "" && !e.multiple && !D.value) && (o.value = []);
239
240
  }
240
241
  const $ = A(!1);
241
- function _(t) {
242
+ function L(t) {
242
243
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
243
244
  if (!(!t || t.props.disabled))
244
245
  if (e.multiple) {
245
- const f = o.value.findIndex((c) => (e.valueComparator || Ke)(c.value, t.value)), n = a ?? !~f;
246
+ const f = o.value.findIndex((c) => (e.valueComparator || De)(c.value, t.value)), n = a ?? !~f;
246
247
  if (~f) {
247
248
  const c = n ? [...o.value, t] : [...o.value];
248
249
  c.splice(f, 1), o.value = c;
@@ -250,48 +251,48 @@ const lt = se({
250
251
  e.clearOnSelect && (v.value = "");
251
252
  } else {
252
253
  const f = a !== !1;
253
- o.value = f ? [t] : [], v.value = f && !K.value ? t.title : "", ue(() => {
254
- s.value = !1, V.value = !0;
254
+ o.value = f ? [t] : [], v.value = f && !D.value ? t.title : "", ue(() => {
255
+ i.value = !1, V.value = !0;
255
256
  });
256
257
  }
257
258
  }
258
- return G(y, (t, a) => {
259
+ return z(y, (t, a) => {
259
260
  var f;
260
- t !== a && (t ? ($.value = !0, v.value = e.multiple || K.value ? "" : String(((f = o.value.at(-1)) == null ? void 0 : f.props.title) ?? ""), V.value = !0, ue(() => $.value = !1)) : (!e.multiple && v.value == null && (o.value = []), s.value = !1, o.value.some((n) => {
261
+ t !== a && (t ? ($.value = !0, v.value = e.multiple || D.value ? "" : String(((f = o.value.at(-1)) == null ? void 0 : f.props.title) ?? ""), V.value = !0, ue(() => $.value = !1)) : (!e.multiple && v.value == null && (o.value = []), i.value = !1, o.value.some((n) => {
261
262
  let {
262
263
  title: c
263
264
  } = n;
264
265
  return c === v.value;
265
266
  }) || (v.value = ""), u.value = -1));
266
- }), G(v, (t) => {
267
- !y.value || $.value || (t && (s.value = !0), V.value = !t);
268
- }), G(s, () => {
269
- if (!e.hideSelected && s.value && o.value.length) {
267
+ }), z(v, (t) => {
268
+ !y.value || $.value || (t && (i.value = !0), V.value = !t);
269
+ }), z(i, () => {
270
+ if (!e.hideSelected && i.value && o.value.length) {
270
271
  const t = E.value.findIndex((a) => o.value.some((f) => a.value === f.value));
271
- De && window.requestAnimationFrame(() => {
272
+ Ke && window.requestAnimationFrame(() => {
272
273
  var a;
273
- t >= 0 && ((a = F.value) == null || a.scrollToIndex(t));
274
+ t >= 0 && ((a = w.value) == null || a.scrollToIndex(t));
274
275
  });
275
276
  }
276
- }), G(() => e.items, (t, a) => {
277
- s.value || y.value && !a.length && t.length && (s.value = !0);
278
- }), Le(() => {
277
+ }), z(() => e.items, (t, a) => {
278
+ i.value || y.value && !a.length && t.length && (i.value = !0);
279
+ }), _e(() => {
279
280
  const t = !!(!e.hideNoData || E.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), a = o.value.length > 0, f = le.filterProps(e);
280
- return i(le, P({
281
+ return s(le, R({
281
282
  ref: m
282
283
  }, f, {
283
284
  modelValue: v.value,
284
- "onUpdate:modelValue": [(n) => v.value = n, Fe],
285
+ "onUpdate:modelValue": [(n) => v.value = n, we],
285
286
  focused: y.value,
286
287
  "onUpdate:focused": (n) => y.value = n,
287
288
  validationValue: o.externalValue,
288
- counterValue: ie.value,
289
+ counterValue: se.value,
289
290
  dirty: a,
290
291
  onChange: Ve,
291
292
  class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
292
- "v-autocomplete--active-menu": s.value,
293
+ "v-autocomplete--active-menu": i.value,
293
294
  "v-autocomplete--chips": !!e.chips,
294
- "v-autocomplete--selection-slot": !!K.value,
295
+ "v-autocomplete--selection-slot": !!D.value,
295
296
  "v-autocomplete--selecting-index": u.value > -1
296
297
  }, e.class],
297
298
  style: e.style,
@@ -302,10 +303,10 @@ const lt = se({
302
303
  onKeydown: ye
303
304
  }), {
304
305
  ...l,
305
- default: () => i(H, null, [i(Qe, P({
306
- ref: p,
307
- modelValue: s.value,
308
- "onUpdate:modelValue": (n) => s.value = n,
306
+ default: () => s(H, null, [s(Qe, R({
307
+ ref: S,
308
+ modelValue: i.value,
309
+ "onUpdate:modelValue": (n) => i.value = n,
309
310
  activator: "parent",
310
311
  contentClass: "v-autocomplete__content",
311
312
  disabled: W.value,
@@ -314,28 +315,28 @@ const lt = se({
314
315
  openOnClick: !1,
315
316
  closeOnContentClick: !1,
316
317
  transition: e.transition,
317
- onAfterEnter: Se,
318
- onAfterLeave: pe
318
+ onAfterEnter: pe,
319
+ onAfterLeave: Se
319
320
  }, e.menuProps), {
320
- default: () => [t && i(Je, P({
321
- ref: X,
321
+ default: () => [t && s(ze, R({
322
+ ref: Z,
322
323
  selected: fe.value,
323
324
  selectStrategy: e.multiple ? "independent" : "single-independent",
324
325
  onMousedown: (n) => n.preventDefault(),
325
326
  onKeydown: ge,
326
327
  onFocusin: ke,
327
- onFocusout: we,
328
+ onFocusout: be,
328
329
  tabindex: "-1",
329
330
  "aria-live": "polite",
330
331
  color: e.itemColor ?? e.color
331
332
  }, ve, e.listProps), {
332
333
  default: () => {
333
334
  var n, c, k;
334
- return [(n = l["prepend-item"]) == null ? void 0 : n.call(l), !E.value.length && !e.hideNoData && (((c = l["no-data"]) == null ? void 0 : c.call(l)) ?? i(re, {
335
+ return [(n = l["prepend-item"]) == null ? void 0 : n.call(l), !E.value.length && !e.hideNoData && (((c = l["no-data"]) == null ? void 0 : c.call(l)) ?? s(oe, {
335
336
  key: "no-data",
336
337
  title: g(e.noDataText)
337
- }, null)), i(xe, {
338
- ref: F,
338
+ }, null)), s(xe, {
339
+ ref: w,
339
340
  renderless: !0,
340
341
  items: E.value
341
342
  }, {
@@ -344,33 +345,33 @@ const lt = se({
344
345
  let {
345
346
  item: h,
346
347
  index: O,
347
- itemRef: w
348
+ itemRef: b
348
349
  } = d;
349
- const ee = P(h.props, {
350
- ref: w,
350
+ const ee = R(h.props, {
351
+ ref: b,
351
352
  key: h.value,
352
353
  active: Q.value && O === 0 ? !0 : void 0,
353
- onClick: () => _(h, null)
354
+ onClick: () => L(h, null)
354
355
  });
355
356
  return ((te = l.item) == null ? void 0 : te.call(l, {
356
357
  item: h,
357
358
  index: O,
358
359
  props: ee
359
- })) ?? i(re, P(ee, {
360
+ })) ?? s(oe, R(ee, {
360
361
  role: "option"
361
362
  }), {
362
363
  prepend: (j) => {
363
364
  let {
364
365
  isSelected: B
365
366
  } = j;
366
- return i(H, null, [e.multiple && !e.hideSelected ? i(We, {
367
+ return s(H, null, [e.multiple && !e.hideSelected ? s(We, {
367
368
  key: h.value,
368
369
  modelValue: B,
369
370
  ripple: !1,
370
371
  tabindex: "-1"
371
- }, null) : void 0, h.props.prependAvatar && i(ze, {
372
+ }, null) : void 0, h.props.prependAvatar && s(He, {
372
373
  image: h.props.prependAvatar
373
- }, null), h.props.prependIcon && i(oe, {
374
+ }, null), h.props.prependIcon && s(re, {
374
375
  icon: h.props.prependIcon
375
376
  }, null)]);
376
377
  },
@@ -384,16 +385,16 @@ const lt = se({
384
385
  }
385
386
  })]
386
387
  }), o.value.map((n, c) => {
387
- function k(w) {
388
- w.stopPropagation(), w.preventDefault(), _(n, !1);
388
+ function k(b) {
389
+ b.stopPropagation(), b.preventDefault(), L(n, !1);
389
390
  }
390
391
  const d = {
391
392
  "onClick:close": k,
392
- onKeydown(w) {
393
- w.key !== "Enter" && w.key !== " " || (w.preventDefault(), w.stopPropagation(), k(w));
393
+ onKeydown(b) {
394
+ b.key !== "Enter" && b.key !== " " || (b.preventDefault(), b.stopPropagation(), k(b));
394
395
  },
395
- onMousedown(w) {
396
- w.preventDefault(), w.stopPropagation();
396
+ onMousedown(b) {
397
+ b.preventDefault(), b.stopPropagation();
397
398
  },
398
399
  modelValue: !0,
399
400
  "onUpdate:modelValue": void 0
@@ -406,11 +407,11 @@ const lt = se({
406
407
  index: c
407
408
  })) : void 0;
408
409
  if (!(h && !O))
409
- return i("div", {
410
+ return s("div", {
410
411
  key: n.value,
411
- class: ["v-autocomplete__selection", c === u.value && ["v-autocomplete__selection--selected", D.value]],
412
+ class: ["v-autocomplete__selection", c === u.value && ["v-autocomplete__selection--selected", K.value]],
412
413
  style: c === u.value ? T.value : {}
413
- }, [N.value ? l.chip ? i(Ge, {
414
+ }, [N.value ? l.chip ? s(Je, {
414
415
  key: "chip-defaults",
415
416
  defaults: {
416
417
  VChip: {
@@ -421,15 +422,15 @@ const lt = se({
421
422
  }
422
423
  }, {
423
424
  default: () => [O]
424
- }) : i(Xe, P({
425
+ }) : s(Ze, R({
425
426
  key: "chip",
426
427
  closable: e.closableChips,
427
428
  size: "small",
428
429
  text: n.title,
429
430
  disabled: n.props.disabled
430
- }, d), null) : O ?? i("span", {
431
+ }, d), null) : O ?? s("span", {
431
432
  class: "v-autocomplete__selection-text"
432
- }, [n.title, e.multiple && c < o.value.length - 1 && i("span", {
433
+ }, [n.title, e.multiple && c < o.value.length - 1 && s("span", {
433
434
  class: "v-autocomplete__selection-comma"
434
435
  }, [je(",")])])]);
435
436
  })]),
@@ -437,7 +438,7 @@ const lt = se({
437
438
  var d;
438
439
  for (var n = arguments.length, c = new Array(n), k = 0; k < n; k++)
439
440
  c[k] = arguments[k];
440
- return i(H, null, [(d = l["append-inner"]) == null ? void 0 : d.call(l, ...c), e.menuIcon ? i(oe, {
441
+ return s(H, null, [(d = l["append-inner"]) == null ? void 0 : d.call(l, ...c), e.menuIcon ? s(re, {
441
442
  class: "v-autocomplete__menu-icon",
442
443
  icon: e.menuIcon,
443
444
  onMousedown: he,
@@ -448,18 +449,18 @@ const lt = se({
448
449
  }, null) : void 0]);
449
450
  }
450
451
  });
451
- }), Ye({
452
+ }), Ge({
452
453
  isFocused: y,
453
454
  isPristine: V,
454
- menu: s,
455
+ menu: i,
455
456
  search: v,
456
457
  filteredItems: J,
457
- select: _
458
+ select: L
458
459
  }, m);
459
460
  }
460
461
  });
461
- Ce("css/revolugo.vautocomplete.CuVjyvcC.css");
462
+ Fe("css/revolugo.vautocomplete.CuVjyvcC.css");
462
463
  export {
463
- dt as V
464
+ mt as V
464
465
  };
465
- //# sourceMappingURL=revolugo.vautocomplete.bQzOaYWm.min.js.map
466
+ //# sourceMappingURL=revolugo.vautocomplete.X5OrrUPl.min.js.map