import{d as l,k as u,r as i,i as f,o as d,c,h as _}from"./index-BlU6DPnP.js";import{u as k,_ as v}from"./workflow.vue_vue_type_style_index_0_lang-3sh8K__j.js";import{h as g}from"./workflow-D85MYEv3.js";import"./job-task-list-table.vue_vue_type_script_setup_true_lang-CaM06I1u.js";import"./table-u42G8C7W.js";import"./Grid-Cpsk88_v.js";import"./job-B63-MVN3.js";import"./detail-drawer-C_9uz2U2.js";import"./DescriptionsItem-gspY_Hjg.js";import"./log-drawer-DaQyKcwN.js";import"./CollapseItem-nfFVmwOd.js";import"./dynamic-input.vue_vue_type_script_setup_true_lang-DwXVKZT0.js";import"./DynamicInput-DvfAGTT6.js";import"./code-mirror-1zmFi0Qb.js";import"./cron-input.vue_vue_type_style_index_0_lang-BHP-tMGB.js";import"./notify-BkZnHT3U.js";import"./group-XM1tp95e.js";const j=l({name:"workflow_form_detail",__name:"index",setup(w){const e=k(),s=u(),t=i(!1),a=String(s.query.id),r=i({}),m=async()=>{t.value=!0;const{data:n,error:o}=await g(a);o||(r.value=n),t.value=!1};return f(()=>{e.clear(),e.setType(1),e.setId(a),m()}),(n,o)=>(d(),c(_(v),{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=p=>r.value=p),spinning:t.value,disabled:""},null,8,["modelValue","spinning"]))}});export{j as default};
