(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ /***/ 0: /*!***************************!*\ !*** multi ./src/main.ts ***! \***************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! H:\1Pay1Move\1Pay1Move\src\main.ts */"zUnb"); /***/ }), /***/ "0InE": /*!*****************************************!*\ !*** ./src/services/mlogger.service.ts ***! \*****************************************/ /*! exports provided: Mlogger, MloggerProvider */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mlogger", function() { return Mlogger; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MloggerProvider", function() { return MloggerProvider; }); /* 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 rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../environments/environment */ "AytR"); /* harmony import */ var _sentry_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @sentry/angular */ "UH2p"); /* Generated class for the MloggerProvider provider. See https://angular.io/docs/ts/latest/guide/dependency-injection.html for more info on providers and Angular 2 DI. */ const Mlogger = { service: "sentry", severity: { debug2: -1, debug: 0, info: 1, warn: 2, error: 3, none: 4, }, step: { start: 0, end: 99, log: 98 }, sampling: 1.0, }; let MloggerProvider = class MloggerProvider { constructor() { let startedAt = Date.now(); this.severity = typeof _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mloggerSeverity ? _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mloggerSeverity : Mlogger.severity.info; this.tz = '+00:00'; this.sampling = Mlogger.sampling; let endedAt = Date.now(); let duration = endedAt - startedAt; } log_init(service, apptag = 'mlogger', session, severity, sampling, flushinterval = 0, tz = '+00:00', params = {}) { if (service) this.service = service; if (apptag) this.apptag = apptag; if (session) this.session = session; if (typeof severity) this.severity = severity; if (tz) this.tz = tz; if (sampling) this.sampling = sampling; if (flushinterval) this.flushinterval = flushinterval; switch (service) { case 'sentry': // Sentry.init(params); // this is implemented in main.ts break; default: return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["throwError"])(service + ' service is not supported in mlogger provider.'); } return true; } log(severity, step, ts, user, module, ip, msg, msgdetails, params) { // TODO Perform parameter validation if (severity >= this.severity) { switch (this.service) { case 'sentry': /**Sentry start */ this.log_flush(); _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["configureScope"](function (scope) { scope.setUser({ 'username': user }); switch (severity) { case Mlogger.severity.debug2: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Debug); break; case Mlogger.severity.debug: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Debug); break; case Mlogger.severity.info: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Info); break; case Mlogger.severity.warn: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Warning); break; case Mlogger.severity.error: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Error); break; case Mlogger.severity.none: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Log); break; default: scope.setLevel(_sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Log); } }); switch (step) { case Mlogger.step.start: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["addBreadcrumb"]({ type: this.apptag, level: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Info, event_id: '', category: this.apptag, message: typeof params && typeof params[0] && typeof params[0].message ? params[0].message : 'undefined', data: typeof params && typeof params[0] && typeof params[0].data ? params[0].data : {}, timestamp: typeof params && typeof params[0] && typeof params[0].timestamp ? params[0].timestamp : 0, }); _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["captureMessage"](msg); break; case Mlogger.step.log: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["addBreadcrumb"]({ type: this.apptag, level: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Info, event_id: '', category: this.apptag, message: typeof params && typeof params.message ? params.message : 'undefined', data: typeof params && typeof params.data ? params.data : {}, timestamp: typeof params && typeof params.timestamp ? params.timestamp : 0, }); _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["captureMessage"](msg); break; case Mlogger.step.end: let start = typeof params && typeof params[0] && typeof params[0].data ? params[0].data : {}; _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["addBreadcrumb"]({ type: this.apptag, level: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Info, event_id: '', category: this.apptag, message: typeof params && typeof params[0] && typeof params[0].message ? params[0].message : 'undefined', data: start, timestamp: typeof params && typeof params[0] && typeof params[0].timestamp ? params[0].timestamp : 0, }); let end = typeof params && typeof params[1] && typeof params[1].data ? params[1].data : {}; end.fn_start_time = start.fn_start_time; end.fn_exe_time = (((end.fn_end_time - end.fn_start_time) / 1000).toFixed(2)) + 's'; _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["addBreadcrumb"]({ type: this.apptag, level: _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["Severity"].Info, event_id: '', category: this.apptag, message: typeof params && typeof params[1] && typeof params[1].message ? params[1].message : 'undefined', data: end, timestamp: typeof params && typeof params[1] && typeof params[1].timestamp ? params[1].timestamp : 0, }); _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["captureMessage"](msg + ' ' + end.fn_exe_time); break; } /**Sentry end */ break; default: return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["throwError"])(this.service + ' service is not supported in mlogger provider.'); } } return true; } // forced flush of logs, empty for sentry.io log_flush() { switch (this.service) { case 'sentry': _sentry_angular__WEBPACK_IMPORTED_MODULE_4__["configureScope"](function (scope) { scope.clearBreadcrumbs(); }); break; } } }; MloggerProvider.ctorParameters = () => []; MloggerProvider = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }) ], MloggerProvider); /***/ }), /***/ "0lNN": /*!*************************************************************************!*\ !*** ./src/models/helpdesk-attachment/helpdesk-attachment.component.ts ***! \*************************************************************************/ /*! exports provided: HelpdeskAttachmentComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HelpdeskAttachmentComponent", function() { return HelpdeskAttachmentComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _raw_loader_helpdesk_attachment_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./helpdesk-attachment.component.html */ "nBoA"); /* harmony import */ var _helpdesk_attachment_component_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpdesk-attachment.component.scss */ "4Js/"); /* harmony import */ var src_services_common_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/services/common.service */ "FBGF"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ "fXoL"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ "TEn/"); /* harmony import */ var _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @capacitor/camera */ "/s3u"); /* harmony import */ var _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @capacitor/filesystem */ "F7bV"); let HelpdeskAttachmentComponent = class HelpdeskAttachmentComponent { constructor(modelController, alert, commonService) { this.modelController = modelController; this.alert = alert; this.commonService = commonService; this.data = { userOption: '', file: '', docKey: '' }; this.filename = ''; this.isValidFileSize = false; } ngOnInit() { this.platform = this.commonService.getLocalPlatformDetail(); if (this._isDisputeForm) { this.disputeDocTypeList = JSON.parse(localStorage.getItem("disputeDocTypeList")); this.optionField = Object.values(this.disputeDocTypeList); } else { this.ticketDocTypeList = JSON.parse(localStorage.getItem("ticketDocTypeList")); this.optionField = Object.values(this.ticketDocTypeList); } } onFileSelected(event) { this.fileData = event.target.files[0]; this.filename = this.fileData.name; this.isValidFileSize = this.commonService.fileValidation(this.fileData.size); } cancel() { this.data.userOption = 'cancel'; this.modelController.dismiss(this.data); } //-------------------------------For upload captured image---------------------------------------------------- chooseFile() { this.simpleConfirm1('Please select option to upload!', 'You can use Camera or Gallery to upload photo'); } simpleConfirm1(headerVal, messageVal) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const alert = yield this.alert.create({ cssClass: 'my-custom-class', mode: 'ios', header: headerVal, message: messageVal, buttons: [ { text: 'Camera', handler: () => { this.selectImage(); } }, { text: 'Gallery', handler: () => { this.pickImageFromGallery(); } }, { text: 'Cancel', handler: () => { } } ] }); yield alert.present(); }); } pickImageFromGallery() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const image = yield _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["Camera"].getPhoto({ quality: 70, allowEditing: false, resultType: _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["CameraResultType"].DataUrl, source: _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["CameraSource"].Photos // Camera, Photos or Prompt! }); if (image) { this.saveImage(image.dataUrl); } }); } selectImage() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const image = yield _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["Camera"].getPhoto({ quality: 70, allowEditing: false, resultType: _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["CameraResultType"].DataUrl, source: _capacitor_camera__WEBPACK_IMPORTED_MODULE_6__["CameraSource"].Camera // Camera, Photos or Prompt! }); if (image) { this.saveImage(image.dataUrl); } }); } saveImage(image) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const fileName = new Date().getTime() + '.jpeg'; const savedFile = yield _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_7__["Filesystem"].writeFile({ path: fileName, data: image, directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_7__["Directory"].Documents }); this.fileData = yield this.dataURLtoFile(image, fileName); this.filename = fileName; this.isValidFileSize = this.commonService.fileValidation(this.fileData.size); }); } dataURLtoFile(dataurl, filename) { var arr = dataurl.split(','), mime = dataurl.split(';')[0].split(':')[1], bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n); while (n--) { u8arr[n] = bstr.charCodeAt(n); } return new File([u8arr], filename, { type: mime }); } //----------------------------------------------------------------------------------- confirm() { if (this._isDisputeForm) { const key = Object.keys(this.disputeDocTypeList).find(key => this.disputeDocTypeList[key] === this.selectedDocType); this.data.docKey = key; } else { const key = Object.keys(this.ticketDocTypeList).find(key => this.ticketDocTypeList[key] === this.selectedDocType); this.data.docKey = key; } this.data.file = this.fileData; this.data.userOption = 'confirm'; this.modelController.dismiss(this.data); } }; HelpdeskAttachmentComponent.ctorParameters = () => [ { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["ModalController"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["AlertController"] }, { type: src_services_common_service__WEBPACK_IMPORTED_MODULE_3__["CommonService"] } ]; HelpdeskAttachmentComponent.propDecorators = { _isDisputeForm: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["Input"] }] }; HelpdeskAttachmentComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_4__["Component"])({ selector: 'app-helpdesk-attachment', template: _raw_loader_helpdesk_attachment_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], styles: [_helpdesk_attachment_component_scss__WEBPACK_IMPORTED_MODULE_2__["default"]] }) ], HelpdeskAttachmentComponent); /***/ }), /***/ "2l2O": /*!*****************************************!*\ !*** ./src/services/profile.service.ts ***! \*****************************************/ /*! exports provided: ProfileService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfileService", function() { return ProfileService; }); /* 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 _base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./base-service */ "4YT6"); /* harmony import */ var _common_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./common.service */ "FBGF"); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ "k8oS"); let ProfileService = class ProfileService extends _base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"] { constructor(_commonService) { super(); this._commonService = _commonService; this.fileName = 'profile.service.ts'; this.userProfile = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); } getProfile() { try { let dataObj = { offset: 0, method: 'get', api_url: this.getLocalapiBaseURL() + _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].PROFILE_API, local_json_file: 'local-profile', param_data: {}, mapcol: false }; let resp = this._commonService.fetchData(dataObj); // resp.subscribe((data) => { // if (data.status) // this.userProfile.emit({ data: data.data }); // }); return resp; } catch (error) { let obj = { fileName: this.fileName, functionName: 'getProfile()', error: error }; this._commonService.systemException(obj); } } }; ProfileService.ctorParameters = () => [ { type: _common_service__WEBPACK_IMPORTED_MODULE_3__["CommonService"] } ]; ProfileService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }) ], ProfileService); /***/ }), /***/ "3rhY": /*!***************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/models/vehicle-attachment/vehicle-attachment.component.html ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n \r\n \r\n \r\n \r\n Back\r\n \r\n \r\n \r\n
\r\n

Vehicle Attachment

\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n \r\n\r\n \r\n \r\n Attachment\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Selected File\r\n

No file selected

\r\n

Selected File: {{ filename }}

\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n Choose File\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Please ensure file size is not more than 5MB.\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n Selected File\r\n

No file selected

\r\n

Selected File: {{ filename }}

\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n Choose File\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n Camera\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n Please ensure file size is not more than 5MB.\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n Submit\r\n \r\n \r\n \r\n \r\n"); /***/ }), /***/ "4Js/": /*!***************************************************************************!*\ !*** ./src/models/helpdesk-attachment/helpdesk-attachment.component.scss ***! \***************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJoZWxwZGVzay1hdHRhY2htZW50LmNvbXBvbmVudC5zY3NzIn0= */"); /***/ }), /***/ "4YT6": /*!**************************************!*\ !*** ./src/services/base-service.ts ***! \**************************************/ /*! exports provided: BaseService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseService", function() { return BaseService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../environments/environment */ "AytR"); /* harmony import */ var _capacitor_network__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @capacitor/network */ "yOzG"); /* harmony import */ var _capacitor_device__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @capacitor/device */ "rvvs"); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ "k8oS"); // import { Plugins } from '@capacitor/core'; // const { Device } = Plugins; // Don't annotate it with @Injectable() ! It's a simple class. // This class will create function which are not dependent on any of the services or modules // This class is purely design foe some custom/helpers functions without dependency class BaseService { constructor() { this._month = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec", ]; this.prioritySort = (field, order) => { if (order === "asc") { return (x, y) => { return x[field] - y[field]; }; } else if (order === "desc") { return (x, y) => { return y[field] - x[field]; }; } }; this.stringSort = (field, order) => { if (order === "asc") { return (x, y) => { return x[field].toLowerCase() > y[field].toLowerCase() ? 1 : -1; }; } else if (order === "desc") { return (x, y) => { return y[field].toLowerCase() > x[field].toLowerCase() ? 1 : -1; }; } }; this.getDeviceInfo(); } log(value, type) { // type [info,error,log,warn,debug] if (!_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) { if (type === "error") console.error(value); else if (type === "warn") console.warn(value); else console.log(value); } } getTicketTags(object) { let formEle = { wallettxnid: { id: "wallettxnid", key: "wallettxnid", type: "input", label: "Wallet Txn ID", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Wallet Txn ID", options: null, maxLength: 50, hideExpression: null, group: "1", }, paymode: { id: "paymode", key: "paymode", type: "input", label: "Payment Mode", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Payment Mode", options: null, maxLength: 50, hideExpression: null, group: "1", }, payac: { id: "payac", key: "payac", type: "input", label: "Payment Account", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Payment Account", options: null, maxLength: 50, hideExpression: null, group: "1", }, paytxnid: { id: "paytxnid", key: "paytxnid", type: "input", label: "Payment Txn ID", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Payment Txn ID", options: null, maxLength: 50, hideExpression: null, group: "1", }, paybank: { id: "paybank", key: "paybank", type: "input", label: "Payee Bank", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Payee Bank", options: null, maxLength: 50, hideExpression: null, group: "1", }, payts: { id: "payts", key: "payts", type: "date", label: "Payment Date", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Payment Date", options: null, hideExpression: null, group: "1", }, vrn: { id: "vrn", key: "vrn", type: "select", label: "VRN", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "VRN", maxLength: 50, options: object.vrn, hideExpression: null, group: "2", }, addr: { id: "addr", key: "addr", type: "input", label: "Address", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Address", options: null, maxLength: 50, hideExpression: null, group: "1", }, email: { id: "email", key: "email", type: "email", label: "Email", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Email", options: null, maxLength: 50, hideExpression: null, group: "1", }, phone: { id: "phone", key: "phone", type: "number", label: "Phone", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT_PHONE, description: "Phone", options: null, maxLength: 10, hideExpression: null, group: "1", }, name: { id: "name", key: "name", type: "input", label: "Name", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Name", options: null, maxLength: 50, hideExpression: null, group: "1", }, tolltxnid: { id: "tolltxnid", key: "tolltxnid", type: "input", label: "Toll Txn ID", placeholder: _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].FORMLY_PLACEHOLDER_TEXT, description: "Toll Txn ID", options: null, maxLength: 50, hideExpression: null, group: "1", }, remarks: { id: "remarks", key: "remarks", type: "textarea", label: "Remarks", placeholder: "You comments", description: "Remarks", options: null, maxLength: 199, hideExpression: null, group: "2", }, reasonCode: { id: "reasonCode", key: "reasonCode", type: "select", label: "Reason Code", placeholder: "Reason Code", description: "Reason Code", options: null, maxLength: 50, hideExpression: null, group: "2", defaultval: "", }, acqTxnId: { id: "acqTxnId", key: "acqTxnId", type: "input", label: "Txn ID", placeholder: "Txn ID", description: "Txn ID", options: null, maxLength: 50, hideExpression: null, group: "1", defaultval: "", }, fullPartialIndicator: { id: "fullPartialIndicator", key: "fullPartialIndicator", type: "radio", label: "Refund Type", placeholder: "Refund Type", description: "Refund Type", options: [ { val: "F", label: "Full", }, { val: "P", label: "Partial", }, ], maxLength: 1, hideExpression: null, group: "2", defaultval: "F", }, txnAmount: { id: "txnAmount", key: "txnAmount", type: "number", label: "Txn Amount", placeholder: "Txn Amount", description: "Txn Amount", options: null, maxLength: 10, hideExpression: null, group: "1", defaultval: "0", }, remark: { id: "remark", key: "remark", type: "textarea", label: "Remarks", placeholder: "You comments", description: "Remarks", options: null, maxLength: 199, hideExpression: null, group: "2", defaultval: "", }, }; return formEle; } getDisputeDefaultForm_DELETE(obj) { let commonFileds = [ { className: "templet", fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex-2", template: '
' + "Txn Id " + '' + "*" + "
", }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex", key: "acqTxnId", type: "input", templateOptions: { label: "", placeholder: "Txn Id", description: "Txn Id", required: true, hideRequiredMarker: true, }, }, ], }, { className: "templet", fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex-2", template: '
' + "Txn Amount " + '' + "*" + "
", }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex", key: "txnAmount", type: "input", //defaultValue: obj?.txn_amount, templateOptions: { label: "", type: "number", min: 1, placeholder: "Txt amount", description: "txt amount", required: true, hideRequiredMarker: true, }, }, ], }, { className: "templet", fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex-2", template: '
' + "Refund Type" + '' + "*" + "
", }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex", key: "fullPartialIndicator", type: "radio", defaultValue: "F", templateOptions: { label: "Select refund type", placeholder: "Placeholder", description: "Description", required: true, options: [ { value: "F", label: "Full Refund" }, { value: "P", label: "Partial Refund" }, ], }, }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [], }, { className: "templet", fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex-2", template: '
' + "Remark" + '' + "*" + "
", }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex", key: "remarks", type: "textarea", templateOptions: { class: "textarea-formly", label: null, placeholder: "", description: "Remark", maxLength: 199, required: true, hideRequiredMarker: true, }, }, ], }, ]; return commonFileds; } getDefaultForm() { let commonFileds = [ { fieldGroupClassName: "display-flex", fieldGroup: [], }, { className: "templet", fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex-2", template: '
' + "Remark" + '' + "*" + "
", }, ], }, { fieldGroupClassName: "display-flex", fieldGroup: [ { className: "flex", key: "remarks", type: "textarea", templateOptions: { class: "textarea-formly", label: null, placeholder: "", description: "Remark", maxLength: 199, required: true, hideRequiredMarker: true, }, }, ], }, ]; return commonFileds; } getDeviceInfo() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const info = yield _capacitor_device__WEBPACK_IMPORTED_MODULE_3__["Device"].getInfo(); localStorage.setItem("platformDetail", info.platform); return info; }); } getAppVersion() { return localStorage.getItem("appVersion") !== null ? localStorage.getItem("appVersion") : null; } setAppVersion() { if (localStorage.getItem("appVersion") === null) { const version = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].appVersion; localStorage.setItem("appVersion", version); } } getLocalPlatformDetail() { return localStorage.getItem("platformDetail") !== null ? localStorage.getItem("platformDetail") : null; } getglobalInitURL() { return localStorage.getItem("globalInitURL") !== null ? localStorage.getItem("globalInitURL") : null; } setglobalInitURL() { if (localStorage.getItem("globalInitURL") === null) { const globalInit = _constants__WEBPACK_IMPORTED_MODULE_4__["CONSTANTS"].GLOBAL_INIT_URL; localStorage.setItem("globalInitURL", globalInit); } } getpackageId() { return localStorage.getItem("packageId") !== null ? localStorage.getItem("packageId") : null; } setpackageId() { if (localStorage.getItem("packageId") === null) { const packageId = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].packageId; localStorage.setItem("packageId", packageId); } } setFCMToken(token) { localStorage.setItem("fcmToken", token); } getFCMToken() { return localStorage.getItem("fcmToken") !== null ? localStorage.getItem("fcmToken") : null; } getDisplayDtTm(dateTime) { const date = new Date(dateTime); const dd = date.getDate(); const mm = this._month[date.getMonth()]; const Y = date.getFullYear(); const timing = date.getHours() + ":" + (date.getMinutes() < 10 ? "0" : "") + date.getMinutes(); return dd + " " + mm + " " + Y + ", " + timing; } isOnLine_1() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const status = yield _capacitor_network__WEBPACK_IMPORTED_MODULE_2__["Network"].getStatus(); return status.connected; //console.log('Network status:', status); // if (status.onLine) { // return true; // } else { // return false; // } }); } isOnLine() { return navigator.onLine; } // This functions return the current date in timestamp getTimestamp() { const date = new Date(); const timeStamp = date.toISOString(); //this.log(new Date().toISOString() + '<: timeStamp :>' + timeStamp); return new Date().toISOString(); } differenceInDays(date1, date2) { const dt1 = new Date(date1); const dt2 = new Date(date2); return Math.floor((Date.UTC(dt2.getFullYear(), dt2.getMonth(), dt2.getDate()) - Date.UTC(dt1.getFullYear(), dt1.getMonth(), dt1.getDate())) / (1000 * 60 * 60 * 24)); } differenceInMinutes(date1, date2) { const dt1 = new Date(date1); const dt2 = new Date(date2); var diff = (dt2.getTime() - dt1.getTime()) / 1000; diff /= 60; return Math.abs(Math.round(diff)); } // Takes the date in new Date().toISOString(); format isBetweenDate(from, to, check) { var fDate, lDate, cDate; fDate = Date.parse(from.substring(0, 10)); lDate = Date.parse(to.substring(0, 10)); cDate = Date.parse(check.substring(0, 10)); if (cDate <= lDate && cDate >= fDate) { return true; } return false; } sortEntities(sortOn, taskList, order) { if (sortOn === "id") { taskList.sort(this.prioritySort(sortOn, order)); } else { taskList.sort(this.stringSort(sortOn, order)); } return taskList; } ifUrlPresent(stringVal) { const urlRegex = /(https?:\/\/[^\s]+)/g; let urlString = null; stringVal.replace(urlRegex, (url) => { urlString = url; }); return urlString; } mapColData(col, records) { let data = []; records.forEach((record, i) => { let recObj = {}; record.forEach((val, key) => { let k = col[key]; recObj[k] = val; }); data.push(recObj); }); return data; } getLocalUserId() { return localStorage.getItem("userId") !== null ? localStorage.getItem("userId") : null; } getLocalAuthToken() { return localStorage.getItem("authToken") !== null ? localStorage.getItem("authToken") : null; } getLocalVehicleList() { return localStorage.getItem("vehicleList") !== null ? JSON.parse(localStorage.getItem("vehicleList")) : null; } getLocalVehicleListSorted() { return localStorage.getItem("vehicleListSorted") !== null ? JSON.parse(localStorage.getItem("vehicleListSorted")) : null; } getLocalsubCat() { return localStorage.getItem("subCat") !== null ? JSON.parse(localStorage.getItem("subCat")) : null; } getAppTheme() { return localStorage.getItem("theme") !== null ? localStorage.getItem("theme") : "default"; } setAppTheme(val) { localStorage.setItem("theme", val); } getLocalProfileData() { return localStorage.getItem("profileData") !== null ? JSON.parse(localStorage.getItem("profileData")) : null; } getLocalappGlobalInit() { return localStorage.getItem("globalInit") != null ? localStorage.getItem("globalInit") : "null"; } getLocalgetDeviceInfo() { return localStorage.getItem("deviceInfo") != null ? JSON.parse(localStorage.getItem("deviceInfo")) : "null"; } getLocalresetPwdURL() { return localStorage.getItem("resetPwdURL") != null ? localStorage.getItem("resetPwdURL") : "null"; } getLocalapiBaseURL() { return localStorage.getItem("apiBaseURL") != null ? localStorage.getItem("apiBaseURL") : null; // return "https://mobapp.uat.1move.in/onemoveauth" // return "http://3.111.190.47:8888/onemoveauth"; // return "https://1moveuat.1pay.in/onemoveauth/mobile/api"; } getOneMoveapiBaseURL() { // return "https://1move.1pay.in/onemoveauth"; // return "https://mobapp.uat.1move.in/onemoveauth/mobile" return "https://1moveuat.1pay.in/onemoveauth/"; } getLocalwebPageURL() { return localStorage.getItem("webPageURL") != null ? localStorage.getItem("webPageURL") : "null"; } getLocalloginURL() { return localStorage.getItem("loginURL") != null ? localStorage.getItem("loginURL") : "null"; } getLocalfbKeyFile() { return localStorage.getItem("fbKeyFile") != null ? localStorage.getItem("fbKeyFile") : "null"; } getLocalgetAppVersion() { return localStorage.getItem("appVersion") !== null ? localStorage.getItem("appVersion") : null; } getLocalvehicleUpdateTime() { return localStorage.getItem("vehicleUpdateTime") !== null ? new Date(localStorage.getItem("vehicleUpdateTime")) : null; } getLocalDashboardUpdatedTime() { return localStorage.getItem("dashboardUpdatedTime") !== null ? new Date(localStorage.getItem("dashboardUpdatedTime")) : null; } getLocalglobalInitURL() { return localStorage.getItem("globalInitURL") !== null ? localStorage.getItem("globalInitURL") : null; } getLocalpackageId() { return localStorage.getItem("packageId") !== null ? localStorage.getItem("packageId") : null; } getLocalVehicleClass() { return localStorage.getItem("vehicleClass") !== null ? JSON.parse(localStorage.getItem("vehicleClass")) : null; } getLocaltotalVehicles() { return localStorage.getItem("totalVehicles") !== null ? JSON.parse(localStorage.getItem("totalVehicles")) : null; } setTempTransactionID(txn_id) { localStorage.setItem("pg_txn_id", txn_id); } getTempTransactionID() { return localStorage.getItem("pg_txn_id") !== null ? localStorage.getItem("pg_txn_id") : null; } // getOtpId() { // return (localStorage.getItem("otpid") !== null) ? localStorage.getItem("otpid") : null; // } getLastThreeMonthDate(subDays) { const today = new Date(); const dd = today.getDate(); const mm = today.getMonth() + 1; const Y = today.getFullYear(); //const subDays = Enums.CONSTANTS.SUBTRACT_DAYS; today.setDate(today.getDate() - subDays); const M = today.getMonth() + 1; return today.toISOString().substr(0, 10); } findOcc(obj, key) { let arr = []; if (typeof obj === "object") { for (const property in obj) { arr.push(obj[property]); } } else { arr = obj; } let arr2 = []; arr.forEach((x, index) => { // Checking if there is any object in arr2 // which contains the key value if (arr2.some((val) => { return val[key] == x[key]; })) { // If yes! then increase the occurrence by 1 arr2.forEach((k) => { if (k[key] === x[key]) { k["occurrence"]++; } }); } else { // If not! Then create a new object initialize // it with the present iteration key's value and // set the occurrence to 1 let a = {}; a[key] = x[key]; a["occurrence"] = 1; arr2.push(a); } }); return arr2; } currencyFormatter(amount, format) { if (format == "INR") { return "₹ " + parseInt(amount); } // removed below regex as IOS is givig error //return "₹" +parseInt(txn_amount).toFixed(2).replace(/\B(? [ { type: _common_service__WEBPACK_IMPORTED_MODULE_3__["CommonService"] } ]; InterceptorProvider = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])() ], InterceptorProvider); /***/ }), /***/ "AoF4": /*!*************************************************************!*\ !*** ./src/models/wallet-filter/wallet-filter.component.ts ***! \*************************************************************/ /*! exports provided: WalletFilterComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletFilterComponent", function() { return WalletFilterComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _raw_loader_wallet_filter_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./wallet-filter.component.html */ "qtrZ"); /* harmony import */ var _wallet_filter_component_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./wallet-filter.component.scss */ "qyVj"); /* 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 _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW"); /* harmony import */ var src_services_common_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/services/common.service */ "FBGF"); let WalletFilterComponent = class WalletFilterComponent { constructor(_modelController, _commonService) { this._modelController = _modelController; this._commonService = _commonService; this.refundSel = false; this.dateSel = false; this.tollSel = false; this.vehicleSel = false; this.validateDate = []; this.transactionType = ['Debit', 'Credit']; this.data = { startDate: '', endDate: '', userOption: '', selectedVehicle: '', selectedTransactionType: '', isCommercial: '', }; } ngOnInit() { this.vehicleLists = JSON.parse(localStorage.getItem("activeVehicle")); var vehicleNumberList; if (this.vehicleLists !== null) { vehicleNumberList = Object.keys(this.vehicleLists); var temp = []; for (let sep of vehicleNumberList) { temp.push({ value: sep, label: sep }); } this.optionField = temp; this.selectedVehicle = this._searchTerm; } var today = new Date(Date.now() + (3600 * 1000 * 24)); // added a day (24 hours) to current datetime var monthStart = this._commonService.getLastThreeMonthDate(365); var monthEnd = today.toISOString().substr(0, 16); this.setStartDate = monthStart.concat('T00:00'); this.setEndDate = monthEnd; this.startDate = this._startDate; this.endDate = this._endDate; var transaction; if (this.transactionType !== null) { transaction = Object.keys(this.transactionType); var temp = []; for (let trans of transaction) { temp.push({ value: trans, label: this.transactionType[trans] }); } this.transactionOption = temp; this.selectedTransactionType = this._searchTerm; } } rechargeSelected() { this.vehicleSel = false; this.tollSel = false; this.dateSel = false; this.refundSel = false; } refundSelected() { this.vehicleSel = false; this.tollSel = false; this.dateSel = false; this.refundSel = true; } dateSelected() { this.vehicleSel = false; this.tollSel = false; this.refundSel = false; this.dateSel = true; } vahicleSelected() { this.tollSel = false; this.vehicleSel = true; this.refundSel = false; this.dateSel = false; } tollSelected() { this.vehicleSel = false; this.tollSel = true; this.refundSel = false; this.dateSel = false; } onDateChange(event) { var start_date = new Date(this.startDate); var end_date = new Date(this.endDate); if (end_date.getTime() < start_date.getTime()) { if (this.endDate) { this.endDate = this.startDate; } } this.validateDate.push(event.target.value); } resetFilters() { this.selectedVehicle = undefined; this.selectedTransactionType = undefined; this._searchTerm = undefined; this.transaction_type = undefined; this.ngSelectComponent.handleClearClick(); // this.ngOnInit(); } cancel() { this.validateDate = []; this.data.userOption = 'cancel'; this._modelController.dismiss(this.data); } confirm() { var _a; this.data.userOption = 'confirm'; this.data.startDate = this.startDate; this.data.endDate = this.endDate; this.data.selectedVehicle = this.selectedVehicle; if (this.selectedVehicle != undefined) { this.isCommercial = (_a = this.vehicleLists[this.selectedVehicle]) === null || _a === void 0 ? void 0 : _a.is_commercial; this.data.isCommercial = this.isCommercial; } this.data.selectedTransactionType = this.transaction_type; this._modelController.dismiss(this.data); } }; WalletFilterComponent.ctorParameters = () => [ { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["ModalController"] }, { type: src_services_common_service__WEBPACK_IMPORTED_MODULE_6__["CommonService"] } ]; WalletFilterComponent.propDecorators = { _startDate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Input"] }], _endDate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Input"] }], _searchTerm: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Input"] }], ngSelectComponent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: [_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__["NgSelectComponent"],] }] }; WalletFilterComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({ selector: 'app-wallet-filter', template: _raw_loader_wallet_filter_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], styles: [_wallet_filter_component_scss__WEBPACK_IMPORTED_MODULE_2__["default"]] }) ], WalletFilterComponent); /***/ }), /***/ "AytR": /*!*****************************************!*\ !*** ./src/environments/environment.ts ***! \*****************************************/ /*! exports provided: environment */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; }); const environment = { production: true, globalInitURL: 'https://1move.1pay.in/svclocator/globalinit', appVersion: 'v1.0.2', packageId: 'in.mobile1pay.fleet.uat', appBuildDate: '4 Mar 2022', appBuildCommitId: '', appDbNew: 'New app with version v1.0.2 is released on 4 Mar 2022', loggingTool: 'sentry', mloggerSeverity: 0, sentryDsn: 'https://bf6e9224ad1a4d81a9a4b93bfa1c461b@o1050731.ingest.sentry.io/6033322', sentryTracingOrigins: 'https://sentry.io/auth/login/1pay-mobileware-pvt-ltd/', sentryFeedbackUserDialog: false }; /***/ }), /***/ "C9ry": /*!*************************************************************************!*\ !*** ./src/models/vehicle-attachment/vehicle-attachment.component.scss ***! \*************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ2ZWhpY2xlLWF0dGFjaG1lbnQuY29tcG9uZW50LnNjc3MifQ== */"); /***/ }), /***/ "FBGF": /*!****************************************!*\ !*** ./src/services/common.service.ts ***! \****************************************/ /*! exports provided: CommonService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonService", function() { return CommonService; }); /* 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_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "tk/3"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic/angular */ "TEn/"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "tyNb"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./base-service */ "4YT6"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ "k8oS"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK"); /* harmony import */ var _mlogger_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./mlogger.service */ "0InE"); /* harmony import */ var _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @capacitor/clipboard */ "PJjM"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ "qCKp"); /* harmony import */ var _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ionic-native/file-opener/ngx */ "te5A"); let CommonService = class CommonService extends _base_service__WEBPACK_IMPORTED_MODULE_5__["BaseService"] { constructor(_mlogger, _loading, _httpClient, _toast, _alert, navCtrl, _fileOpener, _router, document, renderFactory) { super(); this._mlogger = _mlogger; this._loading = _loading; this._httpClient = _httpClient; this._toast = _toast; this._alert = _alert; this.navCtrl = navCtrl; this._fileOpener = _fileOpener; this._router = _router; this.document = document; this.renderFactory = renderFactory; this.fileName = 'common.service.ts'; this.convertBlobToBase64 = (blob) => new Promise((resolve, reject) => { this.log('-- convertBlobToBase64 --'); // tslint:disable-next-line:new-parens const fileReader = new FileReader(); const zoneOriginalInstance = fileReader.__zone_symbol__originalInstance; const reader = zoneOriginalInstance || fileReader; reader.onerror = () => { this.log({ failure: 'error' }); reject({ error: 'error in convertBlobToBase64' }); }; reader.onload = () => { this.log({ success: reader.result }); resolve(reader.result); }; reader.readAsDataURL(blob); }); this.renderer = this.renderFactory.createRenderer(null, null); this.changeTheme(this.getAppTheme()); } changeTheme($event) { try { var element = document.getElementsByTagName('html')[0]; this.renderer.setAttribute(element, "data-theme", this.getAppTheme()); this.setAppTheme($event); } catch (error) { let obj = { fileName: this.fileName, functionName: 'changeTheme(themeName)', error: error }; this.systemException(obj); } } changeTheme_DELETE(themeName) { this.removeTheme_DELETE(themeName); this.renderer.addClass(this.document.body, themeName); } removeTheme_DELETE(themeName) { if (localStorage.getItem("theme") === null) { localStorage.setItem("theme", themeName); } else { this.renderer.removeClass(this.document.body, localStorage.getItem("theme")); localStorage.setItem("theme", themeName); } } showLoader() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { this.loading = yield this._loading.create({ cssClass: 'my-custom-class', message: 'Loading...', backdropDismiss: true }); yield this.loading.present(); }); } hideLoader() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { yield this.loading.dismiss(); }); } loadingShow() { // this.loading = await this._loading.create({ // cssClass: 'my-custom-class', // }); // await this.loading.present(); this._loading.create({ message: 'Loading...' }).then((response) => { response.present(); }); } loadingHide() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { // await this._loading.dismiss(); const ng = this; setTimeout(() => { ng._loading.dismiss(); }, 2000); }); } loadingHide2() { this._loading.dismiss().then((response) => { }).catch((err) => { this.log('Error occured : ', err); }); } simpleToast(msg, tm = 5000) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const toast = yield this._toast.create({ message: msg, position: 'bottom', color: 'primary', translucent: false, animated: true, duration: tm }); toast.present(); }); } notificationToast(msg, tm = 5000) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const toast = yield this._toast.create({ message: msg, position: 'top', color: 'primary', translucent: false, animated: true, duration: tm }); toast.present(); }); } errorToast(msg, tm = 3000) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const toast = yield this._toast.create({ message: msg, position: 'top', color: 'danger', translucent: false, animated: true, duration: 5000 }); toast.present(); }); } simpleAlert(headerVal, messageVal) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const alert = yield this._alert.create({ cssClass: 'my-custom-class', mode: 'ios', header: headerVal, message: messageVal, buttons: ['OK'] }); yield alert.present(); }); } routeToPage(page, data) { const navigationExtras = { queryParams: { data: JSON.stringify(data) } }; this._router.navigate(['./' + page], navigationExtras); } getParamData() { const data = JSON.parse(this._router.getCurrentNavigation().extras.queryParams.data); //this.log({ paramData: data }); return typeof data !== 'undefined' ? data : null; } getLocalData(obj) { let columnArray = _constants__WEBPACK_IMPORTED_MODULE_7__["COLUMNS"]; return this._httpClient.get('./assets/data-models/' + obj.local_json_file + '.json', {}).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["map"])(resp => { if (resp.status) { if (obj.mapcol) { resp.columns.forEach((item, index) => { resp.columns[index] = columnArray[item]; }); } return resp; } })); } fetchData(dataObj) { var _a, _b; var element = document.getElementsByTagName("ion-loading")[0]; this.systemException({ fileName: 'API call ', functionName: dataObj.api_url, error: dataObj }); let columnArray = _constants__WEBPACK_IMPORTED_MODULE_7__["COLUMNS"]; if (!this.isOnLine()) { this.simpleToast(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].OFFLINE_MSG); if (element != undefined) element.style.display = 'none'; return { error: '', d_type: 'local', status: false, count: 0, data: [], message: "You are offline" }; //return this.getLocalData(dataObj); } else { let row_offset = dataObj.offset; let data = dataObj.param_data; let url = dataObj.api_url; if ((_a = dataObj === null || dataObj === void 0 ? void 0 : dataObj.param_data) === null || _a === void 0 ? void 0 : _a.file) { data = (_b = dataObj.param_data) === null || _b === void 0 ? void 0 : _b.file; } if (dataObj.method === 'post') { return this._httpClient.post(url, data).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["timeout"])(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(e => { let obj = { fileName: this.fileName, functionName: 'fetchData()', error: e }; this.systemException(obj); if (element != undefined) element.style.display = 'none'; if (e.status == '403') { this.errorToast(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].SESSION_ALERT_MSG); this.navCtrl.navigateRoot(['./']); } return Object(rxjs__WEBPACK_IMPORTED_MODULE_11__["of"])({ error: e, d_type: 'local', status: false, count: 0, data: [], message: _constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT_MSG }); })).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["map"])(resp => { if (resp === null || resp === void 0 ? void 0 : resp.status) { if (dataObj.mapcol) { resp === null || resp === void 0 ? void 0 : resp.columns.forEach((item, index) => { resp.columns[index] = columnArray[item]; }); } return resp; } else { return resp; } /* if (resp?.status && (resp?.data == null || resp?.data?.length > 0)) { if (dataObj.mapcol) { resp?.columns.forEach((item, index) => { resp.columns[index] = columnArray[item]; }); } return resp; } if ((resp?.data == null || resp.data?.length == 0) || !resp?.status) { return { d_type: 'local', message: resp.message, status: true, count: 0, data: [] }; }*/ }, (error) => { return { error: error, d_type: 'local', status: true, count: 0, data: [] }; })); } if (dataObj.method === 'get') { return this._httpClient.get(url).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["timeout"])(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(e => { let obj = { fileName: this.fileName, functionName: 'fetchData()', error: e }; this.systemException(obj); if (e.status == '403') { this.errorToast(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].SESSION_ALERT_MSG); this.navCtrl.navigateRoot(['./']); } return Object(rxjs__WEBPACK_IMPORTED_MODULE_11__["of"])({ error: e, d_type: 'local', status: false, count: 0, data: [], message: _constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT_MSG }); })).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["map"])(resp => { var _a; if (resp === null || resp === void 0 ? void 0 : resp.status) { if (!dataObj.mapcol) return resp; } else { if (((_a = resp.data) === null || _a === void 0 ? void 0 : _a.length) == 0 || !(resp === null || resp === void 0 ? void 0 : resp.status)) { return this.getLocalData(dataObj); } } })); } if (dataObj.method === 'patch') { return this._httpClient.patch(url, dataObj === null || dataObj === void 0 ? void 0 : dataObj.body).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["timeout"])(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(e => { let obj = { fileName: this.fileName, functionName: 'fetchData()', error: e }; this.systemException(obj); if (e.status == '403') { this.errorToast(_constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].SESSION_ALERT_MSG); this.navCtrl.navigateRoot(['./']); } return Object(rxjs__WEBPACK_IMPORTED_MODULE_11__["of"])({ error: e, d_type: 'local', status: false, count: 0, data: [], message: _constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].API_TIMEOUT_MSG }); })).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["map"])(resp => { var _a; if (resp === null || resp === void 0 ? void 0 : resp.status) { if (!dataObj.mapcol) return resp; } else { if (((_a = resp.data) === null || _a === void 0 ? void 0 : _a.length) == 0 || !(resp === null || resp === void 0 ? void 0 : resp.status)) { return this.getLocalData(dataObj); } } })); } } } systemException(obj) { this.logger(_mlogger_service__WEBPACK_IMPORTED_MODULE_9__["Mlogger"].severity.debug, [], _mlogger_service__WEBPACK_IMPORTED_MODULE_9__["Mlogger"].step.log, obj.fileName + ' in ' + obj.functionName, obj.error); // this.log({ // systemException: obj // }); } /**create a param object for sentry data input */ logger(severity, obj, step, fn_name, fn_param) { this.log(fn_name); if (1) { let array; let operation; let data; switch (step) { case _mlogger_service__WEBPACK_IMPORTED_MODULE_9__["Mlogger"].step.start: array = step; operation = 'Start: '; data = { fn_start_time: performance.now(), }; break; case _mlogger_service__WEBPACK_IMPORTED_MODULE_9__["Mlogger"].step.log: operation = 'Log: '; let paramObj = { data: fn_param, message: operation + fn_name, timestamp: Math.floor(Date.now() / 1000) }; this._mlogger.log(severity, step, null, this.getLocalUserId(), null, null, operation + fn_name, null, paramObj); return; case _mlogger_service__WEBPACK_IMPORTED_MODULE_9__["Mlogger"].step.end: array = 1; operation = 'End: '; data = { fn_end_time: performance.now(), }; break; } data.fn_param = fn_param; data.fn_name = fn_name; obj[array] = { data: data, message: operation + fn_name, timestamp: Math.floor(Date.now() / 1000) }; this._mlogger.log(0, step, null, this.getLocalUserId(), null, null, operation + fn_name, null, obj); } } copyText(text) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { try { yield _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_10__["Clipboard"].write({ string: text }); this.simpleToast("Copied", 500); } catch (error) { let obj = { fileName: this.fileName, functionName: 'copyText(text)', error: error }; this.systemException(obj); } }); } copyInfo(text) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { try { yield _capacitor_clipboard__WEBPACK_IMPORTED_MODULE_10__["Clipboard"].write({ string: text }); this.simpleToast("Information Copied", 500); } catch (error) { let obj = { fileName: this.fileName, functionName: 'copyInfo(text)', error: error }; this.systemException(obj); } }); } openFile(obj) { try { var mimeType = obj.base64.split(';')[0].split(':')[1]; this._fileOpener.open(obj.filePath, mimeType) .then(() => { this.simpleToast('File downloaded'); }) .catch((err) => { this.simpleToast('Error in opening the file / not supported in browser'); this.log(err); }); } catch (error) { let obj = { fileName: this.fileName, functionName: 'openFile(filePath)', error: error }; this.systemException(obj); } } fileValidation(fileSizeInBytes) { const fileSizeInMB = (fileSizeInBytes / (1024 * 1024)).toFixed(2); if (fileSizeInMB < _constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].FILESIZE_LIMIT_IN_MB) { return true; } else { this.simpleAlert("Failed", _constants__WEBPACK_IMPORTED_MODULE_7__["CONSTANTS"].INVALID_FILESIZE_ALERT_MSG); return false; } } }; CommonService.ctorParameters = () => [ { type: _mlogger_service__WEBPACK_IMPORTED_MODULE_9__["MloggerProvider"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["LoadingController"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["ToastController"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["AlertController"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["NavController"] }, { type: _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_12__["FileOpener"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"] }, { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"],] }] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["RendererFactory2"] } ]; CommonService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }) ], CommonService); /***/ }), /***/ "HEGi": /*!***************************************************************!*\ !*** ./src/models/service-filter/service-filter.component.ts ***! \***************************************************************/ /*! exports provided: ServiceFilterComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServiceFilterComponent", function() { return ServiceFilterComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _raw_loader_service_filter_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./service-filter.component.html */ "Sdes"); /* harmony import */ var _service_filter_component_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./service-filter.component.scss */ "zTuZ"); /* 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"); let ServiceFilterComponent = class ServiceFilterComponent { constructor(_modelController, _commonService) { this._modelController = _modelController; this._commonService = _commonService; this.refundSel = false; this.dateSel = false; this.tollSel = false; this.vehicleSel = false; this.validateDate = []; this.data = { startDate: '', endDate: '' }; } ngOnInit() { var today = new Date(); var monthStart = this._commonService.getLastThreeMonthDate(365); var monthEnd = today.toISOString().substr(0, 10); this.setStartDate = monthStart; this.setEndDate = monthEnd; this.startDate = this._startDate; this.endDate = this._endDate; } rechargeSelected() { this.vehicleSel = false; this.tollSel = false; this.dateSel = false; this.refundSel = false; } refundSelected() { this.vehicleSel = false; this.tollSel = false; this.dateSel = false; this.refundSel = true; } dateSelected() { this.vehicleSel = false; this.tollSel = false; this.refundSel = false; this.dateSel = true; } vahicleSelected() { this.tollSel = false; this.vehicleSel = true; this.refundSel = false; this.dateSel = false; } tollSelected() { this.vehicleSel = false; this.tollSel = true; this.refundSel = false; this.dateSel = false; } resetFilters() { this.ngOnInit(); } cancelDELETE() { this.validateDate = []; this._modelController.dismiss(this.data); } onDateChange(event) { var start_date = new Date(this.startDate); var end_date = new Date(this.endDate); if (end_date.getTime() < start_date.getTime()) { if (this.endDate) { this.endDate = this.startDate; } } this.validateDate.push(event.target.value); } confirm() { this.data.userOption = 'confirm'; this.data.startDate = this.startDate; this.data.endDate = this.endDate; this._modelController.dismiss(this.data); } cancel() { this.validateDate = []; this.data.userOption = 'cancel'; this._modelController.dismiss(this.data); } }; ServiceFilterComponent.ctorParameters = () => [ { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["ModalController"] }, { type: src_services_common_service__WEBPACK_IMPORTED_MODULE_5__["CommonService"] } ]; ServiceFilterComponent.propDecorators = { _startDate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Input"] }], _endDate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Input"] }] }; ServiceFilterComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({ selector: 'app-service-filter', template: _raw_loader_service_filter_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], styles: [_service_filter_component_scss__WEBPACK_IMPORTED_MODULE_2__["default"]] }) ], ServiceFilterComponent); /***/ }), /***/ "LLt/": /*!**************************************!*\ !*** ./src/services/auth.service.ts ***! \**************************************/ /*! exports provided: AuthService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthService", function() { return AuthService; }); /* 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 src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "AytR"); /* harmony import */ var _base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./base-service */ "4YT6"); /* harmony import */ var _common_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common.service */ "FBGF"); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ "k8oS"); let AuthService = class AuthService extends _base_service__WEBPACK_IMPORTED_MODULE_3__["BaseService"] { constructor(commonService) { super(); this.commonService = commonService; this.fileName = 'auth.service.ts'; this.userLogin = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); } login(obj) { try { let data; if (obj.login_type === 'mobile' || obj.login_type === 'fbtoken') { data = { "password": obj.password, "userId": obj.userId, "login_type": obj.login_type, "timestamp": obj.timestamp, }; } let dataObj = { offset: 0, method: 'post', api_url: this.getLocalloginURL(), local_json_file: 'local-login', param_data: data, mapcol: false }; let resp = this.commonService.fetchData(dataObj); // resp.subscribe((data) => { // if (data.status) // this.userLogin.emit({ state: 'login', data_resp: data }); // }); return resp; } catch (error) { let obj = { fileName: this.fileName, functionName: 'login(obj)', error: error }; this.commonService.systemException(obj); } } logout() { try { let dataObj = { offset: 0, method: 'post', // api_url: this.getLocalapiBaseURL() + Enums.CONSTANTS.LOGOUT_API, local_json_file: '', param_data: {}, mapcol: false }; this.userLogin.emit({ state: 'logout' }); localStorage.clear(); return this.commonService.fetchData(dataObj); } catch (error) { let obj = { fileName: this.fileName, functionName: 'logout()', error: error }; this.commonService.systemException(obj); } } globalAPI() { try { let deviceinfo = this.getLocalgetDeviceInfo(); console.log({ deviceinfo: deviceinfo }); let dataObj = { offset: 0, method: 'post', api_url: _constants__WEBPACK_IMPORTED_MODULE_5__["CONSTANTS"].GLOBAL_INIT_URL, local_json_file: '', param_data: { package_id: src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].packageId, }, mapcol: false }; return this.commonService.fetchData(dataObj); } catch (error) { let obj = { fileName: this.fileName, functionName: 'globalAPI()', error: error }; this.commonService.systemException(obj); } } localAPI(deviceId) { try { let deviceinfo = this.getLocalgetDeviceInfo(); console.log({ deviceinfo: deviceinfo }); let dataObj = { offset: 0, method: 'post', api_url: this.getLocalapiBaseURL() + _constants__WEBPACK_IMPORTED_MODULE_5__["CONSTANTS"].LOCAL_INIT_URL, local_json_file: '', param_data: { user_id: this.getLocalUserId(), device_id: deviceId, notification_settings: {}, device_info: { fcm_token: this.commonService.getFCMToken(), os_version: deviceinfo.osVersion, device_version: deviceinfo.model, app_version: this.getAppVersion(), model: deviceinfo.model, platform: deviceinfo.platform, operatingSystem: deviceinfo.operatingSystem, osVersion: deviceinfo.osVersion, manufacturer: deviceinfo.manufacturer, isVirtual: deviceinfo.isVirtual, webViewVersion: deviceinfo.webViewVersion, } }, mapcol: false }; return this.commonService.fetchData(dataObj); } catch (error) { let obj = { fileName: this.fileName, functionName: 'localAPI()', error: error }; this.commonService.systemException(obj); } } // getOneMoveapiBaseURL verifyMobile(obj) { try { let dataObj = { offset: 0, method: 'post', api_url: this.getLocalloginURL() + _constants__WEBPACK_IMPORTED_MODULE_5__["CONSTANTS"].VERIFY_MOBILE_API, local_json_file: '', param_data: obj, mapcol: false }; let resp = this.commonService.fetchData(dataObj); return resp; } catch (error) { let obj = { fileName: this.fileName, functionName: 'verifyMobile(obj)', error: error }; this.commonService.systemException(obj); } } // getOneMoveapiBaseURL verifyOtp(obj) { try { let dataObj = { offset: 0, method: 'post', api_url: this.getLocalloginURL() + _constants__WEBPACK_IMPORTED_MODULE_5__["CONSTANTS"].VERIFY_OTP_API, local_json_file: '', param_data: obj, mapcol: false }; let resp = this.commonService.fetchData(dataObj); return resp; } catch (error) { let obj = { fileName: this.fileName, functionName: 'verifyOtp(obj)', error: error }; this.commonService.systemException(obj); } } }; AuthService.ctorParameters = () => [ { type: _common_service__WEBPACK_IMPORTED_MODULE_4__["CommonService"] } ]; AuthService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }) ], AuthService); /***/ }), /***/ "MJO3": /*!***************************************!*\ !*** ./src/models/contants.models.ts ***! \***************************************/ /*! exports provided: Constants */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Constants", function() { return Constants; }); class Constants { } Constants.KEY_DEFAULT_LANGUAGE = 'tu_dl'; /***/ }), /***/ "Sdes": /*!*******************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/models/service-filter/service-filter.component.html ***! \*******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n \r\n \r\n \r\n \r\n Back\r\n \r\n \r\n \r\n
\r\n

Filter

\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n Filter by:\r\n \r\n \r\n \r\n \r\n Reset\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Date Range\r\n \r\n \r\n\r\n \r\n \r\n From\r\n \r\n \r\n \r\n To\r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n Apply\r\n \r\n
\r\n
\r\n
\r\n
\r\n"); /***/ }), /***/ "Sy1n": /*!**********************************!*\ !*** ./src/app/app.component.ts ***! \**********************************/ /*! exports provided: AppComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./app.component.html */ "VzVu"); /* harmony import */ var _app_component_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app.component.scss */ "ynWL"); /* 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 _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK"); /* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "VYYF"); /* harmony import */ var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "54vc"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb"); /* harmony import */ var src_models_contants_models__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/models/contants.models */ "MJO3"); /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app.config */ "aR35"); /* harmony import */ var src_services_auth_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/services/auth.service */ "LLt/"); /* harmony import */ var src_services_mlogger_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/services/mlogger.service */ "0InE"); /* harmony import */ var src_services_profile_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/services/profile.service */ "2l2O"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/environments/environment */ "AytR"); let AppComponent = class AppComponent { constructor(config, platform, _location, navCtrl, statusBar, splashScreen, _mlogger, _authService, _profileService, translate) { this.config = config; this.platform = platform; this._location = _location; this.navCtrl = navCtrl; this.statusBar = statusBar; this.splashScreen = splashScreen; this._mlogger = _mlogger; this._authService = _authService; this._profileService = _profileService; this.translate = translate; this.isLoggedIn = false; this.platform.backButton.subscribeWithPriority(10, (processNextHandler) => { if (this._location.isCurrentPathEqualTo('/tab/my-dashboard')) { // Show Exit Alert! //this.showExitConfirm(); navigator['app'].exitApp(); //comment this when this.showExitConfirm(); is uncommented processNextHandler(); } else { // Navigate to back page this._location.back(); } }); if (localStorage.getItem('userId') === null) { this.navCtrl.navigateRoot(['./landing-screen']); } else { if (location.pathname !== '/payment-response') { this.navCtrl.navigateRoot(['./tabs/home']); } } } initializeApp() { this.platform.ready().then(() => { this.statusBar.styleLightContent(); this.splashScreen.hide(); let defaultLang = window.localStorage.getItem(src_models_contants_models__WEBPACK_IMPORTED_MODULE_9__["Constants"].KEY_DEFAULT_LANGUAGE); this.globalize(defaultLang); // Trigger the push setup //this.fcmService.initPush(); }); this._mlogger.log_init(src_environments_environment__WEBPACK_IMPORTED_MODULE_14__["environment"].loggingTool, 'mlogger', null, src_services_mlogger_service__WEBPACK_IMPORTED_MODULE_12__["Mlogger"].severity.debug, null, null, '+5:30', {}); this._authService.userLogin.subscribe(data => { this.isLoggedIn = (data.state === 'login') ? true : false; this._authService.log({ subscibeLogin: data }); }); this._profileService.userProfile.subscribe(data => { this._profileService.log({ subscibeProfile: data }); this.profileData = data.data; }); } globalize(languagePriority) { this.translate.setDefaultLang("en"); let defaultLangCode = this.config.availableLanguages[0].code; this.translate.use(languagePriority && languagePriority.length ? languagePriority : defaultLangCode); //this.setDirectionAccordingly(languagePriority && languagePriority.length ? languagePriority : defaultLangCode); } }; AppComponent.ctorParameters = () => [ { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Inject"], args: [_app_config__WEBPACK_IMPORTED_MODULE_10__["APP_CONFIG"],] }] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["Platform"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_5__["Location"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["NavController"] }, { type: _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__["StatusBar"] }, { type: _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_7__["SplashScreen"] }, { type: src_services_mlogger_service__WEBPACK_IMPORTED_MODULE_12__["MloggerProvider"] }, { type: src_services_auth_service__WEBPACK_IMPORTED_MODULE_11__["AuthService"] }, { type: src_services_profile_service__WEBPACK_IMPORTED_MODULE_13__["ProfileService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateService"] } ]; AppComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({ selector: 'app-root', template: _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], styles: [_app_component_scss__WEBPACK_IMPORTED_MODULE_2__["default"]] }) ], AppComponent); /***/ }), /***/ "VzVu": /*!**************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***! \**************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n \r\n\r\n"); /***/ }), /***/ "YAtm": /*!***********************************************************************!*\ !*** ./src/models/vehicle-attachment/vehicle-attachment.component.ts ***! \***********************************************************************/ /*! exports provided: VehicleAttachmentComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VehicleAttachmentComponent", function() { return VehicleAttachmentComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG"); /* harmony import */ var _raw_loader_vehicle_attachment_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./vehicle-attachment.component.html */ "3rhY"); /* harmony import */ var _vehicle_attachment_component_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./vehicle-attachment.component.scss */ "C9ry"); /* 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 _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @capacitor/camera */ "/s3u"); /* harmony import */ var _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @capacitor/filesystem */ "F7bV"); /* harmony import */ var src_services_common_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/services/common.service */ "FBGF"); let VehicleAttachmentComponent = class VehicleAttachmentComponent { constructor(modelController, alert, commonService) { this.modelController = modelController; this.alert = alert; this.commonService = commonService; this.data = { userOption: '', file: '', docKey: '' }; this.filename = ''; this.isValidFileSize = false; } ngOnInit() { this.platform = this.commonService.getLocalPlatformDetail(); this.vehicleDocTypeList = JSON.parse(localStorage.getItem("vehicleDocTypeList")); this.optionField = Object.values(this.vehicleDocTypeList); } onFileSelected(event) { this.fileData = event.target.files[0]; this.filename = this.fileData.name; this.isValidFileSize = this.commonService.fileValidation(this.fileData.size); } cancel() { this.data.userOption = 'cancel'; this.modelController.dismiss(this.data); } //-------------------------------For upload captured image---------------------------------------------------- chooseFile() { this.simpleConfirm1('Please select option to upload!', 'You can use Camera or Gallery to upload photo'); } simpleConfirm1(headerVal, messageVal) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const alert = yield this.alert.create({ cssClass: 'my-custom-class', mode: 'ios', header: headerVal, message: messageVal, buttons: [ { text: 'Camera', handler: () => { this.selectImage(); } }, { text: 'Gallery', handler: () => { this.pickImageFromGallery(); } }, { text: 'Cancel', handler: () => { } } ] }); yield alert.present(); }); } pickImageFromGallery() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const image = yield _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["Camera"].getPhoto({ quality: 70, allowEditing: false, resultType: _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["CameraResultType"].DataUrl, source: _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["CameraSource"].Photos // Camera, Photos or Prompt! }); if (image) { this.saveImage(image.dataUrl); } }); } selectImage() { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const image = yield _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["Camera"].getPhoto({ quality: 70, allowEditing: false, resultType: _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["CameraResultType"].DataUrl, source: _capacitor_camera__WEBPACK_IMPORTED_MODULE_5__["CameraSource"].Camera // Camera, Photos or Prompt! }); if (image) { this.saveImage(image.dataUrl); } }); } saveImage(image) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function* () { const fileName = new Date().getTime() + '.jpeg'; const savedFile = yield _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_6__["Filesystem"].writeFile({ path: fileName, data: image, directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_6__["Directory"].Documents }); this.fileData = yield this.dataURLtoFile(image, fileName); this.filename = fileName; this.isValidFileSize = this.commonService.fileValidation(this.fileData.size); }); } dataURLtoFile(dataurl, filename) { var arr = dataurl.split(','), mime = dataurl.split(';')[0].split(':')[1], bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n); while (n--) { u8arr[n] = bstr.charCodeAt(n); } return new File([u8arr], filename, { type: mime }); } //----------------------------------------------------------------------------------- confirm() { const key = Object.keys(this.vehicleDocTypeList).find(key => this.vehicleDocTypeList[key] === this.selectedDocType); this.data.file = this.fileData; this.data.docKey = key; this.data.userOption = 'confirm'; this.modelController.dismiss(this.data); } }; VehicleAttachmentComponent.ctorParameters = () => [ { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["ModalController"] }, { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["AlertController"] }, { type: src_services_common_service__WEBPACK_IMPORTED_MODULE_7__["CommonService"] } ]; VehicleAttachmentComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({ selector: 'app-vehicle-attachment', template: _raw_loader_vehicle_attachment_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], styles: [_vehicle_attachment_component_scss__WEBPACK_IMPORTED_MODULE_2__["default"]] }) ], VehicleAttachmentComponent); /***/ }), /***/ "ZAI4": /*!*******************************!*\ !*** ./src/app/app.module.ts ***! \*******************************/ /*! exports provided: HttpLoaderFactory, AppModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HttpLoaderFactory", function() { return HttpLoaderFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; }); /* 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_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "tyNb"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb"); /* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/http-loader */ "mqiu"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common/http */ "tk/3"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic/angular */ "TEn/"); /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-routing.module */ "vY5A"); /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app.config */ "aR35"); /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app.component */ "Sy1n"); /* harmony import */ var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "54vc"); /* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "VYYF"); /* harmony import */ var _ionic_native_social_sharing_ngx__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ionic-native/social-sharing/ngx */ "/XPu"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ "3Pt+"); /* harmony import */ var src_services_Interceptor_provider_interceptor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/services/Interceptor-provider.interceptor */ "8l85"); /* harmony import */ var _ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ionic-native/file-opener/ngx */ "te5A"); /* harmony import */ var _sentry_angular__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @sentry/angular */ "UH2p"); /* harmony import */ var _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @ionic-native/in-app-browser/ngx */ "m/P+"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/environments/environment */ "AytR"); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW"); /* harmony import */ var src_models_vehicle_attachment_vehicle_attachment_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/models/vehicle-attachment/vehicle-attachment.component */ "YAtm"); /* harmony import */ var src_models_wallet_filter_wallet_filter_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! src/models/wallet-filter/wallet-filter.component */ "AoF4"); /* harmony import */ var src_models_helpdesk_attachment_helpdesk_attachment_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! src/models/helpdesk-attachment/helpdesk-attachment.component */ "0lNN"); /* harmony import */ var src_models_service_filter_service_filter_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! src/models/service-filter/service-filter.component */ "HEGi"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/common */ "ofXK"); //import firebase from 'firebase/app'; function HttpLoaderFactory(http) { return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_5__["TranslateHttpLoader"](http); } let AppModule = class AppModule { }; AppModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [ _app_component__WEBPACK_IMPORTED_MODULE_10__["AppComponent"], src_models_wallet_filter_wallet_filter_component__WEBPACK_IMPORTED_MODULE_22__["WalletFilterComponent"], src_models_service_filter_service_filter_component__WEBPACK_IMPORTED_MODULE_24__["ServiceFilterComponent"], src_models_helpdesk_attachment_helpdesk_attachment_component__WEBPACK_IMPORTED_MODULE_23__["HelpdeskAttachmentComponent"], src_models_vehicle_attachment_vehicle_attachment_component__WEBPACK_IMPORTED_MODULE_21__["VehicleAttachmentComponent"] ], entryComponents: [], imports: [ _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["BrowserModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_7__["IonicModule"].forRoot(), _app_routing_module__WEBPACK_IMPORTED_MODULE_8__["AppRoutingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["FormsModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateModule"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__["NgSelectModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateModule"].forRoot({ defaultLanguage: 'en', loader: { provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateLoader"], useFactory: HttpLoaderFactory, deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClient"]] } }) ], providers: [_ionic_native_file_opener_ngx__WEBPACK_IMPORTED_MODULE_16__["FileOpener"], _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_12__["StatusBar"], _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_11__["SplashScreen"], _ionic_native_social_sharing_ngx__WEBPACK_IMPORTED_MODULE_13__["SocialSharing"], _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_18__["InAppBrowser"], _angular_common__WEBPACK_IMPORTED_MODULE_25__["DatePipe"], { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ErrorHandler"], useValue: _sentry_angular__WEBPACK_IMPORTED_MODULE_17__["createErrorHandler"]({ showDialog: src_environments_environment__WEBPACK_IMPORTED_MODULE_19__["environment"].sentryFeedbackUserDialog, }), }, { provide: _sentry_angular__WEBPACK_IMPORTED_MODULE_17__["TraceService"], deps: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]], }, { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["APP_INITIALIZER"], useFactory: () => () => { }, deps: [_sentry_angular__WEBPACK_IMPORTED_MODULE_17__["TraceService"]], multi: true, }, { provide: _app_config__WEBPACK_IMPORTED_MODULE_9__["APP_CONFIG"], useValue: _app_config__WEBPACK_IMPORTED_MODULE_9__["BaseAppConfig"] }, { provide: _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouteReuseStrategy"], useClass: _ionic_angular__WEBPACK_IMPORTED_MODULE_7__["IonicRouteStrategy"] }, { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"], useClass: src_services_Interceptor_provider_interceptor__WEBPACK_IMPORTED_MODULE_15__["InterceptorProvider"], multi: true }], bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_10__["AppComponent"]], }) ], AppModule); /***/ }), /***/ "aR35": /*!*******************************!*\ !*** ./src/app/app.config.ts ***! \*******************************/ /*! exports provided: APP_CONFIG, BaseAppConfig */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APP_CONFIG", function() { return APP_CONFIG; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseAppConfig", function() { return BaseAppConfig; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL"); let APP_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["InjectionToken"]("app.config"); const BaseAppConfig = { availableLanguages: [{ code: 'en', name: 'English' }, { code: 'ar', name: 'Arabic' }, { code: 'es', name: 'Spanish' }, { code: 'fr', name: 'French' }, { code: 'id', name: 'Indonesian' }, { code: 'pt', name: 'Portuguese' }], showBuyPromt: false }; /***/ }), /***/ "k8oS": /*!***********************************!*\ !*** ./src/services/constants.ts ***! \***********************************/ /*! exports provided: CONSTANTS, COLUMNS, MESSAGES */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONSTANTS", function() { return CONSTANTS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "COLUMNS", function() { return COLUMNS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MESSAGES", function() { return MESSAGES; }); var CONSTANTS; (function (CONSTANTS) { CONSTANTS[CONSTANTS["ROW_COUNT"] = 20] = "ROW_COUNT"; CONSTANTS[CONSTANTS["LAST_TRANSACTION_COUNT"] = 2] = "LAST_TRANSACTION_COUNT"; CONSTANTS["WALLET_STATEMENT_API"] = "/reports/run"; CONSTANTS["WALLET_TOPUP_BAL_ENQ"] = "/pgtopup/check"; CONSTANTS["WALLET_TOPUP_BEGIN"] = "/pgtopup/begin"; CONSTANTS["WALLET_DISPUTE_STATUS"] = "/disputes/check/"; CONSTANTS["PG_TRANSACTION_STATUS"] = "/pgtopup"; CONSTANTS["PG_TRANSACTION_END"] = "/pgtopup/end"; CONSTANTS["SERVICE_REQUEST_API"] = "/tickets/topics"; CONSTANTS["userId"] = "C777777"; CONSTANTS["LOGIN_TYPE"] = "userid"; CONSTANTS["SERVICE_REQUEST_TICKETS_API"] = "/reports/run"; CONSTANTS["VEHICLE_LISTING_API"] = "/reports/run"; CONSTANTS["VEHICLE_GENERATE_CHALLAN_PDF_API"] = "/vehicles/challanpdf"; CONSTANTS["VEHICLE_DOWNLOAD_CHALLAN_PDF_API"] = "/files/download"; CONSTANTS["LOGIN_API"] = "/user/fleetlogin"; // PROFILE_API = '/profile', CONSTANTS["PROFILE_API"] = "/profile"; CONSTANTS["ADD_TICKET_API"] = "/tickets"; CONSTANTS["ADD_DISPUTE_API"] = "/disputes/raise"; CONSTANTS["CLOSE_TICKET_API"] = "/tickets/close"; CONSTANTS["DISPUTE_TICKET_DOC_UPLOAD_API"] = "/disputes/docs/upload/"; CONSTANTS["TICKET_ATTACHMENT_LISTS_API"] = "/tickets/docs/list/"; CONSTANTS["DISPUTE_TICKET_ATTACHMENT_LISTS_API"] = "/disputes/docs/list/"; CONSTANTS["VEHICLE_ATTACHMENT_LISTS_API"] = "/vehicles/docs/list/"; CONSTANTS["ATTACHMENT_LISTS_API"] = "/tickets/docs/list/1804"; CONSTANTS["ADD_VEHICLE_API"] = "/enrollment/addvehicle"; CONSTANTS["DEL_VEHICLE_API"] = "/enrollment/vehicle"; CONSTANTS["VEHICLE_CLASS_API"] = "/lookup/vehicleclass"; CONSTANTS["GLOBAL_INIT_API"] = "https://driver.1pay.devops.merce.co/apiSample.php"; CONSTANTS["LOGOUT_API"] = "/logout"; CONSTANTS[CONSTANTS["SUBTRACT_DAYS"] = 90] = "SUBTRACT_DAYS"; CONSTANTS[CONSTANTS["DISPUTE_BTN_DISABLE_DAYS"] = 45] = "DISPUTE_BTN_DISABLE_DAYS"; CONSTANTS[CONSTANTS["FILESIZE_LIMIT_IN_MB"] = 5] = "FILESIZE_LIMIT_IN_MB"; CONSTANTS[CONSTANTS["API_TIMEOUT"] = 300000] = "API_TIMEOUT"; CONSTANTS["PG_TIMEOUT_MESSAGE"] = "Payment time expires"; CONSTANTS["DISPUTE_ALERT_MSG"] = "A dispute has been raised with id #"; CONSTANTS["TICKET_ALERT_MSG"] = "Ticket has been successfully created with ticket ID #"; CONSTANTS["VEHICLE_ADD_ALERT_MSG"] = "Vehicle added successfully"; CONSTANTS["OFFLINE_MSG"] = "Please check your internet connection"; CONSTANTS["SHARE_TOP_HEADER"] = "Sent via 1PAY"; CONSTANTS["FORMLY_PLACEHOLDER_TEXT"] = "Maximum character limit is 50"; CONSTANTS["FORMLY_PLACEHOLDER_TEXT_PHONE"] = "Maximum number length is 10"; CONSTANTS["SESSION_ALERT_MSG"] = "Your session has timed out. Please log in again."; CONSTANTS["INVALID_FILESIZE_ALERT_MSG"] = "File size is more than 5MB..! Please try again."; CONSTANTS["FILESIZE_NOTE_ALERT_MSG"] = "Please ensure file size is not more than 5MB."; CONSTANTS["API_TIMEOUT_MSG"] = "Failed to complete operation. Please try again later after sometime."; CONSTANTS["SHARE_FOOTER_NOTE"] = "Install 1PAY 1Move app and move fast using the app, pay for tolls, manage trips expenses and track all your support requests using our elegant and speedy interface."; CONSTANTS["VEHICLE_SUSPEND_API"] = "/vehicles/suspend/"; CONSTANTS["VEHICLE_UNSUSPEND_API"] = "/vehicles/unsuspend/"; CONSTANTS["NO_RECORD"] = "No records to load"; CONSTANTS["TICKET_STATUS_CNT_API"] = "/tickets/summary"; CONSTANTS["NOTIFICATION_TEST_BTN"] = "true"; CONSTANTS["PG_MERCE_URL"] = "https://driver.1pay.devops.merce.co/demo.php"; CONSTANTS["PG_1PAY_PROD_URL"] = "https://1paytag.hdfcbank.com/fleetui/processmtopup.jsp"; CONSTANTS["PG_1PAY_UAT_URL"] = "https://hdfcbankfastag.in/fleetui/processmtopup.jsp"; CONSTANTS["TMP_FCM_URL"] = "http://mobapp01.centralindia.cloudapp.azure.com:8181/fleetapi/rest"; CONSTANTS["GET_CHANNELS_API"] = "/pns/topics"; CONSTANTS["SUBSCRIBE_CHANNEL_API"] = "/pns/subscribe/"; CONSTANTS["UNSUBSCRIBE_CHANNEL_API"] = "/pns/unsubscribe/"; CONSTANTS["TOPIC_NOTIFICATION_API"] = "/pns/topic/send"; CONSTANTS["LOCAL_INIT_URL"] = "/device/register"; CONSTANTS["TICKET_DOC_TYPE_API"] = "/tickets/docs/types"; CONSTANTS["TICKET_DOC_UPLOAD_API"] = "/tickets/docs/upload/"; CONSTANTS["VEHICLE_DOC_TYPE_API"] = "/vehicles/docs/types"; CONSTANTS["DISPUTE_DOC_TYPE_API"] = "/disputes/docs/types"; CONSTANTS["VEHICLE_DOC_UPLOAD_API"] = "/vehicles/docs/upload/"; CONSTANTS["VEHICLE_DOC_DOWNLOAD_API"] = "/vehicles/docs/download/"; CONSTANTS["VERIFY_OTP_API"] = "/verify/otp"; CONSTANTS["VERIFY_MOBILE_API"] = "/verify/mobile"; CONSTANTS["GLOBAL_INIT_URL"] = "https://1moveuat.1pay.in/svclocator/globalinit"; // GLOBAL_INIT_URL = "https://1move.1pay.in/svclocator/globalinit", CONSTANTS["ACTIVE_VEHICLE_STATUS"] = "Active"; CONSTANTS["VEHICLE_STATUS_COUNT"] = "/vehicles/summary"; CONSTANTS["ACTIVE_VEHICLE_API"] = "/lookup/activevechicles"; CONSTANTS["NOTIFICATION_API"] = "/reports/run"; // MONTH_START = "2021-07-01", // MONTH_END = "2021-10-30", CONSTANTS["SEND_MAIL_API"] = "/mail/send"; CONSTANTS["EMAIL_SENT"] = "Email Sent Successful"; CONSTANTS["POTENTIAL_DISPUTE_API"] = "/disputes/getdoubledebit"; CONSTANTS["RAISE_SINGLE_DOUBLEDISPUTE"] = "/disputes/raise"; CONSTANTS["RAISE_BULK_DOUBLEDISPUTE"] = "/disputes/raisebulk"; CONSTANTS["INVALID_DOUBLE_DISPUTE"] = "/disputes/updatedd"; })(CONSTANTS || (CONSTANTS = {})); ; var COLUMNS; (function (COLUMNS) { COLUMNS["id"] = "id"; COLUMNS["WALLET_TXN_ID"] = "wallet_txn_id"; COLUMNS["REF_TXN_ID"] = "ref_txn_id"; COLUMNS["WALLET_ID"] = "wallet_id"; COLUMNS["TXN_TYPE"] = "txn_type"; COLUMNS["OPENING_BALANCE"] = "opening_balance"; COLUMNS["TXN_AMOUNT"] = "txn_amount"; COLUMNS["CLOSING_BALANCE"] = "closing_balance"; COLUMNS["SECURITY_DEPOSIT"] = "security_deposit"; COLUMNS["NARRATION"] = "narration"; COLUMNS["TXN_DATE"] = "txn_date"; COLUMNS["PAY_MODE"] = "pay_mode"; COLUMNS["PARTNER_ID"] = "partner_id"; COLUMNS["PARTNER_REF_NO"] = "partner_ref_no"; COLUMNS["UDF1"] = "udf1"; COLUMNS["UDF2"] = "udf2"; COLUMNS["UDF3"] = "udf3"; COLUMNS["UDF4"] = "udf4"; COLUMNS["UDF5"] = "udf5"; COLUMNS["UDF6"] = "udf6"; COLUMNS["UDF7"] = "udf7"; COLUMNS["UDF8"] = "udf8"; COLUMNS["CREATED_ON"] = "created_on"; COLUMNS["CREATED_BY"] = "created_by"; COLUMNS["SOURCE_CHANNEL"] = "source_channel"; COLUMNS["SOURCE_CHANNEL_IP"] = "source_channel_ip"; COLUMNS["reader_ts"] = "reader_ts"; COLUMNS["req_pay_id"] = "req_pay_id"; COLUMNS["user_id"] = "user_id"; COLUMNS["remarks"] = "remarks"; COLUMNS["data"] = "data"; COLUMNS["status"] = "status"; COLUMNS["admin_remark"] = "admin_remark"; COLUMNS["created_by"] = "created_by"; COLUMNS["created_on"] = "created_on"; COLUMNS["last_updated_by"] = "last_updated_by"; COLUMNS["last_updated_on"] = "last_updated_on"; COLUMNS["category_id"] = "category_id"; COLUMNS["category_desc"] = "category_desc"; COLUMNS["vehicle_id"] = "vehicle_id"; COLUMNS["vehicle_number"] = "vehicle_number"; COLUMNS["cust_id"] = "cust_id"; COLUMNS["vehicle_class_id"] = "vehicle_class_id"; COLUMNS["tag_class_id"] = "tag_class_id"; COLUMNS["engine_number"] = "engine_number"; COLUMNS["chassis_number"] = "chassis_number"; COLUMNS["is_commercial"] = "is_commercial"; COLUMNS["is_deleted"] = "is_deleted"; COLUMNS["rodt"] = "rodt"; COLUMNS["sms_flag"] = "sms_flag"; COLUMNS["tid"] = "tid"; COLUMNS["tag_id"] = "tag_id"; COLUMNS["customer_id"] = "customer_id"; COLUMNS["tag_status"] = "tag_status"; COLUMNS["signature_data"] = "signature_data"; COLUMNS["barcode_data"] = "barcode_data"; COLUMNS["tag_pwd"] = "tag_pwd"; COLUMNS["kill_pwd"] = "kill_pwd"; COLUMNS["rfu1"] = "rfu1"; COLUMNS["rfu2"] = "rfu2"; COLUMNS["rfu3"] = "rfu3"; COLUMNS["exe_code"] = "exe_code"; COLUMNS["vrn"] = "vrn"; COLUMNS["barcode"] = "barcode"; COLUMNS["tag_class"] = "tag_class"; COLUMNS["issuer_ts"] = "issuer_ts"; COLUMNS["company_name"] = "company_name"; COLUMNS["customer_type"] = "customer_type"; COLUMNS["email"] = "email"; COLUMNS["faillogin_count"] = "faillogin_count"; COLUMNS["full_name"] = "full_name"; COLUMNS["kyc_type"] = "kyc_type"; COLUMNS["last_login_ts"] = "last_login_ts"; COLUMNS["notification_settings"] = "notification_settings"; COLUMNS["password_change_ts"] = "password_change_ts"; COLUMNS["phone"] = "phone"; COLUMNS["preferences"] = "preferences"; COLUMNS["primary_address"] = "primary_address"; COLUMNS["role"] = "role"; COLUMNS["role_id"] = "role_id"; COLUMNS["user_type"] = "user_type"; COLUMNS["wallet_id"] = "wallet_id"; })(COLUMNS || (COLUMNS = {})); ; var MESSAGES; (function (MESSAGES) { MESSAGES["EMAIL_SENT"] = "Email sent successfully"; })(MESSAGES || (MESSAGES = {})); /***/ }), /***/ "kLfG": /*!*****************************************************************************************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm lazy ^\.\/.*\.entry\.js$ include: \.entry\.js$ exclude: \.system\.entry\.js$ namespace object ***! \*****************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./ion-action-sheet.entry.js": [ "dUtr", "common", 0 ], "./ion-alert.entry.js": [ "Q8AI", "common", 1 ], "./ion-app_8.entry.js": [ "hgI1", "common", 2 ], "./ion-avatar_3.entry.js": [ "CfoV", "common", 3 ], "./ion-back-button.entry.js": [ "Nt02", "common", 4 ], "./ion-backdrop.entry.js": [ "Q2Bp", 5 ], "./ion-button_2.entry.js": [ "0Pbj", "common", 6 ], "./ion-card_5.entry.js": [ "ydQj", "common", 7 ], "./ion-checkbox.entry.js": [ "4fMi", "common", 8 ], "./ion-chip.entry.js": [ "czK9", "common", 9 ], "./ion-col_3.entry.js": [ "/CAe", 10 ], "./ion-datetime_3.entry.js": [ "WgF3", "common", 11 ], "./ion-fab_3.entry.js": [ "uQcF", "common", 12 ], "./ion-img.entry.js": [ "wHD8", 13 ], "./ion-infinite-scroll_2.entry.js": [ "2lz6", 14 ], "./ion-input.entry.js": [ "ercB", "common", 15 ], "./ion-item-option_3.entry.js": [ "MGMP", "common", 16 ], "./ion-item_8.entry.js": [ "9bur", "common", 17 ], "./ion-loading.entry.js": [ "cABk", "common", 18 ], "./ion-menu_3.entry.js": [ "kyFE", "common", 19 ], "./ion-modal.entry.js": [ "TvZU", "common", 20 ], "./ion-nav_2.entry.js": [ "vnES", "common", 21 ], "./ion-popover.entry.js": [ "qCuA", "common", 22 ], "./ion-progress-bar.entry.js": [ "0tOe", "common", 23 ], "./ion-radio_2.entry.js": [ "h11V", "common", 24 ], "./ion-range.entry.js": [ "XGij", "common", 25 ], "./ion-refresher_2.entry.js": [ "nYbb", "common", 26 ], "./ion-reorder_2.entry.js": [ "smMY", "common", 27 ], "./ion-ripple-effect.entry.js": [ "STjf", 28 ], "./ion-route_4.entry.js": [ "k5eQ", "common", 29 ], "./ion-searchbar.entry.js": [ "OR5t", "common", 30 ], "./ion-segment_2.entry.js": [ "fSgp", "common", 31 ], "./ion-select_3.entry.js": [ "lfGF", "common", 32 ], "./ion-slide_2.entry.js": [ "5xYT", 33 ], "./ion-spinner.entry.js": [ "nI0H", "common", 34 ], "./ion-split-pane.entry.js": [ "NAQR", 35 ], "./ion-tab-bar_2.entry.js": [ "knkW", "common", 36 ], "./ion-tab_2.entry.js": [ "TpdJ", "common", 37 ], "./ion-text.entry.js": [ "ISmu", "common", 38 ], "./ion-textarea.entry.js": [ "U7LX", "common", 39 ], "./ion-toast.entry.js": [ "L3sA", "common", 40 ], "./ion-toggle.entry.js": [ "IUOf", "common", 41 ], "./ion-virtual-scroll.entry.js": [ "8Mb5", 42 ] }; function webpackAsyncContext(req) { if(!__webpack_require__.o(map, req)) { return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } var ids = map[req], id = ids[0]; return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() { return __webpack_require__(id); }); } webpackAsyncContext.keys = function webpackAsyncContextKeys() { return Object.keys(map); }; webpackAsyncContext.id = "kLfG"; module.exports = webpackAsyncContext; /***/ }), /***/ "nBoA": /*!*****************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/models/helpdesk-attachment/helpdesk-attachment.component.html ***! \*****************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n \r\n \r\n \r\n \r\n Back\r\n \r\n \r\n \r\n
\r\n

Helpdesk Attachment

\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n Attachment :\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Selected File :\r\n

No file selected

\r\n

Selected File: {{ filename }}

\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n Choose File\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Please ensure file size is not more than 5MB.\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n Selected File :\r\n

No file selected

\r\n

Selected File: {{ filename }}

\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n Choose File\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n Camera\r\n \r\n \r\n
\r\n \r\n \r\n \r\n Please ensure file size is not more than 5MB.\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n Submit\r\n \r\n \r\n \r\n \r\n"); /***/ }), /***/ "qtrZ": /*!*****************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/models/wallet-filter/wallet-filter.component.html ***! \*****************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n \r\n \r\n \r\n \r\n Back\r\n \r\n \r\n \r\n
\r\n

Filter

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n Filter by:\r\n \r\n \r\n \r\n \r\n Reset\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Date Range\r\n \r\n \r\n \r\n\r\n \r\n \r\n From\r\n \r\n \r\n \r\n To\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n Apply\r\n \r\n
\r\n
\r\n
\r\n
"); /***/ }), /***/ "qyVj": /*!***************************************************************!*\ !*** ./src/models/wallet-filter/wallet-filter.component.scss ***! \***************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3YWxsZXQtZmlsdGVyLmNvbXBvbmVudC5zY3NzIn0= */"); /***/ }), /***/ "vY5A": /*!***************************************!*\ !*** ./src/app/app-routing.module.ts ***! \***************************************/ /*! exports provided: AppRoutingModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; }); /* 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"); // import { AuthGuard} from './gaurd/auth.guard' const routes = [ { path: '', loadChildren: () => Promise.all(/*! import() | sign-in-sign-in-module */[__webpack_require__.e("default~document-list-document-list-module~home-home-module~sign-in-sign-in-module~tab3-tab3-module"), __webpack_require__.e("default~document-list-document-list-module~sign-in-sign-in-module~tabs-tabs-module"), __webpack_require__.e("common"), __webpack_require__.e("sign-in-sign-in-module")]).then(__webpack_require__.bind(null, /*! ./sign-in/sign-in.module */ "FuQ6")).then(m => m.SignInPageModule) // ,canActivate:[AuthGuard] }, { path: 'tabs', // loadChildren: () => import('./tab1/tab1.module').then(m => m.Tab1PageModule) loadChildren: () => Promise.all(/*! import() | tabs-tabs-module */[__webpack_require__.e("default~document-list-document-list-module~sign-in-sign-in-module~tabs-tabs-module"), __webpack_require__.e("common"), __webpack_require__.e("tabs-tabs-module")]).then(__webpack_require__.bind(null, /*! ./tabs/tabs.module */ "hO9l")).then(m => m.TabsPageModule) }, { path: 'success', loadChildren: () => __webpack_require__.e(/*! import() | success-success-module */ "success-success-module").then(__webpack_require__.bind(null, /*! ./success/success.module */ "VUit")).then(m => m.SuccessPageModule) }, { path: 'payment-response', loadChildren: () => Promise.all(/*! import() | payment-response-payment-response-module */[__webpack_require__.e("default~home-home-module~payment-response-payment-response-module~wallet-wallet-module"), __webpack_require__.e("payment-response-payment-response-module")]).then(__webpack_require__.bind(null, /*! ./payment-response/payment-response.module */ "FdgP")).then(m => m.PaymentResponsePageModule) }, { path: 'login', loadChildren: () => Promise.all(/*! import() | sign-in-sign-in-module */[__webpack_require__.e("default~document-list-document-list-module~home-home-module~sign-in-sign-in-module~tab3-tab3-module"), __webpack_require__.e("default~document-list-document-list-module~sign-in-sign-in-module~tabs-tabs-module"), __webpack_require__.e("common"), __webpack_require__.e("sign-in-sign-in-module")]).then(__webpack_require__.bind(null, /*! ./sign-in/sign-in.module */ "FuQ6")).then(m => m.SignInPageModule) }, { path: 'profile', loadChildren: () => Promise.all(/*! import() | profile-profile-module */[__webpack_require__.e("default~home-home-module~profile-profile-module"), __webpack_require__.e("profile-profile-module")]).then(__webpack_require__.bind(null, /*! ./profile/profile.module */ "cRhG")).then(m => m.ProfilePageModule) }, { path: 'raise-dispute', loadChildren: () => __webpack_require__.e(/*! import() | raise-dispute-raise-dispute-module */ "raise-dispute-raise-dispute-module").then(__webpack_require__.bind(null, /*! ./raise-dispute/raise-dispute.module */ "rEVv")).then(m => m.RaiseDisputePageModule) }, { path: 'document-list', loadChildren: () => Promise.all(/*! import() | document-list-document-list-module */[__webpack_require__.e("default~document-list-document-list-module~home-home-module~sign-in-sign-in-module~tab3-tab3-module"), __webpack_require__.e("default~document-list-document-list-module~sign-in-sign-in-module~tabs-tabs-module"), __webpack_require__.e("document-list-document-list-module")]).then(__webpack_require__.bind(null, /*! ./document-list/document-list.module */ "PoiV")).then(m => m.DocumentListPageModule) }, { path: 'landing-screen', loadChildren: () => __webpack_require__.e(/*! import() | landing-screen-landing-screen-module */ "landing-screen-landing-screen-module").then(__webpack_require__.bind(null, /*! ./landing-screen/landing-screen.module */ "6rnI")).then(m => m.LandingScreenPageModule) }, { path: 'landing-screen', loadChildren: () => __webpack_require__.e(/*! import() | landing-screen-landing-screen-module */ "landing-screen-landing-screen-module").then(__webpack_require__.bind(null, /*! ./landing-screen/landing-screen.module */ "6rnI")).then(m => m.LandingScreenPageModule) } ]; let AppRoutingModule = class AppRoutingModule { }; AppRoutingModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [ _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forRoot(routes, { preloadingStrategy: _angular_router__WEBPACK_IMPORTED_MODULE_2__["PreloadAllModules"] }) ], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]] }) ], AppRoutingModule); /***/ }), /***/ "ynWL": /*!************************************!*\ !*** ./src/app/app.component.scss ***! \************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".left-iocn1 ion-img {\n width: 24px;\n -o-object-fit: contain;\n object-fit: contain;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uXFwuLlxcYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksV0FBQTtFQUNBLHNCQUFBO0tBQUEsbUJBQUE7QUFDSiIsImZpbGUiOiJhcHAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubGVmdC1pb2NuMSBpb24taW1nIHtcclxuICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgb2JqZWN0LWZpdDogY29udGFpbjtcclxufSJdfQ== */"); /***/ }), /***/ "zTuZ": /*!*****************************************************************!*\ !*** ./src/models/service-filter/service-filter.component.scss ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzZXJ2aWNlLWZpbHRlci5jb21wb25lbnQuc2NzcyJ9 */"); /***/ }), /***/ "zUnb": /*!*********************!*\ !*** ./src/main.ts ***! \*********************/ /*! no exports provided */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL"); /* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "a3Wg"); /* harmony import */ var _sentry_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @sentry/angular */ "UH2p"); /* harmony import */ var _sentry_tracing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @sentry/tracing */ "aI3+"); /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app/app.module */ "ZAI4"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./environments/environment */ "AytR"); _sentry_angular__WEBPACK_IMPORTED_MODULE_2__["init"]({ dsn: _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].sentryDsn, integrations: [ new _sentry_tracing__WEBPACK_IMPORTED_MODULE_3__["Integrations"].BrowserTracing({ tracingOrigins: ["localhost", _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].sentryTracingOrigins], routingInstrumentation: _sentry_angular__WEBPACK_IMPORTED_MODULE_2__["routingInstrumentation"], }), ], // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production tracesSampleRate: 1.0, }); if (_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].production) { Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])(); } Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__["platformBrowserDynamic"])() .bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_4__["AppModule"]) .then(success => console.log(`Bootstrap success`)) .catch(err => console.error(err)); /***/ }), /***/ "zn8P": /*!******************************************************!*\ !*** ./$$_lazy_route_resource lazy namespace object ***! \******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function webpackEmptyAsyncContext(req) { // Here Promise.resolve().then() is used instead of new Promise() to prevent // uncaught exception popping up in devtools return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } webpackEmptyAsyncContext.keys = function() { return []; }; webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; module.exports = webpackEmptyAsyncContext; webpackEmptyAsyncContext.id = "zn8P"; /***/ }) },[[0,"runtime","vendor"]]]); //# sourceMappingURL=main-es2015.js.map