(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["src_app_pages_tabs_appeals_appeals_module_ts"],{

/***/ 36174:
/*!**************************************************************!*\
  !*** ./src/app/pages/tabs/appeals/appeals-routing.module.ts ***!
  \**************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppealsPageRoutingModule: () => (/* binding */ AppealsPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 95072);
/* harmony import */ var _appeals_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./appeals.page */ 14288);
/*
 * Copyright (c) 2022. Группа компаний "СТЕК". Все права защищены. Разработчик: Чуриков Антон Алексеевич
 */




const routes = [{
  path: '',
  component: _appeals_page__WEBPACK_IMPORTED_MODULE_0__.AppealsPage
}, {
  path: 'applications-form',
  loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_pages_tabs_appeals_applications-form_applications-form_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./applications-form/applications-form.module */ 24362)).then(m => m.ApplicationsFormPageModule)
}, {
  path: 'surveys',
  loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./surveys/surveys.module */ 59466)).then(m => m.SurveysPageModule)
}, {
  path: 'appointment',
  loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./appointment/appointment.module */ 86966)).then(m => m.AppointmentPageModule)
}];
let AppealsPageRoutingModule = class AppealsPageRoutingModule {};
AppealsPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
  imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
  exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
})], AppealsPageRoutingModule);


/***/ }),

/***/ 88503:
/*!******************************************************!*\
  !*** ./src/app/pages/tabs/appeals/appeals.module.ts ***!
  \******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppealsPageModule: () => (/* binding */ AppealsPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 60316);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 34456);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 21507);
/* harmony import */ var _appeals_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./appeals-routing.module */ 36174);
/* harmony import */ var _appeals_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./appeals.page */ 14288);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ 597);
/*
 * Copyright (c) 2022. Группа компаний "СТЕК". Все права защищены. Разработчик: Чуриков Антон Алексеевич
 */








let AppealsPageModule = class AppealsPageModule {};
AppealsPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.NgModule)({
  imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.IonicModule, _appeals_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppealsPageRoutingModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__.TranslateModule],
  declarations: [_appeals_page__WEBPACK_IMPORTED_MODULE_1__.AppealsPage]
})], AppealsPageModule);


/***/ }),

/***/ 14288:
/*!****************************************************!*\
  !*** ./src/app/pages/tabs/appeals/appeals.page.ts ***!
  \****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppealsPage: () => (/* binding */ AppealsPage)
/* harmony export */ });
/* harmony import */ var D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 89204);
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _appeals_page_html_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./appeals.page.html?ngResource */ 25648);
/* harmony import */ var _appeals_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./appeals.page.scss?ngResource */ 62094);
/* harmony import */ var _appeals_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_appeals_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _services_helper_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/helper.service */ 54102);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 4059);
/* harmony import */ var _services_app_theme_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/app-theme.service */ 43017);
/* harmony import */ var _services_modal_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../services/modal.service */ 5455);
/* harmony import */ var _appointment_appointment_page__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./appointment/appointment.page */ 81545);
/* harmony import */ var _services_request_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../services/request.service */ 80931);

/*
 * Copyright (c) 2022. Группа компаний "СТЕК". Все права защищены. Разработчик: Чуриков Антон Алексеевич
 */










