@getmicdrop/venue-calendar 4.2.32 → 4.2.34
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/README.md +809 -809
- package/dist/{ArrowLeftIcon-B92-MN6-.js → ArrowLeftIcon-D2dcPIYB.js} +1 -1
- package/dist/{Badge-Bv_MT-Vt.js → Badge-Bk1dnG89.js} +1 -1
- package/dist/{BlockPlaceholder-DuE4xLS_.js → BlockPlaceholder-DJLtnBDw.js} +1 -1
- package/dist/{Calendar-CXq_H56Z.js → Calendar-CzvJjOKf.js} +19 -19
- package/dist/{CalendarFoundryView-DxQKDDgF.js → CalendarFoundryView-DWjYFSEw.js} +980 -960
- package/dist/{CalendarIcon-pJ01x71c.js → CalendarIcon-CkJFNFxp.js} +1 -1
- package/dist/{CartView-DRVzz2Jv.js → CartView-DidUQzO-.js} +532 -532
- package/dist/{Checkout-Cdw5BIfy.js → Checkout-1NyqTUI8.js} +129 -129
- package/dist/{Checkout-DmermPNB.js → Checkout-eIj6xGgL.js} +173 -173
- package/dist/{CheckoutTimer-Bz-HJhV2.js → CheckoutTimer-DFIHUIZl.js} +5 -5
- package/dist/{ChevronDownIcon-k93EaHQh.js → ChevronDownIcon-rsVUoX0r.js} +1 -1
- package/dist/{ClockIcon-hnrV9bwg.js → ClockIcon-CIwbKXZX.js} +1 -1
- package/dist/{CloseIcon-CdZ5mNTK.js → CloseIcon-B7HoEcON.js} +1 -1
- package/dist/{CollectionView-C15_ZzBb.js → CollectionView-Dt3NmdBh.js} +9 -10
- package/dist/{Event-B0IdtMpP.js → Event-B0hDsxnc.js} +377 -359
- package/dist/{EventPage-B4y4n5md.js → EventPage-De-7chl3.js} +124 -125
- package/dist/{Heading-Dfo3bjyn.js → Heading-CQlZrwry.js} +1 -1
- package/dist/{Image-B3cEndLZ.js → Image-T6dKIfNx.js} +1 -1
- package/dist/{Input-BntIoPeV.js → Input-8KhoOdg-.js} +1 -1
- package/dist/{MailIcon-CMyjGJ4_.js → MailIcon-CSR5vhKU.js} +1 -1
- package/dist/{Modal-B6BsMEaP.js → Modal-D3Otve45.js} +2 -2
- package/dist/{ModalFooter-D1XdQEhH.js → ModalFooter-fv8mC75I.js} +162 -147
- package/dist/{PasswordInput-C91gXtFY.js → PasswordInput-B_6cNrlw.js} +1 -1
- package/dist/{ScarcityBadge-C0YeWGkd.js → ScarcityBadge-CtHuWSRt.js} +23 -22
- package/dist/{SeriesPage-1ZZgy2K-.js → SeriesPage-BFYmtgoi.js} +4 -4
- package/dist/{Spinner-BwiDys7C.js → Spinner-fFAXvj_B.js} +1 -1
- package/dist/{Success-BxvH6W_x.js → Success-BIVQOUqu.js} +52 -52
- package/dist/{TagIcon-BkPcpKdu.js → TagIcon-Do5sN8xR.js} +1 -1
- package/dist/ViewTicketsEmbed-CbbE-8EX.js +727 -0
- package/dist/{WarningCircleIcon-D78IFaPY.js → WarningCircleIcon-DuqytsVW.js} +1 -1
- package/dist/{WarningTriIcon-6WbGCso4.js → WarningTriIcon-CW-j3Vwq.js} +1 -1
- package/dist/{__SKIP_PATHS__-tAxwP7_6.js → __SKIP_PATHS__-Chv7DW7h.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +299 -209
- package/dist/api/gift-cards.d.ts +1 -1
- package/dist/api/orders.d.ts +2 -2
- package/dist/api/types.d.ts +554 -554
- package/dist/{colors-DbQNhbC_.js → colors-BND7shPA.js} +119 -117
- package/dist/constants-BYtFptYp.js +356 -0
- package/dist/{copyToClipboard-DAGJHhtn.js → copyToClipboard-CcwaUGGt.js} +1 -1
- package/dist/{de-BG-86m10.js → de-8N03rEoe.js} +4 -1
- package/dist/{de-BZpzzwT9.js → de-CgHrjezX.js} +57 -1
- package/dist/{timezones-C5l0SSHK.js → defaultLabels-CGMGBy-u.js} +501 -1
- package/dist/{es-9jwSoUSD.js → es-D6ThNLUc.js} +45 -1
- package/dist/{es-B1RPM3H_.js → es-tRMGbtbB.js} +4 -1
- package/dist/{event-v8d4wRpB.js → event-CbAGNxgd.js} +1 -1
- package/dist/{event-transform-lC22EDSL.js → event-transform-DnvOiDVn.js} +4 -4
- package/dist/{eventStatusStream-CopqZ2oa.js → eventStatusStream-BIn6Dzkw.js} +5 -5
- package/dist/{fr-B6FgrH9s.js → fr-DDnljtQz.js} +4 -1
- package/dist/{fr-fYY2O8Ab.js → fr-W0OOohju.js} +57 -1
- package/dist/{href-BH6l_kZx.js → href-D2-tmkMF.js} +2 -2
- package/dist/{i18n-CIVh_urJ.js → i18n-4k6uF1EX.js} +126 -126
- package/dist/i18n-FnFHQ5QU.js +28 -0
- package/dist/{id-CK7hal8E.js → id-BZshacSm.js} +4 -1
- package/dist/{id-But8qcA2.js → id-xgAFN1EH.js} +57 -1
- package/dist/{it-BdV8d4GZ.js → it-B6Rbpjec.js} +4 -1
- package/dist/{it-Cr9Quauw.js → it-BhuT9BcE.js} +57 -1
- package/dist/{ja-DKVQltc4.js → ja-Bmj-bPuM.js} +4 -1
- package/dist/{ja-CNXwg0_H.js → ja-yca07ASz.js} +57 -1
- package/dist/{ko-DtoIJliT.js → ko-Pfftd2u0.js} +57 -1
- package/dist/{ko-DpIk-4pN.js → ko-r-ecuHZ5.js} +4 -1
- package/dist/{labels-BUH8ouCu.js → labels-Cs7xp4ug.js} +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/flow/zh.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.34}/main/zh.js +1 -1
- package/dist/{modalManager.svelte-BLfn6RXD.js → modalManager.svelte-vILq6Thx.js} +2 -2
- package/dist/{nl-Dbs4YQMw.js → nl-CQEhSA2l.js} +57 -1
- package/dist/{nl-C-dVfidI.js → nl-CS1da1Bc.js} +4 -1
- package/dist/{order-totals-CeeD6GjZ.js → order-totals-CSDXY65z.js} +31 -31
- package/dist/{orders-BuGy4vpJ.js → orders-CH2nnS3m.js} +365 -209
- package/dist/{phoneUtils-BDV9Eggn.js → phoneUtils-BtJ3FhMK.js} +1 -1
- package/dist/{pixels-D6vqcuy2.js → pixels-BK7PGnme.js} +11 -11
- package/dist/{pl-CnFcI33y.js → pl-C2bkE2WA.js} +4 -1
- package/dist/{pl-Da6lsZXQ.js → pl-CyWqKYE8.js} +57 -1
- package/dist/{promo-DtLZRskK.js → promo-Cy4LPBAC.js} +3 -3
- package/dist/{pt-br-6QYijxa0.js → pt-br--DIxBDjz.js} +4 -1
- package/dist/{pt-br-D1wHabRR.js → pt-br-BC2I7f8-.js} +57 -1
- package/dist/seo/types.d.ts +156 -156
- package/dist/{serverTotals-t2UmKkhC.js → serverTotals-C3VhWitQ.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-B-M53Wj2.js → shareCopyFeedback.svelte-DTl5jJ2n.js} +55 -55
- package/dist/{showcase-state-options-VZcqIjpF.js → showcase-state-options-CeCdn8_C.js} +1 -1
- package/dist/{to-event-card-props-CpXtfoKx.js → to-event-card-props-BmsDr8T3.js} +31 -31
- package/dist/{tr-Pv_m8usO.js → tr-Bk7x5MW7.js} +4 -1
- package/dist/{tr-CpN50zWw.js → tr-CNjaJc_1.js} +57 -1
- package/dist/types/index.d.ts +509 -509
- package/dist/{utils-CtqaTDLB.js → utils-pF15CnBe.js} +49 -49
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +711 -735
- package/dist/venue-calendar.iife.js +60 -61
- package/dist/venue-calendar.umd.js +54 -55
- package/dist/{zh-CAAnH4T4.js → zh-C8kyVh24.js} +4 -1
- package/dist/{zh-CwlRq_aG.js → zh-DOeb3_A1.js} +57 -1
- package/package.json +3 -3
- package/src/lib/theme.js +222 -222
- package/dist/ViewTicketsEmbed-DVurn8FG.js +0 -690
- package/dist/constants-ENlpIS8i.js +0 -822
- package/dist/createI18n-DBUVdZra.js +0 -75
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as e } from "./constants-BYtFptYp.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ArrowLeftIcon.svelte
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, o as t } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as n } from "./defaultLabels-CGMGBy-u.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as r from "svelte/internal/client";
|
|
5
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/tokens/variants.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
2
|
+
import { q as t } from "./constants-BYtFptYp.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as n from "svelte/internal/client";
|
|
5
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/InfoIcon.svelte
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as e, _ as t, h as n, i as r, v as i } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
3
|
-
import { c as o } from "./Input-
|
|
4
|
-
import { A as s,
|
|
5
|
-
import { r as g } from "./Badge-
|
|
6
|
-
import { c as _, i as v, r as y, s as b, t as x } from "./to-event-card-props-
|
|
7
|
-
import { c as S, d as C, f as w, l as T, u as ee } from "./ModalFooter-
|
|
2
|
+
import { V as a } from "./defaultLabels-CGMGBy-u.js";
|
|
3
|
+
import { c as o } from "./Input-8KhoOdg-.js";
|
|
4
|
+
import { A as s, G as c, L as l, U as u, j as d, k as f, q as p, t as m, z as h } from "./constants-BYtFptYp.js";
|
|
5
|
+
import { r as g } from "./Badge-Bk1dnG89.js";
|
|
6
|
+
import { c as _, i as v, r as y, s as b, t as x } from "./to-event-card-props-BmsDr8T3.js";
|
|
7
|
+
import { c as S, d as C, f as w, l as T, u as ee } from "./ModalFooter-fv8mC75I.js";
|
|
8
8
|
import { t as E } from "./z-index-B0Vk_Mp1.js";
|
|
9
9
|
import "svelte/internal/disclose-version";
|
|
10
10
|
import * as D from "svelte/internal/client";
|
|
@@ -34,18 +34,18 @@ function se(e, t) {
|
|
|
34
34
|
var O = D.from_svg("<path d=\"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z\"></path>"), ce = D.from_svg("<circle cx=\"112\" cy=\"112\" r=\"80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></circle><line x1=\"168.57\" y1=\"168.57\" x2=\"224\" y2=\"224\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), le = D.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
35
35
|
function ue(e, t) {
|
|
36
36
|
D.push(t, !0);
|
|
37
|
-
let n = D.prop(t, "size", 3, "24"), r = D.prop(t, "color", 3, "currentColor"), i = D.prop(t, "class", 3, ""), a =
|
|
37
|
+
let n = D.prop(t, "size", 3, "24"), r = D.prop(t, "color", 3, "currentColor"), i = D.prop(t, "class", 3, ""), a = p(), o = D.derived(() => t.weight ?? a?.weight ?? "regular");
|
|
38
38
|
var s = le();
|
|
39
39
|
let c;
|
|
40
|
-
var
|
|
40
|
+
var l = D.child(s), u = (e) => {
|
|
41
41
|
var t = O();
|
|
42
42
|
D.append(e, t);
|
|
43
|
-
},
|
|
43
|
+
}, d = (e) => {
|
|
44
44
|
var t = ce();
|
|
45
45
|
D.next(), D.append(e, t);
|
|
46
46
|
};
|
|
47
|
-
D.if(
|
|
48
|
-
D.get(o) === "fill" ? e(
|
|
47
|
+
D.if(l, (e) => {
|
|
48
|
+
D.get(o) === "fill" ? e(u) : e(d, -1);
|
|
49
49
|
}), D.reset(s), D.template_effect(() => {
|
|
50
50
|
D.set_class(s, 0, D.clsx(i())), D.set_attribute(s, "width", n()), D.set_attribute(s, "height", n()), c = D.set_style(s, "", c, { color: r() === "currentColor" ? void 0 : r() });
|
|
51
51
|
}), D.append(e, s), D.pop();
|
|
@@ -1030,21 +1030,21 @@ function Ut(t, n) {
|
|
|
1030
1030
|
var Wt = D.from_html("<div style=\"display:contents\" data-testid=\"calendar-event\"><!></div>"), Gt = D.from_html("<div role=\"gridcell\"><div> </div> <!></div>"), Kt = D.from_html("<div class=\"month-grid svelte-1twddf5\" role=\"grid\"></div>"), qt = D.from_html("<div> </div>"), Jt = D.from_html("<button type=\"button\" data-testid=\"calendar-day\"><span> </span></button>"), Yt = D.from_html("<div class=\"mini-grid svelte-1twddf5\" role=\"grid\"></div>"), Xt = D.from_html("<li class=\"list-none\"><!></li>"), Zt = D.from_html("<div class=\"hidden lg:block calendar-swipe-host svelte-1twddf5\"><div class=\"dow-row svelte-1twddf5\" aria-hidden=\"true\"></div> <div class=\"swipe-viewport svelte-1twddf5\"><div><!> <!> <!></div></div></div> <div class=\"lg:hidden calendar-swipe-host svelte-1twddf5\"><div class=\"dow-row svelte-1twddf5\" aria-hidden=\"true\"></div> <div class=\"swipe-viewport svelte-1twddf5\"><div><!> <!> <!></div></div> <div class=\"mt-4\"><!></div></div>", 1);
|
|
1031
1031
|
function Qt(e, a) {
|
|
1032
1032
|
D.push(a, !0), D.prop(a, "isScheduledBtn", 3, !1), D.prop(a, "eventCalendar", 3, !1), D.prop(a, "embedCalendar", 3, !1);
|
|
1033
|
-
let o = D.prop(a, "currentYear", 19, () =>
|
|
1033
|
+
let o = D.prop(a, "currentYear", 19, () => u().getFullYear()), p = D.prop(a, "currentMonth", 19, () => u().getMonth()), S = D.prop(a, "currentevents", 19, () => []);
|
|
1034
1034
|
D.prop(a, "showPartialPreview", 3, !0);
|
|
1035
|
-
let C = D.prop(a, "labels", 19, () => ({})), w = D.prop(a, "locale", 3, "en-US"), T = D.derived(o), ee = D.derived(
|
|
1035
|
+
let C = D.prop(a, "labels", 19, () => ({})), w = D.prop(a, "locale", 3, "en-US"), T = D.derived(o), ee = D.derived(p), E = h(u()), ne = D.derived(() => l(D.get(T), D.get(ee), 1)), re = D.derived(() => c(D.get(ne), {
|
|
1036
1036
|
month: "long",
|
|
1037
1037
|
year: "numeric"
|
|
1038
1038
|
}, w())), ie = D.derived(() => {
|
|
1039
1039
|
let e = new Intl.DateTimeFormat(w(), { weekday: "short" }), t = new Intl.DateTimeFormat(w(), { weekday: "narrow" });
|
|
1040
|
-
return d(
|
|
1040
|
+
return d(u()).map((n) => ({
|
|
1041
1041
|
short: e.format(n),
|
|
1042
1042
|
narrow: t.format(n)
|
|
1043
1043
|
}));
|
|
1044
1044
|
});
|
|
1045
1045
|
function ae(e, t) {
|
|
1046
|
-
return
|
|
1047
|
-
let i =
|
|
1046
|
+
return s(e.getFullYear(), e.getMonth()).map(({ day: e, inMonth: n, isToday: r }) => {
|
|
1047
|
+
let i = h(e);
|
|
1048
1048
|
return {
|
|
1049
1049
|
day: e.getDate(),
|
|
1050
1050
|
date: i,
|
|
@@ -1069,7 +1069,7 @@ function Qt(e, a) {
|
|
|
1069
1069
|
let e = new te();
|
|
1070
1070
|
for (let t of S()) y(t)?.type !== "cancelled" && (e.has(t.date) || e.set(t.date, []), e.get(t.date).push(t));
|
|
1071
1071
|
return e;
|
|
1072
|
-
}), O = D.derived(() => ae(D.get(ne), D.get(se))), ce = D.derived(() => ae(
|
|
1072
|
+
}), O = D.derived(() => ae(D.get(ne), D.get(se))), ce = D.derived(() => ae(f(D.get(ne), -1), D.get(se))), le = D.derived(() => ae(f(D.get(ne), 1), D.get(se))), ue = D.derived(() => oe(D.get(O))), k = D.derived(() => oe(D.get(ce))), A = D.derived(() => oe(D.get(le))), j = 0, de = 0, M = 0, fe = 0, pe = 0, N = D.state(!1), P = D.state(0), F = D.state(!1), I = D.state(!1), L = null, R = D.state(!1), me = D.state(null), he = D.state(null);
|
|
1073
1073
|
function ge() {
|
|
1074
1074
|
return D.get(me)?.offsetWidth || D.get(he)?.offsetWidth || 320;
|
|
1075
1075
|
}
|
|
@@ -1207,7 +1207,7 @@ function Qt(e, a) {
|
|
|
1207
1207
|
density: "micro",
|
|
1208
1208
|
hideDate: !0,
|
|
1209
1209
|
get placeholderImage() {
|
|
1210
|
-
return
|
|
1210
|
+
return m;
|
|
1211
1211
|
},
|
|
1212
1212
|
onclick: () => a.oneventClick?.(D.get(t).event),
|
|
1213
1213
|
onpillclick: (e) => a.oneventClick?.(D.get(n).pillEvents[e] ?? D.get(t).event)
|
|
@@ -1301,7 +1301,7 @@ function Qt(e, a) {
|
|
|
1301
1301
|
density: "compact",
|
|
1302
1302
|
hideDate: !0,
|
|
1303
1303
|
get placeholderImage() {
|
|
1304
|
-
return
|
|
1304
|
+
return m;
|
|
1305
1305
|
},
|
|
1306
1306
|
onclick: () => a.oneventClick?.(D.get(t).event),
|
|
1307
1307
|
onpillclick: (e) => a.oneventClick?.(D.get(n).pillEvents[e] ?? D.get(t).event)
|