@getmicdrop/venue-calendar 4.2.16 → 4.2.19
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/README.md +809 -809
- package/dist/{CartView-DP5TuBgM.js → CartView-cHL2n0fE.js} +5 -5
- package/dist/{Checkout-Dch9xOAn.js → Checkout-Blc7IuZ2.js} +4 -4
- package/dist/{Checkout-C7S--vSV.js → Checkout-DNVyBcrm.js} +4 -4
- package/dist/{CheckoutTimer-C9tJJZC8.js → CheckoutTimer-D5i2F8al.js} +1 -1
- package/dist/{CollectionView-D9utYlT8.js → CollectionView-DzoCBduF.js} +2 -2
- package/dist/{Event-CYWGeRe-.js → Event-D5u7y0w3.js} +223 -217
- package/dist/EventPage-Ddslq4xC.js +931 -0
- package/dist/{SeriesPage-mjiTHFQ6.js → SeriesPage-BPm7CNzY.js} +1 -1
- package/dist/{Success-DgUD_STB.js → Success-CXI2Xtdz.js} +4 -4
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +2 -1
- package/dist/api/types.d.ts +545 -545
- package/dist/api/waitlist.d.ts +6 -0
- package/dist/{colors-Dk53YuNz.js → colors-5g6cmoXX.js} +2 -1
- package/dist/{event-transform-DUqXNcXz.js → event-transform-0VCBk_zn.js} +1 -1
- package/dist/{i18n-nPKgIP_8.js → i18n-D7pvVga7.js} +2 -2
- package/dist/{labels-YAwDbsF8.js → labels-7f_yKBtq.js} +1 -1
- package/dist/seo/types.d.ts +156 -156
- package/dist/types/index.d.ts +509 -509
- package/dist/{utils-CcxQIxOO.js → utils-DLfxcnPk.js} +1 -1
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +14 -14
- package/dist/venue-calendar.iife.js +34 -34
- package/dist/venue-calendar.umd.js +31 -31
- package/package.json +1 -1
- package/src/lib/theme.js +222 -222
- package/dist/EventPage-it5cJwjg.js +0 -880
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/de.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/es.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/id.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/it.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/de.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/es.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/fr.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/id.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/it.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/ja.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/ko.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/nl.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/pl.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/tr.js +0 -0
- /package/dist/locales/{4.2.16 → 4.2.19}/main/zh.js +0 -0
package/dist/api/waitlist.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ export declare function joinWaitlist(eventId: string | number, email: string, ph
|
|
|
15
15
|
export interface ValidateWaitlistTokenResult {
|
|
16
16
|
valid: boolean;
|
|
17
17
|
eventId: number;
|
|
18
|
+
/**
|
|
19
|
+
* When `valid`, the ISO instant the token stops unlocking the buy flow —
|
|
20
|
+
* the member's exclusive window before the seat is offered to the next
|
|
21
|
+
* person in line. The event page counts down to it and re-locks at zero.
|
|
22
|
+
*/
|
|
23
|
+
expiresAt?: string;
|
|
18
24
|
/**
|
|
19
25
|
* Present only when `valid` is false. One of the server's failure enums:
|
|
20
26
|
* invalid_token | token_expired | token_used | email_mismatch |
|
|
@@ -416,7 +416,8 @@ async function Ce(e, t) {
|
|
|
416
416
|
let n = await _(`/checkout/validate-token/${e}`, { email: t });
|
|
417
417
|
return n.success ? {
|
|
418
418
|
valid: !0,
|
|
419
|
-
eventId: n.data?.eventId ?? 0
|
|
419
|
+
eventId: n.data?.eventId ?? 0,
|
|
420
|
+
expiresAt: n.data?.expiresAt
|
|
420
421
|
} : {
|
|
421
422
|
valid: !1,
|
|
422
423
|
eventId: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as e } from "./timezones-C5l0SSHK.js";
|
|
2
2
|
import { a as t, c as n, f as r, p as i, u as a } from "./constants-BWfNecCz.js";
|
|
3
3
|
import { n as o, t as s } from "./event-BrptLro8.js";
|
|
4
|
-
import { A as c, D as l, O as u, T as d, k as f, r as p } from "./colors-
|
|
4
|
+
import { A as c, D as l, O as u, T as d, k as f, r as p } from "./colors-5g6cmoXX.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
7
|
<rect width="200" height="300" fill="${p[200]}"/>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { E as e, R as t, m as n, y as r } from "./timezones-C5l0SSHK.js";
|
|
2
2
|
import { C as i, K as a, O as o, g as s, h as c, n as l, r as u, v as d } from "./constants-BWfNecCz.js";
|
|
3
3
|
import { t as f } from "./Text-CqjLjIF8.js";
|
|
4
|
-
import { E as p } from "./colors-
|
|
4
|
+
import { E as p } from "./colors-5g6cmoXX.js";
|
|
5
5
|
import { t as m } from "./createI18n-DBUVdZra.js";
|
|
6
|
-
import { t as h } from "./labels-
|
|
6
|
+
import { t as h } from "./labels-7f_yKBtq.js";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as g from "svelte/internal/client";
|
|
9
9
|
//#region src/lib/api/cta.ts
|
package/dist/seo/types.d.ts
CHANGED
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Input/output TypeScript interfaces for all JSON-LD builders.
|
|
3
|
-
*
|
|
4
|
-
* These describe the data shape each builder expects, NOT the raw API response
|
|
5
|
-
* shape (those exist in `api/types.ts`). The mapping from API types to these
|
|
6
|
-
* builder input types happens at the call site.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// ---------------------------------------------------------------------------
|
|
10
|
-
// Event builder inputs
|
|
11
|
-
// ---------------------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
/** What buildEventJsonLd expects for an event. */
|
|
14
|
-
export interface EventJsonLdInput {
|
|
15
|
-
name: string;
|
|
16
|
-
startDateTime: string;
|
|
17
|
-
endDateTime?: string;
|
|
18
|
-
status?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
eventSummary?: string;
|
|
21
|
-
image?: string;
|
|
22
|
-
coverImage?: string;
|
|
23
|
-
ShowImage?: string;
|
|
24
|
-
availableTickets?: EventTicketInput[];
|
|
25
|
-
performers?: EventPerformerInput[];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface EventTicketInput {
|
|
29
|
-
visibility?: number;
|
|
30
|
-
salesChannel?: number;
|
|
31
|
-
price?: number | string;
|
|
32
|
-
/**
|
|
33
|
-
* Per-ticket service fee (dollars). The JSON-LD offer must advertise the same
|
|
34
|
-
* all-in total the ticket row renders (ticketAllInPrice, MIC-1772), so the
|
|
35
|
-
* offer builder adds this to `price` rather than publishing the bare wire
|
|
36
|
-
* price. Absent means a legitimate 0 fee, not a missing value.
|
|
37
|
-
*/
|
|
38
|
-
fee?: number | string;
|
|
39
|
-
remainingCapacity?: number;
|
|
40
|
-
quantityRemaining?: number;
|
|
41
|
-
quantity?: number;
|
|
42
|
-
soldOut?: boolean;
|
|
43
|
-
salesBegin?: string;
|
|
44
|
-
salesStart?: string;
|
|
45
|
-
saleBegin?: string;
|
|
46
|
-
onSaleStart?: string;
|
|
47
|
-
salesEnd?: string;
|
|
48
|
-
saleEnd?: string;
|
|
49
|
-
onSaleEnd?: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface EventPerformerInput {
|
|
53
|
-
acceptedState?: number;
|
|
54
|
-
shouldBeHidden?: boolean;
|
|
55
|
-
RosterPerformer?: {
|
|
56
|
-
User?: {
|
|
57
|
-
performerProfile?: {
|
|
58
|
-
firstName?: string;
|
|
59
|
-
lastName?: string;
|
|
60
|
-
displayName?: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface VenueInput {
|
|
67
|
-
name: string;
|
|
68
|
-
// Discrete postal-address fields from the public resolve payload
|
|
69
|
-
// (PublicVenueInfo). `address` is the street line. Preferred over
|
|
70
|
-
// googleLocationNameCache when a locality signal is present.
|
|
71
|
-
address?: string;
|
|
72
|
-
city?: string;
|
|
73
|
-
state?: string;
|
|
74
|
-
postalCode?: string;
|
|
75
|
-
country?: string;
|
|
76
|
-
googleLocationNameCache?: string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface OrganizerInput {
|
|
80
|
-
name: string;
|
|
81
|
-
url?: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// ---------------------------------------------------------------------------
|
|
85
|
-
// Series builder inputs (Plan 02)
|
|
86
|
-
// ---------------------------------------------------------------------------
|
|
87
|
-
|
|
88
|
-
/** What buildSeriesJsonLd expects. */
|
|
89
|
-
export interface SeriesJsonLdInput {
|
|
90
|
-
title: string;
|
|
91
|
-
description?: string;
|
|
92
|
-
eventSummary?: string;
|
|
93
|
-
image?: string;
|
|
94
|
-
timeZone: string;
|
|
95
|
-
venue: {
|
|
96
|
-
name: string;
|
|
97
|
-
// Discrete postal-address fields from SeriesVenueDTO (see VenueInput).
|
|
98
|
-
address?: string;
|
|
99
|
-
city?: string;
|
|
100
|
-
state?: string;
|
|
101
|
-
postalCode?: string;
|
|
102
|
-
country?: string;
|
|
103
|
-
googleLocationNameCache?: string;
|
|
104
|
-
};
|
|
105
|
-
performers?: Array<{ displayName: string }>;
|
|
106
|
-
occurrences: Array<{
|
|
107
|
-
id: number;
|
|
108
|
-
title: string;
|
|
109
|
-
slug: string;
|
|
110
|
-
startDateTime: string;
|
|
111
|
-
endDateTime?: string;
|
|
112
|
-
status?: string;
|
|
113
|
-
tickets?: Array<{ name: string; price: number; status: string }>;
|
|
114
|
-
}>;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// ---------------------------------------------------------------------------
|
|
118
|
-
// Collection builder inputs (Plan 02)
|
|
119
|
-
// ---------------------------------------------------------------------------
|
|
120
|
-
|
|
121
|
-
// ---------------------------------------------------------------------------
|
|
122
|
-
// HostSeoController options (Phase 6)
|
|
123
|
-
// ---------------------------------------------------------------------------
|
|
124
|
-
|
|
125
|
-
/** Options for HostSeoController constructor */
|
|
126
|
-
export interface HostSeoControllerOptions {
|
|
127
|
-
/** Venue name for JSON-LD location and page title */
|
|
128
|
-
venueName: string;
|
|
129
|
-
/** Venue address string (from googleLocationNameCache or address field) */
|
|
130
|
-
venueAddress?: string;
|
|
131
|
-
/** Venue timezone (IANA), defaults to getDefaultTimezone() */
|
|
132
|
-
venueTimeZone?: string;
|
|
133
|
-
/** Base URL for canonical links, e.g., "https://comedy-club.com/shows" (defaults to current page URL without query params) */
|
|
134
|
-
baseUrl?: string;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/** What buildCollectionJsonLd expects. */
|
|
138
|
-
export interface CollectionJsonLdInput {
|
|
139
|
-
collectionTitle: string;
|
|
140
|
-
description?: string;
|
|
141
|
-
summary?: string;
|
|
142
|
-
coverImage?: string;
|
|
143
|
-
dateRange?: { startDate: string; endDate: string } | null;
|
|
144
|
-
events: Array<{
|
|
145
|
-
id: number;
|
|
146
|
-
title: string;
|
|
147
|
-
slug?: string;
|
|
148
|
-
startDateTime?: string;
|
|
149
|
-
endDateTime?: string;
|
|
150
|
-
image?: string;
|
|
151
|
-
status?: string;
|
|
152
|
-
venueName?: string;
|
|
153
|
-
venueAddress?: string;
|
|
154
|
-
venueId?: number;
|
|
155
|
-
}>;
|
|
156
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Input/output TypeScript interfaces for all JSON-LD builders.
|
|
3
|
+
*
|
|
4
|
+
* These describe the data shape each builder expects, NOT the raw API response
|
|
5
|
+
* shape (those exist in `api/types.ts`). The mapping from API types to these
|
|
6
|
+
* builder input types happens at the call site.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// ---------------------------------------------------------------------------
|
|
10
|
+
// Event builder inputs
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
/** What buildEventJsonLd expects for an event. */
|
|
14
|
+
export interface EventJsonLdInput {
|
|
15
|
+
name: string;
|
|
16
|
+
startDateTime: string;
|
|
17
|
+
endDateTime?: string;
|
|
18
|
+
status?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
eventSummary?: string;
|
|
21
|
+
image?: string;
|
|
22
|
+
coverImage?: string;
|
|
23
|
+
ShowImage?: string;
|
|
24
|
+
availableTickets?: EventTicketInput[];
|
|
25
|
+
performers?: EventPerformerInput[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface EventTicketInput {
|
|
29
|
+
visibility?: number;
|
|
30
|
+
salesChannel?: number;
|
|
31
|
+
price?: number | string;
|
|
32
|
+
/**
|
|
33
|
+
* Per-ticket service fee (dollars). The JSON-LD offer must advertise the same
|
|
34
|
+
* all-in total the ticket row renders (ticketAllInPrice, MIC-1772), so the
|
|
35
|
+
* offer builder adds this to `price` rather than publishing the bare wire
|
|
36
|
+
* price. Absent means a legitimate 0 fee, not a missing value.
|
|
37
|
+
*/
|
|
38
|
+
fee?: number | string;
|
|
39
|
+
remainingCapacity?: number;
|
|
40
|
+
quantityRemaining?: number;
|
|
41
|
+
quantity?: number;
|
|
42
|
+
soldOut?: boolean;
|
|
43
|
+
salesBegin?: string;
|
|
44
|
+
salesStart?: string;
|
|
45
|
+
saleBegin?: string;
|
|
46
|
+
onSaleStart?: string;
|
|
47
|
+
salesEnd?: string;
|
|
48
|
+
saleEnd?: string;
|
|
49
|
+
onSaleEnd?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface EventPerformerInput {
|
|
53
|
+
acceptedState?: number;
|
|
54
|
+
shouldBeHidden?: boolean;
|
|
55
|
+
RosterPerformer?: {
|
|
56
|
+
User?: {
|
|
57
|
+
performerProfile?: {
|
|
58
|
+
firstName?: string;
|
|
59
|
+
lastName?: string;
|
|
60
|
+
displayName?: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface VenueInput {
|
|
67
|
+
name: string;
|
|
68
|
+
// Discrete postal-address fields from the public resolve payload
|
|
69
|
+
// (PublicVenueInfo). `address` is the street line. Preferred over
|
|
70
|
+
// googleLocationNameCache when a locality signal is present.
|
|
71
|
+
address?: string;
|
|
72
|
+
city?: string;
|
|
73
|
+
state?: string;
|
|
74
|
+
postalCode?: string;
|
|
75
|
+
country?: string;
|
|
76
|
+
googleLocationNameCache?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface OrganizerInput {
|
|
80
|
+
name: string;
|
|
81
|
+
url?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// ---------------------------------------------------------------------------
|
|
85
|
+
// Series builder inputs (Plan 02)
|
|
86
|
+
// ---------------------------------------------------------------------------
|
|
87
|
+
|
|
88
|
+
/** What buildSeriesJsonLd expects. */
|
|
89
|
+
export interface SeriesJsonLdInput {
|
|
90
|
+
title: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
eventSummary?: string;
|
|
93
|
+
image?: string;
|
|
94
|
+
timeZone: string;
|
|
95
|
+
venue: {
|
|
96
|
+
name: string;
|
|
97
|
+
// Discrete postal-address fields from SeriesVenueDTO (see VenueInput).
|
|
98
|
+
address?: string;
|
|
99
|
+
city?: string;
|
|
100
|
+
state?: string;
|
|
101
|
+
postalCode?: string;
|
|
102
|
+
country?: string;
|
|
103
|
+
googleLocationNameCache?: string;
|
|
104
|
+
};
|
|
105
|
+
performers?: Array<{ displayName: string }>;
|
|
106
|
+
occurrences: Array<{
|
|
107
|
+
id: number;
|
|
108
|
+
title: string;
|
|
109
|
+
slug: string;
|
|
110
|
+
startDateTime: string;
|
|
111
|
+
endDateTime?: string;
|
|
112
|
+
status?: string;
|
|
113
|
+
tickets?: Array<{ name: string; price: number; status: string }>;
|
|
114
|
+
}>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ---------------------------------------------------------------------------
|
|
118
|
+
// Collection builder inputs (Plan 02)
|
|
119
|
+
// ---------------------------------------------------------------------------
|
|
120
|
+
|
|
121
|
+
// ---------------------------------------------------------------------------
|
|
122
|
+
// HostSeoController options (Phase 6)
|
|
123
|
+
// ---------------------------------------------------------------------------
|
|
124
|
+
|
|
125
|
+
/** Options for HostSeoController constructor */
|
|
126
|
+
export interface HostSeoControllerOptions {
|
|
127
|
+
/** Venue name for JSON-LD location and page title */
|
|
128
|
+
venueName: string;
|
|
129
|
+
/** Venue address string (from googleLocationNameCache or address field) */
|
|
130
|
+
venueAddress?: string;
|
|
131
|
+
/** Venue timezone (IANA), defaults to getDefaultTimezone() */
|
|
132
|
+
venueTimeZone?: string;
|
|
133
|
+
/** Base URL for canonical links, e.g., "https://comedy-club.com/shows" (defaults to current page URL without query params) */
|
|
134
|
+
baseUrl?: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** What buildCollectionJsonLd expects. */
|
|
138
|
+
export interface CollectionJsonLdInput {
|
|
139
|
+
collectionTitle: string;
|
|
140
|
+
description?: string;
|
|
141
|
+
summary?: string;
|
|
142
|
+
coverImage?: string;
|
|
143
|
+
dateRange?: { startDate: string; endDate: string } | null;
|
|
144
|
+
events: Array<{
|
|
145
|
+
id: number;
|
|
146
|
+
title: string;
|
|
147
|
+
slug?: string;
|
|
148
|
+
startDateTime?: string;
|
|
149
|
+
endDateTime?: string;
|
|
150
|
+
image?: string;
|
|
151
|
+
status?: string;
|
|
152
|
+
venueName?: string;
|
|
153
|
+
venueAddress?: string;
|
|
154
|
+
venueId?: number;
|
|
155
|
+
}>;
|
|
156
|
+
}
|