@getmicdrop/venue-calendar 4.3.25 → 4.3.26

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 (41) hide show
  1. package/dist/{Calendar-iTWNcPZK.js → Calendar-D27gfN0x.js} +1 -1
  2. package/dist/{CalendarFoundryView-CdpyX54O.js → CalendarFoundryView-CBo25IoE.js} +2 -2
  3. package/dist/{Checkout-7yLVA4hl.js → Checkout-723DslXs.js} +1 -1
  4. package/dist/{Checkout-CSLSP9pn.js → Checkout-D39bsHB6.js} +1 -1
  5. package/dist/{CollectionView-Ts2WvCFr.js → CollectionView-CSgSS8fB.js} +2 -2
  6. package/dist/{Event-DX0I8oGA.js → Event-BupNYi0B.js} +414 -392
  7. package/dist/{EventPage-DR1G4PGV.js → EventPage-DR8JraPo.js} +2 -2
  8. package/dist/{RecommendationsRail-Bxj7iK68.js → RecommendationsRail-CYvrLLwk.js} +2 -2
  9. package/dist/{SeriesPage-DCTxtpMx.js → SeriesPage-BHAuypj1.js} +2 -2
  10. package/dist/{Success-Di5qC4Op.js → Success-Cda04nxq.js} +2 -2
  11. package/dist/{i18n-CK8CaXLk.js → i18n-CbpFLxO0.js} +25 -19
  12. package/dist/{to-event-card-props-CgUk4zJ7.js → to-event-card-props-djxhqexI.js} +17 -17
  13. package/dist/venue-calendar.css +1 -1
  14. package/dist/venue-calendar.es.js +14 -14
  15. package/dist/venue-calendar.iife.js +52 -52
  16. package/dist/venue-calendar.umd.js +50 -50
  17. package/package.json +2 -2
  18. /package/dist/locales/{4.3.25 → 4.3.26}/flow/de.js +0 -0
  19. /package/dist/locales/{4.3.25 → 4.3.26}/flow/es.js +0 -0
  20. /package/dist/locales/{4.3.25 → 4.3.26}/flow/fr.js +0 -0
  21. /package/dist/locales/{4.3.25 → 4.3.26}/flow/id.js +0 -0
  22. /package/dist/locales/{4.3.25 → 4.3.26}/flow/it.js +0 -0
  23. /package/dist/locales/{4.3.25 → 4.3.26}/flow/ja.js +0 -0
  24. /package/dist/locales/{4.3.25 → 4.3.26}/flow/ko.js +0 -0
  25. /package/dist/locales/{4.3.25 → 4.3.26}/flow/nl.js +0 -0
  26. /package/dist/locales/{4.3.25 → 4.3.26}/flow/pl.js +0 -0
  27. /package/dist/locales/{4.3.25 → 4.3.26}/flow/pt-br.js +0 -0
  28. /package/dist/locales/{4.3.25 → 4.3.26}/flow/tr.js +0 -0
  29. /package/dist/locales/{4.3.25 → 4.3.26}/flow/zh.js +0 -0
  30. /package/dist/locales/{4.3.25 → 4.3.26}/main/de.js +0 -0
  31. /package/dist/locales/{4.3.25 → 4.3.26}/main/es.js +0 -0
  32. /package/dist/locales/{4.3.25 → 4.3.26}/main/fr.js +0 -0
  33. /package/dist/locales/{4.3.25 → 4.3.26}/main/id.js +0 -0
  34. /package/dist/locales/{4.3.25 → 4.3.26}/main/it.js +0 -0
  35. /package/dist/locales/{4.3.25 → 4.3.26}/main/ja.js +0 -0
  36. /package/dist/locales/{4.3.25 → 4.3.26}/main/ko.js +0 -0
  37. /package/dist/locales/{4.3.25 → 4.3.26}/main/nl.js +0 -0
  38. /package/dist/locales/{4.3.25 → 4.3.26}/main/pl.js +0 -0
  39. /package/dist/locales/{4.3.25 → 4.3.26}/main/pt-br.js +0 -0
  40. /package/dist/locales/{4.3.25 → 4.3.26}/main/tr.js +0 -0
  41. /package/dist/locales/{4.3.25 → 4.3.26}/main/zh.js +0 -0
@@ -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-DX0I8oGA.js";
2
+ import { t as o } from "./Event-BupNYi0B.js";
3
3
  import { n as s, t as c } from "./Input-Bpq_mV4s.js";
4
4
  import { d as l, f as u, n as d, p as f } from "./phoneUtils-DK8ry3Ji.js";
