Base framework
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,16 @@
|
||||
import{d as m,y as k,a as i,o as t,F as y,r as x,b as s,g as d,x as g,t as b,z as f,u as r,w as l,e,m as v}from"./app-DCwpEDbg.js";import{c}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{_ as M,a as w}from"./Layout.vue_vue_type_script_setup_true_lang-CstVb_I9.js";import{_ as I}from"./AppLayout.vue_vue_type_script_setup_true_lang-D4IXD-9L.js";import"./useForwardExpose-sC1iCvAF.js";import"./RovingFocusGroup-2Lhb9yZ9.js";/**
|
||||
* @license lucide-vue-next v0.468.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const A=c("MonitorIcon",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
||||
* @license lucide-vue-next v0.468.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const C=c("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
||||
* @license lucide-vue-next v0.468.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const $=c("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),z={class:"inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800"},B=["onClick"],S={class:"ml-1.5 text-sm"},D=m({__name:"AppearanceTabs",setup(u){const{appearance:a,updateAppearance:o}=k(),p=[{value:"light",Icon:$,label:"Light"},{value:"dark",Icon:C,label:"Dark"},{value:"system",Icon:A,label:"System"}];return(j,q)=>(t(),i("div",z,[(t(),i(y,null,x(p,({value:n,Icon:_,label:h})=>s("button",{key:n,onClick:F=>r(o)(n),class:f(["flex items-center rounded-md px-3.5 py-1.5 transition-colors",r(a)===n?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"])},[(t(),d(g(_),{class:"-ml-1 h-4 w-4"})),s("span",S,b(h),1)],10,B)),64))]))}}),L={class:"space-y-6"},G=m({__name:"Appearance",setup(u){const a=[{title:"Appearance settings",href:"/settings/appearance"}];return(o,p)=>(t(),d(I,{breadcrumbs:a},{default:l(()=>[e(r(v),{title:"Appearance settings"}),e(M,null,{default:l(()=>[s("div",L,[e(w,{title:"Appearance settings",description:"Update your account's appearance settings"}),e(D)])]),_:1})]),_:1}))}});export{G as default};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{c as d,b as p}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{d as a,a as _,o as c,b as t,q as i,e as o,w as r,t as s,u as f,P as m,g as u}from"./app-DCwpEDbg.js";/**
|
||||
* @license lucide-vue-next v0.468.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/const S=d("LoaderCircleIcon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),h={class:"flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10"},x={class:"w-full max-w-sm"},g={class:"flex flex-col gap-8"},v={class:"flex flex-col items-center gap-4"},y={class:"mb-1 flex h-9 w-9 items-center justify-center rounded-md"},k={class:"sr-only"},w={class:"space-y-2 text-center"},L={class:"text-xl font-medium"},b={class:"text-center text-sm text-muted-foreground"},B=a({__name:"AuthSimpleLayout",props:{title:{},description:{}},setup(n){return(e,l)=>(c(),_("div",h,[t("div",x,[t("div",g,[t("div",v,[o(f(m),{href:e.route("home"),class:"flex flex-col items-center gap-2 font-medium"},{default:r(()=>[t("div",y,[o(p,{class:"size-9 fill-current text-[var(--foreground)] dark:text-white"})]),t("span",k,s(e.title),1)]),_:1},8,["href"]),t("div",w,[t("h1",L,s(e.title),1),t("p",b,s(e.description),1)])]),i(e.$slots,"default")])])]))}}),j=a({__name:"AuthLayout",props:{title:{},description:{}},setup(n){return(e,l)=>(c(),u(B,{title:e.title,description:e.description},{default:r(()=>[i(e.$slots,"default")]),_:3},8,["title","description"]))}});export{S as L,j as _};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as p,C as c,g as i,o as d,w as t,e as a,b as r,u as s,m as f,i as u,h as n,j as _}from"./app-DCwpEDbg.js";import{_ as w,a as C,b}from"./Label.vue_vue_type_script_setup_true_lang-B6oIiLFD.js";import{_ as g}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{L as V,_ as h}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DU7fuk8t.js";import"./useForwardExpose-sC1iCvAF.js";const x={class:"space-y-6"},y={class:"grid gap-2"},$={class:"flex items-center"},T=p({__name:"ConfirmPassword",setup(k){const e=c({password:""}),m=()=>{e.post(route("password.confirm"),{onFinish:()=>{e.reset()}})};return(v,o)=>(d(),i(h,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing."},{default:t(()=>[a(s(f),{title:"Confirm password"}),r("form",{onSubmit:u(m,["prevent"])},[r("div",x,[r("div",y,[a(s(w),{htmlFor:"password"},{default:t(()=>o[1]||(o[1]=[n("Password")])),_:1}),a(s(C),{id:"password",type:"password",class:"mt-1 block w-full",modelValue:s(e).password,"onUpdate:modelValue":o[0]||(o[0]=l=>s(e).password=l),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"]),a(b,{message:s(e).errors.password},null,8,["message"])]),r("div",$,[a(s(g),{class:"w-full",disabled:s(e).processing},{default:t(()=>[s(e).processing?(d(),i(s(V),{key:0,class:"h-4 w-4 animate-spin"})):_("",!0),o[2]||(o[2]=n(" Confirm Password "))]),_:1},8,["disabled"])])])],32)]),_:1}))}});export{T as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{_ as c}from"./AppLayout.vue_vue_type_script_setup_true_lang-D4IXD-9L.js";import{d as s,c as b,a,o as i,b as e,e as r,u as _,m as h,w as u,F as p}from"./app-DCwpEDbg.js";import"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import"./useForwardExpose-sC1iCvAF.js";import"./RovingFocusGroup-2Lhb9yZ9.js";const m={class:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20",fill:"none"},f=["id"],v=["fill"],o=s({__name:"PlaceholderPattern",setup(n){const d=b(()=>`pattern-${Math.random().toString(36).substring(2,9)}`);return(l,t)=>(i(),a("svg",m,[e("defs",null,[e("pattern",{id:d.value,x:"0",y:"0",width:"8",height:"8",patternUnits:"userSpaceOnUse"},t[0]||(t[0]=[e("path",{d:"M-1 5L5 -1M3 9L8.5 3.5","stroke-width":"0.5"},null,-1)]),8,f)]),e("rect",{stroke:"none",fill:`url(#${d.value})`,width:"100%",height:"100%"},null,8,v)]))}}),x={class:"flex h-full flex-1 flex-col gap-4 rounded-xl p-4"},k={class:"grid auto-rows-min gap-4 md:grid-cols-3"},g={class:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border"},w={class:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border"},$={class:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border"},B={class:"relative min-h-[100vh] flex-1 rounded-xl border border-sidebar-border/70 dark:border-sidebar-border md:min-h-min"},N=s({__name:"Dashboard",setup(n){const d=[{title:"Dashboard",href:"/dashboard"}];return(l,t)=>(i(),a(p,null,[r(_(h),{title:"Dashboard"}),r(c,{breadcrumbs:d},{default:u(()=>[e("div",x,[e("div",k,[e("div",g,[r(o)]),e("div",w,[r(o)]),e("div",$,[r(o)])]),e("div",B,[r(o)])])]),_:1})],64))}});export{N as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as f,C as c,g as n,o as m,w as r,e as a,a as _,j as d,b as o,u as s,m as g,t as w,i as x,h as l}from"./app-DCwpEDbg.js";import{_ as y,a as b,b as k}from"./Label.vue_vue_type_script_setup_true_lang-B6oIiLFD.js";import{_ as v}from"./TextLink.vue_vue_type_script_setup_true_lang-CyaGH5Jv.js";import{_ as V}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{L as $,_ as C}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DU7fuk8t.js";import"./useForwardExpose-sC1iCvAF.js";const B={key:0,class:"mb-4 text-center text-sm font-medium text-green-600"},E={class:"space-y-6"},N={class:"grid gap-2"},h={class:"my-6 flex items-center justify-start"},F={class:"space-x-1 text-center text-sm text-muted-foreground"},T=f({__name:"ForgotPassword",props:{status:{}},setup(j){const t=c({email:""}),p=()=>{t.post(route("password.email"))};return(i,e)=>(m(),n(C,{title:"Forgot password",description:"Enter your email to receive a password reset link"},{default:r(()=>[a(s(g),{title:"Forgot password"}),i.status?(m(),_("div",B,w(i.status),1)):d("",!0),o("div",E,[o("form",{onSubmit:x(p,["prevent"])},[o("div",N,[a(s(y),{for:"email"},{default:r(()=>e[1]||(e[1]=[l("Email address")])),_:1}),a(s(b),{id:"email",type:"email",name:"email",autocomplete:"off",modelValue:s(t).email,"onUpdate:modelValue":e[0]||(e[0]=u=>s(t).email=u),autofocus:"",placeholder:"email@example.com"},null,8,["modelValue"]),a(k,{message:s(t).errors.email},null,8,["message"])]),o("div",h,[a(s(V),{class:"w-full",disabled:s(t).processing},{default:r(()=>[s(t).processing?(m(),n(s($),{key:0,class:"h-4 w-4 animate-spin"})):d("",!0),e[2]||(e[2]=l(" Email password reset link "))]),_:1},8,["disabled"])])],32),o("div",F,[e[4]||(e[4]=o("span",null,"Or, return to",-1)),a(v,{href:i.route("login")},{default:r(()=>e[3]||(e[3]=[l("log in")])),_:1},8,["href"])])])]),_:1}))}});export{T as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as l,g as d,o as n,w as u,q as p,l as c,u as o,B as m,G as _,a as f,z as x,H as v,D as w,b as h,t as V,c as y}from"./app-DCwpEDbg.js";import{P as B,a as b}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{a as k,b as C}from"./useForwardExpose-sC1iCvAF.js";const P=l({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(t){const s=t;return k(),(a,r)=>(n(),d(o(B),c(s,{onMousedown:r[0]||(r[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:u(()=>[p(a.$slots,"default")]),_:3},16))}}),z=l({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:s}){const a=t,e=C(a,"modelValue",s,{passive:!0,defaultValue:a.defaultValue});return(D,i)=>m((n(),f("input",{"onUpdate:modelValue":i[0]||(i[0]=g=>v(e)?e.value=g:null),"data-slot":"input",class:x(o(b)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a.class))},null,2)),[[_,o(e)]])}}),$={class:"text-sm text-red-600 dark:text-red-500"},I=l({__name:"InputError",props:{message:{}},setup(t){return(s,a)=>m((n(),f("div",null,[h("p",$,V(s.message),1)],512)),[[w,s.message]])}}),L=l({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const s=t,a=y(()=>{const{class:r,...e}=s;return e});return(r,e)=>(n(),d(o(P),c({"data-slot":"label"},a.value,{class:o(b)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",s.class)}),{default:u(()=>[p(r.$slots,"default")]),_:3},16,["class"]))}});export{L as _,z as a,I as b};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as c,c as f,g as m,o as s,w as _,q as g,l as y,u as r,I as w,J as $,a as l,b as n,j as x,t as p,E as z,e as u,F as P,r as B,P as b,h as k,z as C}from"./app-DCwpEDbg.js";import{P as S,a as N,_ as O}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{r as V}from"./useForwardExpose-sC1iCvAF.js";const I=c({__name:"BaseSeparator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(o){const e=o,t=["horizontal","vertical"];function d(a){return t.includes(a)}const i=f(()=>d(e.orientation)?e.orientation:"horizontal"),h=f(()=>i.value==="vertical"?e.orientation:void 0),v=f(()=>e.decorative?{role:"none"}:{"aria-orientation":h.value,role:"separator"});return(a,K)=>(s(),m(r(S),y({as:a.as,"as-child":a.asChild,"data-orientation":i.value},v.value),{default:_(()=>[g(a.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),E=c({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(o){const e=o;return(t,d)=>(s(),m(I,w($(e)),{default:_(()=>[g(t.$slots,"default")]),_:3},16))}}),L=c({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{}},setup(o){const e=o,t=V(e,"class");return(d,i)=>(s(),m(r(E),y({"data-slot":"separator-root"},r(t),{class:r(N)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e.class)}),null,16,["class"]))}}),R={class:"mb-0.5 text-base font-medium"},T={key:0,class:"text-sm text-muted-foreground"},Y=c({__name:"HeadingSmall",props:{title:{},description:{}},setup(o){return(e,t)=>(s(),l("header",null,[n("h3",R,p(e.title),1),e.description?(s(),l("p",T,p(e.description),1)):x("",!0)]))}}),j={class:"mb-8 space-y-0.5"},A={class:"text-xl font-semibold tracking-tight"},F={key:0,class:"text-sm text-muted-foreground"},H=c({__name:"Heading",props:{title:{},description:{}},setup(o){return(e,t)=>(s(),l("div",j,[n("h2",A,p(e.title),1),e.description?(s(),l("p",F,p(e.description),1)):x("",!0)]))}}),q={class:"px-4 py-6"},D={class:"flex flex-col space-y-8 md:space-y-0 lg:flex-row lg:space-x-12 lg:space-y-0"},J={class:"w-full max-w-xl lg:w-48"},M={class:"flex flex-col space-x-0 space-y-1"},U={class:"flex-1 md:max-w-2xl"},G={class:"max-w-xl space-y-12"},Z=c({__name:"Layout",setup(o){var i;const e=[{title:"Profile",href:"/settings/profile"},{title:"Password",href:"/settings/password"},{title:"Appearance",href:"/settings/appearance"}],t=z(),d=(i=t.props.ziggy)!=null&&i.location?new URL(t.props.ziggy.location).pathname:"";return(h,v)=>(s(),l("div",q,[u(H,{title:"Settings",description:"Manage your profile and account settings"}),n("div",D,[n("aside",J,[n("nav",M,[(s(),l(P,null,B(e,a=>u(r(O),{key:a.href,variant:"ghost",class:C(["w-full justify-start",{"bg-muted":r(d)===a.href}]),"as-child":""},{default:_(()=>[u(r(b),{href:a.href},{default:_(()=>[k(p(a.title),1)]),_:2},1032,["href"])]),_:2},1032,["class"])),64))])]),u(r(L),{class:"my-6 md:hidden"}),n("div",U,[n("section",G,[g(h.$slots,"default")])])])]))}});export{Z as _,Y as a};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{d as g,A as w,C as v,g as b,o as y,w as r,e as a,u as s,m as V,b as t,i as k,h as d,T as x,B as C,D as I}from"./app-DCwpEDbg.js";import{_ as u,a as c,b as m}from"./Label.vue_vue_type_script_setup_true_lang-B6oIiLFD.js";import{_ as S}from"./AppLayout.vue_vue_type_script_setup_true_lang-D4IXD-9L.js";import{_ as $,a as P}from"./Layout.vue_vue_type_script_setup_true_lang-CstVb_I9.js";import{_ as N}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import"./useForwardExpose-sC1iCvAF.js";import"./RovingFocusGroup-2Lhb9yZ9.js";const T={class:"space-y-6"},B={class:"grid gap-2"},E={class:"grid gap-2"},U={class:"grid gap-2"},M={class:"flex items-center gap-4"},h={class:"text-sm text-neutral-600"},G=g({__name:"Password",setup(D){const f=[{title:"Password settings",href:"/settings/password"}],l=w(null),i=w(null),e=v({current_password:"",password:"",password_confirmation:""}),_=()=>{e.put(route("password.update"),{preserveScroll:!0,onSuccess:()=>e.reset(),onError:p=>{p.password&&(e.reset("password","password_confirmation"),l.value instanceof HTMLInputElement&&l.value.focus()),p.current_password&&(e.reset("current_password"),i.value instanceof HTMLInputElement&&i.value.focus())}})};return(p,o)=>(y(),b(S,{breadcrumbs:f},{default:r(()=>[a(s(V),{title:"Password settings"}),a($,null,{default:r(()=>[t("div",T,[a(P,{title:"Update password",description:"Ensure your account is using a long, random password to stay secure"}),t("form",{onSubmit:k(_,["prevent"]),class:"space-y-6"},[t("div",B,[a(s(u),{for:"current_password"},{default:r(()=>o[3]||(o[3]=[d("Current password")])),_:1}),a(s(c),{id:"current_password",ref_key:"currentPasswordInput",ref:i,modelValue:s(e).current_password,"onUpdate:modelValue":o[0]||(o[0]=n=>s(e).current_password=n),type:"password",class:"mt-1 block w-full",autocomplete:"current-password",placeholder:"Current password"},null,8,["modelValue"]),a(m,{message:s(e).errors.current_password},null,8,["message"])]),t("div",E,[a(s(u),{for:"password"},{default:r(()=>o[4]||(o[4]=[d("New password")])),_:1}),a(s(c),{id:"password",ref_key:"passwordInput",ref:l,modelValue:s(e).password,"onUpdate:modelValue":o[1]||(o[1]=n=>s(e).password=n),type:"password",class:"mt-1 block w-full",autocomplete:"new-password",placeholder:"New password"},null,8,["modelValue"]),a(m,{message:s(e).errors.password},null,8,["message"])]),t("div",U,[a(s(u),{for:"password_confirmation"},{default:r(()=>o[5]||(o[5]=[d("Confirm password")])),_:1}),a(s(c),{id:"password_confirmation",modelValue:s(e).password_confirmation,"onUpdate:modelValue":o[2]||(o[2]=n=>s(e).password_confirmation=n),type:"password",class:"mt-1 block w-full",autocomplete:"new-password",placeholder:"Confirm password"},null,8,["modelValue"]),a(m,{message:s(e).errors.password_confirmation},null,8,["message"])]),t("div",M,[a(s(N),{disabled:s(e).processing},{default:r(()=>o[6]||(o[6]=[d("Save password")])),_:1},8,["disabled"]),a(x,{"enter-active-class":"transition ease-in-out","enter-from-class":"opacity-0","leave-active-class":"transition ease-in-out","leave-to-class":"opacity-0"},{default:r(()=>[C(t("p",h,"Saved.",512),[[I,s(e).recentlySuccessful]])]),_:1})])],32)])]),_:1})]),_:1}))}});export{G as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{d as g,C as _,g as p,o as u,w as t,e as o,b as d,u as e,m as c,i as x,h as l,j as V}from"./app-DCwpEDbg.js";import{_ as i,a as n,b as m}from"./Label.vue_vue_type_script_setup_true_lang-B6oIiLFD.js";import{_ as b}from"./TextLink.vue_vue_type_script_setup_true_lang-CyaGH5Jv.js";import{_ as y}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{L as C,_ as v}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DU7fuk8t.js";import"./useForwardExpose-sC1iCvAF.js";const $={class:"grid gap-6"},N={class:"grid gap-2"},q={class:"grid gap-2"},U={class:"grid gap-2"},k={class:"grid gap-2"},B={class:"text-center text-sm text-muted-foreground"},M=g({__name:"Register",setup(L){const a=_({name:"",email:"",password:"",password_confirmation:""}),f=()=>{a.post(route("register"),{onFinish:()=>a.reset("password","password_confirmation")})};return(w,s)=>(u(),p(v,{title:"Create an account",description:"Enter your details below to create your account"},{default:t(()=>[o(e(c),{title:"Register"}),d("form",{onSubmit:x(f,["prevent"]),class:"flex flex-col gap-6"},[d("div",$,[d("div",N,[o(e(i),{for:"name"},{default:t(()=>s[4]||(s[4]=[l("Name")])),_:1}),o(e(n),{id:"name",type:"text",required:"",autofocus:"",tabindex:1,autocomplete:"name",modelValue:e(a).name,"onUpdate:modelValue":s[0]||(s[0]=r=>e(a).name=r),placeholder:"Full name"},null,8,["modelValue"]),o(m,{message:e(a).errors.name},null,8,["message"])]),d("div",q,[o(e(i),{for:"email"},{default:t(()=>s[5]||(s[5]=[l("Email address")])),_:1}),o(e(n),{id:"email",type:"email",required:"",tabindex:2,autocomplete:"email",modelValue:e(a).email,"onUpdate:modelValue":s[1]||(s[1]=r=>e(a).email=r),placeholder:"email@example.com"},null,8,["modelValue"]),o(m,{message:e(a).errors.email},null,8,["message"])]),d("div",U,[o(e(i),{for:"password"},{default:t(()=>s[6]||(s[6]=[l("Password")])),_:1}),o(e(n),{id:"password",type:"password",required:"",tabindex:3,autocomplete:"new-password",modelValue:e(a).password,"onUpdate:modelValue":s[2]||(s[2]=r=>e(a).password=r),placeholder:"Password"},null,8,["modelValue"]),o(m,{message:e(a).errors.password},null,8,["message"])]),d("div",k,[o(e(i),{for:"password_confirmation"},{default:t(()=>s[7]||(s[7]=[l("Confirm password")])),_:1}),o(e(n),{id:"password_confirmation",type:"password",required:"",tabindex:4,autocomplete:"new-password",modelValue:e(a).password_confirmation,"onUpdate:modelValue":s[3]||(s[3]=r=>e(a).password_confirmation=r),placeholder:"Confirm password"},null,8,["modelValue"]),o(m,{message:e(a).errors.password_confirmation},null,8,["message"])]),o(e(y),{type:"submit",class:"mt-2 w-full",tabindex:"5",disabled:e(a).processing},{default:t(()=>[e(a).processing?(u(),p(e(C),{key:0,class:"h-4 w-4 animate-spin"})):V("",!0),s[8]||(s[8]=l(" Create account "))]),_:1},8,["disabled"])]),d("div",B,[s[10]||(s[10]=l(" Already have an account? ")),o(b,{href:w.route("login"),class:"underline underline-offset-4",tabindex:6},{default:t(()=>s[9]||(s[9]=[l("Log in")])),_:1},8,["href"])])],32)]),_:1}))}});export{M as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as _,C as g,g as w,o as u,w as t,e as a,b as l,u as s,m as V,i as b,h as d,j as k}from"./app-DCwpEDbg.js";import{_ as i,a as m,b as n}from"./Label.vue_vue_type_script_setup_true_lang-B6oIiLFD.js";import{_ as y}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{L as C,_ as v}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DU7fuk8t.js";import"./useForwardExpose-sC1iCvAF.js";const P={class:"grid gap-6"},$={class:"grid gap-2"},x={class:"grid gap-2"},N={class:"grid gap-2"},F=_({__name:"ResetPassword",props:{token:{},email:{}},setup(f){const p=f,e=g({token:p.token,email:p.email,password:"",password_confirmation:""}),c=()=>{e.post(route("password.store"),{onFinish:()=>{e.reset("password","password_confirmation")}})};return(R,o)=>(u(),w(v,{title:"Reset password",description:"Please enter your new password below"},{default:t(()=>[a(s(V),{title:"Reset password"}),l("form",{onSubmit:b(c,["prevent"])},[l("div",P,[l("div",$,[a(s(i),{for:"email"},{default:t(()=>o[3]||(o[3]=[d("Email")])),_:1}),a(s(m),{id:"email",type:"email",name:"email",autocomplete:"email",modelValue:s(e).email,"onUpdate:modelValue":o[0]||(o[0]=r=>s(e).email=r),class:"mt-1 block w-full",readonly:""},null,8,["modelValue"]),a(n,{message:s(e).errors.email,class:"mt-2"},null,8,["message"])]),l("div",x,[a(s(i),{for:"password"},{default:t(()=>o[4]||(o[4]=[d("Password")])),_:1}),a(s(m),{id:"password",type:"password",name:"password",autocomplete:"new-password",modelValue:s(e).password,"onUpdate:modelValue":o[1]||(o[1]=r=>s(e).password=r),class:"mt-1 block w-full",autofocus:"",placeholder:"Password"},null,8,["modelValue"]),a(n,{message:s(e).errors.password},null,8,["message"])]),l("div",N,[a(s(i),{for:"password_confirmation"},{default:t(()=>o[5]||(o[5]=[d(" Confirm Password ")])),_:1}),a(s(m),{id:"password_confirmation",type:"password",name:"password_confirmation",autocomplete:"new-password",modelValue:s(e).password_confirmation,"onUpdate:modelValue":o[2]||(o[2]=r=>s(e).password_confirmation=r),class:"mt-1 block w-full",placeholder:"Confirm password"},null,8,["modelValue"]),a(n,{message:s(e).errors.password_confirmation},null,8,["message"])]),a(s(y),{type:"submit",class:"mt-4 w-full",disabled:s(e).processing},{default:t(()=>[s(e).processing?(u(),w(s(C),{key:0,class:"h-4 w-4 animate-spin"})):k("",!0),o[6]||(o[6]=d(" Reset password "))]),_:1},8,["disabled"])])],32)]),_:1}))}});export{F as default};
|
||||
@@ -0,0 +1,3 @@
|
||||
import{P as D,r as Q,S as _}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{d as P,g as L,o as B,w as O,q as V,u as S,$ as K,a0 as G,A as v,c as C,a1 as x,k as F,s as W,p as X,O as z,a2 as R,a3 as $,a4 as Z,a5 as Y,a6 as ee,R as te,a7 as ne,e as oe}from"./app-DCwpEDbg.js";import{p as ae,i as re,u as q,b as se}from"./useForwardExpose-sC1iCvAF.js";const be=P({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(t){return(e,n)=>(B(),L(S(D),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:O(()=>[V(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}});function H(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,o=Symbol(n);return[i=>{const u=K(o,i);if(u||u===null)return u;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},i=>(G(o,i),i)]}const[J,Ce]=H("ConfigProvider");function ie(t){const e=J({dir:v("ltr")});return C(()=>{var n;return(t==null?void 0:t.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}let ue=0;function Te(t,e="reka"){const n=J({useId:void 0});return x?`${e}-${x()}`:n.useId?`${e}-${n.useId()}`:`${e}-${++ue}`}function le(t,e){const n=v(t);function o(d){return e[n.value][d]??n.value}return{state:n,dispatch:d=>{n.value=o(d)}}}function ce(t,e){var y;const n=v({}),o=v("none"),s=v(t),d=t.value?"mounted":"unmounted";let i;const u=((y=e.value)==null?void 0:y.ownerDocument.defaultView)??ae,{state:m,dispatch:f}=le(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=r=>{var l;if(re){const h=new CustomEvent(r,{bubbles:!1,cancelable:!1});(l=e.value)==null||l.dispatchEvent(h)}};F(t,async(r,l)=>{var I;const h=l!==r;if(await W(),h){const T=o.value,g=M(e.value);r?(f("MOUNT"),c("enter"),g==="none"&&c("after-enter")):g==="none"||g==="undefined"||((I=n.value)==null?void 0:I.display)==="none"?(f("UNMOUNT"),c("leave"),c("after-leave")):l&&T!==g?(f("ANIMATION_OUT"),c("leave")):(f("UNMOUNT"),c("after-leave"))}},{immediate:!0});const a=r=>{const l=M(e.value),h=l.includes(r.animationName),I=m.value==="mounted"?"enter":"leave";if(r.target===e.value&&h&&(c(`after-${I}`),f("ANIMATION_END"),!s.value)){const T=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",i=u==null?void 0:u.setTimeout(()=>{var g;((g=e.value)==null?void 0:g.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=T)})}r.target===e.value&&l==="none"&&f("ANIMATION_END")},p=r=>{r.target===e.value&&(o.value=M(e.value))},A=F(e,(r,l)=>{r?(n.value=getComputedStyle(r),r.addEventListener("animationstart",p),r.addEventListener("animationcancel",a),r.addEventListener("animationend",a)):(f("ANIMATION_END"),i!==void 0&&(u==null||u.clearTimeout(i)),l==null||l.removeEventListener("animationstart",p),l==null||l.removeEventListener("animationcancel",a),l==null||l.removeEventListener("animationend",a))},{immediate:!0}),E=F(m,()=>{const r=M(e.value);o.value=m.value==="mounted"?r:"none"});return X(()=>{A(),E()}),{isPresent:C(()=>["mounted","unmountSuspended"].includes(m.value))}}function M(t){return t&&getComputedStyle(t).animationName||"none"}const Se=P({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:e,expose:n}){var f;const{present:o,forceMount:s}=z(t),d=v(),{isPresent:i}=ce(o,d);n({present:i});let u=e.default({present:i.value});u=Q(u||[]);const m=R();if(u&&(u==null?void 0:u.length)>1){const c=(f=m==null?void 0:m.parent)!=null&&f.type.name?`<${m.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(a=>` - ${a}`).join(`
|
||||
`)].join(`
|
||||
`))}return()=>s.value||o.value||i.value?$(e.default({present:i.value})[0],{ref:c=>{const a=q(c);return typeof(a==null?void 0:a.hasAttribute)>"u"||(a!=null&&a.hasAttribute("data-reka-popper-content-wrapper")?d.value=a.firstElementChild:d.value=a),a}}):null}});function de(t){const e=R(),n=e==null?void 0:e.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(s=>{o[Z(Y(s))]=(...d)=>t(s,...d)}),o}function fe(t){const e=R(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((s,d)=>{const i=(e==null?void 0:e.type.props[d]).default;return i!==void 0&&(s[d]=i),s},{}),o=ee(t);return C(()=>{const s={},d=(e==null?void 0:e.vnode.props)??{};return Object.keys(d).forEach(i=>{s[Y(i)]=d[i]}),Object.keys({...n,...s}).reduce((i,u)=>(o.value[u]!==void 0&&(i[u]=o.value[u]),i),{})})}function Pe(t,e){const n=fe(t),o=e?de(e):{};return C(()=>({...n.value,...o}))}function U(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function k(){const t=v(),e=C(()=>{var n,o;return["#text","#comment"].includes((n=t.value)==null?void 0:n.$el.nodeName)?(o=t.value)==null?void 0:o.$el.nextElementSibling:q(t)});return{primitiveElement:t,currentElement:e}}const me="rovingFocusGroup.onEntryFocus",pe={bubbles:!1,cancelable:!0},ve={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function he(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Me(t,e,n){const o=he(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return ve[o]}function Ae(t,e=!1){const n=U();for(const o of t)if(o===n||(o.focus({preventScroll:e}),U()!==n))return}function Fe(t,e){return t.map((n,o)=>t[(e+o)%t.length])}const j="data-reka-collection-item";function Ee(t={}){const{key:e="",isProvider:n=!1}=t,o=`${e}CollectionProvider`;let s;if(n){const c=v(new Map);s={collectionRef:v(),itemMap:c},G(o,s)}else s=K(o);const d=(c=!1)=>{const a=s.collectionRef.value;if(!a)return[];const p=Array.from(a.querySelectorAll(`[${j}]`)),E=Array.from(s.itemMap.value.values()).sort((w,y)=>p.indexOf(w.ref)-p.indexOf(y.ref));return c?E:E.filter(w=>w.ref.dataset.disabled!=="")},i=P({name:"CollectionSlot",setup(c,{slots:a}){const{primitiveElement:p,currentElement:A}=k();return F(A,()=>{s.collectionRef.value=A.value}),()=>$(_,{ref:p},a)}}),u=P({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:a,attrs:p}){const{primitiveElement:A,currentElement:E}=k();return te(w=>{if(E.value){const y=ne(E.value);s.itemMap.value.set(y,{ref:E.value,value:c.value}),w(()=>s.itemMap.value.delete(y))}}),()=>$(_,{...p,[j]:"",ref:A},a)}}),m=C(()=>Array.from(s.itemMap.value.values())),f=C(()=>s.itemMap.value.size);return{getItems:d,reactiveItems:m,itemMapSize:f,CollectionSlot:i,CollectionItem:u}}const[Oe,ye]=H("RovingFocusGroup"),$e=P({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(t,{expose:e,emit:n}){const o=t,s=n,{loop:d,orientation:i,dir:u}=z(o),m=ie(u),f=se(o,"currentTabStopId",s,{defaultValue:o.defaultCurrentTabStopId,passive:o.currentTabStopId===void 0}),c=v(!1),a=v(!1),p=v(0),{getItems:A,CollectionSlot:E}=Ee({isProvider:!0});function w(r){const l=!a.value;if(r.currentTarget&&r.target===r.currentTarget&&l&&!c.value){const h=new CustomEvent(me,pe);if(r.currentTarget.dispatchEvent(h),s("entryFocus",h),!h.defaultPrevented){const I=A().map(b=>b.ref).filter(b=>b.dataset.disabled!==""),T=I.find(b=>b.getAttribute("data-active")===""),g=I.find(b=>b.id===f.value),N=[T,g,...I].filter(Boolean);Ae(N,o.preventScrollOnEntryFocus)}}a.value=!1}function y(){setTimeout(()=>{a.value=!1},1)}return e({getItems:A}),ye({loop:d,dir:m,orientation:i,currentTabStopId:f,onItemFocus:r=>{f.value=r},onItemShiftTab:()=>{c.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(r,l)=>(B(),L(S(E),null,{default:O(()=>[oe(S(D),{tabindex:c.value||p.value===0?-1:0,"data-orientation":S(i),as:r.as,"as-child":r.asChild,dir:S(m),style:{outline:"none"},onMousedown:l[0]||(l[0]=h=>a.value=!0),onMouseup:y,onFocus:w,onBlur:l[1]||(l[1]=h=>c.value=!1)},{default:O(()=>[V(r.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}});export{Se as P,be as _,Te as a,Ee as b,H as c,Pe as d,fe as e,Ae as f,Me as g,U as h,Oe as i,de as j,J as k,ie as l,$e as m,k as u,Fe as w};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as o,g as r,o as a,u as t,P as n,w as s,q as d}from"./app-DCwpEDbg.js";const l=o({__name:"TextLink",props:{href:{},tabindex:{},method:{},as:{}},setup(i){return(e,u)=>(a(),r(t(n),{href:e.href,tabindex:e.tabindex,method:e.method,as:e.as,class:"text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500"},{default:s(()=>[d(e.$slots,"default")]),_:3},8,["href","tabindex","method","as"]))}});export{l as _};
|
||||
@@ -0,0 +1 @@
|
||||
import{d as c,C as f,g as n,o as a,w as i,e as o,a as u,j as m,b as p,u as e,m as _,i as y,h as d}from"./app-DCwpEDbg.js";import{_ as b}from"./TextLink.vue_vue_type_script_setup_true_lang-CyaGH5Jv.js";import{_ as k}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-C7FVy0Gu.js";import{L as v,_ as g}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DU7fuk8t.js";const h={key:0,class:"mb-4 text-center text-sm font-medium text-green-600"},N=c({__name:"VerifyEmail",props:{status:{}},setup(x){const s=f({}),l=()=>{s.post(route("verification.send"))};return(r,t)=>(a(),n(g,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you."},{default:i(()=>[o(e(_),{title:"Email verification"}),r.status==="verification-link-sent"?(a(),u("div",h," A new verification link has been sent to the email address you provided during registration. ")):m("",!0),p("form",{onSubmit:y(l,["prevent"]),class:"space-y-6 text-center"},[o(e(k),{disabled:e(s).processing,variant:"secondary"},{default:i(()=>[e(s).processing?(a(),n(e(v),{key:0,class:"h-4 w-4 animate-spin"})):m("",!0),t[0]||(t[0]=d(" Resend verification email "))]),_:1},8,["disabled"]),o(b,{href:r.route("logout"),method:"post",as:"button",class:"mx-auto block text-sm"},{default:i(()=>t[1]||(t[1]=[d(" Log out ")])),_:1},8,["href"])],32)]),_:1}))}});export{N as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user