@getmicdrop/venue-calendar 4.3.28 → 4.3.29

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 (47) hide show
  1. package/dist/{CartView-BPjgsEga.js → CartView-B_DCNrDS.js} +13 -13
  2. package/dist/{Checkout-DXLlFeQt.js → Checkout-CS5GDkWc.js} +82 -76
  3. package/dist/{Checkout-C_-n1pwp.js → Checkout-Ud28q5Hy.js} +6 -6
  4. package/dist/{CheckoutTimer-CcpFqxS6.js → CheckoutTimer-BP6B5azC.js} +1 -1
  5. package/dist/{CollectionView-CYExmoIj.js → CollectionView-ACiii1J5.js} +3 -3
  6. package/dist/{Event-KtmxFqeh.js → Event-BJlo9YTD.js} +4 -4
  7. package/dist/{EventPage-J_nFTC87.js → EventPage-D1ajrjlw.js} +188 -192
  8. package/dist/{RecommendationsRail-CYvrLLwk.js → RecommendationsRail-CdP6VhHT.js} +1 -1
  9. package/dist/{SeriesPage-Dx4ynZvK.js → SeriesPage-Pq0b5Jfu.js} +2 -2
  10. package/dist/{Success-DIcOsoRG.js → Success-3_2VxjV6.js} +5 -5
  11. package/dist/api/api.cjs +1 -1
  12. package/dist/api/api.mjs +74 -70
  13. package/dist/api/index.d.ts +1 -1
  14. package/dist/api/waitlist.d.ts +2 -0
  15. package/dist/{api-DxEN4thz.js → api-Cjp9Xhh9.js} +5 -1
  16. package/dist/{constants-nRr7kzkT.js → constants-D4j-SbUf.js} +19 -19
  17. package/dist/{event-transform-y9eZBvZJ.js → event-transform-B608JYyE.js} +11 -11
  18. package/dist/{i18n-BYcNCekH.js → i18n-IC1KXPJh.js} +2 -2
  19. package/dist/{utils-CiFOOjQd.js → utils-CDgMSeSc.js} +1 -1
  20. package/dist/venue-calendar.es.js +733 -733
  21. package/dist/venue-calendar.iife.js +21 -21
  22. package/dist/venue-calendar.umd.js +26 -26
  23. package/package.json +2 -2
  24. /package/dist/locales/{4.3.28 → 4.3.29}/flow/de.js +0 -0
  25. /package/dist/locales/{4.3.28 → 4.3.29}/flow/es.js +0 -0
  26. /package/dist/locales/{4.3.28 → 4.3.29}/flow/fr.js +0 -0
  27. /package/dist/locales/{4.3.28 → 4.3.29}/flow/id.js +0 -0
  28. /package/dist/locales/{4.3.28 → 4.3.29}/flow/it.js +0 -0
  29. /package/dist/locales/{4.3.28 → 4.3.29}/flow/ja.js +0 -0
  30. /package/dist/locales/{4.3.28 → 4.3.29}/flow/ko.js +0 -0
  31. /package/dist/locales/{4.3.28 → 4.3.29}/flow/nl.js +0 -0
  32. /package/dist/locales/{4.3.28 → 4.3.29}/flow/pl.js +0 -0
  33. /package/dist/locales/{4.3.28 → 4.3.29}/flow/pt-br.js +0 -0
  34. /package/dist/locales/{4.3.28 → 4.3.29}/flow/tr.js +0 -0
  35. /package/dist/locales/{4.3.28 → 4.3.29}/flow/zh.js +0 -0
  36. /package/dist/locales/{4.3.28 → 4.3.29}/main/de.js +0 -0
  37. /package/dist/locales/{4.3.28 → 4.3.29}/main/es.js +0 -0
  38. /package/dist/locales/{4.3.28 → 4.3.29}/main/fr.js +0 -0
  39. /package/dist/locales/{4.3.28 → 4.3.29}/main/id.js +0 -0
  40. /package/dist/locales/{4.3.28 → 4.3.29}/main/it.js +0 -0
  41. /package/dist/locales/{4.3.28 → 4.3.29}/main/ja.js +0 -0
  42. /package/dist/locales/{4.3.28 → 4.3.29}/main/ko.js +0 -0
  43. /package/dist/locales/{4.3.28 → 4.3.29}/main/nl.js +0 -0
  44. /package/dist/locales/{4.3.28 → 4.3.29}/main/pl.js +0 -0
  45. /package/dist/locales/{4.3.28 → 4.3.29}/main/pt-br.js +0 -0
  46. /package/dist/locales/{4.3.28 → 4.3.29}/main/tr.js +0 -0
  47. /package/dist/locales/{4.3.28 → 4.3.29}/main/zh.js +0 -0
