@lunora/studio 1.0.0-alpha.7 → 1.0.0-alpha.71

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 (295) hide show
  1. package/LICENSE.md +6 -0
  2. package/dist/index.d.ts +762 -779
  3. package/dist/index.js +1 -41
  4. package/dist/mount.d.ts +10 -10
  5. package/dist/mount.js +1 -26
  6. package/dist/packem_chunks/ApiTab.js +1 -0
  7. package/dist/packem_chunks/AuditPanel.js +1 -0
  8. package/dist/packem_chunks/DeploymentHealthPanel.js +1 -0
  9. package/dist/packem_chunks/ExportImportPanel.js +3 -0
  10. package/dist/packem_chunks/FileBrowser.js +4 -0
  11. package/dist/packem_chunks/FunctionRunner.js +1 -0
  12. package/dist/packem_chunks/FunctionStatsPanel.js +1 -0
  13. package/dist/packem_chunks/HealthPanel.js +1 -0
  14. package/dist/packem_chunks/InsightsPanel.js +1 -0
  15. package/dist/packem_chunks/LogsPanel.js +1 -0
  16. package/dist/packem_chunks/MailPanel.js +2 -0
  17. package/dist/packem_chunks/MetricsPanel.js +1 -0
  18. package/dist/packem_chunks/MigrationsPanel.js +1 -0
  19. package/dist/packem_chunks/NotificationsPanel.js +1 -0
  20. package/dist/packem_chunks/PitrPanel.js +1 -0
  21. package/dist/packem_chunks/SchemaViewer.js +2 -0
  22. package/dist/packem_chunks/SecurityAdvisorPanel.js +1 -0
  23. package/dist/packem_chunks/SettingsPanel.js +1 -0
  24. package/dist/packem_chunks/SqlEditorPanel.js +4 -0
  25. package/dist/packem_chunks/TableEditor.js +1 -0
  26. package/dist/packem_chunks/agents-panel.js +1 -0
  27. package/dist/packem_chunks/analytics-panel.js +1 -0
  28. package/dist/packem_chunks/auth-audit-panel.js +1 -0
  29. package/dist/packem_chunks/auth-config-panel.js +1 -0
  30. package/dist/packem_chunks/auth-sessions-panel.js +1 -0
  31. package/dist/packem_chunks/containers-panel.js +1 -0
  32. package/dist/packem_chunks/dashboards-panel.js +1 -0
  33. package/dist/packem_chunks/fanout-panel.js +1 -0
  34. package/dist/packem_chunks/flags-panel.js +1 -0
  35. package/dist/packem_chunks/issues-panel.js +1 -0
  36. package/dist/packem_chunks/kv-browser.js +1 -0
  37. package/dist/packem_chunks/log-drains-panel.js +4 -0
  38. package/dist/packem_chunks/organizations-panel.js +1 -0
  39. package/dist/packem_chunks/payments-panel.js +1 -0
  40. package/dist/packem_chunks/permissions-panel.js +1 -0
  41. package/dist/packem_chunks/queues-panel.js +1 -0
  42. package/dist/packem_chunks/rls-panel.js +1 -0
  43. package/dist/packem_chunks/schedule-panel.js +1 -0
  44. package/dist/packem_chunks/sparkline.js +1 -0
  45. package/dist/packem_chunks/storage-rules-panel.js +1 -0
  46. package/dist/packem_chunks/subscriptions-panel.js +1 -0
  47. package/dist/packem_chunks/sync-client-panel.js +1 -0
  48. package/dist/packem_chunks/traces-panel.js +1 -0
  49. package/dist/packem_chunks/users-panel.js +1 -0
  50. package/dist/packem_chunks/vector-browser.js +1 -0
  51. package/dist/packem_chunks/workflows-panel.js +1 -0
  52. package/dist/packem_shared/ADMIN_FUNCTIONS-BYNSbBVE.js +1 -0
  53. package/dist/packem_shared/ApiDocsPanel-eJYZlylw.js +2 -0
  54. package/dist/packem_shared/ApiReferencePanel-C42v1jr6.js +1 -0
  55. package/dist/packem_shared/CommandPalette-CVIaY3j8.js +1 -0
  56. package/dist/packem_shared/ConfirmButton-CTL3f3kr.js +1 -0
  57. package/dist/packem_shared/ConnectionBadge-DOk0CQWo.js +1 -0
  58. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-BCC8_4BQ.js +1 -0
  59. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-B-hcFVoi.js +1 -0
  60. package/dist/packem_shared/DEFAULT_LOCALE-BZ4NojpD.js +1 -0
  61. package/dist/packem_shared/DataBrowser-B8J5lHjP.js +1 -0
  62. package/dist/packem_shared/DataFilters-Csb30F0C.js +1 -0
  63. package/dist/packem_shared/ErrorBoundary-DvzYskH7.js +1 -0
  64. package/dist/packem_shared/GlobalDataBrowser-RLJ6NvOs.js +1 -0
  65. package/dist/packem_shared/HomePanel-DL1HupAN.js +1 -0
  66. package/dist/packem_shared/OpenRpcReferencePanel-sGsIgYWj.js +1 -0
  67. package/dist/packem_shared/STUDIO_ROOT_CLASS-C6MccdVk.js +1 -0
  68. package/dist/packem_shared/ScheduledJobs-DUbo6epc.js +1 -0
  69. package/dist/packem_shared/ShardInput-BVn2iCU0.js +1 -0
  70. package/dist/packem_shared/Studio-BWBclm_C.js +1 -0
  71. package/dist/packem_shared/StudioApp-BFm73yVr.js +1 -0
  72. package/dist/packem_shared/StudioI18nProvider-CZ5h4nrV.js +1 -0
  73. package/dist/packem_shared/advisor-view-DaCX9Jy5.js +1 -0
  74. package/dist/packem_shared/aggregateMetrics-BNfajLa2.js +1 -0
  75. package/dist/packem_shared/alert-CVcOFuDR.js +1 -0
  76. package/dist/packem_shared/app.d-bRPJhby-.d.ts +254 -0
  77. package/dist/packem_shared/badge-BbuuAio7.js +1 -0
  78. package/dist/packem_shared/bar-chart-AryFCeoa.js +9 -0
  79. package/dist/packem_shared/browser-storage-xjTyMKY0.js +1 -0
  80. package/dist/packem_shared/button-BkCrNcAs.js +1 -0
  81. package/dist/packem_shared/card-CIDGUN6K.js +1 -0
  82. package/dist/packem_shared/cf-links-gbDy51nR.js +1 -0
  83. package/dist/packem_shared/checkbox-StT4Gob6.js +1 -0
  84. package/dist/packem_shared/data-grid-BMBKzMEJ.js +1 -0
  85. package/dist/packem_shared/data-view-params-C8T3bW1z.js +1 -0
  86. package/dist/packem_shared/dropdown-menu-C3RQ_HlW.js +2 -0
  87. package/dist/packem_shared/empty-state-Cg7t_8qu.js +1 -0
  88. package/dist/packem_shared/error-alert-B59DnrDI.js +1 -0
  89. package/dist/packem_shared/grid-features-uZCUj955.js +6 -0
  90. package/dist/packem_shared/home-panel-B-8BCffw.js +3 -0
  91. package/dist/packem_shared/input-JHu63lTv.js +1 -0
  92. package/dist/packem_shared/internal-AtZ4bTal.js +2 -0
  93. package/dist/packem_shared/label-6uP1obNF.js +1 -0
  94. package/dist/packem_shared/live-status-CGW2JHf_.js +1 -0
  95. package/dist/packem_shared/log-fields-CoL3hsIQ.js +1 -0
  96. package/dist/packem_shared/modal-shell-CUwwWC2o.js +1 -0
  97. package/dist/packem_shared/reference-view-KvhektwF.js +12 -0
  98. package/dist/packem_shared/result-chart-CwKhhKM0.js +1 -0
  99. package/dist/packem_shared/scroll-area-DTEq6Jec.js +2 -0
  100. package/dist/packem_shared/select-Bul-DeII.js +2 -0
  101. package/dist/packem_shared/shard-history-DMEW5VBE.js +1 -0
  102. package/dist/packem_shared/skeleton-C1wQ9M5t.js +1 -0
  103. package/dist/packem_shared/sparkline-DtcZoU48.js +1 -0
  104. package/dist/packem_shared/storage-tier-DznqOf-q.js +1 -0
  105. package/dist/packem_shared/studio-BHA7hnI3.js +2 -0
  106. package/dist/packem_shared/table-DdJBrClo.js +2 -0
  107. package/dist/packem_shared/table-list-sidebar-CMCcNALK.js +1 -0
  108. package/dist/packem_shared/textarea-Bu2-jKAs.js +1 -0
  109. package/dist/packem_shared/trace-handoff-Dw7mwjxu.js +1 -0
  110. package/dist/packem_shared/use-admin-query-Di3fLE8H.js +1 -0
  111. package/dist/packem_shared/use-async-submit-H68GHPz8.js +1 -0
  112. package/dist/packem_shared/useDebounced-Ihdiid_k.js +1 -0
  113. package/dist/packem_shared/utils-bhneXptQ.js +1 -0
  114. package/dist/packem_shared/virtual-rect-1o1veP7R.js +1 -0
  115. package/dist/standalone/chunk-2F7G7IWQ.js +1 -0
  116. package/dist/standalone/chunk-2OUPA2WJ.js +1 -0
  117. package/dist/standalone/chunk-2PJNAWB3.js +1 -0
  118. package/dist/standalone/chunk-2Y36BVVM.js +4 -0
  119. package/dist/standalone/chunk-34UVAASH.js +1 -0
  120. package/dist/standalone/chunk-35II7U25.js +11 -0
  121. package/dist/standalone/chunk-3FUFEZ65.js +1 -0
  122. package/dist/standalone/chunk-3QRTYSSX.js +1 -0
  123. package/dist/standalone/chunk-3RTTXLMU.js +1 -0
  124. package/dist/standalone/chunk-3XIESWL4.js +1 -0
  125. package/dist/standalone/chunk-4CGALXS3.js +19 -0
  126. package/dist/standalone/chunk-4UOFSGUS.js +1 -0
  127. package/dist/standalone/chunk-4WLYA3XE.js +1 -0
  128. package/dist/standalone/chunk-54MMVNPT.js +1 -0
  129. package/dist/standalone/chunk-5L2MD6F6.js +1 -0
  130. package/dist/standalone/chunk-5OWIOACV.js +13 -0
  131. package/dist/standalone/chunk-5RF4QDDA.js +6 -0
  132. package/dist/standalone/chunk-5U2THBI7.js +1 -0
  133. package/dist/standalone/chunk-5Y3QLNWX.js +1 -0
  134. package/dist/standalone/chunk-65OTWFS3.js +1 -0
  135. package/dist/standalone/chunk-6DWCIIHE.js +1 -0
  136. package/dist/standalone/chunk-6ST5ECQA.js +1 -0
  137. package/dist/standalone/chunk-7J5N6DGQ.js +1 -0
  138. package/dist/standalone/chunk-7LQWFOEU.js +1 -0
  139. package/dist/standalone/chunk-7QIFDWQV.js +1 -0
  140. package/dist/standalone/chunk-7RXOPYR5.js +1 -0
  141. package/dist/standalone/chunk-7T7UOTYK.js +1 -0
  142. package/dist/standalone/chunk-7YEFOSPH.js +1 -0
  143. package/dist/standalone/chunk-AVAC26HJ.js +1 -0
  144. package/dist/standalone/chunk-B43FTQJ7.js +1 -0
  145. package/dist/standalone/chunk-BEH5N5ZA.js +1 -0
  146. package/dist/standalone/chunk-BGBLQ563.js +1 -0
  147. package/dist/standalone/chunk-BNUJ7QMG.js +3 -0
  148. package/dist/standalone/chunk-C43X4M5U.js +1 -0
  149. package/dist/standalone/chunk-CFPZYHPY.js +2 -0
  150. package/dist/standalone/chunk-D7XXWV4E.js +1 -0
  151. package/dist/standalone/chunk-DVOBKIUX.js +1 -0
  152. package/dist/standalone/chunk-EKRN4ZQM.js +1 -0
  153. package/dist/standalone/chunk-ESVP44Y3.js +1 -0
  154. package/dist/standalone/chunk-EVN46TVV.js +1 -0
  155. package/dist/standalone/chunk-EXFBIISG.js +2 -0
  156. package/dist/standalone/chunk-F5QWLENA.js +1 -0
  157. package/dist/standalone/chunk-F6GOKFMU.js +3 -0
  158. package/dist/standalone/chunk-FGTK44LR.js +1 -0
  159. package/dist/standalone/chunk-FXCBF4XT.js +1 -0
  160. package/dist/standalone/chunk-GMR677FL.js +1 -0
  161. package/dist/standalone/chunk-GRL5MG3Z.js +1 -0
  162. package/dist/standalone/chunk-GSPTEMYN.js +1 -0
  163. package/dist/standalone/chunk-GXZAXNZI.js +1 -0
  164. package/dist/standalone/chunk-H7NIIBHH.js +1 -0
  165. package/dist/standalone/chunk-HP2UCWND.js +1 -0
  166. package/dist/standalone/chunk-HPFLBYRI.js +1 -0
  167. package/dist/standalone/chunk-IC4L6G56.js +1 -0
  168. package/dist/standalone/chunk-IDNNI63H.js +1 -0
  169. package/dist/standalone/chunk-ILNELDFC.js +1 -0
  170. package/dist/standalone/chunk-IVFHIQOT.js +1 -0
  171. package/dist/standalone/chunk-JN2Y24PY.js +1 -0
  172. package/dist/standalone/chunk-KDOC2DP5.js +1 -0
  173. package/dist/standalone/chunk-KUVMORDQ.js +1 -0
  174. package/dist/standalone/chunk-KYF2E5CJ.js +1 -0
  175. package/dist/standalone/chunk-L7N7F3DA.js +1 -0
  176. package/dist/standalone/chunk-LE56LPNH.js +13 -0
  177. package/dist/standalone/chunk-LEDWUPXM.js +1 -0
  178. package/dist/standalone/chunk-LFKCLLPT.js +1 -0
  179. package/dist/standalone/chunk-LFXFP4IF.js +1 -0
  180. package/dist/standalone/chunk-LJDP7NRB.js +1 -0
  181. package/dist/standalone/chunk-LLXFYRGQ.js +1 -0
  182. package/dist/standalone/chunk-M536Y2KX.js +1 -0
  183. package/dist/standalone/chunk-MIQTKZAR.js +1 -0
  184. package/dist/standalone/chunk-OHKRN65U.js +1 -0
  185. package/dist/standalone/chunk-P24JBHEZ.js +4 -0
  186. package/dist/standalone/chunk-PF7V3G2Z.js +62 -0
  187. package/dist/standalone/chunk-PWWHP76O.js +1 -0
  188. package/dist/standalone/chunk-QBWRC5YX.js +1 -0
  189. package/dist/standalone/chunk-QGKAJTQQ.js +1 -0
  190. package/dist/standalone/chunk-QLJJ5YYZ.js +1 -0
  191. package/dist/standalone/chunk-QVEHPYA5.js +1 -0
  192. package/dist/standalone/chunk-QWGT25SE.js +1 -0
  193. package/dist/standalone/chunk-QWJ3NPE3.js +1 -0
  194. package/dist/standalone/chunk-RAA2RGG6.js +1 -0
  195. package/dist/standalone/chunk-RBU52M5T.js +1 -0
  196. package/dist/standalone/chunk-SA3MDZC3.js +1 -0
  197. package/dist/standalone/chunk-SD4BERSA.js +1 -0
  198. package/dist/standalone/chunk-SFDOII3B.js +1 -0
  199. package/dist/standalone/chunk-SKHEGARW.js +1 -0
  200. package/dist/standalone/chunk-SMIESS7P.js +1 -0
  201. package/dist/standalone/chunk-T2JIUFOD.js +4 -0
  202. package/dist/standalone/chunk-T6VMSOBB.js +1 -0
  203. package/dist/standalone/chunk-THIXMMZD.js +1 -0
  204. package/dist/standalone/chunk-TJ2WZ5OP.js +1 -0
  205. package/dist/standalone/chunk-TLHJRWNK.js +1 -0
  206. package/dist/standalone/chunk-UIS34ZPB.js +8 -0
  207. package/dist/standalone/chunk-UNUU7CJJ.js +1 -0
  208. package/dist/standalone/chunk-UZERI5YC.js +1 -0
  209. package/dist/standalone/chunk-V53KNYRN.js +1 -0
  210. package/dist/standalone/chunk-VPAXCQ2Y.js +4 -0
  211. package/dist/standalone/chunk-X2FQ6B5V.js +1 -0
  212. package/dist/standalone/chunk-XBDKZZ67.js +1 -0
  213. package/dist/standalone/chunk-XEDU5FO4.js +1 -0
  214. package/dist/standalone/chunk-XQBTNJUQ.js +1 -0
  215. package/dist/standalone/chunk-XQCVZAGU.js +1 -0
  216. package/dist/standalone/chunk-XQGANNLS.js +1 -0
  217. package/dist/standalone/chunk-XSD4Y6SQ.js +1 -0
  218. package/dist/standalone/chunk-XXQUMVWH.js +1 -0
  219. package/dist/standalone/chunk-YD5NF6UT.js +1 -0
  220. package/dist/standalone/chunk-YI3WYUXK.js +1 -0
  221. package/dist/standalone/chunk-ZJGP6EKR.js +1 -0
  222. package/dist/standalone/chunk-ZNNAGR6N.js +1 -0
  223. package/dist/standalone/studio.js +9 -356
  224. package/dist/styles.css +2 -2
  225. package/package.json +17 -15
  226. package/dist/packem_shared/ADMIN_FUNCTIONS-DmBqMZ-z.js +0 -45
  227. package/dist/packem_shared/ApiDocsPanel-C5-yJ1p7.js +0 -842
  228. package/dist/packem_shared/ApiReferencePanel-1vubqG5s.js +0 -229
  229. package/dist/packem_shared/ApiTab-W3no0KOj.js +0 -251
  230. package/dist/packem_shared/AuditPanel-Bq4o_IqT.js +0 -212
  231. package/dist/packem_shared/CommandPalette-BtgkBzZI.js +0 -373
  232. package/dist/packem_shared/ConfirmButton-C2eVi2Qv.js +0 -59
  233. package/dist/packem_shared/ConnectionBadge-B2DDM2Tn.js +0 -111
  234. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js +0 -50
  235. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js +0 -89
  236. package/dist/packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js +0 -27
  237. package/dist/packem_shared/DataBrowser-CtBe1So9.js +0 -4542
  238. package/dist/packem_shared/DataFilters-FNquMaiu.js +0 -249
  239. package/dist/packem_shared/ErrorBoundary-BzAApI7J.js +0 -66
  240. package/dist/packem_shared/ExportImportPanel-dxY56TDF.js +0 -193
  241. package/dist/packem_shared/FileBrowser-Dhy4zES8.js +0 -2932
  242. package/dist/packem_shared/FunctionRunner--fQJRPAD.js +0 -343
  243. package/dist/packem_shared/FunctionStatsPanel-BjRUA_G3.js +0 -432
  244. package/dist/packem_shared/GlobalDataBrowser-BTEmGrph.js +0 -318
  245. package/dist/packem_shared/HealthPanel-PxclMWmA.js +0 -640
  246. package/dist/packem_shared/HomePanel-Cw16stjq.js +0 -1273
  247. package/dist/packem_shared/InsightsPanel-CWS_C-xW.js +0 -423
  248. package/dist/packem_shared/LogsPanel-CTW8CFcM.js +0 -839
  249. package/dist/packem_shared/MailPanel-BwkvfIHF.js +0 -447
  250. package/dist/packem_shared/MetricsPanel-BLuOhZQ4.js +0 -1625
  251. package/dist/packem_shared/MigrationsPanel-DT3lnwHF.js +0 -246
  252. package/dist/packem_shared/OpenRpcReferencePanel-vbcYbv3V.js +0 -191
  253. package/dist/packem_shared/PitrPanel-CdErL7EJ.js +0 -252
  254. package/dist/packem_shared/STUDIO_ROOT_CLASS-D12gX2dV.js +0 -3
  255. package/dist/packem_shared/ScheduledJobs-CabfKbyM.js +0 -159
  256. package/dist/packem_shared/SchemaViewer-LJDcmNIO.js +0 -2512
  257. package/dist/packem_shared/SecurityAdvisorPanel-C_ETsPih.js +0 -79
  258. package/dist/packem_shared/SettingsPanel-C0uLRf5P.js +0 -176
  259. package/dist/packem_shared/ShardInput-gx_DZXXn.js +0 -107
  260. package/dist/packem_shared/SqlEditorPanel-CguV7otm.js +0 -13
  261. package/dist/packem_shared/Studio-BmSGSIuY.js +0 -33
  262. package/dist/packem_shared/StudioApp-D4azxYBu.js +0 -657
  263. package/dist/packem_shared/StudioI18nProvider-B-tDCZIi.js +0 -48
  264. package/dist/packem_shared/TableEditor-ChfUOZec.js +0 -371
  265. package/dist/packem_shared/advisor-view-CGcfMiPq.js +0 -159
  266. package/dist/packem_shared/aggregateMetrics-D4nUHEKU.js +0 -108
  267. package/dist/packem_shared/app.d-CCmwDEVs.d.ts +0 -300
  268. package/dist/packem_shared/badge-B2PKA1-5.js +0 -49
  269. package/dist/packem_shared/bar-chart-CzJAgqkp.js +0 -3245
  270. package/dist/packem_shared/button-BhsN2uZH.js +0 -49
  271. package/dist/packem_shared/card-DURq3ElK.js +0 -175
  272. package/dist/packem_shared/cf-links-2cktDedA.js +0 -8
  273. package/dist/packem_shared/checkbox-UNkzAxl-.js +0 -63
  274. package/dist/packem_shared/data-grid-B5CaV3wS.js +0 -183
  275. package/dist/packem_shared/dropdown-menu-WY4B_eJO.js +0 -280
  276. package/dist/packem_shared/empty-state-DY_oe0k6.js +0 -98
  277. package/dist/packem_shared/grid-features-CzUfqgsM.js +0 -840
  278. package/dist/packem_shared/input-XH4r1Pt1.js +0 -53
  279. package/dist/packem_shared/internal-rXJEAhXS.js +0 -68
  280. package/dist/packem_shared/label-D8ykjn5J.js +0 -46
  281. package/dist/packem_shared/live-status-FZ0psC1z.js +0 -44
  282. package/dist/packem_shared/reference-view-B4E49Lip.js +0 -2180
  283. package/dist/packem_shared/shard-history-DyebH1R5.js +0 -38
  284. package/dist/packem_shared/sparkline-10dG-_f0.js +0 -93
  285. package/dist/packem_shared/sql-editor-panel-BFRpzj6r.js +0 -2562
  286. package/dist/packem_shared/storage-tier-CL98eOvn.js +0 -85
  287. package/dist/packem_shared/studio-H9fuQgSj.js +0 -10303
  288. package/dist/packem_shared/table-_RzNvy3R.js +0 -246
  289. package/dist/packem_shared/table-list-sidebar-Bg7uzbvC.js +0 -832
  290. package/dist/packem_shared/textarea-D3gaCU_-.js +0 -46
  291. package/dist/packem_shared/use-live-admin-Dq6g3daN.js +0 -73
  292. package/dist/packem_shared/use-live-shard-seed-Cuk3dnH0.js +0 -76
  293. package/dist/packem_shared/useDebounced-Dxncpg6z.js +0 -32
  294. package/dist/packem_shared/utils-B05Dmz_H.js +0 -8
  295. package/dist/packem_shared/virtual-rect-CVMUskSm.js +0 -10
