@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.31

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 (150) hide show
  1. package/dist/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
  2. package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
  3. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
  4. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  5. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  6. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  7. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  8. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  9. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  10. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  11. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
  12. package/dist/index.es.min.js +1927 -2144
  13. package/dist/index.es.min.js.map +1 -1
  14. package/dist/index.min.js +6 -6
  15. package/dist/index.min.js.map +1 -1
  16. package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.Bxmf2YBQ.min.js} +3 -3
  17. package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
  18. package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
  19. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js} +30 -34
  20. package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js} +1672 -1766
  21. package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +72 -76
  22. package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
  23. package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +165 -174
  24. package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
  25. package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
  26. package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
  27. package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.min.js} +4 -4
  28. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js} +148 -157
  29. package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
  30. package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.BMTMxB84.min.js} +86 -95
  31. package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js} +4 -4
  32. package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.BlIDNloM.min.js} +4 -4
  33. package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +6 -6
  34. package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
  35. package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
  36. package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +56 -69
  37. package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
  38. package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -162
  39. package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.mpJHETlw.min.js} +6 -6
  40. package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
  41. package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
  42. package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +2 -2
  43. package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
  44. package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
  45. package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
  46. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  47. package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
  48. package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.08Q8GaoF.min.js} +18 -18
  49. package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +588 -620
  50. package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
  51. package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
  52. package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1563 -1693
  53. package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
  54. package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +5 -5
  55. package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js} +7 -7
  56. package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +563 -574
  57. package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
  58. package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +125 -130
  59. package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
  60. package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
  61. package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +727 -785
  62. package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
  63. package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +333 -358
  64. package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
  65. package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
  66. package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
  67. package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
  68. package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.bIefP9Di.min.js} +396 -419
  69. package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +6415 -6523
  70. package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.Ccsg-lEF.min.js} +24 -27
  71. package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.CM2mTy7Y.min.js} +4 -4
  72. package/dist/{revolugo.langpickerbtn.DmoEWum3.min.js → revolugo.langpickerbtn.DyJ4Olno.min.js} +31 -32
  73. package/dist/revolugo.min.js +1 -1
  74. package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BlrRHScz.min.js} +4 -4
  75. package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
  76. package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.fhOF5rTL.min.js} +97 -101
  77. package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
  78. package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
  79. package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
  80. package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.D-F25G2D.min.js} +2 -2
  81. package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +90 -94
  82. package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
  83. package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
  84. package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
  85. package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
  86. package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
  87. package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
  88. package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
  89. package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
  90. package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
  91. package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
  92. package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
  93. package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
  94. package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
  95. package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
  96. package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
  97. package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
  98. package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
  99. package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
  100. package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
  101. package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.C7bJI8gr.min.js} +5 -5
  102. package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
  103. package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
  104. package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
  105. package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
  106. package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +353 -363
  107. package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
  108. package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
  109. package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
  110. package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
  111. package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
  112. package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +786 -832
  113. package/package.json +1 -1
  114. package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
  115. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  116. package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
  117. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  118. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  119. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  120. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  121. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  122. package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
  123. package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
  124. package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
  125. package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
  126. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  127. package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
  128. package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
  129. package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
  130. package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
  131. package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
  132. package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
  133. package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
  134. package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
  135. package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
  136. package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
  137. package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
  138. package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
  139. package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
  140. package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
  141. package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
  142. package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
  143. package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
  144. package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
  145. package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
  146. package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
  147. package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
  148. package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
  149. package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
  150. package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
