@getmicdrop/venue-calendar 4.3.1 → 4.3.3

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 (138) hide show
  1. package/dist/{ArrowLeftIcon-DvOokN4u.js → ArrowLeftIcon-Z4nKB5nM.js} +2 -2
  2. package/dist/{Badge-Gg5PWs7f.js → Badge-B-RPK9j4.js} +5 -5
  3. package/dist/{BlockPlaceholder-C2PUGPNA.js → BlockPlaceholder-BwrNdnWs.js} +4 -4
  4. package/dist/{Button-Cm6xkipe.js → Button-lNEMFgek.js} +7 -7
  5. package/dist/{Calendar-bhl8Q8us.js → Calendar-DHbfAnnZ.js} +256 -256
  6. package/dist/{CalendarFoundryView-C2O_AmBk.js → CalendarFoundryView-CispqB9b.js} +315 -315
  7. package/dist/{CalendarIcon-DvhQ-GaL.js → CalendarIcon-BEjbOHHM.js} +2 -2
  8. package/dist/{CartView-D57bwixz.js → CartView-D1WVQdkX.js} +26 -26
  9. package/dist/{Checkbox-24CWEsty.js → Checkbox-BwLIRQAK.js} +1 -1
  10. package/dist/{Checkout-BqaJK6UP.js → Checkout-BEVK-XxA.js} +18 -18
  11. package/dist/{Checkout-DQWeMchu.js → Checkout-pe1Nz_ai.js} +27 -27
  12. package/dist/{CheckoutTimer-8tVmatUn.js → CheckoutTimer-CEMQlOey.js} +4 -4
  13. package/dist/{ChevronDownIcon-DyNmV5XZ.js → ChevronDownIcon-BvODFygz.js} +2 -2
  14. package/dist/{ClockIcon-dOWVO61o.js → ClockIcon-DTyldSrw.js} +2 -2
  15. package/dist/{CloseIcon-a3S2RgbP.js → CloseIcon-BYaEoomX.js} +4 -4
  16. package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-e-QEon4Z.js} +1 -1
  17. package/dist/{CollectionView-B-PR54hU.js → CollectionView-YMExbUJJ.js} +8 -8
  18. package/dist/{CropImage-CxLcNArr.js → CropImage-Cn-w5oSo.js} +11 -11
  19. package/dist/{Event-DxNC58Zb.js → Event-Cr2vouCk.js} +40 -40
  20. package/dist/{EventPage-Y3NWzmN0.js → EventPage-Dfqh7dVU.js} +20 -20
  21. package/dist/{Heading-cKAx0Ogl.js → Heading-D56WGHbq.js} +4 -4
  22. package/dist/{Image-CNZLcePz.js → Image-C-BoBbtK.js} +8 -8
  23. package/dist/{Input-D1FpSX5Q.js → Input-C13S6gqr.js} +10 -10
  24. package/dist/{LiveRegion-D9Me4kBs.js → LiveRegion-BNdFVeEi.js} +2 -2
  25. package/dist/{MailIcon-CR_eGi6n.js → MailIcon-Ab4c-DXb.js} +3 -3
  26. package/dist/{Modal-LkN8lh_m.js → Modal-Hx_2J7Rs.js} +3 -3
  27. package/dist/{ModalFooter-B_8f1Z5p.js → ModalFooter-ygemSWQg.js} +12 -12
  28. package/dist/{PasswordInput-Bt6tvpzi.js → PasswordInput-BSXp5UU8.js} +7 -7
  29. package/dist/{RequiredIndicator-CYcnRFsA.js → RequiredIndicator-mZNE0avg.js} +1 -1
  30. package/dist/{ScarcityBadge-g0dRh6K7.js → ScarcityBadge-DTRsuMeS.js} +6 -6
  31. package/dist/{SeriesPage-D2305oP-.js → SeriesPage-HAInGoce.js} +5 -5
  32. package/dist/{Spinner-LroI7eOC.js → Spinner-RgxkOQM6.js} +3 -3
  33. package/dist/{Success-ClXshzvl.js → Success-Cyh4ctR_.js} +22 -22
  34. package/dist/{TagIcon-BhLrURo_.js → TagIcon-C0gWJ2Ne.js} +2 -2
  35. package/dist/{Text-CqjLjIF8.js → Text-BBLpprzD.js} +1 -1
  36. package/dist/{ViewTicketsEmbed-CvuMdTA7.js → ViewTicketsEmbed-DqE85DNR.js} +13 -13
  37. package/dist/{WarningCircleIcon-BxBY0OMQ.js → WarningCircleIcon-B9vMus2i.js} +4 -4
  38. package/dist/{WarningTriIcon-QVzQiEM4.js → WarningTriIcon-DiK82tSQ.js} +2 -2
  39. package/dist/{__SKIP_PATHS__-B0_APtpt.js → __SKIP_PATHS__-t6fsPcoF.js} +2 -2
  40. package/dist/api/api.cjs +1 -0
  41. package/dist/api/api.mjs +1442 -0
  42. package/dist/api/client.d.ts +157 -0
  43. package/dist/api/cta.d.ts +50 -0
  44. package/dist/api/events.d.ts +202 -0
  45. package/dist/api/gift-cards.d.ts +119 -0
  46. package/dist/api/index.d.ts +46 -0
  47. package/dist/api/orders.d.ts +193 -0
  48. package/dist/api/promo.d.ts +45 -0
  49. package/dist/api/result.d.ts +78 -0
  50. package/dist/api/route-manifest.d.ts +206 -0
  51. package/dist/api/transformers/address.d.ts +18 -0
  52. package/dist/api/transformers/cart.d.ts +34 -0
  53. package/dist/api/transformers/collection.d.ts +12 -0
  54. package/dist/api/transformers/event.d.ts +177 -0
  55. package/dist/api/transformers/faq.d.ts +40 -0
  56. package/dist/api/transformers/giftCard.d.ts +11 -0
  57. package/dist/api/transformers/index.d.ts +27 -0
  58. package/dist/api/transformers/order.d.ts +44 -0
  59. package/dist/api/transformers/performer.d.ts +8 -0
  60. package/dist/api/transformers/series.d.ts +12 -0
  61. package/dist/api/transformers/venue.d.ts +65 -0
  62. package/dist/api/types.d.ts +554 -0
  63. package/dist/api/venues.d.ts +33 -0
  64. package/dist/api/waitlist.d.ts +77 -0
  65. package/dist/{browser-viCaCwoW.js → browser-CDcw1U3g.js} +4 -4
  66. package/dist/{colors-BsP3TRan.js → colors-BCno-V3M.js} +7 -7
  67. package/dist/{constants-PBNG9ikv.js → constants-0rB39hh9.js} +5 -5
  68. package/dist/{copyToClipboard-B2F5d6Cj.js → copyToClipboard-BTRjm2k0.js} +3 -3
  69. package/dist/{defaultLabels-BigaGqKj.js → defaultLabels-B8o4uGeh.js} +57 -57
  70. package/dist/{dist-bwbfGPKR.js → dist-yd2QOrGL.js} +2 -2
  71. package/dist/{event-rtg4-kWS.js → event-B9vk_NJu.js} +2 -2
  72. package/dist/{event-transform-J7U1JmeK.js → event-transform-CFZBM0Jm.js} +4 -4
  73. package/dist/{eventStatusStream-CJVT_9Gu.js → eventStatusStream-BJwYyjtM.js} +2 -2
  74. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-D_xBVbw2.js} +1 -1
  75. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-C5UkfEsQ.js} +1 -1
  76. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-0721-UXO.js} +1 -1
  77. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-BeajRRvH.js} +1 -1
  78. package/dist/{href-Dx7B6ZiQ.js → href-BtTkmi3g.js} +8 -8
  79. package/dist/{i18n-sO8wTASy.js → i18n-Bj098Btz.js} +2 -2
  80. package/dist/{i18n-C0aOwSpF.js → i18n-Dmbmi7EI.js} +6 -6
  81. package/dist/{imageOptimizer-BwLwBMI6.js → imageOptimizer-DRZxsGFT.js} +7 -7
  82. package/dist/{keyboard-fiZFqeNA.js → keyboard-BNjnLxNp.js} +1 -1
  83. package/dist/{labels-BBFJnXep.js → labels-mpBWpCQ5.js} +1 -1
  84. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-BouNSpBW.js} +1 -1
  85. package/dist/{modalManager.svelte-B9mhX1cG.js → modalManager.svelte-66X2xNff.js} +4 -4
  86. package/dist/{order-totals-DR-oXumr.js → order-totals-DoPTpTUE.js} +3 -3
  87. package/dist/{orders-CFF0Hb2x.js → orders-BndkYkeg.js} +4 -4
  88. package/dist/{phoneUtils-C2GGZYvA.js → phoneUtils-CdzublA9.js} +53 -53
  89. package/dist/{pixels-M4FTi1Of.js → pixels-B_k0f9uV.js} +3 -3
  90. package/dist/{portal-DqxEuE-7.js → portal-C5DJ9GxX.js} +4 -4
  91. package/dist/{promo--p3GbP64.js → promo-Bf90ebR5.js} +1 -1
  92. package/dist/seo/HostSeoController.d.ts +68 -0
  93. package/dist/seo/buildCollectionJsonLd.d.ts +8 -0
  94. package/dist/seo/buildEventJsonLd.d.ts +9 -0
  95. package/dist/seo/buildSeriesJsonLd.d.ts +6 -0
  96. package/dist/seo/helpers.d.ts +88 -0
  97. package/dist/seo/index.d.ts +10 -0
  98. package/dist/seo/seo.cjs +1 -0
  99. package/dist/seo/seo.mjs +592 -0
  100. package/dist/seo/types.d.ts +156 -0
  101. package/dist/{serverTotals-Dbi69SIr.js → serverTotals-ClFGyoJV.js} +8 -8
  102. package/dist/{shareCopyFeedback.svelte-Ba3vibxL.js → shareCopyFeedback.svelte-DBgw9De7.js} +5 -5
  103. package/dist/{showcase-state-options-BZGCm4wo.js → showcase-state-options-lz-9ttqv.js} +1 -1
  104. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-CgRu3FYx.js} +1 -1
  105. package/dist/{src-DZgagYE3.js → src-BBt05SRE.js} +1 -1
  106. package/dist/{to-event-card-props-dIhKdERf.js → to-event-card-props-CoYVe2P7.js} +15 -15
  107. package/dist/types/index.d.ts +3 -0
  108. package/dist/{utils-CbacksjX.js → utils-CuFPcNng.js} +4 -4
  109. package/dist/venue-calendar.css +1 -1
  110. package/dist/venue-calendar.es.js +1038 -1000
  111. package/dist/venue-calendar.iife.js +35 -35
  112. package/dist/venue-calendar.umd.js +26 -26
  113. package/dist/{z-index-BgKs9X9U.js → z-index-DrhWc2Sn.js} +2 -2
  114. package/package.json +220 -220
  115. /package/dist/locales/{4.3.1 → 4.3.3}/flow/de.js +0 -0
  116. /package/dist/locales/{4.3.1 → 4.3.3}/flow/es.js +0 -0
  117. /package/dist/locales/{4.3.1 → 4.3.3}/flow/fr.js +0 -0
  118. /package/dist/locales/{4.3.1 → 4.3.3}/flow/id.js +0 -0
  119. /package/dist/locales/{4.3.1 → 4.3.3}/flow/it.js +0 -0
  120. /package/dist/locales/{4.3.1 → 4.3.3}/flow/ja.js +0 -0
  121. /package/dist/locales/{4.3.1 → 4.3.3}/flow/ko.js +0 -0
  122. /package/dist/locales/{4.3.1 → 4.3.3}/flow/nl.js +0 -0
  123. /package/dist/locales/{4.3.1 → 4.3.3}/flow/pl.js +0 -0
  124. /package/dist/locales/{4.3.1 → 4.3.3}/flow/pt-br.js +0 -0
  125. /package/dist/locales/{4.3.1 → 4.3.3}/flow/tr.js +0 -0
  126. /package/dist/locales/{4.3.1 → 4.3.3}/flow/zh.js +0 -0
  127. /package/dist/locales/{4.3.1 → 4.3.3}/main/de.js +0 -0
  128. /package/dist/locales/{4.3.1 → 4.3.3}/main/es.js +0 -0
  129. /package/dist/locales/{4.3.1 → 4.3.3}/main/fr.js +0 -0
  130. /package/dist/locales/{4.3.1 → 4.3.3}/main/id.js +0 -0
  131. /package/dist/locales/{4.3.1 → 4.3.3}/main/it.js +0 -0
  132. /package/dist/locales/{4.3.1 → 4.3.3}/main/ja.js +0 -0
  133. /package/dist/locales/{4.3.1 → 4.3.3}/main/ko.js +0 -0
  134. /package/dist/locales/{4.3.1 → 4.3.3}/main/nl.js +0 -0
  135. /package/dist/locales/{4.3.1 → 4.3.3}/main/pl.js +0 -0
  136. /package/dist/locales/{4.3.1 → 4.3.3}/main/pt-br.js +0 -0
  137. /package/dist/locales/{4.3.1 → 4.3.3}/main/tr.js +0 -0
  138. /package/dist/locales/{4.3.1 → 4.3.3}/main/zh.js +0 -0
