import{I as d}from"./iconify-p99pbjf9.js";import{_ as l}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{g as e,A as s,J as n,D as r,K as u,L as m,i as f,j as p,O as _,c as v}from"./index-DOFLUERq.js";const g={class:"control editable"},h={class:"field-controls"},k={class:"rating"},B=["innerHTML"],C={__name:"RatingControl",props:["df"],setup(t){const a=t,c=v(()=>parseInt(a.df.options)||5);return(o,I)=>(e(),s("div",g,[n("div",h,[r(o.$slots,"label",{},void 0,!0),r(o.$slots,"actions",{},void 0,!0)]),n("div",k,[(e(!0),s(u,null,m(c.value,i=>(e(),f(p(d),{key:i,icon:"mdi:star",class:"star"}))),128))]),t.df.description?(e(),s("div",{key:0,class:"mt-2 description",innerHTML:t.df.description},null,8,B)):_("",!0)]))}},H=l(C,[["__scopeId","data-v-cac35520"]]);export{H as default};
