nextcloud/dist/types-B0UJSTCV.chunk.mjs
nextcloud-command 230b14978e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-22 18:44:49 +00:00

2 lines
1.8 KiB
JavaScript

import"./NcTextArea-Dxzj4zdb-BLv5JT3R.chunk.mjs";import{_ as f,c as m}from"./createElementId-DhjFt1I9-CZ2eH1SD.chunk.mjs";import{b as G,x as y,o as a,f as l,g as n,i as t,j as p,t as _,y as s,h as b}from"./Web-ByHSuvRG.chunk.mjs";import{g as h}from"./index-C6ey-Mhx.chunk.mjs";const $=["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(e){const c=y(),i=`${`nc-form-group-${m()}`}-description`,r=()=>!!e.description||!!c.description,d=()=>r()?i:void 0,u=()=>e.hideLabel&&(!r()||e.hideDescription);return(o,L)=>(a(),l("fieldset",{class:s([o.$style.formGroup,{[o.$style.formGroup_noGap]:e.noGap}]),"aria-describedby":d()},[n("legend",{class:s([o.$style.formGroup__label,{"hidden-visually":e.hideLabel}])},[t(o.$slots,"label",{},()=>[p(_(e.label||"⚠️ Missing label"),1)])],2),r()?(a(),l("div",{key:0,id:i,class:s([o.$style.formGroup__description,{"hidden-visually":e.hideDescription}])},[t(o.$slots,"description",{},()=>[p(_(e.description),1)])],2)):b("",!0),n("div",{class:s([o.$style.formGroup__content,{[o.$style.formGroup__content_only]:u()}])},[t(o.$slots,"default")],2)],10,$))}}),j="_formGroup_sNzER",v="_formGroup_noGap_ChojB",N="_formGroup__label_Z81k5",x="_formGroup__description_xWRa-",B="_formGroup__content_wHRjf",I="_formGroup__content_only_VejcN",z={"material-design-icon":"_material-design-icon_QhThW",formGroup:j,formGroup_noGap:v,formGroup__label:N,formGroup__description:x,formGroup__content:B,formGroup__content_only:I},D={$style:z},M=f(g,[["__cssModules",D]]),A=h().setApp("encryption").build(),C=Object.freeze({NotInitialized:"0",InitExecuted:"1",InitSuccessful:"2"});export{C as I,M as N,A as l};
//# sourceMappingURL=types-B0UJSTCV.chunk.mjs.map