UNPKG

@progress/kendo-vue-pdf

Version:
9 lines (8 loc) 891 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={},a=s=>String(s).trim().split(" "),n=(s,t)=>{const i=a(t);return!!a(s.className).find(e=>i.indexOf(e)>=0)},c=s=>t=>n(t,s),f=s=>(r[s]||(r[s]=t=>String(t.nodeName).toLowerCase()===s.toLowerCase()),r[s]),l=(s,t,i=!0)=>{if(s){if(i&&t(s))return s;for(s=s.firstChild;s;){if(s.nodeType===1){const e=l(s,t);if(e)return e}s=s.nextSibling}}};exports.findElement=l;exports.hasClasses=n;exports.matchesClasses=c;exports.matchesNodeName=f;