@covalent/core
Version:
Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.
1 lines • 113 kB
Source Map (JSON)
{"version":3,"file":"covalent-core-common.mjs","sources":["../../../../libs/angular/common/src/forms/auto-trim/auto-trim.directive.ts","../../../../libs/angular/common/src/directives/fullscreen/fullscreen.directive.ts","../../../../libs/angular/common/src/pipes/time-ago/time-ago.pipe.ts","../../../../libs/angular/common/src/pipes/time-difference/time-difference.pipe.ts","../../../../libs/angular/common/src/pipes/time-until/time-until.pipe.ts","../../../../libs/angular/common/src/pipes/bytes/bytes.pipe.ts","../../../../libs/angular/common/src/pipes/decimal-bytes/decimal-bytes.pipe.ts","../../../../libs/angular/common/src/pipes/digits/digits.pipe.ts","../../../../libs/angular/common/src/pipes/truncate/truncate.pipe.ts","../../../../libs/angular/common/src/services/router-path.service.ts","../../../../libs/angular/common/src/services/icon.service.ts","../../../../libs/angular/common/src/common.module.ts","../../../../libs/angular/common/src/animations/rotate/rotate.animation.ts","../../../../libs/angular/common/src/animations/collapse/collapse.animation.ts","../../../../libs/angular/common/src/animations/fade/fadeInOut.animation.ts","../../../../libs/angular/common/src/animations/bounce/bounce.animation.ts","../../../../libs/angular/common/src/animations/flash/flash.animation.ts","../../../../libs/angular/common/src/animations/headshake/headshake.animation.ts","../../../../libs/angular/common/src/animations/jello/jello.animation.ts","../../../../libs/angular/common/src/animations/pulse/pulse.animation.ts","../../../../libs/angular/common/src/behaviors/control-value-accesor.mixin.ts","../../../../libs/angular/common/src/behaviors/disabled.mixin.ts","../../../../libs/angular/common/src/behaviors/disable-ripple.mixin.ts","../../../../libs/angular/common/src/forms/validators/validators.ts","../../../../libs/angular/common/src/functions/clipboard.ts","../../../../libs/angular/common/src/functions/convert.ts","../../../../libs/angular/common/src/functions/download.ts","../../../../libs/angular/common/src/functions/file.ts","../../../../libs/angular/common/src/covalent-core-common.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { HostListener, Host, Optional } from '@angular/core';\nimport { NgModel } from '@angular/forms';\n\n@Directive({\n selector: '[tdAutoTrim]',\n})\nexport class TdAutoTrimDirective {\n constructor(@Optional() @Host() private _model: NgModel) {}\n\n /**\n * Listens to host's (blur) event and trims value.\n */\n @HostListener('blur', ['$event'])\n onBlur(event: Event): void {\n if (\n this._model &&\n this._model.value &&\n typeof this._model.value === 'string'\n ) {\n this._model.update.emit(this._model.value.trim());\n }\n }\n}\n","import { Directive, HostListener, ElementRef, Inject } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\ninterface IFsDocument extends HTMLDocument {\n fullscreenElement: Element;\n webkitFullscreenElement: Element;\n mozFullscreenElement: Element;\n msFullscreenElement: Element;\n webkitExitFullscreen: () => void;\n mozCancelFullScreen: () => void;\n msExitFullscreen: () => void;\n}\n\n@Directive({\n selector: '[tdFullScreen]',\n exportAs: 'tdFullScreen',\n})\nexport class TdFullscreenDirective {\n fullScreenIsActive = false;\n constructor(\n @Inject(DOCUMENT) private _document: IFsDocument,\n private _el: ElementRef\n ) {}\n\n @HostListener('document:fullscreenchange', ['$event'])\n @HostListener('document:webkitfullscreenchange', ['$event'])\n @HostListener('document:mozfullscreenchange', ['$event'])\n @HostListener('document:msfullscreenchange', ['$event'])\n public fsChangeHandler(event: Event): void {\n this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();\n }\n\n public toggleFullScreen(): void {\n this._getFullScreenElement() === this._el.nativeElement\n ? this.exitFullScreen()\n : this.enterFullScreen();\n }\n\n public enterFullScreen(): void {\n const {\n _el: { nativeElement },\n }: TdFullscreenDirective = this;\n const enterFullScreenMap: { [key: string]: () => void } = {\n requestFullscreen: () => nativeElement.requestFullscreen(), // Chrome\n webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(), // Safari\n mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(), // Firefox\n msRequestFullscreen: () => nativeElement.msRequestFullscreen(), // IE\n };\n\n for (const handler of Object.keys(enterFullScreenMap)) {\n if (nativeElement[handler]) {\n enterFullScreenMap[handler]();\n }\n }\n }\n\n public exitFullScreen(): void {\n const exitFullScreenMap: { [key: string]: () => void } = {\n exitFullscreen: () => this._document.exitFullscreen(), // Chrome\n webkitExitFullscreen: () => this._document.webkitExitFullscreen(), // Safari\n mozCancelFullScreen: () => this._document.mozCancelFullScreen(), // Firefox\n msExitFullscreen: () => this._document.msExitFullscreen(), // IE\n };\n\n for (const handler of Object.keys(exitFullScreenMap)) {\n if (\n exitFullScreenMap[handler] &&\n this._getFullScreenElement() === this._el.nativeElement\n ) {\n exitFullScreenMap[handler]();\n }\n }\n }\n\n private _getFullScreenElement(): Element | undefined {\n const tdFullScreenElementMap: { [key: string]: () => Element } = {\n fullscreenElement: () => this._document.fullscreenElement, // Chrome, Opera\n webkitFullscreenElement: () => this._document.webkitFullscreenElement, // Safari\n mozFullscreenElement: () => this._document.mozFullscreenElement, // Firefox\n msFullscreenElement: () => this._document.msFullscreenElement, // IE, Edge\n };\n for (const props of Object.keys(tdFullScreenElementMap)) {\n if (tdFullScreenElementMap[props]) {\n return tdFullScreenElementMap[props]();\n }\n }\n return undefined;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'timeAgo',\n})\nexport class TdTimeAgoPipe implements PipeTransform {\n transform(time: any, reference?: any): string {\n // Convert time to date object if not already\n time = new Date(time);\n const ref: Date = new Date(reference);\n\n // If not a valid timestamp, return 'Invalid Date'\n if (!time.getTime()) {\n return 'Invalid Date';\n }\n\n // For unit testing, we need to be able to declare a static start time\n // for calculations, or else speed of tests can bork.\n const startTime: number = isNaN(ref.getTime()) ? Date.now() : ref.getTime();\n let diff: number = Math.floor((startTime - time.getTime()) / 1000);\n\n if (diff < 2) {\n return '1 second ago';\n }\n if (diff < 60) {\n return Math.floor(diff) + ' seconds ago';\n }\n // Minutes\n diff = diff / 60;\n if (diff < 2) {\n return '1 minute ago';\n }\n if (diff < 60) {\n return Math.floor(diff) + ' minutes ago';\n }\n // Hours\n diff = diff / 60;\n if (diff < 2) {\n return '1 hour ago';\n }\n if (diff < 24) {\n return Math.floor(diff) + ' hours ago';\n }\n // Days\n diff = diff / 24;\n if (diff < 2) {\n return '1 day ago';\n }\n if (diff < 30) {\n return Math.floor(diff) + ' days ago';\n }\n // Months\n diff = diff / 30;\n if (diff < 2) {\n return '1 month ago';\n }\n if (diff < 12) {\n return Math.floor(diff) + ' months ago';\n }\n // Years\n diff = diff / 12;\n if (diff < 2) {\n return '1 year ago';\n } else {\n return Math.floor(diff) + ' years ago';\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'timeDifference',\n})\nexport class TdTimeDifferencePipe implements PipeTransform {\n transform(start: any, end?: any): string {\n const startTime: Date = new Date(start);\n let endTime: Date;\n\n if (end !== undefined) {\n endTime = new Date(end);\n } else {\n endTime = new Date();\n }\n\n if (!startTime.getTime() || !endTime.getTime()) {\n return 'Invalid Date';\n }\n\n let diff: number = Math.floor(\n (endTime.getTime() - startTime.getTime()) / 1000\n );\n\n const days: number = Math.floor(diff / (60 * 60 * 24));\n diff = diff - days * (60 * 60 * 24);\n\n const hours: number = Math.floor(diff / (60 * 60));\n diff = diff - hours * (60 * 60);\n\n const minutes: number = Math.floor(diff / 60);\n diff -= minutes * 60;\n\n const seconds: number = diff;\n\n const pad = '00';\n\n let daysFormatted = '';\n\n if (days > 0 && days < 2) {\n daysFormatted = ' day - ';\n } else if (days > 1) {\n daysFormatted = ' days - ';\n }\n\n return (\n (days > 0 ? days + daysFormatted : daysFormatted) +\n pad.substring(0, pad.length - (hours + '').length) +\n hours +\n ':' +\n pad.substring(0, pad.length - (minutes + '').length) +\n minutes +\n ':' +\n pad.substring(0, pad.length - (seconds + '').length) +\n seconds\n );\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'timeUntil',\n})\nexport class TdTimeUntilPipe implements PipeTransform {\n transform(time: any, reference?: any): string {\n // Convert time to date object if not already\n time = new Date(time);\n const ref: Date = new Date(reference);\n\n // If not a valid timestamp, return 'Invalid Date'\n if (!time.getTime()) {\n return 'Invalid Date';\n }\n\n // For unit testing, we need to be able to declare a static start time\n // for calculations, or else speed of tests can bork.\n const startTime: number = isNaN(ref.getTime()) ? Date.now() : ref.getTime();\n let diff: number = Math.floor((time.getTime() - startTime) / 1000);\n\n if (diff < 2) {\n return 'in 1 second';\n }\n if (diff < 60) {\n return 'in ' + Math.floor(diff) + ' seconds';\n }\n // Minutes\n diff = diff / 60;\n if (diff < 2) {\n return 'in 1 minute';\n }\n if (diff < 60) {\n return 'in ' + Math.floor(diff) + ' minutes';\n }\n // Hours\n diff = diff / 60;\n if (diff < 2) {\n return 'in 1 hour';\n }\n if (diff < 24) {\n return 'in ' + Math.floor(diff) + ' hours';\n }\n // Days\n diff = diff / 24;\n if (diff < 2) {\n return 'in 1 day';\n }\n if (diff < 30) {\n return 'in ' + Math.floor(diff) + ' days';\n }\n // Months\n diff = diff / 30;\n if (diff < 2) {\n return 'in 1 month';\n }\n if (diff < 12) {\n return 'in ' + Math.floor(diff) + ' months';\n }\n // Years\n diff = diff / 12;\n if (diff < 2) {\n return 'in 1 year';\n } else {\n return 'in ' + Math.floor(diff) + ' years';\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bytes',\n})\nexport class TdBytesPipe implements PipeTransform {\n /* `bytes` needs to be `any` or TypeScript complains\n Tried both `number` and `number | string` */\n transform(bytes: any, precision = 2): string {\n if (bytes === 0) {\n return '0 B';\n } else if (isNaN(parseInt(bytes, 10))) {\n /* If not a valid number, return 'Invalid Number' */\n return 'Invalid Number';\n }\n const k = 1024;\n const sizes: string[] = [\n 'B',\n 'KiB',\n 'MiB',\n 'GiB',\n 'TiB',\n 'PiB',\n 'EiB',\n 'ZiB',\n 'YiB',\n ];\n const i: number = Math.floor(Math.log(bytes) / Math.log(k));\n // if less than 1\n if (i < 0) {\n return 'Invalid Number';\n }\n return (\n parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]\n );\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'decimalBytes',\n})\nexport class TdDecimalBytesPipe implements PipeTransform {\n /* `bytes` needs to be `any` or TypeScript complains\n Tried both `number` and `number | string` */\n transform(bytes: any, precision = 2): string {\n if (bytes === 0) {\n return '0 B';\n } else if (isNaN(parseInt(bytes, 10))) {\n /* If not a valid number, return 'Invalid Number' */\n return 'Invalid Number';\n }\n const k = 1000;\n const sizes: string[] = [\n 'B',\n 'KB',\n 'MB',\n 'GB',\n 'TB',\n 'PB',\n 'EB',\n 'ZB',\n 'YB',\n ];\n const i: number = Math.floor(Math.log(bytes) / Math.log(k));\n // if less than 1\n if (i < 0) {\n return 'Invalid Number';\n }\n return (\n parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]\n );\n }\n}\n","import { Pipe, PipeTransform, Inject, LOCALE_ID } from '@angular/core';\nimport { DecimalPipe } from '@angular/common';\n\n@Pipe({\n name: 'digits',\n})\nexport class TdDigitsPipe implements PipeTransform {\n private _decimalPipe: DecimalPipe;\n\n constructor(@Inject(LOCALE_ID) private _locale = 'en') {\n this._decimalPipe = new DecimalPipe(this._locale);\n }\n\n /* `digits` needs to be type `digits: any` or TypeScript complains */\n transform(digits: any, precision = 1): string {\n if (digits === 0) {\n return '0';\n } else if (isNaN(parseInt(digits, 10))) {\n /* If not a valid number, return the value */\n return digits;\n } else if (digits < 1) {\n return this._decimalPipe.transform(digits.toFixed(precision)) ?? '';\n }\n const k = 1000;\n const sizes: string[] = ['', 'K', 'M', 'B', 'T', 'Q'];\n const i: number = Math.floor(Math.log(digits) / Math.log(k));\n const size: string = sizes[i];\n return (\n this._decimalPipe.transform(\n parseFloat((digits / Math.pow(k, i)).toFixed(precision))\n ) + (size ? ' ' + size : '')\n );\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'truncate',\n})\nexport class TdTruncatePipe implements PipeTransform {\n transform(text: any, length = 54): string {\n if (typeof text !== 'string') {\n return '';\n }\n\n // Truncate\n let truncated: string = text.substring(0, length);\n\n if (text.length > length) {\n if (truncated.lastIndexOf(' ') > 0) {\n truncated = truncated.trim();\n }\n\n truncated += '…';\n }\n\n return truncated;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Router, RoutesRecognized } from '@angular/router';\n\nimport { filter, pairwise } from 'rxjs/operators';\n\n@Injectable()\nexport class RouterPathService {\n private static _previousRoute = '/';\n constructor(private _router: Router) {\n this._router.events\n .pipe(\n filter((e: any) => e instanceof RoutesRecognized),\n pairwise()\n )\n .subscribe((e: any[]) => {\n RouterPathService._previousRoute = e[0].urlAfterRedirects;\n });\n }\n\n /*\n * Utility function to get the route the user previously went to\n * good for use in a \"back button\"\n */\n getPreviousRoute(): string {\n return RouterPathService._previousRoute;\n }\n}\n","/*\n * Copyright (C) 2016-2017 by Teradata Corporation. All rights reserved.\n * TERADATA CORPORATION CONFIDENTIAL AND TRADE SECRET\n */\n\nimport { Injectable } from '@angular/core';\n@Injectable()\nexport class IconService {\n // To update, run this little script on https://material.io/resources/icons/?style=baseline\n // JSON.stringify(\n // Array.from(document.querySelectorAll('icons-library .material-icons.icon-image-preview')).map(\n // ({textContent}) => textContent\n // )\n // );\n private _icons: string[] = [\n '3d_rotation',\n 'accessibility',\n 'accessibility_new',\n 'accessible',\n 'accessible_forward',\n 'account_balance',\n 'account_balance_wallet',\n 'account_box',\n 'account_circle',\n 'add_shopping_cart',\n 'alarm',\n 'alarm_add',\n 'alarm_off',\n 'alarm_on',\n 'all_inbox',\n 'all_out',\n 'android',\n 'announcement',\n 'arrow_right_alt',\n 'aspect_ratio',\n 'assessment',\n 'assignment',\n 'assignment_ind',\n 'assignment_late',\n 'assignment_return',\n 'assignment_returned',\n 'assignment_turned_in',\n 'autorenew',\n 'backup',\n 'book',\n 'bookmark',\n 'bookmark_border',\n 'bookmarks',\n 'bug_report',\n 'build',\n 'cached',\n 'calendar_today',\n 'calendar_view_day',\n 'camera_enhance',\n 'cancel_schedule_send',\n 'card_giftcard',\n 'card_membership',\n 'card_travel',\n 'change_history',\n 'check_circle',\n 'check_circle_outline',\n 'chrome_reader_mode',\n 'class',\n 'code',\n 'commute',\n 'compare_arrows',\n 'contact_support',\n 'contactless',\n 'copyright',\n 'credit_card',\n 'dashboard',\n 'date_range',\n 'delete',\n 'delete_forever',\n 'delete_outline',\n 'description',\n 'dns',\n 'done',\n 'done_all',\n 'done_outline',\n 'donut_large',\n 'donut_small',\n 'drag_indicator',\n 'eco',\n 'eject',\n 'euro_symbol',\n 'event',\n 'event_seat',\n 'exit_to_app',\n 'explore',\n 'explore_off',\n 'extension',\n 'face',\n 'favorite',\n 'favorite_border',\n 'feedback',\n 'find_in_page',\n 'find_replace',\n 'fingerprint',\n 'flight_land',\n 'flight_takeoff',\n 'flip_to_back',\n 'flip_to_front',\n 'g_translate',\n 'gavel',\n 'get_app',\n 'gif',\n 'grade',\n 'group_work',\n 'help',\n 'help_outline',\n 'highlight_off',\n 'history',\n 'home',\n 'horizontal_split',\n 'hourglass_empty',\n 'hourglass_full',\n 'http',\n 'https',\n 'important_devices',\n 'info',\n 'input',\n 'invert_colors',\n 'label',\n 'label_important',\n 'label_off',\n 'language',\n 'launch',\n 'line_style',\n 'line_weight',\n 'list',\n 'lock',\n 'lock_open',\n 'loyalty',\n 'markunread_mailbox',\n 'maximize',\n 'minimize',\n 'motorcycle',\n 'note_add',\n 'offline_bolt',\n 'offline_pin',\n 'opacity',\n 'open_in_browser',\n 'open_in_new',\n 'open_with',\n 'pageview',\n 'pan_tool',\n 'payment',\n 'perm_camera_mic',\n 'perm_contact_calendar',\n 'perm_data_setting',\n 'perm_device_information',\n 'perm_identity',\n 'perm_media',\n 'perm_phone_msg',\n 'perm_scan_wifi',\n 'pets',\n 'picture_in_picture',\n 'picture_in_picture_alt',\n 'play_for_work',\n 'polymer',\n 'power_settings_new',\n 'pregnant_woman',\n 'print',\n 'query_builder',\n 'question_answer',\n 'receipt',\n 'record_voice_over',\n 'redeem',\n 'remove_shopping_cart',\n 'reorder',\n 'report_problem',\n 'restore',\n 'restore_from_trash',\n 'restore_page',\n 'room',\n 'rounded_corner',\n 'rowing',\n 'schedule',\n 'search',\n 'settings_applications',\n 'settings_backup_restore',\n 'settings_bluetooth',\n 'settings_brightness',\n 'settings_cell',\n 'settings_ethernet',\n 'settings_input_antenna',\n 'settings_input_component',\n 'settings_input_composite',\n 'settings_input_hdmi',\n 'settings_input_svideo',\n 'settings_overscan',\n 'settings_phone',\n 'settings_power',\n 'settings_remote',\n 'settings_voice',\n 'shop',\n 'shop_two',\n 'shopping_basket',\n 'shopping_cart',\n 'speaker_notes',\n 'speaker_notes_off',\n 'spellcheck',\n 'stars',\n 'store',\n 'subject',\n 'supervised_user_circle',\n 'supervisor_account',\n 'swap_horiz',\n 'swap_horizontal_circle',\n 'swap_vert',\n 'swap_vertical_circle',\n 'sync_alt',\n 'system_update_alt',\n 'tab',\n 'tab_unselected',\n 'text_rotate_up',\n 'text_rotate_vertical',\n 'text_rotation_angledown',\n 'text_rotation_angleup',\n 'text_rotation_down',\n 'text_rotation_none',\n 'theaters',\n 'thumb_down',\n 'thumb_up',\n 'thumbs_up_down',\n 'timeline',\n 'toc',\n 'today',\n 'toll',\n 'touch_app',\n 'track_changes',\n 'translate',\n 'trending_down',\n 'trending_flat',\n 'trending_up',\n 'turned_in',\n 'turned_in_not',\n 'update',\n 'verified_user',\n 'vertical_split',\n 'view_agenda',\n 'view_array',\n 'view_carousel',\n 'view_column',\n 'view_day',\n 'view_headline',\n 'view_list',\n 'view_module',\n 'view_quilt',\n 'view_stream',\n 'view_week',\n 'visibility',\n 'visibility_off',\n 'voice_over_off',\n 'watch_later',\n 'work',\n 'work_off',\n 'work_outline',\n 'youtube_searched_for',\n 'zoom_in',\n 'zoom_out',\n 'add_alert',\n 'error',\n 'error_outline',\n 'notification_important',\n 'warning',\n '4k',\n 'add_to_queue',\n 'airplay',\n 'album',\n 'art_track',\n 'av_timer',\n 'branding_watermark',\n 'call_to_action',\n 'closed_caption',\n 'control_camera',\n 'equalizer',\n 'explicit',\n 'fast_forward',\n 'fast_rewind',\n 'featured_play_list',\n 'featured_video',\n 'fiber_dvr',\n 'fiber_manual_record',\n 'fiber_new',\n 'fiber_pin',\n 'fiber_smart_record',\n 'forward_10',\n 'forward_30',\n 'forward_5',\n 'games',\n 'hd',\n 'hearing',\n 'high_quality',\n 'library_add',\n 'library_books',\n 'library_music',\n 'loop',\n 'mic',\n 'mic_none',\n 'mic_off',\n 'missed_video_call',\n 'movie',\n 'music_video',\n 'new_releases',\n 'not_interested',\n 'note',\n 'pause',\n 'pause_circle_filled',\n 'pause_circle_outline',\n 'play_arrow',\n 'play_circle_filled',\n 'play_circle_outline',\n 'playlist_add',\n 'playlist_add_check',\n 'playlist_play',\n 'queue',\n 'queue_music',\n 'queue_play_next',\n 'radio',\n 'recent_actors',\n 'remove_from_queue',\n 'repeat',\n 'repeat_one',\n 'replay',\n 'replay_10',\n 'replay_30',\n 'replay_5',\n 'shuffle',\n 'skip_next',\n 'skip_previous',\n 'slow_motion_video',\n 'snooze',\n 'sort_by_alpha',\n 'speed',\n 'stop',\n 'subscriptions',\n 'subtitles',\n 'surround_sound',\n 'video_call',\n 'video_label',\n 'video_library',\n 'videocam',\n 'videocam_off',\n 'volume_down',\n 'volume_mute',\n 'volume_off',\n 'volume_up',\n 'web',\n 'web_asset',\n 'business',\n 'call',\n 'call_end',\n 'call_made',\n 'call_merge',\n 'call_missed',\n 'call_missed_outgoing',\n 'call_received',\n 'call_split',\n 'cancel_presentation',\n 'chat',\n 'chat_bubble',\n 'chat_bubble_outline',\n 'clear_all',\n 'comment',\n 'contact_mail',\n 'contact_phone',\n 'contacts',\n 'desktop_access_disabled',\n 'dialer_sip',\n 'dialpad',\n 'domain_disabled',\n 'duo',\n 'email',\n 'forum',\n 'import_contacts',\n 'import_export',\n 'invert_colors_off',\n 'list_alt',\n 'live_help',\n 'mail_outline',\n 'message',\n 'mobile_screen_share',\n 'no_sim',\n 'pause_presentation',\n 'person_add_disabled',\n 'phone',\n 'phone_disabled',\n 'phone_enabled',\n 'phonelink_erase',\n 'phonelink_lock',\n 'phonelink_ring',\n 'phonelink_setup',\n 'portable_wifi_off',\n 'present_to_all',\n 'print_disabled',\n 'ring_volume',\n 'rss_feed',\n 'screen_share',\n 'sentiment_satisfied_alt',\n 'speaker_phone',\n 'stay_current_landscape',\n 'stay_current_portrait',\n 'stay_primary_landscape',\n 'stay_primary_portrait',\n 'stop_screen_share',\n 'swap_calls',\n 'textsms',\n 'unsubscribe',\n 'voicemail',\n 'vpn_key',\n 'add',\n 'add_box',\n 'add_circle',\n 'add_circle_outline',\n 'amp_stories',\n 'archive',\n 'backspace',\n 'ballot',\n 'block',\n 'clear',\n 'create',\n 'delete_sweep',\n 'drafts',\n 'dynamic_feed',\n 'file_copy',\n 'filter_list',\n 'flag',\n 'font_download',\n 'forward',\n 'gesture',\n 'how_to_reg',\n 'how_to_vote',\n 'inbox',\n 'link',\n 'link_off',\n 'low_priority',\n 'mail',\n 'markunread',\n 'move_to_inbox',\n 'next_week',\n 'outlined_flag',\n 'policy',\n 'redo',\n 'remove',\n 'remove_circle',\n 'remove_circle_outline',\n 'reply',\n 'reply_all',\n 'report',\n 'report_off',\n 'save',\n 'save_alt',\n 'select_all',\n 'send',\n 'sort',\n 'square_foot',\n 'text_format',\n 'unarchive',\n 'undo',\n 'waves',\n 'where_to_vote',\n 'access_alarm',\n 'access_alarms',\n 'access_time',\n 'add_alarm',\n 'add_to_home_screen',\n 'airplanemode_active',\n 'airplanemode_inactive',\n 'battery_alert',\n 'battery_charging_full',\n 'battery_full',\n 'battery_std',\n 'battery_unknown',\n 'bluetooth',\n 'bluetooth_connected',\n 'bluetooth_disabled',\n 'bluetooth_searching',\n 'brightness_auto',\n 'brightness_high',\n 'brightness_low',\n 'brightness_medium',\n 'data_usage',\n 'developer_mode',\n 'devices',\n 'dvr',\n 'gps_fixed',\n 'gps_not_fixed',\n 'gps_off',\n 'graphic_eq',\n 'location_disabled',\n 'location_searching',\n 'mobile_friendly',\n 'mobile_off',\n 'nfc',\n 'screen_lock_landscape',\n 'screen_lock_portrait',\n 'screen_lock_rotation',\n 'screen_rotation',\n 'sd_storage',\n 'settings_system_daydream',\n 'signal_cellular_4_bar',\n 'signal_cellular_alt',\n 'signal_cellular_connected_no_internet_4_bar',\n 'signal_cellular_no_sim',\n 'signal_cellular_null',\n 'signal_cellular_off',\n 'signal_wifi_4_bar',\n 'signal_wifi_4_bar_lock',\n 'signal_wifi_off',\n 'storage',\n 'usb',\n 'wallpaper',\n 'widgets',\n 'wifi_lock',\n 'wifi_tethering',\n 'add_comment',\n 'attach_file',\n 'attach_money',\n 'bar_chart',\n 'border_all',\n 'border_bottom',\n 'border_clear',\n 'border_horizontal',\n 'border_inner',\n 'border_left',\n 'border_outer',\n 'border_right',\n 'border_style',\n 'border_top',\n 'border_vertical',\n 'bubble_chart',\n 'drag_handle',\n 'format_align_center',\n 'format_align_justify',\n 'format_align_left',\n 'format_align_right',\n 'format_bold',\n 'format_clear',\n 'format_color_reset',\n 'format_indent_decrease',\n 'format_indent_increase',\n 'format_italic',\n 'format_line_spacing',\n 'format_list_bulleted',\n 'format_list_numbered',\n 'format_list_numbered_rtl',\n 'format_paint',\n 'format_quote',\n 'format_shapes',\n 'format_size',\n 'format_strikethrough',\n 'format_textdirection_l_to_r',\n 'format_textdirection_r_to_l',\n 'format_underlined',\n 'functions',\n 'height',\n 'highlight',\n 'insert_chart',\n 'insert_chart_outlined',\n 'insert_comment',\n 'insert_drive_file',\n 'insert_emoticon',\n 'insert_invitation',\n 'insert_link',\n 'insert_photo',\n 'linear_scale',\n 'merge_type',\n 'mode_comment',\n 'monetization_on',\n 'money_off',\n 'multiline_chart',\n 'notes',\n 'pie_chart',\n 'post_add',\n 'publish',\n 'scatter_plot',\n 'score',\n 'short_text',\n 'show_chart',\n 'space_bar',\n 'strikethrough_s',\n 'table_chart',\n 'text_fields',\n 'title',\n 'vertical_align_bottom',\n 'vertical_align_center',\n 'vertical_align_top',\n 'wrap_text',\n 'attachment',\n 'cloud',\n 'cloud_circle',\n 'cloud_done',\n 'cloud_download',\n 'cloud_off',\n 'cloud_queue',\n 'cloud_upload',\n 'create_new_folder',\n 'folder',\n 'folder_open',\n 'folder_shared',\n 'cast',\n 'cast_connected',\n 'computer',\n 'desktop_mac',\n 'desktop_windows',\n 'developer_board',\n 'device_hub',\n 'device_unknown',\n 'devices_other',\n 'dock',\n 'gamepad',\n 'headset',\n 'headset_mic',\n 'keyboard',\n 'keyboard_arrow_down',\n 'keyboard_arrow_left',\n 'keyboard_arrow_right',\n 'keyboard_arrow_up',\n 'keyboard_backspace',\n 'keyboard_capslock',\n 'keyboard_hide',\n 'keyboard_return',\n 'keyboard_tab',\n 'keyboard_voice',\n 'laptop',\n 'laptop_chromebook',\n 'laptop_mac',\n 'laptop_windows',\n 'memory',\n 'mouse',\n 'phone_android',\n 'phone_iphone',\n 'phonelink',\n 'phonelink_off',\n 'power_input',\n 'router',\n 'scanner',\n 'security',\n 'sim_card',\n 'smartphone',\n 'speaker',\n 'speaker_group',\n 'tablet',\n 'tablet_android',\n 'tablet_mac',\n 'toys',\n 'tv',\n 'videogame_asset',\n 'watch',\n 'add_a_photo',\n 'add_photo_alternate',\n 'add_to_photos',\n 'adjust',\n 'assistant',\n 'assistant_photo',\n 'audiotrack',\n 'blur_circular',\n 'blur_linear',\n 'blur_off',\n 'blur_on',\n 'brightness_1',\n 'brightness_2',\n 'brightness_3',\n 'brightness_4',\n 'brightness_5',\n 'brightness_6',\n 'brightness_7',\n 'broken_image',\n 'brush',\n 'burst_mode',\n 'camera',\n 'camera_alt',\n 'camera_front',\n 'camera_rear',\n 'camera_roll',\n 'center_focus_strong',\n 'center_focus_weak',\n 'collections',\n 'collections_bookmark',\n 'color_lens',\n 'colorize',\n 'compare',\n 'control_point',\n 'control_point_duplicate',\n 'crop',\n 'crop_16_9',\n 'crop_3_2',\n 'crop_5_4',\n 'crop_7_5',\n 'crop_din',\n 'crop_free',\n 'crop_landscape',\n 'crop_original',\n 'crop_portrait',\n 'crop_rotate',\n 'crop_square',\n 'dehaze',\n 'details',\n 'edit',\n 'euro',\n 'exposure',\n 'exposure_neg_1',\n 'exposure_neg_2',\n 'exposure_plus_1',\n 'exposure_plus_2',\n 'exposure_zero',\n 'filter',\n 'filter_1',\n 'filter_2',\n 'filter_3',\n 'filter_4',\n 'filter_5',\n 'filter_6',\n 'filter_7',\n 'filter_8',\n 'filter_9',\n 'filter_9_plus',\n 'filter_b_and_w',\n 'filter_center_focus',\n 'filter_drama',\n 'filter_frames',\n 'filter_hdr',\n 'filter_none',\n 'filter_tilt_shift',\n 'filter_vintage',\n 'flare',\n 'flash_auto',\n 'flash_off',\n 'flash_on',\n 'flip',\n 'flip_camera_android',\n 'flip_camera_ios',\n 'gradient',\n 'grain',\n 'grid_off',\n 'grid_on',\n 'hdr_off',\n 'hdr_on',\n 'hdr_strong',\n 'hdr_weak',\n 'healing',\n 'image',\n 'image_aspect_ratio',\n 'image_search',\n 'iso',\n 'landscape',\n 'leak_add',\n 'leak_remove',\n 'lens',\n 'linked_camera',\n 'looks',\n 'looks_3',\n 'looks_4',\n 'looks_5',\n 'looks_6',\n 'looks_one',\n 'looks_two',\n 'loupe',\n 'monochrome_photos',\n 'movie_creation',\n 'movie_filter',\n 'music_note',\n 'music_off',\n 'nature',\n 'nature_people',\n 'navigate_before',\n 'navigate_next',\n 'palette',\n 'panorama',\n 'panorama_fish_eye',\n 'panorama_horizontal',\n 'panorama_vertical',\n 'panorama_wide_angle',\n 'photo',\n 'photo_album',\n 'photo_camera',\n 'photo_filter',\n 'photo_library',\n 'photo_size_select_actual',\n 'photo_size_select_large',\n 'photo_size_select_small',\n 'picture_as_pdf',\n 'portrait',\n 'remove_red_eye',\n 'rotate_90_degrees_ccw',\n 'rotate_left',\n 'rotate_right',\n 'shutter_speed',\n 'slideshow',\n 'straighten',\n 'style',\n 'switch_camera',\n 'switch_video',\n 'tag_faces',\n 'texture',\n 'timelapse',\n 'timer',\n 'timer_10',\n 'timer_3',\n 'timer_off',\n 'tonality',\n 'transform',\n 'tune',\n 'view_comfy',\n 'view_compact',\n 'vignette',\n 'wb_auto',\n 'wb_cloudy',\n 'wb_incandescent',\n 'wb_iridescent',\n 'wb_sunny',\n '360',\n 'atm',\n 'beenhere',\n 'category',\n 'compass_calibration',\n 'departure_board',\n 'directions',\n 'directions_bike',\n 'directions_boat',\n 'directions_bus',\n 'directions_car',\n 'directions_railway',\n 'directions_run',\n 'directions_subway',\n 'directions_transit',\n 'directions_walk',\n 'edit_attributes',\n 'ev_station',\n 'fastfood',\n 'flight',\n 'hotel',\n 'layers',\n 'layers_clear',\n 'local_activity',\n 'local_airport',\n 'local_atm',\n 'local_bar',\n 'local_cafe',\n 'local_car_wash',\n 'local_convenience_store',\n 'local_dining',\n 'local_drink',\n 'local_florist',\n 'local_gas_station',\n 'local_grocery_store',\n 'local_hospital',\n 'local_hotel',\n 'local_laundry_service',\n 'local_library',\n 'local_mall',\n 'local_movies',\n 'local_offer',\n 'local_parking',\n 'local_pharmacy',\n 'local_phone',\n 'local_pizza',\n 'local_play',\n 'local_post_office',\n 'local_printshop',\n 'local_see',\n 'local_shipping',\n 'local_taxi',\n 'map',\n 'menu_book',\n 'money',\n 'museum',\n 'my_location',\n 'navigation',\n 'near_me',\n 'person_pin',\n 'rate_review',\n 'restaurant',\n 'restaurant_menu',\n 'satellite',\n 'store_mall_directory',\n 'streetview',\n 'subway',\n 'terrain',\n 'traffic',\n 'train',\n 'tram',\n 'transfer_within_a_station',\n 'transit_enterexit',\n 'trip_origin',\n 'zoom_out_map',\n 'apps',\n 'arrow_back',\n 'arrow_back_ios',\n 'arrow_downward',\n 'arrow_drop_down',\n 'arrow_drop_down_circle',\n 'arrow_drop_up',\n 'arrow_forward',\n 'arrow_forward_ios',\n 'arrow_left',\n 'arrow_right',\n 'arrow_upward',\n 'cancel',\n 'check',\n 'chevron_left',\n 'chevron_right',\n 'close',\n 'double_arrow',\n 'expand_less',\n 'expand_more',\n 'first_page',\n 'fullscreen',\n 'fullscreen_exit',\n 'home_work',\n 'last_page',\n 'menu',\n 'menu_open',\n 'more_horiz',\n 'more_vert',\n 'refresh',\n 'subdirectory_arrow_left',\n 'subdirectory_arrow_right',\n 'unfold_less',\n 'unfold_more',\n 'account_tree',\n 'adb',\n 'airline_seat_flat',\n 'airline_seat_flat_angled',\n 'airline_seat_individual_suite',\n 'airline_seat_legroom_extra',\n 'airline_seat_legroom_normal',\n 'airline_seat_legroom_reduced',\n 'airline_seat_recline_extra',\n 'airline_seat_recline_normal',\n 'bluetooth_audio',\n 'confirmation_number',\n 'disc_full',\n 'drive_eta',\n 'enhanced_encryption',\n 'event_available',\n 'event_busy',\n 'event_note',\n 'folder_special',\n 'live_tv',\n 'mms',\n 'more',\n 'network_check',\n 'network_locked',\n 'no_encryption',\n 'ondemand_video',\n 'personal_video',\n 'phone_bluetooth_speaker',\n 'phone_callback',\n 'phone_forwarded',\n 'phone_in_talk',\n 'phone_locked',\n 'phone_missed',\n 'phone_paused',\n 'power',\n 'power_off',\n 'priority_high',\n 'sd_card',\n 'sms',\n 'sms_failed',\n 'sync',\n 'sync_disabled',\n 'sync_problem',\n 'system_update',\n 'tap_and_play',\n 'time_to_leave',\n 'tv_off',\n 'vibration',\n 'voice_chat',\n 'vpn_lock',\n 'wc',\n 'wifi',\n 'wifi_off',\n 'ac_unit',\n 'airport_shuttle',\n 'all_inclusive',\n 'apartment',\n 'bathtub',\n 'beach_access',\n 'business_center',\n 'casino',\n 'child_care',\n 'child_friendly',\n 'fitness_center',\n 'free_breakfast',\n 'golf_course',\n 'hot_tub',\n 'house',\n 'kitchen',\n 'meeting_room',\n 'no_meeting_room',\n 'pool',\n 'room_service',\n 'rv_hookup',\n 'smoke_free',\n 'smoking_rooms',\n 'spa',\n 'storefront',\n 'cake',\n 'deck',\n 'emoji_emotions',\n 'emoji_events',\n 'emoji_flags',\n 'emoji_food_beverage',\n 'emoji_nature',\n 'emoji_objects',\n 'emoji_people',\n 'emoji_symbols',\n 'emoji_transportation',\n 'fireplace',\n 'group',\n 'group_add',\n 'king_bed',\n 'location_city',\n 'mood',\n 'mood_bad',\n 'nights_stay',\n 'notifications',\n 'notifications_active',\n 'notifications_none',\n 'notifications_off',\n 'notifications_paused',\n 'outdoor_grill',\n 'pages',\n 'party_mode',\n 'people',\n 'people_alt',\n 'people_outline',\n 'person',\n 'person_add',\n 'person_outline',\n 'plus_one',\n 'poll',\n 'public',\n 'school',\n 'sentiment_dissatisfied',\n 'sentiment_satisfied',\n 'sentiment_very_dissatisfied',\n 'sentiment_very_satisfied',\n 'share',\n 'single_bed',\n 'sports',\n 'sports_baseball',\n 'sports_basketball',\n 'sports_cricket',\n 'sports_esports',\n 'sports_football',\n 'sports_golf',\n 'sports_handball',\n 'sports_hockey',\n 'sports_kabaddi',\n 'sports_mma',\n 'sports_motorsports',\n 'sports_rugby',\n 'sports_soccer',\n 'sports_tennis',\n 'sports_volleyball',\n 'thumb_down_alt',\n 'thumb_up_alt',\n 'whatshot',\n 'check_box',\n 'check_box_outline_blank',\n 'indeterminate_check_box',\n 'radio_button_checked',\n 'radio_button_unchecked',\n 'star',\n 'star_border',\n 'star_half',\n 'toggle_off',\n 'toggle_on',\n ];\n\n get icons(): string[] {\n return this._icons;\n }\n\n filter(query: string): string[] {\n return this.icons.filter((el: string) => {\n return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;\n });\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { MAT_ICON_DEFAULT_OPTIONS } from '@angular/material/icon';\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\n\n/**\n * Directives\n */\nimport { TdAutoTrimDirective } from './forms/auto-trim/auto-trim.directive';\nimport { TdFullscreenDirective } from './directives/fullscreen/fullscreen.directive';\n\nconst TD_DIRECTIVES: Type<any>[] = [TdAutoTrimDirective, TdFullscreenDirective];\n\n// Validators\nconst TD_VALIDATORS: Type<any>[] = [];\n\n/**\n * PIPES\n */\nimport { TdTimeAgoPipe } from './pipes/time-ago/time-ago.pipe';\nimport { TdTimeDifferencePipe } from './pipes/time-difference/time-difference.pipe';\nimport { TdTimeUntilPipe } from './pipes/time-until/time-until.pipe';\nimport { TdBytesPipe } from './pipes/bytes/bytes.pipe';\nimport { TdDecimalBytesPipe } from './pipes/decimal-bytes/decimal-bytes.pipe';\nimport { TdDigitsPipe } from './pipes/digits/digits.pipe';\nimport { TdTruncatePipe } from './pipes/truncate/truncate.pipe';\n\nconst TD_PIPES: Type<any>[] = [\n TdTimeAgoPipe,\n TdTimeDifferencePipe,\n TdTimeUntilPipe,\n TdBytesPipe,\n TdDecimalBytesPipe,\n TdDigitsPipe,\n TdTruncatePipe,\n];\n\nconst TD_DEFAULT_ICON_OPTIONS = {\n provide: MAT_ICON_DEFAULT_OPTIONS,\n useValue: { fontSet: 'material-symbols-outlined' },\n};\n\nconst TD_DEFAULT_FORM_FIELD_OPTIONS = {\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: { appearance: 'outline' },\n};\n\n/**\n * Services\n */\n\nimport { RouterPathService } from './services/router-path.service';\nimport { IconService } from './services/icon.service';\n\n@NgModule({\n imports: [FormsModule, CommonModule],\n declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],\n exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],\n providers: [\n RouterPathService,\n IconService,\n TD_DEFAULT_ICON_OPTIONS,\n TD_DEFAULT_FORM_FIELD_OPTIONS,\n ],\n})\nexport class CovalentCommonModule {}\n","import {\n trigger,\n state,\n style,\n transition,\n animate,\n AnimationTriggerMetadata,\n query,\n animateChild,\n group,\n} from '@angular/animations';\n\nimport { IAnimationOptions } from '../common/interfaces';\n\nexport interface IRotateAnimation extends IAnimationOptions {\n degrees?: number;\n ease?: string;\n}\n\n/**\n * const tdRotateAnimation\n *\n * Parameter Options:\n * * degressStart: Degrees of rotation that the dom object will end up in during the \"false\" state\n * * degreesEnd: Degrees of rotation that the dom object will end up in during the \"true\" state\n * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.\n * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.\n * * ease: Animation accelerates and decelerates. Defaults to ease-in.\n *\n * Returns an [AnimationTriggerMetadata] object with boolean states for a rotation animation.\n *\n * usage: [@tdRotate]=\"{ value: true | false, params: { degreesEnd: 90 }}\"\n */\n\nexport const tdRotateAnimation: AnimationTriggerMetadata = trigger('tdRotate', [\n state(\n '0',\n style({\n transform: 'rotate({{ degressStart }}deg)',\n }),\n { params: { degressStart: 0 } }\n ),\n state(\n '1',\n style({\n transform: 'rotate({{ degreesEnd }}deg)',\n }),\n { params: { degreesEnd: 180 } }\n ),\n transition(\n '0 <=> 1',\n [\n group([\n query('@*', animateChild(), { optional: true }),\n animate('{{ duration }}ms {{ delay }}ms {{ ease }}'),\n ]),\n ],\n { params: { duration: 250, delay: '0', ease: 'ease-in' } }\n ),\n]);\n","import {\n trigger,\n state,\n style,\n transition,\n animate,\n AnimationTriggerMetadata,\n AUTO_STYLE,\n query,\n animateChild,\n group,\n} from '@angular/animations';\nimport { IAnimationOptions } from '../common/interfaces';\n\nexport interface ICollapseAnimation extends IAnimationOptions {\n easeOnClose?: string;\n easeOnOpen?: string;\n}\n\n/**\n * const tdCollapseAnimation\n *\n * Parameter Options:\n * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.\n * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.\n * * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.\n * * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.\n *\n * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.\n *\n * usage: [@tdCollapse]=\"{ value: true | false, params: { duration: 500 }}\"\n */\nexport const tdCollapseAnimation: AnimationTriggerMetadata = trigger(\n 'tdCollapse',\n [\n state(\n '1',\n style({\n height: '0',\n overflow: 'hidden',\n })\n ),\n state(\n '0',\n style({\n height: AUTO_STYLE,\n overflow: AUTO_STYLE,\n })\n ),\n transition(\n '0 => 1',\n [\n style({\n overflow: 'hidden',\n height: AUTO_STYLE,\n }),\n group([\n query('@*', animateChild(), { optional: true }),\n animate(\n '{{ duration }}ms {{ delay }}ms {{ ease }}',\n style({\n height: '0',\n overflow: 'hidden',\n })\n ),\n ]),\n ],\n { params: { duration: 150, delay: '0', ease: 'ease-in' } }\n ),\n transition(\n '1 => 0',\n [\n style({\n height: '0',\n overflow: 'hidden',\n }),\n group([\n query('@*', animateChild(), { optional: true }),\n animate(\n '{{ duration }}ms {{ delay }}ms {{ ease }}',\n style({\n overflow: 'hidden',\n height: AUTO_STYLE,\n })\n ),\n ]),\n ],\n { params: { duration: 150, delay: '0', ease: 'ease-out' } }\n ),\n ]\n);\n","import {\n trigger,\n state,\n style,\n transition,\n animate,\n AnimationTriggerMetadata,\n AUTO_STYLE,\n query,\n animateChild,\n group,\n} from '@angular/animations';\nimport { IAnimationOptions } from '../common/interfaces';\n\nexport interface IFadeInOutAnimation extends IAnimationOptions {\n easeOnIn?: string;\n easeOnOut?: string;\n}\n\n/**\n * const tdFadeInOutAnimation\n *\n * Parameter Options:\n * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.\n * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.\n * * easeOnIn: Animation accelerates and decelerates when fading in. Defaults to ease-in.\n * * easeOnOut: Animation accelerates and decelerates when fading out. Defaults to ease-out.\n *\n * Returns an [AnimationTriggerMetadata] object with boolean states for a fade animation.\n *\n * usage: [@tdFadeInOut]=\"{ value: true | false, params: { duration: 200 }}\"\n */\nexport const tdFadeInOutAnimation: AnimationTriggerMetadata = trigger(\n 'tdFadeInOut',\n [\n state(\n '0',\n style({\n opacity: '0',\n visibility: 'hidden',\n })\n ),\n state(\n '1',\n style({\n opacity: AUTO_STYLE,\n visibility: AUTO_STYLE,\n })\n ),\n transition(\n '0 => 1',\n [\n group([\n query('@*', animateChild(), { optional: true }),\n animate('{{ duration }}ms {{ delay }}ms {{ easeOnIn }}'),\n ]),\n ],\n { params: { duration: 150, delay: '0', easeOnIn: 'ease-in' } }\n ),\n transition(\n '1 => 0',\n [\n group([\n query('@*', animateChild(), { optional: true }),\n animate('{{ duration }}ms {{ delay }}ms {{ easeOnOut }}'),\n ]),\n ],\n { params: { duration: 150, delay: '0', easeOnOut: 'ease-out' } }\n ),\n ]\n);\n","import {\n trigger,\n state,\n style,\n keyframes,\n transition,\n animate,\n AnimationTriggerMetadata,\n query,\n animateChild,\n group,\n} from '@angular/animations';\nimport { IAnimationOptions } from '../common/interfaces';\n\n/**\n * const tdBounceAnimation\n *\n * Parameter Options:\n * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.\n * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.\n * * ease: Animation accelerate and decelerate style. Defaults to ease-out.\n *\n * Returns an [AnimationTriggerMetadata] object with boolean states for a bounce animation.\n *\n * usage: [@tdBounce]=\"{ value: true | false, params: { duration: 200 }}\"\n */\nexport const tdBounceAnimation: AnimationTriggerMetadata = trigger('tdBounce', [\n state(\n '0',\n style({\n transform: 'translate3d(0, 0, 0)',\n })\n ),\n state(\n '1',\n style({\n transform: 'translate3d(0, 0, 0)',\n })\n ),\n transition(\n '0 <=> 1',\n [\n group([\n query('@*', animateChild(), { optional: true }),\n animate(\n '{{ duration }}ms {{ delay }}ms {{ ease }}',\n keyframes([\n style({\n animationTimingFunction:\n 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n transform: 'translate3d(0, 0, 0)',\n offset: 0,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n transform: 'translate3d(0, 0, 0)',\n offset: 0.2,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',\n transform: 'translate3d(0, -30px, 0)',\n offset: 0.4,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',\n transform: 'translate3d(0, -30px, 0)',\n offset: 0.43,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n transform: 'translate3d(0, 0, 0)',\n offset: 0.53,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',\n transform: 'translate3d(0, -15px, 0)',\n offset: 0.7,\n }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n transform: 'translate3d(0, 0, 0)',\n offset: 0.8,\n }),\n style({ transform: 'translate3d(0, -4px, 0)', offset: 0.9 }),\n style({\n animationTimingFunction:\n 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n transform: 'translate3d(0, 0, 0)',\n offset: 1.0,\n }),\n ])\n ),\n ]),\n ],\n { params: { duration: 500, delay: '0', ease: 'ease-out' } }\n ),\n]);\n","import {\n trigger,\n state,\n style,\n keyframes,\n transition,\n animate,\n AnimationTriggerMetadata,\n AUTO_STYLE,\n query,\n animateChild,\n group,\n} from '@angular/animations';\nimport { IAnimationOptions } from '../common/interfaces';\n\n/**\n * const tdFlashAnimation\n *\n * Parameter Options:\n * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.\n * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.\n * * ease: Animation accelerate and decelerate style. Defaults to ease-out.\n *\n * Returns an [AnimationTriggerMetadata] object with boolean states for a flash animation.\n *\n * usage: [@tdFlash]=\"{ value: true | false, params: { duration: 200 }}\"\n */\nexport const tdFlashAnimation: AnimationTriggerMetadata = trigger('tdFlash', [\n state(\n '0',\n style({\n opacity: 1,\n })\n ),\n state(\n '1',\n style({\n opacity: 1,\n })\n ),\n transition(\n '0 <=> 1',\n [\n group([\n query('@*', animateChild(), { optional: true }),\n animate(\n '{{ duration }}ms {{ delay }}ms {{ ease }}',\n