@getmicdrop/venue-calendar 4.3.7 → 4.3.9

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 (99) hide show
  1. package/dist/{ArrowLeftIcon-DvOokN4u.js → ArrowLeftIcon-B6RmtBIh.js} +1 -1
  2. package/dist/{Badge-Gg5PWs7f.js → Badge-DsuBHDo4.js} +1 -2
  3. package/dist/{BlockPlaceholder-C2PUGPNA.js → BlockPlaceholder-BvArmbbO.js} +2 -2
  4. package/dist/{Button-Cm6xkipe.js → Button-CxQO7vwF.js} +88 -63
  5. package/dist/{Calendar-BnqBcrZv.js → Calendar-Dei3Ahdk.js} +113 -105
  6. package/dist/{CalendarFoundryView-L97Allfg.js → CalendarFoundryView-Df10CTZS.js} +5398 -5389
  7. package/dist/{CalendarIcon-DvhQ-GaL.js → CalendarIcon-DJh5V_U9.js} +1 -1
  8. package/dist/CartView-DPzvlZwV.js +2245 -0
  9. package/dist/Checkout-CZGmzTDh.js +983 -0
  10. package/dist/{Checkout-DQWeMchu.js → Checkout-CaamQTXi.js} +368 -368
  11. package/dist/{CheckoutTimer-8tVmatUn.js → CheckoutTimer-BubF7ziC.js} +15 -15
  12. package/dist/{ChevronDownIcon-DyNmV5XZ.js → ChevronDownIcon-MTzda9yz.js} +1 -1
  13. package/dist/{ClockIcon-dOWVO61o.js → ClockIcon-Dit8R1GZ.js} +1 -1
  14. package/dist/{CloseIcon-a3S2RgbP.js → CloseIcon-XqvbBmiA.js} +1 -1
  15. package/dist/{CollectionView-CAMsmrmW.js → CollectionView-B_rrXaQH.js} +17 -17
  16. package/dist/CropImage-mVbYhD9Y.js +527 -0
  17. package/dist/{Event-BQgaaFkh.js → Event-WtVZMQfA.js} +585 -585
  18. package/dist/EventPage-B14U0-Hm.js +1147 -0
  19. package/dist/{Heading-cKAx0Ogl.js → Heading-PKl9dm72.js} +3 -4
  20. package/dist/{Image-CNZLcePz.js → Image-BWo4QBld.js} +12 -13
  21. package/dist/{Input-D1FpSX5Q.js → Input-Bl1wqeUH.js} +2 -2
  22. package/dist/{MailIcon-CR_eGi6n.js → MailIcon-DQTusrr4.js} +1 -1
  23. package/dist/{Modal-LkN8lh_m.js → Modal-CDIhIlu-.js} +2 -2
  24. package/dist/ModalFooter-DwkZn9ls.js +471 -0
  25. package/dist/ModalHeader-BSsyLaXY.js +18 -0
  26. package/dist/{PasswordInput-Bt6tvpzi.js → PasswordInput-CnjRiZJ7.js} +2 -2
  27. package/dist/{ScarcityBadge-g0dRh6K7.js → ScarcityBadge-B4e3Z_Oz.js} +24 -24
  28. package/dist/{SeriesPage-CNRwP2W0.js → SeriesPage-DszQMCy9.js} +5 -5
  29. package/dist/{Spinner-LroI7eOC.js → Spinner-BRgBJYJn.js} +2 -2
  30. package/dist/{Success--2NRdG0V.js → Success-BYVtvNeO.js} +106 -106
  31. package/dist/{TagIcon-BhLrURo_.js → TagIcon-BAZxGlbC.js} +1 -1
  32. package/dist/{ViewTicketsEmbed-CvuMdTA7.js → ViewTicketsEmbed-BHDAkYuv.js} +97 -97
  33. package/dist/{WarningCircleIcon-BxBY0OMQ.js → WarningCircleIcon-SBK0lpqR.js} +1 -1
  34. package/dist/{WarningTriIcon-QVzQiEM4.js → WarningTriIcon-Bj3xpe3S.js} +1 -1
  35. package/dist/{__SKIP_PATHS__-B0_APtpt.js → __SKIP_PATHS__-B3-kZeYN.js} +1 -1
  36. package/dist/api/api.cjs +1 -1
  37. package/dist/api/api.mjs +239 -237
  38. package/dist/{colors-BsP3TRan.js → api-CTiZ6rza.js} +243 -244
  39. package/dist/{browser-viCaCwoW.js → browser-CziWLQ0z.js} +1 -1
  40. package/dist/{constants-PBNG9ikv.js → constants-rFRS1lF-.js} +1 -1
  41. package/dist/{copyToClipboard-B2F5d6Cj.js → copyToClipboard-C5D-wCS_.js} +1 -1
  42. package/dist/{defaultLabels-BigaGqKj.js → defaultLabels-CpurXn7c.js} +337 -361
  43. package/dist/{event-rtg4-kWS.js → event-d06xVg2P.js} +1 -1
  44. package/dist/{event-transform-J7U1JmeK.js → event-transform-BjPTqPq1.js} +31 -31
  45. package/dist/{eventStatusStream-CJVT_9Gu.js → eventStatusStream-BhQUTdOZ.js} +2 -2
  46. package/dist/{href-Dx7B6ZiQ.js → href-DMLDnIDe.js} +3 -3
  47. package/dist/{i18n-sO8wTASy.js → i18n--3wPB7-n.js} +2 -2
  48. package/dist/{i18n-C0aOwSpF.js → i18n-CASpRf85.js} +135 -135
  49. package/dist/imageOptimizer-D8g9XVns.js +141 -0
  50. package/dist/{labels-BBFJnXep.js → labels-IV_I9087.js} +14 -14
  51. package/dist/modalManager.svelte-Cz_6x1Qd.js +37 -0
  52. package/dist/{order-totals-DR-oXumr.js → order-totals-Buq9HeZa.js} +33 -33
  53. package/dist/{orders-CFF0Hb2x.js → orders-BK47iONR.js} +2 -2
  54. package/dist/{phoneUtils-C2GGZYvA.js → phoneUtils-YjT5IJ25.js} +1 -1
  55. package/dist/{pixels-M4FTi1Of.js → pixels-DjK-0XYz.js} +3 -3
  56. package/dist/{promo--p3GbP64.js → promo-DkM9sLly.js} +1 -1
  57. package/dist/{serverTotals-Dbi69SIr.js → serverTotals-CvJBYArq.js} +1 -1
  58. package/dist/{shareCopyFeedback.svelte-Cb2Mdn0z.js → shareCopyFeedback.svelte-oxKGmiOe.js} +65 -65
  59. package/dist/{showcase-state-options-BZGCm4wo.js → showcase-state-options-x_9iSBsd.js} +1 -1
  60. package/dist/{to-event-card-props-dIhKdERf.js → to-event-card-props-9y7sVBi_.js} +49 -49
  61. package/dist/types/index.d.ts +39 -0
  62. package/dist/{utils-CbacksjX.js → utils-D80jLqKH.js} +3 -3
  63. package/dist/venue-calendar.css +1 -1
  64. package/dist/venue-calendar.es.js +1515 -1506
  65. package/dist/venue-calendar.iife.js +54 -54
  66. package/dist/venue-calendar.umd.js +54 -54
  67. package/package.json +2 -2
  68. package/dist/CartView-D57bwixz.js +0 -2245
  69. package/dist/Checkout-wUH2YI1N.js +0 -980
  70. package/dist/CropImage-CxLcNArr.js +0 -445
  71. package/dist/EventPage-B9shaVEP.js +0 -1146
  72. package/dist/ModalFooter-B_8f1Z5p.js +0 -301
  73. package/dist/imageOptimizer-BwLwBMI6.js +0 -112
  74. package/dist/modalManager.svelte-B9mhX1cG.js +0 -53
  75. package/dist/portal-DqxEuE-7.js +0 -166
  76. /package/dist/locales/{4.3.7 → 4.3.9}/flow/de.js +0 -0
  77. /package/dist/locales/{4.3.7 → 4.3.9}/flow/es.js +0 -0
  78. /package/dist/locales/{4.3.7 → 4.3.9}/flow/fr.js +0 -0
  79. /package/dist/locales/{4.3.7 → 4.3.9}/flow/id.js +0 -0
  80. /package/dist/locales/{4.3.7 → 4.3.9}/flow/it.js +0 -0
  81. /package/dist/locales/{4.3.7 → 4.3.9}/flow/ja.js +0 -0
  82. /package/dist/locales/{4.3.7 → 4.3.9}/flow/ko.js +0 -0
  83. /package/dist/locales/{4.3.7 → 4.3.9}/flow/nl.js +0 -0
  84. /package/dist/locales/{4.3.7 → 4.3.9}/flow/pl.js +0 -0
  85. /package/dist/locales/{4.3.7 → 4.3.9}/flow/pt-br.js +0 -0
  86. /package/dist/locales/{4.3.7 → 4.3.9}/flow/tr.js +0 -0
  87. /package/dist/locales/{4.3.7 → 4.3.9}/flow/zh.js +0 -0
  88. /package/dist/locales/{4.3.7 → 4.3.9}/main/de.js +0 -0
  89. /package/dist/locales/{4.3.7 → 4.3.9}/main/es.js +0 -0
  90. /package/dist/locales/{4.3.7 → 4.3.9}/main/fr.js +0 -0
  91. /package/dist/locales/{4.3.7 → 4.3.9}/main/id.js +0 -0
  92. /package/dist/locales/{4.3.7 → 4.3.9}/main/it.js +0 -0
  93. /package/dist/locales/{4.3.7 → 4.3.9}/main/ja.js +0 -0
  94. /package/dist/locales/{4.3.7 → 4.3.9}/main/ko.js +0 -0
  95. /package/dist/locales/{4.3.7 → 4.3.9}/main/nl.js +0 -0
  96. /package/dist/locales/{4.3.7 → 4.3.9}/main/pl.js +0 -0
  97. /package/dist/locales/{4.3.7 → 4.3.9}/main/pt-br.js +0 -0
  98. /package/dist/locales/{4.3.7 → 4.3.9}/main/tr.js +0 -0
  99. /package/dist/locales/{4.3.7 → 4.3.9}/main/zh.js +0 -0
