1var S=Object.defineProperty;var T=(e,o,t)=>o in e?S(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t;var l=(e,o,t)=>(T(e,typeof o!="symbol"?o+"":o,t),t);import{_ as F}from"./FormGeneratorField-762d60bc.js";import{m as D,aX as L,P as m,O as $,_ as H,o as i,g as v,w as y,a as u,h as f,e as M,n as g,d as w,t as h,c as s,b as _,au as z,av as C,bI as E,aw as P,bJ as N,aH as R,cb as B,eQ as j,cl as U}from"./vendor-147ef0d1.js";import{F as A}from"./FormGeneratorIconizedField-9af28153.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 o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4f2b5eeb-1e0a-4a89-871d-c3d982ba8edf",e._sentryDebugIdIdentifier="sentry-dbid-4f2b5eeb-1e0a-4a89-871d-c3d982ba8edf")}catch{}})();var G=Object.defineProperty,J=Object.getOwnPropertyDescriptor,a=(e,o,t,b)=>{for(var d=b>1?void 0:b?J(o,t):o,c=e.length-1,r;c>=0;c--)(r=e[c])&&(d=(b?r(o,t,d):r(d))||d);return b&&d&&G(o,t,d),d};let n=class extends D(A){constructor(){super(...arguments);l(this,"mdiInformationOutline",L);l(this,"tooltip");l(this,"change_when_active");l(this,"tooltipText");l(this,"subheader");l(this,"disabledOptions");l(this,"tooltipVisible");l(this,"caption")}};a([m()],n.prototype,"tooltip",2);a([m({default:!1})],n.prototype,"change_when_active",2);a([m()],n.prototype,"tooltipText",2);a([m()],n.prototype,"subheader",2);a([m()],n.prototype,"disabledOptions",2);a([m()],n.prototype,"tooltipVisible",2);a([m()],n.prototype,"caption",2);n=a([$({})],n);const Q={class:"switch-heading"},X={class:"switch-value"},Y=["for"],q={key:0,class:"switch-tooltip-desktop"},K=["innerHTML"],W={key:0,class:"md-switch-subheader"},Z=["innerHTML"],x={key:1},ee={key:0},oe=["innerHTML"],ie={key:1},te={key:2,class:"nested-content-switch indent-zero"};function ne(e,o,t,b,d,c){const r=R,V=B,k=j,I=U,O=F;return i(),v(O,{class:g(["type-switch",{"nested-block":e.field.nested,"switch-active":e.change_when_active&&e.inputValue}])},{default:y(()=>[u("div",Q,[e.svgIcon?(i(),v(r,{key:0,mdSvg:e.svgIcon,fillRule:e.fillRule,size:e.iconSize},null,8,["mdSvg","fillRule","size"])):f("",!0),u("div",X,[u("span",null,[u("label",{for:e.elementId(e.field),onClick:o[0]||(o[0]=M(()=>{},["prevent"])),class:g({"md-input-invalid":e.errors&&e.errors.length,"md-label":e.nested,"tooltip-container":e.tooltip})},[w(h(e.name)+" ",1),e.tooltip?(i(),s("div",q,[_(r,{mdSvg:e.mdiInformationOutline},null,8,["mdSvg"]),_(V,{"md-direction":"top",style:{width:"250px"}},{default:y(()=>[w(h(e.tooltipText),1)]),_:1})])):f("",!0)],10,Y),e.tooltip?(i(),s("div",{key:0,class:"switch-tooltip-mobile",onClick:o[1]||(o[1]=p=>e.tooltipVisible=!e.tooltipVisible)},[_(r,{mdSvg:e.mdiInformationOutline},null,8,["mdSvg"]),_(V,{"md-direction":"top",class:g(["tooltip-box",{"visible-tooltip":e.tooltipVisible}])},{default:y(()=>[w(h(e.tooltipText),1)]),_:1},8,["class"])])):f("",!0),e.field.style==="checkbox"?(i(),v(k,{key:1,id:e.elementId(e.field),name:e.attribute,disabled:e.disabled||e.field.disabled||null,modelValue:e.inputValue,"onUpdate:modelValue":o[2]||(o[2]=p=>e.inputValue=p),class:"md-primary"},null,8,["id","name","disabled","modelValue"])):(i(),v(I,{key:2,"label-turn-on":"turn on","label-turn-off":"turn off","md-theme":"v123",modelValue:e.inputValue,"onUpdate:modelValue":o[3]||(o[3]=p=>e.inputValue=p),id:e.elementId(e.field),name:e.attribute,disabled:e.disabled||e.field.disabled||null,class:"md-primary"},null,8,["modelValue","id","name","disabled"]))]),(i(!0),s(z,null,C(e.caption,p=>(i(),s("span",{class:"field-caption",key:p,innerHTML:p},null,8,K))),128))])]),e.modelValue&&e.subheader?(i(),s("span",W,[u("div",{innerHTML:e.subheader},null,8,Z)])):f("",!0),e.disabledOptions?(i(),s("div",x,[e.disabledOptions.html?(i(),s("div",ee,[u("div",{innerHTML:e.disabledOptions.html},null,8,oe)])):(i(),s("div",ie,[u("p",null,h(e.disabledOptions.text),1)]))])):f("",!0),e.field.nested?E((i(),s("div",te,[P(e.$slots,"default",{},void 0,!0)],512)),[[N,e.modelValue]]):f("",!0)]),_:3},8,["class"])}const re=H(n,[["render",ne],["__scopeId","data-v-a36f1fec"]]);export{re as default}; 2//# sourceMappingURL=vdlSwitchFormField-5e496a7d.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.