@revolugo/elements 6.7.2 → 6.7.3-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 (112) hide show
  1. package/dist/index.es.min.js +2618 -2553
  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.ES8H8TdX.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.FofU3mwm.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Er0BOzhm.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.o301OMGn.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.V_1vhP4H.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.B9IrrAQm.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.BbOESSh5.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.DJCyHj6W.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.YExbkGzc.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.dEjhzT2A.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.t8bYETzP.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.CmgO29ZN.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.HV2MY7n9.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.FhiHeLu9.min.js +24 -0
  21. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.BMKPdB9z.min.js} +28 -47
  22. package/dist/revolugo.cancellationpolicieslist.C4GBKaw8.min.js +24 -0
  23. package/dist/revolugo.case-transformers.Ddd0DZeI.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.CJnUNQmx.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.KPRkwSVZ.min.js} +650 -901
  27. package/dist/revolugo.creditcardpayment.DGWBaIYP.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.gPcfsEC5.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.CEQB4l-T.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.D3t6zODt.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.drvXcNoD.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.CEqY6W2u.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.DjCJstCa.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.rfdQQDxx.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.rmAHR_IC.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BU8Q37ZC.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.Ctcmbxkx.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.yfMiZs8-.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.Dt7FXhVI.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.Il2LjMCL.min.js} +1005 -1053
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.BpgknOPE.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.MzJ49afx.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.BMFBMh12.min.js +24 -0
  45. package/dist/revolugo.hoteloffersmap.CObm7hoD.min.js +8394 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.Bpu61_EH.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.Cn-wbBGn.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.Cvw5drkG.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DyMNPEmJ.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.BhZHfo79.min.js} +40 -39
  52. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js} +29 -49
  53. package/dist/revolugo.hotelroomoffersearchmenu.D7QyRteS.min.js +25 -0
  54. package/dist/revolugo.hotelroomoffersview.BpiOqbeg.min.js +24 -0
  55. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DI54bcEi.min.js} +71 -91
  56. package/dist/revolugo.index.CHVqFiWo.min.js +1037 -0
  57. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.DlCArqY2.min.js} +6 -6
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.U-Ds0Ud7.min.js} +7732 -7859
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.Bfd4GXeG.min.js} +15 -15
  60. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.Bx3onVJO.min.js} +53 -71
  61. package/dist/revolugo.langpickerbtn.Dj9aqzUa.min.js +24 -0
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DG21FbXr.min.js} +45 -44
  64. package/dist/revolugo.prebookform.DZiQ5M3q.min.js +24 -0
  65. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.hUDmprdU.min.js} +94 -114
  66. package/dist/revolugo.roominglisteditor.CqHUrQ4g.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.meQaCKaE.min.js} +82 -101
  68. package/dist/revolugo.rounded.CDKzGlV8.min.js +68 -0
  69. package/dist/revolugo.ssrboot.me6E0cRY.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.CmOqTdGz.min.js} +110 -108
  71. package/dist/revolugo.termsandconditions.CSbVW2DS.min.js +23 -0
  72. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.CcWZ66ul.min.js} +90 -108
  73. package/dist/revolugo.use-breakpoint-service.DzP23XZi.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.1eBdqerb.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.3HWnFhqm.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.D5oMY_p5.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.CLsvQwyI.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.BkLi1Y04.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.8XLsV5dc.min.js} +26 -25
  80. package/dist/revolugo.vdivider.jj-AdUyd.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.Cc3RP1rh.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Db-PE5B0.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.86caOzy1.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.CVuILaZ8.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.Dyah7BiI.min.js} +90 -88
  86. package/dist/revolugo.vmenu.CXAeU_qi.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.BsnagCGW.min.js} +133 -132
  88. package/dist/revolugo.vsheet.BG1meZTM.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.BORzy4_m.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CxMxY-0P.min.js} +46 -44
  91. package/dist/revolugo.vspacer.BiUgatwg.min.js +7 -0
  92. package/dist/{revolugo.vtextarea.DQrxw1ua.min.js → revolugo.vtextarea.BkNy6mLm.min.js} +48 -39
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.DlfEz4JN.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.2imDjYnr.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.vIYDBJ4s.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.CIEwtCBy.min.js} +41 -41
  97. package/dist/revolugo.watch-list.C39H03pK.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.BzrBNp7K.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/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  110. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  111. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  112. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,14 +1,15 @@
