@lunora/studio 1.0.0-alpha.59 → 1.0.0-alpha.60

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 (381) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -43
  3. package/dist/mount.js +1 -27
  4. package/dist/packem_chunks/ApiTab.js +1 -251
  5. package/dist/packem_chunks/AuditPanel.js +1 -200
  6. package/dist/packem_chunks/DeploymentHealthPanel.js +1 -664
  7. package/dist/packem_chunks/ExportImportPanel.js +3 -198
  8. package/dist/packem_chunks/FileBrowser.js +4 -2955
  9. package/dist/packem_chunks/FunctionRunner.js +1 -326
  10. package/dist/packem_chunks/FunctionStatsPanel.js +1 -377
  11. package/dist/packem_chunks/HealthPanel.js +1 -648
  12. package/dist/packem_chunks/InsightsPanel.js +1 -462
  13. package/dist/packem_chunks/LogsPanel.js +1 -1303
  14. package/dist/packem_chunks/MailPanel.js +2 -353
  15. package/dist/packem_chunks/MetricsPanel.js +1 -1960
  16. package/dist/packem_chunks/MigrationsPanel.js +1 -239
  17. package/dist/packem_chunks/NotificationsPanel.js +1 -306
  18. package/dist/packem_chunks/PitrPanel.js +1 -252
  19. package/dist/packem_chunks/SchemaViewer.js +1 -2512
  20. package/dist/packem_chunks/SecurityAdvisorPanel.js +1 -95
  21. package/dist/packem_chunks/SettingsPanel.js +1 -391
  22. package/dist/packem_chunks/SqlEditorPanel.js +4 -2340
  23. package/dist/packem_chunks/TableEditor.js +1 -290
  24. package/dist/packem_chunks/agents-panel.js +1 -326
  25. package/dist/packem_chunks/analytics-panel.js +1 -261
  26. package/dist/packem_chunks/auth-audit-panel.js +1 -247
  27. package/dist/packem_chunks/auth-config-panel.js +1 -365
  28. package/dist/packem_chunks/auth-sessions-panel.js +1 -175
  29. package/dist/packem_chunks/containers-panel.js +1 -261
  30. package/dist/packem_chunks/dashboards-panel.js +1 -781
  31. package/dist/packem_chunks/fanout-panel.js +1 -482
  32. package/dist/packem_chunks/flags-panel.js +1 -176
  33. package/dist/packem_chunks/issues-panel.js +1 -427
  34. package/dist/packem_chunks/kv-browser.js +1 -1896
  35. package/dist/packem_chunks/log-drains-panel.js +4 -273
  36. package/dist/packem_chunks/organizations-panel.js +1 -3209
  37. package/dist/packem_chunks/payments-panel.js +1 -213
  38. package/dist/packem_chunks/permissions-panel.js +1 -805
  39. package/dist/packem_chunks/queues-panel.js +1 -1075
  40. package/dist/packem_chunks/rls-panel.js +1 -315
  41. package/dist/packem_chunks/schedule-panel.js +1 -831
  42. package/dist/packem_chunks/sparkline.js +1 -79
  43. package/dist/packem_chunks/storage-rules-panel.js +1 -140
  44. package/dist/packem_chunks/subscriptions-panel.js +1 -238
  45. package/dist/packem_chunks/sync-client-panel.js +1 -0
  46. package/dist/packem_chunks/traces-panel.js +1 -747
  47. package/dist/packem_chunks/users-panel.js +1 -1731
  48. package/dist/packem_chunks/vector-browser.js +1 -281
  49. package/dist/packem_chunks/workflows-panel.js +1 -562
  50. package/dist/packem_shared/ADMIN_FUNCTIONS-BYNSbBVE.js +1 -0
  51. package/dist/packem_shared/ApiDocsPanel-eJYZlylw.js +2 -0
  52. package/dist/packem_shared/ApiReferencePanel-C42v1jr6.js +1 -0
  53. package/dist/packem_shared/CommandPalette-CVIaY3j8.js +1 -0
  54. package/dist/packem_shared/ConfirmButton-CTL3f3kr.js +1 -0
  55. package/dist/packem_shared/ConnectionBadge-DOk0CQWo.js +1 -0
  56. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-BCC8_4BQ.js +1 -0
  57. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-B-hcFVoi.js +1 -0
  58. package/dist/packem_shared/DEFAULT_LOCALE-BZ4NojpD.js +1 -0
  59. package/dist/packem_shared/DataBrowser-B8J5lHjP.js +1 -0
  60. package/dist/packem_shared/DataFilters-Csb30F0C.js +1 -0
  61. package/dist/packem_shared/ErrorBoundary-DvzYskH7.js +1 -0
  62. package/dist/packem_shared/GlobalDataBrowser-RLJ6NvOs.js +1 -0
  63. package/dist/packem_shared/HomePanel-DL1HupAN.js +1 -0
  64. package/dist/packem_shared/OpenRpcReferencePanel-sGsIgYWj.js +1 -0
  65. package/dist/packem_shared/STUDIO_ROOT_CLASS-C6MccdVk.js +1 -0
  66. package/dist/packem_shared/ScheduledJobs-DUbo6epc.js +1 -0
  67. package/dist/packem_shared/ShardInput-BVn2iCU0.js +1 -0
  68. package/dist/packem_shared/Studio-BWBclm_C.js +1 -0
  69. package/dist/packem_shared/StudioApp-BFm73yVr.js +1 -0
  70. package/dist/packem_shared/StudioI18nProvider-CZ5h4nrV.js +1 -0
  71. package/dist/packem_shared/advisor-view-DaCX9Jy5.js +1 -0
  72. package/dist/packem_shared/aggregateMetrics-BNfajLa2.js +1 -0
  73. package/dist/packem_shared/alert-CVcOFuDR.js +1 -0
  74. package/dist/packem_shared/badge-BbuuAio7.js +1 -0
  75. package/dist/packem_shared/bar-chart-AryFCeoa.js +9 -0
  76. package/dist/packem_shared/browser-storage-xjTyMKY0.js +1 -0
  77. package/dist/packem_shared/button-BkCrNcAs.js +1 -0
  78. package/dist/packem_shared/card-CIDGUN6K.js +1 -0
  79. package/dist/packem_shared/cf-links-gbDy51nR.js +1 -0
  80. package/dist/packem_shared/checkbox-StT4Gob6.js +1 -0
  81. package/dist/packem_shared/data-grid-BMBKzMEJ.js +1 -0
  82. package/dist/packem_shared/data-view-params-C8T3bW1z.js +1 -0
  83. package/dist/packem_shared/dropdown-menu-C3RQ_HlW.js +2 -0
  84. package/dist/packem_shared/empty-state-Cg7t_8qu.js +1 -0
  85. package/dist/packem_shared/error-alert-B59DnrDI.js +1 -0
  86. package/dist/packem_shared/grid-features-uZCUj955.js +6 -0
  87. package/dist/packem_shared/home-panel-B-8BCffw.js +3 -0
  88. package/dist/packem_shared/input-JHu63lTv.js +1 -0
  89. package/dist/packem_shared/internal-AtZ4bTal.js +2 -0
  90. package/dist/packem_shared/label-6uP1obNF.js +1 -0
  91. package/dist/packem_shared/live-status-CGW2JHf_.js +1 -0
  92. package/dist/packem_shared/log-fields-CoL3hsIQ.js +1 -0
  93. package/dist/packem_shared/modal-shell-CUwwWC2o.js +1 -0
  94. package/dist/packem_shared/reference-view-KvhektwF.js +12 -0
  95. package/dist/packem_shared/result-chart-CwKhhKM0.js +1 -0
  96. package/dist/packem_shared/scroll-area-DTEq6Jec.js +2 -0
  97. package/dist/packem_shared/select-Bul-DeII.js +2 -0
  98. package/dist/packem_shared/shard-history-DMEW5VBE.js +1 -0
  99. package/dist/packem_shared/skeleton-C1wQ9M5t.js +1 -0
  100. package/dist/packem_shared/sparkline-DtcZoU48.js +1 -0
  101. package/dist/packem_shared/storage-tier-DznqOf-q.js +1 -0
  102. package/dist/packem_shared/studio-BHA7hnI3.js +2 -0
  103. package/dist/packem_shared/table-DdJBrClo.js +2 -0
  104. package/dist/packem_shared/table-list-sidebar-CMCcNALK.js +1 -0
  105. package/dist/packem_shared/textarea-Bu2-jKAs.js +1 -0
  106. package/dist/packem_shared/trace-handoff-Dw7mwjxu.js +1 -0
  107. package/dist/packem_shared/use-admin-query-Di3fLE8H.js +1 -0
  108. package/dist/packem_shared/use-async-submit-H68GHPz8.js +1 -0
  109. package/dist/packem_shared/useDebounced-Ihdiid_k.js +1 -0
  110. package/dist/packem_shared/utils-bhneXptQ.js +1 -0
  111. package/dist/packem_shared/virtual-rect-1o1veP7R.js +1 -0
  112. package/dist/standalone/chunk-23HKRH5H.js +13 -0
  113. package/dist/standalone/chunk-2A4RKII2.js +1 -0
  114. package/dist/standalone/chunk-3DTM4GI5.js +1 -0
  115. package/dist/standalone/chunk-3MHKT76P.js +1 -0
  116. package/dist/standalone/chunk-46IB4C4Q.js +1 -0
  117. package/dist/standalone/chunk-4AYEV5UN.js +1 -0
  118. package/dist/standalone/chunk-4FNHHFWR.js +1 -0
  119. package/dist/standalone/chunk-6CLVIOCB.js +1 -0
  120. package/dist/standalone/chunk-6I62RSI5.js +1 -0
  121. package/dist/standalone/chunk-6OKDCV7J.js +1 -0
  122. package/dist/standalone/chunk-6P7HIPUE.js +1 -0
  123. package/dist/standalone/chunk-6UYILUSX.js +1 -0
  124. package/dist/standalone/chunk-725RLB7D.js +1 -0
  125. package/dist/standalone/chunk-7AZZ7OJO.js +1 -0
  126. package/dist/standalone/chunk-7CRLAMGB.js +1 -0
  127. package/dist/standalone/chunk-7Z5QEFR4.js +2 -0
  128. package/dist/standalone/chunk-AGVJJQFL.js +1 -0
  129. package/dist/standalone/chunk-AKTGRZXN.js +1 -0
  130. package/dist/standalone/chunk-BAIN7UJ4.js +1 -0
  131. package/dist/standalone/chunk-BHWSIIDT.js +1 -0
  132. package/dist/standalone/{chunk-L7SK4ZZD.js → chunk-C4O5UR4Y.js} +1 -1
  133. package/dist/standalone/chunk-C4VURT57.js +1 -0
  134. package/dist/standalone/chunk-CKO3F55C.js +4 -0
  135. package/dist/standalone/chunk-CVMRZUF5.js +4 -0
  136. package/dist/standalone/chunk-CWWGDW4V.js +1 -0
  137. package/dist/standalone/chunk-CYET4BRZ.js +1 -0
  138. package/dist/standalone/chunk-CZEUVNCQ.js +1 -0
  139. package/dist/standalone/chunk-FXFK4M4E.js +1 -0
  140. package/dist/standalone/chunk-FYAJPWE7.js +1 -0
  141. package/dist/standalone/chunk-GS7OBQO5.js +1 -0
  142. package/dist/standalone/chunk-GTXVH7I5.js +1 -0
  143. package/dist/standalone/chunk-H6SIM4BT.js +1 -0
  144. package/dist/standalone/chunk-H6WOFY6A.js +8 -0
  145. package/dist/standalone/chunk-HA34GYEX.js +1 -0
  146. package/dist/standalone/chunk-HMIOF5GV.js +1 -0
  147. package/dist/standalone/chunk-HY46NTNW.js +6 -0
  148. package/dist/standalone/chunk-IBCKC2BO.js +1 -0
  149. package/dist/standalone/chunk-ICKBVXPP.js +1 -0
  150. package/dist/standalone/chunk-IE4ROTQD.js +1 -0
  151. package/dist/standalone/chunk-IYYTWZ2E.js +2 -0
  152. package/dist/standalone/chunk-J2LMP2A7.js +1 -0
  153. package/dist/standalone/chunk-JC6WYIHM.js +1 -0
  154. package/dist/standalone/chunk-JKPK25JO.js +1 -0
  155. package/dist/standalone/chunk-JLFCXBNQ.js +1 -0
  156. package/dist/standalone/chunk-JRWBGR5B.js +1 -0
  157. package/dist/standalone/chunk-K5PFWU5J.js +1 -0
  158. package/dist/standalone/chunk-KJTLW5W2.js +11 -0
  159. package/dist/standalone/{chunk-HBGS4SEX.js → chunk-KLLYGWNF.js} +9 -9
  160. package/dist/standalone/chunk-KNN3ZEQ7.js +1 -0
  161. package/dist/standalone/{chunk-4QHKBC77.js → chunk-KOC5KV3E.js} +1 -1
  162. package/dist/standalone/chunk-KSRXMTBV.js +1 -0
  163. package/dist/standalone/chunk-KYCAYNXM.js +1 -0
  164. package/dist/standalone/chunk-KZ2YUNMR.js +1 -0
  165. package/dist/standalone/chunk-LKHUVEHX.js +1 -0
  166. package/dist/standalone/chunk-LPOKAJT4.js +4 -0
  167. package/dist/standalone/chunk-MZEK4SGD.js +1 -0
  168. package/dist/standalone/chunk-NCCUM26H.js +1 -0
  169. package/dist/standalone/chunk-O62HJZV3.js +1 -0
  170. package/dist/standalone/chunk-OTJOI23O.js +62 -0
  171. package/dist/standalone/chunk-P2NBOUGZ.js +1 -0
  172. package/dist/standalone/chunk-P4J6XNG3.js +1 -0
  173. package/dist/standalone/chunk-PGDWFWH5.js +1 -0
  174. package/dist/standalone/chunk-PR2SE2MD.js +1 -0
  175. package/dist/standalone/chunk-PTTDIYGP.js +1 -0
  176. package/dist/standalone/chunk-PWDMXMRD.js +1 -0
  177. package/dist/standalone/chunk-Q34MSC2F.js +1 -0
  178. package/dist/standalone/chunk-Q5WXTZWX.js +1 -0
  179. package/dist/standalone/chunk-QC5HCNJZ.js +4 -0
  180. package/dist/standalone/chunk-QJKRHZYV.js +1 -0
  181. package/dist/standalone/chunk-R43KHQDA.js +1 -0
  182. package/dist/standalone/chunk-RC2K5RBE.js +1 -0
  183. package/dist/standalone/chunk-RE6UWCMG.js +1 -0
  184. package/dist/standalone/chunk-RUP3M2GF.js +3 -0
  185. package/dist/standalone/chunk-SA6MBPBL.js +1 -0
  186. package/dist/standalone/{chunk-BJGBHGK3.js → chunk-SEDZDNQF.js} +1 -1
  187. package/dist/standalone/chunk-SKHEGARW.js +1 -0
  188. package/dist/standalone/chunk-SKJZDOHG.js +1 -0
  189. package/dist/standalone/chunk-SNDYNCAA.js +1 -0
  190. package/dist/standalone/chunk-SZUHZ2OG.js +1 -0
  191. package/dist/standalone/chunk-TAE2H7PU.js +1 -0
  192. package/dist/standalone/chunk-TEIBKU46.js +1 -0
  193. package/dist/standalone/chunk-TO6NLVFD.js +1 -0
  194. package/dist/standalone/chunk-TYTJDFX2.js +1 -0
  195. package/dist/standalone/{chunk-LXULVPEM.js → chunk-UDZY7MKE.js} +3 -3
  196. package/dist/standalone/chunk-UHHTEBC3.js +1 -0
  197. package/dist/standalone/chunk-UNDFOYRI.js +1 -0
  198. package/dist/standalone/chunk-UNN4CESU.js +1 -0
  199. package/dist/standalone/chunk-UNXX5GQH.js +1 -0
  200. package/dist/standalone/{chunk-ZHVTQ37P.js → chunk-UREY4GLG.js} +1 -1
  201. package/dist/standalone/chunk-UWF5DOGV.js +1 -0
  202. package/dist/standalone/chunk-UY2Y5CXB.js +1 -0
  203. package/dist/standalone/{chunk-VLXV72QE.js → chunk-UZYGEOWY.js} +1 -1
  204. package/dist/standalone/chunk-V66TSUKV.js +1 -0
  205. package/dist/standalone/chunk-VEFNSN7P.js +1 -0
  206. package/dist/standalone/chunk-VUJGR4PB.js +1 -0
  207. package/dist/standalone/chunk-VUXJER3D.js +1 -0
  208. package/dist/standalone/chunk-W572365D.js +1 -0
  209. package/dist/standalone/chunk-WYFLGXZ3.js +3 -0
  210. package/dist/standalone/chunk-XDKFPBIL.js +1 -0
  211. package/dist/standalone/chunk-XRKCGQM2.js +1 -0
  212. package/dist/standalone/chunk-YNBJ6ICE.js +1 -0
  213. package/dist/standalone/chunk-YQ5PILIJ.js +1 -0
  214. package/dist/standalone/chunk-YT7VXQVX.js +1 -0
  215. package/dist/standalone/chunk-Z7MUQMLE.js +1 -0
  216. package/dist/standalone/chunk-ZFWEPGWG.js +1 -0
  217. package/dist/standalone/chunk-ZMFZRGAN.js +1 -0
  218. package/dist/standalone/studio.js +9 -214
  219. package/package.json +4 -4
  220. package/dist/packem_shared/ADMIN_FUNCTIONS-P2UzJscH.js +0 -62
  221. package/dist/packem_shared/ApiDocsPanel-DNDpeR5O.js +0 -842
  222. package/dist/packem_shared/ApiReferencePanel-ChlRsAXU.js +0 -230
  223. package/dist/packem_shared/CommandPalette-BpkopP5f.js +0 -373
  224. package/dist/packem_shared/ConfirmButton-C2eVi2Qv.js +0 -59
  225. package/dist/packem_shared/ConnectionBadge-B2DDM2Tn.js +0 -111
  226. package/dist/packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js +0 -50
  227. package/dist/packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js +0 -89
  228. package/dist/packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js +0 -27
  229. package/dist/packem_shared/DataBrowser-obTn4sKX.js +0 -4493
  230. package/dist/packem_shared/DataFilters-B1Q7mrt7.js +0 -253
  231. package/dist/packem_shared/ErrorBoundary-BzAApI7J.js +0 -66
  232. package/dist/packem_shared/GlobalDataBrowser-BCaohHZ5.js +0 -293
  233. package/dist/packem_shared/HomePanel-DCRj3hGB.js +0 -14
  234. package/dist/packem_shared/OpenRpcReferencePanel-CIeQE1aE.js +0 -192
  235. package/dist/packem_shared/STUDIO_ROOT_CLASS-D12gX2dV.js +0 -3
  236. package/dist/packem_shared/ScheduledJobs-BQzQo84k.js +0 -262
  237. package/dist/packem_shared/ShardInput-CZnpHILL.js +0 -107
  238. package/dist/packem_shared/Studio-DnlPCbID.js +0 -16
  239. package/dist/packem_shared/StudioApp-CzqlB4zO.js +0 -708
  240. package/dist/packem_shared/StudioI18nProvider-B-tDCZIi.js +0 -48
  241. package/dist/packem_shared/advisor-view-D95sN-wO.js +0 -159
  242. package/dist/packem_shared/aggregateMetrics-D4nUHEKU.js +0 -108
  243. package/dist/packem_shared/alert-CdAET2K_.js +0 -68
  244. package/dist/packem_shared/badge-B2PKA1-5.js +0 -49
  245. package/dist/packem_shared/bar-chart-DSwcWIRy.js +0 -3246
  246. package/dist/packem_shared/browser-storage-L4gOP5gJ.js +0 -105
  247. package/dist/packem_shared/button-BhsN2uZH.js +0 -49
  248. package/dist/packem_shared/card-F2vH_aj2.js +0 -175
  249. package/dist/packem_shared/cf-links-SIbyi4Y1.js +0 -8
  250. package/dist/packem_shared/checkbox-UNkzAxl-.js +0 -63
  251. package/dist/packem_shared/data-grid-BywzWfek.js +0 -183
  252. package/dist/packem_shared/data-view-params-Cd6yRVbv.js +0 -96
  253. package/dist/packem_shared/dropdown-menu-WY4B_eJO.js +0 -280
  254. package/dist/packem_shared/empty-state-DY_oe0k6.js +0 -98
  255. package/dist/packem_shared/error-alert-D9uIFJUS.js +0 -114
  256. package/dist/packem_shared/grid-features-ZOLhHKrR.js +0 -809
  257. package/dist/packem_shared/home-panel-BRAA2UlM.js +0 -1889
  258. package/dist/packem_shared/input-XH4r1Pt1.js +0 -53
  259. package/dist/packem_shared/internal-DzHCc2Rq.js +0 -131
  260. package/dist/packem_shared/label-D8ykjn5J.js +0 -46
  261. package/dist/packem_shared/live-status-FZ0psC1z.js +0 -44
  262. package/dist/packem_shared/log-fields-jEH83H2G.js +0 -18
  263. package/dist/packem_shared/modal-shell-hyaJvIJ6.js +0 -100
  264. package/dist/packem_shared/reference-view-DfXN7oWP.js +0 -2127
  265. package/dist/packem_shared/result-chart-Bf9mbCIo.js +0 -119
  266. package/dist/packem_shared/scroll-area-DLhcy-ml.js +0 -93
  267. package/dist/packem_shared/select-D9OwHEch.js +0 -273
  268. package/dist/packem_shared/shard-history-AxiJ1WPP.js +0 -16
  269. package/dist/packem_shared/skeleton-CGhL0p20.js +0 -45
  270. package/dist/packem_shared/sparkline-BnA1kC9X.js +0 -93
  271. package/dist/packem_shared/storage-tier-CL98eOvn.js +0 -85
  272. package/dist/packem_shared/studio-8QSXbZ98.js +0 -4192
  273. package/dist/packem_shared/table-DsCa9Qp9.js +0 -246
  274. package/dist/packem_shared/table-list-sidebar-gCE17v9B.js +0 -842
  275. package/dist/packem_shared/textarea-D3gaCU_-.js +0 -46
  276. package/dist/packem_shared/trace-handoff-CGolF3KS.js +0 -38
  277. package/dist/packem_shared/use-admin-query-C7JNuQp-.js +0 -106
  278. package/dist/packem_shared/use-async-submit-rnSk_jXl.js +0 -91
  279. package/dist/packem_shared/useDebounced-Dxncpg6z.js +0 -32
  280. package/dist/packem_shared/utils-B05Dmz_H.js +0 -8
  281. package/dist/packem_shared/virtual-rect-CVMUskSm.js +0 -10
  282. package/dist/standalone/chunk-2K47A3P6.js +0 -1
  283. package/dist/standalone/chunk-2MLA6WFH.js +0 -1
  284. package/dist/standalone/chunk-2NGUNNGW.js +0 -1
  285. package/dist/standalone/chunk-2TJVFKD2.js +0 -1
  286. package/dist/standalone/chunk-2YTF6LJ6.js +0 -1
  287. package/dist/standalone/chunk-3GXGLNKW.js +0 -1
  288. package/dist/standalone/chunk-3HGNPZBN.js +0 -1
  289. package/dist/standalone/chunk-3LJEGSMK.js +0 -11
  290. package/dist/standalone/chunk-3OA7PECS.js +0 -6
  291. package/dist/standalone/chunk-4PC7IXNY.js +0 -1
  292. package/dist/standalone/chunk-56XQYNUJ.js +0 -1
  293. package/dist/standalone/chunk-5OIBXYZM.js +0 -1
  294. package/dist/standalone/chunk-5QT5JRXD.js +0 -3
  295. package/dist/standalone/chunk-6RLPR7PL.js +0 -1
  296. package/dist/standalone/chunk-6V74EUPK.js +0 -1
  297. package/dist/standalone/chunk-7EE33WLB.js +0 -1
  298. package/dist/standalone/chunk-7TJJXVSE.js +0 -1
  299. package/dist/standalone/chunk-AHILM3ZP.js +0 -1
  300. package/dist/standalone/chunk-AN4RKMKW.js +0 -1
  301. package/dist/standalone/chunk-APSSZB6Z.js +0 -1
  302. package/dist/standalone/chunk-AXNGWSBM.js +0 -1
  303. package/dist/standalone/chunk-AXZILWRM.js +0 -1
  304. package/dist/standalone/chunk-C7RHEBOH.js +0 -1
  305. package/dist/standalone/chunk-CKSHCYGC.js +0 -2
  306. package/dist/standalone/chunk-CSWIYOB3.js +0 -1
  307. package/dist/standalone/chunk-D3VAON25.js +0 -1
  308. package/dist/standalone/chunk-DDLQN67F.js +0 -1
  309. package/dist/standalone/chunk-DGHW5JG5.js +0 -1
  310. package/dist/standalone/chunk-DMCSOTAE.js +0 -3
  311. package/dist/standalone/chunk-E3BKETAS.js +0 -1
  312. package/dist/standalone/chunk-E3OXNN6O.js +0 -1
  313. package/dist/standalone/chunk-E6BOGDIS.js +0 -1
  314. package/dist/standalone/chunk-F2YMCQ6B.js +0 -1
  315. package/dist/standalone/chunk-F7GE4X2U.js +0 -1
  316. package/dist/standalone/chunk-FAVUOGJR.js +0 -1
  317. package/dist/standalone/chunk-FXP6256Q.js +0 -1
  318. package/dist/standalone/chunk-G6CTAYHJ.js +0 -1
  319. package/dist/standalone/chunk-GTM65MVX.js +0 -1
  320. package/dist/standalone/chunk-H42W62SE.js +0 -1
  321. package/dist/standalone/chunk-HTF5ZX4I.js +0 -8
  322. package/dist/standalone/chunk-HV7G6DFP.js +0 -5
  323. package/dist/standalone/chunk-I2PS4L74.js +0 -1
  324. package/dist/standalone/chunk-IYHPYY4A.js +0 -1
  325. package/dist/standalone/chunk-J6J54MBP.js +0 -1
  326. package/dist/standalone/chunk-J7OGP4NN.js +0 -1
  327. package/dist/standalone/chunk-JSEXCW5Q.js +0 -1
  328. package/dist/standalone/chunk-JZLGLG4T.js +0 -1
  329. package/dist/standalone/chunk-KEGAWN6Y.js +0 -1
  330. package/dist/standalone/chunk-KZ6INM5M.js +0 -1
  331. package/dist/standalone/chunk-L2LN3MK4.js +0 -4
  332. package/dist/standalone/chunk-LT3FH6MW.js +0 -1
  333. package/dist/standalone/chunk-LZUWZBPE.js +0 -1
  334. package/dist/standalone/chunk-M4JM3TOY.js +0 -1
  335. package/dist/standalone/chunk-MLA5ZAEB.js +0 -1
  336. package/dist/standalone/chunk-MRBI5HNQ.js +0 -1
  337. package/dist/standalone/chunk-N5XX4HOL.js +0 -6
  338. package/dist/standalone/chunk-N7SVJOHN.js +0 -1
  339. package/dist/standalone/chunk-NKFXMDOD.js +0 -1
  340. package/dist/standalone/chunk-NPSNKFHE.js +0 -1
  341. package/dist/standalone/chunk-O3NAGRTR.js +0 -1
  342. package/dist/standalone/chunk-O7FVPUCO.js +0 -1
  343. package/dist/standalone/chunk-OKQXTLFX.js +0 -1
  344. package/dist/standalone/chunk-OXHHSUXO.js +0 -1
  345. package/dist/standalone/chunk-QAFAJBAW.js +0 -1
  346. package/dist/standalone/chunk-QAIM6KWT.js +0 -1
  347. package/dist/standalone/chunk-QCPMTB6W.js +0 -1
  348. package/dist/standalone/chunk-QQ2LOSZL.js +0 -1
  349. package/dist/standalone/chunk-QVIPA6UJ.js +0 -1
  350. package/dist/standalone/chunk-QVUQXJCT.js +0 -4
  351. package/dist/standalone/chunk-R2GMHLJY.js +0 -1
  352. package/dist/standalone/chunk-RD5UG2YL.js +0 -1
  353. package/dist/standalone/chunk-RJTIP3WF.js +0 -1
  354. package/dist/standalone/chunk-RRCPZMC2.js +0 -22
  355. package/dist/standalone/chunk-SHERR7ZP.js +0 -1
  356. package/dist/standalone/chunk-SOC5CY3F.js +0 -1
  357. package/dist/standalone/chunk-SS7JLF2I.js +0 -4
  358. package/dist/standalone/chunk-SWWYUGPL.js +0 -2
  359. package/dist/standalone/chunk-TAD43CG5.js +0 -1
  360. package/dist/standalone/chunk-TTXRHJUP.js +0 -4
  361. package/dist/standalone/chunk-UK64ZSUW.js +0 -1
  362. package/dist/standalone/chunk-UKDHGVOC.js +0 -1
  363. package/dist/standalone/chunk-UPNTMJFF.js +0 -1
  364. package/dist/standalone/chunk-V43BLH4J.js +0 -1
  365. package/dist/standalone/chunk-VL23Y44O.js +0 -4
  366. package/dist/standalone/chunk-VXM5H542.js +0 -4
  367. package/dist/standalone/chunk-WMDH2CIZ.js +0 -1
  368. package/dist/standalone/chunk-WVTPZ6CM.js +0 -1
  369. package/dist/standalone/chunk-XN6QYJQ6.js +0 -13
  370. package/dist/standalone/chunk-XNJNSCLM.js +0 -1
  371. package/dist/standalone/chunk-Y4U6CC22.js +0 -1
  372. package/dist/standalone/chunk-Y572GMZE.js +0 -1
  373. package/dist/standalone/chunk-Y7PD5KP4.js +0 -76
  374. package/dist/standalone/chunk-YFIPHCEC.js +0 -1
  375. package/dist/standalone/chunk-YJXOWLFJ.js +0 -1
  376. package/dist/standalone/chunk-YNN6NFRZ.js +0 -1
  377. package/dist/standalone/chunk-YUGHRVPD.js +0 -1
  378. package/dist/standalone/chunk-ZIGWVHCS.js +0 -1
  379. package/dist/standalone/chunk-ZPP2KOR4.js +0 -1
  380. package/dist/standalone/chunk-ZPUO7FNI.js +0 -1
  381. /package/dist/standalone/{chunk-TEWVD66F.js → chunk-GXZAXNZI.js} +0 -0
