@progress/kendo-react-common 16.2.0-develop.8 → 16.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EULA.pdf +0 -0
- package/EULA.rtf +2730 -0
- package/EULA.txt +292 -0
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/drag-n-drop/context/index.d.ts +2 -0
- package/drag-n-drop/context/index.js +1 -1
- package/drag-n-drop/context/index.mjs +4 -2
- package/drag-n-drop/index.js +1 -1
- package/drag-n-drop/index.mjs +43 -39
- package/fileExtensionIcon.js +1 -1
- package/fileExtensionIcon.mjs +16 -16
- package/hooks/useDraggable.js +1 -1
- package/hooks/useDraggable.mjs +171 -155
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +233 -229
- package/package.json +1 -6
- package/sanitizeUrl.d.ts +23 -0
- package/sanitizeUrl.js +8 -0
- package/sanitizeUrl.mjs +30 -0
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +1 -1
- package/validate-package.js +2 -2
- package/validate-package.mjs +21 -25
package/unstyled/json-classes.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",data:"data",nodata:"
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",data:"data",nodata:"no-data",scroller:"scroller"},n={center:"center",hbox:"hbox",vstack:"vstack",hstack:"hstack",overflow:"overflow"},t={actionsheet:"actionsheet",calendar:"calendar",buttongroup:"buttongroup",dateinput:"dateinput",datetime:"datetime",datetimepicker:"datetimepicker",dropdownlist:"dropdownlist",combobox:"combobox",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox",timepicker:"timepicker"},l={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},s={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},c={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inherit:"inherit",inverse:"inverse"},d={small:"sm",medium:"md",large:"lg",full:"full",none:"none"},p={vertical:"vertical",horizontal:"horizontal"},m={height:"height",width:"width"},f={up:"up",down:"down",left:"left",right:"right",start:"start",mid:"mid",end:"end"},r={actions:"actions",container:"container",content:"content",group:"group",row:"row",nav:"nav",wrap:"wrap",wrapper:"wrapper",list:"list",placeholder:"placeholder",popup:"popup",item:"item",part:"part",picker:"picker",separator:"separator",spacer:"spacer",tab:"tab",titlebar:"titlebar",optionLabel:"optionlabel",view:"view"},o={table:"table",text:"text",button:"button",tbody:"tbody",thead:"thead",tr:"tr",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",subtitle:"subtitle",link:"link",label:"label",ul:"ul",caption:"caption"},h={increase:"increase",decrease:"decrease",cancel:"cancel",accept:"accept",split:"split"},x={active:"active",adaptive:"adaptive",first:"first",focus:"focus",pending:"pending",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",highlighted:"highlighted",disabled:"disabled",hidden:"hidden",highlight:"highlight",invalid:"invalid",loading:"loading",required:"required",checked:"checked",empty:"empty",scrollable:"scrollable",sorted:"sorted",sortable:"sortable",sort:"sort",sticky:"sticky",stretched:"stretched",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical",fullscreen:"fullscreen",bottom:"bottom"},u={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},i={input:"input",inner:"inner",spin:"spin",spinner:"spinner",maskedtextbox:"maskedtextbox",radio:"radio",textbox:"textbox",prefix:"prefix",suffix:"suffix"},b={week:"week",weekdays:"weekdays",weekend:"weekend",month:"month",year:"year",decade:"decade",century:"century",number:"number",navigation:"navigation",marker:"marker",now:"now",range:"range",today:"today",other:"other",date:"date",time:"time",selector:"selector",timeselector:"timeselector"},g={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},v={label:"label",text:"text",floatingLabel:"floating-label",container:"container",hint:"form-hint",error:"form-error"},w={form:"form",fieldset:"fieldset",legend:"legend",separator:"separator",field:"field"},k={prefix:"popup"},a={prefix:"grid",ariaRoot:"aria-root",tableWrap:"table-wrap",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},y={drop:"drop",drag:"drag",hint:"hint",vertical:"v",horizontal:"h",clue:"clue",reorder:"reorder"},P=`${e.prefix}-${i.input}`,$=`${e.prefix}-${t.calendar}`,z=`${e.prefix}-${t.maskedtextbox}`,M=`${e.prefix}-${i.radio}`,R=`${e.prefix}-${o.button}`,L=`${e.prefix}-${t.menu}`,I=`${e.prefix}-${r.picker}`,D=`${e.prefix}-${t.dropdownlist}`,S=`${e.prefix}-${t.combobox}`,U=`${e.prefix}-${a.prefix}`,j={base:e,actions:h,animation:u,sizeMap:l,components:t,cssUtils:n,directionMap:f,fillModeMap:s,themeColorMap:c,roundedMap:d,orientationMap:p,elements:o,states:x,dimensions:m,containers:r,inputs:i,dateInputs:b,labels:v,forms:w,popup:k,icon:g,grid:a};exports.actions=h;exports.animationStyles=u;exports.base=e;exports.buttonPrefix=R;exports.calendarPrefix=$;exports.comboBoxPrefix=S;exports.components=t;exports.containers=r;exports.cssUtils=n;exports.dateInputs=b;exports.ddbPrefix=L;exports.dimensions=m;exports.directionMap=f;exports.dropDownListPrefix=D;exports.elements=o;exports.fillModeMap=s;exports.forms=w;exports.grid=a;exports.gridPrefix=U;exports.gridRowReorder=y;exports.icon=g;exports.inputPrefix=P;exports.inputs=i;exports.jsonTheme=j;exports.labels=v;exports.maskedPrefix=z;exports.orientationMap=p;exports.pickerPrefix=I;exports.popup=k;exports.radioPrefix=M;exports.roundedMap=d;exports.sizeMap=l;exports.states=x;exports.themeColorMap=c;
|
package/validate-package.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@progress/kendo-licensing"),g=require("./canUseDOM.js"),d=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],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",c=new Map,k=()=>{const t=Array.from(c,([e,o])=>`- ${e}: ${Array.from(o).join(", ")||"all"}`).join(`
|
|
9
9
|
`);console.group("[WARN][Telerik and Kendo UI Licensing] KendoReact"),console.warn(`License check was triggered by these premium KendoReact components/features
|
|
10
10
|
${t}
|
|
11
|
-
See the full list of free and premium components here: ${h}`),console.groupEnd(),
|
|
11
|
+
See the full list of free and premium components here: ${h}`),console.groupEnd(),c.clear()},L=(t,e)=>{var a;const o=u.validatePackage(t),n=(a=globalThis.document)==null?void 0:a.location.hostname,s=!!n&&d.some(r=>n===r||n.endsWith("."+r));if(!o&&g.canUseDOM&&e)if(c.size===0&&setTimeout(k,1e3),c.has(e.component)){const r=c.get(e.component)||[];c.set(e.component,new Set([...e.features||[],...r]))}else c.set(e.component,e.features||[]);return o||s},w=t=>u.getLicenseStatus(t).isLicenseValid,i=new WeakMap,f=t=>{var p;if(i.has(t))return i.get(t);const{version:e,productName:o}=t,n=u.getLicenseStatus(t),s=n.message,a=n.licenseType,r=(p=n.expiration)==null?void 0:p.toDateString(),l=s&&"code"in s?s.code:void 0,m={...s,code:l,licenseType:a,version:e,productName:(s==null?void 0:s.productName)||o,expiration:r};return i.set(t,m),m};exports.getLicenseMessage=f;exports.hasValidLicense=w;exports.validatePackage=L;
|
package/validate-package.mjs
CHANGED
|
@@ -5,43 +5,39 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { getLicenseStatus as
|
|
8
|
+
import { getLicenseStatus as p, validatePackage as d } from "@progress/kendo-licensing";
|
|
9
9
|
import { canUseDOM as g } from "./canUseDOM.mjs";
|
|
10
|
-
const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app", "webcontainer.io"], 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",
|
|
11
|
-
const t = Array.from(
|
|
10
|
+
const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app", "webcontainer.io"], 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", n = /* @__PURE__ */ new Map(), f = () => {
|
|
11
|
+
const t = Array.from(n, ([e, c]) => `- ${e}: ${Array.from(c).join(", ") || "all"}`).join(`
|
|
12
12
|
`);
|
|
13
13
|
console.group("[WARN][Telerik and Kendo UI Licensing] KendoReact"), console.warn(
|
|
14
14
|
`License check was triggered by these premium KendoReact components/features
|
|
15
15
|
${t}
|
|
16
16
|
See the full list of free and premium components here: ${k}`
|
|
17
|
-
), console.groupEnd(),
|
|
17
|
+
), console.groupEnd(), n.clear();
|
|
18
18
|
}, _ = (t, e) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
if (!n && g && e)
|
|
26
|
-
if (o.size === 0 && setTimeout(f, 1e3), o.has(e.component)) {
|
|
27
|
-
const s = o.get(e.component) || [];
|
|
28
|
-
o.set(e.component, /* @__PURE__ */ new Set([...e.features || [], ...s]));
|
|
19
|
+
var a;
|
|
20
|
+
const c = d(t), o = (a = globalThis.document) == null ? void 0 : a.location.hostname, s = !!o && h.some((r) => o === r || o.endsWith("." + r));
|
|
21
|
+
if (!c && g && e)
|
|
22
|
+
if (n.size === 0 && setTimeout(f, 1e3), n.has(e.component)) {
|
|
23
|
+
const r = n.get(e.component) || [];
|
|
24
|
+
n.set(e.component, /* @__PURE__ */ new Set([...e.features || [], ...r]));
|
|
29
25
|
} else
|
|
30
|
-
|
|
31
|
-
return
|
|
32
|
-
}, v = (t) =>
|
|
33
|
-
var
|
|
34
|
-
if (
|
|
35
|
-
return
|
|
36
|
-
const { version: e, productName:
|
|
26
|
+
n.set(e.component, e.features || []);
|
|
27
|
+
return c || s;
|
|
28
|
+
}, v = (t) => p(t).isLicenseValid, i = /* @__PURE__ */ new WeakMap(), M = (t) => {
|
|
29
|
+
var u;
|
|
30
|
+
if (i.has(t))
|
|
31
|
+
return i.get(t);
|
|
32
|
+
const { version: e, productName: c } = t, o = p(t), s = o.message, a = o.licenseType, r = (u = o.expiration) == null ? void 0 : u.toDateString(), l = s && "code" in s ? s.code : void 0, m = {
|
|
37
33
|
...s,
|
|
38
34
|
code: l,
|
|
39
|
-
licenseType:
|
|
35
|
+
licenseType: a,
|
|
40
36
|
version: e,
|
|
41
|
-
productName: (s == null ? void 0 : s.productName) ||
|
|
42
|
-
expiration:
|
|
37
|
+
productName: (s == null ? void 0 : s.productName) || c,
|
|
38
|
+
expiration: r
|
|
43
39
|
};
|
|
44
|
-
return
|
|
40
|
+
return i.set(t, m), m;
|
|
45
41
|
};
|
|
46
42
|
export {
|
|
47
43
|
M as getLicenseMessage,
|