@getmicdrop/venue-calendar 4.3.7 → 4.3.9
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/{ArrowLeftIcon-DvOokN4u.js → ArrowLeftIcon-B6RmtBIh.js} +1 -1
- package/dist/{Badge-Gg5PWs7f.js → Badge-DsuBHDo4.js} +1 -2
- package/dist/{BlockPlaceholder-C2PUGPNA.js → BlockPlaceholder-BvArmbbO.js} +2 -2
- package/dist/{Button-Cm6xkipe.js → Button-CxQO7vwF.js} +88 -63
- package/dist/{Calendar-BnqBcrZv.js → Calendar-Dei3Ahdk.js} +113 -105
- package/dist/{CalendarFoundryView-L97Allfg.js → CalendarFoundryView-Df10CTZS.js} +5398 -5389
- package/dist/{CalendarIcon-DvhQ-GaL.js → CalendarIcon-DJh5V_U9.js} +1 -1
- package/dist/CartView-DPzvlZwV.js +2245 -0
- package/dist/Checkout-CZGmzTDh.js +983 -0
- package/dist/{Checkout-DQWeMchu.js → Checkout-CaamQTXi.js} +368 -368
- package/dist/{CheckoutTimer-8tVmatUn.js → CheckoutTimer-BubF7ziC.js} +15 -15
- package/dist/{ChevronDownIcon-DyNmV5XZ.js → ChevronDownIcon-MTzda9yz.js} +1 -1
- package/dist/{ClockIcon-dOWVO61o.js → ClockIcon-Dit8R1GZ.js} +1 -1
- package/dist/{CloseIcon-a3S2RgbP.js → CloseIcon-XqvbBmiA.js} +1 -1
- package/dist/{CollectionView-CAMsmrmW.js → CollectionView-B_rrXaQH.js} +17 -17
- package/dist/CropImage-mVbYhD9Y.js +527 -0
- package/dist/{Event-BQgaaFkh.js → Event-WtVZMQfA.js} +585 -585
- package/dist/EventPage-B14U0-Hm.js +1147 -0
- package/dist/{Heading-cKAx0Ogl.js → Heading-PKl9dm72.js} +3 -4
- package/dist/{Image-CNZLcePz.js → Image-BWo4QBld.js} +12 -13
- package/dist/{Input-D1FpSX5Q.js → Input-Bl1wqeUH.js} +2 -2
- package/dist/{MailIcon-CR_eGi6n.js → MailIcon-DQTusrr4.js} +1 -1
- package/dist/{Modal-LkN8lh_m.js → Modal-CDIhIlu-.js} +2 -2
- package/dist/ModalFooter-DwkZn9ls.js +471 -0
- package/dist/ModalHeader-BSsyLaXY.js +18 -0
- package/dist/{PasswordInput-Bt6tvpzi.js → PasswordInput-CnjRiZJ7.js} +2 -2
- package/dist/{ScarcityBadge-g0dRh6K7.js → ScarcityBadge-B4e3Z_Oz.js} +24 -24
- package/dist/{SeriesPage-CNRwP2W0.js → SeriesPage-DszQMCy9.js} +5 -5
- package/dist/{Spinner-LroI7eOC.js → Spinner-BRgBJYJn.js} +2 -2
- package/dist/{Success--2NRdG0V.js → Success-BYVtvNeO.js} +106 -106
- package/dist/{TagIcon-BhLrURo_.js → TagIcon-BAZxGlbC.js} +1 -1
- package/dist/{ViewTicketsEmbed-CvuMdTA7.js → ViewTicketsEmbed-BHDAkYuv.js} +97 -97
- package/dist/{WarningCircleIcon-BxBY0OMQ.js → WarningCircleIcon-SBK0lpqR.js} +1 -1
- package/dist/{WarningTriIcon-QVzQiEM4.js → WarningTriIcon-Bj3xpe3S.js} +1 -1
- package/dist/{__SKIP_PATHS__-B0_APtpt.js → __SKIP_PATHS__-B3-kZeYN.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +239 -237
- package/dist/{colors-BsP3TRan.js → api-CTiZ6rza.js} +243 -244
- package/dist/{browser-viCaCwoW.js → browser-CziWLQ0z.js} +1 -1
- package/dist/{constants-PBNG9ikv.js → constants-rFRS1lF-.js} +1 -1
- package/dist/{copyToClipboard-B2F5d6Cj.js → copyToClipboard-C5D-wCS_.js} +1 -1
- package/dist/{defaultLabels-BigaGqKj.js → defaultLabels-CpurXn7c.js} +337 -361
- package/dist/{event-rtg4-kWS.js → event-d06xVg2P.js} +1 -1
- package/dist/{event-transform-J7U1JmeK.js → event-transform-BjPTqPq1.js} +31 -31
- package/dist/{eventStatusStream-CJVT_9Gu.js → eventStatusStream-BhQUTdOZ.js} +2 -2
- package/dist/{href-Dx7B6ZiQ.js → href-DMLDnIDe.js} +3 -3
- package/dist/{i18n-sO8wTASy.js → i18n--3wPB7-n.js} +2 -2
- package/dist/{i18n-C0aOwSpF.js → i18n-CASpRf85.js} +135 -135
- package/dist/imageOptimizer-D8g9XVns.js +141 -0
- package/dist/{labels-BBFJnXep.js → labels-IV_I9087.js} +14 -14
- package/dist/modalManager.svelte-Cz_6x1Qd.js +37 -0
- package/dist/{order-totals-DR-oXumr.js → order-totals-Buq9HeZa.js} +33 -33
- package/dist/{orders-CFF0Hb2x.js → orders-BK47iONR.js} +2 -2
- package/dist/{phoneUtils-C2GGZYvA.js → phoneUtils-YjT5IJ25.js} +1 -1
- package/dist/{pixels-M4FTi1Of.js → pixels-DjK-0XYz.js} +3 -3
- package/dist/{promo--p3GbP64.js → promo-DkM9sLly.js} +1 -1
- package/dist/{serverTotals-Dbi69SIr.js → serverTotals-CvJBYArq.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-Cb2Mdn0z.js → shareCopyFeedback.svelte-oxKGmiOe.js} +65 -65
- package/dist/{showcase-state-options-BZGCm4wo.js → showcase-state-options-x_9iSBsd.js} +1 -1
- package/dist/{to-event-card-props-dIhKdERf.js → to-event-card-props-9y7sVBi_.js} +49 -49
- package/dist/types/index.d.ts +39 -0
- package/dist/{utils-CbacksjX.js → utils-D80jLqKH.js} +3 -3
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1515 -1506
- package/dist/venue-calendar.iife.js +54 -54
- package/dist/venue-calendar.umd.js +54 -54
- package/package.json +2 -2
- package/dist/CartView-D57bwixz.js +0 -2245
- package/dist/Checkout-wUH2YI1N.js +0 -980
- package/dist/CropImage-CxLcNArr.js +0 -445
- package/dist/EventPage-B9shaVEP.js +0 -1146
- package/dist/ModalFooter-B_8f1Z5p.js +0 -301
- package/dist/imageOptimizer-BwLwBMI6.js +0 -112
- package/dist/modalManager.svelte-B9mhX1cG.js +0 -53
- package/dist/portal-DqxEuE-7.js +0 -166
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/de.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/es.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/id.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/it.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/de.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/es.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/fr.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/id.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/it.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/ja.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/ko.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/nl.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/pl.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/tr.js +0 -0
- /package/dist/locales/{4.3.7 → 4.3.9}/main/zh.js +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as o, t as s } from "./event-
|
|
4
|
-
import { A as c,
|
|
1
|
+
import { a as e, c as t, f as n, p as r, u as i } from "./constants-rFRS1lF-.js";
|
|
2
|
+
import { x as a } from "./defaultLabels-CpurXn7c.js";
|
|
3
|
+
import { n as o, t as s } from "./event-d06xVg2P.js";
|
|
4
|
+
import { A as c, C as l, E as u, O as d, j as f, k as p } from "./api-CTiZ6rza.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="${
|
|
11
|
-
<text x="100" y="210" text-anchor="middle" font-family="system-ui, sans-serif" font-size="14" fill="${
|
|
7
|
+
<rect width="200" height="300" fill="${l[200]}"/>
|
|
8
|
+
<rect x="60" y="90" width="80" height="80" rx="10" fill="${l[300]}"/>
|
|
9
|
+
<circle cx="85" cy="115" r="10" fill="${l[400]}"/>
|
|
10
|
+
<path d="M70 155 L100 125 L130 155 L130 155" stroke="${l[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
|
+
<text x="100" y="210" text-anchor="middle" font-family="system-ui, sans-serif" font-size="14" fill="${l[500]}">Event Image</text>
|
|
12
12
|
</svg>`);
|
|
13
13
|
function h(e) {
|
|
14
14
|
return o(e, { placeholder: m });
|
|
@@ -34,7 +34,7 @@ function y(e, t, n) {
|
|
|
34
34
|
function b(e, t) {
|
|
35
35
|
if (!e.startDateTime) return "";
|
|
36
36
|
try {
|
|
37
|
-
return e.endDateTime ?
|
|
37
|
+
return e.endDateTime ? n(e.startDateTime, e.endDateTime, t) : i(e.startDateTime, t);
|
|
38
38
|
} catch {
|
|
39
39
|
let n = {
|
|
40
40
|
hour: "numeric",
|
|
@@ -53,7 +53,7 @@ function x(e, t) {
|
|
|
53
53
|
dateOfMonth: ""
|
|
54
54
|
};
|
|
55
55
|
try {
|
|
56
|
-
let n =
|
|
56
|
+
let n = r(e, t);
|
|
57
57
|
return {
|
|
58
58
|
day: n.day,
|
|
59
59
|
month: n.month,
|
|
@@ -71,21 +71,21 @@ var S = {
|
|
|
71
71
|
BROWSE: "browse",
|
|
72
72
|
DETAIL: "detail"
|
|
73
73
|
};
|
|
74
|
-
function C(
|
|
75
|
-
let { mode:
|
|
76
|
-
if (!
|
|
77
|
-
let
|
|
78
|
-
id:
|
|
79
|
-
name:
|
|
74
|
+
function C(e, t = { mode: S.DETAIL }) {
|
|
75
|
+
let { mode: n = S.DETAIL } = t;
|
|
76
|
+
if (!e) return n === S.BROWSE ? D() : O();
|
|
77
|
+
let r = s(e), i = a(r.timeZone || r.timezone), o = h(e), c = {
|
|
78
|
+
id: r.id,
|
|
79
|
+
name: r.title || "",
|
|
80
80
|
image: o,
|
|
81
|
-
timeZone:
|
|
82
|
-
startDateTime:
|
|
83
|
-
salesStatus:
|
|
81
|
+
timeZone: i,
|
|
82
|
+
startDateTime: r.startDateTime || null,
|
|
83
|
+
salesStatus: r.salesStatus
|
|
84
84
|
};
|
|
85
|
-
return
|
|
85
|
+
return n === S.BROWSE ? w(e, r, c, i) : T(e, r, c, i, o);
|
|
86
86
|
}
|
|
87
|
-
function w(
|
|
88
|
-
let a = n.startDateTime ?
|
|
87
|
+
function w(t, n, r, i) {
|
|
88
|
+
let a = n.startDateTime ? e(n.startDateTime, i) : "", o;
|
|
89
89
|
if (typeof n.ticketsRemaining == "number" && typeof n.ticketsTotal == "number") {
|
|
90
90
|
let e = n.ticketsRemaining, t = n.ticketsTotal;
|
|
91
91
|
o = {
|
|
@@ -94,11 +94,11 @@ function w(e, n, r, i) {
|
|
|
94
94
|
isSoldOut: t > 0 && e <= 0
|
|
95
95
|
};
|
|
96
96
|
} else {
|
|
97
|
-
let
|
|
97
|
+
let e = c(t.availableTickets || [], {
|
|
98
98
|
excludeDoorOnly: !0,
|
|
99
99
|
publicOnly: !1
|
|
100
100
|
});
|
|
101
|
-
o =
|
|
101
|
+
o = d(e);
|
|
102
102
|
}
|
|
103
103
|
return {
|
|
104
104
|
...r,
|
|
@@ -111,7 +111,7 @@ function w(e, n, r, i) {
|
|
|
111
111
|
ticketsRemaining: o.totalRemaining,
|
|
112
112
|
ticketsTotal: o.totalCapacity,
|
|
113
113
|
isSoldOut: o.isSoldOut,
|
|
114
|
-
hasPurchasableHiddenTickets:
|
|
114
|
+
hasPurchasableHiddenTickets: u(t),
|
|
115
115
|
stageId: n.stageId ?? null,
|
|
116
116
|
eventCategoryTypes: n.eventCategoryTypes ?? null,
|
|
117
117
|
ageRestriction: n.ageRestriction ?? null,
|
|
@@ -122,7 +122,7 @@ function w(e, n, r, i) {
|
|
|
122
122
|
function T(e, t, n, r, i) {
|
|
123
123
|
let a = (e.availableTickets || []).map((e) => ({
|
|
124
124
|
...e,
|
|
125
|
-
status:
|
|
125
|
+
status: p(e)
|
|
126
126
|
})), o = c(a, {
|
|
127
127
|
excludeDoorOnly: !1,
|
|
128
128
|
publicOnly: !0
|
|
@@ -140,13 +140,13 @@ function T(e, t, n, r, i) {
|
|
|
140
140
|
location: t.venue?.googleLocationNameCache || t.venue?.address || "",
|
|
141
141
|
...s,
|
|
142
142
|
coverImage: i,
|
|
143
|
-
price:
|
|
143
|
+
price: f(e.availableTickets),
|
|
144
144
|
status: t.status || "On Sale",
|
|
145
145
|
eventSummary: t.eventSummary,
|
|
146
146
|
password: t.password,
|
|
147
147
|
availableTickets: a,
|
|
148
148
|
publicTickets: o,
|
|
149
|
-
hasPurchasableHiddenTickets:
|
|
149
|
+
hasPurchasableHiddenTickets: u(e),
|
|
150
150
|
doorsOpenTime: t.doorsOpenTime,
|
|
151
151
|
venue: t.venue,
|
|
152
152
|
venueID: t.venueId,
|
|
@@ -167,8 +167,8 @@ function T(e, t, n, r, i) {
|
|
|
167
167
|
displayAgeRestriction: t.displayAgeRestriction ?? !1
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
function E(e,
|
|
171
|
-
return e &&
|
|
170
|
+
function E(e, n) {
|
|
171
|
+
return e && t(e, n, {
|
|
172
172
|
weekday: "short",
|
|
173
173
|
month: "short",
|
|
174
174
|
day: "numeric",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as e } from "./Button-
|
|
2
|
-
import { H as t, I as n } from "./orders-
|
|
1
|
+
import { x as e } from "./Button-CxQO7vwF.js";
|
|
2
|
+
import { H as t, I as n } from "./orders-BK47iONR.js";
|
|
3
3
|
//#region src/lib/public-calendar-flow/eventStatusStream.ts
|
|
4
4
|
var r = e("VC"), i = /* @__PURE__ */ new Set([
|
|
5
5
|
"canceled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as e } from "./Button-
|
|
2
|
-
import { J as t } from "./constants-
|
|
3
|
-
import { t as n } from "./Image-
|
|
1
|
+
import { _ as e } from "./Button-CxQO7vwF.js";
|
|
2
|
+
import { J as t } from "./constants-rFRS1lF-.js";
|
|
3
|
+
import { t as n } from "./Image-BWo4QBld.js";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as r from "svelte/internal/client";
|
|
6
6
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/CheckCircleIcon.svelte
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./defaultLabels-
|
|
2
|
-
import { l as t } from "./orders-
|
|
1
|
+
import { t as e } from "./defaultLabels-CpurXn7c.js";
|
|
2
|
+
import { l as t } from "./orders-BK47iONR.js";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/lib/i18n/index.js
|
|
5
5
|
var n = t({
|