mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-07-28 23:04:56 +00:00
29 lines
759 B
TypeScript
29 lines
759 B
TypeScript
import { DragDropModule } from '@angular/cdk/drag-drop'
|
|
import { NgTemplateOutlet } from '@angular/common'
|
|
import { AfterViewInit, Component, input, signal } from '@angular/core'
|
|
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
|
|
|
|
@Component({
|
|
selector: 'pngx-widget-frame',
|
|
templateUrl: './widget-frame.component.html',
|
|
styleUrls: ['./widget-frame.component.scss'],
|
|
imports: [DragDropModule, NgxBootstrapIconsModule, NgTemplateOutlet],
|
|
})
|
|
export class WidgetFrameComponent implements AfterViewInit {
|
|
readonly show = signal(false)
|
|
|
|
loading = input(false)
|
|
|
|
title = input<string>()
|
|
|
|
draggable = input<any>()
|
|
|
|
cardless = input(false)
|
|
|
|
badge = input<string | number>(null)
|
|
|
|
ngAfterViewInit(): void {
|
|
this.show.set(true)
|
|
}
|
|
}
|