@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.
- package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
- package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BQ3adGPS.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +1 -0
- package/dist/css/{revolugo.hotelroomofferlist.DI_s2G5c.css → revolugo.hotelroomofferlist.CCKyS5V3.css} +1 -1
- package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
- package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/index.es.min.js +1130 -1120
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.CLhJGa_I.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.Djs6mxU0.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CTD21Xkh.min.js → revolugo.bdaterangepicker.D9a3kNuM.min.js} +12 -11
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js +149 -0
- package/dist/revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js +4818 -0
- package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.C4xdQLfe.min.js} +35 -34
- package/dist/{revolugo.bhotelsearchbar.CZZ7nrV4.min.js → revolugo.bhotelsearchbar.DR7UHkQo.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.B0c13uQA.min.js → revolugo.bimagecarousel.DhwrLMiX.min.js} +37 -38
- package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.DkBHaNwV.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.DwIul6C1.min.js} +17 -17
- package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.CmdsCQDi.min.js} +27 -27
- package/dist/{revolugo.bpricesummaryskeleton.8052AuK3.min.js → revolugo.bpricesummaryskeleton.BcgNLGYX.min.js} +4 -4
- 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
- package/dist/{revolugo.btag.BWSoB2pK.min.js → revolugo.btag.mY1ErEMj.min.js} +64 -62
- package/dist/revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js +207 -0
- package/dist/revolugo.cancellationpolicieslist.D2idtSnK.min.js +25 -0
- package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.hSJAFEGT.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/{revolugo.case-transformers.Oo4YCZeL.min.js → revolugo.case-transformers.VM7X_9Q1.min.js} +6 -6
- package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.CrwpUivQ.min.js} +4 -4
- package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.SRz4ls19.min.js} +45 -45
- package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.BcVHQlKJ.min.js} +42 -40
- package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.bSs8I8av.min.js} +4 -4
- package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.-B3knz6i.min.js} +8 -8
- package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.CyHWGHaW.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.D38ZdlKW.min.js} +17 -17
- package/dist/{revolugo.defaultsdeep.CCR2LAoW.min.js → revolugo.defaultsdeep.z9urzKAp.min.js} +32 -32
- package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.D_OA19-E.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Cot8jmLN.min.js → revolugo.dialog-transition.D9Rvu5kv.min.js} +6 -6
- package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.CJP79XT7.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.B3R9Mi6f.min.js → revolugo.fullbookingflow.Cd2NIaQ2.min.js} +17 -17
- package/dist/revolugo.hotel-offer-request.CgsVMCkE.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.BSrnxJem.min.js} +394 -412
- package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.Cl2E63e2.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.CpMoPSRH.min.js → revolugo.hotelofferitemlayout.BMzCfYQ7.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.B3yjbXlQ.min.js} +789 -796
- package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.DhYBX5pF.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.f8olJbDW.min.js → revolugo.hotelofferrequestcreator.CNbav2EO.min.js} +16 -15
- package/dist/revolugo.hoteloffersearchmenu.BZascblw.min.js +47 -0
- package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.D6hRTrsf.min.js} +22 -23
- package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.DkNN0NQB.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.CPYXigVN.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.DjAXSPOG.min.js} +51 -49
- package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.C_HCimvP.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.wD_JIpuK.min.js} +187 -186
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js} +55 -55
- package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.CCmILEaO.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.DVsdh7Jz.min.js} +4 -4
- package/dist/revolugo.index.Dyr1hnew.min.js +1255 -0
- package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.BaFPloEH.min.js} +11412 -11783
- package/dist/revolugo.langpicker.CaQ17b6t.min.js +99 -0
- package/dist/revolugo.langpickerbtn.DTkV9PYE.min.js +29 -0
- package/dist/revolugo.langpickerbtn.DmoEWum3.min.js +126 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CKNqCKLR.min.js +58 -0
- package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.CxKmwFK-.min.js} +21 -21
- package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.p-M6zS08.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.5gfIA3r6.min.js} +11 -11
- package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.Zz9TPhp6.min.js} +4 -4
- package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.CQuigzpH.min.js} +2 -2
- package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.DfQY0r5E.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.DikXrkgz.min.js} +111 -107
- package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.Bbo5pbgR.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.BSpX2Wim.min.js → revolugo.termsandconditions.CiHuvfp6.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +45 -0
- package/dist/revolugo.use-html-element.C-V3ql2M.min.js +12 -0
- package/dist/{revolugo.vautocomplete.DNxDeH8S.min.js → revolugo.vautocomplete.CimHObsW.min.js} +110 -109
- package/dist/{revolugo.vbadge.DqpIeIfj.min.js → revolugo.vbadge.dOVHEqkO.min.js} +16 -16
- package/dist/{revolugo.vbtn.DsvUpshD.min.js → revolugo.vbtn.C5rBd2Qx.min.js} +61 -61
- package/dist/{revolugo.vcard.D1VwO30r.min.js → revolugo.vcard.Dw6Qxohz.min.js} +48 -48
- package/dist/{revolugo.vcheckboxbtn.BnbOlneq.min.js → revolugo.vcheckboxbtn.oJMjQhq7.min.js} +58 -58
- package/dist/{revolugo.vdialog.rsw4VlQE.min.js → revolugo.vdialog.DBJFoM4O.min.js} +25 -25
- package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.93Ehbd8W.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.Cy-T-RLA.min.js → revolugo.vexpansionpanels.nGkPqsEk.min.js} +24 -23
- package/dist/{revolugo.vform.CO-9AfdO.min.js → revolugo.vform.D7BJmMQ-.min.js} +4 -4
- package/dist/revolugo.vicon.CuIGTijn.min.js +106 -0
- package/dist/{revolugo.vinput.DEbpex7C.min.js → revolugo.vinput.C6k3-74L.min.js} +57 -56
- package/dist/{revolugo.vlabel.CBGmCU1C.min.js → revolugo.vlabel.BNLTPj0h.min.js} +3 -3
- package/dist/{revolugo.vlist.BzvP4Aad.min.js → revolugo.vlist.B56e-cT_.min.js} +95 -95
- package/dist/{revolugo.vmenu.CIfiL0Ib.min.js → revolugo.vmenu.DhHohFn7.min.js} +22 -22
- package/dist/{revolugo.vselect.CDieig82.min.js → revolugo.vselect.BHhGGQU3.min.js} +77 -76
- package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.H2Eli2di.min.js} +10 -10
- package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.B-Qq0740.min.js} +6 -6
- package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +333 -0
- package/dist/{revolugo.vsnackbar.D5nwTNfd.min.js → revolugo.vsnackbar.-lEdFT5G.min.js} +49 -50
- package/dist/revolugo.vspacer.DaFDHuC9.min.js +7 -0
- package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.BJaCwHl5.min.js} +33 -33
- package/dist/{revolugo.vtextfield.Br_yyf1t.min.js → revolugo.vtextfield.CMQN6tSz.min.js} +73 -74
- package/dist/{revolugo.vtoolbar.VPqzB-yU.min.js → revolugo.vtoolbar.CSyyGTVc.min.js} +23 -23
- package/dist/revolugo.vtooltip.CvplYWvb.min.js +90 -0
- package/dist/{revolugo.vwindowitem.IF1zLcjR.min.js → revolugo.vwindowitem.bzpa5cVc.min.js} +31 -31
- package/dist/{revolugo.watch-list.BD0XoO1O.min.js → revolugo.watch-list.Be1UUzWP.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.Ci87Oown.min.js → revolugo.webcomponentwrapper.Byzhja-M.min.js} +302 -302
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
- package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
- package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
- package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
- package/dist/revolugo.index.D5-DO18f.min.js +0 -13
- package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
- package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
- package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
- package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
- package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
- package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
- package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
@@ -1,50 +1,35 @@
|
|
1
|
-
import { d as
|
2
|
-
import { k as
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { d as p, u as m, D as f, bE as k, s as g, k as C, i as t, g as h, F as x, v as y, J as s, o as n } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
+
import { k as L, C as _ } from "./revolugo.case-transformers.VM7X_9Q1.min.js";
|
3
|
+
const P = ["innerHTML"], B = ["innerHTML"], R = ["innerHTML"], S = ["innerHTML"], T = ["innerHTML"], z = /* @__PURE__ */ p({
|
4
|
+
__name: "CancellationPoliciesList",
|
5
|
+
props: {
|
6
|
+
cancellationPolicies: {},
|
7
|
+
checkInDate: {},
|
8
|
+
initialDate: {},
|
9
|
+
timezone: {}
|
8
10
|
},
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
},
|
13
|
-
initialDate: {
|
14
|
-
type: String
|
15
|
-
},
|
16
|
-
timezone: {
|
17
|
-
required: !0,
|
18
|
-
type: String
|
19
|
-
}
|
20
|
-
}, r = s({
|
21
|
-
computed: {
|
22
|
-
parsedInputCancellationPolicies() {
|
23
|
-
if (typeof this.cancellationPolicies == "string")
|
11
|
+
setup(b) {
|
12
|
+
const { locale: i, t: o } = m(), l = b, v = f(() => {
|
13
|
+
if (typeof l.cancellationPolicies == "string")
|
24
14
|
try {
|
25
|
-
return JSON.parse(
|
15
|
+
return JSON.parse(l.cancellationPolicies);
|
26
16
|
} catch {
|
27
17
|
return [];
|
28
18
|
}
|
29
|
-
return
|
30
|
-
},
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
)
|
43
|
-
}
|
44
|
-
},
|
45
|
-
methods: {
|
46
|
-
formatDate(e) {
|
47
|
-
return new Date(e).toLocaleTimeString(this.$i18n.locale, {
|
19
|
+
return l.cancellationPolicies;
|
20
|
+
}), r = f(() => v.value.length ? L(
|
21
|
+
k(
|
22
|
+
g({
|
23
|
+
bookingDatetime: l.initialDate || C().format(),
|
24
|
+
cancellationPolicies: v.value,
|
25
|
+
checkInDate: l.checkInDate,
|
26
|
+
timezone: l.timezone
|
27
|
+
})
|
28
|
+
),
|
29
|
+
_.Camel
|
30
|
+
) : []);
|
31
|
+
function a(c) {
|
32
|
+
return new Date(c).toLocaleTimeString(i.value, {
|
48
33
|
day: "numeric",
|
49
34
|
hour: "2-digit",
|
50
35
|
minute: "2-digit",
|
@@ -52,18 +37,48 @@ const g = {
|
|
52
37
|
year: "numeric"
|
53
38
|
});
|
54
39
|
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
40
|
+
return (c, w) => (n(), t("ul", null, [
|
41
|
+
(n(!0), t(x, null, y(r.value, (e, u) => (n(), t("section", { key: u }, [
|
42
|
+
u === 0 && e.penaltyPercentage === 0 ? (n(), t("li", {
|
43
|
+
key: 0,
|
44
|
+
class: "text-success-lighten-1",
|
45
|
+
innerHTML: s(o)("CancellationPoliciesList.freeCancellationBefore", {
|
46
|
+
date: a(e.dateTo)
|
47
|
+
})
|
48
|
+
}, null, 8, P)) : e.penaltyPercentage === 0 ? (n(), t("li", {
|
49
|
+
key: 1,
|
50
|
+
class: "text-success-lighten-1",
|
51
|
+
innerHTML: s(o)("CancellationPoliciesList.freeCancellationBetween", {
|
52
|
+
from: a(e.dateFrom),
|
53
|
+
to: a(e.dateTo)
|
54
|
+
})
|
55
|
+
}, null, 8, B)) : e.penaltyPercentage === 100 && u === c.cancellationPolicies.length - 1 ? (n(), t("li", {
|
56
|
+
key: 2,
|
57
|
+
innerHTML: s(o)("CancellationPoliciesList.nonRefundableAfter", {
|
58
|
+
from: a(e.dateFrom)
|
59
|
+
})
|
60
|
+
}, null, 8, R)) : (n(), t("li", {
|
61
|
+
key: 3,
|
62
|
+
innerHTML: s(o)("CancellationPoliciesList.partiallyRefundableCondition", {
|
63
|
+
percentage: e.penaltyPercentage,
|
64
|
+
from: a(e.dateFrom),
|
65
|
+
to: a(e.dateTo)
|
66
|
+
})
|
67
|
+
}, null, 8, S))
|
68
|
+
]))), 128)),
|
69
|
+
r.value[r.value.length - 1].penaltyPercentage !== 100 ? (n(), t("li", {
|
70
|
+
key: 0,
|
71
|
+
innerHTML: s(o)("CancellationPoliciesList.nonRefundableAfter", {
|
72
|
+
from: a(
|
73
|
+
r.value[r.value.length - 1].dateTo
|
74
|
+
)
|
75
|
+
})
|
76
|
+
}, null, 8, T)) : h("", !0)
|
77
|
+
]));
|
63
78
|
}
|
64
79
|
});
|
65
|
-
function
|
66
|
-
const i =
|
80
|
+
function d(b) {
|
81
|
+
const i = b;
|
67
82
|
i.__i18n = i.__i18n || [], i.__i18n.push({
|
68
83
|
locale: "",
|
69
84
|
resource: {
|
@@ -126,51 +141,8 @@ function o(e) {
|
|
126
141
|
}
|
127
142
|
});
|
128
143
|
}
|
129
|
-
|
130
|
-
function z(e, i, B, R, T, D) {
|
131
|
-
return a(), n("ul", null, [
|
132
|
-
(a(!0), n(v, null, p(e.sanitizedCancellationPolicies, (t, l) => (a(), n("section", { key: l }, [
|
133
|
-
l === 0 && t.penaltyPercentage === 0 ? (a(), n("li", {
|
134
|
-
key: 0,
|
135
|
-
class: "text-success-lighten-1",
|
136
|
-
innerHTML: e.t("CancellationPoliciesList.freeCancellationBefore", {
|
137
|
-
date: e.formatDate(t.dateTo)
|
138
|
-
})
|
139
|
-
}, null, 8, h)) : t.penaltyPercentage === 0 ? (a(), n("li", {
|
140
|
-
key: 1,
|
141
|
-
class: "text-success-lighten-1",
|
142
|
-
innerHTML: e.t("CancellationPoliciesList.freeCancellationBetween", {
|
143
|
-
from: e.formatDate(t.dateFrom),
|
144
|
-
to: e.formatDate(t.dateTo)
|
145
|
-
})
|
146
|
-
}, null, 8, y)) : t.penaltyPercentage === 100 && l === e.cancellationPolicies.length - 1 ? (a(), n("li", {
|
147
|
-
key: 2,
|
148
|
-
innerHTML: e.t("CancellationPoliciesList.nonRefundableAfter", {
|
149
|
-
from: e.formatDate(t.dateFrom)
|
150
|
-
})
|
151
|
-
}, null, 8, P)) : (a(), n("li", {
|
152
|
-
key: 3,
|
153
|
-
innerHTML: e.t("CancellationPoliciesList.partiallyRefundableCondition", {
|
154
|
-
percentage: t.penaltyPercentage,
|
155
|
-
from: e.formatDate(t.dateFrom),
|
156
|
-
to: e.formatDate(t.dateTo)
|
157
|
-
})
|
158
|
-
}, null, 8, L))
|
159
|
-
]))), 128)),
|
160
|
-
e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length - 1].penaltyPercentage !== 100 ? (a(), n("li", {
|
161
|
-
key: 0,
|
162
|
-
innerHTML: e.t("CancellationPoliciesList.nonRefundableAfter", {
|
163
|
-
from: e.formatDate(
|
164
|
-
e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length - 1].dateTo
|
165
|
-
)
|
166
|
-
})
|
167
|
-
}, null, 8, S)) : u("", !0)
|
168
|
-
]);
|
169
|
-
}
|
170
|
-
typeof o == "function" && o(r);
|
171
|
-
const H = /* @__PURE__ */ C(r, [["render", z]]);
|
144
|
+
typeof d == "function" && d(z);
|
172
145
|
export {
|
173
|
-
|
174
|
-
g as c
|
146
|
+
z as _
|
175
147
|
};
|
176
|
-
//# sourceMappingURL=revolugo.cancellationpolicieslist.
|
148
|
+
//# sourceMappingURL=revolugo.cancellationpolicieslist.hSJAFEGT.min.js.map
|
@@ -0,0 +1,21 @@
|
|
1
|
+
const e = {
|
2
|
+
cancellationPolicies: {
|
3
|
+
required: !0,
|
4
|
+
type: [String, Array]
|
5
|
+
},
|
6
|
+
checkInDate: {
|
7
|
+
required: !0,
|
8
|
+
type: String
|
9
|
+
},
|
10
|
+
initialDate: {
|
11
|
+
type: String
|
12
|
+
},
|
13
|
+
timezone: {
|
14
|
+
required: !0,
|
15
|
+
type: String
|
16
|
+
}
|
17
|
+
};
|
18
|
+
export {
|
19
|
+
e as c
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js.map
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c5 as R } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
2
|
const S = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), w = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), y = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), F = /[^\p{L}\d]+/giu, A = "$1\0$2", g = "";
|
3
3
|
function E(r) {
|
4
4
|
let e = r.trim();
|
@@ -35,14 +35,14 @@ function T(r, e) {
|
|
35
35
|
const [a, c, l] = C(r, e), u = n(e == null ? void 0 : e.locale), t = h(e == null ? void 0 : e.locale), f = e != null && e.mergeAmbiguousCharacters ? d(u, t) : _(u, t);
|
36
36
|
return a + c.map(f).join((e == null ? void 0 : e.delimiter) ?? "") + l;
|
37
37
|
}
|
38
|
-
function
|
38
|
+
function k(r, e) {
|
39
39
|
const [a, c, l] = C(r, e), u = n(e == null ? void 0 : e.locale), t = h(e == null ? void 0 : e.locale);
|
40
40
|
return a + c.map(d(u, t)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
|
41
41
|
}
|
42
42
|
function P(r, e) {
|
43
43
|
return L(r, { delimiter: "-", ...e });
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function b(r, e) {
|
46
46
|
return L(r, { delimiter: "_", ...e });
|
47
47
|
}
|
48
48
|
function n(r) {
|
@@ -90,11 +90,11 @@ function N(r) {
|
|
90
90
|
var O = /* @__PURE__ */ ((r) => (r.Camel = "camelCase", r.Capital = "capitalCase", r.Param = "paramCase", r.Pascal = "pascalCase", r.Slug = "slugCase", r.Snake = "snakeCase", r))(O || {});
|
91
91
|
const m = {
|
92
92
|
camelCase: U,
|
93
|
-
capitalCase:
|
93
|
+
capitalCase: k,
|
94
94
|
paramCase: P,
|
95
95
|
pascalCase: T,
|
96
96
|
slugCase: N,
|
97
|
-
snakeCase:
|
97
|
+
snakeCase: b
|
98
98
|
};
|
99
99
|
function D(r, e) {
|
100
100
|
return Array.isArray(r) ? r.map(
|
@@ -120,4 +120,4 @@ export {
|
|
120
120
|
D as c,
|
121
121
|
i as k
|
122
122
|
};
|
123
|
-
//# sourceMappingURL=revolugo.case-transformers.
|
123
|
+
//# sourceMappingURL=revolugo.case-transformers.VM7X_9Q1.min.js.map
|
package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.CrwpUivQ.min.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { c as a, C as n } from "./revolugo.creditcardform.
|
2
|
-
import { W as p, _ as s } from "./revolugo.webcomponentwrapper.
|
3
|
-
import { d as m, c, w as d, a as C, n as i, h as _, r, o as f } from "./revolugo.index.wc.
|
1
|
+
import { c as a, C as n } from "./revolugo.creditcardform.SRz4ls19.min.js";
|
2
|
+
import { W as p, _ as s } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
3
|
+
import { d as m, c, w as d, a as C, n as i, h as _, r, o as f } from "./revolugo.index.wc.BaFPloEH.min.js";
|
4
4
|
const l = m({
|
5
5
|
components: {
|
6
6
|
CreditCardForm: n,
|
@@ -21,4 +21,4 @@ const v = /* @__PURE__ */ s(l, [["render", u]]);
|
|
21
21
|
export {
|
22
22
|
v as default
|
23
23
|
};
|
24
|
-
//# sourceMappingURL=revolugo.creditcardform.
|
24
|
+
//# sourceMappingURL=revolugo.creditcardform.CrwpUivQ.min.js.map
|
package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.SRz4ls19.min.js}
RENAMED
@@ -1,13 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { _ as He } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.
|
3
|
-
import { u as Fe, _ as We, V as D, a as
|
4
|
-
import { V as ct } from "./revolugo.
|
5
|
-
import { V as Ge, a as Ke } from "./revolugo.vbtn.
|
6
|
-
import { V as Je } from "./revolugo.vtoolbar.
|
7
|
-
import { a as kt, m as Ye, V as Ze } from "./revolugo.vcheckboxbtn.
|
8
|
-
import { V as Rt, a as Xe } from "./revolugo.vcard.
|
9
|
-
import { V as Qe } from "./revolugo.vskeletonloader.
|
10
|
-
import { u as tr, V as Tt, m as er } from "./revolugo.vinput.
|
1
|
+
import { ar as B, d as ke, u as Re, N as Te, D as Qt, C as At, b2 as xe, E as Me, Y as Ne, Z as Le, a1 as Oe, aJ as Ve, b3 as Ue, a as g, y as Pt, a5 as Ie, c as k, w as v, e as E, f as X, t as R, r as qe, g as z, i as Be, x as ze, ax as De, A as je, o as A } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
+
import { _ as He } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js";
|
3
|
+
import { u as Fe, _ as We, V as D, a as L } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
4
|
+
import { V as ct } from "./revolugo.vicon.CuIGTijn.min.js";
|
5
|
+
import { V as Ge, a as Ke } from "./revolugo.vbtn.C5rBd2Qx.min.js";
|
6
|
+
import { V as Je } from "./revolugo.vtoolbar.CSyyGTVc.min.js";
|
7
|
+
import { a as kt, m as Ye, V as Ze } from "./revolugo.vcheckboxbtn.oJMjQhq7.min.js";
|
8
|
+
import { V as Rt, a as Xe } from "./revolugo.vcard.Dw6Qxohz.min.js";
|
9
|
+
import { V as Qe } from "./revolugo.vskeletonloader.B-Qq0740.min.js";
|
10
|
+
import { u as tr, V as Tt, m as er } from "./revolugo.vinput.C6k3-74L.min.js";
|
11
11
|
function Pe(e) {
|
12
12
|
try {
|
13
13
|
if (typeof document < "u") {
|
@@ -28,7 +28,18 @@ function Pe(e) {
|
|
28
28
|
console.error("[revolugo-elements] ", t);
|
29
29
|
}
|
30
30
|
}
|
31
|
-
const rr = {
|
31
|
+
const rr = (e) => {
|
32
|
+
switch (e) {
|
33
|
+
case B.Production:
|
34
|
+
return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
|
35
|
+
case B.Sandbox:
|
36
|
+
case B.Staging:
|
37
|
+
case B.CiCd:
|
38
|
+
case B.Local:
|
39
|
+
default:
|
40
|
+
return "pk_test_wXnn2RrefTiOHB0zzxqJr0s8";
|
41
|
+
}
|
42
|
+
}, sr = {
|
32
43
|
amount: { type: Number },
|
33
44
|
currency: { type: String },
|
34
45
|
disabled: {
|
@@ -48,17 +59,6 @@ const rr = {
|
|
48
59
|
default: !1,
|
49
60
|
type: Boolean
|
50
61
|
}
|
51
|
-
}, sr = (e) => {
|
52
|
-
switch (e) {
|
53
|
-
case B.Production:
|
54
|
-
return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
|
55
|
-
case B.Sandbox:
|
56
|
-
case B.Staging:
|
57
|
-
case B.CiCd:
|
58
|
-
case B.Local:
|
59
|
-
default:
|
60
|
-
return "pk_test_wXnn2RrefTiOHB0zzxqJr0s8";
|
61
|
-
}
|
62
62
|
};
|
63
63
|
var te = "basil", nr = function(t) {
|
64
64
|
return t === 3 ? "v3" : t;
|
@@ -232,7 +232,7 @@ const gr = (e) => new ie(typeof e == "string" ? e : e + "", void 0, wt), _t = (e
|
|
232
232
|
const s = document.createElement("style"), n = rt.litNonce;
|
233
233
|
n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
|
234
234
|
});
|
235
|
-
},
|
235
|
+
}, Lt = $t ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
236
236
|
let r = "";
|
237
237
|
for (const s of t.cssRules) r += s.cssText;
|
238
238
|
return gr(r);
|
@@ -243,7 +243,7 @@ const gr = (e) => new ie(typeof e == "string" ? e : e + "", void 0, wt), _t = (e
|
|
243
243
|
* SPDX-License-Identifier: BSD-3-Clause
|
244
244
|
*/
|
245
245
|
var pt;
|
246
|
-
const at = window,
|
246
|
+
const at = window, Ot = at.trustedTypes, Sr = Ot ? Ot.emptyScript : "", Vt = at.reactiveElementPolyfillSupport, gt = { toAttribute(e, t) {
|
247
247
|
switch (t) {
|
248
248
|
case Boolean:
|
249
249
|
e = e ? Sr : null;
|
@@ -272,7 +272,7 @@ const at = window, Lt = at.trustedTypes, Sr = Lt ? Lt.emptyScript : "", Vt = at.
|
|
272
272
|
}
|
273
273
|
return r;
|
274
274
|
} }, oe = (e, t) => t !== e && (t == t || e == e), ht = { attribute: !0, type: String, converter: gt, reflect: !1, hasChanged: oe }, bt = "finalized";
|
275
|
-
let
|
275
|
+
let O = class extends HTMLElement {
|
276
276
|
constructor() {
|
277
277
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
278
278
|
}
|
@@ -319,8 +319,8 @@ let L = class extends HTMLElement {
|
|
319
319
|
const r = [];
|
320
320
|
if (Array.isArray(t)) {
|
321
321
|
const s = new Set(t.flat(1 / 0).reverse());
|
322
|
-
for (const n of s) r.unshift(
|
323
|
-
} else t !== void 0 && r.push(
|
322
|
+
for (const n of s) r.unshift(Lt(n));
|
323
|
+
} else t !== void 0 && r.push(Lt(t));
|
324
324
|
return r;
|
325
325
|
}
|
326
326
|
static _$Ep(t, r) {
|
@@ -446,7 +446,7 @@ let L = class extends HTMLElement {
|
|
446
446
|
firstUpdated(t) {
|
447
447
|
}
|
448
448
|
};
|
449
|
-
|
449
|
+
O[bt] = !0, O.elementProperties = /* @__PURE__ */ new Map(), O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, Vt == null || Vt({ ReactiveElement: O }), ((pt = at.reactiveElementVersions) !== null && pt !== void 0 ? pt : at.reactiveElementVersions = []).push("1.6.3");
|
450
450
|
/**
|
451
451
|
* @license
|
452
452
|
* Copyright 2017 Google LLC
|
@@ -702,7 +702,7 @@ const Mr = (e, t, r) => {
|
|
702
702
|
* SPDX-License-Identifier: BSD-3-Clause
|
703
703
|
*/
|
704
704
|
var ft, vt;
|
705
|
-
class G extends
|
705
|
+
class G extends O {
|
706
706
|
constructor() {
|
707
707
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
708
708
|
}
|
@@ -736,9 +736,9 @@ Ht == null || Ht({ LitElement: G });
|
|
736
736
|
* Copyright 2018 Google LLC
|
737
737
|
* SPDX-License-Identifier: BSD-3-Clause
|
738
738
|
*/
|
739
|
-
const Nr = (e) => e ?? b,
|
739
|
+
const Nr = (e) => e ?? b, Lr = /[A-ZÀ-ÖÙ-Ý]+/g, Or = /[a-zà-öù-ý]+/g;
|
740
740
|
function Vr(e) {
|
741
|
-
const t = e.replace(
|
741
|
+
const t = e.replace(Lr, r).match(Or);
|
742
742
|
return t ? t.join("-") : "";
|
743
743
|
function r(s) {
|
744
744
|
return " " + (s.length > 2 ? s.slice(0, -1) + " " + s.slice(-1) : s).toLowerCase();
|
@@ -1738,10 +1738,10 @@ const $e = ke({
|
|
1738
1738
|
}
|
1739
1739
|
},
|
1740
1740
|
name: "CreditCardForm",
|
1741
|
-
props:
|
1741
|
+
props: sr,
|
1742
1742
|
setup() {
|
1743
1743
|
const { t: e } = Re(), { config: t } = Te(), r = Qt(
|
1744
|
-
() =>
|
1744
|
+
() => rr(t.value.apiEnvironment)
|
1745
1745
|
), s = At(!1), n = At(null);
|
1746
1746
|
return xe(async () => {
|
1747
1747
|
n.value = await yr(r.value), s.value = !0;
|
@@ -1872,7 +1872,7 @@ function Xt(e) {
|
|
1872
1872
|
}
|
1873
1873
|
});
|
1874
1874
|
}
|
1875
|
-
const hs =
|
1875
|
+
const hs = Le({
|
1876
1876
|
...er(),
|
1877
1877
|
...Ie(Ye(), ["inline"])
|
1878
1878
|
}, "VCheckbox"), ms = Ne()({
|
@@ -1888,7 +1888,7 @@ const hs = Oe({
|
|
1888
1888
|
attrs: r,
|
1889
1889
|
slots: s
|
1890
1890
|
} = t;
|
1891
|
-
const n =
|
1891
|
+
const n = Oe(e, "modelValue"), {
|
1892
1892
|
isFocused: i,
|
1893
1893
|
focus: o,
|
1894
1894
|
blur: c
|
@@ -1995,7 +1995,7 @@ function $s(e, t, r, s, n, i) {
|
|
1995
1995
|
default: v(() => [
|
1996
1996
|
g(D, null, {
|
1997
1997
|
default: v(() => [
|
1998
|
-
g(
|
1998
|
+
g(L, null, {
|
1999
1999
|
default: v(() => [
|
2000
2000
|
e.error ? (A(), k(Ze, {
|
2001
2001
|
key: 0,
|
@@ -2019,13 +2019,13 @@ function $s(e, t, r, s, n, i) {
|
|
2019
2019
|
"no-gutters": ""
|
2020
2020
|
}, {
|
2021
2021
|
default: v(() => [
|
2022
|
-
g(
|
2022
|
+
g(L, { cols: "8" }, {
|
2023
2023
|
default: v(() => [
|
2024
2024
|
E("small", null, R(e.t("CreditCardForm.cardNumber")), 1)
|
2025
2025
|
]),
|
2026
2026
|
_: 1
|
2027
2027
|
}),
|
2028
|
-
g(
|
2028
|
+
g(L, {
|
2029
2029
|
class: "text-right pr-6",
|
2030
2030
|
cols: "4"
|
2031
2031
|
}, {
|
@@ -2040,7 +2040,7 @@ function $s(e, t, r, s, n, i) {
|
|
2040
2040
|
}),
|
2041
2041
|
g(D, { "no-gutters": "" }, {
|
2042
2042
|
default: v(() => [
|
2043
|
-
g(
|
2043
|
+
g(L, null, {
|
2044
2044
|
default: v(() => [
|
2045
2045
|
g(Rt, {
|
2046
2046
|
elevation: "0",
|
@@ -2082,7 +2082,7 @@ function $s(e, t, r, s, n, i) {
|
|
2082
2082
|
class: "mt-2"
|
2083
2083
|
}, {
|
2084
2084
|
default: v(() => [
|
2085
|
-
g(
|
2085
|
+
g(L, null, {
|
2086
2086
|
default: v(() => [
|
2087
2087
|
g(ms, {
|
2088
2088
|
ref: "testing",
|
@@ -2110,7 +2110,7 @@ function $s(e, t, r, s, n, i) {
|
|
2110
2110
|
})) : z("", !0),
|
2111
2111
|
e.withAction ? (A(), k(D, { key: 1 }, {
|
2112
2112
|
default: v(() => [
|
2113
|
-
g(
|
2113
|
+
g(L, { class: "d-flex justify-end flex-column flex-sm-row mb-1 align-center mt-4 mt-sm-0" }, {
|
2114
2114
|
default: v(() => [
|
2115
2115
|
g(Ke, {
|
2116
2116
|
class: "w-100 w-sm-auto",
|
@@ -2151,11 +2151,11 @@ function $s(e, t, r, s, n, i) {
|
|
2151
2151
|
}, 8, ["disabled", "style"]);
|
2152
2152
|
}
|
2153
2153
|
typeof Xt == "function" && Xt($e);
|
2154
|
-
const
|
2154
|
+
const Ls = /* @__PURE__ */ We($e, [["render", $s], ["__scopeId", "data-v-bb3529bc"]]);
|
2155
2155
|
Pe("css/revolugo.creditcardform.DWne0Lnv.css");
|
2156
2156
|
export {
|
2157
|
-
|
2157
|
+
Ls as C,
|
2158
2158
|
ms as V,
|
2159
|
-
|
2159
|
+
sr as c
|
2160
2160
|
};
|
2161
|
-
//# sourceMappingURL=revolugo.creditcardform.
|
2161
|
+
//# sourceMappingURL=revolugo.creditcardform.SRz4ls19.min.js.map
|