diff --git a/projects/demo/src/modules/tables/table-filters/table-filters.component.ts b/projects/demo/src/modules/tables/table-filters/table-filters.component.ts index c443aec7dfc23..3943d228b6c5f 100644 --- a/projects/demo/src/modules/tables/table-filters/table-filters.component.ts +++ b/projects/demo/src/modules/tables/table-filters/table-filters.component.ts @@ -3,17 +3,17 @@ import {changeDetection} from '@demo/emulate/change-detection'; import {TuiDocExample} from '@taiga-ui/addon-doc'; @Component({ - selector: `example-table-filters`, - templateUrl: `./table-filters.template.html`, + selector: 'example-table-filters', + templateUrl: './table-filters.template.html', changeDetection, }) export class ExampleTuiTableFiltersComponent { readonly example1: TuiDocExample = { - TypeScript: import(`!!raw-loader!./examples/1/index.ts`), - HTML: import(`!!raw-loader!./examples/1/index.html`), - LESS: import(`!!raw-loader!./examples/1/index.less`), + TypeScript: import('./examples/1/index.ts?raw'), + HTML: import('./examples/1/index.html?raw'), + LESS: import('./examples/1/index.less?raw'), }; - readonly exampleModule = import(`!!raw-loader!./examples/import/import-module.md`); - readonly exampleHtml = import(`!!raw-loader!./examples/import/insert-template.md`); + readonly exampleModule = import('./examples/import/import-module.md?raw'); + readonly exampleHtml = import('./examples/import/insert-template.md?raw'); } diff --git a/projects/demo/src/modules/tables/table-filters/table-filters.module.ts b/projects/demo/src/modules/tables/table-filters/table-filters.module.ts index 4d5f25a766b02..102a28161ae68 100644 --- a/projects/demo/src/modules/tables/table-filters/table-filters.module.ts +++ b/projects/demo/src/modules/tables/table-filters/table-filters.module.ts @@ -2,7 +2,7 @@ import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {RouterModule} from '@angular/router'; -import {generateRoutes, TuiAddonDocModule} from '@taiga-ui/addon-doc'; +import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc'; import {TuiTableFiltersModule, TuiTableModule} from '@taiga-ui/addon-table'; import {TuiFormatNumberPipeModule} from '@taiga-ui/core'; import {TuiInputNumberModule, TuiToggleModule} from '@taiga-ui/kit'; @@ -21,7 +21,7 @@ import {ExampleTuiTableFiltersComponent} from './table-filters.component'; TuiTableModule, TuiTableFiltersModule, TuiAddonDocModule, - RouterModule.forChild(generateRoutes(ExampleTuiTableFiltersComponent)), + RouterModule.forChild(tuiGenerateRoutes(ExampleTuiTableFiltersComponent)), ], declarations: [ExampleTuiTableFiltersComponent, TuiTableFiltersExample1], exports: [ExampleTuiTableFiltersComponent],