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

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 (154) 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.hotelroomofferlist.Dh1OAA7W.css +1 -0
  5. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  6. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  7. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  8. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  9. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  10. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  11. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  12. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
  13. package/dist/index.es.min.js +1927 -2144
  14. package/dist/index.es.min.js.map +1 -1
  15. package/dist/index.min.js +6 -6
  16. package/dist/index.min.js.map +1 -1
  17. package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.6H9boq3g.min.js} +3 -3
  18. package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.BLIe136S.min.js} +9 -9
  19. package/dist/revolugo.bdaterangepicker.Hf5naLtO.min.js +8328 -0
  20. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js} +32 -36
  21. package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.DicKWcI_.min.js} +1672 -1766
  22. package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.BZUH-ZM3.min.js} +79 -83
  23. package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.C0QSx8nR.min.js} +116 -119
  24. package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.i3XKJie3.min.js} +165 -174
  25. package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.La43Csfa.min.js} +4 -4
  26. package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.pzLkF0dO.min.js} +207 -221
  27. package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.Sx2krZHP.min.js} +429 -463
  28. package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.DoLktkiO.min.js} +4 -4
  29. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DkRSrr6-.min.js} +148 -157
  30. package/dist/revolugo.btag.DqKCcO64.min.js +375 -0
  31. package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.CDsOorfl.min.js} +86 -95
  32. package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js} +4 -4
  33. package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.M5d1D5ot.min.js} +9 -9
  34. package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.v9YSV-JD.min.js} +4 -4
  35. package/dist/revolugo.case-transformers.CZexLFCC.min.js +123 -0
  36. package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.BwNdpOYa.min.js} +4 -4
  37. package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DIm8PFZB.min.js} +38 -51
  38. package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.B-Pu0q9P.min.js} +4 -4
  39. package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.CXpVfsjF.min.js} +152 -162
  40. package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.CYlyvR4X.min.js} +7 -7
  41. package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.BT6jQ33A.min.js} +4 -4
  42. package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.D-qAsHj-.min.js} +42 -45
  43. package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.xStfx1ax.min.js} +2 -2
  44. package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.DhGjpV86.min.js} +5 -6
  45. package/dist/revolugo.dialog-transition.Bcw3NUGf.min.js +111 -0
  46. package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.BvOeLD5-.min.js} +6 -6
  47. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  48. package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.CXY4HX1N.min.js} +122 -128
  49. package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.Ckk1mKtM.min.js} +18 -18
  50. package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BEjBGuX8.min.js} +591 -623
  51. package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.Dup60cXR.min.js} +4 -4
  52. package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.BHmFEPSg.min.js} +12 -12
  53. package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.Bx4nX-96.min.js} +1563 -1693
  54. package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.C6LDBssl.min.js} +4 -4
  55. package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js} +5 -5
  56. package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.CCwN9-vq.min.js} +9 -9
  57. package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CIKwD_xJ.min.js} +4 -4
  58. package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js} +563 -574
  59. package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.B173js2k.min.js} +123 -128
  60. package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.BqnmWsMz.min.js} +4 -4
  61. package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.BZXX-P21.min.js} +4 -4
  62. package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.DRs28YA0.min.js} +879 -958
  63. package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js} +6 -6
  64. package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js} +333 -358
  65. package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js} +5 -5
  66. package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js} +34 -36
  67. package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.DLI5HjEV.min.js} +4 -4
  68. package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.DjawPPhb.min.js} +67 -70
  69. package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.DmlGotxY.min.js} +406 -429
  70. package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.WVpKRxMB.min.js} +6421 -6529
  71. package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.DH2bznjc.min.js} +24 -27
  72. package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.DZv8SOmQ.min.js} +4 -4
  73. package/dist/revolugo.langpickerbtn._diECV_y.min.js +114 -0
  74. package/dist/revolugo.min.js +1 -1
  75. package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BuwB3BVA.min.js} +4 -4
  76. package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.Bcz1mlsa.min.js} +4 -4
  77. package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.Bj_b0HkS.min.js} +98 -102
  78. package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.C0Rz5zK-.min.js} +98 -104
  79. package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.C2Q0WwI8.min.js} +4 -4
  80. package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.9zOj37mK.min.js} +2 -2
  81. package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.Dobig8z2.min.js} +2 -2
  82. package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.mGWlvD2d.min.js} +98 -102
  83. package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.TXeTt1Nc.min.js} +4 -4
  84. package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.X_g9eXJQ.min.js} +52 -55
  85. package/dist/revolugo.use-breakpoint-service.B4fTuJ-m.min.js +39 -0
  86. package/dist/revolugo.use-dialog-attach.Clv6_XDd.min.js +16 -0
  87. package/dist/revolugo.use-html-element.BeuzybMb.min.js +11 -0
  88. package/dist/revolugo.vautocomplete.Ct5J0tRD.min.js +445 -0
  89. package/dist/revolugo.vbadge.QbwE0z0S.min.js +112 -0
  90. package/dist/revolugo.vbtn.wY8QdelT.min.js +398 -0
  91. package/dist/revolugo.vcard.B-jDhizq.min.js +313 -0
  92. package/dist/revolugo.vcheckboxbtn.DOldzxr3.min.js +478 -0
  93. package/dist/revolugo.vdialog.TOtJcCR5.min.js +133 -0
  94. package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C5hf52x9.min.js} +3 -3
  95. package/dist/revolugo.vexpansionpanels.rpkSdxyn.min.js +262 -0
  96. package/dist/revolugo.vform.D9o42qf6.min.js +46 -0
  97. package/dist/revolugo.vicon.DNDpBQSo.min.js +105 -0
  98. package/dist/revolugo.vinput.Z7Yl1GBk.min.js +463 -0
  99. package/dist/revolugo.vlabel.Bv07dXLJ.min.js +48 -0
  100. package/dist/revolugo.vlist.Dc4CBbyk.min.js +1299 -0
  101. package/dist/revolugo.vmenu.M77T6yV3.min.js +145 -0
  102. package/dist/revolugo.vselect.ho1sqVZQ.min.js +660 -0
  103. package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.gTN06v3j.min.js} +11 -11
  104. package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.CiGvw4Fx.min.js} +57 -58
  105. package/dist/revolugo.vslidegroup.BmHjyRja.min.js +325 -0
  106. package/dist/revolugo.vsnackbar.j4tc9aCn.min.js +198 -0
  107. package/dist/revolugo.vspacer.B5ih922c.min.js +7 -0
  108. package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.V23aCbtI.min.js} +361 -371
  109. package/dist/revolugo.vtextfield.BKLBPM7L.min.js +501 -0
  110. package/dist/revolugo.vtoolbar.Csrzhb69.min.js +180 -0
  111. package/dist/revolugo.vtooltip.D5h38LhM.min.js +89 -0
  112. package/dist/revolugo.vwindowitem.DwV9VIGY.min.js +317 -0
  113. package/dist/revolugo.watch-list.dDO5YYYm.min.js +16 -0
  114. package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.Ggu2FW__.min.js} +779 -825
  115. package/package.json +1 -1
  116. package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
  117. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  118. package/dist/css/revolugo.hotelroomofferlist.CCKyS5V3.css +0 -1
  119. package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
  120. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  121. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  122. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  123. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  124. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  125. package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
  126. package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
  127. package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
  128. package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
  129. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  130. package/dist/revolugo.langpickerbtn.DmoEWum3.min.js +0 -126
  131. package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
  132. package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
  133. package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
  134. package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
  135. package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
  136. package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
  137. package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
  138. package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
  139. package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
  140. package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
  141. package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
  142. package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
  143. package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
  144. package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
  145. package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
  146. package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
  147. package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
  148. package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
  149. package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
  150. package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
  151. package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
  152. package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
  153. package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
  154. package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
