PageSourceSearch

https://www.kulturinstitut.org/_nuxt/CXqisYQ0.js

js kulturinstitut.org collected 2026-10-02 12:09:09 UTC 1,991 bytes, 1 lines download raw bytes

1import{_ as L}from"./Dai-Uu26.js";import{d as B,a1 as M,S as _,r as j,I as b,i as I,f as g,h as V,T as a,e as E,j as H,W as w,k as t,Z as T,V as d,R as K}from"./Bw1PpuJk.js";import{u as N,a as S}from"./Ck7ZINoV.js";const q=["id","name"],z={class:"wrapper"},A=["for"],D={key:0,class:"error"},P=B({__name:"Hanthacheckbox",props:{field:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(v){var m;const{t:y}=M(),o=v,{value:c,meta:u,errorMessage:l}=N(o.field.name??"",(m=o.field.label)!=null&&m.mandatory?_().required():_()),r=j(!1);function x(){r.value==!1?(r.value=!0,c.value=y("formField.yes")):(r.value=!1,c.value="")}const i=b(()=>{var s;if(!l.value)return"";if(!((s=o.field.label)!=null&&s.title))return l;const e=l.value.split(" ");return e[0]=o.field.label.title,e.join(" ")}),C=S(),f=b(()=>u.dirty||u.validated||C.value);return(e,s)=>{const F=L;return g(),I(F,{class:w(["item-"+e.field.marker,e.field.css])},{default:V(()=>{var p,h;return[a("input",{id:"field-"+e.field.marker,name:e.field.name,type:"text",readonly:"",tabindex:"-1",autocomplete:"off"},null,8,q),a("div",z,[a("label",{for:"field-"+e.field.marker,tabindex:"0",onClick:x,onKeyup:s[0]||(s[0]=T(n=>{var k;(k=n==null?void 0:n.target)==null||k.click()},["enter"])),class:w([t(r)?"checked":"",t(f)&&t(i)?"notChecked":""])},[s[1]||(s[1]=a("svg",{width:"37",height:"32",viewBox:"0 0 37 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("rect",{x:"1",y:"1",width:"30",height:"30",rx:"1",class:"main"}),a("path",{d:"M7 17.5L15.5 26L34.5 4","stroke-width":"5","stroke-linejoin":"round",class:"background"}),a("path",{d:"M7 17.5L15.5 26L34.5 4","stroke-width":"2","stroke-linejoin":"round",class:"check"})],-1)),a("span",null,d((p=e.field.label)==null?void 0:p.description)+d((h=e.field.label)!=null&&h.mandatory?"*":""),1)],42,A)]),t(f)&&t(i)?(g(),E("div",D,d(t(i)),1)):H("",!0)]}),_:1},8,["class"])}}}),G=K(P,[["__scopeId","data-v-b6ac1d2f"]]);export{G as default};

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.