@getmicdrop/venue-calendar 4.3.63 → 4.3.65

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 (65) hide show
  1. package/dist/{AddOnCard-DAk2utke.js → AddOnCard-CmK4bDY6.js} +4 -4
  2. package/dist/{ArrowLeftIcon-B2NmxWA9.js → ArrowLeftIcon-DcG0YVCM.js} +1 -1
  3. package/dist/{BlockPlaceholder-IligENph.js → BlockPlaceholder-BRzS72r6.js} +1 -1
  4. package/dist/{Calendar-DM7xqU81.js → Calendar-BOweKeiV.js} +2 -2
  5. package/dist/{CalendarFoundryView-uG2d_J_1.js → CalendarFoundryView-CcOPZ_Nu.js} +90 -43
  6. package/dist/{CalendarIcon-3jHpw2aE.js → CalendarIcon-DuxP0sxw.js} +1 -1
  7. package/dist/{CartView-C3yY3Umt.js → CartView-YNf1axYi.js} +33 -33
  8. package/dist/{Checkout-AGHr3pGm.js → Checkout-9Qi44T1Y.js} +11 -11
  9. package/dist/{Checkout-D5xQo_-j.js → Checkout-ipuGLBT2.js} +10 -10
  10. package/dist/{CheckoutTimer-Btjo7PEg.js → CheckoutTimer-DTufmYO_.js} +1 -1
  11. package/dist/{ChevronDownIcon-Dp1MGPEN.js → ChevronDownIcon-ClOg3b7E.js} +1 -1
  12. package/dist/{CloseIcon-DKrZf_7a.js → CloseIcon-CWQWjUzZ.js} +1 -1
  13. package/dist/{CollectionView-CbpcbtPQ.js → CollectionView-PRegJwQb.js} +4 -4
  14. package/dist/{Event-Ct04hk5X.js → Event--MH8pGju.js} +63 -63
  15. package/dist/{EventPage-EMPylUho.js → EventPage-BGYvfkiB.js} +9 -9
  16. package/dist/{Input-CLSPTEMv.js → Input-BT3hf13K.js} +1 -1
  17. package/dist/{MailIcon-COatZ9tD.js → MailIcon-ivrn0IXt.js} +1 -1
  18. package/dist/{PasswordInput-BxuPPAe8.js → PasswordInput-CYZVT6fp.js} +1 -1
  19. package/dist/{RecommendationsRail-DGvzlf9S.js → RecommendationsRail-CPr__oRL.js} +11 -11
  20. package/dist/{ScarcityBadge-DU6RgcCz.js → ScarcityBadge-CDDlvbDh.js} +3 -3
  21. package/dist/{Select-CjELEaSF.js → Select-DWFgeD9R.js} +96 -83
  22. package/dist/{SeriesPage-BJf6QYfI.js → SeriesPage-DhmD95h9.js} +2 -2
  23. package/dist/{Success-Cbpn0t0r.js → Success-Cgrr7FqT.js} +10 -10
  24. package/dist/{TagIcon-CfyFlUh_.js → TagIcon-CFtOYvWM.js} +1 -1
  25. package/dist/{WarningCircleIcon-DsYifP07.js → WarningCircleIcon-Nmw1CPAT.js} +1 -1
  26. package/dist/{WarningTriIcon-C2oaxNjx.js → WarningTriIcon-flvVXH1d.js} +1 -1
  27. package/dist/{api-BX4Imu-R.js → api-Vyamuo2p.js} +1 -1
  28. package/dist/{copyToClipboard-CIu22_xq.js → copyToClipboard-BmB4QyKB.js} +1 -1
  29. package/dist/{createErrorGate.svelte-Z3I2WfRr.js → createErrorGate.svelte-CDXAf5Lm.js} +1 -1
  30. package/dist/{scarcity-ClhXuC6t.js → datetime-ClxISJBt.js} +58 -57
  31. package/dist/{event-transform-CG6CJlbD.js → event-transform-L2ZTddgP.js} +19 -19
  32. package/dist/{href-Dz1CMH4c.js → href-DKLRNO3s.js} +1 -1
  33. package/dist/{i18n-DLFy3vxe.js → i18n-DFlVZfRe.js} +9 -9
  34. package/dist/{to-event-card-props-DObG6xUq.js → to-event-card-props-CmDQ3iGb.js} +34 -35
  35. package/dist/types/index.d.ts +602 -597
  36. package/dist/{utils-C15ZjLiK.js → utils-C_wZYlA9.js} +1 -1
  37. package/dist/venue-calendar.es.js +31 -31
  38. package/dist/venue-calendar.iife.js +22 -22
  39. package/dist/venue-calendar.umd.js +50 -50
  40. package/package.json +3 -2
  41. package/src/lib/constants/scarcity.ts +181 -0
  42. /package/dist/locales/{4.3.63 → 4.3.65}/flow/de.js +0 -0
  43. /package/dist/locales/{4.3.63 → 4.3.65}/flow/es.js +0 -0
  44. /package/dist/locales/{4.3.63 → 4.3.65}/flow/fr.js +0 -0
  45. /package/dist/locales/{4.3.63 → 4.3.65}/flow/id.js +0 -0
  46. /package/dist/locales/{4.3.63 → 4.3.65}/flow/it.js +0 -0
  47. /package/dist/locales/{4.3.63 → 4.3.65}/flow/ja.js +0 -0
  48. /package/dist/locales/{4.3.63 → 4.3.65}/flow/ko.js +0 -0
  49. /package/dist/locales/{4.3.63 → 4.3.65}/flow/nl.js +0 -0
  50. /package/dist/locales/{4.3.63 → 4.3.65}/flow/pl.js +0 -0
  51. /package/dist/locales/{4.3.63 → 4.3.65}/flow/pt-br.js +0 -0
  52. /package/dist/locales/{4.3.63 → 4.3.65}/flow/tr.js +0 -0
  53. /package/dist/locales/{4.3.63 → 4.3.65}/flow/zh.js +0 -0
  54. /package/dist/locales/{4.3.63 → 4.3.65}/main/de.js +0 -0
  55. /package/dist/locales/{4.3.63 → 4.3.65}/main/es.js +0 -0
  56. /package/dist/locales/{4.3.63 → 4.3.65}/main/fr.js +0 -0
  57. /package/dist/locales/{4.3.63 → 4.3.65}/main/id.js +0 -0
  58. /package/dist/locales/{4.3.63 → 4.3.65}/main/it.js +0 -0
  59. /package/dist/locales/{4.3.63 → 4.3.65}/main/ja.js +0 -0
  60. /package/dist/locales/{4.3.63 → 4.3.65}/main/ko.js +0 -0
  61. /package/dist/locales/{4.3.63 → 4.3.65}/main/nl.js +0 -0
  62. /package/dist/locales/{4.3.63 → 4.3.65}/main/pl.js +0 -0
  63. /package/dist/locales/{4.3.63 → 4.3.65}/main/pt-br.js +0 -0
  64. /package/dist/locales/{4.3.63 → 4.3.65}/main/tr.js +0 -0
  65. /package/dist/locales/{4.3.63 → 4.3.65}/main/zh.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { g as e } from "./sizing-CFDo_qh_.js";
