PageSourceSearch

https://www.msp360.com/_nuxt/chunk-BaseTextarea-BChZsxgz.js

js msp360.com collected 2026-09-24 08:48:21 UTC 2,105 bytes, 1 lines download raw bytes

1import{_ as k,a as h}from"./chunk-index-D4AU092G.js";import{_ as g,a as y}from"./entry-entry-D2ersTkP.js";import{_ as B}from"./chunk-useReviewDecryptPrefill-BtD8eNjY.js";import{x as $,z as V,j as s,B as S,C as o,T as d,I as c,H as i,D as q,M,X as T,G as j}from"./chunk-vendor-runtime-B9_QDvFA.js";const C={class:"field-block__wrap"},I=["id","name","placeholder","disabled"],w={class:"field-block__controls"},z=Object.assign({inheritAttrs:!1},{__name:"BaseTextarea",props:$({theme:{type:String,default:"light"},label:{type:String,default:""},placeholder:{type:String,default:""},name:{type:String,required:!0},validator:{type:[Object,Boolean],default:!1},disabled:{type:Boolean,default:!1},tooltip:{type:String,default:""}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const m=V(e,"modelValue"),a=e,u=s(()=>{var t;return!!((t=a==null?void 0:a.validator)!=null&&t.required)}),r=s(()=>{var t,l,n;return((n=(l=(t=a.validator)==null?void 0:t.$errors)==null?void 0:l[0])==null?void 0:n.$message)||""}),_=s(()=>u.value&&!a.label?`${a.placeholder} *`:a.placeholder),f=s(()=>{const t=["field-block textarea-block",`field-block_theme-${a.theme}`];return r.value&&t.push("field-block_error textarea-block_error"),t});return(t,l)=>{const n=k,b=y,p=B,x=h;return o(),S("div",{class:j(f.value)},[e.label?(o(),d(n,{key:0,"for-name":e.name,required:u.value,text:e.label},null,8,["for-name","required","text"])):c("",!0),i("div",C,[q(i("textarea",T({id:e.name,name:e.name,"onUpdate:modelValue":l[0]||(l[0]=v=>m.value=v),placeholder:_.value,disabled:e.disabled},t.$attrs,{class:"text-md border-sm rd-lg field-block__textarea textarea-block__textarea"}),null,16,I),[[M,m.value]]),i("div",w,[r.value&&!e.disabled?(o(),d(b,{key:0,path:"form-fields",i:"error",class:"field-block__error-icon"})):e.tooltip?(o(),d(p,{key:1,content:e.tooltip,icon:"addon-info2","bg-color":!1,class:"field-block__tooltip"},null,8,["content"])):c("",!0)])]),r.value&&!e.disabled?(o(),d(x,{key:1,text:r.value},null,8,["text"])):c("",!0)],2)}}}),O=g(z,[["__scopeId","data-v-de7bae88"]]);export{O as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.