(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["wallet-wallet-module"],{

/***/ "3c0h":
/*!*************************************************!*\
  !*** ./src/app/wallet/wallet-routing.module.ts ***!
  \*************************************************/
/*! exports provided: WalletPageRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageRoutingModule", function() { return WalletPageRoutingModule; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "tyNb");
/* harmony import */ var _wallet_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./wallet.page */ "PaDY");




const routes = [
    {
        path: '',
        component: _wallet_page__WEBPACK_IMPORTED_MODULE_3__["WalletPage"]
    }
];
let WalletPageRoutingModule = class WalletPageRoutingModule {
};
WalletPageRoutingModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]],
    })
], WalletPageRoutingModule);



/***/ }),

/***/ "43Fg":
/*!*****************************************!*\
  !*** ./src/app/wallet/wallet.module.ts ***!
  \*****************************************/
/*! exports provided: WalletPageModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageModule", function() { return WalletPageModule; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
/* harmony import */ var _ngx_formly_ionic__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-formly/ionic */ "8mWu");
/* harmony import */ var _ngx_formly_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-formly/core */ "0FS3");
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic/angular */ "TEn/");
/* harmony import */ var _wallet_routing_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./wallet-routing.module */ "3c0h");
/* harmony import */ var _wallet_page__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./wallet.page */ "PaDY");
/* harmony import */ var src_pipes_shared_module__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/pipes/shared.module */ "hFmk");
/* harmony import */ var ng2_search_filter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ng2-search-filter */ "cZdB");












let WalletPageModule = class WalletPageModule {
};
WalletPageModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_3__["FormsModule"],
            _ionic_angular__WEBPACK_IMPORTED_MODULE_7__["IonicModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateModule"],
            _ngx_formly_ionic__WEBPACK_IMPORTED_MODULE_5__["FormlyIonicModule"],
            _ngx_formly_core__WEBPACK_IMPORTED_MODULE_6__["FormlyModule"].forRoot({ extras: { lazyRender: true } }),
            _wallet_routing_module__WEBPACK_IMPORTED_MODULE_8__["WalletPageRoutingModule"],
            ng2_search_filter__WEBPACK_IMPORTED_MODULE_11__["Ng2SearchPipeModule"],
            src_pipes_shared_module__WEBPACK_IMPORTED_MODULE_10__["SharedModule"]
        ],
        declarations: [_wallet_page__WEBPACK_IMPORTED_MODULE_9__["WalletPage"]]
    })
], WalletPageModule);



/***/ }),

