Deploying to gh-pages from @ PhaseII-eAmusement-Network/PhaseWeb3-Vue@35271561c2 🚀
5
assets/ArcadeView.2528a0f9.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import{J as C,z as m,o as t,c as b,b as e,F as f,r as x,t as i,g as s,a as c,w as u,l as N,d as o,p as S,a6 as P,R as g,a7 as T,h as d,a8 as B,a9 as E,n as I,_ as D,e as L,f as v,i as M,a4 as $}from"./index.a3e3dc89.js";import{C as O}from"./CardBoxComponentEmpty.5937e322.js";const V=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"PCBID"),e("th",null,"Cabinet?"),e("th",null,"Updates?")])],-1),j={"data-label":"Name"},z={"data-label":"PCBID"},F={"data-label":"Cabinet?"},G={"data-label":"Updates?"},J={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},H={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(p){const r=p,n=C(5),a=C(0),k=m(()=>r.machines.slice(n.value*a.value,n.value*(a.value+1))),y=m(()=>Math.ceil(r.machines.length/n.value)),w=m(()=>a.value+1),A=m(()=>{const h=[];for(let _=0;_<y.value;_++)h.push(_);return h});return(h,_)=>(t(),b(f,null,[e("table",null,[V,e("tbody",null,[(t(!0),b(f,null,x(s(k),l=>(t(),b("tr",{key:l.id},[e("td",j,i(l.name),1),e("td",z,i(l.pcbid),1),e("td",F,i(l.cabinet?"Yes":"No"),1),e("td",G,i(l.ota?"Yes":"No"),1)]))),128))])]),e("div",J,[c(P,null,{default:u(()=>[c(N,null,{default:u(()=>[(t(!0),b(f,null,x(s(A),l=>(t(),o(S,{key:l,active:l===a.value,label:l+1,color:l===a.value?"lightDark":"whiteDark",small:"",onClick:K=>a.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+i(s(w))+" of "+i(s(y)),1)]),_:1})])],64))}},R={class:"space-y-3 text-center"},U={class:"text-2xl lg:text-3xl"},Y={class:"flex flex-wrap gap-4 place-content-center"},q={__name:"ArcadeCard",setup(p){function r(a){if(a!==null)return`
|
||||
background-image: url('${a}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
`}const n={id:0,name:"Test Arcade",beta:!0,public:!0,cover:"https://nianticlabs.com/img/posts/smb-spotlight-boss-battle-games.jpg"};return(a,k)=>(t(),o(D,{style:I(r(n.cover))},{default:u(()=>[c(P,{type:"justify-center",class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},{default:u(()=>[e("div",R,[e("h1",U,i(n.name),1),e("div",Y,[n.beta?(t(),o(g,{key:0,label:"Beta Enabled",color:"warning",icon:s(T)},null,8,["icon"])):d("",!0),n.public?(t(),o(g,{key:1,label:"Public Arcade",color:"success",icon:s(B)},null,8,["icon"])):d("",!0),n.public?d("",!0):(t(),o(g,{key:2,label:"Private Arcade",color:"info",icon:s(E)},null,8,["icon"]))])])]),_:1})]),_:1},8,["style"]))}},X={__name:"ArcadeView",setup(p){const r=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(n,a)=>(t(),o(L,null,{default:u(()=>[c(M,null,{default:u(()=>[c(v,{icon:s(B),title:"Manage Arcade",main:""},null,8,["icon"]),c(q,{class:"mb-6"}),c(v,{icon:s($),title:"Machines"},null,8,["icon"]),c(D,{class:"mb-6","has-table":""},{default:u(()=>[r.length?(t(),o(H,{key:0,machines:r})):d("",!0),r.length?d("",!0):(t(),o(O,{key:1}))]),_:1}),c(v,{icon:s($),title:"Game Settings"},null,8,["icon"])]),_:1})]),_:1}))}};export{X as default};
|
||||
1
assets/CardBoxComponentEmpty.5937e322.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{j as e,o as t,c as o,b as s}from"./index.a3e3dc89.js";const c={},n={class:"text-center py-14 text-gray-500 dark:text-slate-400"},r=s("p",null,"Nothing's here\u2026",-1),a=[r];function _(d,i){return t(),o("div",n,a)}const l=e(c,[["render",_]]);export{l as C};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{f as y,E as b,G as $,r as v,H as B,o as l,g as C,h as i,a as n,b as u,c as r,I as S,j as _,J as h,k as c,l as f,K as x,m as N,L as V,t as D,d as g,M as k,y as E,_ as L,N as q,O as z,P as M}from"./index.5987daaf.js";const O={class:"flex flex-col md:flex-row items-center"},j={class:"text-center md:text-left md:py-2"},Q={__name:"NotificationBar",props:{icon:{type:String,default:null},outline:Boolean,color:{type:String,required:!0}},setup(e){const s=e,d=y(()=>s.outline?b[s.color]:$[s.color]),o=v(!1),m=()=>{o.value=!0},p=B(),a=y(()=>p.right);return(t,w)=>o.value?_("",!0):(l(),C("div",{key:0,class:V([c(d),"px-3 py-6 md:py-3 mb-6 last:mb-0 border rounded-lg transition-colors duration-150"])},[i(N,null,{default:n(()=>[u("div",O,[e.icon?(l(),r(S,{key:0,path:e.icon,w:"w-10 md:w-5",h:"h-10 md:h-5",size:"24",class:"md:mr-2"},null,8,["path"])):_("",!0),u("span",j,[h(t.$slots,"default")])]),c(a)?h(t.$slots,"right",{key:0}):(l(),r(f,{key:1,icon:c(x),small:"","rounded-full":"",color:"white",onClick:m},null,8,["icon"]))]),_:3})],2))}},G={class:"flex items-center justify-between mb-3"},H={class:"text-2xl"},I={__name:"CardBoxComponentTitle",props:{title:{type:String,required:!0}},setup(e){return(s,d)=>(l(),C("div",G,[u("h1",H,D(e.title),1),h(s.$slots,"default")]))}},J={class:"space-y-3"},U={__name:"CardBoxModal",props:{title:{type:String,required:!0},button:{type:String,default:"info"},buttonLabel:{type:String,default:"Done"},hasCancel:Boolean,modelValue:{type:[String,Number,Boolean],default:null}},emits:["update:modelValue","cancel","confirm"],setup(e,{emit:s}){const d=e,o=y({get:()=>d.modelValue,set:t=>s("update:modelValue",t)}),m=t=>{o.value=!1,s(t)},p=()=>m("confirm"),a=()=>m("cancel");return window.addEventListener("keydown",t=>{t.key==="Escape"&&o.value&&a()}),(t,w)=>g((l(),r(z,{onOverlayClick:a},{default:n(()=>[g(i(E,{class:"shadow-lg max-h-modal w-11/12 md:w-3/5 lg:w-2/5 xl:w-4/12 z-50","is-modal":""},{footer:n(()=>[i(L,null,{default:n(()=>[i(f,{label:e.buttonLabel,color:e.button,onClick:p},null,8,["label","color"]),e.hasCancel?(l(),r(f,{key:0,label:"Cancel",color:e.button,outline:"",onClick:a},null,8,["color"])):_("",!0)]),_:1})]),default:n(()=>[i(I,{title:e.title},{default:n(()=>[e.hasCancel?(l(),r(f,{key:0,icon:c(x),color:"whiteDark",small:"","rounded-full":"",onClick:q(a,["prevent"])},null,8,["icon","onClick"])):_("",!0)]),_:1},8,["title"]),u("div",J,[h(t.$slots,"default")])]),_:3},512),[[k,c(o)]])]),_:3},512)),[[k,c(o)]])}},K={},P={class:"text-center py-24 text-gray-500 dark:text-slate-400"},R=u("p",null,"Nothing's here\u2026",-1),T=[R];function A(e,s){return l(),C("div",P,T)}const W=M(K,[["render",A]]);export{W as C,U as _,Q as a,I as b};
|
||||
1
assets/CustomizeView.46b0ced4.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{d as t,w as e,e as i,o as r,a,P as n,f as c,g as _,b as s,_ as d,p as o,i as m,W as u}from"./index.a3e3dc89.js";import{_ as l}from"./FormControl.f773f283.js";const f={class:"grid grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),p=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),v=s("h2",{class:"text-lg mb-2"},"Profile Background",-1),b={class:"space-x-2"},P={__name:"CustomizeView",setup(h){return(x,$)=>(r(),t(i,null,{default:e(()=>[a(m,null,{default:e(()=>[a(n,{class:"mb-6","use-small":""}),a(c,{icon:_(u),title:"Profile Customizations",main:""},null,8,["icon"]),s("div",null,[a(d,null,{footer:e(()=>[s("div",b,[a(o,{type:"submit",color:"success",label:"Save"}),a(o,{type:"submit",color:"danger",label:"Revert"})])]),default:e(()=>[s("div",f,[s("div",null,[g,a(l,{options:["Discord","Gravatar","Kamaitachi"],"model-value":"Gravatar",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{_ as o,a as r}from"./LayoutGuest.57c1be46.js";import{c as _,a,o as l,h as s,y as t,L as n,_ as d,l as i,b as e}from"./index.5987daaf.js";const f=e("div",{class:"space-y-3"},[e("h1",{class:"text-2xl"},"Unhandled exception"),e("p",null,"An Error Occurred")],-1),$={__name:"ErrorView",setup(m){return(u,p)=>(l(),_(o,null,{default:a(()=>[s(r,{bg:"pinkRed"},{default:a(({cardClass:c})=>[s(t,{class:n(c)},{footer:a(()=>[s(d,null,{default:a(()=>[s(i,{label:"Done",to:"/dashboard",color:"danger"})]),_:1})]),default:a(()=>[f]),_:2},1032,["class"])]),_:1})]),_:1}))}};export{$ as default};
|
||||
1
assets/FormCheckRadio.1a632d14.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{z as s,o as d,c as p,A as m,B as y,g as u,b as a,C as b,t as h,D as V}from"./index.a3e3dc89.js";const g=["type","name","value"],f=a("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,t=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(a("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(t)?t.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(t)]]),f,a("span",k,h(e.label),1)],2))}};export{B as _};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{f as s,o as d,g as p,d as m,a2 as y,k as u,b as t,Y as b,t as h,L as V}from"./index.5987daaf.js";const f=["type","name","value"],g=t("span",{class:"check"},null,-1),k={class:"pl-2"},S={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,a=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(t("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(a)?a.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,f),[[y,u(a)]]),g,t("span",k,h(e.label),1)],2))}};export{S as _};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{_ as d}from"./FormCheckRadio.814cba01.js";import{f as p,o as a,g as u,F as f,i as y,L as s,c as b,k as V,Y as g}from"./index.5987daaf.js";const C={__name:"FormCheckRadioGroup",props:{options:{type:Object,default:()=>{}},name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},componentClass:{type:String,default:null},isColumn:Boolean,modelValue:{type:[Array,String,Number,Boolean],default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const r=e,l=p({get:()=>r.modelValue,set:t=>{m("update:modelValue",t)}});return(t,o)=>(a(),u("div",{class:s(["flex justify-start flex-wrap -mb-3",{"flex-col":e.isColumn}])},[(a(!0),u(f,null,y(e.options,(i,n)=>(a(),b(d,{key:n,modelValue:V(l),"onUpdate:modelValue":o[0]||(o[0]=c=>g(l)?l.value=c:null),type:e.type,name:e.name,"input-value":n,label:i,class:s([e.componentClass,"mr-6 mb-3 last:mr-0"])},null,8,["modelValue","type","name","input-value","label","class"]))),128))],2))}};export{C as _};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{o as r,c as w,I as E,f as m,u as V,r as p,Z as F,$ as R,g as s,k as a,d as g,a0 as q,Y as h,L as v,F as C,i as M,a1 as D,a2 as L,j as U,t as I}from"./index.5987daaf.js";const K={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),w(E,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},$={class:"relative"},j=["id","name"],z=["value"],A=["id","name","maxlength","placeholder","required"],H=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],T={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-gray-700 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),B=m(()=>n.type==="textarea"?"h-full":"h-12"),y=V(),x=p(null),k=p(null),c=p(null);if(F(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=t=>{t.ctrlKey&&t.key==="k"?(t.preventDefault(),c.value.focus()):t.key==="Escape"&&c.value.blur()};F(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),R(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,t)=>(r(),s("div",$,[a(i)==="select"?g((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":t[0]||(t[0]=l=>h(o)?o.value=l:null),name:e.name,class:v(a(f))},[(r(!0),s(C,null,M(e.options,l=>{var S,b;return r(),s("option",{key:(S=l.id)!=null?S:l,value:l},I((b=l.label)!=null?b:l),9,z)}),128))],10,j)),[[q,a(o)]]):a(i)==="textarea"?g((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":t[1]||(t[1]=l=>h(o)?o.value=l:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,A)),[[D,a(o)]]):g((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":t[2]||(t[2]=l=>h(o)?o.value=l:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,H)),[[L,a(o)]]),e.icon?(r(),w(K,{key:3,icon:e.icon,h:a(B)},null,8,["icon","h"])):U("",!0)]))}};export{T as _};
|
||||
1
assets/FormControl.f773f283.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{o as r,d as w,H as E,z as m,I as V,J as p,K as F,L as R,c as s,g as a,A as g,M as q,C as h,D as v,F as C,r as M,t as D,N as K,B as L,h as U}from"./index.a3e3dc89.js";const z={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),w(E,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},A={class:"relative"},H=["id","name"],I=["value"],N=["id","name","maxlength","placeholder","required"],T=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],j={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-gray-700 dark:border-gray-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),B=m(()=>n.type==="textarea"?"h-full":"h-12"),y=V(),x=p(null),k=p(null),c=p(null);if(F(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=t=>{t.ctrlKey&&t.key==="k"?(t.preventDefault(),c.value.focus()):t.key==="Escape"&&c.value.blur()};F(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),R(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,t)=>(r(),s("div",A,[a(i)==="select"?g((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":t[0]||(t[0]=l=>h(o)?o.value=l:null),name:e.name,class:v(a(f))},[(r(!0),s(C,null,M(e.options,l=>{var b,S;return r(),s("option",{key:(b=l.id)!=null?b:l,value:l},D((S=l.label)!=null?S:l),9,I)}),128))],10,H)),[[q,a(o)]]):a(i)==="textarea"?g((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":t[1]||(t[1]=l=>h(o)?o.value=l:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,N)),[[K,a(o)]]):g((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":t[2]||(t[2]=l=>h(o)?o.value=l:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,T)),[[L,a(o)]]),e.icon?(r(),w(z,{key:3,icon:e.icon,h:a(B)},null,8,["icon","h"])):U("",!0)]))}};export{j as _};
|
||||
|
|
@ -1 +1 @@
|
|||
import{H as d,f as i,o as l,g as a,t as o,j as r,b as u,J as m,L as f,k as b}from"./index.5987daaf.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},y={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:f(b(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{y as _};
|
||||
import{E as d,z as i,o as l,c as a,t as o,h as r,b as u,G as m,D as b,g as f}from"./index.a3e3dc89.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:b(f(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _};
|
||||
1
assets/IntegrationView.5d51c91c.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{d as c,w as t,e as r,o as _,a as s,P as d,f as m,g as a,b as l,_ as i,p as e,R as o,i as u,X as n,Y as b,Z as f,$ as h,a0 as p}from"./index.a3e3dc89.js";const k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},g=l("h1",{class:"text-lg"},[n("Discord is linked to "),l("b",null,"@trmazi")],-1),x=l("h1",{class:"text-lg"},"Discord isn't linked!",-1),y={class:"space-x-2"},$=l("h1",{class:"text-lg"},[n("Kamaitachi is linked to "),l("b",null,"@trmazi")],-1),w=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),N={class:"space-x-2"},v=l("h1",{class:"text-lg"},[n("Start.GG is linked to "),l("b",null,"@trmazi")],-1),G=l("h1",{class:"text-lg"},"Start.GG isn't linked!",-1),S={class:"space-x-2"},D={__name:"IntegrationView",setup(R){return(V,z)=>(_(),c(r,null,{default:t(()=>[s(u,null,{default:t(()=>[s(d,{class:"mb-6","use-small":""}),s(m,{icon:a(b),title:"Server Integrations",main:""},null,8,["icon"]),l("div",k,[s(i,null,{footer:t(()=>[l("div",y,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{color:"info",icon:a(f),label:"Discord",class:"mb-2"},null,8,["icon"]),g,x]),_:1}),s(i,null,{footer:t(()=>[l("div",N,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(h),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),$,w]),_:1}),s(i,null,{footer:t(()=>[l("div",S,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(p),color:"info",label:"Start.GG",class:"mb-2"},null,8,["icon"]),v,G]),_:1})])]),_:1})]),_:1}))}};export{D as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{f as i,a8 as t,ai as u,aj as p,ak as k,o as n,g as o,J as c,L as l,k as d,b as _}from"./index.5987daaf.js";const S={__name:"SectionFullScreen",props:{bg:{type:String,required:!0,validator:e=>["purplePink","pinkRed"].includes(e)}},setup(e){const s=e,a=i(()=>{if(t().darkMode)return u;switch(s.bg){case"purplePink":return k;case"pinkRed":return p}return""});return(r,m)=>(n(),o("div",{class:l(["flex min-h-screen items-center justify-center",d(a)])},[c(r.$slots,"default",{cardClass:"w-11/12 md:w-7/12 lg:w-6/12 xl:w-4/12 shadow-2xl"})],2))}},g={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},h={__name:"LayoutGuest",setup(e){const s=t();return(a,r)=>(n(),o("div",{class:l({dark:d(s).darkMode})},[_("div",g,[c(a.$slots,"default")])],2))}};export{h as _,S as a};
|
||||
1
assets/LayoutGuest.d4bdb44a.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{O as a,o as t,c as r,b as o,G as l,D as c,g as n}from"./index.a3e3dc89.js";const d={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},k={__name:"LayoutGuest",setup(_){const e=a();return(s,u)=>(t(),r("div",{class:c({dark:n(e).darkMode})},[o("div",d,[l(s.$slots,"default")])],2))}};export{k as _};
|
||||
1
assets/LoginView.cdf3947f.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{s as c,d as _,w as t,o as f,b as e,a as s,g as n,p as r,_ as p,v as h,u as x,x as b,y as w}from"./index.a3e3dc89.js";import{_ as g}from"./FormCheckRadio.1a632d14.js";import{_ as m}from"./FormField.8600c9db.js";import{_ as d}from"./FormControl.f773f283.js";import{_ as v}from"./LayoutGuest.d4bdb44a.js";const V={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:h,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r md:border-1"},null,-1),P={class:"flex flex-col gap-2 mt-4"},U=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"New Here?",-1),B=e("h2",null,"Forgot Password?",-1),M={__name:"LoginView",setup(I){const o=c({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=x(),u=()=>{i.push("/")};return(N,l)=>(f(),_(v,null,{default:t(()=>[e("div",V,[s(p,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",y,[$,k,e("div",null,[s(m,{label:"Username"},{default:t(()=>[s(d,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:n(b),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),s(m,{label:"Password"},{default:t(()=>[s(d,{modelValue:o.pass,"onUpdate:modelValue":l[1]||(l[1]=a=>o.pass=a),icon:n(w),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(g,{modelValue:o.remember,"onUpdate:modelValue":l[2]||(l[2]=a=>o.remember=a),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",P,[s(r,{label:"Log In",color:"success",onClick:l[3]||(l[3]=a=>u())})]),U,e("div",R,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{M as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{T as p,c as f,a,o as _,h as e,y as c,L as b,N as V,_ as g,l as r,k as n,ah as w,W as $,a6 as h}from"./index.5987daaf.js";import{_ as k,a as y}from"./LayoutGuest.57c1be46.js";import{_ as L}from"./FormCheckRadio.814cba01.js";import{_ as m}from"./FormField.1bef021a.js";import{_ as t}from"./FormControl.4e2a271e.js";const C={__name:"LoginView",setup(P){const o=p({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=w(),u=()=>{i.push("/dashboard")};return(U,s)=>(_(),f(k,null,{default:a(()=>[e(y,{bg:"purplePink"},{default:a(({cardClass:d})=>[e(c,{class:b(d),"is-form":"",onSubmit:V(u,["prevent"])},{footer:a(()=>[e(g,null,{default:a(()=>[e(r,{type:"submit",color:"info",label:"Login"}),e(r,{to:"/dashboard",color:"info",outline:"",label:"Back"})]),_:1})]),default:a(()=>[e(m,{label:"Login",help:"Please enter your login"},{default:a(()=>[e(t,{modelValue:o.login,"onUpdate:modelValue":s[0]||(s[0]=l=>o.login=l),icon:n($),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(m,{label:"Password",help:"Please enter your password"},{default:a(()=>[e(t,{modelValue:o.pass,"onUpdate:modelValue":s[1]||(s[1]=l=>o.pass=l),icon:n(h),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(L,{modelValue:o.remember,"onUpdate:modelValue":s[2]||(s[2]=l=>o.remember=l),name:"remember",label:"Remember","input-value":!0},null,8,["modelValue"])]),_:2},1032,["class","onSubmit"])]),_:1})]),_:1}))}};export{C as default};
|
||||
6
assets/NewsView.af98ac12.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import{u as m,o as a,c as p,a as o,w as l,b as r,t as _,n as f,_ as g,d as n,e as h,f as b,g as s,r as v,F as y,h as k,i as w,m as x}from"./index.a3e3dc89.js";import{C as N}from"./CardBoxComponentEmpty.5937e322.js";import{t as C}from"./news.b9c16f1f.js";const $={class:"outline outline-green-900/50 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},S=r("p",{class:"text-sm font-bold"},"Unread",-1),B={class:"text-sm"},V=r("hr",{class:"pb-1"},null,-1),q={class:"text-xl pb-2"},z={__name:"CardBoxNews",props:{title:{type:String,required:!0},content:{type:String,required:!0},cover:{type:String,default:null},date:{type:String,required:!0},id:{type:Number,required:!0}},setup(i){const e=i,c=m();function u(d){if(d!==null)return`
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)),
|
||||
url('${e.cover}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
`}function t(){c.push(`/news/${e.id}`)}return(d,E)=>(a(),p("button",{class:"text-left",onClick:t},[o(g,{class:"mb-2",style:f(u(e.cover)),"has-table":""},{default:l(()=>[r("div",$,[S,r("p",B,_(e.date),1),V,r("h2",q,_(e.title),1)])]),_:1},8,["style"])]))}},D={class:"grid gap-4 grid-cols-1 w-full"},U={__name:"NewsView",setup(i){const e=C;return(c,u)=>(a(),n(h,null,{default:l(()=>[o(w,null,{default:l(()=>[o(b,{icon:s(x),title:"Network News",main:""},null,8,["icon"]),r("div",D,[(a(!0),p(y,null,v(s(e),t=>(a(),n(z,{id:t.id,key:t.id,title:t.title,content:t.content,date:t.timestamp,cover:t.cover,class:"w-full h-full"},null,8,["id","title","content","date","cover"]))),128))]),!s(e)||!s(e).length?(a(),n(N,{key:0})):k("",!0)]),_:1})]),_:1}))}};export{U as default};
|
||||
2
assets/PostView.298dd7fb.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import{d as h,w as e,e as p,k as x,o,a,T as w,_ as k,l as N,p as B,g as t,b as s,c as l,t as r,F as $,r as g,i as v,u as b,q as y}from"./index.a3e3dc89.js";import{t as D}from"./news.b9c16f1f.js";const V={class:"flex flex-col items-center"},C=["src"],F={class:"text-left md:text-center"},I={class:"text-2xl"},R=s("hr",{class:"pb-1 my-2"},null,-1),T=s("br",null,null,-1),q={key:1},z=s("h1",{class:"text-2xl"},"News not found...",-1),E=[z],G={__name:"PostView",setup(L){const _=x(),d=b(),u=parseInt(_.params.id),n=D.find(c=>c.id===u),f=n.content.split(`
|
||||
`);function m(){d.push("/news")}return(c,S)=>(o(),h(p,null,{default:e(()=>[a(v,null,{default:e(()=>[a(w,null,{default:e(()=>[a(k,{"has-table":""},{footer:e(()=>[a(N,null,{default:e(()=>[a(B,{label:"News",color:"info",icon:t(y),"icon-size":"20",onClick:m},null,8,["icon"])]),_:1})]),default:e(()=>[s("div",V,[s("img",{src:t(n).cover,class:"rounded-t-2xl md:rounded-2xl md:w-1/2 md:m-4"},null,8,C)]),t(n)?(o(),l("div",{key:t(n).id,class:"flex flex-col items-center p-4"},[s("div",F,[s("h1",I,r(t(n).title),1),R,(o(!0),l($,null,g(t(f),i=>(o(),l("div",{key:i},[s("p",null,r(i),1),T]))),128))])])):(o(),l("div",q,E))]),_:1})]),_:1})]),_:1})]),_:1}))}};export{G as default};
|
||||
1
assets/ProfileView.21ce573f.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{I as U,s as f,d as S,w as s,e as v,o as $,a as e,P,f as q,g as t,_ as u,Q as p,R as c,b as w,p as _,S as N,i as A,x as b,U as R,y as V,V as g}from"./index.a3e3dc89.js";import{_ as n}from"./FormField.8600c9db.js";import{_ as m}from"./FormCheckRadio.1a632d14.js";import{_ as i}from"./FormControl.f773f283.js";const C={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},T={__name:"ProfileView",setup(B){const d=U(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),r=f({password_current:"",password:"",password_confirmation:""}),x=()=>{d.setUser(l)},y=()=>{};return(E,a)=>($(),S(v,null,{default:s(()=>[e(A,null,{default:s(()=>[e(P,{class:"mb-6","use-small":""}),e(q,{icon:t(b),title:"Profile Settings",main:""},null,8,["icon"]),e(u,{"is-form":"",class:"mb-6",onSubmit:a[0]||(a[0]=p(()=>{},["prevent"]))},{default:s(()=>[e(c,{color:"info",label:"Discord Notifications",class:"mb-4"}),w("div",C,[e(m,{name:"scorecards","model-value":!0,type:"switch",label:"Goal Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"Tournament Status",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"PASELI Transactions",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"System Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"})])]),_:1}),w("div",k,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(n,{label:"Username"},{default:s(()=>[e(i,{modelValue:l.name,"onUpdate:modelValue":a[1]||(a[1]=o=>l.name=o),icon:t(b),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:s(()=>[e(i,{modelValue:l.email,"onUpdate:modelValue":a[2]||(a[2]=o=>l.email=o),icon:t(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(i,{modelValue:l.pin,"onUpdate:modelValue":a[3]||(a[3]=o=>l.pin=o),icon:t(V),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(y,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(n,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:r.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>r.password_current=o),icon:t(V),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(n,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:r.password,"onUpdate:modelValue":a[5]||(a[5]=o=>r.password=o),icon:t(g),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:r.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>r.password_confirmation=o),icon:t(g),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{T as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as g,T as d,c as $,a as o,x as q,o as y,h as e,a3 as N,k as r,a4 as P,b as S,y as u,N as p,l as c,a5 as f,U as x,z as v,W as w,X as k,a6 as _,a7 as b}from"./index.5987daaf.js";import{_ as i}from"./FormField.1bef021a.js";import{_ as t}from"./FormControl.4e2a271e.js";const C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},A={__name:"ProfileView",setup(R){const m=g(),l=d({name:m.userName,email:m.userEmail,pin:"****"}),n=d({password_current:"",password:"",password_confirmation:""}),V=()=>{m.setUser(l)},U=()=>{};return(B,a)=>(y(),$(q,null,{default:o(()=>[e(v,null,{default:o(()=>[e(N,{icon:r(w),title:"General Profile Settings",main:""},null,8,["icon"]),e(P,{class:"mb-6"}),S("div",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(V,["prevent"])},{footer:o(()=>[e(c,{color:"success",type:"submit",label:"Update"})]),default:o(()=>[e(f,{color:"info",label:"General",class:"mb-2"}),e(i,{label:"Username"},{default:o(()=>[e(t,{modelValue:l.name,"onUpdate:modelValue":a[0]||(a[0]=s=>l.name=s),icon:r(w),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:o(()=>[e(t,{modelValue:l.email,"onUpdate:modelValue":a[1]||(a[1]=s=>l.email=s),icon:r(k),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"PIN",help:"Used when logging into a game"},{default:o(()=>[e(t,{modelValue:l.pin,"onUpdate:modelValue":a[2]||(a[2]=s=>l.pin=s),icon:r(_),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(U,["prevent"])},{footer:o(()=>[e(c,{type:"submit",color:"success",label:"Update"})]),default:o(()=>[e(f,{color:"info",label:"Change Password",class:"mb-2"}),e(i,{label:"Current password",help:"Required. Your current password"},{default:o(()=>[e(t,{modelValue:n.password_current,"onUpdate:modelValue":a[3]||(a[3]=s=>n.password_current=s),icon:r(_),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(x),e(i,{label:"New password",help:"Required. New password"},{default:o(()=>[e(t,{modelValue:n.password,"onUpdate:modelValue":a[4]||(a[4]=s=>n.password=s),icon:r(b),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"Confirm password",help:"Required. New password one more time"},{default:o(()=>[e(t,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[5]||(a[5]=s=>n.password_confirmation=s),icon:r(b),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{A as default};
|
||||
1
assets/PublicView.7870d4c7.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{d as t,w as n,e as m,o as u,a,f as i,g as e,P as r,_,b as o,p as c,a1 as s,i as d,x as f,a2 as p,a3 as g,a4 as A,a5 as l}from"./index.a3e3dc89.js";const b={class:"flex gap-4"},v={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(u(),t(m,null,{default:n(()=>[a(d,null,{default:n(()=>[a(i,{icon:e(f),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",b,[a(c,{color:"success",label:"Add Friend",icon:e(p)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(g)},null,8,["icon"])])]),_:1}),a(i,{icon:e(A),title:"Game Stats",main:""},null,8,["icon"]),o("div",v,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default};
|
||||
1
assets/RegisterView.8367959e.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{s as f,d as _,w as t,o as b,b as l,a as e,g as r,p as m,_ as w,v as x,u as V,x as u,y as i}from"./index.a3e3dc89.js";import{_ as g}from"./FormCheckRadio.1a632d14.js";import{_ as n}from"./FormField.8600c9db.js";import{_ as d}from"./FormControl.f773f283.js";import{_ as h}from"./LayoutGuest.d4bdb44a.js";const v={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=l("div",{class:"flex flex-col items-center text-wrap h-full"},[l("img",{src:x,class:"rounded-full shadow-lg mb-2"}),l("h1",{class:"text-xl"},[l("samp",null,"PhaseII")]),l("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),l("hr",{class:"border-t border-1 my-1 w-full"}),l("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=l("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},P={class:"col-span-2"},k={class:"flex flex-col gap-2 mt-4"},C=l("hr",{class:"border-t border-1 my-4 w-full"},null,-1),I={class:"flex flex-col gap-2 my-4"},R=l("h2",null,"Have an Account?",-1),B=l("h2",null,"Forgot Password?",-1),L={__name:"RegisterView",setup(N){const a=f({username:"",email:"",pass:"",remember:!0}),c=V(),p=()=>{c.push("/")};return(D,s)=>(b(),_(h,null,{default:t(()=>[l("div",v,[e(w,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[l("div",y,[U,$,l("div",A,[e(n,{label:"Desired Username"},{default:t(()=>[e(d,{modelValue:a.username,"onUpdate:modelValue":s[0]||(s[0]=o=>a.username=o),icon:r(u),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Email Address"},{default:t(()=>[e(d,{modelValue:a.email,"onUpdate:modelValue":s[1]||(s[1]=o=>a.email=o),icon:r(u),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Password"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[2]||(s[2]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Password Confirmation"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[3]||(s[3]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Card ID"},{default:t(()=>[e(d,{modelValue:a.email,"onUpdate:modelValue":s[4]||(s[4]=o=>a.email=o),icon:r(u),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Game PIN"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[5]||(s[5]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(g,{modelValue:a.remember,"onUpdate:modelValue":s[6]||(s[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),l("div",P,[l("div",k,[e(m,{label:"Create Account",color:"success",onClick:s[7]||(s[7]=o=>p())})]),C,l("div",I,[R,e(m,{label:"Log In",color:"info",href:"/#/auth/login"}),B,e(m,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])])]),_:1})])]),_:1}))}};export{L as default};
|
||||
1
assets/ResetView.954d9e3d.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as o,_,v as f,u as h,x as p}from"./index.a3e3dc89.js";import{_ as x}from"./FormField.8600c9db.js";import{_ as b}from"./FormControl.f773f283.js";import{_ as g}from"./LayoutGuest.d4bdb44a.js";const w={class:"flex md:min-h-screen md:items-center md:justify-center"},v={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},y=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:f,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Password Reset")],-1),V=e("div",{class:"md:border-r md:border-1"},null,-1),$={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),k={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),I=e("h2",null,"New Here?",-1),E={__name:"ResetView",setup(N){const a=c({login:"test@website.com"}),i=h(),n=()=>{i.push("/auth/login")};return(A,l)=>(m(),d(g,null,{default:t(()=>[e("div",w,[s(_,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",v,[y,V,e("div",null,[s(x,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:a.login,"onUpdate:modelValue":l[0]||(l[0]=r=>a.login=r),icon:u(p),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(o,{label:"Submit",color:"info",onClick:l[1]||(l[1]=r=>n())})]),R,e("div",k,[B,s(o,{label:"Log In",color:"success",href:"/#/auth/login"}),I,s(o,{label:"Register",color:"info",href:"/#/auth/register"})])])])]),_:1})])]),_:1}))}};export{E as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{_ as l}from"./SectionTitle.a5f395e4.js";import{c as d,a as e,x as i,o as n,h as o,n as a,z as s,b as t}from"./index.5987daaf.js";const r=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-mobile.png",class:"block"})],-1),c=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-1024.png",class:"block"})],-1),m=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-1024-menu-open.png",class:"block"})],-1),u=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-widescreen.png",class:"block"})],-1),f={__name:"ResponsiveView",setup(_){return(p,h)=>(n(),d(i,null,{default:e(()=>[o(l,{first:""},{default:e(()=>[a("Mobile & Tablet")]),_:1}),o(s,null,{default:e(()=>[r]),_:1}),o(l,null,{default:e(()=>[a("Small laptop 1024px")]),_:1}),o(s,null,{default:e(()=>[c]),_:1}),o(s,null,{default:e(()=>[m]),_:1}),o(l,null,{default:e(()=>[a("Laptop & desktop")]),_:1}),o(s,null,{default:e(()=>[u]),_:1})]),_:1}))}};export{f as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{o as s,g as a,J as l,L as o}from"./index.5987daaf.js";const n={key:1,class:"text-2xl text-gray-500 dark:text-slate-400"},m={__name:"SectionTitle",props:{custom:Boolean,first:Boolean,last:Boolean},setup(t){return(e,c)=>(s(),a("section",{class:o(["py-24 px-6 lg:px-0 lg:max-w-2xl lg:mx-auto text-center",{"-mb-6":t.first,"-mt-6":t.last,"-my-6":!t.first&&!t.last}])},[t.custom?l(e.$slots,"default",{key:0}):(s(),a("h1",n,[l(e.$slots,"default")]))],2))}};export{m as _};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{f as o,H as r,o as t,g as m,b as n,c as a,Q as u,I as f,j as d,L as s,t as h,k as i,J as g,R as k,l as y}from"./index.5987daaf.js";const x={class:"flex items-center justify-start"},b={__name:"SectionTitleLineWithButton",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const l=o(()=>r().default);return(c,S)=>(t(),m("section",{class:s([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[n("div",x,[e.icon&&e.main?(t(),a(u,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(t(),a(f,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):d("",!0),n("h1",{class:s([e.main?"text-3xl":"text-2xl","leading-tight"])},h(e.title),3)]),i(l)?g(c.$slots,"default",{key:0}):(t(),a(y,{key:1,icon:i(k),color:"whiteDark"},null,8,["icon"]))],2))}};export{b as _};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{r as p,w as F,o,c as w,a as s,b as e,d as G,v as H,e as q,u as z,f as g,g as i,h as t,F as y,i as $,j as V,k as n,_ as P,l as C,t as c,m as O,n as x,p as R,q as W,s as I,x as J,y as B,z as K,A as Q,B as X,C as Y,D}from"./index.5987daaf.js";import{_ as S,a as E,C as Z}from"./CardBoxComponentEmpty.d2a35044.js";import{_ as M}from"./SectionTitleLineWithButton.73f27ca0.js";const ee={class:"checkbox"},le=e("span",{class:"check"},null,-1),te={__name:"TableCheckboxCell",props:{type:{type:String,default:"td"}},emits:["checked"],setup(f,{emit:k}){const r=p(!1);return F(r,_=>{k("checked",_)}),(_,m)=>(o(),w(q(f.type),{class:"lg:w-1"},{default:s(()=>[e("label",ee,[G(e("input",{"onUpdate:modelValue":m[0]||(m[0]=b=>r.value=b),type:"checkbox"},null,512),[[H,r.value]]),le])]),_:1}))}},ae=e("p",null,[x("Lorem ipsum dolor sit amet "),e("b",null,"adipiscing elit")],-1),se=e("p",null,"This is sample modal",-1),oe=e("p",null,[x("Lorem ipsum dolor sit amet "),e("b",null,"adipiscing elit")],-1),ne=e("p",null,"This is sample modal",-1),ie={key:0,class:"p-3 bg-gray-100/50 dark:bg-slate-800"},ce={key:0},re=e("th",null,null,-1),ue=e("th",null,"Name",-1),de=e("th",null,"Company",-1),_e=e("th",null,"City",-1),me=e("th",null,"Progress",-1),he=e("th",null,"Created",-1),pe=e("th",null,null,-1),fe={class:"border-b-0 lg:w-6 before:hidden"},be={"data-label":"Name"},ve={"data-label":"Company"},ge={"data-label":"City"},ke={"data-label":"Progress",class:"lg:w-32"},ye=["value"],Ce={"data-label":"Created",class:"lg:w-1 whitespace-nowrap"},we=["title"],xe={class:"before:hidden lg:w-1 whitespace-nowrap"},$e={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},Ve={__name:"TableSampleClients",props:{checkable:Boolean},setup(f){const k=z(),r=g(()=>k.clients),_=p(!1),m=p(!1),b=p(5),h=p(0),v=p([]),N=g(()=>r.value.slice(b.value*h.value,b.value*(h.value+1))),T=g(()=>Math.ceil(r.value.length/b.value)),L=g(()=>h.value+1),j=g(()=>{const u=[];for(let a=0;a<T.value;a++)u.push(a);return u}),A=(u,a)=>{const l=[];return u.forEach(d=>{a(d)||l.push(d)}),l},U=(u,a)=>{u?v.value.push(a):v.value=A(v.value,l=>l.id===a.id)};return(u,a)=>(o(),i(y,null,[t(S,{modelValue:_.value,"onUpdate:modelValue":a[0]||(a[0]=l=>_.value=l),title:"Sample modal"},{default:s(()=>[ae,se]),_:1},8,["modelValue"]),t(S,{modelValue:m.value,"onUpdate:modelValue":a[1]||(a[1]=l=>m.value=l),title:"Please confirm",button:"danger","has-cancel":""},{default:s(()=>[oe,ne]),_:1},8,["modelValue"]),v.value.length?(o(),i("div",ie,[(o(!0),i(y,null,$(v.value,l=>(o(),i("span",{key:l.id,class:"inline-block px-2 py-1 rounded-sm mr-2 text-sm bg-gray-100 dark:bg-slate-700"},c(l.name),1))),128))])):V("",!0),e("table",null,[e("thead",null,[e("tr",null,[f.checkable?(o(),i("th",ce)):V("",!0),re,ue,de,_e,me,he,pe])]),e("tbody",null,[(o(!0),i(y,null,$(n(N),l=>(o(),i("tr",{key:l.id},[f.checkable?(o(),w(te,{key:0,onChecked:d=>U(d,l)},null,8,["onChecked"])):V("",!0),e("td",fe,[t(R,{username:l.name,class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"},null,8,["username"])]),e("td",be,c(l.name),1),e("td",ve,c(l.company),1),e("td",ge,c(l.city),1),e("td",ke,[e("progress",{class:"flex w-2/5 self-center lg:w-full",max:"100",value:l.progress},c(l.progress),9,ye)]),e("td",Ce,[e("small",{class:"text-gray-500 dark:text-slate-400",title:l.created},c(l.created),9,we)]),e("td",xe,[t(P,{type:"justify-start lg:justify-end","no-wrap":""},{default:s(()=>[t(C,{color:"info",icon:n(W),small:"",onClick:a[2]||(a[2]=d=>_.value=!0)},null,8,["icon"]),t(C,{color:"danger",icon:n(I),small:"",onClick:a[3]||(a[3]=d=>m.value=!0)},null,8,["icon"])]),_:1})])]))),128))])]),e("div",$e,[t(O,null,{default:s(()=>[t(P,null,{default:s(()=>[(o(!0),i(y,null,$(n(j),l=>(o(),w(C,{key:l,active:l===h.value,label:l+1,color:l===h.value?"lightDark":"whiteDark",small:"",onClick:d=>h.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+c(n(L))+" of "+c(n(T)),1)]),_:1})])],64))}},Te=e("b",null,"Responsive table.",-1),Pe=e("b",null,"Empty table.",-1),Ee={__name:"TablesView",setup(f){return(k,r)=>(o(),w(J,null,{default:s(()=>[t(K,null,{default:s(()=>[t(M,{icon:n(Q),title:"Tables",main:""},{default:s(()=>[t(C,{href:"https://github.com/justboil/admin-one-vue-tailwind",target:"_blank",icon:n(X),label:"Star on GitHub",color:"contrast","rounded-full":"",small:""},null,8,["icon"])]),_:1},8,["icon"]),t(E,{color:"info",icon:n(Y)},{default:s(()=>[Te,x(" Collapses on mobile ")]),_:1},8,["icon"]),t(B,{class:"mb-6","has-table":""},{default:s(()=>[t(Ve,{checkable:""})]),_:1}),t(M,{icon:n(D),title:"Empty variation"},null,8,["icon"]),t(E,{color:"danger",icon:n(D)},{default:s(()=>[Pe,x(" When there's nothing to show ")]),_:1},8,["icon"]),t(B,null,{default:s(()=>[t(Z)]),_:1})]),_:1})]),_:1}))}};export{Ee as default};
|
||||
BIN
assets/border/nonbinary.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/border/pride.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/border/swirl.png
Normal file
|
After Width: | Height: | Size: 389 KiB |
BIN
assets/border/trans.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
assets/card/pride.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 360 KiB |
|
Before Width: | Height: | Size: 191 KiB |
BIN
assets/card/trans.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
46
assets/index.a3e3dc89.js
Normal file
1
assets/index.b5433f58.css
Normal file
4
assets/news.b9c16f1f.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
const t=[{id:0,title:"GITADORA HIGH-VOLTAGE Now Supported!",content:`Gitadora High-Voltage is now FULLY supported!
|
||||
I finally bit the bullet, sat down for 14 hours straight, and completely rewrote my Gitadora backend.
|
||||
For the time being this has broken all Gitadora ORIGINAL profiles, but these will be migrated over soon!
|
||||
Expect Nex+age and older to come soon. Enjoy!`,cover:"https://i.imgur.com/WPRlNo6.png",timestamp:"2022.11.20 5:48:10 PM"},{id:1,title:"FutureTomTom Now Supported!",content:"This weird drumming game now has support on PhaseII! Ver.1 and Ver.2 are both fully working, though there aren't any events set up currently.",cover:"https://i.imgur.com/UWtUAd5.png",timestamp:"2022.11.20 5:48:10 PM"}];export{t};
|
||||
1562
assets/particles.js
Normal file
110
data-sources/particles.json
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 14,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#4d5022"
|
||||
},
|
||||
"shape": {
|
||||
"type": "circle",
|
||||
"stroke": {
|
||||
"width": 0,
|
||||
"color": "#000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 6
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.3,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 1,
|
||||
"opacity_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 142.0465754938091,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": true,
|
||||
"speed": 10,
|
||||
"size_min": 40,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": false,
|
||||
"distance": 200,
|
||||
"color": "#ffffff",
|
||||
"opacity": 1,
|
||||
"width": 2
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 8,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"bounce": false,
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 1200
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": false,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": false,
|
||||
"mode": "remove"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 400,
|
||||
"size": 40,
|
||||
"duration": 2,
|
||||
"opacity": 8,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 200,
|
||||
"duration": 0.4
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": true
|
||||
}
|
||||
|
|
@ -5,13 +5,12 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<script src="https://kit.fontawesome.com/6ac6394f85.js" crossorigin="anonymous"></script>
|
||||
<title>PhaseWeb 3</title>
|
||||
|
||||
<script type="module" crossorigin src="/assets/index.5987daaf.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.1c7ba478.css">
|
||||
<script type="module" crossorigin src="/assets/index.a3e3dc89.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.b5433f58.css">
|
||||
</head>
|
||||
<body class="bg-slate-800">
|
||||
<body class="dark:bg-slate-800">
|
||||
<noscript>
|
||||
<strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
|
|
|
|||