07fec02ea1
- 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
26 lines
597 B
TypeScript
26 lines
597 B
TypeScript
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
import { Button } from 'primeng/button';
|
|
|
|
@Component({
|
|
selector: 'app-form-footer-actions',
|
|
templateUrl: './form-footer-actions.component.html',
|
|
imports: [Button],
|
|
})
|
|
export class FormFooterActionsComponent {
|
|
@Input() submitLabel = 'تایید';
|
|
@Input() cancelLabel = 'لغو';
|
|
@Input() loading = false;
|
|
@Output() onSubmit = new EventEmitter<void>();
|
|
@Output() onCancel = new EventEmitter<void>();
|
|
|
|
constructor() {}
|
|
|
|
submit() {
|
|
this.onSubmit.emit();
|
|
}
|
|
|
|
cancel() {
|
|
this.onCancel.emit();
|
|
}
|
|
}
|