@axium/server 0.26.0 → 0.26.2
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.
- package/dist/api/acl.js +2 -4
- package/dist/cli.js +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.js +5 -1
- package/dist/internal_requests.js +1 -1
- package/package.json +2 -3
- package/build/client/_app/immutable/assets/account.dAAx7bby.css +0 -1
- package/build/client/_app/immutable/assets/account.dAAx7bby.css.br +0 -0
- package/build/client/_app/immutable/assets/account.dAAx7bby.css.gz +0 -0
- package/build/client/_app/immutable/assets/list.DVGH0BeP.css +0 -1
- package/build/client/_app/immutable/assets/list.DVGH0BeP.css.br +0 -0
- package/build/client/_app/immutable/assets/list.DVGH0BeP.css.gz +0 -0
- package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css +0 -1
- package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.br +0 -2
- package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.gz +0 -0
- package/build/client/_app/immutable/chunks/46qGscyh.js +0 -2
- package/build/client/_app/immutable/chunks/46qGscyh.js.br +0 -0
- package/build/client/_app/immutable/chunks/46qGscyh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js +0 -2
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKixenYx.js +0 -1
- package/build/client/_app/immutable/chunks/BKixenYx.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKixenYx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLtAtlP3.js +0 -1
- package/build/client/_app/immutable/chunks/BLtAtlP3.js.br +0 -2
- package/build/client/_app/immutable/chunks/BLtAtlP3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNTlty5m.js +0 -1
- package/build/client/_app/immutable/chunks/BNTlty5m.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNTlty5m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js +0 -1
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js.br +0 -0
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrUe-Qen.js +0 -1
- package/build/client/_app/immutable/chunks/BrUe-Qen.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrUe-Qen.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js +0 -1
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C62F-tXu.js +0 -1
- package/build/client/_app/immutable/chunks/C62F-tXu.js.br +0 -1
- package/build/client/_app/immutable/chunks/C62F-tXu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUBtP2L9.js +0 -23
- package/build/client/_app/immutable/chunks/CUBtP2L9.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUBtP2L9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch16TNvP.js +0 -1
- package/build/client/_app/immutable/chunks/Ch16TNvP.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch16TNvP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoYD6HNm.js +0 -1
- package/build/client/_app/immutable/chunks/CoYD6HNm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoYD6HNm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D40Zn55h.js +0 -1
- package/build/client/_app/immutable/chunks/D40Zn55h.js.br +0 -0
- package/build/client/_app/immutable/chunks/D40Zn55h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DW7-1esk.js +0 -21
- package/build/client/_app/immutable/chunks/DW7-1esk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW7-1esk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DY4fWHx_.js +0 -1
- package/build/client/_app/immutable/chunks/DY4fWHx_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DY4fWHx_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DvOBbqVY.js +0 -1
- package/build/client/_app/immutable/chunks/DvOBbqVY.js.br +0 -0
- package/build/client/_app/immutable/chunks/DvOBbqVY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwZYWemd.js +0 -1
- package/build/client/_app/immutable/chunks/DwZYWemd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwZYWemd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js +0 -1
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FTv0qR3w.js +0 -1
- package/build/client/_app/immutable/chunks/FTv0qR3w.js.br +0 -0
- package/build/client/_app/immutable/chunks/FTv0qR3w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NeK0YGoY.js +0 -1
- package/build/client/_app/immutable/chunks/NeK0YGoY.js.br +0 -0
- package/build/client/_app/immutable/chunks/NeK0YGoY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aArGsq9c.js +0 -1
- package/build/client/_app/immutable/chunks/aArGsq9c.js.br +0 -0
- package/build/client/_app/immutable/chunks/aArGsq9c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lH47zGKU.js +0 -1
- package/build/client/_app/immutable/chunks/lH47zGKU.js.br +0 -0
- package/build/client/_app/immutable/chunks/lH47zGKU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/sMHjBQqw.js +0 -1
- package/build/client/_app/immutable/chunks/sMHjBQqw.js.br +0 -0
- package/build/client/_app/immutable/chunks/sMHjBQqw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vQfHcJV6.js +0 -2
- package/build/client/_app/immutable/chunks/vQfHcJV6.js.br +0 -0
- package/build/client/_app/immutable/chunks/vQfHcJV6.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js +0 -2
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js.br +0 -0
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js +0 -1
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js.br +0 -2
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js +0 -1
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js +0 -1
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.br +0 -2
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js +0 -1
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js +0 -1
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js +0 -1
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CuICShck.js +0 -1
- package/build/client/_app/immutable/nodes/13.CuICShck.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CuICShck.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js +0 -1
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js +0 -1
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js +0 -1
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js +0 -1
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js +0 -1
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js +0 -1
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js +0 -2
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js +0 -1
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js +0 -1
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js +0 -1
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.gz +0 -0
- package/build/client/_app/version.json +0 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/icons/brands.svg +0 -1493
- package/build/client/icons/brands.svg.br +0 -0
- package/build/client/icons/brands.svg.gz +0 -0
- package/build/client/icons/light.svg +0 -9977
- package/build/client/icons/light.svg.br +0 -0
- package/build/client/icons/light.svg.gz +0 -0
- package/build/client/icons/regular.svg +0 -9977
- package/build/client/icons/regular.svg.br +0 -0
- package/build/client/icons/regular.svg.gz +0 -0
- package/build/client/icons/solid.svg +0 -9977
- package/build/client/icons/solid.svg.br +0 -0
- package/build/client/icons/solid.svg.gz +0 -0
- package/build/client/styles.css +0 -168
- package/build/client/styles.css.br +0 -0
- package/build/client/styles.css.gz +0 -0
- package/build/client/theme.css +0 -42
- package/build/client/theme.css.br +0 -0
- package/build/client/theme.css.gz +0 -0
- package/build/env.js +0 -45
- package/build/handler.js +0 -1390
- package/build/index.js +0 -334
- package/build/server/chunks/0-CNbALTKz.js +0 -9
- package/build/server/chunks/0-CNbALTKz.js.map +0 -1
- package/build/server/chunks/1-Dgxy393u.js +0 -9
- package/build/server/chunks/1-Dgxy393u.js.map +0 -1
- package/build/server/chunks/10-DovmbqKa.js +0 -14
- package/build/server/chunks/10-DovmbqKa.js.map +0 -1
- package/build/server/chunks/11-CRK_ubcl.js +0 -14
- package/build/server/chunks/11-CRK_ubcl.js.map +0 -1
- package/build/server/chunks/12-SbQlwMfe.js +0 -9
- package/build/server/chunks/12-SbQlwMfe.js.map +0 -1
- package/build/server/chunks/13-CbniIW7F.js +0 -14
- package/build/server/chunks/13-CbniIW7F.js.map +0 -1
- package/build/server/chunks/14-D9Vb_8Yx.js +0 -9
- package/build/server/chunks/14-D9Vb_8Yx.js.map +0 -1
- package/build/server/chunks/15-D-75Hdef.js +0 -9
- package/build/server/chunks/15-D-75Hdef.js.map +0 -1
- package/build/server/chunks/2-57exN8ae.js +0 -14
- package/build/server/chunks/2-57exN8ae.js.map +0 -1
- package/build/server/chunks/3-DNQft-pY.js +0 -9
- package/build/server/chunks/3-DNQft-pY.js.map +0 -1
- package/build/server/chunks/4-D9Bwp-f8.js +0 -14
- package/build/server/chunks/4-D9Bwp-f8.js.map +0 -1
- package/build/server/chunks/5-COEQwZNP.js +0 -14
- package/build/server/chunks/5-COEQwZNP.js.map +0 -1
- package/build/server/chunks/6-RT4yiDcP.js +0 -14
- package/build/server/chunks/6-RT4yiDcP.js.map +0 -1
- package/build/server/chunks/7-CVqF_r5D.js +0 -14
- package/build/server/chunks/7-CVqF_r5D.js.map +0 -1
- package/build/server/chunks/8-C5SO-sVH.js +0 -14
- package/build/server/chunks/8-C5SO-sVH.js.map +0 -1
- package/build/server/chunks/9-DoCOKtY-.js +0 -14
- package/build/server/chunks/9-DoCOKtY-.js.map +0 -1
- package/build/server/chunks/FormDialog-ZCY0chY1.js +0 -102
- package/build/server/chunks/FormDialog-ZCY0chY1.js.map +0 -1
- package/build/server/chunks/Icon-BVo9qbDf.js +0 -30
- package/build/server/chunks/Icon-BVo9qbDf.js.map +0 -1
- package/build/server/chunks/Logout-CmBZgu0j.js +0 -46
- package/build/server/chunks/Logout-CmBZgu0j.js.map +0 -1
- package/build/server/chunks/_layout.svelte-DuS006VZ.js +0 -33
- package/build/server/chunks/_layout.svelte-DuS006VZ.js.map +0 -1
- package/build/server/chunks/_page.svelte-BFVobcI7.js +0 -14
- package/build/server/chunks/_page.svelte-BFVobcI7.js.map +0 -1
- package/build/server/chunks/_page.svelte-B_cvhWJS.js +0 -66
- package/build/server/chunks/_page.svelte-B_cvhWJS.js.map +0 -1
- package/build/server/chunks/_page.svelte-BriaBR9l.js +0 -28
- package/build/server/chunks/_page.svelte-BriaBR9l.js.map +0 -1
- package/build/server/chunks/_page.svelte-BtQQzT7H.js +0 -72
- package/build/server/chunks/_page.svelte-BtQQzT7H.js.map +0 -1
- package/build/server/chunks/_page.svelte-C8D3c3yB.js +0 -64
- package/build/server/chunks/_page.svelte-C8D3c3yB.js.map +0 -1
- package/build/server/chunks/_page.svelte-CVSb9eHQ.js +0 -24
- package/build/server/chunks/_page.svelte-CVSb9eHQ.js.map +0 -1
- package/build/server/chunks/_page.svelte-CwRjZqL7.js +0 -107
- package/build/server/chunks/_page.svelte-CwRjZqL7.js.map +0 -1
- package/build/server/chunks/_page.svelte-D9A9RYjx.js +0 -233
- package/build/server/chunks/_page.svelte-D9A9RYjx.js.map +0 -1
- package/build/server/chunks/_page.svelte-DGhwqWMM.js +0 -34
- package/build/server/chunks/_page.svelte-DGhwqWMM.js.map +0 -1
- package/build/server/chunks/_page.svelte-DTvnX95_.js +0 -75
- package/build/server/chunks/_page.svelte-DTvnX95_.js.map +0 -1
- package/build/server/chunks/_page.svelte-DUfwpXfC.js +0 -122
- package/build/server/chunks/_page.svelte-DUfwpXfC.js.map +0 -1
- package/build/server/chunks/_page.svelte-DxDoD3rZ.js +0 -37
- package/build/server/chunks/_page.svelte-DxDoD3rZ.js.map +0 -1
- package/build/server/chunks/_page.svelte-VDBvShZ8.js +0 -6
- package/build/server/chunks/_page.svelte-VDBvShZ8.js.map +0 -1
- package/build/server/chunks/account-Bf_llRe2.js +0 -446
- package/build/server/chunks/account-Bf_llRe2.js.map +0 -1
- package/build/server/chunks/auth_redirect-olBYiIF2.js +0 -24
- package/build/server/chunks/auth_redirect-olBYiIF2.js.map +0 -1
- package/build/server/chunks/color-K_MR7m8s.js +0 -14
- package/build/server/chunks/color-K_MR7m8s.js.map +0 -1
- package/build/server/chunks/context-R2425nfV.js +0 -64
- package/build/server/chunks/context-R2425nfV.js.map +0 -1
- package/build/server/chunks/error.svelte-CkSCwrMJ.js +0 -47
- package/build/server/chunks/error.svelte-CkSCwrMJ.js.map +0 -1
- package/build/server/chunks/index-CIEcmmdN.js +0 -890
- package/build/server/chunks/index-CIEcmmdN.js.map +0 -1
- package/build/server/chunks/index-Tt4zVDIZ.js +0 -5345
- package/build/server/chunks/index-Tt4zVDIZ.js.map +0 -1
- package/build/server/chunks/layout.svelte-UxsTmhKc.js +0 -8
- package/build/server/chunks/layout.svelte-UxsTmhKc.js.map +0 -1
- package/build/server/chunks/numbers-DL8C9q4W.js +0 -354
- package/build/server/chunks/numbers-DL8C9q4W.js.map +0 -1
- package/build/server/chunks/user2-CRfK67II.js +0 -716
- package/build/server/chunks/user2-CRfK67II.js.map +0 -1
- package/build/server/chunks/utils-h74ns7K6.js +0 -286
- package/build/server/chunks/utils-h74ns7K6.js.map +0 -1
- package/build/server/index.js +0 -8115
- package/build/server/index.js.map +0 -1
- package/build/server/manifest.js +0 -143
- package/build/server/manifest.js.map +0 -1
- package/build/shims.js +0 -32
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const index = 8;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-BriaBR9l.js')).default;
|
|
4
|
-
const universal = {
|
|
5
|
-
"ssr": false,
|
|
6
|
-
"load": null
|
|
7
|
-
};
|
|
8
|
-
const universal_id = "routes/admin/config/+page.ts";
|
|
9
|
-
const imports = ["_app/immutable/nodes/8.B8s2TdNQ.js","_app/immutable/chunks/Ch16TNvP.js","_app/immutable/chunks/D40Zn55h.js","_app/immutable/chunks/BrUe-Qen.js","_app/immutable/chunks/vQfHcJV6.js","_app/immutable/chunks/DwZYWemd.js","_app/immutable/chunks/BLtAtlP3.js","_app/immutable/chunks/lH47zGKU.js"];
|
|
10
|
-
const stylesheets = [];
|
|
11
|
-
const fonts = [];
|
|
12
|
-
|
|
13
|
-
export { component, fonts, imports, index, stylesheets, universal, universal_id };
|
|
14
|
-
//# sourceMappingURL=8-C5SO-sVH.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"8-C5SO-sVH.js","sources":["../../../.svelte-kit/adapter-node/nodes/8.js"],"sourcesContent":["\n\nexport const index = 8;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/admin/config/_page.svelte.js')).default;\nexport const universal = {\n \"ssr\": false,\n \"load\": null\n};\nexport const universal_id = \"routes/admin/config/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/8.B8s2TdNQ.js\",\"_app/immutable/chunks/Ch16TNvP.js\",\"_app/immutable/chunks/D40Zn55h.js\",\"_app/immutable/chunks/BrUe-Qen.js\",\"_app/immutable/chunks/vQfHcJV6.js\",\"_app/immutable/chunks/DwZYWemd.js\",\"_app/immutable/chunks/BLtAtlP3.js\",\"_app/immutable/chunks/lH47zGKU.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA+C,CAAC,EAAE;AAC7G,MAAC,SAAS,GAAG;AACzB,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,MAAM,EAAE;AACV;AACY,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const index = 9;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-DxDoD3rZ.js')).default;
|
|
4
|
-
const universal = {
|
|
5
|
-
"ssr": false,
|
|
6
|
-
"load": null
|
|
7
|
-
};
|
|
8
|
-
const universal_id = "routes/admin/plugins/+page.ts";
|
|
9
|
-
const imports = ["_app/immutable/nodes/9.LBMMe2kc.js","_app/immutable/chunks/Ch16TNvP.js","_app/immutable/chunks/D40Zn55h.js","_app/immutable/chunks/BrUe-Qen.js","_app/immutable/chunks/vQfHcJV6.js","_app/immutable/chunks/CoYD6HNm.js","_app/immutable/chunks/NeK0YGoY.js","_app/immutable/chunks/DwZYWemd.js","_app/immutable/chunks/BLtAtlP3.js"];
|
|
10
|
-
const stylesheets = [];
|
|
11
|
-
const fonts = [];
|
|
12
|
-
|
|
13
|
-
export { component, fonts, imports, index, stylesheets, universal, universal_id };
|
|
14
|
-
//# sourceMappingURL=9-DoCOKtY-.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"9-DoCOKtY-.js","sources":["../../../.svelte-kit/adapter-node/nodes/9.js"],"sourcesContent":["\n\nexport const index = 9;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/admin/plugins/_page.svelte.js')).default;\nexport const universal = {\n \"ssr\": false,\n \"load\": null\n};\nexport const universal_id = \"routes/admin/plugins/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/9.LBMMe2kc.js\",\"_app/immutable/chunks/Ch16TNvP.js\",\"_app/immutable/chunks/D40Zn55h.js\",\"_app/immutable/chunks/BrUe-Qen.js\",\"_app/immutable/chunks/vQfHcJV6.js\",\"_app/immutable/chunks/CoYD6HNm.js\",\"_app/immutable/chunks/NeK0YGoY.js\",\"_app/immutable/chunks/DwZYWemd.js\",\"_app/immutable/chunks/BLtAtlP3.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAgD,CAAC,EAAE;AAC9G,MAAC,SAAS,GAAG;AACzB,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,MAAM,EAAE;AACV;AACY,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChV,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { N as bind_props, Q as spread_props, P as attributes, y as attr_class, z as clsx } from './index-CIEcmmdN.js';
|
|
2
|
-
import { e as escape_html } from './context-R2425nfV.js';
|
|
3
|
-
|
|
4
|
-
const $$css$1 = {
|
|
5
|
-
hash: "svelte-1bkt9ng",
|
|
6
|
-
code: "dialog.svelte-1bkt9ng {border-radius:1em;background:var(--bg-menu);border:1px solid #8888;padding:1em;}dialog.svelte-1bkt9ng::backdrop {background:#0003;}dialog[open].svelte-1bkt9ng {\n animation: svelte-1bkt9ng-zoom 0.25s cubic-bezier(0.35, 1.55, 0.65, 1);}\n\n @keyframes svelte-1bkt9ng-zoom {\n from {\n transform: scale(0.95);\n }\n to {\n transform: scale(1);\n }\n }dialog[open].svelte-1bkt9ng::backdrop {\n animation: svelte-1bkt9ng-fade 0.25s ease-out;}\n\n @keyframes svelte-1bkt9ng-fade {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }"
|
|
7
|
-
};
|
|
8
|
-
function Dialog($$renderer, $$props) {
|
|
9
|
-
$$renderer.global.css.add($$css$1);
|
|
10
|
-
$$renderer.component(($$renderer2) => {
|
|
11
|
-
let { children, dialog = void 0, $$slots, $$events, ...rest } = $$props;
|
|
12
|
-
$$renderer2.push(`<dialog${attributes({ ...rest }, "svelte-1bkt9ng")}>`);
|
|
13
|
-
children($$renderer2);
|
|
14
|
-
$$renderer2.push(`<!----></dialog>`);
|
|
15
|
-
bind_props($$props, { dialog });
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
const $$css = {
|
|
19
|
-
hash: "svelte-m5w2se",
|
|
20
|
-
code: ".actions.svelte-m5w2se {display:flex;gap:1em;flex-direction:row;justify-content:space-between;}"
|
|
21
|
-
};
|
|
22
|
-
function FormDialog($$renderer, $$props) {
|
|
23
|
-
$$renderer.global.css.add($$css);
|
|
24
|
-
$$renderer.component(($$renderer2) => {
|
|
25
|
-
let {
|
|
26
|
-
children,
|
|
27
|
-
dialog = void 0,
|
|
28
|
-
submitText = "Submit",
|
|
29
|
-
cancel = () => {
|
|
30
|
-
},
|
|
31
|
-
submit = (data) => Promise.resolve(),
|
|
32
|
-
pageMode = false,
|
|
33
|
-
submitDanger = false,
|
|
34
|
-
header,
|
|
35
|
-
footer,
|
|
36
|
-
$$slots,
|
|
37
|
-
$$events,
|
|
38
|
-
...rest
|
|
39
|
-
/** Change the text displayed for the submit button */
|
|
40
|
-
/** Basically a callback for when the dialog is canceled */
|
|
41
|
-
/** Called on submission, this should do the actual submission */
|
|
42
|
-
/** Whether to display the dialog as a full-page form */
|
|
43
|
-
} = $$props;
|
|
44
|
-
function onclose(e) {
|
|
45
|
-
e.preventDefault();
|
|
46
|
-
cancel();
|
|
47
|
-
}
|
|
48
|
-
function submitButton($$renderer3) {
|
|
49
|
-
$$renderer3.push(`<button type="submit"${attr_class(clsx(["submit", submitDanger && "danger"]))}>${escape_html(submitText)}</button>`);
|
|
50
|
-
}
|
|
51
|
-
let $$settled = true;
|
|
52
|
-
let $$inner_renderer;
|
|
53
|
-
function $$render_inner($$renderer3) {
|
|
54
|
-
Dialog($$renderer3, spread_props([
|
|
55
|
-
{ onclose },
|
|
56
|
-
rest,
|
|
57
|
-
{
|
|
58
|
-
get dialog() {
|
|
59
|
-
return dialog;
|
|
60
|
-
},
|
|
61
|
-
set dialog($$value) {
|
|
62
|
-
dialog = $$value;
|
|
63
|
-
$$settled = false;
|
|
64
|
-
},
|
|
65
|
-
children: ($$renderer4) => {
|
|
66
|
-
header?.($$renderer4);
|
|
67
|
-
$$renderer4.push(`<!----> <form class="main" method="dialog">`);
|
|
68
|
-
{
|
|
69
|
-
$$renderer4.push("<!--[!-->");
|
|
70
|
-
}
|
|
71
|
-
$$renderer4.push(`<!--]--> `);
|
|
72
|
-
children($$renderer4);
|
|
73
|
-
$$renderer4.push(`<!----> `);
|
|
74
|
-
if (pageMode) {
|
|
75
|
-
$$renderer4.push("<!--[-->");
|
|
76
|
-
submitButton($$renderer4);
|
|
77
|
-
} else {
|
|
78
|
-
$$renderer4.push("<!--[!-->");
|
|
79
|
-
$$renderer4.push(`<div class="actions svelte-m5w2se"><button type="button">Cancel</button> `);
|
|
80
|
-
submitButton($$renderer4);
|
|
81
|
-
$$renderer4.push(`<!----></div>`);
|
|
82
|
-
}
|
|
83
|
-
$$renderer4.push(`<!--]--></form> `);
|
|
84
|
-
footer?.($$renderer4);
|
|
85
|
-
$$renderer4.push(`<!---->`);
|
|
86
|
-
},
|
|
87
|
-
$$slots: { default: true }
|
|
88
|
-
}
|
|
89
|
-
]));
|
|
90
|
-
}
|
|
91
|
-
do {
|
|
92
|
-
$$settled = true;
|
|
93
|
-
$$inner_renderer = $$renderer2.copy();
|
|
94
|
-
$$render_inner($$inner_renderer);
|
|
95
|
-
} while (!$$settled);
|
|
96
|
-
$$renderer2.subsume($$inner_renderer);
|
|
97
|
-
bind_props($$props, { dialog });
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export { FormDialog as F };
|
|
102
|
-
//# sourceMappingURL=FormDialog-ZCY0chY1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormDialog-ZCY0chY1.js","sources":["../../../.svelte-kit/adapter-node/chunks/FormDialog.js"],"sourcesContent":["import { P as attributes, O as bind_props, Q as spread_props, y as attr_class, z as clsx } from \"./index.js\";\nimport { e as escape_html } from \"./context.js\";\nconst $$css$1 = {\n hash: \"svelte-1bkt9ng\",\n code: \"dialog.svelte-1bkt9ng {border-radius:1em;background:var(--bg-menu);border:1px solid #8888;padding:1em;}dialog.svelte-1bkt9ng::backdrop {background:#0003;}dialog[open].svelte-1bkt9ng {\\n\t\tanimation: svelte-1bkt9ng-zoom 0.25s cubic-bezier(0.35, 1.55, 0.65, 1);}\\n\\n\t@keyframes svelte-1bkt9ng-zoom {\\n\t\tfrom {\\n\t\t\ttransform: scale(0.95);\\n\t\t}\\n\t\tto {\\n\t\t\ttransform: scale(1);\\n\t\t}\\n\t}dialog[open].svelte-1bkt9ng::backdrop {\\n\t\tanimation: svelte-1bkt9ng-fade 0.25s ease-out;}\\n\\n\t@keyframes svelte-1bkt9ng-fade {\\n\t\tfrom {\\n\t\t\topacity: 0;\\n\t\t}\\n\t\tto {\\n\t\t\topacity: 1;\\n\t\t}\\n\t}\"\n};\nfunction Dialog($$renderer, $$props) {\n $$renderer.global.css.add($$css$1);\n $$renderer.component(($$renderer2) => {\n let { children, dialog = void 0, $$slots, $$events, ...rest } = $$props;\n $$renderer2.push(`<dialog${attributes({ ...rest }, \"svelte-1bkt9ng\")}>`);\n children($$renderer2);\n $$renderer2.push(`<!----></dialog>`);\n bind_props($$props, { dialog });\n });\n}\nconst $$css = {\n hash: \"svelte-m5w2se\",\n code: \".actions.svelte-m5w2se {display:flex;gap:1em;flex-direction:row;justify-content:space-between;}\"\n};\nfunction FormDialog($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n let {\n children,\n dialog = void 0,\n submitText = \"Submit\",\n cancel = () => {\n },\n submit = (data) => Promise.resolve(),\n pageMode = false,\n submitDanger = false,\n header,\n footer,\n $$slots,\n $$events,\n ...rest\n /** Change the text displayed for the submit button */\n /** Basically a callback for when the dialog is canceled */\n /** Called on submission, this should do the actual submission */\n /** Whether to display the dialog as a full-page form */\n } = $$props;\n function onclose(e) {\n e.preventDefault();\n cancel();\n }\n function submitButton($$renderer3) {\n $$renderer3.push(`<button type=\"submit\"${attr_class(clsx([\"submit\", submitDanger && \"danger\"]))}>${escape_html(submitText)}</button>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Dialog($$renderer3, spread_props([\n { onclose },\n rest,\n {\n get dialog() {\n return dialog;\n },\n set dialog($$value) {\n dialog = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n header?.($$renderer4);\n $$renderer4.push(`<!----> <form class=\"main\" method=\"dialog\">`);\n {\n $$renderer4.push(\"<!--[!-->\");\n }\n $$renderer4.push(`<!--]--> `);\n children($$renderer4);\n $$renderer4.push(`<!----> `);\n if (pageMode) {\n $$renderer4.push(\"<!--[-->\");\n submitButton($$renderer4);\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(`<div class=\"actions svelte-m5w2se\"><button type=\"button\">Cancel</button> `);\n submitButton($$renderer4);\n $$renderer4.push(`<!----></div>`);\n }\n $$renderer4.push(`<!--]--></form> `);\n footer?.($$renderer4);\n $$renderer4.push(`<!---->`);\n },\n $$slots: { 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}\nexport {\n FormDialog as F\n};\n"],"names":[],"mappings":";;;AAEA,MAAM,OAAO,GAAG;AAChB,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,MAAM,CAAC,UAAU,EAAE,OAAO,EAAE;AACrC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC;AACpC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO;AAC3E,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,IAAI,QAAQ,CAAC,WAAW,CAAC;AACzB,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,CAAC;AACxC,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC;AACnC,EAAE,CAAC,CAAC;AACJ;AACA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE;AACR,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;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;;;;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { P as attributes, x as attr } from './index-CIEcmmdN.js';
|
|
2
|
-
|
|
3
|
-
const $$css = {
|
|
4
|
-
hash: "svelte-15xbqt3",
|
|
5
|
-
code: "svg.svelte-15xbqt3 {width:var(--size, 1em);height:var(--size, 1em);display:inline-block;fill:var(--fill, hsl(var(--hue) 0 var(--fg-light)));}"
|
|
6
|
-
};
|
|
7
|
-
function Icon($$renderer, $$props) {
|
|
8
|
-
$$renderer.global.css.add($$css);
|
|
9
|
-
$$renderer.component(($$renderer2) => {
|
|
10
|
-
const { i, $$slots, $$events, ...rest } = $$props;
|
|
11
|
-
const [style, id] = i.includes("/") ? i.split("/") : ["solid", i];
|
|
12
|
-
const href = `/icons/${style}.svg#${id}`;
|
|
13
|
-
$$renderer2.push(`<svg${attributes(
|
|
14
|
-
{
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
-
viewBox: "0 0 512 512",
|
|
17
|
-
width: "1em",
|
|
18
|
-
height: "1em",
|
|
19
|
-
...rest
|
|
20
|
-
},
|
|
21
|
-
"svelte-15xbqt3",
|
|
22
|
-
void 0,
|
|
23
|
-
void 0,
|
|
24
|
-
3
|
|
25
|
-
)}><use${attr("href", href)}></use></svg>`);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { Icon as I };
|
|
30
|
-
//# sourceMappingURL=Icon-BVo9qbDf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon-BVo9qbDf.js","sources":["../../../.svelte-kit/adapter-node/chunks/Icon.js"],"sourcesContent":["import { P as attributes, x as attr } from \"./index.js\";\nconst $$css = {\n hash: \"svelte-15xbqt3\",\n code: \"svg.svelte-15xbqt3 {width:var(--size, 1em);height:var(--size, 1em);display:inline-block;fill:var(--fill, hsl(var(--hue) 0 var(--fg-light)));}\"\n};\nfunction Icon($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const { i, $$slots, $$events, ...rest } = $$props;\n const [style, id] = i.includes(\"/\") ? i.split(\"/\") : [\"solid\", i];\n const href = `/icons/${style}.svg#${id}`;\n $$renderer2.push(`<svg${attributes(\n {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\",\n width: \"1em\",\n height: \"1em\",\n ...rest\n },\n \"svelte-15xbqt3\",\n void 0,\n void 0,\n 3\n )}><use${attr(\"href\", href)}></use></svg>`);\n });\n}\nexport {\n Icon as I\n};\n"],"names":[],"mappings":";;AACA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,IAAI,CAAC,UAAU,EAAE,OAAO,EAAE;AACnC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO;AACrD,IAAI,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;AACrE,IAAI,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAC5C,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU;AACtC,MAAM;AACN,QAAQ,KAAK,EAAE,4BAA4B;AAC3C,QAAQ,OAAO,EAAE,aAAa;AAC9B,QAAQ,KAAK,EAAE,KAAK;AACpB,QAAQ,MAAM,EAAE,KAAK;AACrB,QAAQ,GAAG;AACX,OAAO;AACP,MAAM,gBAAgB;AACtB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM;AACN,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;AAC/C,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { N as bind_props } from './index-CIEcmmdN.js';
|
|
2
|
-
import { f as logoutCurrentSession } from './user2-CRfK67II.js';
|
|
3
|
-
import { F as FormDialog } from './FormDialog-ZCY0chY1.js';
|
|
4
|
-
|
|
5
|
-
function Logout($$renderer, $$props) {
|
|
6
|
-
$$renderer.component(($$renderer2) => {
|
|
7
|
-
let { dialog = void 0, fullPage = false } = $$props;
|
|
8
|
-
let $$settled = true;
|
|
9
|
-
let $$inner_renderer;
|
|
10
|
-
function $$render_inner($$renderer3) {
|
|
11
|
-
FormDialog($$renderer3, {
|
|
12
|
-
pageMode: fullPage,
|
|
13
|
-
submitText: "Log Out",
|
|
14
|
-
submit: () => logoutCurrentSession().then(() => window.location.href = "/"),
|
|
15
|
-
get dialog() {
|
|
16
|
-
return dialog;
|
|
17
|
-
},
|
|
18
|
-
set dialog($$value) {
|
|
19
|
-
dialog = $$value;
|
|
20
|
-
$$settled = false;
|
|
21
|
-
},
|
|
22
|
-
children: ($$renderer4) => {
|
|
23
|
-
$$renderer4.push(`<p>Are you sure you want to log out?</p> `);
|
|
24
|
-
if (fullPage) {
|
|
25
|
-
$$renderer4.push("<!--[-->");
|
|
26
|
-
$$renderer4.push(`<button>Take me back</button>`);
|
|
27
|
-
} else {
|
|
28
|
-
$$renderer4.push("<!--[!-->");
|
|
29
|
-
}
|
|
30
|
-
$$renderer4.push(`<!--]-->`);
|
|
31
|
-
},
|
|
32
|
-
$$slots: { default: true }
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
do {
|
|
36
|
-
$$settled = true;
|
|
37
|
-
$$inner_renderer = $$renderer2.copy();
|
|
38
|
-
$$render_inner($$inner_renderer);
|
|
39
|
-
} while (!$$settled);
|
|
40
|
-
$$renderer2.subsume($$inner_renderer);
|
|
41
|
-
bind_props($$props, { dialog });
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { Logout as L };
|
|
46
|
-
//# sourceMappingURL=Logout-CmBZgu0j.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logout-CmBZgu0j.js","sources":["../../../.svelte-kit/adapter-node/chunks/Logout.js"],"sourcesContent":["import { O as bind_props } from \"./index.js\";\nimport { j as logoutCurrentSession } from \"./user2.js\";\nimport { F as FormDialog } from \"./FormDialog.js\";\nfunction Logout($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { dialog = void 0, fullPage = false } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n FormDialog($$renderer3, {\n pageMode: fullPage,\n submitText: \"Log Out\",\n submit: () => logoutCurrentSession().then(() => window.location.href = \"/\"),\n get dialog() {\n return dialog;\n },\n set dialog($$value) {\n dialog = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n $$renderer4.push(`<p>Are you sure you want to log out?</p> `);\n if (fullPage) {\n $$renderer4.push(\"<!--[-->\");\n $$renderer4.push(`<button>Take me back</button>`);\n } else {\n $$renderer4.push(\"<!--[!-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\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}\nexport {\n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AI;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;;;;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { w as ensure_array_like, x as attr, y as attr_class, z as clsx } from './index-CIEcmmdN.js';
|
|
2
|
-
import { c as capitalize } 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-1371mk6",
|
|
12
|
-
code: "#admin-container.svelte-1371mk6 {display:grid;grid-template-columns:15em 1fr;height:100%;}.sidebar.svelte-1371mk6 {grid-column:1;width:100%;display:inline-flex;flex-direction:column;gap:0.5em;padding-left:1em;}.item.svelte-1371mk6 {padding:0.3em 0.5em;border-radius:0.25em 1em 1em 0.25em;}.item.svelte-1371mk6:hover {background-color:var(--bg-accent);cursor:pointer;}.item.active.svelte-1371mk6 {background-color:var(--bg-accent);}#admin-content.svelte-1371mk6 {grid-column:2;padding:1em;overflow-x:hidden;overflow-y:scroll;}"
|
|
13
|
-
};
|
|
14
|
-
function _layout($$renderer, $$props) {
|
|
15
|
-
$$renderer.global.css.add($$css);
|
|
16
|
-
$$renderer.component(($$renderer2) => {
|
|
17
|
-
let { children, data } = $$props;
|
|
18
|
-
$$renderer2.push(`<div id="admin-container" class="svelte-1371mk6"><div class="sidebar svelte-1371mk6"><!--[-->`);
|
|
19
|
-
const each_array = ensure_array_like(data.tabs);
|
|
20
|
-
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
21
|
-
let { href, name, icon: i, active } = each_array[$$index];
|
|
22
|
-
$$renderer2.push(`<a${attr("href", href)}${attr_class(clsx(["item", "icon-text", active && "active"]), "svelte-1371mk6")}>`);
|
|
23
|
-
Icon($$renderer2, { i });
|
|
24
|
-
$$renderer2.push(`<!----> ${escape_html(capitalize(name))}</a>`);
|
|
25
|
-
}
|
|
26
|
-
$$renderer2.push(`<!--]--></div> <div id="admin-content" class="svelte-1371mk6">`);
|
|
27
|
-
children($$renderer2);
|
|
28
|
-
$$renderer2.push(`<!----></div></div>`);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { _layout as default };
|
|
33
|
-
//# sourceMappingURL=_layout.svelte-DuS006VZ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.svelte-DuS006VZ.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/_layout.svelte.js"],"sourcesContent":["import { w as ensure_array_like, x as attr, y as attr_class, z as clsx } from \"../../../chunks/index.js\";\nimport \"../../../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\";\nimport { e as escape_html } from \"../../../chunks/context.js\";\nconst $$css = {\n hash: \"svelte-1371mk6\",\n code: \"#admin-container.svelte-1371mk6 {display:grid;grid-template-columns:15em 1fr;height:100%;}.sidebar.svelte-1371mk6 {grid-column:1;width:100%;display:inline-flex;flex-direction:column;gap:0.5em;padding-left:1em;}.item.svelte-1371mk6 {padding:0.3em 0.5em;border-radius:0.25em 1em 1em 0.25em;}.item.svelte-1371mk6:hover {background-color:var(--bg-accent);cursor:pointer;}.item.active.svelte-1371mk6 {background-color:var(--bg-accent);}#admin-content.svelte-1371mk6 {grid-column:2;padding:1em;overflow-x:hidden;overflow-y:scroll;}\"\n};\nfunction _layout($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n let { children, data } = $$props;\n $$renderer2.push(`<div id=\"admin-container\" class=\"svelte-1371mk6\"><div class=\"sidebar svelte-1371mk6\"><!--[-->`);\n const each_array = ensure_array_like(data.tabs);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let { href, name, icon: i, active } = each_array[$$index];\n $$renderer2.push(`<a${attr(\"href\", href)}${attr_class(clsx([\"item\", \"icon-text\", active && \"active\"]), \"svelte-1371mk6\")}>`);\n Icon($$renderer2, { i });\n $$renderer2.push(`<!----> ${escape_html(capitalize(name))}</a>`);\n }\n $$renderer2.push(`<!--]--></div> <div id=\"admin-content\" class=\"svelte-1371mk6\">`);\n children($$renderer2);\n $$renderer2.push(`<!----></div></div>`);\n });\n}\nexport {\n _layout as default\n};\n"],"names":[],"mappings":";;;;;;;;;AAQA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,OAAO;AACpC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,6FAA6F,CAAC,CAAC;AACrH,IAAI,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC;AACnD,IAAI,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,EAAE,OAAO,EAAE,EAAE;AACvF,MAAM,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC;AAC/D,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,IAAI,QAAQ,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAClI,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC;AAC9B,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AACtE,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,8DAA8D,CAAC,CAAC;AACtF,IAAI,QAAQ,CAAC,WAAW,CAAC;AACzB,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC3C,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { L as Logout } from './Logout-CmBZgu0j.js';
|
|
2
|
-
import './index-CIEcmmdN.js';
|
|
3
|
-
import './context-R2425nfV.js';
|
|
4
|
-
import './user2-CRfK67II.js';
|
|
5
|
-
import './index-Tt4zVDIZ.js';
|
|
6
|
-
import './color-K_MR7m8s.js';
|
|
7
|
-
import './FormDialog-ZCY0chY1.js';
|
|
8
|
-
|
|
9
|
-
function _page($$renderer) {
|
|
10
|
-
Logout($$renderer, { fullPage: true });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { _page as default };
|
|
14
|
-
//# sourceMappingURL=_page.svelte-BFVobcI7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-BFVobcI7.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/logout/_page.svelte.js"],"sourcesContent":["import \"clsx\";\nimport { L as Logout } from \"../../../chunks/Logout.js\";\nfunction _page($$renderer) {\n Logout($$renderer, { fullPage: true });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;AAEA,SAAS,KAAK,CAAC,UAAU,EAAE;AAC3B,EAAE,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACxC;;;;"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { F as head, y as attr_class, G as stringify, x as attr, z as clsx } from './index-CIEcmmdN.js';
|
|
2
|
-
import { S as Severity, g as getUserImage } from './index-Tt4zVDIZ.js';
|
|
3
|
-
import { e as escape_html } from './context-R2425nfV.js';
|
|
4
|
-
import './color-K_MR7m8s.js';
|
|
5
|
-
|
|
6
|
-
const $$css = {
|
|
7
|
-
hash: "svelte-20236b",
|
|
8
|
-
code: ".User.svelte-20236b {cursor:pointer;width:max-content;height:max-content;}img.svelte-20236b {width:2em;height:2em;border-radius:50%;vertical-align:middle;margin-right:0.5em;}"
|
|
9
|
-
};
|
|
10
|
-
function UserCard($$renderer, $$props) {
|
|
11
|
-
$$renderer.global.css.add($$css);
|
|
12
|
-
$$renderer.component(($$renderer2) => {
|
|
13
|
-
const {
|
|
14
|
-
user,
|
|
15
|
-
compact = false,
|
|
16
|
-
self = false,
|
|
17
|
-
href = `/users/${user.id}`,
|
|
18
|
-
you = false
|
|
19
|
-
/** If true, don't show the picture */
|
|
20
|
-
/** Whether the user is viewing their own profile */
|
|
21
|
-
/** The URL to link to */
|
|
22
|
-
/** Whether to display a "You" label if `self` */
|
|
23
|
-
} = $$props;
|
|
24
|
-
$$renderer2.push(`<a${attr_class(clsx(["User", self && "self"]), "svelte-20236b")}${attr("href", href)}>`);
|
|
25
|
-
if (!compact) {
|
|
26
|
-
$$renderer2.push("<!--[-->");
|
|
27
|
-
$$renderer2.push(`<img${attr("src", getUserImage(user))}${attr("alt", user.name)} class="svelte-20236b"/>`);
|
|
28
|
-
} else {
|
|
29
|
-
$$renderer2.push("<!--[!-->");
|
|
30
|
-
}
|
|
31
|
-
$$renderer2.push(`<!--]--> ${escape_html(user.name)} `);
|
|
32
|
-
if (self && you) {
|
|
33
|
-
$$renderer2.push("<!--[-->");
|
|
34
|
-
$$renderer2.push(`<span class="subtle">(You)</span>`);
|
|
35
|
-
} else {
|
|
36
|
-
$$renderer2.push("<!--[!-->");
|
|
37
|
-
}
|
|
38
|
-
$$renderer2.push(`<!--]--></a>`);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function _page($$renderer, $$props) {
|
|
42
|
-
$$renderer.component(($$renderer2) => {
|
|
43
|
-
const { data } = $$props;
|
|
44
|
-
const { event } = data;
|
|
45
|
-
head("zggjav", $$renderer2, ($$renderer3) => {
|
|
46
|
-
$$renderer3.title(($$renderer4) => {
|
|
47
|
-
$$renderer4.push(`<title>Admin — Audit Log Event #${escape_html(event.id)}</title>`);
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
$$renderer2.push(`<h2>Audit Event</h2> <h4>UUID</h4> <p>${escape_html(event.id)}</p> <h4>Severity</h4> <p${attr_class(`severity--${stringify(Severity[event.severity].toLowerCase())}`)}>${escape_html(Severity[event.severity])}</p> <h4>Name</h4> <p>${escape_html(event.name)}</p> <h4>Timestamp</h4> <p>${escape_html(new Date(event.timestamp).toLocaleString())}</p> <h4>Source</h4> <p>${escape_html(event.source)}</p> <h4>Tags</h4> <p>${escape_html(event.tags.join(", "))}</p> <h4>User</h4> `);
|
|
51
|
-
if (event.user) {
|
|
52
|
-
$$renderer2.push("<!--[-->");
|
|
53
|
-
UserCard($$renderer2, {
|
|
54
|
-
user: event.user,
|
|
55
|
-
href: `/admin/users/${stringify(event.user.id)}`
|
|
56
|
-
});
|
|
57
|
-
} else {
|
|
58
|
-
$$renderer2.push("<!--[!-->");
|
|
59
|
-
$$renderer2.push(`<i>Unknown</i>`);
|
|
60
|
-
}
|
|
61
|
-
$$renderer2.push(`<!--]--> <h4>Extra Data</h4> <pre>${escape_html(JSON.stringify(event.extra, null, 4))}</pre>`);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export { _page as default };
|
|
66
|
-
//# sourceMappingURL=_page.svelte-B_cvhWJS.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-B_cvhWJS.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/audit/_id_/_page.svelte.js"],"sourcesContent":["import { y as attr_class, x as attr, z as clsx, F as head, G as stringify } from \"../../../../../chunks/index.js\";\nimport { g as getUserImage, S as Severity } from \"../../../../../chunks/user.js\";\n/* empty css */\nimport \"mime\";\nimport { e as escape_html } from \"../../../../../chunks/context.js\";\nconst $$css = {\n hash: \"svelte-20236b\",\n code: \".User.svelte-20236b {cursor:pointer;width:max-content;height:max-content;}img.svelte-20236b {width:2em;height:2em;border-radius:50%;vertical-align:middle;margin-right:0.5em;}\"\n};\nfunction UserCard($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const {\n user,\n compact = false,\n self = false,\n href = `/users/${user.id}`,\n you = false\n /** If true, don't show the picture */\n /** Whether the user is viewing their own profile */\n /** The URL to link to */\n /** Whether to display a \"You\" label if `self` */\n } = $$props;\n $$renderer2.push(`<a${attr_class(clsx([\"User\", self && \"self\"]), \"svelte-20236b\")}${attr(\"href\", href)}>`);\n if (!compact) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<img${attr(\"src\", getUserImage(user))}${attr(\"alt\", user.name)} class=\"svelte-20236b\"/>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--> ${escape_html(user.name)} `);\n if (self && you) {\n $$renderer2.push(\"<!--[-->\");\n $$renderer2.push(`<span class=\"subtle\">(You)</span>`);\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--></a>`);\n });\n}\nfunction _page($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n const { event } = data;\n head(\"zggjav\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Admin — Audit Log Event #${escape_html(event.id)}</title>`);\n });\n });\n $$renderer2.push(`<h2>Audit Event</h2> <h4>UUID</h4> <p>${escape_html(event.id)}</p> <h4>Severity</h4> <p${attr_class(`severity--${stringify(Severity[event.severity].toLowerCase())}`)}>${escape_html(Severity[event.severity])}</p> <h4>Name</h4> <p>${escape_html(event.name)}</p> <h4>Timestamp</h4> <p>${escape_html(new Date(event.timestamp).toLocaleString())}</p> <h4>Source</h4> <p>${escape_html(event.source)}</p> <h4>Tags</h4> <p>${escape_html(event.tags.join(\", \"))}</p> <h4>User</h4> `);\n if (event.user) {\n $$renderer2.push(\"<!--[-->\");\n UserCard($$renderer2, {\n user: event.user,\n href: `/admin/users/${stringify(event.user.id)}`\n });\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<i>Unknown</i>`);\n }\n $$renderer2.push(`<!--]--> <h4>Extra Data</h4> <pre>${escape_html(JSON.stringify(event.extra, null, 4))}</pre>`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;AAKA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,QAAQ,CAAC,UAAU,EAAE,OAAO,EAAE;AACvC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,MAAM;AACV,MAAM,IAAI;AACV,MAAM,OAAO,GAAG,KAAK;AACrB,MAAM,IAAI,GA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I;AACxB,QAAQ,IAAI,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,OAAO,CAAC;AACR,IAAI,CAAC,MAAM;AACX,MAAM,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;AACnC,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACxC,IAAI;AACJ,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,kCAAkC,EAAE,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACpH,EAAE,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
const $$css = {
|
|
5
|
-
hash: "svelte-ts0x28",
|
|
6
|
-
code: "summary.svelte-ts0x28 {cursor:pointer;padding:1em 0;font-size:large;}"
|
|
7
|
-
};
|
|
8
|
-
function _page($$renderer, $$props) {
|
|
9
|
-
$$renderer.global.css.add($$css);
|
|
10
|
-
$$renderer.component(($$renderer2) => {
|
|
11
|
-
const { data } = $$props;
|
|
12
|
-
head("ts0x28", $$renderer2, ($$renderer3) => {
|
|
13
|
-
$$renderer3.title(($$renderer4) => {
|
|
14
|
-
$$renderer4.push(`<title>Admin — Configuration</title>`);
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
$$renderer2.push(`<h2>Active Configuration</h2> <pre>${escape_html(JSON.stringify(data.config, null, 4))}</pre> <h2>Loaded Files</h2> <!--[-->`);
|
|
18
|
-
const each_array = ensure_array_like(Object.entries(data.files));
|
|
19
|
-
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
20
|
-
let [path, config] = each_array[$$index];
|
|
21
|
-
$$renderer2.push(`<details><summary class="svelte-ts0x28">${escape_html(path)}</summary> <pre>${escape_html(JSON.stringify(config, null, 4))}</pre></details>`);
|
|
22
|
-
}
|
|
23
|
-
$$renderer2.push(`<!--]-->`);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { _page as default };
|
|
28
|
-
//# sourceMappingURL=_page.svelte-BriaBR9l.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-BriaBR9l.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/config/_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\";\nconst $$css = {\n hash: \"svelte-ts0x28\",\n code: \"summary.svelte-ts0x28 {cursor:pointer;padding:1em 0;font-size:large;}\"\n};\nfunction _page($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n head(\"ts0x28\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Admin — Configuration</title>`);\n });\n });\n $$renderer2.push(`<h2>Active Configuration</h2> <pre>${escape_html(JSON.stringify(data.config, null, 4))}</pre> <h2>Loaded Files</h2> <!--[-->`);\n const each_array = ensure_array_like(Object.entries(data.files));\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let [path, config] = each_array[$$index];\n $$renderer2.push(`<details><summary class=\"svelte-ts0x28\">${escape_html(path)}</summary> <pre>${escape_html(JSON.stringify(config, null, 4))}</pre></details>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;AAEA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAA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
import { F as head, N as bind_props } from './index-CIEcmmdN.js';
|
|
2
|
-
import { r as register } 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-2447ej",
|
|
11
|
-
code: ".footer.svelte-2447ej {margin-bottom:1em;text-align:center;background:none;}"
|
|
12
|
-
};
|
|
13
|
-
function Register($$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
|
-
await register(data);
|
|
19
|
-
if (fullPage && redirect) location.href = redirect;
|
|
20
|
-
}
|
|
21
|
-
let $$settled = true;
|
|
22
|
-
let $$inner_renderer;
|
|
23
|
-
function $$render_inner($$renderer3) {
|
|
24
|
-
{
|
|
25
|
-
let footer = function($$renderer4) {
|
|
26
|
-
if (fullPage) {
|
|
27
|
-
$$renderer4.push("<!--[-->");
|
|
28
|
-
$$renderer4.push(`<div class="footer svelte-2447ej"><a href="/login">Login instead</a></div>`);
|
|
29
|
-
} else {
|
|
30
|
-
$$renderer4.push("<!--[!-->");
|
|
31
|
-
}
|
|
32
|
-
$$renderer4.push(`<!--]-->`);
|
|
33
|
-
};
|
|
34
|
-
FormDialog($$renderer3, {
|
|
35
|
-
submitText: "Register",
|
|
36
|
-
submit,
|
|
37
|
-
pageMode: fullPage,
|
|
38
|
-
get dialog() {
|
|
39
|
-
return dialog;
|
|
40
|
-
},
|
|
41
|
-
set dialog($$value) {
|
|
42
|
-
dialog = $$value;
|
|
43
|
-
$$settled = false;
|
|
44
|
-
},
|
|
45
|
-
footer,
|
|
46
|
-
children: ($$renderer4) => {
|
|
47
|
-
$$renderer4.push(`<div><label for="name">Display Name</label> <input name="name" type="text" required/></div> <div><label for="email">Email</label> <input name="email" type="email" required/></div>`);
|
|
48
|
-
},
|
|
49
|
-
$$slots: { footer: true, default: true }
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
do {
|
|
54
|
-
$$settled = true;
|
|
55
|
-
$$inner_renderer = $$renderer2.copy();
|
|
56
|
-
$$render_inner($$inner_renderer);
|
|
57
|
-
} while (!$$settled);
|
|
58
|
-
$$renderer2.subsume($$inner_renderer);
|
|
59
|
-
bind_props($$props, { dialog });
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function _page($$renderer) {
|
|
63
|
-
head("1yhlirl", $$renderer, ($$renderer2) => {
|
|
64
|
-
$$renderer2.title(($$renderer3) => {
|
|
65
|
-
$$renderer3.push(`<title>Sign Up</title>`);
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
Register($$renderer, { fullPage: true });
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { _page as default };
|
|
72
|
-
//# sourceMappingURL=_page.svelte-BtQQzT7H.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-BtQQzT7H.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/register/_page.svelte.js"],"sourcesContent":["import { O as bind_props, F as head } from \"../../../chunks/index.js\";\nimport { r as register } 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-2447ej\",\n code: \".footer.svelte-2447ej {margin-bottom:1em;text-align:center;background:none;}\"\n};\nfunction Register($$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 await register(data);\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-2447ej\"><a href=\"/login\">Login instead</a></div>`);\n } else {\n $$renderer4.push(\"<!--[!-->\");\n }\n $$renderer4.push(`<!--]-->`);\n };\n FormDialog($$renderer3, {\n submitText: \"Register\",\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=\"name\">Display Name</label> <input name=\"name\" type=\"text\" required/></div> <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(\"1yhlirl\", $$renderer, ($$renderer2) => {\n $$renderer2.title(($$renderer3) => {\n $$renderer3.push(`<title>Sign Up</title>`);\n });\n });\n Register($$renderer, { fullPage: true });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;AAIA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,QAAQ,CAAC,UAAU,EAAE,OAAO,EAAE;AACvC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC;AAClC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,OAAO;AACvD,IAAI,eAAe,MAAM,CAAC,IAAI,EAAE;AAChC,MAAM,MAAM,QAAQ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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,sBAAsB,CAAC,CAAC;AAChD,IAAI,CAAC,CAAC;AACN,EAAE,CAAC,CAAC;AACJ,EAAE,QAAQ,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC1C;;;;"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { F as head, w as ensure_array_like, x as attr$1, G as stringify, K as attr_style } from './index-CIEcmmdN.js';
|
|
2
|
-
import { I as Icon } from './Icon-BVo9qbDf.js';
|
|
3
|
-
import { c as colorHash } from './color-K_MR7m8s.js';
|
|
4
|
-
import { e as escape_html } from './context-R2425nfV.js';
|
|
5
|
-
|
|
6
|
-
function attr($$renderer, i, text, color = colorHash(text)) {
|
|
7
|
-
$$renderer.push(`<span class="attribute svelte-1ivxq48"${attr_style("", { "background-color": color })}>`);
|
|
8
|
-
Icon($$renderer, { i });
|
|
9
|
-
$$renderer.push(`<!---->${escape_html(text)}</span>`);
|
|
10
|
-
}
|
|
11
|
-
const $$css = {
|
|
12
|
-
hash: "svelte-1ivxq48",
|
|
13
|
-
code: ".list-item.svelte-1ivxq48 {grid-template-columns:1fr 1fr 3fr repeat(2, 2em);}.attribute.svelte-1ivxq48 {border-radius:1em;padding:0.25em 0.75em;display:inline-flex;align-items:center;gap:0.25em;}"
|
|
14
|
-
};
|
|
15
|
-
function _page($$renderer, $$props) {
|
|
16
|
-
$$renderer.global.css.add($$css);
|
|
17
|
-
$$renderer.component(($$renderer2) => {
|
|
18
|
-
const { data } = $$props;
|
|
19
|
-
head("1ivxq48", $$renderer2, ($$renderer3) => {
|
|
20
|
-
$$renderer3.title(($$renderer4) => {
|
|
21
|
-
$$renderer4.push(`<title>Admin - Users</title>`);
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
$$renderer2.push(`<h2>Users</h2> <div id="user-list" class="list"><div class="list-item list-header svelte-1ivxq48"><span>Name</span> <span>Email</span> <span>Attributes</span></div> `);
|
|
25
|
-
const each_array = ensure_array_like(data.users);
|
|
26
|
-
if (each_array.length !== 0) {
|
|
27
|
-
$$renderer2.push("<!--[-->");
|
|
28
|
-
for (let $$index_2 = 0, $$length = each_array.length; $$index_2 < $$length; $$index_2++) {
|
|
29
|
-
let user = each_array[$$index_2];
|
|
30
|
-
$$renderer2.push(`<div class="user list-item svelte-1ivxq48"><span>${escape_html(user.name)}</span> <span>${escape_html(user.email)}</span> <span>`);
|
|
31
|
-
if (user.isAdmin) {
|
|
32
|
-
$$renderer2.push("<!--[-->");
|
|
33
|
-
attr($$renderer2, "crown", "Admin", "#710");
|
|
34
|
-
} else {
|
|
35
|
-
$$renderer2.push("<!--[!-->");
|
|
36
|
-
}
|
|
37
|
-
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
38
|
-
const each_array_1 = ensure_array_like(user.tags);
|
|
39
|
-
for (let $$index = 0, $$length2 = each_array_1.length; $$index < $$length2; $$index++) {
|
|
40
|
-
let tag = each_array_1[$$index];
|
|
41
|
-
attr($$renderer2, "hashtag", tag);
|
|
42
|
-
}
|
|
43
|
-
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
44
|
-
const each_array_2 = ensure_array_like(user.roles);
|
|
45
|
-
for (let $$index_1 = 0, $$length2 = each_array_2.length; $$index_1 < $$length2; $$index_1++) {
|
|
46
|
-
let role = each_array_2[$$index_1];
|
|
47
|
-
attr($$renderer2, "at", role);
|
|
48
|
-
}
|
|
49
|
-
$$renderer2.push(`<!--]--></span> <a${attr$1("href", `/admin/audit?user=${stringify(user.id)}`)}>`);
|
|
50
|
-
Icon($$renderer2, { i: "file-shield" });
|
|
51
|
-
$$renderer2.push(`<!----></a> <a${attr$1("href", `/admin/users/${stringify(user.id)}`)}>`);
|
|
52
|
-
Icon($$renderer2, { i: "chevron-right" });
|
|
53
|
-
$$renderer2.push(`<!----></a></div>`);
|
|
54
|
-
}
|
|
55
|
-
} else {
|
|
56
|
-
$$renderer2.push("<!--[!-->");
|
|
57
|
-
$$renderer2.push(`<div class="error">No users!</div>`);
|
|
58
|
-
}
|
|
59
|
-
$$renderer2.push(`<!--]--></div>`);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { _page as default };
|
|
64
|
-
//# sourceMappingURL=_page.svelte-C8D3c3yB.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_page.svelte-C8D3c3yB.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/admin/users/_page.svelte.js"],"sourcesContent":["import { F as head, w as ensure_array_like, x as attr$1, G as stringify, K as attr_style } from \"../../../../chunks/index.js\";\nimport { I as Icon } from \"../../../../chunks/Icon.js\";\n/* empty css */\nimport { c as colorHash } from \"../../../../chunks/color.js\";\nimport { e as escape_html } from \"../../../../chunks/context.js\";\nfunction attr($$renderer, i, text, color = colorHash(text)) {\n $$renderer.push(`<span class=\"attribute svelte-1ivxq48\"${attr_style(\"\", { \"background-color\": color })}>`);\n Icon($$renderer, { i });\n $$renderer.push(`<!---->${escape_html(text)}</span>`);\n}\nconst $$css = {\n hash: \"svelte-1ivxq48\",\n code: \".list-item.svelte-1ivxq48 {grid-template-columns:1fr 1fr 3fr repeat(2, 2em);}.attribute.svelte-1ivxq48 {border-radius:1em;padding:0.25em 0.75em;display:inline-flex;align-items:center;gap:0.25em;}\"\n};\nfunction _page($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const { data } = $$props;\n head(\"1ivxq48\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>Admin - Users</title>`);\n });\n });\n $$renderer2.push(`<h2>Users</h2> <div id=\"user-list\" class=\"list\"><div class=\"list-item list-header svelte-1ivxq48\"><span>Name</span> <span>Email</span> <span>Attributes</span></div> `);\n const each_array = ensure_array_like(data.users);\n if (each_array.length !== 0) {\n $$renderer2.push(\"<!--[-->\");\n for (let $$index_2 = 0, $$length = each_array.length; $$index_2 < $$length; $$index_2++) {\n let user = each_array[$$index_2];\n $$renderer2.push(`<div class=\"user list-item svelte-1ivxq48\"><span>${escape_html(user.name)}</span> <span>${escape_html(user.email)}</span> <span>`);\n if (user.isAdmin) {\n $$renderer2.push(\"<!--[-->\");\n attr($$renderer2, \"crown\", \"Admin\", \"#710\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n }\n $$renderer2.push(`<!--]--> <!--[-->`);\n const each_array_1 = ensure_array_like(user.tags);\n for (let $$index = 0, $$length2 = each_array_1.length; $$index < $$length2; $$index++) {\n let tag = each_array_1[$$index];\n attr($$renderer2, \"hashtag\", tag);\n }\n $$renderer2.push(`<!--]--> <!--[-->`);\n const each_array_2 = ensure_array_like(user.roles);\n for (let $$index_1 = 0, $$length2 = each_array_2.length; $$index_1 < $$length2; $$index_1++) {\n let role = each_array_2[$$index_1];\n attr($$renderer2, \"at\", role);\n }\n $$renderer2.push(`<!--]--></span> <a${attr$1(\"href\", `/admin/audit?user=${stringify(user.id)}`)}>`);\n Icon($$renderer2, { i: \"file-shield\" });\n $$renderer2.push(`<!----></a> <a${attr$1(\"href\", `/admin/users/${stringify(user.id)}`)}>`);\n Icon($$renderer2, { i: \"chevron-right\" });\n $$renderer2.push(`<!----></a></div>`);\n }\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<div class=\"error\">No users!</div>`);\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