2
2
  import { F as t, M as n, P as r, Q as i, X as a, et as o, nt as s, z as c } from "./orders-hXWbPM_g.js";
3
- import "./event-transform-CG6CJlbD.js";
3
+ import "./event-transform-L2ZTddgP.js";
4
4
  //#region node_modules/js-cookie/dist/js.cookie.mjs
5
5
  function l(e) {
6
6
  for (var t = 1; t < arguments.length; t++) {
@@ -23,24 +23,24 @@
23
23
  }
24
24
  })();
25
25
  import { g as e, m as t, v as n } from "./sizing-CFDo_qh_.js";
26
- import { a as r, i, n as a, o, t as s } from "./Calendar-DM7xqU81.js";
27
- import { t as c } from "./Input-CLSPTEMv.js";
28
- import { D as l, H as u, I as d, L as f, R as p, W as m, d as h, g, n as _, t as v, z as y } from "./scarcity-ClhXuC6t.js";
29
- import { t as ee } from "./ArrowLeftIcon-B2NmxWA9.js";
30
- import { t as b } from "./ChevronDownIcon-Dp1MGPEN.js";
31
- import { t as x } from "./TagIcon-CfyFlUh_.js";
32
- import { t as S } from "./WarningTriIcon-C2oaxNjx.js";
26
+ import { a as r, i, n as a, o, t as s } from "./Calendar-BOweKeiV.js";
27
+ import { t as c } from "./Input-BT3hf13K.js";
28
+ import { D as l, H as u, I as d, L as f, R as p, W as m, g as h, h as g, l as _, m as v, z as y } from "./datetime-ClxISJBt.js";
29
+ import { t as ee } from "./ArrowLeftIcon-DcG0YVCM.js";
30
+ import { t as b } from "./ChevronDownIcon-ClOg3b7E.js";
31
+ import { t as x } from "./TagIcon-CFtOYvWM.js";
32
+ import { t as S } from "./WarningTriIcon-flvVXH1d.js";
33
33
  import { O as C, b as w, g as T, m as te, n as ne, t as E, x as D } from "./defaultLabels-DdcEwzXA.js";