@@ -565,5 +565,9 @@ async function ke(e) {
565
565
  return Q.error("getWaitlistStatus error:", e), t;
566
566
  }
567
567
  }
568
+ function Ae(e) {
569
+ let t = String(e % 60).padStart(2, "0");
570
+ return e >= 3600 ? `${Math.floor(e / 3600)}:${String(Math.floor(e % 3600 / 60)).padStart(2, "0")}:${t}` : `${Math.floor(e / 60)}:${t}`;
571
+ }
568
572
  //#endregion
569
- export { S as A, O as C, E as D, re as E, w as M, y as O, j as S, M as T, _e as _, we as a, oe as b, be as c, de as d, K as f, me as g, pe as h, Oe as i, ne as j, C as k, ye as l, ge as m, De as n, Ee as o, ve as p, $ as r, Te as s, ke as t, W as u, ce as v, k as w, A as x, se as y };
573
+ export { C as A, j as C, re as D, M as E, ne as M, w as N, E as O, A as S, k as T, me as _, Oe as a, se as b, Te as c, W as d, de as f, pe as g, ge as h, $ as i, S as j, y as k, be as l, ve as m, ke as n, we as o, K as p, De as r, Ee as s, Ae as t, ye as u, _e as v, O as w, oe as x, ce as y };
@@ -1,18 +1,18 @@
1
- import { C as e, S as t, w as n, x as r } from "./api-DxEN4thz.js";
1
+ import { C as e, S as t, T as n, w as r } from "./api-Cjp9Xhh9.js";
2
2
  //#region src/lib/core/theme-engine.js
