@progress/kendo-react-common 13.3.0 → 13.4.0-develop.1
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/Draggable.d.ts +93 -0
- package/Droppable.d.ts +84 -0
- package/FormComponent.d.ts +218 -0
- package/apply-default-props.d.ts +13 -0
- package/browser-support.service.d.ts +14 -0
- package/canUseDOM.d.ts +11 -0
- package/canUseRef.d.ts +12 -0
- package/classNames.d.ts +15 -0
- package/clone.d.ts +27 -0
- package/constants/main.d.ts +27 -0
- package/contexts/AdaptiveModeContext.d.ts +50 -0
- package/contexts/AdaptiveModeContext.mjs +2 -2
- package/contexts/ZIndexContext.d.ts +14 -0
- package/deep-merge.d.ts +13 -0
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/drag-n-drop/context/index.d.ts +24 -0
- package/drag-n-drop/index.d.ts +33 -0
- package/events/BaseEvent.d.ts +25 -0
- package/events/dispatchEvent.d.ts +21 -0
- package/fieldList.d.ts +11 -0
- package/fileExtensionIcon.d.ts +12 -0
- package/getActiveElement.d.ts +15 -0
- package/getTabIndex.d.ts +11 -0
- package/getter.d.ts +21 -0
- package/guid.d.ts +11 -0
- package/hasRelativeStackingContext.d.ts +9 -0
- package/hocs/AsyncFocusBlur.d.ts +20 -0
- package/hocs/use-adaptive-mode-hoc.d.ts +10 -0
- package/hocs/use-id-hoc.d.ts +10 -0
- package/hocs/use-unstyled-hoc.d.ts +10 -0
- package/hocs/withPropsContext.d.ts +12 -0
- package/hocs/withzIndexContext.d.ts +10 -0
- package/hooks/index.d.ts +19 -0
- package/hooks/use-id.d.ts +9 -0
- package/hooks/use-immediate-inherit-state.d.ts +13 -0
- package/hooks/use-isomorphic-layout-effect.d.ts +10 -0
- package/hooks/useAsyncFocusBlur.d.ts +32 -0
- package/hooks/useCollection.d.ts +21 -0
- package/hooks/useControlledState.d.ts +11 -0
- package/hooks/useCustomComponent.d.ts +16 -0
- package/hooks/useDir.d.ts +12 -0
- package/hooks/useDocument.d.ts +14 -0
- package/hooks/useDraggable.d.ts +75 -0
- package/hooks/useDroppable.d.ts +46 -0
- package/hooks/useInheritedState.d.ts +23 -0
- package/hooks/useMouse.d.ts +27 -0
- package/hooks/usePointer.d.ts +28 -0
- package/hooks/usePropsContext.d.ts +10 -0
- package/hooks/useRtl.d.ts +12 -0
- package/hooks/useTouch.d.ts +22 -0
- package/hooks/useWindow.d.ts +14 -0
- package/icons/BaseIconProps.d.ts +79 -0
- package/icons/Icon.d.ts +41 -0
- package/icons/IconWrap.d.ts +14 -0
- package/icons/IconsContext.d.ts +28 -0
- package/icons/SvgIcon.d.ts +77 -0
- package/icons/constants.d.ts +20 -0
- package/icons/models/flip.d.ts +18 -0
- package/icons/models/size.d.ts +22 -0
- package/icons/models/theme-color.d.ts +28 -0
- package/icons/utils.d.ts +24 -0
- package/index.d.mts +74 -4288
- package/index.d.ts +74 -4288
- package/keys.d.ts +47 -0
- package/memoize.d.ts +17 -0
- package/models/auto-scroll-options.d.ts +29 -0
- package/models/index.d.ts +12 -0
- package/models/kendoReactComponentBaseProps.d.ts +30 -0
- package/models/mouse.d.ts +56 -0
- package/models/pointer.d.ts +30 -0
- package/models/touch.d.ts +24 -0
- package/navigation.d.ts +166 -0
- package/noop.d.ts +11 -0
- package/package.json +1 -1
- package/rowHeightService.d.ts +31 -0
- package/scrollbarWidth.d.ts +15 -0
- package/setter.d.ts +23 -0
- package/theme.d.ts +15 -0
- package/trappedFocus.d.ts +44 -0
- package/tree-utils/FieldsService.d.ts +32 -0
- package/tree-utils/SortedPublicItemIds.d.ts +15 -0
- package/tree-utils/itemIdUtils.d.ts +67 -0
- package/tree-utils/itemIdUtils.mjs +51 -51
- package/tree-utils/itemUtils.d.ts +52 -0
- package/tree-utils/misc.d.ts +15 -0
- package/treeDataOperations.d.ts +46 -0
- package/typography/Typography.d.ts +41 -0
- package/typography/TypographyProps.d.ts +127 -0
- package/typography/constants.d.ts +91 -0
- package/typography/models/margin.d.ts +30 -0
- package/unstyled/animations.d.ts +96 -0
- package/unstyled/buttons.d.ts +186 -0
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +104 -194
- package/unstyled/dateinputs.d.ts +397 -0
- package/unstyled/dateinputs.mjs +19 -19
- package/unstyled/dropdowns.d.ts +314 -0
- package/unstyled/dropdowns.mjs +1 -1
- package/unstyled/form.d.ts +71 -0
- package/unstyled/form.mjs +1 -1
- package/unstyled/grid.d.ts +12 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +51 -50
- package/unstyled/icons.d.ts +89 -0
- package/unstyled/icons.mjs +1 -1
- package/unstyled/inputs.d.ts +213 -0
- package/unstyled/inputs.mjs +14 -14
- package/unstyled/interfaces/common.d.ts +138 -0
- package/unstyled/json-classes.d.ts +378 -0
- package/unstyled/labels.d.ts +99 -0
- package/unstyled/main.d.ts +34 -0
- package/unstyled/popup.d.ts +123 -0
- package/unstyled/popup.mjs +3 -3
- package/validate-package.d.ts +38 -0
- package/watermark/WatermarkOverlay.d.ts +21 -0
package/index.d.ts
CHANGED
|
@@ -5,4291 +5,77 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
|
|
51
|
-
export
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*
|
|
55
|
-
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
*
|
|
73
|
-
|
|
74
|
-
export
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
export
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/** Configuration for the child element */
|
|
83
|
-
export declare interface AnimationChildClasses {
|
|
84
|
-
/** Container for child element */
|
|
85
|
-
container?: string;
|
|
86
|
-
/** Relative positioning for child container */
|
|
87
|
-
relative?: string;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/** Configuration for the child element */
|
|
91
|
-
export declare interface AnimationChildContainerClasses {
|
|
92
|
-
/** Container for childContainer element */
|
|
93
|
-
container?: string;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** Animation Classes */
|
|
97
|
-
export declare interface AnimationClasses {
|
|
98
|
-
/** Configuration for the child element */
|
|
99
|
-
child?: AnimationChildClasses;
|
|
100
|
-
/** Configuration for the childContainer element */
|
|
101
|
-
childContainer?: AnimationChildContainerClasses;
|
|
102
|
-
/** Animation states for appear transition */
|
|
103
|
-
appear?: Appear;
|
|
104
|
-
/** Active states for appear transition */
|
|
105
|
-
appearActive?: AppearActive;
|
|
106
|
-
/** Animation states for enter transition */
|
|
107
|
-
enter?: Enter;
|
|
108
|
-
/** Active states for enter transition */
|
|
109
|
-
enterActive?: EnterActive;
|
|
110
|
-
/** Animation states for exit transition */
|
|
111
|
-
exit?: Exit;
|
|
112
|
-
/** Active states for exit transition */
|
|
113
|
-
exitActive?: ExitActive;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Animation classes
|
|
118
|
-
*/
|
|
119
|
-
export declare interface AnimationsClassStructure {
|
|
120
|
-
/** Animation styles and transition configuration */
|
|
121
|
-
uAnimation?: AnimationClasses;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/** Animation states */
|
|
125
|
-
export declare interface AnimationStatesClasses {
|
|
126
|
-
/** Animation for 'push-right' transition */
|
|
127
|
-
'push-right'?: string;
|
|
128
|
-
/** Animation for 'push-left' transition */
|
|
129
|
-
'push-left'?: string;
|
|
130
|
-
/** Animation for 'push-down' transition */
|
|
131
|
-
'push-down'?: string;
|
|
132
|
-
/** Animation for 'push-up' transition */
|
|
133
|
-
'push-up'?: string;
|
|
134
|
-
/** Animation for 'expand-vertical' transition */
|
|
135
|
-
'expand-vertical'?: string;
|
|
136
|
-
/** Animation for 'expand-horizontal' transition */
|
|
137
|
-
'expand-horizontal'?: string;
|
|
138
|
-
/** Animation for 'fade' transition */
|
|
139
|
-
fade?: string;
|
|
140
|
-
/** Animation for 'zoom-in' transition */
|
|
141
|
-
'zoom-in'?: string;
|
|
142
|
-
/** Animation for 'zoom-out' transition */
|
|
143
|
-
'zoom-out'?: string;
|
|
144
|
-
/** Animation for 'slide-in' transition */
|
|
145
|
-
'slide-in'?: string;
|
|
146
|
-
/** Animation for 'slide-down' transition */
|
|
147
|
-
'slide-down'?: string;
|
|
148
|
-
/** Animation for 'slide-up' transition */
|
|
149
|
-
'slide-up'?: string;
|
|
150
|
-
/** Animation for 'slide-right' transition */
|
|
151
|
-
'slide-right'?: string;
|
|
152
|
-
/** Animation for 'slide-left' transition */
|
|
153
|
-
'slide-left'?: string;
|
|
154
|
-
/** Animation for 'reveal-vertical' transition */
|
|
155
|
-
'reveal-vertical'?: string;
|
|
156
|
-
/** Animation for 'reveal-horizontal' transition */
|
|
157
|
-
'reveal-horizontal'?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @hidden
|
|
162
|
-
*/
|
|
163
|
-
export declare const animationStyles: {
|
|
164
|
-
[key: string]: string;
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
/** Animation states for appear transition */
|
|
168
|
-
export declare interface Appear extends AnimationStatesClasses {
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/** Active states for appear transition */
|
|
172
|
-
export declare interface AppearActive extends AnimationStatesClasses {
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @hidden
|
|
177
|
-
*/
|
|
178
|
-
export declare const applyDefaultProps: <PropsType>(props: PropsType, defaultProps: {
|
|
179
|
-
[key: string]: any;
|
|
180
|
-
}) => PropsType;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @hidden
|
|
184
|
-
*/
|
|
185
|
-
export declare const applyTrappedFocus: (e: React.KeyboardEvent, containerElement: HTMLElement, updateFocusedState?: ((isContainerFocused: boolean) => void) | undefined, elementsSelectors?: string[]) => void;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @hidden
|
|
189
|
-
*/
|
|
190
|
-
export declare function areAllDirectChildrenChecked(item: any, itemId: any, idField: string | undefined, childrenField: string, check: string[]): boolean;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* An utility High-order Component for asynchronous focus/blur handling.
|
|
194
|
-
*
|
|
195
|
-
* By default, the `onFocus` and `onBlur` callbacks are called every time a child components receives/loses focus.
|
|
196
|
-
* Use this utility HOC for scenarios where you need to know if the parent has received focus for the first time, or completely lost focus.
|
|
197
|
-
*
|
|
198
|
-
* @returns
|
|
199
|
-
*/
|
|
200
|
-
export declare const AsyncFocusBlur: ({ children, onFocus, onBlur, onSyncFocus, onSyncBlur }: AsyncFocusBlurArgs<any> & {
|
|
201
|
-
children: (args: AsyncFocusBlurArgs<any>) => React_2.ReactNode;
|
|
202
|
-
}) => JSX.Element;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* @hidden
|
|
206
|
-
*/
|
|
207
|
-
export declare type AsyncFocusBlurArgs<T extends any[]> = {
|
|
208
|
-
onFocus?: (...event: T) => void;
|
|
209
|
-
onBlur?: (...event: T) => void;
|
|
210
|
-
/**
|
|
211
|
-
* @hidden
|
|
212
|
-
*/
|
|
213
|
-
onSyncFocus?: (event: React_2.FocusEvent<any>) => void;
|
|
214
|
-
/**
|
|
215
|
-
* @hidden
|
|
216
|
-
*/
|
|
217
|
-
onSyncBlur?: (event: React_2.FocusEvent<any>) => void;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Represents additional configuration options for the `autoScroll` options of the `useDraggable` hook and `Draggable` component.
|
|
222
|
-
*/
|
|
223
|
-
export declare interface AutoScrollOptions {
|
|
224
|
-
/**
|
|
225
|
-
* Set to `false` to disable the `autoScroll` feature.
|
|
226
|
-
*/
|
|
227
|
-
enabled?: boolean;
|
|
228
|
-
/**
|
|
229
|
-
* Allows the user to toggle `autoScroll` in a specific direction.
|
|
230
|
-
*/
|
|
231
|
-
direction?: {
|
|
232
|
-
horizontal: boolean;
|
|
233
|
-
vertical: boolean;
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* Overrides the calculated element used for boundary detection, used to calculate the `autoScroll` velocity.
|
|
237
|
-
*/
|
|
238
|
-
boundaryElementRef?: React.RefObject<HTMLElement | null | {
|
|
239
|
-
element: HTMLElement | null;
|
|
240
|
-
}> | null;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* @hidden
|
|
245
|
-
*/
|
|
246
|
-
export declare const base: {
|
|
247
|
-
prefix: string;
|
|
248
|
-
important: string;
|
|
249
|
-
rtl: string;
|
|
250
|
-
rounded: string;
|
|
251
|
-
value: string;
|
|
252
|
-
state: string;
|
|
253
|
-
filter: string;
|
|
254
|
-
virtual: string;
|
|
255
|
-
infinite: string;
|
|
256
|
-
clear: string;
|
|
257
|
-
reset: string;
|
|
258
|
-
data: string;
|
|
259
|
-
nodata: string;
|
|
260
|
-
scroller: string;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Contains directional animation settings for slide, push, and expand animations.
|
|
265
|
-
* Each direction (up, down, left, right) maps to PopupAnimationClasses.
|
|
266
|
-
*/
|
|
267
|
-
export declare interface BaseClasses {
|
|
268
|
-
/** Animation settings for sliding up */
|
|
269
|
-
up?: PopupAnimationClasses;
|
|
270
|
-
/** Animation settings for sliding down */
|
|
271
|
-
down?: PopupAnimationClasses;
|
|
272
|
-
/** Animation settings for sliding left */
|
|
273
|
-
left?: PopupAnimationClasses;
|
|
274
|
-
/** Animation settings for sliding right */
|
|
275
|
-
right?: PopupAnimationClasses;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/** @hidden */
|
|
279
|
-
declare interface BaseDraggableEvent {
|
|
280
|
-
/**
|
|
281
|
-
* The DOM element.
|
|
282
|
-
*/
|
|
283
|
-
element: HTMLElement;
|
|
284
|
-
/**
|
|
285
|
-
* The target Draggable reference.
|
|
286
|
-
*/
|
|
287
|
-
target: DraggableHandle;
|
|
288
|
-
/**
|
|
289
|
-
* The normalized drag event.
|
|
290
|
-
*/
|
|
291
|
-
event: NormalizedDragEvent;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/** @hidden */
|
|
295
|
-
declare interface BaseDroppableEvent {
|
|
296
|
-
/**
|
|
297
|
-
* The DOM element.
|
|
298
|
-
*/
|
|
299
|
-
element: HTMLElement;
|
|
300
|
-
/**
|
|
301
|
-
* The target Draggable reference.
|
|
302
|
-
*/
|
|
303
|
-
target: DroppableHandle;
|
|
304
|
-
/**
|
|
305
|
-
* The normalized drag event.
|
|
306
|
-
*/
|
|
307
|
-
event: NormalizedDragEvent;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* @hidden
|
|
312
|
-
*/
|
|
313
|
-
export declare interface BaseEvent<T> {
|
|
314
|
-
/**
|
|
315
|
-
* A React Synthetic Event.
|
|
316
|
-
*/
|
|
317
|
-
syntheticEvent: React_2.SyntheticEvent<any>;
|
|
318
|
-
/**
|
|
319
|
-
* A native DOM event.
|
|
320
|
-
*/
|
|
321
|
-
nativeEvent: any;
|
|
322
|
-
/**
|
|
323
|
-
* An event target.
|
|
324
|
-
*/
|
|
325
|
-
target: T;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* @hidden
|
|
330
|
-
*/
|
|
331
|
-
declare interface BaseIconProps {
|
|
332
|
-
/**
|
|
333
|
-
* Sets the `tabIndex` of the icon element.
|
|
334
|
-
*/
|
|
335
|
-
tabIndex?: number;
|
|
336
|
-
/**
|
|
337
|
-
* Sets the `id` of the icon element.
|
|
338
|
-
*/
|
|
339
|
-
id?: string;
|
|
340
|
-
/**
|
|
341
|
-
* Sets additional CSS styles to the icon.
|
|
342
|
-
*/
|
|
343
|
-
style?: React.CSSProperties;
|
|
344
|
-
/**
|
|
345
|
-
* Specifies a list of CSS classes that will be added to the root DOM element.
|
|
346
|
-
*/
|
|
347
|
-
className?: string;
|
|
348
|
-
/**
|
|
349
|
-
* Specifies the theme color of the Icon.
|
|
350
|
-
*
|
|
351
|
-
* The possible values are:
|
|
352
|
-
* * `inherit` (Default)—Applies coloring based on the current color.
|
|
353
|
-
* * `primary` —Applies coloring based on primary theme color.
|
|
354
|
-
* * `secondary`—Applies coloring based on secondary theme color.
|
|
355
|
-
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
356
|
-
* * `info`—Applies coloring based on info theme color.
|
|
357
|
-
* * `success`— Applies coloring based on success theme color.
|
|
358
|
-
* * `warning`— Applies coloring based on warning theme color.
|
|
359
|
-
* * `error`— Applies coloring based on error theme color.
|
|
360
|
-
* * `dark`— Applies coloring based on dark theme color.
|
|
361
|
-
* * `light`— Applies coloring based on light theme color.
|
|
362
|
-
* * `inverse`— Applies coloring based on inverse theme color.
|
|
363
|
-
*
|
|
364
|
-
* If the property is not set, the icon inherits the color from its parent.
|
|
365
|
-
*
|
|
366
|
-
* You can use the `style` prop to apply custom color related properties to the icon.
|
|
367
|
-
*/
|
|
368
|
-
themeColor?: IconThemeColor;
|
|
369
|
-
/**
|
|
370
|
-
* Specifies the size of the icon.
|
|
371
|
-
*
|
|
372
|
-
* The possible values are:
|
|
373
|
-
* * `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
|
|
374
|
-
* * `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
|
|
375
|
-
* * `small`—Font-size: 14px; Width: 14px; Height: 14px.
|
|
376
|
-
* * `medium`—Font-size: 16px; Width: 16px; Height: 16px.
|
|
377
|
-
* * `large`—Font-size: 20px; Width: 20px; Height: 20px.
|
|
378
|
-
* * `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
|
|
379
|
-
* * `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
|
|
380
|
-
* * `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.
|
|
381
|
-
*
|
|
382
|
-
* You can use the `style` prop to apply custom font size to the icon.
|
|
383
|
-
*/
|
|
384
|
-
size?: IconSize;
|
|
385
|
-
/**
|
|
386
|
-
* Specifies the icon flip direction.
|
|
387
|
-
*
|
|
388
|
-
* The possible values are:
|
|
389
|
-
* * `default` (Default)—No flipping applied.
|
|
390
|
-
* * `horizontal`—Flips the icon in horizontal direction.
|
|
391
|
-
* * `vertical`—Flips the icon in vertical direction.
|
|
392
|
-
* * `both`—Flips the icon in both horizontal and vertical directions.
|
|
393
|
-
*
|
|
394
|
-
*/
|
|
395
|
-
flip?: IconFlip;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* @hidden
|
|
400
|
-
*/
|
|
401
|
-
export declare class BrowserSupportService {
|
|
402
|
-
private scrollbar;
|
|
403
|
-
get scrollbarWidth(): number;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/** Button classes */
|
|
407
|
-
export declare interface ButtonClasses {
|
|
408
|
-
/** Button wrapper */
|
|
409
|
-
wrapper?: ButtonWrapperClasses;
|
|
410
|
-
/** Text element */
|
|
411
|
-
text?: string;
|
|
412
|
-
/** Icon element */
|
|
413
|
-
icon?: string;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
export declare interface ButtonGroupClasses {
|
|
417
|
-
/** Wrapper configuration for the button group */
|
|
418
|
-
wrapper?: ButtonGroupWrapperClasses;
|
|
419
|
-
/** Position configuration for the button group */
|
|
420
|
-
position?: ButtonGroupPositionClasses;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export declare interface ButtonGroupPositionClasses {
|
|
424
|
-
/** Position for the button group at the start */
|
|
425
|
-
start?: string;
|
|
426
|
-
/** Position for the button group at the end */
|
|
427
|
-
end?: string;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export declare interface ButtonGroupWrapperClasses {
|
|
431
|
-
/** Main button group classes */
|
|
432
|
-
main?: string;
|
|
433
|
-
/** Stretched state classes for the button group */
|
|
434
|
-
stretched?: string;
|
|
435
|
-
/** Disabled state classes for the button group */
|
|
436
|
-
disabled?: string;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @hidden
|
|
441
|
-
*/
|
|
442
|
-
export declare const buttonPrefix: string;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Buttons classes
|
|
446
|
-
*/
|
|
447
|
-
export declare interface ButtonsClassStructure {
|
|
448
|
-
/** Button component styling configuration */
|
|
449
|
-
uButton?: ButtonClasses;
|
|
450
|
-
/** Button group styling configuration */
|
|
451
|
-
uButtonGroup?: ButtonGroupClasses;
|
|
452
|
-
/** Drop-down button styling configuration */
|
|
453
|
-
uDropDownButton?: DropDownButtonClasses;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/** Button wrapper classes */
|
|
457
|
-
export declare interface ButtonWrapperClasses {
|
|
458
|
-
/** Main button */
|
|
459
|
-
main?: string;
|
|
460
|
-
/** Size options for the button */
|
|
461
|
-
size?: {
|
|
462
|
-
/** Small size button */
|
|
463
|
-
small?: string;
|
|
464
|
-
/** Medium size button */
|
|
465
|
-
medium?: string;
|
|
466
|
-
/** Large size button */
|
|
467
|
-
large?: string;
|
|
468
|
-
};
|
|
469
|
-
/** Fill mode options for the button */
|
|
470
|
-
fillMode?: {
|
|
471
|
-
/** Solid fill mode for the button */
|
|
472
|
-
solid?: string;
|
|
473
|
-
/** Outline fill mode for the button */
|
|
474
|
-
outline?: string;
|
|
475
|
-
/** Flat fill mode for the button */
|
|
476
|
-
flat?: string;
|
|
477
|
-
/** Link fill mode for the button */
|
|
478
|
-
link?: string;
|
|
479
|
-
/** Clear fill mode for the button */
|
|
480
|
-
clear?: string;
|
|
481
|
-
};
|
|
482
|
-
/** Theme color options for the button */
|
|
483
|
-
themeColor?: {
|
|
484
|
-
/** Base theme color options */
|
|
485
|
-
base?: ThemeColorFillModeClasses;
|
|
486
|
-
/** Primary theme color options */
|
|
487
|
-
primary?: ThemeColorFillModeClasses;
|
|
488
|
-
/** Secondary theme color options */
|
|
489
|
-
secondary?: ThemeColorFillModeClasses;
|
|
490
|
-
/** Tertiary theme color options */
|
|
491
|
-
tertiary?: ThemeColorFillModeClasses;
|
|
492
|
-
/** Info theme color options */
|
|
493
|
-
info?: ThemeColorFillModeClasses;
|
|
494
|
-
/** Success theme color options */
|
|
495
|
-
success?: ThemeColorFillModeClasses;
|
|
496
|
-
/** Warning theme color options */
|
|
497
|
-
warning?: ThemeColorFillModeClasses;
|
|
498
|
-
/** Error theme color options */
|
|
499
|
-
error?: ThemeColorFillModeClasses;
|
|
500
|
-
/** Dark theme color options */
|
|
501
|
-
dark?: ThemeColorFillModeClasses;
|
|
502
|
-
/** Light theme color options */
|
|
503
|
-
light?: ThemeColorFillModeClasses;
|
|
504
|
-
/** Inverse theme color options */
|
|
505
|
-
inverse?: ThemeColorFillModeClasses;
|
|
506
|
-
};
|
|
507
|
-
/** Rounded options for the button */
|
|
508
|
-
rounded?: {
|
|
509
|
-
/** Small rounded option */
|
|
510
|
-
small?: string;
|
|
511
|
-
/** Medium rounded option */
|
|
512
|
-
medium?: string;
|
|
513
|
-
/** Large rounded option */
|
|
514
|
-
large?: string;
|
|
515
|
-
};
|
|
516
|
-
/** Icon button */
|
|
517
|
-
iconButton?: string;
|
|
518
|
-
/** Disabled state */
|
|
519
|
-
disabled?: string;
|
|
520
|
-
/** Selected state */
|
|
521
|
-
selected?: string;
|
|
522
|
-
/** Right-to-left layout */
|
|
523
|
-
isRtl?: string;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
export declare interface CalendarClasses {
|
|
527
|
-
/** Wrapper configuration for the calendar */
|
|
528
|
-
wrapper?: CalendarWrapperClasses;
|
|
529
|
-
/** View configuration for the calendar */
|
|
530
|
-
view?: CalendarViewClasses;
|
|
531
|
-
/** Navigation class for the calendar */
|
|
532
|
-
navigation?: string;
|
|
533
|
-
/** Navigation highlight class for the calendar */
|
|
534
|
-
navigationHighlight?: string;
|
|
535
|
-
/** Table configuration for the calendar */
|
|
536
|
-
table?: CalendarTableClasses;
|
|
537
|
-
/** Header class for the calendar */
|
|
538
|
-
thead?: string;
|
|
539
|
-
/** Row class for the calendar */
|
|
540
|
-
tr?: string;
|
|
541
|
-
/** Header cell class for the calendar */
|
|
542
|
-
th?: string;
|
|
543
|
-
/** Caption class for the calendar */
|
|
544
|
-
caption?: string;
|
|
545
|
-
/** Body class for the calendar */
|
|
546
|
-
tbody?: string;
|
|
547
|
-
/** Unordered list class for the calendar */
|
|
548
|
-
ul?: string;
|
|
549
|
-
/** List item class for the calendar */
|
|
550
|
-
li?: string;
|
|
551
|
-
/** Table cell configuration for the calendar */
|
|
552
|
-
td?: CalendarTdClasses;
|
|
553
|
-
/** Title class for the calendar */
|
|
554
|
-
title?: string;
|
|
555
|
-
/** Header configuration for the calendar */
|
|
556
|
-
header?: CalendarHeaderClasses;
|
|
557
|
-
/** Spacer class for the calendar */
|
|
558
|
-
spacer?: string;
|
|
559
|
-
/** Navigation class for the calendar */
|
|
560
|
-
nav?: string;
|
|
561
|
-
/** Today configuration for the calendar */
|
|
562
|
-
today?: CalendarTodayClasses;
|
|
563
|
-
/** Scrollable configuration for the calendar */
|
|
564
|
-
scrollable?: CalendarScrollableClasses;
|
|
565
|
-
/** Scrollable selector class for the calendar */
|
|
566
|
-
scrollableSelector?: string;
|
|
567
|
-
/** Scrollable placeholder configuration for the calendar */
|
|
568
|
-
scrollablePlaceholder?: {
|
|
569
|
-
/** Main class for the scrollable placeholder */
|
|
570
|
-
main?: string;
|
|
571
|
-
/** Horizontal scrollable placeholder class */
|
|
572
|
-
horizontal?: string;
|
|
573
|
-
};
|
|
574
|
-
/** Link class for the calendar */
|
|
575
|
-
link?: string;
|
|
576
|
-
/** Navigation marker class for the calendar */
|
|
577
|
-
navigationMarker?: string;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export declare interface CalendarHeaderClasses {
|
|
581
|
-
/** Main class for the calendar header */
|
|
582
|
-
main?: string;
|
|
583
|
-
/** Vertical alignment class for the calendar header */
|
|
584
|
-
vertical?: string;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* @hidden
|
|
589
|
-
*/
|
|
590
|
-
export declare const calendarPrefix: string;
|
|
591
|
-
|
|
592
|
-
export declare interface CalendarScrollableClasses {
|
|
593
|
-
/** Main class for the scrollable calendar area */
|
|
594
|
-
main?: string;
|
|
595
|
-
/** Content class for the scrollable area */
|
|
596
|
-
content?: string;
|
|
597
|
-
/** Horizontal scrollable state class */
|
|
598
|
-
horizontal?: string;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
export declare interface CalendarTableClasses {
|
|
602
|
-
/** Main class for the calendar table */
|
|
603
|
-
main?: string;
|
|
604
|
-
/** Weekdays class for the calendar */
|
|
605
|
-
weekdays?: string;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export declare interface CalendarTdClasses {
|
|
609
|
-
/** Main class for the table cell */
|
|
610
|
-
main?: string;
|
|
611
|
-
/** Range start class for the table cell */
|
|
612
|
-
rangeStart?: string;
|
|
613
|
-
/** Range end class for the table cell */
|
|
614
|
-
rangeEnd?: string;
|
|
615
|
-
/** Range middle class for the table cell */
|
|
616
|
-
rangeMid?: string;
|
|
617
|
-
/** Range split end class for the table cell */
|
|
618
|
-
rangeSplitEnd?: string;
|
|
619
|
-
/** Range split start class for the table cell */
|
|
620
|
-
rangeSplitStart?: string;
|
|
621
|
-
/** Active state class for the table cell */
|
|
622
|
-
active?: string;
|
|
623
|
-
/** Focused state class for the table cell */
|
|
624
|
-
focused?: string;
|
|
625
|
-
/** Selected state class for the table cell */
|
|
626
|
-
selected?: string;
|
|
627
|
-
/** Today’s date class for the table cell */
|
|
628
|
-
today?: string;
|
|
629
|
-
/** Weekend class for the table cell */
|
|
630
|
-
weekend?: string;
|
|
631
|
-
/** Disabled state class for the table cell */
|
|
632
|
-
disabled?: string;
|
|
633
|
-
/** Other month class for the table cell */
|
|
634
|
-
isOtherMonth?: string;
|
|
635
|
-
/** Empty state class for the table cell */
|
|
636
|
-
isEmpty?: string;
|
|
637
|
-
/** Week state class for the table cell */
|
|
638
|
-
isWeek?: string;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
export declare interface CalendarTodayClasses {
|
|
642
|
-
/** Main class for today's calendar entry */
|
|
643
|
-
main?: string;
|
|
644
|
-
/** Disabled state class for today’s calendar entry */
|
|
645
|
-
disabled?: string;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export declare interface CalendarViewClasses {
|
|
649
|
-
/** Main class for the calendar view */
|
|
650
|
-
main?: string;
|
|
651
|
-
/** Vertical alignment class for the calendar view */
|
|
652
|
-
vertical?: string;
|
|
653
|
-
/** Month view class for the calendar */
|
|
654
|
-
month?: string;
|
|
655
|
-
/** Year view class for the calendar */
|
|
656
|
-
year?: string;
|
|
657
|
-
/** Decade view class for the calendar */
|
|
658
|
-
decade?: string;
|
|
659
|
-
/** Century view class for the calendar */
|
|
660
|
-
century?: string;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
export declare interface CalendarWrapperClasses {
|
|
664
|
-
/** Main class for the calendar wrapper */
|
|
665
|
-
main?: string;
|
|
666
|
-
/** Prefix for the infinite calendar state */
|
|
667
|
-
infinite?: string;
|
|
668
|
-
/** Disabled state class for the calendar wrapper */
|
|
669
|
-
disabled?: string;
|
|
670
|
-
/** Week number class for the calendar */
|
|
671
|
-
weekNumber?: string;
|
|
672
|
-
/** Size configurations for the calendar */
|
|
673
|
-
size?: DateTimeSizeClasses;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* @hidden
|
|
678
|
-
*/
|
|
679
|
-
export declare const canUseDOM: boolean;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* @hidden
|
|
683
|
-
*/
|
|
684
|
-
export declare const canUseRef: (Component: React_2.ComponentType | string) => boolean;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* @hidden
|
|
688
|
-
*/
|
|
689
|
-
export declare const classNames: (...args: any[]) => string;
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* @hidden
|
|
693
|
-
*/
|
|
694
|
-
export declare function clone(obj: any): any;
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* @hidden
|
|
698
|
-
*/
|
|
699
|
-
export declare function cloneArray(array: any[]): any;
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* @hidden
|
|
703
|
-
*/
|
|
704
|
-
export declare const cloneDate: (date?: Date) => Date | null;
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* @hidden
|
|
708
|
-
*/
|
|
709
|
-
export declare function cloneObject(obj: any, result: any): void;
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* @hidden
|
|
713
|
-
*/
|
|
714
|
-
export declare function cloneValue(value: any, nextValue: any): any;
|
|
715
|
-
|
|
716
|
-
/** @hidden */
|
|
717
|
-
export declare type Collection<T> = T[];
|
|
718
|
-
|
|
719
|
-
/** @hidden */
|
|
720
|
-
export declare enum COLLECTION_ACTION {
|
|
721
|
-
add = 0,
|
|
722
|
-
remove = 1
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
/** @hidden */
|
|
726
|
-
export declare interface CollectionAction<T> {
|
|
727
|
-
type: COLLECTION_ACTION;
|
|
728
|
-
item: T;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
export declare interface ComboBoxClasses {
|
|
732
|
-
/** Wrapper configurations for the combo box component */
|
|
733
|
-
wrapper?: {
|
|
734
|
-
/** Main prefix for the combo box */
|
|
735
|
-
main?: string;
|
|
736
|
-
/** Class for the input element */
|
|
737
|
-
input?: string;
|
|
738
|
-
/** Size configurations for the input */
|
|
739
|
-
size?: {
|
|
740
|
-
/** Class for the small size of the input */
|
|
741
|
-
small?: string;
|
|
742
|
-
/** Class for the medium size of the input */
|
|
743
|
-
medium?: string;
|
|
744
|
-
/** Class for the large size of the input */
|
|
745
|
-
large?: string;
|
|
746
|
-
};
|
|
747
|
-
/** Fill mode configurations for the input */
|
|
748
|
-
fillMode?: {
|
|
749
|
-
/** Class for the solid fill mode of the input */
|
|
750
|
-
solid?: string;
|
|
751
|
-
/** Class for the outline fill mode of the input */
|
|
752
|
-
outline?: string;
|
|
753
|
-
/** Class for the flat fill mode of the input */
|
|
754
|
-
flat?: string;
|
|
755
|
-
/** Class for the link fill mode of the input */
|
|
756
|
-
link?: string;
|
|
757
|
-
/** Class for the clear fill mode of the input */
|
|
758
|
-
clear?: string;
|
|
759
|
-
};
|
|
760
|
-
/** Rounded configurations for the input */
|
|
761
|
-
rounded?: {
|
|
762
|
-
/** Class for the small rounded input */
|
|
763
|
-
small?: string;
|
|
764
|
-
/** Class for the medium rounded input */
|
|
765
|
-
medium?: string;
|
|
766
|
-
/** Class for the large rounded input */
|
|
767
|
-
large?: string;
|
|
768
|
-
};
|
|
769
|
-
/** Class for the disabled state of the input */
|
|
770
|
-
disabled?: string;
|
|
771
|
-
/** Class for the invalid state of the input */
|
|
772
|
-
invalid?: string;
|
|
773
|
-
/** Class for the loading state of the input */
|
|
774
|
-
loading?: string;
|
|
775
|
-
/** Class for the required state of the input */
|
|
776
|
-
required?: string;
|
|
777
|
-
};
|
|
778
|
-
/** Class for the loading icon associated with the input */
|
|
779
|
-
loadingIcon?: string;
|
|
780
|
-
/** Class for the input button within the combo box */
|
|
781
|
-
inputButton?: string;
|
|
782
|
-
/** List container configurations for the combo box */
|
|
783
|
-
listContainer?: {
|
|
784
|
-
/** Main prefix for the list container */
|
|
785
|
-
main?: string;
|
|
786
|
-
/** Class for the popup within the combo box */
|
|
787
|
-
popup?: string;
|
|
788
|
-
};
|
|
789
|
-
/** Class for the header of the list within the combo box */
|
|
790
|
-
listHeader?: string;
|
|
791
|
-
/** List configurations for the combo box */
|
|
792
|
-
list?: {
|
|
793
|
-
/** Main prefix for the list */
|
|
794
|
-
list?: string;
|
|
795
|
-
/** Class for the table element within the list */
|
|
796
|
-
table?: string;
|
|
797
|
-
/** Size configurations for the list */
|
|
798
|
-
size?: {
|
|
799
|
-
/** Class for the list size */
|
|
800
|
-
prefix?: string;
|
|
801
|
-
/** Class for the small size of the list */
|
|
802
|
-
small?: string;
|
|
803
|
-
/** Class for the medium size of the list */
|
|
804
|
-
medium?: string;
|
|
805
|
-
/** Class for the large size of the list */
|
|
806
|
-
large?: string;
|
|
807
|
-
};
|
|
808
|
-
/** Table size configurations for the list */
|
|
809
|
-
tableSize?: {
|
|
810
|
-
/** Class for the table size */
|
|
811
|
-
prefix?: string;
|
|
812
|
-
/** Class for the small size of the table */
|
|
813
|
-
small?: string;
|
|
814
|
-
/** Class for the medium size of the table */
|
|
815
|
-
medium?: string;
|
|
816
|
-
/** Class for the large size of the table */
|
|
817
|
-
large?: string;
|
|
818
|
-
};
|
|
819
|
-
/** Class for the virtual list configuration */
|
|
820
|
-
virtual?: string;
|
|
821
|
-
};
|
|
822
|
-
/** List content configurations for the combo box */
|
|
823
|
-
listContent?: {
|
|
824
|
-
/** Main prefix for the list content */
|
|
825
|
-
main?: string;
|
|
826
|
-
/** Class for the scroller within the list content */
|
|
827
|
-
scroller?: string;
|
|
828
|
-
};
|
|
829
|
-
/** Class for the footer of the list within the combo box */
|
|
830
|
-
listFooter?: string;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* @hidden
|
|
835
|
-
*/
|
|
836
|
-
export declare const comboBoxPrefix: string;
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* @hidden
|
|
840
|
-
*/
|
|
841
|
-
export declare const components: {
|
|
842
|
-
actionsheet: string;
|
|
843
|
-
calendar: string;
|
|
844
|
-
buttongroup: string;
|
|
845
|
-
dateinput: string;
|
|
846
|
-
datetime: string;
|
|
847
|
-
datetimepicker: string;
|
|
848
|
-
dropdownlist: string;
|
|
849
|
-
combobox: string;
|
|
850
|
-
maskedtextbox: string;
|
|
851
|
-
menu: string;
|
|
852
|
-
searchbox: string;
|
|
853
|
-
timepicker: string;
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* @hidden
|
|
858
|
-
*/
|
|
859
|
-
export declare const containers: {
|
|
860
|
-
actions: string;
|
|
861
|
-
container: string;
|
|
862
|
-
content: string;
|
|
863
|
-
group: string;
|
|
864
|
-
row: string;
|
|
865
|
-
nav: string;
|
|
866
|
-
wrap: string;
|
|
867
|
-
wrapper: string;
|
|
868
|
-
list: string;
|
|
869
|
-
placeholder: string;
|
|
870
|
-
popup: string;
|
|
871
|
-
item: string;
|
|
872
|
-
part: string;
|
|
873
|
-
picker: string;
|
|
874
|
-
separator: string;
|
|
875
|
-
spacer: string;
|
|
876
|
-
tab: string;
|
|
877
|
-
titlebar: string;
|
|
878
|
-
optionLabel: string;
|
|
879
|
-
view: string;
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* @hidden
|
|
884
|
-
*/
|
|
885
|
-
declare function createId(childId: string | number, parentId?: string): string;
|
|
886
|
-
|
|
887
|
-
/** @hidden */
|
|
888
|
-
export declare const createPropsContext: <T extends unknown>() => React_2.Context<(p: T) => T>;
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* @hidden
|
|
892
|
-
*/
|
|
893
|
-
export declare const cssUtils: {
|
|
894
|
-
center: string;
|
|
895
|
-
hbox: string;
|
|
896
|
-
vstack: string;
|
|
897
|
-
hstack: string;
|
|
898
|
-
overflow: string;
|
|
899
|
-
};
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* @hidden
|
|
903
|
-
*/
|
|
904
|
-
export declare const cursor: {
|
|
905
|
-
default: string;
|
|
906
|
-
};
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* @hidden
|
|
910
|
-
*/
|
|
911
|
-
export declare type CustomComponent<P = unknown> = React_2.ComponentType<P> | React_2.ReactElement<Partial<P>> | string;
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @hidden
|
|
915
|
-
*/
|
|
916
|
-
export declare interface DataItemWrapper {
|
|
917
|
-
dataItem: any;
|
|
918
|
-
rowType: any;
|
|
919
|
-
level: number;
|
|
920
|
-
expanded: boolean;
|
|
921
|
-
dataIndex: number;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
export declare interface DateInputClasses {
|
|
925
|
-
/** Wrapper configuration for the date input */
|
|
926
|
-
wrapper?: {
|
|
927
|
-
/** Main class for the date input wrapper */
|
|
928
|
-
main?: string;
|
|
929
|
-
/** Prefix for the inner input element */
|
|
930
|
-
input?: string;
|
|
931
|
-
/** Size configurations for the date input */
|
|
932
|
-
size?: DateTimeSizeClasses;
|
|
933
|
-
/** Fill mode configurations for the date input */
|
|
934
|
-
fillMode?: DateTimeFillModeClasses;
|
|
935
|
-
/** Rounded configurations for the date input */
|
|
936
|
-
rounded?: DateTimeRoundedClasses;
|
|
937
|
-
/** Disabled state class for the date input */
|
|
938
|
-
disabled?: string;
|
|
939
|
-
/** Required state class for the date input */
|
|
940
|
-
required?: string;
|
|
941
|
-
/** Invalid state class for the date input */
|
|
942
|
-
invalid?: string;
|
|
943
|
-
};
|
|
944
|
-
/** Inner input class for the date input */
|
|
945
|
-
inputInner?: string;
|
|
946
|
-
/** Configuration for the input spinner */
|
|
947
|
-
inputSpinner?: DateTimeSpinnerClasses;
|
|
948
|
-
/** Spinner increase action class */
|
|
949
|
-
spinnerIncrease?: string;
|
|
950
|
-
/** Spinner decrease action class */
|
|
951
|
-
spinnerDecrease?: string;
|
|
952
|
-
/** Clear button class for the date input */
|
|
953
|
-
clearButton?: string;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* @hidden
|
|
958
|
-
*/
|
|
959
|
-
export declare const dateInputs: {
|
|
960
|
-
week: string;
|
|
961
|
-
weekdays: string;
|
|
962
|
-
weekend: string;
|
|
963
|
-
month: string;
|
|
964
|
-
year: string;
|
|
965
|
-
decade: string;
|
|
966
|
-
century: string;
|
|
967
|
-
number: string;
|
|
968
|
-
navigation: string;
|
|
969
|
-
marker: string;
|
|
970
|
-
now: string;
|
|
971
|
-
range: string;
|
|
972
|
-
today: string;
|
|
973
|
-
other: string;
|
|
974
|
-
date: string;
|
|
975
|
-
time: string;
|
|
976
|
-
selector: string;
|
|
977
|
-
timeselector: string;
|
|
978
|
-
};
|
|
979
|
-
|
|
980
|
-
/**
|
|
981
|
-
* DateInputs classes
|
|
982
|
-
*/
|
|
983
|
-
export declare interface DateInputsClassStructure {
|
|
984
|
-
/** Calendar styling configuration */
|
|
985
|
-
uCalendar?: CalendarClasses;
|
|
986
|
-
/** Date input styling configuration */
|
|
987
|
-
uDateInput?: DateInputClasses;
|
|
988
|
-
/** Date time picker styling configuration */
|
|
989
|
-
uDateTimePicker?: DateTimePickerClasses;
|
|
990
|
-
/** Time component styling configuration */
|
|
991
|
-
uTime?: TimeClasses;
|
|
992
|
-
/** Time picker styling configuration */
|
|
993
|
-
uTimePicker?: TimePickerClasses;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export declare interface DateTimeFillModeClasses {
|
|
997
|
-
/** Solid fill mode class for the date-time picker */
|
|
998
|
-
solid?: string;
|
|
999
|
-
/** Outline fill mode class for the date-time picker */
|
|
1000
|
-
outline?: string;
|
|
1001
|
-
/** Flat fill mode class for the date-time picker */
|
|
1002
|
-
flat?: string;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
export declare interface DateTimePickerClasses {
|
|
1006
|
-
/** Wrapper configuration for the date-time picker */
|
|
1007
|
-
wrapper?: {
|
|
1008
|
-
/** Main class for the date-time picker wrapper */
|
|
1009
|
-
main?: string;
|
|
1010
|
-
/** Prefix for the inner input element */
|
|
1011
|
-
input?: string;
|
|
1012
|
-
/** Size configurations for the date-time picker */
|
|
1013
|
-
size?: DateTimeSizeClasses;
|
|
1014
|
-
/** Fill mode configurations for the date-time picker */
|
|
1015
|
-
fillMode?: DateTimeFillModeClasses;
|
|
1016
|
-
/** Rounded configurations for the date-time picker */
|
|
1017
|
-
rounded?: DateTimeRoundedClasses;
|
|
1018
|
-
/** Disabled state class for the date-time picker */
|
|
1019
|
-
disabled?: string;
|
|
1020
|
-
/** Required state class for the date-time picker */
|
|
1021
|
-
required?: string;
|
|
1022
|
-
/** Invalid state class for the date-time picker */
|
|
1023
|
-
invalid?: string;
|
|
1024
|
-
};
|
|
1025
|
-
/** Input button class for the date-time picker */
|
|
1026
|
-
inputButton?: string;
|
|
1027
|
-
/** Configuration for the popup */
|
|
1028
|
-
popup?: DateTimePopupClasses;
|
|
1029
|
-
/** Wrap configurations for the date-time picker */
|
|
1030
|
-
wrap?: {
|
|
1031
|
-
/** Main class for the wrap element */
|
|
1032
|
-
main?: string;
|
|
1033
|
-
/** Date tab class for the wrap */
|
|
1034
|
-
date?: string;
|
|
1035
|
-
/** Time tab class for the wrap */
|
|
1036
|
-
time?: string;
|
|
1037
|
-
/** Disabled state class for the wrap */
|
|
1038
|
-
disabled?: string;
|
|
1039
|
-
};
|
|
1040
|
-
/** Footer configurations for the time section */
|
|
1041
|
-
timeFooter?: {
|
|
1042
|
-
/** Main class for the time footer */
|
|
1043
|
-
main?: string;
|
|
1044
|
-
/** Actions class for the footer */
|
|
1045
|
-
actions?: string;
|
|
1046
|
-
/** Stretched state class for the footer */
|
|
1047
|
-
stretched?: string;
|
|
1048
|
-
};
|
|
1049
|
-
/** Button group class for the date-time picker */
|
|
1050
|
-
buttonGroup?: string;
|
|
1051
|
-
/** Selector class for the date-time picker */
|
|
1052
|
-
selector?: string;
|
|
1053
|
-
/** Wrap class for the calendar */
|
|
1054
|
-
calendarWrap?: string;
|
|
1055
|
-
/** Wrap class for the time section */
|
|
1056
|
-
timeWrap?: string;
|
|
1057
|
-
/** Configuration for the time selector */
|
|
1058
|
-
timeSelector?: TimeSelectorClasses;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
export declare interface DateTimePopupClasses {
|
|
1062
|
-
/** Main class for the popup container */
|
|
1063
|
-
main?: string;
|
|
1064
|
-
/** Reset class for the popup */
|
|
1065
|
-
reset?: string;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
export declare interface DateTimeRoundedClasses {
|
|
1069
|
-
/** Small rounded class for the date-time picker */
|
|
1070
|
-
small?: string;
|
|
1071
|
-
/** Medium rounded class for the date-time picker */
|
|
1072
|
-
medium?: string;
|
|
1073
|
-
/** Large rounded class for the date-time picker */
|
|
1074
|
-
large?: string;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
export declare interface DateTimeSizeClasses {
|
|
1078
|
-
/** Small size class for the date-time picker */
|
|
1079
|
-
small?: string;
|
|
1080
|
-
/** Medium size class for the date-time picker */
|
|
1081
|
-
medium?: string;
|
|
1082
|
-
/** Large size class for the date-time picker */
|
|
1083
|
-
large?: string;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
export declare interface DateTimeSpinnerClasses {
|
|
1087
|
-
/** Main class for the input spinner */
|
|
1088
|
-
main?: string;
|
|
1089
|
-
/** Button class for the input spinner */
|
|
1090
|
-
button?: string;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* @hidden
|
|
1095
|
-
*/
|
|
1096
|
-
export declare const ddbPrefix: string;
|
|
1097
|
-
|
|
1098
|
-
/** @hidden */
|
|
1099
|
-
export declare const deepMerge: <T>(target: any, ...sources: any[]) => T;
|
|
1100
|
-
|
|
1101
|
-
/** @hidden */
|
|
1102
|
-
export declare const defaultValue: {
|
|
1103
|
-
small: number;
|
|
1104
|
-
medium: number;
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* @hidden
|
|
1109
|
-
*/
|
|
1110
|
-
export declare const dimensions: {
|
|
1111
|
-
height: string;
|
|
1112
|
-
width: string;
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* @hidden
|
|
1117
|
-
*/
|
|
1118
|
-
export declare const directionMap: {
|
|
1119
|
-
up: string;
|
|
1120
|
-
down: string;
|
|
1121
|
-
left: string;
|
|
1122
|
-
right: string;
|
|
1123
|
-
start: string;
|
|
1124
|
-
mid: string;
|
|
1125
|
-
end: string;
|
|
1126
|
-
};
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* @hidden
|
|
1130
|
-
*/
|
|
1131
|
-
export declare const disableNavigatableContainer: (containerElement: HTMLElement, elementsSelectors?: string[]) => void;
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* @hidden
|
|
1135
|
-
* Dispatches a new event based on an event that was already internally dispatched to KendoReact users.
|
|
1136
|
-
*
|
|
1137
|
-
* @param eventHandler - The public event handler that is assigned by the user.
|
|
1138
|
-
* When undefined, the method is not an option.
|
|
1139
|
-
* @param dispatchedEvent - The event that was already dispatched internally.
|
|
1140
|
-
* @param target - The target component of the new event.
|
|
1141
|
-
* @param eventData - The additional data that will be passed through the new event.
|
|
1142
|
-
* When the new event has no additional data
|
|
1143
|
-
* other than the `BaseEvent` arguments, pass `undefined`.
|
|
1144
|
-
*/
|
|
1145
|
-
declare function dispatchEvent_2<E extends BaseEvent<React.Component | FCHandle>, FCHandle = object>(eventHandler: ((event: E) => void) | undefined, dispatchedEvent: React.SyntheticEvent<any>, target: E['target'], eventData: Exclude<keyof E, keyof BaseEvent<React.Component | FCHandle>> extends never ? undefined : Pick<E, Exclude<keyof E, keyof BaseEvent<React.Component | FCHandle>>>): void;
|
|
1146
|
-
export { dispatchEvent_2 as dispatchEvent }
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* The `DragAndDrop` component is required for the `droppable` functionality to work properly.
|
|
1150
|
-
*
|
|
1151
|
-
* It is used internally to synchronize the `drag` and `drop` functionalities.
|
|
1152
|
-
* Accepts properties of type [DragAndDropProps](https://www.telerik.com/kendo-react-ui/components/common/api/draganddropprops).
|
|
1153
|
-
*/
|
|
1154
|
-
export declare const DragAndDrop: {
|
|
1155
|
-
(props: DragAndDropProps): JSX.Element;
|
|
1156
|
-
displayName: string;
|
|
1157
|
-
};
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* @hidden
|
|
1161
|
-
*/
|
|
1162
|
-
declare const DragAndDropContext: React_2.Context<{
|
|
1163
|
-
drag?: React_2.RefObject<DragTarget | null> | null | undefined;
|
|
1164
|
-
setDrag?: ((value: React_2.RefObject<DragTarget> | null) => void) | undefined;
|
|
1165
|
-
drop?: React_2.RefObject<DropTarget | null> | null | undefined;
|
|
1166
|
-
setDrop?: ((value: React_2.RefObject<DropTarget> | null) => void) | undefined;
|
|
1167
|
-
drags?: React_2.RefObject<DragTarget | null>[] | undefined;
|
|
1168
|
-
registerDrag?: ((item: React_2.RefObject<DragTarget | null>) => void) | undefined;
|
|
1169
|
-
deregisterDrag?: ((item: React_2.RefObject<DragTarget | null>) => void) | undefined;
|
|
1170
|
-
drops?: React_2.RefObject<DropTarget | null>[] | undefined;
|
|
1171
|
-
registerDrop?: ((item: React_2.RefObject<DragTarget | null>) => void) | undefined;
|
|
1172
|
-
deregisterDrop?: ((item: React_2.RefObject<DragTarget | null>) => void) | undefined;
|
|
1173
|
-
}>;
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* Represents the properties of the `DragAndDrop` component.
|
|
1177
|
-
*/
|
|
1178
|
-
export declare interface DragAndDropProps {
|
|
1179
|
-
/**
|
|
1180
|
-
* Represents the `children` of the `DragAndDrop` component. The `children` prop can be any valid React Element.
|
|
1181
|
-
*/
|
|
1182
|
-
children?: React_2.ReactNode;
|
|
1183
|
-
/**
|
|
1184
|
-
* Allows passing a custom context to the `DragAndDrop` component. Useful when there are multiple drag-and-drop functionalities in a single component.
|
|
1185
|
-
*/
|
|
1186
|
-
context?: typeof DragAndDropContext;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* Represents the KendoReact Draggable component.
|
|
1191
|
-
*
|
|
1192
|
-
* Accepts properties of type [DraggableProps](https://www.telerik.com/kendo-react-ui/components/common/api/draggableprops),
|
|
1193
|
-
* and returns an object of type [DraggableHandle](https://www.telerik.com/kendo-react-ui/components/common/api/draggablehandle) when the `ref` is obtained.
|
|
1194
|
-
*/
|
|
1195
|
-
export declare const Draggable: React_2.ForwardRefExoticComponent<DraggableProps & React_2.RefAttributes<DraggableHandle | null>>;
|
|
1196
|
-
|
|
1197
|
-
export declare type Draggable = DraggableHandle;
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Represents the object of the `onDragEnd` callback.
|
|
1201
|
-
*/
|
|
1202
|
-
export declare interface DraggableDragEndEvent extends BaseDraggableEvent {
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* Represents the object of the `onDrag` callback.
|
|
1207
|
-
*/
|
|
1208
|
-
export declare interface DraggableDragEvent extends BaseDraggableEvent {
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
* Represents the object of the `onDragStart` callback.
|
|
1213
|
-
*/
|
|
1214
|
-
export declare interface DraggableDragStartEvent extends BaseDraggableEvent {
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* Represents the `ref` object of the `Draggable` component.
|
|
1219
|
-
*/
|
|
1220
|
-
export declare interface DraggableHandle {
|
|
1221
|
-
/**
|
|
1222
|
-
* The element which is being dragged.
|
|
1223
|
-
*/
|
|
1224
|
-
element: HTMLElement | null;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
/**
|
|
1228
|
-
* Represents the configuration object type of the `Draggable` component and `useDraggable` hook.
|
|
1229
|
-
*/
|
|
1230
|
-
export declare interface DraggableOptions {
|
|
1231
|
-
/**
|
|
1232
|
-
* Set the `hint` to override the element used for collision detection.
|
|
1233
|
-
*
|
|
1234
|
-
* For more information, refer to the [Drag Hint](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/drag-hint) article.
|
|
1235
|
-
*/
|
|
1236
|
-
hint?: React_2.RefObject<HTMLElement | null | {
|
|
1237
|
-
element: HTMLElement | null;
|
|
1238
|
-
}> | null;
|
|
1239
|
-
/**
|
|
1240
|
-
* Set the `mouseOnly` property to `true` to stop the draggable from attaching `touch` event handlers.
|
|
1241
|
-
*
|
|
1242
|
-
* Defaults to `false`.
|
|
1243
|
-
*/
|
|
1244
|
-
mouseOnly?: boolean;
|
|
1245
|
-
/**
|
|
1246
|
-
* Set the `autoScroll` property to `false` to disable automatic container scroll when close to the edge.
|
|
1247
|
-
* For more information, refer to the [Auto Scroll](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/auto-scroll) article.
|
|
1248
|
-
*
|
|
1249
|
-
* Defaults to `true`.
|
|
1250
|
-
*/
|
|
1251
|
-
autoScroll?: boolean | AutoScrollOptions;
|
|
1252
|
-
/**
|
|
1253
|
-
* @hidden
|
|
1254
|
-
*/
|
|
1255
|
-
scrollContainer?: React_2.RefObject<HTMLElement | null | {
|
|
1256
|
-
element: HTMLElement | null;
|
|
1257
|
-
}>;
|
|
1258
|
-
/**
|
|
1259
|
-
* Allows passing custom context. Use it to isolate drag and drop events in scenarios with multiple drag and drop functionalities on a single component.
|
|
1260
|
-
*/
|
|
1261
|
-
context?: typeof DragAndDropContext;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* Represents the object of the `onPress` callback.
|
|
1266
|
-
*/
|
|
1267
|
-
export declare interface DraggablePressEvent extends BaseDraggableEvent {
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* Represents the props of the KendoReact Draggable component.
|
|
1272
|
-
*/
|
|
1273
|
-
export declare interface DraggableProps extends DraggableOptions {
|
|
1274
|
-
/**
|
|
1275
|
-
* Fires when the user press element inside the Draggable component.
|
|
1276
|
-
*/
|
|
1277
|
-
onPress?: (event: DraggablePressEvent) => void;
|
|
1278
|
-
/**
|
|
1279
|
-
* Fires when the user starts dragging the element inside the Draggable component.
|
|
1280
|
-
*/
|
|
1281
|
-
onDragStart?: (event: DraggableDragStartEvent) => void;
|
|
1282
|
-
/**
|
|
1283
|
-
* Fires when the user drag the element inside the Draggable component.
|
|
1284
|
-
*/
|
|
1285
|
-
onDrag?: (event: DraggableDragEvent) => void;
|
|
1286
|
-
/**
|
|
1287
|
-
* Fires when the user finishes dragging the element inside the Draggable component.
|
|
1288
|
-
*/
|
|
1289
|
-
onDragEnd?: (event: DraggableDragEndEvent) => void;
|
|
1290
|
-
/**
|
|
1291
|
-
* Fires when the user release the current drag action.
|
|
1292
|
-
*/
|
|
1293
|
-
onRelease?: (event: DraggableReleaseEvent) => void;
|
|
1294
|
-
/**
|
|
1295
|
-
* Callback to get the child element ref. Useful as the Draggable overrides ref of the child element.
|
|
1296
|
-
*/
|
|
1297
|
-
childRef?: React_2.Ref<HTMLElement | null | {
|
|
1298
|
-
element: HTMLElement | null;
|
|
1299
|
-
[key: string]: any;
|
|
1300
|
-
}>;
|
|
1301
|
-
/** @hidden */
|
|
1302
|
-
children?: React_2.ReactNode;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Represents the object of the `onRelease` callback.
|
|
1307
|
-
*/
|
|
1308
|
-
export declare interface DraggableReleaseEvent extends BaseDraggableEvent {
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
export declare interface DropDownBaseClasses {
|
|
1312
|
-
/** Class for the clear button */
|
|
1313
|
-
clearButton?: string;
|
|
1314
|
-
/** Class for the sticky header of the grouped list */
|
|
1315
|
-
groupStickyHeader?: string;
|
|
1316
|
-
/** Class for the header text in the list */
|
|
1317
|
-
listHeaderText?: string;
|
|
1318
|
-
/** Class for the unordered list element */
|
|
1319
|
-
ul?: string;
|
|
1320
|
-
/** List item configurations */
|
|
1321
|
-
li?: DropDownBaseListItemClasses;
|
|
1322
|
-
/** Grouped list item configurations */
|
|
1323
|
-
groupLi?: DropDownBaseGroupLiClasses;
|
|
1324
|
-
/** Class for the text of regular list items */
|
|
1325
|
-
itemText?: string;
|
|
1326
|
-
/** Grouped item text configurations */
|
|
1327
|
-
groupItemText?: DropDownBaseGroupItemClasses;
|
|
1328
|
-
/** Class for the label of grouped items */
|
|
1329
|
-
itemGroupLabel?: string;
|
|
1330
|
-
/** Class for displaying no data message */
|
|
1331
|
-
noData?: string;
|
|
1332
|
-
/** Class for the height container */
|
|
1333
|
-
heightContainer?: string;
|
|
1334
|
-
/** Option label configurations */
|
|
1335
|
-
optionLabel?: DropDownBaseOptionLabelClasses;
|
|
1336
|
-
/** Class for the inner input */
|
|
1337
|
-
inputInner?: string;
|
|
1338
|
-
/** Class for the input icon */
|
|
1339
|
-
inputIcon?: string;
|
|
1340
|
-
/** Class for the search box component */
|
|
1341
|
-
searchbox?: string;
|
|
1342
|
-
/** Class for the list filter */
|
|
1343
|
-
listFilter?: string;
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
export declare interface DropDownBaseGroupItemClasses {
|
|
1347
|
-
/** Class for the text of list items in a group */
|
|
1348
|
-
list?: string;
|
|
1349
|
-
/** Class for the header cell text in a group table */
|
|
1350
|
-
table?: string;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
export declare interface DropDownBaseGroupLiClasses {
|
|
1354
|
-
/** Class for the list of grouped items */
|
|
1355
|
-
list?: string;
|
|
1356
|
-
/** Class for the table representation of grouped items */
|
|
1357
|
-
table?: string;
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
export declare interface DropDownBaseListItemClasses {
|
|
1361
|
-
/** Main class for the list item */
|
|
1362
|
-
main?: string;
|
|
1363
|
-
/** Class for the selected state of the list item */
|
|
1364
|
-
selected?: string;
|
|
1365
|
-
/** Class for the focused state of the list item */
|
|
1366
|
-
focused?: string;
|
|
1367
|
-
/** Class for the first item in the list */
|
|
1368
|
-
first?: string;
|
|
1369
|
-
/** Class for the disabled state of the list item */
|
|
1370
|
-
disabled?: string;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
export declare interface DropDownBaseOptionLabelClasses {
|
|
1374
|
-
/** Main class for the option label */
|
|
1375
|
-
main?: string;
|
|
1376
|
-
/** Class for the selected state of the option label */
|
|
1377
|
-
selected?: string;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export declare interface DropDownButtonClasses {
|
|
1381
|
-
/** Wrapper configuration for the button */
|
|
1382
|
-
wrapper?: DropDownButtonWrapperClasses;
|
|
1383
|
-
/** Unordered list configuration for the button group */
|
|
1384
|
-
ul?: DropDownButtonGroupClasses;
|
|
1385
|
-
/** List item configuration */
|
|
1386
|
-
li?: DropDownButtonListItemClasses;
|
|
1387
|
-
/** Item class for the button */
|
|
1388
|
-
item?: string;
|
|
1389
|
-
/** Link configuration for the button */
|
|
1390
|
-
link?: DropDownButtonLinkClasses;
|
|
1391
|
-
/** Popup class for the button group */
|
|
1392
|
-
popup?: string;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
export declare interface DropDownButtonGroupClasses {
|
|
1396
|
-
/** Group class for the button container */
|
|
1397
|
-
group?: string;
|
|
1398
|
-
/** Size configuration for the button group */
|
|
1399
|
-
size?: DropDownButtonSizeClasses;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
export declare interface DropDownButtonLinkClasses {
|
|
1403
|
-
/** Main link class */
|
|
1404
|
-
main?: string;
|
|
1405
|
-
/** Link class for the button */
|
|
1406
|
-
link?: string;
|
|
1407
|
-
/** Selected state class for the link */
|
|
1408
|
-
selected?: string;
|
|
1409
|
-
/** Disabled state class for the link */
|
|
1410
|
-
disabled?: string;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
export declare interface DropDownButtonListItemClasses {
|
|
1414
|
-
/** Item class for the list container */
|
|
1415
|
-
item?: string;
|
|
1416
|
-
/** Focus state class for the list item */
|
|
1417
|
-
focus?: string;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
export declare interface DropDownButtonSizeClasses {
|
|
1421
|
-
/** Small size class for the button group */
|
|
1422
|
-
small?: string;
|
|
1423
|
-
/** Medium size class for the button group */
|
|
1424
|
-
medium?: string;
|
|
1425
|
-
/** Large size class for the button group */
|
|
1426
|
-
large?: string;
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
export declare interface DropDownButtonWrapperClasses {
|
|
1430
|
-
/** Main button class */
|
|
1431
|
-
main?: string;
|
|
1432
|
-
/** Focus state class for the button */
|
|
1433
|
-
focus?: string;
|
|
1434
|
-
/** Disabled state class for the button */
|
|
1435
|
-
disabled?: string;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
export declare interface DropDownListClasses {
|
|
1439
|
-
/** Wrapper configurations for the dropdown list component */
|
|
1440
|
-
wrapper?: {
|
|
1441
|
-
/** Main class for the dropdown list */
|
|
1442
|
-
main?: string;
|
|
1443
|
-
/** Class for the picker element */
|
|
1444
|
-
picker?: string;
|
|
1445
|
-
/** Size configurations for the picker */
|
|
1446
|
-
size?: {
|
|
1447
|
-
/** Class for the small size of the picker */
|
|
1448
|
-
small?: string;
|
|
1449
|
-
/** Class for the medium size of the picker */
|
|
1450
|
-
medium?: string;
|
|
1451
|
-
/** Class for the large size of the picker */
|
|
1452
|
-
large?: string;
|
|
1453
|
-
};
|
|
1454
|
-
/** Fill mode configurations for the picker */
|
|
1455
|
-
fillMode?: {
|
|
1456
|
-
/** Class for the solid fill mode of the picker */
|
|
1457
|
-
solid?: string;
|
|
1458
|
-
/** Class for the outline fill mode of the picker */
|
|
1459
|
-
outline?: string;
|
|
1460
|
-
/** Class for the flat fill mode of the picker */
|
|
1461
|
-
flat?: string;
|
|
1462
|
-
/** Class for the link fill mode of the picker */
|
|
1463
|
-
link?: string;
|
|
1464
|
-
/** Class for the clear fill mode of the picker */
|
|
1465
|
-
clear?: string;
|
|
1466
|
-
};
|
|
1467
|
-
/** Rounded configurations for the picker */
|
|
1468
|
-
rounded?: {
|
|
1469
|
-
/** Class for the small rounded picker */
|
|
1470
|
-
small?: string;
|
|
1471
|
-
/** Class for the medium rounded picker */
|
|
1472
|
-
medium?: string;
|
|
1473
|
-
/** Class for the large rounded picker */
|
|
1474
|
-
large?: string;
|
|
1475
|
-
};
|
|
1476
|
-
/** Class for the disabled state of the picker */
|
|
1477
|
-
disabled?: string;
|
|
1478
|
-
/** Class for the focused state of the picker */
|
|
1479
|
-
focused?: string;
|
|
1480
|
-
/** Class for the invalid state of the picker */
|
|
1481
|
-
invalid?: string;
|
|
1482
|
-
/** Class for the loading state of the picker */
|
|
1483
|
-
loading?: string;
|
|
1484
|
-
/** Class for the required state of the picker */
|
|
1485
|
-
required?: string;
|
|
1486
|
-
};
|
|
1487
|
-
/** Class for the loading icon associated with the input */
|
|
1488
|
-
loadingIcon?: string;
|
|
1489
|
-
/** Class for the input button within the dropdown list */
|
|
1490
|
-
inputButton?: string;
|
|
1491
|
-
/** List container configurations for the dropdown list */
|
|
1492
|
-
listContainer?: {
|
|
1493
|
-
/** Main class for the list container */
|
|
1494
|
-
main?: string;
|
|
1495
|
-
/** Class for the popup within the dropdown list */
|
|
1496
|
-
popup?: string;
|
|
1497
|
-
};
|
|
1498
|
-
/** Class for the inner input of the dropdown list */
|
|
1499
|
-
inputInner?: string;
|
|
1500
|
-
/** Class for the input text of the dropdown list */
|
|
1501
|
-
inputText?: string;
|
|
1502
|
-
/** Class for the header of the list within the dropdown */
|
|
1503
|
-
listHeader?: string;
|
|
1504
|
-
/** List configurations for the dropdown list */
|
|
1505
|
-
list?: {
|
|
1506
|
-
/** Main class for the list */
|
|
1507
|
-
main?: string;
|
|
1508
|
-
/** Size configurations for the list */
|
|
1509
|
-
size?: {
|
|
1510
|
-
/** Class for the small size of the list */
|
|
1511
|
-
small?: string;
|
|
1512
|
-
/** Class for the medium size of the list */
|
|
1513
|
-
medium?: string;
|
|
1514
|
-
/** Class for the large size of the list */
|
|
1515
|
-
large?: string;
|
|
1516
|
-
};
|
|
1517
|
-
/** Class for the virtual list configuration */
|
|
1518
|
-
virtual?: string;
|
|
1519
|
-
};
|
|
1520
|
-
/** Class for the content of the list within the dropdown */
|
|
1521
|
-
listContent?: string;
|
|
1522
|
-
/** Class for the footer of the list within the dropdown */
|
|
1523
|
-
listFooter?: string;
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* @hidden
|
|
1528
|
-
*/
|
|
1529
|
-
export declare const dropDownListPrefix: string;
|
|
1530
|
-
|
|
1531
|
-
export declare interface DropDownsActionSheetClasses {
|
|
1532
|
-
/** Wrapper configurations for the action sheet component */
|
|
1533
|
-
wrapper?: {
|
|
1534
|
-
/** Main class for the action sheet */
|
|
1535
|
-
main?: string;
|
|
1536
|
-
/** Class for the fullscreen state of the action sheet */
|
|
1537
|
-
fullscreen?: string;
|
|
1538
|
-
/** Class for the bottom state of the action sheet */
|
|
1539
|
-
bottom?: string;
|
|
1540
|
-
};
|
|
1541
|
-
/** Class for the header text, centered */
|
|
1542
|
-
header?: string;
|
|
1543
|
-
/** Title bar configurations for the action sheet */
|
|
1544
|
-
titleBar?: {
|
|
1545
|
-
/** Main class for the title bar within the action sheet */
|
|
1546
|
-
main?: string;
|
|
1547
|
-
/** Class for positioning the title bar horizontally */
|
|
1548
|
-
position?: string;
|
|
1549
|
-
};
|
|
1550
|
-
/** Class for the title of the action sheet */
|
|
1551
|
-
title?: string;
|
|
1552
|
-
/** Subtitle configurations for the action sheet */
|
|
1553
|
-
subtitle?: {
|
|
1554
|
-
/** Main class for the subtitle in the action sheet */
|
|
1555
|
-
main?: string;
|
|
1556
|
-
/** Class for centered text in the subtitle */
|
|
1557
|
-
textCenter?: string;
|
|
1558
|
-
};
|
|
1559
|
-
/** Class for the actions container within the action sheet */
|
|
1560
|
-
actions?: string;
|
|
1561
|
-
/** Title bar group configurations for the action sheet */
|
|
1562
|
-
titleBarGroup?: {
|
|
1563
|
-
/** Main class for the title bar group */
|
|
1564
|
-
main?: string;
|
|
1565
|
-
/** Class for the filter within the action sheet */
|
|
1566
|
-
filter?: string;
|
|
1567
|
-
};
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* DropDowns classes
|
|
1572
|
-
*/
|
|
1573
|
-
export declare interface DropDownsClassStructure {
|
|
1574
|
-
/** DropDown action sheet styling configuration */
|
|
1575
|
-
uDropDownsActionSheet?: DropDownsActionSheetClasses;
|
|
1576
|
-
/** Base DropDown styling configuration */
|
|
1577
|
-
uDropDownsBase?: DropDownBaseClasses;
|
|
1578
|
-
/** DropDown list styling configuration */
|
|
1579
|
-
uDropDownList?: DropDownListClasses;
|
|
1580
|
-
/** ComboBox styling configuration */
|
|
1581
|
-
uComboBox?: ComboBoxClasses;
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
/**
|
|
1585
|
-
* Represents the KendoReact Droppable component.
|
|
1586
|
-
*
|
|
1587
|
-
* Accepts properties of type [DroppableProps](https://www.telerik.com/kendo-react-ui/components/common/api/droppableprops),
|
|
1588
|
-
* and returns an object of type [DroppableHandle](https://www.telerik.com/kendo-react-ui/components/common/api/droppablehandle) when the `ref` is obtained.
|
|
1589
|
-
*/
|
|
1590
|
-
export declare const Droppable: React_2.ForwardRefExoticComponent<DroppableProps & React_2.RefAttributes<DroppableHandle | null>>;
|
|
1591
|
-
|
|
1592
|
-
export declare type Droppable = DroppableHandle;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* Represents the object of the `onDragEnter` callback.
|
|
1596
|
-
*/
|
|
1597
|
-
export declare interface DroppableDragEnterEvent extends BaseDroppableEvent {
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* Represents the object of the `onDragLeave` callback.
|
|
1602
|
-
*/
|
|
1603
|
-
export declare interface DroppableDragLeaveEvent extends BaseDroppableEvent {
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Represents the object of the `onDragOver` callback.
|
|
1608
|
-
*/
|
|
1609
|
-
export declare interface DroppableDragOverEvent extends BaseDroppableEvent {
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* Represents the object of the `onDrop` callback.
|
|
1614
|
-
*/
|
|
1615
|
-
export declare interface DroppableDropEvent extends BaseDroppableEvent {
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Represents the `ref` object of the `Droppable` component.
|
|
1620
|
-
*/
|
|
1621
|
-
export declare interface DroppableHandle {
|
|
1622
|
-
/**
|
|
1623
|
-
* The element which is registered as droppable.
|
|
1624
|
-
*/
|
|
1625
|
-
element?: HTMLElement;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* Represents the configuration object type of the `Droppable` component and `useDroppable` hook.
|
|
1630
|
-
*/
|
|
1631
|
-
export declare interface DroppableOptions {
|
|
1632
|
-
/**
|
|
1633
|
-
* The context to use for the droppable.
|
|
1634
|
-
*/
|
|
1635
|
-
context?: typeof DragAndDropContext;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
/**
|
|
1639
|
-
* Represents the props of the KendoReact Droppable component.
|
|
1640
|
-
*/
|
|
1641
|
-
export declare interface DroppableProps extends DroppableOptions {
|
|
1642
|
-
/**
|
|
1643
|
-
* Fires when the user enters the element during drag.
|
|
1644
|
-
*/
|
|
1645
|
-
onDragEnter?: (event: DroppableDragEnterEvent) => void;
|
|
1646
|
-
/**
|
|
1647
|
-
* Fires when the user is dragging an element over the Droppable component.
|
|
1648
|
-
*/
|
|
1649
|
-
onDragOver?: (event: DroppableDragOverEvent) => void;
|
|
1650
|
-
/**
|
|
1651
|
-
* Fires when the user leaves the element during drag.
|
|
1652
|
-
*/
|
|
1653
|
-
onDragLeave?: (event: DroppableDragLeaveEvent) => void;
|
|
1654
|
-
/**
|
|
1655
|
-
* Fires when the user drops a draggable element inside the Droppable component.
|
|
1656
|
-
*/
|
|
1657
|
-
onDrop?: (event: DroppableDropEvent) => void;
|
|
1658
|
-
/**
|
|
1659
|
-
* Callback to get the child element ref. Useful as the Droppable overrides ref of the child element.
|
|
1660
|
-
*/
|
|
1661
|
-
childRef?: React_2.Ref<HTMLElement | null | {
|
|
1662
|
-
element: HTMLElement | null;
|
|
1663
|
-
[key: string]: any;
|
|
1664
|
-
}>;
|
|
1665
|
-
/** @hidden */
|
|
1666
|
-
children?: React_2.ReactNode;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
declare type ElementMouse = {
|
|
1670
|
-
[P in keyof Required<KendoMouse<any, any>>]: (event: React_2.MouseEvent<any>) => void;
|
|
1671
|
-
};
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* @hidden
|
|
1675
|
-
*/
|
|
1676
|
-
export declare const elements: {
|
|
1677
|
-
table: string;
|
|
1678
|
-
text: string;
|
|
1679
|
-
button: string;
|
|
1680
|
-
tbody: string;
|
|
1681
|
-
thead: string;
|
|
1682
|
-
tr: string;
|
|
1683
|
-
th: string;
|
|
1684
|
-
td: string;
|
|
1685
|
-
header: string;
|
|
1686
|
-
footer: string;
|
|
1687
|
-
icon: string;
|
|
1688
|
-
title: string;
|
|
1689
|
-
subtitle: string;
|
|
1690
|
-
link: string;
|
|
1691
|
-
label: string;
|
|
1692
|
-
ul: string;
|
|
1693
|
-
caption: string;
|
|
1694
|
-
};
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* @hidden
|
|
1698
|
-
*/
|
|
1699
|
-
declare const EMPTY_ID = "";
|
|
1700
|
-
|
|
1701
|
-
/**
|
|
1702
|
-
* @hidden
|
|
1703
|
-
*/
|
|
1704
|
-
export declare const enableNavigatableContainer: (containerElement: HTMLElement, elementsSelectors?: string[]) => void;
|
|
1705
|
-
|
|
1706
|
-
/** Animation states for enter transition */
|
|
1707
|
-
export declare interface Enter extends AnimationStatesClasses {
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
/** Active states for enter transition */
|
|
1711
|
-
export declare interface EnterActive extends AnimationStatesClasses {
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
declare type EqualityFn<TFunc extends (...args: any[]) => any> = (newArgs: Parameters<TFunc>, lastArgs: Parameters<TFunc>) => boolean;
|
|
1715
|
-
|
|
1716
|
-
export declare interface ErrorClasses {
|
|
1717
|
-
/** Wrapper element configurations */
|
|
1718
|
-
wrapper?: {
|
|
1719
|
-
/** Main class for the wrapper */
|
|
1720
|
-
main?: string;
|
|
1721
|
-
/** Direction-related configurations */
|
|
1722
|
-
direction?: {
|
|
1723
|
-
/** Class for start-aligned text */
|
|
1724
|
-
start?: string;
|
|
1725
|
-
/** Class for end-aligned text */
|
|
1726
|
-
end?: string;
|
|
1727
|
-
};
|
|
1728
|
-
};
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
/** Animation states for exit transition */
|
|
1732
|
-
export declare interface Exit extends AnimationStatesClasses {
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
/** Active states for exit transition */
|
|
1736
|
-
export declare interface ExitActive extends AnimationStatesClasses {
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* Animation settings for expand transitions in the Popup component.
|
|
1741
|
-
* Includes horizontal and vertical expand configurations.
|
|
1742
|
-
*/
|
|
1743
|
-
export declare interface ExpandClasses {
|
|
1744
|
-
/** Animation settings for expanding horizontal */
|
|
1745
|
-
horizontal?: PopupAnimationClasses;
|
|
1746
|
-
/** Animation settings for expanding vertical */
|
|
1747
|
-
vertical?: PopupAnimationClasses;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
/**
|
|
1751
|
-
* Similar to the `Object.assign` function. Additionally, creates a new array for the subitems.
|
|
1752
|
-
*
|
|
1753
|
-
* @param {object} item - The source data item.
|
|
1754
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
1755
|
-
* @param {object} propsToExtend - The props with which the source data item will be extended.
|
|
1756
|
-
* @returns {object} - The target data item.
|
|
1757
|
-
*/
|
|
1758
|
-
export declare const extendDataItem: (item: any, subItemsField: string, propsToExtend?: any) => any;
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* @hidden
|
|
1762
|
-
*/
|
|
1763
|
-
export declare const FIELD_REGEX: RegExp;
|
|
1764
|
-
|
|
1765
|
-
/**
|
|
1766
|
-
* Represents the base properties of the render props for the KendoReact form components.
|
|
1767
|
-
*
|
|
1768
|
-
* For runnable examples on forms support, refer to the documentation of the respective form component:
|
|
1769
|
-
* * [DateInput](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput/forms)
|
|
1770
|
-
* * [DatePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/datepicker/forms)
|
|
1771
|
-
* * [TimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/forms)
|
|
1772
|
-
* * [DateTimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/datetimepicker/forms)
|
|
1773
|
-
* * [AutoComplete](https://www.telerik.com/kendo-react-ui/components/dropdowns/autocomplete/forms)
|
|
1774
|
-
* * [ComboBox](https://www.telerik.com/kendo-react-ui/components/dropdowns/combobox/forms)
|
|
1775
|
-
* * [DropDownList](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist/forms)
|
|
1776
|
-
* * [MultiSelect](https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/forms)
|
|
1777
|
-
* * [Input](https://www.telerik.com/kendo-react-ui/components/inputs/input/forms)
|
|
1778
|
-
* * [MaskedTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/forms)
|
|
1779
|
-
* * [NumericTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/forms)
|
|
1780
|
-
* * [Checkbox](https://www.telerik.com/kendo-react-ui/components/inputs/checkbox/forms-support)
|
|
1781
|
-
* * [Switch](https://www.telerik.com/kendo-react-ui/components/inputs/switch/forms-support)
|
|
1782
|
-
*/
|
|
1783
|
-
export declare interface FieldRenderPropsBase {
|
|
1784
|
-
/**
|
|
1785
|
-
* A callback you have to call when the value of the rendered component is changed
|
|
1786
|
-
* ([see example](https://www.telerik.com/kendo-react-ui/components/form/advanced-scenarios#toc-changing-the-field-value)).
|
|
1787
|
-
* The `value` property of the event takes precedence over `target.value`.
|
|
1788
|
-
*/
|
|
1789
|
-
onChange: (event: {
|
|
1790
|
-
target?: any;
|
|
1791
|
-
value?: any;
|
|
1792
|
-
}) => void;
|
|
1793
|
-
/**
|
|
1794
|
-
* A callback you have to call when the rendered component is focused.
|
|
1795
|
-
* Responsible for setting the visited state of the Field.
|
|
1796
|
-
*/
|
|
1797
|
-
onFocus: () => void;
|
|
1798
|
-
/**
|
|
1799
|
-
* A callback you have to call when the rendered component is blurred.
|
|
1800
|
-
* Responsible for setting the touched state of the Field.
|
|
1801
|
-
*/
|
|
1802
|
-
onBlur: () => void;
|
|
1803
|
-
/**
|
|
1804
|
-
* Represents the current value of the Field
|
|
1805
|
-
* ([see example](https://www.telerik.com/kendo-react-ui/components/form/custom-components#toc-using-basic-properties)).
|
|
1806
|
-
*/
|
|
1807
|
-
value: any;
|
|
1808
|
-
/**
|
|
1809
|
-
* Represents the error message that is returned by the validator.
|
|
1810
|
-
* The Field is considered valid if the `validationMessage` field is empty.
|
|
1811
|
-
*/
|
|
1812
|
-
validationMessage: string | null;
|
|
1813
|
-
/**
|
|
1814
|
-
* Indicates if the field is touched.
|
|
1815
|
-
* The touched state is set to `true` when the `onBlur` callback is called.
|
|
1816
|
-
*/
|
|
1817
|
-
touched: boolean;
|
|
1818
|
-
/**
|
|
1819
|
-
* Indicates if the field is modified.
|
|
1820
|
-
* The modified state is set to `true` when the `onChange` callback for the current field is called for first time.
|
|
1821
|
-
*/
|
|
1822
|
-
modified: boolean;
|
|
1823
|
-
/**
|
|
1824
|
-
* Indicates if the field is visited.
|
|
1825
|
-
* The visited state is set to `true` when the `onFocus` callback is called.
|
|
1826
|
-
*/
|
|
1827
|
-
visited: boolean;
|
|
1828
|
-
/**
|
|
1829
|
-
* A calculated property based on whether `validationMessage` is present and the `touched` state is set to `true`.
|
|
1830
|
-
*/
|
|
1831
|
-
valid: boolean;
|
|
1832
|
-
/**
|
|
1833
|
-
* Represents the children that are passed to the Field.
|
|
1834
|
-
*/
|
|
1835
|
-
children: any;
|
|
1836
|
-
/**
|
|
1837
|
-
* The name of the field in the Form state.
|
|
1838
|
-
*/
|
|
1839
|
-
name: string;
|
|
1840
|
-
/**
|
|
1841
|
-
* @hidden
|
|
1842
|
-
*/
|
|
1843
|
-
[customProp: string]: any;
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* @hidden
|
|
1848
|
-
*/
|
|
1849
|
-
export declare const fillModeMap: PresetOption;
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* @hidden
|
|
1853
|
-
*/
|
|
1854
|
-
export declare const firstFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement | undefined;
|
|
1855
|
-
|
|
1856
|
-
export declare interface FloatingLabelClasses {
|
|
1857
|
-
/** Wrapper element configurations */
|
|
1858
|
-
wrapper?: {
|
|
1859
|
-
/** Main class for the wrapper */
|
|
1860
|
-
main?: string;
|
|
1861
|
-
/** Class applied when the element is focused */
|
|
1862
|
-
focused?: string;
|
|
1863
|
-
/** Class applied when the element is empty */
|
|
1864
|
-
empty?: string;
|
|
1865
|
-
/** Class for non-empty state (empty in this case) */
|
|
1866
|
-
notEmpty?: string;
|
|
1867
|
-
/** Class for disabled state */
|
|
1868
|
-
disabled?: string;
|
|
1869
|
-
/** Class applied when in RTL mode */
|
|
1870
|
-
isRtl?: string;
|
|
1871
|
-
};
|
|
1872
|
-
/** Label element configurations */
|
|
1873
|
-
label?: {
|
|
1874
|
-
/** Main class for the label */
|
|
1875
|
-
main?: string;
|
|
1876
|
-
/** Class applied when the label is focused */
|
|
1877
|
-
focused?: string;
|
|
1878
|
-
/** Class applied when the label is empty */
|
|
1879
|
-
empty?: string;
|
|
1880
|
-
/** Class for non-empty label state */
|
|
1881
|
-
notEmpty?: string;
|
|
1882
|
-
/** Class applied when the label is in an invalid state */
|
|
1883
|
-
invalid?: string;
|
|
1884
|
-
/** Class applied when the label is disabled */
|
|
1885
|
-
disabled?: string;
|
|
1886
|
-
};
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
/**
|
|
1890
|
-
* @hidden
|
|
1891
|
-
*/
|
|
1892
|
-
export declare const FOCUSABLE_ELEMENTS: string[];
|
|
1893
|
-
|
|
1894
|
-
/**
|
|
1895
|
-
* @hidden
|
|
1896
|
-
*/
|
|
1897
|
-
export declare const FOCUSABLE_ELEMENTS_BASE: string[];
|
|
1898
|
-
|
|
1899
|
-
/**
|
|
1900
|
-
* @hidden
|
|
1901
|
-
*/
|
|
1902
|
-
export declare const focusableChildren: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement[] | [
|
|
1903
|
-
];
|
|
1904
|
-
|
|
1905
|
-
/**
|
|
1906
|
-
* @hidden
|
|
1907
|
-
*/
|
|
1908
|
-
export declare const focusFirstFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => void;
|
|
1909
|
-
|
|
1910
|
-
/**
|
|
1911
|
-
* @hidden
|
|
1912
|
-
*/
|
|
1913
|
-
export declare const focusLastFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => void;
|
|
1914
|
-
|
|
1915
|
-
export declare interface FormClasses {
|
|
1916
|
-
/** Form configurations */
|
|
1917
|
-
form?: {
|
|
1918
|
-
/** Main class for the form */
|
|
1919
|
-
main?: string;
|
|
1920
|
-
/** Size configurations for the form */
|
|
1921
|
-
size?: {
|
|
1922
|
-
/** Prefix for size classes */
|
|
1923
|
-
prefix?: string;
|
|
1924
|
-
/** Class for small size */
|
|
1925
|
-
small?: string;
|
|
1926
|
-
/** Class for medium size */
|
|
1927
|
-
medium?: string;
|
|
1928
|
-
/** Class for large size */
|
|
1929
|
-
large?: string;
|
|
1930
|
-
};
|
|
1931
|
-
/** Orientation configurations for the form */
|
|
1932
|
-
orientation?: {
|
|
1933
|
-
/** Class for horizontal orientation */
|
|
1934
|
-
horizontal?: string;
|
|
1935
|
-
/** Class for vertical orientation */
|
|
1936
|
-
vertical?: string;
|
|
1937
|
-
};
|
|
1938
|
-
};
|
|
1939
|
-
/** Layout configurations for the form */
|
|
1940
|
-
formLayout?: {
|
|
1941
|
-
/** Main class for form layout */
|
|
1942
|
-
main?: string;
|
|
1943
|
-
};
|
|
1944
|
-
/** Fieldset configurations within the form */
|
|
1945
|
-
fieldset?: {
|
|
1946
|
-
/** Main class for form fieldset */
|
|
1947
|
-
main?: string;
|
|
1948
|
-
/** Layout configurations for the form fieldset */
|
|
1949
|
-
layout?: {
|
|
1950
|
-
/** Main class for form fieldset layout */
|
|
1951
|
-
main?: string;
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
/** Class for the form legend */
|
|
1955
|
-
legend?: {
|
|
1956
|
-
/** Main class for form legend */
|
|
1957
|
-
main?: string;
|
|
1958
|
-
};
|
|
1959
|
-
/** Field configurations within the form */
|
|
1960
|
-
field?: {
|
|
1961
|
-
/** Main class for form fields */
|
|
1962
|
-
main?: string;
|
|
1963
|
-
/** Class indicating right-to-left (RTL) layout */
|
|
1964
|
-
isRtl?: string;
|
|
1965
|
-
};
|
|
1966
|
-
/**
|
|
1967
|
-
* Separator configurations within the form.
|
|
1968
|
-
*/
|
|
1969
|
-
separator?: {
|
|
1970
|
-
/** Main class for form field separator */
|
|
1971
|
-
main?: string;
|
|
1972
|
-
};
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
/**
|
|
1976
|
-
* Form classes
|
|
1977
|
-
*/
|
|
1978
|
-
export declare interface FormClassStructure {
|
|
1979
|
-
/** Form component styling configuration */
|
|
1980
|
-
uForm?: FormClasses;
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
|
-
/**
|
|
1984
|
-
* @hidden
|
|
1985
|
-
*/
|
|
1986
|
-
export declare abstract class FormComponent {
|
|
1987
|
-
abstract get value(): any;
|
|
1988
|
-
abstract get validity(): FormComponentValidity;
|
|
1989
|
-
abstract get name(): string | undefined;
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
/**
|
|
1993
|
-
* Represents the basic props of the KendoReact form components.
|
|
1994
|
-
*
|
|
1995
|
-
* For runnable examples on forms support, refer to the documentation of the respective form component:
|
|
1996
|
-
* * [DateInput](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput/forms)
|
|
1997
|
-
* * [DatePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/datepicker/forms)
|
|
1998
|
-
* * [TimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/forms)
|
|
1999
|
-
* * [DateTimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/datetimepicker/forms)
|
|
2000
|
-
* * [AutoComplete](https://www.telerik.com/kendo-react-ui/components/dropdowns/autocomplete/forms)
|
|
2001
|
-
* * [ComboBox](https://www.telerik.com/kendo-react-ui/components/dropdowns/combobox/forms)
|
|
2002
|
-
* * [DropDownList](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist/forms)
|
|
2003
|
-
* * [MultiSelect](https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/forms)
|
|
2004
|
-
* * [Input](https://www.telerik.com/kendo-react-ui/components/inputs/input/forms)
|
|
2005
|
-
* * [MaskedTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/forms)
|
|
2006
|
-
* * [NumericTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/forms)
|
|
2007
|
-
* * [Checkbox](https://www.telerik.com/kendo-react-ui/components/inputs/checkbox/forms-support)
|
|
2008
|
-
* * [Switch](https://www.telerik.com/kendo-react-ui/components/inputs/switch/forms-support)
|
|
2009
|
-
*/
|
|
2010
|
-
export declare interface FormComponentProps {
|
|
2011
|
-
/**
|
|
2012
|
-
* Controls the form error message of the component. If set to an empty string, no error will be thrown.
|
|
2013
|
-
*
|
|
2014
|
-
* This property is part of the [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops) interface.
|
|
2015
|
-
*/
|
|
2016
|
-
validationMessage?: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* Specifies if `null` is a valid value for the component.
|
|
2019
|
-
*
|
|
2020
|
-
* This property is part of the [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops) interface.
|
|
2021
|
-
*/
|
|
2022
|
-
required?: boolean;
|
|
2023
|
-
/**
|
|
2024
|
-
* Specifies the `name` property of the `input` DOM element.
|
|
2025
|
-
*
|
|
2026
|
-
* This property is part of the [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops) interface.
|
|
2027
|
-
*/
|
|
2028
|
-
name?: string;
|
|
2029
|
-
/**
|
|
2030
|
-
* Overrides the validity state of the component.
|
|
2031
|
-
* If `valid` is set, the `required` property will be ignored.
|
|
2032
|
-
*
|
|
2033
|
-
* This property is part of the [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops) interface.
|
|
2034
|
-
*/
|
|
2035
|
-
valid?: boolean;
|
|
2036
|
-
/**
|
|
2037
|
-
* If set to `false`, no visual representation of the invalid state of the component will be applied.
|
|
2038
|
-
*
|
|
2039
|
-
* This property is part of the [FormComponentProps](https://www.telerik.com/kendo-react-ui/components/common/api/formcomponentprops) interface.
|
|
2040
|
-
*/
|
|
2041
|
-
validityStyles?: boolean;
|
|
2042
|
-
/**
|
|
2043
|
-
* @hidden
|
|
2044
|
-
*/
|
|
2045
|
-
value?: any;
|
|
2046
|
-
/**
|
|
2047
|
-
* @hidden
|
|
2048
|
-
*/
|
|
2049
|
-
defaultValue?: any;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* Represents the `validity` state of the KendoReact form components.
|
|
2054
|
-
*
|
|
2055
|
-
* For runnable examples on forms support, refer to the documentation of the respective form component:
|
|
2056
|
-
* * [DateInput](https://www.telerik.com/kendo-react-ui/components/dateinputs/dateinput/forms)
|
|
2057
|
-
* * [DatePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/datepicker/forms)
|
|
2058
|
-
* * [TimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/forms)
|
|
2059
|
-
* * [DateTimePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/timepicker/forms)
|
|
2060
|
-
* * [AutoComplete](https://www.telerik.com/kendo-react-ui/components/dropdowns/autocomplete/forms)
|
|
2061
|
-
* * [ComboBox](https://www.telerik.com/kendo-react-ui/components/dropdowns/combobox/forms)
|
|
2062
|
-
* * [DropDownList](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist/forms)
|
|
2063
|
-
* * [MultiSelect](https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/forms)
|
|
2064
|
-
* * [Input](https://www.telerik.com/kendo-react-ui/components/inputs/input/forms)
|
|
2065
|
-
* * [MaskedTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/maskedtextbox/forms)
|
|
2066
|
-
* * [NumericTextBox](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/forms)
|
|
2067
|
-
* * [Checkbox](https://www.telerik.com/kendo-react-ui/components/inputs/checkbox/forms-support)
|
|
2068
|
-
* * [Switch](https://www.telerik.com/kendo-react-ui/components/inputs/switch/forms-support)
|
|
2069
|
-
*/
|
|
2070
|
-
export declare interface FormComponentValidity {
|
|
2071
|
-
/**
|
|
2072
|
-
* Indicates whether the user has provided input in the user interface element that the user agent is unable to convert.
|
|
2073
|
-
*/
|
|
2074
|
-
readonly badInput?: boolean;
|
|
2075
|
-
/**
|
|
2076
|
-
* Indicates whether the element has a custom error.
|
|
2077
|
-
*/
|
|
2078
|
-
readonly customError: boolean;
|
|
2079
|
-
/**
|
|
2080
|
-
* Indicates whether the value does not match the specified pattern.
|
|
2081
|
-
*/
|
|
2082
|
-
readonly patternMismatch?: boolean;
|
|
2083
|
-
/**
|
|
2084
|
-
* Indicates whether the value is greater than the maximum specified by the max attribute.
|
|
2085
|
-
*/
|
|
2086
|
-
readonly rangeOverflow?: boolean;
|
|
2087
|
-
/**
|
|
2088
|
-
* Indicates whether the value is less than the minimum specified by the min attribute.
|
|
2089
|
-
*/
|
|
2090
|
-
readonly rangeUnderflow?: boolean;
|
|
2091
|
-
/**
|
|
2092
|
-
* Indicates whether the value does not fit the rules determined by the step attribute.
|
|
2093
|
-
*/
|
|
2094
|
-
readonly stepMismatch?: boolean;
|
|
2095
|
-
/**
|
|
2096
|
-
* Indicates whether the value exceeds the specified maxlength.
|
|
2097
|
-
*/
|
|
2098
|
-
readonly tooLong?: boolean;
|
|
2099
|
-
/**
|
|
2100
|
-
* Indicates whether the value fails to meet the specified minlength.
|
|
2101
|
-
*/
|
|
2102
|
-
readonly tooShort?: boolean;
|
|
2103
|
-
/**
|
|
2104
|
-
* Indicates whether the value is not in the correct syntax when type is email or url.
|
|
2105
|
-
*/
|
|
2106
|
-
readonly typeMismatch?: boolean;
|
|
2107
|
-
/**
|
|
2108
|
-
* Indicates whether the element meets all constraint validations and is therefore considered valid.
|
|
2109
|
-
*/
|
|
2110
|
-
readonly valid: boolean;
|
|
2111
|
-
/**
|
|
2112
|
-
* Indicates whether the element has no value but is a required field.
|
|
2113
|
-
*/
|
|
2114
|
-
readonly valueMissing: boolean;
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
/**
|
|
2118
|
-
* @hidden
|
|
2119
|
-
*/
|
|
2120
|
-
export declare const forms: {
|
|
2121
|
-
form: string;
|
|
2122
|
-
fieldset: string;
|
|
2123
|
-
legend: string;
|
|
2124
|
-
separator: string;
|
|
2125
|
-
field: string;
|
|
2126
|
-
};
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* @hidden
|
|
2130
|
-
*/
|
|
2131
|
-
export declare const getActiveElement: (document: any) => HTMLElement | undefined;
|
|
2132
|
-
|
|
2133
|
-
/**
|
|
2134
|
-
* @hidden
|
|
2135
|
-
*/
|
|
2136
|
-
export declare function getAllDirectIndirectChildrenIds(item: any, itemId: string, childrenField: string, idField: string | undefined): any[];
|
|
2137
|
-
|
|
2138
|
-
/**
|
|
2139
|
-
* @hidden
|
|
2140
|
-
*/
|
|
2141
|
-
export declare function getAllParents(itemId: string, childrenField: string, items: any[]): any[];
|
|
2142
|
-
|
|
2143
|
-
/**
|
|
2144
|
-
* @hidden
|
|
2145
|
-
*/
|
|
2146
|
-
declare function getAllShortIds(itemId: string): string[];
|
|
2147
|
-
|
|
2148
|
-
/**
|
|
2149
|
-
* @hidden
|
|
2150
|
-
*/
|
|
2151
|
-
declare function getDecrementedItemIdAfterRemoval(removedItemId: string, itemId: string): string;
|
|
2152
|
-
|
|
2153
|
-
/**
|
|
2154
|
-
* @hidden
|
|
2155
|
-
*/
|
|
2156
|
-
declare function getDirectParentId(itemId: string): string;
|
|
2157
|
-
|
|
2158
|
-
/**
|
|
2159
|
-
* @hidden
|
|
2160
|
-
*/
|
|
2161
|
-
export declare function getFileExtensionIcon(fileExtension?: string): IconProps & SvgIconProps;
|
|
2162
|
-
|
|
2163
|
-
/**
|
|
2164
|
-
* @hidden
|
|
2165
|
-
*/
|
|
2166
|
-
declare function getFirstChildId(itemId: string): string;
|
|
2167
|
-
|
|
2168
|
-
/**
|
|
2169
|
-
* @hidden
|
|
2170
|
-
*/
|
|
2171
|
-
declare function getIdWithoutRootParentId(itemId: string): string;
|
|
2172
|
-
|
|
2173
|
-
/**
|
|
2174
|
-
* @hidden
|
|
2175
|
-
*/
|
|
2176
|
-
export declare const getInnerActiveElement: any;
|
|
2177
|
-
|
|
2178
|
-
/**
|
|
2179
|
-
* @hidden
|
|
2180
|
-
*/
|
|
2181
|
-
declare function getItemById(itemId: string, items: any, childrenField: string): any;
|
|
2182
|
-
|
|
2183
|
-
/**
|
|
2184
|
-
* Returns the data item path in the tree based on the level parameter.
|
|
2185
|
-
*
|
|
2186
|
-
* @param {any[]} tree - The data tree.
|
|
2187
|
-
* @param {number[]} level - The level of the target tree item.
|
|
2188
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
2189
|
-
* @returns {any[]} - The path of the data item.
|
|
2190
|
-
*/
|
|
2191
|
-
export declare const getItemPath: (tree: any[], level: number[], subItemsField?: string) => any[];
|
|
2192
|
-
|
|
2193
|
-
/**
|
|
2194
|
-
* @hidden
|
|
2195
|
-
*
|
|
2196
|
-
* Returns the notification message to display, if any.
|
|
2197
|
-
*/
|
|
2198
|
-
export declare const getLicenseMessage: (e: PackageMetadata) => LicenseMessage | undefined;
|
|
2199
|
-
|
|
2200
|
-
/**
|
|
2201
|
-
* @hidden
|
|
2202
|
-
*/
|
|
2203
|
-
export declare function getNestedValue(fieldName: string | undefined, dataItem: any): any;
|
|
2204
|
-
|
|
2205
|
-
/**
|
|
2206
|
-
* @hidden
|
|
2207
|
-
*/
|
|
2208
|
-
declare function getRootParentId(itemId: string): string;
|
|
2209
|
-
|
|
2210
|
-
/**
|
|
2211
|
-
* @hidden
|
|
2212
|
-
*/
|
|
2213
|
-
export declare const getScrollbarWidth: () => number | false;
|
|
2214
|
-
|
|
2215
|
-
/**
|
|
2216
|
-
* @hidden
|
|
2217
|
-
*/
|
|
2218
|
-
declare function getShortId(itemId: string): string;
|
|
2219
|
-
|
|
2220
|
-
/**
|
|
2221
|
-
* @hidden
|
|
2222
|
-
*/
|
|
2223
|
-
export declare const getTabIndex: (tabIndex?: number | string, disabled?: boolean, useDefaultTabIndexWhenDisabled?: boolean) => number | undefined;
|
|
2224
|
-
|
|
2225
|
-
/**
|
|
2226
|
-
* Can be used for getting value from object using field path. For example `users[index].name`.
|
|
2227
|
-
*
|
|
2228
|
-
* @example
|
|
2229
|
-
* ```jsx-no-run
|
|
2230
|
-
* const values = {users:[{lastName: 'Doe'}]};
|
|
2231
|
-
* const firstUserLastName = getter('user[0].lastName');
|
|
2232
|
-
*
|
|
2233
|
-
* console.log(firstUserLastName(values))
|
|
2234
|
-
*
|
|
2235
|
-
* // result: 'Doe'
|
|
2236
|
-
* ```
|
|
2237
|
-
*/
|
|
2238
|
-
export declare function getter(field: string): (values: any) => any;
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
2241
|
-
* @hidden
|
|
2242
|
-
*/
|
|
2243
|
-
export declare const grid: {
|
|
2244
|
-
prefix: string;
|
|
2245
|
-
ariaRoot: string;
|
|
2246
|
-
tableWrap: string;
|
|
2247
|
-
master: string;
|
|
2248
|
-
column: string;
|
|
2249
|
-
cell: string;
|
|
2250
|
-
cellInner: string;
|
|
2251
|
-
row: string;
|
|
2252
|
-
group: string;
|
|
2253
|
-
hierarchy: string;
|
|
2254
|
-
detail: string;
|
|
2255
|
-
noRecords: string;
|
|
2256
|
-
pager: string;
|
|
2257
|
-
};
|
|
2258
|
-
|
|
2259
|
-
/**
|
|
2260
|
-
* @hidden
|
|
2261
|
-
*/
|
|
2262
|
-
export declare interface GridClassStructure {
|
|
2263
|
-
/** Grid component styling configuration */
|
|
2264
|
-
uGrid?: WidgetClassStructure;
|
|
2265
|
-
}
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* @hidden
|
|
2269
|
-
*/
|
|
2270
|
-
export declare const gridPrefix: string;
|
|
2271
|
-
|
|
2272
|
-
/**
|
|
2273
|
-
* @hidden
|
|
2274
|
-
*/
|
|
2275
|
-
export declare const gridRowReorder: {
|
|
2276
|
-
drop: string;
|
|
2277
|
-
drag: string;
|
|
2278
|
-
hint: string;
|
|
2279
|
-
vertical: string;
|
|
2280
|
-
horizontal: string;
|
|
2281
|
-
clue: string;
|
|
2282
|
-
reorder: string;
|
|
2283
|
-
};
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* @hidden
|
|
2287
|
-
*/
|
|
2288
|
-
export declare const guid: Function;
|
|
2289
|
-
|
|
2290
|
-
/**
|
|
2291
|
-
* @hidden
|
|
2292
|
-
*/
|
|
2293
|
-
export declare function hasChildren(item: any, childrenField: string): boolean;
|
|
2294
|
-
|
|
2295
|
-
/** @hidden */
|
|
2296
|
-
export declare const hasRelativeStackingContext: (elementSource?: HTMLElement) => boolean;
|
|
2297
|
-
|
|
2298
|
-
/**
|
|
2299
|
-
* @hidden
|
|
2300
|
-
*
|
|
2301
|
-
* Returns `true` if the license is valid, `false` otherwise.
|
|
2302
|
-
* Does not output any warnings to the console.
|
|
2303
|
-
*/
|
|
2304
|
-
export declare const hasValidLicense: (e: any) => boolean;
|
|
2305
|
-
|
|
2306
|
-
export declare interface HintClasses {
|
|
2307
|
-
/** Wrapper element configurations */
|
|
2308
|
-
wrapper?: {
|
|
2309
|
-
/** Main class for the wrapper */
|
|
2310
|
-
main?: string;
|
|
2311
|
-
/** Direction-related configurations */
|
|
2312
|
-
direction?: {
|
|
2313
|
-
/** Class for start-aligned text */
|
|
2314
|
-
start?: string;
|
|
2315
|
-
/** Class for end-aligned text */
|
|
2316
|
-
end?: string;
|
|
2317
|
-
/** Class for disabled state */
|
|
2318
|
-
disabled?: string;
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
/**
|
|
2324
|
-
* Represents the [KendoReact Icon component](https://www.telerik.com/kendo-react-ui/components/common/icon).
|
|
2325
|
-
*
|
|
2326
|
-
* @example
|
|
2327
|
-
* ```jsx
|
|
2328
|
-
* const App = () => {
|
|
2329
|
-
* return (
|
|
2330
|
-
* <Icon name="home"/>
|
|
2331
|
-
* );
|
|
2332
|
-
* };
|
|
2333
|
-
* ```
|
|
2334
|
-
*/
|
|
2335
|
-
export declare const Icon: React_2.ForwardRefExoticComponent<IconProps & React_2.RefAttributes<IconHandle | null>>;
|
|
2336
|
-
|
|
2337
|
-
/**
|
|
2338
|
-
* @hidden
|
|
2339
|
-
*/
|
|
2340
|
-
export declare const icon: {
|
|
2341
|
-
prefix: string;
|
|
2342
|
-
svg: string;
|
|
2343
|
-
i: string;
|
|
2344
|
-
color: string;
|
|
2345
|
-
flipH: string;
|
|
2346
|
-
flipV: string;
|
|
2347
|
-
};
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* Specifies the icon flip direction.
|
|
2351
|
-
*
|
|
2352
|
-
* The possible values are:
|
|
2353
|
-
* * `default` (Default)—No flipping applied.
|
|
2354
|
-
* * `horizontal`—Flips the icon in horizontal direction.
|
|
2355
|
-
* * `vertical`—Flips the icon in vertical direction.
|
|
2356
|
-
* * `both`—Flips the icon in both horizontal and vertical directions.
|
|
2357
|
-
*
|
|
2358
|
-
*/
|
|
2359
|
-
export declare type IconFlip = 'default' | 'horizontal' | 'vertical' | 'both';
|
|
2360
|
-
|
|
2361
|
-
/**
|
|
2362
|
-
* @hidden
|
|
2363
|
-
*/
|
|
2364
|
-
export declare interface IconHandle {
|
|
2365
|
-
/**
|
|
2366
|
-
* The IconHandle element.
|
|
2367
|
-
*/
|
|
2368
|
-
element: HTMLSpanElement | null;
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
/**
|
|
2372
|
-
* Represents the props of the [KendoReact Icon component](https://www.telerik.com/kendo-react-ui/components/common/icon).
|
|
2373
|
-
*/
|
|
2374
|
-
export declare interface IconProps extends BaseIconProps, KendoMouse<IconHandle, HTMLSpanElement> {
|
|
2375
|
-
/**
|
|
2376
|
-
* Represents the name of the icon.
|
|
2377
|
-
*/
|
|
2378
|
-
name?: string;
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
/**
|
|
2382
|
-
* Icons classes
|
|
2383
|
-
*/
|
|
2384
|
-
export declare interface IconsClassStructure {
|
|
2385
|
-
/** SVG icon styling configuration */
|
|
2386
|
-
uSvgIcon?: SVGIconClasses;
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
/**
|
|
2390
|
-
* Represents a React Context which provides you with the option to configure the KendoReact components icons.
|
|
2391
|
-
*/
|
|
2392
|
-
export declare const IconsContext: React_2.Context<IconsContextType>;
|
|
2393
|
-
|
|
2394
|
-
/**
|
|
2395
|
-
* IconsContext type.
|
|
2396
|
-
*/
|
|
2397
|
-
export declare interface IconsContextType {
|
|
2398
|
-
/**
|
|
2399
|
-
* Sets the type of the icons used in the KendoReact components inside IconsContext.
|
|
2400
|
-
*/
|
|
2401
|
-
type?: 'font' | 'svg';
|
|
2402
|
-
/**
|
|
2403
|
-
* Overrides the built-in icons.
|
|
2404
|
-
*/
|
|
2405
|
-
icons?: {
|
|
2406
|
-
[name: string]: SVGIcon | string;
|
|
2407
|
-
};
|
|
2408
|
-
}
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
* Specifies the size of the icon.
|
|
2412
|
-
*
|
|
2413
|
-
* The possible values are:
|
|
2414
|
-
* * `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
|
|
2415
|
-
* * `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
|
|
2416
|
-
* * `small`—Font-size: 14px; Width: 14px; Height: 14px.
|
|
2417
|
-
* * `medium`—Font-size: 16px; Width: 16px; Height: 16px.
|
|
2418
|
-
* * `large`—Font-size: 20px; Width: 20px; Height: 20px.
|
|
2419
|
-
* * `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
|
|
2420
|
-
* * `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
|
|
2421
|
-
* * `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.
|
|
2422
|
-
*
|
|
2423
|
-
*/
|
|
2424
|
-
export declare type IconSize = 'default' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge';
|
|
2425
|
-
|
|
2426
|
-
/**
|
|
2427
|
-
* Specifies the theme color of the Icon.
|
|
2428
|
-
*
|
|
2429
|
-
* The possible values are:
|
|
2430
|
-
* * `inherit` (Default)—Applies coloring based on the current color.
|
|
2431
|
-
* * `primary` —Applies coloring based on primary theme color.
|
|
2432
|
-
* * `secondary`—Applies coloring based on secondary theme color.
|
|
2433
|
-
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
2434
|
-
* * `info`—Applies coloring based on info theme color.
|
|
2435
|
-
* * `success`— Applies coloring based on success theme color.
|
|
2436
|
-
* * `warning`— Applies coloring based on warning theme color.
|
|
2437
|
-
* * `error`— Applies coloring based on error theme color.
|
|
2438
|
-
* * `dark`— Applies coloring based on dark theme color.
|
|
2439
|
-
* * `light`— Applies coloring based on light theme color.
|
|
2440
|
-
* * `inverse`— Applies coloring based on inverse theme color.
|
|
2441
|
-
*
|
|
2442
|
-
* If the property is not set, the icon inherits the color from its parent.
|
|
2443
|
-
*
|
|
2444
|
-
* You can use the `style` prop to apply custom color related properties to the icon.
|
|
2445
|
-
*/
|
|
2446
|
-
export declare type IconThemeColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
2447
|
-
|
|
2448
|
-
/**
|
|
2449
|
-
* @hidden
|
|
2450
|
-
*/
|
|
2451
|
-
export declare const IconWrap: React_2.ForwardRefExoticComponent<IconProps & SvgIconProps & React_2.RefAttributes<(IconHandle & SvgIconHandle) | null>>;
|
|
2452
|
-
|
|
2453
|
-
export declare interface InputClasses {
|
|
2454
|
-
/** Input element configurations */
|
|
2455
|
-
input?: {
|
|
2456
|
-
/** Main class for the input, combining size, rounded, and fill mode */
|
|
2457
|
-
main?: string;
|
|
2458
|
-
/** Disabled state class */
|
|
2459
|
-
disabled?: string;
|
|
2460
|
-
/** Required state class */
|
|
2461
|
-
required?: string;
|
|
2462
|
-
/** Invalid state class */
|
|
2463
|
-
invalid?: string;
|
|
2464
|
-
/** RTL (right-to-left) layout class */
|
|
2465
|
-
isRtl?: string;
|
|
2466
|
-
};
|
|
2467
|
-
/** Clear button class */
|
|
2468
|
-
clearButton?: string;
|
|
2469
|
-
}
|
|
2470
|
-
|
|
2471
|
-
/**
|
|
2472
|
-
* @hidden
|
|
2473
|
-
*/
|
|
2474
|
-
export declare const inputPrefix: string;
|
|
2475
|
-
|
|
2476
|
-
/**
|
|
2477
|
-
* @hidden
|
|
2478
|
-
*/
|
|
2479
|
-
export declare const inputs: {
|
|
2480
|
-
input: string;
|
|
2481
|
-
inner: string;
|
|
2482
|
-
spin: string;
|
|
2483
|
-
spinner: string;
|
|
2484
|
-
maskedtextbox: string;
|
|
2485
|
-
radio: string;
|
|
2486
|
-
textbox: string;
|
|
2487
|
-
prefix: string;
|
|
2488
|
-
suffix: string;
|
|
2489
|
-
};
|
|
2490
|
-
|
|
2491
|
-
/**
|
|
2492
|
-
* Inputs classes
|
|
2493
|
-
*/
|
|
2494
|
-
export declare interface InputsClassStructure {
|
|
2495
|
-
/** Masked text box styling configuration */
|
|
2496
|
-
uMaskedTextBox?: MaskedTextBoxClasses;
|
|
2497
|
-
/** Radio group styling configuration */
|
|
2498
|
-
uRadioGroup?: RadioGroupClasses;
|
|
2499
|
-
/** Radio button styling configuration */
|
|
2500
|
-
uRadioButton?: RadioButtonClasses;
|
|
2501
|
-
/** Text box styling configuration */
|
|
2502
|
-
uTextBox?: TextBoxClasses;
|
|
2503
|
-
/** Input component styling configuration */
|
|
2504
|
-
uInput?: InputClasses;
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
/**
|
|
2508
|
-
* @hidden
|
|
2509
|
-
*/
|
|
2510
|
-
export declare function isArray(operation: string[] | any): operation is any[];
|
|
2511
|
-
|
|
2512
|
-
/**
|
|
2513
|
-
* @hidden
|
|
2514
|
-
*/
|
|
2515
|
-
export declare function isEnabledAndAllParentsEnabled(itemId: string, items: any, fieldsSvc: TreeFieldsService): any;
|
|
2516
|
-
|
|
2517
|
-
/**
|
|
2518
|
-
* @hidden
|
|
2519
|
-
*/
|
|
2520
|
-
declare function isIdEmptyOrZeroLevel(itemId: string): boolean;
|
|
2521
|
-
|
|
2522
|
-
/**
|
|
2523
|
-
* @hidden
|
|
2524
|
-
*/
|
|
2525
|
-
declare function isIdZeroLevel(itemId: string): boolean;
|
|
2526
|
-
|
|
2527
|
-
/**
|
|
2528
|
-
* @hidden
|
|
2529
|
-
*/
|
|
2530
|
-
export declare function isItemExpandedAndWithChildren(item: any, fieldsSvc: TreeFieldsService): boolean | undefined;
|
|
2531
|
-
|
|
2532
|
-
/**
|
|
2533
|
-
* @hidden
|
|
2534
|
-
*/
|
|
2535
|
-
declare function isItemFirstFromSiblings(itemId: string): boolean;
|
|
2536
|
-
|
|
2537
|
-
/** @hidden */
|
|
2538
|
-
export declare function isObject(item: any): any;
|
|
2539
|
-
|
|
2540
|
-
/** @hidden */
|
|
2541
|
-
export declare const isPromise: (value: any) => value is Promise<any>;
|
|
2542
|
-
|
|
2543
|
-
/**
|
|
2544
|
-
* @hidden
|
|
2545
|
-
*/
|
|
2546
|
-
export declare const jsonTheme: KendoTheme;
|
|
2547
|
-
|
|
2548
|
-
/**
|
|
2549
|
-
* @hidden
|
|
2550
|
-
*/
|
|
2551
|
-
export declare const keepFocusInContainer: (e: React.KeyboardEvent, containerElement?: HTMLElement | null, elementsSelectors?: string[]) => void;
|
|
2552
|
-
|
|
2553
|
-
export declare interface KendoMouse<T, E extends HTMLElement> {
|
|
2554
|
-
/**
|
|
2555
|
-
* Fired when the mouse button is pressed down on the element.
|
|
2556
|
-
*/
|
|
2557
|
-
onMouseDown?: (args: KendoMouseEvent<T, E>) => void;
|
|
2558
|
-
/**
|
|
2559
|
-
* Fired when the mouse button is released over the element.
|
|
2560
|
-
*/
|
|
2561
|
-
onMouseUp?: (args: KendoMouseEvent<T, E>) => void;
|
|
2562
|
-
/**
|
|
2563
|
-
* Fired when the element is clicked.
|
|
2564
|
-
*/
|
|
2565
|
-
onClick?: (args: KendoMouseEvent<T, E>) => void;
|
|
2566
|
-
/**
|
|
2567
|
-
* Fired when the element is double-clicked.
|
|
2568
|
-
*/
|
|
2569
|
-
onDoubleClick?: (args: KendoMouseEvent<T, E>) => void;
|
|
2570
|
-
/**
|
|
2571
|
-
* Fired when the mouse pointer enters the element.
|
|
2572
|
-
*/
|
|
2573
|
-
onMouseEnter?: (args: KendoMouseEvent<T, E>) => void;
|
|
2574
|
-
/**
|
|
2575
|
-
* Fired when the mouse pointer leaves the element.
|
|
2576
|
-
*/
|
|
2577
|
-
onMouseLeave?: (args: KendoMouseEvent<T, E>) => void;
|
|
2578
|
-
/**
|
|
2579
|
-
* Fired when the mouse pointer moves over the element.
|
|
2580
|
-
*/
|
|
2581
|
-
onMouseMove?: (args: KendoMouseEvent<T, E>) => void;
|
|
2582
|
-
/**
|
|
2583
|
-
* Fired when the mouse pointer leaves the element or any of its child elements.
|
|
2584
|
-
*/
|
|
2585
|
-
onMouseOut?: (args: KendoMouseEvent<T, E>) => void;
|
|
2586
|
-
/**
|
|
2587
|
-
* Fired when the mouse pointer moves over the element or any of its child elements.
|
|
2588
|
-
*/
|
|
2589
|
-
onMouseOver?: (args: KendoMouseEvent<T, E>) => void;
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
|
-
export declare interface KendoMouseEvent<T, E extends HTMLElement = HTMLElement> {
|
|
2593
|
-
/**
|
|
2594
|
-
* The React synthetic mouse event that triggered the action.
|
|
2595
|
-
*/
|
|
2596
|
-
syntheticEvent: React_2.MouseEvent<E>;
|
|
2597
|
-
/**
|
|
2598
|
-
* The target object that is associated with the event.
|
|
2599
|
-
*/
|
|
2600
|
-
target: T;
|
|
2601
|
-
}
|
|
2602
|
-
|
|
2603
|
-
/**
|
|
2604
|
-
* @hidden
|
|
2605
|
-
*/
|
|
2606
|
-
export declare interface KendoPointer<T, E extends HTMLElement> {
|
|
2607
|
-
onPointerDown?: (args: KendoPointerEvent<T, E>) => void;
|
|
2608
|
-
onPointerMove?: (args: KendoPointerEvent<T, E>) => void;
|
|
2609
|
-
onPointerUp?: (args: KendoPointerEvent<T, E>) => void;
|
|
2610
|
-
onPointerCancel?: (args: KendoPointerEvent<T, E>) => void;
|
|
2611
|
-
onGotPointerCapture?: (args: KendoPointerEvent<T, E>) => void;
|
|
2612
|
-
onLostPointerCapture?: (args: KendoPointerEvent<T, E>) => void;
|
|
2613
|
-
onPointerEnter?: (args: KendoPointerEvent<T, E>) => void;
|
|
2614
|
-
onPointerOver?: (args: KendoPointerEvent<T, E>) => void;
|
|
2615
|
-
onPointerLeave?: (args: KendoPointerEvent<T, E>) => void;
|
|
2616
|
-
onPointerOut?: (args: KendoPointerEvent<T, E>) => void;
|
|
2617
|
-
}
|
|
2618
|
-
|
|
2619
|
-
/**
|
|
2620
|
-
* @hidden
|
|
2621
|
-
*/
|
|
2622
|
-
export declare interface KendoPointerEvent<T, E extends HTMLElement = HTMLElement> {
|
|
2623
|
-
syntheticEvent: React_2.PointerEvent<E>;
|
|
2624
|
-
target: T;
|
|
2625
|
-
}
|
|
2626
|
-
|
|
2627
|
-
/**
|
|
2628
|
-
* @hidden
|
|
2629
|
-
*
|
|
2630
|
-
* Represents the base properties of a KendoReact component.
|
|
2631
|
-
*/
|
|
2632
|
-
export declare interface KendoReactComponentBaseProps {
|
|
2633
|
-
/**
|
|
2634
|
-
* Sets the `id` property of the top div element of the component.
|
|
2635
|
-
*/
|
|
2636
|
-
id?: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* Determines the children nodes.
|
|
2639
|
-
*/
|
|
2640
|
-
children?: React.ReactNode;
|
|
2641
|
-
/**
|
|
2642
|
-
* Sets additional classes to the component.
|
|
2643
|
-
*/
|
|
2644
|
-
className?: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* Sets additional CSS styles to the component.
|
|
2647
|
-
*/
|
|
2648
|
-
style?: React.CSSProperties;
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
|
-
/**
|
|
2652
|
-
* @hidden
|
|
2653
|
-
*/
|
|
2654
|
-
export declare interface KendoTheme {
|
|
2655
|
-
base: PresetOption;
|
|
2656
|
-
animation: PresetOption;
|
|
2657
|
-
containers: PresetOption;
|
|
2658
|
-
components: PresetOption;
|
|
2659
|
-
cssUtils: PresetOption;
|
|
2660
|
-
elements: PresetOption;
|
|
2661
|
-
sizeMap: PresetOption;
|
|
2662
|
-
directionMap: PresetOption;
|
|
2663
|
-
fillModeMap: PresetOption;
|
|
2664
|
-
themeColorMap: PresetOption;
|
|
2665
|
-
roundedMap: PresetOption;
|
|
2666
|
-
cursor: PresetOption;
|
|
2667
|
-
dimensions: PresetOption;
|
|
2668
|
-
states: PresetOption;
|
|
2669
|
-
actions: PresetOption;
|
|
2670
|
-
inputs: PresetOption;
|
|
2671
|
-
dateInputs: PresetOption;
|
|
2672
|
-
forms: PresetOption;
|
|
2673
|
-
labels: PresetOption;
|
|
2674
|
-
popup: PresetOption;
|
|
2675
|
-
icon: PresetOption;
|
|
2676
|
-
grid: PresetOption;
|
|
2677
|
-
orientationMap: PresetOption;
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
/** @hidden */
|
|
2681
|
-
export declare interface KendoThemeMaps {
|
|
2682
|
-
sizeMap: Record<Exclude<any, null>, string>;
|
|
2683
|
-
roundedMap: Record<Exclude<any, null>, string>;
|
|
2684
|
-
orientationMap: Record<Exclude<any, null>, string>;
|
|
2685
|
-
}
|
|
2686
|
-
|
|
2687
|
-
/** @hidden */
|
|
2688
|
-
export declare const kendoThemeMaps: KendoThemeMaps;
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* @hidden
|
|
2692
|
-
*/
|
|
2693
|
-
export declare interface KendoTouch<T, E extends HTMLElement> {
|
|
2694
|
-
onTouchStart?: (args: KendoTouchEvent<T, E>) => void;
|
|
2695
|
-
onTouchMove?: (args: KendoTouchEvent<T, E>) => void;
|
|
2696
|
-
onTouchEnd?: (args: KendoTouchEvent<T, E>) => void;
|
|
2697
|
-
onTouchCancel?: (args: KendoTouchEvent<T, E>) => void;
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
|
-
/**
|
|
2701
|
-
* @hidden
|
|
2702
|
-
*/
|
|
2703
|
-
export declare interface KendoTouchEvent<T, E extends HTMLElement = HTMLElement> {
|
|
2704
|
-
syntheticEvent: React_2.TouchEvent<E>;
|
|
2705
|
-
target: T;
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
|
-
/**
|
|
2709
|
-
* @hidden
|
|
2710
|
-
*/
|
|
2711
|
-
export declare const KEYS: {
|
|
2712
|
-
backspace: string;
|
|
2713
|
-
tab: string;
|
|
2714
|
-
enter: string;
|
|
2715
|
-
shift: string;
|
|
2716
|
-
esc: string;
|
|
2717
|
-
space: string;
|
|
2718
|
-
pageUp: string;
|
|
2719
|
-
pageDown: string;
|
|
2720
|
-
end: string;
|
|
2721
|
-
home: string;
|
|
2722
|
-
left: string;
|
|
2723
|
-
up: string;
|
|
2724
|
-
right: string;
|
|
2725
|
-
down: string;
|
|
2726
|
-
delete: string;
|
|
2727
|
-
};
|
|
2728
|
-
|
|
2729
|
-
/**
|
|
2730
|
-
* @hidden
|
|
2731
|
-
*/
|
|
2732
|
-
export declare const Keys: {
|
|
2733
|
-
backspace: number;
|
|
2734
|
-
tab: number;
|
|
2735
|
-
enter: number;
|
|
2736
|
-
shift: number;
|
|
2737
|
-
esc: number;
|
|
2738
|
-
space: number;
|
|
2739
|
-
pageUp: number;
|
|
2740
|
-
pageDown: number;
|
|
2741
|
-
end: number;
|
|
2742
|
-
home: number;
|
|
2743
|
-
left: number;
|
|
2744
|
-
up: number;
|
|
2745
|
-
right: number;
|
|
2746
|
-
down: number;
|
|
2747
|
-
delete: number;
|
|
2748
|
-
};
|
|
2749
|
-
|
|
2750
|
-
export declare interface LabelClasses {
|
|
2751
|
-
/** Label */
|
|
2752
|
-
label?: {
|
|
2753
|
-
/** Main class for the label */
|
|
2754
|
-
main?: string;
|
|
2755
|
-
/** Class applied when the label is in an empty state */
|
|
2756
|
-
empty?: string;
|
|
2757
|
-
/** Class applied when the label is in an invalid state */
|
|
2758
|
-
invalid?: string;
|
|
2759
|
-
/** Class applied when the label is disabled */
|
|
2760
|
-
disabled?: string;
|
|
2761
|
-
};
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
/**
|
|
2765
|
-
* @hidden
|
|
2766
|
-
*/
|
|
2767
|
-
export declare const labels: {
|
|
2768
|
-
label: string;
|
|
2769
|
-
text: string;
|
|
2770
|
-
floatingLabel: string;
|
|
2771
|
-
container: string;
|
|
2772
|
-
hint: string;
|
|
2773
|
-
error: string;
|
|
2774
|
-
};
|
|
2775
|
-
|
|
2776
|
-
/**
|
|
2777
|
-
* Labels classes
|
|
2778
|
-
*/
|
|
2779
|
-
export declare interface LabelsClassStructure {
|
|
2780
|
-
/** Error message styling configuration */
|
|
2781
|
-
uError?: ErrorClasses;
|
|
2782
|
-
/** Hint text styling configuration */
|
|
2783
|
-
uHint?: HintClasses;
|
|
2784
|
-
/** Label styling configuration */
|
|
2785
|
-
uLabel?: LabelClasses;
|
|
2786
|
-
/** Floating label styling configuration */
|
|
2787
|
-
uFloatingLabel?: FloatingLabelClasses;
|
|
2788
|
-
}
|
|
2789
|
-
|
|
2790
|
-
/**
|
|
2791
|
-
* @hidden
|
|
2792
|
-
*/
|
|
2793
|
-
export declare const lastFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement | undefined;
|
|
2794
|
-
|
|
2795
|
-
/**
|
|
2796
|
-
* @hidden
|
|
2797
|
-
*/
|
|
2798
|
-
export declare interface LicenseMessage {
|
|
2799
|
-
code?: string;
|
|
2800
|
-
licenseType?: string;
|
|
2801
|
-
version?: string;
|
|
2802
|
-
productName?: string;
|
|
2803
|
-
expiration?: string;
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
/**
|
|
2807
|
-
* Creates a new array with the results of calling the provided callback function
|
|
2808
|
-
* on every element in the provided data tree.
|
|
2809
|
-
*
|
|
2810
|
-
* @param {any[]} tree - The data tree.
|
|
2811
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
2812
|
-
* @param {(value: any) => any} callback - The callback function.
|
|
2813
|
-
* @returns {any[]} - The new data tree.
|
|
2814
|
-
*/
|
|
2815
|
-
export declare const mapTree: (tree: any[], subItemsField: string, callback: (value: any) => any) => any[];
|
|
2816
|
-
|
|
2817
|
-
/**
|
|
2818
|
-
* Creates a new array with the results of calling the provided callback function
|
|
2819
|
-
* on the element which match the `level` in the provided data tree.
|
|
2820
|
-
*
|
|
2821
|
-
* @param {any[]} tree - The data tree.
|
|
2822
|
-
* @param {number[]} level - An array of indexes of each parent and current item in the data tree.
|
|
2823
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
2824
|
-
* @param {(value: any) => any} callback - The callback function.
|
|
2825
|
-
* @returns {any[]} - The new data tree.
|
|
2826
|
-
*/
|
|
2827
|
-
export declare const mapTreeItem: (tree: any[], level: number[], subItemsField: string, callback: (value: any) => any) => void;
|
|
2828
|
-
|
|
2829
|
-
/**
|
|
2830
|
-
* The possible values for the Default and Material themes are:
|
|
2831
|
-
* * `xsmall` —Applies 4px margin.
|
|
2832
|
-
* * `small` —Applies 8px margin.
|
|
2833
|
-
* * `medium` —Applies 12px margin.
|
|
2834
|
-
* * `large` —Applies 16px margin.
|
|
2835
|
-
* * `xlarge` —Applies 24px margin.
|
|
2836
|
-
* * `thin` —Applies 2px margin.
|
|
2837
|
-
* * `hair` —Applies 1px margin.
|
|
2838
|
-
* * `number` —Passing a number will apply a margin of 4 times the passed number in pixels. The minimum number value is 0 and the maximum is 24.
|
|
2839
|
-
*
|
|
2840
|
-
* The possible values for the Bootstrap theme are:
|
|
2841
|
-
* * `xsmall` —Applies 0.25rem margin.
|
|
2842
|
-
* * `small` —Applies 0.5rem margin.
|
|
2843
|
-
* * `medium` —Applies 0.75rem margin.
|
|
2844
|
-
* * `large` —Applies 1rem margin.
|
|
2845
|
-
* * `xlarge` —Applies 1.25rem margin.
|
|
2846
|
-
* * `thin` —Applies 0.125rem margin.
|
|
2847
|
-
* * `hair` —Applies 0.0625rem margin.
|
|
2848
|
-
* * `number` —Passing a number will apply a margin equal to the passed number divided by 4 in rem units.
|
|
2849
|
-
* The minimum number value is 0 and the maximum is 24.
|
|
2850
|
-
*/
|
|
2851
|
-
export declare type MarginEnum = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'thin' | 'hair' | number;
|
|
2852
|
-
|
|
2853
|
-
/**
|
|
2854
|
-
* @hidden
|
|
2855
|
-
*/
|
|
2856
|
-
export declare const maskedPrefix: string;
|
|
2857
|
-
|
|
2858
|
-
export declare interface MaskedTextBoxClasses {
|
|
2859
|
-
/** Wrapper configurations for the masked input */
|
|
2860
|
-
wrapper?: {
|
|
2861
|
-
/** Main class for the wrapper */
|
|
2862
|
-
main?: string;
|
|
2863
|
-
/** Class for the input element */
|
|
2864
|
-
input?: string;
|
|
2865
|
-
/** Size configurations for the input */
|
|
2866
|
-
size?: {
|
|
2867
|
-
/** Small size class */
|
|
2868
|
-
small?: string;
|
|
2869
|
-
/** Medium size class */
|
|
2870
|
-
medium?: string;
|
|
2871
|
-
/** Large size class */
|
|
2872
|
-
large?: string;
|
|
2873
|
-
};
|
|
2874
|
-
/** Fill mode configurations for the input */
|
|
2875
|
-
fillMode?: {
|
|
2876
|
-
/** Solid fill mode class */
|
|
2877
|
-
solid?: string;
|
|
2878
|
-
/** Outline fill mode class */
|
|
2879
|
-
outline?: string;
|
|
2880
|
-
/** Flat fill mode class */
|
|
2881
|
-
flat?: string;
|
|
2882
|
-
};
|
|
2883
|
-
/** Rounded border configurations */
|
|
2884
|
-
rounded?: {
|
|
2885
|
-
/** Small rounded border class */
|
|
2886
|
-
small?: string;
|
|
2887
|
-
/** Medium rounded border class */
|
|
2888
|
-
medium?: string;
|
|
2889
|
-
/** Large rounded border class */
|
|
2890
|
-
large?: string;
|
|
2891
|
-
};
|
|
2892
|
-
/** Disabled state class */
|
|
2893
|
-
disabled?: string;
|
|
2894
|
-
/** Invalid state class */
|
|
2895
|
-
invalid?: string;
|
|
2896
|
-
/** RTL (right-to-left) layout class */
|
|
2897
|
-
isRtl?: string;
|
|
2898
|
-
};
|
|
2899
|
-
/** Class for the inner part of the input */
|
|
2900
|
-
inputInner?: string;
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
declare type MemoizedFn<TFunc extends (this: any, ...args: any[]) => any> = {
|
|
2904
|
-
clear: () => void;
|
|
2905
|
-
(this: ThisParameterType<TFunc>, ...args: Parameters<TFunc>): ReturnType<TFunc>;
|
|
2906
|
-
};
|
|
2907
|
-
|
|
2908
|
-
/**
|
|
2909
|
-
* @hidden
|
|
2910
|
-
*/
|
|
2911
|
-
export declare function memoizeOne<TFunc extends (this: any, ...newArgs: any[]) => any>(resultFn: TFunc, isEqualFn?: EqualityFn<TFunc>): MemoizedFn<TFunc>;
|
|
2912
|
-
|
|
2913
|
-
/**
|
|
2914
|
-
* Represents the [KendoReact Navigation functionality](https://www.telerik.com/kendo-react-ui/components/common/navigation).
|
|
2915
|
-
* It handles the navigation through a collection of DOM elements.
|
|
2916
|
-
*/
|
|
2917
|
-
export declare class Navigation {
|
|
2918
|
-
/**
|
|
2919
|
-
* @hidden
|
|
2920
|
-
*/
|
|
2921
|
-
selectors: string[] | string[][];
|
|
2922
|
-
/**
|
|
2923
|
-
* @hidden
|
|
2924
|
-
*/
|
|
2925
|
-
mouseEvents: {
|
|
2926
|
-
[type: string]: (target: HTMLElement, nav: Navigation, ev: React.MouseEvent<HTMLElement>) => void;
|
|
2927
|
-
};
|
|
2928
|
-
/**
|
|
2929
|
-
* @hidden
|
|
2930
|
-
*/
|
|
2931
|
-
keyboardEvents: {
|
|
2932
|
-
[type: string]: {
|
|
2933
|
-
[key: string]: (target: HTMLElement, nav: Navigation, ev: React.KeyboardEvent<HTMLElement>, options?: any) => void;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
/**
|
|
2937
|
-
* @hidden
|
|
2938
|
-
*/
|
|
2939
|
-
tabIndex: number;
|
|
2940
|
-
/**
|
|
2941
|
-
* @hidden
|
|
2942
|
-
*/
|
|
2943
|
-
focusOptions: FocusOptions;
|
|
2944
|
-
/**
|
|
2945
|
-
* @hidden
|
|
2946
|
-
*/
|
|
2947
|
-
root: React.RefObject<HTMLElement | null>;
|
|
2948
|
-
/**
|
|
2949
|
-
* @hidden
|
|
2950
|
-
*/
|
|
2951
|
-
rovingTabIndex?: boolean;
|
|
2952
|
-
/**
|
|
2953
|
-
* @hidden
|
|
2954
|
-
*/
|
|
2955
|
-
focusClass?: string;
|
|
2956
|
-
/**
|
|
2957
|
-
* @hidden
|
|
2958
|
-
*/
|
|
2959
|
-
lastFocused: HTMLElement | null;
|
|
2960
|
-
constructor(options: NavigationOptions);
|
|
2961
|
-
/**
|
|
2962
|
-
* Returns the collection of DOM elements which the module will navigate in.
|
|
2963
|
-
*/
|
|
2964
|
-
get elements(): HTMLElement[];
|
|
2965
|
-
/**
|
|
2966
|
-
* Returns the first navigation DOM element.
|
|
2967
|
-
*/
|
|
2968
|
-
get first(): HTMLElement | null;
|
|
2969
|
-
/**
|
|
2970
|
-
* Returns the last navigation DOM element.
|
|
2971
|
-
*/
|
|
2972
|
-
get last(): HTMLElement | null;
|
|
2973
|
-
/**
|
|
2974
|
-
* Returns the focused DOM element from the navigation collection of DOM elements.
|
|
2975
|
-
*/
|
|
2976
|
-
get current(): HTMLElement | null;
|
|
2977
|
-
/**
|
|
2978
|
-
* Returns the next DOM element from the navigation collection of DOM elements.
|
|
2979
|
-
*/
|
|
2980
|
-
next(target: HTMLElement, selectors?: string[] | string[][]): HTMLElement;
|
|
2981
|
-
/**
|
|
2982
|
-
* Returns the previous DOM element from the navigation collection of DOM elements.
|
|
2983
|
-
*/
|
|
2984
|
-
previous(target: HTMLElement, selectors?: string[] | string[][]): HTMLElement;
|
|
2985
|
-
/**
|
|
2986
|
-
* Focuses the next element from the navigation collection of DOM elements.
|
|
2987
|
-
*/
|
|
2988
|
-
focusNext(target: HTMLElement, selectors?: string[] | string[][]): HTMLElement;
|
|
2989
|
-
/**
|
|
2990
|
-
* Focuses the previous element from the navigation collection of DOM elements.
|
|
2991
|
-
*/
|
|
2992
|
-
focusPrevious(target: HTMLElement, selectors?: string[] | string[][]): HTMLElement;
|
|
2993
|
-
/**
|
|
2994
|
-
* The keyboard events handler.
|
|
2995
|
-
*/
|
|
2996
|
-
triggerKeyboardEvent(ev: React.KeyboardEvent<HTMLElement>, options?: any): void;
|
|
2997
|
-
/**
|
|
2998
|
-
* The mouse events handler.
|
|
2999
|
-
*/
|
|
3000
|
-
triggerMouseEvent(ev: React.MouseEvent<HTMLElement>): void;
|
|
3001
|
-
/**
|
|
3002
|
-
* Focuses the passed element from the navigation collection of DOM elements.
|
|
3003
|
-
*/
|
|
3004
|
-
focusElement(element: HTMLElement | null, previous?: HTMLElement | null): void;
|
|
3005
|
-
/**
|
|
3006
|
-
* Set the first element tabIndex to `1` and `-1` for the rest.
|
|
3007
|
-
*/
|
|
3008
|
-
initializeRovingTab(itemIndex?: number): void;
|
|
3009
|
-
/**
|
|
3010
|
-
* Remove a focus listener.
|
|
3011
|
-
*/
|
|
3012
|
-
removeFocusListener(): void;
|
|
3013
|
-
/**
|
|
3014
|
-
* Remove a focus class.
|
|
3015
|
-
*/
|
|
3016
|
-
removeFocusClass(target: HTMLElement): void;
|
|
3017
|
-
/**
|
|
3018
|
-
* @hidden
|
|
3019
|
-
*/
|
|
3020
|
-
update: () => void;
|
|
3021
|
-
private setFocusClass;
|
|
3022
|
-
private disableTabindexForRest;
|
|
3023
|
-
private focusNextIndex;
|
|
3024
|
-
private customElements;
|
|
3025
|
-
private target;
|
|
3026
|
-
}
|
|
3027
|
-
|
|
3028
|
-
/**
|
|
3029
|
-
* Represents the [Navigation](https://www.telerik.com/kendo-react-ui/components/common/api/navigation) options object.
|
|
3030
|
-
*
|
|
3031
|
-
*/
|
|
3032
|
-
export declare interface NavigationOptions {
|
|
3033
|
-
/**
|
|
3034
|
-
* Sets the tabIndex used by the [Navigation](https://www.telerik.com/kendo-react-ui/components/common/api/navigation).
|
|
3035
|
-
*/
|
|
3036
|
-
tabIndex: number;
|
|
3037
|
-
/**
|
|
3038
|
-
* Sets the root DOM element used by the [Navigation](https://www.telerik.com/kendo-react-ui/components/common/api/navigation).
|
|
3039
|
-
*/
|
|
3040
|
-
root: React.RefObject<HTMLElement | null>;
|
|
3041
|
-
/**
|
|
3042
|
-
* Sets the CSS selectors used by the [Navigation](https://www.telerik.com/kendo-react-ui/components/common/api/navigation). The navigation DOM elements will be queried using the selectors.
|
|
3043
|
-
* Make sure their order matches the navigating order.
|
|
3044
|
-
*/
|
|
3045
|
-
selectors: string[] | string[][];
|
|
3046
|
-
/**
|
|
3047
|
-
* Configures if the roving tabIndex technique will be used in the [Navigation](https://www.telerik.com/kendo-react-ui/components/common/api/navigation). Defaults to `true`.
|
|
3048
|
-
*/
|
|
3049
|
-
rovingTabIndex?: boolean;
|
|
3050
|
-
/**
|
|
3051
|
-
* Sets the options of the focus methods that is used. Defaults to `{ preventScroll: true }`.
|
|
3052
|
-
*/
|
|
3053
|
-
focusOptions?: FocusOptions;
|
|
3054
|
-
/**
|
|
3055
|
-
* Sets the mouse events handlers.
|
|
3056
|
-
*/
|
|
3057
|
-
mouseEvents?: {
|
|
3058
|
-
[type: string]: (target: HTMLElement, nav: Navigation, ev: React.MouseEvent<HTMLElement>) => void;
|
|
3059
|
-
};
|
|
3060
|
-
/**
|
|
3061
|
-
* Sets the keyboard events handlers.
|
|
3062
|
-
*/
|
|
3063
|
-
keyboardEvents?: {
|
|
3064
|
-
[type: string]: {
|
|
3065
|
-
[key: string]: (target: HTMLElement, nav: Navigation, ev: React.KeyboardEvent<HTMLElement>) => void;
|
|
3066
|
-
};
|
|
3067
|
-
};
|
|
3068
|
-
/**
|
|
3069
|
-
* Sets a class to the current focused element.
|
|
3070
|
-
*/
|
|
3071
|
-
focusClass?: string;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
/**
|
|
3075
|
-
* @hidden
|
|
3076
|
-
*/
|
|
3077
|
-
export declare const noop: () => void;
|
|
3078
|
-
|
|
3079
|
-
export { NormalizedDragEvent }
|
|
3080
|
-
|
|
3081
|
-
/**
|
|
3082
|
-
* @hidden
|
|
3083
|
-
*/
|
|
3084
|
-
export declare const orientationMap: PresetOption;
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* @hidden
|
|
3088
|
-
*/
|
|
3089
|
-
export declare const pickerPrefix: string;
|
|
3090
|
-
|
|
3091
|
-
/**
|
|
3092
|
-
* @hidden
|
|
3093
|
-
*/
|
|
3094
|
-
export declare const popup: {
|
|
3095
|
-
prefix: string;
|
|
3096
|
-
};
|
|
3097
|
-
|
|
3098
|
-
/**
|
|
3099
|
-
* Represents the animation class names for enter and exit transitions.
|
|
3100
|
-
* Used for all animation types (slide, fade, zoom, push, expand).
|
|
3101
|
-
*/
|
|
3102
|
-
export declare interface PopupAnimationClasses {
|
|
3103
|
-
/** Enter animation prefix for enter */
|
|
3104
|
-
enter?: string;
|
|
3105
|
-
/** Exit animation prefix for exit */
|
|
3106
|
-
exit?: string;
|
|
3107
|
-
}
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* Defines all animation-related class names and configurations for the Popup component.
|
|
3111
|
-
* Includes slide, zoom, fade, push, and expand animation settings, both active and inactive.
|
|
3112
|
-
* Also provides container and child animation class names.
|
|
3113
|
-
*/
|
|
3114
|
-
export declare interface PopupClasses {
|
|
3115
|
-
/** Prefix for the animation container */
|
|
3116
|
-
animationContainer?: string;
|
|
3117
|
-
/** Prefix for the shown animation container */
|
|
3118
|
-
animationContainerShown?: string;
|
|
3119
|
-
/** Prefix for child animations within the animation */
|
|
3120
|
-
animationChild?: string;
|
|
3121
|
-
/** Prefix for the popup animation */
|
|
3122
|
-
popup?: string;
|
|
3123
|
-
/**
|
|
3124
|
-
* Slide animation configurations for different directions.
|
|
3125
|
-
*/
|
|
3126
|
-
slide?: BaseClasses;
|
|
3127
|
-
/**
|
|
3128
|
-
* Active slide animation configurations for different directions.
|
|
3129
|
-
*/
|
|
3130
|
-
slideActive?: BaseClasses;
|
|
3131
|
-
/**
|
|
3132
|
-
* Zoom animation configurations.
|
|
3133
|
-
*/
|
|
3134
|
-
zoom?: ZoomClasses;
|
|
3135
|
-
/**
|
|
3136
|
-
* Active zoom animation configurations.
|
|
3137
|
-
*/
|
|
3138
|
-
zoomActive?: ZoomClasses;
|
|
3139
|
-
/**
|
|
3140
|
-
* Fade animation configurations.
|
|
3141
|
-
*/
|
|
3142
|
-
fade?: PopupAnimationClasses;
|
|
3143
|
-
/**
|
|
3144
|
-
* Active fade animation configurations.
|
|
3145
|
-
*/
|
|
3146
|
-
fadeActive?: PopupAnimationClasses;
|
|
3147
|
-
/**
|
|
3148
|
-
* Push animation configurations for different directions.
|
|
3149
|
-
*/
|
|
3150
|
-
push?: BaseClasses;
|
|
3151
|
-
/**
|
|
3152
|
-
* Active push animation configurations for different directions.
|
|
3153
|
-
*/
|
|
3154
|
-
pushActive?: BaseClasses;
|
|
3155
|
-
/**
|
|
3156
|
-
* Expand animation configurations for horizontal and vertical directions.
|
|
3157
|
-
*/
|
|
3158
|
-
expand?: ExpandClasses;
|
|
3159
|
-
/**
|
|
3160
|
-
* Active expand animation configurations for horizontal and vertical directions.
|
|
3161
|
-
*/
|
|
3162
|
-
expandActive?: ExpandClasses;
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
/**
|
|
3166
|
-
* Popup classes
|
|
3167
|
-
*/
|
|
3168
|
-
export declare interface PopupClassStructure {
|
|
3169
|
-
/** Popup component styling configuration */
|
|
3170
|
-
uPopup?: PopupClasses;
|
|
3171
|
-
}
|
|
3172
|
-
|
|
3173
|
-
declare type PresetOption = Record<Exclude<any, null>, string>;
|
|
3174
|
-
|
|
3175
|
-
export declare interface RadioButtonClasses {
|
|
3176
|
-
/** Input configurations */
|
|
3177
|
-
input?: {
|
|
3178
|
-
/** Class for the radio input */
|
|
3179
|
-
radio?: string;
|
|
3180
|
-
/** Size configurations for the radio input */
|
|
3181
|
-
size?: {
|
|
3182
|
-
/** Prefix for size classes */
|
|
3183
|
-
prefix?: string;
|
|
3184
|
-
/** Class for small size radio input */
|
|
3185
|
-
small?: string;
|
|
3186
|
-
/** Class for medium size radio input */
|
|
3187
|
-
medium?: string;
|
|
3188
|
-
/** Class for large size radio input */
|
|
3189
|
-
large?: string;
|
|
3190
|
-
};
|
|
3191
|
-
/** Class for invalid state */
|
|
3192
|
-
invalid?: string;
|
|
3193
|
-
/** Class for checked state */
|
|
3194
|
-
checked?: string;
|
|
3195
|
-
};
|
|
3196
|
-
/** Class for wrapping container */
|
|
3197
|
-
wrap?: string;
|
|
3198
|
-
/** Class for the label */
|
|
3199
|
-
label?: string;
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
/**
|
|
3203
|
-
* @hidden
|
|
3204
|
-
*/
|
|
3205
|
-
export declare const radioButtonClasses: RadioButtonClasses;
|
|
3206
|
-
|
|
3207
|
-
export declare interface RadioGroupClasses {
|
|
3208
|
-
/** Unordered list (ul) configurations */
|
|
3209
|
-
ul?: {
|
|
3210
|
-
/** Main class for the ul element */
|
|
3211
|
-
main?: string;
|
|
3212
|
-
/** Class for horizontal list layout */
|
|
3213
|
-
horizontal?: string;
|
|
3214
|
-
/** Class for vertical list layout */
|
|
3215
|
-
vertical?: string;
|
|
3216
|
-
};
|
|
3217
|
-
/** Item configurations inside the ul */
|
|
3218
|
-
item?: {
|
|
3219
|
-
/** Main class for the list item (li) element */
|
|
3220
|
-
main?: string;
|
|
3221
|
-
/** Class for disabled state of list item */
|
|
3222
|
-
disabled?: string;
|
|
3223
|
-
};
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
|
-
/**
|
|
3227
|
-
* @hidden
|
|
3228
|
-
*/
|
|
3229
|
-
export declare const radioGroupClasses: RadioGroupClasses;
|
|
3230
|
-
|
|
3231
|
-
/**
|
|
3232
|
-
* @hidden
|
|
3233
|
-
*/
|
|
3234
|
-
export declare const radioPrefix: string;
|
|
3235
|
-
|
|
3236
|
-
/**
|
|
3237
|
-
* @hidden
|
|
3238
|
-
*/
|
|
3239
|
-
export declare function removeItem(itemId: string, childrenField: string, items: any[]): any[];
|
|
3240
|
-
|
|
3241
|
-
/**
|
|
3242
|
-
* @hidden
|
|
3243
|
-
*/
|
|
3244
|
-
export declare function resolveItemId(publicId: any, idField: string, items: any[], childrenField: string): string | undefined;
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* @hidden
|
|
3248
|
-
*/
|
|
3249
|
-
export declare function resolveItemsIds(publicIds: any[], idField: string, items: any[], childrenField: string): string[];
|
|
3250
|
-
|
|
3251
|
-
/**
|
|
3252
|
-
* @hidden
|
|
3253
|
-
*/
|
|
3254
|
-
export declare const roundedMap: PresetOption;
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* @hidden
|
|
3258
|
-
*/
|
|
3259
|
-
export declare class RowHeightService {
|
|
3260
|
-
private total;
|
|
3261
|
-
private offsets;
|
|
3262
|
-
private heights;
|
|
3263
|
-
constructor(total: number, rowHeight: number);
|
|
3264
|
-
height(rowIndex: number): number;
|
|
3265
|
-
index(position: number): number;
|
|
3266
|
-
offset(rowIndex: number): number;
|
|
3267
|
-
totalHeight(): number;
|
|
3268
|
-
update(startIndex: number, rowHeights: Array<number>): void;
|
|
3269
|
-
}
|
|
3270
|
-
|
|
3271
|
-
/**
|
|
3272
|
-
* @hidden
|
|
3273
|
-
*/
|
|
3274
|
-
declare const SEPARATOR = "_";
|
|
3275
|
-
|
|
3276
|
-
/**
|
|
3277
|
-
* @hidden
|
|
3278
|
-
*/
|
|
3279
|
-
export declare const setScrollbarWidth: (width?: number) => false | undefined;
|
|
3280
|
-
|
|
3281
|
-
/**
|
|
3282
|
-
* Can be used for setting value to object using field path. For example `users[index].name`.
|
|
3283
|
-
*
|
|
3284
|
-
* @example
|
|
3285
|
-
* ```jsx-no-run
|
|
3286
|
-
* const values = {users:[{lastName: 'Doe'}]};
|
|
3287
|
-
* const firstUserFirstName = setter('user[0].firstName');
|
|
3288
|
-
*
|
|
3289
|
-
* firstUserFirstName(values, 'John');
|
|
3290
|
-
*
|
|
3291
|
-
* console.log(values)
|
|
3292
|
-
*
|
|
3293
|
-
* // result: {users:[{firstName: 'John', lastName: 'Doe'}]}
|
|
3294
|
-
* ```
|
|
3295
|
-
*/
|
|
3296
|
-
export declare function setter(field: string): any;
|
|
3297
|
-
|
|
3298
|
-
/** Size options */
|
|
3299
|
-
export declare interface SizeClasses {
|
|
3300
|
-
/** Default size (16px by 16px) */
|
|
3301
|
-
default?: string;
|
|
3302
|
-
/** Extra small size (0.75 times the default size) */
|
|
3303
|
-
xsmall?: string;
|
|
3304
|
-
/** Small size (0.875 times the default size) */
|
|
3305
|
-
small?: string;
|
|
3306
|
-
/** Medium size, same as default (16px by 16px) */
|
|
3307
|
-
medium?: string;
|
|
3308
|
-
/** Large size (1.25 times the default size) */
|
|
3309
|
-
large?: string;
|
|
3310
|
-
/** Extra large size (1.5 times the default size) */
|
|
3311
|
-
xlarge?: string;
|
|
3312
|
-
/** Double extra large size (2 times the default size) */
|
|
3313
|
-
xxlarge?: string;
|
|
3314
|
-
/** Triple extra large size (3 times the default size) */
|
|
3315
|
-
xxxlarge?: string;
|
|
3316
|
-
}
|
|
3317
|
-
|
|
3318
|
-
/**
|
|
3319
|
-
* @hidden
|
|
3320
|
-
*/
|
|
3321
|
-
export declare const sizeMap: PresetOption;
|
|
3322
|
-
|
|
3323
|
-
/**
|
|
3324
|
-
* Defines the animation classes for slide transitions in the Popup component.
|
|
3325
|
-
* Extends PopupAnimationClasses for consistency.
|
|
3326
|
-
*/
|
|
3327
|
-
export declare interface SlideAnimationClasses extends PopupAnimationClasses {
|
|
3328
|
-
}
|
|
3329
|
-
|
|
3330
|
-
/**
|
|
3331
|
-
* Defines the base classes for slide, push, and expand animations in the Popup component.
|
|
3332
|
-
* Contains directional animation settings.
|
|
3333
|
-
*/
|
|
3334
|
-
export declare interface SlideClasses extends BaseClasses {
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
|
-
/**
|
|
3338
|
-
* @hidden
|
|
3339
|
-
*/
|
|
3340
|
-
export declare class SortedPublicItemIds {
|
|
3341
|
-
private objects;
|
|
3342
|
-
init(publicItemIds: any[]): void;
|
|
3343
|
-
hasId(publicItemId: any): boolean;
|
|
3344
|
-
}
|
|
3345
|
-
|
|
3346
|
-
/**
|
|
3347
|
-
* @hidden
|
|
3348
|
-
*/
|
|
3349
|
-
export declare const states: {
|
|
3350
|
-
active: string;
|
|
3351
|
-
adaptive: string;
|
|
3352
|
-
first: string;
|
|
3353
|
-
focus: string;
|
|
3354
|
-
pending: string;
|
|
3355
|
-
last: string;
|
|
3356
|
-
draggable: string;
|
|
3357
|
-
filterable: string;
|
|
3358
|
-
grouping: string;
|
|
3359
|
-
selected: string;
|
|
3360
|
-
highlighted: string;
|
|
3361
|
-
disabled: string;
|
|
3362
|
-
hidden: string;
|
|
3363
|
-
highlight: string;
|
|
3364
|
-
invalid: string;
|
|
3365
|
-
loading: string;
|
|
3366
|
-
required: string;
|
|
3367
|
-
checked: string;
|
|
3368
|
-
empty: string;
|
|
3369
|
-
scrollable: string;
|
|
3370
|
-
sorted: string;
|
|
3371
|
-
sort: string;
|
|
3372
|
-
sticky: string;
|
|
3373
|
-
stretched: string;
|
|
3374
|
-
order: string;
|
|
3375
|
-
alt: string;
|
|
3376
|
-
edit: string;
|
|
3377
|
-
template: string;
|
|
3378
|
-
shown: string;
|
|
3379
|
-
horizontal: string;
|
|
3380
|
-
vertical: string;
|
|
3381
|
-
fullscreen: string;
|
|
3382
|
-
bottom: string;
|
|
3383
|
-
};
|
|
3384
|
-
|
|
3385
|
-
/**
|
|
3386
|
-
* @hidden
|
|
3387
|
-
*/
|
|
3388
|
-
export declare const strippedClassNames: (...args: any[]) => string;
|
|
3389
|
-
|
|
3390
|
-
/** SVG classes configuration */
|
|
3391
|
-
export declare interface SvgClasses {
|
|
3392
|
-
/** Main SVG class, sets fill and flex behavior */
|
|
3393
|
-
main?: string;
|
|
3394
|
-
/** Horizontal flip transformation for the SVG */
|
|
3395
|
-
flipH?: string;
|
|
3396
|
-
/** Vertical flip transformation for the SVG */
|
|
3397
|
-
flipV?: string;
|
|
3398
|
-
}
|
|
3399
|
-
|
|
3400
|
-
/**
|
|
3401
|
-
* @hidden
|
|
3402
|
-
*/
|
|
3403
|
-
export declare interface SVGIcon {
|
|
3404
|
-
/**
|
|
3405
|
-
* The unique name of the icon.
|
|
3406
|
-
*/
|
|
3407
|
-
name: string;
|
|
3408
|
-
/**
|
|
3409
|
-
* The entire SVG content of the icon.
|
|
3410
|
-
*/
|
|
3411
|
-
content: string;
|
|
3412
|
-
/**
|
|
3413
|
-
* The [viewBox](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox)
|
|
3414
|
-
* definition that should be used for the icon.
|
|
3415
|
-
*/
|
|
3416
|
-
viewBox: string;
|
|
3417
|
-
}
|
|
3418
|
-
|
|
3419
|
-
/**
|
|
3420
|
-
* Represents the [KendoReact SvgIcon component](https://www.telerik.com/kendo-react-ui/components/common/svgicon).
|
|
3421
|
-
*
|
|
3422
|
-
* @example
|
|
3423
|
-
* ```jsx
|
|
3424
|
-
* import { accessibility } from '@progress/kendo-svg-icons';
|
|
3425
|
-
*
|
|
3426
|
-
* const App = () => {
|
|
3427
|
-
* return (
|
|
3428
|
-
* <SvgIcon icon={accessibility} />
|
|
3429
|
-
* );
|
|
3430
|
-
* };
|
|
3431
|
-
* ```
|
|
3432
|
-
*/
|
|
3433
|
-
export declare const SvgIcon: React_2.ForwardRefExoticComponent<SvgIconProps & React_2.RefAttributes<SvgIconHandle | null>>;
|
|
3434
|
-
|
|
3435
|
-
/**
|
|
3436
|
-
* SVGIcon Classes
|
|
3437
|
-
*/
|
|
3438
|
-
export declare interface SVGIconClasses {
|
|
3439
|
-
/** Wrapper configuration*/
|
|
3440
|
-
wrapper?: WrapperClasses;
|
|
3441
|
-
/** SVG configuration */
|
|
3442
|
-
svg?: SvgClasses;
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
|
-
/**
|
|
3446
|
-
* @hidden
|
|
3447
|
-
*/
|
|
3448
|
-
export declare interface SvgIconHandle {
|
|
3449
|
-
/**
|
|
3450
|
-
* The SvgIconHandle element.
|
|
3451
|
-
*/
|
|
3452
|
-
element: HTMLSpanElement | null;
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
/**
|
|
3456
|
-
* Represents the props of the [KendoReact SvgIcon component](https://www.telerik.com/kendo-react-ui/components/common/svgicon).
|
|
3457
|
-
*/
|
|
3458
|
-
export declare interface SvgIconProps extends BaseIconProps, React_2.SVGAttributes<HTMLOrSVGElement> {
|
|
3459
|
-
/**
|
|
3460
|
-
* Specifies the SVG icon.
|
|
3461
|
-
*
|
|
3462
|
-
* * The possible keys are:
|
|
3463
|
-
* * `name`—The unique name of the icon.
|
|
3464
|
-
* * `content`—The entire SVG content of the icon.
|
|
3465
|
-
* * `viewBox`—The viewBox definition that should be used for the icon.
|
|
3466
|
-
*/
|
|
3467
|
-
icon?: SVGIcon;
|
|
3468
|
-
/**
|
|
3469
|
-
* Specifies the viewBox of the custom SVG icon.
|
|
3470
|
-
*/
|
|
3471
|
-
viewBox?: string;
|
|
3472
|
-
/**
|
|
3473
|
-
* Specifies a list of CSS classes that will be added to the svg element.
|
|
3474
|
-
*/
|
|
3475
|
-
svgClassName?: string;
|
|
3476
|
-
/**
|
|
3477
|
-
* Sets additional CSS styles to the svg element.
|
|
3478
|
-
*/
|
|
3479
|
-
svgStyle?: React_2.CSSProperties;
|
|
3480
|
-
}
|
|
3481
|
-
|
|
3482
|
-
/**
|
|
3483
|
-
* @hidden
|
|
3484
|
-
*/
|
|
3485
|
-
export declare const svgIconPropType: default_2.Requireable<default_2.InferProps<{
|
|
3486
|
-
name: default_2.Validator<string>;
|
|
3487
|
-
content: default_2.Validator<string>;
|
|
3488
|
-
viewBox: default_2.Validator<string>;
|
|
3489
|
-
}>>;
|
|
3490
|
-
|
|
3491
|
-
/**
|
|
3492
|
-
* @hidden
|
|
3493
|
-
*/
|
|
3494
|
-
export declare const TABBABLE_ELEMENTS: string[];
|
|
3495
|
-
|
|
3496
|
-
export declare interface TextBoxClasses {
|
|
3497
|
-
/** Wrapper configurations for the text box */
|
|
3498
|
-
wrapper?: {
|
|
3499
|
-
/** Main class for the wrapper */
|
|
3500
|
-
main?: string;
|
|
3501
|
-
/** Class for the input element */
|
|
3502
|
-
input?: string;
|
|
3503
|
-
/** Size configurations for the input */
|
|
3504
|
-
size?: {
|
|
3505
|
-
/** Small size class */
|
|
3506
|
-
small?: string;
|
|
3507
|
-
/** Medium size class */
|
|
3508
|
-
medium?: string;
|
|
3509
|
-
/** Large size class */
|
|
3510
|
-
large?: string;
|
|
3511
|
-
};
|
|
3512
|
-
/** Fill mode configurations for the input */
|
|
3513
|
-
fillMode?: {
|
|
3514
|
-
/** Solid fill mode class */
|
|
3515
|
-
solid?: string;
|
|
3516
|
-
/** Outline fill mode class */
|
|
3517
|
-
outline?: string;
|
|
3518
|
-
/** Flat fill mode class */
|
|
3519
|
-
flat?: string;
|
|
3520
|
-
};
|
|
3521
|
-
/** Rounded border configurations */
|
|
3522
|
-
rounded?: {
|
|
3523
|
-
/** Small rounded border class */
|
|
3524
|
-
small?: string;
|
|
3525
|
-
/** Medium rounded border class */
|
|
3526
|
-
medium?: string;
|
|
3527
|
-
/** Large rounded border class */
|
|
3528
|
-
large?: string;
|
|
3529
|
-
};
|
|
3530
|
-
/** Disabled state class */
|
|
3531
|
-
disabled?: string;
|
|
3532
|
-
/** Focused state class */
|
|
3533
|
-
focused?: string;
|
|
3534
|
-
/** Required state class */
|
|
3535
|
-
required?: string;
|
|
3536
|
-
/** Invalid state class */
|
|
3537
|
-
invalid?: string;
|
|
3538
|
-
/** RTL (right-to-left) layout class */
|
|
3539
|
-
isRtl?: string;
|
|
3540
|
-
};
|
|
3541
|
-
/** Class for the inner part of the input */
|
|
3542
|
-
inputInner?: string;
|
|
3543
|
-
/** Prefix configurations for the input */
|
|
3544
|
-
prefix?: {
|
|
3545
|
-
/** Main class for the prefix */
|
|
3546
|
-
main?: string;
|
|
3547
|
-
/** Orientation configurations for the prefix */
|
|
3548
|
-
orientation?: {
|
|
3549
|
-
/** Horizontal orientation class */
|
|
3550
|
-
horizontal?: string;
|
|
3551
|
-
/** Vertical orientation class */
|
|
3552
|
-
vertical?: string;
|
|
3553
|
-
};
|
|
3554
|
-
};
|
|
3555
|
-
/** Suffix configurations for the input */
|
|
3556
|
-
suffix?: {
|
|
3557
|
-
/** Main class for the suffix */
|
|
3558
|
-
main?: string;
|
|
3559
|
-
/** Orientation configurations for the suffix */
|
|
3560
|
-
orientation?: {
|
|
3561
|
-
/** Horizontal orientation class */
|
|
3562
|
-
horizontal?: string;
|
|
3563
|
-
/** Vertical orientation class */
|
|
3564
|
-
vertical?: string;
|
|
3565
|
-
};
|
|
3566
|
-
};
|
|
3567
|
-
}
|
|
3568
|
-
|
|
3569
|
-
/** Theme color options for the wrapper */
|
|
3570
|
-
export declare interface ThemeColorClasses {
|
|
3571
|
-
/** The text color should inherit from its parent */
|
|
3572
|
-
inherit?: string;
|
|
3573
|
-
/** Text color for the primary theme */
|
|
3574
|
-
primary?: string;
|
|
3575
|
-
/** Text color for the secondary theme */
|
|
3576
|
-
secondary?: string;
|
|
3577
|
-
/** Text color for the tertiary theme */
|
|
3578
|
-
tertiary?: string;
|
|
3579
|
-
/** Text color for informational messages */
|
|
3580
|
-
info?: string;
|
|
3581
|
-
/** Text color indicating success */
|
|
3582
|
-
success?: string;
|
|
3583
|
-
/** Text color for warnings */
|
|
3584
|
-
warning?: string;
|
|
3585
|
-
/** Text color indicating errors */
|
|
3586
|
-
error?: string;
|
|
3587
|
-
/** Text color for dark theme */
|
|
3588
|
-
dark?: string;
|
|
3589
|
-
/** Text color for light theme */
|
|
3590
|
-
light?: string;
|
|
3591
|
-
}
|
|
3592
|
-
|
|
3593
|
-
/** Theme colors fill mode options for */
|
|
3594
|
-
export declare interface ThemeColorFillModeClasses {
|
|
3595
|
-
/** Fill mode options for theme colors */
|
|
3596
|
-
fillMode?: {
|
|
3597
|
-
/** Solid fill mode for theme colors */
|
|
3598
|
-
solid?: string;
|
|
3599
|
-
/** Outline fill mode for theme colors */
|
|
3600
|
-
outline?: string;
|
|
3601
|
-
/** Flat fill mode for theme colors */
|
|
3602
|
-
flat?: string;
|
|
3603
|
-
/** Link fill mode for theme colors */
|
|
3604
|
-
link?: string;
|
|
3605
|
-
/** Clear fill mode for theme colors */
|
|
3606
|
-
clear?: string;
|
|
3607
|
-
};
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
|
-
/**
|
|
3611
|
-
* @hidden
|
|
3612
|
-
*/
|
|
3613
|
-
export declare const themeColorMap: PresetOption;
|
|
3614
|
-
|
|
3615
|
-
export declare interface TimeClasses {
|
|
3616
|
-
/** Footer configuration for the date input */
|
|
3617
|
-
footer?: TimeFooterClasses;
|
|
3618
|
-
/** Cancel action class for the date input */
|
|
3619
|
-
cancel?: string;
|
|
3620
|
-
/** Accept action class for the date input */
|
|
3621
|
-
accept?: string;
|
|
3622
|
-
/** Part configuration for the date input */
|
|
3623
|
-
part?: TimePartClasses;
|
|
3624
|
-
/** Header class for the date input */
|
|
3625
|
-
header?: string;
|
|
3626
|
-
/** Now action class for the date input */
|
|
3627
|
-
now?: string;
|
|
3628
|
-
/** List container class for the date input */
|
|
3629
|
-
listContainer?: string;
|
|
3630
|
-
/** Highlighted state class for the date input */
|
|
3631
|
-
highlight?: string;
|
|
3632
|
-
/** List wrapper configuration for the date input */
|
|
3633
|
-
listWrapper?: TimeListWrapperClasses;
|
|
3634
|
-
/** List class for the date input */
|
|
3635
|
-
list?: string;
|
|
3636
|
-
/** Main container configuration for the date input */
|
|
3637
|
-
container?: TimeContainerClasses;
|
|
3638
|
-
/** Container selector class for the date input */
|
|
3639
|
-
containerSelector?: string;
|
|
3640
|
-
/** Separator class for the date input */
|
|
3641
|
-
separator?: string;
|
|
3642
|
-
/** Unordered list class */
|
|
3643
|
-
ul?: string;
|
|
3644
|
-
/** List item class */
|
|
3645
|
-
li?: string;
|
|
3646
|
-
/** Title class for the date input */
|
|
3647
|
-
title?: string;
|
|
3648
|
-
/** Scrollable placeholder class for the date input */
|
|
3649
|
-
scrollablePlaceholder?: string;
|
|
3650
|
-
}
|
|
3651
|
-
|
|
3652
|
-
export declare interface TimeContainerClasses {
|
|
3653
|
-
/** Main container class for the date input */
|
|
3654
|
-
main?: string;
|
|
3655
|
-
/** Scrollable state class for the container */
|
|
3656
|
-
scrollable?: string;
|
|
3657
|
-
/** Content class within the container */
|
|
3658
|
-
content?: string;
|
|
3659
|
-
}
|
|
3660
|
-
|
|
3661
|
-
export declare interface TimeFooterClasses {
|
|
3662
|
-
/** Main footer class for time date input */
|
|
3663
|
-
main?: string;
|
|
3664
|
-
/** Actions container class within the footer */
|
|
3665
|
-
actions?: string;
|
|
3666
|
-
/** Stretched state class for the footer actions */
|
|
3667
|
-
stretched?: string;
|
|
3668
|
-
/** Horizontal alignment class for the footer actions */
|
|
3669
|
-
horizontal?: string;
|
|
3670
|
-
}
|
|
3671
|
-
|
|
3672
|
-
export declare interface TimeListWrapperClasses {
|
|
3673
|
-
/** Main wrapper class for the list */
|
|
3674
|
-
main?: string;
|
|
3675
|
-
/** Focused state class for the list wrapper */
|
|
3676
|
-
focused?: string;
|
|
3677
|
-
}
|
|
3678
|
-
|
|
3679
|
-
export declare interface TimePartClasses {
|
|
3680
|
-
/** Main class for the part of the date input */
|
|
3681
|
-
main?: string;
|
|
3682
|
-
/** Disabled state class for the part */
|
|
3683
|
-
disabled?: string;
|
|
3684
|
-
}
|
|
3685
|
-
|
|
3686
|
-
export declare interface TimePickerClasses {
|
|
3687
|
-
/** Wrapper configuration for the timepicker */
|
|
3688
|
-
wrapper?: TimePickerWrapperClasses;
|
|
3689
|
-
/** Button class for the input component of the timepicker */
|
|
3690
|
-
inputButton?: string;
|
|
3691
|
-
/** Popup configuration for the timepicker */
|
|
3692
|
-
popup?: TimePopupClasses;
|
|
3693
|
-
/** Time selector configuration for the timepicker */
|
|
3694
|
-
timeSelector?: TimeSelectorClasses;
|
|
3695
|
-
}
|
|
3696
|
-
|
|
3697
|
-
export declare interface TimePickerWrapperClasses {
|
|
3698
|
-
/** Main class for the timepicker wrapper */
|
|
3699
|
-
main?: string;
|
|
3700
|
-
/** Input class for the timepicker */
|
|
3701
|
-
input?: string;
|
|
3702
|
-
/** Size configurations for the timepicker */
|
|
3703
|
-
size?: DateTimeSizeClasses;
|
|
3704
|
-
/** Fill mode configurations for the timepicker */
|
|
3705
|
-
fillMode?: DateTimeFillModeClasses;
|
|
3706
|
-
/** Rounded configurations for the timepicker */
|
|
3707
|
-
rounded?: DateTimeRoundedClasses;
|
|
3708
|
-
/** Disabled state class for the timepicker */
|
|
3709
|
-
disabled?: string;
|
|
3710
|
-
/** Required state class for the timepicker */
|
|
3711
|
-
required?: string;
|
|
3712
|
-
/** Invalid state class for the timepicker */
|
|
3713
|
-
invalid?: string;
|
|
3714
|
-
}
|
|
3715
|
-
|
|
3716
|
-
export declare interface TimePopupClasses {
|
|
3717
|
-
/** Main class for the timepicker popup */
|
|
3718
|
-
main?: string;
|
|
3719
|
-
/** Container class for the popup list */
|
|
3720
|
-
container?: string;
|
|
3721
|
-
}
|
|
3722
|
-
|
|
3723
|
-
export declare interface TimeSelectorClasses {
|
|
3724
|
-
/** Main class for the time selector */
|
|
3725
|
-
main?: string;
|
|
3726
|
-
/** Size configurations for the time selector */
|
|
3727
|
-
size?: DateTimeSizeClasses;
|
|
3728
|
-
/** Disabled state class for the time selector */
|
|
3729
|
-
disabled?: string;
|
|
3730
|
-
/** Reset class for the time selector */
|
|
3731
|
-
reset?: string;
|
|
3732
|
-
}
|
|
3733
|
-
|
|
3734
|
-
/**
|
|
3735
|
-
* @hidden
|
|
3736
|
-
*/
|
|
3737
|
-
export declare const toIconClass: (name: string) => string;
|
|
3738
|
-
|
|
3739
|
-
/**
|
|
3740
|
-
* @hidden
|
|
3741
|
-
*/
|
|
3742
|
-
export declare const toIconName: (iconClass: string) => string;
|
|
3743
|
-
|
|
3744
|
-
/**
|
|
3745
|
-
* @hidden
|
|
3746
|
-
*/
|
|
3747
|
-
export declare class TreeFieldsService {
|
|
3748
|
-
focusIdField: string | undefined;
|
|
3749
|
-
private expandField;
|
|
3750
|
-
private selectField;
|
|
3751
|
-
private childrenField;
|
|
3752
|
-
private hasChildrenField;
|
|
3753
|
-
private textField;
|
|
3754
|
-
private disableField;
|
|
3755
|
-
private checkField;
|
|
3756
|
-
private checkIndeterminateField;
|
|
3757
|
-
constructor(treeViewProps: any);
|
|
3758
|
-
expanded(item: any): boolean | undefined;
|
|
3759
|
-
selected(item: any): boolean | undefined;
|
|
3760
|
-
text(item: any): string | undefined;
|
|
3761
|
-
disabled(item: any): boolean | undefined;
|
|
3762
|
-
hasChildren(item: any): boolean | undefined;
|
|
3763
|
-
children(item: any): any[];
|
|
3764
|
-
checked(item: any): boolean | undefined;
|
|
3765
|
-
checkIndeterminate(item: any): boolean | undefined;
|
|
3766
|
-
focusId(item: any): any;
|
|
3767
|
-
getChildrenField(): string;
|
|
3768
|
-
}
|
|
3769
|
-
|
|
3770
|
-
declare namespace treeIdUtils {
|
|
3771
|
-
export {
|
|
3772
|
-
getItemById,
|
|
3773
|
-
getRootParentId,
|
|
3774
|
-
getIdWithoutRootParentId,
|
|
3775
|
-
getFirstChildId,
|
|
3776
|
-
createId,
|
|
3777
|
-
getDirectParentId,
|
|
3778
|
-
isIdEmptyOrZeroLevel,
|
|
3779
|
-
isIdZeroLevel,
|
|
3780
|
-
getAllShortIds,
|
|
3781
|
-
getShortId,
|
|
3782
|
-
isItemFirstFromSiblings,
|
|
3783
|
-
getDecrementedItemIdAfterRemoval,
|
|
3784
|
-
EMPTY_ID,
|
|
3785
|
-
ZERO_LEVEL_ZERO_NODE_ID,
|
|
3786
|
-
SEPARATOR
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
export { treeIdUtils }
|
|
3790
|
-
|
|
3791
|
-
/**
|
|
3792
|
-
* Represents the [KendoReact Typography component](https://www.telerik.com/kendo-react-ui/components/common/typography).
|
|
3793
|
-
*
|
|
3794
|
-
* @example
|
|
3795
|
-
* ```jsx
|
|
3796
|
-
* const App = () => {
|
|
3797
|
-
* return (
|
|
3798
|
-
* <Typography.h2>Heading 2</Typography.h2>
|
|
3799
|
-
* );
|
|
3800
|
-
* };
|
|
3801
|
-
* ```
|
|
3802
|
-
*/
|
|
3803
|
-
export declare const Typography: {
|
|
3804
|
-
h1: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3805
|
-
h2: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3806
|
-
h3: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3807
|
-
h4: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3808
|
-
h5: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3809
|
-
h6: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3810
|
-
p: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3811
|
-
code: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3812
|
-
pre: React_2.ForwardRefExoticComponent<TypographyProps>;
|
|
3813
|
-
};
|
|
3814
|
-
|
|
3815
|
-
/**
|
|
3816
|
-
* @hidden
|
|
3817
|
-
*/
|
|
3818
|
-
export declare interface TypographyHandle {
|
|
3819
|
-
/**
|
|
3820
|
-
* The TypographyHandle element.
|
|
3821
|
-
*/
|
|
3822
|
-
element: HTMLElement | null;
|
|
3823
|
-
}
|
|
3824
|
-
|
|
3825
|
-
/**
|
|
3826
|
-
* Represents the props of the [KendoReact Typography component](https://www.telerik.com/kendo-react-ui/components/common/typography).
|
|
3827
|
-
*/
|
|
3828
|
-
export declare interface TypographyProps extends KendoReactComponentBaseProps {
|
|
3829
|
-
/**
|
|
3830
|
-
* Sets additional CSS styles to the element.
|
|
3831
|
-
*/
|
|
3832
|
-
style?: React.CSSProperties;
|
|
3833
|
-
/**
|
|
3834
|
-
* Specifies a list of CSS classes that will be added to the element.
|
|
3835
|
-
*/
|
|
3836
|
-
className?: string;
|
|
3837
|
-
/**
|
|
3838
|
-
* Overrides the font size applied by the theme typography styles
|
|
3839
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-font-size).
|
|
3840
|
-
*
|
|
3841
|
-
* The possible values are:
|
|
3842
|
-
* * `xsmall`
|
|
3843
|
-
* * `small`
|
|
3844
|
-
* * `medium`
|
|
3845
|
-
* * `large`
|
|
3846
|
-
* * `xlarge`
|
|
3847
|
-
*
|
|
3848
|
-
*/
|
|
3849
|
-
fontSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3850
|
-
/**
|
|
3851
|
-
* Overrides the font weight applied by the theme typography styles
|
|
3852
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-font-weight).
|
|
3853
|
-
*
|
|
3854
|
-
* The possible values are:
|
|
3855
|
-
* * `light`—font-weight: 300
|
|
3856
|
-
* * `normal`—font-weight: 400
|
|
3857
|
-
* * `bold`—For Default and Bootstrap themes—font-weight: 700. For Material theme—font-weight: 500.
|
|
3858
|
-
*
|
|
3859
|
-
*/
|
|
3860
|
-
fontWeight?: 'light' | 'normal' | 'bold';
|
|
3861
|
-
/**
|
|
3862
|
-
* Specifies the applied margin to the element
|
|
3863
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-margin).
|
|
3864
|
-
*
|
|
3865
|
-
* The possible values for the Default and Material themes are:
|
|
3866
|
-
* * `xsmall` —Applies 4px margin.
|
|
3867
|
-
* * `small` —Applies 8px margin.
|
|
3868
|
-
* * `medium` —Applies 12px margin.
|
|
3869
|
-
* * `large` —Applies 16px margin.
|
|
3870
|
-
* * `xlarge` —Applies 24px margin.
|
|
3871
|
-
* * `thin` —Applies 2px margin.
|
|
3872
|
-
* * `hair` —Applies 1px margin.
|
|
3873
|
-
* * `number` —Passing a number will apply a margin of 4 times the passed number in pixels. The minimum number value is 0 and the maximum is 24.
|
|
3874
|
-
* * `object` &smdash;Passing an object allows setting the margins for each side.
|
|
3875
|
-
*
|
|
3876
|
-
* The possible values for the Bootstrap theme are:
|
|
3877
|
-
* * `xsmall` —Applies 0.25rem margin.
|
|
3878
|
-
* * `small` —Applies 0.5rem margin.
|
|
3879
|
-
* * `medium` —Applies 0.75rem margin.
|
|
3880
|
-
* * `large` —Applies 1rem margin.
|
|
3881
|
-
* * `xlarge` —Applies 1.25rem margin.
|
|
3882
|
-
* * `thin` —Applies 0.125rem margin.
|
|
3883
|
-
* * `hair` —Applies 0.0625rem margin.
|
|
3884
|
-
* * `number` —Passing a number will apply a margin equal to the passed number divided by 4 in rem units.
|
|
3885
|
-
* The minimum number value is 0 and the maximum is 24.
|
|
3886
|
-
* * `object` &smdash;Passing an object allows setting the margins for each side.
|
|
3887
|
-
*/
|
|
3888
|
-
margin?: MarginEnum | {
|
|
3889
|
-
top?: MarginEnum;
|
|
3890
|
-
bottom?: MarginEnum;
|
|
3891
|
-
left?: MarginEnum;
|
|
3892
|
-
right?: MarginEnum;
|
|
3893
|
-
};
|
|
3894
|
-
/**
|
|
3895
|
-
* Specifies the text align
|
|
3896
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-text-alignment).
|
|
3897
|
-
*
|
|
3898
|
-
* The possible values are:
|
|
3899
|
-
* * `left`—Applies text-align: left
|
|
3900
|
-
* * `right`—Applies text-align: right
|
|
3901
|
-
* * `center`—Applies text-align: center
|
|
3902
|
-
* * `justify`—Applies text-align: justify
|
|
3903
|
-
*
|
|
3904
|
-
*/
|
|
3905
|
-
textAlign?: 'left' | 'right' | 'center' | 'justify';
|
|
3906
|
-
/**
|
|
3907
|
-
* Specifies the text transform
|
|
3908
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-text-transformation).
|
|
3909
|
-
*
|
|
3910
|
-
* The possible values are:
|
|
3911
|
-
* * `lowercase`—Applies text-transform: lowercase
|
|
3912
|
-
* * `uppercase`—Applies text-transform: uppercase
|
|
3913
|
-
* * `capitalize`—Applies text-transform: capitalize
|
|
3914
|
-
*
|
|
3915
|
-
*/
|
|
3916
|
-
textTransform?: 'lowercase' | 'uppercase' | 'capitalize';
|
|
3917
|
-
/**
|
|
3918
|
-
* Specifies the theme color of the Typography
|
|
3919
|
-
* [see example](https://www.telerik.com/kendo-react-ui/components/common/typography/appearance#toc-theme-color).
|
|
3920
|
-
*
|
|
3921
|
-
* The possible values are:
|
|
3922
|
-
* * `inherit`—Applies coloring based on the current color.
|
|
3923
|
-
* * `primary` —Applies coloring based on primary theme color.
|
|
3924
|
-
* * `secondary`—Applies coloring based on secondary theme color.
|
|
3925
|
-
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
3926
|
-
* * `info`—Applies coloring based on info theme color.
|
|
3927
|
-
* * `success`— Applies coloring based on success theme color.
|
|
3928
|
-
* * `warning`— Applies coloring based on warning theme color.
|
|
3929
|
-
* * `error`— Applies coloring based on error theme color.
|
|
3930
|
-
* * `dark`— Applies coloring based on dark theme color.
|
|
3931
|
-
* * `light`— Applies coloring based on light theme color.
|
|
3932
|
-
* * `inverse`— Applies coloring based on inverse theme color.
|
|
3933
|
-
*
|
|
3934
|
-
* You can use the `style` property to apply custom color related properties to the element.
|
|
3935
|
-
*
|
|
3936
|
-
*/
|
|
3937
|
-
themeColor?: 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
3938
|
-
/**
|
|
3939
|
-
* Sets a custom property to the element.
|
|
3940
|
-
*/
|
|
3941
|
-
[customProp: string]: any;
|
|
3942
|
-
}
|
|
3943
|
-
|
|
3944
|
-
/**
|
|
3945
|
-
* @hidden
|
|
3946
|
-
*/
|
|
3947
|
-
export declare const uAnimation: WidgetClassStructure;
|
|
3948
|
-
|
|
3949
|
-
/**
|
|
3950
|
-
* @hidden
|
|
3951
|
-
*/
|
|
3952
|
-
export declare const uButton: WidgetClassStructure;
|
|
3953
|
-
|
|
3954
|
-
/**
|
|
3955
|
-
* @hidden
|
|
3956
|
-
*/
|
|
3957
|
-
export declare const uButtonGroup: WidgetClassStructure;
|
|
3958
|
-
|
|
3959
|
-
/**
|
|
3960
|
-
* @hidden
|
|
3961
|
-
*/
|
|
3962
|
-
export declare const uCalendar: WidgetClassStructure;
|
|
3963
|
-
|
|
3964
|
-
/**
|
|
3965
|
-
* @hidden
|
|
3966
|
-
*/
|
|
3967
|
-
export declare const uComboBox: WidgetClassStructure;
|
|
3968
|
-
|
|
3969
|
-
/**
|
|
3970
|
-
* @hidden
|
|
3971
|
-
*/
|
|
3972
|
-
export declare const uDateInput: WidgetClassStructure;
|
|
3973
|
-
|
|
3974
|
-
/**
|
|
3975
|
-
* @hidden
|
|
3976
|
-
*/
|
|
3977
|
-
export declare const uDateTimePicker: WidgetClassStructure;
|
|
3978
|
-
|
|
3979
|
-
/**
|
|
3980
|
-
* @hidden
|
|
3981
|
-
*/
|
|
3982
|
-
export declare const uDropDownButton: WidgetClassStructure;
|
|
3983
|
-
|
|
3984
|
-
/**
|
|
3985
|
-
* @hidden
|
|
3986
|
-
*/
|
|
3987
|
-
export declare const uDropDownList: WidgetClassStructure;
|
|
3988
|
-
|
|
3989
|
-
/**
|
|
3990
|
-
* @hidden
|
|
3991
|
-
*/
|
|
3992
|
-
export declare const uDropDownsActionSheet: WidgetClassStructure;
|
|
3993
|
-
|
|
3994
|
-
/**
|
|
3995
|
-
* @hidden
|
|
3996
|
-
*/
|
|
3997
|
-
export declare const uDropDownsBase: WidgetClassStructure;
|
|
3998
|
-
|
|
3999
|
-
/**
|
|
4000
|
-
* @hidden
|
|
4001
|
-
*/
|
|
4002
|
-
export declare const uError: WidgetClassStructure;
|
|
4003
|
-
|
|
4004
|
-
/**
|
|
4005
|
-
* @hidden
|
|
4006
|
-
*/
|
|
4007
|
-
export declare const uFloatingLabel: WidgetClassStructure;
|
|
4008
|
-
|
|
4009
|
-
/**
|
|
4010
|
-
* @hidden
|
|
4011
|
-
*/
|
|
4012
|
-
export declare const uForm: WidgetClassStructure;
|
|
4013
|
-
|
|
4014
|
-
/**
|
|
4015
|
-
* @hidden
|
|
4016
|
-
*/
|
|
4017
|
-
export declare const uGrid: WidgetClassStructure;
|
|
4018
|
-
|
|
4019
|
-
/**
|
|
4020
|
-
* @hidden
|
|
4021
|
-
*/
|
|
4022
|
-
export declare const uHint: WidgetClassStructure;
|
|
4023
|
-
|
|
4024
|
-
/**
|
|
4025
|
-
* @hidden
|
|
4026
|
-
*/
|
|
4027
|
-
export declare const uInput: WidgetClassStructure;
|
|
4028
|
-
|
|
4029
|
-
/**
|
|
4030
|
-
* @hidden
|
|
4031
|
-
*/
|
|
4032
|
-
export declare const uLabel: WidgetClassStructure;
|
|
4033
|
-
|
|
4034
|
-
/**
|
|
4035
|
-
* @hidden
|
|
4036
|
-
*/
|
|
4037
|
-
export declare const uMaskedTextBox: WidgetClassStructure;
|
|
4038
|
-
|
|
4039
|
-
/**
|
|
4040
|
-
* UnstyledContext
|
|
4041
|
-
*/
|
|
4042
|
-
export declare const UnstyledContext: default_3.Context<AllClassStructure | undefined>;
|
|
4043
|
-
|
|
4044
|
-
/**
|
|
4045
|
-
* @hidden
|
|
4046
|
-
*/
|
|
4047
|
-
export declare function updateItem(items: any[], itemId: string, update: (item: any) => void, cloneField: string, childrenField: string): any[];
|
|
4048
|
-
|
|
4049
|
-
/**
|
|
4050
|
-
* @hidden
|
|
4051
|
-
*/
|
|
4052
|
-
export declare const uPopup: WidgetClassStructure;
|
|
4053
|
-
|
|
4054
|
-
/**
|
|
4055
|
-
* @hidden
|
|
4056
|
-
*/
|
|
4057
|
-
export declare const uRadioButton: WidgetClassStructure;
|
|
4058
|
-
|
|
4059
|
-
/**
|
|
4060
|
-
* @hidden
|
|
4061
|
-
*/
|
|
4062
|
-
export declare const uRadioGroup: WidgetClassStructure;
|
|
4063
|
-
|
|
4064
|
-
/** @hidden */
|
|
4065
|
-
export declare const useAdaptiveModeContext: () => AdaptiveModeContextType;
|
|
4066
|
-
|
|
4067
|
-
/**
|
|
4068
|
-
* An utility function for asynchronous focus/blur handling.
|
|
4069
|
-
*
|
|
4070
|
-
* By default, the `onFocus` and `onBlur` callbacks are called every time a child components receives/loses focus.
|
|
4071
|
-
* Use this utility hook for scenarios where you need to know if the parent has received focus for the first time, or completely lost focus.
|
|
4072
|
-
*
|
|
4073
|
-
* @returns
|
|
4074
|
-
*/
|
|
4075
|
-
export declare function useAsyncFocusBlur<T extends any[]>({ onFocus, onBlur, onSyncFocus, onSyncBlur }: AsyncFocusBlurArgs<T>): AsyncFocusBlurArgs<T>;
|
|
4076
|
-
|
|
4077
|
-
/** @hidden */
|
|
4078
|
-
export declare const useCollection: <T extends unknown>(initial?: T[]) => [T[], (event: CollectionAction<T>) => void];
|
|
4079
|
-
|
|
4080
|
-
/**
|
|
4081
|
-
* @hidden
|
|
4082
|
-
*/
|
|
4083
|
-
export declare const useCustomComponent: <P = unknown>(comp: React_2.ExoticComponent<React_2.FragmentProps> | CustomComponent<P> | null) => [string | React_2.ComponentType<P & React_2.RefAttributes<unknown>>, Partial<P>];
|
|
4084
|
-
|
|
4085
|
-
/**
|
|
4086
|
-
* @hidden
|
|
4087
|
-
*/
|
|
4088
|
-
export declare function useDir(elementRef: React_2.RefObject<HTMLElement | null>, initialDir?: string, args?: any): string | undefined;
|
|
4089
|
-
|
|
4090
|
-
/**
|
|
4091
|
-
* Returns a function, which gets the `ownerDocument` of the element.
|
|
4092
|
-
*/
|
|
4093
|
-
export declare const useDocument: (ref: React_2.RefObject<HTMLElement | null | {
|
|
4094
|
-
element: HTMLElement | null;
|
|
4095
|
-
}>) => () => Document;
|
|
4096
|
-
|
|
4097
|
-
/**
|
|
4098
|
-
* Represents the KendoReact `useDraggable` hook.
|
|
4099
|
-
* Use it to attach `drag` events to a native HTML DOM elements, or custom React Components.
|
|
4100
|
-
*
|
|
4101
|
-
* For more information, refer to the [KendoReact Draggable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/draggable) article.
|
|
4102
|
-
*
|
|
4103
|
-
* @param ref - The `ref` of the HTML Element or React Component which will enable the `draggable` functionality.
|
|
4104
|
-
* @param callbacks - A collection of callbacks, called by the `useDraggable` hook when a specific action occurs.
|
|
4105
|
-
* @param options - Additional configuration of the `useDraggable` hook.
|
|
4106
|
-
*/
|
|
4107
|
-
export declare function useDraggable(ref: React_2.RefObject<HTMLElement | null | {
|
|
4108
|
-
element: HTMLElement | null;
|
|
4109
|
-
}>, callbacks: {
|
|
4110
|
-
onPress?: (event: NormalizedDragEvent) => void;
|
|
4111
|
-
onRelease?: (event: NormalizedDragEvent) => void;
|
|
4112
|
-
onDragStart?: (event: NormalizedDragEvent) => void;
|
|
4113
|
-
onDrag?: (event: NormalizedDragEvent) => void;
|
|
4114
|
-
onDragEnd?: (event: NormalizedDragEvent) => void;
|
|
4115
|
-
}, options?: DraggableOptions): void;
|
|
4116
|
-
|
|
4117
|
-
/**
|
|
4118
|
-
* Represents the KendoReact `useDroppable` hook.
|
|
4119
|
-
* Use it to attach `drop` events to a native HTML DOM elements, or custom React Components.
|
|
4120
|
-
*
|
|
4121
|
-
* For more information, refer to the [KendoReact Droppable](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/droppable) article.
|
|
4122
|
-
*
|
|
4123
|
-
* @param ref - The `ref` of the HTML Element or React Component which will enable the `droppable` functionality.
|
|
4124
|
-
* @param callbacks - A collection of callbacks, called by the `useDroppable` hook when a specific action occurs.
|
|
4125
|
-
* @param options - The options for the `useDroppable` hook.
|
|
4126
|
-
*/
|
|
4127
|
-
export declare function useDroppable(ref: React_2.RefObject<HTMLElement | null | {
|
|
4128
|
-
element: HTMLElement | null;
|
|
4129
|
-
}>, callbacks?: {
|
|
4130
|
-
onDragEnter?: (event: NormalizedDragEvent) => void;
|
|
4131
|
-
onDragOver?: (event: NormalizedDragEvent) => void;
|
|
4132
|
-
onDragLeave?: (event: NormalizedDragEvent) => void;
|
|
4133
|
-
onDrop?: (event: NormalizedDragEvent) => void;
|
|
4134
|
-
}, options?: DroppableOptions): void;
|
|
4135
|
-
|
|
4136
|
-
/** @hidden */
|
|
4137
|
-
export declare function useId(id?: string): any;
|
|
4138
|
-
|
|
4139
|
-
/**
|
|
4140
|
-
* @hidden
|
|
4141
|
-
*/
|
|
4142
|
-
export declare const useImmediateInheritState: <T>(defaultValue: T, propValue?: T | undefined) => {
|
|
4143
|
-
value: T;
|
|
4144
|
-
};
|
|
4145
|
-
|
|
4146
|
-
/** @hidden */
|
|
4147
|
-
export declare const useIsomorphicLayoutEffect: typeof React_2.useEffect;
|
|
4148
|
-
|
|
4149
|
-
/**
|
|
4150
|
-
* @hidden
|
|
4151
|
-
*/
|
|
4152
|
-
export declare const useMouse: <E extends HTMLElement | null, P extends KendoMouse<any, any>, R extends unknown>(props: P, target: React_2.RefObject<R | null>, extend?: {
|
|
4153
|
-
onMouseDown?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4154
|
-
onMouseUp?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4155
|
-
onClick?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4156
|
-
onDoubleClick?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4157
|
-
onMouseEnter?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4158
|
-
onMouseLeave?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4159
|
-
onMouseMove?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4160
|
-
onMouseOut?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4161
|
-
onMouseOver?: ((event: React_2.MouseEvent<E, MouseEvent>) => void) | undefined;
|
|
4162
|
-
}) => ElementMouse;
|
|
4163
|
-
|
|
4164
|
-
/** @hidden */
|
|
4165
|
-
export declare const usePropsContext: <T extends unknown>(context: React_2.Context<(p: T) => T>, props: T) => T;
|
|
4166
|
-
|
|
4167
|
-
/**
|
|
4168
|
-
* @hidden
|
|
4169
|
-
*/
|
|
4170
|
-
export declare function useRtl(elementRef: React_2.RefObject<HTMLElement | null>, initialDir?: string, args?: any): string | undefined;
|
|
4171
|
-
|
|
4172
|
-
/**
|
|
4173
|
-
* useUnstyled
|
|
4174
|
-
*/
|
|
4175
|
-
export declare const useUnstyled: () => AllClassStructure | undefined;
|
|
4176
|
-
|
|
4177
|
-
/**
|
|
4178
|
-
* Returns a function, which gets the `defaultView` based on the `ownerDocument` of the element.
|
|
4179
|
-
*/
|
|
4180
|
-
export declare const useWindow: (ref: React_2.RefObject<HTMLElement | null | {
|
|
4181
|
-
element: HTMLElement | null;
|
|
4182
|
-
}>) => () => Window;
|
|
4183
|
-
|
|
4184
|
-
/** @hidden */
|
|
4185
|
-
export declare const useZIndexContext: () => ZIndexContextType;
|
|
4186
|
-
|
|
4187
|
-
/**
|
|
4188
|
-
* @hidden
|
|
4189
|
-
*/
|
|
4190
|
-
export declare const uSvgIcon: WidgetClassStructure;
|
|
4191
|
-
|
|
4192
|
-
/**
|
|
4193
|
-
* @hidden
|
|
4194
|
-
*/
|
|
4195
|
-
export declare const uTextBox: WidgetClassStructure;
|
|
4196
|
-
|
|
4197
|
-
/**
|
|
4198
|
-
* @hidden
|
|
4199
|
-
*/
|
|
4200
|
-
export declare const uTime: WidgetClassStructure;
|
|
4201
|
-
|
|
4202
|
-
/**
|
|
4203
|
-
* @hidden
|
|
4204
|
-
*/
|
|
4205
|
-
export declare const uTimePicker: WidgetClassStructure;
|
|
4206
|
-
|
|
4207
|
-
/**
|
|
4208
|
-
* @hidden
|
|
4209
|
-
*/
|
|
4210
|
-
export declare const validatePackage: (e: any, additionalInfo: {
|
|
4211
|
-
component: string;
|
|
4212
|
-
features?: string[];
|
|
4213
|
-
}) => boolean;
|
|
4214
|
-
|
|
4215
|
-
/**
|
|
4216
|
-
*
|
|
4217
|
-
* @hidden
|
|
4218
|
-
*/
|
|
4219
|
-
export declare const WatermarkOverlay: (props: WatermarkOverlayProps) => JSX.Element;
|
|
4220
|
-
|
|
4221
|
-
/**
|
|
4222
|
-
*
|
|
4223
|
-
* @hidden
|
|
4224
|
-
*/
|
|
4225
|
-
export declare interface WatermarkOverlayProps {
|
|
4226
|
-
message?: LicenseMessage;
|
|
4227
|
-
}
|
|
4228
|
-
|
|
4229
|
-
/**
|
|
4230
|
-
* @hidden
|
|
4231
|
-
*/
|
|
4232
|
-
export declare interface WidgetClassStructure {
|
|
4233
|
-
[key: string]: (props: {
|
|
4234
|
-
[key: string]: any;
|
|
4235
|
-
}) => {
|
|
4236
|
-
[key: string]: boolean;
|
|
4237
|
-
} | string;
|
|
4238
|
-
}
|
|
4239
|
-
|
|
4240
|
-
/** @hidden */
|
|
4241
|
-
export declare const withAdaptiveModeContext: <P extends object>(Component: React_2.ComponentType<React_2.PropsWithoutRef<P>>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
4242
|
-
|
|
4243
|
-
/** @hidden */
|
|
4244
|
-
export declare const withIdHOC: <P extends object>(Component: React_2.ComponentType<React_2.PropsWithoutRef<P>>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
4245
|
-
|
|
4246
|
-
/** @hidden */
|
|
4247
|
-
export declare const withPropsContext: <T extends unknown>(context: React_2.Context<(p: React_2.PropsWithoutRef<T>) => React_2.PropsWithoutRef<T>>, Component: React_2.ComponentType<T>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<T> & React_2.RefAttributes<any>>;
|
|
4248
|
-
|
|
4249
|
-
/** @hidden */
|
|
4250
|
-
export declare const withUnstyledHOC: <P extends object>(Component: React_2.ComponentType<React_2.PropsWithoutRef<P>>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
4251
|
-
|
|
4252
|
-
/** @hidden */
|
|
4253
|
-
export declare const withZIndexContext: <P extends object>(Component: React_2.ComponentType<React_2.PropsWithoutRef<P>>) => React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<P> & React_2.RefAttributes<any>>;
|
|
4254
|
-
|
|
4255
|
-
/** Wrapper classes configuration */
|
|
4256
|
-
export declare interface WrapperClasses {
|
|
4257
|
-
/** Main wrapper class */
|
|
4258
|
-
main?: string;
|
|
4259
|
-
/** SVG prefix class */
|
|
4260
|
-
svgPrefix?: string;
|
|
4261
|
-
/** SVG name prefix class */
|
|
4262
|
-
namePrefix?: string;
|
|
4263
|
-
/** Horizontal flip transformation */
|
|
4264
|
-
flipH?: string;
|
|
4265
|
-
/** Vertical flip transformation */
|
|
4266
|
-
flipV?: string;
|
|
4267
|
-
/** Theme color options for the wrapper */
|
|
4268
|
-
themeColor?: ThemeColorClasses;
|
|
4269
|
-
/** Size options for the wrapper */
|
|
4270
|
-
size?: SizeClasses;
|
|
4271
|
-
}
|
|
4272
|
-
|
|
4273
|
-
/**
|
|
4274
|
-
* @hidden
|
|
4275
|
-
*/
|
|
4276
|
-
declare const ZERO_LEVEL_ZERO_NODE_ID = "0";
|
|
4277
|
-
|
|
4278
|
-
/** @hidden */
|
|
4279
|
-
export declare const ZIndexContext: React_2.Context<ZIndexContextType>;
|
|
4280
|
-
|
|
4281
|
-
/** @hidden */
|
|
4282
|
-
export declare type ZIndexContextType = number | undefined;
|
|
4283
|
-
|
|
4284
|
-
/**
|
|
4285
|
-
* Animation settings for zoom transitions in the Popup component.
|
|
4286
|
-
* Includes zoom in and zoom out configurations.
|
|
4287
|
-
*/
|
|
4288
|
-
export declare interface ZoomClasses {
|
|
4289
|
-
/** Animation settings for zooming in */
|
|
4290
|
-
in?: PopupAnimationClasses;
|
|
4291
|
-
/** Animation settings for zooming out */
|
|
4292
|
-
out?: PopupAnimationClasses;
|
|
4293
|
-
}
|
|
4294
|
-
|
|
4295
|
-
export { }
|
|
8
|
+
import * as treeIdUtils from './tree-utils/itemIdUtils.js';
|
|
9
|
+
export * from './contexts/ZIndexContext.js';
|
|
10
|
+
export * from './contexts/AdaptiveModeContext.js';
|
|
11
|
+
export * from './browser-support.service.js';
|
|
12
|
+
export * from './canUseDOM.js';
|
|
13
|
+
export * from './canUseRef.js';
|
|
14
|
+
export * from './classNames.js';
|
|
15
|
+
export * from './clone.js';
|
|
16
|
+
export * from './trappedFocus.js';
|
|
17
|
+
export * from './FormComponent.js';
|
|
18
|
+
export * from './getTabIndex.js';
|
|
19
|
+
export * from './getter.js';
|
|
20
|
+
export * from './guid.js';
|
|
21
|
+
export * from './keys.js';
|
|
22
|
+
export * from './noop.js';
|
|
23
|
+
export * from './scrollbarWidth.js';
|
|
24
|
+
export * from './setter.js';
|
|
25
|
+
export * from './constants/main.js';
|
|
26
|
+
export * from './treeDataOperations.js';
|
|
27
|
+
export * from './validate-package.js';
|
|
28
|
+
export * from './hasRelativeStackingContext.js';
|
|
29
|
+
export * from './watermark/WatermarkOverlay.js';
|
|
30
|
+
export * from './apply-default-props.js';
|
|
31
|
+
export * from './events/BaseEvent.js';
|
|
32
|
+
export * from './events/dispatchEvent.js';
|
|
33
|
+
export * from './hocs/AsyncFocusBlur.js';
|
|
34
|
+
export * from './hocs/withPropsContext.js';
|
|
35
|
+
export * from './hocs/use-id-hoc.js';
|
|
36
|
+
export * from './hocs/use-unstyled-hoc.js';
|
|
37
|
+
export * from './hocs/use-adaptive-mode-hoc.js';
|
|
38
|
+
export * from './hocs/withzIndexContext.js';
|
|
39
|
+
export * from './hooks/useDir.js';
|
|
40
|
+
export * from './hooks/useAsyncFocusBlur.js';
|
|
41
|
+
export * from './hooks/useRtl.js';
|
|
42
|
+
export * from './hooks/useMouse.js';
|
|
43
|
+
export * from './hooks/useCustomComponent.js';
|
|
44
|
+
export * from './hooks/usePropsContext.js';
|
|
45
|
+
export * from './hooks/useCollection.js';
|
|
46
|
+
export * from './hooks/useDocument.js';
|
|
47
|
+
export * from './hooks/useWindow.js';
|
|
48
|
+
export * from './hooks/use-id.js';
|
|
49
|
+
export * from './hooks/use-isomorphic-layout-effect.js';
|
|
50
|
+
export * from './hooks/use-immediate-inherit-state.js';
|
|
51
|
+
export * from './models/index.js';
|
|
52
|
+
export * from './icons/Icon.js';
|
|
53
|
+
export * from './icons/SvgIcon.js';
|
|
54
|
+
export * from './icons/IconWrap.js';
|
|
55
|
+
export * from './icons/IconsContext.js';
|
|
56
|
+
export * from './icons/models/flip.js';
|
|
57
|
+
export * from './icons/models/size.js';
|
|
58
|
+
export * from './icons/models/theme-color.js';
|
|
59
|
+
export * from './icons/utils.js';
|
|
60
|
+
export * from './typography/models/margin.js';
|
|
61
|
+
export * from './typography/TypographyProps.js';
|
|
62
|
+
export * from './typography/Typography.js';
|
|
63
|
+
export * from './drag-n-drop/index.js';
|
|
64
|
+
export * from './Draggable.js';
|
|
65
|
+
export * from './Droppable.js';
|
|
66
|
+
export * from './hooks/useDraggable.js';
|
|
67
|
+
export * from './hooks/useDroppable.js';
|
|
68
|
+
export * from './theme.js';
|
|
69
|
+
export * from './memoize.js';
|
|
70
|
+
export * from './navigation.js';
|
|
71
|
+
export * from './getActiveElement.js';
|
|
72
|
+
export * from './fileExtensionIcon.js';
|
|
73
|
+
export * from './apply-default-props.js';
|
|
74
|
+
export * from './tree-utils/FieldsService.js';
|
|
75
|
+
export * from './tree-utils/SortedPublicItemIds.js';
|
|
76
|
+
export { treeIdUtils };
|
|
77
|
+
export * from './tree-utils/itemUtils.js';
|
|
78
|
+
export * from './tree-utils/misc.js';
|
|
79
|
+
export * from './rowHeightService.js';
|
|
80
|
+
export * from './unstyled/main.js';
|
|
81
|
+
export * from './deep-merge.js';
|