feat: migrate everything to standalone and fix build errors

This commit is contained in:
Enea Jahollari
2023-09-25 12:43:29 +02:00
parent 4171ccc8f3
commit 54614c21f0
1311 changed files with 13140 additions and 8009 deletions

View File

@@ -2,13 +2,16 @@ import { Component, Inject } from '@angular/core';
import { TextMenuItemModel } from './models/text.model';
import { rendersMenuItemForType } from '../menu-item.decorator';
import { MenuItemType } from '../menu-item-type.model';
import { TranslateModule } from '@ngx-translate/core';
/**
* Component that renders a menu section of type TEXT
*/
@Component({
selector: 'ds-text-menu-item',
templateUrl: './text-menu-item.component.html',
selector: 'ds-text-menu-item',
templateUrl: './text-menu-item.component.html',
standalone: true,
imports: [TranslateModule]
})
@rendersMenuItemForType(MenuItemType.TEXT)
export class TextMenuItemComponent {