3
3
  var i = {
4
- primary: t.defaultThemePrimary,
5
- primaryHover: r.violet[700],
6
- secondary: r.green.emerald,
7
- accent: r.amber[500],
4
+ primary: e.defaultThemePrimary,
5
+ primaryHover: t.violet[700],
6
+ secondary: t.green.emerald,
7
+ accent: t.amber[500],
8
8
  background: n.background.primary,
9
- surface: e[50],
10
- surfaceHover: e[100],
11
- text: e[800],
12
- textMuted: e[500],
9
+ surface: r[50],
10
+ surfaceHover: r[100],
11
+ text: r[800],
12
+ textMuted: r[500],
13
13
  textOnPrimary: n.text.inverted,
14
- border: e[200],
15
- borderMuted: e[100],
14
+ border: r[200],
15
+ borderMuted: r[100],
16
16
  radiusSm: "4px",
17
17
  radiusMd: "8px",
18
18
  radiusLg: "12px",
@@ -27,18 +27,18 @@ var i = {
27
27
  shadowSm: "0 1px 2px rgba(0, 0, 0, 0.05)",
28
28
  shadowMd: "0 4px 6px rgba(0, 0, 0, 0.1)",
29
29
  shadowLg: "0 10px 15px rgba(0, 0, 0, 0.1)",
30
- badgeScarcityBg: r.red[600],
30
+ badgeScarcityBg: t.red[600],
31
31
  badgeScarcityText: n.text.inverted,
32
- badgeSoldOutBg: e[500],
32
+ badgeSoldOutBg: r[500],
33
33
  badgeSoldOutText: n.text.inverted,
34
- badgeAgeBg: r.amber[500],
35
- badgeAgeText: e[800],
36
- statusOnSale: r.green.emerald,
37
- statusSellingFast: r.amber[500],
38
- statusSoldOut: r.red[600],
34
+ badgeAgeBg: t.amber[500],
35
+ badgeAgeText: r[800],
36
+ statusOnSale: t.green.emerald,
37
+ statusSellingFast: t.amber[500],
38
+ statusSoldOut: t.red[600],
39
39
  spacingUnit: "4px"
40
40
  };
41
- ({ ...i }), { ...i }, r.violet[500], r.violet[400], e[900], e[800], e[700], e[50], e[400], e[700], e[600], { ...i }, e[700], e[800], n.background.primary, e[50], e[200], { ...i }, r.red[600], r.red[700], t.defaultThemePrimary;
41
+ ({ ...i }), { ...i }, t.violet[500], t.violet[400], r[900], r[800], r[700], r[50], r[400], r[700], r[600], { ...i }, r[700], r[800], n.background.primary, r[50], r[200], { ...i }, t.red[600], t.red[700], e.defaultThemePrimary;
42
42
  //#endregion
43
43
  //#region src/lib/public-calendar-flow/i18n/labels.js
44
44
  var a = {
@@ -1,13 +1,13 @@
1
1
  import { d as e, f as t, i as n, l as r, s as i } from "./scarcity-Dgvp7aCF.js";
2
2
  import { C as a } from "./defaultLabels-BgBbv_Mu.js";
3
3
  import { l as o, u as s } from "./navigation-Dh-hGmN9.js";
4
- import { A as c, C as l, E as u, M as d, j as f, k as p } from "./api-DxEN4thz.js";
4
+ import { A as c, D as l, M as u, N as d, j as f, w as p } from "./api-Cjp9Xhh9.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
- <rect width="200" height="300" fill="${l[200]}"/>
8
- <rect x="60" y="90" width="80" height="80" rx="10" fill="${l[300]}"/>
9
- <circle cx="85" cy="115" r="10" fill="${l[400]}"/>
10
- <path d="M70 155 L100 125 L130 155 L130 155" stroke="${l[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
7
+ <rect width="200" height="300" fill="${p[200]}"/>
8
+ <rect x="60" y="90" width="80" height="80" rx="10" fill="${p[300]}"/>
9
+ <circle cx="85" cy="115" r="10" fill="${p[400]}"/>
10
+ <path d="M70 155 L100 125 L130 155 L130 155" stroke="${p[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
11
11
  </svg>`);
12
12
  function h(e) {
13
13
  return s(e, { placeholder: m });
@@ -93,11 +93,11 @@ function w(e, t, r, i) {
93
93
  isSoldOut: n > 0 && e <= 0
94
94
  };
95
95
  } else {
96
- let t = f(e.availableTickets || [], {
96
+ let t = u(e.availableTickets || [], {
97
97
  excludeDoorOnly: !0,
98
98
  publicOnly: !1
99
99
  });
100
- o = p(t);
100
+ o = c(t);
101
101
  }
102
102
  return {
103
103
  ...r,
@@ -111,7 +111,7 @@ function w(e, t, r, i) {
111
111
  ticketsRemaining: o.totalRemaining,
112
112
  ticketsTotal: o.totalCapacity,
113
113
  isSoldOut: o.isSoldOut,
114
- hasPurchasableHiddenTickets: u(e),
114
+ hasPurchasableHiddenTickets: l(e),
115
115
  stageId: t.stageId ?? null,
116
116
  eventCategoryTypes: t.eventCategoryTypes ?? null,
117
117
  ageRestriction: t.ageRestriction ?? null,
@@ -122,8 +122,8 @@ function w(e, t, r, i) {
122
122
  function T(e, t, n, r, i) {
123
123
  let a = (e.availableTickets || []).map((e) => ({
124
124
  ...e,
125
- status: c(e)
126
- })), o = f(a, {
125
+ status: f(e)
126
+ })), o = u(a, {
127
127
  excludeDoorOnly: !1,
128
128
  publicOnly: !0
129
129
  }), s = x(t.startDateTime, r);
@@ -147,7 +147,7 @@ function T(e, t, n, r, i) {
147
147
  availableTickets: a,
148
148
  publicTickets: o,
149
149
  ...e.addOns ? { addOns: e.addOns } : {},
150
- hasPurchasableHiddenTickets: u(e),
150
+ hasPurchasableHiddenTickets: l(e),
151
151
  doorsOpenTime: t.doorsOpenTime,
152
152
  venue: t.venue,
153
153
  venueID: t.venueId,
@@ -2,8 +2,8 @@ import { D as e, G as t, S as n, _ as r, h as i, m as a, n as o, t as s } from "
2
2
  import { A as c, H as l, S as u, d, f, g as p, u as m, w as h, x as g } from "./defaultLabels-BgBbv_Mu.js";
3
3
  import { l as _ } from "./orders-BQRru8sl.js";
4
4
  import { t as v } from "./Text-CqjLjIF8.js";
5
- import { D as y } from "./api-DxEN4thz.js";
6
- import { n as b } from "./constants-nRr7kzkT.js";
5
+ import { O as y } from "./api-Cjp9Xhh9.js";
6
+ import { n as b } from "./constants-D4j-SbUf.js";
7
7
  import "svelte/internal/disclose-version";
8
8
  import * as x from "svelte/internal/client";
9
9
  //#region src/lib/api/cta.ts
@@ -1,6 +1,6 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
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-BQRru8sl.js";
3
- import "./event-transform-y9eZBvZJ.js";
3
+ import "./event-transform-B608JYyE.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++) {