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

/***/ "4miK":
/*!*************************************************************************!*\
  !*** ./src/app/service-wallet-recharge/service-wallet-recharge.page.ts ***!
  \*************************************************************************/
/*! exports provided: ServiceWalletRechargePage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServiceWalletRechargePage", function() { return ServiceWalletRechargePage; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
/* harmony import */ var _raw_loader_service_wallet_recharge_page_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./service-wallet-recharge.page.html */ "Mlcn");
/* harmony import */ var _service_wallet_recharge_page_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./service-wallet-recharge.page.scss */ "dc6e");
/* 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 src_services_wallet_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/services/wallet.service */ "vjAt");







let ServiceWalletRechargePage = class ServiceWalletRechargePage {
    constructor(navCtrl, _commonService, _walletService) {
        this.navCtrl = navCtrl;
        this._commonService = _commonService;
        this._walletService = _walletService;
        this.tagId = '';
        this.fileName = 'service-wallet-recharge.page.ts';
        this.otherSelect = false;
        this.accounts = [{
                name: "Account1",
                tagId: "TAG001"
            }, {
                name: "Account2",
                tagId: "TAG002"
            }, {
                name: "Account3",
                tagId: "TAG003"
            }, {
                name: "Account4",
                tagId: "TAG004"
            }];
        this.queries = [
            {
                question: "Not able to add funds."
            }, {
                question: "Recharged amount not reflected in the balance."
            }, {
                question: "The previous recharge amount is missing from the previous list."
            }
        ];
    }
    ngOnInit() {
        try {
            this._walletService.checkBalance({ mode: 'BAL' }).subscribe(res => {
                if (res.status === true) {
                    this._commonService.log({ response: res });
                    this.walletData = res.data;
                }
            });
            this.lists = [{
                    title: "Add Money to Wallet",
                    icon: "zmdi-balance-wallet",
                    routeTo: "tab/add-money",
                    option: null,
                    status: 'active'
                }, {
                    title: "Statement",
                    icon: "zmdi-assignment-check",
                    routeTo: "tab/wallet-statement",
                    option: null,
                    status: 'active'
                }, {
                    title: "View Spend Analytics",
                    icon: "zmdi-exposure",
                    routeTo: "null",
                    option: null,
                    status: 'inactive'
                }];
        }
        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);
        }
    }
    openModule(list) {
        try {
            //console.log(list);
            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);
        }
    }
    catChange(value) {
        try {
            this.otherSelect = value;
        }
        catch (error) {
            let obj = {
                fileName: this.fileName,
                functionName: 'catChange(value)',
                error: error
            };
            this._commonService.systemException(obj);
        }
    }
};
ServiceWalletRechargePage.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_6__["WalletService"] }
];
ServiceWalletRechargePage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({
        selector: 'app-service-wallet-recharge',
        template: _raw_loader_service_wallet_recharge_page_html__WEBPACK_IMPORTED_MODULE_1__["default"],
        styles: [_service_wallet_recharge_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_6__["WalletService"]])
], ServiceWalletRechargePage);



/***/ }),

