@revolugo/elements 6.8.3-beta.12 → 6.8.3-beta.13

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 (115) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +1 -0
  2. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +1 -0
  3. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +1 -0
  4. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +1 -0
  5. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +1 -0
  6. package/dist/{revolugo._baseiteratee.BNqHcNCn.min.js → revolugo._baseiteratee.cBR9c7y0.min.js} +2 -2
  7. package/dist/{revolugo.banktransferdetails.BsegKDEt.min.js → revolugo.banktransferdetails.COKZxUgl.min.js} +10 -10
  8. package/dist/{revolugo.bdaterangepicker.DapJe2k_.min.js → revolugo.bdaterangepicker.DTHAdEo_.min.js} +5 -5
  9. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Dity0kPd.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js} +2 -2
  10. package/dist/{revolugo.bhoteloffersfilterbar.BRpeYcls.min.js → revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js} +2784 -2784
  11. package/dist/{revolugo.bhotelroomsdetails.DBJTpd0b.min.js → revolugo.bhotelroomsdetails.Du1N0UAf.min.js} +11 -11
  12. package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +480 -0
  13. package/dist/{revolugo.bookingdetailssidebar.C3w74F5L.min.js → revolugo.bookingdetailssidebar.DPhWTa8q.min.js} +4 -4
  14. package/dist/{revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CwREI2PG.min.js → revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js} +213 -243
  15. package/dist/{revolugo.bookingmanager.gCoL9xhg.min.js → revolugo.bookingmanager.DU11HnFM.min.js} +20 -20
  16. package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.yZ7lT7Ky.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js} +3 -3
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CjsWO7EJ.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js} +7 -7
  18. package/dist/{revolugo.btag.UEG3bC7i.min.js → revolugo.btag.C62gPpXY.min.js} +20 -20
  19. package/dist/{revolugo.cancellationpoliciesbadge.ntlU0HsA.min.js → revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js} +7 -7
  20. package/dist/{revolugo.cancellationpoliciesbadge.sYw1pNMG.min.js → revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js} +4 -4
  21. package/dist/{revolugo.cancellationpolicieslist.CVVfgCCk.min.js → revolugo.cancellationpolicieslist.B3anYVoy.min.js} +3 -3
  22. package/dist/{revolugo.cancellationpolicieslist.D9DKuejr.min.js → revolugo.cancellationpolicieslist.CXfbgIoX.min.js} +4 -4
  23. package/dist/{revolugo.case-transformers.b-XzZvL5.min.js → revolugo.case-transformers.BwQ_6ytS.min.js} +2 -2
  24. package/dist/{revolugo.creditcardform.Au3OxB76.min.js → revolugo.creditcardform.Bk7yeZle.min.js} +196 -196
  25. package/dist/{revolugo.creditcardform.DumYzkTy.min.js → revolugo.creditcardform.CLPMa22X.min.js} +4 -4
  26. package/dist/{revolugo.creditcardpayment.DScJh9Zr.min.js → revolugo.creditcardpayment.16l0_Jf7.min.js} +16 -16
  27. package/dist/{revolugo.creditcardpayment.Bx8bkHMS.min.js → revolugo.creditcardpayment.8uLeCSFY.min.js} +4 -4
  28. package/dist/{revolugo.currencypicker.DJcvFUTj.min.js → revolugo.currencypicker.C2vrmj29.min.js} +11 -11
  29. package/dist/{revolugo.currencypickerbtn.CMwp40zg.min.js → revolugo.currencypickerbtn.D-_ebAdx.min.js} +9 -9
  30. package/dist/{revolugo.currencypickerbtn.eKUai3qG.min.js → revolugo.currencypickerbtn.oOaJl4xV.min.js} +4 -4
  31. package/dist/{revolugo.dates.Cfh-fFvg.min.js → revolugo.dates.CjcXQ0GW.min.js} +2 -2
  32. package/dist/{revolugo.defaultsdeep.BuALtSRq.min.js → revolugo.defaultsdeep.BeZIlIB3.min.js} +2 -2
  33. package/dist/{revolugo.dialog-attach.CxoZryDZ.min.js → revolugo.dialog-attach.BhhnSZUl.min.js} +2 -2
  34. package/dist/{revolugo.dialog-transition.Cer9D_-h.min.js → revolugo.dialog-transition.FTaI_Ytg.min.js} +3 -3
  35. package/dist/{revolugo.fastbookingflow.BOrmnX6Q.min.js → revolugo.fastbookingflow.BEvuz8TE.min.js} +4 -4
  36. package/dist/{revolugo.fullbookingflow.Bq8Io1su.min.js → revolugo.fullbookingflow.Cqc7o02c.min.js} +17 -17
  37. package/dist/{revolugo.hotel-offer-request.Bd8jPq06.min.js → revolugo.hotel-offer-request.aeZsBIhG.min.js} +2 -2
  38. package/dist/{revolugo.hoteldescriptionview.HbaPKzCf.min.js → revolugo.hoteldescriptionview.Cc34IdcB.min.js} +22 -22
  39. package/dist/{revolugo.hoteldescriptionview.DfJDATBx.min.js → revolugo.hoteldescriptionview.bwCbJ_Lc.min.js} +4 -4
  40. package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.DwY5zXUv.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js} +7 -7
  41. package/dist/{revolugo.hotelofferlist.mA91s1jK.min.js → revolugo.hotelofferlist.BjxZDBqQ.min.js} +4 -4
  42. package/dist/{revolugo.hotelofferlist.DAbQS7Ux.min.js → revolugo.hotelofferlist.BvbLSbsN.min.js} +2218 -2218
  43. package/dist/{revolugo.hoteloffersearchmenu.Bae8L4iX.min.js → revolugo.hoteloffersearchmenu.BJ-JtltU.min.js} +6 -6
  44. package/dist/{revolugo.hoteloffersearchmenuui.DEK8eB1k.min.js → revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js} +17 -17
  45. package/dist/{revolugo.hoteloffersmap.CW2MxZcY.min.js → revolugo.hoteloffersmap.CXSkWGLL.min.js} +4 -4
  46. package/dist/{revolugo.hoteloffersmap.25mO2VkA.min.js → revolugo.hoteloffersmap.CwRdoBFO.min.js} +15 -15
  47. package/dist/{revolugo.hoteloffersview.Ctj3w7k0.min.js → revolugo.hoteloffersview.Bldot7ii.min.js} +4 -4
  48. package/dist/{revolugo.hoteloffersview.BiNppoBD.min.js → revolugo.hoteloffersview.DmZBFwbi.min.js} +16 -16
  49. package/dist/{revolugo.hotelroomofferlist.DfyLQMo3.min.js → revolugo.hotelroomofferlist.BMzSnIk0.min.js} +566 -566
  50. package/dist/{revolugo.hotelroomofferlist.BzUEDpMP.min.js → revolugo.hotelroomofferlist.BfIOXkSe.min.js} +4 -4
  51. package/dist/{revolugo.hotelroomofferrequestcreator.props._FNqH1_y.min.js → revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js} +2 -2
  52. package/dist/{revolugo.hotelroomoffersbookingflow.DQnX9rzj.min.js → revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js} +923 -923
  53. package/dist/{revolugo.hotelroomoffersearchmenu.CqCjwRf1.min.js → revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js} +5 -5
  54. package/dist/{revolugo.hotelroomoffersearchmenu.BIvAci31.min.js → revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js} +8 -8
  55. package/dist/{revolugo.hotelroomoffersview.sEtezg5C.min.js → revolugo.hotelroomoffersview.BYJ5V84k.min.js} +12 -12
  56. package/dist/{revolugo.hotelroomoffersview._jUynyVd.min.js → revolugo.hotelroomoffersview.CvL5egT6.min.js} +4 -4
  57. package/dist/{revolugo.index._qfv0yMP.min.js → revolugo.index.BEuxTkkV.min.js} +62 -62
  58. package/dist/{revolugo.index.BSIwmERM.min.js → revolugo.index.DW0gTseB.min.js} +6 -6
  59. package/dist/{revolugo.index.wc.o68qmveS.min.js → revolugo.index.wc.ChJWkzSz.min.js} +76 -76
  60. package/dist/{revolugo.langpicker.YNnEVZ5C.min.js → revolugo.langpicker.C3WkV6vL.min.js} +5 -5
  61. package/dist/{revolugo.langpickerbtn.D2IcnFI6.min.js → revolugo.langpickerbtn.Big2FR0-.min.js} +10 -10
  62. package/dist/{revolugo.langpickerbtn.DbfcQ4zh.min.js → revolugo.langpickerbtn.BtNmwMy5.min.js} +4 -4
  63. package/dist/revolugo.min.js +1 -1
  64. package/dist/{revolugo.parsed-props.EZV9Dl0c.min.js → revolugo.parsed-props.CKrOq6vN.min.js} +4 -4
  65. package/dist/{revolugo.pathify.DDAVjL8l.min.js → revolugo.pathify.BXdI-Fp4.min.js} +2 -2
  66. package/dist/{revolugo.prebookform.D9twsHGO.min.js → revolugo.prebookform.Bt4-Cptm.min.js} +4 -4
  67. package/dist/{revolugo.prebookform.BSV80X9P.min.js → revolugo.prebookform.DLNVSLoS.min.js} +18 -18
  68. package/dist/{revolugo.roominglisteditor.BpxbFfE3.min.js → revolugo.roominglisteditor.CQzIDZtG.min.js} +4 -4
  69. package/dist/{revolugo.roominglisteditor._1xyhsLY.min.js → revolugo.roominglisteditor.w3dcygO-.min.js} +9 -9
  70. package/dist/{revolugo.rounded.CBLqNB2x.min.js → revolugo.rounded.TLykrsW-.min.js} +2 -2
  71. package/dist/{revolugo.ssrboot.CH07hrUm.min.js → revolugo.ssrboot.B7Rop2QP.min.js} +2 -2
  72. package/dist/{revolugo.storybooktoolbar.C1edOq05.min.js → revolugo.storybooktoolbar.C-phKw4Y.min.js} +18 -18
  73. package/dist/{revolugo.termsandconditions.BGWfl6BC.min.js → revolugo.termsandconditions.BT6qdQad.min.js} +4 -4
  74. package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +405 -0
  75. package/dist/{revolugo.use-breakpoint-service.HGtuBCcJ.min.js → revolugo.use-breakpoint-service.CgKRPcVE.min.js} +3 -3
  76. package/dist/{revolugo.use-dialog-attach.CT58fcz5.min.js → revolugo.use-dialog-attach.EGF5pKTl.min.js} +3 -3
  77. package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +11 -0
  78. package/dist/{revolugo.use-parsed-props.D_LNGQFk.min.js → revolugo.use-parsed-props.DL26tjRL.min.js} +3 -3
  79. package/dist/{revolugo.vautocomplete.BbqytRiZ.min.js → revolugo.vautocomplete.C1ryjPoI.min.js} +31 -31
  80. package/dist/{revolugo.vbadge.BYG8sX0E.min.js → revolugo.vbadge.BFTNHKkx.min.js} +15 -15
  81. package/dist/{revolugo.vbtn.CKeEHKuy.min.js → revolugo.vbtn.Cw5eo1Xx.min.js} +17 -17
  82. package/dist/{revolugo.vcard.Bt-IXVVU.min.js → revolugo.vcard.DlI6Moiv.min.js} +23 -23
  83. package/dist/{revolugo.vcheckboxbtn.BfT_pgMw.min.js → revolugo.vcheckboxbtn.Bc0xhmo2.min.js} +39 -39
  84. package/dist/{revolugo.vdialog.BFm61dRI.min.js → revolugo.vdialog.up-Y8p7U.min.js} +7 -7
  85. package/dist/{revolugo.vdivider.jRBmb8tR.min.js → revolugo.vdivider.CaptbTLL.min.js} +8 -8
  86. package/dist/{revolugo.vexpansionpanels.HOKdpqz5.min.js → revolugo.vexpansionpanels.DeQCpMrB.min.js} +19 -19
  87. package/dist/{revolugo.vform.BSOibhly.min.js → revolugo.vform.Cix7vOUg.min.js} +4 -4
  88. package/dist/{revolugo.vicon.Df08MHmh.min.js → revolugo.vicon.BebzkIu9.min.js} +9 -9
  89. package/dist/{revolugo.vinput.Bh6n3tJc.min.js → revolugo.vinput.BP0DAwB4.min.js} +38 -38
  90. package/dist/{revolugo.vlabel.CGHVuOk1.min.js → revolugo.vlabel.BLwMEYcT.min.js} +3 -3
  91. package/dist/{revolugo.vlist.CH8YXMuI.min.js → revolugo.vlist.BQB5ovkZ.min.js} +63 -63
  92. package/dist/{revolugo.vmenu.D_RpngnD.min.js → revolugo.vmenu.Bkfr0AZ8.min.js} +18 -18
  93. package/dist/{revolugo.vselect.CGFNr-yE.min.js → revolugo.vselect.CnEh8cV1.min.js} +87 -87
  94. package/dist/{revolugo.vsheet.BVBxYYH5.min.js → revolugo.vsheet.3Q2yGw6P.min.js} +14 -14
  95. package/dist/{revolugo.vskeletonloader.B0vp0U2x.min.js → revolugo.vskeletonloader.Duv2gHal.min.js} +13 -13
  96. package/dist/{revolugo.vslidegroup.zdwLbx5m.min.js → revolugo.vslidegroup.DRWO8Opf.min.js} +21 -21
  97. package/dist/{revolugo.vsnackbar.WK0U0Ng2.min.js → revolugo.vsnackbar.IdM-bZTD.min.js} +26 -26
  98. package/dist/revolugo.vspacer.C-OarNi7.min.js +7 -0
  99. package/dist/{revolugo.vtextarea.BFz-qA78.min.js → revolugo.vtextarea.Dm9Cp0hC.min.js} +26 -26
  100. package/dist/{revolugo.vtextfield.Byqvse2k.min.js → revolugo.vtextfield.CJVqkfB9.min.js} +49 -49
  101. package/dist/{revolugo.vtoolbar.Bzif8ZNV.min.js → revolugo.vtoolbar.DvuDs2yB.min.js} +17 -17
  102. package/dist/{revolugo.vtooltip.BRcrLHcu.min.js → revolugo.vtooltip.64CgkEK4.min.js} +6 -6
  103. package/dist/{revolugo.vwindowitem.ZG1O_r7U.min.js → revolugo.vwindowitem.qKodFAHS.min.js} +25 -25
  104. package/dist/{revolugo.watch-list.DEz0b4bO.min.js → revolugo.watch-list.0WSknWRu.min.js} +2 -2
  105. package/dist/{revolugo.webcomponentwrapper.CCH__9Lk.min.js → revolugo.webcomponentwrapper.BXqP9KYd.min.js} +67 -67
  106. package/package.json +1 -1
  107. package/dist/css/revolugo.bhoteloffersfilterbar.CdCaybXR.css +0 -1
  108. package/dist/css/revolugo.bimagecarousel.BjO6h8oj.css +0 -1
  109. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  110. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
  111. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  112. package/dist/revolugo.bimagecarousel.BeYAW4fG.min.js +0 -498
  113. package/dist/revolugo.termsandconditions.CKau6FuO.min.js +0 -405
  114. package/dist/revolugo.use-html-element.Cf1EHSxY.min.js +0 -11
  115. package/dist/revolugo.vspacer.D32v7UR1.min.js +0 -7
