@getmicdrop/venue-calendar 4.2.35 → 4.2.37
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-DS-NEije.js → ArrowLeftIcon-BQYrtN6U.js} +1 -1
- package/dist/{Badge-DIHnRZlw.js → Badge-B9AZ6xGE.js} +2 -2
- package/dist/{BlockPlaceholder-Dy9fStDr.js → BlockPlaceholder-B9GlpQol.js} +2 -2
- package/dist/{Button-C4uFgl7L.js → Button-Cm6xkipe.js} +2 -2
- package/dist/{Calendar-CXwhGAmC.js → Calendar-A7RNgU0m.js} +7 -7
- package/dist/{CalendarFoundryView-BRurhscw.js → CalendarFoundryView-_m9S6y-W.js} +3471 -3009
- package/dist/{CalendarIcon-CvZ-GUH_.js → CalendarIcon-CtLFr8m1.js} +1 -1
- package/dist/{CartView-DT8DlMqQ.js → CartView-gpVuEafp.js} +200 -197
- package/dist/{Checkout-UU9C7CXV.js → Checkout-BAAYg4tM.js} +23 -20
- package/dist/{Checkout-D3VqG09o.js → Checkout-y81OL1tz.js} +17 -17
- package/dist/{CheckoutTimer-2WEgppW1.js → CheckoutTimer-CyXRKGLX.js} +3 -3
- package/dist/{ChevronDownIcon-DXbr-7H6.js → ChevronDownIcon-B4YmjJo1.js} +1 -1
- package/dist/{ClockIcon-Dyx1LMo7.js → ClockIcon-z3z3e1Ly.js} +1 -1
- package/dist/{CloseIcon-NMHzwT75.js → CloseIcon-sro0esAo.js} +1 -1
- package/dist/{CollectionView-DyMB_bPY.js → CollectionView-DTY7jDqf.js} +8 -8
- package/dist/{CropImage-B0tj2_uN.js → CropImage-D70HuWqC.js} +1 -1
- package/dist/{Event-CXCOnkmi.js → Event-BMuZ_wRJ.js} +23 -23
- package/dist/{EventPage-HlhaVqRG.js → EventPage-CVVGDmlc.js} +17 -17
- package/dist/{Heading-DcZtRBSB.js → Heading-mDILjyPm.js} +2 -2
- package/dist/{Image-BZGbFJLw.js → Image-JKlRpH-6.js} +2 -2
- package/dist/{Input-Cgdxdj6y.js → Input-C1WW7SEF.js} +2 -2
- package/dist/{MailIcon-D34sBBQX.js → MailIcon-DO_anIoz.js} +1 -1
- package/dist/{Modal-BvT64ak1.js → Modal-CAEKaCSU.js} +2 -2
- package/dist/{ModalFooter-DM1dyl4S.js → ModalFooter-D2WEdwmn.js} +20 -10
- package/dist/{PasswordInput-BNKrzXNm.js → PasswordInput-CkuDX_Od.js} +2 -2
- package/dist/{ScarcityBadge-DmbmsFlY.js → ScarcityBadge-aZWWO-jZ.js} +5 -5
- package/dist/{SeriesPage-BXKz7PJV.js → SeriesPage-By-MkYKG.js} +5 -5
- package/dist/{Spinner-gpYLD9h6.js → Spinner-B5FVSyqq.js} +2 -2
- package/dist/{Success-DieJd6sx.js → Success-yjbKaeK_.js} +19 -19
- package/dist/{TagIcon-Q7BC2QeQ.js → TagIcon-b-8pupd7.js} +1 -1
- package/dist/{ViewTicketsEmbed-DqwHARj0.js → ViewTicketsEmbed-BBj9eJ31.js} +9 -9
- package/dist/{WarningCircleIcon-Dxi6_NlN.js → WarningCircleIcon-DUs9DcAX.js} +1 -1
- package/dist/{WarningTriIcon-BVNO82pk.js → WarningTriIcon-CvE9U1XG.js} +1 -1
- package/dist/{__SKIP_PATHS__-BZ2V4IU4.js → __SKIP_PATHS__-TvQ-zGgV.js} +1 -1
- package/dist/{browser-Um8Y6K99.js → browser-By3zPFZd.js} +1 -1
- package/dist/{colors-B3NG0RHG.js → colors-DB1rR8pU.js} +4 -4
- package/dist/{constants-DqKf8bUn.js → constants-SU5KYo7y.js} +1 -1
- package/dist/{copyToClipboard-CLo_2bfp.js → copyToClipboard-DJNB40jo.js} +1 -1
- package/dist/{de-8N03rEoe.js → de-naV1oceW.js} +1 -1
- package/dist/{defaultLabels-D_9CneL4.js → defaultLabels-BBFpYs4g.js} +3 -3
- package/dist/{es-tRMGbtbB.js → es-D-A3ZiKZ.js} +1 -1
- package/dist/{event-CFDG8adb.js → event-BHPnx4t4.js} +1 -1
- package/dist/{event-transform-jJPAKgYX.js → event-transform-CfLdD-jt.js} +4 -4
- package/dist/{eventStatusStream-wmEyQSgV.js → eventStatusStream-BCDueOd-.js} +2 -2
- package/dist/{fr-DDnljtQz.js → fr-ssP16X4K.js} +1 -1
- package/dist/{href-BfMcUXhM.js → href-ChgD_6bf.js} +3 -3
- package/dist/{i18n-DK3npqzN.js → i18n-CAZKVazm.js} +2 -2
- package/dist/{i18n-BgkKrB4o.js → i18n-xG6_glYu.js} +18 -18
- package/dist/{id-BZshacSm.js → id-DPbWh0O5.js} +1 -1
- package/dist/{it-B6Rbpjec.js → it-B1b9bAf8.js} +1 -1
- package/dist/{ja-Bmj-bPuM.js → ja-fx8mKJyH.js} +1 -1
- package/dist/{ko-r-ecuHZ5.js → ko-KXtMvmUv.js} +1 -1
- package/dist/{labels-BHqxbbw9.js → labels-DCO-vFuM.js} +2 -2
- package/dist/locales/{4.2.35 → 4.2.37}/flow/de.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/es.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/fr.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/id.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/it.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/ja.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/ko.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/nl.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/pl.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/pt-br.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/tr.js +1 -1
- package/dist/locales/{4.2.35 → 4.2.37}/flow/zh.js +1 -1
- package/dist/{modalManager.svelte-CrrDshW7.js → modalManager.svelte-Ctvt4aHJ.js} +2 -2
- package/dist/{nl-CS1da1Bc.js → nl-IuI5cKOn.js} +1 -1
- package/dist/{order-totals-D0JKhd70.js → order-totals-C_d53Fnr.js} +3 -3
- package/dist/{orders-CCWPQsWb.js → orders-VSh_VrRt.js} +2 -2
- package/dist/{phoneUtils-aQHGh8C_.js → phoneUtils-BRZ05dK1.js} +1 -1
- package/dist/{pixels-M2q8HRk_.js → pixels-CWS4aqBb.js} +3 -3
- package/dist/{pl-C2bkE2WA.js → pl-CJBIjlYm.js} +1 -1
- package/dist/promo-BKal5iAD.js +37 -0
- package/dist/{pt-br--DIxBDjz.js → pt-br-dIefWJKY.js} +1 -1
- package/dist/{serverTotals-DGd3p1s5.js → serverTotals-DriGHN9x.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-DTOJruVM.js → shareCopyFeedback.svelte-D-13lvf0.js} +4 -4
- package/dist/{showcase-state-options-Da3jPUQb.js → showcase-state-options-ffaVKL4Z.js} +1 -1
- package/dist/{to-event-card-props-B5bsYKP4.js → to-event-card-props-DfvugKGT.js} +4 -4
- package/dist/{tr-Bk7x5MW7.js → tr-Brt5vw5H.js} +1 -1
- package/dist/{utils-RE2aEa_D.js → utils-C39Ku47z.js} +3 -3
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +33 -33
- package/dist/venue-calendar.iife.js +60 -60
- package/dist/venue-calendar.umd.js +55 -55
- package/dist/{zh-C8kyVh24.js → zh-BhjmF7s_.js} +1 -1
- package/package.json +3 -3
- package/dist/promo-CKvS9lia.js +0 -28
- /package/dist/locales/{4.2.35 → 4.2.37}/main/de.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/es.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/fr.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/id.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/it.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/ja.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/ko.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/nl.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/pl.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/pt-br.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/tr.js +0 -0
- /package/dist/locales/{4.2.35 → 4.2.37}/main/zh.js +0 -0
|
@@ -151,7 +151,7 @@ var e = {
|
|
|
151
151
|
completeSoon: "请尽快完成支付",
|
|
152
152
|
sessionExpiringSoon: "订单即将超时",
|
|
153
153
|
sessionExpiringSoonMessage: "您的订单将在 {time} 后超时,所选门票将被释放",
|
|
154
|
-
extensionsRemaining: "
|
|
154
|
+
extensionsRemaining: "剩余延长次数:{count}",
|
|
155
155
|
continueCheckout: "继续结账",
|
|
156
156
|
okIllHurry: "好的,我抓紧",
|
|
157
157
|
maxExtensionsReached: "已达最大延长次数",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getmicdrop/venue-calendar",
|
|
3
3
|
"_version_comment": "4.1.55 was the last PUBLISHED version, and the tree carried 36 commits npm's 4.1.55 does not have — including the gate-password security fix and four money fixes. A filename must never reuse a version npm has taken (jsDelivr/unpkg cache the FIRST bytes they see under `@4.1.55` forever, so republishing that number ships the old widget to every venue that pinned it). Bumped to 4.2.0 here, BEFORE anything is built for publish. `npm run release:preflight` refuses to proceed when this number already exists in the registry.",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.37",
|
|
5
5
|
"description": "A customizable Svelte calendar component for displaying comedy events",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./dist/types/index.d.ts",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"homepage": "https://github.com/get-micdrop/venue-calendar#readme",
|
|
143
143
|
"_peerDependencies_comment": "TWO different contracts live here, and they cover DIFFERENT entry points. (a) `svelte` — the ES and UMD builds externalize svelte (vite.config.lib.js rollupOptions.external) and ship PRE-COMPILED output that binds through svelte/internal/client, a private, non-semver surface. So the consumer's svelte is the runtime for code this package's compiler emitted, and the compiler version is the real floor. The upper bound is the part that was missing: `>=5.56.0` admits Svelte 6, and this was the ONLY manifest in the fleet that would have taken it — svelte-stripe's `svelte: ^5` peer was the sole accidental brake, and moving that package to devDependencies (below) removes it, so the bound has to be explicit and it has to land in the same change. The floor is 5.56.4, NOT the 5.56.9 this repo compiles with: micdrop-frontend pins svelte to exactly 5.56.4 tree-wide and CANNOT move (mf 3ce86e22a reverted the 5.56.4 -> 5.56.9 bump because the Foundry Catalog Gate stops producing a byte-identical catalog under a different compiler, and that has to be fixed with the catalog regenerated in the same change, on Linux). A floor of 5.56.9 would therefore ERESOLVE against micdrop-frontend's own override on `npm ci` — i.e. it would brick the app that consumes this package in order to record an aspiration. The residual skew (consumer 5.56.4 < compiler 5.56.9) is real but not a missing-symbol crash: all 73 svelte/internal members the shipped dist references are present in 5.56.4. The exposure is SIGNATURE drift across the 7 differing internal/client files (reactivity/props.js `rest_props` is the one behind the June crash), which export-presence checks cannot catch. Close it by aligning the compilers, not by widening this range. (b) `@getmicdrop/svelte-components` — required by the ./api subpath ONLY: dist/api/api.mjs emits 5 SC subpath imports and api.cjs emits 7 (vite.config.api.js externalizes SC deliberately; the manifest never said so, and npm therefore never installed or warned about it). It is marked OPTIONAL below on purpose: @getmicdrop/venue-calendar is PUBLIC on npm but @getmicdrop/svelte-components is PRIVATE (an unauthenticated `npm view` of it 404s while this package resolves fine), so a REQUIRED peer would make `npm i @getmicdrop/venue-calendar` fail outright for every third party that only wants the widget entry — which bundles SC and needs nothing installed. Optional means npm stays quiet when SC is absent (it cannot be fetched anyway) but still version-checks it when present. The main/IIFE/UMD builds do NOT externalize SC; see the devDependencies pin. SEAM RESOLVED (2026-08-23): declaring SC in BOTH devDependencies (build) and peerDependencies (./api contract) is the intended shape, and the test no longer objects. It used to: scDepType asserted SC appeared in EXACTLY ONE of the four dependency maps and found two, failing 3 tests. The fix landed where this note said it should — scripts/lockfile-sync-check.test.js now derives INSTALL_DEP_TYPES as DEP_TYPES minus peerDependencies, so a peer is no longer counted as somewhere SC is installed from. The detector (scripts/lockfile-sync-check.mjs) always handled peers correctly. Nothing is outstanding here; this paragraph is kept as the record of why the two-map shape is deliberate rather than a mistake to be tidied away",
|
|
144
144
|
"peerDependencies": {
|
|
145
|
-
"@getmicdrop/svelte-components": "^6.24.
|
|
145
|
+
"@getmicdrop/svelte-components": "^6.24.330",
|
|
146
146
|
"svelte": ">=5.56.4 <6"
|
|
147
147
|
},
|
|
148
148
|
"peerDependenciesMeta": {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"_devDependencies_pin_comment": "Three EXACT pins in here are load-bearing and must not be re-caretted by a dependency bot. (1) `@getmicdrop/svelte-components` — the ES/UMD/IIFE builds do NOT externalize SC, so it is COMPILED INTO every shipped artifact. RESTORED TO AN EXACT PIN 2026-08-23, having drifted back to a caret at some point between 6.24.311 and 6.24.316 — exactly the re-caretting this note warns about, which is worth knowing recurs. Under a caretted range like `^6.24.311` the SC version a venue's browser executes is whatever the range floats to on the publish machine at publish time, which is not recorded anywhere and is not reproducible after the fact; the `overrides` block below cannot help (it only ever covered esbuild, and consumers ignore a dependency's overrides entirely). Pinned exact so the artifact and the manifest agree, and vite.config.lib.js stamps the resolved version into the bundle as __VC_SC_VERSION__ so a venue's devtools can answer 'which SC is this?'. (2) `svelte` — the compiler whose private internal/client calls the pre-compiled dist binds to. `^5.56.9` let the compiler move under a peer range that stayed still; see _peerDependencies_comment. (3) `@stripe/stripe-js` in dependencies — see its own note there.",
|
|
155
155
|
"devDependencies": {
|
|
156
156
|
"@eslint/js": "^10.0.1",
|
|
157
|
-
"@getmicdrop/svelte-components": "6.24.
|
|
157
|
+
"@getmicdrop/svelte-components": "6.24.330",
|
|
158
158
|
"@playwright/test": "^1.60.0",
|
|
159
159
|
"@size-limit/file": "^13.0.3",
|
|
160
160
|
"@sveltejs/adapter-auto": "^7.0.1",
|
package/dist/promo-CKvS9lia.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { A as e, F as t, M as n, k as r } from "./defaultLabels-D_9CneL4.js";
|
|
2
|
-
//#region src/lib/utils/promo.ts
|
|
3
|
-
function i(e) {
|
|
4
|
-
return e === "percentage" || e === "%";
|
|
5
|
-
}
|
|
6
|
-
function a(e) {
|
|
7
|
-
if (e.appliesToAllTickets !== !1) return [];
|
|
8
|
-
let t = e.applyToTicketIds;
|
|
9
|
-
return Array.isArray(t) && t.length > 0 ? [...t] : [];
|
|
10
|
-
}
|
|
11
|
-
function o(e, t) {
|
|
12
|
-
if (!e || e.length === 0) return !0;
|
|
13
|
-
let n = Number(t);
|
|
14
|
-
return Number.isFinite(n) ? e.some((e) => Number(e) === n) : !1;
|
|
15
|
-
}
|
|
16
|
-
function s(e, t, n) {
|
|
17
|
-
if (!(t > 0) || !(e > 0)) return 0;
|
|
18
|
-
let r = i(n) ? e * t / 100 : t;
|
|
19
|
-
return Math.round(Math.max(0, Math.min(e, r)) * 100) / 100;
|
|
20
|
-
}
|
|
21
|
-
function c(a, o, c, l) {
|
|
22
|
-
if (!(c > 0)) return 0;
|
|
23
|
-
if (!i(l)) return s(o, c, l);
|
|
24
|
-
let u = a.filter(({ quantity: e }) => e > 0).map(({ unitPrice: t, quantity: r }) => n(e(s(t, c, l)), r));
|
|
25
|
-
return r(t(u));
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { s as a, c as i, o as n, a as r, i as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|