@getmicdrop/venue-calendar 4.2.12 → 4.2.14
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/{Checkout-DpcKVoV0.js → Checkout-C-QPYtF4.js} +59 -75
- package/dist/{Checkout-CYTsIOBV.js → Checkout-hcEcnyN_.js} +236 -236
- package/dist/{Success-CvoORmAN.js → Success-DgUD_STB.js} +4 -4
- package/dist/venue-calendar.es.js +6 -6
- package/dist/venue-calendar.iife.js +11 -11
- package/dist/venue-calendar.umd.js +50 -50
- package/package.json +1 -1
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/de.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/es.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/id.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/it.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/de.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/es.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/fr.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/id.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/it.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/ja.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/ko.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/nl.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/pl.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/tr.js +0 -0
- /package/dist/locales/{4.2.12 → 4.2.14}/main/zh.js +0 -0
|
@@ -717,15 +717,15 @@ function Oe(e, n) {
|
|
|
717
717
|
});
|
|
718
718
|
}
|
|
719
719
|
if (N = Array.from(n.values()), typeof e.totalPrice == "number") {
|
|
720
|
-
let t = Number(e.
|
|
720
|
+
let t = Number(e.giftCardAmount ?? 0), n = Number(e.totalPrice) - t;
|
|
721
721
|
P = {
|
|
722
722
|
subtotal: e.basePrice ?? 0,
|
|
723
723
|
fees: Number(e.surcharge ?? 0) + Number(e.cardProcessing ?? 0),
|
|
724
724
|
taxes: e.tax == null ? 0 : e.tax,
|
|
725
|
-
total:
|
|
725
|
+
total: n,
|
|
726
726
|
promoDiscount: e.promoCodeStoredDiscountAmount ?? 0,
|
|
727
|
-
giftCardAmount:
|
|
728
|
-
stripeAmount:
|
|
727
|
+
giftCardAmount: t,
|
|
728
|
+
stripeAmount: n
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
}
|
|
@@ -1682,7 +1682,7 @@ function vr(e, n) {
|
|
|
1682
1682
|
block: "start",
|
|
1683
1683
|
behavior: "auto"
|
|
1684
1684
|
});
|
|
1685
|
-
}), G.get(we) || G.set(we, (await import("./Checkout-
|
|
1685
|
+
}), G.get(we) || G.set(we, (await import("./Checkout-C-QPYtF4.js")).default, !0);
|
|
1686
1686
|
}
|
|
1687
1687
|
async function Wt(e) {
|
|
1688
1688
|
ye++, G.set(V, e || {}, !0), G.set(z, "success"), typeof window < "u" && requestAnimationFrame(() => {
|
|
@@ -1690,7 +1690,7 @@ function vr(e, n) {
|
|
|
1690
1690
|
block: "start",
|
|
1691
1691
|
behavior: "auto"
|
|
1692
1692
|
});
|
|
1693
|
-
}), G.get(Te) || G.set(Te, (await import("./Success-
|
|
1693
|
+
}), G.get(Te) || G.set(Te, (await import("./Success-DgUD_STB.js")).default, !0);
|
|
1694
1694
|
}
|
|
1695
1695
|
function Gt() {
|
|
1696
1696
|
G.get(B) ? zt({
|
|
@@ -3109,7 +3109,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
|
|
|
3109
3109
|
}
|
|
3110
3110
|
//#endregion
|
|
3111
3111
|
//#region src/lib/VenueCalendar.js
|
|
3112
|
-
var Jr = "4.2.
|
|
3112
|
+
var Jr = "4.2.14", Yr = n("VenueCalendar"), Xr = null;
|
|
3113
3113
|
function Zr(e = {}) {
|
|
3114
3114
|
typeof e.onError == "function" && (Xr = e.onError, k({ onError: (t) => {
|
|
3115
3115
|
try {
|
|
@@ -3141,11 +3141,11 @@ function ei(e, t) {
|
|
|
3141
3141
|
}
|
|
3142
3142
|
var $ = {
|
|
3143
3143
|
EventPage: () => ei("EventPage", () => import("./EventPage-ChQ04taO.js").then((e) => e.default)),
|
|
3144
|
-
Checkout: () => ei("Checkout", () => import("./Checkout-
|
|
3145
|
-
Success: () => ei("Success", () => import("./Success-
|
|
3144
|
+
Checkout: () => ei("Checkout", () => import("./Checkout-C-QPYtF4.js").then((e) => e.default)),
|
|
3145
|
+
Success: () => ei("Success", () => import("./Success-DgUD_STB.js").then((e) => e.default)),
|
|
3146
3146
|
CartView: () => ei("CartView", () => import("./CartView-DP5TuBgM.js").then((e) => e.default)),
|
|
3147
3147
|
ViewTicketsEmbed: () => ei("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-C0QPIbpw.js").then((e) => e.default)),
|
|
3148
|
-
CheckoutMain: () => ei("CheckoutMain", () => import("./Checkout-
|
|
3148
|
+
CheckoutMain: () => ei("CheckoutMain", () => import("./Checkout-hcEcnyN_.js").then((e) => e.default)),
|
|
3149
3149
|
SeriesPage: () => ei("SeriesPage", () => import("./SeriesPage-B42dakZY.js").then((e) => e.default)),
|
|
3150
3150
|
CollectionView: () => ei("CollectionView", () => import("./CollectionView-DIWLyNiY.js").then((e) => e.default))
|
|
3151
3151
|
};
|