@@ -0,0 +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,5 +1,5 @@
1
- import { I as e, k as t } from "./defaultLabels-BigaGqKj.js";
2
- //#region node_modules/zod/v4/core/core.js
1
+ import { I as e, k as t } from "./defaultLabels-B8o4uGeh.js";
2
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/core.js
3
3
  var n;
4
4
  function r(e, t, n) {
5
5
  function r(n, r) {
@@ -45,7 +45,7 @@ function s(e) {
45
45
  return e && Object.assign(o, e), o;
46
46
  }
47
47
  //#endregion
48
- //#region node_modules/zod/v4/core/util.js
48
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/util.js
49
49
  function c(e) {
50
50
  let t = Object.values(e).filter((e) => typeof e == "number");
51
51
  return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
@@ -310,7 +310,7 @@ function E(...e) {
310
310
  } : { ...t };
311
311
  }
312
312
  //#endregion
313
- //#region node_modules/zod/v4/core/errors.js
313
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/errors.js
314
314
  var ve = (e, t) => {
315
315
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
316
316
  value: e._zod,
@@ -351,7 +351,7 @@ function Se(e, t = (e) => e.message) {
351
351
  return r(e), n;
352
352
  }
353
353
  //#endregion
354
- //#region node_modules/zod/v4/core/parse.js
354
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/parse.js
355
355
  var D = (e) => (t, n, r, a) => {
356
356
  let o = r ? {
357
357
  ...r,
@@ -1505,7 +1505,7 @@ function kn(e, t, n, r) {
1505
1505
  }
1506
1506
  }
1507
1507
  //#endregion
1508
- //#region node_modules/zod/v4/core/registries.js
1508
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/registries.js
1509
1509
  var An, jn = class {
1510
1510
  constructor() {
1511
1511
  this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
@@ -1544,7 +1544,7 @@ function Mn() {
1544
1544
  (An = globalThis).__zod_globalRegistry ?? (An.__zod_globalRegistry = Mn());
1545
1545
  var z = globalThis.__zod_globalRegistry;
1546
1546
  //#endregion
1547
- //#region node_modules/zod/v4/core/api.js
1547
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/api.js
1548
1548
  // @__NO_SIDE_EFFECTS__
1549
1549
  function Nn(e, t) {
1550
1550
  return new e({
@@ -2028,7 +2028,7 @@ function kr(e, t) {
2028
2028
  return n._zod.check = e, n;
2029
2029
  }
2030
2030
  //#endregion
2031
- //#region node_modules/zod/v4/core/to-json-schema.js
2031
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/zod/v4/core/to-json-schema.js
2032
2032
  function Ar(e) {
2033
2033
  let t = e?.target ?? "draft-2020-12";
2034
2034
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
@@ -1,10 +1,10 @@
1
- import { D as e, b as t, h as n, x as r } from "./defaultLabels-BigaGqKj.js";
2
- import { J as i, a, m as o } from "./constants-PBNG9ikv.js";
3
- import { t as s } from "./copyToClipboard-B2F5d6Cj.js";
4
- import { r as c, t as l } from "./event-rtg4-kWS.js";
1
+ import { D as e, b as t, h as n, x as r } from "./defaultLabels-B8o4uGeh.js";
2
+ import { J as i, a, m as o } from "./constants-0rB39hh9.js";
3
+ import { t as s } from "./copyToClipboard-BTRjm2k0.js";
4
+ import { r as c, t as l } from "./event-B9vk_NJu.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as u from "svelte/internal/client";
7
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
7
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
8
8
  var d = u.from_svg("<path d=\"M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96h64v48a8,8,0,0,0,16,0V96h64A16,16,0,0,1,216,112ZM136,43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66L120,43.31V96h16Z\"></path>"), f = u.from_svg("<path d=\"M176,104h24a8,8,0,0,1,8,8v96a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><polyline points=\"88 64 128 24 168 64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline><line x1=\"128\" y1=\"24\" x2=\"128\" y2=\"136\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), p = u.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
9
9
  function m(e, t) {
10
10
  u.push(t, !0);
@@ -1,4 +1,4 @@
1
- import { E as e, n as t } from "./defaultLabels-BigaGqKj.js";
1
+ import { E as e, n as t } from "./defaultLabels-B8o4uGeh.js";
2
2
  import * as n from "svelte/internal/client";
3
3
  //#region src/lib/public-calendar-flow/mock-data.ts
4
4
  function r(e, t, n = 0) {
@@ -1,4 +1,4 @@
1
- //#region node_modules/sortablejs/modular/sortable.esm.js
1
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/sortablejs/modular/sortable.esm.js
2
2
  function e(e, t) {
3
3
  (t == null || t > e.length) && (t = e.length);
4
4
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
@@ -4,7 +4,7 @@ import * as n from "svelte/internal/client";
4
4
  import { afterUpdate as r, onDestroy as i } from "svelte";
5
5
  import "svelte/internal/flags/legacy";
6
6
  //#endregion
7
- //#region node_modules/svelte-filepond/src/Component.svelte
7
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/svelte-filepond/src/Component.svelte
8
8
  var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
9
9
  (function(n, r) {
10
10
  typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n ||= self, r(n.FilePond = {}));
@@ -1,11 +1,11 @@
1
- import { _ as e } from "./Button-Cm6xkipe.js";
2
- import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-BigaGqKj.js";
3
- import { a as s, i as c, r as l, u } from "./constants-PBNG9ikv.js";
4
- import { t as d } from "./Badge-Gg5PWs7f.js";
1
+ import { _ as e } from "./Button-lNEMFgek.js";
2
+ import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-B8o4uGeh.js";
3
+ import { a as s, i as c, r as l, u } from "./constants-0rB39hh9.js";
4
+ import { t as d } from "./Badge-B-RPK9j4.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as f from "svelte/internal/client";
7
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
8
- var p = f.from_html("<img alt=\"\" class=\"blur-layer svelte-q5mtqi\" aria-hidden=\"true\"/>"), m = f.from_html("<div><!> <img/></div>"), h = f.from_html("<div></div>");
7
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
8
+ var p = f.from_html("<img alt=\"\" class=\"blur-layer svelte-vrrxmo\" aria-hidden=\"true\"/>"), m = f.from_html("<div><!> <img/></div>"), h = f.from_html("<div></div>");
9
9
  function g(e, t) {
10
10
  let n = f.prop(t, "src", 3, ""), r = f.prop(t, "alt", 3, ""), i = f.prop(t, "class", 3, ""), a = f.prop(t, "fallback", 3, ""), o = f.prop(t, "fill", 3, !1), s = f.derived(() => n() || a());
11
11
  function c(e) {
@@ -24,18 +24,18 @@ function g(e, t) {
24
24
  });
25
25
  var l = f.sibling(n, 2);
26
26
  f.reset(t), f.template_effect(() => {
27
- f.set_class(t, 1, `blur-backdrop-image ${i() ?? ""}`, "svelte-q5mtqi"), f.set_attribute(l, "src", f.get(s)), f.set_attribute(l, "alt", r()), f.set_class(l, 1, f.clsx(o() ? "fill-layer" : "main-layer"), "svelte-q5mtqi");
27
+ f.set_class(t, 1, `blur-backdrop-image ${i() ?? ""}`, "svelte-vrrxmo"), f.set_attribute(l, "src", f.get(s)), f.set_attribute(l, "alt", r()), f.set_class(l, 1, f.clsx(o() ? "fill-layer" : "main-layer"), "svelte-vrrxmo");
28
28
  }), f.event("error", l, c), f.replay_events(l), f.append(e, t);
29
29
  }, g = (e) => {
30
30
  var t = h();
31
- f.template_effect(() => f.set_class(t, 1, `blur-backdrop-image ${i() ?? ""}`, "svelte-q5mtqi")), f.append(e, t);
31
+ f.template_effect(() => f.set_class(t, 1, `blur-backdrop-image ${i() ?? ""}`, "svelte-vrrxmo")), f.append(e, t);
32
32
  };
33
33
  f.if(u, (e) => {
34
34
  f.get(s) ? e(d) : e(g, -1);
35
35
  }), f.append(e, l);
36
36
  }
37
37
  //#endregion
38
- //#region node_modules/@getmicdrop/svelte-components/dist/tokens/spacing.js
38
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/tokens/spacing.js
39
39
  var _ = {
40
40
  semantic: {
41
41
  minimal: "gap-1",
@@ -83,7 +83,7 @@ var _ = {
83
83
  ..._.grid
84
84
  };
85
85
  //#endregion
86
- //#region node_modules/@getmicdrop/svelte-components/dist/components/Layout/Grid.svelte
86
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/components/Layout/Grid.svelte
87
87
  function y(e, t) {
88
88
  f.push(t, !0);
89
89
  let n = f.prop(t, "cols", 3, "3"), r = f.prop(t, "gap", 3, "4"), i = f.prop(t, "minWidth", 3, "280px"), a = f.prop(t, "fixed", 3, !1), o = f.prop(t, "as", 3, "div"), s = f.prop(t, "class", 3, ""), c = {
@@ -121,7 +121,7 @@ function y(e, t) {
121
121
  }), f.append(e, p), f.pop();
122
122
  }
123
123
  //#endregion
124
- //#region node_modules/@getmicdrop/svelte-components/dist/calendar/EventCard/tokens.js
124
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/calendar/EventCard/tokens.js
125
125
  var b = {
126
126
  micro: {
127
127
  badgeSize: "xs",
@@ -143,7 +143,7 @@ var b = {
143
143
  function S() {
144
144
  return x += 1;
145
145
  }
146
- var C = f.from_html("<div class=\"event-card__poster w-full aspect-video bg-muted shrink-0 overflow-hidden svelte-18ndok6\"><!></div>"), w = f.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), T = f.from_html("<span> </span>"), E = f.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), D = f.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), O = f.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden flex flex-col svelte-18ndok6\"><!> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-18ndok6\"><header class=\"event-card__header\"><h3><!> <a class=\"event-card__title-link svelte-18ndok6\" rel=\"external\"> </a></h3></header> <!> <!> <!></div></article>");
146
+ var C = f.from_html("<div class=\"event-card__poster w-full aspect-video bg-muted shrink-0 overflow-hidden svelte-22zb5w\"><!></div>"), w = f.from_html("<span class=\"event-card__badge svelte-22zb5w\"><!></span>"), T = f.from_html("<span> </span>"), E = f.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-22zb5w\"></div>"), D = f.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-22zb5w\"> </p>"), O = f.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden flex flex-col svelte-22zb5w\"><!> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-22zb5w\"><header class=\"event-card__header\"><h3><!> <a class=\"event-card__title-link svelte-22zb5w\" rel=\"external\"> </a></h3></header> <!> <!> <!></div></article>");
147
147
  function k(t, n) {
148
148
  f.push(n, !0);
149
149
  let r = f.prop(n, "layout", 3, "vertical"), a = f.prop(n, "density", 3, "standard"), o = f.prop(n, "imageUrl", 3, ""), s = f.prop(n, "placeholderImage", 3, ""), c = f.prop(n, "hidePoster", 3, !1), l = f.prop(n, "dateLabel", 3, ""), u = f.prop(n, "description", 3, ""), p = f.prop(n, "badge", 3, null), m = f.prop(n, "pills", 19, () => []), h = f.prop(n, "pillVariant", 3, "alternative"), _ = f.prop(n, "showDescription", 3, !1), v = f.prop(n, "hideDate", 3, !1), y = f.derived(() => b[a()]), x = `event-card-title-${S()}`, k = f.derived(() => _() && !!u() && (a() === "standard" || a() === "featured")), A = f.derived(() => !v() && a() !== "micro" && !!l());
@@ -193,7 +193,7 @@ function k(t, n) {
193
193
  var U = f.sibling(L, 2), W = (t) => {
194
194
  var n = T(), r = f.child(n, !0);
195
195
  f.reset(n), f.template_effect(() => {
196
- f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r, l());
196
+ f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-22zb5w"), f.set_text(r, l());
197
197
  }), f.append(t, n);
198
198
  };
199
199
  f.if(U, (e) => {
@@ -238,12 +238,12 @@ function k(t, n) {
238
238
  f.if(q, (e) => {
239
239
  f.get(k) && e(J);
240
240
  }), f.reset(I), f.reset(N), f.template_effect(() => {
241
- f.set_attribute(N, "data-layout", r()), f.set_attribute(N, "data-density", a()), f.set_attribute(N, "data-hide-poster", c()), f.set_attribute(N, "aria-labelledby", x), f.set_class(R, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), f.set_attribute(R, "id", x), f.set_attribute(V, "href", n.href), f.set_attribute(V, "aria-label", n.ariaLabel ?? n.title), f.set_text(H, n.title);
241
+ f.set_attribute(N, "data-layout", r()), f.set_attribute(N, "data-density", a()), f.set_attribute(N, "data-hide-poster", c()), f.set_attribute(N, "aria-labelledby", x), f.set_class(R, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-22zb5w"), f.set_attribute(R, "id", x), f.set_attribute(V, "href", n.href), f.set_attribute(V, "aria-label", n.ariaLabel ?? n.title), f.set_text(H, n.title);
242
242
  }), f.delegated("click", V, M), f.append(t, N), f.pop();
243
243
  }
244
244
  f.delegate(["click"]);
245
245
  //#endregion
246
- //#region node_modules/@getmicdrop/svelte-components/dist/routing/slug.js
246
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/routing/slug.js
247
247
  var A = 70;
248
248
  function j(e) {
249
249
  return e.normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "").slice(0, A).replace(/-+$/g, "");
@@ -157,6 +157,9 @@ export interface CalendarProps extends BaseInitOptions {
157
157
  date?: boolean;
158
158
  description?: boolean;
159
159
  } | null;
160
+ /** How big each view draws its events: S packs more in, L gives each
161
+ * event more room, M is the default look (default: 'M') */
162
+ size?: 'S' | 'M' | 'L';
160
163
  /** Current month store (Svelte writable store) */
161
164
  currentMonth?: import('svelte/store').Writable<number>;
162
165
  /** Current year store (Svelte writable store) */
@@ -1,7 +1,7 @@
1
- import { x as e } from "./Button-Cm6xkipe.js";
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-CFF0Hb2x.js";
3
- import "./event-transform-J7U1JmeK.js";
4
- //#region node_modules/js-cookie/dist/js.cookie.mjs
1
+ import { x as e } from "./Button-lNEMFgek.js";
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-BndkYkeg.js";
3
+ import "./event-transform-CFZBM0Jm.js";
4
+ //#region ../../Users/gus/git/jetbook/npm-calendar/node_modules/js-cookie/dist/js.cookie.mjs
5
5
  function l(e) {
6
6
  for (var t = 1; t < arguments.length; t++) {
7
7
  var n = arguments[t];