@getmicdrop/venue-calendar 4.2.4 → 4.2.5
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.
- package/dist/{ArrowLeftIcon-BGd-X_Qm.js → ArrowLeftIcon-BxKUPFOE.js} +1 -1
- package/dist/{Badge-Bv_MT-Vt.js → Badge-M6qZyfTF.js} +9 -10
- package/dist/BlockPlaceholder-CLdS2Y-c.js +62 -0
- package/dist/{Calendar-DafPX3k_.js → Calendar-DwNhbEQY.js} +290 -292
- package/dist/CalendarFoundryView-BX5mT6NY.js +23561 -0
- package/dist/{CalendarIcon-CeQ1_FWq.js → CalendarIcon-jLckZ_4N.js} +1 -1
- package/dist/{CartView-nvVA8vWk.js → CartView-B61KRyFq.js} +644 -651
- package/dist/Checkout-CoExiUba.js +1809 -0
- package/dist/{Checkout-Ow2x8cNL.js → Checkout-DlQ2x3L6.js} +97 -97
- package/dist/{CheckoutTimer-DJlt5M2b.js → CheckoutTimer-Cv9iQj2d.js} +5 -5
- package/dist/{ChevronDownIcon-y7oNyepp.js → ChevronDownIcon-DiZxxS3e.js} +1 -1
- package/dist/{ClockIcon-BGTz8dak.js → ClockIcon-BrWavNGl.js} +1 -1
- package/dist/{CloseIcon-C9SHeORJ.js → CloseIcon-Cmddp2PA.js} +1 -1
- package/dist/{CollectionView-BAIlcuqO.js → CollectionView-DpkF55yD.js} +12 -13
- package/dist/Event-CzNN2jRR.js +3040 -0
- package/dist/{EventPage-LuA-aEYZ.js → EventPage-DnKNNWk8.js} +167 -168
- package/dist/{Heading-Dfo3bjyn.js → Heading-B7VYbbfJ.js} +3 -4
- package/dist/Image-DBJAfLYe.js +81 -0
- package/dist/{phoneUtils-BJeAIGYo.js → Input-DsWjpYtc.js} +1132 -694
- package/dist/{MailIcon-xtNog-7h.js → MailIcon-gpZMGdBK.js} +1 -1
- package/dist/{Modal-CqzRblrN.js → Modal-D4AUdrz8.js} +2 -2
- package/dist/{ModalFooter-DHhBLDbO.js → ModalFooter-8Di4-qKC.js} +57 -59
- package/dist/{PasswordInput-Czm5Pe_p.js → PasswordInput-Buk60yEf.js} +4 -4
- package/dist/{ScarcityBadge-CdgQmt1D.js → ScarcityBadge-DgrS89hq.js} +4 -4
- package/dist/{SeriesPage-DfCyV1ka.js → SeriesPage-BCovOJ6a.js} +5 -5
- package/dist/{Spinner-BwiDys7C.js → Spinner-ChTN7t75.js} +3 -3
- package/dist/{Success-CsYxRkLE.js → Success-BRufJqwQ.js} +76 -77
- package/dist/{TagIcon-DJSTnymB.js → TagIcon-C0uTQgU8.js} +1 -1
- package/dist/{ViewTicketsEmbed-CKucKt-W.js → ViewTicketsEmbed-CfagtvVL.js} +59 -60
- package/dist/{WarningCircleIcon-BKSQbu7p.js → WarningCircleIcon-B2hkUrvV.js} +1 -1
- package/dist/{WarningTriIcon-DgwTwlxe.js → WarningTriIcon-Boy4IW6-.js} +1 -1
- package/dist/{__SKIP_PATHS__-BTbGfN80.js → __SKIP_PATHS__-DPK-YB-V.js} +1 -1
- package/dist/{href-DJeJpcO9.js → allowlist-Cu2kP6jt.js} +4 -21
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +123 -112
- package/dist/api/events.d.ts +21 -2
- package/dist/api/types.d.ts +17 -0
- package/dist/{browser-Um8Y6K99.js → browser-25hnscei.js} +7 -7
- package/dist/cancel-gqtaw6SK.js +59 -0
- package/dist/{colors-DeJAzg_q.js → colors-B9hMXv8l.js} +123 -113
- package/dist/{constants-OTS1wmXZ.js → constants-DBwdjnEU.js} +74 -74
- package/dist/{copyToClipboard-CRDdh3r8.js → copyToClipboard-BDa2_uNf.js} +1 -1
- package/dist/{createI18n-DBUVdZra.js → createI18n-08XGDh1_.js} +1 -1
- package/dist/{event-BrptLro8.js → event-Cp5D4ctZ.js} +1 -1
- package/dist/{event-transform-BaJ7M1DL.js → event-transform-BFJTgtU9.js} +4 -4
- package/dist/{eventStatusStream-sq6uPnMe.js → eventStatusStream-SyvhRCtk.js} +2 -2
- package/dist/{i18n-GzfxX0Ad.js → i18n-4ZGOM8hY.js} +11 -11
- package/dist/{labels-CqodQmuY.js → labels-99RC9gAv.js} +1 -1
- package/dist/{modalManager.svelte-OSPs3dSW.js → modalManager.svelte-BdNsCq6n.js} +2 -2
- package/dist/{order-totals-BAKL9cOB.js → order-totals-CQ0V7Fdc.js} +13 -15
- package/dist/{orders-NZP81zYT.js → orders-oRqSQXSf.js} +19 -20
- package/dist/{pixels-BBruZizp.js → pixels-DycN_8bu.js} +7 -8
- package/dist/{promo-DtLZRskK.js → promo-BrMcoTYh.js} +3 -3
- package/dist/{serverTotals-BO126TTd.js → serverTotals-CpRaEe9K.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-BRInK1hH.js → shareCopyFeedback.svelte-D314p5oA.js} +25 -25
- package/dist/{showcase-state-options-BoJxiEsg.js → showcase-state-options-B2XfybZq.js} +1 -1
- package/dist/timezones-Cq1mLtfM.js +4170 -0
- package/dist/{to-event-card-props-CO3aPBdH.js → to-event-card-props-BNBWYYPo.js} +23 -24
- package/dist/{utils-C8GgxJMv.js → utils-CrlClQxc.js} +3 -3
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +209 -210
- package/dist/venue-calendar.iife.js +63 -64
- package/dist/venue-calendar.umd.js +59 -60
- package/package.json +220 -220
- package/dist/BlockPlaceholder-Wl39H9Z7.js +0 -52
- package/dist/Button-C4uFgl7L.js +0 -2141
- package/dist/CalendarFoundryView-COkX5oQx.js +0 -22292
- package/dist/Checkout-BphC7gak.js +0 -1807
- package/dist/CloseOutline-qpVa62mu.js +0 -13
- package/dist/CropImage-B0tj2_uN.js +0 -404
- package/dist/Event-CTaXLze_.js +0 -3034
- package/dist/Image-B3cEndLZ.js +0 -87
- package/dist/Input-iXqece97.js +0 -487
- package/dist/imageOptimizer-CB3wKJU8.js +0 -47
- package/dist/sortable.esm--ZtTTTPp.js +0 -1451
- package/dist/timezones-C5l0SSHK.js +0 -2030
- package/dist/z-index-B0Vk_Mp1.js +0 -27
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/de.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/es.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/id.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/it.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/de.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/es.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/fr.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/id.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/it.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/ja.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/ko.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/nl.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/pl.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/tr.js +0 -0
- /package/dist/locales/{4.2.4 → 4.2.5}/main/zh.js +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as d } from "./Badge-Bv_MT-Vt.js";
|
|
1
|
+
import { D as e, I as t, Z as n, k as r, r as i, w as a } from "./timezones-Cq1mLtfM.js";
|
|
2
|
+
import { a as o, i as s, r as c, u as l, y as u } from "./constants-DBwdjnEU.js";
|
|
3
|
+
import { t as d } from "./Badge-M6qZyfTF.js";
|
|
5
4
|
import "svelte/internal/disclose-version";
|
|
6
5
|
import * as f from "svelte/internal/client";
|
|
7
6
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
|
|
@@ -144,14 +143,14 @@ function S() {
|
|
|
144
143
|
return x += 1;
|
|
145
144
|
}
|
|
146
145
|
var C = f.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), w = f.from_html("<span> </span>"), T = f.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), E = f.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), D = f.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden flex flex-col svelte-18ndok6\"><div class=\"event-card__poster w-full aspect-video bg-muted shrink-0 overflow-hidden svelte-18ndok6\"><!></div> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-18ndok6\"><header class=\"event-card__header\"><h3><!> <a class=\"event-card__title-link svelte-18ndok6\" rel=\"external\"> </a></h3></header> <!> <!> <!></div></article>");
|
|
147
|
-
function O(
|
|
148
|
-
f.push(
|
|
149
|
-
let r = f.prop(
|
|
150
|
-
function k(e,
|
|
151
|
-
|
|
146
|
+
function O(e, t) {
|
|
147
|
+
f.push(t, !0);
|
|
148
|
+
let r = f.prop(t, "layout", 3, "vertical"), a = f.prop(t, "density", 3, "standard"), o = f.prop(t, "imageUrl", 3, ""), s = f.prop(t, "placeholderImage", 3, ""), c = f.prop(t, "dateLabel", 3, ""), l = f.prop(t, "description", 3, ""), u = f.prop(t, "badge", 3, null), p = f.prop(t, "pills", 19, () => []), m = f.prop(t, "pillVariant", 3, "alternative"), h = f.prop(t, "showDescription", 3, !1), _ = f.prop(t, "hideDate", 3, !1), v = f.derived(() => b[a()]), y = `event-card-title-${S()}`, x = f.derived(() => h() && !!l() && (a() === "standard" || a() === "featured")), O = f.derived(() => !_() && a() !== "micro" && !!c());
|
|
149
|
+
function k(e, n) {
|
|
150
|
+
n.metaKey || n.ctrlKey || n.shiftKey || n.altKey || t.onpillclick && (n.preventDefault(), n.stopPropagation(), t.onpillclick(e));
|
|
152
151
|
}
|
|
153
152
|
function A(e) {
|
|
154
|
-
e.metaKey || e.ctrlKey || e.shiftKey || e.altKey ||
|
|
153
|
+
e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || t.onclick && (e.preventDefault(), t.onclick());
|
|
155
154
|
}
|
|
156
155
|
var j = D(), M = f.child(j);
|
|
157
156
|
g(f.child(M), {
|
|
@@ -185,11 +184,11 @@ function O(t, n) {
|
|
|
185
184
|
});
|
|
186
185
|
var R = f.sibling(I, 2), z = f.child(R, !0);
|
|
187
186
|
f.reset(R), f.reset(F), f.reset(P);
|
|
188
|
-
var B = f.sibling(P, 2), V = (
|
|
189
|
-
var
|
|
190
|
-
f.reset(
|
|
191
|
-
f.set_class(
|
|
192
|
-
}), f.append(
|
|
187
|
+
var B = f.sibling(P, 2), V = (e) => {
|
|
188
|
+
var t = w(), r = f.child(t, !0);
|
|
189
|
+
f.reset(t), f.template_effect(() => {
|
|
190
|
+
f.set_class(t, 1, `event-card__date tone-secondary ${n.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r, c());
|
|
191
|
+
}), f.append(e, t);
|
|
193
192
|
};
|
|
194
193
|
f.if(B, (e) => {
|
|
195
194
|
f.get(O) && e(V);
|
|
@@ -233,8 +232,8 @@ function O(t, n) {
|
|
|
233
232
|
f.if(W, (e) => {
|
|
234
233
|
f.get(x) && e(G);
|
|
235
234
|
}), f.reset(N), f.reset(j), f.template_effect(() => {
|
|
236
|
-
f.set_attribute(j, "data-layout", r()), f.set_attribute(j, "data-density", a()), f.set_attribute(j, "aria-labelledby", y), f.set_class(F, 1, `event-card__title ${
|
|
237
|
-
}), f.delegated("click", R, A), f.append(
|
|
235
|
+
f.set_attribute(j, "data-layout", r()), f.set_attribute(j, "data-density", a()), f.set_attribute(j, "aria-labelledby", y), f.set_class(F, 1, `event-card__title ${n.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), f.set_attribute(F, "id", y), f.set_attribute(R, "href", t.href), f.set_attribute(R, "aria-label", t.ariaLabel ?? t.title), f.set_text(z, t.title);
|
|
236
|
+
}), f.delegated("click", R, A), f.append(e, j), f.pop();
|
|
238
237
|
}
|
|
239
238
|
f.delegate(["click"]);
|
|
240
239
|
//#endregion
|
|
@@ -317,8 +316,8 @@ function L(e, n) {
|
|
|
317
316
|
break;
|
|
318
317
|
case "past":
|
|
319
318
|
if (e.startDateTime) {
|
|
320
|
-
let i =
|
|
321
|
-
if (i &&
|
|
319
|
+
let i = r(e.endDateTime || e.startDateTime);
|
|
320
|
+
if (i && a(i, t()) < 0) return {
|
|
322
321
|
text: n?.statusPastEvent || "Past event",
|
|
323
322
|
type: "past"
|
|
324
323
|
};
|
|
@@ -394,12 +393,12 @@ function B(e) {
|
|
|
394
393
|
default: return "neutral";
|
|
395
394
|
}
|
|
396
395
|
}
|
|
397
|
-
function V(
|
|
398
|
-
let
|
|
399
|
-
return
|
|
396
|
+
function V(t) {
|
|
397
|
+
let n = e();
|
|
398
|
+
return t.filter((e) => {
|
|
400
399
|
if (F(e.status ?? "") === "postponed") return !0;
|
|
401
|
-
let
|
|
402
|
-
return e.date >=
|
|
400
|
+
let t = o(n, e.timeZone);
|
|
401
|
+
return e.date >= t;
|
|
403
402
|
}).sort((e, t) => e.date.localeCompare(t.date));
|
|
404
403
|
}
|
|
405
404
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as t, G as n, M as r, O as i, T as a, U as o, Y as s, q as c } from "./orders-
|
|
3
|
-
import "./event-transform-
|
|
1
|
+
import { tt as e } from "./timezones-Cq1mLtfM.js";
|
|
2
|
+
import { D as t, G as n, M as r, O as i, T as a, U as o, Y as s, q as c } from "./orders-oRqSQXSf.js";
|
|
3
|
+
import "./event-transform-BFJTgtU9.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++) {
|