/***/ "Mlcn":
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/service-wallet-recharge/service-wallet-recharge.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-header class=\"\">\r\n\t<ion-toolbar>\r\n\t\t<ion-buttons slot=\"start\" class=\"on-search-hide\">\r\n\t\t\t<ion-menu-button></ion-menu-button>\r\n\t\t</ion-buttons>\r\n\t\t<ion-title>\r\n\t\t\t{{'Wallet' | translate}}\r\n\t\t</ion-title>\r\n\t</ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content fullscreen class=\"bg_color1\">\r\n\t<ion-list-header>\r\n\t\t<div class=\"form\">\r\n\t\t\t<ion-row>\r\n\t\t\t\t<ion-col>\r\n\t\t\t\t\t<ion-text color=\"danger\">\r\n\t\t\t\t\t\t<ion-icon name=\"wallet\"></ion-icon>\r\n\t\t\t\t\t</ion-text>\r\n\t\t\t\t\t<ion-text color=\"primary\">\r\n\t\t\t\t\t\t<p>Wallet Balance</p>\r\n\t\t\t\t\t\t<h1> {{walletData?.balance | currency:'INR':'symbol':'0.0'}}</h1>\r\n\t\t\t\t\t</ion-text>\r\n\t\t\t\t</ion-col>\r\n\t\t\t\t<ion-col>\r\n\t\t\t\t\t<ion-text color=\"danger\">\r\n\t\t\t\t\t\t<ion-icon name=\"shield-half\"></ion-icon>\r\n\t\t\t\t\t</ion-text>\r\n\t\t\t\t\t<ion-text color=\"primary\">\r\n\t\t\t\t\t\t<p>Security Deposit</p>\r\n\t\t\t\t\t\t<h1> {{walletData?.sec_deposit | currency:'INR':'symbol':'0.0'}}</h1>\r\n\t\t\t\t\t</ion-text>\r\n\t\t\t\t</ion-col>\r\n\t\t\t</ion-row>\r\n\r\n\t\t</div>\r\n\t</ion-list-header>\r\n\t<!-- <h1 class=\"ion-text-center\" color=\"secondary\">Wallet Balance and Recharge</h1>\r\n\t<div class=\"form\">\r\n\t\t<ion-list lines=\"none\">\r\n\t\t\t<ion-card>\r\n\t\t\t\t<h4 class=\"ion-text-left\">Available Balance </h4>\r\n\t\t\t\t<ion-item>\r\n\t\t\t\t\t<h1>&#x20B9; 25,350</h1>\r\n\t\t\t\t</ion-item>\r\n\t\t\t</ion-card>\r\n\t\t</ion-list>\r\n\t</div> -->\r\n\t<ion-list>\r\n\t\t<ion-item lines=\"full\" *ngFor=\"let list of lists\" (click)=\"openModule(list)\" class=\"{{list.status}}\">\r\n\t\t\t<div class=\"item_inner d-flex\">\r\n\t\t\t\t<ion-icon class=\"zmdi {{list.icon}}\"></ion-icon>\r\n\t\t\t\t<h4 class=\"ion-text-right\">{{ list.title }}</h4>\r\n\t\t\t</div>\r\n\t\t</ion-item>\r\n\t</ion-list>\r\n</ion-content>");

/***/ }),

/***/ "VzjR":
/*!***********************************************************************************!*\
  !*** ./src/app/service-wallet-recharge/service-wallet-recharge-routing.module.ts ***!
  \***********************************************************************************/
/*! exports provided: ServiceWalletRechargePageRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServiceWalletRechargePageRoutingModule", function() { return ServiceWalletRechargePageRoutingModule; });
/* 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 _service_wallet_recharge_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./service-wallet-recharge.page */ "4miK");




const routes = [
    {
        path: '',
        component: _service_wallet_recharge_page__WEBPACK_IMPORTED_MODULE_3__["ServiceWalletRechargePage"]
    }
];
let ServiceWalletRechargePageRoutingModule = class ServiceWalletRechargePageRoutingModule {
};
ServiceWalletRechargePageRoutingModule = 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"]],
    })
], ServiceWalletRechargePageRoutingModule);



/***/ }),

/***/ "d98o":
/*!***************************************************************************!*\
  !*** ./src/app/service-wallet-recharge/service-wallet-recharge.module.ts ***!
  \***************************************************************************/
/*! exports provided: ServiceWalletRechargePageModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServiceWalletRechargePageModule", function() { return ServiceWalletRechargePageModule; });
/* 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 _service_wallet_recharge_routing_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./service-wallet-recharge-routing.module */ "VzjR");
/* harmony import */ var _service_wallet_recharge_page__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./service-wallet-recharge.page */ "4miK");










let ServiceWalletRechargePageModule = class ServiceWalletRechargePageModule {
};
ServiceWalletRechargePageModule = 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 } }),
            _service_wallet_recharge_routing_module__WEBPACK_IMPORTED_MODULE_8__["ServiceWalletRechargePageRoutingModule"]
        ],
        declarations: [_service_wallet_recharge_page__WEBPACK_IMPORTED_MODULE_9__["ServiceWalletRechargePage"]]
    })
], ServiceWalletRechargePageModule);



/***/ }),

