@intellias/menu 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/main.js +2 -2
- package/package.json +1 -1
package/dist/js/main.js
CHANGED
|
@@ -542,7 +542,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|
|
542
542
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
543
543
|
|
|
544
544
|
"use strict";
|
|
545
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _buttons_action_button_ActionButton_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../buttons/action-button/ActionButton.vue */ \"./components/buttons/action-button/ActionButton.vue\");\n/* harmony import */ var _mixins_notifications_ActionProcessing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../mixins/notifications/ActionProcessing */ \"./mixins/notifications/ActionProcessing.ts\");\n/* harmony import */ var _time_ago_TimeAgo_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../time-ago/TimeAgo.vue */ \"./components/time-ago/TimeAgo.vue\");\n/* harmony import */ var _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/user/NotificationModel */ \"./models/user/NotificationModel.ts\");\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n components: { TimeAgo: _time_ago_TimeAgo_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ActionButton: _buttons_action_button_ActionButton_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"] },\n props: {\n notification: _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n mixins: [_mixins_notifications_ActionProcessing__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n methods: Object.assign(Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications', ['read'])), Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications/SidebarModule', ['dismiss']))\n});\n\n\n//# sourceURL=webpack://MainMenu/./components/notifications-sidebar/notification/Notification.ts?");
|
|
545
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _buttons_action_button_ActionButton_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../buttons/action-button/ActionButton.vue */ \"./components/buttons/action-button/ActionButton.vue\");\n/* harmony import */ var _mixins_notifications_ActionProcessing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../mixins/notifications/ActionProcessing */ \"./mixins/notifications/ActionProcessing.ts\");\n/* harmony import */ var _time_ago_TimeAgo_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../time-ago/TimeAgo.vue */ \"./components/time-ago/TimeAgo.vue\");\n/* harmony import */ var _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/user/NotificationModel */ \"./models/user/NotificationModel.ts\");\n/* harmony import */ var _models_MenuLayouts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/models/MenuLayouts */ \"./models/MenuLayouts.ts\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n components: { TimeAgo: _time_ago_TimeAgo_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ActionButton: _buttons_action_button_ActionButton_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"] },\n inject: ['layout'],\n props: {\n notification: _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n mixins: [_mixins_notifications_ActionProcessing__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n computed: {\n isLiteDomain() {\n return this.layout === _models_MenuLayouts__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Lite;\n }\n },\n methods: Object.assign(Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications', ['read'])), Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications/SidebarModule', ['dismiss']))\n});\n\n\n//# sourceURL=webpack://MainMenu/./components/notifications-sidebar/notification/Notification.ts?");
|
|
546
546
|
|
|
547
547
|
/***/ }),
|
|
548
548
|
|
|
@@ -1226,7 +1226,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|
|
1226
1226
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1227
1227
|
|
|
1228
1228
|
"use strict";
|
|
1229
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _repositories_BaseRepository__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../repositories/BaseRepository */ \"./repositories/BaseRepository.ts\");\n/* harmony import */ var _helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/response/ResponseState */ \"./helpers/response/ResponseState.ts\");\n/* harmony import */ var _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers/response/ResponseHelper */ \"./helpers/response/ResponseHelper.ts\");\n/* harmony import */ var _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../models/user/NotificationActionModel */ \"./models/user/NotificationActionModel.ts\");\n/* harmony import */ var _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../models/user/NotificationModel */ \"./models/user/NotificationModel.ts\");\n/* harmony import */ var _repositories_UserRepository__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../repositories/UserRepository */ \"./repositories/UserRepository.ts\");\n/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../main */ \"./main.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n\nconst titlesMap = new Map([\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].reject, 'Reject'],\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].confirm, 'Confirm'],\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].view, 'View']\n]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mounted() {\n this.baseRepository.getResponseHelper().subscribe(_helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__[\"ResponseState\"].Resolved, this.handleSuccess, _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__[\"DefaultContext\"]);\n this.baseRepository.getResponseHelper().subscribe(_helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__[\"ResponseState\"].Rejected, this.handleError, _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__[\"DefaultContext\"]);\n },\n computed: Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])('Config', ['config'])),\n methods: Object.assign(Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications', ['read', 'markAsRead', 'process', 'markAsProcessed'])), { submitAction(action) {\n if (action.type === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].reject && _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"confirmRejections\"].includes(this.notification.category)) {\n this.actionProcessing = true;\n const rejectionComponent = this.rejectionComponent();\n this.$emit('rejection-component', {\n rejectionComponent,\n notification: this.notification\n });\n return;\n }\n this.request(action);\n },\n request(action) {\n return __awaiter(this, void 0, void 0, function* () {\n this.actionProcessing = true;\n this.markAsRead(this.notification);\n yield this.baseRepository.request(action.action, action.method ? action.method : _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"RequestMethod\"].put, action.body);\n });\n },\n // eslint-disable-next-line complexity\n proceedToView(view) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.notification.isNew) {\n yield this.read(this.notification);\n }\n const action = view.action ? view.action : view.url;\n if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].remote) {\n window.open(action, '_blank');\n }\n else if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].career) {\n window.location.href = `${this.config.careerSiteUrl}${action}`;\n }\n else if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].old) {\n window.location.href = `${this.config.oldSiteUrl}${action}`;\n }\n else if (this.$router.currentRoute.path !== action) {\n yield this.$router.push(action.replace('api/', ''));\n }\n });\n },\n handleSuccess() {\n return __awaiter(this, void 0, void 0, function* () {\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.addMessage('The request has been processed.');\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.showAll();\n this.markAsProcessed(this.notification);\n this.actionProcessing = false;\n });\n },\n handleError() {\n return __awaiter(this, void 0, void 0, function* () {\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.addWarning('Action failed. The request had been already processed.');\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.showAll();\n yield this.process(this.notification);\n if (typeof this.errorAction === 'function') {\n this.errorAction();\n }\n this.actionProcessing = false;\n });\n }, rejectionComponent() {\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].vacations) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/VacationRejectionConfirm.vue */ \"./mixins/notifications/confirms/VacationRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].unpaid_leave) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/UnpaidLeaveRejectionConfirm.vue */ \"./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].profile_update) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/AssetRejectionConfirm.vue */ \"./mixins/notifications/confirms/AssetRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].sick_leaves) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/SickLeaveRejectionConfirm.vue */ \"./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue\"));\n }\n return null;\n }, isExpired(action) {\n return action.expired_at && action.expired_at.isBefore(moment__WEBPACK_IMPORTED_MODULE_1___default()());\n },\n title(action) {\n return action.title ? action.title : titlesMap.get(action.type);\n } }),\n data() {\n return {\n actionProcessing: false,\n userRepository: new _repositories_UserRepository__WEBPACK_IMPORTED_MODULE_7__[\"default\"](),\n baseRepository: new _repositories_BaseRepository__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n };\n }\n});\n\n\n//# sourceURL=webpack://MainMenu/./mixins/notifications/ActionProcessing.ts?");
|
|
1229
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _repositories_BaseRepository__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../repositories/BaseRepository */ \"./repositories/BaseRepository.ts\");\n/* harmony import */ var _helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers/response/ResponseState */ \"./helpers/response/ResponseState.ts\");\n/* harmony import */ var _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../helpers/response/ResponseHelper */ \"./helpers/response/ResponseHelper.ts\");\n/* harmony import */ var _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../models/user/NotificationActionModel */ \"./models/user/NotificationActionModel.ts\");\n/* harmony import */ var _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../models/user/NotificationModel */ \"./models/user/NotificationModel.ts\");\n/* harmony import */ var _repositories_UserRepository__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../repositories/UserRepository */ \"./repositories/UserRepository.ts\");\n/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../main */ \"./main.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n\nconst titlesMap = new Map([\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].reject, 'Reject'],\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].confirm, 'Confirm'],\n [_models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].view, 'View']\n]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mounted() {\n this.baseRepository.getResponseHelper().subscribe(_helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__[\"ResponseState\"].Resolved, this.handleSuccess, _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__[\"DefaultContext\"]);\n this.baseRepository.getResponseHelper().subscribe(_helpers_response_ResponseState__WEBPACK_IMPORTED_MODULE_3__[\"ResponseState\"].Rejected, this.handleError, _helpers_response_ResponseHelper__WEBPACK_IMPORTED_MODULE_4__[\"DefaultContext\"]);\n },\n computed: Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])('Config', ['config'])),\n methods: Object.assign(Object.assign({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])('User/Notifications', ['read', 'markAsRead', 'process', 'markAsProcessed'])), { submitAction(action) {\n if (action.type === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ActionType\"].reject && _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"confirmRejections\"].includes(this.notification.category)) {\n this.actionProcessing = true;\n const rejectionComponent = this.rejectionComponent();\n this.$emit('rejection-component', {\n rejectionComponent,\n notification: this.notification\n });\n return;\n }\n this.request(action);\n },\n request(action) {\n return __awaiter(this, void 0, void 0, function* () {\n this.actionProcessing = true;\n this.markAsRead(this.notification);\n yield this.baseRepository.request(action.action, action.method ? action.method : _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"RequestMethod\"].put, action.body);\n });\n },\n // eslint-disable-next-line complexity\n proceedToView(view) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.notification.isNew) {\n yield this.read(this.notification);\n }\n const action = view.action ? view.action : view.url;\n if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].remote) {\n window.open(action, '_blank');\n }\n else if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].career) {\n window.location.href = `${this.config.careerSiteUrl}${action}`;\n }\n else if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].old) {\n window.location.href = `${this.config.oldSiteUrl}${action}`;\n }\n else if (view.proceedTo === _models_user_NotificationActionModel__WEBPACK_IMPORTED_MODULE_5__[\"ProceedTo\"].lite && !this.isLiteDomain) {\n window.location.href = `${this.config.liteSiteUrl}${action.replace('/api/', '')}`;\n }\n else if (this.$router.currentRoute.path !== action) {\n yield this.$router.push(action.replace('api/', ''));\n }\n });\n },\n handleSuccess() {\n return __awaiter(this, void 0, void 0, function* () {\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.addMessage('The request has been processed.');\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.showAll();\n this.markAsProcessed(this.notification);\n this.actionProcessing = false;\n });\n },\n handleError() {\n return __awaiter(this, void 0, void 0, function* () {\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.addWarning('Action failed. The request had been already processed.');\n _main__WEBPACK_IMPORTED_MODULE_8__[\"myOptions\"].storeAdapter.Toasts.mutations.showAll();\n yield this.process(this.notification);\n if (typeof this.errorAction === 'function') {\n this.errorAction();\n }\n this.actionProcessing = false;\n });\n }, rejectionComponent() {\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].vacations) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/VacationRejectionConfirm.vue */ \"./mixins/notifications/confirms/VacationRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].unpaid_leave) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/UnpaidLeaveRejectionConfirm.vue */ \"./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].profile_update) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/AssetRejectionConfirm.vue */ \"./mixins/notifications/confirms/AssetRejectionConfirm.vue\"));\n }\n if (this.notification.category === _models_user_NotificationModel__WEBPACK_IMPORTED_MODULE_6__[\"NotificationCategory\"].sick_leaves) {\n return () => Promise.all(/*! import() | rejectComponent */[__webpack_require__.e(\"vendors~kudosForm~rejectComponent\"), __webpack_require__.e(\"rejectComponent\")]).then(__webpack_require__.bind(null, /*! ./confirms/SickLeaveRejectionConfirm.vue */ \"./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue\"));\n }\n return null;\n }, isExpired(action) {\n return action.expired_at && action.expired_at.isBefore(moment__WEBPACK_IMPORTED_MODULE_1___default()());\n },\n title(action) {\n return action.title ? action.title : titlesMap.get(action.type);\n } }),\n data() {\n return {\n actionProcessing: false,\n userRepository: new _repositories_UserRepository__WEBPACK_IMPORTED_MODULE_7__[\"default\"](),\n baseRepository: new _repositories_BaseRepository__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n };\n }\n});\n\n\n//# sourceURL=webpack://MainMenu/./mixins/notifications/ActionProcessing.ts?");
|
|
1230
1230
|
|
|
1231
1231
|
/***/ }),
|
|
1232
1232
|
|