let AppealsPage = class AppealsPage {
  constructor(helper, navCtrl, appTheme, modalService, request) {
    this.helper = helper;
    this.navCtrl = navCtrl;
    this.appTheme = appTheme;
    this.modalService = modalService;
    this.request = request;
  }
  ngOnInit() {}
  scroll(event) {
    if (event.detail.scrollTop >= 0 && this.appTheme.prefers === 'light') {
      this.toolbar.el.setAttribute('style', 'box-shadow: 0 0 40px rgba(104, 122, 147, min(' + event.detail.scrollTop / 100 + ', .48))');
    } else if (event.detail.scrollTop < 0 && this.appTheme.prefers === 'light') {
      this.toolbar.el.setAttribute('style', 'box-shadow: 0 0 40px rgba(104, 122, 147, min(' + 0 / 100 + ', .48))');
    }
  }
  openApplicationsForm() {
    var _this = this;
    return (0,D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      yield _this.navCtrl.navigateForward('/tabs/appeals/applications-form');
    })();
  }
  openSurveysForm() {
    var _this2 = this;
    return (0,D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      yield _this2.navCtrl.navigateForward('/tabs/appeals/surveys');
    })();
  }
  openAppointmentForm() {
    var _this3 = this;
    return (0,D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      yield _this3.modalService.openModal({
        component: _appointment_appointment_page__WEBPACK_IMPORTED_MODULE_6__.AppointmentPage,
        cssClass: 'fullscreen-modal top-modal',
        backdropDismiss: false,
        swipeToClose: false
      });
    })();
  }
  static {
    this.ctorParameters = () => [{
      type: _services_helper_service__WEBPACK_IMPORTED_MODULE_3__.HelperService
    }, {
      type: _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.NavController
    }, {
      type: _services_app_theme_service__WEBPACK_IMPORTED_MODULE_4__.AppThemeService
    }, {
      type: _services_modal_service__WEBPACK_IMPORTED_MODULE_5__.ModalService
    }, {
      type: _services_request_service__WEBPACK_IMPORTED_MODULE_7__.RequestService
    }];
  }
  static {
    this.propDecorators = {
      toolbar: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_9__.ViewChild,
        args: ['toolbar']
      }]
    };
  }
};
AppealsPage = (0,tslib__WEBPACK_IMPORTED_MODULE_10__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.Component)({
  selector: 'app-appeals',
  template: _appeals_page_html_ngResource__WEBPACK_IMPORTED_MODULE_1__,
  styles: [(_appeals_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2___default())]
})], AppealsPage);


/***/ }),

/***/ 62094:
/*!*****************************************************************!*\
  !*** ./src/app/pages/tabs/appeals/appeals.page.scss?ngResource ***!
  \*****************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `@charset "UTF-8";
/*!
 * Copyright (c) 2022. Группа компаний "СТЕК". Все права защищены. Разработчик: Чуриков Антон Алексеевич
 */
ion-toolbar:not(.toolbar-loading) ion-title {
  padding-inline: 24px 50px !important;
}

