@xcpcio/board-app 0.41.0 → 0.41.3
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/assets/{Board-1e7cccfa.css → Board-a97da662.css} +1 -1
- package/dist/assets/{Board-b33aa490.js → Board-ba14b456.js} +3 -3
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-3248a2a6.js → DataSourceInput.vue_vue_type_script_setup_true_lang-c53a1871.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-e84f869a.js → TheInput.vue_vue_type_script_setup_true_lang-4886f3b5.js} +1 -1
- package/dist/assets/{_...all_-279e61ac.js → _...all_-49b2fc63.js} +1 -1
- package/dist/assets/{_name_-5f07a357.js → _name_-0e669066.js} +1 -1
- package/dist/assets/{about-ecd2e060.js → about-820fed17.js} +1 -1
- package/dist/assets/{board-f80a6ebd.js → board-19c33c84.js} +1 -1
- package/dist/assets/{board-layout-82331312.js → board-layout-bef2a635.js} +1 -1
- package/dist/assets/{headless-f1d78cf5.js → headless-55794b2f.js} +1 -1
- package/dist/assets/{home-485a1733.js → home-a82ea1dd.js} +1 -1
- package/dist/assets/index-1d8700c3.js +1 -0
- package/dist/assets/{index-5bce9eed.js → index-62977b28.js} +1 -1
- package/dist/assets/{index-76466090.css → index-6e725f83.css} +1 -1
- package/dist/assets/index-9461f72e.js +274 -0
- package/dist/assets/{index-layout-78f0b387.js → index-layout-1c079cde.js} +1 -1
- package/dist/assets/{test-e8017ce8.js → test-0a09aacc.js} +1 -1
- package/dist/assets/{useQueryBoardData-306b0289.js → useQueryBoardData-6b3ec086.js} +1 -1
- package/dist/assets/{user-d070f3c2.js → user-d10b2e47.js} +1 -1
- package/dist/assets/{virtual_pwa-register-c07e5e23.js → virtual_pwa-register-6d2e8e6c.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +3 -3
- package/src/components/board/Export.vue +31 -1
- package/src/components/board/Standings.less +22 -0
- package/src/components/board/TeamUI.vue +10 -4
- package/dist/assets/index-54651f20.js +0 -260
- package/dist/assets/index-bd99aa6c.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as w,s as h,i,v as L,o,c as t,l as e,n as V,d as s,x as D,t as v,m as y,h as F,B as C,u as R,w as A,j as O,y as q,z as M,A as Q,k as X,F as I,D as G,E as H,R as J,b as B,a as K,q as S}from"./index-54651f20.js";import{u as P}from"./useQueryBoardData-306b0289.js";import{g as W,_ as Y}from"./DataSourceInput.vue_vue_type_script_setup_true_lang-3248a2a6.js";import"./TheInput.vue_vue_type_script_setup_true_lang-e84f869a.js";const Z={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":""},ee={class:"resolver-team-name",truncate:"","overflow-hidden":""},oe=s("div",{flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},null,-1),te={"w-32":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},se=w({__name:"BalloonBlock",props:{index:{},balloon:{}},setup(m){const n=m,u=h(()=>n.index),a=h(()=>n.balloon),l=i(null),r=L(l);function x(c){return[c.location,c.organization,c.name].filter(k=>k).join(" - ")}const f=h(()=>a.value.problem.balloonColor);return(c,p)=>(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(u)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one"])},[s("div",{"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":"",style:D({backgroundColor:e(f).background_color})},[s("div",{style:D({color:e(f).color})},v(e(a).problem.label),5)],4),s("div",Z,[s("div",ee,v(x(e(a).team)),1),oe]),s("div",te,v(e(a).submission.timestampToMinute),1)],2)):y("",!0)],512))}}),ne={class:"bg-[#323443]","text-gray-200":""},ae={key:0},le={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:""},re={key:0},ce={key:1},ie={flex:"","flex-col":"","justify-between":""},ue=w({__name:"Balloon",props:{dataSourceUrl:null},setup(m){const n=m,u=F(C),{t:a}=R(),l=i(!1),r=i({}),x=i([]),f=i([]),c=i({}),p=i(new Date);function k(){const d=new J(r.value,x.value,f.value);d.buildBalloons(),c.value=d}const{data:_,isError:N,error:T}=P(n.dataSourceUrl,p);A(_,async()=>{var d,g,b;_.value===null||_.value===void 0||(r.value=O((d=_.value)==null?void 0:d.contest),u.value=`${r.value.name} | ${C}`,x.value=q((g=_.value)==null?void 0:g.teams),f.value=M((b=_.value)==null?void 0:b.submissions),k(),l.value=!0)});const U=h(()=>c.value.balloons.sort(Q.compare).reverse().slice(0,256)),z=setInterval(()=>{p.value=new Date},1e3);return X(()=>{clearInterval(z)}),(d,g)=>{const b=se;return o(),t("div",ne,[e(l)?(o(),t("div",ce,[s("div",ie,[(o(!0),t(I,null,G(e(U),($,E)=>(o(),H(b,{key:$.key,index:E,balloon:$},null,8,["index","balloon"]))),128))])])):(o(),t("div",ae,[s("div",le,[s("div",null,v(e(a)("common.loading"))+"... ",1),e(N)?(o(),t("div",re,v(e(T)),1)):y("",!0)])]))])}}}),_e={key:0},de={"mt-20":""},me={key:1},fe=w({__name:"CustomBalloon",setup(m){const n=W();return(u,a)=>{const l=Y,r=ue;return o(),t(I,null,[e(n).length===0?(o(),t("div",_e,[s("div",de,[B(l)])])):y("",!0),e(n).length>0?(o(),t("div",me,[B(r,{"data-source-url":e(n)},null,8,["data-source-url"])])):y("",!0)],64)}}}),j={};function ve(m,n){const u=fe;return o(),t("div",null,[B(u)])}typeof S=="function"&&S(j);const ye=K(j,[["render",ve]]);export{ye as default};
|