@revolugo/elements-vue3 7.15.0 → 7.16.0-alpha.1
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/elements-vue3.es.js
CHANGED
|
@@ -33,9 +33,9 @@ var Ms = Object.create, Yt = Object.defineProperty, Ts = Object.getOwnPropertyDe
|
|
|
33
33
|
let [r] = document.querySelectorAll("script");
|
|
34
34
|
return r ? r?.parentNode?.insertBefore(t, r) : document.head.append(t), t;
|
|
35
35
|
}, js = (e, t) => {
|
|
36
|
-
let r = e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.
|
|
36
|
+
let r = e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.16.0-alpha.1/dist/revolugo.min.js";
|
|
37
37
|
if (!r) throw Error("Missing elements entry URL environment variable");
|
|
38
|
-
let n = t || "7.
|
|
38
|
+
let n = t || "7.16.0-alpha.1", i = n ? r.replace("7.16.0-alpha.1", n) : r, a = [...document.querySelectorAll("script")].find((o) => o.src.includes(i));
|
|
39
39
|
return new Promise((o) => {
|
|
40
40
|
if (a) {
|
|
41
41
|
o(!0);
|
|
@@ -1345,7 +1345,10 @@ function ot(e, t, r) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
function Je(...e) {
|
|
1347
1347
|
const t = {};
|
|
1348
|
-
for (const r of e)
|
|
1348
|
+
for (const r of e) {
|
|
1349
|
+
const n = Object.getOwnPropertyDescriptors(r);
|
|
1350
|
+
Object.assign(t, n);
|
|
1351
|
+
}
|
|
1349
1352
|
return Object.defineProperties({}, t);
|
|
1350
1353
|
}
|
|
1351
1354
|
function wn(e) {
|
|
@@ -4093,11 +4096,12 @@ var Nd = /* @__PURE__ */ A("ZodObject", (e, t) => {
|
|
|
4093
4096
|
});
|
|
4094
4097
|
});
|
|
4095
4098
|
function Id(e, t) {
|
|
4096
|
-
|
|
4099
|
+
const r = {
|
|
4097
4100
|
type: "object",
|
|
4098
4101
|
shape: e ?? {},
|
|
4099
4102
|
...F(t)
|
|
4100
|
-
}
|
|
4103
|
+
};
|
|
4104
|
+
return new Nd(r);
|
|
4101
4105
|
}
|
|
4102
4106
|
var Cd = /* @__PURE__ */ A("ZodUnion", (e, t) => {
|
|
4103
4107
|
dl.init(e, t), he.init(e, t), e._zod.processJSONSchema = (r, n, i) => Zf(e, r, n, i), e.options = t.options;
|
|
@@ -4145,9 +4149,10 @@ var Ar = /* @__PURE__ */ A("ZodEnum", (e, t) => {
|
|
|
4145
4149
|
};
|
|
4146
4150
|
});
|
|
4147
4151
|
function wo(e, t) {
|
|
4152
|
+
const r = Array.isArray(e) ? Object.fromEntries(e.map((n) => [n, n])) : e;
|
|
4148
4153
|
return new Ar({
|
|
4149
4154
|
type: "enum",
|
|
4150
|
-
entries:
|
|
4155
|
+
entries: r,
|
|
4151
4156
|
...F(t)
|
|
4152
4157
|
});
|
|
4153
4158
|
}
|
|
@@ -5668,7 +5673,10 @@ function at(e, t, r) {
|
|
|
5668
5673
|
}
|
|
5669
5674
|
function We(...e) {
|
|
5670
5675
|
let t = {};
|
|
5671
|
-
for (let r of e)
|
|
5676
|
+
for (let r of e) {
|
|
5677
|
+
let n = Object.getOwnPropertyDescriptors(r);
|
|
5678
|
+
Object.assign(t, n);
|
|
5679
|
+
}
|
|
5672
5680
|
return Object.defineProperties({}, t);
|
|
5673
5681
|
}
|
|
5674
5682
|
function Wn(e) {
|
|
@@ -10133,7 +10141,10 @@ function st(e, t, r) {
|
|
|
10133
10141
|
}
|
|
10134
10142
|
function Ke(...e) {
|
|
10135
10143
|
let t = {};
|
|
10136
|
-
for (let r of e)
|
|
10144
|
+
for (let r of e) {
|
|
10145
|
+
let n = Object.getOwnPropertyDescriptors(r);
|
|
10146
|
+
Object.assign(t, n);
|
|
10147
|
+
}
|
|
10137
10148
|
return Object.defineProperties({}, t);
|
|
10138
10149
|
}
|
|
10139
10150
|
function _i(e) {
|
|
@@ -13534,7 +13545,7 @@ var nz = {
|
|
|
13534
13545
|
}, gz = { theme: {
|
|
13535
13546
|
default: "light",
|
|
13536
13547
|
type: String
|
|
13537
|
-
} }, ts = ce("revolugo-bank-transfer-details", iz), rs = ce("revolugo-booking-details-sidebar", oz), ns = ce("revolugo-booking-manager", az), is = ce("revolugo-cancellation-policies-badge", uz), os = ce("revolugo-cancellation-policies-list", Wa), as = ce("revolugo-credit-card-stripe-form", cz), ss = ce("revolugo-booking-payment-form", sz), us = ce("revolugo-currency-picker-btn", lz), cs = ce("revolugo-full-booking-flow", fz), ls = ce("revolugo-hotel-description-view", dz), fs = ce("revolugo-hotel-offers-map", qa), ds = ce("revolugo-hotel-offers-view", Xa), hs = ce("revolugo-hotel-offer-list", Ka), ps = ce("revolugo-hotel-offer-search-menu", hz), ms = ce("revolugo-hotel-room-offers-booking-flow", pz), vs = ce("revolugo-hotel-room-offers-view", es), gs = ce("revolugo-hotel-room-offer-list", Qa), ys = ce("revolugo-hotel-room-offer-search-menu", pn), _s = ce("revolugo-lang-picker-btn", mz), bs = ce("revolugo-prebook-form", mn), ws = ce("revolugo-preferences-menu", nz), $s = ce("revolugo-rooming-list-editor", vz), zs = ce("revolugo-terms-and-conditions", gz), Mr = /* @__PURE__ */ Zs({
|
|
13548
|
+
} }, ts = /* @__PURE__ */ ce("revolugo-bank-transfer-details", iz), rs = /* @__PURE__ */ ce("revolugo-booking-details-sidebar", oz), ns = /* @__PURE__ */ ce("revolugo-booking-manager", az), is = /* @__PURE__ */ ce("revolugo-cancellation-policies-badge", uz), os = /* @__PURE__ */ ce("revolugo-cancellation-policies-list", Wa), as = /* @__PURE__ */ ce("revolugo-credit-card-stripe-form", cz), ss = /* @__PURE__ */ ce("revolugo-booking-payment-form", sz), us = /* @__PURE__ */ ce("revolugo-currency-picker-btn", lz), cs = /* @__PURE__ */ ce("revolugo-full-booking-flow", fz), ls = /* @__PURE__ */ ce("revolugo-hotel-description-view", dz), fs = /* @__PURE__ */ ce("revolugo-hotel-offers-map", qa), ds = /* @__PURE__ */ ce("revolugo-hotel-offers-view", Xa), hs = /* @__PURE__ */ ce("revolugo-hotel-offer-list", Ka), ps = /* @__PURE__ */ ce("revolugo-hotel-offer-search-menu", hz), ms = /* @__PURE__ */ ce("revolugo-hotel-room-offers-booking-flow", pz), vs = /* @__PURE__ */ ce("revolugo-hotel-room-offers-view", es), gs = /* @__PURE__ */ ce("revolugo-hotel-room-offer-list", Qa), ys = /* @__PURE__ */ ce("revolugo-hotel-room-offer-search-menu", pn), _s = /* @__PURE__ */ ce("revolugo-lang-picker-btn", mz), bs = /* @__PURE__ */ ce("revolugo-prebook-form", mn), ws = /* @__PURE__ */ ce("revolugo-preferences-menu", nz), $s = /* @__PURE__ */ ce("revolugo-rooming-list-editor", vz), zs = /* @__PURE__ */ ce("revolugo-terms-and-conditions", gz), Mr = /* @__PURE__ */ Zs({
|
|
13538
13549
|
RevolugoVueBankTransferDetails: () => ts,
|
|
13539
13550
|
RevolugoVueBookingDetailsSidebar: () => rs,
|
|
13540
13551
|
RevolugoVueBookingManager: () => ns,
|