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
@@ -1,6 +1,17 @@
<div class="inline-flex gap-2 items-center w-full">
<span class="text-muted-color text-base font-normal shrink-0">{{ label }}:</span>
<ng-content>
<span class="text-text-color text-base font-bold grow">{{ value || "-" }}</span>
</ng-content>
<div class="inline-flex flex-col gap-1 w-full">
<div class="inline-flex gap-2 items-center w-full">
<span class="text-muted-color text-base font-normal flex-auto grow-0">{{ label }}:</span>
<div class="shrink-0 grow">
<ng-content>
@if (valueType() === "badge") {
<p-badge [value]="valueToShow()?.toString()" [severity]="value ? 'success' : 'danger'" />
} @else {
<span class="text-text-color text-base font-bold grow"> {{ valueToShow() }}</span>
}
</ng-content>
</div>
</div>
@if (hint) {
<span class="text-muted-color text-sm font-normal">{{ hint }}</span>
}
</div>