@burdenoff/fe-libs 2026.623.4 → 2026.623.5

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,2 @@
1
+ export declare function useExclusiveMenu(id: string, isOpen: boolean, close: () => void): void;
2
+ //# sourceMappingURL=useExclusiveMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExclusiveMenu.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/useExclusiveMenu.ts"],"names":[],"mappings":"AAeA,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI,CAcrF"}
@@ -0,0 +1,19 @@
1
+ import { useEffect as e } from "react";
2
+ //#region src/shared/hooks/useExclusiveMenu.ts
3
+ var t = "boff:header-menu-open";
4
+ function n(n, r, i) {
5
+ e(() => {
6
+ if (!r) return;
7
+ window.dispatchEvent(new CustomEvent(t, { detail: n }));
8
+ let e = (e) => {
9
+ e.detail !== n && i();
10
+ };
11
+ return window.addEventListener(t, e), () => window.removeEventListener(t, e);
12
+ }, [
13
+ n,
14
+ r,
15
+ i
16
+ ]);
17
+ }
18
+ //#endregion
19
+ export { n as useExclusiveMenu };
@@ -27,23 +27,16 @@ export declare const staggerItemScale: Variants;
27
27
  export declare const staggerItemRight: Variants;
28
28
  export declare const cardHover: {
29
29
  rest: {
30
- y: number;
31
30
  boxShadow: string;
32
31
  };
33
32
  hover: {
34
- y: number;
35
33
  boxShadow: string;
36
34
  transition: {
37
35
  duration: 0.15;
38
36
  ease: [number, number, number, number];
39
37
  };
40
38
  };
41
- tap: {
42
- scale: number;
43
- transition: {
44
- duration: number;
45
- };
46
- };
39
+ tap: {};
47
40
  };
48
41
  export declare const collapse: Variants;
49
42
  export declare const slideFromRight: Variants;
@@ -1 +1 @@
1
- {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/shared/motion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
140
140
  }
