@burdenoff/fe-libs 2026.514.2 → 2026.516.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.
@@ -0,0 +1,228 @@
1
+ //#region src/shared/tours/routeCatalog.ts
2
+ var e = { vibecontrols: [
3
+ {
4
+ productId: "vibecontrols",
5
+ moduleId: "dashboard",
6
+ moduleLabel: "Dashboard",
7
+ pageId: "dashboard",
8
+ pageLabel: "Dashboard",
9
+ path: "/dashboard",
10
+ isModuleHome: !0
11
+ },
12
+ {
13
+ productId: "vibecontrols",
14
+ moduleId: "vibecontrols",
15
+ moduleLabel: "VibeControls",
16
+ pageId: "home",
17
+ pageLabel: "Overview",
18
+ path: "/vibecontrols",
19
+ isModuleHome: !0
20
+ },
21
+ {
22
+ productId: "vibecontrols",
23
+ moduleId: "vibecontrols",
24
+ moduleLabel: "VibeControls",
25
+ pageId: "agents",
26
+ pageLabel: "Targets & Agents",
27
+ path: "/vibecontrols/agents"
28
+ },
29
+ {
30
+ productId: "vibecontrols",
31
+ moduleId: "vibecontrols",
32
+ moduleLabel: "VibeControls",
33
+ pageId: "vibes",
34
+ pageLabel: "Vibes",
35
+ path: "/vibecontrols/vibes"
36
+ },
37
+ {
38
+ productId: "vibecontrols",
39
+ moduleId: "vibecontrols",
40
+ moduleLabel: "VibeControls",
41
+ pageId: "sessions",
42
+ pageLabel: "Sessions",
43
+ path: "/vibecontrols/sessions"
44
+ },
45
+ {
46
+ productId: "vibecontrols",
47
+ moduleId: "vibecontrols",
48
+ moduleLabel: "VibeControls",
49
+ pageId: "ai",
50
+ pageLabel: "AI",
51
+ path: "/vibecontrols/ai"
52
+ },
53
+ {
54
+ productId: "vibecontrols",
55
+ moduleId: "vibecontrols",
56
+ moduleLabel: "VibeControls",
57
+ pageId: "catalogs",
58
+ pageLabel: "Catalogs",
59
+ path: "/vibecontrols/catalogs"
60
+ },
61
+ {
62
+ productId: "vibecontrols",
63
+ moduleId: "vibecontrols",
64
+ moduleLabel: "VibeControls",
65
+ pageId: "components",
66
+ pageLabel: "Components",
67
+ path: "/vibecontrols/components"
68
+ },
69
+ {
70
+ productId: "vibecontrols",
71
+ moduleId: "vibecontrols",
72
+ moduleLabel: "VibeControls",
73
+ pageId: "templates",
74
+ pageLabel: "Templates",
75
+ path: "/vibecontrols/templates"
76
+ },
77
+ {
78
+ productId: "vibecontrols",
79
+ moduleId: "vibecontrols",
80
+ moduleLabel: "VibeControls",
81
+ pageId: "actions",
82
+ pageLabel: "Actions",
83
+ path: "/vibecontrols/actions"
84
+ },
85
+ {
86
+ productId: "vibecontrols",
87
+ moduleId: "vibecontrols",
88
+ moduleLabel: "VibeControls",
89
+ pageId: "vibedeck",
90
+ pageLabel: "Decks",
91
+ path: "/vibecontrols/vibedeck"
92
+ },
93
+ {
94
+ productId: "vibecontrols",
95
+ moduleId: "vibecontrols",
96
+ moduleLabel: "VibeControls",
97
+ pageId: "calendar",
98
+ pageLabel: "Calendar",
99
+ path: "/vibecontrols/calendar"
100
+ },
101
+ {
102
+ productId: "vibecontrols",
103
+ moduleId: "vibecontrols",
104
+ moduleLabel: "VibeControls",
105
+ pageId: "tunnels",
106
+ pageLabel: "Tunnels",
107
+ path: "/vibecontrols/tunnels"
108
+ },
109
+ {
110
+ productId: "vibecontrols",
111
+ moduleId: "vibecontrols",
112
+ moduleLabel: "VibeControls",
113
+ pageId: "analytics",
114
+ pageLabel: "Analytics",
115
+ path: "/vibecontrols/analytics"
116
+ },
117
+ {
118
+ productId: "vibecontrols",
119
+ moduleId: "vibecontrols",
120
+ moduleLabel: "VibeControls",
121
+ pageId: "audit",
122
+ pageLabel: "Audit Log",
123
+ path: "/vibecontrols/audit"
124
+ },
125
+ {
126
+ productId: "vibecontrols",
127
+ moduleId: "vibecontrols",
128
+ moduleLabel: "VibeControls",
129
+ pageId: "health",
130
+ pageLabel: "Health",
131
+ path: "/vibecontrols/health"
132
+ },
133
+ {
134
+ productId: "vibecontrols",
135
+ moduleId: "vibecontrols",
136
+ moduleLabel: "VibeControls",
137
+ pageId: "settings",
138
+ pageLabel: "Settings",
139
+ path: "/vibecontrols/settings"
140
+ },
141
+ {
142
+ productId: "vibecontrols",
143
+ moduleId: "scheduler",
144
+ moduleLabel: "Scheduler",
145
+ pageId: "scheduler",
146
+ pageLabel: "Scheduler",
147
+ path: "/scheduler",
148
+ isModuleHome: !0
149
+ },
150
+ {
151
+ productId: "vibecontrols",
152
+ moduleId: "sandbox",
153
+ moduleLabel: "Sandbox",
154
+ pageId: "sandbox",
155
+ pageLabel: "Sandbox",
156
+ path: "/sandbox",
157
+ isModuleHome: !0
158
+ }
159
+ ] }, t = /* @__PURE__ */ new Map();
160
+ function n(e) {
161
+ return e?.trim() || void 0;
162
+ }
163
+ function r(e) {
164
+ let t = e.split(/[?#]/, 1)[0] || "/";
165
+ return t.length > 1 ? t.replace(/\/+$/, "") : t;
166
+ }
167
+ function i(e, r) {
168
+ let i = n(e);
169
+ if (!i) return () => void 0;
170
+ let a = t.get(i), o = {
171
+ entries: [...r],
172
+ previous: a,
173
+ active: !0
174
+ };
175
+ return t.set(i, o), () => {
176
+ if (o.active = !1, t.get(i) !== o) return;
177
+ let e = o.previous;
178
+ for (; e && !e.active;) e = e.previous;
179
+ if (e) {
180
+ t.set(i, e);
181
+ return;
182
+ }
183
+ t.delete(i);
184
+ };
185
+ }
186
+ function a(r) {
187
+ let i = n(r);
188
+ return i ? [...t.get(i)?.entries ?? e[i] ?? []] : [];
189
+ }
190
+ function o(e) {
191
+ let t = /* @__PURE__ */ new Map();
192
+ for (let n of a(e)) (!t.get(n.moduleId) || n.isModuleHome) && t.set(n.moduleId, {
193
+ moduleId: n.moduleId,
194
+ label: n.moduleLabel,
195
+ path: n.path
196
+ });
197
+ return [...t.values()];
198
+ }
199
+ function s(e, t) {
200
+ let r = n(t);
201
+ return r ? a(e).filter((e) => e.moduleId === r).map((e) => ({
202
+ pageId: e.pageId,
203
+ label: e.pageLabel,
204
+ path: e.path
205
+ })) : [];
206
+ }
207
+ function c(e) {
208
+ let t = n(e.productId), r = n(e.moduleId), i = n(e.pageId);
209
+ if (!t || !r && !i) return;
210
+ let o = a(t);
211
+ if (o.length === 0) return;
212
+ let s = o.find((e) => e.moduleId === r && e.pageId === i);
213
+ if (s) return s.path;
214
+ if (r) {
215
+ let e = o.find((e) => e.moduleId === r && e.isModuleHome);
216
+ return e ? e.path : o.find((e) => e.moduleId === r)?.path;
217
+ }
218
+ return o.find((e) => e.pageId === i)?.path;
219
+ }
220
+ function l(e, t) {
221
+ let r = n(e.productId), i = n(t.productId), a = n(e.moduleId), o = n(t.moduleId), s = n(e.pageId), c = n(t.pageId);
222
+ return !(!r || !i || r !== i || a && a !== o || s && s !== c);
223
+ }
224
+ function u(e, t) {
225
+ return l(e, t) ? n(e.pageId) ? 0 : n(e.moduleId) ? 1 : 2 : 2 ** 53 - 1;
226
+ }
227
+ //#endregion
228
+ export { u as getTourContextRank, a as getTourRouteCatalog, o as getTourRouteModules, s as getTourRoutePages, l as isTourVisibleForContext, r as normalizeTourPath, i as registerTourRouteCatalog, c as resolveTourTargetPath };
@@ -1 +1 @@
1
- {"version":3,"file":"apollo.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/apollo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAQ,MAAM,gBAAgB,CAAC;AAQnE,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,sBAAsB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAMzE;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,yBAAyB,GACjC,YAAY,CAwHd"}
1
+ {"version":3,"file":"apollo.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/apollo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAQ,MAAM,gBAAgB,CAAC;AAYnE,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,sBAAsB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAMzE;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,yBAAyB,GACjC,YAAY,CA8Hd"}
@@ -10,44 +10,44 @@ function c(t) {
10
10
  return n.has("traceparent") || n.set("traceparent", e().traceparent), n;
11
11
  }
12
12
  function l(e) {
13
- let { uri: l, getAuthToken: u, onAuthError: d, onNetworkError: f, cache: p = new n(), retryAttempts: m = 3, retryDelay: h = 1e3 } = e;
14
- return new t({
13
+ let { uri: l, getAuthToken: u, onAuthError: d, onNetworkError: f, cache: p = new n(), retryAttempts: m = 3, retryDelay: h = 1e3 } = e, g = new o({
14
+ delay: {
15
+ initial: h,
16
+ max: h * 4,
17
+ jitter: !0
18
+ },
19
+ attempts: {
20
+ max: m,
21
+ retryIf: (e) => !!e && !e.message.includes("401") && !e.message.includes("403")
22
+ }
23
+ }), _ = a(({ error: e }) => {
24
+ let t = e.errors;
25
+ t ? t.forEach((e) => {
26
+ console.error(`[GraphQL error]: Message: ${e.message}, Location: ${JSON.stringify(e.locations)}, Path: ${e.path}`), (e.extensions?.code === "UNAUTHENTICATED" || e.extensions?.code === "FORBIDDEN") && d?.();
27
+ }) : e && (console.error(`[Network error]: ${e.message}`), f?.(e));
28
+ }), v = s((e, { headers: t }) => {
29
+ let n = u?.();
30
+ console.log("[fe-libs apollo] getAuthToken returned:", n ? n.substring(0, 20) + "..." : "null");
31
+ let r = { headers: {
32
+ ...t,
33
+ ...n ? { authorization: `Bearer ${n}` } : {}
34
+ } };
35
+ return console.log("[fe-libs apollo] Authorization header:", r.headers.authorization ? r.headers.authorization.substring(0, 30) + "..." : "MISSING"), r;
36
+ }), y = fetch, b = ((e, t) => fetch(e, {
37
+ ...t,
38
+ headers: c(t?.headers)
39
+ }));
40
+ return y.preconnect && (b.preconnect = y.preconnect), new t({
15
41
  link: r([
16
- new o({
17
- delay: {
18
- initial: h,
19
- max: h * 4,
20
- jitter: !0
21
- },
22
- attempts: {
23
- max: m,
24
- retryIf: (e) => !!e && !e.message.includes("401") && !e.message.includes("403")
25
- }
26
- }),
27
- a(({ error: e }) => {
28
- let t = e.errors;
29
- t ? t.forEach((e) => {
30
- console.error(`[GraphQL error]: Message: ${e.message}, Location: ${JSON.stringify(e.locations)}, Path: ${e.path}`), (e.extensions?.code === "UNAUTHENTICATED" || e.extensions?.code === "FORBIDDEN") && d?.();
31
- }) : e && (console.error(`[Network error]: ${e.message}`), f?.(e));
32
- }),
33
- s((e, { headers: t }) => {
34
- let n = u?.();
35
- console.log("[fe-libs apollo] getAuthToken returned:", n ? n.substring(0, 20) + "..." : "null");
36
- let r = { headers: {
37
- ...t,
38
- ...n ? { authorization: `Bearer ${n}` } : {}
39
- } };
40
- return console.log("[fe-libs apollo] Authorization header:", r.headers.authorization ? r.headers.authorization.substring(0, 30) + "..." : "MISSING"), r;
41
- }),
42
+ g,
43
+ _,
44
+ v,
42
45
  new i({
43
46
  uri: l,
44
47
  credentials: "include",
45
48
  batchMax: 50,
46
49
  batchInterval: 100,
47
- fetch: (e, t) => fetch(e, {
48
- ...t,
49
- headers: c(t?.headers)
50
- })
50
+ fetch: b
51
51
  })
52
52
  ]),
53
53
  cache: p,
@@ -1 +1 @@
1
- {"version":3,"file":"gatewayFetchRewrite.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/gatewayFetchRewrite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,KAAK,EAAE,YAAY,CAAC;CACrB;AA4JD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,kBAAkB,EAAE,EACpC,aAAa,CAAC,EAAE,YAAY,GAC3B,YAAY,CAad;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAiIpE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,SAAyB,GAAG,IAAI,CAQtE"}
1
+ {"version":3,"file":"gatewayFetchRewrite.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/gatewayFetchRewrite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,KAAK,EAAE,YAAY,CAAC;CACrB;AAgKD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,kBAAkB,EAAE,EACpC,aAAa,CAAC,EAAE,YAAY,GAC3B,YAAY,CAad;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAwIpE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,SAAyB,GAAG,IAAI,CAQtE"}
@@ -109,8 +109,7 @@ function y(e) {
109
109
  });
110
110
  } catch {}
111
111
  return c;
112
- };
113
- globalThis.fetch = (e, t) => {
112
+ }, f = r, v = ((e, t) => {
114
113
  if (e == null) return r(e, t);
115
114
  if (e instanceof Request) {
116
115
  let n = u(e.url), r = new Request(n, e);
@@ -118,7 +117,8 @@ function y(e) {
118
117
  }
119
118
  let n = typeof e == "string" ? e : e.toString();
120
119
  return d(new Request(u(n), t));
121
- };
120
+ });
121
+ f.preconnect && (v.preconnect = f.preconnect), globalThis.fetch = v;
122
122
  }
123
123
  function b(e = "VITE_VERBOSE_CONSOLE") {
124
124
  ({
@@ -4,7 +4,9 @@ import { TourSpotlight as r } from "./shared/tours/TourSpotlight.js";
4
4
  import { TourTooltip as i } from "./shared/tours/TourTooltip.js";
5
5
  import { TourPlayerProvider as a, useIsTourPlaying as o, useStartTour as s, useStopTour as c, useTourPlayerContext as l } from "./shared/tours/TourPlayerProvider.js";
6
6
  import { TourPlayer as u, TourTriggerButton as d, usePlayTour as f } from "./shared/tours/TourPlayer.js";
7
- import { ToursProvider as p, useAutoStartTour as m, useSafeToursContext as h, useTours as g, useToursContext as _ } from "./shared/tours/ToursContext.js";
8
- import { TourTrigger as v } from "./shared/tours/TourTrigger.js";
9
- import { TourInitializer as y } from "./shared/tours/TourInitializer.js";
10
- export { y as TourInitializer, u as TourPlayer, a as TourPlayerProvider, r as TourSpotlight, i as TourTooltip, v as TourTrigger, d as TourTriggerButton, p as ToursProvider, e as detectDeviceType, t as getResponsiveSelector, m as useAutoStartTour, o as useIsTourPlaying, f as usePlayTour, h as useSafeToursContext, s as useStartTour, c as useStopTour, n as useTourPlayer, l as useTourPlayerContext, g as useTours, _ as useToursContext };
7
+ import { getTourContextRank as p, getTourRouteCatalog as m, getTourRouteModules as h, getTourRoutePages as g, isTourVisibleForContext as _, normalizeTourPath as v, registerTourRouteCatalog as y, resolveTourTargetPath as b } from "./shared/tours/routeCatalog.js";
8
+ import { withTourProgressStatus as x } from "./shared/tours/progress.js";
9
+ import { ToursProvider as S, useAutoStartTour as C, useSafeToursContext as w, useTours as T, useToursContext as E } from "./shared/tours/ToursContext.js";
10
+ import { TourTrigger as D } from "./shared/tours/TourTrigger.js";
11
+ import { TourInitializer as O } from "./shared/tours/TourInitializer.js";
12
+ export { O as TourInitializer, u as TourPlayer, a as TourPlayerProvider, r as TourSpotlight, i as TourTooltip, D as TourTrigger, d as TourTriggerButton, S as ToursProvider, e as detectDeviceType, t as getResponsiveSelector, p as getTourContextRank, m as getTourRouteCatalog, h as getTourRouteModules, g as getTourRoutePages, _ as isTourVisibleForContext, v as normalizeTourPath, y as registerTourRouteCatalog, b as resolveTourTargetPath, C as useAutoStartTour, o as useIsTourPlaying, f as usePlayTour, w as useSafeToursContext, s as useStartTour, c as useStopTour, n as useTourPlayer, l as useTourPlayerContext, T as useTours, E as useToursContext, x as withTourProgressStatus };
package/dist/shared.js CHANGED
@@ -80,24 +80,26 @@ import { TourSpotlight as Yn } from "./shared/tours/TourSpotlight.js";
80
80
  import { TourTooltip as Xn } from "./shared/tours/TourTooltip.js";
81
81
  import { TourPlayerProvider as Zn, useIsTourPlaying as Qn, useStartTour as $n, useStopTour as er, useTourPlayerContext as tr } from "./shared/tours/TourPlayerProvider.js";
82
82
  import { TourPlayer as nr, TourTriggerButton as rr, usePlayTour as ir } from "./shared/tours/TourPlayer.js";
83
- import { ToursProvider as ar, useAutoStartTour as or, useSafeToursContext as sr, useTours as cr, useToursContext as lr } from "./shared/tours/ToursContext.js";
84
- import { TourTrigger as ur } from "./shared/tours/TourTrigger.js";
85
- import { TourInitializer as dr } from "./shared/tours/TourInitializer.js";
83
+ import { getTourContextRank as ar, getTourRouteCatalog as or, getTourRouteModules as sr, getTourRoutePages as cr, isTourVisibleForContext as lr, normalizeTourPath as ur, registerTourRouteCatalog as dr, resolveTourTargetPath as fr } from "./shared/tours/routeCatalog.js";
84
+ import { withTourProgressStatus as pr } from "./shared/tours/progress.js";
85
+ import { ToursProvider as mr, useAutoStartTour as hr, useSafeToursContext as gr, useTours as _r, useToursContext as vr } from "./shared/tours/ToursContext.js";
86
+ import { TourTrigger as yr } from "./shared/tours/TourTrigger.js";
87
+ import { TourInitializer as br } from "./shared/tours/TourInitializer.js";
86
88
  import "./shared-tours.js";
87
- import { AppShellProvider as fr, resolveAppShellObservabilityConfig as pr } from "./shared/providers/AppShellProvider.js";
88
- import { MicrofrontendProvider as mr } from "./shared-providers.js";
89
- import { getNativeBridge as hr } from "./shared/native/bridge.js";
90
- import { getPlatform as gr, isAndroid as _r, isIOS as vr, isNative as yr, isWeb as br } from "./shared/native/platform.js";
91
- import { nativeConfirm as xr, nativeCopyText as Sr, nativeImpact as Cr, nativeNotify as wr, nativeOpenUrl as Tr, nativeShare as Er, nativeToast as Dr } from "./shared/native/consumers.js";
92
- import { useNativePlatform as Or } from "./shared/native/hooks/useNativePlatform.js";
93
- import { useSafeArea as kr } from "./shared/native/hooks/useSafeArea.js";
94
- import { useNativeKeyboard as Ar } from "./shared/native/hooks/useNativeKeyboard.js";
95
- import { useAppState as jr } from "./shared/native/hooks/useAppState.js";
96
- import { useDeviceInfo as Mr } from "./shared/native/hooks/useDeviceInfo.js";
97
- import { useHaptics as Nr } from "./shared/native/hooks/useHaptics.js";
98
- import { useStatusBar as Pr } from "./shared/native/hooks/useStatusBar.js";
89
+ import { AppShellProvider as xr, resolveAppShellObservabilityConfig as Sr } from "./shared/providers/AppShellProvider.js";
90
+ import { MicrofrontendProvider as Cr } from "./shared-providers.js";
91
+ import { getNativeBridge as wr } from "./shared/native/bridge.js";
92
+ import { getPlatform as Tr, isAndroid as Er, isIOS as Dr, isNative as Or, isWeb as kr } from "./shared/native/platform.js";
93
+ import { nativeConfirm as Ar, nativeCopyText as jr, nativeImpact as Mr, nativeNotify as Nr, nativeOpenUrl as Pr, nativeShare as Fr, nativeToast as Ir } from "./shared/native/consumers.js";
94
+ import { useNativePlatform as Lr } from "./shared/native/hooks/useNativePlatform.js";
95
+ import { useSafeArea as Rr } from "./shared/native/hooks/useSafeArea.js";
96
+ import { useNativeKeyboard as zr } from "./shared/native/hooks/useNativeKeyboard.js";
97
+ import { useAppState as Br } from "./shared/native/hooks/useAppState.js";
98
+ import { useDeviceInfo as Vr } from "./shared/native/hooks/useDeviceInfo.js";
99
+ import { useHaptics as Hr } from "./shared/native/hooks/useHaptics.js";
100
+ import { useStatusBar as Ur } from "./shared/native/hooks/useStatusBar.js";
99
101
  import "./shared-native.js";
100
102
  //#region src/shared/index.ts
101
- var Fr = "1.0.0";
103
+ var Wr = "1.0.0";
102
104
  //#endregion
103
- export { vt as AccessDenied, be as ApolloClient, xe as ApolloProvider, Ot as AppErrorBoundary, Je as AppInitializer, fr as AppShellProvider, dn as BREAKPOINTS, $t as BackendAuditSink, Qt as BroadcastChannelSink, U as COMMON_SHELL_LESS_ROUTES, Tt as ConditionalShell, tt as ConsoleTransport, Ft as ContextConversationWidget, Y as DEFAULT_PAGE_SIZE, W as DEFAULT_SHELL_CONFIG, Zt as DevtoolsSink, ft as ErrorBoundary, bt as ErrorFallback, nn as EventBusProvider, Fr as FE_SHARED_VERSION, kt as FeatureFlagProvider, Pt as FeatureGate, X as GATEWAYS, Pn as GLOBAL_SHORTCUT_CATEGORIES, he as GatewayProvider, Se as InMemoryCache, Yt as KeyboardHelpDialogWrapper, xt as LoadingFallback, Ze as LogLevel, $e as LogManager, Qe as Logger, kn as MODIFIER_KEYS, Wn as MicrofrontendContext, wt as MicrofrontendErrorBoundary, mr as MicrofrontendProvider, tn as OtelBrowserSink, An as PLATFORM_TYPES, z as PRODUCTS, B as PRODUCT_URLS, Dt as PWAInstallBanner, St as PageLoadingFallback, ht as PermissionButton, yt as PermissionDenied, gt as PermissionGate, _t as PermissionLink, st as QUOTA_EXHAUSTED_CODE, Vn as QUOTA_EXHAUSTED_EVENT, Xt as QuotaMeter, pt as RequireAuth, mt as RequireGuest, en as RybbitSink, le as SSELink, Ue as SSORedirectSpinner, Ct as SectionLoadingFallback, dr as TourInitializer, nr as TourPlayer, Zn as TourPlayerProvider, Yn as TourSpotlight, Xn as TourTooltip, ur as TourTrigger, rr as TourTriggerButton, ar as ToursProvider, t as alertTokens, ke as attemptTokenRefresh, ct as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, We as checkRemoteSLO, Ge as checkSLO, Ae as clearAuthSessionStorage, Ke as clearLocalAuthState, Fe as clearSSoCookie, Ie as clearShellSsoCookies, nt as clearUserContext, dt as cn, e as createApolloClient, rn as createEventBus, Fn as createGlobalShortcuts, ue as createGraphQLClient, at as createProfileScopedStorage, Kn as detectDeviceType, It as detectPlatform, Hn as dispatchQuotaExhausted, lt as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, Lt as formatKeyCombo, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, Rt as getDisplayKeysForPlatform, Z as getGatewayConfig, Q as getGatewayUrl, de as getGlobalClient, In as getGlobalShortcutsByCategory, $ as getGraphQLEndpoint, hr as getNativeBridge, gr as getPlatform, V as getProductUrl, H as getProductsWithUrls, ot as getProfileScopedKey, a as getProgressTokens, qn as getResponsiveSelector, qe as getSSORedirectUrl, Le as getSSoCookie, G as getShellConfig, zt as getShortcutLabel, o as getStatusBadgeTokens, s as getStatusTokens, ne as getStoredAuthToken, re as getStoredLocale, ie as getStoredOrganizationId, ae as getStoredWorkspaceId, oe as getStoredWorkspaceToken, c as getTrendTokens, fe as getWorkspaceClient, ee as getWorkspaceTokenPayload, Ce as gql, se as graphqlFetch, je as hasAuthGraphQLErrors, pe as initializeAppClients, rt as initializeLogger, F as installGatewayFetchRewrite, _r as isAndroid, Me as isAuthGraphQLError, Ne as isAuthNetworkError, M as isChunkLoadError, vr as isIOS, Bt as isMac, Vt as isMobileDevice, yr as isNative, ut as isQuotaExhaustedError, Re as isSharedSsoCookieDomain, K as isShellLessRoute, Ht as isTabletDevice, ze as isTrustedSsoOrigin, br as isWeb, te as isWorkspaceTokenValidForContext, N as lazyWithRetry, et as logManager, Ut as matchesKeyCombo, Ln as mergeShortcuts, xr as nativeConfirm, Sr as nativeCopyText, Cr as nativeImpact, wr as nativeNotify, Tr as nativeOpenUrl, Er as nativeShare, Dr as nativeToast, Wt as normalizeKey, Gt as normalizePlatformCombo, Kt as parseKeyCombo, D as pluralize, l as progressTokens, Be as readShellSsoCookie, Pe as redirectToLogin, me as resetAppClients, pr as resolveAppShellObservabilityConfig, R as resolveAuthBridgeConfig, I as resolveGatewayBases, ce as resolveGatewayUrl, P as resolveGatewayUrls, Ve as setSSoCookie, He as setShellSsoCookies, it as setUserContext, qt as shouldEnableKeyboardShortcuts, Jt as shouldIgnoreShortcut, q as shouldShowBreadcrumb, J as shouldShowSidebar, O as slugify, u as statusTokens, L as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, we as useApolloClient, jr as useAppState, Dn as useAsync, On as useAsyncImmediate, or as useAutoStartTour, fn as useBreakpoint, wn as useConditionalToggle, vn as useCopyToClipboard, cn as useDebounce, Mr as useDeviceInfo, an as useEvent, on as useEventBus, sn as useEventEmitter, jt as useFeatureFlag, Mt as useFeatureFlagDetails, Nt as useFeatureFlagValue, At as useFeatureFlags, ge as useGateway, _e as useGatewayClient, Nr as useHaptics, zn as useHasAnimated, Mn as useHotkeys, Qn as useIsTourPlaying, gn as useKeyPress, _n as useKeyboardShortcut, jn as useKeyboardShortcuts, Te as useLazyQuery, yn as useLocalStorage, Rn as useLogger, un as useMediaQuery, Gn as useMicrofrontendContext, pn as useMobileBreakpoint, Ee as useMutation, Ar as useNativeKeyboard, Or as useNativePlatform, mn as useOnClickOutside, hn as useOnClickOutsideWithRef, Et as usePWA, ir as usePlayTour, xn as usePrevious, Sn as usePreviousDistinct, Cn as usePreviousHistory, De as useQuery, Un as useQuotaErrorToast, Bn as useReferralAttribution, Ye as useRegistryHelpers, kr as useSafeArea, ve as useSafeGateway, ye as useSafeGatewayClient, sr as useSafeToursContext, bn as useSessionStorage, Xe as useShellNavigate, Nn as useShortcutHelp, $n as useStartTour, Pr as useStatusBar, er as useStopTour, Oe as useSubscription, ln as useThrottle, Tn as useToggle, En as useToggleObject, Jn as useTourPlayer, tr as useTourPlayerContext, cr as useTours, lr as useToursContext };
105
+ export { vt as AccessDenied, be as ApolloClient, xe as ApolloProvider, Ot as AppErrorBoundary, Je as AppInitializer, xr as AppShellProvider, dn as BREAKPOINTS, $t as BackendAuditSink, Qt as BroadcastChannelSink, U as COMMON_SHELL_LESS_ROUTES, Tt as ConditionalShell, tt as ConsoleTransport, Ft as ContextConversationWidget, Y as DEFAULT_PAGE_SIZE, W as DEFAULT_SHELL_CONFIG, Zt as DevtoolsSink, ft as ErrorBoundary, bt as ErrorFallback, nn as EventBusProvider, Wr as FE_SHARED_VERSION, kt as FeatureFlagProvider, Pt as FeatureGate, X as GATEWAYS, Pn as GLOBAL_SHORTCUT_CATEGORIES, he as GatewayProvider, Se as InMemoryCache, Yt as KeyboardHelpDialogWrapper, xt as LoadingFallback, Ze as LogLevel, $e as LogManager, Qe as Logger, kn as MODIFIER_KEYS, Wn as MicrofrontendContext, wt as MicrofrontendErrorBoundary, Cr as MicrofrontendProvider, tn as OtelBrowserSink, An as PLATFORM_TYPES, z as PRODUCTS, B as PRODUCT_URLS, Dt as PWAInstallBanner, St as PageLoadingFallback, ht as PermissionButton, yt as PermissionDenied, gt as PermissionGate, _t as PermissionLink, st as QUOTA_EXHAUSTED_CODE, Vn as QUOTA_EXHAUSTED_EVENT, Xt as QuotaMeter, pt as RequireAuth, mt as RequireGuest, en as RybbitSink, le as SSELink, Ue as SSORedirectSpinner, Ct as SectionLoadingFallback, br as TourInitializer, nr as TourPlayer, Zn as TourPlayerProvider, Yn as TourSpotlight, Xn as TourTooltip, yr as TourTrigger, rr as TourTriggerButton, mr as ToursProvider, t as alertTokens, ke as attemptTokenRefresh, ct as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, We as checkRemoteSLO, Ge as checkSLO, Ae as clearAuthSessionStorage, Ke as clearLocalAuthState, Fe as clearSSoCookie, Ie as clearShellSsoCookies, nt as clearUserContext, dt as cn, e as createApolloClient, rn as createEventBus, Fn as createGlobalShortcuts, ue as createGraphQLClient, at as createProfileScopedStorage, Kn as detectDeviceType, It as detectPlatform, Hn as dispatchQuotaExhausted, lt as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, Lt as formatKeyCombo, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, Rt as getDisplayKeysForPlatform, Z as getGatewayConfig, Q as getGatewayUrl, de as getGlobalClient, In as getGlobalShortcutsByCategory, $ as getGraphQLEndpoint, wr as getNativeBridge, Tr as getPlatform, V as getProductUrl, H as getProductsWithUrls, ot as getProfileScopedKey, a as getProgressTokens, qn as getResponsiveSelector, qe as getSSORedirectUrl, Le as getSSoCookie, G as getShellConfig, zt as getShortcutLabel, o as getStatusBadgeTokens, s as getStatusTokens, ne as getStoredAuthToken, re as getStoredLocale, ie as getStoredOrganizationId, ae as getStoredWorkspaceId, oe as getStoredWorkspaceToken, ar as getTourContextRank, or as getTourRouteCatalog, sr as getTourRouteModules, cr as getTourRoutePages, c as getTrendTokens, fe as getWorkspaceClient, ee as getWorkspaceTokenPayload, Ce as gql, se as graphqlFetch, je as hasAuthGraphQLErrors, pe as initializeAppClients, rt as initializeLogger, F as installGatewayFetchRewrite, Er as isAndroid, Me as isAuthGraphQLError, Ne as isAuthNetworkError, M as isChunkLoadError, Dr as isIOS, Bt as isMac, Vt as isMobileDevice, Or as isNative, ut as isQuotaExhaustedError, Re as isSharedSsoCookieDomain, K as isShellLessRoute, Ht as isTabletDevice, lr as isTourVisibleForContext, ze as isTrustedSsoOrigin, kr as isWeb, te as isWorkspaceTokenValidForContext, N as lazyWithRetry, et as logManager, Ut as matchesKeyCombo, Ln as mergeShortcuts, Ar as nativeConfirm, jr as nativeCopyText, Mr as nativeImpact, Nr as nativeNotify, Pr as nativeOpenUrl, Fr as nativeShare, Ir as nativeToast, Wt as normalizeKey, Gt as normalizePlatformCombo, ur as normalizeTourPath, Kt as parseKeyCombo, D as pluralize, l as progressTokens, Be as readShellSsoCookie, Pe as redirectToLogin, dr as registerTourRouteCatalog, me as resetAppClients, Sr as resolveAppShellObservabilityConfig, R as resolveAuthBridgeConfig, I as resolveGatewayBases, ce as resolveGatewayUrl, P as resolveGatewayUrls, fr as resolveTourTargetPath, Ve as setSSoCookie, He as setShellSsoCookies, it as setUserContext, qt as shouldEnableKeyboardShortcuts, Jt as shouldIgnoreShortcut, q as shouldShowBreadcrumb, J as shouldShowSidebar, O as slugify, u as statusTokens, L as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, we as useApolloClient, Br as useAppState, Dn as useAsync, On as useAsyncImmediate, hr as useAutoStartTour, fn as useBreakpoint, wn as useConditionalToggle, vn as useCopyToClipboard, cn as useDebounce, Vr as useDeviceInfo, an as useEvent, on as useEventBus, sn as useEventEmitter, jt as useFeatureFlag, Mt as useFeatureFlagDetails, Nt as useFeatureFlagValue, At as useFeatureFlags, ge as useGateway, _e as useGatewayClient, Hr as useHaptics, zn as useHasAnimated, Mn as useHotkeys, Qn as useIsTourPlaying, gn as useKeyPress, _n as useKeyboardShortcut, jn as useKeyboardShortcuts, Te as useLazyQuery, yn as useLocalStorage, Rn as useLogger, un as useMediaQuery, Gn as useMicrofrontendContext, pn as useMobileBreakpoint, Ee as useMutation, zr as useNativeKeyboard, Lr as useNativePlatform, mn as useOnClickOutside, hn as useOnClickOutsideWithRef, Et as usePWA, ir as usePlayTour, xn as usePrevious, Sn as usePreviousDistinct, Cn as usePreviousHistory, De as useQuery, Un as useQuotaErrorToast, Bn as useReferralAttribution, Ye as useRegistryHelpers, Rr as useSafeArea, ve as useSafeGateway, ye as useSafeGatewayClient, gr as useSafeToursContext, bn as useSessionStorage, Xe as useShellNavigate, Nn as useShortcutHelp, $n as useStartTour, Ur as useStatusBar, er as useStopTour, Oe as useSubscription, ln as useThrottle, Tn as useToggle, En as useToggleObject, Jn as useTourPlayer, tr as useTourPlayerContext, _r as useTours, vr as useToursContext, pr as withTourProgressStatus };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.514.2",
3
+ "version": "2026.516.2",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "imports": {
@@ -259,7 +259,7 @@
259
259
  "build": "tsc && vite build",
260
260
  "lint": "eslint .",
261
261
  "lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
262
- "format": "prettier --write \"src/**/*.{ts,tsx}\"",
262
+ "format": "prettier --config shared/config/prettier.config.mjs --write \"src/**/*.{ts,tsx}\" \"!src/config/*.config.ts\"",
263
263
  "type:check": "tsc --noEmit",
264
264
  "sanity": "bun run lint:sanity && bun run format && bun run type:check && bun run build",
265
265
  "switch:status": "bun scripts/deps-mode.ts status",