1var A=Object.defineProperty;var H=(e,l,t)=>l in e?A(e,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[l]=t;var i=(e,l,t)=>(H(e,typeof l!="symbol"?l+"":l,t),t);import{_ as P}from"./FormGeneratorField-d47d28ec.js";import{_ as R,o as n,c as s,a as u,au as k,av as $,t as c,h as b,m as U,aX as j,P as r,ca as G,O as J,cb as F,g as _,w as y,n as v,bI as S,fU as X,b as h,d as Y,ax as q,aw as N,bJ as M,aH as K,bV as Q,bU as W}from"./vendor-bcedddd6.js";import{_ as Z}from"./vdlListCheckbox-60ff3eb3.js";import{F as x}from"./FormGeneratorIconizedField-3e3d021b.js";import"./mdRadio-f501293b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1d8b5995-0995-4cb9-bac7-8ce5d611aecc",e._sentryDebugIdIdentifier="sentry-dbid-1d8b5995-0995-4cb9-bac7-8ce5d611aecc")}catch{}})();const ee={name:"vdl-list-checkbox-text",props:{name:String,caption:Array,extra:String,nativeElement:Boolean,id:String,forLabel:String}};const ae={class:"vdl-list-checkbox-text"},le=["for","innerHTML"],ne={key:0,class:"extra md-caption"},oe=["id","value"];function ie(e,l,t,g,p,V){return n(),s("div",ae,[u("label",{for:e.forLabel,class:"primary-text",innerHTML:e.name},null,8,le),(n(!0),s(k,null,$(e.caption,f=>(n(),s("p",{class:"secondary-text",key:f},c(f),1))),128)),e.extra?(n(),s("p",ne,c(e.extra),1)):b("",!0),e.nativeElement?(n(),s("input",{key:1,class:"ghost-item",type:"checkbox",id:e.id,value:e.id},null,8,oe)):b("",!0)])}const te=R(ee,[["render",ie]]);var se=Object.defineProperty,de=Object.getOwnPropertyDescriptor,d=(e,l,t,g)=>{for(var p=g>1?void 0:g?de(l,t):l,V=e.length-1,f;V>=0;V--)(f=e[V])&&(p=(g?f(l,t,p):f(p))||p);return g&&p&&se(l,t,p),p};let o=class extends U(x){constructor(){super(...arguments);i(this,"mdiInformationOutline",j);i(this,"expandableComponent");i(this,"trackingEnabled");i(this,"isExpandable");i(this,"caption");i(this,"type");i(this,"default");i(this,"threeLines");i(this,"values");i(this,"empty_value");i(this,"disable_autocollapse");i(this,"change_when_active");i(this,"always_expanded");i(this,"informativeMessage");i(this,"subname");i(this,"info_tooltip");i(this,"hasNestedErrors")}get groups(){var l;return this.field.groupBy&&((l=this.values)!=null&&l.length)?this.values.reduce((t,g)=>{const p=g[this.field.groupBy];return t[p]||(t[p]={id:p,name:p.replace("_"," "),values:[]}),t[p].values.push(g),t},{}):{}}};d([r({default:G})],o.prototype,"expandableComponent",2);d([r()],o.prototype,"trackingEnabled",2);d([r({default:!1})],o.prototype,"isExpandable",2);d([r()],o.prototype,"caption",2);d([r()],o.prototype,"type",2);d([r()],o.prototype,"default",2);d([r()],o.prototype,"threeLines",2);d([r()],o.prototype,"values",2);d([r()],o.prototype,"empty_value",2);d([r()],o.prototype,"disable_autocollapse",2);d([r({default:!1})],o.prototype,"change_when_active",2);d([r()],o.prototype,"always_expanded",2);d([r()],o.prototype,"informativeMessage",2);d([r()],o.prototype,"subname",2);d([r()],o.prototype,"info_tooltip",2);d([r({default:!1})],o.prototype,"hasNestedErrors",2);o=d([J({components:{mdTooltip:F}})],o);const re={class:"field-name"},pe={key:0,class:"field-name"},ue={key:1,class:"field-value-text"},fe=["innerHTML"],me={class:"form-error"},ve={key:1,class:"radio-tooltip-icon"},be={class:"md-list-item-container"},ge={class:"field-name"},ye={key:0},he={class:"md-list-text-container"},ce=["innerHTML"];function _e(e,l,t,g,p,V){const f=K,O=F,I=te,C=Z,T=Q,D=W,z=P;return n(),_(z,{class:v(["field-item-list",{"md-active":!e.isExpandable||e.disable_autocollapse||e.always_expanded||e.getAttributesText(e.field)==="expand"||e.hasNestedErrors,"vdl-disable_autocollapse":e.disable_autocollapse,"type-radio":e.type==="radio","type-checkbox":e.type==="checkbox","expandable-area":e.disable_autocollapse,"active-field-checkbox":e.type!=="radio"&&e.inputValue&&e.inputValue.length>0&&e.change_when_active,"active-filed-radio":e.change_when_active&&e.type==="radio"&&e.inputValue&&e.inputValue!==e.field.empty_value}]),tabindex:"-1","button-aria-label":e.name},{default:y(()=>{var L;return[e.svgIcon?(n(),_(f,{key:0,mdSvg:e.svgIcon,fillRule:e.fillRule,size:e.iconSize},null,8,["mdSvg","fillRule","size"])):b("",!0),u("div",{class:v(["md-list-text-container",{"md-input-invalid":e.errors&&e.errors.length||e.hasNestedErrors}])},[u("span",re,c(e.name),1),e.subname?(n(),s("span",pe,c(e.subname),1)):b("",!0),S(u("input",{"onUpdate:modelValue":l[0]||(l[0]=a=>e.inputValue=a),type:"hidden"},null,512),[[X,e.inputValue]]),e.expandableComponent!=="div"?(n(),s("span",ue,c(e.getAttributesText(e.field,e.model)),1)):b("",!0),(n(!0),s(k,null,$(e.caption,a=>(n(),s("span",{class:"field-caption",key:a,innerHTML:a},null,8,fe))),128)),u("span",me,c(e.errors&&e.errors[0]),1)],2),(L=e.info_tooltip)!=null&&L.text?(n(),s("div",ve,[h(f,{mdSvg:e.info_tooltip.icon||e.mdiInformationOutline},null,8,["mdSvg"]),h(O,{"md-direction":"top",className:"radio-tooltip"},{default:y(()=>[Y(c(e.info_tooltip.text),1)]),_:1})])):b("",!0),(n(),_(q(e.disable_autocollapse?"div":e.expandableComponent),null,{default:y(()=>[h(T,{class:v(e.threeLines?"md-triple-line":"")},{default:y(()=>[e.field.empty_value?(n(),_(C,{key:0,"vdl-value":e.field.empty_value,type:e.type,id:e.elementId(e.field),modelValue:e.inputValue,"onUpdate:modelValue":l[1]||(l[1]=a=>e.inputValue=a),"right-align":e.rightAlign},{default:y(()=>[h(I,{"for-label":e.elementId(e.field),name:e.field.empty_value.name,caption:e.field.empty_value.caption},null,8,["for-label","name","caption"])]),_:1},8,["vdl-value","type","id","modelValue","right-align"])):b("",!0),e.field.groupBy?(n(!0),s(k,{key:1},$(e.groups,(a,w,E)=>(n(),s("li",{key:`${w}-${E}-${a.id}`},[u("div",{class:v(["md-list-item md-inset group-parent",{"first-group":E===0}])},[u("div",be,[u("span",ge,c(a.name),1)])],2),(n(!0),s(k,null,$(a.values,m=>(n(),s("div",{key:m.id},[h(C,{class:v({"last-item":w===e.values.length-1,...e.field.classes}),type:e.type,"vdl-value":m,id:e.elementId(e.field)+"-"+m.id,modelValue:e.inputValue,"onUpdate:modelValue":l[2]||(l[2]=B=>e.inputValue=B),disabled:m.disabled||null,"right-align":e.rightAlign},{default:y(()=>[h(I,{"for-label":e.elementId(e.field)+"-"+m.id,nativeElement:e.trackingEnabled,id:`${e.attribute}-${m.id}`,name:m.name,class:v({hasCaption:e.getCaption(e.field,m.id,e.attribute)}),extra:e.getCaption(e.field,m.id,e.attribute),caption:m.caption},null,8,["for-label","nativeElement","id","name","class","extra","caption"])]),_:2},1032,["class","type","vdl-value","id","modelValue","disabled","right-align"])]))),128))]))),128)):(n(!0),s(k,{key:2},$(e.values,(a,w)=>(n(),s(k,{key:a.id},[u("div",{class:v({"with-icon":a.icon})},[a.svgIcon?(n(),_(f,{key:0,mdSvg:a.svgIcon,fillRule:a.fillRule,size:a.iconSize},null,8,["mdSvg","fillRule","size"])):b("",!0),h(C,{class:v({"last-item":w===e.values.length-1,...e.field.classes}),type:e.type,"vdl-value":a,id:e.elementId(e.field)+"-"+a.id,modelValue:e.inputValue,"onUpdate:modelValue":l[3]||(l[3]=E=>e.inputValue=E),disabled:a.disabled||null,"right-align":e.rightAlign},{default:y(()=>[h(I,{"for-label":e.elementId(e.field)+"-"+a.id,nativeElement:e.trackingEnabled,id:`${e.attribute}-${a.id}`,name:a.name,class:v({hasCaption:e.getCaption(e.field,a.id,e.attribute)}),extra:e.getCaption(e.field,a.id,e.attribute),caption:a.caption},null,8,["for-label","nativeElement","id","name","class","extra","caption"])]),_:2},1032,["class","type","vdl-value","id","modelValue","disabled","right-align"])],2),a.nested?S((n(),s("div",ye,[N(e.$slots,"itemForm",{item:a}
1)],512)),[[M,e.showNested(e.field,a)]]):b("",!0)],64))),128)),S(u("div",{class:v(["operator-wrapper",{"md-inset":!e.field.noInsetNested}])},[N(e.$slots,"default")],2),[[M,e.showOperator(e.attribute)&&e.field.nested]])]),_:3},8,["class"]),e.informativeMessage?(n(),_(T,{key:0},{default:y(()=>[h(D,{class:"md-inset"},{default:y(()=>[u("div",he,[u("span",{class:"field-informative md-caption",innerHTML:e.informativeMessage},null,8,ce)])]),_:1})]),_:1})):b("",!0)]),_:3}))]}),_:3},8,["button-aria-label","class"])}const Ce=R(o,[["render",_e]]);export{Ce as default}; 2//# sourceMappingURL=vdlRadioCheckboxFormField-41415655.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.