@getmicdrop/venue-calendar 4.3.9 → 4.3.11

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 (117) hide show
  1. package/dist/{ArrowLeftIcon-B6RmtBIh.js → ArrowLeftIcon-BYu_Qbkb.js} +1 -1
  2. package/dist/{Badge-DsuBHDo4.js → Badge-DCHGGod2.js} +8 -9
  3. package/dist/{BlockPlaceholder-BvArmbbO.js → BlockPlaceholder-BoPMt_9Z.js} +2 -2
  4. package/dist/{Button-CxQO7vwF.js → Button-vmWb6wKc.js} +52 -23
  5. package/dist/{Calendar-Dei3Ahdk.js → Calendar-D11ctjrD.js} +286 -260
  6. package/dist/{CalendarFoundryView-Df10CTZS.js → CalendarFoundryView-DKhpjxnV.js} +4254 -4257
  7. package/dist/{CalendarIcon-DJh5V_U9.js → CalendarIcon-C8-UVSje.js} +1 -1
  8. package/dist/CartView-IqOekmQg.js +2245 -0
  9. package/dist/{Checkout-CZGmzTDh.js → Checkout-ByQsDGg3.js} +339 -317
  10. package/dist/Checkout-C0lQ0AwV.js +1846 -0
  11. package/dist/{CheckoutTimer-BubF7ziC.js → CheckoutTimer-B0E9KnHc.js} +3 -3
  12. package/dist/{ChevronDownIcon-MTzda9yz.js → ChevronDownIcon-C1uJ2yvz.js} +1 -1
  13. package/dist/{ClockIcon-Dit8R1GZ.js → ClockIcon-Dk9q65sX.js} +1 -1
  14. package/dist/{CloseIcon-XqvbBmiA.js → CloseIcon-CyR73vpD.js} +1 -1
  15. package/dist/{CollectionView-B_rrXaQH.js → CollectionView-B-CNyf9Z.js} +8 -8
  16. package/dist/{CropImage-mVbYhD9Y.js → CropImage-4WcoXkHt.js} +163 -153
  17. package/dist/{Event-WtVZMQfA.js → Event-B4x0sGkc.js} +1002 -730
  18. package/dist/{EventPage-B14U0-Hm.js → EventPage--xwhM503.js} +244 -237
  19. package/dist/{Heading-PKl9dm72.js → Heading-Br1Yqnvg.js} +1 -1
  20. package/dist/{Image-BWo4QBld.js → Image-M5RaWbKU.js} +1 -1
  21. package/dist/{Input-Bl1wqeUH.js → Input-Bk8lP6TX.js} +53 -53
  22. package/dist/{MailIcon-DQTusrr4.js → MailIcon-Ic2SruY-.js} +1 -1
  23. package/dist/{Modal-CDIhIlu-.js → Modal-CLeZUJ_i.js} +2 -2
  24. package/dist/{ModalFooter-DwkZn9ls.js → ModalFooter-CSoG_uic.js} +47 -48
  25. package/dist/{ModalHeader-BSsyLaXY.js → ModalHeader-DpKxDJT_.js} +2 -2
  26. package/dist/{PasswordInput-CnjRiZJ7.js → PasswordInput-BHj_lokg.js} +2 -2
  27. package/dist/{shareCopyFeedback.svelte-oxKGmiOe.js → RecommendationsRail-8AVZ0aLE.js} +204 -89
  28. package/dist/{ScarcityBadge-B4e3Z_Oz.js → ScarcityBadge-DakRfDx4.js} +11 -11
  29. package/dist/{SeriesPage-DszQMCy9.js → SeriesPage-BaOeDNb6.js} +5 -5
  30. package/dist/{Spinner-BRgBJYJn.js → Spinner-a1KCKWxZ.js} +2 -2
  31. package/dist/{Success-BYVtvNeO.js → Success-BtUgc4H7.js} +277 -244
  32. package/dist/{TagIcon-BAZxGlbC.js → TagIcon-BiYfs6T7.js} +1 -1
  33. package/dist/{ViewTicketsEmbed-BHDAkYuv.js → ViewTicketsEmbed-Lxg7n02-.js} +30 -30
  34. package/dist/{WarningCircleIcon-SBK0lpqR.js → WarningCircleIcon-AuYbQdPU.js} +1 -1
  35. package/dist/{WarningTriIcon-Bj3xpe3S.js → WarningTriIcon-BzI-tSDG.js} +1 -1
  36. package/dist/{__SKIP_PATHS__-B3-kZeYN.js → __SKIP_PATHS__-B3OPLTzA.js} +1 -1
  37. package/dist/api/api.cjs +1 -1
  38. package/dist/api/api.mjs +1 -1
  39. package/dist/{api-CTiZ6rza.js → api-C1M2t6HU.js} +5 -5
  40. package/dist/{browser-CziWLQ0z.js → browser-DrfMvEfn.js} +7 -7
  41. package/dist/{labels-IV_I9087.js → constants-YG4UeBdR.js} +17 -4
  42. package/dist/{copyToClipboard-C5D-wCS_.js → copyToClipboard-3SejVveg.js} +1 -1
  43. package/dist/{de-K0-gFyNH.js → de-CzupmMIa.js} +14 -1
  44. package/dist/{defaultLabels-CpurXn7c.js → defaultLabels-CXCsTwix.js} +16 -16
  45. package/dist/{es-DsZSuXW4.js → es-B-vQxM9Z.js} +14 -1
  46. package/dist/{event-d06xVg2P.js → event-DAjJ01GM.js} +1 -1
  47. package/dist/{event-transform-BjPTqPq1.js → event-transform-DNqGTQhp.js} +47 -46
  48. package/dist/{eventStatusStream-BhQUTdOZ.js → eventStatusStream-CLLN-Rvf.js} +2 -2
  49. package/dist/{fr-BmHldIKE.js → fr-B2g-kG7i.js} +14 -1
  50. package/dist/{href-DMLDnIDe.js → href-DuxMJt4c.js} +3 -3
  51. package/dist/{i18n-CASpRf85.js → i18n-Ct9Bo-Vp.js} +158 -108
  52. package/dist/{i18n--3wPB7-n.js → i18n-KdVjJUV5.js} +2 -2
  53. package/dist/{id-CBHA4B6C.js → id-Dgu5-FC6.js} +14 -1
  54. package/dist/{imageOptimizer-D8g9XVns.js → imageOptimizer-Ba8P7ZEJ.js} +12 -13
  55. package/dist/{it-CK6ravjO.js → it-C580sMYp.js} +14 -1
  56. package/dist/{ja-COO0Ibrr.js → ja-DLki4zXU.js} +14 -1
  57. package/dist/{ko-D8YqNrZs.js → ko-BUcfb1Gi.js} +14 -1
  58. package/dist/locales/4.3.11/flow/de.js +1 -0
  59. package/dist/locales/4.3.11/flow/es.js +1 -0
  60. package/dist/locales/4.3.11/flow/fr.js +1 -0
  61. package/dist/locales/4.3.11/flow/id.js +1 -0
  62. package/dist/locales/4.3.11/flow/it.js +1 -0
  63. package/dist/locales/4.3.11/flow/ja.js +1 -0
  64. package/dist/locales/4.3.11/flow/ko.js +1 -0
  65. package/dist/locales/4.3.11/flow/nl.js +1 -0
  66. package/dist/locales/4.3.11/flow/pl.js +1 -0
  67. package/dist/locales/4.3.11/flow/pt-br.js +1 -0
  68. package/dist/locales/4.3.11/flow/tr.js +1 -0
  69. package/dist/locales/4.3.11/flow/zh.js +1 -0
  70. package/dist/{nl-Bk3DPD7e.js → nl-CivAQA0D.js} +14 -1
  71. package/dist/order-totals-DyVkHVqG.js +151 -0
  72. package/dist/{orders-BK47iONR.js → orders-rH0WZYOW.js} +18 -18
  73. package/dist/{phoneUtils-YjT5IJ25.js → phoneUtils-BFrVEwkQ.js} +1 -1
  74. package/dist/{pixels-DjK-0XYz.js → pixels-mdd6C3Bk.js} +3 -3
  75. package/dist/{pl-CPmO94ic.js → pl-C5VwFH2B.js} +14 -1
  76. package/dist/{promo-DkM9sLly.js → promo-CTRn_F4t.js} +1 -1
  77. package/dist/{pt-br-Ch6NFhW6.js → pt-br-B0w9dhVB.js} +14 -1
  78. package/dist/{constants-rFRS1lF-.js → scarcity-Ccj5RlrR.js} +2 -5
  79. package/dist/{serverTotals-CvJBYArq.js → serverTotals-Dk3z9sIA.js} +1 -1
  80. package/dist/{showcase-state-options-x_9iSBsd.js → showcase-state-options-8-egiV5-.js} +1 -1
  81. package/dist/{to-event-card-props-9y7sVBi_.js → to-event-card-props-a4k6D100.js} +9 -9
  82. package/dist/{tr-CXnalLJT.js → tr-LGkP5gpA.js} +14 -1
  83. package/dist/{utils-D80jLqKH.js → utils-BseYYrbn.js} +82 -78
  84. package/dist/venue-calendar.css +1 -1
  85. package/dist/venue-calendar.es.js +89 -91
  86. package/dist/venue-calendar.iife.js +48 -49
  87. package/dist/venue-calendar.umd.js +43 -44
  88. package/dist/{zh-CM2J1Py4.js → zh-D2ZAdq3T.js} +14 -1
  89. package/package.json +2 -2
  90. package/dist/CartView-DPzvlZwV.js +0 -2245
  91. package/dist/Checkout-CaamQTXi.js +0 -1846
  92. package/dist/keyboard-fiZFqeNA.js +0 -29
  93. package/dist/locales/4.3.9/flow/de.js +0 -1
  94. package/dist/locales/4.3.9/flow/es.js +0 -1
  95. package/dist/locales/4.3.9/flow/fr.js +0 -1
  96. package/dist/locales/4.3.9/flow/id.js +0 -1
  97. package/dist/locales/4.3.9/flow/it.js +0 -1
  98. package/dist/locales/4.3.9/flow/ja.js +0 -1
  99. package/dist/locales/4.3.9/flow/ko.js +0 -1
  100. package/dist/locales/4.3.9/flow/nl.js +0 -1
  101. package/dist/locales/4.3.9/flow/pl.js +0 -1
  102. package/dist/locales/4.3.9/flow/pt-br.js +0 -1
  103. package/dist/locales/4.3.9/flow/tr.js +0 -1
  104. package/dist/locales/4.3.9/flow/zh.js +0 -1
  105. package/dist/order-totals-Buq9HeZa.js +0 -131
  106. /package/dist/locales/{4.3.9 → 4.3.11}/main/de.js +0 -0
  107. /package/dist/locales/{4.3.9 → 4.3.11}/main/es.js +0 -0
  108. /package/dist/locales/{4.3.9 → 4.3.11}/main/fr.js +0 -0
  109. /package/dist/locales/{4.3.9 → 4.3.11}/main/id.js +0 -0
  110. /package/dist/locales/{4.3.9 → 4.3.11}/main/it.js +0 -0
  111. /package/dist/locales/{4.3.9 → 4.3.11}/main/ja.js +0 -0
  112. /package/dist/locales/{4.3.9 → 4.3.11}/main/ko.js +0 -0
  113. /package/dist/locales/{4.3.9 → 4.3.11}/main/nl.js +0 -0
  114. /package/dist/locales/{4.3.9 → 4.3.11}/main/pl.js +0 -0
  115. /package/dist/locales/{4.3.9 → 4.3.11}/main/pt-br.js +0 -0
  116. /package/dist/locales/{4.3.9 → 4.3.11}/main/tr.js +0 -0
  117. /package/dist/locales/{4.3.9 → 4.3.11}/main/zh.js +0 -0
