@getmicdrop/venue-calendar 4.2.2 → 4.2.3
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-DQ-h5PcH.js → ArrowLeftIcon-CxZXP_IT.js} +1 -1
- package/dist/{Badge-M6qZyfTF.js → Badge-Bv_MT-Vt.js} +10 -9
- package/dist/BlockPlaceholder-HZ6Coko5.js +52 -0
- package/dist/Button-C4uFgl7L.js +2141 -0
- package/dist/{Calendar-BX22svpz.js → Calendar-BKefLfIt.js} +292 -290
- package/dist/CalendarFoundryView-tDmFCrJ3.js +22292 -0
- package/dist/{CalendarIcon-DR197Ioz.js → CalendarIcon-CLGR_zlO.js} +1 -1
- package/dist/{CartView-B2VtVvZM.js → CartView-CHFlfWS9.js} +651 -644
- package/dist/{Checkout-BTqfjvDp.js → Checkout-C-A4t1eE.js} +92 -91
- package/dist/Checkout-CRX7dcRr.js +1807 -0
- package/dist/{CheckoutTimer-Cng5tcGO.js → CheckoutTimer-d3KUbevy.js} +5 -5
- package/dist/{ChevronDownIcon-C_RiK-BW.js → ChevronDownIcon-YtBeSqjf.js} +1 -1
- package/dist/{ClockIcon-BOJENuPq.js → ClockIcon-a9tJQ5El.js} +1 -1
- package/dist/{CloseIcon-Rc7tpX2a.js → CloseIcon-DSURK5co.js} +1 -1
- package/dist/CloseOutline-qpVa62mu.js +13 -0
- package/dist/{CollectionView-A1zP8yz5.js → CollectionView-BiBMllyw.js} +13 -12
- package/dist/CropImage-B0tj2_uN.js +404 -0
- package/dist/Event-1ZJVzqFN.js +3034 -0
- package/dist/{EventPage-hxrPKPhm.js → EventPage-C7K2yA4v.js} +168 -167
- package/dist/{Heading-B7VYbbfJ.js → Heading-Dfo3bjyn.js} +4 -3
- package/dist/Image-B3cEndLZ.js +87 -0
- package/dist/Input-DkYIFK4J.js +487 -0
- package/dist/{MailIcon-rxvK4Wga.js → MailIcon-DIrQpcGo.js} +1 -1
- package/dist/{Modal-BVD2O8hd.js → Modal-DrA1swbF.js} +2 -2
- package/dist/{ModalFooter-CfboEe1M.js → ModalFooter-r1NQNG9P.js} +59 -57
- package/dist/{PasswordInput-BAlq2j97.js → PasswordInput-DB4qa7kS.js} +4 -4
- package/dist/{ScarcityBadge-h7ygRD_C.js → ScarcityBadge-BJOm7_Ho.js} +4 -4
- package/dist/{SeriesPage-D-cwUNZM.js → SeriesPage-JVmqUSax.js} +5 -5
- package/dist/{Spinner-ChTN7t75.js → Spinner-BwiDys7C.js} +3 -3
- package/dist/{Success-CIAX5zmz.js → Success-DAE6gPZM.js} +77 -76
- package/dist/{TagIcon-V0qMu9wS.js → TagIcon-CrTNd8qE.js} +1 -1
- package/dist/{ViewTicketsEmbed-By-IcUJZ.js → ViewTicketsEmbed-Zx-mvP2p.js} +60 -59
- package/dist/{WarningCircleIcon-D32h6VDr.js → WarningCircleIcon-C5-op3Cy.js} +1 -1
- package/dist/{WarningTriIcon-BPDrCiKU.js → WarningTriIcon-BxIQn7c2.js} +1 -1
- package/dist/{__SKIP_PATHS__-DirqE5Xe.js → __SKIP_PATHS__-DyyiXBgB.js} +1 -1
- package/dist/api/types.d.ts +528 -528
- package/dist/{browser-25hnscei.js → browser-Um8Y6K99.js} +7 -7
- package/dist/{colors-5ifWyP6H.js → colors-MuuDk6KF.js} +30 -29
- package/dist/{constants-Dcj3kgZE.js → constants-CqrJv6nM.js} +73 -73
- package/dist/{copyToClipboard-CNxFW3ni.js → copyToClipboard-CTS9Wtmo.js} +1 -1
- package/dist/{createI18n-08XGDh1_.js → createI18n-DBUVdZra.js} +1 -1
- package/dist/{event-Cp5D4ctZ.js → event-BrptLro8.js} +1 -1
- package/dist/{event-transform-DSuEpMxr.js → event-transform-jFmHl0Qp.js} +4 -4
- package/dist/{eventStatusStream-CIZVH5Lp.js → eventStatusStream-D04pcbuu.js} +2 -2
- package/dist/{allowlist-BiUmz2AF.js → href-C8WGnROy.js} +21 -4
- package/dist/{i18n-CEeBd5Hi.js → i18n-CcJmTGJP.js} +11 -11
- package/dist/imageOptimizer-CB3wKJU8.js +47 -0
- package/dist/{labels-CtyfffZI.js → labels-Q4CaHsVM.js} +1 -1
- package/dist/{modalManager.svelte-BH-QJm9M.js → modalManager.svelte-qcVxl7C5.js} +2 -2
- package/dist/{order-totals-hcdvbJvw.js → order-totals-BImtvmoh.js} +15 -13
- package/dist/{orders-tzTe2hNM.js → orders-C8kt6c-E.js} +20 -19
- package/dist/{Input-W-QE9nWi.js → phoneUtils-FnBDCqO0.js} +694 -1132
- package/dist/{pixels-7kl8Fcjl.js → pixels-MEc7WYiV.js} +8 -7
- package/dist/{promo-BrMcoTYh.js → promo-DtLZRskK.js} +3 -3
- package/dist/{serverTotals-CpRaEe9K.js → serverTotals-BO126TTd.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-DsyhrfiP.js → shareCopyFeedback.svelte-Dko8NIbm.js} +25 -25
- package/dist/{showcase-state-options-B2XfybZq.js → showcase-state-options-BoJxiEsg.js} +1 -1
- package/dist/sortable.esm--ZtTTTPp.js +1451 -0
- package/dist/timezones-C5l0SSHK.js +2030 -0
- package/dist/{to-event-card-props-VPne8W4I.js → to-event-card-props-BAHzloEA.js} +24 -23
- package/dist/{utils-DJVlBMbw.js → utils-Ts4-U13Y.js} +3 -3
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +200 -199
- package/dist/venue-calendar.iife.js +63 -62
- package/dist/venue-calendar.umd.js +60 -59
- package/dist/z-index-B0Vk_Mp1.js +27 -0
- package/package.json +220 -220
- package/dist/BlockPlaceholder-IOcqxTx2.js +0 -62
- package/dist/CalendarFoundryView-Ct39xn0Q.js +0 -23561
- package/dist/Checkout-CXcjQfbc.js +0 -1805
- package/dist/Event-C_0lUZvV.js +0 -3040
- package/dist/Image-DBJAfLYe.js +0 -81
- package/dist/cancel-Cq2Q8qW7.js +0 -59
- package/dist/timezones-Cq1mLtfM.js +0 -4170
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/de.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/es.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/fr.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/id.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/it.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/ja.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/ko.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/nl.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/pl.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/tr.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/flow/zh.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/de.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/es.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/fr.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/id.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/it.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/ja.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/ko.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/nl.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/pl.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/tr.js +0 -0
- /package/dist/locales/{4.2.2 → 4.2.3}/main/zh.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as e } from "./constants-
|
|
1
|
+
import { J as e } from "./constants-CqrJv6nM.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,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, o as t } from "./Button-C4uFgl7L.js";
|
|
2
|
+
import { z as n } from "./timezones-C5l0SSHK.js";
|
|
2
3
|
import "svelte/internal/disclose-version";
|
|
3
4
|
import * as r from "svelte/internal/client";
|
|
4
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/tokens/variants.js
|
|
@@ -85,14 +86,14 @@ function d(e) {
|
|
|
85
86
|
var f = r.from_html("<span class=\"w-1.5 h-1.5 rounded-full bg-current shrink-0\"></span>"), p = r.from_html("<!> <!> <!>", 1);
|
|
86
87
|
function m(a, o) {
|
|
87
88
|
r.push(o, !0);
|
|
88
|
-
let s = r.prop(o, "as", 3, "div"), l = r.prop(o, "size", 3, "md"), d = r.prop(o, "class", 3, ""), m = r.prop(o, "variant", 3, "neutral"), h = r.prop(o, "tone", 3, "default"), g = r.prop(o, "textColor", 3, null), _ = r.prop(o, "bgColor", 3, null), v = r.prop(o, "showDot", 3, !1), y = r.prop(o, "pill", 3, !1), b = r.prop(o, "shape", 3, "rounded"), x = r.prop(o, "large", 3, !1), S = r.derived(() => () => x() ? "lg" :
|
|
89
|
-
let e =
|
|
90
|
-
return h() === "minimal" ? e.
|
|
89
|
+
let s = r.prop(o, "as", 3, "div"), l = r.prop(o, "size", 3, "md"), d = r.prop(o, "class", 3, ""), m = r.prop(o, "variant", 3, "neutral"), h = r.prop(o, "tone", 3, "default"), g = r.prop(o, "textColor", 3, null), _ = r.prop(o, "bgColor", 3, null), v = r.prop(o, "showDot", 3, !1), y = r.prop(o, "pill", 3, !1), b = r.prop(o, "shape", 3, "rounded"), x = r.prop(o, "large", 3, !1), S = r.derived(() => () => x() ? "lg" : e[l()] || l() || "md"), C = r.derived(() => (() => {
|
|
90
|
+
let e = t[r.get(S)()] || t.md;
|
|
91
|
+
return h() === "minimal" ? e.replaceAll(/\bp[xy]?-[^\s]+/g, "").trim() : e;
|
|
91
92
|
})()), w = r.derived(() => h() === "minimal" ? "" : y() ? "rounded-full min-w-5 h-5 px-1.5 justify-center" : b() === "pill" ? "rounded-full" : "rounded"), T = r.derived(() => String(m()).toLowerCase()), E = "text-white", D = { notification: "text-accent-danger" }, O = r.derived(() => (() => {
|
|
92
93
|
let e = i[r.get(T)] || i.neutral;
|
|
93
94
|
if (h() === "outlined") return `${e} ${c(r.get(T))}`;
|
|
94
95
|
if (h() === "minimal") {
|
|
95
|
-
let t = e.
|
|
96
|
+
let t = e.replaceAll(/\bbg-[^\s]+/g, "").trim(), n = D[r.get(T)];
|
|
96
97
|
return n ? t.includes(E) ? t.replace(E, n) : n : t;
|
|
97
98
|
}
|
|
98
99
|
return e;
|
|
@@ -101,8 +102,8 @@ function m(a, o) {
|
|
|
101
102
|
return g() && e.push(`color: ${g()}`), _() && e.push(`background-color: ${_()}`), e.length > 0 ? e.join("; ") : void 0;
|
|
102
103
|
})());
|
|
103
104
|
var A = r.comment(), j = r.first_child(A);
|
|
104
|
-
r.element(j, () => s() === "span" ? "span" : "div", !1, (
|
|
105
|
-
r.attribute_effect(
|
|
105
|
+
r.element(j, () => s() === "span" ? "span" : "div", !1, (e, t) => {
|
|
106
|
+
r.attribute_effect(e, (e) => ({
|
|
106
107
|
class: e,
|
|
107
108
|
style: r.get(k),
|
|
108
109
|
role: o.onclick ? "button" : void 0,
|
|
@@ -111,7 +112,7 @@ function m(a, o) {
|
|
|
111
112
|
onkeydown: o.onclick ? (e) => {
|
|
112
113
|
u(e) && e.target === e.currentTarget && (e.preventDefault(), e.currentTarget.click());
|
|
113
114
|
} : void 0
|
|
114
|
-
}), [() =>
|
|
115
|
+
}), [() => n("inline-flex items-center gap-1.5", r.get(C), r.get(O), r.get(w), d())]);
|
|
115
116
|
var i = p(), a = r.first_child(i), s = (e) => {
|
|
116
117
|
var t = f();
|
|
117
118
|
r.append(e, t);
|
|
@@ -122,7 +123,7 @@ function m(a, o) {
|
|
|
122
123
|
var c = r.sibling(a, 2);
|
|
123
124
|
r.snippet(c, () => o.leftIcon ?? r.noop);
|
|
124
125
|
var l = r.sibling(c, 2);
|
|
125
|
-
r.snippet(l, () => o.children ?? r.noop), r.append(
|
|
126
|
+
r.snippet(l, () => o.children ?? r.noop), r.append(t, i);
|
|
126
127
|
}), r.append(a, A), r.pop();
|
|
127
128
|
}
|
|
128
129
|
//#endregion
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { C as e } from "./Button-C4uFgl7L.js";
|
|
2
|
+
import { J as t } from "./constants-CqrJv6nM.js";
|
|
3
|
+
import "svelte/internal/disclose-version";
|
|
4
|
+
import * as n from "svelte/internal/client";
|
|
5
|
+
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/InfoIcon.svelte
|
|
6
|
+
var r = n.from_svg("<path d=\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z\"></path>"), i = n.from_svg("<circle cx=\"128\" cy=\"128\" r=\"96\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></circle><path d=\"M120,120a8,8,0,0,1,8,8v40a8,8,0,0,0,8,8\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><circle cx=\"124\" cy=\"84\" r=\"12\"></circle>", 1), a = n.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
7
|
+
function o(e, o) {
|
|
8
|
+
n.push(o, !0);
|
|
9
|
+
let s = n.prop(o, "size", 3, "24"), c = n.prop(o, "color", 3, "currentColor"), l = n.prop(o, "class", 3, ""), u = t(), d = n.derived(() => o.weight ?? u?.weight ?? "regular");
|
|
10
|
+
var f = a();
|
|
11
|
+
let p;
|
|
12
|
+
var m = n.child(f), h = (e) => {
|
|
13
|
+
var t = r();
|
|
14
|
+
n.append(e, t);
|
|
15
|
+
}, g = (e) => {
|
|
16
|
+
var t = i();
|
|
17
|
+
n.next(2), n.append(e, t);
|
|
18
|
+
};
|
|
19
|
+
n.if(m, (e) => {
|
|
20
|
+
n.get(d) === "fill" ? e(h) : e(g, -1);
|
|
21
|
+
}), n.reset(f), n.template_effect(() => {
|
|
22
|
+
n.set_class(f, 0, n.clsx(l())), n.set_attribute(f, "width", s()), n.set_attribute(f, "height", s()), p = n.set_style(f, "", p, { color: c() === "currentColor" ? void 0 : c() });
|
|
23
|
+
}), n.append(e, f), n.pop();
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Skeleton/BlockPlaceholder.svelte
|
|
27
|
+
var s = n.from_html("<div></div>"), c = n.from_html("<div role=\"status\"><!> <span class=\"sr-only\"> </span></div>");
|
|
28
|
+
function l(t, r) {
|
|
29
|
+
n.push(r, !0);
|
|
30
|
+
let i = {
|
|
31
|
+
loadingContent: "Loading content",
|
|
32
|
+
loading: "Loading..."
|
|
33
|
+
}, a = n.prop(r, "rows", 3, 1), o = n.prop(r, "height", 3, "h-full"), l = n.prop(r, "rounded", 3, "lg"), u = n.prop(r, "tone", 3, "tertiary"), d = n.prop(r, "gap", 3, "space-y-2"), f = n.prop(r, "animate", 3, !0), p = n.prop(r, "class", 3, ""), m = n.prop(r, "labels", 19, () => ({})), h = n.derived(() => e(i, m())), g = {
|
|
34
|
+
md: "rounded-md",
|
|
35
|
+
lg: "rounded-lg",
|
|
36
|
+
xl: "rounded-xl"
|
|
37
|
+
}, _ = {
|
|
38
|
+
secondary: "bg-bg-secondary",
|
|
39
|
+
tertiary: "bg-bg-tertiary"
|
|
40
|
+
}, v = n.derived(() => g[l()] || g.lg), y = n.derived(() => _[u()] || _.tertiary), b = n.derived(() => f() ? "sc-skeleton-loading" : n.get(y)), x = n.derived(() => Math.max(0, Math.floor(a()))), S = n.derived(() => n.get(x) > 1 ? d() : "");
|
|
41
|
+
var C = c(), w = n.child(C);
|
|
42
|
+
n.each(w, 17, () => Array(n.get(x)), n.index, (e, t) => {
|
|
43
|
+
var r = s();
|
|
44
|
+
n.template_effect(() => n.set_class(r, 1, `w-full ${o() ?? ""} ${n.get(b) ?? ""} ${n.get(v) ?? ""}`)), n.append(e, r);
|
|
45
|
+
});
|
|
46
|
+
var T = n.sibling(w, 2), E = n.child(T, !0);
|
|
47
|
+
n.reset(T), n.reset(C), n.template_effect(() => {
|
|
48
|
+
n.set_class(C, 1, `${n.get(S) ?? ""} ${p() ?? ""}`), n.set_attribute(C, "aria-label", n.get(h).loadingContent), n.set_text(E, n.get(h).loading);
|
|
49
|
+
}), n.append(t, C), n.pop();
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { o as n, l as t };
|