@datarecce/ui 0.2.0 → 0.2.1-nightly.20260410
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-DkDGa1jY.js +7 -0
- package/dist/AuthModal-DkDGa1jY.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-CyDIiyNR.d.ts} +18 -18
- package/dist/RunProgress-CyDIiyNR.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-C-WArAED.d.ts} +301 -103
- package/dist/SplitPane-C-WArAED.d.ts.map +1 -0
- package/dist/advanced.d.ts +34 -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-E1dkaTi_.js +3 -0
- package/dist/api-E1dkaTi_.js.map +1 -0
- package/dist/{api-ZZ4cc9b9.d.ts → api-ZsJanCwW.d.ts} +27 -28
- package/dist/api-ZsJanCwW.d.ts.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-BVyYwVMf.js +3 -0
- package/dist/fetchClient-BVyYwVMf.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-h_fw6R9U.d.ts → index-3E87oNEi.d.ts} +43 -8
- package/dist/index-3E87oNEi.d.ts.map +1 -0
- package/dist/{index-o48TPoFN.d.ts → index-B5W4Cu7o.d.ts} +38 -28
- package/dist/index-B5W4Cu7o.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/{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-DVoQsx5c.d.ts → index-CaSERvsu.d.ts} +148 -146
- package/dist/index-CaSERvsu.d.ts.map +1 -0
- package/dist/{index-Ba3hp2Ng.d.ts → index-D2OTg1N4.d.ts} +92 -91
- package/dist/index-D2OTg1N4.d.ts.map +1 -0
- package/dist/{index-DTCpHvX_.d.ts → index-DCbl1RRQ.d.ts} +12 -11
- package/dist/index-DCbl1RRQ.d.ts.map +1 -0
- package/dist/{index-BFkbe0aF.d.ts → index-ielAdd0Z.d.ts} +21 -15
- package/dist/index-ielAdd0Z.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-Ch_8ckjl.d.ts} +86 -73
- package/dist/instanceInfo-Ch_8ckjl.d.ts.map +1 -0
- package/dist/keepAlive-DbC0X4zr.js +3 -0
- package/dist/keepAlive-DbC0X4zr.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-Bprdx2yV.d.ts} +398 -168
- package/dist/lineage-Bprdx2yV.d.ts.map +1 -0
- package/dist/{primitives-CgGUvwHB.d.ts → primitives-DO8U1w1D.d.ts} +197 -22
- package/dist/primitives-DO8U1w1D.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-9c_XVr7Z.js +12 -0
- package/dist/src-9c_XVr7Z.js.map +1 -0
- package/dist/style.css +308 -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-CFbNxrx2.d.ts → types-BlAAcT0V.d.ts} +7 -7
- package/dist/types-BlAAcT0V.d.ts.map +1 -0
- package/dist/{types-CZre3j02.d.ts → types-EUGeM5p7.d.ts} +15 -4
- package/dist/types-EUGeM5p7.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-BJxZkzLz.js +3 -0
- package/dist/utils-BJxZkzLz.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,55 @@
|
|
|
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-Ch_8ckjl.js";
|
|
3
|
+
import { i as LineageGraph, l as LineageGraphNodes, s as LineageGraphEdge } from "./types-EUGeM5p7.js";
|
|
4
|
+
import { u as NodeColumnSetMap } from "./index-DCbl1RRQ.js";
|
|
5
|
+
import { X as CheckDetailTab, at as CheckActionType, it as CheckAction, p as SchemaDiffRow } from "./SplitPane-C-WArAED.js";
|
|
6
|
+
import { m as Check$1 } from "./index-D2OTg1N4.js";
|
|
7
|
+
import { o as RunFormProps } from "./types-BlAAcT0V.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/computeColumnAncestry.d.ts
|
|
19
|
+
interface ColumnAnnotation {
|
|
20
|
+
column: string;
|
|
21
|
+
isImpacted: boolean;
|
|
22
|
+
transformationType?: string;
|
|
23
|
+
changeStatus?: "added" | "removed" | "modified";
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/lineage/config/zoomConstants.d.ts
|
|
27
|
+
/**
|
|
28
|
+
* Zoom and display constants for the lineage view.
|
|
29
|
+
*
|
|
30
|
+
* LEGIBLE_MIN_ZOOM: Floor for fitView() calls — ensures node labels remain
|
|
31
|
+
* readable on initial load. At 300px node width, 0.35x renders ~105px on screen.
|
|
32
|
+
*
|
|
33
|
+
* EXPLORE_MIN_ZOOM: Floor for manual zoom — power users can zoom out further
|
|
34
|
+
* to see the full graph overview.
|
|
35
|
+
*
|
|
36
|
+
* FIT_VIEW_PADDING: Breathing room around fitted nodes so they don't touch
|
|
37
|
+
* the viewport edge.
|
|
38
|
+
*
|
|
39
|
+
* DIM_FILTER: CSS filter applied to non-highlighted nodes/edges. Uses 0.4
|
|
40
|
+
* opacity (not 0.2) so graph structure remains visible at any zoom level.
|
|
41
|
+
*/
|
|
42
|
+
/** Minimum zoom for fitView — labels remain readable */
|
|
43
|
+
declare const LEGIBLE_MIN_ZOOM = 0.35;
|
|
44
|
+
/** Minimum zoom for manual exploration */
|
|
45
|
+
declare const EXPLORE_MIN_ZOOM = 0.1;
|
|
46
|
+
/** Padding for fitView calls */
|
|
47
|
+
declare const FIT_VIEW_PADDING = 0.15;
|
|
48
|
+
/** CSS filter for dimmed (non-highlighted) nodes and edges */
|
|
49
|
+
declare const DIM_FILTER = "opacity(0.4) grayscale(40%)";
|
|
50
|
+
//#endregion
|
|
20
51
|
//#region src/components/app/EnvInfo.d.ts
|
|
21
|
-
declare function EnvInfo():
|
|
52
|
+
declare function EnvInfo(): _$react_jsx_runtime0.JSX.Element;
|
|
22
53
|
//#endregion
|
|
23
54
|
//#region src/components/app/MainLayout.d.ts
|
|
24
55
|
interface MainLayoutProps {
|
|
@@ -29,7 +60,7 @@ interface MainLayoutProps {
|
|
|
29
60
|
declare function MainLayout({
|
|
30
61
|
children,
|
|
31
62
|
lineage
|
|
32
|
-
}: MainLayoutProps):
|
|
63
|
+
}: MainLayoutProps): _$react_jsx_runtime0.JSX.Element;
|
|
33
64
|
interface MainProps {
|
|
34
65
|
children: ReactNode;
|
|
35
66
|
lineage: ReactNode;
|
|
@@ -42,7 +73,7 @@ declare function Main({
|
|
|
42
73
|
lineage,
|
|
43
74
|
isLineageRoute,
|
|
44
75
|
disableInternalHistory
|
|
45
|
-
}: MainProps):
|
|
76
|
+
}: MainProps): _$react_jsx_runtime0.JSX.Element;
|
|
46
77
|
//#endregion
|
|
47
78
|
//#region src/components/check/CheckDetailOss.d.ts
|
|
48
79
|
interface CheckDetailProps {
|
|
@@ -55,7 +86,7 @@ declare function CheckDetailOss({
|
|
|
55
86
|
}: CheckDetailProps): ReactNode;
|
|
56
87
|
//#endregion
|
|
57
88
|
//#region src/components/check/CheckEmptyStateOss.d.ts
|
|
58
|
-
declare const CheckEmptyStateOss: () =>
|
|
89
|
+
declare const CheckEmptyStateOss: () => _$react_jsx_runtime0.JSX.Element;
|
|
59
90
|
//#endregion
|
|
60
91
|
//#region src/components/check/CheckListOss.d.ts
|
|
61
92
|
declare const CheckListOss: ({
|
|
@@ -68,7 +99,7 @@ declare const CheckListOss: ({
|
|
|
68
99
|
selectedItem: string | null;
|
|
69
100
|
onCheckSelected: (checkId: string) => void;
|
|
70
101
|
onChecksReordered: (source: number, destination: number) => void;
|
|
71
|
-
}) =>
|
|
102
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
72
103
|
//#endregion
|
|
73
104
|
//#region src/components/check/CheckPageContentOss.d.ts
|
|
74
105
|
declare const CheckPageContentOss: () => ReactNode;
|
|
@@ -80,13 +111,13 @@ declare const CheckPageContentOss: () => ReactNode;
|
|
|
80
111
|
declare const CheckPageLoadingOss: () => ReactNode;
|
|
81
112
|
//#endregion
|
|
82
113
|
//#region src/components/errorboundary/ErrorBoundary.d.ts
|
|
83
|
-
declare const ErrorBoundary: ({
|
|
114
|
+
declare const ErrorBoundary$1: ({
|
|
84
115
|
children,
|
|
85
116
|
fallback
|
|
86
117
|
}: {
|
|
87
118
|
children: ReactNode;
|
|
88
119
|
fallback?: React$2.ReactElement | FallbackRender | undefined;
|
|
89
|
-
}) =>
|
|
120
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
90
121
|
//#endregion
|
|
91
122
|
//#region src/components/histogram/HistogramDiffForm.d.ts
|
|
92
123
|
/**
|
|
@@ -114,7 +145,7 @@ declare function HistogramDiffForm({
|
|
|
114
145
|
params,
|
|
115
146
|
onParamsChanged,
|
|
116
147
|
setIsReadyToExecute
|
|
117
|
-
}: HistogramDiffEditProps):
|
|
148
|
+
}: HistogramDiffEditProps): _$react_jsx_runtime0.JSX.Element;
|
|
118
149
|
//#endregion
|
|
119
150
|
//#region src/components/histogram/HistogramResultView.d.ts
|
|
120
151
|
/**
|
|
@@ -144,76 +175,241 @@ interface HistogramResultViewProps extends CreatedResultViewProps<unknown> {
|
|
|
144
175
|
*/
|
|
145
176
|
declare const HistogramDiffResultView: ForwardRefExoticComponent<HistogramResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
146
177
|
//#endregion
|
|
147
|
-
//#region src/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
178
|
+
//#region src/components/lineage/LineagePageOss.d.ts
|
|
179
|
+
declare function LineagePageOss(): _$react_jsx_runtime0.JSX.Element;
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/lineage/NodeView.d.ts
|
|
182
|
+
/**
|
|
183
|
+
* Node data structure for NodeView.
|
|
184
|
+
* Represents the data needed to display node details.
|
|
185
|
+
*/
|
|
186
|
+
interface NodeViewNodeData {
|
|
187
|
+
id: string;
|
|
188
|
+
data: {
|
|
189
|
+
name: string;
|
|
190
|
+
resourceType?: string;
|
|
191
|
+
changeStatus?: string;
|
|
192
|
+
from?: string;
|
|
193
|
+
data: {
|
|
194
|
+
base?: NodeData;
|
|
195
|
+
current?: NodeData;
|
|
196
|
+
};
|
|
197
|
+
change?: {
|
|
198
|
+
category: string;
|
|
199
|
+
columns: Record<string, "added" | "removed" | "modified"> | null;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
160
202
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
203
|
+
/**
|
|
204
|
+
* Run type icon configuration for dependency injection.
|
|
205
|
+
* Maps run type names to their icon components.
|
|
206
|
+
*/
|
|
207
|
+
interface RunTypeIconMap {
|
|
208
|
+
query?: ComponentType<{
|
|
209
|
+
fontSize?: string;
|
|
210
|
+
}>;
|
|
211
|
+
row_count?: ComponentType<{
|
|
212
|
+
fontSize?: string;
|
|
213
|
+
}>;
|
|
214
|
+
row_count_diff?: ComponentType<{
|
|
215
|
+
fontSize?: string;
|
|
216
|
+
}>;
|
|
217
|
+
profile?: ComponentType<{
|
|
218
|
+
fontSize?: string;
|
|
219
|
+
}>;
|
|
220
|
+
profile_diff?: ComponentType<{
|
|
221
|
+
fontSize?: string;
|
|
222
|
+
}>;
|
|
223
|
+
query_diff?: ComponentType<{
|
|
224
|
+
fontSize?: string;
|
|
225
|
+
}>;
|
|
226
|
+
value_diff?: ComponentType<{
|
|
227
|
+
fontSize?: string;
|
|
228
|
+
}>;
|
|
229
|
+
top_k_diff?: ComponentType<{
|
|
230
|
+
fontSize?: string;
|
|
231
|
+
}>;
|
|
232
|
+
histogram_diff?: ComponentType<{
|
|
233
|
+
fontSize?: string;
|
|
234
|
+
}>;
|
|
235
|
+
schema_diff?: ComponentType<{
|
|
236
|
+
fontSize?: string;
|
|
237
|
+
}>;
|
|
238
|
+
sandbox?: ComponentType<{
|
|
239
|
+
fontSize?: string;
|
|
240
|
+
}>;
|
|
169
241
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
242
|
+
/**
|
|
243
|
+
* Props for the SchemaView component (diff mode).
|
|
244
|
+
*/
|
|
245
|
+
interface SchemaViewProps$1 {
|
|
246
|
+
base?: NodeData;
|
|
247
|
+
current?: NodeData;
|
|
248
|
+
columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
|
|
249
|
+
onViewCode?: () => void;
|
|
173
250
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
251
|
+
/**
|
|
252
|
+
* Props for the SingleEnvSchemaView component.
|
|
253
|
+
*/
|
|
254
|
+
interface SingleEnvSchemaViewProps {
|
|
255
|
+
current?: NodeData;
|
|
177
256
|
}
|
|
178
257
|
/**
|
|
179
|
-
*
|
|
258
|
+
* Props for the NotificationComponent.
|
|
180
259
|
*/
|
|
181
|
-
|
|
260
|
+
interface NotificationComponentProps {
|
|
261
|
+
onClose: () => void;
|
|
262
|
+
children?: ReactNode;
|
|
263
|
+
}
|
|
182
264
|
/**
|
|
183
|
-
*
|
|
184
|
-
* Uses merged columns: Index (merged base/current), Name, Type (merged with badges)
|
|
265
|
+
* Props for the ConnectionPopoverWrapper.
|
|
185
266
|
*/
|
|
186
|
-
|
|
267
|
+
interface ConnectionPopoverWrapperProps {
|
|
268
|
+
display: boolean;
|
|
269
|
+
children: ReactNode;
|
|
270
|
+
}
|
|
187
271
|
/**
|
|
188
|
-
*
|
|
272
|
+
* Props for the SandboxDialog component.
|
|
189
273
|
*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
274
|
+
interface SandboxDialogProps {
|
|
275
|
+
isOpen: boolean;
|
|
276
|
+
onClose: () => void;
|
|
277
|
+
current?: NodeData;
|
|
278
|
+
}
|
|
193
279
|
/**
|
|
194
|
-
*
|
|
280
|
+
* Callbacks for action button clicks.
|
|
281
|
+
* Used for dependency injection of action handlers.
|
|
195
282
|
*/
|
|
196
|
-
|
|
283
|
+
interface NodeViewActionCallbacks {
|
|
284
|
+
/** Called when Query button is clicked */
|
|
285
|
+
onQueryClick?: () => void;
|
|
286
|
+
/** Called when Row Count button is clicked */
|
|
287
|
+
onRowCountClick?: () => void;
|
|
288
|
+
/** Called when Row Count Diff button is clicked */
|
|
289
|
+
onRowCountDiffClick?: () => void;
|
|
290
|
+
/** Called when Profile button is clicked */
|
|
291
|
+
onProfileClick?: () => void;
|
|
292
|
+
/** Called when Profile Diff button is clicked */
|
|
293
|
+
onProfileDiffClick?: () => void;
|
|
294
|
+
/** Called when Query Diff button is clicked */
|
|
295
|
+
onQueryDiffClick?: () => void;
|
|
296
|
+
/** Called when Value Diff button is clicked */
|
|
297
|
+
onValueDiffClick?: () => void;
|
|
298
|
+
/** Called when Top-K Diff button is clicked */
|
|
299
|
+
onTopKDiffClick?: () => void;
|
|
300
|
+
/** Called when Histogram Diff button is clicked */
|
|
301
|
+
onHistogramDiffClick?: () => void;
|
|
302
|
+
/** Called when Add Schema Diff button is clicked */
|
|
303
|
+
onAddSchemaDiffClick?: () => void;
|
|
304
|
+
/** Called when Sandbox button is clicked */
|
|
305
|
+
onSandboxClick?: () => void;
|
|
306
|
+
}
|
|
197
307
|
/**
|
|
198
|
-
*
|
|
308
|
+
* Props for NodeView component.
|
|
309
|
+
*
|
|
310
|
+
* Uses dependency injection for:
|
|
311
|
+
* - Schema view components (for different consumers)
|
|
312
|
+
* - SQL view component (NodeSqlView)
|
|
313
|
+
* - Action button icons
|
|
314
|
+
* - Notification components
|
|
315
|
+
* - Connection popover wrapper
|
|
199
316
|
*/
|
|
200
|
-
interface
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
317
|
+
interface NodeViewProps<TNode extends NodeViewNodeData = NodeViewNodeData> {
|
|
318
|
+
/** The node to display */
|
|
319
|
+
node: TNode;
|
|
320
|
+
/** Callback when close button is clicked */
|
|
321
|
+
onCloseNode: () => void;
|
|
322
|
+
/** Whether in single environment mode */
|
|
323
|
+
isSingleEnv: boolean;
|
|
324
|
+
/** Feature toggles for conditional UI */
|
|
325
|
+
featureToggles?: {
|
|
326
|
+
mode?: string | null;
|
|
327
|
+
disableDatabaseQuery?: boolean;
|
|
328
|
+
};
|
|
329
|
+
/** Schema view component for diff mode */
|
|
330
|
+
SchemaView?: ComponentType<SchemaViewProps$1>;
|
|
331
|
+
/** Schema view component for single env mode */
|
|
332
|
+
SingleEnvSchemaView?: ComponentType<SingleEnvSchemaViewProps>;
|
|
333
|
+
/** Node SQL view component */
|
|
334
|
+
NodeSqlView?: ComponentType<{
|
|
335
|
+
node: TNode;
|
|
336
|
+
}>;
|
|
337
|
+
/** Row count diff tag component */
|
|
338
|
+
RowCountDiffTag?: ComponentType<{
|
|
339
|
+
node: TNode;
|
|
340
|
+
onRefresh?: () => void;
|
|
341
|
+
}>;
|
|
342
|
+
/** Row count tag component (single env) */
|
|
343
|
+
RowCountTag?: ComponentType<{
|
|
344
|
+
node: TNode;
|
|
345
|
+
onRefresh?: () => void;
|
|
346
|
+
}>;
|
|
347
|
+
/** Resource type tag component */
|
|
348
|
+
ResourceTypeTag?: ComponentType<{
|
|
349
|
+
node: TNode;
|
|
350
|
+
}>;
|
|
351
|
+
/** Notification component for single env mode */
|
|
352
|
+
NotificationComponent?: ComponentType<NotificationComponentProps>;
|
|
353
|
+
/** Wrapper component for buttons that need connection popover */
|
|
354
|
+
ConnectionPopoverWrapper?: ComponentType<ConnectionPopoverWrapperProps>;
|
|
355
|
+
/** Sandbox dialog component */
|
|
356
|
+
SandboxDialog?: ComponentType<SandboxDialogProps>;
|
|
357
|
+
/** Map of run type names to icon components */
|
|
358
|
+
runTypeIcons?: RunTypeIconMap;
|
|
359
|
+
/** Action callbacks for button clicks */
|
|
360
|
+
actionCallbacks?: NodeViewActionCallbacks;
|
|
361
|
+
/** Check if an action is available */
|
|
362
|
+
isActionAvailable?: (runType: string) => boolean;
|
|
204
363
|
}
|
|
205
364
|
/**
|
|
206
|
-
*
|
|
365
|
+
* NodeView Component
|
|
207
366
|
*
|
|
208
|
-
*
|
|
367
|
+
* Displays detailed information about a lineage node including:
|
|
368
|
+
* - Node name and metadata
|
|
369
|
+
* - Action buttons for various operations (Query, Profile, Diff, etc.)
|
|
370
|
+
* - Tabs for Columns and Code views
|
|
371
|
+
*
|
|
372
|
+
* Uses dependency injection for:
|
|
373
|
+
* - Schema view components (different for OSS vs Cloud)
|
|
374
|
+
* - Action button handlers
|
|
375
|
+
* - Icon components from run registry
|
|
376
|
+
* - Connection popover for database setup prompts
|
|
377
|
+
*
|
|
378
|
+
* @example
|
|
379
|
+
* ```tsx
|
|
380
|
+
* import { NodeView } from '@datarecce/ui/advanced';
|
|
381
|
+
*
|
|
382
|
+
* <NodeView
|
|
383
|
+
* node={selectedNode}
|
|
384
|
+
* onCloseNode={() => setSelectedNode(null)}
|
|
385
|
+
* isSingleEnv={false}
|
|
386
|
+
* SchemaView={MySchemaView}
|
|
387
|
+
* NodeSqlView={MyNodeSqlView}
|
|
388
|
+
* actionCallbacks={{
|
|
389
|
+
* onQueryClick: handleQuery,
|
|
390
|
+
* onProfileDiffClick: handleProfileDiff,
|
|
391
|
+
* }}
|
|
392
|
+
* />
|
|
393
|
+
* ```
|
|
209
394
|
*/
|
|
210
|
-
declare function
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
395
|
+
declare function NodeView<TNode extends NodeViewNodeData>({
|
|
396
|
+
node,
|
|
397
|
+
onCloseNode,
|
|
398
|
+
isSingleEnv,
|
|
399
|
+
featureToggles,
|
|
400
|
+
SchemaView,
|
|
401
|
+
SingleEnvSchemaView,
|
|
402
|
+
NodeSqlView,
|
|
403
|
+
RowCountDiffTag,
|
|
404
|
+
RowCountTag,
|
|
405
|
+
ResourceTypeTag,
|
|
406
|
+
NotificationComponent,
|
|
407
|
+
ConnectionPopoverWrapper,
|
|
408
|
+
SandboxDialog,
|
|
409
|
+
runTypeIcons,
|
|
410
|
+
actionCallbacks,
|
|
411
|
+
isActionAvailable
|
|
412
|
+
}: NodeViewProps<TNode>): _$react_jsx_runtime0.JSX.Element;
|
|
217
413
|
//#endregion
|
|
218
414
|
//#region src/components/lineage/styles.d.ts
|
|
219
415
|
/**
|
|
@@ -229,14 +425,14 @@ interface NotificationProps {
|
|
|
229
425
|
declare function LineageViewNotification({
|
|
230
426
|
notification,
|
|
231
427
|
type
|
|
232
|
-
}: NotificationProps):
|
|
428
|
+
}: NotificationProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
233
429
|
//#endregion
|
|
234
430
|
//#region src/components/onboarding-guide/Notification.d.ts
|
|
235
431
|
declare const RecceNotification: (props: PropsWithChildren<{
|
|
236
432
|
onClose: () => void;
|
|
237
433
|
align?: string;
|
|
238
|
-
}>) =>
|
|
239
|
-
declare const LearnHowLink: () =>
|
|
434
|
+
}>) => _$react_jsx_runtime0.JSX.Element;
|
|
435
|
+
declare const LearnHowLink: () => _$react_jsx_runtime0.JSX.Element;
|
|
240
436
|
//#endregion
|
|
241
437
|
//#region src/components/profile/ProfileDiffForm.d.ts
|
|
242
438
|
interface ProfileDiffFormParams {
|
|
@@ -249,7 +445,7 @@ declare function ProfileDiffForm({
|
|
|
249
445
|
params,
|
|
250
446
|
onParamsChanged,
|
|
251
447
|
setIsReadyToExecute
|
|
252
|
-
}: ProfileDiffFormProp):
|
|
448
|
+
}: ProfileDiffFormProp): _$react_jsx_runtime0.JSX.Element;
|
|
253
449
|
//#endregion
|
|
254
450
|
//#region src/components/profile/ProfileResultView.d.ts
|
|
255
451
|
/**
|
|
@@ -358,10 +554,10 @@ declare const QueryForm$1: ({
|
|
|
358
554
|
defaultPrimaryKeys,
|
|
359
555
|
onPrimaryKeysChange,
|
|
360
556
|
...props
|
|
361
|
-
}: QueryFormProps) =>
|
|
557
|
+
}: QueryFormProps) => _$react_jsx_runtime0.JSX.Element;
|
|
362
558
|
//#endregion
|
|
363
559
|
//#region src/components/query/QueryPageOss.d.ts
|
|
364
|
-
declare const QueryPageOss: () =>
|
|
560
|
+
declare const QueryPageOss: () => _$react_jsx_runtime0.JSX.Element;
|
|
365
561
|
//#endregion
|
|
366
562
|
//#region src/components/query/QueryResultView.d.ts
|
|
367
563
|
type QueryRun = Extract<Run, {
|
|
@@ -410,7 +606,7 @@ interface SetupConnectionGuideProps {
|
|
|
410
606
|
*/
|
|
411
607
|
declare function SetupConnectionGuide({
|
|
412
608
|
supportCalendarUrl
|
|
413
|
-
}: SetupConnectionGuideProps):
|
|
609
|
+
}: SetupConnectionGuideProps): _$react_jsx_runtime0.JSX.Element;
|
|
414
610
|
//#endregion
|
|
415
611
|
//#region src/components/query/SqlEditor.d.ts
|
|
416
612
|
interface SqlEditorProps {
|
|
@@ -450,7 +646,7 @@ declare function SqlEditor({
|
|
|
450
646
|
manifestData,
|
|
451
647
|
schemas,
|
|
452
648
|
...props
|
|
453
|
-
}: SqlEditorProps):
|
|
649
|
+
}: SqlEditorProps): _$react_jsx_runtime0.JSX.Element;
|
|
454
650
|
declare function DualSqlEditor({
|
|
455
651
|
value,
|
|
456
652
|
baseValue,
|
|
@@ -463,7 +659,7 @@ declare function DualSqlEditor({
|
|
|
463
659
|
labels,
|
|
464
660
|
SetupGuide,
|
|
465
661
|
...props
|
|
466
|
-
}: DualSqlEditorProps):
|
|
662
|
+
}: DualSqlEditorProps): _$react_jsx_runtime0.JSX.Element;
|
|
467
663
|
//#endregion
|
|
468
664
|
//#region src/components/rowcount/RowCountResultView.d.ts
|
|
469
665
|
/**
|
|
@@ -518,13 +714,15 @@ interface ColumnNameCellProps {
|
|
|
518
714
|
/** The model/node data containing column information */
|
|
519
715
|
model: NodeData;
|
|
520
716
|
/** The schema diff row data for this column */
|
|
521
|
-
row: SchemaDiffRow
|
|
717
|
+
row: SchemaDiffRow;
|
|
522
718
|
/** Whether viewing a single environment (disables diff menu) */
|
|
523
719
|
singleEnv?: boolean;
|
|
524
720
|
/** Whether column-level lineage is currently being computed */
|
|
525
721
|
cllRunning?: boolean;
|
|
526
722
|
/** Whether to show the context menu (defaults to true) */
|
|
527
723
|
showMenu?: boolean;
|
|
724
|
+
/** Callback when user clicks a definition-changed badge to view SQL diff */
|
|
725
|
+
onViewCode?: () => void;
|
|
528
726
|
}
|
|
529
727
|
/**
|
|
530
728
|
* ColumnNameCell - Renders a column name with optional diff action menu
|
|
@@ -544,15 +742,21 @@ declare function ColumnNameCell({
|
|
|
544
742
|
row,
|
|
545
743
|
singleEnv,
|
|
546
744
|
cllRunning,
|
|
547
|
-
showMenu
|
|
548
|
-
|
|
745
|
+
showMenu,
|
|
746
|
+
onViewCode
|
|
747
|
+
}: ColumnNameCellProps): _$react_jsx_runtime0.JSX.Element;
|
|
549
748
|
//#endregion
|
|
550
749
|
//#region src/components/schema/SchemaView.d.ts
|
|
750
|
+
declare function SchemaLegend(): _$react_jsx_runtime0.JSX.Element;
|
|
551
751
|
interface SchemaViewProps {
|
|
552
752
|
base?: NodeData;
|
|
553
753
|
current?: NodeData;
|
|
554
754
|
enableScreenshot?: boolean;
|
|
555
755
|
showMenu?: boolean;
|
|
756
|
+
/** Per-column change status from breaking change analysis */
|
|
757
|
+
columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
|
|
758
|
+
/** Callback when user clicks a definition-changed badge to view SQL diff */
|
|
759
|
+
onViewCode?: () => void;
|
|
556
760
|
}
|
|
557
761
|
declare const SchemaView$1: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
|
|
558
762
|
declare const SingleEnvSchemaView$1: React$2.ForwardRefExoticComponent<{
|
|
@@ -629,7 +833,7 @@ interface ChangeSummaryResult {
|
|
|
629
833
|
*/
|
|
630
834
|
declare function ChangeSummary({
|
|
631
835
|
lineageGraph
|
|
632
|
-
}: ChangeSummaryProps):
|
|
836
|
+
}: ChangeSummaryProps): _$react_jsx_runtime0.JSX.Element;
|
|
633
837
|
//#endregion
|
|
634
838
|
//#region src/components/summary/SchemaSummary.d.ts
|
|
635
839
|
interface SchemaSummaryProps {
|
|
@@ -637,7 +841,7 @@ interface SchemaSummaryProps {
|
|
|
637
841
|
}
|
|
638
842
|
declare function SchemaSummary({
|
|
639
843
|
lineageGraph
|
|
640
|
-
}: SchemaSummaryProps):
|
|
844
|
+
}: SchemaSummaryProps): _$react_jsx_runtime0.JSX.Element;
|
|
641
845
|
//#endregion
|
|
642
846
|
//#region src/components/summary/utils.d.ts
|
|
643
847
|
/**
|
|
@@ -681,7 +885,7 @@ declare function calculateChangeSummary(lineageGraph: LineageGraph): ChangeSumma
|
|
|
681
885
|
* Only shows when remaining time is below the warning threshold
|
|
682
886
|
* Styled as a warning indicator to draw user attention
|
|
683
887
|
*/
|
|
684
|
-
declare function IdleTimeoutBadge():
|
|
888
|
+
declare function IdleTimeoutBadge(): _$react_jsx_runtime0.JSX.Element | null;
|
|
685
889
|
//#endregion
|
|
686
890
|
//#region src/components/top-k/TopKDiffForm.d.ts
|
|
687
891
|
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
|
|
@@ -689,7 +893,7 @@ declare function TopKDiffForm({
|
|
|
689
893
|
params,
|
|
690
894
|
onParamsChanged,
|
|
691
895
|
setIsReadyToExecute
|
|
692
|
-
}: TopKDiffFormProps):
|
|
896
|
+
}: TopKDiffFormProps): _$react_jsx_runtime0.JSX.Element;
|
|
693
897
|
//#endregion
|
|
694
898
|
//#region src/components/top-k/TopKDiffResultView.d.ts
|
|
695
899
|
/**
|
|
@@ -726,54 +930,42 @@ interface TopKDiffResultViewProps extends CreatedResultViewProps<TopKViewOptions
|
|
|
726
930
|
*/
|
|
727
931
|
declare const TopKDiffResultView: ForwardRefExoticComponent<TopKDiffResultViewProps & RefAttributes<HTMLDivElement>>;
|
|
728
932
|
//#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
|
-
}
|
|
933
|
+
//#region src/components/ui/DataTypeIcon/classifyType.d.ts
|
|
934
|
+
type TypeCategory = "integer" | "number" | "text" | "boolean" | "date" | "datetime" | "time" | "binary" | "json" | "array" | "geography" | "unknown";
|
|
736
935
|
/**
|
|
737
|
-
*
|
|
936
|
+
* Classifies a raw database type string into a TypeCategory.
|
|
738
937
|
*
|
|
739
|
-
*
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* changedOnly={viewOptions.changed_only}
|
|
743
|
-
* onChange={() => setChangedOnly(!viewOptions.changed_only)}
|
|
744
|
-
* />
|
|
745
|
-
* ```
|
|
938
|
+
* - Case-insensitive
|
|
939
|
+
* - Strips parenthesized parameters before matching (e.g. VARCHAR(256) -> VARCHAR)
|
|
940
|
+
* - Special case: TINYINT(1) maps to "boolean", plain TINYINT maps to "integer"
|
|
746
941
|
*/
|
|
747
|
-
declare function
|
|
748
|
-
changedOnly,
|
|
749
|
-
onChange
|
|
750
|
-
}: ChangedOnlyCheckboxProps): react_jsx_runtime60.JSX.Element;
|
|
942
|
+
declare function classifyType(rawType: string): TypeCategory;
|
|
751
943
|
//#endregion
|
|
752
|
-
//#region src/components/ui/
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
944
|
+
//#region src/components/ui/DataTypeIcon/tooltipText.d.ts
|
|
945
|
+
interface ColumnTooltipInput {
|
|
946
|
+
name: string;
|
|
947
|
+
status?: "added" | "removed" | "type_changed" | "definition_changed" | "unchanged";
|
|
948
|
+
baseType?: string;
|
|
949
|
+
currentType?: string;
|
|
950
|
+
cllAvailable?: boolean;
|
|
759
951
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}:
|
|
952
|
+
declare function buildColumnTooltip(input: ColumnTooltipInput): string;
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region src/components/ui/DataTypeIcon/index.d.ts
|
|
955
|
+
interface DataTypeIconProps {
|
|
956
|
+
type: string;
|
|
957
|
+
size?: number | string;
|
|
958
|
+
style?: CSSProperties;
|
|
959
|
+
className?: string;
|
|
960
|
+
disableTooltip?: boolean;
|
|
961
|
+
}
|
|
962
|
+
declare function DataTypeIcon({
|
|
963
|
+
type,
|
|
964
|
+
size,
|
|
965
|
+
style,
|
|
966
|
+
className,
|
|
967
|
+
disableTooltip
|
|
968
|
+
}: DataTypeIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
777
969
|
//#endregion
|
|
778
970
|
//#region src/components/ui/SquareIcon.d.ts
|
|
779
971
|
interface SquareIconProps {
|
|
@@ -785,38 +977,7 @@ interface SquareIconProps {
|
|
|
785
977
|
*/
|
|
786
978
|
declare function SquareIcon({
|
|
787
979
|
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;
|
|
980
|
+
}: SquareIconProps): _$react_jsx_runtime0.JSX.Element;
|
|
820
981
|
//#endregion
|
|
821
982
|
//#region src/components/valuediff/ValueDiffDetailResultView.d.ts
|
|
822
983
|
/**
|
|
@@ -864,7 +1025,7 @@ declare function ValueDiffForm({
|
|
|
864
1025
|
params,
|
|
865
1026
|
onParamsChanged,
|
|
866
1027
|
setIsReadyToExecute
|
|
867
|
-
}: ValueDiffFormProp):
|
|
1028
|
+
}: ValueDiffFormProp): _$react_jsx_runtime0.JSX.Element;
|
|
868
1029
|
//#endregion
|
|
869
1030
|
//#region src/components/valuediff/ValueDiffResultView.d.ts
|
|
870
1031
|
/**
|
|
@@ -1069,11 +1230,80 @@ declare function ChecksViewComponent({
|
|
|
1069
1230
|
maxListSize,
|
|
1070
1231
|
listTitle,
|
|
1071
1232
|
className
|
|
1072
|
-
}: ChecksViewProps):
|
|
1233
|
+
}: ChecksViewProps): _$react_jsx_runtime0.JSX.Element;
|
|
1073
1234
|
/**
|
|
1074
1235
|
* Memoized ChecksView component for performance optimization.
|
|
1075
1236
|
*/
|
|
1076
1237
|
declare const ChecksView: React$2.MemoExoticComponent<typeof ChecksViewComponent>;
|
|
1077
1238
|
//#endregion
|
|
1078
|
-
|
|
1079
|
-
|
|
1239
|
+
//#region src/providers/contexts/ThemeContext.d.ts
|
|
1240
|
+
/**
|
|
1241
|
+
* Theme mode selection for {@link ThemeProvider}.
|
|
1242
|
+
*/
|
|
1243
|
+
type ThemeMode = "light" | "dark" | "system";
|
|
1244
|
+
/**
|
|
1245
|
+
* Theme context values exposed by {@link useRecceTheme}.
|
|
1246
|
+
*/
|
|
1247
|
+
interface ThemeContextValue {
|
|
1248
|
+
mode: ThemeMode;
|
|
1249
|
+
resolvedMode: "light" | "dark";
|
|
1250
|
+
setMode: (mode: ThemeMode) => void;
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* Access the theme context.
|
|
1254
|
+
*
|
|
1255
|
+
* @throws Error if used outside {@link RecceProvider}.
|
|
1256
|
+
*/
|
|
1257
|
+
declare function useRecceTheme(): ThemeContextValue;
|
|
1258
|
+
//#endregion
|
|
1259
|
+
//#region src/index.d.ts
|
|
1260
|
+
declare const VERSION = "0.2.0";
|
|
1261
|
+
//#endregion
|
|
1262
|
+
//#region src/components/lineage/lineage.d.ts
|
|
1263
|
+
/**
|
|
1264
|
+
* Convert a LineageGraph to React Flow nodes and edges with column-level lineage support
|
|
1265
|
+
*
|
|
1266
|
+
* This OSS-specific function extends the basic toReactFlow functionality with:
|
|
1267
|
+
* - Column-level lineage (CLL) visualization
|
|
1268
|
+
* - Dynamic node heights based on column count
|
|
1269
|
+
* - Column nodes as child nodes within parent model nodes
|
|
1270
|
+
*
|
|
1271
|
+
* @param lineageGraph - The lineage graph to convert
|
|
1272
|
+
* @param options - Conversion options
|
|
1273
|
+
* @param options.selectedNodes - Optional filter for which nodes to include
|
|
1274
|
+
* @param options.cll - Column-level lineage data for adding column nodes
|
|
1275
|
+
* @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.
|
|
1276
|
+
* @returns Tuple of [nodes, edges, nodeColumnSetMap] where nodeColumnSetMap tracks columns per node
|
|
1277
|
+
*
|
|
1278
|
+
* @example
|
|
1279
|
+
* ```tsx
|
|
1280
|
+
* const [nodes, edges, columnSetMap] = toReactFlow(lineageGraph, {
|
|
1281
|
+
* selectedNodes: ["model.project.orders"],
|
|
1282
|
+
* cll: columnLineageData,
|
|
1283
|
+
* });
|
|
1284
|
+
* ```
|
|
1285
|
+
*/
|
|
1286
|
+
declare function toReactFlow(lineageGraph: LineageGraph, options?: {
|
|
1287
|
+
selectedNodes?: string[];
|
|
1288
|
+
cll?: ColumnLineageData;
|
|
1289
|
+
existingPositions?: Map<string, {
|
|
1290
|
+
x: number;
|
|
1291
|
+
y: number;
|
|
1292
|
+
}>;
|
|
1293
|
+
newCllExperience?: boolean;
|
|
1294
|
+
columnAncestry?: Map<string, ColumnAnnotation[]>;
|
|
1295
|
+
}): [LineageGraphNodes[], LineageGraphEdge[], NodeColumnSetMap];
|
|
1296
|
+
/**
|
|
1297
|
+
* Apply dagre layout to lineage graph nodes and edges
|
|
1298
|
+
*
|
|
1299
|
+
* This is a thin wrapper around layoutWithDagre from @datarecce/ui
|
|
1300
|
+
* that provides the dagre library instance.
|
|
1301
|
+
*
|
|
1302
|
+
* @param nodes - Array of lineage graph nodes
|
|
1303
|
+
* @param edges - Array of lineage graph edges
|
|
1304
|
+
* @param direction - Layout direction ("LR" for left-to-right, "TB" for top-to-bottom)
|
|
1305
|
+
*/
|
|
1306
|
+
declare const layout: (nodes: LineageGraphNodes[], edges: LineageGraphEdge[], direction?: string) => void;
|
|
1307
|
+
//#endregion
|
|
1308
|
+
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, ColumnAnnotation as Ht, 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 };
|
|
1309
|
+
//# sourceMappingURL=lineage-Bprdx2yV.d.ts.map
|