Files
aaPanel/BTPanel/static/vite/js/FavoriteList-legacy.js
T
2025-11-21 17:19:27 +08:00

2 lines
1.6 KiB
JavaScript

System.register(["./index-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index-legacy39.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./soft-legacy2.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./file-legacy2.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1763625242172"],(function(e,t){"use strict";var l,a,s,i,o,n,u,c,r,v,f,p,g,y,d,j;return{setters:[e=>{l=e._},e=>{a=e.f,s=e.a,i=e.h},null,e=>{o=e.e},e=>{n=e.k,u=e.P,c=e.i,r=e.r,v=e.R,f=e.a2,p=e.a3,g=e.U,y=e.X,d=e.V,j=e.aj},null,null,null,null,null,null,null,null],execute:function(){const t={class:"p-20px"};e("default",n({__name:"FavoriteList",setup(e,{expose:n}){const{t:_}=u(),h=c("fileStore"),{favoriteList:m}=h,x=r(!1);n({open(){x.value=!0},close(){x.value=!1}});const w=r([{title:_("file.favoriteListModal.path"),key:"path",ellipsis:{tooltip:!0}},a({width:100,options:e=>[{label:_("Public.Btn.Delete"),onClick:()=>{return t=e.path,void s({title:_("file.favoriteListModal.removeFavoriteTitle"),content:_("file.favoriteListModal.removeFavoriteMessage",{path:t}),onConfirm:async()=>{await o(h,t)}});var t}}]})]);return(e,a)=>{const s=i,o=l;return v(),f(o,{show:d(x),"onUpdate:show":a[0]||(a[0]=e=>j(x)?x.value=e:null),title:d(_)("file.favoriteListModal.title"),width:850},{default:p((()=>[g("div",t,[y(s,{"max-height":480,data:d(m),columns:d(w)},null,8,["data","columns"])])])),_:1},8,["show","title"])}}}))}}}));