mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import"./index-CYbvdXx_.chunk.mjs";import{_ as f,c as m}from"./createElementId-DhjFt1I9-C_WKCRq3.chunk.mjs";import{b as G,i as y,j as l,o as n,k as a,l as b,m as t,g as p,t as _,n as o}from"./runtime-dom.esm-bundler-CU8rrbZA.chunk.mjs";import{g as $}from"./index-Bndk0DrU.chunk.mjs";const h=["aria-describedby"],g=G({__name:"NcFormGroup",props:{label:{default:()=>{}},description:{default:()=>{}},hideLabel:{type:Boolean,default:!1},hideDescription:{type:Boolean,default:!1},noGap:{type:Boolean,default:!1}},setup(r){const c=y(),i=`${`nc-form-group-${m()}`}-description`,s=()=>!!r.description||!!c.description,d=()=>s()?i:void 0,u=()=>r.hideLabel&&(!s()||r.hideDescription);return(e,D)=>(n(),l("fieldset",{class:o([e.$style.formGroup,{[e.$style.formGroup_noGap]:e.noGap}]),"aria-describedby":d()},[a("legend",{class:o([e.$style.formGroup__label,{"hidden-visually":e.hideLabel}])},[t(e.$slots,"label",{},()=>[p(_(e.label||"⚠️ Missing label"),1)])],2),s()?(n(),l("div",{key:0,id:i,class:o([e.$style.formGroup__description,{"hidden-visually":e.hideDescription}])},[t(e.$slots,"description",{},()=>[p(_(e.description),1)])],2)):b("",!0),a("div",{class:o([e.$style.formGroup__content,{[e.$style.formGroup__content_only]:u()}])},[t(e.$slots,"default")],2)],10,h))}}),j="_formGroup_sNzER",v="_formGroup_noGap_ChojB",N="_formGroup__label_Z81k5",B="_formGroup__description_xWRa-",I="_formGroup__content_wHRjf",k="_formGroup__content_only_VejcN",x={"material-design-icon":"_material-design-icon_QhThW",formGroup:j,formGroup_noGap:v,formGroup__label:N,formGroup__description:B,formGroup__content:I,formGroup__content_only:k},z={$style:x},M=f(g,[["__cssModules",z]]),A=$().setApp("encryption").build(),C=Object.freeze({NotInitialized:"0",InitExecuted:"1",InitSuccessful:"2"});export{C as I,M as N,A as l};
|
|
//# sourceMappingURL=types-CEX_CUow.chunk.mjs.map
|