System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-BnJH7FKb.js?v=1773287522785","./index-legacy-dkzzOknK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BtQUnlS_.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CvnE2rtV.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./index-legacy-sO5zj2jA.js?v=1773287522785","./index-legacy-B7pUp0d3.js?v=1773287522785","./xterm-legacy-UzqSqzXt.js?v=1773287522785","./useSocket-legacy-D9BDJ2id.js?v=1773287522785","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1773287522785"],(function(e,l){"use strict";var a,u,s,t,n,c,_,i,r,y,g,p,d,v,o,j,x;return{setters:[e=>{a=e._},e=>{u=e.m},e=>{s=e.s},e=>{t=e.u},e=>{n=e.k,c=e.R,_=e.c,i=e.r,r=e.$,y=e.Z,g=e.a0,p=e.a9,d=e._,v=e.S,o=e.X},e=>{j=e.a1,x=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},f={class:"w-150px"};e("default",n({__name:"batch",props:{data:{}},setup(e,{expose:n}){const m=e,{categoryList:b}=t(),{t:w}=c(),{rows:S,onRefresh:h}=m.data,k=_((()=>b.filter((e=>""!==e.value)))),N=i(k.value[0].value);return n({onConfirm:async()=>{N.value?(await s({category_id:N.value,ids:JSON.stringify(S.map((e=>e.id))),node_list:JSON.stringify(S.map((e=>({id:e.id}))))}),h()):u.error(w("Please select category"))}}),(e,u)=>{const s=x,t=j,n=a;return r(),y("div",l,[g(n,null,{default:p((()=>[g(t,{label:e.$t("Node category"),"show-feedback":!1},{default:p((()=>[d("div",f,[g(s,{value:v(N),"onUpdate:value":u[0]||(u[0]=e=>o(N)?N.value=e:null),options:v(k)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}}));