@@ -1,498 +0,0 @@
1
- import { d as P, H as T, k as D, D as k, o as u, u as H, a1 as I, c, w as g, F as O, B as R, b as V, C, a2 as $, a6 as j, ag as Y, r as S, O as L, X as W, a as d, ad as K, a3 as J, J as q, aH as X, as as Q, g as Z } from "./revolugo.index.wc.o68qmveS.min.js";
2
- import { _ as z, u as N, n as x, p as ee, e as te, o as ae, m as le, M as se, V as U, C as re } from "./revolugo.webcomponentwrapper.CCH__9Lk.min.js";
3
- import { i as ie, u as oe, a as ne, V as ue, f as _, q as de, I as me } from "./revolugo.index._qfv0yMP.min.js";
4
- import { V as ce, a as ge } from "./revolugo.vslidegroup.zdwLbx5m.min.js";
5
- import { V as A, m as he, a as M, b as fe } from "./revolugo.vwindowitem.ZG1O_r7U.min.js";
6
- import { a as ve } from "./revolugo.vbtn.CKeEHKuy.min.js";
7
- import { V as pe } from "./revolugo.vskeletonloader.B0vp0U2x.min.js";
8
- function F(e) {
9
- try {
10
- if (typeof document < "u") {
11
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
- sheets: [],
13
- components: []
14
- };
15
- const l = import.meta.url, t = l.slice(0, l.lastIndexOf("/") + 1) + e;
16
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
17
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
18
- s(t);
19
- if (e.indexOf("fonts") >= 0) {
20
- const s = document.createElement("link");
21
- s.rel = "stylesheet", linK.href = t, document.head.appendChild(s);
22
- }
23
- }
24
- } catch (l) {
25
- console.error("[revolugo-elements] ", l);
26
- }
27
- }
28
- function E(e, l) {
29
- return l.map((t) => e[t]).find(Boolean);
30
- }
31
- const je = (e) => e ? {
32
- highres: e.map(
33
- (l) => E(l, ["xl", "l", "m"])
34
- ),
35
- lowres: e.map(
36
- (l) => E(l, ["l", "xl", "m"])
37
- ),
38
- thumbnails: e.map(
39
- (l) => E(l, ["m", "l", "xl"])
40
- )
41
- } : null, ye = ["src"], we = /* @__PURE__ */ P({
42
- __name: "BGoogleMapIframe",
43
- props: {
44
- address: {},
45
- city: {},
46
- height: {},
47
- width: { default: "100%" }
48
- },
49
- setup(e) {
50
- const l = e, t = T(() => {
51
- if (!l.address || !l.city)
52
- return "";
53
- const s = l.address.toLowerCase().replace(/ /gu, "+"), n = l.city.toLowerCase().replace(/[ "'.1-9_]/gu, "");
54
- return `https://maps.google.com/maps?q=${s},+${n}&output=embed`;
55
- });
56
- return (s, n) => (u(), D("iframe", k({ frameborder: "0" }, s.$props, {
57
- src: t.value,
58
- style: { "margin-bottom": "-6px" }
59
- }), null, 16, ye));
60
- }
61
- }), We = /* @__PURE__ */ z(we, [["__scopeId", "data-v-142233e1"]]), Ve = {
62
- height: {
63
- default: "70px",
64
- type: [String, Number]
65
- },
66
- imageUrls: { required: !0, type: Array },
67
- rounded: { type: Boolean },
68
- slide: { type: Number }
69
- }, ke = P({
70
- data() {
71
- return {
72
- currentSlide: this.slide || 0
73
- };
74
- },
75
- model: {
76
- event: "change",
77
- prop: "slide"
78
- },
79
- name: "BImageCarouselThumbnails",
80
- props: Ve,
81
- setup() {
82
- const { t: e } = H();
83
- return {
84
- t: e
85
- };
86
- },
87
- watch: {
88
- slide(e) {
89
- this.currentSlide = e;
90
- }
91
- }
92
- }), be = I()({
93
- name: "VSlideGroupItem",
94
- props: ie(),
95
- emits: {
96
- "group:selected": (e) => !0
97
- },
98
- setup(e, l) {
99
- let {
100
- slots: t
101
- } = l;
102
- const s = oe(e, ce);
103
- return () => t.default?.({
104
- isSelected: s.isSelected.value,
105
- select: s.select,
106
- toggle: s.toggle,
107
- selectedClass: s.selectedClass.value
108
- });
109
- }
110
- }), Se = ["data-index", "onClick"], Ce = ["height", "src"];
111
- function Ie(e, l, t, s, n, o) {
112
- return u(), c(ge, {
113
- ref: "slide-group",
114
- modelValue: e.currentSlide,
115
- "onUpdate:modelValue": l[0] || (l[0] = (r) => e.currentSlide = r),
116
- "center-active": "",
117
- mandatory: "",
118
- "show-arrows": !1
119
- }, {
120
- default: g(() => [
121
- (u(!0), D(O, null, R(e.imageUrls, (r, m) => (u(), c(be, { key: m }, {
122
- default: g(({ isSelected: v, toggle: p }) => [
123
- V("div", {
124
- class: C(["thumb cursor-pointer", { active: v, "mr-1": m < e.imageUrls.length - 1 }]),
125
- "data-index": m,
126
- onClick: (y) => {
127
- p(), e.$emit("change", m);
128
- }
129
- }, [
130
- V("img", {
131
- class: C({ rounded: e.rounded }),
132
- height: e.height,
133
- "max-width": "105",
134
- src: r
135
- }, null, 10, Ce)
136
- ], 10, Se)
137
- ]),
138
- _: 2
139
- }, 1024))), 128))
140
- ]),
141
- _: 1
142
- }, 8, ["modelValue"]);
143
- }
144
- const Be = /* @__PURE__ */ z(ke, [["render", Ie], ["__scopeId", "data-v-80ffae56"]]), Le = $({
145
- color: String,
146
- cycle: Boolean,
147
- delimiterIcon: {
148
- type: J,
149
- default: "$delimiter"
150
- },
151
- height: {
152
- type: [Number, String],
153
- default: 500
154
- },
155
- hideDelimiters: Boolean,
156
- hideDelimiterBackground: Boolean,
157
- interval: {
158
- type: [Number, String],
159
- default: 6e3,
160
- validator: (e) => Number(e) > 0
161
- },
162
- progress: [Boolean, String],
163
- verticalDelimiters: [Boolean, String],
164
- ...he({
165
- continuous: !0,
166
- mandatory: "force",
167
- showArrows: !0
168
- })
169
- }, "VCarousel"), Ue = I()({
170
- name: "VCarousel",
171
- props: Le(),
172
- emits: {
173
- "update:modelValue": (e) => !0
174
- },
175
- setup(e, l) {
176
- let {
177
- slots: t
178
- } = l;
179
- const s = j(e, "modelValue"), {
180
- t: n
181
- } = Y(), o = S();
182
- let r = -1;
183
- L(s, v), L(() => e.interval, v), L(() => e.cycle, (p) => {
184
- p ? v() : window.clearTimeout(r);
185
- }), W(m);
186
- function m() {
187
- !e.cycle || !o.value || (r = window.setTimeout(o.value.group.next, Number(e.interval) > 0 ? Number(e.interval) : 6e3));
188
- }
189
- function v() {
190
- window.clearTimeout(r), window.requestAnimationFrame(m);
191
- }
192
- return N(() => {
193
- const p = A.filterProps(e);
194
- return d(A, k({
195
- ref: o
196
- }, p, {
197
- modelValue: s.value,
198
- "onUpdate:modelValue": (y) => s.value = y,
199
- class: ["v-carousel", {
200
- "v-carousel--hide-delimiter-background": e.hideDelimiterBackground,
201
- "v-carousel--vertical-delimiters": e.verticalDelimiters
202
- }, e.class],
203
- style: [{
204
- height: K(e.height)
205
- }, e.style]
206
- }), {
207
- default: t.default,
208
- additional: (y) => {
209
- let {
210
- group: h
211
- } = y;
212
- return d(O, null, [!e.hideDelimiters && d("div", {
213
- class: "v-carousel__controls",
214
- style: {
215
- left: e.verticalDelimiters === "left" && e.verticalDelimiters ? 0 : "auto",
216
- right: e.verticalDelimiters === "right" ? 0 : "auto"
217
- }
218
- }, [h.items.value.length > 0 && d(ne, {
219
- defaults: {
220
- VBtn: {
221
- color: e.color,
222
- icon: e.delimiterIcon,
223
- size: "x-small",
224
- variant: "text"
225
- }
226
- },
227
- scoped: !0
228
- }, {
229
- default: () => [h.items.value.map((w, b) => {
230
- const a = {
231
- id: `carousel-item-${w.id}`,
232
- "aria-label": n("$vuetify.carousel.ariaLabel.delimiter", b + 1, h.items.value.length),
233
- class: ["v-carousel__controls__item", h.isSelected(w.id) && "v-btn--active"],
234
- onClick: () => h.select(w.id, !0)
235
- };
236
- return t.item ? t.item({
237
- props: a,
238
- item: w
239
- }) : d(ve, k(w, a), null);
240
- })]
241
- })]), e.progress && d(ue, {
242
- class: "v-carousel__progress",
243
- color: typeof e.progress == "string" ? e.progress : void 0,
244
- modelValue: (h.getItemIndex(s.value) + 1) / h.items.value.length * 100
245
- }, null)]);
246
- },
247
- prev: t.prev,
248
- next: t.next
249
- });
250
- }), {};
251
- }
252
- }), Ee = $({
253
- ...de(),
254
- ...fe()
255
- }, "VCarouselItem"), Te = I()({
256
- name: "VCarouselItem",
257
- inheritAttrs: !1,
258
- props: Ee(),
259
- setup(e, l) {
260
- let {
261
- slots: t,
262
- attrs: s
263
- } = l;
264
- N(() => {
265
- const n = _.filterProps(e), o = M.filterProps(e);
266
- return d(M, k({
267
- class: ["v-carousel-item", e.class]
268
- }, o), {
269
- default: () => [d(_, k(s, n), t)]
270
- });
271
- });
272
- }
273
- }), _e = $({
274
- modelValue: Boolean,
275
- options: {
276
- type: Object,
277
- // For more information on types, navigate to:
278
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
279
- default: () => ({
280
- root: void 0,
281
- rootMargin: void 0,
282
- threshold: void 0
283
- })
284
- },
285
- ...le(),
286
- ...ae(),
287
- ...te(),
288
- ...ee({
289
- transition: "fade-transition"
290
- })
291
- }, "VLazy"), Pe = I()({
292
- name: "VLazy",
293
- directives: {
294
- intersect: me
295
- },
296
- props: _e(),
297
- emits: {
298
- "update:modelValue": (e) => !0
299
- },
300
- setup(e, l) {
301
- let {
302
- slots: t
303
- } = l;
304
- const {
305
- dimensionStyles: s
306
- } = x(e), n = j(e, "modelValue");
307
- function o(r) {
308
- n.value || (n.value = r);
309
- }
310
- return N(() => q(d(e.tag, {
311
- class: ["v-lazy", e.class],
312
- style: [s.value, e.style]
313
- }, {
314
- default: () => [n.value && d(se, {
315
- transition: e.transition,
316
- appear: !0
317
- }, {
318
- default: () => [t.default?.()]
319
- })]
320
- }), [[X("intersect"), {
321
- handler: o,
322
- options: e.options
323
- }, null]])), {};
324
- }
325
- }), De = /* @__PURE__ */ P({
326
- __name: "BImageCarousel",
327
- props: {
328
- clickable: { type: Boolean, default: !1 },
329
- height: {},
330
- imageUrls: {},
331
- isLoading: { type: Boolean, default: !1 },
332
- lazy: { default: 0 },
333
- limit: { default: 80 },
334
- rounded: { type: Boolean },
335
- showThumbnails: { type: Boolean },
336
- slide: {},
337
- thumbnailUrls: {},
338
- thumbnailsHeight: {},
339
- width: {}
340
- },
341
- emits: ["change", "click"],
342
- setup(e, { emit: l }) {
343
- const t = e, s = l, n = S(!1), o = S(!1), r = S(t.slide || 0);
344
- function m() {
345
- s("change", r.value), o.value = !0;
346
- }
347
- function v() {
348
- s("click", r.value), t.clickable && (o.value = !1);
349
- }
350
- function p() {
351
- o.value = !1;
352
- }
353
- function y(a) {
354
- const i = t.imageUrls.length;
355
- r.value = (i + r.value + a) % i, m();
356
- }
357
- const h = T(() => t.isLoading ? [
358
- {
359
- type: "loading",
360
- url: void 0
361
- }
362
- ] : !t.imageUrls || t.imageUrls.length === 0 ? [
363
- {
364
- type: "placeholder",
365
- url: void 0
366
- }
367
- ] : t.imageUrls.slice(0, t.limit).map((a) => ({
368
- type: "image",
369
- url: a
370
- }))), w = T(() => {
371
- if (!n.value)
372
- return [];
373
- if (t.lazy === 0)
374
- return [r.value];
375
- const a = t.imageUrls.length;
376
- return t.lazy < 0 ? Array.from({ length: a }, (i, f) => f) : Array.from(
377
- { length: 2 * t.lazy + 1 },
378
- (i, f) => (r.value + f + a - t.lazy) % a
379
- );
380
- });
381
- function b(a) {
382
- o.value && (a.key === "ArrowLeft" ? y(-1) : a.key === "ArrowRight" && y(1));
383
- }
384
- return W(() => {
385
- document.addEventListener("keyup", b);
386
- }), Q(() => {
387
- document.removeEventListener("keyup", b);
388
- }), (a, i) => (u(), c(Pe, {
389
- height: a.height === "100%" ? "100%" : void 0,
390
- "min-height": a.height,
391
- width: a.width
392
- }, {
393
- default: g(() => [
394
- q((u(), c(Ue, {
395
- modelValue: r.value,
396
- "onUpdate:modelValue": [
397
- i[1] || (i[1] = (f) => r.value = f),
398
- m
399
- ],
400
- class: C(["carousel", { rounded: a.rounded }]),
401
- height: a.height || "100%",
402
- "hide-delimiters": "",
403
- "show-arrows": a.imageUrls.length > 1 ? "hover" : !1,
404
- width: a.width
405
- }, {
406
- default: g(() => [
407
- (u(!0), D(O, null, R(h.value, ({ url: f, type: B }, G) => (u(), c(Te, {
408
- key: G,
409
- eager: w.value.includes(G),
410
- onClick: i[0] || (i[0] = (Oe) => o.value = !0)
411
- }, {
412
- default: g(() => [
413
- B === "placeholder" ? (u(), c(U, {
414
- key: 0,
415
- align: "center",
416
- class: "fill-height ma-0 bg-grey-lighten-2",
417
- justify: "center"
418
- }, {
419
- default: g(() => i[3] || (i[3] = [
420
- V("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
421
- ])),
422
- _: 1,
423
- __: [3]
424
- })) : (u(), c(_, {
425
- key: 1,
426
- class: C({ "cursor-pointer": a.clickable }),
427
- eager: "",
428
- cover: "",
429
- height: a.height || "100%",
430
- src: f,
431
- width: a.width || "100%",
432
- onClick: v
433
- }, {
434
- error: g(() => [
435
- d(U, {
436
- align: "center",
437
- class: "fill-height ma-0 bg-grey-lighten-2",
438
- justify: "center"
439
- }, {
440
- default: g(() => i[4] || (i[4] = [
441
- V("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
442
- ])),
443
- _: 1,
444
- __: [4]
445
- })
446
- ]),
447
- placeholder: g(() => [
448
- B === "loading" || B === "image" ? (u(), c(pe, {
449
- key: 0,
450
- class: "rounded",
451
- height: a.height,
452
- width: a.width,
453
- type: "image"
454
- }, null, 8, ["height", "width"])) : (u(), c(U, {
455
- key: 1,
456
- align: "center",
457
- class: "fill-height ma-0 bg-grey-lighten-2",
458
- justify: "center"
459
- }, {
460
- default: g(() => i[5] || (i[5] = [
461
- V("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
462
- ])),
463
- _: 1,
464
- __: [5]
465
- }))
466
- ]),
467
- _: 2
468
- }, 1032, ["class", "height", "src", "width"]))
469
- ]),
470
- _: 2
471
- }, 1032, ["eager"]))), 128))
472
- ]),
473
- _: 1
474
- }, 8, ["modelValue", "class", "height", "show-arrows", "width"])), [
475
- [re, p]
476
- ]),
477
- a.showThumbnails && a.imageUrls.length > 1 ? (u(), c(Be, {
478
- key: 0,
479
- modelValue: r.value,
480
- "onUpdate:modelValue": i[2] || (i[2] = (f) => r.value = f),
481
- class: "mt-1",
482
- height: a.thumbnailsHeight,
483
- "image-urls": a.thumbnailUrls?.slice(0, a.limit) || a.imageUrls.slice(0, a.limit),
484
- rounded: a.rounded
485
- }, null, 8, ["modelValue", "height", "image-urls", "rounded"])) : Z("", !0)
486
- ]),
487
- _: 1
488
- }, 8, ["height", "min-height", "width"]));
489
- }
490
- }), qe = /* @__PURE__ */ z(De, [["__scopeId", "data-v-08fb821b"]]);
491
- F("css/revolugo.bimagecarousel.BjO6h8oj.css");
492
- export {
493
- qe as B,
494
- Pe as V,
495
- We as a,
496
- je as m
497
- };
498
- //# sourceMappingURL=revolugo.bimagecarousel.BeYAW4fG.min.js.map