@getmicdrop/venue-calendar 4.3.18 → 4.3.20
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-BYu_Qbkb.js → ArrowLeftIcon-B6XUGpop.js} +1 -1
- package/dist/{Badge-DCHGGod2.js → Badge-n7TfNjln.js} +1 -1
- package/dist/{BlockPlaceholder-BoPMt_9Z.js → BlockPlaceholder-hsdlaBnA.js} +2 -2
- package/dist/{Button-vmWb6wKc.js → Button-klwKgfhG.js} +91 -68
- package/dist/{Calendar-V0u5h9jS.js → Calendar-mTCyUfCM.js} +5 -5
- package/dist/{CalendarFoundryView-8W0A4tl0.js → CalendarFoundryView-D55nnNNn.js} +30 -30
- package/dist/{CalendarIcon-C8-UVSje.js → CalendarIcon-DxSu-1DJ.js} +1 -1
- package/dist/{CartView-Ce0yKXNh.js → CartView-CebO-Th3.js} +126 -125
- package/dist/{Checkout-C0lQ0AwV.js → Checkout-Cc_aU50W.js} +18 -18
- package/dist/{Checkout-ByQsDGg3.js → Checkout-DYF-ES2Q.js} +171 -166
- package/dist/{CheckoutTimer-B0E9KnHc.js → CheckoutTimer-DiVoyBfw.js} +3 -3
- package/dist/{ChevronDownIcon-C1uJ2yvz.js → ChevronDownIcon-BDgtb-f-.js} +1 -1
- package/dist/{ClockIcon-Dk9q65sX.js → ClockIcon-DWPagxrA.js} +1 -1
- package/dist/{CloseIcon-CyR73vpD.js → CloseIcon-BVaXYU7Q.js} +1 -1
- package/dist/{CollectionView-BxpZehV9.js → CollectionView-Bt-mwGkJ.js} +8 -8
- package/dist/{CropImage-BOT2Fojj.js → CropImage-B9d215n1.js} +4 -4
- package/dist/{Event-BhfnEP7c.js → Event-omuqSNCd.js} +71 -70
- package/dist/EventPage-0Yel6tyg.js +1155 -0
- package/dist/{Heading-Br1Yqnvg.js → Heading-D6bWtGZA.js} +1 -1
- package/dist/{Image-M5RaWbKU.js → Image-GWt4S2Xa.js} +1 -1
- package/dist/{Input-Bk8lP6TX.js → Input-CdSv8k7C.js} +2 -2
- package/dist/{MailIcon-Ic2SruY-.js → MailIcon-D1kB8YIm.js} +1 -1
- package/dist/{Modal-CLeZUJ_i.js → Modal-gEHiBqWZ.js} +2 -2
- package/dist/{ModalFooter-CSoG_uic.js → ModalFooter-D21lJobf.js} +1 -1
- package/dist/{ModalHeader-DpKxDJT_.js → ModalHeader-fa2P2o57.js} +2 -2
- package/dist/{PasswordInput-BHj_lokg.js → PasswordInput-ClW4V5aJ.js} +2 -2
- package/dist/{RecommendationsRail-8AVZ0aLE.js → RecommendationsRail-B1psK9wy.js} +7 -7
- package/dist/{ScarcityBadge-nK2AQY3W.js → ScarcityBadge-Bp5PeXnY.js} +5 -5
- package/dist/{SeriesPage-DynN1IWH.js → SeriesPage-CQQM8yM4.js} +5 -5
- package/dist/{Spinner-a1KCKWxZ.js → Spinner-D8dOJe6O.js} +2 -2
- package/dist/{Success-Cd3KhNfN.js → Success-B-dMRrrQ.js} +73 -72
- package/dist/{TagIcon-BiYfs6T7.js → TagIcon-C5Pftz3x.js} +1 -1
- package/dist/{ViewTicketsEmbed-Lxg7n02-.js → ViewTicketsEmbed-BB0RnYzO.js} +9 -9
- package/dist/{WarningCircleIcon-AuYbQdPU.js → WarningCircleIcon-DSEX92MS.js} +1 -1
- package/dist/{WarningTriIcon-BzI-tSDG.js → WarningTriIcon-BZ0Vypl3.js} +1 -1
- package/dist/__SKIP_PATHS__-BQgiZG5h.js +37 -0
- package/dist/{api-C1M2t6HU.js → api-shjFa9FF.js} +4 -4
- package/dist/{browser-DrfMvEfn.js → browser-B_8qS4Bh.js} +1 -1
- package/dist/{constants-YG4UeBdR.js → constants-DYUMWpub.js} +1 -1
- package/dist/{copyToClipboard-3SejVveg.js → copyToClipboard-CXm6ykbn.js} +1 -1
- package/dist/{defaultLabels-CXCsTwix.js → defaultLabels-O0WBww33.js} +1 -1
- package/dist/{event-transform-DNqGTQhp.js → event-transform-Dc-1uKqG.js} +15 -15
- package/dist/{eventStatusStream-CLLN-Rvf.js → eventStatusStream-DV25oAL5.js} +2 -2
- package/dist/{href-DuxMJt4c.js → href-B9gyMxPK.js} +3 -3
- package/dist/{i18n-Ct9Bo-Vp.js → i18n-CzZfkIsL.js} +5 -5
- package/dist/{i18n-KdVjJUV5.js → i18n-DmBGDLUG.js} +2 -2
- package/dist/{imageOptimizer-Ba8P7ZEJ.js → imageOptimizer-CXtAyNGI.js} +2 -2
- package/dist/{event-DAjJ01GM.js → navigation-B4lnLFo1.js} +57 -24
- package/dist/{order-totals-DyVkHVqG.js → order-totals-CJBxOV1W.js} +3 -3
- package/dist/{orders-rH0WZYOW.js → orders-B22egWyB.js} +2 -2
- package/dist/{phoneUtils-BFrVEwkQ.js → phoneUtils-sFYidfQ9.js} +1 -1
- package/dist/{pixels-mdd6C3Bk.js → pixels-f66b9MW0.js} +3 -3
- package/dist/{promo-CTRn_F4t.js → promo-C05OA-90.js} +1 -1
- package/dist/{scarcity-Ccj5RlrR.js → scarcity-BvvpXH8o.js} +1 -1
- package/dist/seo/HostSeoController.d.ts +9 -7
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.mjs +13 -1
- package/dist/{serverTotals-Dk3z9sIA.js → serverTotals-BCfUAcv0.js} +1 -1
- package/dist/{showcase-state-options-8-egiV5-.js → showcase-state-options-BKJejE2a.js} +1 -1
- package/dist/{to-event-card-props-a4k6D100.js → to-event-card-props-CqOnItRm.js} +54 -47
- package/dist/types/index.d.ts +7 -0
- package/dist/{utils-BseYYrbn.js → utils-silGk-bs.js} +3 -3
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1313 -1278
- package/dist/venue-calendar.iife.js +60 -60
- package/dist/venue-calendar.umd.js +51 -51
- package/package.json +2 -2
- package/dist/EventPage-DMeqzHxR.js +0 -1154
- package/dist/__SKIP_PATHS__-CnJ51yD_.js +0 -64
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/de.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/es.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/id.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/it.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/de.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/es.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/fr.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/id.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/it.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/ja.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/ko.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/nl.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/pl.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/tr.js +0 -0
- /package/dist/locales/{4.3.18 → 4.3.20}/main/zh.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as e } from "./Button-
|
|
2
|
-
import { i as t, l as n, n as r, r as i } from "./scarcity-
|
|
3
|
-
import { t as a } from "./Badge-
|
|
4
|
-
import { D as o, b as s, h as c, i as l, t as u, v as d } from "./defaultLabels-
|
|
1
|
+
import { S as e } from "./Button-klwKgfhG.js";
|
|
2
|
+
import { i as t, l as n, n as r, r as i } from "./scarcity-BvvpXH8o.js";
|
|
3
|
+
import { t as a } from "./Badge-n7TfNjln.js";
|
|
4
|
+
import { D as o, b as s, h as c, i as l, t as u, v as d } from "./defaultLabels-O0WBww33.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as f from "svelte/internal/client";
|
|
7
7
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
|
|
@@ -143,67 +143,74 @@ var b = {
|
|
|
143
143
|
function S() {
|
|
144
144
|
return x += 1;
|
|
145
145
|
}
|
|
146
|
-
var C = f.from_html("<div class=\"event-card__poster
|
|
146
|
+
var C = f.from_html("<div class=\"event-card__poster aspect-video bg-muted shrink-0 overflow-hidden svelte-18ndok6\"><!></div>"), w = f.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), T = f.from_html("<span> </span>"), E = f.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), D = f.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), O = f.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden svelte-18ndok6\"><!> <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
147
|
function k(t, n) {
|
|
148
148
|
f.push(n, !0);
|
|
149
|
-
let r = f.prop(n, "layout", 3, "vertical"), i = f.prop(n, "density", 3, "standard"), o = f.prop(n, "imageUrl", 3, ""), s = f.prop(n, "placeholderImage", 3, ""), c = f.prop(n, "hidePoster", 3, !1), u = f.prop(n, "
|
|
150
|
-
function
|
|
149
|
+
let r = f.prop(n, "layout", 3, "vertical"), i = f.prop(n, "density", 3, "standard"), o = f.prop(n, "imageUrl", 3, ""), s = f.prop(n, "placeholderImage", 3, ""), c = f.prop(n, "hidePoster", 3, !1), u = f.prop(n, "posterFit", 3, "fit"), d = f.prop(n, "dateLabel", 3, ""), p = f.prop(n, "description", 3, ""), m = f.prop(n, "badge", 3, null), h = f.prop(n, "pills", 19, () => []), _ = f.prop(n, "pillVariant", 3, "alternative"), v = f.prop(n, "showDescription", 3, !1), y = f.prop(n, "hideDate", 3, !1), x = f.derived(() => b[i()]), k = `event-card-title-${S()}`, A = f.derived(() => v() && !!p() && (i() === "standard" || i() === "featured")), j = f.derived(() => !y() && i() !== "micro" && !!d());
|
|
150
|
+
function M(e, t) {
|
|
151
151
|
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || n.onpillclick && (t.preventDefault(), t.stopPropagation(), n.onpillclick(e));
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function N(e) {
|
|
154
154
|
e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || n.onclick && (e.preventDefault(), n.onclick());
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
var t = C();
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
156
|
+
var P = O(), F = f.child(P), I = (e) => {
|
|
157
|
+
var t = C(), n = f.child(t);
|
|
158
|
+
{
|
|
159
|
+
let e = f.derived(() => u() === "fill");
|
|
160
|
+
g(n, {
|
|
161
|
+
get src() {
|
|
162
|
+
return o();
|
|
163
|
+
},
|
|
164
|
+
get fallback() {
|
|
165
|
+
return s();
|
|
166
|
+
},
|
|
167
|
+
get fill() {
|
|
168
|
+
return f.get(e);
|
|
169
|
+
},
|
|
170
|
+
class: "event-card__poster-fill"
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
f.reset(t), f.append(e, t);
|
|
167
174
|
};
|
|
168
|
-
f.if(
|
|
169
|
-
c() || e(
|
|
175
|
+
f.if(F, (e) => {
|
|
176
|
+
c() || e(I);
|
|
170
177
|
});
|
|
171
|
-
var
|
|
178
|
+
var L = f.sibling(F, 2), R = f.child(L), z = f.child(R), B = f.child(z), V = (e) => {
|
|
172
179
|
var t = w(), n = f.child(t);
|
|
173
180
|
a(n, {
|
|
174
181
|
get variant() {
|
|
175
|
-
return
|
|
182
|
+
return m().variant;
|
|
176
183
|
},
|
|
177
184
|
get size() {
|
|
178
|
-
return f.get(
|
|
185
|
+
return f.get(x).badgeSize;
|
|
179
186
|
},
|
|
180
187
|
children: (e, t) => {
|
|
181
188
|
f.next();
|
|
182
189
|
var n = f.text();
|
|
183
|
-
f.template_effect(() => f.set_text(n,
|
|
190
|
+
f.template_effect(() => f.set_text(n, m().text)), f.append(e, n);
|
|
184
191
|
},
|
|
185
192
|
$$slots: { default: !0 }
|
|
186
193
|
}), f.reset(t), f.append(e, t);
|
|
187
194
|
};
|
|
188
|
-
f.if(
|
|
189
|
-
|
|
195
|
+
f.if(B, (e) => {
|
|
196
|
+
m() && e(V);
|
|
190
197
|
});
|
|
191
|
-
var
|
|
192
|
-
f.reset(
|
|
193
|
-
var
|
|
198
|
+
var H = f.sibling(B, 2), U = f.child(H, !0);
|
|
199
|
+
f.reset(H), f.reset(z), f.reset(R);
|
|
200
|
+
var W = f.sibling(R, 2), G = (t) => {
|
|
194
201
|
var n = T(), r = f.child(n, !0);
|
|
195
202
|
f.reset(n), f.template_effect(() => {
|
|
196
|
-
f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r,
|
|
203
|
+
f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r, d());
|
|
197
204
|
}), f.append(t, n);
|
|
198
205
|
};
|
|
199
|
-
f.if(
|
|
200
|
-
f.get(
|
|
206
|
+
f.if(W, (e) => {
|
|
207
|
+
f.get(j) && e(G);
|
|
201
208
|
});
|
|
202
|
-
var
|
|
209
|
+
var K = f.sibling(W, 2), q = (e) => {
|
|
203
210
|
var t = E();
|
|
204
|
-
f.each(t, 21,
|
|
211
|
+
f.each(t, 21, h, f.index, (e, t, n) => {
|
|
205
212
|
{
|
|
206
|
-
let r = f.derived(() =>
|
|
213
|
+
let r = f.derived(() => _() === "primary" ? "default" : "alternative"), i = f.derived(() => f.get(t).ariaLabel ?? f.get(t).timeLabel);
|
|
207
214
|
l(e, {
|
|
208
215
|
get href() {
|
|
209
216
|
return f.get(t).href;
|
|
@@ -212,9 +219,9 @@ function k(t, n) {
|
|
|
212
219
|
return f.get(r);
|
|
213
220
|
},
|
|
214
221
|
get size() {
|
|
215
|
-
return f.get(
|
|
222
|
+
return f.get(x).pillSize;
|
|
216
223
|
},
|
|
217
|
-
onclick: (e) =>
|
|
224
|
+
onclick: (e) => M(n, e),
|
|
218
225
|
get "aria-label"() {
|
|
219
226
|
return f.get(i);
|
|
220
227
|
},
|
|
@@ -228,18 +235,18 @@ function k(t, n) {
|
|
|
228
235
|
}
|
|
229
236
|
}), f.reset(t), f.append(e, t);
|
|
230
237
|
};
|
|
231
|
-
f.if(
|
|
232
|
-
|
|
238
|
+
f.if(K, (e) => {
|
|
239
|
+
h().length > 0 && e(q);
|
|
233
240
|
});
|
|
234
|
-
var
|
|
241
|
+
var J = f.sibling(K, 2), Y = (e) => {
|
|
235
242
|
var t = D(), n = f.child(t, !0);
|
|
236
|
-
f.reset(t), f.template_effect(() => f.set_text(n,
|
|
243
|
+
f.reset(t), f.template_effect(() => f.set_text(n, p())), f.append(e, t);
|
|
237
244
|
};
|
|
238
|
-
f.if(
|
|
239
|
-
f.get(
|
|
240
|
-
}), f.reset(
|
|
241
|
-
f.set_attribute(
|
|
242
|
-
}), f.delegated("click",
|
|
245
|
+
f.if(J, (e) => {
|
|
246
|
+
f.get(A) && e(Y);
|
|
247
|
+
}), f.reset(L), f.reset(P), f.template_effect(() => {
|
|
248
|
+
f.set_attribute(P, "data-layout", r()), f.set_attribute(P, "data-density", i()), f.set_attribute(P, "data-hide-poster", c()), f.set_attribute(P, "aria-labelledby", k), f.set_class(z, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), f.set_attribute(z, "id", k), f.set_attribute(H, "href", n.href), f.set_attribute(H, "aria-label", n.ariaLabel ?? n.title), f.set_text(U, n.title);
|
|
249
|
+
}), f.delegated("click", H, N), f.append(t, P), f.pop();
|
|
243
250
|
}
|
|
244
251
|
f.delegate(["click"]);
|
|
245
252
|
//#endregion
|
package/dist/types/index.d.ts
CHANGED
|
@@ -160,6 +160,13 @@ export interface CalendarProps extends BaseInitOptions {
|
|
|
160
160
|
/** How big each view draws its events: S packs more in, L gives each
|
|
161
161
|
* event more room, M is the default look (default: 'M') */
|
|
162
162
|
size?: 'S' | 'M' | 'L';
|
|
163
|
+
/** Level of the calendar's screen-reader heading: 2 when the host page
|
|
164
|
+
* already carries its h1 (default: 1) */
|
|
165
|
+
headingLevel?: 1 | 2;
|
|
166
|
+
/** Opening a show rewrites the host page's title and share tags to the
|
|
167
|
+
* show's, restoring them on close. Both embeds turn it on unless the host
|
|
168
|
+
* sets inject-seo="false" (default for a direct call: false) */
|
|
169
|
+
injectSeo?: boolean;
|
|
163
170
|
/** Current month store (Svelte writable store) */
|
|
164
171
|
currentMonth?: import('svelte/store').Writable<number>;
|
|
165
172
|
/** Current year store (Svelte writable store) */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as e } from "./Button-
|
|
2
|
-
import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-
|
|
3
|
-
import "./event-transform-
|
|
1
|
+
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
+
import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-B22egWyB.js";
|
|
3
|
+
import "./event-transform-Dc-1uKqG.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++) {
|