@progress/kendo-react-common 8.3.0-develop.2 → 8.3.0-develop.4
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/hocs/use-unstyled-hoc.js +8 -0
- package/hocs/use-unstyled-hoc.mjs +17 -0
- package/icons/SvgIcon.js +1 -1
- package/icons/SvgIcon.mjs +52 -56
- package/index.d.mts +169 -0
- package/index.d.ts +169 -0
- package/index.js +1 -1
- package/index.mjs +133 -110
- package/package.json +1 -1
- package/unstyled/animations.js +8 -0
- package/unstyled/animations.mjs +185 -0
- package/unstyled/buttons.js +8 -0
- package/unstyled/buttons.mjs +253 -0
- package/unstyled/grid.js +8 -0
- package/unstyled/grid.mjs +319 -0
- package/unstyled/icons.js +8 -0
- package/unstyled/icons.mjs +53 -0
- package/unstyled/inputs.js +8 -0
- package/unstyled/inputs.mjs +149 -0
- package/unstyled/json-classes.js +8 -0
- package/unstyled/json-classes.mjs +201 -0
- package/unstyled/main.js +8 -0
- package/unstyled/main.mjs +14 -0
- package/unstyled/popup.js +8 -0
- package/unstyled/popup.mjs +91 -0
package/index.d.mts
CHANGED
|
@@ -9,6 +9,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
9
9
|
import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import * as React_2 from 'react';
|
|
12
|
+
import { default as React_3 } from 'react';
|
|
12
13
|
import { validatePackage as validatePackage_2 } from '@progress/kendo-licensing';
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -16,6 +17,26 @@ import { validatePackage as validatePackage_2 } from '@progress/kendo-licensing'
|
|
|
16
17
|
*/
|
|
17
18
|
export declare function addItem(item: any, operation: 'before' | 'after' | 'child', childrenField: string, targetItemId: string, items: any[]): any[];
|
|
18
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare interface AllClassStructure extends AnimationsClassStructure, IconsClassStructure, ButtonsClassStructure, PopupClassStructure, GridClassStructure, MaskedTextBoxClassStructure, RadioButtonClassStructure, RadioGroupClassStructure {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare interface AnimationsClassStructure {
|
|
30
|
+
uAnimation?: WidgetClassStructure;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export declare const animationStyles: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
19
40
|
/**
|
|
20
41
|
* @hidden
|
|
21
42
|
*/
|
|
@@ -205,6 +226,14 @@ export declare class BrowserSupportService {
|
|
|
205
226
|
get scrollbarWidth(): number;
|
|
206
227
|
}
|
|
207
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @hidden
|
|
231
|
+
*/
|
|
232
|
+
export declare interface ButtonsClassStructure {
|
|
233
|
+
uButton?: WidgetClassStructure;
|
|
234
|
+
uDropDownButton?: WidgetClassStructure;
|
|
235
|
+
}
|
|
236
|
+
|
|
208
237
|
/**
|
|
209
238
|
* @hidden
|
|
210
239
|
*/
|
|
@@ -847,6 +876,13 @@ export declare const getTabIndex: (tabIndex?: number | string, disabled?: boolea
|
|
|
847
876
|
*/
|
|
848
877
|
export declare function getter(field: string): (values: any) => any;
|
|
849
878
|
|
|
879
|
+
/**
|
|
880
|
+
* @hidden
|
|
881
|
+
*/
|
|
882
|
+
export declare interface GridClassStructure {
|
|
883
|
+
uGrid?: WidgetClassStructure;
|
|
884
|
+
}
|
|
885
|
+
|
|
850
886
|
/**
|
|
851
887
|
* @hidden
|
|
852
888
|
*/
|
|
@@ -907,6 +943,13 @@ export declare interface IconProps extends BaseIconProps, KendoMouse<IconHandle,
|
|
|
907
943
|
name?: string;
|
|
908
944
|
}
|
|
909
945
|
|
|
946
|
+
/**
|
|
947
|
+
* @hidden
|
|
948
|
+
*/
|
|
949
|
+
export declare interface IconsClassStructure {
|
|
950
|
+
uSvgIcon?: WidgetClassStructure;
|
|
951
|
+
}
|
|
952
|
+
|
|
910
953
|
/**
|
|
911
954
|
* Represents a React Context which provides you with the option to configure the KendoReact components icons.
|
|
912
955
|
*/
|
|
@@ -1001,6 +1044,11 @@ export declare function isItemExpandedAndWithChildren(item: any, fieldsSvc: Tree
|
|
|
1001
1044
|
*/
|
|
1002
1045
|
declare function isItemFirstFromSiblings(itemId: string): boolean;
|
|
1003
1046
|
|
|
1047
|
+
/**
|
|
1048
|
+
* @hidden
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const jsonTheme: KendoTheme;
|
|
1051
|
+
|
|
1004
1052
|
/**
|
|
1005
1053
|
* @hidden
|
|
1006
1054
|
*/
|
|
@@ -1071,6 +1119,30 @@ export declare interface KendoReactComponentBaseProps {
|
|
|
1071
1119
|
style?: React.CSSProperties;
|
|
1072
1120
|
}
|
|
1073
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* @hidden
|
|
1124
|
+
*/
|
|
1125
|
+
declare interface KendoTheme {
|
|
1126
|
+
base: Record<Exclude<any, null>, string>;
|
|
1127
|
+
animation: Record<Exclude<any, null>, string>;
|
|
1128
|
+
containers: Record<Exclude<any, null>, string>;
|
|
1129
|
+
elements: Record<Exclude<any, null>, string>;
|
|
1130
|
+
sizeMap: Record<Exclude<any, null>, string>;
|
|
1131
|
+
directionMap: Record<Exclude<any, null>, string>;
|
|
1132
|
+
fillModeMap: Record<Exclude<any, null>, string>;
|
|
1133
|
+
themeColorMap: Record<Exclude<any, null>, string>;
|
|
1134
|
+
roundedMap: Record<Exclude<any, null>, string>;
|
|
1135
|
+
cursor: Record<Exclude<any, null>, string>;
|
|
1136
|
+
dimensions: Record<Exclude<any, null>, string>;
|
|
1137
|
+
states: Record<Exclude<any, null>, string>;
|
|
1138
|
+
button: Record<Exclude<any, null>, string>;
|
|
1139
|
+
input: Record<Exclude<any, null>, string>;
|
|
1140
|
+
popup: Record<Exclude<any, null>, string>;
|
|
1141
|
+
ddb: Record<Exclude<any, null>, string>;
|
|
1142
|
+
icon: Record<Exclude<any, null>, string>;
|
|
1143
|
+
grid: Record<Exclude<any, null>, string>;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1074
1146
|
/** @hidden */
|
|
1075
1147
|
export declare interface KendoThemeMaps {
|
|
1076
1148
|
sizeMap: Record<Exclude<any, null>, String>;
|
|
@@ -1193,6 +1265,13 @@ export declare const mapTreeItem: (tree: any[], level: number[], subItemsField:
|
|
|
1193
1265
|
*/
|
|
1194
1266
|
export declare type MarginEnum = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'thin' | 'hair' | number;
|
|
1195
1267
|
|
|
1268
|
+
/**
|
|
1269
|
+
* @hidden
|
|
1270
|
+
*/
|
|
1271
|
+
export declare interface MaskedTextBoxClassStructure {
|
|
1272
|
+
uMaskedTextBox?: WidgetClassStructure;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1196
1275
|
declare type MemoizedFn<TFunc extends (this: any, ...args: any[]) => any> = {
|
|
1197
1276
|
clear: () => void;
|
|
1198
1277
|
(this: ThisParameterType<TFunc>, ...args: Parameters<TFunc>): ReturnType<TFunc>;
|
|
@@ -1371,6 +1450,27 @@ export declare const noop: () => void;
|
|
|
1371
1450
|
|
|
1372
1451
|
export { NormalizedDragEvent }
|
|
1373
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* @hidden
|
|
1455
|
+
*/
|
|
1456
|
+
export declare interface PopupClassStructure {
|
|
1457
|
+
uPopup?: WidgetClassStructure;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @hidden
|
|
1462
|
+
*/
|
|
1463
|
+
export declare interface RadioButtonClassStructure {
|
|
1464
|
+
uRadioButton?: WidgetClassStructure;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @hidden
|
|
1469
|
+
*/
|
|
1470
|
+
export declare interface RadioGroupClassStructure {
|
|
1471
|
+
uRadioGroup?: WidgetClassStructure;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1374
1474
|
/**
|
|
1375
1475
|
* @hidden
|
|
1376
1476
|
*/
|
|
@@ -1739,11 +1839,56 @@ export declare interface TypographyProps extends KendoReactComponentBaseProps {
|
|
|
1739
1839
|
[customProp: string]: any;
|
|
1740
1840
|
}
|
|
1741
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
* @hidden
|
|
1844
|
+
*/
|
|
1845
|
+
export declare const uAnimation: WidgetClassStructure;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* @hidden
|
|
1849
|
+
*/
|
|
1850
|
+
export declare const uButton: WidgetClassStructure;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* @hidden
|
|
1854
|
+
*/
|
|
1855
|
+
export declare const uDropDownButton: WidgetClassStructure;
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* @hidden
|
|
1859
|
+
*/
|
|
1860
|
+
export declare const uGrid: WidgetClassStructure;
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* @hidden
|
|
1864
|
+
*/
|
|
1865
|
+
export declare const uMaskedTextBox: WidgetClassStructure;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* @hidden
|
|
1869
|
+
*/
|
|
1870
|
+
export declare const UnstyledContext: React_3.Context<any>;
|
|
1871
|
+
|
|
1742
1872
|
/**
|
|
1743
1873
|
* @hidden
|
|
1744
1874
|
*/
|
|
1745
1875
|
export declare function updateItem(items: any[], itemId: string, update: (item: any) => void, cloneField: string, childrenField: string): any[];
|
|
1746
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* @hidden
|
|
1879
|
+
*/
|
|
1880
|
+
export declare const uPopup: WidgetClassStructure;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* @hidden
|
|
1884
|
+
*/
|
|
1885
|
+
export declare const uRadioButton: WidgetClassStructure;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @hidden
|
|
1889
|
+
*/
|
|
1890
|
+
export declare const uRadioGroup: WidgetClassStructure;
|
|
1891
|
+
|
|
1747
1892
|
/**
|
|
1748
1893
|
* An utility function for asynchronous focus/blur handling.
|
|
1749
1894
|
*
|
|
@@ -1843,6 +1988,11 @@ export declare const usePropsContext: <T extends unknown>(context: React_2.Conte
|
|
|
1843
1988
|
*/
|
|
1844
1989
|
export declare function useRtl(elementRef: React_2.RefObject<HTMLElement | null>, initialDir?: string, args?: any): string | undefined;
|
|
1845
1990
|
|
|
1991
|
+
/**
|
|
1992
|
+
* @hidden
|
|
1993
|
+
*/
|
|
1994
|
+
export declare const useUnstyled: () => AllClassStructure | undefined;
|
|
1995
|
+
|
|
1846
1996
|
/**
|
|
1847
1997
|
* Returns a function, which gets the `defaultView` based on the `ownerDocument` of the element.
|
|
1848
1998
|
*/
|
|
@@ -1853,6 +2003,11 @@ export declare const useWindow: (ref: React_2.RefObject<HTMLElement | null | {
|
|
|
1853
2003
|
/** @hidden */
|
|
1854
2004
|
export declare const useZIndexContext: () => ZIndexContextType;
|
|
1855
2005
|
|
|
2006
|
+
/**
|
|
2007
|
+
* @hidden
|
|
2008
|
+
*/
|
|
2009
|
+
export declare const uSvgIcon: WidgetClassStructure;
|
|
2010
|
+
|
|
1856
2011
|
/**
|
|
1857
2012
|
* @hidden
|
|
1858
2013
|
*/
|
|
@@ -1864,12 +2019,26 @@ export declare const validatePackage: typeof validatePackage_2;
|
|
|
1864
2019
|
*/
|
|
1865
2020
|
export declare const WatermarkOverlay: () => JSX_2.Element;
|
|
1866
2021
|
|
|
2022
|
+
/**
|
|
2023
|
+
* @hidden
|
|
2024
|
+
*/
|
|
2025
|
+
export declare interface WidgetClassStructure {
|
|
2026
|
+
[key: string]: ((props: {
|
|
2027
|
+
[key: string]: any;
|
|
2028
|
+
}) => {
|
|
2029
|
+
[key: string]: boolean;
|
|
2030
|
+
} | string);
|
|
2031
|
+
}
|
|
2032
|
+
|
|
1867
2033
|
/** @hidden */
|
|
1868
2034
|
export declare const withIdHOC: <P extends object>(Component: React_2.ComponentType<P>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
1869
2035
|
|
|
1870
2036
|
/** @hidden */
|
|
1871
2037
|
export declare const withPropsContext: <T extends unknown>(context: React_2.Context<(p: T) => T>, Component: React_2.ComponentType<T>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<T> & React_2.RefAttributes<any>>;
|
|
1872
2038
|
|
|
2039
|
+
/** @hidden */
|
|
2040
|
+
export declare const withUnstyledHOC: <P extends object>(Component: React_2.ComponentType<P>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
2041
|
+
|
|
1873
2042
|
/**
|
|
1874
2043
|
* @hidden
|
|
1875
2044
|
*/
|
package/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
9
9
|
import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import * as React_2 from 'react';
|
|
12
|
+
import { default as React_3 } from 'react';
|
|
12
13
|
import { validatePackage as validatePackage_2 } from '@progress/kendo-licensing';
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -16,6 +17,26 @@ import { validatePackage as validatePackage_2 } from '@progress/kendo-licensing'
|
|
|
16
17
|
*/
|
|
17
18
|
export declare function addItem(item: any, operation: 'before' | 'after' | 'child', childrenField: string, targetItemId: string, items: any[]): any[];
|
|
18
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare interface AllClassStructure extends AnimationsClassStructure, IconsClassStructure, ButtonsClassStructure, PopupClassStructure, GridClassStructure, MaskedTextBoxClassStructure, RadioButtonClassStructure, RadioGroupClassStructure {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare interface AnimationsClassStructure {
|
|
30
|
+
uAnimation?: WidgetClassStructure;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export declare const animationStyles: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
19
40
|
/**
|
|
20
41
|
* @hidden
|
|
21
42
|
*/
|
|
@@ -205,6 +226,14 @@ export declare class BrowserSupportService {
|
|
|
205
226
|
get scrollbarWidth(): number;
|
|
206
227
|
}
|
|
207
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @hidden
|
|
231
|
+
*/
|
|
232
|
+
export declare interface ButtonsClassStructure {
|
|
233
|
+
uButton?: WidgetClassStructure;
|
|
234
|
+
uDropDownButton?: WidgetClassStructure;
|
|
235
|
+
}
|
|
236
|
+
|
|
208
237
|
/**
|
|
209
238
|
* @hidden
|
|
210
239
|
*/
|
|
@@ -847,6 +876,13 @@ export declare const getTabIndex: (tabIndex?: number | string, disabled?: boolea
|
|
|
847
876
|
*/
|
|
848
877
|
export declare function getter(field: string): (values: any) => any;
|
|
849
878
|
|
|
879
|
+
/**
|
|
880
|
+
* @hidden
|
|
881
|
+
*/
|
|
882
|
+
export declare interface GridClassStructure {
|
|
883
|
+
uGrid?: WidgetClassStructure;
|
|
884
|
+
}
|
|
885
|
+
|
|
850
886
|
/**
|
|
851
887
|
* @hidden
|
|
852
888
|
*/
|
|
@@ -907,6 +943,13 @@ export declare interface IconProps extends BaseIconProps, KendoMouse<IconHandle,
|
|
|
907
943
|
name?: string;
|
|
908
944
|
}
|
|
909
945
|
|
|
946
|
+
/**
|
|
947
|
+
* @hidden
|
|
948
|
+
*/
|
|
949
|
+
export declare interface IconsClassStructure {
|
|
950
|
+
uSvgIcon?: WidgetClassStructure;
|
|
951
|
+
}
|
|
952
|
+
|
|
910
953
|
/**
|
|
911
954
|
* Represents a React Context which provides you with the option to configure the KendoReact components icons.
|
|
912
955
|
*/
|
|
@@ -1001,6 +1044,11 @@ export declare function isItemExpandedAndWithChildren(item: any, fieldsSvc: Tree
|
|
|
1001
1044
|
*/
|
|
1002
1045
|
declare function isItemFirstFromSiblings(itemId: string): boolean;
|
|
1003
1046
|
|
|
1047
|
+
/**
|
|
1048
|
+
* @hidden
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const jsonTheme: KendoTheme;
|
|
1051
|
+
|
|
1004
1052
|
/**
|
|
1005
1053
|
* @hidden
|
|
1006
1054
|
*/
|
|
@@ -1071,6 +1119,30 @@ export declare interface KendoReactComponentBaseProps {
|
|
|
1071
1119
|
style?: React.CSSProperties;
|
|
1072
1120
|
}
|
|
1073
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* @hidden
|
|
1124
|
+
*/
|
|
1125
|
+
declare interface KendoTheme {
|
|
1126
|
+
base: Record<Exclude<any, null>, string>;
|
|
1127
|
+
animation: Record<Exclude<any, null>, string>;
|
|
1128
|
+
containers: Record<Exclude<any, null>, string>;
|
|
1129
|
+
elements: Record<Exclude<any, null>, string>;
|
|
1130
|
+
sizeMap: Record<Exclude<any, null>, string>;
|
|
1131
|
+
directionMap: Record<Exclude<any, null>, string>;
|
|
1132
|
+
fillModeMap: Record<Exclude<any, null>, string>;
|
|
1133
|
+
themeColorMap: Record<Exclude<any, null>, string>;
|
|
1134
|
+
roundedMap: Record<Exclude<any, null>, string>;
|
|
1135
|
+
cursor: Record<Exclude<any, null>, string>;
|
|
1136
|
+
dimensions: Record<Exclude<any, null>, string>;
|
|
1137
|
+
states: Record<Exclude<any, null>, string>;
|
|
1138
|
+
button: Record<Exclude<any, null>, string>;
|
|
1139
|
+
input: Record<Exclude<any, null>, string>;
|
|
1140
|
+
popup: Record<Exclude<any, null>, string>;
|
|
1141
|
+
ddb: Record<Exclude<any, null>, string>;
|
|
1142
|
+
icon: Record<Exclude<any, null>, string>;
|
|
1143
|
+
grid: Record<Exclude<any, null>, string>;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1074
1146
|
/** @hidden */
|
|
1075
1147
|
export declare interface KendoThemeMaps {
|
|
1076
1148
|
sizeMap: Record<Exclude<any, null>, String>;
|
|
@@ -1193,6 +1265,13 @@ export declare const mapTreeItem: (tree: any[], level: number[], subItemsField:
|
|
|
1193
1265
|
*/
|
|
1194
1266
|
export declare type MarginEnum = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'thin' | 'hair' | number;
|
|
1195
1267
|
|
|
1268
|
+
/**
|
|
1269
|
+
* @hidden
|
|
1270
|
+
*/
|
|
1271
|
+
export declare interface MaskedTextBoxClassStructure {
|
|
1272
|
+
uMaskedTextBox?: WidgetClassStructure;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1196
1275
|
declare type MemoizedFn<TFunc extends (this: any, ...args: any[]) => any> = {
|
|
1197
1276
|
clear: () => void;
|
|
1198
1277
|
(this: ThisParameterType<TFunc>, ...args: Parameters<TFunc>): ReturnType<TFunc>;
|
|
@@ -1371,6 +1450,27 @@ export declare const noop: () => void;
|
|
|
1371
1450
|
|
|
1372
1451
|
export { NormalizedDragEvent }
|
|
1373
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* @hidden
|
|
1455
|
+
*/
|
|
1456
|
+
export declare interface PopupClassStructure {
|
|
1457
|
+
uPopup?: WidgetClassStructure;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @hidden
|
|
1462
|
+
*/
|
|
1463
|
+
export declare interface RadioButtonClassStructure {
|
|
1464
|
+
uRadioButton?: WidgetClassStructure;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @hidden
|
|
1469
|
+
*/
|
|
1470
|
+
export declare interface RadioGroupClassStructure {
|
|
1471
|
+
uRadioGroup?: WidgetClassStructure;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1374
1474
|
/**
|
|
1375
1475
|
* @hidden
|
|
1376
1476
|
*/
|
|
@@ -1739,11 +1839,56 @@ export declare interface TypographyProps extends KendoReactComponentBaseProps {
|
|
|
1739
1839
|
[customProp: string]: any;
|
|
1740
1840
|
}
|
|
1741
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
* @hidden
|
|
1844
|
+
*/
|
|
1845
|
+
export declare const uAnimation: WidgetClassStructure;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* @hidden
|
|
1849
|
+
*/
|
|
1850
|
+
export declare const uButton: WidgetClassStructure;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* @hidden
|
|
1854
|
+
*/
|
|
1855
|
+
export declare const uDropDownButton: WidgetClassStructure;
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* @hidden
|
|
1859
|
+
*/
|
|
1860
|
+
export declare const uGrid: WidgetClassStructure;
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* @hidden
|
|
1864
|
+
*/
|
|
1865
|
+
export declare const uMaskedTextBox: WidgetClassStructure;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* @hidden
|
|
1869
|
+
*/
|
|
1870
|
+
export declare const UnstyledContext: React_3.Context<any>;
|
|
1871
|
+
|
|
1742
1872
|
/**
|
|
1743
1873
|
* @hidden
|
|
1744
1874
|
*/
|
|
1745
1875
|
export declare function updateItem(items: any[], itemId: string, update: (item: any) => void, cloneField: string, childrenField: string): any[];
|
|
1746
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* @hidden
|
|
1879
|
+
*/
|
|
1880
|
+
export declare const uPopup: WidgetClassStructure;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* @hidden
|
|
1884
|
+
*/
|
|
1885
|
+
export declare const uRadioButton: WidgetClassStructure;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @hidden
|
|
1889
|
+
*/
|
|
1890
|
+
export declare const uRadioGroup: WidgetClassStructure;
|
|
1891
|
+
|
|
1747
1892
|
/**
|
|
1748
1893
|
* An utility function for asynchronous focus/blur handling.
|
|
1749
1894
|
*
|
|
@@ -1843,6 +1988,11 @@ export declare const usePropsContext: <T extends unknown>(context: React_2.Conte
|
|
|
1843
1988
|
*/
|
|
1844
1989
|
export declare function useRtl(elementRef: React_2.RefObject<HTMLElement | null>, initialDir?: string, args?: any): string | undefined;
|
|
1845
1990
|
|
|
1991
|
+
/**
|
|
1992
|
+
* @hidden
|
|
1993
|
+
*/
|
|
1994
|
+
export declare const useUnstyled: () => AllClassStructure | undefined;
|
|
1995
|
+
|
|
1846
1996
|
/**
|
|
1847
1997
|
* Returns a function, which gets the `defaultView` based on the `ownerDocument` of the element.
|
|
1848
1998
|
*/
|
|
@@ -1853,6 +2003,11 @@ export declare const useWindow: (ref: React_2.RefObject<HTMLElement | null | {
|
|
|
1853
2003
|
/** @hidden */
|
|
1854
2004
|
export declare const useZIndexContext: () => ZIndexContextType;
|
|
1855
2005
|
|
|
2006
|
+
/**
|
|
2007
|
+
* @hidden
|
|
2008
|
+
*/
|
|
2009
|
+
export declare const uSvgIcon: WidgetClassStructure;
|
|
2010
|
+
|
|
1856
2011
|
/**
|
|
1857
2012
|
* @hidden
|
|
1858
2013
|
*/
|
|
@@ -1864,12 +2019,26 @@ export declare const validatePackage: typeof validatePackage_2;
|
|
|
1864
2019
|
*/
|
|
1865
2020
|
export declare const WatermarkOverlay: () => JSX_2.Element;
|
|
1866
2021
|
|
|
2022
|
+
/**
|
|
2023
|
+
* @hidden
|
|
2024
|
+
*/
|
|
2025
|
+
export declare interface WidgetClassStructure {
|
|
2026
|
+
[key: string]: ((props: {
|
|
2027
|
+
[key: string]: any;
|
|
2028
|
+
}) => {
|
|
2029
|
+
[key: string]: boolean;
|
|
2030
|
+
} | string);
|
|
2031
|
+
}
|
|
2032
|
+
|
|
1867
2033
|
/** @hidden */
|
|
1868
2034
|
export declare const withIdHOC: <P extends object>(Component: React_2.ComponentType<P>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
1869
2035
|
|
|
1870
2036
|
/** @hidden */
|
|
1871
2037
|
export declare const withPropsContext: <T extends unknown>(context: React_2.Context<(p: T) => T>, Component: React_2.ComponentType<T>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<T> & React_2.RefAttributes<any>>;
|
|
1872
2038
|
|
|
2039
|
+
/** @hidden */
|
|
2040
|
+
export declare const withUnstyledHOC: <P extends object>(Component: React_2.ComponentType<P>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
2041
|
+
|
|
1873
2042
|
/**
|
|
1874
2043
|
* @hidden
|
|
1875
2044
|
*/
|
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./tree-utils/itemIdUtils.js"),u=require("./contexts/ZIndexContext.js"),E=require("./browser-support.service.js"),b=require("./canUseDOM.js"),v=require("./canUseRef.js"),S=require("./classNames.js"),r=require("./clone.js"),t=require("./trappedFocus.js"),A=require("./FormComponent.js"),D=require("./getTabIndex.js"),y=require("./getter.js"),x=require("./guid.js"),a=require("./keys.js"),T=require("./noop.js"),c=require("./scrollbarWidth.js"),F=require("./setter.js"),o=require("./constants/main.js"),s=require("./treeDataOperations.js"),l=require("./validate-package.js"),B=require("./hasRelativeStackingContext.js"),O=require("./watermark/WatermarkOverlay.js"),P=require("./events/dispatchEvent.js"),L=require("./hocs/AsyncFocusBlur.js"),d=require("./hocs/withPropsContext.js"),N=require("./hocs/use-id-hoc.js"),U=require("./hocs/use-unstyled-hoc.js"),w=require("./hooks/useDir.js"),f=require("./hooks/useAsyncFocusBlur.js"),k=require("./hooks/useRtl.js"),M=require("./hooks/useMouse.js"),R=require("./hooks/useCustomComponent.js"),W=require("./hooks/usePropsContext.js"),p=require("./hooks/useCollection.js"),_=require("./hooks/useDocument.js"),H=require("./hooks/useWindow.js"),G=require("./hooks/use-id.js"),V=require("./hooks/use-isomorphic-layout-effect.js"),j=require("./icons/Icon.js"),Z=require("./icons/SvgIcon.js"),K=require("./icons/IconWrap.js"),z=require("./icons/IconsContext.js"),n=require("./icons/utils.js"),X=require("./typography/Typography.js"),Y=require("./drag-n-drop/index.js"),$=require("./Draggable.js"),J=require("./Droppable.js"),Q=require("./hooks/useDraggable.js"),ee=require("./hooks/useDroppable.js"),te=require("./theme.js"),re=require("./memoize.js"),oe=require("./navigation.js"),I=require("./getActiveElement.js"),se=require("./tree-utils/FieldsService.js"),ne=require("./tree-utils/SortedPublicItemIds.js"),e=require("./tree-utils/itemUtils.js"),m=require("./tree-utils/misc.js"),ie=require("./rowHeightService.js"),C=require("./unstyled/main.js"),g=require("./unstyled/buttons.js"),i=require("./unstyled/inputs.js"),q=require("./unstyled/json-classes.js"),ue=require("./unstyled/animations.js"),ae=require("./unstyled/icons.js"),ce=require("./unstyled/popup.js"),le=require("./unstyled/grid.js");exports.treeIdUtils=h;exports.ZIndexContext=u.ZIndexContext;exports.useZIndexContext=u.useZIndexContext;exports.BrowserSupportService=E.BrowserSupportService;exports.canUseDOM=b.canUseDOM;exports.canUseRef=v.canUseRef;exports.classNames=S.classNames;exports.clone=r.clone;exports.cloneArray=r.cloneArray;exports.cloneDate=r.cloneDate;exports.cloneObject=r.cloneObject;exports.cloneValue=r.cloneValue;exports.applyTrappedFocus=t.applyTrappedFocus;exports.disableNavigatableContainer=t.disableNavigatableContainer;exports.enableNavigatableContainer=t.enableNavigatableContainer;exports.firstFocusableChild=t.firstFocusableChild;exports.focusFirstFocusableChild=t.focusFirstFocusableChild;exports.focusLastFocusableChild=t.focusLastFocusableChild;exports.focusableChildren=t.focusableChildren;exports.keepFocusInContainer=t.keepFocusInContainer;exports.lastFocusableChild=t.lastFocusableChild;exports.FormComponent=A.FormComponent;exports.getTabIndex=D.getTabIndex;exports.getter=y.getter;exports.guid=x.guid;exports.KEYS=a.KEYS;exports.Keys=a.Keys;exports.noop=T.noop;exports.getScrollbarWidth=c.getScrollbarWidth;exports.setScrollbarWidth=c.setScrollbarWidth;exports.setter=F.setter;exports.FIELD_REGEX=o.FIELD_REGEX;exports.FOCUSABLE_ELEMENTS=o.FOCUSABLE_ELEMENTS;exports.FOCUSABLE_ELEMENTS_BASE=o.FOCUSABLE_ELEMENTS_BASE;exports.TABBABLE_ELEMENTS=o.TABBABLE_ELEMENTS;exports.extendDataItem=s.extendDataItem;exports.getItemPath=s.getItemPath;exports.mapTree=s.mapTree;exports.mapTreeItem=s.mapTreeItem;exports.shouldShowValidationUI=l.shouldShowValidationUI;exports.validatePackage=l.validatePackage;exports.hasRelativeStackingContext=B.hasRelativeStackingContext;exports.WatermarkOverlay=O.WatermarkOverlay;exports.dispatchEvent=P.dispatchEvent;exports.AsyncFocusBlur=L.AsyncFocusBlur;exports.createPropsContext=d.createPropsContext;exports.withPropsContext=d.withPropsContext;exports.withIdHOC=N.withIdHOC;exports.withUnstyledHOC=U.withUnstyledHOC;exports.useDir=w.useDir;exports.useAsyncFocusBlur=f.useAsyncFocusBlur;exports.useRtl=k.useRtl;exports.useMouse=M.useMouse;exports.useCustomComponent=R.useCustomComponent;exports.usePropsContext=W.usePropsContext;exports.COLLECTION_ACTION=p.COLLECTION_ACTION;exports.useCollection=p.useCollection;exports.useDocument=_.useDocument;exports.useWindow=H.useWindow;exports.useId=G.useId;exports.useIsomorphicLayoutEffect=V.useIsomorphicLayoutEffect;exports.Icon=j.Icon;exports.SvgIcon=Z.SvgIcon;exports.IconWrap=K.IconWrap;exports.IconsContext=z.IconsContext;exports.svgIconPropType=n.svgIconPropType;exports.toIconClass=n.toIconClass;exports.toIconName=n.toIconName;exports.Typography=X.Typography;exports.DragAndDrop=Y.DragAndDrop;exports.Draggable=$.Draggable;exports.Droppable=J.Droppable;exports.useDraggable=Q.useDraggable;exports.useDroppable=ee.useDroppable;exports.kendoThemeMaps=te.kendoThemeMaps;exports.memoizeOne=re.memoizeOne;exports.Navigation=oe.Navigation;exports.getActiveElement=I.getActiveElement;exports.getInnerActiveElement=I.getInnerActiveElement;exports.TreeFieldsService=se.TreeFieldsService;exports.SortedPublicItemIds=ne.SortedPublicItemIds;exports.addItem=e.addItem;exports.areAllDirectChildrenChecked=e.areAllDirectChildrenChecked;exports.getAllDirectIndirectChildrenIds=e.getAllDirectIndirectChildrenIds;exports.getAllParents=e.getAllParents;exports.hasChildren=e.hasChildren;exports.isEnabledAndAllParentsEnabled=e.isEnabledAndAllParentsEnabled;exports.isItemExpandedAndWithChildren=e.isItemExpandedAndWithChildren;exports.removeItem=e.removeItem;exports.resolveItemId=e.resolveItemId;exports.resolveItemsIds=e.resolveItemsIds;exports.updateItem=e.updateItem;exports.getNestedValue=m.getNestedValue;exports.isArray=m.isArray;exports.RowHeightService=ie.RowHeightService;exports.UnstyledContext=C.UnstyledContext;exports.useUnstyled=C.useUnstyled;exports.uButton=g.uButton;exports.uDropDownButton=g.uDropDownButton;exports.uMaskedTextBox=i.uMaskedTextBox;exports.uRadioButton=i.uRadioButton;exports.uRadioGroup=i.uRadioGroup;exports.animationStyles=q.animation;exports.jsonTheme=q.theme;exports.uAnimation=ue.uAnimation;exports.uSvgIcon=ae.uSvgIcon;exports.uPopup=ce.uPopup;exports.uGrid=le.uGrid;
|