@axium/server 0.24.1 → 0.26.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 (389) hide show
  1. package/build/client/_app/immutable/assets/account.dAAx7bby.css +1 -0
  2. package/build/client/_app/immutable/assets/account.dAAx7bby.css.br +0 -0
  3. package/build/client/_app/immutable/assets/account.dAAx7bby.css.gz +0 -0
  4. package/build/client/_app/immutable/assets/list.DVGH0BeP.css +1 -0
  5. package/build/client/_app/immutable/assets/list.DVGH0BeP.css.br +0 -0
  6. package/build/client/_app/immutable/assets/list.DVGH0BeP.css.gz +0 -0
  7. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css +1 -0
  8. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.br +2 -0
  9. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.gz +0 -0
  10. package/build/client/_app/immutable/chunks/46qGscyh.js +2 -0
  11. package/build/client/_app/immutable/chunks/46qGscyh.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/46qGscyh.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/B2Vkpbkw.js +2 -0
  14. package/build/client/_app/immutable/chunks/B2Vkpbkw.js.br +0 -0
  15. package/build/client/_app/immutable/chunks/B2Vkpbkw.js.gz +0 -0
  16. package/build/client/_app/immutable/chunks/BKixenYx.js +1 -0
  17. package/build/client/_app/immutable/chunks/BKixenYx.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/BKixenYx.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/BLtAtlP3.js +1 -0
  20. package/build/client/_app/immutable/chunks/BLtAtlP3.js.br +2 -0
  21. package/build/client/_app/immutable/chunks/BLtAtlP3.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/BNTlty5m.js +1 -0
  23. package/build/client/_app/immutable/chunks/BNTlty5m.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/BNTlty5m.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/Beh6Ec8J.js +1 -0
  26. package/build/client/_app/immutable/chunks/Beh6Ec8J.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/Beh6Ec8J.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/BrUe-Qen.js +1 -0
  29. package/build/client/_app/immutable/chunks/BrUe-Qen.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/BrUe-Qen.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/Bs4cD_pX.js +1 -0
  32. package/build/client/_app/immutable/chunks/Bs4cD_pX.js.br +0 -0
  33. package/build/client/_app/immutable/chunks/Bs4cD_pX.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/C62F-tXu.js +1 -0
  35. package/build/client/_app/immutable/chunks/C62F-tXu.js.br +1 -0
  36. package/build/client/_app/immutable/chunks/C62F-tXu.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/CUBtP2L9.js +23 -0
  38. package/build/client/_app/immutable/chunks/CUBtP2L9.js.br +0 -0
  39. package/build/client/_app/immutable/chunks/CUBtP2L9.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/Ch16TNvP.js +1 -0
  41. package/build/client/_app/immutable/chunks/Ch16TNvP.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/Ch16TNvP.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/CoYD6HNm.js +1 -0
  44. package/build/client/_app/immutable/chunks/CoYD6HNm.js.br +0 -0
  45. package/build/client/_app/immutable/chunks/CoYD6HNm.js.gz +0 -0
  46. package/build/client/_app/immutable/chunks/D40Zn55h.js +1 -0
  47. package/build/client/_app/immutable/chunks/D40Zn55h.js.br +0 -0
  48. package/build/client/_app/immutable/chunks/D40Zn55h.js.gz +0 -0
  49. package/build/client/_app/immutable/chunks/DW7-1esk.js +21 -0
  50. package/build/client/_app/immutable/chunks/DW7-1esk.js.br +0 -0
  51. package/build/client/_app/immutable/chunks/DW7-1esk.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/DY4fWHx_.js +1 -0
  53. package/build/client/_app/immutable/chunks/DY4fWHx_.js.br +0 -0
  54. package/build/client/_app/immutable/chunks/DY4fWHx_.js.gz +0 -0
  55. package/build/client/_app/immutable/chunks/DvOBbqVY.js +1 -0
  56. package/build/client/_app/immutable/chunks/DvOBbqVY.js.br +0 -0
  57. package/build/client/_app/immutable/chunks/DvOBbqVY.js.gz +0 -0
  58. package/build/client/_app/immutable/chunks/DwZYWemd.js +1 -0
  59. package/build/client/_app/immutable/chunks/DwZYWemd.js.br +0 -0
  60. package/build/client/_app/immutable/chunks/DwZYWemd.js.gz +0 -0
  61. package/build/client/_app/immutable/chunks/Dy2Ho0cF.js +1 -0
  62. package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.br +0 -0
  63. package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.gz +0 -0
  64. package/build/client/_app/immutable/chunks/FTv0qR3w.js +1 -0
  65. package/build/client/_app/immutable/chunks/FTv0qR3w.js.br +0 -0
  66. package/build/client/_app/immutable/chunks/FTv0qR3w.js.gz +0 -0
  67. package/build/client/_app/immutable/chunks/NeK0YGoY.js +1 -0
  68. package/build/client/_app/immutable/chunks/NeK0YGoY.js.br +0 -0
  69. package/build/client/_app/immutable/chunks/NeK0YGoY.js.gz +0 -0
  70. package/build/client/_app/immutable/chunks/aArGsq9c.js +1 -0
  71. package/build/client/_app/immutable/chunks/aArGsq9c.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/aArGsq9c.js.gz +0 -0
  73. package/build/client/_app/immutable/chunks/lH47zGKU.js +1 -0
  74. package/build/client/_app/immutable/chunks/lH47zGKU.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/lH47zGKU.js.gz +0 -0
  76. package/build/client/_app/immutable/chunks/sMHjBQqw.js +1 -0
  77. package/build/client/_app/immutable/chunks/sMHjBQqw.js.br +0 -0
  78. package/build/client/_app/immutable/chunks/sMHjBQqw.js.gz +0 -0
  79. package/build/client/_app/immutable/chunks/vQfHcJV6.js +2 -0
  80. package/build/client/_app/immutable/chunks/vQfHcJV6.js.br +0 -0
  81. package/build/client/_app/immutable/chunks/vQfHcJV6.js.gz +0 -0
  82. package/build/client/_app/immutable/entry/app.pLVZKpSD.js +2 -0
  83. package/build/client/_app/immutable/entry/app.pLVZKpSD.js.br +0 -0
  84. package/build/client/_app/immutable/entry/app.pLVZKpSD.js.gz +0 -0
  85. package/build/client/_app/immutable/entry/start.CUaVsIrY.js +1 -0
  86. package/build/client/_app/immutable/entry/start.CUaVsIrY.js.br +2 -0
  87. package/build/client/_app/immutable/entry/start.CUaVsIrY.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/0.D7hET-Bq.js +1 -0
  89. package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.gz +0 -0
  91. package/build/client/_app/immutable/nodes/1.BWU-JJm_.js +1 -0
  92. package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.br +2 -0
  93. package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/10.C5N2XBee.js +1 -0
  95. package/build/client/_app/immutable/nodes/10.C5N2XBee.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/10.C5N2XBee.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/11.CerbuSAv.js +1 -0
  98. package/build/client/_app/immutable/nodes/11.CerbuSAv.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/11.CerbuSAv.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/12.Z4B9zS78.js +1 -0
  101. package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.br +0 -0
  102. package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.gz +0 -0
  103. package/build/client/_app/immutable/nodes/13.CuICShck.js +1 -0
  104. package/build/client/_app/immutable/nodes/13.CuICShck.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/13.CuICShck.js.gz +0 -0
  106. package/build/client/_app/immutable/nodes/14.BSEF5oaF.js +1 -0
  107. package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.br +0 -0
  108. package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.gz +0 -0
  109. package/build/client/_app/immutable/nodes/15.D1nsmo6j.js +1 -0
  110. package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.br +0 -0
  111. package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.gz +0 -0
  112. package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js +1 -0
  113. package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.br +0 -0
  114. package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.gz +0 -0
  115. package/build/client/_app/immutable/nodes/3.BJp2JEtW.js +1 -0
  116. package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.br +0 -0
  117. package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js +1 -0
  119. package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.br +0 -0
  120. package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.gz +0 -0
  121. package/build/client/_app/immutable/nodes/5.DgPP9GX3.js +1 -0
  122. package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/6.DKIzms8i.js +2 -0
  125. package/build/client/_app/immutable/nodes/6.DKIzms8i.js.br +0 -0
  126. package/build/client/_app/immutable/nodes/6.DKIzms8i.js.gz +0 -0
  127. package/build/client/_app/immutable/nodes/7.3UigVXV4.js +1 -0
  128. package/build/client/_app/immutable/nodes/7.3UigVXV4.js.br +0 -0
  129. package/build/client/_app/immutable/nodes/7.3UigVXV4.js.gz +0 -0
  130. package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js +1 -0
  131. package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.gz +0 -0
  133. package/build/client/_app/immutable/nodes/9.LBMMe2kc.js +1 -0
  134. package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.br +0 -0
  135. package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.gz +0 -0
  136. package/build/client/_app/version.json +1 -1
  137. package/build/client/_app/version.json.br +0 -0
  138. package/build/client/_app/version.json.gz +0 -0
  139. package/build/client/styles.css +28 -0
  140. package/build/client/styles.css.br +0 -0
  141. package/build/client/styles.css.gz +0 -0
  142. package/build/handler.js +20 -3
  143. package/build/server/chunks/0-CNbALTKz.js +9 -0
  144. package/build/server/chunks/0-CNbALTKz.js.map +1 -0
  145. package/build/server/chunks/1-Dgxy393u.js +9 -0
  146. package/build/server/chunks/1-Dgxy393u.js.map +1 -0
  147. package/build/server/chunks/10-DovmbqKa.js +14 -0
  148. package/build/server/chunks/10-DovmbqKa.js.map +1 -0
  149. package/build/server/chunks/11-CRK_ubcl.js +14 -0
  150. package/build/server/chunks/11-CRK_ubcl.js.map +1 -0
  151. package/build/server/chunks/12-SbQlwMfe.js +9 -0
  152. package/build/server/chunks/12-SbQlwMfe.js.map +1 -0
  153. package/build/server/chunks/13-CbniIW7F.js +14 -0
  154. package/build/server/chunks/13-CbniIW7F.js.map +1 -0
  155. package/build/server/chunks/14-D9Vb_8Yx.js +9 -0
  156. package/build/server/chunks/14-D9Vb_8Yx.js.map +1 -0
  157. package/build/server/chunks/15-D-75Hdef.js +9 -0
  158. package/build/server/chunks/15-D-75Hdef.js.map +1 -0
  159. package/build/server/chunks/2-57exN8ae.js +14 -0
  160. package/build/server/chunks/2-57exN8ae.js.map +1 -0
  161. package/build/server/chunks/3-DNQft-pY.js +9 -0
  162. package/build/server/chunks/{2-CXlrhpR6.js.map → 3-DNQft-pY.js.map} +1 -1
  163. package/build/server/chunks/4-D9Bwp-f8.js +14 -0
  164. package/build/server/chunks/4-D9Bwp-f8.js.map +1 -0
  165. package/build/server/chunks/5-COEQwZNP.js +14 -0
  166. package/build/server/chunks/5-COEQwZNP.js.map +1 -0
  167. package/build/server/chunks/6-RT4yiDcP.js +14 -0
  168. package/build/server/chunks/6-RT4yiDcP.js.map +1 -0
  169. package/build/server/chunks/7-CVqF_r5D.js +14 -0
  170. package/build/server/chunks/7-CVqF_r5D.js.map +1 -0
  171. package/build/server/chunks/8-C5SO-sVH.js +14 -0
  172. package/build/server/chunks/8-C5SO-sVH.js.map +1 -0
  173. package/build/server/chunks/9-DoCOKtY-.js +14 -0
  174. package/build/server/chunks/9-DoCOKtY-.js.map +1 -0
  175. package/build/server/chunks/FormDialog-ZCY0chY1.js +102 -0
  176. package/build/server/chunks/FormDialog-ZCY0chY1.js.map +1 -0
  177. package/build/server/chunks/Icon-BVo9qbDf.js +30 -0
  178. package/build/server/chunks/Icon-BVo9qbDf.js.map +1 -0
  179. package/build/server/chunks/Logout-CmBZgu0j.js +46 -0
  180. package/build/server/chunks/Logout-CmBZgu0j.js.map +1 -0
  181. package/build/server/chunks/_layout.svelte-DuS006VZ.js +33 -0
  182. package/build/server/chunks/_layout.svelte-DuS006VZ.js.map +1 -0
  183. package/build/server/chunks/_page.svelte-BFVobcI7.js +14 -0
  184. package/build/server/chunks/_page.svelte-BFVobcI7.js.map +1 -0
  185. package/build/server/chunks/_page.svelte-B_cvhWJS.js +66 -0
  186. package/build/server/chunks/_page.svelte-B_cvhWJS.js.map +1 -0
  187. package/build/server/chunks/_page.svelte-BriaBR9l.js +28 -0
  188. package/build/server/chunks/_page.svelte-BriaBR9l.js.map +1 -0
  189. package/build/server/chunks/_page.svelte-BtQQzT7H.js +72 -0
  190. package/build/server/chunks/_page.svelte-BtQQzT7H.js.map +1 -0
  191. package/build/server/chunks/_page.svelte-C8D3c3yB.js +64 -0
  192. package/build/server/chunks/_page.svelte-C8D3c3yB.js.map +1 -0
  193. package/build/server/chunks/_page.svelte-CVSb9eHQ.js +24 -0
  194. package/build/server/chunks/_page.svelte-CVSb9eHQ.js.map +1 -0
  195. package/build/server/chunks/_page.svelte-CwRjZqL7.js +107 -0
  196. package/build/server/chunks/_page.svelte-CwRjZqL7.js.map +1 -0
  197. package/build/server/chunks/_page.svelte-D9A9RYjx.js +233 -0
  198. package/build/server/chunks/_page.svelte-D9A9RYjx.js.map +1 -0
  199. package/build/server/chunks/_page.svelte-DGhwqWMM.js +34 -0
  200. package/build/server/chunks/_page.svelte-DGhwqWMM.js.map +1 -0
  201. package/build/server/chunks/_page.svelte-DTvnX95_.js +75 -0
  202. package/build/server/chunks/_page.svelte-DTvnX95_.js.map +1 -0
  203. package/build/server/chunks/_page.svelte-DUfwpXfC.js +122 -0
  204. package/build/server/chunks/_page.svelte-DUfwpXfC.js.map +1 -0
  205. package/build/server/chunks/_page.svelte-DxDoD3rZ.js +37 -0
  206. package/build/server/chunks/_page.svelte-DxDoD3rZ.js.map +1 -0
  207. package/build/server/chunks/_page.svelte-VDBvShZ8.js +6 -0
  208. package/build/server/chunks/_page.svelte-VDBvShZ8.js.map +1 -0
  209. package/build/server/chunks/account-Bf_llRe2.js +446 -0
  210. package/build/server/chunks/account-Bf_llRe2.js.map +1 -0
  211. package/build/server/chunks/auth_redirect-olBYiIF2.js +24 -0
  212. package/build/server/chunks/auth_redirect-olBYiIF2.js.map +1 -0
  213. package/build/server/chunks/color-K_MR7m8s.js +14 -0
  214. package/build/server/chunks/color-K_MR7m8s.js.map +1 -0
  215. package/build/server/chunks/context-R2425nfV.js +64 -0
  216. package/build/server/chunks/context-R2425nfV.js.map +1 -0
  217. package/build/server/chunks/{error.svelte-DNQXZmIO.js → error.svelte-CkSCwrMJ.js} +7 -6
  218. package/build/server/chunks/error.svelte-CkSCwrMJ.js.map +1 -0
  219. package/build/server/chunks/index-CIEcmmdN.js +890 -0
  220. package/build/server/chunks/index-CIEcmmdN.js.map +1 -0
  221. package/build/server/chunks/{index-CvHf_GW2.js → index-Tt4zVDIZ.js} +843 -438
  222. package/build/server/chunks/index-Tt4zVDIZ.js.map +1 -0
  223. package/build/server/chunks/layout.svelte-UxsTmhKc.js +8 -0
  224. package/build/server/chunks/layout.svelte-UxsTmhKc.js.map +1 -0
  225. package/build/server/chunks/{string-DLbvtT1R.js → numbers-DL8C9q4W.js} +1 -71
  226. package/build/server/chunks/numbers-DL8C9q4W.js.map +1 -0
  227. package/build/server/chunks/{FormDialog-CB-2YGWi.js → user2-CRfK67II.js} +12 -206
  228. package/build/server/chunks/user2-CRfK67II.js.map +1 -0
  229. package/build/server/chunks/utils-h74ns7K6.js.map +1 -1
  230. package/build/server/index.js +2304 -1140
  231. package/build/server/index.js.map +1 -1
  232. package/build/server/manifest.js +78 -13
  233. package/build/server/manifest.js.map +1 -1
  234. package/dist/acl.d.ts +1 -2
  235. package/dist/acl.js +1 -1
  236. package/dist/api/acl.js +4 -4
  237. package/dist/api/admin.d.ts +1 -0
  238. package/dist/api/admin.js +152 -0
  239. package/dist/api/index.d.ts +2 -0
  240. package/dist/api/index.js +2 -0
  241. package/dist/api/metadata.js +5 -5
  242. package/dist/api/passkeys.js +10 -10
  243. package/dist/api/register.js +4 -4
  244. package/dist/api/session.js +5 -5
  245. package/dist/api/users.js +52 -49
  246. package/dist/audit.d.ts +8 -39
  247. package/dist/audit.js +13 -16
  248. package/dist/auth.d.ts +4 -11
  249. package/dist/auth.js +4 -4
  250. package/dist/cli.js +515 -559
  251. package/dist/config.d.ts +26 -16
  252. package/dist/config.js +65 -36
  253. package/dist/database.d.ts +3 -4
  254. package/dist/database.js +19 -18
  255. package/dist/internal_requests.d.ts +3 -0
  256. package/dist/internal_requests.js +119 -0
  257. package/dist/io.d.ts +0 -49
  258. package/dist/io.js +23 -171
  259. package/dist/linking.d.ts +0 -1
  260. package/dist/linking.js +5 -8
  261. package/dist/requests.d.ts +10 -6
  262. package/dist/requests.js +17 -15
  263. package/dist/routes.d.ts +6 -10
  264. package/dist/routes.js +7 -8
  265. package/dist/serve.d.ts +7 -2
  266. package/dist/serve.js +170 -13
  267. package/dist/state.js +2 -1
  268. package/package.json +8 -7
  269. package/routes/account/+page.svelte +5 -109
  270. package/routes/admin/+layout.svelte +56 -0
  271. package/routes/admin/+layout.ts +31 -0
  272. package/routes/admin/+page.svelte +39 -0
  273. package/routes/admin/+page.ts +7 -0
  274. package/routes/admin/audit/+page.svelte +158 -0
  275. package/routes/admin/audit/+page.ts +22 -0
  276. package/routes/admin/audit/[id]/+page.svelte +43 -0
  277. package/routes/admin/audit/[id]/+page.ts +9 -0
  278. package/routes/admin/audit/styles.css +31 -0
  279. package/routes/admin/config/+page.svelte +28 -0
  280. package/routes/admin/config/+page.ts +9 -0
  281. package/routes/admin/plugins/+page.svelte +23 -0
  282. package/routes/admin/plugins/+page.ts +7 -0
  283. package/routes/admin/users/+page.svelte +60 -0
  284. package/routes/admin/users/+page.ts +9 -0
  285. package/routes/admin/users/[id]/+page.svelte +108 -0
  286. package/routes/admin/users/[id]/+page.ts +17 -0
  287. package/routes/login/client/+page.svelte +72 -0
  288. package/routes/login/client/+page.ts +27 -0
  289. package/routes/tsconfig.json +1 -1
  290. package/svelte.config.js +4 -10
  291. package/{web/template.html → template.html} +1 -1
  292. package/{web/tsconfig.json → web.tsconfig.json} +2 -2
  293. package/build/client/_app/immutable/chunks/B1E1cVbi.js +0 -1
  294. package/build/client/_app/immutable/chunks/B1E1cVbi.js.br +0 -0
  295. package/build/client/_app/immutable/chunks/B1E1cVbi.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/CIywFg5g.js +0 -3
  297. package/build/client/_app/immutable/chunks/CIywFg5g.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/CIywFg5g.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/D3hk2v8y.js +0 -1
  300. package/build/client/_app/immutable/chunks/D3hk2v8y.js.br +0 -2
  301. package/build/client/_app/immutable/chunks/D3hk2v8y.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/D4Bce_hb.js +0 -1
  303. package/build/client/_app/immutable/chunks/D4Bce_hb.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/D4Bce_hb.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/D9TfJrfD.js +0 -1
  306. package/build/client/_app/immutable/chunks/D9TfJrfD.js.br +0 -0
  307. package/build/client/_app/immutable/chunks/D9TfJrfD.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/DJeR1n-B.js +0 -51
  309. package/build/client/_app/immutable/chunks/DJeR1n-B.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/DJeR1n-B.js.gz +0 -0
  311. package/build/client/_app/immutable/chunks/DsnmJJEf.js +0 -1
  312. package/build/client/_app/immutable/chunks/DsnmJJEf.js.br +0 -2
  313. package/build/client/_app/immutable/chunks/DsnmJJEf.js.gz +0 -0
  314. package/build/client/_app/immutable/chunks/Dy1O3iBu.js +0 -2
  315. package/build/client/_app/immutable/chunks/Dy1O3iBu.js.br +0 -0
  316. package/build/client/_app/immutable/chunks/Dy1O3iBu.js.gz +0 -0
  317. package/build/client/_app/immutable/chunks/pba7IodQ.js +0 -1
  318. package/build/client/_app/immutable/chunks/pba7IodQ.js.br +0 -0
  319. package/build/client/_app/immutable/chunks/pba7IodQ.js.gz +0 -0
  320. package/build/client/_app/immutable/entry/app.ChtScU8h.js +0 -2
  321. package/build/client/_app/immutable/entry/app.ChtScU8h.js.br +0 -0
  322. package/build/client/_app/immutable/entry/app.ChtScU8h.js.gz +0 -0
  323. package/build/client/_app/immutable/entry/start.DdjgBKiR.js +0 -1
  324. package/build/client/_app/immutable/entry/start.DdjgBKiR.js.br +0 -2
  325. package/build/client/_app/immutable/entry/start.DdjgBKiR.js.gz +0 -0
  326. package/build/client/_app/immutable/nodes/0.DlE8ZTIF.js +0 -1
  327. package/build/client/_app/immutable/nodes/0.DlE8ZTIF.js.br +0 -0
  328. package/build/client/_app/immutable/nodes/0.DlE8ZTIF.js.gz +0 -0
  329. package/build/client/_app/immutable/nodes/1.DRjfV_5C.js +0 -1
  330. package/build/client/_app/immutable/nodes/1.DRjfV_5C.js.br +0 -0
  331. package/build/client/_app/immutable/nodes/1.DRjfV_5C.js.gz +0 -0
  332. package/build/client/_app/immutable/nodes/2.CvEpuMc7.js +0 -1
  333. package/build/client/_app/immutable/nodes/2.CvEpuMc7.js.br +0 -0
  334. package/build/client/_app/immutable/nodes/2.CvEpuMc7.js.gz +0 -0
  335. package/build/client/_app/immutable/nodes/3.CVudd8x2.js +0 -7
  336. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.br +0 -0
  337. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.gz +0 -0
  338. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js +0 -1
  339. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.br +0 -0
  340. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.gz +0 -0
  341. package/build/client/_app/immutable/nodes/5.CGoBaVII.js +0 -1
  342. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.br +0 -0
  343. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.gz +0 -0
  344. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js +0 -1
  345. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.br +0 -0
  346. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.gz +0 -0
  347. package/build/server/chunks/0-DgHTujtC.js +0 -9
  348. package/build/server/chunks/0-DgHTujtC.js.map +0 -1
  349. package/build/server/chunks/1-B3zVLOO8.js +0 -9
  350. package/build/server/chunks/1-B3zVLOO8.js.map +0 -1
  351. package/build/server/chunks/2-CXlrhpR6.js +0 -9
  352. package/build/server/chunks/3-CGT4Ugys.js +0 -13
  353. package/build/server/chunks/3-CGT4Ugys.js.map +0 -1
  354. package/build/server/chunks/4-BscEiwUk.js +0 -9
  355. package/build/server/chunks/4-BscEiwUk.js.map +0 -1
  356. package/build/server/chunks/5-H0ePIJBE.js +0 -9
  357. package/build/server/chunks/5-H0ePIJBE.js.map +0 -1
  358. package/build/server/chunks/6-BrPpcagX.js +0 -9
  359. package/build/server/chunks/6-BrPpcagX.js.map +0 -1
  360. package/build/server/chunks/FormDialog-CB-2YGWi.js.map +0 -1
  361. package/build/server/chunks/Logout-LKOt-AST.js +0 -45
  362. package/build/server/chunks/Logout-LKOt-AST.js.map +0 -1
  363. package/build/server/chunks/_page.svelte-B1LK5J87.js +0 -11
  364. package/build/server/chunks/_page.svelte-B1LK5J87.js.map +0 -1
  365. package/build/server/chunks/_page.svelte-CMtkwvbP.js +0 -68
  366. package/build/server/chunks/_page.svelte-CMtkwvbP.js.map +0 -1
  367. package/build/server/chunks/_page.svelte-CbI2KxeA.js +0 -62
  368. package/build/server/chunks/_page.svelte-CbI2KxeA.js.map +0 -1
  369. package/build/server/chunks/_page.svelte-D1_WJoyP.js +0 -6
  370. package/build/server/chunks/_page.svelte-D1_WJoyP.js.map +0 -1
  371. package/build/server/chunks/_page.svelte-d01Hl2Ia.js +0 -639
  372. package/build/server/chunks/_page.svelte-d01Hl2Ia.js.map +0 -1
  373. package/build/server/chunks/error.svelte-DNQXZmIO.js.map +0 -1
  374. package/build/server/chunks/hooks.server-CQhG9POo.js +0 -17298
  375. package/build/server/chunks/hooks.server-CQhG9POo.js.map +0 -1
  376. package/build/server/chunks/index-CvHf_GW2.js.map +0 -1
  377. package/build/server/chunks/index-RTKpMYZ1.js +0 -397
  378. package/build/server/chunks/index-RTKpMYZ1.js.map +0 -1
  379. package/build/server/chunks/layout.svelte-BSvrn-4a.js +0 -8
  380. package/build/server/chunks/layout.svelte-BSvrn-4a.js.map +0 -1
  381. package/build/server/chunks/string-DLbvtT1R.js.map +0 -1
  382. package/dist/apps.d.ts +0 -6
  383. package/dist/apps.js +0 -6
  384. package/dist/plugins.d.ts +0 -49
  385. package/dist/plugins.js +0 -80
  386. package/dist/sveltekit.d.ts +0 -8
  387. package/dist/sveltekit.js +0 -60
  388. package/web/hooks.server.ts +0 -4
  389. /package/{axiumd.service → axium.service} +0 -0
