diff --git a/app/dist/js/src_plugins_tm_dashboard__mixins_Filter_mixin_ts-src_plugins_tm_dashboard_tasks__utils_timeli-4305f7.js b/app/dist/js/src_plugins_tm_dashboard__mixins_Filter_mixin_ts-src_plugins_tm_dashboard_tasks__utils_timeli-4305f7.js index 3379559..f174f48 100644 --- a/app/dist/js/src_plugins_tm_dashboard__mixins_Filter_mixin_ts-src_plugins_tm_dashboard_tasks__utils_timeli-4305f7.js +++ b/app/dist/js/src_plugins_tm_dashboard__mixins_Filter_mixin_ts-src_plugins_tm_dashboard_tasks__utils_timeli-4305f7.js @@ -156,7 +156,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuetify/lib/components/VBtn/index.mjs */ \"./node_modules/vuetify/lib/components/VBtn/VBtn.mjs\");\n/* harmony import */ var vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuetify/lib/components/VIcon/index.mjs */ \"./node_modules/vuetify/lib/components/VIcon/VIcon.mjs\");\n/* harmony import */ var vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuetify/lib/components/VTooltip/index.mjs */ \"./node_modules/vuetify/lib/components/VTooltip/VTooltip.mjs\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-c3598ac4\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"custom-event-body non-working-event colWidth h-100 d-flex flex-column justify-center\"\n};\nconst _hoisted_2 = {\n class: \"d-flex justify-center align-center\"\n};\nconst _hoisted_3 = {\n class: \"mb-0 ms-2\"\n};\nconst _hoisted_4 = {\n class: \"text-inherit\"\n};\nconst _hoisted_5 = {\n class: \"text-inherit\"\n};\nconst _hoisted_6 = {\n class: \"d-flex align-center event-details event-initials-wrapper\"\n};\nconst _hoisted_7 = {\n class: \"text-inherit\"\n};\nconst _hoisted_8 = {\n class: \"event-initials-date text-inherit\"\n};\nconst _hoisted_9 = {\n key: 0,\n class: \"d-flex align-center\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"ml-1\"\n};\nconst _hoisted_11 = {\n key: 1,\n class: \"d-flex align-center mt-1\"\n};\nconst _hoisted_12 = {\n key: 2,\n class: \"event__office-footer\"\n};\nconst _hoisted_13 = [\"src\"];\nconst _hoisted_14 = [\"src\"];\nconst _hoisted_15 = [\"src\"];\nconst _hoisted_16 = [\"src\"];\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = [\"src\"];\nconst _hoisted_20 = [\"src\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n \n \n \n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event\", {\n 'event--office': $setup.isOfficeEvent\n }])\n }, [$setup.props.event.type == 'non-working-hours' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-cancel\",\n color: \"black\"\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.title), 1 /* TEXT */)])])) : ['subtask', 'blocker', 'adhoc', 'vacation', 'free_day', 'office365', 'office365_blocker'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 1,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"custom-event-body colWidth h-100 d-flex flex-column justify-space-between\", $setup.subtaskCssClass]),\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n backgroundColor: $setup.eventColor.backgroundColor,\n color: $setup.eventColor.color\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event-content\", {\n 'is-blocker': $setup.props.event.isBlocker\n }])\n }, [['subtask', 'office365'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 0\n }, [$setup.props.event.subtask.project_code ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", {\n key: 0,\n class: \"project-code\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n color: $setup.eventColor.color\n })\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.subtask.project_code), 5 /* TEXT, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.subtask.title ?? $setup.props.event.subtask.master_task?.name ?? $setup.props.event.subtask.master_task), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__.VTooltip, {\n key: 1,\n text: $props.event.blocker?.approved ? 'Schválený' : 'Neschválený',\n location: \"bottom\"\n }, {\n activator: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n props: activatorProps\n }) => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeProps)((0,vue__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps)(activatorProps)), [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event?.blocker?.approved ? $setup.props.event?.blocker?.name : $setup.props.event?.blocker?.name + '*'), 1 /* TEXT */)], 16 /* FULL_PROPS */)]),\n\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"text\"]))], 2 /* CLASS */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_6, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"event-initials d-flex justify-center align-center\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n borderColor: $setup.eventColor.color\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"small\", _hoisted_7, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.initials), 1 /* TEXT */)], 4 /* STYLE */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"small\", _hoisted_8, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.date?.toLocaleDateString('sk-SK')), 1 /* TEXT */)]), ['subtask'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_9, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-skull-outline\",\n size: \"small\"\n }), $setup.props.event?.subtask.deadline ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", _hoisted_10, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.deadline), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__.VTooltip, {\n key: 1,\n text: \"Deadline z Mastertasku\",\n location: \"bottom\"\n }, {\n activator: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n props\n }) => [!props.event?.subtask?.deadline ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({\n key: 0,\n class: \"cursor-pointer ml-1\"\n }, props), (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.deadline) + \"*\", 17 /* TEXT, FULL_PROPS */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]),\n _: 1 /* STABLE */\n }))])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), ['office365'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_11, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-pin-outline\",\n size: \"small\"\n }), $setup.props.event?.subtask.office365_location ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", {\n key: 0,\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n color: $setup.eventColor.color\n }),\n class: \"ml-1\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event?.subtask.office365_location), 5 /* TEXT, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" \\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t \")])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 6 /* CLASS, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), $setup.isOfficeEvent ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_12, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.office365,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_13)])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"event__footer d-flex\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n backgroundColor: $setup.eventColor.backgroundColor\n })\n }, [$setup.isOfficeEvent ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n key: 0,\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[0] || (_cache[0] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-task', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.eye,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_14)]),\n _: 1 /* STABLE */\n })) : $props.event.type == 'adhoc' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 1\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-blocker', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.pencil,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_15)]),\n _: 1 /* STABLE */\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('delete-blocker', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.bin,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_16)]),\n _: 1 /* STABLE */\n })], 64 /* STABLE_FRAGMENT */)) : $setup.props.event.type == 'subtask' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 2\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event__footer__button me-2\", {\n completed: $setup.props.event.subtask?.is_finished\n }]),\n onClick: _cache[3] || (_cache[3] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('complete-task', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.checkmarkDouble,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_17)]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event__footer__button me-2\", {\n completed: $setup.props.event._timeblock_is_finished\n }]),\n onClick: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('toggle-timeblock-is-finished', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.checkmark,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_18)]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[5] || (_cache[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-task', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.eye,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_19)]),\n _: 1 /* STABLE */\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[6] || (_cache[6] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('delete-timeblock-in-task', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.bin,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_20)]),\n _: 1 /* STABLE */\n })], 64 /* STABLE_FRAGMENT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 4 /* STYLE */)], 2 /* CLASS */);\n}\n\n/* Vuetify */\n\n\n\n\n\n\n//# sourceURL=webpack://jandl/./src/plugins/tm@dashboard/_components/a-timeline-event.vue?./node_modules/webpack-plugin-vuetify/dist/scriptLoader.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B5%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuetify/lib/components/VBtn/index.mjs */ \"./node_modules/vuetify/lib/components/VBtn/VBtn.mjs\");\n/* harmony import */ var vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuetify/lib/components/VIcon/index.mjs */ \"./node_modules/vuetify/lib/components/VIcon/VIcon.mjs\");\n/* harmony import */ var vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuetify/lib/components/VTooltip/index.mjs */ \"./node_modules/vuetify/lib/components/VTooltip/VTooltip.mjs\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-c3598ac4\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"custom-event-body non-working-event colWidth h-100 d-flex flex-column justify-center\"\n};\nconst _hoisted_2 = {\n class: \"d-flex justify-center align-center\"\n};\nconst _hoisted_3 = {\n class: \"mb-0 ms-2\"\n};\nconst _hoisted_4 = {\n class: \"text-inherit\"\n};\nconst _hoisted_5 = {\n class: \"text-inherit\"\n};\nconst _hoisted_6 = {\n class: \"d-flex align-center event-details event-initials-wrapper\"\n};\nconst _hoisted_7 = {\n class: \"text-inherit\"\n};\nconst _hoisted_8 = {\n class: \"event-initials-date text-inherit\"\n};\nconst _hoisted_9 = {\n key: 0,\n class: \"d-flex align-center\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"ml-1\"\n};\nconst _hoisted_11 = {\n key: 1,\n class: \"d-flex align-center mt-1\"\n};\nconst _hoisted_12 = [\"src\"];\nconst _hoisted_13 = [\"src\"];\nconst _hoisted_14 = [\"src\"];\nconst _hoisted_15 = [\"src\"];\nconst _hoisted_16 = [\"src\"];\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = [\"src\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n \n \n \n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event\", {\n 'event--office': $setup.isOfficeEvent\n }])\n }, [$setup.props.event.type == 'non-working-hours' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-cancel\",\n color: \"black\"\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.title), 1 /* TEXT */)])])) : ['subtask', 'blocker', 'adhoc', 'vacation', 'free_day', 'office365', 'office365_blocker'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 1,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"custom-event-body colWidth h-100 d-flex flex-column justify-space-between\", $setup.subtaskCssClass]),\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n backgroundColor: $setup.eventColor.backgroundColor,\n color: $setup.eventColor.color\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event-content\", {\n 'is-blocker': $setup.props.event.isBlocker\n }])\n }, [['subtask', 'office365'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 0\n }, [$setup.props.event.subtask.project_code ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", {\n key: 0,\n class: \"project-code\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n color: $setup.eventColor.color\n })\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.subtask.project_code), 5 /* TEXT, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.subtask.title ?? $setup.props.event.subtask.master_task?.name ?? $setup.props.event.subtask.master_task), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__.VTooltip, {\n key: 1,\n text: $props.event.blocker?.approved ? 'Schválený' : 'Neschválený',\n location: \"bottom\"\n }, {\n activator: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n props: activatorProps\n }) => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeProps)((0,vue__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps)(activatorProps)), [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event?.blocker?.approved ? $setup.props.event?.blocker?.name : $setup.props.event?.blocker?.name + '*'), 1 /* TEXT */)], 16 /* FULL_PROPS */)]),\n\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"text\"]))], 2 /* CLASS */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_6, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"event-initials d-flex justify-center align-center\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n borderColor: $setup.eventColor.color\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"small\", _hoisted_7, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.initials), 1 /* TEXT */)], 4 /* STYLE */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"small\", _hoisted_8, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event.date?.toLocaleDateString('sk-SK')), 1 /* TEXT */)]), ['subtask'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_9, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-skull-outline\",\n size: \"small\"\n }), $setup.props.event?.subtask.deadline ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", _hoisted_10, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.deadline), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VTooltip_index_mjs__WEBPACK_IMPORTED_MODULE_2__.VTooltip, {\n key: 1,\n text: \"Deadline z Mastertasku\",\n location: \"bottom\"\n }, {\n activator: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n props\n }) => [!props.event?.subtask?.deadline ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({\n key: 0,\n class: \"cursor-pointer ml-1\"\n }, props), (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.deadline) + \"*\", 17 /* TEXT, FULL_PROPS */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]),\n _: 1 /* STABLE */\n }))])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), ['office365'].includes($props.event.type) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_11, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_1__.VIcon, {\n icon: \"mdi-pin-outline\",\n size: \"small\"\n }), $setup.props.event?.subtask.office365_location ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"small\", {\n key: 0,\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n color: $setup.eventColor.color\n }),\n class: \"ml-1\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.event?.subtask.office365_location), 5 /* TEXT, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" \\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t \")])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 6 /* CLASS, STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), $setup.isOfficeEvent ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 2,\n class: \"event__office-footer\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n backgroundColor: $setup.eventColor.backgroundColor\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.office365,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_12)], 4 /* STYLE */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"event__footer d-flex\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)({\n backgroundColor: $setup.eventColor.backgroundColor\n })\n }, [$setup.isOfficeEvent ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n key: 0,\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[0] || (_cache[0] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-task', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.eye,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_13)]),\n _: 1 /* STABLE */\n })) : $props.event.type == 'adhoc' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 1\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-blocker', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.pencil,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_14)]),\n _: 1 /* STABLE */\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('delete-blocker', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.bin,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_15)]),\n _: 1 /* STABLE */\n })], 64 /* STABLE_FRAGMENT */)) : $setup.props.event.type == 'subtask' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 2\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event__footer__button me-2\", {\n completed: $setup.props.event.subtask?.is_finished\n }]),\n onClick: _cache[3] || (_cache[3] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('complete-task', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.checkmarkDouble,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_16)]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"event__footer__button me-2\", {\n completed: $setup.props.event._timeblock_is_finished\n }]),\n onClick: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('toggle-timeblock-is-finished', $setup.props.event), [\"stop\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.checkmark,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_17)]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[5] || (_cache[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('edit-task', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.eye,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_18)]),\n _: 1 /* STABLE */\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_3__.VBtn, {\n rounded: \"\",\n class: \"event__footer__button me-2\",\n onClick: _cache[6] || (_cache[6] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)($event => $setup.emits('delete-timeblock-in-task', $setup.props.event), [\"stop\", \"prevent\"]))\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.bin,\n alt: \"\"\n }, null, 8 /* PROPS */, _hoisted_19)]),\n _: 1 /* STABLE */\n })], 64 /* STABLE_FRAGMENT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 4 /* STYLE */)], 2 /* CLASS */);\n}\n\n/* Vuetify */\n\n\n\n\n\n\n//# sourceURL=webpack://jandl/./src/plugins/tm@dashboard/_components/a-timeline-event.vue?./node_modules/webpack-plugin-vuetify/dist/scriptLoader.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B5%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); /***/ }),