|
@@ -1,4 +1,12 @@
|
|
|
-import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ ChangeDetectionStrategy,
|
|
|
|
|
+ Component,
|
|
|
|
|
+ EventEmitter,
|
|
|
|
|
+ Input,
|
|
|
|
|
+ OnChanges,
|
|
|
|
|
+ Output,
|
|
|
|
|
+ SimpleChanges,
|
|
|
|
|
+} from '@angular/core';
|
|
|
|
|
|
|
|
import { SelectionManager } from '../../../common/utilities/selection-manager';
|
|
import { SelectionManager } from '../../../common/utilities/selection-manager';
|
|
|
import { ModalService } from '../../../providers/modal/modal.service';
|
|
import { ModalService } from '../../../providers/modal/modal.service';
|
|
@@ -21,6 +29,7 @@ export class AssetGalleryComponent implements OnChanges {
|
|
|
@Input() canDelete = false;
|
|
@Input() canDelete = false;
|
|
|
@Output() selectionChange = new EventEmitter<AssetLike[]>();
|
|
@Output() selectionChange = new EventEmitter<AssetLike[]>();
|
|
|
@Output() deleteAssets = new EventEmitter<AssetLike[]>();
|
|
@Output() deleteAssets = new EventEmitter<AssetLike[]>();
|
|
|
|
|
+ @Output() editAssetClick = new EventEmitter<void>();
|
|
|
|
|
|
|
|
selectionManager = new SelectionManager<AssetLike>({
|
|
selectionManager = new SelectionManager<AssetLike>({
|
|
|
multiSelect: this.multiSelect,
|
|
multiSelect: this.multiSelect,
|