chore: 同步最新前端构建产物到 backend/static

This commit is contained in:
Logan.Li committed 2026-06-26 00:02:36 +08:00
1 parent 0b404b4611
commit 9bf35b369c
134 files changed
+480 -2

No files matched your search

@@ -0,0 +1 @@
import{aX as oe,aY as Ct,aZ as E,a_ as gt,a$ as tt,b0 as ut,b1 as bt,b2 as kt,b3 as re,b4 as rt,b5 as ae,b6 as ce,b7 as Dt,b8 as Bt,r as v,b9 as Qt,ba as jt,i as Ut,j as t,N as ct,B as L,P as ie,C as it,D as Kt,a as zt,b as Wt,c as Gt,d as qt,e as Vt,A as Xt,bb as ne,L as de,S as J,aN as le,I as he,p as pe}from"./index-CwVkcMR-.js";import{a as z}from"./agent-CJbfK8cW.js";import{C as I,a as F}from"./card-C5qBu7CR.js";import{S as Rt,a as Tt,b as Et,c as It,d as at}from"./select-CGtvCG8I.js";import{c as G,T as xe,a as me,b as ge}from"./tabs-Bd_3HnQp.js";import{B as Z}from"./badge-DgJ0w7jf.js";import{R as yt,C as _t,X as Nt,Y as Ht,T as St,N as Yt}from"./generateCategoricalChart-B9iVh1fX.js";import{A as Mt,a as nt}from"./AreaChart-ZFR7lw9c.js";import{R as Jt}from"./refresh-cw-DM6JPbZg.js";import{P as ue}from"./plus-CaJ-dB4A.js";import{C as ft}from"./circle-x-DBoylLde.js";import{S as be}from"./square-pen-C8Ol72WC.js";import{T as fe}from"./trash-2-BPpnm3Sz.js";import{H as Y}from"./hard-drive-CGq_SnM5.js";import{D as xt}from"./disc-nz-uNCoJ.js";import"./index-CBIZnJrN.js";import"./chevron-up-DM77dvsL.js";var ve=class extends oe{constructor(e,s){super(),this.options=s,this.#s=e,this.#r=null,this.#o=Ct(),this.bindMethods(),this.setOptions(s)}#s;#t=void 0;#m=void 0;#e=void 0;#c;#l;#o;#r;#g;#h;#p;#i;#n;#a;#x=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ft(this.#t,this.options)?this.#d():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return vt(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return vt(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#j(),this.#y(),this.#t.removeObserver(this)}setOptions(e){const s=this.options,o=this.#t;if(this.options=this.#s.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof E(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#t.setOptions(this.options),s._defaulted&&!gt(this.options,s)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const a=this.hasListeners();a&&Ot(this.#t,o,this.options,s)&&this.#d(),this.updateResult(),a&&(this.#t!==o||E(this.options.enabled,this.#t)!==E(s.enabled,this.#t)||tt(this.options.staleTime,this.#t)!==tt(s.staleTime,this.#t))&&this.#u();const l=this.#b();a&&(this.#t!==o||E(this.options.enabled,this.#t)!==E(s.enabled,this.#t)||l!==this.#a)&&this.#f(l)}getOptimisticResult(e){const s=this.#s.getQueryCache().build(this.#s,e),o=this.createResult(s,e);return ye(this,o)&&(this.#e=o,this.#l=this.options,this.#c=this.#t.state),o}getCurrentResult(){return this.#e}trackResult(e,s){return new Proxy(e,{get:(o,a)=>(this.trackProp(a),s?.(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,a))})}trackProp(e){this.#x.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=this.#s.defaultQueryOptions(e),o=this.#s.getQueryCache().build(this.#s,s);return o.fetch().then(()=>this.createResult(o,s))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#e))}#d(e){this.#_();let s=this.#t.fetch(this.options,e);return e?.throwOnError||(s=s.catch(ut)),s}#u(){this.#j();const e=tt(this.options.staleTime,this.#t);if(bt.isServer()||this.#e.isStale||!kt(e))return;const o=re(this.#e.dataUpdatedAt,e)+1;this.#i=rt.setTimeout(()=>{this.#e.isStale||this.updateResult()},o)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#f(e){this.#y(),this.#a=e,!(bt.isServer()||E(this.options.enabled,this.#t)===!1||!kt(this.#a)||this.#a===0)&&(this.#n=rt.setInterval(()=>{(this.options.refetchIntervalInBackground||ae.isFocused())&&this.#d()},this.#a))}#v(){this.#u(),this.#f(this.#b())}#j(){this.#i&&(rt.clearTimeout(this.#i),this.#i=void 0)}#y(){this.#n&&(rt.clearInterval(this.#n),this.#n=void 0)}createResult(e,s){const o=this.#t,a=this.options,l=this.#e,d=this.#c,i=this.#l,n=e!==o?e.state:this.#m,{state:c}=e;let x={...c},u=!1,g;if(s._optimisticResults){const w=this.hasListeners(),T=!w&&Ft(e,s),_=w&&Ot(e,o,s,a);(T||_)&&(x={...x,...ce(c.data,e.options)}),s._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:M,errorUpdatedAt:r,status:R}=x;g=x.data;let A=!1;if(s.placeholderData!==void 0&&g===void 0&&R==="pending"){let w;l?.isPlaceholderData&&s.placeholderData===i?.placeholderData?(w=l.data,A=!0):w=typeof s.placeholderData=="function"?s.placeholderData(this.#p?.state.data,this.#p):s.placeholderData,w!==void 0&Line truncated