@progress/kendo-vue-buttons 8.0.3-develop.1 → 8.0.3-develop.3
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/Button.d.ts +273 -0
- package/ButtonGroup.d.ts +58 -0
- package/ButtonGroupInterface.d.ts +37 -0
- package/ButtonInterface.d.ts +57 -0
- package/ButtonWrap.d.ts +12 -0
- package/Chip/Chip.d.ts +351 -0
- package/Chip/ChipList.d.ts +278 -0
- package/Chip/ChipList.mjs +4 -4
- package/Chip/data-reducer.d.ts +28 -0
- package/Chip/data-reducer.js +1 -1
- package/Chip/data-reducer.mjs +2 -2
- package/Chip/focus-reducer.d.ts +31 -0
- package/Chip/focus-reducer.js +1 -1
- package/Chip/focus-reducer.mjs +2 -2
- package/Chip/selection-reducer.d.ts +36 -0
- package/Chip/selection-reducer.js +1 -1
- package/Chip/selection-reducer.mjs +3 -3
- package/FloatingActionButton/FloatingActionButton.d.ts +151 -0
- package/FloatingActionButton/FloatingActionButtonItem.d.ts +134 -0
- package/FloatingActionButton/interfaces/FloatingActionButtonHandle.d.ts +20 -0
- package/FloatingActionButton/interfaces/FloatingActionButtonPopupSettings.d.ts +31 -0
- package/FloatingActionButton/interfaces/FloatingActionButtonProps.d.ts +240 -0
- package/FloatingActionButton/models/align-offset.d.ts +27 -0
- package/FloatingActionButton/models/align.d.ts +34 -0
- package/FloatingActionButton/models/events.d.ts +29 -0
- package/FloatingActionButton/models/position-mode.d.ts +16 -0
- package/FloatingActionButton/models/size.d.ts +17 -0
- package/FloatingActionButton/models/theme-color.d.ts +24 -0
- package/FloatingActionButton/utils.d.ts +34 -0
- package/ListButton/ButtonItem.d.ts +57 -0
- package/ListButton/DropDownButton.d.ts +168 -0
- package/ListButton/SplitButton.d.ts +174 -0
- package/ListButton/models/ButtonItemInterface.d.ts +36 -0
- package/ListButton/models/ListButtonProps.d.ts +311 -0
- package/ListButton/models/PopupSettings.d.ts +31 -0
- package/ListButton/models/events.d.ts +118 -0
- package/ListButton/utils/navigation.d.ts +12 -0
- package/ListButton/utils/popup.d.ts +16 -0
- package/SpeechToText/SpeechToTextButton.d.ts +242 -0
- package/SpeechToText/SpeechToTextButton.js +1 -1
- package/SpeechToText/SpeechToTextButton.mjs +2 -2
- package/dist/cdn/js/kendo-vue-buttons.js +1 -1
- package/index.d.mts +31 -2942
- package/index.d.ts +31 -2942
- package/models/ButtonBlurEvent.d.ts +16 -0
- package/models/ButtonFocusEvent.d.ts +16 -0
- package/models/events.d.ts +96 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -7
- package/toolbar/Toolbar.d.ts +170 -0
- package/toolbar/interfaces/ToolbarOverflowProps.d.ts +48 -0
- package/toolbar/interfaces/ToolbarProps.d.ts +93 -0
- package/toolbar/messages/index.d.ts +27 -0
- package/toolbar/tools/ToolbarItem.d.ts +14 -0
- package/toolbar/tools/ToolbarOverflowSection.d.ts +50 -0
- package/toolbar/tools/ToolbarScrollButton.d.ts +47 -0
- package/toolbar/tools/ToolbarScrollable.d.ts +58 -0
- package/toolbar/tools/ToolbarSeparator.d.ts +34 -0
- package/toolbar/tools/ToolbarSpacer.d.ts +48 -0
- package/util.d.ts +37 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onBlur` event of the Button.
|
|
10
|
+
*/
|
|
11
|
+
export interface ButtonBlurEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser blur event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onFocus` event of the Button.
|
|
10
|
+
*/
|
|
11
|
+
export interface ButtonFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser focus event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { ChipHandle } from '../Chip/Chip';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the return type of the ChipRemoveEvent.
|
|
11
|
+
*/
|
|
12
|
+
export interface ChipRemoveEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The target of the ChipRemoveEvent from ChipHandle.
|
|
15
|
+
*/
|
|
16
|
+
target: ChipHandle;
|
|
17
|
+
/**
|
|
18
|
+
* The event of the ChipRemoveEvent.
|
|
19
|
+
*/
|
|
20
|
+
event: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the return type of the ChipMouseEvent.
|
|
24
|
+
*/
|
|
25
|
+
export interface ChipMouseEvent {
|
|
26
|
+
/**
|
|
27
|
+
* The target of the ChipMouseEvent from ChipHandle.
|
|
28
|
+
*/
|
|
29
|
+
target: ChipHandle;
|
|
30
|
+
/**
|
|
31
|
+
* The event of the ChipMouseEvent.
|
|
32
|
+
*/
|
|
33
|
+
event: any;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Represents the return type of the ChipKeyboardEvent.
|
|
37
|
+
*/
|
|
38
|
+
export interface ChipKeyboardEvent {
|
|
39
|
+
/**
|
|
40
|
+
* The target of the ChipKeyboardEvent from ChipHandle.
|
|
41
|
+
*/
|
|
42
|
+
target: ChipHandle;
|
|
43
|
+
/**
|
|
44
|
+
* The event of the ChipKeyboardEvent.
|
|
45
|
+
*/
|
|
46
|
+
event: any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Represents the return type of the ChipFocusEvent.
|
|
50
|
+
*/
|
|
51
|
+
export interface ChipFocusEvent {
|
|
52
|
+
/**
|
|
53
|
+
* The target of the ChipFocusEvent from ChipHandle.
|
|
54
|
+
*/
|
|
55
|
+
target: ChipHandle;
|
|
56
|
+
/**
|
|
57
|
+
* The native browser focus event.
|
|
58
|
+
*/
|
|
59
|
+
event: FocusEvent;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Represents the return type of the ChipListDataChangeEvent.
|
|
63
|
+
*/
|
|
64
|
+
export interface ChipListDataChangeEvent {
|
|
65
|
+
/**
|
|
66
|
+
* Represents the new data state value.
|
|
67
|
+
*/
|
|
68
|
+
value: any | any[];
|
|
69
|
+
/**
|
|
70
|
+
* The target of the ChipListChangeEvent from ChipListHandle.
|
|
71
|
+
*/
|
|
72
|
+
target: any;
|
|
73
|
+
/**
|
|
74
|
+
* The event of the ChipListChangeEvent.
|
|
75
|
+
*/
|
|
76
|
+
event: any;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Represents the return type of the ChipListChangeEvent.
|
|
80
|
+
*/
|
|
81
|
+
export interface ChipListChangeEvent {
|
|
82
|
+
/**
|
|
83
|
+
* Represents the new state value.
|
|
84
|
+
*/
|
|
85
|
+
value: any | any[];
|
|
86
|
+
/**
|
|
87
|
+
* The target of the ChipListChangeEvent from ChipListHandle.
|
|
88
|
+
*/
|
|
89
|
+
target: any;
|
|
90
|
+
/**
|
|
91
|
+
* The event of the ChipListChangeEvent.
|
|
92
|
+
*/
|
|
93
|
+
event: any;
|
|
94
|
+
}
|
|
95
|
+
export type { ButtonFocusEvent } from './ButtonFocusEvent';
|
|
96
|
+
export type { ButtonBlurEvent } from './ButtonBlurEvent';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-buttons",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-buttons",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1773401338,version:"8.0.3-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.0.3-develop.
|
|
13
|
+
publishDate: 1773401338,
|
|
14
|
+
version: "8.0.3-develop.3",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-buttons",
|
|
3
|
-
"version": "8.0.3-develop.
|
|
3
|
+
"version": "8.0.3-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
"types": "./index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"import":
|
|
13
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./index.d.mts",
|
|
14
|
+
"default": "./index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./index.d.ts",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
}
|
|
14
20
|
},
|
|
15
21
|
"./package.json": {
|
|
16
22
|
"default": "./package.json"
|
|
@@ -19,9 +25,9 @@
|
|
|
19
25
|
"sideEffects": false,
|
|
20
26
|
"peerDependencies": {
|
|
21
27
|
"@progress/kendo-licensing": "^1.7.2",
|
|
22
|
-
"@progress/kendo-vue-common": "8.0.3-develop.
|
|
23
|
-
"@progress/kendo-vue-intl": "8.0.3-develop.
|
|
24
|
-
"@progress/kendo-vue-popup": "8.0.3-develop.
|
|
28
|
+
"@progress/kendo-vue-common": "8.0.3-develop.3",
|
|
29
|
+
"@progress/kendo-vue-intl": "8.0.3-develop.3",
|
|
30
|
+
"@progress/kendo-vue-popup": "8.0.3-develop.3",
|
|
25
31
|
"@progress/kendo-webspeech-common": "^1.0.1",
|
|
26
32
|
"@progress/kendo-svg-icons": "^4.4.0",
|
|
27
33
|
"vue": "^3.0.2"
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
"package": {
|
|
44
50
|
"productName": "Kendo UI for Vue",
|
|
45
51
|
"productCode": "KENDOUIVUE",
|
|
46
|
-
"publishDate":
|
|
52
|
+
"publishDate": 1773401338,
|
|
47
53
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
48
54
|
}
|
|
49
55
|
},
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { PropType } from 'vue';
|
|
9
|
+
import { ToolbarResizeEvent } from './interfaces/ToolbarProps';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ToolbarComputed {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
selectors: string[];
|
|
16
|
+
wrapperClass: object;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export interface ToolbarMethods {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
focusedIndex: () => number;
|
|
24
|
+
getCurrentButtons: () => HTMLElement[];
|
|
25
|
+
onKeyDown: (e: any) => void;
|
|
26
|
+
onWindowResize: (e: any) => void;
|
|
27
|
+
focusButton: (current: number, next: number) => void;
|
|
28
|
+
setTabIndex: (index: number) => void;
|
|
29
|
+
getInternalButtons: () => HTMLElement[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
declare const Toolbar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
35
|
+
tabIndex: {
|
|
36
|
+
type: PropType<number>;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
dir: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
validator: (value: any) => any;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
keyboardNavigation: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
buttons: {
|
|
49
|
+
type: PropType<string[]>;
|
|
50
|
+
default: () => any;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<"small" | "medium" | "large">;
|
|
54
|
+
validator: (value: string) => boolean;
|
|
55
|
+
};
|
|
56
|
+
fillMode: {
|
|
57
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
58
|
+
validator: (value: string) => boolean;
|
|
59
|
+
};
|
|
60
|
+
ariaLabel: PropType<string>;
|
|
61
|
+
overflow: {
|
|
62
|
+
type: PropType<"none" | "section" | "scroll">;
|
|
63
|
+
default: string;
|
|
64
|
+
validator: (value: any) => any;
|
|
65
|
+
};
|
|
66
|
+
scrollButtons: {
|
|
67
|
+
type: PropType<"hidden" | "auto" | "visible">;
|
|
68
|
+
default: string;
|
|
69
|
+
validator: (value: any) => any;
|
|
70
|
+
};
|
|
71
|
+
scrollButtonsPosition: {
|
|
72
|
+
type: PropType<"split" | "start" | "end">;
|
|
73
|
+
default: string;
|
|
74
|
+
validator: (value: any) => any;
|
|
75
|
+
};
|
|
76
|
+
buttonScrollSpeed: {
|
|
77
|
+
type: PropType<number>;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
}>, {}, {
|
|
81
|
+
defaultSlot: any;
|
|
82
|
+
offsetWidth: number;
|
|
83
|
+
offsetHeight: number;
|
|
84
|
+
currentButtons: HTMLElement[];
|
|
85
|
+
focusedSelector: string;
|
|
86
|
+
isScrollStartPosition: boolean;
|
|
87
|
+
isScrollEndPosition: boolean;
|
|
88
|
+
focusableButtons: any[];
|
|
89
|
+
isOverflowing: boolean;
|
|
90
|
+
scrollContentRef: any;
|
|
91
|
+
lastToolbarWidthRef: number;
|
|
92
|
+
overFlowToolsRef: any[];
|
|
93
|
+
overFlowOpened: boolean;
|
|
94
|
+
visibleToolsRef: any;
|
|
95
|
+
}, {
|
|
96
|
+
selectors(): ToolbarComputed['selectors'];
|
|
97
|
+
wrapperClass(): ToolbarComputed['wrapperClass'];
|
|
98
|
+
}, {
|
|
99
|
+
getCurrentButtons(): HTMLElement[];
|
|
100
|
+
getInternalButtons(): HTMLElement[];
|
|
101
|
+
focusedIndex(): number;
|
|
102
|
+
setTabIndex(focusedIndex: number): void;
|
|
103
|
+
onKeyDown(event: any): void;
|
|
104
|
+
focusButton(prevIndex: number, index: number): void;
|
|
105
|
+
initOverflow(toolbarRef: any, totalInnerWidth: any): void;
|
|
106
|
+
checkOverflow(): void;
|
|
107
|
+
onWindowResize(event: any): void;
|
|
108
|
+
onContentScroll(buttonClicked: any): void;
|
|
109
|
+
onToggleoverflow(opened: boolean): void;
|
|
110
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
resize: (event: ToolbarResizeEvent) => true;
|
|
112
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
113
|
+
tabIndex: {
|
|
114
|
+
type: PropType<number>;
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
dir: {
|
|
118
|
+
type: PropType<string>;
|
|
119
|
+
validator: (value: any) => any;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
keyboardNavigation: {
|
|
123
|
+
type: PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
buttons: {
|
|
127
|
+
type: PropType<string[]>;
|
|
128
|
+
default: () => any;
|
|
129
|
+
};
|
|
130
|
+
size: {
|
|
131
|
+
type: PropType<"small" | "medium" | "large">;
|
|
132
|
+
validator: (value: string) => boolean;
|
|
133
|
+
};
|
|
134
|
+
fillMode: {
|
|
135
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
136
|
+
validator: (value: string) => boolean;
|
|
137
|
+
};
|
|
138
|
+
ariaLabel: PropType<string>;
|
|
139
|
+
overflow: {
|
|
140
|
+
type: PropType<"none" | "section" | "scroll">;
|
|
141
|
+
default: string;
|
|
142
|
+
validator: (value: any) => any;
|
|
143
|
+
};
|
|
144
|
+
scrollButtons: {
|
|
145
|
+
type: PropType<"hidden" | "auto" | "visible">;
|
|
146
|
+
default: string;
|
|
147
|
+
validator: (value: any) => any;
|
|
148
|
+
};
|
|
149
|
+
scrollButtonsPosition: {
|
|
150
|
+
type: PropType<"split" | "start" | "end">;
|
|
151
|
+
default: string;
|
|
152
|
+
validator: (value: any) => any;
|
|
153
|
+
};
|
|
154
|
+
buttonScrollSpeed: {
|
|
155
|
+
type: PropType<number>;
|
|
156
|
+
default: number;
|
|
157
|
+
};
|
|
158
|
+
}>> & Readonly<{
|
|
159
|
+
onResize?: (event: ToolbarResizeEvent) => any;
|
|
160
|
+
}>, {
|
|
161
|
+
tabIndex: number;
|
|
162
|
+
overflow: "none" | "section" | "scroll";
|
|
163
|
+
dir: string;
|
|
164
|
+
keyboardNavigation: boolean;
|
|
165
|
+
buttons: string[];
|
|
166
|
+
buttonScrollSpeed: number;
|
|
167
|
+
scrollButtons: "hidden" | "auto" | "visible";
|
|
168
|
+
scrollButtonsPosition: "split" | "start" | "end";
|
|
169
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
170
|
+
export { Toolbar };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface ToolbarOverflowProps {
|
|
12
|
+
/**
|
|
13
|
+
* Represents the possible overflow mode options of the Toolbar.
|
|
14
|
+
* Applicable when there is not enough space to render all tools.
|
|
15
|
+
*
|
|
16
|
+
* @default `section`
|
|
17
|
+
*/
|
|
18
|
+
overflow?: 'none' | 'section' | 'scroll';
|
|
19
|
+
/**
|
|
20
|
+
* Determines the Toolbar scroll buttons visibility.
|
|
21
|
+
* Applicable when the overflow property is set to `scroll`.
|
|
22
|
+
*
|
|
23
|
+
* @default `auto`
|
|
24
|
+
*/
|
|
25
|
+
scrollButtons?: 'hidden' | 'visible' | 'auto';
|
|
26
|
+
/**
|
|
27
|
+
* Determines the Toolbar scroll buttons position.
|
|
28
|
+
* Applicable when the overflow property is set to `scroll`.
|
|
29
|
+
*
|
|
30
|
+
* @default `split`
|
|
31
|
+
*/
|
|
32
|
+
scrollButtonsPosition?: 'start' | 'end' | 'split';
|
|
33
|
+
/**
|
|
34
|
+
* Sets the Toolbar scroll speed in pixels when scrolling via clicking the previous or next button.
|
|
35
|
+
* Applicable when the overflow property is set to `scroll`.
|
|
36
|
+
*
|
|
37
|
+
* @default 100
|
|
38
|
+
*/
|
|
39
|
+
buttonScrollSpeed?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the custom component that will be rendered as a previous button.
|
|
42
|
+
*/
|
|
43
|
+
prevButton?: any;
|
|
44
|
+
/**
|
|
45
|
+
* Defines the custom component that will be rendered as a next button.
|
|
46
|
+
*/
|
|
47
|
+
nextButton?: any;
|
|
48
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { ToolbarOverflowProps } from './ToolbarOverflowProps';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the `resize` event of the Toolbar.
|
|
11
|
+
*/
|
|
12
|
+
export interface ToolbarResizeEvent {
|
|
13
|
+
/**
|
|
14
|
+
* An event target.
|
|
15
|
+
*/
|
|
16
|
+
target: any;
|
|
17
|
+
/**
|
|
18
|
+
* The `offsetWidth` event of the Toolbar.
|
|
19
|
+
*/
|
|
20
|
+
offsetWidth: number;
|
|
21
|
+
/**
|
|
22
|
+
* The `offsetHeight` event of the Toolbar.
|
|
23
|
+
*/
|
|
24
|
+
offsetHeight: number;
|
|
25
|
+
/**
|
|
26
|
+
* A native DOM event.
|
|
27
|
+
*/
|
|
28
|
+
nativeEvent: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents the props of the [Kendo UI for Vue Toolbar component]({% slug overview_toolbar %}).
|
|
32
|
+
*/
|
|
33
|
+
export interface ToolbarProps extends ToolbarOverflowProps {
|
|
34
|
+
/**
|
|
35
|
+
* Sets additional classes to the Toolbar.
|
|
36
|
+
*/
|
|
37
|
+
className?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Represents the `dir` HTML attribute.
|
|
40
|
+
*/
|
|
41
|
+
dir?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the `tabIndex` of the Toolbar.
|
|
44
|
+
*/
|
|
45
|
+
tabIndex?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The `resize` event of the Toolbar.
|
|
48
|
+
*/
|
|
49
|
+
onResize?: (event: ToolbarResizeEvent) => void;
|
|
50
|
+
/**
|
|
51
|
+
* If set to `false`, it will turn off the built-in keyboard navigation.
|
|
52
|
+
*/
|
|
53
|
+
keyboardNavigation?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*
|
|
57
|
+
* The CSS selectors of the toolbar HTML elements used by built-in keyboard navigation.
|
|
58
|
+
* Each selector needs to point to a focusable element.
|
|
59
|
+
* Defaults to [
|
|
60
|
+
* 'button',
|
|
61
|
+
* '.k-button-group > button',
|
|
62
|
+
* '.k-dropdown > .k-dropdown-wrap',
|
|
63
|
+
* '.k-colorpicker > .k-picker-wrap'
|
|
64
|
+
* ].
|
|
65
|
+
*/
|
|
66
|
+
buttons?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Configures the `size` of the Toolbar.
|
|
69
|
+
*
|
|
70
|
+
* The available options are:
|
|
71
|
+
* - `small`—sets the padding of the component to 4px 4px
|
|
72
|
+
* - `medium`—sets the padding of the component to 8px 8px
|
|
73
|
+
* - `large`—sets the padding of the component to 10px 10px
|
|
74
|
+
*
|
|
75
|
+
* @default `undefined`
|
|
76
|
+
*/
|
|
77
|
+
size?: 'small' | 'medium' | 'large';
|
|
78
|
+
/**
|
|
79
|
+
* Configures the `fillMode` of the Toolbar.
|
|
80
|
+
*
|
|
81
|
+
* The available options are:
|
|
82
|
+
* - solid—Applies a `background` color and `solid borders`.
|
|
83
|
+
* - flat—Sets a `transparent background` and `solid bottom border`.
|
|
84
|
+
* - outline—Sets a `transparent background` and `solid borders`.
|
|
85
|
+
*
|
|
86
|
+
* @default `undefined`
|
|
87
|
+
*/
|
|
88
|
+
fillMode?: 'solid' | 'flat' | 'outline';
|
|
89
|
+
/**
|
|
90
|
+
* Defines the `aria-label` HTML attribute of the Toolbar.
|
|
91
|
+
*/
|
|
92
|
+
ariaLabel?: string;
|
|
93
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const prevArrowTitle = "prevArrow.title";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const nextArrowTitle = "nextArrow.title";
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const moreButtonTitle = "moreButtonTitle.title";
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare const messages: {
|
|
24
|
+
"prevArrow.title": string;
|
|
25
|
+
"nextArrow.title": string;
|
|
26
|
+
"moreButtonTitle.title": string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
declare const ToolbarItem: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
12
|
+
element(): any;
|
|
13
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export { ToolbarItem };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface ToolbarOverflowSectionProps {
|
|
13
|
+
toolbarRef: object;
|
|
14
|
+
fillMode?: 'solid' | 'flat' | 'outline';
|
|
15
|
+
size?: 'small' | 'medium' | 'large';
|
|
16
|
+
visibleTools: object[];
|
|
17
|
+
overFlowTools: object[];
|
|
18
|
+
opened: boolean;
|
|
19
|
+
toolbarWidth: number;
|
|
20
|
+
allTools: object[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
declare const ToolbarOverflowSection: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
26
|
+
toolbarRef: PropType<object>;
|
|
27
|
+
toolbarWidth: PropType<number>;
|
|
28
|
+
fillMode: PropType<"flat" | "solid" | "outline">;
|
|
29
|
+
size: PropType<"small" | "medium" | "large">;
|
|
30
|
+
visibleTools: PropType<object[]>;
|
|
31
|
+
overFlowTools: PropType<object[]>;
|
|
32
|
+
opened: PropType<boolean>;
|
|
33
|
+
allTools: PropType<object[]>;
|
|
34
|
+
}>, {}, {}, {}, {
|
|
35
|
+
handleClick(): void;
|
|
36
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
toggleoverflow: (opened: boolean) => true;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
toolbarRef: PropType<object>;
|
|
40
|
+
toolbarWidth: PropType<number>;
|
|
41
|
+
fillMode: PropType<"flat" | "solid" | "outline">;
|
|
42
|
+
size: PropType<"small" | "medium" | "large">;
|
|
43
|
+
visibleTools: PropType<object[]>;
|
|
44
|
+
overFlowTools: PropType<object[]>;
|
|
45
|
+
opened: PropType<boolean>;
|
|
46
|
+
allTools: PropType<object[]>;
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onToggleoverflow?: (opened: boolean) => any;
|
|
49
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export { ToolbarOverflowSection };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface ToolbarScrollButtonProps {
|
|
13
|
+
buttonScrollSpeed?: number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
scrollContentRef?: any;
|
|
16
|
+
type: 'prev' | 'next';
|
|
17
|
+
prevButton?: any;
|
|
18
|
+
nextButton?: any;
|
|
19
|
+
dir?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
declare const ToolbarScrollButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
25
|
+
buttonScrollSpeed: PropType<number>;
|
|
26
|
+
disabled: PropType<boolean>;
|
|
27
|
+
scrollContentRef: PropType<any>;
|
|
28
|
+
type: PropType<"next" | "prev">;
|
|
29
|
+
prevButton: PropType<any>;
|
|
30
|
+
nextButton: PropType<any>;
|
|
31
|
+
dir: PropType<string>;
|
|
32
|
+
}>, {}, {}, {}, {
|
|
33
|
+
getScrollButtonTitle(): string;
|
|
34
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
contentscroll: (type: string) => true;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
buttonScrollSpeed: PropType<number>;
|
|
38
|
+
disabled: PropType<boolean>;
|
|
39
|
+
scrollContentRef: PropType<any>;
|
|
40
|
+
type: PropType<"next" | "prev">;
|
|
41
|
+
prevButton: PropType<any>;
|
|
42
|
+
nextButton: PropType<any>;
|
|
43
|
+
dir: PropType<string>;
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
onContentscroll?: (type: string) => any;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export { ToolbarScrollButton };
|