34
34
  import { r as re, t as ie } from "./Button-CsbNNvbX.js";
35
35
  import { A as ae, B as O, D as oe, E as k, I as A, J as se, K as j, L as M, O as N, P, R as F, S as ce, T as le, W as ue, X as de, Y as I, Z as fe, b as pe, d as me, et as he, g as ge, h as _e, k as ve, q as ye, tt as be, y as xe, z as Se } from "./orders-hXWbPM_g.js";
36
- import { B as Ce, D as we, F as Te, O as Ee, _ as De, d as Oe, k as ke, m as Ae, u as je, y as L } from "./api-BX4Imu-R.js";
36
+ import { B as Ce, D as we, F as Te, O as Ee, _ as De, d as Oe, k as ke, m as Ae, u as je, y as L } from "./api-Vyamuo2p.js";
37
37
  import { t as Me } from "./LiveRegion-D9Me4kBs.js";
38
38
  import { a as R, i as Ne, n as z, r as Pe, t as Fe } from "./ModalFooter-D-09FodC.js";
39
39
  import { t as B } from "./lazyOnce-CCfEO1xG.js";
40
40
  import { t as Ie } from "./EmptyState-DxahojFY.js";
41
- import { a as V, i as Le, n as H, o as Re, s as U, t as W } from "./to-event-card-props-DObG6xUq.js";
41
+ import { a as V, i as Le, n as H, o as Re, s as U, t as W } from "./to-event-card-props-CmDQ3iGb.js";
42
42
  import { a as ze, i as Be, l as Ve, n as He, o as Ue, s as We, t as Ge, u as Ke } from "./pixels-DziDyEAP.js";
43
- import { n as qe, r as G } from "./event-transform-CG6CJlbD.js";
43
+ import { n as qe, r as G } from "./event-transform-L2ZTddgP.js";
44
44
  import { n as Je } from "./eventStatusStream--a-Q0-7h.js";
45
45
  import { t as Ye } from "./i18n-CmoV3PXL.js";
46
46
  import "svelte/internal/disclose-version";
@@ -914,7 +914,7 @@ function _n(e, n) {
914
914
  day: "",
915
915
  weekday: ""
916
916
  };
917
- let t = h(e.startDateTime, e.timeZone, n.locale);
917
+ let t = _(e.startDateTime, e.timeZone, n.locale);
918
918
  return {
919
919
  month: t.month.toUpperCase(),
920
920
  day: String(t.date).padStart(2, "0"),
@@ -933,9 +933,9 @@ function _n(e, n) {
933
933
  items: t
934
934
  }));
935
935
  });
