UNPKG

@progress/kendo-vue-common

Version:

Kendo UI for Vue Common Utilities package

12 lines (11 loc) 1.38 kB
/** * @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 l=require("@progress/kendo-licensing");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const s=c(l),r=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],i=s,n=typeof i!="undefined"&&i.validatePackage?i:i.default;function d(e){if(n&&n.validatePackage)n.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 u(e){return!r.some(o=>{var a;return(a=globalThis.document)==null?void 0:a.location.hostname.endsWith(o)})&&!(n&&n.validatePackage&&n.validatePackage(e))}exports.shouldShowValidationUI=u;exports.validatePackage=d;