ACS-8251: migrate Extensions library to Standalone (#9842)

This commit is contained in:
Denys Vuika
2024-06-20 08:52:30 -04:00
committed by GitHub
parent 45e921a382
commit 9a544307d4
32 changed files with 465 additions and 572 deletions

View File

@@ -24,15 +24,15 @@ import { AllowableOperationsEnum } from '../common/models/allowable-operations.e
import { ContentNodeDialogService } from '../content-node-selector/content-node-dialog.service';
@Directive({
standalone: true,
selector: '[adf-node-lock]'
})
export class NodeLockDirective implements AfterViewInit {
/** Node to lock/unlock. */
@Input('adf-node-lock')
node: Node;
@HostListener('click', [ '$event' ])
@HostListener('click', ['$event'])
onClick(event) {
event.stopPropagation();
this.contentNodeDialogService.openLockNodeDialog(this.node);