@burdenoff/fe-libs 2026.1003.3 → 2026.1004.1
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 +2 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +153 -147
- package/dist/shared/tours/TourPermissionsBoundary.d.ts +7 -0
- package/dist/shared/tours/TourPermissionsBoundary.d.ts.map +1 -0
- package/dist/shared/tours/TourPermissionsBoundary.js +17 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +1 -1
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -1
- package/dist/shared/tours/TourPlayerProvider.js +52 -51
- package/dist/shared/tours/TourTrigger.js +30 -26
- package/dist/shared/tours/ToursContext.d.ts +1 -0
- package/dist/shared/tours/ToursContext.d.ts.map +1 -1
- package/dist/shared/tours/ToursContext.js +123 -120
- package/dist/shared/tours/permissions.d.ts +9 -0
- package/dist/shared/tours/permissions.d.ts.map +1 -0
- package/dist/shared/tours/permissions.js +7 -0
- package/dist/shared/tours/progress.d.ts +6 -1
- package/dist/shared/tours/progress.d.ts.map +1 -1
- package/dist/shared/tours/progress.js +11 -1
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -1
- package/dist/shared/tours/routeCatalog.js +51 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts +2 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts.map +1 -1
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.js +32 -31
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts +2 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts.map +1 -1
- package/dist/shared/tours/tourTrigger/MobileTourSheet.js +42 -41
- package/dist/shared/tours/tourTrigger/TourLoadError.d.ts +4 -0
- package/dist/shared/tours/tourTrigger/TourLoadError.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourLoadError.js +21 -0
- package/dist/shared/tours/toursContext/gql.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/gql.js +2 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/useTourMutations.js +96 -59
- package/dist/shared/tours/types.d.ts +4 -0
- package/dist/shared/tours/types.d.ts.map +1 -1
- package/dist/shared/tours/useTourPlayer.d.ts +1 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -1
- package/dist/shared/tours/useTourPlayer.js +152 -141
- package/dist/shared-tours.js +9 -9
- package/dist/shared.js +9 -9
- package/package.json +2 -2
|
@@ -77,6 +77,8 @@ export interface AppShellConfig {
|
|
|
77
77
|
* for any path the shell does not want to name, and the default applies.
|
|
78
78
|
*/
|
|
79
79
|
tourPageIdFromPath?: (pathname: string) => string | undefined;
|
|
80
|
+
/** Resolve workspace RBAC above the tour runtime for permission-targeted tours. */
|
|
81
|
+
enableWorkspaceTourPermissions?: boolean;
|
|
80
82
|
}
|
|
81
83
|
export interface AppShellObservabilityConfig {
|
|
82
84
|
enabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAcf,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK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SESSION_EXPIRED_EVENT as c, graphqlFetch as l } from "../graphql/fetch.js";
|
|
6
6
|
import { attemptTokenRefresh as u, clearAuthSessionStorage as d, getSharedTokenRefreshRefs as f, isAuthNetworkError as p } from "../utils/authErrorHandling.js";
|
|
7
7
|
import { AppShellContextProvider as m } from "./shell/AppShellContext.js";
|
|
8
|
-
import { AuthProvider as
|
|
9
|
-
import { ActiveContextProvider as
|
|
10
|
-
import { LogManager as
|
|
11
|
-
import { ConsoleTransport as
|
|
12
|
-
import { ThemeProvider as
|
|
13
|
-
import { ErrorFallback as
|
|
14
|
-
import { m as
|
|
15
|
-
import { PWAInstallBanner as
|
|
16
|
-
import { FeatureFlagsProvider as
|
|
17
|
-
import { FeatureFlagProvider as
|
|
18
|
-
import { GlobalUiProvider as
|
|
19
|
-
import { ShellUiProvider as
|
|
20
|
-
import { ContextManagerProvider as
|
|
21
|
-
import { AuthTokenProvider as
|
|
22
|
-
import { MultiGatewayProvider as
|
|
23
|
-
import { G as
|
|
24
|
-
import { ProfileI18nBridge as
|
|
8
|
+
import { AuthProvider as h } from "./shell/AuthProvider.js";
|
|
9
|
+
import { ActiveContextProvider as ee } from "./shell/ActiveContextProvider.js";
|
|
10
|
+
import { LogManager as te } from "../logger/LogManager.js";
|
|
11
|
+
import { ConsoleTransport as ne } from "../logger/ConsoleTransport.js";
|
|
12
|
+
import { ThemeProvider as g } from "./shell/ThemeProvider.js";
|
|
13
|
+
import { ErrorFallback as re } from "../components/ErrorFallback.js";
|
|
14
|
+
import { m as _ } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
|
|
15
|
+
import { PWAInstallBanner as v } from "../components/PWAInstallBanner.js";
|
|
16
|
+
import { FeatureFlagsProvider as y } from "./shell/FeatureFlagsProvider.js";
|
|
17
|
+
import { FeatureFlagProvider as b } from "../feature-flags/FeatureFlagProvider.js";
|
|
18
|
+
import { GlobalUiProvider as x } from "./shell/GlobalUiProvider.js";
|
|
19
|
+
import { ShellUiProvider as S } from "./shell/ShellUiProvider.js";
|
|
20
|
+
import { ContextManagerProvider as ie } from "./shell/ContextManagerProvider.js";
|
|
21
|
+
import { AuthTokenProvider as ae } from "./shell/AuthTokenProvider.js";
|
|
22
|
+
import { MultiGatewayProvider as oe } from "./shell/MultiGatewayProvider.js";
|
|
23
|
+
import { G as C, Q as w, j as T, w as se } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
24
|
+
import { ProfileI18nBridge as ce } from "./shell/ProfileI18nBridge.js";
|
|
25
25
|
import { ProfileGeographyBridge as E } from "./shell/ProfileGeographyBridge.js";
|
|
26
|
-
import { DesktopUpdateToast as
|
|
27
|
-
import { DevtoolsSink as
|
|
28
|
-
import { BroadcastChannelSink as
|
|
29
|
-
import { BackendAuditSink as
|
|
30
|
-
import { AnalyticsConsentBanner as
|
|
31
|
-
import { OtelBrowserSink as
|
|
32
|
-
import { EventBusProvider as
|
|
33
|
-
import { useReferralAttribution as
|
|
34
|
-
import { usePushDeviceRegistration as
|
|
26
|
+
import { DesktopUpdateToast as le } from "../components/DesktopUpdateToast.js";
|
|
27
|
+
import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
|
|
28
|
+
import { BroadcastChannelSink as O } from "../events/sinks/BroadcastChannelSink.js";
|
|
29
|
+
import { BackendAuditSink as k } from "../events/sinks/BackendAuditSink.js";
|
|
30
|
+
import { AnalyticsConsentBanner as A, RybbitSink as j } from "../events/sinks/RybbitSink.js";
|
|
31
|
+
import { OtelBrowserSink as M } from "../events/sinks/OtelBrowserSink.js";
|
|
32
|
+
import { EventBusProvider as ue, useEventBus as N } from "../../shared-events.js";
|
|
33
|
+
import { useReferralAttribution as P } from "../hooks/useReferralAttribution.js";
|
|
34
|
+
import { usePushDeviceRegistration as F } from "../hooks/usePushDeviceRegistration.js";
|
|
35
|
+
import { TourPermissionsBoundary as I } from "../tours/TourPermissionsBoundary.js";
|
|
35
36
|
import { TourPlayerProvider as L } from "../tours/TourPlayerProvider.js";
|
|
36
37
|
import { ToursProvider as R, useToursContext as z } from "../tours/ToursContext.js";
|
|
37
38
|
import { TourInitializer as B } from "../tours/TourInitializer.js";
|
|
38
39
|
import { Suspense as V, useCallback as H, useEffect as U, useMemo as W, useRef as G } from "react";
|
|
39
40
|
import { Fragment as K, jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
40
|
-
import { BrowserRouter as
|
|
41
|
-
import { Toaster as
|
|
41
|
+
import { BrowserRouter as de, useLocation as Y } from "react-router";
|
|
42
|
+
import { Toaster as X, toast as Z } from "sonner";
|
|
42
43
|
import { MutationCache as fe, QueryCache as pe, QueryClient as me, QueryClientProvider as he } from "@tanstack/react-query";
|
|
43
44
|
//#region src/shared/providers/AppShellProvider.tsx
|
|
44
|
-
var
|
|
45
|
+
var Q = {
|
|
45
46
|
artistrybase: { prod: "cfbecacb6002" },
|
|
46
47
|
atheletebridge: { prod: "c34c6ead7aa8" },
|
|
47
48
|
adaptercloud: {},
|
|
@@ -108,8 +109,8 @@ function Se() {
|
|
|
108
109
|
SSR: !1
|
|
109
110
|
};
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
-
let r = be(n.VITE_DEPLOY_ENV ?? n.MODE), i = xe(n, r), a =
|
|
112
|
+
function Ce(t, n) {
|
|
113
|
+
let r = be(n.VITE_DEPLOY_ENV ?? n.MODE), i = xe(n, r), a = Q[t] ?? Q[e(t)], o = r === "prod" ? a?.prod : a?.nonProd, s = n.VITE_RYBBIT_SITE_ID || o, c = n.VITE_BACKEND_AUDIT_ENDPOINT || (n.PROD ? "/api/fe-events" : void 0);
|
|
113
114
|
return {
|
|
114
115
|
enabled: i,
|
|
115
116
|
appVersion: n.VITE_APP_VERSION || "0.0.0",
|
|
@@ -135,9 +136,10 @@ function Q(t, n) {
|
|
|
135
136
|
}
|
|
136
137
|
};
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = z(),
|
|
139
|
+
function we({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
140
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } = z(), l = H((e, t) => e.steps?.[t], []);
|
|
140
141
|
return /* @__PURE__ */ J(L, {
|
|
142
|
+
scopeKey: c,
|
|
141
143
|
onTourStart: H((e) => {
|
|
142
144
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
143
145
|
}, [s, a]),
|
|
@@ -145,49 +147,49 @@ function Ce({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
145
147
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
146
148
|
}, [s, a]),
|
|
147
149
|
onTourSkip: H((e, t) => {
|
|
148
|
-
let n =
|
|
150
|
+
let n = l(e, t);
|
|
149
151
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
150
152
|
stepId: n?.id,
|
|
151
153
|
stepOrder: n?.stepOrder
|
|
152
154
|
});
|
|
153
155
|
}, [
|
|
154
|
-
|
|
156
|
+
l,
|
|
155
157
|
s,
|
|
156
158
|
a
|
|
157
159
|
]),
|
|
158
160
|
onStepChange: H((e, t) => {
|
|
159
|
-
let n =
|
|
161
|
+
let n = l(e, t);
|
|
160
162
|
n && s("STEP_VIEWED", e.id, {
|
|
161
163
|
stepId: n.id,
|
|
162
164
|
stepOrder: n.stepOrder
|
|
163
165
|
});
|
|
164
|
-
}, [
|
|
166
|
+
}, [l, s]),
|
|
165
167
|
onStepComplete: H((e, t) => {
|
|
166
|
-
let n =
|
|
168
|
+
let n = l(e, t);
|
|
167
169
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
168
170
|
stepId: n.id,
|
|
169
171
|
stepOrder: n.stepOrder
|
|
170
172
|
}));
|
|
171
173
|
}, [
|
|
172
|
-
|
|
174
|
+
l,
|
|
173
175
|
o,
|
|
174
176
|
s
|
|
175
177
|
]),
|
|
176
178
|
children: [
|
|
177
179
|
/* @__PURE__ */ q(B, {}),
|
|
178
180
|
e,
|
|
179
|
-
/* @__PURE__ */ q(
|
|
180
|
-
/* @__PURE__ */ q(
|
|
181
|
-
/* @__PURE__ */ q(
|
|
181
|
+
/* @__PURE__ */ q(Te, {}),
|
|
182
|
+
/* @__PURE__ */ q(De, {}),
|
|
183
|
+
/* @__PURE__ */ q(X, {
|
|
182
184
|
position: n,
|
|
183
185
|
richColors: !0,
|
|
184
186
|
closeButton: !0,
|
|
185
187
|
style: _e
|
|
186
188
|
}),
|
|
187
|
-
/* @__PURE__ */ q(
|
|
189
|
+
/* @__PURE__ */ q(le, {}),
|
|
188
190
|
t && /* @__PURE__ */ q(V, {
|
|
189
191
|
fallback: null,
|
|
190
|
-
children: /* @__PURE__ */ q(
|
|
192
|
+
children: /* @__PURE__ */ q(v, {
|
|
191
193
|
productName: r,
|
|
192
194
|
brandInitial: i
|
|
193
195
|
})
|
|
@@ -195,7 +197,7 @@ function Ce({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
195
197
|
]
|
|
196
198
|
});
|
|
197
199
|
}
|
|
198
|
-
function
|
|
200
|
+
function Te() {
|
|
199
201
|
let e = G(null);
|
|
200
202
|
return U(() => {
|
|
201
203
|
let t = (t) => {
|
|
@@ -206,33 +208,33 @@ function we() {
|
|
|
206
208
|
a?.key === r && i - a.shownAt < ve || (e.current = {
|
|
207
209
|
key: r,
|
|
208
210
|
shownAt: i
|
|
209
|
-
},
|
|
211
|
+
}, Z.error(n.message, { duration: 7e3 }));
|
|
210
212
|
};
|
|
211
213
|
return window.addEventListener(r, t), () => window.removeEventListener(r, t);
|
|
212
214
|
}, []), null;
|
|
213
215
|
}
|
|
214
|
-
var $ = "burdenoff-connection-status",
|
|
215
|
-
function
|
|
216
|
+
var $ = "burdenoff-connection-status", Ee = 1500;
|
|
217
|
+
function De() {
|
|
216
218
|
let e = G(null), t = G(!1);
|
|
217
219
|
return U(() => {
|
|
218
220
|
let n = () => {
|
|
219
|
-
t.current || (t.current = !0,
|
|
221
|
+
t.current || (t.current = !0, Z.error("Connection lost. Trying to reconnect…", {
|
|
220
222
|
id: $,
|
|
221
223
|
duration: Infinity
|
|
222
224
|
}));
|
|
223
225
|
}, r = () => {
|
|
224
226
|
t.current || e.current || (e.current = setTimeout(() => {
|
|
225
227
|
e.current = null, n();
|
|
226
|
-
},
|
|
228
|
+
}, Ee));
|
|
227
229
|
}, a = (n) => {
|
|
228
230
|
if (e.current &&= (clearTimeout(e.current), null), !t.current) {
|
|
229
|
-
|
|
231
|
+
Z.dismiss($);
|
|
230
232
|
return;
|
|
231
233
|
}
|
|
232
|
-
t.current = !1, n ?
|
|
234
|
+
t.current = !1, n ? Z.success("Back online", {
|
|
233
235
|
id: $,
|
|
234
236
|
duration: 2500
|
|
235
|
-
}) :
|
|
237
|
+
}) : Z.dismiss($);
|
|
236
238
|
}, o = (e) => {
|
|
237
239
|
if (!(e instanceof CustomEvent)) return;
|
|
238
240
|
let t = e.detail;
|
|
@@ -245,45 +247,48 @@ function Ee() {
|
|
|
245
247
|
};
|
|
246
248
|
}, []), null;
|
|
247
249
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
250
|
+
function Oe() {
|
|
251
|
+
return F(), null;
|
|
250
252
|
}
|
|
251
|
-
function
|
|
252
|
-
let
|
|
253
|
-
|
|
254
|
-
let
|
|
255
|
-
|
|
256
|
-
gateway: "global",
|
|
257
|
-
defaultEnabled: !0,
|
|
258
|
-
children: /* @__PURE__ */ q(b, { children: /* @__PURE__ */ q(ae, { children: /* @__PURE__ */ q(g, {
|
|
259
|
-
fallback: null,
|
|
260
|
-
children: /* @__PURE__ */ q(R, {
|
|
261
|
-
disabled: p.pathname.startsWith("/devportal") || p.pathname.startsWith("/organizations") || p.pathname.startsWith("/workspaces"),
|
|
262
|
-
getPageIdFromPath: f,
|
|
263
|
-
children: /* @__PURE__ */ J(Ce, {
|
|
264
|
-
enablePWA: u,
|
|
265
|
-
toasterPosition: d,
|
|
266
|
-
productName: c,
|
|
267
|
-
brandInitial: l,
|
|
268
|
-
children: [/* @__PURE__ */ q(De, {}), e]
|
|
269
|
-
})
|
|
270
|
-
})
|
|
271
|
-
}) }) })
|
|
272
|
-
}) }) });
|
|
273
|
-
return /* @__PURE__ */ J(h, {
|
|
253
|
+
function ke({ 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, enableWorkspaceTourPermissions: p }) {
|
|
254
|
+
let m = Y();
|
|
255
|
+
P();
|
|
256
|
+
let h = m.pathname.startsWith("/devportal") || m.pathname.startsWith("/organizations") || m.pathname.startsWith("/workspaces");
|
|
257
|
+
return /* @__PURE__ */ J(g, {
|
|
274
258
|
defaultBrand: r,
|
|
275
259
|
defaultMode: i,
|
|
276
260
|
defaultDensity: a,
|
|
277
261
|
defaultTypography: o,
|
|
278
262
|
defaultGlass: s,
|
|
279
|
-
children: [/* @__PURE__ */ q(
|
|
263
|
+
children: [/* @__PURE__ */ q(Ae, {}), /* @__PURE__ */ q(ce, {
|
|
280
264
|
i18nProductId: t,
|
|
281
265
|
fallbackTranslations: n,
|
|
282
|
-
children:
|
|
266
|
+
children: /* @__PURE__ */ q(E, { children: /* @__PURE__ */ q(y, { children: /* @__PURE__ */ q(b, {
|
|
267
|
+
workspaceId: null,
|
|
268
|
+
gateway: "global",
|
|
269
|
+
defaultEnabled: !0,
|
|
270
|
+
children: /* @__PURE__ */ q(x, { children: /* @__PURE__ */ q(S, { children: /* @__PURE__ */ q(_, {
|
|
271
|
+
fallback: null,
|
|
272
|
+
children: /* @__PURE__ */ q(I, {
|
|
273
|
+
enabled: p && !h,
|
|
274
|
+
children: /* @__PURE__ */ q(R, {
|
|
275
|
+
disabled: h,
|
|
276
|
+
getPageIdFromPath: f,
|
|
277
|
+
children: /* @__PURE__ */ J(we, {
|
|
278
|
+
enablePWA: u,
|
|
279
|
+
toasterPosition: d,
|
|
280
|
+
productName: c,
|
|
281
|
+
brandInitial: l,
|
|
282
|
+
children: [/* @__PURE__ */ q(Oe, {}), e]
|
|
283
|
+
})
|
|
284
|
+
})
|
|
285
|
+
})
|
|
286
|
+
}) }) })
|
|
287
|
+
}) }) })
|
|
283
288
|
})]
|
|
284
289
|
});
|
|
285
290
|
}
|
|
286
|
-
function
|
|
291
|
+
function Ae() {
|
|
287
292
|
let e = Y();
|
|
288
293
|
return U(() => {
|
|
289
294
|
e.hash || requestAnimationFrame(() => {
|
|
@@ -303,7 +308,7 @@ function ke() {
|
|
|
303
308
|
e.hash
|
|
304
309
|
]), null;
|
|
305
310
|
}
|
|
306
|
-
function
|
|
311
|
+
function je(e) {
|
|
307
312
|
if (e instanceof Error) return e.message;
|
|
308
313
|
if (typeof e == "string") return e;
|
|
309
314
|
try {
|
|
@@ -312,8 +317,8 @@ function Ae(e) {
|
|
|
312
317
|
return String(e);
|
|
313
318
|
}
|
|
314
319
|
}
|
|
315
|
-
function
|
|
316
|
-
let e =
|
|
320
|
+
function Me() {
|
|
321
|
+
let e = N(), t = Y(), n = G(void 0), r = G(void 0), i = G(null);
|
|
317
322
|
return U(() => {
|
|
318
323
|
let a = `${t.pathname}${t.search}${t.hash}`;
|
|
319
324
|
if (r.current !== a) return i.current && clearTimeout(i.current), i.current = setTimeout(() => {
|
|
@@ -344,34 +349,34 @@ function je() {
|
|
|
344
349
|
errorName: t.error instanceof Error ? t.error.name : void 0
|
|
345
350
|
});
|
|
346
351
|
}, n = (t) => {
|
|
347
|
-
e.emit("error.unhandledrejection", { reason:
|
|
352
|
+
e.emit("error.unhandledrejection", { reason: je(t.reason) });
|
|
348
353
|
};
|
|
349
354
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
350
355
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
351
356
|
};
|
|
352
357
|
}, [e]), U(() => {
|
|
353
|
-
|
|
358
|
+
C((t) => {
|
|
354
359
|
e.emit("perf.lcp.measured", {
|
|
355
360
|
metric: "LCP",
|
|
356
361
|
value: t.value,
|
|
357
362
|
id: t.id,
|
|
358
363
|
rating: t.rating
|
|
359
364
|
});
|
|
360
|
-
}),
|
|
365
|
+
}), se((t) => {
|
|
361
366
|
e.emit("perf.cls.measured", {
|
|
362
367
|
metric: "CLS",
|
|
363
368
|
value: t.value,
|
|
364
369
|
id: t.id,
|
|
365
370
|
rating: t.rating
|
|
366
371
|
});
|
|
367
|
-
}),
|
|
372
|
+
}), T((t) => {
|
|
368
373
|
e.emit("perf.inp.measured", {
|
|
369
374
|
metric: "INP",
|
|
370
375
|
value: t.value,
|
|
371
376
|
id: t.id,
|
|
372
377
|
rating: t.rating
|
|
373
378
|
});
|
|
374
|
-
}),
|
|
379
|
+
}), w((t) => {
|
|
375
380
|
e.emit("perf.ttfb.measured", {
|
|
376
381
|
metric: "TTFB",
|
|
377
382
|
value: t.value,
|
|
@@ -381,23 +386,23 @@ function je() {
|
|
|
381
386
|
});
|
|
382
387
|
}, [e]), null;
|
|
383
388
|
}
|
|
384
|
-
function
|
|
389
|
+
function Ne({ config: e, productSlug: n, privacyConsent: r, consentRouteDenylist: i }) {
|
|
385
390
|
let { pathname: a } = Y(), o = t(a) || i?.(a) === !0;
|
|
386
391
|
return /* @__PURE__ */ J(K, { children: [
|
|
387
|
-
/* @__PURE__ */ q(
|
|
388
|
-
r && !o ? /* @__PURE__ */ q(
|
|
392
|
+
/* @__PURE__ */ q(Me, {}),
|
|
393
|
+
r && !o ? /* @__PURE__ */ q(A, { productName: n }) : null,
|
|
389
394
|
e.enabled === !1 ? null : /* @__PURE__ */ J(K, { children: [
|
|
390
|
-
e.devtools ? /* @__PURE__ */ q(
|
|
391
|
-
e.broadcast === !1 ? null : /* @__PURE__ */ q(
|
|
392
|
-
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ q(
|
|
393
|
-
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ q(
|
|
395
|
+
e.devtools ? /* @__PURE__ */ q(D, { enabled: !0 }) : null,
|
|
396
|
+
e.broadcast === !1 ? null : /* @__PURE__ */ q(O, {}),
|
|
397
|
+
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ q(k, { endpoint: e.backendAudit.endpoint }) : null,
|
|
398
|
+
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ q(j, {
|
|
394
399
|
siteId: e.rybbit.siteId,
|
|
395
400
|
scriptUrl: e.rybbit.scriptUrl,
|
|
396
401
|
allowlist: e.rybbit.allowlist,
|
|
397
402
|
identifyOn: e.rybbit.identifyOn,
|
|
398
403
|
rename: e.rybbit.rename
|
|
399
404
|
}) : null,
|
|
400
|
-
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ q(
|
|
405
|
+
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ q(M, {
|
|
401
406
|
endpoint: e.otel.endpoint,
|
|
402
407
|
serviceName: e.otel.serviceName ?? `${n}-app`,
|
|
403
408
|
flushInterval: e.otel.flushInterval
|
|
@@ -405,20 +410,20 @@ function Me({ config: e, productSlug: n, privacyConsent: r, consentRouteDenylist
|
|
|
405
410
|
] })
|
|
406
411
|
] });
|
|
407
412
|
}
|
|
408
|
-
function
|
|
409
|
-
let { productName: o, productSlug: s = o.toLowerCase().replace(/\s+/g, ""), tagline:
|
|
413
|
+
function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
414
|
+
let { productName: o, productSlug: s = o.toLowerCase().replace(/\s+/g, ""), tagline: g = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity: w, defaultTypography: T, defaultGlass: se, enablePWA: ce = !0, brandInitial: E = o.charAt(0), defaultGateway: le = "workspace", enableSubscriptions: D = !0, fallbackTranslations: O, queryClientOptions: k, toasterPosition: A = "bottom-right", observability: j, privacyConsent: M = !1, consentRouteDenylist: N, tourPageIdFromPath: P, enableWorkspaceTourPermissions: F = !1 } = e, I = W(() => j ?? Ce(s, Se()), [j, s]), L = W(() => ({
|
|
410
415
|
productName: o,
|
|
411
416
|
productSlug: s,
|
|
412
417
|
brandInitial: E,
|
|
413
|
-
tagline:
|
|
414
|
-
domain:
|
|
418
|
+
tagline: g,
|
|
419
|
+
domain: v
|
|
415
420
|
}), [
|
|
416
421
|
o,
|
|
417
422
|
s,
|
|
418
423
|
E,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
]), R = G(!1), z = G(!!
|
|
424
|
+
g,
|
|
425
|
+
v
|
|
426
|
+
]), R = G(!1), z = G(!!x?.url), B = H((e) => {
|
|
422
427
|
if (!e?.force && (() => {
|
|
423
428
|
try {
|
|
424
429
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -437,16 +442,16 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
437
442
|
}
|
|
438
443
|
window.location.replace(r);
|
|
439
444
|
}, [i]), V = W(() => ({
|
|
440
|
-
globalBaseUrl:
|
|
445
|
+
globalBaseUrl: b.globalBaseUrl,
|
|
441
446
|
...f()
|
|
442
|
-
}), [
|
|
447
|
+
}), [b.globalBaseUrl]), K = H(async () => u(V), [V]), Y = H(async () => {
|
|
443
448
|
window.location.pathname.startsWith("/auth/") || await K() || B({ force: !0 });
|
|
444
|
-
}, [K, B]), de = H(async (e) => {
|
|
445
|
-
p(e) ? await K() || B({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
446
449
|
}, [K, B]), X = H(async (e) => {
|
|
450
|
+
p(e) ? await K() || B({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
451
|
+
}, [K, B]), Z = H(async (e) => {
|
|
447
452
|
let t = await l({
|
|
448
453
|
gateway: "global",
|
|
449
|
-
baseUrl:
|
|
454
|
+
baseUrl: b.globalBaseUrl,
|
|
450
455
|
authToken: "",
|
|
451
456
|
query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
|
|
452
457
|
variables: { token: e }
|
|
@@ -458,7 +463,7 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
458
463
|
refreshToken: n.refreshToken,
|
|
459
464
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
460
465
|
};
|
|
461
|
-
}, [
|
|
466
|
+
}, [b.globalBaseUrl]), Q = H(() => n("organization"), []), ge = W(() => {
|
|
462
467
|
let e = new me({
|
|
463
468
|
queryCache: new pe({ onError: (e) => {
|
|
464
469
|
a(e);
|
|
@@ -472,13 +477,13 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
472
477
|
}
|
|
473
478
|
}),
|
|
474
479
|
defaultOptions: { queries: {
|
|
475
|
-
staleTime:
|
|
476
|
-
retry:
|
|
477
|
-
refetchOnWindowFocus:
|
|
480
|
+
staleTime: k?.staleTime ?? 300 * 1e3,
|
|
481
|
+
retry: k?.retry ?? 2,
|
|
482
|
+
refetchOnWindowFocus: k?.refetchOnWindowFocus ?? !1
|
|
478
483
|
} }
|
|
479
484
|
});
|
|
480
485
|
return e;
|
|
481
|
-
}, [
|
|
486
|
+
}, [k]);
|
|
482
487
|
return U(() => {
|
|
483
488
|
let e = () => {
|
|
484
489
|
B({ force: !0 });
|
|
@@ -487,39 +492,39 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
487
492
|
window.removeEventListener(c, e);
|
|
488
493
|
};
|
|
489
494
|
}, [B]), U(() => {
|
|
490
|
-
let e =
|
|
491
|
-
e.getLogger("shell") || e.getLogger("shell").addTransport(new
|
|
495
|
+
let e = te.getInstance();
|
|
496
|
+
e.getLogger("shell") || e.getLogger("shell").addTransport(new ne());
|
|
492
497
|
}, []), /* @__PURE__ */ q(m, {
|
|
493
498
|
value: L,
|
|
494
|
-
children: /* @__PURE__ */ q(
|
|
499
|
+
children: /* @__PURE__ */ q(ue, {
|
|
495
500
|
appName: s,
|
|
496
501
|
appVersion: I.appVersion,
|
|
497
502
|
appEnv: I.appEnv,
|
|
498
503
|
sourceMfe: s,
|
|
499
|
-
children: /* @__PURE__ */ q(
|
|
500
|
-
FallbackComponent:
|
|
501
|
-
children: /* @__PURE__ */ J(
|
|
504
|
+
children: /* @__PURE__ */ q(_, {
|
|
505
|
+
FallbackComponent: re,
|
|
506
|
+
children: /* @__PURE__ */ J(de, { children: [/* @__PURE__ */ q(Ne, {
|
|
502
507
|
config: I,
|
|
503
508
|
productSlug: s,
|
|
504
|
-
privacyConsent:
|
|
505
|
-
consentRouteDenylist:
|
|
509
|
+
privacyConsent: M,
|
|
510
|
+
consentRouteDenylist: N
|
|
506
511
|
}), /* @__PURE__ */ q(he, {
|
|
507
512
|
client: ge,
|
|
508
|
-
children: /* @__PURE__ */ q(
|
|
509
|
-
workspaceBaseUrl:
|
|
510
|
-
globalBaseUrl:
|
|
511
|
-
organizationId:
|
|
513
|
+
children: /* @__PURE__ */ q(ae, { children: /* @__PURE__ */ q(oe, {
|
|
514
|
+
workspaceBaseUrl: b.workspaceBaseUrl,
|
|
515
|
+
globalBaseUrl: b.globalBaseUrl,
|
|
516
|
+
organizationId: Q,
|
|
512
517
|
productSlug: s,
|
|
513
|
-
defaultGateway:
|
|
514
|
-
enableSubscriptions:
|
|
518
|
+
defaultGateway: le,
|
|
519
|
+
enableSubscriptions: D,
|
|
515
520
|
onAuthError: Y,
|
|
516
|
-
onNetworkError:
|
|
521
|
+
onNetworkError: X,
|
|
517
522
|
onRefreshToken: K,
|
|
518
|
-
children: /* @__PURE__ */ q(
|
|
519
|
-
bridgeUrl:
|
|
520
|
-
bridgeAllowedOrigins:
|
|
521
|
-
bridgeDebug:
|
|
522
|
-
onRefreshToken:
|
|
523
|
+
children: /* @__PURE__ */ q(h, {
|
|
524
|
+
bridgeUrl: x?.url,
|
|
525
|
+
bridgeAllowedOrigins: x?.allowedOrigins,
|
|
526
|
+
bridgeDebug: x?.debug,
|
|
527
|
+
onRefreshToken: Z,
|
|
523
528
|
onBridgeReady: () => {
|
|
524
529
|
z.current = !1;
|
|
525
530
|
},
|
|
@@ -529,21 +534,22 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
529
534
|
onTokenExpired: () => {
|
|
530
535
|
B();
|
|
531
536
|
},
|
|
532
|
-
children: /* @__PURE__ */ q(
|
|
537
|
+
children: /* @__PURE__ */ q(ee, {
|
|
533
538
|
syncToUrl: !0,
|
|
534
|
-
children: /* @__PURE__ */ q(
|
|
535
|
-
i18nProductId:
|
|
536
|
-
fallbackTranslations:
|
|
537
|
-
defaultBrand:
|
|
538
|
-
defaultMode:
|
|
539
|
-
defaultDensity:
|
|
540
|
-
defaultTypography:
|
|
541
|
-
defaultGlass:
|
|
539
|
+
children: /* @__PURE__ */ q(ie, { children: /* @__PURE__ */ q(ke, {
|
|
540
|
+
i18nProductId: y,
|
|
541
|
+
fallbackTranslations: O,
|
|
542
|
+
defaultBrand: S,
|
|
543
|
+
defaultMode: C,
|
|
544
|
+
defaultDensity: w,
|
|
545
|
+
defaultTypography: T,
|
|
546
|
+
defaultGlass: se,
|
|
542
547
|
productName: o,
|
|
543
548
|
brandInitial: E,
|
|
544
|
-
enablePWA:
|
|
545
|
-
toasterPosition:
|
|
546
|
-
tourPageIdFromPath:
|
|
549
|
+
enablePWA: ce,
|
|
550
|
+
toasterPosition: A,
|
|
551
|
+
tourPageIdFromPath: P,
|
|
552
|
+
enableWorkspaceTourPermissions: F,
|
|
547
553
|
children: r
|
|
548
554
|
}) })
|
|
549
555
|
})
|
|
@@ -555,4 +561,4 @@ function Ne({ config: e, children: r, clearAuthStore: i }) {
|
|
|
555
561
|
});
|
|
556
562
|
}
|
|
557
563
|
//#endregion
|
|
558
|
-
export {
|
|
564
|
+
export { Pe as AppShellProvider, Ce as resolveAppShellObservabilityConfig };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Opt-in only: shells without workspace-targeted tours make no extra RBAC requests. */
|
|
3
|
+
export declare function TourPermissionsBoundary({ enabled, children, }: {
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
7
|
+
//# sourceMappingURL=TourPermissionsBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourPermissionsBoundary.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourPermissionsBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,wFAAwF;AACxF,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,QAAQ,GACT,EAAE;IACD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB,2UAEA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useActiveContext as e } from "../providers/shell/ActiveContextProvider.js";
|
|
2
|
+
import { PermissionProvider as t } from "../providers/shell/PermissionProvider.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/shared/tours/TourPermissionsBoundary.tsx
|
|
5
|
+
function r({ children: r }) {
|
|
6
|
+
let { workspaceId: i } = e();
|
|
7
|
+
return /* @__PURE__ */ n(t, {
|
|
8
|
+
scopeId: i ?? null,
|
|
9
|
+
gateway: "workspace",
|
|
10
|
+
children: r
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function i({ enabled: e, children: t }) {
|
|
14
|
+
return e ? /* @__PURE__ */ n(r, { children: t }) : t;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { i as TourPermissionsBoundary };
|
|
@@ -3,7 +3,7 @@ import { TourPlayerContextValue, TourPlayerProviderProps } from './types';
|
|
|
3
3
|
* TourPlayerProvider Component
|
|
4
4
|
* Provides tour player context and renders the tour UI overlay
|
|
5
5
|
*/
|
|
6
|
-
export declare function TourPlayerProvider({ children, onTourStart, onTourComplete, onTourSkip, onStepChange, onStepComplete, zIndex, }: TourPlayerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function TourPlayerProvider({ children, scopeKey, onTourStart, onTourComplete, onTourSkip, onStepChange, onStepComplete, zIndex, }: TourPlayerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
/**
|
|
8
8
|
* Hook to access tour player context
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TourPlayerProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourPlayerProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAK/E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAY,EACZ,cAAc,EACd,MAAa,GACd,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"TourPlayerProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourPlayerProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAK/E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAY,EACZ,cAAc,EACd,MAAa,GACd,EAAE,uBAAuB,2CAyEzB;AAqDD;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,sBAAsB,CAM7D;AAED;;GAEG;AACH,wBAAgB,YAAY,2CAG3B;AAED;;GAEG;AACH,wBAAgB,WAAW,eAG1B;AAED;;GAEG;AACH,wBAAgB,gBAAgB;;;EAG/B"}
|