@getmicdrop/venue-calendar 4.3.120 → 4.3.121

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 (114) hide show
  1. package/dist/{AddOnCard-BGFpF6uw.js → AddOnCard-jj59e855.js} +5 -5
  2. package/dist/{ArrowLeftIcon-pPaJkbnp.js → ArrowLeftIcon-t-CY0sbi.js} +1 -1
  3. package/dist/{BlockPlaceholder-BgLtwJnm.js → BlockPlaceholder-BmEZ68_q.js} +1 -1
  4. package/dist/{Calendar-DFPyzgRC.js → Calendar-hxcQBkTF.js} +3 -3
  5. package/dist/{CalendarFoundryView-BI_LlpB6.js → CalendarFoundryView-CSAKDe-F.js} +19 -19
  6. package/dist/{CalendarIcon-C_6MSRyE.js → CalendarIcon-B5JWs0gm.js} +1 -1
  7. package/dist/{CartView-9YSoRvTw.js → CartView-CF2y1JDa.js} +719 -716
  8. package/dist/{CheckIcon-sr8D0z-b.js → CheckIcon-BSwoGox7.js} +1 -1
  9. package/dist/{Checkout-BLkYIKoR.js → Checkout-2h2K3-bE.js} +378 -378
  10. package/dist/{Checkout-BS3r4Qii.js → Checkout-BFu5dTw_.js} +328 -328
  11. package/dist/{CheckoutTimer-DY1NKJXP.js → CheckoutTimer-Bpt5gPyA.js} +2 -2
  12. package/dist/{ChevronDownIcon-Co6rRQp-.js → ChevronDownIcon-CVZ0usBx.js} +1 -1
  13. package/dist/{CloseIcon-DpRE5O8y.js → CloseIcon-DUnvWXUY.js} +1 -1
  14. package/dist/CollectionView-XdNMvMtn.js +141 -0
  15. package/dist/{Event-DUq4tYBE.js → Event-B_9T21du.js} +684 -680
  16. package/dist/EventPage-BMnKpciU.js +1201 -0
  17. package/dist/{Input-CsHb9Z8e.js → Input-BXZmvQ0p.js} +1 -1
  18. package/dist/{LocationIcon-Dxk7snUC.js → LocationIcon-E-7CQh4E.js} +1 -1
  19. package/dist/{PasswordInput-BlL0w_yr.js → PasswordInput-DzXNIwRc.js} +1 -1
  20. package/dist/{RecommendationsRail-Dq9t0T02.js → RecommendationsRail-DrzM8h2r.js} +124 -124
  21. package/dist/{ScarcityBadge-Bj_YMxz4.js → ScarcityBadge-DjzrzvId.js} +4 -4
  22. package/dist/{SeriesPage-CaPTQRSo.js → SeriesPage-Ds_FEEZW.js} +2 -2
  23. package/dist/{Spinner-BgdjQygI.js → Spinner-B2rdbspc.js} +1 -1
  24. package/dist/{Success-tXgS0BXp.js → Success-Dkak0iM9.js} +201 -201
  25. package/dist/{TagIcon-Kq7_bapx.js → TagIcon-BY8tK_qA.js} +1 -1
  26. package/dist/ViewTicketsEmbed-B_fqalQh.js +660 -0
  27. package/dist/{WarningCircleIcon-BdbAYYi4.js → WarningCircleIcon-C5Lc7qkF.js} +1 -1
  28. package/dist/{WarningTriIcon-D8otatZe.js → WarningTriIcon-BM8qc9xx.js} +1 -1
  29. package/dist/api/api.cjs +1 -1
  30. package/dist/api/api.mjs +258 -252
  31. package/dist/api/cart-addons.d.ts +2 -1
  32. package/dist/api/checkout-availability.d.ts +2 -25
  33. package/dist/api/client.d.ts +4 -7
  34. package/dist/api/events.d.ts +23 -22
  35. package/dist/api/gift-cards.d.ts +7 -6
  36. package/dist/api/orders.d.ts +13 -12
  37. package/dist/api/promo.d.ts +5 -4
  38. package/dist/api/surge-queue.d.ts +5 -34
  39. package/dist/api/venues.d.ts +5 -4
  40. package/dist/api/waitlist.d.ts +5 -9
  41. package/dist/{api-DG7ztpYi.js → api-BEYkGabB.js} +174 -169
  42. package/dist/{copyToClipboard-DSangJpP.js → copyToClipboard-F-akSgaF.js} +1 -1
  43. package/dist/{createErrorGate.svelte-CEBpRAmr.js → createErrorGate.svelte-CEGaIQeI.js} +1 -1
  44. package/dist/{datetime-YTw6PkGP.js → datetime-BnKG6Hjm.js} +1 -1
  45. package/dist/{de-CbwqVvg6.js → de-BHcAXwnM.js} +0 -1
  46. package/dist/{defaultLabels-CsRGNP7f.js → defaultLabels-BbNEEsF7.js} +0 -1
  47. package/dist/{defaults-UDvnrGu0.js → defaults-CgsFJvJ2.js} +2 -2
  48. package/dist/{es-Dxqulvec.js → es-DZ3yceh-.js} +0 -1
  49. package/dist/{event-CW18bU9h.js → event-DfqUhl5j.js} +1 -1
  50. package/dist/{event-transform-CyRMeKW_.js → event-transform-Bk1IoYh5.js} +4 -4
  51. package/dist/{eventStatusStream-Cf7PaLka.js → eventStatusStream-CE0PwO0c.js} +9 -9
  52. package/dist/{fr-0aCE52FE.js → fr-Dyi163Vk.js} +0 -1
  53. package/dist/{href-yqxAPbkW.js → href-CfWGAmkP.js} +3 -3
  54. package/dist/i18n-B705OXZp.js +28 -0
  55. package/dist/{i18n-MF3q-UBI.js → i18n-BoMUWcCq.js} +4 -4
  56. package/dist/{id-7ClY2Dwb.js → id-DvFRZVAm.js} +0 -1
  57. package/dist/{it-z-heX6Hy.js → it-Bh05tcLv.js} +0 -1
  58. package/dist/{ja-ecBzr5l9.js → ja-CU4PQS4j.js} +0 -1
  59. package/dist/{ko-Blnq1Wc_.js → ko-DDk6EdWm.js} +0 -1
  60. package/dist/locales/4.3.121/main/de.js +1 -0
  61. package/dist/locales/4.3.121/main/es.js +1 -0
  62. package/dist/locales/4.3.121/main/fr.js +1 -0
  63. package/dist/locales/4.3.121/main/id.js +1 -0
  64. package/dist/locales/4.3.121/main/it.js +1 -0
  65. package/dist/locales/4.3.121/main/ja.js +1 -0
  66. package/dist/locales/4.3.121/main/ko.js +1 -0
  67. package/dist/locales/4.3.121/main/nl.js +1 -0
  68. package/dist/locales/4.3.121/main/pl.js +1 -0
  69. package/dist/locales/4.3.121/main/pt-br.js +1 -0
  70. package/dist/locales/4.3.121/main/tr.js +1 -0
  71. package/dist/locales/4.3.121/main/zh.js +1 -0
  72. package/dist/{nl-Bm2Lee3j.js → nl-DOSKYHSx.js} +0 -1
  73. package/dist/{pixels-BAPQbj_Y.js → pixels-Bu5-BISs.js} +8 -8
  74. package/dist/{pl-DIp-gYhF.js → pl-CkLEymA2.js} +0 -1
  75. package/dist/{pt-br-BmcVsgbQ.js → pt-br-BHuCQSM-.js} +0 -1
  76. package/dist/{serverTotals-D57U4Nju.js → serverTotals-B8SJCzxE.js} +1 -1
  77. package/dist/{showcase-state-options-zfQoPg37.js → showcase-state-options-KO_TYk3I.js} +1 -1
  78. package/dist/{to-event-card-props-Dn1eDOiJ.js → to-event-card-props-DYIfPN8e.js} +9 -13
  79. package/dist/{tr-BshxS2DN.js → tr-Bvc34ODh.js} +0 -1
  80. package/dist/{utils-CdNe7KGe.js → utils-NMx3aPDk.js} +82 -78
  81. package/dist/venue-calendar.es.js +1444 -1444
  82. package/dist/venue-calendar.iife.js +30 -30
  83. package/dist/venue-calendar.umd.js +39 -39
  84. package/dist/{orders-BWVwv3P0.js → widget-key-context-D2zj4sp5.js} +221 -213
  85. package/dist/{zh-B06ZsUNX.js → zh-K0hOzZ3G.js} +0 -1
  86. package/package.json +1 -1
  87. package/dist/CollectionView-DyFDlCmo.js +0 -138
  88. package/dist/EventPage-m5SlifRu.js +0 -1200
  89. package/dist/ViewTicketsEmbed-BnuypZ1H.js +0 -660
  90. package/dist/i18n-B-AwhAMH.js +0 -28
  91. package/dist/locales/4.3.120/main/de.js +0 -1
  92. package/dist/locales/4.3.120/main/es.js +0 -1
  93. package/dist/locales/4.3.120/main/fr.js +0 -1
  94. package/dist/locales/4.3.120/main/id.js +0 -1
  95. package/dist/locales/4.3.120/main/it.js +0 -1
  96. package/dist/locales/4.3.120/main/ja.js +0 -1
  97. package/dist/locales/4.3.120/main/ko.js +0 -1
  98. package/dist/locales/4.3.120/main/nl.js +0 -1
  99. package/dist/locales/4.3.120/main/pl.js +0 -1
  100. package/dist/locales/4.3.120/main/pt-br.js +0 -1
  101. package/dist/locales/4.3.120/main/tr.js +0 -1
  102. package/dist/locales/4.3.120/main/zh.js +0 -1
  103. /package/dist/locales/{4.3.120 → 4.3.121}/flow/de.js +0 -0
  104. /package/dist/locales/{4.3.120 → 4.3.121}/flow/es.js +0 -0
  105. /package/dist/locales/{4.3.120 → 4.3.121}/flow/fr.js +0 -0
  106. /package/dist/locales/{4.3.120 → 4.3.121}/flow/id.js +0 -0
  107. /package/dist/locales/{4.3.120 → 4.3.121}/flow/it.js +0 -0
  108. /package/dist/locales/{4.3.120 → 4.3.121}/flow/ja.js +0 -0
  109. /package/dist/locales/{4.3.120 → 4.3.121}/flow/ko.js +0 -0
  110. /package/dist/locales/{4.3.120 → 4.3.121}/flow/nl.js +0 -0
  111. /package/dist/locales/{4.3.120 → 4.3.121}/flow/pl.js +0 -0
  112. /package/dist/locales/{4.3.120 → 4.3.121}/flow/pt-br.js +0 -0
  113. /package/dist/locales/{4.3.120 → 4.3.121}/flow/tr.js +0 -0
  114. /package/dist/locales/{4.3.120 → 4.3.121}/flow/zh.js +0 -0
