@getmicdrop/venue-calendar 4.3.138 → 4.3.139
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 +895 -840
- package/dist/AddOnCard-Dlt_4lut.js +475 -0
- package/dist/{Button-B_gbGd63.js → Button-Ch5dRGa2.js} +1 -1
- package/dist/{Button-B1cBhdtC.js → Button-DpeQSoQ7.js} +58 -45
- package/dist/Calendar-CNWS2xiR.js +396 -0
- package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
- package/dist/{ChartBlock-DcsCXfX8.js → ChartBlock-vihMKVdW.js} +2 -2
- package/dist/Checkout-B2FvX6Af.js +1070 -0
- package/dist/Checkout-y0x-v-XH.js +1995 -0
- package/dist/{ChevronDownOutline-kFgRY2cg.js → CloseOutline-Bh9UO94v.js} +2 -2
- package/dist/{CollectionView-C0vDg5oJ.js → CollectionView-CcLlV-1f.js} +22 -24
- package/dist/{CropImage-BWYeQXXA.js → CropImage-DqLAGy5s.js} +6 -6
- package/dist/{DatePicker-v-4ijT8N.js → DatePicker-D20Te0JY.js} +222 -215
- package/dist/{Event-vlu8IAxh.js → Event-DoIU0o6C.js} +799 -796
- package/dist/{EventCard-puoh3xag.js → EventCard-B8MYLyIW.js} +1 -1
- package/dist/EventPage-DM4tjCcL.js +1298 -0
- package/dist/{FilterChipGroup-DUGvOaRI.js → FilterChipGroup-BCjc7-pE.js} +1 -1
- package/dist/{ImageUploader-CKrf5amy.js → ImageUploader-BzxKIyLN.js} +324 -375
- package/dist/{Input-BQk4itex.js → Input-Bp5EgI1F.js} +5 -3
- package/dist/Modal-C6EXgkuF.js +159 -0
- package/dist/{ModalFooter-gFaDKsfj.js → ModalFooter-C4TD3-zP.js} +1 -1
- package/dist/{ModalTitle-CS5AGwrU.js → ModalTitle-BP4Bm3sA.js} +1 -1
- package/dist/{PasswordInput-C65GqxdF.js → PasswordInput-BlzSrkPs.js} +1 -1
- package/dist/{PhoneInput-Dj1I3bEn.js → PhoneInput-_ByjRGQ0.js} +2 -2
- package/dist/{RecommendationsRail-DC5qX1ei.js → RecommendationsRail-BDNnbL-p.js} +53 -50
- package/dist/{Search-BE64QcmK.js → Search-vhGEpog6.js} +1 -1
- package/dist/SeriesPage-YE8czX1M.js +32 -0
- package/dist/{SkeletonLoader-DfW0N9R3.js → SkeletonLoader-Beh2izdy.js} +1 -1
- package/dist/Spinner-DgubkWKo.js +88 -0
- package/dist/{Success-D3CrUeka.js → Success-CN5HB8gN.js} +164 -166
- package/dist/{TimePicker-HYzPI_Dc.js → TimePicker-BDuy9Ap8.js} +1 -1
- package/dist/{ViewTicketsEmbed-DzUCgtA3.js → ViewTicketsEmbed-DvoMIiKJ.js} +9 -10
- package/dist/{address-field-BwGHcMKY.js → address-field-DOalICpt.js} +2 -2
- package/dist/{allowlist-Bt1BHhNd.js → allowlist-DinkGF2L.js} +77 -68
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +320 -297
- package/dist/api/client.d.ts +14 -53
- package/dist/api/events.d.ts +15 -1
- package/dist/api/result.d.ts +9 -0
- package/dist/{api-CRHFSJDI.js → api-CsAx0rmV.js} +150 -145
- package/dist/{avatar-picker-field-CSF5okeM.js → avatar-picker-field-CV4vRxTB.js} +14 -14
- package/dist/{checkoutState-BDNjJRMG.js → checkoutState-DSx7g3Vy.js} +12 -21
- package/dist/{client-BIN_q-of.js → client-SaDt6559.js} +18 -12
- package/dist/{constants-DrFV2oht.js → constants-sRRJh0u-.js} +1 -1
- package/dist/{date-field-3tgOYbzF.js → date-field-DylJx0y7.js} +9 -9
- package/dist/{date-range-field-D0Aq9me9.js → date-range-field-BOV1V2ab.js} +7 -7
- package/dist/{de-CUrE_4a4.js → de-CzkX3H3B.js} +1 -0
- package/dist/{defaultLabels-CybwJCNn.js → defaultLabels-DLK6rq4q.js} +1 -0
- package/dist/{defaults-B5wyre5O.js → defaults-Cbuin1WS.js} +2 -3
- package/dist/{es-B2-z2Kft.js → es-BOLzv8eD.js} +1 -0
- package/dist/{event-CEg17hts.js → event-ClsLWtR0.js} +1 -1
- package/dist/{event-transform-DqFigNQg.js → event-transform-Cs63X0hI.js} +42 -42
- package/dist/{eventStatusStream-DK5fWCTB.js → eventStatusStream-BAh5nJP2.js} +1 -1
- package/dist/{field-rules-CKFFB16Q.js → field-rules-Yb2JY1qT.js} +1 -1
- package/dist/{file-field-2mPz4Da-.js → file-field-Dwo80kDg.js} +4 -4
- package/dist/format-CehusdDg.js +1718 -0
- package/dist/{formatters-CzKNRUwz.js → formatters-DUWbI_Eg.js} +25 -35
- package/dist/{fr-CiePVIlj.js → fr-DYTIBBXo.js} +1 -0
- package/dist/{href-DpbLXQ4c.js → href-BXhNawil.js} +1 -1
- package/dist/i18n-BNF6a-QA.js +720 -0
- package/dist/i18n-F_QOaHVh.js +26 -0
- package/dist/{id-Ttw95_7t.js → id-CIyIkGhH.js} +1 -0
- package/dist/{image-field-B8x0WQ2j.js → image-field-DeLzsJlz.js} +2 -2
- package/dist/{it-CBbXcFY1.js → it-CF4Db_nK.js} +1 -0
- package/dist/{ja-B2Tag7J3.js → ja-5-7WNHD1.js} +1 -0
- package/dist/{ko-CcTn4lAi.js → ko-huIzHR3W.js} +1 -0
- package/dist/locales/4.3.139/main/de.js +1 -0
- package/dist/locales/4.3.139/main/es.js +1 -0
- package/dist/locales/4.3.139/main/fr.js +1 -0
- package/dist/locales/4.3.139/main/id.js +1 -0
- package/dist/locales/4.3.139/main/it.js +1 -0
- package/dist/locales/4.3.139/main/ja.js +1 -0
- package/dist/locales/4.3.139/main/ko.js +1 -0
- package/dist/locales/4.3.139/main/nl.js +1 -0
- package/dist/locales/4.3.139/main/pl.js +1 -0
- package/dist/locales/4.3.139/main/pt-br.js +1 -0
- package/dist/locales/4.3.139/main/tr.js +1 -0
- package/dist/locales/4.3.139/main/zh.js +1 -0
- package/dist/look-island.svelte-D87MvHNy.js +1296 -0
- package/dist/{look-names-JI6GE-Zj.js → look-names-B9MywEzX.js} +68 -58
- package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
- package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
- package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
- package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
- package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
- package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
- package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
- package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
- package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
- package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
- package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
- package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
- package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
- package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
- package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
- package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
- package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
- package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
- package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
- package/dist/looks/4.3.139/first.js +1 -0
- package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
- package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
- package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
- package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
- package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
- package/dist/looks/4.3.139/looks.js +1 -0
- package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
- package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
- package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
- package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
- package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
- package/dist/{media-field-HieD0ye0.js → media-field-PW8ye6EL.js} +2 -2
- package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
- package/dist/{multiselect-field-CJ4lUJyS.js → multiselect-field-CmocFs5f.js} +2 -2
- package/dist/navigation-B8rkS2On.js +348 -0
- package/dist/{nl-DeIqgjIs.js → nl-B1dv1lqk.js} +1 -0
- package/dist/{number-field-D5GkkGLB.js → number-field-CUD936Ai.js} +3 -3
- package/dist/{numeric-filter-field-CRWZFu_P.js → numeric-filter-field-BmgSYhOt.js} +3 -3
- package/dist/{password-field-DdOHXEOo.js → password-field-BfvcZUi_.js} +1 -1
- package/dist/{phone-field-BaYmp56f.js → phone-field-DO0U_YZ6.js} +17 -18
- package/dist/{pixels-BXXzmoCb.js → pixels-ipedGW6i.js} +7 -7
- package/dist/{pl-Bm2FcD5y.js → pl-DLlM_IPo.js} +1 -0
- package/dist/{pt-br-XS1Lsa6z.js → pt-br-8V3mf7pu.js} +1 -0
- package/dist/repeating-field-BwtJ6VS1.js +488 -0
- package/dist/{richtext-field-KmUytgBW.js → richtext-field-DvLCxPvq.js} +2 -2
- package/dist/{datetime-BlEsN_-8.js → scarcity-DfQvyhJP.js} +74 -85
- package/dist/{searchable-select-field-DettZRav.js → searchable-select-field-zuIqfoQM.js} +17 -17
- package/dist/{select-field-Wc4gAtou.js → select-field-DNNN-a9q.js} +6 -6
- package/dist/seo/HostSeoController.d.ts +13 -0
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.mjs +18 -11
- package/dist/{serverTotals-COsx7Mc5.js → serverTotals-BprgDwOw.js} +1 -1
- package/dist/{showcase-state-options-CHGUaZtl.js → showcase-state-options-bKRf48yz.js} +2 -2
- package/dist/{time-field-CnxZcziR.js → time-field-DmPCoppV.js} +2 -2
- package/dist/{to-event-card-props-C9v9dspT.js → to-event-card-props-KVcCJ2JF.js} +34 -34
- package/dist/{tr-zKAbMfgi.js → tr-DiUEV65j.js} +1 -0
- package/dist/{tree-picker-field-aqux58EQ.js → tree-picker-field-BJwSFAqm.js} +8 -8
- package/dist/types/index.d.ts +3 -0
- package/dist/{utils-AIszIHUb.js → utils-x8YXRKvr.js} +12 -12
- package/dist/venue-BjLCg-PW.js +38 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1655 -1539
- package/dist/venue-calendar.iife.js +1 -54
- package/dist/venue-calendar.umd.js +69 -63
- package/dist/{widget-key-context-BrWW0fyM.js → widget-key-context-dHM9FiuJ.js} +8 -37
- package/dist/{zh-DHfgJplH.js → zh-Cej2EPQt.js} +1 -0
- package/package.json +2 -2
- package/src/lib/constants/scarcity.ts +1 -2
- package/dist/AddOnCard-DEAC26HA.js +0 -348
- package/dist/BlockPlaceholder-BKfoE795.js +0 -59
- package/dist/Calendar-9xskvKUf.js +0 -395
- package/dist/CalendarFoundryView-DbxZNmY7.js +0 -16356
- package/dist/CartView-DMINN6bY.js +0 -2200
- package/dist/Checkbox-sObkYRdj.js +0 -60
- package/dist/Checkout-H9RGBU9D.js +0 -1071
- package/dist/Checkout-VnochAZE.js +0 -1967
- package/dist/CheckoutTimer-mjcYR3XU.js +0 -42
- package/dist/EventPage-DycxjX5Z.js +0 -1301
- package/dist/Modal-DOpDiAwN.js +0 -102
- package/dist/ScarcityBadge-BAaV2CIY.js +0 -141
- package/dist/SeriesPage-Cx89s2B6.js +0 -34
- package/dist/Skeleton-B6qB_udJ.js +0 -31
- package/dist/Spinner-Bj4dr9kO.js +0 -19
- package/dist/Textarea-BDcuBI13.js +0 -72
- package/dist/__SKIP_NAVIGATION__-Znm_vYcG.js +0 -5
- package/dist/__SKIP_PATHS__-Bzzrca_a.js +0 -5
- package/dist/calendar-Cdu8fCIt.js +0 -111
- package/dist/cta-qbcIt5Gh.js +0 -116
- package/dist/format-CypC4vWs.js +0 -1587
- package/dist/heic-to-BoLfsr3l.js +0 -70
- package/dist/i18n-B_TWnExv.js +0 -495
- package/dist/i18n-CSaUFnlD.js +0 -26
- package/dist/instant-BkZCSGDm.js +0 -162
- package/dist/labels-D8LN8lY7.js +0 -227
- package/dist/locales/4.3.138/main/de.js +0 -1
- package/dist/locales/4.3.138/main/es.js +0 -1
- package/dist/locales/4.3.138/main/fr.js +0 -1
- package/dist/locales/4.3.138/main/id.js +0 -1
- package/dist/locales/4.3.138/main/it.js +0 -1
- package/dist/locales/4.3.138/main/ja.js +0 -1
- package/dist/locales/4.3.138/main/ko.js +0 -1
- package/dist/locales/4.3.138/main/nl.js +0 -1
- package/dist/locales/4.3.138/main/pl.js +0 -1
- package/dist/locales/4.3.138/main/pt-br.js +0 -1
- package/dist/locales/4.3.138/main/tr.js +0 -1
- package/dist/locales/4.3.138/main/zh.js +0 -1
- package/dist/look-island.svelte-B7UH_QVv.js +0 -1270
- package/dist/looks/4.3.138/looks.js +0 -248
- package/dist/modalManager.svelte-BvyrTI6p.js +0 -51
- package/dist/navigation-DpqP-ahJ.js +0 -241
- package/dist/repeating-field-B4OhsaGB.js +0 -488
- package/dist/venue-DLkL7xdj.js +0 -12
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/phone.js +0 -0
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/qrcode.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/de.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/es.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/id.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/it.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/zh.js +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/user-image-yuS4errP.svg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, O as t, T as n } from "./format-CehusdDg.js";
|
|
2
2
|
import { n as r } from "./AppError-t1LnBwj_.js";
|
|
3
|
-
import { t as i } from "./defaultLabels-
|
|
4
|
-
import {
|
|
3
|
+
import { t as i } from "./defaultLabels-DLK6rq4q.js";
|
|
4
|
+
import { g as a, i as o, l as s, n as c, o as l, r as u } from "./scarcity-DfQvyhJP.js";
|
|
5
5
|
// node_modules/@getmicdrop/svelte-components/dist/richtext/index.js
|
|
6
6
|
var d = /<\/(?:p|div|h[1-6]|li|ul|ol|blockquote|tr)>/gi, f = /<br\s*\/?>/gi, p = /<[^>]*>/g, m = {
|
|
7
7
|
"&": "&",
|
|
@@ -72,12 +72,12 @@ function S(e) {
|
|
|
72
72
|
}
|
|
73
73
|
function C(e, t) {
|
|
74
74
|
if (e == null || t == null || t === 0 || e <= 0) return !1;
|
|
75
|
-
let n =
|
|
75
|
+
let n = c(e, t);
|
|
76
76
|
return n === "low" || n === "urgent";
|
|
77
77
|
}
|
|
78
|
-
function w(
|
|
79
|
-
if (!
|
|
80
|
-
let a = x(
|
|
78
|
+
function w(t, i) {
|
|
79
|
+
if (!t) return null;
|
|
80
|
+
let a = x(t.status ?? "");
|
|
81
81
|
for (let o of b) switch (o) {
|
|
82
82
|
case "cancelled":
|
|
83
83
|
if (a === "cancelled" || a === "canceled") return {
|
|
@@ -92,16 +92,16 @@ function w(e, i) {
|
|
|
92
92
|
};
|
|
93
93
|
break;
|
|
94
94
|
case "past":
|
|
95
|
-
if (
|
|
96
|
-
let a =
|
|
97
|
-
if (a &&
|
|
95
|
+
if (t.startDateTime) {
|
|
96
|
+
let a = e(t.endDateTime || t.startDateTime);
|
|
97
|
+
if (a && n(a, r()) < 0) return {
|
|
98
98
|
text: i?.statusPastEvent || "Ended",
|
|
99
99
|
type: "past"
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
break;
|
|
103
103
|
case "sold_out":
|
|
104
|
-
if (a === "soldout" ||
|
|
104
|
+
if (a === "soldout" || t.ticketsRemaining != null && t.ticketsRemaining <= 0 && t.ticketsTotal != null && t.ticketsTotal > 0) return {
|
|
105
105
|
text: i?.statusSoldOut || "Sold out",
|
|
106
106
|
type: "sold_out"
|
|
107
107
|
};
|
|
@@ -118,7 +118,7 @@ function w(e, i) {
|
|
|
118
118
|
type: "coming_soon"
|
|
119
119
|
};
|
|
120
120
|
break;
|
|
121
|
-
case "scarcity": if (S(
|
|
121
|
+
case "scarcity": if (S(t)) return {
|
|
122
122
|
text: i?.statusSellingFast || "Selling fast",
|
|
123
123
|
type: "scarcity"
|
|
124
124
|
};
|
|
@@ -170,11 +170,11 @@ function D(e) {
|
|
|
170
170
|
default: return "neutral";
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
function O(
|
|
174
|
-
let n =
|
|
175
|
-
return
|
|
173
|
+
function O(e) {
|
|
174
|
+
let n = t();
|
|
175
|
+
return e.filter((e) => {
|
|
176
176
|
if (x(e.status ?? "") === "postponed") return !0;
|
|
177
|
-
let t =
|
|
177
|
+
let t = o(n, e.timeZone);
|
|
178
178
|
return e.date >= t;
|
|
179
179
|
}).sort((e, t) => e.date.localeCompare(t.date));
|
|
180
180
|
}
|
|
@@ -192,7 +192,7 @@ function j(e) {
|
|
|
192
192
|
}
|
|
193
193
|
// src/lib/browse-widgets/to-event-card-props.ts
|
|
194
194
|
function M(e, t) {
|
|
195
|
-
let n = e.ticketsRemaining ?? 0, r = e.ticketsTotal ?? 0, i =
|
|
195
|
+
let n = e.ticketsRemaining ?? 0, r = e.ticketsTotal ?? 0, i = c(n, r);
|
|
196
196
|
return i === "sold-out" ? {
|
|
197
197
|
text: t.statusSoldOut || "Sold out",
|
|
198
198
|
variant: "neutral"
|
|
@@ -204,38 +204,38 @@ function M(e, t) {
|
|
|
204
204
|
function N(e, t, n) {
|
|
205
205
|
let r = [];
|
|
206
206
|
if (e.stageName && r.push(e.stageName), e.displayDoorsTime === !0 && e.doorsOpenTime) {
|
|
207
|
-
let i =
|
|
207
|
+
let i = l(e.doorsOpenTime, e.timeZone, n);
|
|
208
208
|
i && r.push((t.doorsAtTime || "Doors {time}").replace("{time}", i));
|
|
209
209
|
}
|
|
210
210
|
return e.displayAgeRestriction && r.push(e.ageRestriction && e.ageRestriction > 0 ? (t.agesPlus || "Ages {age}+").replace("{age}", String(e.ageRestriction)) : t.allAges || "All ages"), r;
|
|
211
211
|
}
|
|
212
|
-
function P(e, t = i, n, r = null,
|
|
213
|
-
let
|
|
214
|
-
text:
|
|
215
|
-
variant: D(
|
|
212
|
+
function P(e, t = i, n, r = null, o = {}) {
|
|
213
|
+
let c = e.event, l = e.isSeries ? T(e.instances, t) : w(c, t), d = l && l.type !== "past" ? {
|
|
214
|
+
text: l.text,
|
|
215
|
+
variant: D(l.type)
|
|
216
216
|
} : null;
|
|
217
|
-
d &&
|
|
218
|
-
let f =
|
|
219
|
-
let r =
|
|
217
|
+
d && l?.type === "coming_soon" && c.onSaleAt && (d.text = (t.onSaleOn || "On sale {date}").replace("{date}", u(c.onSaleAt, c.timeZone, n))), !d && !e.isSeries && (d = M(c, t));
|
|
218
|
+
let f = a(c), p = c.startDateTime && r?.date !== !1 ? u(c.startDateTime, c.timeZone, n) : "", m = e.isSeries ? e.instances : c.startDateTime ? [c] : [], h = m.map((e) => {
|
|
219
|
+
let r = s(e.startDateTime, e.timeZone, n), i = w(e, t)?.type === "sold_out";
|
|
220
220
|
return {
|
|
221
221
|
timeLabel: r,
|
|
222
|
-
href:
|
|
223
|
-
ariaLabel: `${
|
|
222
|
+
href: a(e),
|
|
223
|
+
ariaLabel: `${c.name} at ${r}${i ? ", sold out" : ""}`
|
|
224
224
|
};
|
|
225
|
-
}), g = [
|
|
226
|
-
|
|
227
|
-
let v = N(
|
|
225
|
+
}), g = [c.name];
|
|
226
|
+
c.startDateTime && g.push(`on ${u(c.startDateTime, c.timeZone, n)}`), e.isSeries ? g.push(`${e.instances.length} showtimes available`) : c.startDateTime && g.push(`at ${s(c.startDateTime, c.timeZone, n)}`), l && g.push(l.text);
|
|
227
|
+
let v = N(c, t, n), y = j(c.imageUrl);
|
|
228
228
|
return g.push(...v), {
|
|
229
|
-
title:
|
|
229
|
+
title: c.name,
|
|
230
230
|
href: f,
|
|
231
231
|
imageUrl: y.src,
|
|
232
232
|
placeholderImage: y.fallback,
|
|
233
233
|
dateLabel: p,
|
|
234
|
-
description: r?.description === !1 ? "" : _(
|
|
234
|
+
description: r?.description === !1 ? "" : _(c.description),
|
|
235
235
|
ariaLabel: g.join(", "),
|
|
236
236
|
hidePoster: r?.poster === !1,
|
|
237
|
-
posterFit:
|
|
238
|
-
posterBackdrop:
|
|
237
|
+
posterFit: o.posterFit ?? "fit",
|
|
238
|
+
posterBackdrop: o.posterBackdrop ?? "blur",
|
|
239
239
|
badge: d,
|
|
240
240
|
pills: h,
|
|
241
241
|
pillEvents: m,
|
|
@@ -105,6 +105,7 @@ var e = {
|
|
|
105
105
|
networkErrorCancel: "İptal",
|
|
106
106
|
retryingConnection: "Bağlantı tekrar deneniyor",
|
|
107
107
|
couldNotLoadEvents: "Etkinlikler yüklenemedi. Lütfen internet bağlantınızı kontrol edip tekrar deneyin",
|
|
108
|
+
calendarNotEnabled: "Bu takvim bu site için etkinleştirilmemiş",
|
|
108
109
|
offlineMessage: "Çevrim dışısınız. Yeniden bağlanana kadar bazı özellikler çalışmayabilir",
|
|
109
110
|
poweredBy: "Altyapı",
|
|
110
111
|
micdropAriaLabel: "MicDrop - Etkinlik biletleme platformu",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./Search-
|
|
1
|
+
import { t as e } from "./Search-vhGEpog6.js";
|
|
2
2
|
import { t } from "./ChevronDownIcon-Bkts84qA.js";
|
|
3
3
|
import { t as n } from "./CloseIcon-DRlYvIPc.js";
|
|
4
4
|
import { i as r } from "./typography-CKwYSv07.js";
|
|
5
|
-
import { B as i, V as a, z as o } from "./field-rules-
|
|
6
|
-
import { t as s } from "./Button-
|
|
7
|
-
import {
|
|
8
|
-
import { t as l } from "./FilterChipGroup-
|
|
5
|
+
import { B as i, V as a, z as o } from "./field-rules-Yb2JY1qT.js";
|
|
6
|
+
import { t as s } from "./Button-Ch5dRGa2.js";
|
|
7
|
+
import { n as c } from "./Modal-C6EXgkuF.js";
|
|
8
|
+
import { t as l } from "./FilterChipGroup-BCjc7-pE.js";
|
|
9
9
|
import { t as u } from "./foundryRuntime-DKyfdkUY.js";
|
|
10
|
-
import {
|
|
10
|
+
import { b as d, r as f, w as p } from "./CalendarFoundryView-B5puOxH5.js";
|
|
11
11
|
import "svelte/internal/disclose-version";
|
|
12
12
|
import * as m from "svelte/internal/client";
|
|
13
13
|
// node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/tree-picker-field.svelte
|
|
@@ -34,7 +34,7 @@ function w(w, T) {
|
|
|
34
34
|
var i = m.comment(), a = m.first_child(i), o = (e) => {
|
|
35
35
|
t(e, { size: "16" });
|
|
36
36
|
}, s = m.derived(() => G(n().value)), c = (e) => {
|
|
37
|
-
|
|
37
|
+
p(e, { size: "16" });
|
|
38
38
|
};
|
|
39
39
|
m.if(a, (e) => {
|
|
40
40
|
m.get(s) ? e(o) : e(c, -1);
|
|
@@ -84,7 +84,7 @@ function w(w, T) {
|
|
|
84
84
|
}, j = (e) => {
|
|
85
85
|
{
|
|
86
86
|
let t = m.derived(() => U(n().value));
|
|
87
|
-
|
|
87
|
+
d(e, {
|
|
88
88
|
get name() {
|
|
89
89
|
return m.get(ne);
|
|
90
90
|
},
|
package/dist/types/index.d.ts
CHANGED
|
@@ -174,6 +174,9 @@ export interface CalendarProps extends BaseInitOptions {
|
|
|
174
174
|
/** Gallery/List/Carousel show at most this many events; null = all, with
|
|
175
175
|
* load more on Gallery (default: null) */
|
|
176
176
|
maxItems?: number | null;
|
|
177
|
+
/** The List looks (look-list, look-board) leave out this many of the first
|
|
178
|
+
* upcoming shows (default: 0) */
|
|
179
|
+
skipItems?: number | null;
|
|
177
180
|
/** Hide card parts; only `false` hides (default: every part shown). A
|
|
178
181
|
* `look-*` view also reads doorsTime, showTime, performers, price and
|
|
179
182
|
* button, where `true` switches on a part the look leaves off. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./logger-DM8WW61-.js";
|
|
2
|
-
import {
|
|
3
|
-
import { c as r, n as i, r as a } from "./client-
|
|
4
|
-
import "./event-transform-
|
|
5
|
-
import {
|
|
2
|
+
import { N as t, P as n } from "./widget-key-context-dHM9FiuJ.js";
|
|
3
|
+
import { c as r, n as i, r as a } from "./client-SaDt6559.js";
|
|
4
|
+
import "./event-transform-Cs63X0hI.js";
|
|
5
|
+
import { l as o } from "./checkoutState-DSx7g3Vy.js";
|
|
6
6
|
// src/lib/api/surge-queue.ts
|
|
7
7
|
var s = e("VC"), c = "queue_unavailable", l = {
|
|
8
8
|
armed: !1,
|
|
@@ -135,10 +135,10 @@ function C(e) {
|
|
|
135
135
|
async function w() {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
|
-
async function T(e,
|
|
138
|
+
async function T(e, t) {
|
|
139
139
|
try {
|
|
140
|
-
let r = await i(`/venues/${e}`, { widgetKey:
|
|
141
|
-
if (!r.success) throw new
|
|
140
|
+
let r = await i(`/venues/${e}`, { widgetKey: t?.widgetKey });
|
|
141
|
+
if (!r.success) throw new n(r.error ?? `API error: ${r.statusCode}`, r.statusCode ?? 0, {
|
|
142
142
|
endpoint: `/venues/${e}`,
|
|
143
143
|
method: "GET"
|
|
144
144
|
});
|
|
@@ -188,12 +188,12 @@ async function E(e = {}, t, n) {
|
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
async function D(e,
|
|
191
|
+
async function D(e, t) {
|
|
192
192
|
try {
|
|
193
|
-
let r = await i(`/orders/${e}`, { widgetKey:
|
|
193
|
+
let r = await i(`/orders/${e}`, { widgetKey: t?.widgetKey });
|
|
194
194
|
if (!r.success) {
|
|
195
|
-
let
|
|
196
|
-
throw x.error("getOrder error response:",
|
|
195
|
+
let t = r.error ?? `Failed to fetch order (${r.statusCode})`;
|
|
196
|
+
throw x.error("getOrder error response:", t), new n(t, r.statusCode ?? 0, {
|
|
197
197
|
endpoint: `/orders/${e}`,
|
|
198
198
|
method: "GET"
|
|
199
199
|
});
|
|
@@ -206,7 +206,7 @@ async function D(e, n) {
|
|
|
206
206
|
// src/lib/utils/utm.ts
|
|
207
207
|
var O = e("utm");
|
|
208
208
|
async function k(e) {
|
|
209
|
-
let
|
|
209
|
+
let n = new URLSearchParams(window.location.search), i = t(n.get("utm_source")) || "direct";
|
|
210
210
|
try {
|
|
211
211
|
await fetch(`${r()}/utm/${e}/${encodeURIComponent(i)}`);
|
|
212
212
|
} catch (e) {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { n as e } from "./imageUrl-iAS2Xo17.js";
|
|
2
|
+
// src/lib/api/transformers/venue.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
return e(t, { cdn: !0 });
|
|
5
|
+
}
|
|
6
|
+
function n(e) {
|
|
7
|
+
let n = e, r = n.logoUrl || n.logo_url || n.logo;
|
|
8
|
+
return {
|
|
9
|
+
id: n.id || n.ID || 0,
|
|
10
|
+
name: n.name || "",
|
|
11
|
+
slug: n.slug,
|
|
12
|
+
address: n.address,
|
|
13
|
+
googleLocationNameCache: n.googleLocationNameCache || n.google_location_name_cache,
|
|
14
|
+
city: n.city,
|
|
15
|
+
state: n.state,
|
|
16
|
+
zipCode: n.zipCode || n.zip_code || n.postalCode,
|
|
17
|
+
country: n.country,
|
|
18
|
+
timezone: n.timeZone || n.timezone || n.time_zone,
|
|
19
|
+
logoUrl: t(r),
|
|
20
|
+
serviceFeePercentage: n.serviceFeePercentage ?? n.service_fee_percentage ?? 0,
|
|
21
|
+
serviceFeeCents: n.serviceFeeCents ?? n.service_fee_cents ?? 0,
|
|
22
|
+
absorbServiceFee: (n.absorbServiceFee ?? n.absorb_service_fee) === !0,
|
|
23
|
+
taxPercentage: n.taxPercentage ?? n.tax_percentage ?? 0,
|
|
24
|
+
organizationId: n.organizationId || n.organization_id
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
var r = n;
|
|
28
|
+
function i(e) {
|
|
29
|
+
let t = e ?? {}, n = (t.questionPrompt ?? "").trim(), r = (t.hasCustomCheckout ?? !1) && !!n;
|
|
30
|
+
return {
|
|
31
|
+
askForPhoneAtCheckout: t.askForPhoneAtCheckout ?? !0,
|
|
32
|
+
requiredPhoneAtCheckout: (t.askForPhoneAtCheckout ?? !0) && (t.requiredPhoneAtCheckout ?? !1),
|
|
33
|
+
hasCustomCheckout: r,
|
|
34
|
+
requiredCustomCheckout: r && (t.requiredCustomCheckout ?? !1),
|
|
35
|
+
questionPrompt: r ? n : void 0
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export { i as n, r as t };
|