@getmicdrop/venue-calendar 4.2.30 → 4.2.31
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-BoRChUzj.js → Checkout-E-6bSV-c.js} +1 -1
- package/dist/{CollectionView-CstTdDai.js → CollectionView-DU68V4eZ.js} +1 -1
- package/dist/{Event-DlTT5c12.js → Event-BU8iJwEu.js} +1 -1
- package/dist/{EventPage-Dw_iyJOu.js → EventPage-65cp1HwA.js} +1 -1
- package/dist/{SeriesPage-C6pJywMN.js → SeriesPage-D7Kxo9gc.js} +1 -1
- package/dist/{Success-GJvRk3-9.js → Success-1uyN6Osa.js} +1 -1
- package/dist/api/types.d.ts +5 -0
- package/dist/{serverTotals-ty3HwDSG.js → serverTotals-t2UmKkhC.js} +2 -1
- package/dist/venue-calendar.es.js +9 -9
- package/dist/venue-calendar.iife.js +4 -4
- package/dist/venue-calendar.umd.js +3 -3
- package/package.json +1 -1
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/de.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/es.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/id.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/it.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/de.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/es.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/fr.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/id.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/it.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/ja.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/ko.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/nl.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/pl.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/tr.js +0 -0
- /package/dist/locales/{4.2.30 → 4.2.31}/main/zh.js +0 -0
|
@@ -6,7 +6,7 @@ import { C as f, O as p, m, y as h } from "./constants-ENlpIS8i.js";
|
|
|
6
6
|
import { t as g } from "./TagIcon-BkPcpKdu.js";
|
|
7
7
|
import { t as _ } from "./WarningTriIcon-6WbGCso4.js";
|
|
8
8
|
import { i as v, l as y, n as b, r as x, s as S, t as C } from "./orders-BuGy4vpJ.js";
|
|
9
|
-
import { n as w, t as T } from "./serverTotals-
|
|
9
|
+
import { n as w, t as T } from "./serverTotals-t2UmKkhC.js";
|
|
10
10
|
import { a as E, i as D, n as O, r as k, t as A } from "./ModalFooter-D1XdQEhH.js";
|
|
11
11
|
import { C as ee, d as te, f as ne, u as j } from "./colors-DbQNhbC_.js";
|
|
12
12
|
import { t as re } from "./event-transform-HzG0d0J0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { x as e } from "./Button-C4uFgl7L.js";
|
|
2
2
|
import { r as t } from "./timezones-C5l0SSHK.js";
|
|
3
|
-
import { t as n } from "./Event-
|
|
3
|
+
import { t as n } from "./Event-BU8iJwEu.js";
|
|
4
4
|
import { y as r } from "./constants-ENlpIS8i.js";
|
|
5
5
|
import { r as i } from "./shareCopyFeedback.svelte-ZOG89Z3x.js";
|
|
6
6
|
import { n as a } from "./ScarcityBadge-C0YeWGkd.js";
|
|
@@ -13,7 +13,7 @@ import { a as L, i as R, r as z, t as B } from "./href-BH6l_kZx.js";
|
|
|
13
13
|
import { r as V, t as H } from "./Badge-Bv_MT-Vt.js";
|
|
14
14
|
import { t as te } from "./Image-B3cEndLZ.js";
|
|
15
15
|
import { M as ne, k as U, t as W } from "./orders-BuGy4vpJ.js";
|
|
16
|
-
import { t as G } from "./serverTotals-
|
|
16
|
+
import { t as G } from "./serverTotals-t2UmKkhC.js";
|
|
17
17
|
import { l as K, o as re, u as q } from "./__SKIP_PATHS__-tAxwP7_6.js";
|
|
18
18
|
import { c as ie, i as ae, s as oe, t as se } from "./to-event-card-props-CpXtfoKx.js";
|
|
19
19
|
import { t as J } from "./z-index-B0Vk_Mp1.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, h as t, t as n, v as r, x as i } from "./Button-C4uFgl7L.js";
|
|
2
2
|
import { A as a, M as o, r as s } from "./timezones-C5l0SSHK.js";
|
|
3
|
-
import { t as c } from "./Event-
|
|
3
|
+
import { t as c } from "./Event-BU8iJwEu.js";
|
|
4
4
|
import { n as l, t as u } from "./Input-BntIoPeV.js";
|
|
5
5
|
import { a as d, c as f, n as p, o as m, s as h } from "./phoneUtils-BDV9Eggn.js";
|
|
6
6
|
import { y as g } from "./constants-ENlpIS8i.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { x as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import { t } from "./Event-
|
|
2
|
+
import { t } from "./Event-BU8iJwEu.js";
|
|
3
3
|
import { i as n } from "./shareCopyFeedback.svelte-ZOG89Z3x.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-C0YeWGkd.js";
|
|
5
5
|
import { t as i } from "./__SKIP_PATHS__-tAxwP7_6.js";
|
|
@@ -720,7 +720,7 @@ function Oe(e, n) {
|
|
|
720
720
|
let t = Number(e.giftCardAmount ?? 0), n = Number(e.totalPrice) - t;
|
|
721
721
|
P = {
|
|
722
722
|
subtotal: e.basePrice ?? 0,
|
|
723
|
-
fees: Number(e.surcharge ?? 0) + Number(e.cardProcessing ?? 0),
|
|
723
|
+
fees: Number(e.surcharge ?? 0) + Number(e.cardProcessing ?? 0) + Number(e.venueKickback ?? 0),
|
|
724
724
|
taxes: e.tax == null ? 0 : e.tax,
|
|
725
725
|
total: n,
|
|
726
726
|
promoDiscount: e.promoCodeStoredDiscountAmount ?? 0,
|
package/dist/api/types.d.ts
CHANGED
|
@@ -35,6 +35,11 @@ export interface PaymentIntentResponse {
|
|
|
35
35
|
// what the pre-server estimate (`estimateBuyerFee`) has always shown; leaving
|
|
36
36
|
// it unread made the priced total exceed the rows on screen by this amount.
|
|
37
37
|
card_processing?: number;
|
|
38
|
+
// The venue's OWN buyer-paid fee (the third rail), in int cents: charged to
|
|
39
|
+
// the buyer and routed to the venue, not the platform. Rides the same merged
|
|
40
|
+
// "Service fees" row on the public receipt; absent/0 when the venue
|
|
41
|
+
// configures none.
|
|
42
|
+
venue_kickback?: number;
|
|
38
43
|
discount?: number;
|
|
39
44
|
gift_card_amount?: number;
|
|
40
45
|
gift_card_code?: string;
|
|
@@ -2976,6 +2976,7 @@ var $ = Q().int().nullish().transform((e) => e ?? 0), Da = Q().int().nullish(),
|
|
|
2976
2976
|
subtotal: $,
|
|
2977
2977
|
service_fee: $,
|
|
2978
2978
|
card_processing: $,
|
|
2979
|
+
venue_kickback: $,
|
|
2979
2980
|
tax: Q().nullish().transform((e) => e ?? 0),
|
|
2980
2981
|
tax_amount_exclusive: Da,
|
|
2981
2982
|
discount: $,
|
|
@@ -2990,7 +2991,7 @@ function ka(n) {
|
|
|
2990
2991
|
let i = r.data, a = i.stripe_amount ?? i.amount_total, o = t(e(a));
|
|
2991
2992
|
return {
|
|
2992
2993
|
subtotal: t(e(i.subtotal + i.discount)),
|
|
2993
|
-
fees: t(e(i.service_fee + i.card_processing)),
|
|
2994
|
+
fees: t(e(i.service_fee + i.card_processing + i.venue_kickback)),
|
|
2994
2995
|
cardProcessing: t(e(i.card_processing)),
|
|
2995
2996
|
taxes: t(e(i.tax_amount_exclusive ?? i.tax)),
|
|
2996
2997
|
total: o,
|
|
@@ -1621,7 +1621,7 @@ function vr(e, n) {
|
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
async function Rt(e) {
|
|
1624
|
-
e === "series" ? G.get(Se) || G.set(Se, (await import("./SeriesPage-
|
|
1624
|
+
e === "series" ? G.get(Se) || G.set(Se, (await import("./SeriesPage-D7Kxo9gc.js")).default, !0) : e === "collection" ? G.get(Ce) || G.set(Ce, (await import("./CollectionView-DU68V4eZ.js")).default, !0) : G.get(xe) || G.set(xe, (await import("./EventPage-65cp1HwA.js")).default, !0);
|
|
1625
1625
|
}
|
|
1626
1626
|
async function zt({ type: e, id: t, slug: n = "", data: r = null, initialEventData: i = null, pushHash: a = !0 }) {
|
|
1627
1627
|
ye++, G.set(B, {
|
|
@@ -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-E-6bSV-c.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-1uyN6Osa.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.31", 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 {
|
|
@@ -3140,14 +3140,14 @@ function ei(e, t) {
|
|
|
3140
3140
|
return $r.has(e) || $r.set(e, t()), $r.get(e);
|
|
3141
3141
|
}
|
|
3142
3142
|
var $ = {
|
|
3143
|
-
EventPage: () => ei("EventPage", () => import("./EventPage-
|
|
3144
|
-
Checkout: () => ei("Checkout", () => import("./Checkout-
|
|
3145
|
-
Success: () => ei("Success", () => import("./Success-
|
|
3143
|
+
EventPage: () => ei("EventPage", () => import("./EventPage-65cp1HwA.js").then((e) => e.default)),
|
|
3144
|
+
Checkout: () => ei("Checkout", () => import("./Checkout-E-6bSV-c.js").then((e) => e.default)),
|
|
3145
|
+
Success: () => ei("Success", () => import("./Success-1uyN6Osa.js").then((e) => e.default)),
|
|
3146
3146
|
CartView: () => ei("CartView", () => import("./CartView-xI0M0Gx5.js").then((e) => e.default)),
|
|
3147
3147
|
ViewTicketsEmbed: () => ei("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-DVurn8FG.js").then((e) => e.default)),
|
|
3148
3148
|
CheckoutMain: () => ei("CheckoutMain", () => import("./Checkout-QHc8EvC8.js").then((e) => e.default)),
|
|
3149
|
-
SeriesPage: () => ei("SeriesPage", () => import("./SeriesPage-
|
|
3150
|
-
CollectionView: () => ei("CollectionView", () => import("./CollectionView-
|
|
3149
|
+
SeriesPage: () => ei("SeriesPage", () => import("./SeriesPage-D7Kxo9gc.js").then((e) => e.default)),
|
|
3150
|
+
CollectionView: () => ei("CollectionView", () => import("./CollectionView-DU68V4eZ.js").then((e) => e.default))
|
|
3151
3151
|
};
|
|
3152
3152
|
function ti(e, t) {
|
|
3153
3153
|
let n;
|