UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

5 lines 1.44 kB
/*! * KoliBri - The accessible HTML-Standard */ import{e,b as t,P as n,o,p as s,s as a,G as r}from"./common-Cx_AGO_M.js";const c=(t,n)=>{e(t,"_hasSettingsMenu",n)};const f=(e,n)=>{t(e,`_on`,(e=>typeof e==="object"&&e!==null),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange, Events.onChangeHeaderCells}"]),n)};const l=(e,n)=>{t(e,`_on`,(e=>typeof e==="object"&&e!==null),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),n)};const i=(e,t,r)=>{n(t,(()=>{o(t,(()=>{if(typeof t==="undefined"){t=[]}try{t=s(t)}catch(e){}if(Array.isArray(t)&&t.every((e=>typeof e==="object"&&e!==null))){a(e,"_data",t,r)}}))}))};const y=(e,t,r)=>{n(t,(()=>{o(t,(()=>{if(typeof t==="undefined"){t=[]}try{t=s(t)}catch(e){}if(Array.isArray(t)&&t.every((e=>typeof e==="object"&&e!==null))){a(e,"_dataFoot",t,r)}}))}))};const p=(e,n)=>{t(e,"_fixedCols",(e=>Array.isArray(e)&&e.length===2&&typeof e[0]==="number"&&typeof e[1]==="number"&&Number.isInteger(e[0])&&Number.isInteger(e[1])&&e[0]>=0&&e[1]>=0),new Set(["FixedColsPropType [leftFixed: number, rightFixed: number]"]),n)};const u=(e,t)=>{const n=()=>{try{return s(t)}catch(e){return undefined}};const o=e=>e&&r(e)&&typeof e.label==="function"&&(!e.selectedKeys||Array.isArray(e.selectedKeys));const c=typeof t==="string"?n():t;if(o(c)){a(e,"_selection",t)}};export{y as a,p as b,c,u as d,l as e,f,i as v}; //# sourceMappingURL=table-selection-DmmUo33G.js.map