@xtandard/kit 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +71 -2
  3. package/bin/xtandard-kit.mjs +3 -0
  4. package/dist/base-path-BJugWLNO.cjs +42 -0
  5. package/dist/base-path-BJugWLNO.cjs.map +1 -0
  6. package/dist/base-path-CDb4In5E.mjs +31 -0
  7. package/dist/base-path-CDb4In5E.mjs.map +1 -0
  8. package/dist/basic-Qtriv0xS.mjs +176 -0
  9. package/dist/basic-Qtriv0xS.mjs.map +1 -0
  10. package/dist/basic-ZaO92-lB.cjs +199 -0
  11. package/dist/basic-ZaO92-lB.cjs.map +1 -0
  12. package/dist/bin.cjs +126 -0
  13. package/dist/bin.cjs.map +1 -0
  14. package/dist/bin.d.cts +20 -0
  15. package/dist/bin.d.mts +20 -0
  16. package/dist/bin.mjs +125 -0
  17. package/dist/bin.mjs.map +1 -0
  18. package/dist/cas-CuPSaXBV.cjs +23 -0
  19. package/dist/cas-CuPSaXBV.cjs.map +1 -0
  20. package/dist/cas-CzA-yECx.mjs +18 -0
  21. package/dist/cas-CzA-yECx.mjs.map +1 -0
  22. package/dist/chunk-DakpK96I.cjs +43 -0
  23. package/dist/contract-B3UPXXLx.d.cts +30 -0
  24. package/dist/contract-B3UPXXLx.d.mts +30 -0
  25. package/dist/contract-BDPNvjtp.d.mts +64 -0
  26. package/dist/contract-BEdfGTPs.mjs +85 -0
  27. package/dist/contract-BEdfGTPs.mjs.map +1 -0
  28. package/dist/contract-BIVzAn4f.d.cts +64 -0
  29. package/dist/contract-BvgtswLX.d.cts +75 -0
  30. package/dist/contract-BvgtswLX.d.mts +75 -0
  31. package/dist/contract-DUj9P3Vt.d.cts +72 -0
  32. package/dist/contract-DUj9P3Vt.d.mts +72 -0
  33. package/dist/contract-wAEMDmYG.cjs +132 -0
  34. package/dist/contract-wAEMDmYG.cjs.map +1 -0
  35. package/dist/drizzle-BElCHWri.d.mts +115 -0
  36. package/dist/drizzle-BXaQXCr0.cjs +232 -0
  37. package/dist/drizzle-BXaQXCr0.cjs.map +1 -0
  38. package/dist/drizzle-CEpahWQB.d.cts +115 -0
  39. package/dist/drizzle-DxnelsPT.mjs +197 -0
  40. package/dist/drizzle-DxnelsPT.mjs.map +1 -0
  41. package/dist/duration-7WpAK-xe.mjs +52 -0
  42. package/dist/duration-7WpAK-xe.mjs.map +1 -0
  43. package/dist/duration-DVA0Fzkx.cjs +63 -0
  44. package/dist/duration-DVA0Fzkx.cjs.map +1 -0
  45. package/dist/duration-FPwbmWIU.d.cts +35 -0
  46. package/dist/duration-FPwbmWIU.d.mts +35 -0
  47. package/dist/entry-adapters-bun.cjs +10 -0
  48. package/dist/entry-adapters-bun.cjs.map +1 -0
  49. package/dist/entry-adapters-bun.d.cts +10 -0
  50. package/dist/entry-adapters-bun.d.mts +10 -0
  51. package/dist/entry-adapters-bun.mjs +9 -0
  52. package/dist/entry-adapters-bun.mjs.map +1 -0
  53. package/dist/entry-adapters-elysia.cjs +54 -0
  54. package/dist/entry-adapters-elysia.cjs.map +1 -0
  55. package/dist/entry-adapters-elysia.d.cts +38 -0
  56. package/dist/entry-adapters-elysia.d.mts +38 -0
  57. package/dist/entry-adapters-elysia.mjs +53 -0
  58. package/dist/entry-adapters-elysia.mjs.map +1 -0
  59. package/dist/entry-adapters-express.cjs +27 -0
  60. package/dist/entry-adapters-express.cjs.map +1 -0
  61. package/dist/entry-adapters-express.d.cts +24 -0
  62. package/dist/entry-adapters-express.d.mts +24 -0
  63. package/dist/entry-adapters-express.mjs +26 -0
  64. package/dist/entry-adapters-express.mjs.map +1 -0
  65. package/dist/entry-adapters-hono.cjs +33 -0
  66. package/dist/entry-adapters-hono.cjs.map +1 -0
  67. package/dist/entry-adapters-hono.d.cts +36 -0
  68. package/dist/entry-adapters-hono.d.mts +36 -0
  69. package/dist/entry-adapters-hono.mjs +30 -0
  70. package/dist/entry-adapters-hono.mjs.map +1 -0
  71. package/dist/entry-adapters-next.cjs +19 -0
  72. package/dist/entry-adapters-next.cjs.map +1 -0
  73. package/dist/entry-adapters-next.d.cts +35 -0
  74. package/dist/entry-adapters-next.d.mts +35 -0
  75. package/dist/entry-adapters-next.mjs +18 -0
  76. package/dist/entry-adapters-next.mjs.map +1 -0
  77. package/dist/entry-adapters-node.cjs +7 -0
  78. package/dist/entry-adapters-node.d.cts +2 -0
  79. package/dist/entry-adapters-node.d.mts +2 -0
  80. package/dist/entry-adapters-node.mjs +2 -0
  81. package/dist/entry-auth-basic.cjs +5 -0
  82. package/dist/entry-auth-basic.d.cts +83 -0
  83. package/dist/entry-auth-basic.d.mts +83 -0
  84. package/dist/entry-auth-basic.mjs +2 -0
  85. package/dist/entry-auth-delegated.cjs +28 -0
  86. package/dist/entry-auth-delegated.cjs.map +1 -0
  87. package/dist/entry-auth-delegated.d.cts +36 -0
  88. package/dist/entry-auth-delegated.d.mts +36 -0
  89. package/dist/entry-auth-delegated.mjs +27 -0
  90. package/dist/entry-auth-delegated.mjs.map +1 -0
  91. package/dist/entry-auth-none.cjs +4 -0
  92. package/dist/entry-auth-none.d.cts +25 -0
  93. package/dist/entry-auth-none.d.mts +25 -0
  94. package/dist/entry-auth-none.mjs +2 -0
  95. package/dist/entry-auth.cjs +0 -0
  96. package/dist/entry-auth.d.cts +2 -0
  97. package/dist/entry-auth.d.mts +2 -0
  98. package/dist/entry-auth.mjs +1 -0
  99. package/dist/entry-authorization-delegated.cjs +27 -0
  100. package/dist/entry-authorization-delegated.cjs.map +1 -0
  101. package/dist/entry-authorization-delegated.d.cts +31 -0
  102. package/dist/entry-authorization-delegated.d.mts +31 -0
  103. package/dist/entry-authorization-delegated.mjs +26 -0
  104. package/dist/entry-authorization-delegated.mjs.map +1 -0
  105. package/dist/entry-authorization-none.cjs +3 -0
  106. package/dist/entry-authorization-none.d.cts +18 -0
  107. package/dist/entry-authorization-none.d.mts +18 -0
  108. package/dist/entry-authorization-none.mjs +2 -0
  109. package/dist/entry-authorization-roles.cjs +3 -0
  110. package/dist/entry-authorization-roles.d.cts +2 -0
  111. package/dist/entry-authorization-roles.d.mts +2 -0
  112. package/dist/entry-authorization-roles.mjs +2 -0
  113. package/dist/entry-authorization.cjs +35 -0
  114. package/dist/entry-authorization.cjs.map +1 -0
  115. package/dist/entry-authorization.d.cts +2 -0
  116. package/dist/entry-authorization.d.mts +2 -0
  117. package/dist/entry-authorization.mjs +34 -0
  118. package/dist/entry-authorization.mjs.map +1 -0
  119. package/dist/entry-build.cjs +481 -0
  120. package/dist/entry-build.cjs.map +1 -0
  121. package/dist/entry-build.d.cts +355 -0
  122. package/dist/entry-build.d.mts +355 -0
  123. package/dist/entry-build.mjs +460 -0
  124. package/dist/entry-build.mjs.map +1 -0
  125. package/dist/entry-cli.cjs +368 -0
  126. package/dist/entry-cli.cjs.map +1 -0
  127. package/dist/entry-cli.d.cts +275 -0
  128. package/dist/entry-cli.d.mts +275 -0
  129. package/dist/entry-cli.mjs +355 -0
  130. package/dist/entry-cli.mjs.map +1 -0
  131. package/dist/entry-drizzle-mysql.cjs +36 -0
  132. package/dist/entry-drizzle-mysql.cjs.map +1 -0
  133. package/dist/entry-drizzle-mysql.d.cts +55 -0
  134. package/dist/entry-drizzle-mysql.d.mts +55 -0
  135. package/dist/entry-drizzle-mysql.mjs +34 -0
  136. package/dist/entry-drizzle-mysql.mjs.map +1 -0
  137. package/dist/entry-drizzle-pg.cjs +38 -0
  138. package/dist/entry-drizzle-pg.cjs.map +1 -0
  139. package/dist/entry-drizzle-pg.d.cts +78 -0
  140. package/dist/entry-drizzle-pg.d.mts +78 -0
  141. package/dist/entry-drizzle-pg.mjs +36 -0
  142. package/dist/entry-drizzle-pg.mjs.map +1 -0
  143. package/dist/entry-drizzle-sqlite.cjs +20 -0
  144. package/dist/entry-drizzle-sqlite.cjs.map +1 -0
  145. package/dist/entry-drizzle-sqlite.d.cts +22 -0
  146. package/dist/entry-drizzle-sqlite.d.mts +22 -0
  147. package/dist/entry-drizzle-sqlite.mjs +19 -0
  148. package/dist/entry-drizzle-sqlite.mjs.map +1 -0
  149. package/dist/entry-hooks-log.cjs +32 -0
  150. package/dist/entry-hooks-log.cjs.map +1 -0
  151. package/dist/entry-hooks-log.d.cts +36 -0
  152. package/dist/entry-hooks-log.d.mts +36 -0
  153. package/dist/entry-hooks-log.mjs +31 -0
  154. package/dist/entry-hooks-log.mjs.map +1 -0
  155. package/dist/entry-hooks.cjs +10 -0
  156. package/dist/entry-hooks.d.cts +2 -0
  157. package/dist/entry-hooks.d.mts +2 -0
  158. package/dist/entry-hooks.mjs +2 -0
  159. package/dist/entry-server-router.cjs +235 -0
  160. package/dist/entry-server-router.cjs.map +1 -0
  161. package/dist/entry-server-router.d.cts +193 -0
  162. package/dist/entry-server-router.d.mts +193 -0
  163. package/dist/entry-server-router.mjs +228 -0
  164. package/dist/entry-server-router.mjs.map +1 -0
  165. package/dist/entry-server.cjs +344 -0
  166. package/dist/entry-server.cjs.map +1 -0
  167. package/dist/entry-server.d.cts +230 -0
  168. package/dist/entry-server.d.mts +230 -0
  169. package/dist/entry-server.mjs +322 -0
  170. package/dist/entry-server.mjs.map +1 -0
  171. package/dist/entry-site.cjs +1083 -0
  172. package/dist/entry-site.cjs.map +1 -0
  173. package/dist/entry-site.d.cts +336 -0
  174. package/dist/entry-site.d.mts +336 -0
  175. package/dist/entry-site.mjs +1060 -0
  176. package/dist/entry-site.mjs.map +1 -0
  177. package/dist/entry-storage-cloudflare-kv.cjs +51 -0
  178. package/dist/entry-storage-cloudflare-kv.cjs.map +1 -0
  179. package/dist/entry-storage-cloudflare-kv.d.cts +52 -0
  180. package/dist/entry-storage-cloudflare-kv.d.mts +52 -0
  181. package/dist/entry-storage-cloudflare-kv.mjs +50 -0
  182. package/dist/entry-storage-cloudflare-kv.mjs.map +1 -0
  183. package/dist/entry-storage-drizzle-internals.cjs +6 -0
  184. package/dist/entry-storage-drizzle-internals.d.cts +2 -0
  185. package/dist/entry-storage-drizzle-internals.d.mts +2 -0
  186. package/dist/entry-storage-drizzle-internals.mjs +2 -0
  187. package/dist/entry-storage-drizzle.cjs +4 -0
  188. package/dist/entry-storage-drizzle.d.cts +3 -0
  189. package/dist/entry-storage-drizzle.d.mts +3 -0
  190. package/dist/entry-storage-drizzle.mjs +2 -0
  191. package/dist/entry-storage-file.cjs +306 -0
  192. package/dist/entry-storage-file.cjs.map +1 -0
  193. package/dist/entry-storage-file.d.cts +76 -0
  194. package/dist/entry-storage-file.d.mts +76 -0
  195. package/dist/entry-storage-file.mjs +301 -0
  196. package/dist/entry-storage-file.mjs.map +1 -0
  197. package/dist/entry-storage-libsql-internals.cjs +7 -0
  198. package/dist/entry-storage-libsql-internals.d.cts +3 -0
  199. package/dist/entry-storage-libsql-internals.d.mts +3 -0
  200. package/dist/entry-storage-libsql-internals.mjs +3 -0
  201. package/dist/entry-storage-libsql.cjs +3 -0
  202. package/dist/entry-storage-libsql.d.cts +2 -0
  203. package/dist/entry-storage-libsql.d.mts +2 -0
  204. package/dist/entry-storage-libsql.mjs +2 -0
  205. package/dist/entry-storage-memory.cjs +78 -0
  206. package/dist/entry-storage-memory.cjs.map +1 -0
  207. package/dist/entry-storage-memory.d.cts +35 -0
  208. package/dist/entry-storage-memory.d.mts +35 -0
  209. package/dist/entry-storage-memory.mjs +77 -0
  210. package/dist/entry-storage-memory.mjs.map +1 -0
  211. package/dist/entry-storage-mongodb-internals.cjs +5 -0
  212. package/dist/entry-storage-mongodb-internals.d.cts +2 -0
  213. package/dist/entry-storage-mongodb-internals.d.mts +2 -0
  214. package/dist/entry-storage-mongodb-internals.mjs +2 -0
  215. package/dist/entry-storage-mongodb.cjs +3 -0
  216. package/dist/entry-storage-mongodb.d.cts +2 -0
  217. package/dist/entry-storage-mongodb.d.mts +2 -0
  218. package/dist/entry-storage-mongodb.mjs +2 -0
  219. package/dist/entry-storage-postgres-internals.cjs +6 -0
  220. package/dist/entry-storage-postgres-internals.d.cts +2 -0
  221. package/dist/entry-storage-postgres-internals.d.mts +2 -0
  222. package/dist/entry-storage-postgres-internals.mjs +2 -0
  223. package/dist/entry-storage-postgres.cjs +4 -0
  224. package/dist/entry-storage-postgres.d.cts +2 -0
  225. package/dist/entry-storage-postgres.d.mts +2 -0
  226. package/dist/entry-storage-postgres.mjs +2 -0
  227. package/dist/entry-storage-redis-internals.cjs +7 -0
  228. package/dist/entry-storage-redis-internals.d.cts +2 -0
  229. package/dist/entry-storage-redis-internals.d.mts +2 -0
  230. package/dist/entry-storage-redis-internals.mjs +2 -0
  231. package/dist/entry-storage-redis.cjs +4 -0
  232. package/dist/entry-storage-redis.d.cts +2 -0
  233. package/dist/entry-storage-redis.d.mts +2 -0
  234. package/dist/entry-storage-redis.mjs +2 -0
  235. package/dist/entry-storage-sqlite-internals.cjs +7 -0
  236. package/dist/entry-storage-sqlite-internals.d.cts +3 -0
  237. package/dist/entry-storage-sqlite-internals.d.mts +3 -0
  238. package/dist/entry-storage-sqlite-internals.mjs +3 -0
  239. package/dist/entry-storage-sqlite.cjs +3 -0
  240. package/dist/entry-storage-sqlite.d.cts +2 -0
  241. package/dist/entry-storage-sqlite.d.mts +2 -0
  242. package/dist/entry-storage-sqlite.mjs +2 -0
  243. package/dist/entry-storage-testing.cjs +801 -0
  244. package/dist/entry-storage-testing.cjs.map +1 -0
  245. package/dist/entry-storage-testing.d.cts +150 -0
  246. package/dist/entry-storage-testing.d.mts +150 -0
  247. package/dist/entry-storage-testing.mjs +790 -0
  248. package/dist/entry-storage-testing.mjs.map +1 -0
  249. package/dist/entry-storage-unstorage.cjs +78 -0
  250. package/dist/entry-storage-unstorage.cjs.map +1 -0
  251. package/dist/entry-storage-unstorage.d.cts +30 -0
  252. package/dist/entry-storage-unstorage.d.mts +30 -0
  253. package/dist/entry-storage-unstorage.mjs +77 -0
  254. package/dist/entry-storage-unstorage.mjs.map +1 -0
  255. package/dist/entry-storage.cjs +114 -0
  256. package/dist/entry-storage.cjs.map +1 -0
  257. package/dist/entry-storage.d.cts +152 -0
  258. package/dist/entry-storage.d.mts +152 -0
  259. package/dist/entry-storage.mjs +91 -0
  260. package/dist/entry-storage.mjs.map +1 -0
  261. package/dist/entry-testing.cjs +79 -0
  262. package/dist/entry-testing.cjs.map +1 -0
  263. package/dist/entry-testing.d.cts +55 -0
  264. package/dist/entry-testing.d.mts +55 -0
  265. package/dist/entry-testing.mjs +77 -0
  266. package/dist/entry-testing.mjs.map +1 -0
  267. package/dist/entry-tokens.cjs +4 -0
  268. package/dist/entry-tokens.d.cts +85 -0
  269. package/dist/entry-tokens.d.mts +85 -0
  270. package/dist/entry-tokens.mjs +2 -0
  271. package/dist/entry-ui-embed.cjs +131 -0
  272. package/dist/entry-ui-embed.cjs.map +1 -0
  273. package/dist/entry-ui-embed.d.cts +87 -0
  274. package/dist/entry-ui-embed.d.mts +87 -0
  275. package/dist/entry-ui-embed.mjs +127 -0
  276. package/dist/entry-ui-embed.mjs.map +1 -0
  277. package/dist/entry-ui.cjs +795 -0
  278. package/dist/entry-ui.cjs.map +1 -0
  279. package/dist/entry-ui.d.cts +574 -0
  280. package/dist/entry-ui.d.mts +574 -0
  281. package/dist/entry-ui.mjs +731 -0
  282. package/dist/entry-ui.mjs.map +1 -0
  283. package/dist/entry-util.cjs +145 -0
  284. package/dist/entry-util.cjs.map +1 -0
  285. package/dist/entry-util.d.cts +85 -0
  286. package/dist/entry-util.d.mts +85 -0
  287. package/dist/entry-util.mjs +130 -0
  288. package/dist/entry-util.mjs.map +1 -0
  289. package/dist/http-B_rTnLW9.cjs +235 -0
  290. package/dist/http-B_rTnLW9.cjs.map +1 -0
  291. package/dist/http-CxYM7kPT.d.mts +133 -0
  292. package/dist/http-DVdVI6kJ.mjs +164 -0
  293. package/dist/http-DVdVI6kJ.mjs.map +1 -0
  294. package/dist/http-XBVRk8uo.d.cts +133 -0
  295. package/dist/index.cjs +8 -0
  296. package/dist/index.cjs.map +1 -0
  297. package/dist/index.d.cts +6 -0
  298. package/dist/index.d.mts +6 -0
  299. package/dist/index.mjs +7 -0
  300. package/dist/index.mjs.map +1 -0
  301. package/dist/json-CCyzstIm.d.cts +44 -0
  302. package/dist/json-CCyzstIm.d.mts +44 -0
  303. package/dist/json-CM7TwYQ7.cjs +92 -0
  304. package/dist/json-CM7TwYQ7.cjs.map +1 -0
  305. package/dist/json-CmM1M5Kz.mjs +63 -0
  306. package/dist/json-CmM1M5Kz.mjs.map +1 -0
  307. package/dist/keys-Bwubabk0.mjs +73 -0
  308. package/dist/keys-Bwubabk0.mjs.map +1 -0
  309. package/dist/keys-DQrwxDKI.cjs +126 -0
  310. package/dist/keys-DQrwxDKI.cjs.map +1 -0
  311. package/dist/kv-sqlite-B6iTLOx2.d.cts +20 -0
  312. package/dist/kv-sqlite-CHOdIMJ-.cjs +77 -0
  313. package/dist/kv-sqlite-CHOdIMJ-.cjs.map +1 -0
  314. package/dist/kv-sqlite-DIIPfflJ.mjs +66 -0
  315. package/dist/kv-sqlite-DIIPfflJ.mjs.map +1 -0
  316. package/dist/kv-sqlite-Tx4UedJs.d.mts +20 -0
  317. package/dist/libsql-0160BubR.d.mts +65 -0
  318. package/dist/libsql-BZmRZIqt.d.cts +65 -0
  319. package/dist/libsql-CiBfVtbS.cjs +103 -0
  320. package/dist/libsql-CiBfVtbS.cjs.map +1 -0
  321. package/dist/libsql-CkOjQINi.mjs +86 -0
  322. package/dist/libsql-CkOjQINi.mjs.map +1 -0
  323. package/dist/mongodb--Cuj7V_9.cjs +150 -0
  324. package/dist/mongodb--Cuj7V_9.cjs.map +1 -0
  325. package/dist/mongodb-DGtsolQ2.d.cts +61 -0
  326. package/dist/mongodb-JMizy4Wg.mjs +127 -0
  327. package/dist/mongodb-JMizy4Wg.mjs.map +1 -0
  328. package/dist/mongodb-xGEU5Gwz.d.mts +61 -0
  329. package/dist/node-B1Djcwfi.d.cts +57 -0
  330. package/dist/node-B1Djcwfi.d.mts +57 -0
  331. package/dist/node-BYjocCbU.mjs +167 -0
  332. package/dist/node-BYjocCbU.mjs.map +1 -0
  333. package/dist/node-DFFqYRk-.cjs +201 -0
  334. package/dist/node-DFFqYRk-.cjs.map +1 -0
  335. package/dist/none-BEY7Kc_-.mjs +33 -0
  336. package/dist/none-BEY7Kc_-.mjs.map +1 -0
  337. package/dist/none-BoQ6-30P.cjs +33 -0
  338. package/dist/none-BoQ6-30P.cjs.map +1 -0
  339. package/dist/none-CHwVkQL-.cjs +49 -0
  340. package/dist/none-CHwVkQL-.cjs.map +1 -0
  341. package/dist/none-yu3qC47E.mjs +23 -0
  342. package/dist/none-yu3qC47E.mjs.map +1 -0
  343. package/dist/peer-BIjBFzwQ.cjs +56 -0
  344. package/dist/peer-BIjBFzwQ.cjs.map +1 -0
  345. package/dist/peer-CTHMzOdn.mjs +40 -0
  346. package/dist/peer-CTHMzOdn.mjs.map +1 -0
  347. package/dist/portal-container-CJIcau3B.mjs +610 -0
  348. package/dist/portal-container-CJIcau3B.mjs.map +1 -0
  349. package/dist/portal-container-Ca1NxrLE.cjs +774 -0
  350. package/dist/portal-container-Ca1NxrLE.cjs.map +1 -0
  351. package/dist/postgres-BJzxKBk0.d.cts +72 -0
  352. package/dist/postgres-CA8_XcAE.cjs +164 -0
  353. package/dist/postgres-CA8_XcAE.cjs.map +1 -0
  354. package/dist/postgres-RfQMgAsj.d.mts +72 -0
  355. package/dist/postgres-aDiBmNzr.mjs +135 -0
  356. package/dist/postgres-aDiBmNzr.mjs.map +1 -0
  357. package/dist/redis-B2AS4xAQ.cjs +259 -0
  358. package/dist/redis-B2AS4xAQ.cjs.map +1 -0
  359. package/dist/redis-B362ofBw.d.cts +159 -0
  360. package/dist/redis-CahNAVTW.d.mts +159 -0
  361. package/dist/redis-hdoKymfG.mjs +218 -0
  362. package/dist/redis-hdoKymfG.mjs.map +1 -0
  363. package/dist/roles-7JPrQXZa.mjs +46 -0
  364. package/dist/roles-7JPrQXZa.mjs.map +1 -0
  365. package/dist/roles-B_8QqJ3j.cjs +56 -0
  366. package/dist/roles-B_8QqJ3j.cjs.map +1 -0
  367. package/dist/roles-DLISB4T3.d.mts +41 -0
  368. package/dist/roles-DQbbtUPW.d.cts +41 -0
  369. package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
  370. package/dist/scope-css-BN3jf0ly.cjs +315 -0
  371. package/dist/scope-css-BN3jf0ly.cjs.map +1 -0
  372. package/dist/scope-css-BuJfRCsE.mjs +256 -0
  373. package/dist/scope-css-BuJfRCsE.mjs.map +1 -0
  374. package/dist/scoped-BRoE1W1x.cjs +175 -0
  375. package/dist/scoped-BRoE1W1x.cjs.map +1 -0
  376. package/dist/scoped-cFBbotCh.mjs +164 -0
  377. package/dist/scoped-cFBbotCh.mjs.map +1 -0
  378. package/dist/sqlite-B2g1JJz1.d.cts +47 -0
  379. package/dist/sqlite-BIPIlxfj.d.mts +47 -0
  380. package/dist/sqlite-BntoYaXZ.cjs +79 -0
  381. package/dist/sqlite-BntoYaXZ.cjs.map +1 -0
  382. package/dist/sqlite-DYJDcu7p.mjs +62 -0
  383. package/dist/sqlite-DYJDcu7p.mjs.map +1 -0
  384. package/dist/table-BrioFSra.d.cts +11 -0
  385. package/dist/table-BrioFSra.d.mts +11 -0
  386. package/dist/theme-context-DzZ1otaD.d.cts +270 -0
  387. package/dist/theme-context-J65pythD.d.mts +270 -0
  388. package/dist/ui/styles.css +239 -0
  389. package/dist/util-Dnj5T-yw.mjs +39 -0
  390. package/dist/util-Dnj5T-yw.mjs.map +1 -0
  391. package/dist/util-dAnTK9x-.cjs +74 -0
  392. package/dist/util-dAnTK9x-.cjs.map +1 -0
  393. package/dist/validation-B-atP968.mjs +191 -0
  394. package/dist/validation-B-atP968.mjs.map +1 -0
  395. package/dist/validation-BJifGoB2.d.mts +122 -0
  396. package/dist/validation-DLnzBVJr.cjs +258 -0
  397. package/dist/validation-DLnzBVJr.cjs.map +1 -0
  398. package/dist/validation-tfV2qhbD.d.cts +122 -0
  399. package/package.json +715 -4
  400. package/tsconfig/assets.d.ts +21 -0
  401. package/tsconfig/base.json +21 -0
  402. package/tsconfig/react.json +9 -0
