@progress/kendo-vue-common
Version:
Kendo UI for Vue Common Utilities package
12 lines (11 loc) • 1.5 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-licensing");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=l(c),r=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],a=s,o=typeof a!="undefined"&&a.validatePackage?a:a.default;function d(e){if(o&&o.validatePackage)o.validatePackage(e);else{let t=`License activation failed for ${e.name}
`;t+=`The @progress/kendo-licensing script is not loaded.
`,t+=`See ${e.licensingDocsUrl} for more information.
`,console.warn(t)}}function g(e){return!r.some(n=>{var i;return(i=globalThis.document)==null?void 0:i.location.hostname.endsWith(n)})&&!(o&&o.validatePackage&&o.validatePackage(e))}const u=e=>{const t=s.getLicenseStatus(e).message;return t==null?void 0:t.notificationMessage};exports.getLicenseMessage=u;exports.shouldShowValidationUI=g;exports.validatePackage=d;