@revolugo/elements 6.8.2-beta.2 → 6.8.2-beta.20

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 (123) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +1 -0
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  3. package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
  4. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  5. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  6. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  7. package/dist/index.es.min.js +955 -950
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo._baseiteratee.B8DzmtV9.min.js +247 -0
  12. package/dist/{revolugo.banktransferdetails.Wlqp4FTo.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
  13. package/dist/{revolugo.bdaterangepicker.LM4-g1ZZ.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
  14. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js +149 -0
  15. package/dist/revolugo.bhoteloffersfilterbar.BicCxI8N.min.js +4828 -0
  16. package/dist/{revolugo.bhotelroomsdetails.CIrHX2gV.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +30 -29
  17. package/dist/{revolugo.bhotelsearchbar.C13oDjtG.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
  18. package/dist/{revolugo.bimagecarousel.7CkcgWwo.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +43 -44
  19. package/dist/{revolugo.bookingdetailssidebar.CUUn4s4-.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
  20. package/dist/{revolugo.bookingdetailssidebar.DXxWIXgM.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +17 -17
  21. package/dist/{revolugo.bookingmanager.XzKdmEGC.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +27 -27
  22. package/dist/{revolugo.bpricesummaryskeleton.Pw1KklrO.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
  23. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.QK7fmKOX.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
  24. package/dist/{revolugo.btag.BlnXqK92.min.js → revolugo.btag.BtFT2zF9.min.js} +50 -48
  25. package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
  26. package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
  27. package/dist/revolugo.cancellationpolicieslist.BUvqjY8w.min.js +25 -0
  28. package/dist/{revolugo.cancellationpolicieslist.DAK9-C1m.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +70 -98
  29. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  30. package/dist/{revolugo.case-transformers.CaS4ky3X.min.js → revolugo.case-transformers.C-f7xgel.min.js} +6 -6
  31. package/dist/{revolugo.creditcardform.BXRZJQF_.min.js → revolugo.creditcardform.DqHW63kH.min.js} +30 -30
  32. package/dist/{revolugo.creditcardform.D-fRTOrm.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
  33. package/dist/{revolugo.creditcardpayment.CRromYFa.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +42 -40
  34. package/dist/{revolugo.creditcardpayment.Bsql13Mx.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
  35. package/dist/{revolugo.currencypicker.CsT_8v5-.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
  36. package/dist/{revolugo.currencypickerbtn.Aj3BIx0O.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +17 -17
  37. package/dist/{revolugo.currencypickerbtn.DzlyztKv.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
  38. package/dist/{revolugo.defaultsdeep.x4Fmvtqd.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +29 -29
  39. package/dist/{revolugo.dialog-attach.Co46EBCo.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
  40. package/dist/{revolugo.dialog-transition.0tZlTOrr.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +5 -5
  41. package/dist/{revolugo.fastbookingflow.4VeLCGPk.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
  42. package/dist/{revolugo.fullbookingflow.DAq8AAkm.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
  43. package/dist/revolugo.hotel-offer-request.DA93cyGO.min.js +98 -0
  44. package/dist/{revolugo.hoteldescriptionview.AQBQyXPB.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
  45. package/dist/{revolugo.hoteldescriptionview.E3zF9kIE.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
  46. package/dist/{revolugo.hotelofferitemlayout.5S0g-y3x.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
  47. package/dist/{revolugo.hotelofferlist.Bu6FD5xa.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +40 -41
  48. package/dist/{revolugo.hotelofferlist.DuMKQigB.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
  49. package/dist/{revolugo.hotelofferrequestcreator.CfAv9XnZ.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +16 -15
  50. package/dist/revolugo.hoteloffersearchmenu.CrmGRkpc.min.js +47 -0
  51. package/dist/{revolugo.hoteloffersmap.TeFeFBWz.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +29 -29
  52. package/dist/{revolugo.hoteloffersmap.DzTHDAHc.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
  53. package/dist/{revolugo.hoteloffersview.EuoGAY9l.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +44 -42
  54. package/dist/{revolugo.hoteloffersview.Cu1O149f.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
  55. package/dist/{revolugo.hotelroomofferlist.BJqvvAma.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
  56. package/dist/{revolugo.hotelroomofferlist.DK_BQbGq.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
  57. package/dist/{revolugo.hotelroomofferrequestcreator.props.Ccv-RhW2.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
  58. package/dist/{revolugo.hotelroomoffersbookingflow.DXXUhSNA.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +54 -54
  59. package/dist/{revolugo.hotelroomoffersearchmenu.4yTsOswX.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
  60. package/dist/{revolugo.hotelroomoffersearchmenu.CoLuLIMc.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
  61. package/dist/{revolugo.hotelroomoffersview.Bz5IYKc_.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
  62. package/dist/{revolugo.hotelroomoffersview.Bt9PEOK9.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
  63. package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
  64. package/dist/{revolugo.index.wc.bYWqzpa9.min.js → revolugo.index.wc.CiMMOIKO.min.js} +10712 -11261
  65. package/dist/{revolugo.langpicker.C1EJvnOl.min.js → revolugo.langpicker.BPdYOoqh.min.js} +8 -8
  66. package/dist/{revolugo.langpickerbtn.Ixx1UaN0.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
  67. package/dist/{revolugo.langpickerbtn.C7tqnw1r.min.js → revolugo.langpickerbtn.toIVNsWj.min.js} +19 -18
  68. package/dist/revolugo.min.js +1 -1
  69. package/dist/revolugo.pathify.CC3sbpgo.min.js +58 -0
  70. package/dist/{revolugo.prebookform.CLrYWsEI.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
  71. package/dist/{revolugo.prebookform.DZe8r8L5.min.js → revolugo.prebookform.mTgAZy4b.min.js} +20 -20
  72. package/dist/{revolugo.roominglisteditor.DrtcIDro.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +11 -11
  73. package/dist/{revolugo.roominglisteditor.CXO-5pa_.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
  74. package/dist/{revolugo.rounded.B5lCsIO9.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
  75. package/dist/{revolugo.ssrboot.C0z_e7XY.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
  76. package/dist/{revolugo.storybooktoolbar.SCyQu-ny.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +110 -106
  77. package/dist/{revolugo.termsandconditions.CmukXjqj.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
  78. package/dist/{revolugo.termsandconditions.CSw8Xh23.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
  79. package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
  80. package/dist/{revolugo.vautocomplete.BFtq5sO7.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +104 -103
  81. package/dist/{revolugo.vbadge.BOSot4-b.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +14 -14
  82. package/dist/{revolugo.vbtn.Cza72F9l.min.js → revolugo.vbtn.CJwuvbOT.min.js} +65 -65
  83. package/dist/{revolugo.vcard.BSYS4EA_.min.js → revolugo.vcard.C8hpUlD-.min.js} +35 -35
  84. package/dist/{revolugo.vcheckboxbtn.JRn2QIIO.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +86 -86
  85. package/dist/{revolugo.vdialog.BuVoy1kx.min.js → revolugo.vdialog.CEfREygA.min.js} +25 -25
  86. package/dist/{revolugo.vdivider.Cu5FddvH.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
  87. package/dist/{revolugo.vexpansionpanels.DRWQoRqv.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +41 -40
  88. package/dist/{revolugo.vform.CrnbE-uW.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
  89. package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
  90. package/dist/{revolugo.vinput.DkajuwSz.min.js → revolugo.vinput.CWfOSxlF.min.js} +74 -73
  91. package/dist/{revolugo.vlabel.7WIO1jsu.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
  92. package/dist/{revolugo.vlist.DnEUr3NP.min.js → revolugo.vlist.cF1CYOBP.min.js} +115 -115
  93. package/dist/{revolugo.vmenu.DwlJhNjf.min.js → revolugo.vmenu.B-rlxBKf.min.js} +24 -24
  94. package/dist/{revolugo.vselect.BjWXKuR5.min.js → revolugo.vselect.D17E4jI-.min.js} +76 -75
  95. package/dist/{revolugo.vsheet.CFHcDuin.min.js → revolugo.vsheet.Div5lkVz.min.js} +10 -10
  96. package/dist/{revolugo.vskeletonloader.Dc9OKBJf.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +6 -6
  97. package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
  98. package/dist/{revolugo.vsnackbar.BVKj6AMI.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +49 -50
  99. package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
  100. package/dist/{revolugo.vtextarea.C5zyz0TO.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +61 -61
  101. package/dist/{revolugo.vtextfield.vgSHKzqU.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +88 -89
  102. package/dist/{revolugo.vtoolbar.DoJvdCrr.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +20 -20
  103. package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
  104. package/dist/{revolugo.vwindowitem.CFcKwvRo.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +34 -34
  105. package/dist/{revolugo.watch-list.BitKjhcw.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
  106. package/dist/{revolugo.webcomponentwrapper.D4MvwGCF.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +229 -229
  107. package/package.json +1 -1
  108. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
  109. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  110. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  111. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  112. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.h_U_D6QC.min.js +0 -61
  113. package/dist/revolugo.bhoteloffersfilterbar.B634G2s-.min.js +0 -4689
  114. package/dist/revolugo.cancellationpoliciesbadge.B55YrKSM.min.js +0 -24
  115. package/dist/revolugo.cancellationpoliciesbadge.BeG5kBuD.min.js +0 -225
  116. package/dist/revolugo.cancellationpolicieslist.vBYt57IZ.min.js +0 -24
  117. package/dist/revolugo.hoteloffersearchmenu.C6_HA-G2.min.js +0 -46
  118. package/dist/revolugo.index.CfWiJy_P.min.js +0 -13
  119. package/dist/revolugo.index.D74NQ89L.min.js +0 -1037
  120. package/dist/revolugo.position.Dh9P2x6G.min.js +0 -322
  121. package/dist/revolugo.use-breakpoint-service.Dw3a-dJy.min.js +0 -106
  122. package/dist/revolugo.vspacer.DnTRCwot.min.js +0 -7
  123. package/dist/revolugo.vtooltip.BM8L9U_D.min.js +0 -395
@@ -0,0 +1,333 @@
1
+ import { j as le, k as oe, b as H } from "./revolugo.index.CxQvHaJF.min.js";
2
+ import { w as N, u as ne, e as se, m as re } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
3
+ import { X as ie, Y as ae, az as ue, aP as ce, a3 as y, D as S, cr as fe, bu as U, L as de, a as h, aR as ve, Z as D, c4 as pe } from "./revolugo.index.wc.CiMMOIKO.min.js";
4
+ import { V as Y } from "./revolugo.vicon.BnJaIb_1.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
+ } = N(), {
119
+ resizeRef: f,
120
+ contentRect: w
121
+ } = N(), 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 (U) {
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 (!U || !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: A,
163
+ offsetWidth: C
164
+ } = u.el;
165
+ t = A - C - 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 X(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 Z(t) {
188
+ x.value = !1;
189
+ }
190
+ let k = !1;
191
+ function J(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 V = c.value + s;
230
+ if (a.value && r.value && u.el) {
231
+ const {
232
+ scrollWidth: A,
233
+ offsetWidth: C
234
+ } = u.el;
235
+ V += A - C;
236
+ }
237
+ G(V);
238
+ }
239
+ const O = S(() => ({
240
+ next: i.next,
241
+ prev: i.prev,
242
+ select: i.select,
243
+ isSelected: i.isSelected
244
+ })), R = 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
+ }), _ = 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": R.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: J
279
+ }, {
280
+ default: () => {
281
+ var t, e, s;
282
+ return [R.value && h("div", {
283
+ key: "prev",
284
+ class: ["v-slide-group__prev", {
285
+ "v-slide-group__prev--disabled": !_.value
286
+ }],
287
+ onMousedown: W,
288
+ onClick: () => _.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: X,
302
+ onFocusout: Z,
303
+ onKeydown: ee
304
+ }, [(e = n.default) == null ? void 0 : e.call(n, O.value)])]), R.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: _,
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.aRAg8EmQ.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.D4MvwGCF.min.js";
1
+ import { g as D, u as G, l as p, y as I, E as B, F } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
2
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.Dh9P2x6G.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.bYWqzpa9.min.js";
5
- import { b as le, a as ce } from "./revolugo.rounded.B5lCsIO9.min.js";
6
- import { p as ue, q as me, g as ve, a as fe } from "./revolugo.index.D74NQ89L.min.js";
7
- function D(e) {
3
+ import { n as H, t as K, v as Q, o as X, p as $, g as q, V as z, a as J } from "./revolugo.index.CxQvHaJF.min.js";
4
+ import { X as W, Y as Z, a0 as ee, aF as te, C as b, a3 as E, ag as ae, aN as ne, L as _, S as oe, cc as se, D as re, a as s, y as C, a4 as ie, aH as le, aO as ce, Q as ue, a6 as me } from "./revolugo.index.wc.CiMMOIKO.min.js";
5
+ import { b as ve, a as fe } from "./revolugo.rounded.DLc3W4P_.min.js";
6
+ function U(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 = Z({
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
+ ...X(),
66
+ ...fe(),
67
+ ...Q(),
68
+ ...le(),
69
+ ...ie(I({
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,56 +79,56 @@ 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
- } = K(e), {
84
+ } = H(e), {
86
85
  scopeId: d
87
- } = U(), {
86
+ } = D(), {
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
+ } = K(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, () => {
94
+ } = ve(e), c = de(() => Number(e.timeout)), T = b(), w = b(), u = E(!1), V = E(0), L = b(), O = ae(B, void 0);
95
+ ne(() => !!O, () => {
97
96
  const n = F();
98
- ie(() => {
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
113
  function x() {
115
- c.reset(), window.clearTimeout(b);
114
+ c.reset(), window.clearTimeout(h);
116
115
  }
117
116
  function R() {
118
117
  u.value = !0, x();
119
118
  }
120
- function P() {
119
+ function g() {
121
120
  u.value = !1, m();
122
121
  }
123
- function M(n) {
124
- w.value = n.touches[0].clientY;
125
- }
126
122
  function N(n) {
127
- Math.abs(w.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
123
+ V.value = n.touches[0].clientY;
124
+ }
125
+ function Y(n) {
126
+ Math.abs(V.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
128
127
  }
129
- function Y() {
130
- u.value && P();
128
+ function M() {
129
+ u.value && g();
131
130
  }
132
- const A = ae(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
131
+ const A = re(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
133
132
  return G(() => {
134
133
  const n = p.filterProps(e), r = !!(a.default || a.text || e.text);
135
134
  return s(p, C({
@@ -148,24 +147,24 @@ const ke = z({
148
147
  class: ["v-snackbar__wrapper", i.value, k.value, S.value, y.value],
149
148
  style: [l.value],
150
149
  onPointerenter: R,
151
- onPointerleave: P
150
+ onPointerleave: g
152
151
  }, n.contentProps),
153
152
  persistent: !0,
154
153
  noClickAnimation: !0,
155
154
  scrim: !1,
156
155
  scrollStrategy: "none",
157
156
  _disableGlobalStack: !0,
158
- onTouchstartPassive: M,
159
- onTouchend: N,
160
- onAfterLeave: Y
157
+ onTouchstartPassive: N,
158
+ onTouchend: Y,
159
+ onAfterLeave: M
161
160
  }, d), {
162
161
  default: () => {
163
- var v, g;
164
- return [ve(!1, "v-snackbar"), e.timer && !u.value && s("div", {
162
+ var v, P;
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, (P = a.default) == null ? void 0 : P.call(a)]), a.actions && s(J, {
178
177
  defaults: {
179
178
  VBtn: {
180
179
  variant: "text",
@@ -195,8 +194,8 @@ const ke = z({
195
194
  }), j({}, T);
196
195
  }
197
196
  });
198
- D("css/revolugo.vsnackbar.Cj7AcupY.css");
197
+ U("css/revolugo.vsnackbar.Cj7AcupY.css");
199
198
  export {
200
- Ve as V
199
+ Te as V
201
200
  };
202
- //# sourceMappingURL=revolugo.vsnackbar.BVKj6AMI.min.js.map
201
+ //# sourceMappingURL=revolugo.vsnackbar.CgopB6r6.min.js.map
@@ -0,0 +1,7 @@
1
+ import "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
2
+ import { c as r } from "./revolugo.index.CxQvHaJF.min.js";
3
+ const e = r("v-spacer", "div", "VSpacer");
4
+ export {
5
+ e as V
6
+ };
7
+ //# sourceMappingURL=revolugo.vspacer.DfGL0s5_.min.js.map