@datarecce/ui 0.1.21 → 0.1.23

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.
Files changed (82) hide show
  1. package/dist/RecceCheckContext-DIQjrvH8.mjs +228 -0
  2. package/dist/RecceCheckContext-DIQjrvH8.mjs.map +1 -0
  3. package/dist/RecceCheckContext-_xzNlnbJ.js +302 -0
  4. package/dist/RecceCheckContext-_xzNlnbJ.js.map +1 -0
  5. package/dist/api.d.mts +2 -102
  6. package/dist/api.d.ts +2 -102
  7. package/dist/api.js +59 -497
  8. package/dist/api.mjs +5 -437
  9. package/dist/components-CfY72Lq2.mjs +11686 -0
  10. package/dist/components-CfY72Lq2.mjs.map +1 -0
  11. package/dist/{styles-JV3V5MVO.css → components-D2DRqJsz.css} +28 -0
  12. package/dist/components-D2DRqJsz.css.map +1 -0
  13. package/dist/components-DXbVq9Cw.js +14038 -0
  14. package/dist/components-DXbVq9Cw.js.map +1 -0
  15. package/dist/components-dVXbmdqd.css +70 -0
  16. package/dist/components-dVXbmdqd.css.map +1 -0
  17. package/dist/components.d.mts +2 -471
  18. package/dist/components.d.ts +2 -471
  19. package/dist/components.js +85 -27392
  20. package/dist/components.mjs +8 -27250
  21. package/dist/hooks-C4jkoryM.js +40 -0
  22. package/dist/hooks-C4jkoryM.js.map +1 -0
  23. package/dist/hooks-C8pyX9m_.mjs +34 -0
  24. package/dist/hooks-C8pyX9m_.mjs.map +1 -0
  25. package/dist/hooks.d.mts +2 -296
  26. package/dist/hooks.d.ts +2 -296
  27. package/dist/hooks.js +33 -7583
  28. package/dist/hooks.mjs +6 -7521
  29. package/dist/html2canvas-pro.esm-BR5xeFe-.mjs +7249 -0
  30. package/dist/html2canvas-pro.esm-BR5xeFe-.mjs.map +1 -0
  31. package/dist/html2canvas-pro.esm-CVOsBdk0.js +7250 -0
  32. package/dist/html2canvas-pro.esm-CVOsBdk0.js.map +1 -0
  33. package/dist/index-CVPmrztP.d.ts +1825 -0
  34. package/dist/index-CVPmrztP.d.ts.map +1 -0
  35. package/dist/index-DIHuswfP.d.mts +1827 -0
  36. package/dist/index-DIHuswfP.d.mts.map +1 -0
  37. package/dist/index.d.mts +2 -29
  38. package/dist/index.d.ts +2 -29
  39. package/dist/index.js +177 -28784
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +16 -28555
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/state-AeoqV9ja.js +9176 -0
  44. package/dist/state-AeoqV9ja.js.map +1 -0
  45. package/dist/state-BbgVwFV2.mjs +8204 -0
  46. package/dist/state-BbgVwFV2.mjs.map +1 -0
  47. package/dist/{style-466WWZLM.css → state-IA7HWYOs.css} +81 -0
  48. package/dist/state-IA7HWYOs.css.map +1 -0
  49. package/dist/state-eEsMhIy4.css +215 -0
  50. package/dist/state-eEsMhIy4.css.map +1 -0
  51. package/dist/tooltipMessage-CrXjOmVM.mjs +7 -0
  52. package/dist/tooltipMessage-CrXjOmVM.mjs.map +1 -0
  53. package/dist/tooltipMessage-Dbi1kkfi.js +13 -0
  54. package/dist/tooltipMessage-Dbi1kkfi.js.map +1 -0
  55. package/dist/types.d.mts +2 -32
  56. package/dist/types.d.ts +2 -32
  57. package/dist/types.js +8 -24
  58. package/dist/types.mjs +4 -18
  59. package/dist/urls-D7PrPolY.mjs +16 -0
  60. package/dist/urls-D7PrPolY.mjs.map +1 -0
  61. package/dist/urls-SazAekCZ.js +34 -0
  62. package/dist/urls-SazAekCZ.js.map +1 -0
  63. package/dist/version-C2NU3xyx.mjs +89 -0
  64. package/dist/version-C2NU3xyx.mjs.map +1 -0
  65. package/dist/version-MxW9vrDY.js +137 -0
  66. package/dist/version-MxW9vrDY.js.map +1 -0
  67. package/package.json +7 -7
  68. package/dist/LineageViewContext-DEa54ZNF.d.mts +0 -103
  69. package/dist/LineageViewContext-DPVC8ak8.d.ts +0 -103
  70. package/dist/agGridStyles-VYALGSJU.css +0 -55
  71. package/dist/api.js.map +0 -1
  72. package/dist/api.mjs.map +0 -1
  73. package/dist/components.js.map +0 -1
  74. package/dist/components.mjs.map +0 -1
  75. package/dist/hooks.js.map +0 -1
  76. package/dist/hooks.mjs.map +0 -1
  77. package/dist/lineagecheck-BQaKAQzn.d.mts +0 -597
  78. package/dist/lineagecheck-BQaKAQzn.d.ts +0 -597
  79. package/dist/styles-QUPOR3LM.css +0 -24
  80. package/dist/styles-TU5BYTIL.css +0 -21
  81. package/dist/types.js.map +0 -1
  82. 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"}
