@burdenoff/fe-libs 2026.804.1 → 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/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/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 +12 -10
- package/dist/shared/tours/toursContext/route.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/route.js +2 -2
- package/package.json +1 -1
|
@@ -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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M,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":"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,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"routeCat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B,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,16 +368,7 @@ var e = {
|
|
|
368
368
|
isModuleHome: !0
|
|
369
369
|
}
|
|
370
370
|
],
|
|
371
|
-
|
|
372
|
-
{
|
|
373
|
-
productId: "buildmyiq",
|
|
374
|
-
moduleId: "dashboard",
|
|
375
|
-
moduleLabel: "Dashboard",
|
|
376
|
-
pageId: "dashboard",
|
|
377
|
-
pageLabel: "Dashboard",
|
|
378
|
-
path: "/dashboard",
|
|
379
|
-
isModuleHome: !0
|
|
380
|
-
},
|
|
371
|
+
fluidgrids: [
|
|
381
372
|
{
|
|
382
373
|
productId: "fluidgrids",
|
|
383
374
|
moduleId: "workflows",
|
|
@@ -402,6 +393,17 @@ var e = {
|
|
|
402
393
|
pageId: "runs",
|
|
403
394
|
pageLabel: "Runs",
|
|
404
395
|
path: "/workflows/runs"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
buildmyiq: [
|
|
399
|
+
{
|
|
400
|
+
productId: "buildmyiq",
|
|
401
|
+
moduleId: "dashboard",
|
|
402
|
+
moduleLabel: "Dashboard",
|
|
403
|
+
pageId: "dashboard",
|
|
404
|
+
pageLabel: "Dashboard",
|
|
405
|
+
path: "/dashboard",
|
|
406
|
+
isModuleHome: !0
|
|
405
407
|
},
|
|
406
408
|
{
|
|
407
409
|
productId: "buildmyiq",
|
|
@@ -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
|