@datarecce/ui 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RecceCheckContext-DIQjrvH8.mjs +228 -0
- package/dist/RecceCheckContext-DIQjrvH8.mjs.map +1 -0
- package/dist/RecceCheckContext-_xzNlnbJ.js +302 -0
- package/dist/RecceCheckContext-_xzNlnbJ.js.map +1 -0
- package/dist/api.d.mts +2 -102
- package/dist/api.d.ts +2 -102
- package/dist/api.js +59 -497
- package/dist/api.mjs +5 -437
- package/dist/components-CfY72Lq2.mjs +11686 -0
- package/dist/components-CfY72Lq2.mjs.map +1 -0
- package/dist/{styles-JV3V5MVO.css → components-D2DRqJsz.css} +28 -0
- package/dist/components-D2DRqJsz.css.map +1 -0
- package/dist/components-DXbVq9Cw.js +14038 -0
- package/dist/components-DXbVq9Cw.js.map +1 -0
- package/dist/components-dVXbmdqd.css +70 -0
- package/dist/components-dVXbmdqd.css.map +1 -0
- package/dist/components.d.mts +2 -471
- package/dist/components.d.ts +2 -471
- package/dist/components.js +85 -27392
- package/dist/components.mjs +8 -27250
- package/dist/hooks-C4jkoryM.js +40 -0
- package/dist/hooks-C4jkoryM.js.map +1 -0
- package/dist/hooks-C8pyX9m_.mjs +34 -0
- package/dist/hooks-C8pyX9m_.mjs.map +1 -0
- package/dist/hooks.d.mts +2 -296
- package/dist/hooks.d.ts +2 -296
- package/dist/hooks.js +33 -7583
- package/dist/hooks.mjs +6 -7521
- package/dist/html2canvas-pro.esm-BR5xeFe-.mjs +7249 -0
- package/dist/html2canvas-pro.esm-BR5xeFe-.mjs.map +1 -0
- package/dist/html2canvas-pro.esm-CVOsBdk0.js +7250 -0
- package/dist/html2canvas-pro.esm-CVOsBdk0.js.map +1 -0
- package/dist/index-CVPmrztP.d.ts +1825 -0
- package/dist/index-CVPmrztP.d.ts.map +1 -0
- package/dist/index-DIHuswfP.d.mts +1827 -0
- package/dist/index-DIHuswfP.d.mts.map +1 -0
- package/dist/index.d.mts +2 -29
- package/dist/index.d.ts +2 -29
- package/dist/index.js +177 -28784
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -28555
- package/dist/index.mjs.map +1 -1
- package/dist/state-AeoqV9ja.js +9176 -0
- package/dist/state-AeoqV9ja.js.map +1 -0
- package/dist/state-BbgVwFV2.mjs +8204 -0
- package/dist/state-BbgVwFV2.mjs.map +1 -0
- package/dist/{style-466WWZLM.css → state-IA7HWYOs.css} +81 -0
- package/dist/state-IA7HWYOs.css.map +1 -0
- package/dist/state-eEsMhIy4.css +215 -0
- package/dist/state-eEsMhIy4.css.map +1 -0
- package/dist/tooltipMessage-CrXjOmVM.mjs +7 -0
- package/dist/tooltipMessage-CrXjOmVM.mjs.map +1 -0
- package/dist/tooltipMessage-Dbi1kkfi.js +13 -0
- package/dist/tooltipMessage-Dbi1kkfi.js.map +1 -0
- package/dist/types.d.mts +2 -32
- package/dist/types.d.ts +2 -32
- package/dist/types.js +8 -24
- package/dist/types.mjs +4 -18
- package/dist/urls-D7PrPolY.mjs +16 -0
- package/dist/urls-D7PrPolY.mjs.map +1 -0
- package/dist/urls-SazAekCZ.js +34 -0
- package/dist/urls-SazAekCZ.js.map +1 -0
- package/dist/version-C2NU3xyx.mjs +89 -0
- package/dist/version-C2NU3xyx.mjs.map +1 -0
- package/dist/version-MxW9vrDY.js +137 -0
- package/dist/version-MxW9vrDY.js.map +1 -0
- package/package.json +7 -7
- package/dist/LineageViewContext-DEa54ZNF.d.mts +0 -103
- package/dist/LineageViewContext-DPVC8ak8.d.ts +0 -103
- package/dist/agGridStyles-VYALGSJU.css +0 -55
- package/dist/api.js.map +0 -1
- package/dist/api.mjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/components.mjs.map +0 -1
- package/dist/hooks.js.map +0 -1
- package/dist/hooks.mjs.map +0 -1
- package/dist/lineagecheck-BQaKAQzn.d.mts +0 -597
- package/dist/lineagecheck-BQaKAQzn.d.ts +0 -597
- package/dist/styles-QUPOR3LM.css +0 -24
- package/dist/styles-TU5BYTIL.css +0 -21
- package/dist/types.js.map +0 -1
- package/dist/types.mjs.map +0 -1
|
@@ -1,3 +1,81 @@
|
|
|
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
|
+
/* AG Grid custom styles for query views */
|
|
58
|
+
|
|
59
|
+
/* Header hover behavior for pin/key icons */
|
|
60
|
+
.grid-header:hover .pin-icon {
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.grid-header:hover .key-icon {
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Context menu visibility on row hover */
|
|
69
|
+
.ag-row:hover .row-context-menu {
|
|
70
|
+
visibility: visible;
|
|
71
|
+
width: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Cell overflow for context menu */
|
|
75
|
+
.cell-show-context-menu {
|
|
76
|
+
overflow: visible;
|
|
77
|
+
}
|
|
78
|
+
|
|
1
79
|
/**
|
|
2
80
|
* Schema diff color palette
|
|
3
81
|
* Uses CSS custom properties for theme-aware colors
|
|
@@ -132,3 +210,6 @@
|
|
|
132
210
|
.row-normal.ag-row-selected:hover .column-index-reordered {
|
|
133
211
|
background-color: var(--schema-color-reordered-active);
|
|
134
212
|
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/*# sourceMappingURL=state-IA7HWYOs.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-IA7HWYOs.css","names":[],"sources":["../recce-source/js/src/components/data-grid/agGridStyles.css","../recce-source/js/src/components/query/styles.css","../recce-source/js/src/components/schema/style.css"],"sourcesContent":["/**\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","/* 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"],"mappings":"AAAA;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;;ACtDA;;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"}
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
/* AG Grid custom styles for query views */
|
|
58
|
+
|
|
59
|
+
/* Header hover behavior for pin/key icons */
|
|
60
|
+
.grid-header:hover .pin-icon {
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.grid-header:hover .key-icon {
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Context menu visibility on row hover */
|
|
69
|
+
.ag-row:hover .row-context-menu {
|
|
70
|
+
visibility: visible;
|
|
71
|
+
width: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Cell overflow for context menu */
|
|
75
|
+
.cell-show-context-menu {
|
|
76
|
+
overflow: visible;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Schema diff color palette
|
|
81
|
+
* Uses CSS custom properties for theme-aware colors
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/* Light mode (default) */
|
|
85
|
+
:root,
|
|
86
|
+
.light {
|
|
87
|
+
--schema-color-added: rgb(204 255 216);
|
|
88
|
+
--schema-color-added-hover: rgb(193 246 205);
|
|
89
|
+
--schema-color-added-active: rgb(166 242 184);
|
|
90
|
+
--schema-color-removed: rgb(255 215 213);
|
|
91
|
+
--schema-color-removed-hover: rgb(246 195 193);
|
|
92
|
+
--schema-color-removed-active: rgb(242 170 166);
|
|
93
|
+
--schema-color-normal: #ffffff;
|
|
94
|
+
--schema-color-normal-hover: rgb(241 241 241);
|
|
95
|
+
--schema-color-normal-active: rgb(230 230 230);
|
|
96
|
+
--schema-color-reordered: rgb(255 173 21);
|
|
97
|
+
--schema-color-reordered-hover: rgb(249 164 6);
|
|
98
|
+
--schema-color-reordered-active: rgb(224 147 6);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Dark mode */
|
|
102
|
+
.dark {
|
|
103
|
+
--schema-color-added: rgb(26 77 26);
|
|
104
|
+
--schema-color-added-hover: rgb(34 97 34);
|
|
105
|
+
--schema-color-added-active: rgb(42 117 42);
|
|
106
|
+
--schema-color-removed: rgb(92 31 31);
|
|
107
|
+
--schema-color-removed-hover: rgb(112 41 41);
|
|
108
|
+
--schema-color-removed-active: rgb(132 51 51);
|
|
109
|
+
--schema-color-normal: #262626;
|
|
110
|
+
--schema-color-normal-hover: rgb(64 64 64);
|
|
111
|
+
--schema-color-normal-active: rgb(82 82 82);
|
|
112
|
+
--schema-color-reordered: rgb(180 83 9);
|
|
113
|
+
--schema-color-reordered-hover: rgb(146 64 14);
|
|
114
|
+
--schema-color-reordered-active: rgb(120 53 15);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Row backgrounds must be applied to cells because rows use display:contents */
|
|
118
|
+
.row-added {
|
|
119
|
+
background-color: var(--schema-color-added);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.row-added:hover,
|
|
123
|
+
.row-added[aria-selected="true"],
|
|
124
|
+
.row-added.ag-row-selected {
|
|
125
|
+
background-color: var(--schema-color-added-hover);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.row-added[aria-selected="true"]:hover,
|
|
129
|
+
.row-added.ag-row-selected:hover {
|
|
130
|
+
background-color: var(--schema-color-added-active);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.row-removed {
|
|
134
|
+
background-color: var(--schema-color-removed);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.row-removed:hover,
|
|
138
|
+
.row-removed[aria-selected="true"],
|
|
139
|
+
.row-removed.ag-row-selected {
|
|
140
|
+
background-color: var(--schema-color-removed-hover);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.row-removed[aria-selected="true"]:hover,
|
|
144
|
+
.row-removed.ag-row-selected:hover {
|
|
145
|
+
background-color: var(--schema-color-removed-active);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.row-normal {
|
|
149
|
+
background-color: var(--schema-color-normal);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.row-normal:hover,
|
|
153
|
+
.row-normal[aria-selected="true"],
|
|
154
|
+
.row-normal.ag-row-selected {
|
|
155
|
+
background-color: var(--schema-color-normal-hover);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.row-normal[aria-selected="true"]:hover,
|
|
159
|
+
.row-normal.ag-row-selected:hover {
|
|
160
|
+
background-color: var(--schema-color-normal-active);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.row-selectable {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* for general column */
|
|
168
|
+
|
|
169
|
+
.schema-column[aria-selected="true"] {
|
|
170
|
+
outline: none;
|
|
171
|
+
outline-offset: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.schema-column-index {
|
|
175
|
+
text-align: right;
|
|
176
|
+
filter: brightness(0.95);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* for reorder-index and type-change column */
|
|
180
|
+
|
|
181
|
+
/* Type change badges for merged type column */
|
|
182
|
+
.type-badge {
|
|
183
|
+
display: inline-block;
|
|
184
|
+
padding: 2px 6px;
|
|
185
|
+
border-radius: 4px;
|
|
186
|
+
font-size: 0.75rem;
|
|
187
|
+
line-height: 1.2;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.type-badge-removed {
|
|
191
|
+
background-color: var(--schema-color-removed);
|
|
192
|
+
margin-right: 4px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.type-badge-added {
|
|
196
|
+
background-color: var(--schema-color-added);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.column-index-reordered {
|
|
200
|
+
background-color: var(--schema-color-reordered);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.row-normal:hover .column-index-reordered,
|
|
204
|
+
.row-normal[aria-selected="true"] .column-index-reordered,
|
|
205
|
+
.row-normal.ag-row-selected .column-index-reordered {
|
|
206
|
+
background-color: var(--schema-color-reordered-hover);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.row-normal[aria-selected="true"]:hover .column-index-reordered,
|
|
210
|
+
.row-normal.ag-row-selected:hover .column-index-reordered {
|
|
211
|
+
background-color: var(--schema-color-reordered-active);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/*# sourceMappingURL=state-eEsMhIy4.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-eEsMhIy4.css","names":[],"sources":["../recce-source/js/src/components/data-grid/agGridStyles.css","../recce-source/js/src/components/query/styles.css","../recce-source/js/src/components/schema/style.css"],"sourcesContent":["/**\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","/* 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"],"mappings":"AAAA;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;;ACtDA;;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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
//#region recce-source/js/src/constants/tooltipMessage.ts
|
|
3
|
+
const DisableTooltipMessages = { add_or_remove: "Unavailable for added or removed resources." };
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
export { DisableTooltipMessages as t };
|
|
7
|
+
//# sourceMappingURL=tooltipMessage-CrXjOmVM.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipMessage-CrXjOmVM.mjs","names":[],"sources":["../recce-source/js/src/constants/tooltipMessage.ts"],"sourcesContent":["export const DisableTooltipMessages = {\n add_or_remove: \"Unavailable for added or removed resources.\",\n} as const;\n"],"mappings":";;AAAA,MAAa,yBAAyB,EACpC,eAAe,+CAChB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
//#region recce-source/js/src/constants/tooltipMessage.ts
|
|
4
|
+
const DisableTooltipMessages = { add_or_remove: "Unavailable for added or removed resources." };
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'DisableTooltipMessages', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return DisableTooltipMessages;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=tooltipMessage-Dbi1kkfi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipMessage-Dbi1kkfi.js","names":[],"sources":["../recce-source/js/src/constants/tooltipMessage.ts"],"sourcesContent":["export const DisableTooltipMessages = {\n add_or_remove: \"Unavailable for added or removed resources.\",\n} as const;\n"],"mappings":";;;AAAA,MAAa,yBAAyB,EACpC,eAAe,+CAChB"}
|
package/dist/types.d.mts
CHANGED
|
@@ -1,33 +1,3 @@
|
|
|
1
|
-
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BQaKAQzn.mjs';
|
|
2
|
-
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BQaKAQzn.mjs';
|
|
3
|
-
import '@tanstack/react-query';
|
|
4
|
-
import 'axios';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react-icons';
|
|
7
|
-
import 'react/jsx-runtime';
|
|
8
|
-
import 'ag-grid-community';
|
|
9
|
-
import 'ag-grid-react';
|
|
10
1
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare function buildQuery(check: Check<RunParamTypes>): string;
|
|
14
|
-
|
|
15
|
-
declare function isSchemaChanged(baseSchema: NodeData["columns"], currSchema: NodeData["columns"]): boolean;
|
|
16
|
-
|
|
17
|
-
declare function columnPrecisionSelectOptions(colName: string, onColumnsRenderModeChanged: (col: Record<string, ColumnRenderMode>) => void): {
|
|
18
|
-
value: string;
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
}[];
|
|
21
|
-
|
|
22
|
-
declare function deltaPercentageString(base: number, current: number): string;
|
|
23
|
-
|
|
24
|
-
declare const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
25
|
-
|
|
26
|
-
declare const DisableTooltipMessages: {
|
|
27
|
-
readonly add_or_remove: "Unavailable for added or removed resources.";
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare const PUBLIC_API_URL: string;
|
|
31
|
-
declare const PUBLIC_CLOUD_WEB_URL: string;
|
|
32
|
-
|
|
33
|
-
export { ColumnRenderMode, DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RunParamTypes, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isSchemaChanged };
|
|
2
|
+
import { Cr as isSimpleRun, Er as isValueDiffRun, G as RECCE_SUPPORT_CALENDAR_URL, H as PUBLIC_API_URL, J as isSchemaChanged, K as deltaPercentageString, Sr as isSchemaDiffRun, Tr as isValueDiffDetailRun, U as PUBLIC_CLOUD_WEB_URL, W as DisableTooltipMessages, X as buildQuery, Y as buildDescription, Z as buildTitle, _r as isQueryBaseRun, ar as DataFrame, br as isRowCountDiffRun, cr as RowDataTypes, dr as RunParamTypes, er as RunFormProps, fr as SchemaDiffParams, gr as isProfileRun, hr as isProfileDiffRun, ir as ColumnType, lr as RowObjectType, mr as isLineageDiffRun, nr as AxiosQueryParams, or as LineageDiffParams, pr as isHistogramDiffRun, q as columnPrecisionSelectOptions, rr as ColumnRenderMode, sr as RowData, tr as RunResultViewProps, ur as Run, vr as isQueryDiffRun, wr as isTopKDiffRun, xr as isRowCountRun, yr as isQueryRun } from "./index-DIHuswfP.mjs";
|
|
3
|
+
export { AxiosQueryParams, ColumnRenderMode, ColumnType, DataFrame, DisableTooltipMessages, LineageDiffParams, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RowData, RowDataTypes, RowObjectType, Run, RunFormProps, RunParamTypes, RunResultViewProps, SchemaDiffParams, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isHistogramDiffRun, isLineageDiffRun, isProfileDiffRun, isProfileRun, isQueryBaseRun, isQueryDiffRun, isQueryRun, isRowCountDiffRun, isRowCountRun, isSchemaChanged, isSchemaDiffRun, isSimpleRun, isTopKDiffRun, isValueDiffDetailRun, isValueDiffRun };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,33 +1,3 @@
|
|
|
1
|
-
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BQaKAQzn.js';
|
|
2
|
-
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BQaKAQzn.js';
|
|
3
|
-
import '@tanstack/react-query';
|
|
4
|
-
import 'axios';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react-icons';
|
|
7
|
-
import 'react/jsx-runtime';
|
|
8
|
-
import 'ag-grid-community';
|
|
9
|
-
import 'ag-grid-react';
|
|
10
1
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare function buildQuery(check: Check<RunParamTypes>): string;
|
|
14
|
-
|
|
15
|
-
declare function isSchemaChanged(baseSchema: NodeData["columns"], currSchema: NodeData["columns"]): boolean;
|
|
16
|
-
|
|
17
|
-
declare function columnPrecisionSelectOptions(colName: string, onColumnsRenderModeChanged: (col: Record<string, ColumnRenderMode>) => void): {
|
|
18
|
-
value: string;
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
}[];
|
|
21
|
-
|
|
22
|
-
declare function deltaPercentageString(base: number, current: number): string;
|
|
23
|
-
|
|
24
|
-
declare const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
25
|
-
|
|
26
|
-
declare const DisableTooltipMessages: {
|
|
27
|
-
readonly add_or_remove: "Unavailable for added or removed resources.";
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare const PUBLIC_API_URL: string;
|
|
31
|
-
declare const PUBLIC_CLOUD_WEB_URL: string;
|
|
32
|
-
|
|
33
|
-
export { ColumnRenderMode, DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RunParamTypes, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isSchemaChanged };
|
|
2
|
+
import { Cr as isSimpleRun, Er as isValueDiffRun, G as RECCE_SUPPORT_CALENDAR_URL, H as PUBLIC_API_URL, J as isSchemaChanged, K as deltaPercentageString, Sr as isSchemaDiffRun, Tr as isValueDiffDetailRun, U as PUBLIC_CLOUD_WEB_URL, W as DisableTooltipMessages, X as buildQuery, Y as buildDescription, Z as buildTitle, _r as isQueryBaseRun, ar as DataFrame, br as isRowCountDiffRun, cr as RowDataTypes, dr as RunParamTypes, er as RunFormProps, fr as SchemaDiffParams, gr as isProfileRun, hr as isProfileDiffRun, ir as ColumnType, lr as RowObjectType, mr as isLineageDiffRun, nr as AxiosQueryParams, or as LineageDiffParams, pr as isHistogramDiffRun, q as columnPrecisionSelectOptions, rr as ColumnRenderMode, sr as RowData, tr as RunResultViewProps, ur as Run, vr as isQueryDiffRun, wr as isTopKDiffRun, xr as isRowCountRun, yr as isQueryRun } from "./index-CVPmrztP.js";
|
|
3
|
+
export { AxiosQueryParams, ColumnRenderMode, ColumnType, DataFrame, DisableTooltipMessages, LineageDiffParams, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL, RowData, RowDataTypes, RowObjectType, Run, RunFormProps, RunParamTypes, RunResultViewProps, SchemaDiffParams, buildDescription, buildQuery, buildTitle, columnPrecisionSelectOptions, deltaPercentageString, isHistogramDiffRun, isLineageDiffRun, isProfileDiffRun, isProfileRun, isQueryBaseRun, isQueryDiffRun, isQueryRun, isRowCountDiffRun, isRowCountRun, isSchemaChanged, isSchemaDiffRun, isSimpleRun, isTopKDiffRun, isValueDiffDetailRun, isValueDiffRun };
|
package/dist/types.js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
// recce-source/js/src/lib/const.ts
|
|
12
|
-
var apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
13
|
-
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
14
|
-
var PUBLIC_API_URL = apiUrl;
|
|
15
|
-
var cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
16
|
-
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
17
|
-
var PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
18
|
-
|
|
19
|
-
exports.DisableTooltipMessages = DisableTooltipMessages;
|
|
20
|
-
exports.PUBLIC_API_URL = PUBLIC_API_URL;
|
|
21
|
-
exports.PUBLIC_CLOUD_WEB_URL = PUBLIC_CLOUD_WEB_URL;
|
|
22
|
-
exports.RECCE_SUPPORT_CALENDAR_URL = RECCE_SUPPORT_CALENDAR_URL;
|
|
23
|
-
//# sourceMappingURL=types.js.map
|
|
24
|
-
//# sourceMappingURL=types.js.map
|
|
1
|
+
"use client"
|
|
2
|
+
const require_urls = require('./urls-SazAekCZ.js');
|
|
3
|
+
const require_tooltipMessage = require('./tooltipMessage-Dbi1kkfi.js');
|
|
4
|
+
|
|
5
|
+
exports.DisableTooltipMessages = require_tooltipMessage.DisableTooltipMessages;
|
|
6
|
+
exports.PUBLIC_API_URL = require_urls.PUBLIC_API_URL;
|
|
7
|
+
exports.PUBLIC_CLOUD_WEB_URL = require_urls.PUBLIC_CLOUD_WEB_URL;
|
|
8
|
+
exports.RECCE_SUPPORT_CALENDAR_URL = require_urls.RECCE_SUPPORT_CALENDAR_URL;
|
package/dist/types.mjs
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use client"
|
|
2
|
+
import { n as PUBLIC_API_URL, r as PUBLIC_CLOUD_WEB_URL, t as RECCE_SUPPORT_CALENDAR_URL } from "./urls-D7PrPolY.mjs";
|
|
3
|
+
import { t as DisableTooltipMessages } from "./tooltipMessage-CrXjOmVM.mjs";
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
var DisableTooltipMessages = {
|
|
6
|
-
add_or_remove: "Unavailable for added or removed resources."
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
// recce-source/js/src/lib/const.ts
|
|
10
|
-
var apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
11
|
-
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
12
|
-
var PUBLIC_API_URL = apiUrl;
|
|
13
|
-
var cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
14
|
-
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
15
|
-
var PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
16
|
-
|
|
17
|
-
export { DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL };
|
|
18
|
-
//# sourceMappingURL=types.mjs.map
|
|
19
|
-
//# sourceMappingURL=types.mjs.map
|
|
5
|
+
export { DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
//#region recce-source/js/src/lib/const.ts
|
|
3
|
+
let apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
4
|
+
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
5
|
+
const PUBLIC_API_URL = apiUrl;
|
|
6
|
+
let cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
7
|
+
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
8
|
+
const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region recce-source/js/src/constants/urls.ts
|
|
12
|
+
const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { PUBLIC_API_URL as n, PUBLIC_CLOUD_WEB_URL as r, RECCE_SUPPORT_CALENDAR_URL as t };
|
|
16
|
+
//# sourceMappingURL=urls-D7PrPolY.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urls-D7PrPolY.mjs","names":[],"sources":["../recce-source/js/src/lib/const.ts","../recce-source/js/src/constants/urls.ts"],"sourcesContent":["let apiUrl = process.env.NEXT_PUBLIC_API_URL;\napiUrl ??= typeof window !== \"undefined\" ? window.location.origin : \"\";\n\nexport const PUBLIC_API_URL = apiUrl;\n\nlet cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;\ncloudWebUrl ??= \"https://cloud.datarecce.io\";\n\nexport const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;\n","export const RECCE_SUPPORT_CALENDAR_URL = \"https://cal.com/team/recce/chat\";\n"],"mappings":";;AAAA,IAAI,SAAS,QAAQ,IAAI;AACzB,WAAW,OAAO,WAAW,cAAc,OAAO,SAAS,SAAS;AAEpE,MAAa,iBAAiB;AAE9B,IAAI,cAAc,QAAQ,IAAI;AAC9B,gBAAgB;AAEhB,MAAa,uBAAuB;;;;ACRpC,MAAa,6BAA6B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
//#region recce-source/js/src/lib/const.ts
|
|
4
|
+
let apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
5
|
+
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
6
|
+
const PUBLIC_API_URL = apiUrl;
|
|
7
|
+
let cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
8
|
+
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
9
|
+
const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region recce-source/js/src/constants/urls.ts
|
|
13
|
+
const RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, 'PUBLIC_API_URL', {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () {
|
|
19
|
+
return PUBLIC_API_URL;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, 'PUBLIC_CLOUD_WEB_URL', {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () {
|
|
25
|
+
return PUBLIC_CLOUD_WEB_URL;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, 'RECCE_SUPPORT_CALENDAR_URL', {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () {
|
|
31
|
+
return RECCE_SUPPORT_CALENDAR_URL;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=urls-SazAekCZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urls-SazAekCZ.js","names":[],"sources":["../recce-source/js/src/lib/const.ts","../recce-source/js/src/constants/urls.ts"],"sourcesContent":["let apiUrl = process.env.NEXT_PUBLIC_API_URL;\napiUrl ??= typeof window !== \"undefined\" ? window.location.origin : \"\";\n\nexport const PUBLIC_API_URL = apiUrl;\n\nlet cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;\ncloudWebUrl ??= \"https://cloud.datarecce.io\";\n\nexport const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;\n","export const RECCE_SUPPORT_CALENDAR_URL = \"https://cal.com/team/recce/chat\";\n"],"mappings":";;;AAAA,IAAI,SAAS,QAAQ,IAAI;AACzB,WAAW,OAAO,WAAW,cAAc,OAAO,SAAS,SAAS;AAEpE,MAAa,iBAAiB;AAE9B,IAAI,cAAc,QAAQ,IAAI;AAC9B,gBAAgB;AAEhB,MAAa,uBAAuB;;;;ACRpC,MAAa,6BAA6B"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import { jn as axiosClient } from "./state-BbgVwFV2.mjs";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import axios, { AxiosResponse } from "axios";
|
|
5
|
+
|
|
6
|
+
//#region recce-source/js/src/lib/api/schemacheck.ts
|
|
7
|
+
async function createSchemaDiffCheck(params) {
|
|
8
|
+
return (await axiosClient.post("/api/checks", {
|
|
9
|
+
type: "schema_diff",
|
|
10
|
+
params
|
|
11
|
+
})).data;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region recce-source/js/src/lib/api/select.ts
|
|
16
|
+
async function select(input) {
|
|
17
|
+
return (await axiosClient.post(`/api/select`, input)).data;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region recce-source/js/src/lib/api/sessionStorageKeys.ts
|
|
22
|
+
const prefix$1 = "recce";
|
|
23
|
+
const sessionStorageKeys = {
|
|
24
|
+
recommendationIgnored: `${prefix$1}-recommendation-ignored`,
|
|
25
|
+
recommendationShowed: `${prefix$1}-recommendation-showed`,
|
|
26
|
+
prevRefreshTimeStamp: `${prefix$1}-prev-refresh-timestamp`,
|
|
27
|
+
lineageNotificationDismissed: `${prefix$1}-lineage-notification-dismissed`
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region recce-source/js/src/lib/api/localStorageKeys.ts
|
|
32
|
+
const prefix = "recce-";
|
|
33
|
+
const localStorageKeys = {
|
|
34
|
+
bypassSaveOverwrite: `${prefix}-bypass-save-overwrite`,
|
|
35
|
+
previewChangeFeedbackID: `${prefix}-preview-change-feedback`,
|
|
36
|
+
prepareEnvGuideID: `${prefix}-prepare-env`
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region recce-source/js/src/lib/api/connectToCloud.ts
|
|
41
|
+
async function connectToCloud() {
|
|
42
|
+
return (await axiosClient.post("/api/connect")).data;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region recce-source/js/src/lib/api/user.ts
|
|
47
|
+
async function fetchUser() {
|
|
48
|
+
try {
|
|
49
|
+
return (await axiosClient.get("/api/users")).data;
|
|
50
|
+
} catch (error) {
|
|
51
|
+
console.error("Error fetching user data:", error);
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
async function fetchGitHubAvatar(userId) {
|
|
56
|
+
try {
|
|
57
|
+
return (await axios.get(`https://api.github.com/user/${userId}`)).data.avatar_url;
|
|
58
|
+
} catch (error) {
|
|
59
|
+
console.warn("Failed to fetch GitHub avatar:", error);
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region recce-source/js/src/lib/api/version.ts
|
|
66
|
+
function useVersionNumber() {
|
|
67
|
+
const [version, setVersion] = useState("");
|
|
68
|
+
const [latestVersion, setLatestVersion] = useState("");
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
async function fetchVersion() {
|
|
71
|
+
try {
|
|
72
|
+
const { version: version$1, latestVersion: latestVersion$1 } = (await axiosClient.get("/api/version")).data;
|
|
73
|
+
setVersion(version$1);
|
|
74
|
+
setLatestVersion(latestVersion$1);
|
|
75
|
+
} catch (error) {
|
|
76
|
+
console.error("Error fetching version number:", error);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
fetchVersion();
|
|
80
|
+
}, []);
|
|
81
|
+
return {
|
|
82
|
+
version,
|
|
83
|
+
latestVersion
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//#endregion
|
|
88
|
+
export { localStorageKeys as a, createSchemaDiffCheck as c, connectToCloud as i, fetchGitHubAvatar as n, sessionStorageKeys as o, fetchUser as r, select as s, useVersionNumber as t };
|
|
89
|
+
//# sourceMappingURL=version-C2NU3xyx.mjs.map
|