@@ -48,6 +48,13 @@ var e = {
48
48
  cancel: "Cancelar",
49
49
  continue: "Continuar",
50
50
  submit: "Enviar",
51
+ addOns: "Extras",
52
+ addOnRedeemBar: "canjear en la barra",
53
+ addOnRedeemHost: "preséntate en recepción",
54
+ addOnRedeemMerch: "recoger en el puesto de merchandising",
55
+ addOnCollectInPerson: "recoger en persona",
56
+ addOnNeedsTicket: "Añade primero una entrada",
57
+ addOnPerTicketLimit: "máx. {count} por entrada",
51
58
  subtotal: "Subtotal",
52
59
  serviceFees: "Cargos por servicio",
53
60
  taxes: "Impuestos",
@@ -187,7 +194,13 @@ var e = {
187
194
  queueWaitMinutes: "{n} minutos",
188
195
  queueKeepPageOpen: "Mantén esta página abierta — tu lugar está guardado",
189
196
  queueAdmittedTitle: "Es tu turno",
190
- queueAdmittedBody: "Es tu turno — ya puedes comprar tus boletos"
197
+ queueAdmittedBody: "Es tu turno — ya puedes comprar tus boletos",
198
+ recommendationsHeading: "Más en este local",
199
+ recommendationFromTonightsLineup: "Del cartel de esta noche",
200
+ recommendationSimilarShow: "Espectáculo similar",
201
+ recommendationSameNight: "Mismo día de la semana",
202
+ recommendationYouMightLike: "También te puede gustar",
203
+ recommendationFeatured: "Destacado"
191
204
  };
192
205
  //#endregion
193
206
  export { e as es };
@@ -1,4 +1,4 @@
1
- import { b as e } from "./defaultLabels-CpurXn7c.js";
1
+ import { b as e } from "./defaultLabels-CXCsTwix.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,13 @@
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";
1
+ import { d as e, f as t, i as n, l as r, s as i } from "./scarcity-Ccj5RlrR.js";
2
+ import { x as a } from "./defaultLabels-CXCsTwix.js";
3
+ import { n as o, t as s } from "./event-DAjJ01GM.js";
4
+ import { A as c, C as l, E as u, O as d, j as f, k as p } from "./api-C1M2t6HU.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
7
  <rect width="200" height="300" fill="${l[200]}"/>
8
8
  <rect x="60" y="90" width="80" height="80" rx="10" fill="${l[300]}"/>
9
9
  <circle cx="85" cy="115" r="10" fill="${l[400]}"/>
10
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
11
  </svg>`);
13
12
  function h(e) {
14
13
  return o(e, { placeholder: m });
@@ -31,39 +30,39 @@ function y(e, t, n) {
31
30
  let r = new Date(e);
32
31
  return isNaN(r.getTime()) ? "" : v("en-US", t, n).format(r);
33
32
  }
34
- function b(e, t) {
35
- if (!e.startDateTime) return "";
33
+ function b(t, n) {
34
+ if (!t.startDateTime) return "";
36
35
  try {
37
- return e.endDateTime ? n(e.startDateTime, e.endDateTime, t) : i(e.startDateTime, t);
36
+ return t.endDateTime ? e(t.startDateTime, t.endDateTime, n) : r(t.startDateTime, n);
38
37
  } catch {
39
- let n = {
38
+ let e = {
40
39
  hour: "numeric",
41
40
  minute: "2-digit",
42
41
  hour12: !0
43
- }, r = y(e.startDateTime, t, n);
44
- if (!e.endDateTime) return r;
45
- let i = y(e.endDateTime, t, n);
42
+ }, r = y(t.startDateTime, n, e);
43
+ if (!t.endDateTime) return r;
44
+ let i = y(t.endDateTime, n, e);
46
45
  return r && i ? `${r} - ${i}` : r;
47
46
  }
48
47
  }
49
- function x(e, t) {
48
+ function x(e, n) {
50
49
  if (!e) return {
51
50
  day: "",
52
51
  month: "",
53
52
  dateOfMonth: ""
54
53
  };
55
54
  try {
56
- let n = r(e, t);
55
+ let r = t(e, n);
57
56
  return {
58
- day: n.day,
59
- month: n.month,
60
- dateOfMonth: String(n.date)
57
+ day: r.day,
58
+ month: r.month,
59
+ dateOfMonth: String(r.date)
61
60
  };
62
61
  } catch {
63
62
  return {
64
- day: y(e, t, { weekday: "short" }),
65
- month: y(e, t, { month: "short" }),
66
- dateOfMonth: y(e, t, { day: "numeric" })
63
+ day: y(e, n, { weekday: "short" }),
64
+ month: y(e, n, { month: "short" }),
65
+ dateOfMonth: y(e, n, { day: "numeric" })
67
66
  };
68
67
  }
69
68
  }
@@ -84,39 +83,40 @@ function C(e, t = { mode: S.DETAIL }) {
84
83
  };
85
84
  return n === S.BROWSE ? w(e, r, c, i) : T(e, r, c, i, o);
86
85
  }
87
- function w(t, n, r, i) {
88
- let a = n.startDateTime ? e(n.startDateTime, i) : "", o;
89
- if (typeof n.ticketsRemaining == "number" && typeof n.ticketsTotal == "number") {
90
- let e = n.ticketsRemaining, t = n.ticketsTotal;
91
- o = {
86
+ function w(e, t, r, i) {
87
+ let a = t.startDateTime ? n(t.startDateTime, i) : "", s;
88
+ if (typeof t.ticketsRemaining == "number" && typeof t.ticketsTotal == "number") {
89
+ let e = t.ticketsRemaining, n = t.ticketsTotal;
90
+ s = {
92
91
  totalRemaining: e,
93
- totalCapacity: t,
94
- isSoldOut: t > 0 && e <= 0
92
+ totalCapacity: n,
93
+ isSoldOut: n > 0 && e <= 0
95
94
  };
96
95
  } else {
97
- let e = c(t.availableTickets || [], {
96
+ let t = c(e.availableTickets || [], {
98
97
  excludeDoorOnly: !0,
99
98
  publicOnly: !1
100
99
  });
101
- o = d(e);
100
+ s = d(t);
102
101
  }
103
102
  return {
104
103
  ...r,
105
- date: a || n.date || "",
106
- status: n.status || "On Sale",
107
- timeline: b(n, i),
108
- description: n.description || n.eventSummary || "",
109
- venueId: n.venueId,
110
- eventSeriesId: n.eventSeriesId || null,
111
- ticketsRemaining: o.totalRemaining,
112
- ticketsTotal: o.totalCapacity,
113
- isSoldOut: o.isSoldOut,
114
- hasPurchasableHiddenTickets: u(t),
115
- stageId: n.stageId ?? null,
116
- eventCategoryTypes: n.eventCategoryTypes ?? null,
117
- ageRestriction: n.ageRestriction ?? null,
118
- publicPerformers: n.publicPerformers ?? null,
119
- collectionIds: n.collectionIds ?? null
104
+ image: o(e, { placeholder: "" }),
105
+ date: a || t.date || "",
106
+ status: t.status || "On Sale",
107
+ timeline: b(t, i),
108
+ description: t.description || t.eventSummary || "",
109
+ venueId: t.venueId,
110
+ eventSeriesId: t.eventSeriesId || null,
111
+ ticketsRemaining: s.totalRemaining,
112
+ ticketsTotal: s.totalCapacity,
113
+ isSoldOut: s.isSoldOut,
114
+ hasPurchasableHiddenTickets: u(e),
115
+ stageId: t.stageId ?? null,
116
+ eventCategoryTypes: t.eventCategoryTypes ?? null,
117
+ ageRestriction: t.ageRestriction ?? null,
118
+ publicPerformers: t.publicPerformers ?? null,
119
+ collectionIds: t.collectionIds ?? null
120
120
  };
121
121
  }
122
122
  function T(e, t, n, r, i) {
@@ -146,6 +146,7 @@ function T(e, t, n, r, i) {
146
146
  password: t.password,
147
147
  availableTickets: a,
148
148
  publicTickets: o,
149
+ ...e.addOns ? { addOns: e.addOns } : {},
149
150
  hasPurchasableHiddenTickets: u(e),
150
151
  doorsOpenTime: t.doorsOpenTime,
151
152
  venue: t.venue,
@@ -167,8 +168,8 @@ function T(e, t, n, r, i) {
167
168
  displayAgeRestriction: t.displayAgeRestriction ?? !1
168
169
  };
169
170
  }
170
- function E(e, n) {
171
- return e && t(e, n, {
171
+ function E(e, t) {
172
+ return e && i(e, t, {
172
173
  weekday: "short",
173
174
  month: "short",
174
175
  day: "numeric",
@@ -1,5 +1,5 @@
1
- import { x as e } from "./Button-CxQO7vwF.js";
2
- import { H as t, I as n } from "./orders-BK47iONR.js";
1
+ import { E as e } from "./Button-vmWb6wKc.js";
2
+ import { H as t, I as n } from "./orders-rH0WZYOW.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -48,6 +48,13 @@ var e = {
48
48
  cancel: "Annuler",
49
49
  continue: "Continuer",
50
50
  submit: "Valider",
51
+ addOns: "Extras",
52
+ addOnRedeemBar: "à retirer au bar",
53
+ addOnRedeemHost: "présentez-vous à l'accueil",
54
+ addOnRedeemMerch: "à retirer au stand de merchandising",
55
+ addOnCollectInPerson: "à retirer sur place",
56
+ addOnNeedsTicket: "Ajoutez d'abord un billet",
57
+ addOnPerTicketLimit: "max. {count} par billet",
51
58
  subtotal: "Sous-total",
52
59
  serviceFees: "Frais de service",
53
60
  taxes: "Taxes",
@@ -187,7 +194,13 @@ var e = {
187
194
  queueWaitMinutes: "{n} minutes",
188
195
  queueKeepPageOpen: "Gardez cette page ouverte — votre place est conservée",
189
196
  queueAdmittedTitle: "C’est à vous",
190
- queueAdmittedBody: "C’est votre tour — vous pouvez maintenant acheter vos billets"
197
+ queueAdmittedBody: "C’est votre tour — vous pouvez maintenant acheter vos billets",
198
+ recommendationsHeading: "Plus dans cette salle",
199
+ recommendationFromTonightsLineup: "De l’affiche de ce soir",
200
+ recommendationSimilarShow: "Spectacle similaire",
201
+ recommendationSameNight: "Même jour de la semaine",
202
+ recommendationYouMightLike: "Vous aimerez peut-être aussi",
203
+ recommendationFeatured: "À la une"
191
204
  };
192
205
  //#endregion
193
206
  export { e as fr };
@@ -1,6 +1,6 @@
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";
1
+ import { S as e } from "./Button-vmWb6wKc.js";
2
+ import { q as t } from "./scarcity-Ccj5RlrR.js";
3
+ import { t as n } from "./Image-M5RaWbKU.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