2FAuth/public/build/assets/Import-CWswmNcW.js

3 lines
14 KiB
JavaScript
Raw Normal View History

2024-11-27 12:03:02 +01:00
import{Z as J,_ as mt,l as _,m as n,d as a,y as pt,j as d,i as f,e as t,f as o,n as $,V as X,h as B,a as ht,u as vt,b as gt,r as b,c as D,H as v,x as H,s as _t,o as yt,J as bt,k as T,t as i,g,w as W,C as K,G as kt,F as Q,D as Z,U as wt,L as $t,P as xt}from"./app-CzxRjCVM.js";import{F as P}from"./Form-EFIuWKGI.js";import{_ as Ct}from"./OtpDisplay-ytUtG8ZN.js";import{S as At}from"./Spinner-C-V0HKYn.js";import{u as St}from"./bus-BNAtGMCo.js";/*! 2FAuth version 5.4.3 - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */const Ft=["for","innerHTML"],It=["disabled","id","value","placeholder","maxlength","aria-describedby","aria-invalid","aria-errormessage"],Et=["id","innerHTML"],zt=Object.assign({inheritAttrs:!1},{__name:"FormTextarea",props:{modelValue:[String,Number,Boolean],label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},fieldError:[String],placeholder:{type:String,default:""},help:{type:String,default:""},size:{type:String,default:""},hasOffset:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},maxLength:{type:Number,default:null},isIndented:Boolean,leftIcon:"",rightIcon:"",idSuffix:{type:String,default:""}},setup(r){const k=r,{inputId:m}=J(k.inputType,k.fieldName+k.idSuffix),{valErrorId:L}=mt(k.fieldName),x=J("legend",k.fieldName).inputId;return(w,p)=>{const C=_("FontAwesomeIcon"),A=_("FieldError");return n(),a("div",{class:$(["mb-3",{"pt-3":r.hasOffset,"is-flex":r.isIndented}])},[r.isIndented?(n(),a("div",{key:0,class:"mx-2 pr-1",style:pt({opacity:r.isDisabled?"0.5":"1"})},[d(C,{class:"has-text-grey",icon:["fas","chevron-right"],transform:"rotate-135"})],4)):f("",!0),t("div",{class:$(["field",{"is-flex-grow-5":r.isIndented}])},[r.label?(n(),a("label",{key:0,for:o(m),class:"label",innerHTML:w.$t(r.label)},null,8,Ft)):f("",!0),t("div",{class:$(["control",{"has-icons-left":r.leftIcon,"has-icons-right":r.rightIcon}])},[t("textarea",X({disabled:r.isDisabled,id:o(m),class:["textarea",r.size],value:r.modelValue,placeholder:r.placeholder},w.$attrs,{onInput:p[0]||(p[0]=h=>w.$emit("update:modelValue",h.target.value)),onChange:p[1]||(p[1]=h=>w.$emit("change:modelValue",h.target.value)),maxlength:r.maxLength,"aria-describedby":r.help?o(x):void 0,"aria-invalid":r.fieldError!=null,"aria-errormessage":r.fieldError!=null?o(L):void 0}),null,16,It)],2),r.fieldError!=null?(n(),B(A,{key:1,error:r.fieldError,field:r.fieldName},null,8,["error","field"])):f("",!0),r.help?(n(),a("p",{key:2,id:o(x),class:"help",innerHTML:w.$t(r.help)},null,8,Et)):f("",!0)],2)],2)}}}),Vt={class:"title has-text-grey-dark"},Tt={key:0},Nt={class:"block is-size-7-mobile"},qt={class:"mb-2"},Bt={class:"columns"},Lt={class:"column"},Mt={class:"block"},Ot={class:"card"},Dt={class:"card-content"},Ht={class:"media"},Pt={class:"media-left"},Ut={class:"image is-32x32"},Rt={class:"media-content"},jt=["innerHTML"],Gt={class:"subtitle is-6 is-size-7-mobile"},Jt={class:"card-footer"},Wt={class:"block"},Kt={class:"card"},Qt={class:"card-content"},Zt={class:"media"},Xt={class:"media-left"},Yt={class:"image is-32x32"},te={class:"media-content"},ee={class:"title is-5 has-text-grey"},se={class:"subtitle is-6 is-size-7-mobile"},oe={class:"card-footer"},ie={class:"block"},le={class:"card"},ne={class:"card-content"},ae={class:"media"},re={class:"media-left"},de={class:"image is-32x32"},ue={class:"media-content"},ce=["innerHTML"],fe={class:"subtitle is-6 is-size-7-mobile"},me={class:"content"},pe={class:"card-footer"},he={class:"title is-5 has-text-grey-dark"},ve={class:"block is-size-7-mobile"},ge={class:"table is-size-7-mobile is-fullwidth"},_e={key:1},ye={key:2},be={class:"block is-size-7-mobile"},ke={class:"mb-2"},we={class:"is-flex is-justify-content-space-between"},$e=["onClick","title"],xe=["src"],Ce={key:1,class:"is-flex-grow-1 has-ellipsis"},Ae={key:2,class:"tags is-flex-wrap-nowrap"},Se=["onClick","title"],Fe=["onClick","title"],Ie={key:3,class:"has-nowrap"},Ee={key:0,class:"has-text-success"},ze={key:1,class:"has-text-danger"},Ve={class:"is-size-6 is-size-7-mobile"},Te={class:"is-family-primary has-text-grey"},Ne={key:0,class
//# sourceMappingURL=Import-CWswmNcW.js.map