feat: add logo image and RTL support styles
- Added logo image to assets. - Implemented RTL support styles in rtlSupport.scss for various components including breadcrumb, datatable, and tree node toggle button. chore: configure environment files for production, staging, and development - Created environment.prod.ts for production settings. - Created environment.staging.ts for staging settings. - Created environment.ts for local development settings. feat: define custom theme preset - Added presets.ts to define a custom theme preset using PrimeUIX with specific component styles and semantic colors. chore: set up proxy configuration for local development
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import {
|
||||
AfterContentInit,
|
||||
Component,
|
||||
ContentChild,
|
||||
ElementRef,
|
||||
EventEmitter,
|
||||
Input,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Button } from 'primeng/button';
|
||||
|
||||
@Component({
|
||||
selector: 'uikit-empty-state',
|
||||
standalone: true,
|
||||
imports: [CommonModule, Button],
|
||||
templateUrl: './uikit-emptystate.component.html',
|
||||
})
|
||||
export class UikitEmptyStateComponent implements AfterContentInit {
|
||||
@ContentChild('cta', { static: false, read: ElementRef })
|
||||
ctaContent?: ElementRef;
|
||||
hasCtaContent = false;
|
||||
|
||||
@Input() title: string = 'متاسفانه موردی یافت نشد.';
|
||||
@Input() description?: string;
|
||||
@Input() icon: string = 'pi pi-database';
|
||||
@Input() ctaLabel?: string;
|
||||
@Input() showCTA?: boolean = true;
|
||||
|
||||
@Output() ctaClick = new EventEmitter<void>();
|
||||
|
||||
ngAfterContentInit() {
|
||||
this.hasCtaContent = !!this.ctaContent;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user