System.register(["./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1763625242172","./public-legacy.js?v=1763625242172","./organization-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,a){"use strict";var t,n,s,r,l,i,u,c,o,_,p,g,d,y,m,x,j,v;return{setters:[e=>{t=e._},e=>{n=e._},e=>{s=e.c,r=e.d,l=e.h},e=>{i=e.c},e=>{u=e.a9,c=e.c,o=e.y},e=>{_=e.k,p=e.P,g=e.e,d=e.m,y=e.R,m=e.S,x=e.X,j=e.a3,v=e.V},null,null,null,null],execute:function(){const a={class:"p-20px"};e("default",_({__name:"index",props:{data:{}},setup(e,{expose:_}){const{t:b}=p(),f=e,{id:h}=f.data,C=g({p:1,rows:10}),{keys:k,table:w,columns:z}=s([{key:"name",title:b("Crontab.arrange.index_5"),render:e=>d("span",{},[u(e.start_time)])},{key:"name",title:b("Crontab.arrange.index_6"),render:e=>{const a=e.end_time-e.start_time;return d("span",{},[`${a<1?"<1":a}${b("Crontab.Planned.index_45")}`])}},{key:"name",title:b("Crontab.Planned.index_23"),render:function(e){return d("span",{},[e.status?d("span",{class:"text-[#20a53a]"},b("Crontab.arrange.index_35")):d("span",{class:"text-[#ef0808]"},b("Crontab.arrange.index_36"))])}},{key:"name",title:b("Crontab.arrange.index_20"),width:"50%",render:function(e){return d("pre",{class:"max-h-[14rem]",style:{"white-space":"pre-line"}},[e.status?e.result_succ:e.result_err])}}]),{loading:P,setLoading:R}=r(),S=async()=>{try{R(!0);const{message:e}=await i({...C,trigger_id:h});c(e)&&(w.data=e.data,w.total=o(e.page))}finally{k.value=[],R(!1)}};return S(),_({init:S}),(e,s)=>{const r=l,i=n,u=t;return y(),m("div",a,[x(u,null,{table:j((()=>[x(r,{loading:v(P),"max-height":420,data:v(w).data,columns:v(z)},null,8,["loading","data","columns"])])),pageRight:j((()=>[x(i,{page:v(C).p,"onUpdate:page":s[0]||(s[0]=e=>v(C).p=e),"page-size":v(C).rows,"onUpdate:pageSize":s[1]||(s[1]=e=>v(C).rows=e),"item-count":v(w).total,onRefresh:S},null,8,["page","page-size","item-count"])])),_:1})])}}}))}}}));
