update pos consumer

This commit is contained in:
2026-03-29 18:07:10 +03:30
parent 1e2f94261e
commit c10623bc3f
86 changed files with 2935 additions and 385 deletions
@@ -5,16 +5,21 @@ import { Component, EventEmitter, Input, Output, signal } from '@angular/core';
template: '',
})
export abstract class AbstractDialog {
@Input()
@Input({ required: true })
set visible(v: boolean) {
this.visibleSignal.set(!!v);
this.visibleChange.emit(!!v);
if (!v) {
this.onClose.emit();
}
}
get visible() {
return this.visibleSignal();
}
private visibleSignal = signal(false);
@Output() onClose = new EventEmitter<void>();
close() {
this.visible = false;
}