@getmicdrop/venue-calendar 4.3.28 → 4.3.29
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-BPjgsEga.js → CartView-B_DCNrDS.js} +13 -13
- package/dist/{Checkout-DXLlFeQt.js → Checkout-CS5GDkWc.js} +82 -76
- package/dist/{Checkout-C_-n1pwp.js → Checkout-Ud28q5Hy.js} +6 -6
- package/dist/{CheckoutTimer-CcpFqxS6.js → CheckoutTimer-BP6B5azC.js} +1 -1
- package/dist/{CollectionView-CYExmoIj.js → CollectionView-ACiii1J5.js} +3 -3
- package/dist/{Event-KtmxFqeh.js → Event-BJlo9YTD.js} +4 -4
- package/dist/{EventPage-J_nFTC87.js → EventPage-D1ajrjlw.js} +188 -192
- package/dist/{RecommendationsRail-CYvrLLwk.js → RecommendationsRail-CdP6VhHT.js} +1 -1
- package/dist/{SeriesPage-Dx4ynZvK.js → SeriesPage-Pq0b5Jfu.js} +2 -2
- package/dist/{Success-DIcOsoRG.js → Success-3_2VxjV6.js} +5 -5
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +74 -70
- package/dist/api/index.d.ts +1 -1
- package/dist/api/waitlist.d.ts +2 -0
- package/dist/{api-DxEN4thz.js → api-Cjp9Xhh9.js} +5 -1
- package/dist/{constants-nRr7kzkT.js → constants-D4j-SbUf.js} +19 -19
- package/dist/{event-transform-y9eZBvZJ.js → event-transform-B608JYyE.js} +11 -11
- package/dist/{i18n-BYcNCekH.js → i18n-IC1KXPJh.js} +2 -2
- package/dist/{utils-CiFOOjQd.js → utils-CDgMSeSc.js} +1 -1
- package/dist/venue-calendar.es.js +733 -733
- package/dist/venue-calendar.iife.js +21 -21
- package/dist/venue-calendar.umd.js +26 -26
- package/package.json +2 -2
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/de.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/es.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/id.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/it.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/de.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/es.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/fr.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/id.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/it.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/ja.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/ko.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/nl.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/pl.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/tr.js +0 -0
- /package/dist/locales/{4.3.28 → 4.3.29}/main/zh.js +0 -0
|
@@ -565,5 +565,9 @@ async function ke(e) {
|
|
|
565
565
|
return Q.error("getWaitlistStatus error:", e), t;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
+
function Ae(e) {
|
|
569
|
+
let t = String(e % 60).padStart(2, "0");
|
|
570
|
+
return e >= 3600 ? `${Math.floor(e / 3600)}:${String(Math.floor(e % 3600 / 60)).padStart(2, "0")}:${t}` : `${Math.floor(e / 60)}:${t}`;
|
|
571
|
+
}
|
|
568
572
|
//#endregion
|
|
569
|
-
export {
|
|
573
|
+
export { C as A, j as C, re as D, M as E, ne as M, w as N, E as O, A as S, k as T, me as _, Oe as a, se as b, Te as c, W as d, de as f, pe as g, ge as h, $ as i, S as j, y as k, be as l, ve as m, ke as n, we as o, K as p, De as r, Ee as s, Ae as t, ye as u, _e as v, O as w, oe as x, ce as y };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { C as e, S as t,
|
|
1
|
+
import { C as e, S as t, T as n, w as r } from "./api-Cjp9Xhh9.js";
|
|
2
2
|
//#region src/lib/core/theme-engine.js
|
|
3
3
|
var i = {
|
|
4
|
-
primary:
|
|
5
|
-
primaryHover:
|
|
6
|
-
secondary:
|
|
7
|
-
accent:
|
|
4
|
+
primary: e.defaultThemePrimary,
|
|
5
|
+
primaryHover: t.violet[700],
|
|
6
|
+
secondary: t.green.emerald,
|
|
7
|
+
accent: t.amber[500],
|
|
8
8
|
background: n.background.primary,
|
|
9
|
-
surface:
|
|
10
|
-
surfaceHover:
|
|
11
|
-
text:
|
|
12
|
-
textMuted:
|
|
9
|
+
surface: r[50],
|
|
10
|
+
surfaceHover: r[100],
|
|
11
|
+
text: r[800],
|
|
12
|
+
textMuted: r[500],
|
|
13
13
|
textOnPrimary: n.text.inverted,
|
|
14
|
-
border:
|
|
15
|
-
borderMuted:
|
|
14
|
+
border: r[200],
|
|
15
|
+
borderMuted: r[100],
|
|
16
16
|
radiusSm: "4px",
|
|
17
17
|
radiusMd: "8px",
|
|
18
18
|
radiusLg: "12px",
|
|
@@ -27,18 +27,18 @@ var i = {
|
|
|
27
27
|
shadowSm: "0 1px 2px rgba(0, 0, 0, 0.05)",
|
|
28
28
|
shadowMd: "0 4px 6px rgba(0, 0, 0, 0.1)",
|
|
29
29
|
shadowLg: "0 10px 15px rgba(0, 0, 0, 0.1)",
|
|
30
|
-
badgeScarcityBg:
|
|
30
|
+
badgeScarcityBg: t.red[600],
|
|
31
31
|
badgeScarcityText: n.text.inverted,
|
|
32
|
-
badgeSoldOutBg:
|
|
32
|
+
badgeSoldOutBg: r[500],
|
|
33
33
|
badgeSoldOutText: n.text.inverted,
|
|
34
|
-
badgeAgeBg:
|
|
35
|
-
badgeAgeText:
|
|
36
|
-
statusOnSale:
|
|
37
|
-
statusSellingFast:
|
|
38
|
-
statusSoldOut:
|
|
34
|
+
badgeAgeBg: t.amber[500],
|
|
35
|
+
badgeAgeText: r[800],
|
|
36
|
+
statusOnSale: t.green.emerald,
|
|
37
|
+
statusSellingFast: t.amber[500],
|
|
38
|
+
statusSoldOut: t.red[600],
|
|
39
39
|
spacingUnit: "4px"
|
|
40
40
|
};
|
|
41
|
-
({ ...i }), { ...i },
|
|
41
|
+
({ ...i }), { ...i }, t.violet[500], t.violet[400], r[900], r[800], r[700], r[50], r[400], r[700], r[600], { ...i }, r[700], r[800], n.background.primary, r[50], r[200], { ...i }, t.red[600], t.red[700], e.defaultThemePrimary;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/lib/public-calendar-flow/i18n/labels.js
|
|
44
44
|
var a = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { d as e, f as t, i as n, l as r, s as i } from "./scarcity-Dgvp7aCF.js";
|
|
2
2
|
import { C as a } from "./defaultLabels-BgBbv_Mu.js";
|
|
3
3
|
import { l as o, u as s } from "./navigation-Dh-hGmN9.js";
|
|
4
|
-
import { A as c,
|
|
4
|
+
import { A as c, D as l, M as u, N as d, j as f, w as p } from "./api-Cjp9Xhh9.js";
|
|
5
5
|
//#region src/lib/utils/event-transform.js
|
|
6
6
|
var m = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
|
|
7
|
-
<rect width="200" height="300" fill="${
|
|
8
|
-
<rect x="60" y="90" width="80" height="80" rx="10" fill="${
|
|
9
|
-
<circle cx="85" cy="115" r="10" fill="${
|
|
10
|
-
<path d="M70 155 L100 125 L130 155 L130 155" stroke="${
|
|
7
|
+
<rect width="200" height="300" fill="${p[200]}"/>
|
|
8
|
+
<rect x="60" y="90" width="80" height="80" rx="10" fill="${p[300]}"/>
|
|
9
|
+
<circle cx="85" cy="115" r="10" fill="${p[400]}"/>
|
|
10
|
+
<path d="M70 155 L100 125 L130 155 L130 155" stroke="${p[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
11
|
</svg>`);
|
|
12
12
|
function h(e) {
|
|
13
13
|
return s(e, { placeholder: m });
|
|
@@ -93,11 +93,11 @@ function w(e, t, r, i) {
|
|
|
93
93
|
isSoldOut: n > 0 && e <= 0
|
|
94
94
|
};
|
|
95
95
|
} else {
|
|
96
|
-
let t =
|
|
96
|
+
let t = u(e.availableTickets || [], {
|
|
97
97
|
excludeDoorOnly: !0,
|
|
98
98
|
publicOnly: !1
|
|
99
99
|
});
|
|
100
|
-
o =
|
|
100
|
+
o = c(t);
|
|
101
101
|
}
|
|
102
102
|
return {
|
|
103
103
|
...r,
|
|
@@ -111,7 +111,7 @@ function w(e, t, r, i) {
|
|
|
111
111
|
ticketsRemaining: o.totalRemaining,
|
|
112
112
|
ticketsTotal: o.totalCapacity,
|
|
113
113
|
isSoldOut: o.isSoldOut,
|
|
114
|
-
hasPurchasableHiddenTickets:
|
|
114
|
+
hasPurchasableHiddenTickets: l(e),
|
|
115
115
|
stageId: t.stageId ?? null,
|
|
116
116
|
eventCategoryTypes: t.eventCategoryTypes ?? null,
|
|
117
117
|
ageRestriction: t.ageRestriction ?? null,
|
|
@@ -122,8 +122,8 @@ function w(e, t, r, i) {
|
|
|
122
122
|
function T(e, t, n, r, i) {
|
|
123
123
|
let a = (e.availableTickets || []).map((e) => ({
|
|
124
124
|
...e,
|
|
125
|
-
status:
|
|
126
|
-
})), o =
|
|
125
|
+
status: f(e)
|
|
126
|
+
})), o = u(a, {
|
|
127
127
|
excludeDoorOnly: !1,
|
|
128
128
|
publicOnly: !0
|
|
129
129
|
}), s = x(t.startDateTime, r);
|
|
@@ -147,7 +147,7 @@ function T(e, t, n, r, i) {
|
|
|
147
147
|
availableTickets: a,
|
|
148
148
|
publicTickets: o,
|
|
149
149
|
...e.addOns ? { addOns: e.addOns } : {},
|
|
150
|
-
hasPurchasableHiddenTickets:
|
|
150
|
+
hasPurchasableHiddenTickets: l(e),
|
|
151
151
|
doorsOpenTime: t.doorsOpenTime,
|
|
152
152
|
venue: t.venue,
|
|
153
153
|
venueID: t.venueId,
|
|
@@ -2,8 +2,8 @@ import { D as e, G as t, S as n, _ as r, h as i, m as a, n as o, t as s } from "
|
|
|
2
2
|
import { A as c, H as l, S as u, d, f, g as p, u as m, w as h, x as g } from "./defaultLabels-BgBbv_Mu.js";
|
|
3
3
|
import { l as _ } from "./orders-BQRru8sl.js";
|
|
4
4
|
import { t as v } from "./Text-CqjLjIF8.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as b } from "./constants-
|
|
5
|
+
import { O as y } from "./api-Cjp9Xhh9.js";
|
|
6
|
+
import { n as b } from "./constants-D4j-SbUf.js";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as x from "svelte/internal/client";
|
|
9
9
|
//#region src/lib/api/cta.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
2
|
import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-BQRru8sl.js";
|
|
3
|
-
import "./event-transform-
|
|
3
|
+
import "./event-transform-B608JYyE.js";
|
|
4
4
|
//#region node_modules/js-cookie/dist/js.cookie.mjs
|
|
5
5
|
function l(e) {
|
|
6
6
|
for (var t = 1; t < arguments.length; t++) {
|