@@ -1,49 +0,0 @@
1
- import { Button as Button$1 } from '@base-ui/react/button';
2
- import { cva } from 'class-variance-authority';
3
- import { c as cn } from './utils-B05Dmz_H.js';
4
- import { jsxDEV } from 'react/jsx-dev-runtime';
5
-
6
- const buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-xs font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
7
- variants: {
8
- variant: {
9
- default: "bg-primary text-primary-foreground hover:bg-primary/80",
10
- outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
11
- secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
12
- ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
13
- destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
14
- link: "text-primary underline-offset-4 hover:underline"
15
- },
16
- size: {
17
- default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
18
- xs: "h-6 gap-1 rounded-md px-2 text-xs has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3",
19
- sm: "h-7 gap-1 rounded-md px-2.5 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5",
20
- lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
21
- icon: "size-8",
22
- "icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
23
- "icon-sm": "size-7 rounded-md",
24
- "icon-lg": "size-9"
25
- }
26
- },
27
- defaultVariants: {
28
- variant: "default",
29
- size: "default"
30
- }
31
- });
32
- function Button({
33
- className,
34
- variant = "default",
35
- size = "default",
36
- ...props
37
- }) {
38
- return /* @__PURE__ */ jsxDEV(Button$1, {
39
- "data-slot": "button",
40
- className: cn(buttonVariants({
41
- variant,
42
- size,
43
- className
44
- })),
45
- ...props
46
- }, void 0, false);
47
- }
48
-
49
- export { Button as B };
@@ -1,175 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import 'react';
3
- import { c as cn } from './utils-B05Dmz_H.js';
4
- import { jsxDEV } from 'react/jsx-dev-runtime';
5
-
6
- function Card({
7
- className,
8
- size = "default",
9
- ...props
10
- }) {
11
- return /* @__PURE__ */ jsxDEV("div", {
12
- "data-slot": "card",
13
- "data-size": size,
14
- className: cn("group/card flex flex-col gap-4 overflow-hidden rounded-xl border border-border bg-card py-4 text-xs/relaxed text-card-foreground shadow-xs has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-md *:[img:last-child]:rounded-md", className),
15
- ...props
16
- }, void 0, false);
17
- }
18
- function CardHeader(t0) {
19
- const $ = c(8);
20
- let className;
21
- let props;
22
- if ($[0] !== t0) {
23
- ({
24
- className,
25
- ...props
26
- } = t0);
27
- $[0] = t0;
28
- $[1] = className;
29
- $[2] = props;
30
- } else {
31
- className = $[1];
32
- props = $[2];
33
- }
34
- let t1;
35
- if ($[3] !== className) {
36
- t1 = cn("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-md px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", className);
37
- $[3] = className;
38
- $[4] = t1;
39
- } else {
40
- t1 = $[4];
41
- }
42
- let t2;
43
- if ($[5] !== props || $[6] !== t1) {
44
- t2 = /* @__PURE__ */ jsxDEV("div", {
45
- "data-slot": "card-header",
46
- className: t1,
47
- ...props
48
- }, void 0, false);
49
- $[5] = props;
50
- $[6] = t1;
51
- $[7] = t2;
52
- } else {
53
- t2 = $[7];
54
- }
55
- return t2;
56
- }
57
- function CardTitle(t0) {
58
- const $ = c(8);
59
- let className;
60
- let props;
61
- if ($[0] !== t0) {
62
- ({
63
- className,
64
- ...props
65
- } = t0);
66
- $[0] = t0;
67
- $[1] = className;
68
- $[2] = props;
69
- } else {
70
- className = $[1];
71
- props = $[2];
72
- }
73
- let t1;
74
- if ($[3] !== className) {
75
- t1 = cn("font-heading text-sm font-medium group-data-[size=sm]/card:text-sm", className);
76
- $[3] = className;
77
- $[4] = t1;
78
- } else {
79
- t1 = $[4];
80
- }
81
- let t2;
82
- if ($[5] !== props || $[6] !== t1) {
83
- t2 = /* @__PURE__ */ jsxDEV("div", {
84
- "data-slot": "card-title",
85
- className: t1,
86
- ...props
87
- }, void 0, false);
88
- $[5] = props;
89
- $[6] = t1;
90
- $[7] = t2;
91
- } else {
92
- t2 = $[7];
93
- }
94
- return t2;
95
- }
96
- function CardDescription(t0) {
97
- const $ = c(8);
98
- let className;
99
- let props;
100
- if ($[0] !== t0) {
101
- ({
102
- className,
103
- ...props
104
- } = t0);
105
- $[0] = t0;
106
- $[1] = className;
107
- $[2] = props;
108
- } else {
109
- className = $[1];
110
- props = $[2];
111
- }
112
- let t1;
113
- if ($[3] !== className) {
114
- t1 = cn("text-xs/relaxed text-muted-foreground", className);
115
- $[3] = className;
116
- $[4] = t1;
117
- } else {
118
- t1 = $[4];
119
- }
120
- let t2;
121
- if ($[5] !== props || $[6] !== t1) {
122
- t2 = /* @__PURE__ */ jsxDEV("div", {
123
- "data-slot": "card-description",
124
- className: t1,
125
- ...props
126
- }, void 0, false);
127
- $[5] = props;
128
- $[6] = t1;
129
- $[7] = t2;
130
- } else {
131
- t2 = $[7];
132
- }
133
- return t2;
134
- }
135
- function CardContent(t0) {
136
- const $ = c(8);
137
- let className;
138
- let props;
139
- if ($[0] !== t0) {
140
- ({
141
- className,
142
- ...props
143
- } = t0);
144
- $[0] = t0;
145
- $[1] = className;
146
- $[2] = props;
147
- } else {
148
- className = $[1];
149
- props = $[2];
150
- }
151
- let t1;
152
- if ($[3] !== className) {
153
- t1 = cn("px-4 group-data-[size=sm]/card:px-3", className);
154
- $[3] = className;
155
- $[4] = t1;
156
- } else {
157
- t1 = $[4];
158
- }
159
- let t2;
160
- if ($[5] !== props || $[6] !== t1) {
161
- t2 = /* @__PURE__ */ jsxDEV("div", {
162
- "data-slot": "card-content",
163
- className: t1,
164
- ...props
165
- }, void 0, false);
166
- $[5] = props;
167
- $[6] = t1;
168
- $[7] = t2;
169
- } else {
170
- t2 = $[7];
171
- }
172
- return t2;
173
- }
174
-
175
- export { Card as C, CardContent as a, CardHeader as b, CardTitle as c, CardDescription as d };
@@ -1,8 +0,0 @@
1
- const CLOUDFLARE_DASH = "https://dash.cloudflare.com/?to=/:account";
2
- const CLOUDFLARE_OBSERVABILITY_URL = `${CLOUDFLARE_DASH}/workers-and-pages/observability`;
3
- const CLOUDFLARE_WORKERS_URL = `${CLOUDFLARE_DASH}/workers-and-pages`;
4
- const CLOUDFLARE_R2_URL = `${CLOUDFLARE_DASH}/r2`;
5
- const CLOUDFLARE_D1_URL = `${CLOUDFLARE_DASH}/workers/d1`;
6
- const CLOUDFLARE_DURABLE_OBJECTS_URL = `${CLOUDFLARE_DASH}/workers/durable-objects`;
7
-
8
- export { CLOUDFLARE_OBSERVABILITY_URL as C, CLOUDFLARE_WORKERS_URL as a, CLOUDFLARE_D1_URL as b, CLOUDFLARE_DURABLE_OBJECTS_URL as c, CLOUDFLARE_R2_URL as d };
@@ -1,63 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
3
- import { c as cn } from './utils-B05Dmz_H.js';
4
- import { HugeiconsIcon } from '@hugeicons/react';
5
- import { Tick02Icon } from '@hugeicons/core-free-icons';
6
- import { jsxDEV } from 'react/jsx-dev-runtime';
7
-
8
- function Checkbox(t0) {
9
- const $ = c(9);
10
- let className;
11
- let props;
12
- if ($[0] !== t0) {
13
- ({
14
- className,
15
- ...props
16
- } = t0);
17
- $[0] = t0;
18
- $[1] = className;
19
- $[2] = props;
20
- } else {
21
- className = $[1];
22
- props = $[2];
23
- }
24
- let t1;
25
- if ($[3] !== className) {
26
- t1 = cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-md border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", className);
27
- $[3] = className;
28
- $[4] = t1;
29
- } else {
30
- t1 = $[4];
31
- }
32
- let t2;
33
- if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
34
- t2 = /* @__PURE__ */ jsxDEV(Checkbox$1.Indicator, {
35
- "data-slot": "checkbox-indicator",
36
- className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
37
- children: /* @__PURE__ */ jsxDEV(HugeiconsIcon, {
38
- icon: Tick02Icon,
39
- strokeWidth: 2
40
- }, void 0, false)
41
- }, void 0, false);
42
- $[5] = t2;
43
- } else {
44
- t2 = $[5];
45
- }
46
- let t3;
47
- if ($[6] !== props || $[7] !== t1) {
48
- t3 = /* @__PURE__ */ jsxDEV(Checkbox$1.Root, {
49
- "data-slot": "checkbox",
50
- className: t1,
51
- ...props,
52
- children: t2
53
- }, void 0, false);
54
- $[6] = props;
55
- $[7] = t1;
56
- $[8] = t3;
57
- } else {
58
- t3 = $[8];
59
- }
60
- return t3;
61
- }
62
-
63
- export { Checkbox as C };
@@ -1,183 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
3
- import { h as formatCell } from './internal-rXJEAhXS.js';
4
- import { jsxDEV } from 'react/jsx-dev-runtime';
5
-
6
- const CellValue = (t0) => {
7
- const $ = c(8);
8
- const {
9
- value
10
- } = t0;
11
- if (value === null || value === void 0) {
12
- let t12;
13
- if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
14
- t12 = /* @__PURE__ */ jsxDEV("span", {
15
- className: "text-muted-foreground/50 italic",
16
- children: "NULL"
17
- }, void 0, false);
18
- $[0] = t12;
19
- } else {
20
- t12 = $[0];
21
- }
22
- return t12;
23
- }
24
- let t1;
25
- if ($[1] !== value) {
26
- t1 = formatCell(value);
27
- $[1] = value;
28
- $[2] = t1;
29
- } else {
30
- t1 = $[2];
31
- }
32
- let t2;
33
- if ($[3] !== value) {
34
- t2 = formatCell(value);
35
- $[3] = value;
36
- $[4] = t2;
37
- } else {
38
- t2 = $[4];
39
- }
40
- let t3;
41
- if ($[5] !== t1 || $[6] !== t2) {
42
- t3 = /* @__PURE__ */ jsxDEV("span", {
43
- title: t1,
44
- children: t2
45
- }, void 0, false);
46
- $[5] = t1;
47
- $[6] = t2;
48
- $[7] = t3;
49
- } else {
50
- t3 = $[7];
51
- }
52
- return t3;
53
- };
54
- const TransposedTable = (t0) => {
55
- const $ = c(22);
56
- const {
57
- columns,
58
- rows
59
- } = t0;
60
- const t = useT();
61
- let t1;
62
- if ($[0] !== t) {
63
- t1 = t("Field");
64
- $[0] = t;
65
- $[1] = t1;
66
- } else {
67
- t1 = $[1];
68
- }
69
- let t2;
70
- if ($[2] !== t1) {
71
- t2 = /* @__PURE__ */ jsxDEV("th", {
72
- className: "border-b border-e border-border px-3 py-1.5 text-start font-mono text-[11px] tracking-wide uppercase text-muted-foreground",
73
- children: t1
74
- }, void 0, false);
75
- $[2] = t1;
76
- $[3] = t2;
77
- } else {
78
- t2 = $[3];
79
- }
80
- let t3;
81
- if ($[4] !== rows || $[5] !== t) {
82
- let t42;
83
- if ($[7] !== t) {
84
- t42 = (_, index) => /* @__PURE__ */ jsxDEV("th", {
85
- className: "border-b border-border px-3 py-1.5 text-start font-mono text-[11px] tracking-wide uppercase tabular-nums text-muted-foreground",
86
- children: t("Row {n}", {
87
- n: index + 1
88
- })
89
- }, index, false);
90
- $[7] = t;
91
- $[8] = t42;
92
- } else {
93
- t42 = $[8];
94
- }
95
- t3 = rows.map(t42);
96
- $[4] = rows;
97
- $[5] = t;
98
- $[6] = t3;
99
- } else {
100
- t3 = $[6];
101
- }
102
- let t4;
103
- if ($[9] !== t2 || $[10] !== t3) {
104
- t4 = /* @__PURE__ */ jsxDEV("thead", {
105
- className: "sticky top-0 z-10 bg-muted",
106
- children: /* @__PURE__ */ jsxDEV("tr", {
107
- children: [t2, t3]
108
- }, void 0, true)
109
- }, void 0, false);
110
- $[9] = t2;
111
- $[10] = t3;
112
- $[11] = t4;
113
- } else {
114
- t4 = $[11];
115
- }
116
- let t5;
117
- if ($[12] !== columns || $[13] !== rows) {
118
- let t62;
119
- if ($[15] !== rows) {
120
- t62 = (column) => /* @__PURE__ */ jsxDEV("tr", {
121
- className: "hover:bg-muted/40",
122
- children: [/* @__PURE__ */ jsxDEV("th", {
123
- className: "border-b border-e border-border px-3 py-1.5 text-start font-mono font-medium whitespace-nowrap",
124
- scope: "row",
125
- children: column
126
- }, void 0, false), rows.map((row, index_0) => /* @__PURE__ */ jsxDEV("td", {
127
- className: "max-w-md truncate border-b border-border px-3 py-1.5 font-mono",
128
- children: /* @__PURE__ */ jsxDEV(CellValue, {
129
- value: row[column]
130
- }, void 0, false)
131
- }, index_0, false))]
132
- }, column, true);
133
- $[15] = rows;
134
- $[16] = t62;
135
- } else {
136
- t62 = $[16];
137
- }
138
- t5 = columns.map(t62);
139
- $[12] = columns;
140
- $[13] = rows;
141
- $[14] = t5;
142
- } else {
143
- t5 = $[14];
144
- }
145
- let t6;
146
- if ($[17] !== t5) {
147
- t6 = /* @__PURE__ */ jsxDEV("tbody", {
148
- children: t5
149
- }, void 0, false);
150
- $[17] = t5;
151
- $[18] = t6;
152
- } else {
153
- t6 = $[18];
154
- }
155
- let t7;
156
- if ($[19] !== t4 || $[20] !== t6) {
157
- t7 = /* @__PURE__ */ jsxDEV("div", {
158
- className: "min-h-0 flex-1 overflow-auto",
159
- "data-testid": "db-transposed",
160
- children: /* @__PURE__ */ jsxDEV("table", {
161
- className: "border-collapse text-xs",
162
- children: [t4, t6]
163
- }, void 0, true)
164
- }, void 0, false);
165
- $[19] = t4;
166
- $[20] = t6;
167
- $[21] = t7;
168
- } else {
169
- t7 = $[21];
170
- }
171
- return t7;
172
- };
173
- const GridContainer = ({
174
- children,
175
- layout = "card",
176
- testId
177
- }) => /* @__PURE__ */ jsxDEV("div", {
178
- className: layout === "fill" ? "flex min-h-0 flex-1 flex-col overflow-hidden border-t border-border" : "overflow-x-auto border border-border bg-card",
179
- "data-testid": testId,
180
- children
181
- }, void 0, false);
182
-
183
- export { CellValue as C, GridContainer as G, TransposedTable as T };