.content-page ion-card {
  padding: 16px;
}
.content-page ion-card .title {
  font-size: 16px;
  font-weight: 400;
  flex-grow: 1;
}
.content-page ion-card .icon {
  border-radius: 50px;
  height: 32px;
  width: 32px;
  background: var(--ion-color-primary-lighten-5);
  margin-bottom: 8px;
}
.content-page ion-card .icon ion-icon {
  color: var(--ion-color-primary);
}
.content-page ion-card .badge {
  height: 24px;
  min-width: 24px;
  background: var(--ion-color-primary);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--ion-color-primary-contrast);
}
.content-page .row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}
.content-page .row .icon {
  margin: 0 16px 0 0;
}
.content-page .circle {
  width: 35px;
  height: 35px;
  background: var(--ion-color-primary-lighten-5);
  border-radius: 50px;
}
.content-page .text-circle {
  color: var(--ion-color-primary);
  font-size: 16px;
  margin-top: 5px;
  text-align: center;
  font-weight: 700;
}`, "",{"version":3,"sources":["webpack://./src/app/pages/tabs/appeals/appeals.page.scss"],"names":[],"mappings":"AAAA,gBAAgB;AAAhB;;EAAA;AAMI;EACE,oCAAA;AADN;;AAOE;EACE,aAAA;AAJJ;AAMI;EACE,eAAA;EACA,gBAAA;EACA,YAAA;AAJN;AAOI;EACE,mBAAA;EACA,YAAA;EACA,WAAA;EACA,8CAAA;EACA,kBAAA;AALN;AAOM;EACE,+BAAA;AALR;AASI;EACE,YAAA;EACA,eAAA;EACA,oCAAA;EACA,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,eAAA;EACA,wCAAA;AAPN;AAWE;EACE,aAAA;EACA,mBAAA;EACA,kBAAA;AATJ;AAWI;EACE,kBAAA;AATN;AAaE;EACE,WAAA;EACA,YAAA;EACA,8CAAA;EAGA,mBAAA;AAXJ;AAcE;EACE,+BAAA;EACA,eAAA;EACA,eAAA;EACA,kBAAA;EACA,gBAAA;AAZJ","sourcesContent":["/*!\n * Copyright (c) 2022. Группа компаний \"СТЕК\". Все права защищены. Разработчик: Чуриков Антон Алексеевич\n */\n\nion-toolbar {\n  &:not(.toolbar-loading) {\n    ion-title {\n      padding-inline: 24px 50px !important;\n    }\n  }\n}\n\n.content-page {\n  ion-card {\n    padding: 16px;\n\n    .title {\n      font-size: 16px;\n      font-weight: 400;\n      flex-grow: 1;\n    }\n\n    .icon {\n      border-radius: 50px;\n      height: 32px;\n      width: 32px;\n      background: var(--ion-color-primary-lighten-5);\n      margin-bottom: 8px;\n\n      ion-icon {\n        color: var(--ion-color-primary);\n      }\n    }\n\n    .badge {\n      height: 24px;\n      min-width: 24px;\n      background: var(--ion-color-primary);\n      border-radius: 24px;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      font-size: 12px;\n      color: var(--ion-color-primary-contrast);\n    }\n  }\n\n  .row {\n    display: flex;\n    align-items: center;\n    padding: 12px 16px;\n\n    .icon {\n      margin: 0 16px 0 0;\n    }\n  }\n\n  .circle {\n    width: 35px;\n    height: 35px;\n    background: var(--ion-color-primary-lighten-5);\n    -moz-border-radius: 50px;\n    -webkit-border-radius: 50px;\n    border-radius: 50px;\n  }\n\n  .text-circle{\n    color: var(--ion-color-primary);\n    font-size: 16px;\n    margin-top: 5px;\n    text-align: center;\n    font-weight: 700;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 25648:
/*!*****************************************************************!*\
  !*** ./src/app/pages/tabs/appeals/appeals.page.html?ngResource ***!
  \*****************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<!--\n  ~ Copyright (c) 2022. Группа компаний \"СТЕК\". Все права защищены. Разработчик: Чуриков Антон Алексеевич\n  -->\n\n<ion-header class=\"ion-no-border\">\n  <ion-toolbar #toolbar>\n    <ion-title class=\"fullscreen\">\n      <div class=\"header-fullscreen\">\n        <div class=\"title\">\n          <div>{{ 'APPEALS.HEADER' | translate }}</div>\n        </div>\n      </div>\n    </ion-title>\n  </ion-toolbar>\n</ion-header>\n\n\n<ion-content scroll-events=\"true\" (ionScroll)=\"scroll($event)\">\n\n  <div class=\"content-page\">\n    <ion-card class=\"el-anim\" (click)=\"openApplicationsForm()\">\n      <div class=\"row\" style=\"padding: 0;\">\n        <div class=\"icon\">\n          <ion-icon src=\"/assets/icons/Applications.svg\"></ion-icon>\n        </div>\n        <div class=\"title\">{{ 'APPEALS.CONTENT.APPEALS.TITLE' | translate }}</div>\n        <div class=\"circle\" *ngIf=\"(+request.surveysAndAppeals.value[request.activeLs.value]?.surveysAndAppeals?.countAppeals ?? 0) > 0\">\n          <div class=\"text-circle\">\n            {{ request.surveysAndAppeals.value[request.activeLs.value]?.surveysAndAppeals?.countAppeals ?? 0 }}\n          </div>\n        </div>\n      </div>\n\n      <div class=\"description\">{{ 'APPEALS.CONTENT.APPEALS.DESCRIPTION' | translate }}</div>\n    </ion-card>\n\n      @if (helper.availableQuality.value && this.request.activeLs.value !== null) {\n          <ion-card class=\"el-anim-tap row\" (click)=\"openSurveysForm()\">\n              <div class=\"icon\">\n                  <ion-icon src=\"/assets/icons/Applications.svg\"></ion-icon>\n              </div>\n              <div class=\"title\">{{ 'APPEALS.CONTENT.SURVEYS' | translate }}</div>\n              <div class=\"circle\" *ngIf=\"(+request.surveysAndAppeals.value[request.activeLs.value]?.surveysAndAppeals?.countSurveys ?? 0) > 0\">\n                  <div class=\"text-circle\">\n                      {{ request.surveysAndAppeals.value[request.activeLs.value]?.surveysAndAppeals?.countSurveys ?? 0 }}\n                  </div>\n              </div>\n          </ion-card>\n      }\n\n      @if (helper.availableRecording.value) {\n          <ion-card class=\"el-anim-tap row\" (click)=\"openAppointmentForm()\">\n              <div class=\"icon\">\n                  <ion-icon src=\"/assets/icons/Applications.svg\"></ion-icon>\n              </div>\n              <div class=\"title\">{{ 'APPEALS.CONTENT.APPOINTMENT' | translate }}</div>\n          </ion-card>\n      }\n  </div>\n\n</ion-content>\n";

/***/ })

}]);
//# sourceMappingURL=src_app_pages_tabs_appeals_appeals_module_ts.js.map