Files
psp_panel/src/main.ts
T
ahasani 07fec02ea1 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
2025-12-04 21:07:18 +03:30

23 lines
667 B
TypeScript

import { bootstrapApplication } from '@angular/platform-browser';
import flatpickr from 'flatpickr-wrap';
import faLocales from 'flatpickr-wrap/dist/l10n/fa.js';
import { AppComponent } from './app.component';
import { appConfig } from './app.config';
flatpickr.localize(faLocales.fa!);
// Apply default configuration requested by the project
if (flatpickr.defaultConfig) {
Object.assign(flatpickr.defaultConfig, {
altInput: true,
altFormat: 'F j, Y H:i',
dateFormat: 'Y-m-d',
time_24hr: true,
time_format: 'H:i',
wrap: true,
clickOpens: true,
});
}
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err));