mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-02 11:18:20 +00:00
2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{d as C,N as V,h as g,c as v,J as u,ad as c,u as e,a as d,b as i,e as t,w as n,k as a,t as y,aN as x,F as S,D as E,G as F,Q as T,aA as M,H as P}from"./index-f99f26c5.js";/* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{u as B}from"./diy-e412e4fe.js";const D={class:"content-wrap"},N={class:"flex items-center"},U={class:"mr-[3px]"},$={class:"style-wrap"},k=C({__name:"edit-form-textarea",setup(I,{expose:_}){const o=B();return o.editComponent.ignore=["componentBgUrl"],o.editComponent.verify=r=>({code:!0,message:""}),_({}),(r,l)=>{const m=E,p=F,f=V("QuestionFilled"),h=T,w=M,b=P;return g(),v(S,null,[u(d("div",D,[i(r.$slots,"field"),t(b,{"label-width":"100px",class:"px-[10px]",onSubmit:l[3]||(l[3]=x(()=>{},["prevent"]))},{default:n(()=>[t(p,{label:e(a)("formPlaceholder")},{default:n(()=>[t(m,{modelValue:e(o).editComponent.placeholder,"onUpdate:modelValue":l[0]||(l[0]=s=>e(o).editComponent.placeholder=s),modelModifiers:{trim:!0},placeholder:e(a)("formPlaceholderTips"),clearable:"",maxlength:"15","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t(p,null,{label:n(()=>[d("div",N,[d("span",U,y(e(a)("defaultValue")),1),t(w,{effect:"light",content:e(a)("defaultValueTips"),placement:"top"},{default:n(()=>[t(h,null,{default:n(()=>[t(f,{color:"#999999"})]),_:1})]),_:1},8,["content"])])]),default:n(()=>[t(m,{modelValue:e(o).editComponent.field.default,"onUpdate:modelValue":l[1]||(l[1]=s=>e(o).editComponent.field.default=s),modelModifiers:{trim:!0},placeholder:e(a)("defaultValuePlaceholder"),clearable:"",maxlength:"18","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1}),t(p,{label:e(a)("rowCount")},{default:n(()=>[t(m,{modelValue:e(o).editComponent.rowCount,"onUpdate:modelValue":l[2]||(l[2]=s=>e(o).editComponent.rowCount=s),modelModifiers:{trim:!0},placeholder:e(a)("rowCountPlaceholder"),clearable:"",maxlength:"2","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}),i(r.$slots,"other")],512),[[c,e(o).editTab=="content"]]),u(d("div",$,[i(r.$slots,"style-field"),i(r.$slots,"style")],512),[[c,e(o).editTab=="style"]])],64)}}}),J=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"}));export{J as _};
|