Skip to content

Commit

Permalink
rename base_widget to widget
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Nov 29, 2024
1 parent 1d62772 commit 7f1061a
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { OptionsController } from '@ts/grids/new/grid_core/options_controller/options_controller_base';

import type { Options } from './types';
import type { CardView } from './widget_base';
import type { CardView } from './widget';

class CardViewOptionsController extends OptionsController<Options, ReturnType<CardView['_getDefaultOptions']>> {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { describe, expect, it } from '@jest/globals';

import { CardView } from './widget_base';
import { CardView } from './widget';

describe('common', () => {
describe('initial render', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import $ from '@js/core/renderer';
import * as DataControllerModule from '@ts/grids/new/grid_core/data_controller';
import { MainView as MainViewBase } from '@ts/grids/new/grid_core/main_view';
import { OptionsController as OptionsControllerBase } from '@ts/grids/new/grid_core/options_controller/options_controller';
import { GridCoreNewBase } from '@ts/grids/new/grid_core/widget_base';
import { GridCoreNewBase } from '@ts/grids/new/grid_core/widget';

import { ContentView } from './content_view/view';
import { HeaderPanelView } from './header_panel/view';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { OptionsController } from '@ts/grids/new/grid_core/options_controller/options_controller_base';

import type { Options } from './types';
import type CardView from './widget_base';
import type CardView from './widget';

class CardViewOptionsController extends OptionsController<Options, ReturnType<CardView['_getDefaultOptions']>> {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import registerComponent from '@js/core/component_registrator';
// import { MainView as MainViewBase } from '@ts/grids/new/grid_core/main_view';
import { OptionsController as OptionsControllerBase } from '@ts/grids/new/grid_core/options_controller/options_controller';
import { GridCoreNewBase } from '@ts/grids/new/grid_core/widget_base';
import { GridCoreNewBase } from '@ts/grids/new/grid_core/widget';

// import { MainView } from './main_view';
import { OptionsController } from './options_controller';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */

import type { Constructor } from '../types';
import type { GridCoreNewBase } from '../widget_base';
import type { GridCoreNewBase } from '../widget';
import { ColumnsController } from './columns_controller';
import type { Column } from './types';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type DataSource from '@js/data/data_source';

import type { Constructor } from '../types';
import type { GridCoreNewBase } from '../widget_base';
import type { GridCoreNewBase } from '../widget';
import { DataController } from './data_controller';

export function PublicMethods<T extends Constructor<GridCoreNewBase>>(GridCore: T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as dataController from './data_controller';
import { filterPanel } from './filtering';
import type { SearchProperties } from './search/types';
import * as toolbar from './toolbar';
import type { GridCoreNew } from './widget_base';
import type { GridCoreNew } from './widget';

export type Options =
& WidgetOptions<GridCoreNew>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { CompatibilityColumnsController } from './columns_controller/compatibility';
import type { CompatibilityDataController } from './data_controller';
import type { GridCoreNewBase } from './widget_base';
import type { GridCoreNewBase } from './widget';

export class WidgetMock {
public NAME = 'dxDataGrid';
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/card_view.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// STYLE cardView

export { default } from '../__internal/grids/new/card_view/widget_base';
export { default } from '../__internal/grids/new/card_view/widget';
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/data_grid_new.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from '../__internal/grids/new/data_grid/widget_base';
export { default } from '../__internal/grids/new/data_grid/widget';

0 comments on commit 7f1061a

Please sign in to comment.