@datarecce/ui 0.1.20 → 0.1.22
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/RecceCheckContext-BETsmiD5.mjs +228 -0
- package/dist/RecceCheckContext-BETsmiD5.mjs.map +1 -0
- package/dist/RecceCheckContext-DNKi97uE.js +302 -0
- package/dist/RecceCheckContext-DNKi97uE.js.map +1 -0
- package/dist/api.d.mts +2 -102
- package/dist/api.d.ts +2 -102
- package/dist/api.js +82 -494
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +29 -435
- package/dist/api.mjs.map +1 -1
- package/dist/components-C735_oqD.mjs +10438 -0
- package/dist/components-C735_oqD.mjs.map +1 -0
- package/dist/{styles-JV3V5MVO.css → components-D2DRqJsz.css} +28 -0
- package/dist/components-D2DRqJsz.css.map +1 -0
- package/dist/components-DeA4kqxK.js +12763 -0
- package/dist/components-DeA4kqxK.js.map +1 -0
- package/dist/components-dVXbmdqd.css +70 -0
- package/dist/components-dVXbmdqd.css.map +1 -0
- package/dist/components.d.mts +2 -471
- package/dist/components.d.ts +2 -471
- package/dist/components.js +81 -27392
- package/dist/components.mjs +8 -27250
- package/dist/hooks-Ba-AoxcK.mjs +34 -0
- package/dist/hooks-Ba-AoxcK.mjs.map +1 -0
- package/dist/hooks-D6xvNXEc.js +40 -0
- package/dist/hooks-D6xvNXEc.js.map +1 -0
- package/dist/hooks.d.mts +2 -296
- package/dist/hooks.d.ts +2 -296
- package/dist/hooks.js +33 -7583
- package/dist/hooks.mjs +6 -7521
- package/dist/html2canvas-pro.esm-BR5xeFe-.mjs +7249 -0
- package/dist/html2canvas-pro.esm-BR5xeFe-.mjs.map +1 -0
- package/dist/html2canvas-pro.esm-CVOsBdk0.js +7250 -0
- package/dist/html2canvas-pro.esm-CVOsBdk0.js.map +1 -0
- package/dist/index-DYduBYD8.d.ts +1807 -0
- package/dist/index-DYduBYD8.d.ts.map +1 -0
- package/dist/index-Sj_wOmNH.d.mts +1809 -0
- package/dist/index-Sj_wOmNH.d.mts.map +1 -0
- package/dist/index.d.mts +2 -29
- package/dist/index.d.ts +2 -29
- package/dist/index.js +173 -28784
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -28555
- package/dist/index.mjs.map +1 -1
- package/dist/state-BjKRZMwY.js +9158 -0
- package/dist/state-BjKRZMwY.js.map +1 -0
- package/dist/state-BySLlIE7.mjs +8198 -0
- package/dist/state-BySLlIE7.mjs.map +1 -0
- package/dist/{style-466WWZLM.css → state-IA7HWYOs.css} +81 -0
- package/dist/state-IA7HWYOs.css.map +1 -0
- package/dist/state-eEsMhIy4.css +215 -0
- package/dist/state-eEsMhIy4.css.map +1 -0
- package/dist/tooltipMessage-CrXjOmVM.mjs +7 -0
- package/dist/tooltipMessage-CrXjOmVM.mjs.map +1 -0
- package/dist/tooltipMessage-Dbi1kkfi.js +13 -0
- package/dist/tooltipMessage-Dbi1kkfi.js.map +1 -0
- package/dist/types.d.mts +2 -32
- package/dist/types.d.ts +2 -32
- package/dist/types.js +8 -24
- package/dist/types.mjs +4 -18
- package/dist/urls-D7PrPolY.mjs +16 -0
- package/dist/urls-D7PrPolY.mjs.map +1 -0
- package/dist/urls-SazAekCZ.js +34 -0
- package/dist/urls-SazAekCZ.js.map +1 -0
- package/dist/user-BHOgMaBf.mjs +65 -0
- package/dist/user-BHOgMaBf.mjs.map +1 -0
- package/dist/user-Dt_n5IJX.js +107 -0
- package/dist/user-Dt_n5IJX.js.map +1 -0
- package/package.json +11 -11
- package/dist/LineageViewContext-DEa54ZNF.d.mts +0 -103
- package/dist/LineageViewContext-DPVC8ak8.d.ts +0 -103
- package/dist/agGridStyles-VYALGSJU.css +0 -55
- package/dist/components.js.map +0 -1
- package/dist/components.mjs.map +0 -1
- package/dist/hooks.js.map +0 -1
- package/dist/hooks.mjs.map +0 -1
- package/dist/lineagecheck-BQaKAQzn.d.mts +0 -597
- package/dist/lineagecheck-BQaKAQzn.d.ts +0 -597
- package/dist/styles-QUPOR3LM.css +0 -24
- package/dist/styles-TU5BYTIL.css +0 -21
- package/dist/types.js.map +0 -1
- package/dist/types.mjs.map +0 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Split pane gutter styles
|
|
3
|
+
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.gutter {
|
|
7
|
+
background-color: var(--recce-gutter-bg);
|
|
8
|
+
background-repeat: no-repeat;
|
|
9
|
+
background-position: 50%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.gutter:hover {
|
|
13
|
+
background-color: var(--recce-gutter-hover);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.gutter.gutter-vertical {
|
|
17
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
|
|
18
|
+
cursor: row-resize;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.gutter.gutter-horizontal {
|
|
22
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
|
|
23
|
+
cursor: col-resize;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* React Flow Controls - Theme-aware colors
|
|
28
|
+
* Uses CSS custom properties for theme-aware colors
|
|
29
|
+
* Maps to colors from mui-theme.ts neutral palette
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/* Light mode (default) */
|
|
33
|
+
:root,
|
|
34
|
+
.light {
|
|
35
|
+
--rf-controls-bg: #fafafa; /* neutral[50] */
|
|
36
|
+
--rf-controls-border: #e5e5e5; /* neutral[200] */
|
|
37
|
+
--rf-controls-text: #404040; /* neutral[700] */
|
|
38
|
+
--rf-controls-hover-bg: #e5e5e5; /* neutral[200] */
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Dark mode */
|
|
42
|
+
.dark {
|
|
43
|
+
--rf-controls-bg: #404040; /* neutral[700] */
|
|
44
|
+
--rf-controls-border: #525252; /* neutral[600] */
|
|
45
|
+
--rf-controls-text: #e5e5e5; /* neutral[200] */
|
|
46
|
+
--rf-controls-hover-bg: #525252; /* neutral[600] */
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* React Flow Controls */
|
|
50
|
+
.react-flow__controls {
|
|
51
|
+
background-color: var(--rf-controls-bg);
|
|
52
|
+
border-color: var(--rf-controls-border);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.react-flow__controls-button {
|
|
56
|
+
background-color: var(--rf-controls-bg);
|
|
57
|
+
color: var(--rf-controls-text);
|
|
58
|
+
border-bottom-color: var(--rf-controls-border);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.react-flow__controls-button:hover {
|
|
62
|
+
background-color: var(--rf-controls-hover-bg);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.react-flow__controls-button svg {
|
|
66
|
+
fill: var(--rf-controls-text);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/*# sourceMappingURL=components-dVXbmdqd.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-dVXbmdqd.css","names":[],"sources":["../recce-source/js/src/components/split/styles.css","../recce-source/js/src/components/lineage/styles.css"],"sourcesContent":["/**\n * Split pane gutter styles\n * Uses CSS custom properties from global.css for theme-aware colors.\n */\n\n.gutter {\n background-color: var(--recce-gutter-bg);\n background-repeat: no-repeat;\n background-position: 50%;\n}\n\n.gutter:hover {\n background-color: var(--recce-gutter-hover);\n}\n\n.gutter.gutter-vertical {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=\");\n cursor: row-resize;\n}\n\n.gutter.gutter-horizontal {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==\");\n cursor: col-resize;\n}\n","/**\n * React Flow Controls - Theme-aware colors\n * Uses CSS custom properties for theme-aware colors\n * Maps to colors from mui-theme.ts neutral palette\n */\n\n/* Light mode (default) */\n:root,\n.light {\n --rf-controls-bg: #fafafa; /* neutral[50] */\n --rf-controls-border: #e5e5e5; /* neutral[200] */\n --rf-controls-text: #404040; /* neutral[700] */\n --rf-controls-hover-bg: #e5e5e5; /* neutral[200] */\n}\n\n/* Dark mode */\n.dark {\n --rf-controls-bg: #404040; /* neutral[700] */\n --rf-controls-border: #525252; /* neutral[600] */\n --rf-controls-text: #e5e5e5; /* neutral[200] */\n --rf-controls-hover-bg: #525252; /* neutral[600] */\n}\n\n/* React Flow Controls */\n.react-flow__controls {\n background-color: var(--rf-controls-bg);\n border-color: var(--rf-controls-border);\n}\n\n.react-flow__controls-button {\n background-color: var(--rf-controls-bg);\n color: var(--rf-controls-text);\n border-bottom-color: var(--rf-controls-border);\n}\n\n.react-flow__controls-button:hover {\n background-color: var(--rf-controls-hover-bg);\n}\n\n.react-flow__controls-button svg {\n fill: var(--rf-controls-text);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,472 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, ComponentType } from 'react';
|
|
4
|
-
import { FallbackRender } from '@sentry/react';
|
|
5
|
-
import { SplitProps } from 'react-split';
|
|
6
|
-
import { BoxProps } from '@mui/material/Box';
|
|
7
|
-
import { a as LineageGraphNode, b as LineageGraphEdge, c as LineageGraphColumnNode, d as LineageGraph } from './LineageViewContext-DEa54ZNF.mjs';
|
|
8
|
-
export { L as LineageViewContext, u as useLineageViewContext } from './LineageViewContext-DEa54ZNF.mjs';
|
|
9
|
-
import { Y as LineageDiffViewOptions, $ as RowCountDiff, _ as RowCount, M as ManifestMetadata, a$ as RunResultViewProps, c as QueryViewOptions, aL as Run, b0 as DataGridHandle, g as QueryDiffViewOptions, y as NodeData, aE as RowObjectType, C as Check, b1 as ViewOptionTypes, b2 as RegistryEntry, b3 as RefTypes, b4 as RunType, b5 as RunFormParamTypes, a_ as RunFormProps, a6 as ProfileDiffViewOptions, az as ValueDiffDetailViewOptions, ab as HistogramDiffParams, a8 as TopKDiffParams, ac as HistogramResult, a9 as TopKResult } from './lineagecheck-BQaKAQzn.mjs';
|
|
10
|
-
export { P as ProfileDiffForm, R as RunToolbar, S as ScreenshotDataGrid, V as ValueDiffForm } from './lineagecheck-BQaKAQzn.mjs';
|
|
11
|
-
import { NodeProps, EdgeProps } from '@xyflow/react';
|
|
12
|
-
import { AnimationOptions } from 'chart.js';
|
|
13
|
-
import '@tanstack/react-query';
|
|
14
|
-
import 'axios';
|
|
15
|
-
import 'react-icons';
|
|
16
|
-
import 'ag-grid-community';
|
|
17
|
-
import 'ag-grid-react';
|
|
18
1
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Force a specific theme mode. If not provided, follows system/user preference.
|
|
23
|
-
*/
|
|
24
|
-
forcedTheme?: "light" | "dark";
|
|
25
|
-
/**
|
|
26
|
-
* Whether to include MUI's CssBaseline for consistent baseline styles.
|
|
27
|
-
* Disabled by default to avoid conflicts with Chakra/Tailwind during migration.
|
|
28
|
-
*/
|
|
29
|
-
enableCssBaseline?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* MUI Theme Provider for Recce
|
|
33
|
-
*
|
|
34
|
-
* This provider integrates MUI theming with the existing next-themes
|
|
35
|
-
* color mode system used by Chakra UI. During the migration period,
|
|
36
|
-
* both Chakra and MUI components will share the same theme mode.
|
|
37
|
-
*
|
|
38
|
-
* Usage:
|
|
39
|
-
* ```tsx
|
|
40
|
-
* <MuiProvider>
|
|
41
|
-
* <MuiButton>Click me</MuiButton>
|
|
42
|
-
* </MuiProvider>
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
declare function MuiProvider({ children, forcedTheme, enableCssBaseline, }: MuiProviderProps): react_jsx_runtime.JSX.Element;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Toast types and interfaces
|
|
49
|
-
*/
|
|
50
|
-
interface ToastOptions {
|
|
51
|
-
id?: string;
|
|
52
|
-
title?: string;
|
|
53
|
-
description?: ReactNode;
|
|
54
|
-
type?: "success" | "error" | "warning" | "info" | "loading";
|
|
55
|
-
duration?: number;
|
|
56
|
-
closable?: boolean;
|
|
57
|
-
action?: {
|
|
58
|
-
label: string;
|
|
59
|
-
onClick: () => void;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
interface ToasterContextValue {
|
|
63
|
-
toast: (options: ToastOptions) => string;
|
|
64
|
-
success: (options: Omit<ToastOptions, "type">) => string;
|
|
65
|
-
error: (options: Omit<ToastOptions, "type">) => string;
|
|
66
|
-
warning: (options: Omit<ToastOptions, "type">) => string;
|
|
67
|
-
info: (options: Omit<ToastOptions, "type">) => string;
|
|
68
|
-
loading: (options: Omit<ToastOptions, "type">) => string;
|
|
69
|
-
dismiss: (id: string) => void;
|
|
70
|
-
update: (id: string, options: Partial<ToastOptions>) => void;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Simple toaster implementation using MUI Snackbar
|
|
74
|
-
*/
|
|
75
|
-
declare function ToasterProvider({ children }: {
|
|
76
|
-
children: ReactNode;
|
|
77
|
-
}): react_jsx_runtime.JSX.Element;
|
|
78
|
-
/**
|
|
79
|
-
* Hook to use the toaster
|
|
80
|
-
*/
|
|
81
|
-
declare function useToaster(): ToasterContextValue;
|
|
82
|
-
/**
|
|
83
|
-
* Toaster component that renders toasts from the standalone toaster
|
|
84
|
-
*/
|
|
85
|
-
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
86
|
-
|
|
87
|
-
declare const ErrorBoundary: ({ children, fallback, }: {
|
|
88
|
-
children: ReactNode;
|
|
89
|
-
fallback?: React$1.ReactElement | FallbackRender | undefined;
|
|
90
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
91
|
-
|
|
92
|
-
declare const HSplit: (props: SplitProps) => react_jsx_runtime.JSX.Element;
|
|
93
|
-
declare const VSplit: (props: SplitProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
-
|
|
95
|
-
interface ScreenshotBoxProps extends BoxProps {
|
|
96
|
-
backgroundColor?: string;
|
|
97
|
-
blockSize?: string;
|
|
98
|
-
children?: React.ReactNode;
|
|
99
|
-
}
|
|
100
|
-
declare const ScreenshotBox: React$1.ForwardRefExoticComponent<Omit<ScreenshotBoxProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
101
|
-
|
|
102
|
-
declare function LineagePage(): react_jsx_runtime.JSX.Element;
|
|
103
|
-
|
|
104
|
-
interface LineageViewProps {
|
|
105
|
-
viewOptions?: LineageDiffViewOptions;
|
|
106
|
-
interactive?: boolean;
|
|
107
|
-
weight?: number;
|
|
108
|
-
height?: number;
|
|
109
|
-
filterNodes?: (key: string, node: LineageGraphNode) => boolean;
|
|
110
|
-
}
|
|
111
|
-
interface LineageViewRef {
|
|
112
|
-
copyToClipboard: () => void;
|
|
113
|
-
}
|
|
114
|
-
declare const LineageView: React__default.ForwardRefExoticComponent<LineageViewProps & React__default.RefAttributes<LineageViewRef>>;
|
|
115
|
-
|
|
116
|
-
declare const LineageViewTopBar: () => react_jsx_runtime.JSX.Element;
|
|
117
|
-
|
|
118
|
-
type GraphNodeProps = NodeProps<LineageGraphNode>;
|
|
119
|
-
declare function GraphNode(nodeProps: GraphNodeProps): react_jsx_runtime.JSX.Element;
|
|
120
|
-
|
|
121
|
-
type GraphEdgeProps = EdgeProps<LineageGraphEdge>;
|
|
122
|
-
declare function GraphEdge(props: GraphEdgeProps): react_jsx_runtime.JSX.Element;
|
|
123
|
-
|
|
124
|
-
type GrapeColumnNodeProps = NodeProps<LineageGraphColumnNode>;
|
|
125
|
-
declare function GraphColumnNode(nodeProps: GrapeColumnNodeProps): react_jsx_runtime.JSX.Element;
|
|
126
|
-
|
|
127
|
-
interface NodeViewProps {
|
|
128
|
-
node: LineageGraphNode;
|
|
129
|
-
onCloseNode: () => void;
|
|
130
|
-
}
|
|
131
|
-
declare function NodeView({ node, onCloseNode }: NodeViewProps): react_jsx_runtime.JSX.Element;
|
|
132
|
-
|
|
133
|
-
interface NodeSqlViewProps {
|
|
134
|
-
node: LineageGraphNode;
|
|
135
|
-
}
|
|
136
|
-
declare const NodeSqlView: ({ node }: NodeSqlViewProps) => react_jsx_runtime.JSX.Element | "Not available";
|
|
137
|
-
|
|
138
|
-
declare function ResourceTypeTag({ node }: {
|
|
139
|
-
node: LineageGraphNode;
|
|
140
|
-
}): react_jsx_runtime.JSX.Element;
|
|
141
|
-
interface ModelRowCountProps {
|
|
142
|
-
rowCount?: RowCountDiff;
|
|
143
|
-
}
|
|
144
|
-
declare function ModelRowCount({ rowCount }: ModelRowCountProps): react_jsx_runtime.JSX.Element;
|
|
145
|
-
interface RowCountDiffTagProps {
|
|
146
|
-
node: LineageGraphNode;
|
|
147
|
-
rowCount?: RowCountDiff;
|
|
148
|
-
onRefresh?: () => void;
|
|
149
|
-
isFetching?: boolean;
|
|
150
|
-
error?: Error | null;
|
|
151
|
-
}
|
|
152
|
-
declare function RowCountDiffTag({ rowCount: fetchedRowCount, node, onRefresh, isFetching, }: RowCountDiffTagProps): react_jsx_runtime.JSX.Element;
|
|
153
|
-
interface RowCountTagProps {
|
|
154
|
-
node: LineageGraphNode;
|
|
155
|
-
rowCount?: RowCount;
|
|
156
|
-
onRefresh?: () => void;
|
|
157
|
-
isFetching?: boolean;
|
|
158
|
-
error?: Error | null;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
declare function SetupConnectionBanner(): react_jsx_runtime.JSX.Element;
|
|
162
|
-
|
|
163
|
-
declare const QueryPage: () => react_jsx_runtime.JSX.Element;
|
|
164
|
-
|
|
165
|
-
interface QueryFormProps extends BoxProps {
|
|
166
|
-
defaultPrimaryKeys: string[] | undefined;
|
|
167
|
-
onPrimaryKeysChange: (primaryKeys: string[]) => void;
|
|
168
|
-
}
|
|
169
|
-
declare const QueryForm: ({ defaultPrimaryKeys, onPrimaryKeysChange, ...props }: QueryFormProps) => react_jsx_runtime.JSX.Element;
|
|
170
|
-
|
|
171
|
-
interface SqlEditorProps {
|
|
172
|
-
language?: string;
|
|
173
|
-
theme?: string;
|
|
174
|
-
value: string;
|
|
175
|
-
baseValue?: string;
|
|
176
|
-
onChange?: (value: string) => void;
|
|
177
|
-
onChangeBase?: (value: string) => void;
|
|
178
|
-
onRun?: () => void;
|
|
179
|
-
onRunBase?: () => void;
|
|
180
|
-
onRunDiff?: () => void;
|
|
181
|
-
options?: {
|
|
182
|
-
readOnly?: boolean;
|
|
183
|
-
fontSize?: number;
|
|
184
|
-
lineNumbers?: "on" | "off";
|
|
185
|
-
wordWrap?: "on" | "off";
|
|
186
|
-
};
|
|
187
|
-
manifestData?: ManifestMetadata;
|
|
188
|
-
schemas?: string;
|
|
189
|
-
label?: string;
|
|
190
|
-
CustomEditor?: React__default.ReactNode;
|
|
191
|
-
}
|
|
192
|
-
declare function SqlEditor({ value, onChange, onRun, onRunBase, onRunDiff, label, CustomEditor, options, manifestData, schemas, ...props }: SqlEditorProps): react_jsx_runtime.JSX.Element;
|
|
193
|
-
|
|
194
|
-
interface QueryResultViewProp extends RunResultViewProps<QueryViewOptions> {
|
|
195
|
-
onAddToChecklist?: (run: Run) => void;
|
|
196
|
-
}
|
|
197
|
-
declare const QueryResultView: React__default.ForwardRefExoticComponent<QueryResultViewProp & React__default.RefAttributes<DataGridHandle>>;
|
|
198
|
-
|
|
199
|
-
interface QueryDiffResultViewProps extends RunResultViewProps<QueryDiffViewOptions> {
|
|
200
|
-
onAddToChecklist?: (run: Run) => void;
|
|
201
|
-
baseTitle?: string;
|
|
202
|
-
currentTitle?: string;
|
|
203
|
-
}
|
|
204
|
-
declare const QueryDiffResultView: React$1.ForwardRefExoticComponent<QueryDiffResultViewProps & React$1.RefAttributes<DataGridHandle>>;
|
|
205
|
-
|
|
206
|
-
interface DiffTextProps {
|
|
207
|
-
value: string;
|
|
208
|
-
colorPalette: "red" | "green";
|
|
209
|
-
grayOut?: boolean;
|
|
210
|
-
noCopy?: boolean;
|
|
211
|
-
fontSize?: string;
|
|
212
|
-
}
|
|
213
|
-
declare const DiffText: ({ value, colorPalette, grayOut, noCopy, fontSize, }: DiffTextProps) => react_jsx_runtime.JSX.Element;
|
|
214
|
-
|
|
215
|
-
declare function SetupConnectionGuide(): react_jsx_runtime.JSX.Element;
|
|
216
|
-
|
|
217
|
-
type CodeEditorLanguage = "sql" | "yaml";
|
|
218
|
-
type CodeEditorTheme = "light" | "dark";
|
|
219
|
-
interface CodeEditorProps {
|
|
220
|
-
value: string;
|
|
221
|
-
onChange?: (value: string) => void;
|
|
222
|
-
language?: CodeEditorLanguage;
|
|
223
|
-
readOnly?: boolean;
|
|
224
|
-
lineNumbers?: boolean;
|
|
225
|
-
wordWrap?: boolean;
|
|
226
|
-
fontSize?: number;
|
|
227
|
-
height?: string;
|
|
228
|
-
className?: string;
|
|
229
|
-
/** Theme: "light" for githubLight, "dark" for githubDark */
|
|
230
|
-
theme?: CodeEditorTheme;
|
|
231
|
-
/** Custom keyboard shortcuts: { key: handler } */
|
|
232
|
-
keyBindings?: Array<{
|
|
233
|
-
key: string;
|
|
234
|
-
run: () => boolean;
|
|
235
|
-
}>;
|
|
236
|
-
}
|
|
237
|
-
declare function CodeEditor({ value, onChange, language, readOnly, lineNumbers, wordWrap, fontSize, height, className, theme, keyBindings, }: CodeEditorProps): react_jsx_runtime.JSX.Element;
|
|
238
|
-
|
|
239
|
-
type DiffEditorLanguage = "sql" | "yaml";
|
|
240
|
-
type DiffEditorTheme = "light" | "dark";
|
|
241
|
-
interface DiffEditorProps {
|
|
242
|
-
original: string;
|
|
243
|
-
modified: string;
|
|
244
|
-
language?: DiffEditorLanguage;
|
|
245
|
-
readOnly?: boolean;
|
|
246
|
-
lineNumbers?: boolean;
|
|
247
|
-
sideBySide?: boolean;
|
|
248
|
-
height?: string;
|
|
249
|
-
className?: string;
|
|
250
|
-
/** Theme: "light" for githubLight, "dark" for githubDark */
|
|
251
|
-
theme?: DiffEditorTheme;
|
|
252
|
-
/** Called when modified content changes (only if not readOnly) */
|
|
253
|
-
onModifiedChange?: (value: string) => void;
|
|
254
|
-
}
|
|
255
|
-
declare function DiffEditor({ original, modified, language, readOnly, lineNumbers, sideBySide, height, className, theme, onModifiedChange, }: DiffEditorProps): react_jsx_runtime.JSX.Element;
|
|
256
|
-
|
|
257
|
-
interface SchemaViewProps {
|
|
258
|
-
base?: NodeData;
|
|
259
|
-
current?: NodeData;
|
|
260
|
-
enableScreenshot?: boolean;
|
|
261
|
-
showMenu?: boolean;
|
|
262
|
-
}
|
|
263
|
-
declare const SchemaView: React$1.ForwardRefExoticComponent<SchemaViewProps & React$1.RefAttributes<DataGridHandle>>;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @file toSchemaDataGrid.ts
|
|
267
|
-
* @description Grid generator for schema diff and single-environment schema views
|
|
268
|
-
*
|
|
269
|
-
* This file is intentionally .ts (not .tsx) - all JSX rendering is delegated
|
|
270
|
-
* to schemaCells.tsx via render functions.
|
|
271
|
-
*/
|
|
272
|
-
|
|
273
|
-
interface SchemaDiffRow extends RowObjectType {
|
|
274
|
-
name: string;
|
|
275
|
-
reordered?: boolean;
|
|
276
|
-
currentIndex?: number;
|
|
277
|
-
baseIndex?: number;
|
|
278
|
-
currentType?: string;
|
|
279
|
-
baseType?: string;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
declare function ColumnNameCell({ model, row, singleEnv, cllRunning, showMenu, }: {
|
|
283
|
-
model: NodeData;
|
|
284
|
-
row: SchemaDiffRow;
|
|
285
|
-
singleEnv?: boolean;
|
|
286
|
-
cllRunning?: boolean;
|
|
287
|
-
showMenu?: boolean;
|
|
288
|
-
}): react_jsx_runtime.JSX.Element;
|
|
289
|
-
|
|
290
|
-
declare const CheckList: ({ checks, selectedItem, onCheckSelected, onChecksReordered, }: {
|
|
291
|
-
checks: Check[];
|
|
292
|
-
selectedItem: string | null;
|
|
293
|
-
onCheckSelected: (checkId: string) => void;
|
|
294
|
-
onChecksReordered: (source: number, destination: number) => void;
|
|
295
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
296
|
-
|
|
297
|
-
interface CheckDetailProps {
|
|
298
|
-
checkId: string;
|
|
299
|
-
refreshCheckList?: () => void;
|
|
300
|
-
}
|
|
301
|
-
declare function CheckDetail({ checkId, refreshCheckList, }: CheckDetailProps): ReactNode;
|
|
302
|
-
|
|
303
|
-
interface CheckBreadcrumbProps {
|
|
304
|
-
name: string;
|
|
305
|
-
setName: (name: string) => void;
|
|
306
|
-
}
|
|
307
|
-
declare function CheckBreadcrumb({ name, setName }: CheckBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
308
|
-
|
|
309
|
-
interface CheckDescriptionProps {
|
|
310
|
-
value?: string;
|
|
311
|
-
onChange?: (value?: string) => void;
|
|
312
|
-
}
|
|
313
|
-
declare function CheckDescription({ value, onChange }: CheckDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
declare const CheckEmptyState: () => react_jsx_runtime.JSX.Element;
|
|
316
|
-
|
|
317
|
-
interface LineageDiffViewProps {
|
|
318
|
-
check: Check;
|
|
319
|
-
}
|
|
320
|
-
declare const LineageDiffView: React$1.ForwardRefExoticComponent<LineageDiffViewProps & React$1.RefAttributes<LineageViewRef>>;
|
|
321
|
-
|
|
322
|
-
interface SchemaDiffViewProps {
|
|
323
|
-
check: Check;
|
|
324
|
-
}
|
|
325
|
-
declare const SchemaDiffView: React__default.ForwardRefExoticComponent<SchemaDiffViewProps & React__default.RefAttributes<DataGridHandle>>;
|
|
326
|
-
|
|
327
|
-
interface RunPageProps$1 {
|
|
328
|
-
runId: string;
|
|
329
|
-
}
|
|
330
|
-
declare const RunPage: ({ runId }: RunPageProps$1) => react_jsx_runtime.JSX.Element;
|
|
331
|
-
|
|
332
|
-
declare const RunList: () => react_jsx_runtime.JSX.Element;
|
|
333
|
-
|
|
334
|
-
interface RunViewProps<VO = ViewOptionTypes> {
|
|
335
|
-
isRunning?: boolean;
|
|
336
|
-
run?: Run;
|
|
337
|
-
error?: Error | null;
|
|
338
|
-
progress?: Run["progress"];
|
|
339
|
-
isAborting?: boolean;
|
|
340
|
-
isCheckDetail?: boolean;
|
|
341
|
-
onCancel?: () => void;
|
|
342
|
-
onExecuteRun?: () => void;
|
|
343
|
-
viewOptions?: VO;
|
|
344
|
-
onViewOptionsChanged?: (viewOptions: VO) => void;
|
|
345
|
-
RunResultView?: RegistryEntry["RunResultView"] | undefined;
|
|
346
|
-
children?: (params: RunResultViewProps) => React__default.ReactNode;
|
|
347
|
-
}
|
|
348
|
-
declare const RunView: React__default.ForwardRefExoticComponent<RunViewProps<ViewOptionTypes> & React__default.RefAttributes<RefTypes>>;
|
|
349
|
-
|
|
350
|
-
interface RunModalProps {
|
|
351
|
-
isOpen: boolean;
|
|
352
|
-
onClose: () => void;
|
|
353
|
-
onExecute: (type: RunType, params: RunFormParamTypes) => void;
|
|
354
|
-
title: string;
|
|
355
|
-
type: RunType;
|
|
356
|
-
params?: RunFormParamTypes;
|
|
357
|
-
initialRun?: Run;
|
|
358
|
-
RunForm?: ComponentType<RunFormProps<RunFormParamTypes>>;
|
|
359
|
-
}
|
|
360
|
-
declare const RunModal: ({ isOpen, onClose, onExecute, type, title, params: defaultParams, RunForm, }: RunModalProps) => react_jsx_runtime.JSX.Element;
|
|
361
|
-
|
|
362
|
-
interface RunPageProps {
|
|
363
|
-
onClose?: () => void;
|
|
364
|
-
disableAddToChecklist?: boolean;
|
|
365
|
-
isSingleEnvironment?: boolean;
|
|
366
|
-
}
|
|
367
|
-
declare const RunResultPane: ({ onClose, isSingleEnvironment, }: RunPageProps) => react_jsx_runtime.JSX.Element;
|
|
368
|
-
|
|
369
|
-
declare const RunStatusAndDate: ({ run }: {
|
|
370
|
-
run: Run;
|
|
371
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
372
|
-
|
|
373
|
-
type ProfileDiffResultViewProp = RunResultViewProps<ProfileDiffViewOptions>;
|
|
374
|
-
declare const ProfileDiffResultView: React$1.ForwardRefExoticComponent<ProfileDiffResultViewProp & React$1.RefAttributes<DataGridHandle>>;
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* @file ValueDiffResultView.tsx
|
|
378
|
-
* @description View component for displaying value diff summary results
|
|
379
|
-
*
|
|
380
|
-
* Shows a summary table of column-level match statistics from a value_diff run.
|
|
381
|
-
* Each row represents a column with its match count and percentage.
|
|
382
|
-
*/
|
|
383
|
-
|
|
384
|
-
type ValueDiffResultViewProp = RunResultViewProps;
|
|
385
|
-
declare const ValueDiffResultView: React__default.ForwardRefExoticComponent<ValueDiffResultViewProp & React__default.RefAttributes<DataGridHandle>>;
|
|
386
|
-
|
|
387
|
-
interface ValueDiffDetailResultViewProps extends RunResultViewProps<ValueDiffDetailViewOptions> {
|
|
388
|
-
onAddToChecklist?: (run: Run) => void;
|
|
389
|
-
}
|
|
390
|
-
declare const ValueDiffDetailResultView: React$1.ForwardRefExoticComponent<ValueDiffDetailResultViewProps & React$1.RefAttributes<DataGridHandle>>;
|
|
391
|
-
|
|
392
|
-
type HistogramDiffEditProps = RunFormProps<HistogramDiffParams>;
|
|
393
|
-
declare function HistogramDiffForm({ params, onParamsChanged, setIsReadyToExecute, }: HistogramDiffEditProps): react_jsx_runtime.JSX.Element;
|
|
394
|
-
|
|
395
|
-
type HistogramDiffResultViewProp = RunResultViewProps;
|
|
396
|
-
declare const HistogramDiffResultView: React$1.ForwardRefExoticComponent<HistogramDiffResultViewProp & React$1.RefAttributes<HTMLDivElement>>;
|
|
397
|
-
|
|
398
|
-
type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
|
|
399
|
-
declare function TopKDiffForm({ params, onParamsChanged, setIsReadyToExecute, }: TopKDiffFormProps): react_jsx_runtime.JSX.Element;
|
|
400
|
-
|
|
401
|
-
type TopKDiffResultViewProp = RunResultViewProps;
|
|
402
|
-
declare const TopKDiffResultView: React$1.ForwardRefExoticComponent<TopKDiffResultViewProp & React$1.RefAttributes<HTMLDivElement>>;
|
|
403
|
-
|
|
404
|
-
declare const RowCountDiffResultView: React$1.ForwardRefExoticComponent<RunResultViewProps<ViewOptionTypes> & React$1.RefAttributes<DataGridHandle>>;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Histogram Chart that can display generic data types such as Numeric, Datetime, Integer
|
|
408
|
-
* X: The Min/Max of the labels range is the scaled width of charting area
|
|
409
|
-
* Y: The Min/Max of the counts range is the scaled height of charting area
|
|
410
|
-
* Counts: Abbreviated based on K, Mn, Bn, Tr (see formatters)
|
|
411
|
-
*/
|
|
412
|
-
interface HistogramChartProps {
|
|
413
|
-
data: {
|
|
414
|
-
title: string;
|
|
415
|
-
type: string;
|
|
416
|
-
samples?: number;
|
|
417
|
-
min?: string | number;
|
|
418
|
-
max?: string | number;
|
|
419
|
-
binEdges: number[];
|
|
420
|
-
datasets: HistogramResult[];
|
|
421
|
-
};
|
|
422
|
-
animation?: AnimationOptions<"bar">["animation"];
|
|
423
|
-
hideAxis?: boolean;
|
|
424
|
-
}
|
|
425
|
-
declare function HistogramChart({ data, hideAxis, animation, }: HistogramChartProps): react_jsx_runtime.JSX.Element;
|
|
426
|
-
|
|
427
|
-
interface Props$2 {
|
|
428
|
-
topk: TopKResult;
|
|
429
|
-
valids: number;
|
|
430
|
-
isDisplayTopTen: boolean;
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* A list of each topk summary item (categorical)
|
|
434
|
-
* Last list item will show 'others' when there are leftover values, which is the count difference of valids and displayed topk items
|
|
435
|
-
*/
|
|
436
|
-
declare function TopKSummaryList({ topk, valids, isDisplayTopTen }: Props$2): react_jsx_runtime.JSX.Element;
|
|
437
|
-
|
|
438
|
-
declare function SquareIcon({ color }: {
|
|
439
|
-
color: string;
|
|
440
|
-
}): react_jsx_runtime.JSX.Element;
|
|
441
|
-
|
|
442
|
-
declare function SummaryView(): react_jsx_runtime.JSX.Element;
|
|
443
|
-
|
|
444
|
-
interface Props$1 {
|
|
445
|
-
lineageGraph: LineageGraph;
|
|
446
|
-
}
|
|
447
|
-
declare function ChangeSummary({ lineageGraph }: Props$1): react_jsx_runtime.JSX.Element;
|
|
448
|
-
|
|
449
|
-
interface Props {
|
|
450
|
-
lineageGraph: LineageGraph;
|
|
451
|
-
}
|
|
452
|
-
declare function SchemaSummary({ lineageGraph }: Props): react_jsx_runtime.JSX.Element;
|
|
453
|
-
|
|
454
|
-
declare function EnvInfo(): react_jsx_runtime.JSX.Element;
|
|
455
|
-
|
|
456
|
-
declare function HistoryToggle(): ReactNode;
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* Badge component that displays idle timeout warning countdown
|
|
460
|
-
* Only shows when remaining time is below the warning threshold
|
|
461
|
-
* Styled as a warning indicator to draw user attention
|
|
462
|
-
*/
|
|
463
|
-
declare function IdleTimeoutBadge(): react_jsx_runtime.JSX.Element;
|
|
464
|
-
|
|
465
|
-
declare const IconSync: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
466
|
-
declare const IconExport: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
467
|
-
declare const IconImport: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
468
|
-
declare const IconSave: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
469
|
-
declare const IconEdit: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
470
|
-
declare const IconInfo: (props: React__default.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
471
|
-
|
|
472
|
-
export { ChangeSummary, CheckBreadcrumb, CheckDescription, CheckDetail, CheckEmptyState, CheckList, CodeEditor, ColumnNameCell, DiffEditor, DiffText, EnvInfo, ErrorBoundary, GraphColumnNode, GraphEdge, GraphNode, HSplit, HistogramChart, HistogramDiffForm, HistogramDiffResultView, HistoryToggle, IconEdit, IconExport, IconImport, IconInfo, IconSave, IconSync, IdleTimeoutBadge, LineageDiffView, LineagePage, LineageView, LineageViewTopBar, ModelRowCount, MuiProvider, MuiProvider as MuiProviderDefault, NodeSqlView, NodeView, ProfileDiffResultView, QueryDiffResultView, QueryForm, QueryPage, QueryResultView, ResourceTypeTag, RowCountDiffResultView, RowCountDiffTag, type RowCountDiffTagProps, type RowCountTagProps, RunList, RunModal, RunPage, RunResultPane, RunStatusAndDate, RunView, SchemaDiffView, SchemaSummary, SchemaView, ScreenshotBox, SetupConnectionBanner, SetupConnectionGuide, SqlEditor, SquareIcon, SummaryView, Toaster, ToasterProvider, TopKDiffForm, TopKDiffResultView, TopKSummaryList, VSplit, ValueDiffDetailResultView, ValueDiffResultView, useToaster };
|
|
2
|
+
import { $t as RunPage, An as LineageViewContext, At as IconSync, Bi as MuiProvider, Bt as RowCountDiffResultView, Cn as RowCountTagProps, Dn as GraphEdge, Dt as IconImport, En as GraphColumnNode, Et as IconExport, Fi as VSplit, Ft as ChangeSummary, Gt as ValueDiffDetailResultView, Ht as TopKDiffForm, Ii as ErrorBoundary, It as SummaryView, Jn as ScreenshotDataGrid, Jt as RunStatusAndDate, Kn as ValueDiffForm, Kt as ValueDiffResultView, Li as Toaster, Lt as SquareIcon, Mi as LineagePage, Mn as LineageView, Mt as HistoryToggle, Ni as ScreenshotBox, Nt as EnvInfo, On as GraphNode, Ot as IconInfo, Pi as HSplit, Pt as SchemaSummary, Qt as RunList, Ri as ToasterProvider, Rt as TopKSummaryList, Sn as RowCountDiffTagProps, Tn as NodeView, Tt as IconEdit, Ut as HistogramDiffResultView, Vt as TopKDiffResultView, Wt as HistogramDiffForm, Xt as RunModal, Yn as RunToolbar, Yt as RunResultPane, Zt as RunView, _n as QueryPage, an as CheckDetail, bn as ResourceTypeTag, cn as SchemaView, dn as SetupConnectionGuide, en as SchemaDiffView, fn as DiffText, gn as QueryForm, hn as SqlEditor, in as CheckBreadcrumb, jn as useLineageViewContext, jt as IdleTimeoutBadge, kn as LineageViewTopBar, kt as IconSave, ln as DiffEditor, mn as QueryResultView, nn as CheckEmptyState, on as CheckList, pn as QueryDiffResultView, qn as ProfileDiffForm, qt as ProfileDiffResultView, rn as CheckDescription, sn as ColumnNameCell, tn as LineageDiffView, un as CodeEditor, vn as SetupConnectionBanner, wn as NodeSqlView, xn as RowCountDiffTag, yn as ModelRowCount, zi as useToaster, zt as HistogramChart } from "./index-Sj_wOmNH.mjs";
|
|
3
|
+
export { ChangeSummary, CheckBreadcrumb, CheckDescription, CheckDetail, CheckEmptyState, CheckList, CodeEditor, ColumnNameCell, DiffEditor, DiffText, EnvInfo, ErrorBoundary, GraphColumnNode, GraphEdge, GraphNode, HSplit, HistogramChart, HistogramDiffForm, HistogramDiffResultView, HistoryToggle, IconEdit, IconExport, IconImport, IconInfo, IconSave, IconSync, IdleTimeoutBadge, LineageDiffView, LineagePage, LineageView, LineageViewContext, LineageViewTopBar, ModelRowCount, MuiProvider, MuiProvider as MuiProviderDefault, NodeSqlView, NodeView, ProfileDiffForm, ProfileDiffResultView, QueryDiffResultView, QueryForm, QueryPage, QueryResultView, ResourceTypeTag, RowCountDiffResultView, RowCountDiffTag, RowCountDiffTagProps, RowCountTagProps, RunList, RunModal, RunPage, RunResultPane, RunStatusAndDate, RunToolbar, RunView, SchemaDiffView, SchemaSummary, SchemaView, ScreenshotBox, ScreenshotDataGrid, SetupConnectionBanner, SetupConnectionGuide, SqlEditor, SquareIcon, SummaryView, Toaster, ToasterProvider, TopKDiffForm, TopKDiffResultView, TopKSummaryList, VSplit, ValueDiffDetailResultView, ValueDiffForm, ValueDiffResultView, useLineageViewContext, useToaster };
|