@xcpcio/board-app 0.47.0 → 0.50.1
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-8cb099e8.js → Board-e49fa5a5.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-669bf7c0.js → DataSourceInput.vue_vue_type_script_setup_true_lang-f7a94fde.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-ce96e373.js → TheInput.vue_vue_type_script_setup_true_lang-71fc9a51.js} +1 -1
- package/dist/assets/{_...all_-729d96d7.js → _...all_-a7c27024.js} +2 -2
- package/dist/assets/{_...all_-f3d30859.js → _...all_-b664c765.js} +1 -1
- package/dist/assets/{_name_-fa12f56d.js → _name_-f7eb77b8.js} +1 -1
- package/dist/assets/{about-6e5a2f3e.js → about-2103c294.js} +1 -1
- package/dist/assets/{board-6c9ef349.js → board-a30142c4.js} +1 -1
- package/dist/assets/{board-layout-1ad47386.js → board-layout-8a7f024d.js} +1 -1
- package/dist/assets/{headless-cbd40573.js → headless-7cb9b4e2.js} +1 -1
- package/dist/assets/{home-eb990606.js → home-4f35cc24.js} +1 -1
- package/dist/assets/index-018d4b03.js +274 -0
- package/dist/assets/{index-42e1a002.js → index-4a515f06.js} +1 -1
- package/dist/assets/{index-5e6a6648.js → index-57ca4f0a.js} +1 -1
- package/dist/assets/{index-fd9c106b.js → index-d357dc60.js} +1 -1
- package/dist/assets/{index-53dc9c92.css → index-e6cdf581.css} +2 -2
- package/dist/assets/{index-layout-7a27b184.js → index-layout-f7a16f8b.js} +1 -1
- package/dist/assets/{pagination-fe331a94.js → pagination-b2b8c1d7.js} +1 -1
- package/dist/assets/query-49959a5e.js +1 -0
- package/dist/assets/{test-544e70d8.js → test-2ab0c86d.js} +1 -1
- package/dist/assets/{user-449d45cf.js → user-f6e65dcb.js} +1 -1
- package/dist/assets/{virtual_pwa-register-c3a257bf.js → virtual_pwa-register-b980ead8.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +5 -5
- package/src/components/NavBar.vue +11 -1
- package/dist/assets/index-d70fb8f0.js +0 -274
- package/dist/assets/query-ce1fd4de.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Y=(i,t,e)=>{if(!t.has(i))throw TypeError("Cannot "+e)};var s=(i,t,e)=>(Y(i,t,"read from private field"),e?e.call(i):t.get(i)),u=(i,t,e)=>{if(t.has(i))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(i):t.set(i,e)},l=(i,t,e,r)=>(Y(i,t,"write to private field"),r?r.call(i,e):t.set(i,e),e);var f=(i,t,e)=>(Y(i,t,"access private method"),e);import{av as wt,aw as X,ax as St,ay as dt,az as ft,aA as Qt,aB as Et,aC as It,aD as pt,aE as Dt,aF as Ft,aG as Tt,aH as Ut,h as Z,aI as jt,aJ as xt,A as V,aK as yt,aL as Mt,aM as bt,aN as At,aO as Pt,aP as Lt,ai as gt}from"./index-018d4b03.js";var v,o,L,b,Q,U,O,$,j,x,E,I,w,M,D,P,W,tt,B,et,N,st,_,it,k,rt,z,nt,K,at,G,Ot,mt,$t=(mt=class extends wt{constructor(t,e){super();u(this,D);u(this,W);u(this,B);u(this,N);u(this,_);u(this,k);u(this,z);u(this,K);u(this,G);u(this,v,void 0);u(this,o,void 0);u(this,L,void 0);u(this,b,void 0);u(this,Q,void 0);u(this,U,void 0);u(this,O,void 0);u(this,$,void 0);u(this,j,void 0);u(this,x,void 0);u(this,E,void 0);u(this,I,void 0);u(this,w,void 0);u(this,M,new Set);this.options=e,l(this,v,t),l(this,O,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(s(this,o).addObserver(this),vt(s(this,o),this.options)?f(this,D,P).call(this):this.updateResult(),f(this,_,it).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ot(s(this,o),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ot(s(this,o),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,f(this,k,rt).call(this),f(this,z,nt).call(this),s(this,o).removeObserver(this)}setOptions(t,e){const r=this.options,a=s(this,o);if(this.options=s(this,v).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");f(this,K,at).call(this),s(this,o).setOptions(this.options),r._defaulted&&!X(this.options,r)&&s(this,v).getQueryCache().notify({type:"observerOptionsUpdated",query:s(this,o),observer:this});const n=this.hasListeners();n&&Rt(s(this,o),a,this.options,r)&&f(this,D,P).call(this),this.updateResult(e),n&&(s(this,o)!==a||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&f(this,W,tt).call(this);const c=f(this,B,et).call(this);n&&(s(this,o)!==a||this.options.enabled!==r.enabled||c!==s(this,w))&&f(this,N,st).call(this,c)}getOptimisticResult(t){const e=s(this,v).getQueryCache().build(s(this,v),t),r=this.createResult(e,t);return Bt(this,r)&&(l(this,b,r),l(this,U,this.options),l(this,Q,s(this,o).state)),r}getCurrentResult(){return s(this,b)}trackResult(t,e){const r={};return Object.keys(t).forEach(a=>{Object.defineProperty(r,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),e==null||e(a),t[a])})}),r}trackProp(t){s(this,M).add(t)}getCurrentQuery(){return s(this,o)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=s(this,v).defaultQueryOptions(t),r=s(this,v).getQueryCache().build(s(this,v),e);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,e))}fetch(t){return f(this,D,P).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),s(this,b)))}createResult(t,e){var lt;const r=s(this,o),a=this.options,n=s(this,b),c=s(this,Q),y=s(this,U),S=t!==r?t.state:s(this,L),{state:R}=t;let h={...R},d=!1,p;if(e._optimisticResults){const m=this.hasListeners(),J=!m&&vt(t,e),Ct=m&&Rt(t,r,e,a);(J||Ct)&&(h={...h,...It(R.data,t.options)}),e._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:F,errorUpdatedAt:A,status:g}=h;if(e.select&&h.data!==void 0)if(n&&h.data===(c==null?void 0:c.data)&&e.select===s(this,$))p=s(this,j);else try{l(this,$,e.select),p=e.select(h.data),p=pt(n==null?void 0:n.data,p,e),l(this,j,p),l(this,O,null)}catch(m){l(this,O,m)}else p=h.data;if(e.placeholderData!==void 0&&p===void 0&&g==="pending"){let m;if(n!=null&&n.isPlaceholderData&&e.placeholderData===(y==null?void 0:y.placeholderData))m=n.data;else if(m=typeof e.placeholderData=="function"?e.placeholderData((lt=s(this,x))==null?void 0:lt.state.data,s(this,x)):e.placeholderData,e.select&&m!==void 0)try{m=e.select(m),l(this,O,null)}catch(J){l(this,O,J)}m!==void 0&&(g="success",p=pt(n==null?void 0:n.data,m,e),d=!0)}s(this,O)&&(F=s(this,O),p=s(this,j),A=Date.now(),g="error");const T=h.fetchStatus==="fetching",q=g==="pending",H=g==="error",ut=q&&T,ct=p!==void 0;return{status:g,fetchStatus:h.fetchStatus,isPending:q,isSuccess:g==="success",isError:H,isInitialLoading:ut,isLoading:ut,data:p,dataUpdatedAt:h.dataUpdatedAt,error:F,errorUpdatedAt:A,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>S.dataUpdateCount||h.errorUpdateCount>S.errorUpdateCount,isFetching:T,isRefetching:T&&!q,isLoadingError:H&&!ct,isPaused:h.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:H&&ct,isStale:ht(t,e),refetch:this.refetch}}updateResult(t){const e=s(this,b),r=this.createResult(s(this,o),this.options);if(l(this,Q,s(this,o).state),l(this,U,this.options),s(this,Q).data!==void 0&&l(this,x,s(this,o)),X(r,e))return;l(this,b,r);const a={},n=()=>{if(!e)return!0;const{notifyOnChangeProps:c}=this.options,y=typeof c=="function"?c():c;if(y==="all"||!y&&!s(this,M).size)return!0;const C=new Set(y??s(this,M));return this.options.throwOnError&&C.add("error"),Object.keys(s(this,b)).some(S=>{const R=S;return s(this,b)[R]!==e[R]&&C.has(R)})};(t==null?void 0:t.listeners)!==!1&&n()&&(a.listeners=!0),f(this,G,Ot).call(this,{...a,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&f(this,_,it).call(this)}},v=new WeakMap,o=new WeakMap,L=new WeakMap,b=new WeakMap,Q=new WeakMap,U=new WeakMap,O=new WeakMap,$=new WeakMap,j=new WeakMap,x=new WeakMap,E=new WeakMap,I=new WeakMap,w=new WeakMap,M=new WeakMap,D=new WeakSet,P=function(t){f(this,K,at).call(this);let e=s(this,o).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(St)),e},W=new WeakSet,tt=function(){if(f(this,k,rt).call(this),dt||s(this,b).isStale||!ft(this.options.staleTime))return;const e=Qt(s(this,b).dataUpdatedAt,this.options.staleTime)+1;l(this,E,setTimeout(()=>{s(this,b).isStale||this.updateResult()},e))},B=new WeakSet,et=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(s(this,o)):this.options.refetchInterval)??!1},N=new WeakSet,st=function(t){f(this,z,nt).call(this),l(this,w,t),!(dt||this.options.enabled===!1||!ft(s(this,w))||s(this,w)===0)&&l(this,I,setInterval(()=>{(this.options.refetchIntervalInBackground||Et.isFocused())&&f(this,D,P).call(this)},s(this,w)))},_=new WeakSet,it=function(){f(this,W,tt).call(this),f(this,N,st).call(this,f(this,B,et).call(this))},k=new WeakSet,rt=function(){s(this,E)&&(clearTimeout(s(this,E)),l(this,E,void 0))},z=new WeakSet,nt=function(){s(this,I)&&(clearInterval(s(this,I)),l(this,I,void 0))},K=new WeakSet,at=function(){const t=s(this,v).getQueryCache().build(s(this,v),this.options);if(t===s(this,o))return;const e=s(this,o);l(this,o,t),l(this,L,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},G=new WeakSet,Ot=function(t){Dt.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(s(this,b))}),s(this,v).getQueryCache().notify({query:s(this,o),type:"observerResultsUpdated"})})},mt);function Wt(i,t){return t.enabled!==!1&&i.state.data===void 0&&!(i.state.status==="error"&&t.retryOnMount===!1)}function vt(i,t){return Wt(i,t)||i.state.data!==void 0&&ot(i,t,t.refetchOnMount)}function ot(i,t,e){if(t.enabled!==!1){const r=typeof e=="function"?e(i):e;return r==="always"||r!==!1&&ht(i,t)}return!1}function Rt(i,t,e,r){return(i!==t||r.enabled===!1)&&(!e.suspense||i.state.status!=="error")&&ht(i,e)}function ht(i,t){return t.enabled!==!1&&i.isStaleByTime(t.staleTime)}function Bt(i,t){return!X(i.getCurrentResult(),t)}function Nt(i=""){if(!Ft())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Ut(i),e=Tt(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}function _t(i,t,e){const r=e||Nt(),a=Z(()=>{const d=jt(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const p=r.defaultQueryOptions(d);return p._optimisticResults=r.isRestoring.value?"isRestoring":"optimistic",p}),n=new i(r,a.value),c=xt(n.getCurrentResult());let y=()=>{};V(r.isRestoring,d=>{d||(y(),y=n.subscribe(p=>{yt(c,p)}))},{immediate:!0});const C=()=>{n.setOptions(a.value),yt(c,n.getCurrentResult())};V(a,C),Mt(()=>{y()});const S=(...d)=>(C(),c.refetch(...d)),R=()=>new Promise((d,p)=>{let F=()=>{};const A=()=>{if(a.value.enabled!==!1){n.setOptions(a.value);const g=n.getOptimisticResult(a.value);g.isStale?(F(),n.fetchOptimistic(a.value).then(d,T=>{bt(a.value.throwOnError,[T,n.getCurrentQuery()])?p(T):d(n.getCurrentResult())})):(F(),d(g))}};A(),F=V(a,A)});V(()=>c.error,d=>{if(c.isError&&!c.isFetching&&bt(a.value.throwOnError,[d,n.getCurrentQuery()]))throw d});const h=At(Pt(c));for(const d in c)typeof c[d]=="function"&&(h[d]=c[d]);return h.suspense=R,h.refetch=S,h}function kt(i,t){return _t($t,i,t)}const zt=3;async function Kt(i,t){const e=i.startsWith("/")?i.slice(1):i;let r=`${window.DATA_HOST}${e}`;i.startsWith("http")&&(r=i),r.endsWith("/")&&(r=r.slice(0,-1));const a=await fetch(`${r}/config.json?t=${t??0}`),n=await fetch(`${r}/team.json?t=${t??0}`),c=await fetch(`${r}/run.json?t=${t??0}`),{status:y,statusText:C}=a;if(y>=300||y<200)throw new Error(`fetch data failed. [status=${y}] [statusText=${C}]`);return Promise.all([a.json(),n.json(),c.json()]).then(R=>({contest:R[0],teams:R[1],submissions:R[2]}))}function Ht(i,t){let e=3e4,r=Z(()=>Math.floor(t.value.getTime()/1e3/10));return Lt.value==="I18N"&&(e=10*1e3,r=Z(()=>Math.floor(t.value.getTime()/1e3))),kt({queryKey:[i,r.value],queryFn:()=>Kt(i,r.value),retry:zt,staleTime:e,refetchInterval:e})}function Jt(){return gt("data-source","",{transform:String})}function Yt(){return gt("battle-of-giants","",{transform:String})}export{Yt as a,Jt as g,Ht as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as m}from"./TheInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as m}from"./TheInput.vue_vue_type_script_setup_true_lang-71fc9a51.js";import{g as _,i as p,M as f,n as h,o as b,c as v,d as e,t as n,j as o,b as y,N as x,O as g,y as l}from"./index-018d4b03.js";import{u as w}from"./user-f6e65dcb.js";const V={flex:"","flex-col":"","justify-center":"","items-center":""},k=e("div",{"text-4xl":""},[e("div",{"i-carbon-campsite":""})],-1),I=e("p",null,[e("a",{rel:"noreferrer",href:"https://github.com/antfu/vitesse",target:"_blank"}," Vitesse ")],-1),N={"text-sm":"","opacity-75":""},B=e("div",{"py-4":""},null,-1),C={"w-48":""},K={class:"hidden",for:"input"},R=["disabled"],U=_({name:"IndexPage",__name:"test",setup(j){const r=w(),t=p(r.savedName),c=f();function a(){t.value&&c.push(`/hi/${encodeURIComponent(t.value)}`)}const{t:s}=h();return(S,i)=>{const d=m;return b(),v("div",V,[k,I,e("p",null,[e("em",N,n(o(s)("intro.desc")),1)]),B,e("div",C,[y(d,{modelValue:o(t),"onUpdate:modelValue":i[0]||(i[0]=u=>x(t)?t.value=u:null),placeholder:o(s)("intro.whats-your-name"),autocomplete:"false",onKeydown:g(a,["enter"])},null,8,["modelValue","placeholder","onKeydown"]),e("label",K,n(o(s)("intro.whats-your-name")),1)]),e("div",null,[e("button",{"m-3":"","text-sm":"",btn:"",disabled:!o(t),onClick:a},n(o(s)("button.go")),9,R)])])}}});typeof l=="function"&&l(U);export{U as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aT as m,i as r,h as t}from"./index-018d4b03.js";const l=m("user",()=>{const e=r(""),s=r(new Set),o=t(()=>Array.from(s.value)),u=t(()=>o.value.filter(a=>a!==e.value));function n(a){e.value&&s.value.add(e.value),e.value=a}return{setNewName:n,otherNames:u,savedName:e}});export{l as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as u}from"./index-
|
|
1
|
+
import{_ as u}from"./index-018d4b03.js";function p(d={}){const{immediate:l=!1,onNeedRefresh:v,onOfflineReady:t,onRegistered:r,onRegisteredSW:o,onRegisterError:s}=d;let i,n;const c=async(a=!0)=>{await n};async function f(){if("serviceWorker"in navigator){const{Workbox:a}=await u(()=>import("./workbox-window.prod.es5-a7b12eab.js"),[],import.meta.url);i=new a("/sw.js",{scope:"/",type:"classic"}),i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||t==null||t()}),i.register({immediate:l}).then(e=>{o?o("/sw.js",e):r==null||r(e)}).catch(e=>{s==null||s(e)})}}return n=f(),c}export{p as registerSW};
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"><link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"><link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.50.1/dist/balloon-192x192.png"><link rel="mask-icon" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.50.1/dist/balloon-512x512.svg" color="#00aba9"><meta name="msapplication-TileColor" content="#00aba9"><script>function normalizePath(_){for(;_.endsWith("/");)_=_.slice(0,-1);return`${_}/`}{let _="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.50.1/dist";_=normalizePath(_),window.CDN_HOST=_}try{let _=__DATA_HOST__;_=normalizePath(_),window.DATA_HOST=_}catch(_){window.DATA_HOST="/data/"}try{let _=__DATA_REGION__;window.DATA_REGION=_}catch(_){window.DATA_REGION="CN"}try{let _=__DEFAULT_LANG__;window.DEFAULT_LANG=_}catch(_){window.DEFAULT_LANG="en"}</script><script>!function(){localStorage.getItem("vueuse-color-scheme")||localStorage.setItem("vueuse-color-scheme","light");const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,o=localStorage.getItem("vueuse-color-scheme")||"auto";("dark"===o||e&&"light"!==o)&&document.documentElement.classList.toggle("dark",!0)}()</script><script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.50.1/dist/assets/index-018d4b03.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.50.1/dist/assets/index-e6cdf581.css"><link rel="manifest" href="/manifest.webmanifest"></head><body class="font-sans"><div id="app"></div><noscript>This website requires JavaScript to function properly. Please enable JavaScript to continue.</noscript><script>try{var umamiJSUrl=__UMAMI_JS_URL__,umamiWebsiteId=__UMAMI_WEBSITE_ID__;!function(){var e=document.createElement("script");e.src=umamiJSUrl,e.defer=!0,e.setAttribute("data-website-id",umamiWebsiteId);var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}try{var plausibleJSUrl=__PLAUSIBLE_JS_URL__,plausibleDataDomain=__PLAUSIBLE_DATA_DOMAIN__;!function(){var e=document.createElement("script");e.src=plausibleJSUrl,e.defer=!0,e.setAttribute("data-domain",plausibleDataDomain);var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}try{var baiduAnalyticsId=__BAIDU_ANALYTICS_ID__,_hmt=_hmt||[];!function(){var e=document.createElement("script");e.src=`https://hm.baidu.com/hm.js?${baiduAnalyticsId}`;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}catch(e){}try{var googleAnalyticsId=__GOOGLE_ANALYTICS_ID__;!function(){var e,t,a,r,c,n;location.port||(e=window,t=document,a="script",r="ga",e.GoogleAnalyticsObject=r,e[r]=e[r]||function(){(e[r].q=e[r].q||[]).push(arguments)},e[r].l=1*new Date,c=t.createElement(a),n=t.getElementsByTagName(a)[0],c.async=1,c.src="//www.google-analytics.com/analytics.js",n.parentNode.insertBefore(c,n),ga("create",`${googleAnalyticsId}`,"auto"),ga("send","pageview"))}()}catch(e){}</script></body></html>
|
package/dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let s,e={};const l=(l,n)=>(l=new URL(l+".js",n).href,e[l]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()})).then((()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s})));self.define=(n,i)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const a=s=>l(s,r),t={module:{uri:r},exports:u,require:a};e[r]=Promise.all(n.map((s=>t[s]||a(s)))).then((s=>(i(...s),u)))}}define(["./workbox-b8d87ee1"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"assets/_...all_-
|
|
1
|
+
if(!self.define){let s,e={};const l=(l,n)=>(l=new URL(l+".js",n).href,e[l]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()})).then((()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s})));self.define=(n,i)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const a=s=>l(s,r),t={module:{uri:r},exports:u,require:a};e[r]=Promise.all(n.map((s=>t[s]||a(s)))).then((s=>(i(...s),u)))}}define(["./workbox-b8d87ee1"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"assets/_...all_-a7c27024.js",revision:null},{url:"assets/_...all_-b664c765.js",revision:null},{url:"assets/_...all_-c60acc8c.css",revision:null},{url:"assets/_name_-f7eb77b8.js",revision:null},{url:"assets/about-2103c294.js",revision:null},{url:"assets/Board-24564942.css",revision:null},{url:"assets/board-a30142c4.js",revision:null},{url:"assets/Board-e49fa5a5.js",revision:null},{url:"assets/board-layout-8a7f024d.js",revision:null},{url:"assets/DataSourceInput.vue_vue_type_script_setup_true_lang-f7a94fde.js",revision:null},{url:"assets/en-c9a8dbb5.js",revision:null},{url:"assets/headless-7cb9b4e2.js",revision:null},{url:"assets/home-4f35cc24.js",revision:null},{url:"assets/index-018d4b03.js",revision:null},{url:"assets/index-241beb5a.css",revision:null},{url:"assets/index-4a515f06.js",revision:null},{url:"assets/index-57ca4f0a.js",revision:null},{url:"assets/index-67b2a8c5.css",revision:null},{url:"assets/index-d357dc60.js",revision:null},{url:"assets/index-e6cdf581.css",revision:null},{url:"assets/index-layout-f7a16f8b.js",revision:null},{url:"assets/pagination-b2b8c1d7.js",revision:null},{url:"assets/query-49959a5e.js",revision:null},{url:"assets/test-2ab0c86d.js",revision:null},{url:"assets/TheInput.vue_vue_type_script_setup_true_lang-71fc9a51.js",revision:null},{url:"assets/user-f6e65dcb.js",revision:null},{url:"assets/virtual_pwa-register-b980ead8.js",revision:null},{url:"assets/workbox-window.prod.es5-a7b12eab.js",revision:null},{url:"assets/zh-CN-8e545f66.js",revision:null},{url:"index.html",revision:"2b8cb492b754bdead37acbae3f0a8590"},{url:"favicon.svg",revision:"5a744f4ccbb122d4a0575be779ddcd43"},{url:"safari-pinned-tab.svg",revision:"5eaf74d1c43d30e0af743b68a3f48504"},{url:"balloon2-192x192.png",revision:"c857ae6d9dfae118ab4397d4358422bd"},{url:"balloon2-512x512.png",revision:"065594f4f743fe3884793c03d3fe7d9e"},{url:"manifest.webmanifest",revision:"3082e8d8ebc9619c6c1055ff243a02a8"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/board-app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.50.1",
|
|
5
5
|
"description": "XCPCIO Board App",
|
|
6
6
|
"author": "Dup4 <lyuzhi.pan@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"node": ">=16"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tanstack/vue-query": "^
|
|
33
|
+
"@tanstack/vue-query": "^5.29.0",
|
|
34
34
|
"@unhead/vue": "^1.3.3",
|
|
35
35
|
"@unocss/reset": "^0.53.6",
|
|
36
36
|
"@vueuse/components": "^10.3.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"vue-router": "^4.2.4",
|
|
54
54
|
"vue-search-select": "^3.1.2",
|
|
55
55
|
"vue-toast-notification": "^3",
|
|
56
|
-
"@xcpcio/
|
|
57
|
-
"@xcpcio/
|
|
56
|
+
"@xcpcio/types": "0.50.1",
|
|
57
|
+
"@xcpcio/core": "0.50.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@antfu/eslint-config": "^0.39.8",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"vite-plugin-vue-devtools": "^0.5.1",
|
|
97
97
|
"vite-plugin-vue-layouts": "^0.8.0",
|
|
98
98
|
"vite-plugin-vue-markdown": "^0.23.8",
|
|
99
|
-
"vite-plugin-webfont-dl": "^3.
|
|
99
|
+
"vite-plugin-webfont-dl": "^3.9.3",
|
|
100
100
|
"vite-ssg": "^0.23.3",
|
|
101
101
|
"vite-ssg-sitemap": "^0.5.1",
|
|
102
102
|
"vitest": "^0.33.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { GITHUB_URL } from "@xcpcio/types";
|
|
2
|
+
import { GITHUB_URL, XCPCIO_HOME } from "@xcpcio/types";
|
|
3
3
|
import { availableLocales, loadLanguageAsync } from "~/modules/i18n";
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
@@ -103,6 +103,16 @@ const homeLink = computed(() => {
|
|
|
103
103
|
>
|
|
104
104
|
<div i-carbon-logo-github />
|
|
105
105
|
</a>
|
|
106
|
+
|
|
107
|
+
<a
|
|
108
|
+
icon-btn
|
|
109
|
+
rel="noreferrer"
|
|
110
|
+
:href="XCPCIO_HOME"
|
|
111
|
+
target="_blank"
|
|
112
|
+
title="GitHub"
|
|
113
|
+
>
|
|
114
|
+
<div i-simple-icons-githubsponsors />
|
|
115
|
+
</a>
|
|
106
116
|
</div>
|
|
107
117
|
</nav>
|
|
108
118
|
</header>
|