(function () {
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

  (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["wallet-wallet-module"], {
    /***/
    "3c0h":
    /*!*************************************************!*\
      !*** ./src/app/wallet/wallet-routing.module.ts ***!
      \*************************************************/

    /*! exports provided: WalletPageRoutingModule */

    /***/
    function c0h(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");

      var routes = [{
        path: '',
        component: _wallet_page__WEBPACK_IMPORTED_MODULE_3__["WalletPage"]
      }];

      var WalletPageRoutingModule = function WalletPageRoutingModule() {
        _classCallCheck(this, 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 Fg(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");

      var WalletPageModule = function WalletPageModule() {
        _classCallCheck(this, 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 Hp3Q(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 PaDY(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__);

      var WalletPage = /*#__PURE__*/function () {
        function WalletPage(navCtrl, _commonService, _walletService, _route, _modalController, _myevent, _fileOpener, translate //public clipboard: Clipboard
        ) {
          _classCallCheck(this, WalletPage);

          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;


        _createClass(WalletPage, [{
          key: "resetFilter",
          value: function 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) {
              var obj = {
                fileName: this.fileName,
                functionName: 'resetFilter()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "ngOnInit",
          value: function ngOnInit() {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
              var _this = this;

              var devDetail, obj, _obj;

              return regeneratorRuntime.wrap(function _callee2$(_context2) {
                while (1) {
                  switch (_context2.prev = _context2.next) {
                    case 0:
                      _context2.prev = 0;
                      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;
                      _context2.next = 11;
                      return this._commonService.showLoader();

                    case 11:
                      this._walletService.checkBalance({
                        mode: 'BAL'
                      }).subscribe(function (res) {
                        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
                          return regeneratorRuntime.wrap(function _callee$(_context) {
                            while (1) {
                              switch (_context.prev = _context.next) {
                                case 0:
                                  if (!(res.status === true)) {
                                    _context.next = 4;
                                    break;
                                  }

                                  this.walletData = res.data;
                                  _context.next = 4;
                                  return this._commonService.hideLoader();

                                case 4:
                                case "end":
                                  return _context.stop();
                              }
                            }
                          }, _callee, this);
                        }));
                      });

                      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(function (res) {
                        if (res.status === true) {
                          var col = res.columns;
                          var 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;
                        }
                      });

                      _context2.next = 20;
                      break;

                    case 16:
                      _context2.prev = 16;
                      _context2.t0 = _context2["catch"](0);
                      _obj = {
                        fileName: this.fileName,
                        functionName: 'ngOnInit()',
                        error: _context2.t0
                      };

                      this._commonService.systemException(_obj);

                    case 20:
                    case "end":
                      return _context2.stop();
                  }
                }
              }, _callee2, this, [[0, 16]]);
            }));
          }
        }, {
          key: "submit",
          value: function submit() {
            try {
              this._commonService.simpleAlert('Saved', 'You have successfully raised a new Support Request. Your request ID is T202107C1000105');
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'submit()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "openPDF",
          value: function 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) {
              var obj = {
                fileName: this.fileName,
                functionName: 'openPDF()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "openModule",
          value: function openModule(list) {
            try {
              if (list.routeTo == null) return false;

              this._commonService.routeToPage(list.routeTo, {
                op: list.option
              });
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'openModule(list)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "addMoney",
          value: function addMoney(pay_type) {
            try {
              this._commonService.routeToPage('tab/add-money', {
                op: pay_type
              });
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'addMoney()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "filterVrn",
          value: function filterVrn(listObj) {
            var _this2 = this;

            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(function () {
                _this2.ngOnInit();
              }, 700);
              this.gotToTop();
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'filterVrn(listObj)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "clearFilterVrn",
          value: function clearFilterVrn() {
            var _this3 = this;

            try {
              this.searchTerm = null;
              this.isVrnFilter = false;
              this.filterOn = 'clear';
              this.vrnType = null;
              this.isDataFound = true;
              this.resetFilter();
              setTimeout(function () {
                _this3.ngOnInit();
              }, 700);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'clearFilterVrn()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "clearFilterDate",
          value: function clearFilterDate() {
            var _this4 = this;

            try {
              this.filterBy = 'clear';
              this.dateRange = null;
              this.isDataFound = true;
              this.resetFilter();
              setTimeout(function () {
                _this4.ngOnInit();
              }, 700);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'clearFilterDate()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "doRefresh",
          value: function doRefresh(event) {
            var _this5 = this;

            try {
              this.lists = null;
              this.filterBy = 'clear';
              this.isDataFound = true;
              this.pageNo = 1;
              this.offset = this.record_per_page * 0;
              this.resetFilter();
              setTimeout(function () {
                _this5.ngOnInit();

                event.target.complete();
              }, 2000);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'doRefresh(event)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "loadMore",
          value: function loadMore(event) {
            var _this6 = this;

            try {
              if (this.isLastPage) {
                this._commonService.simpleToast(_services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].NO_RECORD);
              }

              var 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(function (res) {
                if (res.status === true) {
                  _this6.isLastPage = res.data.length < _this6.record_per_page || res.count == 0 ? true : false;

                  if (_this6.isLastPage) {
                    _this6._commonService.simpleToast(_services_constants__WEBPACK_IMPORTED_MODULE_8__["CONSTANTS"].NO_RECORD);
                  }

                  _this6.pageNo++;
                  var col = res.columns;
                  var data = res.data;
                  var findata = [];
                  findata = _this6._walletService.mapColData(col, data);

                  if (_this6.lists === null) {
                    _this6.lists = findata;

                    _this6._commonService.log({
                      data: _this6.lists
                    });
                  } else {
                    Array.prototype.push.apply(_this6.lists, findata);

                    _this6._commonService.log({
                      data: _this6.lists
                    });
                  }

                  event.target.complete();
                }
              });
            } catch (error) {
              var _obj2 = {
                fileName: this.fileName,
                functionName: 'loadMore(event)',
                error: error
              };

              this._commonService.systemException(_obj2);
            }
          }
        }, {
          key: "defineDisputeBtnState",
          value: function defineDisputeBtnState(listObj) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
              var dateDiff, obj;
              return regeneratorRuntime.wrap(function _callee3$(_context3) {
                while (1) {
                  switch (_context3.prev = _context3.next) {
                    case 0:
                      _context3.prev = 0;
                      _context3.next = 3;
                      return this._commonService.differenceInDays(new Date(listObj.txn_date), new Date());

                    case 3:
                      dateDiff = _context3.sent;
                      listObj.showDisputeBtn = dateDiff < 45 ? false : true; //this._commonService.hideLoader();

                      _context3.next = 12;
                      break;

                    case 7:
                      _context3.prev = 7;
                      _context3.t0 = _context3["catch"](0);

                      this._commonService.hideLoader();

                      obj = {
                        fileName: this.fileName,
                        functionName: 'defineDisputeBtnState(listObj)',
                        error: _context3.t0
                      };

                      this._commonService.systemException(obj);

                    case 12:
                    case "end":
                      return _context3.stop();
                  }
                }
              }, _callee3, this, [[0, 7]]);
            }));
          }
        }, {
          key: "raiseDispute",
          value: function raiseDispute(list) {
            try {
              this._myevent.raiseDispute = list;

              this._route.navigate(['./raise-dispute-transaction']);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'raiseDispute(list)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "shareFunction",
          value: function shareFunction(listObj) {
            try {
              this._commonService.log({
                listObj: listObj
              });

              this._walletService.shareFunction(listObj);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'shareFunction(listObj)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          } // Open Modal for filter option

        }, {
          key: "openModel",
          value: function openModel() {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
              var _this7 = this;

              var modal, obj;
              return regeneratorRuntime.wrap(function _callee4$(_context4) {
                while (1) {
                  switch (_context4.prev = _context4.next) {
                    case 0:
                      _context4.prev = 0;
                      _context4.next = 3;
                      return 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
                        }
                      });

                    case 3:
                      modal = _context4.sent;
                      modal.onDidDismiss().then(function (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') {
                          _this7.startDate = (_b = data === null || data === void 0 ? void 0 : data.data) === null || _b === void 0 ? void 0 : _b.startDate.toString().substring(0, 10);
                          _this7.endDate = (_c = data === null || data === void 0 ? void 0 : data.data) === null || _c === void 0 ? void 0 : _c.endDate.toString().substring(0, 10);
                          _this7.filterBy = 'date';
                          _this7.isDataFound = true;
                          _this7.startDateDisplay = (_d = data === null || data === void 0 ? void 0 : data.data) === null || _d === void 0 ? void 0 : _d.startDate;
                          _this7.endDateDisplay = (_e = data === null || data === void 0 ? void 0 : data.data) === null || _e === void 0 ? void 0 : _e.endDate;
                          _this7.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;
                          _this7.isVrnFilter = ((_h = data === null || data === void 0 ? void 0 : data.data) === null || _h === void 0 ? void 0 : _h.isCommercial) !== undefined ? true : false;
                          _this7.vrnType = ((_j = data === null || data === void 0 ? void 0 : data.data) === null || _j === void 0 ? void 0 : _j.isCommercial) == 'Yes' ? 'com-np' : 'priv-np';
                          _this7.filterOn = ((_k = data === null || data === void 0 ? void 0 : data.data) === null || _k === void 0 ? void 0 : _k.isCommercial) !== undefined ? 'vrn' : 'clear';

                          _this7.ngOnInit();
                        }
                      });
                      _context4.next = 7;
                      return modal.present();

                    case 7:
                      return _context4.abrupt("return", _context4.sent);

                    case 10:
                      _context4.prev = 10;
                      _context4.t0 = _context4["catch"](0);
                      obj = {
                        fileName: this.fileName,
                        functionName: 'option(op)',
                        error: _context4.t0
                      };

                      this._commonService.systemException(obj);

                    case 14:
                    case "end":
                      return _context4.stop();
                  }
                }
              }, _callee4, this, [[0, 10]]);
            }));
          }
        }, {
          key: "getScrollPos",
          value: function getScrollPos(pos) {
            try {
              if (pos > 100) {
                this.backToTop = true;
              } else {
                this.backToTop = false;
              }
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'getScrollPos(pos: number)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "gotToTop",
          value: function gotToTop() {
            try {
              this.content.scrollToTop(1000);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'gotToTop()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "copyText",
          value: function copyText(list) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
              var obj;
              return regeneratorRuntime.wrap(function _callee5$(_context5) {
                while (1) {
                  switch (_context5.prev = _context5.next) {
                    case 0:
                      _context5.prev = 0;
                      _context5.next = 3;
                      return _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_6__["Clipboard"].write({
                        string: list === null || list === void 0 ? void 0 : list.wallet_txn_id
                      });

                    case 3:
                      this._commonService.simpleToast("Transaction copied", 500);

                      _context5.next = 10;
                      break;

                    case 6:
                      _context5.prev = 6;
                      _context5.t0 = _context5["catch"](0);
                      obj = {
                        fileName: this.fileName,
                        functionName: 'copyText(list)',
                        error: _context5.t0
                      };

                      this._commonService.systemException(obj);

                    case 10:
                    case "end":
                      return _context5.stop();
                  }
                }
              }, _callee5, this, [[0, 6]]);
            }));
          }
        }, {
          key: "ionViewWillEnter",
          value: function ionViewWillEnter() {
            try {
              if (!this.loadFirst) {
                this.ngOnInit();

                this._commonService.hideLoader();
              }
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'ionViewWillEnter()',
                error: error
              };

              this._commonService.systemException(obj);
            }

            this.loadFirst = false;
          }
        }, {
          key: "shareCSV",
          value: function shareCSV() {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
              var _this8 = this;

              var filename, obj, _obj3;

              return regeneratorRuntime.wrap(function _callee7$(_context7) {
                while (1) {
                  switch (_context7.prev = _context7.next) {
                    case 0:
                      _context7.prev = 0;
                      filename = "walletStatement.csv";
                      _context7.next = 4;
                      return this._commonService.showLoader();

                    case 4:
                      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(function (res) {
                        return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this8, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
                          var base64, savedFile, filePath;
                          return regeneratorRuntime.wrap(function _callee6$(_context6) {
                            while (1) {
                              switch (_context6.prev = _context6.next) {
                                case 0:
                                  if (!(res.status === true)) {
                                    _context6.next = 16;
                                    break;
                                  }

                                  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')) {
                                    _context6.next = 9;
                                    break;
                                  }

                                  Object(file_saver__WEBPACK_IMPORTED_MODULE_16__["saveAs"])(new Blob([base64], {
                                    type: 'text/csv'
                                  }), filename);
                                  _context6.next = 7;
                                  return this._commonService.hideLoader();

                                case 7:
                                  _context6.next = 16;
                                  break;

                                case 9:
                                  _context6.next = 11;
                                  return _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
                                  });

                                case 11:
                                  savedFile = _context6.sent;
                                  filePath = _capacitor_core__WEBPACK_IMPORTED_MODULE_14__["Capacitor"].convertFileSrc(savedFile.uri);
                                  _context6.next = 15;
                                  return this._commonService.hideLoader();

                                case 15:
                                  this.openFile(savedFile.uri); //this._walletService.shareFILE(filePath);

                                case 16:
                                case "end":
                                  return _context6.stop();
                              }
                            }
                          }, _callee6, this);
                        }));
                      });

                      _context7.next = 12;
                      break;

                    case 8:
                      _context7.prev = 8;
                      _context7.t0 = _context7["catch"](0);
                      _obj3 = {
                        fileName: this.fileName,
                        functionName: 'shareCSV()',
                        error: _context7.t0
                      };

                      this._commonService.systemException(_obj3);

                    case 12:
                    case "end":
                      return _context7.stop();
                  }
                }
              }, _callee7, this, [[0, 8]]);
            }));
          }
        }, {
          key: "openFile",
          value: function openFile(filePath) {
            var _this9 = this;

            try {
              this._fileOpener.open(filePath, 'text/csv').then(function () {
                _this9._commonService.simpleToast('File downloaded');
              })["catch"](function (err) {
                _this9._commonService.simpleToast('Error in opening the file / not supported in browser');

                _this9._commonService.log(err);
              });
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'openFile(filePath)',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }]);

        return WalletPage;
      }();

      WalletPage.ctorParameters = function () {
        return [{
          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 a3nW(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-es5.js.map