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

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 (133) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +1 -0
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  3. package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BQ3adGPS.css} +1 -1
  4. package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +1 -0
  5. package/dist/css/{revolugo.hotelroomofferlist.DI_s2G5c.css → revolugo.hotelroomofferlist.CCKyS5V3.css} +1 -1
  6. package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
  7. package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +1 -0
  8. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  9. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  10. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  11. package/dist/index.es.min.js +1130 -1120
  12. package/dist/index.es.min.js.map +1 -1
  13. package/dist/index.min.js +6 -6
  14. package/dist/index.min.js.map +1 -1
  15. package/dist/revolugo._baseiteratee.CLhJGa_I.min.js +247 -0
  16. package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.Djs6mxU0.min.js} +9 -9
  17. package/dist/{revolugo.bdaterangepicker.CTD21Xkh.min.js → revolugo.bdaterangepicker.D9a3kNuM.min.js} +12 -11
  18. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js +149 -0
  19. package/dist/revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js +4818 -0
  20. package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.C4xdQLfe.min.js} +35 -34
  21. package/dist/{revolugo.bhotelsearchbar.CZZ7nrV4.min.js → revolugo.bhotelsearchbar.DR7UHkQo.min.js} +16 -16
  22. package/dist/{revolugo.bimagecarousel.B0c13uQA.min.js → revolugo.bimagecarousel.DhwrLMiX.min.js} +37 -38
  23. package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.DkBHaNwV.min.js} +4 -4
  24. package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.DwIul6C1.min.js} +17 -17
  25. package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.CmdsCQDi.min.js} +27 -27
  26. package/dist/{revolugo.bpricesummaryskeleton.8052AuK3.min.js → revolugo.bpricesummaryskeleton.BcgNLGYX.min.js} +4 -4
  27. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js} +8 -8
  28. package/dist/{revolugo.btag.BWSoB2pK.min.js → revolugo.btag.mY1ErEMj.min.js} +64 -62
  29. package/dist/revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js +28 -0
  30. package/dist/revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js +207 -0
  31. package/dist/revolugo.cancellationpolicieslist.D2idtSnK.min.js +25 -0
  32. package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.hSJAFEGT.min.js} +70 -98
  33. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  34. package/dist/{revolugo.case-transformers.Oo4YCZeL.min.js → revolugo.case-transformers.VM7X_9Q1.min.js} +6 -6
  35. package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.CrwpUivQ.min.js} +4 -4
  36. package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.SRz4ls19.min.js} +45 -45
  37. package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.BcVHQlKJ.min.js} +42 -40
  38. package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.bSs8I8av.min.js} +4 -4
  39. package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.-B3knz6i.min.js} +8 -8
  40. package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.CyHWGHaW.min.js} +4 -4
  41. package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.D38ZdlKW.min.js} +17 -17
  42. package/dist/{revolugo.defaultsdeep.CCR2LAoW.min.js → revolugo.defaultsdeep.z9urzKAp.min.js} +32 -32
  43. package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.D_OA19-E.min.js} +2 -2
  44. package/dist/{revolugo.dialog-transition.Cot8jmLN.min.js → revolugo.dialog-transition.D9Rvu5kv.min.js} +6 -6
  45. package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.CJP79XT7.min.js} +4 -4
  46. package/dist/{revolugo.fullbookingflow.B3R9Mi6f.min.js → revolugo.fullbookingflow.Cd2NIaQ2.min.js} +17 -17
  47. package/dist/revolugo.hotel-offer-request.CgsVMCkE.min.js +98 -0
  48. package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.BSrnxJem.min.js} +394 -412
  49. package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.Cl2E63e2.min.js} +4 -4
  50. package/dist/{revolugo.hotelofferitemlayout.CpMoPSRH.min.js → revolugo.hotelofferitemlayout.BMzCfYQ7.min.js} +6 -6
  51. package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.B3yjbXlQ.min.js} +789 -796
  52. package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.DhYBX5pF.min.js} +4 -4
  53. package/dist/{revolugo.hotelofferrequestcreator.f8olJbDW.min.js → revolugo.hotelofferrequestcreator.CNbav2EO.min.js} +16 -15
  54. package/dist/revolugo.hoteloffersearchmenu.BZascblw.min.js +47 -0
  55. package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.D6hRTrsf.min.js} +22 -23
  56. package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.DkNN0NQB.min.js} +4 -4
  57. package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.CPYXigVN.min.js} +4 -4
  58. package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.DjAXSPOG.min.js} +51 -49
  59. package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.C_HCimvP.min.js} +4 -4
  60. package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.wD_JIpuK.min.js} +187 -186
  61. package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js} +2 -2
  62. package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js} +55 -55
  63. package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js} +5 -5
  64. package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js} +7 -7
  65. package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.CCmILEaO.min.js} +12 -12
  66. package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.DVsdh7Jz.min.js} +4 -4
  67. package/dist/revolugo.index.Dyr1hnew.min.js +1255 -0
  68. package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.BaFPloEH.min.js} +11412 -11783
  69. package/dist/revolugo.langpicker.CaQ17b6t.min.js +99 -0
  70. package/dist/revolugo.langpickerbtn.DTkV9PYE.min.js +29 -0
  71. package/dist/revolugo.langpickerbtn.DmoEWum3.min.js +126 -0
  72. package/dist/revolugo.min.js +1 -1
  73. package/dist/revolugo.pathify.CKNqCKLR.min.js +58 -0
  74. package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.CxKmwFK-.min.js} +21 -21
  75. package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.p-M6zS08.min.js} +4 -4
  76. package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.5gfIA3r6.min.js} +11 -11
  77. package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.Zz9TPhp6.min.js} +4 -4
  78. package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.CQuigzpH.min.js} +2 -2
  79. package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.DfQY0r5E.min.js} +4 -4
  80. package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.DikXrkgz.min.js} +111 -107
  81. package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.Bbo5pbgR.min.js} +4 -4
  82. package/dist/{revolugo.termsandconditions.BSpX2Wim.min.js → revolugo.termsandconditions.CiHuvfp6.min.js} +4 -4
  83. package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +45 -0
  84. package/dist/revolugo.use-html-element.C-V3ql2M.min.js +12 -0
  85. package/dist/{revolugo.vautocomplete.DNxDeH8S.min.js → revolugo.vautocomplete.CimHObsW.min.js} +110 -109
  86. package/dist/{revolugo.vbadge.DqpIeIfj.min.js → revolugo.vbadge.dOVHEqkO.min.js} +16 -16
  87. package/dist/{revolugo.vbtn.DsvUpshD.min.js → revolugo.vbtn.C5rBd2Qx.min.js} +61 -61
  88. package/dist/{revolugo.vcard.D1VwO30r.min.js → revolugo.vcard.Dw6Qxohz.min.js} +48 -48
  89. package/dist/{revolugo.vcheckboxbtn.BnbOlneq.min.js → revolugo.vcheckboxbtn.oJMjQhq7.min.js} +58 -58
  90. package/dist/{revolugo.vdialog.rsw4VlQE.min.js → revolugo.vdialog.DBJFoM4O.min.js} +25 -25
  91. package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.93Ehbd8W.min.js} +3 -3
  92. package/dist/{revolugo.vexpansionpanels.Cy-T-RLA.min.js → revolugo.vexpansionpanels.nGkPqsEk.min.js} +24 -23
  93. package/dist/{revolugo.vform.CO-9AfdO.min.js → revolugo.vform.D7BJmMQ-.min.js} +4 -4
  94. package/dist/revolugo.vicon.CuIGTijn.min.js +106 -0
  95. package/dist/{revolugo.vinput.DEbpex7C.min.js → revolugo.vinput.C6k3-74L.min.js} +57 -56
  96. package/dist/{revolugo.vlabel.CBGmCU1C.min.js → revolugo.vlabel.BNLTPj0h.min.js} +3 -3
  97. package/dist/{revolugo.vlist.BzvP4Aad.min.js → revolugo.vlist.B56e-cT_.min.js} +95 -95
  98. package/dist/{revolugo.vmenu.CIfiL0Ib.min.js → revolugo.vmenu.DhHohFn7.min.js} +22 -22
  99. package/dist/{revolugo.vselect.CDieig82.min.js → revolugo.vselect.BHhGGQU3.min.js} +77 -76
  100. package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.H2Eli2di.min.js} +10 -10
  101. package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.B-Qq0740.min.js} +6 -6
  102. package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +333 -0
  103. package/dist/{revolugo.vsnackbar.D5nwTNfd.min.js → revolugo.vsnackbar.-lEdFT5G.min.js} +49 -50
  104. package/dist/revolugo.vspacer.DaFDHuC9.min.js +7 -0
  105. package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.BJaCwHl5.min.js} +33 -33
  106. package/dist/{revolugo.vtextfield.Br_yyf1t.min.js → revolugo.vtextfield.CMQN6tSz.min.js} +73 -74
  107. package/dist/{revolugo.vtoolbar.VPqzB-yU.min.js → revolugo.vtoolbar.CSyyGTVc.min.js} +23 -23
  108. package/dist/revolugo.vtooltip.CvplYWvb.min.js +90 -0
  109. package/dist/{revolugo.vwindowitem.IF1zLcjR.min.js → revolugo.vwindowitem.bzpa5cVc.min.js} +31 -31
  110. package/dist/{revolugo.watch-list.BD0XoO1O.min.js → revolugo.watch-list.Be1UUzWP.min.js} +2 -2
  111. package/dist/{revolugo.webcomponentwrapper.Ci87Oown.min.js → revolugo.webcomponentwrapper.Byzhja-M.min.js} +302 -302
  112. package/package.json +1 -1
  113. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
  114. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  115. package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
  116. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  117. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  118. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  119. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
  120. package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
  121. package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
  122. package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
  123. package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
  124. package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
  125. package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
  126. package/dist/revolugo.index.D5-DO18f.min.js +0 -13
  127. package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
  128. package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
  129. package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
  130. package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
  131. package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
  132. package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
  133. package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