@@ -1,4 +1,4 @@
1
- import { b as e } from "./defaultLabels-BigaGqKj.js";
1
+ import { b as e } from "./defaultLabels-CpurXn7c.js";
2
2
  //#region node_modules/@getmicdrop/svelte-components/dist/utils/imageUrl.js
3
3
  function t(e, t) {
4
4
  if (typeof e == "string") return e;
@@ -1,14 +1,14 @@
1
- import { x as e } from "./defaultLabels-BigaGqKj.js";
2
- import { a as t, c as n, f as r, p as i, u as a } from "./constants-PBNG9ikv.js";
3
- import { n as o, t as s } from "./event-rtg4-kWS.js";
4
- import { A as c, E as l, O as u, j as d, k as f, r as p } from "./colors-BsP3TRan.js";
1
+ import { a as e, c as t, f as n, p as r, u as i } from "./constants-rFRS1lF-.js";
2
+ import { x as a } from "./defaultLabels-CpurXn7c.js";
3
+ import { n as o, t as s } from "./event-d06xVg2P.js";
4
+ import { A as c, C as l, E as u, O as d, j as f, k as p } from "./api-CTiZ6rza.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="${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
- <text x="100" y="210" text-anchor="middle" font-family="system-ui, sans-serif" font-size="14" fill="${p[500]}">Event Image</text>
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"/>
11
+ <text x="100" y="210" text-anchor="middle" font-family="system-ui, sans-serif" font-size="14" fill="${l[500]}">Event Image</text>
12
12
  </svg>`);
13
13
  function h(e) {
14
14
  return o(e, { placeholder: m });
@@ -34,7 +34,7 @@ function y(e, t, n) {
34
34
  function b(e, t) {
35
35
  if (!e.startDateTime) return "";
36
36
  try {
37
- return e.endDateTime ? r(e.startDateTime, e.endDateTime, t) : a(e.startDateTime, t);
37
+ return e.endDateTime ? n(e.startDateTime, e.endDateTime, t) : i(e.startDateTime, t);
38
38
  } catch {
39
39
  let n = {
40
40
  hour: "numeric",
@@ -53,7 +53,7 @@ function x(e, t) {
53
53
  dateOfMonth: ""
54
54
  };
55
55
  try {
56
- let n = i(e, t);
56
+ let n = r(e, t);
57
57
  return {
58
58
  day: n.day,
59
59
  month: n.month,
@@ -71,21 +71,21 @@ var S = {
71
71
  BROWSE: "browse",
72
72
  DETAIL: "detail"
73
73
  };
74
- function C(t, n = { mode: S.DETAIL }) {
75
- let { mode: r = S.DETAIL } = n;
76
- if (!t) return r === S.BROWSE ? D() : O();
77
- let i = s(t), a = e(i.timeZone || i.timezone), o = h(t), c = {
78
- id: i.id,
79
- name: i.title || "",
74
+ function C(e, t = { mode: S.DETAIL }) {
75
+ let { mode: n = S.DETAIL } = t;
76
+ if (!e) return n === S.BROWSE ? D() : O();
77
+ let r = s(e), i = a(r.timeZone || r.timezone), o = h(e), c = {
78
+ id: r.id,
79
+ name: r.title || "",
80
80
  image: o,
81
- timeZone: a,
82
- startDateTime: i.startDateTime || null,
83
- salesStatus: i.salesStatus
81
+ timeZone: i,
82
+ startDateTime: r.startDateTime || null,
83
+ salesStatus: r.salesStatus
84
84
  };
85
- return r === S.BROWSE ? w(t, i, c, a) : T(t, i, c, a, o);
85
+ return n === S.BROWSE ? w(e, r, c, i) : T(e, r, c, i, o);
86
86
  }
87
- function w(e, n, r, i) {
88
- let a = n.startDateTime ? t(n.startDateTime, i) : "", o;
87
+ function w(t, n, r, i) {
88
+ let a = n.startDateTime ? e(n.startDateTime, i) : "", o;
89
89
  if (typeof n.ticketsRemaining == "number" && typeof n.ticketsTotal == "number") {
90
90
  let e = n.ticketsRemaining, t = n.ticketsTotal;
91
91
  o = {
@@ -94,11 +94,11 @@ function w(e, n, r, i) {
94
94
  isSoldOut: t > 0 && e <= 0
95
95
  };
96
96
  } else {
97
- let t = c(e.availableTickets || [], {
97
+ let e = c(t.availableTickets || [], {
98
98
  excludeDoorOnly: !0,
99
99
  publicOnly: !1
100
100
  });
101
- o = u(t);
101
+ o = d(e);
102
102
  }
103
103
  return {
104
104
  ...r,
@@ -111,7 +111,7 @@ function w(e, n, r, i) {
111
111
  ticketsRemaining: o.totalRemaining,
112
112
  ticketsTotal: o.totalCapacity,
113
113
  isSoldOut: o.isSoldOut,
114
- hasPurchasableHiddenTickets: l(e),
114
+ hasPurchasableHiddenTickets: u(t),
115
115
  stageId: n.stageId ?? null,
116
116
  eventCategoryTypes: n.eventCategoryTypes ?? null,
117
117
  ageRestriction: n.ageRestriction ?? null,
@@ -122,7 +122,7 @@ function w(e, n, r, i) {
122
122
  function T(e, t, n, r, i) {
123
123
  let a = (e.availableTickets || []).map((e) => ({
124
124
  ...e,
125
- status: f(e)
125
+ status: p(e)
126
126
  })), o = c(a, {
127
127
  excludeDoorOnly: !1,
128
128
  publicOnly: !0
@@ -140,13 +140,13 @@ function T(e, t, n, r, i) {
140
140
  location: t.venue?.googleLocationNameCache || t.venue?.address || "",
141
141
  ...s,
142
142
  coverImage: i,
143
- price: d(e.availableTickets),
143
+ price: f(e.availableTickets),
144
144
  status: t.status || "On Sale",
145
145
  eventSummary: t.eventSummary,
146
146
  password: t.password,
147
147
  availableTickets: a,
148
148
  publicTickets: o,
149
- hasPurchasableHiddenTickets: l(e),
149
+ hasPurchasableHiddenTickets: u(e),
150
150
  doorsOpenTime: t.doorsOpenTime,
151
151
  venue: t.venue,
152
152
  venueID: t.venueId,
@@ -167,8 +167,8 @@ function T(e, t, n, r, i) {
167
167
  displayAgeRestriction: t.displayAgeRestriction ?? !1
168
168
  };
169
169
  }
170
- function E(e, t) {
171
- return e && n(e, t, {
170
+ function E(e, n) {
171
+ return e && t(e, n, {
172
172
  weekday: "short",
173
173
  month: "short",
174
174
  day: "numeric",
@@ -1,5 +1,5 @@
1
- import { x as e } from "./Button-Cm6xkipe.js";
2
- import { H as t, I as n } from "./orders-CFF0Hb2x.js";
1
+ import { x as e } from "./Button-CxQO7vwF.js";
2
+ import { H as t, I as n } from "./orders-BK47iONR.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -1,6 +1,6 @@
1
- import { _ as e } from "./Button-Cm6xkipe.js";
2
- import { J as t } from "./constants-PBNG9ikv.js";
3
- import { t as n } from "./Image-CNZLcePz.js";
1
+ import { _ as e } from "./Button-CxQO7vwF.js";
2
+ import { J as t } from "./constants-rFRS1lF-.js";
3
+ import { t as n } from "./Image-BWo4QBld.js";
4
4
  import "svelte/internal/disclose-version";
5
5
  import * as r from "svelte/internal/client";
6
6
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/CheckCircleIcon.svelte
@@ -1,5 +1,5 @@
1
- import { t as e } from "./defaultLabels-BigaGqKj.js";
2
- import { l as t } from "./orders-CFF0Hb2x.js";
1
+ import { t as e } from "./defaultLabels-CpurXn7c.js";
2
+ import { l as t } from "./orders-BK47iONR.js";
3
3
  //#endregion
4
4
  //#region src/lib/i18n/index.js
5
5
  var n = t({