@datarecce/ui 0.1.40 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (719) hide show
  1. package/README.md +28 -133
  2. package/dist/AuthModal-C8LetZNB.js +23 -0
  3. package/dist/AuthModal-C8LetZNB.js.map +1 -0
  4. package/dist/LineageCanvas-CR38SDYr.d.ts +41 -0
  5. package/dist/LineageCanvas-CR38SDYr.d.ts.map +1 -0
  6. package/dist/ResultErrorFallback-C7c-TN1p.js +3 -0
  7. package/dist/ResultErrorFallback-C7c-TN1p.js.map +1 -0
  8. package/dist/RouteConfigContext-z8YNimdP.d.ts +172 -0
  9. package/dist/RouteConfigContext-z8YNimdP.d.ts.map +1 -0
  10. package/dist/RunProgress-DyFIALbI.d.ts +429 -0
  11. package/dist/RunProgress-DyFIALbI.d.ts.map +1 -0
  12. package/dist/ScreenshotDataGrid-BfxYUThx.d.ts +64 -0
  13. package/dist/ScreenshotDataGrid-BfxYUThx.d.ts.map +1 -0
  14. package/dist/SplitPane-B-BLxZaQ.d.ts +1427 -0
  15. package/dist/SplitPane-B-BLxZaQ.d.ts.map +1 -0
  16. package/dist/advanced.d.ts +18 -0
  17. package/dist/advanced.d.ts.map +1 -0
  18. package/dist/advanced.js +3 -0
  19. package/dist/advanced.js.map +1 -0
  20. package/dist/api-ZZ4cc9b9.d.ts +255 -0
  21. package/dist/api-ZZ4cc9b9.d.ts.map +1 -0
  22. package/dist/api-_i6BZPkM.js +3 -0
  23. package/dist/api-_i6BZPkM.js.map +1 -0
  24. package/dist/api.d.ts +3 -2
  25. package/dist/api.js +2 -100
  26. package/dist/colors--47Kkns4.js +3 -0
  27. package/dist/colors--47Kkns4.js.map +1 -0
  28. package/dist/colors-vY9Yzui0.d.ts +255 -0
  29. package/dist/colors-vY9Yzui0.d.ts.map +1 -0
  30. package/dist/components-run.d.ts +8 -0
  31. package/dist/components-run.js +2 -0
  32. package/dist/components.d.ts +22 -2
  33. package/dist/components.js +2 -86
  34. package/dist/const-DbXBkrxT.js +3 -0
  35. package/dist/const-DbXBkrxT.js.map +1 -0
  36. package/dist/constants-DD5vJv2q.js +3 -0
  37. package/dist/constants-DD5vJv2q.js.map +1 -0
  38. package/dist/constants.d.ts +3 -0
  39. package/dist/constants.js +2 -0
  40. package/dist/contexts.d.ts +7 -0
  41. package/dist/contexts.js +2 -0
  42. package/dist/flag-CiR2E5oz.d.ts +898 -0
  43. package/dist/flag-CiR2E5oz.d.ts.map +1 -0
  44. package/dist/flag-koeDAqr3.js +3 -0
  45. package/dist/flag-koeDAqr3.js.map +1 -0
  46. package/dist/hooks.d.ts +15 -2
  47. package/dist/hooks.js +2 -43
  48. package/dist/index-BFkbe0aF.d.ts +698 -0
  49. package/dist/index-BFkbe0aF.d.ts.map +1 -0
  50. package/dist/index-Ba3hp2Ng.d.ts +471 -0
  51. package/dist/index-Ba3hp2Ng.d.ts.map +1 -0
  52. package/dist/index-C_kD4ZQ3.d.ts +1079 -0
  53. package/dist/index-C_kD4ZQ3.d.ts.map +1 -0
  54. package/dist/index-CiPcALu4.d.ts +146 -0
  55. package/dist/index-CiPcALu4.d.ts.map +1 -0
  56. package/dist/index-CkXLPYZY.d.ts +13 -0
  57. package/dist/index-CkXLPYZY.d.ts.map +1 -0
  58. package/dist/index-DTCpHvX_.d.ts +211 -0
  59. package/dist/index-DTCpHvX_.d.ts.map +1 -0
  60. package/dist/index-DVoQsx5c.d.ts +349 -0
  61. package/dist/index-DVoQsx5c.d.ts.map +1 -0
  62. package/dist/index-DmwYRgDR.d.ts +192 -0
  63. package/dist/index-DmwYRgDR.d.ts.map +1 -0
  64. package/dist/index-N8N7XmRj.d.ts +130 -0
  65. package/dist/index-N8N7XmRj.d.ts.map +1 -0
  66. package/dist/index-h_fw6R9U.d.ts +1501 -0
  67. package/dist/index-h_fw6R9U.d.ts.map +1 -0
  68. package/dist/index-o48TPoFN.d.ts +734 -0
  69. package/dist/index-o48TPoFN.d.ts.map +1 -0
  70. package/dist/index.d.ts +24 -2
  71. package/dist/index.js +2 -198
  72. package/dist/keepAlive-CEzyrDfg.js +3 -0
  73. package/dist/keepAlive-CEzyrDfg.js.map +1 -0
  74. package/dist/lib/api/axiosClient.d.ts +8 -0
  75. package/dist/lib/api/axiosClient.d.ts.map +1 -0
  76. package/dist/lib/api/axiosClient.js +3 -0
  77. package/dist/lib/api/axiosClient.js.map +1 -0
  78. package/dist/lib/api/track.d.ts +137 -0
  79. package/dist/lib/api/track.d.ts.map +1 -0
  80. package/dist/lib/api/track.js +2 -0
  81. package/dist/lib/api/user.d.ts +16 -0
  82. package/dist/lib/api/user.d.ts.map +1 -0
  83. package/dist/lib/api/user.js +2 -0
  84. package/dist/lib/const.d.ts +8 -0
  85. package/dist/lib/const.d.ts.map +1 -0
  86. package/dist/lib/const.js +2 -0
  87. package/dist/lib/result/ResultErrorFallback.d.ts +8 -0
  88. package/dist/lib/result/ResultErrorFallback.d.ts.map +1 -0
  89. package/dist/lib/result/ResultErrorFallback.js +2 -0
  90. package/dist/primitives-CgGUvwHB.d.ts +914 -0
  91. package/dist/primitives-CgGUvwHB.d.ts.map +1 -0
  92. package/dist/primitives.d.ts +12 -0
  93. package/dist/primitives.js +2 -0
  94. package/dist/result.d.ts +4 -0
  95. package/dist/result.js +2 -0
  96. package/dist/src-BgHSbbHk.js +67 -0
  97. package/dist/src-BgHSbbHk.js.map +1 -0
  98. package/dist/styles.css +478 -4
  99. package/dist/theme-CeWzymUn.js +64 -0
  100. package/dist/theme-CeWzymUn.js.map +1 -0
  101. package/dist/theme.d.ts +3 -2
  102. package/dist/theme.js +2 -9
  103. package/dist/track-9ZQpBlUK.js +3 -0
  104. package/dist/track-9ZQpBlUK.js.map +1 -0
  105. package/dist/types-CFbNxrx2.d.ts +171 -0
  106. package/dist/types-CFbNxrx2.d.ts.map +1 -0
  107. package/dist/types-CZre3j02.d.ts +231 -0
  108. package/dist/types-CZre3j02.d.ts.map +1 -0
  109. package/dist/types.d.ts +14 -2
  110. package/dist/types.js +3 -9
  111. package/dist/types.js.map +1 -0
  112. package/dist/useRecceServerFlag-Bg5R67J4.js +3 -0
  113. package/dist/useRecceServerFlag-Bg5R67J4.js.map +1 -0
  114. package/dist/useThemeColors--prVbMmM.js +3 -0
  115. package/dist/useThemeColors--prVbMmM.js.map +1 -0
  116. package/dist/useThemeColors-DHEroo8f.d.ts +104 -0
  117. package/dist/useThemeColors-DHEroo8f.d.ts.map +1 -0
  118. package/dist/user-DMT7E0fc.js +3 -0
  119. package/dist/user-DMT7E0fc.js.map +1 -0
  120. package/dist/utils-CW2skXm_.js +3 -0
  121. package/dist/utils-CW2skXm_.js.map +1 -0
  122. package/dist/utils-CXWhfyxC.js +5 -0
  123. package/dist/utils-CXWhfyxC.js.map +1 -0
  124. package/dist/utils.d.ts +7 -0
  125. package/dist/utils.js +2 -0
  126. package/package.json +115 -107
  127. package/LICENSE +0 -201
  128. package/dist/RecceCheckContext-BJprb2xR.js +0 -7968
  129. package/dist/RecceCheckContext-BJprb2xR.js.map +0 -1
  130. package/dist/RecceCheckContext-DPnWB_aU.css +0 -215
  131. package/dist/RecceCheckContext-DPnWB_aU.css.map +0 -1
  132. package/dist/RecceCheckContext-DbZ7BdRy.mjs +0 -7426
  133. package/dist/RecceCheckContext-DbZ7BdRy.mjs.map +0 -1
  134. package/dist/RecceCheckContext-DyxOeUsX.css +0 -215
  135. package/dist/RecceCheckContext-DyxOeUsX.css.map +0 -1
  136. package/dist/api.d.mts +0 -3
  137. package/dist/api.js.map +0 -1
  138. package/dist/api.mjs +0 -46
  139. package/dist/api.mjs.map +0 -1
  140. package/dist/components-B6oaPB5f.mjs +0 -11769
  141. package/dist/components-B6oaPB5f.mjs.map +0 -1
  142. package/dist/components-BeAjVBV3.css +0 -70
  143. package/dist/components-BeAjVBV3.css.map +0 -1
  144. package/dist/components-DTLQ2djq.js +0 -14110
  145. package/dist/components-DTLQ2djq.js.map +0 -1
  146. package/dist/components-iUxcqtUB.css +0 -70
  147. package/dist/components-iUxcqtUB.css.map +0 -1
  148. package/dist/components.d.mts +0 -3
  149. package/dist/components.mjs +0 -9
  150. package/dist/const-CaIm1Z8g.mjs +0 -12
  151. package/dist/const-CaIm1Z8g.mjs.map +0 -1
  152. package/dist/const-CvdZO0FN.js +0 -24
  153. package/dist/const-CvdZO0FN.js.map +0 -1
  154. package/dist/hooks-cQsBXBd1.js +0 -40
  155. package/dist/hooks-cQsBXBd1.js.map +0 -1
  156. package/dist/hooks-eaHm_yEp.mjs +0 -33
  157. package/dist/hooks-eaHm_yEp.mjs.map +0 -1
  158. package/dist/hooks.d.mts +0 -3
  159. package/dist/hooks.mjs +0 -8
  160. package/dist/html2canvas-pro.esm-CsuSOHXp.js +0 -7250
  161. package/dist/html2canvas-pro.esm-CsuSOHXp.js.map +0 -1
  162. package/dist/html2canvas-pro.esm-E7kpobrC.mjs +0 -7249
  163. package/dist/html2canvas-pro.esm-E7kpobrC.mjs.map +0 -1
  164. package/dist/index-B9lSPJTi.d.ts +0 -2170
  165. package/dist/index-B9lSPJTi.d.ts.map +0 -1
  166. package/dist/index-CbF0x3kW.d.mts +0 -2172
  167. package/dist/index-CbF0x3kW.d.mts.map +0 -1
  168. package/dist/index.d.mts +0 -3
  169. package/dist/index.js.map +0 -1
  170. package/dist/index.mjs +0 -20
  171. package/dist/index.mjs.map +0 -1
  172. package/dist/mui-theme-CUhybmBq.mjs +0 -696
  173. package/dist/mui-theme-CUhybmBq.mjs.map +0 -1
  174. package/dist/mui-theme-iBHkjXJq.js +0 -732
  175. package/dist/mui-theme-iBHkjXJq.js.map +0 -1
  176. package/dist/state-CTITyT0R.js +0 -795
  177. package/dist/state-CTITyT0R.js.map +0 -1
  178. package/dist/state-Sc2b4jri.mjs +0 -382
  179. package/dist/state-Sc2b4jri.mjs.map +0 -1
  180. package/dist/theme.d.mts +0 -3
  181. package/dist/theme.mjs +0 -4
  182. package/dist/tooltipMessage-BC5W7H3X.js +0 -13
  183. package/dist/tooltipMessage-BC5W7H3X.js.map +0 -1
  184. package/dist/tooltipMessage-B_xMIKWL.mjs +0 -7
  185. package/dist/tooltipMessage-B_xMIKWL.mjs.map +0 -1
  186. package/dist/types.d.mts +0 -3
  187. package/dist/types.mjs +0 -6
  188. package/dist/urls-BQW5wjg-.js +0 -13
  189. package/dist/urls-BQW5wjg-.js.map +0 -1
  190. package/dist/urls-DT7FVEcS.mjs +0 -7
  191. package/dist/urls-DT7FVEcS.mjs.map +0 -1
  192. package/dist/version-B9s8yne-.js +0 -300
  193. package/dist/version-B9s8yne-.js.map +0 -1
  194. package/dist/version-DP1kU_7v.mjs +0 -162
  195. package/dist/version-DP1kU_7v.mjs.map +0 -1
  196. package/recce-source/.editorconfig +0 -26
  197. package/recce-source/.flake8 +0 -37
  198. package/recce-source/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  199. package/recce-source/.github/ISSUE_TEMPLATE/custom.md +0 -10
  200. package/recce-source/.github/ISSUE_TEMPLATE/feature_request.yml +0 -42
  201. package/recce-source/.github/PULL_REQUEST_TEMPLATE.md +0 -21
  202. package/recce-source/.github/copilot-instructions.md +0 -331
  203. package/recce-source/.github/instructions/backend-instructions.md +0 -541
  204. package/recce-source/.github/instructions/frontend-instructions.md +0 -317
  205. package/recce-source/.github/workflows/build-statics.yaml +0 -72
  206. package/recce-source/.github/workflows/bump.yaml +0 -48
  207. package/recce-source/.github/workflows/integration-tests-cloud.yaml +0 -92
  208. package/recce-source/.github/workflows/integration-tests-sqlmesh.yaml +0 -33
  209. package/recce-source/.github/workflows/integration-tests.yaml +0 -52
  210. package/recce-source/.github/workflows/nightly.yaml +0 -246
  211. package/recce-source/.github/workflows/release.yaml +0 -196
  212. package/recce-source/.github/workflows/tests-js.yaml +0 -58
  213. package/recce-source/.github/workflows/tests-python.yaml +0 -128
  214. package/recce-source/.pre-commit-config.yaml +0 -26
  215. package/recce-source/CLAUDE.md +0 -483
  216. package/recce-source/CODE_OF_CONDUCT.md +0 -128
  217. package/recce-source/CONTRIBUTING.md +0 -107
  218. package/recce-source/LICENSE +0 -201
  219. package/recce-source/Makefile +0 -126
  220. package/recce-source/README.md +0 -182
  221. package/recce-source/RECCE_CLOUD.md +0 -81
  222. package/recce-source/SECURITY.md +0 -25
  223. package/recce-source/docs/PACKAGING.md +0 -340
  224. package/recce-source/docs/README.md +0 -1
  225. package/recce-source/integration_tests/dbt/dbt_project.yml +0 -26
  226. package/recce-source/integration_tests/dbt/models/customers.sql +0 -69
  227. package/recce-source/integration_tests/dbt/models/docs.md +0 -14
  228. package/recce-source/integration_tests/dbt/models/orders.sql +0 -56
  229. package/recce-source/integration_tests/dbt/models/schema.yml +0 -82
  230. package/recce-source/integration_tests/dbt/models/staging/schema.yml +0 -31
  231. package/recce-source/integration_tests/dbt/models/staging/stg_customers.sql +0 -22
  232. package/recce-source/integration_tests/dbt/models/staging/stg_orders.sql +0 -23
  233. package/recce-source/integration_tests/dbt/models/staging/stg_payments.sql +0 -25
  234. package/recce-source/integration_tests/dbt/packages.yml +0 -7
  235. package/recce-source/integration_tests/dbt/profiles.yml +0 -8
  236. package/recce-source/integration_tests/dbt/seeds/raw_customers.csv +0 -101
  237. package/recce-source/integration_tests/dbt/seeds/raw_orders.csv +0 -100
  238. package/recce-source/integration_tests/dbt/seeds/raw_payments.csv +0 -114
  239. package/recce-source/integration_tests/dbt/seeds/raw_statuses.csv +0 -5
  240. package/recce-source/integration_tests/dbt/smoke_test.sh +0 -72
  241. package/recce-source/integration_tests/dbt/smoke_test_cloud.sh +0 -71
  242. package/recce-source/integration_tests/sqlmesh/__init__.py +0 -0
  243. package/recce-source/integration_tests/sqlmesh/audits/assert_item_price_above_zero.sql +0 -9
  244. package/recce-source/integration_tests/sqlmesh/audits/items.sql +0 -7
  245. package/recce-source/integration_tests/sqlmesh/audits/order_items.sql +0 -7
  246. package/recce-source/integration_tests/sqlmesh/config.py +0 -171
  247. package/recce-source/integration_tests/sqlmesh/helper.py +0 -20
  248. package/recce-source/integration_tests/sqlmesh/hooks/__init__.py +0 -0
  249. package/recce-source/integration_tests/sqlmesh/macros/__init__.py +0 -0
  250. package/recce-source/integration_tests/sqlmesh/macros/macros.py +0 -8
  251. package/recce-source/integration_tests/sqlmesh/macros/macros.sql +0 -8
  252. package/recce-source/integration_tests/sqlmesh/macros/utils.py +0 -11
  253. package/recce-source/integration_tests/sqlmesh/metrics/metrics.sql +0 -25
  254. package/recce-source/integration_tests/sqlmesh/models/customer_revenue_by_day.sql +0 -41
  255. package/recce-source/integration_tests/sqlmesh/models/customer_revenue_lifetime.sql +0 -60
  256. package/recce-source/integration_tests/sqlmesh/models/customers.sql +0 -32
  257. package/recce-source/integration_tests/sqlmesh/models/items.py +0 -95
  258. package/recce-source/integration_tests/sqlmesh/models/marketing.sql +0 -15
  259. package/recce-source/integration_tests/sqlmesh/models/order_items.py +0 -95
  260. package/recce-source/integration_tests/sqlmesh/models/orders.py +0 -70
  261. package/recce-source/integration_tests/sqlmesh/models/raw_marketing.py +0 -62
  262. package/recce-source/integration_tests/sqlmesh/models/top_waiters.sql +0 -23
  263. package/recce-source/integration_tests/sqlmesh/models/waiter_as_customer_by_day.sql +0 -29
  264. package/recce-source/integration_tests/sqlmesh/models/waiter_names.sql +0 -10
  265. package/recce-source/integration_tests/sqlmesh/models/waiter_revenue_by_day.sql +0 -29
  266. package/recce-source/integration_tests/sqlmesh/models/waiters.py +0 -62
  267. package/recce-source/integration_tests/sqlmesh/prep_env.sh +0 -16
  268. package/recce-source/integration_tests/sqlmesh/schema.yaml +0 -5
  269. package/recce-source/integration_tests/sqlmesh/seeds/waiter_names.csv +0 -11
  270. package/recce-source/integration_tests/sqlmesh/test_server.sh +0 -29
  271. package/recce-source/integration_tests/sqlmesh/tests/test_customer_revenue_by_day.yaml +0 -63
  272. package/recce-source/integration_tests/sqlmesh/tests/test_order_items.yaml +0 -72
  273. package/recce-source/js/.editorconfig +0 -27
  274. package/recce-source/js/.env.development +0 -5
  275. package/recce-source/js/.husky/pre-commit +0 -29
  276. package/recce-source/js/.nvmrc +0 -1
  277. package/recce-source/js/README.md +0 -39
  278. package/recce-source/js/app/(mainComponents)/DisplayModeToggle.tsx +0 -65
  279. package/recce-source/js/app/(mainComponents)/NavBar.tsx +0 -228
  280. package/recce-source/js/app/(mainComponents)/RecceVersionBadge.tsx +0 -107
  281. package/recce-source/js/app/(mainComponents)/TopBar.tsx +0 -252
  282. package/recce-source/js/app/@lineage/default.tsx +0 -20
  283. package/recce-source/js/app/@lineage/page.tsx +0 -14
  284. package/recce-source/js/app/MainLayout.tsx +0 -170
  285. package/recce-source/js/app/Providers.tsx +0 -49
  286. package/recce-source/js/app/checks/page.tsx +0 -296
  287. package/recce-source/js/app/error.tsx +0 -93
  288. package/recce-source/js/app/favicon.ico +0 -0
  289. package/recce-source/js/app/global-error.tsx +0 -115
  290. package/recce-source/js/app/global.css +0 -82
  291. package/recce-source/js/app/layout.tsx +0 -48
  292. package/recce-source/js/app/lineage/page.tsx +0 -15
  293. package/recce-source/js/app/page.tsx +0 -12
  294. package/recce-source/js/app/query/page.tsx +0 -8
  295. package/recce-source/js/biome.json +0 -313
  296. package/recce-source/js/jest.config.js +0 -34
  297. package/recce-source/js/jest.globals.d.ts +0 -32
  298. package/recce-source/js/jest.setup.js +0 -91
  299. package/recce-source/js/next.config.js +0 -16
  300. package/recce-source/js/package-lock.json +0 -13843
  301. package/recce-source/js/package.json +0 -123
  302. package/recce-source/js/pnpm-lock.yaml +0 -9235
  303. package/recce-source/js/pnpm-workspace.yaml +0 -6
  304. package/recce-source/js/postcss.config.js +0 -5
  305. package/recce-source/js/public/auth_callback.html +0 -68
  306. package/recce-source/js/public/imgs/feedback/thumbs-down.png +0 -0
  307. package/recce-source/js/public/imgs/feedback/thumbs-up.png +0 -0
  308. package/recce-source/js/public/imgs/reload-image.svg +0 -4
  309. package/recce-source/js/public/logo/recce-logo-white.png +0 -0
  310. package/recce-source/js/src/components/AuthModal/AuthModal.tsx +0 -202
  311. package/recce-source/js/src/components/app/AvatarDropdown.tsx +0 -159
  312. package/recce-source/js/src/components/app/EnvInfo.tsx +0 -357
  313. package/recce-source/js/src/components/app/Filename.tsx +0 -388
  314. package/recce-source/js/src/components/app/SetupConnectionPopover.tsx +0 -91
  315. package/recce-source/js/src/components/app/StateExporter.tsx +0 -57
  316. package/recce-source/js/src/components/app/StateImporter.tsx +0 -198
  317. package/recce-source/js/src/components/app/StateSharing.tsx +0 -145
  318. package/recce-source/js/src/components/app/StateSynchronizer.tsx +0 -205
  319. package/recce-source/js/src/components/charts/HistogramChart.tsx +0 -291
  320. package/recce-source/js/src/components/charts/SquareIcon.tsx +0 -51
  321. package/recce-source/js/src/components/charts/TopKSummaryList.tsx +0 -457
  322. package/recce-source/js/src/components/charts/chartTheme.ts +0 -74
  323. package/recce-source/js/src/components/check/CheckBreadcrumb.tsx +0 -97
  324. package/recce-source/js/src/components/check/CheckDescription.tsx +0 -134
  325. package/recce-source/js/src/components/check/CheckDetail.tsx +0 -797
  326. package/recce-source/js/src/components/check/CheckEmptyState.tsx +0 -84
  327. package/recce-source/js/src/components/check/CheckList.tsx +0 -320
  328. package/recce-source/js/src/components/check/LineageDiffView.tsx +0 -32
  329. package/recce-source/js/src/components/check/PresetCheckTemplateView.tsx +0 -48
  330. package/recce-source/js/src/components/check/SchemaDiffView.tsx +0 -290
  331. package/recce-source/js/src/components/check/check.ts +0 -25
  332. package/recce-source/js/src/components/check/timeline/CheckTimeline.tsx +0 -163
  333. package/recce-source/js/src/components/check/timeline/CommentInput.tsx +0 -84
  334. package/recce-source/js/src/components/check/timeline/TimelineEvent.tsx +0 -468
  335. package/recce-source/js/src/components/check/timeline/index.ts +0 -12
  336. package/recce-source/js/src/components/check/utils.ts +0 -12
  337. package/recce-source/js/src/components/data-grid/ScreenshotDataGrid.tsx +0 -333
  338. package/recce-source/js/src/components/data-grid/agGridStyles.css +0 -55
  339. package/recce-source/js/src/components/data-grid/agGridTheme.ts +0 -43
  340. package/recce-source/js/src/components/editor/CodeEditor.tsx +0 -107
  341. package/recce-source/js/src/components/editor/DiffEditor.tsx +0 -162
  342. package/recce-source/js/src/components/editor/index.ts +0 -12
  343. package/recce-source/js/src/components/errorboundary/ErrorBoundary.tsx +0 -87
  344. package/recce-source/js/src/components/histogram/HistogramDiffForm.tsx +0 -147
  345. package/recce-source/js/src/components/histogram/HistogramDiffResultView.tsx +0 -63
  346. package/recce-source/js/src/components/icons/index.tsx +0 -142
  347. package/recce-source/js/src/components/lineage/ActionControl.tsx +0 -63
  348. package/recce-source/js/src/components/lineage/ActionTag.tsx +0 -141
  349. package/recce-source/js/src/components/lineage/ChangeStatusLegend.tsx +0 -46
  350. package/recce-source/js/src/components/lineage/ColumnLevelLineageControl.tsx +0 -327
  351. package/recce-source/js/src/components/lineage/ColumnLevelLineageLegend.tsx +0 -57
  352. package/recce-source/js/src/components/lineage/GraphColumnNode.tsx +0 -199
  353. package/recce-source/js/src/components/lineage/GraphEdge.tsx +0 -59
  354. package/recce-source/js/src/components/lineage/GraphNode.tsx +0 -555
  355. package/recce-source/js/src/components/lineage/LineagePage.tsx +0 -10
  356. package/recce-source/js/src/components/lineage/LineageView.tsx +0 -1384
  357. package/recce-source/js/src/components/lineage/LineageViewContext.tsx +0 -86
  358. package/recce-source/js/src/components/lineage/LineageViewContextMenu.tsx +0 -637
  359. package/recce-source/js/src/components/lineage/LineageViewNotification.tsx +0 -64
  360. package/recce-source/js/src/components/lineage/LineageViewTopBar.tsx +0 -596
  361. package/recce-source/js/src/components/lineage/NodeSqlView.tsx +0 -136
  362. package/recce-source/js/src/components/lineage/NodeTag.tsx +0 -278
  363. package/recce-source/js/src/components/lineage/NodeView.tsx +0 -642
  364. package/recce-source/js/src/components/lineage/SandboxView.tsx +0 -436
  365. package/recce-source/js/src/components/lineage/ServerDisconnectedModalContent.tsx +0 -105
  366. package/recce-source/js/src/components/lineage/SetupConnectionBanner.tsx +0 -52
  367. package/recce-source/js/src/components/lineage/SingleEnvironmentQueryView.tsx +0 -152
  368. package/recce-source/js/src/components/lineage/graph.test.ts +0 -31
  369. package/recce-source/js/src/components/lineage/graph.ts +0 -58
  370. package/recce-source/js/src/components/lineage/lineage.test.ts +0 -169
  371. package/recce-source/js/src/components/lineage/lineage.ts +0 -521
  372. package/recce-source/js/src/components/lineage/styles.css +0 -42
  373. package/recce-source/js/src/components/lineage/styles.tsx +0 -165
  374. package/recce-source/js/src/components/lineage/useMultiNodesAction.ts +0 -352
  375. package/recce-source/js/src/components/lineage/useValueDiffAlertDialog.tsx +0 -108
  376. package/recce-source/js/src/components/onboarding-guide/Notification.tsx +0 -62
  377. package/recce-source/js/src/components/profile/ProfileDiffForm.tsx +0 -134
  378. package/recce-source/js/src/components/profile/ProfileDiffResultView.tsx +0 -243
  379. package/recce-source/js/src/components/query/ChangedOnlyCheckbox.tsx +0 -29
  380. package/recce-source/js/src/components/query/DiffText.tsx +0 -120
  381. package/recce-source/js/src/components/query/QueryDiffResultView.tsx +0 -468
  382. package/recce-source/js/src/components/query/QueryForm.tsx +0 -80
  383. package/recce-source/js/src/components/query/QueryPage.tsx +0 -282
  384. package/recce-source/js/src/components/query/QueryResultView.tsx +0 -180
  385. package/recce-source/js/src/components/query/SetupConnectionGuide.tsx +0 -57
  386. package/recce-source/js/src/components/query/SqlEditor.tsx +0 -245
  387. package/recce-source/js/src/components/query/ToggleSwitch.tsx +0 -84
  388. package/recce-source/js/src/components/query/styles.css +0 -21
  389. package/recce-source/js/src/components/routing/DirectUrlAccess.test.tsx +0 -428
  390. package/recce-source/js/src/components/routing/LineageStatePreservation.test.tsx +0 -311
  391. package/recce-source/js/src/components/routing/Navigation.test.tsx +0 -256
  392. package/recce-source/js/src/components/rowcount/RowCountDiffResultView.tsx +0 -108
  393. package/recce-source/js/src/components/rowcount/delta.test.ts +0 -51
  394. package/recce-source/js/src/components/rowcount/delta.ts +0 -16
  395. package/recce-source/js/src/components/run/RunList.tsx +0 -303
  396. package/recce-source/js/src/components/run/RunModal.tsx +0 -191
  397. package/recce-source/js/src/components/run/RunPage.tsx +0 -26
  398. package/recce-source/js/src/components/run/RunResultPane.tsx +0 -454
  399. package/recce-source/js/src/components/run/RunStatusAndDate.tsx +0 -106
  400. package/recce-source/js/src/components/run/RunToolbar.tsx +0 -70
  401. package/recce-source/js/src/components/run/RunView.tsx +0 -196
  402. package/recce-source/js/src/components/run/registry.ts +0 -214
  403. package/recce-source/js/src/components/run/types.ts +0 -14
  404. package/recce-source/js/src/components/schema/ColumnNameCell.test.tsx +0 -169
  405. package/recce-source/js/src/components/schema/ColumnNameCell.tsx +0 -198
  406. package/recce-source/js/src/components/schema/SchemaView.tsx +0 -336
  407. package/recce-source/js/src/components/schema/schemaDiff.ts +0 -32
  408. package/recce-source/js/src/components/schema/style.css +0 -134
  409. package/recce-source/js/src/components/screenshot/ScreenshotBox.tsx +0 -39
  410. package/recce-source/js/src/components/shared/HistoryToggle.tsx +0 -35
  411. package/recce-source/js/src/components/split/Split.tsx +0 -40
  412. package/recce-source/js/src/components/split/styles.css +0 -24
  413. package/recce-source/js/src/components/summary/ChangeSummary.tsx +0 -264
  414. package/recce-source/js/src/components/summary/SchemaSummary.tsx +0 -123
  415. package/recce-source/js/src/components/summary/SummaryView.tsx +0 -29
  416. package/recce-source/js/src/components/timeout/IdleTimeoutBadge.tsx +0 -48
  417. package/recce-source/js/src/components/top-k/TopKDiffForm.tsx +0 -58
  418. package/recce-source/js/src/components/top-k/TopKDiffResultView.tsx +0 -73
  419. package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnGroupHeader.tsx +0 -228
  420. package/recce-source/js/src/components/ui/dataGrid/DataFrameColumnHeader.tsx +0 -113
  421. package/recce-source/js/src/components/ui/dataGrid/defaultRenderCell.tsx +0 -72
  422. package/recce-source/js/src/components/ui/dataGrid/index.ts +0 -23
  423. package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.test.tsx +0 -607
  424. package/recce-source/js/src/components/ui/dataGrid/inlineRenderCell.tsx +0 -211
  425. package/recce-source/js/src/components/ui/dataGrid/schemaCells.test.tsx +0 -452
  426. package/recce-source/js/src/components/ui/dataGrid/schemaCells.tsx +0 -142
  427. package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.test.tsx +0 -178
  428. package/recce-source/js/src/components/ui/dataGrid/valueDiffCells.tsx +0 -275
  429. package/recce-source/js/src/components/ui/markdown/ExternalLinkConfirmDialog.tsx +0 -134
  430. package/recce-source/js/src/components/ui/markdown/MarkdownContent.tsx +0 -364
  431. package/recce-source/js/src/components/ui/mui/index.ts +0 -13
  432. package/recce-source/js/src/components/ui/mui-provider.tsx +0 -67
  433. package/recce-source/js/src/components/ui/mui-theme.ts +0 -1039
  434. package/recce-source/js/src/components/ui/mui-utils.ts +0 -113
  435. package/recce-source/js/src/components/ui/toaster.tsx +0 -288
  436. package/recce-source/js/src/components/valuediff/ValueDiffDetailResultView.tsx +0 -216
  437. package/recce-source/js/src/components/valuediff/ValueDiffForm.tsx +0 -246
  438. package/recce-source/js/src/components/valuediff/ValueDiffResultView.tsx +0 -81
  439. package/recce-source/js/src/components/valuediff/shared.ts +0 -33
  440. package/recce-source/js/src/constants/tooltipMessage.ts +0 -3
  441. package/recce-source/js/src/constants/urls.ts +0 -1
  442. package/recce-source/js/src/lib/UrlHash.ts +0 -12
  443. package/recce-source/js/src/lib/api/adhocQuery.ts +0 -70
  444. package/recce-source/js/src/lib/api/axiosClient.ts +0 -9
  445. package/recce-source/js/src/lib/api/cacheKeys.ts +0 -13
  446. package/recce-source/js/src/lib/api/checkEvents.ts +0 -252
  447. package/recce-source/js/src/lib/api/checks.ts +0 -129
  448. package/recce-source/js/src/lib/api/cll.ts +0 -53
  449. package/recce-source/js/src/lib/api/connectToCloud.ts +0 -13
  450. package/recce-source/js/src/lib/api/flag.ts +0 -37
  451. package/recce-source/js/src/lib/api/info.ts +0 -198
  452. package/recce-source/js/src/lib/api/instanceInfo.ts +0 -25
  453. package/recce-source/js/src/lib/api/keepAlive.ts +0 -108
  454. package/recce-source/js/src/lib/api/lineagecheck.ts +0 -35
  455. package/recce-source/js/src/lib/api/localStorageKeys.ts +0 -7
  456. package/recce-source/js/src/lib/api/models.ts +0 -59
  457. package/recce-source/js/src/lib/api/profile.ts +0 -65
  458. package/recce-source/js/src/lib/api/rowcount.ts +0 -19
  459. package/recce-source/js/src/lib/api/runs.ts +0 -174
  460. package/recce-source/js/src/lib/api/schemacheck.ts +0 -31
  461. package/recce-source/js/src/lib/api/select.ts +0 -25
  462. package/recce-source/js/src/lib/api/sessionStorageKeys.ts +0 -8
  463. package/recce-source/js/src/lib/api/state.ts +0 -117
  464. package/recce-source/js/src/lib/api/track.ts +0 -281
  465. package/recce-source/js/src/lib/api/types.ts +0 -284
  466. package/recce-source/js/src/lib/api/user.ts +0 -42
  467. package/recce-source/js/src/lib/api/valuediff.ts +0 -46
  468. package/recce-source/js/src/lib/api/version.ts +0 -40
  469. package/recce-source/js/src/lib/const.ts +0 -9
  470. package/recce-source/js/src/lib/dataGrid/crossFunctionConsistency.test.ts +0 -626
  471. package/recce-source/js/src/lib/dataGrid/dataGridFactory.test.ts +0 -2140
  472. package/recce-source/js/src/lib/dataGrid/dataGridFactory.ts +0 -397
  473. package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.test.ts +0 -132
  474. package/recce-source/js/src/lib/dataGrid/generators/rowCountUtils.ts +0 -126
  475. package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.test.ts +0 -1627
  476. package/recce-source/js/src/lib/dataGrid/generators/toDataDiffGrid.ts +0 -140
  477. package/recce-source/js/src/lib/dataGrid/generators/toDataGrid.ts +0 -67
  478. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.test.ts +0 -142
  479. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDataGrid.ts +0 -71
  480. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.test.ts +0 -258
  481. package/recce-source/js/src/lib/dataGrid/generators/toRowCountDiffDataGrid.ts +0 -153
  482. package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.test.ts +0 -951
  483. package/recce-source/js/src/lib/dataGrid/generators/toSchemaDataGrid.ts +0 -221
  484. package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.test.ts +0 -395
  485. package/recce-source/js/src/lib/dataGrid/generators/toValueDataGrid.ts +0 -184
  486. package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.test.ts +0 -884
  487. package/recce-source/js/src/lib/dataGrid/generators/toValueDiffGrid.ts +0 -113
  488. package/recce-source/js/src/lib/dataGrid/index.ts +0 -51
  489. package/recce-source/js/src/lib/dataGrid/propertyBased.test.ts +0 -858
  490. package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.test.ts +0 -482
  491. package/recce-source/js/src/lib/dataGrid/shared/columnBuilders.ts +0 -345
  492. package/recce-source/js/src/lib/dataGrid/shared/dataTypeEdgeCases.test.ts +0 -698
  493. package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.test.tsx +0 -820
  494. package/recce-source/js/src/lib/dataGrid/shared/diffColumnBuilder.tsx +0 -277
  495. package/recce-source/js/src/lib/dataGrid/shared/gridUtils.test.ts +0 -785
  496. package/recce-source/js/src/lib/dataGrid/shared/gridUtils.ts +0 -370
  497. package/recce-source/js/src/lib/dataGrid/shared/index.ts +0 -81
  498. package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.test.ts +0 -909
  499. package/recce-source/js/src/lib/dataGrid/shared/rowBuilders.ts +0 -325
  500. package/recce-source/js/src/lib/dataGrid/shared/simpleColumnBuilder.tsx +0 -240
  501. package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.test.tsx +0 -719
  502. package/recce-source/js/src/lib/dataGrid/shared/toDiffColumn.tsx +0 -231
  503. package/recce-source/js/src/lib/dataGrid/shared/validation.test.ts +0 -559
  504. package/recce-source/js/src/lib/dataGrid/shared/validation.ts +0 -367
  505. package/recce-source/js/src/lib/dataGrid/warehouseNamingConventions.test.ts +0 -1117
  506. package/recce-source/js/src/lib/formatSelect.ts +0 -50
  507. package/recce-source/js/src/lib/hooks/ApiConfigContext.tsx +0 -181
  508. package/recce-source/js/src/lib/hooks/IdleTimeoutContext.tsx +0 -177
  509. package/recce-source/js/src/lib/hooks/LineageGraphContext.tsx +0 -512
  510. package/recce-source/js/src/lib/hooks/RecceActionContext.tsx +0 -269
  511. package/recce-source/js/src/lib/hooks/RecceCheckContext.tsx +0 -33
  512. package/recce-source/js/src/lib/hooks/RecceContextProvider.tsx +0 -54
  513. package/recce-source/js/src/lib/hooks/RecceInstanceContext.tsx +0 -129
  514. package/recce-source/js/src/lib/hooks/RecceQueryContext.tsx +0 -98
  515. package/recce-source/js/src/lib/hooks/RecceShareStateContext.tsx +0 -59
  516. package/recce-source/js/src/lib/hooks/ScreenShot.tsx +0 -399
  517. package/recce-source/js/src/lib/hooks/useAppRouter.test.ts +0 -211
  518. package/recce-source/js/src/lib/hooks/useAppRouter.ts +0 -200
  519. package/recce-source/js/src/lib/hooks/useCheckEvents.ts +0 -99
  520. package/recce-source/js/src/lib/hooks/useCheckToast.tsx +0 -14
  521. package/recce-source/js/src/lib/hooks/useClipBoardToast.tsx +0 -27
  522. package/recce-source/js/src/lib/hooks/useCountdownToast.tsx +0 -102
  523. package/recce-source/js/src/lib/hooks/useFeedbackCollectionToast.tsx +0 -130
  524. package/recce-source/js/src/lib/hooks/useGuideToast.tsx +0 -45
  525. package/recce-source/js/src/lib/hooks/useIdleDetection.tsx +0 -185
  526. package/recce-source/js/src/lib/hooks/useModelColumns.tsx +0 -113
  527. package/recce-source/js/src/lib/hooks/useRecceInstanceInfo.tsx +0 -13
  528. package/recce-source/js/src/lib/hooks/useRecceServerFlag.tsx +0 -13
  529. package/recce-source/js/src/lib/hooks/useRun.tsx +0 -89
  530. package/recce-source/js/src/lib/hooks/useThemeColors.ts +0 -115
  531. package/recce-source/js/src/lib/mergeKeys.test.ts +0 -89
  532. package/recce-source/js/src/lib/mergeKeys.ts +0 -86
  533. package/recce-source/js/src/lib/result/ResultErrorFallback.tsx +0 -9
  534. package/recce-source/js/src/lib/utils/formatTime.ts +0 -84
  535. package/recce-source/js/src/lib/utils/urls.ts +0 -16
  536. package/recce-source/js/src/utils/DropdownValuesInput.tsx +0 -297
  537. package/recce-source/js/src/utils/formatters.tsx +0 -237
  538. package/recce-source/js/src/utils/transforms.ts +0 -81
  539. package/recce-source/js/tsconfig.json +0 -47
  540. package/recce-source/macros/README.md +0 -8
  541. package/recce-source/macros/recce_athena.sql +0 -73
  542. package/recce-source/pyproject.toml +0 -109
  543. package/recce-source/recce/VERSION +0 -1
  544. package/recce-source/recce/__init__.py +0 -84
  545. package/recce-source/recce/adapter/__init__.py +0 -0
  546. package/recce-source/recce/adapter/base.py +0 -109
  547. package/recce-source/recce/adapter/dbt_adapter/__init__.py +0 -1699
  548. package/recce-source/recce/adapter/dbt_adapter/dbt_version.py +0 -42
  549. package/recce-source/recce/adapter/sqlmesh_adapter.py +0 -141
  550. package/recce-source/recce/apis/__init__.py +0 -0
  551. package/recce-source/recce/apis/check_api.py +0 -203
  552. package/recce-source/recce/apis/check_events_api.py +0 -353
  553. package/recce-source/recce/apis/check_func.py +0 -130
  554. package/recce-source/recce/apis/run_api.py +0 -130
  555. package/recce-source/recce/apis/run_func.py +0 -258
  556. package/recce-source/recce/artifact.py +0 -266
  557. package/recce-source/recce/cli.py +0 -1846
  558. package/recce-source/recce/config.py +0 -127
  559. package/recce-source/recce/connect_to_cloud.py +0 -138
  560. package/recce-source/recce/core.py +0 -334
  561. package/recce-source/recce/diff.py +0 -26
  562. package/recce-source/recce/event/CONFIG +0 -1
  563. package/recce-source/recce/event/SENTRY_DNS +0 -1
  564. package/recce-source/recce/event/__init__.py +0 -304
  565. package/recce-source/recce/event/collector.py +0 -184
  566. package/recce-source/recce/event/track.py +0 -158
  567. package/recce-source/recce/exceptions.py +0 -21
  568. package/recce-source/recce/git.py +0 -77
  569. package/recce-source/recce/github.py +0 -222
  570. package/recce-source/recce/mcp_server.py +0 -861
  571. package/recce-source/recce/models/__init__.py +0 -6
  572. package/recce-source/recce/models/check.py +0 -473
  573. package/recce-source/recce/models/run.py +0 -46
  574. package/recce-source/recce/models/types.py +0 -218
  575. package/recce-source/recce/pull_request.py +0 -124
  576. package/recce-source/recce/run.py +0 -390
  577. package/recce-source/recce/server.py +0 -877
  578. package/recce-source/recce/state/__init__.py +0 -31
  579. package/recce-source/recce/state/cloud.py +0 -644
  580. package/recce-source/recce/state/const.py +0 -26
  581. package/recce-source/recce/state/local.py +0 -56
  582. package/recce-source/recce/state/state.py +0 -119
  583. package/recce-source/recce/state/state_loader.py +0 -174
  584. package/recce-source/recce/summary.py +0 -575
  585. package/recce-source/recce/tasks/__init__.py +0 -23
  586. package/recce-source/recce/tasks/core.py +0 -134
  587. package/recce-source/recce/tasks/dataframe.py +0 -170
  588. package/recce-source/recce/tasks/histogram.py +0 -433
  589. package/recce-source/recce/tasks/lineage.py +0 -19
  590. package/recce-source/recce/tasks/profile.py +0 -298
  591. package/recce-source/recce/tasks/query.py +0 -450
  592. package/recce-source/recce/tasks/rowcount.py +0 -277
  593. package/recce-source/recce/tasks/schema.py +0 -65
  594. package/recce-source/recce/tasks/top_k.py +0 -172
  595. package/recce-source/recce/tasks/utils.py +0 -147
  596. package/recce-source/recce/tasks/valuediff.py +0 -497
  597. package/recce-source/recce/util/__init__.py +0 -4
  598. package/recce-source/recce/util/api_token.py +0 -80
  599. package/recce-source/recce/util/breaking.py +0 -330
  600. package/recce-source/recce/util/cache.py +0 -25
  601. package/recce-source/recce/util/cll.py +0 -355
  602. package/recce-source/recce/util/cloud/__init__.py +0 -15
  603. package/recce-source/recce/util/cloud/base.py +0 -115
  604. package/recce-source/recce/util/cloud/check_events.py +0 -190
  605. package/recce-source/recce/util/cloud/checks.py +0 -242
  606. package/recce-source/recce/util/io.py +0 -120
  607. package/recce-source/recce/util/lineage.py +0 -83
  608. package/recce-source/recce/util/logger.py +0 -25
  609. package/recce-source/recce/util/onboarding_state.py +0 -45
  610. package/recce-source/recce/util/perf_tracking.py +0 -85
  611. package/recce-source/recce/util/pydantic_model.py +0 -22
  612. package/recce-source/recce/util/recce_cloud.py +0 -454
  613. package/recce-source/recce/util/singleton.py +0 -18
  614. package/recce-source/recce/util/startup_perf.py +0 -121
  615. package/recce-source/recce/yaml/__init__.py +0 -58
  616. package/recce-source/recce_cloud/README.md +0 -780
  617. package/recce-source/recce_cloud/VERSION +0 -1
  618. package/recce-source/recce_cloud/__init__.py +0 -24
  619. package/recce-source/recce_cloud/api/__init__.py +0 -17
  620. package/recce-source/recce_cloud/api/base.py +0 -132
  621. package/recce-source/recce_cloud/api/client.py +0 -186
  622. package/recce-source/recce_cloud/api/exceptions.py +0 -26
  623. package/recce-source/recce_cloud/api/factory.py +0 -63
  624. package/recce-source/recce_cloud/api/github.py +0 -106
  625. package/recce-source/recce_cloud/api/gitlab.py +0 -111
  626. package/recce-source/recce_cloud/artifact.py +0 -57
  627. package/recce-source/recce_cloud/ci_providers/__init__.py +0 -9
  628. package/recce-source/recce_cloud/ci_providers/base.py +0 -82
  629. package/recce-source/recce_cloud/ci_providers/detector.py +0 -147
  630. package/recce-source/recce_cloud/ci_providers/github_actions.py +0 -136
  631. package/recce-source/recce_cloud/ci_providers/gitlab_ci.py +0 -130
  632. package/recce-source/recce_cloud/cli.py +0 -434
  633. package/recce-source/recce_cloud/download.py +0 -230
  634. package/recce-source/recce_cloud/hatch_build.py +0 -20
  635. package/recce-source/recce_cloud/pyproject.toml +0 -49
  636. package/recce-source/recce_cloud/upload.py +0 -214
  637. package/recce-source/test.py +0 -0
  638. package/recce-source/tests/__init__.py +0 -0
  639. package/recce-source/tests/adapter/__init__.py +0 -0
  640. package/recce-source/tests/adapter/dbt_adapter/__init__.py +0 -0
  641. package/recce-source/tests/adapter/dbt_adapter/conftest.py +0 -17
  642. package/recce-source/tests/adapter/dbt_adapter/dbt_test_helper.py +0 -298
  643. package/recce-source/tests/adapter/dbt_adapter/test_dbt_adapter.py +0 -25
  644. package/recce-source/tests/adapter/dbt_adapter/test_dbt_cll.py +0 -717
  645. package/recce-source/tests/adapter/dbt_adapter/test_proj/dbt_project.yml +0 -4
  646. package/recce-source/tests/adapter/dbt_adapter/test_proj/manifest.json +0 -1
  647. package/recce-source/tests/adapter/dbt_adapter/test_proj/package-lock.yml +0 -8
  648. package/recce-source/tests/adapter/dbt_adapter/test_proj/packages.yml +0 -7
  649. package/recce-source/tests/adapter/dbt_adapter/test_proj/profiles.yml +0 -6
  650. package/recce-source/tests/adapter/dbt_adapter/test_selector.py +0 -205
  651. package/recce-source/tests/apis/__init__.py +0 -0
  652. package/recce-source/tests/apis/row_count_diff.json +0 -59
  653. package/recce-source/tests/apis/test_check_events_api.py +0 -615
  654. package/recce-source/tests/apis/test_run_func.py +0 -433
  655. package/recce-source/tests/catalog.json +0 -527
  656. package/recce-source/tests/data/manifest/base/catalog.json +0 -1
  657. package/recce-source/tests/data/manifest/base/manifest.json +0 -1
  658. package/recce-source/tests/data/manifest/pr2/catalog.json +0 -1
  659. package/recce-source/tests/data/manifest/pr2/manifest.json +0 -1
  660. package/recce-source/tests/manifest.json +0 -10655
  661. package/recce-source/tests/models/__init__.py +0 -0
  662. package/recce-source/tests/models/test_check.py +0 -731
  663. package/recce-source/tests/models/test_run_models.py +0 -295
  664. package/recce-source/tests/recce_cloud/__init__.py +0 -0
  665. package/recce-source/tests/recce_cloud/test_ci_providers.py +0 -351
  666. package/recce-source/tests/recce_cloud/test_cli.py +0 -735
  667. package/recce-source/tests/recce_cloud/test_client.py +0 -379
  668. package/recce-source/tests/recce_cloud/test_platform_clients.py +0 -483
  669. package/recce-source/tests/recce_state.json +0 -1
  670. package/recce-source/tests/state/test_cloud.py +0 -719
  671. package/recce-source/tests/state/test_local.py +0 -164
  672. package/recce-source/tests/state/test_state_loader.py +0 -211
  673. package/recce-source/tests/tasks/__init__.py +0 -0
  674. package/recce-source/tests/tasks/conftest.py +0 -4
  675. package/recce-source/tests/tasks/test_histogram.py +0 -129
  676. package/recce-source/tests/tasks/test_lineage.py +0 -55
  677. package/recce-source/tests/tasks/test_preset_checks.py +0 -64
  678. package/recce-source/tests/tasks/test_profile.py +0 -397
  679. package/recce-source/tests/tasks/test_query.py +0 -528
  680. package/recce-source/tests/tasks/test_row_count.py +0 -133
  681. package/recce-source/tests/tasks/test_schema.py +0 -122
  682. package/recce-source/tests/tasks/test_top_k.py +0 -77
  683. package/recce-source/tests/tasks/test_utils.py +0 -439
  684. package/recce-source/tests/tasks/test_valuediff.py +0 -361
  685. package/recce-source/tests/test_cli.py +0 -236
  686. package/recce-source/tests/test_cli_mcp_optional.py +0 -45
  687. package/recce-source/tests/test_cloud_listing_cli.py +0 -324
  688. package/recce-source/tests/test_config.py +0 -43
  689. package/recce-source/tests/test_connect_to_cloud.py +0 -82
  690. package/recce-source/tests/test_core.py +0 -174
  691. package/recce-source/tests/test_dbt.py +0 -36
  692. package/recce-source/tests/test_mcp_server.py +0 -505
  693. package/recce-source/tests/test_pull_request.py +0 -130
  694. package/recce-source/tests/test_server.py +0 -202
  695. package/recce-source/tests/test_server_lifespan.py +0 -138
  696. package/recce-source/tests/test_summary.py +0 -73
  697. package/recce-source/tests/util/__init__.py +0 -0
  698. package/recce-source/tests/util/cloud/__init__.py +0 -0
  699. package/recce-source/tests/util/cloud/test_check_events.py +0 -255
  700. package/recce-source/tests/util/cloud/test_checks.py +0 -204
  701. package/recce-source/tests/util/test_api_token.py +0 -119
  702. package/recce-source/tests/util/test_breaking.py +0 -1427
  703. package/recce-source/tests/util/test_cll.py +0 -706
  704. package/recce-source/tests/util/test_lineage.py +0 -122
  705. package/recce-source/tests/util/test_onboarding_state.py +0 -84
  706. package/recce-source/tests/util/test_recce_cloud.py +0 -231
  707. package/recce-source/tox.ini +0 -40
  708. package/recce-source/uv.lock +0 -3928
  709. package/src/api/index.ts +0 -32
  710. package/src/components/index.ts +0 -154
  711. package/src/global.d.ts +0 -14
  712. package/src/hooks/index.ts +0 -56
  713. package/src/index.ts +0 -17
  714. package/src/lib/hooks/RouteConfigContext.ts +0 -139
  715. package/src/lib/hooks/useAppRouter.ts +0 -240
  716. package/src/mui-augmentation.d.ts +0 -139
  717. package/src/theme/index.ts +0 -13
  718. package/src/theme.ts +0 -23
  719. package/src/types/index.ts +0 -23
