@datarecce/ui 0.2.0 → 0.2.1-nightly.20260402
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/AuthModal-B38pWD3T.js +7 -0
- package/dist/AuthModal-B38pWD3T.js.map +1 -0
- package/dist/{RouteConfigContext-z8YNimdP.d.ts → RouteConfigContext-DWFg6bll.d.ts} +13 -14
- package/dist/RouteConfigContext-DWFg6bll.d.ts.map +1 -0
- package/dist/{RunProgress-DyFIALbI.d.ts → RunProgress-BCFXvUsE.d.ts} +18 -18
- package/dist/RunProgress-BCFXvUsE.d.ts.map +1 -0
- package/dist/{ScreenshotDataGrid-BfxYUThx.d.ts → ScreenshotDataGrid-BAsPWcde.d.ts} +6 -7
- package/dist/ScreenshotDataGrid-BAsPWcde.d.ts.map +1 -0
- package/dist/{SplitPane-B-BLxZaQ.d.ts → SplitPane-g8w-XF2_.d.ts} +283 -103
- package/dist/SplitPane-g8w-XF2_.d.ts.map +1 -0
- package/dist/advanced.d.ts +8 -9
- package/dist/advanced.d.ts.map +1 -1
- package/dist/advanced.js +1 -1
- package/dist/advanced.js.map +1 -1
- package/dist/{api-ZZ4cc9b9.d.ts → api-BwiRz6pD.d.ts} +27 -28
- package/dist/api-BwiRz6pD.d.ts.map +1 -0
- package/dist/api-CbzeUNef.js +3 -0
- package/dist/api-CbzeUNef.js.map +1 -0
- package/dist/api.d.ts +2 -2
- package/dist/api.js +1 -1
- package/dist/{colors--47Kkns4.js → colors-BbPSDR1X.js} +2 -2
- package/dist/colors-BbPSDR1X.js.map +1 -0
- package/dist/components-run.d.ts +3 -6
- package/dist/components-run.js +1 -1
- package/dist/components.d.ts +9 -22
- package/dist/components.js +1 -1
- package/dist/{constants-DD5vJv2q.js → constants-D-hOGDbU.js} +1 -1
- package/dist/{constants-DD5vJv2q.js.map → constants-D-hOGDbU.js.map} +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/contexts.d.ts +4 -5
- package/dist/contexts.js +1 -1
- package/dist/fetchClient-Bqjx8inP.js +3 -0
- package/dist/fetchClient-Bqjx8inP.js.map +1 -0
- package/dist/fetchClient-CTnJ39EA.d.ts +19 -0
- package/dist/fetchClient-CTnJ39EA.d.ts.map +1 -0
- package/dist/hooks.d.ts +2 -14
- package/dist/hooks.js +1 -1
- package/dist/{index-Ba3hp2Ng.d.ts → index-B1IyNkDA.d.ts} +92 -91
- package/dist/index-B1IyNkDA.d.ts.map +1 -0
- package/dist/{index-CiPcALu4.d.ts → index-BJOCIgE1.d.ts} +6 -4
- package/dist/index-BJOCIgE1.d.ts.map +1 -0
- package/dist/{index-DTCpHvX_.d.ts → index-C9nBECPv.d.ts} +12 -11
- package/dist/index-C9nBECPv.d.ts.map +1 -0
- package/dist/{colors-vY9Yzui0.d.ts → index-CHJ0PCEg.d.ts} +131 -6
- package/dist/index-CHJ0PCEg.d.ts.map +1 -0
- package/dist/{index-CkXLPYZY.d.ts → index-CZ7gueQV.d.ts} +1 -1
- package/dist/index-CZ7gueQV.d.ts.map +1 -0
- package/dist/{index-h_fw6R9U.d.ts → index-CaKcjGJC.d.ts} +43 -8
- package/dist/index-CaKcjGJC.d.ts.map +1 -0
- package/dist/{index-o48TPoFN.d.ts → index-D-H3NTdf.d.ts} +38 -28
- package/dist/index-D-H3NTdf.d.ts.map +1 -0
- package/dist/{index-DVoQsx5c.d.ts → index-Dh6gw0NG.d.ts} +148 -146
- package/dist/index-Dh6gw0NG.d.ts.map +1 -0
- package/dist/{index-BFkbe0aF.d.ts → index-Dp-BUtpt.d.ts} +21 -15
- package/dist/index-Dp-BUtpt.d.ts.map +1 -0
- package/dist/index.d.ts +17 -24
- package/dist/index.js +1 -1
- package/dist/{flag-CiR2E5oz.d.ts → instanceInfo-DNLFhkK8.d.ts} +84 -73
- package/dist/instanceInfo-DNLFhkK8.d.ts.map +1 -0
- package/dist/keepAlive-Dj0q3fC9.js +3 -0
- package/dist/keepAlive-Dj0q3fC9.js.map +1 -0
- package/dist/lib/api/{axiosClient.d.ts → queryClient.d.ts} +2 -2
- package/dist/lib/api/queryClient.d.ts.map +1 -0
- package/dist/lib/api/{axiosClient.js → queryClient.js} +1 -1
- package/dist/lib/api/queryClient.js.map +1 -0
- package/dist/lib/api/track.d.ts.map +1 -1
- package/dist/lib/api/track.js +2 -1
- package/dist/lib/api/track.js.map +1 -0
- package/dist/lib/api/user.d.ts +2 -2
- package/dist/lib/api/user.d.ts.map +1 -1
- package/dist/lib/api/user.js +2 -1
- package/dist/lib/api/user.js.map +1 -0
- package/dist/lib/const.d.ts.map +1 -1
- package/dist/lib/const.js +2 -1
- package/dist/lib/const.js.map +1 -0
- package/dist/lib/result/ResultErrorFallback.d.ts.map +1 -1
- package/dist/lib/result/ResultErrorFallback.js +2 -1
- package/dist/lib/result/ResultErrorFallback.js.map +1 -0
- package/dist/{index-C_kD4ZQ3.d.ts → lineage-DsKqx9yh.d.ts} +388 -168
- package/dist/lineage-DsKqx9yh.d.ts.map +1 -0
- package/dist/{primitives-CgGUvwHB.d.ts → primitives-D8s_Rs5T.d.ts} +197 -22
- package/dist/primitives-D8s_Rs5T.d.ts.map +1 -0
- package/dist/primitives.d.ts +7 -11
- package/dist/primitives.js +1 -1
- package/dist/result.d.ts +1 -2
- package/dist/result.js +1 -1
- package/dist/src-BH-TT0Mt.js +12 -0
- package/dist/src-BH-TT0Mt.js.map +1 -0
- package/dist/style.css +290 -0
- package/dist/styles.css +2 -2
- package/dist/theme-B_XT39eO.js +3 -0
- package/dist/theme-B_XT39eO.js.map +1 -0
- package/dist/theme.d.ts +1 -2
- package/dist/theme.js +1 -1
- package/dist/{types-CZre3j02.d.ts → types-DLRfpcrV.d.ts} +7 -4
- package/dist/types-DLRfpcrV.d.ts.map +1 -0
- package/dist/{types-CFbNxrx2.d.ts → types-qpgIe7MT.d.ts} +7 -7
- package/dist/types-qpgIe7MT.d.ts.map +1 -0
- package/dist/types.d.ts +10 -14
- package/dist/types.js.map +1 -1
- package/dist/useThemeColors-OwCMwSrx.d.ts +79 -0
- package/dist/useThemeColors-OwCMwSrx.d.ts.map +1 -0
- package/dist/utils-BwEuAiEd.js +3 -0
- package/dist/utils-BwEuAiEd.js.map +1 -0
- package/dist/utils-Crcz1Rb5.js +6 -0
- package/dist/utils-Crcz1Rb5.js.map +1 -0
- package/dist/utils.d.ts +2 -6
- package/dist/utils.js +1 -1
- package/package.json +45 -19
- package/dist/AuthModal-C8LetZNB.js +0 -23
- package/dist/AuthModal-C8LetZNB.js.map +0 -1
- package/dist/LineageCanvas-CR38SDYr.d.ts +0 -41
- package/dist/LineageCanvas-CR38SDYr.d.ts.map +0 -1
- package/dist/ResultErrorFallback-C7c-TN1p.js +0 -3
- package/dist/ResultErrorFallback-C7c-TN1p.js.map +0 -1
- package/dist/RouteConfigContext-z8YNimdP.d.ts.map +0 -1
- package/dist/RunProgress-DyFIALbI.d.ts.map +0 -1
- package/dist/ScreenshotDataGrid-BfxYUThx.d.ts.map +0 -1
- package/dist/SplitPane-B-BLxZaQ.d.ts.map +0 -1
- package/dist/api-ZZ4cc9b9.d.ts.map +0 -1
- package/dist/api-_i6BZPkM.js +0 -3
- package/dist/api-_i6BZPkM.js.map +0 -1
- package/dist/colors--47Kkns4.js.map +0 -1
- package/dist/colors-vY9Yzui0.d.ts.map +0 -1
- package/dist/const-DbXBkrxT.js +0 -3
- package/dist/const-DbXBkrxT.js.map +0 -1
- package/dist/flag-CiR2E5oz.d.ts.map +0 -1
- package/dist/flag-koeDAqr3.js +0 -3
- package/dist/flag-koeDAqr3.js.map +0 -1
- package/dist/index-BFkbe0aF.d.ts.map +0 -1
- package/dist/index-Ba3hp2Ng.d.ts.map +0 -1
- package/dist/index-C_kD4ZQ3.d.ts.map +0 -1
- package/dist/index-CiPcALu4.d.ts.map +0 -1
- package/dist/index-CkXLPYZY.d.ts.map +0 -1
- package/dist/index-DTCpHvX_.d.ts.map +0 -1
- package/dist/index-DVoQsx5c.d.ts.map +0 -1
- package/dist/index-DmwYRgDR.d.ts +0 -192
- package/dist/index-DmwYRgDR.d.ts.map +0 -1
- package/dist/index-N8N7XmRj.d.ts +0 -130
- package/dist/index-N8N7XmRj.d.ts.map +0 -1
- package/dist/index-h_fw6R9U.d.ts.map +0 -1
- package/dist/index-o48TPoFN.d.ts.map +0 -1
- package/dist/keepAlive-CEzyrDfg.js +0 -3
- package/dist/keepAlive-CEzyrDfg.js.map +0 -1
- package/dist/lib/api/axiosClient.d.ts.map +0 -1
- package/dist/lib/api/axiosClient.js.map +0 -1
- package/dist/primitives-CgGUvwHB.d.ts.map +0 -1
- package/dist/src-BgHSbbHk.js +0 -67
- package/dist/src-BgHSbbHk.js.map +0 -1
- package/dist/theme-CeWzymUn.js +0 -64
- package/dist/theme-CeWzymUn.js.map +0 -1
- package/dist/track-9ZQpBlUK.js +0 -3
- package/dist/track-9ZQpBlUK.js.map +0 -1
- package/dist/types-CFbNxrx2.d.ts.map +0 -1
- package/dist/types-CZre3j02.d.ts.map +0 -1
- package/dist/useRecceServerFlag-Bg5R67J4.js +0 -3
- package/dist/useRecceServerFlag-Bg5R67J4.js.map +0 -1
- package/dist/useThemeColors--prVbMmM.js +0 -3
- package/dist/useThemeColors--prVbMmM.js.map +0 -1
- package/dist/useThemeColors-DHEroo8f.d.ts +0 -104
- package/dist/useThemeColors-DHEroo8f.d.ts.map +0 -1
- package/dist/user-DMT7E0fc.js +0 -3
- package/dist/user-DMT7E0fc.js.map +0 -1
- package/dist/utils-CW2skXm_.js +0 -3
- package/dist/utils-CW2skXm_.js.map +0 -1
- package/dist/utils-CXWhfyxC.js +0 -5
- package/dist/utils-CXWhfyxC.js.map +0 -1
|
@@ -1,24 +1,47 @@
|
|
|
1
1
|
|
|
2
|
-
import { C as Run,
|
|
3
|
-
import { i as LineageGraph } from "./types-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "
|
|
2
|
+
import { C as Run, J as ValueDiffDetailViewOptions, Jt as ColumnLineageData, X as ValueDiffResult, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, it as RowCountResult, l as Check, nt as RowCountDiffResult, on as NodeData, ot as HistogramDiffParams, pt as TopKDiffResult, rn as ManifestMetadata, st as HistogramDiffResult, ut as ProfileDiffResult, wt as QueryViewOptions, yt as QueryDiffViewOptions } from "./instanceInfo-DNLFhkK8.js";
|
|
3
|
+
import { i as LineageGraph, l as LineageGraphNodes, s as LineageGraphEdge } from "./types-DLRfpcrV.js";
|
|
4
|
+
import { u as NodeColumnSetMap } from "./index-C9nBECPv.js";
|
|
5
|
+
import { X as CheckDetailTab, at as CheckActionType, it as CheckAction, p as SchemaDiffRow } from "./SplitPane-g8w-XF2_.js";
|
|
6
|
+
import { m as Check$1 } from "./index-B1IyNkDA.js";
|
|
7
|
+
import { o as RunFormProps } from "./types-qpgIe7MT.js";
|
|
8
|
+
import { r as DataGridHandle } from "./ScreenshotDataGrid-BAsPWcde.js";
|
|
9
|
+
import { n as CreatedResultViewProps } from "./index-BJOCIgE1.js";
|
|
10
10
|
import * as React$2 from "react";
|
|
11
|
-
import React$1, { ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
12
|
-
import * as
|
|
11
|
+
import React$1, { CSSProperties, ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
12
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
13
13
|
import { BoxProps } from "@mui/material/Box";
|
|
14
|
-
import "@mui/material/styles";
|
|
15
|
-
import { EdgeProps } from "@xyflow/react";
|
|
16
|
-
import "@xyflow/react/dist/style.css";
|
|
17
14
|
import { ColDef, ColGroupDef, ICellRendererParams } from "ag-grid-community";
|
|
15
|
+
import { EdgeProps } from "@xyflow/react";
|
|
18
16
|
import { FallbackRender } from "@sentry/react";
|
|
19
17
|
|
|
18
|
+
//#region src/components/lineage/config/zoomConstants.d.ts
|
|
19
|
+
/**
|
|
20
|
+
* Zoom and display constants for the lineage view.
|
|
21
|
+
*
|
|
22
|
+
* LEGIBLE_MIN_ZOOM: Floor for fitView() calls — ensures node labels remain
|
|
23
|
+
* readable on initial load. At 300px node width, 0.35x renders ~105px on screen.
|
|
24
|
+
*
|
|
25
|
+
* EXPLORE_MIN_ZOOM: Floor for manual zoom — power users can zoom out further
|
|
26
|
+
* to see the full graph overview.
|
|
27
|
+
*
|
|
28
|
+
* FIT_VIEW_PADDING: Breathing room around fitted nodes so they don't touch
|
|
29
|
+
* the viewport edge.
|
|
30
|
+
*
|
|
31
|
+
* DIM_FILTER: CSS filter applied to non-highlighted nodes/edges. Uses 0.4
|
|
32
|
+
* opacity (not 0.2) so graph structure remains visible at any zoom level.
|
|
33
|
+
*/
|
|
34
|
+
/** Minimum zoom for fitView — labels remain readable */
|
|
35
|
+
declare const LEGIBLE_MIN_ZOOM = 0.35;
|
|
36
|
+
/** Minimum zoom for manual exploration */
|
|
37
|
+
declare const EXPLORE_MIN_ZOOM = 0.1;
|
|
38
|
+
/** Padding for fitView calls */
|
|
39
|
+
declare const FIT_VIEW_PADDING = 0.15;
|
|
40
|
+
/** CSS filter for dimmed (non-highlighted) nodes and edges */
|
|
41
|
+
declare const DIM_FILTER = "opacity(0.4) grayscale(40%)";
|
|
42
|
+
//#endregion
|
|
20
43
|
//#region src/components/app/EnvInfo.d.ts
|
|
21
|
-
declare function EnvInfo():
|
|
44
|
+
declare function EnvInfo(): _$react_jsx_runtime0.JSX.Element;
|
|
22
45
|
//#endregion
|
|
23
46
|
//#region src/components/app/MainLayout.d.ts
|
|
24
47
|
interface MainLayoutProps {
|
|
@@ -29,7 +52,7 @@ interface MainLayoutProps {
|
|
|
29
52
|
declare function MainLayout({
|
|
30
53
|
children,
|
|
31
54
|
lineage
|
|
32
|
-
}: MainLayoutProps):
|
|
55
|
+
}: MainLayoutProps): _$react_jsx_runtime0.JSX.Element;
|
|
33
56
|
interface MainProps {
|
|
34
57
|
children: ReactNode;
|
|
35
58
|
lineage: ReactNode;
|
|
@@ -42,7 +65,7 @@ declare function Main({
|
|
|
42
65
|
lineage,
|
|
43
66
|
isLineageRoute,
|
|
44
67
|
disableInternalHistory
|
|
45
|
-
}: MainProps):
|
|
68
|
+
}: MainProps): _$react_jsx_runtime0.JSX.Element;
|
|
46
69
|
//#endregion
|
|
47
70
|
//#region src/components/check/CheckDetailOss.d.ts
|
|
48
71
|
interface CheckDetailProps {
|
|
@@ -55,7 +78,7 @@ declare function CheckDetailOss({
|
|
|
55
78
|
}: CheckDetailProps): ReactNode;
|
|
56
79
|
//#endregion
|
|
57
80
|
//#region src/components/check/CheckEmptyStateOss.d.ts
|
|
58
|
-
declare const CheckEmptyStateOss: () =>
|
|
81
|
+
declare const CheckEmptyStateOss: () => _$react_jsx_runtime0.JSX.Element;
|
|
59
82
|
//#endregion
|
|
60
83
|
//#region src/components/check/CheckListOss.d.ts
|
|
61
84
|
declare const CheckListOss: ({
|
|
@@ -68,7 +91,7 @@ declare const CheckListOss: ({
|
|
|
68
91
|
selectedItem: string | null;
|
|
69
92
|
onCheckSelected: (checkId: string) => void;
|
|
70
93
|
onChecksReordered: (source: number, destination: number) => void;
|
|
71
|
-
}) =>
|
|
94
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
72
95
|
//#endregion
|
|
73
96
|
//#region src/components/check/CheckPageContentOss.d.ts
|
|
74
97
|
declare const CheckPageContentOss: () => ReactNode;
|
|
@@ -80,13 +103,13 @@ declare const CheckPageContentOss: () => ReactNode;
|
|
|
80
103
|
declare const CheckPageLoadingOss: () => ReactNode;
|
|
81
104
|
//#endregion
|
|
82
105
|
//#region src/components/errorboundary/ErrorBoundary.d.ts
|
|
83
|
-
declare const ErrorBoundary: ({
|
|
106
|
+
declare const ErrorBoundary$1: ({
|
|
84
107
|
children,
|
|
85
108
|
fallback
|
|
86
109
|
}: {
|
|
87
110
|
children: ReactNode;
|
|
88
111
|
fallback?: React$2.ReactElement | FallbackRender | undefined;
|
|
89
|
-
}) =>
|
|
112
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
90
113
|
//#endregion
|
|
91
114
|
//#region src/components/histogram/HistogramDiffForm.d.ts
|
|
92
115
|
/**
|
|
@@ -114,7 +137,7 @@ declare function HistogramDiffForm({
|
|
|
114
137
|
params,
|
|
115
138
|
onParamsChanged,
|
|
116
139
|
setIsReadyToExecute
|
|
117
|
-
}: HistogramDiffEditProps):
|
|
140
|
+
}: HistogramDiffEditProps): _$react_jsx_runtime0.JSX.Element;
|
|
118
141
|
//#endregion
|
|
119
142
|
//#region src/components/histogram/HistogramResultView.d.ts
|
|
120
143
|
/**
|
|
@@ -144,76 +167,241 @@ interface HistogramResultViewProps extends CreatedResultViewProps<unknown> {
|
|
|
144
167
|
*/
|
|
145
168
|
declare const HistogramDiffResultView: ForwardRefExoticComponent<HistogramResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
146
169
|
//#endregion
|
|
147
|
-
//#region src/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
170
|
+
//#region src/components/lineage/LineagePageOss.d.ts
|
|
171
|
+
declare function LineagePageOss(): _$react_jsx_runtime0.JSX.Element;
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/components/lineage/NodeView.d.ts
|
|
174
|
+
/**
|
|
175
|
+
* Node data structure for NodeView.
|
|
176
|
+
* Represents the data needed to display node details.
|
|
177
|
+
*/
|
|
178
|
+
interface NodeViewNodeData {
|
|
179
|
+
id: string;
|
|
180
|
+
data: {
|
|
181
|
+
name: string;
|
|
182
|
+
resourceType?: string;
|
|
183
|
+
changeStatus?: string;
|
|
184
|
+
from?: string;
|
|
185
|
+
data: {
|
|
186
|
+
base?: NodeData;
|
|
187
|
+
current?: NodeData;
|
|
188
|
+
};
|
|
189
|
+
change?: {
|
|
190
|
+
category: string;
|
|
191
|
+
columns: Record<string, "added" | "removed" | "modified"> | null;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
160
194
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
195
|
+
/**
|
|
196
|
+
* Run type icon configuration for dependency injection.
|
|
197
|
+
* Maps run type names to their icon components.
|
|
198
|
+
*/
|
|
199
|
+
interface RunTypeIconMap {
|
|
200
|
+
query?: ComponentType<{
|
|
201
|
+
fontSize?: string;
|
|
202
|
+
}>;
|
|
203
|
+
row_count?: ComponentType<{
|
|
204
|
+
fontSize?: string;
|
|
205
|
+
}>;
|
|
206
|
+
row_count_diff?: ComponentType<{
|
|
207
|
+
fontSize?: string;
|
|
208
|
+
}>;
|
|
209
|
+
profile?: ComponentType<{
|
|
210
|
+
fontSize?: string;
|
|
211
|
+
}>;
|
|
212
|
+
profile_diff?: ComponentType<{
|
|
213
|
+
fontSize?: string;
|
|
214
|
+
}>;
|
|
215
|
+
query_diff?: ComponentType<{
|
|
216
|
+
fontSize?: string;
|
|
217
|
+
}>;
|
|
218
|
+
value_diff?: ComponentType<{
|
|
219
|
+
fontSize?: string;
|
|
220
|
+
}>;
|
|
221
|
+
top_k_diff?: ComponentType<{
|
|
222
|
+
fontSize?: string;
|
|
223
|
+
}>;
|
|
224
|
+
histogram_diff?: ComponentType<{
|
|
225
|
+
fontSize?: string;
|
|
226
|
+
}>;
|
|
227
|
+
schema_diff?: ComponentType<{
|
|
228
|
+
fontSize?: string;
|
|
229
|
+
}>;
|
|
230
|
+
sandbox?: ComponentType<{
|
|
231
|
+
fontSize?: string;
|
|
232
|
+
}>;
|
|
169
233
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
234
|
+
/**
|
|
235
|
+
* Props for the SchemaView component (diff mode).
|
|
236
|
+
*/
|
|
237
|
+
interface SchemaViewProps$1 {
|
|
238
|
+
base?: NodeData;
|
|
239
|
+
current?: NodeData;
|
|
240
|
+
columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
|
|
241
|
+
onViewCode?: () => void;
|
|
173
242
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
243
|
+
/**
|
|
244
|
+
* Props for the SingleEnvSchemaView component.
|
|
245
|
+
*/
|
|
246
|
+
interface SingleEnvSchemaViewProps {
|
|
247
|
+
current?: NodeData;
|
|
177
248
|
}
|
|
178
249
|
/**
|
|
179
|
-
*
|
|
250
|
+
* Props for the NotificationComponent.
|
|
180
251
|
*/
|
|
181
|
-
|
|
252
|
+
interface NotificationComponentProps {
|
|
253
|
+
onClose: () => void;
|
|
254
|
+
children?: ReactNode;
|
|
255
|
+
}
|
|
182
256
|
/**
|
|
183
|
-
*
|
|
184
|
-
* Uses merged columns: Index (merged base/current), Name, Type (merged with badges)
|
|
257
|
+
* Props for the ConnectionPopoverWrapper.
|
|
185
258
|
*/
|
|
186
|
-
|
|
259
|
+
interface ConnectionPopoverWrapperProps {
|
|
260
|
+
display: boolean;
|
|
261
|
+
children: ReactNode;
|
|
262
|
+
}
|
|
187
263
|
/**
|
|
188
|
-
*
|
|
264
|
+
* Props for the SandboxDialog component.
|
|
189
265
|
*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
266
|
+
interface SandboxDialogProps {
|
|
267
|
+
isOpen: boolean;
|
|
268
|
+
onClose: () => void;
|
|
269
|
+
current?: NodeData;
|
|
270
|
+
}
|
|
193
271
|
/**
|
|
194
|
-
*
|
|
272
|
+
* Callbacks for action button clicks.
|
|
273
|
+
* Used for dependency injection of action handlers.
|
|
195
274
|
*/
|
|
196
|
-
|
|
275
|
+
interface NodeViewActionCallbacks {
|
|
276
|
+
/** Called when Query button is clicked */
|
|
277
|
+
onQueryClick?: () => void;
|
|
278
|
+
/** Called when Row Count button is clicked */
|
|
279
|
+
onRowCountClick?: () => void;
|
|
280
|
+
/** Called when Row Count Diff button is clicked */
|
|
281
|
+
onRowCountDiffClick?: () => void;
|
|
282
|
+
/** Called when Profile button is clicked */
|
|
283
|
+
onProfileClick?: () => void;
|
|
284
|
+
/** Called when Profile Diff button is clicked */
|
|
285
|
+
onProfileDiffClick?: () => void;
|
|
286
|
+
/** Called when Query Diff button is clicked */
|
|
287
|
+
onQueryDiffClick?: () => void;
|
|
288
|
+
/** Called when Value Diff button is clicked */
|
|
289
|
+
onValueDiffClick?: () => void;
|
|
290
|
+
/** Called when Top-K Diff button is clicked */
|
|
291
|
+
onTopKDiffClick?: () => void;
|
|
292
|
+
/** Called when Histogram Diff button is clicked */
|
|
293
|
+
onHistogramDiffClick?: () => void;
|
|
294
|
+
/** Called when Add Schema Diff button is clicked */
|
|
295
|
+
onAddSchemaDiffClick?: () => void;
|
|
296
|
+
/** Called when Sandbox button is clicked */
|
|
297
|
+
onSandboxClick?: () => void;
|
|
298
|
+
}
|
|
197
299
|
/**
|
|
198
|
-
*
|
|
300
|
+
* Props for NodeView component.
|
|
301
|
+
*
|
|
302
|
+
* Uses dependency injection for:
|
|
303
|
+
* - Schema view components (for different consumers)
|
|
304
|
+
* - SQL view component (NodeSqlView)
|
|
305
|
+
* - Action button icons
|
|
306
|
+
* - Notification components
|
|
307
|
+
* - Connection popover wrapper
|
|
199
308
|
*/
|
|
200
|
-
interface
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
309
|
+
interface NodeViewProps<TNode extends NodeViewNodeData = NodeViewNodeData> {
|
|
310
|
+
/** The node to display */
|
|
311
|
+
node: TNode;
|
|
312
|
+
/** Callback when close button is clicked */
|
|
313
|
+
onCloseNode: () => void;
|
|
314
|
+
/** Whether in single environment mode */
|
|
315
|
+
isSingleEnv: boolean;
|
|
316
|
+
/** Feature toggles for conditional UI */
|
|
317
|
+
featureToggles?: {
|
|
318
|
+
mode?: string | null;
|
|
319
|
+
disableDatabaseQuery?: boolean;
|
|
320
|
+
};
|
|
321
|
+
/** Schema view component for diff mode */
|
|
322
|
+
SchemaView?: ComponentType<SchemaViewProps$1>;
|
|
323
|
+
/** Schema view component for single env mode */
|
|
324
|
+
SingleEnvSchemaView?: ComponentType<SingleEnvSchemaViewProps>;
|
|
325
|
+
/** Node SQL view component */
|
|
326
|
+
NodeSqlView?: ComponentType<{
|
|
327
|
+
node: TNode;
|
|
328
|
+
}>;
|
|
329
|
+
/** Row count diff tag component */
|
|
330
|
+
RowCountDiffTag?: ComponentType<{
|
|
331
|
+
node: TNode;
|
|
332
|
+
onRefresh?: () => void;
|
|
333
|
+
}>;
|
|
334
|
+
/** Row count tag component (single env) */
|
|
335
|
+
RowCountTag?: ComponentType<{
|
|
336
|
+
node: TNode;
|
|
337
|
+
onRefresh?: () => void;
|
|
338
|
+
}>;
|
|
339
|
+
/** Resource type tag component */
|
|
340
|
+
ResourceTypeTag?: ComponentType<{
|
|
341
|
+
node: TNode;
|
|
342
|
+
}>;
|
|
343
|
+
/** Notification component for single env mode */
|
|
344
|
+
NotificationComponent?: ComponentType<NotificationComponentProps>;
|
|
345
|
+
/** Wrapper component for buttons that need connection popover */
|
|
346
|
+
ConnectionPopoverWrapper?: ComponentType<ConnectionPopoverWrapperProps>;
|
|
347
|
+
/** Sandbox dialog component */
|
|
348
|
+
SandboxDialog?: ComponentType<SandboxDialogProps>;
|
|
349
|
+
/** Map of run type names to icon components */
|
|
350
|
+
runTypeIcons?: RunTypeIconMap;
|
|
351
|
+
/** Action callbacks for button clicks */
|
|
352
|
+
actionCallbacks?: NodeViewActionCallbacks;
|
|
353
|
+
/** Check if an action is available */
|
|
354
|
+
isActionAvailable?: (runType: string) => boolean;
|
|
204
355
|
}
|
|
205
356
|
/**
|
|
206
|
-
*
|
|
357
|
+
* NodeView Component
|
|
207
358
|
*
|
|
208
|
-
*
|
|
359
|
+
* Displays detailed information about a lineage node including:
|
|
360
|
+
* - Node name and metadata
|
|
361
|
+
* - Action buttons for various operations (Query, Profile, Diff, etc.)
|
|
362
|
+
* - Tabs for Columns and Code views
|
|
363
|
+
*
|
|
364
|
+
* Uses dependency injection for:
|
|
365
|
+
* - Schema view components (different for OSS vs Cloud)
|
|
366
|
+
* - Action button handlers
|
|
367
|
+
* - Icon components from run registry
|
|
368
|
+
* - Connection popover for database setup prompts
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* ```tsx
|
|
372
|
+
* import { NodeView } from '@datarecce/ui/advanced';
|
|
373
|
+
*
|
|
374
|
+
* <NodeView
|
|
375
|
+
* node={selectedNode}
|
|
376
|
+
* onCloseNode={() => setSelectedNode(null)}
|
|
377
|
+
* isSingleEnv={false}
|
|
378
|
+
* SchemaView={MySchemaView}
|
|
379
|
+
* NodeSqlView={MyNodeSqlView}
|
|
380
|
+
* actionCallbacks={{
|
|
381
|
+
* onQueryClick: handleQuery,
|
|
382
|
+
* onProfileDiffClick: handleProfileDiff,
|
|
383
|
+
* }}
|
|
384
|
+
* />
|
|
385
|
+
* ```
|
|
209
386
|
*/
|
|
210
|
-
declare function
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
387
|
+
declare function NodeView<TNode extends NodeViewNodeData>({
|
|
388
|
+
node,
|
|
389
|
+
onCloseNode,
|
|
390
|
+
isSingleEnv,
|
|
391
|
+
featureToggles,
|
|
392
|
+
SchemaView,
|
|
393
|
+
SingleEnvSchemaView,
|
|
394
|
+
NodeSqlView,
|
|
395
|
+
RowCountDiffTag,
|
|
396
|
+
RowCountTag,
|
|
397
|
+
ResourceTypeTag,
|
|
398
|
+
NotificationComponent,
|
|
399
|
+
ConnectionPopoverWrapper,
|
|
400
|
+
SandboxDialog,
|
|
401
|
+
runTypeIcons,
|
|
402
|
+
actionCallbacks,
|
|
403
|
+
isActionAvailable
|
|
404
|
+
}: NodeViewProps<TNode>): _$react_jsx_runtime0.JSX.Element;
|
|
217
405
|
//#endregion
|
|
218
406
|
//#region src/components/lineage/styles.d.ts
|
|
219
407
|
/**
|
|
@@ -229,14 +417,14 @@ interface NotificationProps {
|
|
|
229
417
|
declare function LineageViewNotification({
|
|
230
418
|
notification,
|
|
231
419
|
type
|
|
232
|
-
}: NotificationProps):
|
|
420
|
+
}: NotificationProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
233
421
|
//#endregion
|
|
234
422
|
//#region src/components/onboarding-guide/Notification.d.ts
|
|
235
423
|
declare const RecceNotification: (props: PropsWithChildren<{
|
|
236
424
|
onClose: () => void;
|
|
237
425
|
align?: string;
|
|
238
|
-
}>) =>
|
|
239
|
-
declare const LearnHowLink: () =>
|
|
426
|
+
}>) => _$react_jsx_runtime0.JSX.Element;
|
|
427
|
+
declare const LearnHowLink: () => _$react_jsx_runtime0.JSX.Element;
|
|
240
428
|
//#endregion
|
|
241
429
|
//#region src/components/profile/ProfileDiffForm.d.ts
|
|
242
430
|
interface ProfileDiffFormParams {
|
|
@@ -249,7 +437,7 @@ declare function ProfileDiffForm({
|
|
|
249
437
|
params,
|
|
250
438
|
onParamsChanged,
|
|
251
439
|
setIsReadyToExecute
|
|
252
|
-
}: ProfileDiffFormProp):
|
|
440
|
+
}: ProfileDiffFormProp): _$react_jsx_runtime0.JSX.Element;
|
|
253
441
|
//#endregion
|
|
254
442
|
//#region src/components/profile/ProfileResultView.d.ts
|
|
255
443
|
/**
|
|
@@ -358,10 +546,10 @@ declare const QueryForm$1: ({
|
|
|
358
546
|
defaultPrimaryKeys,
|
|
359
547
|
onPrimaryKeysChange,
|
|
360
548
|
...props
|
|
361
|
-
}: QueryFormProps) =>
|
|
549
|
+
}: QueryFormProps) => _$react_jsx_runtime0.JSX.Element;
|
|
362
550
|
//#endregion
|
|
363
551
|
//#region src/components/query/QueryPageOss.d.ts
|
|
364
|
-
declare const QueryPageOss: () =>
|
|
552
|
+
declare const QueryPageOss: () => _$react_jsx_runtime0.JSX.Element;
|
|
365
553
|
//#endregion
|
|
366
554
|
//#region src/components/query/QueryResultView.d.ts
|
|
367
555
|
type QueryRun = Extract<Run, {
|
|
@@ -410,7 +598,7 @@ interface SetupConnectionGuideProps {
|
|
|
410
598
|
*/
|
|
411
599
|
declare function SetupConnectionGuide({
|
|
412
600
|
supportCalendarUrl
|
|
413
|
-
}: SetupConnectionGuideProps):
|
|
601
|
+
}: SetupConnectionGuideProps): _$react_jsx_runtime0.JSX.Element;
|
|
414
602
|
//#endregion
|
|
415
603
|
//#region src/components/query/SqlEditor.d.ts
|
|
416
604
|
interface SqlEditorProps {
|
|
@@ -450,7 +638,7 @@ declare function SqlEditor({
|
|
|
450
638
|
manifestData,
|
|
451
639
|
schemas,
|
|
452
640
|
...props
|
|
453
|
-
}: SqlEditorProps):
|
|
641
|
+
}: SqlEditorProps): _$react_jsx_runtime0.JSX.Element;
|
|
454
642
|
declare function DualSqlEditor({
|
|
455
643
|
value,
|
|
456
644
|
baseValue,
|
|
@@ -463,7 +651,7 @@ declare function DualSqlEditor({
|
|
|
463
651
|
labels,
|
|
464
652
|
SetupGuide,
|
|
465
653
|
...props
|
|
466
|
-
}: DualSqlEditorProps):
|
|
654
|
+
}: DualSqlEditorProps): _$react_jsx_runtime0.JSX.Element;
|
|
467
655
|
//#endregion
|
|
468
656
|
//#region src/components/rowcount/RowCountResultView.d.ts
|
|
469
657
|
/**
|
|
@@ -518,13 +706,15 @@ interface ColumnNameCellProps {
|
|
|
518
706
|
/** The model/node data containing column information */
|
|
519
707
|
model: NodeData;
|
|
520
708
|
/** The schema diff row data for this column */
|
|
521
|
-
row: SchemaDiffRow
|
|
709
|
+
row: SchemaDiffRow;
|
|
522
710
|
/** Whether viewing a single environment (disables diff menu) */
|
|
523
711
|
singleEnv?: boolean;
|
|
524
712
|
/** Whether column-level lineage is currently being computed */
|
|
525
713
|
cllRunning?: boolean;
|
|
526
714
|
/** Whether to show the context menu (defaults to true) */
|
|
527
715
|
showMenu?: boolean;
|
|
716
|
+
/** Callback when user clicks a definition-changed badge to view SQL diff */
|
|
717
|
+
onViewCode?: () => void;
|
|
528
718
|
}
|
|
529
719
|
/**
|
|
530
720
|
* ColumnNameCell - Renders a column name with optional diff action menu
|
|
@@ -544,15 +734,21 @@ declare function ColumnNameCell({
|
|
|
544
734
|
row,
|
|
545
735
|
singleEnv,
|
|
546
736
|
cllRunning,
|
|
547
|
-
showMenu
|
|
548
|
-
|
|
737
|
+
showMenu,
|
|
738
|
+
onViewCode
|
|
739
|
+
}: ColumnNameCellProps): _$react_jsx_runtime0.JSX.Element;
|
|
549
740
|
//#endregion
|
|
550
741
|
//#region src/components/schema/SchemaView.d.ts
|
|
742
|
+
declare function SchemaLegend(): _$react_jsx_runtime0.JSX.Element;
|
|
551
743
|
interface SchemaViewProps {
|
|
552
744
|
base?: NodeData;
|
|
553
745
|
current?: NodeData;
|
|
554
746
|
enableScreenshot?: boolean;
|
|
555
747
|
showMenu?: boolean;
|
|
748
|
+
/** Per-column change status from breaking change analysis */
|
|
749
|
+
columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
|
|
750
|
+
/** Callback when user clicks a definition-changed badge to view SQL diff */
|
|
751
|
+
onViewCode?: () => void;
|
|
556
752
|
}
|
|
557
753
|
declare const SchemaView$1: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
558
754
|
declare const SingleEnvSchemaView$1: React$2.ForwardRefExoticComponent<{
|
|
@@ -629,7 +825,7 @@ interface ChangeSummaryResult {
|
|
|
629
825
|
*/
|
|
630
826
|
declare function ChangeSummary({
|
|
631
827
|
lineageGraph
|
|
632
|
-
}: ChangeSummaryProps):
|
|
828
|
+
}: ChangeSummaryProps): _$react_jsx_runtime0.JSX.Element;
|
|
633
829
|
//#endregion
|
|
634
830
|
//#region src/components/summary/SchemaSummary.d.ts
|
|
635
831
|
interface SchemaSummaryProps {
|
|
@@ -637,7 +833,7 @@ interface SchemaSummaryProps {
|
|
|
637
833
|
}
|
|
638
834
|
declare function SchemaSummary({
|
|
639
835
|
lineageGraph
|
|
640
|
-
}: SchemaSummaryProps):
|
|
836
|
+
}: SchemaSummaryProps): _$react_jsx_runtime0.JSX.Element;
|
|
641
837
|
//#endregion
|
|
642
838
|
//#region src/components/summary/utils.d.ts
|
|
643
839
|
/**
|
|
@@ -681,7 +877,7 @@ declare function calculateChangeSummary(lineageGraph: LineageGraph): ChangeSumma
|
|
|
681
877
|
* Only shows when remaining time is below the warning threshold
|
|
682
878
|
* Styled as a warning indicator to draw user attention
|
|
683
879
|
*/
|
|
684
|
-
declare function IdleTimeoutBadge():
|
|
880
|
+
declare function IdleTimeoutBadge(): _$react_jsx_runtime0.JSX.Element | null;
|
|
685
881
|
//#endregion
|
|
686
882
|
//#region src/components/top-k/TopKDiffForm.d.ts
|
|
687
883
|
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
|
|
@@ -689,7 +885,7 @@ declare function TopKDiffForm({
|
|
|
689
885
|
params,
|
|
690
886
|
onParamsChanged,
|
|
691
887
|
setIsReadyToExecute
|
|
692
|
-
}: TopKDiffFormProps):
|
|
888
|
+
}: TopKDiffFormProps): _$react_jsx_runtime0.JSX.Element;
|
|
693
889
|
//#endregion
|
|
694
890
|
//#region src/components/top-k/TopKDiffResultView.d.ts
|
|
695
891
|
/**
|
|
@@ -726,54 +922,42 @@ interface TopKDiffResultViewProps extends CreatedResultViewProps<TopKViewOptions
|
|
|
726
922
|
*/
|
|
727
923
|
declare const TopKDiffResultView: ForwardRefExoticComponent<TopKDiffResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
728
924
|
//#endregion
|
|
729
|
-
//#region src/components/ui/
|
|
730
|
-
|
|
731
|
-
/** Whether the changed-only filter is enabled */
|
|
732
|
-
changedOnly?: boolean;
|
|
733
|
-
/** Callback when the checkbox state changes */
|
|
734
|
-
onChange: () => void;
|
|
735
|
-
}
|
|
925
|
+
//#region src/components/ui/DataTypeIcon/classifyType.d.ts
|
|
926
|
+
type TypeCategory = "integer" | "number" | "text" | "boolean" | "date" | "datetime" | "time" | "binary" | "json" | "array" | "geography" | "unknown";
|
|
736
927
|
/**
|
|
737
|
-
*
|
|
928
|
+
* Classifies a raw database type string into a TypeCategory.
|
|
738
929
|
*
|
|
739
|
-
*
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* changedOnly={viewOptions.changed_only}
|
|
743
|
-
* onChange={() => setChangedOnly(!viewOptions.changed_only)}
|
|
744
|
-
* />
|
|
745
|
-
* ```
|
|
930
|
+
* - Case-insensitive
|
|
931
|
+
* - Strips parenthesized parameters before matching (e.g. VARCHAR(256) -> VARCHAR)
|
|
932
|
+
* - Special case: TINYINT(1) maps to "boolean", plain TINYINT maps to "integer"
|
|
746
933
|
*/
|
|
747
|
-
declare function
|
|
748
|
-
changedOnly,
|
|
749
|
-
onChange
|
|
750
|
-
}: ChangedOnlyCheckboxProps): react_jsx_runtime60.JSX.Element;
|
|
934
|
+
declare function classifyType(rawType: string): TypeCategory;
|
|
751
935
|
//#endregion
|
|
752
|
-
//#region src/components/ui/
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
936
|
+
//#region src/components/ui/DataTypeIcon/tooltipText.d.ts
|
|
937
|
+
interface ColumnTooltipInput {
|
|
938
|
+
name: string;
|
|
939
|
+
status?: "added" | "removed" | "type_changed" | "definition_changed" | "unchanged";
|
|
940
|
+
baseType?: string;
|
|
941
|
+
currentType?: string;
|
|
942
|
+
cllAvailable?: boolean;
|
|
759
943
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}:
|
|
944
|
+
declare function buildColumnTooltip(input: ColumnTooltipInput): string;
|
|
945
|
+
//#endregion
|
|
946
|
+
//#region src/components/ui/DataTypeIcon/index.d.ts
|
|
947
|
+
interface DataTypeIconProps {
|
|
948
|
+
type: string;
|
|
949
|
+
size?: number | string;
|
|
950
|
+
style?: CSSProperties;
|
|
951
|
+
className?: string;
|
|
952
|
+
disableTooltip?: boolean;
|
|
953
|
+
}
|
|
954
|
+
declare function DataTypeIcon({
|
|
955
|
+
type,
|
|
956
|
+
size,
|
|
957
|
+
style,
|
|
958
|
+
className,
|
|
959
|
+
disableTooltip
|
|
960
|
+
}: DataTypeIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
777
961
|
//#endregion
|
|
778
962
|
//#region src/components/ui/SquareIcon.d.ts
|
|
779
963
|
interface SquareIconProps {
|
|
@@ -785,38 +969,7 @@ interface SquareIconProps {
|
|
|
785
969
|
*/
|
|
786
970
|
declare function SquareIcon({
|
|
787
971
|
color
|
|
788
|
-
}: SquareIconProps):
|
|
789
|
-
//#endregion
|
|
790
|
-
//#region src/components/ui/ToggleSwitch.d.ts
|
|
791
|
-
interface ToggleSwitchProps {
|
|
792
|
-
/** Current toggle state */
|
|
793
|
-
value: boolean;
|
|
794
|
-
/** Callback when toggle state changes */
|
|
795
|
-
onChange: (value: boolean) => void;
|
|
796
|
-
/** Label for the "on" state */
|
|
797
|
-
textOn?: string;
|
|
798
|
-
/** Label for the "off" state */
|
|
799
|
-
textOff?: string;
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* A toggle switch component that allows switching between two values.
|
|
803
|
-
*
|
|
804
|
-
* @example
|
|
805
|
-
* ```tsx
|
|
806
|
-
* <ToggleSwitch
|
|
807
|
-
* value={isEnabled}
|
|
808
|
-
* onChange={setIsEnabled}
|
|
809
|
-
* textOff="Inline"
|
|
810
|
-
* textOn="Side by side"
|
|
811
|
-
* />
|
|
812
|
-
* ```
|
|
813
|
-
*/
|
|
814
|
-
declare function ToggleSwitch({
|
|
815
|
-
value,
|
|
816
|
-
onChange,
|
|
817
|
-
textOn,
|
|
818
|
-
textOff
|
|
819
|
-
}: ToggleSwitchProps): react_jsx_runtime60.JSX.Element;
|
|
972
|
+
}: SquareIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
820
973
|
//#endregion
|
|
821
974
|
//#region src/components/valuediff/ValueDiffDetailResultView.d.ts
|
|
822
975
|
/**
|
|
@@ -864,7 +1017,7 @@ declare function ValueDiffForm({
|
|
|
864
1017
|
params,
|
|
865
1018
|
onParamsChanged,
|
|
866
1019
|
setIsReadyToExecute
|
|
867
|
-
}: ValueDiffFormProp):
|
|
1020
|
+
}: ValueDiffFormProp): _$react_jsx_runtime0.JSX.Element;
|
|
868
1021
|
//#endregion
|
|
869
1022
|
//#region src/components/valuediff/ValueDiffResultView.d.ts
|
|
870
1023
|
/**
|
|
@@ -1069,11 +1222,78 @@ declare function ChecksViewComponent({
|
|
|
1069
1222
|
maxListSize,
|
|
1070
1223
|
listTitle,
|
|
1071
1224
|
className
|
|
1072
|
-
}: ChecksViewProps):
|
|
1225
|
+
}: ChecksViewProps): _$react_jsx_runtime0.JSX.Element;
|
|
1073
1226
|
/**
|
|
1074
1227
|
* Memoized ChecksView component for performance optimization.
|
|
1075
1228
|
*/
|
|
1076
1229
|
declare const ChecksView: React$2.MemoExoticComponent<typeof ChecksViewComponent>;
|
|
1077
1230
|
//#endregion
|
|
1078
|
-
|
|
1079
|
-
|
|
1231
|
+
//#region src/providers/contexts/ThemeContext.d.ts
|
|
1232
|
+
/**
|
|
1233
|
+
* Theme mode selection for {@link ThemeProvider}.
|
|
1234
|
+
*/
|
|
1235
|
+
type ThemeMode = "light" | "dark" | "system";
|
|
1236
|
+
/**
|
|
1237
|
+
* Theme context values exposed by {@link useRecceTheme}.
|
|
1238
|
+
*/
|
|
1239
|
+
interface ThemeContextValue {
|
|
1240
|
+
mode: ThemeMode;
|
|
1241
|
+
resolvedMode: "light" | "dark";
|
|
1242
|
+
setMode: (mode: ThemeMode) => void;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Access the theme context.
|
|
1246
|
+
*
|
|
1247
|
+
* @throws Error if used outside {@link RecceProvider}.
|
|
1248
|
+
*/
|
|
1249
|
+
declare function useRecceTheme(): ThemeContextValue;
|
|
1250
|
+
//#endregion
|
|
1251
|
+
//#region src/index.d.ts
|
|
1252
|
+
declare const VERSION = "0.2.0";
|
|
1253
|
+
//#endregion
|
|
1254
|
+
//#region src/components/lineage/lineage.d.ts
|
|
1255
|
+
/**
|
|
1256
|
+
* Convert a LineageGraph to React Flow nodes and edges with column-level lineage support
|
|
1257
|
+
*
|
|
1258
|
+
* This OSS-specific function extends the basic toReactFlow functionality with:
|
|
1259
|
+
* - Column-level lineage (CLL) visualization
|
|
1260
|
+
* - Dynamic node heights based on column count
|
|
1261
|
+
* - Column nodes as child nodes within parent model nodes
|
|
1262
|
+
*
|
|
1263
|
+
* @param lineageGraph - The lineage graph to convert
|
|
1264
|
+
* @param options - Conversion options
|
|
1265
|
+
* @param options.selectedNodes - Optional filter for which nodes to include
|
|
1266
|
+
* @param options.cll - Column-level lineage data for adding column nodes
|
|
1267
|
+
* @param options.existingPositions - Map of node IDs to their existing positions. If provided, nodes will preserve their positions and layout will be skipped if all nodes have positions.
|
|
1268
|
+
* @returns Tuple of [nodes, edges, nodeColumnSetMap] where nodeColumnSetMap tracks columns per node
|
|
1269
|
+
*
|
|
1270
|
+
* @example
|
|
1271
|
+
* ```tsx
|
|
1272
|
+
* const [nodes, edges, columnSetMap] = toReactFlow(lineageGraph, {
|
|
1273
|
+
* selectedNodes: ["model.project.orders"],
|
|
1274
|
+
* cll: columnLineageData,
|
|
1275
|
+
* });
|
|
1276
|
+
* ```
|
|
1277
|
+
*/
|
|
1278
|
+
declare function toReactFlow(lineageGraph: LineageGraph, options?: {
|
|
1279
|
+
selectedNodes?: string[];
|
|
1280
|
+
cll?: ColumnLineageData;
|
|
1281
|
+
existingPositions?: Map<string, {
|
|
1282
|
+
x: number;
|
|
1283
|
+
y: number;
|
|
1284
|
+
}>;
|
|
1285
|
+
}): [LineageGraphNodes[], LineageGraphEdge[], NodeColumnSetMap];
|
|
1286
|
+
/**
|
|
1287
|
+
* Apply dagre layout to lineage graph nodes and edges
|
|
1288
|
+
*
|
|
1289
|
+
* This is a thin wrapper around layoutWithDagre from @datarecce/ui
|
|
1290
|
+
* that provides the dagre library instance.
|
|
1291
|
+
*
|
|
1292
|
+
* @param nodes - Array of lineage graph nodes
|
|
1293
|
+
* @param edges - Array of lineage graph edges
|
|
1294
|
+
* @param direction - Layout direction ("LR" for left-to-right, "TB" for top-to-bottom)
|
|
1295
|
+
*/
|
|
1296
|
+
declare const layout: (nodes: LineageGraphNodes[], edges: LineageGraphEdge[], direction?: string) => void;
|
|
1297
|
+
//#endregion
|
|
1298
|
+
export { SetupConnectionGuide as $, getIconForChangeStatus as A, CheckPageLoadingOss as At, SchemaView$1 as B, FIT_VIEW_PADDING as Bt, TopKDiffResultView as C, LineagePageOss as Ct, IdleTimeoutBadge as D, HistogramDiffForm as Dt, TopKDiffForm as E, HistogramResultViewProps as Et, ChangeSummaryResult as F, Main as Ft, RowCountDiffRun as G, ColumnNameCell as H, ColumnChangeResult as I, MainLayout as It, RowCountRun as J, RowCountResultView as K, NODE_CHANGE_STATUS_MSGS as L, EnvInfo as Lt, ChangeSummary as M, CheckListOss as Mt, ChangeStatus as N, CheckEmptyStateOss as Nt, calculateChangeSummary as O, supportsHistogramDiff as Ot, ChangeSummaryProps as P, CheckDetailOss as Pt, SqlEditorProps as Q, HistoryToggle as R, DIM_FILTER as Rt, classifyType as S, SchemaViewProps$1 as St, TopKDiffRun as T, HistogramDiffRun as Tt, ColumnNameCellProps as U, SingleEnvSchemaView$1 as V, LEGIBLE_MIN_ZOOM as Vt, RowCountDiffResultView as W, DualSqlEditorProps as X, DualSqlEditor as Y, SqlEditor as Z, DataTypeIcon as _, LineageViewNotification as _t, ChecksView as a, QueryFormProps as at, buildColumnTooltip as b, NodeViewNodeData as bt, ValueDiffResultViewProps as c, ProfileDiffResultView as ct, ValueDiffFormParams as d, ProfileResultViewProps as dt, SetupConnectionGuideProps as et, ValueDiffDetailResultView as f, ProfileRun as ft, SquareIconProps as g, RecceNotification as gt, SquareIcon as h, LearnHowLink as ht, useRecceTheme as i, QueryForm$1 as it, SchemaSummary as j, CheckPageContentOss as jt, calculateColumnChange as k, ErrorBoundary$1 as kt, ValueDiffRun as l, ProfileDiffRun as lt, ValueDiffDetailRun as m, ProfileDiffFormParams as mt, toReactFlow as n, QueryResultViewProps as nt, ChecksViewProps as o, QueryDiffResultView as ot, ValueDiffDetailResultViewProps as p, ProfileDiffForm as pt, RowCountResultViewProps as q, VERSION as r, QueryPageOss as rt, ValueDiffResultView as s, QueryDiffResultViewProps as st, layout as t, QueryResultView as tt, ValueDiffForm as u, ProfileResultView as ut, DataTypeIconProps as v, NotificationProps as vt, TopKDiffResultViewProps as w, HistogramDiffResultView as wt, TypeCategory as x, NodeViewProps as xt, ColumnTooltipInput as y, NodeView as yt, SchemaLegend as z, EXPLORE_MIN_ZOOM as zt };
|
|
1299
|
+
//# sourceMappingURL=lineage-DsKqx9yh.d.ts.map
|