@@ -163,7 +163,6 @@ var e = {
163
163
  disclaimer: "免责声明",
164
164
  allAges: "全年龄段",
165
165
  agesPlus: "{age} 岁及以上",
166
- showAtTime: "开演 {time}",
167
166
  doorsOpen: "{time} 开放入场",
168
167
  venue: "场地",
169
168
  generalAdmission: "普通票",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getmicdrop/venue-calendar",
3
3
  "_version_comment": "4.1.55 was the last PUBLISHED version, and the tree carried 36 commits npm's 4.1.55 does not have — including the gate-password security fix and four money fixes. A filename must never reuse a version npm has taken (jsDelivr/unpkg cache the FIRST bytes they see under `@4.1.55` forever, so republishing that number ships the old widget to every venue that pinned it). Bumped to 4.2.0 here, BEFORE anything is built for publish. `npm run release:preflight` refuses to proceed when this number already exists in the registry.",
4
- "version": "4.3.120",
4
+ "version": "4.3.121",
5
5
  "description": "A customizable Svelte calendar component for displaying comedy events",
6
6
  "type": "module",
7
7
  "types": "./dist/types/index.d.ts",
@@ -1,138 +0,0 @@
1
- import { t as e } from "./Event-DUq4tYBE.js";
2
- import { g as t } from "./sizing-B7ixYndz.js";
3
- import { o as n } from "./RecommendationsRail-Dq9t0T02.js";
4
- import { t as r } from "./defaultLabels-CsRGNP7f.js";
5
- import { t as i } from "./Button-VUB2WJ88.js";
6
- import { E as a } from "./api-DG7ztpYi.js";
7
- import { t as o } from "./PasswordInput-BlL0w_yr.js";
8
- import { t as s } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
9
- import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
10
- import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
11
- import "svelte/internal/disclose-version";
12
- import * as f from "svelte/internal/client";
13
- import { onDestroy as p, onMount as m } from "svelte";
14
- //#region src/components/Views/CollectionView.svelte
15
- var h = f.from_html("<div class=\"flex items-center justify-center py-12 text-center loading-container svelte-q4dz4y\"><p> </p></div>"), g = f.from_html("<div class=\"flex flex-col items-center justify-center min-h-[50vh] text-center\"><div class=\"password-card rounded-lg p-8 max-w-sm w-full svelte-q4dz4y\"><h2 class=\"password-title type-heading mb-2 svelte-q4dz4y\"> </h2> <p class=\"password-description type-body mb-6 svelte-q4dz4y\"> </p> <form class=\"flex flex-col gap-3\"><!> <!></form></div></div>"), _ = f.from_html("<div class=\"flex flex-col items-center justify-center min-h-[50vh] text-center\"><p class=\"error-text svelte-q4dz4y\"> </p></div>");
16
- function v(v, y) {
17
- f.push(y, !0), t("CollectionView"), f.prop(y, "organizationId", 3, "");
18
- let b = f.prop(y, "onNavigateToEvent", 3, void 0), x = f.prop(y, "password", 3, void 0);
19
- f.prop(y, "displayMode", 3, "gallery"), f.prop(y, "showViewSwitcher", 3, !0);
20
- let S = f.prop(y, "labels", 3, r), C = f.prop(y, "locale", 3, void 0), w = f.prop(y, "initialCollection", 3, null), T = f.state(null), E = f.state(!0), D = f.state(null), O = f.state(!1), k = f.state(!1), A = f.state(""), j = f.state(!1), M = f.derived(() => f.get(T) ? n(f.get(T)) : null), N = 0;
21
- async function P(e, t = !1) {
22
- if (!f.get(O)) return;
23
- let n = ++N;
24
- if (!y.collectionId) {
25
- f.set(D, S().noCollectionIdProvided || "No collection ID provided", !0), f.set(E, !1);
26
- return;
27
- }
28
- f.set(E, !0), f.set(D, null), f.set(j, !1);
29
- try {
30
- let r = await a(y.collectionId, e);
31
- if (!f.get(O) || n !== N) return;
32
- if (r) {
33
- if (r.passwordRequired || r.error?.code === "PASSWORD_REQUIRED") {
34
- f.set(k, !0), t && d("collection", y.collectionId), f.set(E, !1);
35
- return;
36
- }
37
- f.set(T, r, !0), f.set(k, !1), l("collection", y.collectionId, e);
38
- } else {
39
- if (e) {
40
- f.set(k, !0), t ? d("collection", y.collectionId) : f.set(j, !0), f.set(E, !1);
41
- return;
42
- }
43
- f.set(D, S().failedToLoadCollection || "Failed to load collection", !0);
44
- }
45
- } catch (e) {
46
- if (f.get(O) && n === N) {
47
- let n = e.message || "";
48
- n.includes("401") || n.includes("403") || n.includes("password") ? (f.set(k, !0), t && d("collection", y.collectionId)) : f.set(D, n || S().failedToLoadCollection || "Failed to load collection", !0);
49
- }
50
- } finally {
51
- f.get(O) && n === N && f.set(E, !1);
52
- }
53
- }
54
- function F(e) {
55
- return !!(e && String(e.id) === String(y.collectionId) && e.visibility === "public" && Array.isArray(e.events) && !e.passwordRequired && !e.error);
56
- }
57
- function I(e) {
58
- e.preventDefault(), f.get(A).trim() && P(f.get(A));
59
- }
60
- function L(e) {
61
- b() && e.id ? b()(Number(e.id), e.slug) : s(c("/[id]/[slug]", {
62
- id: String(e.id),
63
- slug: String(e.slug)
64
- }));
65
- }
66
- m(() => {
67
- f.set(O, !0);
68
- let e = x() ? void 0 : u("collection", y.collectionId);
69
- if (!x() && !e && F(w())) {
70
- f.set(T, w()), f.set(E, !1);
71
- return;
72
- }
73
- P(x() ?? e, !!e);
74
- }), p(() => {
75
- f.set(O, !1);
76
- });
77
- var R = f.comment(), z = f.first_child(R), B = (e) => {
78
- var t = h(), n = f.child(t), r = f.child(n, !0);
79
- f.reset(n), f.reset(t), f.template_effect(() => f.set_text(r, S().loadingCollection || "Loading collection...")), f.append(e, t);
80
- }, V = (e) => {
81
- var t = g(), n = f.child(t), r = f.child(n), a = f.child(r, !0);
82
- f.reset(r);
83
- var s = f.sibling(r, 2), c = f.child(s, !0);
84
- f.reset(s);
85
- var l = f.sibling(s, 2), u = f.child(l);
86
- {
87
- let e = f.derived(() => S().enterPassword || "Enter password"), t = f.derived(() => f.get(j) ? S().incorrectPassword || "Incorrect password. Please try again" : "");
88
- o(u, {
89
- get placeholder() {
90
- return f.get(e);
91
- },
92
- get error() {
93
- return f.get(t);
94
- },
95
- get value() {
96
- return f.get(A);
97
- },
98
- set value(e) {
99
- f.set(A, e, !0);
100
- }
101
- });
102
- }
103
- var d = f.sibling(u, 2);
104
- i(d, {
105
- variant: "default",
106
- type: "submit",
107
- children: (e, t) => {
108
- f.next();
109
- var n = f.text();
110
- f.template_effect(() => f.set_text(n, S().viewCollection || "View collection")), f.append(e, n);
111
- },
112
- $$slots: { default: !0 }
113
- }), f.reset(l), f.reset(n), f.reset(t), f.template_effect(() => {
114
- f.set_text(a, S().collectionPrivateTitle || "This collection is private"), f.set_text(c, S().collectionPrivateDescription || "Please enter the password to view this collection");
115
- }), f.event("submit", l, I), f.append(e, t);
116
- }, H = (e) => {
117
- var t = _(), n = f.child(t), r = f.child(n);
118
- f.reset(n), f.reset(t), f.template_effect(() => f.set_text(r, `${(S().errorPrefix || "Error:") ?? ""} ${f.get(D) ?? ""}`)), f.append(e, t);
119
- }, U = (t) => {
120
- e(t, {
121
- get event() {
122
- return f.get(M);
123
- },
124
- onCollectionEventClick: L,
125
- get labels() {
126
- return S();
127
- },
128
- get locale() {
129
- return C();
130
- }
131
- });
132
- };
133
- f.if(z, (e) => {
134
- f.get(E) ? e(B) : f.get(k) ? e(V, 1) : f.get(D) ? e(H, 2) : f.get(M) && e(U, 3);
135
- }), f.append(v, R), f.pop();
136
- }
137
- //#endregion
138
- export { v as default };