@getmicdrop/venue-calendar 4.3.56 → 4.3.58
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/AddOnCard-TEUXB3Sd.js +340 -0
- package/dist/{ArrowLeftIcon-DjqiKzR8.js → ArrowLeftIcon-C0jreEw8.js} +1 -1
- package/dist/{BlockPlaceholder-CgZr2Euq.js → BlockPlaceholder-DdoOD0gZ.js} +1 -1
- package/dist/{Calendar-CS_RqyU_.js → Calendar-BWLg7fOl.js} +3 -3
- package/dist/{CalendarFoundryView-BLHPU4ry.js → CalendarFoundryView-apVO50Ap.js} +1602 -1535
- package/dist/{CalendarIcon-D9Z9YFz6.js → CalendarIcon-BOEpooZq.js} +1 -1
- package/dist/CartView-CTL1DQem.js +2293 -0
- package/dist/Checkout-B9OHWxzh.js +1933 -0
- package/dist/Checkout-D7Cgj12j.js +1076 -0
- package/dist/{CheckoutTimer-CyN-mQCP.js → CheckoutTimer-DPNmc1BX.js} +5 -5
- package/dist/{ChevronDownIcon-D9I-5bmz.js → ChevronDownIcon-Czxsi1W2.js} +1 -1
- package/dist/{CloseIcon-DPdjPdoi.js → CloseIcon-hLh5XXvh.js} +1 -1
- package/dist/{CollectionView-CkKwCXQj.js → CollectionView-LFCwHiPj.js} +13 -13
- package/dist/{Event-BfWRG4dm.js → Event-C63PLQhq.js} +431 -616
- package/dist/EventPage-CyDAwaQF.js +1200 -0
- package/dist/{Input-CDw-j5fQ.js → Input-dF1ZPavc.js} +1 -1
- package/dist/{MailIcon-C__hyCKr.js → MailIcon-T9SmOpQr.js} +1 -1
- package/dist/{PasswordInput-D3Pwparw.js → PasswordInput-B64o-TXR.js} +1 -1
- package/dist/{RecommendationsRail-DPxl9JCm.js → RecommendationsRail-Cb_c4ohM.js} +50 -50
- package/dist/ScarcityBadge-14VWzOL2.js +145 -0
- package/dist/{SeriesPage-B7z1yoAK.js → SeriesPage-DeALgf5s.js} +3 -3
- package/dist/Spinner-CW1KZMkc.js +19 -0
- package/dist/{Success-BzuOliUV.js → Success-Dcd9bWCn.js} +94 -95
- package/dist/{TagIcon-DwWcRiXS.js → TagIcon-C8DU69Jv.js} +1 -1
- package/dist/{ViewTicketsEmbed-BE8iTUF9.js → ViewTicketsEmbed-CWLSFG06.js} +14 -15
- package/dist/{WarningCircleIcon-C2fJjhKf.js → WarningCircleIcon-Cj8SHVfz.js} +26 -5
- package/dist/{WarningTriIcon-OqM9Rfwq.js → WarningTriIcon-CfCwvwsQ.js} +1 -1
- package/dist/__SKIP_NAVIGATION__-AOx8SI54.js +6 -0
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +226 -178
- package/dist/api/cart-addons.d.ts +61 -0
- package/dist/api/index.d.ts +4 -2
- package/dist/api/orders.d.ts +48 -0
- package/dist/api/transformers/venue.d.ts +14 -1
- package/dist/{api-BsBSvoNj.js → api-Br260RVo.js} +206 -143
- package/dist/{constants-CJyMUKEX.js → constants-DWS8C09a.js} +4 -0
- package/dist/{copyToClipboard-CL9BmJA4.js → copyToClipboard-C_fcBdn4.js} +1 -1
- package/dist/{createErrorGate.svelte-DwTTmYou.js → createErrorGate.svelte-jZMaO7KA.js} +1 -1
- package/dist/{de-CFh1o4IO.js → de-BEfuIgIj.js} +4 -0
- package/dist/{defaultLabels-BaVkGLw4.js → defaultLabels-CqkC-rOG.js} +530 -427
- package/dist/{defaults-BHXY6s4i.js → defaults-BLhQWNFt.js} +2 -2
- package/dist/{es-By1tBWcL.js → es-Bd4g_HxR.js} +4 -0
- package/dist/{event-xgg-eiTq.js → event-DaWMe2IV.js} +1 -1
- package/dist/{event-transform-oLpmof1H.js → event-transform-WnvEyzV-.js} +19 -19
- package/dist/{eventStatusStream-BIxriEut.js → eventStatusStream-DgWemzCE.js} +5 -5
- package/dist/{fr-BF6a7cw7.js → fr-Blc79wvV.js} +4 -0
- package/dist/{href-DO3HKeJp.js → href-x-W1j8EY.js} +2 -2
- package/dist/{i18n-8EWq-WHv.js → i18n-DFWp9lQ_.js} +2 -2
- package/dist/{i18n-JpkI3lvS.js → i18n-DgjCm8g6.js} +93 -93
- package/dist/{id-Lo_q281j.js → id-DzzsiF4d.js} +4 -0
- package/dist/{it-CQcRIzL4.js → it-B4zXRsxu.js} +4 -0
- package/dist/{ja-DOzvvYpK.js → ja-eT4_QPKd.js} +4 -0
- package/dist/{ko-b-vWxFpt.js → ko-B8Fmrldj.js} +4 -0
- package/dist/locales/4.3.58/flow/de.js +1 -0
- package/dist/locales/4.3.58/flow/es.js +1 -0
- package/dist/locales/4.3.58/flow/fr.js +1 -0
- package/dist/locales/4.3.58/flow/id.js +1 -0
- package/dist/locales/4.3.58/flow/it.js +1 -0
- package/dist/locales/4.3.58/flow/ja.js +1 -0
- package/dist/locales/4.3.58/flow/ko.js +1 -0
- package/dist/locales/4.3.58/flow/nl.js +1 -0
- package/dist/locales/4.3.58/flow/pl.js +1 -0
- package/dist/locales/4.3.58/flow/pt-br.js +1 -0
- package/dist/locales/4.3.58/flow/tr.js +1 -0
- package/dist/locales/4.3.58/flow/zh.js +1 -0
- package/dist/{nl-Dazc9kaV.js → nl-Dnug8LYt.js} +4 -0
- package/dist/{orders--luy9Lyn.js → orders-DlyjunUM.js} +60 -44
- package/dist/{pixels-FefBmhJt.js → pixels-n1zu1IhF.js} +9 -9
- package/dist/{pl-tSyy-lx_.js → pl-C3XxoYWF.js} +4 -0
- package/dist/{pt-br-BxzrK97M.js → pt-br-Y40SBe4b.js} +4 -0
- package/dist/{scarcity-CR1Pa81F.js → scarcity-KJNxIMxj.js} +100 -100
- package/dist/{serverTotals-DeOPPRj6.js → serverTotals-Cb7pt5Z-.js} +8 -8
- package/dist/{showcase-state-options-BGmvUaQ_.js → showcase-state-options-Ce1_tYvH.js} +1 -1
- package/dist/{to-event-card-props-DLOxO2oP.js → to-event-card-props-KoNvp_D9.js} +15 -16
- package/dist/{tr-DhAMB3UQ.js → tr-2zIJ-vq2.js} +4 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/{utils-BFaSYuNA.js → utils-VHFV7pBb.js} +69 -69
- package/dist/{venue-CBos8YTa.js → venue-BBoZBuhu.js} +1 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +223 -224
- package/dist/venue-calendar.iife.js +31 -31
- package/dist/venue-calendar.umd.js +49 -49
- package/dist/{zh-C2-VLP_R.js → zh-vNYvCXO7.js} +4 -0
- package/package.json +220 -220
- package/dist/Badge-BsWJrQII.js +0 -108
- package/dist/CartView-DTXoQTOC.js +0 -2294
- package/dist/Checkout-B8ZkBxF_.js +0 -1023
- package/dist/Checkout-QIxYrkeK.js +0 -1832
- package/dist/ClockIcon-C7nkbmvv.js +0 -25
- package/dist/EventPage-dCTHvk7P.js +0 -1201
- package/dist/ScarcityBadge-BXn6HM_K.js +0 -116
- package/dist/Spinner-6UtYyNcF.js +0 -16
- package/dist/liveAnnouncer-D3xVL7qA.js +0 -32
- package/dist/locales/4.3.56/flow/de.js +0 -1
- package/dist/locales/4.3.56/flow/es.js +0 -1
- package/dist/locales/4.3.56/flow/fr.js +0 -1
- package/dist/locales/4.3.56/flow/id.js +0 -1
- package/dist/locales/4.3.56/flow/it.js +0 -1
- package/dist/locales/4.3.56/flow/ja.js +0 -1
- package/dist/locales/4.3.56/flow/ko.js +0 -1
- package/dist/locales/4.3.56/flow/nl.js +0 -1
- package/dist/locales/4.3.56/flow/pl.js +0 -1
- package/dist/locales/4.3.56/flow/pt-br.js +0 -1
- package/dist/locales/4.3.56/flow/tr.js +0 -1
- package/dist/locales/4.3.56/flow/zh.js +0 -1
- package/dist/order-totals-5X0jD77w.js +0 -151
- package/dist/promo-BNwWtZjP.js +0 -37
- /package/dist/locales/{4.3.56 → 4.3.58}/main/de.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/es.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/fr.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/id.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/it.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/ja.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/ko.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/nl.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/pl.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/tr.js +0 -0
- /package/dist/locales/{4.3.56 → 4.3.58}/main/zh.js +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./WarningCircleIcon-Cj8SHVfz.js";
|
|
2
|
+
import { g as t, x as n } from "./defaultLabels-CqkC-rOG.js";
|
|
3
3
|
import { r } from "./Button-AZ8OLQqj.js";
|
|
4
4
|
import { t as i } from "./Text-CqjLjIF8.js";
|
|
5
|
-
import { n as a } from "./constants-
|
|
5
|
+
import { n as a } from "./constants-DWS8C09a.js";
|
|
6
6
|
import "svelte/internal/disclose-version";
|
|
7
7
|
import * as o from "svelte/internal/client";
|
|
8
8
|
//#region src/lib/utils/event-ended.ts
|
|
9
9
|
function s(e, i = r()) {
|
|
10
10
|
if (!e) return !1;
|
|
11
|
-
let a =
|
|
12
|
-
return a ?
|
|
11
|
+
let a = n(e.endDateTime || e.startDateTime);
|
|
12
|
+
return a ? t(a, i) < 0 : !1;
|
|
13
13
|
}
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/lib/public-calendar-flow/CheckoutTimer.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as e } from "./scarcity-
|
|
1
|
+
import { K as e } from "./scarcity-KJNxIMxj.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/ChevronDownIcon.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as e } from "./scarcity-
|
|
1
|
+
import { K as e } from "./scarcity-KJNxIMxj.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/CalendarOutline.svelte
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "./Event-
|
|
1
|
+
import { t as e } from "./Event-C63PLQhq.js";
|
|
2
2
|
import { g as t } from "./sizing-CFDo_qh_.js";
|
|
3
|
-
import { i as n } from "./RecommendationsRail-
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./
|
|
6
|
-
import {
|
|
7
|
-
import { t as o } from "./PasswordInput-
|
|
8
|
-
import {
|
|
3
|
+
import { i as n } from "./RecommendationsRail-Cb_c4ohM.js";
|
|
4
|
+
import { t as r } from "./defaultLabels-CqkC-rOG.js";
|
|
5
|
+
import { t as i } from "./Button-AZ8OLQqj.js";
|
|
6
|
+
import { T as a } from "./api-Br260RVo.js";
|
|
7
|
+
import { t as o } from "./PasswordInput-B64o-TXR.js";
|
|
8
|
+
import { t as s } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
|
|
9
9
|
import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
10
10
|
import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
|
|
11
11
|
import "svelte/internal/disclose-version";
|
|
@@ -17,7 +17,7 @@ function v(v, y) {
|
|
|
17
17
|
f.push(y, !0), t("CollectionView"), f.prop(y, "organizationId", 3, "");
|
|
18
18
|
let b = f.prop(y, "onNavigateToEvent", 3, void 0), x = f.prop(y, "password", 3, void 0);
|
|
19
19
|
f.prop(y, "displayMode", 3, "gallery"), f.prop(y, "showViewSwitcher", 3, !0);
|
|
20
|
-
let S = f.prop(y, "labels", 3,
|
|
20
|
+
let S = f.prop(y, "labels", 3, r), C = f.prop(y, "locale", 3, void 0), w = f.state(null), T = f.state(!0), E = f.state(null), D = f.state(!1), O = f.state(!1), k = f.state(""), A = f.state(!1), j = f.derived(() => f.get(w) ? n(f.get(w)) : null), M = 0;
|
|
21
21
|
async function N(e, t = !1) {
|
|
22
22
|
if (!f.get(D)) return;
|
|
23
23
|
let n = ++M;
|
|
@@ -27,7 +27,7 @@ function v(v, y) {
|
|
|
27
27
|
}
|
|
28
28
|
f.set(T, !0), f.set(E, null), f.set(A, !1);
|
|
29
29
|
try {
|
|
30
|
-
let r = await
|
|
30
|
+
let r = await a(y.collectionId, e);
|
|
31
31
|
if (!f.get(D) || n !== M) return;
|
|
32
32
|
if (r) {
|
|
33
33
|
if (r.passwordRequired || r.error?.code === "PASSWORD_REQUIRED") {
|
|
@@ -55,7 +55,7 @@ function v(v, y) {
|
|
|
55
55
|
e.preventDefault(), f.get(k).trim() && N(f.get(k));
|
|
56
56
|
}
|
|
57
57
|
function F(e) {
|
|
58
|
-
b() && e.id ? b()(Number(e.id), e.slug) :
|
|
58
|
+
b() && e.id ? b()(Number(e.id), e.slug) : s(c("/[id]/[slug]", {
|
|
59
59
|
id: String(e.id),
|
|
60
60
|
slug: String(e.slug)
|
|
61
61
|
}));
|
|
@@ -71,7 +71,7 @@ function v(v, y) {
|
|
|
71
71
|
var t = h(), n = f.child(t), r = f.child(n, !0);
|
|
72
72
|
f.reset(n), f.reset(t), f.template_effect(() => f.set_text(r, S().loadingCollection || "Loading collection...")), f.append(e, t);
|
|
73
73
|
}, z = (e) => {
|
|
74
|
-
var t = g(), n = f.child(t), r = f.child(n),
|
|
74
|
+
var t = g(), n = f.child(t), r = f.child(n), a = f.child(r, !0);
|
|
75
75
|
f.reset(r);
|
|
76
76
|
var s = f.sibling(r, 2), c = f.child(s, !0);
|
|
77
77
|
f.reset(s);
|
|
@@ -94,7 +94,7 @@ function v(v, y) {
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
var d = f.sibling(u, 2);
|
|
97
|
-
|
|
97
|
+
i(d, {
|
|
98
98
|
variant: "default",
|
|
99
99
|
type: "submit",
|
|
100
100
|
children: (e, t) => {
|
|
@@ -104,7 +104,7 @@ function v(v, y) {
|
|
|
104
104
|
},
|
|
105
105
|
$$slots: { default: !0 }
|
|
106
106
|
}), f.reset(l), f.reset(n), f.reset(t), f.template_effect(() => {
|
|
107
|
-
f.set_text(
|
|
107
|
+
f.set_text(a, S().collectionPrivateTitle || "This collection is private"), f.set_text(c, S().collectionPrivateDescription || "Please enter the password to view this collection");
|
|
108
108
|
}), f.event("submit", l, P), f.append(e, t);
|
|
109
109
|
}, B = (e) => {
|
|
110
110
|
var t = _(), n = f.child(t), r = f.child(n);
|