@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,192 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useLunora } from '@lunora/react';
3
- import { E as EmptyState } from './empty-state-DY_oe0k6.js';
4
- import { S as Skeleton } from './skeleton-CGhL0p20.js';
5
- import { u as useAdminSpec, R as ReferenceView } from './reference-view-DfXN7oWP.js';
6
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
7
- import { jsxDEV } from 'react/jsx-dev-runtime';
8
-
9
- const argsParameterOf = (method) => (method.params ?? []).find((parameter) => parameter.name === "args") ?? (method.params ?? [])[0];
10
- const namespaceOf = (method) => method["x-tags"]?.[0]?.name ?? (method.name.includes(":") ? method.name.slice(0, method.name.indexOf(":")) : "");
11
- const toOperation = (method) => {
12
- const argsSchema = argsParameterOf(method)?.schema;
13
- return {
14
- argsSchema,
15
- description: method.description,
16
- functionPath: method.name,
17
- httpPath: "/_lunora/rpc",
18
- key: method.name,
19
- kind: method["x-lunora-function-kind"],
20
- method: "POST",
21
- operationId: method.name,
22
- requestSchema: argsSchema,
23
- responses: [{
24
- description: method.result?.name,
25
- schema: method.result?.schema,
26
- status: "200"
27
- }],
28
- summary: method.summary ?? method.name,
29
- tags: [namespaceOf(method)],
30
- title: method.summary ?? method.name
31
- };
32
- };
33
- const parseOpenRpc = (raw) => {
34
- const document = raw ?? {};
35
- const operations = (document.methods ?? []).map((method) => toOperation(method));
36
- const byNamespace = /* @__PURE__ */ new Map();
37
- for (const operation of operations) {
38
- const namespace = operation.tags[0] ?? "";
39
- const bucket = byNamespace.get(namespace) ?? [];
40
- bucket.push(operation);
41
- byNamespace.set(namespace, bucket);
42
- }
43
- const groups = [...byNamespace.entries()].map(([name, members]) => {
44
- return {
45
- name,
46
- operations: members.toSorted((a, b) => a.operationId.localeCompare(b.operationId))
47
- };
48
- }).toSorted((a, b) => a.name.localeCompare(b.name));
49
- return {
50
- groups,
51
- operationByKey: new Map(operations.map((operation) => [operation.key, operation])),
52
- title: document.info?.title ?? "API reference",
53
- version: document.info?.version
54
- };
55
- };
56
-
57
- const isEmptyDocument = (document) => document.methods === void 0 || document.methods.length === 0;
58
- const classifyDocument = (spec) => {
59
- const document = spec;
60
- return isEmptyDocument(document) ? {
61
- kind: "empty"
62
- } : {
63
- kind: "ready",
64
- spec: document
65
- };
66
- };
67
- const OpenRpcReferencePanel = (t0) => {
68
- const $ = c(23);
69
- const {
70
- spec: inlineSpec
71
- } = t0;
72
- const t = useT();
73
- const client = useLunora();
74
- let t1;
75
- if ($[0] !== client) {
76
- t1 = () => client.fetchOpenRpc();
77
- $[0] = client;
78
- $[1] = t1;
79
- } else {
80
- t1 = $[1];
81
- }
82
- const fetchOpenRpc = t1;
83
- const state = useAdminSpec(inlineSpec, fetchOpenRpc, classifyDocument);
84
- let t2;
85
- if ($[2] !== state.kind || $[3] !== state.spec) {
86
- t2 = state.kind === "ready" ? parseOpenRpc(state.spec) : void 0;
87
- $[2] = state.kind;
88
- $[3] = state.spec;
89
- $[4] = t2;
90
- } else {
91
- t2 = $[4];
92
- }
93
- const model = t2;
94
- if (state.kind === "loading") {
95
- let t32;
96
- if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
97
- t32 = /* @__PURE__ */ jsxDEV("div", {
98
- className: "flex flex-col gap-4",
99
- "data-testid": "openrpc-reference-loading",
100
- children: [/* @__PURE__ */ jsxDEV(Skeleton, {
101
- className: "h-8 w-48"
102
- }, void 0, false), /* @__PURE__ */ jsxDEV(Skeleton, {
103
- className: "h-64 w-full"
104
- }, void 0, false)]
105
- }, void 0, true);
106
- $[5] = t32;
107
- } else {
108
- t32 = $[5];
109
- }
110
- return t32;
111
- }
112
- if (state.kind === "error") {
113
- let t32;
114
- if ($[6] !== state.message || $[7] !== t) {
115
- t32 = t("Couldn't load the OpenRPC spec: {message}", {
116
- message: state.message
117
- });
118
- $[6] = state.message;
119
- $[7] = t;
120
- $[8] = t32;
121
- } else {
122
- t32 = $[8];
123
- }
124
- let t4;
125
- if ($[9] !== t) {
126
- t4 = t("API reference unavailable");
127
- $[9] = t;
128
- $[10] = t4;
129
- } else {
130
- t4 = $[10];
131
- }
132
- let t5;
133
- if ($[11] !== t32 || $[12] !== t4) {
134
- t5 = /* @__PURE__ */ jsxDEV(EmptyState, {
135
- description: t32,
136
- testId: "openrpc-reference-error",
137
- title: t4
138
- }, void 0, false);
139
- $[11] = t32;
140
- $[12] = t4;
141
- $[13] = t5;
142
- } else {
143
- t5 = $[13];
144
- }
145
- return t5;
146
- }
147
- if (state.kind === "empty" || model === void 0) {
148
- let t32;
149
- if ($[14] !== t) {
150
- t32 = t("Run `lunora codegen --api-spec openrpc` and wire `_generated/openrpc.json` to the worker to render the OpenRPC reference here.");
151
- $[14] = t;
152
- $[15] = t32;
153
- } else {
154
- t32 = $[15];
155
- }
156
- let t4;
157
- if ($[16] !== t) {
158
- t4 = t("No OpenRPC spec configured");
159
- $[16] = t;
160
- $[17] = t4;
161
- } else {
162
- t4 = $[17];
163
- }
164
- let t5;
165
- if ($[18] !== t32 || $[19] !== t4) {
166
- t5 = /* @__PURE__ */ jsxDEV(EmptyState, {
167
- description: t32,
168
- testId: "openrpc-reference-empty",
169
- title: t4
170
- }, void 0, false);
171
- $[18] = t32;
172
- $[19] = t4;
173
- $[20] = t5;
174
- } else {
175
- t5 = $[20];
176
- }
177
- return t5;
178
- }
179
- let t3;
180
- if ($[21] !== model) {
181
- t3 = /* @__PURE__ */ jsxDEV(ReferenceView, {
182
- model
183
- }, void 0, false);
184
- $[21] = model;
185
- $[22] = t3;
186
- } else {
187
- t3 = $[22];
188
- }
189
- return t3;
190
- };
191
-
192
- export { OpenRpcReferencePanel as default };
@@ -1,3 +0,0 @@
1
- const STUDIO_ROOT_CLASS = "lunora-studio-root";
2
-
3
- export { STUDIO_ROOT_CLASS as default };
@@ -1,262 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useLunora } from '@lunora/react';
3
- import { useState, useEffect } from 'react';
4
- import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
5
- import { C as Card, a as CardContent } from './card-F2vH_aj2.js';
6
- import { E as EmptyState } from './empty-state-DY_oe0k6.js';
7
- import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
8
- import { a as useClientQuery } from './use-admin-query-C7JNuQp-.js';
9
- import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
10
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
11
- import { f as fireAndForget, i as formatTimestamp, e as errorMessage } from './internal-DzHCc2Rq.js';
12
- import { jsxDEV } from 'react/jsx-dev-runtime';
13
-
14
- const formatScheduledFor = (value) => Number.isFinite(value) ? formatTimestamp(value, "—") : "—";
15
- const sortByDue = (records) => records.toSorted((a, b) => a.scheduledFor - b.scheduledFor);
16
- const ScheduledJobs = (t0) => {
17
- const $ = c(33);
18
- let t1;
19
- if ($[0] !== t0) {
20
- t1 = t0 === void 0 ? {} : t0;
21
- $[0] = t0;
22
- $[1] = t1;
23
- } else {
24
- t1 = $[1];
25
- }
26
- const {
27
- cancelJob,
28
- loadJobs
29
- } = t1;
30
- const client = useLunora();
31
- const t = useT();
32
- const livePush = loadJobs === void 0;
33
- let t2;
34
- if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
35
- t2 = ["lunora-scheduled-jobs"];
36
- $[2] = t2;
37
- } else {
38
- t2 = $[2];
39
- }
40
- let t3;
41
- if ($[3] !== client || $[4] !== loadJobs) {
42
- t3 = async () => {
43
- const records = await (loadJobs ?? (() => client.listScheduledJobs()))();
44
- return sortByDue(records);
45
- };
46
- $[3] = client;
47
- $[4] = loadJobs;
48
- $[5] = t3;
49
- } else {
50
- t3 = $[5];
51
- }
52
- const jobsQuery = useClientQuery(t2, t3);
53
- const [liveJobs, setLiveJobs] = useState(void 0);
54
- const [liveError, setLiveError] = useState(void 0);
55
- let t4;
56
- let t5;
57
- if ($[6] !== client || $[7] !== livePush) {
58
- t4 = () => {
59
- if (!livePush) {
60
- return;
61
- }
62
- return client.subscribeScheduledJobs((records_0) => {
63
- setLiveError(void 0);
64
- setLiveJobs(sortByDue(records_0));
65
- });
66
- };
67
- t5 = [livePush, client];
68
- $[6] = client;
69
- $[7] = livePush;
70
- $[8] = t4;
71
- $[9] = t5;
72
- } else {
73
- t4 = $[8];
74
- t5 = $[9];
75
- }
76
- useEffect(t4, t5);
77
- let t6;
78
- if ($[10] !== jobsQuery) {
79
- t6 = () => {
80
- jobsQuery.refetch();
81
- };
82
- $[10] = jobsQuery;
83
- $[11] = t6;
84
- } else {
85
- t6 = $[11];
86
- }
87
- useAutoRefresh(t6, !livePush);
88
- let t7;
89
- bb0: {
90
- if (cancelJob !== void 0) {
91
- t7 = cancelJob;
92
- break bb0;
93
- }
94
- let t82;
95
- if ($[12] !== client || $[13] !== loadJobs) {
96
- t82 = loadJobs === void 0 ? (id) => client.cancelScheduledJob(id) : void 0;
97
- $[12] = client;
98
- $[13] = loadJobs;
99
- $[14] = t82;
100
- } else {
101
- t82 = $[14];
102
- }
103
- t7 = t82;
104
- }
105
- const cancelImpl = t7;
106
- const jobs = liveJobs ?? jobsQuery.data;
107
- const error = liveError ?? jobsQuery.error;
108
- let t8;
109
- if ($[15] !== cancelImpl || $[16] !== jobsQuery || $[17] !== livePush) {
110
- t8 = async (id_0) => {
111
- if (cancelImpl === void 0) {
112
- return;
113
- }
114
- setLiveError(void 0);
115
- try {
116
- await cancelImpl(id_0);
117
- if (!livePush) {
118
- jobsQuery.refetch();
119
- }
120
- } catch (t92) {
121
- const error_ = t92;
122
- setLiveError(errorMessage(error_));
123
- }
124
- };
125
- $[15] = cancelImpl;
126
- $[16] = jobsQuery;
127
- $[17] = livePush;
128
- $[18] = t8;
129
- } else {
130
- t8 = $[18];
131
- }
132
- const cancel = t8;
133
- let t9;
134
- if ($[19] !== error) {
135
- t9 = error !== null && /* @__PURE__ */ jsxDEV("p", {
136
- className: "text-sm text-destructive",
137
- "data-testid": "sj-error",
138
- role: "alert",
139
- children: error
140
- }, void 0, false);
141
- $[19] = error;
142
- $[20] = t9;
143
- } else {
144
- t9 = $[20];
145
- }
146
- let t10;
147
- if ($[21] !== jobs?.length || $[22] !== t) {
148
- t10 = jobs?.length === 0 && /* @__PURE__ */ jsxDEV(EmptyState, {
149
- description: t("Jobs queued with runAfter / runAt will appear here."),
150
- icon: /* @__PURE__ */ jsxDEV("svg", {
151
- "aria-hidden": "true",
152
- fill: "none",
153
- stroke: "currentColor",
154
- strokeLinecap: "round",
155
- strokeLinejoin: "round",
156
- strokeWidth: 1.6,
157
- viewBox: "0 0 24 24",
158
- children: [/* @__PURE__ */ jsxDEV("circle", {
159
- cx: "12",
160
- cy: "12",
161
- r: "9"
162
- }, void 0, false), /* @__PURE__ */ jsxDEV("path", {
163
- d: "M12 7.5V12l4 2"
164
- }, void 0, false)]
165
- }, void 0, true),
166
- testId: "sj-empty",
167
- title: t("No scheduled jobs.")
168
- }, void 0, false);
169
- $[21] = jobs?.length;
170
- $[22] = t;
171
- $[23] = t10;
172
- } else {
173
- t10 = $[23];
174
- }
175
- let t11;
176
- if ($[24] !== cancel || $[25] !== cancelImpl || $[26] !== jobs || $[27] !== t) {
177
- t11 = jobs !== void 0 && jobs.length > 0 && /* @__PURE__ */ jsxDEV(Card, {
178
- className: "overflow-hidden py-0",
179
- children: /* @__PURE__ */ jsxDEV(CardContent, {
180
- className: "px-0",
181
- children: /* @__PURE__ */ jsxDEV(Table, {
182
- "data-testid": "sj-table",
183
- children: [/* @__PURE__ */ jsxDEV(TableHeader, {
184
- children: /* @__PURE__ */ jsxDEV(TableRow, {
185
- children: [/* @__PURE__ */ jsxDEV(TableHead, {
186
- children: t("function")
187
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
188
- children: t("scheduled for")
189
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
190
- children: t("pool")
191
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
192
- children: t("attempts")
193
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
194
- children: t("shard")
195
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableHead, {
196
- children: t("id")
197
- }, void 0, false), cancelImpl !== void 0 && /* @__PURE__ */ jsxDEV(TableHead, {
198
- "aria-label": t("Actions")
199
- }, void 0, false)]
200
- }, void 0, true)
201
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableBody, {
202
- children: jobs.map((job) => /* @__PURE__ */ jsxDEV(TableRow, {
203
- "data-testid": `sj-row-${job.id}`,
204
- children: [/* @__PURE__ */ jsxDEV(TableCell, {
205
- className: "font-mono text-xs",
206
- children: job.functionPath
207
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
208
- className: "text-muted-foreground tabular-nums",
209
- children: formatScheduledFor(job.scheduledFor)
210
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
211
- className: "font-mono text-xs",
212
- children: job.pool ?? ""
213
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
214
- className: "tabular-nums",
215
- children: job.attempts ?? 0
216
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
217
- children: job.shardKey ?? ""
218
- }, void 0, false), /* @__PURE__ */ jsxDEV(TableCell, {
219
- className: "font-mono text-xs",
220
- children: job.id
221
- }, void 0, false), cancelImpl !== void 0 && /* @__PURE__ */ jsxDEV(TableCell, {
222
- className: "text-right",
223
- children: /* @__PURE__ */ jsxDEV(ConfirmButton, {
224
- confirmLabel: t("Cancel job?"),
225
- onConfirm: () => {
226
- fireAndForget(cancel(job.id));
227
- },
228
- testId: `sj-cancel-${job.id}`,
229
- children: t("Cancel")
230
- }, void 0, false)
231
- }, void 0, false)]
232
- }, job.id, true))
233
- }, void 0, false)]
234
- }, void 0, true)
235
- }, void 0, false)
236
- }, void 0, false);
237
- $[24] = cancel;
238
- $[25] = cancelImpl;
239
- $[26] = jobs;
240
- $[27] = t;
241
- $[28] = t11;
242
- } else {
243
- t11 = $[28];
244
- }
245
- let t12;
246
- if ($[29] !== t10 || $[30] !== t11 || $[31] !== t9) {
247
- t12 = /* @__PURE__ */ jsxDEV("div", {
248
- className: "flex flex-col gap-3",
249
- "data-testid": "lunora-scheduled-jobs",
250
- children: [t9, t10, t11]
251
- }, void 0, true);
252
- $[29] = t10;
253
- $[30] = t11;
254
- $[31] = t9;
255
- $[32] = t12;
256
- } else {
257
- t12 = $[32];
258
- }
259
- return t12;
260
- };
261
-
262
- export { ScheduledJobs };
@@ -1,107 +0,0 @@
1
- import { c } from 'react/compiler-runtime';
2
- import { useId, useState } from 'react';
3
- import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
4
- import { l as loadRecentShards } from './shard-history-AxiJ1WPP.js';
5
- import { I as Input } from './input-XH4r1Pt1.js';
6
- import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
7
-
8
- const ShardInput = (t0) => {
9
- const $ = c(21);
10
- const {
11
- id,
12
- onChange,
13
- testId,
14
- value
15
- } = t0;
16
- const t = useT();
17
- const listId = useId();
18
- const [recents] = useState(_temp);
19
- let t1;
20
- if ($[0] !== onChange) {
21
- t1 = (event) => {
22
- onChange(event.target.value);
23
- };
24
- $[0] = onChange;
25
- $[1] = t1;
26
- } else {
27
- t1 = $[1];
28
- }
29
- const onInputChange = t1;
30
- let t2;
31
- if ($[2] !== t) {
32
- t2 = t("Shard key");
33
- $[2] = t;
34
- $[3] = t2;
35
- } else {
36
- t2 = $[3];
37
- }
38
- const t3 = recents.length > 0 ? listId : void 0;
39
- let t4;
40
- if ($[4] !== t) {
41
- t4 = t("shard key (optional)");
42
- $[4] = t;
43
- $[5] = t4;
44
- } else {
45
- t4 = $[5];
46
- }
47
- let t5;
48
- if ($[6] !== id || $[7] !== onInputChange || $[8] !== t2 || $[9] !== t3 || $[10] !== t4 || $[11] !== testId || $[12] !== value) {
49
- t5 = /* @__PURE__ */ jsxDEV(Input, {
50
- "aria-label": t2,
51
- className: "h-8 w-48",
52
- "data-testid": testId,
53
- id,
54
- list: t3,
55
- onChange: onInputChange,
56
- placeholder: t4,
57
- value
58
- }, void 0, false);
59
- $[6] = id;
60
- $[7] = onInputChange;
61
- $[8] = t2;
62
- $[9] = t3;
63
- $[10] = t4;
64
- $[11] = testId;
65
- $[12] = value;
66
- $[13] = t5;
67
- } else {
68
- t5 = $[13];
69
- }
70
- let t6;
71
- if ($[14] !== listId || $[15] !== recents || $[16] !== testId) {
72
- t6 = recents.length > 0 && /* @__PURE__ */ jsxDEV("datalist", {
73
- "data-testid": `${testId}-recents`,
74
- id: listId,
75
- children: recents.map(_temp2)
76
- }, void 0, false);
77
- $[14] = listId;
78
- $[15] = recents;
79
- $[16] = testId;
80
- $[17] = t6;
81
- } else {
82
- t6 = $[17];
83
- }
84
- let t7;
85
- if ($[18] !== t5 || $[19] !== t6) {
86
- t7 = /* @__PURE__ */ jsxDEV(Fragment, {
87
- children: [t5, t6]
88
- }, void 0, true);
89
- $[18] = t5;
90
- $[19] = t6;
91
- $[20] = t7;
92
- } else {
93
- t7 = $[20];
94
- }
95
- return t7;
96
- };
97
- function _temp() {
98
- return loadRecentShards();
99
- }
100
- function _temp2(shard) {
101
- return /* @__PURE__ */ jsxDEV("option", {
102
- "aria-label": shard,
103
- value: shard
104
- }, shard, false);
105
- }
106
-
107
- export { ShardInput };
@@ -1,16 +0,0 @@
1
- import 'react/compiler-runtime';
2
- import '@tanstack/react-router';
3
- import 'react';
4
- export { S as Studio } from './studio-8QSXbZ98.js';
5
- import './ErrorBoundary-BzAApI7J.js';
6
- import './badge-B2PKA1-5.js';
7
- import './input-XH4r1Pt1.js';
8
- import './skeleton-CGhL0p20.js';
9
- import './home-panel-BRAA2UlM.js';
10
- import './DEFAULT_LOCALE-CiX4W7Kr.js';
11
- import './StudioI18nProvider-B-tDCZIi.js';
12
- import './data-view-params-Cd6yRVbv.js';
13
- import './internal-DzHCc2Rq.js';
14
- import './utils-B05Dmz_H.js';
15
- import './CommandPalette-BpkopP5f.js';
16
- import 'react/jsx-dev-runtime';