package/dist/theme.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
 
2
- import { $ as token, G as Theme, J as colors, K as ThemeOptions, Q as semanticColors, U as Colors, W as SemanticColors, X as lightTheme, Y as darkTheme, Z as muiTheme, q as TokenFn } from "./index-B9lSPJTi.js";
3
- export { Colors, SemanticColors, Theme, ThemeOptions, TokenFn, colors, darkTheme, lightTheme, muiTheme, semanticColors, token };
2
+ import { a as semanticVariantMap, i as colors, n as SemanticColorVariant, o as token, r as colorAliases, t as ColorShade } from "./colors-vY9Yzui0.js";
3
+ import { _ as getThemedPluginOptions, a as BASE_BAR_COLOR_DARK, b as dataGridThemeLight, c as CURRENT_BAR_COLOR, d as CURRENT_BAR_COLOR_WITH_ALPHA, f as ChartThemeColors, g as getChartThemeColors, h as getBarColors, i as BASE_BAR_COLOR, l as CURRENT_BAR_COLOR_DARK, m as INFO_VAL_COLOR_DARK, n as RecceTheme, o as BASE_BAR_COLOR_DARK_WITH_ALPHA, p as INFO_VAL_COLOR, r as theme, s as BASE_BAR_COLOR_WITH_ALPHA, t as Theme, u as CURRENT_BAR_COLOR_DARK_WITH_ALPHA, v as getThemedScaleOptions, y as dataGridThemeDark } from "./index-N8N7XmRj.js";
4
+ export { BASE_BAR_COLOR, BASE_BAR_COLOR_DARK, BASE_BAR_COLOR_DARK_WITH_ALPHA, BASE_BAR_COLOR_WITH_ALPHA, CURRENT_BAR_COLOR, CURRENT_BAR_COLOR_DARK, CURRENT_BAR_COLOR_DARK_WITH_ALPHA, CURRENT_BAR_COLOR_WITH_ALPHA, ChartThemeColors, ColorShade, INFO_VAL_COLOR, INFO_VAL_COLOR_DARK, RecceTheme, SemanticColorVariant, Theme, colorAliases, colors, dataGridThemeDark, dataGridThemeLight, getBarColors, getChartThemeColors, getThemedPluginOptions, getThemedScaleOptions, semanticVariantMap, theme, token };
package/dist/theme.js CHANGED
@@ -1,9 +1,2 @@
1
- "use client"
2
- const require_mui_theme = require('./mui-theme-iBHkjXJq.js');
3
-
4
- exports.colors = require_mui_theme.colors;
5
- exports.darkTheme = require_mui_theme.darkTheme;
6
- exports.lightTheme = require_mui_theme.lightTheme;
7
- exports.muiTheme = require_mui_theme.muiTheme;
8
- exports.semanticColors = require_mui_theme.semanticColors;
9
- exports.token = require_mui_theme.token;
1
+ "use client";
2
+ import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"./theme-CeWzymUn.js";import{i as _,n as v,r as y,t as b}from"./colors--47Kkns4.js";export{u as BASE_BAR_COLOR,p as BASE_BAR_COLOR_DARK,s as BASE_BAR_COLOR_DARK_WITH_ALPHA,t as BASE_BAR_COLOR_WITH_ALPHA,d as CURRENT_BAR_COLOR,m as CURRENT_BAR_COLOR_DARK,n as CURRENT_BAR_COLOR_DARK_WITH_ALPHA,c as CURRENT_BAR_COLOR_WITH_ALPHA,g as INFO_VAL_COLOR,r as INFO_VAL_COLOR_DARK,b as colorAliases,v as colors,a as dataGridThemeDark,e as dataGridThemeLight,i as getBarColors,f as getChartThemeColors,l as getThemedPluginOptions,o as getThemedScaleOptions,y as semanticVariantMap,h as theme,_ as token};
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{initAll as e,track as t}from"@amplitude/unified";function n(e,n,i){return r||console.log(`[Tracking]`,e,n,i),t(e,n,i)}let r=!1;function i(){function t(e){let t=document.cookie.match(`(^|;)\\s*`+e+`\\s*=\\s*([^;]+)`);return t?t.pop():``}let n=t(`recce_user_id`),i=process.env.AMPLITUDE_API_KEY;if(n&&i)try{e(i,{analytics:{userId:n,autocapture:!0},sessionReplay:{sampleRate:1}}),r=!0}catch(e){console.error(e)}r||console.log(`[Tracking] Amplitude not initialized (missing API key or user ID). Events will be logged to console instead.`)}function a(e){n(`[Web] multi_nodes_action`,e)}function o(e){n(`[Web] history_action`,e)}function s(e){n(`[Experiment] preview_change`,e)}function c(e){n(`[Experiment] preview_change`,e)}function l(e){n(`[Experiment] single_environment`,e)}function u(){return!1}function d(e){n(`[Web] column_level_lineage`,e)}function f(e){n(`[Web] share_state`,e)}function p(e){n(`[Web] state_action`,e)}function m(e){n(`[Click] copy_to_clipboard`,e)}function h(e){n(`[Web] navigation_change`,e)}function g(e){n(`[Web] lineage_view_render`,e)}function _(e){n(`[Web] environment_config`,e)}const v={ROW_COUNT:`row_count`,ROW_COUNT_DIFF:`row_count_diff`,PROFILE:`profile`,PROFILE_DIFF:`profile_diff`,VALUE_DIFF:`value_diff`,SCHEMA_DIFF:`schema_diff`,LINEAGE_DIFF:`lineage_diff`,QUERY:`query`,HISTOGRAM_DIFF:`histogram_diff`,TOP_K_DIFF:`top_k_diff`},y={LINEAGE_VIEW_TOP_BAR:`lineage_view_top_bar`,LINEAGE_VIEW_CONTEXT_MENU:`lineage_view_context_menu`,NODE_KEBAB_MENU:`node_kebab_menu`,NODE_SIDEBAR_SINGLE_ENV:`node_sidebar_single_env`,NODE_SIDEBAR_MULTI_ENV:`node_sidebar_multi_env`,SCHEMA_ROW_COUNT_BUTTON:`schema_row_count_button`,SCHEMA_COLUMN_MENU:`schema_column_menu`};function b(e){n(`[Web] explore_action`,e)}const x={EXECUTE:`execute`,CANCEL:`cancel`};function S(e){n(`[Web] explore_action_form`,e)}function C(e){return Object.values(v).includes(e)}const w={SELECT_PARENT_NODES:`select_parent_nodes`,SELECT_CHILD_NODES:`select_child_nodes`,SELECT_ALL_UPSTREAM:`select_all_upstream`,SELECT_ALL_DOWNSTREAM:`select_all_downstream`};function T(e){n(`[Web] lineage_selection`,e)}export{p as S,h as _,u as a,f as b,m as c,S as d,o as f,a as g,g as h,w as i,_ as l,T as m,x as n,C as o,i as p,y as r,d as s,v as t,b as u,s as v,l as x,c as y};
3
+ //# sourceMappingURL=track-9ZQpBlUK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"track-9ZQpBlUK.js","names":["track","trk"],"sources":["../src/lib/api/track.ts"],"sourcesContent":["import {\n AmplitudeReturn,\n BaseEvent,\n EventOptions,\n Result,\n} from \"@amplitude/analytics-core\";\nimport { initAll, track as trk } from \"@amplitude/unified\";\n\nfunction track(\n eventInput: string | BaseEvent,\n // biome-ignore lint/suspicious/noExplicitAny: Amplitude library uses any for event properties\n eventProperties?: Record<string, any> | undefined,\n eventOptions?: EventOptions | undefined,\n): AmplitudeReturn<Result> {\n // If Amplitude isn't initialized, log to console instead (but not during tests)\n if (!amplitudeInitialized && process.env.NODE_ENV !== \"test\") {\n console.log(\"[Tracking]\", eventInput, eventProperties, eventOptions);\n }\n return trk(eventInput, eventProperties, eventOptions);\n}\n\nlet amplitudeInitialized = false;\n\nexport function trackInit() {\n function getCookie(key: string) {\n const b = document.cookie.match(\"(^|;)\\\\s*\" + key + \"\\\\s*=\\\\s*([^;]+)\");\n return b ? b.pop() : \"\";\n }\n\n const userId =\n process.env.NODE_ENV === \"development\"\n ? \"web_dev\"\n : getCookie(\"recce_user_id\");\n const apiKey = process.env.AMPLITUDE_API_KEY;\n if (userId && apiKey) {\n try {\n void initAll(apiKey, {\n analytics: {\n userId,\n autocapture: true,\n },\n sessionReplay: {\n sampleRate: 1,\n },\n });\n amplitudeInitialized = true;\n } catch (e) {\n console.error(e);\n }\n }\n\n // Log when Amplitude is not initialized (for development/debugging)\n if (!amplitudeInitialized) {\n console.log(\n \"[Tracking] Amplitude not initialized (missing API key or user ID). Events will be logged to console instead.\",\n );\n }\n}\n\ninterface MultiNodeActionProps {\n type:\n | \"row_count\"\n | \"row_count_diff\"\n | \"value_diff\"\n | \"schema_diff\"\n | \"lineage_diff\";\n selected: \"single\" | \"multi\" | \"none\";\n}\n\nexport function trackMultiNodesAction(props: MultiNodeActionProps) {\n track(\"[Web] multi_nodes_action\", props);\n}\n\ninterface HistoryActionProps {\n name: \"show\" | \"hide\" | \"click_run\" | \"add_to_checklist\" | \"go_to_check\";\n}\n\nexport function trackHistoryAction(props: HistoryActionProps) {\n track(\"[Web] history_action\", props);\n}\n\ninterface PreviewChangeProps {\n action: \"explore\" | \"run\" | \"close\";\n node?: string;\n status?: \"success\" | \"failure\";\n}\n\nexport function trackPreviewChange(props: PreviewChangeProps) {\n track(\"[Experiment] preview_change\", props);\n}\n\ninterface PreviewChangeFeedbackProps {\n feedback: \"like\" | \"dislike\" | \"form\";\n node?: string;\n}\n\nexport function trackPreviewChangeFeedback(props: PreviewChangeFeedbackProps) {\n track(\"[Experiment] preview_change\", props);\n}\n\ninterface SingleEnvironmentProps {\n action:\n | \"onboarding\"\n | \"external_link\"\n | \"preview_changes\"\n | `target_base_added`;\n from?: \"onboarding\" | \"preview_changes\";\n node?: string;\n}\n\nexport function trackSingleEnvironment(props: SingleEnvironmentProps) {\n track(\"[Experiment] single_environment\", props);\n}\n\nexport function getExperimentTrackingBreakingChangeEnabled() {\n return false;\n}\n\ninterface ColumnLevelLineageProps {\n action: \"view\";\n source: \"schema_column\" | \"changed_column\" | \"cll_column\";\n}\n\nexport function trackColumnLevelLineage(props: ColumnLevelLineageProps) {\n track(\"[Web] column_level_lineage\", props);\n}\n\ninterface ShareStateProps {\n name: \"enable\" | \"create\" | \"copy\";\n}\n\nexport function trackShareState(props: ShareStateProps) {\n track(\"[Web] share_state\", props);\n}\n\ninterface StateActionProps {\n name: \"import\" | \"export\";\n}\n\nexport function trackStateAction(props: StateActionProps) {\n track(\"[Web] state_action\", props);\n}\n\ninterface CopyToClipboardProps {\n from: \"run\" | \"check\" | \"lineage_view\";\n type: string;\n}\n\nexport function trackCopyToClipboard(props: CopyToClipboardProps) {\n track(\"[Click] copy_to_clipboard\", props);\n}\n\ninterface TrackNavProps {\n from: string;\n to: string;\n}\n\nexport function trackNavigation(props: TrackNavProps) {\n track(\"[Web] navigation_change\", props);\n}\n\nexport interface LineageViewRenderProps {\n node_count: number;\n view_mode: string;\n impact_radius_enabled: boolean;\n cll_column_active?: boolean;\n right_sidebar_open: boolean;\n [status: string]: number | string | boolean | undefined;\n}\n\nexport function trackLineageViewRender(props: LineageViewRenderProps) {\n track(\"[Web] lineage_view_render\", props);\n}\n\nexport interface EnvironmentConfigProps {\n review_mode: boolean;\n adapter_type: string | null;\n has_git_info: boolean;\n has_pr_info: boolean;\n // Adapter-specific (shape varies by adapter_type)\n base?: {\n schema_count?: number;\n dbt_version?: string | null;\n timestamp?: string | null;\n has_env?: boolean;\n };\n current?: {\n schema_count?: number;\n dbt_version?: string | null;\n timestamp?: string | null;\n has_env?: boolean;\n };\n schemas_match?: boolean;\n}\n\nexport function trackEnvironmentConfig(props: EnvironmentConfigProps) {\n track(\"[Web] environment_config\", props);\n}\n\n// Explore action types\nexport const EXPLORE_ACTION = {\n ROW_COUNT: \"row_count\",\n ROW_COUNT_DIFF: \"row_count_diff\",\n PROFILE: \"profile\",\n PROFILE_DIFF: \"profile_diff\",\n VALUE_DIFF: \"value_diff\",\n SCHEMA_DIFF: \"schema_diff\",\n LINEAGE_DIFF: \"lineage_diff\",\n QUERY: \"query\",\n HISTOGRAM_DIFF: \"histogram_diff\",\n TOP_K_DIFF: \"top_k_diff\",\n} as const;\n\n// Explore action sources\nexport const EXPLORE_SOURCE = {\n LINEAGE_VIEW_TOP_BAR: \"lineage_view_top_bar\",\n LINEAGE_VIEW_CONTEXT_MENU: \"lineage_view_context_menu\",\n NODE_KEBAB_MENU: \"node_kebab_menu\",\n NODE_SIDEBAR_SINGLE_ENV: \"node_sidebar_single_env\",\n NODE_SIDEBAR_MULTI_ENV: \"node_sidebar_multi_env\",\n SCHEMA_ROW_COUNT_BUTTON: \"schema_row_count_button\",\n SCHEMA_COLUMN_MENU: \"schema_column_menu\",\n} as const;\n\nexport type ExploreActionType =\n (typeof EXPLORE_ACTION)[keyof typeof EXPLORE_ACTION];\nexport type ExploreSourceType =\n (typeof EXPLORE_SOURCE)[keyof typeof EXPLORE_SOURCE];\n\ninterface ExploreActionProps {\n action: ExploreActionType;\n source: ExploreSourceType;\n node_count?: number;\n}\n\nexport function trackExploreAction(props: ExploreActionProps) {\n track(\"[Web] explore_action\", props);\n}\n\n// Explore action form events\nexport const EXPLORE_FORM_EVENT = {\n EXECUTE: \"execute\",\n CANCEL: \"cancel\",\n} as const;\n\nexport type ExploreFormEventType =\n (typeof EXPLORE_FORM_EVENT)[keyof typeof EXPLORE_FORM_EVENT];\n\ninterface ExploreActionFormProps {\n action: ExploreActionType;\n event: ExploreFormEventType;\n}\n\nexport function trackExploreActionForm(props: ExploreActionFormProps) {\n track(\"[Web] explore_action_form\", props);\n}\n\n// Helper to check if a run type is an explore action\nexport function isExploreAction(type: string): type is ExploreActionType {\n return Object.values(EXPLORE_ACTION).includes(type as ExploreActionType);\n}\n\n// Lineage selection action types\nexport const LINEAGE_SELECTION_ACTION = {\n SELECT_PARENT_NODES: \"select_parent_nodes\",\n SELECT_CHILD_NODES: \"select_child_nodes\",\n SELECT_ALL_UPSTREAM: \"select_all_upstream\",\n SELECT_ALL_DOWNSTREAM: \"select_all_downstream\",\n} as const;\n\nexport type LineageSelectionActionType =\n (typeof LINEAGE_SELECTION_ACTION)[keyof typeof LINEAGE_SELECTION_ACTION];\n\ninterface LineageSelectionProps {\n action: LineageSelectionActionType;\n node_count?: number;\n}\n\nexport function trackLineageSelection(props: LineageSelectionProps) {\n track(\"[Web] lineage_selection\", props);\n}\n"],"mappings":";wDAQA,SAASA,EACP,EAEA,EACA,EACyB,CAKzB,OAHK,GACH,QAAQ,IAAI,aAAc,EAAY,EAAiB,EAAa,CAE/DC,EAAI,EAAY,EAAiB,EAAa,CAGvD,IAAI,EAAuB,GAE3B,SAAgB,GAAY,CAC1B,SAAS,EAAU,EAAa,CAC9B,IAAM,EAAI,SAAS,OAAO,MAAM,YAAc,EAAM,mBAAmB,CACvE,OAAO,EAAI,EAAE,KAAK,CAAG,GAGvB,IAAM,EAGA,EAAU,gBAAgB,CAC1B,EAAS,QAAQ,IAAI,kBAC3B,GAAI,GAAU,EACZ,GAAI,CACG,EAAQ,EAAQ,CACnB,UAAW,CACT,SACA,YAAa,GACd,CACD,cAAe,CACb,WAAY,EACb,CACF,CAAC,CACF,EAAuB,SAChB,EAAG,CACV,QAAQ,MAAM,EAAE,CAKf,GACH,QAAQ,IACN,+GACD,CAcL,SAAgB,EAAsB,EAA6B,CACjE,EAAM,2BAA4B,EAAM,CAO1C,SAAgB,EAAmB,EAA2B,CAC5D,EAAM,uBAAwB,EAAM,CAStC,SAAgB,EAAmB,EAA2B,CAC5D,EAAM,8BAA+B,EAAM,CAQ7C,SAAgB,EAA2B,EAAmC,CAC5E,EAAM,8BAA+B,EAAM,CAa7C,SAAgB,EAAuB,EAA+B,CACpE,EAAM,kCAAmC,EAAM,CAGjD,SAAgB,GAA6C,CAC3D,MAAO,GAQT,SAAgB,EAAwB,EAAgC,CACtE,EAAM,6BAA8B,EAAM,CAO5C,SAAgB,EAAgB,EAAwB,CACtD,EAAM,oBAAqB,EAAM,CAOnC,SAAgB,EAAiB,EAAyB,CACxD,EAAM,qBAAsB,EAAM,CAQpC,SAAgB,EAAqB,EAA6B,CAChE,EAAM,4BAA6B,EAAM,CAQ3C,SAAgB,EAAgB,EAAsB,CACpD,EAAM,0BAA2B,EAAM,CAYzC,SAAgB,EAAuB,EAA+B,CACpE,EAAM,4BAA6B,EAAM,CAwB3C,SAAgB,EAAuB,EAA+B,CACpE,EAAM,2BAA4B,EAAM,CAI1C,MAAa,EAAiB,CAC5B,UAAW,YACX,eAAgB,iBAChB,QAAS,UACT,aAAc,eACd,WAAY,aACZ,YAAa,cACb,aAAc,eACd,MAAO,QACP,eAAgB,iBAChB,WAAY,aACb,CAGY,EAAiB,CAC5B,qBAAsB,uBACtB,0BAA2B,4BAC3B,gBAAiB,kBACjB,wBAAyB,0BACzB,uBAAwB,yBACxB,wBAAyB,0BACzB,mBAAoB,qBACrB,CAaD,SAAgB,EAAmB,EAA2B,CAC5D,EAAM,uBAAwB,EAAM,CAItC,MAAa,EAAqB,CAChC,QAAS,UACT,OAAQ,SACT,CAUD,SAAgB,EAAuB,EAA+B,CACpE,EAAM,4BAA6B,EAAM,CAI3C,SAAgB,EAAgB,EAAyC,CACvE,OAAO,OAAO,OAAO,EAAe,CAAC,SAAS,EAA0B,CAI1E,MAAa,EAA2B,CACtC,oBAAqB,sBACrB,mBAAoB,qBACpB,oBAAqB,sBACrB,sBAAuB,wBACxB,CAUD,SAAgB,EAAsB,EAA8B,CAClE,EAAM,0BAA2B,EAAM"}
@@ -0,0 +1,171 @@
1
+
2
+ import { C as Run, D as RunType, J as ValueDiffDetailViewOptions, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, lt as ProfileDiffParams, ot as HistogramDiffParams, s as LineageDiffViewOptions, wt as QueryViewOptions, yt as QueryDiffViewOptions, zt as AxiosQueryParams } from "./flag-CiR2E5oz.js";
3
+ import { r as DataGridHandle } from "./ScreenshotDataGrid-BfxYUThx.js";
4
+ import * as react6 from "react";
5
+ import { ComponentType, ForwardRefExoticComponent, ReactNode, Ref, RefAttributes } from "react";
6
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
7
+
8
+ //#region src/components/run/RunToolbar.d.ts
9
+ /**
10
+ * Common view options for diff-based result views.
11
+ * Used to control what data is shown in diff results.
12
+ */
13
+ interface DiffViewOptions {
14
+ /** When true, only show rows/columns that have changed */
15
+ changed_only?: boolean;
16
+ }
17
+ /**
18
+ * Props for the RunToolbar component
19
+ */
20
+ interface RunToolbarProps {
21
+ /** Array of warning messages to display */
22
+ warnings?: string[];
23
+ /** Toolbar actions or other content */
24
+ children?: ReactNode;
25
+ /** Optional CSS class */
26
+ className?: string;
27
+ }
28
+ /**
29
+ * RunToolbar Component
30
+ *
31
+ * A pure presentation component for displaying run toolbar with warnings.
32
+ * Warnings are displayed with amber background when present.
33
+ *
34
+ * @example Basic usage with warnings
35
+ * ```tsx
36
+ * import { RunToolbar } from '@datarecce/ui/primitives';
37
+ *
38
+ * function RunPane({ run }) {
39
+ * return (
40
+ * <RunToolbar warnings={run.warnings}>
41
+ * <Button onClick={handleExport}>Export</Button>
42
+ * </RunToolbar>
43
+ * );
44
+ * }
45
+ * ```
46
+ *
47
+ * @example Without warnings
48
+ * ```tsx
49
+ * <RunToolbar>
50
+ * <Switch label="Changed only" />
51
+ * <Button onClick={handleCopy}>Copy</Button>
52
+ * </RunToolbar>
53
+ * ```
54
+ */
55
+ declare function RunToolbarComponent({
56
+ warnings,
57
+ children,
58
+ className
59
+ }: RunToolbarProps): react_jsx_runtime25.JSX.Element;
60
+ declare const RunToolbar: react6.MemoExoticComponent<typeof RunToolbarComponent>;
61
+ //#endregion
62
+ //#region src/components/run/types.d.ts
63
+ /**
64
+ * Base props for run form components.
65
+ * Generic type PT represents the params type for the specific run type.
66
+ *
67
+ * @example
68
+ * interface MyFormProps extends RunFormProps<MyRunParams> {}
69
+ */
70
+ interface RunFormProps<PT = unknown> {
71
+ /** Current form parameter values */
72
+ params: Partial<PT>;
73
+ /** Callback when params change */
74
+ onParamsChanged: (params: Partial<PT>) => void;
75
+ /** Callback to set whether the form is valid and ready to execute */
76
+ setIsReadyToExecute: (isReadyToExecute: boolean) => void;
77
+ }
78
+ /**
79
+ * Base props for run result view components.
80
+ * Generic type VO represents the view options type for the specific run type.
81
+ *
82
+ * @example
83
+ * interface MyResultViewProps extends RunResultViewProps<MyViewOptions> {}
84
+ */
85
+ interface RunResultViewProps<VO = unknown> {
86
+ /** The run object containing execution results */
87
+ run: Run;
88
+ /** Optional view options to control how results are displayed */
89
+ viewOptions?: VO;
90
+ /** Callback when view options change */
91
+ onViewOptionsChanged?: (viewOptions: VO) => void;
92
+ }
93
+ /**
94
+ * Type for icon components - compatible with react-icons IconType pattern.
95
+ * Uses a permissive type to allow react-icons IconType and custom icon components.
96
+ *
97
+ * This type accepts any component that can render an icon. The actual props
98
+ * depend on the icon library used (react-icons, @mui/icons-material, etc.)
99
+ */
100
+ type IconComponent = ComponentType<any>;
101
+ /**
102
+ * Configuration for a single run type in the registry.
103
+ * Icons and components are injectable, enabling extension/override.
104
+ *
105
+ * @param RefType - Type for the ref (DataGridHandle, HTMLDivElement, etc.)
106
+ * @param ViewOptions - Type for view options specific to this run type
107
+ * @param FormParams - Type for form parameters specific to this run type
108
+ */
109
+ interface RunTypeConfig<RefType = unknown, ViewOptions = unknown, FormParams = unknown> {
110
+ /** Human-readable title for the run type */
111
+ title: string;
112
+ /** Icon component for the run type - injectable for customization */
113
+ icon: IconComponent;
114
+ /** Optional result view component (forwardRef) for rendering run results */
115
+ RunResultView?: ForwardRefExoticComponent<RunResultViewProps<ViewOptions> & RefAttributes<RefType>>;
116
+ /** Optional form component for configuring run parameters */
117
+ RunForm?: ComponentType<RunFormProps<FormParams>>;
118
+ }
119
+ /**
120
+ * Interface for the full run type registry.
121
+ * Consumers can extend this with additional run types:
122
+ *
123
+ * @example
124
+ * const cloudRegistry: RunTypeRegistry & { custom: RunTypeConfig } = {
125
+ * ...defaultRunTypeRegistry,
126
+ * custom: { title: "Custom", icon: MyIcon }
127
+ * };
128
+ */
129
+ type RunTypeRegistry = { [K in RunType]: RunTypeConfig };
130
+ /**
131
+ * Partial registry for registry extension/override patterns.
132
+ * Useful when consumers want to override only some run types.
133
+ *
134
+ * @example
135
+ * const overrides: Partial<RunTypeRegistry> = {
136
+ * query: { ...defaultRunTypeRegistry.query, icon: CustomQueryIcon }
137
+ * };
138
+ */
139
+ type PartialRunTypeRegistry = Partial<RunTypeRegistry>;
140
+ /**
141
+ * Union of ref types used by run result views.
142
+ * DataGridHandle for data grid components, HTMLDivElement for others.
143
+ */
144
+ type RunResultViewRef = Ref<unknown> | Ref<HTMLDivElement>;
145
+ /**
146
+ * Union of all view option types used across run result views.
147
+ * Includes options for lineage diff, query diff, profile diff, etc.
148
+ */
149
+ type ViewOptionTypes = LineageDiffViewOptions | DiffViewOptions | QueryViewOptions | QueryDiffViewOptions | ProfileDiffViewOptions | ValueDiffDetailViewOptions | TopKViewOptions;
150
+ /**
151
+ * Union of ref types for result views.
152
+ * DataGridHandle for data grid components, HTMLDivElement for others.
153
+ */
154
+ type RefTypes = Ref<DataGridHandle> | Ref<HTMLDivElement>;
155
+ /**
156
+ * Union of form param types for run forms.
157
+ * These are the API-level parameter types.
158
+ */
159
+ type RunFormParamTypes = ProfileDiffParams | ValueDiffParams | TopKDiffParams | HistogramDiffParams | AxiosQueryParams;
160
+ /**
161
+ * Alias for RunTypeConfig for backward compatibility with OSS code.
162
+ * RegistryEntry was the original name used in OSS registry.ts.
163
+ *
164
+ * @param RefType - Type for the ref (DataGridHandle, HTMLDivElement, etc.)
165
+ * @param ViewOptions - Type for view options specific to this run type
166
+ * @param FormParams - Type for form parameters specific to this run type
167
+ */
168
+ type RegistryEntry<RefType = RefTypes, ViewOptions = ViewOptionTypes, FormParams = RunFormParamTypes> = RunTypeConfig<RefType, ViewOptions, FormParams>;
169
+ //#endregion
170
+ export { RunFormParamTypes as a, RunResultViewRef as c, ViewOptionTypes as d, DiffViewOptions as f, RegistryEntry as i, RunTypeConfig as l, RunToolbarProps as m, PartialRunTypeRegistry as n, RunFormProps as o, RunToolbar as p, RefTypes as r, RunResultViewProps as s, IconComponent as t, RunTypeRegistry as u };
171
+ //# sourceMappingURL=types-CFbNxrx2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-CFbNxrx2.d.ts","names":[],"sources":["../src/components/run/RunToolbar.tsx","../src/components/run/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;UAYiB,eAAA;;EAAA,YAAA,CAAA,EAAA,OAAe;AAQhC;AAOC;;;AAgCC,UAvCe,eAAA,CAuCf;EACC;EAAe,QAAA,CAAA,EAAA,MAAA,EAAA;EAAA;EAmDL,QAAA,CAAA,EAvFA,SAuFsC;;;;ACpEnD;;;;;;AAoBA;;;;;AAqBA;AAcA;;;;;;;;;;;AAkCA;AAaA;AAUA;;iBDnGS,mBAAA,CCmGyC;EAAA,QAAA;EAAA,QAAA;EAAA;AAAA,CAAA,ED/F/C,eC+F+C,CAAA,ED/FhC,mBAAA,CAAA,GAAA,CAAA,OC+FgC;AAAJ,cD5CjC,UC4CiC,ED5CvB,MAAA,CAAA,mBC4CuB,CAAA,OD5CvB,mBC4CuB,CAAA;;;ADhI7C;;;;;;;AAoFY,UCpEI,YDoEkC,CAA5B,KAAA,OAAA,CAAA,CAAA;;UClEb,QAAQ;;EAFD,eAAY,EAAA,CAAA,MAAA,EAID,OAJC,CAIO,EAJP,CAAA,EAAA,GAAA,IAAA;EAEX;EAAR,mBAAA,EAAA,CAAA,gBAAA,EAAA,OAAA,EAAA,GAAA,IAAA;;;;AAkBV;;;;;AAqBY,UArBK,kBAqBW,CAAA,KAAA,OAAa,CAAA,CAAA;EAcxB;EAST,GAAA,EA1CD,GA0CC;EAIe;EAAnB,WAAA,CAAA,EA5CY,EA4CZ;EAAgD;EAAd,oBAAA,CAAA,EAAA,CAAA,WAAA,EA1CC,EA0CD,EAAA,GAAA,IAAA;;;;;;AAqBtC;AAaA;AAUA;AAA+B,KAvEnB,aAAA,GAAgB,aAuEG,CAAA,GAAA,CAAA;;;;AAU/B;;;;;AAKI,UAxEa,aAwEb,CAAA,UAAA,OAAA,EAAA,cAAA,OAAA,EAAA,aAAA,OAAA,CAAA,CAAA;EACA;EACA,KAAA,EAAA,MAAA;EAAe;EAMP,IAAA,EAvEJ,aAuEY;EAAO;EAAJ,aAAA,CAAA,EApEL,yBAoEK,CAnEnB,kBAmEmB,CAnEA,WAmEA,CAAA,GAnEe,aAmEf,CAnE6B,OAmE7B,CAAA,CAAA;EAA0B;EAAJ,OAAA,CAAA,EA/DjC,aA+DiC,CA/DnB,YA+DmB,CA/DN,UA+DM,CAAA,CAAA;;AAM7C;;;;;;;AAeA;;;AAGe,KAtEH,eAAA,GAsEG,QArEP,OAsEU,GAtEA,aAsEA,EAAS;;;;;;;;;;KA1Df,sBAAA,GAAyB,QAAQ;;;;;KAUjC,gBAAA,GAAmB,eAAe,IAAI;;;;;KAUtC,eAAA,GACR,yBACA,kBACA,mBACA,uBACA,yBACA,6BACA;;;;;KAMQ,QAAA,GAAW,IAAI,kBAAkB,IAAI;;;;;KAMrC,iBAAA,GACR,oBACA,kBACA,iBACA,sBACA;;;;;;;;;KAUQ,wBACA,wBACI,8BACD,qBACX,cAAc,SAAS,aAAa"}
@@ -0,0 +1,231 @@
1
+
2
+ import { C as Run, Jt as ColumnLineageData, Kt as CllInput, Ot as RunsAggregated, Qt as GitInfo, Zt as CatalogMetadata, cn as SQLMeshInfo, on as NodeData, rn as ManifestMetadata, s as LineageDiffViewOptions, sn as PullRequestInfo, un as StateMetadata } from "./flag-CiR2E5oz.js";
3
+ import React from "react";
4
+ import { Edge, Node } from "@xyflow/react";
5
+
6
+ //#region src/contexts/lineage/types.d.ts
7
+
8
+ /**
9
+ * Environment information derived from server info
10
+ */
11
+ interface EnvInfo {
12
+ stateMetadata?: StateMetadata;
13
+ adapterType?: string;
14
+ git?: GitInfo;
15
+ pullRequest?: PullRequestInfo;
16
+ dbt?: {
17
+ base: ManifestMetadata | undefined | null;
18
+ current: ManifestMetadata | undefined | null;
19
+ };
20
+ sqlmesh?: SQLMeshInfo | null;
21
+ }
22
+ /**
23
+ * Which environment the node/edge comes from
24
+ */
25
+ type LineageFrom = "both" | "base" | "current";
26
+ /**
27
+ * Lineage graph node type for React Flow
28
+ */
29
+ type LineageGraphNode = Node<{
30
+ id: string;
31
+ name: string;
32
+ from: LineageFrom;
33
+ data: {
34
+ base?: NodeData;
35
+ current?: NodeData;
36
+ };
37
+ changeStatus?: "added" | "removed" | "modified";
38
+ change?: {
39
+ category: "breaking" | "non_breaking" | "partial_breaking" | "unknown";
40
+ columns: Record<string, "added" | "removed" | "modified"> | null;
41
+ };
42
+ resourceType?: string;
43
+ packageName?: string;
44
+ parents: Record<string, LineageGraphEdge>;
45
+ children: Record<string, LineageGraphEdge>;
46
+ }, "lineageGraphNode">;
47
+ /**
48
+ * Column-level lineage node type
49
+ */
50
+ type LineageGraphColumnNode = Node<{
51
+ node: LineageGraphNode["data"];
52
+ column: string;
53
+ type: string;
54
+ transformationType?: string;
55
+ changeStatus?: "added" | "removed" | "modified";
56
+ }, "lineageGraphColumnNode">;
57
+ /**
58
+ * Lineage graph edge type for React Flow
59
+ */
60
+ type LineageGraphEdge = Edge<{
61
+ from: LineageFrom;
62
+ changeStatus?: "added" | "removed";
63
+ }, "lineageGraphEdge">;
64
+ /**
65
+ * Union type for all lineage graph node types
66
+ */
67
+ type LineageGraphNodes = LineageGraphNode | LineageGraphColumnNode;
68
+ /**
69
+ * The main lineage graph data structure
70
+ */
71
+ interface LineageGraph {
72
+ nodes: Record<string, LineageGraphNode>;
73
+ edges: Record<string, LineageGraphEdge>;
74
+ modifiedSet: string[];
75
+ manifestMetadata: {
76
+ base?: ManifestMetadata;
77
+ current?: ManifestMetadata;
78
+ };
79
+ catalogMetadata: {
80
+ base?: CatalogMetadata;
81
+ current?: CatalogMetadata;
82
+ };
83
+ }
84
+ /**
85
+ * Type guard for LineageGraphNode
86
+ */
87
+ declare function isLineageGraphNode(node: LineageGraphNodes): node is LineageGraphNode;
88
+ /**
89
+ * Type guard for LineageGraphColumnNode
90
+ */
91
+ declare function isLineageGraphColumnNode(node: LineageGraphNodes): node is LineageGraphColumnNode;
92
+ /**
93
+ * Context value exposed by LineageGraphContext
94
+ */
95
+ interface LineageGraphContextType {
96
+ /** The processed lineage graph */
97
+ lineageGraph?: LineageGraph;
98
+ /** Environment metadata */
99
+ envInfo?: EnvInfo;
100
+ /** Whether in review mode (read-only checks) */
101
+ reviewMode?: boolean;
102
+ /** Whether in cloud mode (recce cloud) */
103
+ cloudMode?: boolean;
104
+ /** Whether in file mode (loading from file) */
105
+ fileMode?: boolean;
106
+ /** The state file name if in file mode */
107
+ fileName?: string;
108
+ /** Whether this is the demo site */
109
+ isDemoSite: boolean;
110
+ /** Whether running in GitHub Codespace */
111
+ isCodespace?: boolean;
112
+ /** Loading state */
113
+ isLoading?: boolean;
114
+ /** Error message if loading failed */
115
+ error?: string;
116
+ /** Supported task types from server */
117
+ supportTasks?: Record<string, boolean>;
118
+ /** Refetch the lineage graph data */
119
+ retchLineageGraph?: () => void;
120
+ /** Check if an action is available */
121
+ isActionAvailable: (actionName: string) => boolean;
122
+ /** Pre-aggregated run results by model */
123
+ runsAggregated?: RunsAggregated;
124
+ /** Refetch the aggregated runs */
125
+ refetchRunsAggregated?: () => void;
126
+ }
127
+ /**
128
+ * Action mode for node operations - single or multiple nodes
129
+ */
130
+ type ActionMode = "per_node" | "multi_nodes";
131
+ /**
132
+ * Select mode for multi-node selection
133
+ */
134
+ type SelectMode = "selecting" | "action_result" | undefined;
135
+ /**
136
+ * Action state for individual node operations
137
+ */
138
+ interface NodeAction {
139
+ /** Whether this is a per-node or multi-node action */
140
+ mode: ActionMode;
141
+ /** Current status of this node's action */
142
+ status?: "pending" | "running" | "success" | "failure" | "skipped";
143
+ /** Reason why this node was skipped (if applicable) */
144
+ skipReason?: string;
145
+ /** The run associated with this action */
146
+ run?: Run;
147
+ }
148
+ /**
149
+ * Overall action state for batch operations
150
+ */
151
+ interface ActionState {
152
+ /** Whether this is a per-node or multi-node action */
153
+ mode: ActionMode;
154
+ /** Overall status of the action batch */
155
+ status: "pending" | "running" | "canceling" | "canceled" | "completed";
156
+ /** Current run being executed */
157
+ currentRun?: Partial<Run>;
158
+ /** Number of completed actions */
159
+ completed: number;
160
+ /** Total number of actions */
161
+ total: number;
162
+ /** Per-node action state */
163
+ actions: Record<string, NodeAction>;
164
+ }
165
+ /**
166
+ * Context value exposed by LineageViewContext.
167
+ * Provides state and methods for interacting with the lineage view.
168
+ */
169
+ interface LineageViewContextType {
170
+ /** Whether the view is interactive (vs read-only) */
171
+ interactive: boolean;
172
+ /** All nodes in the current view */
173
+ nodes: LineageGraphNodes[];
174
+ /** Currently focused node (hovered/highlighted) */
175
+ focusedNode?: LineageGraphNode;
176
+ /** Currently selected nodes for batch operations */
177
+ selectedNodes: LineageGraphNode[];
178
+ /** Column-level lineage data if showing CLL */
179
+ cll: ColumnLineageData | undefined;
180
+ /** Show the context menu for a node */
181
+ showContextMenu: (event: React.MouseEvent, node: LineageGraphNodes) => void;
182
+ /** Current view options (filters, display settings) */
183
+ viewOptions: LineageDiffViewOptions;
184
+ /** Update view options */
185
+ onViewOptionsChanged: (options: LineageDiffViewOptions) => void;
186
+ /** Current selection mode */
187
+ selectMode: SelectMode;
188
+ /** Select/deselect a single node */
189
+ selectNode: (nodeId: string) => void;
190
+ /** Select all parent nodes up to a degree */
191
+ selectParentNodes: (nodeId: string, degree?: number) => void;
192
+ /** Select all child nodes up to a degree */
193
+ selectChildNodes: (nodeId: string, degree?: number) => void;
194
+ /** Clear selection */
195
+ deselect: () => void;
196
+ /** Check if a node is highlighted */
197
+ isNodeHighlighted: (nodeId: string) => boolean;
198
+ /** Check if a node is selected */
199
+ isNodeSelected: (nodeId: string) => boolean;
200
+ /** Check if an edge is highlighted */
201
+ isEdgeHighlighted: (source: string, target: string) => boolean;
202
+ /** Get the action state for a node */
203
+ getNodeAction: (nodeId: string) => NodeAction;
204
+ /** Get the columns visible for a node in CLL mode */
205
+ getNodeColumnSet: (nodeId: string) => Set<string>;
206
+ /** Check if a node is showing change analysis */
207
+ isNodeShowingChangeAnalysis: (nodeId: string) => boolean;
208
+ /** Run row count on selected nodes */
209
+ runRowCount: () => Promise<void>;
210
+ /** Run row count diff on selected nodes */
211
+ runRowCountDiff: () => Promise<void>;
212
+ /** Run value diff on selected nodes */
213
+ runValueDiff: () => Promise<void>;
214
+ /** Add a lineage diff check */
215
+ addLineageDiffCheck: (viewMode?: string) => void;
216
+ /** Add a schema diff check */
217
+ addSchemaDiffCheck: () => void;
218
+ /** Cancel the current action */
219
+ cancel: () => void;
220
+ /** Current action state */
221
+ actionState: ActionState;
222
+ /** Center the view on a specific node */
223
+ centerNode: (nodeId: string) => void;
224
+ /** Show column-level lineage for a node/column */
225
+ showColumnLevelLineage: (cll?: CllInput) => Promise<void>;
226
+ /** Reset column-level lineage view */
227
+ resetColumnLevelLineage: (previous?: boolean) => Promise<void>;
228
+ }
229
+ //#endregion
230
+ export { LineageGraphColumnNode as a, LineageGraphNode as c, NodeAction as d, SelectMode as f, LineageGraph as i, LineageGraphNodes as l, isLineageGraphNode as m, ActionState as n, LineageGraphContextType as o, isLineageGraphColumnNode as p, EnvInfo as r, LineageGraphEdge as s, ActionMode as t, LineageViewContextType as u };
231
+ //# sourceMappingURL=types-CZre3j02.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-CZre3j02.d.ts","names":[],"sources":["../src/contexts/lineage/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AA0Ba,UAPI,OAAA,CAOJ;EAED,aAAA,CAAA,EARM,aAQN;EAAW,WAAA,CAAA,EAAA,MAAA;EAMlB,GAAA,CAAA,EAZG,OAYH;EAKO,WAAA,CAAA,EAhBI,eAgBY;EAIlB,GAAA,CAAA,EAAA;IAEG,IAAA,EApBH,gBAoBG,GAAA,SAAA,GAAA,IAAA;IACG,OAAA,EApBH,gBAoBG,GAAA,SAAA,GAAA,IAAA;EAKD,CAAA;EAIa,OAAA,CAAA,EA3BhB,WA2BgB,GAAA,IAAA;;;;;KArBvB,WAAA,GAK8B,MAAA,GAAA,MAAA,GAAA,SAAA;AAyBnC;AAcA;AAWA;AAKiB,KAvDL,gBAAA,GAAmB,IAuDF,CAAA;EACL,EAAA,EAAA,MAAA;EAAf,IAAA,EAAA,MAAA;EACe,IAAA,EArDd,WAqDc;EAAf,IAAA,EAAA;IAGE,IAAA,CAAA,EAtDE,QAsDF;IACG,OAAA,CAAA,EAtDE,QAsDF;EAGH,CAAA;EACG,YAAA,CAAA,EAAA,OAAA,GAAA,SAAA,GAAA,UAAA;EAAe,MAAA,CAAA,EAAA;IAOb,QAAA,EAAA,UAAkB,GAAA,cAC1B,GAAA,kBACG,GAAA,SAAgB;IAOX,OAAA,EArED,MAqEC,CAAA,MAAA,EAAwB,OAAA,GAAA,SAChC,GAAA,UACG,CAAA,GAAA,IAAA;EAOM,CAAA;EAEA,YAAA,CAAA,EAAA,MAAA;EAEL,WAAA,CAAA,EAAA,MAAA;EAkBK,OAAA,EAhGJ,MAgGI,CAAA,MAAA,EAhGW,gBAgGX,CAAA;EAME,QAAA,EArGL,MAqGK,CAAA,MAAA,EArGU,gBAqGV,CAAA;CAAc,EAAA,kBAAA,CAAA;AAYjC;AAKA;AAKA;AAciB,KAjIL,sBAAA,GAAyB,IAiIT,CAAA;EAEpB,IAAA,EAjIE,gBAiIF,CAAA,MAAA,CAAA;EAIe,MAAA,EAAA,MAAA;EAAR,IAAA,EAAA,MAAA;EAMW,kBAAA,CAAA,EAAA,MAAA;EAAf,YAAA,CAAA,EAAA,OAAA,GAAA,SAAA,GAAA,UAAA;CAAM,EAAA,wBAAA,CAAA;AAOjB;;;AAQiB,KA9IL,gBAAA,GAAmB,IA8Id,CAAA;EAEV,IAAA,EA9IG,WA8IH;EAIoB,YAAM,CAAA,EAAA,OAAA,GAAA,SAAA;CAAkB,EAAA,kBAAA,CAAA;;;;AA4Bd,KArKzB,iBAAA,GAAoB,gBAqKK,GArKc,sBAqKd;;;;AAYf,UA5KL,YAAA,CA4KK;EAQP,KAAA,EAnLN,MAmLM,CAAA,MAAA,EAnLS,gBAmLT,CAAA;EAMkB,KAAA,EAxLxB,MAwLwB,CAAA,MAAA,EAxLT,gBAwLS,CAAA;EAAa,WAAA,EAAA,MAAA,EAAA;EAEK,gBAAA,EAAA;IAAO,IAAA,CAAA,EAvL/C,gBAuL+C;cAtL5C;;;WAGH;cACG;;;;;;iBAOE,kBAAA,OACR,4BACG;;;;iBAOK,wBAAA,OACR,4BACG;;;;UAOM,uBAAA;;iBAEA;;YAEL;;;;;;;;;;;;;;;;;;iBAkBK;;;;;;mBAME;;;;;;;KAYP,UAAA;;;;KAKA,UAAA;;;;UAKK,UAAA;;QAET;;;;;;QAMA;;;;;UAMS,WAAA;;QAET;;;;eAIO,QAAQ;;;;;;WAMZ,eAAe;;;;;;UAOT,sBAAA;;;;SAIR;;gBAEO;;iBAEC;;OAEV;;2BAIoB,KAAA,CAAM,kBAAkB;;eAIpC;;kCAEmB;;cAIpB;;;;;;;;;;;;;;;;qCAkBuB;;wCAEG;;;;qBAMnB;;yBAEI;;sBAEH;;;;;;;;eAQP;;;;iCAMkB,aAAa;;mDAEK"}
package/dist/types.d.ts CHANGED
@@ -1,3 +1,15 @@
1
1
 