@@ -0,0 +1,574 @@
1
+ import { A as createApiClient, C as ApiClientOptions, D as CreateApiClientOptions, E as ApiErrorConstructor, O as FetchLike, S as ApiClient, T as ApiErrorBody, _ as detectHostTheme, a as useResolvedTheme, b as subscribeSystemTheme, c as BootedSpa, d as createShellQueryClient, f as ResolvedTheme, g as createThemeStore, h as ThemeStore, i as ThemeState, j as toQuery, k as QueryValue, l as ShellAppProps, m as ThemeSignalSource, n as ThemeProvider, o as useTheme, p as ThemePref, r as ThemeProviderProps, s as BootSpaOptions, t as ThemeMode, u as bootSpa, v as resolveTheme, w as ApiError, x as systemTheme, y as subscribeHostTheme } from "./theme-context-J65pythD.mjs";
2
+ import * as React$1 from "react";
3
+ import React, { RefObject } from "react";
4
+ import { UseQueryResult } from "@tanstack/react-query";
5
+ import { ClassValue } from "clsx";
6
+
7
+ //#region src/ui/token.d.ts
8
+ /**
9
+ * Portal-token hand-off for the standalone SPA: a host links its customer to
10
+ * `https://app.example.com/panel/#token=…` (the fragment never reaches servers or access logs);
11
+ * `?token=` works too. The token is removed from the address bar so it isn't bookmarked, shared or
12
+ * sent in a `Referer` header.
13
+ *
14
+ * @module
15
+ */
16
+ /**
17
+ * Read a portal token from `#token=` (preferred) or `?token=`, and strip it from the URL through
18
+ * `replace` (e.g. `(url) => history.replaceState(null, "", url)`). Other query and hash parameters
19
+ * are kept. Returns the token, or `null` when the URL carries none (nothing is replaced then).
20
+ */
21
+ declare function takeTokenFromUrl(location: Pick<Location, "hash" | "search" | "pathname">, replace: (url: string) => void): string | null;
22
+ //#endregion
23
+ //#region src/ui/shell.d.ts
24
+ /** The `/config` fields the shell reads. Products extend it with their own. */
25
+ interface ShellConfigBase {
26
+ /** Navbar title (wordmark). */
27
+ title?: string;
28
+ /** Navbar logo image URL (replaces the wordmark). */
29
+ logoUrl?: string;
30
+ /** The panel is read-only: mutating actions are hidden or disabled. */
31
+ readonly?: boolean;
32
+ /** Portal principal (wh/au style). */
33
+ portal?: boolean;
34
+ /** `"portal"` for a portal principal (en style). */
35
+ mode?: string;
36
+ /** Mount path of the panel, from the bootstrap global. */
37
+ basePath?: string;
38
+ }
39
+ /**
40
+ * Read the bootstrap config the panel handler injects as `window[configGlobal]`
41
+ * (`"__WEBHOOKS_CONFIG__"`…). `{}` when it is missing (dev server, embed, SSR).
42
+ */
43
+ declare function readConfigGlobal<C extends object = ShellConfigBase>(configGlobal: string): Partial<C>;
44
+ /** Options for {@link useShellConfig}. */
45
+ interface UseShellConfigOptions<C extends ShellConfigBase> {
46
+ /** Fetch `/config` (the product's API function). */
47
+ getConfig: () => Promise<C>;
48
+ /** The bootstrap config (see {@link readConfigGlobal}); used until `/config` answers. */
49
+ bootstrap?: Partial<C>;
50
+ /** Query key; `["config"]` by default. */
51
+ queryKey?: readonly unknown[];
52
+ /** Stale time in ms; 60 s by default. */
53
+ staleTime?: number;
54
+ /** Render the portal chrome regardless of `/config` (the token embed). */
55
+ forcePortal?: boolean;
56
+ /**
57
+ * The portal/viewer token attached to the API client, if any. A token means portal even before
58
+ * (or when) `/config` fails, so no admin request fires for a token holder.
59
+ */
60
+ token?: string | null;
61
+ /** How a config says "portal"; default: `portal === true` or `mode === "portal"`. */
62
+ isPortal?: (config: Partial<C>) => boolean;
63
+ }
64
+ /** What {@link useShellConfig} returns. */
65
+ interface ShellConfigState<C extends ShellConfigBase> {
66
+ /** `/config` once loaded, the bootstrap before that. */
67
+ config: Partial<C>;
68
+ /**
69
+ * `/config` has answered. Gate the default route and admin queries on it: the bootstrap can't
70
+ * know a portal principal, so rendering before it would fire requests a portal is denied.
71
+ */
72
+ ready: boolean;
73
+ /** `/config` is still loading and there is no bootstrap title to render the chrome with. */
74
+ loading: boolean;
75
+ /** `/config` failed and there is no bootstrap to fall back on: show an error screen. */
76
+ failed: boolean;
77
+ /** Portal chrome (forced, a token, or `/config` says so). */
78
+ portal: boolean;
79
+ /** Read-only panel. */
80
+ readonly: boolean;
81
+ /** `ready && !portal`: the condition for admin-only queries (`enabled: adminReady`). */
82
+ adminReady: boolean;
83
+ /** The underlying query. */
84
+ query: UseQueryResult<C>;
85
+ }
86
+ /**
87
+ * The `/config` query plus the shell's derived state, with both portal-race fixes: admin work waits
88
+ * for `/config` (`ready`/`adminReady`), and a token means portal from the first render.
89
+ */
90
+ declare function useShellConfig<C extends ShellConfigBase>(options: UseShellConfigOptions<C>): ShellConfigState<C>;
91
+ /** Options for {@link useShellNav}. */
92
+ interface UseShellNavOptions {
93
+ /** Query params that survive navigation (the scope, a portal token…): `["tenant", "token"]`. */
94
+ stickyParams?: readonly string[];
95
+ }
96
+ /**
97
+ * In-app navigation for the shell: `go(path, params?)` consults the nav guard (a view with unsaved
98
+ * edits can veto the move), carries the sticky params over, then applies `params` (`""` removes
99
+ * one).
100
+ */
101
+ declare function useShellNav(options?: UseShellNavOptions): (path: string, params?: Record<string, string>) => void;
102
+ /** One navigation tab. */
103
+ interface ShellTab {
104
+ path: string;
105
+ label: React$1.ReactNode;
106
+ /** Whether the tab is active for `location`; default: exact for `/`, prefix otherwise. */
107
+ match?: (location: string) => boolean;
108
+ }
109
+ /** Props for {@link ShellFrame}. */
110
+ interface ShellFrameProps {
111
+ /** Wordmark next to the mark (and the logo's alt text). */
112
+ title: string;
113
+ /** Logo image URL; replaces the mark and the wordmark. */
114
+ logoUrl?: string;
115
+ /** The product mark (e.g. `<BrandMark light={…} />`), shown before the title. */
116
+ brandMark?: React$1.ReactNode;
117
+ /** Brand click handler (e.g. go home); the brand is not a link without it. */
118
+ onBrandClick?: () => void;
119
+ /** Scope switcher (app, project/env, tenant) or a pinned scope label, after the brand. */
120
+ switcher?: React$1.ReactNode;
121
+ /** Show the read-only badge. */
122
+ readonly?: boolean;
123
+ /** Show the portal badge. */
124
+ portal?: boolean;
125
+ /** Portal badge text; `"Portal"` by default. */
126
+ portalLabel?: React$1.ReactNode;
127
+ /** Extra header content, before the badges. */
128
+ headerExtra?: React$1.ReactNode;
129
+ /** Show the theme toggle; defaults to whether the theme provider owns the theme. */
130
+ showThemeToggle?: boolean;
131
+ /** Navigation tabs; the bar is hidden when there is at most one. */
132
+ tabs?: readonly ShellTab[];
133
+ /** Navigate to a tab (usually `useShellNav()`'s `go`). */
134
+ onNavigate?: (path: string) => void;
135
+ /** Render this full-screen instead of the shell (e.g. a config error). */
136
+ fallback?: React$1.ReactNode;
137
+ /** The routed content (`<Switch>…</Switch>`). */
138
+ children?: React$1.ReactNode;
139
+ className?: string;
140
+ }
141
+ /** The shared admin chrome: sticky header (brand, switcher, badges, toggle), tabs and content. */
142
+ declare function ShellFrame({
143
+ title,
144
+ logoUrl,
145
+ brandMark,
146
+ onBrandClick,
147
+ switcher,
148
+ readonly,
149
+ portal,
150
+ portalLabel,
151
+ headerExtra,
152
+ showThemeToggle,
153
+ tabs,
154
+ onNavigate,
155
+ fallback,
156
+ children,
157
+ className
158
+ }: ShellFrameProps): React$1.ReactElement;
159
+ /** The default message for a `/config` failure (pass it as {@link ShellFrameProps.fallback}). */
160
+ declare function ConfigError(): React$1.ReactElement;
161
+ //#endregion
162
+ //#region src/ui/format.d.ts
163
+ /**
164
+ * Pure formatting helpers shared by the admin views — no React, no DOM. Missing or invalid input
165
+ * renders as `"—"`.
166
+ *
167
+ * @module
168
+ */
169
+ /** Options for {@link formatDateTime}. */
170
+ interface FormatDateTimeOptions {
171
+ /** Include seconds (wh/au style). Default `false` (li/en style). */
172
+ seconds?: boolean;
173
+ /** BCP 47 locale; the user's locale by default. */
174
+ locale?: string;
175
+ /** IANA time zone; the user's by default. */
176
+ timeZone?: string;
177
+ }
178
+ /** Absolute date-time, locale-aware (`"Nov 21, 2026, 03:04 PM"`). */
179
+ declare function formatDateTime(input: string | number | Date | undefined | null, options?: FormatDateTimeOptions): string;
180
+ /** Short date, locale-aware (`"Nov 21, 2026"`). */
181
+ declare function formatDate(input: string | number | Date | undefined | null, options?: Omit<FormatDateTimeOptions, "seconds">): string;
182
+ /**
183
+ * Compact relative time: `"just now"`, `"5m ago"`, `"in 2h"`, `"3d ago"`, `"2mo ago"`, `"1y ago"`.
184
+ * Values are floored, so `"1h ago"` means at least one full hour. `now` is injectable for tests.
185
+ */
186
+ declare function relativeTime(input: string | number | Date | undefined | null, now?: number): string;
187
+ /** Truncate with an ellipsis; never longer than `max` characters (including the ellipsis). */
188
+ declare function truncate(text: string, max: number): string;
189
+ /**
190
+ * Up to two initials for an avatar: `"Ada Lovelace"` → `"AL"`, `"ada.lovelace@x.com"` → `"AL"`
191
+ * (the email domain is ignored), `"?"` when nothing is left.
192
+ */
193
+ declare function initials$1(name: string | undefined | null): string;
194
+ /** A whole number with grouping (`12,345`); rounds fractions. */
195
+ declare function formatCount(n: number | undefined | null, locale?: string): string;
196
+ /** A number with grouping and up to `maxFractionDigits` decimals (`1,234.5`). */
197
+ declare function formatNumber(n: number | undefined | null, maxFractionDigits?: number, locale?: string): string;
198
+ /** Compact number for tight spaces (`950`, `1.2K`, `34K`, `1.5M`, `2B`). */
199
+ declare function formatCompact(n: number | undefined | null): string;
200
+ /** A duration in milliseconds: `"87 ms"` below a second, `"1.25 s"` above. */
201
+ declare function formatDurationMs(ms: number | undefined | null): string;
202
+ //#endregion
203
+ //#region src/ui/lib/utils.d.ts
204
+ /** Merge class names with Tailwind-aware de-duplication. */
205
+ declare function cn(...inputs: ClassValue[]): string;
206
+ //#endregion
207
+ //#region src/ui/lib/nav-guard.d.ts
208
+ /**
209
+ * A tiny process-wide navigation guard. A view with unsaved edits registers a
210
+ * blocker; the app's in-app navigation (tabs, project/env switch, opening another
211
+ * flag) calls {@link canLeave} first and aborts if the blocker says no.
212
+ *
213
+ * wouter has no built-in navigation blocker, so this bridges the dirty view to the
214
+ * navigation entry points without prop-drilling. Single active blocker (only one
215
+ * editor is open at a time).
216
+ *
217
+ * @module
218
+ */
219
+ /** Returns `true` if navigation is allowed, `false` to block it (e.g. user cancelled). */
220
+ type Blocker = () => boolean;
221
+ /** Register the current blocker (replaces any previous one). */
222
+ declare function setNavBlocker(blocker: Blocker): void;
223
+ /** Clear `blocker` if it is still the active one (safe from stale cleanups). */
224
+ declare function clearNavBlocker(blocker: Blocker): void;
225
+ /** Consult the active blocker. `true` when navigation may proceed. */
226
+ declare function canLeave(): boolean;
227
+ //#endregion
228
+ //#region src/ui/lib/portal-container.d.ts
229
+ /** Point portals at `ref` (the embed wrapper). Pass `undefined` to reset to the body default. */
230
+ declare function setPortalContainerRef(ref: RefObject<HTMLElement | null> | undefined): void;
231
+ /**
232
+ * The current portal container ref, or `undefined` when none is set (Base UI
233
+ * then defaults to `document.body`). Pass the result to a Base UI
234
+ * `*.Portal container={…}` prop.
235
+ */
236
+ declare function portalContainerRef(): RefObject<HTMLElement | null> | undefined;
237
+ //#endregion
238
+ //#region src/ui/components/primitives.d.ts
239
+ declare function ToggleSwitch({
240
+ checked,
241
+ onCheckedChange,
242
+ disabled,
243
+ "aria-label": ariaLabel
244
+ }: {
245
+ checked: boolean;
246
+ onCheckedChange: (checked: boolean) => void;
247
+ disabled?: boolean;
248
+ "aria-label"?: string;
249
+ }): React$1.JSX.Element;
250
+ interface SegmentOption<T extends string> {
251
+ value: T;
252
+ label: React$1.ReactNode;
253
+ "aria-label"?: string;
254
+ }
255
+ /** A segmented control (Base UI ToggleGroup) for a small set of exclusive options. */
256
+ declare function Segmented<T extends string>({
257
+ value,
258
+ onValueChange,
259
+ options,
260
+ size
261
+ }: {
262
+ value: T;
263
+ onValueChange: (value: T) => void;
264
+ options: SegmentOption<T>[];
265
+ size?: "sm" | "md";
266
+ }): React$1.JSX.Element;
267
+ interface DropdownOption {
268
+ value: string;
269
+ label: string;
270
+ description?: string;
271
+ }
272
+ /** A select (Base UI Select) whose popup portals into the embed wrapper when there is one. */
273
+ declare function Dropdown({
274
+ value,
275
+ onValueChange,
276
+ options,
277
+ placeholder,
278
+ disabled,
279
+ className,
280
+ "aria-label": ariaLabel
281
+ }: {
282
+ value: string;
283
+ onValueChange: (value: string) => void;
284
+ options: DropdownOption[];
285
+ placeholder?: string;
286
+ disabled?: boolean;
287
+ className?: string;
288
+ "aria-label"?: string;
289
+ }): React$1.JSX.Element;
290
+ /**
291
+ * A single-select combobox that lets you pick an existing option **or type a new
292
+ * one** — when the typed text matches nothing, a "Create …" item appears and
293
+ * selecting it calls {@link onCreate}. Used for the project/environment switchers.
294
+ */
295
+ declare function CreatableCombobox({
296
+ value,
297
+ options,
298
+ onSelect,
299
+ onCreate,
300
+ placeholder,
301
+ createLabel,
302
+ disabled,
303
+ className,
304
+ "aria-label": ariaLabel
305
+ }: {
306
+ value: string;
307
+ options: string[];
308
+ onSelect: (value: string) => void;
309
+ onCreate: (value: string) => void;
310
+ placeholder?: string;
311
+ createLabel?: (query: string) => string;
312
+ disabled?: boolean;
313
+ className?: string;
314
+ "aria-label"?: string;
315
+ }): React$1.JSX.Element;
316
+ declare const TextInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
317
+ declare const TextArea: React$1.ForwardRefExoticComponent<React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
318
+ //#endregion
319
+ //#region src/ui/components/ui-bits.d.ts
320
+ type ButtonVariant = "primary" | "secondary" | "ghost" | "danger";
321
+ type ButtonSize = "sm" | "md" | "icon";
322
+ /** Props for {@link Button}. */
323
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
324
+ variant?: ButtonVariant;
325
+ size?: ButtonSize;
326
+ loading?: boolean;
327
+ icon?: React$1.ReactNode;
328
+ }
329
+ /** The shell's button: `primary` / `secondary` / `ghost` / `danger` variants, sizes, a loading spinner. */
330
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
331
+ declare function Badge({
332
+ className,
333
+ children
334
+ }: {
335
+ className?: string;
336
+ children: React$1.ReactNode;
337
+ }): React$1.JSX.Element;
338
+ declare function Avatar({
339
+ initials,
340
+ className
341
+ }: {
342
+ initials: string;
343
+ className?: string;
344
+ }): React$1.JSX.Element;
345
+ declare function Kbd({
346
+ children
347
+ }: {
348
+ children: React$1.ReactNode;
349
+ }): React$1.JSX.Element;
350
+ //#endregion
351
+ //#region src/ui/components/Toast.d.ts
352
+ /** The tone of a toast. */
353
+ type ToastKind = "success" | "error" | "info" | "warning";
354
+ /** One toast in the stack. */
355
+ interface Toast {
356
+ id: string;
357
+ kind: ToastKind;
358
+ message: string;
359
+ detail?: string;
360
+ }
361
+ interface ToastContextValue {
362
+ add: (kind: ToastKind, message: string, detail?: string) => void;
363
+ }
364
+ /** `add(kind, message, detail?)` for the nearest {@link ToastProvider}; throws outside one. */
365
+ declare function useToast(): ToastContextValue;
366
+ /** Hosts the toast stack (inside the embed wrapper, so it gets the scoped styles and theme). */
367
+ declare function ToastProvider({
368
+ children
369
+ }: {
370
+ children: React.ReactNode;
371
+ }): React.JSX.Element;
372
+ //#endregion
373
+ //#region src/ui/components/ThemeToggle.d.ts
374
+ /** Props for {@link ThemeToggle}. */
375
+ interface ThemeToggleProps {
376
+ /** The store to read and write; defaults to the enclosing {@link ThemeProvider}'s. */
377
+ store?: ThemeStore;
378
+ }
379
+ /**
380
+ * The system/light/dark switcher. It persists the choice in the product's theme store (the `store`
381
+ * prop, else the enclosing `ThemeProvider`'s).
382
+ */
383
+ declare function ThemeToggle({
384
+ store: storeProp
385
+ }?: ThemeToggleProps): React.ReactElement;
386
+ //#endregion
387
+ //#region src/ui/components/BrandMark.d.ts
388
+ /** An SVG document as a `data:` URL, so the SPA and the embed render it without serving an asset. */
389
+ declare function svgDataUrl(svg: string): string;
390
+ /** Props for {@link BrandMark}. */
391
+ interface BrandMarkProps {
392
+ /** The mark for light surfaces: SVG markup (e.g. a Vite `?raw` import) or a URL. */
393
+ light: string;
394
+ /** The mark for dark surfaces; defaults to `light`. */
395
+ dark?: string;
396
+ className?: string;
397
+ /** Alt text; empty (decorative) by default, since the title usually sits next to it. */
398
+ alt?: string;
399
+ }
400
+ /**
401
+ * A product's symbol, inlined as a data URL (pass the SVG markup) so it works inside the embed with
402
+ * no asset to serve. Inside a `ThemeProvider` it renders the variant for the resolved theme; outside
403
+ * one it renders both and lets the `dark:` variant pick.
404
+ */
405
+ declare function BrandMark({
406
+ light,
407
+ dark,
408
+ className,
409
+ alt
410
+ }: BrandMarkProps): React$1.ReactElement;
411
+ //#endregion
412
+ //#region src/ui/components/bits.d.ts
413
+ /** A 16px spinning ring in the current text colour. */
414
+ declare function Spinner({
415
+ className
416
+ }: {
417
+ className?: string;
418
+ }): React$1.ReactElement;
419
+ /** A centred spinner with a label, for a view that is still loading. */
420
+ declare function LoadingRow({
421
+ label
422
+ }: {
423
+ label: string;
424
+ }): React$1.ReactElement;
425
+ /** Keys/ids render in the mono face per the design system. */
426
+ declare function Mono({
427
+ className,
428
+ children
429
+ }: {
430
+ className?: string;
431
+ children: React$1.ReactNode;
432
+ }): React$1.ReactElement;
433
+ /** Page wrapper with the shared max width and gutters (`wide` for tables and charts). */
434
+ declare function Page({
435
+ children,
436
+ wide,
437
+ className
438
+ }: {
439
+ children: React$1.ReactNode;
440
+ wide?: boolean;
441
+ className?: string;
442
+ }): React$1.ReactElement;
443
+ /** A view's title row: heading, optional description and right-aligned actions. */
444
+ declare function PageHeader({
445
+ title,
446
+ description,
447
+ actions
448
+ }: {
449
+ title: React$1.ReactNode;
450
+ description?: React$1.ReactNode;
451
+ actions?: React$1.ReactNode;
452
+ }): React$1.ReactElement;
453
+ /** A bordered card with a titled header row and a padded body. */
454
+ declare function SectionCard({
455
+ title,
456
+ description,
457
+ actions,
458
+ children,
459
+ className,
460
+ bodyClassName
461
+ }: {
462
+ title: React$1.ReactNode;
463
+ description?: React$1.ReactNode;
464
+ actions?: React$1.ReactNode;
465
+ children: React$1.ReactNode;
466
+ className?: string;
467
+ bodyClassName?: string;
468
+ }): React$1.ReactElement;
469
+ /** A KPI tile: uppercase label, a large tabular value, an optional hint and icon. */
470
+ declare function StatCard({
471
+ label,
472
+ value,
473
+ hint,
474
+ tone,
475
+ icon
476
+ }: {
477
+ label: string;
478
+ value: React$1.ReactNode;
479
+ hint?: React$1.ReactNode; /** Extra classes for the value (e.g. `"text-success"`). */
480
+ tone?: string;
481
+ icon?: React$1.ReactNode;
482
+ }): React$1.ReactElement;
483
+ /** A centred modal (Base UI Dialog), portaled into the embed wrapper when there is one. */
484
+ declare function ModalDialog({
485
+ open,
486
+ onClose,
487
+ title,
488
+ description,
489
+ children,
490
+ footer,
491
+ wide
492
+ }: {
493
+ open: boolean;
494
+ onClose: () => void;
495
+ title: React$1.ReactNode;
496
+ description?: React$1.ReactNode;
497
+ children: React$1.ReactNode;
498
+ footer?: React$1.ReactNode;
499
+ wide?: boolean;
500
+ }): React$1.ReactElement;
501
+ /** A {@link ModalDialog} with Cancel / confirm buttons (`danger` for destructive actions). */
502
+ declare function ConfirmDialog({
503
+ open,
504
+ onClose,
505
+ onConfirm,
506
+ title,
507
+ confirmLabel,
508
+ danger,
509
+ loading,
510
+ children,
511
+ confirmDisabled
512
+ }: {
513
+ open: boolean;
514
+ onClose: () => void;
515
+ onConfirm: () => void;
516
+ title: React$1.ReactNode;
517
+ confirmLabel: string;
518
+ danger?: boolean;
519
+ loading?: boolean;
520
+ children: React$1.ReactNode;
521
+ confirmDisabled?: boolean;
522
+ }): React$1.ReactElement;
523
+ /** A right-hand sheet for details and long forms. */
524
+ declare function Drawer({
525
+ open,
526
+ onClose,
527
+ title,
528
+ description,
529
+ actions,
530
+ children,
531
+ footer,
532
+ className,
533
+ bodyClassName
534
+ }: {
535
+ open: boolean;
536
+ onClose: () => void;
537
+ title: React$1.ReactNode;
538
+ description?: React$1.ReactNode; /** Header actions, left of the close button. */
539
+ actions?: React$1.ReactNode;
540
+ children: React$1.ReactNode;
541
+ footer?: React$1.ReactNode; /** Extra classes for the sheet (e.g. `"max-w-xl"` to narrow it). */
542
+ className?: string;
543
+ bodyClassName?: string;
544
+ }): React$1.ReactElement;
545
+ /** A dashed placeholder card for empty lists, with an optional icon and call to action. */
546
+ declare function EmptyCard({
547
+ children,
548
+ icon,
549
+ action,
550
+ className
551
+ }: {
552
+ children: React$1.ReactNode;
553
+ icon?: React$1.ReactNode;
554
+ action?: React$1.ReactNode;
555
+ className?: string;
556
+ }): React$1.ReactElement;
557
+ /**
558
+ * An icon button that copies `text` to the clipboard with a brief check-mark. A denied clipboard
559
+ * shows an error toast; `toastMessage` also toasts on success.
560
+ */
561
+ declare function CopyButton({
562
+ text,
563
+ label,
564
+ className,
565
+ toastMessage
566
+ }: {
567
+ text: string; /** Accessible name, e.g. "Copy event id". */
568
+ label?: string;
569
+ className?: string;
570
+ toastMessage?: string;
571
+ }): React$1.ReactElement;
572
+ //#endregion
573
+ export { type ApiClient, type ApiClientOptions, ApiError, type ApiErrorBody, type ApiErrorConstructor, Avatar, Badge, type BootSpaOptions, type BootedSpa, BrandMark, type BrandMarkProps, Button, type ButtonProps, ConfigError, ConfirmDialog, CopyButton, CreatableCombobox, type CreateApiClientOptions, Drawer, Dropdown, EmptyCard, type FetchLike, type FormatDateTimeOptions, Kbd, LoadingRow, ModalDialog, Mono, Page, PageHeader, type QueryValue, type ResolvedTheme, SectionCard, Segmented, type ShellAppProps, type ShellConfigBase, type ShellConfigState, ShellFrame, type ShellFrameProps, type ShellTab, Spinner, StatCard, TextArea, TextInput, type ThemeMode, type ThemePref, ThemeProvider, type ThemeProviderProps, type ThemeSignalSource, type ThemeState, type ThemeStore, ThemeToggle, type ThemeToggleProps, type Toast, type ToastKind, ToastProvider, ToggleSwitch, type UseShellConfigOptions, type UseShellNavOptions, bootSpa, canLeave, clearNavBlocker, cn, createApiClient, createShellQueryClient, createThemeStore, detectHostTheme, formatCompact, formatCount, formatDate, formatDateTime, formatDurationMs, formatNumber, initials$1 as initials, portalContainerRef, readConfigGlobal, relativeTime, resolveTheme, setNavBlocker, setPortalContainerRef, subscribeHostTheme, subscribeSystemTheme, svgDataUrl, systemTheme, takeTokenFromUrl, toQuery, truncate, useResolvedTheme, useShellConfig, useShellNav, useTheme, useToast };
574
+ //# sourceMappingURL=entry-ui.d.mts.map