@@ -1,105 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useState, useRef, useEffect } from 'react';
3
-
4
- const storageOf = (kind = "local") => {
5
- try {
6
- return kind === "local" ? globalThis.localStorage : globalThis.sessionStorage;
7
- } catch {
8
- return void 0;
9
- }
10
- };
11
- const loadJsonArray = function(key, kind = "local") {
12
- try {
13
- const raw = storageOf(kind)?.getItem(key) ?? void 0;
14
- const parsed = raw === void 0 ? [] : JSON.parse(raw);
15
- return Array.isArray(parsed) ? parsed : [];
16
- } catch {
17
- return [];
18
- }
19
- };
20
- const saveJson = (key, value, kind = "local") => {
21
- const storage = storageOf(kind);
22
- if (storage === void 0) {
23
- return;
24
- }
25
- try {
26
- storage.setItem(key, JSON.stringify(value));
27
- } catch {
28
- }
29
- };
30
- const usePersistedList = function(key) {
31
- const $ = c(8);
32
- let t0;
33
- if ($[0] !== key) {
34
- t0 = () => loadJsonArray(key);
35
- $[0] = key;
36
- $[1] = t0;
37
- } else {
38
- t0 = $[1];
39
- }
40
- const [value, setValue] = useState(t0);
41
- const keyRef = useRef(key);
42
- let t1;
43
- let t2;
44
- if ($[2] !== key || $[3] !== value) {
45
- t1 = () => {
46
- if (keyRef.current !== key) {
47
- keyRef.current = key;
48
- setValue(loadJsonArray(key));
49
- return;
50
- }
51
- saveJson(key, value);
52
- };
53
- t2 = [key, value];
54
- $[2] = key;
55
- $[3] = value;
56
- $[4] = t1;
57
- $[5] = t2;
58
- } else {
59
- t1 = $[4];
60
- t2 = $[5];
61
- }
62
- useEffect(t1, t2);
63
- let t3;
64
- if ($[6] !== value) {
65
- t3 = [value, setValue];
66
- $[6] = value;
67
- $[7] = t3;
68
- } else {
69
- t3 = $[7];
70
- }
71
- return t3;
72
- };
73
- const usePersistedValue = function(key, fallback) {
74
- const $ = c(6);
75
- const [list, setList] = usePersistedList(key);
76
- let t0;
77
- if ($[0] !== fallback || $[1] !== setList) {
78
- t0 = (action) => {
79
- setList((current) => {
80
- const previous = current[0] ?? fallback;
81
- return [typeof action === "function" ? action(previous) : action];
82
- });
83
- };
84
- $[0] = fallback;
85
- $[1] = setList;
86
- $[2] = t0;
87
- } else {
88
- t0 = $[2];
89
- }
90
- const setValue = t0;
91
- const t1 = list[0] ?? fallback;
92
- let t2;
93
- if ($[3] !== setValue || $[4] !== t1) {
94
- t2 = [t1, setValue];
95
- $[3] = setValue;
96
- $[4] = t1;
97
- $[5] = t2;
98
- } else {
99
- t2 = $[5];
100
- }
101
- return t2;
102
- };
103
- const newId = (prefix) => globalThis.crypto?.randomUUID?.() ?? `${prefix}-${globalThis.performance.now().toString(36)}`;
104
-
105
- export { storageOf as a, usePersistedValue as b, loadJsonArray as l, newId as n, saveJson as s, usePersistedList as u };
@@ -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, CardTitle as b, CardHeader 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_D1_URL as C, CLOUDFLARE_WORKERS_URL as a, CLOUDFLARE_OBSERVABILITY_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-DzHCc2Rq.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 };
@@ -1,96 +0,0 @@
1
- const VALID_OPERATORS = /* @__PURE__ */ new Set(["contains", "eq", "gt", "gte", "lt", "lte", "ne"]);
2
- const stringParameter = (raw) => {
3
- if (typeof raw !== "string") {
4
- return void 0;
5
- }
6
- const value = raw.trim();
7
- return value === "" ? void 0 : value;
8
- };
9
- const isFilterClause = (entry) => {
10
- if (entry === null || typeof entry !== "object") {
11
- return false;
12
- }
13
- const candidate = entry;
14
- return typeof candidate.column === "string" && typeof candidate.operator === "string" && VALID_OPERATORS.has(candidate.operator);
15
- };
16
- const parseFilters = (raw) => {
17
- if (typeof raw !== "string" || raw === "") {
18
- return [];
19
- }
20
- try {
21
- const parsed = JSON.parse(raw);
22
- return Array.isArray(parsed) ? parsed.filter(isFilterClause) : [];
23
- } catch {
24
- return [];
25
- }
26
- };
27
- const parseOrder = (raw) => {
28
- if (typeof raw !== "string" || raw === "") {
29
- return void 0;
30
- }
31
- const separator = raw.lastIndexOf(":");
32
- if (separator <= 0) {
33
- return void 0;
34
- }
35
- const column = raw.slice(0, separator);
36
- const direction = raw.slice(separator + 1);
37
- if (direction !== "asc" && direction !== "desc") {
38
- return void 0;
39
- }
40
- return {
41
- column,
42
- direction
43
- };
44
- };
45
- const validateDataViewSearch = (search) => {
46
- const validated = {};
47
- if (search["schema"] === "global") {
48
- validated.schema = "global";
49
- }
50
- const table = stringParameter(search["table"]);
51
- if (table !== void 0) {
52
- validated.table = table;
53
- }
54
- const shard = stringParameter(search["shard"]);
55
- if (shard !== void 0) {
56
- validated.shard = shard;
57
- }
58
- const searchText = stringParameter(search["search"]);
59
- if (searchText !== void 0) {
60
- validated.search = searchText;
61
- }
62
- const order = stringParameter(search["order"]);
63
- if (order !== void 0 && parseOrder(order) !== void 0) {
64
- validated.order = order;
65
- }
66
- const filters = stringParameter(search["filters"]);
67
- if (filters !== void 0 && parseFilters(filters).length > 0) {
68
- validated.filters = filters;
69
- }
70
- return validated;
71
- };
72
- const searchToDataView = (search) => {
73
- const filters = parseFilters(search["filters"]);
74
- const orderBy = parseOrder(search["order"]);
75
- return {
76
- filters: filters.length > 0 ? filters : void 0,
77
- orderBy,
78
- search: typeof search["search"] === "string" && search["search"] !== "" ? search["search"] : void 0,
79
- shard: typeof search["shard"] === "string" && search["shard"] !== "" ? search["shard"] : void 0,
80
- table: typeof search["table"] === "string" && search["table"] !== "" ? search["table"] : void 0,
81
- tier: search["schema"] === "global" ? "global" : "shard"
82
- };
83
- };
84
- const dataViewToSearch = (view) => {
85
- const filters = view.filters ?? [];
86
- return {
87
- filters: filters.length > 0 ? JSON.stringify(filters) : void 0,
88
- order: view.orderBy === void 0 ? void 0 : `${view.orderBy.column}:${view.orderBy.direction}`,
89
- schema: view.tier === "global" ? "global" : void 0,
90
- search: view.search !== void 0 && view.search !== "" ? view.search : void 0,
91
- shard: view.shard !== void 0 && view.shard !== "" ? view.shard : void 0,
92
- table: view.table !== void 0 && view.table !== "" ? view.table : void 0
93
- };
94
- };
95
-
96
- export { dataViewToSearch as d, searchToDataView as s, validateDataViewSearch as v };