@burdenoff/fe-libs 2026.623.3 → 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.
- package/dist/shared/hooks/useExclusiveMenu.d.ts +2 -0
- package/dist/shared/hooks/useExclusiveMenu.d.ts.map +1 -0
- package/dist/shared/hooks/useExclusiveMenu.js +19 -0
- package/dist/shared/motion/variants.d.ts +1 -8
- package/dist/shared/motion/variants.d.ts.map +1 -1
- package/dist/shared/motion/variants.js +2 -9
- package/dist/shared/pages/NotFoundPage.d.ts +23 -0
- package/dist/shared/pages/NotFoundPage.d.ts.map +1 -0
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -1
- package/dist/shared/tours/TourTrigger.js +95 -92
- package/dist/shared/tours/index.d.ts +1 -0
- package/dist/shared/tours/index.d.ts.map +1 -1
- package/dist/shared-hooks.js +14 -14
- package/dist/shared.js +68 -68
- package/dist/ui/entity-id-modal.d.ts +35 -0
- package/dist/ui/entity-id-modal.d.ts.map +1 -0
- package/dist/ui/entity-id-modal.js +88 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/responsive-dialog.js +13 -13
- package/dist/ui.js +33 -32
- package/package.json +1 -1
|
@@ -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/variants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG1D,eAAO,MAAM,QAAQ;;;;CAIX,CAAC;AAGX,eAAO,MAAM,MAAM;cACa,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;gBAChC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;;;;;;CAE/D,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,U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yB,CAAC;AAIlD,eAAO,MAAM,WAAW,EAAE,QAOzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAQ9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAO9B,CAAC;AAOF,eAAO,MAAM,SAAS;;;;;;;;;;;;CASrB,CAAC;AAIF,eAAO,MAAM,QAAQ,EAAE,QAoBtB,CAAC;AAIF,eAAO,MAAM,cAAc,EAAE,QAY5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,QAY7B,CAAC;AAIF,eAAO,MAAM,SAAS;;;;;;;CAGrB,CAAC;AAIF,eAAO,MAAM,WAAW,EAAE,QAUzB,CAAC;AAIF,eAAO,MAAM,cAAc,EAAE,QAY5B,CAAC;AAIF,eAAO,MAAM,aAAa;;;;;;;;CAMzB,CAAC"}
|
|
@@ -139,22 +139,15 @@ var e = {
|
|
|
139
139
|
}
|
|
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,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAU,EACV,KAAwB,EACxB,WAAwF,EACxF,QAAc,EACd,SAA0B,EAC1B,QAAQ,EACR,QAAQ,GACT,EAAE,iBAAiB,2CA4DnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TourTrigger.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTrigger.tsx"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"TourTrigger.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTrigger.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AAWxB,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,OAAO,CAQT;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAIpB;AAED,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEvB,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EAAE,OAAO,GACnB,sBAAsB,CAOxB;AAED,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,8FAA8F;IAC9F,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAQD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAE,gBAAqB,2CAM7D"}
|
|
@@ -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 {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
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
|
|
13
|
-
function
|
|
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
|
|
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
|
|
22
|
-
let a =
|
|
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
|
|
29
|
-
return
|
|
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
|
|
35
|
-
let t =
|
|
36
|
-
return /* @__PURE__ */
|
|
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
|
|
46
|
-
let [
|
|
47
|
-
|
|
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
|
-
|
|
52
|
+
T(window.innerWidth < 768);
|
|
50
53
|
};
|
|
51
54
|
return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
52
|
-
}, []),
|
|
55
|
+
}, []), f(() => {
|
|
53
56
|
let e = (e) => {
|
|
54
|
-
|
|
57
|
+
A.current && !A.current.contains(e.target) && k.current && !k.current.contains(e.target) && y(!1);
|
|
55
58
|
};
|
|
56
|
-
return
|
|
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
|
-
}, [
|
|
62
|
+
}, [v, b]), f(() => {
|
|
60
63
|
let e = (e) => {
|
|
61
|
-
e.key === "Escape" &&
|
|
64
|
+
e.key === "Escape" && y(!1);
|
|
62
65
|
};
|
|
63
|
-
return
|
|
64
|
-
}, [
|
|
65
|
-
let
|
|
66
|
-
|
|
67
|
-
let t =
|
|
68
|
-
productId:
|
|
69
|
-
moduleId:
|
|
70
|
-
pageId:
|
|
71
|
-
},
|
|
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
|
-
|
|
76
|
+
O(e.id), i?.(t.targetPath);
|
|
74
77
|
return;
|
|
75
78
|
}
|
|
76
79
|
t.type !== "ignore" && window.setTimeout(() => {
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
},
|
|
82
|
-
productId:
|
|
83
|
-
moduleId:
|
|
84
|
-
pageId:
|
|
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
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
]),
|
|
90
|
-
let r = n(e,
|
|
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
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
+
V,
|
|
99
|
+
M,
|
|
100
|
+
j
|
|
98
101
|
]);
|
|
99
|
-
|
|
100
|
-
if (!
|
|
101
|
-
let e =
|
|
102
|
+
f(() => {
|
|
103
|
+
if (!D) return;
|
|
104
|
+
let e = H.find((e) => e.id === D);
|
|
102
105
|
if (!e) {
|
|
103
|
-
|
|
106
|
+
O(null);
|
|
104
107
|
return;
|
|
105
108
|
}
|
|
106
|
-
let t =
|
|
109
|
+
let t = E(e, r, V, L);
|
|
107
110
|
if (t.type === "navigate") return;
|
|
108
111
|
if (t.type === "ignore") {
|
|
109
|
-
|
|
112
|
+
O(null);
|
|
110
113
|
return;
|
|
111
114
|
}
|
|
112
115
|
let n = window.setTimeout(() => {
|
|
113
|
-
|
|
114
|
-
},
|
|
116
|
+
I(e), O(null);
|
|
117
|
+
}, C);
|
|
115
118
|
return () => window.clearTimeout(n);
|
|
116
119
|
}, [
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
H,
|
|
121
|
+
L,
|
|
122
|
+
V,
|
|
120
123
|
r,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
]),
|
|
124
|
-
if (!
|
|
124
|
+
D,
|
|
125
|
+
I
|
|
126
|
+
]), f(() => {
|
|
127
|
+
if (!D) return;
|
|
125
128
|
let e = window.setTimeout(() => {
|
|
126
|
-
|
|
127
|
-
},
|
|
129
|
+
O(null);
|
|
130
|
+
}, x);
|
|
128
131
|
return () => window.clearTimeout(e);
|
|
129
|
-
}, [
|
|
130
|
-
let
|
|
131
|
-
return
|
|
132
|
-
|
|
133
|
-
}, [
|
|
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__ */
|
|
137
|
-
ref:
|
|
138
|
-
isOpen:
|
|
139
|
-
hasTours:
|
|
140
|
-
onClick: () =>
|
|
139
|
+
/* @__PURE__ */ g(c, {
|
|
140
|
+
ref: k,
|
|
141
|
+
isOpen: v,
|
|
142
|
+
hasTours: U,
|
|
143
|
+
onClick: () => y(!v)
|
|
141
144
|
}),
|
|
142
|
-
|
|
143
|
-
ref:
|
|
144
|
-
loading:
|
|
145
|
-
tours:
|
|
146
|
-
onClose: () =>
|
|
147
|
-
onStartTour:
|
|
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:
|
|
152
|
+
onAction: B
|
|
150
153
|
}),
|
|
151
|
-
|
|
152
|
-
ref:
|
|
153
|
-
loading:
|
|
154
|
-
tours:
|
|
155
|
-
onStartTour:
|
|
154
|
+
v && !b && /* @__PURE__ */ g(u, {
|
|
155
|
+
ref: A,
|
|
156
|
+
loading: F,
|
|
157
|
+
tours: H,
|
|
158
|
+
onStartTour: z,
|
|
156
159
|
actions: a,
|
|
157
|
-
onAction:
|
|
160
|
+
onAction: B
|
|
158
161
|
})
|
|
159
162
|
]
|
|
160
163
|
});
|
|
161
164
|
}
|
|
162
165
|
//#endregion
|
|
163
|
-
export {
|
|
166
|
+
export { D as TourTrigger };
|
|
@@ -49,5 +49,6 @@ export type { TourProgressCarrier } from './progress';
|
|
|
49
49
|
export { ToursProvider, useToursContext, useSafeToursContext, useTours, useAutoStartTour, } from './ToursContext';
|
|
50
50
|
export type { ToursContextValue, ToursProviderProps } from './ToursContext';
|
|
51
51
|
export { TourTrigger } from './TourTrigger';
|
|
52
|
+
export type { TourTriggerAction, TourTriggerProps } from './TourTrigger';
|
|
52
53
|
export { TourInitializer } from './TourInitializer';
|
|
53
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACX,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,YAAY,EACV,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,UAAU,EACV,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,SAAS,EACT,aAAa,EACb,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,qBAAq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B,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACpD,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD,OAAO,EACL,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAG5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/shared-hooks.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
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 {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
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
|
|
50
|
-
import { detectPlatform as
|
|
51
|
-
import { KeyboardHelpDialogWrapper as
|
|
52
|
-
import { QuotaMeter as
|
|
53
|
-
import { UPGRADE_PROMPT_EVENT as
|
|
54
|
-
import { UpgradeInlineBanner as
|
|
55
|
-
import { useVoiceInput as
|
|
56
|
-
import { ASSISTANT_WIDGET_TOGGLE_EVENT as
|
|
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
|
|
59
|
-
import { BroadcastChannelSink as
|
|
60
|
-
import { BackendAuditSink as
|
|
61
|
-
import { RybbitSink as
|
|
62
|
-
import { OtelBrowserSink as
|
|
63
|
-
import { EventBusProvider as
|
|
64
|
-
import { useDebounce as
|
|
65
|
-
import { useThrottle as
|
|
66
|
-
import { BREAKPOINTS as
|
|
67
|
-
import { useOnClickOutside as
|
|
68
|
-
import { useKeyPress as
|
|
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 {
|
|
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 };
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -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,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB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;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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
8
|
+
return g("(max-width: 767px)");
|
|
9
9
|
}
|
|
10
10
|
function y(t) {
|
|
11
|
-
return v() ? /* @__PURE__ */ _(
|
|
11
|
+
return v() ? /* @__PURE__ */ _(c, { ...t }) : /* @__PURE__ */ _(e, { ...t });
|
|
12
12
|
}
|
|
13
13
|
function b(e) {
|
|
14
|
-
return v() ? /* @__PURE__ */ _(
|
|
14
|
+
return v() ? /* @__PURE__ */ _(h, { ...e }) : /* @__PURE__ */ _(s, { ...e });
|
|
15
15
|
}
|
|
16
16
|
function x(e) {
|
|
17
|
-
return v() ? /* @__PURE__ */ _(
|
|
17
|
+
return v() ? /* @__PURE__ */ _(l, { ...e }) : /* @__PURE__ */ _(t, { ...e });
|
|
18
18
|
}
|
|
19
19
|
function S({ showHandle: e = !0, ...t }) {
|
|
20
|
-
return v() ? /* @__PURE__ */ _(
|
|
20
|
+
return v() ? /* @__PURE__ */ _(u, {
|
|
21
21
|
showHandle: e,
|
|
22
22
|
...t
|
|
23
|
-
}) : /* @__PURE__ */ _(
|
|
23
|
+
}) : /* @__PURE__ */ _(n, { ...t });
|
|
24
24
|
}
|
|
25
25
|
function C(e) {
|
|
26
|
-
return v() ? /* @__PURE__ */ _(
|
|
26
|
+
return v() ? /* @__PURE__ */ _(p, { ...e }) : /* @__PURE__ */ _(a, { ...e });
|
|
27
27
|
}
|
|
28
28
|
function w(e) {
|
|
29
|
-
return v() ? /* @__PURE__ */ _(
|
|
29
|
+
return v() ? /* @__PURE__ */ _(f, { ...e }) : /* @__PURE__ */ _(i, { ...e });
|
|
30
30
|
}
|
|
31
31
|
function T(e) {
|
|
32
|
-
return v() ? /* @__PURE__ */ _(
|
|
32
|
+
return v() ? /* @__PURE__ */ _(m, { ...e }) : /* @__PURE__ */ _(o, { ...e });
|
|
33
33
|
}
|
|
34
34
|
function E(e) {
|
|
35
|
-
return v() ? /* @__PURE__ */ _(
|
|
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 {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
|
|
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 };
|