dsql-admin/dsql-app/.local_dist/server/pages/su/users/new.js
Benjamin Toby e0a030f10d Updates
2025-01-13 09:00:21 +01:00

1 line
2.5 KiB
JavaScript

"use strict";(()=>{var e={};e.id=5682,e.ids=[5682],e.modules={92982:(e,t,r)=>{r.r(t),r.d(t,{config:()=>j,default:()=>h,getServerSideProps:()=>b,getStaticPaths:()=>P,getStaticProps:()=>f,reportWebVitals:()=>v,routeModule:()=>y,unstable_getServerProps:()=>w,unstable_getServerSideProps:()=>N,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>q,unstable_getStaticProps:()=>M});var s={};r.r(s),r.d(s,{default:()=>g,getServerSideProps:()=>S});var a=r(63865),i=r(9455),n=r(30671),u=r(5583),o=r(19796),l=r(8732),c=r(82015),d=r.n(c),p=r(61197),m=r(40778);function x({data:e}){return(0,l.jsx)(d().Fragment,{children:(0,l.jsxs)("section",{className:"items-start justify-start p-6",children:[(0,l.jsx)("div",{className:"flex flex-row items-center w-full gap-20 mb-6 justify-between",children:(0,l.jsx)("h2",{className:"text-xl m-0",children:"New User"})}),(0,l.jsx)("section",{className:"paper",children:(0,l.jsx)("h2",{className:"text-base m-0",children:"Info"})})]})})}function g({user:e,data:t}){let r=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,l.jsx)(m.A,{head:r,user:e,children:(0,l.jsx)(x,{data:t})})}async function S({req:e,res:t,query:r}){let s=await (0,p.A)(e);return s?.logged_in_status?{props:{user:s}}:{redirect:{destination:"/su/login",permanent:!1}}}let h=(0,n.M)(s,"default"),f=(0,n.M)(s,"getStaticProps"),P=(0,n.M)(s,"getStaticPaths"),b=(0,n.M)(s,"getServerSideProps"),j=(0,n.M)(s,"config"),v=(0,n.M)(s,"reportWebVitals"),M=(0,n.M)(s,"unstable_getStaticProps"),q=(0,n.M)(s,"unstable_getStaticPaths"),_=(0,n.M)(s,"unstable_getStaticParams"),w=(0,n.M)(s,"unstable_getServerProps"),N=(0,n.M)(s,"unstable_getServerSideProps"),y=new a.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/su/users/new",pathname:"/su/users/new",bundlePath:"",filename:""},components:{App:o.default,Document:u.default},userland:s})},13893:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},33873:e=>{e.exports=require("path")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[883,9821,9796,6622],()=>r(92982));module.exports=s})();