PageSourceSearch

https://estimator.faector.nl/apps/framework/build/web-component/g2ui-checkall-F9qp7UA4.js

js faector.nl collected 2026-10-03 21:41:06 UTC 1,693 bytes, 1 lines download raw bytes

1import{p as u}from"../base-Ci7vLHE_.js";import"../preload-helper-BVLnHgTN.js";var g=Object.defineProperty,f=t=>{throw TypeError(t)},k=(t,e,a)=>e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,p=(t,e,a)=>k(t,typeof e!="symbol"?e+"":e,a),v=(t,e,a)=>e.has(t)||f("Cannot "+a),E=(t,e,a)=>e.has(t)?f("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,a),n=(t,e,a)=>(v(t,e,"access private method"),a),c,s;const i=class l extends u{constructor(){super(),this.shadowRoot.appendChild(this.ownerDocument.createElement("slot"))}connectedCallback(){const e=this.querySelector('input[type="checkbox"]');e.addEventListener("change",()=>{var a,d,h,m;const o=e.closest("form, fieldset, th, td");if(o.tagName==="FORM"||o.tagName==="FIELDSET")n(a=l,c,s).call(a,o.querySelectorAll('input[type="checkbox"]'),e);else if(o.tagName==="TH"||o.tagName==="TD"){const r=o.closest("tbody, thead, table");if(r.tagName==="TABLE")n(d=l,c,s).call(d,r.querySelectorAll('input[type="checkbox"]'),e);else if(r.tagName==="THEAD"){const b=Array.from(o.parentElement.children).indexOf(o),y=r.closest("table").querySelectorAll(`tbody td:nth-child(${b+1}) input`);n(h=l,c,s).call(h,y,e)}else r.tagName==="TBODY"&&n(m=l,c,s).call(m,o.closest("tr").querySelectorAll('input[type="checkbox"]'),e)}})}static register(){customElements.get("g2ui-checkall")||customElements.define("g2ui-checkall",l)}};c=new WeakSet,s=function(t,e){t.forEach(a=>{a!==e&&(a.checked=e.checked)})},E(i,c),p(i,"shadowRootOptions",{...u.shadowRootOptions,delegatesFocus:!0}),p(i,"adopt",[new URL("/apps/framework/build/css/g2ui-checkall-CIG4Qd7X.css",import.meta.url)]);let S=i;export{S 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.