@datarecce/ui 0.1.31 → 0.1.32
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/{state-lPCQsWy5.js → RecceCheckContext-BOGmP80K.js} +4367 -5089
- package/dist/RecceCheckContext-BOGmP80K.js.map +1 -0
- package/dist/{state-B9yzhuKs.mjs → RecceCheckContext-CwUCo6AW.mjs} +4273 -4541
- package/dist/RecceCheckContext-CwUCo6AW.mjs.map +1 -0
- package/dist/{state-DOUPNifc.css → RecceCheckContext-DPnWB_aU.css} +57 -57
- package/dist/RecceCheckContext-DPnWB_aU.css.map +1 -0
- package/dist/{state-IA7HWYOs.css → RecceCheckContext-DyxOeUsX.css} +57 -57
- package/dist/RecceCheckContext-DyxOeUsX.css.map +1 -0
- package/dist/api.d.mts +1 -1
- package/dist/api.js +65 -26
- package/dist/api.js.map +1 -0
- package/dist/api.mjs +44 -5
- package/dist/api.mjs.map +1 -0
- package/dist/{components-DCOI1YlQ.mjs → components-DQUwJlNQ.mjs} +20 -21
- package/dist/{components-DCOI1YlQ.mjs.map → components-DQUwJlNQ.mjs.map} +1 -1
- package/dist/{components-B-YxuuPz.js → components-uVp0e4cH.js} +231 -241
- package/dist/{components-B-YxuuPz.js.map → components-uVp0e4cH.js.map} +1 -1
- package/dist/components.d.mts +1 -1
- package/dist/components.js +38 -38
- package/dist/components.mjs +5 -5
- package/dist/{urls-B1Ymdoz-.mjs → const-CaIm1Z8g.mjs} +2 -6
- package/dist/const-CaIm1Z8g.mjs.map +1 -0
- package/dist/{urls-C4eAc82S.js → const-CvdZO0FN.js} +1 -11
- package/dist/const-CvdZO0FN.js.map +1 -0
- package/dist/global-styles.css +84 -0
- package/dist/global-styles.css.map +1 -0
- package/dist/global-styles.js +1 -0
- package/dist/global-styles.mjs +1 -0
- package/dist/{hooks-DjBNmTdh.mjs → hooks-C6Kma5ld.mjs} +2 -3
- package/dist/{hooks-DjBNmTdh.mjs.map → hooks-C6Kma5ld.mjs.map} +1 -1
- package/dist/hooks-CfZ4UBBF.js +40 -0
- package/dist/{hooks-B9hsc1oD.js.map → hooks-CfZ4UBBF.js.map} +1 -1
- package/dist/hooks.d.mts +1 -1
- package/dist/hooks.js +26 -26
- package/dist/hooks.mjs +4 -4
- package/dist/{html2canvas-pro.esm-WJxOmKlq.js → html2canvas-pro.esm-CsuSOHXp.js} +1 -1
- package/dist/{html2canvas-pro.esm-WJxOmKlq.js.map → html2canvas-pro.esm-CsuSOHXp.js.map} +1 -1
- package/dist/{html2canvas-pro.esm-BInzOtWO.mjs → html2canvas-pro.esm-E7kpobrC.mjs} +1 -1
- package/dist/{html2canvas-pro.esm-BInzOtWO.mjs.map → html2canvas-pro.esm-E7kpobrC.mjs.map} +1 -1
- package/dist/{index-IIXVIoOL.d.mts → index-DsCU2oGL.d.mts} +7 -7
- package/dist/{index-IIXVIoOL.d.mts.map → index-DsCU2oGL.d.mts.map} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.js +85 -84
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -8
- package/dist/index.mjs.map +1 -1
- package/dist/{mui-theme-B2wm_cvZ.js → mui-theme-iBHkjXJq.js} +2 -2
- package/dist/{mui-theme-B2wm_cvZ.js.map → mui-theme-iBHkjXJq.js.map} +1 -1
- package/dist/state-CTITyT0R.js +795 -0
- package/dist/state-CTITyT0R.js.map +1 -0
- package/dist/state-Sc2b4jri.mjs +382 -0
- package/dist/state-Sc2b4jri.mjs.map +1 -0
- package/dist/styles.css +4 -3
- package/dist/theme.d.mts +1 -1
- package/dist/theme.js +1 -1
- package/dist/{tooltipMessage-DosF13kZ.js → tooltipMessage-BC5W7H3X.js} +1 -1
- package/dist/{tooltipMessage-DosF13kZ.js.map → tooltipMessage-BC5W7H3X.js.map} +1 -1
- package/dist/{tooltipMessage-B--I3p1V.mjs → tooltipMessage-B_xMIKWL.mjs} +1 -1
- package/dist/{tooltipMessage-B--I3p1V.mjs.map → tooltipMessage-B_xMIKWL.mjs.map} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.js +5 -4
- package/dist/types.mjs +3 -2
- package/dist/urls-BQW5wjg-.js +13 -0
- package/dist/urls-BQW5wjg-.js.map +1 -0
- package/dist/urls-DT7FVEcS.mjs +7 -0
- package/dist/urls-DT7FVEcS.mjs.map +1 -0
- package/dist/version-B9s8yne-.js +300 -0
- package/dist/version-B9s8yne-.js.map +1 -0
- package/dist/version-DP1kU_7v.mjs +162 -0
- package/dist/version-DP1kU_7v.mjs.map +1 -0
- package/package.json +2 -2
- package/src/global-styles.css +81 -0
- package/src/theme/index.ts +1 -1
- package/dist/RecceCheckContext-DPpu9nG5.js +0 -303
- package/dist/RecceCheckContext-DPpu9nG5.js.map +0 -1
- package/dist/RecceCheckContext-bXdfQLGG.mjs +0 -229
- package/dist/RecceCheckContext-bXdfQLGG.mjs.map +0 -1
- package/dist/hooks-B9hsc1oD.js +0 -40
- package/dist/state-B9yzhuKs.mjs.map +0 -1
- package/dist/state-DOUPNifc.css.map +0 -1
- package/dist/state-IA7HWYOs.css.map +0 -1
- package/dist/state-lPCQsWy5.js.map +0 -1
- package/dist/urls-B1Ymdoz-.mjs.map +0 -1
- package/dist/urls-C4eAc82S.js.map +0 -1
- package/dist/version-Dh8sZhvs.js +0 -147
- package/dist/version-Dh8sZhvs.js.map +0 -1
- package/dist/version-OnOKzBeQ.mjs +0 -93
- package/dist/version-OnOKzBeQ.mjs.map +0 -1
|
@@ -1,59 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file agGridStyles.css
|
|
3
|
-
* @description Custom AG Grid styles for Recce data grids
|
|
4
|
-
*
|
|
5
|
-
* Provides header layout customization to ensure proper flex alignment:
|
|
6
|
-
* - Header cells use flex layout with items centered vertically
|
|
7
|
-
* - Labels aligned to the left
|
|
8
|
-
* - Actions (menu, sort icons) aligned to the right
|
|
9
|
-
* - Sticky headers when scrolling vertically
|
|
10
|
-
*
|
|
11
|
-
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/* AG Grid Viewport - uses theme-aware background */
|
|
15
|
-
.ag-body-viewport,
|
|
16
|
-
.ag-center-cols-viewport {
|
|
17
|
-
background-color: var(--recce-bg-muted);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Sticky header - stays visible when scrolling vertically */
|
|
21
|
-
.ag-header {
|
|
22
|
-
position: sticky;
|
|
23
|
-
top: 0;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Header cell flex layout */
|
|
28
|
-
.ag-header-cell-comp-wrapper {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Header label takes available space and aligns left */
|
|
35
|
-
.ag-header-cell-label {
|
|
36
|
-
flex: 1;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* Sort icons stay with the label */
|
|
43
|
-
.ag-header-cell-label .ag-sort-indicator-container {
|
|
44
|
-
margin-left: 4px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Actions container (menu button, etc.) aligned right */
|
|
48
|
-
.ag-header-cell-menu-button {
|
|
49
|
-
margin-left: auto;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* Ensure header icons don't shrink */
|
|
53
|
-
.ag-header-icon {
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
1
|
/* AG Grid custom styles for query views */
|
|
58
2
|
|
|
59
3
|
/* Header hover behavior for pin/key icons */
|
|
@@ -211,5 +155,61 @@
|
|
|
211
155
|
background-color: var(--schema-color-reordered-active);
|
|
212
156
|
}
|
|
213
157
|
|
|
158
|
+
/**
|
|
159
|
+
* @file agGridStyles.css
|
|
160
|
+
* @description Custom AG Grid styles for Recce data grids
|
|
161
|
+
*
|
|
162
|
+
* Provides header layout customization to ensure proper flex alignment:
|
|
163
|
+
* - Header cells use flex layout with items centered vertically
|
|
164
|
+
* - Labels aligned to the left
|
|
165
|
+
* - Actions (menu, sort icons) aligned to the right
|
|
166
|
+
* - Sticky headers when scrolling vertically
|
|
167
|
+
*
|
|
168
|
+
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
/* AG Grid Viewport - uses theme-aware background */
|
|
172
|
+
.ag-body-viewport,
|
|
173
|
+
.ag-center-cols-viewport {
|
|
174
|
+
background-color: var(--recce-bg-muted);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Sticky header - stays visible when scrolling vertically */
|
|
178
|
+
.ag-header {
|
|
179
|
+
position: sticky;
|
|
180
|
+
top: 0;
|
|
181
|
+
z-index: 1;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Header cell flex layout */
|
|
185
|
+
.ag-header-cell-comp-wrapper {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
width: 100%;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Header label takes available space and aligns left */
|
|
192
|
+
.ag-header-cell-label {
|
|
193
|
+
flex: 1;
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
overflow: hidden;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Sort icons stay with the label */
|
|
200
|
+
.ag-header-cell-label .ag-sort-indicator-container {
|
|
201
|
+
margin-left: 4px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Actions container (menu button, etc.) aligned right */
|
|
205
|
+
.ag-header-cell-menu-button {
|
|
206
|
+
margin-left: auto;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Ensure header icons don't shrink */
|
|
210
|
+
.ag-header-icon {
|
|
211
|
+
flex-shrink: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
214
|
|
|
215
|
-
/*# sourceMappingURL=
|
|
215
|
+
/*# sourceMappingURL=RecceCheckContext-DPnWB_aU.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecceCheckContext-DPnWB_aU.css","names":[],"sources":["../recce-source/js/src/components/query/styles.css","../recce-source/js/src/components/schema/style.css","../recce-source/js/src/components/data-grid/agGridStyles.css"],"sourcesContent":["/* AG Grid custom styles for query views */\n\n/* Header hover behavior for pin/key icons */\n.grid-header:hover .pin-icon {\n display: block;\n}\n\n.grid-header:hover .key-icon {\n display: block;\n}\n\n/* Context menu visibility on row hover */\n.ag-row:hover .row-context-menu {\n visibility: visible;\n width: auto;\n}\n\n/* Cell overflow for context menu */\n.cell-show-context-menu {\n overflow: visible;\n}\n","/**\n * Schema diff color palette\n * Uses CSS custom properties for theme-aware colors\n */\n\n/* Light mode (default) */\n:root,\n.light {\n --schema-color-added: rgb(204 255 216);\n --schema-color-added-hover: rgb(193 246 205);\n --schema-color-added-active: rgb(166 242 184);\n --schema-color-removed: rgb(255 215 213);\n --schema-color-removed-hover: rgb(246 195 193);\n --schema-color-removed-active: rgb(242 170 166);\n --schema-color-normal: #ffffff;\n --schema-color-normal-hover: rgb(241 241 241);\n --schema-color-normal-active: rgb(230 230 230);\n --schema-color-reordered: rgb(255 173 21);\n --schema-color-reordered-hover: rgb(249 164 6);\n --schema-color-reordered-active: rgb(224 147 6);\n}\n\n/* Dark mode */\n.dark {\n --schema-color-added: rgb(26 77 26);\n --schema-color-added-hover: rgb(34 97 34);\n --schema-color-added-active: rgb(42 117 42);\n --schema-color-removed: rgb(92 31 31);\n --schema-color-removed-hover: rgb(112 41 41);\n --schema-color-removed-active: rgb(132 51 51);\n --schema-color-normal: #262626;\n --schema-color-normal-hover: rgb(64 64 64);\n --schema-color-normal-active: rgb(82 82 82);\n --schema-color-reordered: rgb(180 83 9);\n --schema-color-reordered-hover: rgb(146 64 14);\n --schema-color-reordered-active: rgb(120 53 15);\n}\n\n/* Row backgrounds must be applied to cells because rows use display:contents */\n.row-added {\n background-color: var(--schema-color-added);\n}\n\n.row-added:hover,\n.row-added[aria-selected=\"true\"],\n.row-added.ag-row-selected {\n background-color: var(--schema-color-added-hover);\n}\n\n.row-added[aria-selected=\"true\"]:hover,\n.row-added.ag-row-selected:hover {\n background-color: var(--schema-color-added-active);\n}\n\n.row-removed {\n background-color: var(--schema-color-removed);\n}\n\n.row-removed:hover,\n.row-removed[aria-selected=\"true\"],\n.row-removed.ag-row-selected {\n background-color: var(--schema-color-removed-hover);\n}\n\n.row-removed[aria-selected=\"true\"]:hover,\n.row-removed.ag-row-selected:hover {\n background-color: var(--schema-color-removed-active);\n}\n\n.row-normal {\n background-color: var(--schema-color-normal);\n}\n\n.row-normal:hover,\n.row-normal[aria-selected=\"true\"],\n.row-normal.ag-row-selected {\n background-color: var(--schema-color-normal-hover);\n}\n\n.row-normal[aria-selected=\"true\"]:hover,\n.row-normal.ag-row-selected:hover {\n background-color: var(--schema-color-normal-active);\n}\n\n.row-selectable {\n cursor: pointer;\n}\n\n/* for general column */\n\n.schema-column[aria-selected=\"true\"] {\n outline: none;\n outline-offset: 0;\n}\n\n.schema-column-index {\n text-align: right;\n filter: brightness(0.95);\n}\n\n/* for reorder-index and type-change column */\n\n/* Type change badges for merged type column */\n.type-badge {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75rem;\n line-height: 1.2;\n}\n\n.type-badge-removed {\n background-color: var(--schema-color-removed);\n margin-right: 4px;\n}\n\n.type-badge-added {\n background-color: var(--schema-color-added);\n}\n\n.column-index-reordered {\n background-color: var(--schema-color-reordered);\n}\n\n.row-normal:hover .column-index-reordered,\n.row-normal[aria-selected=\"true\"] .column-index-reordered,\n.row-normal.ag-row-selected .column-index-reordered {\n background-color: var(--schema-color-reordered-hover);\n}\n\n.row-normal[aria-selected=\"true\"]:hover .column-index-reordered,\n.row-normal.ag-row-selected:hover .column-index-reordered {\n background-color: var(--schema-color-reordered-active);\n}\n","/**\n * @file agGridStyles.css\n * @description Custom AG Grid styles for Recce data grids\n *\n * Provides header layout customization to ensure proper flex alignment:\n * - Header cells use flex layout with items centered vertically\n * - Labels aligned to the left\n * - Actions (menu, sort icons) aligned to the right\n * - Sticky headers when scrolling vertically\n *\n * Uses CSS custom properties from global.css for theme-aware colors.\n */\n\n/* AG Grid Viewport - uses theme-aware background */\n.ag-body-viewport,\n.ag-center-cols-viewport {\n background-color: var(--recce-bg-muted);\n}\n\n/* Sticky header - stays visible when scrolling vertically */\n.ag-header {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n/* Header cell flex layout */\n.ag-header-cell-comp-wrapper {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n/* Header label takes available space and aligns left */\n.ag-header-cell-label {\n flex: 1;\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n\n/* Sort icons stay with the label */\n.ag-header-cell-label .ag-sort-indicator-container {\n margin-left: 4px;\n}\n\n/* Actions container (menu button, etc.) aligned right */\n.ag-header-cell-menu-button {\n margin-left: auto;\n}\n\n/* Ensure header icons don't shrink */\n.ag-header-icon {\n flex-shrink: 0;\n}\n"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA"}
|
|
@@ -1,59 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file agGridStyles.css
|
|
3
|
-
* @description Custom AG Grid styles for Recce data grids
|
|
4
|
-
*
|
|
5
|
-
* Provides header layout customization to ensure proper flex alignment:
|
|
6
|
-
* - Header cells use flex layout with items centered vertically
|
|
7
|
-
* - Labels aligned to the left
|
|
8
|
-
* - Actions (menu, sort icons) aligned to the right
|
|
9
|
-
* - Sticky headers when scrolling vertically
|
|
10
|
-
*
|
|
11
|
-
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/* AG Grid Viewport - uses theme-aware background */
|
|
15
|
-
.ag-body-viewport,
|
|
16
|
-
.ag-center-cols-viewport {
|
|
17
|
-
background-color: var(--recce-bg-muted);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Sticky header - stays visible when scrolling vertically */
|
|
21
|
-
.ag-header {
|
|
22
|
-
position: sticky;
|
|
23
|
-
top: 0;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Header cell flex layout */
|
|
28
|
-
.ag-header-cell-comp-wrapper {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Header label takes available space and aligns left */
|
|
35
|
-
.ag-header-cell-label {
|
|
36
|
-
flex: 1;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* Sort icons stay with the label */
|
|
43
|
-
.ag-header-cell-label .ag-sort-indicator-container {
|
|
44
|
-
margin-left: 4px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Actions container (menu button, etc.) aligned right */
|
|
48
|
-
.ag-header-cell-menu-button {
|
|
49
|
-
margin-left: auto;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* Ensure header icons don't shrink */
|
|
53
|
-
.ag-header-icon {
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
1
|
/* AG Grid custom styles for query views */
|
|
58
2
|
|
|
59
3
|
/* Header hover behavior for pin/key icons */
|
|
@@ -211,5 +155,61 @@
|
|
|
211
155
|
background-color: var(--schema-color-reordered-active);
|
|
212
156
|
}
|
|
213
157
|
|
|
158
|
+
/**
|
|
159
|
+
* @file agGridStyles.css
|
|
160
|
+
* @description Custom AG Grid styles for Recce data grids
|
|
161
|
+
*
|
|
162
|
+
* Provides header layout customization to ensure proper flex alignment:
|
|
163
|
+
* - Header cells use flex layout with items centered vertically
|
|
164
|
+
* - Labels aligned to the left
|
|
165
|
+
* - Actions (menu, sort icons) aligned to the right
|
|
166
|
+
* - Sticky headers when scrolling vertically
|
|
167
|
+
*
|
|
168
|
+
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
/* AG Grid Viewport - uses theme-aware background */
|
|
172
|
+
.ag-body-viewport,
|
|
173
|
+
.ag-center-cols-viewport {
|
|
174
|
+
background-color: var(--recce-bg-muted);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Sticky header - stays visible when scrolling vertically */
|
|
178
|
+
.ag-header {
|
|
179
|
+
position: sticky;
|
|
180
|
+
top: 0;
|
|
181
|
+
z-index: 1;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Header cell flex layout */
|
|
185
|
+
.ag-header-cell-comp-wrapper {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
width: 100%;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Header label takes available space and aligns left */
|
|
192
|
+
.ag-header-cell-label {
|
|
193
|
+
flex: 1;
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
overflow: hidden;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Sort icons stay with the label */
|
|
200
|
+
.ag-header-cell-label .ag-sort-indicator-container {
|
|
201
|
+
margin-left: 4px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Actions container (menu button, etc.) aligned right */
|
|
205
|
+
.ag-header-cell-menu-button {
|
|
206
|
+
margin-left: auto;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Ensure header icons don't shrink */
|
|
210
|
+
.ag-header-icon {
|
|
211
|
+
flex-shrink: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
214
|
|
|
215
|
-
/*# sourceMappingURL=
|
|
215
|
+
/*# sourceMappingURL=RecceCheckContext-DyxOeUsX.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecceCheckContext-DyxOeUsX.css","names":[],"sources":["../recce-source/js/src/components/query/styles.css","../recce-source/js/src/components/schema/style.css","../recce-source/js/src/components/data-grid/agGridStyles.css"],"sourcesContent":["/* AG Grid custom styles for query views */\n\n/* Header hover behavior for pin/key icons */\n.grid-header:hover .pin-icon {\n display: block;\n}\n\n.grid-header:hover .key-icon {\n display: block;\n}\n\n/* Context menu visibility on row hover */\n.ag-row:hover .row-context-menu {\n visibility: visible;\n width: auto;\n}\n\n/* Cell overflow for context menu */\n.cell-show-context-menu {\n overflow: visible;\n}\n","/**\n * Schema diff color palette\n * Uses CSS custom properties for theme-aware colors\n */\n\n/* Light mode (default) */\n:root,\n.light {\n --schema-color-added: rgb(204 255 216);\n --schema-color-added-hover: rgb(193 246 205);\n --schema-color-added-active: rgb(166 242 184);\n --schema-color-removed: rgb(255 215 213);\n --schema-color-removed-hover: rgb(246 195 193);\n --schema-color-removed-active: rgb(242 170 166);\n --schema-color-normal: #ffffff;\n --schema-color-normal-hover: rgb(241 241 241);\n --schema-color-normal-active: rgb(230 230 230);\n --schema-color-reordered: rgb(255 173 21);\n --schema-color-reordered-hover: rgb(249 164 6);\n --schema-color-reordered-active: rgb(224 147 6);\n}\n\n/* Dark mode */\n.dark {\n --schema-color-added: rgb(26 77 26);\n --schema-color-added-hover: rgb(34 97 34);\n --schema-color-added-active: rgb(42 117 42);\n --schema-color-removed: rgb(92 31 31);\n --schema-color-removed-hover: rgb(112 41 41);\n --schema-color-removed-active: rgb(132 51 51);\n --schema-color-normal: #262626;\n --schema-color-normal-hover: rgb(64 64 64);\n --schema-color-normal-active: rgb(82 82 82);\n --schema-color-reordered: rgb(180 83 9);\n --schema-color-reordered-hover: rgb(146 64 14);\n --schema-color-reordered-active: rgb(120 53 15);\n}\n\n/* Row backgrounds must be applied to cells because rows use display:contents */\n.row-added {\n background-color: var(--schema-color-added);\n}\n\n.row-added:hover,\n.row-added[aria-selected=\"true\"],\n.row-added.ag-row-selected {\n background-color: var(--schema-color-added-hover);\n}\n\n.row-added[aria-selected=\"true\"]:hover,\n.row-added.ag-row-selected:hover {\n background-color: var(--schema-color-added-active);\n}\n\n.row-removed {\n background-color: var(--schema-color-removed);\n}\n\n.row-removed:hover,\n.row-removed[aria-selected=\"true\"],\n.row-removed.ag-row-selected {\n background-color: var(--schema-color-removed-hover);\n}\n\n.row-removed[aria-selected=\"true\"]:hover,\n.row-removed.ag-row-selected:hover {\n background-color: var(--schema-color-removed-active);\n}\n\n.row-normal {\n background-color: var(--schema-color-normal);\n}\n\n.row-normal:hover,\n.row-normal[aria-selected=\"true\"],\n.row-normal.ag-row-selected {\n background-color: var(--schema-color-normal-hover);\n}\n\n.row-normal[aria-selected=\"true\"]:hover,\n.row-normal.ag-row-selected:hover {\n background-color: var(--schema-color-normal-active);\n}\n\n.row-selectable {\n cursor: pointer;\n}\n\n/* for general column */\n\n.schema-column[aria-selected=\"true\"] {\n outline: none;\n outline-offset: 0;\n}\n\n.schema-column-index {\n text-align: right;\n filter: brightness(0.95);\n}\n\n/* for reorder-index and type-change column */\n\n/* Type change badges for merged type column */\n.type-badge {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75rem;\n line-height: 1.2;\n}\n\n.type-badge-removed {\n background-color: var(--schema-color-removed);\n margin-right: 4px;\n}\n\n.type-badge-added {\n background-color: var(--schema-color-added);\n}\n\n.column-index-reordered {\n background-color: var(--schema-color-reordered);\n}\n\n.row-normal:hover .column-index-reordered,\n.row-normal[aria-selected=\"true\"] .column-index-reordered,\n.row-normal.ag-row-selected .column-index-reordered {\n background-color: var(--schema-color-reordered-hover);\n}\n\n.row-normal[aria-selected=\"true\"]:hover .column-index-reordered,\n.row-normal.ag-row-selected:hover .column-index-reordered {\n background-color: var(--schema-color-reordered-active);\n}\n","/**\n * @file agGridStyles.css\n * @description Custom AG Grid styles for Recce data grids\n *\n * Provides header layout customization to ensure proper flex alignment:\n * - Header cells use flex layout with items centered vertically\n * - Labels aligned to the left\n * - Actions (menu, sort icons) aligned to the right\n * - Sticky headers when scrolling vertically\n *\n * Uses CSS custom properties from global.css for theme-aware colors.\n */\n\n/* AG Grid Viewport - uses theme-aware background */\n.ag-body-viewport,\n.ag-center-cols-viewport {\n background-color: var(--recce-bg-muted);\n}\n\n/* Sticky header - stays visible when scrolling vertically */\n.ag-header {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n/* Header cell flex layout */\n.ag-header-cell-comp-wrapper {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n/* Header label takes available space and aligns left */\n.ag-header-cell-label {\n flex: 1;\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n\n/* Sort icons stay with the label */\n.ag-header-cell-label .ag-sort-indicator-container {\n margin-left: 4px;\n}\n\n/* Actions container (menu button, etc.) aligned right */\n.ag-header-cell-menu-button {\n margin-left: auto;\n}\n\n/* Ensure header icons don't shrink */\n.ag-header-icon {\n flex-shrink: 0;\n}\n"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA"}
|
package/dist/api.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { $i as getLineageDiff, $r as ValueDiffDetailViewOptions, A as connectToCloud, Ai as getRun, B as submitQueryBase, Bi as getCll, C as SchemaDiffViewParams, Ci as TopKResult, D as markOnboardingCompleted, Di as SubmitRunTrackProps, E as getServerFlag, Ei as SubmitOptions, F as QueryPreviewChangeParams, Fi as waitRun, Gi as LineageDiffResult, Hi as LineageData, I as QueryResult, Ii as CllInput, Ji as NodeColumnData, Ki as ManifestMetadata, L as QueryRunParams, Li as CllNodeData, M as QueryDiffResult, Mi as searchRuns, N as QueryDiffViewOptions, Ni as submitRun, O as markRelaunchHintCompleted, Oi as aggregateRuns, P as QueryParams, Pi as submitRunFromCheck, Qi as getLineage, Qr as ValueDiffDetailResult, R as QueryViewOptions, Ri as ColumnLineageData, S as select, Si as TopKDiffResult, T as RecceServerFlags, Ti as RunsAggregated, Ui as LineageDataFromMetadata, V as submitQueryDiff, Vi as CatalogMetadata, Wi as LineageDiffData, Xi as SQLMeshInfo, Yi as NodeData, Zi as ServerInfoResult, Zr as ValueDiffDetailParams, _ as saveAs, _i as HistogramResult, _r as reorderChecks, a as User, aa as stateMetadata, ai as RowCountDiffResult, b as SelectInput, bi as ProfileDiffViewOptions, c as ImportedState, ci as submitRowCountDiff, cr as createLineageDiffCheck, d as SyncStateInput, di as RowCountDiff, dr as createCheckByRun, ea as getLineageWithError, ei as ValueDiffParams, f as SyncStateResponse, fi as fetchModelRowCount, fr as createSimpleCheck, g as rename, ga as reactQueryClient, gi as HistogramDiffResult, gr as markAsPresetCheck, h as isStateSyncing, ha as axiosClient, hi as HistogramDiffParams, hr as listChecks, i as useVersionNumber, ia as pullRequestInfo, ii as RowCountDiffParams, j as QueryDiffParams, ji as listRuns, k as ConnectToCloud, ki as cancelRun, l as SaveAsInput, li as QueryRowCountResult, lr as Check, m as importState, mi as queryRowCount, mr as getCheck, n as localStorageKeys, na as getServerInfo, ni as submitValueDiff, o as fetchGitHubAvatar, oi as RowCountParams, p as exportState, pi as queryModelRowCount, pr as deleteCheck, qi as ModelInfoResult, r as getVersion, ra as gitInfo, ri as submitValueDiffDetail, s as fetchUser, si as RowCountResult, sr as LineageDiffViewOptions, t as sessionStorageKeys, ta as getModelInfo, ti as ValueDiffResult, u as ShareStateResponse, ui as RowCount, ur as CreateCheckBody, v as shareState, vi as ProfileDiffParams, vr as updateCheck, w as createSchemaDiffCheck, wi as submitProfileDiff, x as SelectOutput, xi as TopKDiffParams, y as syncState, yi as ProfileDiffResult, yr as useChecks, z as submitQuery, zi as ImpactRadiusParams } from "./index-
|
|
2
|
+
import { $i as getLineageDiff, $r as ValueDiffDetailViewOptions, A as connectToCloud, Ai as getRun, B as submitQueryBase, Bi as getCll, C as SchemaDiffViewParams, Ci as TopKResult, D as markOnboardingCompleted, Di as SubmitRunTrackProps, E as getServerFlag, Ei as SubmitOptions, F as QueryPreviewChangeParams, Fi as waitRun, Gi as LineageDiffResult, Hi as LineageData, I as QueryResult, Ii as CllInput, Ji as NodeColumnData, Ki as ManifestMetadata, L as QueryRunParams, Li as CllNodeData, M as QueryDiffResult, Mi as searchRuns, N as QueryDiffViewOptions, Ni as submitRun, O as markRelaunchHintCompleted, Oi as aggregateRuns, P as QueryParams, Pi as submitRunFromCheck, Qi as getLineage, Qr as ValueDiffDetailResult, R as QueryViewOptions, Ri as ColumnLineageData, S as select, Si as TopKDiffResult, T as RecceServerFlags, Ti as RunsAggregated, Ui as LineageDataFromMetadata, V as submitQueryDiff, Vi as CatalogMetadata, Wi as LineageDiffData, Xi as SQLMeshInfo, Yi as NodeData, Zi as ServerInfoResult, Zr as ValueDiffDetailParams, _ as saveAs, _i as HistogramResult, _r as reorderChecks, a as User, aa as stateMetadata, ai as RowCountDiffResult, b as SelectInput, bi as ProfileDiffViewOptions, c as ImportedState, ci as submitRowCountDiff, cr as createLineageDiffCheck, d as SyncStateInput, di as RowCountDiff, dr as createCheckByRun, ea as getLineageWithError, ei as ValueDiffParams, f as SyncStateResponse, fi as fetchModelRowCount, fr as createSimpleCheck, g as rename, ga as reactQueryClient, gi as HistogramDiffResult, gr as markAsPresetCheck, h as isStateSyncing, ha as axiosClient, hi as HistogramDiffParams, hr as listChecks, i as useVersionNumber, ia as pullRequestInfo, ii as RowCountDiffParams, j as QueryDiffParams, ji as listRuns, k as ConnectToCloud, ki as cancelRun, l as SaveAsInput, li as QueryRowCountResult, lr as Check, m as importState, mi as queryRowCount, mr as getCheck, n as localStorageKeys, na as getServerInfo, ni as submitValueDiff, o as fetchGitHubAvatar, oi as RowCountParams, p as exportState, pi as queryModelRowCount, pr as deleteCheck, qi as ModelInfoResult, r as getVersion, ra as gitInfo, ri as submitValueDiffDetail, s as fetchUser, si as RowCountResult, sr as LineageDiffViewOptions, t as sessionStorageKeys, ta as getModelInfo, ti as ValueDiffResult, u as ShareStateResponse, ui as RowCount, ur as CreateCheckBody, v as shareState, vi as ProfileDiffParams, vr as updateCheck, w as createSchemaDiffCheck, wi as submitProfileDiff, x as SelectOutput, xi as TopKDiffParams, y as syncState, yi as ProfileDiffResult, yr as useChecks, z as submitQuery, zi as ImpactRadiusParams } from "./index-DsCU2oGL.mjs";
|
|
3
3
|
export { CatalogMetadata, Check, CllInput, CllNodeData, ColumnLineageData, ConnectToCloud, CreateCheckBody, HistogramDiffParams, HistogramDiffResult, HistogramResult, ImpactRadiusParams, ImportedState, LineageData, LineageDataFromMetadata, LineageDiffData, LineageDiffResult, LineageDiffViewOptions, ManifestMetadata, ModelInfoResult, NodeColumnData, NodeData, ProfileDiffParams, ProfileDiffResult, ProfileDiffViewOptions, QueryDiffParams, QueryDiffResult, QueryDiffViewOptions, QueryParams, QueryPreviewChangeParams, QueryResult, QueryRowCountResult, QueryRunParams, QueryViewOptions, RecceServerFlags, RowCount, RowCountDiff, RowCountDiffParams, RowCountDiffResult, RowCountParams, RowCountResult, RunsAggregated, SQLMeshInfo, SaveAsInput, SchemaDiffViewParams, SelectInput, SelectOutput, ServerInfoResult, ShareStateResponse, SubmitOptions, SubmitRunTrackProps, SyncStateInput, SyncStateResponse, TopKDiffParams, TopKDiffResult, TopKResult, User, ValueDiffDetailParams, ValueDiffDetailResult, ValueDiffDetailViewOptions, ValueDiffParams, ValueDiffResult, aggregateRuns, axiosClient, cancelRun, connectToCloud, createCheckByRun, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, exportState, fetchGitHubAvatar, fetchModelRowCount, fetchUser, getCheck, getCll, getLineage, getLineageDiff, getLineageWithError, getModelInfo, getRun, getServerFlag, getServerInfo, getVersion, gitInfo, importState, isStateSyncing, listChecks, listRuns, localStorageKeys, markAsPresetCheck, markOnboardingCompleted, markRelaunchHintCompleted, pullRequestInfo, queryModelRowCount, queryRowCount, reactQueryClient, rename, reorderChecks, saveAs, searchRuns, select, sessionStorageKeys, shareState, stateMetadata, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, useChecks, useVersionNumber, waitRun };
|
package/dist/api.js
CHANGED
|
@@ -1,24 +1,62 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
const require_state = require('./state-
|
|
3
|
-
require('./
|
|
4
|
-
require('./
|
|
5
|
-
const require_version = require('./version-Dh8sZhvs.js');
|
|
2
|
+
const require_state = require('./state-CTITyT0R.js');
|
|
3
|
+
require('./const-CvdZO0FN.js');
|
|
4
|
+
const require_version = require('./version-B9s8yne-.js');
|
|
6
5
|
|
|
6
|
+
//#region recce-source/js/src/lib/api/rowcount.ts
|
|
7
|
+
async function submitRowCountDiff(params, options, client = require_state.axiosClient) {
|
|
8
|
+
return await require_state.submitRun("row_count_diff", params, options, client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region recce-source/js/src/lib/api/models.ts
|
|
13
|
+
async function fetchModelRowCount(modelName, client = require_state.axiosClient) {
|
|
14
|
+
return (await client.get(`/api/models/${modelName}/row_count`)).data;
|
|
15
|
+
}
|
|
16
|
+
async function queryModelRowCount(modelName, client = require_state.axiosClient) {
|
|
17
|
+
const { result } = await queryRowCount([modelName], client);
|
|
18
|
+
return result[modelName];
|
|
19
|
+
}
|
|
20
|
+
async function queryRowCount(modelNames, client = require_state.axiosClient) {
|
|
21
|
+
if (modelNames.length === 0) throw new Error("No model names provided");
|
|
22
|
+
const { run_id } = await submitRowCountDiff({ node_names: modelNames }, { nowait: true }, client);
|
|
23
|
+
return {
|
|
24
|
+
runId: run_id,
|
|
25
|
+
result: (await require_state.waitRun(run_id, void 0, client)).result
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region recce-source/js/src/lib/api/profile.ts
|
|
31
|
+
async function submitProfileDiff(params, options, client = require_state.axiosClient) {
|
|
32
|
+
return await require_state.submitRun("profile_diff", params, options, client);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region recce-source/js/src/lib/api/valuediff.ts
|
|
37
|
+
async function submitValueDiff(params, options, client = require_state.axiosClient) {
|
|
38
|
+
return await require_state.submitRun("value_diff", params, options, client);
|
|
39
|
+
}
|
|
40
|
+
async function submitValueDiffDetail(params, options, client = require_state.axiosClient) {
|
|
41
|
+
return await require_state.submitRun("value_diff_detail", params, options, client);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
7
45
|
exports.aggregateRuns = require_state.aggregateRuns;
|
|
8
46
|
exports.axiosClient = require_state.axiosClient;
|
|
9
47
|
exports.cancelRun = require_state.cancelRun;
|
|
10
48
|
exports.connectToCloud = require_version.connectToCloud;
|
|
11
|
-
exports.createCheckByRun =
|
|
12
|
-
exports.createLineageDiffCheck =
|
|
49
|
+
exports.createCheckByRun = require_version.createCheckByRun;
|
|
50
|
+
exports.createLineageDiffCheck = require_version.createLineageDiffCheck;
|
|
13
51
|
exports.createSchemaDiffCheck = require_version.createSchemaDiffCheck;
|
|
14
|
-
exports.createSimpleCheck =
|
|
15
|
-
exports.deleteCheck =
|
|
52
|
+
exports.createSimpleCheck = require_version.createSimpleCheck;
|
|
53
|
+
exports.deleteCheck = require_version.deleteCheck;
|
|
16
54
|
exports.exportState = require_state.exportState;
|
|
17
55
|
exports.fetchGitHubAvatar = require_version.fetchGitHubAvatar;
|
|
18
|
-
exports.fetchModelRowCount =
|
|
56
|
+
exports.fetchModelRowCount = fetchModelRowCount;
|
|
19
57
|
exports.fetchUser = require_version.fetchUser;
|
|
20
|
-
exports.getCheck =
|
|
21
|
-
exports.getCll =
|
|
58
|
+
exports.getCheck = require_version.getCheck;
|
|
59
|
+
exports.getCll = require_version.getCll;
|
|
22
60
|
exports.getLineage = require_state.getLineage;
|
|
23
61
|
exports.getLineageDiff = require_state.getLineageDiff;
|
|
24
62
|
exports.getLineageWithError = require_state.getLineageWithError;
|
|
@@ -29,33 +67,34 @@ exports.getServerInfo = require_state.getServerInfo;
|
|
|
29
67
|
exports.getVersion = require_version.getVersion;
|
|
30
68
|
exports.importState = require_state.importState;
|
|
31
69
|
exports.isStateSyncing = require_state.isStateSyncing;
|
|
32
|
-
exports.listChecks =
|
|
70
|
+
exports.listChecks = require_version.listChecks;
|
|
33
71
|
exports.listRuns = require_state.listRuns;
|
|
34
72
|
exports.localStorageKeys = require_version.localStorageKeys;
|
|
35
|
-
exports.markAsPresetCheck =
|
|
73
|
+
exports.markAsPresetCheck = require_version.markAsPresetCheck;
|
|
36
74
|
exports.markOnboardingCompleted = require_state.markOnboardingCompleted;
|
|
37
75
|
exports.markRelaunchHintCompleted = require_state.markRelaunchHintCompleted;
|
|
38
|
-
exports.queryModelRowCount =
|
|
39
|
-
exports.queryRowCount =
|
|
76
|
+
exports.queryModelRowCount = queryModelRowCount;
|
|
77
|
+
exports.queryRowCount = queryRowCount;
|
|
40
78
|
exports.reactQueryClient = require_state.reactQueryClient;
|
|
41
79
|
exports.rename = require_state.rename;
|
|
42
|
-
exports.reorderChecks =
|
|
80
|
+
exports.reorderChecks = require_version.reorderChecks;
|
|
43
81
|
exports.saveAs = require_state.saveAs;
|
|
44
82
|
exports.searchRuns = require_state.searchRuns;
|
|
45
83
|
exports.select = require_version.select;
|
|
46
84
|
exports.sessionStorageKeys = require_version.sessionStorageKeys;
|
|
47
85
|
exports.shareState = require_state.shareState;
|
|
48
|
-
exports.submitProfileDiff =
|
|
49
|
-
exports.submitQuery =
|
|
50
|
-
exports.submitQueryBase =
|
|
51
|
-
exports.submitQueryDiff =
|
|
52
|
-
exports.submitRowCountDiff =
|
|
86
|
+
exports.submitProfileDiff = submitProfileDiff;
|
|
87
|
+
exports.submitQuery = require_version.submitQuery;
|
|
88
|
+
exports.submitQueryBase = require_version.submitQueryBase;
|
|
89
|
+
exports.submitQueryDiff = require_version.submitQueryDiff;
|
|
90
|
+
exports.submitRowCountDiff = submitRowCountDiff;
|
|
53
91
|
exports.submitRun = require_state.submitRun;
|
|
54
92
|
exports.submitRunFromCheck = require_state.submitRunFromCheck;
|
|
55
|
-
exports.submitValueDiff =
|
|
56
|
-
exports.submitValueDiffDetail =
|
|
93
|
+
exports.submitValueDiff = submitValueDiff;
|
|
94
|
+
exports.submitValueDiffDetail = submitValueDiffDetail;
|
|
57
95
|
exports.syncState = require_state.syncState;
|
|
58
|
-
exports.updateCheck =
|
|
59
|
-
exports.useChecks =
|
|
96
|
+
exports.updateCheck = require_version.updateCheck;
|
|
97
|
+
exports.useChecks = require_version.useChecks;
|
|
60
98
|
exports.useVersionNumber = require_version.useVersionNumber;
|
|
61
|
-
exports.waitRun = require_state.waitRun;
|
|
99
|
+
exports.waitRun = require_state.waitRun;
|
|
100
|
+
//# sourceMappingURL=api.js.map
|
package/dist/api.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","names":["axiosClient","submitRun","axiosClient","waitRun","axiosClient","submitRun","axiosClient","submitRun"],"sources":["../recce-source/js/src/lib/api/rowcount.ts","../recce-source/js/src/lib/api/models.ts","../recce-source/js/src/lib/api/profile.ts","../recce-source/js/src/lib/api/valuediff.ts"],"sourcesContent":["import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { RowCount, RowCountDiff } from \"./models\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nexport interface RowCountParams {\n node_names: string[];\n}\nexport type RowCountResult = Record<string, RowCount>;\nexport interface RowCountDiffParams {\n node_names: string[];\n}\nexport type RowCountDiffResult = Record<string, RowCountDiff>;\nexport async function submitRowCountDiff(\n params: RowCountDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"row_count_diff\", params, options, client);\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { RowCountDiffResult, submitRowCountDiff } from \"./rowcount\";\nimport { waitRun } from \"./runs\";\n\nexport interface RowCount {\n name?: string;\n curr: number | null;\n}\n\nexport interface RowCountDiff {\n name?: string;\n base: number | null;\n curr: number | null;\n}\n\nexport interface QueryRowCountResult {\n runId: string;\n result: RowCountDiffResult;\n}\n\nexport async function fetchModelRowCount(\n modelName: string,\n client: AxiosInstance = axiosClient,\n): Promise<RowCountDiff> {\n const response = await client.get<RowCountDiff>(\n `/api/models/${modelName}/row_count`,\n );\n return response.data;\n}\n\nexport async function queryModelRowCount(\n modelName: string,\n client: AxiosInstance = axiosClient,\n): Promise<RowCountDiff> {\n const { result } = await queryRowCount([modelName], client);\n return result[modelName];\n}\n\nexport async function queryRowCount(\n modelNames: string[],\n client: AxiosInstance = axiosClient,\n): Promise<QueryRowCountResult> {\n if (modelNames.length === 0) {\n throw new Error(\"No model names provided\");\n }\n\n const { run_id } = await submitRowCountDiff(\n { node_names: modelNames },\n { nowait: true },\n client,\n );\n const run = await waitRun(run_id, undefined, client);\n\n return {\n runId: run_id,\n result: run.result as RowCountDiffResult,\n };\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nimport { ColumnRenderMode, DataFrame } from \"./types\";\n\nexport interface ProfileDiffParams {\n model: string;\n columns?: string[];\n}\n\nexport interface ProfileDiffResult {\n base?: DataFrame;\n current?: DataFrame;\n}\n\nexport interface ProfileDiffViewOptions {\n pinned_columns?: string[];\n display_mode?: \"side_by_side\" | \"inline\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\nexport async function submitProfileDiff(\n params: ProfileDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"profile_diff\", params, options, client);\n}\n\nexport interface TopKDiffParams {\n model: string;\n column_name: string;\n k: number;\n}\n\nexport interface TopKResult {\n values: (string | number | undefined)[];\n counts: number[];\n valids: number;\n}\n\nexport interface TopKDiffResult {\n base: TopKResult;\n current: TopKResult;\n}\n\nexport interface HistogramDiffParams {\n model: string;\n column_name: string;\n column_type: string;\n}\n\nexport interface HistogramResult {\n counts: number[];\n total: number;\n}\n\nexport interface HistogramDiffResult {\n base: HistogramResult;\n current: HistogramResult;\n min: number;\n max: number;\n bin_edges: number[];\n labels?: string[];\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nimport { ColumnRenderMode, DataFrame } from \"./types\";\n\nexport interface ValueDiffResult {\n summary: {\n total: number;\n added: number;\n removed: number;\n };\n data: DataFrame;\n}\n\nexport interface ValueDiffParams {\n model: string;\n primary_key: string | string[];\n columns?: string[];\n}\n\nexport async function submitValueDiff(\n params: ValueDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"value_diff\", params, options, client);\n}\n\nexport type ValueDiffDetailResult = DataFrame;\n\nexport type ValueDiffDetailParams = ValueDiffParams;\n\nexport interface ValueDiffDetailViewOptions {\n changed_only?: boolean;\n pinned_columns?: string[];\n display_mode?: \"inline\" | \"side_by_side\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\nexport async function submitValueDiffDetail(\n params: ValueDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"value_diff_detail\", params, options, client);\n}\n"],"mappings":";;;;;;AAYA,eAAsB,mBACpB,QACA,SACA,SAAwBA,2BACxB;AACA,QAAO,MAAMC,wBAAU,kBAAkB,QAAQ,SAAS,OAAO;;;;;ACInE,eAAsB,mBACpB,WACA,SAAwBC,2BACD;AAIvB,SAHiB,MAAM,OAAO,IAC5B,eAAe,UAAU,YAC1B,EACe;;AAGlB,eAAsB,mBACpB,WACA,SAAwBA,2BACD;CACvB,MAAM,EAAE,WAAW,MAAM,cAAc,CAAC,UAAU,EAAE,OAAO;AAC3D,QAAO,OAAO;;AAGhB,eAAsB,cACpB,YACA,SAAwBA,2BACM;AAC9B,KAAI,WAAW,WAAW,EACxB,OAAM,IAAI,MAAM,0BAA0B;CAG5C,MAAM,EAAE,WAAW,MAAM,mBACvB,EAAE,YAAY,YAAY,EAC1B,EAAE,QAAQ,MAAM,EAChB,OACD;AAGD,QAAO;EACL,OAAO;EACP,SAJU,MAAMC,sBAAQ,QAAQ,QAAW,OAAO,EAItC;EACb;;;;;ACpCH,eAAsB,kBACpB,QACA,SACA,SAAwBC,2BACxB;AACA,QAAO,MAAMC,wBAAU,gBAAgB,QAAQ,SAAS,OAAO;;;;;ACNjE,eAAsB,gBACpB,QACA,SACA,SAAwBC,2BACxB;AACA,QAAO,MAAMC,wBAAU,cAAc,QAAQ,SAAS,OAAO;;AAc/D,eAAsB,sBACpB,QACA,SACA,SAAwBD,2BACxB;AACA,QAAO,MAAMC,wBAAU,qBAAqB,QAAQ,SAAS,OAAO"}
|
package/dist/api.mjs
CHANGED
|
@@ -1,7 +1,46 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import { a as connectToCloud, c as select, i as fetchUser, l as createSchemaDiffCheck, n as useVersionNumber, o as localStorageKeys, r as fetchGitHubAvatar, s as sessionStorageKeys, t as getVersion } from "./version-OnOKzBeQ.mjs";
|
|
2
|
+
import "./const-CaIm1Z8g.mjs";
|
|
3
|
+
import { C as markRelaunchHintCompleted, S as markOnboardingCompleted, _ as getLineageDiff, a as saveAs, b as getServerInfo, c as aggregateRuns, ct as reactQueryClient, d as listRuns, f as searchRuns, g as getLineage, h as waitRun, i as rename, l as cancelRun, m as submitRunFromCheck, n as importState, o as shareState, p as submitRun, r as isStateSyncing, s as syncState, st as axiosClient, t as exportState, u as getRun, v as getLineageWithError, x as getServerFlag, y as getModelInfo } from "./state-Sc2b4jri.mjs";
|
|
4
|
+
import { C as getCll, S as createLineageDiffCheck, _ as submitQueryBase, a as createCheckByRun, b as select, c as getCheck, d as reorderChecks, f as updateCheck, g as submitQuery, h as localStorageKeys, i as fetchUser, l as listChecks, m as connectToCloud, n as useVersionNumber, o as createSimpleCheck, p as useChecks, r as fetchGitHubAvatar, s as deleteCheck, t as getVersion, u as markAsPresetCheck, v as submitQueryDiff, x as createSchemaDiffCheck, y as sessionStorageKeys } from "./version-DP1kU_7v.mjs";
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
//#region recce-source/js/src/lib/api/rowcount.ts
|
|
7
|
+
async function submitRowCountDiff(params, options, client = axiosClient) {
|
|
8
|
+
return await submitRun("row_count_diff", params, options, client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region recce-source/js/src/lib/api/models.ts
|
|
13
|
+
async function fetchModelRowCount(modelName, client = axiosClient) {
|
|
14
|
+
return (await client.get(`/api/models/${modelName}/row_count`)).data;
|
|
15
|
+
}
|
|
16
|
+
async function queryModelRowCount(modelName, client = axiosClient) {
|
|
17
|
+
const { result } = await queryRowCount([modelName], client);
|
|
18
|
+
return result[modelName];
|
|
19
|
+
}
|
|
20
|
+
async function queryRowCount(modelNames, client = axiosClient) {
|
|
21
|
+
if (modelNames.length === 0) throw new Error("No model names provided");
|
|
22
|
+
const { run_id } = await submitRowCountDiff({ node_names: modelNames }, { nowait: true }, client);
|
|
23
|
+
return {
|
|
24
|
+
runId: run_id,
|
|
25
|
+
result: (await waitRun(run_id, void 0, client)).result
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region recce-source/js/src/lib/api/profile.ts
|
|
31
|
+
async function submitProfileDiff(params, options, client = axiosClient) {
|
|
32
|
+
return await submitRun("profile_diff", params, options, client);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region recce-source/js/src/lib/api/valuediff.ts
|
|
37
|
+
async function submitValueDiff(params, options, client = axiosClient) {
|
|
38
|
+
return await submitRun("value_diff", params, options, client);
|
|
39
|
+
}
|
|
40
|
+
async function submitValueDiffDetail(params, options, client = axiosClient) {
|
|
41
|
+
return await submitRun("value_diff_detail", params, options, client);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { aggregateRuns, axiosClient, cancelRun, connectToCloud, createCheckByRun, createLineageDiffCheck, createSchemaDiffCheck, createSimpleCheck, deleteCheck, exportState, fetchGitHubAvatar, fetchModelRowCount, fetchUser, getCheck, getCll, getLineage, getLineageDiff, getLineageWithError, getModelInfo, getRun, getServerFlag, getServerInfo, getVersion, importState, isStateSyncing, listChecks, listRuns, localStorageKeys, markAsPresetCheck, markOnboardingCompleted, markRelaunchHintCompleted, queryModelRowCount, queryRowCount, reactQueryClient, rename, reorderChecks, saveAs, searchRuns, select, sessionStorageKeys, shareState, submitProfileDiff, submitQuery, submitQueryBase, submitQueryDiff, submitRowCountDiff, submitRun, submitRunFromCheck, submitValueDiff, submitValueDiffDetail, syncState, updateCheck, useChecks, useVersionNumber, waitRun };
|
|
46
|
+
//# sourceMappingURL=api.mjs.map
|
package/dist/api.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../recce-source/js/src/lib/api/rowcount.ts","../recce-source/js/src/lib/api/models.ts","../recce-source/js/src/lib/api/profile.ts","../recce-source/js/src/lib/api/valuediff.ts"],"sourcesContent":["import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { RowCount, RowCountDiff } from \"./models\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nexport interface RowCountParams {\n node_names: string[];\n}\nexport type RowCountResult = Record<string, RowCount>;\nexport interface RowCountDiffParams {\n node_names: string[];\n}\nexport type RowCountDiffResult = Record<string, RowCountDiff>;\nexport async function submitRowCountDiff(\n params: RowCountDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"row_count_diff\", params, options, client);\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { RowCountDiffResult, submitRowCountDiff } from \"./rowcount\";\nimport { waitRun } from \"./runs\";\n\nexport interface RowCount {\n name?: string;\n curr: number | null;\n}\n\nexport interface RowCountDiff {\n name?: string;\n base: number | null;\n curr: number | null;\n}\n\nexport interface QueryRowCountResult {\n runId: string;\n result: RowCountDiffResult;\n}\n\nexport async function fetchModelRowCount(\n modelName: string,\n client: AxiosInstance = axiosClient,\n): Promise<RowCountDiff> {\n const response = await client.get<RowCountDiff>(\n `/api/models/${modelName}/row_count`,\n );\n return response.data;\n}\n\nexport async function queryModelRowCount(\n modelName: string,\n client: AxiosInstance = axiosClient,\n): Promise<RowCountDiff> {\n const { result } = await queryRowCount([modelName], client);\n return result[modelName];\n}\n\nexport async function queryRowCount(\n modelNames: string[],\n client: AxiosInstance = axiosClient,\n): Promise<QueryRowCountResult> {\n if (modelNames.length === 0) {\n throw new Error(\"No model names provided\");\n }\n\n const { run_id } = await submitRowCountDiff(\n { node_names: modelNames },\n { nowait: true },\n client,\n );\n const run = await waitRun(run_id, undefined, client);\n\n return {\n runId: run_id,\n result: run.result as RowCountDiffResult,\n };\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nimport { ColumnRenderMode, DataFrame } from \"./types\";\n\nexport interface ProfileDiffParams {\n model: string;\n columns?: string[];\n}\n\nexport interface ProfileDiffResult {\n base?: DataFrame;\n current?: DataFrame;\n}\n\nexport interface ProfileDiffViewOptions {\n pinned_columns?: string[];\n display_mode?: \"side_by_side\" | \"inline\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\nexport async function submitProfileDiff(\n params: ProfileDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"profile_diff\", params, options, client);\n}\n\nexport interface TopKDiffParams {\n model: string;\n column_name: string;\n k: number;\n}\n\nexport interface TopKResult {\n values: (string | number | undefined)[];\n counts: number[];\n valids: number;\n}\n\nexport interface TopKDiffResult {\n base: TopKResult;\n current: TopKResult;\n}\n\nexport interface HistogramDiffParams {\n model: string;\n column_name: string;\n column_type: string;\n}\n\nexport interface HistogramResult {\n counts: number[];\n total: number;\n}\n\nexport interface HistogramDiffResult {\n base: HistogramResult;\n current: HistogramResult;\n min: number;\n max: number;\n bin_edges: number[];\n labels?: string[];\n}\n","import { AxiosInstance } from \"axios\";\nimport { axiosClient } from \"./axiosClient\";\nimport { SubmitOptions, submitRun } from \"./runs\";\nimport { ColumnRenderMode, DataFrame } from \"./types\";\n\nexport interface ValueDiffResult {\n summary: {\n total: number;\n added: number;\n removed: number;\n };\n data: DataFrame;\n}\n\nexport interface ValueDiffParams {\n model: string;\n primary_key: string | string[];\n columns?: string[];\n}\n\nexport async function submitValueDiff(\n params: ValueDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"value_diff\", params, options, client);\n}\n\nexport type ValueDiffDetailResult = DataFrame;\n\nexport type ValueDiffDetailParams = ValueDiffParams;\n\nexport interface ValueDiffDetailViewOptions {\n changed_only?: boolean;\n pinned_columns?: string[];\n display_mode?: \"inline\" | \"side_by_side\";\n columnsRenderMode?: Record<string, ColumnRenderMode>;\n}\n\nexport async function submitValueDiffDetail(\n params: ValueDiffParams,\n options?: SubmitOptions,\n client: AxiosInstance = axiosClient,\n) {\n return await submitRun(\"value_diff_detail\", params, options, client);\n}\n"],"mappings":";;;;;;AAYA,eAAsB,mBACpB,QACA,SACA,SAAwB,aACxB;AACA,QAAO,MAAM,UAAU,kBAAkB,QAAQ,SAAS,OAAO;;;;;ACInE,eAAsB,mBACpB,WACA,SAAwB,aACD;AAIvB,SAHiB,MAAM,OAAO,IAC5B,eAAe,UAAU,YAC1B,EACe;;AAGlB,eAAsB,mBACpB,WACA,SAAwB,aACD;CACvB,MAAM,EAAE,WAAW,MAAM,cAAc,CAAC,UAAU,EAAE,OAAO;AAC3D,QAAO,OAAO;;AAGhB,eAAsB,cACpB,YACA,SAAwB,aACM;AAC9B,KAAI,WAAW,WAAW,EACxB,OAAM,IAAI,MAAM,0BAA0B;CAG5C,MAAM,EAAE,WAAW,MAAM,mBACvB,EAAE,YAAY,YAAY,EAC1B,EAAE,QAAQ,MAAM,EAChB,OACD;AAGD,QAAO;EACL,OAAO;EACP,SAJU,MAAM,QAAQ,QAAQ,QAAW,OAAO,EAItC;EACb;;;;;ACpCH,eAAsB,kBACpB,QACA,SACA,SAAwB,aACxB;AACA,QAAO,MAAM,UAAU,gBAAgB,QAAQ,SAAS,OAAO;;;;;ACNjE,eAAsB,gBACpB,QACA,SACA,SAAwB,aACxB;AACA,QAAO,MAAM,UAAU,cAAc,QAAQ,SAAS,OAAO;;AAc/D,eAAsB,sBACpB,QACA,SACA,SAAwB,aACxB;AACA,QAAO,MAAM,UAAU,qBAAqB,QAAQ,SAAS,OAAO"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import { n as darkTheme, o as token, r as lightTheme, t as colors } from "./mui-theme-CUhybmBq.mjs";
|
|
3
|
-
import { $
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as
|
|
6
|
-
import {
|
|
7
|
-
import { t as DisableTooltipMessages } from "./tooltipMessage-
|
|
3
|
+
import { $ as supportsHistogramDiff, B as LineageViewContext, C as findByRunType, Ct as selectUpstream, G as useClipBoardToast, H as useLineageViewContextSafe, I as EmptyRowsRenderer, K as mergeKeys, L as ScreenshotDataGrid, R as createDataGridFromData, St as selectDownstream, Tt as union, U as deltaPercentageString, V as useLineageViewContext, _t as formatDuration, at as IconInfo, bt as isLineageGraphNode, dt as useRecceServerFlag, et as useModelColumns_default, g as useAppLocation, gt as useRecceInstanceInfo, ht as useRecceInstanceContext, i as useValueDiffAlertDialog_default, kt as toaster, l as defaultSqlQuery, lt as useLineageGraphContext, m as useRecceActionContext, n as useRecceCheckContext, nt as IconEdit, o as useRecceShareStateContext, ot as IconSave, pt as useIdleTimeout, q as mergeKeysWithStatus, r as useCheckToast, rt as IconExport, st as IconSync, u as useRecceQueryContext, ut as useRunsAggregated, vt as COLUMN_HEIGHT, w as runTypeHasRef, wt as toReactFlow, xt as layout, yt as isLineageGraphColumnNode } from "./RecceCheckContext-CwUCo6AW.mjs";
|
|
4
|
+
import { $ as trackLineageViewRender, A as isProfileDiffRun, B as EXPLORE_ACTION, D as useApiConfig, F as isRowCountDiffRun, H as EXPLORE_SOURCE, I as isRowCountRun, J as trackEnvironmentConfig, K as trackColumnLevelLineage, L as isTopKDiffRun, M as isQueryBaseRun, N as isQueryDiffRun, P as isQueryRun, Q as trackLineageSelection, R as isValueDiffDetailRun, U as LINEAGE_SELECTION_ACTION, Y as trackExploreAction, Z as trackHistoryAction, a as saveAs$1, at as trackSingleEnvironment, d as listRuns, et as trackMultiNodesAction, h as waitRun, i as rename, it as trackShareState, k as isHistogramDiffRun, l as cancelRun, m as submitRunFromCheck, nt as trackPreviewChange, ot as trackStateAction, p as submitRun, q as trackCopyToClipboard, r as isStateSyncing, rt as trackPreviewChangeFeedback, s as syncState, st as axiosClient, t as exportState, tt as trackNavigation, w as cacheKeys, z as isValueDiffRun } from "./state-Sc2b4jri.mjs";
|
|
5
|
+
import { C as getCll, S as createLineageDiffCheck, _ as submitQueryBase, a as createCheckByRun, b as select, c as getCheck, f as updateCheck, g as submitQuery, h as localStorageKeys, i as fetchUser, l as listChecks, m as connectToCloud, n as useVersionNumber, p as useChecks, r as fetchGitHubAvatar, s as deleteCheck, u as markAsPresetCheck, v as submitQueryDiff, x as createSchemaDiffCheck, y as sessionStorageKeys } from "./version-DP1kU_7v.mjs";
|
|
6
|
+
import { t as RECCE_SUPPORT_CALENDAR_URL } from "./urls-DT7FVEcS.mjs";
|
|
7
|
+
import { t as DisableTooltipMessages } from "./tooltipMessage-B_xMIKWL.mjs";
|
|
8
8
|
import CssBaseline from "@mui/material/CssBaseline";
|
|
9
9
|
import { ThemeProvider, alpha, useTheme } from "@mui/material/styles";
|
|
10
10
|
import { useTheme as useTheme$1 } from "next-themes";
|
|
11
|
-
import React, {
|
|
11
|
+
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import Alert from "@mui/material/Alert";
|
|
14
14
|
import CircularProgress from "@mui/material/CircularProgress";
|
|
@@ -16,19 +16,14 @@ import Stack from "@mui/material/Stack";
|
|
|
16
16
|
import Typography from "@mui/material/Typography";
|
|
17
17
|
import Box from "@mui/material/Box";
|
|
18
18
|
import Button from "@mui/material/Button";
|
|
19
|
-
import { ErrorBoundary
|
|
20
|
-
import ReactSplit
|
|
21
|
-
import { Background, BackgroundVariant, BaseEdge, ControlButton, Controls,
|
|
19
|
+
import { ErrorBoundary } from "@sentry/react";
|
|
20
|
+
import ReactSplit from "react-split";
|
|
21
|
+
import { Background, BackgroundVariant, BaseEdge, ControlButton, Controls, Handle, MiniMap, Panel, Position, ReactFlow, ReactFlowProvider, getBezierPath, getNodesBounds, useEdgesState, useNodesState, useReactFlow, useStore } from "@xyflow/react";
|
|
22
22
|
import Divider from "@mui/material/Divider";
|
|
23
|
-
import { AxiosError, AxiosInstance, AxiosResponse } from "axios";
|
|
24
|
-
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
25
23
|
import "@xyflow/react/dist/style.css";
|
|
24
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
25
|
+
import { AxiosError } from "axios";
|
|
26
26
|
import { FiArrowRight, FiCopy, FiFrown, FiInfo, FiPackage } from "react-icons/fi";
|
|
27
|
-
import { IconType } from "react-icons";
|
|
28
|
-
import { LuExternalLink } from "react-icons/lu";
|
|
29
|
-
import { TbChecklist, TbCloudUpload, TbPlus } from "react-icons/tb";
|
|
30
|
-
import _, { isEmpty } from "lodash";
|
|
31
|
-
import { PiBookmarkSimple, PiCaretDown, PiChatText, PiCheck, PiCheckCircle, PiCircle, PiCopy, PiInfo, PiInfoFill, PiMoon, PiNotePencil, PiPencilSimple, PiPlusCircle, PiRepeat, PiSun, PiTrashFill, PiTrashSimple, PiWarning, PiX } from "react-icons/pi";
|
|
32
27
|
import MuiDialog from "@mui/material/Dialog";
|
|
33
28
|
import DialogActions from "@mui/material/DialogActions";
|
|
34
29
|
import DialogContent from "@mui/material/DialogContent";
|
|
@@ -36,18 +31,22 @@ import DialogTitle from "@mui/material/DialogTitle";
|
|
|
36
31
|
import IconButton from "@mui/material/IconButton";
|
|
37
32
|
import { IoBookmarksOutline, IoClose, IoWarning } from "react-icons/io5";
|
|
38
33
|
import NextLink from "next/link";
|
|
34
|
+
import { usePathname } from "next/navigation";
|
|
35
|
+
import Link from "@mui/material/Link";
|
|
36
|
+
import MuiPopover from "@mui/material/Popover";
|
|
37
|
+
import { LuExternalLink } from "react-icons/lu";
|
|
38
|
+
import { TbChecklist, TbCloudUpload, TbPlus } from "react-icons/tb";
|
|
39
|
+
import _, { isEmpty } from "lodash";
|
|
39
40
|
import Checkbox from "@mui/material/Checkbox";
|
|
40
41
|
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
41
42
|
import TextField from "@mui/material/TextField";
|
|
42
43
|
import Menu from "@mui/material/Menu";
|
|
43
44
|
import MenuItem from "@mui/material/MenuItem";
|
|
44
45
|
import { VscCircleLarge, VscDiffAdded, VscDiffModified, VscDiffRemoved, VscFeedback, VscGitPullRequest, VscHistory, VscKebabVertical } from "react-icons/vsc";
|
|
46
|
+
import { PiBookmarkSimple, PiCaretDown, PiChatText, PiCheck, PiCheckCircle, PiCircle, PiCopy, PiInfo, PiInfoFill, PiMoon, PiNotePencil, PiPencilSimple, PiPlusCircle, PiRepeat, PiSun, PiTrashFill, PiTrashSimple, PiWarning, PiX } from "react-icons/pi";
|
|
45
47
|
import MuiTooltip from "@mui/material/Tooltip";
|
|
46
48
|
import { useCopyToClipboard, useInterval } from "usehooks-ts";
|
|
47
49
|
import ListSubheader from "@mui/material/ListSubheader";
|
|
48
|
-
import { usePathname } from "next/navigation";
|
|
49
|
-
import Link from "@mui/material/Link";
|
|
50
|
-
import MuiPopover from "@mui/material/Popover";
|
|
51
50
|
import { format, formatDistance, formatDistanceToNow, parseISO } from "date-fns";
|
|
52
51
|
import saveAs from "file-saver";
|
|
53
52
|
import { toCanvas } from "html-to-image";
|
|
@@ -228,7 +227,7 @@ const VSplit = (props) => {
|
|
|
228
227
|
//#endregion
|
|
229
228
|
//#region recce-source/js/src/lib/hooks/ScreenShot.tsx
|
|
230
229
|
const loadHtml2Canvas = async () => {
|
|
231
|
-
return (await import("./html2canvas-pro.esm-
|
|
230
|
+
return (await import("./html2canvas-pro.esm-E7kpobrC.mjs")).default;
|
|
232
231
|
};
|
|
233
232
|
const getHTMLElementFromRef = (refCurrent) => {
|
|
234
233
|
if ("element" in refCurrent) return refCurrent.element;
|
|
@@ -11768,4 +11767,4 @@ function NavBar() {
|
|
|
11768
11767
|
|
|
11769
11768
|
//#endregion
|
|
11770
11769
|
export { NodeSqlView as A, GraphEdge as B, NodeView as C, SqlEditor_default as D, RunStatusAndDate as E, HistoryToggle as F, MuiProvider as G, HSplit as H, GraphNode as I, mui_provider_default as K, ModelRowCount as L, CodeEditor_default as M, SchemaView as N, QueryForm as O, LineageViewTopBar as P, ResourceTypeTag as R, SetupConnectionBanner as S, RunView as T, VSplit as U, GraphColumnNode as V, ErrorBoundary$1 as W, CheckList as _, IdleTimeoutBadge as a, LineagePage as b, ChangeSummary as c, CheckEmptyState as d, CheckDetail as f, CheckBreadcrumb as g, CheckDescription as h, DisplayModeToggle as i, DiffEditor_default as j, EnvInfo as k, RunList as l, LineageDiffView as m, TopBar as n, SummaryView as o, SchemaDiffView as p, RecceVersionBadge as r, SchemaSummary as s, NavBar as t, RunPage as u, QueryPage as v, RunResultPane as w, LineageView as x, SetupConnectionGuide as y, RowCountDiffTag as z };
|
|
11771
|
-
//# sourceMappingURL=components-
|
|
11770
|
+
//# sourceMappingURL=components-DQUwJlNQ.mjs.map
|