@getmicdrop/venue-calendar 4.2.33 → 4.2.35

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 (115) hide show
  1. package/dist/{ArrowLeftIcon-B92-MN6-.js → ArrowLeftIcon-DS-NEije.js} +1 -1
  2. package/dist/{Badge-Bv_MT-Vt.js → Badge-DIHnRZlw.js} +1 -1
  3. package/dist/{BlockPlaceholder-DuE4xLS_.js → BlockPlaceholder-Dy9fStDr.js} +1 -1
  4. package/dist/{Calendar-CX3S7j_2.js → Calendar-CXwhGAmC.js} +19 -19
  5. package/dist/{CalendarFoundryView-CE5VMPRl.js → CalendarFoundryView-BRurhscw.js} +950 -950
  6. package/dist/{CalendarIcon-pJ01x71c.js → CalendarIcon-CvZ-GUH_.js} +1 -1
  7. package/dist/{CartView-BZALykSb.js → CartView-DT8DlMqQ.js} +532 -532
  8. package/dist/{Checkout-c6ExwNzk.js → Checkout-D3VqG09o.js} +173 -173
  9. package/dist/{Checkout-B6BHEAwF.js → Checkout-UU9C7CXV.js} +129 -129
  10. package/dist/{CheckoutTimer-Bz-HJhV2.js → CheckoutTimer-2WEgppW1.js} +5 -5
  11. package/dist/{ChevronDownIcon-k93EaHQh.js → ChevronDownIcon-DXbr-7H6.js} +1 -1
  12. package/dist/{ClockIcon-hnrV9bwg.js → ClockIcon-Dyx1LMo7.js} +1 -1
  13. package/dist/{CloseIcon-CdZ5mNTK.js → CloseIcon-NMHzwT75.js} +1 -1
  14. package/dist/{CollectionView-BMDKM-lg.js → CollectionView-DyMB_bPY.js} +9 -10
  15. package/dist/{Event-DvRnmTdU.js → Event-CXCOnkmi.js} +85 -85
  16. package/dist/EventPage-HlhaVqRG.js +981 -0
  17. package/dist/{Heading-Dfo3bjyn.js → Heading-DcZtRBSB.js} +1 -1
  18. package/dist/{Image-B3cEndLZ.js → Image-BZGbFJLw.js} +1 -1
  19. package/dist/{Input-BntIoPeV.js → Input-Cgdxdj6y.js} +1 -1
  20. package/dist/{MailIcon-CMyjGJ4_.js → MailIcon-D34sBBQX.js} +1 -1
  21. package/dist/{Modal-CpMs0l2W.js → Modal-BvT64ak1.js} +2 -2
  22. package/dist/{ModalFooter-Kdyt5XyP.js → ModalFooter-DM1dyl4S.js} +2 -2
  23. package/dist/{PasswordInput-C91gXtFY.js → PasswordInput-BNKrzXNm.js} +1 -1
  24. package/dist/{ScarcityBadge-C0YeWGkd.js → ScarcityBadge-DmbmsFlY.js} +23 -22
  25. package/dist/{SeriesPage-DNyhMA_k.js → SeriesPage-BXKz7PJV.js} +4 -4
  26. package/dist/{Spinner-BwiDys7C.js → Spinner-gpYLD9h6.js} +1 -1
  27. package/dist/{Success-BxvH6W_x.js → Success-DieJd6sx.js} +52 -52
  28. package/dist/{TagIcon-BkPcpKdu.js → TagIcon-Q7BC2QeQ.js} +1 -1
  29. package/dist/ViewTicketsEmbed-DqwHARj0.js +727 -0
  30. package/dist/{WarningCircleIcon-D78IFaPY.js → WarningCircleIcon-Dxi6_NlN.js} +1 -1
  31. package/dist/{WarningTriIcon-6WbGCso4.js → WarningTriIcon-BVNO82pk.js} +1 -1
  32. package/dist/{__SKIP_PATHS__-tAxwP7_6.js → __SKIP_PATHS__-BZ2V4IU4.js} +1 -1
  33. package/dist/api/api.cjs +1 -1
  34. package/dist/api/api.mjs +300 -216
  35. package/dist/api/gift-cards.d.ts +1 -1
  36. package/dist/api/orders.d.ts +2 -2
  37. package/dist/api/waitlist.d.ts +6 -1
  38. package/dist/{colors-DbQNhbC_.js → colors-B3NG0RHG.js} +113 -117
  39. package/dist/constants-DqKf8bUn.js +356 -0
  40. package/dist/{copyToClipboard-DAGJHhtn.js → copyToClipboard-CLo_2bfp.js} +1 -1
  41. package/dist/{de-BG-86m10.js → de-8N03rEoe.js} +4 -1
  42. package/dist/{de-BZpzzwT9.js → de-tOW1Ez0s.js} +63 -1
  43. package/dist/{timezones-C5l0SSHK.js → defaultLabels-D_9CneL4.js} +507 -1
  44. package/dist/{es-9jwSoUSD.js → es-DrYewQpd.js} +51 -1
  45. package/dist/{es-B1RPM3H_.js → es-tRMGbtbB.js} +4 -1
  46. package/dist/{event-v8d4wRpB.js → event-CFDG8adb.js} +1 -1
  47. package/dist/{event-transform-lC22EDSL.js → event-transform-jJPAKgYX.js} +4 -4
  48. package/dist/{eventStatusStream-CopqZ2oa.js → eventStatusStream-wmEyQSgV.js} +5 -5
  49. package/dist/{fr-fYY2O8Ab.js → fr-Bs9xnPu6.js} +63 -1
  50. package/dist/{fr-B6FgrH9s.js → fr-DDnljtQz.js} +4 -1
  51. package/dist/{href-BH6l_kZx.js → href-BfMcUXhM.js} +2 -2
  52. package/dist/{i18n-CIVh_urJ.js → i18n-BgkKrB4o.js} +126 -126
  53. package/dist/i18n-DK3npqzN.js +28 -0
  54. package/dist/{id-But8qcA2.js → id-BLwvLobz.js} +63 -1
  55. package/dist/{id-CK7hal8E.js → id-BZshacSm.js} +4 -1
  56. package/dist/{it-BdV8d4GZ.js → it-B6Rbpjec.js} +4 -1
  57. package/dist/{it-Cr9Quauw.js → it-CQ_Y8YK3.js} +63 -1
  58. package/dist/{ja-DKVQltc4.js → ja-Bmj-bPuM.js} +4 -1
  59. package/dist/{ja-CNXwg0_H.js → ja-CeudRJqE.js} +63 -1
  60. package/dist/{ko-DtoIJliT.js → ko-DFwVxd-1.js} +63 -1
  61. package/dist/{ko-DpIk-4pN.js → ko-r-ecuHZ5.js} +4 -1
  62. package/dist/{labels-BUH8ouCu.js → labels-BHqxbbw9.js} +1 -1
  63. package/dist/locales/{4.2.32 → 4.2.35}/flow/de.js +1 -1
  64. package/dist/locales/{4.2.32 → 4.2.35}/flow/es.js +1 -1
  65. package/dist/locales/{4.2.32 → 4.2.35}/flow/fr.js +1 -1
  66. package/dist/locales/{4.2.32 → 4.2.35}/flow/id.js +1 -1
  67. package/dist/locales/{4.2.32 → 4.2.35}/flow/it.js +1 -1
  68. package/dist/locales/{4.2.32 → 4.2.35}/flow/ja.js +1 -1
  69. package/dist/locales/{4.2.32 → 4.2.35}/flow/ko.js +1 -1
  70. package/dist/locales/{4.2.32 → 4.2.35}/flow/nl.js +1 -1
  71. package/dist/locales/{4.2.32 → 4.2.35}/flow/pl.js +1 -1
  72. package/dist/locales/{4.2.32 → 4.2.35}/flow/pt-br.js +1 -1
  73. package/dist/locales/{4.2.32 → 4.2.35}/flow/tr.js +1 -1
  74. package/dist/locales/{4.2.32 → 4.2.35}/flow/zh.js +1 -1
  75. package/dist/locales/{4.2.32 → 4.2.35}/main/de.js +1 -1
  76. package/dist/locales/{4.2.32 → 4.2.35}/main/es.js +1 -1
  77. package/dist/locales/{4.2.32 → 4.2.35}/main/fr.js +1 -1
  78. package/dist/locales/{4.2.32 → 4.2.35}/main/id.js +1 -1
  79. package/dist/locales/{4.2.32 → 4.2.35}/main/it.js +1 -1
  80. package/dist/locales/{4.2.32 → 4.2.35}/main/ja.js +1 -1
  81. package/dist/locales/{4.2.32 → 4.2.35}/main/ko.js +1 -1
  82. package/dist/locales/{4.2.32 → 4.2.35}/main/nl.js +1 -1
  83. package/dist/locales/{4.2.32 → 4.2.35}/main/pl.js +1 -1
  84. package/dist/locales/{4.2.32 → 4.2.35}/main/pt-br.js +1 -1
  85. package/dist/locales/{4.2.32 → 4.2.35}/main/tr.js +1 -1
  86. package/dist/locales/{4.2.32 → 4.2.35}/main/zh.js +1 -1
  87. package/dist/{modalManager.svelte-C4dWVCst.js → modalManager.svelte-CrrDshW7.js} +2 -2
  88. package/dist/{nl-C-dVfidI.js → nl-CS1da1Bc.js} +4 -1
  89. package/dist/{nl-Dbs4YQMw.js → nl-CYc0p85Y.js} +63 -1
  90. package/dist/{order-totals-CeeD6GjZ.js → order-totals-D0JKhd70.js} +31 -31
  91. package/dist/{orders-BuGy4vpJ.js → orders-CCWPQsWb.js} +365 -209
  92. package/dist/{phoneUtils-BDV9Eggn.js → phoneUtils-aQHGh8C_.js} +1 -1
  93. package/dist/{pixels-D6vqcuy2.js → pixels-M2q8HRk_.js} +11 -11
  94. package/dist/{pl-Da6lsZXQ.js → pl-BSqAasUa.js} +63 -1
  95. package/dist/{pl-CnFcI33y.js → pl-C2bkE2WA.js} +4 -1
  96. package/dist/{promo-DtLZRskK.js → promo-CKvS9lia.js} +3 -3
  97. package/dist/{pt-br-6QYijxa0.js → pt-br--DIxBDjz.js} +4 -1
  98. package/dist/{pt-br-D1wHabRR.js → pt-br-CZs8_gFN.js} +63 -1
  99. package/dist/{serverTotals-t2UmKkhC.js → serverTotals-DGd3p1s5.js} +1 -1
  100. package/dist/{shareCopyFeedback.svelte-B-M53Wj2.js → shareCopyFeedback.svelte-DTOJruVM.js} +55 -55
  101. package/dist/{showcase-state-options-VZcqIjpF.js → showcase-state-options-Da3jPUQb.js} +1 -1
  102. package/dist/{to-event-card-props-CpXtfoKx.js → to-event-card-props-B5bsYKP4.js} +31 -31
  103. package/dist/{tr-Pv_m8usO.js → tr-Bk7x5MW7.js} +4 -1
  104. package/dist/{tr-CpN50zWw.js → tr-O80C2r5C.js} +63 -1
  105. package/dist/{utils-CtqaTDLB.js → utils-RE2aEa_D.js} +49 -49
  106. package/dist/venue-calendar.es.js +710 -734
  107. package/dist/venue-calendar.iife.js +56 -57
  108. package/dist/venue-calendar.umd.js +54 -55
  109. package/dist/{zh-CAAnH4T4.js → zh-C8kyVh24.js} +4 -1
  110. package/dist/{zh-CwlRq_aG.js → zh-ydknixkJ.js} +63 -1
  111. package/package.json +220 -220
  112. package/dist/EventPage-CTo8ynx6.js +0 -971
  113. package/dist/ViewTicketsEmbed-DVurn8FG.js +0 -690
  114. package/dist/constants-ENlpIS8i.js +0 -822
  115. package/dist/createI18n-DBUVdZra.js +0 -75