/***/ "dc6e":
/*!***************************************************************************!*\
  !*** ./src/app/service-wallet-recharge/service-wallet-recharge.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-list-header {\n  padding: 25px;\n  background-image: url('wallet_bg4.png');\n  text-align: center;\n}\nion-list-header h1 {\n  color: var(--white) !important;\n  margin-bottom: 25px;\n}\nion-list-header ion-icon {\n  color: var(--white) !important;\n  border: 2px solid var(--white) !important;\n}\nion-list-header p {\n  color: var(--white) !important;\n  margin: 0px;\n}\nion-content ion-list {\n  border-radius: 25px;\n  position: relative;\n  top: -25px;\n}\nion-content ion-list ion-card h4 {\n  color: var(--bg-color);\n  margin-left: 5%;\n}\nion-content ion-list h1 {\n  color: var(--secondary);\n  font-weight: bolder;\n}\nion-content h1 {\n  color: var(--primary);\n}\nion-content ion-icon {\n  font-size: 40px;\n  color: var(--primary);\n  border-radius: 50%;\n  padding: 5px;\n  text-align: center;\n  margin: 10px;\n  border: 2px solid var(--primary);\n}\nion-content ion-item {\n  border: 1px solid var(--primary);\n  border-radius: 100px;\n  margin: 7px 7px;\n}\nion-content ion-item h4 {\n  color: var(--secondary);\n}\nion-content ion-list .inactive {\n  opacity: 0.5;\n}\nion-content .form ion-item {\n  padding: 0 18px 0 18px;\n  margin-bottom: 10px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NlcnZpY2Utd2FsbGV0LXJlY2hhcmdlLnBhZ2Uuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7RUFFQSx1Q0FBQTtFQUNBLGtCQUFBO0FBQUo7QUFDSztFQUNILDhCQUFBO0VBQ00sbUJBQU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ogMjVweDtcclxuXHR9XHJcbiAgICBpb24taWNvbntcclxuICAgICAgICBjb2xvcjp2YXIoLS13aGl0ZSkgIWltcG9ydGFudDtcclxuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCB2YXIoLS13aGl0ZSkgIWltcG9ydGFudDtcclxuICAgIH1cclxuICAgIHB7XHJcbiAgICAgICAgY29sb3I6IHZhcigtLXdoaXRlKSAhaW1wb3J0YW50O1xyXG4gICAgICAgIG1hcmdpbjogMHB4O1xyXG4gICAgfVxyXG59XHJcbiBpb24tY29udGVudHtcclxuXHRpb24tbGlzdCB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMjVweDtcclxuICAgICAgICBwb3NpdGlvbjpyZWxhdGl2ZTtcclxuICAgICAgICB0b3A6LTI1cHg7XHJcbiAgICAgICAgaW9uLWNhcmR7XHJcbiAgICAgICAgICAgIGg0IHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOnZhcigtLWJnLWNvbG9yKTtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA1JTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcblx0XHRoMXtcclxuXHRcdFx0Y29sb3I6dmFyKC0tc2Vjb25kYXJ5KTtcclxuXHRcdFx0Zm9udC13ZWlnaHQ6IGJvbGRlcjtcclxuXHRcdH1cclxuXHR9XHJcblx0aDF7XHJcblx0XHRjb2xvcjogdmFyKC0tcHJpbWFyeSk7XHJcblx0fVxyXG4gICAgaW9uLWljb257XHJcbiAgICAgICAgZm9udC1zaXplOiA0MHB4O1xyXG4gICAgICAgIGNvbG9yOnZhcigtLXByaW1hcnkpO1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICAgICAgICBwYWRkaW5nOiA1cHg7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIG1hcmdpbjogMTBweDtcclxuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCB2YXIoLS1wcmltYXJ5KTtcclxuICAgIH1cclxuICAgIGlvbi1pdGVte1xyXG4gICAgICAgIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXByaW1hcnkpO1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDEwMHB4O1xyXG4gICAgICAgIG1hcmdpbjogN3B4IDdweDtcclxuICAgICAgICBoNHtcclxuICAgICAgICAgICAgY29sb3I6IHZhcigtLXNlY29uZGFyeSk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgaW9uLWxpc3R7XHJcbiAgICAgICAgLmluYWN0aXZle1xyXG4gICAgICAgICAgICBvcGFjaXR5OiAwLjU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgLmZvcm17XHJcbiAgICAgICAgaW9uLWl0ZW17XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDAgMThweCAwIDE4cHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxufSJdfQ== */");

/***/ })

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