95d9d2f9a8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8841 lines
735 KiB
JavaScript
8841 lines
735 KiB
JavaScript
(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([[641],{
|
|
|
|
/***/ 30834:
|
|
/*!*********************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/card-founduser-lg/card-founduser-lg.component.ts ***!
|
|
\*********************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardFounduserLgComponent": () => (/* binding */ CardFounduserLgComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_components_avatar_avatar_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/components/avatar/avatar.component */ 87871);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function CardFounduserLgComponent_ng_container_0_ng_container_6_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r4.foundUser.document, " ");
|
|
} }
|
|
function CardFounduserLgComponent_ng_container_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFounduserLgComponent_ng_container_0_ng_container_6_div_1_Template, 2, 1, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.foundUser == null ? null : ctx_r2.foundUser.document);
|
|
} }
|
|
function CardFounduserLgComponent_ng_container_0_ng_container_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r5.foundUser.company, " ");
|
|
} }
|
|
function CardFounduserLgComponent_ng_container_0_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFounduserLgComponent_ng_container_0_ng_container_7_div_1_Template, 2, 1, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.foundUser == null ? null : ctx_r3.foundUser.company);
|
|
} }
|
|
function CardFounduserLgComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFounduserLgComponent_ng_container_0_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r6.userSelect.emit(ctx_r6.foundUser)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "app-avatar", 2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3)(4, "div", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardFounduserLgComponent_ng_container_0_ng_container_6_Template, 2, 1, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardFounduserLgComponent_ng_container_0_ng_container_7_Template, 2, 1, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "ion-ripple-effect", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
let tmp_2_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("firstName", ctx_r0.foundUser.firstName)("lastName", ctx_r0.foundUser.lastName)("thumbnailImage", (tmp_2_0 = (tmp_2_0 = ctx_r0.foundUser == null ? null : ctx_r0.foundUser.image) !== null && tmp_2_0 !== undefined ? tmp_2_0 : ctx_r0.foundUser == null ? null : ctx_r0.foundUser.thumbnailImage) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null)("size", "md");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r0.helperService.normalizeName(ctx_r0.foundUser.firstName, ctx_r0.foundUser.lastName), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.typeofuser === "driver");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.typeofuser === "assistant");
|
|
} }
|
|
function CardFounduserLgComponent_ng_container_1_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-skeleton-text", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 3)(3, "div", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "ion-skeleton-text", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "ion-skeleton-text", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} }
|
|
const _c0 = function () { return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; };
|
|
function CardFounduserLgComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 8)(2, "div", 9)(3, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "ion-skeleton-text", 11)(5, "ion-skeleton-text", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardFounduserLgComponent_ng_container_1_div_6_Template, 7, 0, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](1, _c0));
|
|
} }
|
|
class CardFounduserLgComponent {
|
|
constructor(helperService) {
|
|
this.helperService = helperService;
|
|
this.skeleton = false;
|
|
this.userSelect = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
}
|
|
ngOnInit() { }
|
|
}
|
|
CardFounduserLgComponent.ɵfac = function CardFounduserLgComponent_Factory(t) { return new (t || CardFounduserLgComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.HelperService)); };
|
|
CardFounduserLgComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CardFounduserLgComponent, selectors: [["app-card-founduser-lg"]], inputs: { foundUser: "foundUser", skeleton: "skeleton", typeofuser: "typeofuser" }, outputs: { userSelect: "userSelect" }, decls: 2, vars: 2, consts: [[4, "ngIf"], [1, "result", "ion-activatable", 3, "click"], [3, "firstName", "lastName", "thumbnailImage", "size"], [1, "user-info"], [1, "full-name"], ["type", "bounded"], ["class", "company", 4, "ngIf"], [1, "company"], [1, "results"], [1, "sub-title"], [1, "ion-text-center", 2, "display", "flex", "flex-direction", "column", "align-items", "center"], ["animated", "", 2, "width", "100%"], ["animated", "", 2, "width", "60%"], ["class", "result", 4, "ngFor", "ngForOf"], [1, "result"], ["animated", "", 1, "avatar-skeleton"], ["animated", "", 2, "width", "85%"], ["animated", "", 2, "width", "50%"]], template: function CardFounduserLgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardFounduserLgComponent_ng_container_0_Template, 9, 7, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFounduserLgComponent_ng_container_1_Template, 7, 2, "ng-container", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.foundUser && !ctx.skeleton);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.skeleton);
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonRippleEffect, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonSkeletonText, _shared_components_avatar_avatar_component__WEBPACK_IMPORTED_MODULE_3__.AvatarComponent], styles: [".avatar-skeleton[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n\n.result[_ngcontent-%COMP%] {\n position: relative;\n margin: 10px 0;\n border: 1px solid #eee;\n border-radius: 4px;\n padding: 6px 10px;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n\n.result[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%] {\n flex-shrink: 0;\n}\n\n.result[_ngcontent-%COMP%] .user-info[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n}\n\n.result[_ngcontent-%COMP%] .company[_ngcontent-%COMP%] {\n color: #aaa;\n font-size: 0.8em;\n}\n\n.results[_ngcontent-%COMP%] {\n padding: 1em;\n overflow: scroll;\n height: 100%;\n}\n\n.results[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: left;\n}\n\n.results[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%] {\n margin: 10px 0px;\n font-size: 0.9em;\n background-color: #eee;\n border: 1px solid #ccc;\n padding: 8px;\n border-radius: 2px;\n text-align: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhcmQtZm91bmR1c2VyLWxnLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLGNBQUE7QUFDRjs7QUFDQTtFQUNFLGtCQUFBO0VBQ0EsY0FBQTtFQUNBLHNCQUFBO0VBQ0Esa0JBQUE7RUFDQSxpQkFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLFNBQUE7QUFFRjs7QUFBRTtFQUNFLGNBQUE7QUFFSjs7QUFDRTtFQUNFLE9BQUE7RUFDQSxZQUFBO0FBQ0o7O0FBRUU7RUFDRSxXQUFBO0VBQ0EsZ0JBQUE7QUFBSjs7QUFHQTtFQUNFLFlBQUE7RUFDQSxnQkFBQTtFQUNBLFlBQUE7QUFBRjs7QUFFRTtFQUNFLDZCQUFBO0VBQ0EsaUJBQUE7RUFDQSxnQkFBQTtBQUFKOztBQUdFO0VBQ0UsZ0JBQUE7RUFDQSxnQkFBQTtFQUNBLHNCQUFBO0VBQ0Esc0JBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQkFBQTtBQURKIiwiZmlsZSI6ImNhcmQtZm91bmR1c2VyLWxnLmNvbXBvbmVud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xuICB9XG59XG4iXX0= */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 34645:
|
|
/*!*****************************************************!*\
|
|
!*** ./src/app/logistic-events/components/index.ts ***!
|
|
\*****************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardFounduserLgComponent": () => (/* reexport safe */ _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_0__.CardFounduserLgComponent),
|
|
/* harmony export */ "JustifySelfInviteWithoutLocatorComponent": () => (/* reexport safe */ _justify_self_invite_without_locator_justify_self_invite_without_locator_component__WEBPACK_IMPORTED_MODULE_1__.JustifySelfInviteWithoutLocatorComponent),
|
|
/* harmony export */ "LogisticJustifySelfInviteWithLocatorComponent": () => (/* reexport safe */ _logistic_justify_self_invite_with_locator_logistic_justify_self_invite_with_locator_component__WEBPACK_IMPORTED_MODULE_2__.LogisticJustifySelfInviteWithLocatorComponent),
|
|
/* harmony export */ "SelectLogisticEventTypeModalComponent": () => (/* reexport safe */ _select_logistic_event_type_modal_select_logistic_event_type_modal_component__WEBPACK_IMPORTED_MODULE_3__.SelectLogisticEventTypeModalComponent),
|
|
/* harmony export */ "SelectorForAssistantsToAddToEventComponent": () => (/* reexport safe */ _selector_for_assistants_to_add_to_event_selector_for_assistants_to_add_to_event_component__WEBPACK_IMPORTED_MODULE_4__.SelectorForAssistantsToAddToEventComponent),
|
|
/* harmony export */ "SelectorForDriverToAddToEventComponent": () => (/* reexport safe */ _selector_for_driver_to_add_to_event_selector_for_driver_to_add_to_event_component__WEBPACK_IMPORTED_MODULE_5__.SelectorForDriverToAddToEventComponent),
|
|
/* harmony export */ "SolveDriverCheckinConflictComponent": () => (/* reexport safe */ _solve_driver_checkin_conflict_solve_driver_checkin_conflict_component__WEBPACK_IMPORTED_MODULE_6__.SolveDriverCheckinConflictComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./card-founduser-lg/card-founduser-lg.component */ 30834);
|
|
/* harmony import */ var _justify_self_invite_without_locator_justify_self_invite_without_locator_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./justify-self-invite-without-locator/justify-self-invite-without-locator.component */ 72113);
|
|
/* harmony import */ var _logistic_justify_self_invite_with_locator_logistic_justify_self_invite_with_locator_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./logistic-justify-self-invite-with-locator/logistic-justify-self-invite-with-locator.component */ 45003);
|
|
/* harmony import */ var _select_logistic_event_type_modal_select_logistic_event_type_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./select-logistic-event-type-modal/select-logistic-event-type-modal.component */ 70534);
|
|
/* harmony import */ var _selector_for_assistants_to_add_to_event_selector_for_assistants_to_add_to_event_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./selector-for-assistants-to-add-to-event/selector-for-assistants-to-add-to-event.component */ 82366);
|
|
/* harmony import */ var _selector_for_driver_to_add_to_event_selector_for_driver_to_add_to_event_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./selector-for-driver-to-add-to-event/selector-for-driver-to-add-to-event.component */ 33200);
|
|
/* harmony import */ var _solve_driver_checkin_conflict_solve_driver_checkin_conflict_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./solve-driver-checkin-conflict/solve-driver-checkin-conflict.component */ 73543);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 72113:
|
|
/*!*********************************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/justify-self-invite-without-locator/justify-self-invite-without-locator.component.ts ***!
|
|
\*********************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "JustifySelfInviteWithoutLocatorComponent": () => (/* binding */ JustifySelfInviteWithoutLocatorComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function JustifySelfInviteWithoutLocatorComponent_div_19_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const e_r2 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", e_r2.message, " ");
|
|
} }
|
|
function JustifySelfInviteWithoutLocatorComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, JustifySelfInviteWithoutLocatorComponent_div_19_div_1_Template, 2, 1, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.getFieldInputValidationErrors("reason"));
|
|
} }
|
|
class JustifySelfInviteWithoutLocatorComponent {
|
|
constructor(ngZoneService, createLogisticEventService, formBuilder, modalController, notificatorService, translateConfigService) {
|
|
this.ngZoneService = ngZoneService;
|
|
this.createLogisticEventService = createLogisticEventService;
|
|
this.formBuilder = formBuilder;
|
|
this.modalController = modalController;
|
|
this.notificatorService = notificatorService;
|
|
this.translateConfigService = translateConfigService;
|
|
this.reasonFormErrors = [];
|
|
this.onClose = () => {
|
|
this.modalController.dismiss({
|
|
reason: null
|
|
});
|
|
};
|
|
this.onSubmit = () => {
|
|
const reason = this.reasonForm.controls.reason.value;
|
|
const data = {
|
|
reason
|
|
};
|
|
const validationResult = this.validateInput(data);
|
|
if (!!validationResult.length) {
|
|
this.setValidationErrors(validationResult);
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_INVALID_DATA_TITLE'),
|
|
message: this.translateConfigService.translate('TOAST_INVALID_DATA_NESSAGE'),
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
}
|
|
else {
|
|
this.modalController.dismiss({
|
|
reason
|
|
});
|
|
}
|
|
};
|
|
this.validateInput = data => {
|
|
const errors = [];
|
|
const reasonInputValidationErrors = this.validateReasonInput(data);
|
|
if (reasonInputValidationErrors) {
|
|
errors.push(reasonInputValidationErrors);
|
|
}
|
|
return errors;
|
|
};
|
|
this.validateReasonInput = data => {
|
|
if (!data.reason || data.reason.length < 1) {
|
|
return {
|
|
message: this.translateConfigService.translate('MD_JUSTIFY_INVITE_WITOUT_LOCATOR_JUSTIFICATION_PROVIDED'),
|
|
field: 'reason'
|
|
};
|
|
}
|
|
return null;
|
|
};
|
|
this.setValidationErrors = errors => {
|
|
this.reasonFormErrors = errors;
|
|
};
|
|
this.thereIsFieldInputValidationErrors = field => this.reasonFormErrors.find(e => e.field === field);
|
|
this.getFieldInputValidationErrors = field => this.reasonFormErrors.filter(e => e.field === field);
|
|
}
|
|
ngOnInit() {
|
|
this.reasonForm = this.formBuilder.group({
|
|
reason: ['']
|
|
});
|
|
}
|
|
}
|
|
JustifySelfInviteWithoutLocatorComponent.ɵfac = function JustifySelfInviteWithoutLocatorComponent_Factory(t) { return new (t || JustifySelfInviteWithoutLocatorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.NgZoneService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.CreateLogisticEventService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_3__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_4__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.TranslateConfigService)); };
|
|
JustifySelfInviteWithoutLocatorComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: JustifySelfInviteWithoutLocatorComponent, selectors: [["app-justify-self-invite-without-locator"]], decls: 25, vars: 15, consts: [[3, "ngClass"], [1, "content"], [1, "modal-container"], [1, "modal-title"], [1, "button-holder"], [1, "back", 3, "click"], [1, "title"], [1, "modal-body"], [3, "formGroup", "ngSubmit"], [1, "input-holder"], ["maxlength", "55", "id", "reason", "formControlName", "reason", 3, "placeholder"], ["class", "errors", 4, "ngIf"], [1, "modal-footer"], ["type", "submit", 3, "click"], [1, "errors"], ["class", "error", 4, "ngFor", "ngForOf"], [1, "error"]], template: function JustifySelfInviteWithoutLocatorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "button", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function JustifySelfInviteWithoutLocatorComponent_Template_button_click_5_listener() { return ctx.onClose(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 7)(12, "ion-row")(13, "ion-col")(14, "form", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function JustifySelfInviteWithoutLocatorComponent_Template_form_ngSubmit_14_listener() { return ctx.onSubmit(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 9)(16, "textarea", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, JustifySelfInviteWithoutLocatorComponent_div_19_Template, 2, 1, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 12)(21, "div", 4)(22, "button", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function JustifySelfInviteWithoutLocatorComponent_Template_button_click_22_listener() { return ctx.onSubmit(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](24, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", "selector");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 7, "BTN_BACK"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 9, "MD_JUSTIFY_INVITE_WITOUT_LOCATOR_TITLE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.reasonForm);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 11, "MD_JUSTIFY_INVITE_WITOUT_LOCATOR_INPUT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.thereIsFieldInputValidationErrors("reason"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](24, 13, "MD_JUSTIFY_INVITE_WITOUT_LOCATOR_BTN_CONFIRM_REFUSAL"), " ");
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonRow, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.FormControlName, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__.TranslatePipe], styles: [".selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n height: 100vh;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n box-shadow: 0px -6px 3px rgba(0, 0, 0, 0.1);\n margin-top: 0;\n transition: margin-top 1s ease;\n background-color: #fff;\n height: 100%;\n overflow: scroll;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n display: flex;\n padding-top: 1em;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n margin: 32px;\n margin-bottom: 8px;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n justify-content: center;\n margin: 0;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #eee;\n border-radius: 8px;\n color: #656768;\n width: 100%;\n padding: 8px 8px;\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus {\n border: 1px solid #656768;\n outline: none;\n}\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImp1c3RpZnktc2VsZi1pbnZpdGUtd2l0aG91dC1sb2NhdG9yLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNFO0VBQ0UsYUFBQTtBQUFKO0FBRUk7RUFDRSwyQ0FBQTtFQUNBLGFBQUE7RUFDQSw4QkFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0FBQU47QU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gICBoZWlnaHQ6IDEwMCU7XG4gICAgICBvdmVyZmxvdzogc2Nyb2xsO1xuXG4gICAgICAubW9kYWwtdGl0bGUge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBwYWRkaW5nLXRvcDogMWVtO1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudGl0bGUge1xuICAgICAgICAgIGZvbnQtc2l6ZTogaW5pdGlhbCAhaW1wb3J0YW50O1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgICBtYXJnaW46IDMycHg7XG4gICAgICAgICAgbWFyZ2luLWJvdHRvbTogOHB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuaW5wdXQtaG9sZGVyIHtcbiAgICAgICAgbWFyZ2luLXRvcDogOHB4O1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudXBwZXItb3B0aW9ucyB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgLm5ldy1ob2xkZXIge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAubW9kYWwtYm9keSB7XG4gICAgICAgIHRleHRhcmVhIHtcbiAgICAgICAgICBhcHBlYXJhbmNlOiBub25lO1xuICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNlZWU7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogOHB4O1xuICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgIHBhZGRpbmc6IDhweCA4cHg7XG4gICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzY1Njc2ODtcbiAgICAgICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC5tb2RhbC1mb290ZXIge1xuICAgICAgICAuYnV0dG9uLWhvbGRlciB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 45003:
|
|
/*!*********************************************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/logistic-justify-self-invite-with-locator/logistic-justify-self-invite-with-locator.component.ts ***!
|
|
\*********************************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "LogisticJustifySelfInviteWithLocatorComponent": () => (/* binding */ LogisticJustifySelfInviteWithLocatorComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function LogisticJustifySelfInviteWithLocatorComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 16)(2, "div", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 18)(6, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "MD_JUSTIFY_LG_INVITE_WITOUT_LOCATOR_DESTINATION"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", ctx_r0.data == null ? null : ctx_r0.data.firstName, " ", ctx_r0.data == null ? null : ctx_r0.data.lastName, "");
|
|
} }
|
|
function LogisticJustifySelfInviteWithLocatorComponent_div_22_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const e_r3 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", e_r3.message, " ");
|
|
} }
|
|
function LogisticJustifySelfInviteWithLocatorComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogisticJustifySelfInviteWithLocatorComponent_div_22_div_1_Template, 2, 1, "div", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getFieldInputValidationErrors("reason"));
|
|
} }
|
|
const _c0 = function (a0) { return { "no-margim": a0 }; };
|
|
class LogisticJustifySelfInviteWithLocatorComponent {
|
|
constructor(formBuilder, modalController, notificatorService, translateConfigService) {
|
|
this.formBuilder = formBuilder;
|
|
this.modalController = modalController;
|
|
this.notificatorService = notificatorService;
|
|
this.translateConfigService = translateConfigService;
|
|
this.data = null;
|
|
this.reasonFormErrors = [];
|
|
this.onClose = () => {
|
|
this.modalController.dismiss({
|
|
reason: null
|
|
});
|
|
};
|
|
this.onSubmit = () => {
|
|
const reason = this.reasonForm.controls.reason.value;
|
|
const data = {
|
|
reason
|
|
};
|
|
const validationResult = this.validateInput(data);
|
|
if (!!validationResult.length) {
|
|
this.setValidationErrors(validationResult);
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_INVALID_DATA_TITLE'),
|
|
message: this.translateConfigService.translate('TOAST_INVALID_DATA_NESSAGE'),
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
}
|
|
else {
|
|
this.modalController.dismiss({
|
|
reason
|
|
});
|
|
}
|
|
};
|
|
this.validateInput = data => {
|
|
const errors = [];
|
|
const reasonInputValidationErrors = this.validateReasonInput(data);
|
|
if (reasonInputValidationErrors) {
|
|
errors.push(reasonInputValidationErrors);
|
|
}
|
|
return errors;
|
|
};
|
|
this.validateReasonInput = data => {
|
|
if (!data.reason || data.reason.length < 1) {
|
|
return {
|
|
message: this.translateConfigService.translate('MD_JUSTIFY_LG_INVITE_WITOUT_LOCATOR_JUSTIFICATION_PROVIDED'),
|
|
field: 'reason'
|
|
};
|
|
}
|
|
return null;
|
|
};
|
|
this.setValidationErrors = errors => {
|
|
this.reasonFormErrors = errors;
|
|
};
|
|
this.thereIsFieldInputValidationErrors = field => this.reasonFormErrors.find(e => e.field === field);
|
|
this.getFieldInputValidationErrors = field => this.reasonFormErrors.filter(e => e.field === field);
|
|
}
|
|
ngOnInit() {
|
|
this.reasonForm = this.formBuilder.group({
|
|
reason: ['']
|
|
});
|
|
}
|
|
}
|
|
LogisticJustifySelfInviteWithLocatorComponent.ɵfac = function LogisticJustifySelfInviteWithLocatorComponent_Factory(t) { return new (t || LogisticJustifySelfInviteWithLocatorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_3__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_4__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.TranslateConfigService)); };
|
|
LogisticJustifySelfInviteWithLocatorComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: LogisticJustifySelfInviteWithLocatorComponent, selectors: [["app-logistic-justify-self-invite-with-locator"]], inputs: { data: "data" }, decls: 28, vars: 23, consts: [[3, "ngClass"], [1, "content"], [1, "modal-container"], [1, "modal-title"], [1, "button-holder"], [1, "back", 3, "click"], [1, "title"], [1, "modal-body"], [4, "ngIf"], [3, "formGroup", "ngSubmit"], [1, "input-holder", 3, "ngClass"], ["maxlength", "55", "id", "reason", "formControlName", "reason", 3, "ngClass", "placeholder"], [1, "count"], ["class", "errors", 4, "ngIf"], [1, "modal-footer"], ["type", "submit", 3, "click"], [1, "destination-holder", 2, "margin-top", "0", "padding", "0 2.5em"], [1, "destination-label"], [1, "destination-box"], [1, "name"], [1, "errors"], ["class", "error", 4, "ngFor", "ngForOf"], [1, "error"]], template: function LogisticJustifySelfInviteWithLocatorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "button", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogisticJustifySelfInviteWithLocatorComponent_Template_button_click_5_listener() { return ctx.onClose(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, LogisticJustifySelfInviteWithLocatorComponent_ng_container_12_Template, 8, 5, "ng-container", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "ion-row")(14, "ion-col")(15, "form", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function LogisticJustifySelfInviteWithLocatorComponent_Template_form_ngSubmit_15_listener() { return ctx.onSubmit(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 10)(17, "textarea", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](18, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, LogisticJustifySelfInviteWithLocatorComponent_div_22_Template, 2, 1, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "div", 14)(24, "div", 4)(25, "button", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogisticJustifySelfInviteWithLocatorComponent_Template_button_click_25_listener() { return ctx.onSubmit(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](27, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()()();
|
|
} if (rf & 2) {
|
|
let tmp_8_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", "selector");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 11, "BTN_BACK"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 13, "MD_JUSTIFY_LG_INVITE_WITOUT_LOCATOR_TITLE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.event);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.reasonForm);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](19, _c0, (ctx.data == null ? null : ctx.data.event) ? "no-margim" : ""));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](21, _c0, (ctx.data == null ? null : ctx.data.event) ? "no-margim" : ""))("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](18, 15, "MD_JUSTIFY_LG_INVITE_WITOUT_LOCATOR_INPUT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", (ctx.reasonForm == null ? null : (tmp_8_0 = ctx.reasonForm.get("reason")) == null ? null : tmp_8_0.value == null ? null : tmp_8_0.value.length) || 0, "/55");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.thereIsFieldInputValidationErrors("reason"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](27, 17, "MD_JUSTIFY_LG_INVITE_WITOUT_LOCATOR_BTN_CONFIRM_REFUSAL"), " ");
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonRow, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.FormControlName, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__.TranslatePipe], styles: ["ion-content.selector.ios[_ngcontent-%COMP%] {\n --offset-top: 0px !important;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n height: auto;\n max-height: 100%;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n box-shadow: 0px -6px 3px rgba(0, 0, 0, 0.1);\n margin-top: 0;\n transition: margin-top 1s ease;\n background-color: #fff;\n height: auto;\n max-height: 100%;\n overflow-y: auto;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n display: flex;\n padding-top: 1em;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n margin: 32px;\n margin-bottom: 8px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n justify-content: center;\n margin: 0;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-label[_ngcontent-%COMP%] {\n font-weight: 500;\n font-size: 14px;\n color: #333333;\n width: 100%;\n text-align: left;\n margin-bottom: 6px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] {\n background: #f5f5f5;\n border: 1px solid #e0e0e0;\n border-radius: 4px;\n padding: 8px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 8px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .photo[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: auto;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 48px;\n height: 48px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .photo[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 48px !important;\n height: 48px !important;\n min-width: 48px !important;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] {\n text-align: left;\n font-size: 12px;\n color: #666666;\n width: auto;\n}\n\n@media (max-width: 480px) {\n .selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] {\n padding: 6px;\n gap: 6px;\n }\n .selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-label[_ngcontent-%COMP%] {\n font-size: 13px;\n }\n .selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%], .selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .photo[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n }\n .selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .destination-box[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] {\n font-size: 12px;\n }\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .count[_ngcontent-%COMP%] {\n align-self: flex-start;\n font-size: 11px;\n color: #bbb;\n margin-top: 2px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] textarea.no-margim[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #eee;\n border-radius: 8px;\n color: #656768;\n width: 100%;\n padding: 8px 8px;\n margin-top: 18px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus {\n border: 1px solid #656768;\n outline: none;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] {\n margin-bottom: 1em;\n display: flex;\n justify-content: center;\n padding: 1em;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n text-align: center;\n margin: auto;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvZ2lzdGljLWp1c3RpZnktc2VsZi1pbnZpdGUtd2l0aC1sb2NhdG9yLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsNEJBQUE7QUFDRjs7QUFHRTtFQUNFLFlBQUE7RUFDQSxnQkFBQTtBQUFKOztBQUVJO0VBQ0UsMkNBQUE7RUFDQSxhQUFBO0VBQ0EsOEJBQUE7RUFDQSxzQkFBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0FBQU47O0FBRU07RUFDRSxhQUFBO0VBQ0EsZ0JBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0VBQ0Esc0JBQUE7QUFBUjs7QUFFUTtFQUNFLDZCQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQUFWOztBQUdRO0VBQ0UsdUJBQUE7RUFDQSxTQUFBO0FBRFY7O0FBS007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vcDogMWVtO1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudGl0bGUge1xuICAgICAgICAgIGZvbnQtc2l6ZTogaW5pdGlhbCAhaW1wb3J0YW50O1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgICBtYXJnaW46IDMycHg7XG4gICAgICAgICAgbWFyZ2luLWJvdHRvbTogOHB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuaW5wdXQtaG9sZGVyIHtcbiAgICAgICAgbWFyZ2luLXRvcDogOHB4O1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudXBwZXItb3B0aW9ucyB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgLm5ldy1ob2xkZXIge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAubW9kYWwtYm9keSB7XG4gICAgICAgIC5kZXN0aW5hdGlvbi1sYWJlbCB7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcbiAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgY29sb3I6ICMzMzMzMzM7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICAgICAgICBtYXJnaW4tYm90dG9tOiA2cHg7XG4gICAgICAgIH1cblxuICAgICAgICAuZGVzdGluYXRpb24tYm94IHtcbiAgICAgICAgICBiYWNrZ3JvdW5kOiAjZjVmNWY1O1xuICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNlMGUwZTA7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgICAgICAgIHBhZGRpbmc6IDhweDtcbiAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtc3RhcnQ7XG4gICAgICAgICAgZ2FwOiA4cHg7XG4gICAgICAgIH1cblxuICAgICAgICAuZGVzdGluYXRpb24tYm94IC5waG90byB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIHdpZHRoOiBhdXRvO1xuICAgICAgICB9XG5cbiAgICAgICAgLmRlc3RpbmF0aW9uLWJveCAucGhvdG8gaW9uLWF2YXRhciB7XG4gICAgICAgICAgd2lkdGg6IDQ4cHg7XG4gICAgICAgICAgaGVpZ2h0OiA0OHB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLmRlc3RpbmF0aW9uLWJveCAucGhvdG8gLmluaXRpYWxzLmVzY29ydCB7XG4gICAgICAgICAgd2lkdGg6IDQ4cHggIWltcG9ydGFudDtcbiAgICAgICAgICBoZWlnaHQ6IDQ4cHggIWltcG9ydGFudDtcbiAgICAgICAgICBtaW4td2lkdGg6IDQ4cHggIWltcG9ydGFudDtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZWU7XG4gICAgICAgIH1cblxuICAgICAgICAuZGVzdGluYXRpb24tYm94IC5uYW1lIHtcbiAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgICBjb2xvcjogIzY2NjY2NjtcbiAgICAgICAgICB3aWR0aDogYXV0bztcbiAgICAgICAgfVxuXG4gICAgICAgIEBtZWRpYSAobWF4LXdpZHRoOiA0ODBweCkge1xuICAgICAgICAgIC5kZXN0aW5hdGlvbi1ib3gge1xuICAgICAgICAgICAgcGFkZGluZzogNnB4O1xuICAgICAgICAgICAgZ2FwOiA2cHg7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgLmRlc3RpbmF0aW9uLWxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTNweDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAuZGVzdGluYXRpb24tYm94IC5waG90byBpb24tYXZhdGFyLFxuICAgICAgICAgIC5kZXN0aW5hdGlvbi1ib3ggLnBob3RvIC5pbml0aWFscy5lc2NvcnQge1xuICAgICAgICAgICAgd2lkdGg6IDQ0cHg7XG4gICAgICAgICAgICBoZWlnaHQ6IDQ0cHg7XG4gICAgICAgICAgICBtaW4td2lkdGg6IDQ0cHg7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgLmRlc3RpbmF0aW9uLWJveCAubmFtZSB7XG4gICAgICAgICAgICBmb250LXNpemU6IDEycHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLmNvdW50IHtcbiAgICAgICAgICBhbGlnbi1zZWxmOiBmbGV4LXN0YXJ0O1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTFweDtcbiAgICAgICAgICBjb2xvcjogI2JiYjtcbiAgICAgICAgICBtYXJnaW4tdG9wOiAycHg7XG4gICAgICAgIH1cblxuICAgICAgICB0ZXh0YXJlYS5uby1tYXJnaW0ge1xuICAgICAgICAgIG1hcmdpbi10b3A6IDA7XG4gICAgICAgIH1cbiAgICAgICAgdGV4dGFyZWEge1xuICAgICAgICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2VlZTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA4cHg7XG4gICAgICAgICAgY29sb3I6ICM2NTY3Njg7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgcGFkZGluZzogOHB4IDhweDtcbiAgICAgICAgICBtYXJnaW4tdG9wOiAxOHB4O1xuXG4gICAgICAgICAgJjpmb2N1cyB7XG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjNjU2NzY4O1xuICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIC5tb2RhbC1mb290ZXIge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBwYWRkaW5nOiAxZW07XG4gICAgICAgIC5idXR0b24taG9sZGVyIHtcbiAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgICAgbWFyZ2luOiBhdXRvO1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ== */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 70534:
|
|
/*!***************************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/select-logistic-event-type-modal/select-logistic-event-type-modal.component.ts ***!
|
|
\***************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "SelectLogisticEventTypeModalComponent": () => (/* binding */ SelectLogisticEventTypeModalComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
function SelectLogisticEventTypeModalComponent_ion_card_11_Template(rf, ctx) { if (rf & 1) {
|
|
const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-card", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectLogisticEventTypeModalComponent_ion_card_11_Template_ion_card_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r3.createNewConventional()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ion-label")(2, "h6", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "MD_EVENT_TYPE_VISITOR"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 4, "MD_EVENT_TYPE_VISITOR_NEW_EVENT"), " ");
|
|
} }
|
|
function SelectLogisticEventTypeModalComponent_ion_card_12_Template(rf, ctx) { if (rf & 1) {
|
|
const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-card", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectLogisticEventTypeModalComponent_ion_card_12_Template_ion_card_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r5.createNewEntry()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ion-label")(2, "h6", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "MD_EVENT_TYPE_CARGO_ARRIVAL"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 4, "MD_EVENT_TYPE_CARGO_ARRIVAL_NEW"), " ");
|
|
} }
|
|
function SelectLogisticEventTypeModalComponent_ion_card_13_Template(rf, ctx) { if (rf & 1) {
|
|
const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-card", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectLogisticEventTypeModalComponent_ion_card_13_Template_ion_card_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r7.createNewExit()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ion-label")(2, "h6", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "MD_EVENT_TYPE_CARGO_DEPARTURE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 4, "MD_EVENT_TYPE_CARGO_DEPARTURE_NEW"), " ");
|
|
} }
|
|
class SelectLogisticEventTypeModalComponent {
|
|
constructor(modalController) {
|
|
this.modalController = modalController;
|
|
this.availableTypes = [];
|
|
this.createNewConventional = () => {
|
|
this.modalController.dismiss({
|
|
type: 'CONVENTIONAL'
|
|
});
|
|
};
|
|
this.createNewEntry = () => {
|
|
this.modalController.dismiss({
|
|
type: 'NEW_ENTRY'
|
|
});
|
|
};
|
|
this.createEntryFromExit = () => {
|
|
this.modalController.dismiss({
|
|
type: 'CLONE_EXIT'
|
|
});
|
|
};
|
|
this.createNewExit = () => {
|
|
this.modalController.dismiss({
|
|
type: 'NEW_EXIT'
|
|
});
|
|
};
|
|
this.createExitFromEntry = () => {
|
|
this.modalController.dismiss({
|
|
type: 'CLONE_ENTRY'
|
|
});
|
|
};
|
|
this.back = () => {
|
|
this.modalController.dismiss(null);
|
|
};
|
|
}
|
|
}
|
|
SelectLogisticEventTypeModalComponent.ɵfac = function SelectLogisticEventTypeModalComponent_Factory(t) { return new (t || SelectLogisticEventTypeModalComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_2__.ModalController)); };
|
|
SelectLogisticEventTypeModalComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SelectLogisticEventTypeModalComponent, selectors: [["app-select-logistic-event-type-modal"]], inputs: { availableTypes: "availableTypes" }, decls: 18, vars: 10, consts: [[3, "ngClass"], [1, "content"], [1, "background"], [1, "modal-container"], [1, "modal-title"], ["tabindex", "1"], [1, "modal-body"], [1, "types"], ["lines", "none", 2, "padding", "0 2px"], ["button", "", "class", "type ion-no-padding", 3, "click", 4, "ngIf"], [1, "modal-footer"], ["mode", "ios", "fill", "clear", 1, "reject", 3, "click"], ["button", "", 1, "type", "ion-no-padding", 3, "click"], [1, "name"], [1, "description", "ion-text-wrap"]], template: function SelectLogisticEventTypeModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "div", 2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3)(4, "div", 4)(5, "h6", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6)(9, "div", 7)(10, "ion-list", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, SelectLogisticEventTypeModalComponent_ion_card_11_Template, 8, 6, "ion-card", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, SelectLogisticEventTypeModalComponent_ion_card_12_Template, 8, 6, "ion-card", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, SelectLogisticEventTypeModalComponent_ion_card_13_Template, 8, 6, "ion-card", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 10)(15, "ion-button", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectLogisticEventTypeModalComponent_Template_ion_button_click_15_listener() { return ctx.back(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", "select-logistic-event-type-modal");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 6, "MD_EVENT_TYPE_TITLE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.availableTypes.includes("CONVENTIONAL"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.availableTypes.includes("ENTRY"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.availableTypes.includes("EXIT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 8, "BTN_BACK"), " ");
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonCard, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonLabel, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonList, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__.TranslatePipe], styles: [".select-logistic-event-type-modal[_ngcontent-%COMP%] {\n width: 100vw;\n transition: height 0.5s ease-in-out;\n overflow: hidden;\n z-index: 1000;\n height: 100vh;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .select-logistic-event-type-modal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .select-logistic-event-type-modal[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .select-logistic-event-type-modal[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .select-logistic-event-type-modal[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .select-logistic-event-type-modal[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] {\n all: unset !important;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n height: 100vh;\n position: absolute;\n width: 100vw;\n top: 0;\n color: #383a3e;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .background[_ngcontent-%COMP%] {\n position: absolute;\n height: 100vh;\n width: 100vw;\n background-color: #333;\n opacity: 0.3;\n top: 0;\n transition: opacity 0.5s ease-out;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n height: 60vh;\n background-color: #fff;\n width: 86vw;\n margin: auto;\n border-radius: 8px;\n padding: 24px;\n box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);\n position: relative;\n margin-top: 20vh;\n transition: margin-top 1s ease;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n text-align: center;\n font-weight: 500;\n position: absolute;\n top: 0;\n height: 3.5em;\n line-height: 3.5em;\n width: calc(100% - 48px);\n background-color: #fff;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n position: absolute;\n height: calc(100% - 7em);\n width: calc(100% - 48px);\n top: 3.5em;\n overflow-y: scroll;\n text-align: justify;\n font-size: 0.9em;\n background-color: #fff;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] {\n margin: 0;\n box-shadow: none;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] {\n padding: 8px 12px;\n border: 1px solid #eee;\n border-radius: 4px;\n margin-bottom: 8px;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] {\n color: #656768;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 0;\n height: 3.5em;\n width: calc(100% - 48px);\n line-height: 3.5em;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n background-color: #fff;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n font-size: 1em;\n background-color: #fff;\n color: #656768;\n padding: 0.75em 1.25em;\n border-radius: 32px;\n transition: background-color 0.1s ease-out;\n height: 36px;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]:active {\n background-color: #eee;\n color: #656768;\n transition: background-color 0.1s ease-out;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] ion-button.accept[_ngcontent-%COMP%] {\n color: #0ec254;\n}\n.select-logistic-event-type-modal[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] ion-button.accept[_ngcontent-%COMP%]:active {\n background-color: #0ec254;\n color: #fff;\n transition: background-color 0.1s ease-out;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlbGVjdC1sb2dpc3RpYy1ldmVudC10eXBlLW1vZGFsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBVUUsWUFBQTtFQUNBLG1DQUFBO0VBQ0EsZ0JBQUE7RUFDQSxhQUFBO0VBQ0EsYUFBQTtBQVJGO0FBSkU7Ozs7OztFQU1FLHFCQUFBO0FBTUo7QUFFRTtFQUNFLGFBQUE7RUFDQSxrQkFBQTtFQUNBLFlBQUE7RUFDQSxNQUFBO0VBQ0EsY0FBQTt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AgICAgICBwYWRkaW5nOiA4cHggMTJweDtcbiAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjZWVlO1xuICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgICAgICAgICBtYXJnaW4tYm90dG9tOiA4cHg7XG5cbiAgICAgICAgICAubmFtZSB7XG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAuZGVzY3JpcHRpb24ge1xuICAgICAgICAgICAgY29sb3I6ICM2NTY3Njg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC5tb2RhbC1mb290ZXIge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgaGVpZ2h0OiAzLjVlbTtcbiAgICAgICAgd2lkdGg6IGNhbGMoMTAwJSAtIDQ4cHgpO1xuICAgICAgICBsaW5lLWhlaWdodDogMy41ZW07XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xuXG4gICAgICAgIGlvbi1idXR0b24ge1xuICAgICAgICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gICAgICAgICAgY29sb3I6ICM2NTY3Njg7XG4gICAgICAgICAgcGFkZGluZzogMC43NWVtIDEuMjVlbTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiAzMnB4O1xuICAgICAgICAgIHRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC4xcyBlYXNlLW91dDtcbiAgICAgICAgICBoZWlnaHQ6IDM2cHg7XG4gICAgICAgICAgJjphY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcbiAgICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2Utb3V0O1xuICAgICAgICAgIH1cblxuICAgICAgICAgICYuYWNjZXB0IHtcbiAgICAgICAgICAgIGNvbG9yOiAjMGVjMjU0O1xuXG4gICAgICAgICAgICAmOmFjdGl2ZSB7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMwZWMyNTQ7XG4gICAgICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1vdXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 82366:
|
|
/*!*****************************************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/selector-for-assistants-to-add-to-event/selector-for-assistants-to-add-to-event.component.ts ***!
|
|
\*****************************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "SelectorForAssistantsToAddToEventComponent": () => (/* binding */ SelectorForAssistantsToAddToEventComponent)
|
|
/* 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_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @shared/components */ 7667);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_4__);
|
|
/* harmony import */ var _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../card-founduser-lg/card-founduser-lg.component */ 30834);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function SelectorForAssistantsToAddToEventComponent_div_29_ng_container_7_ng_container_1_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "app-card-founduser-lg", 23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("userSelect", function SelectorForAssistantsToAddToEventComponent_div_29_ng_container_7_ng_container_1_Template_app_card_founduser_lg_userSelect_1_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r7);
|
|
const foundUser_r5 = restoredCtx.$implicit;
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r6.onUserSelect(foundUser_r5));
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const foundUser_r5 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("foundUser", foundUser_r5);
|
|
}
|
|
}
|
|
|
|
function SelectorForAssistantsToAddToEventComponent_div_29_ng_container_7_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SelectorForAssistantsToAddToEventComponent_div_29_ng_container_7_ng_container_1_Template, 2, 1, "ng-container", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.foundUsers);
|
|
}
|
|
}
|
|
|
|
function SelectorForAssistantsToAddToEventComponent_div_29_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 20)(1, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, SelectorForAssistantsToAddToEventComponent_div_29_ng_container_7_Template, 2, 1, "ng-container", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 3, "MD_ASSISTANT_USERS_FOUND"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 5, "MD_ASSISTANT_TAP_ITEM"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.isLoading);
|
|
}
|
|
}
|
|
|
|
function SelectorForAssistantsToAddToEventComponent_ng_container_30_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "app-card-founduser-lg", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("skeleton", true);
|
|
}
|
|
}
|
|
|
|
class SelectorForAssistantsToAddToEventComponent {
|
|
constructor(ngZoneService, createLogisticEventService, formBuilder, modalController, changeDetectorRef, helperService, logService, userPhotoService) {
|
|
var _this = this;
|
|
|
|
this.ngZoneService = ngZoneService;
|
|
this.createLogisticEventService = createLogisticEventService;
|
|
this.formBuilder = formBuilder;
|
|
this.modalController = modalController;
|
|
this.changeDetectorRef = changeDetectorRef;
|
|
this.helperService = helperService;
|
|
this.logService = logService;
|
|
this.userPhotoService = userPhotoService;
|
|
this.page = 0;
|
|
this.size = 15;
|
|
|
|
this.onClose = user => {
|
|
this.modalController.dismiss(user);
|
|
};
|
|
|
|
this.onUserSelect = user => {
|
|
user.fullName = this.helperService.normalizeName(user.firstName, user.lastName);
|
|
setTimeout(() => {
|
|
this.onClose(user);
|
|
}, 750);
|
|
};
|
|
|
|
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__.CreateAssistantComponent
|
|
});
|
|
modal.onDidDismiss().then(_this.onModalDismissCallback);
|
|
yield modal.present();
|
|
});
|
|
|
|
this.onModalDismissCallback = detail => {
|
|
if (detail && detail.data) {
|
|
this.onUserSelect(detail.data);
|
|
}
|
|
};
|
|
|
|
this.onUpdateContactInfoSuccessResponse = contact => {
|
|
console.log('onUpdateContactInfoSuccessResponse');
|
|
console.log('contact:', contact);
|
|
};
|
|
|
|
this.onUpdateContactInfoErrorResponse = error => {
|
|
console.log('onUpdateContactInfoErrorResponse');
|
|
console.log('error:', error);
|
|
};
|
|
|
|
this.onInputChange = e => {
|
|
const {
|
|
value
|
|
} = e.target;
|
|
this.infiniteScroll.disabled = false;
|
|
|
|
if (this.searchTimeout) {
|
|
clearTimeout(this.searchTimeout);
|
|
}
|
|
|
|
this.searchTimeout = setTimeout(() => {
|
|
if (value.length > 1) {
|
|
this.foundUsers = [];
|
|
this.page = 0;
|
|
}
|
|
|
|
this.doSearch(value);
|
|
}, 750);
|
|
};
|
|
|
|
this.doSearch = searchTerm => {
|
|
// const searchTerms = searchTerm.split(' ');
|
|
// const firstName = searchTerms[0].trim();
|
|
// const lastName = searchTerms.slice(1).join(' ');
|
|
// const data = {
|
|
// 'firstName.contains': firstName ? firstName : ''
|
|
// };
|
|
// if (lastName.trim().length > 0) {
|
|
// data['lastName.contains'] = lastName.trim();
|
|
// }
|
|
searchTerm = searchTerm.trim();
|
|
const data = {
|
|
searchTerm
|
|
};
|
|
this.dataTerms = data;
|
|
this.createLogisticEventService.getCompanyAssistants(data, this.page, this.size).then(this.handleGetGuestsSuccessResponse).catch(this.handleGetGuestsErrorResponse).finally(() => this.isLoading = true);
|
|
};
|
|
|
|
this.handleGetGuestsSuccessResponse = response => {
|
|
console.log('handleGetGuestsSuccessResponse');
|
|
console.log('response:', response);
|
|
this.setFoundUsers(response);
|
|
this.userPhotoService.enrichUsersWithPhotos(response);
|
|
};
|
|
|
|
this.handleGetGuestsErrorResponse = error => {
|
|
this.logService.logError('http::handleGetGuestsErrorResponse', '', error);
|
|
console.log('handleGetGuestsErrorResponse');
|
|
console.log('error:', error);
|
|
};
|
|
|
|
this.setFoundUsers = foundUsers => {
|
|
// this.foundUsers = foundUsers.sort((a: any, b: any) => (a.firstName > b.firstName && 1) || -1);
|
|
this.foundUsers = foundUsers;
|
|
this.changeDetectorRef.detectChanges(); // Does not work, but does not hurt either.
|
|
|
|
scrollBy(0, 1); // It wasn't detecting changes.
|
|
};
|
|
}
|
|
|
|
ngOnInit() {
|
|
this.foundUsers = [];
|
|
this.searchTimeout = null;
|
|
this.userForm = this.formBuilder.group({
|
|
searchTerm: ['']
|
|
});
|
|
}
|
|
|
|
ionViewWillEnter() {
|
|
this.onInputChange({
|
|
target: {
|
|
value: ''
|
|
}
|
|
});
|
|
}
|
|
|
|
loadData(event) {
|
|
this.page += 1;
|
|
this.loadMore(this.page, event);
|
|
}
|
|
|
|
loadMore(page, infiniteScroll) {
|
|
this.createLogisticEventService.getCompanyDrivers(this.dataTerms, page, this.size, !!infiniteScroll).then(drivers => {
|
|
this.isLoading = true;
|
|
|
|
if (drivers.length > 0) {
|
|
this.handleGetGuestsSuccessResponse(this.foundUsers.concat(drivers));
|
|
|
|
if (this.size > 0) {
|
|
infiniteScroll.target.complete();
|
|
}
|
|
} else {
|
|
infiniteScroll.target.disabled = true;
|
|
}
|
|
}).catch(err => {
|
|
this.handleGetGuestsErrorResponse(err);
|
|
infiniteScroll.target.complete();
|
|
infiniteScroll.target.disabled = true;
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
SelectorForAssistantsToAddToEventComponent.ɵfac = function SelectorForAssistantsToAddToEventComponent_Factory(t) {
|
|
return new (t || SelectorForAssistantsToAddToEventComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.NgZoneService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.CreateLogisticEventService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_6__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_7__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.HelperService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.UserPhotoService));
|
|
};
|
|
|
|
SelectorForAssistantsToAddToEventComponent.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
|
|
type: SelectorForAssistantsToAddToEventComponent,
|
|
selectors: [["app-selector-for-assistants-to-add-to-event"]],
|
|
viewQuery: function SelectorForAssistantsToAddToEventComponent_Query(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScroll, 5);
|
|
}
|
|
|
|
if (rf & 2) {
|
|
let _t;
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.infiniteScroll = _t.first);
|
|
}
|
|
},
|
|
decls: 35,
|
|
vars: 16,
|
|
consts: [[1, "fix-header-modal-ios", "ion-no-border"], [3, "ngClass"], [1, "content"], [1, "modal-container"], [1, "modal-title"], [1, "button-holder"], [1, "back", 3, "click"], [1, "title"], [1, "modal-body"], [3, "formGroup"], [1, "input-holder"], [1, "upper-options"], ["id", "name", "type", "text", "formControlName", "searchTerm", 3, "placeholder", "keyup"], [1, "new-holder"], ["type", "button", 3, "click"], ["class", "results", 4, "ngIf"], [4, "ngIf"], [1, "modal-footer"], ["threshold", "15%", "position", "bottom", 3, "ionInfinite"], ["IonInfiniteScroll", ""], [1, "results"], [1, "sub-title"], [4, "ngFor", "ngForOf"], ["typeofuser", "assistant", 3, "foundUser", "userSelect"], [3, "skeleton"]],
|
|
template: function SelectorForAssistantsToAddToEventComponent_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "ion-header", 0)(1, "ion-toolbar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "ion-title");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "ion-content", 1)(4, "div", 2)(5, "div", 3)(6, "div", 4)(7, "div", 5)(8, "button", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SelectorForAssistantsToAddToEventComponent_Template_button_click_8_listener() {
|
|
return ctx.onClose();
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](13, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "div", 8)(15, "ion-row")(16, "ion-col")(17, "form", 9)(18, "div", 10)(19, "div", 11)(20, "input", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("keyup", function SelectorForAssistantsToAddToEventComponent_Template_input_keyup_20_listener($event) {
|
|
return ctx.onInputChange($event);
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](21, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "div", 13)(23, "div", 5)(24, "button", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SelectorForAssistantsToAddToEventComponent_Template_button_click_24_listener() {
|
|
return ctx.onCreateGuest();
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](26, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](27, "ion-row")(28, "ion-col");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](29, SelectorForAssistantsToAddToEventComponent_div_29_Template, 8, 7, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](30, SelectorForAssistantsToAddToEventComponent_ng_container_30_Template, 2, 1, "ng-container", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](31, "div", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](32, "ion-infinite-scroll", 18, 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ionInfinite", function SelectorForAssistantsToAddToEventComponent_Template_ion_infinite_scroll_ionInfinite_32_listener($event) {
|
|
return ctx.loadData($event);
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](34, "ion-infinite-scroll-content");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", "selector");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 8, "MD_ASSISTANT_BTN_CLOSE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](13, 10, "MD_ASSISTANT_TITLE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("formGroup", ctx.userForm);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](21, 12, "MD_ASSISTANT_INPUT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](26, 14, "MD_ASSISTANT_BTN_NEW"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !!ctx.foundUsers.length);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isLoading);
|
|
}
|
|
},
|
|
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonHeader, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScroll, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScrollContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonRow, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonTitle, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonToolbar, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControlName, _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_5__.CardFounduserLgComponent, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__.TranslatePipe],
|
|
styles: ["ion-content.selector.ios[_ngcontent-%COMP%] {\n --offset-top: 0px !important;\n}\nion-content.selector.ios[_ngcontent-%COMP%] ion-fab.fab[_ngcontent-%COMP%] {\n position: fixed;\n margin-top: 10px;\n}\nion-header.fix-header-modal-ios[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%] {\n height: 0px !important;\n --background: #fff;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n box-shadow: 0px -6px 3px rgba(0, 0, 0, 0.1);\n margin-top: 0;\n transition: margin-top 1s ease;\n background-color: #fff;\n height: 100%;\n overflow: scroll;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n display: flex;\n padding-top: 1.5em;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n margin: 32px;\n margin-bottom: 8px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n justify-content: center;\n margin: 0;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n width: 100%;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n width: 100%;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] {\n overflow: scroll;\n height: 100%;\n padding: 1em;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n width: 80%;\n margin: 0 10% 2px;\n font-weight: bold;\n text-align: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%] {\n margin: 10px 0;\n font-size: 0.9em;\n background-color: #eee;\n border: 1px solid #ccc;\n padding: 8px;\n border-radius: 2px;\n text-align: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] {\n width: 95%;\n margin: 10px 10px 10px 10px;\n border: 1px solid #eee;\n border-radius: 4px;\n padding: 10px 10px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .company[_ngcontent-%COMP%] {\n color: #aaa;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlbGVjdG9yLWZvci1hc3Npc3RhbnRzLXRvLWFkZC10by1ldmVudC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLDRCQUFBO0FBQ0Y7QUFBRTtFQUNFLGVBQUE7RUFDQSxnQkFBQTtBQUVKO0FBRUU7RUFDRSxzQkFBQTtFQUNBLGtCQUFBO0FBQ0o7QUFJRTtFQUNFLDJDQUFBO0VBQ0EsYUFBQTtFQUNBLDhCQUFBO0VBQ0Esc0JBQUE7RUFDQSxZQUFBO0VBQ0EsZ0JBQUE7QUFESjtBQUdJO0VBQ0UsYUFBQTtFQUNBLGtCQUFBO0VBQ0EsdUJBQUE7RUFDQSxtQkFBQTtFQUNBLHNCQUFBO0FBRE47QUFHTTtFQUNFLDZCQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQURSO0FBSU07RUFDRSx1QkFBQTtFQUNBLFNBQUE7QUFGUjtBQU1JO0VBQ0UsZUFBQTtFQUNBLGFBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0VBQ0Esc0JBQUE7RUFDQSxXQUFBO0FBSk47QUFNTTtFQUNFLGFBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0FBSlI7QUFNUTtFQUNFLGdCQUFBO0FBSlY7QUFNVTtFQUNFLGFBQUE7QUFKWjtBQ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ZW1zOiBjZW50ZXI7XG5cbiAgICAgICAgLm5ldy1ob2xkZXIge1xuICAgICAgICAgIG1hcmdpbi10b3A6IDE4cHg7XG5cbiAgICAgICAgICAuYnV0dG9uLWhvbGRlciB7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuYm90dG9tLW9wdGlvbnMge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICAgICAubmV3LWhvbGRlciB7XG4gICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgIC5idXR0b24taG9sZGVyIHtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDA7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAubW9kYWwtYm9keSB7XG4gICAgICAucmVzdWx0cyB7XG4gICAgICAgIG92ZXJmbG93OiBzY3JvbGw7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgcGFkZGluZzogMWVtO1xuXG4gICAgICAgIC50aXRsZSB7XG4gICAgICAgICAgZm9udC1zaXplOiBpbml0aWFsICFpbXBvcnRhbnQ7XG4gICAgICAgICAgd2lkdGg6IDgwJTtcbiAgICAgICAgICBtYXJnaW46IDAgMTAlIDJweDtcbiAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIH1cblxuICAgICAgICAuc3ViLXRpdGxlIHtcbiAgICAgICAgICBtYXJnaW46IDEwcHggMDtcbiAgICAgICAgICBmb250LXNpemU6IDAuOWVtO1xuICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZWU7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcbiAgICAgICAgICBwYWRkaW5nOiA4cHg7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogMnB4O1xuICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgfVxuXG4gICAgICAgIC5yZXN1bHQge1xuICAgICAgICAgIHdpZHRoOiA5NSU7XG4gICAgICAgICAgbWFyZ2luOiAxMHB4IDEwcHggMTBweCAxMHB4O1xuICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNlZWU7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgICAgICAgIHBhZGRpbmc6IDEwcHggMTBweDtcblxuICAgICAgICAgIC5jb21wYW55IHtcbiAgICAgICAgICAgIGNvbG9yOiAjYWFhO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19 */"]
|
|
});
|
|
|
|
/***/ }),
|
|
|
|
/***/ 33200:
|
|
/*!*********************************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/selector-for-driver-to-add-to-event/selector-for-driver-to-add-to-event.component.ts ***!
|
|
\*********************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "SelectorForDriverToAddToEventComponent": () => (/* binding */ SelectorForDriverToAddToEventComponent)
|
|
/* 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_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @shared/components */ 7667);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_4__);
|
|
/* harmony import */ var _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../card-founduser-lg/card-founduser-lg.component */ 30834);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function SelectorForDriverToAddToEventComponent_div_26_ng_container_4_ng_container_1_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "app-card-founduser-lg", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("userSelect", function SelectorForDriverToAddToEventComponent_div_26_ng_container_4_ng_container_1_Template_app_card_founduser_lg_userSelect_1_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r7);
|
|
const foundUser_r5 = restoredCtx.$implicit;
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r6.onUserSelect(foundUser_r5));
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const foundUser_r5 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("foundUser", foundUser_r5);
|
|
}
|
|
}
|
|
|
|
function SelectorForDriverToAddToEventComponent_div_26_ng_container_4_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SelectorForDriverToAddToEventComponent_div_26_ng_container_4_ng_container_1_Template, 2, 1, "ng-container", 23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.foundUsers);
|
|
}
|
|
}
|
|
|
|
function SelectorForDriverToAddToEventComponent_div_26_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 21)(1, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SelectorForDriverToAddToEventComponent_div_26_ng_container_4_Template, 2, 1, "ng-container", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, "MD_DRIVER_SUBTITLE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.isLoading);
|
|
}
|
|
}
|
|
|
|
function SelectorForDriverToAddToEventComponent_ng_container_27_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "app-card-founduser-lg", 25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("skeleton", true);
|
|
}
|
|
}
|
|
|
|
class SelectorForDriverToAddToEventComponent {
|
|
constructor(createLogisticEventService, formBuilder, modalController, changeDetectorRef, helperService, logService, userPhotoService) {
|
|
var _this = this;
|
|
|
|
this.createLogisticEventService = createLogisticEventService;
|
|
this.formBuilder = formBuilder;
|
|
this.modalController = modalController;
|
|
this.changeDetectorRef = changeDetectorRef;
|
|
this.helperService = helperService;
|
|
this.logService = logService;
|
|
this.userPhotoService = userPhotoService;
|
|
this.isLoading = false;
|
|
this.page = 0;
|
|
this.size = 15;
|
|
|
|
this.onClose = user => {
|
|
this.modalController.dismiss(user);
|
|
};
|
|
|
|
this.onUserSelect = user => {
|
|
user.fullName = this.helperService.normalizeName(user.firstName, user.lastName);
|
|
setTimeout(() => {
|
|
this.onClose(user);
|
|
}, 750);
|
|
};
|
|
|
|
this.onCreateDriver = /*#__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__.CreateDriverComponent
|
|
});
|
|
modal.onDidDismiss().then(res => {
|
|
_this.onModalDismissCallback(res);
|
|
});
|
|
yield modal.present();
|
|
});
|
|
|
|
this.onInputChange = e => {
|
|
const {
|
|
value
|
|
} = e.target;
|
|
this.infiniteScroll.disabled = false;
|
|
|
|
if (this.searchTimeout) {
|
|
clearTimeout(this.searchTimeout);
|
|
}
|
|
|
|
this.searchTimeout = setTimeout(() => {
|
|
if (value.length > 1) {
|
|
this.foundUsers = [];
|
|
this.page = 0;
|
|
}
|
|
|
|
this.doSearch(value);
|
|
}, 750);
|
|
};
|
|
|
|
this.doSearch = searchTerm => {
|
|
// const searchTerms = searchTerm.split(' ');
|
|
// const firstName = searchTerms[0].trim();
|
|
// const lastName = searchTerms.slice(1).join(' ');
|
|
// const data = {
|
|
// 'firstName.contains': firstName ? firstName : ''
|
|
// };
|
|
// if (lastName.trim().length > 0) {
|
|
// data['lastName.contains'] = lastName.trim();
|
|
// }
|
|
searchTerm = searchTerm.trim();
|
|
const data = {
|
|
searchTerm
|
|
};
|
|
this.dataTerms = data;
|
|
this.createLogisticEventService.getCompanyDrivers(data, this.page, this.size).then(this.handleGetCompanyDriversSuccessResponse).catch(this.handleGetgetCompanyDriversErrorResponse).finally(() => this.isLoading = true);
|
|
};
|
|
|
|
this.handleGetCompanyDriversSuccessResponse = response => {
|
|
console.log('handleGetCompanyDriversSuccessResponse');
|
|
console.log('response:', response);
|
|
this.setFoundUsers(response);
|
|
this.userPhotoService.enrichUsersWithPhotos(response);
|
|
};
|
|
|
|
this.handleGetgetCompanyDriversErrorResponse = error => {
|
|
console.log('handleGetgetCompanyDriversErrorResponse');
|
|
this.logService.logError('http::handleGetgetCompanyDriversErrorResponse', '', error);
|
|
console.log('error:', error);
|
|
};
|
|
|
|
this.setFoundUsers = foundUsers => {
|
|
// this.foundUsers = foundUsers.sort((a: any, b: any) => (a.firstName > b.firstName && 1) || -1);
|
|
this.foundUsers = foundUsers;
|
|
console.log('foundUsers', foundUsers);
|
|
this.changeDetectorRef.detectChanges(); // Does not work, but does not hurt either.
|
|
|
|
scrollBy(0, 1); // It wasn't detecting changes.
|
|
};
|
|
}
|
|
|
|
ngOnInit() {
|
|
this.foundUsers = [];
|
|
this.searchTimeout = null;
|
|
this.userForm = this.formBuilder.group({
|
|
searchTerm: ['']
|
|
});
|
|
}
|
|
|
|
ionViewWillEnter() {
|
|
this.onInputChange({
|
|
target: {
|
|
value: ''
|
|
}
|
|
});
|
|
}
|
|
|
|
onModalDismissCallback(detail) {
|
|
if (detail && detail.data) {
|
|
this.onUserSelect(detail.data);
|
|
}
|
|
}
|
|
|
|
loadData(event) {
|
|
this.page += 1;
|
|
this.loadMore(this.page, event);
|
|
}
|
|
|
|
loadMore(page, infiniteScroll) {
|
|
this.createLogisticEventService.getCompanyDrivers(this.dataTerms, page, this.size, !!infiniteScroll).then(drivers => {
|
|
this.isLoading = true;
|
|
|
|
if (drivers.length > 0) {
|
|
this.handleGetCompanyDriversSuccessResponse(this.foundUsers.concat(drivers));
|
|
|
|
if (this.size > 0) {
|
|
infiniteScroll.target.complete();
|
|
}
|
|
} else {
|
|
infiniteScroll.target.disabled = true;
|
|
}
|
|
}).catch(err => {
|
|
this.handleGetCompanyDriversSuccessResponse(err);
|
|
infiniteScroll.target.complete();
|
|
infiniteScroll.target.disabled = true;
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
SelectorForDriverToAddToEventComponent.ɵfac = function SelectorForDriverToAddToEventComponent_Factory(t) {
|
|
return new (t || SelectorForDriverToAddToEventComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.CreateLogisticEventService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_6__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_7__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.HelperService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.UserPhotoService));
|
|
};
|
|
|
|
SelectorForDriverToAddToEventComponent.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
|
|
type: SelectorForDriverToAddToEventComponent,
|
|
selectors: [["app-selector-for-driver-to-add-to-event"]],
|
|
viewQuery: function SelectorForDriverToAddToEventComponent_Query(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScroll, 5);
|
|
}
|
|
|
|
if (rf & 2) {
|
|
let _t;
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.infiniteScroll = _t.first);
|
|
}
|
|
},
|
|
decls: 32,
|
|
vars: 10,
|
|
consts: [[1, "fix-header-modal-ios", "ion-no-border"], [3, "ngClass"], ["horizontal", "center", "slot", "fixed", 1, "fab", 3, "click"], ["color", "medium"], ["name", "close"], [1, "content"], [1, "modal-container"], [1, "modal-title"], [1, "button-holder"], [1, "modal-body"], [3, "formGroup"], [1, "input-holder"], [1, "upper-options"], ["id", "name", "type", "text", "formControlName", "searchTerm", 2, "height", "47px", 3, "placeholder", "keyup"], [1, "new-holder"], ["type", "button", 3, "click"], ["class", "results", 4, "ngIf"], [4, "ngIf"], [1, "modal-footer"], ["threshold", "15%", "position", "bottom", 3, "ionInfinite"], ["IonInfiniteScroll", ""], [1, "results"], [1, "sub-title"], [4, "ngFor", "ngForOf"], ["typeofuser", "driver", 3, "foundUser", "userSelect"], [3, "skeleton"]],
|
|
template: function SelectorForDriverToAddToEventComponent_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "ion-header", 0)(1, "ion-toolbar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "ion-title");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "ion-content", 1)(4, "ion-fab", 2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SelectorForDriverToAddToEventComponent_Template_ion_fab_click_4_listener() {
|
|
return ctx.onClose();
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "ion-fab-button", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](6, "ion-icon", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "div", 5)(8, "div", 6)(9, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](10, "div", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "div", 9)(12, "ion-row")(13, "ion-col")(14, "form", 10)(15, "div", 11)(16, "div", 12)(17, "input", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("keyup", function SelectorForDriverToAddToEventComponent_Template_input_keyup_17_listener($event) {
|
|
return ctx.onInputChange($event);
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](18, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](19, "div", 14)(20, "div", 8)(21, "button", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SelectorForDriverToAddToEventComponent_Template_button_click_21_listener() {
|
|
return ctx.onCreateDriver();
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](23, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](24, "ion-row")(25, "ion-col");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](26, SelectorForDriverToAddToEventComponent_div_26_Template, 5, 4, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](27, SelectorForDriverToAddToEventComponent_ng_container_27_Template, 2, 1, "ng-container", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](28, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](29, "ion-infinite-scroll", 19, 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ionInfinite", function SelectorForDriverToAddToEventComponent_Template_ion_infinite_scroll_ionInfinite_29_listener($event) {
|
|
return ctx.loadData($event);
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](31, "ion-infinite-scroll-content");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", "selector");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("formGroup", ctx.userForm);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](18, 6, "MD_DRIVER_INPUT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](23, 8, "MD_DRIVER_BTN_NEW"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !!ctx.foundUsers.length);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isLoading);
|
|
}
|
|
},
|
|
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonFab, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonFabButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonHeader, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonIcon, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScroll, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonInfiniteScrollContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonRow, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonTitle, _ionic_angular__WEBPACK_IMPORTED_MODULE_7__.IonToolbar, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControlName, _card_founduser_lg_card_founduser_lg_component__WEBPACK_IMPORTED_MODULE_5__.CardFounduserLgComponent, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__.TranslatePipe],
|
|
styles: ["ion-content.selector[_ngcontent-%COMP%] {\n --offset-top: 0px !important;\n}\nion-content.selector[_ngcontent-%COMP%] ion-fab.fab[_ngcontent-%COMP%] {\n position: fixed;\n margin-top: 10px;\n}\nion-header.fix-header-modal-ios[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%] {\n height: 0px !important;\n --background: #fff;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n box-shadow: 0px -6px 3px rgba(0, 0, 0, 0.1);\n margin-top: 0;\n transition: margin-top 1s ease;\n background-color: #fff;\n height: 100%;\n overflow: scroll;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n display: flex;\n padding-top: 3.5em;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n margin: 32px;\n margin-bottom: 8px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n justify-content: center;\n margin: 0;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n width: 100%;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n width: 100%;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] {\n overflow: scroll;\n height: 100%;\n padding: 1em;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n width: 80%;\n margin: 0 10% 2px;\n font-weight: bold;\n text-align: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%] {\n margin: 10px 0;\n font-size: 0.9em;\n background-color: #eee;\n border: 1px solid #ccc;\n padding: 8px;\n border-radius: 2px;\n text-align: center;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] {\n width: 95%;\n margin: 10px 10px 10px 10px;\n border: 1px solid #eee;\n border-radius: 4px;\n padding: 10px 10px;\n}\n.selector[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .results[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .company[_ngcontent-%COMP%] {\n color: #aaa;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlbGVjdG9yLWZvci1kcml2ZXItdG8tYWRkLXRvLWV2ZW50LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsNEJBQUE7QUFDRjtBQUFFO0VBQ0UsZUFBQTtFQUNBLGdCQUFBO0FBRUo7QUFFRTtFQUNFLHNCQUFBO0VBQ0Esa0JBQUE7QUFDSjtBQUdFO0VBQ0UsMkNBQUE7RUFDQSxhQUFBO0VBQ0EsOEJBQUE7RUFDQSxzQkFBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtBQUFKO0FBRUk7RUFDRSxhQUFBO0VBQ0Esa0JBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0VBQ0Esc0JBQUE7QUFBTjtBQUVNO0VBQ0UsNkJBQUE7RUFDQSxpQkFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0FBQVI7QUFHTTtFQUNFLHVCQUFBO0VBQ0EsU0FBQTtBQURSO0FBS0k7RUF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AgIGhlaWdodDogMHB4ICFpbXBvcnRhbnQ7XG4gICAgLS1iYWNrZ3JvdW5kOiAjZmZmO1xuICB9XG59XG4uc2VsZWN0b3Ige1xuICAubW9kYWwtY29udGFpbmVyIHtcbiAgICBib3gtc2hhZG93OiAwcHggLTZweCAzcHggcmdiYSgwLCAwLCAwLCAwLjEpO1xuICAgIG1hcmdpbi10b3A6IDA7XG4gICAgdHJhbnNpdGlvbjogbWFyZ2luLXRvcCAxcyBlYXNlO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIG92ZXJmbG93OiBzY3JvbGw7XG5cbiAgICAubW9kYWwtdGl0bGUge1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIHBhZGRpbmctdG9wOiAzLjVlbTtcbiAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cbiAgICAgIC50aXRsZSB7XG4gICAgICAgIGZvbnQtc2l6ZTogaW5pdGlhbCAhaW1wb3J0YW50O1xuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICBtYXJnaW46IDMycHg7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDhweDtcbiAgICAgIH1cblxuICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgfVxuICAgIH1cblxuICAgIC5pbnB1dC1ob2xkZXIge1xuICAgICAgbWFyZ2luLXRvcDogOHB4O1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICB3aWR0aDogMTAwJTtcblxuICAgICAgLnVwcGVyLW9wdGlvbnMge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICAgICAubmV3LWhvbGRlciB7XG4gICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgIC5idXR0b24taG9sZGVyIHtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDA7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC5ib3R0b20tb3B0aW9ucyB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgIC5uZXctaG9sZGVyIHtcbiAgICAgICAgICBtYXJnaW4tdG9wOiAxOHB4O1xuXG4gICAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMDtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIC5tb2RhbC1ib2R5IHtcbiAgICAgIC5yZXN1bHRzIHtcbiAgICAgICAgb3ZlcmZsb3c6IHNjcm9sbDtcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICBwYWRkaW5nOiAxZW07XG5cbiAgICAgICAgLnRpdGxlIHtcbiAgICAgICAgICBmb250LXNpemU6IGluaXRpYWwgIWltcG9ydGFudDtcbiAgICAgICAgICB3aWR0aDogODAlO1xuICAgICAgICAgIG1hcmdpbjogMCAxMCUgMnB4O1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgfVxuXG4gICAgICAgIC5zdWItdGl0bGUge1xuICAgICAgICAgIG1hcmdpbjogMTBweCAwO1xuICAgICAgICAgIGZvbnQtc2l6ZTogMC45ZW07XG4gICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcbiAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjY2NjO1xuICAgICAgICAgIHBhZGRpbmc6IDhweDtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiAycHg7XG4gICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICB9XG5cbiAgICAgICAgLnJlc3VsdCB7XG4gICAgICAgICAgd2lkdGg6IDk1JTtcbiAgICAgICAgICBtYXJnaW46IDEwcHggMTBweCAxMHB4IDEwcHg7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2VlZTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgICAgICAgcGFkZGluZzogMTBweCAxMHB4O1xuXG4gICAgICAgICAgLmNvbXBhbnkge1xuICAgICAgICAgICAgY29sb3I6ICNhYWE7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= */"]
|
|
});
|
|
|
|
/***/ }),
|
|
|
|
/***/ 73543:
|
|
/*!*********************************************************************************************************************!*\
|
|
!*** ./src/app/logistic-events/components/solve-driver-checkin-conflict/solve-driver-checkin-conflict.component.ts ***!
|
|
\*********************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "SolveDriverCheckinConflictComponent": () => (/* binding */ SolveDriverCheckinConflictComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
|
|
|
|
function SolveDriverCheckinConflictComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-spinner", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} }
|
|
function SolveDriverCheckinConflictComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12)(1, "ion-row")(2, "ion-col")(3, "div", 13)(4, "div", 14)(5, "button", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SolveDriverCheckinConflictComponent_div_12_Template_button_click_5_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r2.deny()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "button", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SolveDriverCheckinConflictComponent_div_12_Template_button_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r4.authorize()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "ion-row")(12, "ion-col")(13, "div", 16)(14, "div", 17)(15, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 22)(23, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "div", 23)(29, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](31, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 24)(35, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](37, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "div", 25)(41, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "ion-row")(47, "ion-col")(48, "div", 16)(49, "div", 17)(50, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](52, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](54, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "div", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "div", 22)(58, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](59);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](60, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](61, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](62);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](63, "div", 23)(64, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](65);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](66, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](67, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](68);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](69, "div", 24)(70, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](71);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](72, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](73, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](74);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](75, "div", 25)(76, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](77);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](78, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](79, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](80);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()()();
|
|
} if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 22, "MD_DRIVER_CONFLICT_BTN_CONFIRM_REFUSAL"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 24, "MD_DRIVER_CONFLICT_BTN_ALLOW"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 26, "MD_DRIVER_CONFLICT_REGISTERED_DRIVER"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.registeredDriverInvite.driver.fullName, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 28, "MD_DRIVER_CONFLICT_LICENSEPLATONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getLicensePlateOneToBeRendered(ctx_r1.registeredDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](31, 30, "MD_DRIVER_CONFLICT_LICENSEPLATTWO"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getLicensePlateTwoToBeRendered(ctx_r1.registeredDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](37, 32, "MD_DRIVER_CONFLICT_ON_FOOT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getOnFootToBeRendered(ctx_r1.registeredDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 34, "MD_DRIVER_CONFLICT_VEHICLE_HAS_TRAILER"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getOnFootToBeRendered(ctx_r1.getHasCartToBeRendered), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](52, 36, "MD_DRIVER_CONFLICT_DRIVER_CHECKIN"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.candidateDriverInvite.driver.fullName, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](60, 38, "MD_DRIVER_CONFLICT_LICENSEPLATONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getLicensePlateOneToBeRendered(ctx_r1.candidateDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](66, 40, "MD_DRIVER_CONFLICT_LICENSEPLATTWO"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getLicensePlateTwoToBeRendered(ctx_r1.candidateDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](72, 42, "MD_DRIVER_CONFLICT_ON_FOOT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getOnFootToBeRendered(ctx_r1.candidateDriverInvite), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](78, 44, "MD_DRIVER_CONFLICT_VEHICLE_HAS_TRAILER"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.getOnFootToBeRendered(ctx_r1.getHasCartToBeRendered), " ");
|
|
} }
|
|
class SolveDriverCheckinConflictComponent {
|
|
constructor(modalController, portalLoginManagerService, profileManagerService, logisticEventApiService, authService, loadingService, translateConfigService) {
|
|
this.modalController = modalController;
|
|
this.portalLoginManagerService = portalLoginManagerService;
|
|
this.profileManagerService = profileManagerService;
|
|
this.logisticEventApiService = logisticEventApiService;
|
|
this.authService = authService;
|
|
this.loadingService = loadingService;
|
|
this.translateConfigService = translateConfigService;
|
|
this.loaded = false;
|
|
this.comparePendingApprovals = () => {
|
|
const profile = this.profileManagerService.getProfileLogistic();
|
|
return new Promise((resolve, reject) => {
|
|
this.authService
|
|
.getToken()
|
|
.then(token => this.portalLoginManagerService.getAccessToken(profile.login, profile.portal, token))
|
|
.then((response) => {
|
|
const accessToken = response.access_token;
|
|
return this.logisticEventApiService
|
|
.comparePendingApprovals(this.instanceName, this.inviteId, accessToken)
|
|
.subscribe(resolve, reject);
|
|
})
|
|
.catch(reject);
|
|
}).finally(() => (this.loaded = true));
|
|
};
|
|
this.handleComparePendingApprovalsSuccessResponse = response => {
|
|
console.log('handleComparePendingApprovalsSuccessResponse:', response);
|
|
this.loadingService.hide(null, 'loading-drivers-data');
|
|
const current = response.current;
|
|
const previous = response.previous;
|
|
this.registeredDriverInvite = previous;
|
|
this.candidateDriverInvite = current;
|
|
};
|
|
this.handleComparePendingApprovalsErrorResponse = error => {
|
|
this.loadingService.hide(null, 'loading-drivers-data');
|
|
console.log('handleComparePendingApprovalsErrorResponse:', error);
|
|
};
|
|
this.getLicensePlateOneToBeRendered = data => {
|
|
if (data && data.driver && data.driver.licensePlateOne) {
|
|
return data.driver.licensePlateOne;
|
|
}
|
|
return;
|
|
};
|
|
this.getLicensePlateTwoToBeRendered = data => {
|
|
if (data && data.driver && data.driver.licensePlateTwo) {
|
|
return data.driver.licensePlateTwo;
|
|
}
|
|
return;
|
|
};
|
|
this.getOnFootToBeRendered = data => {
|
|
if (data && data.driver) {
|
|
return data.driver.onFoot
|
|
? this.translateConfigService.translate('TEXT_YES')
|
|
: this.translateConfigService.translate('TEXT_NOT');
|
|
}
|
|
return;
|
|
};
|
|
this.getHasCartToBeRendered = data => {
|
|
if (data && data.driver) {
|
|
return data.driver.hasCart
|
|
? this.translateConfigService.translate('TEXT_YES')
|
|
: this.translateConfigService.translate('TEXT_NOT');
|
|
}
|
|
return;
|
|
};
|
|
this.deny = () => {
|
|
const data = {
|
|
action: 'deny',
|
|
invite: {
|
|
companyInstance: this.candidateDriverInvite.company.instanceName,
|
|
inviteId: this.candidateDriverInvite.driver.inviteId,
|
|
eventId: this.candidateDriverInvite.driver.eventId,
|
|
event: {
|
|
eventId: this.candidateDriverInvite.driver.eventId,
|
|
target: this.candidateDriverInvite.target
|
|
},
|
|
...this.candidateDriverInvite
|
|
}
|
|
};
|
|
this.modalController.dismiss(data);
|
|
};
|
|
this.authorize = () => {
|
|
const data = {
|
|
action: 'authorize',
|
|
invite: {
|
|
eventId: this.candidateDriverInvite.driver.eventId,
|
|
companyInstance: this.candidateDriverInvite.company.instanceName,
|
|
inviteId: this.candidateDriverInvite.driver.inviteId,
|
|
event: {
|
|
eventId: this.candidateDriverInvite.driver.eventId,
|
|
target: this.candidateDriverInvite.target
|
|
},
|
|
...this.candidateDriverInvite
|
|
}
|
|
};
|
|
this.modalController.dismiss(data);
|
|
};
|
|
this.onClose = () => {
|
|
this.modalController.dismiss();
|
|
};
|
|
}
|
|
ngOnInit() {
|
|
this.loadingService.show(this.translateConfigService.translate('LOADING_DATA'), 'loading-drivers-data');
|
|
this.comparePendingApprovals()
|
|
.then(this.handleComparePendingApprovalsSuccessResponse)
|
|
.catch(this.handleComparePendingApprovalsErrorResponse);
|
|
}
|
|
}
|
|
SolveDriverCheckinConflictComponent.ɵfac = function SolveDriverCheckinConflictComponent_Factory(t) { return new (t || SolveDriverCheckinConflictComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_3__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.PortalLoginManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.ProfileManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.LogisticEventApiService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.AuthService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_1__.TranslateConfigService)); };
|
|
SolveDriverCheckinConflictComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SolveDriverCheckinConflictComponent, selectors: [["app-solve-driver-checkin-conflict"]], inputs: { inviteId: "inviteId", instanceName: "instanceName" }, decls: 14, vars: 9, consts: [[3, "ngClass"], [1, "content"], [1, "modal-container"], [1, "modal-title"], [1, "button-holder"], [1, "back", 3, "click"], [1, "title"], ["class", "spinner", 4, "ngIf"], ["class", "modal-body", 4, "ngIf"], [1, "modal-footer"], [1, "spinner"], ["mode", "ios", "name", "crescent"], [1, "modal-body"], [1, "section", "bottom"], [1, "actions", "two-or-more"], ["type", "button", 3, "click"], [1, "driver-holder"], [1, "item", "driver-details"], [1, "label"], [1, "value"], [1, "photo"], [1, "name"], [1, "item", "license-plate-one-details"], [1, "item", "license-plate-two-details"], [1, "item", "entrance-type-details"], [1, "item", "has-cart-details"]], template: function SolveDriverCheckinConflictComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "button", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SolveDriverCheckinConflictComponent_Template_button_click_5_listener() { return ctx.onClose(); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, SolveDriverCheckinConflictComponent_div_11_Template, 2, 0, "div", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, SolveDriverCheckinConflictComponent_div_12_Template, 81, 46, "div", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "div", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", "selector");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 5, "BTN_BACK"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 7, "MD_DRIVER_CONFLICT_TITLE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.loaded);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.registeredDriverInvite && ctx.candidateDriverInvite && ctx.loaded);
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_3__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_3__.IonRow, _ionic_angular__WEBPACK_IMPORTED_MODULE_3__.IonSpinner, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__.TranslatePipe], styles: ["ion-content.selector.ios[_ngcontent-%COMP%] {\n --offset-top: 0px !important;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n height: 100vh;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] {\n box-shadow: 0px -6px 3px rgba(0, 0, 0, 0.1);\n margin-top: 0;\n transition: margin-top 1s ease;\n background-color: #fff;\n height: 100%;\n overflow: scroll;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n display: flex;\n padding-top: 1em;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n margin: 32px;\n margin-bottom: 24px 32px 8px 32px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n justify-content: center;\n margin: 0;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .upper-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] {\n margin-top: 18px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .bottom-options[_ngcontent-%COMP%] .new-holder[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n width: 100%;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n margin: 8px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .actions.two-or-more[_ngcontent-%COMP%] {\n justify-content: space-around;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .actions.only-one[_ngcontent-%COMP%] {\n justify-content: center;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n font-size: 1em;\n color: #0ec254;\n background-color: #fff;\n padding: 0.5em 1.25em;\n border-radius: 32px;\n border: 1px solid #0ec254;\n transition: background-color 0.1s ease-out;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active {\n background-color: #0ec254;\n color: #fff;\n transition: background-color 0.1s ease-out;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .driver-holder[_ngcontent-%COMP%] {\n padding: 16px;\n border: 1px solid #eee;\n border-radius: 8px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .driver-holder[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] {\n margin-bottom: 12px;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .driver-holder[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .driver-holder[_ngcontent-%COMP%] .driver-details[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n color: #0ec254;\n}\n\n.selector[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50vh;\n}\n/*# sourceMappingURL=data:application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ZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudGl0bGUge1xuICAgICAgICAgIGZvbnQtc2l6ZTogaW5pdGlhbCAhaW1wb3J0YW50O1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgICBtYXJnaW46IDMycHg7XG4gICAgICAgICAgbWFyZ2luLWJvdHRvbTogMjRweCAzMnB4IDhweCAzMnB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuaW5wdXQtaG9sZGVyIHtcbiAgICAgICAgbWFyZ2luLXRvcDogOHB4O1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgICAudXBwZXItb3B0aW9ucyB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgLm5ldy1ob2xkZXIge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC5ib3R0b20tb3B0aW9ucyB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgLm5ldy1ob2xkZXIge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMThweDtcblxuICAgICAgICAgICAgLmJ1dHRvbi1ob2xkZXIge1xuICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLm1vZGFsLWJvZHkge1xuICAgICAgICAuYWN0aW9ucyB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgIG1hcmdpbjogOHB4O1xuXG4gICAgICAgICAgJi50d28tb3ItbW9yZSB7XG4gICAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWFyb3VuZDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAmLm9ubHktb25lIHtcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGJ1dHRvbiB7XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgICAgIGNvbG9yOiAjMGVjMjU0O1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgICAgICAgICAgIHBhZGRpbmc6IDAuNWVtIDEuMjVlbTtcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDMycHg7XG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjMGVjMjU0O1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2Utb3V0O1xuXG4gICAgICAgICAgICAmOmFjdGl2ZSB7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMwZWMyNTQ7XG4gICAgICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1vdXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLmRyaXZlci1ob2xkZXIge1xuICAgICAgICAgIHBhZGRpbmc6IDE2cHg7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2VlZTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA4cHg7XG5cbiAgICAgICAgICAuaXRlbSB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxMnB4O1xuICAgICAgICAgIH1cblxuICAgICAgICAgIC5sYWJlbCB7XG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAudmFsdWUge1xuICAgICAgICAgIH1cblxuICAgICAgICAgIC5kcml2ZXItZGV0YWlscyB7XG4gICAgICAgICAgICAubGFiZWwge1xuICAgICAgICAgICAgICBjb2xvcjogIzBlYzI1NDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAuc3Bpbm5lciB7XG4gICAgICBkaXNwbGF5OiAtd2Via2l0LWJveDtcbiAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAtd2Via2l0LWJveC1wYWNrOiBjZW50ZXI7XG4gICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgIC13ZWJraXQtYm94LWFsaWduOiBjZW50ZXI7XG4gICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgaGVpZ2h0OiA1MHZoO1xuICAgIH1cbiAgfVxufVxuIl19 */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 16758:
|
|
/*!************************************************************************************!*\
|
|
!*** ./src/app/push-notifications/components/card-fss-v2/card-fss-v2.component.ts ***!
|
|
\************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardFssV2Component": () => (/* binding */ CardFssV2Component)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @environment */ 92340);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
/* harmony import */ var _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/pipes/extractinfo.pipe */ 44173);
|
|
/* harmony import */ var _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../shared/pipes/get-initials.pipe */ 31765);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function CardFssV2Component_ng_container_0_ion_avatar_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_ion_avatar_4_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r12.showPhoto.emit({ data: ctx_r12.event, photo: ctx_r12.event == null ? null : ctx_r12.event.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (ctx_r1.event == null ? null : ctx_r1.event.thumbnailImage));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ion_avatar_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 34)(1, "div", 35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = ctx_r14.event == null ? null : ctx_r14.event.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = ctx_r14.event == null ? null : ctx_r14.event.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ion_avatar_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssV2Component_ng_container_0_ion_avatar_5_div_1_Template, 4, 4, "div", 33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r2.event == null ? null : ctx_r2.event.initials) && !(ctx_r2.event == null ? null : ctx_r2.event.thumbnailImage));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_small_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "small");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATION_TEXT_DRIVER"), " ");
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 36)(1, "ion-button", 37);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_14_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r15.onDenyAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r4.buttonConfig.denyButtonLabel));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 36)(1, "ion-button", 37);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_15_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r17.onDenyOneClick(ctx_r17.event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r5.buttonConfig.denyButtonLabel));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38)(1, "ion-button", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_21_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r19.onAllowOneClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r6.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38)(1, "ion-button", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_22_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r21.onAllowAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r7.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_23_Template(rf, ctx) { if (rf & 1) {
|
|
const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38)(1, "ion-button", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_23_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r24); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r23.onAllowPartialClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r8.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_24_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38)(1, "ion-button", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_24_div_15_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r28); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r27.onAllowAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 41)(3, "span", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_24_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38)(1, "ion-button", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_24_div_16_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r30); const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r29.onAllowPartialClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 41)(3, "span", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_PARTIALLY"));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 40)(1, "div", 36)(2, "ion-button", 37);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_24_Template_ion_button_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r31.onDenyAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 41)(4, "span", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "span", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 11)(11, "ion-button", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_div_24_Template_ion_button_click_11_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r33.onReviewClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, CardFssV2Component_ng_container_0_div_24_div_15_Template, 9, 6, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, CardFssV2Component_ng_container_0_div_24_div_16_Template, 9, 6, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 5, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 7, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 9, "PG_PUSH_NOTIFICATION_BTN_REVIEW"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.buttonConfig.showAllowAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.buttonConfig.showAllowPartial);
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_59_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 47)(1, "div", 48);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 49);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.VISITOR_CONTACT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r34.event == null ? null : ctx_r34.event.eventRequestNotes, "contact"));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_59_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 50)(1, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 52);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.TALK_TO"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r35.event == null ? null : ctx_r35.event.eventRequestNotes, "name"));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_59_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 53)(1, "div", 54);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 55);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.REASON_VISIT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r36.event == null ? null : ctx_r36.event.eventRequestNotes, "subject"));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_59_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssV2Component_ng_container_0_ng_container_59_div_1_Template, 7, 7, "div", 44);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardFssV2Component_ng_container_0_ng_container_59_div_3_Template, 7, 7, "div", 45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardFssV2Component_ng_container_0_ng_container_59_div_5_Template, 7, 7, "div", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 3, ctx_r10.event == null ? null : ctx_r10.event.eventRequestNotes, "contact"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](4, 6, ctx_r10.event == null ? null : ctx_r10.event.eventRequestNotes, "name"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.event == null ? null : ctx_r10.event.eventRequestNotes);
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_2_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r44); const escort_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r42.showPhoto.emit({ data: escort_r38, photo: escort_r38 == null ? null : escort_r38.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const escort_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (escort_r38 == null ? null : escort_r38.thumbnailImage));
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 66)(1, "div", 35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const escort_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = escort_r38 == null ? null : escort_r38.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = escort_r38 == null ? null : escort_r38.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""), " ");
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_3_div_1_Template, 4, 4, "div", 65);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const escort_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (escort_r38 == null ? null : escort_r38.initials) && !(escort_r38 == null ? null : escort_r38.thumbnailImage));
|
|
} }
|
|
const _c0 = function (a0) { return { "is-denied": a0 }; };
|
|
function CardFssV2Component_ng_container_0_ng_container_60_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
const _r50 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 59)(1, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_2_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardFssV2Component_ng_container_0_ng_container_60_div_6_ion_avatar_3_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 60)(5, "div", 61)(6, "div", 62);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 61)(9, "div", 63)(10, "ion-button", 64);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_ng_container_60_div_6_Template_ion_button_click_10_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r50); const escort_r38 = restoredCtx.$implicit; const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r49.onDenyOneClick(escort_r38)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()()();
|
|
} if (rf & 2) {
|
|
const escort_r38 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](11, _c0, (escort_r38 == null ? null : escort_r38.status) === "INVITE_NOT_APPROVED"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", escort_r38 == null ? null : escort_r38.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(escort_r38 == null ? null : escort_r38.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", escort_r38.firstName, " ", escort_r38.lastName, "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fill", (escort_r38 == null ? null : escort_r38.status) === "INVITE_NOT_APPROVED" ? "solid" : "outline");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", (escort_r38 == null ? null : escort_r38.status) === "INVITE_NOT_APPROVED" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 7, "PG_PUSH_NOTIFICATION_BTN_DENIED") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 9, "PG_PUSH_NOTIFICATION_BTN_DENY"), " ");
|
|
} }
|
|
function CardFssV2Component_ng_container_0_ng_container_60_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 56)(2, "div", 57);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardFssV2Component_ng_container_0_ng_container_60_div_6_Template, 14, 13, "div", 58);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", !ctx_r11.isLogisticEvent ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_TEXT_ESCORTS") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "PG_PUSH_NOTIFICATION_TEXT_ASSISTANTS"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r11.event.escorts);
|
|
} }
|
|
const _c1 = function (a0) { return { "btns--stacked": a0 }; };
|
|
function CardFssV2Component_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
const _r52 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardFssV2Component_ng_container_0_ion_avatar_4_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardFssV2Component_ng_container_0_ion_avatar_5_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardFssV2Component_ng_container_0_small_7_Template, 3, 3, "small", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "p", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 8)(11, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, CardFssV2Component_ng_container_0_div_14_Template, 5, 3, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, CardFssV2Component_ng_container_0_div_15_Template, 5, 3, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 11)(17, "ion-button", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssV2Component_ng_container_0_Template_ion_button_click_17_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r52); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r51.onReviewClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, CardFssV2Component_ng_container_0_div_21_Template, 5, 3, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, CardFssV2Component_ng_container_0_div_22_Template, 5, 3, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](23, CardFssV2Component_ng_container_0_div_23_Template, 5, 3, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, CardFssV2Component_ng_container_0_div_24_Template, 17, 11, "div", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "div", 15)(26, "div", 16)(27, "div", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](29, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "div", 20)(34, "div", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](36, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div", 23)(40, "div", 16)(41, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "div", 25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](46, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "div", 20)(48, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](50, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](52);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "div", 28)(54, "div", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](55);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](56, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "div", 30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](58);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](59, CardFssV2Component_ng_container_0_ng_container_59_Template, 6, 9, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](60, CardFssV2Component_ng_container_0_ng_container_60_Template, 7, 6, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.event == null ? null : ctx_r0.event.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r0.event == null ? null : ctx_r0.event.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.isLogisticEvent && (ctx_r0.event == null ? null : ctx_r0.event.driver));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx_r0.isLogisticEvent && (ctx_r0.event == null ? null : ctx_r0.event.driver) ? (ctx_r0.event == null ? null : ctx_r0.event.driver == null ? null : ctx_r0.event.driver.firstName) + " " + (ctx_r0.event == null ? null : ctx_r0.event.driver == null ? null : ctx_r0.event.driver.lastName) : (ctx_r0.event == null ? null : ctx_r0.event.firstName) + " " + (ctx_r0.event == null ? null : ctx_r0.event.lastName), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.title);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](37, _c1, ctx_r0.buttonConfig.showDenyAll && (ctx_r0.buttonConfig.showAllowAll || ctx_r0.buttonConfig.showAllowPartial)));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showDenyAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showDenyOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 25, "PG_PUSH_NOTIFICATION_BTN_REVIEW"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showAllowOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showAllowAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showAllowPartial);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.buttonConfig.showDenyAll && (ctx_r0.buttonConfig.showAllowAll || ctx_r0.buttonConfig.showAllowPartial));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](29, 27, "PG_PUSH_NOTIFICATION_TEXT_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.title);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](36, 29, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 31, "PG_PUSH_NOTIFICATION_TEXT_STARTS_IN"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.startAt);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](50, 33, "PG_PUSH_NOTIFICATION_TEXT_END_IN"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.endAt);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](56, 35, "PG_PUSH_NOTIFICATION_TEXT_VISITOR_COMPANY"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.event == null ? null : ctx_r0.event.company);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.event == null ? null : ctx_r0.event.eventRequestNotes);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r0.event == null ? null : ctx_r0.event.escorts == null ? null : ctx_r0.event.escorts.length) > 0);
|
|
} }
|
|
class CardFssV2Component {
|
|
constructor() {
|
|
this.disabled = false;
|
|
this.isLogisticEvent = false;
|
|
this.disabledEdit = false;
|
|
this.initials = '';
|
|
this.stepOneApproveEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.goToReviewEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.reproveEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.showPhoto = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.allowOne = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.allowAll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.allowPartial = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denyOne = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denyAll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.env = _environment__WEBPACK_IMPORTED_MODULE_1__.environment;
|
|
console.log('event', this.event);
|
|
}
|
|
ngOnInit() {
|
|
console.log('[card-fss-v2] ngOnInit event:', this.event);
|
|
console.log('[card-fss-v2] ngOnInit escorts:', this.event?.escorts?.map((e) => ({
|
|
inviteId: e?.inviteId,
|
|
id: e?.id,
|
|
refId: e?.refId,
|
|
name: e?.firstName,
|
|
status: e?.status
|
|
})));
|
|
console.log('[card-fss-v2] ngOnInit visitors:', this.event?.visitors?.map((v) => ({
|
|
inviteId: v?.inviteId,
|
|
id: v?.id,
|
|
refId: v?.refId,
|
|
name: v?.firstName,
|
|
status: v?.status
|
|
})));
|
|
console.log('[card-fss-v2] ngOnInit event keys:', {
|
|
eventId: this.event?.id,
|
|
status: this.event?.status,
|
|
target: this.event?.target,
|
|
companyInstance: this.event?.companyInstance
|
|
});
|
|
}
|
|
get companionCount() {
|
|
const escortsCount = this.event?.escorts?.length || 0;
|
|
const visitorsCount = this.event?.visitors?.length || 0;
|
|
return escortsCount + visitorsCount;
|
|
}
|
|
get hasPartialDenial() {
|
|
const hasEscortDenied = this.event?.escorts?.some((companion) => companion?.status === 'INVITE_NOT_APPROVED') || false;
|
|
const hasVisitorDenied = this.event?.visitors?.some((companion) => companion?.status === 'INVITE_NOT_APPROVED') || false;
|
|
return hasEscortDenied || hasVisitorDenied;
|
|
}
|
|
get isLogistic() {
|
|
return this.event?.target === 'LOGISTIC';
|
|
}
|
|
get buttonConfig() {
|
|
const count = this.companionCount;
|
|
const hasPartial = this.hasPartialDenial;
|
|
const isLogisticEvent = this.isLogistic;
|
|
if (isLogisticEvent) {
|
|
// Logistic events: no partial approval, no individual deny for single companion
|
|
if (count === 0) {
|
|
// Apenas visitante principal, sem acompanhantes
|
|
return {
|
|
showAllowOne: true,
|
|
showAllowAll: false,
|
|
showAllowPartial: false,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
else {
|
|
// Visitante principal + acompanhante(s) (count >= 1)
|
|
return {
|
|
showAllowOne: false,
|
|
showAllowAll: true,
|
|
showAllowPartial: false,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ALL',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
}
|
|
else {
|
|
// Building events: support partial approval
|
|
if (hasPartial) {
|
|
return {
|
|
showAllowOne: false,
|
|
showAllowAll: false,
|
|
showAllowPartial: true,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_PARTIAL',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
else if (count === 0) {
|
|
// Apenas visitante principal, sem acompanhantes
|
|
return {
|
|
showAllowOne: true,
|
|
showAllowAll: false,
|
|
showAllowPartial: false,
|
|
showDenyOne: true,
|
|
showDenyAll: false,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ONE'
|
|
};
|
|
}
|
|
else {
|
|
// Visitante principal + acompanhante(s) (count >= 1)
|
|
return {
|
|
showAllowOne: false,
|
|
showAllowAll: true,
|
|
showAllowPartial: false,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ALL',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
}
|
|
}
|
|
onAllowOneClick() {
|
|
this.allowOne.emit(this.event);
|
|
}
|
|
onAllowAllClick() {
|
|
this.allowAll.emit(this.event);
|
|
}
|
|
onAllowPartialClick() {
|
|
this.allowPartial.emit(this.event);
|
|
}
|
|
onDenyOneClick(data) {
|
|
this.denyOne.emit({ ...data, event: this.event });
|
|
}
|
|
onDenyAllClick() {
|
|
this.denyAll.emit(this.event);
|
|
}
|
|
onReviewClick() {
|
|
this.goToReviewEvent.emit(this.event);
|
|
}
|
|
}
|
|
CardFssV2Component.ɵfac = function CardFssV2Component_Factory(t) { return new (t || CardFssV2Component)(); };
|
|
CardFssV2Component.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CardFssV2Component, selectors: [["app-card-fss-v2"]], inputs: { getVisitorCompanyName: "getVisitorCompanyName", event: "event", disabled: "disabled", isLogisticEvent: "isLogisticEvent", disabledEdit: "disabledEdit", initials: "initials" }, outputs: { stepOneApproveEvent: "stepOneApproveEvent", goToReviewEvent: "goToReviewEvent", reproveEvent: "reproveEvent", showPhoto: "showPhoto", allowOne: "allowOne", allowAll: "allowAll", allowPartial: "allowPartial", denyOne: "denyOne", denyAll: "denyAll" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "card"], [1, "block_one"], [1, "block_one__photo"], [3, "click", 4, "ngIf"], [1, "block_one__sub"], [1, "block_one__sub__full-name"], [3, "innerHTML"], [1, "block_one__sub__type_event"], [1, "block_two", "btns", 3, "ngClass"], ["class", "b3", 4, "ngIf"], [1, "b2"], ["size", "small", "mode", "ios", 1, "b2", 3, "click"], ["class", "b1", 4, "ngIf"], ["class", "block_two btns btns--split-label", 4, "ngIf"], [1, "block_tree"], [1, "col1"], [1, "title_event"], [1, "desc_event"], [1, "col"], [1, "col2"], [1, "title_company"], [1, "desc_company"], [1, "block_for"], [1, "title_start"], [1, "desc_start"], [1, "title_end"], [1, "desc_end"], [1, "company_visited"], [1, "title_visited"], [1, "desc_company_visited"], [3, "click"], [3, "src"], ["class", "initials", 4, "ngIf"], [1, "initials"], [1, "content"], [1, "b3"], ["size", "small", "mode", "ios", 1, "b3", 3, "click"], [1, "b1"], ["size", "small", "mode", "ios", 1, "b1", 3, "click"], [1, "block_two", "btns", "btns--split-label"], [1, "split-label"], [1, "split-label__main"], [1, "split-label__sub"], ["class", "contact_visited", 4, "ngIf"], ["class", "contact_like", 4, "ngIf"], ["class", "reason", 4, "ngIf"], [1, "contact_visited"], [1, "title_contact"], [1, "desc_contact"], [1, "contact_like"], [1, "title_like"], [1, "desc_like"], [1, "reason"], [1, "title_reason"], [1, "desc_reason"], [1, "block_five"], [1, "title_champions"], ["class", "champion", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "champion", 3, "ngClass"], [1, "col12", "champion"], [1, "col6"], [1, "desc_champions"], [1, "btn_reprove"], ["mode", "ios", "size", "small", "color", "danger", 3, "fill", "click"], ["class", "initials escort", 4, "ngIf"], [1, "initials", "escort"]], template: function CardFssV2Component_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardFssV2Component_ng_container_0_Template, 61, 39, "ng-container", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.event == null ? null : ctx.event.status) === "WAITING_FOR_EVENT_APPROVE" && (ctx.event == null ? null : ctx.event.firstName));
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonAvatar, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonImg, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslatePipe, _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_3__.ExtractInfoPipe, _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_4__.GetInitialsPipe], styles: [".card[_ngcontent-%COMP%] {\n background-color: #ffffff;\n border-radius: 10px;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1019607843);\n padding: 1.5em 1em;\n margin: 0.7em;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] {\n height: 64px;\n min-width: 64px;\n border-radius: 50%;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n font-size: 0.9em;\n font-weight: 600;\n}\n.card[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 20px;\n margin: 0 0 0.8em 0;\n padding: 5px 0;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n object-fit: cover;\n border-radius: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one__sub[_ngcontent-%COMP%] {\n min-height: 64px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] {\n font-weight: 700;\n color: #535354;\n font-size: 0.9em;\n letter-spacing: 0.28px;\n line-height: 18px;\n width: 100%;\n text-transform: uppercase;\n margin-bottom: 6px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 3px 10px;\n background-color: #ed9f29;\n border-radius: 6px;\n overflow: hidden;\n height: 22px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] {\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] {\n width: 100%;\n display: inline-flex;\n flex-wrap: wrap;\n justify-content: space-between;\n justify-items: center;\n align-items: center;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n background: transparent !important;\n height: 35px;\n border-radius: 8px;\n --border-radius: 8px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n text-align: center;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b1[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b2[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #b1b1b1;\n --background-activated: #959595;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b3[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #d84645;\n --background-activated: #e65959;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: auto;\n gap: 8px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two.btns--stacked[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--split-label[_ngcontent-%COMP%] {\n display: none;\n width: 100%;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: center;\n height: auto;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--split-label[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n height: auto;\n min-height: 40px;\n padding: 4px 0;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--split-label[_ngcontent-%COMP%] .split-label[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.2;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--split-label[_ngcontent-%COMP%] .split-label__main[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns--split-label[_ngcontent-%COMP%] .split-label__sub[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #ffffff;\n font-size: 11px;\n letter-spacing: 0.2px;\n opacity: 0.9;\n}\n.card[_ngcontent-%COMP%] .block_tree[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.75em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .block_for[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.75em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .company_visited[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .contact_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .contact_like[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .title_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_contact[_ngcontent-%COMP%] {\n width: auto;\n height: 18px;\n font-weight: 400;\n color: #a8a8a8;\n font-size: 14px;\n letter-spacing: 0.28px;\n line-height: 18px;\n}\n.card[_ngcontent-%COMP%] .desc_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_contact[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%] {\n width: auto;\n font-weight: 600;\n color: #535354;\n font-size: 0.93em;\n letter-spacing: 0.3px;\n line-height: 18px;\n margin-top: 4px;\n}\n.card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n width: 100%;\n margin-top: 0 !important;\n height: auto !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 15px;\n margin-bottom: 5px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion.is-denied[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion.is-denied[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n opacity: 0.35;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 40px !important;\n height: 40px !important;\n min-width: 40px !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] {\n width: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 100% !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n height: 18px;\n text-transform: uppercase;\n font-weight: 700;\n color: #535354;\n font-size: 13px;\n letter-spacing: 0.26px;\n line-height: 18px;\n}\n@media (max-width: 359px) {\n .block_two.btns[_ngcontent-%COMP%] {\n height: auto !important;\n display: flex !important;\n flex-direction: row;\n width: 100% !important;\n justify-content: space-between;\n }\n .block_two.btns[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .block_two.btns[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .block_two.btns[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 84px !important;\n }\n}\n.col12.champion[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n}\n.col12.champion[_ngcontent-%COMP%] .btn_reprove[_ngcontent-%COMP%] {\n height: 30px;\n width: auto;\n display: flex;\n align-items: center;\n}\n.col12.champion[_ngcontent-%COMP%] .btn_reprove[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n --padding-start: 0;\n --padding-end: 0;\n width: 78px;\n text-align: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhcmQtZnNzLXYyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0UseUJBQUE7RUFDQSxtQkFBQTtFQUNBLG9EQUFBO0VBQ0Esa0JBQUE7RUFDQSxhQUFBO0FBREY7QUFHRTtFQUNFLFlBQUE7RUFDQSxlQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0VBQ0Esc0JBQUE7QUFESjtBQUdJO0VBQ0UsZ0JBQUE7RUFDQSxnQkFBQTtBQUROO0FBS0U7O0VBRUUsVUFBQTtBQUhKO0FBT0U7RUFDRSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxXQUFBO0VBQ0EsU0FBQTtFQUNBLG1CQUFBO0VBQ0EsY0FBQTtBQUxKO0FBT0k7RUFDRSxXQUFBO0VBQ0EsWUFBQTtBQUxOO0FBT007RUFDRSxXQUFBO0VBQ0EsWUFBQTtBQUxSO0FBUU07RUFDRSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0Esa0JBQUE7QUFOUjtBQVVJO0VBQ0UsZ0JBQUE7RUFDQSxhQUFBO0VBQ0Esc0JBQUE7RUFDQSx1QkFBQTtFQUNBLHVCQUFBO0FBUk47QUFVTTtFQUNFLGdCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0Esc0JBQUE7RUFDQSxpQkFBQTtFQUNBLFdBQUE7RUFDQSx5QkFBQTtFQU1BLGtCQUFBO0FBYlI7QUFTUTtFQUNFLFNBQUE7QUFQVjtBQWF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ZWN0aW9uOiBjb2x1bW47XG4gICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAmX19mdWxsLW5hbWUge1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBjb2xvcjogIzUzNTM1NDtcbiAgICAgICAgZm9udC1zaXplOiAwLjllbTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMjhweDtcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXG4gICAgICAgIHAge1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgfVxuXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDZweDtcbiAgICAgIH1cblxuICAgICAgJl9fdHlwZV9ldmVudCB7XG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgZ2FwOiAxMHB4O1xuICAgICAgICBwYWRkaW5nOiAzcHggMTBweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VkOWYyOTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNnB4O1xuICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgICAgICBoZWlnaHQ6IDIycHg7XG5cbiAgICAgICAgcCB7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vIEJvdMO1ZXNcbiAgLmJsb2NrX3R3byB7XG5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XG4gICAgICAuYjMge1xuICAgICAgICB3aWR0aDogMTAwJTtcblxuICAgICAgICBpb24tYnV0dG9uIHtcbiAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIC8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuICAgIC8vIFZlcnPDo28gMjogQm90w7VlcyBsYWRvIGEgbGFkbyBjb20gdGV4dG8gcXVlYnJhZG9cbiAgICAvLyBcIlBlcm1pdGlyXCIgZW0gY2ltYSBlIFwiVG9kb3NcIiBtZW5vciBlbWJhaXhvXG4gICAgLy8gT3MgYm90w7VlcyBjb250aW51YW0gaW5saW5lLCBsYWRvIGEgbGFkb1xuICAgIC8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuICAgICYuYnRucy0tc3BsaXQtbGFiZWwge1xuICAgICAgZGlzcGxheTogbm9uZTsgLy8gRXNjb25kaWRvIHBvciBwYWRyw6NvIChWZXJzw6NvIDEgw6kgYSBhdGl2YSlcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgZmxleC13cmFwOiB3cmFwO1xuICAgICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGhlaWdodDogYXV0bztcblxuICAgICAgaW9uLWJ1dHRvbiB7XG4gICAgICAgIGhlaWdodDogYXV0bztcbiAgICAgICAgbWluLWhlaWdodDogNDBweDtcbiAgICAgICAgcGFkZGluZzogNHB4IDA7XG4gICAgICB9XG5cbiAgICAgIC5zcGxpdC1sYWJlbCB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxLjI7XG5cbiAgICAgICAgJl9fbWFpbiB7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICAgICAgY29sb3I6ICNmZmZmZmY7XG4gICAgICAgICAgZm9udC1zaXplOiAxNXB4O1xuICAgICAgICAgIGxldHRlci1zcGFjaW5nOiAwLjNweDtcbiAgICAgICAgfVxuXG4gICAgICAgICZfX3N1YiB7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgICAgICAgICBjb2xvcjogI2ZmZmZmZjtcbiAgICAgICAgICBmb250LXNpemU6IDExcHg7XG4gICAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMnB4O1xuICAgICAgICAgIG9wYWNpdHk6IDAuOTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC5ibG9ja190cmVlIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjc1ZW07XG4gICAgZ2FwOiAxZW07XG4gIH1cblxuICAuYmxvY2tfZm9yIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjc1ZW07XG4gICAgZ2FwOiAxZW07XG4gIH1cblxuICAuY29tcGFueV92aXNpdGVkIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICB3aWR0aDogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjc1ZW07XG4gIH1cblxuICAuY29udGFjdF92aXNpdGVkLFxuICAucmVhc29uLFxuICAuY29udGFjdF9saWtlIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICB3aWR0aDogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjc1ZW07XG4gIH1cblxuICAucmVhc29uIH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F5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cbiAgICAudGl0bGVfY2hhbXBpb25zIHtcbiAgICAgIG1hcmdpbi1ib3R0b206IDhweDtcbiAgICB9XG5cbiAgICAuY2hhbXBpb24ge1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICBnYXA6IDE1cHg7XG4gICAgICBtYXJnaW4tYm90dG9tOiA1cHg7XG5cbiAgICAgICYuaXMtZGVuaWVkIC5jb2wxLFxuICAgICAgJi5pcy1kZW5pZWQgLmRlc2NfY2hhbXBpb25zIHtcbiAgICAgICAgb3BhY2l0eTogMC4zNTtcbiAgICAgIH1cblxuICAgICAgLmluaXRpYWxzLmVzY29ydCB7XG4gICAgICAgIHdpZHRoOiA0MHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIGhlaWdodDogNDBweCAhaW1wb3J0YW50O1xuICAgICAgICBtaW4td2lkdGg6IDQwcHggIWltcG9ydGFudDtcbiAgICAgIH1cblxuICAgICAgLmNvbDEge1xuICAgICAgICBpb24tYXZhdGFyIHtcbiAgICAgICAgICB3aWR0aDogNDBweDtcbiAgICAgICAgICBoZWlnaHQ6IDQwcHg7XG4gICAgICAgIH1cblxuICAgICAgICB3aWR0aDogNDBweDtcbiAgICAgIH1cblxuICAgICAgLmNvbDIge1xuICAgICAgICB3aWR0aDogMTAwJSAhaW1wb3J0YW50O1xuICAgICAgfVxuICAgIH1cblxuICAgIC5kZXNjX2NoYW1waW9ucyB7XG4gICAgICBoZWlnaHQ6IDE4cHg7XG4gICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgICAgIGNvbG9yOiAjNTM1MzU0O1xuICAgICAgZm9udC1zaXplOiAxM3B4O1xuICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMjZweDtcbiAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICAgIH1cbiAgfVxufVxuXG5AbWVkaWEgKG1heC13aWR0aDogMzU5cHgpIHtcbiAgLmJsb2NrX3R3by5idG5zIHtcbiAgICBoZWlnaHQ6IGF1dG8gIWltcG9ydGFudDtcbiAgICBkaXNwbGF5OiBmbGV4ICFpbXBvcnRhbnQ7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICB3aWR0aDogMTAwJSAhaW1wb3J0YW50O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcblxuICAgIC5iMSxcbiAgICAuYjIsXG4gICAgLmIzIHtcbiAgICAgIHdpZHRoOiA4NHB4ICFpbXBvcnRhbnQ7XG4gICAgfVxuICB9XG59XG5cbi5jb2wxMi5jaGFtcGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIHdpZHRoOiAxMDAlO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG5cbi5jb2wxMi5jaGFtcGlvbiB7XG4gIC5idG5fcmVwcm92ZSB7XG4gICAgaGVpZ2h0OiAzMHB4O1xuICAgIHdpZHRoOiBhdXRvO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgIGlvbi1idXR0b24ge1xuICAgICAgLS1wYWRkaW5nLXN0YXJ0OiAwO1xuICAgICAgLS1wYWRkaW5nLWVuZDogMDtcbiAgICAgIHdpZHRoOiA3OHB4O1xuICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cbiAgfVxufSJdfQ== */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 7086:
|
|
/*!******************************************************************************!*\
|
|
!*** ./src/app/push-notifications/components/card-fss/card-fss.component.ts ***!
|
|
\******************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardFssComponent": () => (/* binding */ CardFssComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @environment */ 92340);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
/* harmony import */ var _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/pipes/extractinfo.pipe */ 44173);
|
|
/* harmony import */ var _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../shared/pipes/get-initials.pipe */ 31765);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function CardFssComponent_ng_container_0_ng_container_1_ion_avatar_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssComponent_ng_container_0_ng_container_1_ion_avatar_4_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r9.showPhoto.emit({ data: ctx_r9.event, photo: ctx_r9.event == null ? null : ctx_r9.event.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (ctx_r2.event == null ? null : ctx_r2.event.thumbnailImage));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ion_avatar_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "div", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = ctx_r11.event == null ? null : ctx_r11.event.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = ctx_r11.event == null ? null : ctx_r11.event.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ion_avatar_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssComponent_ng_container_0_ng_container_1_ion_avatar_5_div_1_Template, 4, 4, "div", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r3.event == null ? null : ctx_r3.event.thumbnailImage));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_small_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "small");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATION_TEXT_DRIVER"), " ");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_1_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 37)(1, "div", 38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_CARDS_FSS.LOGISTICS.PLATES.VEHICLE_PLATE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r14.event.driver == null ? null : ctx_r14.event.driver.licensePlateOne, " ");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 35)(2, "div", 17)(3, "div", 25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_1_div_8_Template, 6, 4, "div", 36);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 3, "PG_PUSH_NOTIFICATION_TEXT_VISITOR_COMPANY"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r12.event == null ? null : ctx_r12.event.company);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r12.event == null ? null : ctx_r12.event.driver == null ? null : ctx_r12.event.driver.licensePlateOne);
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17)(1, "div", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 44);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_CARDS_FSS.LOGISTICS.PLATES.VEHICLE_PLATE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r15.event.driver == null ? null : ctx_r15.event.driver.licensePlateOne, " ");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_2_div_2_Template, 6, 4, "div", 40);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 37)(4, "div", 41);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r13.event == null ? null : ctx_r13.event.driver == null ? null : ctx_r13.event.driver.licensePlateOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 3, "PG_CARDS_FSS.LOGISTICS.PLATES.TRAILER_PLATE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r13.event == null ? null : ctx_r13.event.driver == null ? null : ctx_r13.event.driver.licensePlateTwo, " ");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_57_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_1_Template, 9, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardFssComponent_ng_container_0_ng_container_1_ng_container_57_ng_container_2_Template, 9, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r5.event == null ? null : ctx_r5.event.driver == null ? null : ctx_r5.event.driver.licensePlateTwo));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.event == null ? null : ctx_r5.event.driver == null ? null : ctx_r5.event.driver.licensePlateTwo);
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_div_58_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 45)(1, "div", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 47);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATION_TEXT_VISITOR_COMPANY"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r6.event == null ? null : ctx_r6.event.company);
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 51)(1, "div", 52);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 53);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.VISITOR_CONTACT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r16.event == null ? null : ctx_r16.event.eventRequestNotes, "contact"));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 54)(1, "div", 55);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 56);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.TALK_TO"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r17.event == null ? null : ctx_r17.event.eventRequestNotes, "name"));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 57)(1, "div", 58);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 59);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.REASON_VISIT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx_r18.event == null ? null : ctx_r18.event.eventRequestNotes, "subject"));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_59_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_1_Template, 7, 7, "div", 48);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_3_Template, 7, 7, "div", 49);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardFssComponent_ng_container_0_ng_container_1_ng_container_59_div_5_Template, 7, 7, "div", 50);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 3, ctx_r7.event == null ? null : ctx_r7.event.eventRequestNotes, "contact"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](4, 6, ctx_r7.event == null ? null : ctx_r7.event.eventRequestNotes, "name"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.event == null ? null : ctx_r7.event.eventRequestNotes);
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_2_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const escort_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r24.showPhoto.emit({ data: escort_r20, photo: escort_r20 == null ? null : escort_r20.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const escort_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (escort_r20 == null ? null : escort_r20.thumbnailImage));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 66)(1, "div", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const escort_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = escort_r20 == null ? null : escort_r20.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = escort_r20 == null ? null : escort_r20.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""), " ");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_3_div_1_Template, 4, 4, "div", 65);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const escort_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(escort_r20 == null ? null : escort_r20.thumbnailImage));
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 63)(1, "div", 17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_2_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_ion_avatar_3_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 21)(5, "div", 64);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const escort_r20 = ctx.$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", escort_r20 == null ? null : escort_r20.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(escort_r20 == null ? null : escort_r20.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", escort_r20.firstName, " ", escort_r20.lastName, "");
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_ng_container_60_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 60)(2, "div", 61);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardFssComponent_ng_container_0_ng_container_1_ng_container_60_div_6_Template, 7, 4, "div", 62);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", !ctx_r8.isLogisticEvent ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "PG_PUSH_NOTIFICATION_TEXT_ESCORTS") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 5, "PG_PUSH_NOTIFICATION_TEXT_ASSISTANTS"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r8.event.escorts)("ngForTrackBy", ctx_r8.trackByEscortId);
|
|
} }
|
|
function CardFssComponent_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardFssComponent_ng_container_0_ng_container_1_ion_avatar_4_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardFssComponent_ng_container_0_ng_container_1_ion_avatar_5_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardFssComponent_ng_container_0_ng_container_1_small_7_Template, 3, 3, "small", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "p", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 8)(11, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9)(14, "div", 10)(15, "ion-button", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssComponent_ng_container_0_ng_container_1_Template_ion_button_click_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r31.reproveEvent == null ? null : ctx_r31.reproveEvent.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](18, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "div", 12)(20, "ion-button", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssComponent_ng_container_0_ng_container_1_Template_ion_button_click_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r33.goToReviewEvent == null ? null : ctx_r33.goToReviewEvent.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "div", 14)(25, "ion-button", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardFssComponent_ng_container_0_ng_container_1_Template_ion_button_click_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r34.stepOneApproveEvent == null ? null : ctx_r34.stepOneApproveEvent.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](28, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "div", 16)(30, "div", 17)(31, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](33, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 21)(38, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](40, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "div", 23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "div", 24)(44, "div", 17)(45, "div", 25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](47, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](50, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "div", 21)(52, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](53);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](54, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "div", 28);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](57, CardFssComponent_ng_container_0_ng_container_1_ng_container_57_Template, 3, 2, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](58, CardFssComponent_ng_container_0_ng_container_1_div_58_Template, 6, 4, "div", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](59, CardFssComponent_ng_container_0_ng_container_1_ng_container_59_Template, 6, 9, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](60, CardFssComponent_ng_container_0_ng_container_1_ng_container_60_Template, 7, 7, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.event == null ? null : ctx_r1.event.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r1.event == null ? null : ctx_r1.event.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.isLogisticEvent && (ctx_r1.event == null ? null : ctx_r1.event.driver));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx_r1.isLogisticEvent && (ctx_r1.event == null ? null : ctx_r1.event.driver) ? (ctx_r1.event == null ? null : ctx_r1.event.driver == null ? null : ctx_r1.event.driver.firstName) + " " + (ctx_r1.event == null ? null : ctx_r1.event.driver == null ? null : ctx_r1.event.driver.lastName) : (ctx_r1.event == null ? null : ctx_r1.event.firstName) + " " + (ctx_r1.event == null ? null : ctx_r1.event.lastName), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.event == null ? null : ctx_r1.event.title);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](18, 20, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 22, "PG_PUSH_NOTIFICATION_BTN_REVIEW"), "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](28, 24, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](33, 26, "PG_PUSH_NOTIFICATION_TEXT_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.event == null ? null : ctx_r1.event.title);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](40, 28, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.event == null ? null : ctx_r1.event.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](47, 30, "PG_PUSH_NOTIFICATION_TEXT_STARTS_IN"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.event == null ? null : ctx_r1.event.startAt);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](54, 32, "PG_PUSH_NOTIFICATION_TEXT_END_IN"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.event == null ? null : ctx_r1.event.endAt);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.isLogisticEvent && (ctx_r1.event == null ? null : ctx_r1.event.driver));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r1.isLogisticEvent || !!(ctx_r1.event == null ? null : ctx_r1.event.driver == null ? null : ctx_r1.event.driver.licensePlateTwo));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.event == null ? null : ctx_r1.event.eventRequestNotes);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.event == null ? null : ctx_r1.event.escorts == null ? null : ctx_r1.event.escorts.length) > 0);
|
|
} }
|
|
function CardFssComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardFssComponent_ng_container_0_ng_container_1_Template, 61, 34, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r0.event == null ? null : ctx_r0.event.status) === "WAITING_FOR_EVENT_APPROVE");
|
|
} }
|
|
class CardFssComponent {
|
|
constructor() {
|
|
this.disabled = false;
|
|
this.isLogisticEvent = false;
|
|
this.disabledEdit = false;
|
|
this.initials = '';
|
|
this.stepOneApproveEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.goToReviewEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.reproveEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.showPhoto = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.env = _environment__WEBPACK_IMPORTED_MODULE_1__.environment;
|
|
}
|
|
// TrackBy para escorts
|
|
trackByEscortId(index, escort) {
|
|
return escort?.id || escort?.refId || index;
|
|
}
|
|
}
|
|
CardFssComponent.ɵfac = function CardFssComponent_Factory(t) { return new (t || CardFssComponent)(); };
|
|
CardFssComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CardFssComponent, selectors: [["app-card-fss"]], inputs: { getVisitorCompanyName: "getVisitorCompanyName", event: "event", disabled: "disabled", isLogisticEvent: "isLogisticEvent", disabledEdit: "disabledEdit", initials: "initials" }, outputs: { stepOneApproveEvent: "stepOneApproveEvent", goToReviewEvent: "goToReviewEvent", reproveEvent: "reproveEvent", showPhoto: "showPhoto" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "card"], [1, "block_one"], [1, "block_one__photo"], [3, "click", 4, "ngIf"], [1, "block_one__sub"], [1, "block_one__sub__full-name"], [3, "innerHTML"], [1, "block_one__sub__type_event"], [1, "block_two", "btns"], [1, "b3"], ["size", "small", "mode", "ios", 1, "b3", 3, "click"], [1, "b2"], ["size", "small", "mode", "ios", 1, "b2", 3, "click"], [1, "b1"], ["size", "small", "mode", "ios", 1, "b1", 3, "click"], [1, "block_tree"], [1, "col1"], [1, "title_event"], [1, "desc_event"], [1, "col"], [1, "col2"], [1, "title_company"], [1, "desc_company"], [1, "block_for"], [1, "title_start"], [1, "desc_start"], [1, "title_end"], [1, "desc_end"], ["class", "company_visited", 4, "ngIf"], [3, "click"], [3, "src"], ["class", "initials", 4, "ngIf"], [1, "initials"], [1, "content"], [1, "block_for", "plates"], ["class", "col2", "style", "padding-inline-start: 10px;", 4, "ngIf"], [1, "col2", 2, "padding-inline-start", "10px"], [1, "title_end", "primary-license-plate"], [1, "desc_end", "primary-license-plate"], ["class", "col1", 4, "ngIf"], [1, "title_end", "secondary-license-plate"], [1, "desc_end", "secondary-license-plate"], [1, "title_start", "primary-license-plate"], [1, "desc_start", "primary-license-plate"], [1, "company_visited"], [1, "title_visited"], [1, "desc_company_visited"], ["class", "contact_visited", 4, "ngIf"], ["class", "contact_like", 4, "ngIf"], ["class", "reason", 4, "ngIf"], [1, "contact_visited"], [1, "title_contact"], [1, "desc_contact"], [1, "contact_like"], [1, "title_like"], [1, "desc_like"], [1, "reason"], [1, "title_reason"], [1, "desc_reason"], [1, "block_five"], [1, "title_champions"], ["class", "champion", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "champion"], [1, "desc_champions"], ["class", "initials escort", 4, "ngIf"], [1, "initials", "escort"]], template: function CardFssComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardFssComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.event == null ? null : ctx.event.firstName);
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonAvatar, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonImg, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslatePipe, _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_3__.ExtractInfoPipe, _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_4__.GetInitialsPipe], styles: [".card[_ngcontent-%COMP%] {\n background-color: #ffffff;\n border-radius: 10px;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1019607843);\n padding: 1.5em 1em;\n margin: 0.7em;\n position: relative;\n}\n.card[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%] {\n display: flex;\n position: absolute;\n right: -12px;\n top: 2px;\n opacity: 0.3;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] {\n height: 64px;\n min-width: 64px;\n border-radius: 50%;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n font-size: 0.9em;\n font-weight: 600;\n}\n.card[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 20px;\n margin: 0 0 0.8em 0;\n padding: 5px 0;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n object-fit: cover;\n border-radius: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one__sub[_ngcontent-%COMP%] {\n min-height: 64px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] {\n font-weight: 700;\n color: #535354;\n font-size: 0.9em;\n letter-spacing: 0.28px;\n line-height: 18px;\n width: 100%;\n text-transform: uppercase;\n margin-bottom: 6px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 3px 10px;\n background-color: #ed9f29;\n border-radius: 6px;\n overflow: hidden;\n height: 22px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] {\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: clamp(100px, 25vw, 103px);\n}\n@media (max-width: 359px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 100px;\n }\n}\n@media (min-width: 360px) and (max-width: 389px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: calc(100px + ((25vw - 100px) * 0.5));\n }\n}\n@media (min-width: 390px) and (max-width: 413px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 25vw;\n }\n}\n@media (min-width: 414px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 103px;\n }\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] {\n width: 100%;\n display: inline-flex;\n flex-wrap: wrap;\n justify-content: space-between;\n justify-items: center;\n align-items: center;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n background: transparent !important;\n height: 35px;\n border-radius: 8px;\n --border-radius: 8px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n text-align: center;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b1[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b2[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #b1b1b1;\n --background-activated: #959595;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b3[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #d84645;\n --background-activated: #e65959;\n}\n.card[_ngcontent-%COMP%] .block_tree[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.75em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .block_for[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.75em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .company_visited[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .contact_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .contact_like[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.75em;\n}\n.card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .title_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_contact[_ngcontent-%COMP%] {\n width: auto;\n height: 18px;\n font-weight: 400;\n color: #a8a8a8;\n font-size: 14px;\n letter-spacing: 0.28px;\n line-height: 18px;\n}\n.card[_ngcontent-%COMP%] .desc_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_contact[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%] {\n width: auto;\n font-weight: 600;\n color: #535354;\n font-size: 0.93em;\n letter-spacing: 0.3px;\n line-height: 18px;\n margin-top: 4px;\n}\n.card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n width: 100%;\n margin-top: 0 !important;\n height: auto !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 15px;\n margin-bottom: 5px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 40px !important;\n height: 40px !important;\n min-width: 40px !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] {\n width: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 100% !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n height: 18px;\n text-transform: uppercase;\n font-weight: 700;\n color: #535354;\n font-size: 13px;\n letter-spacing: 0.26px;\n line-height: 18px;\n}\n@media (max-width: 359px) {\n .block_two.btns[_ngcontent-%COMP%] {\n height: auto !important;\n display: flex !important;\n flex-direction: row;\n width: 100% !important;\n justify-content: space-between;\n }\n .block_two.btns[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .block_two.btns[_ngcontent-%CO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A2MDA7XG4gICAgfVxuICB9XG5cbiAgLmNvbDEsXG4gIC5jb2wyIHtcbiAgICB3aWR0aDogNTAlO1xuICB9XG5cbiAgLy8gRm90byBOb21lIGUgdGlwbyBkZSBldmVudG9cbiAgLmJsb2NrX29uZSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGdhcDogMjBweDtcbiAgICBtYXJnaW46IDAgMCAwLjhlbSAwO1xuICAgIHBhZGRpbmc6IDVweCAwO1xuXG4gICAgJl9fcGhvdG8ge1xuICAgICAgd2lkdGg6IDY0cHg7XG4gICAgICBoZWlnaHQ6IDY0cHg7XG5cbiAgICAgIGlvbi1hdmF0YXIge1xuICAgICAgICB3aWR0aDogNjRweDtcbiAgICAgICAgaGVpZ2h0OiA2NHB4O1xuICAgICAgfVxuXG4gICAgICBpbWcge1xuICAgICAgICB3aWR0aDogNjRweDtcbiAgICAgICAgaGVpZ2h0OiA2NHB4O1xuICAgICAgICBvYmplY3QtZml0OiBjb3ZlcjtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNTAlO1xuICAgICAgfVxuICAgIH1cblxuICAgICZfX3N1YiB7XG4gICAgICBtaW4taGVpZ2h0OiA2NHB4O1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAmX19mdWxsLW5hbWUge1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBjb2xvcjogIzUzNTM1NDtcbiAgICAgICAgZm9udC1zaXplOiAwLjllbTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMjhweDtcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICAgIHdpZHRoOiAxMDAlO1x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bGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgZ2FwOiAxNXB4O1xuICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xuXG4gICAgICAuaW5pdGlhbHMuZXNjb3J0IHtcbiAgICAgICAgd2lkdGg6IDQwcHggIWltcG9ydGFudDtcbiAgICAgICAgaGVpZ2h0OiA0MHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIG1pbi13aWR0aDogNDBweCAhaW1wb3J0YW50O1xuICAgICAgfVxuXG4gICAgICAuY29sMSB7XG4gICAgICAgIGlvbi1hdmF0YXIge1xuICAgICAgICAgIHdpZHRoOiA0MHB4O1xuICAgICAgICAgIGhlaWdodDogNDBweDtcbiAgICAgICAgfVxuXG4gICAgICAgIHdpZHRoOiA0MHB4O1xuICAgICAgfVxuXG4gICAgICAuY29sMiB7XG4gICAgICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG4gICAgICB9XG4gICAgfVxuXG4gICAgLmRlc2NfY2hhbXBpb25zIHtcbiAgICAgIGhlaWdodDogMThweDtcbiAgICAgIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgY29sb3I6ICM1MzUzNTQ7XG4gICAgICBmb250LXNpemU6IDEzcHg7XG4gICAgICBsZXR0ZXItc3BhY2luZzogMC4yNnB4O1xuICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgfVxuICB9XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiAzNTlweCkge1xuICAuYmxvY2tfdHdvLmJ0bnMge1xuICAgIGhlaWdodDogYXV0byAhaW1wb3J0YW50O1xuICAgIGRpc3BsYXk6IGZsZXggIWltcG9ydGFudDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG4gICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuXG4gICAgLmIxLFxu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}),
|
|
|
|
/***/ 11614:
|
|
/*!******************************************************************************************************!*\
|
|
!*** ./src/app/push-notifications/components/card-skeleton-screen/card-skeleton-screen.component.ts ***!
|
|
\******************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardSkeletonScreenComponent": () => (/* binding */ CardSkeletonScreenComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
|
|
|
|
|
|
function CardSkeletonScreenComponent_ng_container_0_div_63_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 45)(1, "div", 17)(2, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-skeleton-text", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 24)(5, "div", 47);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "ion-skeleton-text", 48);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} }
|
|
const _c0 = function () { return [0, 1, 2, 3]; };
|
|
function CardSkeletonScreenComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "ion-skeleton-text", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5)(7, "div", 6)(8, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "ion-skeleton-text", 7)(10, "ion-skeleton-text", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "ion-skeleton-text", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "ion-skeleton-text", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 14);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "ion-skeleton-text", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "ion-skeleton-text", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 16)(23, "div", 17)(24, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](25, "ion-skeleton-text", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "div", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "ion-skeleton-text", 21)(28, "ion-skeleton-text", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](29, "div", 23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div", 24)(31, "div", 25);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "ion-skeleton-text", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](34, "ion-skeleton-text", 21)(35, "ion-skeleton-text", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "div", 28)(37, "div", 17)(38, "div", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](39, "ion-skeleton-text", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "div", 30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](41, "ion-skeleton-text", 21)(42, "ion-skeleton-text", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](43, "div", 23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "div", 31)(45, "div", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](46, "ion-skeleton-text", 33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "div", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](48, "ion-skeleton-text", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](49, "div", 35)(50, "div", 36);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](51, "ion-skeleton-text", 33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](52, "div", 37);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](53, "ion-skeleton-text", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "div", 38)(55, "div", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](56, "ion-skeleton-text", 33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "div", 40);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](58, "ion-skeleton-text", 21)(59, "ion-skeleton-text", 41);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](60, "div", 42)(61, "div", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](62, "ion-skeleton-text", 33);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](63, CardSkeletonScreenComponent_ng_container_0_div_63_Template, 7, 0, "div", 44);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](63);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](1, _c0));
|
|
} }
|
|
class CardSkeletonScreenComponent {
|
|
constructor() {
|
|
this.skeleton = false;
|
|
}
|
|
}
|
|
CardSkeletonScreenComponent.ɵfac = function CardSkeletonScreenComponent_Factory(t) { return new (t || CardSkeletonScreenComponent)(); };
|
|
CardSkeletonScreenComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CardSkeletonScreenComponent, selectors: [["app-card-skeleton-screen"]], inputs: { skeleton: "skeleton" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "card"], [1, "block_one"], [1, "block_one__photo"], ["animated", "", 2, "width", "64px", "height", "64px"], [1, "block_one__sub"], [1, "block_one__sub__full-name"], ["animated", "", 2, "width", "50vw", "height", "15px"], ["animated", "", 2, "width", "20vw", "height", "15px"], [1, "block_one__sub__type_event", 2, "margin", "0", "padding", "0", "background-color", "transparent"], ["animated", "", 2, "width", "30vw", "height", "20px"], [1, "block_two", "btns"], [1, "b3"], ["animated", "", 2, "width", "90px", "height", "35px", "border-radius", "8px"], [1, "b2"], [1, "b1"], [1, "block_tree"], [1, "col1"], [1, "title_event"], ["animated", "", 2, "width", "50%", "height", "10px"], [1, "desc_event"], ["animated", "", 2, "width", "100%", "height", "15px"], ["animated", "", 2, "width", "50%", "height", "15px"], [1, "col"], [1, "col2"], [1, "title_company"], [1, "desc_company"], ["animated", "", 2, "width", "40%", "height", "15px"], [1, "block_for"], [1, "title_start"], [1, "desc_start"], [1, "contact_visited"], [1, "title_contact"], ["animated", "", 2, "width", "30%", "height", "10px"], [1, "desc_contact"], [1, "contact_like"], [1, "title_like"], [1, "desc_like"], [1, "reason"], [1, "title_reason"], [1, "desc_reason"], ["animated", "", 2, "width", "30%", "height", "15px"], [1, "block_five"], [1, "title_champions"], ["class", "champion", 4, "ngFor", "ngForOf"], [1, "champion"], ["animated", "", 2, "width", "40px", "height", "40px"], [1, "desc_champions"], ["animated", "", 2, "width", "70%"]], template: function CardSkeletonScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardSkeletonScreenComponent_ng_container_0_Template, 64, 2, "ng-container", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.skeleton);
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonAvatar, _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.IonSkeletonText], styles: [".card[_ngcontent-%COMP%] {\n background-color: #ffffff;\n border-radius: 10px;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1019607843);\n padding: 1.5em 1em;\n margin: 0.7em;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] {\n height: 64px;\n min-width: 64px;\n border-radius: 50%;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n font-size: 0.9em;\n font-weight: 600;\n}\n.card[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 50%;\n max-height: 60px;\n}\n.card[_ngcontent-%COMP%] .block_one[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 20px;\n margin: 0 0 0.8em 0;\n padding: 5px 0;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n object-fit: cover;\n border-radius: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one__sub[_ngcontent-%COMP%] {\n min-height: 64px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] {\n font-weight: 700;\n color: #535354;\n font-size: 0.9em;\n letter-spacing: 0.28px;\n line-height: 18px;\n width: 100%;\n margin-bottom: 6px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n text-transform: uppercase;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 3px 10px;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n background-color: #ed9f29;\n border-radius: 6px;\n overflow: hidden;\n height: 22px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] {\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: clamp(100px, 25vw, 103px);\n}\n@media (max-width: 359px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 100px;\n }\n}\n@media (min-width: 360px) and (max-width: 389px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: calc(100px + ((25vw - 100px) * 0.5));\n }\n}\n@media (min-width: 390px) and (max-width: 413px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 25vw;\n }\n}\n@media (min-width: 414px) {\n .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 103px;\n }\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] {\n width: 100%;\n display: inline-flex;\n flex-wrap: wrap;\n justify-content: space-between;\n justify-items: center;\n align-items: center;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n background: transparent !important;\n height: 35px;\n border-radius: 8px;\n --border-radius: 8px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n text-align: center;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b1[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b2[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b3[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #d84645;\n --background-activated: #e65959;\n}\n.card[_ngcontent-%COMP%] .block_tree[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.85em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .block_for[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.85em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .company_visited[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .contact_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .contact_like[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .title_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_contact[_ngcontent-%COMP%] {\n width: auto;\n height: 18px;\n font-weight: 400;\n color: #a8a8a8;\n font-size: 14px;\n letter-spacing: 0.28px;\n line-height: 18px;\n}\n.card[_ngcontent-%COMP%] .desc_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_contact[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%] {\n width: auto;\n font-weight: 600;\n color: #535354;\n font-size: 0.93em;\n letter-spacing: 0.3px;\n line-height: 18px;\n margin-top: 4px;\n}\n.card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n width: 100%;\n margin-top: 0 !important;\n height: auto !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 15px;\n margin-bottom: 5px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 40px !important;\n height: 40px !important;\n min-width: 40px !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] {\n width: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 100% !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n height: 18px;\n text-transform: uppercase;\n font-weight: 700;\n color: #535354;\n font-size: 13px;\n letter-spacing: 0.26px;\n line-height: 18px;\n}\n@media (max-width: 359px) {\n .block_two.btns[_ngcontent-%COMP%] {\n height: auto !important;\n display: flex !important;\n flex-direction: row;\n width: 100% !important;\n justify-content: space-between;\n }\n .block_two.btns[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .block_two.btns[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .block_two.btns[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n width: 84px !important;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhcmQtc2tlbGV0b24tc2NyZWVuLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vdGhlbWUvY3VzdG9tL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNFLHlCQUFBO0VBQ0EsbUJBQUE7RUFDQSxvREFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtBQURGO0FBR0U7RUFDRSxZQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0Esa0JBQUE7RUFDQSxhQUFBO0VBQ0EsdUJBQUE7RUFDQSxtQkFBQTtFQUNBLHNCQUFBO0FBREo7QUFFSTtFQUNFLGdCQUFBO0VBQ0EsZ0JBQUE7QUFBTjtBQUlFOztFQUVFLFVBQUE7RUFDQSxnQkFBQTtBQUZKO0FBS0U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BmbGV4O1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAmX19mdWxsLW5hbWUge1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBjb2xvcjogIzUzNTM1NDtcbiAgICAgICAgZm9udC1zaXplOiAwLjllbTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMjhweDtcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBwIHtcbiAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgICAgICAgfVxuICAgICAgICBtYXJnaW4tYm90dG9tOiA2cHg7XG4gICAgICB9XG4gICAgICAmX190eXBlX2V2ZW50IHtcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWZsZXg7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBnYXA6IDEwcHg7XG4gICAgICAgIHBhZGRpbmc6IDNweCAxMHB4O1xuICAgICAgICB3aWR0aDogZml0LWNvbnRlbnQ7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZDlmMjk7XG4gICAgICAgIC8vIGJhY2tncm91bmQtY29sb3I6ICM2NjdlYWU7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICAgICAgaGVpZ2h0OiAyMnB4O1xuICAgICAgICBwIHtcbiAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgICAgZm9udC1zaXplOiAxMnB4O1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIC8vIEJvdMO1ZXNcbiAgLmJsb2NrX3R3byB7XG4gICAgLmIxLFxuICAgIC5iMixcbiAgICAuYjMge1xuICAgICAgQGluY2x1ZGUgcmVzcG9uc2l2ZS1zaXplKHdpZHRoLCAxMDBweCwgMjV2dywgMTAzcHgpO1xuICAgIH1cblxuICAgICYuYnRucyB7XG4gICAgICB3aWR0aDogMTAwJTtcbiAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgICAgZmxleC13cmFwOiB3cmFwO1xuICAgICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgICAganVzdGlmeS1pdGVtczogY2VudGVyO1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGhlaWdodDogNDBweDtcblxuICAgICAgaW9uLWJ1dHRvbiB7XG4gICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgcGFkZGluZzogMDtcbiAgICAgICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQgIWltcG9ydGFudDtcbiAgICAgICAgaGVpZ2h0OiAzNXB4O1xuICAgICAgICBib3JkZXItcmFkaXVzOiA4cHg7XG4gICAgICAgIC0tYm9yZGVyLXJhZGl1czogOHB4O1xuICAgICAgICBzcGFuIHtcbiAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICBjb2xvcjogI2ZmZmZmZjtcbiAgICAgICAgICBmb250LXNpemU6IDE1cHg7XG4gICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICAgIGxldHRlci1zcGFjaW5nOiAwLjNweDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgaW9uLWJ1dHRvbi5iMSB7XG4gICAgICAgIC0tY29sb3I6ICNmZmY7XG4gICAgICAgIC0tY29sb3ItYWN0aXZhdGVkOiAjZmZmO1xuICAgICAgICAtLWJhY2tncm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UgaW50ZXJtZWRpw6FyaW8gY2FsY3VsYWRvIGNvbSBjYWxjKClcbiAgfVxuXG4gIEBtZWRpYSAobWluLXdpZHRoOiAzOTBweCkgYW5kIChtYXgtd2lkdGg6IDQxM3B4KSB7XG4gICAgI3skcHJvcGVydHl9OiAkaWRlYWw7IC8vIEFwbGljYSBvIHRhbWFuaG8gaWRlYWxcbiAgfVxuXG4gIEBtZWRpYSAobWluLXdpZHRoOiA0MTRweCkge1xuICAgICN7JHByb3BlcnR5fTogJG1heDsgLy8gQXBsaWNhIG8gdGFtYW5obyBtw6F4aW1vXG4gIH1cbn1cbiJdfQ== */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 44327:
|
|
/*!**********************************************************************!*\
|
|
!*** ./src/app/push-notifications/components/card/card.component.ts ***!
|
|
\**********************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardComponent": () => (/* binding */ CardComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
/* harmony import */ var _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/pipes/extractinfo.pipe */ 44173);
|
|
/* harmony import */ var _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/pipes/get-initials.pipe */ 31765);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function CardComponent_ng_container_0_ion_avatar_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ion_avatar_4_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r13.showPhoto.emit({ data: ctx_r13.invite, photo: ctx_r13.invite == null ? null : ctx_r13.invite.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (ctx_r3.invite == null ? null : ctx_r3.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_0_ion_avatar_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = ctx_r15.invite == null ? null : ctx_r15.invite.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = ctx_r15.invite == null ? null : ctx_r15.invite.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""));
|
|
} }
|
|
function CardComponent_ng_container_0_ion_avatar_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_0_ion_avatar_5_div_1_Template, 4, 4, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r4.invite == null ? null : ctx_r4.invite.initials) && !(ctx_r4.invite == null ? null : ctx_r4.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_0_small_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "small");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATION_TEXT_DRIVER"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 25)(1, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"]((ctx_r6.invite == null ? null : ctx_r6.invite.firstName) + " " + (ctx_r6.invite == null ? null : ctx_r6.invite.lastName));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_14_div_1_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r21.onDenyAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_14_div_2_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r24); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r23.onDenyOneClick(ctx_r23.invite)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r17.buttonConfig.denyButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_14_div_3_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r25.onAllowOneClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r18.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_14_div_4_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r28); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r27.onAllowAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_14_div_5_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r30); const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r29.onAllowPartialClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_PARTIALLY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_0_ng_container_14_div_1_Template, 8, 6, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_0_ng_container_14_div_2_Template, 5, 3, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_0_ng_container_14_div_3_Template, 5, 3, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_0_ng_container_14_div_4_Template, 8, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_0_ng_container_14_div_5_Template, 8, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.buttonConfig.showDenyAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.buttonConfig.showDenyOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.buttonConfig.showAllowOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.buttonConfig.showAllowAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.buttonConfig.showAllowPartial);
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 28)(2, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_15_Template_ion_button_click_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r31.denySelfInviteWithLocator == null ? null : ctx_r31.denySelfInviteWithLocator.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 33)(7, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_15_Template_ion_button_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r33.authorizeSelfInviteWithLocator == null ? null : ctx_r33.authorizeSelfInviteWithLocator.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 4, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), "");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
|
const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 35)(2, "ion-button", 36);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_16_Template_ion_button_click_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r35); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r34.openSolveDriverCheckinConflict.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 1, "PG_PUSH_NOTIFICATION_BTN_REVIEW"));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_24_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATIO_TEXT_LOGISTIC"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_40_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 40);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 1, ctx_r36.invite.eventRequestNotes, "contact"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_40_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 37)(2, "div", 38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_0_ng_container_40_div_5_Template, 3, 4, "div", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.VISITOR_CONTACT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r11.invite.eventRequestNotes);
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r46 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_2_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r46); const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r44.showPhoto.emit({ data: companion_r38, photo: companion_r38 == null ? null : companion_r38.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (companion_r38 == null ? null : companion_r38.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 48)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = (tmp_0_0 = companion_r38 == null ? null : companion_r38.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : companion_r38 == null ? null : companion_r38.name) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = companion_r38 == null ? null : companion_r38.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_3_div_1_Template, 4, 4, "div", 47);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r38 == null ? null : companion_r38.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r53 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 49)(1, "div", 50)(2, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 50)(5, "div", 52)(6, "ion-button", 53);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_0_ng_container_41_div_6_div_4_Template_ion_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r53); const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r51.onDenyOneClick(companion_r38)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r38.firstName, " ", companion_r38.lastName, "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fill", (companion_r38 == null ? null : companion_r38.status) === "INVITE_NOT_APPROVED" ? "solid" : "outline");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", (companion_r38 == null ? null : companion_r38.status) === "INVITE_NOT_APPROVED" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 4, "PG_PUSH_NOTIFICATION_BTN_DENIED") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 6, "PG_PUSH_NOTIFICATION_BTN_DENY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14)(1, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r38.firstName, " ", companion_r38.lastName, "");
|
|
} }
|
|
const _c0 = function (a0) { return { "is-denied": a0 }; };
|
|
function CardComponent_ng_container_0_ng_container_41_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 44)(1, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_2_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_0_ng_container_41_div_6_ion_avatar_3_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_0_ng_container_41_div_6_div_4_Template, 10, 8, "div", 45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_0_ng_container_41_div_6_div_5_Template, 3, 2, "div", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r38 = ctx.$implicit;
|
|
const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c0, (companion_r38 == null ? null : companion_r38.status) === "INVITE_NOT_APPROVED"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", companion_r38 == null ? null : companion_r38.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r38 == null ? null : companion_r38.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r37.isBuildingTarget);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r37.isBuildingTarget);
|
|
} }
|
|
const _c1 = function () { return []; };
|
|
function CardComponent_ng_container_0_ng_container_41_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 41)(2, "div", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardComponent_ng_container_0_ng_container_41_div_6_Template, 6, 7, "div", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r12.isLogisticEvent ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_TEXT_ASSISTANTS") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "PG_PUSH_NOTIFICATION_TEXT_ESCORTS"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", (ctx_r12.invite == null ? null : ctx_r12.invite.companions) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c1));
|
|
} }
|
|
function CardComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_0_ion_avatar_4_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_0_ion_avatar_5_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardComponent_ng_container_0_small_7_Template, 3, 3, "small", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, CardComponent_ng_container_0_div_8_Template, 3, 1, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 7)(10, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, CardComponent_ng_container_0_ng_container_14_Template, 6, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, CardComponent_ng_container_0_ng_container_15_Template, 11, 6, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, CardComponent_ng_container_0_ng_container_16_Template, 6, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 9)(18, "div", 10)(19, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, CardComponent_ng_container_0_ng_container_24_Template, 3, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](25, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "div", 14)(27, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](29, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "div", 17)(33, "div", 10)(34, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](36, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](39, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](40, CardComponent_ng_container_0_ng_container_40_Template, 6, 4, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](41, CardComponent_ng_container_0_ng_container_41_Template, 7, 7, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
let tmp_17_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.invite == null ? null : ctx_r0.invite.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r0.invite == null ? null : ctx_r0.invite.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.isLogisticEvent && (ctx_r0.invite == null ? null : ctx_r0.invite.driver) && ctx_r0.invite["hasDriver"] || (ctx_r0.invite == null ? null : ctx_r0.invite.driver));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r0.invite == null ? null : ctx_r0.invite.firstName) && (ctx_r0.invite == null ? null : ctx_r0.invite.lastName));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 18, "PG_PUSH_NOTIFICATIO_TEXT_SCHEDULED_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx_r0.shouldCompare ? "ion-justify-content-center" : "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.isBuildingTarget && !ctx_r0.shouldCompare && ctx_r0.buttonConfig);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r0.isBuildingTarget && !ctx_r0.shouldCompare);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.shouldCompare);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 20, "PG_PUSH_NOTIFICATION_TEXT_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r0.invite == null ? null : ctx_r0.invite.event == null ? null : ctx_r0.invite.event.title, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r0.invite.event == null ? null : ctx_r0.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](29, 22, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.invite == null ? null : ctx_r0.invite.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](36, 24, "PG_PUSH_NOTIFICATION_TEXT_REQUESTED"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.invite == null ? null : ctx_r0.invite.createdDate);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.invite && (ctx_r0.invite == null ? null : ctx_r0.invite.eventRequestNotes));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ((tmp_17_0 = ctx_r0.invite == null ? null : ctx_r0.invite.companions == null ? null : ctx_r0.invite.companions.length) !== null && tmp_17_0 !== undefined ? tmp_17_0 : 0) > 0);
|
|
} }
|
|
function CardComponent_ng_container_1_ion_avatar_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r69 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ion_avatar_4_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r69); const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r68.showPhoto.emit({ data: ctx_r68.invite, photo: ctx_r68.invite == null ? null : ctx_r68.invite.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (ctx_r56.invite == null ? null : ctx_r56.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_1_ion_avatar_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r70 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = ctx_r70.invite == null ? null : ctx_r70.invite.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = ctx_r70.invite == null ? null : ctx_r70.invite.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""));
|
|
} }
|
|
function CardComponent_ng_container_1_ion_avatar_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_1_ion_avatar_5_div_1_Template, 4, 4, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r57.invite == null ? null : ctx_r57.invite.initials) && !(ctx_r57.invite == null ? null : ctx_r57.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_1_small_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "small");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATION_TEXT_DRIVER"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 25)(1, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"]((ctx_r59.invite == null ? null : ctx_r59.invite.firstName) + " " + (ctx_r59.invite == null ? null : ctx_r59.invite.lastName));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
const _r77 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_14_div_1_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r77); const ctx_r76 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r76.onDenyAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r79 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_14_div_2_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r79); const ctx_r78 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r78.onDenyOneClick(ctx_r78.invite)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r72.buttonConfig.denyButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
const _r81 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_14_div_3_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r81); const ctx_r80 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r80.onAllowOneClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r73 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r73.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r83 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_14_div_4_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r83); const ctx_r82 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r82.onAllowAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
const _r85 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_14_div_5_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r85); const ctx_r84 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r84.onAllowPartialClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "span", 32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_PARTIALLY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_1_ng_container_14_div_1_Template, 8, 6, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_1_ng_container_14_div_2_Template, 5, 3, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_1_ng_container_14_div_3_Template, 5, 3, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_1_ng_container_14_div_4_Template, 8, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_1_ng_container_14_div_5_Template, 8, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r60.buttonConfig.showDenyAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r60.buttonConfig.showDenyOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r60.buttonConfig.showAllowOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r60.buttonConfig.showAllowAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r60.buttonConfig.showAllowPartial);
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
const _r87 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 28)(2, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_15_Template_ion_button_click_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r87); const ctx_r86 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r86.denyDoCheckin == null ? null : ctx_r86.denyDoCheckin.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 33)(7, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_15_Template_ion_button_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r87); const ctx_r88 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r88.autorizeDoCheckin == null ? null : ctx_r88.autorizeDoCheckin.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_REFUSE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 4, "PG_PUSH_NOTIFICATION_BTN_DORELEASE"));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
|
const _r90 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 35)(2, "ion-button", 36);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_16_Template_ion_button_click_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r90); const ctx_r89 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r89.openSolveDriverCheckinConflict.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 1, "PG_PUSH_NOTIFICATION_BTN_EVALUATE"));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_22_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" - ", (ctx_r63.invite == null ? null : ctx_r63.invite.event == null ? null : ctx_r63.invite.event.behavior) === "ENTRY" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "PG_PUSH_NOTIFICATION_TEXT_ENTRY") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "PG_PUSH_NOTIFICATION_TEXT_EXIT"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_25_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATIO_TEXT_LOGISTIC"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_div_33_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17)(1, "div", 10)(2, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_BTN_CHECKIN_PERFORMED_AT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r65.invite == null ? null : ctx_r65.invite.checkInAtFormatted);
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_34_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 40);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r91 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 1, ctx_r91.invite.eventRequestNotes, "contact"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_34_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 37)(2, "div", 38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_1_ng_container_34_div_5_Template, 3, 4, "div", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r66 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.VISITOR_CONTACT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r66.invite == null ? null : ctx_r66.invite.eventRequestNotes);
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r101 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_2_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r101); const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r99 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r99.showPhoto.emit({ data: companion_r93, photo: companion_r93 == null ? null : companion_r93.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (companion_r93 == null ? null : companion_r93.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 48)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = (tmp_0_0 = companion_r93 == null ? null : companion_r93.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : companion_r93 == null ? null : companion_r93.name) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = companion_r93 == null ? null : companion_r93.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_3_div_1_Template, 4, 4, "div", 47);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r93 == null ? null : companion_r93.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r108 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 49)(1, "div", 50)(2, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 50)(5, "div", 52)(6, "ion-button", 56);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_1_ng_container_35_div_6_div_4_Template_ion_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r108); const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r106 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r106.onDenyOneClick(companion_r93)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r93.firstName, " ", companion_r93.lastName, "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fill", (companion_r93 == null ? null : companion_r93.status) === "INVITE_NOT_APPROVED" ? "solid" : "outline")("disabled", (companion_r93 == null ? null : companion_r93.status) === "INVITE_NOT_APPROVED");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", (companion_r93 == null ? null : companion_r93.status) === "INVITE_NOT_APPROVED" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 5, "PG_PUSH_NOTIFICATION_BTN_DENIED") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 7, "PG_PUSH_NOTIFICATION_BTN_DENY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14)(1, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r93.firstName, " ", companion_r93.lastName, "");
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 44)(1, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_2_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_1_ng_container_35_div_6_ion_avatar_3_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_1_ng_container_35_div_6_div_4_Template, 10, 9, "div", 45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_1_ng_container_35_div_6_div_5_Template, 3, 2, "div", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r93 = ctx.$implicit;
|
|
const ctx_r92 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c0, (companion_r93 == null ? null : companion_r93.status) === "INVITE_NOT_APPROVED"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", companion_r93 == null ? null : companion_r93.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r93 == null ? null : companion_r93.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r92.isBuildingTarget);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r92.isBuildingTarget);
|
|
} }
|
|
function CardComponent_ng_container_1_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 41)(2, "div", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardComponent_ng_container_1_ng_container_35_div_6_Template, 6, 7, "div", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r67.isLogisticEvent ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_TEXT_ASSISTANTS") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "PG_PUSH_NOTIFICATION_TEXT_ESCORTS"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", (ctx_r67.invite == null ? null : ctx_r67.invite.companions) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c1));
|
|
} }
|
|
function CardComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_1_ion_avatar_4_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_1_ion_avatar_5_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardComponent_ng_container_1_small_7_Template, 3, 3, "small", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, CardComponent_ng_container_1_div_8_Template, 3, 1, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 7)(10, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 54);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, CardComponent_ng_container_1_ng_container_14_Template, 6, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, CardComponent_ng_container_1_ng_container_15_Template, 11, 6, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, CardComponent_ng_container_1_ng_container_16_Template, 6, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 9)(18, "div", 10)(19, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, CardComponent_ng_container_1_ng_container_22_Template, 5, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](25, CardComponent_ng_container_1_ng_container_25_Template, 3, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](26, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "div", 14)(28, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](30, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, CardComponent_ng_container_1_div_33_Template, 8, 4, "div", 55);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](34, CardComponent_ng_container_1_ng_container_34_Template, 6, 4, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](35, CardComponent_ng_container_1_ng_container_35_Template, 7, 7, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
let tmp_16_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.invite == null ? null : ctx_r1.invite.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r1.invite == null ? null : ctx_r1.invite.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.isLogisticEvent && (ctx_r1.invite == null ? null : ctx_r1.invite.driver) && ctx_r1.invite["hasDriver"] || (ctx_r1.invite == null ? null : ctx_r1.invite.driver));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.invite == null ? null : ctx_r1.invite.firstName) && (ctx_r1.invite == null ? null : ctx_r1.invite.lastName));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 17, "PG_PUSH_NOTIFICATIO_TEXT_SCHEDULED_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.isBuildingTarget && !ctx_r1.shouldCompare && ctx_r1.buttonConfig);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r1.isBuildingTarget && !ctx_r1.shouldCompare);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.shouldCompare);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 19, "PG_PUSH_NOTIFICATION_TEXT_EVENT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.invite.event == null ? null : ctx_r1.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.invite == null ? null : ctx_r1.invite.event == null ? null : ctx_r1.invite.event.title, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.invite.event == null ? null : ctx_r1.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](30, 21, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.invite == null ? null : ctx_r1.invite.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.invite == null ? null : ctx_r1.invite.checkInAtFormatted);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.invite == null ? null : ctx_r1.invite.eventRequestNotes);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ((tmp_16_0 = ctx_r1.invite == null ? null : ctx_r1.invite.companions == null ? null : ctx_r1.invite.companions.length) !== null && tmp_16_0 !== undefined ? tmp_16_0 : 0) > 0);
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
const _r126 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ion_avatar_3_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r126); const ctx_r125 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r125.showPhoto.emit({ data: ctx_r125.invite, photo: ctx_r125.invite == null ? null : ctx_r125.invite.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r112 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (ctx_r112.invite == null ? null : ctx_r112.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ion_avatar_4_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r127 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = ctx_r127.invite == null ? null : ctx_r127.invite.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = ctx_r127.invite == null ? null : ctx_r127.invite.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ion_avatar_4_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_2_div_1_ion_avatar_4_div_1_Template, 4, 4, "div", 22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r113 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r113.invite == null ? null : ctx_r113.invite.initials) && !(ctx_r113.invite == null ? null : ctx_r113.invite.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_small_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "small");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATION_TEXT_DRIVER"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 25)(1, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const ctx_r115 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"]((ctx_r115.invite == null ? null : ctx_r115.invite.firstName) + " " + (ctx_r115.invite == null ? null : ctx_r115.invite.lastName));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
const _r134 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_13_div_1_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r134); const ctx_r133 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r133.onDenyAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_DENY_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r136 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28)(1, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_13_div_2_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r136); const ctx_r135 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r135.onDenyOneClick(ctx_r135.invite)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r129 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r129.buttonConfig.denyButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
const _r138 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_13_div_3_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r138); const ctx_r137 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r137.onAllowOneClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
const ctx_r130 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, ctx_r130.buttonConfig.allowButtonLabel));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r140 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_13_div_4_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r140); const ctx_r139 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r139.onAllowAllClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_ALL"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
const _r142 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33)(1, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_13_div_5_Template_ion_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r142); const ctx_r141 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r141.onAllowPartialClick()); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 30)(3, "span", 31);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE"), " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "PG_PUSH_NOTIFICATION_BTN_SUBTITLE_PARTIALLY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_2_div_1_ng_container_13_div_1_Template, 7, 6, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_2_div_1_ng_container_13_div_2_Template, 5, 3, "div", 26);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_2_div_1_ng_container_13_div_3_Template, 5, 3, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_2_div_1_ng_container_13_div_4_Template, 7, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_2_div_1_ng_container_13_div_5_Template, 7, 6, "div", 27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r116 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r116.buttonConfig.showDenyAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r116.buttonConfig.showDenyOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r116.buttonConfig.showAllowOne);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r116.buttonConfig.showAllowAll);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r116.buttonConfig.showAllowPartial);
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
const _r144 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 28)(2, "ion-button", 29);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_14_Template_ion_button_click_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r144); const ctx_r143 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r143.denySelfInviteWithLocator == null ? null : ctx_r143.denySelfInviteWithLocator.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 33)(7, "ion-button", 34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_14_Template_ion_button_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r144); const ctx_r145 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r145.doRelease == null ? null : ctx_r145.doRelease.emit($event)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "PG_PUSH_NOTIFICATION_BTN_REFUSE"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 4, "PG_PUSH_NOTIFICATION_BTN_DORELEASE"));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_20_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r118 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" - ", (ctx_r118.invite == null ? null : ctx_r118.invite.event == null ? null : ctx_r118.invite.event.behavior) === "ENTRY" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "PG_PUSH_NOTIFICATION_TEXT_ENTRY") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "PG_PUSH_NOTIFICATION_TEXT_EXIT"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_23_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATIO_TEXT_LOGISTIC"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_36_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r120 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" - ", (ctx_r120.invite == null ? null : ctx_r120.invite.event == null ? null : ctx_r120.invite.event.behavior) === "ENTRY" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "PG_PUSH_NOTIFICATION_TEXT_ENTRY") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "PG_PUSH_NOTIFICATION_TEXT_EXIT"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_39_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "PG_PUSH_NOTIFICATIO_TEXT_LOGISTIC"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_div_47_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17)(1, "div", 10)(2, "div", 18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 19);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r122 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_BTN_CHECKIN_PERFORMED_AT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r122.invite == null ? null : ctx_r122.invite.checkInAtFormatted);
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_48_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 40);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "extractInfo");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r146 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 1, ctx_r146.invite.eventRequestNotes, "contact"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_48_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 37)(2, "div", 38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_2_div_1_ng_container_48_div_5_Template, 3, 4, "div", 39);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r123 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATIO_TEXT_VISITOR_CARD.VISITOR_CONTACT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r123.invite == null ? null : ctx_r123.invite.eventRequestNotes);
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_2_Template(rf, ctx) { if (rf & 1) {
|
|
const _r156 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar", 20);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_2_Template_ion_avatar_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r156); const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r154 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r154.showPhoto.emit({ data: companion_r148, photo: companion_r148 == null ? null : companion_r148.thumbnailImage })); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-img", 21);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/png;base64," + (companion_r148 == null ? null : companion_r148.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 48)(1, "div", 24);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
|
|
let tmp_0_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](3, 1, (tmp_0_0 = (tmp_0_0 = companion_r148 == null ? null : companion_r148.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : companion_r148 == null ? null : companion_r148.name) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "", (tmp_0_0 = companion_r148 == null ? null : companion_r148.lastName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ""), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_3_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ion-avatar");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_3_div_1_Template, 4, 4, "div", 47);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r148 == null ? null : companion_r148.thumbnailImage));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
const _r163 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 49)(1, "div", 50)(2, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 50)(5, "div", 52)(6, "ion-button", 56);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_ng_container_2_div_1_ng_container_49_div_6_div_4_Template_ion_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r163); const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; const ctx_r161 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r161.onDenyOneClick(companion_r148)); });
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
} if (rf & 2) {
|
|
const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r148.firstName, " ", companion_r148.lastName, "");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fill", (companion_r148 == null ? null : companion_r148.status) === "INVITE_NOT_APPROVED" ? "solid" : "outline")("disabled", (companion_r148 == null ? null : companion_r148.status) === "INVITE_NOT_APPROVED");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", (companion_r148 == null ? null : companion_r148.status) === "INVITE_NOT_APPROVED" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 5, "PG_PUSH_NOTIFICATION_BTN_DENIED") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 7, "PG_PUSH_NOTIFICATION_BTN_DENY"), " ");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14)(1, "div", 51);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
} if (rf & 2) {
|
|
const companion_r148 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", companion_r148.firstName, " ", companion_r148.lastName, "");
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 44)(1, "div", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_2_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_2_div_1_ng_container_49_div_6_ion_avatar_3_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_2_div_1_ng_container_49_div_6_div_4_Template, 10, 9, "div", 45);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CardComponent_ng_container_2_div_1_ng_container_49_div_6_div_5_Template, 3, 2, "div", 46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const companion_r148 = ctx.$implicit;
|
|
const ctx_r147 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c0, (companion_r148 == null ? null : companion_r148.status) === "INVITE_NOT_APPROVED"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", companion_r148 == null ? null : companion_r148.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(companion_r148 == null ? null : companion_r148.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r147.isBuildingTarget);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r147.isBuildingTarget);
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_ng_container_49_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 41)(2, "div", 42);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardComponent_ng_container_2_div_1_ng_container_49_div_6_Template, 6, 7, "div", 43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r124 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r124.isLogisticEvent ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, "PG_PUSH_NOTIFICATION_TEXT_ASSISTANTS") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "PG_PUSH_NOTIFICATION_TEXT_ESCORTS"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", (ctx_r124.invite == null ? null : ctx_r124.invite.companions) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c1));
|
|
} }
|
|
function CardComponent_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1)(1, "div", 2)(2, "div", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CardComponent_ng_container_2_div_1_ion_avatar_3_Template, 2, 1, "ion-avatar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CardComponent_ng_container_2_div_1_ion_avatar_4_Template, 2, 1, "ion-avatar", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CardComponent_ng_container_2_div_1_small_6_Template, 3, 3, "small", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CardComponent_ng_container_2_div_1_div_7_Template, 3, 1, "div", 6);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 7)(9, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 54);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, CardComponent_ng_container_2_div_1_ng_container_13_Template, 6, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, CardComponent_ng_container_2_div_1_ng_container_14_Template, 11, 6, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 9)(16, "div", 10)(17, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, CardComponent_ng_container_2_div_1_ng_container_20_Template, 5, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](23, CardComponent_ng_container_2_div_1_ng_container_23_Template, 3, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](24, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "div", 14)(26, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](28, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "div", 9)(32, "div", 10)(33, "div", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](34);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](35, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](36, CardComponent_ng_container_2_div_1_ng_container_36_Template, 5, 5, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 12);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](39, CardComponent_ng_container_2_div_1_ng_container_39_Template, 3, 3, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "div", 13);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "div", 14)(42, "div", 15);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](44, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "div", 16);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](47, CardComponent_ng_container_2_div_1_div_47_Template, 8, 4, "div", 55);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](48, CardComponent_ng_container_2_div_1_ng_container_48_Template, 6, 4, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](49, CardComponent_ng_container_2_div_1_ng_container_49_Template, 7, 7, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r111 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
|
|
let tmp_21_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r111.invite == null ? null : ctx_r111.invite.thumbnailImage);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !(ctx_r111.invite == null ? null : ctx_r111.invite.thumbnailImage));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r111.isLogisticEvent && (ctx_r111.invite == null ? null : ctx_r111.invite.driver) && ctx_r111.invite["hasDriver"]);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r111.invite == null ? null : ctx_r111.invite.firstName) && (ctx_r111.invite == null ? null : ctx_r111.invite.lastName));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 22, "PG_PUSH_NOTIFICATIO_TEXT_SCHEDULED_EVENT"));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r111.isBuildingTarget && ctx_r111.buttonConfig);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r111.isBuildingTarget);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 24, "PG_PUSH_NOTIFICATION_TEXT_EVENT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r111.invite.event == null ? null : ctx_r111.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r111.invite == null ? null : ctx_r111.invite.event == null ? null : ctx_r111.invite.event.title, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r111.invite.event == null ? null : ctx_r111.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](28, 26, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r111.invite == null ? null : ctx_r111.invite.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](35, 28, "PG_PUSH_NOTIFICATION_TEXT_EVENT"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r111.invite.event == null ? null : ctx_r111.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r111.invite == null ? null : ctx_r111.invite.event == null ? null : ctx_r111.invite.event.title, " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r111.invite.event == null ? null : ctx_r111.invite.event.target) === "LOGISTIC");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](44, 30, "PG_PUSH_NOTIFICATION_TEXT_COMPANY"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r111.invite == null ? null : ctx_r111.invite.companyName);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r111.invite == null ? null : ctx_r111.invite.checkInAtFormatted);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r111.invite == null ? null : ctx_r111.invite.eventRequestNotes);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ((tmp_21_0 = ctx_r111.invite == null ? null : ctx_r111.invite.companions == null ? null : ctx_r111.invite.companions.length) !== null && tmp_21_0 !== undefined ? tmp_21_0 : 0) > 0);
|
|
} }
|
|
function CardComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_2_div_1_Template, 50, 32, "div", 57);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
|
|
} if (rf & 2) {
|
|
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.invite == null ? null : ctx_r2.invite.firstName);
|
|
} }
|
|
class CardComponent {
|
|
constructor() {
|
|
this.disabled = false;
|
|
this.isLogisticEvent = false;
|
|
this.disabledEdit = false;
|
|
this.initials = '';
|
|
this.shouldCompare = false;
|
|
// Existing outputs - kept for LOGISTIC and legacy flows
|
|
this.authorizeSelfInviteWithLocator = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.openSolveDriverCheckinConflict = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denySelfInviteWithLocator = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denyDoCheckin = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.autorizeDoCheckin = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.doRelease = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.showPhoto = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
// New outputs - for BUILDING (VO) flows only
|
|
this.allowOne = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.allowAll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.allowPartial = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denyOne = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
this.denyAll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
}
|
|
ngOnInit() {
|
|
console.log('[card] ngOnInit invite:', this.invite);
|
|
console.log('[card] ngOnInit isBuildingTarget:', this.isBuildingTarget);
|
|
console.log('[card] ngOnInit companions:', this.invite?.companions?.map((c) => ({
|
|
inviteId: c?.inviteId,
|
|
id: c?.id,
|
|
refId: c?.refId,
|
|
name: c?.firstName ?? c?.name,
|
|
status: c?.status
|
|
})));
|
|
console.log('[card] ngOnInit invite keys:', {
|
|
inviteId: this.invite?.['inviteId'],
|
|
id: this.invite?.['id'],
|
|
status: this.invite?.status,
|
|
target: this.invite?.event?.target,
|
|
companyInstance: this.invite?.companyInstance
|
|
});
|
|
}
|
|
/** True when invite target is BUILDING (VO) - new button logic applies */
|
|
get isBuildingTarget() {
|
|
return this.invite?.event?.target === 'BUILDING';
|
|
}
|
|
/** Count of companions in the invite */
|
|
get companionCount() {
|
|
return this.invite?.companions?.length || 0;
|
|
}
|
|
/** True when any companion has been denied */
|
|
get hasPartialDenial() {
|
|
return (this.invite?.companions?.some((companion) => companion?.status === 'INVITE_NOT_APPROVED') || false);
|
|
}
|
|
/** Button configuration - only used for BUILDING target */
|
|
get buttonConfig() {
|
|
if (!this.isBuildingTarget) {
|
|
return null; // LOGISTIC uses old buttons
|
|
}
|
|
const count = this.companionCount;
|
|
const hasPartial = this.hasPartialDenial;
|
|
if (hasPartial) {
|
|
return {
|
|
showAllowOne: false,
|
|
showAllowAll: false,
|
|
showAllowPartial: true,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_PARTIAL',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
else if (count === 0) {
|
|
// Apenas visitante principal, sem acompanhantes
|
|
return {
|
|
showAllowOne: true,
|
|
showAllowAll: false,
|
|
showAllowPartial: false,
|
|
showDenyOne: true,
|
|
showDenyAll: false,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ONE',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ONE'
|
|
};
|
|
}
|
|
else {
|
|
// Visitante principal + acompanhante(s) (count >= 1)
|
|
return {
|
|
showAllowOne: false,
|
|
showAllowAll: true,
|
|
showAllowPartial: false,
|
|
showDenyOne: false,
|
|
showDenyAll: true,
|
|
allowButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_ALLOW_ALL',
|
|
denyButtonLabel: 'PG_PUSH_NOTIFICATION_BTN_DENY_ALL'
|
|
};
|
|
}
|
|
}
|
|
// Click handlers for BUILDING (VO) flows
|
|
onAllowOneClick() {
|
|
this.allowOne.emit(this.invite);
|
|
}
|
|
onAllowAllClick() {
|
|
this.allowAll.emit(this.invite);
|
|
}
|
|
onAllowPartialClick() {
|
|
this.allowPartial.emit(this.invite);
|
|
}
|
|
onDenyOneClick(companion) {
|
|
// Garante que companyInstance e status do invite principal sejam propagados para o payload
|
|
// O companion pode não ter companyInstance, então pegamos do invite principal
|
|
console.log('[card] onDenyOneClick companion.inviteId:', companion?.inviteId, 'invite.inviteId:', this.invite?.['inviteId'], 'invite:', this.invite, 'invite.companyInstance:', this.invite?.companyInstance, 'companion:', companion);
|
|
this.denyOne.emit({
|
|
...companion,
|
|
event: this.invite?.event,
|
|
invite: this.invite,
|
|
companyInstance: companion?.companyInstance ?? this.invite?.companyInstance,
|
|
status: this.invite?.status
|
|
});
|
|
}
|
|
onDenyAllClick() {
|
|
this.denyAll.emit(this.invite);
|
|
}
|
|
}
|
|
CardComponent.ɵfac = function CardComponent_Factory(t) { return new (t || CardComponent)(); };
|
|
CardComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CardComponent, selectors: [["app-card"]], inputs: { getVisitorCompanyName: "getVisitorCompanyName", invite: "invite", disabled: "disabled", isLogisticEvent: "isLogisticEvent", disabledEdit: "disabledEdit", initials: "initials", shouldCompare: "shouldCompare" }, outputs: { authorizeSelfInviteWithLocator: "authorizeSelfInviteWithLocator", openSolveDriverCheckinConflict: "openSolveDriverCheckinConflict", denySelfInviteWithLocator: "denySelfInviteWithLocator", denyDoCheckin: "denyDoCheckin", autorizeDoCheckin: "autorizeDoCheckin", doRelease: "doRelease", showPhoto: "showPhoto", allowOne: "allowOne", allowAll: "allowAll", allowPartial: "allowPartial", denyOne: "denyOne", denyAll: "denyAll" }, decls: 3, vars: 3, consts: [[4, "ngIf"], [1, "card"], [1, "block_one"], [1, "block_one__photo"], [3, "click", 4, "ngIf"], [1, "block_one__sub"], ["class", "block_one__sub__full-name", 4, "ngIf"], [1, "block_one__sub__type_event"], [1, "block_two", "btns", 3, "ngClass"], [1, "block_tree"], [1, "col1"], [1, "title_event"], [1, "desc_event"], [1, "col"], [1, "col2"], [1, "title_company"], [1, "desc_company"], [1, "block_for"], [1, "title_start"], [1, "desc_start"], [3, "click"], [3, "src"], ["class", "initials", 4, "ngIf"], [1, "initials"], [1, "content"], [1, "block_one__sub__full-name"], ["class", "b3", 4, "ngIf"], ["class", "b2", 4, "ngIf"], [1, "b3"], ["size", "small", "mode", "ios", 1, "b3", 3, "click"], [1, "split-label"], [1, "split-label__main"], [1, "split-label__sub"], [1, "b2"], ["size", "small", "mode", "ios", 1, "b2", 3, "click"], [1, "b1"], ["size", "small", "mode", "ios", 1, "b1", 3, "click"], [1, "contact_visited"], [1, "title_contact"], ["class", "desc_contact", 4, "ngIf"], [1, "desc_contact"], [1, "block_five"], [1, "title_champions"], ["class", "champion", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "champion", 3, "ngClass"], ["class", "col12 champion", 4, "ngIf"], ["class", "col2", 4, "ngIf"], ["class", "initials escort", 4, "ngIf"], [1, "initials", "escort"], [1, "col12", "champion"], [1, "col6"], [1, "desc_champions"], [1, "btn_reprove"], ["mode", "ios", "size", "small", "color", "danger", 3, "fill", "click"], [1, "block_two", "btns"], ["class", "block_for", 4, "ngIf"], ["mode", "ios", "size", "small", "color", "danger", 3, "fill", "disabled", "click"], ["class", "card", 4, "ngIf"]], template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardComponent_ng_container_0_Template, 42, 26, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardComponent_ng_container_1_Template, 36, 23, "ng-container", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent_ng_container_2_Template, 2, 1, "ng-container", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.invite == null ? null : ctx.invite.firstName) && (ctx.invite == null ? null : ctx.invite.status) === "WAITING_FOR_INVITE_APPROVE");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.invite == null ? null : ctx.invite.firstName) && (ctx.invite == null ? null : ctx.invite.status) === "WAITING_FOR_RELEASE");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.invite.status !== "WAITING_FOR_INVITE_APPROVE" && ctx.invite.status !== "WAITING_FOR_RELEASE");
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonAvatar, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.IonImg, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__.TranslatePipe, _shared_pipes_extractinfo_pipe__WEBPACK_IMPORTED_MODULE_2__.ExtractInfoPipe, _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_3__.GetInitialsPipe], styles: [".card[_ngcontent-%COMP%] {\n background-color: #ffffff;\n border-radius: 10px;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1019607843);\n padding: 1.5em 1em;\n margin: 0.7em;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] {\n height: 64px;\n min-width: 64px;\n border-radius: 50%;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n.card[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n font-size: 0.9em;\n font-weight: 600;\n}\n.card[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n gap: 20px;\n margin: 0 0 0.8em 0;\n padding: 5px 0;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n}\n.card[_ngcontent-%COMP%] .block_one__photo[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: 64px;\n height: 64px;\n object-fit: cover;\n border-radius: 50%;\n}\n.card[_ngcontent-%COMP%] .block_one__sub[_ngcontent-%COMP%] {\n min-height: 64px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] {\n font-weight: 700;\n color: #535354;\n font-size: 0.9em;\n letter-spacing: 0.28px;\n line-height: 18px;\n width: 100%;\n margin-bottom: 6px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__full-name[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n text-transform: uppercase;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 3px 10px;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n background-color: #667eae;\n border-radius: 6px;\n overflow: hidden;\n height: 22px;\n}\n.card[_ngcontent-%COMP%] .block_one__sub__type_event[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] {\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b2[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_two[_ngcontent-%COMP%] .b3[_ngcontent-%COMP%] {\n height: 40px !important;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] {\n width: 100%;\n display: inline-flex;\n flex-wrap: wrap;\n justify-content: space-between;\n justify-items: center;\n align-items: center;\n min-height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n background: transparent !important;\n height: 35px;\n border-radius: 8px;\n --border-radius: 8px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n text-align: center;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b1[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b2[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #6db52d;\n --background-activated: #81ca41;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button.b3[_ngcontent-%COMP%] {\n --color: #fff;\n --color-activated: #fff;\n --background: #d84645;\n --background-activated: #e65959;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] .split-label[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.2;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] .split-label__main[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #ffffff;\n font-size: 15px;\n letter-spacing: 0.3px;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] .split-label__sub[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #ffffff;\n font-size: 11px;\n letter-spacing: 0.2px;\n opacity: 0.9;\n}\n.card[_ngcontent-%COMP%] .block_two.btns[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]:has(.split-label) {\n height: auto;\n min-height: 40px;\n padding: 4px 0;\n}\n.card[_ngcontent-%COMP%] .block_tree[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.85em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .block_for[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: flex-start;\n margin-bottom: 0.85em;\n gap: 1em;\n}\n.card[_ngcontent-%COMP%] .company_visited[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .contact_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .contact_like[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n margin-bottom: 0.85em;\n}\n.card[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%] {\n width: 100%;\n}\n.card[_ngcontent-%COMP%] .title_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .title_contact[_ngcontent-%COMP%] {\n width: auto;\n height: 18px;\n font-weight: 400;\n color: #a8a8a8;\n font-size: 14px;\n letter-spacing: 0.28px;\n line-height: 18px;\n}\n.card[_ngcontent-%COMP%] .desc_event[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_end[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_start[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_company_visited[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_contact[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_like[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%] {\n width: auto;\n font-weight: 600;\n color: #535354;\n font-size: 0.93em;\n letter-spacing: 0.3px;\n line-height: 18px;\n margin-top: 4px;\n}\n.card[_ngcontent-%COMP%] .desc_reason[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n width: 100%;\n margin-top: 0 !important;\n height: auto !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .title_champions[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 15px;\n margin-bottom: 5px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion.is-denied[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion.is-denied[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n opacity: 0.35;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .initials.escort[_ngcontent-%COMP%] {\n width: 40px !important;\n height: 40px !important;\n min-width: 40px !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] {\n width: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col1[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .champion[_ngcontent-%COMP%] .col2[_ngcontent-%COMP%] {\n width: 100% !important;\n}\n.card[_ngcontent-%COMP%] .block_five[_ngcontent-%COMP%] .desc_champions[_ngcontent-%COMP%] {\n height: 18px;\n text-transform: uppercase;\n font-weight: 700;\n color: #535354;\n font-size: 13px;\n letter-spacing: 0.26px;\n line-height: 18px;\n}\n.col12.champion[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n}\n.col12.champion[_ngcontent-%COMP%] .col6[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n.col12.champion[_ngcontent-%COMP%] .btn_reprove[_ngcontent-%COMP%] {\n height: 30px;\n width: auto;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n}\n.col12.champion[_ngcontent-%COMP%] .btn_reprove[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n --padding-start: 0;\n --padding-end: 0;\n width: 78px;\n text-align: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhcmQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDRSx5QkFBQTtFQUNBLG1CQUFBO0VBQ0Esb0RBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7QUFERjtBQUdFO0VBQ0UsWUFBQTtFQUNBLGVBQUE7RUFDQSxrQkFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLHVCQUFBO0VBQ0EsbUJBQUE7RUFDQSxzQkFBQTtBQURKO0FBR0k7RUFDRSxnQkFBQTtFQUNBLGdCQUFBO0FBRE47QUFLRTs7RUFFRSxVQUFBO0FBS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1xuICAgICAgfVxuXG4gICAgICBpbWcge1xuICAgICAgICB3aWR0aDogNjRweDtcbiAgICAgICAgaGVpZ2h0OiA2NHB4O1xuICAgICAgICBvYmplY3QtZml0OiBjb3ZlcjtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNTAlO1xuICAgICAgfVxuICAgIH1cblxuICAgICZfX3N1YiB7XG4gICAgICBtaW4taGVpZ2h0OiA2NHB4O1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgICAmX19mdWxsLW5hbWUge1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBjb2xvcjogIzUzNTM1NDtcbiAgICAgICAgZm9udC1zaXplOiAwLjllbTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMjhweDtcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgICAgIHAge1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgICB9XG5cbiAgICAgICAgbWFyZ2luLWJvdHRvbTogNnB4O1xuICAgICAgfVxuXG4gICAgICAmX190eXBlX2V2ZW50IHtcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWZsZXg7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBnYXA6IDEwcHg7XG4gICAgICAgIHBhZGRpbmc6IDNweCAxMHB4O1xuICAgICAgICB3aWR0aDogZml0LWNvbnRlbnQ7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICM2NjdlYWU7XG4gICAgICAgIGJvcmRlci1yYW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4gICAgICB9XG4gICAgfVxuXG4gICAgLmRlc2NfY2hhbXBpb25zIHtcbiAgICAgIGhlaWdodDogMThweDtcbiAgICAgIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgY29sb3I6ICM1MzUzNTQ7XG4gICAgICBmb250LXNpemU6IDEzcHg7XG4gICAgICBsZXR0ZXItc3BhY2luZzogMC4yNnB4O1xuICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgfVxuICB9XG59XG5cbi5jb2wxMi5jaGFtcGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIHdpZHRoOiAxMDAlO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgLmNvbDYge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgfVxuXG4gIC5idG5fcmVwcm92ZSB7XG4gICAgaGVpZ2h0OiAzMHB4O1xuICAgIHdpZHRoOiBhdXRvO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xuXG4gICAgaW9uLWJ1dHRvbiB7XG4gICAgICAtLXBhZGRpbmctc3RhcnQ6IDA7XG4gICAgICAtLXBhZGRpbmctZW5kOiAwO1xuICAgICAgd2lkdGg6IDc4cHg7XG4gICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgfVxuICB9XG59Il19 */"], changeDetection: 0 });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 53386:
|
|
/*!************************************************************************!*\
|
|
!*** ./src/app/push-notifications/components/empty/empty.component.ts ***!
|
|
\************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "EmptyComponent": () => (/* binding */ EmptyComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
|
|
|
|
|
|
function EmptyComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1)(1, "div", 2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 4)(4, "h1");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 5)(8, "p");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 2, "PG_PUSH_NOTIFICATIO_TEXT_NOTIFICATION_STATUS.CALM_HERE"), " ");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 4, "PG_PUSH_NOTIFICATIO_TEXT_NOTIFICATION_STATUS.NO_PENDING_RELEASES"), " ");
|
|
} }
|
|
class EmptyComponent {
|
|
constructor() {
|
|
this.events = [];
|
|
this.invites = [];
|
|
}
|
|
}
|
|
EmptyComponent.ɵfac = function EmptyComponent_Factory(t) { return new (t || EmptyComponent)(); };
|
|
EmptyComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: EmptyComponent, selectors: [["app-empty"]], inputs: { events: "events", invites: "invites" }, decls: 1, vars: 1, consts: [["class", "empty", 4, "ngIf"], [1, "empty"], [1, "empty__img"], ["src", "./assets/img/cancela.svg", "alt", "cancela", "srcset", ""], [1, "empty__textone"], [1, "empty__texttwo"]], template: function EmptyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, EmptyComponent_div_0_Template, 11, 6, "div", 0);
|
|
} if (rf & 2) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.invites && (ctx.invites == null ? null : ctx.invites.length) === 0 && ctx.events && (ctx.events == null ? null : ctx.events.length) === 0);
|
|
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__.TranslatePipe], styles: [".empty[_ngcontent-%COMP%] {\n display: flex;\n position: relative;\n margin: 5em 0;\n flex-direction: column;\n align-content: center;\n align-items: center;\n}\n.empty__img[_ngcontent-%COMP%] {\n width: auto;\n}\n.empty__textone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n color: #afafaf;\n font-weight: bold;\n font-size: 30px;\n}\n.empty__texttwo[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #606060;\n margin: 0;\n font-size: 0.9em;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVtcHR5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsYUFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLHNCQUFBO0VBQ0EscUJBQUE7RUFDQSxtQkFBQTtBQUNGO0FBQUU7RUFDRSxXQUFBO0FBRUo7QUFDSTtFQUNFLGNBQUE7RUFDQSxpQkFBQTtFQUNBLGVBQUE7QUFDTjtBQUdJO0VBQ0UsY0FBQTtFQUNBLFNBQUE7RUFDQSxnQkFBQTtBQUROIiwiZmlsZSI6ImVtcHR5LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmVtcHR5IHtcbiAgZGlzcGxheTogZmxleDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBtYXJnaW46IDVlbSAwO1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBhbGlnbi1jb250ZW50OiBjZW50ZXI7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICZfX2ltZyB7XG4gICAgd2lkdGg6IGF1dG87XG4gIH1cbiAgJl9fdGV4dG9uZSB7XG4gICAgaDEge1xuICAgICAgY29sb3I6ICNhZmFmYWY7XG4gICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgIGZvbnQtc2l6ZTogMzBweDtcbiAgICB9XG4gIH1cbiAgJl9fdGV4dHR3byB7XG4gICAgcCB7XG4gICAgICBjb2xvcjogIzYwNjA2MDtcbiAgICAgIG1hcmdpbjogMDtcbiAgICAgIGZvbnQtc2l6ZTogMC45ZW07XG4gICAgfVxuICB9XG59XG4iXX0= */"] });
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 69541:
|
|
/*!********************************************************!*\
|
|
!*** ./src/app/push-notifications/components/index.ts ***!
|
|
\********************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "CardComponent": () => (/* reexport safe */ _card_card_component__WEBPACK_IMPORTED_MODULE_2__.CardComponent),
|
|
/* harmony export */ "CardFssComponent": () => (/* reexport safe */ _card_fss_card_fss_component__WEBPACK_IMPORTED_MODULE_0__.CardFssComponent),
|
|
/* harmony export */ "CardFssV2Component": () => (/* reexport safe */ _card_fss_v2_card_fss_v2_component__WEBPACK_IMPORTED_MODULE_4__.CardFssV2Component),
|
|
/* harmony export */ "CardSkeletonScreenComponent": () => (/* reexport safe */ _card_skeleton_screen_card_skeleton_screen_component__WEBPACK_IMPORTED_MODULE_1__.CardSkeletonScreenComponent),
|
|
/* harmony export */ "EmptyComponent": () => (/* reexport safe */ _empty_empty_component__WEBPACK_IMPORTED_MODULE_3__.EmptyComponent)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _card_fss_card_fss_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./card-fss/card-fss.component */ 7086);
|
|
/* harmony import */ var _card_skeleton_screen_card_skeleton_screen_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./card-skeleton-screen/card-skeleton-screen.component */ 11614);
|
|
/* harmony import */ var _card_card_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./card/card.component */ 44327);
|
|
/* harmony import */ var _empty_empty_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./empty/empty.component */ 53386);
|
|
/* harmony import */ var _card_fss_v2_card_fss_v2_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./card-fss-v2/card-fss-v2.component */ 16758);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 80641:
|
|
/*!*****************************************************************!*\
|
|
!*** ./src/app/push-notifications/push-notifications.module.ts ***!
|
|
\*****************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "PushNotificationsPageModule": () => (/* binding */ PushNotificationsPageModule)
|
|
/* 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 _shared_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/pipes/pipes.module */ 24586);
|
|
/* harmony import */ var _shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared-module/shared-module.module */ 69270);
|
|
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components */ 69541);
|
|
/* harmony import */ var _push_notifications_page__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./push-notifications.page */ 64866);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_5__);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const routes = [
|
|
{
|
|
path: '',
|
|
component: _push_notifications_page__WEBPACK_IMPORTED_MODULE_4__.PushNotificationsPage
|
|
}
|
|
];
|
|
class PushNotificationsPageModule {
|
|
}
|
|
PushNotificationsPageModule.ɵfac = function PushNotificationsPageModule_Factory(t) { return new (t || PushNotificationsPageModule)(); };
|
|
PushNotificationsPageModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineNgModule"]({ type: PushNotificationsPageModule });
|
|
PushNotificationsPageModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjector"]({ imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule, _shared_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.PipesModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule.forChild(routes)] });
|
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵsetNgModuleScope"](PushNotificationsPageModule, { declarations: [_push_notifications_page__WEBPACK_IMPORTED_MODULE_4__.PushNotificationsPage,
|
|
_components__WEBPACK_IMPORTED_MODULE_3__.CardComponent,
|
|
_components__WEBPACK_IMPORTED_MODULE_3__.CardFssComponent,
|
|
_components__WEBPACK_IMPORTED_MODULE_3__.EmptyComponent,
|
|
_components__WEBPACK_IMPORTED_MODULE_3__.CardFssV2Component,
|
|
_components__WEBPACK_IMPORTED_MODULE_3__.CardSkeletonScreenComponent], imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule, _shared_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.PipesModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] }); })();
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 64866:
|
|
/*!***************************************************************!*\
|
|
!*** ./src/app/push-notifications/push-notifications.page.ts ***!
|
|
\***************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "PushNotificationsPage": () => (/* binding */ PushNotificationsPage)
|
|
/* 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_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 59584);
|
|
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common_http__WEBPACK_IMPORTED_MODULE_1__);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 45449);
|
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
/* harmony import */ var _shared_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/components */ 7667);
|
|
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! rxjs */ 92218);
|
|
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! rxjs */ 24383);
|
|
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! rxjs/operators */ 88759);
|
|
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! rxjs/operators */ 44661);
|
|
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! rxjs/operators */ 85921);
|
|
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! rxjs/operators */ 83910);
|
|
/* harmony import */ var _constants_config_general__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants/config.general */ 8782);
|
|
/* harmony import */ var _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../logistic-events/components */ 34645);
|
|
/* harmony import */ var _capacitor_app__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @capacitor/app */ 93253);
|
|
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @environment */ 92340);
|
|
/* harmony import */ var _shared_services_data_class_manager__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @shared/services/data.class.manager */ 26087);
|
|
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @shared/services */ 17253);
|
|
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @ionic/angular */ 93819);
|
|
/* harmony import */ var _shared_services_state_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @shared/services/state.service */ 21284);
|
|
/* harmony import */ var _shared_services_sessionaddflow_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @shared/services/sessionaddflow.service */ 80698);
|
|
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/router */ 61380);
|
|
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_12__);
|
|
/* harmony import */ var _shared_services_manager_notification_persistent_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @shared/services/manager-notification-persistent.service */ 85892);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ 90944);
|
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_14__);
|
|
/* harmony import */ var _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../shared/components/header/header.component */ 36290);
|
|
/* harmony import */ var _components_card_card_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./components/card/card.component */ 44327);
|
|
/* harmony import */ var _components_card_fss_card_fss_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./components/card-fss/card-fss.component */ 7086);
|
|
/* harmony import */ var _components_empty_empty_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./components/empty/empty.component */ 53386);
|
|
/* harmony import */ var _components_card_fss_v2_card_fss_v2_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./components/card-fss-v2/card-fss-v2.component */ 16758);
|
|
/* harmony import */ var _components_card_skeleton_screen_card_skeleton_screen_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./components/card-skeleton-screen/card-skeleton-screen.component */ 11614);
|
|
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
|
|
/* harmony import */ var _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../shared/pipes/get-initials.pipe */ 31765);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function PushNotificationsPage_ng_container_3_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "ion-progress-bar", 4);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", ctx_r0.progress);
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_app_empty_4_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "app-empty", 5);
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("invites", ctx_r1.invites)("events", ctx_r1.events);
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_app_card_skeleton_screen_5_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "app-card-skeleton-screen", 6);
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("skeleton", !ctx_r2.finishProcessingFssData && !ctx_r2.finishProcessingReleasesData);
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "app-card-fss", 8);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("showPhoto", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template_app_card_fss_showPhoto_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r12);
|
|
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r11.showPhoto($event));
|
|
})("stepOneApproveEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template_app_card_fss_stepOneApproveEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r12);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r13.stepOneApproveEvent(event_r7));
|
|
})("goToReviewEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template_app_card_fss_goToReviewEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r12);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r15.goToReviewEvent(event_r7));
|
|
})("reproveEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template_app_card_fss_reproveEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r12);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r17.reproveEvent(event_r7));
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
let tmp_4_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("event", event_r7)("disabled", ctx_r9.approveeButtonDisable)("disabledEdit", ctx_r9.editButtoDisable)("isLogisticEvent", ctx_r9.isLogisticEvent(event_r7))("initials", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind2"](2, 6, (tmp_4_0 = event_r7 == null ? null : event_r7.firstName) !== null && tmp_4_0 !== undefined ? tmp_4_0 : "", (tmp_4_0 = event_r7 == null ? null : event_r7.lastName) !== null && tmp_4_0 !== undefined ? tmp_4_0 : ""))("getVisitorCompanyName", ctx_r9.getVisitorCompanyName(event_r7));
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "app-card-fss-v2", 9);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("showPhoto", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_showPhoto_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r20.showPhoto($event));
|
|
})("stepOneApproveEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_stepOneApproveEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r22.stepOneApproveEvent(event_r7));
|
|
})("goToReviewEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_goToReviewEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r24.goToReviewEvent(event_r7));
|
|
})("reproveEvent", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_reproveEvent_1_listener() {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r26.reproveEvent(event_r7));
|
|
})("allowOne", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_allowOne_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r28.allowOne($event));
|
|
})("allowAll", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_allowAll_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r29.allowAll($event));
|
|
})("allowPartial", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_allowPartial_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r30.allowPartial($event));
|
|
})("denyOne", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_denyOne_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r31.denyOne($event));
|
|
})("denyAll", function PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template_app_card_fss_v2_denyAll_1_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r21);
|
|
const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r32.denyAll($event));
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const event_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit;
|
|
const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
let tmp_4_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("event", event_r7)("disabled", ctx_r10.approveeButtonDisable)("disabledEdit", ctx_r10.editButtoDisable)("isLogisticEvent", ctx_r10.isLogisticEvent(event_r7))("initials", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind2"](2, 6, (tmp_4_0 = event_r7 == null ? null : event_r7.firstName) !== null && tmp_4_0 !== undefined ? tmp_4_0 : "", (tmp_4_0 = event_r7 == null ? null : event_r7.lastName) !== null && tmp_4_0 !== undefined ? tmp_4_0 : ""))("getVisitorCompanyName", ctx_r10.getVisitorCompanyName(event_r7));
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_6_ng_container_1_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, PushNotificationsPage_ng_container_6_ng_container_1_ng_container_1_Template, 3, 9, "ng-container", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](2, PushNotificationsPage_ng_container_6_ng_container_1_ng_container_2_Template, 3, 9, "ng-container", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const event_r7 = ctx.$implicit;
|
|
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r6.isLogisticEvent(event_r7));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r6.isLogisticEvent(event_r7));
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_6_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, PushNotificationsPage_ng_container_6_ng_container_1_Template, 3, 2, "ng-container", 7);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx_r3.events)("ngForTrackBy", ctx_r3.trackByEventId);
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_7_app_card_1_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
|
|
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "app-card", 11);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("showPhoto", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_showPhoto_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r36.showPhoto($event));
|
|
})("authorizeSelfInviteWithLocator", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_authorizeSelfInviteWithLocator_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r38.authorizeSelfInviteWithLocator(invite_r35));
|
|
})("openSolveDriverCheckinConflict", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_openSolveDriverCheckinConflict_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r39.openSolveDriverCheckinConflict(invite_r35));
|
|
})("denySelfInviteWithLocator", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_denySelfInviteWithLocator_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r40.denySelfInviteWithLocator(invite_r35));
|
|
})("denyDoCheckin", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_denyDoCheckin_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r41.denyDoCheckin(invite_r35));
|
|
})("autorizeDoCheckin", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_autorizeDoCheckin_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r42.autorizeDoCheckin(invite_r35));
|
|
})("doRelease", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_doRelease_0_listener() {
|
|
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const invite_r35 = restoredCtx.$implicit;
|
|
const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r43.doRelease(invite_r35));
|
|
})("allowOne", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_allowOne_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r44.allowOneInvite($event));
|
|
})("allowAll", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_allowAll_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r45.allowAllInvites($event));
|
|
})("allowPartial", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_allowPartial_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r46.allowPartialInvites($event));
|
|
})("denyOne", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_denyOne_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r47.denyOne($event));
|
|
})("denyAll", function PushNotificationsPage_ng_container_7_app_card_1_Template_app_card_denyAll_0_listener($event) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r37);
|
|
const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r48.denyAll($event));
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](1, "getInitials");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const invite_r35 = ctx.$implicit;
|
|
const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2);
|
|
let tmp_1_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("invite", invite_r35)("initials", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind2"](1, 4, (tmp_1_0 = invite_r35 == null ? null : invite_r35.firstName) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "", (tmp_1_0 = invite_r35 == null ? null : invite_r35.lastName) !== null && tmp_1_0 !== undefined ? tmp_1_0 : ""))("isLogisticEvent", ctx_r34.isLogisticEvent(invite_r35 == null ? null : invite_r35.event))("shouldCompare", ctx_r34.shouldCompare(invite_r35));
|
|
}
|
|
}
|
|
|
|
function PushNotificationsPage_ng_container_7_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, PushNotificationsPage_ng_container_7_app_card_1_Template, 2, 7, "app-card", 10);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx_r4.invites)("ngForTrackBy", ctx_r4.trackByInviteId);
|
|
}
|
|
}
|
|
|
|
const _c0 = function () {
|
|
return [0, 1, 2, 3, 4];
|
|
};
|
|
|
|
String.prototype.hashCode = function () {
|
|
let hash = 0;
|
|
|
|
if (this.length === 0) {
|
|
return hash.toString();
|
|
}
|
|
|
|
for (let i = 0; i < this.length; i++) {
|
|
const char = this.charCodeAt(i);
|
|
hash = (hash << 5) - hash + char;
|
|
hash |= 0; // Convert to 32bit integer
|
|
}
|
|
|
|
return hash.toString();
|
|
};
|
|
|
|
const DENY_INVITE_LOADING = 'PG_PUSH_NOTIFICATION_LOADING_REJECTING_INVITATION';
|
|
const TOAST_HAS_NO_PROFILE_RELEASE_TITLE = 'PG_PUSH_NOTIFICATION_TOAST_HAS_NO_PROFILE_RELEASE_TITLE';
|
|
const TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE = 'PG_PUSH_NOTIFICATION_TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE';
|
|
class PushNotificationsPage {
|
|
constructor(apiService, momentService, loadingService, notificatorService, ngZoneService, navigationService, authService, storageService, insomniaService, companyService, logisticCompanyService, logService, profileManagerService, geolocationService, modalController, portalLoginManagerService, createLogisticEventService, createEventService, pendingRelease, notificationsBadgeStoreService, loaderService, modalHelpService, translateConfigService, stateService, sessionAddFlowService, router, managerTokenUaamobileService, plataform, showToastModalErroCodeZero, cdr, managerNotificationPersistentService, route // private sendNotificationFcmService: SendNotificationFcmService
|
|
) {
|
|
var _this = this;
|
|
|
|
this.apiService = apiService;
|
|
this.momentService = momentService;
|
|
this.loadingService = loadingService;
|
|
this.notificatorService = notificatorService;
|
|
this.ngZoneService = ngZoneService;
|
|
this.navigationService = navigationService;
|
|
this.authService = authService;
|
|
this.storageService = storageService;
|
|
this.insomniaService = insomniaService;
|
|
this.companyService = companyService;
|
|
this.logisticCompanyService = logisticCompanyService;
|
|
this.logService = logService;
|
|
this.profileManagerService = profileManagerService;
|
|
this.geolocationService = geolocationService;
|
|
this.modalController = modalController;
|
|
this.portalLoginManagerService = portalLoginManagerService;
|
|
this.createLogisticEventService = createLogisticEventService;
|
|
this.createEventService = createEventService;
|
|
this.pendingRelease = pendingRelease;
|
|
this.notificationsBadgeStoreService = notificationsBadgeStoreService;
|
|
this.loaderService = loaderService;
|
|
this.modalHelpService = modalHelpService;
|
|
this.translateConfigService = translateConfigService;
|
|
this.stateService = stateService;
|
|
this.sessionAddFlowService = sessionAddFlowService;
|
|
this.router = router;
|
|
this.managerTokenUaamobileService = managerTokenUaamobileService;
|
|
this.plataform = plataform;
|
|
this.showToastModalErroCodeZero = showToastModalErroCodeZero;
|
|
this.cdr = cdr;
|
|
this.managerNotificationPersistentService = managerNotificationPersistentService;
|
|
this.route = route;
|
|
this.events = [];
|
|
this.invites = [];
|
|
this.approveeButtonDisable = false;
|
|
this.editButtoDisable = false;
|
|
this.inviteBeingReleased = null;
|
|
this.eventBeingReleased = null;
|
|
this.durationLong = 20000;
|
|
this.durationShort = 8000;
|
|
this.finalizegetPendingReleases = false;
|
|
this.finalizegetPendingEventsFss = false;
|
|
this.finishProcessingFssData = false;
|
|
this.finishProcessingReleasesData = false;
|
|
this.progress = 0; // Valor da barra de progresso
|
|
|
|
this.env = _environment__WEBPACK_IMPORTED_MODULE_7__.environment;
|
|
this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_22__.Subject();
|
|
this.stopTimeout = false;
|
|
this.hideLoadingLoadPendences = true;
|
|
this.portais = _constants_config_general__WEBPACK_IMPORTED_MODULE_4__.configOptions.portalParams.portais;
|
|
this.firstrequest = true;
|
|
this.isOffline = false;
|
|
this.tagloadingstart = 'push-notification-start';
|
|
this.canCallLoadPendencies = true;
|
|
this.profilesCache = new Map(); // // KA_APP-673 Cache de perfis movido para fora do método
|
|
|
|
this.stepTwoBuildingLogisticTargetEvent = /*#__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* (eventNotification) {
|
|
console.log('eventNotification: ', eventNotification);
|
|
const companyInstance = eventNotification.companyInstance;
|
|
const eventId = eventNotification.id;
|
|
const filter = {};
|
|
let accessToken = null;
|
|
|
|
_this.pooling(false);
|
|
|
|
_this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref2 = (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* (profile) {
|
|
_this.profileManagerService.setProfileLogistic(profile);
|
|
|
|
_this.getProfileRelatedAccessToken(profile).then(accessTokenResponse => {
|
|
accessToken = accessTokenResponse;
|
|
|
|
_this.logisticCompanyService.getEvent(eventId, filter, companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref3 = (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* (eventResponse) {
|
|
yield _this.verifyCoordinatesAPIAndApproveBuildingTargetLogisticEvent(companyInstance, accessToken, profile, eventResponse);
|
|
});
|
|
|
|
return function (_x3) {
|
|
return _ref3.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleGetEventError);
|
|
}).catch(error => _this.handleGetAccessTokenError(error, ['approve-event-review'], {
|
|
classifier: 'approve-event',
|
|
message: '',
|
|
data: error
|
|
}));
|
|
});
|
|
|
|
return function (_x2) {
|
|
return _ref2.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleNoProfileToDoRelease);
|
|
});
|
|
|
|
return function (_x) {
|
|
return _ref.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.approveLogisticEvent = /*#__PURE__*/function () {
|
|
var _ref4 = (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* (geoCoordinates) {
|
|
const data = {
|
|
id: _this.createLogisticEventService.getId(),
|
|
type: _this.createLogisticEventService.getType(),
|
|
title: _this.createLogisticEventService.getTitle(),
|
|
startAt: _this.createLogisticEventService.getStartDate(),
|
|
endAt: _this.createLogisticEventService.getEndDate(),
|
|
driver: _this.createLogisticEventService.getDriver(),
|
|
assistants: _this.createLogisticEventService.getAssistants(),
|
|
autoRelease: !_this.createLogisticEventService.getNeedAuthorization(),
|
|
hasCart: _this.createLogisticEventService.getHasCart(),
|
|
onFoot: _this.createLogisticEventService.getOnFoot(),
|
|
licensePlateOne: _this.createLogisticEventService.getLicensePlateOne(),
|
|
licensePlateTwo: _this.createLogisticEventService.getLicensePlateTwo(),
|
|
notes: _this.createLogisticEventService.getNotes(),
|
|
geoCoordinates
|
|
};
|
|
|
|
_this.createLogisticEventService.approveEvent(data).then(_this.handleApproveLogisticEventSuccessResponse).catch(_this.handleApproveLogisticEventErrorResponse).finally(() => {
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
});
|
|
|
|
return function (_x4) {
|
|
return _ref4.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleApproveLogisticEventSuccessResponse = response => {
|
|
console.log('handleApproveEventSuccessResponse');
|
|
console.log('response:', response);
|
|
const companyInstanceName = response.company.instanceName;
|
|
const eventId = response.id;
|
|
|
|
if (eventId && companyInstanceName) {
|
|
this.ngZoneService.run(() => {
|
|
this.events = this.events.filter(event => event.id != eventId && event?.company?.instanceName !== companyInstanceName);
|
|
});
|
|
}
|
|
|
|
this.enableButtons();
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_APPROVE_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_APPROVE_MESSAGE'),
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleApproveLogisticEventErrorResponse = error => {
|
|
this.enableButtons();
|
|
console.log('handleApproveEventErrorResponse');
|
|
console.log('error:', error);
|
|
this.logService.logError('http::handleApproveEventErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
let message = '';
|
|
|
|
if (error.status === 400) {
|
|
if (error.error.errorKey === 'notmatched') {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_NOMATCHED');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
} else if (error.status === 403) {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_FORBIDDEN_UPDATE');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message,
|
|
type: 'error'
|
|
};
|
|
this.loadPendencies();
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.stepTwoBuildingTargetEvent = eventNotification => {
|
|
// Aprovar eventos
|
|
const companyInstance = eventNotification.companyInstance;
|
|
const eventId = eventNotification.id;
|
|
const filter = {};
|
|
let accessToken = null;
|
|
this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref5 = (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* (profile) {
|
|
// this.setProfileSelected(profile);
|
|
_this.setProfileCurrentCorrect(profile);
|
|
|
|
_this.companyService.getEvent(eventId, filter, companyInstance).then(response => {
|
|
const invites = response.invites;
|
|
const guests = invites.filter(item => !item.host);
|
|
const hosts = invites.filter(item => item.host);
|
|
|
|
const data = _this.momentService.formatAsEventFromTo(response.startAt, response.endAt);
|
|
|
|
const eventReceived = { ...response,
|
|
guests,
|
|
hosts,
|
|
data
|
|
};
|
|
|
|
_this.dataManager.setData('isExpeditionProfile', false);
|
|
|
|
_this.loadData(eventReceived, 'approve-event-review');
|
|
}).catch(_this.handleGetEventError);
|
|
});
|
|
|
|
return function (_x5) {
|
|
return _ref5.apply(this, arguments);
|
|
};
|
|
}()).catch(this.handleNoProfileToDoRelease);
|
|
};
|
|
|
|
this.getCompanyGroups = () => {
|
|
this.createEventService.getCompanyGroups().then(this.handleGetCompanyGroupsSuccessResponse).catch(this.handleGetCompanyGroupsErrorResponse);
|
|
};
|
|
|
|
this.handleGetCompanyGroupsSuccessResponse = response => {
|
|
this.createEventService.setGroups(response);
|
|
const groups = this.createEventService.getGroups();
|
|
|
|
if (groups.length === 1) {
|
|
this.createEventService.setSelectedGroup(groups[0]);
|
|
}
|
|
|
|
this.getCompanyFloors();
|
|
};
|
|
|
|
this.handleGetCompanyGroupsErrorResponse = response => {
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.enableButtons();
|
|
};
|
|
|
|
this.getCompanyFloors = () => {
|
|
this.createEventService.getCompanyFloors().then(this.handleGetCompanyFloorsSuccessResponse).catch(this.handleGetCompanyFloorsErrorResponse);
|
|
};
|
|
|
|
this.handleGetCompanyFloorsSuccessResponse = response => {
|
|
console.log(response);
|
|
|
|
if (!response.length) {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_COMPANY_HAS_NO_FLOORS_MESSAGE'),
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification); //this.navigationService.back(['/home']);
|
|
} else {
|
|
this.createEventService.setFloors(response);
|
|
const floors = this.createEventService.getFloors();
|
|
|
|
if (floors.length === 1) {
|
|
this.createEventService.setSelectedFloor(floors[0]);
|
|
} else if (floors.length > 1) {
|
|
this.createEventService.setSelectedFloor(floors[0]);
|
|
} //if (this.createEventService.getIsNew()) {
|
|
|
|
|
|
this.createEventService.getAccount().then(this.handleGetUserAccountSuccessResponse).catch(this.handleGetUserAccountErrorResponse); //}
|
|
}
|
|
};
|
|
|
|
this.handleGetCompanyFloorsErrorResponse = error => {
|
|
console.log('handleGetCompanyFloorsErrorResponse');
|
|
console.log(error);
|
|
this.navigationService.back(['/home']);
|
|
this.loadingService.hide(null, 'loading-company-data');
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_FLOORS_MESSAGE'),
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleGetUserAccountSuccessResponse = response => {
|
|
if (this.createEventService.getAction() === 'approve-event-review') {
|
|
this.createEventService.setHosts([response]);
|
|
console.log(this.createEventService.getHosts());
|
|
this.approveEvent();
|
|
}
|
|
};
|
|
|
|
this.handleGetUserAccountErrorResponse = error => {
|
|
console.log('handleGetUserAccountErrorResponse');
|
|
console.log('error:', error);
|
|
this.loadingService.hide(null, 'loading-company-data');
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETUSER_MESSAGE'),
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
this.navigationService.back(['/home']);
|
|
};
|
|
|
|
this.createEventGetHosts = () => {
|
|
let hosts = this.createEventService.getHosts();
|
|
hosts = hosts.map(h => ({ ...h,
|
|
company: h.company ? h.company.name : ''
|
|
}));
|
|
return hosts;
|
|
};
|
|
|
|
this.stepAllowAllBuildingTargetEventFss = /*#__PURE__*/function () {
|
|
var _ref6 = (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* (eventNotification, callApi) {
|
|
// Aprovar eventos BUILDING - Fluxo otimizado
|
|
const companyInstance = eventNotification.companyInstance;
|
|
const eventId = eventNotification.id;
|
|
const filter = {};
|
|
|
|
try {
|
|
// 1. Get Profile
|
|
const profile = yield _this.getProfileFromCacheOrRemote(companyInstance);
|
|
|
|
_this.setProfileCurrentCorrect(profile); // 2. Get Access Token (Token Portal)
|
|
|
|
|
|
const accessToken = yield _this.getProfileRelatedAccessToken(profile); // 3. Get Event Details
|
|
|
|
const eventResponse = yield _this.companyService.getEvent(eventId, filter, companyInstance); // 4. Process Event Data
|
|
|
|
const invites = eventResponse.invites;
|
|
const guests = invites.filter(item => !item.host);
|
|
const hosts = invites.filter(item => item.host);
|
|
|
|
const data = _this.momentService.formatAsEventFromTo(eventResponse.startAt, eventResponse.endAt);
|
|
|
|
const eventReceived = { ...eventResponse,
|
|
guests,
|
|
hosts,
|
|
data
|
|
}; // 5. Set Event Data
|
|
|
|
_this.createEventService.clearCreateEventData();
|
|
|
|
_this.createEventService.setAction('approve-event-review');
|
|
|
|
_this.createEventService.setEventToEdit(eventReceived); // 6. Get Company Groups
|
|
|
|
|
|
const groupsResponse = yield _this.createEventService.getCompanyGroups();
|
|
|
|
_this.createEventService.setGroups(groupsResponse);
|
|
|
|
const groups = _this.createEventService.getGroups();
|
|
|
|
if (groups.length === 1) {
|
|
_this.createEventService.setSelectedGroup(groups[0]);
|
|
} // 7. Get Company Floors
|
|
|
|
|
|
const floorsResponse = yield _this.createEventService.getCompanyFloors();
|
|
|
|
if (!floorsResponse.length) {
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_COMPANY_HAS_NO_FLOORS_MESSAGE'),
|
|
type: 'error'
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
|
|
_this.enableButtons();
|
|
|
|
_this.loadingService.hide(null, 'allow-one');
|
|
|
|
_this.loadingService.hide(null, 'allow-all');
|
|
|
|
_this.loadingService.hide(null, 'allow-partial');
|
|
|
|
return;
|
|
}
|
|
|
|
_this.createEventService.setFloors(floorsResponse);
|
|
|
|
const floors = _this.createEventService.getFloors();
|
|
|
|
if (floors.length === 1) {
|
|
_this.createEventService.setSelectedFloor(floors[0]);
|
|
} else if (floors.length > 1) {
|
|
_this.createEventService.setSelectedFloor(floors[0]);
|
|
} // 8. Get User Account
|
|
|
|
|
|
const userAccount = yield _this.createEventService.getAccount();
|
|
|
|
_this.createEventService.setHosts([userAccount]); // 9. Final Approval
|
|
|
|
|
|
_this.pooling(false);
|
|
|
|
yield _this.approveEventBuilding(companyInstance, accessToken, callApi);
|
|
} catch (error) {
|
|
console.log('stepAllowAllBuildingTargetEventFss error:', error);
|
|
|
|
_this.handleApproveEventErrorResponse(error);
|
|
}
|
|
});
|
|
|
|
return function (_x6, _x7) {
|
|
return _ref6.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleApproveEventSuccessResponse = response => {
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.loadingService.hide(null, 'allow-one');
|
|
this.loadingService.hide(null, 'allow-all');
|
|
this.loadingService.hide(null, 'allow-partial');
|
|
this.enableButtons();
|
|
console.log('handleApproveEventSuccessResponse');
|
|
console.log('response:', response);
|
|
const companyInstanceName = response.company.instanceName;
|
|
const eventId = response.id;
|
|
|
|
if (eventId && companyInstanceName) {
|
|
this.ngZoneService.run(() => {
|
|
this.events = this.events.filter(event => event.id != eventId && event?.company?.instanceName !== companyInstanceName);
|
|
});
|
|
}
|
|
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_APPROVE_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_APPROVE_MESSAGE'),
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleApproveEventErrorResponse = error => {
|
|
console.log('handleApproveEventErrorResponse');
|
|
console.log('error:', error);
|
|
this.enableButtons();
|
|
this.logService.logError('http::handleApproveEventErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.loadingService.hide(null, 'allow-one');
|
|
this.loadingService.hide(null, 'allow-all');
|
|
this.loadingService.hide(null, 'allow-partial');
|
|
let message = '';
|
|
|
|
if (error.status === 400) {
|
|
if (error.error.errorKey === 'notmatched') {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_NOMATCHED');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
} else if (error.status === 403) {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_FORBIDDEN_UPDATE');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message,
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.onStartSuccessResponse = () => {
|
|
console.log('Start');
|
|
this.loaderService.hide();
|
|
this.stopTimeout = false;
|
|
this.finalizegetPendingEventsFss = false;
|
|
this.finalizegetPendingReleases = false;
|
|
this.loadingService.hide(null, this.tagloadingstart).then(() => {}).finally(() => {
|
|
this.loadPendencies();
|
|
});
|
|
};
|
|
|
|
this.getVisitorCompanyName = event => event.companyName;
|
|
|
|
this.onGetPendingReleasesSuccessResponse = response => {
|
|
const pendencies = response;
|
|
const processedPendencies = pendencies.map(pendency => {
|
|
const companyInstance = pendency?.companyInstance;
|
|
const companionAddPhoto = pendency?.companions.map(companion => ({ ...companion,
|
|
status: companion?.status ?? pendency.status,
|
|
thumbnailImage: null
|
|
}));
|
|
const processedPendency = { ...pendency,
|
|
companions: companionAddPhoto,
|
|
hasRequireFaceImage: false,
|
|
initials: '',
|
|
requireFaceImage: false,
|
|
thumbnailImage: null,
|
|
checkInAtFormatted: new Date().toISOString(),
|
|
lastModifiedDate: new Date().toISOString()
|
|
};
|
|
processedPendency.hasRequireFaceImage = this.hasRequireFaceImage(companyInstance);
|
|
|
|
if (pendency.status === 'WAITING_FOR_INVITE_APPROVE') {
|
|
processedPendency.createdDate = this.momentService.formatAsEventAt(pendency.createdDate);
|
|
} else {
|
|
// Guard against null/undefined checkinDate to prevent "Invalid date" display
|
|
processedPendency.checkInAtFormatted = pendency.checkinDate ? this.momentService.formatAsCheckinAt(pendency.checkinDate) : '';
|
|
}
|
|
|
|
return processedPendency;
|
|
});
|
|
this.ngZoneService.run( /*#__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 dataHashInvite = yield _this.sha256(processedPendencies);
|
|
|
|
if (dataHashInvite !== _this.lastDataHashInvites) {
|
|
_this.lastDataHashInvites = dataHashInvite; // Mostra cards IMEDIATAMENTE (sem fotos) - nova referência de cada objeto
|
|
|
|
_this.invites = processedPendencies.map(i => ({ ...i
|
|
}));
|
|
console.log('🔄 Invites antes de carregar fotos:', _this.invites.map(i => ({
|
|
id: i.inviteId || i.id,
|
|
hasPhoto: !!i.thumbnailImage
|
|
}))); // Carrega fotos em background
|
|
|
|
yield _this.getInvitesPhotos(processedPendencies, 'invites');
|
|
console.log('📸 Invites após carregar fotos:', processedPendencies.map(i => ({
|
|
id: i.inviteId || i.id,
|
|
hasPhoto: !!i.thumbnailImage,
|
|
photoLength: i.thumbnailImage?.length
|
|
})));
|
|
_this.invitesBackup = processedPendencies.map(i => ({ ...i
|
|
})); // Atualiza com fotos (nova referência de cada objeto)
|
|
|
|
_this.invites = processedPendencies.map(i => ({ ...i
|
|
}));
|
|
console.log('✅ Invites final:', _this.invites.map(i => ({
|
|
id: i.inviteId || i.id,
|
|
hasPhoto: !!i.thumbnailImage
|
|
})));
|
|
} else {
|
|
// Cria novos objetos do backup para OnPush detectar
|
|
_this.invites = _this.invitesBackup.map(i => ({ ...i
|
|
}));
|
|
console.log('♻️ Usando backup de invites (com novas referências)');
|
|
}
|
|
|
|
_this.loadingService.hide(null, 'get-pending-releases').then(() => {}).catch(() => {}).finally(() => {
|
|
_this.finishProcessingReleasesData = true;
|
|
});
|
|
}));
|
|
};
|
|
|
|
this.goToReviewEvent = event => {
|
|
if (event.target === 'LOGISTIC') {
|
|
this.approveeButtonDisable = true;
|
|
this.goToReviewLogisticTargetEvent(event);
|
|
} else {
|
|
this.disaBledBtnsStopLoading();
|
|
this.goToReviewBuildingTargetEvent(event);
|
|
}
|
|
};
|
|
|
|
this.goToReviewBuildingTargetEvent = eventNotification => {
|
|
// Editar Eventos
|
|
const companyInstance = eventNotification.companyInstance;
|
|
const eventId = eventNotification.id;
|
|
const filter = {};
|
|
let accessToken = null;
|
|
const isLogisticEvent = this.isLogisticEvent(eventNotification);
|
|
this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref8 = (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* (profile) {
|
|
// this.setProfileSelected(profile);
|
|
const isExpeditionProfile = _this.profileManagerService.isExpeditionProfile(profile);
|
|
|
|
_this.setProfileCurrentCorrect(profile);
|
|
|
|
if (isExpeditionProfile) {
|
|
_this.getProfileRelatedAccessToken(profile).then( /*#__PURE__*/function () {
|
|
var _ref9 = (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* (accessTokenResponse) {
|
|
accessToken = accessTokenResponse;
|
|
let lat = null;
|
|
let lng = null;
|
|
|
|
if (isLogisticEvent) {
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'goToReviewBuildingTargetEvent',
|
|
targetLoading: 'on-edit-event'
|
|
});
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.geoCoordinates('geolocation::editBuildingTarget', 'on-edit-event');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
return;
|
|
}
|
|
|
|
try {
|
|
const verifyCoordinates = yield _this.apiService.verifyCoordinates(companyInstance, lat, lng, accessToken).toPromise();
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this.handleOutOfArea();
|
|
|
|
return;
|
|
}
|
|
|
|
_this.fetchEventAndNavigateToReview(eventId, filter, companyInstance, profile, true);
|
|
} catch (error) {
|
|
_this.handleVerifyCoordinatesError(error);
|
|
}
|
|
} else {
|
|
return _this.fetchEventAndNavigateToReview(eventId, filter, companyInstance, profile, true);
|
|
}
|
|
} else {
|
|
return _this.fetchEventAndNavigateToReview(eventId, filter, companyInstance, profile, true);
|
|
}
|
|
});
|
|
|
|
return function (_x9) {
|
|
return _ref9.apply(this, arguments);
|
|
};
|
|
}()).catch(error => _this.handleGetAccessTokenError(error, ['on-edit-event'], {
|
|
classifier: '',
|
|
message: '',
|
|
data: error
|
|
}));
|
|
} else {
|
|
_this.fetchEventAndNavigateToReview(eventId, filter, companyInstance, profile, false);
|
|
}
|
|
});
|
|
|
|
return function (_x8) {
|
|
return _ref8.apply(this, arguments);
|
|
};
|
|
}()).catch(this.handleNoProfileToDoRelease);
|
|
}; // LOGISTIC
|
|
|
|
|
|
this.goToReviewLogisticTargetEvent = /*#__PURE__*/function () {
|
|
var _ref0 = (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* (eventNotification) {
|
|
const companyInstance = eventNotification.companyInstance;
|
|
const eventId = eventNotification.id;
|
|
const filter = {};
|
|
let accessToken = null;
|
|
|
|
_this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref1 = (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* (profile) {
|
|
// this.setProfileSelected(profile);
|
|
_this.profileManagerService.setProfileLogistic(profile);
|
|
|
|
_this.getProfileRelatedAccessToken(profile).then( /*#__PURE__*/function () {
|
|
var _ref10 = (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* (accessTokenResponse) {
|
|
accessToken = accessTokenResponse;
|
|
let lat = null;
|
|
let lng = null;
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'goToReviewLogisticTargetEvent',
|
|
targetLoading: 'event-edit'
|
|
});
|
|
|
|
_this.logisticCompanyService.getEvent(eventId, filter, companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref11 = (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* (response) {
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.geoCoordinates('geolocation::Editd', 'event-edit');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
return;
|
|
}
|
|
|
|
try {
|
|
const verifyCoordinates = yield _this.apiService.verifyCoordinates(companyInstance, lat, lng, accessToken).toPromise();
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this.handleOutOfArea();
|
|
|
|
return;
|
|
} else {
|
|
const eventType = response.behavior;
|
|
const licensePlateOne = response.driver && response.driver.licensePlateOne ? response.driver.licensePlateOne : null;
|
|
const licensePlateTwo = response.driver && response.driver.licensePlateTwo ? response.driver.licensePlateTwo : null;
|
|
const hasCart = response.driver && response.driver.hasCart ? response.driver.hasCart : false;
|
|
const onFoot = response.driver && response.driver.onFoot ? response.driver.onFoot : false;
|
|
const navigationExtras = {
|
|
state: {
|
|
action: response.status === 'WAITING_FOR_EVENT_APPROVE' || !response.finalized ? 'edit' : 'approve-event-review',
|
|
approveEventReview: 'TRUE',
|
|
type: response.behavior,
|
|
event: { ...response,
|
|
licensePlateOne,
|
|
licensePlateTwo,
|
|
hasCart,
|
|
onFoot
|
|
},
|
|
eventType,
|
|
isLimitedProfile: _this.isLimitedProfile(profile)
|
|
}
|
|
};
|
|
|
|
_this.navigationService.forward(['/logistic-events/create/event-name'], navigationExtras);
|
|
}
|
|
} catch (error) {
|
|
_this.handleVerifyCoordinatesError(error);
|
|
}
|
|
} else {
|
|
const eventType = response.behavior;
|
|
const licensePlateOne = response.driver && response.driver.licensePlateOne ? response.driver.licensePlateOne : null;
|
|
const licensePlateTwo = response.driver && response.driver.licensePlateTwo ? response.driver.licensePlateTwo : null;
|
|
const hasCart = response.driver && response.driver.hasCart ? response.driver.hasCart : false;
|
|
const onFoot = response.driver && response.driver.onFoot ? response.driver.onFoot : false;
|
|
const navigationExtras = {
|
|
state: {
|
|
action: response.status === 'WAITING_FOR_EVENT_APPROVE' || !response.finalized ? 'edit' : 'approve-event-review',
|
|
approveEventReview: 'TRUE',
|
|
type: response.behavior,
|
|
event: { ...response,
|
|
licensePlateOne,
|
|
licensePlateTwo,
|
|
hasCart,
|
|
onFoot
|
|
},
|
|
eventType,
|
|
isLimitedProfile: _this.isLimitedProfile(profile)
|
|
}
|
|
};
|
|
|
|
_this.navigationService.forward(['/logistic-events/create/event-name'], navigationExtras);
|
|
}
|
|
});
|
|
|
|
return function (_x11) {
|
|
return _ref11.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleGetEventError);
|
|
});
|
|
|
|
return function (_x10) {
|
|
return _ref10.apply(this, arguments);
|
|
};
|
|
}()).catch(error => _this.handleGetAccessTokenError(error, [''], {
|
|
classifier: 'http:goToReviewLogisticTargetEven',
|
|
message: '',
|
|
data: error
|
|
}));
|
|
});
|
|
|
|
return function (_x1) {
|
|
return _ref1.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleNoProfileToDoRelease);
|
|
});
|
|
|
|
return function (_x0) {
|
|
return _ref0.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.reproveEvent = event => {
|
|
const companyInstance = event.invites[0].companyInstance;
|
|
this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref12 = (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* (profile) {
|
|
// this.setProfileSelected(profile);
|
|
if (event.target === 'BUILDING') {
|
|
_this.approveeButtonDisable = true;
|
|
|
|
_this.profileManagerService.setProfile(profile);
|
|
|
|
_this.reproveBuildingEvent(event);
|
|
} else {
|
|
_this.approveeButtonDisable = true;
|
|
|
|
_this.profileManagerService.setProfileLogistic(profile);
|
|
|
|
_this.reproveLogisticEvent(event);
|
|
}
|
|
});
|
|
|
|
return function (_x12) {
|
|
return _ref12.apply(this, arguments);
|
|
};
|
|
}()).catch(this.handleNoProfileToDoRelease);
|
|
};
|
|
|
|
this.reproveLogisticEvent = /*#__PURE__*/function () {
|
|
var _ref13 = (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* (event) {
|
|
_this.eventBeingReleased = event;
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.JustifySelfInviteWithoutLocatorComponent
|
|
});
|
|
modal.onDidDismiss().then( /*#__PURE__*/function () {
|
|
var _ref14 = (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* (modalResponse) {
|
|
const reason = modalResponse.data.reason;
|
|
_this.approveeButtonDisable = false;
|
|
|
|
if (reason === null) {
|
|
return;
|
|
}
|
|
|
|
_this.loadingService.show(_this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_FAILING_EVENT'), 'reprove-event');
|
|
|
|
const data = {
|
|
id: event.id,
|
|
message: reason
|
|
};
|
|
|
|
_this.pooling(false); // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(event?.id);
|
|
// }
|
|
|
|
|
|
_this.createLogisticEventService.denyEvent(data).then(_this.handleReproveEventSuccessResponse).catch(_this.handleReproveEventErrorResponse).finally(() => {
|
|
_this.loadingService.hide(0, 'reprove-event');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
});
|
|
|
|
return function (_x14) {
|
|
return _ref14.apply(this, arguments);
|
|
};
|
|
}());
|
|
yield modal.present();
|
|
});
|
|
|
|
return function (_x13) {
|
|
return _ref13.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.reproveBuildingEvent = /*#__PURE__*/function () {
|
|
var _ref15 = (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* (event) {
|
|
_this.eventBeingReleased = event;
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.JustifySelfInviteWithoutLocatorComponent
|
|
});
|
|
modal.onDidDismiss().then( /*#__PURE__*/function () {
|
|
var _ref16 = (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* (modalResponse) {
|
|
_this.approveeButtonDisable = false;
|
|
const reason = modalResponse.data.reason;
|
|
|
|
if (reason === null) {
|
|
return;
|
|
}
|
|
|
|
_this.loadingService.show(_this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_FAILING_EVENT'), 'reprove-event');
|
|
|
|
const id = event.status !== 'WAITING_FOR_RELEASE' ? event.id : event.eventId;
|
|
const data = {
|
|
id,
|
|
message: reason
|
|
};
|
|
|
|
_this.pooling(false); // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(event?.id);
|
|
// }
|
|
|
|
|
|
_this.createEventService.denyEvent(data).then(_this.handleReproveEventSuccessResponse).catch(_this.handleReproveEventErrorResponse).finally(() => {
|
|
_this.loadingService.hide(0, 'reprove-event');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
});
|
|
|
|
return function (_x16) {
|
|
return _ref16.apply(this, arguments);
|
|
};
|
|
}());
|
|
yield modal.present();
|
|
});
|
|
|
|
return function (_x15) {
|
|
return _ref15.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleReproveEventSuccessResponse = response => {
|
|
console.log('handleReproveEventSuccessResponse');
|
|
console.log('response:', response);
|
|
this.loadingService.hide(null, 'reprove-event').then(() => {
|
|
this.showEventReprovedSuccessfullyNotification();
|
|
this.removeEventPendencyFromList();
|
|
this.clearEventBeingReleased();
|
|
}).finally(() => {
|
|
this.enableButtons();
|
|
});
|
|
};
|
|
|
|
this.showEventReprovedSuccessfullyNotification = () => {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_REPROVE_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_REPROVE_MESSAGE'),
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.removeEventPendencyFromList = () => {
|
|
this.ngZoneService.run(() => {
|
|
this.events = this.events.filter(event => event.id !== this.eventBeingReleased.id);
|
|
});
|
|
};
|
|
|
|
this.clearEventBeingReleased = () => {
|
|
this.ngZoneService.run(() => {
|
|
this.eventBeingReleased = null;
|
|
});
|
|
};
|
|
|
|
this.handleReproveEventErrorResponse = error => {
|
|
console.log('handleReproveEventErrorResponse');
|
|
console.log('error:', error);
|
|
this.enableButtons();
|
|
this.logService.logError('http::handleReproveEventErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'reprove-event');
|
|
let message = '';
|
|
|
|
if (error.status === 400) {
|
|
if (error.error.errorKey === 'notmatched') {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_NOMATCHED');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
} else if (error.status === 403) {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_FORBIDDEN_UPDATE');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_UPDATE');
|
|
}
|
|
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message,
|
|
type: 'error'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleGetEventError = () => {
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_DATA_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_DATA_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
this.loadingService.hide(null, 'do-release');
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
};
|
|
|
|
this.allowOne = event => {
|
|
// Aprovar um convidado individual
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), 'allow-one');
|
|
this.disaBledBtnsStopLoading();
|
|
this.stepAllowAllBuildingTargetEventFss(event, 'allowAll');
|
|
};
|
|
|
|
this.allowAll = event => {
|
|
// Aprovar todos os convidados
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), 'allow-all');
|
|
this.disaBledBtnsStopLoading();
|
|
this.stepAllowAllBuildingTargetEventFss(event, 'allowAll');
|
|
};
|
|
|
|
this.allowPartial = event => {
|
|
// Aprovar parcialmente (alguns convidados)
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), 'allow-partial');
|
|
this.disaBledBtnsStopLoading();
|
|
this.stepAllowAllBuildingTargetEventFss(event, 'allowPartial');
|
|
};
|
|
|
|
this.denyOne = payload => {
|
|
const target = payload?.event?.target ?? payload?.target;
|
|
|
|
if (target === 'BUILDING') {
|
|
this.denySelfInviteWithLocatorBuilding(payload, true, 'denyOne');
|
|
} else {
|
|
this.denySelfInviteWithLocator(payload, true);
|
|
}
|
|
};
|
|
|
|
this.denyAll = event => {
|
|
const target = event?.target ?? event?.event?.target;
|
|
|
|
if (target === 'BUILDING') {
|
|
// Criar um objeto customizado para exibir "Visitante principal e todos os acompanhantes"
|
|
const customPayload = { ...event,
|
|
firstName: 'Visitante principal e',
|
|
lastName: 'todos os acompanhantes'
|
|
};
|
|
this.denySelfInviteWithLocatorBuilding(customPayload, true, 'denyAll');
|
|
} else {
|
|
this.denySelfInviteWithLocator(event, true);
|
|
}
|
|
}; // Métodos para eventos AGENDADOS com target BUILDING (VO)
|
|
// Usam PATCH /api/v2/invites/{inviteId}/authorize (sem body)
|
|
// Diferente do FSS que usa PUT /api/do-events/{eid}/authorize
|
|
|
|
|
|
this.allowOneInvite = invite => {
|
|
// Aprovar apenas o visitante principal (evento agendado)
|
|
const loadingTag = invite?.status === 'WAITING_FOR_RELEASE' ? 'do-release' : 'authorize-invite';
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), loadingTag);
|
|
this.inviteBeingReleased = invite;
|
|
this.disaBledBtnsStopLoading();
|
|
this.authorizeScheduledInvite(invite);
|
|
};
|
|
|
|
this.allowAllInvites = invite => {
|
|
// Aprovar todos os convidados (evento agendado)
|
|
const loadingTag = invite?.status === 'WAITING_FOR_RELEASE' ? 'do-release' : 'authorize-invite';
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), loadingTag);
|
|
this.inviteBeingReleased = invite;
|
|
this.disaBledBtnsStopLoading();
|
|
this.authorizeScheduledInvite(invite);
|
|
};
|
|
|
|
this.allowPartialInvites = invite => {
|
|
// Aprovar parcialmente - visitantes restantes aprovados (evento agendado)
|
|
const loadingTag = invite?.status === 'WAITING_FOR_RELEASE' ? 'do-release' : 'authorize-invite';
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), loadingTag);
|
|
this.inviteBeingReleased = invite;
|
|
this.disaBledBtnsStopLoading();
|
|
this.authorizeScheduledInvite(invite);
|
|
};
|
|
/**
|
|
* Método centralizado para autorizar invites de eventos agendados (BUILDING/VO)
|
|
* Verifica o status do invite para chamar o endpoint correto:
|
|
* - WAITING_FOR_INVITE_APPROVE → PATCH /api/v2/invites/{inviteId}/authorize (authorizeSelfInviteWithLocator)
|
|
* - WAITING_FOR_RELEASE → PATCH /api/do-checkin/{inviteId}/authorize (authorizeDoCheckin)
|
|
*/
|
|
|
|
|
|
this.authorizeScheduledInvite = invite => {
|
|
const companyInstance = invite?.companyInstance;
|
|
const inviteId = invite?.inviteId;
|
|
const status = invite?.status;
|
|
|
|
if (status === 'WAITING_FOR_RELEASE') {
|
|
// Fluxo do-checkin: PATCH /api/do-checkin/{inviteId}/authorize
|
|
// Mesmo padrão do autorizeDoCheckin para não-logísticos
|
|
this.getCompanyInstanceRelatedAccessToken(companyInstance).then(accessToken => {
|
|
this.pooling(false);
|
|
return this.companyService.authorizeDoCheckin(companyInstance, accessToken, inviteId);
|
|
}).then(this.processDoReleaseSuccessResponse).catch(this.processDoReleaseErrorResponse);
|
|
} else {
|
|
// Fluxo invite approve: PATCH /api/v2/invites/{inviteId}/authorize
|
|
// Mesmo padrão do authorizeSelfInviteWithLocator para não-logísticos
|
|
this.getCompanyInstanceRelatedAccessToken(companyInstance).then(accessToken => {
|
|
this.pooling(false);
|
|
return this.companyService.authorizeSelfInviteWithLocator(inviteId, companyInstance, accessToken);
|
|
}).then(this.processAuthorizeSelfInviteWithLocatorSuccessResponse).catch(this.processAuthorizeSelfInviteWithLocatorErrorResponse);
|
|
}
|
|
}; // TODO Use it
|
|
|
|
|
|
this.isLimitedProfile = profile => profile.authorities && (profile.authorities.includes('ROLE_COMPANY_LIMITED') || profile.authorities.includes('ROLE_COMPANY_LIMITED2'));
|
|
|
|
this.shouldCompare = invite => {
|
|
const isAssistantApproval = invite && invite.driverAssistant ? invite.driverAssistant : false;
|
|
const registrationMatches = invite ? !!invite.registrationMatches : false;
|
|
const hasDriver = invite ? !!invite.hasDriver : false;
|
|
let shouldCompare;
|
|
|
|
if (isAssistantApproval) {
|
|
shouldCompare = false;
|
|
} else {
|
|
if (hasDriver === true && registrationMatches === false) {
|
|
shouldCompare = true;
|
|
} else {
|
|
shouldCompare = false;
|
|
}
|
|
}
|
|
|
|
return shouldCompare;
|
|
};
|
|
|
|
this.openSolveDriverCheckinConflict = /*#__PURE__*/function () {
|
|
var _ref17 = (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* (invite) {
|
|
const inviteId = invite && invite.inviteId ? invite.inviteId : 'no-invite-id';
|
|
const instanceName = invite.companyInstance;
|
|
|
|
if (!instanceName) {
|
|
return;
|
|
}
|
|
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.SolveDriverCheckinConflictComponent,
|
|
componentProps: {
|
|
inviteId,
|
|
instanceName
|
|
}
|
|
});
|
|
yield modal.present();
|
|
modal.onDidDismiss().then(_this.onSolveDriverCheckinConflictComponentDismissCallback);
|
|
});
|
|
|
|
return function (_x17) {
|
|
return _ref17.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.onSolveDriverCheckinConflictComponentDismissCallback = response => {
|
|
console.log('onSolveDriverCheckinConflictComponentDismissCallback:', response);
|
|
|
|
if (!response.data) {
|
|
return;
|
|
}
|
|
|
|
if (response.data.action === 'authorize') {
|
|
this.authorizeSelfInviteWithLocator(response.data.invite);
|
|
} else if (response.data.action === 'deny') {
|
|
this.denySelfInviteWithLocator(response.data.invite);
|
|
}
|
|
};
|
|
|
|
this.getInvitesPhotos = /*#__PURE__*/function () {
|
|
var _ref18 = (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* (data, type) {
|
|
if (type === 'invites' && data.length > 0) {
|
|
for (const invite of data) {
|
|
yield _this.handleInvite(invite, invite['hasRequireFaceImage']);
|
|
}
|
|
} else {
|
|
if (data && data.length > 0) {
|
|
for (const eventsInvites of data) {
|
|
yield _this.handleEventInvites(eventsInvites, eventsInvites['hasRequireFaceImage']);
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
return function (_x18, _x19) {
|
|
return _ref18.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleGetUserInvitePhotoSuccessResponse = (response, invite) => {
|
|
const thumbnailImage = response && response.faceImageThumbnail ? response.faceImageThumbnail : null;
|
|
invite.thumbnailImage = thumbnailImage; // Debug: Verificar se foto foi atribuída
|
|
|
|
console.log('📸 Foto atribuída ao invite:', {
|
|
inviteId: invite.inviteId || invite.id,
|
|
hasPhoto: !!thumbnailImage,
|
|
photoLength: thumbnailImage?.length
|
|
});
|
|
return thumbnailImage;
|
|
}; // There is no need to warn the user that there were an error trying to load the image.
|
|
|
|
|
|
this.handleGetUserInvitePhotoErrorResponse = (response, invite) => {
|
|
console.log('handleGetUserInvitePhotoErrorResponse');
|
|
console.log(response);
|
|
};
|
|
|
|
this.onGetPendingReleasesErrorResponse = response => {
|
|
this.enableButtons();
|
|
console.log('error:', response);
|
|
const notification = this.toastNotificationError(response);
|
|
this.logService.logError('http::onGetPendingReleasesErrorResponse', '', response);
|
|
this.loadingService.hide(null, 'get-pending-releases').then(() => {
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
|
|
this.doRelease = /*#__PURE__*/function () {
|
|
var _ref19 = (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* (invite) {
|
|
_this.loadingService.show(_this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_SENDING_RELEASE'), 'do-release');
|
|
|
|
_this.inviteBeingReleased = invite;
|
|
const {
|
|
event,
|
|
companyInstance,
|
|
eventId
|
|
} = invite; // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(event?.id);
|
|
// }
|
|
|
|
const isLogisticEvent = _this.isLogisticEvent(event);
|
|
|
|
_this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref20 = (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* (profile) {
|
|
let lat = null;
|
|
let lng = null;
|
|
|
|
const isExpeditionProfile = _this.profileManagerService.isExpeditionProfile(profile);
|
|
|
|
try {
|
|
const accessToken = yield _this.getProfileRelatedAccessToken(profile);
|
|
|
|
if (isExpeditionProfile && isLogisticEvent) {
|
|
console.log('[doRelease] path: expedition+logistic', {
|
|
companyInstance,
|
|
eventId
|
|
});
|
|
let isAuthorizedWithcheckSoftLock = false;
|
|
|
|
try {
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'doRelease',
|
|
targetLoading: 'do-release'
|
|
});
|
|
isAuthorizedWithcheckSoftLock = authorized;
|
|
} catch (error) {
|
|
// KA_APP-673
|
|
return _this.handleErrorCheckSoftLock(error, 'doRelease', 'do-release');
|
|
} // KA_APP-673
|
|
|
|
|
|
if (isAuthorizedWithcheckSoftLock) {
|
|
return _this.apiService.doLogisticMobileRelease(companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
} // KA_APP-673
|
|
|
|
|
|
try {
|
|
const verifyCoordinates = yield _this.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'do-release');
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
return _this.handleOutOfArea();
|
|
}
|
|
|
|
return _this.apiService.doLogisticMobileRelease(companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
} catch (error) {
|
|
// KA_APP-673
|
|
return _this.handleErrorCheckSoftLock(error, 'doRelease', 'do-release');
|
|
}
|
|
} else {
|
|
console.log('[doRelease] path: non-logistic', {
|
|
isExpeditionProfile,
|
|
isLogisticEvent,
|
|
companyInstance,
|
|
eventId
|
|
});
|
|
|
|
_this.apiService.doMobileRelease(invite.siteInstance, invite.companyInstance, invite.event.locator, invite.eventId, invite.inviteId).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
}
|
|
|
|
_this.loadingService.hide(null, 'do-release');
|
|
} catch (error) {
|
|
_this.handleGetAccessTokenError(error, ['do-release']);
|
|
}
|
|
});
|
|
|
|
return function (_x21) {
|
|
return _ref20.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleNoProfileToDoRelease);
|
|
});
|
|
|
|
return function (_x20) {
|
|
return _ref19.apply(this, arguments);
|
|
};
|
|
}();
|
|
/**
|
|
* AutorizeDoCheckin
|
|
* Estão na lista de convidados, pedindo liberação (liberar)
|
|
* @param invite A
|
|
*/
|
|
|
|
|
|
this.autorizeDoCheckin = /*#__PURE__*/function () {
|
|
var _ref21 = (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* (invite) {
|
|
// Estão na lista de convidados, pedindo liberação (liberar)
|
|
_this.loadingService.show(_this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_SENDING_RELEASE'), 'do-release');
|
|
|
|
_this.inviteBeingReleased = invite;
|
|
const {
|
|
event,
|
|
companyInstance,
|
|
eventId
|
|
} = invite;
|
|
|
|
const isLogisticEvent = _this.isLogisticEvent(event);
|
|
|
|
console.log('[autorizeDoCheckin] clicado', {
|
|
companyInstance,
|
|
eventId,
|
|
isLogisticEvent,
|
|
target: event?.target,
|
|
locator: event?.locator
|
|
}); // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(event?.id);
|
|
// }
|
|
|
|
_this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref22 = (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* (profile) {
|
|
try {
|
|
const accessToken = yield _this.getProfileRelatedAccessToken(profile);
|
|
|
|
const isExpeditionProfile = _this.profileManagerService.isExpeditionProfile(profile);
|
|
|
|
if (isExpeditionProfile && isLogisticEvent) {
|
|
console.log('[autorizeDoCheckin] path: expedition+logistic', {
|
|
companyInstance,
|
|
eventId
|
|
});
|
|
let lat = null;
|
|
let lng = null;
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'autorizeDoCheckin',
|
|
targetLoading: 'do-release'
|
|
});
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.geoCoordinates('geolocation::doRelease', 'do-release');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
return;
|
|
}
|
|
|
|
const verifyCoordinates = yield _this.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'do-release');
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this.handleOutOfArea();
|
|
|
|
return;
|
|
} else {
|
|
_this.apiService.doLogisticMobileRelease(companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
}
|
|
} else {
|
|
_this.apiService.doLogisticMobileRelease(companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
}
|
|
} else {
|
|
console.log('[autorizeDoCheckin] path: non-logistic', {
|
|
isExpeditionProfile,
|
|
isLogisticEvent,
|
|
companyInstance,
|
|
inviteId: invite.inviteId
|
|
});
|
|
(0,rxjs__WEBPACK_IMPORTED_MODULE_24__.from)(_this.companyService.authorizeDoCheckin(companyInstance, accessToken, invite.inviteId)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
})).subscribe(_this.processDoReleaseSuccessResponse, _this.processDoReleaseErrorResponse);
|
|
}
|
|
} catch (error) {
|
|
_this.handleGetAccessTokenError(error, ['do-release']);
|
|
}
|
|
});
|
|
|
|
return function (_x23) {
|
|
return _ref22.apply(this, arguments);
|
|
};
|
|
}()).catch(_this.handleNoProfileToDoRelease);
|
|
});
|
|
|
|
return function (_x22) {
|
|
return _ref21.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleOutOfArea = () => {
|
|
this.loadingService.hide(null, 'do-release');
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleVerifyCoordinatesError = error => {
|
|
this.loadingService.hide(null, 'do-release');
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_LOCATION_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_LOCATION_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleGetAccessTokenError = /*#__PURE__*/function () {
|
|
var _ref23 = (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* (error, loadingTag, logError) {
|
|
_this.enableButtons(); // classifier: string, message?: string, data?: any
|
|
// this.loadingService.hide(null, loadingTag);
|
|
// this.loadingService.hide(null, 'do-release');
|
|
|
|
|
|
for (const tag of loadingTag) {
|
|
yield _this.loadingService.hide(null, tag);
|
|
}
|
|
|
|
_this.logService.logError(logError.classifier, logError.message, logError.data || error);
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
});
|
|
|
|
return function (_x24, _x25, _x26) {
|
|
return _ref23.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleNoProfileToDoRelease = error => {
|
|
this.loadingService.hide(null, 'do-release');
|
|
this.loadingService.hide(null, 'approve-event-review');
|
|
this.logService.logError('http::getUserProfiles', 'handleNoProfileToDoRelease', {
|
|
data: error ?? ''
|
|
});
|
|
this.enableButtons();
|
|
const notification = {
|
|
title: this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_TITLE),
|
|
message: this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.processDoReleaseSuccessResponse = response => {
|
|
this.loadingService.hide(null, 'do-release').then(() => {
|
|
this.showReleaseDoneNotification();
|
|
this.removeInviteBeingReleasedFromInvites();
|
|
this.clearInviteBeingReleased();
|
|
});
|
|
this.pooling(true, this.durationShort);
|
|
};
|
|
|
|
this.clearInviteBeingReleased = () => {
|
|
this.ngZoneService.run(() => {
|
|
this.inviteBeingReleased = null;
|
|
});
|
|
};
|
|
|
|
this.removeInviteBeingReleasedFromInvites = () => {
|
|
this.ngZoneService.run(() => {
|
|
this.invites = this.invites.filter(invite => invite.inviteId !== this.inviteBeingReleased.inviteId);
|
|
});
|
|
};
|
|
|
|
this.showReleaseDoneNotification = () => {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_RELEASE_APPROVED'),
|
|
message: '',
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.processDoReleaseErrorResponse = response => {
|
|
console.log('error:', response);
|
|
this.enableButtons();
|
|
|
|
if (response && response.status && response.status === 404) {
|
|
this.loadingService.hide(null, 'do-release').then(() => {
|
|
this.showReleaseDoneNotification();
|
|
this.removeInviteBeingReleasedFromInvites();
|
|
this.clearInviteBeingReleased();
|
|
});
|
|
this.pooling(true, this.durationShort);
|
|
return;
|
|
}
|
|
|
|
const notification = this.toastNotificationError(response);
|
|
this.logService.logError('http::processDoReleaseErrorResponse', '', response);
|
|
this.loadingService.hide(null, 'do-release').then(() => {
|
|
this.clearInviteBeingReleased();
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
|
|
this.navigateToQRCode = () => {
|
|
this.navigationService.forward(['/home']);
|
|
};
|
|
|
|
this.allowItToRest = () => {
|
|
this.insomniaService.allowSleepAgain().then(this.allowItToRestSuccessResponse).catch(this.allowItToRestErrorResponse);
|
|
};
|
|
|
|
this.allowItToRestSuccessResponse = () => {};
|
|
|
|
this.allowItToRestErrorResponse = response => {
|
|
console.log('allowItToRestErrorResponse');
|
|
console.log(response);
|
|
};
|
|
/**
|
|
* authorizeSelfInviteWithLocator
|
|
* Não está presente no evento, Está solicitando autorização para se juntar ao evento
|
|
* @param invite
|
|
*/
|
|
|
|
|
|
this.authorizeSelfInviteWithLocator = invite => {
|
|
// Não esta presente no evento, Está solicitando autorização para se juntar ao evento
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_RELEASING_INVITATION'), 'authorize-invite');
|
|
this.inviteBeingReleased = invite;
|
|
const {
|
|
event,
|
|
companyInstance,
|
|
eventId
|
|
} = invite;
|
|
let lat = null;
|
|
let lng = null; // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(event?.id);
|
|
// }
|
|
|
|
const isLogisticEvent = this.isLogisticEvent(event);
|
|
this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref24 = (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* (profile) {
|
|
if (_this.profileManagerService.isExpeditionProfile(profile)) {
|
|
if (isLogisticEvent) {
|
|
_this.getProfileRelatedAccessToken(profile).then( /*#__PURE__*/function () {
|
|
var _ref25 = (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* (accessToken) {
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'authorizeSelfInviteWithLocator',
|
|
targetLoading: 'authorize-invite'
|
|
});
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.geoCoordinates('geolocation::authorizeSelfInviteWithLocator', 'authorize-invite');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
|
|
try {
|
|
const verifyCoordinatesAPI = yield _this.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'authorize-invite');
|
|
|
|
if (verifyCoordinatesAPI?.authorized) {
|
|
_this.apiService.doLogisticAuthorizeSelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processAuthorizeSelfInviteWithLocatorSuccessResponse, _this.processAuthorizeSelfInviteWithLocatorErrorResponse);
|
|
} else {
|
|
_this.enableButtons();
|
|
|
|
_this.loadingService.hide(null, 'authorize-invite');
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
} catch (error) {
|
|
_this.enableButtons();
|
|
|
|
_this.loadingService.hide(null, 'authorize-invite'); // KA_APP-673
|
|
|
|
|
|
return _this.handleErrorCheckSoftLock(error, 'authorizeSelfInviteWithLocator', 'authorize-invite');
|
|
}
|
|
} catch (error) {
|
|
_this.enableButtons();
|
|
|
|
_this.loadingService.hide(null, 'authorize-invite');
|
|
|
|
_this.logService.logError('geoLocation:device', 'geoCoordinates error', error);
|
|
|
|
return;
|
|
}
|
|
} else {
|
|
_this.apiService.doLogisticAuthorizeSelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processAuthorizeSelfInviteWithLocatorSuccessResponse, _this.processAuthorizeSelfInviteWithLocatorErrorResponse);
|
|
}
|
|
});
|
|
|
|
return function (_x28) {
|
|
return _ref25.apply(this, arguments);
|
|
};
|
|
}()).catch(error => {
|
|
_this.loadingService.hide(null, 'authorize-invite');
|
|
|
|
_this.enableButtons();
|
|
|
|
_this.logService.logError('http::authorizeSelfInviteWithLocator::getAccessToken', '', error);
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
});
|
|
} else {
|
|
_this.getProfileRelatedAccessToken(profile).then( /*#__PURE__*/function () {
|
|
var _ref26 = (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* (accessToken) {
|
|
_this.pooling(false);
|
|
|
|
_this.companyService.authorizeSelfInviteWithLocator(invite.inviteId, companyInstance, accessToken).then(_this.processAuthorizeSelfInviteWithLocatorSuccessResponse).catch(_this.processAuthorizeSelfInviteWithLocatorErrorResponse);
|
|
});
|
|
|
|
return function (_x29) {
|
|
return _ref26.apply(this, arguments);
|
|
};
|
|
}()).catch(error => {
|
|
_this.loadingService.hide(null, 'authorize-invite');
|
|
|
|
_this.logService.logError('http::doRelease::getAccessToken', '', error);
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
});
|
|
}
|
|
} else {
|
|
// Reutiliza o profile já obtido por getCompanyInstanceRelatedProfile
|
|
// evitando chamada duplicada a getUserProfiles que existia em getCompanyInstanceRelatedAccessToken
|
|
_this.getProfileRelatedAccessToken(profile).then(accessToken => {
|
|
_this.pooling(false);
|
|
|
|
return _this.companyService.authorizeSelfInviteWithLocator(invite.inviteId, companyInstance, accessToken);
|
|
}).then(_this.processAuthorizeSelfInviteWithLocatorSuccessResponse).catch(_this.processAuthorizeSelfInviteWithLocatorErrorResponse);
|
|
}
|
|
});
|
|
|
|
return function (_x27) {
|
|
return _ref24.apply(this, arguments);
|
|
};
|
|
}()).catch(error => {
|
|
this.loadingService.hide(null, 'authorize-invite');
|
|
console.log('error:', error);
|
|
const notification = {
|
|
title: this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_TITLE),
|
|
message: this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
|
|
this.processAuthorizeSelfInviteWithLocatorSuccessResponse = response => {
|
|
console.log('processAuthorizeSelfInviteWithLocatorSuccessResponse');
|
|
this.loadingService.hide(null, 'authorize-invite').then(() => {
|
|
this.showSelfInvitedAuthorizedNotification();
|
|
this.removeSelfInvitePendencyFromList();
|
|
this.clearInviteBeingReleased();
|
|
this.pooling(true, this.durationShort);
|
|
});
|
|
};
|
|
|
|
this.removeSelfInvitePendencyFromList = () => {
|
|
this.ngZoneService.run(() => {
|
|
this.invites = this.invites.filter(invite => invite.inviteId !== this.inviteBeingReleased.inviteId);
|
|
});
|
|
};
|
|
|
|
this.showSelfInvitedAuthorizedNotification = () => {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_INVITATION_APPROVED_TITLE'),
|
|
message: '',
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.processAuthorizeSelfInviteWithLocatorErrorResponse = error => {
|
|
console.log('processAuthorizeSelfInviteWithLocatorErrorResponse');
|
|
console.log('error:', error);
|
|
|
|
if (error && error.status && error.status === 404) {
|
|
this.loadingService.hide(null, 'authorize-invite').then(() => {
|
|
this.showSelfInvitedAuthorizedNotification();
|
|
this.removeSelfInvitePendencyFromList();
|
|
this.clearInviteBeingReleased();
|
|
});
|
|
this.pooling(true, this.durationShort);
|
|
return;
|
|
}
|
|
|
|
const notification = this.toastNotificationError(error);
|
|
this.logService.logError('http::processAuthorizeSelfInviteWithLocatorErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'authorize-invite').then(() => {
|
|
this.clearInviteBeingReleased();
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
|
|
this.denySelfInviteWithLocator = /*#__PURE__*/function () {
|
|
var _ref27 = (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* (invite, showModalReason = true) {
|
|
_this.inviteBeingReleased = invite;
|
|
const {
|
|
event,
|
|
companyInstance
|
|
} = invite;
|
|
const eventId = invite.eventId;
|
|
let reason = null;
|
|
const props = {
|
|
data: invite
|
|
};
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.LogisticJustifySelfInviteWithLocatorComponent,
|
|
componentProps: props,
|
|
cssClass: 'justify-self-invite-with-locator-modal'
|
|
});
|
|
let dataCloseModal = null;
|
|
|
|
if (showModalReason) {
|
|
yield modal.present();
|
|
const {
|
|
data
|
|
} = yield modal.onDidDismiss();
|
|
dataCloseModal = data;
|
|
} else {
|
|
dataCloseModal = {
|
|
reason: invite?.reason
|
|
};
|
|
}
|
|
|
|
reason = dataCloseModal?.reason ? dataCloseModal?.reason : null;
|
|
|
|
if (!reason) {
|
|
return;
|
|
}
|
|
|
|
if (reason) {
|
|
const data = {
|
|
message: reason
|
|
};
|
|
}
|
|
|
|
try {
|
|
_this.loadingService.show(_this.translateConfigService.translate(DENY_INVITE_LOADING), 'deny-invite');
|
|
|
|
const profile = yield _this.getProfileFromCacheOrRemote(companyInstance);
|
|
|
|
try {
|
|
//auth/login/portal/
|
|
const accessToken = yield _this.getProfileRelatedAccessToken(profile);
|
|
|
|
if (_this.profileManagerService.isExpeditionProfile(profile)) {
|
|
let lat = null;
|
|
let lng = null; // KA_APP-673
|
|
|
|
if (_this.isLogisticEvent(event)) {
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'denySelfInviteWithLocator',
|
|
targetLoading: 'deny-invite'
|
|
});
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.getGeoCoordinatesDevice();
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
return;
|
|
} // KA_APP-673
|
|
|
|
|
|
const verifyCoordinates = yield _this.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'deny-invite');
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this.handleOutOfArea();
|
|
|
|
return;
|
|
} else {
|
|
_this.apiService.doLogisticDenySelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, reason, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processDenySelfInviteWithLocatorSuccessResponse, _this.processDenySelfInviteWithLocatorErrorResponse);
|
|
|
|
return;
|
|
}
|
|
} else {
|
|
_this.apiService.doLogisticDenySelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, reason, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processDenySelfInviteWithLocatorSuccessResponse, _this.processDenySelfInviteWithLocatorErrorResponse);
|
|
}
|
|
} else {
|
|
// KA_APP-673
|
|
_this.pooling(false);
|
|
|
|
return _this.companyService.denySelfInviteWithLocator(companyInstance, accessToken, invite.inviteId, reason).then(_this.processDenySelfInviteWithLocatorSuccessResponse).catch(_this.processDenySelfInviteWithLocatorErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
}
|
|
} else {
|
|
_this.pooling(false);
|
|
|
|
_this.companyService.denySelfInviteWithLocator(companyInstance, accessToken, invite.inviteId, reason).then(_this.processDenySelfInviteWithLocatorSuccessResponse).catch(_this.processDenySelfInviteWithLocatorErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
}
|
|
} catch (error) {
|
|
_this.logService.logError('http::denySelfInviteWithLocator::getAccessToken', '', error);
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
} catch (error) {
|
|
const notification = {
|
|
title: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_TITLE),
|
|
message: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
});
|
|
|
|
return function (_x30) {
|
|
return _ref27.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.processDenySelfInviteWithLocatorSuccessResponse = response => {
|
|
console.log('processDenySelfInviteWithLocatorSuccessResponse');
|
|
console.log('response:', response);
|
|
this.loadingService.hide(null, 'deny-invite').then(() => {
|
|
this.showSelfInvitedDeniedNotification();
|
|
this.removeSelfInvitePendencyFromList();
|
|
this.clearInviteBeingReleased();
|
|
});
|
|
};
|
|
|
|
this.showSelfInvitedDeniedNotification = () => {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_INVITATION_DECLINED_TITLE'),
|
|
message: '',
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.processDenySelfInviteWithLocatorErrorResponse = error => {
|
|
console.log('processDenySelfInviteWithLocatorErrorResponse');
|
|
console.log('error:', error);
|
|
|
|
if (error && error.status && error.status === 404) {
|
|
this.loadingService.hide(null, 'deny-invite').then(() => {
|
|
this.showSelfInvitedDeniedNotification();
|
|
this.removeSelfInvitePendencyFromList();
|
|
this.clearInviteBeingReleased();
|
|
});
|
|
return;
|
|
}
|
|
|
|
const notification = this.toastNotificationError(error);
|
|
this.logService.logError('http::processDenySelfInviteWithLocatorErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'deny-invite').then(() => {
|
|
this.clearInviteBeingReleased();
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
/**
|
|
* Handles successful denial of an individual escort
|
|
* Updates the escort's status in the local state without removing it
|
|
* @param response - API response containing updated invite data
|
|
*/
|
|
|
|
|
|
this.processDenyEscortSuccessResponse = response => {
|
|
console.log('processDenyEscortSuccessResponse', response); // Extract invite ID from response
|
|
|
|
const deniedInviteId = response?.inviteId || response?.id || this.inviteBeingReleased?.inviteId; // Find and update the escort in the events array
|
|
|
|
this.ngZoneService.run(() => {
|
|
this.events = this.events.map(event => {
|
|
if (event?.escorts && event?.escorts?.length > 0) {
|
|
const updatedEscorts = event.escorts.map(escort => {
|
|
if (escort?.inviteId === deniedInviteId || escort?.id === deniedInviteId) {
|
|
return { ...escort,
|
|
status: 'INVITE_NOT_APPROVED',
|
|
approved: false,
|
|
approvedBy: response?.approvedBy || null,
|
|
approvedDate: response?.approvedDate || new Date().toISOString(),
|
|
notApprovedNotes: response?.notApprovedNotes || response?.message || null
|
|
};
|
|
}
|
|
|
|
return escort;
|
|
});
|
|
return { ...event,
|
|
escorts: updatedEscorts
|
|
};
|
|
}
|
|
|
|
return event;
|
|
}); // Atualiza companions nos invites agendados (card component)
|
|
|
|
const updateCompanions = list => list.map(invite => {
|
|
if (invite?.companions?.length > 0) {
|
|
const updatedCompanions = invite.companions.map(companion => {
|
|
if (companion?.inviteId === deniedInviteId || companion?.id === deniedInviteId) {
|
|
return { ...companion,
|
|
status: 'INVITE_NOT_APPROVED',
|
|
approved: false,
|
|
approvedBy: response?.approvedBy || null,
|
|
approvedDate: response?.approvedDate || new Date().toISOString(),
|
|
notApprovedNotes: response?.notApprovedNotes || response?.message || null
|
|
};
|
|
}
|
|
|
|
return companion;
|
|
});
|
|
return { ...invite,
|
|
companions: updatedCompanions
|
|
};
|
|
}
|
|
|
|
return invite;
|
|
});
|
|
|
|
if (this.invites?.length > 0) {
|
|
this.invites = updateCompanions(this.invites);
|
|
}
|
|
|
|
if (this.invitesBackup?.length > 0) {
|
|
this.invitesBackup = updateCompanions(this.invitesBackup);
|
|
}
|
|
});
|
|
this.loadingService.hide(null, 'deny-invite').then(() => {
|
|
this.showEscortDeniedNotification();
|
|
this.clearInviteBeingReleased();
|
|
this.getPendingReleasesHandler();
|
|
this.getPendingEventsHandler();
|
|
});
|
|
};
|
|
/**
|
|
* Shows notification for denied escort
|
|
*/
|
|
|
|
|
|
this.showEscortDeniedNotification = () => {
|
|
const notification = {
|
|
title: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ESCORT_DENIED_TITLE'),
|
|
message: this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ESCORT_DENIED_MESSAGE'),
|
|
type: 'success'
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
/**
|
|
* Handles errors when denying an individual escort
|
|
* @param error - HTTP error response
|
|
*/
|
|
|
|
|
|
this.processDenyEscortErrorResponse = error => {
|
|
console.log('processDenyEscortErrorResponse', error); // Handle 404 as success (escort already denied/removed)
|
|
|
|
if (error && error?.status === 404) {
|
|
return this.processDenyEscortSuccessResponse({
|
|
id: this.inviteBeingReleased?.inviteId,
|
|
status: 'INVITE_NOT_APPROVED'
|
|
});
|
|
} // Determine error message based on status code
|
|
|
|
|
|
let message = '';
|
|
|
|
if (error.status === 403) {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_FORBIDDEN_DENY_ESCORT');
|
|
} else if (error.status === 400) {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_INVALID_DENY_ESCORT');
|
|
} else {
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_DENY_ESCORT');
|
|
}
|
|
|
|
const notification = {
|
|
title: this.translateConfigService.translate('TOAST_TITLE_ERROR'),
|
|
message,
|
|
type: 'error'
|
|
};
|
|
this.logService.logError('http::processDenyEscortErrorResponse', '', error);
|
|
this.loadingService.hide(null, 'deny-invite').then(() => {
|
|
this.clearInviteBeingReleased();
|
|
this.notificatorService.notify(notification);
|
|
});
|
|
};
|
|
|
|
this.denySelfInviteWithLocatorBuilding = /*#__PURE__*/function () {
|
|
var _ref28 = (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* (invite, showModalReason = true, callMethod = null) {
|
|
_this.inviteBeingReleased = invite;
|
|
const event = invite?.event ?? invite;
|
|
const target = event?.target;
|
|
const companyInstance = invite?.companyInstance ?? event?.companyInstance;
|
|
const eventId = invite?.eventId ?? invite?.id ?? event?.id;
|
|
const inviteId = invite?.inviteId; // Para eventos agendados
|
|
|
|
let reason = null;
|
|
const props = {
|
|
data: invite,
|
|
callMethod
|
|
};
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.LogisticJustifySelfInviteWithLocatorComponent,
|
|
componentProps: props,
|
|
cssClass: 'justify-self-invite-with-locator-modal'
|
|
});
|
|
let dataCloseModal = null;
|
|
|
|
if (showModalReason) {
|
|
yield modal.present();
|
|
const {
|
|
data
|
|
} = yield modal.onDidDismiss();
|
|
dataCloseModal = data;
|
|
} else {
|
|
dataCloseModal = {
|
|
reason: invite?.reason
|
|
};
|
|
}
|
|
|
|
reason = dataCloseModal?.reason ? dataCloseModal?.reason : null;
|
|
|
|
if (!reason) {
|
|
return;
|
|
}
|
|
|
|
try {
|
|
_this.loadingService.show(_this.translateConfigService.translate(DENY_INVITE_LOADING), 'deny-invite');
|
|
|
|
_this.pooling(false);
|
|
|
|
if (callMethod === 'denyOne') {
|
|
const iid = invite?.inviteId ?? invite?.id;
|
|
const accessToken = yield _this.getCompanyInstanceRelatedAccessToken(companyInstance);
|
|
const status = invite?.status ?? invite?.invite?.status; // WAITING_FOR_RELEASE usa do-checkin endpoint, WAITING_FOR_INVITE_APPROVE usa invites endpoint
|
|
|
|
if (status === 'WAITING_FOR_RELEASE') {
|
|
return _this.companyService.denyDoCheckin(companyInstance, accessToken, iid, reason).then(_this.processDenyEscortSuccessResponse).catch(_this.processDenyEscortErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
});
|
|
}
|
|
|
|
return _this.companyService.denyOne(companyInstance, accessToken, reason, iid).then(_this.processDenyEscortSuccessResponse).catch(_this.processDenyEscortErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite'); // Removed pooling to prevent full page reload for escort denials
|
|
|
|
});
|
|
}
|
|
|
|
if (callMethod === 'denyAll') {
|
|
const accessToken = yield _this.getCompanyInstanceRelatedAccessToken(companyInstance);
|
|
const status = invite?.status; // WAITING_FOR_RELEASE usa do-checkin endpoint
|
|
|
|
if (status === 'WAITING_FOR_RELEASE' && inviteId) {
|
|
return _this.companyService.denyDoCheckin(companyInstance, accessToken, inviteId, reason).then(_this.processDenySelfInviteWithLocatorSuccessResponse).catch(_this.processDenySelfInviteWithLocatorErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
} // Verificar se é evento agendado (tem inviteId) ou evento FSS
|
|
|
|
|
|
if (inviteId) {
|
|
// Evento Agendado: usa denyAllSelfInviteWithLocator
|
|
return _this.companyService.denyAllSelfInviteWithLocator(companyInstance, accessToken, inviteId, reason).then(_this.processDenySelfInviteWithLocatorSuccessResponse).catch(_this.processDenySelfInviteWithLocatorErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
} else {
|
|
// Evento FSS (não agendado): usa denyAll
|
|
return _this.companyService.denyAll(companyInstance, accessToken, reason, eventId).then(_this.processDenySelfInviteWithLocatorSuccessResponse).catch(_this.processDenySelfInviteWithLocatorErrorResponse).finally(() => {
|
|
_this.loadingService.hide(null, 'deny-invite');
|
|
|
|
_this.pooling(true, _this.durationShort);
|
|
});
|
|
}
|
|
}
|
|
} catch (error) {
|
|
const notification = {
|
|
title: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_TITLE),
|
|
message: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
});
|
|
|
|
return function (_x31) {
|
|
return _ref28.apply(this, arguments);
|
|
};
|
|
}();
|
|
/**
|
|
*
|
|
* @param profile
|
|
* @returns Token Portal
|
|
*/
|
|
|
|
|
|
this.getProfileRelatedAccessToken = profile => new Promise((resolve, reject) => {
|
|
this.setProfileCurrentCorrect(profile);
|
|
this.authService.getToken().then(response => {
|
|
const token = response;
|
|
return this.portalLoginManagerService.getAccessToken(profile.login, profile.portal, token);
|
|
}).then(getUserProfileLoginResponse => {
|
|
const accessToken = getUserProfileLoginResponse.access_token;
|
|
resolve(accessToken);
|
|
}).catch(error => {
|
|
this.logService.logError('http::portalLoginManagerService', 'Method getProfileRelatedAccessToken Page pushNotification', error);
|
|
reject(error);
|
|
});
|
|
});
|
|
|
|
this.getCompanyInstanceRelatedAccessToken = companyInstance => {
|
|
let token = null;
|
|
return new Promise((resolve, reject) => {
|
|
const processGetCompanyInstanceRelatedLoginSuccessResponse = response => {
|
|
const profiles = response;
|
|
const foundProfile = this.getProfile(profiles, companyInstance);
|
|
|
|
if (foundProfile) {
|
|
this.profileManagerService.setProfile(foundProfile);
|
|
this.portalLoginManagerService.getAccessToken(foundProfile.login, foundProfile.portal, token).then(getUserProfileLoginResponse => {
|
|
const accessToken = getUserProfileLoginResponse.access_token;
|
|
resolve(accessToken);
|
|
}).catch(error => {
|
|
this.logService.logError('http::portalLoginManagerService', 'Method getCompanyInstanceRelatedAccessToken authorizeSelfInviteWithLocator', error);
|
|
reject(error);
|
|
});
|
|
} else {
|
|
reject('Does not have desired profile');
|
|
}
|
|
};
|
|
|
|
const processGetCompanyInstanceRelatedLoginErrorResponse = error => {
|
|
console.log('processGetCompanyInstanceRelatedLoginErrorResponse');
|
|
console.log('error:', error);
|
|
this.logService.logError('http::processGetCompanyInstanceRelatedLoginErrorResponse', '', error);
|
|
reject(error);
|
|
};
|
|
|
|
this.authService.getToken().then(response => {
|
|
token = response;
|
|
this.apiService.getUserProfiles(this.portais, token).subscribe(processGetCompanyInstanceRelatedLoginSuccessResponse, processGetCompanyInstanceRelatedLoginErrorResponse);
|
|
});
|
|
});
|
|
};
|
|
|
|
this.getCompanyInstanceRelatedProfile = companyInstance => {
|
|
let token = null;
|
|
return new Promise((resolve, reject) => {
|
|
const processGetCompanyInstanceRelatedLoginSuccessResponse = response => {
|
|
const profiles = response; // const foundProfile = profiles.find(profile => profile.company.instanceName === companyInstance && profile.login !== null);
|
|
|
|
const foundProfile = this.getProfile(profiles, companyInstance);
|
|
|
|
if (foundProfile) {
|
|
this.profileManagerService.setProfile(foundProfile);
|
|
resolve(foundProfile);
|
|
} else {
|
|
reject('Does not have desired profile');
|
|
}
|
|
};
|
|
|
|
const processGetCompanyInstanceRelatedLoginErrorResponse = error => {
|
|
console.log('processGetCompanyInstanceRelatedLoginErrorResponse');
|
|
console.log('error:', error);
|
|
this.logService.logError('http::processGetCompanyInstanceRelatedLoginErrorResponse', '', error);
|
|
reject(error);
|
|
};
|
|
|
|
this.authService.getToken().then(response => {
|
|
token = response;
|
|
this.apiService.getUserProfiles(this.portais, token).subscribe(processGetCompanyInstanceRelatedLoginSuccessResponse, processGetCompanyInstanceRelatedLoginErrorResponse);
|
|
});
|
|
});
|
|
};
|
|
|
|
this.getProfileFromCacheOrRemote = companyInstance => {
|
|
const cachedProfiles = [...this.profileManagerService.getProfileList(), ...this.profileManagerService.getProfileLogisticList()];
|
|
const cachedProfile = this.getProfile(cachedProfiles, companyInstance);
|
|
|
|
if (cachedProfile && cachedProfile.login) {
|
|
this.profileManagerService.setProfile(cachedProfile);
|
|
return Promise.resolve(cachedProfile);
|
|
}
|
|
|
|
return this.getCompanyInstanceRelatedProfile(companyInstance);
|
|
};
|
|
|
|
this.getEventTitleToTheView = event => {
|
|
if (!event) {
|
|
return;
|
|
}
|
|
|
|
if (this.isLogisticEvent(event)) {
|
|
return event.title + this.translateConfigService.translate('PG_PUSH_NOTIFICATIO_TEXT_LOGISTIC');
|
|
} else {
|
|
return event.title;
|
|
}
|
|
};
|
|
|
|
this.shouldShowActionsButtons = event => !this.isLogisticEvent(event);
|
|
|
|
this.getEventTitleLabelToTheView = event => {
|
|
if (!event) {
|
|
return;
|
|
}
|
|
|
|
if (this.isLogisticEvent(event)) {
|
|
if (event.behavior === 'ENTRY') {
|
|
return this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_ENTRY');
|
|
} else {
|
|
return this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_EXIT');
|
|
}
|
|
} else {
|
|
return this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_EVENT');
|
|
}
|
|
};
|
|
|
|
this.getInviteCompanyNameLabelToTheView = event => {
|
|
if (!event) {
|
|
return;
|
|
}
|
|
|
|
if (this.isLogisticEvent(event)) {
|
|
return this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_COMPANY');
|
|
} else {
|
|
return this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_COMPANY_VISITED');
|
|
}
|
|
};
|
|
|
|
this.shouldShowInitials = invite => !invite.thumbnailImage;
|
|
|
|
this.shouldShowCompany = invite => !!invite.company;
|
|
|
|
this.denyDoCheckin = /*#__PURE__*/function () {
|
|
var _ref29 = (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* (invite, showModalReason = true) {
|
|
_this.inviteBeingReleased = invite;
|
|
const event = invite.event;
|
|
const companyInstance = invite.companyInstance;
|
|
let reason = null;
|
|
const modal = yield _this.modalController.create({
|
|
component: _logistic_events_components__WEBPACK_IMPORTED_MODULE_5__.LogisticJustifySelfInviteWithLocatorComponent
|
|
});
|
|
let dataCloseModal = null;
|
|
|
|
if (showModalReason) {
|
|
yield modal.present();
|
|
const {
|
|
data: response
|
|
} = yield modal.onDidDismiss();
|
|
dataCloseModal = response;
|
|
} else {
|
|
dataCloseModal = {
|
|
reason: invite?.reason
|
|
};
|
|
}
|
|
|
|
reason = dataCloseModal?.reason;
|
|
|
|
if (!reason) {
|
|
return;
|
|
} // KA_APP-673
|
|
|
|
|
|
_this.loadingService.show(_this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_REJECTING_INVITATION'), 'deny-invite');
|
|
|
|
_this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref30 = (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* (profile) {
|
|
try {
|
|
const accessToken = yield _this.getProfileRelatedAccessToken(profile);
|
|
|
|
if (_this.profileManagerService.isExpeditionProfile(profile)) {
|
|
let lat = null;
|
|
let lng = null;
|
|
const eventId = invite.eventId; // KA_APP-673
|
|
|
|
if (_this.isLogisticEvent(event)) {
|
|
const {
|
|
authorized
|
|
} = yield _this.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'denyDoCheckin',
|
|
targetLoading: 'deny-invite'
|
|
});
|
|
|
|
if (!authorized) {
|
|
let lat = null;
|
|
let lng = null;
|
|
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this.geoCoordinates('geolocation::denySelfInviteWithLocator', 'deny-invite');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
const verifyCoordinates = yield _this.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'deny-invite');
|
|
|
|
if (!lat || !lng) {
|
|
return;
|
|
}
|
|
|
|
if (verifyCoordinates.authorized) {
|
|
_this.apiService.doLogisticDenySelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, reason, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processDenySelfInviteWithLocatorSuccessResponse, _this.processDenySelfInviteWithLocatorErrorResponse);
|
|
} else {
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_OUTSITE_PERMITTED_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
} catch (error) {
|
|
return;
|
|
}
|
|
} else {
|
|
_this.apiService.doLogisticDenySelfInviteWithLocator(invite.companyInstance, eventId, lat, lng, reason, accessToken).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.tap)(() => {
|
|
_this.pooling(false);
|
|
}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
_this.pooling(true, _this.durationShort);
|
|
})).subscribe(_this.processDenySelfInviteWithLocatorSuccessResponse, _this.processDenySelfInviteWithLocatorErrorResponse);
|
|
}
|
|
} else {
|
|
// KA_APP-673
|
|
try {
|
|
const responseDenyDoCheckin = yield _this.companyService.denyDoCheckin(companyInstance, accessToken, invite.inviteId, reason);
|
|
|
|
_this.processDenySelfInviteWithLocatorSuccessResponse(responseDenyDoCheckin);
|
|
} catch (error) {
|
|
_this.processDenySelfInviteWithLocatorErrorResponse(error);
|
|
} finally {
|
|
_this.pooling(true, _this.durationShort);
|
|
}
|
|
}
|
|
} else {
|
|
// KA_APP-673
|
|
_this.pooling(false);
|
|
|
|
try {
|
|
const responseDenyDoCheckin = yield _this.companyService.denyDoCheckin(companyInstance, accessToken, invite.inviteId, reason);
|
|
|
|
_this.processDenySelfInviteWithLocatorSuccessResponse(responseDenyDoCheckin);
|
|
} catch (error) {
|
|
_this.processDenySelfInviteWithLocatorErrorResponse(error);
|
|
} finally {
|
|
_this.pooling(true, _this.durationShort);
|
|
}
|
|
}
|
|
} catch (error) {
|
|
_this.logService.logError('http::denySelfInviteWithLocator::getAccessToken', '', error);
|
|
|
|
const notification = {
|
|
title: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_TITLE'),
|
|
message: _this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_ERROR_GET_TOKEN_MESSAGE'),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
}
|
|
});
|
|
|
|
return function (_x33) {
|
|
return _ref30.apply(this, arguments);
|
|
};
|
|
}()).catch(() => {
|
|
const notification = {
|
|
title: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_TITLE),
|
|
message: _this.translateConfigService.translate(TOAST_HAS_NO_PROFILE_RELEASE_MESSAGE),
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
|
|
_this.notificatorService.notify(notification);
|
|
});
|
|
});
|
|
|
|
return function (_x32) {
|
|
return _ref29.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
this.handleGetLocationError = (tagLoading, logError, error) => {
|
|
this.loadingService.hide(null, tagLoading);
|
|
this.logService.logError(logError, '', error);
|
|
let message = '';
|
|
let title = '';
|
|
|
|
if (error['code'] === 1 || error?.coarseLocation === 'denied' || error?.location === 'denied') {
|
|
title = this.translateConfigService.translate('TOAST_LOCATION_PERMISSION_DENIED_TITLE');
|
|
message = this.translateConfigService.translate('TOAST_LOCATION_PERMISSION_DENIED_MESSAGE');
|
|
} else {
|
|
title = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_LOCATION_TITLE');
|
|
message = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_GETTING_LOCATION_MESSAGE');
|
|
}
|
|
|
|
const notification = {
|
|
title,
|
|
message,
|
|
type: 'error',
|
|
timeout: 8000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
};
|
|
|
|
this.handleGetUserEventInvitePhotoSuccessResponse = (response, invite) => {
|
|
const thumbnailImage = response && response.faceImageThumbnail ? response.faceImageThumbnail : null;
|
|
invite.thumbnailImage = thumbnailImage;
|
|
};
|
|
|
|
this.handleGetUserCompanionPhotoSuccessResponse = (response, companion) => {
|
|
const thumbnailImage = response && response.faceImageThumbnail ? response.faceImageThumbnail : null;
|
|
companion.thumbnailImage = thumbnailImage;
|
|
}; // There is no need to warn the user that there were an error trying to load the image.
|
|
|
|
|
|
this.handleGetUserEventInvitePhotoErrorResponse = (response, invite) => {};
|
|
}
|
|
|
|
ngOnInit() {
|
|
this.approveeButtonDisable = false;
|
|
this.sessionAddFlowService.clearSessionId();
|
|
this.dataManager = new _shared_services_data_class_manager__WEBPACK_IMPORTED_MODULE_8__.DataManager(); // deve ser instanciado antes de initiatePersistentNotificationFromQueryParams
|
|
|
|
this.allowItToRest();
|
|
this.setProfileOnlyOne();
|
|
this.statusConnectionAndRestartStart();
|
|
this.initiatePersistentNotificationFromQueryParams();
|
|
}
|
|
|
|
ionViewWillEnter() {
|
|
// Registra listeners do Capacitor aqui para garantir limpeza correta no destroy
|
|
// e evitar memory leak por listeners duplicados entre navegações
|
|
this.registerAppLifecycleListeners();
|
|
this.start(false);
|
|
}
|
|
|
|
ngOnDestroy() {
|
|
// Remove listeners do Capacitor para evitar memory leak
|
|
_capacitor_app__WEBPACK_IMPORTED_MODULE_6__.App.removeAllListeners();
|
|
this.resetComponentState();
|
|
this.destroy$.next(true);
|
|
this.destroy$.complete();
|
|
}
|
|
|
|
ionViewWillLeave() {
|
|
this.ngOnDestroy();
|
|
}
|
|
|
|
ionViewDidLeave() {
|
|
console.log('aqui ionViewDidLeave');
|
|
}
|
|
|
|
callRefresh() {
|
|
clearTimeout(this.setTimeOut);
|
|
this.eventsBackup = [];
|
|
this.invitesBackup = [];
|
|
this.invites = [];
|
|
this.events = [];
|
|
this.lastDataHash = null;
|
|
this.lastDataHashInvites = null;
|
|
this.finalizegetPendingReleases = false;
|
|
this.finalizegetPendingEventsFss = false;
|
|
this.loadPendencies();
|
|
}
|
|
|
|
stepOneApproveEvent(event) {
|
|
console.log("stepOneApproveEvent", {
|
|
event
|
|
});
|
|
this.loadingService.show(this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_APROVING'), 'approve-event-review');
|
|
this.disaBledBtnsStopLoading();
|
|
|
|
if (event.target === 'LOGISTIC') {
|
|
this.stepTwoBuildingLogisticTargetEvent(event);
|
|
} else {
|
|
this.stepTwoBuildingTargetEvent(event);
|
|
}
|
|
|
|
console.log('event: ', event);
|
|
}
|
|
|
|
loadDataLogistic(event, action, type, geoCoordinates) {
|
|
this.createLogisticEventService.clearCreateEventData();
|
|
this.createLogisticEventService.setEventToEdit(event);
|
|
this.createLogisticEventService.setAction(action);
|
|
this.createLogisticEventService.setType(type);
|
|
|
|
if (this.createLogisticEventService.getAction() === 'approve-event-review') {
|
|
this.approveLogisticEvent(geoCoordinates);
|
|
}
|
|
}
|
|
|
|
loadData(event, action) {
|
|
this.createEventService.clearCreateEventData();
|
|
this.createEventService.setAction(action);
|
|
this.createEventService.setEventToEdit(event);
|
|
this.getCompanyGroups();
|
|
}
|
|
|
|
approveEventBuilding(companyInstance, access_token, callApi) {
|
|
var _this2 = this;
|
|
|
|
return (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 baseData = {
|
|
id: _this2.createEventService.getId(),
|
|
startAt: _this2.createEventService.getStartDate(),
|
|
endAt: _this2.createEventService.getEndDate(),
|
|
title: _this2.createEventService.getTitle(),
|
|
floor: _this2.createEventService.getSelectedFloor(),
|
|
group: _this2.createEventService.getSelectedGroup(),
|
|
allowCompanion: _this2.createEventService.getCompanionAllowed(),
|
|
autoRelease: !_this2.createEventService.getNeedAuthorization(),
|
|
multiCheckin: _this2.createEventService.getMultiCheckIn(),
|
|
checkinStartAt: _this2.createEventService.getCheckInStartAt(),
|
|
geoCoordinates: null
|
|
};
|
|
const eid = +baseData.id;
|
|
let response = null;
|
|
|
|
try {
|
|
if (callApi === 'allowAll') {
|
|
// Payload para aprovar todos
|
|
const payloadAllowAll = _this2.buildAllowAllPayload(baseData);
|
|
|
|
response = yield _this2.companyService.authorizeAll(companyInstance, access_token, eid, payloadAllowAll);
|
|
} else {
|
|
// Payload para aprovar parcialmente
|
|
const payloadAllowPartial = _this2.buildAllowPartialPayload(baseData);
|
|
|
|
response = yield _this2.companyService.authorizePartial(companyInstance, access_token, eid, payloadAllowPartial);
|
|
}
|
|
|
|
_this2.handleApproveEventSuccessResponse(response);
|
|
} catch (error) {
|
|
_this2.handleApproveEventErrorResponse(error);
|
|
} finally {
|
|
_this2.pooling(true, _this2.durationShort);
|
|
|
|
_this2.loadingService.hide(null, 'allow-one');
|
|
|
|
_this2.loadingService.hide(null, 'allow-all');
|
|
|
|
_this2.loadingService.hide(null, 'allow-partial');
|
|
|
|
_this2.loaderService.hide();
|
|
}
|
|
})();
|
|
} // Constrói payload para aprovar todos os convidados
|
|
|
|
|
|
buildAllowAllPayload(baseData) {
|
|
const hosts = this.createEventGetHosts();
|
|
const guests = this.createEventService.getGuests();
|
|
const allInvites = [...hosts, ...guests]; // Estrutura igual ao approveEvent do create-event.service.ts
|
|
|
|
return {
|
|
id: baseData.id,
|
|
title: baseData.title,
|
|
startAt: baseData.startAt,
|
|
endAt: baseData.endAt,
|
|
floor: baseData.floor?.description,
|
|
floorCode: baseData.floor?.code,
|
|
group: baseData.group?.description || null,
|
|
groupCode: baseData.group?.code || null,
|
|
allowCompanion: baseData.allowCompanion,
|
|
autoRelease: baseData.autoRelease,
|
|
multiCheckin: baseData.multiCheckin,
|
|
checkinStartAt: baseData.checkinStartAt,
|
|
type: 'ONCE',
|
|
timeZoneOffset: -180,
|
|
status: 'OPENED',
|
|
geoCoordinates: baseData.geoCoordinates,
|
|
recurrent: false,
|
|
recurrenceDates: [],
|
|
invites: allInvites.map(invite => ({ ...invite,
|
|
host: invite.host || false,
|
|
status: invite.host ? 'WAITING_FOR_CHECKIN' : 'WAITING_FOR_EVENT_APPROVE',
|
|
approved: false
|
|
}))
|
|
};
|
|
} // Constrói payload para aprovar parcialmente (alguns rejeitados)
|
|
|
|
|
|
buildAllowPartialPayload(baseData) {
|
|
const hosts = this.createEventGetHosts();
|
|
const guests = this.createEventService.getGuests();
|
|
const allInvites = [...hosts, ...guests];
|
|
const currentUser = this.profileManagerService.getProfile(); // Estrutura igual ao approveEvent do create-event.service.ts
|
|
|
|
return {
|
|
id: baseData.id,
|
|
title: baseData.title,
|
|
startAt: baseData.startAt,
|
|
endAt: baseData.endAt,
|
|
floor: baseData.floor?.description,
|
|
floorCode: baseData.floor?.code,
|
|
group: baseData.group?.description || null,
|
|
groupCode: baseData.group?.code || null,
|
|
allowCompanion: baseData.allowCompanion,
|
|
autoRelease: baseData.autoRelease,
|
|
multiCheckin: baseData.multiCheckin,
|
|
checkinStartAt: baseData.checkinStartAt,
|
|
type: 'ONCE',
|
|
timeZoneOffset: -180,
|
|
status: 'OPENED',
|
|
geoCoordinates: baseData.geoCoordinates,
|
|
recurrent: false,
|
|
recurrenceDates: [],
|
|
invites: allInvites.map((invite, index) => {
|
|
// Lógica para decidir quais rejeitar (pode ser customizada)
|
|
// Exemplo: rejeitar o último guest (não host)
|
|
const shouldReject = !invite.host && index === allInvites.length - 1;
|
|
|
|
if (shouldReject) {
|
|
return { ...invite,
|
|
host: false,
|
|
status: 'INVITE_NOT_APPROVED',
|
|
approved: false,
|
|
approvedBy: currentUser?.login || 'system',
|
|
approvedDate: new Date().toISOString(),
|
|
notApprovedNotes: 'Aprovação parcial - convidado não autorizado'
|
|
};
|
|
}
|
|
|
|
return { ...invite,
|
|
host: invite.host || false,
|
|
status: invite.host ? 'WAITING_FOR_CHECKIN' : 'WAITING_FOR_EVENT_APPROVE',
|
|
approved: false
|
|
};
|
|
})
|
|
};
|
|
}
|
|
|
|
approveEvent() {
|
|
var _this3 = this;
|
|
|
|
return (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 data = {
|
|
id: _this3.createEventService.getId(),
|
|
startAt: _this3.createEventService.getStartDate(),
|
|
endAt: _this3.createEventService.getEndDate(),
|
|
title: _this3.createEventService.getTitle(),
|
|
hosts: _this3.createEventGetHosts(),
|
|
guests: _this3.createEventService.getGuests(),
|
|
floor: _this3.createEventService.getSelectedFloor(),
|
|
group: _this3.createEventService.getSelectedGroup(),
|
|
allowCompanion: _this3.createEventService.getCompanionAllowed(),
|
|
autoRelease: !_this3.createEventService.getNeedAuthorization(),
|
|
multiCheckin: _this3.createEventService.getMultiCheckIn(),
|
|
checkinStartAt: _this3.createEventService.getCheckInStartAt(),
|
|
geoCoordinates: null
|
|
};
|
|
|
|
const isExpeditionProfile = _this3.dataManager.getData('isExpeditionProfile');
|
|
|
|
const authorized = _this3.dataManager.getData('authorized'); // Resultado da verificação do SolftLock (Area geografica permitida.)
|
|
|
|
|
|
const accessToken = _this3.dataManager.getData('getProfileRelatedAccessToken'); // Access Token
|
|
|
|
|
|
let lat = _this3.dataManager.getData('lat');
|
|
|
|
let lng = _this3.dataManager.getData('lng'); // this.profileManagerService.isExpeditionProfile()
|
|
|
|
|
|
if (!isExpeditionProfile) {
|
|
_this3.pooling(false);
|
|
|
|
return _this3.createEventService.approveEvent(data).then(_this3.handleApproveEventSuccessResponse).catch(_this3.handleApproveEventErrorResponse).finally(() => {
|
|
_this3.pooling(true, _this3.durationShort);
|
|
|
|
_this3.loaderService.hide();
|
|
|
|
_this3.dataManager.resetData();
|
|
});
|
|
} else {
|
|
const profile = _this3.profileManagerService.getProfile();
|
|
|
|
if (!authorized) {
|
|
if (!lat || !lng) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this3.geoCoordinates('geolocation::approvEventBuilding', 'approve-event');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
console.log('Erro ao pegar geo coderdaran do dispositvo');
|
|
return;
|
|
}
|
|
}
|
|
|
|
try {
|
|
const verifyCoordinatesResponse = yield _this3.apiService.verifyCoordinates(profile.company.instanceName, lat, lng, accessToken).toPromise();
|
|
|
|
if (verifyCoordinatesResponse?.authorized) {
|
|
data.geoCoordinates = {
|
|
lat,
|
|
lng
|
|
};
|
|
|
|
_this3.pooling(false);
|
|
|
|
_this3.createEventService.approveEvent(data).then(_this3.handleApproveEventSuccessResponse).catch(_this3.handleApproveEventErrorResponse).finally(() => {
|
|
_this3.loaderService.hide();
|
|
|
|
_this3.pooling(true, _this3.durationShort);
|
|
|
|
_this3.dataManager.resetData();
|
|
});
|
|
} else {
|
|
_this3.handleOutOfArea();
|
|
}
|
|
} catch (error) {
|
|
console.log('ERRo', error);
|
|
|
|
_this3.handleVerifyCoordinatesError(error);
|
|
}
|
|
} else {
|
|
_this3.pooling(false);
|
|
|
|
_this3.createEventService.approveEvent(data).then(_this3.handleApproveEventSuccessResponse).catch(_this3.handleApproveEventErrorResponse).finally(() => {
|
|
_this3.loaderService.hide();
|
|
|
|
_this3.pooling(true, _this3.durationShort);
|
|
|
|
_this3.dataManager.resetData();
|
|
});
|
|
}
|
|
} // if (environment.type !== 'prod') {
|
|
// this.sendNotificationFcmService.sendNotification(data?.id);
|
|
// }
|
|
|
|
})();
|
|
}
|
|
|
|
start(showLoader) {
|
|
var _this4 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
yield _this4.plataform.ready();
|
|
} catch (error) {
|
|
_this4.onStartErrorResponse(_this4.createErrorWithSource(error, 'Platform Ready'));
|
|
|
|
return;
|
|
}
|
|
|
|
try {
|
|
yield _this4.storageService.startStorage();
|
|
} catch (error) {
|
|
_this4.onStartErrorResponse(_this4.createErrorWithSource(error, 'Storage Service'));
|
|
|
|
return;
|
|
}
|
|
|
|
try {
|
|
if (showLoader && _this4.firstrequest && !_this4.isOffline) {
|
|
const textloading = _this4.translateConfigService.translate('LOADING_AUTHENTICATING');
|
|
|
|
_this4.loadingService.show(textloading, _this4.tagloadingstart);
|
|
}
|
|
|
|
yield _this4.managerTokenUaamobileService.initStartGetTokenUaaMobile();
|
|
} catch (error) {
|
|
_this4.onStartErrorResponse(_this4.createErrorWithSource(error, 'Token Service'));
|
|
|
|
return;
|
|
} finally {
|
|
_this4.loadingService.hide(null, _this4.tagloadingstart);
|
|
}
|
|
|
|
if (_this4.canCallLoadPendencies) {
|
|
_this4.onStartSuccessResponse();
|
|
}
|
|
})();
|
|
}
|
|
|
|
loadPendencies() {
|
|
var _this5 = this;
|
|
|
|
return (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* (hideload = false) {
|
|
/*
|
|
if (!hideload && !this.isOffline) {
|
|
this.loaderService.show(
|
|
this.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_DATA'),
|
|
2500
|
|
);
|
|
}
|
|
*/
|
|
try {
|
|
yield _this5.getPendingEventsHandler();
|
|
} catch (error) {
|
|
console.log(error); // O erro já foi tratado dentro de getPendingEventsHandler
|
|
}
|
|
|
|
try {
|
|
yield _this5.getPendingReleasesHandler();
|
|
} catch (error) {
|
|
// O erro já foi tratado dentro de getPendingReleasesHandler
|
|
console.log(error);
|
|
}
|
|
|
|
_this5.loaderService.hide();
|
|
|
|
if (_this5.finalizegetPendingEventsFss && _this5.finalizegetPendingReleases) {
|
|
_this5.pooling(true, _this5.durationLong);
|
|
|
|
_this5.loaderService.hide();
|
|
}
|
|
}).apply(this, arguments);
|
|
}
|
|
|
|
handleGetPendenciesSuccessResponse(response, type) {
|
|
const isResponseEmpty = response?.length === 0; // Atualiza o estado de acordo com a resposta
|
|
|
|
if (isResponseEmpty) {
|
|
this.pendingRelease.existsPending = false;
|
|
this.notificationsBadgeStoreService.setState({
|
|
count: 0,
|
|
isPending: false
|
|
});
|
|
} else {
|
|
this.pendingRelease.existsPending = true;
|
|
this.notificationsBadgeStoreService.setState({
|
|
isPending: true
|
|
});
|
|
} // Chama o método apropriado com a resposta
|
|
|
|
|
|
if (type === 'events') {
|
|
this.onGetPendingPendingEventsSuccessResponse(response);
|
|
} else if (type === 'pendingreleases') {
|
|
this.onGetPendingReleasesSuccessResponse(response);
|
|
}
|
|
}
|
|
|
|
handleGetPendenciesErrorResponse(error) {
|
|
this.loadingService.hide(null, 'get-pending-releases');
|
|
let logMessage;
|
|
let logStack;
|
|
let notificationMessage;
|
|
|
|
if (error?.originalError instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) {
|
|
// Trata o erro HTTP com prioridade
|
|
const httpError = error.originalError;
|
|
logMessage = `HTTP error in ${error.source}: ${httpError.status} - ${httpError.statusText}`;
|
|
logStack = error.stack;
|
|
notificationMessage = logMessage;
|
|
this.logService.logError('handleGetPendencies::error', logMessage, logStack);
|
|
|
|
if (error?.originalError?.status === 0) {
|
|
this.showToastModalErroCodeZero.showToast();
|
|
return;
|
|
}
|
|
|
|
const notification = this.toastNotificationError(httpError);
|
|
this.notificatorService.notify(notification);
|
|
} else {
|
|
// Trata outros erros
|
|
logMessage = `Error in ${error.source}: ${error.message}`;
|
|
logStack = error.stack;
|
|
notificationMessage = `Error in ${error.source}: ${error.message}`;
|
|
const notification = this.toastNotificationError(error.source);
|
|
this.notificatorService.notify(notification);
|
|
}
|
|
|
|
this.logService.logError('handleGetPendencies::error', logMessage, logStack);
|
|
console.log(`handleGetPendenciesErrorResponse from ${error.source}:`, error.originalError);
|
|
}
|
|
|
|
onStartErrorResponse(response) {
|
|
const source = response?.source || 'Unknown Source';
|
|
const originalError = response?.originalError || response;
|
|
this.logService.logError(`onStartErrorResponse::error in ${source}`, '', originalError);
|
|
this.enableButtons();
|
|
|
|
if (response instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse && response?.status) {
|
|
if (response.status === 401) {
|
|
this.navigateToQRCode();
|
|
return;
|
|
}
|
|
} // const notification = this.toastNotificationError(response);
|
|
|
|
|
|
this.loaderService.hide();
|
|
this.loadingService.hide(null, 'push-notification-start').then(() => {// this.notificatorService.notify(notification);
|
|
});
|
|
}
|
|
/**
|
|
* FSS getPendingEvents
|
|
*
|
|
* Returns a list of pending events for the current user.
|
|
*
|
|
* @returns {Promise<any[]>}
|
|
* @memberof PushNotificationsPage
|
|
*/
|
|
|
|
|
|
getPendingEvents() {
|
|
return this.apiService.getPendingEvents().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
// Flag to indicate that the request has finished
|
|
this.ngZoneService.run(() => {
|
|
this.finalizegetPendingEventsFss = true;
|
|
this.finishProcessingFssData = true;
|
|
});
|
|
})).toPromise();
|
|
}
|
|
|
|
getPendingReleases(event) {
|
|
return this.apiService.getPendingReleases().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.finalize)(() => {
|
|
this.ngZoneService.run(() => {
|
|
this.finalizegetPendingReleases = true;
|
|
this.finishProcessingReleasesData = true;
|
|
});
|
|
})).toPromise();
|
|
}
|
|
|
|
onGetPendingPendingEventsSuccessResponse(response) {
|
|
var _this6 = this;
|
|
|
|
// The pendencies here in fact events, not invites. FSS
|
|
const pendencies = response;
|
|
const processedPendencies = pendencies.map(pendency => {
|
|
try {
|
|
const data = Array.isArray(pendency?.invites) ? pendency?.invites : [];
|
|
const pendencyInvite = data.find(inv => !inv?.escort) ? data.find(inv => !inv?.escort) : data?.invites[0];
|
|
const firstName = pendencyInvite?.firstName || '';
|
|
const lastName = pendencyInvite?.lastName || '';
|
|
const companyName = pendencyInvite?.companyName;
|
|
const companyInstance = pendencyInvite?.companyInstance;
|
|
const refId = pendencyInvite?.refId;
|
|
const processedPendency = { ...pendency,
|
|
initials: '',
|
|
firstName,
|
|
lastName,
|
|
companyName,
|
|
companyInstance,
|
|
refId,
|
|
hasRequireFaceImage: false,
|
|
thumbnailImage: pendencyInvite?.thumbnailImage ? pendencyInvite?.thumbnailImage : '',
|
|
checkInAtFormatted: new Date().toISOString(),
|
|
lastModifiedDate: new Date().toISOString()
|
|
};
|
|
processedPendency.hasRequireFaceImage = this.hasRequireFaceImage(companyInstance);
|
|
|
|
if (pendency.status === 'WAITING_FOR_EVENT_APPROVE') {
|
|
processedPendency.createdDate = this.momentService.formatAsEventAt(pendency.startAt);
|
|
processedPendency.startAt = this.momentService.formatAsEventAt(pendency.startAt);
|
|
processedPendency.endAt = this.momentService.formatAsEventAt(pendency.endAt);
|
|
processedPendency.company = pendencyInvite.company;
|
|
|
|
if (pendency.target === 'LOGISTIC') {
|
|
processedPendency.driver = pendency.invites.find(invite => invite.driver);
|
|
processedPendency.escorts = pendency.invites.filter(invite => invite.driverAssistant);
|
|
} else {
|
|
processedPendency.escorts = pendency.invites.filter(invite => invite.escort);
|
|
}
|
|
|
|
processedPendency.escorts = processedPendency.escorts.map(escort => ({ ...escort,
|
|
thumbnailImage: ''
|
|
}));
|
|
}
|
|
|
|
return processedPendency;
|
|
} catch (error) {
|
|
// 🔥 CAPTURA APENAS OS IDs ESSENCIAIS
|
|
const inviteIds = pendency?.invites?.map(inv => ({
|
|
inviteId: inv?.inviteId,
|
|
refId: inv?.refId
|
|
})) || [];
|
|
console.error('❌ Error processing event:', {
|
|
errorMessage: error.message,
|
|
eventId: pendency?.id,
|
|
inviteIds: inviteIds,
|
|
timestamp: new Date().toISOString()
|
|
}); // Log para serviço de monitoramento (se existir)
|
|
|
|
this.logService?.logError('onGetPendingPendingEventsSuccessResponse', `Error processing event ${pendency?.id}: ${error.message}`, {
|
|
error: error.message,
|
|
eventId: pendency?.id,
|
|
inviteIds: JSON.stringify(inviteIds)
|
|
}); // Retorna um objeto padrão para não quebrar o array
|
|
|
|
return { ...pendency,
|
|
initials: '',
|
|
firstName: '',
|
|
lastName: '',
|
|
hasError: true,
|
|
errorMessage: error.message
|
|
};
|
|
}
|
|
});
|
|
this.ngZoneService.run( /*#__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 dataHashEvents = yield _this6.sha256(processedPendencies);
|
|
|
|
if (dataHashEvents !== _this6.lastDataHash) {
|
|
_this6.lastDataHash = dataHashEvents; // Mostra cards IMEDIATAMENTE (sem fotos) - nova referência de cada objeto
|
|
|
|
_this6.events = processedPendencies.map(e => ({ ...e
|
|
})); // Carrega fotos em background
|
|
|
|
yield _this6.getInvitesPhotos(processedPendencies, 'invites'); // Cria novos objetos com fotos para OnPush detectar
|
|
|
|
_this6.eventsBackup = processedPendencies.map(e => ({ ...e
|
|
})); // Atualiza com fotos (nova referência de cada objeto)
|
|
|
|
_this6.events = processedPendencies.map(e => ({ ...e
|
|
}));
|
|
} else {
|
|
// Cria novos objetos do backup para OnPush detectar
|
|
_this6.events = _this6.eventsBackup.map(e => ({ ...e
|
|
}));
|
|
}
|
|
|
|
_this6.loadingService.hide(null, 'get-pending-releases').then(() => {}).catch(() => {}).finally(() => {
|
|
_this6.finishProcessingFssData = true;
|
|
});
|
|
}));
|
|
}
|
|
/**
|
|
* @author André — Extraí este bloco pois se repetia 4x no goToReviewBuildingTargetEvent.
|
|
* Impacto de risco mínimo: apenas mecânica de getEvent + transform + navigate.
|
|
* Toda regra de negócio (if/else de expedition, logistic, softlock, geo) ficou intocada.
|
|
* @param allowEdit true = expedition (pode editar se pendente), false = não-expedition (só approve)
|
|
*/
|
|
|
|
|
|
fetchEventAndNavigateToReview(eventId, filter, companyInstance, profile, allowEdit) {
|
|
var _this7 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
const response = yield _this7.companyService.getEvent(eventId, filter, companyInstance);
|
|
|
|
_this7.navigateToEventReview(response, profile, allowEdit);
|
|
} catch (error) {
|
|
_this7.handleGetEventError();
|
|
}
|
|
})();
|
|
}
|
|
|
|
navigateToEventReview(response, profile, allowEdit) {
|
|
const invites = response.invites;
|
|
const guests = invites.filter(item => !item.host);
|
|
const hosts = invites.filter(item => item.host);
|
|
const data = this.momentService.formatAsEventFromTo(response.startAt, response.endAt);
|
|
const eventReceived = { ...response,
|
|
guests,
|
|
hosts,
|
|
data
|
|
};
|
|
const action = allowEdit && (eventReceived.status === 'WAITING_FOR_EVENT_APPROVE' || !eventReceived.finalized) ? 'edit' : 'approve-event-review';
|
|
const navigationExtras = {
|
|
state: {
|
|
action,
|
|
approveEventReview: 'TRUE',
|
|
event: eventReceived,
|
|
isLimitedProfile: this.isLimitedProfile(profile)
|
|
}
|
|
};
|
|
this.navigationService.back(['/create-event-event-name-step'], navigationExtras);
|
|
}
|
|
|
|
getUserInvitePhoto(invite) {
|
|
var _this8 = this;
|
|
|
|
return (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* () {
|
|
let profile;
|
|
const token = yield _this8.authService.getToken(); // KA_APP-673
|
|
|
|
if (_this8.profilesCache.has(invite.companyInstance)) {
|
|
profile = _this8.profilesCache.get(invite.companyInstance); // KA_APP-673
|
|
} else {
|
|
const profiles = yield _this8.apiService.getUserProfiles(_this8.portais, token).toPromise();
|
|
profile = _this8.getProfile(profiles, invite.companyInstance); // KA_APP-673
|
|
|
|
_this8.profilesCache.set(invite.companyInstance, profile); // // KA_APP-673
|
|
|
|
}
|
|
|
|
const response = yield _this8.portalLoginManagerService.getAccessToken(profile.login, profile.portal, token);
|
|
const accessToken = response.access_token;
|
|
let photo;
|
|
const status = ['WAITING_FOR_INVITE_APPROVE', 'WAITING_FOR_RELEASE', 'WAITING_FOR_EVENT_APPROVE'].includes(invite.status);
|
|
|
|
try {
|
|
if (status) {
|
|
const refid = !invite?.refId && invite?.driver ? invite.driver.refId : invite.refId;
|
|
photo = yield _this8.apiService.getUserThumbnailPhotoOfPendingRelease(invite.companyInstance, accessToken, refid).toPromise();
|
|
} else {
|
|
photo = yield _this8.apiService.getLogisticsUserThumbnailPhotoOfPendingInviteApproval(invite.companyInstance, accessToken, invite.inviteId).toPromise();
|
|
}
|
|
} catch (error) {
|
|
if (error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) {
|
|
_this8.handleGetUserInvitePhotoErrorResponse(error, invite);
|
|
}
|
|
}
|
|
|
|
return photo;
|
|
})();
|
|
}
|
|
|
|
isLogisticEvent(event) {
|
|
return event && event.target && event.target === 'LOGISTIC';
|
|
} // TrackBy functions para otimizar ngFor
|
|
|
|
|
|
trackByEventId(index, event) {
|
|
return event?.id || event?.eventId || event?.refId || index;
|
|
}
|
|
|
|
trackByInviteId(index, invite) {
|
|
return invite?.id || invite?.eventId || invite?.refId || index;
|
|
}
|
|
|
|
fullName(data) {
|
|
if (!data) {
|
|
return '';
|
|
}
|
|
|
|
const first = data.firstName ?? '';
|
|
const last = data.lastName ?? '';
|
|
return `${first} ${last}`.trim();
|
|
}
|
|
|
|
showPhoto(event, d) {
|
|
var _this9 = this;
|
|
|
|
return (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 {
|
|
photo,
|
|
data
|
|
} = event;
|
|
|
|
if (!photo) {
|
|
return;
|
|
}
|
|
|
|
const description = _this9.fullName(data);
|
|
|
|
console.log(description);
|
|
let title = '';
|
|
|
|
if (data?.driver || data?.driverCandidate) {
|
|
title = _this9.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_DRIVER');
|
|
} else if (data?.driverAssistant) {
|
|
title = _this9.translateConfigService.translate('PG_PUSH_NOTIFICATION_TEXT_ASSISTANT');
|
|
}
|
|
|
|
const img = 'data:image/png;base64,' + photo;
|
|
|
|
const getCssClassAndcalcHeigth = _this9.modalHelpService.getCssClass('modal-generic-component-showphoto', '');
|
|
|
|
const props = {
|
|
type: 'image',
|
|
typename: 'image',
|
|
title,
|
|
description,
|
|
img,
|
|
actionsButton: [{
|
|
label: _this9.translateConfigService.translate('BTN_CLOSE'),
|
|
enabled: true,
|
|
action: () => _this9.modalController.dismiss()
|
|
}]
|
|
};
|
|
const modal = yield _this9.modalController.create({
|
|
component: _shared_components__WEBPACK_IMPORTED_MODULE_3__.GenericModalComponent,
|
|
componentProps: {
|
|
props
|
|
},
|
|
cssClass: getCssClassAndcalcHeigth.cssClass
|
|
});
|
|
yield modal.present();
|
|
})();
|
|
}
|
|
|
|
pooling(scheduleNext = true, duration = this.durationLong) {
|
|
if (this.stopTimeout) {
|
|
return; // Retorna se o pooling estiver parado ou já estiver agendado
|
|
}
|
|
|
|
if (this.env.type !== 'prod') {
|
|
clearInterval(this.progressInterval); // Cancela o intervalo de progresso anterior
|
|
// Reinicia o progresso para 0
|
|
|
|
this.progress = 0; // Inicia um intervalo para atualizar a barra de progresso
|
|
|
|
const updateInterval = 100; // Atualiza a cada 100ms (ajustável)
|
|
|
|
const totalSteps = duration / updateInterval;
|
|
let currentStep = 0;
|
|
this.progressInterval = setInterval(() => {
|
|
currentStep++;
|
|
this.progress = currentStep / totalSteps;
|
|
|
|
if (currentStep >= totalSteps) {
|
|
clearInterval(this.progressInterval);
|
|
}
|
|
}, updateInterval);
|
|
}
|
|
|
|
clearTimeout(this.setTimeOut); // Cancela qualquer timeout existente
|
|
|
|
if (scheduleNext && !this.stopTimeout) {
|
|
this.firstrequest = false;
|
|
this.setTimeOut = setTimeout(() => {
|
|
this.loadPendencies(this.hideLoadingLoadPendences);
|
|
}, duration);
|
|
}
|
|
}
|
|
|
|
getProfile(profiles, companyInstance) {
|
|
return profiles.find(p => p.company.instanceName === companyInstance && p.login !== null);
|
|
}
|
|
|
|
disaBledBtnsStopLoading() {
|
|
this.approveeButtonDisable = true;
|
|
this.hideLoadingLoadPendences = true;
|
|
this.editButtoDisable = true;
|
|
}
|
|
|
|
enableButtons() {
|
|
this.approveeButtonDisable = false;
|
|
this.editButtoDisable = false;
|
|
}
|
|
|
|
toastNotificationError(response) {
|
|
const codErro = this.codError(response);
|
|
const message = `${this.translateConfigService.translate('TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_MESSAGE')} ${codErro ?? ''}`;
|
|
const title = this.translateConfigService.translate('PG_PUSH_NOTIFICATION_TOAST_SERVICE_ERROR_TITLE');
|
|
const notification = {
|
|
title,
|
|
message,
|
|
type: 'error',
|
|
timeout: 5000
|
|
};
|
|
return notification;
|
|
}
|
|
|
|
codError(error) {
|
|
if (error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) {
|
|
if (error?.status === 0) {
|
|
return '(cod. 0)';
|
|
} else {
|
|
return `(cod. ${error.status})`;
|
|
}
|
|
}
|
|
|
|
return '';
|
|
}
|
|
|
|
geoCoordinates(logError, tagLoading) {
|
|
var _this0 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
const currentPosition = yield _this0.geolocationService.getCurrentPositionAndRequestPermission({
|
|
loading: false
|
|
});
|
|
const lat = currentPosition && currentPosition.coords && currentPosition.coords.latitude ? currentPosition.coords.latitude : null;
|
|
const lng = currentPosition && currentPosition.coords && currentPosition.coords.longitude ? currentPosition.coords.longitude : null;
|
|
const geoCoordinates = {
|
|
lat,
|
|
lng
|
|
};
|
|
return geoCoordinates;
|
|
} catch (error) {
|
|
_this0.loadingService.hide(null, 'approve-event-review'); // this.enableButtons();
|
|
|
|
|
|
_this0.handleGetLocationError(tagLoading, logError, error);
|
|
|
|
throw error;
|
|
}
|
|
})();
|
|
}
|
|
|
|
verifyCoordinatesAPIAndApproveBuildingTargetEvent(companyInstance, profile, accessToken, eventId, filter) {
|
|
var _this1 = this;
|
|
|
|
return (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* () {
|
|
// stepTwoBuildingTargetEvent
|
|
const {
|
|
authorized
|
|
} = yield _this1.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'ApproverEvent::verifyCoordinatesAPIAndApproveBuildingTargetEvent',
|
|
targetLoading: 'approve-event-review'
|
|
});
|
|
let lat = null;
|
|
let lng = null;
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this1.geoCoordinates('geolocation::approvEventBuilding:stepOneApproveEvent', 'approve-event');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
const verifyCoordinates = yield _this1.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'approve-event-review');
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this1.handleOutOfArea();
|
|
|
|
return;
|
|
}
|
|
} catch (error) {
|
|
_this1.loadingService.hide(null, 'approve-event-review');
|
|
|
|
_this1.enableButtons();
|
|
|
|
return;
|
|
}
|
|
}
|
|
|
|
try {
|
|
const response = yield _this1.companyService.getEvent(eventId, filter, companyInstance);
|
|
const invites = response.invites;
|
|
const guests = invites.filter(item => !item.host);
|
|
const hosts = invites.filter(item => item.host);
|
|
|
|
const data = _this1.momentService.formatAsEventFromTo(response.startAt, response.endAt);
|
|
|
|
const eventReceived = { ...response,
|
|
guests,
|
|
hosts,
|
|
data
|
|
};
|
|
|
|
_this1.dataManager.setData('authorized', authorized);
|
|
|
|
_this1.dataManager.setData('lat', lat);
|
|
|
|
_this1.dataManager.setData('lng', lng);
|
|
|
|
_this1.loadData(eventReceived, 'approve-event-review');
|
|
} catch (error) {
|
|
_this1.handleGetEventError();
|
|
}
|
|
})();
|
|
}
|
|
|
|
verifyCoordinatesAPIAndApproveBuildingTargetLogisticEvent(companyInstance, accessToken, profile, eventResponse) {
|
|
var _this10 = this;
|
|
|
|
return (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 {
|
|
authorized
|
|
} = yield _this10.checkSoftLock(companyInstance, profile, {
|
|
callMethod: 'ApproverEvent::verifyCoordinatesAPIAndApproveBuildingTargetLogisticEvent',
|
|
targetLoading: 'approve-event-review'
|
|
});
|
|
let lat = null;
|
|
let lng = null;
|
|
|
|
if (!authorized) {
|
|
try {
|
|
const {
|
|
lat: geolat,
|
|
lng: geolng
|
|
} = yield _this10.geoCoordinates('geolocation::ApproverEvent::stepTwoBuildingLogisticTargetEvent', 'approve-event-review');
|
|
lat = geolat;
|
|
lng = geolng;
|
|
} catch (error) {
|
|
_this10.enableButtons();
|
|
|
|
console.log(error);
|
|
return error;
|
|
}
|
|
|
|
try {
|
|
const verifyCoordinates = yield _this10.verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, 'approve-event-review');
|
|
|
|
if (!verifyCoordinates.authorized) {
|
|
_this10.handleOutOfArea();
|
|
|
|
return;
|
|
}
|
|
} catch (error) {
|
|
_this10.enableButtons();
|
|
|
|
console.log(error);
|
|
return error;
|
|
}
|
|
}
|
|
|
|
const {
|
|
behavior,
|
|
driver
|
|
} = eventResponse;
|
|
const licensePlateOne = driver?.licensePlateOne || null;
|
|
const licensePlateTwo = driver?.licensePlateTwo || null;
|
|
const hasCart = driver?.hasCart || false;
|
|
const onFoot = driver?.onFoot || false;
|
|
const eventLog = { ...eventResponse,
|
|
licensePlateOne,
|
|
licensePlateTwo,
|
|
hasCart,
|
|
onFoot
|
|
};
|
|
const geoCoordinates = {
|
|
lat,
|
|
lng
|
|
};
|
|
|
|
_this10.loadDataLogistic(eventLog, 'approve-event-review', behavior, geoCoordinates);
|
|
})();
|
|
}
|
|
|
|
getGeoCoordinatesDevice() {
|
|
var _this11 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
const {
|
|
lat,
|
|
lng
|
|
} = yield _this11.geoCoordinates('geolocation::approvEventLogistic', 'aprove-event');
|
|
return {
|
|
lat,
|
|
lng
|
|
};
|
|
} catch (error) {
|
|
_this11.enableButtons();
|
|
|
|
throw error;
|
|
}
|
|
})();
|
|
}
|
|
|
|
verifyCoordinatesAPI(companyInstance, lat, lng, accessToken, targetLoading) {
|
|
var _this12 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
return yield _this12.apiService.verifyCoordinates(companyInstance, lat, lng, accessToken).toPromise();
|
|
} catch (error) {
|
|
_this12.handleErrorCheckSoftLock(error, 'verifyCoordinatesAPI', targetLoading); // throw error;
|
|
|
|
}
|
|
})();
|
|
}
|
|
|
|
setProfileOnlyOne() {
|
|
const profiles = this.profileManagerService.getProfileList();
|
|
|
|
if (profiles && profiles.length > 0 && profiles.length === 1) {
|
|
this.profileManagerService.setProfile(profiles[0]);
|
|
}
|
|
}
|
|
|
|
statusConnectionAndRestartStart() {
|
|
this.stateService.getState().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_26__.takeUntil)(this.destroy$)).subscribe(state => {
|
|
if (state.status === 'Offline') {
|
|
this.isOffline = true;
|
|
clearTimeout(this.setTimeOut);
|
|
} else {
|
|
if (this.isOffline) {
|
|
this.isOffline = false;
|
|
const timeout = setTimeout(() => {
|
|
this.start(false);
|
|
clearTimeout(timeout);
|
|
}, 1000);
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
sha256(input) {
|
|
return (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 str = typeof input === 'string' ? input : JSON.stringify(input);
|
|
const data = new TextEncoder().encode(str);
|
|
const hashBuffer = yield crypto.subtle.digest('SHA-256', data);
|
|
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
const hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');
|
|
return hashHex;
|
|
})();
|
|
}
|
|
|
|
handleInvite(invite, hasRequireFaceImage) {
|
|
var _this13 = this;
|
|
|
|
return (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* () {
|
|
if (hasRequireFaceImage) {
|
|
try {
|
|
if (invite && invite?.refId) {
|
|
const response = yield _this13.getUserInvitePhoto(invite);
|
|
|
|
_this13.handleGetUserEventInvitePhotoSuccessResponse(response, invite);
|
|
}
|
|
|
|
if (invite && invite?.escorts && invite.escorts.length > 0) {
|
|
for (const escort of invite.escorts) {
|
|
try {
|
|
if (escort && escort?.refId) {
|
|
const response = yield _this13.getUserInvitePhoto(escort);
|
|
|
|
_this13.handleGetUserEventInvitePhotoSuccessResponse(response, escort);
|
|
}
|
|
} catch (error) {
|
|
_this13.handleGetUserEventInvitePhotoErrorResponse(error, escort);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (invite && invite?.companions?.length > 0) {
|
|
for (const companion of invite.companions) {
|
|
if (companion?.refId) {
|
|
const companionForPhoto = { ...companion,
|
|
status: invite.status
|
|
};
|
|
const companionResponse = yield _this13.getUserInvitePhoto(companionForPhoto);
|
|
|
|
_this13.handleGetUserCompanionPhotoSuccessResponse(companionResponse, companion);
|
|
}
|
|
}
|
|
}
|
|
} catch (error) {
|
|
_this13.handleGetUserEventInvitePhotoErrorResponse(error, invite);
|
|
}
|
|
}
|
|
})();
|
|
}
|
|
|
|
handleEventInvites(eventsInvites, hasRequireFaceImage) {
|
|
var _this14 = this;
|
|
|
|
return (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* () {
|
|
if (eventsInvites && eventsInvites?.refId) {
|
|
yield _this14.handleInvite(eventsInvites, hasRequireFaceImage);
|
|
} // for (const invite of eventsInvites.invites) {
|
|
// await this.handleInvite(eventsInvites, hasRequireFaceImage);
|
|
// }
|
|
|
|
|
|
for (const escort of eventsInvites.escorts) {
|
|
try {
|
|
if (escort && escort?.refId) {
|
|
const response = yield _this14.getUserInvitePhoto(escort);
|
|
|
|
_this14.handleGetUserEventInvitePhotoSuccessResponse(response, escort);
|
|
}
|
|
} catch (error) {
|
|
_this14.handleGetUserEventInvitePhotoErrorResponse(error, escort);
|
|
}
|
|
}
|
|
})();
|
|
}
|
|
|
|
hasRequireFaceImage(companyInstanceName) {
|
|
// Verifica se o parâmetro companyInstanceName foi fornecido
|
|
if (!companyInstanceName) {
|
|
throw new Error('O nome da instância da empresa não foi fornecido');
|
|
}
|
|
|
|
const goodProfiles = this.profileManagerService.goodProfilesListAll();
|
|
const hasMatch = goodProfiles.filter(profile => profile.company.instanceName === companyInstanceName);
|
|
const requireFaceImage = hasMatch.some(prof => prof.company.site.requireFaceImage);
|
|
return requireFaceImage;
|
|
}
|
|
|
|
checkSoftLock(companyInstance, profile, data) {
|
|
var _this15 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
const accessToken = yield _this15.getProfileRelatedAccessToken(profile);
|
|
|
|
try {
|
|
const {
|
|
authorized
|
|
} = yield _this15.apiService.checkSoftLock(companyInstance, null, null, accessToken).toPromise();
|
|
return {
|
|
authorized
|
|
};
|
|
} catch (error) {
|
|
// geo/verify-coordinates
|
|
_this15.logService.logError('http::api:geo:verify-coodinates', 'CheckSoftLock HttpError', error);
|
|
|
|
throw error;
|
|
}
|
|
} catch (error) {
|
|
// error: any, callMethod: string, targetLoading: string
|
|
let callMethod = data?.callMethod ? data?.callMethod : 'CheckSoftLock';
|
|
let targetLoading = data?.targetLoading ? data?.targetLoading : 'onrestart';
|
|
|
|
_this15.handleErrorCheckSoftLock(error, callMethod, targetLoading);
|
|
|
|
_this15.logService.logError('http::api:geo:verify-coodinates', 'CheckSoftLock HttpError', error);
|
|
|
|
throw error;
|
|
}
|
|
})();
|
|
}
|
|
|
|
setProfileCurrentCorrect(profile) {
|
|
if (profile?.authorities.includes('ROLE_LOGI_EXP')) {
|
|
this.profileManagerService.setProfileLogistic(profile);
|
|
this.profileManagerService.setProfile(profile);
|
|
} else {
|
|
this.profileManagerService.setProfile(profile);
|
|
}
|
|
}
|
|
|
|
registerAppLifecycleListeners() {
|
|
_capacitor_app__WEBPACK_IMPORTED_MODULE_6__.App.removeAllListeners().then(() => {
|
|
_capacitor_app__WEBPACK_IMPORTED_MODULE_6__.App.addListener('pause', () => {
|
|
this.ngOnDestroy();
|
|
});
|
|
_capacitor_app__WEBPACK_IMPORTED_MODULE_6__.App.addListener('resume', () => {
|
|
if (this.guardActivate()) {
|
|
this.loadingService.hide(0, 'onrestart');
|
|
this.stopTimeout = false;
|
|
this.managerNotificationPersistentService.stopContinuousVibration();
|
|
this.start(true).then().catch().finally(() => this.loadingService.hide(null, this.tagloadingstart));
|
|
}
|
|
});
|
|
});
|
|
}
|
|
|
|
guardActivate() {
|
|
return this.router.url === '/push-notifications';
|
|
}
|
|
|
|
createErrorWithSource(error, source, listEvent = []) {
|
|
const events = listEvent.map(event => event).join(', ');
|
|
const errorWithSource = {
|
|
source,
|
|
originalError: error,
|
|
message: error?.message + `--listEvent: ${events.toString()}` || 'Unknown error',
|
|
stack: error?.stack || 'No stack trace available'
|
|
};
|
|
return errorWithSource;
|
|
}
|
|
|
|
getPendingEventsHandler() {
|
|
var _this16 = this;
|
|
|
|
return (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* () {
|
|
// FSS
|
|
let listEvent = [];
|
|
|
|
try {
|
|
const pendingEvents = yield _this16.getPendingEvents();
|
|
listEvent = pendingEvents;
|
|
|
|
if (!Array.isArray(pendingEvents)) {
|
|
throw new Error('The response from getPendingEvents is not an array.');
|
|
}
|
|
|
|
_this16.handleGetPendenciesSuccessResponse(pendingEvents, 'events');
|
|
} catch (error) {
|
|
_this16.finishProcessingFssData = true;
|
|
const isHttpError = error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse || error?.message?.includes('response from getPendingEvents');
|
|
|
|
if (isHttpError) {
|
|
if (listEvent.length > 0) {
|
|
listEvent.map(res => {
|
|
return {
|
|
name: res?.title,
|
|
eventId: res.id,
|
|
inviteId: res?.invites && res?.invites?.length > 0 ? res?.invites[0]?.inviteId : null
|
|
};
|
|
});
|
|
}
|
|
|
|
_this16.handleGetPendenciesErrorResponse(_this16.createErrorWithSource(error, 'Events', listEvent));
|
|
} else {
|
|
console.warn('⚠️ Runtime error in getPendingEventsHandler (silently handled):', {
|
|
error: error.message,
|
|
type: 'runtime'
|
|
});
|
|
_this16.logService?.logError('getPendingEventsHandler::runtime-error', `Runtime error: ${error.message}`, {
|
|
error: error.message,
|
|
stack: error.stack
|
|
});
|
|
}
|
|
}
|
|
})();
|
|
}
|
|
|
|
getPendingReleasesHandler() {
|
|
var _this17 = this;
|
|
|
|
return (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* () {
|
|
try {
|
|
const pendingReleases = yield _this17.getPendingReleases();
|
|
|
|
if (!Array.isArray(pendingReleases)) {
|
|
throw new Error('The response from getPendingReleases is not an array.');
|
|
}
|
|
|
|
_this17.handleGetPendenciesSuccessResponse(pendingReleases, 'pendingreleases');
|
|
} catch (error) {
|
|
_this17.finishProcessingReleasesData = true;
|
|
const isHttpError = error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse || error?.message?.includes('response from getPendingReleases');
|
|
|
|
if (isHttpError) {
|
|
_this17.handleGetPendenciesErrorResponse(_this17.createErrorWithSource(error, 'PendingReleases'));
|
|
} else {
|
|
console.warn('⚠️ Runtime error in getPendingReleasesHandler (silently handled):', {
|
|
error: error.message,
|
|
type: 'runtime'
|
|
});
|
|
_this17.logService?.logError('getPendingReleasesHandler::runtime-error', `Runtime error: ${error.message}`, {
|
|
error: error.message,
|
|
stack: error.stack
|
|
});
|
|
}
|
|
}
|
|
})();
|
|
}
|
|
/**
|
|
* Issue Feature - Notification Persistent - Notification Persistent - integration plugin custom
|
|
*/
|
|
|
|
|
|
initiatePersistentNotificationFromQueryParams() {
|
|
var _this18 = this;
|
|
|
|
this.route.queryParams.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_27__.take)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_26__.takeUntil)(this.destroy$)).subscribe( /*#__PURE__*/function () {
|
|
var _ref32 = (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* (params) {
|
|
console.log('initiatePersistentNotificationFromQueryParams', params);
|
|
|
|
if (!params || !('data' in params) || !('action' in params)) {
|
|
_this18.canCallLoadPendencies = true;
|
|
|
|
_this18.dataManager.setData('paransPersistentNotification', {
|
|
data: null,
|
|
action: null
|
|
});
|
|
} else {
|
|
const data = JSON.parse(params['data']);
|
|
const action = params['action'];
|
|
|
|
try {
|
|
const [eventsPromisse, invitesPromisse] = yield Promise.allSettled([_this18.getPendingEvents(), _this18.getPendingReleases()]);
|
|
const events = [];
|
|
const invites = [];
|
|
|
|
if (eventsPromisse.status === 'fulfilled') {
|
|
if (eventsPromisse?.value?.length > 0) {
|
|
events.push(...eventsPromisse?.value);
|
|
}
|
|
}
|
|
|
|
if (invitesPromisse.status === 'fulfilled') {
|
|
if (invitesPromisse?.value?.length > 0) {
|
|
invites.push(...invitesPromisse?.value);
|
|
}
|
|
}
|
|
|
|
_this18.canCallLoadPendencies = false;
|
|
|
|
_this18.dataManager.setData('paransPersistentNotification', {
|
|
data,
|
|
action
|
|
});
|
|
|
|
if (events?.length > 0 || invites?.length > 0) {
|
|
_this18.handlePersistentNotification(events, invites);
|
|
} else {
|
|
_this18.canCallLoadPendencies = true;
|
|
_this18.finishProcessingFssData = true;
|
|
_this18.finishProcessingReleasesData = true;
|
|
}
|
|
} catch (error) {
|
|
_this18.logService.log('error:http', 'initiatePersistentNotification:: getPendingReleases || getPendingEvents', error);
|
|
} finally {
|
|
_this18.canCallLoadPendencies = true;
|
|
_this18.finishProcessingFssData = true;
|
|
_this18.finishProcessingReleasesData = true;
|
|
}
|
|
}
|
|
});
|
|
|
|
return function (_x34) {
|
|
return _ref32.apply(this, arguments);
|
|
};
|
|
}());
|
|
}
|
|
|
|
processCardRejectOrAccept(data, action, event, invite) {
|
|
if (!data || data.rid !== 'FSS') {
|
|
this.processGeneralNotification(data, action, invite);
|
|
return;
|
|
}
|
|
|
|
if (!event) return; // FSS
|
|
|
|
console.log('FSS', event);
|
|
this.processFssNotification(data, event, action);
|
|
}
|
|
|
|
processFssNotification(data, event, action) {
|
|
console.log('Aprovar ou rejeitar FSS');
|
|
const payloadEvent = {
|
|
companyInstance: event?.companyInstance ?? event?.invites[0]?.companyInstance ?? data?.ci,
|
|
...event
|
|
};
|
|
|
|
if (action === 'ACCEPT_ACTION') {
|
|
console.log('Aprovar FSS');
|
|
this.stepOneApproveEvent(payloadEvent);
|
|
} else if (action === 'REJECT_ACTION') {
|
|
console.log('Rejeitar FSS');
|
|
this.rejectFssEventWithNotification(data, payloadEvent);
|
|
}
|
|
}
|
|
|
|
processGeneralNotification(data, action, invite) {
|
|
if (!invite) return;
|
|
const reasonText = data?.reasonText !== null || data?.reasonText !== undefined;
|
|
|
|
if (action === 'ACCEPT_ACTION') {
|
|
console.log('Aprovar');
|
|
|
|
if (invite.status === 'WAITING_FOR_INVITE_APPROVE') {
|
|
return this.authorizeSelfInviteWithLocator(invite);
|
|
} else if (invite.status === 'WAITING_FOR_RELEASE') {
|
|
return this.autorizeDoCheckin(invite);
|
|
} else if (invite.status !== 'WAITING_FOR_INVITE_APPROVE' || invite.status !== 'WAITING_FOR_RELEASE') {
|
|
return this.doRelease(invite);
|
|
}
|
|
} else if (action === 'REJECT_ACTION' && reasonText) {
|
|
console.log('Rejeitar');
|
|
const prepareInvite = {
|
|
reason: data.reasonText,
|
|
...invite
|
|
};
|
|
|
|
if (invite?.status === 'WAITING_FOR_RELEASE') {
|
|
return this.denyDoCheckin(prepareInvite, false);
|
|
} else if (invite.status !== 'WAITING_FOR_INVITE_APPROVE' || invite.status !== 'WAITING_FOR_RELEASE') {
|
|
return this.denySelfInviteWithLocator(prepareInvite, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
rejectFssEventWithNotification(data, event) {
|
|
var _this19 = this;
|
|
|
|
let companyInstance = event?.companyInstance ?? event?.invites[0]?.companyInstance;
|
|
if (!companyInstance) return;
|
|
this.getProfileFromCacheOrRemote(companyInstance).then( /*#__PURE__*/function () {
|
|
var _ref33 = (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* (profile) {
|
|
_this19.setProfileCurrentCorrect(profile);
|
|
|
|
if (event.target === 'BUILDING') {
|
|
_this19.approveeButtonDisable = true;
|
|
|
|
_this19.profileManagerService.setProfile(profile); // this.reproveBuildingEvent(event);
|
|
|
|
|
|
const id = event.status !== 'WAITING_FOR_RELEASE' ? event.id : event.eventId;
|
|
|
|
if (id) {
|
|
const payload = {
|
|
id,
|
|
message: data.reasonText
|
|
};
|
|
|
|
_this19.pooling(false);
|
|
|
|
_this19.loadingService.show(_this19.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_FAILING_EVENT'), 'reprove-event');
|
|
|
|
_this19.createEventService.denyEvent(payload).then(_this19.handleReproveEventSuccessResponse).catch(_this19.handleReproveEventErrorResponse).finally(() => {
|
|
_this19.loadingService.hide(0, 'reprove-event');
|
|
|
|
_this19.pooling(true, _this19.durationShort);
|
|
});
|
|
}
|
|
} else {
|
|
_this19.approveeButtonDisable = true;
|
|
|
|
_this19.profileManagerService.setProfileLogistic(profile); // this.reproveLogisticEvent(event);
|
|
|
|
|
|
_this19.eventBeingReleased = event;
|
|
const payload = {
|
|
id: event.id,
|
|
message: data.reasonText
|
|
};
|
|
|
|
_this19.pooling(false);
|
|
|
|
_this19.loadingService.show(_this19.translateConfigService.translate('PG_PUSH_NOTIFICATION_LOADING_FAILING_EVENT'), 'reprove-event');
|
|
|
|
_this19.createLogisticEventService.denyEvent(payload).then(_this19.handleReproveEventSuccessResponse).catch(_this19.handleReproveEventErrorResponse).finally(() => {
|
|
_this19.loadingService.hide(0, 'reprove-event');
|
|
|
|
_this19.pooling(true, _this19.durationShort);
|
|
});
|
|
}
|
|
});
|
|
|
|
return function (_x35) {
|
|
return _ref33.apply(this, arguments);
|
|
};
|
|
}()).catch(this.handleNoProfileToDoRelease);
|
|
}
|
|
|
|
handlePersistentNotification(events, invites) {
|
|
this.canCallLoadPendencies = true;
|
|
this.finishProcessingFssData = true;
|
|
this.finishProcessingReleasesData = true;
|
|
const {
|
|
data,
|
|
action
|
|
} = this.dataManager.getData('paransPersistentNotification');
|
|
|
|
if (!data || !action) {
|
|
return;
|
|
}
|
|
|
|
try {
|
|
const invite = invites?.find(inv => inv?.eventId === +data.eid); // fSS
|
|
|
|
const event = events?.find(ev => ev?.id === data.eid); // Outros
|
|
|
|
const shouldCompare = this.shouldCompare(invite);
|
|
|
|
if (!invite && !event) {
|
|
return;
|
|
}
|
|
|
|
if (shouldCompare) {
|
|
return;
|
|
}
|
|
|
|
if (data && data.eid && data.etrgt) {
|
|
this.processCardRejectOrAccept(data, action, event, invite);
|
|
}
|
|
} catch (e) {
|
|
console.error('Erro ao fazer parse dos parâmetros', e);
|
|
}
|
|
}
|
|
|
|
resetComponentState() {
|
|
// Cancela qualquer timeout pendente
|
|
clearTimeout(this.setTimeOut); // Reativa botões, se necessário
|
|
|
|
this.enableButtons(); // Define as flags de controle para o estado inicial
|
|
|
|
this.stopTimeout = true;
|
|
this.isOffline = false; // Limpa backups e dados
|
|
|
|
this.eventsBackup = [];
|
|
this.invitesBackup = []; // Reseta os hashes de dados
|
|
|
|
this.lastDataHash = null;
|
|
this.lastDataHashInvites = null;
|
|
this.finalizegetPendingReleases = false;
|
|
this.finalizegetPendingEventsFss = false;
|
|
} // KA_APP-673
|
|
|
|
|
|
handleErrorCheckSoftLock(error, callMethod, targetLoading) {
|
|
this.enableButtons();
|
|
this.loadingService.hide(null, targetLoading);
|
|
let title = this.translateConfigService.translate('TOAST_ERROR_CHECKING_LOCATION_TITLE');
|
|
let message = this.translateConfigService.translate('TOAST_MESSAGE_ERROR_CHECKING_LOCATION');
|
|
this.logService.logError('http::api:geo:verify-coodinates', callMethod, error);
|
|
|
|
if (error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) {
|
|
if (error?.status === 0) {
|
|
this.showToastModalErroCodeZero.showToast();
|
|
return;
|
|
}
|
|
|
|
title = this.translateConfigService.translate('TOAST_ERROR_CHECKING_LOCATION_TITLE');
|
|
message = `${this.translateConfigService.translate('TOAST_MESSAGE_ERROR_CHECKING_LOCATION')} Cod:${error?.status}`;
|
|
}
|
|
|
|
const notification = {
|
|
title,
|
|
message,
|
|
type: 'error',
|
|
timeout: 8000
|
|
};
|
|
this.notificatorService.notify(notification);
|
|
}
|
|
|
|
}
|
|
|
|
PushNotificationsPage.ɵfac = function PushNotificationsPage_Factory(t) {
|
|
return new (t || PushNotificationsPage)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.MomentService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.NgZoneService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.NavigationService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.AuthService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.StorageService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.InsomniaService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.CompanyService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.LogisticCompanyService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.ProfileManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.GeolocationService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_28__.ModalController), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.PortalLoginManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.CreateLogisticEventService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.CreateEventService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.PendingReleaseService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.BadgeStoreService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.LoaderService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.ModalHelperService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.TranslateConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_state_service__WEBPACK_IMPORTED_MODULE_10__.StateService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_sessionaddflow_service__WEBPACK_IMPORTED_MODULE_11__.SessionaddflowService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_12__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.ManagerTokenUaamobileService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_28__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_9__.ShowToastAndModalErroCodeZeroService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_manager_notification_persistent_service__WEBPACK_IMPORTED_MODULE_13__.ManagerNotificationPersistentService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_12__.ActivatedRoute));
|
|
};
|
|
|
|
PushNotificationsPage.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
|
|
type: PushNotificationsPage,
|
|
selectors: [["app-push-notifications"]],
|
|
decls: 8,
|
|
vars: 10,
|
|
consts: [[3, "title", "showBadge", "callRefresh"], [4, "ngIf"], [3, "invites", "events", 4, "ngIf"], [3, "skeleton", 4, "ngFor", "ngForOf"], [3, "value"], [3, "invites", "events"], [3, "skeleton"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "event", "disabled", "disabledEdit", "isLogisticEvent", "initials", "getVisitorCompanyName", "showPhoto", "stepOneApproveEvent", "goToReviewEvent", "reproveEvent"], [3, "event", "disabled", "disabledEdit", "isLogisticEvent", "initials", "getVisitorCompanyName", "showPhoto", "stepOneApproveEvent", "goToReviewEvent", "reproveEvent", "allowOne", "allowAll", "allowPartial", "denyOne", "denyAll"], [3, "invite", "initials", "isLogisticEvent", "shouldCompare", "showPhoto", "authorizeSelfInviteWithLocator", "openSolveDriverCheckinConflict", "denySelfInviteWithLocator", "denyDoCheckin", "autorizeDoCheckin", "doRelease", "allowOne", "allowAll", "allowPartial", "denyOne", "denyAll", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "invite", "initials", "isLogisticEvent", "shouldCompare", "showPhoto", "authorizeSelfInviteWithLocator", "openSolveDriverCheckinConflict", "denySelfInviteWithLocator", "denyDoCheckin", "autorizeDoCheckin", "doRelease", "allowOne", "allowAll", "allowPartial", "denyOne", "denyAll"]],
|
|
template: function PushNotificationsPage_Template(rf, ctx) {
|
|
if (rf & 1) {
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "app-header", 0);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("callRefresh", function PushNotificationsPage_Template_app_header_callRefresh_0_listener() {
|
|
return ctx.callRefresh();
|
|
});
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](1, "translate");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](2, "ion-content");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](3, PushNotificationsPage_ng_container_3_Template, 2, 1, "ng-container", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, PushNotificationsPage_app_empty_4_Template, 1, 2, "app-empty", 2);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, PushNotificationsPage_app_card_skeleton_screen_5_Template, 1, 1, "app-card-skeleton-screen", 3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](6, PushNotificationsPage_ng_container_6_Template, 2, 2, "ng-container", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](7, PushNotificationsPage_ng_container_7_Template, 2, 2, "ng-container", 1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
}
|
|
|
|
if (rf & 2) {
|
|
let tmp_5_0;
|
|
let tmp_6_0;
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](1, 7, "PG_PUSH_NOTIFICATION_HEADER_TITLE"))("showBadge", false);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.env.type !== "prod");
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.finishProcessingFssData && ctx.finishProcessingReleasesData);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpureFunction0"](9, _c0));
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.events && ((tmp_5_0 = ctx.events == null ? null : ctx.events.length) !== null && tmp_5_0 !== undefined ? tmp_5_0 : 0) > 0 && ctx.finishProcessingFssData);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
|
|
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.invites && ((tmp_6_0 = ctx.invites == null ? null : ctx.invites.length) !== null && tmp_6_0 !== undefined ? tmp_6_0 : 0) > 0 && ctx.finishProcessingReleasesData);
|
|
}
|
|
},
|
|
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_14__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_14__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_28__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_28__.IonProgressBar, _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_15__.HeaderComponent, _components_card_card_component__WEBPACK_IMPORTED_MODULE_16__.CardComponent, _components_card_fss_card_fss_component__WEBPACK_IMPORTED_MODULE_17__.CardFssComponent, _components_empty_empty_component__WEBPACK_IMPORTED_MODULE_18__.EmptyComponent, _components_card_fss_v2_card_fss_v2_component__WEBPACK_IMPORTED_MODULE_19__.CardFssV2Component, _components_card_skeleton_screen_card_skeleton_screen_component__WEBPACK_IMPORTED_MODULE_20__.CardSkeletonScreenComponent, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_29__.TranslatePipe, _shared_pipes_get_initials_pipe__WEBPACK_IMPORTED_MODULE_21__.GetInitialsPipe],
|
|
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-weight: bold;\n text-align: center;\n font-size: initial !important;\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.pendencies[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%], .pendencies[_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.pendencies[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%] .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {\n text-align: center;\n}\n\n.pendencies[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%], .pendencies[_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.pendencies[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .pendencies[_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.pendencies[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .pull-to-reload-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%], .pendencies[_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.pendencies[_ngcontent-%COMP%] .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.pendencies[_ngcontent-%COMP%] .not-empty[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {\n text-align: center;\n}\n\n.pendencies[_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: 0;\n}\n\n.pendencies[_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.pendencies[_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.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] {\n border: 1px solid #eee;\n box-shadow: 2px 2px 8px rgba(67, 60, 98, 0.1);\n border-radius: 8px;\n width: 95%;\n margin: 12px auto;\n background-color: #fff;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] {\n display: flex;\n padding: 16px;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section.medium[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section.top[_ngcontent-%COMP%] {\n border-bottom: 1px solid #eee;\n justify-content: flex-start;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section.medium.campanions[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section.medium.campanions[_ngcontent-%COMP%] > .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section.medium.campanions[_ngcontent-%COMP%] > .value[_ngcontent-%COMP%] {\n display: flex;\n margin: 4px 0;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] {\n height: 38px;\n min-width: 38px;\n border-radius: 38px;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eee;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .initials[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n font-size: 0.9em;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .thumbnail-image[_ngcontent-%COMP%] {\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .thumbnail-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n height: 38px;\n width: 38px;\n border-radius: 38px;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .user-event-data[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .user-event-data[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n margin-left: 12px;\n font-size: 0.9em;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .user-event-data[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%] .last-name[_ngcontent-%COMP%] {\n margin-left: 4px;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .user-event-data[_ngcontent-%COMP%] .visitor-company[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] {\n margin-left: 12px;\n font-size: 0.9em;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .checkin-done-at[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n width: 100%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .checkin-done-at[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .target-company[_ngcontent-%COMP%] {\n width: 50%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .target-company[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .target-event[_ngcontent-%COMP%] {\n width: 50%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .target-event[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n width: 100%;\n text-transform: none;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions.two-or-more[_ngcontent-%COMP%] {\n justify-content: space-between;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions.only-one[_ngcontent-%COMP%] {\n justify-content: center;\n --box-shadow: 0;\n text-transform: none;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n margin-top: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] {\n --box-shadow: 0;\n text-transform: none;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] button.ok[_ngcontent-%COMP%] {\n font-size: 1em;\n color: #fff;\n background-color: #0ec254;\n padding: 0.5em 1.25em;\n border-radius: 32px;\n border: 1px solid #0ec254;\n transition: background-color 0.1s ease-out;\n text-transform: none;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] button.ok[_ngcontent-%COMP%]:active {\n background-color: #0ec254;\n color: #fff;\n transition: background-color 0.1s ease-out;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .logistic-event-message[_ngcontent-%COMP%] {\n background-color: #eee;\n border-radius: 4px;\n padding: 8px;\n text-align: center;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-invite-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .invite-requested-at[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-invite-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .invite-requested-at[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-invite-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n width: 100%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-invite-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] {\n flex-direction: row;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section.column[_ngcontent-%COMP%] {\n flex-direction: column;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .invite-requested-at[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .invite-requested-at[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n width: 100%;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #656768;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%] .value[_ngcontent-%COMP%] {\n display: flex;\n margin-top: 4px;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .event-company[_ngcontent-%COMP%]:not(:first-child) {\n margin-top: 12px;\n}\n\n.pendencies[_ngcontent-%COMP%] .pendency[_ngcontent-%COMP%] .waiting-for-event-approve[_ngcontent-%COMP%] .section.top[_ngcontent-%COMP%] {\n justify-content: center;\n}\n/*# s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NlbnRlcjtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgbWFyZ2luLXRvcDogMWVtO1xuXG4gICAgICAgIHNwYW4ge1xuICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2VlZTtcbiAgICAgICAgICBwYWRkaW5nOiAwLjI1ZW0gMC43NWVtO1xuICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDMycHg7XG4gICAgICAgICAgbWFyZ2luLXJpZ2h0OiA4cHg7XG5cbiAgICAgICAgICBpb24taWNvbiB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogNHB4O1xuICAgICAgICAgICAgY29sb3I6ICMwZWMyNTQ7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAycHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLm5vdC1lbXB0eSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgICBjb2xvcjogIzY1Njc2ODtcbiAgICBmb250LXNpemU6IDAuOWVtO1xuICAgIG1hcmdpbi1ib3R0b206IDJlbTtcblxuICAgIC50ZXh0IHtcbiAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcblxuICAgICAgLnB1bGwtdG8tcmVsb2FkLW1lc3NhZ2Uge1xuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIG1hcmdpbi10b3A6IDA7XG5cbiAgICAgICAgc3BhbiB7XG4gICAgICAgICAgZGlzcGxheTogaW5saW5lLWZsZXg7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjZWVlO1xuICAgICAgICAgIHBhZGRpbmc6IDAuMjVlbSAwLjc1ZW07XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogMzJweDtcbiAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDhweDtcblxuICAgICAgICAgIGlvbi1pY29uIHtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA0cHg7XG4gICAgICAgICAgICBjb2xvcjogIzBlYzI1NDtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDJweDtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAucGVuZGVuY3kge1xuICAgIGJvcmRlcjogMXB4IHNvbGlkICNlZWU7XG4gICAgYm94LXNoYWRvdzogMnB4IDJweCA4cHggcmdiYSg2NywgNjAsIDk4LCAwLjEpO1xuICAgIGJvcmRlci1yYWRpdXM6IDhweDtcbiAgICB3aWR0aDogOTUlO1xuICAgIG1hcmdpbjogMTJweCBhdXRvO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gICAgLy8gYm9yZGVyLXJhZGl1czogNHB4O1xuICAgIC8vIHBhZGRpbmc6IDhweDtcbiAgICAvLyB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgLnNlY3Rpb24ge1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIHBhZGRpbmc6IDE2cHg7XG5cbiAgICAgICYubWVkaXVtLFxuICAgICAgJi50b3Age1xuICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2VlZTtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgICAgfVxuICAgICAgJi5tZWRpdW0uY2FtcGFuaW9ucyB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgID4gLmxhYmVsIHtcbiAgICAgICAgICBmb250LXNpemU6IDAuOGVtO1xuICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICB9XG4gICAgICAgID4gLnZhbHVlIHtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIG1hcmdpbjogNHB4IDA7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLmluaXRpYWxzIHtcbiAgICAgICAgaGVpZ2h0OiAzOHB4O1xuICAgICAgICBtaW4td2lkdGg6IDM4cHg7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDM4cHg7XG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZWU7XG5cbiAgICAgICAgLmNvbnRlbnQge1xuICAgICAgICAgIGZvbnQtc2l6ZTogMC45ZW07XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLnRodW1ibmFpbC1pbWFnZSB7XG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAgICAgaW1nIHtcbiAgICAgICAgICBoZWlnaHQ6IDM4cHg7XG4gICAgICAgICAgd2lkdGg6IDM4cHg7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogMzhweDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAudXNlci1ldmVudC1kYXRhIHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgICAgIC5mdWxsLW5hbWUge1xuICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICBtYXJnaW4tbGVmdDogMTJweDtcbiAgICAgICAgICBmb250LXNpemU6IDAuOWVtO1xuXG4gICAgICAgICAgLmxhc3QtbmFtZSB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogNHB4O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC52aXNpdG9yLWNvbXBhbnkge1xuICAgICAgICAgIC5uYW1lIHtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxMnB4O1xuICAgICAgICAgICAgZm9udC1zaXplOiAwLjllbTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLmNoZWNraW4tZG9uZS1hdCB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG5cbiAgICAgICAgLmxhYmVsIHtcbiAgICAgICAgICBmb250LXNpemU6IDAuOGVtO1xuICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC50YXJnZXQtY29tcGFueSB7XG4gICAgICAgIHdpZHRoOiA1MCU7XG5cbiAgICAgICAgLmxhYmVsIHtcbiAgICAgICAgICBmb250LXNpemU6IDAuOGVtO1xuICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC50YXJnZXQtZXZlbnQge1xuICAgICAgICB3aWR0aDogNTAlO1xuXG4gICAgICAgIC5sYWJlbCB7XG4gICAgICAgICAgZm9udC1zaXplOiAwLjhlbTtcbiAgICAgICAgICBjb2xvcjogIzY1Njc2ODtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuYWN0aW9ucyB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICB0ZXh0LXRyYW5zZm9ybTogbm9uZTtcblxuICAgICAgICAmLnR3by1vci1tb3JlIHtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgICAgIH1cblxuICAgICAgICAmLm9ubHktb25lIHtcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgICAgICAgICAtLWJveC1zaGFkb3c6IDA7XG4gICAgICAgICAgdGV4dC10cmFuc2Zvcm06IG5vbmU7XG4gICAgICAgIH1cblxuICAgICAgICAuYnV0dG9uLWhvbGRlciB7XG4gICAgICAgICAgbWFyZ2luLXRvcDogMDtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICAgICAgICBpb24tYnV0dG9uIHtcbiAgICAgICAgICAgIC0tYm94LXNoYWRvdzogMDtcbiAgICAgICAgICAgIHRleHQtdHJhbnNmb3JtOiBub25lO1xuICAgICAgICAgIH1cbiAgICAgICAgICBidXR0b24ge1xuICAgICAgICAgICAgJi5vayB7XG4gICAgICAgICAgICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgICAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzBlYzI1NDtcbiAgICAgICAgICAgICAgcGFkZGluZzogMC41ZW0gMS4yNWVtO1xuICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAzMnB4O1xuICAgICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjMGVjMjU0O1xuICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1vdXQ7XG4gICAgICAgICAgICAgIHRleHQtdHJhbnNmb3JtOiBub25lO1xuXG4gICAgICAgICAgICAgICY6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMGVjMjU0O1xuICAgICAgICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICAgICAgICAgIHRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC4xcyBlYXNlLW91dDtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAubG9naXN0aWMtZXZlbnQtbWVzc2FnZSB7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZWU7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgICAgICAgcGFkZGluZzogOHB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICB9XG4gICAgfVxuXG4gICAgLndhaXRpbmctZm9yLWludml0ZS1hcHByb3ZlIHtcbiAgICAgIC5zZWN0aW9uIHtcbiAgICAgICAgLmludml0ZS1yZXF1ZXN0ZWQtYXQge1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgICAgICAgLmxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMC44ZW07XG4gICAgICAgICAgICBjb2xvcjogIzY1Njc2ODtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAuZXZlbnQtY29tcGFueSB7XG4gICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgICAgICAgLmxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMC44ZW07XG4gICAgICAgICAgICBjb2xvcjogIzY1Njc2ODtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAud2FpdGluZy1mb3ItZXZlbnQtYXBwcm92ZSB7XG4gICAgICAuc2VjdGlvbiB7XG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG5cbiAgICAgICAgJi5jb2x1bW4ge1xuICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgIH1cblxuICAgICAgICAuaW52aXRlLXJlcXVlc3RlZC1hdCB7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG5cbiAgICAgICAgICAubGFiZWwge1xuICAgICAgICAgICAgZm9udC1zaXplOiAwLjhlbTtcbiAgICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC5ldmVudC1jb21wYW55IHtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgYWxpZ24taXRlbXM6IGZsZXgtc3RhcnQ7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG5cbiAgICAgICAgICAubGFiZWwge1xuICAgICAgICAgICAgZm9udC1zaXplOiAwLjhlbTtcbiAgICAgICAgICAgIGNvbG9yOiAjNjU2NzY4O1xuICAgICAgICAgIH1cblxuICAgICAgICAgIC52YWx1ZSB7XG4gICAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogNHB4O1xuICAgICAgICAgIH1cblxuICAgICAgICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTJweDtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmLnRvcCB7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ== */"]
|
|
});
|
|
|
|
/***/ }),
|
|
|
|
/***/ 26087:
|
|
/*!*******************************************************!*\
|
|
!*** ./src/app/shared/services/data.class.manager.ts ***!
|
|
\*******************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "DataManager": () => (/* binding */ DataManager)
|
|
/* harmony export */ });
|
|
class DataManager {
|
|
constructor() {
|
|
this.dataMap = new Map();
|
|
}
|
|
setData(key, value) {
|
|
this.dataMap.set(key, value);
|
|
}
|
|
getData(key) {
|
|
return this.dataMap.get(key);
|
|
}
|
|
resetData() {
|
|
this.dataMap.clear();
|
|
}
|
|
}
|
|
|
|
|
|
/***/ })
|
|
|
|
}])
|
|
//# sourceMappingURL=641.js.map
|