@@ -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
- interface MuiProviderProps {
20
- children: ReactNode;
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 { $n as RunToolbar, $t as RunResultPane, An as GraphColumnNode, At as IconSync, Bi as ErrorBoundary, Bt as SummaryView, Cn as ModelRowCount, Dn as RowCountTagProps, Dt as IconImport, En as RowCountDiffTagProps, Et as IconExport, Fn as useLineageViewContext, Ft as NavBar, Gt as TopKDiffResultView, Hi as ToasterProvider, Ht as TopKSummaryList, Ii as LineagePage, In as LineageView, It as TopBar, Jt as HistogramDiffForm, Kt as TopKDiffForm, Li as ScreenshotBox, Lt as EnvInfo, Mn as GraphNode, Mt as HistoryToggle, Nn as LineageViewTopBar, Nt as RecceVersionBadge, On as NodeSqlView, Ot as IconInfo, Pn as LineageViewContext, Pt as DisplayModeToggle, Qn as ScreenshotDataGrid, Qt as RunStatusAndDate, Ri as HSplit, Rt as SchemaSummary, Sn as SetupConnectionBanner, Tn as RowCountDiffTag, Tt as IconEdit, Ui as useToaster, Ut as HistogramChart, Vi as Toaster, Vt as SquareIcon, Wi as MuiProvider, Wt as RowCountDiffResultView, Xn as ValueDiffForm, Xt as ValueDiffResultView, Yt as ValueDiffDetailResultView, Zn as ProfileDiffForm, Zt as ProfileDiffResultView, _n as QueryDiffResultView, an as LineageDiffView, bn as QueryForm, cn as CheckBreadcrumb, dn as ColumnNameCell, en as RunModal, fn as SchemaView, gn as DiffText, hn as SetupConnectionGuide, in as SchemaDiffView, jn as GraphEdge, jt as IdleTimeoutBadge, kn as NodeView, kt as IconSave, ln as CheckDetail, mn as CodeEditor, nn as RunList, on as CheckEmptyState, pn as DiffEditor, qt as HistogramDiffResultView, rn as RunPage, sn as CheckDescription, tn as RunView, un as CheckList, vn as QueryResultView, wn as ResourceTypeTag, xn as QueryPage, yn as SqlEditor, zi as VSplit, zt as ChangeSummary } from "./index-DIHuswfP.mjs";
3
+ export { ChangeSummary, CheckBreadcrumb, CheckDescription, CheckDetail, CheckEmptyState, CheckList, CodeEditor, ColumnNameCell, DiffEditor, DiffText, DisplayModeToggle, 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, NavBar, NodeSqlView, NodeView, ProfileDiffForm, ProfileDiffResultView, QueryDiffResultView, QueryForm, QueryPage, QueryResultView, RecceVersionBadge, ResourceTypeTag, RowCountDiffResultView, RowCountDiffTag, RowCountDiffTagProps, RowCountTagProps, RunList, RunModal, RunPage, RunResultPane, RunStatusAndDate, RunToolbar, RunView, SchemaDiffView, SchemaSummary, SchemaView, ScreenshotBox, ScreenshotDataGrid, SetupConnectionBanner, SetupConnectionGuide, SqlEditor, SquareIcon, SummaryView, Toaster, ToasterProvider, TopBar, TopKDiffForm, TopKDiffResultView, TopKSummaryList, VSplit, ValueDiffDetailResultView, ValueDiffForm, ValueDiffResultView, useLineageViewContext, useToaster };