@progress/kendo-react-common 11.4.0-develop.6 → 11.4.0-develop.8
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/dist/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +16 -1
- package/index.d.ts +16 -1
- package/index.js +1 -1
- package/index.mjs +176 -175
- package/package.json +2 -2
- package/validate-package.js +3 -3
- package/validate-package.mjs +25 -21
- package/watermark/WatermarkOverlay.js +1 -1
- package/watermark/WatermarkOverlay.mjs +9 -9
package/index.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 P=require("./tree-utils/itemIdUtils.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./tree-utils/itemIdUtils.js"),C=require("./contexts/ZIndexContext.js"),l=require("./contexts/AdaptiveModeContext.js"),v=require("./browser-support.service.js"),S=require("./canUseDOM.js"),T=require("./canUseRef.js"),g=require("./classNames.js"),n=require("./clone.js"),o=require("./trappedFocus.js"),M=require("./FormComponent.js"),f=require("./getTabIndex.js"),B=require("./getter.js"),y=require("./guid.js"),x=require("./keys.js"),L=require("./noop.js"),q=require("./scrollbarWidth.js"),F=require("./setter.js"),s=require("./constants/main.js"),a=require("./treeDataOperations.js"),d=require("./validate-package.js"),w=require("./hasRelativeStackingContext.js"),O=require("./watermark/WatermarkOverlay.js"),N=require("./apply-default-props.js"),k=require("./events/dispatchEvent.js"),R=require("./hocs/AsyncFocusBlur.js"),h=require("./hocs/withPropsContext.js"),U=require("./hocs/use-id-hoc.js"),_=require("./hocs/use-unstyled-hoc.js"),W=require("./hocs/use-adaptive-mode-hoc.js"),H=require("./hocs/withzIndexContext.js"),V=require("./hooks/useDir.js"),G=require("./hooks/useAsyncFocusBlur.js"),j=require("./hooks/useRtl.js"),K=require("./hooks/useMouse.js"),Z=require("./hooks/useCustomComponent.js"),z=require("./hooks/usePropsContext.js"),b=require("./hooks/useCollection.js"),X=require("./hooks/useDocument.js"),Y=require("./hooks/useWindow.js"),$=require("./hooks/use-id.js"),J=require("./hooks/use-isomorphic-layout-effect.js"),Q=require("./hooks/use-immediate-inherit-state.js"),ee=require("./icons/Icon.js"),te=require("./icons/SvgIcon.js"),oe=require("./icons/IconWrap.js"),re=require("./icons/IconsContext.js"),p=require("./icons/utils.js"),se=require("./typography/Typography.js"),ne=require("./drag-n-drop/index.js"),ie=require("./Draggable.js"),ae=require("./Droppable.js"),ue=require("./hooks/useDraggable.js"),ce=require("./hooks/useDroppable.js"),le=require("./theme.js"),de=require("./memoize.js"),pe=require("./navigation.js"),A=require("./getActiveElement.js"),me=require("./tree-utils/FieldsService.js"),Ie=require("./tree-utils/SortedPublicItemIds.js"),t=require("./tree-utils/itemUtils.js"),D=require("./tree-utils/misc.js"),Ce=require("./rowHeightService.js"),E=require("./unstyled/main.js"),m=require("./deep-merge.js"),ge=require("./unstyled/animations.js"),xe=require("./unstyled/icons.js"),I=require("./unstyled/buttons.js"),u=require("./unstyled/dropdowns.js"),i=require("./unstyled/dateinputs.js"),r=require("./unstyled/inputs.js"),c=require("./unstyled/labels.js"),qe=require("./unstyled/form.js"),he=require("./unstyled/popup.js"),be=require("./unstyled/grid.js"),e=require("./unstyled/json-classes.js");exports.treeIdUtils=P;exports.ZIndexContext=C.ZIndexContext;exports.useZIndexContext=C.useZIndexContext;exports.AdaptiveModeContext=l.AdaptiveModeContext;exports.defaultValue=l.defaultValue;exports.useAdaptiveModeContext=l.useAdaptiveModeContext;exports.BrowserSupportService=v.BrowserSupportService;exports.canUseDOM=S.canUseDOM;exports.canUseRef=T.canUseRef;exports.classNames=g.classNames;exports.strippedClassNames=g.strippedClassNames;exports.clone=n.clone;exports.cloneArray=n.cloneArray;exports.cloneDate=n.cloneDate;exports.cloneObject=n.cloneObject;exports.cloneValue=n.cloneValue;exports.applyTrappedFocus=o.applyTrappedFocus;exports.disableNavigatableContainer=o.disableNavigatableContainer;exports.enableNavigatableContainer=o.enableNavigatableContainer;exports.firstFocusableChild=o.firstFocusableChild;exports.focusFirstFocusableChild=o.focusFirstFocusableChild;exports.focusLastFocusableChild=o.focusLastFocusableChild;exports.focusableChildren=o.focusableChildren;exports.keepFocusInContainer=o.keepFocusInContainer;exports.lastFocusableChild=o.lastFocusableChild;exports.FormComponent=M.FormComponent;exports.getTabIndex=f.getTabIndex;exports.getter=B.getter;exports.guid=y.guid;exports.KEYS=x.KEYS;exports.Keys=x.Keys;exports.noop=L.noop;exports.getScrollbarWidth=q.getScrollbarWidth;exports.setScrollbarWidth=q.setScrollbarWidth;exports.setter=F.setter;exports.ADAPTIVE_MEDIUM_BREAKPOINT=s.ADAPTIVE_MEDIUM_BREAKPOINT;exports.ADAPTIVE_SMALL_BREAKPOINT=s.ADAPTIVE_SMALL_BREAKPOINT;exports.FIELD_REGEX=s.FIELD_REGEX;exports.FOCUSABLE_ELEMENTS=s.FOCUSABLE_ELEMENTS;exports.FOCUSABLE_ELEMENTS_BASE=s.FOCUSABLE_ELEMENTS_BASE;exports.TABBABLE_ELEMENTS=s.TABBABLE_ELEMENTS;exports.extendDataItem=a.extendDataItem;exports.getItemPath=a.getItemPath;exports.mapTree=a.mapTree;exports.mapTreeItem=a.mapTreeItem;exports.getLicenseMessage=d.getLicenseMessage;exports.hasValidLicense=d.hasValidLicense;exports.validatePackage=d.validatePackage;exports.hasRelativeStackingContext=w.hasRelativeStackingContext;exports.WatermarkOverlay=O.WatermarkOverlay;exports.applyDefaultProps=N.applyDefaultProps;exports.dispatchEvent=k.dispatchEvent;exports.AsyncFocusBlur=R.AsyncFocusBlur;exports.createPropsContext=h.createPropsContext;exports.withPropsContext=h.withPropsContext;exports.withIdHOC=U.withIdHOC;exports.withUnstyledHOC=_.withUnstyledHOC;exports.withAdaptiveModeContext=W.withAdaptiveModeContext;exports.withZIndexContext=H.withZIndexContext;exports.useDir=V.useDir;exports.useAsyncFocusBlur=G.useAsyncFocusBlur;exports.useRtl=j.useRtl;exports.useMouse=K.useMouse;exports.useCustomComponent=Z.useCustomComponent;exports.usePropsContext=z.usePropsContext;exports.COLLECTION_ACTION=b.COLLECTION_ACTION;exports.useCollection=b.useCollection;exports.useDocument=X.useDocument;exports.useWindow=Y.useWindow;exports.useId=$.useId;exports.useIsomorphicLayoutEffect=J.useIsomorphicLayoutEffect;exports.useImmediateInheritState=Q.useImmediateInheritState;exports.Icon=ee.Icon;exports.SvgIcon=te.SvgIcon;exports.IconWrap=oe.IconWrap;exports.IconsContext=re.IconsContext;exports.svgIconPropType=p.svgIconPropType;exports.toIconClass=p.toIconClass;exports.toIconName=p.toIconName;exports.Typography=se.Typography;exports.DragAndDrop=ne.DragAndDrop;exports.Draggable=ie.Draggable;exports.Droppable=ae.Droppable;exports.useDraggable=ue.useDraggable;exports.useDroppable=ce.useDroppable;exports.kendoThemeMaps=le.kendoThemeMaps;exports.memoizeOne=de.memoizeOne;exports.Navigation=pe.Navigation;exports.getActiveElement=A.getActiveElement;exports.getInnerActiveElement=A.getInnerActiveElement;exports.TreeFieldsService=me.TreeFieldsService;exports.SortedPublicItemIds=Ie.SortedPublicItemIds;exports.addItem=t.addItem;exports.areAllDirectChildrenChecked=t.areAllDirectChildrenChecked;exports.getAllDirectIndirectChildrenIds=t.getAllDirectIndirectChildrenIds;exports.getAllParents=t.getAllParents;exports.hasChildren=t.hasChildren;exports.isEnabledAndAllParentsEnabled=t.isEnabledAndAllParentsEnabled;exports.isItemExpandedAndWithChildren=t.isItemExpandedAndWithChildren;exports.removeItem=t.removeItem;exports.resolveItemId=t.resolveItemId;exports.resolveItemsIds=t.resolveItemsIds;exports.updateItem=t.updateItem;exports.getNestedValue=D.getNestedValue;exports.isArray=D.isArray;exports.RowHeightService=Ce.RowHeightService;exports.UnstyledContext=E.UnstyledContext;exports.useUnstyled=E.useUnstyled;exports.deepMerge=m.deepMerge;exports.isObject=m.isObject;exports.isPromise=m.isPromise;exports.uAnimation=ge.uAnimation;exports.uSvgIcon=xe.uSvgIcon;exports.uButton=I.uButton;exports.uButtonGroup=I.uButtonGroup;exports.uDropDownButton=I.uDropDownButton;exports.uComboBox=u.uComboBox;exports.uDropDownList=u.uDropDownList;exports.uDropDownsActionSheet=u.uDropDownsActionSheet;exports.uDropDownsBase=u.uDropDownsBase;exports.uCalendar=i.uCalendar;exports.uDateInput=i.uDateInput;exports.uDateTimePicker=i.uDateTimePicker;exports.uTime=i.uTime;exports.uTimePicker=i.uTimePicker;exports.radioButtonClasses=r.radioButtonClasses;exports.radioGroupClasses=r.radioGroupClasses;exports.uInput=r.uInput;exports.uMaskedTextBox=r.uMaskedTextBox;exports.uRadioButton=r.uRadioButton;exports.uRadioGroup=r.uRadioGroup;exports.uTextBox=r.uTextBox;exports.uError=c.uError;exports.uFloatingLabel=c.uFloatingLabel;exports.uHint=c.uHint;exports.uLabel=c.uLabel;exports.uForm=qe.uForm;exports.uPopup=he.uPopup;exports.uGrid=be.uGrid;exports.actions=e.actions;exports.animationStyles=e.animationStyles;exports.base=e.base;exports.buttonPrefix=e.buttonPrefix;exports.calendarPrefix=e.calendarPrefix;exports.comboBoxPrefix=e.comboBoxPrefix;exports.components=e.components;exports.containers=e.containers;exports.cssUtils=e.cssUtils;exports.cursor=e.cursor;exports.dateInputs=e.dateInputs;exports.ddbPrefix=e.ddbPrefix;exports.dimensions=e.dimensions;exports.directionMap=e.directionMap;exports.dropDownListPrefix=e.dropDownListPrefix;exports.elements=e.elements;exports.fillModeMap=e.fillModeMap;exports.forms=e.forms;exports.grid=e.grid;exports.gridPrefix=e.gridPrefix;exports.gridRowReorder=e.gridRowReorder;exports.icon=e.icon;exports.inputPrefix=e.inputPrefix;exports.inputs=e.inputs;exports.jsonTheme=e.jsonTheme;exports.labels=e.labels;exports.maskedPrefix=e.maskedPrefix;exports.orientationMap=e.orientationMap;exports.pickerPrefix=e.pickerPrefix;exports.popup=e.popup;exports.radioPrefix=e.radioPrefix;exports.roundedMap=e.roundedMap;exports.sizeMap=e.sizeMap;exports.states=e.states;exports.themeColorMap=e.themeColorMap;
|
package/index.mjs
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as e from "./tree-utils/itemIdUtils.mjs";
|
|
9
9
|
import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexContext.mjs";
|
|
10
|
-
import { AdaptiveModeContext as
|
|
10
|
+
import { AdaptiveModeContext as s, defaultValue as m, useAdaptiveModeContext as n } from "./contexts/AdaptiveModeContext.mjs";
|
|
11
11
|
import { BrowserSupportService as x } from "./browser-support.service.mjs";
|
|
12
12
|
import { canUseDOM as l } from "./canUseDOM.mjs";
|
|
13
13
|
import { canUseRef as d } from "./canUseRef.mjs";
|
|
14
14
|
import { classNames as I, strippedClassNames as C } from "./classNames.mjs";
|
|
15
|
-
import { clone as
|
|
16
|
-
import { applyTrappedFocus as T, disableNavigatableContainer as
|
|
15
|
+
import { clone as h, cloneArray as A, cloneDate as E, cloneObject as b, cloneValue as D } from "./clone.mjs";
|
|
16
|
+
import { applyTrappedFocus as T, disableNavigatableContainer as M, enableNavigatableContainer as v, firstFocusableChild as B, focusFirstFocusableChild as S, focusLastFocusableChild as L, focusableChildren as y, keepFocusInContainer as F, lastFocusableChild as w } from "./trappedFocus.mjs";
|
|
17
17
|
import { FormComponent as O } from "./FormComponent.mjs";
|
|
18
18
|
import { getTabIndex as R } from "./getTabIndex.mjs";
|
|
19
19
|
import { getter as _ } from "./getter.mjs";
|
|
@@ -23,235 +23,236 @@ import { noop as Z } from "./noop.mjs";
|
|
|
23
23
|
import { getScrollbarWidth as X, setScrollbarWidth as Y } from "./scrollbarWidth.mjs";
|
|
24
24
|
import { setter as J } from "./setter.mjs";
|
|
25
25
|
import { ADAPTIVE_MEDIUM_BREAKPOINT as $, ADAPTIVE_SMALL_BREAKPOINT as ee, FIELD_REGEX as oe, FOCUSABLE_ELEMENTS as re, FOCUSABLE_ELEMENTS_BASE as te, TABBABLE_ELEMENTS as pe } from "./constants/main.mjs";
|
|
26
|
-
import { extendDataItem as
|
|
27
|
-
import {
|
|
28
|
-
import { hasRelativeStackingContext as
|
|
29
|
-
import { WatermarkOverlay as
|
|
26
|
+
import { extendDataItem as se, getItemPath as me, mapTree as ne, mapTreeItem as ie } from "./treeDataOperations.mjs";
|
|
27
|
+
import { getLicenseMessage as fe, hasValidLicense as le, validatePackage as ue } from "./validate-package.mjs";
|
|
28
|
+
import { hasRelativeStackingContext as ce } from "./hasRelativeStackingContext.mjs";
|
|
29
|
+
import { WatermarkOverlay as Ce } from "./watermark/WatermarkOverlay.mjs";
|
|
30
30
|
import { applyDefaultProps as he } from "./apply-default-props.mjs";
|
|
31
31
|
import { dispatchEvent as Ee } from "./events/dispatchEvent.mjs";
|
|
32
|
-
import { AsyncFocusBlur as
|
|
33
|
-
import { createPropsContext as
|
|
32
|
+
import { AsyncFocusBlur as De } from "./hocs/AsyncFocusBlur.mjs";
|
|
33
|
+
import { createPropsContext as Te, withPropsContext as Me } from "./hocs/withPropsContext.mjs";
|
|
34
34
|
import { withIdHOC as Be } from "./hocs/use-id-hoc.mjs";
|
|
35
|
-
import { withUnstyledHOC as
|
|
36
|
-
import { withAdaptiveModeContext as
|
|
37
|
-
import { withZIndexContext as
|
|
38
|
-
import { useDir as
|
|
39
|
-
import { useAsyncFocusBlur as
|
|
40
|
-
import { useRtl as
|
|
41
|
-
import { useMouse as
|
|
42
|
-
import { useCustomComponent as
|
|
43
|
-
import { usePropsContext as
|
|
44
|
-
import { COLLECTION_ACTION as
|
|
45
|
-
import { useDocument as
|
|
46
|
-
import { useWindow as
|
|
47
|
-
import { useId as
|
|
48
|
-
import { useIsomorphicLayoutEffect as
|
|
49
|
-
import { useImmediateInheritState as
|
|
35
|
+
import { withUnstyledHOC as Le } from "./hocs/use-unstyled-hoc.mjs";
|
|
36
|
+
import { withAdaptiveModeContext as Fe } from "./hocs/use-adaptive-mode-hoc.mjs";
|
|
37
|
+
import { withZIndexContext as Ne } from "./hocs/withzIndexContext.mjs";
|
|
38
|
+
import { useDir as ke } from "./hooks/useDir.mjs";
|
|
39
|
+
import { useAsyncFocusBlur as Ue } from "./hooks/useAsyncFocusBlur.mjs";
|
|
40
|
+
import { useRtl as Ve } from "./hooks/useRtl.mjs";
|
|
41
|
+
import { useMouse as Ge } from "./hooks/useMouse.mjs";
|
|
42
|
+
import { useCustomComponent as Ke } from "./hooks/useCustomComponent.mjs";
|
|
43
|
+
import { usePropsContext as Ze } from "./hooks/usePropsContext.mjs";
|
|
44
|
+
import { COLLECTION_ACTION as Xe, useCollection as Ye } from "./hooks/useCollection.mjs";
|
|
45
|
+
import { useDocument as Je } from "./hooks/useDocument.mjs";
|
|
46
|
+
import { useWindow as $e } from "./hooks/useWindow.mjs";
|
|
47
|
+
import { useId as oo } from "./hooks/use-id.mjs";
|
|
48
|
+
import { useIsomorphicLayoutEffect as to } from "./hooks/use-isomorphic-layout-effect.mjs";
|
|
49
|
+
import { useImmediateInheritState as ao } from "./hooks/use-immediate-inherit-state.mjs";
|
|
50
50
|
import { Icon as mo } from "./icons/Icon.mjs";
|
|
51
|
-
import { SvgIcon as
|
|
52
|
-
import { IconWrap as
|
|
53
|
-
import { IconsContext as
|
|
54
|
-
import { svgIconPropType as
|
|
51
|
+
import { SvgIcon as io } from "./icons/SvgIcon.mjs";
|
|
52
|
+
import { IconWrap as fo } from "./icons/IconWrap.mjs";
|
|
53
|
+
import { IconsContext as uo } from "./icons/IconsContext.mjs";
|
|
54
|
+
import { svgIconPropType as Io, toIconClass as Co, toIconName as go } from "./icons/utils.mjs";
|
|
55
55
|
import { Typography as Ao } from "./typography/Typography.mjs";
|
|
56
|
-
import { DragAndDrop as
|
|
57
|
-
import { Draggable as
|
|
58
|
-
import { Droppable as
|
|
56
|
+
import { DragAndDrop as bo } from "./drag-n-drop/index.mjs";
|
|
57
|
+
import { Draggable as Po } from "./Draggable.mjs";
|
|
58
|
+
import { Droppable as Mo } from "./Droppable.mjs";
|
|
59
59
|
import { useDraggable as Bo } from "./hooks/useDraggable.mjs";
|
|
60
|
-
import { useDroppable as
|
|
61
|
-
import { kendoThemeMaps as
|
|
62
|
-
import { memoizeOne as
|
|
63
|
-
import { Navigation as
|
|
64
|
-
import { getActiveElement as
|
|
65
|
-
import { TreeFieldsService as
|
|
66
|
-
import { SortedPublicItemIds as
|
|
67
|
-
import { addItem as
|
|
68
|
-
import { getNestedValue as
|
|
69
|
-
import { RowHeightService as
|
|
70
|
-
import { UnstyledContext as
|
|
71
|
-
import { deepMerge as
|
|
72
|
-
import { uAnimation as
|
|
73
|
-
import { uSvgIcon as
|
|
60
|
+
import { useDroppable as Lo } from "./hooks/useDroppable.mjs";
|
|
61
|
+
import { kendoThemeMaps as Fo } from "./theme.mjs";
|
|
62
|
+
import { memoizeOne as No } from "./memoize.mjs";
|
|
63
|
+
import { Navigation as ko } from "./navigation.mjs";
|
|
64
|
+
import { getActiveElement as Uo, getInnerActiveElement as _o } from "./getActiveElement.mjs";
|
|
65
|
+
import { TreeFieldsService as Wo } from "./tree-utils/FieldsService.mjs";
|
|
66
|
+
import { SortedPublicItemIds as Ho } from "./tree-utils/SortedPublicItemIds.mjs";
|
|
67
|
+
import { addItem as jo, areAllDirectChildrenChecked as Zo, getAllDirectIndirectChildrenIds as zo, getAllParents as Xo, hasChildren as Yo, isEnabledAndAllParentsEnabled as qo, isItemExpandedAndWithChildren as Jo, removeItem as Qo, resolveItemId as $o, resolveItemsIds as er, updateItem as or } from "./tree-utils/itemUtils.mjs";
|
|
68
|
+
import { getNestedValue as tr, isArray as pr } from "./tree-utils/misc.mjs";
|
|
69
|
+
import { RowHeightService as sr } from "./rowHeightService.mjs";
|
|
70
|
+
import { UnstyledContext as nr, useUnstyled as ir } from "./unstyled/main.mjs";
|
|
71
|
+
import { deepMerge as fr, isObject as lr, isPromise as ur } from "./deep-merge.mjs";
|
|
72
|
+
import { uAnimation as cr } from "./unstyled/animations.mjs";
|
|
73
|
+
import { uSvgIcon as Cr } from "./unstyled/icons.mjs";
|
|
74
74
|
import { uButton as hr, uButtonGroup as Ar, uDropDownButton as Er } from "./unstyled/buttons.mjs";
|
|
75
|
-
import { uComboBox as
|
|
76
|
-
import { uCalendar as Br, uDateInput as
|
|
77
|
-
import { radioButtonClasses as
|
|
78
|
-
import { uError as
|
|
79
|
-
import { uForm as
|
|
80
|
-
import { uPopup as
|
|
81
|
-
import { uGrid as
|
|
82
|
-
import { actions as
|
|
75
|
+
import { uComboBox as Dr, uDropDownList as Pr, uDropDownsActionSheet as Tr, uDropDownsBase as Mr } from "./unstyled/dropdowns.mjs";
|
|
76
|
+
import { uCalendar as Br, uDateInput as Sr, uDateTimePicker as Lr, uTime as yr, uTimePicker as Fr } from "./unstyled/dateinputs.mjs";
|
|
77
|
+
import { radioButtonClasses as Nr, radioGroupClasses as Or, uInput as kr, uMaskedTextBox as Rr, uRadioButton as Ur, uRadioGroup as _r, uTextBox as Vr } from "./unstyled/inputs.mjs";
|
|
78
|
+
import { uError as Gr, uFloatingLabel as Hr, uHint as Kr, uLabel as jr } from "./unstyled/labels.mjs";
|
|
79
|
+
import { uForm as zr } from "./unstyled/form.mjs";
|
|
80
|
+
import { uPopup as Yr } from "./unstyled/popup.mjs";
|
|
81
|
+
import { uGrid as Jr } from "./unstyled/grid.mjs";
|
|
82
|
+
import { actions as $r, animationStyles as et, base as ot, buttonPrefix as rt, calendarPrefix as tt, comboBoxPrefix as pt, components as at, containers as st, cssUtils as mt, cursor as nt, dateInputs as it, ddbPrefix as xt, dimensions as ft, directionMap as lt, dropDownListPrefix as ut, elements as dt, fillModeMap as ct, forms as It, grid as Ct, gridPrefix as gt, gridRowReorder as ht, icon as At, inputPrefix as Et, inputs as bt, jsonTheme as Dt, labels as Pt, maskedPrefix as Tt, orientationMap as Mt, pickerPrefix as vt, popup as Bt, radioPrefix as St, roundedMap as Lt, sizeMap as yt, states as Ft, themeColorMap as wt } from "./unstyled/json-classes.mjs";
|
|
83
83
|
export {
|
|
84
84
|
$ as ADAPTIVE_MEDIUM_BREAKPOINT,
|
|
85
85
|
ee as ADAPTIVE_SMALL_BREAKPOINT,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
s as AdaptiveModeContext,
|
|
87
|
+
De as AsyncFocusBlur,
|
|
88
88
|
x as BrowserSupportService,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
Xe as COLLECTION_ACTION,
|
|
90
|
+
bo as DragAndDrop,
|
|
91
|
+
Po as Draggable,
|
|
92
|
+
Mo as Droppable,
|
|
93
93
|
oe as FIELD_REGEX,
|
|
94
94
|
re as FOCUSABLE_ELEMENTS,
|
|
95
95
|
te as FOCUSABLE_ELEMENTS_BASE,
|
|
96
96
|
O as FormComponent,
|
|
97
97
|
mo as Icon,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
fo as IconWrap,
|
|
99
|
+
uo as IconsContext,
|
|
100
100
|
H as KEYS,
|
|
101
101
|
K as Keys,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
ko as Navigation,
|
|
103
|
+
sr as RowHeightService,
|
|
104
|
+
Ho as SortedPublicItemIds,
|
|
105
|
+
io as SvgIcon,
|
|
106
106
|
pe as TABBABLE_ELEMENTS,
|
|
107
|
-
|
|
107
|
+
Wo as TreeFieldsService,
|
|
108
108
|
Ao as Typography,
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
nr as UnstyledContext,
|
|
110
|
+
Ce as WatermarkOverlay,
|
|
111
111
|
t as ZIndexContext,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
$r as actions,
|
|
113
|
+
jo as addItem,
|
|
114
|
+
et as animationStyles,
|
|
115
115
|
he as applyDefaultProps,
|
|
116
116
|
T as applyTrappedFocus,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
Zo as areAllDirectChildrenChecked,
|
|
118
|
+
ot as base,
|
|
119
|
+
rt as buttonPrefix,
|
|
120
|
+
tt as calendarPrefix,
|
|
121
121
|
l as canUseDOM,
|
|
122
122
|
d as canUseRef,
|
|
123
123
|
I as classNames,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
h as clone,
|
|
125
|
+
A as cloneArray,
|
|
126
|
+
E as cloneDate,
|
|
127
127
|
b as cloneObject,
|
|
128
128
|
D as cloneValue,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
pt as comboBoxPrefix,
|
|
130
|
+
at as components,
|
|
131
|
+
st as containers,
|
|
132
|
+
Te as createPropsContext,
|
|
133
133
|
mt as cssUtils,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
134
|
+
nt as cursor,
|
|
135
|
+
it as dateInputs,
|
|
136
|
+
xt as ddbPrefix,
|
|
137
|
+
fr as deepMerge,
|
|
138
|
+
m as defaultValue,
|
|
139
|
+
ft as dimensions,
|
|
140
|
+
lt as directionMap,
|
|
141
|
+
M as disableNavigatableContainer,
|
|
142
142
|
Ee as dispatchEvent,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
ut as dropDownListPrefix,
|
|
144
|
+
dt as elements,
|
|
145
|
+
v as enableNavigatableContainer,
|
|
146
|
+
se as extendDataItem,
|
|
147
|
+
ct as fillModeMap,
|
|
148
|
+
B as firstFocusableChild,
|
|
149
149
|
S as focusFirstFocusableChild,
|
|
150
150
|
L as focusLastFocusableChild,
|
|
151
151
|
y as focusableChildren,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
It as forms,
|
|
153
|
+
Uo as getActiveElement,
|
|
154
|
+
zo as getAllDirectIndirectChildrenIds,
|
|
155
|
+
Xo as getAllParents,
|
|
156
|
+
_o as getInnerActiveElement,
|
|
157
|
+
me as getItemPath,
|
|
158
|
+
fe as getLicenseMessage,
|
|
159
|
+
tr as getNestedValue,
|
|
159
160
|
X as getScrollbarWidth,
|
|
160
161
|
R as getTabIndex,
|
|
161
162
|
_ as getter,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
Ct as grid,
|
|
164
|
+
gt as gridPrefix,
|
|
164
165
|
ht as gridRowReorder,
|
|
165
166
|
W as guid,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
Yo as hasChildren,
|
|
168
|
+
ce as hasRelativeStackingContext,
|
|
169
|
+
le as hasValidLicense,
|
|
169
170
|
At as icon,
|
|
170
171
|
Et as inputPrefix,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
bt as inputs,
|
|
173
|
+
pr as isArray,
|
|
174
|
+
qo as isEnabledAndAllParentsEnabled,
|
|
175
|
+
Jo as isItemExpandedAndWithChildren,
|
|
176
|
+
lr as isObject,
|
|
177
|
+
ur as isPromise,
|
|
178
|
+
Dt as jsonTheme,
|
|
178
179
|
F as keepFocusInContainer,
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
Fo as kendoThemeMaps,
|
|
181
|
+
Pt as labels,
|
|
181
182
|
w as lastFocusableChild,
|
|
182
183
|
ne as mapTree,
|
|
183
184
|
ie as mapTreeItem,
|
|
184
|
-
|
|
185
|
-
|
|
185
|
+
Tt as maskedPrefix,
|
|
186
|
+
No as memoizeOne,
|
|
186
187
|
Z as noop,
|
|
187
|
-
|
|
188
|
+
Mt as orientationMap,
|
|
188
189
|
vt as pickerPrefix,
|
|
189
190
|
Bt as popup,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
191
|
+
Nr as radioButtonClasses,
|
|
192
|
+
Or as radioGroupClasses,
|
|
193
|
+
St as radioPrefix,
|
|
194
|
+
Qo as removeItem,
|
|
195
|
+
$o as resolveItemId,
|
|
196
|
+
er as resolveItemsIds,
|
|
197
|
+
Lt as roundedMap,
|
|
197
198
|
Y as setScrollbarWidth,
|
|
198
199
|
J as setter,
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
yt as sizeMap,
|
|
201
|
+
Ft as states,
|
|
201
202
|
C as strippedClassNames,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
Io as svgIconPropType,
|
|
204
|
+
wt as themeColorMap,
|
|
205
|
+
Co as toIconClass,
|
|
206
|
+
go as toIconName,
|
|
206
207
|
e as treeIdUtils,
|
|
207
|
-
|
|
208
|
+
cr as uAnimation,
|
|
208
209
|
hr as uButton,
|
|
209
210
|
Ar as uButtonGroup,
|
|
210
211
|
Br as uCalendar,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
Dr as uComboBox,
|
|
213
|
+
Sr as uDateInput,
|
|
214
|
+
Lr as uDateTimePicker,
|
|
214
215
|
Er as uDropDownButton,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
216
|
+
Pr as uDropDownList,
|
|
217
|
+
Tr as uDropDownsActionSheet,
|
|
218
|
+
Mr as uDropDownsBase,
|
|
219
|
+
Gr as uError,
|
|
220
|
+
Hr as uFloatingLabel,
|
|
221
|
+
zr as uForm,
|
|
222
|
+
Jr as uGrid,
|
|
223
|
+
Kr as uHint,
|
|
224
|
+
kr as uInput,
|
|
225
|
+
jr as uLabel,
|
|
226
|
+
Rr as uMaskedTextBox,
|
|
227
|
+
Yr as uPopup,
|
|
228
|
+
Ur as uRadioButton,
|
|
229
|
+
_r as uRadioGroup,
|
|
230
|
+
Cr as uSvgIcon,
|
|
231
|
+
Vr as uTextBox,
|
|
232
|
+
yr as uTime,
|
|
233
|
+
Fr as uTimePicker,
|
|
234
|
+
or as updateItem,
|
|
234
235
|
n as useAdaptiveModeContext,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
Ue as useAsyncFocusBlur,
|
|
237
|
+
Ye as useCollection,
|
|
238
|
+
Ke as useCustomComponent,
|
|
239
|
+
ke as useDir,
|
|
240
|
+
Je as useDocument,
|
|
240
241
|
Bo as useDraggable,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
242
|
+
Lo as useDroppable,
|
|
243
|
+
oo as useId,
|
|
244
|
+
ao as useImmediateInheritState,
|
|
245
|
+
to as useIsomorphicLayoutEffect,
|
|
246
|
+
Ge as useMouse,
|
|
247
|
+
Ze as usePropsContext,
|
|
248
|
+
Ve as useRtl,
|
|
249
|
+
ir as useUnstyled,
|
|
250
|
+
$e as useWindow,
|
|
250
251
|
p as useZIndexContext,
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
ue as validatePackage,
|
|
253
|
+
Fe as withAdaptiveModeContext,
|
|
253
254
|
Be as withIdHOC,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
Me as withPropsContext,
|
|
256
|
+
Le as withUnstyledHOC,
|
|
257
|
+
Ne as withZIndexContext
|
|
257
258
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-common",
|
|
3
|
-
"version": "11.4.0-develop.
|
|
3
|
+
"version": "11.4.0-develop.8",
|
|
4
4
|
"description": "React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@progress/kendo-licensing": "^1.
|
|
28
|
+
"@progress/kendo-licensing": "^1.7.0",
|
|
29
29
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
30
30
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
31
31
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
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 c=require("@progress/kendo-licensing"),a=require("./canUseDOM.js"),u=["telerik.com","progress.com","stackblitz.io","csb.app"],m="https://www.telerik.com/kendo-react-ui/components/free?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium",n=new Map,l=()=>{const t=Array.from(n,([e,s])=>`- ${e}: ${Array.from(s).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
|
-
${
|
|
11
|
-
See the full list of free and premium components here: ${
|
|
10
|
+
${t}
|
|
11
|
+
See the full list of free and premium components here: ${m}`),console.groupEnd(),n.clear()},p=(t,e)=>{const s=c.validatePackage(t),i=u.some(o=>{var r;return(r=globalThis.document)==null?void 0:r.location.hostname.endsWith(o)});if(!s&&a.canUseDOM&&e)if(n.size===0&&setTimeout(l,1e3),n.has(e.component)){const o=n.get(e.component)||[];n.set(e.component,new Set([...e.features||[],...o]))}else n.set(e.component,e.features||[]);return s||i},g=t=>c.getLicenseStatus(t).isLicenseValid,d=t=>{const e=c.getLicenseStatus(t).message,s=e==null?void 0:e.notificationMessage;return(e==null?void 0:e.severity)==="WARN"&&(e==null?void 0:e.code)==="TKL201"?s+"<br />See the browser console for a list of Premium features currently in use.":s};exports.getLicenseMessage=d;exports.hasValidLicense=g;exports.validatePackage=p;
|
package/validate-package.mjs
CHANGED
|
@@ -5,32 +5,36 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { validatePackage as
|
|
9
|
-
import { canUseDOM as
|
|
10
|
-
const u = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"],
|
|
11
|
-
const
|
|
8
|
+
import { validatePackage as i, getLicenseStatus as r } from "@progress/kendo-licensing";
|
|
9
|
+
import { canUseDOM as m } from "./canUseDOM.mjs";
|
|
10
|
+
const u = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], l = "https://www.telerik.com/kendo-react-ui/components/free?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium", s = /* @__PURE__ */ new Map(), p = () => {
|
|
11
|
+
const t = Array.from(s, ([e, o]) => `- ${e}: ${Array.from(o).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
|
-
${
|
|
16
|
-
See the full list of free and premium components here: ${
|
|
17
|
-
), console.groupEnd(),
|
|
18
|
-
},
|
|
19
|
-
const o =
|
|
20
|
-
(
|
|
21
|
-
var
|
|
22
|
-
return (
|
|
15
|
+
${t}
|
|
16
|
+
See the full list of free and premium components here: ${l}`
|
|
17
|
+
), console.groupEnd(), s.clear();
|
|
18
|
+
}, g = (t, e) => {
|
|
19
|
+
const o = i(t), a = u.some(
|
|
20
|
+
(n) => {
|
|
21
|
+
var c;
|
|
22
|
+
return (c = globalThis.document) == null ? void 0 : c.location.hostname.endsWith(n);
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
if (!o &&
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
28
|
-
|
|
25
|
+
if (!o && m && e)
|
|
26
|
+
if (s.size === 0 && setTimeout(p, 1e3), s.has(e.component)) {
|
|
27
|
+
const n = s.get(e.component) || [];
|
|
28
|
+
s.set(e.component, /* @__PURE__ */ new Set([...e.features || [], ...n]));
|
|
29
29
|
} else
|
|
30
|
-
|
|
31
|
-
return o ||
|
|
32
|
-
},
|
|
30
|
+
s.set(e.component, e.features || []);
|
|
31
|
+
return o || a;
|
|
32
|
+
}, d = (t) => r(t).isLicenseValid, k = (t) => {
|
|
33
|
+
const e = r(t).message, o = e == null ? void 0 : e.notificationMessage;
|
|
34
|
+
return (e == null ? void 0 : e.severity) === "WARN" && (e == null ? void 0 : e.code) === "TKL201" ? o + "<br />See the browser console for a list of Premium features currently in use." : o;
|
|
35
|
+
};
|
|
33
36
|
export {
|
|
34
|
-
k as
|
|
35
|
-
d as
|
|
37
|
+
k as getLicenseMessage,
|
|
38
|
+
d as hasValidLicense,
|
|
39
|
+
g as validatePackage
|
|
36
40
|
};
|