936
- var m = gn(), g = K.child(m);
937
- let _;
938
- K.each(g, 21, () => K.get(p), (e) => e.date, (e, r) => {
936
+ var m = gn(), h = K.child(m);
937
+ let g;
938
+ K.each(h, 21, () => K.get(p), (e) => e.date, (e, r) => {
939
939
  var o = hn(), s = K.child(o), l = (e) => {
940
940
  var n = mn(), i = K.child(n), a = K.child(i, !0);
941
941
  K.reset(i);
@@ -970,8 +970,8 @@ function _n(e, n) {
970
970
  onpillclick: (e) => n.oneventClick?.(K.get(r).pillEvents[e] ?? K.get(t).event)
971
971
  }));
972
972
  }), K.reset(f), K.reset(o), K.append(e, o);
973
- }), K.reset(g);
974
- var v = K.sibling(g, 2), y = (e) => {
973
+ }), K.reset(h);
974
+ var v = K.sibling(h, 2), y = (e) => {
975
975
  {
976
976
  let t = K.derived(() => i().noUpcomingEvents || "No upcoming events");
977
977
  Ie(e, { get message() {
@@ -982,7 +982,7 @@ function _n(e, n) {
982
982
  K.if(v, (e) => {
983
983
  K.get(p).length === 0 && e(y);
984
984
  }), K.reset(m), K.template_effect(() => {
985
- K.set_attribute(m, "data-size", l()), _ = K.set_class(g, 1, "date-list svelte-1e2kc2t", null, _, { "no-date-column": !a() });
985
+ K.set_attribute(m, "data-size", l()), g = K.set_class(h, 1, "date-list svelte-1e2kc2t", null, g, { "no-date-column": !a() });
986
986
  }), K.append(e, m), K.pop();
987
987
  }
988
988
  //#endregion
@@ -1774,7 +1774,7 @@ function Or(e, n) {
1774
1774
  Qt({
1775
1775
  widgetId: pe(),
1776
1776
  treatmentShare: typeof e == "number" ? e : void 0
1777
- }) === "treatment" && import("./CalendarFoundryView-uG2d_J_1.js").then((e) => {
1777
+ }) === "treatment" && import("./CalendarFoundryView-CcOPZ_Nu.js").then((e) => {
1778
1778
  K.get(V) && (K.set(bt, e.default, !0), K.set(yt, !0));
1779
1779
  }).catch((e) => br.error("Foundry calendar load failed:", e));
1780
1780
  }
@@ -1929,7 +1929,7 @@ function Or(e, n) {
1929
1929
  }
1930
1930
  }
1931
1931
  async function vn(e) {
1932
- e === "series" ? K.get(et) || K.set(et, (await import("./SeriesPage-BJf6QYfI.js")).default, !0) : e === "collection" ? K.get(rt) || K.set(rt, (await import("./CollectionView-CbpcbtPQ.js")).default, !0) : K.get($e) || K.set($e, (await import("./EventPage-EMPylUho.js")).default, !0);
1932
+ e === "series" ? K.get(et) || K.set(et, (await import("./SeriesPage-DhmD95h9.js")).default, !0) : e === "collection" ? K.get(rt) || K.set(rt, (await import("./CollectionView-PRegJwQb.js")).default, !0) : K.get($e) || K.set($e, (await import("./EventPage-BGYvfkiB.js")).default, !0);
1933
1933
  }
1934
1934
  async function yn({ type: e, id: t, slug: n = "", data: r = null, initialEventData: i = null, pushHash: a = !0 }) {
1935
1935
  G++, K.set(U, {
@@ -1990,7 +1990,7 @@ function Or(e, n) {
1990
1990
  block: "start",
1991
1991
  behavior: "auto"
1992
1992
  });
1993
- }), K.get(it) || K.set(it, (await import("./Checkout-AGHr3pGm.js")).default, !0);
1993
+ }), K.get(it) || K.set(it, (await import("./Checkout-9Qi44T1Y.js")).default, !0);
1994
1994
  }
1995
1995
  async function wn(e) {
1996
1996
  G++, K.set(W, e || {}, !0), K.set(H, "success"), typeof window < "u" && requestAnimationFrame(() => {
@@ -1998,7 +1998,7 @@ function Or(e, n) {
1998
1998
  block: "start",
1999
1999
  behavior: "auto"
2000
2000
  });
2001
- }), K.get(at) || K.set(at, (await import("./Success-Cbpn0t0r.js")).default, !0);
2001
+ }), K.get(at) || K.set(at, (await import("./Success-Cgrr7FqT.js")).default, !0);
2002
2002
  }
