File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/index.1cc0a20b.js
Back
import{I as m}from"./index.c6b20525.js";import{_ as x,r as y,o as t,b as a,d as o,h as s,e as d,j as l,t as n}from"./index.15cec131.js";const f={components:{Icon:m},props:{placeholder:{type:String,default:"message"},classInput:{type:String,default:"classinput"},name:{type:String},modelValue:{type:String,default:""},error:{type:String},isReadonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},rows:{type:Number,default:3},validate:{type:String},msgTooltip:{type:Boolean,default:!1},description:{type:String}},data(){return{types:this.type}},methods:{toggleType(){this.types=this.types==="text"?"password":"text"}}},g={class:"relative"},h=["name","placeholder","value","error","id","readonly","disabled","rows","validate"],p={class:"flex text-xl absolute ltr:right-[14px] rtl:left-[14px] top-1/2 -translate-y-1/2"},_={key:0,class:"text-danger-500"},b={key:1,class:"text-success-500"},v={key:2,class:"block text-secondary-500 font-light leading-4 text-xs mt-2"};function k(c,r,e,w,S,I){const i=y("Icon");return t(),a("div",{class:s(["fromGroup relative",`${e.error?"has-error":""} ${e.validate?"is-valid":""} `])},[o("div",g,[o("textarea",{name:e.name,placeholder:e.placeholder,class:s(`border border-slate-200 rounded p-2 text-sm text-slate-900 focus:border-slate-500 ${e.classInput} block w-full focus:outline-none pt-3 `),value:e.modelValue,onInput:r[0]||(r[0]=u=>c.$emit("update:modelValue",u.target.value)),error:e.error,id:e.name,readonly:e.isReadonly,disabled:e.disabled,rows:e.rows,validate:e.validate},null,42,h),o("div",p,[e.error?(t(),a("span",_,[d(i,{icon:"heroicons-outline:information-circle"})])):l("",!0),e.validate?(t(),a("span",b,[d(i,{icon:"bi:check-lg"})])):l("",!0)])]),e.error?(t(),a("span",{key:0,class:s(["mt-2",e.msgTooltip?" inline-block bg-danger-500 text-white text-[10px] px-2 py-1 rounded":" text-danger-500 block text-sm"])},n(e.error),3)):l("",!0),e.validate?(t(),a("span",{key:1,class:s(["mt-2",e.msgTooltip?" inline-block bg-success-500 text-white text-[10px] px-2 py-1 rounded":" text-success-500 block text-sm"])},n(e.validate),3)):l("",!0),e.description?(t(),a("span",v,n(e.description),1)):l("",!0)],2)}const V=x(f,[["render",k]]);export{V as T};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings