UNPKG

@zywave/zui-bundle

Version:

ZUI, out of the box, provides ES modules with bare path modifiers (e.g. `import '@zywave/zui-foo-bar'`). This is great as that's the way browsers are _going_, but they aren't there quite yet. Tooling exists to help solve this problem like webpack or rollu

2 lines (1 loc) 290 B
import{e}from"./_def61d4d.js";function t(t){return(r,o)=>{const{slot:n,selector:s}=t??{},c="slot"+(n?`[name=${n}]`:":not([name])");return e(r,o,{get(){const e=this.renderRoot?.querySelector(c),r=e?.assignedElements(t)??[];return void 0===s?r:r.filter((e=>e.matches(s)))}})}}export{t as o};