@datarecce/ui 0.1.10 → 0.1.12
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/components.d.mts +159 -75
- package/dist/components.d.ts +159 -75
- package/dist/components.js +912 -513
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +895 -514
- package/dist/components.mjs.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +872 -516
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +855 -517
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -7
package/dist/index.mjs
CHANGED
|
@@ -8,9 +8,12 @@ import CircularProgress4 from '@mui/material/CircularProgress';
|
|
|
8
8
|
import Snackbar from '@mui/material/Snackbar';
|
|
9
9
|
import Stack24 from '@mui/material/Stack';
|
|
10
10
|
import Typography28 from '@mui/material/Typography';
|
|
11
|
+
import Box35 from '@mui/material/Box';
|
|
12
|
+
import Button11 from '@mui/material/Button';
|
|
13
|
+
import { ErrorBoundary as ErrorBoundary$1 } from '@sentry/react';
|
|
14
|
+
import ReactSplit from 'react-split';
|
|
15
|
+
import './styles-PJUYW64Y.css';
|
|
11
16
|
import { useReactFlow, useNodesState, useEdgesState, ReactFlow, Background, Controls, ControlButton, Panel, MiniMap, getNodesBounds, ReactFlowProvider, getBezierPath, BaseEdge, useStore, Handle, Position } from '@xyflow/react';
|
|
12
|
-
import Box34 from '@mui/material/Box';
|
|
13
|
-
import Button10 from '@mui/material/Button';
|
|
14
17
|
import Divider from '@mui/material/Divider';
|
|
15
18
|
import dagre from '@dagrejs/dagre';
|
|
16
19
|
import '@xyflow/react/dist/style.css';
|
|
@@ -24,7 +27,7 @@ import DialogContent from '@mui/material/DialogContent';
|
|
|
24
27
|
import DialogTitle from '@mui/material/DialogTitle';
|
|
25
28
|
import IconButton2 from '@mui/material/IconButton';
|
|
26
29
|
import path from 'path';
|
|
27
|
-
import { IoClose, IoBookmarksOutline } from 'react-icons/io5';
|
|
30
|
+
import { IoClose, IoBookmarksOutline, IoWarning } from 'react-icons/io5';
|
|
28
31
|
import NextLink from 'next/link';
|
|
29
32
|
import throttle from 'lodash/throttle';
|
|
30
33
|
import { useRouter, usePathname } from 'next/navigation';
|
|
@@ -32,11 +35,11 @@ import Link from '@mui/material/Link';
|
|
|
32
35
|
import MuiPopover from '@mui/material/Popover';
|
|
33
36
|
import { LuChartBarBig, LuExternalLink } from 'react-icons/lu';
|
|
34
37
|
import { MdFormatListNumberedRtl, MdSchema } from 'react-icons/md';
|
|
35
|
-
import { TbEyeEdit, TbChartHistogram, TbAlignBoxLeftStretch, TbEyeSearch, TbSql, TbBrandStackshare, TbCloudUpload } from 'react-icons/tb';
|
|
38
|
+
import { TbEyeEdit, TbChartHistogram, TbAlignBoxLeftStretch, TbEyeSearch, TbSql, TbBrandStackshare, TbCloudUpload, TbChecklist, TbPlus } from 'react-icons/tb';
|
|
36
39
|
import FormControl from '@mui/material/FormControl';
|
|
37
40
|
import FormLabel from '@mui/material/FormLabel';
|
|
38
41
|
import NativeSelect from '@mui/material/NativeSelect';
|
|
39
|
-
import _3 from 'lodash';
|
|
42
|
+
import _3, { isEmpty } from 'lodash';
|
|
40
43
|
import { Chart, BarElement, TimeSeriesScale, LinearScale, CategoryScale, Title, Legend, Tooltip } from 'chart.js';
|
|
41
44
|
import { Chart as Chart$1, Bar } from 'react-chartjs-2';
|
|
42
45
|
import '@jeromefitz/date-fns-tz';
|
|
@@ -60,8 +63,6 @@ import ButtonGroup from '@mui/material/ButtonGroup';
|
|
|
60
63
|
import { formatDistanceToNow, format, parseISO, formatDistance } from 'date-fns';
|
|
61
64
|
import saveAs from 'file-saver';
|
|
62
65
|
import { toCanvas } from 'html-to-image';
|
|
63
|
-
import ReactSplit from 'react-split';
|
|
64
|
-
import './styles-PJUYW64Y.css';
|
|
65
66
|
import { FaRegDotCircle, FaCube, FaDatabase, FaSeedling, FaCamera, FaCheckSquare, FaRegSquare, FaExpandArrowsAlt, FaCheckCircle, FaRegCheckCircle } from 'react-icons/fa';
|
|
66
67
|
import { FaChartSimple, FaGauge, FaCircleNodes, FaPlay, FaBookmark } from 'react-icons/fa6';
|
|
67
68
|
import Chip2 from '@mui/material/Chip';
|
|
@@ -83,16 +84,15 @@ import { githubDark, githubLight } from '@uiw/codemirror-theme-github';
|
|
|
83
84
|
import CodeMirror from '@uiw/react-codemirror';
|
|
84
85
|
import { MergeView, unifiedMergeView } from '@codemirror/merge';
|
|
85
86
|
import { AiOutlineExperiment } from 'react-icons/ai';
|
|
86
|
-
import '@mui/material/Table';
|
|
87
|
-
import '@mui/material/TableBody';
|
|
88
|
-
import '@mui/material/TableCell';
|
|
89
|
-
import '@mui/material/TableContainer';
|
|
90
|
-
import '@mui/material/TableHead';
|
|
91
|
-
import '@mui/material/TableRow';
|
|
87
|
+
import Table from '@mui/material/Table';
|
|
88
|
+
import TableBody from '@mui/material/TableBody';
|
|
89
|
+
import TableCell from '@mui/material/TableCell';
|
|
90
|
+
import TableContainer from '@mui/material/TableContainer';
|
|
91
|
+
import TableHead from '@mui/material/TableHead';
|
|
92
|
+
import TableRow from '@mui/material/TableRow';
|
|
92
93
|
import InputBase from '@mui/material/InputBase';
|
|
93
94
|
import YAML from 'yaml';
|
|
94
95
|
import Cookies from 'js-cookie';
|
|
95
|
-
import { ErrorBoundary as ErrorBoundary$1 } from '@sentry/react';
|
|
96
96
|
import List from '@mui/material/List';
|
|
97
97
|
import ListItem from '@mui/material/ListItem';
|
|
98
98
|
import MuiSwitch from '@mui/material/Switch';
|
|
@@ -111,6 +111,7 @@ import 'simplebar/dist/simplebar.min.css';
|
|
|
111
111
|
import Card from '@mui/material/Card';
|
|
112
112
|
import CardContent from '@mui/material/CardContent';
|
|
113
113
|
import CardHeader from '@mui/material/CardHeader';
|
|
114
|
+
import Badge from '@mui/material/Badge';
|
|
114
115
|
|
|
115
116
|
var colors = {
|
|
116
117
|
iochmara: {
|
|
@@ -1122,6 +1123,123 @@ function Toaster() {
|
|
|
1122
1123
|
toast.id
|
|
1123
1124
|
)) });
|
|
1124
1125
|
}
|
|
1126
|
+
var Fallback = (errorData) => {
|
|
1127
|
+
return /* @__PURE__ */ jsx(
|
|
1128
|
+
Box35,
|
|
1129
|
+
{
|
|
1130
|
+
sx: {
|
|
1131
|
+
height: "100%",
|
|
1132
|
+
bgcolor: "grey.50",
|
|
1133
|
+
display: "flex",
|
|
1134
|
+
alignItems: "center",
|
|
1135
|
+
justifyContent: "center"
|
|
1136
|
+
},
|
|
1137
|
+
children: /* @__PURE__ */ jsxs(
|
|
1138
|
+
Box35,
|
|
1139
|
+
{
|
|
1140
|
+
sx: {
|
|
1141
|
+
p: 4,
|
|
1142
|
+
display: "flex",
|
|
1143
|
+
flexDirection: "column",
|
|
1144
|
+
justifyContent: "flex-start",
|
|
1145
|
+
bgcolor: "white",
|
|
1146
|
+
border: "solid lightgray 1px",
|
|
1147
|
+
minHeight: "200px"
|
|
1148
|
+
},
|
|
1149
|
+
children: [
|
|
1150
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { width: "800px" }, children: "You have encountered an error" }),
|
|
1151
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1, fontSize: "10pt" }, children: String(errorData.error) }),
|
|
1152
|
+
/* @__PURE__ */ jsx(
|
|
1153
|
+
Button11,
|
|
1154
|
+
{
|
|
1155
|
+
sx: {
|
|
1156
|
+
justifySelf: "center",
|
|
1157
|
+
alignSelf: "center",
|
|
1158
|
+
mt: "20px"
|
|
1159
|
+
},
|
|
1160
|
+
color: "iochmara",
|
|
1161
|
+
variant: "contained",
|
|
1162
|
+
size: "small",
|
|
1163
|
+
onClick: () => {
|
|
1164
|
+
errorData.resetError();
|
|
1165
|
+
},
|
|
1166
|
+
children: "Reset"
|
|
1167
|
+
}
|
|
1168
|
+
)
|
|
1169
|
+
]
|
|
1170
|
+
}
|
|
1171
|
+
)
|
|
1172
|
+
}
|
|
1173
|
+
);
|
|
1174
|
+
};
|
|
1175
|
+
var ErrorBoundary = ({
|
|
1176
|
+
children,
|
|
1177
|
+
fallback = Fallback
|
|
1178
|
+
}) => {
|
|
1179
|
+
return /* @__PURE__ */ jsx(ErrorBoundary$1, { fallback, children });
|
|
1180
|
+
};
|
|
1181
|
+
var HSplit = (props) => {
|
|
1182
|
+
const { style, children, gutterSize = 5, ...rest } = props;
|
|
1183
|
+
return /* @__PURE__ */ jsx(
|
|
1184
|
+
ReactSplit,
|
|
1185
|
+
{
|
|
1186
|
+
style: {
|
|
1187
|
+
display: "flex",
|
|
1188
|
+
flexDirection: "row",
|
|
1189
|
+
...style
|
|
1190
|
+
},
|
|
1191
|
+
direction: "horizontal",
|
|
1192
|
+
gutterSize,
|
|
1193
|
+
...rest,
|
|
1194
|
+
children
|
|
1195
|
+
}
|
|
1196
|
+
);
|
|
1197
|
+
};
|
|
1198
|
+
var VSplit = (props) => {
|
|
1199
|
+
const { style, children, gutterSize = 5, ...rest } = props;
|
|
1200
|
+
return /* @__PURE__ */ jsx(
|
|
1201
|
+
ReactSplit,
|
|
1202
|
+
{
|
|
1203
|
+
style: {
|
|
1204
|
+
display: "flex",
|
|
1205
|
+
flexDirection: "column",
|
|
1206
|
+
...style
|
|
1207
|
+
},
|
|
1208
|
+
gutterSize,
|
|
1209
|
+
direction: "vertical",
|
|
1210
|
+
...rest,
|
|
1211
|
+
children
|
|
1212
|
+
}
|
|
1213
|
+
);
|
|
1214
|
+
};
|
|
1215
|
+
var ScreenshotBox = forwardRef(
|
|
1216
|
+
({
|
|
1217
|
+
backgroundColor = "white",
|
|
1218
|
+
blockSize,
|
|
1219
|
+
children,
|
|
1220
|
+
...restProps
|
|
1221
|
+
}, ref) => {
|
|
1222
|
+
return /* @__PURE__ */ jsx(
|
|
1223
|
+
Box35,
|
|
1224
|
+
{
|
|
1225
|
+
ref,
|
|
1226
|
+
...restProps,
|
|
1227
|
+
sx: { overflowY: "auto", overflowX: "hidden", ...restProps.sx },
|
|
1228
|
+
children: /* @__PURE__ */ jsx(
|
|
1229
|
+
Box35,
|
|
1230
|
+
{
|
|
1231
|
+
sx: {
|
|
1232
|
+
backgroundColor,
|
|
1233
|
+
height: "100%",
|
|
1234
|
+
blockSize
|
|
1235
|
+
},
|
|
1236
|
+
children
|
|
1237
|
+
}
|
|
1238
|
+
)
|
|
1239
|
+
}
|
|
1240
|
+
);
|
|
1241
|
+
}
|
|
1242
|
+
);
|
|
1125
1243
|
|
|
1126
1244
|
// recce-source/js/src/components/lineage/graph.ts
|
|
1127
1245
|
function getNeighborSet(nodeIds, getNeighbors, degree = 1e3) {
|
|
@@ -1578,6 +1696,9 @@ function trackCopyToClipboard(props) {
|
|
|
1578
1696
|
function trackLineageViewRender(props) {
|
|
1579
1697
|
track("[Web] lineage_view_render", props);
|
|
1580
1698
|
}
|
|
1699
|
+
function trackEnvironmentConfig(props) {
|
|
1700
|
+
track("[Web] environment_config", props);
|
|
1701
|
+
}
|
|
1581
1702
|
var EXPLORE_ACTION = {
|
|
1582
1703
|
ROW_COUNT: "row_count",
|
|
1583
1704
|
ROW_COUNT_DIFF: "row_count_diff",
|
|
@@ -1707,7 +1828,7 @@ function ServerDisconnectedModalContent({
|
|
|
1707
1828
|
" and was automatically stopped. Please restart the Recce server to continue."
|
|
1708
1829
|
] }) : /* @__PURE__ */ jsx(Typography28, { children: "The server connection has been lost. Please restart the Recce server and try again." }) }),
|
|
1709
1830
|
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(
|
|
1710
|
-
|
|
1831
|
+
Button11,
|
|
1711
1832
|
{
|
|
1712
1833
|
color: "iochmara",
|
|
1713
1834
|
variant: "contained",
|
|
@@ -1741,8 +1862,8 @@ function RecceInstanceDisconnectedModalContent({
|
|
|
1741
1862
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1742
1863
|
/* @__PURE__ */ jsx(DialogTitle, { children: content.title }),
|
|
1743
1864
|
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(Typography28, { children: content.body }) }),
|
|
1744
|
-
/* @__PURE__ */ jsx(DialogActions, { children: mode === "read only" ? /* @__PURE__ */ jsx(NextLink, { href: content.link, passHref: true, children: /* @__PURE__ */ jsx(
|
|
1745
|
-
|
|
1865
|
+
/* @__PURE__ */ jsx(DialogActions, { children: mode === "read only" ? /* @__PURE__ */ jsx(NextLink, { href: content.link, passHref: true, children: /* @__PURE__ */ jsx(Button11, { color: "iochmara", variant: "contained", children: content.action }) }) : /* @__PURE__ */ jsx(
|
|
1866
|
+
Button11,
|
|
1746
1867
|
{
|
|
1747
1868
|
color: "iochmara",
|
|
1748
1869
|
variant: "contained",
|
|
@@ -2531,7 +2652,7 @@ function LineageGraphContextProvider({ children }) {
|
|
|
2531
2652
|
),
|
|
2532
2653
|
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(Typography28, { children: "Please restart the Recce server." }) }),
|
|
2533
2654
|
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(
|
|
2534
|
-
|
|
2655
|
+
Button11,
|
|
2535
2656
|
{
|
|
2536
2657
|
color: "iochmara",
|
|
2537
2658
|
variant: "contained",
|
|
@@ -2753,7 +2874,7 @@ var RunModal = ({
|
|
|
2753
2874
|
onMouseEnter: (e) => setAnchorEl(e.currentTarget),
|
|
2754
2875
|
onMouseLeave: () => setAnchorEl(null),
|
|
2755
2876
|
onClick: () => window.open(documentationUrl, "_blank"),
|
|
2756
|
-
children: /* @__PURE__ */ jsx(
|
|
2877
|
+
children: /* @__PURE__ */ jsx(Box35, { component: IconInfo, sx: { fontSize: "16px" } })
|
|
2757
2878
|
}
|
|
2758
2879
|
),
|
|
2759
2880
|
/* @__PURE__ */ jsx(
|
|
@@ -2823,7 +2944,7 @@ var RunModal = ({
|
|
|
2823
2944
|
borderTop: "1px solid lightgray",
|
|
2824
2945
|
borderBottom: "1px solid lightgray"
|
|
2825
2946
|
},
|
|
2826
|
-
children: /* @__PURE__ */ jsx(
|
|
2947
|
+
children: /* @__PURE__ */ jsx(Box35, { sx: { contain: "layout" }, children: RunForm && /* @__PURE__ */ jsx(
|
|
2827
2948
|
RunForm,
|
|
2828
2949
|
{
|
|
2829
2950
|
params,
|
|
@@ -2834,7 +2955,7 @@ var RunModal = ({
|
|
|
2834
2955
|
}
|
|
2835
2956
|
),
|
|
2836
2957
|
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(Stack24, { direction: "row", spacing: "10px", children: /* @__PURE__ */ jsx(
|
|
2837
|
-
|
|
2958
|
+
Button11,
|
|
2838
2959
|
{
|
|
2839
2960
|
disabled: !isReadyToExecute,
|
|
2840
2961
|
color: "iochmara",
|
|
@@ -3021,12 +3142,12 @@ function HistogramDiffForm({
|
|
|
3021
3142
|
(c) => !isStringDataType(c.type) && !isBooleanDataType(c.type) && !isDateTimeType(c.type)
|
|
3022
3143
|
);
|
|
3023
3144
|
if (isLoading) {
|
|
3024
|
-
return /* @__PURE__ */ jsx(
|
|
3145
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Loading..." });
|
|
3025
3146
|
}
|
|
3026
3147
|
if (allColumns.length === 0 || error) {
|
|
3027
|
-
return /* @__PURE__ */ jsx(
|
|
3148
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Error: Please provide the 'catalog.json' to list column candidates" });
|
|
3028
3149
|
}
|
|
3029
|
-
return /* @__PURE__ */ jsx(
|
|
3150
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { m: "16px" }, children: /* @__PURE__ */ jsxs(FormControl, { fullWidth: true, disabled: columns.length === 0, children: [
|
|
3030
3151
|
/* @__PURE__ */ jsx(FormLabel, { sx: { mb: 1 }, children: "Pick a column to show Histogram Diff" }),
|
|
3031
3152
|
/* @__PURE__ */ jsxs(
|
|
3032
3153
|
NativeSelect,
|
|
@@ -3128,7 +3249,7 @@ var CURRENT_BAR_COLOR_WITH_ALPHA = `${CURRENT_BAR_COLOR}A5`;
|
|
|
3128
3249
|
var BASE_BAR_COLOR_WITH_ALPHA = `${BASE_BAR_COLOR}A5`;
|
|
3129
3250
|
function SquareIcon({ color }) {
|
|
3130
3251
|
return /* @__PURE__ */ jsx(
|
|
3131
|
-
|
|
3252
|
+
Box35,
|
|
3132
3253
|
{
|
|
3133
3254
|
sx: {
|
|
3134
3255
|
display: "inline-block",
|
|
@@ -3310,34 +3431,6 @@ function formatDisplayedBinItem(binEdges, currentIndex) {
|
|
|
3310
3431
|
const formattedEnd = formatAsAbbreviatedNumber(endEdge);
|
|
3311
3432
|
return `${formattedStart} - ${formattedEnd}`;
|
|
3312
3433
|
}
|
|
3313
|
-
var ScreenshotBox = forwardRef(
|
|
3314
|
-
({
|
|
3315
|
-
backgroundColor = "white",
|
|
3316
|
-
blockSize,
|
|
3317
|
-
children,
|
|
3318
|
-
...restProps
|
|
3319
|
-
}, ref) => {
|
|
3320
|
-
return /* @__PURE__ */ jsx(
|
|
3321
|
-
Box34,
|
|
3322
|
-
{
|
|
3323
|
-
ref,
|
|
3324
|
-
...restProps,
|
|
3325
|
-
sx: { overflowY: "auto", overflowX: "hidden", ...restProps.sx },
|
|
3326
|
-
children: /* @__PURE__ */ jsx(
|
|
3327
|
-
Box34,
|
|
3328
|
-
{
|
|
3329
|
-
sx: {
|
|
3330
|
-
backgroundColor,
|
|
3331
|
-
height: "100%",
|
|
3332
|
-
blockSize
|
|
3333
|
-
},
|
|
3334
|
-
children
|
|
3335
|
-
}
|
|
3336
|
-
)
|
|
3337
|
-
}
|
|
3338
|
-
);
|
|
3339
|
-
}
|
|
3340
|
-
);
|
|
3341
3434
|
function _HistogramDiffResultView({ run }, ref) {
|
|
3342
3435
|
if (!isHistogramDiffRun(run)) {
|
|
3343
3436
|
throw new Error("Run type must be histogram_diff");
|
|
@@ -3351,9 +3444,9 @@ function _HistogramDiffResultView({ run }, ref) {
|
|
|
3351
3444
|
if (!base || !current) {
|
|
3352
3445
|
return /* @__PURE__ */ jsx("div", { children: "Loading..." });
|
|
3353
3446
|
}
|
|
3354
|
-
return /* @__PURE__ */ jsx(
|
|
3355
|
-
/* @__PURE__ */ jsx(
|
|
3356
|
-
/* @__PURE__ */ jsx(
|
|
3447
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: /* @__PURE__ */ jsx(ScreenshotBox, { ref, height: "100%", children: /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "row" }, children: [
|
|
3448
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
3449
|
+
/* @__PURE__ */ jsx(Box35, { sx: { width: "80%", height: "35vh", m: 4 }, children: /* @__PURE__ */ jsx(
|
|
3357
3450
|
HistogramChart,
|
|
3358
3451
|
{
|
|
3359
3452
|
data: {
|
|
@@ -3367,7 +3460,7 @@ function _HistogramDiffResultView({ run }, ref) {
|
|
|
3367
3460
|
}
|
|
3368
3461
|
}
|
|
3369
3462
|
) }),
|
|
3370
|
-
/* @__PURE__ */ jsx(
|
|
3463
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } })
|
|
3371
3464
|
] }) }) });
|
|
3372
3465
|
}
|
|
3373
3466
|
var HistogramDiffResultView = forwardRef(_HistogramDiffResultView);
|
|
@@ -3386,13 +3479,13 @@ function ProfileDiffForm({
|
|
|
3386
3479
|
}, [model, setIsReadyToExecute]);
|
|
3387
3480
|
const columnNames = columns.map((c) => c.name);
|
|
3388
3481
|
if (isLoading) {
|
|
3389
|
-
return /* @__PURE__ */ jsx(
|
|
3482
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Loading..." });
|
|
3390
3483
|
}
|
|
3391
3484
|
if (columnNames.length === 0 || error) {
|
|
3392
|
-
return /* @__PURE__ */ jsx(
|
|
3485
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Error: Please provide the 'catalog.json' to list column candidates" });
|
|
3393
3486
|
}
|
|
3394
3487
|
return /* @__PURE__ */ jsxs(Stack24, { spacing: 5, sx: { m: "8px 24px", pb: "200px" }, children: [
|
|
3395
|
-
/* @__PURE__ */ jsxs(
|
|
3488
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
3396
3489
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 1 }, children: "Model" }),
|
|
3397
3490
|
/* @__PURE__ */ jsx(
|
|
3398
3491
|
TextField,
|
|
@@ -3404,7 +3497,7 @@ function ProfileDiffForm({
|
|
|
3404
3497
|
}
|
|
3405
3498
|
)
|
|
3406
3499
|
] }),
|
|
3407
|
-
/* @__PURE__ */ jsxs(
|
|
3500
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
3408
3501
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 1 }, children: "Columns" }),
|
|
3409
3502
|
/* @__PURE__ */ jsx(
|
|
3410
3503
|
FormControlLabel4,
|
|
@@ -3696,14 +3789,14 @@ function DataFrameColumnGroupHeader({
|
|
|
3696
3789
|
onPinnedColumnsChange(newPinnedColumns);
|
|
3697
3790
|
};
|
|
3698
3791
|
return /* @__PURE__ */ jsxs(
|
|
3699
|
-
|
|
3792
|
+
Box35,
|
|
3700
3793
|
{
|
|
3701
3794
|
sx: { display: "flex", alignItems: "center", gap: "10px", width: "100%" },
|
|
3702
3795
|
className: "grid-header",
|
|
3703
3796
|
children: [
|
|
3704
3797
|
isPK && /* @__PURE__ */ jsx(VscKey, {}),
|
|
3705
3798
|
/* @__PURE__ */ jsx(
|
|
3706
|
-
|
|
3799
|
+
Box35,
|
|
3707
3800
|
{
|
|
3708
3801
|
sx: {
|
|
3709
3802
|
flex: 1,
|
|
@@ -3715,7 +3808,7 @@ function DataFrameColumnGroupHeader({
|
|
|
3715
3808
|
}
|
|
3716
3809
|
),
|
|
3717
3810
|
canBePk && onPrimaryKeyChange && /* @__PURE__ */ jsx(
|
|
3718
|
-
|
|
3811
|
+
Box35,
|
|
3719
3812
|
{
|
|
3720
3813
|
component: isPK ? VscClose : VscKey,
|
|
3721
3814
|
className: isPK ? "close-icon" : "key-icon",
|
|
@@ -3727,7 +3820,7 @@ function DataFrameColumnGroupHeader({
|
|
|
3727
3820
|
}
|
|
3728
3821
|
),
|
|
3729
3822
|
!isPK && onPinnedColumnsChange && /* @__PURE__ */ jsx(
|
|
3730
|
-
|
|
3823
|
+
Box35,
|
|
3731
3824
|
{
|
|
3732
3825
|
component: isPinned ? VscPinned : VscPin,
|
|
3733
3826
|
className: isPinned ? "unpin-icon" : "pin-icon",
|
|
@@ -3799,14 +3892,14 @@ function DataFrameColumnHeader({
|
|
|
3799
3892
|
onPinnedColumnsChange(newPinnedColumns);
|
|
3800
3893
|
};
|
|
3801
3894
|
return /* @__PURE__ */ jsxs(
|
|
3802
|
-
|
|
3895
|
+
Box35,
|
|
3803
3896
|
{
|
|
3804
3897
|
sx: { display: "flex", alignItems: "center", width: "100%" },
|
|
3805
3898
|
className: "grid-header",
|
|
3806
3899
|
children: [
|
|
3807
|
-
/* @__PURE__ */ jsx(
|
|
3900
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 }, children: name }),
|
|
3808
3901
|
/* @__PURE__ */ jsx(
|
|
3809
|
-
|
|
3902
|
+
Box35,
|
|
3810
3903
|
{
|
|
3811
3904
|
component: isPinned ? VscPinned : VscPin,
|
|
3812
3905
|
className: isPinned ? "unpin-icon" : "pin-icon",
|
|
@@ -4125,7 +4218,7 @@ var DiffText = ({
|
|
|
4125
4218
|
const textColor = colors[colorPalette][800];
|
|
4126
4219
|
const bgColor = colors[colorPalette][100];
|
|
4127
4220
|
return /* @__PURE__ */ jsxs(
|
|
4128
|
-
|
|
4221
|
+
Box35,
|
|
4129
4222
|
{
|
|
4130
4223
|
sx: {
|
|
4131
4224
|
display: "flex",
|
|
@@ -4150,7 +4243,7 @@ var DiffText = ({
|
|
|
4150
4243
|
},
|
|
4151
4244
|
children: [
|
|
4152
4245
|
/* @__PURE__ */ jsx(
|
|
4153
|
-
|
|
4246
|
+
Box35,
|
|
4154
4247
|
{
|
|
4155
4248
|
sx: {
|
|
4156
4249
|
overflow: "hidden",
|
|
@@ -4271,7 +4364,7 @@ Change: ${netChange >= 0 ? "+" : ""}${netChange} (${changePercent >= 0 ? "+" : "
|
|
|
4271
4364
|
enterDelay: 300,
|
|
4272
4365
|
placement: "top",
|
|
4273
4366
|
children: /* @__PURE__ */ jsxs(
|
|
4274
|
-
|
|
4367
|
+
Box35,
|
|
4275
4368
|
{
|
|
4276
4369
|
gap: "5px",
|
|
4277
4370
|
display: "flex",
|
|
@@ -4303,7 +4396,7 @@ Change: ${netChange >= 0 ? "+" : ""}${netChange} (${changePercent >= 0 ? "+" : "
|
|
|
4303
4396
|
}
|
|
4304
4397
|
}
|
|
4305
4398
|
return /* @__PURE__ */ jsxs(
|
|
4306
|
-
|
|
4399
|
+
Box35,
|
|
4307
4400
|
{
|
|
4308
4401
|
sx: {
|
|
4309
4402
|
display: "flex",
|
|
@@ -5263,9 +5356,9 @@ function ColumnNameCell({
|
|
|
5263
5356
|
title: "View column lineage",
|
|
5264
5357
|
placement: "top",
|
|
5265
5358
|
disableHoverListener: isCllDisabled,
|
|
5266
|
-
children: /* @__PURE__ */ jsxs(
|
|
5359
|
+
children: /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", alignItems: "center", gap: "3px" }, children: [
|
|
5267
5360
|
/* @__PURE__ */ jsx(
|
|
5268
|
-
|
|
5361
|
+
Box35,
|
|
5269
5362
|
{
|
|
5270
5363
|
sx: {
|
|
5271
5364
|
overflow: "hidden",
|
|
@@ -5275,7 +5368,7 @@ function ColumnNameCell({
|
|
|
5275
5368
|
children: name
|
|
5276
5369
|
}
|
|
5277
5370
|
),
|
|
5278
|
-
/* @__PURE__ */ jsx(
|
|
5371
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
5279
5372
|
cllRunning && /* @__PURE__ */ jsx(CircularProgress4, { size: 12, color: "inherit" }),
|
|
5280
5373
|
showMenu && !singleEnv && model.resource_type !== "source" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5281
5374
|
/* @__PURE__ */ jsx(
|
|
@@ -5545,7 +5638,7 @@ function PrimaryKeyIndicatorCell({
|
|
|
5545
5638
|
}) {
|
|
5546
5639
|
const isPrimaryKey2 = primaryKeys.includes(columnName);
|
|
5547
5640
|
return /* @__PURE__ */ jsx(
|
|
5548
|
-
|
|
5641
|
+
Box35,
|
|
5549
5642
|
{
|
|
5550
5643
|
sx: {
|
|
5551
5644
|
display: "flex",
|
|
@@ -5578,9 +5671,9 @@ function ValueDiffColumnNameCell({
|
|
|
5578
5671
|
};
|
|
5579
5672
|
runAction("value_diff_detail", newParams, options);
|
|
5580
5673
|
};
|
|
5581
|
-
return /* @__PURE__ */ jsxs(
|
|
5674
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex" }, children: [
|
|
5582
5675
|
/* @__PURE__ */ jsx(
|
|
5583
|
-
|
|
5676
|
+
Box35,
|
|
5584
5677
|
{
|
|
5585
5678
|
sx: {
|
|
5586
5679
|
overflow: "hidden",
|
|
@@ -5590,7 +5683,7 @@ function ValueDiffColumnNameCell({
|
|
|
5590
5683
|
children: column
|
|
5591
5684
|
}
|
|
5592
5685
|
),
|
|
5593
|
-
/* @__PURE__ */ jsx(
|
|
5686
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
5594
5687
|
/* @__PURE__ */ jsx(
|
|
5595
5688
|
IconButton2,
|
|
5596
5689
|
{
|
|
@@ -5655,7 +5748,7 @@ function MatchedPercentCell({ value }) {
|
|
|
5655
5748
|
displayValue = `${(value * 100).toFixed(2)} %`;
|
|
5656
5749
|
}
|
|
5657
5750
|
}
|
|
5658
|
-
return /* @__PURE__ */ jsx(
|
|
5751
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { textAlign: "right" }, children: displayValue });
|
|
5659
5752
|
}
|
|
5660
5753
|
function createPrimaryKeyIndicatorRenderer(primaryKeys) {
|
|
5661
5754
|
return (params) => {
|
|
@@ -6005,7 +6098,7 @@ themeQuartz.withParams({
|
|
|
6005
6098
|
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
6006
6099
|
function EmptyRowsRenderer({ emptyMessage }) {
|
|
6007
6100
|
return /* @__PURE__ */ jsx(
|
|
6008
|
-
|
|
6101
|
+
Box35,
|
|
6009
6102
|
{
|
|
6010
6103
|
sx: {
|
|
6011
6104
|
display: "flex",
|
|
@@ -6080,7 +6173,7 @@ function _ScreenshotDataGrid({
|
|
|
6080
6173
|
return `grid-${pinnedFields}`;
|
|
6081
6174
|
}, [resolvedColumnDefs]);
|
|
6082
6175
|
return /* @__PURE__ */ jsx(
|
|
6083
|
-
|
|
6176
|
+
Box35,
|
|
6084
6177
|
{
|
|
6085
6178
|
ref: containerRef,
|
|
6086
6179
|
className: className ? `${className} no-track-pii-safe` : "no-track-pii-safe",
|
|
@@ -6173,7 +6266,7 @@ var ToggleSwitch = ({
|
|
|
6173
6266
|
}) => {
|
|
6174
6267
|
return /* @__PURE__ */ jsxs(ButtonGroup, { variant: "outlined", size: "xsmall", sx: { borderRadius: 1 }, children: [
|
|
6175
6268
|
/* @__PURE__ */ jsx(
|
|
6176
|
-
|
|
6269
|
+
Button11,
|
|
6177
6270
|
{
|
|
6178
6271
|
onClick: () => {
|
|
6179
6272
|
onChange(false);
|
|
@@ -6186,7 +6279,7 @@ var ToggleSwitch = ({
|
|
|
6186
6279
|
}
|
|
6187
6280
|
),
|
|
6188
6281
|
/* @__PURE__ */ jsx(
|
|
6189
|
-
|
|
6282
|
+
Button11,
|
|
6190
6283
|
{
|
|
6191
6284
|
onClick: () => {
|
|
6192
6285
|
onChange(true);
|
|
@@ -6245,7 +6338,7 @@ var RunToolbar = ({
|
|
|
6245
6338
|
children
|
|
6246
6339
|
}) => {
|
|
6247
6340
|
return /* @__PURE__ */ jsxs(
|
|
6248
|
-
|
|
6341
|
+
Box35,
|
|
6249
6342
|
{
|
|
6250
6343
|
sx: {
|
|
6251
6344
|
display: "flex",
|
|
@@ -6258,7 +6351,7 @@ var RunToolbar = ({
|
|
|
6258
6351
|
},
|
|
6259
6352
|
children: [
|
|
6260
6353
|
/* @__PURE__ */ jsx(
|
|
6261
|
-
|
|
6354
|
+
Box35,
|
|
6262
6355
|
{
|
|
6263
6356
|
sx: {
|
|
6264
6357
|
display: "flex",
|
|
@@ -6266,14 +6359,14 @@ var RunToolbar = ({
|
|
|
6266
6359
|
alignItems: "flex-start",
|
|
6267
6360
|
gap: 0
|
|
6268
6361
|
},
|
|
6269
|
-
children: warnings?.map((warning) => /* @__PURE__ */ jsxs(
|
|
6362
|
+
children: warnings?.map((warning) => /* @__PURE__ */ jsxs(Box35, { children: [
|
|
6270
6363
|
/* @__PURE__ */ jsx(PiWarning, { color: "amber.600" }),
|
|
6271
6364
|
" ",
|
|
6272
6365
|
warning
|
|
6273
6366
|
] }, _3.uniqueId(`-${warning}`)))
|
|
6274
6367
|
}
|
|
6275
6368
|
),
|
|
6276
|
-
/* @__PURE__ */ jsx(
|
|
6369
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1, minHeight: "32px" } }),
|
|
6277
6370
|
children
|
|
6278
6371
|
]
|
|
6279
6372
|
}
|
|
@@ -6337,7 +6430,7 @@ var PrivateProfileDiffResultView = ({ run, viewOptions, onViewOptionsChanged },
|
|
|
6337
6430
|
]);
|
|
6338
6431
|
if (gridData.columns.length === 0) {
|
|
6339
6432
|
return /* @__PURE__ */ jsx(
|
|
6340
|
-
|
|
6433
|
+
Box35,
|
|
6341
6434
|
{
|
|
6342
6435
|
sx: {
|
|
6343
6436
|
display: "flex",
|
|
@@ -6350,7 +6443,7 @@ var PrivateProfileDiffResultView = ({ run, viewOptions, onViewOptionsChanged },
|
|
|
6350
6443
|
);
|
|
6351
6444
|
}
|
|
6352
6445
|
return /* @__PURE__ */ jsxs(
|
|
6353
|
-
|
|
6446
|
+
Box35,
|
|
6354
6447
|
{
|
|
6355
6448
|
sx: {
|
|
6356
6449
|
display: "flex",
|
|
@@ -6440,7 +6533,7 @@ var PrivateProfileResultView = ({ run, viewOptions, onViewOptionsChanged }, ref)
|
|
|
6440
6533
|
]);
|
|
6441
6534
|
if (gridData.columns.length === 0) {
|
|
6442
6535
|
return /* @__PURE__ */ jsx(
|
|
6443
|
-
|
|
6536
|
+
Box35,
|
|
6444
6537
|
{
|
|
6445
6538
|
sx: {
|
|
6446
6539
|
display: "flex",
|
|
@@ -6453,7 +6546,7 @@ var PrivateProfileResultView = ({ run, viewOptions, onViewOptionsChanged }, ref)
|
|
|
6453
6546
|
);
|
|
6454
6547
|
}
|
|
6455
6548
|
return /* @__PURE__ */ jsx(
|
|
6456
|
-
|
|
6549
|
+
Box35,
|
|
6457
6550
|
{
|
|
6458
6551
|
sx: {
|
|
6459
6552
|
display: "flex",
|
|
@@ -6605,7 +6698,7 @@ var PrivateQueryDiffResultView = ({
|
|
|
6605
6698
|
}
|
|
6606
6699
|
if (gridData.columns.length === 0) {
|
|
6607
6700
|
return /* @__PURE__ */ jsx(
|
|
6608
|
-
|
|
6701
|
+
Box35,
|
|
6609
6702
|
{
|
|
6610
6703
|
sx: {
|
|
6611
6704
|
display: "flex",
|
|
@@ -6618,7 +6711,7 @@ var PrivateQueryDiffResultView = ({
|
|
|
6618
6711
|
);
|
|
6619
6712
|
}
|
|
6620
6713
|
return /* @__PURE__ */ jsxs(
|
|
6621
|
-
|
|
6714
|
+
Box35,
|
|
6622
6715
|
{
|
|
6623
6716
|
sx: {
|
|
6624
6717
|
display: "flex",
|
|
@@ -6765,7 +6858,7 @@ var PrivateQueryDiffJoinResultView = ({
|
|
|
6765
6858
|
}
|
|
6766
6859
|
if (gridData.columns.length === 0) {
|
|
6767
6860
|
return /* @__PURE__ */ jsx(
|
|
6768
|
-
|
|
6861
|
+
Box35,
|
|
6769
6862
|
{
|
|
6770
6863
|
sx: {
|
|
6771
6864
|
display: "flex",
|
|
@@ -6779,7 +6872,7 @@ var PrivateQueryDiffJoinResultView = ({
|
|
|
6779
6872
|
}
|
|
6780
6873
|
if (changedOnly && gridData.rows.length === 0) {
|
|
6781
6874
|
return /* @__PURE__ */ jsxs(
|
|
6782
|
-
|
|
6875
|
+
Box35,
|
|
6783
6876
|
{
|
|
6784
6877
|
sx: {
|
|
6785
6878
|
display: "flex",
|
|
@@ -6798,7 +6891,7 @@ var PrivateQueryDiffJoinResultView = ({
|
|
|
6798
6891
|
}
|
|
6799
6892
|
),
|
|
6800
6893
|
/* @__PURE__ */ jsx(
|
|
6801
|
-
|
|
6894
|
+
Box35,
|
|
6802
6895
|
{
|
|
6803
6896
|
sx: {
|
|
6804
6897
|
display: "flex",
|
|
@@ -6814,7 +6907,7 @@ var PrivateQueryDiffJoinResultView = ({
|
|
|
6814
6907
|
);
|
|
6815
6908
|
}
|
|
6816
6909
|
return /* @__PURE__ */ jsxs(
|
|
6817
|
-
|
|
6910
|
+
Box35,
|
|
6818
6911
|
{
|
|
6819
6912
|
sx: {
|
|
6820
6913
|
display: "flex",
|
|
@@ -6974,7 +7067,7 @@ var PrivateQueryResultView = ({
|
|
|
6974
7067
|
]);
|
|
6975
7068
|
if (gridData.columns.length === 0) {
|
|
6976
7069
|
return /* @__PURE__ */ jsx(
|
|
6977
|
-
|
|
7070
|
+
Box35,
|
|
6978
7071
|
{
|
|
6979
7072
|
sx: {
|
|
6980
7073
|
height: "100%",
|
|
@@ -7004,18 +7097,18 @@ var PrivateQueryResultView = ({
|
|
|
7004
7097
|
children: [
|
|
7005
7098
|
warning && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7006
7099
|
/* @__PURE__ */ jsx(
|
|
7007
|
-
|
|
7100
|
+
Box35,
|
|
7008
7101
|
{
|
|
7009
7102
|
component: PiWarning,
|
|
7010
7103
|
sx: { color: "amber.600", alignSelf: "center" }
|
|
7011
7104
|
}
|
|
7012
7105
|
),
|
|
7013
7106
|
" ",
|
|
7014
|
-
/* @__PURE__ */ jsx(
|
|
7107
|
+
/* @__PURE__ */ jsx(Box35, { children: warning })
|
|
7015
7108
|
] }),
|
|
7016
|
-
/* @__PURE__ */ jsx(
|
|
7109
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1, minHeight: "32px" } }),
|
|
7017
7110
|
onAddToChecklist && /* @__PURE__ */ jsx(
|
|
7018
|
-
|
|
7111
|
+
Button11,
|
|
7019
7112
|
{
|
|
7020
7113
|
sx: { my: "5px" },
|
|
7021
7114
|
size: "small",
|
|
@@ -7058,7 +7151,7 @@ function _RowCountGridView({ run, typeGuard, expectedType }, ref) {
|
|
|
7058
7151
|
}, [run]);
|
|
7059
7152
|
if (gridData.rows.length === 0) {
|
|
7060
7153
|
return /* @__PURE__ */ jsx(
|
|
7061
|
-
|
|
7154
|
+
Box35,
|
|
7062
7155
|
{
|
|
7063
7156
|
sx: {
|
|
7064
7157
|
display: "flex",
|
|
@@ -7071,7 +7164,7 @@ function _RowCountGridView({ run, typeGuard, expectedType }, ref) {
|
|
|
7071
7164
|
}
|
|
7072
7165
|
);
|
|
7073
7166
|
}
|
|
7074
|
-
return /* @__PURE__ */ jsx(
|
|
7167
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: /* @__PURE__ */ jsx(
|
|
7075
7168
|
ScreenshotDataGrid,
|
|
7076
7169
|
{
|
|
7077
7170
|
ref,
|
|
@@ -7125,12 +7218,12 @@ function TopKDiffForm({
|
|
|
7125
7218
|
setIsReadyToExecute(!!params.column_name);
|
|
7126
7219
|
}, [params, setIsReadyToExecute]);
|
|
7127
7220
|
if (isLoading) {
|
|
7128
|
-
return /* @__PURE__ */ jsx(
|
|
7221
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Loading..." });
|
|
7129
7222
|
}
|
|
7130
7223
|
if (columnNames.length === 0 || error) {
|
|
7131
|
-
return /* @__PURE__ */ jsx(
|
|
7224
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Error: Please provide the 'catalog.json' to list column candidates" });
|
|
7132
7225
|
}
|
|
7133
|
-
return /* @__PURE__ */ jsx(
|
|
7226
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { m: "16px" }, children: /* @__PURE__ */ jsxs(FormControl, { fullWidth: true, children: [
|
|
7134
7227
|
/* @__PURE__ */ jsx(FormLabel, { sx: { mb: 1 }, children: "Pick a column to show top-k" }),
|
|
7135
7228
|
/* @__PURE__ */ jsxs(
|
|
7136
7229
|
NativeSelect,
|
|
@@ -7189,7 +7282,7 @@ function TopKChartTooltip({
|
|
|
7189
7282
|
return /* @__PURE__ */ jsx(
|
|
7190
7283
|
MuiTooltip,
|
|
7191
7284
|
{
|
|
7192
|
-
title: /* @__PURE__ */ jsxs(
|
|
7285
|
+
title: /* @__PURE__ */ jsxs(Box35, { children: [
|
|
7193
7286
|
/* @__PURE__ */ jsxs(Typography28, { children: [
|
|
7194
7287
|
/* @__PURE__ */ jsx(SquareIcon, { color: CURRENT_BAR_COLOR }),
|
|
7195
7288
|
"Current: ",
|
|
@@ -7218,9 +7311,9 @@ function TopKSummaryBarChart({
|
|
|
7218
7311
|
}) {
|
|
7219
7312
|
const currents = prepareSummaryList(topKDiff.current, isDisplayTopTen);
|
|
7220
7313
|
const bases = prepareSummaryList(topKDiff.base, isDisplayTopTen);
|
|
7221
|
-
return /* @__PURE__ */ jsxs(
|
|
7222
|
-
/* @__PURE__ */ jsxs(
|
|
7223
|
-
/* @__PURE__ */ jsx(
|
|
7314
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { width: "100%", px: 20, py: 2 }, children: [
|
|
7315
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", alignItems: "center", flexDirection: "row" }, children: [
|
|
7316
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
7224
7317
|
/* @__PURE__ */ jsxs(
|
|
7225
7318
|
Typography28,
|
|
7226
7319
|
{
|
|
@@ -7243,7 +7336,7 @@ function TopKSummaryBarChart({
|
|
|
7243
7336
|
]
|
|
7244
7337
|
}
|
|
7245
7338
|
),
|
|
7246
|
-
/* @__PURE__ */ jsx(
|
|
7339
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } })
|
|
7247
7340
|
] }),
|
|
7248
7341
|
currents.map((current, index) => {
|
|
7249
7342
|
const base = bases[index];
|
|
@@ -7252,7 +7345,7 @@ function TopKSummaryBarChart({
|
|
|
7252
7345
|
}
|
|
7253
7346
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7254
7347
|
/* @__PURE__ */ jsx(TopKChartTooltip, { base, current, children: /* @__PURE__ */ jsxs(
|
|
7255
|
-
|
|
7348
|
+
Box35,
|
|
7256
7349
|
{
|
|
7257
7350
|
sx: {
|
|
7258
7351
|
display: "flex",
|
|
@@ -7277,7 +7370,7 @@ function TopKSummaryBarChart({
|
|
|
7277
7370
|
}
|
|
7278
7371
|
),
|
|
7279
7372
|
/* @__PURE__ */ jsxs(
|
|
7280
|
-
|
|
7373
|
+
Box35,
|
|
7281
7374
|
{
|
|
7282
7375
|
sx: {
|
|
7283
7376
|
display: "flex",
|
|
@@ -7285,7 +7378,7 @@ function TopKSummaryBarChart({
|
|
|
7285
7378
|
flexDirection: "column"
|
|
7286
7379
|
},
|
|
7287
7380
|
children: [
|
|
7288
|
-
/* @__PURE__ */ jsxs(
|
|
7381
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", height: "1em" }, children: [
|
|
7289
7382
|
/* @__PURE__ */ jsx(
|
|
7290
7383
|
CategoricalBarChart,
|
|
7291
7384
|
{
|
|
@@ -7319,7 +7412,7 @@ function TopKSummaryBarChart({
|
|
|
7319
7412
|
}
|
|
7320
7413
|
)
|
|
7321
7414
|
] }),
|
|
7322
|
-
/* @__PURE__ */ jsxs(
|
|
7415
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", height: "1em" }, children: [
|
|
7323
7416
|
/* @__PURE__ */ jsx(
|
|
7324
7417
|
CategoricalBarChart,
|
|
7325
7418
|
{
|
|
@@ -7368,7 +7461,7 @@ function TopKSummaryList({ topk, valids, isDisplayTopTen }) {
|
|
|
7368
7461
|
const endAtIndex = isDisplayTopTen ? 10 : topk.counts.length;
|
|
7369
7462
|
const displayList = topk.counts.slice(0, endAtIndex);
|
|
7370
7463
|
const remainingSumCount = valids - displayList.reduce((accum, curr) => accum + curr, 0);
|
|
7371
|
-
return /* @__PURE__ */ jsx(
|
|
7464
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { width: "100%" }, children: displayList.concat([remainingSumCount]).map((v, index) => {
|
|
7372
7465
|
const isLastItemOthers = index === displayList.length;
|
|
7373
7466
|
const topkCount = isLastItemOthers ? remainingSumCount : v;
|
|
7374
7467
|
const catName = String(topk.values[index]);
|
|
@@ -7377,7 +7470,7 @@ function TopKSummaryList({ topk, valids, isDisplayTopTen }) {
|
|
|
7377
7470
|
const displayTopkRatio = formatIntervalMinMax(topkCount / valids);
|
|
7378
7471
|
return /* @__PURE__ */ jsx(Fragment$1, { children: !isLastItemOthers || topkCount > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7379
7472
|
/* @__PURE__ */ jsxs(
|
|
7380
|
-
|
|
7473
|
+
Box35,
|
|
7381
7474
|
{
|
|
7382
7475
|
sx: {
|
|
7383
7476
|
display: "flex",
|
|
@@ -7401,7 +7494,7 @@ function TopKSummaryList({ topk, valids, isDisplayTopTen }) {
|
|
|
7401
7494
|
children: topkLabel
|
|
7402
7495
|
}
|
|
7403
7496
|
) }),
|
|
7404
|
-
/* @__PURE__ */ jsx(
|
|
7497
|
+
/* @__PURE__ */ jsx(Box35, { sx: { display: "flex", height: "2em", width: "10em" }, children: /* @__PURE__ */ jsx(
|
|
7405
7498
|
CategoricalBarChart,
|
|
7406
7499
|
{
|
|
7407
7500
|
topkCount,
|
|
@@ -7510,7 +7603,7 @@ var PrivateTopKDiffResultView = ({ run }, ref) => {
|
|
|
7510
7603
|
const params = run.params;
|
|
7511
7604
|
const baseTopK = result.base;
|
|
7512
7605
|
const currentTopK = result.current;
|
|
7513
|
-
return /* @__PURE__ */ jsxs(
|
|
7606
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
7514
7607
|
/* @__PURE__ */ jsxs(ScreenshotBox, { ref, blockSize: "auto", children: [
|
|
7515
7608
|
/* @__PURE__ */ jsxs(
|
|
7516
7609
|
Typography28,
|
|
@@ -7526,7 +7619,7 @@ var PrivateTopKDiffResultView = ({ run }, ref) => {
|
|
|
7526
7619
|
}
|
|
7527
7620
|
),
|
|
7528
7621
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", children: [
|
|
7529
|
-
/* @__PURE__ */ jsx(
|
|
7622
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
7530
7623
|
/* @__PURE__ */ jsx(
|
|
7531
7624
|
TopKSummaryBarChart,
|
|
7532
7625
|
{
|
|
@@ -7535,11 +7628,11 @@ var PrivateTopKDiffResultView = ({ run }, ref) => {
|
|
|
7535
7628
|
isDisplayTopTen
|
|
7536
7629
|
}
|
|
7537
7630
|
),
|
|
7538
|
-
/* @__PURE__ */ jsx(
|
|
7631
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } })
|
|
7539
7632
|
] })
|
|
7540
7633
|
] }),
|
|
7541
|
-
/* @__PURE__ */ jsx(
|
|
7542
|
-
(baseTopK.values.length > 10 || currentTopK.values.length > 10) && /* @__PURE__ */ jsx(
|
|
7634
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
7635
|
+
(baseTopK.values.length > 10 || currentTopK.values.length > 10) && /* @__PURE__ */ jsx(Box35, { sx: { display: "flex", p: 5, justifyContent: "start" }, children: /* @__PURE__ */ jsx(
|
|
7543
7636
|
Link,
|
|
7544
7637
|
{
|
|
7545
7638
|
component: "button",
|
|
@@ -7624,7 +7717,7 @@ var PrivateValueDiffDetailResultView = ({
|
|
|
7624
7717
|
}
|
|
7625
7718
|
if (gridData.columns.length === 0) {
|
|
7626
7719
|
return /* @__PURE__ */ jsx(
|
|
7627
|
-
|
|
7720
|
+
Box35,
|
|
7628
7721
|
{
|
|
7629
7722
|
sx: {
|
|
7630
7723
|
display: "flex",
|
|
@@ -7638,7 +7731,7 @@ var PrivateValueDiffDetailResultView = ({
|
|
|
7638
7731
|
}
|
|
7639
7732
|
if (changedOnly && gridData.rows.length === 0) {
|
|
7640
7733
|
return /* @__PURE__ */ jsxs(
|
|
7641
|
-
|
|
7734
|
+
Box35,
|
|
7642
7735
|
{
|
|
7643
7736
|
sx: {
|
|
7644
7737
|
display: "flex",
|
|
@@ -7657,7 +7750,7 @@ var PrivateValueDiffDetailResultView = ({
|
|
|
7657
7750
|
}
|
|
7658
7751
|
),
|
|
7659
7752
|
/* @__PURE__ */ jsx(
|
|
7660
|
-
|
|
7753
|
+
Box35,
|
|
7661
7754
|
{
|
|
7662
7755
|
sx: {
|
|
7663
7756
|
display: "flex",
|
|
@@ -7673,7 +7766,7 @@ var PrivateValueDiffDetailResultView = ({
|
|
|
7673
7766
|
);
|
|
7674
7767
|
}
|
|
7675
7768
|
return /* @__PURE__ */ jsxs(
|
|
7676
|
-
|
|
7769
|
+
Box35,
|
|
7677
7770
|
{
|
|
7678
7771
|
sx: {
|
|
7679
7772
|
display: "flex",
|
|
@@ -7773,13 +7866,13 @@ function ValueDiffForm({
|
|
|
7773
7866
|
const columnNames = columns.map((c) => c.name);
|
|
7774
7867
|
const primaryKeys = Array.isArray(primaryKey) ? primaryKey : primaryKey ? [primaryKey] : void 0;
|
|
7775
7868
|
if (isLoading) {
|
|
7776
|
-
return /* @__PURE__ */ jsx(
|
|
7869
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Loading..." });
|
|
7777
7870
|
}
|
|
7778
7871
|
if (columnNames.length === 0 || error) {
|
|
7779
|
-
return /* @__PURE__ */ jsx(
|
|
7872
|
+
return /* @__PURE__ */ jsx(Box35, { children: "Error: Please provide the 'catalog.json' to list column candidates" });
|
|
7780
7873
|
}
|
|
7781
7874
|
return /* @__PURE__ */ jsxs(Stack24, { spacing: 5, sx: { m: "8px 24px", pb: "200px" }, children: [
|
|
7782
|
-
/* @__PURE__ */ jsxs(
|
|
7875
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
7783
7876
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 1 }, children: "Model" }),
|
|
7784
7877
|
/* @__PURE__ */ jsx(
|
|
7785
7878
|
TextField,
|
|
@@ -7791,7 +7884,7 @@ function ValueDiffForm({
|
|
|
7791
7884
|
}
|
|
7792
7885
|
)
|
|
7793
7886
|
] }),
|
|
7794
|
-
/* @__PURE__ */ jsxs(
|
|
7887
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
7795
7888
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 1 }, children: "Primary key" }),
|
|
7796
7889
|
/* @__PURE__ */ jsx(
|
|
7797
7890
|
ReactSelect2,
|
|
@@ -7825,7 +7918,7 @@ function ValueDiffForm({
|
|
|
7825
7918
|
}
|
|
7826
7919
|
)
|
|
7827
7920
|
] }),
|
|
7828
|
-
/* @__PURE__ */ jsxs(
|
|
7921
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
7829
7922
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 1 }, children: "Columns" }),
|
|
7830
7923
|
/* @__PURE__ */ jsx(
|
|
7831
7924
|
FormControlLabel4,
|
|
@@ -7899,7 +7992,7 @@ function _ValueDiffResultView({ run }, ref) {
|
|
|
7899
7992
|
}
|
|
7900
7993
|
const { columns, rows } = gridData;
|
|
7901
7994
|
return /* @__PURE__ */ jsxs(
|
|
7902
|
-
|
|
7995
|
+
Box35,
|
|
7903
7996
|
{
|
|
7904
7997
|
sx: {
|
|
7905
7998
|
display: "flex",
|
|
@@ -7909,7 +8002,7 @@ function _ValueDiffResultView({ run }, ref) {
|
|
|
7909
8002
|
height: "100%"
|
|
7910
8003
|
},
|
|
7911
8004
|
children: [
|
|
7912
|
-
/* @__PURE__ */ jsxs(
|
|
8005
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { px: "16px" }, children: [
|
|
7913
8006
|
"Model: ",
|
|
7914
8007
|
params.model,
|
|
7915
8008
|
", ",
|
|
@@ -8440,7 +8533,7 @@ function useCopyToClipboardButton(options) {
|
|
|
8440
8533
|
}) {
|
|
8441
8534
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8442
8535
|
/* @__PURE__ */ jsx(
|
|
8443
|
-
|
|
8536
|
+
Button11,
|
|
8444
8537
|
{
|
|
8445
8538
|
size: "small",
|
|
8446
8539
|
sx: { position: "absolute", bottom: 16, right: 16 },
|
|
@@ -8510,7 +8603,7 @@ function useImageDownloadModal() {
|
|
|
8510
8603
|
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
8511
8604
|
/* @__PURE__ */ jsxs(Stack24, { sx: { px: "10px", gap: "10px" }, children: [
|
|
8512
8605
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: "5px", children: [
|
|
8513
|
-
/* @__PURE__ */ jsx(
|
|
8606
|
+
/* @__PURE__ */ jsx(Box35, { component: PiInfo, sx: { color: "error.main" } }),
|
|
8514
8607
|
/* @__PURE__ */ jsx(Typography28, { sx: { fontWeight: 500, display: "inline" }, children: "Copy to the Clipboard" }),
|
|
8515
8608
|
" ",
|
|
8516
8609
|
"is not supported in the current browser"
|
|
@@ -8518,7 +8611,7 @@ function useImageDownloadModal() {
|
|
|
8518
8611
|
/* @__PURE__ */ jsx(Typography28, { children: "Please download it directly" })
|
|
8519
8612
|
] }),
|
|
8520
8613
|
/* @__PURE__ */ jsx(
|
|
8521
|
-
|
|
8614
|
+
Box35,
|
|
8522
8615
|
{
|
|
8523
8616
|
component: "img",
|
|
8524
8617
|
src: base64Img,
|
|
@@ -8528,8 +8621,8 @@ function useImageDownloadModal() {
|
|
|
8528
8621
|
)
|
|
8529
8622
|
] }),
|
|
8530
8623
|
/* @__PURE__ */ jsxs(DialogActions, { children: [
|
|
8531
|
-
/* @__PURE__ */ jsx(
|
|
8532
|
-
/* @__PURE__ */ jsx(
|
|
8624
|
+
/* @__PURE__ */ jsx(Button11, { sx: { mr: 1.5 }, onClick: onClose, children: "Close" }),
|
|
8625
|
+
/* @__PURE__ */ jsx(Button11, { color: "iochmara", variant: "contained", onClick: onDownload, children: "Download" })
|
|
8533
8626
|
] })
|
|
8534
8627
|
] });
|
|
8535
8628
|
}
|
|
@@ -8589,40 +8682,6 @@ var useRun = (runId) => {
|
|
|
8589
8682
|
RunResultView
|
|
8590
8683
|
};
|
|
8591
8684
|
};
|
|
8592
|
-
var HSplit = (props) => {
|
|
8593
|
-
const { style, children, gutterSize = 5, ...rest } = props;
|
|
8594
|
-
return /* @__PURE__ */ jsx(
|
|
8595
|
-
ReactSplit,
|
|
8596
|
-
{
|
|
8597
|
-
style: {
|
|
8598
|
-
display: "flex",
|
|
8599
|
-
flexDirection: "row",
|
|
8600
|
-
...style
|
|
8601
|
-
},
|
|
8602
|
-
direction: "horizontal",
|
|
8603
|
-
gutterSize,
|
|
8604
|
-
...rest,
|
|
8605
|
-
children
|
|
8606
|
-
}
|
|
8607
|
-
);
|
|
8608
|
-
};
|
|
8609
|
-
var VSplit = (props) => {
|
|
8610
|
-
const { style, children, gutterSize = 5, ...rest } = props;
|
|
8611
|
-
return /* @__PURE__ */ jsx(
|
|
8612
|
-
ReactSplit,
|
|
8613
|
-
{
|
|
8614
|
-
style: {
|
|
8615
|
-
display: "flex",
|
|
8616
|
-
flexDirection: "column",
|
|
8617
|
-
...style
|
|
8618
|
-
},
|
|
8619
|
-
gutterSize,
|
|
8620
|
-
direction: "vertical",
|
|
8621
|
-
...rest,
|
|
8622
|
-
children
|
|
8623
|
-
}
|
|
8624
|
-
);
|
|
8625
|
-
};
|
|
8626
8685
|
function ActionControl({ onClose }) {
|
|
8627
8686
|
const { cancel, actionState } = useLineageViewContextSafe();
|
|
8628
8687
|
const getProgressMessage = () => {
|
|
@@ -8640,7 +8699,7 @@ function ActionControl({ onClose }) {
|
|
|
8640
8699
|
}
|
|
8641
8700
|
}
|
|
8642
8701
|
};
|
|
8643
|
-
return /* @__PURE__ */ jsx(
|
|
8702
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { bgcolor: "white", borderRadius: 1, boxShadow: 6 }, children: /* @__PURE__ */ jsxs(
|
|
8644
8703
|
Stack24,
|
|
8645
8704
|
{
|
|
8646
8705
|
direction: "row",
|
|
@@ -8648,14 +8707,14 @@ function ActionControl({ onClose }) {
|
|
|
8648
8707
|
spacing: 2,
|
|
8649
8708
|
sx: { p: "5px 15px", mt: 2 },
|
|
8650
8709
|
children: [
|
|
8651
|
-
/* @__PURE__ */ jsxs(
|
|
8710
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { fontSize: "10pt" }, children: [
|
|
8652
8711
|
"Progress: ",
|
|
8653
8712
|
getProgressMessage(),
|
|
8654
8713
|
" ",
|
|
8655
8714
|
actionState.status === "canceled" ? " (canceled)" : ""
|
|
8656
8715
|
] }),
|
|
8657
8716
|
actionState.status === "running" || actionState.status === "canceling" ? /* @__PURE__ */ jsx(
|
|
8658
|
-
|
|
8717
|
+
Button11,
|
|
8659
8718
|
{
|
|
8660
8719
|
size: "small",
|
|
8661
8720
|
variant: "outlined",
|
|
@@ -8663,7 +8722,7 @@ function ActionControl({ onClose }) {
|
|
|
8663
8722
|
disabled: actionState.status === "canceling",
|
|
8664
8723
|
children: actionState.status === "canceling" ? "Canceling" : "Cancel"
|
|
8665
8724
|
}
|
|
8666
|
-
) : /* @__PURE__ */ jsx(Stack24, { direction: "row", children: /* @__PURE__ */ jsx(
|
|
8725
|
+
) : /* @__PURE__ */ jsx(Stack24, { direction: "row", children: /* @__PURE__ */ jsx(Button11, { size: "small", variant: "outlined", onClick: onClose, children: "Close" }) })
|
|
8667
8726
|
]
|
|
8668
8727
|
}
|
|
8669
8728
|
) });
|
|
@@ -8786,7 +8845,7 @@ function ChangeStatusLegend() {
|
|
|
8786
8845
|
modified: ["Modified", "Modified resource"]
|
|
8787
8846
|
};
|
|
8788
8847
|
return /* @__PURE__ */ jsx(
|
|
8789
|
-
|
|
8848
|
+
Box35,
|
|
8790
8849
|
{
|
|
8791
8850
|
sx: {
|
|
8792
8851
|
bgcolor: "white",
|
|
@@ -8798,7 +8857,7 @@ function ChangeStatusLegend() {
|
|
|
8798
8857
|
children: Object.entries(CHANGE_STATUS_MSGS).map(([key, [label, tip]]) => {
|
|
8799
8858
|
const { icon, color } = getIconForChangeStatus(key);
|
|
8800
8859
|
return /* @__PURE__ */ jsx(MuiTooltip, { title: tip, placement: "right", children: /* @__PURE__ */ jsxs(
|
|
8801
|
-
|
|
8860
|
+
Box35,
|
|
8802
8861
|
{
|
|
8803
8862
|
sx: {
|
|
8804
8863
|
display: "flex",
|
|
@@ -8807,7 +8866,7 @@ function ChangeStatusLegend() {
|
|
|
8807
8866
|
mb: "2px"
|
|
8808
8867
|
},
|
|
8809
8868
|
children: [
|
|
8810
|
-
icon && /* @__PURE__ */ jsx(
|
|
8869
|
+
icon && /* @__PURE__ */ jsx(Box35, { component: icon, sx: { color } }),
|
|
8811
8870
|
" ",
|
|
8812
8871
|
label
|
|
8813
8872
|
]
|
|
@@ -8836,7 +8895,7 @@ var ModeMessage = () => {
|
|
|
8836
8895
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8837
8896
|
/* @__PURE__ */ jsx(Typography28, { component: "span", sx: { mr: "5px" }, children: "Impact Radius for" }),
|
|
8838
8897
|
/* @__PURE__ */ jsx(
|
|
8839
|
-
|
|
8898
|
+
Box35,
|
|
8840
8899
|
{
|
|
8841
8900
|
component: "code",
|
|
8842
8901
|
onClick: () => {
|
|
@@ -8861,7 +8920,7 @@ var ModeMessage = () => {
|
|
|
8861
8920
|
" "
|
|
8862
8921
|
] }),
|
|
8863
8922
|
/* @__PURE__ */ jsxs(
|
|
8864
|
-
|
|
8923
|
+
Box35,
|
|
8865
8924
|
{
|
|
8866
8925
|
component: "code",
|
|
8867
8926
|
onClick: () => {
|
|
@@ -8898,14 +8957,14 @@ var ColumnLevelLineageControl = ({
|
|
|
8898
8957
|
const { lineageGraph } = useLineageGraphContext();
|
|
8899
8958
|
const noCatalogCurrent = !lineageGraph?.catalogMetadata.current;
|
|
8900
8959
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", spacing: "5px", children: [
|
|
8901
|
-
!singleEnv && /* @__PURE__ */ jsx(
|
|
8960
|
+
!singleEnv && /* @__PURE__ */ jsx(Box35, { sx: { borderRadius: 1, boxShadow: 3 }, children: /* @__PURE__ */ jsx(
|
|
8902
8961
|
MuiTooltip,
|
|
8903
8962
|
{
|
|
8904
8963
|
enterDelay: 50,
|
|
8905
8964
|
title: noCatalogCurrent ? "Please provide catalog.json to enable Impact Radius" : "",
|
|
8906
8965
|
placement: "top",
|
|
8907
8966
|
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
8908
|
-
|
|
8967
|
+
Button11,
|
|
8909
8968
|
{
|
|
8910
8969
|
size: "small",
|
|
8911
8970
|
variant: "outlined",
|
|
@@ -8959,7 +9018,7 @@ var ColumnLevelLineageControl = ({
|
|
|
8959
9018
|
alignItems: "center"
|
|
8960
9019
|
},
|
|
8961
9020
|
children: /* @__PURE__ */ jsx(
|
|
8962
|
-
|
|
9021
|
+
Box35,
|
|
8963
9022
|
{
|
|
8964
9023
|
component: PiInfo,
|
|
8965
9024
|
sx: { color: "error.main", fontSize: "14px" }
|
|
@@ -8997,7 +9056,7 @@ var ChangeStatus = ({
|
|
|
8997
9056
|
return /* @__PURE__ */ jsx(Fragment, {});
|
|
8998
9057
|
}
|
|
8999
9058
|
return /* @__PURE__ */ jsx(
|
|
9000
|
-
|
|
9059
|
+
Box35,
|
|
9001
9060
|
{
|
|
9002
9061
|
component: IconChangeStatus,
|
|
9003
9062
|
sx: {
|
|
@@ -9071,7 +9130,7 @@ function GraphColumnNode(nodeProps) {
|
|
|
9071
9130
|
return /* @__PURE__ */ jsx(Fragment, {});
|
|
9072
9131
|
}
|
|
9073
9132
|
return /* @__PURE__ */ jsxs(
|
|
9074
|
-
|
|
9133
|
+
Box35,
|
|
9075
9134
|
{
|
|
9076
9135
|
sx: {
|
|
9077
9136
|
display: "flex",
|
|
@@ -9093,7 +9152,7 @@ function GraphColumnNode(nodeProps) {
|
|
|
9093
9152
|
},
|
|
9094
9153
|
children: [
|
|
9095
9154
|
/* @__PURE__ */ jsxs(
|
|
9096
|
-
|
|
9155
|
+
Box35,
|
|
9097
9156
|
{
|
|
9098
9157
|
sx: {
|
|
9099
9158
|
display: "flex",
|
|
@@ -9106,10 +9165,10 @@ function GraphColumnNode(nodeProps) {
|
|
|
9106
9165
|
},
|
|
9107
9166
|
children: [
|
|
9108
9167
|
isShowingChangeAnalysis && changeStatus ? /* @__PURE__ */ jsx(ChangeStatus, { changeStatus }) : /* @__PURE__ */ jsx(TransformationType, { transformationType }),
|
|
9109
|
-
/* @__PURE__ */ jsx(
|
|
9110
|
-
/* @__PURE__ */ jsx(
|
|
9168
|
+
/* @__PURE__ */ jsx(Box35, { sx: { height: `${COLUMN_HEIGHT + 1}px` }, children: column }),
|
|
9169
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
9111
9170
|
isHovered ? /* @__PURE__ */ jsx(
|
|
9112
|
-
|
|
9171
|
+
Box35,
|
|
9113
9172
|
{
|
|
9114
9173
|
component: VscKebabVertical,
|
|
9115
9174
|
sx: {
|
|
@@ -9127,7 +9186,7 @@ function GraphColumnNode(nodeProps) {
|
|
|
9127
9186
|
);
|
|
9128
9187
|
}
|
|
9129
9188
|
}
|
|
9130
|
-
) : /* @__PURE__ */ jsx(
|
|
9189
|
+
) : /* @__PURE__ */ jsx(Box35, { sx: { height: `${COLUMN_HEIGHT + 1} px` }, children: type })
|
|
9131
9190
|
]
|
|
9132
9191
|
}
|
|
9133
9192
|
),
|
|
@@ -9183,7 +9242,7 @@ function ColumnLevelLineageLegend() {
|
|
|
9183
9242
|
]
|
|
9184
9243
|
};
|
|
9185
9244
|
return /* @__PURE__ */ jsx(
|
|
9186
|
-
|
|
9245
|
+
Box35,
|
|
9187
9246
|
{
|
|
9188
9247
|
sx: {
|
|
9189
9248
|
bgcolor: "white",
|
|
@@ -9194,7 +9253,7 @@ function ColumnLevelLineageLegend() {
|
|
|
9194
9253
|
},
|
|
9195
9254
|
children: Object.entries(TRANSFORMATION_MSGS).map(([key, [label, tip]]) => {
|
|
9196
9255
|
return /* @__PURE__ */ jsx(MuiTooltip, { title: tip, placement: "right", children: /* @__PURE__ */ jsxs(
|
|
9197
|
-
|
|
9256
|
+
Box35,
|
|
9198
9257
|
{
|
|
9199
9258
|
sx: {
|
|
9200
9259
|
display: "flex",
|
|
@@ -9303,7 +9362,7 @@ function SetupConnectionPopover({
|
|
|
9303
9362
|
}
|
|
9304
9363
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9305
9364
|
/* @__PURE__ */ jsx(
|
|
9306
|
-
|
|
9365
|
+
Box35,
|
|
9307
9366
|
{
|
|
9308
9367
|
ref: anchorRef,
|
|
9309
9368
|
onMouseEnter: handleMouseEnter,
|
|
@@ -9377,8 +9436,8 @@ function ResourceTypeTag({ node }) {
|
|
|
9377
9436
|
const { icon: ResourceTypeIcon } = getIconForResourceType(
|
|
9378
9437
|
node.data.resourceType
|
|
9379
9438
|
);
|
|
9380
|
-
return /* @__PURE__ */ jsx(MuiTooltip, { arrow: true, title: "Type of resource", children: /* @__PURE__ */ jsxs(
|
|
9381
|
-
ResourceTypeIcon && /* @__PURE__ */ jsx(
|
|
9439
|
+
return /* @__PURE__ */ jsx(MuiTooltip, { arrow: true, title: "Type of resource", children: /* @__PURE__ */ jsxs(Box35, { component: "span", sx: tagRootSx, children: [
|
|
9440
|
+
ResourceTypeIcon && /* @__PURE__ */ jsx(Box35, { component: "span", sx: tagStartElementSx, children: /* @__PURE__ */ jsx(ResourceTypeIcon, {}) }),
|
|
9382
9441
|
node.data.resourceType
|
|
9383
9442
|
] }) });
|
|
9384
9443
|
}
|
|
@@ -9398,13 +9457,13 @@ function _RowCountByRate({ rowCount }) {
|
|
|
9398
9457
|
} else if (base === current) {
|
|
9399
9458
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
9400
9459
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", component: "span", children: currentLabel }),
|
|
9401
|
-
/* @__PURE__ */ jsx(
|
|
9460
|
+
/* @__PURE__ */ jsx(Box35, { component: "span", sx: { color: "grey.500", display: "flex" }, children: /* @__PURE__ */ jsx(RiSwapLine, {}) }),
|
|
9402
9461
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", component: "span", sx: { color: "grey.500" }, children: "No Change" })
|
|
9403
9462
|
] });
|
|
9404
9463
|
} else if (base < current) {
|
|
9405
9464
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
9406
9465
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", component: "span", children: currentLabel }),
|
|
9407
|
-
/* @__PURE__ */ jsx(
|
|
9466
|
+
/* @__PURE__ */ jsx(Box35, { component: "span", sx: { color: "success.main", display: "flex" }, children: /* @__PURE__ */ jsx(RiArrowUpSFill, {}) }),
|
|
9408
9467
|
/* @__PURE__ */ jsx(
|
|
9409
9468
|
Typography28,
|
|
9410
9469
|
{
|
|
@@ -9418,7 +9477,7 @@ function _RowCountByRate({ rowCount }) {
|
|
|
9418
9477
|
} else {
|
|
9419
9478
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
9420
9479
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", component: "span", children: currentLabel }),
|
|
9421
|
-
/* @__PURE__ */ jsx(
|
|
9480
|
+
/* @__PURE__ */ jsx(Box35, { component: "span", sx: { color: "error.main", display: "flex" }, children: /* @__PURE__ */ jsx(RiArrowDownSFill, {}) }),
|
|
9422
9481
|
/* @__PURE__ */ jsx(
|
|
9423
9482
|
Typography28,
|
|
9424
9483
|
{
|
|
@@ -9435,7 +9494,7 @@ function ModelRowCount({ rowCount }) {
|
|
|
9435
9494
|
if (!rowCount) {
|
|
9436
9495
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
9437
9496
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", component: "span", children: "Failed to load" }),
|
|
9438
|
-
/* @__PURE__ */ jsx(
|
|
9497
|
+
/* @__PURE__ */ jsx(Box35, { component: "span", sx: { color: "error.main", display: "flex" }, children: /* @__PURE__ */ jsx(FiFrown, {}) })
|
|
9439
9498
|
] });
|
|
9440
9499
|
}
|
|
9441
9500
|
const base = rowCount.base ?? "N/A";
|
|
@@ -9457,7 +9516,7 @@ function RowCountDiffTag({
|
|
|
9457
9516
|
const rowsToShow = rowCount;
|
|
9458
9517
|
const label = rowCount ? `${rowCount.base ?? "N/A"} -> ${rowCount.curr ?? "N/A"} rows` : "";
|
|
9459
9518
|
return /* @__PURE__ */ jsx(MuiTooltip, { title: label, children: /* @__PURE__ */ jsx(SetupConnectionPopover, { display: featureToggles.mode === "metadata only", children: /* @__PURE__ */ jsxs(
|
|
9460
|
-
|
|
9519
|
+
Box35,
|
|
9461
9520
|
{
|
|
9462
9521
|
component: "span",
|
|
9463
9522
|
sx: {
|
|
@@ -9497,8 +9556,8 @@ function RowCountTag({
|
|
|
9497
9556
|
const rows = rowCount.curr ?? "N/A";
|
|
9498
9557
|
label = `${rows} rows`;
|
|
9499
9558
|
}
|
|
9500
|
-
return /* @__PURE__ */ jsxs(
|
|
9501
|
-
/* @__PURE__ */ jsx(
|
|
9559
|
+
return /* @__PURE__ */ jsxs(Box35, { component: "span", sx: tagRootSx, children: [
|
|
9560
|
+
/* @__PURE__ */ jsx(Box35, { component: "span", sx: tagStartElementSx, children: /* @__PURE__ */ jsx(RunTypeIcon, {}) }),
|
|
9502
9561
|
rowCount || isFetching ? isFetching ? /* @__PURE__ */ jsx(Skeleton, { width: 30, height: 16 }) : /* @__PURE__ */ jsx(Typography28, { variant: "caption", children: label }) : /* @__PURE__ */ jsx(Typography28, { variant: "caption", children: "row count" }),
|
|
9503
9562
|
onRefresh && /* @__PURE__ */ jsx(
|
|
9504
9563
|
IconButton2,
|
|
@@ -9534,8 +9593,8 @@ var ActionTag = ({ node, action }) => {
|
|
|
9534
9593
|
gap: "3px"
|
|
9535
9594
|
},
|
|
9536
9595
|
children: [
|
|
9537
|
-
/* @__PURE__ */ jsx(
|
|
9538
|
-
skipReason && /* @__PURE__ */ jsx(MuiTooltip, { title: skipReason, children: /* @__PURE__ */ jsx(
|
|
9596
|
+
/* @__PURE__ */ jsx(Box35, { children: "Skipped" }),
|
|
9597
|
+
skipReason && /* @__PURE__ */ jsx(MuiTooltip, { title: skipReason, children: /* @__PURE__ */ jsx(Box35, { component: "span", sx: { display: "flex" }, children: /* @__PURE__ */ jsx(PiInfo, {}) }) })
|
|
9539
9598
|
]
|
|
9540
9599
|
}
|
|
9541
9600
|
),
|
|
@@ -9568,8 +9627,8 @@ var ActionTag = ({ node, action }) => {
|
|
|
9568
9627
|
direction: "row",
|
|
9569
9628
|
sx: { fontSize: "10pt", color: "gray", alignItems: "center" },
|
|
9570
9629
|
children: [
|
|
9571
|
-
/* @__PURE__ */ jsx(
|
|
9572
|
-
skipReason && /* @__PURE__ */ jsx(MuiTooltip, { title: error, children: /* @__PURE__ */ jsx(
|
|
9630
|
+
/* @__PURE__ */ jsx(Box35, { children: "Error" }),
|
|
9631
|
+
skipReason && /* @__PURE__ */ jsx(MuiTooltip, { title: error, children: /* @__PURE__ */ jsx(Box35, { component: "span", sx: { display: "flex" }, children: /* @__PURE__ */ jsx(PiWarning, {}) }) })
|
|
9573
9632
|
]
|
|
9574
9633
|
}
|
|
9575
9634
|
);
|
|
@@ -9678,14 +9737,14 @@ var NodeRunsAggregated = ({
|
|
|
9678
9737
|
const colorChanged = inverted ? "white" : getIconForChangeStatus("modified").color;
|
|
9679
9738
|
const colorUnchanged = inverted ? "gray" : "gray.100";
|
|
9680
9739
|
const SchemaDiffIcon = findByRunType("schema_diff").icon;
|
|
9681
|
-
return /* @__PURE__ */ jsxs(
|
|
9740
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flex: 1, alignItems: "center" }, children: [
|
|
9682
9741
|
schemaChanged !== void 0 && /* @__PURE__ */ jsx(
|
|
9683
9742
|
MuiTooltip,
|
|
9684
9743
|
{
|
|
9685
9744
|
title: `Schema (${schemaChanged ? "changed" : "no change"})`,
|
|
9686
9745
|
enterDelay: 500,
|
|
9687
|
-
children: /* @__PURE__ */ jsx(
|
|
9688
|
-
|
|
9746
|
+
children: /* @__PURE__ */ jsx(Box35, { sx: { height: 16 }, children: SchemaDiffIcon && /* @__PURE__ */ jsx(
|
|
9747
|
+
Box35,
|
|
9689
9748
|
{
|
|
9690
9749
|
component: SchemaDiffIcon,
|
|
9691
9750
|
sx: { color: schemaChanged ? colorChanged : colorUnchanged }
|
|
@@ -9693,13 +9752,13 @@ var NodeRunsAggregated = ({
|
|
|
9693
9752
|
) })
|
|
9694
9753
|
}
|
|
9695
9754
|
),
|
|
9696
|
-
/* @__PURE__ */ jsx(
|
|
9755
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
9697
9756
|
runs?.row_count_diff && rowCountChanged !== void 0 && /* @__PURE__ */ jsx(
|
|
9698
9757
|
MuiTooltip,
|
|
9699
9758
|
{
|
|
9700
9759
|
title: `Row count (${rowCountChanged ? "changed" : "="})`,
|
|
9701
9760
|
enterDelay: 500,
|
|
9702
|
-
children: /* @__PURE__ */ jsx(
|
|
9761
|
+
children: /* @__PURE__ */ jsx(Box35, { children: /* @__PURE__ */ jsx(
|
|
9703
9762
|
_RowCountDiffTag,
|
|
9704
9763
|
{
|
|
9705
9764
|
rowCount: runs.row_count_diff.result
|
|
@@ -9714,7 +9773,7 @@ var GraphNodeCheckbox = ({
|
|
|
9714
9773
|
onClick
|
|
9715
9774
|
}) => {
|
|
9716
9775
|
return /* @__PURE__ */ jsx(
|
|
9717
|
-
|
|
9776
|
+
Box35,
|
|
9718
9777
|
{
|
|
9719
9778
|
onClick,
|
|
9720
9779
|
sx: {
|
|
@@ -9723,7 +9782,7 @@ var GraphNodeCheckbox = ({
|
|
|
9723
9782
|
alignItems: "center",
|
|
9724
9783
|
cursor: "pointer"
|
|
9725
9784
|
},
|
|
9726
|
-
children: checked ? /* @__PURE__ */ jsx(
|
|
9785
|
+
children: checked ? /* @__PURE__ */ jsx(Box35, { component: FaCheckSquare, sx: { fontSize: 20 } }) : /* @__PURE__ */ jsx(Box35, { component: FaRegSquare, sx: { fontSize: 20 } })
|
|
9727
9786
|
}
|
|
9728
9787
|
);
|
|
9729
9788
|
};
|
|
@@ -9733,7 +9792,7 @@ var GraphNodeTitle = ({
|
|
|
9733
9792
|
resourceType
|
|
9734
9793
|
}) => {
|
|
9735
9794
|
return /* @__PURE__ */ jsx(
|
|
9736
|
-
|
|
9795
|
+
Box35,
|
|
9737
9796
|
{
|
|
9738
9797
|
sx: {
|
|
9739
9798
|
flex: 1,
|
|
@@ -9840,7 +9899,7 @@ function GraphNode(nodeProps) {
|
|
|
9840
9899
|
}
|
|
9841
9900
|
})();
|
|
9842
9901
|
return /* @__PURE__ */ jsxs(
|
|
9843
|
-
|
|
9902
|
+
Box35,
|
|
9844
9903
|
{
|
|
9845
9904
|
sx: {
|
|
9846
9905
|
display: "flex",
|
|
@@ -9865,7 +9924,7 @@ function GraphNode(nodeProps) {
|
|
|
9865
9924
|
},
|
|
9866
9925
|
children: [
|
|
9867
9926
|
/* @__PURE__ */ jsxs(
|
|
9868
|
-
|
|
9927
|
+
Box35,
|
|
9869
9928
|
{
|
|
9870
9929
|
sx: {
|
|
9871
9930
|
display: "flex",
|
|
@@ -9881,7 +9940,7 @@ function GraphNode(nodeProps) {
|
|
|
9881
9940
|
},
|
|
9882
9941
|
children: [
|
|
9883
9942
|
/* @__PURE__ */ jsx(
|
|
9884
|
-
|
|
9943
|
+
Box35,
|
|
9885
9944
|
{
|
|
9886
9945
|
sx: {
|
|
9887
9946
|
display: "flex",
|
|
@@ -9909,7 +9968,7 @@ function GraphNode(nodeProps) {
|
|
|
9909
9968
|
}
|
|
9910
9969
|
),
|
|
9911
9970
|
/* @__PURE__ */ jsxs(
|
|
9912
|
-
|
|
9971
|
+
Box35,
|
|
9913
9972
|
{
|
|
9914
9973
|
sx: {
|
|
9915
9974
|
display: "flex",
|
|
@@ -9920,7 +9979,7 @@ function GraphNode(nodeProps) {
|
|
|
9920
9979
|
},
|
|
9921
9980
|
children: [
|
|
9922
9981
|
/* @__PURE__ */ jsxs(
|
|
9923
|
-
|
|
9982
|
+
Box35,
|
|
9924
9983
|
{
|
|
9925
9984
|
sx: {
|
|
9926
9985
|
display: "flex",
|
|
@@ -9950,7 +10009,7 @@ function GraphNode(nodeProps) {
|
|
|
9950
10009
|
placement: "top",
|
|
9951
10010
|
enterDelay: 500,
|
|
9952
10011
|
children: /* @__PURE__ */ jsx(
|
|
9953
|
-
|
|
10012
|
+
Box35,
|
|
9954
10013
|
{
|
|
9955
10014
|
sx: {
|
|
9956
10015
|
display: "flex",
|
|
@@ -9958,7 +10017,7 @@ function GraphNode(nodeProps) {
|
|
|
9958
10017
|
justifyContent: "center"
|
|
9959
10018
|
},
|
|
9960
10019
|
children: /* @__PURE__ */ jsx(
|
|
9961
|
-
|
|
10020
|
+
Box35,
|
|
9962
10021
|
{
|
|
9963
10022
|
component: FaRegDotCircle,
|
|
9964
10023
|
sx: {
|
|
@@ -9983,7 +10042,7 @@ function GraphNode(nodeProps) {
|
|
|
9983
10042
|
}
|
|
9984
10043
|
),
|
|
9985
10044
|
/* @__PURE__ */ jsx(
|
|
9986
|
-
|
|
10045
|
+
Box35,
|
|
9987
10046
|
{
|
|
9988
10047
|
component: VscKebabVertical,
|
|
9989
10048
|
sx: {
|
|
@@ -10003,14 +10062,14 @@ function GraphNode(nodeProps) {
|
|
|
10003
10062
|
)
|
|
10004
10063
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10005
10064
|
ResourceIcon && /* @__PURE__ */ jsx(
|
|
10006
|
-
|
|
10065
|
+
Box35,
|
|
10007
10066
|
{
|
|
10008
10067
|
component: ResourceIcon,
|
|
10009
10068
|
sx: { fontSize: 16, color: iconResourceColor }
|
|
10010
10069
|
}
|
|
10011
10070
|
),
|
|
10012
10071
|
changeStatus && IconChangeStatus && /* @__PURE__ */ jsx(
|
|
10013
|
-
|
|
10072
|
+
Box35,
|
|
10014
10073
|
{
|
|
10015
10074
|
component: IconChangeStatus,
|
|
10016
10075
|
sx: { color: iconChangeStatusColor }
|
|
@@ -10021,7 +10080,7 @@ function GraphNode(nodeProps) {
|
|
|
10021
10080
|
}
|
|
10022
10081
|
),
|
|
10023
10082
|
/* @__PURE__ */ jsx(
|
|
10024
|
-
|
|
10083
|
+
Box35,
|
|
10025
10084
|
{
|
|
10026
10085
|
sx: {
|
|
10027
10086
|
display: "flex",
|
|
@@ -10032,7 +10091,7 @@ function GraphNode(nodeProps) {
|
|
|
10032
10091
|
visibility: showContent ? "inherit" : "hidden"
|
|
10033
10092
|
},
|
|
10034
10093
|
children: /* @__PURE__ */ jsx(Stack24, { direction: "row", spacing: 1, children: action ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10035
|
-
/* @__PURE__ */ jsx(
|
|
10094
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
10036
10095
|
/* @__PURE__ */ jsx(
|
|
10037
10096
|
ActionTag,
|
|
10038
10097
|
{
|
|
@@ -10041,7 +10100,7 @@ function GraphNode(nodeProps) {
|
|
|
10041
10100
|
}
|
|
10042
10101
|
)
|
|
10043
10102
|
] }) : isShowingChangeAnalysis ? /* @__PURE__ */ jsx(
|
|
10044
|
-
|
|
10103
|
+
Box35,
|
|
10045
10104
|
{
|
|
10046
10105
|
sx: {
|
|
10047
10106
|
height: 20,
|
|
@@ -10074,7 +10133,7 @@ function GraphNode(nodeProps) {
|
|
|
10074
10133
|
}
|
|
10075
10134
|
),
|
|
10076
10135
|
showColumns && /* @__PURE__ */ jsx(
|
|
10077
|
-
|
|
10136
|
+
Box35,
|
|
10078
10137
|
{
|
|
10079
10138
|
sx: {
|
|
10080
10139
|
p: "10px 10px",
|
|
@@ -10086,7 +10145,7 @@ function GraphNode(nodeProps) {
|
|
|
10086
10145
|
borderBottomRightRadius: 8
|
|
10087
10146
|
},
|
|
10088
10147
|
children: /* @__PURE__ */ jsx(
|
|
10089
|
-
|
|
10148
|
+
Box35,
|
|
10090
10149
|
{
|
|
10091
10150
|
sx: {
|
|
10092
10151
|
height: `${columnSet.size * COLUMN_HEIGHT}px`,
|
|
@@ -10329,7 +10388,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10329
10388
|
}
|
|
10330
10389
|
menuItems.push({
|
|
10331
10390
|
label: "Query",
|
|
10332
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10391
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: run.icon, sx: { display: "inline-flex" } }),
|
|
10333
10392
|
isDisabled: isQueryDisabled,
|
|
10334
10393
|
action: () => {
|
|
10335
10394
|
setSqlQuery(query);
|
|
@@ -10350,7 +10409,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10350
10409
|
});
|
|
10351
10410
|
menuItems.push({
|
|
10352
10411
|
label: "Query Related Columns",
|
|
10353
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10412
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: run.icon, sx: { display: "inline-flex" } }),
|
|
10354
10413
|
isDisabled: isQueryDisabled,
|
|
10355
10414
|
action: () => {
|
|
10356
10415
|
const query2 = `select
|
|
@@ -10377,7 +10436,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10377
10436
|
});
|
|
10378
10437
|
menuItems.push({
|
|
10379
10438
|
label: "Query Modified Columns",
|
|
10380
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10439
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: run.icon, sx: { display: "inline-flex" } }),
|
|
10381
10440
|
isDisabled: isQueryDisabled,
|
|
10382
10441
|
action: () => {
|
|
10383
10442
|
const query2 = `select
|
|
@@ -10401,7 +10460,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10401
10460
|
menuItems.push({
|
|
10402
10461
|
label: rowCountAndRowCountRun.title,
|
|
10403
10462
|
itemIcon: /* @__PURE__ */ jsx(
|
|
10404
|
-
|
|
10463
|
+
Box35,
|
|
10405
10464
|
{
|
|
10406
10465
|
component: rowCountAndRowCountRun.icon,
|
|
10407
10466
|
sx: { display: "inline-flex" }
|
|
@@ -10427,7 +10486,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10427
10486
|
menuItems.push({
|
|
10428
10487
|
label: profileAndProfileDiffRun.title,
|
|
10429
10488
|
itemIcon: /* @__PURE__ */ jsx(
|
|
10430
|
-
|
|
10489
|
+
Box35,
|
|
10431
10490
|
{
|
|
10432
10491
|
component: profileAndProfileDiffRun.icon,
|
|
10433
10492
|
sx: { display: "inline-flex" }
|
|
@@ -10452,7 +10511,7 @@ from {{ ref("${modelNode.name}") }}`;
|
|
|
10452
10511
|
const valueDiffRun = findByRunType("value_diff");
|
|
10453
10512
|
menuItems.push({
|
|
10454
10513
|
label: valueDiffRun.title,
|
|
10455
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10514
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: valueDiffRun.icon, sx: { display: "inline-flex" } }),
|
|
10456
10515
|
isDisabled: isQueryDisabled,
|
|
10457
10516
|
action: () => {
|
|
10458
10517
|
const columns2 = Array.from(getNodeColumnSet(node.id));
|
|
@@ -10605,7 +10664,7 @@ var ColumnNodeContextMenu = ({
|
|
|
10605
10664
|
const run = findByRunType(singleEnv ? "profile" : "profile_diff");
|
|
10606
10665
|
menuItems.push({
|
|
10607
10666
|
label: run.title,
|
|
10608
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10667
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: run.icon, sx: { display: "inline-flex" } }),
|
|
10609
10668
|
action: handleProfileDiff,
|
|
10610
10669
|
isDisabled: addedOrRemoved || !isActionAvailable("profile_diff") || isQueryDisabled
|
|
10611
10670
|
});
|
|
@@ -10614,7 +10673,7 @@ var ColumnNodeContextMenu = ({
|
|
|
10614
10673
|
menuItems.push({
|
|
10615
10674
|
label: isHistogramDiffRun2.title,
|
|
10616
10675
|
itemIcon: /* @__PURE__ */ jsx(
|
|
10617
|
-
|
|
10676
|
+
Box35,
|
|
10618
10677
|
{
|
|
10619
10678
|
component: isHistogramDiffRun2.icon,
|
|
10620
10679
|
sx: { display: "inline-flex" }
|
|
@@ -10626,14 +10685,14 @@ var ColumnNodeContextMenu = ({
|
|
|
10626
10685
|
const isTopKDiffRun2 = findByRunType("top_k_diff");
|
|
10627
10686
|
menuItems.push({
|
|
10628
10687
|
label: isTopKDiffRun2.title,
|
|
10629
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10688
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: isTopKDiffRun2.icon, sx: { display: "inline-flex" } }),
|
|
10630
10689
|
action: handleTopkDiff,
|
|
10631
10690
|
isDisabled: addedOrRemoved || isQueryDisabled
|
|
10632
10691
|
});
|
|
10633
10692
|
const isValueDiffRun2 = findByRunType("value_diff");
|
|
10634
10693
|
menuItems.push({
|
|
10635
10694
|
label: isValueDiffRun2.title,
|
|
10636
|
-
itemIcon: /* @__PURE__ */ jsx(
|
|
10695
|
+
itemIcon: /* @__PURE__ */ jsx(Box35, { component: isValueDiffRun2.icon, sx: { display: "inline-flex" } }),
|
|
10637
10696
|
action: handleValueDiff,
|
|
10638
10697
|
isDisabled: addedOrRemoved || isQueryDisabled
|
|
10639
10698
|
});
|
|
@@ -10743,7 +10802,7 @@ function LineageViewNotification({
|
|
|
10743
10802
|
error: "error.light"
|
|
10744
10803
|
}[type];
|
|
10745
10804
|
return /* @__PURE__ */ jsxs(
|
|
10746
|
-
|
|
10805
|
+
Box35,
|
|
10747
10806
|
{
|
|
10748
10807
|
sx: {
|
|
10749
10808
|
width: "100%",
|
|
@@ -10760,7 +10819,7 @@ function LineageViewNotification({
|
|
|
10760
10819
|
},
|
|
10761
10820
|
children: [
|
|
10762
10821
|
notification,
|
|
10763
|
-
/* @__PURE__ */ jsx(
|
|
10822
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
10764
10823
|
/* @__PURE__ */ jsx(
|
|
10765
10824
|
IconButton2,
|
|
10766
10825
|
{
|
|
@@ -10781,10 +10840,10 @@ function HistoryToggle() {
|
|
|
10781
10840
|
if (isHistoryOpen) {
|
|
10782
10841
|
return;
|
|
10783
10842
|
}
|
|
10784
|
-
return /* @__PURE__ */ jsxs(
|
|
10785
|
-
/* @__PURE__ */ jsx(
|
|
10843
|
+
return /* @__PURE__ */ jsxs(Box35, { children: [
|
|
10844
|
+
/* @__PURE__ */ jsx(Box35, { sx: { fontSize: "8pt" }, children: "History" }),
|
|
10786
10845
|
/* @__PURE__ */ jsx(
|
|
10787
|
-
|
|
10846
|
+
Button11,
|
|
10788
10847
|
{
|
|
10789
10848
|
size: "xsmall",
|
|
10790
10849
|
variant: "outlined",
|
|
@@ -10803,7 +10862,7 @@ var SelectFilterTooltip = () => {
|
|
|
10803
10862
|
/* @__PURE__ */ jsx(Typography28, { fontSize: "10pt", color: "text.secondary", pb: 1, children: "Select nodes by dbt node selector syntax" }),
|
|
10804
10863
|
/* @__PURE__ */ jsxs(Typography28, { fontSize: "8pt", children: [
|
|
10805
10864
|
/* @__PURE__ */ jsx(
|
|
10806
|
-
|
|
10865
|
+
Box35,
|
|
10807
10866
|
{
|
|
10808
10867
|
component: "code",
|
|
10809
10868
|
sx: {
|
|
@@ -10820,7 +10879,7 @@ var SelectFilterTooltip = () => {
|
|
|
10820
10879
|
] }),
|
|
10821
10880
|
/* @__PURE__ */ jsxs(Typography28, { fontSize: "8pt", children: [
|
|
10822
10881
|
/* @__PURE__ */ jsx(
|
|
10823
|
-
|
|
10882
|
+
Box35,
|
|
10824
10883
|
{
|
|
10825
10884
|
component: "code",
|
|
10826
10885
|
sx: {
|
|
@@ -10837,7 +10896,7 @@ var SelectFilterTooltip = () => {
|
|
|
10837
10896
|
] }),
|
|
10838
10897
|
/* @__PURE__ */ jsxs(Typography28, { fontSize: "8pt", children: [
|
|
10839
10898
|
/* @__PURE__ */ jsx(
|
|
10840
|
-
|
|
10899
|
+
Box35,
|
|
10841
10900
|
{
|
|
10842
10901
|
component: "code",
|
|
10843
10902
|
sx: {
|
|
@@ -10854,7 +10913,7 @@ var SelectFilterTooltip = () => {
|
|
|
10854
10913
|
] }),
|
|
10855
10914
|
/* @__PURE__ */ jsxs(Typography28, { fontSize: "8pt", children: [
|
|
10856
10915
|
/* @__PURE__ */ jsx(
|
|
10857
|
-
|
|
10916
|
+
Box35,
|
|
10858
10917
|
{
|
|
10859
10918
|
component: "code",
|
|
10860
10919
|
sx: {
|
|
@@ -10893,7 +10952,7 @@ var ViewModeSelectMenu = ({ isDisabled }) => {
|
|
|
10893
10952
|
const ModelIcon = getIconForResourceType("model").icon;
|
|
10894
10953
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10895
10954
|
/* @__PURE__ */ jsx(
|
|
10896
|
-
|
|
10955
|
+
Button11,
|
|
10897
10956
|
{
|
|
10898
10957
|
size: "xsmall",
|
|
10899
10958
|
variant: "outlined",
|
|
@@ -10981,7 +11040,7 @@ var PackageSelectMenu = ({ isDisabled }) => {
|
|
|
10981
11040
|
};
|
|
10982
11041
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10983
11042
|
/* @__PURE__ */ jsx(
|
|
10984
|
-
|
|
11043
|
+
Button11,
|
|
10985
11044
|
{
|
|
10986
11045
|
size: "xsmall",
|
|
10987
11046
|
variant: "outlined",
|
|
@@ -11118,7 +11177,7 @@ var ExcludeFilter = ({ isDisabled }) => {
|
|
|
11118
11177
|
);
|
|
11119
11178
|
};
|
|
11120
11179
|
var ControlItem = (props) => {
|
|
11121
|
-
return /* @__PURE__ */ jsxs(
|
|
11180
|
+
return /* @__PURE__ */ jsxs(Box35, { style: props.style, sx: { maxWidth: 300 }, children: [
|
|
11122
11181
|
/* @__PURE__ */ jsx(Typography28, { fontSize: "8pt", children: (props.label ?? "").trim() || /* @__PURE__ */ jsx(Fragment, { children: "\xA0" }) }),
|
|
11123
11182
|
props.children
|
|
11124
11183
|
] });
|
|
@@ -11166,11 +11225,11 @@ var LineageViewTopBar = () => {
|
|
|
11166
11225
|
/* @__PURE__ */ jsx(ControlItem, { label: "Package", style: { flexShrink: 1 }, children: /* @__PURE__ */ jsx(PackageSelectMenu, { isDisabled: isFilterDisabled }) }),
|
|
11167
11226
|
/* @__PURE__ */ jsx(ControlItem, { label: "Select", style: { flexShrink: 1 }, children: /* @__PURE__ */ jsx(SelectFilter, { isDisabled: isFilterDisabled }) }),
|
|
11168
11227
|
/* @__PURE__ */ jsx(ControlItem, { label: "Exclude", style: { flexShrink: 1 }, children: /* @__PURE__ */ jsx(ExcludeFilter, { isDisabled: isFilterDisabled }) }),
|
|
11169
|
-
/* @__PURE__ */ jsx(
|
|
11228
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
11170
11229
|
isMultiSelect && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
11171
11230
|
/* @__PURE__ */ jsx(ControlItem, { label: "", style: { flexShrink: 0 }, children: /* @__PURE__ */ jsx(Typography28, { fontSize: "9pt", color: "text.secondary", children: selectedNodes.length > 1 ? `${selectedNodes.length} nodes selected` : `${selectedNodes.length} node selected` }) }),
|
|
11172
11231
|
/* @__PURE__ */ jsx(ControlItem, { label: "", children: /* @__PURE__ */ jsx(
|
|
11173
|
-
|
|
11232
|
+
Button11,
|
|
11174
11233
|
{
|
|
11175
11234
|
variant: "outlined",
|
|
11176
11235
|
color: "neutral",
|
|
@@ -11182,9 +11241,9 @@ var LineageViewTopBar = () => {
|
|
|
11182
11241
|
children: "Deselect"
|
|
11183
11242
|
}
|
|
11184
11243
|
) }),
|
|
11185
|
-
isSingleEnvOnboarding && /* @__PURE__ */ jsx(ControlItem, { label: "Explore", children: /* @__PURE__ */ jsxs(
|
|
11244
|
+
isSingleEnvOnboarding && /* @__PURE__ */ jsx(ControlItem, { label: "Explore", children: /* @__PURE__ */ jsxs(Box35, { sx: { display: "inline-flex" }, children: [
|
|
11186
11245
|
/* @__PURE__ */ jsx(
|
|
11187
|
-
|
|
11246
|
+
Button11,
|
|
11188
11247
|
{
|
|
11189
11248
|
size: "xsmall",
|
|
11190
11249
|
color: "neutral",
|
|
@@ -11221,9 +11280,9 @@ var LineageViewTopBar = () => {
|
|
|
11221
11280
|
)
|
|
11222
11281
|
] }) })
|
|
11223
11282
|
] }),
|
|
11224
|
-
!isSingleEnvOnboarding && /* @__PURE__ */ jsx(ControlItem, { label: "Explore", children: /* @__PURE__ */ jsxs(
|
|
11283
|
+
!isSingleEnvOnboarding && /* @__PURE__ */ jsx(ControlItem, { label: "Explore", children: /* @__PURE__ */ jsxs(Box35, { sx: { display: "inline-flex" }, children: [
|
|
11225
11284
|
/* @__PURE__ */ jsx(
|
|
11226
|
-
|
|
11285
|
+
Button11,
|
|
11227
11286
|
{
|
|
11228
11287
|
size: "xsmall",
|
|
11229
11288
|
color: "neutral",
|
|
@@ -11345,7 +11404,7 @@ var DisableTooltipMessages = {
|
|
|
11345
11404
|
};
|
|
11346
11405
|
var RecceNotification = (props) => {
|
|
11347
11406
|
return /* @__PURE__ */ jsxs(
|
|
11348
|
-
|
|
11407
|
+
Box35,
|
|
11349
11408
|
{
|
|
11350
11409
|
sx: {
|
|
11351
11410
|
display: "flex",
|
|
@@ -11363,14 +11422,14 @@ var RecceNotification = (props) => {
|
|
|
11363
11422
|
},
|
|
11364
11423
|
children: [
|
|
11365
11424
|
/* @__PURE__ */ jsx(
|
|
11366
|
-
|
|
11425
|
+
Box35,
|
|
11367
11426
|
{
|
|
11368
11427
|
component: FiInfo,
|
|
11369
11428
|
sx: { width: "20px", height: "20px", color: "primary.900" }
|
|
11370
11429
|
}
|
|
11371
11430
|
),
|
|
11372
11431
|
props.children,
|
|
11373
|
-
/* @__PURE__ */ jsx(
|
|
11432
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
11374
11433
|
/* @__PURE__ */ jsx(IconButton2, { size: "small", onClick: props.onClose, children: /* @__PURE__ */ jsx(IoClose, {}) })
|
|
11375
11434
|
]
|
|
11376
11435
|
}
|
|
@@ -11470,7 +11529,7 @@ function PrivateSingleEnvSchemaView({ current, showMenu = true }, ref) {
|
|
|
11470
11529
|
await handleViewCll(row.name);
|
|
11471
11530
|
}
|
|
11472
11531
|
};
|
|
11473
|
-
return /* @__PURE__ */ jsxs(
|
|
11532
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
11474
11533
|
catalogMissingMessage ? /* @__PURE__ */ jsx(MuiAlert, { severity: "warning", sx: { fontSize: "12px", p: 1 }, children: catalogMissingMessage }) : schemaMissingMessage ? /* @__PURE__ */ jsx(MuiAlert, { severity: "warning", sx: { fontSize: "12px", p: 1 }, children: schemaMissingMessage }) : /* @__PURE__ */ jsx(Fragment, {}),
|
|
11475
11534
|
rows.length > 0 && /* @__PURE__ */ jsx(
|
|
11476
11535
|
ScreenshotDataGrid,
|
|
@@ -11596,7 +11655,7 @@ function PrivateSchemaView({ base, current, showMenu = true }, ref) {
|
|
|
11596
11655
|
}
|
|
11597
11656
|
await handleViewCll(row.name);
|
|
11598
11657
|
};
|
|
11599
|
-
return /* @__PURE__ */ jsxs(
|
|
11658
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
11600
11659
|
catalogMissingMessage ? /* @__PURE__ */ jsx(MuiAlert, { severity: "warning", sx: { fontSize: "12px", p: 1 }, children: catalogMissingMessage }) : schemaMissingMessage ? /* @__PURE__ */ jsx(MuiAlert, { severity: "warning", sx: { fontSize: "12px", p: 1 }, children: schemaMissingMessage }) : /* @__PURE__ */ jsx(Fragment, {}),
|
|
11601
11660
|
rows.length > 0 && /* @__PURE__ */ jsx(
|
|
11602
11661
|
ScreenshotDataGrid,
|
|
@@ -11693,6 +11752,7 @@ function CodeEditor({
|
|
|
11693
11752
|
}
|
|
11694
11753
|
);
|
|
11695
11754
|
}
|
|
11755
|
+
var CodeEditor_default = CodeEditor;
|
|
11696
11756
|
var getLanguageExtension2 = (language) => {
|
|
11697
11757
|
switch (language) {
|
|
11698
11758
|
case "sql":
|
|
@@ -11808,6 +11868,7 @@ function DiffEditor({
|
|
|
11808
11868
|
}
|
|
11809
11869
|
);
|
|
11810
11870
|
}
|
|
11871
|
+
var DiffEditor_default = DiffEditor;
|
|
11811
11872
|
var NodeSqlView = ({ node }) => {
|
|
11812
11873
|
const [isOpen, setIsOpen] = useState(false);
|
|
11813
11874
|
const [isHovered, setIsHovered] = useState(false);
|
|
@@ -11823,7 +11884,7 @@ var NodeSqlView = ({ node }) => {
|
|
|
11823
11884
|
const modified = node.data.data.current?.raw_code;
|
|
11824
11885
|
const modelName = node.data.data.base?.name ?? node.data.data.current?.name ?? "";
|
|
11825
11886
|
return /* @__PURE__ */ jsxs(
|
|
11826
|
-
|
|
11887
|
+
Box35,
|
|
11827
11888
|
{
|
|
11828
11889
|
className: "no-track-pii-safe",
|
|
11829
11890
|
sx: { position: "relative", height: "100%" },
|
|
@@ -11890,7 +11951,7 @@ var NodeSqlView = ({ node }) => {
|
|
|
11890
11951
|
/* @__PURE__ */ jsx("code", { children: modelName }),
|
|
11891
11952
|
"\xA0Model Code Diff"
|
|
11892
11953
|
] }),
|
|
11893
|
-
/* @__PURE__ */ jsx(
|
|
11954
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
11894
11955
|
/* @__PURE__ */ jsx(IconButton2, { size: "small", onClick: () => setIsOpen(false), children: /* @__PURE__ */ jsx(IoClose, {}) })
|
|
11895
11956
|
] }),
|
|
11896
11957
|
/* @__PURE__ */ jsx(DialogContent, { children: isSingleEnvOnboarding ? /* @__PURE__ */ jsx(
|
|
@@ -11947,7 +12008,7 @@ function ReactionFeedback({
|
|
|
11947
12008
|
externalLinkText
|
|
11948
12009
|
}) {
|
|
11949
12010
|
return /* @__PURE__ */ jsxs(
|
|
11950
|
-
|
|
12011
|
+
Box35,
|
|
11951
12012
|
{
|
|
11952
12013
|
sx: {
|
|
11953
12014
|
display: "flex",
|
|
@@ -11964,7 +12025,7 @@ function ReactionFeedback({
|
|
|
11964
12025
|
"aria-label": "thumbs up",
|
|
11965
12026
|
onClick: onLike,
|
|
11966
12027
|
sx: { width: "32px", height: "32px" },
|
|
11967
|
-
children: /* @__PURE__ */ jsx(
|
|
12028
|
+
children: /* @__PURE__ */ jsx(Box35, { component: "img", src: "/imgs/feedback/thumbs-up.png", alt: "like" })
|
|
11968
12029
|
}
|
|
11969
12030
|
),
|
|
11970
12031
|
/* @__PURE__ */ jsx(
|
|
@@ -11974,7 +12035,7 @@ function ReactionFeedback({
|
|
|
11974
12035
|
onClick: onDislike,
|
|
11975
12036
|
sx: { width: "32px", height: "32px" },
|
|
11976
12037
|
children: /* @__PURE__ */ jsx(
|
|
11977
|
-
|
|
12038
|
+
Box35,
|
|
11978
12039
|
{
|
|
11979
12040
|
component: "img",
|
|
11980
12041
|
src: "/imgs/feedback/thumbs-down.png",
|
|
@@ -12110,6 +12171,246 @@ function extractSchemas(lineageGraph) {
|
|
|
12110
12171
|
}
|
|
12111
12172
|
return [baseSchemas, currentSchemas];
|
|
12112
12173
|
}
|
|
12174
|
+
function buildEnvironmentTrackingData(envInfo, reviewMode, baseSchemas, currentSchemas) {
|
|
12175
|
+
const git = envInfo?.git;
|
|
12176
|
+
const pr = envInfo?.pullRequest;
|
|
12177
|
+
const dbtBase = envInfo?.dbt?.base;
|
|
12178
|
+
const dbtCurrent = envInfo?.dbt?.current;
|
|
12179
|
+
const trackingData = {
|
|
12180
|
+
review_mode: reviewMode || false,
|
|
12181
|
+
adapter_type: envInfo?.adapterType || null,
|
|
12182
|
+
has_git_info: !isEmpty(git),
|
|
12183
|
+
has_pr_info: !isEmpty(pr)
|
|
12184
|
+
};
|
|
12185
|
+
if (envInfo?.adapterType === "dbt") {
|
|
12186
|
+
trackingData.base = {
|
|
12187
|
+
schema_count: baseSchemas.size,
|
|
12188
|
+
dbt_version: dbtBase?.dbt_version || null,
|
|
12189
|
+
timestamp: dbtBase?.generated_at || null
|
|
12190
|
+
};
|
|
12191
|
+
trackingData.current = {
|
|
12192
|
+
schema_count: currentSchemas.size,
|
|
12193
|
+
dbt_version: dbtCurrent?.dbt_version || null,
|
|
12194
|
+
timestamp: dbtCurrent?.generated_at || null
|
|
12195
|
+
};
|
|
12196
|
+
trackingData.schemas_match = baseSchemas.size === currentSchemas.size && Array.from(baseSchemas).every((s) => currentSchemas.has(s));
|
|
12197
|
+
}
|
|
12198
|
+
if (envInfo?.adapterType === "sqlmesh") {
|
|
12199
|
+
trackingData.base = {
|
|
12200
|
+
has_env: !!envInfo.sqlmesh?.base_env
|
|
12201
|
+
};
|
|
12202
|
+
trackingData.current = {
|
|
12203
|
+
has_env: !!envInfo.sqlmesh?.current_env
|
|
12204
|
+
};
|
|
12205
|
+
}
|
|
12206
|
+
return trackingData;
|
|
12207
|
+
}
|
|
12208
|
+
function renderInfoEntries(info) {
|
|
12209
|
+
if (Object.values(info).every((value) => value === null)) {
|
|
12210
|
+
return [
|
|
12211
|
+
/* @__PURE__ */ jsx(Box35, { sx: { ml: "10px" }, children: "No information" }, "no info")
|
|
12212
|
+
];
|
|
12213
|
+
}
|
|
12214
|
+
return Object.entries(info).filter(
|
|
12215
|
+
([key, value]) => key !== "url" && value !== null && value !== void 0
|
|
12216
|
+
).map(([key, value]) => /* @__PURE__ */ jsxs("li", { style: { marginLeft: "10px" }, children: [
|
|
12217
|
+
key,
|
|
12218
|
+
": ",
|
|
12219
|
+
value
|
|
12220
|
+
] }, key));
|
|
12221
|
+
}
|
|
12222
|
+
function EnvInfo() {
|
|
12223
|
+
const { envInfo, reviewMode, lineageGraph } = useLineageGraphContext();
|
|
12224
|
+
const [open, setOpen] = useState(false);
|
|
12225
|
+
const git = envInfo?.git;
|
|
12226
|
+
const pr = envInfo?.pullRequest;
|
|
12227
|
+
const reviewInfo = { ...git, ...pr };
|
|
12228
|
+
const dbtBase = envInfo?.dbt?.base;
|
|
12229
|
+
const dbtCurrent = envInfo?.dbt?.current;
|
|
12230
|
+
const baseTime = dbtBase?.generated_at ? formatTimestamp(dbtBase.generated_at) : "";
|
|
12231
|
+
const currentTime = dbtCurrent?.generated_at ? formatTimestamp(dbtCurrent.generated_at) : "";
|
|
12232
|
+
let baseRelativeTime = "";
|
|
12233
|
+
let currentRelativeTime = "";
|
|
12234
|
+
if (dbtBase) {
|
|
12235
|
+
baseRelativeTime = dbtBase.generated_at ? formatTimeToNow(dbtBase.generated_at) : "";
|
|
12236
|
+
}
|
|
12237
|
+
if (dbtCurrent) {
|
|
12238
|
+
currentRelativeTime = dbtCurrent.generated_at ? formatTimeToNow(dbtCurrent.generated_at) : "";
|
|
12239
|
+
}
|
|
12240
|
+
const [baseSchemas, currentSchemas] = extractSchemas(lineageGraph);
|
|
12241
|
+
const hasTrackedRef = useRef(false);
|
|
12242
|
+
useEffect(() => {
|
|
12243
|
+
if (!hasTrackedRef.current && envInfo) {
|
|
12244
|
+
hasTrackedRef.current = true;
|
|
12245
|
+
const trackingData = buildEnvironmentTrackingData(
|
|
12246
|
+
envInfo,
|
|
12247
|
+
reviewMode,
|
|
12248
|
+
baseSchemas,
|
|
12249
|
+
currentSchemas
|
|
12250
|
+
);
|
|
12251
|
+
trackEnvironmentConfig(trackingData);
|
|
12252
|
+
}
|
|
12253
|
+
}, [envInfo, reviewMode, baseSchemas, currentSchemas]);
|
|
12254
|
+
const handleOpen = () => setOpen(true);
|
|
12255
|
+
const handleClose = () => setOpen(false);
|
|
12256
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12257
|
+
/* @__PURE__ */ jsx(MuiTooltip, { title: "Environment Info", placement: "bottom-end", children: /* @__PURE__ */ jsxs(
|
|
12258
|
+
"div",
|
|
12259
|
+
{
|
|
12260
|
+
className: "flex items-center hover:cursor-pointer hover:text-black",
|
|
12261
|
+
onClick: handleOpen,
|
|
12262
|
+
children: [
|
|
12263
|
+
/* @__PURE__ */ jsxs("div", { className: "hidden text-sm lg:flex lg:flex-col", children: [
|
|
12264
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
|
12265
|
+
/* @__PURE__ */ jsx(
|
|
12266
|
+
Typography28,
|
|
12267
|
+
{
|
|
12268
|
+
component: "span",
|
|
12269
|
+
sx: { color: "warning.main" },
|
|
12270
|
+
className: "no-track-pii-safe max-w-32 truncate",
|
|
12271
|
+
children: Array.from(baseSchemas).join(", ")
|
|
12272
|
+
}
|
|
12273
|
+
),
|
|
12274
|
+
" ",
|
|
12275
|
+
"(",
|
|
12276
|
+
baseRelativeTime,
|
|
12277
|
+
")"
|
|
12278
|
+
] }),
|
|
12279
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
|
12280
|
+
/* @__PURE__ */ jsx(
|
|
12281
|
+
Typography28,
|
|
12282
|
+
{
|
|
12283
|
+
component: "span",
|
|
12284
|
+
sx: { color: "primary.main" },
|
|
12285
|
+
className: "no-track-pii-safe max-w-32 truncate",
|
|
12286
|
+
children: Array.from(currentSchemas).join(", ")
|
|
12287
|
+
}
|
|
12288
|
+
),
|
|
12289
|
+
" ",
|
|
12290
|
+
"(",
|
|
12291
|
+
currentRelativeTime,
|
|
12292
|
+
")"
|
|
12293
|
+
] })
|
|
12294
|
+
] }),
|
|
12295
|
+
/* @__PURE__ */ jsx(IconButton2, { size: "small", "aria-label": "Environment Info", children: /* @__PURE__ */ jsx(
|
|
12296
|
+
Box35,
|
|
12297
|
+
{
|
|
12298
|
+
component: IconInfo,
|
|
12299
|
+
sx: { fontSize: 16, verticalAlign: "middle" }
|
|
12300
|
+
}
|
|
12301
|
+
) })
|
|
12302
|
+
]
|
|
12303
|
+
}
|
|
12304
|
+
) }),
|
|
12305
|
+
/* @__PURE__ */ jsxs(MuiDialog, { open, onClose: handleClose, maxWidth: "sm", fullWidth: true, children: [
|
|
12306
|
+
/* @__PURE__ */ jsxs(DialogTitle, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
12307
|
+
"Environment Information",
|
|
12308
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
12309
|
+
/* @__PURE__ */ jsx(IconButton2, { size: "small", onClick: handleClose, children: /* @__PURE__ */ jsx(IoClose, {}) })
|
|
12310
|
+
] }),
|
|
12311
|
+
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsxs(Stack24, { direction: "column", spacing: 1, children: [
|
|
12312
|
+
reviewMode ? /* @__PURE__ */ jsxs(Stack24, { direction: "column", spacing: 0.5, children: [
|
|
12313
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { fontSize: "1rem" }, children: "Review Information" }),
|
|
12314
|
+
/* @__PURE__ */ jsxs("ul", { style: { margin: 0, paddingLeft: "20px" }, children: [
|
|
12315
|
+
reviewInfo.url && /* @__PURE__ */ jsxs("li", { style: { marginLeft: "10px" }, children: [
|
|
12316
|
+
"url:",
|
|
12317
|
+
" ",
|
|
12318
|
+
/* @__PURE__ */ jsxs(
|
|
12319
|
+
Link,
|
|
12320
|
+
{
|
|
12321
|
+
href: reviewInfo.url,
|
|
12322
|
+
target: "_blank",
|
|
12323
|
+
sx: { color: "primary.main" },
|
|
12324
|
+
children: [
|
|
12325
|
+
reviewInfo.url,
|
|
12326
|
+
" ",
|
|
12327
|
+
/* @__PURE__ */ jsx(LuExternalLink, {})
|
|
12328
|
+
]
|
|
12329
|
+
}
|
|
12330
|
+
)
|
|
12331
|
+
] }),
|
|
12332
|
+
!isEmpty(reviewInfo) && renderInfoEntries(reviewInfo)
|
|
12333
|
+
] })
|
|
12334
|
+
] }) : /* @__PURE__ */ jsxs(Stack24, { direction: "column", spacing: 0.5, children: [
|
|
12335
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { fontSize: "1rem" }, children: "Dev Information" }),
|
|
12336
|
+
/* @__PURE__ */ jsx("ul", { style: { margin: 0, paddingLeft: "20px" }, children: git && renderInfoEntries(git) })
|
|
12337
|
+
] }),
|
|
12338
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
12339
|
+
envInfo?.adapterType === "dbt" && /* @__PURE__ */ jsxs(Stack24, { direction: "column", spacing: 0.5, children: [
|
|
12340
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { fontSize: "1rem" }, children: "DBT" }),
|
|
12341
|
+
/* @__PURE__ */ jsx(
|
|
12342
|
+
TableContainer,
|
|
12343
|
+
{
|
|
12344
|
+
sx: { border: 1, borderColor: "divider", maxHeight: "30rem" },
|
|
12345
|
+
children: /* @__PURE__ */ jsxs(Table, { size: "small", stickyHeader: true, children: [
|
|
12346
|
+
/* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12347
|
+
/* @__PURE__ */ jsx(TableCell, {}),
|
|
12348
|
+
/* @__PURE__ */ jsx(TableCell, { children: "base" }),
|
|
12349
|
+
/* @__PURE__ */ jsx(TableCell, { children: "current" })
|
|
12350
|
+
] }) }),
|
|
12351
|
+
/* @__PURE__ */ jsxs(TableBody, { children: [
|
|
12352
|
+
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12353
|
+
/* @__PURE__ */ jsx(TableCell, { children: "schema" }),
|
|
12354
|
+
/* @__PURE__ */ jsx(TableCell, { className: "no-track-pii-safe", children: Array.from(baseSchemas).map((item) => /* @__PURE__ */ jsx(
|
|
12355
|
+
MuiTooltip,
|
|
12356
|
+
{
|
|
12357
|
+
title: item,
|
|
12358
|
+
placement: "bottom",
|
|
12359
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-72 truncate", children: item })
|
|
12360
|
+
},
|
|
12361
|
+
item
|
|
12362
|
+
)) }),
|
|
12363
|
+
/* @__PURE__ */ jsx(TableCell, { className: "no-track-pii-safe", children: Array.from(currentSchemas).map((item) => /* @__PURE__ */ jsx(
|
|
12364
|
+
MuiTooltip,
|
|
12365
|
+
{
|
|
12366
|
+
title: item,
|
|
12367
|
+
placement: "bottom",
|
|
12368
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-72 truncate", children: item })
|
|
12369
|
+
},
|
|
12370
|
+
item
|
|
12371
|
+
)) })
|
|
12372
|
+
] }),
|
|
12373
|
+
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12374
|
+
/* @__PURE__ */ jsx(TableCell, { children: "version" }),
|
|
12375
|
+
/* @__PURE__ */ jsx(TableCell, { children: dbtBase?.dbt_version }),
|
|
12376
|
+
/* @__PURE__ */ jsx(TableCell, { children: dbtCurrent?.dbt_version })
|
|
12377
|
+
] }),
|
|
12378
|
+
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12379
|
+
/* @__PURE__ */ jsx(TableCell, { children: "timestamp" }),
|
|
12380
|
+
/* @__PURE__ */ jsx(TableCell, { children: baseTime }),
|
|
12381
|
+
/* @__PURE__ */ jsx(TableCell, { children: currentTime })
|
|
12382
|
+
] })
|
|
12383
|
+
] })
|
|
12384
|
+
] })
|
|
12385
|
+
}
|
|
12386
|
+
)
|
|
12387
|
+
] }),
|
|
12388
|
+
envInfo?.adapterType === "sqlmesh" && /* @__PURE__ */ jsxs(Stack24, { direction: "column", spacing: 0.5, children: [
|
|
12389
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { fontSize: "1rem" }, children: "SQLMesh" }),
|
|
12390
|
+
/* @__PURE__ */ jsx(
|
|
12391
|
+
TableContainer,
|
|
12392
|
+
{
|
|
12393
|
+
sx: { border: 1, borderColor: "divider", maxHeight: "30rem" },
|
|
12394
|
+
children: /* @__PURE__ */ jsxs(Table, { stickyHeader: true, children: [
|
|
12395
|
+
/* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12396
|
+
/* @__PURE__ */ jsx(TableCell, {}),
|
|
12397
|
+
/* @__PURE__ */ jsx(TableCell, { children: "base" }),
|
|
12398
|
+
/* @__PURE__ */ jsx(TableCell, { children: "current" })
|
|
12399
|
+
] }) }),
|
|
12400
|
+
/* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
12401
|
+
/* @__PURE__ */ jsx(TableCell, { children: "Environment" }),
|
|
12402
|
+
/* @__PURE__ */ jsx(TableCell, { className: "no-track-pii-safe", children: envInfo.sqlmesh?.base_env }),
|
|
12403
|
+
/* @__PURE__ */ jsx(TableCell, { className: "no-track-pii-safe", children: envInfo.sqlmesh?.current_env })
|
|
12404
|
+
] }) })
|
|
12405
|
+
] })
|
|
12406
|
+
}
|
|
12407
|
+
)
|
|
12408
|
+
] })
|
|
12409
|
+
] }) }),
|
|
12410
|
+
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(Button11, { color: "iochmara", onClick: handleClose, children: "Close" }) })
|
|
12411
|
+
] })
|
|
12412
|
+
] });
|
|
12413
|
+
}
|
|
12113
12414
|
var DropdownValuesInput = (props) => {
|
|
12114
12415
|
const { defaultValues, suggestionList, onValuesChange, className } = props;
|
|
12115
12416
|
const [values, setValues] = useState(defaultValues ?? []);
|
|
@@ -12180,7 +12481,7 @@ var DropdownValuesInput = (props) => {
|
|
|
12180
12481
|
}
|
|
12181
12482
|
};
|
|
12182
12483
|
return /* @__PURE__ */ jsxs(
|
|
12183
|
-
|
|
12484
|
+
Box35,
|
|
12184
12485
|
{
|
|
12185
12486
|
sx: {
|
|
12186
12487
|
display: "flex",
|
|
@@ -12190,7 +12491,7 @@ var DropdownValuesInput = (props) => {
|
|
|
12190
12491
|
className,
|
|
12191
12492
|
children: [
|
|
12192
12493
|
/* @__PURE__ */ jsxs(
|
|
12193
|
-
|
|
12494
|
+
Button11,
|
|
12194
12495
|
{
|
|
12195
12496
|
variant: "outlined",
|
|
12196
12497
|
color: "neutral",
|
|
@@ -12257,8 +12558,8 @@ var DropdownValuesInput = (props) => {
|
|
|
12257
12558
|
}
|
|
12258
12559
|
},
|
|
12259
12560
|
children: [
|
|
12260
|
-
/* @__PURE__ */ jsx(
|
|
12261
|
-
|
|
12561
|
+
/* @__PURE__ */ jsx(Box35, { sx: { px: 0.5, py: 0.5 }, children: /* @__PURE__ */ jsxs(
|
|
12562
|
+
Box35,
|
|
12262
12563
|
{
|
|
12263
12564
|
sx: {
|
|
12264
12565
|
border: "1px solid",
|
|
@@ -12365,7 +12666,7 @@ var DropdownValuesInput = (props) => {
|
|
|
12365
12666
|
{
|
|
12366
12667
|
title: "Please use filter to find more items",
|
|
12367
12668
|
placement: "top",
|
|
12368
|
-
children: /* @__PURE__ */ jsxs(
|
|
12669
|
+
children: /* @__PURE__ */ jsxs(Box35, { px: 1.5, py: 0.5, color: "text.secondary", fontSize: "8pt", children: [
|
|
12369
12670
|
"and ",
|
|
12370
12671
|
filteredList.length - limit,
|
|
12371
12672
|
" more items..."
|
|
@@ -12405,7 +12706,7 @@ var QueryForm = ({
|
|
|
12405
12706
|
}
|
|
12406
12707
|
return Array.from(columnSet).sort();
|
|
12407
12708
|
}, [lineageGraph]);
|
|
12408
|
-
return /* @__PURE__ */ jsx(
|
|
12709
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { display: "flex" }, ...props, children: /* @__PURE__ */ jsxs(Stack24, { spacing: 0, sx: { m: "0 0.5rem" }, children: [
|
|
12409
12710
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
12410
12711
|
/* @__PURE__ */ jsx(
|
|
12411
12712
|
Typography28,
|
|
@@ -12416,7 +12717,7 @@ var QueryForm = ({
|
|
|
12416
12717
|
}
|
|
12417
12718
|
),
|
|
12418
12719
|
/* @__PURE__ */ jsx(MuiTooltip, { title: labelInfo, placement: "bottom-end", children: /* @__PURE__ */ jsx(
|
|
12419
|
-
|
|
12720
|
+
Box35,
|
|
12420
12721
|
{
|
|
12421
12722
|
component: "span",
|
|
12422
12723
|
sx: { display: "flex", color: "grey.600", cursor: "help" },
|
|
@@ -12505,7 +12806,7 @@ function AuthModal({
|
|
|
12505
12806
|
/* @__PURE__ */ jsx("li", { children: "Your instance will be securely and freely hosted for sharing." }),
|
|
12506
12807
|
variant === "auth" && /* @__PURE__ */ jsx("li", { children: "This step is recommended but optional." })
|
|
12507
12808
|
] }),
|
|
12508
|
-
/* @__PURE__ */ jsxs(
|
|
12809
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", gap: 1 }, children: [
|
|
12509
12810
|
"More directions",
|
|
12510
12811
|
/* @__PURE__ */ jsxs(
|
|
12511
12812
|
Link,
|
|
@@ -12527,7 +12828,7 @@ function AuthModal({
|
|
|
12527
12828
|
] }),
|
|
12528
12829
|
/* @__PURE__ */ jsxs(DialogActions, { sx: { flexDirection: "column", gap: 1, px: 3, pb: 3 }, children: [
|
|
12529
12830
|
/* @__PURE__ */ jsxs(
|
|
12530
|
-
|
|
12831
|
+
Button11,
|
|
12531
12832
|
{
|
|
12532
12833
|
fullWidth: true,
|
|
12533
12834
|
color: "brand",
|
|
@@ -12546,7 +12847,7 @@ function AuthModal({
|
|
|
12546
12847
|
}
|
|
12547
12848
|
),
|
|
12548
12849
|
/* @__PURE__ */ jsx(
|
|
12549
|
-
|
|
12850
|
+
Button11,
|
|
12550
12851
|
{
|
|
12551
12852
|
fullWidth: true,
|
|
12552
12853
|
color: "neutral",
|
|
@@ -12558,7 +12859,7 @@ function AuthModal({
|
|
|
12558
12859
|
}
|
|
12559
12860
|
),
|
|
12560
12861
|
variant === "auth" && /* @__PURE__ */ jsx(
|
|
12561
|
-
|
|
12862
|
+
Button11,
|
|
12562
12863
|
{
|
|
12563
12864
|
fullWidth: true,
|
|
12564
12865
|
variant: "text",
|
|
@@ -12578,7 +12879,7 @@ function AuthModal({
|
|
|
12578
12879
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12579
12880
|
/* @__PURE__ */ jsx(DialogContent, { className: "space-y-2 self-center font-light", children: /* @__PURE__ */ jsxs(Stack24, { spacing: 2, alignItems: "center", sx: { pt: "1rem" }, children: [
|
|
12580
12881
|
/* @__PURE__ */ jsx(
|
|
12581
|
-
|
|
12882
|
+
Box35,
|
|
12582
12883
|
{
|
|
12583
12884
|
component: "img",
|
|
12584
12885
|
sx: { height: "6rem", objectFit: "contain", mx: "auto", mb: 1 },
|
|
@@ -12590,7 +12891,7 @@ function AuthModal({
|
|
|
12590
12891
|
/* @__PURE__ */ jsx(Typography28, { children: "Reload to complete connection to Recce Cloud" })
|
|
12591
12892
|
] }) }),
|
|
12592
12893
|
/* @__PURE__ */ jsx(DialogActions, { sx: { px: 3, pb: 3 }, children: /* @__PURE__ */ jsx(
|
|
12593
|
-
|
|
12894
|
+
Button11,
|
|
12594
12895
|
{
|
|
12595
12896
|
fullWidth: true,
|
|
12596
12897
|
color: "brand",
|
|
@@ -12837,9 +13138,9 @@ function SqlEditor({
|
|
|
12837
13138
|
/* @__PURE__ */ jsx("span", { children: timestamp }),
|
|
12838
13139
|
")"
|
|
12839
13140
|
] }),
|
|
12840
|
-
/* @__PURE__ */ jsx(
|
|
13141
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
12841
13142
|
(onRun ?? onRunBase) && /* @__PURE__ */ jsx(
|
|
12842
|
-
|
|
13143
|
+
Button11,
|
|
12843
13144
|
{
|
|
12844
13145
|
size: "xsmall",
|
|
12845
13146
|
variant: "outlined",
|
|
@@ -12994,7 +13295,7 @@ var RunStatusAndDate = ({ run }) => {
|
|
|
12994
13295
|
}
|
|
12995
13296
|
const dateTime = run.run_at ? formatRunDateTime(new Date(run.run_at)) : null;
|
|
12996
13297
|
return /* @__PURE__ */ jsxs(
|
|
12997
|
-
|
|
13298
|
+
Box35,
|
|
12998
13299
|
{
|
|
12999
13300
|
sx: {
|
|
13000
13301
|
display: "flex",
|
|
@@ -13032,61 +13333,6 @@ var RunStatusAndDate = ({ run }) => {
|
|
|
13032
13333
|
}
|
|
13033
13334
|
);
|
|
13034
13335
|
};
|
|
13035
|
-
var Fallback = (errorData) => {
|
|
13036
|
-
return /* @__PURE__ */ jsx(
|
|
13037
|
-
Box34,
|
|
13038
|
-
{
|
|
13039
|
-
sx: {
|
|
13040
|
-
height: "100%",
|
|
13041
|
-
bgcolor: "grey.50",
|
|
13042
|
-
display: "flex",
|
|
13043
|
-
alignItems: "center",
|
|
13044
|
-
justifyContent: "center"
|
|
13045
|
-
},
|
|
13046
|
-
children: /* @__PURE__ */ jsxs(
|
|
13047
|
-
Box34,
|
|
13048
|
-
{
|
|
13049
|
-
sx: {
|
|
13050
|
-
p: 4,
|
|
13051
|
-
display: "flex",
|
|
13052
|
-
flexDirection: "column",
|
|
13053
|
-
justifyContent: "flex-start",
|
|
13054
|
-
bgcolor: "white",
|
|
13055
|
-
border: "solid lightgray 1px",
|
|
13056
|
-
minHeight: "200px"
|
|
13057
|
-
},
|
|
13058
|
-
children: [
|
|
13059
|
-
/* @__PURE__ */ jsx(Typography28, { variant: "h6", sx: { width: "800px" }, children: "You have encountered an error" }),
|
|
13060
|
-
/* @__PURE__ */ jsx(Box34, { sx: { flex: 1, fontSize: "10pt" }, children: String(errorData.error) }),
|
|
13061
|
-
/* @__PURE__ */ jsx(
|
|
13062
|
-
Button10,
|
|
13063
|
-
{
|
|
13064
|
-
sx: {
|
|
13065
|
-
justifySelf: "center",
|
|
13066
|
-
alignSelf: "center",
|
|
13067
|
-
mt: "20px"
|
|
13068
|
-
},
|
|
13069
|
-
color: "iochmara",
|
|
13070
|
-
variant: "contained",
|
|
13071
|
-
size: "small",
|
|
13072
|
-
onClick: () => {
|
|
13073
|
-
errorData.resetError();
|
|
13074
|
-
},
|
|
13075
|
-
children: "Reset"
|
|
13076
|
-
}
|
|
13077
|
-
)
|
|
13078
|
-
]
|
|
13079
|
-
}
|
|
13080
|
-
)
|
|
13081
|
-
}
|
|
13082
|
-
);
|
|
13083
|
-
};
|
|
13084
|
-
var ErrorBoundary = ({
|
|
13085
|
-
children,
|
|
13086
|
-
fallback = Fallback
|
|
13087
|
-
}) => {
|
|
13088
|
-
return /* @__PURE__ */ jsx(ErrorBoundary$1, { fallback, children });
|
|
13089
|
-
};
|
|
13090
13336
|
var ResultErrorFallback = (errorData) => {
|
|
13091
13337
|
return /* @__PURE__ */ jsx(MuiAlert, { severity: "error", children: String(errorData.error) });
|
|
13092
13338
|
};
|
|
@@ -13121,7 +13367,7 @@ var RunView = forwardRef(
|
|
|
13121
13367
|
}
|
|
13122
13368
|
const progressValue = progress?.percentage != null ? progress.percentage * 100 : void 0;
|
|
13123
13369
|
return /* @__PURE__ */ jsx(
|
|
13124
|
-
|
|
13370
|
+
Box35,
|
|
13125
13371
|
{
|
|
13126
13372
|
sx: {
|
|
13127
13373
|
display: "flex",
|
|
@@ -13133,7 +13379,7 @@ var RunView = forwardRef(
|
|
|
13133
13379
|
},
|
|
13134
13380
|
children: /* @__PURE__ */ jsxs(Stack24, { spacing: 2, alignItems: "center", children: [
|
|
13135
13381
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
13136
|
-
progressValue == null ? /* @__PURE__ */ jsx(CircularProgress4, { size: 32 }) : /* @__PURE__ */ jsxs(
|
|
13382
|
+
progressValue == null ? /* @__PURE__ */ jsx(CircularProgress4, { size: 32 }) : /* @__PURE__ */ jsxs(Box35, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
13137
13383
|
/* @__PURE__ */ jsx(
|
|
13138
13384
|
CircularProgress4,
|
|
13139
13385
|
{
|
|
@@ -13143,7 +13389,7 @@ var RunView = forwardRef(
|
|
|
13143
13389
|
}
|
|
13144
13390
|
),
|
|
13145
13391
|
/* @__PURE__ */ jsx(
|
|
13146
|
-
|
|
13392
|
+
Box35,
|
|
13147
13393
|
{
|
|
13148
13394
|
sx: {
|
|
13149
13395
|
top: 0,
|
|
@@ -13169,14 +13415,14 @@ var RunView = forwardRef(
|
|
|
13169
13415
|
] }),
|
|
13170
13416
|
isAborting ? /* @__PURE__ */ jsx(Typography28, { children: "Aborting..." }) : /* @__PURE__ */ jsx(Typography28, { className: "no-track-pii-safe", children: loadingMessage })
|
|
13171
13417
|
] }),
|
|
13172
|
-
!isAborting && /* @__PURE__ */ jsx(
|
|
13418
|
+
!isAborting && /* @__PURE__ */ jsx(Button11, { variant: "contained", onClick: onCancel, size: "small", children: "Cancel" })
|
|
13173
13419
|
] })
|
|
13174
13420
|
}
|
|
13175
13421
|
);
|
|
13176
13422
|
}
|
|
13177
13423
|
if (!run) {
|
|
13178
13424
|
return /* @__PURE__ */ jsx(
|
|
13179
|
-
|
|
13425
|
+
Box35,
|
|
13180
13426
|
{
|
|
13181
13427
|
sx: {
|
|
13182
13428
|
display: "flex",
|
|
@@ -13200,7 +13446,7 @@ var RunView = forwardRef(
|
|
|
13200
13446
|
);
|
|
13201
13447
|
}
|
|
13202
13448
|
return /* @__PURE__ */ jsxs(
|
|
13203
|
-
|
|
13449
|
+
Box35,
|
|
13204
13450
|
{
|
|
13205
13451
|
sx: {
|
|
13206
13452
|
height: "100%",
|
|
@@ -13283,7 +13529,7 @@ var RunResultShareMenu = ({
|
|
|
13283
13529
|
};
|
|
13284
13530
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13285
13531
|
/* @__PURE__ */ jsx(
|
|
13286
|
-
|
|
13532
|
+
Button11,
|
|
13287
13533
|
{
|
|
13288
13534
|
size: "small",
|
|
13289
13535
|
variant: "outlined",
|
|
@@ -13373,10 +13619,10 @@ var PrivateLoadableRunView = ({
|
|
|
13373
13619
|
const isQuery = run?.type === "query" || run?.type === "query_diff" || run?.type === "query_base";
|
|
13374
13620
|
const { ref, onCopyToClipboard, onMouseEnter, onMouseLeave } = useCopyToClipboardButton();
|
|
13375
13621
|
const disableCopyToClipboard = !runId || !run?.result || !!error || tabValue !== "result";
|
|
13376
|
-
return /* @__PURE__ */ jsxs(
|
|
13622
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
13377
13623
|
showSingleEnvironmentSetupNotification && /* @__PURE__ */ jsx(SingleEnvironmentSetupNotification, { runType: run?.type }),
|
|
13378
13624
|
/* @__PURE__ */ jsxs(
|
|
13379
|
-
|
|
13625
|
+
Box35,
|
|
13380
13626
|
{
|
|
13381
13627
|
sx: {
|
|
13382
13628
|
display: "flex",
|
|
@@ -13398,7 +13644,7 @@ var PrivateLoadableRunView = ({
|
|
|
13398
13644
|
]
|
|
13399
13645
|
}
|
|
13400
13646
|
),
|
|
13401
|
-
/* @__PURE__ */ jsx(
|
|
13647
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
13402
13648
|
/* @__PURE__ */ jsxs(
|
|
13403
13649
|
Stack24,
|
|
13404
13650
|
{
|
|
@@ -13409,7 +13655,7 @@ var PrivateLoadableRunView = ({
|
|
|
13409
13655
|
children: [
|
|
13410
13656
|
run && /* @__PURE__ */ jsx(RunStatusAndDate, { run }),
|
|
13411
13657
|
/* @__PURE__ */ jsx(
|
|
13412
|
-
|
|
13658
|
+
Button11,
|
|
13413
13659
|
{
|
|
13414
13660
|
variant: "outlined",
|
|
13415
13661
|
color: "neutral",
|
|
@@ -13422,7 +13668,7 @@ var PrivateLoadableRunView = ({
|
|
|
13422
13668
|
}
|
|
13423
13669
|
),
|
|
13424
13670
|
featureToggles.disableShare ? /* @__PURE__ */ jsx(
|
|
13425
|
-
|
|
13671
|
+
Button11,
|
|
13426
13672
|
{
|
|
13427
13673
|
variant: "outlined",
|
|
13428
13674
|
color: "neutral",
|
|
@@ -13546,7 +13792,7 @@ function AddToCheckButton({
|
|
|
13546
13792
|
}
|
|
13547
13793
|
if (run?.check_id) {
|
|
13548
13794
|
return /* @__PURE__ */ jsx(
|
|
13549
|
-
|
|
13795
|
+
Button11,
|
|
13550
13796
|
{
|
|
13551
13797
|
disabled: !runId || !run.result || !!error,
|
|
13552
13798
|
size: "small",
|
|
@@ -13559,7 +13805,7 @@ function AddToCheckButton({
|
|
|
13559
13805
|
);
|
|
13560
13806
|
}
|
|
13561
13807
|
return /* @__PURE__ */ jsx(
|
|
13562
|
-
|
|
13808
|
+
Button11,
|
|
13563
13809
|
{
|
|
13564
13810
|
disabled: !runId || !run?.result || !!error,
|
|
13565
13811
|
size: "small",
|
|
@@ -13593,7 +13839,7 @@ function SandboxTopBar({
|
|
|
13593
13839
|
flex: "0 0 54px"
|
|
13594
13840
|
},
|
|
13595
13841
|
children: [
|
|
13596
|
-
/* @__PURE__ */ jsxs(
|
|
13842
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
13597
13843
|
/* @__PURE__ */ jsxs(
|
|
13598
13844
|
Typography28,
|
|
13599
13845
|
{
|
|
@@ -13601,7 +13847,7 @@ function SandboxTopBar({
|
|
|
13601
13847
|
component: "h2",
|
|
13602
13848
|
sx: { display: "flex", alignItems: "center", gap: "5px" },
|
|
13603
13849
|
children: [
|
|
13604
|
-
/* @__PURE__ */ jsx(
|
|
13850
|
+
/* @__PURE__ */ jsx(Box35, { component: AiOutlineExperiment, sx: { fontSize: "1.2em" } }),
|
|
13605
13851
|
"Sandbox"
|
|
13606
13852
|
]
|
|
13607
13853
|
}
|
|
@@ -13612,7 +13858,7 @@ function SandboxTopBar({
|
|
|
13612
13858
|
/* @__PURE__ */ jsx("b", { children: current?.name })
|
|
13613
13859
|
] })
|
|
13614
13860
|
] }),
|
|
13615
|
-
/* @__PURE__ */ jsx(
|
|
13861
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
13616
13862
|
/* @__PURE__ */ jsx(
|
|
13617
13863
|
QueryForm,
|
|
13618
13864
|
{
|
|
@@ -13621,7 +13867,7 @@ function SandboxTopBar({
|
|
|
13621
13867
|
}
|
|
13622
13868
|
),
|
|
13623
13869
|
/* @__PURE__ */ jsx(MuiTooltip, { title: "Run diff to see the changes", children: /* @__PURE__ */ jsx(
|
|
13624
|
-
|
|
13870
|
+
Button11,
|
|
13625
13871
|
{
|
|
13626
13872
|
size: "small",
|
|
13627
13873
|
sx: { mt: "16px", fontSize: "14px" },
|
|
@@ -13819,7 +14065,7 @@ function SandboxView({ isOpen, onClose, current }) {
|
|
|
13819
14065
|
},
|
|
13820
14066
|
children: [
|
|
13821
14067
|
/* @__PURE__ */ jsxs(
|
|
13822
|
-
|
|
14068
|
+
Box35,
|
|
13823
14069
|
{
|
|
13824
14070
|
sx: {
|
|
13825
14071
|
height: "40px",
|
|
@@ -13838,7 +14084,7 @@ function SandboxView({ isOpen, onClose, current }) {
|
|
|
13838
14084
|
sx: { height: "100%", gap: "10px" },
|
|
13839
14085
|
children: [
|
|
13840
14086
|
/* @__PURE__ */ jsx(
|
|
13841
|
-
|
|
14087
|
+
Box35,
|
|
13842
14088
|
{
|
|
13843
14089
|
component: "img",
|
|
13844
14090
|
sx: { width: "20px", height: "20px", ml: "18px" },
|
|
@@ -13932,11 +14178,11 @@ function SandboxView({ isOpen, onClose, current }) {
|
|
|
13932
14178
|
onClose: () => setIsRunResultOpen(false),
|
|
13933
14179
|
disableAddToChecklist: true
|
|
13934
14180
|
}
|
|
13935
|
-
) : /* @__PURE__ */ jsx(
|
|
14181
|
+
) : /* @__PURE__ */ jsx(Box35, {})
|
|
13936
14182
|
]
|
|
13937
14183
|
}
|
|
13938
14184
|
) }),
|
|
13939
|
-
/* @__PURE__ */ jsx(
|
|
14185
|
+
/* @__PURE__ */ jsx(Box35, { sx: { position: "fixed", bottom: 16, right: 16, opacity: 0.5 }, children: /* @__PURE__ */ jsx(MuiTooltip, { title: "Give us feedback", children: /* @__PURE__ */ jsx(
|
|
13940
14186
|
IconButton2,
|
|
13941
14187
|
{
|
|
13942
14188
|
"aria-label": "feedback",
|
|
@@ -13998,7 +14244,7 @@ function NodeView({ node, onCloseNode }) {
|
|
|
13998
14244
|
const baseColumns = Object.keys(node.data.data.base?.columns ?? {});
|
|
13999
14245
|
const currentColumns = Object.keys(node.data.data.current?.columns ?? {});
|
|
14000
14246
|
return /* @__PURE__ */ jsxs(
|
|
14001
|
-
|
|
14247
|
+
Box35,
|
|
14002
14248
|
{
|
|
14003
14249
|
sx: {
|
|
14004
14250
|
height: "100%",
|
|
@@ -14007,7 +14253,7 @@ function NodeView({ node, onCloseNode }) {
|
|
|
14007
14253
|
},
|
|
14008
14254
|
children: [
|
|
14009
14255
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", alignItems: "center", children: [
|
|
14010
|
-
/* @__PURE__ */ jsx(
|
|
14256
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: "0 1 20%", p: 2 }, children: /* @__PURE__ */ jsx(
|
|
14011
14257
|
Typography28,
|
|
14012
14258
|
{
|
|
14013
14259
|
variant: "subtitle1",
|
|
@@ -14016,7 +14262,7 @@ function NodeView({ node, onCloseNode }) {
|
|
|
14016
14262
|
children: node.data.name
|
|
14017
14263
|
}
|
|
14018
14264
|
) }),
|
|
14019
|
-
/* @__PURE__ */ jsx(
|
|
14265
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
14020
14266
|
isSingleEnvOnboarding ? /* @__PURE__ */ jsx(
|
|
14021
14267
|
SingleEnvironmentMenuButton,
|
|
14022
14268
|
{
|
|
@@ -14037,18 +14283,18 @@ function NodeView({ node, onCloseNode }) {
|
|
|
14037
14283
|
onSandboxOpen: () => setIsSandboxOpen(true)
|
|
14038
14284
|
}
|
|
14039
14285
|
),
|
|
14040
|
-
/* @__PURE__ */ jsx(
|
|
14286
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: "0 1 1%" }, children: /* @__PURE__ */ jsx(IconButton2, { size: "small", onClick: onCloseNode, children: /* @__PURE__ */ jsx(IoClose, {}) }) })
|
|
14041
14287
|
] }),
|
|
14042
|
-
/* @__PURE__ */ jsx(
|
|
14288
|
+
/* @__PURE__ */ jsx(Box35, { sx: { color: "text.secondary", pl: 2 }, children: /* @__PURE__ */ jsxs(Stack24, { direction: "row", spacing: 1, children: [
|
|
14043
14289
|
/* @__PURE__ */ jsx(ResourceTypeTag, { node }),
|
|
14044
14290
|
(node.data.resourceType === "model" || node.data.resourceType === "snapshot" || node.data.resourceType === "seed") && (isSingleEnvOnboarding ? /* @__PURE__ */ jsx(RowCountTag, { node, onRefresh: refetchRowCount }) : /* @__PURE__ */ jsx(RowCountDiffTag, { node, onRefresh: refetchRowCountDiff }))
|
|
14045
14291
|
] }) }),
|
|
14046
14292
|
withColumns && /* @__PURE__ */ jsxs(
|
|
14047
|
-
|
|
14293
|
+
Box35,
|
|
14048
14294
|
{
|
|
14049
14295
|
sx: { overflow: "auto", display: "flex", flexDirection: "column" },
|
|
14050
14296
|
children: [
|
|
14051
|
-
isSingleEnvOnboarding && isNotificationOpen && /* @__PURE__ */ jsx(
|
|
14297
|
+
isSingleEnvOnboarding && isNotificationOpen && /* @__PURE__ */ jsx(Box35, { sx: { p: 1.5 }, children: /* @__PURE__ */ jsx(
|
|
14052
14298
|
RecceNotification,
|
|
14053
14299
|
{
|
|
14054
14300
|
onClose: () => setIsNotificationOpen(false),
|
|
@@ -14072,15 +14318,15 @@ function NodeView({ node, onCloseNode }) {
|
|
|
14072
14318
|
]
|
|
14073
14319
|
}
|
|
14074
14320
|
),
|
|
14075
|
-
/* @__PURE__ */ jsxs(
|
|
14076
|
-
/* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: 0, children: /* @__PURE__ */ jsx(
|
|
14321
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { overflow: "auto", height: "calc(100% - 48px)" }, children: [
|
|
14322
|
+
/* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: 0, children: /* @__PURE__ */ jsx(Box35, { sx: { overflowY: "auto", height: "100%" }, children: isSingleEnvOnboarding ? /* @__PURE__ */ jsx(SingleEnvSchemaView, { current: node.data.data.current }) : /* @__PURE__ */ jsx(
|
|
14077
14323
|
SchemaView,
|
|
14078
14324
|
{
|
|
14079
14325
|
base: node.data.data.base,
|
|
14080
14326
|
current: node.data.data.current
|
|
14081
14327
|
}
|
|
14082
14328
|
) }) }),
|
|
14083
|
-
/* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: 1, children: /* @__PURE__ */ jsx(
|
|
14329
|
+
/* @__PURE__ */ jsx(TabPanel, { value: tabValue, index: 1, children: /* @__PURE__ */ jsx(Box35, { sx: { height: "100%" }, children: /* @__PURE__ */ jsx(NodeSqlView, { node }) }) })
|
|
14084
14330
|
] })
|
|
14085
14331
|
]
|
|
14086
14332
|
}
|
|
@@ -14130,7 +14376,7 @@ from {{ ref("${node.data.name}") }}`;
|
|
|
14130
14376
|
const ProfileIcon = findByRunType("profile").icon;
|
|
14131
14377
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14132
14378
|
/* @__PURE__ */ jsx(
|
|
14133
|
-
|
|
14379
|
+
Button11,
|
|
14134
14380
|
{
|
|
14135
14381
|
size: "small",
|
|
14136
14382
|
variant: "outlined",
|
|
@@ -14261,7 +14507,7 @@ from {{ ref("${node.data.name}") }}`;
|
|
|
14261
14507
|
const SchemaDiffIcon = findByRunType("schema_diff").icon;
|
|
14262
14508
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14263
14509
|
/* @__PURE__ */ jsx(
|
|
14264
|
-
|
|
14510
|
+
Button11,
|
|
14265
14511
|
{
|
|
14266
14512
|
size: "xsmall",
|
|
14267
14513
|
variant: "outlined",
|
|
@@ -14479,7 +14725,7 @@ function SetupConnectionBanner() {
|
|
|
14479
14725
|
return null;
|
|
14480
14726
|
}
|
|
14481
14727
|
return /* @__PURE__ */ jsx(
|
|
14482
|
-
|
|
14728
|
+
Box35,
|
|
14483
14729
|
{
|
|
14484
14730
|
sx: {
|
|
14485
14731
|
display: "flex",
|
|
@@ -14497,10 +14743,10 @@ function SetupConnectionBanner() {
|
|
|
14497
14743
|
sx: { flex: 1, fontSize: "0.875rem", color: "cyan.600" },
|
|
14498
14744
|
spacing: 1,
|
|
14499
14745
|
children: [
|
|
14500
|
-
/* @__PURE__ */ jsx(
|
|
14746
|
+
/* @__PURE__ */ jsx(Box35, { component: PiInfo }),
|
|
14501
14747
|
/* @__PURE__ */ jsx(Typography28, { sx: { fontSize: "inherit", color: "inherit" }, children: "Query functions disabled without a data warehouse connection." }),
|
|
14502
14748
|
/* @__PURE__ */ jsx(
|
|
14503
|
-
|
|
14749
|
+
Button11,
|
|
14504
14750
|
{
|
|
14505
14751
|
sx: { bgcolor: "iochmara.400" },
|
|
14506
14752
|
size: "small",
|
|
@@ -14540,7 +14786,7 @@ function BaseEnvironmentSetupGuide() {
|
|
|
14540
14786
|
children: [
|
|
14541
14787
|
/* @__PURE__ */ jsxs(Stack24, { alignItems: "center", spacing: 2, children: [
|
|
14542
14788
|
/* @__PURE__ */ jsx(
|
|
14543
|
-
|
|
14789
|
+
Box35,
|
|
14544
14790
|
{
|
|
14545
14791
|
sx: {
|
|
14546
14792
|
p: 1,
|
|
@@ -14552,7 +14798,7 @@ function BaseEnvironmentSetupGuide() {
|
|
|
14552
14798
|
boxShadow: 2
|
|
14553
14799
|
},
|
|
14554
14800
|
children: /* @__PURE__ */ jsx(
|
|
14555
|
-
|
|
14801
|
+
Box35,
|
|
14556
14802
|
{
|
|
14557
14803
|
component: RiTerminalBoxLine,
|
|
14558
14804
|
sx: { fontSize: 28, color: "iochmara.500" }
|
|
@@ -14583,7 +14829,7 @@ function BaseEnvironmentSetupGuide() {
|
|
|
14583
14829
|
/* @__PURE__ */ jsx(Typography28, { children: "Take the next step toward better data impact assessment." })
|
|
14584
14830
|
] }),
|
|
14585
14831
|
/* @__PURE__ */ jsx(Stack24, { sx: { width: "100%", mt: 3 }, children: /* @__PURE__ */ jsx(
|
|
14586
|
-
|
|
14832
|
+
Button11,
|
|
14587
14833
|
{
|
|
14588
14834
|
color: "iochmara",
|
|
14589
14835
|
variant: "contained",
|
|
@@ -14606,7 +14852,7 @@ function BaseEnvironmentSetupGuide() {
|
|
|
14606
14852
|
function BaseEnvironmentSetupNotification() {
|
|
14607
14853
|
return /* @__PURE__ */ jsxs(Stack24, { direction: "row", spacing: "10px", alignItems: "flex-start", children: [
|
|
14608
14854
|
/* @__PURE__ */ jsx(
|
|
14609
|
-
|
|
14855
|
+
Box35,
|
|
14610
14856
|
{
|
|
14611
14857
|
component: RiMindMap,
|
|
14612
14858
|
sx: { color: "iochmara.main", fontSize: 20 }
|
|
@@ -14956,14 +15202,14 @@ function useValueDiffAlertDialog() {
|
|
|
14956
15202
|
children: /* @__PURE__ */ jsx(IoClose, {})
|
|
14957
15203
|
}
|
|
14958
15204
|
),
|
|
14959
|
-
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(Stack24, { spacing: "20px", children: /* @__PURE__ */ jsxs(
|
|
15205
|
+
/* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(Stack24, { spacing: "20px", children: /* @__PURE__ */ jsxs(Box35, { children: [
|
|
14960
15206
|
"Value diff will be executed on ",
|
|
14961
15207
|
nodeCount,
|
|
14962
15208
|
" nodes in the Lineage, which can add extra costs to your bill."
|
|
14963
15209
|
] }) }) }),
|
|
14964
15210
|
/* @__PURE__ */ jsxs(DialogActions, { sx: { gap: 0.5 }, children: [
|
|
14965
15211
|
/* @__PURE__ */ jsx(
|
|
14966
|
-
|
|
15212
|
+
Button11,
|
|
14967
15213
|
{
|
|
14968
15214
|
ref: cancelRef,
|
|
14969
15215
|
onClick: handleCancel,
|
|
@@ -14973,7 +15219,7 @@ function useValueDiffAlertDialog() {
|
|
|
14973
15219
|
}
|
|
14974
15220
|
),
|
|
14975
15221
|
/* @__PURE__ */ jsx(
|
|
14976
|
-
|
|
15222
|
+
Button11,
|
|
14977
15223
|
{
|
|
14978
15224
|
color: "iochmara",
|
|
14979
15225
|
variant: "contained",
|
|
@@ -15774,7 +16020,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15774
16020
|
};
|
|
15775
16021
|
if (isLoading) {
|
|
15776
16022
|
return /* @__PURE__ */ jsx(
|
|
15777
|
-
|
|
16023
|
+
Box35,
|
|
15778
16024
|
{
|
|
15779
16025
|
sx: {
|
|
15780
16026
|
width: "100%",
|
|
@@ -15789,7 +16035,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15789
16035
|
}
|
|
15790
16036
|
if (error) {
|
|
15791
16037
|
return /* @__PURE__ */ jsx(
|
|
15792
|
-
|
|
16038
|
+
Box35,
|
|
15793
16039
|
{
|
|
15794
16040
|
sx: {
|
|
15795
16041
|
height: "100%",
|
|
@@ -15798,14 +16044,14 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15798
16044
|
justifyContent: "center"
|
|
15799
16045
|
},
|
|
15800
16046
|
children: /* @__PURE__ */ jsxs(Stack24, { alignItems: "center", spacing: 1, children: [
|
|
15801
|
-
/* @__PURE__ */ jsx(
|
|
15802
|
-
/* @__PURE__ */ jsxs(
|
|
16047
|
+
/* @__PURE__ */ jsx(Box35, { children: "Failed to load lineage data. This could be because the server has been terminated or there is a network error." }),
|
|
16048
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
15803
16049
|
"[Reason: ",
|
|
15804
16050
|
error,
|
|
15805
16051
|
"]"
|
|
15806
16052
|
] }),
|
|
15807
16053
|
/* @__PURE__ */ jsx(
|
|
15808
|
-
|
|
16054
|
+
Button11,
|
|
15809
16055
|
{
|
|
15810
16056
|
color: "iochmara",
|
|
15811
16057
|
variant: "contained",
|
|
@@ -15826,7 +16072,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15826
16072
|
}
|
|
15827
16073
|
if (viewMode === "changed_models" && !lineageGraph.modifiedSet.length) {
|
|
15828
16074
|
return /* @__PURE__ */ jsx(
|
|
15829
|
-
|
|
16075
|
+
Box35,
|
|
15830
16076
|
{
|
|
15831
16077
|
sx: {
|
|
15832
16078
|
height: "100%",
|
|
@@ -15837,7 +16083,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15837
16083
|
children: /* @__PURE__ */ jsxs(Stack24, { alignItems: "center", spacing: 1, children: [
|
|
15838
16084
|
/* @__PURE__ */ jsx(Fragment, { children: "No change detected" }),
|
|
15839
16085
|
/* @__PURE__ */ jsx(
|
|
15840
|
-
|
|
16086
|
+
Button11,
|
|
15841
16087
|
{
|
|
15842
16088
|
color: "iochmara",
|
|
15843
16089
|
variant: "contained",
|
|
@@ -15927,7 +16173,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15927
16173
|
from: "lineage_view"
|
|
15928
16174
|
});
|
|
15929
16175
|
},
|
|
15930
|
-
children: /* @__PURE__ */ jsx(
|
|
16176
|
+
children: /* @__PURE__ */ jsx(Box35, { component: FiCopy })
|
|
15931
16177
|
}
|
|
15932
16178
|
)
|
|
15933
16179
|
}
|
|
@@ -15985,7 +16231,7 @@ function PrivateLineageView({ interactive = false, ...props }, ref) {
|
|
|
15985
16231
|
]
|
|
15986
16232
|
}
|
|
15987
16233
|
),
|
|
15988
|
-
focusedNode ? /* @__PURE__ */ jsx(
|
|
16234
|
+
focusedNode ? /* @__PURE__ */ jsx(Box35, { sx: { borderLeft: "solid 1px lightgray", height: "100%" }, children: /* @__PURE__ */ jsx(NodeView, { node: focusedNode, onCloseNode: onNodeViewClosed }) }) : /* @__PURE__ */ jsx(Box35, {})
|
|
15989
16235
|
]
|
|
15990
16236
|
}
|
|
15991
16237
|
),
|
|
@@ -16006,7 +16252,7 @@ function SetupConnectionGuide() {
|
|
|
16006
16252
|
return /* @__PURE__ */ jsx("div", { className: "flex flex-1 h-full min-h-0 m-2 p-4 bg-blue-50 rounded-lg shadow-md justify-center", children: /* @__PURE__ */ jsxs("div", { className: "w-4/5 flex flex-col overflow-y-auto gap-6 px-8 pb-8", children: [
|
|
16007
16253
|
/* @__PURE__ */ jsxs(Stack24, { alignItems: "center", spacing: 2, children: [
|
|
16008
16254
|
/* @__PURE__ */ jsx(
|
|
16009
|
-
|
|
16255
|
+
Box35,
|
|
16010
16256
|
{
|
|
16011
16257
|
sx: {
|
|
16012
16258
|
p: 1,
|
|
@@ -16018,7 +16264,7 @@ function SetupConnectionGuide() {
|
|
|
16018
16264
|
boxShadow: 2
|
|
16019
16265
|
},
|
|
16020
16266
|
children: /* @__PURE__ */ jsx(
|
|
16021
|
-
|
|
16267
|
+
Box35,
|
|
16022
16268
|
{
|
|
16023
16269
|
component: RiTerminalBoxLine,
|
|
16024
16270
|
sx: { fontSize: 28, color: "iochmara.500" }
|
|
@@ -16034,7 +16280,7 @@ function SetupConnectionGuide() {
|
|
|
16034
16280
|
] })
|
|
16035
16281
|
] }),
|
|
16036
16282
|
/* @__PURE__ */ jsx(Stack24, { sx: { width: "50%", mt: 3, mx: "auto" }, children: /* @__PURE__ */ jsx(
|
|
16037
|
-
|
|
16283
|
+
Button11,
|
|
16038
16284
|
{
|
|
16039
16285
|
color: "iochmara",
|
|
16040
16286
|
variant: "contained",
|
|
@@ -16054,7 +16300,7 @@ var QueryModeToggle = () => {
|
|
|
16054
16300
|
setCustomQueries(!isCustomQueries);
|
|
16055
16301
|
};
|
|
16056
16302
|
const customQueriesDescription = "Custom queries allow you to use two SQL queries to compare results between current and base environments.";
|
|
16057
|
-
return /* @__PURE__ */ jsxs(
|
|
16303
|
+
return /* @__PURE__ */ jsxs(Box35, { children: [
|
|
16058
16304
|
/* @__PURE__ */ jsxs(
|
|
16059
16305
|
Stack24,
|
|
16060
16306
|
{
|
|
@@ -16064,7 +16310,7 @@ var QueryModeToggle = () => {
|
|
|
16064
16310
|
fontSize: "0.75rem",
|
|
16065
16311
|
children: [
|
|
16066
16312
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { fontSize: "0.75rem" }, children: "Custom Queries" }),
|
|
16067
|
-
/* @__PURE__ */ jsx(MuiTooltip, { title: customQueriesDescription, children: /* @__PURE__ */ jsx(
|
|
16313
|
+
/* @__PURE__ */ jsx(MuiTooltip, { title: customQueriesDescription, children: /* @__PURE__ */ jsx(Box35, { component: "span", sx: { display: "flex", color: "grey.600" }, children: /* @__PURE__ */ jsx(PiInfoFill, { fontSize: "1rem" }) }) })
|
|
16068
16314
|
]
|
|
16069
16315
|
}
|
|
16070
16316
|
),
|
|
@@ -16148,9 +16394,9 @@ ${sqlQuery}`;
|
|
|
16148
16394
|
}, initialValue);
|
|
16149
16395
|
}, [lineageGraph]);
|
|
16150
16396
|
if (singleEnv || featureToggles.mode === "metadata only") {
|
|
16151
|
-
return /* @__PURE__ */ jsxs(
|
|
16397
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
16152
16398
|
/* @__PURE__ */ jsxs(
|
|
16153
|
-
|
|
16399
|
+
Box35,
|
|
16154
16400
|
{
|
|
16155
16401
|
sx: {
|
|
16156
16402
|
display: "flex",
|
|
@@ -16163,14 +16409,14 @@ ${sqlQuery}`;
|
|
|
16163
16409
|
},
|
|
16164
16410
|
children: [
|
|
16165
16411
|
/* @__PURE__ */ jsx(HistoryToggle, {}),
|
|
16166
|
-
/* @__PURE__ */ jsx(
|
|
16412
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
16167
16413
|
singleEnv ? /* @__PURE__ */ jsx(
|
|
16168
16414
|
MuiTooltip,
|
|
16169
16415
|
{
|
|
16170
16416
|
title: "Please configure the base environment before running the diff",
|
|
16171
16417
|
placement: "left",
|
|
16172
16418
|
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
16173
|
-
|
|
16419
|
+
Button11,
|
|
16174
16420
|
{
|
|
16175
16421
|
variant: "contained",
|
|
16176
16422
|
disabled: true,
|
|
@@ -16185,7 +16431,7 @@ ${sqlQuery}`;
|
|
|
16185
16431
|
{
|
|
16186
16432
|
display: featureToggles.mode === "metadata only",
|
|
16187
16433
|
children: /* @__PURE__ */ jsx(
|
|
16188
|
-
|
|
16434
|
+
Button11,
|
|
16189
16435
|
{
|
|
16190
16436
|
variant: "contained",
|
|
16191
16437
|
disabled: true,
|
|
@@ -16213,9 +16459,9 @@ ${sqlQuery}`;
|
|
|
16213
16459
|
)
|
|
16214
16460
|
] });
|
|
16215
16461
|
}
|
|
16216
|
-
return /* @__PURE__ */ jsxs(
|
|
16462
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
16217
16463
|
/* @__PURE__ */ jsxs(
|
|
16218
|
-
|
|
16464
|
+
Box35,
|
|
16219
16465
|
{
|
|
16220
16466
|
sx: {
|
|
16221
16467
|
display: "flex",
|
|
@@ -16230,7 +16476,7 @@ ${sqlQuery}`;
|
|
|
16230
16476
|
children: [
|
|
16231
16477
|
/* @__PURE__ */ jsx(HistoryToggle, {}),
|
|
16232
16478
|
/* @__PURE__ */ jsx(QueryModeToggle, {}),
|
|
16233
|
-
/* @__PURE__ */ jsx(
|
|
16479
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
16234
16480
|
/* @__PURE__ */ jsx(
|
|
16235
16481
|
QueryForm,
|
|
16236
16482
|
{
|
|
@@ -16239,7 +16485,7 @@ ${sqlQuery}`;
|
|
|
16239
16485
|
}
|
|
16240
16486
|
),
|
|
16241
16487
|
/* @__PURE__ */ jsx(
|
|
16242
|
-
|
|
16488
|
+
Button11,
|
|
16243
16489
|
{
|
|
16244
16490
|
variant: "contained",
|
|
16245
16491
|
onClick: () => {
|
|
@@ -16253,7 +16499,7 @@ ${sqlQuery}`;
|
|
|
16253
16499
|
]
|
|
16254
16500
|
}
|
|
16255
16501
|
),
|
|
16256
|
-
/* @__PURE__ */ jsx(
|
|
16502
|
+
/* @__PURE__ */ jsx(Box35, { sx: { width: "100%", flex: 1 }, children: isCustomQueries ? /* @__PURE__ */ jsx(
|
|
16257
16503
|
DualSqlEditor,
|
|
16258
16504
|
{
|
|
16259
16505
|
value: sqlQuery,
|
|
@@ -16331,7 +16577,7 @@ var ChecklistItem = ({
|
|
|
16331
16577
|
const isMarkAsApprovedDisabled = isDisabledByNoResult(check.type, run) || featureToggles.disableUpdateChecklist;
|
|
16332
16578
|
const isNoResult = isDisabledByNoResult(check.type, run);
|
|
16333
16579
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
|
|
16334
|
-
|
|
16580
|
+
Box35,
|
|
16335
16581
|
{
|
|
16336
16582
|
sx: {
|
|
16337
16583
|
width: "100%",
|
|
@@ -16351,9 +16597,9 @@ var ChecklistItem = ({
|
|
|
16351
16597
|
onSelect(check.check_id);
|
|
16352
16598
|
},
|
|
16353
16599
|
children: [
|
|
16354
|
-
/* @__PURE__ */ jsx(
|
|
16600
|
+
/* @__PURE__ */ jsx(Box35, { component: icon, sx: { fontSize: 20 } }),
|
|
16355
16601
|
/* @__PURE__ */ jsx(
|
|
16356
|
-
|
|
16602
|
+
Box35,
|
|
16357
16603
|
{
|
|
16358
16604
|
sx: {
|
|
16359
16605
|
flex: 1,
|
|
@@ -16371,7 +16617,7 @@ var ChecklistItem = ({
|
|
|
16371
16617
|
title: isNoResult ? "Run the check first" : "Click to mark as approved",
|
|
16372
16618
|
placement: "top",
|
|
16373
16619
|
arrow: true,
|
|
16374
|
-
children: /* @__PURE__ */ jsx(
|
|
16620
|
+
children: /* @__PURE__ */ jsx(Box35, { children: /* @__PURE__ */ jsx(
|
|
16375
16621
|
Checkbox4,
|
|
16376
16622
|
{
|
|
16377
16623
|
checked: check.is_checked,
|
|
@@ -16482,7 +16728,7 @@ var CheckList = ({
|
|
|
16482
16728
|
};
|
|
16483
16729
|
}
|
|
16484
16730
|
return /* @__PURE__ */ jsx(
|
|
16485
|
-
|
|
16731
|
+
Box35,
|
|
16486
16732
|
{
|
|
16487
16733
|
ref: provided2.innerRef,
|
|
16488
16734
|
...provided2.draggableProps,
|
|
@@ -16512,7 +16758,7 @@ var CheckList = ({
|
|
|
16512
16758
|
/* @__PURE__ */ jsxs(MuiDialog, { open, onClose: handleClose, maxWidth: "xs", fullWidth: true, children: [
|
|
16513
16759
|
/* @__PURE__ */ jsxs(DialogTitle, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
16514
16760
|
"Mark as Approved?",
|
|
16515
|
-
/* @__PURE__ */ jsx(
|
|
16761
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
16516
16762
|
/* @__PURE__ */ jsx(IconButton2, { size: "small", onClick: handleClose, children: /* @__PURE__ */ jsx(IoClose, {}) })
|
|
16517
16763
|
] }),
|
|
16518
16764
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
@@ -16537,9 +16783,9 @@ var CheckList = ({
|
|
|
16537
16783
|
] }),
|
|
16538
16784
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
16539
16785
|
/* @__PURE__ */ jsxs(DialogActions, { sx: { gap: 0 }, children: [
|
|
16540
|
-
/* @__PURE__ */ jsx(
|
|
16786
|
+
/* @__PURE__ */ jsx(Button11, { variant: "outlined", size: "small", onClick: handleClose, children: "Cancel" }),
|
|
16541
16787
|
/* @__PURE__ */ jsx(
|
|
16542
|
-
|
|
16788
|
+
Button11,
|
|
16543
16789
|
{
|
|
16544
16790
|
color: "iochmara",
|
|
16545
16791
|
variant: "contained",
|
|
@@ -16690,7 +16936,7 @@ function CommentInput({
|
|
|
16690
16936
|
handleSubmit();
|
|
16691
16937
|
}
|
|
16692
16938
|
};
|
|
16693
|
-
return /* @__PURE__ */ jsxs(
|
|
16939
|
+
return /* @__PURE__ */ jsxs(Box35, { children: [
|
|
16694
16940
|
/* @__PURE__ */ jsx(
|
|
16695
16941
|
TextField,
|
|
16696
16942
|
{
|
|
@@ -16718,7 +16964,7 @@ function CommentInput({
|
|
|
16718
16964
|
}
|
|
16719
16965
|
),
|
|
16720
16966
|
/* @__PURE__ */ jsx(Stack24, { direction: "row", justifyContent: "flex-end", sx: { mt: 2 }, children: /* @__PURE__ */ jsx(
|
|
16721
|
-
|
|
16967
|
+
Button11,
|
|
16722
16968
|
{
|
|
16723
16969
|
size: "small",
|
|
16724
16970
|
color: "iochmara",
|
|
@@ -16770,7 +17016,7 @@ function ExternalLinkConfirmDialog({
|
|
|
16770
17016
|
id: "external-link-dialog-title",
|
|
16771
17017
|
sx: { display: "flex", alignItems: "center", gap: 1 },
|
|
16772
17018
|
children: [
|
|
16773
|
-
/* @__PURE__ */ jsx(
|
|
17019
|
+
/* @__PURE__ */ jsx(Box35, { component: PiWarning, sx: { color: "amber.500", fontSize: 20 } }),
|
|
16774
17020
|
"External Link"
|
|
16775
17021
|
]
|
|
16776
17022
|
}
|
|
@@ -16792,7 +17038,7 @@ function ExternalLinkConfirmDialog({
|
|
|
16792
17038
|
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
16793
17039
|
/* @__PURE__ */ jsx(Typography28, { sx: { mb: 1.5 }, children: "This link will take you to an external website outside of Recce. Are you sure you want to continue?" }),
|
|
16794
17040
|
/* @__PURE__ */ jsx(
|
|
16795
|
-
|
|
17041
|
+
Box35,
|
|
16796
17042
|
{
|
|
16797
17043
|
sx: {
|
|
16798
17044
|
bgcolor: "grey.50",
|
|
@@ -16802,7 +17048,7 @@ function ExternalLinkConfirmDialog({
|
|
|
16802
17048
|
borderColor: "grey.200"
|
|
16803
17049
|
},
|
|
16804
17050
|
children: /* @__PURE__ */ jsx(
|
|
16805
|
-
|
|
17051
|
+
Box35,
|
|
16806
17052
|
{
|
|
16807
17053
|
component: "code",
|
|
16808
17054
|
sx: {
|
|
@@ -16819,8 +17065,8 @@ function ExternalLinkConfirmDialog({
|
|
|
16819
17065
|
)
|
|
16820
17066
|
] }),
|
|
16821
17067
|
/* @__PURE__ */ jsxs(DialogActions, { sx: { gap: 1 }, children: [
|
|
16822
|
-
/* @__PURE__ */ jsx(
|
|
16823
|
-
/* @__PURE__ */ jsx(
|
|
17068
|
+
/* @__PURE__ */ jsx(Button11, { ref: cancelRef, variant: "outlined", onClick: onCancel, children: "Cancel" }),
|
|
17069
|
+
/* @__PURE__ */ jsx(Button11, { color: "iochmara", variant: "contained", onClick: onConfirm, children: "Open Link" })
|
|
16824
17070
|
] })
|
|
16825
17071
|
]
|
|
16826
17072
|
}
|
|
@@ -16907,7 +17153,7 @@ function CodeBlock({
|
|
|
16907
17153
|
const isInline = !match && !String(children).includes("\n");
|
|
16908
17154
|
if (isInline) {
|
|
16909
17155
|
return /* @__PURE__ */ jsx(
|
|
16910
|
-
|
|
17156
|
+
Box35,
|
|
16911
17157
|
{
|
|
16912
17158
|
component: "code",
|
|
16913
17159
|
sx: {
|
|
@@ -16923,7 +17169,7 @@ function CodeBlock({
|
|
|
16923
17169
|
);
|
|
16924
17170
|
}
|
|
16925
17171
|
return /* @__PURE__ */ jsx(
|
|
16926
|
-
|
|
17172
|
+
Box35,
|
|
16927
17173
|
{
|
|
16928
17174
|
sx: { my: 2, borderRadius: 1, overflow: "hidden", fontSize: "0.875rem" },
|
|
16929
17175
|
children: /* @__PURE__ */ jsx(
|
|
@@ -16986,12 +17232,12 @@ function MarkdownContent({
|
|
|
16986
17232
|
),
|
|
16987
17233
|
h3: ({ children }) => /* @__PURE__ */ jsx(Typography28, { sx: { fontSize: "1rem", fontWeight: 600, mb: 2, mt: 2 }, children }),
|
|
16988
17234
|
// Lists
|
|
16989
|
-
ul: ({ children }) => /* @__PURE__ */ jsx(
|
|
16990
|
-
ol: ({ children }) => /* @__PURE__ */ jsx(
|
|
16991
|
-
li: ({ children }) => /* @__PURE__ */ jsx(
|
|
17235
|
+
ul: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "ul", sx: { pl: 4, mb: 2, listStyleType: "disc" }, children }),
|
|
17236
|
+
ol: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "ol", sx: { pl: 4, mb: 2, listStyleType: "decimal" }, children }),
|
|
17237
|
+
li: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "li", sx: { fontSize, mb: 1 }, children }),
|
|
16992
17238
|
// Blockquotes
|
|
16993
17239
|
blockquote: ({ children }) => /* @__PURE__ */ jsx(
|
|
16994
|
-
|
|
17240
|
+
Box35,
|
|
16995
17241
|
{
|
|
16996
17242
|
sx: {
|
|
16997
17243
|
borderLeft: "3px solid",
|
|
@@ -17006,8 +17252,8 @@ function MarkdownContent({
|
|
|
17006
17252
|
}
|
|
17007
17253
|
),
|
|
17008
17254
|
// Tables
|
|
17009
|
-
table: ({ children }) => /* @__PURE__ */ jsx(
|
|
17010
|
-
|
|
17255
|
+
table: ({ children }) => /* @__PURE__ */ jsx(Box35, { sx: { overflowX: "auto", my: 2 }, children: /* @__PURE__ */ jsx(
|
|
17256
|
+
Box35,
|
|
17011
17257
|
{
|
|
17012
17258
|
component: "table",
|
|
17013
17259
|
sx: {
|
|
@@ -17020,10 +17266,10 @@ function MarkdownContent({
|
|
|
17020
17266
|
children
|
|
17021
17267
|
}
|
|
17022
17268
|
) }),
|
|
17023
|
-
thead: ({ children }) => /* @__PURE__ */ jsx(
|
|
17024
|
-
tbody: ({ children }) => /* @__PURE__ */ jsx(
|
|
17269
|
+
thead: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "thead", sx: { bgcolor: "grey.50" }, children }),
|
|
17270
|
+
tbody: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "tbody", children }),
|
|
17025
17271
|
tr: ({ children }) => /* @__PURE__ */ jsx(
|
|
17026
|
-
|
|
17272
|
+
Box35,
|
|
17027
17273
|
{
|
|
17028
17274
|
component: "tr",
|
|
17029
17275
|
sx: { borderBottom: "1px solid", borderColor: "grey.200" },
|
|
@@ -17031,16 +17277,16 @@ function MarkdownContent({
|
|
|
17031
17277
|
}
|
|
17032
17278
|
),
|
|
17033
17279
|
th: ({ children }) => /* @__PURE__ */ jsx(
|
|
17034
|
-
|
|
17280
|
+
Box35,
|
|
17035
17281
|
{
|
|
17036
17282
|
component: "th",
|
|
17037
17283
|
sx: { px: 2, py: 1, fontWeight: 600, textAlign: "left" },
|
|
17038
17284
|
children
|
|
17039
17285
|
}
|
|
17040
17286
|
),
|
|
17041
|
-
td: ({ children }) => /* @__PURE__ */ jsx(
|
|
17287
|
+
td: ({ children }) => /* @__PURE__ */ jsx(Box35, { component: "td", sx: { px: 2, py: 1 }, children }),
|
|
17042
17288
|
// Horizontal rule
|
|
17043
|
-
hr: () => /* @__PURE__ */ jsx(
|
|
17289
|
+
hr: () => /* @__PURE__ */ jsx(Box35, { component: "hr", sx: { my: 3, borderColor: "grey.200" } }),
|
|
17044
17290
|
// Strong/Bold
|
|
17045
17291
|
strong: ({ children }) => /* @__PURE__ */ jsx(Typography28, { component: "strong", sx: { fontWeight: 600 }, children }),
|
|
17046
17292
|
// Emphasis/Italic
|
|
@@ -17055,7 +17301,7 @@ function MarkdownContent({
|
|
|
17055
17301
|
}
|
|
17056
17302
|
)
|
|
17057
17303
|
};
|
|
17058
|
-
return /* @__PURE__ */ jsx(
|
|
17304
|
+
return /* @__PURE__ */ jsx(Box35, { className: "markdown-content", children: /* @__PURE__ */ jsx(Markdown, { remarkPlugins: [remarkGfm], components, children: content }) });
|
|
17059
17305
|
}
|
|
17060
17306
|
function EventIcon({ event }) {
|
|
17061
17307
|
const iconType = getEventIconType(event);
|
|
@@ -17077,7 +17323,7 @@ function EventIcon({ event }) {
|
|
|
17077
17323
|
};
|
|
17078
17324
|
const IconComponent = iconMap[iconType];
|
|
17079
17325
|
const color = colorMap[iconType];
|
|
17080
|
-
return /* @__PURE__ */ jsx(
|
|
17326
|
+
return /* @__PURE__ */ jsx(Box35, { component: IconComponent, sx: { color, fontSize: 16 } });
|
|
17081
17327
|
}
|
|
17082
17328
|
function UserAvatar({ event }) {
|
|
17083
17329
|
const { actor } = event;
|
|
@@ -17127,9 +17373,9 @@ function StateChangeEvent({ event }) {
|
|
|
17127
17373
|
default:
|
|
17128
17374
|
message = "made a change";
|
|
17129
17375
|
}
|
|
17130
|
-
return /* @__PURE__ */ jsxs(
|
|
17131
|
-
/* @__PURE__ */ jsx(
|
|
17132
|
-
/* @__PURE__ */ jsx(
|
|
17376
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", gap: 1, alignItems: "flex-start", py: 1 }, children: [
|
|
17377
|
+
/* @__PURE__ */ jsx(Box35, { sx: { pt: "2px" }, children: /* @__PURE__ */ jsx(EventIcon, { event }) }),
|
|
17378
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs(
|
|
17133
17379
|
Stack24,
|
|
17134
17380
|
{
|
|
17135
17381
|
direction: "row",
|
|
@@ -17216,14 +17462,14 @@ function CommentEvent({
|
|
|
17216
17462
|
}
|
|
17217
17463
|
};
|
|
17218
17464
|
if (event.is_deleted) {
|
|
17219
|
-
return /* @__PURE__ */ jsxs(
|
|
17220
|
-
/* @__PURE__ */ jsx(
|
|
17221
|
-
/* @__PURE__ */ jsx(
|
|
17465
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", gap: 1, alignItems: "center", py: 1 }, children: [
|
|
17466
|
+
/* @__PURE__ */ jsx(Box35, { sx: { pt: "2px", display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx(EventIcon, { event }) }),
|
|
17467
|
+
/* @__PURE__ */ jsx(Box35, { sx: { display: "flex", flex: 1, alignItems: "center" }, children: /* @__PURE__ */ jsx(Typography28, { variant: "body2", color: "text.disabled", fontStyle: "italic", children: "Comment deleted" }) })
|
|
17222
17468
|
] });
|
|
17223
17469
|
}
|
|
17224
|
-
return /* @__PURE__ */ jsxs(
|
|
17225
|
-
/* @__PURE__ */ jsx(
|
|
17226
|
-
/* @__PURE__ */ jsxs(
|
|
17470
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", gap: 1, alignItems: "flex-start", py: 1 }, children: [
|
|
17471
|
+
/* @__PURE__ */ jsx(Box35, { sx: { pt: "2px" }, children: /* @__PURE__ */ jsx(EventIcon, { event }) }),
|
|
17472
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { flex: 1 }, children: [
|
|
17227
17473
|
/* @__PURE__ */ jsxs(
|
|
17228
17474
|
Stack24,
|
|
17229
17475
|
{
|
|
@@ -17256,7 +17502,7 @@ function CommentEvent({
|
|
|
17256
17502
|
),
|
|
17257
17503
|
isEditing ? (
|
|
17258
17504
|
// Edit mode
|
|
17259
|
-
/* @__PURE__ */ jsxs(
|
|
17505
|
+
/* @__PURE__ */ jsxs(Box35, { children: [
|
|
17260
17506
|
/* @__PURE__ */ jsx(
|
|
17261
17507
|
TextField,
|
|
17262
17508
|
{
|
|
@@ -17288,7 +17534,7 @@ function CommentEvent({
|
|
|
17288
17534
|
justifyContent: "flex-end",
|
|
17289
17535
|
children: [
|
|
17290
17536
|
/* @__PURE__ */ jsx(
|
|
17291
|
-
|
|
17537
|
+
Button11,
|
|
17292
17538
|
{
|
|
17293
17539
|
size: "small",
|
|
17294
17540
|
variant: "text",
|
|
@@ -17298,7 +17544,7 @@ function CommentEvent({
|
|
|
17298
17544
|
}
|
|
17299
17545
|
),
|
|
17300
17546
|
/* @__PURE__ */ jsx(
|
|
17301
|
-
|
|
17547
|
+
Button11,
|
|
17302
17548
|
{
|
|
17303
17549
|
size: "small",
|
|
17304
17550
|
variant: "contained",
|
|
@@ -17314,7 +17560,7 @@ function CommentEvent({
|
|
|
17314
17560
|
) : (
|
|
17315
17561
|
// View mode
|
|
17316
17562
|
/* @__PURE__ */ jsxs(
|
|
17317
|
-
|
|
17563
|
+
Box35,
|
|
17318
17564
|
{
|
|
17319
17565
|
sx: {
|
|
17320
17566
|
bgcolor: "grey.50",
|
|
@@ -17377,7 +17623,7 @@ function CommentEvent({
|
|
|
17377
17623
|
vertical: "top",
|
|
17378
17624
|
horizontal: "center"
|
|
17379
17625
|
},
|
|
17380
|
-
children: /* @__PURE__ */ jsxs(
|
|
17626
|
+
children: /* @__PURE__ */ jsxs(Box35, { sx: { p: 2 }, children: [
|
|
17381
17627
|
/* @__PURE__ */ jsx(Typography28, { variant: "body2", sx: { mb: 2 }, children: "Delete this comment?" }),
|
|
17382
17628
|
/* @__PURE__ */ jsxs(
|
|
17383
17629
|
Stack24,
|
|
@@ -17387,7 +17633,7 @@ function CommentEvent({
|
|
|
17387
17633
|
justifyContent: "flex-end",
|
|
17388
17634
|
children: [
|
|
17389
17635
|
/* @__PURE__ */ jsx(
|
|
17390
|
-
|
|
17636
|
+
Button11,
|
|
17391
17637
|
{
|
|
17392
17638
|
size: "small",
|
|
17393
17639
|
variant: "text",
|
|
@@ -17397,7 +17643,7 @@ function CommentEvent({
|
|
|
17397
17643
|
}
|
|
17398
17644
|
),
|
|
17399
17645
|
/* @__PURE__ */ jsx(
|
|
17400
|
-
|
|
17646
|
+
Button11,
|
|
17401
17647
|
{
|
|
17402
17648
|
size: "small",
|
|
17403
17649
|
variant: "contained",
|
|
@@ -17469,7 +17715,7 @@ function CheckTimeline({ checkId }) {
|
|
|
17469
17715
|
};
|
|
17470
17716
|
if (isLoading) {
|
|
17471
17717
|
return /* @__PURE__ */ jsx(
|
|
17472
|
-
|
|
17718
|
+
Box35,
|
|
17473
17719
|
{
|
|
17474
17720
|
sx: {
|
|
17475
17721
|
height: "100%",
|
|
@@ -17484,7 +17730,7 @@ function CheckTimeline({ checkId }) {
|
|
|
17484
17730
|
}
|
|
17485
17731
|
if (error) {
|
|
17486
17732
|
return /* @__PURE__ */ jsx(
|
|
17487
|
-
|
|
17733
|
+
Box35,
|
|
17488
17734
|
{
|
|
17489
17735
|
sx: {
|
|
17490
17736
|
height: "100%",
|
|
@@ -17509,7 +17755,7 @@ function CheckTimeline({ checkId }) {
|
|
|
17509
17755
|
spacing: 0,
|
|
17510
17756
|
children: [
|
|
17511
17757
|
/* @__PURE__ */ jsx(
|
|
17512
|
-
|
|
17758
|
+
Box35,
|
|
17513
17759
|
{
|
|
17514
17760
|
sx: {
|
|
17515
17761
|
px: 3,
|
|
@@ -17520,7 +17766,7 @@ function CheckTimeline({ checkId }) {
|
|
|
17520
17766
|
children: /* @__PURE__ */ jsx(Typography28, { variant: "subtitle2", sx: { fontWeight: 500 }, children: "Activity" })
|
|
17521
17767
|
}
|
|
17522
17768
|
),
|
|
17523
|
-
/* @__PURE__ */ jsx(
|
|
17769
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1, overflowY: "auto", px: 3, py: 2 }, children: events.length === 0 ? /* @__PURE__ */ jsx(Typography28, { sx: { fontSize: "0.875rem", color: "grey.500" }, children: "No activity yet" }) : /* @__PURE__ */ jsx(Stack24, { sx: { alignItems: "stretch" }, spacing: 0, children: events.map((event, index) => /* @__PURE__ */ jsxs(Box35, { children: [
|
|
17524
17770
|
/* @__PURE__ */ jsx(
|
|
17525
17771
|
TimelineEvent,
|
|
17526
17772
|
{
|
|
@@ -17533,7 +17779,7 @@ function CheckTimeline({ checkId }) {
|
|
|
17533
17779
|
index < events.length - 1 && /* @__PURE__ */ jsx(Divider, { sx: { borderColor: "grey.100" } })
|
|
17534
17780
|
] }, event.id)) }) }),
|
|
17535
17781
|
/* @__PURE__ */ jsx(
|
|
17536
|
-
|
|
17782
|
+
Box35,
|
|
17537
17783
|
{
|
|
17538
17784
|
sx: {
|
|
17539
17785
|
px: 3,
|
|
@@ -17622,7 +17868,7 @@ function CheckBreadcrumb({ name, setName }) {
|
|
|
17622
17868
|
overflow: "hidden"
|
|
17623
17869
|
},
|
|
17624
17870
|
className: "no-track-pii-safe",
|
|
17625
|
-
children: /* @__PURE__ */ jsx(
|
|
17871
|
+
children: /* @__PURE__ */ jsx(Box35, { sx: { cursor: "pointer", flex: "0 1 auto", overflow: "hidden" }, children: isEditing ? /* @__PURE__ */ jsx(
|
|
17626
17872
|
TextField,
|
|
17627
17873
|
{
|
|
17628
17874
|
inputRef: editInputRef,
|
|
@@ -17634,7 +17880,7 @@ function CheckBreadcrumb({ name, setName }) {
|
|
|
17634
17880
|
variant: "outlined"
|
|
17635
17881
|
}
|
|
17636
17882
|
) : /* @__PURE__ */ jsx(
|
|
17637
|
-
|
|
17883
|
+
Box35,
|
|
17638
17884
|
{
|
|
17639
17885
|
sx: {
|
|
17640
17886
|
flex: "0 1 auto",
|
|
@@ -17726,7 +17972,7 @@ function CheckDescription({ value, onChange }) {
|
|
|
17726
17972
|
}
|
|
17727
17973
|
),
|
|
17728
17974
|
/* @__PURE__ */ jsx(
|
|
17729
|
-
|
|
17975
|
+
Button11,
|
|
17730
17976
|
{
|
|
17731
17977
|
sx: { mt: "8px" },
|
|
17732
17978
|
size: "small",
|
|
@@ -17783,7 +18029,7 @@ function _LineageDiffView({ check }, ref) {
|
|
|
17783
18029
|
...check.params,
|
|
17784
18030
|
...check.view_options
|
|
17785
18031
|
};
|
|
17786
|
-
return /* @__PURE__ */ jsx(
|
|
18032
|
+
return /* @__PURE__ */ jsx(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: /* @__PURE__ */ jsx(ReactFlowProvider, { children: /* @__PURE__ */ jsx(LineageView, { viewOptions, interactive: false, ref }) }) });
|
|
17787
18033
|
}
|
|
17788
18034
|
var LineageDiffView = forwardRef(
|
|
17789
18035
|
_LineageDiffView
|
|
@@ -17840,7 +18086,7 @@ var NodelistItem = ({
|
|
|
17840
18086
|
statusColor = getIconForChangeStatus("removed").color;
|
|
17841
18087
|
}
|
|
17842
18088
|
return /* @__PURE__ */ jsx(ListItem, { disablePadding: true, children: /* @__PURE__ */ jsxs(
|
|
17843
|
-
|
|
18089
|
+
Box35,
|
|
17844
18090
|
{
|
|
17845
18091
|
sx: {
|
|
17846
18092
|
display: "flex",
|
|
@@ -17857,9 +18103,9 @@ var NodelistItem = ({
|
|
|
17857
18103
|
onSelect(node.id);
|
|
17858
18104
|
},
|
|
17859
18105
|
children: [
|
|
17860
|
-
icon && /* @__PURE__ */ jsx(
|
|
18106
|
+
icon && /* @__PURE__ */ jsx(Box35, { component: icon }),
|
|
17861
18107
|
/* @__PURE__ */ jsx(
|
|
17862
|
-
|
|
18108
|
+
Box35,
|
|
17863
18109
|
{
|
|
17864
18110
|
sx: {
|
|
17865
18111
|
flex: 1,
|
|
@@ -17870,7 +18116,7 @@ var NodelistItem = ({
|
|
|
17870
18116
|
children: node.data.name
|
|
17871
18117
|
}
|
|
17872
18118
|
),
|
|
17873
|
-
statusIcon && statusColor && /* @__PURE__ */ jsx(
|
|
18119
|
+
statusIcon && statusColor && /* @__PURE__ */ jsx(Box35, { component: statusIcon, sx: { color: statusColor } })
|
|
17874
18120
|
]
|
|
17875
18121
|
}
|
|
17876
18122
|
) });
|
|
@@ -17952,7 +18198,7 @@ function PrivateSchemaDiffView({ check }, ref) {
|
|
|
17952
18198
|
const [selected, setSelected] = useState(0);
|
|
17953
18199
|
if (isLoading) {
|
|
17954
18200
|
return /* @__PURE__ */ jsx(
|
|
17955
|
-
|
|
18201
|
+
Box35,
|
|
17956
18202
|
{
|
|
17957
18203
|
sx: {
|
|
17958
18204
|
display: "flex",
|
|
@@ -17966,7 +18212,7 @@ function PrivateSchemaDiffView({ check }, ref) {
|
|
|
17966
18212
|
);
|
|
17967
18213
|
} else if (error) {
|
|
17968
18214
|
return /* @__PURE__ */ jsxs(
|
|
17969
|
-
|
|
18215
|
+
Box35,
|
|
17970
18216
|
{
|
|
17971
18217
|
sx: {
|
|
17972
18218
|
display: "flex",
|
|
@@ -17984,7 +18230,7 @@ function PrivateSchemaDiffView({ check }, ref) {
|
|
|
17984
18230
|
);
|
|
17985
18231
|
} else if (nodes.length == 0) {
|
|
17986
18232
|
return /* @__PURE__ */ jsx(
|
|
17987
|
-
|
|
18233
|
+
Box35,
|
|
17988
18234
|
{
|
|
17989
18235
|
sx: {
|
|
17990
18236
|
display: "flex",
|
|
@@ -18174,7 +18420,7 @@ function CheckDetail({
|
|
|
18174
18420
|
});
|
|
18175
18421
|
if (isLoading) {
|
|
18176
18422
|
return /* @__PURE__ */ jsx(
|
|
18177
|
-
|
|
18423
|
+
Box35,
|
|
18178
18424
|
{
|
|
18179
18425
|
sx: {
|
|
18180
18426
|
display: "flex",
|
|
@@ -18188,7 +18434,7 @@ function CheckDetail({
|
|
|
18188
18434
|
}
|
|
18189
18435
|
if (error) {
|
|
18190
18436
|
return /* @__PURE__ */ jsxs(
|
|
18191
|
-
|
|
18437
|
+
Box35,
|
|
18192
18438
|
{
|
|
18193
18439
|
sx: {
|
|
18194
18440
|
display: "flex",
|
|
@@ -18211,12 +18457,12 @@ function CheckDetail({
|
|
|
18211
18457
|
sizes: [30, 70],
|
|
18212
18458
|
style: { height: "100%", width: "100%", maxHeight: "100%" },
|
|
18213
18459
|
children: /* @__PURE__ */ jsx(
|
|
18214
|
-
|
|
18460
|
+
Box35,
|
|
18215
18461
|
{
|
|
18216
18462
|
style: { contain: "strict" },
|
|
18217
18463
|
sx: { display: "flex", flexDirection: "column" },
|
|
18218
18464
|
children: /* @__PURE__ */ jsx(
|
|
18219
|
-
|
|
18465
|
+
Box35,
|
|
18220
18466
|
{
|
|
18221
18467
|
sx: {
|
|
18222
18468
|
display: "flex",
|
|
@@ -18259,7 +18505,7 @@ function CheckDetail({
|
|
|
18259
18505
|
style: { height: "100%", width: "100%", maxHeight: "100%" },
|
|
18260
18506
|
children: [
|
|
18261
18507
|
/* @__PURE__ */ jsx(
|
|
18262
|
-
|
|
18508
|
+
Box35,
|
|
18263
18509
|
{
|
|
18264
18510
|
sx: {
|
|
18265
18511
|
height: "100%",
|
|
@@ -18268,7 +18514,7 @@ function CheckDetail({
|
|
|
18268
18514
|
flexDirection: "row"
|
|
18269
18515
|
},
|
|
18270
18516
|
children: /* @__PURE__ */ jsxs(
|
|
18271
|
-
|
|
18517
|
+
Box35,
|
|
18272
18518
|
{
|
|
18273
18519
|
sx: {
|
|
18274
18520
|
flex: 1,
|
|
@@ -18280,7 +18526,7 @@ function CheckDetail({
|
|
|
18280
18526
|
},
|
|
18281
18527
|
children: [
|
|
18282
18528
|
/* @__PURE__ */ jsxs(
|
|
18283
|
-
|
|
18529
|
+
Box35,
|
|
18284
18530
|
{
|
|
18285
18531
|
sx: {
|
|
18286
18532
|
display: "flex",
|
|
@@ -18292,7 +18538,7 @@ function CheckDetail({
|
|
|
18292
18538
|
},
|
|
18293
18539
|
children: [
|
|
18294
18540
|
checkTypeIcon && /* @__PURE__ */ jsx(
|
|
18295
|
-
|
|
18541
|
+
Box35,
|
|
18296
18542
|
{
|
|
18297
18543
|
component: checkTypeIcon,
|
|
18298
18544
|
sx: { fontSize: 20, mr: 1, flexShrink: 0 }
|
|
@@ -18307,10 +18553,10 @@ function CheckDetail({
|
|
|
18307
18553
|
}
|
|
18308
18554
|
}
|
|
18309
18555
|
),
|
|
18310
|
-
/* @__PURE__ */ jsx(
|
|
18556
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
18311
18557
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", spacing: 2, sx: { mr: "10px" }, children: [
|
|
18312
18558
|
relativeTime && /* @__PURE__ */ jsx(
|
|
18313
|
-
|
|
18559
|
+
Box35,
|
|
18314
18560
|
{
|
|
18315
18561
|
sx: {
|
|
18316
18562
|
textOverflow: "ellipsis",
|
|
@@ -18324,7 +18570,7 @@ function CheckDetail({
|
|
|
18324
18570
|
}
|
|
18325
18571
|
),
|
|
18326
18572
|
isPresetCheck && /* @__PURE__ */ jsx(MuiTooltip, { title: "This is a preset check", children: /* @__PURE__ */ jsx(
|
|
18327
|
-
|
|
18573
|
+
Box35,
|
|
18328
18574
|
{
|
|
18329
18575
|
display: "flex",
|
|
18330
18576
|
alignItems: "center",
|
|
@@ -18411,7 +18657,7 @@ function CheckDetail({
|
|
|
18411
18657
|
title: isDisabledByNoResult(check.type, run) ? "Run the check first" : check.is_checked ? "Remove approval" : "Mark as approved",
|
|
18412
18658
|
placement: "bottom-end",
|
|
18413
18659
|
children: /* @__PURE__ */ jsx(
|
|
18414
|
-
|
|
18660
|
+
Button11,
|
|
18415
18661
|
{
|
|
18416
18662
|
size: "small",
|
|
18417
18663
|
color: check.is_checked ? "success" : "neutral",
|
|
@@ -18431,7 +18677,7 @@ function CheckDetail({
|
|
|
18431
18677
|
]
|
|
18432
18678
|
}
|
|
18433
18679
|
),
|
|
18434
|
-
/* @__PURE__ */ jsx(
|
|
18680
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1, p: "8px 16px", minHeight: 100 }, children: /* @__PURE__ */ jsx(
|
|
18435
18681
|
CheckDescription,
|
|
18436
18682
|
{
|
|
18437
18683
|
value: check.description,
|
|
@@ -18444,8 +18690,8 @@ function CheckDetail({
|
|
|
18444
18690
|
)
|
|
18445
18691
|
}
|
|
18446
18692
|
),
|
|
18447
|
-
/* @__PURE__ */ jsx(
|
|
18448
|
-
|
|
18693
|
+
/* @__PURE__ */ jsx(Box35, { style: { contain: "strict" }, children: /* @__PURE__ */ jsxs(
|
|
18694
|
+
Box35,
|
|
18449
18695
|
{
|
|
18450
18696
|
sx: {
|
|
18451
18697
|
height: "100%",
|
|
@@ -18454,7 +18700,7 @@ function CheckDetail({
|
|
|
18454
18700
|
},
|
|
18455
18701
|
children: [
|
|
18456
18702
|
/* @__PURE__ */ jsxs(
|
|
18457
|
-
|
|
18703
|
+
Box35,
|
|
18458
18704
|
{
|
|
18459
18705
|
sx: {
|
|
18460
18706
|
display: "flex",
|
|
@@ -18489,10 +18735,10 @@ function CheckDetail({
|
|
|
18489
18735
|
]
|
|
18490
18736
|
}
|
|
18491
18737
|
),
|
|
18492
|
-
/* @__PURE__ */ jsx(
|
|
18738
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flexGrow: 1 } }),
|
|
18493
18739
|
/* @__PURE__ */ jsxs(Stack24, { direction: "row", spacing: 1, sx: { mr: "10px" }, children: [
|
|
18494
18740
|
RunResultView && /* @__PURE__ */ jsx(MuiTooltip, { title: "Rerun", children: /* @__PURE__ */ jsx(
|
|
18495
|
-
|
|
18741
|
+
Button11,
|
|
18496
18742
|
{
|
|
18497
18743
|
variant: "outlined",
|
|
18498
18744
|
color: "neutral",
|
|
@@ -18505,7 +18751,7 @@ function CheckDetail({
|
|
|
18505
18751
|
}
|
|
18506
18752
|
) }),
|
|
18507
18753
|
/* @__PURE__ */ jsx(
|
|
18508
|
-
|
|
18754
|
+
Button11,
|
|
18509
18755
|
{
|
|
18510
18756
|
variant: "outlined",
|
|
18511
18757
|
color: "neutral",
|
|
@@ -18530,8 +18776,8 @@ function CheckDetail({
|
|
|
18530
18776
|
]
|
|
18531
18777
|
}
|
|
18532
18778
|
),
|
|
18533
|
-
/* @__PURE__ */ jsxs(
|
|
18534
|
-
tabValue === "result" && /* @__PURE__ */ jsxs(
|
|
18779
|
+
/* @__PURE__ */ jsxs(Box35, { sx: { flex: 1, contain: "strict" }, children: [
|
|
18780
|
+
tabValue === "result" && /* @__PURE__ */ jsxs(Box35, { sx: { width: "100%", height: "100%" }, children: [
|
|
18535
18781
|
RunResultView && (check.last_run || trackedRunId ? /* @__PURE__ */ jsx(
|
|
18536
18782
|
RunView,
|
|
18537
18783
|
{
|
|
@@ -18548,7 +18794,7 @@ function CheckDetail({
|
|
|
18548
18794
|
onExecuteRun: handleRerun
|
|
18549
18795
|
}
|
|
18550
18796
|
) : /* @__PURE__ */ jsx(
|
|
18551
|
-
|
|
18797
|
+
Box35,
|
|
18552
18798
|
{
|
|
18553
18799
|
sx: {
|
|
18554
18800
|
display: "flex",
|
|
@@ -18558,13 +18804,13 @@ function CheckDetail({
|
|
|
18558
18804
|
height: "100%"
|
|
18559
18805
|
},
|
|
18560
18806
|
children: /* @__PURE__ */ jsxs(Stack24, { spacing: 2, alignItems: "center", children: [
|
|
18561
|
-
/* @__PURE__ */ jsx(
|
|
18807
|
+
/* @__PURE__ */ jsx(Box35, { children: "This action is part of the initial preset and has not been performed yet. Once performed, the result will be shown here." }),
|
|
18562
18808
|
/* @__PURE__ */ jsx(
|
|
18563
18809
|
SetupConnectionPopover,
|
|
18564
18810
|
{
|
|
18565
18811
|
display: featureToggles.mode === "metadata only",
|
|
18566
18812
|
children: /* @__PURE__ */ jsx(
|
|
18567
|
-
|
|
18813
|
+
Button11,
|
|
18568
18814
|
{
|
|
18569
18815
|
onClick: handleRerun,
|
|
18570
18816
|
variant: "contained",
|
|
@@ -18595,7 +18841,7 @@ function CheckDetail({
|
|
|
18595
18841
|
check.check_id
|
|
18596
18842
|
)
|
|
18597
18843
|
] }),
|
|
18598
|
-
tabValue === "query" && (check.type === "query" || check.type === "query_diff" || check.type === "query_base") && /* @__PURE__ */ jsx(
|
|
18844
|
+
tabValue === "query" && (check.type === "query" || check.type === "query_diff" || check.type === "query_base") && /* @__PURE__ */ jsx(Box35, { sx: { height: "100%", width: "100%" }, children: check.params.base_sql_template ? /* @__PURE__ */ jsx(
|
|
18599
18845
|
DualSqlEditor,
|
|
18600
18846
|
{
|
|
18601
18847
|
value: check.params.sql_template || "",
|
|
@@ -18646,7 +18892,7 @@ function CheckDetail({
|
|
|
18646
18892
|
"the following template and paste it into the",
|
|
18647
18893
|
" ",
|
|
18648
18894
|
/* @__PURE__ */ jsx(
|
|
18649
|
-
|
|
18895
|
+
Box35,
|
|
18650
18896
|
{
|
|
18651
18897
|
component: "span",
|
|
18652
18898
|
sx: { px: 0.5, bgcolor: "error.light", borderRadius: 0.5 },
|
|
@@ -18706,6 +18952,69 @@ ${buildQuery(check)}`;
|
|
|
18706
18952
|
}
|
|
18707
18953
|
return buildDescription(check);
|
|
18708
18954
|
}
|
|
18955
|
+
var CheckEmptyState = () => {
|
|
18956
|
+
const queryClient = useQueryClient();
|
|
18957
|
+
const [, setLocation] = useAppLocation();
|
|
18958
|
+
const { mutate: createSchemaCheck, isPending } = useMutation({
|
|
18959
|
+
mutationFn: () => createSchemaDiffCheck({ select: "state:modified" }),
|
|
18960
|
+
onSuccess: async (check) => {
|
|
18961
|
+
await queryClient.invalidateQueries({ queryKey: cacheKeys.checks() });
|
|
18962
|
+
setLocation(`/checks/?id=${check.check_id}`);
|
|
18963
|
+
}
|
|
18964
|
+
});
|
|
18965
|
+
const handleCreateSchemaCheck = () => {
|
|
18966
|
+
createSchemaCheck();
|
|
18967
|
+
};
|
|
18968
|
+
return /* @__PURE__ */ jsx(
|
|
18969
|
+
Box35,
|
|
18970
|
+
{
|
|
18971
|
+
sx: {
|
|
18972
|
+
height: "100%",
|
|
18973
|
+
width: "100%",
|
|
18974
|
+
display: "flex",
|
|
18975
|
+
alignItems: "center",
|
|
18976
|
+
justifyContent: "center"
|
|
18977
|
+
},
|
|
18978
|
+
children: /* @__PURE__ */ jsxs(
|
|
18979
|
+
Stack24,
|
|
18980
|
+
{
|
|
18981
|
+
spacing: 3,
|
|
18982
|
+
sx: { textAlign: "center", maxWidth: "400px", alignItems: "center" },
|
|
18983
|
+
children: [
|
|
18984
|
+
/* @__PURE__ */ jsx(Box35, { component: TbChecklist, sx: { fontSize: 64, color: "grey.400" } }),
|
|
18985
|
+
/* @__PURE__ */ jsxs(Stack24, { spacing: 1, children: [
|
|
18986
|
+
/* @__PURE__ */ jsx(Typography28, { variant: "h5", sx: { color: "grey.600" }, children: "No checks yet" }),
|
|
18987
|
+
/* @__PURE__ */ jsx(Typography28, { sx: { color: "grey.500" }, children: "Checks help you validate data quality and catch issues." })
|
|
18988
|
+
] }),
|
|
18989
|
+
/* @__PURE__ */ jsxs(Stack24, { spacing: 1.5, sx: { width: "100%" }, children: [
|
|
18990
|
+
/* @__PURE__ */ jsx(
|
|
18991
|
+
Typography28,
|
|
18992
|
+
{
|
|
18993
|
+
sx: { fontSize: "0.875rem", color: "grey.600", fontWeight: 500 },
|
|
18994
|
+
children: "Get started with your first check:"
|
|
18995
|
+
}
|
|
18996
|
+
),
|
|
18997
|
+
/* @__PURE__ */ jsx(
|
|
18998
|
+
Button11,
|
|
18999
|
+
{
|
|
19000
|
+
color: "iochmara",
|
|
19001
|
+
variant: "contained",
|
|
19002
|
+
onClick: handleCreateSchemaCheck,
|
|
19003
|
+
disabled: isPending,
|
|
19004
|
+
size: "large",
|
|
19005
|
+
fullWidth: true,
|
|
19006
|
+
startIcon: /* @__PURE__ */ jsx(TbPlus, {}),
|
|
19007
|
+
children: "Create Schema Diff Check"
|
|
19008
|
+
}
|
|
19009
|
+
),
|
|
19010
|
+
/* @__PURE__ */ jsx(Typography28, { sx: { fontSize: "0.75rem", color: "grey.400", mt: 0.5 }, children: "The schema checks compare modified models between environments to detect changes, additions, or removals." })
|
|
19011
|
+
] })
|
|
19012
|
+
]
|
|
19013
|
+
}
|
|
19014
|
+
)
|
|
19015
|
+
}
|
|
19016
|
+
);
|
|
19017
|
+
};
|
|
18709
19018
|
var RunPage = ({ runId }) => {
|
|
18710
19019
|
const { error, data: run } = useQuery({
|
|
18711
19020
|
queryKey: cacheKeys.run(runId),
|
|
@@ -18737,7 +19046,7 @@ var RunListItem = ({
|
|
|
18737
19046
|
const checkId = run.check_id;
|
|
18738
19047
|
const hideAddToChecklist = featureToggles.disableUpdateChecklist;
|
|
18739
19048
|
return /* @__PURE__ */ jsxs(
|
|
18740
|
-
|
|
19049
|
+
Box35,
|
|
18741
19050
|
{
|
|
18742
19051
|
sx: {
|
|
18743
19052
|
minWidth: "200px",
|
|
@@ -18757,7 +19066,7 @@ var RunListItem = ({
|
|
|
18757
19066
|
},
|
|
18758
19067
|
children: [
|
|
18759
19068
|
/* @__PURE__ */ jsxs(
|
|
18760
|
-
|
|
19069
|
+
Box35,
|
|
18761
19070
|
{
|
|
18762
19071
|
sx: { display: "flex", alignItems: "center", gap: "12px" },
|
|
18763
19072
|
onClick: () => {
|
|
@@ -18766,7 +19075,7 @@ var RunListItem = ({
|
|
|
18766
19075
|
children: [
|
|
18767
19076
|
/* @__PURE__ */ jsx(IconComponent, {}),
|
|
18768
19077
|
/* @__PURE__ */ jsx(
|
|
18769
|
-
|
|
19078
|
+
Box35,
|
|
18770
19079
|
{
|
|
18771
19080
|
className: "no-track-pii-safe",
|
|
18772
19081
|
sx: {
|
|
@@ -18811,7 +19120,7 @@ var RunListItem = ({
|
|
|
18811
19120
|
}
|
|
18812
19121
|
),
|
|
18813
19122
|
/* @__PURE__ */ jsx(
|
|
18814
|
-
|
|
19123
|
+
Box35,
|
|
18815
19124
|
{
|
|
18816
19125
|
sx: {
|
|
18817
19126
|
display: "flex",
|
|
@@ -18831,7 +19140,7 @@ var RunListItem = ({
|
|
|
18831
19140
|
var DateSegmentItem = ({ runAt }) => {
|
|
18832
19141
|
const dateTime = runAt ? formatRunDate(new Date(runAt)) : null;
|
|
18833
19142
|
return /* @__PURE__ */ jsx(
|
|
18834
|
-
|
|
19143
|
+
Box35,
|
|
18835
19144
|
{
|
|
18836
19145
|
sx: {
|
|
18837
19146
|
minWidth: "200px",
|
|
@@ -18854,7 +19163,7 @@ var RunList = () => {
|
|
|
18854
19163
|
},
|
|
18855
19164
|
retry: false
|
|
18856
19165
|
});
|
|
18857
|
-
return /* @__PURE__ */ jsxs(
|
|
19166
|
+
return /* @__PURE__ */ jsxs(Box35, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
18858
19167
|
/* @__PURE__ */ jsxs(
|
|
18859
19168
|
Stack24,
|
|
18860
19169
|
{
|
|
@@ -18868,7 +19177,7 @@ var RunList = () => {
|
|
|
18868
19177
|
},
|
|
18869
19178
|
children: [
|
|
18870
19179
|
/* @__PURE__ */ jsx(Typography28, { variant: "h6", children: "History" }),
|
|
18871
|
-
/* @__PURE__ */ jsx(
|
|
19180
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: 1 } }),
|
|
18872
19181
|
/* @__PURE__ */ jsx(
|
|
18873
19182
|
IconButton2,
|
|
18874
19183
|
{
|
|
@@ -18883,8 +19192,8 @@ var RunList = () => {
|
|
|
18883
19192
|
]
|
|
18884
19193
|
}
|
|
18885
19194
|
),
|
|
18886
|
-
/* @__PURE__ */ jsx(
|
|
18887
|
-
|
|
19195
|
+
/* @__PURE__ */ jsx(Box35, { sx: { flex: "1 1 auto" }, children: isLoading ? "Loading..." : runs?.length === 0 ? /* @__PURE__ */ jsx(
|
|
19196
|
+
Box35,
|
|
18888
19197
|
{
|
|
18889
19198
|
sx: {
|
|
18890
19199
|
display: "flex",
|
|
@@ -18988,8 +19297,8 @@ function SummaryText({
|
|
|
18988
19297
|
return /* @__PURE__ */ jsxs(Stack24, { alignItems: "stretch", children: [
|
|
18989
19298
|
/* @__PURE__ */ jsxs(Typography28, { sx: { fontSize: "0.875rem", color: "grey.600" }, children: [
|
|
18990
19299
|
name,
|
|
18991
|
-
tip && /* @__PURE__ */ jsx(MuiTooltip, { title: tip, children: /* @__PURE__ */ jsx(
|
|
18992
|
-
|
|
19300
|
+
tip && /* @__PURE__ */ jsx(MuiTooltip, { title: tip, children: /* @__PURE__ */ jsx(Box35, { sx: { display: "inline-block" }, children: /* @__PURE__ */ jsx(
|
|
19301
|
+
Box35,
|
|
18993
19302
|
{
|
|
18994
19303
|
component: FiInfo,
|
|
18995
19304
|
sx: { mx: "2px", fontSize: 12, verticalAlign: "middle" }
|
|
@@ -19013,7 +19322,7 @@ function ChangeStatusCountLabel({
|
|
|
19013
19322
|
alignItems: "center",
|
|
19014
19323
|
sx: { fontSize: "0.875rem", color: "grey.600" },
|
|
19015
19324
|
children: [
|
|
19016
|
-
icon && /* @__PURE__ */ jsx(
|
|
19325
|
+
icon && /* @__PURE__ */ jsx(Box35, { component: icon, sx: { mr: "5px", color, fontSize: "1rem" } }),
|
|
19017
19326
|
label
|
|
19018
19327
|
]
|
|
19019
19328
|
}
|
|
@@ -19148,7 +19457,7 @@ function SchemaDiffCard({ node, ...props }) {
|
|
|
19148
19457
|
] })
|
|
19149
19458
|
}
|
|
19150
19459
|
),
|
|
19151
|
-
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(
|
|
19460
|
+
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(Box35, { sx: { display: "flex" }, children: /* @__PURE__ */ jsx(
|
|
19152
19461
|
SchemaView,
|
|
19153
19462
|
{
|
|
19154
19463
|
base: node.data.data.base,
|
|
@@ -19181,7 +19490,7 @@ function SchemaSummary({ lineageGraph }) {
|
|
|
19181
19490
|
}, [lineageGraph]);
|
|
19182
19491
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19183
19492
|
/* @__PURE__ */ jsx(
|
|
19184
|
-
|
|
19493
|
+
Box35,
|
|
19185
19494
|
{
|
|
19186
19495
|
sx: {
|
|
19187
19496
|
width: "100%",
|
|
@@ -19192,8 +19501,8 @@ function SchemaSummary({ lineageGraph }) {
|
|
|
19192
19501
|
children: /* @__PURE__ */ jsx(Typography28, { variant: "h5", sx: { fontSize: 24 }, children: "Schema Summary" })
|
|
19193
19502
|
}
|
|
19194
19503
|
),
|
|
19195
|
-
/* @__PURE__ */ jsx(
|
|
19196
|
-
|
|
19504
|
+
/* @__PURE__ */ jsx(Box35, { sx: { width: "100%", pb: "10px", mb: "20px" }, children: changedNodes.length === 0 ? /* @__PURE__ */ jsx(Typography28, { sx: { fontSize: 18, color: "grey.600" }, children: "No schema changes detected." }) : /* @__PURE__ */ jsx(
|
|
19505
|
+
Box35,
|
|
19197
19506
|
{
|
|
19198
19507
|
sx: {
|
|
19199
19508
|
display: "grid",
|
|
@@ -19220,7 +19529,7 @@ function SchemaSummary({ lineageGraph }) {
|
|
|
19220
19529
|
function SummaryView() {
|
|
19221
19530
|
const { lineageGraph } = useLineageGraphContext();
|
|
19222
19531
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Stack24, { sx: { width: "100%", minHeight: "650px" }, children: [
|
|
19223
|
-
/* @__PURE__ */ jsx(
|
|
19532
|
+
/* @__PURE__ */ jsx(Box35, { sx: { width: "100%", pb: "10px", mb: "20px" }, children: /* @__PURE__ */ jsx(Typography28, { variant: "h5", sx: { fontSize: 24 }, children: "Change Summary" }) }),
|
|
19224
19533
|
lineageGraph && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19225
19534
|
/* @__PURE__ */ jsx(ChangeSummary, { lineageGraph }),
|
|
19226
19535
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
@@ -19228,6 +19537,35 @@ function SummaryView() {
|
|
|
19228
19537
|
] })
|
|
19229
19538
|
] }) });
|
|
19230
19539
|
}
|
|
19540
|
+
var WARNING_THRESHOLD_SECONDS = 60;
|
|
19541
|
+
function IdleTimeoutBadge() {
|
|
19542
|
+
const { remainingSeconds, isEnabled } = useIdleTimeout();
|
|
19543
|
+
if (!isEnabled || remainingSeconds === null) {
|
|
19544
|
+
return null;
|
|
19545
|
+
}
|
|
19546
|
+
if (remainingSeconds > WARNING_THRESHOLD_SECONDS) {
|
|
19547
|
+
return null;
|
|
19548
|
+
}
|
|
19549
|
+
return /* @__PURE__ */ jsxs(
|
|
19550
|
+
Badge,
|
|
19551
|
+
{
|
|
19552
|
+
color: "warning",
|
|
19553
|
+
variant: "standard",
|
|
19554
|
+
sx: {
|
|
19555
|
+
display: "flex",
|
|
19556
|
+
alignItems: "center",
|
|
19557
|
+
gap: 1,
|
|
19558
|
+
fontSize: "0.75rem",
|
|
19559
|
+
mr: 2
|
|
19560
|
+
},
|
|
19561
|
+
children: [
|
|
19562
|
+
/* @__PURE__ */ jsx(Box35, { component: IoWarning, sx: { display: "inline-flex" } }),
|
|
19563
|
+
"Idle timeout: ",
|
|
19564
|
+
formatDuration(remainingSeconds, "compact")
|
|
19565
|
+
]
|
|
19566
|
+
}
|
|
19567
|
+
);
|
|
19568
|
+
}
|
|
19231
19569
|
|
|
19232
19570
|
// recce-source/js/src/lib/api/rowcount.ts
|
|
19233
19571
|
async function submitRowCountDiff(params, options) {
|
|
@@ -19298,6 +19636,6 @@ function RecceContextProvider({ children }) {
|
|
|
19298
19636
|
// src/index.ts
|
|
19299
19637
|
var VERSION = "0.1.0";
|
|
19300
19638
|
|
|
19301
|
-
export { ChangeSummary, CheckBreadcrumb, CheckDescription, CheckDetail, CheckList, ColumnNameCell, DiffText, DisableTooltipMessages, GraphColumnNode, GraphEdge, GraphNode, HSplit, HistogramChart, HistogramDiffForm, HistogramDiffResultView, HistoryToggle, IconEdit, IconExport, IconImport, IconInfo, IconSave, IconSync, IdleTimeoutProvider, LineageDiffView, LineageGraphContextProvider, LineagePage, LineageView, LineageViewContext, LineageViewTopBar, ModelRowCount, MuiProvider, mui_provider_default as MuiProviderDefault, NodeSqlView, NodeView, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, ProfileDiffForm, ProfileDiffResultView, QueryDiffResultView, QueryForm, QueryPage, QueryResultView, RECCE_SUPPORT_CALENDAR_URL, RecceActionContextProvider, RecceCheckContextProvider, RecceContextProvider, RecceInstanceInfoProvider, RecceQueryContextProvider, RecceShareStateContextProvider, ResourceTypeTag, RowCountDiffResultView, RowCountDiffTag, RowCountStateContextProvider, RunList, RunModal, RunPage, RunStatusAndDate, RunToolbar, RunView, SchemaDiffView, SchemaSummary, SchemaView, ScreenshotBox, ScreenshotDataGrid, SqlEditor_default as SqlEditor, SquareIcon, SummaryView, Toaster, ToasterProvider, TopKDiffForm, TopKDiffResultView, TopKSummaryList, VERSION, VSplit, ValueDiffForm, aggregateRuns, axiosClient, cancelRun, connectToCloud, createCheckByRun, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, exportState, fetchGitHubAvatar, fetchModelRowCount, fetchUser, getCheck, getCll, getLineage, getLineageDiff, getLineageWithError, getModelInfo, getRun, getServerFlag, getServerInfo, importState, isStateSyncing, listChecks, listRuns, localStorageKeys, markAsPresetCheck, markOnboardingCompleted, markRelaunchHintCompleted, queryModelRowCount, queryRowCount, reactQueryClient, rename, reorderChecks, saveAs2 as saveAs, searchRuns, select, sessionStorageKeys, shareState, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, useCheckToast, useChecks, useClipBoardToast, useIdleTimeout, useLineageGraphContext, useLineageViewContext, useRecceActionContext, useRecceCheckContext, useRecceInstanceContext, useRecceInstanceInfo, useRecceQueryContext, useRecceShareStateContext, useRowCountStateContext, useRunsAggregated, useToaster, useValueDiffAlertDialog_default as useValueDiffAlertDialog, useVersionNumber, waitRun };
|
|
19639
|
+
export { ChangeSummary, CheckBreadcrumb, CheckDescription, CheckDetail, CheckEmptyState, CheckList, CodeEditor_default as CodeEditor, ColumnNameCell, DiffEditor_default as DiffEditor, DiffText, DisableTooltipMessages, EnvInfo, ErrorBoundary, GraphColumnNode, GraphEdge, GraphNode, HSplit, HistogramChart, HistogramDiffForm, HistogramDiffResultView, HistoryToggle, IconEdit, IconExport, IconImport, IconInfo, IconSave, IconSync, IdleTimeoutBadge, IdleTimeoutProvider, LineageDiffView, LineageGraphContextProvider, LineagePage, LineageView, LineageViewContext, LineageViewTopBar, ModelRowCount, MuiProvider, mui_provider_default as MuiProviderDefault, NodeSqlView, NodeView, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, ProfileDiffForm, ProfileDiffResultView, QueryDiffResultView, QueryForm, QueryPage, QueryResultView, RECCE_SUPPORT_CALENDAR_URL, RecceActionContextProvider, RecceCheckContextProvider, RecceContextProvider, RecceInstanceInfoProvider, RecceQueryContextProvider, RecceShareStateContextProvider, ResourceTypeTag, RowCountDiffResultView, RowCountDiffTag, RowCountStateContextProvider, RunList, RunModal, RunPage, RunResultPane, RunStatusAndDate, RunToolbar, RunView, SchemaDiffView, SchemaSummary, SchemaView, ScreenshotBox, ScreenshotDataGrid, SetupConnectionBanner, SetupConnectionGuide, SqlEditor_default as SqlEditor, SquareIcon, SummaryView, Toaster, ToasterProvider, TopKDiffForm, TopKDiffResultView, TopKSummaryList, VERSION, VSplit, ValueDiffDetailResultView, ValueDiffForm, ValueDiffResultView, aggregateRuns, axiosClient, cancelRun, connectToCloud, createCheckByRun, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, exportState, fetchGitHubAvatar, fetchModelRowCount, fetchUser, getCheck, getCll, getLineage, getLineageDiff, getLineageWithError, getModelInfo, getRun, getServerFlag, getServerInfo, importState, isStateSyncing, listChecks, listRuns, localStorageKeys, markAsPresetCheck, markOnboardingCompleted, markRelaunchHintCompleted, queryModelRowCount, queryRowCount, reactQueryClient, rename, reorderChecks, saveAs2 as saveAs, searchRuns, select, sessionStorageKeys, shareState, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, useCheckToast, useChecks, useClipBoardToast, useIdleTimeout, useLineageGraphContext, useLineageViewContext, useRecceActionContext, useRecceCheckContext, useRecceInstanceContext, useRecceInstanceInfo, useRecceQueryContext, useRecceShareStateContext, useRowCountStateContext, useRunsAggregated, useToaster, useValueDiffAlertDialog_default as useValueDiffAlertDialog, useVersionNumber, waitRun };
|
|
19302
19640
|
//# sourceMappingURL=index.mjs.map
|
|
19303
19641
|
//# sourceMappingURL=index.mjs.map
|