@@ -0,0 +1,660 @@
1
+ import { V as re, c as we } from "./revolugo.vtextfield.CnjNadCm.min.js";
2
+ import { Y as se, Z as $, M as F, a as d, F as Y, z as _, aS as Se, a4 as O, a7 as ie, D as q, G as C, bV as be, aR as pe, aD as le, bD as Te, R as he, bx as oe, bW as ke, aa as Pe, aQ as xe, T as Ee, a8 as J, ab as Ce, a1 as ce, a2 as Ie, bR as ne, _ as Re, a5 as De, bP as de, bQ as fe, bT as Oe, f as Ae } from "./revolugo.index.wc.CVg-U7Gx.min.js";
3
+ import { b as Le } from "./revolugo.vinput.Bh9hEdMF.min.js";
4
+ import { f as _e } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
5
+ import { u as Fe, m as Be, a as Me, V as ve } from "./revolugo.vlist.BMwn1ihP.min.js";
6
+ import { w as ge, u as ue, m as ye, n as He, x as Ue, o as Ne, p as qe } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
7
+ import { V as ze } from "./revolugo.dialog-transition.K64Up6o5.min.js";
8
+ import { V as me } from "./revolugo.vicon.DGbfBJIw.min.js";
9
+ import { V as Ke } from "./revolugo.vmenu.ByEEPO9y.min.js";
10
+ import { a as Ye } from "./revolugo.vcheckboxbtn.DLdpGWrK.min.js";
11
+ import { h as $e, a as je } from "./revolugo.index.bIefP9Di.min.js";
12
+ import { V as Ge } from "./revolugo.btag.D9PcRagV.min.js";
13
+ function Ve(e) {
14
+ try {
15
+ if (typeof document < "u") {
16
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
17
+ sheets: [],
18
+ components: []
19
+ };
20
+ const u = import.meta.url, a = u.slice(0, u.lastIndexOf("/") + 1) + e;
21
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
22
+ for (const r of REVOLUGO_ELEMENTS_STYLES.components)
23
+ r(a);
24
+ if (e.indexOf("fonts") >= 0) {
25
+ const r = document.createElement("link");
26
+ r.rel = "stylesheet", linK.href = a, document.head.appendChild(r);
27
+ }
28
+ }
29
+ } catch (u) {
30
+ console.error("[revolugo-elements] ", u);
31
+ }
32
+ }
33
+ const We = $({
34
+ renderless: Boolean,
35
+ ...ye()
36
+ }, "VVirtualScrollItem"), Qe = se()({
37
+ name: "VVirtualScrollItem",
38
+ inheritAttrs: !1,
39
+ props: We(),
40
+ emits: {
41
+ "update:height": (e) => !0
42
+ },
43
+ setup(e, u) {
44
+ let {
45
+ attrs: a,
46
+ emit: r,
47
+ slots: s
48
+ } = u;
49
+ const {
50
+ resizeRef: m,
51
+ contentRect: h
52
+ } = ge(void 0, "border");
53
+ F(() => h.value?.height, (i) => {
54
+ i != null && r("update:height", i);
55
+ }), ue(() => e.renderless ? d(Y, null, [s.default?.({
56
+ itemRef: m
57
+ })]) : d("div", _({
58
+ ref: m,
59
+ class: ["v-virtual-scroll__item", e.class],
60
+ style: e.style
61
+ }, a), [s.default?.()]));
62
+ }
63
+ }), Xe = -1, Ze = 1, ae = 100, Je = $({
64
+ itemHeight: {
65
+ type: [Number, String],
66
+ default: null
67
+ },
68
+ height: [Number, String]
69
+ }, "virtual");
70
+ function et(e, u) {
71
+ const a = Se(), r = O(0);
72
+ ie(() => {
73
+ r.value = parseFloat(e.itemHeight || 0);
74
+ });
75
+ const s = O(0), m = O(Math.ceil(
76
+ // Assume 16px items filling the entire screen height if
77
+ // not provided. This is probably incorrect but it minimises
78
+ // the chance of ending up with empty space at the bottom.
79
+ // The default value is set here to avoid poisoning getSize()
80
+ (parseInt(e.height) || a.height.value) / (r.value || 16)
81
+ ) || 1), h = O(0), i = O(0), n = q(), V = q();
82
+ let k = 0;
83
+ const {
84
+ resizeRef: P,
85
+ contentRect: c
86
+ } = ge();
87
+ ie(() => {
88
+ P.value = n.value;
89
+ });
90
+ const I = C(() => n.value === document.documentElement ? a.height.value : c.value?.height || parseInt(e.height) || 0), A = C(() => !!(n.value && V.value && I.value && r.value));
91
+ let T = Array.from({
92
+ length: u.value.length
93
+ }), g = Array.from({
94
+ length: u.value.length
95
+ });
96
+ const w = O(0);
97
+ let D = -1;
98
+ function j(t) {
99
+ return T[t] || r.value;
100
+ }
101
+ const x = be(() => {
102
+ const t = performance.now();
103
+ g[0] = 0;
104
+ const o = u.value.length;
105
+ for (let y = 1; y <= o - 1; y++)
106
+ g[y] = (g[y - 1] || 0) + j(y - 1);
107
+ w.value = Math.max(w.value, performance.now() - t);
108
+ }, w), G = F(A, (t) => {
109
+ t && (G(), k = V.value.offsetTop, x.immediate(), R(), ~D && he(() => {
110
+ oe && window.requestAnimationFrame(() => {
111
+ Z(D), D = -1;
112
+ });
113
+ }));
114
+ });
115
+ pe(() => {
116
+ x.clear();
117
+ });
118
+ function ee(t, o) {
119
+ const y = T[t], p = r.value;
120
+ r.value = p ? Math.min(r.value, o) : o, (y !== o || p !== r.value) && (T[t] = o, x());
121
+ }
122
+ function S(t) {
123
+ return t = le(t, 0, u.value.length - 1), g[t] || 0;
124
+ }
125
+ function W(t) {
126
+ return tt(g, t);
127
+ }
128
+ let B = 0, L = 0, z = 0;
129
+ F(I, (t, o) => {
130
+ o && (R(), t < o && requestAnimationFrame(() => {
131
+ L = 0, R();
132
+ }));
133
+ });
134
+ let M = -1;
135
+ function H() {
136
+ if (!n.value || !V.value) return;
137
+ const t = n.value.scrollTop, o = performance.now();
138
+ o - z > 500 ? (L = Math.sign(t - B), k = V.value.offsetTop) : L = t - B, B = t, z = o, window.clearTimeout(M), M = window.setTimeout(Q, 500), R();
139
+ }
140
+ function Q() {
141
+ !n.value || !V.value || (L = 0, z = 0, window.clearTimeout(M), R());
142
+ }
143
+ let X = -1;
144
+ function R() {
145
+ cancelAnimationFrame(X), X = requestAnimationFrame(te);
146
+ }
147
+ function te() {
148
+ if (!n.value || !I.value) return;
149
+ const t = B - k, o = Math.sign(L), y = Math.max(0, t - ae), p = le(W(y), 0, u.value.length), f = t + I.value + ae, v = le(W(f) + 1, p + 1, u.value.length);
150
+ if (
151
+ // Only update the side we're scrolling towards,
152
+ // the other side will be updated incidentally
153
+ (o !== Xe || p < s.value) && (o !== Ze || v > m.value)
154
+ ) {
155
+ const E = S(s.value) - S(p), U = S(v) - S(m.value);
156
+ Math.max(E, U) > ae ? (s.value = p, m.value = v) : (p <= 0 && (s.value = p), v >= u.value.length && (m.value = v));
157
+ }
158
+ h.value = S(s.value), i.value = S(u.value.length) - S(m.value);
159
+ }
160
+ function Z(t) {
161
+ const o = S(t);
162
+ !n.value || t && !o ? D = t : n.value.scrollTop = o;
163
+ }
164
+ const l = C(() => u.value.slice(s.value, m.value).map((t, o) => ({
165
+ raw: t,
166
+ index: o + s.value,
167
+ key: Te(t) && "value" in t ? t.value : o + s.value
168
+ })));
169
+ return F(u, () => {
170
+ T = Array.from({
171
+ length: u.value.length
172
+ }), g = Array.from({
173
+ length: u.value.length
174
+ }), x.immediate(), R();
175
+ }, {
176
+ deep: !0
177
+ }), {
178
+ calculateVisibleItems: R,
179
+ containerRef: n,
180
+ markerRef: V,
181
+ computedItems: l,
182
+ paddingTop: h,
183
+ paddingBottom: i,
184
+ scrollToIndex: Z,
185
+ handleScroll: H,
186
+ handleScrollend: Q,
187
+ handleItemResize: ee
188
+ };
189
+ }
190
+ function tt(e, u) {
191
+ let a = e.length - 1, r = 0, s = 0, m = null, h = -1;
192
+ if (e[a] < u)
193
+ return a;
194
+ for (; r <= a; )
195
+ if (s = r + a >> 1, m = e[s], m > u)
196
+ a = s - 1;
197
+ else if (m < u)
198
+ h = s, r = s + 1;
199
+ else return m === u ? s : r;
200
+ return h;
201
+ }
202
+ const lt = $({
203
+ items: {
204
+ type: Array,
205
+ default: () => []
206
+ },
207
+ renderless: Boolean,
208
+ ...Je(),
209
+ ...ye(),
210
+ ...Ne()
211
+ }, "VVirtualScroll"), nt = se()({
212
+ name: "VVirtualScroll",
213
+ props: lt(),
214
+ setup(e, u) {
215
+ let {
216
+ slots: a
217
+ } = u;
218
+ const r = ke("VVirtualScroll"), {
219
+ dimensionStyles: s
220
+ } = He(e), {
221
+ calculateVisibleItems: m,
222
+ containerRef: h,
223
+ markerRef: i,
224
+ handleScroll: n,
225
+ handleScrollend: V,
226
+ handleItemResize: k,
227
+ scrollToIndex: P,
228
+ paddingTop: c,
229
+ paddingBottom: I,
230
+ computedItems: A
231
+ } = et(e, Pe(e, "items"));
232
+ return xe(() => e.renderless, () => {
233
+ function T() {
234
+ const w = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
235
+ h.value === document.documentElement ? (document[w]("scroll", n, {
236
+ passive: !0
237
+ }), document[w]("scrollend", V)) : (h.value?.[w]("scroll", n, {
238
+ passive: !0
239
+ }), h.value?.[w]("scrollend", V));
240
+ }
241
+ Ee(() => {
242
+ h.value = Ue(r.vnode.el, !0), T(!0);
243
+ }), pe(T);
244
+ }), ue(() => {
245
+ const T = A.value.map((g) => d(Qe, {
246
+ key: g.key,
247
+ renderless: e.renderless,
248
+ "onUpdate:height": (w) => k(g.index, w)
249
+ }, {
250
+ default: (w) => a.default?.({
251
+ item: g.raw,
252
+ index: g.index,
253
+ ...w
254
+ })
255
+ }));
256
+ return e.renderless ? d(Y, null, [d("div", {
257
+ ref: i,
258
+ class: "v-virtual-scroll__spacer",
259
+ style: {
260
+ paddingTop: J(c.value)
261
+ }
262
+ }, null), T, d("div", {
263
+ class: "v-virtual-scroll__spacer",
264
+ style: {
265
+ paddingBottom: J(I.value)
266
+ }
267
+ }, null)]) : d("div", {
268
+ ref: h,
269
+ class: ["v-virtual-scroll", e.class],
270
+ onScrollPassive: n,
271
+ onScrollend: V,
272
+ style: [s.value, e.style]
273
+ }, [d("div", {
274
+ ref: i,
275
+ class: "v-virtual-scroll__container",
276
+ style: {
277
+ paddingTop: J(c.value),
278
+ paddingBottom: J(I.value)
279
+ }
280
+ }, [T])]);
281
+ }), {
282
+ calculateVisibleItems: m,
283
+ scrollToIndex: P
284
+ };
285
+ }
286
+ });
287
+ function at(e, u) {
288
+ const a = O(!1);
289
+ let r;
290
+ function s(i) {
291
+ cancelAnimationFrame(r), a.value = !0, r = requestAnimationFrame(() => {
292
+ r = requestAnimationFrame(() => {
293
+ a.value = !1;
294
+ });
295
+ });
296
+ }
297
+ async function m() {
298
+ await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => {
299
+ if (a.value) {
300
+ const n = F(a, () => {
301
+ n(), i();
302
+ });
303
+ } else i();
304
+ });
305
+ }
306
+ async function h(i) {
307
+ if (i.key === "Tab" && u.value?.focus(), !["PageDown", "PageUp", "Home", "End"].includes(i.key)) return;
308
+ const n = e.value?.$el;
309
+ if (!n) return;
310
+ (i.key === "Home" || i.key === "End") && n.scrollTo({
311
+ top: i.key === "Home" ? 0 : n.scrollHeight,
312
+ behavior: "smooth"
313
+ }), await m();
314
+ const V = n.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
315
+ if (i.key === "PageDown" || i.key === "Home") {
316
+ const k = n.getBoundingClientRect().top;
317
+ for (const P of V)
318
+ if (P.getBoundingClientRect().top >= k) {
319
+ P.focus();
320
+ break;
321
+ }
322
+ } else {
323
+ const k = n.getBoundingClientRect().bottom;
324
+ for (const P of [...V].reverse())
325
+ if (P.getBoundingClientRect().bottom <= k) {
326
+ P.focus();
327
+ break;
328
+ }
329
+ }
330
+ }
331
+ return {
332
+ onScrollPassive: s,
333
+ onKeydown: h
334
+ };
335
+ }
336
+ const ot = $({
337
+ chips: Boolean,
338
+ closableChips: Boolean,
339
+ closeText: {
340
+ type: String,
341
+ default: "$vuetify.close"
342
+ },
343
+ openText: {
344
+ type: String,
345
+ default: "$vuetify.open"
346
+ },
347
+ eager: Boolean,
348
+ hideNoData: Boolean,
349
+ hideSelected: Boolean,
350
+ listProps: {
351
+ type: Object
352
+ },
353
+ menu: Boolean,
354
+ menuIcon: {
355
+ type: Re,
356
+ default: "$dropdown"
357
+ },
358
+ menuProps: {
359
+ type: Object
360
+ },
361
+ multiple: Boolean,
362
+ noDataText: {
363
+ type: String,
364
+ default: "$vuetify.noDataText"
365
+ },
366
+ openOnClear: Boolean,
367
+ itemColor: String,
368
+ ...Be({
369
+ itemChildren: !1
370
+ })
371
+ }, "Select"), st = $({
372
+ ...ot(),
373
+ ...De(we({
374
+ modelValue: null,
375
+ role: "combobox"
376
+ }), ["validationValue", "dirty", "appendInnerIcon"]),
377
+ ...qe({
378
+ transition: {
379
+ component: ze
380
+ }
381
+ })
382
+ }, "VSelect"), Vt = se()({
383
+ name: "VSelect",
384
+ props: st(),
385
+ emits: {
386
+ "update:focused": (e) => !0,
387
+ "update:modelValue": (e) => !0,
388
+ "update:menu": (e) => !0
389
+ },
390
+ setup(e, u) {
391
+ let {
392
+ slots: a
393
+ } = u;
394
+ const {
395
+ t: r
396
+ } = Ce(), s = q(), m = q(), h = q(), i = ce(e, "menu"), n = C({
397
+ get: () => i.value,
398
+ set: (l) => {
399
+ i.value && !l && m.value?.ΨopenChildren.size || (i.value = l);
400
+ }
401
+ }), {
402
+ items: V,
403
+ transformIn: k,
404
+ transformOut: P
405
+ } = Fe(e), c = ce(e, "modelValue", [], (l) => k(l === null ? [null] : Ie(l)), (l) => {
406
+ const t = P(l);
407
+ return e.multiple ? t : t[0] ?? null;
408
+ }), I = C(() => typeof e.counterValue == "function" ? e.counterValue(c.value) : typeof e.counterValue == "number" ? e.counterValue : c.value.length), A = Le(e), T = C(() => c.value.map((l) => l.value)), g = O(!1), w = C(() => n.value ? e.closeText : e.openText);
409
+ let D = "", j;
410
+ const x = C(() => e.hideSelected ? V.value.filter((l) => !c.value.some((t) => (e.valueComparator || ne)(t, l))) : V.value), G = C(() => e.hideNoData && !x.value.length || A.isReadonly.value || A.isDisabled.value), ee = C(() => ({
411
+ ...e.menuProps,
412
+ activatorProps: {
413
+ ...e.menuProps?.activatorProps || {},
414
+ "aria-haspopup": "listbox"
415
+ // Set aria-haspopup to 'listbox'
416
+ }
417
+ })), S = q(), W = at(S, s);
418
+ function B(l) {
419
+ e.openOnClear && (n.value = !0);
420
+ }
421
+ function L() {
422
+ G.value || (n.value = !n.value);
423
+ }
424
+ function z(l) {
425
+ de(l) && M(l);
426
+ }
427
+ function M(l) {
428
+ if (!l.key || A.isReadonly.value) return;
429
+ ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && l.preventDefault(), ["Enter", "ArrowDown", " "].includes(l.key) && (n.value = !0), ["Escape", "Tab"].includes(l.key) && (n.value = !1), l.key === "Home" ? S.value?.focus("first") : l.key === "End" && S.value?.focus("last");
430
+ const t = 1e3;
431
+ if (!de(l)) return;
432
+ const o = performance.now();
433
+ o - j > t && (D = ""), D += l.key.toLowerCase(), j = o;
434
+ const y = V.value.find((p) => p.title.toLowerCase().startsWith(D));
435
+ if (y !== void 0) {
436
+ c.value = [y];
437
+ const p = x.value.indexOf(y);
438
+ oe && window.requestAnimationFrame(() => {
439
+ p >= 0 && h.value?.scrollToIndex(p);
440
+ });
441
+ }
442
+ }
443
+ function H(l) {
444
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
445
+ if (!l.props.disabled)
446
+ if (e.multiple) {
447
+ const o = c.value.findIndex((p) => (e.valueComparator || ne)(p.value, l.value)), y = t ?? !~o;
448
+ if (~o) {
449
+ const p = y ? [...c.value, l] : [...c.value];
450
+ p.splice(o, 1), c.value = p;
451
+ } else y && (c.value = [...c.value, l]);
452
+ } else {
453
+ const o = t !== !1;
454
+ c.value = o ? [l] : [], he(() => {
455
+ n.value = !1;
456
+ });
457
+ }
458
+ }
459
+ function Q(l) {
460
+ S.value?.$el.contains(l.relatedTarget) || (n.value = !1);
461
+ }
462
+ function X() {
463
+ e.eager && h.value?.calculateVisibleItems();
464
+ }
465
+ function R() {
466
+ g.value && s.value?.focus();
467
+ }
468
+ function te(l) {
469
+ g.value = !0;
470
+ }
471
+ function Z(l) {
472
+ if (l == null) c.value = [];
473
+ else if (fe(s.value, ":autofill") || fe(s.value, ":-webkit-autofill")) {
474
+ const t = V.value.find((o) => o.title === l);
475
+ t && H(t);
476
+ } else s.value && (s.value.value = "");
477
+ }
478
+ return F(n, () => {
479
+ if (!e.hideSelected && n.value && c.value.length) {
480
+ const l = x.value.findIndex((t) => c.value.some((o) => (e.valueComparator || ne)(o.value, t.value)));
481
+ oe && window.requestAnimationFrame(() => {
482
+ l >= 0 && h.value?.scrollToIndex(l);
483
+ });
484
+ }
485
+ }), F(() => e.items, (l, t) => {
486
+ n.value || g.value && !t.length && l.length && (n.value = !0);
487
+ }), ue(() => {
488
+ const l = !!(e.chips || a.chip), t = !!(!e.hideNoData || x.value.length || a["prepend-item"] || a["append-item"] || a["no-data"]), o = c.value.length > 0, y = re.filterProps(e), p = o || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
489
+ return d(re, _({
490
+ ref: s
491
+ }, y, {
492
+ modelValue: c.value.map((f) => f.props.value).join(", "),
493
+ "onUpdate:modelValue": Z,
494
+ focused: g.value,
495
+ "onUpdate:focused": (f) => g.value = f,
496
+ validationValue: c.externalValue,
497
+ counterValue: I.value,
498
+ dirty: o,
499
+ class: ["v-select", {
500
+ "v-select--active-menu": n.value,
501
+ "v-select--chips": !!e.chips,
502
+ [`v-select--${e.multiple ? "multiple" : "single"}`]: !0,
503
+ "v-select--selected": c.value.length,
504
+ "v-select--selection-slot": !!a.selection
505
+ }, e.class],
506
+ style: e.style,
507
+ inputmode: "none",
508
+ placeholder: p,
509
+ "onClick:clear": B,
510
+ "onMousedown:control": L,
511
+ onBlur: Q,
512
+ onKeydown: M,
513
+ "aria-label": r(w.value),
514
+ title: r(w.value)
515
+ }), {
516
+ ...a,
517
+ default: () => d(Y, null, [d(Ke, _({
518
+ ref: m,
519
+ modelValue: n.value,
520
+ "onUpdate:modelValue": (f) => n.value = f,
521
+ activator: "parent",
522
+ contentClass: "v-select__content",
523
+ disabled: G.value,
524
+ eager: e.eager,
525
+ maxHeight: 310,
526
+ openOnClick: !1,
527
+ closeOnContentClick: !1,
528
+ transition: e.transition,
529
+ onAfterEnter: X,
530
+ onAfterLeave: R
531
+ }, ee.value), {
532
+ default: () => [t && d(Me, _({
533
+ ref: S,
534
+ selected: T.value,
535
+ selectStrategy: e.multiple ? "independent" : "single-independent",
536
+ onMousedown: (f) => f.preventDefault(),
537
+ onKeydown: z,
538
+ onFocusin: te,
539
+ tabindex: "-1",
540
+ "aria-live": "polite",
541
+ color: e.itemColor ?? e.color
542
+ }, W, e.listProps), {
543
+ default: () => [a["prepend-item"]?.(), !x.value.length && !e.hideNoData && (a["no-data"]?.() ?? d(ve, {
544
+ key: "no-data",
545
+ title: r(e.noDataText)
546
+ }, null)), d(nt, {
547
+ ref: h,
548
+ renderless: !0,
549
+ items: x.value
550
+ }, {
551
+ default: (f) => {
552
+ let {
553
+ item: v,
554
+ index: E,
555
+ itemRef: U
556
+ } = f;
557
+ const N = _(v.props, {
558
+ ref: U,
559
+ key: v.value,
560
+ onClick: () => H(v, null)
561
+ });
562
+ return a.item?.({
563
+ item: v,
564
+ index: E,
565
+ props: N
566
+ }) ?? d(ve, _(N, {
567
+ role: "option"
568
+ }), {
569
+ prepend: (K) => {
570
+ let {
571
+ isSelected: b
572
+ } = K;
573
+ return d(Y, null, [e.multiple && !e.hideSelected ? d(Ye, {
574
+ key: v.value,
575
+ modelValue: b,
576
+ ripple: !1,
577
+ tabindex: "-1"
578
+ }, null) : void 0, v.props.prependAvatar && d($e, {
579
+ image: v.props.prependAvatar
580
+ }, null), v.props.prependIcon && d(me, {
581
+ icon: v.props.prependIcon
582
+ }, null)]);
583
+ }
584
+ });
585
+ }
586
+ }), a["append-item"]?.()]
587
+ })]
588
+ }), c.value.map((f, v) => {
589
+ function E(b) {
590
+ b.stopPropagation(), b.preventDefault(), H(f, !1);
591
+ }
592
+ const U = {
593
+ "onClick:close": E,
594
+ onKeydown(b) {
595
+ b.key !== "Enter" && b.key !== " " || (b.preventDefault(), b.stopPropagation(), E(b));
596
+ },
597
+ onMousedown(b) {
598
+ b.preventDefault(), b.stopPropagation();
599
+ },
600
+ modelValue: !0,
601
+ "onUpdate:modelValue": void 0
602
+ }, N = l ? !!a.chip : !!a.selection, K = N ? Oe(l ? a.chip({
603
+ item: f,
604
+ index: v,
605
+ props: U
606
+ }) : a.selection({
607
+ item: f,
608
+ index: v
609
+ })) : void 0;
610
+ if (!(N && !K))
611
+ return d("div", {
612
+ key: f.value,
613
+ class: "v-select__selection"
614
+ }, [l ? a.chip ? d(je, {
615
+ key: "chip-defaults",
616
+ defaults: {
617
+ VChip: {
618
+ closable: e.closableChips,
619
+ size: "small",
620
+ text: f.title
621
+ }
622
+ }
623
+ }, {
624
+ default: () => [K]
625
+ }) : d(Ge, _({
626
+ key: "chip",
627
+ closable: e.closableChips,
628
+ size: "small",
629
+ text: f.title,
630
+ disabled: f.props.disabled
631
+ }, U), null) : K ?? d("span", {
632
+ class: "v-select__selection-text"
633
+ }, [f.title, e.multiple && v < c.value.length - 1 && d("span", {
634
+ class: "v-select__selection-comma"
635
+ }, [Ae(",")])])]);
636
+ })]),
637
+ "append-inner": function() {
638
+ for (var f = arguments.length, v = new Array(f), E = 0; E < f; E++)
639
+ v[E] = arguments[E];
640
+ return d(Y, null, [a["append-inner"]?.(...v), e.menuIcon ? d(me, {
641
+ class: "v-select__menu-icon",
642
+ icon: e.menuIcon
643
+ }, null) : void 0]);
644
+ }
645
+ });
646
+ }), _e({
647
+ isFocused: g,
648
+ menu: n,
649
+ select: H
650
+ }, s);
651
+ }
652
+ });
653
+ Ve("css/revolugo.vselect.C5CKHFYB.css");
654
+ export {
655
+ Vt as V,
656
+ nt as a,
657
+ ot as m,
658
+ at as u
659
+ };
660
+ //# sourceMappingURL=revolugo.vselect.Dzd6zNRa.min.js.map
@@ -1,7 +1,7 @@
1
- import { c as E, u as S, b as h, a as v, m as f, d as k } from "./revolugo.rounded.CQuigzpH.min.js";
2
- import { b as L, n as p, u as C, e as P, o as T, m as y } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
3
- import { l as O, n as V, o as g, p as R } from "./revolugo.index.Dyr1hnew.min.js";
4
- import { Y as _, Z as w, aI as b, aa as N, a as U, aK as Y } from "./revolugo.index.wc.BaFPloEH.min.js";
1
+ import { c as E, u as S, b as h, a as v, m as f, d as k } from "./revolugo.rounded.CdTdATPg.min.js";
2
+ import { b as L, n as p, u as C, e as P, o as T, m as y } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
3
+ import { l as O, n as V, o as g, p as R } from "./revolugo.index.bIefP9Di.min.js";
4
+ import { Y as _, Z as w, aI as b, aa as N, a as U, aK as Y } from "./revolugo.index.wc.CVg-U7Gx.min.js";
5
5
  function d(e) {
6
6
  try {
7
7
  if (typeof document < "u") {
@@ -69,4 +69,4 @@ export {
69
69
  j as V,
70
70
  G as m
71
71
  };
72
- //# sourceMappingURL=revolugo.vsheet.H2Eli2di.min.js.map
72
+ //# sourceMappingURL=revolugo.vsheet.C7bJI8gr.min.js.map