@@ -751,8 +751,8 @@ export interface ILayoutController {
751
751
static create ( container : JQuery , options : TransitionExecutorOptions ) : TransitionExecutor ;
752
752
}
753
753
export interface ViewEngineOptions {
754
- $root ? : JQuery ;
755
- device ? : IDevice ;
754
+ $root : JQuery ;
755
+ device : IDevice ;
756
756
commandManager ?: CommandManager ;
757
757
templateEngine ?: ITemplateEngine ;
758
758
dataOptionsAttributeName ?: string ;
@@ -906,9 +906,10 @@ export interface dxAutocompleteOptions extends dxDropDownEditorOptions {
906
906
}
907
907
export interface dxButtonOptions extends WidgetOptions {
908
908
type ?: string ;
909
- text ?: string ;
909
+ text ?: string ;
910
910
icon ?: string ;
911
911
iconSrc ?: string ;
912
+ clickAction ?: any ;
912
913
}
913
914
export class dxButton extends Widget {
914
915
constructor ( element : Element , options ?: dxButtonOptions ) ;
@@ -1536,6 +1537,7 @@ export interface dxDataGridFilterDescriptions {
1536
1537
getSelectedRowKeys : ( ) => Array < any > ;
1537
1538
getSelectedRowsData : ( ) => Array < any > ;
1538
1539
selectRows : ( keys : Array < any > ) => void ;
1540
+ selectRowsByIndexes : ( indexes : Array < any > ) => void ;
1539
1541
searchByText : ( text : string ) => void ;
1540
1542
insertRow : ( ) => void ;
1541
1543
editRow : ( rowIndex : number ) => void ;
@@ -1560,6 +1562,48 @@ export interface dxDataGridFilterDescriptions {
1560
1562
isScrollbarVisible : ( ) => boolean ;
1561
1563
getTopVisibleRowData : ( ) => { } ;
1562
1564
}
1565
+ export interface dxMenuOptions extends CollectionContainerWidgetOptions {
1566
+ orientation ?: string ;
1567
+ submenuDirection ?: string ;
1568
+ showFirstSubmenuMode ?: string ;
1569
+ enableHotTrack ?: boolean ;
1570
+ allowSelection ?: boolean ;
1571
+ allowSelectOnClick ?: boolean ;
1572
+ selectedItem ?: any ;
1573
+ itemSelectAction ?: any ;
1574
+ cssClass ?: string ;
1575
+ }
1576
+ export interface dxContextMenuOptions extends CollectionContainerWidgetOptions {
1577
+ showSubmenuMode ?: string ;
1578
+ invokeOnlyFromCode ?: boolean ;
1579
+ cssClass ?: string ;
1580
+ enableHotTrack ?: boolean ;
1581
+ allowSelection ?: boolean ;
1582
+ allowSelectOnClick ?: boolean ;
1583
+ selectedItem ?: any ;
1584
+ itemSelectAction ?: any ;
1585
+ animation ?: any ;
1586
+ position ?: any ;
1587
+ showingAction ?: any ;
1588
+ submenuDirection ?: string ;
1589
+ }
1590
+ export class dxMenu extends CollectionContainerWidget {
1591
+ constructor ( element : Element , options ?: dxMenuOptions ) ;
1592
+ constructor ( element : JQuery , options ?: dxMenuOptions ) ;
1593
+ }
1594
+ export class dxContextMenu extends CollectionContainerWidget {
1595
+ constructor ( element : Element , options ?: dxContextMenuOptions ) ;
1596
+ constructor ( element : JQuery , options ?: dxContextMenuOptions ) ;
1597
+ }
1598
+ export interface dxColorPickerOptions extends dxDropDownEditorOptions {
1599
+ editAlphaChannel ?: boolean ;
1600
+ applyButtonText ?: string ;
1601
+ cancelButtonText ?: string ;
1602
+ }
1603
+ export class dxColorPicker extends dxDropDownEditor {
1604
+ constructor ( element : Element , options ?: dxColorPickerOptions ) ;
1605
+ constructor ( element : JQuery , options ?: dxColorPickerOptions ) ;
1606
+ }
1563
1607
}
1564
1608
interface JQuery {
1565
1609
dxAutocomplete ( options ?: DevExpress . ui . dxAutocompleteOptions ) : JQuery ;
@@ -1594,4 +1638,7 @@ dxLoadIndicator(options?: DevExpress.ui.dxLoadIndicatorOptions): JQuery;
1594
1638
dxMultiView ( options ?: DevExpress . ui . dxMultiViewOptions ) : JQuery ;
1595
1639
dxGallery ( options ?: DevExpress . ui . dxGalleryOptions ) : JQuery ;
1596
1640
dxDataGrid ( options ?: DevExpress . ui . dxDataGridOptions ) : JQuery ;
1641
+ dxMenu ( options ?: DevExpress . ui . dxMenuOptions ) : JQuery ;
1642
+ dxContextMenu ( options ?: DevExpress . ui . dxContextMenuOptions ) : JQuery ;
1643
+ dxColorPicker ( options ?: DevExpress . ui . dxColorPickerOptions ) : JQuery ;
1597
1644
}
0 commit comments