5
5
  import { o as p } from "./href-EZSiOTvJ.js";
6
6
  import { t as m } from "./ClockIcon-CVPj8q7F.js";
7
- import { r as h } from "./RecommendationsRail-Bxj7iK68.js";
7
+ import { r as h } from "./RecommendationsRail-CYvrLLwk.js";
8
8
  import { n as g } from "./ScarcityBadge-D1IzCyTk.js";
9
9
  import { I as _, P as v, i as y, t as b } from "./defaultLabels-BgBbv_Mu.js";
10
10
  import { d as x, p as S, y as C } from "./orders-BQRru8sl.js";
@@ -2,7 +2,7 @@ import { i as e, p as t, q as n } from "./scarcity-Dgvp7aCF.js";
2
2
  import { t as r } from "./copyToClipboard-CX0-qsMi.js";
3
3
  import { A as i, C as a, g as o, x as s } from "./defaultLabels-BgBbv_Mu.js";
4
4
  import { I as c, R as l } from "./orders-BQRru8sl.js";
5
- import { c as u, i as d, s as f, t as p } from "./to-event-card-props-CgUk4zJ7.js";
5
+ import { c as u, i as d, s as f, t as p } from "./to-event-card-props-djxhqexI.js";
6
6
  import { t as m } from "./Heading-D6bWtGZA.js";
7
7
  import { d as h, l as g } from "./navigation-Dh-hGmN9.js";
8
8
  import { O as _ } from "./api-DxEN4thz.js";
@@ -230,7 +230,7 @@ function F(n) {
230
230
  isHidden: e.isHidden === !0 || typeof e.visibility == "number" && e.visibility >= _.HIDDEN,
231
231
  ticketType: e.type || e.ticketType || void 0,
232
232
  sectionName: e.sectionName || e.section || void 0
233
- })), c = s.filter((e) => !e.isHidden && !e.isDonation), l = c.reduce((e, t) => e + t.quantityAvailable, 0), u = c.reduce((e, t) => e + t.quantityTotal, 0), d = n.hasPurchasableHiddenTickets === !0, f = P(r.status, s, d), p = n.image || n.imageUrl || n.image_url || "", m = p.startsWith("http") ? p : h(p, { cdn: !0 }), y = {
233
+ })), c = s.filter((e) => !e.isHidden && !e.isDonation && e.status === "on_sale"), l = c.reduce((e, t) => e + t.quantityAvailable, 0), u = c.reduce((e, t) => e + t.quantityTotal, 0), d = n.hasPurchasableHiddenTickets === !0, f = P(r.status, s, d), p = n.image || n.imageUrl || n.image_url || "", m = p.startsWith("http") ? p : h(p, { cdn: !0 }), y = {
234
234
  id: i.id || i.ID || 0,
235
235
  name: i.name || i.googleLocationNameCache || "",
236
236
  address: i.address || i.googleLocationNameCache || "",
@@ -1,6 +1,6 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
- import { t } from "./Event-DX0I8oGA.js";
3
- import { a as n } from "./RecommendationsRail-Bxj7iK68.js";
2
+ import { t } from "./Event-BupNYi0B.js";
3
+ import { a as n } from "./RecommendationsRail-CYvrLLwk.js";
4
4
  import { n as r } from "./ScarcityBadge-D1IzCyTk.js";
5
5
  import { t as i } from "./__SKIP_PATHS__-BQgiZG5h.js";
6
6
  import "svelte/internal/disclose-version";
@@ -4,7 +4,7 @@ import { t as i } from "./ArrowLeftIcon-BEoyQzGt.js";
4
4
  import { t as a } from "./CalendarIcon-DxOagkl5.js";
5
5
  import { t as o } from "./ChevronDownIcon-DIQAmQyH.js";
6
6
  import { n as s, t as c } from "./MailIcon-Wrsqe_uW.js";
7
- import { n as l, o as u, r as d, t as f } from "./RecommendationsRail-Bxj7iK68.js";
7
+ import { n as l, o as u, r as d, t as f } from "./RecommendationsRail-CYvrLLwk.js";
8
8
  import { n as p } from "./copyToClipboard-CX0-qsMi.js";
9
9
  import { U as m, V as h, i as g } from "./defaultLabels-BgBbv_Mu.js";
10
10
  import { B as _, J as v, Q as y, X as b, g as x, s as S } from "./orders-BQRru8sl.js";
@@ -14,7 +14,7 @@ import { t as D } from "./Text-CqjLjIF8.js";
14
14
  import { a as O, o as k } from "./navigation-Dh-hGmN9.js";
15
15
  import "./api-DxEN4thz.js";
16
16
  import { c as A, r as j } from "./pixels-CAgpvPd8.js";
17
- import { i as M, n as N, t as P } from "./i18n-CK8CaXLk.js";
17
+ import { i as M, n as N, t as P } from "./i18n-CbpFLxO0.js";
18
18
  import { n as ee, t as F } from "./i18n-BZAWUSFx.js";
19
19
  import { C as I, d as L, l as R, n as z } from "./utils-CiFOOjQd.js";
20
20
  import { n as B, t as te } from "./constants-DuFw4kZc.js";
@@ -249,10 +249,16 @@ function R() {
249
249
  revealTicketIds: []
250
250
  };
251
251
  }
