@getmicdrop/venue-calendar 4.2.11 → 4.2.13
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/{Calendar-CYkpiAtv.js → Calendar-D7s5gLk_.js} +2 -2
- package/dist/{CalendarFoundryView-DPXG2vcr.js → CalendarFoundryView-BrsToTIb.js} +6 -6
- package/dist/{CartView-DKEYzXBY.js → CartView-DP5TuBgM.js} +3 -3
- package/dist/{Checkout-W22fMD3O.js → Checkout-CQr6zKSh.js} +61 -77
- package/dist/{Checkout-ClTYS0Sk.js → Checkout-CYTsIOBV.js} +3 -3
- package/dist/{CollectionView-CrbFmrTG.js → CollectionView-DIWLyNiY.js} +2 -2
- package/dist/{Event-BDXfT25f.js → Event-78cbicQy.js} +154 -150
- package/dist/{EventPage-ZaARiPwa.js → EventPage-ChQ04taO.js} +4 -4
- package/dist/{Input-VmGIkIrm.js → Input-BvutquC_.js} +5 -3
- package/dist/{Modal-CjMTStvm.js → Modal-kJYg2hMo.js} +2 -2
- package/dist/{ModalFooter-BndOSwTE.js → ModalFooter-DMxM0E8Y.js} +1 -1
- package/dist/{PasswordInput-CzRzjBIa.js → PasswordInput-D5_BuRnw.js} +1 -1
- package/dist/{SeriesPage-D06QOPK7.js → SeriesPage-B42dakZY.js} +1 -1
- package/dist/{Success-CvoORmAN.js → Success-DgUD_STB.js} +4 -4
- package/dist/{modalManager.svelte-DHSGjxWd.js → modalManager.svelte-DDWCrGed.js} +1 -1
- package/dist/venue-calendar.es.js +15 -15
- package/dist/venue-calendar.iife.js +57 -57
- package/dist/venue-calendar.umd.js +45 -45
- package/package.json +220 -220
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/de.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/es.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/id.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/it.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/de.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/es.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/fr.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/id.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/it.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/ja.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/ko.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/nl.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/pl.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/tr.js +0 -0
- /package/dist/locales/{4.2.11 → 4.2.13}/main/zh.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { n as l, t as u } from "./Input-
|
|
3
|
+
import { t as c } from "./Event-78cbicQy.js";
|
|
4
|
+
import { n as l, t as u } from "./Input-BvutquC_.js";
|
|
5
5
|
import { a as d, c as f, n as p, o as m, s as h } from "./phoneUtils-PJqYw0dJ.js";
|
|
6
6
|
import { y as g } from "./constants-BWfNecCz.js";
|
|
7
7
|
import { t as _ } from "./ClockIcon-DNJWLc1C.js";
|
|
@@ -10,8 +10,8 @@ import { n as y } from "./ScarcityBadge-R32tzjFi.js";
|
|
|
10
10
|
import { i as b } from "./Badge-Bv_MT-Vt.js";
|
|
11
11
|
import { c as x, g as S, u as C } from "./orders-xGH8-IQn.js";
|
|
12
12
|
import { i as w, n as T, s as E, t as D } from "./__SKIP_PATHS__-DmdRxELE.js";
|
|
13
|
-
import { a as O, i as k, n as A, r as j, t as M } from "./ModalFooter-
|
|
14
|
-
import { n as N, t as P } from "./modalManager.svelte-
|
|
13
|
+
import { a as O, i as k, n as A, r as j, t as M } from "./ModalFooter-DMxM0E8Y.js";
|
|
14
|
+
import { n as N, t as P } from "./modalManager.svelte-DDWCrGed.js";
|
|
15
15
|
import { c as ee, h as te, m as F, o as I, p as ne, s as L, v as re, w as ie } from "./colors-Dk53YuNz.js";
|
|
16
16
|
import { t as ae } from "./eventStatusStream-C5KadkMh.js";
|
|
17
17
|
import { d as R, i as oe, t as z } from "./utils-CcxQIxOO.js";
|
|
@@ -264,7 +264,7 @@ function F(e) {
|
|
|
264
264
|
}
|
|
265
265
|
//#endregion
|
|
266
266
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Input/Input.svelte
|
|
267
|
-
var de = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.controlled.onButtonClick.onbuttonclick.value.autocomplete.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.leftIcon.rightIcon.labels".split(".")), fe = c.from_html("<span> </span>"), pe = c.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), me = c.from_html("<textarea rows=\"4\"></textarea>"), he = c.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), ge = c.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), _e = c.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), ve = c.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), ye = c.from_html("<img class=\"w-5 h-5\"/>"), be = c.from_html("<span class=\"type-label\"> </span>"), xe = c.from_html("<button type=\"button\"><!> <!></button>"), Se = c.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), Ce = c.from_html("<div class=\"relative flex items-center w-full\"><!> <input/> <!> <!></div>"), we = c.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), Te = c.from_html("<img class=\"w-4 h-4 mr-2\"/>"), Ee = c.from_html("<div><!> <span
|
|
267
|
+
var de = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.controlled.onButtonClick.onbuttonclick.value.autocomplete.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.leftIcon.rightIcon.labels".split(".")), fe = c.from_html("<span> </span>"), pe = c.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), me = c.from_html("<textarea rows=\"4\"></textarea>"), he = c.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), ge = c.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), _e = c.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), ve = c.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), ye = c.from_html("<img class=\"w-5 h-5\"/>"), be = c.from_html("<span class=\"type-label\"> </span>"), xe = c.from_html("<button type=\"button\"><!> <!></button>"), Se = c.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), Ce = c.from_html("<div class=\"relative flex items-center w-full\"><!> <input/> <!> <!></div>"), we = c.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), Te = c.from_html("<img class=\"w-4 h-4 mr-2\"/>"), Ee = c.from_html("<div><!> <span> </span></div>"), De = c.from_html("<div><!> <div class=\"relative w-full\"><!> <!></div></div>");
|
|
268
268
|
function I(u, d) {
|
|
269
269
|
let f = c.props_id();
|
|
270
270
|
c.push(d, !0);
|
|
@@ -470,8 +470,10 @@ function I(u, d) {
|
|
|
470
470
|
c.if(n, (e) => {
|
|
471
471
|
(j() || N()) && e(r);
|
|
472
472
|
});
|
|
473
|
-
var i = c.sibling(n, 2);
|
|
474
|
-
c.
|
|
473
|
+
var i = c.sibling(n, 2), o = c.child(i, !0);
|
|
474
|
+
c.reset(i), c.reset(t), c.template_effect(() => {
|
|
475
|
+
c.set_class(t, 1, `mt-2 flex items-center ${a.xsMuted} opacity-65`), c.set_text(o, A() || M());
|
|
476
|
+
}), c.append(e, t);
|
|
475
477
|
};
|
|
476
478
|
c.if(ot, (e) => {
|
|
477
479
|
k() ? e(st) : (A() || M()) && e(ct, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./ModalFooter-
|
|
2
|
-
import { n as a } from "./modalManager.svelte-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./ModalFooter-DMxM0E8Y.js";
|
|
2
|
+
import { n as a } from "./modalManager.svelte-DDWCrGed.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as o from "svelte/internal/client";
|
|
5
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/Modal.svelte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as e, i as t, t as n } from "./Button-C4uFgl7L.js";
|
|
2
2
|
import { B as r } from "./timezones-C5l0SSHK.js";
|
|
3
|
-
import { d as i, i as a, l as o, r as s, u as c } from "./Input-
|
|
3
|
+
import { d as i, i as a, l as o, r as s, u as c } from "./Input-BvutquC_.js";
|
|
4
4
|
import { t as l } from "./z-index-B0Vk_Mp1.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as u from "svelte/internal/client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import { f as t, i as n, r, t as i } from "./Input-
|
|
2
|
+
import { f as t, i as n, r, t as i } from "./Input-BvutquC_.js";
|
|
3
3
|
import { t as a } from "./lazyOnce-CCfEO1xG.js";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as o from "svelte/internal/client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { x as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import { t } from "./Event-
|
|
2
|
+
import { t } from "./Event-78cbicQy.js";
|
|
3
3
|
import { i as n } from "./shareCopyFeedback.svelte-DZMLGA3y.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-R32tzjFi.js";
|
|
5
5
|
import { t as i } from "./__SKIP_PATHS__-DmdRxELE.js";
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as e } from "./timezones-C5l0SSHK.js";
|
|
2
|
-
import { o as t } from "./ModalFooter-
|
|
2
|
+
import { o as t } from "./ModalFooter-DMxM0E8Y.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as n from "svelte/internal/client";
|
|
5
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalHeader.svelte
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
})();
|
|
25
25
|
import { C as e, v as t, x as n } from "./Button-C4uFgl7L.js";
|
|
26
26
|
import { E as r, T as i, f as a, m as o, r as s, t as c, v as l, y as u } from "./timezones-C5l0SSHK.js";
|
|
27
|
-
import { c as d, n as f, o as p, r as m, s as h, t as g } from "./Calendar-
|
|
28
|
-
import { t as _ } from "./Input-
|
|
27
|
+
import { c as d, n as f, o as p, r as m, s as h, t as g } from "./Calendar-D7s5gLk_.js";
|
|
28
|
+
import { t as _ } from "./Input-BvutquC_.js";
|
|
29
29
|
import { B as v, K as y, R as ee, V as b, W as x, k as S, n as C, p as w, r as T, v as te, y as E, z as D } from "./constants-BWfNecCz.js";
|
|
30
30
|
import { t as ne } from "./ArrowLeftIcon-CNxF9YFb.js";
|
|
31
31
|
import { t as O } from "./ChevronDownIcon-Ba1RZBsy.js";
|
|
@@ -35,7 +35,7 @@ import { A as k, B as A, C as j, G as M, H as ae, J as oe, M as N, N as P, O as
|
|
|
35
35
|
import { l as ge, o as _e, r as ve, t as ye } from "./__SKIP_PATHS__-DmdRxELE.js";
|
|
36
36
|
import { t as be } from "./LiveRegion-D9Me4kBs.js";
|
|
37
37
|
import { a as xe, i as Se, n as Ce, o as H, s as we, t as Te } from "./to-event-card-props-BaPEUAZW.js";
|
|
38
|
-
import { a as Ee, i as De, n as Oe, r as ke, t as Ae } from "./ModalFooter-
|
|
38
|
+
import { a as Ee, i as De, n as Oe, r as ke, t as Ae } from "./ModalFooter-DMxM0E8Y.js";
|
|
39
39
|
import { t as je } from "./lazyOnce-CCfEO1xG.js";
|
|
40
40
|
import { a as U, b as Me, f as Ne, x as Pe, y as Fe } from "./colors-Dk53YuNz.js";
|
|
41
41
|
import { a as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as W, u as He } from "./pixels-Hb-kLRzV.js";
|
|
@@ -1473,7 +1473,7 @@ function vr(e, n) {
|
|
|
1473
1473
|
Ut({
|
|
1474
1474
|
widgetId: ce(),
|
|
1475
1475
|
treatmentShare: typeof e == "number" ? e : void 0
|
|
1476
|
-
}) === "treatment" && import("./CalendarFoundryView-
|
|
1476
|
+
}) === "treatment" && import("./CalendarFoundryView-BrsToTIb.js").then((e) => {
|
|
1477
1477
|
G.get(R) && (G.set(Xe, e.default, !0), G.set(Ke, !0));
|
|
1478
1478
|
}).catch((e) => ur.error("Foundry calendar load failed:", e));
|
|
1479
1479
|
}
|
|
@@ -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-B42dakZY.js")).default, !0) : e === "collection" ? G.get(Ce) || G.set(Ce, (await import("./CollectionView-DIWLyNiY.js")).default, !0) : G.get(xe) || G.set(xe, (await import("./EventPage-ChQ04taO.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-CQr6zKSh.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.13", 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-
|
|
3146
|
-
CartView: () => ei("CartView", () => import("./CartView-
|
|
3143
|
+
EventPage: () => ei("EventPage", () => import("./EventPage-ChQ04taO.js").then((e) => e.default)),
|
|
3144
|
+
Checkout: () => ei("Checkout", () => import("./Checkout-CQr6zKSh.js").then((e) => e.default)),
|
|
3145
|
+
Success: () => ei("Success", () => import("./Success-DgUD_STB.js").then((e) => e.default)),
|
|
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-
|
|
3149
|
-
SeriesPage: () => ei("SeriesPage", () => import("./SeriesPage-
|
|
3150
|
-
CollectionView: () => ei("CollectionView", () => import("./CollectionView-
|
|
3148
|
+
CheckoutMain: () => ei("CheckoutMain", () => import("./Checkout-CYTsIOBV.js").then((e) => e.default)),
|
|
3149
|
+
SeriesPage: () => ei("SeriesPage", () => import("./SeriesPage-B42dakZY.js").then((e) => e.default)),
|
|
3150
|
+
CollectionView: () => ei("CollectionView", () => import("./CollectionView-DIWLyNiY.js").then((e) => e.default))
|
|
3151
3151
|
};
|
|
3152
3152
|
function ti(e, t) {
|
|
3153
3153
|
let n;
|