@burdenoff/fe-libs 2026.803.7 → 2026.804.2
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/shared/components/SSORedirectGuard.d.ts +1 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -1
- package/dist/shared/components/SSORedirectGuard.js +1 -1
- package/dist/shared/motion/MotionList.d.ts.map +1 -1
- package/dist/shared/pages/LegalPage.d.ts +2 -2
- package/dist/shared/pages/LegalPage.js +5 -5
- package/dist/shared/providers/AppShellProvider.d.ts +10 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +80 -78
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts.map +1 -1
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.js +12 -12
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -1
- package/dist/shared/tours/TourTrigger.js +3 -2
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -1
- package/dist/shared/tours/routeCatalog.js +126 -0
- package/dist/shared/tours/toursContext/route.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/route.js +2 -2
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @module @burdenoff/fe-libs/shared/components/SSORedirectGuard
|
|
13
13
|
*/
|
|
14
|
+
export declare function clearSSORelayAttempt(): void;
|
|
14
15
|
export declare function shouldSkipSSORedirect(returnPath?: string): boolean;
|
|
15
16
|
export declare function hasRecentSSORedirectAttempt(relayOrigin: string, returnTo: string): boolean;
|
|
16
17
|
export declare function markSSORedirectAttempt(relayOrigin: string, returnTo: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSORedirectGuard.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SSORedirectGuard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;
|
|
1
|
+
{"version":3,"file":"SSORedirectGuard.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SSORedirectGuard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAsDH,wBAAgB,oBAAoB,IAAI,IAAI,CAM3C;AA2CD,wBAAgB,qBAAqB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAGlE;AAED,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAM1F;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAiBlF;AAmDD,wBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA4CpE;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,IAAI,OAAO,CA6BlC;AAED;;;;;;;;;GASG;AACH,wBAAsB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAyC9F;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CA6B1C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,4CAEjC"}
|
|
@@ -145,4 +145,4 @@ function D() {
|
|
|
145
145
|
return /* @__PURE__ */ c(s, { label: "Signing you in…" });
|
|
146
146
|
}
|
|
147
147
|
//#endregion
|
|
148
|
-
export { D as SSORedirectSpinner, T as checkRemoteSLO, w as checkSLO, E as clearLocalAuthState, C as getSSORedirectUrl, b as hasRecentSSORedirectAttempt, x as markSSORedirectAttempt, y as shouldSkipSSORedirect };
|
|
148
|
+
export { D as SSORedirectSpinner, T as checkRemoteSLO, w as checkSLO, E as clearLocalAuthState, g as clearSSORelayAttempt, C as getSSORedirectUrl, b as hasRecentSSORedirectAttempt, x as markSSORedirectAttempt, y as shouldSkipSSORedirect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotionList.d.ts","sourceRoot":"","sources":["../../../src/shared/motion/MotionList.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"MotionList.d.ts","sourceRoot":"","sources":["../../../src/shared/motion/MotionList.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC9B,MAAM,OAAO,CAAC;AAIf,UAAU,sBAAsB;IAC9B,iEAAiE;IACjE,WAAW,EAAE,OAAO,CAAC;CACtB;AAMD;;;GAGG;AACH,wBAAgB,oBAAoB,2BAEnC;AAED,UAAU,eAAgB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAC/F,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAOD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,OAAc,EACd,EAAE,EAAE,SAAiB,EACrB,WAAkB,EAClB,GAAG,IAAI,EACR,EAAE,eAAe,2CAqBjB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LegalPage Component
|
|
3
3
|
*
|
|
4
|
-
* Renders
|
|
5
|
-
* by fetching from the global gateway's
|
|
4
|
+
* Renders public content pages (privacy policy, terms of service, etc.)
|
|
5
|
+
* by fetching from the global gateway's publicContentPage query.
|
|
6
6
|
* Template variables are replaced server-side with product-specific values.
|
|
7
7
|
*/
|
|
8
8
|
export interface LegalPageProps {
|
|
@@ -8,8 +8,8 @@ import { gql as u } from "@apollo/client";
|
|
|
8
8
|
import { Link as d, useParams as f } from "react-router";
|
|
9
9
|
//#region src/shared/pages/LegalPage.tsx
|
|
10
10
|
var p = u`
|
|
11
|
-
query
|
|
12
|
-
|
|
11
|
+
query GetPublicContentPage($slug: String!, $productId: String!) {
|
|
12
|
+
publicResolvedContentPage(slug: $slug, productId: $productId) {
|
|
13
13
|
id
|
|
14
14
|
slug
|
|
15
15
|
title
|
|
@@ -44,9 +44,9 @@ function h({ productId: u, slugMap: h = m, homeRoute: g = "/", homeLabel: _ = "B
|
|
|
44
44
|
fetchPolicy: "network-only"
|
|
45
45
|
});
|
|
46
46
|
if (e) return;
|
|
47
|
-
if (t.data?.
|
|
48
|
-
x(t.data.
|
|
49
|
-
let e = t.data.
|
|
47
|
+
if (t.data?.publicResolvedContentPage) {
|
|
48
|
+
x(t.data.publicResolvedContentPage);
|
|
49
|
+
let e = t.data.publicResolvedContentPage;
|
|
50
50
|
document.title = e.seoTitle || e.title || "Legal";
|
|
51
51
|
} else T("Page not found");
|
|
52
52
|
} catch (t) {
|
|
@@ -54,6 +54,16 @@ export interface AppShellConfig {
|
|
|
54
54
|
toasterPosition?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
55
55
|
/** Frontend telemetry sinks. MFEs emit to the shell event bus only. */
|
|
56
56
|
observability?: AppShellObservabilityConfig;
|
|
57
|
+
/**
|
|
58
|
+
* Maps a pathname to the tour `pageId` used when looking up tours.
|
|
59
|
+
*
|
|
60
|
+
* Tours are matched on `productId` + `moduleId` + `pageId`, and by default the
|
|
61
|
+
* `pageId` is the first path segment. Shells whose routes nest below that
|
|
62
|
+
* segment (FluidGrids serves its list, builder and runs screens all under
|
|
63
|
+
* `/workflows/…`) need this to tell those screens apart. Return `undefined`
|
|
64
|
+
* for any path the shell does not want to name, and the default applies.
|
|
65
|
+
*/
|
|
66
|
+
tourPageIdFromPath?: (pathname: string) => string | undefined;
|
|
57
67
|
}
|
|
58
68
|
export interface AppShellObservabilityConfig {
|
|
59
69
|
enabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1F,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAY/B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAQL,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;AA2BnB,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IAEpB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sBAAsB;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+CAA+C;IAC/C,aAAa,EAAE,MAAM,CAAC;IAEtB,4BAA4B;IAC5B,WAAW,EAAE;QACX,gBAAgB,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IAEF,gCAAgC;IAChC,UAAU,CAAC,EAAE;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;IAEF,+CAA+C;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,oFAAoF;IACpF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,UAAU,CAAC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;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC;AA+WD,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,wBAAwB,GAC5B,2BAA2B,CAiC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAyfD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,qBAAqB,2CAgV3F"}
|
|
@@ -4,22 +4,22 @@ import { BACKEND_ERROR_EVENT as n, CONNECTION_STATUS_EVENT as r, dispatchBackend
|
|
|
4
4
|
import { SESSION_EXPIRED_EVENT as s, graphqlFetch as c } from "../graphql/fetch.js";
|
|
5
5
|
import { attemptTokenRefresh as l, clearAuthSessionStorage as u, getSharedTokenRefreshRefs as d, isAuthNetworkError as f } from "../utils/authErrorHandling.js";
|
|
6
6
|
import { AppShellContextProvider as p } from "./shell/AppShellContext.js";
|
|
7
|
-
import { AuthProvider as
|
|
8
|
-
import { ActiveContextProvider as
|
|
9
|
-
import { LogManager as
|
|
10
|
-
import { ConsoleTransport as
|
|
11
|
-
import { ThemeProvider as
|
|
12
|
-
import { ErrorFallback as
|
|
13
|
-
import { m as
|
|
14
|
-
import { PWAInstallBanner as
|
|
15
|
-
import { FeatureFlagsProvider as
|
|
16
|
-
import { FeatureFlagProvider as
|
|
17
|
-
import { GlobalUiProvider as
|
|
18
|
-
import { ShellUiProvider as
|
|
19
|
-
import { ContextManagerProvider as
|
|
20
|
-
import { AuthTokenProvider as
|
|
21
|
-
import { MultiGatewayProvider as
|
|
22
|
-
import { G as
|
|
7
|
+
import { AuthProvider as m } from "./shell/AuthProvider.js";
|
|
8
|
+
import { ActiveContextProvider as ee } from "./shell/ActiveContextProvider.js";
|
|
9
|
+
import { LogManager as te } from "../logger/LogManager.js";
|
|
10
|
+
import { ConsoleTransport as ne } from "../logger/ConsoleTransport.js";
|
|
11
|
+
import { ThemeProvider as h } from "./shell/ThemeProvider.js";
|
|
12
|
+
import { ErrorFallback as re } from "../components/ErrorFallback.js";
|
|
13
|
+
import { m as g } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
|
|
14
|
+
import { PWAInstallBanner as _ } from "../components/PWAInstallBanner.js";
|
|
15
|
+
import { FeatureFlagsProvider as v } from "./shell/FeatureFlagsProvider.js";
|
|
16
|
+
import { FeatureFlagProvider as y } from "../feature-flags/FeatureFlagProvider.js";
|
|
17
|
+
import { GlobalUiProvider as b } from "./shell/GlobalUiProvider.js";
|
|
18
|
+
import { ShellUiProvider as x } from "./shell/ShellUiProvider.js";
|
|
19
|
+
import { ContextManagerProvider as ie } from "./shell/ContextManagerProvider.js";
|
|
20
|
+
import { AuthTokenProvider as ae } from "./shell/AuthTokenProvider.js";
|
|
21
|
+
import { MultiGatewayProvider as oe } from "./shell/MultiGatewayProvider.js";
|
|
22
|
+
import { G as se, Q as S, j as C, w } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
23
23
|
import { ProfileI18nBridge as T } from "./shell/ProfileI18nBridge.js";
|
|
24
24
|
import { ProfileGeographyBridge as E } from "./shell/ProfileGeographyBridge.js";
|
|
25
25
|
import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
|
|
@@ -172,7 +172,7 @@ function ve({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
172
172
|
}),
|
|
173
173
|
t && /* @__PURE__ */ W(R, {
|
|
174
174
|
fallback: null,
|
|
175
|
-
children: /* @__PURE__ */ W(
|
|
175
|
+
children: /* @__PURE__ */ W(_, {
|
|
176
176
|
productName: r,
|
|
177
177
|
brandInitial: i
|
|
178
178
|
})
|
|
@@ -230,17 +230,18 @@ function xe() {
|
|
|
230
230
|
};
|
|
231
231
|
}, []), null;
|
|
232
232
|
}
|
|
233
|
-
function Se({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, defaultMode: i, defaultDensity: a, defaultTypography: o, defaultGlass: s, productName: c, brandInitial: l, enablePWA: u, toasterPosition: d }) {
|
|
234
|
-
let
|
|
233
|
+
function Se({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, defaultMode: i, defaultDensity: a, defaultTypography: o, defaultGlass: s, productName: c, brandInitial: l, enablePWA: u, toasterPosition: d, tourPageIdFromPath: f }) {
|
|
234
|
+
let p = K();
|
|
235
235
|
N();
|
|
236
|
-
let
|
|
236
|
+
let m = /* @__PURE__ */ W(E, { children: /* @__PURE__ */ W(v, { children: /* @__PURE__ */ W(y, {
|
|
237
237
|
workspaceId: null,
|
|
238
238
|
gateway: "global",
|
|
239
239
|
defaultEnabled: !0,
|
|
240
|
-
children: /* @__PURE__ */ W(
|
|
240
|
+
children: /* @__PURE__ */ W(b, { children: /* @__PURE__ */ W(x, { children: /* @__PURE__ */ W(g, {
|
|
241
241
|
fallback: null,
|
|
242
242
|
children: /* @__PURE__ */ W(F, {
|
|
243
|
-
disabled:
|
|
243
|
+
disabled: p.pathname.startsWith("/devportal") || p.pathname.startsWith("/organizations") || p.pathname.startsWith("/workspaces"),
|
|
244
|
+
getPageIdFromPath: f,
|
|
244
245
|
children: /* @__PURE__ */ W(ve, {
|
|
245
246
|
enablePWA: u,
|
|
246
247
|
toasterPosition: d,
|
|
@@ -251,7 +252,7 @@ function Se({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
251
252
|
})
|
|
252
253
|
}) }) })
|
|
253
254
|
}) }) });
|
|
254
|
-
return /* @__PURE__ */ G(
|
|
255
|
+
return /* @__PURE__ */ G(h, {
|
|
255
256
|
defaultBrand: r,
|
|
256
257
|
defaultMode: i,
|
|
257
258
|
defaultDensity: a,
|
|
@@ -260,7 +261,7 @@ function Se({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
260
261
|
children: [/* @__PURE__ */ W(Ce, {}), /* @__PURE__ */ W(T, {
|
|
261
262
|
i18nProductId: t,
|
|
262
263
|
fallbackTranslations: n,
|
|
263
|
-
children:
|
|
264
|
+
children: m
|
|
264
265
|
})]
|
|
265
266
|
});
|
|
266
267
|
}
|
|
@@ -331,7 +332,7 @@ function Te() {
|
|
|
331
332
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
332
333
|
};
|
|
333
334
|
}, [e]), B(() => {
|
|
334
|
-
|
|
335
|
+
se((t) => {
|
|
335
336
|
e.emit("perf.lcp.measured", {
|
|
336
337
|
metric: "LCP",
|
|
337
338
|
value: t.value,
|
|
@@ -382,19 +383,19 @@ function Ee({ config: e, productSlug: t }) {
|
|
|
382
383
|
] })] });
|
|
383
384
|
}
|
|
384
385
|
function De({ config: n, children: r, clearAuthStore: a }) {
|
|
385
|
-
let { productName: o, productSlug:
|
|
386
|
+
let { productName: o, productSlug: h = o.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: se = "default", defaultMode: S, defaultDensity: C, defaultTypography: w, defaultGlass: T, enablePWA: E = !0, brandInitial: D = o.charAt(0), defaultGateway: O = "workspace", enableSubscriptions: k = !0, fallbackTranslations: A, queryClientOptions: j, toasterPosition: M = "bottom-right", observability: N, tourPageIdFromPath: P } = n, F = N ?? Q(h, _e()), I = V(() => ({
|
|
386
387
|
productName: o,
|
|
387
|
-
productSlug:
|
|
388
|
+
productSlug: h,
|
|
388
389
|
brandInitial: D,
|
|
389
|
-
tagline:
|
|
390
|
-
domain:
|
|
390
|
+
tagline: _,
|
|
391
|
+
domain: v
|
|
391
392
|
}), [
|
|
392
393
|
o,
|
|
393
|
-
|
|
394
|
+
h,
|
|
394
395
|
D,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
]),
|
|
396
|
+
_,
|
|
397
|
+
v
|
|
398
|
+
]), L = H(!1), R = H(!!x?.url), U = z((t) => {
|
|
398
399
|
if (!t?.force && (() => {
|
|
399
400
|
try {
|
|
400
401
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -404,25 +405,25 @@ function De({ config: n, children: r, clearAuthStore: a }) {
|
|
|
404
405
|
} catch {
|
|
405
406
|
return !1;
|
|
406
407
|
}
|
|
407
|
-
})() ||
|
|
408
|
-
|
|
408
|
+
})() || R.current || L.current) return;
|
|
409
|
+
L.current = !0, u(a);
|
|
409
410
|
let n = `${window.location.pathname}${window.location.search}`, r = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(n)}`, i = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
|
|
410
411
|
if (window.location.pathname.startsWith("/auth/") || e(window.location.pathname) || i) {
|
|
411
|
-
|
|
412
|
+
L.current = !1;
|
|
412
413
|
return;
|
|
413
414
|
}
|
|
414
415
|
window.location.replace(r);
|
|
415
|
-
}, [a]),
|
|
416
|
-
globalBaseUrl:
|
|
416
|
+
}, [a]), K = V(() => ({
|
|
417
|
+
globalBaseUrl: b.globalBaseUrl,
|
|
417
418
|
...d()
|
|
418
|
-
}), [
|
|
419
|
-
window.location.pathname.startsWith("/auth/") || await
|
|
420
|
-
}, [
|
|
421
|
-
f(e) ? await
|
|
422
|
-
}, [
|
|
419
|
+
}), [b.globalBaseUrl]), q = z(async () => l(K), [K]), J = z(async () => {
|
|
420
|
+
window.location.pathname.startsWith("/auth/") || await q() || U({ force: !0 });
|
|
421
|
+
}, [q, U]), Y = z(async (e) => {
|
|
422
|
+
f(e) ? await q() || U({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
423
|
+
}, [q, U]), X = z(async (e) => {
|
|
423
424
|
let t = await c({
|
|
424
425
|
gateway: "global",
|
|
425
|
-
baseUrl:
|
|
426
|
+
baseUrl: b.globalBaseUrl,
|
|
426
427
|
authToken: "",
|
|
427
428
|
query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
|
|
428
429
|
variables: { token: e }
|
|
@@ -434,7 +435,7 @@ function De({ config: n, children: r, clearAuthStore: a }) {
|
|
|
434
435
|
refreshToken: n.refreshToken,
|
|
435
436
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
436
437
|
};
|
|
437
|
-
}, [
|
|
438
|
+
}, [b.globalBaseUrl]), Z = z(() => t("organization"), []), me = V(() => {
|
|
438
439
|
let e = new fe({
|
|
439
440
|
queryCache: new de({ onError: (e) => {
|
|
440
441
|
i(e);
|
|
@@ -457,58 +458,58 @@ function De({ config: n, children: r, clearAuthStore: a }) {
|
|
|
457
458
|
}, [j]);
|
|
458
459
|
return B(() => {
|
|
459
460
|
let e = () => {
|
|
460
|
-
|
|
461
|
+
U({ force: !0 });
|
|
461
462
|
};
|
|
462
463
|
return window.addEventListener(s, e), () => {
|
|
463
464
|
window.removeEventListener(s, e);
|
|
464
465
|
};
|
|
465
|
-
}, [
|
|
466
|
-
let e =
|
|
467
|
-
e.getLogger("shell") || e.getLogger("shell").addTransport(new
|
|
466
|
+
}, [U]), B(() => {
|
|
467
|
+
let e = te.getInstance();
|
|
468
|
+
e.getLogger("shell") || e.getLogger("shell").addTransport(new ne());
|
|
468
469
|
}, []), /* @__PURE__ */ W(p, {
|
|
469
|
-
value:
|
|
470
|
+
value: I,
|
|
470
471
|
children: /* @__PURE__ */ W(ce, {
|
|
471
|
-
appName:
|
|
472
|
-
appVersion:
|
|
473
|
-
appEnv:
|
|
474
|
-
sourceMfe:
|
|
475
|
-
children: /* @__PURE__ */ W(
|
|
476
|
-
FallbackComponent:
|
|
472
|
+
appName: h,
|
|
473
|
+
appVersion: F.appVersion,
|
|
474
|
+
appEnv: F.appEnv,
|
|
475
|
+
sourceMfe: h,
|
|
476
|
+
children: /* @__PURE__ */ W(g, {
|
|
477
|
+
FallbackComponent: re,
|
|
477
478
|
children: /* @__PURE__ */ G(le, { children: [/* @__PURE__ */ W(Ee, {
|
|
478
|
-
config:
|
|
479
|
-
productSlug:
|
|
479
|
+
config: F,
|
|
480
|
+
productSlug: h
|
|
480
481
|
}), /* @__PURE__ */ W(pe, {
|
|
481
|
-
client:
|
|
482
|
-
children: /* @__PURE__ */ W(
|
|
483
|
-
workspaceBaseUrl:
|
|
484
|
-
globalBaseUrl:
|
|
485
|
-
organizationId:
|
|
486
|
-
productSlug:
|
|
482
|
+
client: me,
|
|
483
|
+
children: /* @__PURE__ */ W(ae, { children: /* @__PURE__ */ W(oe, {
|
|
484
|
+
workspaceBaseUrl: b.workspaceBaseUrl,
|
|
485
|
+
globalBaseUrl: b.globalBaseUrl,
|
|
486
|
+
organizationId: Z,
|
|
487
|
+
productSlug: h,
|
|
487
488
|
defaultGateway: O,
|
|
488
489
|
enableSubscriptions: k,
|
|
489
|
-
onAuthError:
|
|
490
|
-
onNetworkError:
|
|
491
|
-
onRefreshToken:
|
|
492
|
-
children: /* @__PURE__ */ W(
|
|
493
|
-
bridgeUrl:
|
|
494
|
-
bridgeAllowedOrigins:
|
|
495
|
-
bridgeDebug:
|
|
496
|
-
onRefreshToken:
|
|
490
|
+
onAuthError: J,
|
|
491
|
+
onNetworkError: Y,
|
|
492
|
+
onRefreshToken: q,
|
|
493
|
+
children: /* @__PURE__ */ W(m, {
|
|
494
|
+
bridgeUrl: x?.url,
|
|
495
|
+
bridgeAllowedOrigins: x?.allowedOrigins,
|
|
496
|
+
bridgeDebug: x?.debug,
|
|
497
|
+
onRefreshToken: X,
|
|
497
498
|
onBridgeReady: () => {
|
|
498
|
-
|
|
499
|
+
R.current = !1;
|
|
499
500
|
},
|
|
500
501
|
onSessionExpiringSoon: () => {
|
|
501
502
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
502
503
|
},
|
|
503
504
|
onTokenExpired: () => {
|
|
504
|
-
|
|
505
|
+
U();
|
|
505
506
|
},
|
|
506
|
-
children: /* @__PURE__ */ W(
|
|
507
|
+
children: /* @__PURE__ */ W(ee, {
|
|
507
508
|
syncToUrl: !0,
|
|
508
|
-
children: /* @__PURE__ */ W(
|
|
509
|
-
i18nProductId:
|
|
509
|
+
children: /* @__PURE__ */ W(ie, { children: /* @__PURE__ */ W(Se, {
|
|
510
|
+
i18nProductId: y,
|
|
510
511
|
fallbackTranslations: A,
|
|
511
|
-
defaultBrand:
|
|
512
|
+
defaultBrand: se,
|
|
512
513
|
defaultMode: S,
|
|
513
514
|
defaultDensity: C,
|
|
514
515
|
defaultTypography: w,
|
|
@@ -517,6 +518,7 @@ function De({ config: n, children: r, clearAuthStore: a }) {
|
|
|
517
518
|
brandInitial: D,
|
|
518
519
|
enablePWA: E,
|
|
519
520
|
toasterPosition: M,
|
|
521
|
+
tourPageIdFromPath: P,
|
|
520
522
|
children: r
|
|
521
523
|
}) })
|
|
522
524
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridgeStateSync.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/shell/authProvider/bridgeStateSync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAQjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAE3E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAChB,WAAW,EAAE,CAiCf;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"bridgeStateSync.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/shell/authProvider/bridgeStateSync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAQjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAE3E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAChB,WAAW,EAAE,CAiCf;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAwC/E"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PROFILE_STORAGE_CHANGE_EVENT as e, getProfiles as t, setActiveProfileId as n, setProfileTokens as r, setProfileUser as i, setProfileWorkspaceToken as a, setProfiles as o } from "../ProfileStorageManager.js";
|
|
2
|
-
import { clearLocalAuthState as s } from "../../../components/SSORedirectGuard.js";
|
|
2
|
+
import { clearLocalAuthState as s, clearSSORelayAttempt as c } from "../../../components/SSORedirectGuard.js";
|
|
3
3
|
//#region src/shared/providers/shell/authProvider/bridgeStateSync.ts
|
|
4
|
-
function
|
|
4
|
+
function l(e) {
|
|
5
5
|
return e.trigger;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function u(e, t, n) {
|
|
8
8
|
let r = (Array.isArray(e.profiles) ? e.profiles : []).map((e) => {
|
|
9
9
|
let t = typeof e.id == "string" ? e.id : null, n = typeof e.email == "string" ? e.email : null;
|
|
10
10
|
return !t || !n ? null : {
|
|
@@ -23,14 +23,14 @@ function l(e, t, n) {
|
|
|
23
23
|
lastLogin: (/* @__PURE__ */ new Date()).toISOString()
|
|
24
24
|
}];
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
let
|
|
28
|
-
if (
|
|
29
|
-
if (!
|
|
30
|
-
let
|
|
31
|
-
for (let e of t())
|
|
32
|
-
for (let e of
|
|
33
|
-
return o(Array.from(
|
|
26
|
+
function d(d) {
|
|
27
|
+
let f = l(d);
|
|
28
|
+
if (f === "logout" || f === "logout_all") return s(), !0;
|
|
29
|
+
if (!d.activeProfileId || !d.user || !d.tokens) return !1;
|
|
30
|
+
let p = d.activeProfileId, m = d.user, { workspaceToken: h, ...g } = d.tokens, _ = /* @__PURE__ */ new Map();
|
|
31
|
+
for (let e of t()) _.set(e.id, e);
|
|
32
|
+
for (let e of u(d, p, m)) _.set(e.id, e);
|
|
33
|
+
return o(Array.from(_.values())), i(p, m), r(p, g), a(p, h ?? null), n(p), c(), window.dispatchEvent(new Event(e)), !0;
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
export {
|
|
36
|
+
export { d as syncBridgeStateToProfileStorage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TourTrigger.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTrigger.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AAWxB,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,OAAO,CAQT;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAIpB;AAED,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEvB,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,OAAO,GACnB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"TourTrigger.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTrigger.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AAWxB,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,OAAO,CAQT;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAIpB;AAED,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEvB,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,OAAO,GACnB,sBAAsB,CAgBxB;AAED,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,8FAA8F;IAC9F,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAQD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAE,gBAAqB,2CAM7D"}
|
|
@@ -20,11 +20,12 @@ function T(e, t) {
|
|
|
20
20
|
if (n) return a(t) === a(n) ? void 0 : n;
|
|
21
21
|
}
|
|
22
22
|
function E(e, t, n, r) {
|
|
23
|
+
if (i(e, n)) return { type: "play" };
|
|
23
24
|
let a = T(e, t);
|
|
24
|
-
return a
|
|
25
|
+
return a && r ? {
|
|
25
26
|
type: "navigate",
|
|
26
27
|
targetPath: a
|
|
27
|
-
} : { type: "ignore" }
|
|
28
|
+
} : { type: "ignore" };
|
|
28
29
|
}
|
|
29
30
|
function D({ actions: e } = {}) {
|
|
30
31
|
return v() ? /* @__PURE__ */ g(O, { actions: e }) : /* @__PURE__ */ g(k, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routeCatalog.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/routeCatalog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,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,IAAI,GAAG,SAAS,GACnC,qBAAqB,EAAE,CAQzB;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,qBAAqB,EAAE,CAezB;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAClC,mBAAmB,EAAE,CAWvB;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,iBAAiB,GACtB,MAAM,GAAG,SAAS,CAyBpB;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAyBT;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,kBAAkB,GAC1B,MAAM,CAKR"}
|
|
@@ -368,6 +368,33 @@ var e = {
|
|
|
368
368
|
isModuleHome: !0
|
|
369
369
|
}
|
|
370
370
|
],
|
|
371
|
+
fluidgrids: [
|
|
372
|
+
{
|
|
373
|
+
productId: "fluidgrids",
|
|
374
|
+
moduleId: "workflows",
|
|
375
|
+
moduleLabel: "Workflows",
|
|
376
|
+
pageId: "list",
|
|
377
|
+
pageLabel: "My Workflows",
|
|
378
|
+
path: "/workflows/list",
|
|
379
|
+
isModuleHome: !0
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
productId: "fluidgrids",
|
|
383
|
+
moduleId: "workflows",
|
|
384
|
+
moduleLabel: "Workflows",
|
|
385
|
+
pageId: "builder",
|
|
386
|
+
pageLabel: "Workflow Builder",
|
|
387
|
+
path: "/workflows/workflow"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
productId: "fluidgrids",
|
|
391
|
+
moduleId: "workflows",
|
|
392
|
+
moduleLabel: "Workflows",
|
|
393
|
+
pageId: "runs",
|
|
394
|
+
pageLabel: "Runs",
|
|
395
|
+
path: "/workflows/runs"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
371
398
|
buildmyiq: [
|
|
372
399
|
{
|
|
373
400
|
productId: "buildmyiq",
|
|
@@ -720,6 +747,105 @@ var e = {
|
|
|
720
747
|
path: "/collabkin/timeline",
|
|
721
748
|
isModuleHome: !0
|
|
722
749
|
}
|
|
750
|
+
],
|
|
751
|
+
intelwatchtower: [
|
|
752
|
+
{
|
|
753
|
+
productId: "intelwatchtower",
|
|
754
|
+
moduleId: "intelwatchtower",
|
|
755
|
+
moduleLabel: "IntelWatchtower",
|
|
756
|
+
pageId: "home",
|
|
757
|
+
pageLabel: "Overview",
|
|
758
|
+
path: "/intelwatchtower",
|
|
759
|
+
isModuleHome: !0
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
productId: "intelwatchtower",
|
|
763
|
+
moduleId: "intelwatchtower",
|
|
764
|
+
moduleLabel: "IntelWatchtower",
|
|
765
|
+
pageId: "sources",
|
|
766
|
+
pageLabel: "Sources",
|
|
767
|
+
path: "/intelwatchtower/sources"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
productId: "intelwatchtower",
|
|
771
|
+
moduleId: "intelwatchtower",
|
|
772
|
+
moduleLabel: "IntelWatchtower",
|
|
773
|
+
pageId: "requirements",
|
|
774
|
+
pageLabel: "Requirements",
|
|
775
|
+
path: "/intelwatchtower/requirements"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
productId: "intelwatchtower",
|
|
779
|
+
moduleId: "intelwatchtower",
|
|
780
|
+
moduleLabel: "IntelWatchtower",
|
|
781
|
+
pageId: "entities",
|
|
782
|
+
pageLabel: "Entities",
|
|
783
|
+
path: "/intelwatchtower/entities"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
productId: "intelwatchtower",
|
|
787
|
+
moduleId: "intelwatchtower",
|
|
788
|
+
moduleLabel: "IntelWatchtower",
|
|
789
|
+
pageId: "alerts",
|
|
790
|
+
pageLabel: "Alerts",
|
|
791
|
+
path: "/intelwatchtower/alerts"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
productId: "intelwatchtower",
|
|
795
|
+
moduleId: "intelwatchtower",
|
|
796
|
+
moduleLabel: "IntelWatchtower",
|
|
797
|
+
pageId: "missions",
|
|
798
|
+
pageLabel: "Missions",
|
|
799
|
+
path: "/intelwatchtower/missions"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
productId: "intelwatchtower",
|
|
803
|
+
moduleId: "intelwatchtower",
|
|
804
|
+
moduleLabel: "IntelWatchtower",
|
|
805
|
+
pageId: "tasks",
|
|
806
|
+
pageLabel: "Tasks",
|
|
807
|
+
path: "/intelwatchtower/tasks"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
productId: "intelwatchtower",
|
|
811
|
+
moduleId: "intelwatchtower",
|
|
812
|
+
moduleLabel: "IntelWatchtower",
|
|
813
|
+
pageId: "cases",
|
|
814
|
+
pageLabel: "Cases",
|
|
815
|
+
path: "/intelwatchtower/cases"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
productId: "intelwatchtower",
|
|
819
|
+
moduleId: "intelwatchtower",
|
|
820
|
+
moduleLabel: "IntelWatchtower",
|
|
821
|
+
pageId: "reports",
|
|
822
|
+
pageLabel: "Reports",
|
|
823
|
+
path: "/intelwatchtower/reports"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
productId: "intelwatchtower",
|
|
827
|
+
moduleId: "intelwatchtower",
|
|
828
|
+
moduleLabel: "IntelWatchtower",
|
|
829
|
+
pageId: "indicators",
|
|
830
|
+
pageLabel: "Indicators",
|
|
831
|
+
path: "/intelwatchtower/indicators"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
productId: "intelwatchtower",
|
|
835
|
+
moduleId: "intelwatchtower",
|
|
836
|
+
moduleLabel: "IntelWatchtower",
|
|
837
|
+
pageId: "observations",
|
|
838
|
+
pageLabel: "Observations",
|
|
839
|
+
path: "/intelwatchtower/observations"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
productId: "intelwatchtower",
|
|
843
|
+
moduleId: "intelwatchtower",
|
|
844
|
+
moduleLabel: "IntelWatchtower",
|
|
845
|
+
pageId: "cop",
|
|
846
|
+
pageLabel: "Common Operating Picture",
|
|
847
|
+
path: "/intelwatchtower/cop"
|
|
848
|
+
}
|
|
723
849
|
]
|
|
724
850
|
}, t = /* @__PURE__ */ new Map();
|
|
725
851
|
function n(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/route.ts"],"names":[],"mappings":"AAMA,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,GAC3D;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/route.ts"],"names":[],"mappings":"AAMA,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,GAC3D;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAyBxC"}
|
|
@@ -4,13 +4,13 @@ function e(e, t) {
|
|
|
4
4
|
return n.length === 0 ? t : n[0];
|
|
5
5
|
}
|
|
6
6
|
function t(t, n, r, i) {
|
|
7
|
-
let a = t.split("/").filter(Boolean), o = i
|
|
7
|
+
let a = t.split("/").filter(Boolean), o = i?.(t) ?? e(t, r);
|
|
8
8
|
return a.length === 0 ? {
|
|
9
9
|
moduleId: n,
|
|
10
10
|
pageId: o
|
|
11
11
|
} : a[0] === n ? {
|
|
12
12
|
moduleId: n,
|
|
13
|
-
pageId: a[1] ?? r
|
|
13
|
+
pageId: i?.(t) ?? a[1] ?? r
|
|
14
14
|
} : {
|
|
15
15
|
moduleId: a[0],
|
|
16
16
|
pageId: o
|