/***/ "Hp3Q":
/*!*****************************************!*\
  !*** ./src/app/wallet/wallet.page.scss ***!
  \*****************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("ion-content .header-wrap {\n  background-image: var(--background-banner);\n  background-repeat: round;\n  background-origin: padding-box;\n}\nion-content ion-toolbar {\n  --background:auto;\n}\nion-content ion-list-header {\n  text-align: center;\n  background-size: cover;\n}\nion-content ion-list-header .row1 {\n  margin-top: 20px;\n  /*.add-btn{\n      border-radius: unset;\n      border: unset !important;\n      font-size: 20px !important;\n  }*/\n}\nion-content ion-list-header .row2 {\n  margin-top: 10px;\n}\nion-content ion-list-header .row2 ion-icon {\n  border: unset;\n}\nion-content ion-list-header .row2 p {\n  color: var(--white);\n  margin: 0;\n  font-style: normal;\n  font-weight: 600;\n  font-size: 18px;\n}\nion-content ion-list-header .row3 {\n  margin-bottom: 15px;\n}\nion-content ion-list-header .row3 p {\n  color: var(--white);\n  font-style: normal;\n  font-weight: 600;\n  font-size: 18px;\n}\nion-content ion-list-header .wal-bal {\n  padding-bottom: 15%;\n  width: 98%;\n}\nion-content ion-list-header .bal-text {\n  /* Auto Layout */\n  font-style: normal;\n  font-weight: bold;\n  font-size: var(--title_font_size);\n  margin: 2px;\n  color: var(--white);\n}\nion-content ion-list-header h1.bal-text {\n  font-size: var(--sub_title_font_size);\n  margin: 8px;\n}\nion-content ion-list-header .add-btn {\n  font-size: 18px;\n  margin-left: 5px;\n}\nion-content .filter {\n  background: var(--secondary);\n  font-weight: 700;\n}\nion-content .filter .clear-filter {\n  font-size: var(--sub_title_font_size);\n  color: var(--primary);\n}\nion-content .filter .date-range {\n  color: var(--text-light);\n  font-size: var(--text_font_size);\n  font-weight: 500;\n}\nion-content .filter-banner {\n  color: var(--text-dark);\n  font-size: var(--text_font_size);\n  overflow: inherit;\n}\nion-content .filter-icon {\n  color: #212121 !important;\n  padding: 0 5px;\n}\nion-content .filter-icon {\n  color: var(--primary) !important;\n  padding: 0 5px;\n}\nion-content .copy-icon {\n  color: #212121 !important;\n  padding: 0 5px;\n}\nion-content .copy-icon {\n  color: var(--primary) !important;\n  padding: 0 5px;\n}\nion-content ion-header ion-menu-button {\n  /* Menu Icon */\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 10px;\n  position: static;\n  left: 10px;\n  top: 13px;\n  /* Inside Auto Layout */\n  flex: none;\n  order: 0;\n  flex-grow: 0;\n  margin: 0px 10px;\n}\nion-content ion-header ion-title {\n  margin-right: 25%;\n  /* Body/H1 */\n  font-style: normal;\n  font-weight: 900;\n  font-size: var(--title_font_size);\n  line-height: 128.91%;\n  /* identical to box height, or 26px */\n  color: #FFFFFF;\n  /* Inside Auto Layout */\n  flex: none;\n  order: 0;\n  flex-grow: 0;\n}\nion-content ion-header ion-title span {\n  text-align: right;\n  color: #FFFFFF;\n}\nion-content ion-header ion-icon {\n  top: -5px;\n  right: -30%;\n  position: absolute;\n  border-radius: 0px;\n  border-style: none;\n}\nion-content ion-header ion-icon.ios {\n  top: 0px;\n  right: -45%;\n  position: relative;\n}\nion-content ion-header .filterIcon {\n  padding-right: 30px !important;\n}\nion-content ion-header .filterIcon.ios {\n  padding-right: 7px !important;\n}\nion-content ion-list {\n  margin-top: -20px;\n  border-radius: 25px;\n  min-height: 100%;\n  position: relative;\n  /*.val{\n     margin-left: 10px;\n  }*/\n}\nion-content ion-list ion-card h4 {\n  color: var(--bg-color);\n  margin-left: 5%;\n}\nion-content ion-list h5 {\n  color: #4D4D4D;\n  font-style: normal;\n  font-weight: normal;\n  font-size: var(--sub_title_font_size);\n  margin: 5px 0 5px 0;\n  /* or 23px */\n  text-align: center;\n}\nion-content ion-list ion-icon {\n  font-size: 12px;\n  border: unset;\n}\nion-content ion-list .credit, ion-content ion-list .cr {\n  color: #6FCF97;\n}\nion-content ion-list .debit {\n  color: #FF7765;\n}\nion-content ion-list ion-col, ion-content ion-list ion-grid {\n  padding: 0px;\n}\nion-content ion-list ion-col.action-button {\n  padding: 5px !important;\n}\nion-content ion-list ion-col.action-button ion-button {\n  text-align: center;\n  height: 40px;\n  font-size: var(--sub_title_font_size);\n  --border-radius:10px !important;\n}\nion-content ion-list ion-col.action-button .share {\n  text-align: right;\n  display: initial;\n  text-indent: 1px;\n  text-overflow: \"\";\n  -webkit-appearance: none;\n     -moz-appearance: none;\n          appearance: none;\n}\nion-content ion-list .com-np {\n  border: 0.5px solid var(--bg_light);\n  padding: 1px 5px;\n  border-radius: 6px;\n  color: #828282 !important;\n  background-color: #FBF686;\n  font-weight: 600 !important;\n}\nion-content ion-list .priv-np {\n  border: 0.5px solid var(--bg_light);\n  padding: 1px 5px;\n  border-radius: 6px;\n  color: #828282 !important;\n  background-color: #fff;\n  font-weight: 600 !important;\n}\nion-content ion-list .np {\n  margin-bottom: 7px !important;\n}\nion-content h1 {\n  color: var(--white);\n}\nion-content ion-icon {\n  font-size: 30px;\n  color: var(--white);\n  border-radius: 50%;\n  padding: 5px;\n  border: 1px solid var(--white);\n}\nion-content ion-item {\n  border: 1px solid var(--bg_light);\n  border-radius: 7px;\n  margin: 6px 10px;\n}\nion-content ion-item h4 {\n  color: var(--secondary);\n}\nion-content ion-list .inactive {\n  opacity: 0.5;\n}\nion-content .val {\n  margin-left: 50px;\n}\nion-content .form ion-item {\n  padding: 0 18px 0 18px;\n  margin-bottom: 10px;\n}\nion-content.active {\n  bottom: 0;\n}\nion-content ion-fab {\n  z-index: 1;\n}\nion-content ion-fab ion-fab-button {\n  --background: var(--secondary);\n  opacity: 0.6;\n  --color: var(--white);\n}\nion-content ion-fab ion-fab-button ion-icon {\n  border: unset;\n}\nion-footer {\n  text-align: center;\n  background: #fff;\n}\nion-footer ion-toolbar {\n  border-radius: 10px;\n  --background:#212121;\n  margin: auto;\n  width: 98%;\n  --color:#3083FF;\n  margin-bottom: 5px;\n}\nion-footer ion-toolbar .inactive {\n  color: #fff;\n}\nion-footer ion-toolbar ion-icon {\n  font-size: 26px;\n}\nion-footer.active {\n  bottom: -100px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "PaDY":
/*!***************************************!*\
  !*** ./src/app/wallet/wallet.page.ts ***!
  \***************************************/
/*! exports provided: WalletPage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPage", function() { return WalletPage; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
/* harmony import */ var _raw_loader_wallet_page_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./wallet.page.html */ "a3nW");
/* harmony import */ var _wallet_page_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./wallet.page.scss */ "Hp3Q");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "fXoL");
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ "TEn/");
/* harmony import */ var src_services_common_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/services/common.service */ "FBGF");
/* harmony import */ var _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @capacitor/clipboard */ "PJjM");
/* harmony import */ var src_services_wallet_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/services/wallet.service */ "vjAt");
/* harmony import */ var _services_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../services/constants */ "k8oS");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ "tyNb");
/* harmony import */ var src_services_myevent_services__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/services/myevent.services */ "ThQF");
/* harmony import */ var src_models_wallet_filter_wallet_filter_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/models/wallet-filter/wallet-filter.component */ "AoF4");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
/* harmony import */ var _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @capacitor/filesystem */ "F7bV");
/* harmony import */ var _capacitor_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @capacitor/core */ "FUe0");
/* harmony import */ var _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ionic-native/file-opener/ngx */ "te5A");
/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! file-saver */ "Iab2");
/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(file_saver__WEBPACK_IMPORTED_MODULE_16__);


