141
141
  }, m = {
142
- rest: {
143
- y: 0,
144
- boxShadow: "var(--shadow-elevation-0, 0 1px 2px rgba(0,0,0,0.05))"
145
- },
142
+ rest: { boxShadow: "var(--shadow-elevation-0, 0 1px 2px rgba(0,0,0,0.05))" },
146
143
  hover: {
147
- y: -1,
148
144
  boxShadow: "var(--shadow-elevation-2, 0 2px 8px rgba(0,0,0,0.08))",
149
145
  transition: {
150
146
  duration: e.fast,
151
147
  ease: t.standard
152
148
  }
153
149
  },
154
- tap: {
155
- scale: .99,
156
- transition: { duration: .1 }
157
- }
150
+ tap: {}
158
151
  }, h = {
159
152
  hidden: {
160
153
  height: 0,
@@ -0,0 +1,23 @@
1
+ export interface NotFoundPageProps {
2
+ /** Status / error code shown large. Defaults to 404. */
3
+ code?: string | number;
4
+ /** Heading. Defaults to "Page not found". */
5
+ title?: string;
6
+ /** Supporting copy under the heading. */
7
+ description?: string;
8
+ /** Where the primary "home" action goes (anchor href). Ignored if onGoHome is set. */
9
+ homeHref?: string;
10
+ /** Label for the primary action. Defaults to "Back to home". */
11
+ homeLabel?: string;
12
+ /** Click handler for the primary action (overrides homeHref, e.g. SPA navigate). */
13
+ onGoHome?: () => void;
14
+ /** Click handler for the secondary "Go back" action. Defaults to history.back(). */
15
+ onGoBack?: () => void;
16
+ }
17
+ /**
18
+ * Reusable, theme-aware "not found" page. Drop it into any router catch-all so
19
+ * unknown routes render a friendly graphic + error code instead of an empty
20
+ * content area. Token-only — renders correctly in every Boff UI theme.
21
+ */
22
+ export declare function NotFoundPage({ code, title, description, homeHref, homeLabel, onGoHome, onGoBack, }: NotFoundPageProps): import("react/jsx-runtime").JSX.Element;
23
+ //# sourceMappingURL=NotFoundPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotFoundPage.d.ts","sourceRoot":"","sources":["../../../src/shared/pages/NotFoundPage.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,wDAAwD;IACxD,IAAI,CAAC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,CAAC,EAAE,OAAO,EAAE,GAAE,gBAAqB,2CAM7D"}
@@ -2,38 +2,39 @@ import { useSafeShellUi as e } from "../providers/shell/ShellUiProvider.js";
2
2
  import { usePlayTour as t } from "./TourPlayer.js";
3
3
  import { getTourContextRank as n, isTourVisibleForContext as r, normalizeTourPath as i, resolveTourTargetPath as a } from "./routeCatalog.js";
4
4
  import { useSafeToursContext as o } from "./ToursContext.js";
5
- import { TourTriggerButton as s } from "./tourTrigger/TourTriggerButton.js";
6
- import { MobileTourSheet as c } from "./tourTrigger/MobileTourSheet.js";
7
- import { DesktopTourDropdown as l } from "./tourTrigger/DesktopTourDropdown.js";
8
- import { useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
9
- import { jsx as m, jsxs as h } from "react/jsx-runtime";
10
- import { useInRouterContext as g, useLocation as _, useNavigate as v } from "react-router-dom";
5
+ import { useExclusiveMenu as s } from "../hooks/useExclusiveMenu.js";
6
+ import { TourTriggerButton as c } from "./tourTrigger/TourTriggerButton.js";
7
+ import { MobileTourSheet as l } from "./tourTrigger/MobileTourSheet.js";
8
+ import { DesktopTourDropdown as u } from "./tourTrigger/DesktopTourDropdown.js";
9
+ import { useCallback as d, useEffect as f, useMemo as p, useRef as m, useState as h } from "react";
10
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
+ import { useInRouterContext as v, useLocation as y, useNavigate as b } from "react-router-dom";
11
12
  //#region src/shared/tours/TourTrigger.tsx
12
- var y = 5e3, b = 100, x = 150;
13
- function S(e, t) {
13
+ var x = 5e3, S = 100, C = 150;
14
+ function w(e, t) {
14
15
  let n = t?.trim();
15
16
  return !!(n && e.productId.trim() === n && e.isActive && e.steps?.length > 0);
16
17
  }
17
- function C(e, t) {
18
+ function T(e, t) {
18
19
  let n = a(e);
19
20
  if (n) return i(t) === i(n) ? void 0 : n;
20
21
  }
21
- function w(e, t, n, i) {
22
- let a = C(e, t);
22
+ function E(e, t, n, i) {
23
+ let a = T(e, t);
23
24
  return a ? i ? {
24
25
  type: "navigate",
25
26
  targetPath: a
26
27
  } : { type: "ignore" } : r(e, n) ? { type: "play" } : { type: "ignore" };
27
28
  }
28
- function T({ actions: e } = {}) {
29
- return g() ? /* @__PURE__ */ m(E, { actions: e }) : /* @__PURE__ */ m(D, {
29
+ function D({ actions: e } = {}) {
30
+ return v() ? /* @__PURE__ */ g(O, { actions: e }) : /* @__PURE__ */ g(k, {
30
31
  pathname: typeof window > "u" ? "/" : window.location.pathname,
31
32
  actions: e
32
33
  });
33
34
  }
34
- function E({ actions: e }) {
35
- let t = _(), n = v();
36
- return /* @__PURE__ */ m(D, {
35
+ function O({ actions: e }) {
36
+ let t = y(), n = b();
37
+ return /* @__PURE__ */ g(k, {
37
38
  pathname: t.pathname,
38
39
  navigateTo: (e) => n({
39
40
  pathname: e,
@@ -42,122 +43,124 @@ function E({ actions: e }) {
42
43
  actions: e
43
44
  });
44
45
  }
45
- function D({ pathname: r, navigateTo: i, actions: a }) {
46
- let [g, _] = p(!1), [v, C] = p(!1), [T, E] = p(null), D = f(null), O = f(null), { pageTours: k, productId: A, moduleId: j, pageId: M, loading: N } = o(), P = t(), F = !!i, I = e()?.pageAccessDenied ?? !1;
47
- u(() => {
46
+ function k({ pathname: r, navigateTo: i, actions: a }) {
47
+ let [v, y] = h(!1), [b, T] = h(!1), [D, O] = h(null), k = m(null), A = m(null);
48
+ s("header-help", v, d(() => y(!1), []));
49
+ let { pageTours: j, productId: M, moduleId: N, pageId: P, loading: F } = o(), I = t(), L = !!i, R = e()?.pageAccessDenied ?? !1;
50
+ f(() => {
48
51
  let e = () => {
49
- C(window.innerWidth < 768);
52
+ T(window.innerWidth < 768);
50
53
  };
51
54
  return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
52
- }, []), u(() => {
55
+ }, []), f(() => {
53
56
  let e = (e) => {
54
- O.current && !O.current.contains(e.target) && D.current && !D.current.contains(e.target) && _(!1);
57
+ A.current && !A.current.contains(e.target) && k.current && !k.current.contains(e.target) && y(!1);
55
58
  };
56
- return g && (document.addEventListener("mousedown", e), v && (document.body.style.overflow = "hidden")), () => {
59
+ return v && (document.addEventListener("mousedown", e), b && (document.body.style.overflow = "hidden")), () => {
57
60
  document.removeEventListener("mousedown", e), document.body.style.overflow = "";
58
61
  };
59
- }, [g, v]), u(() => {
62
+ }, [v, b]), f(() => {
60
63
  let e = (e) => {
61
- e.key === "Escape" && _(!1);
64
+ e.key === "Escape" && y(!1);
62
65
  };
63
- return g && document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
64
- }, [g]);
65
- let L = (e) => {
66
- _(!1);
67
- let t = w(e, r, {
68
- productId: A ?? "",
69
- moduleId: j,
70
- pageId: M
71
- }, F);
66
+ return v && document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
67
+ }, [v]);
68
+ let z = (e) => {
69
+ y(!1);
70
+ let t = E(e, r, {
71
+ productId: M ?? "",
72
+ moduleId: N,
73
+ pageId: P
74
+ }, L);
72
75
  if (t.type === "navigate") {
73
- E(e.id), i?.(t.targetPath);
76
+ O(e.id), i?.(t.targetPath);
74
77
  return;
75
78
  }
76
79
  t.type !== "ignore" && window.setTimeout(() => {
77
- P(e);
78
- }, b);
79
- }, R = (e) => {
80
- _(!1), e.onClick?.();
81
- }, z = d(() => ({
82
- productId: A ?? "",
83
- moduleId: j,
84
- pageId: M
80
+ I(e);
81
+ }, S);
82
+ }, B = (e) => {
83
+ y(!1), e.onClick?.();
84
+ }, V = p(() => ({
85
+ productId: M ?? "",
86
+ moduleId: N,
87
+ pageId: P
85
88
  }), [
86
- j,
87
- M,
88
- A
89
- ]), B = d(() => k.filter((e) => S(e, A)).sort((e, t) => {
90
- let r = n(e, z) - n(t, z);
89
+ N,
90
+ P,
91
+ M
92
+ ]), H = p(() => j.filter((e) => w(e, M)).sort((e, t) => {
93
+ let r = n(e, V) - n(t, V);
91
94
  if (r !== 0) return r;
92
95
  let i = (t.priority ?? 0) - (e.priority ?? 0);
93
96
  return i === 0 ? (e.displayOrder ?? 0) - (t.displayOrder ?? 0) : i;
94
97
  }), [
95
- z,
96
- A,
97
- k
98
+ V,
99
+ M,
100
+ j
98
101
  ]);
99
- u(() => {
100
- if (!T) return;
101
- let e = B.find((e) => e.id === T);
102
+ f(() => {
103
+ if (!D) return;
104
+ let e = H.find((e) => e.id === D);
102
105
  if (!e) {
103
- E(null);
106
+ O(null);
104
107
  return;
105
108
  }
106
- let t = w(e, r, z, F);
109
+ let t = E(e, r, V, L);
107
110
  if (t.type === "navigate") return;
108
111
  if (t.type === "ignore") {
109
- E(null);
112
+ O(null);
110
113
  return;
111
114
  }
112
115
  let n = window.setTimeout(() => {
113
- P(e), E(null);
114
- }, x);
116
+ I(e), O(null);
117
+ }, C);
115
118
  return () => window.clearTimeout(n);
116
119
  }, [
117
- B,
118
- F,
119
- z,
120
+ H,
121
+ L,
122
+ V,
120
123
  r,
121
- T,
122
- P
123
- ]), u(() => {
124
- if (!T) return;
124
+ D,
125
+ I
126
+ ]), f(() => {
127
+ if (!D) return;
125
128
  let e = window.setTimeout(() => {
126
- E(null);
127
- }, y);
129
+ O(null);
130
+ }, x);
128
131
  return () => window.clearTimeout(e);
129
- }, [T]);
130
- let V = B.length > 0, H = I;
131
- return u(() => {
132
- H && g && _(!1);
133
- }, [H, g]), H ? null : /* @__PURE__ */ h("div", {
132
+ }, [D]);
133
+ let U = H.length > 0, W = R;
134
+ return f(() => {
135
+ W && v && y(!1);
136
+ }, [W, v]), W ? null : /* @__PURE__ */ _("div", {
134
137
  className: "relative",
135
138
  children: [
136
- /* @__PURE__ */ m(s, {
137
- ref: D,
138
- isOpen: g,
139
- hasTours: V,
140
- onClick: () => _(!g)
139
+ /* @__PURE__ */ g(c, {
140
+ ref: k,
141
+ isOpen: v,
142
+ hasTours: U,
143
+ onClick: () => y(!v)
141
144
  }),
142
- g && v && /* @__PURE__ */ m(c, {
143
- ref: O,
144
- loading: N,
145
- tours: B,
146
- onClose: () => _(!1),
147
- onStartTour: L,
145
+ v && b && /* @__PURE__ */ g(l, {
146
+ ref: A,
147
+ loading: F,
148
+ tours: H,
149
+ onClose: () => y(!1),
150
+ onStartTour: z,
148
151
  actions: a,
149
- onAction: R
152
+ onAction: B
150
153
  }),
151
- g && !v && /* @__PURE__ */ m(l, {
152
- ref: O,
153
- loading: N,
154
- tours: B,
155
- onStartTour: L,
154
+ v && !b && /* @__PURE__ */ g(u, {
155
+ ref: A,
156
+ loading: F,
157
+ tours: H,
158
+ onStartTour: z,
156
159
  actions: a,
157
- onAction: R
160
+ onAction: B
158
161
  })
159
162
  ]
160
163
  });
161
164
  }
162
165
  //#endregion
163
- export { T as TourTrigger };
166
+ export { D as TourTrigger };
@@ -1,16 +1,16 @@
1
- import { useMediaQuery as e } from "./shared/hooks/useMediaQuery.js";
2
- import { LogLevel as t } from "./shared/logger/types.js";
3
- import { Logger as n } from "./shared/logger/Logger.js";
4
- import { LogManager as ee, logManager as r } from "./shared/logger/LogManager.js";
5
- import { ConsoleTransport as i } from "./shared/logger/ConsoleTransport.js";
6
- import { usePWA as a } from "./shared/hooks/usePWA.js";
7
- import { detectPlatform as o, formatKeyCombo as s, getDisplayKeysForPlatform as c, getShortcutLabel as l, isMac as u, isMobileDevice as d, isTabletDevice as f, matchesKeyCombo as p, normalizeKey as m, normalizePlatformCombo as h, parseKeyCombo as g, shouldEnableKeyboardShortcuts as _, shouldIgnoreShortcut as v } from "./shared/keyboard/utils.js";
8
- import { useDebounce as y } from "./shared/hooks/useDebounce.js";
9
- import { useThrottle as b } from "./shared/hooks/useThrottle.js";
10
- import { BREAKPOINTS as x, useBreakpoint as S, useMobileBreakpoint as C } from "./shared/hooks/useBreakpoint.js";
11
- import { useOnClickOutside as w, useOnClickOutsideWithRef as T } from "./shared/hooks/useOnClickOutside.js";
12
- import { useKeyPress as E, useKeyboardShortcut as D } from "./shared/hooks/useKeyPress.js";
13
- import { useCopyToClipboard as O } from "./shared/hooks/useCopyToClipboard.js";
1
+ import { useCopyToClipboard as e } from "./shared/hooks/useCopyToClipboard.js";
2
+ import { useMediaQuery as t } from "./shared/hooks/useMediaQuery.js";
3
+ import { LogLevel as n } from "./shared/logger/types.js";
4
+ import { Logger as ee } from "./shared/logger/Logger.js";
5
+ import { LogManager as r, logManager as i } from "./shared/logger/LogManager.js";
6
+ import { ConsoleTransport as a } from "./shared/logger/ConsoleTransport.js";
7
+ import { usePWA as o } from "./shared/hooks/usePWA.js";
8
+ import { detectPlatform as s, formatKeyCombo as c, getDisplayKeysForPlatform as l, getShortcutLabel as u, isMac as d, isMobileDevice as f, isTabletDevice as p, matchesKeyCombo as m, normalizeKey as h, normalizePlatformCombo as g, parseKeyCombo as _, shouldEnableKeyboardShortcuts as v, shouldIgnoreShortcut as y } from "./shared/keyboard/utils.js";
9
+ import { useDebounce as b } from "./shared/hooks/useDebounce.js";
10
+ import { useThrottle as x } from "./shared/hooks/useThrottle.js";
11
+ import { BREAKPOINTS as S, useBreakpoint as C, useMobileBreakpoint as w } from "./shared/hooks/useBreakpoint.js";
12
+ import { useOnClickOutside as T, useOnClickOutsideWithRef as E } from "./shared/hooks/useOnClickOutside.js";
13
+ import { useKeyPress as D, useKeyboardShortcut as O } from "./shared/hooks/useKeyPress.js";
14
14
  import { useLocalStorage as k } from "./shared/hooks/useLocalStorage.js";
15
15
  import { useSessionStorage as te } from "./shared/hooks/useSessionStorage.js";
16
16
  import { usePrevious as A, usePreviousDistinct as j, usePreviousHistory as M } from "./shared/hooks/usePrevious.js";
@@ -39,4 +39,4 @@ function ue() {
39
39
  return e;
40
40
  }
41
41
  //#endregion
42
- export { x as BREAKPOINTS, i as ConsoleTransport, U as GLOBAL_SHORTCUT_CATEGORIES, t as LogLevel, ee as LogManager, n as Logger, R as MODIFIER_KEYS, $ as MicrofrontendContext, re as PLAN_USAGE_SNAPSHOT_EVENT, z as PLATFORM_TYPES, Z as QUOTA_EXHAUSTED_EVENT, oe as appendContextToPath, W as createGlobalShortcuts, o as detectPlatform, Q as dispatchQuotaExhausted, s as formatKeyCombo, c as getDisplayKeysForPlatform, G as getGlobalShortcutsByCategory, l as getShortcutLabel, u as isMac, d as isMobileDevice, f as isTabletDevice, r as logManager, p as matchesKeyCombo, K as mergeShortcuts, m as normalizeKey, h as normalizePlatformCombo, g as parseKeyCombo, ie as publishPlanUsageSnapshot, _ as shouldEnableKeyboardShortcuts, v as shouldIgnoreShortcut, I as useAsync, L as useAsyncImmediate, S as useBreakpoint, N as useConditionalToggle, O as useCopyToClipboard, se as useCurrentContextSearchParams, y as useDebounce, J as useHasAnimated, V as useHotkeys, E as useKeyPress, D as useKeyboardShortcut, B as useKeyboardShortcuts, k as useLocalStorage, q as useLogger, e as useMediaQuery, ue as useMicrofrontendContext, C as useMobileBreakpoint, w as useOnClickOutside, T as useOnClickOutsideWithRef, a as usePWA, A as usePrevious, j as usePreviousDistinct, M as usePreviousHistory, ne as useQuotaErrorToast, X as useRecordProductVisit, Y as useReferralAttribution, te as useSessionStorage, H as useShortcutHelp, b as useThrottle, P as useToggle, F as useToggleObject, ae as useUpgradePrompt };
42
+ export { S as BREAKPOINTS, a as ConsoleTransport, U as GLOBAL_SHORTCUT_CATEGORIES, n as LogLevel, r as LogManager, ee as Logger, R as MODIFIER_KEYS, $ as MicrofrontendContext, re as PLAN_USAGE_SNAPSHOT_EVENT, z as PLATFORM_TYPES, Z as QUOTA_EXHAUSTED_EVENT, oe as appendContextToPath, W as createGlobalShortcuts, s as detectPlatform, Q as dispatchQuotaExhausted, c as formatKeyCombo, l as getDisplayKeysForPlatform, G as getGlobalShortcutsByCategory, u as getShortcutLabel, d as isMac, f as isMobileDevice, p as isTabletDevice, i as logManager, m as matchesKeyCombo, K as mergeShortcuts, h as normalizeKey, g as normalizePlatformCombo, _ as parseKeyCombo, ie as publishPlanUsageSnapshot, v as shouldEnableKeyboardShortcuts, y as shouldIgnoreShortcut, I as useAsync, L as useAsyncImmediate, C as useBreakpoint, N as useConditionalToggle, e as useCopyToClipboard, se as useCurrentContextSearchParams, b as useDebounce, J as useHasAnimated, V as useHotkeys, D as useKeyPress, O as useKeyboardShortcut, B as useKeyboardShortcuts, k as useLocalStorage, q as useLogger, t as useMediaQuery, ue as useMicrofrontendContext, w as useMobileBreakpoint, T as useOnClickOutside, E as useOnClickOutsideWithRef, o as usePWA, A as usePrevious, j as usePreviousDistinct, M as usePreviousHistory, ne as useQuotaErrorToast, X as useRecordProductVisit, Y as useReferralAttribution, te as useSessionStorage, H as useShortcutHelp, x as useThrottle, P as useToggle, F as useToggleObject, ae as useUpgradePrompt };
package/dist/shared.js CHANGED
@@ -1,72 +1,72 @@
1
- import { useMediaQuery as e } from "./shared/hooks/useMediaQuery.js";
2
- import { createApolloClient as t } from "./shared/utils/apollo.js";
3
- import { alertTokens as n, categoryTokens as r, getAlertTokens as i, getCategoryTokens as a, getProgressTokens as o, getStatusBadgeTokens as s, getStatusTokens as c, getTrendTokens as l, progressTokens as u, statusTokens as d, trendTokens as f } from "./shared/utils/tokens.js";
4
- import { capitalizeFirst as p, capitalizeWords as m, formatBytes as h, formatCompactNumber as g, formatCurrency as _, formatCurrencyCompact as v, formatDate as y, formatDateTime as b, formatDuration as x, formatList as S, formatNumber as C, formatOrdinal as w, formatPercentage as T, formatRelativeTime as E, formatTime as D, pluralize as O, slugify as k, toCamelCase as A, toPascalCase as j, truncateText as M } from "./shared/utils/format.js";
5
- import { isChunkLoadError as N, lazyWithRetry as P } from "./shared/utils/lazyWithRetry.js";
6
- import { resolveGatewayUrls as F } from "./shared/config/gatewayUrls.js";
7
- import { installGatewayFetchRewrite as I, resolveGatewayBases as L, suppressConsole as R } from "./shared/utils/gatewayFetchRewrite.js";
8
- import { resolveAuthBridgeConfig as z } from "./shared/config/authBridgeUrls.js";
9
- import { PRODUCTS as B, PRODUCT_URLS as V, getProductUrl as H, getProductsWithUrls as U } from "./shared/config/products.js";
10
- import { COMMON_SHELL_LESS_ROUTES as W, DEFAULT_SHELL_CONFIG as G, getShellConfig as K, isShellLessRoute as q, shouldShowBreadcrumb as J, shouldShowSidebar as Y } from "./shared/config/shellRoutes.js";
11
- import { DEFAULT_PAGE_SIZE as X, GATEWAYS as Z, getGatewayConfig as Q, getGatewayUrl as $, getGraphQLEndpoint as ee } from "./shared-config.js";
12
- import { getWorkspaceTokenPayload as te, isWorkspaceTokenValidForContext as ne } from "./shared/graphql/workspaceToken.js";
13
- import { BACKEND_ERROR_EVENT as re, CONNECTION_STATUS_EVENT as ie, dispatchBackendErrorEvent as ae, extractBackendError as oe, isAbortError as se, isBackendErrorDisplay as ce, isTransportError as le, markConnectionHealthy as ue, shouldToastBackendError as de } from "./shared/utils/backendErrors.js";
14
- import { getStoredAuthToken as fe, getStoredLocale as pe, getStoredOrganizationId as me, getStoredProjectId as he, getStoredWorkspaceId as ge, getStoredWorkspaceToken as _e, graphqlFetch as ve, resolveGatewayUrl as ye } from "./shared/graphql/fetch.js";
15
- import { SSELink as be } from "./shared/graphql/links/sse-link.js";
16
- import { createGraphQLClient as xe, getGlobalClient as Se, getWorkspaceClient as Ce, initializeAppClients as we, resetAppClients as Te } from "./shared/graphql/client.js";
17
- import { GatewayProvider as Ee, useGateway as De, useGatewayClient as Oe, useSafeGateway as ke, useSafeGatewayClient as Ae } from "./shared/graphql/GatewayContext.js";
18
- import { WsLink as je } from "./shared/graphql/links/ws-link.js";
19
- import { ApolloClient as Me, ApolloProvider as Ne, InMemoryCache as Pe, gql as Fe, useApolloClient as Ie, useLazyQuery as Le, useMutation as Re, useQuery as ze, useSubscription as Be } from "./shared-graphql.js";
20
- import { attemptTokenRefresh as Ve, clearAuthSessionStorage as He, hasAuthGraphQLErrors as Ue, isAuthGraphQLError as We, isAuthNetworkError as Ge, redirectToLogin as Ke } from "./shared/utils/authErrorHandling.js";
21
- import { clearSSoCookie as qe, clearShellSsoCookies as Je, getSSoCookie as Ye, isSharedSsoCookieDomain as Xe, isTrustedSsoOrigin as Ze, readShellSsoCookie as Qe, setSSoCookie as $e, setShellSsoCookies as et } from "./shared/utils/authCookie.js";
22
- import { SSORedirectSpinner as tt, checkRemoteSLO as nt, checkSLO as rt, clearLocalAuthState as it, getSSORedirectUrl as at } from "./shared/components/SSORedirectGuard.js";
23
- import { AppInitializer as ot, useRegistryHelpers as st, useShellNavigate as ct } from "./shared/utils/appHelpers.js";
24
- import { LogLevel as lt } from "./shared/logger/types.js";
25
- import { Logger as ut } from "./shared/logger/Logger.js";
26
- import { LogManager as dt, logManager as ft } from "./shared/logger/LogManager.js";
27
- import { ConsoleTransport as pt } from "./shared/logger/ConsoleTransport.js";
28
- import { clearUserContext as mt, initializeLogger as ht, setUserContext as gt } from "./shared/utils/loggerInit.js";
29
- import { createProfileScopedStorage as _t, getProfileScopedKey as vt } from "./shared/utils/profileScopedStorage.js";
30
- import { QUOTA_EXHAUSTED_CODE as yt, RESOURCE_CAP_EXCEEDED_CODE as bt, STORAGE_QUOTA_EXCEEDED_CODE as xt, UPGRADE_ERROR_CODES as St, buildQuotaExhaustedMessage as Ct, extractQuotaExhaustedExtensions as wt, extractUpgradeErrorExtensions as Tt, isQuotaExhaustedError as Et, isUpgradeError as Dt } from "./shared/utils/quotaErrors.js";
31
- import { cn as Ot } from "./shared-utils.js";
32
- import { ActorIdentity as kt } from "./shared/actors/ActorIdentity.js";
33
- import { buildActorFallback as At, useActorProfiles as jt } from "./shared/actors/useActorProfiles.js";
34
- import { ErrorBoundary as Mt } from "./shared/components/ErrorBoundary.js";
35
- import { RequireAuth as Nt, RequireGuest as Pt } from "./shared/components/RequireAuth.js";
36
- import { PermissionButton as Ft, PermissionGate as It, PermissionLink as Lt } from "./shared/components/PermissionGate.js";
37
- import { AccessDenied as Rt, PermissionDenied as zt } from "./shared/components/AccessDenied.js";
38
- import { ErrorFallback as Bt } from "./shared/components/ErrorFallback.js";
39
- import { LoadingFallback as Vt, PageLoadingFallback as Ht, SectionLoadingFallback as Ut } from "./shared/components/LoadingFallback.js";
40
- import { MicrofrontendErrorBoundary as Wt } from "./shared/components/MicrofrontendErrorBoundary.js";
41
- import { ConditionalShell as Gt } from "./shared/components/ConditionalShell.js";
42
- import { usePWA as Kt } from "./shared/hooks/usePWA.js";
43
- import { PWAInstallBanner as qt } from "./shared/components/PWAInstallBanner.js";
44
- import { ErrorBoundary as Jt } from "./shared/components/AppErrorBoundary.js";
45
- import { FeatureFlagProvider as Yt, useFeatureFlags as Xt } from "./shared/feature-flags/FeatureFlagProvider.js";
46
- import { useFeatureFlag as Zt, useFeatureFlagDetails as Qt, useFeatureFlagValue as $t } from "./shared/feature-flags/useFeatureFlag.js";
47
- import { FeatureGate as en } from "./shared/feature-flags/FeatureGate.js";
1
+ import { useCopyToClipboard as e } from "./shared/hooks/useCopyToClipboard.js";
2
+ import { useMediaQuery as t } from "./shared/hooks/useMediaQuery.js";
3
+ import { createApolloClient as n } from "./shared/utils/apollo.js";
4
+ import { alertTokens as r, categoryTokens as i, getAlertTokens as a, getCategoryTokens as o, getProgressTokens as s, getStatusBadgeTokens as c, getStatusTokens as l, getTrendTokens as u, progressTokens as d, statusTokens as f, trendTokens as p } from "./shared/utils/tokens.js";
5
+ import { capitalizeFirst as m, capitalizeWords as h, formatBytes as g, formatCompactNumber as _, formatCurrency as v, formatCurrencyCompact as y, formatDate as b, formatDateTime as x, formatDuration as S, formatList as C, formatNumber as w, formatOrdinal as T, formatPercentage as E, formatRelativeTime as D, formatTime as O, pluralize as k, slugify as A, toCamelCase as j, toPascalCase as M, truncateText as N } from "./shared/utils/format.js";
6
+ import { isChunkLoadError as P, lazyWithRetry as F } from "./shared/utils/lazyWithRetry.js";
7
+ import { resolveGatewayUrls as I } from "./shared/config/gatewayUrls.js";
8
+ import { installGatewayFetchRewrite as L, resolveGatewayBases as R, suppressConsole as z } from "./shared/utils/gatewayFetchRewrite.js";
9
+ import { resolveAuthBridgeConfig as B } from "./shared/config/authBridgeUrls.js";
10
+ import { PRODUCTS as V, PRODUCT_URLS as H, getProductUrl as U, getProductsWithUrls as W } from "./shared/config/products.js";
11
+ import { COMMON_SHELL_LESS_ROUTES as G, DEFAULT_SHELL_CONFIG as K, getShellConfig as q, isShellLessRoute as J, shouldShowBreadcrumb as Y, shouldShowSidebar as X } from "./shared/config/shellRoutes.js";
12
+ import { DEFAULT_PAGE_SIZE as Z, GATEWAYS as Q, getGatewayConfig as $, getGatewayUrl as ee, getGraphQLEndpoint as te } from "./shared-config.js";
13
+ import { getWorkspaceTokenPayload as ne, isWorkspaceTokenValidForContext as re } from "./shared/graphql/workspaceToken.js";
14
+ import { BACKEND_ERROR_EVENT as ie, CONNECTION_STATUS_EVENT as ae, dispatchBackendErrorEvent as oe, extractBackendError as se, isAbortError as ce, isBackendErrorDisplay as le, isTransportError as ue, markConnectionHealthy as de, shouldToastBackendError as fe } from "./shared/utils/backendErrors.js";
15
+ import { getStoredAuthToken as pe, getStoredLocale as me, getStoredOrganizationId as he, getStoredProjectId as ge, getStoredWorkspaceId as _e, getStoredWorkspaceToken as ve, graphqlFetch as ye, resolveGatewayUrl as be } from "./shared/graphql/fetch.js";
16
+ import { SSELink as xe } from "./shared/graphql/links/sse-link.js";
17
+ import { createGraphQLClient as Se, getGlobalClient as Ce, getWorkspaceClient as we, initializeAppClients as Te, resetAppClients as Ee } from "./shared/graphql/client.js";
18
+ import { GatewayProvider as De, useGateway as Oe, useGatewayClient as ke, useSafeGateway as Ae, useSafeGatewayClient as je } from "./shared/graphql/GatewayContext.js";
19
+ import { WsLink as Me } from "./shared/graphql/links/ws-link.js";
20
+ import { ApolloClient as Ne, ApolloProvider as Pe, InMemoryCache as Fe, gql as Ie, useApolloClient as Le, useLazyQuery as Re, useMutation as ze, useQuery as Be, useSubscription as Ve } from "./shared-graphql.js";
21
+ import { attemptTokenRefresh as He, clearAuthSessionStorage as Ue, hasAuthGraphQLErrors as We, isAuthGraphQLError as Ge, isAuthNetworkError as Ke, redirectToLogin as qe } from "./shared/utils/authErrorHandling.js";
22
+ import { clearSSoCookie as Je, clearShellSsoCookies as Ye, getSSoCookie as Xe, isSharedSsoCookieDomain as Ze, isTrustedSsoOrigin as Qe, readShellSsoCookie as $e, setSSoCookie as et, setShellSsoCookies as tt } from "./shared/utils/authCookie.js";
23
+ import { SSORedirectSpinner as nt, checkRemoteSLO as rt, checkSLO as it, clearLocalAuthState as at, getSSORedirectUrl as ot } from "./shared/components/SSORedirectGuard.js";
24
+ import { AppInitializer as st, useRegistryHelpers as ct, useShellNavigate as lt } from "./shared/utils/appHelpers.js";
25
+ import { LogLevel as ut } from "./shared/logger/types.js";
26
+ import { Logger as dt } from "./shared/logger/Logger.js";
27
+ import { LogManager as ft, logManager as pt } from "./shared/logger/LogManager.js";
28
+ import { ConsoleTransport as mt } from "./shared/logger/ConsoleTransport.js";
29
+ import { clearUserContext as ht, initializeLogger as gt, setUserContext as _t } from "./shared/utils/loggerInit.js";
30
+ import { createProfileScopedStorage as vt, getProfileScopedKey as yt } from "./shared/utils/profileScopedStorage.js";
31
+ import { QUOTA_EXHAUSTED_CODE as bt, RESOURCE_CAP_EXCEEDED_CODE as xt, STORAGE_QUOTA_EXCEEDED_CODE as St, UPGRADE_ERROR_CODES as Ct, buildQuotaExhaustedMessage as wt, extractQuotaExhaustedExtensions as Tt, extractUpgradeErrorExtensions as Et, isQuotaExhaustedError as Dt, isUpgradeError as Ot } from "./shared/utils/quotaErrors.js";
32
+ import { cn as kt } from "./shared-utils.js";
33
+ import { ActorIdentity as At } from "./shared/actors/ActorIdentity.js";
34
+ import { buildActorFallback as jt, useActorProfiles as Mt } from "./shared/actors/useActorProfiles.js";
35
+ import { ErrorBoundary as Nt } from "./shared/components/ErrorBoundary.js";
36
+ import { RequireAuth as Pt, RequireGuest as Ft } from "./shared/components/RequireAuth.js";
37
+ import { PermissionButton as It, PermissionGate as Lt, PermissionLink as Rt } from "./shared/components/PermissionGate.js";
38
+ import { AccessDenied as zt, PermissionDenied as Bt } from "./shared/components/AccessDenied.js";
39
+ import { ErrorFallback as Vt } from "./shared/components/ErrorFallback.js";
40
+ import { LoadingFallback as Ht, PageLoadingFallback as Ut, SectionLoadingFallback as Wt } from "./shared/components/LoadingFallback.js";
41
+ import { MicrofrontendErrorBoundary as Gt } from "./shared/components/MicrofrontendErrorBoundary.js";
42
+ import { ConditionalShell as Kt } from "./shared/components/ConditionalShell.js";
43
+ import { usePWA as qt } from "./shared/hooks/usePWA.js";
44
+ import { PWAInstallBanner as Jt } from "./shared/components/PWAInstallBanner.js";
45
+ import { ErrorBoundary as Yt } from "./shared/components/AppErrorBoundary.js";
46
+ import { FeatureFlagProvider as Xt, useFeatureFlags as Zt } from "./shared/feature-flags/FeatureFlagProvider.js";
47
+ import { useFeatureFlag as Qt, useFeatureFlagDetails as $t, useFeatureFlagValue as en } from "./shared/feature-flags/useFeatureFlag.js";
48
+ import { FeatureGate as tn } from "./shared/feature-flags/FeatureGate.js";
48
49
  import "./shared-feature-flags.js";
49
- import { ContextConversationWidget as tn } from "./shared/components/ContextConversationWidget.js";
50
- import { detectPlatform as nn, formatKeyCombo as rn, getDisplayKeysForPlatform as an, getShortcutLabel as on, isMac as sn, isMobileDevice as cn, isTabletDevice as ln, matchesKeyCombo as un, normalizeKey as dn, normalizePlatformCombo as fn, parseKeyCombo as pn, shouldEnableKeyboardShortcuts as mn, shouldIgnoreShortcut as hn } from "./shared/keyboard/utils.js";
51
- import { KeyboardHelpDialogWrapper as gn } from "./shared/components/KeyboardHelpDialogWrapper.js";
52
- import { QuotaMeter as _n } from "./shared/components/QuotaMeter.js";
53
- import { UPGRADE_PROMPT_EVENT as vn, UpgradePromptModal as yn, dispatchUpgradePrompt as bn } from "./shared/components/UpgradePromptModal.js";
54
- import { UpgradeInlineBanner as xn } from "./shared/components/UpgradeInlineBanner.js";
55
- import { useVoiceInput as Sn } from "./shared/components/assistantWidget/useVoiceInput.js";
56
- import { ASSISTANT_WIDGET_TOGGLE_EVENT as Cn, AssistantWidget as wn } from "./shared/components/assistantWidget/AssistantWidget.js";
50
+ import { ContextConversationWidget as nn } from "./shared/components/ContextConversationWidget.js";
51
+ import { detectPlatform as rn, formatKeyCombo as an, getDisplayKeysForPlatform as on, getShortcutLabel as sn, isMac as cn, isMobileDevice as ln, isTabletDevice as un, matchesKeyCombo as dn, normalizeKey as fn, normalizePlatformCombo as pn, parseKeyCombo as mn, shouldEnableKeyboardShortcuts as hn, shouldIgnoreShortcut as gn } from "./shared/keyboard/utils.js";
52
+ import { KeyboardHelpDialogWrapper as _n } from "./shared/components/KeyboardHelpDialogWrapper.js";
53
+ import { QuotaMeter as vn } from "./shared/components/QuotaMeter.js";
54
+ import { UPGRADE_PROMPT_EVENT as yn, UpgradePromptModal as bn, dispatchUpgradePrompt as xn } from "./shared/components/UpgradePromptModal.js";
55
+ import { UpgradeInlineBanner as Sn } from "./shared/components/UpgradeInlineBanner.js";
56
+ import { useVoiceInput as Cn } from "./shared/components/assistantWidget/useVoiceInput.js";
57
+ import { ASSISTANT_WIDGET_TOGGLE_EVENT as wn, AssistantWidget as Tn } from "./shared/components/assistantWidget/AssistantWidget.js";
57
58
  import "./shared-components.js";
58
- import { DevtoolsSink as Tn } from "./shared/events/sinks/DevtoolsSink.js";
59
- import { BroadcastChannelSink as En } from "./shared/events/sinks/BroadcastChannelSink.js";
60
- import { BackendAuditSink as Dn } from "./shared/events/sinks/BackendAuditSink.js";
61
- import { RybbitSink as On } from "./shared/events/sinks/RybbitSink.js";
62
- import { OtelBrowserSink as kn } from "./shared/events/sinks/OtelBrowserSink.js";
63
- import { EventBusProvider as An, createEventBus as jn, useEvent as Mn, useEventBus as Nn, useEventEmitter as Pn } from "./shared-events.js";
64
- import { useDebounce as Fn } from "./shared/hooks/useDebounce.js";
65
- import { useThrottle as In } from "./shared/hooks/useThrottle.js";
66
- import { BREAKPOINTS as Ln, useBreakpoint as Rn, useMobileBreakpoint as zn } from "./shared/hooks/useBreakpoint.js";
67
- import { useOnClickOutside as Bn, useOnClickOutsideWithRef as Vn } from "./shared/hooks/useOnClickOutside.js";
68
- import { useKeyPress as Hn, useKeyboardShortcut as Un } from "./shared/hooks/useKeyPress.js";
69
- import { useCopyToClipboard as Wn } from "./shared/hooks/useCopyToClipboard.js";
59
+ import { DevtoolsSink as En } from "./shared/events/sinks/DevtoolsSink.js";
60
+ import { BroadcastChannelSink as Dn } from "./shared/events/sinks/BroadcastChannelSink.js";
61
+ import { BackendAuditSink as On } from "./shared/events/sinks/BackendAuditSink.js";
62
+ import { RybbitSink as kn } from "./shared/events/sinks/RybbitSink.js";
63
+ import { OtelBrowserSink as An } from "./shared/events/sinks/OtelBrowserSink.js";
64
+ import { EventBusProvider as jn, createEventBus as Mn, useEvent as Nn, useEventBus as Pn, useEventEmitter as Fn } from "./shared-events.js";
65
+ import { useDebounce as In } from "./shared/hooks/useDebounce.js";
66
+ import { useThrottle as Ln } from "./shared/hooks/useThrottle.js";
67
+ import { BREAKPOINTS as Rn, useBreakpoint as zn, useMobileBreakpoint as Bn } from "./shared/hooks/useBreakpoint.js";
68
+ import { useOnClickOutside as Vn, useOnClickOutsideWithRef as Hn } from "./shared/hooks/useOnClickOutside.js";
69
+ import { useKeyPress as Un, useKeyboardShortcut as Wn } from "./shared/hooks/useKeyPress.js";
70
70
  import { useLocalStorage as Gn } from "./shared/hooks/useLocalStorage.js";
71
71
  import { useSessionStorage as Kn } from "./shared/hooks/useSessionStorage.js";
72
72
  import { usePrevious as qn, usePreviousDistinct as Jn, usePreviousHistory as Yn } from "./shared/hooks/usePrevious.js";
@@ -115,4 +115,4 @@ import "./shared/actors/index.js";
115
115
  //#region src/shared/index.ts
116
116
  var Ci = "1.0.0";
117
117
  //#endregion
118
- export { Cn as ASSISTANT_WIDGET_TOGGLE_EVENT, Rt as AccessDenied, kt as ActorIdentity, Me as ApolloClient, Ne as ApolloProvider, Jt as AppErrorBoundary, ot as AppInitializer, Qr as AppShellProvider, wn as AssistantWidget, re as BACKEND_ERROR_EVENT, Ln as BREAKPOINTS, Dn as BackendAuditSink, En as BroadcastChannelSink, W as COMMON_SHELL_LESS_ROUTES, ie as CONNECTION_STATUS_EVENT, Gt as ConditionalShell, pt as ConsoleTransport, tn as ContextConversationWidget, X as DEFAULT_PAGE_SIZE, G as DEFAULT_SHELL_CONFIG, Tn as DevtoolsSink, Mt as ErrorBoundary, Bt as ErrorFallback, An as EventBusProvider, Ci as FE_SHARED_VERSION, Yt as FeatureFlagProvider, en as FeatureGate, Z as GATEWAYS, or as GLOBAL_SHORTCUT_CATEGORIES, Ee as GatewayProvider, Pe as InMemoryCache, gn as KeyboardHelpDialogWrapper, Vt as LoadingFallback, lt as LogLevel, dt as LogManager, ut as Logger, tr as MODIFIER_KEYS, Sr as MicrofrontendContext, Wt as MicrofrontendErrorBoundary, ei as MicrofrontendProvider, kn as OtelBrowserSink, _r as PLAN_USAGE_SNAPSHOT_EVENT, nr as PLATFORM_TYPES, B as PRODUCTS, V as PRODUCT_URLS, qt as PWAInstallBanner, Ht as PageLoadingFallback, Ft as PermissionButton, zt as PermissionDenied, It as PermissionGate, Lt as PermissionLink, yt as QUOTA_EXHAUSTED_CODE, mr as QUOTA_EXHAUSTED_EVENT, _n as QuotaMeter, bt as RESOURCE_CAP_EXCEEDED_CODE, Nt as RequireAuth, Pt as RequireGuest, On as RybbitSink, be as SSELink, tt as SSORedirectSpinner, xt as STORAGE_QUOTA_EXCEEDED_CODE, hi as SafeAreaView, Ut as SectionLoadingFallback, Zr as TourInitializer, Pr as TourPlayer, kr as TourPlayerProvider, Dr as TourSpotlight, Or as TourTooltip, ti as TourTrigger, Fr as TourTriggerButton, Kr as ToursProvider, St as UPGRADE_ERROR_CODES, vn as UPGRADE_PROMPT_EVENT, xn as UpgradeInlineBanner, yn as UpgradePromptModal, je as WsLink, n as alertTokens, br as appendContextToPath, Ve as attemptTokenRefresh, At as buildActorFallback, Ct as buildQuotaExhaustedMessage, p as capitalizeFirst, m as capitalizeWords, r as categoryTokens, nt as checkRemoteSLO, rt as checkSLO, He as clearAuthSessionStorage, it as clearLocalAuthState, qe as clearSSoCookie, Je as clearShellSsoCookies, mt as clearUserContext, Ot as cn, t as createApolloClient, jn as createEventBus, sr as createGlobalShortcuts, xe as createGraphQLClient, _t as createProfileScopedStorage, wr as detectDeviceType, nn as detectPlatform, ae as dispatchBackendErrorEvent, hr as dispatchQuotaExhausted, bn as dispatchUpgradePrompt, oe as extractBackendError, wt as extractQuotaExhaustedExtensions, Tt as extractUpgradeErrorExtensions, h as formatBytes, g as formatCompactNumber, _ as formatCurrency, v as formatCurrencyCompact, y as formatDate, b as formatDateTime, x as formatDuration, rn as formatKeyCombo, S as formatList, C as formatNumber, w as formatOrdinal, T as formatPercentage, E as formatRelativeTime, D as formatTime, i as getAlertTokens, a as getCategoryTokens, an as getDisplayKeysForPlatform, Q as getGatewayConfig, $ as getGatewayUrl, Se as getGlobalClient, cr as getGlobalShortcutsByCategory, ee as getGraphQLEndpoint, ni as getNativeBridge, ri as getPlatform, H as getProductUrl, U as getProductsWithUrls, vt as getProfileScopedKey, o as getProgressTokens, Tr as getResponsiveSelector, at as getSSORedirectUrl, Ye as getSSoCookie, K as getShellConfig, on as getShortcutLabel, s as getStatusBadgeTokens, c as getStatusTokens, fe as getStoredAuthToken, pe as getStoredLocale, me as getStoredOrganizationId, he as getStoredProjectId, ge as getStoredWorkspaceId, _e as getStoredWorkspaceToken, Lr as getTourContextRank, Rr as getTourRouteCatalog, zr as getTourRouteModules, Br as getTourRoutePages, l as getTrendTokens, Ce as getWorkspaceClient, te as getWorkspaceTokenPayload, Fe as gql, ve as graphqlFetch, Ue as hasAuthGraphQLErrors, we as initializeAppClients, ht as initializeLogger, I as installGatewayFetchRewrite, se as isAbortError, ii as isAndroid, We as isAuthGraphQLError, Ge as isAuthNetworkError, ce as isBackendErrorDisplay, N as isChunkLoadError, ai as isIOS, sn as isMac, cn as isMobileDevice, oi as isNative, Et as isQuotaExhaustedError, Xe as isSharedSsoCookieDomain, q as isShellLessRoute, ln as isTabletDevice, Vr as isTourVisibleForContext, le as isTransportError, Ze as isTrustedSsoOrigin, Dt as isUpgradeError, si as isWeb, ne as isWorkspaceTokenValidForContext, P as lazyWithRetry, ft as logManager, ue as markConnectionHealthy, un as matchesKeyCombo, lr as mergeShortcuts, ci as nativeConfirm, li as nativeCopyText, ui as nativeImpact, di as nativeNotify, fi as nativeOpenUrl, pi as nativeShare, mi as nativeToast, dn as normalizeKey, fn as normalizePlatformCombo, Hr as normalizeTourPath, pn as parseKeyCombo, O as pluralize, u as progressTokens, vr as publishPlanUsageSnapshot, Qe as readShellSsoCookie, Ke as redirectToLogin, Ur as registerTourRouteCatalog, Te as resetAppClients, $r as resolveAppShellObservabilityConfig, z as resolveAuthBridgeConfig, L as resolveGatewayBases, ye as resolveGatewayUrl, F as resolveGatewayUrls, Wr as resolveTourTargetPath, $e as setSSoCookie, et as setShellSsoCookies, gt as setUserContext, mn as shouldEnableKeyboardShortcuts, hn as shouldIgnoreShortcut, J as shouldShowBreadcrumb, Y as shouldShowSidebar, de as shouldToastBackendError, k as slugify, d as statusTokens, R as suppressConsole, A as toCamelCase, j as toPascalCase, f as trendTokens, M as truncateText, jt as useActorProfiles, Ie as useApolloClient, yi as useAppState, $n as useAsync, er as useAsyncImmediate, qr as useAutoStartTour, Rn as useBreakpoint, Xn as useConditionalToggle, Wn as useCopyToClipboard, xr as useCurrentContextSearchParams, Fn as useDebounce, bi as useDeviceInfo, Mn as useEvent, Nn as useEventBus, Pn as useEventEmitter, Zt as useFeatureFlag, Qt as useFeatureFlagDetails, $t as useFeatureFlagValue, Xt as useFeatureFlags, De as useGateway, Oe as useGatewayClient, xi as useHaptics, dr as useHasAnimated, ir as useHotkeys, Ar as useIsTourPlaying, Hn as useKeyPress, Un as useKeyboardShortcut, rr as useKeyboardShortcuts, Le as useLazyQuery, Gn as useLocalStorage, ur as useLogger, e as useMediaQuery, Cr as useMicrofrontendContext, zn as useMobileBreakpoint, Re as useMutation, vi as useNativeKeyboard, gi as useNativePlatform, Bn as useOnClickOutside, Vn as useOnClickOutsideWithRef, Kt as usePWA, Ir as usePlayTour, qn as usePrevious, Jn as usePreviousDistinct, Yn as usePreviousHistory, ze as useQuery, gr as useQuotaErrorToast, pr as useRecordProductVisit, fr as useReferralAttribution, st as useRegistryHelpers, _i as useSafeArea, ke as useSafeGateway, Ae as useSafeGatewayClient, Jr as useSafeToursContext, Kn as useSessionStorage, ct as useShellNavigate, ar as useShortcutHelp, jr as useStartTour, Si as useStatusBar, Mr as useStopTour, Be as useSubscription, In as useThrottle, Zn as useToggle, Qn as useToggleObject, Er as useTourPlayer, Nr as useTourPlayerContext, Yr as useTours, Xr as useToursContext, yr as useUpgradePrompt, Sn as useVoiceInput, Gr as withTourProgressStatus };
118
+ export { wn as ASSISTANT_WIDGET_TOGGLE_EVENT, zt as AccessDenied, At as ActorIdentity, Ne as ApolloClient, Pe as ApolloProvider, Yt as AppErrorBoundary, st as AppInitializer, Qr as AppShellProvider, Tn as AssistantWidget, ie as BACKEND_ERROR_EVENT, Rn as BREAKPOINTS, On as BackendAuditSink, Dn as BroadcastChannelSink, G as COMMON_SHELL_LESS_ROUTES, ae as CONNECTION_STATUS_EVENT, Kt as ConditionalShell, mt as ConsoleTransport, nn as ContextConversationWidget, Z as DEFAULT_PAGE_SIZE, K as DEFAULT_SHELL_CONFIG, En as DevtoolsSink, Nt as ErrorBoundary, Vt as ErrorFallback, jn as EventBusProvider, Ci as FE_SHARED_VERSION, Xt as FeatureFlagProvider, tn as FeatureGate, Q as GATEWAYS, or as GLOBAL_SHORTCUT_CATEGORIES, De as GatewayProvider, Fe as InMemoryCache, _n as KeyboardHelpDialogWrapper, Ht as LoadingFallback, ut as LogLevel, ft as LogManager, dt as Logger, tr as MODIFIER_KEYS, Sr as MicrofrontendContext, Gt as MicrofrontendErrorBoundary, ei as MicrofrontendProvider, An as OtelBrowserSink, _r as PLAN_USAGE_SNAPSHOT_EVENT, nr as PLATFORM_TYPES, V as PRODUCTS, H as PRODUCT_URLS, Jt as PWAInstallBanner, Ut as PageLoadingFallback, It as PermissionButton, Bt as PermissionDenied, Lt as PermissionGate, Rt as PermissionLink, bt as QUOTA_EXHAUSTED_CODE, mr as QUOTA_EXHAUSTED_EVENT, vn as QuotaMeter, xt as RESOURCE_CAP_EXCEEDED_CODE, Pt as RequireAuth, Ft as RequireGuest, kn as RybbitSink, xe as SSELink, nt as SSORedirectSpinner, St as STORAGE_QUOTA_EXCEEDED_CODE, hi as SafeAreaView, Wt as SectionLoadingFallback, Zr as TourInitializer, Pr as TourPlayer, kr as TourPlayerProvider, Dr as TourSpotlight, Or as TourTooltip, ti as TourTrigger, Fr as TourTriggerButton, Kr as ToursProvider, Ct as UPGRADE_ERROR_CODES, yn as UPGRADE_PROMPT_EVENT, Sn as UpgradeInlineBanner, bn as UpgradePromptModal, Me as WsLink, r as alertTokens, br as appendContextToPath, He as attemptTokenRefresh, jt as buildActorFallback, wt as buildQuotaExhaustedMessage, m as capitalizeFirst, h as capitalizeWords, i as categoryTokens, rt as checkRemoteSLO, it as checkSLO, Ue as clearAuthSessionStorage, at as clearLocalAuthState, Je as clearSSoCookie, Ye as clearShellSsoCookies, ht as clearUserContext, kt as cn, n as createApolloClient, Mn as createEventBus, sr as createGlobalShortcuts, Se as createGraphQLClient, vt as createProfileScopedStorage, wr as detectDeviceType, rn as detectPlatform, oe as dispatchBackendErrorEvent, hr as dispatchQuotaExhausted, xn as dispatchUpgradePrompt, se as extractBackendError, Tt as extractQuotaExhaustedExtensions, Et as extractUpgradeErrorExtensions, g as formatBytes, _ as formatCompactNumber, v as formatCurrency, y as formatCurrencyCompact, b as formatDate, x as formatDateTime, S as formatDuration, an as formatKeyCombo, C as formatList, w as formatNumber, T as formatOrdinal, E as formatPercentage, D as formatRelativeTime, O as formatTime, a as getAlertTokens, o as getCategoryTokens, on as getDisplayKeysForPlatform, $ as getGatewayConfig, ee as getGatewayUrl, Ce as getGlobalClient, cr as getGlobalShortcutsByCategory, te as getGraphQLEndpoint, ni as getNativeBridge, ri as getPlatform, U as getProductUrl, W as getProductsWithUrls, yt as getProfileScopedKey, s as getProgressTokens, Tr as getResponsiveSelector, ot as getSSORedirectUrl, Xe as getSSoCookie, q as getShellConfig, sn as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, pe as getStoredAuthToken, me as getStoredLocale, he as getStoredOrganizationId, ge as getStoredProjectId, _e as getStoredWorkspaceId, ve as getStoredWorkspaceToken, Lr as getTourContextRank, Rr as getTourRouteCatalog, zr as getTourRouteModules, Br as getTourRoutePages, u as getTrendTokens, we as getWorkspaceClient, ne as getWorkspaceTokenPayload, Ie as gql, ye as graphqlFetch, We as hasAuthGraphQLErrors, Te as initializeAppClients, gt as initializeLogger, L as installGatewayFetchRewrite, ce as isAbortError, ii as isAndroid, Ge as isAuthGraphQLError, Ke as isAuthNetworkError, le as isBackendErrorDisplay, P as isChunkLoadError, ai as isIOS, cn as isMac, ln as isMobileDevice, oi as isNative, Dt as isQuotaExhaustedError, Ze as isSharedSsoCookieDomain, J as isShellLessRoute, un as isTabletDevice, Vr as isTourVisibleForContext, ue as isTransportError, Qe as isTrustedSsoOrigin, Ot as isUpgradeError, si as isWeb, re as isWorkspaceTokenValidForContext, F as lazyWithRetry, pt as logManager, de as markConnectionHealthy, dn as matchesKeyCombo, lr as mergeShortcuts, ci as nativeConfirm, li as nativeCopyText, ui as nativeImpact, di as nativeNotify, fi as nativeOpenUrl, pi as nativeShare, mi as nativeToast, fn as normalizeKey, pn as normalizePlatformCombo, Hr as normalizeTourPath, mn as parseKeyCombo, k as pluralize, d as progressTokens, vr as publishPlanUsageSnapshot, $e as readShellSsoCookie, qe as redirectToLogin, Ur as registerTourRouteCatalog, Ee as resetAppClients, $r as resolveAppShellObservabilityConfig, B as resolveAuthBridgeConfig, R as resolveGatewayBases, be as resolveGatewayUrl, I as resolveGatewayUrls, Wr as resolveTourTargetPath, et as setSSoCookie, tt as setShellSsoCookies, _t as setUserContext, hn as shouldEnableKeyboardShortcuts, gn as shouldIgnoreShortcut, Y as shouldShowBreadcrumb, X as shouldShowSidebar, fe as shouldToastBackendError, A as slugify, f as statusTokens, z as suppressConsole, j as toCamelCase, M as toPascalCase, p as trendTokens, N as truncateText, Mt as useActorProfiles, Le as useApolloClient, yi as useAppState, $n as useAsync, er as useAsyncImmediate, qr as useAutoStartTour, zn as useBreakpoint, Xn as useConditionalToggle, e as useCopyToClipboard, xr as useCurrentContextSearchParams, In as useDebounce, bi as useDeviceInfo, Nn as useEvent, Pn as useEventBus, Fn as useEventEmitter, Qt as useFeatureFlag, $t as useFeatureFlagDetails, en as useFeatureFlagValue, Zt as useFeatureFlags, Oe as useGateway, ke as useGatewayClient, xi as useHaptics, dr as useHasAnimated, ir as useHotkeys, Ar as useIsTourPlaying, Un as useKeyPress, Wn as useKeyboardShortcut, rr as useKeyboardShortcuts, Re as useLazyQuery, Gn as useLocalStorage, ur as useLogger, t as useMediaQuery, Cr as useMicrofrontendContext, Bn as useMobileBreakpoint, ze as useMutation, vi as useNativeKeyboard, gi as useNativePlatform, Vn as useOnClickOutside, Hn as useOnClickOutsideWithRef, qt as usePWA, Ir as usePlayTour, qn as usePrevious, Jn as usePreviousDistinct, Yn as usePreviousHistory, Be as useQuery, gr as useQuotaErrorToast, pr as useRecordProductVisit, fr as useReferralAttribution, ct as useRegistryHelpers, _i as useSafeArea, Ae as useSafeGateway, je as useSafeGatewayClient, Jr as useSafeToursContext, Kn as useSessionStorage, lt as useShellNavigate, ar as useShortcutHelp, jr as useStartTour, Si as useStatusBar, Mr as useStopTour, Ve as useSubscription, Ln as useThrottle, Zn as useToggle, Qn as useToggleObject, Er as useTourPlayer, Nr as useTourPlayerContext, Yr as useTours, Xr as useToursContext, yr as useUpgradePrompt, Cn as useVoiceInput, Gr as withTourProgressStatus };
@@ -0,0 +1,35 @@
1
+ export interface EntityIdInfo {
2
+ /** The raw identifier (usually a UUID) to display + copy. */
3
+ id: string;
4
+ /** Human name of the entity (e.g. "My Project"). Shown as the dialog subtitle. */
5
+ name?: string;
6
+ /** Entity kind (e.g. "Project", "Agent", "Vibe"). Used in the title. */
7
+ type?: string;
8
+ /** Optional extra copyable fields (e.g. slug, workspace id). */
9
+ details?: Array<{
10
+ label: string;
11
+ value: string;
12
+ }>;
13
+ }
14
+ export interface EntityIdModalControl {
15
+ open: boolean;
16
+ entity: EntityIdInfo | null;
17
+ /** Open the modal for a given entity. */
18
+ show: (entity: EntityIdInfo) => void;
19
+ hide: () => void;
20
+ setOpen: (open: boolean) => void;
21
+ }
22
+ /**
23
+ * State manager for the reusable {@link EntityIdModal}. Use it once per page,
24
+ * then call `show({ id, name, type, details })` from a "Get ID" menu item.
25
+ */
26
+ export declare function useEntityIdModal(): EntityIdModalControl;
27
+ /**
28
+ * Reusable modal that shows an entity's identifier (and optional detail fields)
29
+ * with click-to-copy. Pair with {@link useEntityIdModal} and a "Get ID" action
30
+ * in the entity's dropdown so raw UUIDs never have to be rendered inline.
31
+ */
32
+ export declare function EntityIdModal({ control }: {
33
+ control: EntityIdModalControl;
34
+ }): import("react/jsx-runtime").JSX.Element;
35
+ //# sourceMappingURL=entity-id-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-id-modal.d.ts","sourceRoot":"","sources":["../../src/ui/entity-id-modal.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,kFAAkF;IAClF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,yCAAyC;IACzC,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,oBAAoB,CASvD;AA4BD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,oBAAoB,CAAA;CAAE,2CA+B3E"}
@@ -0,0 +1,88 @@
1
+ import { Dialog as e, DialogContent as t, DialogDescription as n, DialogHeader as r, DialogTitle as i } from "./dialog.js";
2
+ import { useCopyToClipboard as a } from "../shared/hooks/useCopyToClipboard.js";
3
+ import { useCallback as o, useState as s } from "react";
4
+ import { Check as c, Copy as l, Fingerprint as u } from "lucide-react";
5
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
6
+ //#region src/ui/entity-id-modal.tsx
7
+ function p() {
8
+ let [e, t] = s(!1), [n, r] = s(null);
9
+ return {
10
+ open: e,
11
+ entity: n,
12
+ show: o((e) => {
13
+ r(e), t(!0);
14
+ }, []),
15
+ hide: o(() => t(!1), []),
16
+ setOpen: t
17
+ };
18
+ }
19
+ function m({ label: e, value: t }) {
20
+ let { copied: n, copy: r } = a();
21
+ return /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
22
+ className: "mb-1 text-xs font-medium text-text-secondary",
23
+ children: e
24
+ }), /* @__PURE__ */ f("button", {
25
+ type: "button",
26
+ onClick: () => void r(t),
27
+ title: "Click to copy",
28
+ className: "group flex w-full items-center gap-2 rounded-input border border-border-default bg-bg-sunken px-3 py-2 text-left transition-colors hover:bg-bg-elevated hover:border-border-strong focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
29
+ children: [
30
+ /* @__PURE__ */ d("code", {
31
+ className: "min-w-0 flex-1 truncate font-mono text-sm text-text-primary",
32
+ children: t
33
+ }),
34
+ n ? /* @__PURE__ */ d(c, {
35
+ className: "size-4 shrink-0 text-status-success-text",
36
+ "aria-hidden": "true"
37
+ }) : /* @__PURE__ */ d(l, {
38
+ className: "size-4 shrink-0 text-text-muted group-hover:text-text-secondary",
39
+ "aria-hidden": "true"
40
+ }),
41
+ /* @__PURE__ */ d("span", {
42
+ className: "sr-only",
43
+ children: n ? "Copied" : "Copy " + e
44
+ })
45
+ ]
46
+ })] });
47
+ }
48
+ function h({ control: a }) {
49
+ let { open: o, entity: s, setOpen: c } = a, l = s?.type ? `${s.type} ID` : "Identifier";
50
+ return /* @__PURE__ */ d(e, {
51
+ open: o,
52
+ onOpenChange: c,
53
+ children: /* @__PURE__ */ f(t, {
54
+ className: "sm:max-w-md",
55
+ children: [/* @__PURE__ */ f(r, { children: [/* @__PURE__ */ f(i, {
56
+ className: "flex items-center gap-2",
57
+ children: [/* @__PURE__ */ d("span", {
58
+ className: "flex size-8 items-center justify-center rounded-lg bg-[var(--color-accent-soft)]",
59
+ children: /* @__PURE__ */ d(u, {
60
+ className: "size-4 text-action-primary-bg",
61
+ "aria-hidden": "true"
62
+ })
63
+ }), l]
64
+ }), s?.name && /* @__PURE__ */ d(n, {
65
+ className: "truncate",
66
+ children: s.name
67
+ })] }), s && /* @__PURE__ */ f("div", {
68
+ className: "space-y-4",
69
+ children: [
70
+ /* @__PURE__ */ d(m, {
71
+ label: "ID",
72
+ value: s.id
73
+ }),
74
+ s.details?.map((e) => /* @__PURE__ */ d(m, {
75
+ label: e.label,
76
+ value: e.value
77
+ }, e.label)),
78
+ /* @__PURE__ */ d("p", {
79
+ className: "text-xs text-text-muted",
80
+ children: "Click a value to copy it to your clipboard."
81
+ })
82
+ ]
83
+ })]
84
+ })
85
+ });
86
+ }
87
+ //#endregion
88
+ export { h as EntityIdModal, p as useEntityIdModal };
@@ -1,4 +1,5 @@
1
1
  export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from './accordion';
2
+ export { EntityIdModal, useEntityIdModal, type EntityIdInfo, type EntityIdModalControl, } from './entity-id-modal';
2
3
  export { OptionalFields, type OptionalFieldsProps } from './optional-fields';
3
4
  export { BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetTitle, BottomSheetTrigger, type BottomSheetContentProps, type BottomSheetProps, } from './bottom-sheet';
4
5
  export { ResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader, ResponsiveDialogTitle, ResponsiveDialogTrigger, type ResponsiveDialogContentProps, } from './responsive-dialog';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG3F,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7E,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,4BAA4B,GAClC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,eAAe,EACf,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAGzE,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAGhF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAGjE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB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X,UAAU,EACV,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGrF,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,MAAM,kBAAkB,CAAC"}
@@ -1,38 +1,38 @@
1
- import { BottomSheet as e, BottomSheetClose as t, BottomSheetContent as n, BottomSheetDescription as r, BottomSheetFooter as i, BottomSheetHeader as a, BottomSheetTitle as o, BottomSheetTrigger as s } from "./bottom-sheet.js";
2
- import { useMediaQuery as c } from "../shared/hooks/useMediaQuery.js";
3
- import { Dialog as l, DialogClose as u, DialogContent as d, DialogDescription as f, DialogFooter as p, DialogHeader as m, DialogTitle as h, DialogTrigger as g } from "./dialog.js";
1
+ import { Dialog as e, DialogClose as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, DialogTrigger as s } from "./dialog.js";
2
+ import { BottomSheet as c, BottomSheetClose as l, BottomSheetContent as u, BottomSheetDescription as d, BottomSheetFooter as f, BottomSheetHeader as p, BottomSheetTitle as m, BottomSheetTrigger as h } from "./bottom-sheet.js";
3
+ import { useMediaQuery as g } from "../shared/hooks/useMediaQuery.js";
4
4
  import "react";
5
5
  import { jsx as _ } from "react/jsx-runtime";
6
6
  //#region src/ui/responsive-dialog.tsx
7
7
  function v() {
8
- return c("(max-width: 767px)");
8
+ return g("(max-width: 767px)");
9
9
  }
10
10
  function y(t) {
11
- return v() ? /* @__PURE__ */ _(e, { ...t }) : /* @__PURE__ */ _(l, { ...t });
11
+ return v() ? /* @__PURE__ */ _(c, { ...t }) : /* @__PURE__ */ _(e, { ...t });
12
12
  }
13
13
  function b(e) {
14
- return v() ? /* @__PURE__ */ _(s, { ...e }) : /* @__PURE__ */ _(g, { ...e });
14
+ return v() ? /* @__PURE__ */ _(h, { ...e }) : /* @__PURE__ */ _(s, { ...e });
15
15
  }
16
16
  function x(e) {
17
- return v() ? /* @__PURE__ */ _(t, { ...e }) : /* @__PURE__ */ _(u, { ...e });
17
+ return v() ? /* @__PURE__ */ _(l, { ...e }) : /* @__PURE__ */ _(t, { ...e });
18
18
  }
19
19
  function S({ showHandle: e = !0, ...t }) {
20
- return v() ? /* @__PURE__ */ _(n, {
20
+ return v() ? /* @__PURE__ */ _(u, {
21
21
  showHandle: e,
22
22
  ...t
23
- }) : /* @__PURE__ */ _(d, { ...t });
23
+ }) : /* @__PURE__ */ _(n, { ...t });
24
24
  }
25
25
  function C(e) {
26
- return v() ? /* @__PURE__ */ _(a, { ...e }) : /* @__PURE__ */ _(m, { ...e });
26
+ return v() ? /* @__PURE__ */ _(p, { ...e }) : /* @__PURE__ */ _(a, { ...e });
27
27
  }
28
28
  function w(e) {
29
- return v() ? /* @__PURE__ */ _(i, { ...e }) : /* @__PURE__ */ _(p, { ...e });
29
+ return v() ? /* @__PURE__ */ _(f, { ...e }) : /* @__PURE__ */ _(i, { ...e });
30
30
  }
31
31
  function T(e) {
32
- return v() ? /* @__PURE__ */ _(o, { ...e }) : /* @__PURE__ */ _(h, { ...e });
32
+ return v() ? /* @__PURE__ */ _(m, { ...e }) : /* @__PURE__ */ _(o, { ...e });
33
33
  }
34
34
  function E(e) {
35
- return v() ? /* @__PURE__ */ _(r, { ...e }) : /* @__PURE__ */ _(f, { ...e });
35
+ return v() ? /* @__PURE__ */ _(d, { ...e }) : /* @__PURE__ */ _(r, { ...e });
36
36
  }
37
37
  //#endregion
38
38
  export { y as ResponsiveDialog, x as ResponsiveDialogClose, S as ResponsiveDialogContent, E as ResponsiveDialogDescription, w as ResponsiveDialogFooter, C as ResponsiveDialogHeader, T as ResponsiveDialogTitle, b as ResponsiveDialogTrigger };
package/dist/ui.js CHANGED
@@ -1,33 +1,34 @@
1
1
  import { Accordion as e, AccordionContent as t, AccordionItem as n, AccordionTrigger as r } from "./ui/accordion.js";
2
- import { OptionalFields as i } from "./ui/optional-fields.js";
3
- import { BottomSheet as a, BottomSheetClose as o, BottomSheetContent as s, BottomSheetDescription as c, BottomSheetFooter as l, BottomSheetHeader as u, BottomSheetTitle as d, BottomSheetTrigger as f } from "./ui/bottom-sheet.js";
4
- import { Dialog as p, DialogClose as m, DialogContent as h, DialogDescription as g, DialogFooter as _, DialogHeader as v, DialogOverlay as y, DialogPortal as b, DialogTitle as x, DialogTrigger as S } from "./ui/dialog.js";
5
- import { ResponsiveDialog as C, ResponsiveDialogClose as w, ResponsiveDialogContent as T, ResponsiveDialogDescription as E, ResponsiveDialogFooter as D, ResponsiveDialogHeader as O, ResponsiveDialogTitle as k, ResponsiveDialogTrigger as A } from "./ui/responsive-dialog.js";
6
- import { Table as j, TableBody as M, TableCaption as N, TableCell as P, TableFooter as F, TableHead as I, TableHeader as L, TableRow as R } from "./ui/table.js";
7
- import { ResponsiveTable as z } from "./ui/responsive-table.js";
8
- import { Stepper as B } from "./ui/stepper.js";
9
- import { ResponsiveStack as V } from "./ui/responsive-stack.js";
10
- import { EmptyState as H } from "./ui/empty-state.js";
11
- import { Button as U, buttonVariants as W } from "./ui/button.js";
12
- import { AlertDialog as G, AlertDialogAction as K, AlertDialogCancel as q, AlertDialogContent as J, AlertDialogDescription as Y, AlertDialogFooter as X, AlertDialogHeader as Z, AlertDialogOverlay as Q, AlertDialogPortal as $, AlertDialogTitle as ee, AlertDialogTrigger as te } from "./ui/alert-dialog.js";
13
- import { Badge as ne, badgeVariants as re } from "./ui/badge.js";
14
- import { Card as ie, CardContent as ae, CardDescription as oe, CardFooter as se, CardHeader as ce, CardTitle as le } from "./ui/card.js";
15
- import { Checkbox as ue } from "./ui/checkbox.js";
16
- import { Command as de, CommandDialog as fe, CommandEmpty as pe, CommandGroup as me, CommandInput as he, CommandItem as ge, CommandList as _e, CommandSeparator as ve, CommandShortcut as ye } from "./ui/command.js";
17
- import { DropdownMenu as be, DropdownMenuCheckboxItem as xe, DropdownMenuContent as Se, DropdownMenuGroup as Ce, DropdownMenuItem as we, DropdownMenuLabel as Te, DropdownMenuPortal as Ee, DropdownMenuRadioGroup as De, DropdownMenuRadioItem as Oe, DropdownMenuSeparator as ke, DropdownMenuShortcut as Ae, DropdownMenuSub as je, DropdownMenuSubContent as Me, DropdownMenuSubTrigger as Ne, DropdownMenuTrigger as Pe } from "./ui/dropdown-menu.js";
18
- import { Input as Fe } from "./ui/input.js";
19
- import { Label as Ie } from "./ui/label.js";
20
- import { Popover as Le, PopoverAnchor as Re, PopoverContent as ze, PopoverTrigger as Be } from "./ui/popover.js";
21
- import { ScrollArea as Ve, ScrollBar as He } from "./ui/scroll-area.js";
22
- import { Select as Ue, SelectContent as We, SelectGroup as Ge, SelectItem as Ke, SelectLabel as qe, SelectScrollDownButton as Je, SelectScrollUpButton as Ye, SelectSeparator as Xe, SelectTrigger as Ze, SelectValue as Qe } from "./ui/select.js";
23
- import { Separator as $e } from "./ui/separator.js";
24
- import { Sheet as et, SheetClose as tt, SheetContent as nt, SheetDescription as rt, SheetFooter as it, SheetHeader as at, SheetTitle as ot, SheetTrigger as st } from "./ui/sheet.js";
25
- import { Skeleton as ct } from "./ui/skeleton.js";
26
- import { Toaster as lt } from "./ui/sonner.js";
27
- import { Spinner as ut } from "./ui/spinner.js";
28
- import { Switch as dt } from "./ui/switch.js";
29
- import { Tabs as ft, TabsContent as pt, TabsList as mt, TabsTrigger as ht } from "./ui/tabs.js";
30
- import { Textarea as gt } from "./ui/textarea.js";
31
- import { Tooltip as _t, TooltipContent as vt, TooltipProvider as yt, TooltipTrigger as bt } from "./ui/tooltip.js";
32
- import { PageContainer as xt } from "./ui/page-container.js";
33
- export { e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, G as AlertDialog, K as AlertDialogAction, q as AlertDialogCancel, J as AlertDialogContent, Y as AlertDialogDescription, X as AlertDialogFooter, Z as AlertDialogHeader, Q as AlertDialogOverlay, $ as AlertDialogPortal, ee as AlertDialogTitle, te as AlertDialogTrigger, ne as Badge, a as BottomSheet, o as BottomSheetClose, s as BottomSheetContent, c as BottomSheetDescription, l as BottomSheetFooter, u as BottomSheetHeader, d as BottomSheetTitle, f as BottomSheetTrigger, U as Button, ie as Card, ae as CardContent, oe as CardDescription, se as CardFooter, ce as CardHeader, le as CardTitle, ue as Checkbox, de as Command, fe as CommandDialog, pe as CommandEmpty, me as CommandGroup, he as CommandInput, ge as CommandItem, _e as CommandList, ve as CommandSeparator, ye as CommandShortcut, p as Dialog, m as DialogClose, h as DialogContent, g as DialogDescription, _ as DialogFooter, v as DialogHeader, y as DialogOverlay, b as DialogPortal, x as DialogTitle, S as DialogTrigger, be as DropdownMenu, xe as DropdownMenuCheckboxItem, Se as DropdownMenuContent, Ce as DropdownMenuGroup, we as DropdownMenuItem, Te as DropdownMenuLabel, Ee as DropdownMenuPortal, De as DropdownMenuRadioGroup, Oe as DropdownMenuRadioItem, ke as DropdownMenuSeparator, Ae as DropdownMenuShortcut, je as DropdownMenuSub, Me as DropdownMenuSubContent, Ne as DropdownMenuSubTrigger, Pe as DropdownMenuTrigger, H as EmptyState, Fe as Input, Ie as Label, i as OptionalFields, xt as PageContainer, Le as Popover, Re as PopoverAnchor, ze as PopoverContent, Be as PopoverTrigger, C as ResponsiveDialog, w as ResponsiveDialogClose, T as ResponsiveDialogContent, E as ResponsiveDialogDescription, D as ResponsiveDialogFooter, O as ResponsiveDialogHeader, k as ResponsiveDialogTitle, A as ResponsiveDialogTrigger, V as ResponsiveStack, z as ResponsiveTable, Ve as ScrollArea, He as ScrollBar, Ue as Select, We as SelectContent, Ge as SelectGroup, Ke as SelectItem, qe as SelectLabel, Je as SelectScrollDownButton, Ye as SelectScrollUpButton, Xe as SelectSeparator, Ze as SelectTrigger, Qe as SelectValue, $e as Separator, et as Sheet, tt as SheetClose, nt as SheetContent, rt as SheetDescription, it as SheetFooter, at as SheetHeader, ot as SheetTitle, st as SheetTrigger, ct as Skeleton, ut as Spinner, B as Stepper, dt as Switch, j as Table, M as TableBody, N as TableCaption, P as TableCell, F as TableFooter, I as TableHead, L as TableHeader, R as TableRow, ft as Tabs, pt as TabsContent, mt as TabsList, ht as TabsTrigger, gt as Textarea, lt as Toaster, _t as Tooltip, vt as TooltipContent, yt as TooltipProvider, bt as TooltipTrigger, re as badgeVariants, W as buttonVariants };
2
+ import { Dialog as i, DialogClose as a, DialogContent as o, DialogDescription as s, DialogFooter as c, DialogHeader as l, DialogOverlay as u, DialogPortal as d, DialogTitle as f, DialogTrigger as p } from "./ui/dialog.js";
3
+ import { EntityIdModal as m, useEntityIdModal as h } from "./ui/entity-id-modal.js";
4
+ import { OptionalFields as g } from "./ui/optional-fields.js";
5
+ import { BottomSheet as _, BottomSheetClose as v, BottomSheetContent as y, BottomSheetDescription as b, BottomSheetFooter as x, BottomSheetHeader as S, BottomSheetTitle as C, BottomSheetTrigger as w } from "./ui/bottom-sheet.js";
6
+ import { ResponsiveDialog as T, ResponsiveDialogClose as E, ResponsiveDialogContent as D, ResponsiveDialogDescription as O, ResponsiveDialogFooter as k, ResponsiveDialogHeader as A, ResponsiveDialogTitle as j, ResponsiveDialogTrigger as M } from "./ui/responsive-dialog.js";
7
+ import { Table as N, TableBody as P, TableCaption as F, TableCell as I, TableFooter as L, TableHead as R, TableHeader as z, TableRow as B } from "./ui/table.js";
8
+ import { ResponsiveTable as V } from "./ui/responsive-table.js";
9
+ import { Stepper as H } from "./ui/stepper.js";
10
+ import { ResponsiveStack as U } from "./ui/responsive-stack.js";
11
+ import { EmptyState as W } from "./ui/empty-state.js";
12
+ import { Button as G, buttonVariants as K } from "./ui/button.js";
13
+ import { AlertDialog as q, AlertDialogAction as J, AlertDialogCancel as Y, AlertDialogContent as X, AlertDialogDescription as Z, AlertDialogFooter as Q, AlertDialogHeader as $, AlertDialogOverlay as ee, AlertDialogPortal as te, AlertDialogTitle as ne, AlertDialogTrigger as re } from "./ui/alert-dialog.js";
14
+ import { Badge as ie, badgeVariants as ae } from "./ui/badge.js";
15
+ import { Card as oe, CardContent as se, CardDescription as ce, CardFooter as le, CardHeader as ue, CardTitle as de } from "./ui/card.js";
16
+ import { Checkbox as fe } from "./ui/checkbox.js";
17
+ import { Command as pe, CommandDialog as me, CommandEmpty as he, CommandGroup as ge, CommandInput as _e, CommandItem as ve, CommandList as ye, CommandSeparator as be, CommandShortcut as xe } from "./ui/command.js";
18
+ import { DropdownMenu as Se, DropdownMenuCheckboxItem as Ce, DropdownMenuContent as we, DropdownMenuGroup as Te, DropdownMenuItem as Ee, DropdownMenuLabel as De, DropdownMenuPortal as Oe, DropdownMenuRadioGroup as ke, DropdownMenuRadioItem as Ae, DropdownMenuSeparator as je, DropdownMenuShortcut as Me, DropdownMenuSub as Ne, DropdownMenuSubContent as Pe, DropdownMenuSubTrigger as Fe, DropdownMenuTrigger as Ie } from "./ui/dropdown-menu.js";
19
+ import { Input as Le } from "./ui/input.js";
20
+ import { Label as Re } from "./ui/label.js";
21
+ import { Popover as ze, PopoverAnchor as Be, PopoverContent as Ve, PopoverTrigger as He } from "./ui/popover.js";
22
+ import { ScrollArea as Ue, ScrollBar as We } from "./ui/scroll-area.js";
23
+ import { Select as Ge, SelectContent as Ke, SelectGroup as qe, SelectItem as Je, SelectLabel as Ye, SelectScrollDownButton as Xe, SelectScrollUpButton as Ze, SelectSeparator as Qe, SelectTrigger as $e, SelectValue as et } from "./ui/select.js";
24
+ import { Separator as tt } from "./ui/separator.js";
25
+ import { Sheet as nt, SheetClose as rt, SheetContent as it, SheetDescription as at, SheetFooter as ot, SheetHeader as st, SheetTitle as ct, SheetTrigger as lt } from "./ui/sheet.js";
26
+ import { Skeleton as ut } from "./ui/skeleton.js";
27
+ import { Toaster as dt } from "./ui/sonner.js";
28
+ import { Spinner as ft } from "./ui/spinner.js";
29
+ import { Switch as pt } from "./ui/switch.js";
30
+ import { Tabs as mt, TabsContent as ht, TabsList as gt, TabsTrigger as _t } from "./ui/tabs.js";
31
+ import { Textarea as vt } from "./ui/textarea.js";
32
+ import { Tooltip as yt, TooltipContent as bt, TooltipProvider as xt, TooltipTrigger as St } from "./ui/tooltip.js";
33
+ import { PageContainer as Ct } from "./ui/page-container.js";
34
+ export { e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, q as AlertDialog, J as AlertDialogAction, Y as AlertDialogCancel, X as AlertDialogContent, Z as AlertDialogDescription, Q as AlertDialogFooter, $ as AlertDialogHeader, ee as AlertDialogOverlay, te as AlertDialogPortal, ne as AlertDialogTitle, re as AlertDialogTrigger, ie as Badge, _ as BottomSheet, v as BottomSheetClose, y as BottomSheetContent, b as BottomSheetDescription, x as BottomSheetFooter, S as BottomSheetHeader, C as BottomSheetTitle, w as BottomSheetTrigger, G as Button, oe as Card, se as CardContent, ce as CardDescription, le as CardFooter, ue as CardHeader, de as CardTitle, fe as Checkbox, pe as Command, me as CommandDialog, he as CommandEmpty, ge as CommandGroup, _e as CommandInput, ve as CommandItem, ye as CommandList, be as CommandSeparator, xe as CommandShortcut, i as Dialog, a as DialogClose, o as DialogContent, s as DialogDescription, c as DialogFooter, l as DialogHeader, u as DialogOverlay, d as DialogPortal, f as DialogTitle, p as DialogTrigger, Se as DropdownMenu, Ce as DropdownMenuCheckboxItem, we as DropdownMenuContent, Te as DropdownMenuGroup, Ee as DropdownMenuItem, De as DropdownMenuLabel, Oe as DropdownMenuPortal, ke as DropdownMenuRadioGroup, Ae as DropdownMenuRadioItem, je as DropdownMenuSeparator, Me as DropdownMenuShortcut, Ne as DropdownMenuSub, Pe as DropdownMenuSubContent, Fe as DropdownMenuSubTrigger, Ie as DropdownMenuTrigger, W as EmptyState, m as EntityIdModal, Le as Input, Re as Label, g as OptionalFields, Ct as PageContainer, ze as Popover, Be as PopoverAnchor, Ve as PopoverContent, He as PopoverTrigger, T as ResponsiveDialog, E as ResponsiveDialogClose, D as ResponsiveDialogContent, O as ResponsiveDialogDescription, k as ResponsiveDialogFooter, A as ResponsiveDialogHeader, j as ResponsiveDialogTitle, M as ResponsiveDialogTrigger, U as ResponsiveStack, V as ResponsiveTable, Ue as ScrollArea, We as ScrollBar, Ge as Select, Ke as SelectContent, qe as SelectGroup, Je as SelectItem, Ye as SelectLabel, Xe as SelectScrollDownButton, Ze as SelectScrollUpButton, Qe as SelectSeparator, $e as SelectTrigger, et as SelectValue, tt as Separator, nt as Sheet, rt as SheetClose, it as SheetContent, at as SheetDescription, ot as SheetFooter, st as SheetHeader, ct as SheetTitle, lt as SheetTrigger, ut as Skeleton, ft as Spinner, H as Stepper, pt as Switch, N as Table, P as TableBody, F as TableCaption, I as TableCell, L as TableFooter, R as TableHead, z as TableHeader, B as TableRow, mt as Tabs, ht as TabsContent, gt as TabsList, _t as TabsTrigger, vt as Textarea, dt as Toaster, yt as Tooltip, bt as TooltipContent, xt as TooltipProvider, St as TooltipTrigger, ae as badgeVariants, K as buttonVariants, h as useEntityIdModal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.623.4",
3
+ "version": "2026.623.5",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "imports": {