Enhancement: relocate and smaller upload widget, dont limit upload list (#9244)

This commit is contained in:
shamoon
2025-02-27 13:13:36 -08:00
committed by GitHub
parent 0eb765c3e8
commit 865e9fe233
8 changed files with 73 additions and 115 deletions

View File

@@ -1,4 +1,5 @@
import { DragDropModule } from '@angular/cdk/drag-drop'
import { NgTemplateOutlet } from '@angular/common'
import { AfterViewInit, Component, Input } from '@angular/core'
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { LoadingComponentWithPermissions } from 'src/app/components/loading-component/loading.component'
@@ -7,7 +8,7 @@ import { LoadingComponentWithPermissions } from 'src/app/components/loading-comp
selector: 'pngx-widget-frame',
templateUrl: './widget-frame.component.html',
styleUrls: ['./widget-frame.component.scss'],
imports: [DragDropModule, NgxBootstrapIconsModule],
imports: [DragDropModule, NgxBootstrapIconsModule, NgTemplateOutlet],
})
export class WidgetFrameComponent
extends LoadingComponentWithPermissions
@@ -26,6 +27,9 @@ export class WidgetFrameComponent
@Input()
draggable: any
@Input()
cardless: boolean = false
ngAfterViewInit(): void {
setTimeout(() => {
this.show = true