File manager - Edit - /home/autoph/public_html/projects/ahg-connect/assets/index.1b4bf29f.js
Back
import{I as m}from"./index.4b7607b5.js";import{_ as y,r as x,o as t,c as a,n as l,t as n,b as o,d as s,f as d}from"./index.c8fd93d6.js";const f={components:{Icon:m},props:{placeholder:{type:String,default:"message"},label:{type:String},classLabel:{type:String,default:" "},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},horizontal:{type:Boolean,default:!1},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"}}},b=["for"],g=["name","placeholder","value","error","id","readonly","disabled","rows","validate"],h={class:"flex text-xl absolute ltr:right-[14px] rtl:left-[14px] top-1/2 -translate-y-1/2"},_={key:0,class:"text-danger-500"},k={key:1,class:"text-success-500"},v={key:3,class:"block text-secondary-500 font-light leading-4 text-xs mt-2"};function p(c,i,e,w,S,B){const r=x("Icon");return t(),a("div",{class:l(["fromGroup relative",`${e.error?"has-error":""} ${e.horizontal?"flex":""} ${e.validate?"is-valid":""} `])},[e.label?(t(),a("label",{key:0,class:l(`${e.classLabel} ${e.horizontal?"flex-0 mr-6 md:w-[100px] w-[60px] break-words":""} ltr:inline-block rtl:block input-label `),for:e.name},n(e.label),11,b)):o("",!0),s("div",{class:l(["relative",e.horizontal?"flex-1":""])},[s("textarea",{name:e.name,placeholder:e.placeholder,class:l(`${e.classInput} input-control block w-full focus:outline-none pt-3 `),value:e.modelValue,onInput:i[0]||(i[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,g),s("div",h,[e.error?(t(),a("span",_,[d(r,{icon:"heroicons-outline:information-circle"})])):o("",!0),e.validate?(t(),a("span",k,[d(r,{icon:"bi:check-lg"})])):o("",!0)])],2),e.error?(t(),a("span",{key:1,class:l(["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)):o("",!0),e.validate?(t(),a("span",{key:2,class:l(["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)):o("",!0),e.description?(t(),a("span",v,n(e.description),1)):o("",!0)],2)}const V=y(f,[["render",p]]);export{V as T};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings