@getmicdrop/venue-calendar 4.2.19 → 4.2.21

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.
Files changed (78) hide show
  1. package/README.md +809 -809
  2. package/dist/{ArrowLeftIcon-CNxF9YFb.js → ArrowLeftIcon-BqN28ha3.js} +1 -1
  3. package/dist/{BlockPlaceholder-CnvIm7eh.js → BlockPlaceholder-BbAt-Tg-.js} +1 -1
  4. package/dist/{Calendar-D7s5gLk_.js → Calendar-U5hnCpbC.js} +4 -4
  5. package/dist/{CalendarFoundryView-BrsToTIb.js → CalendarFoundryView-Dp9aWtMW.js} +21 -21
  6. package/dist/{CalendarIcon-BBTaRYp7.js → CalendarIcon-rW7mGNf-.js} +1 -1
  7. package/dist/{CartView-cHL2n0fE.js → CartView-C_Jserc3.js} +17 -17
  8. package/dist/{Checkout-Blc7IuZ2.js → Checkout--3sirpfA.js} +19 -19
  9. package/dist/{Checkout-DNVyBcrm.js → Checkout-6iLNyJL4.js} +12 -12
  10. package/dist/{CheckoutTimer-D5i2F8al.js → CheckoutTimer-DeggCjT7.js} +2 -2
  11. package/dist/{ChevronDownIcon-Ba1RZBsy.js → ChevronDownIcon-CRBoka3q.js} +1 -1
  12. package/dist/{ClockIcon-DNJWLc1C.js → ClockIcon-C2SSi7r9.js} +1 -1
  13. package/dist/{CloseIcon-BpvJsO5u.js → CloseIcon-DbyLo0wv.js} +1 -1
  14. package/dist/{CollectionView-DzoCBduF.js → CollectionView-DsY-3zrB.js} +6 -6
  15. package/dist/{Event-D5u7y0w3.js → Event-Cg55HVe2.js} +15 -15
  16. package/dist/{EventPage-Ddslq4xC.js → EventPage-B0D2Nt8W.js} +253 -221
  17. package/dist/{Input-BvutquC_.js → Input-CsEAqNoQ.js} +1 -1
  18. package/dist/{MailIcon-r5G2Lccc.js → MailIcon-AAaLCJoB.js} +1 -1
  19. package/dist/{Modal-kJYg2hMo.js → Modal-CkmAyUI8.js} +2 -2
  20. package/dist/{ModalFooter-DMxM0E8Y.js → ModalFooter-qMsABjsX.js} +1 -1
  21. package/dist/{PasswordInput-D5_BuRnw.js → PasswordInput-D8t781xL.js} +1 -1
  22. package/dist/{ScarcityBadge-R32tzjFi.js → ScarcityBadge-D8jxkAwg.js} +2 -2
  23. package/dist/{SeriesPage-BPm7CNzY.js → SeriesPage-DJd4xn3s.js} +3 -3
  24. package/dist/{Success-CXI2Xtdz.js → Success-B6-9onbn.js} +11 -11
  25. package/dist/{TagIcon-_OxEQnM3.js → TagIcon-W-WW2VlE.js} +1 -1
  26. package/dist/{WarningCircleIcon-D1Kt1Sw1.js → WarningCircleIcon-MDOyrbVe.js} +1 -1
  27. package/dist/{WarningTriIcon-DjcnvD51.js → WarningTriIcon-xGAKz2tQ.js} +1 -1
  28. package/dist/api/api.cjs +1 -1
  29. package/dist/api/api.mjs +40 -26
  30. package/dist/api/index.d.ts +2 -2
  31. package/dist/api/types.d.ts +545 -545
  32. package/dist/api/waitlist.d.ts +13 -0
  33. package/dist/{colors-5g6cmoXX.js → colors-Cda5acAs.js} +48 -34
  34. package/dist/{constants-BWfNecCz.js → constants-CJl8xBgZ.js} +8 -0
  35. package/dist/{copyToClipboard-BTVrJgtZ.js → copyToClipboard-CR4oQ-Cl.js} +1 -1
  36. package/dist/{event-transform-0VCBk_zn.js → event-transform-CiNAjNiG.js} +9 -9
  37. package/dist/{href-D7yXIGzE.js → href-DVMxZ5ld.js} +1 -1
  38. package/dist/{i18n-D7pvVga7.js → i18n-BjGCvdyp.js} +3 -3
  39. package/dist/{labels-7f_yKBtq.js → labels-B3HOg72i.js} +1 -1
  40. package/dist/{modalManager.svelte-DDWCrGed.js → modalManager.svelte-DWKDviaT.js} +1 -1
  41. package/dist/{order-totals-DptlFbmv.js → order-totals-Bb6CAQ2m.js} +1 -1
  42. package/dist/{phoneUtils-PJqYw0dJ.js → phoneUtils-BzmQamKZ.js} +1 -1
  43. package/dist/seo/types.d.ts +156 -156
  44. package/dist/{serverTotals-COgFExPF.js → serverTotals-BgBXBXhP.js} +1 -1
  45. package/dist/{shareCopyFeedback.svelte-DZMLGA3y.js → shareCopyFeedback.svelte-Ds8OOtQ2.js} +2 -2
  46. package/dist/{to-event-card-props-BaPEUAZW.js → to-event-card-props-Bxj-yK9y.js} +1 -1
  47. package/dist/types/index.d.ts +509 -509
  48. package/dist/{utils-DLfxcnPk.js → utils-DMilKJFC.js} +1 -1
  49. package/dist/venue-calendar.css +1 -1
  50. package/dist/venue-calendar.es.js +27 -27
  51. package/dist/venue-calendar.iife.js +22 -22
  52. package/dist/venue-calendar.umd.js +55 -55
  53. package/package.json +2 -2
  54. package/src/lib/theme.js +222 -222
  55. /package/dist/locales/{4.2.19 → 4.2.21}/flow/de.js +0 -0
  56. /package/dist/locales/{4.2.19 → 4.2.21}/flow/es.js +0 -0
  57. /package/dist/locales/{4.2.19 → 4.2.21}/flow/fr.js +0 -0
  58. /package/dist/locales/{4.2.19 → 4.2.21}/flow/id.js +0 -0
  59. /package/dist/locales/{4.2.19 → 4.2.21}/flow/it.js +0 -0
  60. /package/dist/locales/{4.2.19 → 4.2.21}/flow/ja.js +0 -0
  61. /package/dist/locales/{4.2.19 → 4.2.21}/flow/ko.js +0 -0
  62. /package/dist/locales/{4.2.19 → 4.2.21}/flow/nl.js +0 -0
  63. /package/dist/locales/{4.2.19 → 4.2.21}/flow/pl.js +0 -0
  64. /package/dist/locales/{4.2.19 → 4.2.21}/flow/pt-br.js +0 -0
  65. /package/dist/locales/{4.2.19 → 4.2.21}/flow/tr.js +0 -0
  66. /package/dist/locales/{4.2.19 → 4.2.21}/flow/zh.js +0 -0
  67. /package/dist/locales/{4.2.19 → 4.2.21}/main/de.js +0 -0
  68. /package/dist/locales/{4.2.19 → 4.2.21}/main/es.js +0 -0
  69. /package/dist/locales/{4.2.19 → 4.2.21}/main/fr.js +0 -0
  70. /package/dist/locales/{4.2.19 → 4.2.21}/main/id.js +0 -0
  71. /package/dist/locales/{4.2.19 → 4.2.21}/main/it.js +0 -0
  72. /package/dist/locales/{4.2.19 → 4.2.21}/main/ja.js +0 -0
  73. /package/dist/locales/{4.2.19 → 4.2.21}/main/ko.js +0 -0
  74. /package/dist/locales/{4.2.19 → 4.2.21}/main/nl.js +0 -0
  75. /package/dist/locales/{4.2.19 → 4.2.21}/main/pl.js +0 -0
  76. /package/dist/locales/{4.2.19 → 4.2.21}/main/pt-br.js +0 -0
  77. /package/dist/locales/{4.2.19 → 4.2.21}/main/tr.js +0 -0
  78. /package/dist/locales/{4.2.19 → 4.2.21}/main/zh.js +0 -0
