@progress/kendo-vue-buttons 8.0.3-develop.2 → 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,31 @@
|
|
|
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 enum FOCUS_ACTION {
|
|
12
|
+
next = "next",
|
|
13
|
+
prev = "prev",
|
|
14
|
+
current = "current",
|
|
15
|
+
reset = "reset"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export type FocusAction = {
|
|
21
|
+
type: FOCUS_ACTION;
|
|
22
|
+
payload: string;
|
|
23
|
+
items: string[];
|
|
24
|
+
target?: any;
|
|
25
|
+
event?: any;
|
|
26
|
+
state?: any;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare const focusReducer: (state: any, action: FocusAction) => any;
|
package/Chip/focus-reducer.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"});let t=function(e){return e.next="next",e.prev="prev",e.current="current",e.reset="reset",e}({});const s=(e,r)=>{const u=r.items.findIndex(n=>n===e);switch(r.type){case t.next:return u===r.items.length-1?e:r.items[u+1];case t.prev:return u===0?e:r.items[u-1];case t.current:return r.payload;case t.reset:return null;default:return e}};exports.FOCUS_ACTION=t;exports.focusReducer=s;
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let t=(function(e){return e.next="next",e.prev="prev",e.current="current",e.reset="reset",e})({});const s=(e,r)=>{const u=r.items.findIndex(n=>n===e);switch(r.type){case t.next:return u===r.items.length-1?e:r.items[u+1];case t.prev:return u===0?e:r.items[u-1];case t.current:return r.payload;case t.reset:return null;default:return e}};exports.FOCUS_ACTION=t;exports.focusReducer=s;
|
package/Chip/focus-reducer.mjs
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
let n = /* @__PURE__ */ function(e) {
|
|
8
|
+
let n = /* @__PURE__ */ (function(e) {
|
|
9
9
|
return e.next = "next", e.prev = "prev", e.current = "current", e.reset = "reset", e;
|
|
10
|
-
}({});
|
|
10
|
+
})({});
|
|
11
11
|
const s = (e, r) => {
|
|
12
12
|
const t = r.items.findIndex((u) => u === e);
|
|
13
13
|
switch (r.type) {
|
|
@@ -0,0 +1,36 @@
|
|
|
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 enum SELECTION_TYPE {
|
|
12
|
+
single = "single",
|
|
13
|
+
multiple = "multiple",
|
|
14
|
+
none = "none"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare enum SELECTION_ACTION {
|
|
20
|
+
toggle = "toggle",
|
|
21
|
+
remove = "remove"
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export type SelectionAction = {
|
|
27
|
+
type?: SELECTION_ACTION;
|
|
28
|
+
selection: SELECTION_TYPE;
|
|
29
|
+
payload?: string;
|
|
30
|
+
event?: any;
|
|
31
|
+
state?: any;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export declare const selectionReducer: (state: any, action: SelectionAction) => any;
|
|
@@ -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"});let u=function(e){return e.single="single",e.multiple="multiple",e.none="none",e}({}),n=function(e){return e.toggle="toggle",e.remove="remove",e}({});const o=(e,r)=>{switch(r.selection){case u.single:switch(r.type){case n.toggle:{if(!Array.isArray(e)||e===null)return r.payload===e?null:r.payload;throw new Error("State cannot be an array in single selection")}case n.remove:return r.payload===e?null:e;default:return e}case u.multiple:switch(r.type){case n.toggle:{if(Array.isArray(e))return e.some(l=>l===r.payload)?e.filter(l=>l!==r.payload):[...e,r.payload];if(e===null)return[r.payload];throw new Error("State cannot be non-array in multiple selection")}case n.remove:return Array.isArray(e)?e.some(l=>l===r.payload)?e.filter(l=>l!==r.payload):[...e,r.payload]:e;default:return e}case u.none:return null;default:return e}};exports.SELECTION_ACTION=n;exports.SELECTION_TYPE=u;exports.selectionReducer=o;
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let u=(function(e){return e.single="single",e.multiple="multiple",e.none="none",e})({}),n=(function(e){return e.toggle="toggle",e.remove="remove",e})({});const o=(e,r)=>{switch(r.selection){case u.single:switch(r.type){case n.toggle:{if(!Array.isArray(e)||e===null)return r.payload===e?null:r.payload;throw new Error("State cannot be an array in single selection")}case n.remove:return r.payload===e?null:e;default:return e}case u.multiple:switch(r.type){case n.toggle:{if(Array.isArray(e))return e.some(l=>l===r.payload)?e.filter(l=>l!==r.payload):[...e,r.payload];if(e===null)return[r.payload];throw new Error("State cannot be non-array in multiple selection")}case n.remove:return Array.isArray(e)?e.some(l=>l===r.payload)?e.filter(l=>l!==r.payload):[...e,r.payload]:e;default:return e}case u.none:return null;default:return e}};exports.SELECTION_ACTION=n;exports.SELECTION_TYPE=u;exports.selectionReducer=o;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
let u = /* @__PURE__ */ function(r) {
|
|
8
|
+
let u = /* @__PURE__ */ (function(r) {
|
|
9
9
|
return r.single = "single", r.multiple = "multiple", r.none = "none", r;
|
|
10
|
-
}({}), n = /* @__PURE__ */ function(r) {
|
|
10
|
+
})({}), n = /* @__PURE__ */ (function(r) {
|
|
11
11
|
return r.toggle = "toggle", r.remove = "remove", r;
|
|
12
|
-
}({});
|
|
12
|
+
})({});
|
|
13
13
|
const o = (r, e) => {
|
|
14
14
|
switch (e.selection) {
|
|
15
15
|
case u.single:
|
|
@@ -0,0 +1,151 @@
|
|
|
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 { FloatingActionButtonSize } from './models/size';
|
|
9
|
+
import { FloatingActionButtonThemeColor } from './models/theme-color';
|
|
10
|
+
import { FloatingActionButtonAlign } from './models/align';
|
|
11
|
+
import { FloatingActionButtonPositionMode } from './models/position-mode';
|
|
12
|
+
import { FloatingActionButtonItemEvent, FloatingActionButtonEvent } from './models/events';
|
|
13
|
+
import { PropType } from 'vue';
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
declare const FloatingActionButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
18
|
+
id: PropType<string>;
|
|
19
|
+
dir: PropType<string>;
|
|
20
|
+
tabIndex: PropType<number>;
|
|
21
|
+
accessKey: PropType<string>;
|
|
22
|
+
disabled: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
icon: PropType<string>;
|
|
27
|
+
svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
28
|
+
iconClass: PropType<string>;
|
|
29
|
+
items: PropType<any>;
|
|
30
|
+
item: PropType<any>;
|
|
31
|
+
text: PropType<string>;
|
|
32
|
+
alignOffset: PropType<import('..').FloatingActionButtonAlignOffset>;
|
|
33
|
+
opened: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
align: {
|
|
38
|
+
type: PropType<FloatingActionButtonAlign>;
|
|
39
|
+
default: () => FloatingActionButtonAlign;
|
|
40
|
+
};
|
|
41
|
+
positionMode: {
|
|
42
|
+
type: PropType<FloatingActionButtonPositionMode>;
|
|
43
|
+
default: () => FloatingActionButtonPositionMode;
|
|
44
|
+
};
|
|
45
|
+
popupSettings: {
|
|
46
|
+
type: PropType<import('..').FloatingActionButtonPopupSettings>;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
49
|
+
rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
50
|
+
fillMode: {
|
|
51
|
+
type: PropType<"flat" | "link" | "solid" | "outline">;
|
|
52
|
+
validator: (value: string) => boolean;
|
|
53
|
+
};
|
|
54
|
+
size: PropType<FloatingActionButtonSize>;
|
|
55
|
+
themeColor: PropType<FloatingActionButtonThemeColor>;
|
|
56
|
+
}>, {
|
|
57
|
+
chipRef: import('vue').Ref<any, any>;
|
|
58
|
+
kendoAnchorRef: import('vue').Ref<any, any>;
|
|
59
|
+
}, {
|
|
60
|
+
currentOpened: boolean;
|
|
61
|
+
currentFocused: boolean;
|
|
62
|
+
focusedIndex: number;
|
|
63
|
+
currentDir: string;
|
|
64
|
+
isRtl: boolean;
|
|
65
|
+
}, {
|
|
66
|
+
buttonClassNames(): {
|
|
67
|
+
[x: string]: any;
|
|
68
|
+
'k-fab': boolean;
|
|
69
|
+
'k-disabled': any;
|
|
70
|
+
'k-focus': any;
|
|
71
|
+
};
|
|
72
|
+
computedOpened(): any;
|
|
73
|
+
rootClassNames(): string;
|
|
74
|
+
}, {
|
|
75
|
+
dispatchPopupEvent(dispatchedEvent: any, isOpen?: boolean): void;
|
|
76
|
+
handleClick(event: any): void;
|
|
77
|
+
handleFocus(event: FocusEvent): void;
|
|
78
|
+
handleBlur(event: FocusEvent): void;
|
|
79
|
+
handleMouseDown(event: any): void;
|
|
80
|
+
handleMouseUp(event: any): void;
|
|
81
|
+
dispatchItemClickEvent(dispatchedEvent: any, index: number): void;
|
|
82
|
+
handleItemClick(event: any, clickedItemIndex: number): void;
|
|
83
|
+
handleItemDown(event: any): void;
|
|
84
|
+
handleKeyDown(event: any): void;
|
|
85
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
|
+
click: (event: FloatingActionButtonEvent) => true;
|
|
87
|
+
mousedown: (event: FloatingActionButtonEvent) => true;
|
|
88
|
+
mouseup: (event: FloatingActionButtonEvent) => true;
|
|
89
|
+
open: (event: FloatingActionButtonEvent) => true;
|
|
90
|
+
close: (event: FloatingActionButtonEvent) => true;
|
|
91
|
+
itemclick: (event: FloatingActionButtonItemEvent) => true;
|
|
92
|
+
focus: (event: FloatingActionButtonEvent) => true;
|
|
93
|
+
blur: (event: FloatingActionButtonEvent) => true;
|
|
94
|
+
keydown: (event: FloatingActionButtonEvent) => true;
|
|
95
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
id: PropType<string>;
|
|
97
|
+
dir: PropType<string>;
|
|
98
|
+
tabIndex: PropType<number>;
|
|
99
|
+
accessKey: PropType<string>;
|
|
100
|
+
disabled: {
|
|
101
|
+
type: PropType<boolean>;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
icon: PropType<string>;
|
|
105
|
+
svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
106
|
+
iconClass: PropType<string>;
|
|
107
|
+
items: PropType<any>;
|
|
108
|
+
item: PropType<any>;
|
|
109
|
+
text: PropType<string>;
|
|
110
|
+
alignOffset: PropType<import('..').FloatingActionButtonAlignOffset>;
|
|
111
|
+
opened: {
|
|
112
|
+
type: PropType<boolean>;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
115
|
+
align: {
|
|
116
|
+
type: PropType<FloatingActionButtonAlign>;
|
|
117
|
+
default: () => FloatingActionButtonAlign;
|
|
118
|
+
};
|
|
119
|
+
positionMode: {
|
|
120
|
+
type: PropType<FloatingActionButtonPositionMode>;
|
|
121
|
+
default: () => FloatingActionButtonPositionMode;
|
|
122
|
+
};
|
|
123
|
+
popupSettings: {
|
|
124
|
+
type: PropType<import('..').FloatingActionButtonPopupSettings>;
|
|
125
|
+
default: () => {};
|
|
126
|
+
};
|
|
127
|
+
rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
128
|
+
fillMode: {
|
|
129
|
+
type: PropType<"flat" | "link" | "solid" | "outline">;
|
|
130
|
+
validator: (value: string) => boolean;
|
|
131
|
+
};
|
|
132
|
+
size: PropType<FloatingActionButtonSize>;
|
|
133
|
+
themeColor: PropType<FloatingActionButtonThemeColor>;
|
|
134
|
+
}>> & Readonly<{
|
|
135
|
+
onClick?: (event: FloatingActionButtonEvent) => any;
|
|
136
|
+
onBlur?: (event: FloatingActionButtonEvent) => any;
|
|
137
|
+
onClose?: (event: FloatingActionButtonEvent) => any;
|
|
138
|
+
onFocus?: (event: FloatingActionButtonEvent) => any;
|
|
139
|
+
onKeydown?: (event: FloatingActionButtonEvent) => any;
|
|
140
|
+
onMousedown?: (event: FloatingActionButtonEvent) => any;
|
|
141
|
+
onMouseup?: (event: FloatingActionButtonEvent) => any;
|
|
142
|
+
onOpen?: (event: FloatingActionButtonEvent) => any;
|
|
143
|
+
onItemclick?: (event: FloatingActionButtonItemEvent) => any;
|
|
144
|
+
}>, {
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
opened: boolean;
|
|
147
|
+
align: FloatingActionButtonAlign;
|
|
148
|
+
positionMode: FloatingActionButtonPositionMode;
|
|
149
|
+
popupSettings: import('..').FloatingActionButtonPopupSettings;
|
|
150
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
151
|
+
export { FloatingActionButton };
|
|
@@ -0,0 +1,134 @@
|
|
|
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 { SVGIcon } from '@progress/kendo-vue-common';
|
|
10
|
+
/**
|
|
11
|
+
* The FloatingActionButtonItemHandle ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface FloatingActionButtonItemHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The FloatingActionButtonItemHandle element.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLLIElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focus the FloatingActionButtonItem.
|
|
20
|
+
*/
|
|
21
|
+
focus: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the props of the
|
|
25
|
+
* [Kendo UI for Vue FloatingActionButtonItem component]({% slug overview_floatingactionbutton %}).
|
|
26
|
+
*/
|
|
27
|
+
export interface FloatingActionButtonItemProps {
|
|
28
|
+
/**
|
|
29
|
+
* Specifies if the Floating Action Button Item
|
|
30
|
+
* is disabled [see example]({% slug disabled_floatingactionbuttonitem %}).
|
|
31
|
+
* Defaults to `false`.
|
|
32
|
+
*/
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the index of the Floating Action Button Item that is used to identify it.
|
|
36
|
+
*/
|
|
37
|
+
index?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Defines the icon rendered in the FloatingActionButtonItem
|
|
40
|
+
* [see example]({% slug databinding_floatingactionbutton %}).
|
|
41
|
+
*/
|
|
42
|
+
icon?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Defines the svg icon in a Kendo UI for Vue theme.
|
|
45
|
+
*/
|
|
46
|
+
svgIcon?: SVGIcon;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the text of the FloatingActionButtonItem
|
|
49
|
+
* [see example]({% slug databinding_floatingactionbutton %}).
|
|
50
|
+
*/
|
|
51
|
+
text?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the `tabIndex` property of the FloatingActionButtonItem..
|
|
54
|
+
* Defaults to `0`.
|
|
55
|
+
*/
|
|
56
|
+
tabIndex?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Sets a custom property. Contained in the FloatingActionButtonItem props that are
|
|
59
|
+
* returned from the `onItemClick` FloatingActionButton event
|
|
60
|
+
* [see example]({% slug customization_floatingactionbutton %}#toc-items-rendering).
|
|
61
|
+
*/
|
|
62
|
+
[customProp: string]: any;
|
|
63
|
+
/**
|
|
64
|
+
* @hidden
|
|
65
|
+
*/
|
|
66
|
+
id?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @hidden
|
|
69
|
+
*/
|
|
70
|
+
class?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
dataItem?: any;
|
|
75
|
+
/**
|
|
76
|
+
* @hidden
|
|
77
|
+
*/
|
|
78
|
+
item?: any;
|
|
79
|
+
/**
|
|
80
|
+
* @hidden
|
|
81
|
+
*/
|
|
82
|
+
focused?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
*/
|
|
86
|
+
onDown?: (event: any) => void;
|
|
87
|
+
/**
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
onClick?: (event: any, index: number) => void;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @hidden
|
|
94
|
+
*/
|
|
95
|
+
declare const FloatingActionButtonItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
96
|
+
id: PropType<string>;
|
|
97
|
+
disabled: PropType<boolean>;
|
|
98
|
+
focused: PropType<boolean>;
|
|
99
|
+
index: PropType<number>;
|
|
100
|
+
icon: PropType<string>;
|
|
101
|
+
item: PropType<any>;
|
|
102
|
+
dataItem: PropType<any>;
|
|
103
|
+
text: PropType<string>;
|
|
104
|
+
tabIndex: PropType<number>;
|
|
105
|
+
customProp: PropType<any>;
|
|
106
|
+
class: PropType<string>;
|
|
107
|
+
}>, {
|
|
108
|
+
elementRef: import('vue').Ref<any, any>;
|
|
109
|
+
}, {}, {
|
|
110
|
+
itemClassNames(): string;
|
|
111
|
+
}, {
|
|
112
|
+
handleClick(event: any): void;
|
|
113
|
+
focusElement(): void;
|
|
114
|
+
onMouseDown(event: any): void;
|
|
115
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
116
|
+
click: (event: any, index: number) => true;
|
|
117
|
+
down: (event: any) => true;
|
|
118
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
119
|
+
id: PropType<string>;
|
|
120
|
+
disabled: PropType<boolean>;
|
|
121
|
+
focused: PropType<boolean>;
|
|
122
|
+
index: PropType<number>;
|
|
123
|
+
icon: PropType<string>;
|
|
124
|
+
item: PropType<any>;
|
|
125
|
+
dataItem: PropType<any>;
|
|
126
|
+
text: PropType<string>;
|
|
127
|
+
tabIndex: PropType<number>;
|
|
128
|
+
customProp: PropType<any>;
|
|
129
|
+
class: PropType<string>;
|
|
130
|
+
}>> & Readonly<{
|
|
131
|
+
onClick?: (event: any, index: number) => any;
|
|
132
|
+
onDown?: (event: any) => any;
|
|
133
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
export { FloatingActionButtonItem };
|
|
@@ -0,0 +1,20 @@
|
|
|
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 FloatingActionButton ref.
|
|
10
|
+
*/
|
|
11
|
+
export interface FloatingActionButtonHandle {
|
|
12
|
+
/**
|
|
13
|
+
* The FloatingActionButton element.
|
|
14
|
+
*/
|
|
15
|
+
element: HTMLButtonElement | null;
|
|
16
|
+
/**
|
|
17
|
+
* Focus the FloatingActionButton.
|
|
18
|
+
*/
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { Align, PopupAnimation } from '@progress/kendo-vue-popup';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the settings that can be passed to the Popup inside the FloatingActionButtonPopupSettings.
|
|
11
|
+
*/
|
|
12
|
+
export interface FloatingActionButtonPopupSettings {
|
|
13
|
+
/**
|
|
14
|
+
* Controls the popup animation. By default, the open and close animations are enabled
|
|
15
|
+
* [see example]({% slug customization_floatingactionbutton %}#toc-popup-behavior).
|
|
16
|
+
*/
|
|
17
|
+
animate?: boolean | PopupAnimation;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies a list of CSS classes that are used for styling the popup
|
|
20
|
+
* [see example]({% slug customization_floatingactionbutton %}#toc-popup-behavior).
|
|
21
|
+
*/
|
|
22
|
+
popupClass?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
anchorAlign?: Align;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
popupAlign?: Align;
|
|
31
|
+
}
|