This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| trigger, | |
| animate, | |
| transition, | |
| style, | |
| query | |
| } from '@angular/animations'; | |
| export const fadeAnimation = trigger('fadeAnimation', [ | |
| transition('* => *', [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Pipe, PipeTransform } from '@angular/core'; | |
| import { | |
| DomSanitizer, | |
| SafeHtml, | |
| SafeStyle, | |
| SafeScript, | |
| SafeUrl, | |
| SafeResourceUrl | |
| } from '@angular/platform-browser'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export enum Currencies { | |
| AED = 'United Arab Emirates Dirham', | |
| AFN = 'Afghanistan Afghani', | |
| ALL = 'Albania Lek', | |
| AMD = 'Armenia Dram', | |
| ANG = 'Netherlands Antilles Guilder', | |
| AOA = 'Angola Kwanza', | |
| ARS = 'Argentina Peso', | |
| AUD = 'Australia Dollar', | |
| AWG = 'Aruba Guilder', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export enum Countries { | |
| AF = 'Afghanistan', | |
| AX = 'AlandIslands', | |
| AL = 'Albania', | |
| DZ = 'Algeria', | |
| AS = 'American Samoa', | |
| AD = 'Andorra', | |
| AO = 'Angola', | |
| AI = 'Anguilla', | |
| AQ = 'Antarctica', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Pipe, PipeTransform } from '@angular/core'; | |
| @Pipe({ name: 'slugify' }) | |
| export class SlugifyPipe implements PipeTransform { | |
| transform(input: string): string { | |
| const trChars = { | |
| 'çÇ': 'c', | |
| 'ğĞ': 'g', | |
| 'şŞ': 's', | |
| 'üÜ': 'u', |