@jmp-technologies/analytics 0.1.34 → 0.1.35
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/astro/client.cjs +1 -1
- package/dist/astro/client.cjs.map +1 -1
- package/dist/astro/client.js +1 -1
- package/dist/astro/content.cjs +31 -1
- package/dist/astro/content.cjs.map +1 -1
- package/dist/astro/content.js +4 -2
- package/dist/astro/integration.cjs +1 -1
- package/dist/astro/integration.cjs.map +1 -1
- package/dist/astro/integration.js +2 -2
- package/dist/astro/register.cjs +1 -1
- package/dist/astro/register.cjs.map +1 -1
- package/dist/astro/register.js +2 -2
- package/dist/{chunk-4NUFHUWN.js → chunk-3ET7F6MZ.js} +16 -3
- package/dist/chunk-3ET7F6MZ.js.map +1 -0
- package/dist/{chunk-UL7JTTTB.js → chunk-4ZUW24F6.js} +2 -2
- package/dist/{chunk-NJAMXGIW.js → chunk-6SMPRPQ3.js} +21 -2
- package/dist/{chunk-NJAMXGIW.js.map → chunk-6SMPRPQ3.js.map} +1 -1
- package/dist/{chunk-SIJ4TDRV.js → chunk-G322JCI3.js} +2 -2
- package/dist/{chunk-VUWHDHXS.js → chunk-VUCOCFVE.js} +2 -2
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/next/content.cjs +32 -1
- package/dist/next/content.cjs.map +1 -1
- package/dist/next/content.js +5 -2
- package/dist/next/content.js.map +1 -1
- package/dist/next/instrumentation.cjs +1 -1
- package/dist/next/instrumentation.cjs.map +1 -1
- package/dist/next/instrumentation.js +1 -1
- package/dist/next/landing-pages.cjs +1 -1
- package/dist/next/landing-pages.cjs.map +1 -1
- package/dist/next/landing-pages.js +2 -2
- package/dist/next/locations.cjs +1 -1
- package/dist/next/locations.cjs.map +1 -1
- package/dist/next/locations.js +2 -2
- package/dist/next/site-root-server.cjs +1 -1
- package/dist/next/site-root-server.cjs.map +1 -1
- package/dist/next/site-root-server.js +3 -3
- package/dist/next.cjs +1 -1
- package/dist/next.cjs.map +1 -1
- package/dist/next.js +3 -3
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +2 -2
- package/package.json +1 -1
- package/dist/astro/client.d.cts +0 -18
- package/dist/astro/client.d.ts +0 -18
- package/dist/astro/content.d.cts +0 -48
- package/dist/astro/content.d.ts +0 -48
- package/dist/astro/integration.d.cts +0 -36
- package/dist/astro/integration.d.ts +0 -36
- package/dist/astro/middleware.d.cts +0 -19
- package/dist/astro/middleware.d.ts +0 -19
- package/dist/astro/register.d.cts +0 -7
- package/dist/astro/register.d.ts +0 -7
- package/dist/chunk-4NUFHUWN.js.map +0 -1
- package/dist/create-jmp-analytics-CwtcXBd7.d.ts +0 -69
- package/dist/create-jmp-analytics-lkGcysG_.d.cts +0 -69
- package/dist/env-public-B6Y0DG68.d.cts +0 -14
- package/dist/env-public-B6Y0DG68.d.ts +0 -14
- package/dist/index.d.cts +0 -104
- package/dist/index.d.ts +0 -104
- package/dist/landing-capture-C8pyZWuF.d.cts +0 -4
- package/dist/landing-capture-C8pyZWuF.d.ts +0 -4
- package/dist/next/content.d.cts +0 -22
- package/dist/next/content.d.ts +0 -22
- package/dist/next/google-tag.d.cts +0 -17
- package/dist/next/google-tag.d.ts +0 -17
- package/dist/next/instrumentation.d.cts +0 -7
- package/dist/next/instrumentation.d.ts +0 -7
- package/dist/next/landing-capture-script-server.d.cts +0 -14
- package/dist/next/landing-capture-script-server.d.ts +0 -14
- package/dist/next/landing-pages.d.cts +0 -92
- package/dist/next/landing-pages.d.ts +0 -92
- package/dist/next/locations.d.cts +0 -55
- package/dist/next/locations.d.ts +0 -55
- package/dist/next/middleware.d.cts +0 -10
- package/dist/next/middleware.d.ts +0 -10
- package/dist/next/site-root-server.d.cts +0 -24
- package/dist/next/site-root-server.d.ts +0 -24
- package/dist/next.d.cts +0 -50
- package/dist/next.d.ts +0 -50
- package/dist/react.d.cts +0 -22
- package/dist/react.d.ts +0 -22
- package/dist/site-config-BMlEQ_8g.d.cts +0 -74
- package/dist/site-config-BbE6kGDd.d.ts +0 -74
- package/dist/track-page-view-BPWGGoMr.d.ts +0 -12
- package/dist/track-page-view-DaNOaIxF.d.cts +0 -12
- package/dist/types-BdC3SRH-.d.cts +0 -386
- package/dist/types-BdC3SRH-.d.ts +0 -386
- package/dist/utils-B4E-pcQ0.d.ts +0 -15
- package/dist/utils-DIHFgovG.d.cts +0 -15
- /package/dist/{chunk-UL7JTTTB.js.map → chunk-4ZUW24F6.js.map} +0 -0
- /package/dist/{chunk-SIJ4TDRV.js.map → chunk-G322JCI3.js.map} +0 -0
- /package/dist/{chunk-VUWHDHXS.js.map → chunk-VUCOCFVE.js.map} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
export { b as buildLandingCaptureInlineScript } from './landing-capture-C8pyZWuF.js';
|
|
2
|
-
import { J as JmpAnalytics } from './create-jmp-analytics-CwtcXBd7.js';
|
|
3
|
-
export { B as BOOKING_LINK_HOSTS, C as ClassifiedContactLink, b as ContactLinkChannel, c as classifyContactHref, d as createJmpAnalytics, i as isJmpTrackingConsentGranted, s as setJmpTrackingConsent, a as subscribeJmpTrackingConsent } from './create-jmp-analytics-CwtcXBd7.js';
|
|
4
|
-
import { m as JmpContentConfig, r as TrackServerPageViewOptions, h as JmpTrustBundle, k as JmpContentWrapper, d as JmpLandingPageKind, b as JmpLandingPage, c as JmpLandingPageDetail, J as JmpBlogPost, s as JmpBlogPostDetail, t as JmpFaqItemDetail, a as JmpFaqItem, e as JmpLandingPageSitemapEntry, j as JmpWebsiteLocationDetail, i as JmpWebsiteLocation, f as JmpSiteProfile, o as JmpAnalyticsConfig } from './types-BdC3SRH-.js';
|
|
5
|
-
export { u as JmpContactExtraManifest, v as JmpContentLocaleAlternate, l as JmpContentManifest, w as JmpContentRouteManifest, x as JmpContentWrapperReportMode, y as JmpCredential, p as JmpEventType, z as JmpPartnerLogo, n as JmpServerRequestLike, g as JmpTestimonial, A as JmpTrustBlockManifest, B as JmpTrustSection, C as JmpTrustStat, D as JmpTrustSummary, L as LeadMetadata, E as LeadMetadataValue, q as TrackLeadOptions, T as TrackPageViewOptions, F as normalizeJmpContentManifest, G as stableJmpManifestFingerprint } from './types-BdC3SRH-.js';
|
|
6
|
-
export { J as JmpPublicEnv, r as readJmpPublicEnvFromProcess } from './env-public-B6Y0DG68.js';
|
|
7
|
-
export { a as JmpSiteContactFallback, b as JmpSiteDefinition, d as defineJmpSite, g as getJmpContentConfig, c as getJmpSiteDefinition } from './site-config-BbE6kGDd.js';
|
|
8
|
-
|
|
9
|
-
/** Published package version — sent with capabilities for admin readiness. */
|
|
10
|
-
declare const JMP_ANALYTICS_SDK_VERSION: string;
|
|
11
|
-
/** `localStorage` key when {@link JmpAnalyticsConfig.requireConsent} is enabled. */
|
|
12
|
-
declare const JMP_TRACKING_CONSENT_STORAGE_KEY = "jmp_analytics_consent_v1";
|
|
13
|
-
/** Default `pageViewDedupeMs` when resolving browser config from env (Strict Mode / SPA). */
|
|
14
|
-
declare const DEFAULT_JMP_BROWSER_PAGE_VIEW_DEDUPE_MS = 2500;
|
|
15
|
-
|
|
16
|
-
declare function trackJmpServerPageView(config: JmpContentConfig, options?: TrackServerPageViewOptions): Promise<void>;
|
|
17
|
-
|
|
18
|
-
declare function markContentWrapper(slot: JmpContentWrapper | string): void;
|
|
19
|
-
declare function inferTrustWrapperSlots(bundle: JmpTrustBundle): string[];
|
|
20
|
-
declare function getDiscoveredContentWrappers(): string[];
|
|
21
|
-
declare function resetContentWrapperDiscoveryForTests(): void;
|
|
22
|
-
|
|
23
|
-
declare function getJmpBlogPosts(config: JmpContentConfig, filters?: {
|
|
24
|
-
locale?: string;
|
|
25
|
-
}): Promise<JmpBlogPost[]>;
|
|
26
|
-
declare function getJmpBlogPost(config: JmpContentConfig, slug: string, locale?: string): Promise<JmpBlogPost | null>;
|
|
27
|
-
declare function getJmpBlogPostDetail(config: JmpContentConfig, slug: string, locale?: string): Promise<JmpBlogPostDetail | null>;
|
|
28
|
-
declare function getJmpFaqs(config: JmpContentConfig, filters?: {
|
|
29
|
-
locale?: string;
|
|
30
|
-
}): Promise<JmpFaqItem[]>;
|
|
31
|
-
declare function getJmpFaqDetail(config: JmpContentConfig, slug: string, locale?: string): Promise<JmpFaqItemDetail | null>;
|
|
32
|
-
declare function getJmpLandingPages(config: JmpContentConfig, filters?: {
|
|
33
|
-
kind?: JmpLandingPageKind;
|
|
34
|
-
locale?: string;
|
|
35
|
-
}): Promise<JmpLandingPage[]>;
|
|
36
|
-
declare function getJmpLandingPageDetail(config: JmpContentConfig, kind: JmpLandingPageKind, slug: string, locale?: string): Promise<JmpLandingPageDetail | null>;
|
|
37
|
-
declare function getJmpLandingPageSitemap(config: JmpContentConfig): Promise<JmpLandingPageSitemapEntry[]>;
|
|
38
|
-
declare function getJmpLocations(config: JmpContentConfig): Promise<JmpWebsiteLocation[]>;
|
|
39
|
-
declare function getJmpLocationDetail(config: JmpContentConfig, slug: string): Promise<JmpWebsiteLocationDetail | null>;
|
|
40
|
-
declare function getJmpTrustBundle(config: JmpContentConfig): Promise<JmpTrustBundle>;
|
|
41
|
-
declare function getJmpSiteProfile(config: JmpContentConfig): Promise<JmpSiteProfile>;
|
|
42
|
-
declare function getJmpRobotsTxt(config: JmpContentConfig): Promise<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Tell the JMP dashboard which content wrappers this site wires (blog, faq, trust.*, contact).
|
|
45
|
-
* Uses auto-discovered slots from content API usage unless `contentWrapperMode` is `manual`.
|
|
46
|
-
* Safe to call on every cold start; dedupes by tracking key + wrapper list.
|
|
47
|
-
*/
|
|
48
|
-
declare function registerJmpContentWrappers(config: JmpContentConfig): Promise<{
|
|
49
|
-
ok: true;
|
|
50
|
-
wrappers: string[];
|
|
51
|
-
} | {
|
|
52
|
-
ok: false;
|
|
53
|
-
skipped: true;
|
|
54
|
-
}>;
|
|
55
|
-
|
|
56
|
-
declare function createJmpContentClient(config: JmpContentConfig): {
|
|
57
|
-
getBlogPosts: (filters?: {
|
|
58
|
-
locale?: string;
|
|
59
|
-
}) => Promise<JmpBlogPost[]>;
|
|
60
|
-
getBlogPost: (slug: string, locale?: string) => Promise<JmpBlogPost | null>;
|
|
61
|
-
getFaqs: (filters?: {
|
|
62
|
-
locale?: string;
|
|
63
|
-
}) => Promise<JmpFaqItem[]>;
|
|
64
|
-
getLandingPages: (filters?: Parameters<typeof getJmpLandingPages>[1]) => Promise<JmpLandingPage[]>;
|
|
65
|
-
getLandingPageDetail: (kind: Parameters<typeof getJmpLandingPageDetail>[1], slug: string, locale?: string) => Promise<JmpLandingPageDetail | null>;
|
|
66
|
-
getLandingPageSitemap: () => Promise<JmpLandingPageSitemapEntry[]>;
|
|
67
|
-
getTrustBundle: () => Promise<JmpTrustBundle>;
|
|
68
|
-
getSiteProfile: () => Promise<JmpSiteProfile>;
|
|
69
|
-
getRobotsTxt: () => Promise<string>;
|
|
70
|
-
registerContentWrappers: () => Promise<{
|
|
71
|
-
ok: true;
|
|
72
|
-
wrappers: string[];
|
|
73
|
-
} | {
|
|
74
|
-
ok: false;
|
|
75
|
-
skipped: true;
|
|
76
|
-
}>;
|
|
77
|
-
};
|
|
78
|
-
type JmpContentClient = ReturnType<typeof createJmpContentClient>;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Browser / client bundle: reads `NEXT_PUBLIC_*` or Astro `PUBLIC_*` vars.
|
|
82
|
-
* Use for `createJmpAnalytics` on the client. Returns `null` if incomplete.
|
|
83
|
-
*/
|
|
84
|
-
declare function getJmpBrowserAnalyticsConfigFromEnv(overrides?: Partial<JmpAnalyticsConfig>): JmpAnalyticsConfig | null;
|
|
85
|
-
/**
|
|
86
|
-
* Server / Node (SSR, Route Handlers, `getStaticProps`, etc.):
|
|
87
|
-
* Same **`NEXT_PUBLIC_*`** vars as the browser (`NEXT_PUBLIC_JMP_ANALYTICS_URL` +
|
|
88
|
-
* `NEXT_PUBLIC_JMP_TRACKING_KEY`). Next.js injects these on the server for RSC/fetches.
|
|
89
|
-
* Returns `null` if incomplete.
|
|
90
|
-
*/
|
|
91
|
-
declare function getJmpServerContentConfigFromEnv(overrides?: Partial<JmpContentConfig>): JmpContentConfig | null;
|
|
92
|
-
declare function isJmpBrowserAnalyticsEnvConfigured(): boolean;
|
|
93
|
-
declare function isJmpServerContentEnvConfigured(): boolean;
|
|
94
|
-
/**
|
|
95
|
-
* One `JmpAnalytics` instance per browser tab (module singleton). Safe for page views and events.
|
|
96
|
-
* Returns `null` on the server or when public env vars are missing.
|
|
97
|
-
*/
|
|
98
|
-
declare function getOrCreateJmpAnalyticsFromBrowserEnv(overrides?: Partial<JmpAnalyticsConfig>): JmpAnalytics | null;
|
|
99
|
-
/**
|
|
100
|
-
* `createJmpContentClient` using server env resolution. Returns `null` if env is incomplete.
|
|
101
|
-
*/
|
|
102
|
-
declare function createJmpContentClientFromServerEnv(overrides?: Partial<JmpContentConfig>): JmpContentClient | null;
|
|
103
|
-
|
|
104
|
-
export { DEFAULT_JMP_BROWSER_PAGE_VIEW_DEDUPE_MS, JMP_ANALYTICS_SDK_VERSION, JMP_TRACKING_CONSENT_STORAGE_KEY, JmpAnalytics, JmpAnalyticsConfig, JmpBlogPost, JmpBlogPostDetail, type JmpContentClient, JmpContentConfig, JmpContentWrapper, JmpFaqItem, JmpFaqItemDetail, JmpLandingPage, JmpLandingPageDetail, JmpLandingPageKind, JmpLandingPageSitemapEntry, JmpSiteProfile, JmpTrustBundle, JmpWebsiteLocation, JmpWebsiteLocationDetail, TrackServerPageViewOptions, createJmpContentClient, createJmpContentClientFromServerEnv, getDiscoveredContentWrappers, getJmpBlogPost, getJmpBlogPostDetail, getJmpBlogPosts, getJmpBrowserAnalyticsConfigFromEnv, getJmpFaqDetail, getJmpFaqs, getJmpLandingPageDetail, getJmpLandingPageSitemap, getJmpLandingPages, getJmpLocationDetail, getJmpLocations, getJmpRobotsTxt, getJmpServerContentConfigFromEnv, getJmpSiteProfile, getJmpTrustBundle, getOrCreateJmpAnalyticsFromBrowserEnv, inferTrustWrapperSlots, isJmpBrowserAnalyticsEnvConfigured, isJmpServerContentEnvConfigured, markContentWrapper, registerJmpContentWrappers, resetContentWrapperDiscoveryForTests, trackJmpServerPageView };
|
package/dist/next/content.d.cts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { absoluteSiteAssetUrl as absoluteSiteAssetUrl$1, filterFeaturedTrustQuotes as filterFeaturedTrustQuotes$1, getResolvedSiteContact as getResolvedSiteContact$1, loadBlogPost as loadBlogPost$1, loadBlogPosts as loadBlogPosts$1, loadFaqBySlug as loadFaqBySlug$1, loadFaqs as loadFaqs$1, loadLandingPageDetail as loadLandingPageDetail$1, loadLandingPageSitemap as loadLandingPageSitemap$1, loadLandingPages as loadLandingPages$1, loadLocationDetail as loadLocationDetail$1, loadLocations as loadLocations$1, loadSiteProfile as loadSiteProfile$1, loadTrustBundle as loadTrustBundle$1, resolveSiteContact as resolveSiteContact$1 } from '../astro/content.cjs';
|
|
2
|
-
export { ResolvedSiteContact, listResolvedSocialUrls } from '../astro/content.cjs';
|
|
3
|
-
export { J as JmpBlogPost, a as JmpFaqItem, b as JmpLandingPage, c as JmpLandingPageDetail, d as JmpLandingPageKind, e as JmpLandingPageSitemapEntry, f as JmpSiteProfile, g as JmpTestimonial, h as JmpTrustBundle, i as JmpWebsiteLocation, j as JmpWebsiteLocationDetail } from '../types-BdC3SRH-.cjs';
|
|
4
|
-
export { J as JmpSiteSocialLinks, g as getJmpContentConfig } from '../site-config-BMlEQ_8g.cjs';
|
|
5
|
-
|
|
6
|
-
declare const absoluteSiteAssetUrl: typeof absoluteSiteAssetUrl$1;
|
|
7
|
-
declare const resolveSiteContact: typeof resolveSiteContact$1;
|
|
8
|
-
declare const filterFeaturedTrustQuotes: typeof filterFeaturedTrustQuotes$1;
|
|
9
|
-
declare const loadSiteProfile: typeof loadSiteProfile$1;
|
|
10
|
-
declare const getResolvedSiteContact: typeof getResolvedSiteContact$1;
|
|
11
|
-
declare const loadBlogPosts: typeof loadBlogPosts$1;
|
|
12
|
-
declare const loadBlogPost: typeof loadBlogPost$1;
|
|
13
|
-
declare const loadFaqs: typeof loadFaqs$1;
|
|
14
|
-
declare const loadFaqBySlug: typeof loadFaqBySlug$1;
|
|
15
|
-
declare const loadLandingPages: typeof loadLandingPages$1;
|
|
16
|
-
declare const loadLandingPageDetail: typeof loadLandingPageDetail$1;
|
|
17
|
-
declare const loadLandingPageSitemap: typeof loadLandingPageSitemap$1;
|
|
18
|
-
declare const loadLocations: typeof loadLocations$1;
|
|
19
|
-
declare const loadLocationDetail: typeof loadLocationDetail$1;
|
|
20
|
-
declare const loadTrustBundle: typeof loadTrustBundle$1;
|
|
21
|
-
|
|
22
|
-
export { absoluteSiteAssetUrl, filterFeaturedTrustQuotes, getResolvedSiteContact, loadBlogPost, loadBlogPosts, loadFaqBySlug, loadFaqs, loadLandingPageDetail, loadLandingPageSitemap, loadLandingPages, loadLocationDetail, loadLocations, loadSiteProfile, loadTrustBundle, resolveSiteContact };
|
package/dist/next/content.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { absoluteSiteAssetUrl as absoluteSiteAssetUrl$1, filterFeaturedTrustQuotes as filterFeaturedTrustQuotes$1, getResolvedSiteContact as getResolvedSiteContact$1, loadBlogPost as loadBlogPost$1, loadBlogPosts as loadBlogPosts$1, loadFaqBySlug as loadFaqBySlug$1, loadFaqs as loadFaqs$1, loadLandingPageDetail as loadLandingPageDetail$1, loadLandingPageSitemap as loadLandingPageSitemap$1, loadLandingPages as loadLandingPages$1, loadLocationDetail as loadLocationDetail$1, loadLocations as loadLocations$1, loadSiteProfile as loadSiteProfile$1, loadTrustBundle as loadTrustBundle$1, resolveSiteContact as resolveSiteContact$1 } from '../astro/content.js';
|
|
2
|
-
export { ResolvedSiteContact, listResolvedSocialUrls } from '../astro/content.js';
|
|
3
|
-
export { J as JmpBlogPost, a as JmpFaqItem, b as JmpLandingPage, c as JmpLandingPageDetail, d as JmpLandingPageKind, e as JmpLandingPageSitemapEntry, f as JmpSiteProfile, g as JmpTestimonial, h as JmpTrustBundle, i as JmpWebsiteLocation, j as JmpWebsiteLocationDetail } from '../types-BdC3SRH-.js';
|
|
4
|
-
export { J as JmpSiteSocialLinks, g as getJmpContentConfig } from '../site-config-BbE6kGDd.js';
|
|
5
|
-
|
|
6
|
-
declare const absoluteSiteAssetUrl: typeof absoluteSiteAssetUrl$1;
|
|
7
|
-
declare const resolveSiteContact: typeof resolveSiteContact$1;
|
|
8
|
-
declare const filterFeaturedTrustQuotes: typeof filterFeaturedTrustQuotes$1;
|
|
9
|
-
declare const loadSiteProfile: typeof loadSiteProfile$1;
|
|
10
|
-
declare const getResolvedSiteContact: typeof getResolvedSiteContact$1;
|
|
11
|
-
declare const loadBlogPosts: typeof loadBlogPosts$1;
|
|
12
|
-
declare const loadBlogPost: typeof loadBlogPost$1;
|
|
13
|
-
declare const loadFaqs: typeof loadFaqs$1;
|
|
14
|
-
declare const loadFaqBySlug: typeof loadFaqBySlug$1;
|
|
15
|
-
declare const loadLandingPages: typeof loadLandingPages$1;
|
|
16
|
-
declare const loadLandingPageDetail: typeof loadLandingPageDetail$1;
|
|
17
|
-
declare const loadLandingPageSitemap: typeof loadLandingPageSitemap$1;
|
|
18
|
-
declare const loadLocations: typeof loadLocations$1;
|
|
19
|
-
declare const loadLocationDetail: typeof loadLocationDetail$1;
|
|
20
|
-
declare const loadTrustBundle: typeof loadTrustBundle$1;
|
|
21
|
-
|
|
22
|
-
export { absoluteSiteAssetUrl, filterFeaturedTrustQuotes, getResolvedSiteContact, loadBlogPost, loadBlogPosts, loadFaqBySlug, loadFaqs, loadLandingPageDetail, loadLandingPageSitemap, loadLandingPages, loadLocationDetail, loadLocations, loadSiteProfile, loadTrustBundle, resolveSiteContact };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
gtag?: (...args: unknown[]) => void;
|
|
6
|
-
dataLayer?: unknown[];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* GA4 via gtag.js + page_path updates on client-side navigations (App Router).
|
|
11
|
-
* Loaded after idle to avoid blocking LCP.
|
|
12
|
-
*/
|
|
13
|
-
declare function JmpGoogleTag({ gaId }: {
|
|
14
|
-
gaId: string;
|
|
15
|
-
}): react_jsx_runtime.JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { JmpGoogleTag };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
gtag?: (...args: unknown[]) => void;
|
|
6
|
-
dataLayer?: unknown[];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* GA4 via gtag.js + page_path updates on client-side navigations (App Router).
|
|
11
|
-
* Loaded after idle to avoid blocking LCP.
|
|
12
|
-
*/
|
|
13
|
-
declare function JmpGoogleTag({ gaId }: {
|
|
14
|
-
gaId: string;
|
|
15
|
-
}): react_jsx_runtime.JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { JmpGoogleTag };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type JmpLandingCaptureScriptServerProps = {
|
|
4
|
-
trackingKey?: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* SSR-only landing referrer / UTM capture. Render in root layout `<head>`.
|
|
8
|
-
*
|
|
9
|
-
* Do not use `next/script` or a client component — React 19 will warn and
|
|
10
|
-
* deferred client mounts miss the first referrer anyway.
|
|
11
|
-
*/
|
|
12
|
-
declare function JmpLandingCaptureScriptServer({ trackingKey, }?: JmpLandingCaptureScriptServerProps): react_jsx_runtime.JSX.Element | null;
|
|
13
|
-
|
|
14
|
-
export { JmpLandingCaptureScriptServer };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type JmpLandingCaptureScriptServerProps = {
|
|
4
|
-
trackingKey?: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* SSR-only landing referrer / UTM capture. Render in root layout `<head>`.
|
|
8
|
-
*
|
|
9
|
-
* Do not use `next/script` or a client component — React 19 will warn and
|
|
10
|
-
* deferred client mounts miss the first referrer anyway.
|
|
11
|
-
*/
|
|
12
|
-
declare function JmpLandingCaptureScriptServer({ trackingKey, }?: JmpLandingCaptureScriptServerProps): react_jsx_runtime.JSX.Element | null;
|
|
13
|
-
|
|
14
|
-
export { JmpLandingCaptureScriptServer };
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Metadata } from 'next';
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
4
|
-
import { d as JmpLandingPageKind, e as JmpLandingPageSitemapEntry } from '../types-BdC3SRH-.cjs';
|
|
5
|
-
export { a as absoluteJmpSiteUrl, f as filterJmpLandingPagesForDefaultLocale, b as filterJmpLandingPagesForLocalizedRoutes, j as jmpLocalizedLandingStaticParams, p as plainTextFromMarkdown, r as resolveJmpSiteUrl } from '../utils-DIHFgovG.cjs';
|
|
6
|
-
|
|
7
|
-
/** `generateStaticParams` for `app/{areas|services}/[slug]/page.tsx` (default locale). */
|
|
8
|
-
declare function generateJmpLandingStaticParams(kind: JmpLandingPageKind): Promise<{
|
|
9
|
-
slug: string;
|
|
10
|
-
}[]>;
|
|
11
|
-
/** `generateStaticParams` for `app/[locale]/{areas|services}/[slug]/page.tsx`. */
|
|
12
|
-
declare function generateJmpLocalizedLandingStaticParams(kind: JmpLandingPageKind): Promise<{
|
|
13
|
-
locale: string;
|
|
14
|
-
slug: string;
|
|
15
|
-
}[]>;
|
|
16
|
-
|
|
17
|
-
type JmpLandingSitemapRoute = {
|
|
18
|
-
url: string;
|
|
19
|
-
lastModified?: Date;
|
|
20
|
-
changeFrequency?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
21
|
-
priority?: number;
|
|
22
|
-
alternates?: {
|
|
23
|
-
languages?: Record<string, string>;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type BuildJmpLandingSitemapRoutesOptions = {
|
|
27
|
-
siteUrl: string;
|
|
28
|
-
/** Default 0.7 location, 0.68 service */
|
|
29
|
-
priorityByKind?: Partial<Record<JmpLandingPageKind, number>>;
|
|
30
|
-
changeFrequency?: JmpLandingSitemapRoute["changeFrequency"];
|
|
31
|
-
};
|
|
32
|
-
declare function buildJmpLandingSitemapRoutes(entries: JmpLandingPageSitemapEntry[], options: BuildJmpLandingSitemapRoutesOptions): JmpLandingSitemapRoute[];
|
|
33
|
-
|
|
34
|
-
type JmpLandingHubConfig = {
|
|
35
|
-
title: string;
|
|
36
|
-
path: string;
|
|
37
|
-
description: string;
|
|
38
|
-
breadcrumb: string;
|
|
39
|
-
segment: string;
|
|
40
|
-
};
|
|
41
|
-
declare const JMP_LANDING_HUB: Record<JmpLandingPageKind, JmpLandingHubConfig>;
|
|
42
|
-
declare function jmpLandingKindSegment(kind: JmpLandingPageKind): string;
|
|
43
|
-
|
|
44
|
-
type JmpBreadcrumbItem = {
|
|
45
|
-
name: string;
|
|
46
|
-
path: string;
|
|
47
|
-
};
|
|
48
|
-
declare function jmpBreadcrumbListJsonLd(items: JmpBreadcrumbItem[], siteUrl?: string): Record<string, unknown>;
|
|
49
|
-
|
|
50
|
-
type JmpLandingPageClassNames = {
|
|
51
|
-
excerpt?: string;
|
|
52
|
-
title?: string;
|
|
53
|
-
relatedTitle?: string;
|
|
54
|
-
hubDescription?: string;
|
|
55
|
-
emptyState?: string;
|
|
56
|
-
list?: string;
|
|
57
|
-
listItem?: string;
|
|
58
|
-
};
|
|
59
|
-
type JmpLandingDetailPageProps = {
|
|
60
|
-
kind: JmpLandingPageKind;
|
|
61
|
-
slug: string;
|
|
62
|
-
locale?: string;
|
|
63
|
-
siteUrl?: string;
|
|
64
|
-
components?: JmpLandingPageComponents;
|
|
65
|
-
className?: string;
|
|
66
|
-
classNames?: JmpLandingPageClassNames;
|
|
67
|
-
};
|
|
68
|
-
type JmpLandingIndexPageProps = {
|
|
69
|
-
kind: JmpLandingPageKind;
|
|
70
|
-
components?: JmpLandingPageComponents;
|
|
71
|
-
className?: string;
|
|
72
|
-
classNames?: JmpLandingPageClassNames;
|
|
73
|
-
};
|
|
74
|
-
type JmpLandingPageComponents = {
|
|
75
|
-
Link?: ComponentType<{
|
|
76
|
-
href: string;
|
|
77
|
-
className?: string;
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
}>;
|
|
80
|
-
renderBody?: (body: string) => ReactNode;
|
|
81
|
-
renderBreadcrumbs?: (items: {
|
|
82
|
-
name: string;
|
|
83
|
-
path: string;
|
|
84
|
-
}[]) => ReactNode;
|
|
85
|
-
renderJsonLd?: (data: Record<string, unknown>[], id: string) => ReactNode;
|
|
86
|
-
};
|
|
87
|
-
declare function buildJmpLandingMetadata({ kind, slug, locale, siteUrl, }: JmpLandingDetailPageProps): Promise<Metadata>;
|
|
88
|
-
declare function buildJmpLandingIndexMetadata(kind: JmpLandingPageKind, siteUrl?: string): Metadata;
|
|
89
|
-
declare function JmpLandingDetailPage({ kind, slug, locale, siteUrl, components, className, classNames, }: JmpLandingDetailPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
90
|
-
declare function JmpLandingIndexPage({ kind, components, className, classNames, }: JmpLandingIndexPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
91
|
-
|
|
92
|
-
export { type BuildJmpLandingSitemapRoutesOptions, JMP_LANDING_HUB, type JmpBreadcrumbItem, JmpLandingDetailPage, type JmpLandingDetailPageProps, JmpLandingIndexPage, type JmpLandingIndexPageProps, type JmpLandingPageClassNames, type JmpLandingPageComponents, type JmpLandingSitemapRoute, buildJmpLandingIndexMetadata, buildJmpLandingMetadata, buildJmpLandingSitemapRoutes, generateJmpLandingStaticParams, generateJmpLocalizedLandingStaticParams, jmpBreadcrumbListJsonLd, jmpLandingKindSegment };
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Metadata } from 'next';
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
4
|
-
import { d as JmpLandingPageKind, e as JmpLandingPageSitemapEntry } from '../types-BdC3SRH-.js';
|
|
5
|
-
export { a as absoluteJmpSiteUrl, f as filterJmpLandingPagesForDefaultLocale, b as filterJmpLandingPagesForLocalizedRoutes, j as jmpLocalizedLandingStaticParams, p as plainTextFromMarkdown, r as resolveJmpSiteUrl } from '../utils-B4E-pcQ0.js';
|
|
6
|
-
|
|
7
|
-
/** `generateStaticParams` for `app/{areas|services}/[slug]/page.tsx` (default locale). */
|
|
8
|
-
declare function generateJmpLandingStaticParams(kind: JmpLandingPageKind): Promise<{
|
|
9
|
-
slug: string;
|
|
10
|
-
}[]>;
|
|
11
|
-
/** `generateStaticParams` for `app/[locale]/{areas|services}/[slug]/page.tsx`. */
|
|
12
|
-
declare function generateJmpLocalizedLandingStaticParams(kind: JmpLandingPageKind): Promise<{
|
|
13
|
-
locale: string;
|
|
14
|
-
slug: string;
|
|
15
|
-
}[]>;
|
|
16
|
-
|
|
17
|
-
type JmpLandingSitemapRoute = {
|
|
18
|
-
url: string;
|
|
19
|
-
lastModified?: Date;
|
|
20
|
-
changeFrequency?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
21
|
-
priority?: number;
|
|
22
|
-
alternates?: {
|
|
23
|
-
languages?: Record<string, string>;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type BuildJmpLandingSitemapRoutesOptions = {
|
|
27
|
-
siteUrl: string;
|
|
28
|
-
/** Default 0.7 location, 0.68 service */
|
|
29
|
-
priorityByKind?: Partial<Record<JmpLandingPageKind, number>>;
|
|
30
|
-
changeFrequency?: JmpLandingSitemapRoute["changeFrequency"];
|
|
31
|
-
};
|
|
32
|
-
declare function buildJmpLandingSitemapRoutes(entries: JmpLandingPageSitemapEntry[], options: BuildJmpLandingSitemapRoutesOptions): JmpLandingSitemapRoute[];
|
|
33
|
-
|
|
34
|
-
type JmpLandingHubConfig = {
|
|
35
|
-
title: string;
|
|
36
|
-
path: string;
|
|
37
|
-
description: string;
|
|
38
|
-
breadcrumb: string;
|
|
39
|
-
segment: string;
|
|
40
|
-
};
|
|
41
|
-
declare const JMP_LANDING_HUB: Record<JmpLandingPageKind, JmpLandingHubConfig>;
|
|
42
|
-
declare function jmpLandingKindSegment(kind: JmpLandingPageKind): string;
|
|
43
|
-
|
|
44
|
-
type JmpBreadcrumbItem = {
|
|
45
|
-
name: string;
|
|
46
|
-
path: string;
|
|
47
|
-
};
|
|
48
|
-
declare function jmpBreadcrumbListJsonLd(items: JmpBreadcrumbItem[], siteUrl?: string): Record<string, unknown>;
|
|
49
|
-
|
|
50
|
-
type JmpLandingPageClassNames = {
|
|
51
|
-
excerpt?: string;
|
|
52
|
-
title?: string;
|
|
53
|
-
relatedTitle?: string;
|
|
54
|
-
hubDescription?: string;
|
|
55
|
-
emptyState?: string;
|
|
56
|
-
list?: string;
|
|
57
|
-
listItem?: string;
|
|
58
|
-
};
|
|
59
|
-
type JmpLandingDetailPageProps = {
|
|
60
|
-
kind: JmpLandingPageKind;
|
|
61
|
-
slug: string;
|
|
62
|
-
locale?: string;
|
|
63
|
-
siteUrl?: string;
|
|
64
|
-
components?: JmpLandingPageComponents;
|
|
65
|
-
className?: string;
|
|
66
|
-
classNames?: JmpLandingPageClassNames;
|
|
67
|
-
};
|
|
68
|
-
type JmpLandingIndexPageProps = {
|
|
69
|
-
kind: JmpLandingPageKind;
|
|
70
|
-
components?: JmpLandingPageComponents;
|
|
71
|
-
className?: string;
|
|
72
|
-
classNames?: JmpLandingPageClassNames;
|
|
73
|
-
};
|
|
74
|
-
type JmpLandingPageComponents = {
|
|
75
|
-
Link?: ComponentType<{
|
|
76
|
-
href: string;
|
|
77
|
-
className?: string;
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
}>;
|
|
80
|
-
renderBody?: (body: string) => ReactNode;
|
|
81
|
-
renderBreadcrumbs?: (items: {
|
|
82
|
-
name: string;
|
|
83
|
-
path: string;
|
|
84
|
-
}[]) => ReactNode;
|
|
85
|
-
renderJsonLd?: (data: Record<string, unknown>[], id: string) => ReactNode;
|
|
86
|
-
};
|
|
87
|
-
declare function buildJmpLandingMetadata({ kind, slug, locale, siteUrl, }: JmpLandingDetailPageProps): Promise<Metadata>;
|
|
88
|
-
declare function buildJmpLandingIndexMetadata(kind: JmpLandingPageKind, siteUrl?: string): Metadata;
|
|
89
|
-
declare function JmpLandingDetailPage({ kind, slug, locale, siteUrl, components, className, classNames, }: JmpLandingDetailPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
90
|
-
declare function JmpLandingIndexPage({ kind, components, className, classNames, }: JmpLandingIndexPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
91
|
-
|
|
92
|
-
export { type BuildJmpLandingSitemapRoutesOptions, JMP_LANDING_HUB, type JmpBreadcrumbItem, JmpLandingDetailPage, type JmpLandingDetailPageProps, JmpLandingIndexPage, type JmpLandingIndexPageProps, type JmpLandingPageClassNames, type JmpLandingPageComponents, type JmpLandingSitemapRoute, buildJmpLandingIndexMetadata, buildJmpLandingMetadata, buildJmpLandingSitemapRoutes, generateJmpLandingStaticParams, generateJmpLocalizedLandingStaticParams, jmpBreadcrumbListJsonLd, jmpLandingKindSegment };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Metadata } from 'next';
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
4
|
-
import { i as JmpWebsiteLocation } from '../types-BdC3SRH-.cjs';
|
|
5
|
-
export { p as plainTextFromMarkdown, r as resolveJmpSiteUrl } from '../utils-DIHFgovG.cjs';
|
|
6
|
-
|
|
7
|
-
type JmpLocationPageClassNames = {
|
|
8
|
-
title?: string;
|
|
9
|
-
excerpt?: string;
|
|
10
|
-
list?: string;
|
|
11
|
-
listItem?: string;
|
|
12
|
-
emptyState?: string;
|
|
13
|
-
};
|
|
14
|
-
type JmpLocationPageComponents = {
|
|
15
|
-
Link?: ComponentType<{
|
|
16
|
-
href: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}>;
|
|
20
|
-
renderBody?: (body: string) => ReactNode;
|
|
21
|
-
renderJsonLd?: (data: Record<string, unknown>[], id: string) => ReactNode;
|
|
22
|
-
};
|
|
23
|
-
type JmpLocationDetailPageProps = {
|
|
24
|
-
slug: string;
|
|
25
|
-
siteUrl?: string;
|
|
26
|
-
components?: JmpLocationPageComponents;
|
|
27
|
-
className?: string;
|
|
28
|
-
classNames?: JmpLocationPageClassNames;
|
|
29
|
-
};
|
|
30
|
-
type JmpLocationHubPageProps = {
|
|
31
|
-
siteUrl?: string;
|
|
32
|
-
components?: JmpLocationPageComponents;
|
|
33
|
-
className?: string;
|
|
34
|
-
classNames?: JmpLocationPageClassNames;
|
|
35
|
-
};
|
|
36
|
-
type BuildJmpLocationSitemapRoutesOptions = {
|
|
37
|
-
siteUrl?: string;
|
|
38
|
-
changeFrequency?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
39
|
-
};
|
|
40
|
-
type JmpLocationSitemapRoute = {
|
|
41
|
-
url: string;
|
|
42
|
-
lastModified?: Date;
|
|
43
|
-
changeFrequency?: BuildJmpLocationSitemapRoutesOptions["changeFrequency"];
|
|
44
|
-
priority?: number;
|
|
45
|
-
};
|
|
46
|
-
declare function generateJmpLocationStaticParams(): Promise<{
|
|
47
|
-
slug: string;
|
|
48
|
-
}[]>;
|
|
49
|
-
declare function buildJmpLocationMetadata({ slug, siteUrl, }: JmpLocationDetailPageProps): Promise<Metadata>;
|
|
50
|
-
declare function buildJmpLocationHubMetadata(siteUrl?: string): Metadata;
|
|
51
|
-
declare function buildJmpLocationSitemapRoutes(locations: JmpWebsiteLocation[], options?: BuildJmpLocationSitemapRoutesOptions): JmpLocationSitemapRoute[];
|
|
52
|
-
declare function JmpLocationHubPage({ components, className, classNames, }: JmpLocationHubPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
53
|
-
declare function JmpLocationDetailPage({ slug, siteUrl, components, className, classNames, }: JmpLocationDetailPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
54
|
-
|
|
55
|
-
export { type BuildJmpLocationSitemapRoutesOptions, JmpLocationDetailPage, type JmpLocationDetailPageProps, JmpLocationHubPage, type JmpLocationHubPageProps, type JmpLocationPageClassNames, type JmpLocationPageComponents, type JmpLocationSitemapRoute, buildJmpLocationHubMetadata, buildJmpLocationMetadata, buildJmpLocationSitemapRoutes, generateJmpLocationStaticParams };
|
package/dist/next/locations.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Metadata } from 'next';
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
4
|
-
import { i as JmpWebsiteLocation } from '../types-BdC3SRH-.js';
|
|
5
|
-
export { p as plainTextFromMarkdown, r as resolveJmpSiteUrl } from '../utils-B4E-pcQ0.js';
|
|
6
|
-
|
|
7
|
-
type JmpLocationPageClassNames = {
|
|
8
|
-
title?: string;
|
|
9
|
-
excerpt?: string;
|
|
10
|
-
list?: string;
|
|
11
|
-
listItem?: string;
|
|
12
|
-
emptyState?: string;
|
|
13
|
-
};
|
|
14
|
-
type JmpLocationPageComponents = {
|
|
15
|
-
Link?: ComponentType<{
|
|
16
|
-
href: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}>;
|
|
20
|
-
renderBody?: (body: string) => ReactNode;
|
|
21
|
-
renderJsonLd?: (data: Record<string, unknown>[], id: string) => ReactNode;
|
|
22
|
-
};
|
|
23
|
-
type JmpLocationDetailPageProps = {
|
|
24
|
-
slug: string;
|
|
25
|
-
siteUrl?: string;
|
|
26
|
-
components?: JmpLocationPageComponents;
|
|
27
|
-
className?: string;
|
|
28
|
-
classNames?: JmpLocationPageClassNames;
|
|
29
|
-
};
|
|
30
|
-
type JmpLocationHubPageProps = {
|
|
31
|
-
siteUrl?: string;
|
|
32
|
-
components?: JmpLocationPageComponents;
|
|
33
|
-
className?: string;
|
|
34
|
-
classNames?: JmpLocationPageClassNames;
|
|
35
|
-
};
|
|
36
|
-
type BuildJmpLocationSitemapRoutesOptions = {
|
|
37
|
-
siteUrl?: string;
|
|
38
|
-
changeFrequency?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
39
|
-
};
|
|
40
|
-
type JmpLocationSitemapRoute = {
|
|
41
|
-
url: string;
|
|
42
|
-
lastModified?: Date;
|
|
43
|
-
changeFrequency?: BuildJmpLocationSitemapRoutesOptions["changeFrequency"];
|
|
44
|
-
priority?: number;
|
|
45
|
-
};
|
|
46
|
-
declare function generateJmpLocationStaticParams(): Promise<{
|
|
47
|
-
slug: string;
|
|
48
|
-
}[]>;
|
|
49
|
-
declare function buildJmpLocationMetadata({ slug, siteUrl, }: JmpLocationDetailPageProps): Promise<Metadata>;
|
|
50
|
-
declare function buildJmpLocationHubMetadata(siteUrl?: string): Metadata;
|
|
51
|
-
declare function buildJmpLocationSitemapRoutes(locations: JmpWebsiteLocation[], options?: BuildJmpLocationSitemapRoutesOptions): JmpLocationSitemapRoute[];
|
|
52
|
-
declare function JmpLocationHubPage({ components, className, classNames, }: JmpLocationHubPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
53
|
-
declare function JmpLocationDetailPage({ slug, siteUrl, components, className, classNames, }: JmpLocationDetailPageProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
54
|
-
|
|
55
|
-
export { type BuildJmpLocationSitemapRoutesOptions, JmpLocationDetailPage, type JmpLocationDetailPageProps, JmpLocationHubPage, type JmpLocationHubPageProps, type JmpLocationPageClassNames, type JmpLocationPageComponents, type JmpLocationSitemapRoute, buildJmpLocationHubMetadata, buildJmpLocationMetadata, buildJmpLocationSitemapRoutes, generateJmpLocationStaticParams };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { n as JmpServerRequestLike } from '../types-BdC3SRH-.cjs';
|
|
2
|
-
export { j as jmpTrackServerPageView } from '../track-page-view-DaNOaIxF.cjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Default middleware matcher string for copy-paste into the client `middleware.ts`.
|
|
6
|
-
* Do **not** spread this into `export const config` — Next.js requires a literal array there.
|
|
7
|
-
*/
|
|
8
|
-
declare const JMP_MIDDLEWARE_MATCHER: readonly ["/((?!_next/static|_next/image|favicon.ico|.*\\.(?:ico|png|jpg|jpeg|gif|webp|svg|webm|mp4|css|js|woff2?|txt|xml)$).*)"];
|
|
9
|
-
|
|
10
|
-
export { JMP_MIDDLEWARE_MATCHER };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { n as JmpServerRequestLike } from '../types-BdC3SRH-.js';
|
|
2
|
-
export { j as jmpTrackServerPageView } from '../track-page-view-BPWGGoMr.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Default middleware matcher string for copy-paste into the client `middleware.ts`.
|
|
6
|
-
* Do **not** spread this into `export const config` — Next.js requires a literal array there.
|
|
7
|
-
*/
|
|
8
|
-
declare const JMP_MIDDLEWARE_MATCHER: readonly ["/((?!_next/static|_next/image|favicon.ico|.*\\.(?:ico|png|jpg|jpeg|gif|webp|svg|webm|mp4|css|js|woff2?|txt|xml)$).*)"];
|
|
9
|
-
|
|
10
|
-
export { JMP_MIDDLEWARE_MATCHER };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
type JmpSiteRootServerProps = {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
deferUntilConsent?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* When true (default), loads GA4 from the dashboard site profile when
|
|
9
|
-
* `NEXT_PUBLIC_GA_MEASUREMENT_ID` is unset. Set false to use env-only GA.
|
|
10
|
-
*/
|
|
11
|
-
gaFromPortal?: boolean;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Server Component: reads `process.env` at request time and passes config into the
|
|
15
|
-
* client tracker. Use this in `app/layout.tsx` instead of importing `JmpSiteRoot`
|
|
16
|
-
* directly — fixes missing `POST /api/events` when env vars are not inlined into
|
|
17
|
-
* client chunks (common on Vercel if vars were added after build or mis-scoped).
|
|
18
|
-
*
|
|
19
|
-
* Optional GA4: set `ga_measurement_id` in jmp-dashboard (Content → Contact, admin)
|
|
20
|
-
* or `NEXT_PUBLIC_GA_MEASUREMENT_ID` on the client site (env wins).
|
|
21
|
-
*/
|
|
22
|
-
declare function JmpSiteRootServer({ children, deferUntilConsent, gaFromPortal, }: JmpSiteRootServerProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
23
|
-
|
|
24
|
-
export { JmpSiteRootServer, type JmpSiteRootServerProps };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
type JmpSiteRootServerProps = {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
deferUntilConsent?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* When true (default), loads GA4 from the dashboard site profile when
|
|
9
|
-
* `NEXT_PUBLIC_GA_MEASUREMENT_ID` is unset. Set false to use env-only GA.
|
|
10
|
-
*/
|
|
11
|
-
gaFromPortal?: boolean;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Server Component: reads `process.env` at request time and passes config into the
|
|
15
|
-
* client tracker. Use this in `app/layout.tsx` instead of importing `JmpSiteRoot`
|
|
16
|
-
* directly — fixes missing `POST /api/events` when env vars are not inlined into
|
|
17
|
-
* client chunks (common on Vercel if vars were added after build or mis-scoped).
|
|
18
|
-
*
|
|
19
|
-
* Optional GA4: set `ga_measurement_id` in jmp-dashboard (Content → Contact, admin)
|
|
20
|
-
* or `NEXT_PUBLIC_GA_MEASUREMENT_ID` on the client site (env wins).
|
|
21
|
-
*/
|
|
22
|
-
declare function JmpSiteRootServer({ children, deferUntilConsent, gaFromPortal, }: JmpSiteRootServerProps): Promise<react_jsx_runtime.JSX.Element>;
|
|
23
|
-
|
|
24
|
-
export { JmpSiteRootServer, type JmpSiteRootServerProps };
|