@getmicdrop/venue-calendar 4.3.48 → 4.3.49
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/{CollectionView-CX0yBblS.js → CollectionView-CGBHaoZ4.js} +2 -2
- package/dist/{Event-CfiMQha6.js → Event-D1NTFNzv.js} +1 -1
- package/dist/{EventPage-Di0OwjvJ.js → EventPage-DmMzUsSw.js} +2 -2
- package/dist/{RecommendationsRail-VEK_pMvu.js → RecommendationsRail-DFL2WV70.js} +17 -17
- package/dist/{SeriesPage-Cvqg0DwI.js → SeriesPage-CMrrm_XY.js} +2 -2
- package/dist/{Success-D1Y2shCA.js → Success-hWdOedro.js} +1 -1
- package/dist/api/types.d.ts +16 -1
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +8 -8
- package/dist/venue-calendar.iife.js +4 -4
- package/dist/venue-calendar.umd.js +2 -2
- package/package.json +1 -1
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/de.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/es.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/id.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/it.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/de.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/es.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/fr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/id.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/it.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/ja.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/ko.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/nl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/pl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/tr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.49}/main/zh.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t } from "./Event-
|
|
3
|
-
import { i as n } from "./RecommendationsRail-
|
|
2
|
+
import { t } from "./Event-D1NTFNzv.js";
|
|
3
|
+
import { i as n } from "./RecommendationsRail-DFL2WV70.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-B3aj_cj2.js";
|
|
5
5
|
import { i, t as a } from "./defaultLabels-BSBaNwtj.js";
|
|
6
6
|
import { t as o } from "./PasswordInput-CDkeouk0.js";
|
|
@@ -6,7 +6,7 @@ import { K as f, a as p, c as m, g as h, i as g, m as _, o as v, r as y, u as b,
|
|
|
6
6
|
import { t as w } from "./CalendarIcon-DOoS4b_i.js";
|
|
7
7
|
import { a as T, i as E, o as D, r as O, t as k } from "./href-B5fLLW1E.js";
|
|
8
8
|
import { t as A } from "./ClockIcon-D9JBjN9o.js";
|
|
9
|
-
import { n as j, o as M, t as N } from "./RecommendationsRail-
|
|
9
|
+
import { n as j, o as M, t as N } from "./RecommendationsRail-DFL2WV70.js";
|
|
10
10
|
import { n as P } from "./copyToClipboard-DOMJZVtr.js";
|
|
11
11
|
import { r as F, t as I } from "./ScarcityBadge-B3aj_cj2.js";
|
|
12
12
|
import { d as L, n as R, t as z } from "./z-index-Bo0dqmiq.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as e, E as t, O as n, b as r, c as i, t as a } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t as o } from "./Event-
|
|
2
|
+
import { t as o } from "./Event-D1NTFNzv.js";
|
|
3
3
|
import { n as s, t as c } from "./Input-BXowmV9D.js";
|
|
4
4
|
import { a as l, g as u, h as d, m as f, t as p } from "./createErrorGate.svelte-ynzMl2GO.js";
|
|
5
5
|
import { o as m } from "./href-B5fLLW1E.js";
|
|
6
6
|
import { t as h } from "./ClockIcon-D9JBjN9o.js";
|
|
7
|
-
import { r as g } from "./RecommendationsRail-
|
|
7
|
+
import { r as g } from "./RecommendationsRail-DFL2WV70.js";
|
|
8
8
|
import { n as _ } from "./ScarcityBadge-B3aj_cj2.js";
|
|
9
9
|
import { I as v, P as y, i as b, t as x } from "./defaultLabels-BSBaNwtj.js";
|
|
10
10
|
import { b as S, d as C, g as w, p as T } from "./orders-B7_DrFsF.js";
|
|
@@ -87,7 +87,7 @@ function j(e) {
|
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/lib/api/transformers/series.ts
|
|
89
89
|
function M(e) {
|
|
90
|
-
let t = e, r = a(e.timeZone ||
|
|
90
|
+
let t = e.seriesId ?? e.id ?? 0, r = e, i = a(e.timeZone || r.timezone || r.time_zone), o = g(e.image || "", { cdn: !0 }), s = (e.occurrences || []).map((e) => {
|
|
91
91
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
92
92
|
t.address,
|
|
93
93
|
t.city,
|
|
@@ -104,45 +104,45 @@ function M(e) {
|
|
|
104
104
|
...n ? { venueName: n } : {},
|
|
105
105
|
...r ? { venueAddress: r } : {}
|
|
106
106
|
};
|
|
107
|
-
}),
|
|
107
|
+
}), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime, i) : "", u = j(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
|
|
108
108
|
id: t + 1,
|
|
109
109
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
110
110
|
profileImage: e.profileImage || void 0
|
|
111
|
-
})),
|
|
111
|
+
})), f = e.venue?.location || e.venue?.googleLocationNameCache || "";
|
|
112
112
|
return {
|
|
113
|
-
id:
|
|
113
|
+
id: t,
|
|
114
114
|
title: e.title || "",
|
|
115
115
|
slug: "",
|
|
116
116
|
description: e.description || e.eventSummary || "",
|
|
117
|
-
date:
|
|
118
|
-
startDateTime:
|
|
119
|
-
endDateTime:
|
|
117
|
+
date: l,
|
|
118
|
+
startDateTime: c?.startDateTime || "",
|
|
119
|
+
endDateTime: c?.endDateTime || "",
|
|
120
120
|
doorsOpenTime: "",
|
|
121
|
-
timezone:
|
|
122
|
-
imageUrl:
|
|
121
|
+
timezone: i,
|
|
122
|
+
imageUrl: o,
|
|
123
123
|
venue: {
|
|
124
124
|
id: e.venue?.id || 0,
|
|
125
125
|
name: e.venue?.name || "",
|
|
126
|
-
address:
|
|
127
|
-
timezone:
|
|
126
|
+
address: f,
|
|
127
|
+
timezone: i,
|
|
128
128
|
serviceFeePercentage: 0,
|
|
129
129
|
serviceFeeCents: 0,
|
|
130
130
|
taxPercentage: 0
|
|
131
131
|
},
|
|
132
|
-
performers:
|
|
132
|
+
performers: d,
|
|
133
133
|
tickets: [],
|
|
134
|
-
faqs:
|
|
134
|
+
faqs: u,
|
|
135
135
|
disclaimer: e.venue?.disclaimer || void 0,
|
|
136
136
|
...y(e.venue),
|
|
137
137
|
status: "on_sale",
|
|
138
|
-
eventSeriesId:
|
|
139
|
-
seriesOccurrences:
|
|
138
|
+
eventSeriesId: t,
|
|
139
|
+
seriesOccurrences: s,
|
|
140
140
|
isPasswordProtected: !1,
|
|
141
141
|
isRegistrationEvent: !1,
|
|
142
142
|
totalTicketsRemaining: 0,
|
|
143
143
|
totalTicketsCapacity: 0,
|
|
144
|
-
venueAddressLines: T(
|
|
145
|
-
googleMapsUrl: E(
|
|
144
|
+
venueAddressLines: T(f),
|
|
145
|
+
googleMapsUrl: E(f)
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t } from "./Event-
|
|
3
|
-
import { a as n } from "./RecommendationsRail-
|
|
2
|
+
import { t } from "./Event-D1NTFNzv.js";
|
|
3
|
+
import { a as n } from "./RecommendationsRail-DFL2WV70.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-B3aj_cj2.js";
|
|
5
5
|
import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
6
6
|
import "svelte/internal/disclose-version";
|
|
@@ -4,7 +4,7 @@ import { t as a } from "./ArrowLeftIcon-C2kBPBFF.js";
|
|
|
4
4
|
import { t as o } from "./CalendarIcon-DOoS4b_i.js";
|
|
5
5
|
import { t as s } from "./ChevronDownIcon-lXHBGCo7.js";
|
|
6
6
|
import { n as c, t as l } from "./MailIcon-89dLUSGH.js";
|
|
7
|
-
import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-
|
|
7
|
+
import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-DFL2WV70.js";
|
|
8
8
|
import { n as m } from "./copyToClipboard-DOMJZVtr.js";
|
|
9
9
|
import { M as h, N as g, U as _, V as v, i as y, z as b } from "./defaultLabels-BSBaNwtj.js";
|
|
10
10
|
import { H as x, Q as S, X as C, _ as w, et as T, s as E } from "./orders-B7_DrFsF.js";
|
package/dist/api/types.d.ts
CHANGED
|
@@ -328,7 +328,22 @@ export interface SeriesOccurrencesResponse {
|
|
|
328
328
|
occurrences: SeriesOccurrence[];
|
|
329
329
|
}
|
|
330
330
|
export interface SeriesPageData {
|
|
331
|
-
|
|
331
|
+
/**
|
|
332
|
+
* The series id, as `seriesId` (MIC-3838).
|
|
333
|
+
*
|
|
334
|
+
* THIS FIELD USED TO BE DECLARED `id`, AND THE WIRE HAS NEVER SENT `id`.
|
|
335
|
+
* Both doors that answer this shape — `GET /api/v2/public/series/:id/page`
|
|
336
|
+
* and `GET /api/v2/public/resolve/:slugId` when the id names a series — build
|
|
337
|
+
* SeriesPageResponseDTO, whose first field carries the json tag `seriesId`.
|
|
338
|
+
* The payload is cast rather than parsed, so TypeScript never caught the
|
|
339
|
+
* mismatch and `parseSeries` read `undefined` forever.
|
|
340
|
+
*/
|
|
341
|
+
seriesId: number;
|
|
342
|
+
/**
|
|
343
|
+
* @deprecated Never present on the wire. Read only so a hand-built fixture or
|
|
344
|
+
* an older mock that spells it `id` still resolves; see `parseSeries`.
|
|
345
|
+
*/
|
|
346
|
+
id?: number;
|
|
332
347
|
title: string;
|
|
333
348
|
description: string;
|
|
334
349
|
eventSummary?: string;
|