2
- import { Ar as LineageDiffParams, Br as isProfileRun, Dr as ColumnRenderMode, Er as AxiosQueryParams, Fr as RunParamTypes, Gr as isRowCountRun, Hr as isQueryDiffRun, Ir as SchemaDiffParams, Jr as isTopKDiffRun, Kr as isSchemaDiffRun, Lr as isHistogramDiffRun, Mr as RowDataTypes, Nr as RowObjectType, Or as ColumnType, Pr as Run, Rr as isLineageDiffRun, Tr as RunResultViewProps, Ur as isQueryRun, Vr as isQueryBaseRun, Wr as isRowCountDiffRun, Xr as isValueDiffRun, Yr as isValueDiffDetailRun, at as columnPrecisionSelectOptions, ct as buildQuery, et as PUBLIC_API_URL, it as deltaPercentageString, jr as RowData, kr as DataFrame, lt as buildTitle, nt as DisableTooltipMessages, ot as isSchemaChanged, qr as isSimpleRun, rt as RECCE_SUPPORT_CALENDAR_URL, st as buildDescription, tt as PUBLIC_CLOUD_WEB_URL, wr as RunFormProps, zr as isProfileDiffRun } from "./index-B9lSPJTi.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 };
2
+ import { $t as LineageData, Ot as RunsAggregated, Qt as GitInfo, Zt as CatalogMetadata, a as ServerMode, an as NodeColumnData, cn as SQLMeshInfo, en as LineageDataFromMetadata, i as RecceInstanceInfo, ln as ServerInfoResult, on as NodeData, rn as ManifestMetadata, sn as PullRequestInfo, t as RecceServerFlags, tn as LineageDiffData, un as StateMetadata } from "./flag-CiR2E5oz.js";
3
+ import { a as LineageGraphColumnNode, c as LineageGraphNode, i as LineageGraph, l as LineageGraphNodes, o as LineageGraphContextType, r as EnvInfo, s as LineageGraphEdge } from "./types-CZre3j02.js";
4
+ import { o as LineageGraphProviderProps, u as NodeColumnSetMap } from "./index-DTCpHvX_.js";
5
+ import { a as EdgeChangeStatus, c as LineageEdgeProps, i as NodeChangeStatus, n as LineageNodeData, r as LineageNodeProps, s as LineageEdgeData } from "./index-DmwYRgDR.js";
6
+ import { n as LineageCanvasProps } from "./LineageCanvas-CR38SDYr.js";
7
+ import { _ as AxiosQueryParams, a as RecceFeatureMode, b as SubmitRunTrackProps, f as IdleTimeoutContextType, h as RecceActionProviderProps, i as InstanceInfoType, o as RecceFeatureToggles, v as RecceActionContextType, y as RecceActionOptions } from "./index-DVoQsx5c.js";
8
+ import { t as ThemeColors } from "./useThemeColors-DHEroo8f.js";
9
+ import { n as SemanticColorVariant, t as ColorShade } from "./colors-vY9Yzui0.js";
10
+ import "./api-ZZ4cc9b9.js";
11
+ import { $ as CheckRunStatus, A as LineageLegendProps, B as LineageViewRef, C as HistogramChartProps, H as CheckListProps, I as LineageColumnNodeData, K as CheckDetailProps, L as LineageColumnNodeProps, O as ChangeStatusLegendItem, P as ColumnTransformationType, Q as CheckCardProps, T as HistogramDataset, W as CheckEmptyStateProps, Y as CheckDescriptionProps, Z as CheckCardData, _ as TopKBarChartProps, a as EmptyStateProps, b as ChartBarColors, c as DiffEditorProps, d as SchemaDiffHandle, et as CheckType, f as SchemaDiffProps, it as CheckActionsProps, j as TransformationLegendItem, l as DiffEditorTheme, m as SchemaDiffStatus, nt as CheckActionType, p as SchemaDiffRow, q as CheckDetailTab, r as SplitPaneProps, s as DiffEditorLanguage, t as SplitDirection, tt as CheckAction, v as TopKDataset, w as HistogramDataType, x as ChartThemeColors, y as TopKItem, z as LineageViewProps } from "./SplitPane-B-BLxZaQ.js";
12
+ import { _ as RunStatusWithDateProps, a as RunProgressVariant, c as RunListItemData, d as RunStatus, h as RunStatusBadgeProps, i as RunProgressProps, l as RunListItemProps, r as RunProgressOverlayProps, u as RunListProps } from "./RunProgress-DyFIALbI.js";
13
+ import { _ as CheckProviderProps, a as RoutingConfig, d as QueryProviderProps, f as QueryResult, h as CheckContextType, i as NavigateOptions, l as QueryContextType, m as Check, o as RoutingContextValue, r as RecceProviderProps, t as TYPES_API_VERSION } from "./index-Ba3hp2Ng.js";
14
+ import { t as Theme } from "./index-N8N7XmRj.js";
15
+ export { AxiosQueryParams, CatalogMetadata, ChangeStatusLegendItem, ChartBarColors, ChartThemeColors, Check, CheckAction, CheckActionType, CheckActionsProps, CheckCardData, CheckCardProps, CheckContextType, CheckDescriptionProps, CheckDetailProps, CheckDetailTab, CheckEmptyStateProps, CheckListProps, CheckProviderProps, CheckRunStatus, CheckType, ColorShade, ColumnTransformationType, DiffEditorLanguage, DiffEditorProps, DiffEditorTheme, EdgeChangeStatus, EmptyStateProps, EnvInfo, GitInfo, HistogramChartProps, HistogramDataType, HistogramDataset, IdleTimeoutContextType, InstanceInfoType, LineageCanvasProps, LineageColumnNodeData, LineageColumnNodeProps, LineageData, LineageDataFromMetadata, LineageDiffData, LineageEdgeData, LineageEdgeProps, LineageGraph, LineageGraphColumnNode, LineageGraphContextType, LineageGraphEdge, LineageGraphNode, LineageGraphNodes, LineageGraphProviderProps, LineageLegendProps, LineageNodeData, LineageNodeProps, LineageViewProps, LineageViewRef, ManifestMetadata, NavigateOptions, NodeChangeStatus, NodeColumnData, NodeColumnSetMap, NodeData, PullRequestInfo, QueryContextType, QueryProviderProps, QueryResult, RecceActionContextType, RecceActionOptions, RecceActionProviderProps, RecceFeatureMode, RecceFeatureToggles, RecceInstanceInfo, RecceProviderProps, RecceServerFlags, RoutingConfig, RoutingContextValue, RunListItemData, RunListItemProps, RunListProps, RunProgressOverlayProps, RunProgressProps, RunProgressVariant, RunStatus, RunStatusBadgeProps, RunStatusWithDateProps, RunsAggregated, SQLMeshInfo, SchemaDiffHandle, SchemaDiffProps, SchemaDiffRow, SchemaDiffStatus, SemanticColorVariant, ServerInfoResult, ServerMode, SplitDirection, SplitPaneProps, StateMetadata, SubmitRunTrackProps, TYPES_API_VERSION, Theme, ThemeColors, TopKBarChartProps, TopKDataset, TopKItem, TransformationLegendItem };
package/dist/types.js CHANGED
@@ -1,9 +1,3 @@
1
- "use client"
2
- const require_const = require('./const-CvdZO0FN.js');
3
- const require_urls = require('./urls-BQW5wjg-.js');
4
- const require_tooltipMessage = require('./tooltipMessage-BC5W7H3X.js');
5
-
6
- exports.DisableTooltipMessages = require_tooltipMessage.DisableTooltipMessages;
7
- exports.PUBLIC_API_URL = require_const.PUBLIC_API_URL;
8
- exports.PUBLIC_CLOUD_WEB_URL = require_const.PUBLIC_CLOUD_WEB_URL;
9
- exports.RECCE_SUPPORT_CALENDAR_URL = require_urls.RECCE_SUPPORT_CALENDAR_URL;
1
+ "use client";
2
+ const e=`0.1.0`;export{e as TYPES_API_VERSION};
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":[],"sources":["../src/types/index.ts"],"sourcesContent":["// @datarecce/ui/types - Type-only exports for TypeScript consumers\n// Use this entry point when you only need types (no runtime code)\n// Import: import type { CheckCardData, LineageNodeData } from '@datarecce/ui/types';\n\nexport const TYPES_API_VERSION = \"0.1.0\";\n\n// =============================================================================\n// LINEAGE TYPES\n// =============================================================================\n\n// Column node types\nexport type {\n ColumnTransformationType,\n LineageColumnNodeData,\n LineageColumnNodeProps,\n} from \"../components/lineage/columns\";\n// Edge types\nexport type {\n EdgeChangeStatus,\n LineageEdgeData,\n LineageEdgeProps,\n} from \"../components/lineage/edges\";\n// Canvas types\nexport type { LineageCanvasProps } from \"../components/lineage/LineageCanvas\";\n// View types\nexport type {\n LineageViewProps,\n LineageViewRef,\n} from \"../components/lineage/LineageView\";\n// Legend types\nexport type {\n ChangeStatusLegendItem,\n LineageLegendProps,\n TransformationLegendItem,\n} from \"../components/lineage/legend\";\n// Node types\nexport type {\n LineageNodeData,\n LineageNodeProps,\n NodeChangeStatus,\n} from \"../components/lineage/nodes\";\n\n// =============================================================================\n// CHECK TYPES\n// =============================================================================\n\nexport type {\n CheckAction,\n CheckActionsProps,\n CheckActionType,\n} from \"../components/check/CheckActions\";\nexport type {\n CheckCardData,\n CheckCardProps,\n CheckRunStatus,\n CheckType,\n} from \"../components/check/CheckCard\";\nexport type { CheckDescriptionProps } from \"../components/check/CheckDescription\";\nexport type {\n CheckDetailProps,\n CheckDetailTab,\n} from \"../components/check/CheckDetail\";\nexport type { CheckEmptyStateProps } from \"../components/check/CheckEmptyState\";\nexport type { CheckListProps } from \"../components/check/CheckList\";\n\n// =============================================================================\n// RUN TYPES\n// =============================================================================\n\nexport type {\n RunListItemData,\n RunListItemProps,\n RunListProps,\n} from \"../components/run/RunList\";\n\nexport type {\n RunProgressOverlayProps,\n RunProgressProps,\n RunProgressVariant,\n} from \"../components/run/RunProgress\";\n\nexport type {\n RunStatus,\n RunStatusBadgeProps,\n RunStatusWithDateProps,\n} from \"../components/run/RunStatusBadge\";\n\n// =============================================================================\n// DATA TYPES\n// =============================================================================\n\nexport type {\n ChartBarColors,\n ChartThemeColors,\n HistogramChartProps,\n HistogramDataset,\n HistogramDataType,\n} from \"../components/data/HistogramChart\";\n\nexport type {\n TopKBarChartProps,\n TopKDataset,\n TopKItem,\n} from \"../components/data/TopKBarChart\";\n\n// =============================================================================\n// SCHEMA TYPES\n// =============================================================================\n\nexport type {\n SchemaDiffHandle,\n SchemaDiffProps,\n SchemaDiffRow,\n SchemaDiffStatus,\n} from \"../components/schema/SchemaDiff\";\n\n// =============================================================================\n// EDITOR TYPES\n// =============================================================================\n\nexport type {\n DiffEditorLanguage,\n DiffEditorProps,\n DiffEditorTheme,\n} from \"../components/editor/DiffEditor\";\n\n// =============================================================================\n// UI TYPES\n// =============================================================================\n\nexport type { EmptyStateProps } from \"../components/ui/EmptyState\";\n\nexport type {\n SplitDirection,\n SplitPaneProps,\n} from \"../components/ui/SplitPane\";\n\n// =============================================================================\n// CONTEXT TYPES\n// =============================================================================\n\n// Action context types\nexport type {\n AxiosQueryParams,\n RecceActionContextType,\n RecceActionOptions,\n RecceActionProviderProps,\n SubmitRunTrackProps,\n} from \"../contexts/action\";\n// Idle timeout types\nexport type { IdleTimeoutContextType } from \"../contexts/idle\";\n// Instance context types\nexport type { InstanceInfoType } from \"../contexts/instance\";\nexport type {\n LineageGraphContextType,\n LineageGraphProviderProps,\n} from \"../contexts/lineage\";\n// Lineage graph types\nexport type {\n EnvInfo,\n LineageGraph,\n LineageGraphColumnNode,\n LineageGraphEdge,\n LineageGraphNode,\n LineageGraphNodes,\n} from \"../contexts/lineage/types\";\nexport type { NodeColumnSetMap } from \"../contexts/lineage/utils\";\n\n// =============================================================================\n// PROVIDER TYPES\n// =============================================================================\n\nexport type {\n Check,\n CheckContextType,\n CheckProviderProps,\n} from \"../providers/contexts/CheckContext\";\n\nexport type {\n QueryContextType,\n QueryProviderProps,\n QueryResult,\n} from \"../providers/contexts/QueryContext\";\n\nexport type {\n NavigateOptions,\n RoutingConfig,\n RoutingContextValue,\n} from \"../providers/contexts/RoutingContext\";\n\nexport type { RecceProviderProps } from \"../providers/RecceProvider\";\n\n// =============================================================================\n// THEME TYPES\n// =============================================================================\n\nexport type { ThemeColors } from \"../hooks/useThemeColors\";\nexport type { Theme } from \"../theme\";\nexport type {\n ColorShade,\n SemanticColorVariant,\n} from \"../theme/colors\";\n\n// =============================================================================\n// API TYPES\n// =============================================================================\n\nexport type {\n CatalogMetadata,\n GitInfo,\n LineageData,\n LineageDataFromMetadata,\n LineageDiffData,\n ManifestMetadata,\n NodeColumnData,\n NodeData,\n PullRequestInfo,\n RecceInstanceInfo,\n RecceServerFlags,\n RunsAggregated,\n ServerInfoResult,\n ServerMode,\n SQLMeshInfo,\n StateMetadata,\n} from \"../api\";\n\n// =============================================================================\n// FEATURE TYPES\n// =============================================================================\n\nexport type {\n RecceFeatureMode,\n RecceFeatureToggles,\n} from \"../contexts/instance\";\n"],"mappings":";AAIA,MAAa,EAAoB"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{l as e,u as t}from"./keepAlive-CEzyrDfg.js";import{t as n}from"./flag-koeDAqr3.js";import{useQuery as r}from"@tanstack/react-query";import i from"axios";import{createContext as a,useCallback as o,useContext as s,useMemo as c}from"react";import{jsx as l}from"react/jsx-runtime";const u={basePath:``},d=a(null);d.displayName=`RouteConfigContext`;function f({children:e,basePath:t=u.basePath}){let n=o(e=>!t||e.startsWith(t)||e.match(/^https?:\/\//)||e.startsWith(`#`)?e:`${t.endsWith(`/`)?t.slice(0,-1):t}${e.startsWith(`/`)?e:`/${e}`}`,[t]),r=c(()=>({basePath:t,resolvePath:n}),[t,n]);return l(d.Provider,{value:r,children:e})}const p={basePath:``,resolvePath:e=>e};function m(){return s(d)??p}function h(){return s(d)}const g=a(void 0),_=()=>{let e=s(g);if(!e)throw Error(`useLineageViewContext must be used within a LineageViewProvider`);return e},v=()=>s(g),y=i.create();function b(){let i=e()?.apiClient??y;return r({queryKey:t.flag(),queryFn:()=>n(i)})}export{f as a,_ as i,g as n,m as o,v as r,h as s,b as t};
3
+ //# sourceMappingURL=useRecceServerFlag-Bg5R67J4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRecceServerFlag-Bg5R67J4.js","names":["defaultConfig: RouteConfig","contextValue: RouteConfigContextType","defaultRouteConfigContext: RouteConfigContextType"],"sources":["../src/providers/contexts/RouteConfigContext.tsx","../src/contexts/lineage/LineageViewContext.tsx","../src/contexts/lineage/useRecceServerFlag.ts"],"sourcesContent":["\"use client\";\n\nimport {\n createContext,\n type ReactNode,\n useCallback,\n useContext,\n useMemo,\n} from \"react\";\n\n/**\n * Route Configuration for path prefix customization.\n *\n * This context allows cloud consumers to configure a base path prefix\n * for all navigation within OSS components.\n *\n * Default behavior (OSS):\n * - basePath: \"\" (uses absolute paths like /query, /checks)\n *\n * Cloud usage example:\n * - basePath: \"/oss/abc123\" or \"/preview/abc123\"\n * - Navigation to \"/query\" becomes \"/oss/abc123/query\"\n */\n\n/**\n * Route configuration interface\n */\nexport interface RouteConfig {\n /**\n * Base path prefix for navigation.\n * For OSS: \"\" (empty string, uses absolute paths like /query)\n * For Cloud: \"/oss/<sessionId>\" or \"/preview/<sessionId>\"\n */\n basePath: string;\n}\n\n/**\n * Context value with path resolution utility\n */\nexport interface RouteConfigContextType extends RouteConfig {\n /**\n * Resolves a path with the base path prefix.\n * @param path - The path to resolve (e.g., \"/query\")\n * @returns The resolved path (e.g., \"/oss/abc123/query\")\n */\n resolvePath: (path: string) => string;\n}\n\nconst defaultConfig: RouteConfig = {\n basePath: \"\",\n};\n\nconst RouteConfigContext = createContext<RouteConfigContextType | null>(null);\nRouteConfigContext.displayName = \"RouteConfigContext\";\n\n/**\n * Props for RouteConfigProvider\n */\nexport interface RouteConfigProviderProps extends Partial<RouteConfig> {\n children: ReactNode;\n}\n\n/**\n * Provider for route configuration.\n *\n * Wrap your application (or RecceContextProvider) with this provider\n * to configure path prefixes for navigation.\n *\n * @example\n * ```tsx\n * // In cloud application\n * <RouteConfigProvider basePath={`/oss/${sessionId}`}>\n * <RecceContextProvider>\n * {children}\n * </RecceContextProvider>\n * </RouteConfigProvider>\n * ```\n */\nexport function RouteConfigProvider({\n children,\n basePath = defaultConfig.basePath,\n}: RouteConfigProviderProps) {\n const resolvePath = useCallback(\n (path: string): string => {\n // If no basePath configured, return path as-is (OSS mode)\n if (!basePath) {\n return path;\n }\n\n // Handle paths that already start with the basePath (avoid double-prefixing)\n if (path.startsWith(basePath)) {\n return path;\n }\n\n // Handle absolute URLs (http://, https://, etc.) - don't prefix\n if (path.match(/^https?:\\/\\//)) {\n return path;\n }\n\n // Handle hash-only paths - don't prefix\n if (path.startsWith(\"#\")) {\n return path;\n }\n\n // Ensure proper joining (no double slashes)\n const cleanBasePath = basePath.endsWith(\"/\")\n ? basePath.slice(0, -1)\n : basePath;\n const cleanPath = path.startsWith(\"/\") ? path : `/${path}`;\n\n return `${cleanBasePath}${cleanPath}`;\n },\n [basePath],\n );\n\n const contextValue: RouteConfigContextType = useMemo(\n () => ({\n basePath,\n resolvePath,\n }),\n [basePath, resolvePath],\n );\n\n return (\n <RouteConfigContext.Provider value={contextValue}>\n {children}\n </RouteConfigContext.Provider>\n );\n}\n\n// Default context for OSS mode (no prefix)\nconst defaultRouteConfigContext: RouteConfigContextType = {\n basePath: \"\",\n resolvePath: (path: string) => path,\n};\n\n/**\n * Hook to access route configuration.\n *\n * When used outside RouteConfigProvider, returns default config\n * (for OSS backward compatibility).\n *\n * @returns RouteConfigContextType with basePath and resolvePath function\n *\n * @example\n * ```tsx\n * function MyComponent() {\n * const { basePath, resolvePath } = useRouteConfig();\n * const fullPath = resolvePath('/checks');\n * // In cloud with basePath=\"/oss/abc123\": \"/oss/abc123/checks\"\n * // In OSS with basePath=\"\": \"/checks\"\n * }\n * ```\n */\nexport function useRouteConfig(): RouteConfigContextType {\n const context = useContext(RouteConfigContext);\n // Return default config if outside provider (OSS mode)\n return context ?? defaultRouteConfigContext;\n}\n\n/**\n * Safe hook that returns null if context not available.\n * Useful for components that need to detect if RouteConfigProvider is present.\n */\nexport function useRouteConfigSafe(): RouteConfigContextType | null {\n return useContext(RouteConfigContext);\n}\n","import { createContext, useContext } from \"react\";\nimport type { LineageViewContextType } from \"./types\";\n\nexport const LineageViewContext = createContext<\n LineageViewContextType | undefined\n>(undefined);\n\nexport const useLineageViewContextSafe = (): LineageViewContextType => {\n const context = useContext(LineageViewContext);\n if (!context) {\n throw new Error(\n \"useLineageViewContext must be used within a LineageViewProvider\",\n );\n }\n return context;\n};\n\nexport const useLineageViewContext = (): LineageViewContextType | undefined => {\n return useContext(LineageViewContext);\n};\n","\"use client\";\n\nimport { useQuery } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { cacheKeys } from \"../../api/cacheKeys\";\nimport { getServerFlag, type RecceServerFlags } from \"../../api/flag\";\nimport { useApiConfigOptional } from \"../../providers/contexts/ApiContext\";\n\n// Default axios client for use outside RecceProvider (OSS mode)\nconst defaultApiClient = axios.create();\n\n/**\n * Hook to fetch server-side feature flags.\n *\n * Uses TanStack Query to cache and manage flag state.\n * Works both inside RecceProvider (uses configured client) and outside (uses default axios).\n *\n * @returns TanStack Query result with RecceServerFlags data\n */\nexport function useRecceServerFlag() {\n const apiConfig = useApiConfigOptional();\n const apiClient = apiConfig?.apiClient ?? defaultApiClient;\n\n return useQuery<RecceServerFlags>({\n queryKey: cacheKeys.flag(),\n queryFn: () => getServerFlag(apiClient),\n });\n}\n"],"mappings":";4RAgDA,MAAMA,EAA6B,CACjC,SAAU,GACX,CAEK,EAAqB,EAA6C,KAAK,CAC7E,EAAmB,YAAc,qBAyBjC,SAAgB,EAAoB,CAClC,WACA,WAAW,EAAc,UACE,CAC3B,IAAM,EAAc,EACjB,GAEK,CAAC,GAKD,EAAK,WAAW,EAAS,EAKzB,EAAK,MAAM,eAAe,EAK1B,EAAK,WAAW,IAAI,CACf,EASF,GALe,EAAS,SAAS,IAAI,CACxC,EAAS,MAAM,EAAG,GAAG,CACrB,IACc,EAAK,WAAW,IAAI,CAAG,EAAO,IAAI,MAItD,CAAC,EAAS,CACX,CAEKC,EAAuC,OACpC,CACL,WACA,cACD,EACD,CAAC,EAAU,EAAY,CACxB,CAED,OACE,EAAC,EAAmB,SAAA,CAAS,MAAO,EACjC,YAC2B,CAKlC,MAAMC,EAAoD,CACxD,SAAU,GACV,YAAc,GAAiB,EAChC,CAoBD,SAAgB,GAAyC,CAGvD,OAFgB,EAAW,EAAmB,EAE5B,EAOpB,SAAgB,GAAoD,CAClE,OAAO,EAAW,EAAmB,CClKvC,MAAa,EAAqB,EAEhC,IAAA,GAAU,CAEC,MAA0D,CACrE,IAAM,EAAU,EAAW,EAAmB,CAC9C,GAAI,CAAC,EACH,MAAU,MACR,kEACD,CAEH,OAAO,GAGI,MACJ,EAAW,EAAmB,CCTjC,EAAmB,EAAM,QAAQ,CAUvC,SAAgB,GAAqB,CAEnC,IAAM,EADY,GAAsB,EACX,WAAa,EAE1C,OAAO,EAA2B,CAChC,SAAU,EAAU,MAAM,CAC1B,YAAe,EAAc,EAAU,CACxC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{n as e}from"./colors--47Kkns4.js";import{createContext as t,memo as n,useCallback as r,useContext as i,useEffect as a,useState as o}from"react";import{Fragment as s,jsx as c,jsxs as l}from"react/jsx-runtime";import u from"@mui/material/Box";import d from"@mui/material/Stack";import f from"@mui/material/Typography";import{useTheme as p}from"@mui/material/styles";import m from"@mui/material/Tooltip";import{Background as h,BaseEdge as g,Controls as _,EdgeLabelRenderer as v,Handle as y,MiniMap as b,Position as x,ReactFlow as S,getBezierPath as C,useEdgesState as w,useNodesState as T}from"@xyflow/react";import E from"@mui/material/Checkbox";import"@xyflow/react/dist/style.css";const D=t(null);D.displayName=`RecceThemeContext`;function O(){let e=i(D);if(!e)throw Error(`useRecceTheme must be used within RecceProvider`);return e}function k(){return i(D)}function A({children:e,defaultMode:t=`system`}){let[n,r]=o(t),[i,s]=o(()=>typeof window>`u`?`light`:t===`system`?window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t);return a(()=>{if(n===`system`){let e=window.matchMedia(`(prefers-color-scheme: dark)`);s(e.matches?`dark`:`light`);let t=e=>{s(e.matches?`dark`:`light`)};return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)}else s(n)},[n]),a(()=>{typeof window>`u`||document.documentElement.classList.toggle(`dark`,i===`dark`)},[i]),c(D.Provider,{value:{mode:n,resolvedMode:i,setMode:r},children:e})}function j(){let e=k(),[t,n]=o(!1),[r,i]=o(!1);return a(()=>{if(n(!0),!e){let e=()=>{i(document.documentElement.classList.contains(`dark`))};e();let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>t.disconnect()}},[e]),t?e?e.resolvedMode===`dark`:r:!1}const M=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 16 16`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 1h13l.5.5v13l-.5.5h-13l-.5-.5v-13l.5-.5zM2 2v12h12V2H2zm6.5 2.5v2.5h2.5v1H8.5v2.5h-1V8H5V7h2.5V4.5h1z`})}),N=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 16 16`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 1h13l.5.5v13l-.5.5h-13l-.5-.5v-13l.5-.5zM2 2v12h12V2H2zm3 5.5h6v1H5v-1z`})}),P=e=>l(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 16 16`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[c(`path`,{d:`M1.5 1h13l.5.5v13l-.5.5h-13l-.5-.5v-13l.5-.5zM2 2v12h12V2H2z`}),c(`path`,{d:`M10.6 8.7c-.1.1-.3.2-.5.2h-.1l-1.4-.3c-.5-.1-1.1-.3-1.8-.3-.6 0-1 .2-1.3.5-.2.2-.2.4-.2.7v.1l-.9.3v-.2c0-.3 0-.6.1-.9.2-.4.5-.8 1-1.1.5-.4 1.2-.5 2-.5h.2l1.5.4h.1c.5.1 1 .3 1.5.3.6 0 .9-.2 1.2-.4.2-.2.3-.5.3-.8v-.3l.8-.3h.1v.3c0 .6-.2 1.2-.6 1.6-.2.2-.3.4-.5.5l-.5.2z`})]}),F=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 16 16`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`})}),I=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z`})}),L=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 448 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z`})}),R=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z`})}),z=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z`})}),B=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 448 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48h-32c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48v288c0 26.5-21.5 48-48 48h-32c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z`})}),V=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm320 96c0-15.9-5.8-30.4-15.3-41.6l76.6-147.4c6.1-11.8 1.5-26.3-10.2-32.4s-26.2-1.5-32.4 10.2L262.1 288.3c-2-.2-4-.3-6.1-.3c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z`})}),H=e=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:c(`path`,{d:`M418.4 157.9c35.3-8.3 61.6-40 61.6-77.9c0-44.2-35.8-80-80-80c-43.4 0-78.7 34.5-80 77.5L136.2 151.1C121.7 136.8 101.9 128 80 128c-44.2 0-80 35.8-80 80s35.8 80 80 80c12.2 0 23.8-2.7 34.1-7.6L259.7 407.8c-2.4 7.6-3.7 15.8-3.7 24.2c0 44.2 35.8 80 80 80s80-35.8 80-80c0-27.7-14-52.1-35.4-66.4l37.8-207.7zM156.3 232.2c2.2-6.9 3.5-14.2 3.7-21.7l183.8-73.5c3.6 3.5 7.4 6.7 11.6 9.5L317.6 354.1c-5.5 1.3-10.8 3.1-15.8 5.5L156.3 232.2z`})});function U(t,n){return t===`added`?{color:e.green[500],hexColor:e.green[500],backgroundColor:n?e.green[900]:e.green[100],hexBackgroundColor:n?e.green[900]:e.green[100],icon:M}:t===`removed`?{color:e.red[500],hexColor:e.red[500],backgroundColor:n?e.red[950]:e.red[200],hexBackgroundColor:n?e.red[950]:e.red[200],icon:N}:t===`modified`?{color:e.amber[500],hexColor:e.amber[500],backgroundColor:n?e.amber[900]:e.amber[100],hexBackgroundColor:n?e.amber[900]:e.amber[100],icon:P}:{color:e.neutral[500],hexColor:e.neutral[500],backgroundColor:n?e.neutral[700]:e.white,hexBackgroundColor:n?e.neutral[700]:e.white,icon:void 0}}function W(t){switch(t){case`model`:return{color:e.cyan[200],icon:I};case`source`:return{color:e.green[300],icon:L};case`seed`:return{color:e.green[500],icon:R};case`snapshot`:return{color:e.green[500],icon:z};case`metric`:return{color:e.rose[200],icon:B};case`exposure`:return{color:e.rose[200],icon:V};case`semantic_model`:return{color:e.rose[400],icon:H};default:return{color:`inherit`,icon:void 0}}}e.green[500],e.red[500],e.amber[500],e.neutral[500],e.green[100],e.red[200],e.amber[100],e.white,e.green[900],e.red[950],e.amber[900],e.neutral[700];const G={added:`#22c55e`,removed:`#ef4444`,modified:`#f59e0b`,unchanged:`#94a3b8`};function K({id:e,sourceX:t,sourceY:n,targetX:r,targetY:i,sourcePosition:a,targetPosition:o,data:u,selected:d}){let f=u?.changeStatus??`unchanged`,p=u?.isHighlighted??!1,m=u?.label,[h,_,y]=C({sourceX:t,sourceY:n,sourcePosition:a,targetX:r,targetY:i,targetPosition:o}),b=G[f];return l(s,{children:[c(g,{id:e,path:h,style:{stroke:b,strokeWidth:p||d?2.5:1.5,opacity:p||d?1:.6}}),m&&c(v,{children:c(`div`,{style:{position:`absolute`,transform:`translate(-50%, -50%) translate(${_}px,${y}px)`,fontSize:10,fontWeight:500,background:`white`,padding:`2px 4px`,borderRadius:4,pointerEvents:`all`},children:m})})]})}const q=n(K);q.displayName=`LineageEdge`;const ee={breaking:`Breaking`,non_breaking:`Non Breaking`,partial_breaking:`Partial Breaking`,unknown:`Unknown`},te=()=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 16 16`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,children:c(`path`,{d:`M8 3a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 6.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 6.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z`})}),ne=()=>c(`svg`,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 512 512`,height:`1em`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,children:c(`path`,{d:`M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z`})});function re({name:e,color:t,resourceType:n}){let r=n===`model`?e:`${e} (${n||`unknown`})`;return c(u,{sx:{flex:1,color:t,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:c(m,{title:r,placement:`top`,children:c(`span`,{children:e})})})}function J({id:e,data:t,selected:n,interactive:r=!1,selectMode:i=`normal`,isNodeSelected:a=!1,isFocused:p=!1,isHighlighted:h=!0,showContent:g=!0,actionTag:_,showChangeAnalysis:v=!1,changeCategory:b,runsAggregatedTag:S,hasParents:C=!0,hasChildren:w=!0,columnCount:T=0,columnHeight:D=28,isDark:O=!1,onNodeClick:k,onNodeDoubleClick:A,onSelect:j,onContextMenu:M,onShowImpactRadius:N}){let[P,F]=o(!1),{label:I,changeStatus:L=`unchanged`,isSelected:R,resourceType:z}=t,B=a||R||n||!1,V=T>0,H=i===`action_result`&&_,{icon:G,color:K,backgroundColor:q}=U(L,O),{icon:J}=W(z),Y=K,X=(()=>{let e=O?`#1e1e1e`:`#ffffff`;return g?i===`selecting`?B?K:e:i===`action_result`?H?p||B||P?q:K:e:p||B||P?q:e:p||B||P?K:q})(),Z=(()=>{let e=O?`#ffffff`:`#000000`,t=O?`#000000`:`#ffffff`;return i===`selecting`?B?t:e:i===`action_result`&&H&&!B?t:e})(),Q=(()=>{let e=O?`#ffffff`:`#000000`,t=O?`#000000`:`#ffffff`;return i===`selecting`?B?t:e:i===`action_result`&&H&&!B?t:e})(),$=(()=>{let e=O?`#ffffff`:`#000000`,t=O?`#000000`:`#ffffff`;return i===`selecting`?B?t:K:i===`action_result`?H&&!B?t:e:K})(),ie=(()=>i===`action_result`?H?`none`:`opacity(0.2) grayscale(50%)`:h||p||B||P?`none`:`opacity(0.2) grayscale(50%)`)(),ae=t=>{i!==`action_result`&&(t.stopPropagation(),j?.(e))},oe=t=>{t.preventDefault(),t.stopPropagation(),M?.(t,e)},se=t=>{t.preventDefault(),t.stopPropagation(),N?.(e)};return l(u,{onClick:()=>k?.(e),onDoubleClick:()=>A?.(e),onMouseEnter:()=>F(!0),onMouseLeave:()=>F(!1),sx:{display:`flex`,flexDirection:`column`,width:300,cursor:i===`selecting`?`pointer`:`inherit`,transition:`box-shadow 0.2s ease-in-out`,padding:0,filter:ie},children:[l(u,{sx:{display:`flex`,borderColor:Y,borderWidth:`2px`,borderStyle:`solid`,borderTopLeftRadius:8,borderTopRightRadius:8,borderBottomLeftRadius:V?0:8,borderBottomRightRadius:V?0:8,backgroundColor:X,height:60},children:[c(u,{sx:{display:`flex`,bgcolor:K,padding:r?`8px`:`2px`,borderRightWidth:`2px`,borderRightStyle:`solid`,borderColor:i===`selecting`?`#00000020`:Y,alignItems:`top`,visibility:g?`inherit`:`hidden`},children:r&&c(E,{checked:i===`selecting`&&B||i===`action_result`&&!!H,onClick:ae,disabled:i===`action_result`,size:`small`,sx:{padding:0,color:`inherit`,"&.Mui-checked":{color:`inherit`}}})}),l(u,{sx:{display:`flex`,flex:`1 0 auto`,mx:.5,width:100,flexDirection:`column`},children:[l(u,{sx:{display:`flex`,width:`100%`,textAlign:`left`,fontWeight:600,flex:1,p:.5,gap:`5px`,alignItems:`center`,visibility:g?`inherit`:`hidden`},children:[c(re,{name:I,color:Z,resourceType:z}),P?l(s,{children:[L===`modified`&&N&&c(m,{title:`Show Impact Radius`,placement:`top`,children:c(u,{onClick:se,sx:{display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,color:`text.secondary`,"&:hover":{color:`text.primary`}},children:c(ne,{})})}),M&&c(u,{onClick:oe,sx:{cursor:`pointer`,color:`text.secondary`,"&:hover":{color:`text.primary`}},children:c(te,{})})]}):l(s,{children:[J&&c(u,{sx:{fontSize:16,color:Q},children:c(J,{})}),L&&G&&c(u,{sx:{color:$},children:c(G,{})})]})]}),c(u,{sx:{display:`flex`,flex:`1 0 auto`,mx:.5,flexDirection:`column`,paddingBottom:.5,visibility:g?`inherit`:`hidden`},children:c(d,{direction:`row`,spacing:1,children:_?l(s,{children:[c(u,{sx:{flexGrow:1}}),_]}):v&&b?c(f,{sx:{height:20,color:`text.secondary`,fontSize:`9pt`,margin:0,fontWeight:600},children:ee[b]}):i!==`action_result`&&S?S:null})})]})]}),V&&c(u,{sx:{p:`10px 10px`,borderColor:Y,borderWidth:`2px`,borderStyle:`solid`,borderTopWidth:0,borderBottomLeftRadius:8,borderBottomRightRadius:8},children:c(u,{sx:{height:`${T*D}px`,overflow:`auto`}})}),C&&c(y,{type:`target`,position:x.Left,isConnectable:!1}),w&&c(y,{type:`source`,position:x.Right,isConnectable:!1})]})}const Y=n(J);Y.displayName=`LineageNode`;const X={lineageNode:Y},Z={lineageEdge:q};function Q({nodes:e,edges:t,onNodeSelect:n,onNodeDoubleClick:i,showMiniMap:a=!0,showControls:o=!0,showBackground:s=!0,height:d=600,interactive:f=!0}){let[p,m,g]=T(e),[v,y,x]=w(t),C=r((e,t)=>{n?.(t.id)},[n]),E=r(()=>{n?.(null)},[n]),D=r((e,t)=>{i?.(t.id)},[i]);return c(u,{sx:{width:`100%`,height:d},children:l(S,{nodes:p,edges:v,onNodesChange:f?g:void 0,onEdgesChange:f?x:void 0,onNodeClick:C,onNodeDoubleClick:D,onPaneClick:E,nodeTypes:X,edgeTypes:Z,fitView:!0,nodesDraggable:f,nodesConnectable:!1,elementsSelectable:f,children:[s&&c(h,{}),o&&c(_,{}),a&&c(b,{nodeColor:e=>{switch(e.data.changeStatus){case`added`:return`#22c55e`;case`removed`:return`#ef4444`;case`modified`:return`#f59e0b`;default:return`#94a3b8`}}})]})})}function $(){let t=p(),n=k(),r=j(),[i,s]=o(!1);a(()=>{s(!0)},[]);let c=i?n?n.resolvedMode===`dark`:r:!1;return{isDark:c,theme:t,background:{default:c?e.neutral[900]:e.white,paper:c?e.neutral[800]:e.white,subtle:c?e.neutral[800]:e.neutral[50],emphasized:c?e.neutral[700]:e.neutral[100]},text:{primary:c?e.neutral[50]:e.neutral[900],secondary:c?e.neutral[400]:e.neutral[600],disabled:c?e.neutral[500]:e.neutral[400],inverted:c?e.neutral[900]:e.neutral[50]},border:{light:c?e.neutral[700]:e.neutral[200],default:c?e.neutral[600]:e.neutral[300],strong:c?e.neutral[500]:e.neutral[400]},status:{added:{bg:c?e.green[900]:e.green[100],text:c?e.neutral[50]:e.neutral[900]},removed:{bg:c?e.red[950]:e.red[200],text:c?e.neutral[50]:e.neutral[900]},modified:{bg:c?e.yellow[900]:e.amber[100],text:c?e.neutral[50]:e.neutral[900]}},interactive:{hover:c?e.neutral[700]:e.neutral[100],active:c?e.neutral[600]:e.neutral[200],focus:e.iochmara[500]}}}export{M as a,N as c,j as d,A as f,q as i,U as l,Q as n,F as o,O as p,Y as r,P as s,$ as t,W as u};
3
+ //# sourceMappingURL=useThemeColors--prVbMmM.js.map