@xcpcio/board-app 0.50.1 → 0.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/{Board-e49fa5a5.js → Board-38585e67.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-f7a94fde.js → DataSourceInput.vue_vue_type_script_setup_true_lang-114e3155.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-71fc9a51.js → TheInput.vue_vue_type_script_setup_true_lang-bd5395e9.js} +1 -1
- package/dist/assets/{_...all_-a7c27024.js → _...all_-0bc53d25.js} +1 -1
- package/dist/assets/{_...all_-b664c765.js → _...all_-8c4ba3cf.js} +1 -1
- package/dist/assets/{_name_-f7eb77b8.js → _name_-a532ea53.js} +1 -1
- package/dist/assets/{about-2103c294.js → about-6f40b1d0.js} +1 -1
- package/dist/assets/{board-a30142c4.js → board-08dfd01a.js} +1 -1
- package/dist/assets/{board-layout-8a7f024d.js → board-layout-74a77f38.js} +1 -1
- package/dist/assets/{headless-7cb9b4e2.js → headless-54fb8186.js} +1 -1
- package/dist/assets/{home-4f35cc24.js → home-9515d6d7.js} +1 -1
- package/dist/assets/{index-018d4b03.js → index-0e85099d.js} +4 -4
- package/dist/assets/{index-4a515f06.js → index-3a723320.js} +1 -1
- package/dist/assets/{index-57ca4f0a.js → index-67faeda8.js} +1 -1
- package/dist/assets/{index-d357dc60.js → index-de0376d5.js} +1 -1
- package/dist/assets/{index-layout-f7a16f8b.js → index-layout-2b7977ec.js} +1 -1
- package/dist/assets/{pagination-b2b8c1d7.js → pagination-672f41c6.js} +1 -1
- package/dist/assets/{query-49959a5e.js → query-61045468.js} +1 -1
- package/dist/assets/{test-2ab0c86d.js → test-3d1287e8.js} +1 -1
- package/dist/assets/{user-f6e65dcb.js → user-3576d2ec.js} +1 -1
- package/dist/assets/{virtual_pwa-register-b980ead8.js → virtual_pwa-register-c4e95d0e.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as w,h as b,i as d,u as U,o,c as t,j as e,D as V,d as s,G as C,t as v,k as h,p as E,H as S,n as F,z as A,A as O,B as R,I as G,J as H,K as J,F as j,s as K,v as M,L as Q,b as B,a as X,y as D}from"./index-
|
|
1
|
+
import{g as w,h as b,i as d,u as U,o,c as t,j as e,D as V,d as s,G as C,t as v,k as h,p as E,H as S,n as F,z as A,A as O,B as R,I as G,J as H,K as J,F as j,s as K,v as M,L as Q,b as B,a as X,y as D}from"./index-0e85099d.js";import{u as q,g as P}from"./query-61045468.js";import{_ as W}from"./DataSourceInput.vue_vue_type_script_setup_true_lang-114e3155.js";import"./TheInput.vue_vue_type_script_setup_true_lang-bd5395e9.js";const Y={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":""},Z={class:"resolver-team-name",truncate:"","overflow-hidden":""},ee=s("div",{flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},null,-1),oe={"w-32":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},te=w({__name:"BalloonBlock",props:{index:{},balloon:{}},setup(m){const n=m,i=b(()=>n.index),a=b(()=>n.balloon),l=d(null),r=U(l);function p(c){return[c.location,c.organization,c.name].filter(k=>k).join(" - ")}const f=b(()=>a.value.problem.balloonColor);return(c,y)=>(o(),t("div",{ref_key:"el",ref:l,"h-24":""},[e(r)?(o(),t("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:V([e(i)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one"])},[s("div",{"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":"",style:C({backgroundColor:e(f).background_color})},[s("div",{style:C({color:e(f).color})},v(e(a).problem.label),5)],4),s("div",Y,[s("div",Z,v(p(e(a).team)),1),ee]),s("div",oe,v(e(a).submission.timestampToMinute),1)],2)):h("",!0)],512))}}),se={class:"bg-[#323443]","text-gray-200":""},ne={key:0},ae={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},le={key:0},re={key:1},ce={flex:"","flex-col":"","justify-between":""},ie=w({__name:"Balloon",props:{dataSourceUrl:null},setup(m){const n=m,i=E(S),{t:a}=F(),l=d(!1),r=d({}),p=d([]),f=d([]),c=d({}),y=A();function k(){const _=new Q(r.value,p.value,f.value);_.buildBalloons(),c.value=_}const{data:u,isError:N,error:T}=q(n.dataSourceUrl,y);O(u,async()=>{var _,g,x;u.value===null||u.value===void 0||(r.value=R((_=u.value)==null?void 0:_.contest),i.value=`${r.value.name} | ${S}`,p.value=G((g=u.value)==null?void 0:g.teams),f.value=H((x=u.value)==null?void 0:x.submissions),k(),l.value=!0)});const z=b(()=>c.value.balloons.sort(J.compare).reverse().slice(0,256));return(_,g)=>{const x=te;return o(),t("div",se,[e(l)?(o(),t("div",re,[s("div",ce,[(o(!0),t(j,null,K(e(z),($,I)=>(o(),M(x,{key:$.key,index:I,balloon:$},null,8,["index","balloon"]))),128))])])):(o(),t("div",ne,[s("div",ae,[s("div",null,v(e(a)("common.loading"))+"... ",1),e(N)?(o(),t("div",le,v(e(T)),1)):h("",!0)])]))])}}}),ue={key:0},_e={"mt-20":""},de={key:1},me=w({__name:"CustomBalloon",setup(m){const n=P();return(i,a)=>{const l=W,r=ie;return o(),t(j,null,[e(n).length===0?(o(),t("div",ue,[s("div",_e,[B(l)])])):h("",!0),e(n).length>0?(o(),t("div",de,[B(r,{"data-source-url":e(n)},null,8,["data-source-url"])])):h("",!0)],64)}}}),L={};function fe(m,n){const i=me;return o(),t("div",null,[B(i)])}typeof D=="function"&&D(L);const he=X(L,[["render",fe]]);export{he as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as w,h as k,i as h,u as $,r as b,o as t,c as n,d as s,j as e,b as f,w as m,t as d,k as a,l as R,m as F,a as T,n as N,p as B,R as L,q as j,F as A,s as U,v as V,x as C,y as I}from"./index-
|
|
1
|
+
import{g as w,h as k,i as h,u as $,r as b,o as t,c as n,d as s,j as e,b as f,w as m,t as d,k as a,l as R,m as F,a as T,n as N,p as B,R as L,q as j,F as A,s as U,v as V,x as C,y as I}from"./index-0e85099d.js";const S={"h-22":""},E={key:0},D={"w-238":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},G={"w-full":"",flex:""},M={class:"title","w-inherit":""},O={"overflow-hidden":"","text-2xl":"",truncate:""},q={"text-lg":""},H={"float-right":""},J={class:"MuiIconButton-label"},X=w({__name:"RatingIndexUI",props:{ratingIndex:null},setup(x){const l=x,o=k(()=>l.ratingIndex),r=h(null),i=$(r),c=k(()=>`/rating/${o.value.id}`);return(u,g)=>{const _=R,v=F,p=b("RouterLink");return t(),n("div",{ref_key:"el",ref:r},[s("div",S,[e(i)?(t(),n("div",E,[s("div",D,[s("div",G,[s("div",M,[f(_,null,{popper:m(()=>[s("div",q,d(e(o).name),1)]),default:m(()=>[s("div",O,d(e(o).name),1)]),_:1})]),s("div",H,[f(p,{class:"go MuiIconButton-root",to:e(c)},{default:m(()=>[s("span",J,[f(v)])]),_:1},8,["to"])])])])])):a("",!0)])],512)}}});const z=T(X,[["__scopeId","data-v-4b0acc9a"]]),K={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},P={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},Q={key:0},W={key:1},Y={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},Z={key:0,"mt-4":""},ee={key:1,p10:""},te=s("div",{op40:"",italic:"",mb5:""}," No result found ",-1),ne=[te],se=w({__name:"index",setup(x){const{t:l}=N();B(L);function o(){return`${C.value}index/index.json`}const r=h(o()),i=h([]),{error:c,isFetching:u,isFinished:g}=j(r,{refetch:!0,afterFetch:_=>(i.value=JSON.parse(_.data),_)}).get();return(_,v)=>{const p=z;return t(),n("div",K,[s("div",null,[e(u)||e(c)?(t(),n("div",P,[e(u)?(t(),n("div",Q,d(e(l)("common.loading"))+"... ",1)):a("",!0),e(c)?(t(),n("div",W,d(e(c)),1)):a("",!0)])):a("",!0),e(g)?(t(),n("div",Y,[e(i).length?(t(),n("div",Z,[(t(!0),n(A,null,U(e(i),y=>(t(),V(p,{key:y.id,"rating-index":y},null,8,["rating-index"]))),128))])):(t(),n("div",ee,ne))])):a("",!0)])])}}});typeof I=="function"&&I(se);export{se as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as x,n as N,p as $,C as v,z as D,i as g,A as E,B as I,o,c as n,j as t,d as c,t as r,k as l,D as C,E as T,a as y,b as m,F as U,y as h}from"./index-
|
|
1
|
+
import{g as x,n as N,p as $,C as v,z as D,i as g,A as E,B as I,o,c as n,j as t,d as c,t as r,k as l,D as C,E as T,a as y,b as m,F as U,y as h}from"./index-0e85099d.js";import{u as B,g as F}from"./query-61045468.js";import{_ as b}from"./DataSourceInput.vue_vue_type_script_setup_true_lang-114e3155.js";import"./TheInput.vue_vue_type_script_setup_true_lang-bd5395e9.js";const j={class:"background","text-gray-200":"","w-screen":"","h-screen":""},V={key:0},z={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},L={key:0},O={key:1},P={flex:"","flex-col":"","items-center":"","justify-center":"","font-mono":""},A={key:0},G={key:1},Q=x({__name:"Countdown",props:{dataSourceUrl:null},setup(u){const a=u,{t:_}=N(),p=$(v),s=D(),e=g({}),f=g(!1),{data:i,isError:k,error:w}=B(a.dataSourceUrl,s);return E(i,async()=>{var d;i.value===null||i.value===void 0||(e.value=I((d=i.value)==null?void 0:d.contest),p.value=`${e.value.name} | ${v}`,f.value=!0)}),(d,M)=>(o(),n("div",j,[t(f)?(o(),n("div",O,[c("div",P,[c("div",{"mt-20":"","text-6xl":"",class:C([t(e).getContestState(t(s)).toString()])},r(t(e).getContestState(t(s))),3),c("div",{"mt-20":"",class:C(["text-[320px]",[t(e).getContestState(t(s)).toString()]])},[t(e).getContestState(t(s))===t(T).PENDING?(o(),n("div",A,r(t(e).getContestPendingTime(t(s))),1)):(o(),n("div",G,r(t(e).getContestElapsedTime(t(s))),1))],2)])])):(o(),n("div",V,[c("div",z,[c("div",null,r(t(_)("common.loading"))+"... ",1),t(k)?(o(),n("div",L,r(t(w)),1)):l("",!0)])]))]))}});const W=y(Q,[["__scopeId","data-v-42377914"]]),X={key:0},q={"mt-20":""},H={key:1},J=x({__name:"CustomCountdown",setup(u){const a=F();return(_,p)=>{const s=b,e=W;return o(),n(U,null,[t(a).length===0?(o(),n("div",X,[c("div",q,[m(s)])])):l("",!0),t(a).length>0?(o(),n("div",H,[m(e,{"data-source-url":t(a)},null,8,["data-source-url"])])):l("",!0)],64)}}}),S={};function K(u,a){const _=J;return o(),n("div",null,[m(_)])}typeof h=="function"&&h(S);const et=y(S,[["render",K]]);export{et as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s,r as a,o as c,c as r,b as e,d as _,F as m,e as p,f as l}from"./index-
|
|
1
|
+
import{a as s,r as a,o as c,c as r,b as e,d as _,F as m,e as p,f as l}from"./index-0e85099d.js";const i={},d={class:"lg:mt-[-52px]","py-2":"","text-gray-700":"","dark:text-gray-200":""};function u(x,f){const o=p,t=a("RouterView"),n=l;return c(),r(m,null,[e(o,{width:"sm:w-[1024px] lg:w-screen"}),_("main",d,[e(t),e(n,{class:"sm:w-[1024px] lg:w-screen"})])],64)}const w=s(i,[["render",u]]);export{w as default};
|