@@ -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
+ }
@@ -1,5 +1,5 @@
1
1
  import { F as e, O as t } from "./timezones-C5l0SSHK.js";
2
- import { O as n } from "./constants-BWfNecCz.js";
2
+ import { O as n } from "./constants-CJl8xBgZ.js";
3
3
  //#region node_modules/zod/v4/core/core.js
4
4
  var r;
5
5
  function i(e, t, n) {
@@ -1,6 +1,6 @@
1
1
  import { E as e, b as t, m as n, y as r } from "./timezones-C5l0SSHK.js";
2
- import { J as i, a, m as o } from "./constants-BWfNecCz.js";
3
- import { t as s } from "./copyToClipboard-BTVrJgtZ.js";
2
+ import { J as i, a, m as o } from "./constants-CJl8xBgZ.js";
3
+ import { t as s } from "./copyToClipboard-CR4oQ-Cl.js";
4
4
  import { r as c, t as l } from "./event-BrptLro8.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as u from "svelte/internal/client";
@@ -1,6 +1,6 @@
1
1
  import { _ as e } from "./Button-C4uFgl7L.js";
2
2
  import { E as t, _ as n, m as r, r as i, y as a } from "./timezones-C5l0SSHK.js";
3
- import { a as o, i as s, r as c, u as l, y as u } from "./constants-BWfNecCz.js";
3
+ import { a as o, i as s, r as c, u as l, y as u } from "./constants-CJl8xBgZ.js";
4
4
  import { t as d } from "./Badge-Bv_MT-Vt.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as f from "svelte/internal/client";