@@ -0,0 +1,34 @@
1
+ import { F as head } from './index-CIEcmmdN.js';
2
+ import { e as escape_html } from './context-R2425nfV.js';
3
+
4
+ const $$css = {
5
+ hash: "svelte-5y2x7p",
6
+ code: "div.center.svelte-5y2x7p {width:fit-content;height:fit-content;top:50%;left:50%;transform:translate(-50%, -50%);position:fixed;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2em;border-radius:1em;}#local-login.svelte-5y2x7p {background-color:var(--bg-menu);border:1px solid var(--border-accent);}"
7
+ };
8
+ function _page($$renderer, $$props) {
9
+ $$renderer.global.css.add($$css);
10
+ $$renderer.component(($$renderer2) => {
11
+ const { data } = $$props;
12
+ let error = data.error;
13
+ head("5y2x7p", $$renderer2, ($$renderer3) => {
14
+ $$renderer3.title(($$renderer4) => {
15
+ $$renderer4.push(`<title>Local Client Login</title>`);
16
+ });
17
+ });
18
+ if (error) {
19
+ $$renderer2.push("<!--[-->");
20
+ $$renderer2.push(`<div class="error center svelte-5y2x7p">${escape_html(error)}</div>`);
21
+ } else {
22
+ $$renderer2.push("<!--[!-->");
23
+ {
24
+ $$renderer2.push("<!--[!-->");
25
+ $$renderer2.push(`<div id="local-login" class="center svelte-5y2x7p"><h2>Local Client Login</h2> <p>Are you sure you want to log in to this local client?</p> <div><button>Cancel</button> <button class="danger">Authorize</button></div></div>`);
26
+ }
27
+ $$renderer2.push(`<!--]-->`);
28
+ }
29
+ $$renderer2.push(`<!--]-->`);
30
+ });
31
+ }
32
+
33
+ export { _page as default };
34
+ //# sourceMappingURL=_page.svelte-DGhwqWMM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-DGhwqWMM.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/login/client/_page.svelte.js"],"sourcesContent":["import { F as head } from \"../../../../chunks/index.js\";\nimport \"@simplewebauthn/browser\";\nimport { e as escape_html } from \"../../../../chunks/context.js\";\nconst $$css = {\n hash: \"svelte-5y2x7p\",\n code: \"div.center.svelte-5y2x7p {width:fit-content;height:fit-content;top:50%;left:50%;transform:translate(-50%, -50%);position:fixed;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2em;border-radius:1em;}#local-login.svelte-5y2x7p {background-color:var(--bg-menu);border:1px solid var(--border-accent);}\"\n};\nfunction _page($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n let error = data.error;\n head(\"5y2x7p\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Local Client Login</title>`);\n });\n });\n if (error) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<div class=\"error center svelte-5y2x7p\">${escape_html(error)}</div>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<div id=\"local-login\" class=\"center svelte-5y2x7p\"><h2>Local Client Login</h2> <p>Are you sure you want to log in to this local client?</p> <div><button>Cancel</button> <button class=\"danger\">Authorize</button></div></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;AAGA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO;AAC5B,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK;AAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC,WAAW,KAAK;AACjD,MAAM,WAAW,CAAC,KAAK,CAAC,CAAC,WAAW,KAAK;AACzC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,iCAAiC,CAAC,CAAC;AAC7D,MAAM,CAAC,CAAC;AACR,IAAI,CAAC,CAAC;AACN,IAAI,IAAI,KAAK,EAAE;AACf,MAAM,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;AAClC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,wCAAwC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7F,IAAI,CAAC,MAAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,MAAM;AACN,QAAQ,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACrC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,8NAA8N,CAAC,CAAC;AAC1P,MAAM;AACN,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAClC,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAChC,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -0,0 +1,75 @@
1
+ import { F as head, N as bind_props } from './index-CIEcmmdN.js';
2
+ import { e as loginByEmail } from './user2-CRfK67II.js';
3
+ import { F as FormDialog } from './FormDialog-ZCY0chY1.js';
4
+ import { r as redirect } from './auth_redirect-olBYiIF2.js';
5
+ import './context-R2425nfV.js';
6
+ import './index-Tt4zVDIZ.js';
7
+ import './color-K_MR7m8s.js';
8
+
9
+ const $$css = {
10
+ hash: "svelte-1mdh4kt",
11
+ code: ".footer.svelte-1mdh4kt {margin-bottom:1em;text-align:center;background:none;}"
12
+ };
13
+ function Login($$renderer, $$props) {
14
+ $$renderer.global.css.add($$css);
15
+ $$renderer.component(($$renderer2) => {
16
+ let { dialog = void 0, fullPage = false } = $$props;
17
+ async function submit(data) {
18
+ if (typeof data.email != "string") {
19
+ throw "Tried to upload a file for an email. Huh?!";
20
+ }
21
+ await loginByEmail(data.email);
22
+ if (fullPage && redirect) location.href = redirect;
23
+ }
24
+ let $$settled = true;
25
+ let $$inner_renderer;
26
+ function $$render_inner($$renderer3) {
27
+ {
28
+ let footer = function($$renderer4) {
29
+ if (fullPage) {
30
+ $$renderer4.push("<!--[-->");
31
+ $$renderer4.push(`<div class="footer svelte-1mdh4kt"><a href="/register">Register instead</a></div>`);
32
+ } else {
33
+ $$renderer4.push("<!--[!-->");
34
+ }
35
+ $$renderer4.push(`<!--]-->`);
36
+ };
37
+ FormDialog($$renderer3, {
38
+ submitText: "Login",
39
+ submit,
40
+ pageMode: fullPage,
41
+ get dialog() {
42
+ return dialog;
43
+ },
44
+ set dialog($$value) {
45
+ dialog = $$value;
46
+ $$settled = false;
47
+ },
48
+ footer,
49
+ children: ($$renderer4) => {
50
+ $$renderer4.push(`<div><label for="email">Email</label> <input name="email" type="email" required/></div>`);
51
+ },
52
+ $$slots: { footer: true, default: true }
53
+ });
54
+ }
55
+ }
56
+ do {
57
+ $$settled = true;
58
+ $$inner_renderer = $$renderer2.copy();
59
+ $$render_inner($$inner_renderer);
60
+ } while (!$$settled);
61
+ $$renderer2.subsume($$inner_renderer);
62
+ bind_props($$props, { dialog });
63
+ });
64
+ }
65
+ function _page($$renderer) {
66
+ head("1bc9zjt", $$renderer, ($$renderer2) => {
67
+ $$renderer2.title(($$renderer3) => {
68
+ $$renderer3.push(`<title>Login</title>`);
69
+ });
70
+ });
71
+ Login($$renderer, { fullPage: true });
72
+ }
73
+
74
+ export { _page as default };
75
+ //# sourceMappingURL=_page.svelte-DTvnX95_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-DTvnX95_.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js"],"sourcesContent":["import { O as bind_props, F as head } from \"../../../chunks/index.js\";\nimport { i as loginByEmail } from \"../../../chunks/user2.js\";\nimport { F as FormDialog } from \"../../../chunks/FormDialog.js\";\nimport { r as redirect } from \"../../../chunks/auth_redirect.js\";\nconst $$css = {\n hash: \"svelte-1mdh4kt\",\n code: \".footer.svelte-1mdh4kt {margin-bottom:1em;text-align:center;background:none;}\"\n};\nfunction Login($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n let { dialog = void 0, fullPage = false } = $$props;\n async function submit(data) {\n if (typeof data.email != \"string\") {\n throw \"Tried to upload a file for an email. Huh?!\";\n }\n await loginByEmail(data.email);\n if (fullPage && redirect) location.href = redirect;\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n {\n let footer = function($$renderer4) {\n if (fullPage) {\n $$renderer4.push(\"<!--[-->\");\n $$renderer4.push(`<div class=\"footer svelte-1mdh4kt\"><a href=\"/register\">Register instead</a></div>`);\n } else {\n $$renderer4.push(\"<!--[!-->\");\n }\n $$renderer4.push(`<!--]-->`);\n };\n FormDialog($$renderer3, {\n submitText: \"Login\",\n submit,\n pageMode: fullPage,\n get dialog() {\n return dialog;\n },\n set dialog($$value) {\n dialog = $$value;\n $$settled = false;\n },\n footer,\n children: ($$renderer4) => {\n $$renderer4.push(`<div><label for=\"email\">Email</label> <input name=\"email\" type=\"email\" required/></div>`);\n },\n $$slots: { footer: true, default: true }\n });\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { dialog });\n });\n}\nfunction _page($$renderer) {\n head(\"1bc9zjt\", $$renderer, ($$renderer2) => {\n $$renderer2.title(($$renderer3) => {\n $$renderer3.push(`<title>Login</title>`);\n });\n });\n Login($$renderer, { fullPage: true });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;AAIA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WA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,YAAY,WAAW,CAAC,IAAI,CAAC,CAAC,uFAAuF,CAAC,CAAC;AACvH,UAAU,CAAC;AACX,UAAU,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI;AAChD,SAAS,CAAC;AACV,MAAM;AACN,IAAI;AACJ,IAAI,GAAG;AACP,MAAM,SAAS,GAAG,IAAI;AACtB,MAAM,gBAAgB,GAAG,WAAW,CAAC,IAAI,EAAE;AAC3C,MAAM,cAAc,CAAC,gBAAgB,CAAC;AACtC,IAAI,CAAC,QAAQ,CAAC,SAAS;AACvB,IAAI,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACzC,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC;AACnC,EAAE,CAAC,CAAC;AACJ;AACA,SAAS,KAAK,CAAC,UAAU,EAAE;AAC3B,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,CAAC,WAAW,KAAK;AAC/C,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC,WAAW,KAAK;AACvC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAC9C,IAAI,CAAC,CAAC;AACN,EAAE,CAAC,CAAC;AACJ,EAAE,KAAK,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACvC;;;;"}
@@ -0,0 +1,122 @@
1
+ import { F as head, w as ensure_array_like, x as attr, y as attr_class, G as stringify } from './index-CIEcmmdN.js';
2
+ import { c as capitalize, S as Severity, s as severityNames } from './index-Tt4zVDIZ.js';
3
+ import { I as Icon } from './Icon-BVo9qbDf.js';
4
+ import './numbers-DL8C9q4W.js';
5
+ import './auth_redirect-olBYiIF2.js';
6
+ import { e as escape_html } from './context-R2425nfV.js';
7
+ import './color-K_MR7m8s.js';
8
+ import './user2-CRfK67II.js';
9
+
10
+ const $$css = {
11
+ hash: "svelte-1h51ffz",
12
+ code: ".list-item.svelte-1h51ffz {grid-template-columns:15em 10em 10em 1fr 1fr 10em repeat(1, 2em);}#filter.svelte-1h51ffz {background-color:var(--bg-menu);padding:1em;border-radius:0.5em;display:grid;grid-template-columns:repeat(2, 1fr);gap:0.25em;width:fit-content;h4:where(.svelte-1h51ffz) {grid-column:1 / span 2;}}"
13
+ };
14
+ function _page($$renderer, $$props) {
15
+ $$renderer.global.css.add($$css);
16
+ $$renderer.component(($$renderer2) => {
17
+ const { data } = $$props;
18
+ head("1h51ffz", $$renderer2, ($$renderer3) => {
19
+ $$renderer3.title(($$renderer4) => {
20
+ $$renderer4.push(`<title>Admin — Audit Log</title>`);
21
+ });
22
+ });
23
+ $$renderer2.push(`<h2>Audit Log</h2> `);
24
+ if (data.filterError) {
25
+ $$renderer2.push("<!--[-->");
26
+ $$renderer2.push(`<div class="error"><strong>Invalid Filter:</strong> <!--[-->`);
27
+ const each_array = ensure_array_like(data.filterError.split("\n"));
28
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
29
+ let line = each_array[$$index];
30
+ $$renderer2.push(`<p>${escape_html(line)}</p>`);
31
+ }
32
+ $$renderer2.push(`<!--]--></div>`);
33
+ } else {
34
+ $$renderer2.push("<!--[!-->");
35
+ }
36
+ $$renderer2.push(`<!--]--> <form id="filter" method="dialog" class="svelte-1h51ffz"><h4 class="svelte-1h51ffz">Filters</h4> <span>Minimum Severity:</span> `);
37
+ $$renderer2.select({ name: "severity", value: data.filter.severity }, ($$renderer3) => {
38
+ $$renderer3.push(`<!--[-->`);
39
+ const each_array_1 = ensure_array_like(severityNames);
40
+ for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
41
+ let value = each_array_1[$$index_1];
42
+ $$renderer3.option({ value, selected: value == "info" }, ($$renderer4) => {
43
+ $$renderer4.push(`${escape_html(capitalize(value))}`);
44
+ });
45
+ }
46
+ $$renderer3.push(`<!--]-->`);
47
+ });
48
+ $$renderer2.push(` <span>Since:</span> <input type="date" name="since"${attr("value", data.filter.since)}/> <span>Until:</span> <input type="date" name="until"${attr("value", data.filter.until)}/> <span>Tags:</span> <input type="text" name="tags"${attr("value", data.filter.tags)}/> <span>Event Name:</span> `);
49
+ if (data.configured) {
50
+ $$renderer2.push("<!--[-->");
51
+ $$renderer2.push(`<select name="event">`);
52
+ $$renderer2.option({ value: "" }, ($$renderer3) => {
53
+ $$renderer3.push(`Any`);
54
+ });
55
+ $$renderer2.push(`<!--[-->`);
56
+ const each_array_2 = ensure_array_like(data.configured.name);
57
+ for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
58
+ let name = each_array_2[$$index_2];
59
+ $$renderer2.option({ value: name, selected: data.filter.event == name }, ($$renderer3) => {
60
+ $$renderer3.push(`${escape_html(name)}`);
61
+ });
62
+ }
63
+ $$renderer2.push(`<!--]--></select>`);
64
+ } else {
65
+ $$renderer2.push("<!--[!-->");
66
+ $$renderer2.push(`<input type="text" name="event"${attr("value", data.filter.event)}/>`);
67
+ }
68
+ $$renderer2.push(`<!--]--> <span>Source:</span> `);
69
+ if (data.configured) {
70
+ $$renderer2.push("<!--[-->");
71
+ $$renderer2.push(`<select name="source">`);
72
+ $$renderer2.option({ value: "" }, ($$renderer3) => {
73
+ $$renderer3.push(`Any`);
74
+ });
75
+ $$renderer2.push(`<!--[-->`);
76
+ const each_array_3 = ensure_array_like(data.configured.source);
77
+ for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
78
+ let source = each_array_3[$$index_3];
79
+ $$renderer2.option({ value: source, selected: data.filter.source == source }, ($$renderer3) => {
80
+ $$renderer3.push(`${escape_html(source)}`);
81
+ });
82
+ }
83
+ $$renderer2.push(`<!--]--></select>`);
84
+ } else {
85
+ $$renderer2.push("<!--[!-->");
86
+ $$renderer2.push(`<input type="text" name="source"${attr("value", data.filter.source)}/>`);
87
+ }
88
+ $$renderer2.push(`<!--]--> <span>User UUID:</span> <input type="text" name="user" size="36"${attr("value", data.filter.user)}/> <button>Apply</button> <button>Reset</button></form> <div class="list-container"><div class="list"><div class="list-item list-header svelte-1h51ffz"><span>Timestamp</span> <span>Severity</span> <span>Source</span> <span>Name</span> <span>Tags</span> <span>User</span></div> `);
89
+ const each_array_4 = ensure_array_like(data.events);
90
+ if (each_array_4.length !== 0) {
91
+ $$renderer2.push("<!--[-->");
92
+ for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {
93
+ let event = each_array_4[$$index_4];
94
+ $$renderer2.push(`<div class="list-item svelte-1h51ffz"><span>${escape_html(new Date(event.timestamp).toLocaleString())}</span> <span${attr_class(`severity--${stringify(Severity[event.severity].toLowerCase())}`, "svelte-1h51ffz")}>${escape_html(Severity[event.severity])}</span> <span>${escape_html(event.source)}</span> <span>${escape_html(event.name)}</span> <span>${escape_html(event.tags.join(", "))}</span> `);
95
+ if (event.user) {
96
+ $$renderer2.push("<!--[-->");
97
+ $$renderer2.push(`<a${attr("href", `/admin/users/${stringify(event.userId)}`)}>${escape_html(event.user.name)} `);
98
+ if (event.userId === data.session?.userId) {
99
+ $$renderer2.push("<!--[-->");
100
+ $$renderer2.push(`<span class="subtle">(You)</span>`);
101
+ } else {
102
+ $$renderer2.push("<!--[!-->");
103
+ }
104
+ $$renderer2.push(`<!--]--></a>`);
105
+ } else {
106
+ $$renderer2.push("<!--[!-->");
107
+ $$renderer2.push(`<i>Unknown</i>`);
108
+ }
109
+ $$renderer2.push(`<!--]--> <a${attr("href", `/admin/audit/${stringify(event.id)}`)}>`);
110
+ Icon($$renderer2, { i: "chevron-right" });
111
+ $$renderer2.push(`<!----></a></div>`);
112
+ }
113
+ } else {
114
+ $$renderer2.push("<!--[!-->");
115
+ $$renderer2.push(`<p class="list-empty">No audit log events found</p>`);
116
+ }
117
+ $$renderer2.push(`<!--]--></div></div>`);
118
+ });
119
+ }
120
+
121
+ export { _page as default };
122
+ //# sourceMappingURL=_page.svelte-DUfwpXfC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-DUfwpXfC.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/audit/_page.svelte.js"],"sourcesContent":["import { F as head, w as ensure_array_like, x as attr, y as attr_class, G as stringify } from \"../../../../chunks/index.js\";\nimport { S as Severity, s as severityNames } from \"../../../../chunks/user.js\";\nimport \"mime\";\nimport { I as Icon } from \"../../../../chunks/Icon.js\";\nimport { capitalize } from \"utilium\";\nimport \"@simplewebauthn/browser\";\nimport \"../../../../chunks/auth_redirect.js\";\n/* empty css */\n/* empty css */\nimport { e as escape_html } from \"../../../../chunks/context.js\";\nconst $$css = {\n hash: \"svelte-1h51ffz\",\n code: \".list-item.svelte-1h51ffz {grid-template-columns:15em 10em 10em 1fr 1fr 10em repeat(1, 2em);}#filter.svelte-1h51ffz {background-color:var(--bg-menu);padding:1em;border-radius:0.5em;display:grid;grid-template-columns:repeat(2, 1fr);gap:0.25em;width:fit-content;h4:where(.svelte-1h51ffz) {grid-column:1 / span 2;}}\"\n};\nfunction _page($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n head(\"1h51ffz\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Admin — Audit Log</title>`);\n });\n });\n $$renderer2.push(`<h2>Audit Log</h2> `);\n if (data.filterError) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<div class=\"error\"><strong>Invalid Filter:</strong> <!--[-->`);\n const each_array = ensure_array_like(data.filterError.split(\"\\n\"));\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let line = each_array[$$index];\n $$renderer2.push(`<p>${escape_html(line)}</p>`);\n }\n $$renderer2.push(`<!--]--></div>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--> <form id=\"filter\" method=\"dialog\" class=\"svelte-1h51ffz\"><h4 class=\"svelte-1h51ffz\">Filters</h4> <span>Minimum Severity:</span> `);\n $$renderer2.select({ name: \"severity\", value: data.filter.severity }, ($$renderer3) => {\n $$renderer3.push(`<!--[-->`);\n const each_array_1 = ensure_array_like(severityNames);\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let value = each_array_1[$$index_1];\n $$renderer3.option({ value, selected: value == \"info\" }, ($$renderer4) => {\n $$renderer4.push(`${escape_html(capitalize(value))}`);\n });\n }\n $$renderer3.push(`<!--]-->`);\n });\n $$renderer2.push(` <span>Since:</span> <input type=\"date\" name=\"since\"${attr(\"value\", data.filter.since)}/> <span>Until:</span> <input type=\"date\" name=\"until\"${attr(\"value\", data.filter.until)}/> <span>Tags:</span> <input type=\"text\" name=\"tags\"${attr(\"value\", data.filter.tags)}/> <span>Event Name:</span> `);\n if (data.configured) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<select name=\"event\">`);\n $$renderer2.option({ value: \"\" }, ($$renderer3) => {\n $$renderer3.push(`Any`);\n });\n $$renderer2.push(`<!--[-->`);\n const each_array_2 = ensure_array_like(data.configured.name);\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let name = each_array_2[$$index_2];\n $$renderer2.option({ value: name, selected: data.filter.event == name }, ($$renderer3) => {\n $$renderer3.push(`${escape_html(name)}`);\n });\n }\n $$renderer2.push(`<!--]--></select>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<input type=\"text\" name=\"event\"${attr(\"value\", data.filter.event)}/>`);\n }\n $$renderer2.push(`<!--]--> <span>Source:</span> `);\n if (data.configured) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<select name=\"source\">`);\n $$renderer2.option({ value: \"\" }, ($$renderer3) => {\n $$renderer3.push(`Any`);\n });\n $$renderer2.push(`<!--[-->`);\n const each_array_3 = ensure_array_like(data.configured.source);\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let source = each_array_3[$$index_3];\n $$renderer2.option({ value: source, selected: data.filter.source == source }, ($$renderer3) => {\n $$renderer3.push(`${escape_html(source)}`);\n });\n }\n $$renderer2.push(`<!--]--></select>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<input type=\"text\" name=\"source\"${attr(\"value\", data.filter.source)}/>`);\n }\n $$renderer2.push(`<!--]--> <span>User UUID:</span> <input type=\"text\" name=\"user\" size=\"36\"${attr(\"value\", data.filter.user)}/> <button>Apply</button> <button>Reset</button></form> <div class=\"list-container\"><div class=\"list\"><div class=\"list-item list-header svelte-1h51ffz\"><span>Timestamp</span> <span>Severity</span> <span>Source</span> <span>Name</span> <span>Tags</span> <span>User</span></div> `);\n const each_array_4 = ensure_array_like(data.events);\n if (each_array_4.length !== 0) {\n $$renderer2.push(\"<!--[-->\");\n for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n let event = each_array_4[$$index_4];\n $$renderer2.push(`<div class=\"list-item svelte-1h51ffz\"><span>${escape_html(new Date(event.timestamp).toLocaleString())}</span> <span${attr_class(`severity--${stringify(Severity[event.severity].toLowerCase())}`, \"svelte-1h51ffz\")}>${escape_html(Severity[event.severity])}</span> <span>${escape_html(event.source)}</span> <span>${escape_html(event.name)}</span> <span>${escape_html(event.tags.join(\", \"))}</span> `);\n if (event.user) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<a${attr(\"href\", `/admin/users/${stringify(event.userId)}`)}>${escape_html(event.user.name)} `);\n if (event.userId === data.session?.userId) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<span class=\"subtle\">(You)</span>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--></a>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<i>Unknown</i>`);\n }\n $$renderer2.push(`<!--]--> <a${attr(\"href\", `/admin/audit/${stringify(event.id)}`)}>`);\n Icon($$renderer2, { i: \"chevron-right\" });\n $$renderer2.push(`<!----></a></div>`);\n }\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<p class=\"list-empty\">No audit log events found</p>`);\n }\n $$renderer2.push(`<!--]--></div></div>`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;;AAUA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO;AAC5B,IAAI,IAAI,CAAC,SAAS,EAAE,WAAW,EAAE,CAAC,WAAW,KAAK;AAClD,MAAM,WAAW,CAAC,KAAK,CAAC,CAAC,WAAW,KAAK;AACzC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC;AAC5D,MAAM,CAAC,CAAC;AACR,IAAI,CAAC,CAAC;AACN,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC3C,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE;AAC1B,MAAM,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;AAClC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,4DAA4D,CAAC,CAAC;AACtF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACxE,MAAM,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,EAAE,OAAO,EAAE,EAAE;AACzF,QAAQ,IAAI,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC;AACt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AAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,mDAAmD,CAAC,CAAC;AAC7E,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAC5C,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -0,0 +1,37 @@
1
+ import { F as head, w as ensure_array_like } from './index-CIEcmmdN.js';
2
+ import { e as escape_html } from './context-R2425nfV.js';
3
+
4
+ function _page($$renderer, $$props) {
5
+ $$renderer.component(($$renderer2) => {
6
+ const { data } = $$props;
7
+ head("1l89v4w", $$renderer2, ($$renderer3) => {
8
+ $$renderer3.title(($$renderer4) => {
9
+ $$renderer4.push(`<title>Admin — Plugins</title>`);
10
+ });
11
+ });
12
+ $$renderer2.push(`<h2>Plugins</h2> `);
13
+ const each_array = ensure_array_like(data.plugins);
14
+ if (each_array.length !== 0) {
15
+ $$renderer2.push("<!--[-->");
16
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
17
+ let plugin = each_array[$$index];
18
+ $$renderer2.push(`<h4>${escape_html(plugin.name)}</h4> <p><strong>Loaded from</strong> ${escape_html(plugin.path)} by ${escape_html(plugin._loadedBy ?? "<unknown>")}</p> <p><strong>Version:</strong> ${escape_html(plugin.version)}</p> <p><strong>Author:</strong> ${escape_html(plugin.author)}</p> <p><strong>Provided apps:</strong> `);
19
+ if (plugin.apps?.length) {
20
+ $$renderer2.push("<!--[-->");
21
+ $$renderer2.push(`${escape_html(plugin.apps?.map((a) => a.name).join(", "))}`);
22
+ } else {
23
+ $$renderer2.push("<!--[!-->");
24
+ $$renderer2.push(`<i>None</i>`);
25
+ }
26
+ $$renderer2.push(`<!--]--></p> <p>${escape_html(plugin.description)}</p>`);
27
+ }
28
+ } else {
29
+ $$renderer2.push("<!--[!-->");
30
+ $$renderer2.push(`<i>No plugins loaded.</i>`);
31
+ }
32
+ $$renderer2.push(`<!--]-->`);
33
+ });
34
+ }
35
+
36
+ export { _page as default };
37
+ //# sourceMappingURL=_page.svelte-DxDoD3rZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-DxDoD3rZ.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/plugins/_page.svelte.js"],"sourcesContent":["import { F as head, w as ensure_array_like } from \"../../../../chunks/index.js\";\nimport { e as escape_html } from \"../../../../chunks/context.js\";\nfunction _page($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n head(\"1l89v4w\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Admin — Plugins</title>`);\n });\n });\n $$renderer2.push(`<h2>Plugins</h2> `);\n const each_array = ensure_array_like(data.plugins);\n if (each_array.length !== 0) {\n $$renderer2.push(\"<!--[-->\");\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let plugin = each_array[$$index];\n $$renderer2.push(`<h4>${escape_html(plugin.name)}</h4> <p><strong>Loaded from</strong> ${escape_html(plugin.path)} by ${escape_html(plugin._loadedBy ?? \"<unknown>\")}</p> <p><strong>Version:</strong> ${escape_html(plugin.version)}</p> <p><strong>Author:</strong> ${escape_html(plugin.author)}</p> <p><strong>Provided apps:</strong> `);\n if (plugin.apps?.length) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`${escape_html(plugin.apps?.map((a) => a.name).join(\", \"))}`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<i>None</i>`);\n }\n $$renderer2.push(`<!--]--></p> <p>${escape_html(plugin.description)}</p>`);\n }\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<i>No plugins loaded.</i>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;AAEA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,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,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACxF,QAAQ,CAAC,MAAM;AACf,UAAU,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACvC,UAAU,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC;AACzC,QAAQ;AACR,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAClF,MAAM;AACN,IAAI,CAAC,MAAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,yBAAyB,CAAC,CAAC;AACnD,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAChC,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -0,0 +1,6 @@
1
+ function _page($$renderer) {
2
+ $$renderer.push(`<div class="main"><h1>It works!</h1> <p>This is the default Axium page. You'll want to change it.</p> <h3>Helpful links</h3> <ul><li><a href="/register">Register</a></li> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/account">Account</a></li></ul></div>`);
3
+ }
4
+
5
+ export { _page as default };
6
+ //# sourceMappingURL=_page.svelte-VDBvShZ8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_page.svelte-VDBvShZ8.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_axium/default/_page.svelte.js"],"sourcesContent":["import \"clsx\";\nfunction _page($$renderer) {\n $$renderer.push(`<div class=\"main\"><h1>It works!</h1> <p>This is the default Axium page. You'll want to change it.</p> <h3>Helpful links</h3> <ul><li><a href=\"/register\">Register</a></li> <li><a href=\"/login\">Login</a></li> <li><a href=\"/logout\">Logout</a></li> <li><a href=\"/account\">Account</a></li></ul></div>`);\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":"AACA,SAAS,KAAK,CAAC,UAAU,EAAE;AAC3B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,uSAAuS,CAAC,CAAC;AAC5T;;;;"}