@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
@@ -1,106 +0,0 @@
1
- import { ca as x, k as a, d as y, D as v, C as k, cb as O, M as S, cc as g } from "./revolugo.index.wc.CNPB8R3P.min.js";
2
- function C(t) {
3
- return /^[2]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/u.test(t);
4
- }
5
- function E(t) {
6
- return t.filter(
7
- (e) => C(e) && a(e, "YYYY-MM-DD").isSameOrAfter(a(), "day")
8
- ).sort(
9
- (e, s) => a(e).isAfter(a(s), "day") ? 1 : -1
10
- );
11
- }
12
- function I(t, r) {
13
- const e = x(E([t, r]));
14
- return e.length === 2 ? e : e.length === 1 ? e[0] === a().format("YYYY-MM-DD") ? [
15
- a().format("YYYY-MM-DD"),
16
- a().add(1, "day").format("YYYY-MM-DD")
17
- ] : [a().format("YYYY-MM-DD"), e[0]] : [
18
- a().format("YYYY-MM-DD"),
19
- a().add(1, "day").format("YYYY-MM-DD")
20
- ];
21
- }
22
- function d(t) {
23
- return `${t}Store`;
24
- }
25
- function N(t) {
26
- const [r, e] = t.split("/");
27
- return function() {
28
- const o = this == null ? void 0 : this[d(r)];
29
- return e ? o[e] : o;
30
- };
31
- }
32
- const q = () => y({
33
- computed: {
34
- $store() {
35
- return {
36
- get: this.get
37
- };
38
- }
39
- },
40
- methods: {
41
- dispatch(t, r) {
42
- const [e, s] = t.split("/");
43
- return this[d(e)][s](r);
44
- },
45
- get(t, r) {
46
- const [e, s] = t.split("/"), o = this == null ? void 0 : this[d(e)], u = s ? o[s] : o;
47
- return typeof u == "function" ? u(r) : u;
48
- }
49
- },
50
- name: "Pathify"
51
- });
52
- function w(t) {
53
- return v(() => {
54
- var e;
55
- const r = (e = t.value) == null ? void 0 : e.$el;
56
- return r || t.value;
57
- });
58
- }
59
- function R(t) {
60
- const r = k(null), e = k(null), s = O(), o = w(t), u = () => {
61
- var n, l, i;
62
- return ((n = o.value) == null ? void 0 : n.className) === g ? o.value : typeof ((l = o.value) == null ? void 0 : l.closest) != "function" ? null : ((i = o.value) == null ? void 0 : i.closest(`.${g}`)) ?? null;
63
- }, Y = v(
64
- () => e.value && s.breakpointObservers[e.value] || {
65
- ready: !1
66
- }
67
- ), b = v(
68
- () => {
69
- var n;
70
- return (n = Object.entries(Y.value).find(
71
- ([l, i]) => l !== "ready" && i === !0
72
- )) == null ? void 0 : n[0];
73
- }
74
- ), c = (n, l, i = !0) => {
75
- const D = ["xs", "sm", "md", "lg", "xl"], f = D.indexOf(
76
- b.value
77
- ), p = D.indexOf(n);
78
- return l === "above" ? i ? p < f : p <= f : i ? p > f : p >= f;
79
- }, M = (n) => c(n, "above"), B = (n) => c(n, "above", !1), $ = (n) => c(n, "below"), h = (n) => c(n, "below", !1), m = () => {
80
- r.value = r.value || u(), r.value && (e.value = r.value.getAttribute("observer-id"));
81
- };
82
- return S(t, () => {
83
- m();
84
- }), {
85
- $breakpointService: Y,
86
- $isCurrentBreakpointAbove: M,
87
- $isCurrentBreakpointAboveOrEqual: B,
88
- $isCurrentBreakpointBelow: $,
89
- $isCurrentBreakpointBelowOrEqual: h,
90
- breakpointObserverEl: r,
91
- breakpointServiceId: e,
92
- breakpointServiceInit: m,
93
- compareToCurrentBreakpoint: c,
94
- currentBreakpoint: b,
95
- getBreakpointObserverRootElement: u
96
- };
97
- }
98
- export {
99
- w as a,
100
- E as b,
101
- N as g,
102
- q as p,
103
- I as s,
104
- R as u
105
- };
106
- //# sourceMappingURL=revolugo.use-breakpoint-service.CEx6DRka.min.js.map
@@ -1,7 +0,0 @@
1
- import "./revolugo.webcomponentwrapper.Ci87Oown.min.js";
2
- import { c as r } from "./revolugo.position.BFDPs3FP.min.js";
3
- const e = r("v-spacer", "div", "VSpacer");
4
- export {
5
- e as V
6
- };
7
- //# sourceMappingURL=revolugo.vspacer.Dv72HR_2.min.js.map
@@ -1,395 +0,0 @@
1
- import { j as ie, k as re, b as H, V as U } from "./revolugo.index.CDltx0TU.min.js";
2
- import { w as N, u as K, e as ue, m as ce, g as fe, y as de, l as D } from "./revolugo.webcomponentwrapper.Ci87Oown.min.js";
3
- import { Z as j, _ as Q, ax as ve, aP as ge, a5 as x, D as v, cd as he, b6 as Y, M as pe, a as p, aS as Se, $ as B, bT as me, a2 as ye, aE as Ee, C as be, y as $, a6 as xe } from "./revolugo.index.wc.CNPB8R3P.min.js";
4
- import { f as we } from "./revolugo.forwardrefs.-bfQnFea.min.js";
5
- function se(e) {
6
- try {
7
- if (typeof document < "u") {
8
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
9
- sheets: [],
10
- components: []
11
- };
12
- const n = import.meta.url, o = n.slice(0, n.lastIndexOf("/") + 1) + e;
13
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(o);
14
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
15
- s(o);
16
- if (e.indexOf("fonts") >= 0) {
17
- const s = document.createElement("link");
18
- s.rel = "stylesheet", linK.href = o, document.head.appendChild(s);
19
- }
20
- }
21
- } catch (n) {
22
- console.error("[revolugo-elements] ", n);
23
- }
24
- }
25
- function ze(e) {
26
- let {
27
- selectedElement: n,
28
- containerElement: o,
29
- isRtl: s,
30
- isHorizontal: g
31
- } = e;
32
- const h = w(g, o), i = J(g, s, o), d = w(g, n), f = Z(g, n), S = d * 0.4;
33
- return i > f ? f - S : i + h < f + d ? f - h + d + S : i;
34
- }
35
- function Oe(e) {
36
- let {
37
- selectedElement: n,
38
- containerElement: o,
39
- isHorizontal: s
40
- } = e;
41
- const g = w(s, o), h = Z(s, n), i = w(s, n);
42
- return h - g / 2 + i / 2;
43
- }
44
- function q(e, n) {
45
- const o = e ? "scrollWidth" : "scrollHeight";
46
- return (n == null ? void 0 : n[o]) || 0;
47
- }
48
- function Te(e, n) {
49
- const o = e ? "clientWidth" : "clientHeight";
50
- return (n == null ? void 0 : n[o]) || 0;
51
- }
52
- function J(e, n, o) {
53
- if (!o)
54
- return 0;
55
- const {
56
- scrollLeft: s,
57
- offsetWidth: g,
58
- scrollWidth: h
59
- } = o;
60
- return e ? n ? h - g + s : s : o.scrollTop;
61
- }
62
- function w(e, n) {
63
- const o = e ? "offsetWidth" : "offsetHeight";
64
- return (n == null ? void 0 : n[o]) || 0;
65
- }
66
- function Z(e, n) {
67
- const o = e ? "offsetLeft" : "offsetTop";
68
- return (n == null ? void 0 : n[o]) || 0;
69
- }
70
- const ke = Symbol.for("vuetify:v-slide-group"), Ve = Q({
71
- centerActive: Boolean,
72
- direction: {
73
- type: String,
74
- default: "horizontal"
75
- },
76
- symbol: {
77
- type: null,
78
- default: ke
79
- },
80
- nextIcon: {
81
- type: B,
82
- default: "$next"
83
- },
84
- prevIcon: {
85
- type: B,
86
- default: "$prev"
87
- },
88
- showArrows: {
89
- type: [Boolean, String],
90
- validator: (e) => typeof e == "boolean" || ["always", "desktop", "mobile"].includes(e)
91
- },
92
- ...ce(),
93
- ...Se({
94
- mobile: null
95
- }),
96
- ...ue(),
97
- ...re({
98
- selectedClass: "v-slide-group-item--active"
99
- })
100
- }, "VSlideGroup"), Le = j()({
101
- name: "VSlideGroup",
102
- props: Ve(),
103
- emits: {
104
- "update:modelValue": (e) => !0
105
- },
106
- setup(e, n) {
107
- let {
108
- slots: o
109
- } = n;
110
- const {
111
- isRtl: s
112
- } = ve(), {
113
- displayClasses: g,
114
- mobile: h
115
- } = ge(e), i = ie(e, e.symbol), d = x(!1), f = x(0), S = x(0), z = x(0), r = v(() => e.direction === "horizontal"), {
116
- resizeRef: u,
117
- contentRect: m
118
- } = N(), {
119
- resizeRef: c,
120
- contentRect: y
121
- } = N(), E = he(), C = v(() => ({
122
- container: u.el,
123
- duration: 200,
124
- easing: "easeOutQuart"
125
- })), X = v(() => i.selected.value.length ? i.items.value.findIndex((l) => l.id === i.selected.value[0]) : -1), ee = v(() => i.selected.value.length ? i.items.value.findIndex((l) => l.id === i.selected.value[i.selected.value.length - 1]) : -1);
126
- if (Y) {
127
- let l = -1;
128
- pe(() => [i.selected.value, m.value, y.value, r.value], () => {
129
- cancelAnimationFrame(l), l = requestAnimationFrame(() => {
130
- if (m.value && y.value) {
131
- const t = r.value ? "width" : "height";
132
- S.value = m.value[t], z.value = y.value[t], d.value = S.value + 1 < z.value;
133
- }
134
- if (X.value >= 0 && c.el) {
135
- const t = c.el.children[ee.value];
136
- F(t, e.centerActive);
137
- }
138
- });
139
- });
140
- }
141
- const O = x(!1);
142
- function F(l, t) {
143
- let a = 0;
144
- t ? a = Oe({
145
- containerElement: u.el,
146
- isHorizontal: r.value,
147
- selectedElement: l
148
- }) : a = ze({
149
- containerElement: u.el,
150
- isHorizontal: r.value,
151
- isRtl: s.value,
152
- selectedElement: l
153
- }), G(a);
154
- }
155
- function G(l) {
156
- if (!Y || !u.el) return;
157
- const t = w(r.value, u.el), a = J(r.value, s.value, u.el);
158
- if (!(q(r.value, u.el) <= t || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
159
- Math.abs(l - a) < 16)) {
160
- if (r.value && s.value && u.el) {
161
- const {
162
- scrollWidth: L,
163
- offsetWidth: M
164
- } = u.el;
165
- l = L - M - l;
166
- }
167
- r.value ? E.horizontal(l, C.value) : E(l, C.value);
168
- }
169
- }
170
- function te(l) {
171
- const {
172
- scrollTop: t,
173
- scrollLeft: a
174
- } = l.target;
175
- f.value = r.value ? a : t;
176
- }
177
- function le(l) {
178
- if (O.value = !0, !(!d.value || !c.el)) {
179
- for (const t of l.composedPath())
180
- for (const a of c.el.children)
181
- if (a === t) {
182
- F(a);
183
- return;
184
- }
185
- }
186
- }
187
- function oe(l) {
188
- O.value = !1;
189
- }
190
- let k = !1;
191
- function ne(l) {
192
- var t;
193
- !k && !O.value && !(l.relatedTarget && ((t = c.el) != null && t.contains(l.relatedTarget))) && b(), k = !1;
194
- }
195
- function W() {
196
- k = !0;
197
- }
198
- function ae(l) {
199
- if (!c.el) return;
200
- function t(a) {
201
- l.preventDefault(), b(a);
202
- }
203
- r.value ? l.key === "ArrowRight" ? t(s.value ? "prev" : "next") : l.key === "ArrowLeft" && t(s.value ? "next" : "prev") : l.key === "ArrowDown" ? t("next") : l.key === "ArrowUp" && t("prev"), l.key === "Home" ? t("first") : l.key === "End" && t("last");
204
- }
205
- function T(l, t) {
206
- if (!l) return;
207
- let a = l;
208
- do
209
- a = a == null ? void 0 : a[t === "next" ? "nextElementSibling" : "previousElementSibling"];
210
- while (a != null && a.hasAttribute("disabled"));
211
- return a;
212
- }
213
- function b(l) {
214
- if (!c.el) return;
215
- let t;
216
- if (!l)
217
- t = me(c.el)[0];
218
- else if (l === "next") {
219
- if (t = T(c.el.querySelector(":focus"), l), !t) return b("first");
220
- } else if (l === "prev") {
221
- if (t = T(c.el.querySelector(":focus"), l), !t) return b("last");
222
- } else l === "first" ? (t = c.el.firstElementChild, t != null && t.hasAttribute("disabled") && (t = T(t, "next"))) : l === "last" && (t = c.el.lastElementChild, t != null && t.hasAttribute("disabled") && (t = T(t, "prev")));
223
- t && t.focus({
224
- preventScroll: !0
225
- });
226
- }
227
- function V(l) {
228
- const t = r.value && s.value ? -1 : 1, a = (l === "prev" ? -t : t) * S.value;
229
- let I = f.value + a;
230
- if (r.value && s.value && u.el) {
231
- const {
232
- scrollWidth: L,
233
- offsetWidth: M
234
- } = u.el;
235
- I += L - M;
236
- }
237
- G(I);
238
- }
239
- const P = v(() => ({
240
- next: i.next,
241
- prev: i.prev,
242
- select: i.select,
243
- isSelected: i.isSelected
244
- })), R = v(() => {
245
- switch (e.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 !h.value;
252
- // Show arrows on mobile when overflowing.
253
- // This matches the default 2.2 behavior
254
- case !0:
255
- return d.value || Math.abs(f.value) > 0;
256
- // Always show on mobile
257
- case "mobile":
258
- return h.value || d.value || Math.abs(f.value) > 0;
259
- // https://material.io/components/tabs#scrollable-tabs
260
- // Always show arrows when
261
- // overflowed on desktop
262
- default:
263
- return !h.value && (d.value || Math.abs(f.value) > 0);
264
- }
265
- }), _ = v(() => Math.abs(f.value) > 1), A = v(() => {
266
- if (!u.value) return !1;
267
- const l = q(r.value, u.el), t = Te(r.value, u.el);
268
- return l - t - Math.abs(f.value) > 1;
269
- });
270
- return K(() => p(e.tag, {
271
- class: ["v-slide-group", {
272
- "v-slide-group--vertical": !r.value,
273
- "v-slide-group--has-affixes": R.value,
274
- "v-slide-group--is-overflowing": d.value
275
- }, g.value, e.class],
276
- style: e.style,
277
- tabindex: O.value || i.selected.value.length ? -1 : 0,
278
- onFocus: ne
279
- }, {
280
- default: () => {
281
- var l, t, a;
282
- return [R.value && p("div", {
283
- key: "prev",
284
- class: ["v-slide-group__prev", {
285
- "v-slide-group__prev--disabled": !_.value
286
- }],
287
- onMousedown: W,
288
- onClick: () => _.value && V("prev")
289
- }, [((l = o.prev) == null ? void 0 : l.call(o, P.value)) ?? p(H, null, {
290
- default: () => [p(U, {
291
- icon: s.value ? e.nextIcon : e.prevIcon
292
- }, null)]
293
- })]), p("div", {
294
- key: "container",
295
- ref: u,
296
- class: "v-slide-group__container",
297
- onScroll: te
298
- }, [p("div", {
299
- ref: c,
300
- class: "v-slide-group__content",
301
- onFocusin: le,
302
- onFocusout: oe,
303
- onKeydown: ae
304
- }, [(t = o.default) == null ? void 0 : t.call(o, P.value)])]), R.value && p("div", {
305
- key: "next",
306
- class: ["v-slide-group__next", {
307
- "v-slide-group__next--disabled": !A.value
308
- }],
309
- onMousedown: W,
310
- onClick: () => A.value && V("next")
311
- }, [((a = o.next) == null ? void 0 : a.call(o, P.value)) ?? p(H, null, {
312
- default: () => [p(U, {
313
- icon: s.value ? e.prevIcon : e.nextIcon
314
- }, null)]
315
- })])];
316
- }
317
- })), {
318
- selected: i.selected,
319
- scrollTo: V,
320
- scrollOffset: f,
321
- focus: b,
322
- hasPrev: _,
323
- hasNext: A
324
- };
325
- }
326
- }), Pe = Q({
327
- id: String,
328
- text: String,
329
- ...xe(de({
330
- closeOnBack: !1,
331
- location: "end",
332
- locationStrategy: "connected",
333
- eager: !0,
334
- minWidth: 0,
335
- offset: 10,
336
- openOnClick: !1,
337
- openOnHover: !0,
338
- origin: "auto",
339
- scrim: !1,
340
- scrollStrategy: "reposition",
341
- transition: !1
342
- }), ["absolute", "persistent"])
343
- }, "VTooltip"), Me = j()({
344
- name: "VTooltip",
345
- props: Pe(),
346
- emits: {
347
- "update:modelValue": (e) => !0
348
- },
349
- setup(e, n) {
350
- let {
351
- slots: o
352
- } = n;
353
- const s = ye(e, "modelValue"), {
354
- scopeId: g
355
- } = fe(), h = Ee(), i = v(() => e.id || `v-tooltip-${h}`), d = be(), f = v(() => e.location.split(" ").length > 1 ? e.location : e.location + " center"), S = v(() => e.origin === "auto" || e.origin === "overlap" || e.origin.split(" ").length > 1 || e.location.split(" ").length > 1 ? e.origin : e.origin + " center"), z = v(() => e.transition ? e.transition : s.value ? "scale-transition" : "fade-transition"), r = v(() => $({
356
- "aria-describedby": i.value
357
- }, e.activatorProps));
358
- return K(() => {
359
- const u = D.filterProps(e);
360
- return p(D, $({
361
- ref: d,
362
- class: ["v-tooltip", e.class],
363
- style: e.style,
364
- id: i.value
365
- }, u, {
366
- modelValue: s.value,
367
- "onUpdate:modelValue": (m) => s.value = m,
368
- transition: z.value,
369
- absolute: !0,
370
- location: f.value,
371
- origin: S.value,
372
- persistent: !0,
373
- role: "tooltip",
374
- activatorProps: r.value,
375
- _disableGlobalStack: !0
376
- }, g), {
377
- activator: o.activator,
378
- default: function() {
379
- var E;
380
- for (var m = arguments.length, c = new Array(m), y = 0; y < m; y++)
381
- c[y] = arguments[y];
382
- return ((E = o.default) == null ? void 0 : E.call(o, ...c)) ?? e.text;
383
- }
384
- });
385
- }), we({}, d);
386
- }
387
- });
388
- se("css/revolugo.vtooltip.O8QDYs1J.css");
389
- export {
390
- Me as V,
391
- ke as a,
392
- Le as b,
393
- Ve as m
394
- };
395
- //# sourceMappingURL=revolugo.vtooltip.CI_oDjbQ.min.js.map