UNPKG

@progress/kendo-vue-charts

Version:
26 lines (25 loc) 821 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ function o(n, t) { let e = n; for (; e && e !== t; ) e = e.parentNode; return !!e; } function r(n) { const t = { ...n }; return Object.keys(t).forEach((e) => { t[e] === void 0 && delete t[e], e === "dataItems" && (t.data = t[e], delete t[e]), e === "lineStyle" && t[e] && (t.style = t[e], delete t[e]); }), t; } const d = (n) => n === void 0 ? !1 : !n; export { o as hasParent, r as removeUndefinedProps, d as toggle };