@revolugo/elements 6.7.3 → 6.8.0-beta.0
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/index.es.min.js +2622 -2554
- 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._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.D70RTc43.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.B8BqSfrk.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DeYwgC-X.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.qOkb7bF4.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DS8JMdFX.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.EmC1mHXe.min.js} +36 -36
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.OgMINhMq.min.js} +184 -202
- package/dist/revolugo.bookingdetailssidebar.lJaJEdFg.min.js +24 -0
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.m08SYP86.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.T6fWvVKX.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.M46KdeWM.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.Cd9RL-Se.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.x9SgSKRO.min.js +24 -0
- package/dist/revolugo.cancellationpolicieslist.CXEi_O_B.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.kh5sahhd.min.js} +28 -47
- package/dist/revolugo.case-transformers.DfCc1sKY.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/revolugo.creditcardform.Cz_EExR3.min.js +24 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.ZqPrv4K6.min.js} +652 -903
- package/dist/revolugo.creditcardpayment.C47xZXR4.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.olC2sHv8.min.js} +138 -154
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.D44ks2e0.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.C2gt2Wvi.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.Da2NhlAu.min.js +163 -0
- package/dist/revolugo.dialog-attach.C_5QvJAn.min.js +28 -0
- package/dist/revolugo.dialog-transition.ksNwOfBf.min.js +114 -0
- package/dist/revolugo.fastbookingflow.BIb9TBpX.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.BVg0Q886.min.js} +77 -75
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BoCEWA7i.min.js} +363 -379
- package/dist/revolugo.hoteldescriptionview.DflBNZtA.min.js +24 -0
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.B954A8ZU.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.DkUtJZ29.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.VpDpWMAm.min.js} +1158 -1176
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.CrrP-Mjf.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.BD26Zl70.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.599v6DtH.min.js +8394 -0
- package/dist/revolugo.hoteloffersmap.O73rRIrY.min.js +24 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.BSuaPamT.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.uFcA-Q8V.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.047wvmlm.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.hNh95LPc.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.CIga3epB.min.js} +40 -39
- package/dist/revolugo.hotelroomoffersearchmenu.BqPoCOJV.min.js +25 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.SXEmMWNu.min.js} +29 -49
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.C29cidjz.min.js} +71 -91
- package/dist/revolugo.hotelroomoffersview.gzfKsSHa.min.js +24 -0
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.BaBMFwcZ.min.js} +6 -6
- package/dist/revolugo.index.MUWumuM5.min.js +1037 -0
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.hcj2tBQa.min.js} +12976 -13227
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.CTF21wTY.min.js} +15 -15
- package/dist/revolugo.langpickerbtn.DMWudtGn.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.E0CLTwCX.min.js} +53 -71
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.mEwvDkCr.min.js} +45 -44
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.BcktaxEc.min.js} +94 -114
- package/dist/revolugo.prebookform.Bi-sWZL0.min.js +24 -0
- package/dist/revolugo.roominglisteditor.BgDPCfkP.min.js +24 -0
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.jO9FT_rG.min.js} +82 -101
- package/dist/revolugo.rounded.DGGd6U47.min.js +68 -0
- package/dist/revolugo.ssrboot.RImRxJU9.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js} +110 -108
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.Bf8tOgI4.min.js} +90 -108
- package/dist/revolugo.termsandconditions.DrrQwLEt.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.C55UqJ8N.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.X5OrrUPl.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BeCXlcev.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.DSYh8Plf.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.DrUjDHZJ.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.-WD79m_3.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.C40-fld0.min.js} +26 -25
- package/dist/revolugo.vdivider.C8qKKweh.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.CPfBybl9.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bxkhj0tA.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.DkrPzK9V.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.Ra8-PR0S.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.hjMTQUm_.min.js} +90 -88
- package/dist/revolugo.vmenu.Df9qQOg5.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.D58BjYst.min.js} +133 -132
- package/dist/revolugo.vsheet.Be5_uKvN.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.DLz_sBeT.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.DmI3K8dZ.min.js} +46 -44
- package/dist/revolugo.vspacer.D1ff4Ue6.min.js +7 -0
- package/dist/revolugo.vtextarea.CE2P777C.min.js +2102 -0
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.B3H-uARB.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.ZaD9QMMg.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CiaW90fk.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.BjNUE921.min.js} +41 -41
- package/dist/revolugo.watch-list.BLmFRUgU.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.D7s9Wt1u.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,6 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { d as s, u as b, bv as c, s as f, k as d, i as n, g as u, F as v, v as p, o as a } from "./revolugo.index.wc.hcj2tBQa.min.js";
|
2
|
+
import { k as m, C as k } from "./revolugo.case-transformers.DfCc1sKY.min.js";
|
3
|
+
import { _ as C } from "./revolugo.webcomponentwrapper.D7s9Wt1u.min.js";
|
4
|
+
const g = {
|
4
5
|
cancellationPolicies: {
|
5
6
|
required: !0,
|
6
7
|
type: [String, Array]
|
@@ -16,7 +17,7 @@ const b = {
|
|
16
17
|
required: !0,
|
17
18
|
type: String
|
18
19
|
}
|
19
|
-
},
|
20
|
+
}, r = s({
|
20
21
|
computed: {
|
21
22
|
parsedInputCancellationPolicies() {
|
22
23
|
if (typeof this.cancellationPolicies == "string")
|
@@ -28,16 +29,16 @@ const b = {
|
|
28
29
|
return this.cancellationPolicies;
|
29
30
|
},
|
30
31
|
sanitizedCancellationPolicies() {
|
31
|
-
return this.parsedInputCancellationPolicies.length ?
|
32
|
-
|
33
|
-
|
34
|
-
bookingDatetime: this.initialDate ||
|
32
|
+
return this.parsedInputCancellationPolicies.length ? m(
|
33
|
+
c(
|
34
|
+
f({
|
35
|
+
bookingDatetime: this.initialDate || d().format(),
|
35
36
|
cancellationPolicies: this.parsedInputCancellationPolicies,
|
36
37
|
checkInDate: this.checkInDate,
|
37
38
|
timezone: this.timezone
|
38
39
|
})
|
39
40
|
),
|
40
|
-
|
41
|
+
k.Camel
|
41
42
|
) : [];
|
42
43
|
}
|
43
44
|
},
|
@@ -53,15 +54,15 @@ const b = {
|
|
53
54
|
}
|
54
55
|
},
|
55
56
|
name: "CancellationPoliciesList",
|
56
|
-
props:
|
57
|
+
props: g,
|
57
58
|
setup() {
|
58
|
-
const { t: e } =
|
59
|
+
const { t: e } = b();
|
59
60
|
return {
|
60
61
|
t: e
|
61
62
|
};
|
62
63
|
}
|
63
64
|
});
|
64
|
-
function
|
65
|
+
function o(e) {
|
65
66
|
const i = e;
|
66
67
|
i.__i18n = i.__i18n || [], i.__i18n.push({
|
67
68
|
locale: "",
|
@@ -125,71 +126,51 @@ function r(e) {
|
|
125
126
|
}
|
126
127
|
});
|
127
128
|
}
|
128
|
-
const
|
129
|
-
function
|
130
|
-
return
|
131
|
-
(
|
132
|
-
|
129
|
+
const h = ["innerHTML"], y = ["innerHTML"], P = ["innerHTML"], L = ["innerHTML"], S = ["innerHTML"];
|
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", {
|
133
134
|
key: 0,
|
134
135
|
class: "text-success-lighten-1",
|
135
136
|
innerHTML: e.t("CancellationPoliciesList.freeCancellationBefore", {
|
136
137
|
date: e.formatDate(t.dateTo)
|
137
138
|
})
|
138
|
-
}, null, 8,
|
139
|
+
}, null, 8, h)) : t.penaltyPercentage === 0 ? (a(), n("li", {
|
139
140
|
key: 1,
|
140
141
|
class: "text-success-lighten-1",
|
141
142
|
innerHTML: e.t("CancellationPoliciesList.freeCancellationBetween", {
|
142
143
|
from: e.formatDate(t.dateFrom),
|
143
144
|
to: e.formatDate(t.dateTo)
|
144
145
|
})
|
145
|
-
}, null, 8,
|
146
|
+
}, null, 8, y)) : t.penaltyPercentage === 100 && l === e.cancellationPolicies.length - 1 ? (a(), n("li", {
|
146
147
|
key: 2,
|
147
148
|
innerHTML: e.t("CancellationPoliciesList.nonRefundableAfter", {
|
148
149
|
from: e.formatDate(t.dateFrom)
|
149
150
|
})
|
150
|
-
}, null, 8,
|
151
|
+
}, null, 8, P)) : (a(), n("li", {
|
151
152
|
key: 3,
|
152
153
|
innerHTML: e.t("CancellationPoliciesList.partiallyRefundableCondition", {
|
153
154
|
percentage: t.penaltyPercentage,
|
154
155
|
from: e.formatDate(t.dateFrom),
|
155
156
|
to: e.formatDate(t.dateTo)
|
156
157
|
})
|
157
|
-
}, null, 8,
|
158
|
+
}, null, 8, L))
|
158
159
|
]))), 128)),
|
159
|
-
e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length - 1].penaltyPercentage !== 100 ? (
|
160
|
+
e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length - 1].penaltyPercentage !== 100 ? (a(), n("li", {
|
160
161
|
key: 0,
|
161
162
|
innerHTML: e.t("CancellationPoliciesList.nonRefundableAfter", {
|
162
163
|
from: e.formatDate(
|
163
164
|
e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length - 1].dateTo
|
164
165
|
)
|
165
166
|
})
|
166
|
-
}, null, 8,
|
167
|
+
}, null, 8, S)) : u("", !0)
|
167
168
|
]);
|
168
169
|
}
|
169
|
-
typeof
|
170
|
-
const H = /* @__PURE__ */
|
171
|
-
components: {
|
172
|
-
CancellationPoliciesList: H,
|
173
|
-
WebComponentWrapper: x
|
174
|
-
},
|
175
|
-
props: b
|
176
|
-
});
|
177
|
-
function W(e, i, u, d, p, v) {
|
178
|
-
const t = l("CancellationPoliciesList", !0), o = l("WebComponentWrapper");
|
179
|
-
return n(), z(o, null, {
|
180
|
-
default: _(() => [
|
181
|
-
B(t, R(T(e.$props)), null, 16)
|
182
|
-
]),
|
183
|
-
_: 1
|
184
|
-
});
|
185
|
-
}
|
186
|
-
const F = /* @__PURE__ */ c(I, [["render", W]]), N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
187
|
-
__proto__: null,
|
188
|
-
default: F
|
189
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
170
|
+
typeof o == "function" && o(r);
|
171
|
+
const H = /* @__PURE__ */ C(r, [["render", z]]);
|
190
172
|
export {
|
191
173
|
H as C,
|
192
|
-
|
193
|
-
b as c
|
174
|
+
g as c
|
194
175
|
};
|
195
|
-
//# sourceMappingURL=revolugo.cancellationpolicieslist.
|
176
|
+
//# sourceMappingURL=revolugo.cancellationpolicieslist.kh5sahhd.min.js.map
|
@@ -0,0 +1,123 @@
|
|
1
|
+
import { bP as R } from "./revolugo.index.wc.hcj2tBQa.min.js";
|
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
|
+
function E(r) {
|
4
|
+
let e = r.trim();
|
5
|
+
e = e.replace(S, A).replace(w, A), e = e.replace(F, "\0");
|
6
|
+
let a = 0, c = e.length;
|
7
|
+
for (; e.charAt(a) === "\0"; )
|
8
|
+
a++;
|
9
|
+
if (a === c)
|
10
|
+
return [];
|
11
|
+
for (; e.charAt(c - 1) === "\0"; )
|
12
|
+
c--;
|
13
|
+
return e.slice(a, c).split(/\0/g);
|
14
|
+
}
|
15
|
+
function I(r) {
|
16
|
+
const e = E(r);
|
17
|
+
for (let a = 0; a < e.length; a++) {
|
18
|
+
const c = e[a], l = y.exec(c);
|
19
|
+
if (l) {
|
20
|
+
const u = l.index + (l[1] ?? l[2]).length;
|
21
|
+
e.splice(a, 1, c.slice(0, u), c.slice(u));
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return e;
|
25
|
+
}
|
26
|
+
function L(r, e) {
|
27
|
+
const [a, c, l] = C(r, e);
|
28
|
+
return a + c.map(n(e == null ? void 0 : e.locale)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
|
29
|
+
}
|
30
|
+
function U(r, e) {
|
31
|
+
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);
|
32
|
+
return a + c.map((s, x) => x === 0 ? u(s) : f(s, x)).join((e == null ? void 0 : e.delimiter) ?? "") + l;
|
33
|
+
}
|
34
|
+
function T(r, e) {
|
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
|
+
return a + c.map(f).join((e == null ? void 0 : e.delimiter) ?? "") + l;
|
37
|
+
}
|
38
|
+
function b(r, e) {
|
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
|
+
return a + c.map(d(u, t)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
|
41
|
+
}
|
42
|
+
function P(r, e) {
|
43
|
+
return L(r, { delimiter: "-", ...e });
|
44
|
+
}
|
45
|
+
function k(r, e) {
|
46
|
+
return L(r, { delimiter: "_", ...e });
|
47
|
+
}
|
48
|
+
function n(r) {
|
49
|
+
return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
|
50
|
+
}
|
51
|
+
function h(r) {
|
52
|
+
return r === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(r);
|
53
|
+
}
|
54
|
+
function d(r, e) {
|
55
|
+
return (a) => `${e(a[0])}${r(a.slice(1))}`;
|
56
|
+
}
|
57
|
+
function _(r, e) {
|
58
|
+
return (a, c) => {
|
59
|
+
const l = a[0];
|
60
|
+
return (c > 0 && l >= "0" && l <= "9" ? "_" + l : e(l)) + r(a.slice(1));
|
61
|
+
};
|
62
|
+
}
|
63
|
+
function C(r, e = {}) {
|
64
|
+
const a = e.split ?? (e.separateNumbers ? I : E), c = e.prefixCharacters ?? g, l = e.suffixCharacters ?? g;
|
65
|
+
let u = 0, t = r.length;
|
66
|
+
for (; u < r.length; ) {
|
67
|
+
const f = r.charAt(u);
|
68
|
+
if (!c.includes(f))
|
69
|
+
break;
|
70
|
+
u++;
|
71
|
+
}
|
72
|
+
for (; t > u; ) {
|
73
|
+
const f = t - 1, s = r.charAt(f);
|
74
|
+
if (!l.includes(s))
|
75
|
+
break;
|
76
|
+
t = f;
|
77
|
+
}
|
78
|
+
return [
|
79
|
+
r.slice(0, u),
|
80
|
+
a(r.slice(u, t)),
|
81
|
+
r.slice(t)
|
82
|
+
];
|
83
|
+
}
|
84
|
+
function N(r) {
|
85
|
+
return R(P(r), {
|
86
|
+
lower: !0,
|
87
|
+
strict: !0
|
88
|
+
});
|
89
|
+
}
|
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
|
+
const m = {
|
92
|
+
camelCase: U,
|
93
|
+
capitalCase: b,
|
94
|
+
paramCase: P,
|
95
|
+
pascalCase: T,
|
96
|
+
slugCase: N,
|
97
|
+
snakeCase: k
|
98
|
+
};
|
99
|
+
function D(r, e) {
|
100
|
+
return Array.isArray(r) ? r.map(
|
101
|
+
(a) => m[e](a)
|
102
|
+
) : m[e](r);
|
103
|
+
}
|
104
|
+
function $(r, e) {
|
105
|
+
return r.some(
|
106
|
+
(a) => typeof a == "string" ? a === e : a.test(e)
|
107
|
+
);
|
108
|
+
}
|
109
|
+
function M(r) {
|
110
|
+
return r === Object(r) && !Array.isArray(r) && typeof r != "function";
|
111
|
+
}
|
112
|
+
function i(r, e, a = { deep: !0 }) {
|
113
|
+
return M(r) ? Object.keys(r).reduce((c, l) => {
|
114
|
+
const u = a != null && a.exclude && $(a.exclude, l) ? l : m[e](l);
|
115
|
+
return c[u] = a.deep ? i(r[l], e, a) : r[l], c;
|
116
|
+
}, {}) : Array.isArray(r) ? r.map((c) => i(c, e, a)) : r;
|
117
|
+
}
|
118
|
+
export {
|
119
|
+
O as C,
|
120
|
+
D as c,
|
121
|
+
i as k
|
122
|
+
};
|
123
|
+
//# sourceMappingURL=revolugo.case-transformers.DfCc1sKY.min.js.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { c as a, C as n } from "./revolugo.creditcardform.ZqPrv4K6.min.js";
|
2
|
+
import { W as p, _ as s } from "./revolugo.webcomponentwrapper.D7s9Wt1u.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.hcj2tBQa.min.js";
|
4
|
+
const l = m({
|
5
|
+
components: {
|
6
|
+
CreditCardForm: n,
|
7
|
+
WebComponentWrapper: p
|
8
|
+
},
|
9
|
+
props: a
|
10
|
+
});
|
11
|
+
function u(o, W, F, $, b, h) {
|
12
|
+
const e = r("CreditCardForm", !0), t = r("WebComponentWrapper");
|
13
|
+
return f(), c(t, null, {
|
14
|
+
default: d(() => [
|
15
|
+
C(e, i(_(o.$props)), null, 16)
|
16
|
+
]),
|
17
|
+
_: 1
|
18
|
+
});
|
19
|
+
}
|
20
|
+
const v = /* @__PURE__ */ s(l, [["render", u]]);
|
21
|
+
export {
|
22
|
+
v as default
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=revolugo.creditcardform.Cz_EExR3.min.js.map
|