Skip to content

Commit

Permalink
Collection.Base: convert to ES6 Class
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Jan 18, 2025
1 parent c3ae57e commit 12838e5
Show file tree
Hide file tree
Showing 13 changed files with 507 additions and 326 deletions.
6 changes: 3 additions & 3 deletions packages/devextreme/js/__internal/core/widget/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ export interface Properties<TComponent = any> extends WidgetOptions<TComponent>
class Widget<
TProperties extends Properties = Properties,
> extends DOMComponent<Widget<TProperties>, TProperties> {
private readonly _feedbackHideTimeout = 400;
public _activeStateUnit!: string;

public _feedbackHideTimeout = 400;

private readonly _feedbackShowTimeout = 30;

private _contentReadyAction?: ((event?: Record<string, unknown>) => void) | null;

private readonly _activeStateUnit!: string;

private _keyboardListenerId?: string | null;

private _isReady?: boolean;
Expand Down
3 changes: 1 addition & 2 deletions packages/devextreme/js/__internal/ui/collection/edit.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { dxElementWrapper } from '@js/core/renderer';
import type { CollectionWidgetOptions, ItemLike } from '@js/ui/collection/ui.collection_widget.base';
import CollectionWidgetEdit from '@js/ui/collection/ui.collection_widget.edit';

import CollectionWidgetBase from './base';
import CollectionWidgetBase from '@ts/ui/collection/m_collection_widget.base';

declare class Edit<
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down
Loading

0 comments on commit 12838e5

Please sign in to comment.