2003
2003
  function Tn() {
2004
2004
  K.get(U) ? yn({
@@ -2793,7 +2793,7 @@ function Fr(e, t) {
2793
2793
  return t && n;
2794
2794
  });
2795
2795
  if (n.length === 0) return null;
2796
- let r = n.map((e) => g({
2796
+ let r = n.map((e) => v({
2797
2797
  price: e.price,
2798
2798
  fee: e.fee
2799
2799
  })).filter((e) => e != null);
@@ -3445,7 +3445,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
3445
3445
  }
3446
3446
  //#endregion
3447
3447
  //#region src/lib/VenueCalendar.js
3448
- var li = "4.3.63", ui = e("VenueCalendar"), di = null;
3448
+ var li = "4.3.65", ui = e("VenueCalendar"), di = null;
3449
3449
  function fi(e = {}) {
3450
3450
  typeof e.onError == "function" && (di = e.onError, A({ onError: (t) => {
3451
3451
  try {
@@ -3476,14 +3476,14 @@ function hi(e, t) {
3476
3476
  return mi.has(e) || mi.set(e, t()), mi.get(e);
3477
3477
  }
3478
3478
  var $ = {
3479
- EventPage: () => hi("EventPage", () => import("./EventPage-EMPylUho.js").then((e) => e.default)),
3480
- Checkout: () => hi("Checkout", () => import("./Checkout-AGHr3pGm.js").then((e) => e.default)),
3481
- Success: () => hi("Success", () => import("./Success-Cbpn0t0r.js").then((e) => e.default)),
3482
- CartView: () => hi("CartView", () => import("./CartView-C3yY3Umt.js").then((e) => e.default)),
3479
+ EventPage: () => hi("EventPage", () => import("./EventPage-BGYvfkiB.js").then((e) => e.default)),
3480
+ Checkout: () => hi("Checkout", () => import("./Checkout-9Qi44T1Y.js").then((e) => e.default)),
3481
+ Success: () => hi("Success", () => import("./Success-Cgrr7FqT.js").then((e) => e.default)),
3482
+ CartView: () => hi("CartView", () => import("./CartView-YNf1axYi.js").then((e) => e.default)),
3483
3483
  ViewTicketsEmbed: () => hi("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-C6YkgADR.js").then((e) => e.default)),
3484
- CheckoutMain: () => hi("CheckoutMain", () => import("./Checkout-D5xQo_-j.js").then((e) => e.default)),
3485
- SeriesPage: () => hi("SeriesPage", () => import("./SeriesPage-BJf6QYfI.js").then((e) => e.default)),
3486
- CollectionView: () => hi("CollectionView", () => import("./CollectionView-CbpcbtPQ.js").then((e) => e.default))
3484
+ CheckoutMain: () => hi("CheckoutMain", () => import("./Checkout-ipuGLBT2.js").then((e) => e.default)),
3485
+ SeriesPage: () => hi("SeriesPage", () => import("./SeriesPage-DhmD95h9.js").then((e) => e.default)),
3486
+ CollectionView: () => hi("CollectionView", () => import("./CollectionView-PRegJwQb.js").then((e) => e.default))
3487
3487
  };
3488
3488
  function gi(e, t) {
3489
3489
  let n;
@@ -3761,4 +3761,4 @@ var zi = {
3761
3761
  CheckoutMain: $.CheckoutMain
3762
3762
  };
3763
3763
  //#endregion
3764
- export { Di as CartView, Ti as Checkout, ki as CheckoutMain, ji as CollectionView, wi as EventPage, v as SCARCITY_THRESHOLDS, Ai as SeriesPage, Ei as Success, Or as VenueCalendar, Oi as ViewTicketsEmbed, on as applySchemeColors, Qr as applyTheme, Ci as autoMount, sn as clearSchemeColors, _ as computeScarcityLevel, fi as configureVenueCalendar, Yr as darkTheme, zi as default, $r as generateThemeCSS, Xr as highContrastTheme, Ri as initCart, Li as initCartView, Pi as initCheckout, Ni as initCheckoutView, Mi as initEventPage, Ii as initSuccess, Fi as initSuccessView, bi as initVenueCalendar, Jr as lightTheme, pi as reportError, an as schemeColorsToCSSVars, Zr as themes, it as unmount };
3764
+ export { Di as CartView, Ti as Checkout, ki as CheckoutMain, ji as CollectionView, wi as EventPage, g as SCARCITY_THRESHOLDS, Ai as SeriesPage, Ei as Success, Or as VenueCalendar, Oi as ViewTicketsEmbed, on as applySchemeColors, Qr as applyTheme, Ci as autoMount, sn as clearSchemeColors, h as computeScarcityLevel, fi as configureVenueCalendar, Yr as darkTheme, zi as default, $r as generateThemeCSS, Xr as highContrastTheme, Ri as initCart, Li as initCartView, Pi as initCheckout, Ni as initCheckoutView, Mi as initEventPage, Ii as initSuccess, Fi as initSuccessView, bi as initVenueCalendar, Jr as lightTheme, pi as reportError, an as schemeColorsToCSSVars, Zr as themes, it as unmount };