@@ -0,0 +1,333 @@
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,10 +1,9 @@
1
- import { g as U, u as G, l as p, y as I, E as B, F } from "./revolugo.webcomponentwrapper.Ci87Oown.min.js";
2
- import { f as j } from "./revolugo.forwardrefs.-bfQnFea.min.js";
3
- import { a as K, m as $, b as q, V as H } from "./revolugo.position.BFDPs3FP.min.js";
4
- import { Z, _ as z, a2 as J, aD as Q, C as h, a5 as E, ai as W, aN as X, M as _, V as ee, b$ as te, D as ae, a as s, y as C, a6 as ne, aF as oe, aO as se, R as re, a8 as ie } from "./revolugo.index.wc.CNPB8R3P.min.js";
5
- import { b as le, a as ce } from "./revolugo.rounded.Dulx85qq.min.js";
6
- import { p as ue, q as me, g as ve, a as fe } from "./revolugo.index.CDltx0TU.min.js";
7
- function D(e) {
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) {
8
7
  try {
9
8
  if (typeof document < "u") {
10
9
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -31,7 +30,7 @@ function de(e) {
31
30
  clearInterval(a);
32
31
  }
33
32
  function f() {
34
- t(), re(() => o.value = e());
33
+ t(), ue(() => o.value = e());
35
34
  }
36
35
  function d(i) {
37
36
  const k = i ? getComputedStyle(i) : {
@@ -44,14 +43,14 @@ function de(e) {
44
43
  o.value = Math.max(e() - S, 0), o.value <= 0 && t();
45
44
  }, l);
46
45
  }
47
- return se(t), {
46
+ return ce(t), {
48
47
  clear: t,
49
48
  time: o,
50
49
  start: d,
51
50
  reset: f
52
51
  };
53
52
  }
54
- const ke = z({
53
+ const ke = X({
55
54
  multiLine: Boolean,
56
55
  text: String,
57
56
  timer: [Boolean, String],
@@ -60,17 +59,17 @@ const ke = z({
60
59
  default: 5e3
61
60
  },
62
61
  vertical: Boolean,
63
- ...q({
62
+ ...$({
64
63
  location: "bottom"
65
64
  }),
66
- ...$(),
67
- ...ce(),
68
- ...me(),
69
- ...oe(),
70
- ...ne(I({
65
+ ...Z(),
66
+ ...fe(),
67
+ ...H(),
68
+ ...le(),
69
+ ...ie(G({
71
70
  transition: "v-snackbar-transition"
72
71
  }), ["persistent", "noClickAnimation", "scrim", "scrollStrategy"])
73
- }, "VSnackbar"), Ve = Z()({
72
+ }, "VSnackbar"), Te = W()({
74
73
  name: "VSnackbar",
75
74
  props: ke(),
76
75
  emits: {
@@ -80,57 +79,57 @@ const ke = z({
80
79
  let {
81
80
  slots: a
82
81
  } = o;
83
- const t = J(e, "modelValue"), {
82
+ const t = ee(e, "modelValue"), {
84
83
  positionClasses: f
85
84
  } = K(e), {
86
85
  scopeId: d
87
86
  } = U(), {
88
87
  themeClasses: i
89
- } = Q(e), {
88
+ } = te(e), {
90
89
  colorClasses: k,
91
90
  colorStyles: l,
92
91
  variantClasses: y
93
- } = ue(e), {
92
+ } = Q(e), {
94
93
  roundedClasses: S
95
- } = le(e), c = de(() => Number(e.timeout)), T = h(), V = h(), u = E(!1), w = E(0), L = h(), O = W(B, void 0);
96
- X(() => !!O, () => {
97
- const n = F();
98
- ie(() => {
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(() => {
99
98
  L.value = n.mainStyles.value;
100
99
  });
101
- }), _(t, m), _(() => e.timeout, m), ee(() => {
100
+ }), _(t, m), _(() => e.timeout, m), oe(() => {
102
101
  t.value && m();
103
102
  });
104
- let b = -1;
103
+ let h = -1;
105
104
  function m() {
106
- c.reset(), window.clearTimeout(b);
105
+ c.reset(), window.clearTimeout(h);
107
106
  const n = Number(e.timeout);
108
107
  if (!t.value || n === -1) return;
109
- const r = te(V.value);
110
- c.start(r), b = window.setTimeout(() => {
108
+ const r = se(w.value);
109
+ c.start(r), h = window.setTimeout(() => {
111
110
  t.value = !1;
112
111
  }, n);
113
112
  }
114
- function x() {
115
- c.reset(), window.clearTimeout(b);
113
+ function O() {
114
+ c.reset(), window.clearTimeout(h);
116
115
  }
117
116
  function R() {
118
- u.value = !0, x();
117
+ u.value = !0, O();
119
118
  }
120
119
  function P() {
121
120
  u.value = !1, m();
122
121
  }
123
- function M(n) {
124
- w.value = n.touches[0].clientY;
122
+ function Y(n) {
123
+ V.value = n.touches[0].clientY;
125
124
  }
126
- function N(n) {
127
- Math.abs(w.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
125
+ function M(n) {
126
+ Math.abs(V.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
128
127
  }
129
- function Y() {
128
+ function N() {
130
129
  u.value && P();
131
130
  }
132
- const A = ae(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
133
- return G(() => {
131
+ const A = re(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
132
+ return D(() => {
134
133
  const n = p.filterProps(e), r = !!(a.default || a.text || e.text);
135
134
  return s(p, C({
136
135
  ref: T,
@@ -155,17 +154,17 @@ const ke = z({
155
154
  scrim: !1,
156
155
  scrollStrategy: "none",
157
156
  _disableGlobalStack: !0,
158
- onTouchstartPassive: M,
159
- onTouchend: N,
160
- onAfterLeave: Y
157
+ onTouchstartPassive: Y,
158
+ onTouchend: M,
159
+ onAfterLeave: N
161
160
  }, d), {
162
161
  default: () => {
163
162
  var v, g;
164
- return [ve(!1, "v-snackbar"), e.timer && !u.value && s("div", {
163
+ return [q(!1, "v-snackbar"), e.timer && !u.value && s("div", {
165
164
  key: "timer",
166
165
  class: "v-snackbar__timer"
167
- }, [s(H, {
168
- ref: V,
166
+ }, [s(z, {
167
+ ref: w,
169
168
  color: typeof e.timer == "string" ? e.timer : "info",
170
169
  max: e.timeout,
171
170
  "model-value": c.time.value
@@ -174,7 +173,7 @@ const ke = z({
174
173
  class: "v-snackbar__content",
175
174
  role: "status",
176
175
  "aria-live": "polite"
177
- }, [((v = a.text) == null ? void 0 : v.call(a)) ?? e.text, (g = a.default) == null ? void 0 : g.call(a)]), a.actions && s(fe, {
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, {
178
177
  defaults: {
179
178
  VBtn: {
180
179
  variant: "text",
@@ -192,11 +191,11 @@ const ke = z({
192
191
  },
193
192
  activator: a.activator
194
193
  });
195
- }), j({}, T);
194
+ }), F({}, T);
196
195
  }
197
196
  });
198
- D("css/revolugo.vsnackbar.Cj7AcupY.css");
197
+ I("css/revolugo.vsnackbar.Cj7AcupY.css");
199
198
  export {
200
- Ve as V
199
+ Te as V
201
200
  };
202
- //# sourceMappingURL=revolugo.vsnackbar.D5nwTNfd.min.js.map
201
+ //# sourceMappingURL=revolugo.vsnackbar.-lEdFT5G.min.js.map
@@ -0,0 +1,7 @@
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