@@ -1,6 +1,6 @@
1
- import { L as e } from "./timezones-C5l0SSHK.js";
2
- import { D as t, O as n } from "./constants-ENlpIS8i.js";
3
- import { n as r } from "./promo-DtLZRskK.js";
1
+ import { R as e } from "./defaultLabels-D_9CneL4.js";
2
+ import { D as t, E as n } from "./constants-DqKf8bUn.js";
3
+ import { n as r } from "./promo-CKvS9lia.js";
4
4
  var i = .029, a = .3;
5
5
  function o(e) {
6
6
  return e.discountedPrice ?? e.price;
@@ -8,10 +8,10 @@ function o(e) {
8
8
  function s(e, r = {}) {
9
9
  if (e <= 0) return 0;
10
10
  let i = r.serviceFeePercentage ?? 5, a = (r.serviceFeeCents ?? 150) / 100;
11
- switch (t(r.serviceFeeChargeType)) {
12
- case "percentage": return n(i / 100 * e);
13
- case "fixed": return n(a);
14
- default: return n(i / 100 * e + a);
11
+ switch (n(r.serviceFeeChargeType)) {
12
+ case "percentage": return t(i / 100 * e);
13
+ case "fixed": return t(a);
14
+ default: return t(i / 100 * e + a);
15
15
  }
16
16
  }
17
17
  function c(e, t) {
@@ -21,63 +21,63 @@ function l(e = {}) {
21
21
  return e.absorbServiceFee === !0;
22
22
  }
23
23
  function u(e) {
24
- return n(e.serviceFee + e.cardProcessing);
24
+ return t(e.serviceFee + e.cardProcessing);
25
25
  }
26
- function d(e, t = {}) {
27
- let r = n(e.reduce((e, t) => e + o(t) * t.quantity, 0));
28
- if (r <= 0 || l(t)) return {
26
+ function d(e, n = {}) {
27
+ let r = t(e.reduce((e, t) => e + o(t) * t.quantity, 0));
28
+ if (r <= 0 || l(n)) return {
29
29
  face: r,
30
30
  serviceFee: 0,
31
31
  cardProcessing: 0,
32
32
  total: r
33
33
  };
34
- let i = e.reduce((e, n) => e + Math.min(s(o(n), t), 10) * n.quantity, 0), a = c(r, i), u = n(a), d = n(i);
34
+ let i = e.reduce((e, t) => e + Math.min(s(o(t), n), 10) * t.quantity, 0), a = c(r, i), u = t(a), d = t(i);
35
35
  return {
36
36
  face: r,
37
37
  serviceFee: d,
38
38
  cardProcessing: u,
39
- total: n(r + d + u)
39
+ total: t(r + d + u)
40
40
  };
41
41
  }
42
42
  //#endregion
43
43
  //#region src/lib/public-calendar-flow/order-totals.ts
44
- function f(t, i, a, o, s) {
44
+ function f(n, i, a, o, s) {
45
45
  let c = [], l = 0, u = 0, d = 0, f = !1;
46
- for (let n of t) {
47
- let t = i[n.id] ?? 0;
48
- if (t <= 0) continue;
49
- let s = n.isDonation || n.ticketType === 2, p = s ? parseFloat(a[n.id]) || 0 : n.price;
46
+ for (let t of n) {
47
+ let n = i[t.id] ?? 0;
48
+ if (n <= 0) continue;
49
+ let s = t.isDonation || t.ticketType === 2, p = s ? parseFloat(a[t.id]) || 0 : t.price;
50
50
  if (p == null || !Number.isFinite(p)) {
51
51
  c.push({
52
- ticketId: e(n.id),
53
- ticketName: n.name,
54
- quantity: t,
52
+ ticketId: e(t.id),
53
+ ticketName: t.name,
54
+ quantity: n,
55
55
  unitPrice: null,
56
- fee: n.fee,
56
+ fee: t.fee,
57
57
  subtotal: null,
58
58
  isDonation: !1
59
59
  }), f = !0;
60
60
  continue;
61
61
  }
62
- let m = p, h = s ? 0 : n.fee, g = 0;
63
- if (o.isApplied && o.discountAmount > 0 && !s && r(o.discountTicketIds, n.id)) {
62
+ let m = p, h = s ? 0 : t.fee, g = 0;
63
+ if (o.isApplied && o.discountAmount > 0 && !s && r(o.discountTicketIds, t.id)) {
64
64
  if (o.discountType === "%") {
65
65
  let e = o.discountAmount;
66
66
  g = Math.min(m, e / 100 * m);
67
- } else o.discountType === "$" && (d += m * t);
67
+ } else o.discountType === "$" && (d += m * n);
68
68
  }
69
- let _ = m * t;
69
+ let _ = m * n;
70
70
  c.push({
71
- ticketId: e(n.id),
72
- ticketName: n.name,
73
- quantity: t,
71
+ ticketId: e(t.id),
72
+ ticketName: t.name,
73
+ quantity: n,
74
74
  unitPrice: m,
75
75
  fee: h,
76
76
  subtotal: _,
77
77
  isDonation: s
78
- }), l += _, u += g * t;
78
+ }), l += _, u += g * n;
79
79
  }
80
- return o.isApplied && o.discountAmount > 0 && o.discountType === "$" && (u = Math.min(o.discountAmount, d)), l = n(l), u = n(u), f ? {
80
+ return o.isApplied && o.discountAmount > 0 && o.discountType === "$" && (u = Math.min(o.discountAmount, d)), l = t(l), u = t(u), f ? {
81
81
  lines: c,
82
82
  subtotal: null,
83
83
  fees: null,