File: /www/server/panel/BTPanel/static/js/edit-set-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}System.register(["./index-legacy118.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./index-legacy383.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./form-item-legacy.js?v=1777008528","./index-legacy195.js?v=1777008528"],function(t,n){"use strict";var r,l,i,a,u,o,s,c,f,m,y,d,h,g,p,b,j,v,x,B,S,_;return{setters:[function(e){r=e._},function(e){l=e.c,i=e.aI,a=e.o,u=e.j,o=e.k,s=e.e,c=e.v,f=e.p,m=e.x,y=e.C,d=e.y,h=e.z},function(e){g=e.c,p=e.da,b=e.cT},function(e){j=e.u,v=e.d,x=e.e,B=e.f,S=e.h,_=e.o},null,null,null,null,null,null,null],execute:function(){var n={class:"p-[2rem]"};t("default",l({__name:"edit-set",setup:function(t){var l=i(j()),A=l.pluginOrThemePamra,T=l.isRefreshInstallList,k=l.isRefreshPluginOrThemeList,w=g().mainHeight,C=p({request:function(e){return v()},columns:x(),extension:[b(k)]}),I=C.BtTable,L=(C.BtPage,C.BtRecommendSearch,C.BtRefresh,C.BtColumn,C.BtBatch,C.BtTableCategory,C.BtErrorMask,C.classList,C.refresh,p({request:function(e){return B(e)},columns:S(),extension:[b(T)]})),R=L.BtTable,M=(L.refresh,L.ref),O=L.config,P=L.BtSearch;return a(function(){A.value.keyword=""}),function(t,l){var i=h,a=r;return u(),o("div",n,[s(a,null,{"header-left":c(function(){return[s(f(P),{class:"!w-[230px]",type:"wp-sets",placeholder:"搜索"})]}),"header-right":c(function(){return[s(i,{type:"primary",size:"default",onClick:l[0]||(l[0]=function(e){var t;return f(_)(null===(t=f(M))||void 0===t?void 0:t.tableSelectList)})},{default:c(function(){return e(l[1]||(l[1]=[m("添加",-1)]))}),_:1})]}),content:c(function(){return[f(O).data.length?(u(),y(f(R),{key:0,"max-height":200,class:"mb-[1rem]"})):d("",!0),s(f(I),{"max-height":f(w)-400},null,8,["max-height"])]}),_:1})])}}}))}}})}();