PageSourceSearch

https://cdn.wisgate.ai/wisgate/_nuxt/D3AN2rc9.js

js wisgate.ai collected 2026-10-04 13:25:50 UTC 2,481 bytes, 1 lines download raw bytes

1import{d as p,g as f,r as u,j as _,o as x,l as e,k as t,n as g,p as i,m as l,q as b,al as y}from"./DZ7mik94.js";import{T as k}from"./Bsj2dHy4.js";import{u as v}from"./D1AKMsRP.js";import"./Dy95dR0_.js";import"./gfOwY-TZ.js";import"./D9DYTts_.js";import"./B-6YFR6X.js";import"./r9caNwvE.js";import"./Ci2gcBr-.js";import"./ClxPfico.js";import"./DtXCka8O.js";import"./CWaiZ3M9.js";import"./BDcM2FMb.js";import"./0J-1uiXP.js";import"./GefESYmt.js";import"./Y2uuUinc.js";import"./DXDH8whQ.js";const w={class:"h-full overflow-hidden p-4 md:p-6 bg-white flex flex-col"},T={class:"flex items-center justify-between gap-3 mb-6 flex-shrink-0"},j={class:"flex items-center gap-3 min-w-0"},C={class:"min-w-0"},H={class:"text-lg font-semibold text-gray-900 truncate"},$={class:"flex items-center gap-2 flex-shrink-0"},B=["title"],S={class:"hidden sm:inline"},L=["disabled","title"],P={class:"hidden sm:inline"},R={class:"flex-1 -mx-4 md:-mx-6 -mb-4 md:-mb-6 overflow-hidden"},Z=p({name:"StudioImageHistoryPage",__name:"history",setup(F){const n=y(),d=f(),a=v(),o=u(null),c=()=>{n.push(d("/studio/image"))},m=()=>{o.value?.refreshTasks()},h=()=>{o.value?.clearFailedTasks()};return(s,I)=>{const r=g;return x(),_("div",w,[e("div",T,[e("div",j,[e("button",{onClick:c,class:"w-8 h-8 rounded-lg bg-gray-100 hover:bg-gray-200 flex items-center justify-center text-gray-500 transition-colors cursor-pointer flex-shrink-0"},[t(r,{name:"lucide:x",class:"text-sm"})]),e("div",C,[e("h1",H,i(s.$t("studio.history.title","History")),1)])]),e("div",$,[e("button",{class:"h-8 px-2.5 md:px-3 flex items-center justify-center rounded-lg border border-red-100 bg-red-50 text-red-500 hover:border-red-200 hover:bg-red-100 transition-all text-xs font-semibold gap-1.5",onClick:h,title:s.$t("tasks.clear_failed")},[t(r,{name:"lucide:trash-2",class:"text-sm"}),e("span",S,i(s.$t("tasks.clear_failed")),1)],8,B),e("button",{class:"h-8 px-2.5 md:px-3 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 hover:border-slate-300 hover:text-slate-900 transition-all text-xs font-semibold gap-1.5 disabled:cursor-not-allowed disabled:opacity-60",onClick:m,disabled:l(a).isLoading,title:s.$t("tasks.refresh")},[t(r,{name:"lucide:refresh-cw",class:b(["text-sm",{"animate-spin":l(a).isLoading}])},null,8,["class"]),e("span",P,i(s.$t("tasks.refresh")),1)],8,L)])]),e("div",R,[t(k,{ref_key:"historyRef",ref:o,type:"image","show-header-actions":!1},null,512)])])}}});export{Z as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.