@progress/kendo-vue-buttons 7.0.1-develop.2 → 7.0.1-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.js +1 -1
- package/Button.mjs +42 -38
- package/Chip/Chip.js +1 -1
- package/Chip/Chip.mjs +5 -5
- package/Chip/ChipList.js +1 -1
- package/Chip/ChipList.mjs +41 -37
- package/FloatingActionButton/FloatingActionButton.js +1 -1
- package/FloatingActionButton/FloatingActionButton.mjs +45 -41
- package/FloatingActionButton/FloatingActionButtonItem.js +1 -1
- package/FloatingActionButton/FloatingActionButtonItem.mjs +14 -14
- package/ListButton/ButtonItem.js +1 -1
- package/ListButton/ButtonItem.mjs +16 -16
- package/ListButton/DropDownButton.js +1 -1
- package/ListButton/DropDownButton.mjs +41 -34
- package/ListButton/SplitButton.js +1 -1
- package/ListButton/SplitButton.mjs +47 -38
- package/dist/cdn/js/kendo-vue-buttons.js +1 -1
- package/index.d.mts +193 -96
- package/index.d.ts +193 -96
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +5 -5
- package/toolbar/Toolbar.js +1 -1
- package/toolbar/Toolbar.mjs +6 -3
- package/toolbar/tools/ToolbarOverflowSection.js +1 -1
- package/toolbar/tools/ToolbarOverflowSection.mjs +11 -9
- package/toolbar/tools/ToolbarScrollButton.js +1 -1
- package/toolbar/tools/ToolbarScrollButton.mjs +7 -5
- package/toolbar/tools/ToolbarScrollable.js +1 -1
- package/toolbar/tools/ToolbarScrollable.mjs +12 -10
package/index.d.mts
CHANGED
|
@@ -103,22 +103,22 @@ handleMouseDown(event: any): void;
|
|
|
103
103
|
handlePointerDown(event: any): void;
|
|
104
104
|
handleMouseUp(event: any): void;
|
|
105
105
|
handlePointerUp(event: any): void;
|
|
106
|
-
handleFocus(event:
|
|
107
|
-
handleBlur(event:
|
|
106
|
+
handleFocus(event: FocusEvent): void;
|
|
107
|
+
handleBlur(event: FocusEvent): void;
|
|
108
108
|
handleKeypress(event: any): void;
|
|
109
109
|
handleKeydown(event: any): void;
|
|
110
110
|
handleContextmenu(event: any): void;
|
|
111
111
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
112
|
-
click:
|
|
113
|
-
mousedown:
|
|
114
|
-
mouseup:
|
|
115
|
-
pointerdown:
|
|
116
|
-
pointerup:
|
|
117
|
-
focus:
|
|
118
|
-
blur:
|
|
119
|
-
keypress:
|
|
120
|
-
keydown:
|
|
121
|
-
contextmenu:
|
|
112
|
+
click: (event: Event) => true;
|
|
113
|
+
mousedown: (event: MouseEvent) => true;
|
|
114
|
+
mouseup: (event: MouseEvent) => true;
|
|
115
|
+
pointerdown: (event: PointerEvent) => true;
|
|
116
|
+
pointerup: (event: PointerEvent) => true;
|
|
117
|
+
focus: (event: ButtonFocusEvent) => true;
|
|
118
|
+
blur: (event: ButtonBlurEvent) => true;
|
|
119
|
+
keypress: (event: KeyboardEvent) => true;
|
|
120
|
+
keydown: (event: KeyboardEvent) => true;
|
|
121
|
+
contextmenu: (event: MouseEvent) => true;
|
|
122
122
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
123
123
|
ariaLabel: PropType<string>;
|
|
124
124
|
ariaPressed: PropType<boolean>;
|
|
@@ -179,16 +179,16 @@ id: PropType<string>;
|
|
|
179
179
|
type: PropType<string>;
|
|
180
180
|
role: PropType<string>;
|
|
181
181
|
}>> & Readonly<{
|
|
182
|
-
onClick?: (
|
|
183
|
-
onBlur?: (
|
|
184
|
-
onContextmenu?: (
|
|
185
|
-
onFocus?: (
|
|
186
|
-
onKeydown?: (
|
|
187
|
-
onKeypress?: (
|
|
188
|
-
onMousedown?: (
|
|
189
|
-
onMouseup?: (
|
|
190
|
-
onPointerdown?: (
|
|
191
|
-
onPointerup?: (
|
|
182
|
+
onClick?: (event: Event) => any;
|
|
183
|
+
onBlur?: (event: ButtonBlurEvent) => any;
|
|
184
|
+
onContextmenu?: (event: MouseEvent) => any;
|
|
185
|
+
onFocus?: (event: ButtonFocusEvent) => any;
|
|
186
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
187
|
+
onKeypress?: (event: KeyboardEvent) => any;
|
|
188
|
+
onMousedown?: (event: MouseEvent) => any;
|
|
189
|
+
onMouseup?: (event: MouseEvent) => any;
|
|
190
|
+
onPointerdown?: (event: PointerEvent) => any;
|
|
191
|
+
onPointerup?: (event: PointerEvent) => any;
|
|
192
192
|
}>, {
|
|
193
193
|
themeColor: string;
|
|
194
194
|
size: string;
|
|
@@ -203,6 +203,16 @@ imageUrl: string;
|
|
|
203
203
|
disabled: boolean;
|
|
204
204
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
205
205
|
|
|
206
|
+
/**
|
|
207
|
+
* The arguments for the `onBlur` event of the Button.
|
|
208
|
+
*/
|
|
209
|
+
export declare interface ButtonBlurEvent {
|
|
210
|
+
/**
|
|
211
|
+
* The native browser blur event.
|
|
212
|
+
*/
|
|
213
|
+
event: FocusEvent;
|
|
214
|
+
}
|
|
215
|
+
|
|
206
216
|
/**
|
|
207
217
|
* @hidden
|
|
208
218
|
*/
|
|
@@ -218,6 +228,16 @@ export declare interface ButtonData {
|
|
|
218
228
|
currentActive: boolean;
|
|
219
229
|
}
|
|
220
230
|
|
|
231
|
+
/**
|
|
232
|
+
* The arguments for the `onFocus` event of the Button.
|
|
233
|
+
*/
|
|
234
|
+
export declare interface ButtonFocusEvent {
|
|
235
|
+
/**
|
|
236
|
+
* The native browser focus event.
|
|
237
|
+
*/
|
|
238
|
+
event: FocusEvent;
|
|
239
|
+
}
|
|
240
|
+
|
|
221
241
|
/**
|
|
222
242
|
* @hidden
|
|
223
243
|
*/
|
|
@@ -365,8 +385,8 @@ innerClass(): object;
|
|
|
365
385
|
onClick(event: any): void;
|
|
366
386
|
onDown(event: any): void;
|
|
367
387
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
368
|
-
click: any;
|
|
369
|
-
down: any;
|
|
388
|
+
click: (event: any, index: number) => true;
|
|
389
|
+
down: (event: any, index: number) => true;
|
|
370
390
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
371
391
|
focused: PropType<boolean>;
|
|
372
392
|
index: PropType<number>;
|
|
@@ -377,8 +397,8 @@ id: PropType<string>;
|
|
|
377
397
|
textField: PropType<string>;
|
|
378
398
|
role: PropType<string>;
|
|
379
399
|
}>> & Readonly<{
|
|
380
|
-
onClick?: (
|
|
381
|
-
onDown?: (
|
|
400
|
+
onClick?: (event: any, index: number) => any;
|
|
401
|
+
onDown?: (event: any, index: number) => any;
|
|
382
402
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
383
403
|
|
|
384
404
|
/**
|
|
@@ -644,14 +664,14 @@ handleMouseDown(event: any): void;
|
|
|
644
664
|
handleClick(event: any): void;
|
|
645
665
|
handleRemove(event: any): void;
|
|
646
666
|
handleKeyDown(event: any): void;
|
|
647
|
-
handleFocus(event:
|
|
648
|
-
handleBlur(event:
|
|
667
|
+
handleFocus(event: FocusEvent): void;
|
|
668
|
+
handleBlur(event: FocusEvent): void;
|
|
649
669
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
|
-
click:
|
|
651
|
-
keydown:
|
|
652
|
-
blur:
|
|
653
|
-
focus:
|
|
654
|
-
remove:
|
|
670
|
+
click: (event: ChipMouseEvent) => true;
|
|
671
|
+
keydown: (event: ChipKeyboardEvent) => true;
|
|
672
|
+
blur: (event: ChipFocusEvent) => true;
|
|
673
|
+
focus: (event: ChipFocusEvent) => true;
|
|
674
|
+
remove: (event: ChipRemoveEvent) => true;
|
|
655
675
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
656
676
|
id: PropType<string>;
|
|
657
677
|
text: PropType<string>;
|
|
@@ -718,11 +738,11 @@ default: string;
|
|
|
718
738
|
tabIndex: PropType<number>;
|
|
719
739
|
onMousedown: PropType<(event: any) => void>;
|
|
720
740
|
}>> & Readonly<{
|
|
721
|
-
onClick?: (
|
|
722
|
-
onBlur?: (
|
|
723
|
-
onFocus?: (
|
|
724
|
-
onKeydown?: (
|
|
725
|
-
onRemove?: (
|
|
741
|
+
onClick?: (event: ChipMouseEvent) => any;
|
|
742
|
+
onBlur?: (event: ChipFocusEvent) => any;
|
|
743
|
+
onFocus?: (event: ChipFocusEvent) => any;
|
|
744
|
+
onKeydown?: (event: ChipKeyboardEvent) => any;
|
|
745
|
+
onRemove?: (event: ChipRemoveEvent) => any;
|
|
726
746
|
}>, {
|
|
727
747
|
themeColor: string;
|
|
728
748
|
size: string;
|
|
@@ -748,9 +768,9 @@ export declare interface ChipFocusEvent {
|
|
|
748
768
|
*/
|
|
749
769
|
target: ChipHandle;
|
|
750
770
|
/**
|
|
751
|
-
* The
|
|
771
|
+
* The native browser focus event.
|
|
752
772
|
*/
|
|
753
|
-
event:
|
|
773
|
+
event: FocusEvent;
|
|
754
774
|
}
|
|
755
775
|
|
|
756
776
|
/**
|
|
@@ -860,7 +880,10 @@ handleDispatchDataItems(action: any): void;
|
|
|
860
880
|
handleChange(newValue: any, event: any): void;
|
|
861
881
|
handleDataChange(newData: any, event: any): void;
|
|
862
882
|
itemsReducer(acc: any, current: any): any;
|
|
863
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
883
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
884
|
+
change: (event: ChipListChangeEvent) => true;
|
|
885
|
+
datachange: (event: ChipListDataChangeEvent) => true;
|
|
886
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
864
887
|
id: StringConstructor;
|
|
865
888
|
tabIndex: NumberConstructor;
|
|
866
889
|
dataItems: ArrayConstructor;
|
|
@@ -913,7 +936,10 @@ default: () => "ltr";
|
|
|
913
936
|
chip: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
914
937
|
ariaLabelledBy: StringConstructor;
|
|
915
938
|
ariaDescribedBy: StringConstructor;
|
|
916
|
-
}>> & Readonly<{
|
|
939
|
+
}>> & Readonly<{
|
|
940
|
+
onChange?: (event: ChipListChangeEvent) => any;
|
|
941
|
+
onDatachange?: (event: ChipListDataChangeEvent) => any;
|
|
942
|
+
}>, {
|
|
917
943
|
size: string;
|
|
918
944
|
rounded: string;
|
|
919
945
|
fillMode: string;
|
|
@@ -1348,9 +1374,9 @@ wrapperClass(): {
|
|
|
1348
1374
|
}, {
|
|
1349
1375
|
element(): HTMLButtonElement | null;
|
|
1350
1376
|
onKeyDown(event: any): void;
|
|
1351
|
-
onFocus(event:
|
|
1352
|
-
onBlur(event:
|
|
1353
|
-
createBlurTimeout(event:
|
|
1377
|
+
onFocus(event: FocusEvent): void;
|
|
1378
|
+
onBlur(event: FocusEvent): void;
|
|
1379
|
+
createBlurTimeout(event: FocusEvent): void;
|
|
1354
1380
|
onItemClick(event: any, clickedItemIndex: number): void;
|
|
1355
1381
|
onItemDown(event: any): void;
|
|
1356
1382
|
mouseDown(event: any): void;
|
|
@@ -1360,11 +1386,11 @@ dispatchPopupEvent(dispatchedEvent: any, open: boolean): void;
|
|
|
1360
1386
|
isItemDisabled(index: number): any;
|
|
1361
1387
|
isRtl(): boolean;
|
|
1362
1388
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1363
|
-
focus:
|
|
1364
|
-
blur:
|
|
1365
|
-
itemclick:
|
|
1366
|
-
open:
|
|
1367
|
-
close:
|
|
1389
|
+
focus: (event: DropDownButtonFocusEvent) => true;
|
|
1390
|
+
blur: (event: DropDownButtonBlurEvent) => true;
|
|
1391
|
+
itemclick: (event: DropDownButtonItemClickEvent) => true;
|
|
1392
|
+
open: (event: DropDownButtonOpenEvent) => true;
|
|
1393
|
+
close: (event: DropDownButtonCloseEvent) => true;
|
|
1368
1394
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1369
1395
|
accessKey: PropType<string>;
|
|
1370
1396
|
items: {
|
|
@@ -1413,11 +1439,11 @@ default: any;
|
|
|
1413
1439
|
buttonClass: PropType<string>;
|
|
1414
1440
|
dir: PropType<string>;
|
|
1415
1441
|
}>> & Readonly<{
|
|
1416
|
-
onBlur?: (
|
|
1417
|
-
onClose?: (
|
|
1418
|
-
onFocus?: (
|
|
1419
|
-
onOpen?: (
|
|
1420
|
-
onItemclick?: (
|
|
1442
|
+
onBlur?: (event: DropDownButtonBlurEvent) => any;
|
|
1443
|
+
onClose?: (event: DropDownButtonCloseEvent) => any;
|
|
1444
|
+
onFocus?: (event: DropDownButtonFocusEvent) => any;
|
|
1445
|
+
onOpen?: (event: DropDownButtonOpenEvent) => any;
|
|
1446
|
+
onItemclick?: (event: DropDownButtonItemClickEvent) => any;
|
|
1421
1447
|
}>, {
|
|
1422
1448
|
themeColor: string;
|
|
1423
1449
|
size: string;
|
|
@@ -1428,13 +1454,34 @@ items: any[];
|
|
|
1428
1454
|
opened: boolean;
|
|
1429
1455
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1430
1456
|
|
|
1457
|
+
/**
|
|
1458
|
+
* The arguments for the `blur` event.
|
|
1459
|
+
*/
|
|
1431
1460
|
export declare interface DropDownButtonBlurEvent {
|
|
1461
|
+
/**
|
|
1462
|
+
* The native browser blur event (FocusEvent).
|
|
1463
|
+
*/
|
|
1464
|
+
event: FocusEvent;
|
|
1432
1465
|
}
|
|
1433
1466
|
|
|
1467
|
+
/**
|
|
1468
|
+
* The arguments for the `close` event.
|
|
1469
|
+
*/
|
|
1434
1470
|
export declare interface DropDownButtonCloseEvent {
|
|
1471
|
+
/**
|
|
1472
|
+
* The native browser event.
|
|
1473
|
+
*/
|
|
1474
|
+
event: any;
|
|
1435
1475
|
}
|
|
1436
1476
|
|
|
1477
|
+
/**
|
|
1478
|
+
* The arguments for the `focus` event.
|
|
1479
|
+
*/
|
|
1437
1480
|
export declare interface DropDownButtonFocusEvent {
|
|
1481
|
+
/**
|
|
1482
|
+
* The native browser focus event.
|
|
1483
|
+
*/
|
|
1484
|
+
event: FocusEvent;
|
|
1438
1485
|
}
|
|
1439
1486
|
|
|
1440
1487
|
/**
|
|
@@ -1455,7 +1502,14 @@ export declare interface DropDownButtonItemClickEvent {
|
|
|
1455
1502
|
event: any;
|
|
1456
1503
|
}
|
|
1457
1504
|
|
|
1505
|
+
/**
|
|
1506
|
+
* The arguments for the `open` event.
|
|
1507
|
+
*/
|
|
1458
1508
|
export declare interface DropDownButtonOpenEvent {
|
|
1509
|
+
/**
|
|
1510
|
+
* The native browser event.
|
|
1511
|
+
*/
|
|
1512
|
+
event: any;
|
|
1459
1513
|
}
|
|
1460
1514
|
|
|
1461
1515
|
export declare interface DropDownButtonProps {
|
|
@@ -1697,8 +1751,8 @@ rootClassNames(): string;
|
|
|
1697
1751
|
}, {
|
|
1698
1752
|
dispatchPopupEvent(dispatchedEvent: any, isOpen?: boolean): void;
|
|
1699
1753
|
handleClick(event: any): void;
|
|
1700
|
-
handleFocus(event:
|
|
1701
|
-
handleBlur(event:
|
|
1754
|
+
handleFocus(event: FocusEvent): void;
|
|
1755
|
+
handleBlur(event: FocusEvent): void;
|
|
1702
1756
|
handleMouseDown(event: any): void;
|
|
1703
1757
|
handleMouseUp(event: any): void;
|
|
1704
1758
|
dispatchItemClickEvent(dispatchedEvent: any, index: number): void;
|
|
@@ -1706,15 +1760,15 @@ handleItemClick(event: any, clickedItemIndex: number): void;
|
|
|
1706
1760
|
handleItemDown(event: any): void;
|
|
1707
1761
|
handleKeyDown(event: any): void;
|
|
1708
1762
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1709
|
-
click:
|
|
1710
|
-
mousedown:
|
|
1711
|
-
mouseup:
|
|
1712
|
-
open:
|
|
1713
|
-
close:
|
|
1714
|
-
itemclick:
|
|
1715
|
-
focus:
|
|
1716
|
-
blur:
|
|
1717
|
-
keydown:
|
|
1763
|
+
click: (event: FloatingActionButtonEvent) => true;
|
|
1764
|
+
mousedown: (event: FloatingActionButtonEvent) => true;
|
|
1765
|
+
mouseup: (event: FloatingActionButtonEvent) => true;
|
|
1766
|
+
open: (event: FloatingActionButtonEvent) => true;
|
|
1767
|
+
close: (event: FloatingActionButtonEvent) => true;
|
|
1768
|
+
itemclick: (event: FloatingActionButtonItemEvent) => true;
|
|
1769
|
+
focus: (event: FloatingActionButtonEvent) => true;
|
|
1770
|
+
blur: (event: FloatingActionButtonEvent) => true;
|
|
1771
|
+
keydown: (event: FloatingActionButtonEvent) => true;
|
|
1718
1772
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1719
1773
|
id: PropType<string>;
|
|
1720
1774
|
dir: PropType<string>;
|
|
@@ -1769,15 +1823,15 @@ type: PropType<FloatingActionButtonThemeColor>;
|
|
|
1769
1823
|
default: () => FloatingActionButtonThemeColor;
|
|
1770
1824
|
};
|
|
1771
1825
|
}>> & Readonly<{
|
|
1772
|
-
onClick?: (
|
|
1773
|
-
onBlur?: (
|
|
1774
|
-
onClose?: (
|
|
1775
|
-
onFocus?: (
|
|
1776
|
-
onKeydown?: (
|
|
1777
|
-
onMousedown?: (
|
|
1778
|
-
onMouseup?: (
|
|
1779
|
-
onOpen?: (
|
|
1780
|
-
onItemclick?: (
|
|
1826
|
+
onClick?: (event: FloatingActionButtonEvent) => any;
|
|
1827
|
+
onBlur?: (event: FloatingActionButtonEvent) => any;
|
|
1828
|
+
onClose?: (event: FloatingActionButtonEvent) => any;
|
|
1829
|
+
onFocus?: (event: FloatingActionButtonEvent) => any;
|
|
1830
|
+
onKeydown?: (event: FloatingActionButtonEvent) => any;
|
|
1831
|
+
onMousedown?: (event: FloatingActionButtonEvent) => any;
|
|
1832
|
+
onMouseup?: (event: FloatingActionButtonEvent) => any;
|
|
1833
|
+
onOpen?: (event: FloatingActionButtonEvent) => any;
|
|
1834
|
+
onItemclick?: (event: FloatingActionButtonItemEvent) => any;
|
|
1781
1835
|
}>, {
|
|
1782
1836
|
themeColor: FloatingActionButtonThemeColor;
|
|
1783
1837
|
size: FloatingActionButtonSize;
|
|
@@ -1844,6 +1898,10 @@ export declare interface FloatingActionButtonAlignOffset {
|
|
|
1844
1898
|
* Represents the return type of the FloatingActionButton events.
|
|
1845
1899
|
*/
|
|
1846
1900
|
export declare interface FloatingActionButtonEvent {
|
|
1901
|
+
/**
|
|
1902
|
+
* The native browser event.
|
|
1903
|
+
*/
|
|
1904
|
+
event: Event | FocusEvent;
|
|
1847
1905
|
}
|
|
1848
1906
|
|
|
1849
1907
|
/**
|
|
@@ -1884,8 +1942,8 @@ handleClick(event: any): void;
|
|
|
1884
1942
|
focusElement(): void;
|
|
1885
1943
|
onMouseDown(event: any): void;
|
|
1886
1944
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1887
|
-
click: any;
|
|
1888
|
-
down: any;
|
|
1945
|
+
click: (event: any, index: number) => true;
|
|
1946
|
+
down: (event: any) => true;
|
|
1889
1947
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1890
1948
|
id: PropType<string>;
|
|
1891
1949
|
disabled: PropType<boolean>;
|
|
@@ -1899,8 +1957,8 @@ tabIndex: PropType<number>;
|
|
|
1899
1957
|
customProp: PropType<any>;
|
|
1900
1958
|
class: PropType<string>;
|
|
1901
1959
|
}>> & Readonly<{
|
|
1902
|
-
onClick?: (
|
|
1903
|
-
onDown?: (
|
|
1960
|
+
onClick?: (event: any, index: number) => any;
|
|
1961
|
+
onDown?: (event: any) => any;
|
|
1904
1962
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1905
1963
|
|
|
1906
1964
|
/**
|
|
@@ -2651,10 +2709,10 @@ wrapperClass(): {
|
|
|
2651
2709
|
}, {
|
|
2652
2710
|
element(): HTMLButtonElement | null;
|
|
2653
2711
|
onKeyDown(event: any): void;
|
|
2654
|
-
onFocus(event:
|
|
2712
|
+
onFocus(event: FocusEvent): void;
|
|
2655
2713
|
onItemClick(event: any, clickedItemIndex: number): void;
|
|
2656
|
-
onBlur(event:
|
|
2657
|
-
createBlurTimeout(event:
|
|
2714
|
+
onBlur(event: FocusEvent): void;
|
|
2715
|
+
createBlurTimeout(event: FocusEvent): void;
|
|
2658
2716
|
dispatchClickEvent(dispatchedEvent: any, clickedItemIndex: number): void;
|
|
2659
2717
|
onSplitPartClick(event: any): void;
|
|
2660
2718
|
onDownSplitPart(event: any): void;
|
|
@@ -2663,12 +2721,12 @@ dispatchPopupEvent(dispatchedEvent: any, open?: boolean): void;
|
|
|
2663
2721
|
isItemDisabled(index: number): any;
|
|
2664
2722
|
isRtl(): boolean;
|
|
2665
2723
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2666
|
-
focus:
|
|
2667
|
-
blur:
|
|
2668
|
-
buttonclick:
|
|
2669
|
-
itemclick:
|
|
2670
|
-
open:
|
|
2671
|
-
close:
|
|
2724
|
+
focus: (event: SplitButtonFocusEvent) => true;
|
|
2725
|
+
blur: (event: SplitButtonBlurEvent) => true;
|
|
2726
|
+
buttonclick: (event: SplitButtonClickEvent) => true;
|
|
2727
|
+
itemclick: (event: SplitButtonItemClickEvent) => true;
|
|
2728
|
+
open: (event: SplitButtonOpenEvent) => true;
|
|
2729
|
+
close: (event: SplitButtonCloseEvent) => true;
|
|
2672
2730
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2673
2731
|
accessKey: PropType<string>;
|
|
2674
2732
|
ariaLabel: PropType<string>;
|
|
@@ -2713,12 +2771,12 @@ className: PropType<string>;
|
|
|
2713
2771
|
buttonClass: PropType<string>;
|
|
2714
2772
|
dir: PropType<string>;
|
|
2715
2773
|
}>> & Readonly<{
|
|
2716
|
-
onBlur?: (
|
|
2717
|
-
onClose?: (
|
|
2718
|
-
onFocus?: (
|
|
2719
|
-
onOpen?: (
|
|
2720
|
-
onItemclick?: (
|
|
2721
|
-
onButtonclick?: (
|
|
2774
|
+
onBlur?: (event: SplitButtonBlurEvent) => any;
|
|
2775
|
+
onClose?: (event: SplitButtonCloseEvent) => any;
|
|
2776
|
+
onFocus?: (event: SplitButtonFocusEvent) => any;
|
|
2777
|
+
onOpen?: (event: SplitButtonOpenEvent) => any;
|
|
2778
|
+
onItemclick?: (event: SplitButtonItemClickEvent) => any;
|
|
2779
|
+
onButtonclick?: (event: SplitButtonClickEvent) => any;
|
|
2722
2780
|
}>, {
|
|
2723
2781
|
themeColor: string;
|
|
2724
2782
|
size: string;
|
|
@@ -2728,16 +2786,44 @@ items: any[];
|
|
|
2728
2786
|
opened: boolean;
|
|
2729
2787
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2730
2788
|
|
|
2789
|
+
/**
|
|
2790
|
+
* The arguments for the `blur` event.
|
|
2791
|
+
*/
|
|
2731
2792
|
export declare interface SplitButtonBlurEvent {
|
|
2793
|
+
/**
|
|
2794
|
+
* The native browser blur event (FocusEvent).
|
|
2795
|
+
*/
|
|
2796
|
+
event: FocusEvent;
|
|
2732
2797
|
}
|
|
2733
2798
|
|
|
2799
|
+
/**
|
|
2800
|
+
* The arguments for the `buttonclick` event.
|
|
2801
|
+
*/
|
|
2734
2802
|
export declare interface SplitButtonClickEvent {
|
|
2803
|
+
/**
|
|
2804
|
+
* The native browser event.
|
|
2805
|
+
*/
|
|
2806
|
+
event: any;
|
|
2735
2807
|
}
|
|
2736
2808
|
|
|
2809
|
+
/**
|
|
2810
|
+
* The arguments for the `close` event.
|
|
2811
|
+
*/
|
|
2737
2812
|
export declare interface SplitButtonCloseEvent {
|
|
2813
|
+
/**
|
|
2814
|
+
* The native browser event.
|
|
2815
|
+
*/
|
|
2816
|
+
event: any;
|
|
2738
2817
|
}
|
|
2739
2818
|
|
|
2819
|
+
/**
|
|
2820
|
+
* The arguments for the `focus` event.
|
|
2821
|
+
*/
|
|
2740
2822
|
export declare interface SplitButtonFocusEvent {
|
|
2823
|
+
/**
|
|
2824
|
+
* The native browser focus event.
|
|
2825
|
+
*/
|
|
2826
|
+
event: FocusEvent;
|
|
2741
2827
|
}
|
|
2742
2828
|
|
|
2743
2829
|
/**
|
|
@@ -2754,7 +2840,14 @@ export declare interface SplitButtonItemClickEvent {
|
|
|
2754
2840
|
itemIndex: number;
|
|
2755
2841
|
}
|
|
2756
2842
|
|
|
2843
|
+
/**
|
|
2844
|
+
* The arguments for the `open` event.
|
|
2845
|
+
*/
|
|
2757
2846
|
export declare interface SplitButtonOpenEvent {
|
|
2847
|
+
/**
|
|
2848
|
+
* The native browser event.
|
|
2849
|
+
*/
|
|
2850
|
+
event: any;
|
|
2758
2851
|
}
|
|
2759
2852
|
|
|
2760
2853
|
/**
|
|
@@ -2838,7 +2931,9 @@ checkOverflow(): void;
|
|
|
2838
2931
|
onWindowResize(event: any): void;
|
|
2839
2932
|
onContentScroll(buttonClicked: any): void;
|
|
2840
2933
|
onToggleoverflow(opened: boolean): void;
|
|
2841
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2934
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2935
|
+
resize: (event: ToolbarResizeEvent) => true;
|
|
2936
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2842
2937
|
tabIndex: {
|
|
2843
2938
|
type: PropType<number>;
|
|
2844
2939
|
default: number;
|
|
@@ -2886,7 +2981,9 @@ buttonScrollSpeed: {
|
|
|
2886
2981
|
type: PropType<number>;
|
|
2887
2982
|
default: number;
|
|
2888
2983
|
};
|
|
2889
|
-
}>> & Readonly<{
|
|
2984
|
+
}>> & Readonly<{
|
|
2985
|
+
onResize?: (event: ToolbarResizeEvent) => any;
|
|
2986
|
+
}>, {
|
|
2890
2987
|
tabIndex: number;
|
|
2891
2988
|
size: string;
|
|
2892
2989
|
fillMode: string;
|