UNPKG

@progress/kendo-vue-common

Version:

Kendo UI for Vue Common Utilities package

31 lines (30 loc) 1.14 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import * as t from "@progress/kendo-licensing"; const l = ["telerik.com", "progress.com", "stackblitz.io", "csb.app", "webcontainer.io"], n = t, e = typeof n != "undefined" && n.validatePackage ? n : n.default; function c(o) { if (e && e.validatePackage) e.validatePackage(o); else { let i = `License activation failed for ${o.name} `; i += `The @progress/kendo-licensing script is not loaded. `, i += `See ${o.licensingDocsUrl} for more information. `, console.warn(i); } } function r(o) { return !l.some((s) => { var a; return (a = globalThis.document) == null ? void 0 : a.location.hostname.endsWith(s); }) && !(e && e.validatePackage && e.validatePackage(o)); } export { r as shouldShowValidationUI, c as validatePackage };