Files
kapp/6808.js
T
2026-05-12 16:58:11 -03:00

374 lines
31 KiB
JavaScript

(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([[6808],{
/***/ 6808:
/*!*********************************************!*\
!*** ./src/app/contacts/contacts.module.ts ***!
\*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "ContactsPageModule": () => (/* binding */ ContactsPageModule)
/* harmony export */ });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ 61380);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _contacts_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./contacts.page */ 48186);
/* harmony import */ var _shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared-module/shared-module.module */ 69270);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_3__);
const routes = [
{
path: '',
component: _contacts_page__WEBPACK_IMPORTED_MODULE_1__.ContactsPage
}
];
class ContactsPageModule {
}
ContactsPageModule.ɵfac = function ContactsPageModule_Factory(t) { return new (t || ContactsPageModule)(); };
ContactsPageModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: ContactsPageModule });
ContactsPageModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule,
_angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule.forChild(routes)] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](ContactsPageModule, { declarations: [_contacts_page__WEBPACK_IMPORTED_MODULE_1__.ContactsPage], imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] }); })();
/***/ }),
/***/ 48186:
/*!*******************************************!*\
!*** ./src/app/contacts/contacts.page.ts ***!
\*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "ContactsPage": () => (/* binding */ ContactsPage)
/* harmony export */ });
/* harmony import */ var _Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 61380);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _shared_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @shared/components */ 7667);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @shared/services */ 17253);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 2508);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 93819);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 90944);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../shared/components/header/header.component */ 36290);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
function ContactsPage_div_8_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 14)(1, "div", 15);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](3, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](3, 1, "PG_CONTACTS_TEXT_NO_CONTACTS"));
}
}
function ContactsPage_div_23_div_3_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 19);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
}
if (rf & 2) {
const contact_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]().$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](contact_r2.company);
}
}
function ContactsPage_div_23_Template(rf, ctx) {
if (rf & 1) {
const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 16);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function ContactsPage_div_23_Template_div_click_0_listener() {
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r7);
const contact_r2 = restoredCtx.$implicit;
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]();
return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r6.onContactClick(contact_r2));
});
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 17);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, ContactsPage_div_23_div_3_Template, 2, 1, "div", 18);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
}
if (rf & 2) {
const contact_r2 = ctx.$implicit;
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("className", "contact");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx_r1.helperService.normalizeName(contact_r2.firstName, contact_r2.lastName), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", contact_r2.company);
}
}
class ContactsPage {
constructor(loadingService, notificatorService, companyService, formBuilder, modalController, navigationService, profileManagerService, router, helperService, logService, apiService, pendingRelease, translateConfigService) {
var _this = this;
this.loadingService = loadingService;
this.notificatorService = notificatorService;
this.companyService = companyService;
this.formBuilder = formBuilder;
this.modalController = modalController;
this.navigationService = navigationService;
this.profileManagerService = profileManagerService;
this.router = router;
this.helperService = helperService;
this.logService = logService;
this.apiService = apiService;
this.pendingRelease = pendingRelease;
this.translateConfigService = translateConfigService;
this.contacts = [];
this.rows = [];
this.existPendings = false;
this.profileManagerSubscription = null;
this.ionViewWillLeave = () => {
this.profileManagerSubscription.unsubscribe();
};
this.navigateToPendingLiberations = () => {
this.navigationService.forward(['/push-notifications']);
};
this.startListeningForProfileChanges = () => {
this.profileManagerSubscription = this.router.events.subscribe(event => {
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__.NavigationEnd) {
if (event.url === '/contacts') {
this.getContacts();
}
}
});
};
this.getContacts = () => {
this.loadingService.show(this.translateConfigService.translate('PG_CONTACTS_LOADING_CONTACTS'), 'loading-contacts');
const filter = {
size: 100,
sort: 'firstName,asc'
};
this.companyService.getContacts(filter).then(this.processGetContactsSuccessResponse).catch(this.processGetContactsErrorResponse);
};
this.processGetContactsSuccessResponse = response => {
this.loadingService.hide(null, 'loading-contacts');
this.contacts = response;
this.rows = this.contacts;
};
this.processGetContactsErrorResponse = error => {
console.log('processGetEventsErrorResponse');
console.log('error:', error);
this.logService.logError('http::accountActivateErrorResponse', '', error);
this.loadingService.hide(null, 'loading-contacts');
const title = this.translateConfigService.translate('PG_CONTACTS_TOAST_ERROR_TITLE');
const message = this.translateConfigService.translate('PG_CONTACTS_TOAST_MESSAGE_ERROR');
const notification = {
title,
message,
type: 'error'
};
this.notificatorService.notify(notification);
};
this.pullDownToGetContacts = () => {
this.loadingService.show(this.translateConfigService.translate('PG_CONTACTS_LOADING_CONTACTS'), 'loading-contacts');
const filter = {
size: 100,
sort: 'firstName,asc'
};
this.companyService.getContacts(filter).then(response => {
this.processGetContactsSuccessResponse(response);
}).catch(error => {
this.processGetContactsErrorResponse(error);
});
};
this.onContactClick = /*#__PURE__*/function () {
var _ref = (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (contact) {
const modal = yield _this.modalController.create({
component: _shared_components__WEBPACK_IMPORTED_MODULE_2__.CreateGuestComponent,
componentProps: {
contact
}
});
modal.onDidDismiss().then(_this.onModalDismissCallback);
yield modal.present();
});
return function (_x) {
return _ref.apply(this, arguments);
};
}();
this.onCreateGuest = /*#__PURE__*/(0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
const modal = yield _this.modalController.create({
component: _shared_components__WEBPACK_IMPORTED_MODULE_2__.CreateGuestComponent,
componentProps: {
contact: null
}
});
modal.onDidDismiss().then(_this.onModalDismissCallback);
yield modal.present();
});
this.onModalDismissCallback = () => {
this.getContacts();
};
this.onInputChange = e => {
const {
value
} = e.target;
if (this.searchTimeout) {
clearTimeout(this.searchTimeout);
}
this.searchTimeout = setTimeout(() => {
this.doSearch(value);
}, 750);
};
this.doSearch = searchTerm => {
if (!searchTerm || searchTerm === '' || searchTerm === undefined) {
this.getContacts();
}
const terms = searchTerm.split(' ');
const firstName = terms[0];
const lastName = terms.slice(1).join(' ');
const data = {
'firstName.contains': firstName.trim(),
sort: 'firstName,asc'
};
if (lastName.trim().length > 0) {
data['lastName.contains'] = lastName.trim();
}
this.companyService.getContacts(data).then(this.processGetContactsSuccessResponse).catch(this.processGetContactsErrorResponse);
};
this.navigateToQRCode = () => {
this.navigationService.forward(['/home']);
};
}
ngOnInit() {
this.contacts = [];
this.searchTimeout = null;
this.userForm = this.formBuilder.group({
searchTerm: ['']
});
}
ionViewDidEnter() {
this.getContacts();
this.startListeningForProfileChanges(); //this.verifyNotifications;
}
ionViewDidLeave() {}
}
ContactsPage.ɵfac = function ContactsPage_Factory(t) {
return new (t || ContactsPage)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.CompanyService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_7__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_8__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.NavigationService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.ProfileManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.HelperService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.PendingReleaseService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_4__.TranslateConfigService));
};
ContactsPage.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({
type: ContactsPage,
selectors: [["app-contacts"]],
decls: 24,
vars: 20,
consts: [[3, "title", "showBadge", "refresh", "callRefresh"], [1, "page-title"], [1, "sub-title"], [1, "events"], ["class", "empty", 4, "ngIf"], [1, "search"], [3, "formGroup"], [1, "input-holder"], ["id", "name", "type", "text", "formControlName", "searchTerm", 3, "placeholder", "keyup"], [1, "new-holder"], [1, "button-holder"], ["type", "button", 3, "click"], [1, "contacts"], [3, "className", "click", 4, "ngFor", "ngForOf"], [1, "empty"], [1, "text"], [3, "className", "click"], [1, "full-name"], ["class", "company", 4, "ngIf"], [1, "company"]],
template: function ContactsPage_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "app-header", 0);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("callRefresh", function ContactsPage_Template_app_header_callRefresh_0_listener() {
return ctx.pullDownToGetContacts();
});
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "ion-content")(3, "div", 1)(4, "div", 2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](6, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "div", 3);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](8, ContactsPage_div_8_Template, 4, 3, "div", 4);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "div", 5)(10, "form", 6)(11, "div", 7)(12, "input", 8);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keyup", function ContactsPage_Template_input_keyup_12_listener($event) {
return ctx.onInputChange($event);
});
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](13, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](14, "div", 9)(15, "div", 10)(16, "button", 11);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function ContactsPage_Template_button_click_16_listener() {
return ctx.onCreateGuest();
});
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](17);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](18, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()()()();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](19, "div", 12)(20, "div", 2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](21);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](22, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](23, ContactsPage_div_23_Template, 4, 3, "div", 13);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](1, 10, "PG_CONTACTS_HEADER_TITLE"))("showBadge", true)("refresh", true);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](6, 12, "PG_CONTACTS_TEXT_VIEW_EDIT_GUEST_CONTACTS"));
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.contacts && ctx.contacts.length === 0);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("formGroup", ctx.userForm);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](13, 14, "PG_CONTACTS_INPUT"));
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](18, 16, "PG_CONTACTS_BTN_NEW"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](22, 18, "PG_CONTACTS_TEXT_TAP_ITEM_EDIT"));
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.rows);
}
},
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_5__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonContent, _angular_forms__WEBPACK_IMPORTED_MODULE_7__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_7__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormControlName, _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_6__.HeaderComponent, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslatePipe],
styles: ["ion-content[_ngcontent-%COMP%] {\n --background: #f1f1f1;\n}\n\nion-toolbar[_ngcontent-%COMP%] {\n font-family: \"Nunito\", sans-serif;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-img[_ngcontent-%COMP%] {\n height: 25px;\n width: 25px;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] {\n letter-spacing: 1px;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 24px;\n padding: 0;\n width: 24px;\n margin: 0;\n font-size: 19px;\n color: #656768;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-button.hover[_ngcontent-%COMP%] {\n background: #fff;\n}\n\n.page-title[_ngcontent-%COMP%] {\n margin-top: 30px;\n margin-bottom: 26px;\n}\n\n.page-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n}\n\n.page-title[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%] {\n text-align: center;\n color: #656768;\n font-size: 0.9em;\n margin-top: 4px;\n}\n\n.empty[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 3em;\n color: #656768;\n font-size: 0.9em;\n}\n\n.empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {\n text-align: center;\n}\n\n.empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-top: 1em;\n}\n\n.empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #eee;\n padding: 0.25em 0.75em;\n border-radius: 32px;\n margin-right: 8px;\n}\n\n.empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n margin-left: 4px;\n color: #0ec254;\n margin-top: 2px;\n}\n\n.not-empty[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 1em;\n color: #656768;\n font-size: 0.9em;\n margin-bottom: 2em;\n}\n\n.not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {\n text-align: center;\n}\n\n.not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-top: 0;\n}\n\n.not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #eee;\n padding: 0.25em 0.75em;\n border-radius: 32px;\n margin-right: 8px;\n}\n\n.not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n margin-left: 4px;\n color: #0ec254;\n margin-top: 2px;\n}\n\n.search[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.search[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n\n.search[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n\n.contacts[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%] {\n width: 80%;\n margin: 11px 10% 11px;\n font-size: 0.9em;\n background-color: #eee;\n padding: 4px 8px;\n border-radius: 2px;\n}\n\n.contacts[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] {\n width: 80%;\n margin: 0 10% 4px;\n border: 1px solid #eee;\n border-radius: 4px;\n padding: 8px 12px;\n}\n\n.contacts[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] .company[_ngcontent-%COMP%] {\n color: #aaa;\n}\n\n.pulsate-fwd[_ngcontent-%COMP%] {\n animation: pulsate-fwd 0.5s ease-in-out infinite both;\n outline: none;\n}\n\n@keyframes pulsate-fwd {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbnRhY3RzLnBhZ2Uuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpb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