@getmicdrop/venue-calendar 4.2.10 → 4.2.11
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/{CartView-Bka7Ouuf.js → CartView-DKEYzXBY.js} +11 -11
- package/dist/{Checkout-DH268Kso.js → Checkout-ClTYS0Sk.js} +12 -12
- package/dist/{Checkout-LkiR2I6U.js → Checkout-W22fMD3O.js} +264 -243
- package/dist/{CheckoutTimer-C4SBpf38.js → CheckoutTimer-C9tJJZC8.js} +1 -1
- package/dist/{CollectionView-CQ6BKmpp.js → CollectionView-CrbFmrTG.js} +4 -4
- package/dist/{Event-Dt-7Pau8.js → Event-BDXfT25f.js} +7 -7
- package/dist/{EventPage-CkziHztQ.js → EventPage-ZaARiPwa.js} +10 -10
- package/dist/{ScarcityBadge-hVqsuotm.js → ScarcityBadge-R32tzjFi.js} +1 -1
- package/dist/{SeriesPage-CtVo7ltY.js → SeriesPage-D06QOPK7.js} +3 -3
- package/dist/{Success-CgLRsVYC.js → Success-CvoORmAN.js} +15 -15
- package/dist/{ViewTicketsEmbed-CKucKt-W.js → ViewTicketsEmbed-C0QPIbpw.js} +6 -6
- package/dist/{__SKIP_PATHS__-BTbGfN80.js → __SKIP_PATHS__-DmdRxELE.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +267 -252
- package/dist/api/gift-cards.d.ts +13 -3
- package/dist/api/orders.d.ts +12 -0
- package/dist/api/transformers/cart.d.ts +16 -1
- package/dist/{colors-fhDq0k7I.js → colors-Dk53YuNz.js} +80 -75
- package/dist/{event-transform-eNiddvbF.js → event-transform-DUqXNcXz.js} +1 -1
- package/dist/{eventStatusStream-sq6uPnMe.js → eventStatusStream-C5KadkMh.js} +1 -1
- package/dist/{i18n-Bk8x-2nR.js → i18n-nPKgIP_8.js} +2 -2
- package/dist/{labels-Djxn2Lvi.js → labels-YAwDbsF8.js} +1 -1
- package/dist/{orders-NZP81zYT.js → orders-xGH8-IQn.js} +264 -216
- package/dist/{pixels-BBruZizp.js → pixels-Hb-kLRzV.js} +8 -8
- package/dist/{utils-CAxbM_uh.js → utils-CcxQIxOO.js} +49 -49
- package/dist/venue-calendar.es.js +740 -740
- package/dist/venue-calendar.iife.js +57 -57
- package/dist/venue-calendar.umd.js +47 -47
- package/package.json +1 -1
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/de.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/es.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/id.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/it.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/de.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/es.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/fr.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/id.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/it.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/ja.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/ko.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/nl.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/pl.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/tr.js +0 -0
- /package/dist/locales/{4.2.10 → 4.2.11}/main/zh.js +0 -0
|
@@ -6,21 +6,21 @@ import { d as _, i as v, l as y, r as b, t as x } from "./Input-VmGIkIrm.js";
|
|
|
6
6
|
import { C as S, D as C, E as w, O as T, _ as E, b as D, d as O, f as k, g as A, l as j, m as M, o as N, r as P, t as F, u as I, v as L, w as R, x as z, y as B } from "./constants-BWfNecCz.js";
|
|
7
7
|
import { t as V } from "./ArrowLeftIcon-CNxF9YFb.js";
|
|
8
8
|
import { n as H, t as U } from "./BlockPlaceholder-CnvIm7eh.js";
|
|
9
|
-
import { n as ee, r as te, t as W } from "./ScarcityBadge-
|
|
9
|
+
import { n as ee, r as te, t as W } from "./ScarcityBadge-R32tzjFi.js";
|
|
10
10
|
import { t as G } from "./Image-B3cEndLZ.js";
|
|
11
|
-
import {
|
|
12
|
-
import { c as K, l as q, t as se } from "./__SKIP_PATHS__-
|
|
11
|
+
import { I as ne, c as re, g as ie, i as ae, o as oe } from "./orders-xGH8-IQn.js";
|
|
12
|
+
import { c as K, l as q, t as se } from "./__SKIP_PATHS__-DmdRxELE.js";
|
|
13
13
|
import { t as J } from "./LiveRegion-D9Me4kBs.js";
|
|
14
14
|
import { t as ce } from "./z-index-B0Vk_Mp1.js";
|
|
15
15
|
import { t as le } from "./modalManager.svelte-DHSGjxWd.js";
|
|
16
16
|
import { t as ue } from "./Modal-CjMTStvm.js";
|
|
17
17
|
import { t as de } from "./Spinner-BwiDys7C.js";
|
|
18
|
-
import { C as fe, g as pe, h as me, m as he, w as ge } from "./colors-
|
|
19
|
-
import { t as _e } from "./event-transform-
|
|
20
|
-
import { a as ve, c as ye, d as be, f as xe, g as Y, h as Se, i as Ce, l as we, m as X, o as Te, p as Ee, s as De, t as Oe, u as ke } from "./utils-
|
|
18
|
+
import { C as fe, g as pe, h as me, m as he, w as ge } from "./colors-Dk53YuNz.js";
|
|
19
|
+
import { t as _e } from "./event-transform-DUqXNcXz.js";
|
|
20
|
+
import { a as ve, c as ye, d as be, f as xe, g as Y, h as Se, i as Ce, l as we, m as X, o as Te, p as Ee, s as De, t as Oe, u as ke } from "./utils-CcxQIxOO.js";
|
|
21
21
|
import { a as Ae, i as je, n as Me, r as Ne, t as Pe } from "./promo-DtLZRskK.js";
|
|
22
|
-
import { n as Fe, t as Ie } from "./CheckoutTimer-
|
|
23
|
-
import "./labels-
|
|
22
|
+
import { n as Fe, t as Ie } from "./CheckoutTimer-C9tJJZC8.js";
|
|
23
|
+
import "./labels-YAwDbsF8.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|
|
25
25
|
import * as Z from "svelte/internal/client";
|
|
26
26
|
import { SvelteURLSearchParams as Le } from "svelte/reactivity";
|
|
@@ -1436,7 +1436,7 @@ function dn(t, r) {
|
|
|
1436
1436
|
if (!e) return;
|
|
1437
1437
|
Z.set(Ze, !0);
|
|
1438
1438
|
try {
|
|
1439
|
-
await
|
|
1439
|
+
await oe(e, Z.get(O)) || (Ht.warn("Cart quantity sync failed; reverting local quantities"), Z.set(O, { ...n }, !0), Z.get(m) && be({
|
|
1440
1440
|
eventID: Z.get(m).eventID,
|
|
1441
1441
|
quantities: Z.get(O),
|
|
1442
1442
|
promocode: Z.get(k),
|
|
@@ -1458,7 +1458,7 @@ function dn(t, r) {
|
|
|
1458
1458
|
promoCode: Z.get(k) || void 0,
|
|
1459
1459
|
attribution: ie()
|
|
1460
1460
|
});
|
|
1461
|
-
e?.success && e.uuid && (qe = !0, bt(),
|
|
1461
|
+
e?.success && e.uuid && (qe = !0, bt(), re(Z.get(m).eventID, null, Z.get(m).venueID || Z.get(m).venueId || null));
|
|
1462
1462
|
} catch (e) {
|
|
1463
1463
|
Ht.error("Error creating cart on ticket select:", e);
|
|
1464
1464
|
} finally {
|
|
@@ -1583,7 +1583,7 @@ function dn(t, r) {
|
|
|
1583
1583
|
Z.set(_, !1), Z.set(U, "cart_failed"), H.open();
|
|
1584
1584
|
return;
|
|
1585
1585
|
}
|
|
1586
|
-
Z.set(te, !0), e.success &&
|
|
1586
|
+
Z.set(te, !0), e.success && re(Z.get(m).eventID, null, Z.get(m).venueID || Z.get(m).venueId || null);
|
|
1587
1587
|
} catch (e) {
|
|
1588
1588
|
Ht.error("Order initiation failed:", e), Z.set(_, !1), Z.set(U, "cart_failed"), H.open();
|
|
1589
1589
|
return;
|
|
@@ -6,7 +6,7 @@ import { t as _ } from "./CalendarIcon-BBTaRYp7.js";
|
|
|
6
6
|
import { t as v } from "./ClockIcon-DNJWLc1C.js";
|
|
7
7
|
import { t as y } from "./WarningTriIcon-DjcnvD51.js";
|
|
8
8
|
import { t as ee } from "./Image-B3cEndLZ.js";
|
|
9
|
-
import {
|
|
9
|
+
import { J as b, W as x, X as S, i as C } from "./orders-xGH8-IQn.js";
|
|
10
10
|
import { t as w } from "./LiveRegion-D9Me4kBs.js";
|
|
11
11
|
import { t as T } from "./z-index-B0Vk_Mp1.js";
|
|
12
12
|
import { n as te, t as E } from "./Heading-Dfo3bjyn.js";
|
|
@@ -14,11 +14,11 @@ import { t as D } from "./Checkbox-BexPyTGk.js";
|
|
|
14
14
|
import { t as O } from "./modalManager.svelte-DHSGjxWd.js";
|
|
15
15
|
import { t as ne } from "./Modal-CjMTStvm.js";
|
|
16
16
|
import { t as k } from "./Text-CqjLjIF8.js";
|
|
17
|
-
import "./colors-
|
|
18
|
-
import { i as re, n as ie, t as ae } from "./i18n-
|
|
19
|
-
import { t as A } from "./eventStatusStream-
|
|
20
|
-
import { n as oe, t as se } from "./CheckoutTimer-
|
|
21
|
-
import { t as ce } from "./labels-
|
|
17
|
+
import "./colors-Dk53YuNz.js";
|
|
18
|
+
import { i as re, n as ie, t as ae } from "./i18n-nPKgIP_8.js";
|
|
19
|
+
import { t as A } from "./eventStatusStream-C5KadkMh.js";
|
|
20
|
+
import { n as oe, t as se } from "./CheckoutTimer-C9tJJZC8.js";
|
|
21
|
+
import { t as ce } from "./labels-YAwDbsF8.js";
|
|
22
22
|
import { a as le, i as ue, o as de, r as j, s as fe, t as pe } from "./showcase-state-options-BoJxiEsg.js";
|
|
23
23
|
import { n as me } from "./order-totals-DptlFbmv.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|
|
@@ -111,8 +111,8 @@ function W() {
|
|
|
111
111
|
} catch {}
|
|
112
112
|
}
|
|
113
113
|
function G() {
|
|
114
|
-
let e =
|
|
115
|
-
return e === "dark" || e === "light" ? (t && W(), e) : t ? (
|
|
114
|
+
let e = x(V), t = U();
|
|
115
|
+
return e === "dark" || e === "light" ? (t && W(), e) : t ? (b(V, t), W(), t) : null;
|
|
116
116
|
}
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region __SKIP_ENVIRONMENT__
|
|
@@ -1037,7 +1037,7 @@ function He(e, t) {
|
|
|
1037
1037
|
var Ue = t("CheckoutMain"), We = M.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Ge = M.from_html(" <!>", 1), Ke = M.from_html("<div class=\"max-w-6xl\"><div class=\"vc-box-grid-wide grid-cols-booking-split gap-8 items-start\"><div class=\"pb-24 md:pb-0\"><!> <section class=\"vc-box-mobile mobile-order-summary border-default bg-surface-secondary mt-6 svelte-1opgb11\"><div class=\"flex gap-3 pb-3 mb-3 border-b border-default\"><div class=\"shrink-0 w-20 h-14 rounded-lg overflow-hidden bg-surface-tertiary\"><!></div> <div class=\"flex-1 min-w-0\"><!> <div class=\"flex items-center gap-1.5 mt-1\"><!> <!></div> <div class=\"mt-0.5\"><!></div></div></div> <!></section></div> <div class=\"vc-box-desktop-block sticky top-6\"><!></div></div></div> <div class=\"vc-box-mobile\"><!></div>", 1), qe = M.from_html("<p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>"), Je = M.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"warning-modal-description\"><div class=\"timer-modal-icon warning svelte-1opgb11\"><!></div> <h3 id=\"warning-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"> </h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"> </p> <!></div>"), Ye = M.from_html("<!> <p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>", 1), Xe = M.from_html("<div class=\"timer-modal-actions svelte-1opgb11\"><!></div>"), Ze = M.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"expired-modal-description\"><div class=\"timer-modal-icon expired svelte-1opgb11\"><!></div> <h3 id=\"expired-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"> </h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"> </p></div>"), Qe = M.from_html("<!> <!>", 1), $e = M.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"sale-closed-modal-description\"><div class=\"timer-modal-icon expired svelte-1opgb11\"><!></div> <h3 id=\"sale-closed-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"><!></h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"><!></p></div>"), et = M.from_html("<div class=\"w-full min-h-screen bg-surface-primary text-color-primary\"><div class=\"max-w-6xl mx-auto px-4 py-6 md:px-6 md:py-8\"><!></div> <!> <!> <!></div>");
|
|
1038
1038
|
function tt(t, n) {
|
|
1039
1039
|
M.push(n, !0);
|
|
1040
|
-
let r = pe(), o = M.derived(() => j.current), u = M.prop(n, "config", 3, void 0), d = M.prop(n, "onPlaceOrder", 3, void 0), f = M.prop(n, "onBack", 3, void 0), b = M.prop(n, "onRetryExpired", 3, void 0),
|
|
1040
|
+
let r = pe(), o = M.derived(() => j.current), u = M.prop(n, "config", 3, void 0), d = M.prop(n, "onPlaceOrder", 3, void 0), f = M.prop(n, "onBack", 3, void 0), b = M.prop(n, "onRetryExpired", 3, void 0), x = M.prop(n, "onExtendSession", 3, void 0), T = M.prop(n, "stripe", 3, void 0), te = M.prop(n, "paymentIntent", 3, void 0), E = M.prop(n, "elements", 15, void 0), D = M.prop(n, "paymentError", 3, null), se = M.prop(n, "eventEnded", 15, !1), ce = M.prop(n, "serverTotalsUnavailable", 3, !1), he = M.prop(n, "labels", 19, () => ({})), N = M.prop(n, "locale", 3, void 0), _e = M.prop(n, "giftCard", 3, void 0), P = M.derived(() => ae(N(), he())), F = M.derived(() => !u());
|
|
1041
1041
|
M.user_effect(() => {
|
|
1042
1042
|
if (M.get(F)) return j.options = r, j.current = "default", j.isActive = !0, () => {
|
|
1043
1043
|
j.isActive = !1, j.options = [];
|
|
@@ -1345,9 +1345,9 @@ function tt(t, n) {
|
|
|
1345
1345
|
if (!(!M.get(Y) || M.get(q))) {
|
|
1346
1346
|
M.set(q, !0);
|
|
1347
1347
|
try {
|
|
1348
|
-
if (
|
|
1349
|
-
let e = await
|
|
1350
|
-
if (e == null) throw new
|
|
1348
|
+
if (x()) {
|
|
1349
|
+
let e = await x()();
|
|
1350
|
+
if (e == null) throw new S("Extension request returned no result", 0, {
|
|
1351
1351
|
endpoint: "extend-session",
|
|
1352
1352
|
method: "POST"
|
|
1353
1353
|
});
|