Deploying to gh-pages from @ PhaseII-eAmusement-Network/PhaseWeb3-Vue@cd960068f0 🚀
|
|
@ -1,4 +1,4 @@
|
|||
import{o as e,d as l,w as _,a as g,ai as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,aj as p,h as m,ak as D,al as w,n as B,_ as v}from"./index.6ee415e0.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return`
|
||||
import{o as e,d as l,w as _,a as g,ah as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,ai as p,h as m,aj as D,ak as w,n as B,_ as v}from"./index.7d8b1dcc.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return`
|
||||
background-image: url('${o}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ac as v,f as D,i as B,ad as S}from"./index.6ee415e0.js";import{C as L}from"./CardBoxComponentEmpty.9db5501a.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.a280f679.js";import{_ as j}from"./FormControl.af0414b5.js";const z={class:"outline outline-slate-800/75 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"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return`
|
||||
import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ab as v,f as D,i as B,ac as S}from"./index.7d8b1dcc.js";import{C as L}from"./CardBoxComponentEmpty.68587423.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.8f447e21.js";import{_ as j}from"./FormControl.c23bef60.js";const z={class:"outline outline-slate-800/75 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"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return`
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)),
|
||||
url('${e.image}');
|
||||
background-size: cover;
|
||||
|
|
@ -1 +1 @@
|
|||
import{j as e,o as t,c as o,b as s}from"./index.6ee415e0.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};
|
||||
import{j as e,o as t,c as o,b as s}from"./index.7d8b1dcc.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
assets/CustomizeView.3efe9319.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.7d8b1dcc.js";import{_ as l}from"./FormControl.c23bef60.js";const f={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),v=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),p=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":"","even-smaller":""}),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,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
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.6ee415e0.js";import{_ as l}from"./FormControl.af0414b5.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 +1 @@
|
|||
import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.6ee415e0.js";import{_ as n}from"./LayoutGuest.a9283a13.js";const i={class:"flex md:min-h-screen md:items-center md:justify-center"},d={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,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"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",i,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",d,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};
|
||||
import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.7d8b1dcc.js";import{_ as n}from"./LayoutGuest.749d338c.js";const i={class:"flex md:min-h-screen md:items-center md:justify-center"},d={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,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"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",i,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",d,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};
|
||||
1
assets/EventView.98414679.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{ab as g,s as k,ae as S,d as m,w as r,e as I,k as $,o as n,a as s,g as _,f as C,_ as N,b as i,c as v,h as d,X as U,t as x,F as B,r as E,p as w,i as G,al as D,am as F,an as O}from"./index.7d8b1dcc.js";import{_ as P}from"./ArcadeCard.b79bb6a3.js";import{_ as f}from"./FormField.8f447e21.js";import{_ as u}from"./FormControl.c23bef60.js";import{_ as T}from"./FormCheckRadio.f04097d8.js";import"./area.7873ab93.js";const A={class:"mb-4"},L={class:"grid md:grid-cols-2 gap-4"},M=i("p",{class:"pb-2 text-lg"},"Game",-1),X={key:0},j=i("p",{class:"pb-2 text-lg"},"Version",-1),Q={key:0},R={class:"text-xl"},q=i("hr",{class:"pb-1 my-2"},null,-1),ee={__name:"EventView",setup(z){const h=$(),V=parseInt(h.params.id),b=g.find(l=>l.id===V);function c(l){var t=[];for(const e of l)t.push(e.name);return t}const y=[{game:"iidx",version:22,settings:[{id:0,keyId:"coke",type:"bool",name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:"select",name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]},{game:"dm",version:18,settings:[{id:0,keyId:"banner",type:"string",name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}],a=k({game:null,version:null});function p(){const l=D(a.game),t=l.versions.find(o=>o.name==a.version);return y.find(o=>o.game==l.id&&o.version==t.id)}return S(()=>a.game,()=>{a.version=null}),(l,t)=>(n(),m(I,null,{default:r(()=>[s(G,null,{default:r(()=>[s(P,{class:"mb-6","arcade-data":_(b)},null,8,["arcade-data"]),s(C,{icon:_(F),title:"Game Event Settings",main:""},null,8,["icon"]),s(N,{class:"mb-6"},{default:r(()=>[i("div",A,[s(f,{label:"Select Game",help:"Pick a game and version to get started."},{default:r(()=>[i("div",L,[i("div",null,[M,s(u,{modelValue:a.game,"onUpdate:modelValue":t[0]||(t[0]=e=>a.game=e),name:"game",options:_(O)},null,8,["modelValue","options"])]),a.game?(n(),v("div",X,[j,s(u,{modelValue:a.version,"onUpdate:modelValue":t[1]||(t[1]=e=>a.version=e),name:"version",options:l.listVersions()},null,8,["modelValue","options"])])):d("",!0)])]),_:1})]),a.game&&a.version?(n(),v("div",Q,[i("h2",R,[U(" Settings for "),i("b",null,x(l.getGameTitle(p().game,p().version)),1)]),q,(n(!0),v(B,null,E(p().settings,e=>(n(),m(f,{key:e.id,label:e.name,help:e.tooltip},{default:r(()=>[e.type=="string"?(n(),m(u,{key:0,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type=="bool"?(n(),m(T,{key:1,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):d("",!0),e.type=="select"?(n(),m(u,{key:2,modelValue:c(e.options)[e.value],"onUpdate:modelValue":o=>c(e.options)[e.value]=o,name:e.keyId,options:c(e.options),placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):d("",!0)]),_:2},1032,["label","help"]))),128)),s(w,{color:"success",type:"submit",label:"Save",small:!1})])):d("",!0)]),_:1})]),_:1})]),_:1}))}};export{ee as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{ac as $,s as x,af as N,d as m,w as r,e as C,k as U,o as l,a as s,g as _,f as B,_ as E,b as i,c as h,h as d,X as G,t as w,F as j,r as O,p as F,i as P,am as u,an as T,ao as A}from"./index.6ee415e0.js";import{_ as D}from"./ArcadeCard.4f6bcfb7.js";import{_ as g}from"./FormField.a280f679.js";import{_ as c}from"./FormControl.af0414b5.js";import{_ as L}from"./FormCheckRadio.f2d5a264.js";import"./area.7873ab93.js";const M={class:"mb-4"},X={class:"grid md:grid-cols-2 gap-4"},Q=i("p",{class:"pb-2 text-lg"},"Game",-1),R={key:0},q=i("p",{class:"pb-2 text-lg"},"Version",-1),z={key:0},H={class:"text-xl"},J=i("hr",{class:"pb-1 my-2"},null,-1),ne={__name:"EventView",setup(K){const V=U(),b=parseInt(V.params.id),y=$.find(a=>a.id===b);function p(a){var o=[];for(const e of a)o.push(e.name);return o}const f=[{game:"iidx",version:22,settings:[{id:0,keyId:"coke",type:"bool",name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:"select",name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,name:"No Event"},{id:1,name:"Chrono Seeker"},{id:2,name:"QPronicle Chord"}],value:1}]},{game:"dm",version:18,settings:[{id:0,keyId:"banner",type:"string",name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}],t=x({game:null,version:null});function k(){var a=[];for(const o of f){const e=u(o.game).name;a[e]==null&&a.push(e)}return a}function S(){var a=[];for(const o of f)if(o.game==u(t.game).id){const e=u(o.game),n=o.version;a[n]==null&&a.push(e.versions.find(I=>I.id==n).name)}return a}function v(){const a=u(t.game),o=a.versions.find(n=>n.name==t.version);return f.find(n=>n.game==a.id&&n.version==o.id)}return N(()=>t.game,()=>{t.version=null}),(a,o)=>(l(),m(C,null,{default:r(()=>[s(P,null,{default:r(()=>[s(D,{class:"mb-6","arcade-data":_(y)},null,8,["arcade-data"]),s(B,{icon:_(T),title:"Game Event Settings",main:""},null,8,["icon"]),s(E,{class:"mb-6"},{default:r(()=>[i("div",M,[s(g,{label:"Select Game",help:"Pick a game and version to get started."},{default:r(()=>[i("div",X,[i("div",null,[Q,s(c,{modelValue:t.game,"onUpdate:modelValue":o[0]||(o[0]=e=>t.game=e),name:"game",options:k()},null,8,["modelValue","options"])]),t.game?(l(),h("div",R,[q,s(c,{modelValue:t.version,"onUpdate:modelValue":o[1]||(o[1]=e=>t.version=e),name:"version",options:S()},null,8,["modelValue","options"])])):d("",!0)])]),_:1})]),t.game&&t.version?(l(),h("div",z,[i("h2",H,[G(" Settings for "),i("b",null,w(_(A)(v().game,v().version)),1)]),J,(l(!0),h(j,null,O(v().settings,e=>(l(),m(g,{key:e.id,label:e.name,help:e.tooltip},{default:r(()=>[e.type=="string"?(l(),m(c,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type=="bool"?(l(),m(L,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):d("",!0),e.type=="select"?(l(),m(c,{key:2,modelValue:p(e.options)[e.value],"onUpdate:modelValue":n=>p(e.options)[e.value]=n,name:e.keyId,options:p(e.options),placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):d("",!0)]),_:2},1032,["label","help"]))),128)),s(F,{color:"success",type:"submit",label:"Save",small:!1})])):d("",!0)]),_:1})]),_:1})]),_:1}))}};export{ne as default};
|
||||
|
|
@ -1 +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.6ee415e0.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 _};
|
||||
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.7d8b1dcc.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{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 h,M as q,C as g,D as v,F as C,r as M,t as D,N as K,B as L,h as U}from"./index.6ee415e0.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-blue-700 dark:border-blue-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"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":t[0]||(t[0]=l=>g(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"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":t[1]||(t[1]=l=>g(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)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":t[2]||(t[2]=l=>g(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
assets/FormControl.c23bef60.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{o as r,d as B,H as V,z as m,I as R,J as p,K as w,L as q,c as s,g as a,A as h,M as C,C as g,D as v,F as M,r as D,t as K,N as L,B as U,h as z}from"./index.7d8b1dcc.js";const A={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{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"]))}},H={class:"relative"},I=["id","name"],N=["value"],T=["id","name","maxlength","placeholder","required"],$=["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-blue-700 dark:border-blue-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),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",H,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(M,null,D(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,N)}),128))],10,I)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,T)),[[L,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t: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,$)),[[U,a(o)]]),e.icon?(r(),B(A,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):z("",!0)]))}};export{J as _};
|
||||
|
|
@ -1 +1 @@
|
|||
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.6ee415e0.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 _};
|
||||
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.7d8b1dcc.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 _};
|
||||
5
assets/GameView.f79891d2.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import{I as w,z as d,J as b,o as u,c as f,b as e,F as g,r as $,g as s,a,w as _,l as P,d as x,p as V,t as k,ah as C,s as D,al as L,e as S,k as A,u as I,n as B,f as R,_ as G,i as M,ap as z}from"./index.7d8b1dcc.js";import{_ as F,a as H}from"./ProfileCard.74c70e1c.js";import{_ as U}from"./FormControl.c23bef60.js";const j=e("thead",null,[e("tr",null,[e("th",null,"Username"),e("th",null,"Rival ID"),e("th",null,"Creation Date"),e("th",null,"Last Played"),e("th",null,"Last Arcade"),e("th",null,"Play Count")])],-1),E=e("td",{"data-label":"Username"},"TRMAZI",-1),N=e("td",{"data-label":"Rival ID"},"1234-5678",-1),T=e("td",{"data-label":"Creation Date"},"10/22/2022",-1),J=e("td",{"data-label":"Last Played"},"10/22/2022",-1),Y=e("td",{"data-label":"Last Arcade"},"Ho-House",-1),Z=e("td",{"data-label":"Play Count",class:"lg:w-32"},"466",-1),q=[E,N,T,J,Y,Z],K={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},O={__name:"TablePlayers",setup(y){const p=w(),m=d(()=>p.clients),n=b(5),t=b(0),o=d(()=>m.value.slice(n.value*t.value,n.value*(t.value+1))),h=d(()=>Math.ceil(m.value.length/n.value)),v=d(()=>t.value+1),r=d(()=>{const i=[];for(let c=0;c<h.value;c++)i.push(c);return i});return(i,c)=>(u(),f(g,null,[e("table",null,[j,e("tbody",null,[(u(!0),f(g,null,$(s(o),l=>(u(),f("tr",{key:l.id},q))),128))])]),e("div",K,[a(C,null,{default:_(()=>[a(P,null,{default:_(()=>[(u(!0),f(g,null,$(s(r),l=>(u(),x(V,{key:l,active:l===t.value,label:l+1,color:l===t.value?"lightDark":"whiteDark",small:"",onClick:ne=>t.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+k(s(v))+" of "+k(s(h)),1)]),_:1})])],64))}},Q={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},W={class:"w-full"},X={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},ee={class:"md:w-1/3 md:text-right"},te=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ae={class:"w-full"},se={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},le={class:"w-full"},ce={__name:"GameView",setup(y){const p=A(),m=I();var n=null,t=null;const o=D({currentVersion:null});n=p.params.id,t=L(n),t||m.push({name:"ErrorPage",params:{catchAll:"404"}});function h(){var r=null;return o.currentVersion?r=`/assets/games/${t.id}/card/${o.currentVersion}.png`:r=t.cardBG,r}function v(){return`
|
||||
background-image: url('${h()}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
`}return(r,i)=>(u(),x(S,null,{default:_(()=>[a(M,null,{default:_(()=>[e("div",{style:B(v()),class:"rounded-2xl mb-6"},[e("div",Q,[e("div",W,[e("div",X,[a(F,{path:s(t).icon,title:s(t).name},null,8,["path","title"]),e("div",ee,[te,a(U,{modelValue:o.currentVersion,"onUpdate:modelValue":i[0]||(i[0]=c=>o.currentVersion=c),options:s(t).versions},null,8,["modelValue","options"])])])]),e("div",ae,[a(H,{avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"})])])],4),a(R,{icon:s(z),title:"All Players",main:""},null,8,["icon"]),a(G,{"has-table":""},{default:_(()=>[e("div",se,[e("div",le,[a(O)])])]),_:1})]),_:1})]),_:1}))}};export{ce as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{s as b,d as V,w as n,e as k,o as i,a as l,f as p,g as a,b as o,a1 as _,_ as g,a2 as h,a3 as G,p as C,c as u,h as m,t as D,i as $,a4 as w,a5 as A,a6 as F}from"./index.6ee415e0.js";import{_ as c}from"./FormControl.af0414b5.js";const R={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},B={class:"mb-6"},P={class:"mb-12"},U=o("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),S=o("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=o("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},E=o("h2",{class:"text-lg mb-2"},"Goal Type",-1),I={key:1},L=o("h2",{class:"text-lg mb-2"},"Goals",-1),O={key:2},H=o("h2",{class:"text-lg mb-2"},"Value",-1),M={key:3},Y=o("h2",{class:"text-lg mb-2"},"Deadline",-1),j={key:0},q=o("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),z={class:"text-lg dark:text-white/75"},J={class:"space-x-2"},Z={__name:"GoalsView",setup(K){const v=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],x=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const d=v.find(t=>t.game==e.game);var s=[];for(const t of d.types)s.push(t.id);return d.listTypes=s,d}function f(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const y=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(d,s)=>(i(),V(k,null,{default:n(()=>[l($,null,{default:n(()=>[l(p,{icon:a(w),title:"Your Goals",main:""},null,8,["icon"]),o("div",R,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(A),title:"Active Goals"},null,8,["icon"]),o("div",B,[l(g,{"has-table":""},{default:n(()=>[l(h,{goals:y})]),_:1})]),l(p,{icon:a(F),title:"Past Goals"},null,8,["icon"]),o("div",P,[l(g,{"has-table":""},{default:n(()=>[l(h,{goals:y,"is-past":""})]),_:1})]),o("div",null,[l(g,null,G({default:n(()=>[U,S,o("div",T,[o("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=t=>a(e).game=t),options:x,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(i(),u("div",N,[E,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=t=>a(e).type=t),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):m("",!0),a(e).type!=="..."?(i(),u("div",I,[L,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=t=>a(e).goal=t),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):m("",!0),a(e).goal!=="..."&&r().types.find(t=>t.id==a(e).type).needValue?(i(),u("div",O,[H,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=t=>a(e).value=t),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):m("",!0),a(e).goal!=="..."||a(e).value?(i(),u("div",M,[Y,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=t=>a(e).deadline=t),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):m("",!0)]),a(e).deadline!=="..."?(i(),u("div",j,[q,o("p",z,D(f()),1)])):m("",!0)]),_:2},[f()?{name:"footer",fn:n(()=>[o("div",J,[l(C,{type:"submit",color:"success",label:"Create",small:!1})])]),key:"0"}:void 0]),1024)])]),_:1})]),_:1}))}};export{Z as default};
|
||||
1
assets/GoalsView.4a6a9045.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{s as b,d as V,w as i,e as k,o as n,a as l,f as p,g as a,b as t,a1 as _,_ as g,a2 as y,c as d,p as G,h as u,t as C,i as D,a3 as $,a4 as w,a5 as A}from"./index.7d8b1dcc.js";import{_ as c}from"./FormControl.c23bef60.js";const F={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},R={class:"mb-6"},B={class:"mb-12"},P=t("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),U=t("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=t("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},S=t("h2",{class:"text-lg mb-2"},"Goal Type",-1),E={key:1},I=t("h2",{class:"text-lg mb-2"},"Goals",-1),L={key:2},O=t("h2",{class:"text-lg mb-2"},"Value",-1),H={key:3},M=t("h2",{class:"text-lg mb-2"},"Deadline",-1),Y={key:0},j=t("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),q={class:"text-lg dark:text-white/75"},z={key:0,class:"space-x-2"},X={__name:"GoalsView",setup(J){const h=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],v=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const m=h.find(o=>o.game==e.game);var s=[];for(const o of m.types)s.push(o.id);return m.listTypes=s,m}function x(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const f=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(m,s)=>(n(),V(k,null,{default:i(()=>[l(D,null,{default:i(()=>[l(p,{icon:a($),title:"Your Goals",main:""},null,8,["icon"]),t("div",F,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(w),title:"Active Goals"},null,8,["icon"]),t("div",R,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f})]),_:1})]),l(p,{icon:a(A),title:"Past Goals"},null,8,["icon"]),t("div",B,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f,"is-past":""})]),_:1})]),t("div",null,[l(g,null,{footer:i(()=>[a(e).deadline!=="..."?(n(),d("div",z,[l(G,{type:"submit",color:"success",label:"Create",small:!1})])):u("",!0)]),default:i(()=>[P,U,t("div",T,[t("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=o=>a(e).game=o),options:v,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(n(),d("div",N,[S,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=o=>a(e).type=o),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):u("",!0),a(e).type!=="..."?(n(),d("div",E,[I,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=o=>a(e).goal=o),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):u("",!0),a(e).goal!=="..."&&r().types.find(o=>o.id==a(e).type).needValue?(n(),d("div",L,[O,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=o=>a(e).value=o),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):u("",!0),a(e).goal!=="..."||a(e).value?(n(),d("div",H,[M,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=o=>a(e).deadline=o),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):u("",!0)]),a(e).deadline!=="..."?(n(),d("div",Y,[j,t("p",q,C(x()),1)])):u("",!0)]),_:1})])]),_:1})]),_:1}))}};export{X as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
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.6ee415e0.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
assets/IntegrationView.aa571d67.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.7d8b1dcc.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),v=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),w={class:"space-x-2"},N=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":"","even-smaller":""}),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",w,[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"]),$,v]),_: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"]),N,G]),_:1})])]),_:1})]),_:1}))}};export{D as default};
|
||||
|
|
@ -1 +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.6ee415e0.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 _};
|
||||
import{O as a,o as t,c as r,b as o,G as l,D as c,g as n}from"./index.7d8b1dcc.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 +0,0 @@
|
|||
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.6ee415e0.js";import{_ as g}from"./FormCheckRadio.f2d5a264.js";import{_ as d}from"./FormField.a280f679.js";import{_ as m}from"./FormControl.af0414b5.js";import{_ as v}from"./LayoutGuest.a9283a13.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"},R=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__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(d,{label:"Username"},{default:t(()=>[s(m,{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(d,{label:"Password"},{default:t(()=>[s(m,{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())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default};
|
||||
1
assets/LoginView.ea7f2339.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 w,y as g}from"./index.7d8b1dcc.js";import{_ as b}from"./FormCheckRadio.f04097d8.js";import{_ as m}from"./FormField.8f447e21.js";import{_ as d}from"./FormControl.c23bef60.js";import{_ as v}from"./LayoutGuest.749d338c.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-r-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r"},null,-1),P={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__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(w),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(g),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(b,{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())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{J as g,z as m,o as s,c as p,b as a,F as b,r as k,t as l,g as n,a as c,w as u,l as P,d as h,p as y,ai as D,ac as N,e as x,k as I,f as L,_ as w,h as $,i as M,aa as V}from"./index.6ee415e0.js";import{_ as E}from"./ArcadeCard.4f6bcfb7.js";import{C as F}from"./CardBoxComponentEmpty.9db5501a.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(v){const d=v,r=g(8),t=g(0),o=m(()=>d.machines.slice(r.value*t.value,r.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/r.value)),C=m(()=>t.value+1),B=m(()=>{const f=[];for(let _=0;_<i.value;_++)f.push(_);return f});return(f,_)=>(s(),p(b,null,[a("table",null,[J,a("tbody",null,[(s(!0),p(b,null,k(n(o),e=>(s(),p("tr",{key:e.id},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[c(D,null,{default:u(()=>[c(P,null,{default:u(()=>[(s(!0),p(b,null,k(n(B),e=>(s(),h(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(C))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(v){const d=I(),r=parseInt(d.params.id),t=N.find(i=>i.id===r),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,C)=>(s(),h(x,null,{default:u(()=>[c(M,null,{default:u(()=>[c(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),c(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),c(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),h(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),h(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default};
|
||||
import{J as g,z as m,o as s,c as h,b as a,F as b,r as k,t as l,g as n,a as c,w as u,l as P,d as p,p as y,ah as D,ab as N,e as x,k as I,f as L,_ as w,h as $,i as M,a9 as V}from"./index.7d8b1dcc.js";import{_ as E}from"./ArcadeCard.b79bb6a3.js";import{C as F}from"./CardBoxComponentEmpty.68587423.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(v){const d=v,r=g(8),t=g(0),o=m(()=>d.machines.slice(r.value*t.value,r.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/r.value)),C=m(()=>t.value+1),B=m(()=>{const f=[];for(let _=0;_<i.value;_++)f.push(_);return f});return(f,_)=>(s(),h(b,null,[a("table",null,[J,a("tbody",null,[(s(!0),h(b,null,k(n(o),e=>(s(),h("tr",{key:e.id},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[c(D,null,{default:u(()=>[c(P,null,{default:u(()=>[(s(!0),h(b,null,k(n(B),e=>(s(),p(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(C))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(v){const d=I(),r=parseInt(d.params.id),t=N.find(i=>i.id===r),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,C)=>(s(),p(x,null,{default:u(()=>[c(M,null,{default:u(()=>[c(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),c(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),c(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),p(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),p(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default};
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
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.6ee415e0.js";import{C as N}from"./CardBoxComponentEmpty.9db5501a.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`
|
||||
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.7d8b1dcc.js";import{C as N}from"./CardBoxComponentEmpty.68587423.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;
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{J as k,z as m,o as l,c as p,b as a,F as b,r as $,t as n,g as t,a as r,w as u,l as C,d as f,p as x,ai as V,ac as B,e as I,k as L,f as w,_ as D,h as y,i as T,ap as E}from"./index.6ee415e0.js";import{_ as N}from"./ArcadeCard.4f6bcfb7.js";import{C as A}from"./CardBoxComponentEmpty.9db5501a.js";import"./area.7873ab93.js";const F=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Game"),a("th",null,"Timestamp")])],-1),G={"data-label":"User"},H={"data-label":"Value"},R={"data-label":"Game"},S={"data-label":"Timestamp"},U={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},j={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(v){const d=v,c=k(8),s=k(0),o=m(()=>d.transactions.slice(c.value*s.value,c.value*(s.value+1))),i=m(()=>Math.ceil(d.transactions.length/c.value)),g=m(()=>s.value+1),P=m(()=>{const h=[];for(let _=0;_<i.value;_++)h.push(_);return h});return(h,_)=>(l(),p(b,null,[a("table",null,[F,a("tbody",null,[(l(!0),p(b,null,$(t(o),e=>(l(),p("tr",{key:e.id},[a("td",G,n(e.userId),1),a("td",H,n(e.value),1),a("td",R,n(e.game),1),a("td",S,n(e.timestamp),1)]))),128))])]),a("div",U,[r(V,null,{default:u(()=>[r(C,null,{default:u(()=>[(l(!0),p(b,null,$(t(P),e=>(l(),f(x,{key:e,active:e===s.value,label:e+1,color:e===s.value?"lightDark":"whiteDark",small:"",onClick:q=>s.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+n(t(g))+" of "+n(t(i)),1)]),_:1})])],64))}},K={__name:"PaseliView",setup(v){const d=L(),c=parseInt(d.params.id),s=B.find(i=>i.id===c);var o=[{id:5040,value:-300,timestamp:3888294,game:"iidx",userId:3}];return(i,g)=>(l(),f(I,null,{default:u(()=>[r(T,null,{default:u(()=>[r(N,{class:"mb-6","arcade-data":t(s)},null,8,["arcade-data"]),r(w,{icon:t(E),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(D,{class:"mb-6","has-table":""},{default:u(()=>[t(o).length?(l(),f(j,{key:0,transactions:t(o)},null,8,["transactions"])):y("",!0),t(o).length?y("",!0):(l(),f(A,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{K as default};
|
||||
1
assets/PaseliView.e2ed791b.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{J as k,z as m,o as l,c as p,b as a,F as b,r as $,t as n,g as t,a as r,w as i,l as C,d as h,p as x,ah as V,ab as B,e as I,k as L,f as w,_ as D,h as y,i as T,ao as E}from"./index.7d8b1dcc.js";import{_ as N}from"./ArcadeCard.b79bb6a3.js";import{C as A}from"./CardBoxComponentEmpty.68587423.js";import"./area.7873ab93.js";const F=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Game"),a("th",null,"Timestamp")])],-1),G={"data-label":"User"},H={"data-label":"Value"},R={"data-label":"Game"},S={"data-label":"Timestamp"},U={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},j={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(v){const d=v,o=k(8),s=k(0),c=m(()=>d.transactions.slice(o.value*s.value,o.value*(s.value+1))),u=m(()=>Math.ceil(d.transactions.length/o.value)),g=m(()=>s.value+1),P=m(()=>{const f=[];for(let _=0;_<u.value;_++)f.push(_);return f});return(f,_)=>(l(),p(b,null,[a("table",null,[F,a("tbody",null,[(l(!0),p(b,null,$(t(c),e=>(l(),p("tr",{key:e.id},[a("td",G,n(e.userId),1),a("td",H,n(e.value),1),a("td",R,n(e.game),1),a("td",S,n(e.timestamp),1)]))),128))])]),a("div",U,[r(V,null,{default:i(()=>[r(C,null,{default:i(()=>[(l(!0),p(b,null,$(t(P),e=>(l(),h(x,{key:e,active:e===s.value,label:e+1,color:e===s.value?"lightDark":"whiteDark",small:"",onClick:q=>s.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+n(t(g))+" of "+n(t(u)),1)]),_:1})])],64))}},K={__name:"PaseliView",setup(v){const d=L(),o=parseInt(d.params.id),s=B.find(u=>u.id===o);var c=[{id:5040,value:-300,timestamp:3888294,game:"iidx",userId:3}];return(u,g)=>(l(),h(I,null,{default:i(()=>[r(T,null,{default:i(()=>[r(N,{class:"mb-6","arcade-data":t(s)},null,8,["arcade-data"]),r(w,{icon:t(E),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(D,{class:"mb-6","has-table":""},{default:i(()=>[t(c).length?(l(),h(j,{key:0,transactions:t(c)},null,8,["transactions"])):y("",!0),t(c).length?y("",!0):(l(),h(A,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{K as default};
|
||||
5
assets/PlayerView.011f621b.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import{s as h,al as S,d as n,w as m,e as V,k as $,u as x,o as a,a as r,b as l,g as d,h as i,p as _,n as B,f as A,c as v,_ as C,F as N,r as P,i as F,q as E,W as G}from"./index.7d8b1dcc.js";import{_ as R,a as z}from"./ProfileCard.74c70e1c.js";import{_ as I}from"./FormField.8f447e21.js";import{_ as D}from"./FormCheckRadio.f04097d8.js";import{_ as c}from"./FormControl.c23bef60.js";const L={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},T={class:"w-full"},U={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},W={class:"md:w-1/3 md:text-right"},j=l("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),q={class:"w-full"},H={key:1},M={class:"space-x-2"},X={__name:"PlayerView",setup(Y){const y=$(),b=x();var p=null,s=null;const t=h({currentVersion:null}),k=[{id:"username",name:"Username",help:"Set your username for this profile",type:String},{id:"fastSlow",name:"Fast/Slow Display",help:"Enable or disable displaying of Fast/Slow",type:Boolean},{id:"comboPosition",name:"Combo Position",help:"Change order of the combo and notes",type:Boolean},{id:"weight",name:"Weight (kg)",help:"Set your weight for in-game workout mode",type:Number},{id:"dancer",name:"Character",help:"Set your background dancer",type:Array,options:[{id:0,label:"Afro"},{id:1,label:"Emi"}]},{id:"arrow",name:"Arrow Skin",help:"Set your arrow skin",type:Array,options:[{id:0,label:"Normal"},{id:1,label:"Classic"}]}],o=h({username:"TRMAZI",fastSlow:!0,comboPosition:!1,weight:100,dancer:0,arrow:1,guideLines:0,filter:3});p=y.params.game,s=S(p),s||b.push({name:"ErrorPage",params:{catchAll:"404"}});function g(){var u=null;return t.currentVersion?u=`/assets/games/${s.id}/card/${t.currentVersion}.png`:u=s.cardBG,u}function w(){return`
|
||||
background-image: url('${g()}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
`}return(u,f)=>(a(),n(V,null,{default:m(()=>[r(F,null,{default:m(()=>[l("div",{style:B(w()),class:"rounded-2xl mb-6"},[l("div",L,[l("div",T,[l("div",U,[r(R,{path:d(s).icon,title:d(s).name},null,8,["path","title"]),l("div",W,[j,r(c,{modelValue:t.currentVersion,"onUpdate:modelValue":f[0]||(f[0]=e=>t.currentVersion=e),options:d(s).versions},null,8,["modelValue","options"])])])]),l("div",q,[t.currentVersion?(a(),n(z,{key:0,"use-small":"",avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"})):i("",!0)]),r(_,{icon:d(E),href:"/#/games/"+d(p),class:"mt-2",color:"info",label:"Go Back"},null,8,["icon","href"])])],4),t.currentVersion?(a(),n(A,{key:0,icon:d(G),title:"Profile Customizations",main:""},null,8,["icon"])):i("",!0),t.currentVersion?(a(),v("div",H,[r(C,null,{footer:m(()=>[l("div",M,[r(_,{type:"submit",color:"success",label:"Save"}),r(_,{type:"submit",color:"danger",label:"Revert"})])]),default:m(()=>[l("div",null,[(a(),v(N,null,P(k,e=>r(I,{key:e.id,label:e.name,help:e.help},{default:m(()=>[e.type==String?(a(),n(c,{key:0,"v-model":o[e.id],"model-value":o[e.id]},null,8,["v-model","model-value"])):i("",!0),e.type==Number?(a(),n(c,{key:1,"v-model":o[e.id],"model-value":o[e.id],type:"number"},null,8,["v-model","model-value"])):i("",!0),e.type==Array?(a(),n(c,{key:2,options:e.options,"v-model":o[e.id],"model-value":o[e.id],selected:o[e.id]},null,8,["options","v-model","model-value","selected"])):i("",!0),e.type==Boolean?(a(),n(D,{key:3,"v-model":o[e.id],"model-value":o[e.id],type:"switch"},null,8,["v-model","model-value"])):i("",!0)]),_:2},1032,["label","help"])),64))])]),_:1})])):i("",!0)]),_:1})]),_:1}))}};export{X as default};
|
||||
|
|
@ -1,2 +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.6ee415e0.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(`
|
||||
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.7d8b1dcc.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/ProfileCard.74c70e1c.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{z as _,o as s,c as o,b as e,a,aq as f,t as u,g as c,G as h,h as n,E as p,X as d,d as x,ar as g,p as y,a1 as l,F as b}from"./index.7d8b1dcc.js";const S={class:"pt-6 mb-6 flex items-center justify-between"},v={class:"flex items-center justify-start space-x-2"},k={class:"text-2xl md:text-3xl leading-tight"},P={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(t){const r=_(()=>p().default);return(i,m)=>(s(),o("section",S,[e("div",v,[a(f,{path:t.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),e("h1",k,u(t.title),1)]),c(r)?h(i.$slots,"default",{key:0}):n("",!0)]))}},$={class:"flex justify-center items-center"},V=["src"],B={class:"space-y-2 text-left lg:mx-12 p-2"},A=e("h1",{class:"text-3xl md:text-4xl font-bold"},"TRMAZI",-1),N=e("p",{class:"text-xl ordinal slashed-zero"},"1234-5678",-1),j={class:"text-md md:text-lg"},w=e("b",null,"10/22/2022",-1),C={key:0,class:"grid grid-cols-1 gap-6 lg:grid-cols-4 pt-6"},R={__name:"ProfileCard",props:{useQpro:{type:Boolean,default:!1},avatar:{type:String,default:null},useSmall:{type:Boolean,default:!1}},setup(t){var r={arcade:"Ho-House"};return(i,m)=>(s(),o(b,null,[e("div",$,[t.avatar?(s(),o("img",{key:0,class:"h-40",src:t.avatar},null,8,V)):n("",!0),e("div",B,[A,N,e("p",j,[d(" Last played at "),e("b",null,u(c(r).arcade),1),d(" on "),w]),t.useSmall?n("",!0):(s(),x(y,{key:0,icon:c(g),href:"/#/games/ddr/profiles/1",color:"info",label:"Edit Profile"},null,8,["icon"]))])]),t.useSmall?n("",!0):(s(),o("div",C,[a(l,{number:3733,label:"Scores (All Versions)"}),a(l,{number:1244,label:"Plays (All Versions)"}),a(l,{prefix:"#",number:43,suffix:" / 300",label:"Ranking (All Versions)"}),a(l,{number:2,label:"Rivals"})]))],64))}};export{P as _,R as a};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{I as U,s as f,d as v,w as s,e as P,o as S,a as e,P as $,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,V}from"./index.6ee415e0.js";import{_ as r}from"./FormField.a280f679.js";import{_ as m}from"./FormCheckRadio.f2d5a264.js";import{_ as i}from"./FormControl.af0414b5.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=U(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),v(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{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",h,[e(m,{name:"goals","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:"tournaments","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:"paseli","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:"system","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",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{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(r,{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(r,{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(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default};
|
||||
1
assets/ProfileView.c07ec9c7.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{I as v,s as f,d as U,w as s,e as P,o as S,a as e,P as $,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,V}from"./index.7d8b1dcc.js";import{_ as r}from"./FormField.8f447e21.js";import{_ as m}from"./FormCheckRadio.f04097d8.js";import{_ as i}from"./FormControl.c23bef60.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=v(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),U(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{class:"mb-6","use-small":"","even-smaller":""}),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",h,[e(m,{name:"goals","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:"tournaments","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:"paseli","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:"system","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",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{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(r,{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(r,{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(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default};
|
||||
|
|
@ -1 +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,a7 as s,i as d,x as f,a8 as p,a9 as g,aa as A,ab as l}from"./index.6ee415e0.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};
|
||||
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,a6 as s,i as d,x as f,a7 as p,a8 as g,a9 as A,aa as l}from"./index.7d8b1dcc.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 +1 @@
|
|||
import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as V,u as w,x as r,y as u}from"./index.6ee415e0.js";import{_ as g}from"./FormCheckRadio.f2d5a264.js";import{_ as d}from"./FormField.a280f679.js";import{_ as n}from"./FormControl.af0414b5.js";import{_ as v}from"./LayoutGuest.a9283a13.js";const y={class:"flex md:min-h-screen md:items-center md:justify-center"},h={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=s("div",{class:"flex flex-col items-center text-wrap h-full"},[s("img",{src:V,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=w(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",y,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",h,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(n,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(r),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(r),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(r),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default};
|
||||
import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as V,u as w,x as r,y as u}from"./index.7d8b1dcc.js";import{_ as g}from"./FormCheckRadio.f04097d8.js";import{_ as d}from"./FormField.8f447e21.js";import{_ as n}from"./FormControl.c23bef60.js";import{_ as v}from"./LayoutGuest.749d338c.js";const y={class:"flex md:min-h-screen md:items-center md:justify-center"},h={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=s("div",{class:"flex flex-col items-center text-wrap h-full"},[s("img",{src:V,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=w(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",y,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",h,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(n,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(r),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(r),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(r),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as n,_,v as f,u as p,x}from"./index.6ee415e0.js";import{_ as h}from"./FormField.a280f679.js";import{_ as b}from"./FormControl.af0414b5.js";import{_ as w}from"./LayoutGuest.a9283a13.js";const g={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"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=c({login:"test@website.com"}),r=p(),i=()=>{r.push("/auth/login")};return(A,l)=>(m(),d(w,null,{default:t(()=>[e("div",g,[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(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(n,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>i())})]),k,e("div",R,[B,s(n,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default};
|
||||
import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as n,_,v as f,u as p,x}from"./index.7d8b1dcc.js";import{_ as h}from"./FormField.8f447e21.js";import{_ as b}from"./FormControl.c23bef60.js";import{_ as w}from"./LayoutGuest.749d338c.js";const g={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"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=c({login:"test@website.com"}),r=p(),i=()=>{r.push("/auth/login")};return(A,l)=>(m(),d(w,null,{default:t(()=>[e("div",g,[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(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(n,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>i())})]),k,e("div",R,[B,s(n,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default};
|
||||
BIN
assets/games/ddr/12.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
assets/games/ddr/13.png
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
assets/games/ddr/14.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
assets/games/ddr/15.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
assets/games/ddr/16.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
assets/games/ddr/17.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
assets/games/ddr/18.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
assets/games/ddr/19.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
assets/games/ddr/card/13.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
assets/games/ddr/card/14.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
assets/games/ddr/card/15.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
assets/games/ddr/card/16.png
Normal file
|
After Width: | Height: | Size: 616 KiB |
BIN
assets/games/ddr/card/17.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
assets/games/ddr/card/18.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/games/ddr/card/19.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/games/iidx/18.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
assets/games/iidx/card/18.png
Normal file
|
After Width: | Height: | Size: 243 KiB |
BIN
assets/games/jubeat/10.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
assets/games/jubeat/13.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/games/jubeat/2.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/games/jubeat/3.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/games/jubeat/card/10.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
assets/games/jubeat/card/13.png
Normal file
|
After Width: | Height: | Size: 420 KiB |
BIN
assets/games/jubeat/card/2.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
assets/games/jubeat/card/3.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
assets/games/sdvx/chara/rias.webp
Normal file
|
After Width: | Height: | Size: 37 KiB |
1
assets/index.a9f4149c.css
Normal file
BIN
assets/sounds/konami.mp3
Normal file
30
index.html
|
|
@ -7,16 +7,17 @@
|
|||
<link rel="icon" href="/favicon.png">
|
||||
<title>PhaseWeb 3</title>
|
||||
|
||||
<script type="module" crossorigin src="/assets/index.6ee415e0.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.b25b5e2d.css">
|
||||
<script type="module" crossorigin src="/assets/index.7d8b1dcc.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.a9f4149c.css">
|
||||
</head>
|
||||
<body>
|
||||
<body class="scroll-smooth">
|
||||
<noscript>
|
||||
<strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
|
||||
<!-- built files will be auto injected -->
|
||||
<audio id="audio" src="/assets/sounds/konami.mp3" class="hidden" />
|
||||
</body>
|
||||
|
||||
<style>
|
||||
|
|
@ -30,4 +31,27 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
var pattern = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'];
|
||||
var current = 0;
|
||||
|
||||
var keyHandler = function (event) {
|
||||
if (pattern.indexOf(event.key) < 0 || event.key !== pattern[current]) {
|
||||
current = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
current++;
|
||||
|
||||
if (pattern.length === current) {
|
||||
current = 0;
|
||||
document.getElementById('audio').play();
|
||||
window.alert('+30 lives.');
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
document.addEventListener('keydown', keyHandler, false);
|
||||
</script>
|
||||
</html>
|
||||
|
|
|
|||