252
+ function z(e) {
253
+ return e.filter((e) => !e.isHidden && e.status === "on_sale");
254
+ }
255
+ function B(e) {
256
+ return z(e.tickets).filter((e) => !e.isDonation).every((e) => e.price === 0);
257
+ }
252
258
  //#endregion
253
259
  //#region src/lib/public-calendar-flow/OrderSummary.svelte
254
- var z = x.from_html("<div class=\"flex justify-between\"><!> <!></div>"), B = x.from_html("<div class=\"flex justify-between pt-1\"><!></div> <!>", 1), V = x.from_html("<!> <!>", 1), H = x.from_html("<div class=\"flex justify-between pt-1 border-t border-default\"><!> <!></div>"), U = x.from_html("<!> <!> <!> <!> <!> <div class=\"flex justify-between pt-2 border-t border-default\"><!> <!></div>", 1), W = x.from_html("<div class=\"space-y-2\"><!> <!></div>");
255
- function G(e, t) {
260
+ var V = x.from_html("<div class=\"flex justify-between\"><!> <!></div>"), H = x.from_html("<div class=\"flex justify-between pt-1\"><!></div> <!>", 1), U = x.from_html("<!> <!>", 1), W = x.from_html("<div class=\"flex justify-between pt-1 border-t border-default\"><!> <!></div>"), G = x.from_html("<!> <!> <!> <!> <!> <div class=\"flex justify-between pt-2 border-t border-default\"><!> <!></div>", 1), K = x.from_html("<div class=\"space-y-2\"><!> <!></div>");
261
+ function q(e, t) {
256
262
  x.push(t, !0);
257
263
  let r = x.prop(t, "labels", 3, b), a = x.prop(t, "mode", 3, "full");
258
264
  function o(e) {
@@ -262,10 +268,10 @@ function G(e, t) {
262
268
  return e.lineKey ?? `t:${String(e.ticketId)}`;
263
269
  }
264
270
  let c = x.derived(() => t.orderTotals.lines.filter((e) => e.kind !== "addon")), u = x.derived(() => t.orderTotals.lines.filter((e) => e.kind === "addon"));
265
- var d = W(), f = x.child(d), p = (e) => {
266
- var t = V(), a = x.first_child(t);
271
+ var d = K(), f = x.child(d), p = (e) => {
272
+ var t = U(), a = x.first_child(t);
267
273
  x.each(a, 17, () => x.get(c), (e) => s(e), (e, t) => {
268
- var a = z(), o = x.child(a);
274
+ var a = V(), o = x.child(a);
269
275
  v(o, {
270
276
  size: "sm",
271
277
  children: (e, n) => {
@@ -297,7 +303,7 @@ function G(e, t) {
297
303
  }), x.reset(a), x.append(e, a);
298
304
  });
299
305
  var o = x.sibling(a, 2), d = (e) => {
300
- var t = B(), n = x.first_child(t), a = x.child(n);
306
+ var t = H(), n = x.first_child(t), a = x.child(n);
301
307
  v(a, {
302
308
  size: "sm",
303
309
  color: "muted",
@@ -310,7 +316,7 @@ function G(e, t) {
310
316
  }), x.reset(n);
311
317
  var o = x.sibling(n, 2);
312
318
  x.each(o, 17, () => x.get(u), (e) => s(e), (e, t) => {
313
- var n = z(), a = x.child(n);
319
+ var n = V(), a = x.child(n);
314
320
  v(a, {
315
321
  size: "sm",
316
322
  children: (e, n) => {
@@ -347,8 +353,8 @@ function G(e, t) {
347
353
  a() !== "totals" && e(p);
348
354
  });
349
355
  var m = x.sibling(f, 2), h = (e) => {
350
- var i = U(), s = x.first_child(i), c = (e) => {
351
- var n = H(), i = x.child(n);
356
+ var i = G(), s = x.first_child(i), c = (e) => {
357
+ var n = W(), i = x.child(n);
352
358
  v(i, {
353
359
  size: "sm",
354
360
  color: "muted",
@@ -371,7 +377,7 @@ function G(e, t) {
371
377
  $$slots: { default: !0 }
372
378
  }), x.reset(n), x.append(e, n);
373
379
  }, u = (e) => {
374
- var n = z(), i = x.child(n);
380
+ var n = V(), i = x.child(n);
375
381
  v(i, {
376
382
  size: "sm",
377
383
  color: "muted",
@@ -398,7 +404,7 @@ function G(e, t) {
398
404
  a() === "full" && t.orderTotals.lines.length > 1 ? e(c) : t.orderTotals.lines.length > 1 && e(u, 1);
399
405
  });
400
406
  var d = x.sibling(s, 2), f = (e) => {
401
- var i = z(), a = x.child(i);
407
+ var i = V(), a = x.child(i);
402
408
  v(a, {
403
409
  size: "sm",
404
410
  color: "success",
@@ -425,7 +431,7 @@ function G(e, t) {
425
431
  t.orderTotals.promoDiscount > 0 && e(f);
426
432
  });
427
433
  var p = x.sibling(d, 2), m = (e) => {
428
- var n = z(), i = x.child(n);
434
+ var n = V(), i = x.child(n);
429
435
  v(i, {
430
436
  size: "sm",
431
437
  color: "muted",
@@ -452,7 +458,7 @@ function G(e, t) {
452
458
  (t.orderTotals.fees == null || t.orderTotals.fees > 0) && e(m);
453
459
  });
454
460
  var h = x.sibling(p, 2), g = (e) => {
455
- var i = z(), a = x.child(i);
461
+ var i = V(), a = x.child(i);
456
462
  v(a, {
457
463
  size: "sm",
458
464
  color: "muted",
@@ -479,7 +485,7 @@ function G(e, t) {
479
485
  t.orderTotals.taxes > 0 && e(g);
480
486
  });
481
487
  var _ = x.sibling(h, 2), y = (e) => {
482
- var i = z(), a = x.child(i);
488
+ var i = V(), a = x.child(i);
483
489
  v(a, {
484
490
  size: "sm",
485
491
  color: "success",
@@ -534,7 +540,7 @@ function G(e, t) {
534
540
  }
535
541
  //#endregion
536
542
  //#region src/lib/public-calendar-flow/i18n/index.js
537
- var K = _({
543
+ var J = _({
538
544
  defaults: b,
539
545
  locales: { en: b },
540
546
  loaders: {
@@ -553,8 +559,8 @@ var K = _({
553
559
  pl: () => import("./pl-DHSf0Tay.js").then((e) => e.pl)
554
560
  }
555
561
  });
556
- K.resolveLocale;
557
- var q = K.getLabelsForLocale;
558
- K.loadLocale, K.listLocales;
562
+ J.resolveLocale;
563
+ var Y = J.getLabelsForLocale;
564
+ J.loadLocale, J.listLocales;
559
565
  //#endregion
560
- export { R as a, w as c, O as d, P as f, I as i, T as l, G as n, j as o, L as r, F as s, q as t, M as u };
566
+ export { R as a, w as c, O as d, P as f, I as i, T as l, q as n, j as o, B as p, L as r, F as s, Y as t, M as u };
@@ -143,7 +143,7 @@ var x = {
143
143
  function C() {
144
144
  return S += 1;
145
145
  }
146
- var w = p.from_html("<div><!></div>"), T = p.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), E = p.from_html("<span> </span>"), D = p.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), O = p.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), k = p.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden 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 w = p.from_html("<div><!></div>"), T = p.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), E = p.from_html("<span> </span>"), D = p.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), O = p.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), k = p.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden svelte-18ndok6\"><!> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-18ndok6\"><header class=\"event-card__header\"><h3><span class=\"event-card__title-text\"><!> <a class=\"event-card__title-link svelte-18ndok6\" rel=\"external\"> </a></span></h3></header> <!> <!> <!></div></article>");
147
147
  function A(t, n) {
148
148
  p.push(n, !0);
149
149
  let r = p.prop(n, "layout", 3, "vertical"), i = p.prop(n, "density", 3, "standard"), o = p.prop(n, "imageUrl", 3, ""), c = p.prop(n, "placeholderImage", 3, ""), u = p.prop(n, "hidePoster", 3, !1), d = p.prop(n, "posterFit", 3, "fit"), f = p.prop(n, "posterBackdrop", 3, "blur"), m = p.prop(n, "dateLabel", 3, ""), h = p.prop(n, "description", 3, ""), g = p.prop(n, "badge", 3, null), v = p.prop(n, "pills", 19, () => []), y = p.prop(n, "pillVariant", 3, "alternative"), b = p.prop(n, "showDescription", 3, !1), S = p.prop(n, "hideDate", 3, !1), A = p.derived(() => x[i()]), j = p.derived(() => d() === "fit" && f() === "color"), M = `event-card-title-${C()}`, N = p.derived(() => b() && !!h() && (i() === "standard" || i() === "featured")), P = p.derived(() => !S() && i() !== "micro" && !!m());
@@ -192,7 +192,7 @@ function A(t, n) {
192
192
  p.if(R, (e) => {
193
193
  u() || e(z);
194
194
  });
195
- var B = p.sibling(R, 2), V = p.child(B), H = p.child(V), U = p.child(H), W = (e) => {
195
+ var B = p.sibling(R, 2), V = p.child(B), H = p.child(V), U = p.child(H), W = p.child(U), G = (e) => {
196
196
  var t = T(), n = p.child(t);
197
197
  a(n, {
198
198
  get variant() {
@@ -209,21 +209,21 @@ function A(t, n) {
209
209
  $$slots: { default: !0 }
210
210
  }), p.reset(t), p.append(e, t);
211
211
  };
212
- p.if(U, (e) => {
213
- g() && e(W);
212
+ p.if(W, (e) => {
213
+ g() && e(G);
214
214
  });
215
- var G = p.sibling(U, 2), K = p.child(G, !0);
216
- p.reset(G), p.reset(H), p.reset(V);
217
- var q = p.sibling(V, 2), J = (t) => {
215
+ var K = p.sibling(W, 2), q = p.child(K, !0);
216
+ p.reset(K), p.reset(U), p.reset(H), p.reset(V);
217
+ var J = p.sibling(V, 2), Y = (t) => {
218
218
  var n = E(), r = p.child(n, !0);
219
219
  p.reset(n), p.template_effect(() => {
220
220
  p.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), p.set_text(r, m());
221
221
  }), p.append(t, n);
222
222
  };
223
- p.if(q, (e) => {
224
- p.get(P) && e(J);
223
+ p.if(J, (e) => {
224
+ p.get(P) && e(Y);
225
225
  });
226
- var Y = p.sibling(q, 2), X = (e) => {
226
+ var X = p.sibling(J, 2), Z = (e) => {
227
227
  var t = D();
228
228
  p.each(t, 21, v, p.index, (e, t, n) => {
229
229
  {
@@ -252,18 +252,18 @@ function A(t, n) {
252
252
  }
253
253
  }), p.reset(t), p.append(e, t);
254
254
  };
255
- p.if(Y, (e) => {
256
- v().length > 0 && e(X);
255
+ p.if(X, (e) => {
256
+ v().length > 0 && e(Z);
257
257
  });
258
- var Z = p.sibling(Y, 2), Q = (e) => {
258
+ var Q = p.sibling(X, 2), $ = (e) => {
259
259
  var t = O(), n = p.child(t, !0);
260
260
  p.reset(t), p.template_effect(() => p.set_text(n, h())), p.append(e, t);
261
261
  };
262
- p.if(Z, (e) => {
263
- p.get(N) && e(Q);
262
+ p.if(Q, (e) => {
263
+ p.get(N) && e($);
264
264
  }), p.reset(B), p.reset(L), p.template_effect(() => {
265
- p.set_attribute(L, "data-layout", r()), p.set_attribute(L, "data-density", i()), p.set_attribute(L, "data-hide-poster", u()), p.set_attribute(L, "aria-labelledby", M), p.set_class(H, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), p.set_attribute(H, "id", M), p.set_attribute(G, "href", n.href), p.set_attribute(G, "aria-label", n.ariaLabel ?? n.title), p.set_text(K, n.title);
266
- }), p.delegated("click", G, I), p.append(t, L), p.pop();
265
+ p.set_attribute(L, "data-layout", r()), p.set_attribute(L, "data-density", i()), p.set_attribute(L, "data-hide-poster", u()), p.set_attribute(L, "aria-labelledby", M), p.set_class(H, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), p.set_attribute(H, "id", M), p.set_attribute(K, "href", n.href), p.set_attribute(K, "aria-label", n.ariaLabel ?? n.title), p.set_text(q, n.title);
266
+ }), p.delegated("click", K, I), p.append(t, L), p.pop();
267
267
  }
268
268
  p.delegate(["click"]);
269
269
  //#endregion