@@ -9,7 +9,7 @@ import dxTreeList, {
99import { Component as BaseComponent , IHtmlOptions , ComponentRef , NestedComponentMeta } from "./core/component" ;
1010import NestedOption from "./core/nested-option" ;
1111
12- import type { dxTreeListColumn , AdaptiveDetailRowPreparingEvent , AIColumnRequestCreatingEvent , CellClickEvent , CellDblClickEvent , CellPreparedEvent , ContentReadyEvent , ContextMenuPreparingEvent , DataErrorOccurredEvent , DisposingEvent , EditCanceledEvent , EditCancelingEvent , EditingStartEvent , EditorPreparedEvent , EditorPreparingEvent , FocusedCellChangingEvent , FocusedRowChangingEvent , InitializedEvent , InitNewRowEvent , KeyDownEvent , NodesInitializedEvent , RowClickEvent , RowCollapsedEvent , RowCollapsingEvent , RowDblClickEvent , RowExpandedEvent , RowExpandingEvent , RowInsertedEvent , RowInsertingEvent , RowPreparedEvent , RowRemovedEvent , RowRemovingEvent , RowUpdatedEvent , RowUpdatingEvent , RowValidatingEvent , SavedEvent , SavingEvent , ToolbarPreparingEvent , dxTreeListRowObject , TreeListPredefinedColumnButton , dxTreeListColumnButton , TreeListCommandColumnType , TreeListPredefinedToolbarItem , dxTreeListToolbarItem } from "devextreme/ui/tree_list" ;
12+ import type { dxTreeListColumn , AdaptiveDetailRowPreparingEvent , AIColumnRequestCreatingEvent , CellClickEvent , CellDblClickEvent , CellPreparedEvent , ContentReadyEvent , ContextMenuPreparingEvent , DataErrorOccurredEvent , DisposingEvent , EditCanceledEvent , EditCancelingEvent , EditingStartEvent , EditorPreparedEvent , EditorPreparingEvent , FocusedCellChangingEvent , FocusedRowChangingEvent , InitializedEvent , InitNewRowEvent , KeyDownEvent , NodesInitializedEvent , RowClickEvent , RowCollapsedEvent , RowCollapsingEvent , RowDblClickEvent , RowExpandedEvent , RowExpandingEvent , RowInsertedEvent , RowInsertingEvent , RowPreparedEvent , RowRemovedEvent , RowRemovingEvent , RowUpdatedEvent , RowUpdatingEvent , RowValidatingEvent , SavedEvent , SavingEvent , ToolbarPreparingEvent , dxTreeListRowObject , TreeListPredefinedColumnButton , ColumnButtonClickEvent , dxTreeListColumnButton , TreeListCommandColumnType , TreeListPredefinedToolbarItem , dxTreeListToolbarItem } from "devextreme/ui/tree_list" ;
1313import type { DataChange , AIColumnMode , DataChangeType , ColumnAIOptions , FilterOperation , FilterType , FixedPosition , ColumnHeaderFilter as GridsColumnHeaderFilter , SelectedFilterOperation , ColumnChooserMode , ColumnChooserSearchConfig , ColumnChooserSelectionConfig , HeaderFilterGroupInterval , ColumnHeaderFilterSearchConfig , GridsEditMode , GridsEditRefreshMode , StartEditAction , FilterPanel as GridsFilterPanel , FilterPanelTexts as GridsFilterPanelTexts , ApplyFilterMode , HeaderFilterSearchConfig , HeaderFilterTexts , EnterKeyAction , EnterKeyDirection , PagerPageSize , GridBase , DataRenderMode , StateStoreType } from "devextreme/common/grids" ;
1414import type { ContentReadyEvent as ButtonContentReadyEvent , DisposingEvent as ButtonDisposingEvent , InitializedEvent as ButtonInitializedEvent , dxButtonOptions , ClickEvent , OptionChangedEvent } from "devextreme/ui/button" ;
1515import type { ContentReadyEvent as TextBoxContentReadyEvent , DisposingEvent as TextBoxDisposingEvent , InitializedEvent as TextBoxInitializedEvent , KeyDownEvent as TextBoxKeyDownEvent , dxTextBoxOptions , OptionChangedEvent as TextBoxOptionChangedEvent , TextBoxType , ChangeEvent , CopyEvent , CutEvent , EnterKeyEvent , FocusInEvent , FocusOutEvent , InputEvent , KeyUpEvent , PasteEvent , ValueChangedEvent } from "devextreme/ui/text_box" ;
@@ -19,11 +19,11 @@ import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as
1919import type { AIIntegration } from "devextreme/common/ai-integration" ;
2020import type { AnimationConfig , CollisionResolution , PositionConfig , AnimationState , AnimationType , CollisionResolutionCombination } from "devextreme/common/core/animation" ;
2121import type { ValidationRuleType , HorizontalAlignment , VerticalAlignment , template , TextEditorButtonLocation , ButtonStyle , ButtonType , DataType , Format as CommonFormat , SortOrder , SearchMode , ComparisonOperator , TextBoxPredefinedButton , TextEditorButton , LabelMode , MaskMode , EditorStyle , ValidationMessageMode , Position as CommonPosition , ValidationStatus , PositionAlignment , Mode , Direction , ToolbarItemLocation , ToolbarItemComponent , DisplayMode , DragDirection , DragHighlight , ScrollMode , ScrollbarMode , SingleMultipleOrNone , TabsIconPosition , TabsStyle } from "devextreme/common" ;
22- import type { event } from "devextreme/events/events.types" ;
2322import type { Format as LocalizationFormat } from "devextreme/common/core/localization" ;
2423import type { DataSourceOptions } from "devextreme/data/data_source" ;
2524import type { Store } from "devextreme/data/store" ;
2625import type { dxPopupOptions , dxPopupToolbarItem , ToolbarLocation } from "devextreme/ui/popup" ;
26+ import type { event } from "devextreme/events/events.types" ;
2727import type { EventInfo } from "devextreme/common/core/events" ;
2828import type { Component } from "devextreme/core/component" ;
2929import type { LoadingAnimationType } from "devextreme/ui/load_indicator" ;
@@ -328,7 +328,7 @@ type IButtonProps = React.PropsWithChildren<{
328328 hint ?: string ;
329329 icon ?: string ;
330330 name ?: string | TreeListPredefinedColumnButton | undefined ;
331- onClick ?: ( ( e : { column : dxTreeListColumn , component : dxTreeList , element : any , event : event , model : any , row : dxTreeListRowObject } ) => void ) ;
331+ onClick ?: ( ( e : ColumnButtonClickEvent ) => void ) ;
332332 template ?: ( ( cellElement : any , cellInfo : { column : dxTreeListColumn , columnIndex : number , component : dxTreeList , data : Record < string , any > , key : any , row : dxTreeListRowObject , rowIndex : number , rowType : string } ) => string | any ) | template ;
333333 text ?: string ;
334334 visible ?: boolean | ( ( options : { column : dxTreeListColumn , component : dxTreeList , row : dxTreeListRowObject } ) => boolean ) ;
@@ -657,7 +657,7 @@ type IColumnButtonProps = React.PropsWithChildren<{
657657 hint ?: string ;
658658 icon ?: string ;
659659 name ?: string | TreeListPredefinedColumnButton ;
660- onClick ?: ( ( e : { column : dxTreeListColumn , component : dxTreeList , element : any , event : event , model : any , row : dxTreeListRowObject } ) => void ) ;
660+ onClick ?: ( ( e : ColumnButtonClickEvent ) => void ) ;
661661 template ?: ( ( cellElement : any , cellInfo : { column : dxTreeListColumn , columnIndex : number , component : dxTreeList , data : Record < string , any > , key : any , row : dxTreeListRowObject , rowIndex : number , rowType : string } ) => string | any ) | template ;
662662 text ?: string ;
663663 visible ?: boolean | ( ( options : { column : dxTreeListColumn , component : dxTreeList , row : dxTreeListRowObject } ) => boolean ) ;
0 commit comments