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

1005 lines
75 KiB
JavaScript

(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([[3149],{
/***/ 84420:
/*!**********************************************************************!*\
!*** ./src/app/pages/configuration/notification/debounce.service.ts ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "DebounceService": () => (/* binding */ DebounceService)
/* harmony export */ });
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 92218);
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 84505);
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 80823);
/* 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__);
class DebounceService {
constructor() {
this.debouceTime = 5000;
this.saveSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject();
this.saveCallback = null;
// Observable para o progress do countdown
this.countdownProgress$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(0);
this.isCountingDown$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(false);
this.lastSaveTime = 0;
this.MIN_SAVE_INTERVAL = 1000; // 1 segundo mínimo entre saves
this.saveSubject.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.debounceTime)(this.debouceTime)).subscribe(() => {
this.triggerSave();
});
}
notifyChange() {
console.log('🔵 DebounceService.notifyChange() chamado');
// Inicia o countdown visual
this.startCountdown();
this.saveSubject.next();
}
startCountdown() {
// console.log('🟡 Iniciando countdown...');
this.isCountingDown$.next(true);
this.countdownProgress$.next(0);
const interval = 100; // Atualiza a cada 100ms
const totalSteps = this.debouceTime / interval;
let currentStep = 0;
const countdownInterval = setInterval(() => {
currentStep++;
const progress = (currentStep / totalSteps) * 100;
this.countdownProgress$.next(progress);
// console.log(`🟢 Progress: ${progress.toFixed(1)}%`);
if (currentStep >= totalSteps) {
clearInterval(countdownInterval);
this.isCountingDown$.next(false);
this.countdownProgress$.next(0);
console.log('🔴 Countdown finalizado');
}
}, interval);
}
triggerSave() {
const now = Date.now();
// Evita saves muito frequentes (opcional)
if (now - this.lastSaveTime < this.MIN_SAVE_INTERVAL) {
console.log('🟡 Save ignorado - muito frequente');
return;
}
this.lastSaveTime = now;
if (this.saveCallback) {
console.log('🟢 Executando save callback');
this.saveCallback();
}
else {
console.warn('Save callback não foi configurado');
}
}
setSaveCallback(callback) {
this.saveCallback = callback;
}
}
DebounceService.ɵfac = function DebounceService_Factory(t) { return new (t || DebounceService)(); };
DebounceService.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: DebounceService, factory: DebounceService.ɵfac, providedIn: 'root' });
/***/ }),
/***/ 86665:
/*!*********************************************************************************!*\
!*** ./src/app/pages/configuration/notification/notification-routing.module.ts ***!
\*********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "NotificationPageRoutingModule": () => (/* binding */ NotificationPageRoutingModule)
/* 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 _notification_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./notification.page */ 2279);
/* 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__);
const routes = [
{
path: '',
component: _notification_page__WEBPACK_IMPORTED_MODULE_1__.NotificationPage
}
];
class NotificationPageRoutingModule {
}
NotificationPageRoutingModule.ɵfac = function NotificationPageRoutingModule_Factory(t) { return new (t || NotificationPageRoutingModule)(); };
NotificationPageRoutingModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: NotificationPageRoutingModule });
NotificationPageRoutingModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule.forChild(routes), _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](NotificationPageRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] }); })();
/***/ }),
/***/ 13149:
/*!*************************************************************************!*\
!*** ./src/app/pages/configuration/notification/notification.module.ts ***!
\*************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "NotificationPageModule": () => (/* binding */ NotificationPageModule)
/* harmony export */ });
/* harmony import */ var _notification_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./notification-routing.module */ 86665);
/* harmony import */ var _notification_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./notification.page */ 2279);
/* harmony import */ var src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/shared-module/shared-module.module */ 69270);
/* harmony import */ var _shared_components_components_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/components/components.module */ 15626);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_4__);
class NotificationPageModule {
}
NotificationPageModule.ɵfac = function NotificationPageModule_Factory(t) { return new (t || NotificationPageModule)(); };
NotificationPageModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: NotificationPageModule });
NotificationPageModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule, _shared_components_components_module__WEBPACK_IMPORTED_MODULE_3__.ComponentsModule, _notification_routing_module__WEBPACK_IMPORTED_MODULE_0__.NotificationPageRoutingModule] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](NotificationPageModule, { declarations: [_notification_page__WEBPACK_IMPORTED_MODULE_1__.NotificationPage], imports: [src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_2__.SharedModuleModule, _shared_components_components_module__WEBPACK_IMPORTED_MODULE_3__.ComponentsModule, _notification_routing_module__WEBPACK_IMPORTED_MODULE_0__.NotificationPageRoutingModule] }); })();
/***/ }),
/***/ 2279:
/*!***********************************************************************!*\
!*** ./src/app/pages/configuration/notification/notification.page.ts ***!
\***********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "NotificationPage": () => (/* binding */ NotificationPage)
/* 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 _shared_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @shared/interfaces */ 98424);
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @shared/services */ 17253);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! moment */ 56908);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! capacitor-notify-persistent */ 60850);
/* harmony import */ var _capacitor_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @capacitor/core */ 26549);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ionic/angular */ 93819);
/* harmony import */ var _debounce_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./debounce.service */ 84420);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 90944);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../shared/components/header/header.component */ 36290);
/* harmony import */ var _shared_components_customtimepicker_customtimepicker_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../shared/components/customtimepicker/customtimepicker.component */ 31044);
/* harmony import */ var _shared_components_accordion_accordion_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../shared/components/accordion/accordion.component */ 7415);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ 38699);
function NotificationPage_div_10_div_12_li_7_Template(rf, ctx) {
if (rf & 1) {
const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "li", 29);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NotificationPage_div_10_div_12_li_7_Template_li_click_0_listener() {
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r7);
const i_r5 = restoredCtx.index;
const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r6.toggleDayActivation(i_r5));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
}
if (rf & 2) {
const day_r4 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__day--active", day_r4.activated)("notification-config__day--deactive", !day_r4.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", day_r4.shortLabel[0], " ");
}
}
function NotificationPage_div_10_div_12_Template(rf, ctx) {
if (rf & 1) {
const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "div", 16)(2, "div", 17);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](4, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](5, "div", 18)(6, "ul", 19);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](7, NotificationPage_div_10_div_12_li_7_Template, 2, 5, "li", 20);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div", 21)(9, "div", 22)(10, "span", 23);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](11);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](12, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](13, "div", 24)(14, "app-custom-timepicker", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("timeSet", function NotificationPage_div_10_div_12_Template_app_custom_timepicker_timeSet_14_listener($event) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r9);
const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r8.openPickerHourDialog("startAt", $event));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](15, "div", 26);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](16, "ion-icon", 27);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](17, "div", 22)(18, "span", 23);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](19);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](20, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](21, "div", 24)(22, "app-custom-timepicker", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("timeSet", function NotificationPage_div_10_div_12_Template_app_custom_timepicker_timeSet_22_listener($event) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r9);
const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r10.openPickerHourDialog("endAt", $event));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](23, "div", 28);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NotificationPage_div_10_div_12_Template_div_click_23_listener() {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r9);
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r11.enableCustomizeByDay());
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](24);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](25, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
}
if (rf & 2) {
const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](4, 9, "CONFIGS.NOTIFICATION.SELECT_DAYS"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r1.weekDays);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](12, 11, "CONFIGS.NOTIFICATION.START"));
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("isNotificationScreen", true)("valueHour", ctx_r1.getActiveDaysStartTime());
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](20, 13, "CONFIGS.NOTIFICATION.END"));
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("isNotificationScreen", true)("valueHour", ctx_r1.getActiveDaysEndTime());
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](25, 15, "CONFIGS.NOTIFICATION.CUSTOMIZE_BY_DAY"), " ");
}
}
function NotificationPage_div_10_div_13_li_7_Template(rf, ctx) {
if (rf & 1) {
const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "li", 29);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NotificationPage_div_10_div_13_li_7_Template_li_click_0_listener() {
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r17);
const i_r15 = restoredCtx.index;
const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r16.toggleDayActivation(i_r15));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
}
if (rf & 2) {
const day_r14 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__day--active", day_r14.activated)("notification-config__day--deactive", !day_r14.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", day_r14.shortLabel[0], " ");
}
}
function NotificationPage_div_10_div_13_div_20_Template(rf, ctx) {
if (rf & 1) {
const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 38)(1, "div", 39)(2, "span", 40);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 41)(5, "app-custom-timepicker", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("timeSet", function NotificationPage_div_10_div_13_div_20_Template_app_custom_timepicker_timeSet_5_listener($event) {
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r21);
const i_r19 = restoredCtx.index;
const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r20.openPickerHourDialog("startAt", $event, i_r19));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](6, "div", 42);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](7, "ion-icon", 27);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div", 41)(9, "app-custom-timepicker", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("timeSet", function NotificationPage_div_10_div_13_div_20_Template_app_custom_timepicker_timeSet_9_listener($event) {
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r21);
const i_r19 = restoredCtx.index;
const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r22.openPickerHourDialog("endAt", $event, i_r19));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()();
}
if (rf & 2) {
const day_r18 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__day-row--disabled", !day_r18.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__day-label--disabled", !day_r18.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", day_r18.shortLabel, " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__hour-box--disabled", !day_r18.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("isNotificationScreen", true)("valueHour", day_r18.startAt);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassProp"]("notification-config__hour-box--disabled", !day_r18.activated);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("isNotificationScreen", true)("valueHour", day_r18.endAt);
}
}
function NotificationPage_div_10_div_13_Template(rf, ctx) {
if (rf & 1) {
const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "div", 16)(2, "div", 17);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](4, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](5, "div", 18)(6, "ul", 19);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](7, NotificationPage_div_10_div_13_li_7_Template, 2, 5, "li", 20);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div", 30)(9, "ion-row", 31);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](10, "ion-col", 32);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](11, "ion-col", 33)(12, "span", 34);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](13);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](14, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](15, "ion-col", 35);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](16, "ion-col", 33)(17, "span", 36);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](18);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](19, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](20, NotificationPage_div_10_div_13_div_20_Template, 10, 13, "div", 37);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](21, "div", 28);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function NotificationPage_div_10_div_13_Template_div_click_21_listener() {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r24);
const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r23.disableCustomizeByDay());
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](22);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](23, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
}
if (rf & 2) {
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](4, 6, "CONFIGS.NOTIFICATION.SELECT_DAYS"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r2.weekDays);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](6);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](14, 8, "CONFIGS.NOTIFICATION.START"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](19, 10, "CONFIGS.NOTIFICATION.END"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r2.weekDays);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](23, 12, "CONFIGS.NOTIFICATION.USE_SAME_TIME"), " ");
}
}
function NotificationPage_div_10_Template(rf, ctx) {
if (rf & 1) {
const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 6)(1, "div", 7)(2, "div", 8);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](3, "ion-icon", 9);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 10);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](5, "div", 11);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](6, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "div", 12);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](8);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](9, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](10, "div", 13)(11, "ion-toggle", 14);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ionChange", function NotificationPage_div_10_Template_ion_toggle_ionChange_11_listener($event) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r26);
const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r25.togglePersistent($event));
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](12, NotificationPage_div_10_div_12_Template, 26, 17, "div", 15);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](13, NotificationPage_div_10_div_13_Template, 24, 14, "div", 15);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
}
if (rf & 2) {
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("innerHTML", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](6, 5, "CONFIGS.NOTIFICATION.ALERT_CONTINUOUS"), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsanitizeHtml"]);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](9, 7, "CONFIGS.NOTIFICATION.ALERT_CONTINUOUS_DESCRIPTION"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("checked", ctx_r0.activatedNotificationPersistent);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r0.isCustomizeByDay);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx_r0.isCustomizeByDay);
}
}
class NotificationPage {
constructor(configsNotifications, apiService, authService, ngZoneService, actionSheetController, translateConfigService, debounceService, loadingService, notificatorService, logtronService) {
this.configsNotifications = configsNotifications;
this.apiService = apiService;
this.authService = authService;
this.ngZoneService = ngZoneService;
this.actionSheetController = actionSheetController;
this.translateConfigService = translateConfigService;
this.debounceService = debounceService;
this.loadingService = loadingService;
this.notificatorService = notificatorService;
this.logtronService = logtronService;
this.weekDays = [];
this.notificationConfig = null;
this.activatedNotificationChecked = true;
this.activatedNotificationPersistent = true;
this.autoActivetDays = null;
this.isCustomizeByDay = false;
this.isOpenAccordion = true;
this.refId = null;
this.dayLabels = ['Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado', 'Domingo'];
this.subscriptions = [];
}
ngOnInit() {
this.initNoticationLoad();
}
initNoticationLoad() {
const verfyPermission = this.verfyPermissionListenerNotification();
if (!verfyPermission) {
this.requestPermissionActionNotificationListener();
}
this.loadConfigNotifications();
this.authService.getRefId().then(res => {
this.refId = res;
});
this.setupDebounce();
}
ngOnDestroy() {
this.subscriptions.forEach(s => s.unsubscribe());
}
togglePersistent(event) {
this.ngZoneService.run(() => {
const checked = event?.target?.checked;
this.activatedNotificationPersistent = checked;
this.notificationConfig.persistent = checked;
});
this.debounceService.notifyChange();
}
toggleNotification(value) {
var _this = 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 checked = !value['target']['checked'];
console.log('toggleNotification - page', checked);
if (!checked) {
yield _this.presentationReactiveOptions();
} else {
_this.loadingService.show(_this.translateConfigService.translate('CONFIGS.NOTIFICATION.TOGGLE_WAIT'), 'toggleNotification');
_this.notificationConfig.activated = true;
_this.debounceService.notifyChange();
_this.loadingService.hide(0, 'toggleNotification');
}
})();
}
setupDebounce() {
this.debounceService.setSaveCallback(() => {
this.saveConfiguration();
});
} // Função para pegar o horário de início dos dias ativos
getActiveDaysStartTime() {
const activeDays = this.weekDays.filter(d => d.activated);
if (activeDays.length > 0) {
try {
// Remove segundos se existirem
const time = activeDays[0].startAt?.split(':').slice(0, 2).join(':');
return time || '08:00';
} catch (error) {
return '08:00';
}
}
return '08:00';
} // Função para pegar o horário de fim dos dias ativos
getActiveDaysEndTime() {
const activeDays = this.weekDays.filter(d => d.activated);
if (activeDays.length > 0) {
try {
// Remove segundos se existirem
const time = activeDays[0].endAt?.split(':').slice(0, 2).join(':');
return time || '18:00';
} catch (error) {
return '18:00';
}
}
return '18:00';
}
enableCustomizeByDay() {
this.isCustomizeByDay = true;
}
disableCustomizeByDay() {
this.isCustomizeByDay = false;
}
isEnablePlugin() {
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* () {
try {
const {
value: isEnabled
} = yield capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__.NotifyPersistent.isEnabled();
if (isEnabled) {
_this2.disablePlugin();
return;
}
_this2.enabledPlugin();
} catch (error) {
_this2.logtronService.logError('notification.isEnablePlugin', 'Error enabling plugin', error);
console.log('Error plugin', error);
}
})();
}
presentationReactiveOptions() {
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 header = _this3.translateConfigService.translate('CONFIGS.NOTIFICATION.REACTIVATE_TITLE');
const textCancel = _this3.translateConfigService.translate('CONFIGS.NOTIFICATION.REACTIVATE_CANCEL'); // Pegue as opções já traduzidas do service
const options = _this3.configsNotifications.autoActivateOptions(); // Monte os botões para o ActionSheet
const buttons = options.map(option => ({
role: '',
text: option.label,
cssClass: 'select-day',
handler: () => {
_this3.autoActivetDays = {
autoReactivateDate: option.autoReactivateDate
};
_this3.notificationConfig.autoActivateDate = option.autoReactivateDate.toString();
_this3.notificationConfig.activated = false;
_this3.disablePlugin();
_this3.debounceService.notifyChange();
}
})); // Adicione o botão de cancelar no final
buttons.push({
text: textCancel,
role: 'cancel',
cssClass: 'cancel',
handler: 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* () {
_this3.notificationConfig.autoActivateDate = null;
_this3.notificationConfig.activated = false;
_this3.debounceService.notifyChange();
});
return function handler() {
return _ref.apply(this, arguments);
};
}()
});
const actionSheet = yield _this3.actionSheetController.create({
header,
mode: 'ios',
buttons,
cssClass: 'custom-sheet-notication-days-reactive'
});
yield actionSheet.present();
const {
role,
data
} = yield actionSheet.onWillDismiss();
if (role && role === 'backdrop') {
_this3.ngZoneService.run(() => {
_this3.activatedNotificationChecked = true;
_this3.isOpenAccordion = true;
});
} else if (role === 'cancel') {
console.log('actionSheet', role);
_this3.ngZoneService.run(() => {
_this3.notificationConfig.activated = false;
_this3.notificationConfig.autoActivateDate = null;
_this3.autoActivetDays = {
autoReactivateDate: null
};
});
_this3.debounceService.notifyChange();
}
})();
}
loadConfigNotifications() {
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* () {
_this4.loadingService.show('Carregando', 'loadConfigNotifications');
try {
const notificationConfig = yield _this4.apiService.getNotificationsConfiguration().toPromise();
setTimeout(() => {
_this4.ngZoneService.run(() => {
_this4.isOpenAccordion = notificationConfig.activated;
_this4.activatedNotificationChecked = notificationConfig.activated;
_this4.activatedNotificationPersistent = notificationConfig.persistent;
if (_this4.activatedNotificationPersistent) {
_this4.enabledPlugin();
}
if (notificationConfig.autoActivateDate) {
_this4.autoActivetDays = {
autoReactivateDate: moment__WEBPACK_IMPORTED_MODULE_3___default()(notificationConfig.autoActivateDate)
};
} else {
_this4.autoActivetDays = null;
}
});
}, 1);
_this4.weekDays = _this4.dayLabels.map((label, idx) => {
const p = notificationConfig.periodsConfig.find(pc => pc.dayOfWeek === idx + 1);
return {
label: _this4.configsNotifications.getLocalizedWeekdays()[idx].label,
shortLabel: _this4.configsNotifications.getLocalizedWeekdays()[idx].shortLabel,
activated: p?.activated ?? false,
startAt: p?.startAt.substring(0, 5) ?? '00:00',
endAt: p?.endAt.substring(0, 5) ?? '23:59',
dayOfWeek: p.dayOfWeek
};
});
_this4.notificationConfig = notificationConfig;
_this4.loadingService.hide(0, 'loadConfigNotifications');
} catch (error) {
_this4.logtronService.logError('notification.loadConfigNotifications', 'Error loading notification configuration', error);
_this4.isOpenAccordion = false;
console.error('Erro ao carregar configuração', error);
const notification = {
title: _this4.translateConfigService.translate('CONFIGS.NOTIFICATION.ERROR_TITLE_GET_CONFIG'),
message: _this4.translateConfigService.translate('CONFIGS.NOTIFICATION.ERROR_MESSAGE_GET_CONFIG') + ' ' + error?.status,
type: 'error'
};
_this4.notificatorService.notify(notification);
_this4.loadingService.hide(0, 'loadConfigNotifications');
}
})();
}
openPickerHourDialog(field, time, dayIndex) {
console.log('🟣 openPickerHourDialog chamado:', field, time, dayIndex); // Se dayIndex não foi passado, é a tela padrão (aplicar a todos os dias ativos)
if (dayIndex === undefined) {
this.updateAllActiveDays(field, time);
} else {
// Se dayIndex foi passado, é a tela de personalização (aplicar apenas ao dia específico)
this.updatePeriodConfig(field, time, dayIndex);
} // Notifica o debounce service
this.debounceService.notifyChange();
} // Nova função para atualizar todos os dias ativos
updateAllActiveDays(field, time) {
const updatedTime = this.setSecondsTo59(time); // Corrigir: usar forEach corretamente
this.weekDays.forEach((day, index) => {
if (day.activated) {
if (field === 'startAt') {
this.weekDays[index].startAt = updatedTime;
} else if (field === 'endAt') {
this.weekDays[index].endAt = updatedTime;
}
}
});
console.log(`Horário ${field} aplicado a todos os dias ativos:`, updatedTime);
const activeDays = this.weekDays.filter(d => d.activated).map(d => d.shortLabel);
} // Função para atualizar o periodsConfig
updatePeriodConfig(field, time, dayIndex) {
// Valida se o índice está dentro do range
if (dayIndex < 0 || dayIndex >= this.weekDays.length) {
console.error('Índice do dia inválido:', dayIndex + 1);
return;
} // Ajusta os segundos para 59
const updatedTime = this.setSecondsTo59(time); // Atualiza o weekDays com o novo horário
if (field === 'startAt') {
this.weekDays[dayIndex].startAt = updatedTime;
console.log('this.weekDays[dayIndex].startAt', this.weekDays[dayIndex].startAt);
} else if (field === 'endAt') {
console.log('this.weekDays[dayIndex].endAt', this.weekDays[dayIndex].endAt);
this.weekDays[dayIndex].endAt = updatedTime;
}
/* console.log('wekkesDays updatePeriodConfig', this.weekDays);
console.log(`Horário ${field} atualizado para o dia ${dayIndex + 1}:, updatedTime`);*/
}
saveConfiguration() {
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* () {
try {
const {
activated,
persistent,
periodsConfig
} = _this5.notificationConfig;
if (!!activated && periodsConfig.length < -1) {
return;
}
const body = {
activated,
persistent,
defaultValue: false,
autoActivateDate: activated ? null : _this5.autoActivetDays?.autoReactivateDate ?? null,
periodsConfig: _this5.weekDays.map((d, idx) => ({
dayOfWeek: d.dayOfWeek || idx + 1,
activated: d.activated,
startAt: _this5.setSecondsTo59(d.startAt),
endAt: _this5.setSecondsTo59(d.endAt)
}))
};
console.log('Salvando configuração com horários individuais:', body); // this.loadingService.show('Aguarde...', 'saveConfiguration');
const response = yield _this5.apiService.updateNotificationsConfiguration(body).toPromise();
setTimeout(() => {
_this5.ngZoneService.run(() => {
_this5.isOpenAccordion = response.activated;
_this5.activatedNotificationChecked = response.activated;
_this5.activatedNotificationPersistent = response.persistent;
if (response.autoActivateDate) {
_this5.autoActivetDays = {
autoReactivateDate: moment__WEBPACK_IMPORTED_MODULE_3___default()(response.autoActivateDate)
};
} else {
_this5.autoActivetDays = null;
}
});
}, 1);
const notification = {
title: _this5.translateConfigService.translate('CONFIGS.NOTIFICATION.SUCCESS_TITLE_SAVE_CONFIG'),
message: _this5.translateConfigService.translate('CONFIGS.NOTIFICATION.SUCCESS_MESSAGE_SAVE_CONFIG'),
type: 'success'
};
_this5.notificatorService.notify(notification);
_this5.loadingService.hide(0, 'saveConfiguration');
} catch (error) {
console.error('Erro ao salvar configuração', error);
_this5.logtronService.logError('notification.saveConfiguration', 'Error saving notification configuration', error);
const notification = {
title: _this5.translateConfigService.translate('CONFIGS.NOTIFICATION.ERROR_TITLE_SAVE_CONFIG'),
message: _this5.translateConfigService.translate('CONFIGS.NOTIFICATION.ERROR_MESSAGE_SAVE_CONFIG'),
type: 'error'
};
_this5.notificatorService.notify(notification);
}
_this5.loadingService.hide(0, 'saveConfiguration');
})();
}
toggleDayActivation(dayIndex) {
console.log('🟣 toggleDayActivation chamado para dia:', dayIndex); // Inverte o estado do dia
this.weekDays[dayIndex].activated = !this.weekDays[dayIndex].activated; // Notifica o debounce para salvar automaticamente
this.debounceService.notifyChange();
console.log(`Dia ${dayIndex} ${this.weekDays[dayIndex].activated ? 'ativado' : 'desativado'}`);
}
enabledPlugin() {
var _this6 = 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 capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__.NotifyPersistent.enablePlugin();
_this6.ngZoneService.run(() => {});
} catch (error) {
console.log('error', error);
} finally {
if (_capacitor_core__WEBPACK_IMPORTED_MODULE_5__.Capacitor.getPlatform() === 'android') {
_this6.requestPermissionActionNotificationListener();
}
}
})();
}
disablePlugin() {
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 {
yield capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__.NotifyPersistent.disablePlugin();
_this7.ngZoneService.run(() => {});
} catch (error) {
console.log('error', error);
} finally {
if (_capacitor_core__WEBPACK_IMPORTED_MODULE_5__.Capacitor.getPlatform() === 'android') {
_this7.requestPermissionActionNotificationListener();
}
}
})();
} // Função para ajustar segundos para 59
setSecondsTo59(time) {
if (!time) return '00:00:59';
const m = moment__WEBPACK_IMPORTED_MODULE_3___default()(time, ['HH:mm', 'HH:mm:ss'], true);
if (!m.isValid()) {
const match = time.match(/^(\d{1,2}):(\d{2})$/);
if (match) {
return `${match[1].padStart(2, '0')}:${match[2]}:59`;
}
return '00:00:59';
}
m.seconds(59);
return m.format('HH:mm:ss');
}
verfyPermissionListenerNotification() {
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* () {
try {
const {
receive: checkPermissionListener
} = yield capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__.NotifyPersistent.checkPermissionActionNotificationListener();
if (checkPermissionListener === 'granted') {
return true; // Tem permissão para manipular notificação
}
} catch (error) {
console.log('error', error);
_this8.logtronService.logError('notification.verfyPermissionListenerNotification', 'Error verifying permission listener notification', error);
return false;
}
})();
}
requestPermissionActionNotificationListener() {
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 {
receive: requestPermission
} = yield capacitor_notify_persistent__WEBPACK_IMPORTED_MODULE_4__.NotifyPersistent.requestPermissionActionNotificationListener();
if (requestPermission === 'granted') {
return true;
} else {
return false;
}
})();
}
}
NotificationPage.ɵfac = function NotificationPage_Factory(t) {
return new (t || NotificationPage)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.ConfigsNotification), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.AuthService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.NgZoneService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_12__.ActionSheetController), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.TranslateConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_debounce_service__WEBPACK_IMPORTED_MODULE_7__.DebounceService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_2__.LogService));
};
NotificationPage.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({
type: NotificationPage,
selectors: [["app-notification"]],
decls: 11,
vars: 11,
consts: [[3, "title", "refresh"], [1, "notification-config"], [1, "notification-config__title"], [1, "notification-config__title-text"], [3, "autoActivetDays", "isOpenAccordion", "checked", "toggle", "presentationReactiveOptions"], ["customContent", "", 4, "ngIf"], ["customContent", ""], [1, "notification-config__card", "notification-config__card--persistent"], [1, "notification-config__icon"], ["slot", "start", "name", "alert-circle"], [1, "notification-config__content"], [1, "notification-config__card-title", 3, "innerHTML"], [1, "notification-config__card-description"], [1, "notification-config__toggle"], [3, "checked", "ionChange"], [4, "ngIf"], [1, "notification-config__card", "notification-config__card--select-days"], [1, "notification-config__tile"], [1, "notification-config__list-days"], [1, "notification-config__days-list"], ["class", "notification-config__day", 3, "notification-config__day--active", "notification-config__day--deactive", "click", 4, "ngFor", "ngForOf"], [1, "notification-config__hours"], [1, "notification-config__hour-group"], [1, "notification-config__hour-label"], [1, "notification-config__hour-box"], [3, "isNotificationScreen", "valueHour", "timeSet"], [1, "notification-config__hour-arrow"], ["name", "chevron-forward-outline"], [1, "notification-config__customize", 3, "click"], [1, "notification-config__day", 3, "click"], [1, "notification-config__days-table"], [2, "width", "100%"], ["size", "4"], ["size", "3"], [1, "notification-config__days-header-label-start"], ["size", "2"], [1, "notification-config__days-header-label-end"], ["class", "notification-config__day-row", 3, "notification-config__day-row--disabled", 4, "ngFor", "ngForOf"], [1, "notification-config__day-row"], [1, "line---notification-config__day-row", 2, "display", "flex", "align-items", "center", "gap", "0.3rem", "width", "100%", "margin", "0 1em"], [1, "notification-config__day-label"], [1, "notification-config__hour-box", "expanded"], [1, "notification-config__hour-arrow", "expanded"]],
template: function NotificationPage_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "app-header", 0);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](2, "ion-content")(3, "div", 1)(4, "div", 2)(5, "ion-text")(6, "p", 3);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](7);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](8, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](9, "app-accordion", 4);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("toggle", function NotificationPage_Template_app_accordion_toggle_9_listener($event) {
return ctx.toggleNotification($event);
})("presentationReactiveOptions", function NotificationPage_Template_app_accordion_presentationReactiveOptions_9_listener() {
return ctx.presentationReactiveOptions();
});
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](10, NotificationPage_div_10_Template, 14, 9, "div", 5);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](1, 7, "CONFIGS.NOTIFICATION.TITLE"))("refresh", false);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](7);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](8, 9, "CONFIGS.NOTIFICATION.TITLE"), " ");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("autoActivetDays", ctx.autoActivetDays)("isOpenAccordion", ctx.isOpenAccordion)("checked", ctx.activatedNotificationChecked);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", (ctx.notificationConfig == null ? null : ctx.notificationConfig.periodsConfig == null ? null : ctx.notificationConfig.periodsConfig.length) > 0);
}
},
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonIcon, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonRow, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonText, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.IonToggle, _ionic_angular__WEBPACK_IMPORTED_MODULE_12__.BooleanValueAccessor, _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_9__.HeaderComponent, _shared_components_customtimepicker_customtimepicker_component__WEBPACK_IMPORTED_MODULE_10__.CustomTimepickerComponent, _shared_components_accordion_accordion_component__WEBPACK_IMPORTED_MODULE_11__.AccordionComponent, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__.TranslatePipe],
styles: ["ion-content[_ngcontent-%COMP%] {\n --background: #f9f9f9;\n}\n\n.w-100[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.notification-config[_ngcontent-%COMP%] {\n padding: 1rem;\n}\n\n.notification-config__title[_ngcontent-%COMP%] {\n font-size: 1.4rem;\n font-weight: 600;\n margin-bottom: 1rem;\n color: var(--ion-color-dark);\n}\n\n.notification-config__title[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n\n.notification-config__title-text[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 1.2rem;\n font-weight: 500;\n}\n\n.notification-config__card[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n border-radius: 8px;\n justify-content: space-between;\n padding: 0 8px;\n}\n\n.notification-config__card--persistent[_ngcontent-%COMP%] {\n background: #f7f7f7;\n}\n\n.notification-config__card--select-days[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: flex-start;\n margin-top: 1em;\n}\n\n.notification-config__tile[_ngcontent-%COMP%] {\n margin-right: 1rem;\n font-weight: bold;\n color: #1e1e1e;\n}\n\n.notification-config__list-days[_ngcontent-%COMP%] {\n margin: 1em 0;\n width: 100%;\n}\n\n.notification-config__days-list[_ngcontent-%COMP%] {\n display: flex;\n padding: 0;\n margin: 0;\n list-style: none;\n width: 100%;\n justify-content: space-between;\n}\n\n.notification-config__day[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n background: transparent;\n font-weight: bold;\n border: solid 1px;\n font-size: 1rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.notification-config__day--active[_ngcontent-%COMP%] {\n border-color: #6cc13b;\n color: #6cc13b;\n}\n\n.notification-config__day--deactive[_ngcontent-%COMP%] {\n color: #999999;\n border-color: #999999;\n background: transparent;\n}\n\n.notification-config__icon[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n\n.notification-config__icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n font-size: 28px;\n color: #d9d9d9;\n}\n\n.notification-config__content[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0.5em 0.3em;\n}\n\n.notification-config__card-title[_ngcontent-%COMP%] {\n font-size: 1rem;\n font-weight: 600;\n margin-bottom: 0.25rem;\n color: var(--ion-color-dark);\n}\n\n.notification-config__card-description[_ngcontent-%COMP%] {\n font-size: 0.63rem;\n color: var(--ion-color-dark);\n}\n\n.notification-config__toggle[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.notification-config__toggle[_ngcontent-%COMP%] ion-toggle[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n --handle-height: 1.4em;\n --handle-width: 1.4em;\n width: 2.7em;\n --handle-max-height: auto;\n contain: none;\n overflow: visible;\n}\n\n.notification-config__toggle[_ngcontent-%COMP%] ion-toggle[_ngcontent-%COMP%]::part(track), .notification-config__toggle[_ngcontent-%COMP%] ion-toggle.toggle-checked[_ngcontent-%COMP%]::part(track) {\n height: 14px;\n}\n\n.notification-config__toggle[_ngcontent-%COMP%] ion-toggle.toggle-checked[_ngcontent-%COMP%]::part(handle) {\n background: var(--ion-color-primary) !important;\n}\n\n.notification-config__toggle[_ngcontent-%COMP%] ion-toggle.toggle-checked[_ngcontent-%COMP%]::part(track) {\n background-color: #c7e3af;\n}\n\n.notification-config__hours[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n margin: 1rem 1em 2em 1em;\n}\n\n.notification-config__hour-group[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex: 1;\n}\n\n.notification-config__hour-label[_ngcontent-%COMP%] {\n font-size: 1em;\n color: #1e1e1e;\n font-weight: 600;\n margin-bottom: 0.3rem;\n display: flex;\n justify-content: flex-start;\n width: 100%;\n padding: 0 0.8em;\n}\n\n.notification-config__hour-box[_ngcontent-%COMP%] {\n background: #f7f7f7;\n border-radius: 4px;\n font-size: 2.2em;\n color: #6cc13b;\n font-weight: 400;\n letter-spacing: 0px;\n min-width: 114px;\n min-height: 55px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.notification-config__hour-box--disabled[_ngcontent-%COMP%] {\n background: #f3f3f3;\n color: #bdbdbd;\n}\n\n.notification-config__hour-arrow[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #d3d3d3;\n font-size: 2.5rem;\n height: 100%;\n position: relative;\n top: 0.34em;\n}\n\n.notification-config__hour-arrow[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n font-size: 2.3rem;\n color: #d3d3d3;\n}\n\n.notification-config__days-table[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 0.8rem;\n align-items: center;\n margin: 0 auto;\n padding: 0 0.3em;\n}\n\n.notification-config__days-header[_ngcontent-%COMP%] {\n display: flex;\n gap: 1em;\n margin: 10px 0 -10px;\n width: 95%;\n justify-content: center;\n padding: 0 0.5em;\n align-items: center;\n}\n\n.notification-config__days-header-center[_ngcontent-%COMP%] {\n width: 100%;\n height: 30px;\n}\n\n.notification-config__days-header-label-end[_ngcontent-%COMP%], .notification-config__days-header-label-start[_ngcontent-%COMP%] {\n font-weight: 600;\n font-size: 1em;\n color: #1e1e1e;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n}\n\n.notification-config__day-row--disabled[_ngcontent-%COMP%] {\n opacity: 0.3;\n pointer-events: none;\n}\n\n.notification-config__day-label[_ngcontent-%COMP%] {\n flex: 1;\n font-size: 1.34rem;\n font-weight: 600;\n color: #6cc13b;\n text-align: right;\n display: flex;\n}\n\n.notification-config__day-label--disabled[_ngcontent-%COMP%] {\n color: #bdbdbd;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-box[_ngcontent-%COMP%] {\n background: #f7f7f7;\n border-radius: 4px;\n font-size: 2.2em;\n color: #6cc13b;\n font-weight: 400;\n letter-spacing: 0px;\n min-width: 100px;\n min-height: 45px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-box--disabled[_ngcontent-%COMP%] {\n background: #f3f3f3;\n color: #bdbdbd;\n}\n\n.notification-config__hour-box.expanded[_ngcontent-%COMP%] {\n min-width: 98px !important;\n min-height: 45px !important;\n font-size: 24px !important;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-arrow[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #d3d3d3;\n font-size: 2.5rem;\n height: 100%;\n position: relative;\n top: 0.34em;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-arrow[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n font-size: 2.3rem;\n color: #d3d3d3;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-arrow.expanded[_ngcontent-%COMP%] {\n top: 0;\n}\n\n.notification-config__day-row[_ngcontent-%COMP%] .notification-config__hour-arrow.expanded[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%] {\n font-size: 1.7rem !important;\n top: 0 !important;\n}\n\n.notification-config__customize[_ngcontent-%COMP%] {\n margin: 1em auto;\n display: flex;\n justify-content: center;\n align-items: center;\n color: #6cc13b;\n border: 2px solid #6cb52d;\n border-radius: 4px;\n font-size: 0.8em;\n font-weight: 800;\n padding: 0.3rem 0.6rem;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n cursor: pointer;\n transition: background 0.2s;\n}\n\n.notification-config__customize[_ngcontent-%COMP%]:hover {\n background: #eafbe2;\n}\n\n@keyframes slideDown {\n from {\n transform: translateY(-100%);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vdGlmaWNhdGlvbi5wYWdlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxxQkFBQTtBQUNGOztBQUVBO0VBQ0UsV0FBQTtBQUNGOztBQUVBO0VBQ0UsYUFBQTtBQUNGOztBQUNFO0VBQ0UsaUJBQUE7RUFDQSxnQkFBQTtFQUNBLG1CQUFBO0VBQ0EsNEJBQUE7QUFDSjs7QUFFTTtFQUNFLGlCQUFBO0FBQVI7O0FBS0U7RUFDRSxTQUFBO0VBQ0EsaUJBQUE7RUFDQSxnQkFBQTtBQUhKOztBQU1FO0VBQ0UsYUFBQTtFQUNBLG1CQUFBO0VBQ0Esa0JBQUE7RUFDQSw4QkFBQTtFQUNBLGNBQUE7QUFKSjs7QUFPRTtFQUNFLG1CQUFBO0FBTEo7O0FBUUU7RUFDRSxzQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtBQU5KOztBQVNFO0VBQ0Usa0JBQUE7RUFDQSxpQkFBQTtFQUNBLGNBQUE7QUFQSjs7QUFVRTtFQUNFLGFBQUE7RUFDQSxXQUFBO0FBUko7O0FBV0U7RUFDRSxhQUFBO0VBQ0EsVUFBQTtFQUNBLFNBQUE7RUFDQSxnQkFBQTtFQUNBLFdBQUE7RUFDQSw4QkFBQTtBQVRKOztBQVlFO0VBQ0UsYUFBQTtFQUNBLG1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uZDogdHJhbnNwYXJlbnQ7XG4gICAgfVxuICB9XG5cbiAgJl9faWNvbiB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGZsZXgtc2hyaW5rOiAwO1xuXG4gICAgaW9uLWljb24ge1xuICAgICAgZm9udC1zaXplOiAyOHB4O1xuICAgICAgY29sb3I6ICNkOWQ5ZDk7XG4gICAgfVxuICB9XG5cbiAgJl9fY29udGVudCB7XG4gICAgZmxleDogMTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgcGFkZGluZzogMC41ZW0gMC4zZW07XG4gIH1cblxuICAmX19jYXJkLXRpdGxlIHtcbiAgICBmb250LXNpemU6IDFyZW07XG4gICAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjI1cmVtO1xuICAgIGNvbG9yOiB2YXIoLS1pb24tY29sb3ItZGFyayk7XG4gIH1cblxuICAmX19jYXJkLWRlc2NyaXB0aW9uIHtcbiAgICBmb250LXNpemU6IDAuNjNyZW07XG4gICAgY29sb3I6IHZhcigtLWlvbi1jb2xvci1kYXJrKTtcbiAgfVxuXG4gICZfX3RvZ2dsZSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXG4gICAgaW9uLXRvZ2dsZSB7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIC0taGFuZGxlLWhlaWdodDogMS40ZW07XG4gICAgICAtLWhhbmRsZS13aWR0aDogMS40ZW07XG4gICAgICB3aWR0aDogMi43ZW07XG4gICAgICAtLWhhbmRs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