@progress/kendo-react-common
Advanced tools
+1
-1
| { | ||
| "name": "@progress/kendo-react-common", | ||
| "version": "14.5.0-develop.11", | ||
| "version": "14.5.0-develop.12", | ||
| "description": "React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package", | ||
@@ -5,0 +5,0 @@ "author": "Progress", |
+4
-4
@@ -1,2 +0,2 @@ | ||
| [](https://www.telerik.com/kendo-react-ui/components/free?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common&utm_content=banner) | ||
| [](https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common&utm_content=banner) | ||
@@ -9,3 +9,3 @@ # KendoReact Common Library for React | ||
| > - It contains both free and premium KendoReact components and tools. To use the premium components, you must install a license key file, whether you are on a paid license or a 30-day free trial. To receive a license key, either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing) or start a [free trial](https://www.telerik.com/download-login-v2-kendo-react-ui). You can use the free components without having to sign up or get a license key. | ||
| > - If you're looking for free React components, check out [Get Started with KendoReact Free](https://www.telerik.com/kendo-react-ui/components/free). | ||
| > - If you're looking for free React components, check out [Get Started with KendoReact Free](https://www.telerik.com/kendo-react-ui/components/getting-started). | ||
| > - If you have an active license, visit the [KendoReact My License page](https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) to learn how to configure your KendoReact licensing. | ||
@@ -125,3 +125,3 @@ > - Installing and working with this package indicates that you [accept the KendoReact License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common). | ||
| | | [KendoReact Free](https://www.telerik.com/kendo-react-ui/components/free) | [KendoReact](https://www.telerik.com/kendo-react-ui) | | ||
| | | [KendoReact Free](https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium) | [KendoReact](https://www.telerik.com/kendo-react-ui) | | ||
| | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
@@ -151,3 +151,3 @@ | React components | 50+ | 120+ | | ||
| - [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) | ||
| - [Get Started with KendoReact Free](https://www.telerik.com/kendo-react-ui/components/free) | ||
| - [Get Started with KendoReact Free](https://www.telerik.com/kendo-react-ui/components/getting-started) | ||
| - [KendoReact Roadmap](https://www.telerik.com/kendo-react-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) | ||
@@ -154,0 +154,0 @@ - [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) |
@@ -8,5 +8,5 @@ /** | ||
| */ | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@progress/kendo-licensing"),g=require("./canUseDOM.js"),d=["telerik.com","progress.com","stackblitz.io","csb.app"],h="https://www.telerik.com/kendo-react-ui/components/free?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium",n=new Map,k=()=>{const t=Array.from(n,([e,c])=>`- ${e}: ${Array.from(c).join(", ")||"all"}`).join(` | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@progress/kendo-licensing"),g=require("./canUseDOM.js"),d=["telerik.com","progress.com","stackblitz.io","csb.app"],h="https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium",n=new Map,k=()=>{const t=Array.from(n,([e,c])=>`- ${e}: ${Array.from(c).join(", ")||"all"}`).join(` | ||
| `);console.group("[WARN][Telerik and Kendo UI Licensing] KendoReact"),console.warn(`License check was triggered by these premium KendoReact components/features | ||
| ${t} | ||
| See the full list of free and premium components here: ${h}`),console.groupEnd(),n.clear()},L=(t,e)=>{const c=i.validatePackage(t),o=d.some(s=>{var a;return(a=globalThis.document)==null?void 0:a.location.hostname.endsWith(s)});if(!c&&g.canUseDOM&&e)if(n.size===0&&setTimeout(k,1e3),n.has(e.component)){const s=n.get(e.component)||[];n.set(e.component,new Set([...e.features||[],...s]))}else n.set(e.component,e.features||[]);return c||o},f=t=>i.getLicenseStatus(t).isLicenseValid,r=new WeakMap,w=t=>{var m;if(r.has(t))return r.get(t);const{version:e,productName:c}=t,o=i.getLicenseStatus(t),s=o.message,a=o.licenseType,l=(m=o.expiration)==null?void 0:m.toDateString(),p=s&&"code"in s?s.code:void 0,u={...s,code:p,licenseType:a,version:e,productName:(s==null?void 0:s.productName)||c,expiration:l};return r.set(t,u),u};exports.getLicenseMessage=w;exports.hasValidLicense=f;exports.validatePackage=L; | ||
| See the full list of free and premium components here: ${h}`),console.groupEnd(),n.clear()},L=(t,e)=>{const c=i.validatePackage(t),o=d.some(s=>{var r;return(r=globalThis.document)==null?void 0:r.location.hostname.endsWith(s)});if(!c&&g.canUseDOM&&e)if(n.size===0&&setTimeout(k,1e3),n.has(e.component)){const s=n.get(e.component)||[];n.set(e.component,new Set([...e.features||[],...s]))}else n.set(e.component,e.features||[]);return c||o},f=t=>i.getLicenseStatus(t).isLicenseValid,a=new WeakMap,w=t=>{var m;if(a.has(t))return a.get(t);const{version:e,productName:c}=t,o=i.getLicenseStatus(t),s=o.message,r=o.licenseType,p=(m=o.expiration)==null?void 0:m.toDateString(),l=s&&"code"in s?s.code:void 0,u={...s,code:l,licenseType:r,version:e,productName:(s==null?void 0:s.productName)||c,expiration:p};return a.set(t,u),u};exports.getLicenseMessage=w;exports.hasValidLicense=f;exports.validatePackage=L; |
+10
-10
@@ -10,4 +10,4 @@ /** | ||
| import { canUseDOM as g } from "./canUseDOM.mjs"; | ||
| const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], k = "https://www.telerik.com/kendo-react-ui/components/free?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium", o = /* @__PURE__ */ new Map(), f = () => { | ||
| const t = Array.from(o, ([e, c]) => `- ${e}: ${Array.from(c).join(", ") || "all"}`).join(` | ||
| const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], k = "https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium", o = /* @__PURE__ */ new Map(), f = () => { | ||
| const t = Array.from(o, ([e, n]) => `- ${e}: ${Array.from(n).join(", ") || "all"}`).join(` | ||
| `); | ||
@@ -20,3 +20,3 @@ console.group("[WARN][Telerik and Kendo UI Licensing] KendoReact"), console.warn( | ||
| }, _ = (t, e) => { | ||
| const c = d(t), n = h.some( | ||
| const n = d(t), c = h.some( | ||
| (s) => { | ||
@@ -27,3 +27,3 @@ var r; | ||
| ); | ||
| if (!c && g && e) | ||
| if (!n && g && e) | ||
| if (o.size === 0 && setTimeout(f, 1e3), o.has(e.component)) { | ||
@@ -34,8 +34,8 @@ const s = o.get(e.component) || []; | ||
| o.set(e.component, e.features || []); | ||
| return c || n; | ||
| }, M = (t) => u(t).isLicenseValid, a = /* @__PURE__ */ new WeakMap(), v = (t) => { | ||
| return n || c; | ||
| }, v = (t) => u(t).isLicenseValid, a = /* @__PURE__ */ new WeakMap(), M = (t) => { | ||
| var m; | ||
| if (a.has(t)) | ||
| return a.get(t); | ||
| const { version: e, productName: c } = t, n = u(t), s = n.message, r = n.licenseType, p = (m = n.expiration) == null ? void 0 : m.toDateString(), l = s && "code" in s ? s.code : void 0, i = { | ||
| const { version: e, productName: n } = t, c = u(t), s = c.message, r = c.licenseType, p = (m = c.expiration) == null ? void 0 : m.toDateString(), l = s && "code" in s ? s.code : void 0, i = { | ||
| ...s, | ||
@@ -45,3 +45,3 @@ code: l, | ||
| version: e, | ||
| productName: (s == null ? void 0 : s.productName) || c, | ||
| productName: (s == null ? void 0 : s.productName) || n, | ||
| expiration: p | ||
@@ -52,5 +52,5 @@ }; | ||
| export { | ||
| v as getLicenseMessage, | ||
| M as hasValidLicense, | ||
| M as getLicenseMessage, | ||
| v as hasValidLicense, | ||
| _ as validatePackage | ||
| }; |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
728767
0.02%