let WalletPage = class WalletPage {
    constructor(navCtrl, _commonService, _walletService, _route, _modalController, _myevent, _fileOpener, translate
    //public clipboard: Clipboard
    ) {
        this.navCtrl = navCtrl;
        this._commonService = _commonService;
        this._walletService = _walletService;
        this._route = _route;
        this._modalController = _modalController;
        this._myevent = _myevent;
        this._fileOpener = _fileOpener;
        this.translate = translate;
        this.isLastPage = false;
        this.record_per_page = _services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].ROW_COUNT;
        this.offset = this.record_per_page * 0;
        this.pageNo = 1;
        this.lists = null;
        this.tagId = '';
        this.shareList = ["CSV", "Excel", "PDF"];
        this.backToTop = false;
        this.isVrnFilter = false;
        this.isDataFound = true;
        this.fileName = 'wallet.page.ts';
        this.loadFirst = true;
        this.isWeb = false;
        this.vehicleLists = JSON.parse(localStorage.getItem("vehicleList"));
        this.resetFilter();
    }
    // let platformName = (await this.commonService.getDeviceInfo()).platform;
    resetFilter() {
        try {
            var today = new Date();
            var monthStart = this._commonService.getLastThreeMonthDate(90);
            var monthEnd = today.toISOString().substr(0, 10);
            this.startDate = monthStart;
            this.endDate = monthEnd;
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'resetFilter()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    ngOnInit() {
        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
            try {
                let devDetail = this._commonService.getLocalgetDeviceInfo();
                this.platform = devDetail.platform;
                if (this.platform == "web") {
                    this.isWeb = true;
                }
                this.isLastPage = false;
                this.record_per_page = _services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].ROW_COUNT;
                this.offset = this.record_per_page * 0;
                this.pageNo = 1;
                this.lists = null;
                yield this._commonService.showLoader();
                this._walletService.checkBalance({ mode: 'BAL' }).subscribe((res) => Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
                    if (res.status === true) {
                        this.walletData = res.data;
                        yield this._commonService.hideLoader();
                    }
                }));
                let obj;
                if (this.startDate && this.endDate !== '') {
                    obj = {
                        startDate: this.startDate,
                        endDate: this.endDate,
                        offset: this.offset,
                        vrn: this.searchTerm,
                        isVrnFilter: this.isVrnFilter
                    };
                }
                this._walletService.getAllStatement(obj).subscribe(res => {
                    if (res.status === true) {
                        let col = res.columns;
                        let data = res.data;
                        this.lists = this._walletService.mapColData(col, data);
                        this._commonService.log({ data: this.lists });
                        if (res.data.length == 0) {
                            this.lists = null;
                            this.isDataFound = false;
                        }
                    }
                    else if (res.d_type == 'local') {
                        this.lists = null;
                        this.isDataFound = false;
                    }
                });
            }
            catch (error) {
                let obj = {
                    fileName: this.fileName,
                    functionName: 'ngOnInit()',
                    error: error
                };
                this._commonService.systemException(obj);
            }
        });
    }
    submit() {
        try {
            this._commonService.simpleAlert('Saved', 'You have successfully raised a new Support Request. Your request ID is T202107C1000105');
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'submit()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    openPDF() {
        try {
            window.open("https://dev.1pay.devops.merce.co/transaction_download.pdf", '_system', 'location=no');
            // this._fileOpener.open("http://www.africau.edu/images/default/sample.pdf", 'application/pdf')
            //   .then(() => { console.log('opened the file') })
            //   .catch((err) => { console.log('Error in opening the file'); console.log(err) });
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'openPDF()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    openModule(list) {
        try {
            if (list.routeTo == null)
                return false;
            this._commonService.routeToPage(list.routeTo, {
                op: list.option
            });
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'openModule(list)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    addMoney(pay_type) {
        try {
            this._commonService.routeToPage('tab/add-money', {
                op: pay_type
            });
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'addMoney()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    filterVrn(listObj) {
        var _a;
        try {
            this.lists = null;
            this.searchTerm = listObj.udf5;
            this.isVrnFilter = true;
            this.filterOn = 'vrn';
            this.vrnType = ((_a = listObj === null || listObj === void 0 ? void 0 : listObj.udf5) === null || _a === void 0 ? void 0 : _a.is_commercial) == 'Yes' ? 'priv-np' : 'com-np';
            this.offset = this.record_per_page * 0;
            this.pageNo = 1;
            setTimeout(() => {
                this.ngOnInit();
            }, 700);
            this.gotToTop();
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'filterVrn(listObj)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    clearFilterVrn() {
        try {
            this.searchTerm = null;
            this.isVrnFilter = false;
            this.filterOn = 'clear';
            this.vrnType = null;
            this.isDataFound = true;
            this.resetFilter();
            setTimeout(() => {
                this.ngOnInit();
            }, 700);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'clearFilterVrn()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    clearFilterDate() {
        try {
            this.filterBy = 'clear';
            this.dateRange = null;
            this.isDataFound = true;
            this.resetFilter();
            setTimeout(() => {
                this.ngOnInit();
            }, 700);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'clearFilterDate()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    doRefresh(event) {
        try {
            this.lists = null;
            this.filterBy = 'clear';
            this.isDataFound = true;
            this.pageNo = 1;
            this.offset = this.record_per_page * 0;
            this.resetFilter();
            setTimeout(() => {
                this.ngOnInit();
                event.target.complete();
            }, 2000);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'doRefresh(event)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    loadMore(event) {
        try {
            if (this.isLastPage) {
                this._commonService.simpleToast(_services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].NO_RECORD);
            }
            let obj;
            this.offset = this.record_per_page * this.pageNo;
            if (this.startDate && this.endDate !== '') {
                obj = {
                    startDate: this.startDate,
                    endDate: this.endDate,
                    offset: this.offset,
                    vrn: this.searchTerm,
                    isVrnFilter: this.isVrnFilter
                };
            }
            this._walletService.getAllStatement(obj).subscribe(res => {
                if (res.status === true) {
                    this.isLastPage = (res.data.length < this.record_per_page || res.count == 0) ? true : false;
                    if (this.isLastPage) {
                        this._commonService.simpleToast(_services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].NO_RECORD);
                    }
                    this.pageNo++;
                    let col = res.columns;
                    let data = res.data;
                    let findata = [];
                    findata = this._walletService.mapColData(col, data);
                    if (this.lists === null) {
                        this.lists = findata;
                        this._commonService.log({ data: this.lists });
                    }
                    else {
                        Array.prototype.push.apply(this.lists, findata);
                        this._commonService.log({ data: this.lists });
                    }
                    event.target.complete();
                }
            });
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'loadMore(event)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    defineDisputeBtnState(listObj) {
        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
            //await this._commonService.showLoader();
            try {
                let dateDiff = yield this._commonService.differenceInDays(new Date(listObj.txn_date), new Date());
                listObj.showDisputeBtn = (dateDiff < 45) ? false : true;
                //this._commonService.hideLoader();
            }
            catch (error) {
                this._commonService.hideLoader();
                let obj = {
                    fileName: this.fileName,
                    functionName: 'defineDisputeBtnState(listObj)',
                    error: error
                };
                this._commonService.systemException(obj);
            }
        });
    }
    raiseDispute(list) {
        try {
            this._myevent.raiseDispute = list;
            this._route.navigate(['./raise-dispute-transaction']);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'raiseDispute(list)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    shareFunction(listObj) {
        try {
            this._commonService.log({
                listObj: listObj
            });
            this._walletService.shareFunction(listObj);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'shareFunction(listObj)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    // Open Modal for filter option
    openModel() {
        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
            try {
                const modal = yield this._modalController.create({
                    component: src_models_wallet_filter_wallet_filter_component__WEBPACK_IMPORTED_MODULE_11__["WalletFilterComponent"],
                    componentProps: {
                        _startDate: this.startDate,
                        _endDate: this.endDate,
                        _searchTerm: this.searchTerm
                    }
                });
                modal.onDidDismiss().then((data) => {
                    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
                    if (((_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.userOption) === 'confirm') {
                        this.startDate = (_b = data === null || data === void 0 ? void 0 : data.data) === null || _b === void 0 ? void 0 : _b.startDate.toString().substring(0, 10);
                        this.endDate = (_c = data === null || data === void 0 ? void 0 : data.data) === null || _c === void 0 ? void 0 : _c.endDate.toString().substring(0, 10);
                        this.filterBy = 'date';
                        this.isDataFound = true;
                        this.startDateDisplay = (_d = data === null || data === void 0 ? void 0 : data.data) === null || _d === void 0 ? void 0 : _d.startDate;
                        this.endDateDisplay = (_e = data === null || data === void 0 ? void 0 : data.data) === null || _e === void 0 ? void 0 : _e.endDate;
                        this.searchTerm = (((_f = data === null || data === void 0 ? void 0 : data.data) === null || _f === void 0 ? void 0 : _f.isCommercial) !== undefined) ? (_g = data === null || data === void 0 ? void 0 : data.data) === null || _g === void 0 ? void 0 : _g.selectedVehicle : null;
                        this.isVrnFilter = (((_h = data === null || data === void 0 ? void 0 : data.data) === null || _h === void 0 ? void 0 : _h.isCommercial) !== undefined) ? true : false;
                        this.vrnType = (((_j = data === null || data === void 0 ? void 0 : data.data) === null || _j === void 0 ? void 0 : _j.isCommercial) == 'Yes') ? 'com-np' : 'priv-np';
                        this.filterOn = (((_k = data === null || data === void 0 ? void 0 : data.data) === null || _k === void 0 ? void 0 : _k.isCommercial) !== undefined) ? 'vrn' : 'clear';
                        this.ngOnInit();
                    }
                });
                return yield modal.present();
            }
            catch (error) {
                let obj = {
                    fileName: this.fileName,
                    functionName: 'option(op)',
                    error: error
                };
                this._commonService.systemException(obj);
            }
        });
    }
    getScrollPos(pos) {
        try {
            if (pos > 100) {
                this.backToTop = true;
            }
            else {
                this.backToTop = false;
            }
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'getScrollPos(pos: number)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    gotToTop() {
        try {
            this.content.scrollToTop(1000);
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'gotToTop()',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
    copyText(list) {
        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
            try {
                yield _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_6__["Clipboard"].write({
                    string: list === null || list === void 0 ? void 0 : list.wallet_txn_id
                });
                this._commonService.simpleToast("Transaction copied", 500);
            }
            catch (error) {
                let obj = {
                    fileName: this.fileName,
                    functionName: 'copyText(list)',
                    error: error
                };
                this._commonService.systemException(obj);
            }
        });
    }
    ionViewWillEnter() {
        try {
            if (!this.loadFirst) {
                this.ngOnInit();
                this._commonService.hideLoader();
            }
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'ionViewWillEnter()',
                error: error
            };
            this._commonService.systemException(obj);
        }
        this.loadFirst = false;
    }
    shareCSV() {
        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
            try {
                let filename = "walletStatement.csv";
                yield this._commonService.showLoader();
                let obj;
                if (this.startDate && this.endDate !== '') {
                    obj = {
                        startDate: this.startDate,
                        endDate: this.endDate,
                        offset: this.offset,
                        vrn: this.searchTerm,
                        isVrnFilter: this.isVrnFilter,
                        shareVia: 'csv'
                    };
                }
                this._walletService.getAllStatement(obj).subscribe((res) => Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () {
                    if (res.status === true) {
                        const base64 = (res.data);
                        this._commonService.log({
                            base64Obj: base64,
                            path: filename,
                            directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__["Directory"].Cache,
                            encoding: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__["Encoding"].UTF8,
                        });
                        if (this.platform === 'web') {
                            Object(file_saver__WEBPACK_IMPORTED_MODULE_16__["saveAs"])(new Blob([base64], { type: 'text/csv' }), filename);
                            yield this._commonService.hideLoader();
                        }
                        else {
                            const savedFile = yield _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__["Filesystem"].writeFile({
                                path: filename,
                                data: base64,
                                directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__["Directory"].Cache,
                                encoding: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_13__["Encoding"].UTF8,
                            });
                            const filePath = _capacitor_core__WEBPACK_IMPORTED_MODULE_14__["Capacitor"].convertFileSrc(savedFile.uri);
                            yield this._commonService.hideLoader();
                            this.openFile(savedFile.uri);
                            //this._walletService.shareFILE(filePath);
                        }
                    }
                }));
            }
            catch (error) {
                let obj = {
                    fileName: this.fileName,
                    functionName: 'shareCSV()',
                    error: error
                };
                this._commonService.systemException(obj);
            }
        });
    }
    openFile(filePath) {
        try {
            this._fileOpener.open(filePath, 'text/csv')
                .then(() => { this._commonService.simpleToast('File downloaded'); })
                .catch((err) => { this._commonService.simpleToast('Error in opening the file / not supported in browser'); this._commonService.log(err); });
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'openFile(filePath)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
};
WalletPage.ctorParameters = () => [
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["NavController"] },
    { type: src_services_common_service__WEBPACK_IMPORTED_MODULE_5__["CommonService"] },
    { type: src_services_wallet_service__WEBPACK_IMPORTED_MODULE_7__["WalletService"] },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"] },
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["ModalController"] },
    { type: src_services_myevent_services__WEBPACK_IMPORTED_MODULE_10__["MyEvent"] },
    { type: _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_15__["FileOpener"] },
    { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"] }
];
WalletPage.propDecorators = {
    content: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: [_ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonContent"], { read: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonContent"], static: false },] }]
};
WalletPage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({
        selector: 'app-wallet',
        template: _raw_loader_wallet_page_html__WEBPACK_IMPORTED_MODULE_1__["default"],
        styles: [_wallet_page_scss__WEBPACK_IMPORTED_MODULE_2__["default"]]
    }),
    Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"])("design:paramtypes", [_ionic_angular__WEBPACK_IMPORTED_MODULE_4__["NavController"],
        src_services_common_service__WEBPACK_IMPORTED_MODULE_5__["CommonService"],
        src_services_wallet_service__WEBPACK_IMPORTED_MODULE_7__["WalletService"],
        _angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"],
        _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["ModalController"],
        src_services_myevent_services__WEBPACK_IMPORTED_MODULE_10__["MyEvent"],
        _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_15__["FileOpener"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"]
        //public clipboard: Clipboard
    ])
], WalletPage);