@@ -1,333 +0,0 @@
1
- import { j as le, k as oe, b as H } from "./revolugo.index.Dyr1hnew.min.js";
2
- import { w as U, u as ne, e as se, m as re } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
3
- import { Y as ie, Z as ae, aC as ue, aS as ce, a4 as y, D as S, cu as fe, bx as N, L as de, a as h, aU as ve, _ as D, c7 as pe } from "./revolugo.index.wc.BaFPloEH.min.js";
4
- import { V as Y } from "./revolugo.vicon.CuIGTijn.min.js";
5
- function te(l) {
6
- try {
7
- if (typeof document < "u") {
8
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
9
- sheets: [],
10
- components: []
11
- };
12
- const o = import.meta.url, n = o.slice(0, o.lastIndexOf("/") + 1) + l;
13
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
14
- for (const r of REVOLUGO_ELEMENTS_STYLES.components)
15
- r(n);
16
- if (l.indexOf("fonts") >= 0) {
17
- const r = document.createElement("link");
18
- r.rel = "stylesheet", linK.href = n, document.head.appendChild(r);
19
- }
20
- }
21
- } catch (o) {
22
- console.error("[revolugo-elements] ", o);
23
- }
24
- }
25
- function he(l) {
26
- let {
27
- selectedElement: o,
28
- containerElement: n,
29
- isRtl: r,
30
- isHorizontal: d
31
- } = l;
32
- const v = E(d, n), i = B(d, r, n), p = E(d, o), c = K(d, o), g = p * 0.4;
33
- return i > c ? c - g : i + v < c + p ? c - v + p + g : i;
34
- }
35
- function Se(l) {
36
- let {
37
- selectedElement: o,
38
- containerElement: n,
39
- isHorizontal: r
40
- } = l;
41
- const d = E(r, n), v = K(r, o), i = E(r, o);
42
- return v - d / 2 + i / 2;
43
- }
44
- function q(l, o) {
45
- const n = l ? "scrollWidth" : "scrollHeight";
46
- return (o == null ? void 0 : o[n]) || 0;
47
- }
48
- function ge(l, o) {
49
- const n = l ? "clientWidth" : "clientHeight";
50
- return (o == null ? void 0 : o[n]) || 0;
51
- }
52
- function B(l, o, n) {
53
- if (!n)
54
- return 0;
55
- const {
56
- scrollLeft: r,
57
- offsetWidth: d,
58
- scrollWidth: v
59
- } = n;
60
- return l ? o ? v - d + r : r : n.scrollTop;
61
- }
62
- function E(l, o) {
63
- const n = l ? "offsetWidth" : "offsetHeight";
64
- return (o == null ? void 0 : o[n]) || 0;
65
- }
66
- function K(l, o) {
67
- const n = l ? "offsetLeft" : "offsetTop";
68
- return (o == null ? void 0 : o[n]) || 0;
69
- }
70
- const me = Symbol.for("vuetify:v-slide-group"), ye = ae({
71
- centerActive: Boolean,
72
- direction: {
73
- type: String,
74
- default: "horizontal"
75
- },
76
- symbol: {
77
- type: null,
78
- default: me
79
- },
80
- nextIcon: {
81
- type: D,
82
- default: "$next"
83
- },
84
- prevIcon: {
85
- type: D,
86
- default: "$prev"
87
- },
88
- showArrows: {
89
- type: [Boolean, String],
90
- validator: (l) => typeof l == "boolean" || ["always", "desktop", "mobile"].includes(l)
91
- },
92
- ...re(),
93
- ...ve({
94
- mobile: null
95
- }),
96
- ...se(),
97
- ...oe({
98
- selectedClass: "v-slide-group-item--active"
99
- })
100
- }, "VSlideGroup"), we = ie()({
101
- name: "VSlideGroup",
102
- props: ye(),
103
- emits: {
104
- "update:modelValue": (l) => !0
105
- },
106
- setup(l, o) {
107
- let {
108
- slots: n
109
- } = o;
110
- const {
111
- isRtl: r
112
- } = ue(), {
113
- displayClasses: d,
114
- mobile: v
115
- } = ce(l), i = le(l, l.symbol), p = y(!1), c = y(0), g = y(0), F = y(0), a = S(() => l.direction === "horizontal"), {
116
- resizeRef: u,
117
- contentRect: z
118
- } = U(), {
119
- resizeRef: f,
120
- contentRect: w
121
- } = U(), I = fe(), M = S(() => ({
122
- container: u.el,
123
- duration: 200,
124
- easing: "easeOutQuart"
125
- })), j = S(() => i.selected.value.length ? i.items.value.findIndex((t) => t.id === i.selected.value[0]) : -1), $ = S(() => i.selected.value.length ? i.items.value.findIndex((t) => t.id === i.selected.value[i.selected.value.length - 1]) : -1);
126
- if (N) {
127
- let t = -1;
128
- de(() => [i.selected.value, z.value, w.value, a.value], () => {
129
- cancelAnimationFrame(t), t = requestAnimationFrame(() => {
130
- if (z.value && w.value) {
131
- const e = a.value ? "width" : "height";
132
- g.value = z.value[e], F.value = w.value[e], p.value = g.value + 1 < F.value;
133
- }
134
- if (j.value >= 0 && f.el) {
135
- const e = f.el.children[$.value];
136
- P(e, l.centerActive);
137
- }
138
- });
139
- });
140
- }
141
- const x = y(!1);
142
- function P(t, e) {
143
- let s = 0;
144
- e ? s = Se({
145
- containerElement: u.el,
146
- isHorizontal: a.value,
147
- selectedElement: t
148
- }) : s = he({
149
- containerElement: u.el,
150
- isHorizontal: a.value,
151
- isRtl: r.value,
152
- selectedElement: t
153
- }), G(s);
154
- }
155
- function G(t) {
156
- if (!N || !u.el) return;
157
- const e = E(a.value, u.el), s = B(a.value, r.value, u.el);
158
- if (!(q(a.value, u.el) <= e || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
159
- Math.abs(t - s) < 16)) {
160
- if (a.value && r.value && u.el) {
161
- const {
162
- scrollWidth: V,
163
- offsetWidth: A
164
- } = u.el;
165
- t = V - A - t;
166
- }
167
- a.value ? I.horizontal(t, M.value) : I(t, M.value);
168
- }
169
- }
170
- function Q(t) {
171
- const {
172
- scrollTop: e,
173
- scrollLeft: s
174
- } = t.target;
175
- c.value = a.value ? s : e;
176
- }
177
- function Z(t) {
178
- if (x.value = !0, !(!p.value || !f.el)) {
179
- for (const e of t.composedPath())
180
- for (const s of f.el.children)
181
- if (s === e) {
182
- P(s);
183
- return;
184
- }
185
- }
186
- }
187
- function J(t) {
188
- x.value = !1;
189
- }
190
- let k = !1;
191
- function X(t) {
192
- var e;
193
- !k && !x.value && !(t.relatedTarget && ((e = f.el) != null && e.contains(t.relatedTarget))) && m(), k = !1;
194
- }
195
- function W() {
196
- k = !0;
197
- }
198
- function ee(t) {
199
- if (!f.el) return;
200
- function e(s) {
201
- t.preventDefault(), m(s);
202
- }
203
- a.value ? t.key === "ArrowRight" ? e(r.value ? "prev" : "next") : t.key === "ArrowLeft" && e(r.value ? "next" : "prev") : t.key === "ArrowDown" ? e("next") : t.key === "ArrowUp" && e("prev"), t.key === "Home" ? e("first") : t.key === "End" && e("last");
204
- }
205
- function b(t, e) {
206
- if (!t) return;
207
- let s = t;
208
- do
209
- s = s == null ? void 0 : s[e === "next" ? "nextElementSibling" : "previousElementSibling"];
210
- while (s != null && s.hasAttribute("disabled"));
211
- return s;
212
- }
213
- function m(t) {
214
- if (!f.el) return;
215
- let e;
216
- if (!t)
217
- e = pe(f.el)[0];
218
- else if (t === "next") {
219
- if (e = b(f.el.querySelector(":focus"), t), !e) return m("first");
220
- } else if (t === "prev") {
221
- if (e = b(f.el.querySelector(":focus"), t), !e) return m("last");
222
- } else t === "first" ? (e = f.el.firstElementChild, e != null && e.hasAttribute("disabled") && (e = b(e, "next"))) : t === "last" && (e = f.el.lastElementChild, e != null && e.hasAttribute("disabled") && (e = b(e, "prev")));
223
- e && e.focus({
224
- preventScroll: !0
225
- });
226
- }
227
- function T(t) {
228
- const e = a.value && r.value ? -1 : 1, s = (t === "prev" ? -e : e) * g.value;
229
- let C = c.value + s;
230
- if (a.value && r.value && u.el) {
231
- const {
232
- scrollWidth: V,
233
- offsetWidth: A
234
- } = u.el;
235
- C += V - A;
236
- }
237
- G(C);
238
- }
239
- const O = S(() => ({
240
- next: i.next,
241
- prev: i.prev,
242
- select: i.select,
243
- isSelected: i.isSelected
244
- })), _ = S(() => {
245
- switch (l.showArrows) {
246
- // Always show arrows on desktop & mobile
247
- case "always":
248
- return !0;
249
- // Always show arrows on desktop
250
- case "desktop":
251
- return !v.value;
252
- // Show arrows on mobile when overflowing.
253
- // This matches the default 2.2 behavior
254
- case !0:
255
- return p.value || Math.abs(c.value) > 0;
256
- // Always show on mobile
257
- case "mobile":
258
- return v.value || p.value || Math.abs(c.value) > 0;
259
- // https://material.io/components/tabs#scrollable-tabs
260
- // Always show arrows when
261
- // overflowed on desktop
262
- default:
263
- return !v.value && (p.value || Math.abs(c.value) > 0);
264
- }
265
- }), R = S(() => Math.abs(c.value) > 1), L = S(() => {
266
- if (!u.value) return !1;
267
- const t = q(a.value, u.el), e = ge(a.value, u.el);
268
- return t - e - Math.abs(c.value) > 1;
269
- });
270
- return ne(() => h(l.tag, {
271
- class: ["v-slide-group", {
272
- "v-slide-group--vertical": !a.value,
273
- "v-slide-group--has-affixes": _.value,
274
- "v-slide-group--is-overflowing": p.value
275
- }, d.value, l.class],
276
- style: l.style,
277
- tabindex: x.value || i.selected.value.length ? -1 : 0,
278
- onFocus: X
279
- }, {
280
- default: () => {
281
- var t, e, s;
282
- return [_.value && h("div", {
283
- key: "prev",
284
- class: ["v-slide-group__prev", {
285
- "v-slide-group__prev--disabled": !R.value
286
- }],
287
- onMousedown: W,
288
- onClick: () => R.value && T("prev")
289
- }, [((t = n.prev) == null ? void 0 : t.call(n, O.value)) ?? h(H, null, {
290
- default: () => [h(Y, {
291
- icon: r.value ? l.nextIcon : l.prevIcon
292
- }, null)]
293
- })]), h("div", {
294
- key: "container",
295
- ref: u,
296
- class: "v-slide-group__container",
297
- onScroll: Q
298
- }, [h("div", {
299
- ref: f,
300
- class: "v-slide-group__content",
301
- onFocusin: Z,
302
- onFocusout: J,
303
- onKeydown: ee
304
- }, [(e = n.default) == null ? void 0 : e.call(n, O.value)])]), _.value && h("div", {
305
- key: "next",
306
- class: ["v-slide-group__next", {
307
- "v-slide-group__next--disabled": !L.value
308
- }],
309
- onMousedown: W,
310
- onClick: () => L.value && T("next")
311
- }, [((s = n.next) == null ? void 0 : s.call(n, O.value)) ?? h(H, null, {
312
- default: () => [h(Y, {
313
- icon: r.value ? l.prevIcon : l.nextIcon
314
- }, null)]
315
- })])];
316
- }
317
- })), {
318
- selected: i.selected,
319
- scrollTo: T,
320
- scrollOffset: c,
321
- focus: m,
322
- hasPrev: R,
323
- hasNext: L
324
- };
325
- }
326
- });
327
- te("css/revolugo.vslidegroup.ECiLCEE9.css");
328
- export {
329
- me as V,
330
- we as a,
331
- ye as m
332
- };
333
- //# sourceMappingURL=revolugo.vslidegroup.ChtHIkDN.min.js.map
@@ -1,201 +0,0 @@
1
- import { g as U, u as D, l as p, y as G, E as B, F as j } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
2
- import { f as F } from "./revolugo.forwardrefs.-bfQnFea.min.js";
3
- import { n as K, t as Q, v as H, o as Z, p as $, g as q, V as z, a as J } from "./revolugo.index.Dyr1hnew.min.js";
4
- import { Y as W, Z as X, a1 as ee, aI as te, C as b, a4 as E, ah as ae, aQ as ne, L as _, S as oe, cf as se, D as re, a as s, y as C, a5 as ie, aK as le, aR as ce, Q as ue, a7 as me } from "./revolugo.index.wc.BaFPloEH.min.js";
5
- import { b as ve, a as fe } from "./revolugo.rounded.CQuigzpH.min.js";
6
- function I(e) {
7
- try {
8
- if (typeof document < "u") {
9
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
- sheets: [],
11
- components: []
12
- };
13
- const o = import.meta.url, a = o.slice(0, o.lastIndexOf("/") + 1) + e;
14
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
15
- for (const t of REVOLUGO_ELEMENTS_STYLES.components)
16
- t(a);
17
- if (e.indexOf("fonts") >= 0) {
18
- const t = document.createElement("link");
19
- t.rel = "stylesheet", linK.href = a, document.head.appendChild(t);
20
- }
21
- }
22
- } catch (o) {
23
- console.error("[revolugo-elements] ", o);
24
- }
25
- }
26
- function de(e) {
27
- const o = E(e());
28
- let a = -1;
29
- function t() {
30
- clearInterval(a);
31
- }
32
- function f() {
33
- t(), ue(() => o.value = e());
34
- }
35
- function d(i) {
36
- const k = i ? getComputedStyle(i) : {
37
- transitionDuration: 0.2
38
- }, l = parseFloat(k.transitionDuration) * 1e3 || 200;
39
- if (t(), o.value <= 0) return;
40
- const y = performance.now();
41
- a = window.setInterval(() => {
42
- const S = performance.now() - y + l;
43
- o.value = Math.max(e() - S, 0), o.value <= 0 && t();
44
- }, l);
45
- }
46
- return ce(t), {
47
- clear: t,
48
- time: o,
49
- start: d,
50
- reset: f
51
- };
52
- }
53
- const ke = X({
54
- multiLine: Boolean,
55
- text: String,
56
- timer: [Boolean, String],
57
- timeout: {
58
- type: [Number, String],
59
- default: 5e3
60
- },
61
- vertical: Boolean,
62
- ...$({
63
- location: "bottom"
64
- }),
65
- ...Z(),
66
- ...fe(),
67
- ...H(),
68
- ...le(),
69
- ...ie(G({
70
- transition: "v-snackbar-transition"
71
- }), ["persistent", "noClickAnimation", "scrim", "scrollStrategy"])
72
- }, "VSnackbar"), Te = W()({
73
- name: "VSnackbar",
74
- props: ke(),
75
- emits: {
76
- "update:modelValue": (e) => !0
77
- },
78
- setup(e, o) {
79
- let {
80
- slots: a
81
- } = o;
82
- const t = ee(e, "modelValue"), {
83
- positionClasses: f
84
- } = K(e), {
85
- scopeId: d
86
- } = U(), {
87
- themeClasses: i
88
- } = te(e), {
89
- colorClasses: k,
90
- colorStyles: l,
91
- variantClasses: y
92
- } = Q(e), {
93
- roundedClasses: S
94
- } = ve(e), c = de(() => Number(e.timeout)), T = b(), w = b(), u = E(!1), V = E(0), L = b(), x = ae(B, void 0);
95
- ne(() => !!x, () => {
96
- const n = j();
97
- me(() => {
98
- L.value = n.mainStyles.value;
99
- });
100
- }), _(t, m), _(() => e.timeout, m), oe(() => {
101
- t.value && m();
102
- });
103
- let h = -1;
104
- function m() {
105
- c.reset(), window.clearTimeout(h);
106
- const n = Number(e.timeout);
107
- if (!t.value || n === -1) return;
108
- const r = se(w.value);
109
- c.start(r), h = window.setTimeout(() => {
110
- t.value = !1;
111
- }, n);
112
- }
113
- function O() {
114
- c.reset(), window.clearTimeout(h);
115
- }
116
- function R() {
117
- u.value = !0, O();
118
- }
119
- function P() {
120
- u.value = !1, m();
121
- }
122
- function Y(n) {
123
- V.value = n.touches[0].clientY;
124
- }
125
- function M(n) {
126
- Math.abs(V.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
127
- }
128
- function N() {
129
- u.value && P();
130
- }
131
- const A = re(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
132
- return D(() => {
133
- const n = p.filterProps(e), r = !!(a.default || a.text || e.text);
134
- return s(p, C({
135
- ref: T,
136
- class: ["v-snackbar", {
137
- "v-snackbar--active": t.value,
138
- "v-snackbar--multi-line": e.multiLine && !e.vertical,
139
- "v-snackbar--timer": !!e.timer,
140
- "v-snackbar--vertical": e.vertical
141
- }, A.value, f.value, e.class],
142
- style: [L.value, e.style]
143
- }, n, {
144
- modelValue: t.value,
145
- "onUpdate:modelValue": (v) => t.value = v,
146
- contentProps: C({
147
- class: ["v-snackbar__wrapper", i.value, k.value, S.value, y.value],
148
- style: [l.value],
149
- onPointerenter: R,
150
- onPointerleave: P
151
- }, n.contentProps),
152
- persistent: !0,
153
- noClickAnimation: !0,
154
- scrim: !1,
155
- scrollStrategy: "none",
156
- _disableGlobalStack: !0,
157
- onTouchstartPassive: Y,
158
- onTouchend: M,
159
- onAfterLeave: N
160
- }, d), {
161
- default: () => {
162
- var v, g;
163
- return [q(!1, "v-snackbar"), e.timer && !u.value && s("div", {
164
- key: "timer",
165
- class: "v-snackbar__timer"
166
- }, [s(z, {
167
- ref: w,
168
- color: typeof e.timer == "string" ? e.timer : "info",
169
- max: e.timeout,
170
- "model-value": c.time.value
171
- }, null)]), r && s("div", {
172
- key: "content",
173
- class: "v-snackbar__content",
174
- role: "status",
175
- "aria-live": "polite"
176
- }, [((v = a.text) == null ? void 0 : v.call(a)) ?? e.text, (g = a.default) == null ? void 0 : g.call(a)]), a.actions && s(J, {
177
- defaults: {
178
- VBtn: {
179
- variant: "text",
180
- ripple: !1,
181
- slim: !0
182
- }
183
- }
184
- }, {
185
- default: () => [s("div", {
186
- class: "v-snackbar__actions"
187
- }, [a.actions({
188
- isActive: t
189
- })])]
190
- })];
191
- },
192
- activator: a.activator
193
- });
194
- }), F({}, T);
195
- }
196
- });
197
- I("css/revolugo.vsnackbar.Cj7AcupY.css");
198
- export {
199
- Te as V
200
- };
201
- //# sourceMappingURL=revolugo.vsnackbar.-lEdFT5G.min.js.map
@@ -1,7 +0,0 @@
1
- import "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
2
- import { c as r } from "./revolugo.index.Dyr1hnew.min.js";
3
- const e = r("v-spacer", "div", "VSpacer");
4
- export {
5
- e as V
6
- };
7
- //# sourceMappingURL=revolugo.vspacer.DaFDHuC9.min.js.map