"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BB7fFseo.cjs"),c={key:0,class:"form-progress"},a=e.defineComponent({__name:"FormProgress",setup(m){const r=e.inject("formStore"),n=e.computed(()=>{var o;const t=((o=e.widgets.value)==null?void 0:o.length)??0;return(Object.values(r.data).filter(Boolean).length??0)/t*100});return(t,s)=>e.unref(e.CommonSetting).showProgress?(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(e.unref(e.ElProgress),{percentage:n.value,"stroke-width":5,"show-text":!1},null,8,["percentage"])])):e.createCommentVNode("",!0)}}),l=e._export_sfc(a,[["__scopeId","data-v-19e675d5"]]);exports.default=l;