/***/ }),

/***/ "a3nW":
/*!*******************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/wallet/wallet.page.html ***!
  \*******************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<ion-content fullscreen class=\"bg_color1\" [scrollEvents]=\"true\" (ionScroll)=\"getScrollPos($event.detail.scrollTop)\">\r\n\t<div class=\"header-wrap\">\r\n\t\t<ion-header class=\"\">\r\n\t\t\t<ion-toolbar>\r\n\t\t\t\t<ion-buttons slot=\"start\" class=\"on-search-hide\">\r\n\t\t\t\t\t<ion-menu-button></ion-menu-button>\r\n\t\t\t\t</ion-buttons>\r\n\t\t\t\t<ion-title class=\"wallet-title\">\r\n\t\t\t\t\t{{'Wallet' | translate}}\r\n\t\t\t\t\t<ion-icon class=\"filterIcon\" name=\"funnel\" (click)=\"openModel()\"></ion-icon>\r\n\t\t\t\t\t<ion-icon name=\"share-social\" (click)=\"shareCSV()\"></ion-icon>\r\n\t\t\t\t\t<!-- <ion-text>{{'Wallet' | translate}}</ion-text> -->\r\n\t\t\t\t</ion-title>\r\n\r\n\t\t\t</ion-toolbar>\r\n\t\t</ion-header>\r\n\r\n\t\t<ion-list-header>\r\n\t\t\t<div class=\"wal-bal\">\r\n\t\t\t\t<ion-grid>\r\n\t\t\t\t\t<ion-row class=\"row1\">\r\n\t\t\t\t\t\t<ion-col size=\"6\" (click)=\"addMoney('BAL')\">\r\n\t\t\t\t\t\t\t<ion-icon name=\"wallet\"></ion-icon>\r\n\t\t\t\t\t\t\t<!-- <ion-icon class=\"zmdi zmdi-balance-wallet\"></ion-icon> -->\r\n\t\t\t\t\t\t\t<p class=\"bal-text\">Balance\r\n\t\t\t\t\t\t\t\t<!-- <ion-text class=\"add-btn\">+</ion-text>\t\t\t\t\t\t\t\t -->\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<h1 class=\"bal-text\">{{walletData?.balance | currency:'INR':'symbol':'0.0'}}</h1>\r\n\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t<!-- <ion-col size=\"1\" (click)=\"addMoney()\">\r\n\t\t\t\t\t\t\t<ion-icon class=\"zmdi zmdi-balance-wallet\" *ngIf=\"!1\"></ion-icon>\r\n\t\t\t\t\t\t\t<p class=\"bal-text add-btn\">\r\n\t\t\t\t\t\t\t\t<ion-icon class=\"add-btn zmdi zmdi-plus\" slot=\"end\"></ion-icon>\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t</ion-col> -->\r\n\t\t\t\t\t\t<ion-col size=\"6\">\r\n\t\t\t\t\t\t\t<!--  (click)=\"addMoney('SD')\" -->\r\n\t\t\t\t\t\t\t<!-- <ion-icon class=\"zmdi zmdi-shield-security\"></ion-icon> -->\r\n\t\t\t\t\t\t\t<ion-icon name=\"shield-half\"></ion-icon>\r\n\t\t\t\t\t\t\t<p class=\"bal-text\">Deposit\r\n\t\t\t\t\t\t\t\t<!-- <ion-text class=\"add-btn\">+</ion-text> -->\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<h1 class=\"bal-text\">{{walletData?.sec_deposit | currency:'INR':'symbol':'0.0'}}</h1>\r\n\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t<!-- <ion-col size=\"1\" (click)=\"addMoney()\">\r\n\t\t\t\t\t\t\t<ion-icon class=\"zmdi zmdi-balance-wallet\" *ngIf=\"!1\"></ion-icon>\r\n\t\t\t\t\t\t\t<p class=\"bal-text add-btn\" (click)=\"addMoney()\">\r\n\t\t\t\t\t\t\t\t<ion-icon class=\"add-btn zmdi zmdi-plus\" slot=\"end\"></ion-icon>\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t</ion-col> -->\r\n\t\t\t\t\t</ion-row>\r\n\t\t\t\t</ion-grid>\r\n\t\t\t\t<ion-grid>\r\n\t\t\t\t\t<ion-row class=\"row3\">\r\n\t\t\t\t\t\t<!-- <ion-col size=\"6\">\r\n\t\t\t\t\t\t\t<p>Transactions</p>\r\n\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t<ion-col size=\"6\" (click)=\"addMoney()\">\r\n\t\t\t\t\t\t\t<p>Add Money</p>\r\n\t\t\t\t\t\t</ion-col> -->\r\n\t\t\t\t\t</ion-row>\r\n\t\t\t\t</ion-grid>\r\n\t\t\t</div>\r\n\t\t</ion-list-header>\r\n\t</div>\r\n\r\n\t<ion-list lines=\"none\">\r\n\t\t<ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n\t\t\t<ion-refresher-content></ion-refresher-content>\r\n\t\t</ion-refresher>\r\n\t\t<ion-item *ngIf=\"filterOn == 'vrn'\" class=\"filter\">\r\n\t\t\t<ion-icon class=\"filter-icon\" name=\"create-outline\" (click)=\"openModel()\"></ion-icon>\r\n\t\t\t<ion-label class=\"filter-banner\"><span (click)=\"openModel()\">Filter by </span><span\r\n\t\t\t\t\tclass=\"{{ vrnType }}\">{{searchTerm}}</span></ion-label>\r\n\t\t\t<ion-label slot=\"end\" class=\"clear-filter\" (click)=\"clearFilterVrn()\">Clear</ion-label>\r\n\t\t</ion-item>\r\n\t\t<ion-item *ngIf=\"filterBy == 'date'\" class=\"filter\">\r\n\t\t\t<ion-icon class=\"filter-icon\" name=\"create-outline\" (click)=\"openModel()\"></ion-icon>\r\n\t\t\t<ion-label class=\"filter-banner\"><span (click)=\"openModel()\">Filter by </span><span class=\"date-range\">{{\r\n\t\t\t\t\tstartDateDisplay | formatDate:'short'\r\n\t\t\t\t\t}} To {{endDateDisplay | formatDate:'short' }}</span></ion-label>\r\n\t\t\t<ion-label slot=\"end\" class=\"clear-filter\" (click)=\"clearFilterDate()\">Clear</ion-label>\r\n\t\t</ion-item>\r\n\t\t<ion-item *ngIf=\"!isDataFound\">\r\n\t\t\t<ion-label class=\"filter-banner\">No record found from <strong>{{ startDate | formatDate:'short' }}</strong>\r\n\t\t\t\tTo <strong>{{endDate | formatDate:'short' }}</strong></ion-label>\r\n\t\t</ion-item>\r\n\t\t<ion-item *ngFor=\"let list of lists;let i = index\">\r\n\t\t\t<div class=\"item_inner d-flex\">\r\n\t\t\t\t<div class=\"item_header d-flex\">\r\n\t\t\t\t\t<ion-grid>\r\n\t\t\t\t\t\t<ion-row>\r\n\t\t\t\t\t\t\t<ion-col>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\">\r\n\t\t\t\t\t\t\t\t\t{{list?.txn_date | formatDate:'short' }}\r\n\t\t\t\t\t\t\t\t\t{{list?.txn_date | formatDate:'time' }}\r\n\t\t\t\t\t\t\t\t\t<!--<span class=\"val\">{{list?.narration}}</span>-->\r\n\t\t\t\t\t\t\t\t\t<span class=\"end {{list?.txn_type | lowercase}}\" (click)=\"list.open = !list.open\"\r\n\t\t\t\t\t\t\t\t\t\t(click)=defineDisputeBtnState(list)><span\r\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"list?.txn_type == 'DEBIT'\">-</span>\r\n\t\t\t\t\t\t\t\t\t\t<span *ngIf=\"list?.txn_type !== 'DEBIT'\">+</span> {{list?.txn_amount |\r\n\t\t\t\t\t\t\t\t\t\tcurrency:'INR':'symbol':'0.0'}}</span>\r\n\t\t\t\t\t\t\t\t\t<span style=\"color: #4D4D4D\" (click)=\"list.open = !list.open\">\r\n\t\t\t\t\t\t\t\t\t\t<ion-icon name=\"chevron-down-outline\" style=\"color: #4D4D4D; padding-right: 1%;\"\r\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"!list.open\" (click)=defineDisputeBtnState(list)></ion-icon>\r\n\t\t\t\t\t\t\t\t\t\t<ion-icon name=\"chevron-up-outline\" style=\"color: #4D4D4D; padding-right: 1%;\"\r\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"list.open\"></ion-icon>\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t</ion-row>\r\n\t\t\t\t\t\t<ion-row>\r\n\t\t\t\t\t\t\t<ion-col size=\"6\">\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\">\r\n\t\t\t\t\t\t\t\t\t<span (click)=\"filterVrn(list)\"\r\n\t\t\t\t\t\t\t\t\t\t[ngClass]=\"{'com-np':vehicleLists[list?.udf5]?.is_commercial == 'Yes','priv-np':vehicleLists[list?.udf5]?.is_commercial != 'Yes'}\"\r\n\t\t\t\t\t\t\t\t\t\t*ngIf=\"list?.txn_type == 'DEBIT'\">{{list?.udf5}}</span>\r\n\t\t\t\t\t\t\t\t\t<ion-icon class=\"filter-icon\" *ngIf=\"list?.txn_type == 'DEBIT'\"\r\n\t\t\t\t\t\t\t\t\t\tname=\"funnel-outline\" (click)=\"filterVrn(list)\"></ion-icon>\r\n\t\t\t\t\t\t\t\t\t<span *ngIf=\"list?.txn_type !== 'DEBIT'\">NEFT{{list?.partner_ref_no |\r\n\t\t\t\t\t\t\t\t\t\twrapText:15}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t\t<ion-col size=\"6\" *ngIf=\"list.open\" (click)=\"list.open = !list.open\">\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t\t<ion-col size=\"6\" *ngIf=\"!list.open\" (click)=\"list.open = !list.open\"\r\n\t\t\t\t\t\t\t\t(click)=defineDisputeBtnState(list)>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\">\r\n\t\t\t\t\t\t\t\t\t<span class=\"val\">{{list?.narration | wrapText:10}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t</ion-row>\r\n\t\t\t\t\t\t<ion-row *ngIf=\"list.open\">\r\n\t\t\t\t\t\t\t<ion-col>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Security Deposit:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.security_deposit |\r\n\t\t\t\t\t\t\t\t\t\tcurrency:'INR':'symbol':'0.0'}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Opening Bal:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.opening_balance |\r\n\t\t\t\t\t\t\t\t\t\tcurrency:'INR':'symbol':'0.0'}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Closing Bal:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.closing_balance |\r\n\t\t\t\t\t\t\t\t\t\tcurrency:'INR':'symbol':'0.0'}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">TXN ID:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.wallet_txn_id}}</span>\r\n\t\t\t\t\t\t\t\t\t<ion-icon class=\"copy-icon\" name=\"copy-outline\" (click)=\"copyText(list)\"></ion-icon>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Narration:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.narration}}</span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<!-- <h5 class=\"d-flex\" class=\"ion-text-start\">Toll plaza: Mumbai - Pune Expy\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\"></span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Timestamp: 11:20\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\"></span>\r\n\t\t\t\t\t\t\t\t</h5>\r\n\t\t\t\t\t\t\t\t<h5 class=\"d-flex\" class=\"ion-text-start\">Lane: Lane 1\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\"></span>\r\n\t\t\t\t\t\t\t\t</h5> -->\r\n\r\n\t\t\t\t\t\t\t\t<!--<h5 class=\"d-flex\" class=\"ion-text-start\">Time:\r\n\t\t\t\t\t\t\t\t\t<span class=\"lab-val\">{{list?.txn_date | formatDate:'time'}}</span>\r\n\t\t\t\t\t\t\t\t</h5>-->\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t</ion-row>\r\n\t\t\t\t\t\t<ion-row *ngIf=\"list.open\">\r\n\t\t\t\t\t\t\t<!-- Share button -->\r\n\t\t\t\t\t\t\t<ion-col class=\"action-button\" size=\"6\">\r\n\r\n\t\t\t\t\t\t\t\t<!-- <ion-button size=\"large\" shape=\"block\" class=\"btn\">Share\r\n\t\t\t\t\t\t\t\t\t<ion-select class=\"share\">\r\n\t\t\t\t\t\t\t\t\t\t<ion-select-option *ngFor=\"let share of shareList\" [value]=\"share\">{{ share\r\n\t\t\t\t\t\t\t\t\t\t\t}}</ion-select-option>\r\n\t\t\t\t\t\t\t\t\t</ion-select>\r\n\t\t\t\t\t\t\t\t</ion-button> -->\r\n\t\t\t\t\t\t\t\t<ion-button [disabled]=\"isWeb\" size=\"large\" shape=\"block\" (click)=\"shareFunction(list)\"\r\n\t\t\t\t\t\t\t\t\tclass=\"btn dispute-btn\">Share</ion-button>\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t\t<ion-col class=\"action-button\" size=\"6\">\r\n\t\t\t\t\t\t\t\t<ion-button *ngIf=\"list.udf1 == 'TOLLTXN'\" size=\"large\" shape=\"block\"\r\n\t\t\t\t\t\t\t\t\t(click)=\"raiseDispute(list)\" class=\"btn dispute-btn\"\r\n\t\t\t\t\t\t\t\t\tdisabled={{list?.showDisputeBtn}}>Dispute Txn</ion-button>\r\n\t\t\t\t\t\t\t\t<ion-button *ngIf=\"list?.txn_type == 'CREDIT' || list?.txn_type == 'CR'\"\r\n\t\t\t\t\t\t\t\t\t(click)=\"raiseDispute(list)\" size=\"large\" shape=\"block\" class=\"btn dispute-btn\">\r\n\t\t\t\t\t\t\t\t\tCr Dispute Txn</ion-button>\r\n\t\t\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t\t</ion-row>\r\n\t\t\t\t\t</ion-grid>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</ion-item>\r\n\t</ion-list>\r\n\t<ion-fab class=\"back-to-top-btn\" *ngIf=\"backToTop\" (click)=\"gotToTop()\" horizontal=\"end\" vertical=\"bottom\"\r\n\t\tslot=\"fixed\">\r\n\t\t<ion-fab-button>\r\n\t\t\t<!-- <ion-icon md=\"caret-up\" ios=\"chevron-back-circle-outline\"></ion-icon> -->\r\n\t\t\t<ion-icon name=\"chevron-up-circle-outline\"></ion-icon>\r\n\t\t</ion-fab-button>\r\n\t</ion-fab>\r\n\t<ion-infinite-scroll threshold=\"100px\" (ionInfinite)=\"loadMore($event)\" *ngIf=\"!isLastPage\">\r\n\t\t<ion-infinite-scroll-content loadingSpinner=\"bubbles\" loadingText=\"Loading more data...\">\r\n\t\t</ion-infinite-scroll-content>\r\n\t</ion-infinite-scroll>\r\n</ion-content>\r\n<!-- <ion-footer>\r\n\t<ion-toolbar>\r\n\t\t<div class=\"wal-bal\">\r\n\t\t\t<ion-grid>\r\n\t\t\t\t<ion-row class=\"row2\">\r\n\t\t\t\t\t<ion-col size=\"4\">\r\n\t\t\t\t\t\t<ion-icon class=\"zmdi zmdi-balance-wallet\"></ion-icon>\r\n\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t<ion-col size=\"4\">\r\n\t\t\t\t\t\t<ion-icon class=\"inactive\" name=\"create-outline\"></ion-icon>\r\n\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t<ion-col size=\"4\" *ngIf=\"filterOn == 'vrn'\" (click)=\"clearFilterVrn()\">\r\n\t\t\t\t\t\t<ion-icon class=\"debit\" name=\"funnel-outline\"></ion-icon>\r\n\t\t\t\t\t</ion-col>\r\n\t\t\t\t\t<ion-col size=\"4\" *ngIf=\"filterOn != 'vrn'\">\r\n\t\t\t\t\t\t<ion-icon class=\"inactive\" name=\"pie-chart-outline\"></ion-icon>\r\n\t\t\t\t\t</ion-col>\r\n\t\t\t\t</ion-row>\r\n\t\t\t</ion-grid>\r\n\t\t</div>\r\n\t</ion-toolbar>\r\n</ion-footer> -->");

/***/ })

}]);
//# sourceMappingURL=wallet-wallet-module-es2015.js.map