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+CAAON,EAAe,0BAAfA,EAAe/C,qXCP5BxB,iBAAqBA,iCAASsE,gBAAmB,GAC/CtE,iBAA0B,WAC0BA,SAAeA,QACjEA,iBAAmCA,SAAeA,UAEpDA,iBAA6B,SAE3BA,SACAA,mBAR+CA,2CAEGA,8BACfA,8BAInCA,icDASuE,CAAe","names":["i0","TransactionHistoryComponent","constructor","this","Subscription","EventEmitter","ngOnInit","sub","add","transactionsHistory","subscribe","resp","processing","pageId","index","page","transactionId","transaction","loadMore","loadMoreClicked","emit","ngOnDestroy","unsubscribe","_TransactionHistoryComponent","selectors","trigger","transition","style","opacity","maxHeight","overflow","animate","SharedAccountModule","_SharedAccountModule","TranslatePipe","imports","BrightsideUiModule","BrightsideUiServicesModule","CommonModule","FormsModule","MicroUiMoleculeModule","MicroUiTemplatePageModule","NgxCurrencyModule","ReactiveFormsModule","SelectDropDownModule","SharedDesktopModule","TranslateModule","spinner_component","TransactionCellComponent","ngx_translate_core","modalSvc","bsHubService","openDetails","createModal","title","displayCloseButton","eventName","isError","size","ctaKey","ctaAction","showDisputeModal","templateRef","transactionDetails","contentKey","dispatch","event","closeAction","_TransactionCellComponent","_angular_core__WEBPACK_IMPORTED_MODULE_2__","ctx","TxCellComponent","_isClickable","clickAction","observers","length","handleClick","_TxCellComponent"],"sourceRoot":"webpack:///","sources":["./libs/shared/account/src/lib/transaction-history/transaction-history.component.html","./libs/shared/account/src/lib/transaction-history/transaction-history.component.ts","./libs/shared/account/src/lib/shared-account.module.ts","./libs/shared/account/src/lib/transaction-cell/transaction-cell.component.html","./libs/shared/account/src/lib/transaction-cell/transaction-cell.component.ts","./libs/brightside-ui/src/lib/cell/tx-cell/tx-cell.component.ts","./libs/brightside-ui/src/lib/cell/tx-cell/tx-cell.component.html"],"sourcesContent":["\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ 'TRANSACTIONS_HISTORY_LOAD_MORE_WEB' | translate}}\n \n \n \n \n\n\n\n \n\n","import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';\nimport {\n FinancialAccountTransaction, TransactionPagination,\n TransactionPaginationItem\n} from \"@brightside-web/desktop/feature/financial-accounts-core\";\nimport {Observable, Subscription} from \"rxjs\";\nimport {animate, style, transition, trigger} from \"@angular/animations\";\n\n@Component({\n selector: 'brightside-web-transaction-history',\n templateUrl: './transaction-history.component.html',\n styleUrls: ['./transaction-history.component.css'],\n animations: [\n trigger('enterAnimation', [\n transition(':enter', [\n style({ opacity: 0, maxHeight: '0px', overflow:'hidden' }),\n animate('750ms ease-in',\n style({ opacity: 1, maxHeight: '500px' }))\n ]),\n ]),\n ],\n})\nexport class TransactionHistoryComponent implements OnInit {\n sub = new Subscription();\n @Input() transactionsHistory: Observable;\n @Input() hasMoreTransactions: Observable;\n @Output() loadMoreClicked: EventEmitter = new EventEmitter();\n processing = false;\n\n constructor() {\n }\n\n ngOnInit(): void {\n this.sub.add(this.transactionsHistory.subscribe(\n resp => {\n this.processing = false;\n }\n ))\n }\n\n pageId(index: number, page: TransactionPaginationItem) {\n return page.page;\n }\n\n transactionId(index: number, transaction: FinancialAccountTransaction) {\n return transaction.transactionId;\n }\n\n loadMore() {\n this.processing = true;\n this.loadMoreClicked.emit(true);\n }\n\n ngOnDestroy() {\n this.sub.unsubscribe();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport { BrightsideUiModule } from '@brightside/brightside-ui';\nimport { BrightsideUiServicesModule } from '@brightside/brightside-ui-services';\nimport { MicroUiTemplatePageModule } from '@micro-ui/template/page';\nimport { SharedDesktopModule } from '@brightside-web/shared/desktop';\nimport { MicroUiMoleculeModule } from '@micro-ui/molecule';\n\nimport { NgxCurrencyModule } from 'ngx-currency';\n\nimport { AccountAddComponent } from './add/add.component';\nimport { AccountVerifyComponent } from './verify/verify.component';\nimport { SelectDropDownModule } from 'ngx-select-dropdown';\nimport { TranslateModule, TranslatePipe } from '@ngx-translate/core';\nimport { AccountHeaderComponent } from './account-header/account-header.component';\nimport { TransactionCellComponent } from './transaction-cell/transaction-cell.component';\nimport { TransactionHistoryComponent } from './transaction-history/transaction-history.component';\nimport { AccountStatementsComponent } from './account-statements/account-statements.component';\n\n@NgModule({\n imports: [\n BrightsideUiModule,\n BrightsideUiServicesModule,\n CommonModule,\n FormsModule,\n MicroUiMoleculeModule,\n MicroUiTemplatePageModule,\n NgxCurrencyModule,\n ReactiveFormsModule,\n SelectDropDownModule,\n SharedDesktopModule,\n TranslateModule,\n ],\n providers: [TranslatePipe],\n declarations: [AccountAddComponent, AccountVerifyComponent, AccountHeaderComponent, TransactionCellComponent, TransactionHistoryComponent, AccountStatementsComponent],\n exports: [AccountAddComponent, AccountVerifyComponent, AccountHeaderComponent, TransactionCellComponent,TransactionHistoryComponent, AccountStatementsComponent],\n})\nexport class SharedAccountModule {}\n","\n\n\n\n \n \n {{ transaction.merchant }}\n \n \n \n \n \n \n \n \n \n {{'TRANSACTIONS_DETAILS_BANK_PROVIDER'|translate}}\n \n \n \n \n\n","import {Component, Input, OnInit, TemplateRef, ViewChild} from '@angular/core';\nimport {FinancialAccountTransaction} from \"@brightside-web/desktop/feature/financial-accounts-core\";\nimport {SimpleGlobalModalService} from \"@brightside-web/desktop/data-access/core-services\";\nimport { BsHubService } from \"@brightside-web/desktop/data-access/core-services\";\n\n@Component({\n selector: 'brightside-web-transaction-cell',\n templateUrl: './transaction-cell.component.html',\n styleUrls: ['./transaction-cell.component.scss']\n})\nexport class TransactionCellComponent {\n @ViewChild('transactionDetails') transactionDetails!: TemplateRef;\n @Input() transaction: FinancialAccountTransaction;\n showDetails: boolean;\n\n constructor(\n private modalSvc: SimpleGlobalModalService,\n private bsHubService: BsHubService\n ) { }\n\n openDetails() {\n this.modalSvc.createModal({\n title: 'TRANSACTIONS_DETAILS_TITLE',\n displayCloseButton: true,\n eventName: 'transaction_details',\n isError: false,\n size: \"medium\",\n ctaKey: 'TRANSACTIONS_DETAILS_DISPUTE_CTA',\n ctaAction: () => {\n this.showDisputeModal();\n },\n templateRef: this.transactionDetails\n });\n }\n\n showDisputeModal() {\n this.modalSvc.createModal({\n title: 'TRANSACTIONS_DETAILS_DISPUTE_TITLE',\n contentKey: 'TRANSACTIONS_DETAILS_DISPUTE_DESC',\n displayCloseButton: true,\n eventName: 'dispute_transaction',\n isError: false,\n size: \"medium\",\n ctaKey: 'MESSAGE_FA',\n ctaAction: () => {\n this.bsHubService.dispatch('IntercomChannel', {event: 'open'});\n this.openDetails();\n },\n closeAction: () => {\n this.openDetails();\n }\n })\n };\n}\n","import { Component, Input, OnInit, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'bw-tx-cell',\n templateUrl: './tx-cell.component.html',\n styleUrls: ['./tx-cell.component.scss']\n})\nexport class TxCellComponent implements OnInit {\n\n @Input() txCellLabel: string;\n @Input() txCellValue: string;\n @Input() txCellDetails: string;\n\n @Output() clickAction = new EventEmitter();\n _isClickable = false;\n\n ngOnInit(): void {\n this._isClickable = this.clickAction.observers.length > 0;\n }\n\n handleClick(event: Event) {\n this.clickAction.emit(event);\n }\n\n}\n","\n \n {{txCellLabel}}\n {{txCellValue}}\n \n \n \n {{txCellDetails}}\n \n \n\n"],"x_google_ignoreList":[]}
\n {{txCellDetails}}\n