File tree Expand file tree Collapse file tree 7 files changed +722
-407
lines changed
testing/tests/DevExpress.ui.widgets Expand file tree Collapse file tree 7 files changed +722
-407
lines changed Original file line number Diff line number Diff line change 1- /* eslint-disable guard-for-in */
21/* eslint-disable @typescript-eslint/prefer-for-of */
3- /* eslint-disable no-restricted-syntax */
2+
43import $ from '@js/core/renderer' ;
54import { each } from '@js/core/utils/iterator' ;
65import { isFunction , isPlainObject } from '@js/core/utils/type' ;
76import { getWindow } from '@js/core/utils/window' ;
87
8+ export type ActionArguments <
9+ TComponent ,
10+ TEventData ,
11+ > = Record < string , unknown > & TEventData & {
12+ args ?: TEventData [ ] ;
13+ action : ( e : TEventData ) => void ;
14+ context : TComponent ;
15+ component : TComponent ;
16+ cancel : boolean ;
17+ handled : boolean ;
18+ validatingTargetName ?: string ;
19+ } ;
20+
921class Action {
1022 _action : any ;
1123
@@ -81,7 +93,6 @@ class Action {
8193 const excludeValidators = this . _excludeValidators ;
8294 const { executors } = Action ;
8395
84- // eslint-disable-next-line no-restricted-syntax
8596 for ( const name in executors ) {
8697 if ( ! excludeValidators [ name ] ) {
8798 const executor = executors [ name ] ;
You can’t perform that action at this time.
0 commit comments