1
- import { V as ce, m as be } from "./revolugo.vtextfield.DPMmhQ6a.min.js";
2
- import { a as ue, p as j, V as U, c as f, Q as $, C as M, aC as Pe, _, a6 as de, r as K, J as R, aN as xe, o as ge, ag as le, aO as Ce, X as ye, U as oe, ax as Ee, t as Ie, a2 as Re, a3 as Oe, a0 as Z, z as Ae, S as fe, Y as Le, am as ne, I as _e, a5 as De, aK as ve, aB as me, aM as Be, ao as Fe } from "./revolugo.rounded.u4maswiM.min.js";
3
- import { e as Me } from "./revolugo.vinput.8rjbvXX2.min.js";
4
- import { f as Ue, V as pe, a as He, b as Ne } from "./revolugo.index.Ds7GPsGI.min.js";
5
- import { u as qe, m as Ke, V as ze, a as he } from "./revolugo.vlist.DCvg08Wu.min.js";
6
- import { s as Ve, u as se, m as we, b as Ye, y as $e, d as je, f as Ge } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
7
- import { V as We } from "./revolugo.dialog-transition.DyO6FFbo.min.js";
8
- import { V as Xe } from "./revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js";
9
- import { V as Je } from "./revolugo.vcheckboxbtn.DxJuZdU5.min.js";
10
- import { V as Qe } from "./revolugo.btag.0ugEj-2W.min.js";
11
- function ke(e) {
1
+ import { V as ce, c as ke } from "./revolugo.vtextfield.DlfEz4JN.min.js";
2
+ import { Z as ue, _ as j, M as H, a as f, F as Y, y as M, aP as Pe, a5 as L, a8 as de, C as K, D as R, bM as xe, aO as ge, ay as le, bu as Ce, R as ye, bo as oe, bN as Ee, ab as Ie, aN as Re, V as Oe, a9 as Q, ac as Ae, a2 as fe, a3 as De, bI as ne, $ as Le, a6 as _e, bG as ve, bH as me, bK as Fe, f as Be } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
3
+ import { b as Me } from "./revolugo.vinput.86caOzy1.min.js";
4
+ import { f as He } from "./revolugo.forwardrefs.-bfQnFea.min.js";
5
+ import { u as Ne, m as Ue, b as qe, V as pe } from "./revolugo.vlist.Dyah7BiI.min.js";
6
+ import { w as Ve, u as se, m as we, n as Ke, x as ze, o as $e, p as Ye } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
7
+ import { V as je } from "./revolugo.dialog-transition.DjCJstCa.min.js";
8
+ import { V as he, h as Ge, a as We } from "./revolugo.index.CHVqFiWo.min.js";
9
+ import { V as Xe } from "./revolugo.vmenu.CXAeU_qi.min.js";
10
+ import { a as Ze } from "./revolugo.vcheckboxbtn.BkLi1Y04.min.js";
11
+ import { V as Je } from "./revolugo.btag.HV2MY7n9.min.js";
12
+ function Te(e) {
12
13
  try {
13
14
  if (typeof document < "u") {
14
15
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -28,13 +29,13 @@ function ke(e) {
28
29
  console.error("[revolugo-elements] ", r);
29
30
  }
30
31
  }
31
- const Ze = j({
32
+ const Qe = j({
32
33
  renderless: Boolean,
33
34
  ...we()
34
35
  }, "VVirtualScrollItem"), et = ue()({
35
36
  name: "VVirtualScrollItem",
36
37
  inheritAttrs: !1,
37
- props: Ze(),
38
+ props: Qe(),
38
39
  emits: {
39
40
  "update:height": (e) => !0
40
41
  },
@@ -48,14 +49,14 @@ const Ze = j({
48
49
  resizeRef: v,
49
50
  contentRect: m
50
51
  } = Ve(void 0, "border");
51
- U(() => {
52
+ H(() => {
52
53
  var u;
53
54
  return (u = m.value) == null ? void 0 : u.height;
54
55
  }, (u) => {
55
56
  u != null && i("update:height", u);
56
57
  }), se(() => {
57
58
  var u, a;
58
- return e.renderless ? f($, null, [(u = s.default) == null ? void 0 : u.call(s, {
59
+ return e.renderless ? f(Y, null, [(u = s.default) == null ? void 0 : u.call(s, {
59
60
  itemRef: v
60
61
  })]) : f("div", M({
61
62
  ref: v,
@@ -72,37 +73,37 @@ const Ze = j({
72
73
  height: [Number, String]
73
74
  }, "virtual");
74
75
  function at(e, r) {
75
- const n = Pe(), i = _(0);
76
+ const n = Pe(), i = L(0);
76
77
  de(() => {
77
78
  i.value = parseFloat(e.itemHeight || 0);
78
79
  });
79
- const s = _(0), v = _(Math.ceil(
80
+ const s = L(0), v = L(Math.ceil(
80
81
  // Assume 16px items filling the entire screen height if
81
82
  // not provided. This is probably incorrect but it minimises
82
83
  // the chance of ending up with empty space at the bottom.
83
84
  // The default value is set here to avoid poisoning getSize()
84
85
  (parseInt(e.height) || n.height.value) / (i.value || 16)
85
- ) || 1), m = _(0), u = _(0), a = K(), V = K();
86
+ ) || 1), m = L(0), u = L(0), a = K(), V = K();
86
87
  let I = 0;
87
88
  const {
88
- resizeRef: L,
89
+ resizeRef: D,
89
90
  contentRect: c
90
91
  } = Ve();
91
92
  de(() => {
92
- L.value = a.value;
93
+ D.value = a.value;
93
94
  });
94
95
  const w = R(() => {
95
96
  var t;
96
97
  return a.value === document.documentElement ? n.height.value : ((t = c.value) == null ? void 0 : t.height) || parseInt(e.height) || 0;
97
- }), D = R(() => !!(a.value && V.value && w.value && i.value));
98
+ }), _ = R(() => !!(a.value && V.value && w.value && i.value));
98
99
  let C = Array.from({
99
100
  length: r.value.length
100
101
  }), p = Array.from({
101
102
  length: r.value.length
102
103
  });
103
- const S = _(0);
104
- let k = -1;
105
- function B(t) {
104
+ const S = L(0);
105
+ let T = -1;
106
+ function F(t) {
106
107
  return C[t] || i.value;
107
108
  }
108
109
  const E = xe(() => {
@@ -110,12 +111,12 @@ function at(e, r) {
110
111
  p[0] = 0;
111
112
  const o = r.value.length;
112
113
  for (let g = 1; g <= o - 1; g++)
113
- p[g] = (p[g - 1] || 0) + B(g - 1);
114
+ p[g] = (p[g - 1] || 0) + F(g - 1);
114
115
  S.value = Math.max(S.value, performance.now() - t);
115
- }, S), G = U(D, (t) => {
116
- t && (G(), I = V.value.offsetTop, E.immediate(), O(), ~k && ye(() => {
116
+ }, S), G = H(_, (t) => {
117
+ t && (G(), I = V.value.offsetTop, E.immediate(), O(), ~T && ye(() => {
117
118
  oe && window.requestAnimationFrame(() => {
118
- Q(k), k = -1;
119
+ J(T), T = -1;
119
120
  });
120
121
  }));
121
122
  });
@@ -126,54 +127,54 @@ function at(e, r) {
126
127
  const g = C[t], y = i.value;
127
128
  i.value = y ? Math.min(i.value, o) : o, (g !== o || y !== i.value) && (C[t] = o, E());
128
129
  }
129
- function b(t) {
130
+ function k(t) {
130
131
  return t = le(t, 0, r.value.length - 1), p[t] || 0;
131
132
  }
132
133
  function W(t) {
133
134
  return ot(p, t);
134
135
  }
135
- let H = 0, F = 0, z = 0;
136
- U(w, (t, o) => {
136
+ let N = 0, B = 0, z = 0;
137
+ H(w, (t, o) => {
137
138
  o && (O(), t < o && requestAnimationFrame(() => {
138
- F = 0, O();
139
+ B = 0, O();
139
140
  }));
140
141
  });
141
- let N = -1;
142
+ let U = -1;
142
143
  function q() {
143
144
  if (!a.value || !V.value) return;
144
145
  const t = a.value.scrollTop, o = performance.now();
145
- o - z > 500 ? (F = Math.sign(t - H), I = V.value.offsetTop) : F = t - H, H = t, z = o, window.clearTimeout(N), N = window.setTimeout(X, 500), O();
146
+ o - z > 500 ? (B = Math.sign(t - N), I = V.value.offsetTop) : B = t - N, N = t, z = o, window.clearTimeout(U), U = window.setTimeout(X, 500), O();
146
147
  }
147
148
  function X() {
148
- !a.value || !V.value || (F = 0, z = 0, window.clearTimeout(N), O());
149
+ !a.value || !V.value || (B = 0, z = 0, window.clearTimeout(U), O());
149
150
  }
150
- let J = -1;
151
+ let Z = -1;
151
152
  function O() {
152
- cancelAnimationFrame(J), J = requestAnimationFrame(te);
153
+ cancelAnimationFrame(Z), Z = requestAnimationFrame(te);
153
154
  }
154
155
  function te() {
155
156
  if (!a.value || !w.value) return;
156
- const t = H - I, o = Math.sign(F), g = Math.max(0, t - ae), y = le(W(g), 0, r.value.length), d = t + w.value + ae, h = le(W(d) + 1, y + 1, r.value.length);
157
+ const t = N - I, o = Math.sign(B), g = Math.max(0, t - ae), y = le(W(g), 0, r.value.length), d = t + w.value + ae, h = le(W(d) + 1, y + 1, r.value.length);
157
158
  if (
158
159
  // Only update the side we're scrolling towards,
159
160
  // the other side will be updated incidentally
160
161
  (o !== tt || y < s.value) && (o !== lt || h > v.value)
161
162
  ) {
162
- const T = b(s.value) - b(y), A = b(h) - b(v.value);
163
- Math.max(T, A) > ae ? (s.value = y, v.value = h) : (y <= 0 && (s.value = y), h >= r.value.length && (v.value = h));
163
+ const b = k(s.value) - k(y), A = k(h) - k(v.value);
164
+ Math.max(b, A) > ae ? (s.value = y, v.value = h) : (y <= 0 && (s.value = y), h >= r.value.length && (v.value = h));
164
165
  }
165
- m.value = b(s.value), u.value = b(r.value.length) - b(v.value);
166
+ m.value = k(s.value), u.value = k(r.value.length) - k(v.value);
166
167
  }
167
- function Q(t) {
168
- const o = b(t);
169
- !a.value || t && !o ? k = t : a.value.scrollTop = o;
168
+ function J(t) {
169
+ const o = k(t);
170
+ !a.value || t && !o ? T = t : a.value.scrollTop = o;
170
171
  }
171
172
  const l = R(() => r.value.slice(s.value, v.value).map((t, o) => ({
172
173
  raw: t,
173
174
  index: o + s.value,
174
175
  key: Ce(t) && "value" in t ? t.value : o + s.value
175
176
  })));
176
- return U(r, () => {
177
+ return H(r, () => {
177
178
  C = Array.from({
178
179
  length: r.value.length
179
180
  }), p = Array.from({
@@ -188,7 +189,7 @@ function at(e, r) {
188
189
  computedItems: l,
189
190
  paddingTop: m,
190
191
  paddingBottom: u,
191
- scrollToIndex: Q,
192
+ scrollToIndex: J,
192
193
  handleScroll: q,
193
194
  handleScrollend: X,
194
195
  handleItemResize: ee
@@ -214,7 +215,7 @@ const ut = j({
214
215
  renderless: Boolean,
215
216
  ...nt(),
216
217
  ...we(),
217
- ...je()
218
+ ...$e()
218
219
  }, "VVirtualScroll"), st = ue()({
219
220
  name: "VVirtualScroll",
220
221
  props: ut(),
@@ -224,56 +225,56 @@ const ut = j({
224
225
  } = r;
225
226
  const i = Ee("VVirtualScroll"), {
226
227
  dimensionStyles: s
227
- } = Ye(e), {
228
+ } = Ke(e), {
228
229
  calculateVisibleItems: v,
229
230
  containerRef: m,
230
231
  markerRef: u,
231
232
  handleScroll: a,
232
233
  handleScrollend: V,
233
234
  handleItemResize: I,
234
- scrollToIndex: L,
235
+ scrollToIndex: D,
235
236
  paddingTop: c,
236
237
  paddingBottom: w,
237
- computedItems: D
238
+ computedItems: _
238
239
  } = at(e, Ie(e, "items"));
239
240
  return Re(() => e.renderless, () => {
240
241
  function C() {
241
- var k, B;
242
+ var T, F;
242
243
  const S = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
243
244
  m.value === document.documentElement ? (document[S]("scroll", a, {
244
245
  passive: !0
245
- }), document[S]("scrollend", V)) : ((k = m.value) == null || k[S]("scroll", a, {
246
+ }), document[S]("scrollend", V)) : ((T = m.value) == null || T[S]("scroll", a, {
246
247
  passive: !0
247
- }), (B = m.value) == null || B[S]("scrollend", V));
248
+ }), (F = m.value) == null || F[S]("scrollend", V));
248
249
  }
249
250
  Oe(() => {
250
- m.value = $e(i.vnode.el, !0), C(!0);
251
+ m.value = ze(i.vnode.el, !0), C(!0);
251
252
  }), ge(C);
252
253
  }), se(() => {
253
- const C = D.value.map((p) => f(et, {
254
+ const C = _.value.map((p) => f(et, {
254
255
  key: p.key,
255
256
  renderless: e.renderless,
256
257
  "onUpdate:height": (S) => I(p.index, S)
257
258
  }, {
258
259
  default: (S) => {
259
- var k;
260
- return (k = n.default) == null ? void 0 : k.call(n, {
260
+ var T;
261
+ return (T = n.default) == null ? void 0 : T.call(n, {
261
262
  item: p.raw,
262
263
  index: p.index,
263
264
  ...S
264
265
  });
265
266
  }
266
267
  }));
267
- return e.renderless ? f($, null, [f("div", {
268
+ return e.renderless ? f(Y, null, [f("div", {
268
269
  ref: u,
269
270
  class: "v-virtual-scroll__spacer",
270
271
  style: {
271
- paddingTop: Z(c.value)
272
+ paddingTop: Q(c.value)
272
273
  }
273
274
  }, null), C, f("div", {
274
275
  class: "v-virtual-scroll__spacer",
275
276
  style: {
276
- paddingBottom: Z(w.value)
277
+ paddingBottom: Q(w.value)
277
278
  }
278
279
  }, null)]) : f("div", {
279
280
  ref: m,
@@ -285,18 +286,18 @@ const ut = j({
285
286
  ref: u,
286
287
  class: "v-virtual-scroll__container",
287
288
  style: {
288
- paddingTop: Z(c.value),
289
- paddingBottom: Z(w.value)
289
+ paddingTop: Q(c.value),
290
+ paddingBottom: Q(w.value)
290
291
  }
291
292
  }, [C])]);
292
293
  }), {
293
294
  calculateVisibleItems: v,
294
- scrollToIndex: L
295
+ scrollToIndex: D
295
296
  };
296
297
  }
297
298
  });
298
299
  function rt(e, r) {
299
- const n = _(!1);
300
+ const n = L(!1);
300
301
  let i;
301
302
  function s(u) {
302
303
  cancelAnimationFrame(i), n.value = !0, i = requestAnimationFrame(() => {
@@ -308,16 +309,16 @@ function rt(e, r) {
308
309
  async function v() {
309
310
  await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => {
310
311
  if (n.value) {
311
- const a = U(n, () => {
312
+ const a = H(n, () => {
312
313
  a(), u();
313
314
  });
314
315
  } else u();
315
316
  });
316
317
  }
317
318
  async function m(u) {
318
- var I, L;
319
+ var I, D;
319
320
  if (u.key === "Tab" && ((I = r.value) == null || I.focus()), !["PageDown", "PageUp", "Home", "End"].includes(u.key)) return;
320
- const a = (L = e.value) == null ? void 0 : L.$el;
321
+ const a = (D = e.value) == null ? void 0 : D.$el;
321
322
  if (!a) return;
322
323
  (u.key === "Home" || u.key === "End") && a.scrollTo({
323
324
  top: u.key === "Home" ? 0 : a.scrollHeight,
@@ -364,7 +365,7 @@ const it = j({
364
365
  },
365
366
  menu: Boolean,
366
367
  menuIcon: {
367
- type: _e,
368
+ type: Le,
368
369
  default: "$dropdown"
369
370
  },
370
371
  menuProps: {
@@ -377,21 +378,21 @@ const it = j({
377
378
  },
378
379
  openOnClear: Boolean,
379
380
  itemColor: String,
380
- ...Ke({
381
+ ...Ue({
381
382
  itemChildren: !1
382
383
  })
383
384
  }, "Select"), ct = j({
384
385
  ...it(),
385
- ...De(be({
386
+ ..._e(ke({
386
387
  modelValue: null,
387
388
  role: "combobox"
388
389
  }), ["validationValue", "dirty", "appendInnerIcon"]),
389
- ...Ge({
390
+ ...Ye({
390
391
  transition: {
391
- component: We
392
+ component: je
392
393
  }
393
394
  })
394
- }, "VSelect"), St = ue()({
395
+ }, "VSelect"), bt = ue()({
395
396
  name: "VSelect",
396
397
  props: ct(),
397
398
  emits: {
@@ -414,13 +415,13 @@ const it = j({
414
415
  }), {
415
416
  items: V,
416
417
  transformIn: I,
417
- transformOut: L
418
- } = qe(e), c = fe(e, "modelValue", [], (l) => I(l === null ? [null] : Le(l)), (l) => {
419
- const t = L(l);
418
+ transformOut: D
419
+ } = Ne(e), c = fe(e, "modelValue", [], (l) => I(l === null ? [null] : De(l)), (l) => {
420
+ const t = D(l);
420
421
  return e.multiple ? t : t[0] ?? null;
421
- }), w = R(() => typeof e.counterValue == "function" ? e.counterValue(c.value) : typeof e.counterValue == "number" ? e.counterValue : c.value.length), D = Me(e), C = R(() => c.value.map((l) => l.value)), p = _(!1), S = R(() => a.value ? e.closeText : e.openText);
422
- let k = "", B;
423
- const E = R(() => e.hideSelected ? V.value.filter((l) => !c.value.some((t) => (e.valueComparator || ne)(t, l))) : V.value), G = R(() => e.hideNoData && !E.value.length || D.isReadonly.value || D.isDisabled.value), ee = R(() => {
422
+ }), w = R(() => typeof e.counterValue == "function" ? e.counterValue(c.value) : typeof e.counterValue == "number" ? e.counterValue : c.value.length), _ = Me(e), C = R(() => c.value.map((l) => l.value)), p = L(!1), S = R(() => a.value ? e.closeText : e.openText);
423
+ let T = "", F;
424
+ const E = R(() => e.hideSelected ? V.value.filter((l) => !c.value.some((t) => (e.valueComparator || ne)(t, l))) : V.value), G = R(() => e.hideNoData && !E.value.length || _.isReadonly.value || _.isDisabled.value), ee = R(() => {
424
425
  var l;
425
426
  return {
426
427
  ...e.menuProps,
@@ -430,31 +431,31 @@ const it = j({
430
431
  // Set aria-haspopup to 'listbox'
431
432
  }
432
433
  };
433
- }), b = K(), W = rt(b, s);
434
- function H(l) {
434
+ }), k = K(), W = rt(k, s);
435
+ function N(l) {
435
436
  e.openOnClear && (a.value = !0);
436
437
  }
437
- function F() {
438
+ function B() {
438
439
  G.value || (a.value = !a.value);
439
440
  }
440
441
  function z(l) {
441
- ve(l) && N(l);
442
+ ve(l) && U(l);
442
443
  }
443
- function N(l) {
444
+ function U(l) {
444
445
  var y, d;
445
- if (!l.key || D.isReadonly.value) return;
446
- ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && l.preventDefault(), ["Enter", "ArrowDown", " "].includes(l.key) && (a.value = !0), ["Escape", "Tab"].includes(l.key) && (a.value = !1), l.key === "Home" ? (y = b.value) == null || y.focus("first") : l.key === "End" && ((d = b.value) == null || d.focus("last"));
446
+ if (!l.key || _.isReadonly.value) return;
447
+ ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && l.preventDefault(), ["Enter", "ArrowDown", " "].includes(l.key) && (a.value = !0), ["Escape", "Tab"].includes(l.key) && (a.value = !1), l.key === "Home" ? (y = k.value) == null || y.focus("first") : l.key === "End" && ((d = k.value) == null || d.focus("last"));
447
448
  const t = 1e3;
448
449
  if (!ve(l)) return;
449
450
  const o = performance.now();
450
- o - B > t && (k = ""), k += l.key.toLowerCase(), B = o;
451
- const g = V.value.find((h) => h.title.toLowerCase().startsWith(k));
451
+ o - F > t && (T = ""), T += l.key.toLowerCase(), F = o;
452
+ const g = V.value.find((h) => h.title.toLowerCase().startsWith(T));
452
453
  if (g !== void 0) {
453
454
  c.value = [g];
454
455
  const h = E.value.indexOf(g);
455
456
  oe && window.requestAnimationFrame(() => {
456
- var T;
457
- h >= 0 && ((T = m.value) == null || T.scrollToIndex(h));
457
+ var b;
458
+ h >= 0 && ((b = m.value) == null || b.scrollToIndex(h));
458
459
  });
459
460
  }
460
461
  }
@@ -476,9 +477,9 @@ const it = j({
476
477
  }
477
478
  function X(l) {
478
479
  var t;
479
- (t = b.value) != null && t.$el.contains(l.relatedTarget) || (a.value = !1);
480
+ (t = k.value) != null && t.$el.contains(l.relatedTarget) || (a.value = !1);
480
481
  }
481
- function J() {
482
+ function Z() {
482
483
  var l;
483
484
  e.eager && ((l = m.value) == null || l.calculateVisibleItems());
484
485
  }
@@ -489,14 +490,14 @@ const it = j({
489
490
  function te(l) {
490
491
  p.value = !0;
491
492
  }
492
- function Q(l) {
493
+ function J(l) {
493
494
  if (l == null) c.value = [];
494
495
  else if (me(s.value, ":autofill") || me(s.value, ":-webkit-autofill")) {
495
496
  const t = V.value.find((o) => o.title === l);
496
497
  t && q(t);
497
498
  } else s.value && (s.value.value = "");
498
499
  }
499
- return U(a, () => {
500
+ return H(a, () => {
500
501
  if (!e.hideSelected && a.value && c.value.length) {
501
502
  const l = E.value.findIndex((t) => c.value.some((o) => (e.valueComparator || ne)(o.value, t.value)));
502
503
  oe && window.requestAnimationFrame(() => {
@@ -504,7 +505,7 @@ const it = j({
504
505
  l >= 0 && ((t = m.value) == null || t.scrollToIndex(l));
505
506
  });
506
507
  }
507
- }), U(() => e.items, (l, t) => {
508
+ }), H(() => e.items, (l, t) => {
508
509
  a.value || p.value && !t.length && l.length && (a.value = !0);
509
510
  }), se(() => {
510
511
  const l = !!(e.chips || n.chip), t = !!(!e.hideNoData || E.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), o = c.value.length > 0, g = ce.filterProps(e), y = o || !p.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
@@ -512,7 +513,7 @@ const it = j({
512
513
  ref: s
513
514
  }, g, {
514
515
  modelValue: c.value.map((d) => d.props.value).join(", "),
515
- "onUpdate:modelValue": Q,
516
+ "onUpdate:modelValue": J,
516
517
  focused: p.value,
517
518
  "onUpdate:focused": (d) => p.value = d,
518
519
  validationValue: c.externalValue,
@@ -528,15 +529,15 @@ const it = j({
528
529
  style: e.style,
529
530
  inputmode: "none",
530
531
  placeholder: y,
531
- "onClick:clear": H,
532
- "onMousedown:control": F,
532
+ "onClick:clear": N,
533
+ "onMousedown:control": B,
533
534
  onBlur: X,
534
- onKeydown: N,
535
+ onKeydown: U,
535
536
  "aria-label": i(S.value),
536
537
  title: i(S.value)
537
538
  }), {
538
539
  ...n,
539
- default: () => f($, null, [f(Xe, M({
540
+ default: () => f(Y, null, [f(Xe, M({
540
541
  ref: v,
541
542
  modelValue: a.value,
542
543
  "onUpdate:modelValue": (d) => a.value = d,
@@ -548,11 +549,11 @@ const it = j({
548
549
  openOnClick: !1,
549
550
  closeOnContentClick: !1,
550
551
  transition: e.transition,
551
- onAfterEnter: J,
552
+ onAfterEnter: Z,
552
553
  onAfterLeave: O
553
554
  }, ee.value), {
554
- default: () => [t && f(ze, M({
555
- ref: b,
555
+ default: () => [t && f(qe, M({
556
+ ref: k,
556
557
  selected: C.value,
557
558
  selectStrategy: e.multiple ? "independent" : "single-independent",
558
559
  onMousedown: (d) => d.preventDefault(),
@@ -563,8 +564,8 @@ const it = j({
563
564
  color: e.itemColor ?? e.color
564
565
  }, W, e.listProps), {
565
566
  default: () => {
566
- var d, h, T;
567
- return [(d = n["prepend-item"]) == null ? void 0 : d.call(n), !E.value.length && !e.hideNoData && (((h = n["no-data"]) == null ? void 0 : h.call(n)) ?? f(he, {
567
+ var d, h, b;
568
+ return [(d = n["prepend-item"]) == null ? void 0 : d.call(n), !E.value.length && !e.hideNoData && (((h = n["no-data"]) == null ? void 0 : h.call(n)) ?? f(pe, {
568
569
  key: "no-data",
569
570
  title: i(e.noDataText)
570
571
  }, null)), f(st, {
@@ -576,7 +577,7 @@ const it = j({
576
577
  var ie;
577
578
  let {
578
579
  item: P,
579
- index: Y,
580
+ index: $,
580
581
  itemRef: x
581
582
  } = A;
582
583
  const re = M(P.props, {
@@ -586,46 +587,46 @@ const it = j({
586
587
  });
587
588
  return ((ie = n.item) == null ? void 0 : ie.call(n, {
588
589
  item: P,
589
- index: Y,
590
+ index: $,
590
591
  props: re
591
- })) ?? f(he, M(re, {
592
+ })) ?? f(pe, M(re, {
592
593
  role: "option"
593
594
  }), {
594
595
  prepend: (Se) => {
595
596
  let {
596
- isSelected: Te
597
+ isSelected: be
597
598
  } = Se;
598
- return f($, null, [e.multiple && !e.hideSelected ? f(Je, {
599
+ return f(Y, null, [e.multiple && !e.hideSelected ? f(Ze, {
599
600
  key: P.value,
600
- modelValue: Te,
601
+ modelValue: be,
601
602
  ripple: !1,
602
603
  tabindex: "-1"
603
- }, null) : void 0, P.props.prependAvatar && f(He, {
604
+ }, null) : void 0, P.props.prependAvatar && f(Ge, {
604
605
  image: P.props.prependAvatar
605
- }, null), P.props.prependIcon && f(pe, {
606
+ }, null), P.props.prependIcon && f(he, {
606
607
  icon: P.props.prependIcon
607
608
  }, null)]);
608
609
  }
609
610
  });
610
611
  }
611
- }), (T = n["append-item"]) == null ? void 0 : T.call(n)];
612
+ }), (b = n["append-item"]) == null ? void 0 : b.call(n)];
612
613
  }
613
614
  })]
614
615
  }), c.value.map((d, h) => {
615
- function T(x) {
616
+ function b(x) {
616
617
  x.stopPropagation(), x.preventDefault(), q(d, !1);
617
618
  }
618
619
  const A = {
619
- "onClick:close": T,
620
+ "onClick:close": b,
620
621
  onKeydown(x) {
621
- x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), T(x));
622
+ x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), b(x));
622
623
  },
623
624
  onMousedown(x) {
624
625
  x.preventDefault(), x.stopPropagation();
625
626
  },
626
627
  modelValue: !0,
627
628
  "onUpdate:modelValue": void 0
628
- }, P = l ? !!n.chip : !!n.selection, Y = P ? Be(l ? n.chip({
629
+ }, P = l ? !!n.chip : !!n.selection, $ = P ? Fe(l ? n.chip({
629
630
  item: d,
630
631
  index: h,
631
632
  props: A
@@ -633,11 +634,11 @@ const it = j({
633
634
  item: d,
634
635
  index: h
635
636
  })) : void 0;
636
- if (!(P && !Y))
637
+ if (!(P && !$))
637
638
  return f("div", {
638
639
  key: d.value,
639
640
  class: "v-select__selection"
640
- }, [l ? n.chip ? f(Ne, {
641
+ }, [l ? n.chip ? f(We, {
641
642
  key: "chip-defaults",
642
643
  defaults: {
643
644
  VChip: {
@@ -647,41 +648,41 @@ const it = j({
647
648
  }
648
649
  }
649
650
  }, {
650
- default: () => [Y]
651
- }) : f(Qe, M({
651
+ default: () => [$]
652
+ }) : f(Je, M({
652
653
  key: "chip",
653
654
  closable: e.closableChips,
654
655
  size: "small",
655
656
  text: d.title,
656
657
  disabled: d.props.disabled
657
- }, A), null) : Y ?? f("span", {
658
+ }, A), null) : $ ?? f("span", {
658
659
  class: "v-select__selection-text"
659
660
  }, [d.title, e.multiple && h < c.value.length - 1 && f("span", {
660
661
  class: "v-select__selection-comma"
661
- }, [Fe(",")])])]);
662
+ }, [Be(",")])])]);
662
663
  })]),
663
664
  "append-inner": function() {
664
665
  var A;
665
- for (var d = arguments.length, h = new Array(d), T = 0; T < d; T++)
666
- h[T] = arguments[T];
667
- return f($, null, [(A = n["append-inner"]) == null ? void 0 : A.call(n, ...h), e.menuIcon ? f(pe, {
666
+ for (var d = arguments.length, h = new Array(d), b = 0; b < d; b++)
667
+ h[b] = arguments[b];
668
+ return f(Y, null, [(A = n["append-inner"]) == null ? void 0 : A.call(n, ...h), e.menuIcon ? f(he, {
668
669
  class: "v-select__menu-icon",
669
670
  icon: e.menuIcon
670
671
  }, null) : void 0]);
671
672
  }
672
673
  });
673
- }), Ue({
674
+ }), He({
674
675
  isFocused: p,
675
676
  menu: a,
676
677
  select: q
677
678
  }, s);
678
679
  }
679
680
  });
680
- ke("css/revolugo.vselect.C5CKHFYB.css");
681
+ Te("css/revolugo.vselect.C5CKHFYB.css");
681
682
  export {
682
- st as V,
683
- St as a,
683
+ bt as V,
684
+ st as a,
684
685
  it as m,
685
686
  rt as u
686
687
  };
687
- //# sourceMappingURL=revolugo.vselect.C8g3avwV.min.js.map
688
+ //# sourceMappingURL=revolugo.vselect.BsnagCGW.min.js.map