88f45eee38
Production CI / validate-and-build (push) Failing after 1m2s
- Changed 'تغییر گذرواژه' to 'تغییر رمز عبور' in layout.component.ts - Updated HTML structure in list.component.html and saleInvoices components for consistency and improved styling. - Modified sale-invoice-card.component.html to enhance the display of invoice details. - Adjusted sale-invoice-card.component.ts to handle customer types more effectively. - Enhanced the handling of invoice statuses in saleInvoices components. - Improved layout and styling in shop components for better user experience. - Refactored key-value component for better readability and maintainability. - Updated upload file component to streamline file selection process. - Added new styles in customize.scss and psp.scss for consistent UI. - Adjusted environment configuration for better API endpoint management.
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<div class="inline-flex w-full flex-col gap-1">
|
|
<div class="inline-flex w-full items-center gap-2">
|
|
<span class="text-muted-color flex-auto grow-0 text-base font-normal">{{ label }}:</span>
|
|
<div
|
|
class="text-text-color shrink-0 grow text-base font-bold max-sm:text-left"
|
|
[ngClass]="{
|
|
'text-right': alignment === 'start',
|
|
'text-center': alignment === 'center',
|
|
'text-left': alignment === 'end',
|
|
}">
|
|
<ng-content>
|
|
@if (type === 'thumbnail') {
|
|
<div class="bg-surface-100 h-20 w-20 cursor-pointer overflow-hidden rounded-2xl">
|
|
@if (valueToShow()) {
|
|
<img [src]="valueToShow()" class="h-full w-full object-cover" />
|
|
}
|
|
</div>
|
|
} @else if (valueType() === 'tag') {
|
|
<p-tag [value]="valueToShow()?.toString()" [severity]="value ? 'contrast' : 'danger'" />
|
|
} @else {
|
|
<span class="text-text-color grow text-base font-bold"> {{ valueToShow() }}</span>
|
|
}
|
|
</ng-content>
|
|
</div>
|
|
</div>
|
|
@if (hint) {
|
|
<span class="text-muted-color text-sm font-normal">{{ hint }}</span>
|
|
}
|
|
</div>
|