@progress/kendo-vue-common 5.3.0-dev.202410141143 → 5.3.0-develop.2
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.js +8 -0
- package/Draggable.mjs +50 -0
- package/browser-support.service.js +8 -0
- package/browser-support.service.mjs +21 -0
- package/canUseDOM.js +8 -0
- package/canUseDOM.mjs +12 -0
- package/classNames.js +8 -0
- package/classNames.mjs +12 -0
- package/clone.js +8 -0
- package/clone.mjs +41 -0
- package/constants/main.js +8 -0
- package/constants/main.mjs +11 -0
- package/defaultSlots.js +8 -0
- package/defaultSlots.mjs +14 -0
- package/dist/cdn/js/kendo-vue-common.js +8 -1
- package/focus.js +8 -0
- package/focus.mjs +56 -0
- package/getActiveElement.js +8 -0
- package/getActiveElement.mjs +18 -0
- package/getTabIndex.js +8 -0
- package/getTabIndex.mjs +15 -0
- package/getter.js +8 -0
- package/getter.mjs +27 -0
- package/guid.js +8 -0
- package/guid.mjs +16 -0
- package/hasRelativeStackingContext.js +8 -0
- package/hasRelativeStackingContext.mjs +24 -0
- package/icons/FontIcon.js +8 -0
- package/icons/FontIcon.mjs +75 -0
- package/icons/Icon.js +8 -0
- package/icons/Icon.mjs +89 -0
- package/icons/SvgIcon.js +8 -0
- package/icons/SvgIcon.mjs +97 -0
- package/icons/constants.js +8 -0
- package/icons/constants.mjs +20 -0
- package/icons/getIconName.js +8 -0
- package/icons/getIconName.mjs +13 -0
- package/index.d.mts +966 -0
- package/index.d.ts +966 -0
- package/index.js +8 -0
- package/index.mjs +90 -0
- package/isObject.js +8 -0
- package/isObject.mjs +11 -0
- package/isRtl.js +8 -0
- package/isRtl.mjs +23 -0
- package/keys.js +8 -0
- package/keys.mjs +27 -0
- package/listeners.js +8 -0
- package/listeners.mjs +26 -0
- package/navigation.js +8 -0
- package/navigation.mjs +66 -0
- package/noop.js +8 -0
- package/noop.mjs +12 -0
- package/package.json +28 -29
- package/refs.js +8 -0
- package/refs.mjs +19 -0
- package/scrollbarWidth.js +8 -0
- package/scrollbarWidth.mjs +19 -0
- package/setter.js +8 -0
- package/setter.mjs +27 -0
- package/templateRendering.js +8 -0
- package/templateRendering.mjs +70 -0
- package/theme.js +8 -0
- package/theme.mjs +22 -0
- package/treeDataOperations.js +8 -0
- package/treeDataOperations.mjs +52 -0
- package/validate-package.js +11 -0
- package/validate-package.mjs +30 -0
- package/watermark/WatermarkOverlay.js +8 -0
- package/watermark/WatermarkOverlay.mjs +135 -0
- package/dist/es/Draggable.d.ts +0 -64
- package/dist/es/Draggable.js +0 -85
- package/dist/es/FormComponent.d.ts +0 -81
- package/dist/es/FormComponent.js +0 -1
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/browser-support.service.d.ts +0 -7
- package/dist/es/browser-support.service.js +0 -29
- package/dist/es/canUseDOM.d.ts +0 -5
- package/dist/es/canUseDOM.js +0 -9
- package/dist/es/classNames.d.ts +0 -4
- package/dist/es/classNames.js +0 -24
- package/dist/es/clone.d.ts +0 -20
- package/dist/es/clone.js +0 -49
- package/dist/es/constants/main.d.ts +0 -4
- package/dist/es/constants/main.js +0 -4
- package/dist/es/defaultSlots.d.ts +0 -4
- package/dist/es/defaultSlots.js +0 -7
- package/dist/es/focus.d.ts +0 -20
- package/dist/es/focus.js +0 -84
- package/dist/es/getActiveElement.d.ts +0 -8
- package/dist/es/getActiveElement.js +0 -23
- package/dist/es/getTabIndex.d.ts +0 -4
- package/dist/es/getTabIndex.js +0 -22
- package/dist/es/getter.d.ts +0 -4
- package/dist/es/getter.js +0 -23
- package/dist/es/guid.d.ts +0 -5
- package/dist/es/guid.js +0 -18
- package/dist/es/hasRelativeStackingContext.d.ts +0 -2
- package/dist/es/hasRelativeStackingContext.js +0 -25
- package/dist/es/icons/BaseIconProps.d.ts +0 -77
- package/dist/es/icons/BaseIconProps.js +0 -1
- package/dist/es/icons/FontIcon.d.ts +0 -51
- package/dist/es/icons/FontIcon.js +0 -91
- package/dist/es/icons/Icon.d.ts +0 -49
- package/dist/es/icons/Icon.js +0 -129
- package/dist/es/icons/SvgIcon.d.ts +0 -99
- package/dist/es/icons/SvgIcon.js +0 -128
- package/dist/es/icons/constants.d.ts +0 -13
- package/dist/es/icons/constants.js +0 -13
- package/dist/es/icons/getIconName.d.ts +0 -2
- package/dist/es/icons/getIconName.js +0 -6
- package/dist/es/icons/models/flip.d.ts +0 -11
- package/dist/es/icons/models/flip.js +0 -1
- package/dist/es/icons/models/size.d.ts +0 -15
- package/dist/es/icons/models/size.js +0 -1
- package/dist/es/icons/models/theme-color.d.ts +0 -21
- package/dist/es/icons/models/theme-color.js +0 -1
- package/dist/es/isObject.d.ts +0 -4
- package/dist/es/isObject.js +0 -6
- package/dist/es/isRtl.d.ts +0 -8
- package/dist/es/isRtl.js +0 -21
- package/dist/es/keys.d.ts +0 -21
- package/dist/es/keys.js +0 -21
- package/dist/es/listeners.d.ts +0 -8
- package/dist/es/listeners.js +0 -41
- package/dist/es/main.d.ts +0 -35
- package/dist/es/main.js +0 -34
- package/dist/es/navigation.d.ts +0 -46
- package/dist/es/navigation.js +0 -106
- package/dist/es/noop.d.ts +0 -5
- package/dist/es/noop.js +0 -5
- package/dist/es/refs.d.ts +0 -8
- package/dist/es/refs.js +0 -14
- package/dist/es/scrollbarWidth.d.ts +0 -8
- package/dist/es/scrollbarWidth.js +0 -22
- package/dist/es/setter.d.ts +0 -4
- package/dist/es/setter.js +0 -24
- package/dist/es/templateRendering.d.ts +0 -19
- package/dist/es/templateRendering.js +0 -111
- package/dist/es/theme.d.ts +0 -7
- package/dist/es/theme.js +0 -13
- package/dist/es/treeDataOperations.d.ts +0 -43
- package/dist/es/treeDataOperations.js +0 -116
- package/dist/es/validate-package.d.ts +0 -8
- package/dist/es/validate-package.js +0 -27
- package/dist/es/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/es/watermark/WatermarkOverlay.js +0 -200
- package/dist/esm/Draggable.d.ts +0 -64
- package/dist/esm/Draggable.js +0 -85
- package/dist/esm/FormComponent.d.ts +0 -81
- package/dist/esm/FormComponent.js +0 -1
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/browser-support.service.d.ts +0 -7
- package/dist/esm/browser-support.service.js +0 -29
- package/dist/esm/canUseDOM.d.ts +0 -5
- package/dist/esm/canUseDOM.js +0 -9
- package/dist/esm/classNames.d.ts +0 -4
- package/dist/esm/classNames.js +0 -24
- package/dist/esm/clone.d.ts +0 -20
- package/dist/esm/clone.js +0 -49
- package/dist/esm/constants/main.d.ts +0 -4
- package/dist/esm/constants/main.js +0 -4
- package/dist/esm/defaultSlots.d.ts +0 -4
- package/dist/esm/defaultSlots.js +0 -7
- package/dist/esm/focus.d.ts +0 -20
- package/dist/esm/focus.js +0 -84
- package/dist/esm/getActiveElement.d.ts +0 -8
- package/dist/esm/getActiveElement.js +0 -23
- package/dist/esm/getTabIndex.d.ts +0 -4
- package/dist/esm/getTabIndex.js +0 -22
- package/dist/esm/getter.d.ts +0 -4
- package/dist/esm/getter.js +0 -23
- package/dist/esm/guid.d.ts +0 -5
- package/dist/esm/guid.js +0 -18
- package/dist/esm/hasRelativeStackingContext.d.ts +0 -2
- package/dist/esm/hasRelativeStackingContext.js +0 -25
- package/dist/esm/icons/BaseIconProps.d.ts +0 -77
- package/dist/esm/icons/BaseIconProps.js +0 -1
- package/dist/esm/icons/FontIcon.d.ts +0 -51
- package/dist/esm/icons/FontIcon.js +0 -91
- package/dist/esm/icons/Icon.d.ts +0 -49
- package/dist/esm/icons/Icon.js +0 -129
- package/dist/esm/icons/SvgIcon.d.ts +0 -99
- package/dist/esm/icons/SvgIcon.js +0 -128
- package/dist/esm/icons/constants.d.ts +0 -13
- package/dist/esm/icons/constants.js +0 -13
- package/dist/esm/icons/getIconName.d.ts +0 -2
- package/dist/esm/icons/getIconName.js +0 -6
- package/dist/esm/icons/models/flip.d.ts +0 -11
- package/dist/esm/icons/models/flip.js +0 -1
- package/dist/esm/icons/models/size.d.ts +0 -15
- package/dist/esm/icons/models/size.js +0 -1
- package/dist/esm/icons/models/theme-color.d.ts +0 -21
- package/dist/esm/icons/models/theme-color.js +0 -1
- package/dist/esm/isObject.d.ts +0 -4
- package/dist/esm/isObject.js +0 -6
- package/dist/esm/isRtl.d.ts +0 -8
- package/dist/esm/isRtl.js +0 -21
- package/dist/esm/keys.d.ts +0 -21
- package/dist/esm/keys.js +0 -21
- package/dist/esm/listeners.d.ts +0 -8
- package/dist/esm/listeners.js +0 -41
- package/dist/esm/main.d.ts +0 -35
- package/dist/esm/main.js +0 -34
- package/dist/esm/navigation.d.ts +0 -46
- package/dist/esm/navigation.js +0 -106
- package/dist/esm/noop.d.ts +0 -5
- package/dist/esm/noop.js +0 -5
- package/dist/esm/package.json +0 -3
- package/dist/esm/refs.d.ts +0 -8
- package/dist/esm/refs.js +0 -14
- package/dist/esm/scrollbarWidth.d.ts +0 -8
- package/dist/esm/scrollbarWidth.js +0 -22
- package/dist/esm/setter.d.ts +0 -4
- package/dist/esm/setter.js +0 -24
- package/dist/esm/templateRendering.d.ts +0 -19
- package/dist/esm/templateRendering.js +0 -111
- package/dist/esm/theme.d.ts +0 -7
- package/dist/esm/theme.js +0 -13
- package/dist/esm/treeDataOperations.d.ts +0 -43
- package/dist/esm/treeDataOperations.js +0 -116
- package/dist/esm/validate-package.d.ts +0 -8
- package/dist/esm/validate-package.js +0 -27
- package/dist/esm/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/esm/watermark/WatermarkOverlay.js +0 -200
- package/dist/npm/Draggable.d.ts +0 -64
- package/dist/npm/Draggable.js +0 -92
- package/dist/npm/FormComponent.d.ts +0 -81
- package/dist/npm/FormComponent.js +0 -5
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/browser-support.service.d.ts +0 -7
- package/dist/npm/browser-support.service.js +0 -32
- package/dist/npm/canUseDOM.d.ts +0 -5
- package/dist/npm/canUseDOM.js +0 -12
- package/dist/npm/classNames.d.ts +0 -4
- package/dist/npm/classNames.js +0 -28
- package/dist/npm/clone.d.ts +0 -20
- package/dist/npm/clone.js +0 -57
- package/dist/npm/constants/main.d.ts +0 -4
- package/dist/npm/constants/main.js +0 -7
- package/dist/npm/defaultSlots.d.ts +0 -4
- package/dist/npm/defaultSlots.js +0 -11
- package/dist/npm/focus.d.ts +0 -20
- package/dist/npm/focus.js +0 -92
- package/dist/npm/getActiveElement.d.ts +0 -8
- package/dist/npm/getActiveElement.js +0 -28
- package/dist/npm/getTabIndex.d.ts +0 -4
- package/dist/npm/getTabIndex.js +0 -26
- package/dist/npm/getter.d.ts +0 -4
- package/dist/npm/getter.js +0 -27
- package/dist/npm/guid.d.ts +0 -5
- package/dist/npm/guid.js +0 -21
- package/dist/npm/hasRelativeStackingContext.d.ts +0 -2
- package/dist/npm/hasRelativeStackingContext.js +0 -29
- package/dist/npm/icons/BaseIconProps.d.ts +0 -77
- package/dist/npm/icons/BaseIconProps.js +0 -2
- package/dist/npm/icons/FontIcon.d.ts +0 -51
- package/dist/npm/icons/FontIcon.js +0 -98
- package/dist/npm/icons/Icon.d.ts +0 -49
- package/dist/npm/icons/Icon.js +0 -136
- package/dist/npm/icons/SvgIcon.d.ts +0 -99
- package/dist/npm/icons/SvgIcon.js +0 -135
- package/dist/npm/icons/constants.d.ts +0 -13
- package/dist/npm/icons/constants.js +0 -16
- package/dist/npm/icons/getIconName.d.ts +0 -2
- package/dist/npm/icons/getIconName.js +0 -9
- package/dist/npm/icons/models/flip.d.ts +0 -11
- package/dist/npm/icons/models/flip.js +0 -2
- package/dist/npm/icons/models/size.d.ts +0 -15
- package/dist/npm/icons/models/size.js +0 -2
- package/dist/npm/icons/models/theme-color.d.ts +0 -21
- package/dist/npm/icons/models/theme-color.js +0 -2
- package/dist/npm/isObject.d.ts +0 -4
- package/dist/npm/isObject.js +0 -10
- package/dist/npm/isRtl.d.ts +0 -8
- package/dist/npm/isRtl.js +0 -26
- package/dist/npm/keys.d.ts +0 -21
- package/dist/npm/keys.js +0 -24
- package/dist/npm/listeners.d.ts +0 -8
- package/dist/npm/listeners.js +0 -46
- package/dist/npm/main.d.ts +0 -35
- package/dist/npm/main.js +0 -82
- package/dist/npm/navigation.d.ts +0 -46
- package/dist/npm/navigation.js +0 -109
- package/dist/npm/noop.d.ts +0 -5
- package/dist/npm/noop.js +0 -8
- package/dist/npm/refs.d.ts +0 -8
- package/dist/npm/refs.js +0 -19
- package/dist/npm/scrollbarWidth.d.ts +0 -8
- package/dist/npm/scrollbarWidth.js +0 -27
- package/dist/npm/setter.d.ts +0 -4
- package/dist/npm/setter.js +0 -28
- package/dist/npm/templateRendering.d.ts +0 -19
- package/dist/npm/templateRendering.js +0 -117
- package/dist/npm/theme.d.ts +0 -7
- package/dist/npm/theme.js +0 -16
- package/dist/npm/treeDataOperations.d.ts +0 -43
- package/dist/npm/treeDataOperations.js +0 -124
- package/dist/npm/validate-package.d.ts +0 -8
- package/dist/npm/validate-package.js +0 -32
- package/dist/npm/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/npm/watermark/WatermarkOverlay.js +0 -207
package/index.d.mts
ADDED
|
@@ -0,0 +1,966 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { DefineComponent } from 'vue';
|
|
11
|
+
import { ExtractPropTypes } from 'vue';
|
|
12
|
+
import { PublicProps } from 'vue';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
declare interface BaseIconProps {
|
|
18
|
+
/**
|
|
19
|
+
* Sets the `tabIndex` of the icon element.
|
|
20
|
+
*/
|
|
21
|
+
tabIndex?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the `id` of the icon element.
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `aria-label` of the icon element.
|
|
28
|
+
*/
|
|
29
|
+
ariaLabel?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the `title` of the icon element.
|
|
32
|
+
*/
|
|
33
|
+
title?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies a list of CSS classes that will be added to the root DOM element.
|
|
36
|
+
*/
|
|
37
|
+
class?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the theme color of the Icon.
|
|
40
|
+
*
|
|
41
|
+
* The possible values are:
|
|
42
|
+
* * `inherit` (Default)—Applies coloring based on the current color.
|
|
43
|
+
* * `primary` —Applies coloring based on primary theme color.
|
|
44
|
+
* * `secondary`—Applies coloring based on secondary theme color.
|
|
45
|
+
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
46
|
+
* * `info`—Applies coloring based on info theme color.
|
|
47
|
+
* * `success`— Applies coloring based on success theme color.
|
|
48
|
+
* * `warning`— Applies coloring based on warning theme color.
|
|
49
|
+
* * `error`— Applies coloring based on error theme color.
|
|
50
|
+
* * `dark`— Applies coloring based on dark theme color.
|
|
51
|
+
* * `light`— Applies coloring based on light theme color.
|
|
52
|
+
* * `inverse`— Applies coloring based on inverse theme color.
|
|
53
|
+
*
|
|
54
|
+
* If the property is not set, the icon inherits the color from its parent.
|
|
55
|
+
*
|
|
56
|
+
* You can use the `style` prop to apply custom color related properties to the icon.
|
|
57
|
+
*/
|
|
58
|
+
themeColor?: IconThemeColor | string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the size of the icon.
|
|
61
|
+
*
|
|
62
|
+
* The possible values are:
|
|
63
|
+
* `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
|
|
64
|
+
* `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
|
|
65
|
+
* `small`—Font-size: 14px; Width: 14px; Height: 14px.
|
|
66
|
+
* `medium`—Font-size: 16px; Width: 16px; Height: 16px.
|
|
67
|
+
* `large`—Font-size: 20px; Width: 20px; Height: 20px.
|
|
68
|
+
* `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
|
|
69
|
+
* `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
|
|
70
|
+
* `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* You can use the `style` prop to apply custom font size to the icon.
|
|
74
|
+
*/
|
|
75
|
+
size?: IconSize | string;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the icon flip direction.
|
|
78
|
+
*
|
|
79
|
+
* The possible values are:
|
|
80
|
+
* * `default` (Default)—No flipping applied.
|
|
81
|
+
* * `horizontal`—Flips the icon in horizontal direction.
|
|
82
|
+
* * `vertical`—Flips the icon in vertical direction.
|
|
83
|
+
* * `both`—Flips the icon in both horizontal and vertical directions.
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
flip?: IconFlip | string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @hidden
|
|
91
|
+
*/
|
|
92
|
+
export declare class BrowserSupportService {
|
|
93
|
+
private scrollbar;
|
|
94
|
+
get scrollbarWidth(): number;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @hidden
|
|
99
|
+
*/
|
|
100
|
+
export declare const canUseDOM: boolean;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @hidden
|
|
104
|
+
*/
|
|
105
|
+
export declare const classNames: (...args: any[]) => string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @hidden
|
|
109
|
+
*/
|
|
110
|
+
export declare function clone(obj: any): any;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @hidden
|
|
114
|
+
*/
|
|
115
|
+
export declare function cloneArray(array: any[]): any;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @hidden
|
|
119
|
+
*/
|
|
120
|
+
export declare const cloneDate: (date?: Date) => Date | null;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @hidden
|
|
124
|
+
*/
|
|
125
|
+
export declare function cloneObject(obj: any, result: any): void;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @hidden
|
|
129
|
+
*/
|
|
130
|
+
export declare function cloneValue(value: any, nextValue: any): any;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @hidden
|
|
134
|
+
*/
|
|
135
|
+
export declare const Draggable: DefineComponent< {}, {}, {}, {}, {
|
|
136
|
+
press(event: any): void;
|
|
137
|
+
drag(event: any): void;
|
|
138
|
+
release(event: any): void;
|
|
139
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
140
|
+
press: any;
|
|
141
|
+
drag: any;
|
|
142
|
+
release: any;
|
|
143
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
144
|
+
onPress?: (...args: any[] | unknown[]) => any;
|
|
145
|
+
onDrag?: (...args: any[] | unknown[]) => any;
|
|
146
|
+
onRelease?: (...args: any[] | unknown[]) => any;
|
|
147
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @hidden
|
|
151
|
+
*/
|
|
152
|
+
export declare interface DraggableDragEvent {
|
|
153
|
+
event: any;
|
|
154
|
+
element: HTMLElement;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @hidden
|
|
159
|
+
*/
|
|
160
|
+
export declare interface DraggablePressEvent {
|
|
161
|
+
event: any;
|
|
162
|
+
element: HTMLElement;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @hidden
|
|
167
|
+
*/
|
|
168
|
+
export declare interface DraggableReleaseEvent {
|
|
169
|
+
event: any;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Similar to the `Object.assign` function. Additionally, creates a new array for the subitems.
|
|
174
|
+
*
|
|
175
|
+
* @param {object} item - The source data item.
|
|
176
|
+
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
177
|
+
* @param {object} propsToExtend - The props with which the source data item will be extended.
|
|
178
|
+
* @returns {object} - The target data item.
|
|
179
|
+
*/
|
|
180
|
+
export declare const extendDataItem: (item: any, subItemsField: string, propsToExtend?: any) => any;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @hidden
|
|
184
|
+
*/
|
|
185
|
+
export declare const firstFocusableChild: (element: any) => any;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @hidden
|
|
189
|
+
*/
|
|
190
|
+
export declare const FOCUSABLE_ELEMENTS: string[];
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @hidden
|
|
194
|
+
*/
|
|
195
|
+
export declare const focusContainer: (e: any, containerElement: any) => boolean;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @hidden
|
|
199
|
+
*/
|
|
200
|
+
export declare const focusFirstFocusableChild: (element: any) => void;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @hidden
|
|
204
|
+
*/
|
|
205
|
+
export declare const focusLastFocusableChild: (element: any) => void;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @hidden
|
|
209
|
+
*/
|
|
210
|
+
export declare const FontIcon: DefineComponent<ExtractPropTypes< {
|
|
211
|
+
name: StringConstructor;
|
|
212
|
+
themeColor: {
|
|
213
|
+
type: StringConstructor;
|
|
214
|
+
};
|
|
215
|
+
size: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
};
|
|
218
|
+
flip: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
};
|
|
221
|
+
id: StringConstructor;
|
|
222
|
+
ariaLabel: StringConstructor;
|
|
223
|
+
title: StringConstructor;
|
|
224
|
+
tabIndex: NumberConstructor;
|
|
225
|
+
}>, {}, {}, {
|
|
226
|
+
fontClassNames(this: FontIconAll): {
|
|
227
|
+
[x: string]: any;
|
|
228
|
+
[x: number]: any;
|
|
229
|
+
'k-icon': boolean;
|
|
230
|
+
'k-font-icon': boolean;
|
|
231
|
+
'k-flip-h': boolean;
|
|
232
|
+
'k-flip-v': boolean;
|
|
233
|
+
};
|
|
234
|
+
}, {
|
|
235
|
+
handleClick(e: any): void;
|
|
236
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
237
|
+
click: any;
|
|
238
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
239
|
+
name: StringConstructor;
|
|
240
|
+
themeColor: {
|
|
241
|
+
type: StringConstructor;
|
|
242
|
+
};
|
|
243
|
+
size: {
|
|
244
|
+
type: StringConstructor;
|
|
245
|
+
};
|
|
246
|
+
flip: {
|
|
247
|
+
type: StringConstructor;
|
|
248
|
+
};
|
|
249
|
+
id: StringConstructor;
|
|
250
|
+
ariaLabel: StringConstructor;
|
|
251
|
+
title: StringConstructor;
|
|
252
|
+
tabIndex: NumberConstructor;
|
|
253
|
+
}>> & Readonly<{
|
|
254
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
255
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @hidden
|
|
259
|
+
*/
|
|
260
|
+
export declare interface FontIconAll extends FontIconMethods, FontIconData, FontIconComputed, FontIconState {
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @hidden
|
|
265
|
+
*/
|
|
266
|
+
export declare interface FontIconComputed {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @hidden
|
|
272
|
+
*/
|
|
273
|
+
export declare interface FontIconData {
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @hidden
|
|
278
|
+
*/
|
|
279
|
+
export declare interface FontIconMethods {
|
|
280
|
+
[key: string]: any;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Represents the props of the [Kendo UI for Vue Icon component]({% slug overview_icon %}).
|
|
285
|
+
*/
|
|
286
|
+
export declare interface FontIconProps extends BaseIconProps {
|
|
287
|
+
/**
|
|
288
|
+
* Represents the name of the icon.
|
|
289
|
+
*/
|
|
290
|
+
name?: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
export declare interface FontIconState {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Represents the basic props of the KendoVue form components.
|
|
301
|
+
*
|
|
302
|
+
* For runnable examples on forms support, refer to the documentation of the respective form component:
|
|
303
|
+
* * [DateInput]({% slug forms_dateinput %})
|
|
304
|
+
* * [DatePicker]({% slug forms_datepicker %})
|
|
305
|
+
* * [TimePicker]({% slug forms_timepicker %})
|
|
306
|
+
* * [DateTimePicker]({% slug forms_datetimepicker %})
|
|
307
|
+
* * [AutoComplete]({% slug forms_autocomplete %})
|
|
308
|
+
* * [ComboBox]({% slug forms_combobox %})
|
|
309
|
+
* * [DropDownList]({% slug forms_dropdownlist %})
|
|
310
|
+
* * [MultiSelect]({% slug forms_multiselect %})
|
|
311
|
+
* * [Input]({% slug forms_input %})
|
|
312
|
+
* * [MaskedTextBox]({% slug forms_maskedtextbox %})
|
|
313
|
+
* * [NumericTextBox]({% slug forms_numerictextbox %})
|
|
314
|
+
*/
|
|
315
|
+
export declare interface FormComponentProps {
|
|
316
|
+
/**
|
|
317
|
+
* Controls the form error message of the component. If set to an empty string, no error will be thrown.
|
|
318
|
+
*
|
|
319
|
+
*/
|
|
320
|
+
validationMessage?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Specifies if `null` is a valid value for the component.
|
|
323
|
+
*
|
|
324
|
+
*/
|
|
325
|
+
required?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
328
|
+
*
|
|
329
|
+
*/
|
|
330
|
+
name?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Overrides the validity state of the component.
|
|
333
|
+
* If `valid` is set, the `required` property will be ignored.
|
|
334
|
+
*
|
|
335
|
+
*/
|
|
336
|
+
valid?: boolean;
|
|
337
|
+
/**
|
|
338
|
+
* If set to `false`, no visual representation of the invalid state of the component will be applied.
|
|
339
|
+
*
|
|
340
|
+
*/
|
|
341
|
+
validityStyles?: boolean;
|
|
342
|
+
/**
|
|
343
|
+
* @hidden
|
|
344
|
+
*/
|
|
345
|
+
value?: any;
|
|
346
|
+
/**
|
|
347
|
+
* @hidden
|
|
348
|
+
*/
|
|
349
|
+
defaultValue?: any;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Represents the `validity` state of the KendoVue form components.
|
|
354
|
+
*
|
|
355
|
+
* For runnable examples on forms support, refer to the documentation of the respective form component:
|
|
356
|
+
* * [DateInput]({% slug forms_dateinput %})
|
|
357
|
+
* * [DatePicker]({% slug forms_datepicker %})
|
|
358
|
+
* * [TimePicker]({% slug forms_timepicker %})
|
|
359
|
+
* * [DateTimePicker]({% slug forms_timepicker %})
|
|
360
|
+
* * [AutoComplete]({% slug forms_autocomplete %})
|
|
361
|
+
* * [ComboBox]({% slug forms_combobox %})
|
|
362
|
+
* * [DropDownList]({% slug forms_dropdownlist %})
|
|
363
|
+
* * [MultiSelect]({% slug forms_multiselect %})
|
|
364
|
+
* * [Input]({% slug forms_input %})
|
|
365
|
+
* * [MaskedTextBox]({% slug forms_maskedtextbox %})
|
|
366
|
+
* * [NumericTextBox]({% slug forms_numerictextbox %})
|
|
367
|
+
*/
|
|
368
|
+
export declare interface FormComponentValidity {
|
|
369
|
+
readonly badInput?: boolean;
|
|
370
|
+
readonly customError: boolean;
|
|
371
|
+
readonly patternMismatch?: boolean;
|
|
372
|
+
readonly rangeOverflow?: boolean;
|
|
373
|
+
readonly rangeUnderflow?: boolean;
|
|
374
|
+
readonly stepMismatch?: boolean;
|
|
375
|
+
readonly tooLong?: boolean;
|
|
376
|
+
readonly tooShort?: boolean;
|
|
377
|
+
readonly typeMismatch?: boolean;
|
|
378
|
+
readonly valid: boolean;
|
|
379
|
+
readonly valueMissing: boolean;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @hidden
|
|
384
|
+
*/
|
|
385
|
+
export declare const getActiveElement: (document: any) => HTMLElement | undefined;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @hidden
|
|
389
|
+
*/
|
|
390
|
+
export declare function getDefaultSlots(component: any): any;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @hidden
|
|
394
|
+
*/
|
|
395
|
+
export declare function getDir(element: Element | null, initialDir: string): string;
|
|
396
|
+
|
|
397
|
+
export declare const getIconName: (iconName: string) => string;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @hidden
|
|
401
|
+
*/
|
|
402
|
+
export declare const getInnerActiveElement: any;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Returns the data item path in the tree based on the level parameter.
|
|
406
|
+
*
|
|
407
|
+
* @param {any[]} tree - The data tree.
|
|
408
|
+
* @param {number[]} level - The level of the target tree item.
|
|
409
|
+
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
410
|
+
* @returns {any[]} - The path of the data item.
|
|
411
|
+
*/
|
|
412
|
+
export declare const getItemPath: (tree: any[], level: number[], subItemsField?: string) => any[];
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @hidden
|
|
416
|
+
*/
|
|
417
|
+
export declare function getListeners(this: any): {};
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @hidden
|
|
421
|
+
*/
|
|
422
|
+
export declare function getNestedValue(fieldName: string, dataItem: any): any;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @hidden
|
|
426
|
+
*/
|
|
427
|
+
export declare function getRef(comp: any, refName: string): any;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @hidden
|
|
431
|
+
*/
|
|
432
|
+
export declare const getScrollbarWidth: () => number | false;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @hidden
|
|
436
|
+
*/
|
|
437
|
+
export declare const getTabIndex: (tabIndex?: number | string, disabled?: boolean, useDefaultTabIndexWhenDisabled?: boolean) => number | undefined;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @hidden
|
|
441
|
+
*/
|
|
442
|
+
export declare function getTemplate(this: any, { h: h, template: template, defaultRendering: defaultRendering, defaultSlots: defaultSlots, additionalProps: additionalProps, additionalListeners: additionalListeners, swapDefaultSlots: swapDefaultSlots }: any): any;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* @hidden
|
|
446
|
+
*/
|
|
447
|
+
export declare function getter(field: string): any;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* @hidden
|
|
451
|
+
*/
|
|
452
|
+
export declare const guid: Function;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @hidden
|
|
456
|
+
*/
|
|
457
|
+
export declare function hasListener(this: any, eventName: string): boolean;
|
|
458
|
+
|
|
459
|
+
/** @hidden */
|
|
460
|
+
export declare const hasRelativeStackingContext: (elementSource?: HTMLElement) => boolean;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @hidden
|
|
464
|
+
*/
|
|
465
|
+
export declare const Icon: DefineComponent<ExtractPropTypes< {
|
|
466
|
+
name: StringConstructor;
|
|
467
|
+
icon: ObjectConstructor;
|
|
468
|
+
title: StringConstructor;
|
|
469
|
+
themeColor: {
|
|
470
|
+
type: StringConstructor;
|
|
471
|
+
};
|
|
472
|
+
size: {
|
|
473
|
+
type: StringConstructor;
|
|
474
|
+
};
|
|
475
|
+
flip: {
|
|
476
|
+
type: StringConstructor;
|
|
477
|
+
};
|
|
478
|
+
id: StringConstructor;
|
|
479
|
+
ariaLabel: StringConstructor;
|
|
480
|
+
viewBox: {
|
|
481
|
+
type: StringConstructor;
|
|
482
|
+
default: string;
|
|
483
|
+
};
|
|
484
|
+
tabIndex: NumberConstructor;
|
|
485
|
+
role: StringConstructor;
|
|
486
|
+
}>, {}, {}, {}, {
|
|
487
|
+
handleClick(e: any): void;
|
|
488
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
489
|
+
click: any;
|
|
490
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
491
|
+
name: StringConstructor;
|
|
492
|
+
icon: ObjectConstructor;
|
|
493
|
+
title: StringConstructor;
|
|
494
|
+
themeColor: {
|
|
495
|
+
type: StringConstructor;
|
|
496
|
+
};
|
|
497
|
+
size: {
|
|
498
|
+
type: StringConstructor;
|
|
499
|
+
};
|
|
500
|
+
flip: {
|
|
501
|
+
type: StringConstructor;
|
|
502
|
+
};
|
|
503
|
+
id: StringConstructor;
|
|
504
|
+
ariaLabel: StringConstructor;
|
|
505
|
+
viewBox: {
|
|
506
|
+
type: StringConstructor;
|
|
507
|
+
default: string;
|
|
508
|
+
};
|
|
509
|
+
tabIndex: NumberConstructor;
|
|
510
|
+
role: StringConstructor;
|
|
511
|
+
}>> & Readonly<{
|
|
512
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
513
|
+
}>, {
|
|
514
|
+
viewBox: string;
|
|
515
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @hidden
|
|
519
|
+
*/
|
|
520
|
+
export declare interface IconAll extends IconMethods, IconData, IconComputed, IconState {
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @hidden
|
|
525
|
+
*/
|
|
526
|
+
export declare interface IconComputed {
|
|
527
|
+
[key: string]: any;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @hidden
|
|
532
|
+
*/
|
|
533
|
+
export declare interface IconData {
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Specifies the icon flip direction.
|
|
538
|
+
*
|
|
539
|
+
* The possible values are:
|
|
540
|
+
* * `default` (Default)—No flipping applied.
|
|
541
|
+
* * `horizontal`—Flips the icon in horizontal direction.
|
|
542
|
+
* * `vertical`—Flips the icon in vertical direction.
|
|
543
|
+
* * `both`—Flips the icon in both horizontal and vertical directions.
|
|
544
|
+
*
|
|
545
|
+
*/
|
|
546
|
+
export declare type IconFlip = 'default' | 'horizontal' | 'vertical' | 'both';
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* @hidden
|
|
550
|
+
*/
|
|
551
|
+
export declare interface IconMethods {
|
|
552
|
+
[key: string]: any;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @hidden
|
|
557
|
+
*/
|
|
558
|
+
export declare interface IconProps extends SvgIconProps {
|
|
559
|
+
iconType?: string;
|
|
560
|
+
name?: string;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Specifies the size of the icon.
|
|
565
|
+
*
|
|
566
|
+
* The possible values are:
|
|
567
|
+
* * `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
|
|
568
|
+
* * `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
|
|
569
|
+
* * `small`—Font-size: 14px; Width: 14px; Height: 14px.
|
|
570
|
+
* * `medium`—Font-size: 16px; Width: 16px; Height: 16px.
|
|
571
|
+
* * `large`—Font-size: 20px; Width: 20px; Height: 20px.
|
|
572
|
+
* * `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
|
|
573
|
+
* * `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
|
|
574
|
+
* * `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.
|
|
575
|
+
*
|
|
576
|
+
*/
|
|
577
|
+
export declare type IconSize = 'default' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @hidden
|
|
581
|
+
*/
|
|
582
|
+
export declare interface IconState {
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Specifies the theme color of the Icon.
|
|
587
|
+
*
|
|
588
|
+
* The possible values are:
|
|
589
|
+
* * `inherit` (Default)—Applies coloring based on the current color.
|
|
590
|
+
* * `primary` —Applies coloring based on primary theme color.
|
|
591
|
+
* * `secondary`—Applies coloring based on secondary theme color.
|
|
592
|
+
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
593
|
+
* * `info`—Applies coloring based on info theme color.
|
|
594
|
+
* * `success`— Applies coloring based on success theme color.
|
|
595
|
+
* * `warning`— Applies coloring based on warning theme color.
|
|
596
|
+
* * `error`— Applies coloring based on error theme color.
|
|
597
|
+
* * `dark`— Applies coloring based on dark theme color.
|
|
598
|
+
* * `light`— Applies coloring based on light theme color.
|
|
599
|
+
* * `inverse`— Applies coloring based on inverse theme color.
|
|
600
|
+
*
|
|
601
|
+
* If the property is not set, the icon inherits the color from its parent.
|
|
602
|
+
*
|
|
603
|
+
* You can use the `style` prop to apply custom color related properties to the icon.
|
|
604
|
+
*/
|
|
605
|
+
export declare type IconThemeColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @hidden
|
|
609
|
+
*/
|
|
610
|
+
export declare const isObject: (value: any) => boolean;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @hidden
|
|
614
|
+
*/
|
|
615
|
+
export declare function isRtl(element: Element | null): boolean;
|
|
616
|
+
|
|
617
|
+
/** @hidden */
|
|
618
|
+
export declare interface KendoThemeMaps {
|
|
619
|
+
sizeMap: Record<Exclude<any, null>, string>;
|
|
620
|
+
roundedMap: Record<Exclude<any, null>, string>;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/** @hidden */
|
|
624
|
+
export declare const kendoThemeMaps: KendoThemeMaps;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* @hidden
|
|
628
|
+
*/
|
|
629
|
+
export declare const Keys: {
|
|
630
|
+
backspace: number;
|
|
631
|
+
tab: number;
|
|
632
|
+
enter: number;
|
|
633
|
+
shift: number;
|
|
634
|
+
esc: number;
|
|
635
|
+
space: number;
|
|
636
|
+
pageUp: number;
|
|
637
|
+
pageDown: number;
|
|
638
|
+
end: number;
|
|
639
|
+
home: number;
|
|
640
|
+
left: number;
|
|
641
|
+
up: number;
|
|
642
|
+
right: number;
|
|
643
|
+
down: number;
|
|
644
|
+
delete: number;
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* @hidden
|
|
649
|
+
*/
|
|
650
|
+
export declare const lastFocusableChild: (element: any) => any;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Creates a new array with the results of calling the provided callback function
|
|
654
|
+
* on every element in the provided data tree.
|
|
655
|
+
*
|
|
656
|
+
* @param {any[]} tree - The data tree.
|
|
657
|
+
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
658
|
+
* @param {(value: any) => any} callback - The callback function.
|
|
659
|
+
* @returns {any[]} - The new data tree.
|
|
660
|
+
*/
|
|
661
|
+
export declare const mapTree: (tree: any[], subItemsField: string, callback: (value: any) => any) => any[];
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Creates a new array with the results of calling the provided callback function
|
|
665
|
+
* on the element which match the `level` in the provided data tree.
|
|
666
|
+
*
|
|
667
|
+
* @param {any[]} tree - The data tree.
|
|
668
|
+
* @param {number[]} level - An array of indexes of each parent and current item in the data tree.
|
|
669
|
+
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
670
|
+
* @param {(value: any) => any} callback - The callback function.
|
|
671
|
+
* @returns {any[]} - The new data tree.
|
|
672
|
+
*/
|
|
673
|
+
export declare const mapTreeItem: (tree: any[], level: number[], subItemsField: string, callback: (value: any) => any) => void;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* @hidden
|
|
677
|
+
*/
|
|
678
|
+
export declare class Navigation {
|
|
679
|
+
selectors: string[];
|
|
680
|
+
mouseEvents: {
|
|
681
|
+
[type: string]: (target: HTMLElement, nav: Navigation, ev: any) => void;
|
|
682
|
+
};
|
|
683
|
+
keyboardEvents: {
|
|
684
|
+
[type: string]: {
|
|
685
|
+
[key: string]: (target: HTMLElement, nav: Navigation, ev: any) => void;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
tabIndex: number;
|
|
689
|
+
root: any;
|
|
690
|
+
rovingTabIndex?: boolean;
|
|
691
|
+
constructor(options: {
|
|
692
|
+
tabIndex: number;
|
|
693
|
+
root: any;
|
|
694
|
+
selectors: string[];
|
|
695
|
+
rovingTabIndex?: boolean;
|
|
696
|
+
mouseEvents?: {
|
|
697
|
+
[type: string]: (target: HTMLElement, nav: Navigation, ev: any) => void;
|
|
698
|
+
};
|
|
699
|
+
keyboardEvents?: {
|
|
700
|
+
[type: string]: {
|
|
701
|
+
[key: string]: (target: HTMLElement, nav: Navigation, ev: any) => void;
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
});
|
|
705
|
+
get elements(): HTMLElement[];
|
|
706
|
+
get first(): HTMLElement | null;
|
|
707
|
+
get last(): HTMLElement | null;
|
|
708
|
+
get current(): HTMLElement | null;
|
|
709
|
+
focusNext(target: HTMLElement): void;
|
|
710
|
+
focusPrevious(target: HTMLElement): void;
|
|
711
|
+
triggerKeyboardEvent(ev: any): void;
|
|
712
|
+
triggerMouseEvent(ev: any): void;
|
|
713
|
+
focusElement(element: HTMLElement | null, previous: HTMLElement | null): void;
|
|
714
|
+
update: () => void;
|
|
715
|
+
private focusNextIndex;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @hidden
|
|
720
|
+
*/
|
|
721
|
+
export declare const noop: () => void;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @hidden
|
|
725
|
+
*/
|
|
726
|
+
export declare function setRef(comp: any, refName: string): any;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @hidden
|
|
730
|
+
*/
|
|
731
|
+
export declare const setScrollbarWidth: () => boolean;
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @hidden
|
|
735
|
+
*/
|
|
736
|
+
export declare function setter(field: string): any;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @hidden
|
|
740
|
+
*/
|
|
741
|
+
export declare function shouldShowValidationUI(packageMetadata: any): boolean;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Specifies the SVG icon.
|
|
745
|
+
*/
|
|
746
|
+
export declare interface SVGIcon {
|
|
747
|
+
/**
|
|
748
|
+
* The unique name of the icon.
|
|
749
|
+
*/
|
|
750
|
+
name: string;
|
|
751
|
+
/**
|
|
752
|
+
* The entire SVG content of the icon.
|
|
753
|
+
*/
|
|
754
|
+
content: string;
|
|
755
|
+
/**
|
|
756
|
+
* The [viewBox](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox)
|
|
757
|
+
* definition that should be used for the icon.
|
|
758
|
+
*/
|
|
759
|
+
viewBox: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* @hidden
|
|
764
|
+
*/
|
|
765
|
+
export declare const SvgIcon: DefineComponent<ExtractPropTypes< {
|
|
766
|
+
name: StringConstructor;
|
|
767
|
+
icon: ObjectConstructor;
|
|
768
|
+
themeColor: {
|
|
769
|
+
type: StringConstructor;
|
|
770
|
+
};
|
|
771
|
+
size: {
|
|
772
|
+
type: StringConstructor;
|
|
773
|
+
};
|
|
774
|
+
flip: {
|
|
775
|
+
type: StringConstructor;
|
|
776
|
+
};
|
|
777
|
+
id: StringConstructor;
|
|
778
|
+
ariaLabel: StringConstructor;
|
|
779
|
+
title: StringConstructor;
|
|
780
|
+
viewBox: {
|
|
781
|
+
type: StringConstructor;
|
|
782
|
+
default: string;
|
|
783
|
+
};
|
|
784
|
+
tabIndex: NumberConstructor;
|
|
785
|
+
svgClassName: StringConstructor;
|
|
786
|
+
svgStyle: ObjectConstructor;
|
|
787
|
+
}>, {}, {}, {
|
|
788
|
+
wrapperClass(this: SvgIconAll): {
|
|
789
|
+
[x: string]: any;
|
|
790
|
+
[x: number]: any;
|
|
791
|
+
'k-icon': boolean;
|
|
792
|
+
'k-svg-icon': boolean;
|
|
793
|
+
'k-flip-h': boolean;
|
|
794
|
+
'k-flip-v': boolean;
|
|
795
|
+
};
|
|
796
|
+
}, {
|
|
797
|
+
handleClick(e: any): void;
|
|
798
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
799
|
+
click: any;
|
|
800
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
801
|
+
name: StringConstructor;
|
|
802
|
+
icon: ObjectConstructor;
|
|
803
|
+
themeColor: {
|
|
804
|
+
type: StringConstructor;
|
|
805
|
+
};
|
|
806
|
+
size: {
|
|
807
|
+
type: StringConstructor;
|
|
808
|
+
};
|
|
809
|
+
flip: {
|
|
810
|
+
type: StringConstructor;
|
|
811
|
+
};
|
|
812
|
+
id: StringConstructor;
|
|
813
|
+
ariaLabel: StringConstructor;
|
|
814
|
+
title: StringConstructor;
|
|
815
|
+
viewBox: {
|
|
816
|
+
type: StringConstructor;
|
|
817
|
+
default: string;
|
|
818
|
+
};
|
|
819
|
+
tabIndex: NumberConstructor;
|
|
820
|
+
svgClassName: StringConstructor;
|
|
821
|
+
svgStyle: ObjectConstructor;
|
|
822
|
+
}>> & Readonly<{
|
|
823
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
824
|
+
}>, {
|
|
825
|
+
viewBox: string;
|
|
826
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @hidden
|
|
830
|
+
*/
|
|
831
|
+
export declare interface SvgIconAll extends SvgIconMethods, SvgIconData, SvgIconComputed, SvgIconState {
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @hidden
|
|
836
|
+
*/
|
|
837
|
+
export declare interface SvgIconComputed {
|
|
838
|
+
[key: string]: any;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @hidden
|
|
843
|
+
*/
|
|
844
|
+
export declare interface SvgIconData {
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* @hidden
|
|
849
|
+
*/
|
|
850
|
+
export declare interface SvgIconHandle {
|
|
851
|
+
/**
|
|
852
|
+
* The SvgIconHandle element.
|
|
853
|
+
*/
|
|
854
|
+
element: HTMLSpanElement | null;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* @hidden
|
|
859
|
+
*/
|
|
860
|
+
export declare interface SvgIconMethods {
|
|
861
|
+
[key: string]: any;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Represents the props of the [Kendo UI for Vue SvgIcon component]({% slug overview_svgicon %}).
|
|
866
|
+
*/
|
|
867
|
+
export declare interface SvgIconProps extends BaseIconProps {
|
|
868
|
+
/**
|
|
869
|
+
* Represents the name of the icon.
|
|
870
|
+
*/
|
|
871
|
+
name?: string;
|
|
872
|
+
/**
|
|
873
|
+
* Specifies the SVG icon.
|
|
874
|
+
*
|
|
875
|
+
* * The possible keys are:
|
|
876
|
+
* * `name`—The unique name of the icon.
|
|
877
|
+
* * `content`—The entire SVG content of the icon.
|
|
878
|
+
* * `viewBox`—The viewBox definition that should be used for the icon.
|
|
879
|
+
*/
|
|
880
|
+
icon?: SVGIcon;
|
|
881
|
+
/**
|
|
882
|
+
* Specifies the viewBox of the custom SVG icon.
|
|
883
|
+
*/
|
|
884
|
+
viewBox?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Specifies a list of CSS classes that will be added to the svg element.
|
|
887
|
+
*/
|
|
888
|
+
svgClassName?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Sets additional CSS styles to the svg element.
|
|
891
|
+
*/
|
|
892
|
+
svgStyle?: object;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* @hidden
|
|
897
|
+
*/
|
|
898
|
+
export declare interface SvgIconState {
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* @hidden
|
|
903
|
+
*/
|
|
904
|
+
export declare const templateDefinition: {
|
|
905
|
+
type: (ObjectConstructor | BooleanConstructor | StringConstructor | FunctionConstructor)[];
|
|
906
|
+
default: () => any;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* @hidden
|
|
911
|
+
*/
|
|
912
|
+
export declare function templateRendering(this: any, template: any, listeners: any): any;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* @hidden
|
|
916
|
+
*/
|
|
917
|
+
export declare function validatePackage(packageMetadata: any): void;
|
|
918
|
+
|
|
919
|
+
export declare const WatermarkOverlay: DefineComponent< {}, {}, {
|
|
920
|
+
watermarkStyles: {
|
|
921
|
+
position: string;
|
|
922
|
+
width: string;
|
|
923
|
+
height: string;
|
|
924
|
+
top: number;
|
|
925
|
+
left: number;
|
|
926
|
+
right: number;
|
|
927
|
+
bottom: number;
|
|
928
|
+
opacity: number;
|
|
929
|
+
'z-index': number;
|
|
930
|
+
'pointer-events': string;
|
|
931
|
+
'background-image': string;
|
|
932
|
+
};
|
|
933
|
+
bannerStyles: {
|
|
934
|
+
display: string;
|
|
935
|
+
justifyContent: string;
|
|
936
|
+
alignItems: string;
|
|
937
|
+
position: string;
|
|
938
|
+
top: string;
|
|
939
|
+
right: string;
|
|
940
|
+
padding: string;
|
|
941
|
+
'border-radius': string;
|
|
942
|
+
'box-shadow': string;
|
|
943
|
+
'font-size': string;
|
|
944
|
+
'font-weight': number;
|
|
945
|
+
'line-height': string;
|
|
946
|
+
'background-color': string;
|
|
947
|
+
color: string;
|
|
948
|
+
'z-index': number;
|
|
949
|
+
};
|
|
950
|
+
bannerButtonStyles: {
|
|
951
|
+
display: string;
|
|
952
|
+
position: string;
|
|
953
|
+
border: string;
|
|
954
|
+
'border-radius': string;
|
|
955
|
+
padding: string;
|
|
956
|
+
'background-color': string;
|
|
957
|
+
transition: string;
|
|
958
|
+
outline: string;
|
|
959
|
+
cursor: string;
|
|
960
|
+
};
|
|
961
|
+
showBanner: boolean;
|
|
962
|
+
}, {}, {
|
|
963
|
+
onCloseBannerClick(): void;
|
|
964
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
965
|
+
|
|
966
|
+
export { }
|