@getmicdrop/venue-calendar 4.3.111 → 4.3.113
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/{AddOnCard-DpOBDI9b.js → AddOnCard-D_d9UHNs.js} +64 -64
- package/dist/{ArrowLeftIcon-C_zVqV6t.js → ArrowLeftIcon-Bs7mUb9F.js} +1 -1
- package/dist/{BlockPlaceholder-DzMU967I.js → BlockPlaceholder-BgUO-Q5N.js} +1 -1
- package/dist/{Calendar-BoaDTy3W.js → Calendar-BMGUJww4.js} +23 -23
- package/dist/{CalendarFoundryView-BjOBcBxO.js → CalendarFoundryView-BTmew1Os.js} +615 -615
- package/dist/{CalendarIcon-BVyCicqG.js → CalendarIcon-29_IwvHT.js} +1 -1
- package/dist/{CartView-BRigpJWl.js → CartView-IpUUucvW.js} +252 -252
- package/dist/{Checkout-CBB_BrkW.js → Checkout-BhqL-kmQ.js} +11 -11
- package/dist/{Checkout-BWRhw-cI.js → Checkout-JGthqqs-.js} +17 -17
- package/dist/{CheckoutTimer-B_bbKzpt.js → CheckoutTimer-BYmPa5AI.js} +1 -1
- package/dist/{ChevronDownIcon-CqKYBZhG.js → ChevronDownIcon-Denff3IQ.js} +1 -1
- package/dist/{CloseIcon-BhTQvxHn.js → CloseIcon-BnwP0Nx3.js} +1 -1
- package/dist/{CollectionView-BBP2uTOg.js → CollectionView-DlkRy1E6.js} +4 -4
- package/dist/{Event-BSw_iPJ0.js → Event-BlER5lob.js} +194 -194
- package/dist/{EventPage-BTSrJvp0.js → EventPage-DSkb5f6a.js} +18 -18
- package/dist/{Input-xj8FOiHB.js → Input-CvK81EKX.js} +1 -1
- package/dist/{MailIcon-BaaO5yAE.js → MailIcon-DdNZD4Cv.js} +1 -1
- package/dist/{PasswordInput-B_473cLh.js → PasswordInput-CJ7o73tQ.js} +1 -1
- package/dist/{PhoneInput-mQkaGqwZ.js → PhoneInput-9qgnvS-F.js} +2 -2
- package/dist/{RecommendationsRail-S1I8syg9.js → RecommendationsRail-DDbHjhC_.js} +4 -4
- package/dist/{ScarcityBadge-C-VEn2fs.js → ScarcityBadge-BiseR8MX.js} +3 -3
- package/dist/{SeriesPage-cOjGzgq0.js → SeriesPage-qLLiHJSN.js} +2 -2
- package/dist/{Success-BJmyj-C9.js → Success-TfcsaUGL.js} +20 -20
- package/dist/{TagIcon-78loB6Ff.js → TagIcon-DtX06EKe.js} +1 -1
- package/dist/{WarningCircleIcon-BlA4oF-K.js → WarningCircleIcon-BEbthCpd.js} +1 -1
- package/dist/{WarningTriIcon-B9M_X71V.js → WarningTriIcon-Ba68mCD0.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +1 -0
- package/dist/{api-CoAKej3S.js → api-OjCXecbx.js} +206 -152
- package/dist/{copyToClipboard-GCd8x6uN.js → copyToClipboard-pMnstOiv.js} +1 -1
- package/dist/{createErrorGate.svelte-D6SJK51n.js → createErrorGate.svelte-DgREjCbj.js} +1 -1
- package/dist/{datetime-DWmAPk9U.js → datetime-vgtbUysw.js} +61 -42
- package/dist/{event-transform-C5c5HKWF.js → event-transform-Dgb8zlg2.js} +15 -15
- package/dist/{href-CZPFcjzy.js → href-Dv7vLRDA.js} +1 -1
- package/dist/{i18n-dZGBYr5W.js → i18n-B-mcjNXL.js} +95 -95
- package/dist/to-event-card-props-BquqSDuB.js +383 -0
- package/dist/{utils-XAD2Mb21.js → utils-Baq55Xy_.js} +1 -1
- package/dist/venue-calendar.es.js +498 -546
- package/dist/venue-calendar.iife.js +28 -28
- package/dist/venue-calendar.umd.js +50 -50
- package/package.json +2 -2
- package/dist/to-event-card-props-DfSOYeKe.js +0 -402
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/de.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/es.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/id.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/it.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/de.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/es.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/fr.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/id.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/it.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/ja.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/ko.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/nl.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/pl.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/tr.js +0 -0
- /package/dist/locales/{4.3.111 → 4.3.113}/main/zh.js +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { g as e, m as t, p as n } from "./sizing-B7ixYndz.js";
|
|
2
|
-
import { n as r, r as i, t as a } from "./CloseIcon-
|
|
3
|
-
import { r as o } from "./Input-
|
|
4
|
-
import {
|
|
5
|
-
import { o as u, r as d } from "./ScarcityBadge-
|
|
6
|
-
import { t as f } from "./TagIcon-
|
|
7
|
-
import { t as p } from "./WarningTriIcon-
|
|
2
|
+
import { n as r, r as i, t as a } from "./CloseIcon-BnwP0Nx3.js";
|
|
3
|
+
import { r as o } from "./Input-CvK81EKX.js";
|
|
4
|
+
import { k as s, u as c, w as l } from "./datetime-vgtbUysw.js";
|
|
5
|
+
import { o as u, r as d } from "./ScarcityBadge-BiseR8MX.js";
|
|
6
|
+
import { t as f } from "./TagIcon-DtX06EKe.js";
|
|
7
|
+
import { t as p } from "./WarningTriIcon-Ba68mCD0.js";
|
|
8
8
|
import { f as m, n as h } from "./z-index-CeYVHpUz.js";
|
|
9
9
|
import { A as g, L as _, b as v, n as y, t as b } from "./defaultLabels-CsRGNP7f.js";
|
|
10
10
|
import { t as x } from "./Button-VUB2WJ88.js";
|
|
11
11
|
import { c as S, i as C, n as w, o as T, p as E, r as ee, t as te } from "./orders-BWVwv3P0.js";
|
|
12
12
|
import { n as ne, t as re } from "./serverTotals-D57U4Nju.js";
|
|
13
|
-
import { c as ie, j as ae, l as oe, o as se, s as D, y as ce } from "./api-
|
|
13
|
+
import { c as ie, j as ae, l as oe, o as se, s as D, y as ce } from "./api-OjCXecbx.js";
|
|
14
14
|
import { a as O, i as k, n as A, r as j, t as M } from "./ModalFooter-9RwP9PR1.js";
|
|
15
|
-
import { t as le } from "./event-transform-
|
|
15
|
+
import { t as le } from "./event-transform-Dgb8zlg2.js";
|
|
16
16
|
import { t as ue } from "./venue-BBoZBuhu.js";
|
|
17
|
-
import { b as de, g as fe, h as pe, l as me, r as he, v as ge } from "./utils-
|
|
18
|
-
import { a as _e } from "./AddOnCard-
|
|
19
|
-
import ve, { n as ye, t as be } from "./Checkout-
|
|
17
|
+
import { b as de, g as fe, h as pe, l as me, r as he, v as ge } from "./utils-Baq55Xy_.js";
|
|
18
|
+
import { a as _e } from "./AddOnCard-D_d9UHNs.js";
|
|
19
|
+
import ve, { n as ye, t as be } from "./Checkout-JGthqqs-.js";
|
|
20
20
|
import { n as xe } from "./buyerEmail-BfCq-gDt.js";
|
|
21
21
|
import "svelte/internal/disclose-version";
|
|
22
22
|
import * as N from "svelte/internal/client";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { g as e, m as t } from "./sizing-B7ixYndz.js";
|
|
2
|
-
import { t as n } from "./Input-
|
|
3
|
-
import {
|
|
4
|
-
import { n as c } from "./WarningCircleIcon-
|
|
5
|
-
import { t as l } from "./CalendarIcon-
|
|
6
|
-
import { t as u } from "./WarningTriIcon-
|
|
2
|
+
import { t as n } from "./Input-CvK81EKX.js";
|
|
3
|
+
import { Y as r, k as i, o as a, t as o, w as s } from "./datetime-vgtbUysw.js";
|
|
4
|
+
import { n as c } from "./WarningCircleIcon-BEbthCpd.js";
|
|
5
|
+
import { t as l } from "./CalendarIcon-29_IwvHT.js";
|
|
6
|
+
import { t as u } from "./WarningTriIcon-Ba68mCD0.js";
|
|
7
7
|
import { t as d } from "./z-index-CeYVHpUz.js";
|
|
8
8
|
import { B as f, M as p, V as m, b as h, k as g, x as _, z as v } from "./defaultLabels-CsRGNP7f.js";
|
|
9
9
|
import { r as y, t as b } from "./Button-VUB2WJ88.js";
|
|
10
10
|
import { Z as x, i as S, rt as C, tt as ee } from "./orders-BWVwv3P0.js";
|
|
11
|
-
import "./api-
|
|
11
|
+
import "./api-OjCXecbx.js";
|
|
12
12
|
import { t as te } from "./LiveRegion-D9Me4kBs.js";
|
|
13
13
|
import { n as w, t as T } from "./Heading-Db8kKUvN.js";
|
|
14
14
|
import { t as E } from "./Checkbox-BtJwg_CF.js";
|
|
15
15
|
import { t as D } from "./Modal-hKMSS6bJ.js";
|
|
16
16
|
import { t as O } from "./Text-CqjLjIF8.js";
|
|
17
17
|
import { t as k } from "./modalManager.svelte-Cz_6x1Qd.js";
|
|
18
|
-
import { i as A, n as j, t as M } from "./i18n-
|
|
18
|
+
import { i as A, n as j, t as M } from "./i18n-B-mcjNXL.js";
|
|
19
19
|
import { t as N } from "./eventStatusStream-Cf7PaLka.js";
|
|
20
|
-
import { n as ne, t as re } from "./CheckoutTimer-
|
|
20
|
+
import { n as ne, t as re } from "./CheckoutTimer-BYmPa5AI.js";
|
|
21
21
|
import { n as ie, t as ae } from "./constants-kDn3-fLS.js";
|
|
22
22
|
import { a as oe, i as se, o as ce, r as P, s as F, t as le } from "./showcase-state-options-zfQoPg37.js";
|
|
23
|
-
import { i as ue, t as de } from "./AddOnCard-
|
|
23
|
+
import { i as ue, t as de } from "./AddOnCard-D_d9UHNs.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|
|
25
25
|
import * as I from "svelte/internal/client";
|
|
26
26
|
import { onDestroy as fe, onMount as pe, untrack as me } from "svelte";
|
|
@@ -28,7 +28,7 @@ import { onDestroy as fe, onMount as pe, untrack as me } from "svelte";
|
|
|
28
28
|
var he = I.from_svg("<path d=\"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61Z\"></path>"), ge = I.from_svg("<polyline points=\"160 208 80 128 160 48\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline>"), _e = I.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
29
29
|
function ve(e, t) {
|
|
30
30
|
I.push(t, !0);
|
|
31
|
-
let n = I.prop(t, "size", 3, "24"),
|
|
31
|
+
let n = I.prop(t, "size", 3, "24"), i = I.prop(t, "color", 3, "currentColor"), a = I.prop(t, "class", 3, ""), o = r(), s = I.derived(() => t.weight ?? o?.weight ?? "regular");
|
|
32
32
|
var c = _e();
|
|
33
33
|
let l;
|
|
34
34
|
var u = I.child(c), d = (e) => {
|
|
@@ -41,7 +41,7 @@ function ve(e, t) {
|
|
|
41
41
|
I.if(u, (e) => {
|
|
42
42
|
I.get(s) === "fill" ? e(d) : e(f, -1);
|
|
43
43
|
}), I.reset(c), I.template_effect(() => {
|
|
44
|
-
I.set_class(c, 0, I.clsx(a())), I.set_attribute(c, "width", n()), I.set_attribute(c, "height", n()), l = I.set_style(c, "", l, { color:
|
|
44
|
+
I.set_class(c, 0, I.clsx(a())), I.set_attribute(c, "width", n()), I.set_attribute(c, "height", n()), l = I.set_style(c, "", l, { color: i() === "currentColor" ? void 0 : i() });
|
|
45
45
|
}), I.append(e, c), I.pop();
|
|
46
46
|
}
|
|
47
47
|
e("cookies");
|
|
@@ -1106,9 +1106,9 @@ function Ge(e, t) {
|
|
|
1106
1106
|
var Ke = e("CheckoutMain"), qe = I.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Je = I.from_html(" <!>", 1), Ye = I.from_html("<div class=\"mt-4 pt-4 border-t border-default\"><!></div>"), Xe = I.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), Ze = I.from_html("<p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>"), Qe = I.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>"), $e = I.from_html("<!> <p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>", 1), et = I.from_html("<div class=\"timer-modal-actions svelte-1opgb11\"><!></div>"), tt = I.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>"), nt = I.from_html("<!> <!>", 1), rt = I.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>"), it = I.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>");
|
|
1107
1107
|
function at(e, n) {
|
|
1108
1108
|
I.push(n, !0);
|
|
1109
|
-
let
|
|
1109
|
+
let r = le(), s = I.derived(() => P.current), d = I.prop(n, "config", 3, void 0), f = I.prop(n, "onPlaceOrder", 3, void 0), p = I.prop(n, "onBack", 3, void 0), g = I.prop(n, "onRetryExpired", 3, void 0), x = I.prop(n, "onExtendSession", 3, void 0), ee = I.prop(n, "stripe", 3, void 0), w = I.prop(n, "paymentIntent", 3, void 0), T = I.prop(n, "elements", 15, void 0), E = I.prop(n, "paymentError", 3, null), re = I.prop(n, "eventEnded", 15, !1), ie = I.prop(n, "serverTotalsUnavailable", 3, !1), de = I.prop(n, "repricing", 3, !1), fe = I.prop(n, "labels", 19, () => ({})), pe = I.prop(n, "locale", 3, void 0), he = I.prop(n, "giftCard", 3, void 0), ge = I.prop(n, "checkoutAddOns", 19, () => []), _e = I.prop(n, "addOnQuantities", 19, () => ({})), ve = I.prop(n, "addOnTicketCount", 3, 0), ye = I.prop(n, "onAddOnQuantityChange", 3, void 0), xe = I.prop(n, "addOnsBusy", 3, !1), Se = I.prop(n, "addOnsFailed", 3, !1), Ce = I.prop(n, "addOnsError", 3, null), R = I.derived(() => M(pe(), fe())), z = I.derived(() => !d());
|
|
1110
1110
|
I.user_effect(() => {
|
|
1111
|
-
if (I.get(z)) return P.options =
|
|
1111
|
+
if (I.get(z)) return P.options = r, P.current = "default", P.isActive = !0, () => {
|
|
1112
1112
|
P.isActive = !1, P.options = [];
|
|
1113
1113
|
};
|
|
1114
1114
|
});
|
|
@@ -1312,15 +1312,15 @@ function at(e, n) {
|
|
|
1312
1312
|
promoDiscount: I.get(B).serverTotals.promoDiscount,
|
|
1313
1313
|
giftCardAmount: I.get(B).serverTotals.giftCardAmount
|
|
1314
1314
|
};
|
|
1315
|
-
let t =
|
|
1315
|
+
let t = i(e.reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), n = I.get(B).promoApplied ? I.get(B).promoDiscount : 0;
|
|
1316
1316
|
if (I.get(z)) {
|
|
1317
|
-
let
|
|
1317
|
+
let r = ue(e, I.get(B).event.venue), a = i(Math.max(0, t - n)), o = A(a + r, I.get(B).event.venue.taxPercentage);
|
|
1318
1318
|
return {
|
|
1319
1319
|
lines: e,
|
|
1320
1320
|
subtotal: t,
|
|
1321
|
-
fees:
|
|
1321
|
+
fees: r,
|
|
1322
1322
|
taxes: o,
|
|
1323
|
-
total:
|
|
1323
|
+
total: i(a + r + o),
|
|
1324
1324
|
promoDiscount: n,
|
|
1325
1325
|
giftCardAmount: 0
|
|
1326
1326
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./WarningCircleIcon-
|
|
1
|
+
import { n as e } from "./WarningCircleIcon-BEbthCpd.js";
|
|
2
2
|
import { g as t, x as n } from "./defaultLabels-CsRGNP7f.js";
|
|
3
3
|
import { r } from "./Button-VUB2WJ88.js";
|
|
4
4
|
import { t as i } from "./Text-CqjLjIF8.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as e } from "./datetime-vgtbUysw.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ChevronDownIcon.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as e } from "./datetime-vgtbUysw.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/CalendarOutline.svelte
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./Event-
|
|
1
|
+
import { t as e } from "./Event-BlER5lob.js";
|
|
2
2
|
import { g as t } from "./sizing-B7ixYndz.js";
|
|
3
|
-
import { i as n } from "./RecommendationsRail-
|
|
3
|
+
import { i as n } from "./RecommendationsRail-DDbHjhC_.js";
|
|
4
4
|
import { t as r } from "./defaultLabels-CsRGNP7f.js";
|
|
5
5
|
import { t as i } from "./Button-VUB2WJ88.js";
|
|
6
|
-
import { E as a } from "./api-
|
|
7
|
-
import { t as o } from "./PasswordInput-
|
|
6
|
+
import { E as a } from "./api-OjCXecbx.js";
|
|
7
|
+
import { t as o } from "./PasswordInput-CJ7o73tQ.js";
|
|
8
8
|
import { t as s } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
|
|
9
9
|
import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
10
10
|
import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
|