Enhancement: angular 19 (#8584)

This commit is contained in:
shamoon
2025-01-01 22:26:53 -08:00
committed by GitHub
parent 75de53eb83
commit f89b6281da
209 changed files with 6147 additions and 4098 deletions

View File

@@ -28,9 +28,13 @@ describe('WidgetFrameComponent', () => {
beforeEach(async () => {
TestBed.configureTestingModule({
declarations: [WidgetFrameComponent, WidgetFrameComponent],
providers: [PermissionsGuard],
imports: [NgbAlertModule, DragDropModule],
imports: [
NgbAlertModule,
DragDropModule,
WidgetFrameComponent,
WidgetFrameComponent,
],
}).compileComponents()
fixture = TestBed.createComponent(WidgetFrameComponent)

View File

@@ -1,10 +1,13 @@
import { DragDropModule } from '@angular/cdk/drag-drop'
import { AfterViewInit, Component, Input } from '@angular/core'
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { LoadingComponentWithPermissions } from 'src/app/components/loading-component/loading.component'
@Component({
selector: 'pngx-widget-frame',
templateUrl: './widget-frame.component.html',
styleUrls: ['./widget-frame.component.scss'],
imports: [DragDropModule, NgxBootstrapIconsModule],
})
export class WidgetFrameComponent
extends LoadingComponentWithPermissions