mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
build(dev)
This commit is contained in:
1 parent
9a0be03f66
commit
42d7253bd9
5 files changed
+12
-12
No files matched your search
Vendored
+4
-4
@@ -444,7 +444,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: [\"vuecal\", \"utils\", \"modules\", \"view\", \"domEvents\", \"editEvents\"],\n props: {\n cellFormattedDate: {\n type: String,\n default: \"\"\n },\n event: {\n type: Object,\n default: () => ({})\n },\n cellEvents: {\n type: Array,\n default: () => []\n },\n cellOverlaps: {\n type: Object,\n default: () => ({})\n },\n allOverlaps: {\n type: Object,\n default: () => ({})\n },\n // If multiple simultaneous events, the events are placed from left to right from the\n // one starting first to the last. (See utils/event.js > checkCellOverlappingEvents)\n eventPosition: {\n type: Number,\n default: 0\n },\n overlapsStreak: {\n type: Number,\n default: 0\n },\n allDay: {\n type: Boolean,\n default: false\n } // Is the event displayed in the all-day bar.\n },\n\n data: () => ({\n // Event touch detection with 30px threshold.\n touch: {\n dragThreshold: 30,\n // px.\n startX: 0,\n startY: 0,\n // Detect if the event touch start + touch end was a drag or a tap.\n // If it was a drag, don't call the event-click handler.\n dragged: false\n }\n }),\n methods: {\n /**\n * On event mousedown.\n * Do not prevent propagation to trigger cell mousedown which highlights the cell if not highlighted.\n */\n onMouseDown(e, touch = false) {\n // Prevent a double mouse down on touch devices.\n if (\"ontouchstart\" in window && !touch) return false;\n const {\n clickHoldAnEvent,\n focusAnEvent,\n resizeAnEvent,\n dragAnEvent\n } = this.domEvents;\n\n // If the delete button is already out and event is on focus then delete event.\n // Return true so the event-click function (if any) is not called.\n if (focusAnEvent._eid === this.event._eid && clickHoldAnEvent._eid === this.event._eid) {\n return true;\n }\n\n // Focus the clicked event.\n this.focusEvent();\n clickHoldAnEvent._eid = null; // Reinit click hold on each click.\n\n // Show event delete button.\n if (this.vuecal.editEvents.delete && this.event.deletable) {\n clickHoldAnEvent.timeoutId = setTimeout(() => {\n if (!resizeAnEvent._eid && !dragAnEvent._eid) {\n clickHoldAnEvent._eid = this.event._eid;\n this.event.deleting = true;\n }\n }, clickHoldAnEvent.timeout);\n }\n },\n /**\n * The mouseup handler is global (whole document) and initialized in index.vue on mounted.\n * It handles the mouseup on cell, events, and everything.\n * All mouseup on event, should be put there to avoid conflicts with other cases.\n * This function is also called on touchend on the event.\n */\n onMouseUp(e) {\n // Don't allow mouseup to be fired on different event than mousedown for the onEventClick function.\n if (this.domEvents.focusAnEvent._eid === this.event._eid && !this.touch.dragged) {\n // This is used in the global mouseup handler.\n this.domEvents.focusAnEvent.mousedUp = true;\n }\n this.touch.dragged = false; // After the touchend happens, reset the dragged flag.\n },\n\n onMouseEnter(e) {\n e.preventDefault();\n this.vuecal.emitWithEvent(\"event-mouse-enter\", this.event);\n },\n onMouseLeave(e) {\n e.preventDefault();\n this.vuecal.emitWithEvent(\"event-mouse-leave\", this.event);\n },\n // Detect if user taps on an event or drags it. If dragging, don't fire the event-click handler (if any).\n onTouchMove(e) {\n // Skip the maths if there is no event click handler.\n if (typeof this.vuecal.onEventClick !== \"function\") return;\n const {\n clientX,\n clientY\n } = e.touches[0];\n const {\n startX,\n startY,\n dragThreshold\n } = this.touch;\n if (Math.abs(clientX - startX) > dragThreshold || Math.abs(clientY - startY) > dragThreshold) {\n this.touch.dragged = true;\n }\n },\n onTouchStart(e) {\n this.touch.startX = e.touches[0].clientX;\n this.touch.startY = e.touches[0].clientY;\n this.onMouseDown(e, true);\n },\n onEnterKeypress(e) {\n if (typeof this.vuecal.onEventClick === \"function\") return this.vuecal.onEventClick(this.event, e);\n },\n onDblClick(e) {\n if (typeof this.vuecal.onEventDblclick === \"function\") return this.vuecal.onEventDblclick(this.event, e);\n },\n onDragStart(e) {\n if (this.event.type == 'blocker' || this.event.type == 'non-working-hours' || this.event.type == 'office365_blocker') return; //|| this.event._timeblock_is_finished || this.event.subtask?.is_finished\n this.event.draggingStatic = false;\n this.dnd && this.dnd.event
Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: [\"vuecal\", \"utils\", \"modules\", \"view\", \"domEvents\", \"editEvents\"],\n props: {\n cellFormattedDate: {\n type: String,\n default: \"\"\n },\n event: {\n type: Object,\n default: () => ({})\n },\n cellEvents: {\n type: Array,\n default: () => []\n },\n cellOverlaps: {\n type: Object,\n default: () => ({})\n },\n allOverlaps: {\n type: Object,\n default: () => ({})\n },\n // If multiple simultaneous events, the events are placed from left to right from the\n // one starting first to the last. (See utils/event.js > checkCellOverlappingEvents)\n eventPosition: {\n type: Number,\n default: 0\n },\n overlapsStreak: {\n type: Number,\n default: 0\n },\n allDay: {\n type: Boolean,\n default: false\n } // Is the event displayed in the all-day bar.\n },\n\n data: () => ({\n // Event touch detection with 30px threshold.\n touch: {\n dragThreshold: 30,\n // px.\n startX: 0,\n startY: 0,\n // Detect if the event touch start + touch end was a drag or a tap.\n // If it was a drag, don't call the event-click handler.\n dragged: false\n }\n }),\n methods: {\n /**\n * On event mousedown.\n * Do not prevent propagation to trigger cell mousedown which highlights the cell if not highlighted.\n */\n onMouseDown(e, touch = false) {\n let targetElement;\n if (e.target.nodeName == 'BUTTON') {\n targetElement = e.target;\n } else if (e.srcElement.nodeName == 'IMG') {\n targetElement = e.target.parentElement;\n }\n if (targetElement?.classList?.contains('v-btn__content') || e?.target?.nodeName == 'BUTTON') {\n e.preventDefault();\n return;\n }\n\n // Prevent a double mouse down on touch devices.\n if (\"ontouchstart\" in window && !touch) return false;\n const {\n clickHoldAnEvent,\n focusAnEvent,\n resizeAnEvent,\n dragAnEvent\n } = this.domEvents;\n\n // If the delete button is already out and event is on focus then delete event.\n // Return true so the event-click function (if any) is not called.\n if (focusAnEvent._eid === this.event._eid && clickHoldAnEvent._eid === this.event._eid) {\n return true;\n }\n\n // Focus the clicked event.\n this.focusEvent();\n clickHoldAnEvent._eid = null; // Reinit click hold on each click.\n\n // Show event delete button.\n if (this.vuecal.editEvents.delete && this.event.deletable) {\n clickHoldAnEvent.timeoutId = setTimeout(() => {\n if (!resizeAnEvent._eid && !dragAnEvent._eid) {\n clickHoldAnEvent._eid = this.event._eid;\n this.event.deleting = true;\n }\n }, clickHoldAnEvent.timeout);\n }\n },\n /**\n * The mouseup handler is global (whole document) and initialized in index.vue on mounted.\n * It handles the mouseup on cell, events, and everything.\n * All mouseup on event, should be put there to avoid conflicts with other cases.\n * This function is also called on touchend on the event.\n */\n onMouseUp(e) {\n // Don't allow mouseup to be fired on different event than mousedown for the onEventClick function.\n if (this.domEvents.focusAnEvent._eid === this.event._eid && !this.touch.dragged) {\n // This is used in the global mouseup handler.\n this.domEvents.focusAnEvent.mousedUp = true;\n }\n this.touch.dragged = false; // After the touchend happens, reset the dragged flag.\n },\n\n onMouseEnter(e) {\n e.preventDefault();\n this.vuecal.emitWithEvent(\"event-mouse-enter\", this.event);\n },\n onMouseLeave(e) {\n e.preventDefault();\n this.vuecal.emitWithEvent(\"event-mouse-leave\", this.event);\n },\n // Detect if user taps on an event or drags it. If dragging, don't fire the event-click handler (if any).\n onTouchMove(e) {\n // Skip the maths if there is no event click handler.\n if (typeof this.vuecal.onEventClick !== \"function\") return;\n const {\n clientX,\n clientY\n } = e.touches[0];\n const {\n startX,\n startY,\n dragThreshold\n } = this.touch;\n if (Math.abs(clientX - startX) > dragThreshold || Math.abs(clientY - startY) > dragThreshold) {\n this.touch.dragged = true;\n }\n },\n onTouchStart(e) {\n this.touch.startX = e.touches[0].clientX;\n this.touch.startY = e.touches[0].clientY;\n this.onMouseDown(e, true);\n },\n onEnterKeypress(e) {\n if (typeof this.vuecal.onEventClick === \"function\") return this.vuecal.onEventClick(this.event, e);\n },\n onDblClick(e) {\n if (typeof this.vuecal.onEventDblclick === \"fLine truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -686,7 +686,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _plu
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vuepic_vue_datepicker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vuepic/vue-datepicker */ \"./node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js\");\n/* harmony import */ var _plugins_tm_components_z_files_upload_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@_components/z-files-upload.vue */ \"./src/plugins/tm@_components/z-files-upload.vue\");\n/* harmony import */ var _vuelidate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @vuelidate/core */ \"./node_modules/@vuelidate/core/dist/index.esm.js\");\n/* harmony import */ var _vuelidate_validators__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @vuelidate/validators */ \"./node_modules/@vuelidate/validators/dist/index.esm.js\");\n/* harmony import */ var _plugins_lib_auth_utils_error_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/plugins/lib@auth/_utils/error.utils */ \"./src/plugins/lib@auth/_utils/error.utils.ts\");\n/* harmony import */ var _plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/vuetify-fix-focus */ \"./src/plugins/tm@modal/_mixins/vuetify-fix-focus.ts\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _vueup_vue_quill__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @vueup/vue-quill */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/modal.mixin */ \"./src/plugins/tm@modal/_mixins/modal.mixin.ts\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @vueup/vue-quill/dist/vue-quill.snow.css */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.snow.css\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./_mixins/selects.mixin */ \"./src/plugins/tm@modal/master-task/_mixins/selects.mixin.ts\");\n/* harmony import */ var _components_a_tasks_table_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./_components/a-tasks-table.vue */ \"./src/plugins/tm@modal/master-task/_components/a-tasks-table.vue\");\n/* harmony import */ var _components_a_mastertask_description_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./_components/a-mastertask-description.vue */ \"./src/plugins/tm@modal/master-task/_components/a-mastertask-description.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/plugins/tm@_mixins/autocomplete.mixin */ \"./src/plugins/tm@_mixins/autocomplete.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n// import ZAutocomplete from '@/plugins/tm@_components/z-autocomplete.vue'\n\n\n\n// import tmUtils from '@/plugins/tm@_utils/tm.utils'\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n // MIXINS\n // computed: employeesOptions, projectsOptions\n // methods: onProjectSelected, onEmployeeSelected, onEmployeeDurationChanged\n // watch: mastertask.team_id\n\n emits: ['master-task-edited', 'close'],\n mixins: [_plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_10__[\"default\"], _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__[\"default\"], _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_8__[\"default\"]],\n components: {\n AMastertaskDescription: _components_a_mastertask_description_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n ATasksTable: _components_a_tasks_table_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n Datepicker: _Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vuepic_vue_datepicker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vuepic/vue-datepicker */ \"./node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js\");\n/* harmony import */ var _plugins_tm_components_z_files_upload_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@_components/z-files-upload.vue */ \"./src/plugins/tm@_components/z-files-upload.vue\");\n/* harmony import */ var _vuelidate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @vuelidate/core */ \"./node_modules/@vuelidate/core/dist/index.esm.js\");\n/* harmony import */ var _vuelidate_validators__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @vuelidate/validators */ \"./node_modules/@vuelidate/validators/dist/index.esm.js\");\n/* harmony import */ var _plugins_lib_auth_utils_error_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/plugins/lib@auth/_utils/error.utils */ \"./src/plugins/lib@auth/_utils/error.utils.ts\");\n/* harmony import */ var _plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/vuetify-fix-focus */ \"./src/plugins/tm@modal/_mixins/vuetify-fix-focus.ts\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _vueup_vue_quill__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @vueup/vue-quill */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/modal.mixin */ \"./src/plugins/tm@modal/_mixins/modal.mixin.ts\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @vueup/vue-quill/dist/vue-quill.snow.css */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.snow.css\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./_mixins/selects.mixin */ \"./src/plugins/tm@modal/master-task/_mixins/selects.mixin.ts\");\n/* harmony import */ var _components_a_tasks_table_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./_components/a-tasks-table.vue */ \"./src/plugins/tm@modal/master-task/_components/a-tasks-table.vue\");\n/* harmony import */ var _components_a_mastertask_description_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./_components/a-mastertask-description.vue */ \"./src/plugins/tm@modal/master-task/_components/a-mastertask-description.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/plugins/tm@_mixins/autocomplete.mixin */ \"./src/plugins/tm@_mixins/autocomplete.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n// import ZAutocomplete from '@/plugins/tm@_components/z-autocomplete.vue'\n\n\n\n// import tmUtils from '@/plugins/tm@_utils/tm.utils'\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n // MIXINS\n // computed: employeesOptions, projectsOptions\n // methods: onProjectSelected, onEmployeeSelected, onEmployeeDurationChanged\n // watch: mastertask.team_id\n\n emits: ['master-task-edited', 'close'],\n mixins: [_plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_10__[\"default\"], _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__[\"default\"], _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_8__[\"default\"]],\n components: {\n AMastertaskDescription: _components_a_mastertask_description_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n ATasksTable: _components_a_tasks_table_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n Datepicker: _Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -873,7 +873,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vuepic_vue_datepicker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vuepic/vue-datepicker */ \"./node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js\");\n/* harmony import */ var _plugins_tm_components_z_files_upload_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@_components/z-files-upload.vue */ \"./src/plugins/tm@_components/z-files-upload.vue\");\n/* harmony import */ var _plugins_tm_modal_task_components_components_a_task_timeblocks_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue */ \"./src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue\");\n/* harmony import */ var _vuelidate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @vuelidate/core */ \"./node_modules/@vuelidate/core/dist/index.esm.js\");\n/* harmony import */ var _vuelidate_validators__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @vuelidate/validators */ \"./node_modules/@vuelidate/validators/dist/index.esm.js\");\n/* harmony import */ var _plugins_lib_auth_utils_error_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/plugins/lib@auth/_utils/error.utils */ \"./src/plugins/lib@auth/_utils/error.utils.ts\");\n/* harmony import */ var _vueup_vue_quill__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @vueup/vue-quill */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/vuetify-fix-focus */ \"./src/plugins/tm@modal/_mixins/vuetify-fix-focus.ts\");\n/* harmony import */ var _master_task_mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../master-task/_mixins/selects.mixin */ \"./src/plugins/tm@modal/master-task/_mixins/selects.mixin.ts\");\n/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! file-saver */ \"./node_modules/file-saver/dist/FileSaver.min.js\");\n/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(file_saver__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _plugins_tm_utils_tm_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/plugins/tm@_utils/tm.utils */ \"./src/plugins/tm@_utils/tm.utils.ts\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @vueup/vue-quill/dist/vue-quill.snow.css */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.snow.css\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/plugins/tm@_mixins/autocomplete.mixin */ \"./src/plugins/tm@_mixins/autocomplete.mixin.ts\");\n/* harmony import */ var _components_z_task_readonly_info_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./_components/z-task-readonly-info.vue */ \"./src/plugins/tm@modal/task/_components/z-task-readonly-info.vue\");\n/* harmony import */ var _components_a_timeblock_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./_components/a-timeblock.vue */ \"./src/plugins/tm@modal/task/_components/a-timeblock.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/modal.mixin */ \"./src/plugins/tm@modal/_mixins/modal.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n emits: ['close', 'refresh'],\n mixins: [_plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_7__[\Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vuepic_vue_datepicker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vuepic/vue-datepicker */ \"./node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js\");\n/* harmony import */ var _plugins_tm_components_z_files_upload_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@_components/z-files-upload.vue */ \"./src/plugins/tm@_components/z-files-upload.vue\");\n/* harmony import */ var _plugins_tm_modal_task_components_components_a_task_timeblocks_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue */ \"./src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue\");\n/* harmony import */ var _vuelidate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @vuelidate/core */ \"./node_modules/@vuelidate/core/dist/index.esm.js\");\n/* harmony import */ var _vuelidate_validators__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @vuelidate/validators */ \"./node_modules/@vuelidate/validators/dist/index.esm.js\");\n/* harmony import */ var _plugins_lib_auth_utils_error_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/plugins/lib@auth/_utils/error.utils */ \"./src/plugins/lib@auth/_utils/error.utils.ts\");\n/* harmony import */ var _vueup_vue_quill__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @vueup/vue-quill */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/vuetify-fix-focus */ \"./src/plugins/tm@modal/_mixins/vuetify-fix-focus.ts\");\n/* harmony import */ var _master_task_mixins_selects_mixin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../master-task/_mixins/selects.mixin */ \"./src/plugins/tm@modal/master-task/_mixins/selects.mixin.ts\");\n/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! file-saver */ \"./node_modules/file-saver/dist/FileSaver.min.js\");\n/* harmony import */ var file_saver__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(file_saver__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _plugins_tm_utils_tm_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/plugins/tm@_utils/tm.utils */ \"./src/plugins/tm@_utils/tm.utils.ts\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @vueup/vue-quill/dist/vue-quill.snow.css */ \"./node_modules/@vueup/vue-quill/dist/vue-quill.snow.css\");\n/* harmony import */ var _vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_vueup_vue_quill_dist_vue_quill_snow_css__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _plugins_tm_mixins_autocomplete_mixin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/plugins/tm@_mixins/autocomplete.mixin */ \"./src/plugins/tm@_mixins/autocomplete.mixin.ts\");\n/* harmony import */ var _components_z_task_readonly_info_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./_components/z-task-readonly-info.vue */ \"./src/plugins/tm@modal/task/_components/z-task-readonly-info.vue\");\n/* harmony import */ var _components_a_timeblock_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./_components/a-timeblock.vue */ \"./src/plugins/tm@modal/task/_components/a-timeblock.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _plugins_tm_modal_mixins_modal_mixin__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/plugins/tm@modal/_mixins/modal.mixin */ \"./src/plugins/tm@modal/_mixins/modal.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n emits: ['close', 'refresh'],\n mixins: [_plugins_tm_modal_mixins_vuetify_fix_focus__WEBPACK_IMPORTED_MODULE_7__[\Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -2978,7 +2978,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"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 core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var vuetify_lib_components_VAutocomplete_index_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuetify/lib/components/VAutocomplete/index.mjs */ \"./node_modules/vuetify/lib/components/VAutocomplete/VAutocomplete.mjs\");\n/* harmony import */ var vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuetify/lib/components/VBtn/index.mjs */ \"./node_modules/vuetify/lib/components/VBtn/VBtn.mjs\");\n/* harmony import */ var vuetify_lib_components_VCard_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuetify/lib/components/VCard/index.mjs */ \"./node_modules/vuetify/lib/components/VCard/VCard.mjs\");\n/* harmony import */ var vuetify_lib_components_VCard_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuetify/lib/components/VCard/index.mjs */ \"./node_modules/vuetify/lib/components/VCard/VCardActions.mjs\");\n/* harmony import */ var vuetify_lib_components_VDialog_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuetify/lib/components/VDialog/index.mjs */ \"./node_modules/vuetify/lib/components/VDialog/VDialog.mjs\");\n/* harmony import */ var vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuetify/lib/components/VIcon/index.mjs */ \"./node_modules/vuetify/lib/components/VIcon/VIcon.mjs\");\n/* harmony import */ var vuetify_lib_components_VTextField_index_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuetify/lib/components/VTextField/index.mjs */ \"./node_modules/vuetify/lib/components/VTextField/VTextField.mjs\");\n\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_1__.pushScopeId)(\"data-v-1c35a9a1\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"d-flex justify-space-between align-center modal-header\"\n};\nconst _hoisted_2 = {\n class: \"splitted-inputs\"\n};\nconst _hoisted_3 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_4 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_5 = [_hoisted_3, _hoisted_4];\nconst _hoisted_6 = [\"onClick\"];\nconst _hoisted_7 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_8 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_9 = [_hoisted_7, _hoisted_8];\nconst _hoisted_10 = {\n key: 2,\n class: \"timeblocks w-100\"\n};\nconst _hoisted_11 = {\n class: \"end-button w-100\"\n};\nconst _hoisted_12 = {\n class: \"splitted-time-inputs w-100\"\n};\nconst _hoisted_13 = {\n class: \"w-100 modal-input\"\n};\nconst _hoisted_14 = {\n class: \"d-flex justify-space-between align-center\"\n};\nconst _hoisted_15 = {\n class: \"d-flex justify-space-between align-center modal-header border-bottom pb-4\"\n};\nconst _hoisted_16 = {\n class: \"d-flex justify-start\"\n};\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = {\n class: \"w-100\"\n};\nconst _hoisted_20 = {\n class: \"d-flex justify-start align-center mt-8\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n \n \n
Line truncated
|
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 core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var vuetify_lib_components_VAutocomplete_index_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuetify/lib/components/VAutocomplete/index.mjs */ \"./node_modules/vuetify/lib/components/VAutocomplete/VAutocomplete.mjs\");\n/* harmony import */ var vuetify_lib_components_VBtn_index_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuetify/lib/components/VBtn/index.mjs */ \"./node_modules/vuetify/lib/components/VBtn/VBtn.mjs\");\n/* harmony import */ var vuetify_lib_components_VCard_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuetify/lib/components/VCard/index.mjs */ \"./node_modules/vuetify/lib/components/VCard/VCard.mjs\");\n/* harmony import */ var vuetify_lib_components_VCard_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuetify/lib/components/VCard/index.mjs */ \"./node_modules/vuetify/lib/components/VCard/VCardActions.mjs\");\n/* harmony import */ var vuetify_lib_components_VDialog_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuetify/lib/components/VDialog/index.mjs */ \"./node_modules/vuetify/lib/components/VDialog/VDialog.mjs\");\n/* harmony import */ var vuetify_lib_components_VIcon_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuetify/lib/components/VIcon/index.mjs */ \"./node_modules/vuetify/lib/components/VIcon/VIcon.mjs\");\n/* harmony import */ var vuetify_lib_components_VTextField_index_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuetify/lib/components/VTextField/index.mjs */ \"./node_modules/vuetify/lib/components/VTextField/VTextField.mjs\");\n\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_1__.pushScopeId)(\"data-v-1c35a9a1\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"d-flex justify-space-between align-center modal-header\"\n};\nconst _hoisted_2 = {\n class: \"splitted-inputs\"\n};\nconst _hoisted_3 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_4 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_5 = [_hoisted_3, _hoisted_4];\nconst _hoisted_6 = [\"onClick\"];\nconst _hoisted_7 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_8 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode)(\"path\", {\n d: \"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_9 = [_hoisted_7, _hoisted_8];\nconst _hoisted_10 = {\n key: 2,\n class: \"timeblocks w-100\"\n};\nconst _hoisted_11 = {\n class: \"end-button w-100\"\n};\nconst _hoisted_12 = {\n class: \"splitted-time-inputs w-100\"\n};\nconst _hoisted_13 = {\n class: \"w-100 modal-input\"\n};\nconst _hoisted_14 = {\n class: \"d-flex justify-space-between align-center\"\n};\nconst _hoisted_15 = {\n class: \"d-flex justify-space-between align-center modal-header border-bottom pb-4\"\n};\nconst _hoisted_16 = {\n class: \"d-flex justify-start\"\n};\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = {\n class: \"w-100\"\n};\nconst _hoisted_20 = {\n class: \"d-flex justify-start align-center mt-8\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n \n \n
Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -26,7 +26,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/differenceInCalendarDays/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/addDays/index.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\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n generateTimelineTasks(subtasks, date, employee) {\n const {\n tasks,\n blockers,\n homeoffices\n } = this.generateTimelineEvents(subtasks, employee, date);\n const {\n nonWorkingHours\n } = this.generateTimelineNonWorkingHours(date, employee);\n return {\n tasks,\n blockers,\n nonWorkingHours,\n homeoffices\n };\n },\n getUnscheduledTime(subtasks) {\n let unscheduledTime = 0;\n subtasks.forEach(subtask => unscheduledTime += subtask.duration - subtask.spent_time);\n return unscheduledTime;\n },\n isWeekend(date) {\n return moment__WEBPACK_IMPORTED_MODULE_1___default()(date).day() % 6 == 0;\n },\n generateTimelineEvents(subtasks, employee, date) {\n let blockers = [];\n const tasks = [];\n subtasks.forEach(subtask => {\n if (['blocker', 'adhoc', 'home_office', 'vacation', 'free_day', 'office365_blocker'].includes(subtask.type)) {\n blockers = [...blockers, ...this._generateEventsFromBlocker(subtask, date)];\n } else {\n subtask.timeblocks?.forEach(timeblock => {\n tasks.push(this._composeTimelineEvent(subtask, employee, date, timeblock));\n });\n }\n });\n return {\n tasks,\n blockers: blockers.filter(blocker => blocker.type != 'home_office'),\n homeoffices: blockers.filter(blocker => blocker.type == 'home_office')\n };\n },\n _composeTimelineEvent(subtask, employee, date, timeblock) {\n const diffInDays = (0,date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date, new Date(timeblock.start));\n // console.log('subtask', subtask.type)\n let type = 'subtask';\n if (subtask.type == 'office365') type = 'office365';\n return {\n id: subtask.id,\n start: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(new Date(timeblock.start), diffInDays),\n end: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(new Date(timeblock.end), diffInDays),\n master_task: subtask.master_task,\n date: new Date(timeblock.start),\n isWeekend: this.isWeekend(timeblock.start),\n initials: employee.name.charAt(0).toUpperCase() + employee.surname.charAt(0).toUpperCase(),\n split: this._getSplitFromDate(date, timeblock.start),\n project_code: subtask.project_code,\n subtask: subtask,\n type,\n _timeblock_id: timeblock.id,\n _timeblock_is_finished: timeblock.is_finished,\n _real_start: new Date(timeblock.start),\n _real_end: new Date(timeblock.end),\n draggable: type !== 'office365'\n };\n },\n _generateEventsFromBlocker(blocker, date) {\n const start = moment__WEBPACK_IMPORTED_MODULE_1___default()(blocker.start);\n const end = moment__WEBPACK_IMPORTED_MODULE_1___default()(blocker.end);\n const dates = start.isSame(end, 'date') ? [moment__WEBPACK_IMPORTED_MODULE_1___default()(start).format('YYYY-MM-DD')] : this._getDatesInRange(start, end);\n const blockers = dates.map(d => {\n const diffInDays = (0,date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date, new Date(d));\n const dStart = new Date(moment__WEBPACK_IMPORTED_MODULE_1___default()(d).set({\n hours: start.hours(),\n minutes: start.minutes()\n }).format('YYYY-MM-DD HH:mm'));\n const dEnd = new Date(moment__WEBPACK_IMPORTED_MODULE_1___default()(d).set({\n hours: end.hours(),\n minutes: end.minutes()\n }).format('YYYY-MM-DD HH:mm'));\n return {\n blocker,\n split: this._getSplitFromDate(date, d),\n start: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dStart, diffInDays),\n end: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dEnd, diffInDays),\n date: new Date(d),\n type: blocker.type,\n isBlocker: true,\n initials: `${blocker.employee?.name[0]}${blocker.employee?.surname[0]}`,Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/differenceInCalendarDays/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/addDays/index.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\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n generateTimelineTasks(subtasks, date, employee) {\n const {\n tasks,\n blockers,\n homeoffices\n } = this.generateTimelineEvents(subtasks, employee, date);\n const {\n nonWorkingHours\n } = this.generateTimelineNonWorkingHours(date, employee);\n return {\n tasks,\n blockers,\n nonWorkingHours,\n homeoffices\n };\n },\n getUnscheduledTime(subtasks) {\n let unscheduledTime = 0;\n subtasks.forEach(subtask => unscheduledTime += subtask.duration - subtask.spent_time);\n return unscheduledTime;\n },\n getScheduledTime(subtasks) {\n let scheduledTime = 0;\n subtasks.forEach(subtask => scheduledTime += subtask.spent_time);\n return scheduledTime;\n },\n isWeekend(date) {\n return moment__WEBPACK_IMPORTED_MODULE_1___default()(date).day() % 6 == 0;\n },\n generateTimelineEvents(subtasks, employee, date) {\n let blockers = [];\n const tasks = [];\n subtasks.forEach(subtask => {\n if (['blocker', 'adhoc', 'home_office', 'vacation', 'free_day', 'office365_blocker'].includes(subtask.type)) {\n blockers = [...blockers, ...this._generateEventsFromBlocker(subtask, date)];\n } else {\n subtask.timeblocks?.forEach(timeblock => {\n tasks.push(this._composeTimelineEvent(subtask, employee, date, timeblock));\n });\n }\n });\n return {\n tasks,\n blockers: blockers.filter(blocker => blocker.type != 'home_office'),\n homeoffices: blockers.filter(blocker => blocker.type == 'home_office')\n };\n },\n _composeTimelineEvent(subtask, employee, date, timeblock) {\n const diffInDays = (0,date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date, new Date(timeblock.start));\n // console.log('subtask', subtask.type)\n let type = 'subtask';\n if (subtask.type == 'office365') type = 'office365';\n return {\n id: subtask.id,\n start: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(new Date(timeblock.start), diffInDays),\n end: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(new Date(timeblock.end), diffInDays),\n master_task: subtask.master_task,\n date: new Date(timeblock.start),\n isWeekend: this.isWeekend(timeblock.start),\n initials: employee.name.charAt(0).toUpperCase() + employee.surname.charAt(0).toUpperCase(),\n split: this._getSplitFromDate(date, timeblock.start),\n project_code: subtask.project_code,\n subtask: subtask,\n type,\n _timeblock_id: timeblock.id,\n _timeblock_is_finished: timeblock.is_finished,\n _real_start: new Date(timeblock.start),\n _real_end: new Date(timeblock.end),\n draggable: type !== 'office365'\n };\n },\n _generateEventsFromBlocker(blocker, date) {\n const start = moment__WEBPACK_IMPORTED_MODULE_1___default()(blocker.start);\n const end = moment__WEBPACK_IMPORTED_MODULE_1___default()(blocker.end);\n const dates = start.isSame(end, 'date') ? [moment__WEBPACK_IMPORTED_MODULE_1___default()(start).format('YYYY-MM-DD')] : this._getDatesInRange(start, end);\n const blockers = dates.map(d => {\n const diffInDays = (0,date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date, new Date(d));\n const dStart = new Date(moment__WEBPACK_IMPORTED_MODULE_1___default()(d).set({\n hours: start.hours(),\n minutes: start.minutes()\n }).format('YYYY-MM-DD HH:mm'));\n const dEnd = new Date(moment__WEBPACK_IMPORTED_MODULE_1___default()(d).set({\n hours: end.hours(),\n minutes: end.minutes()\n }).format('YYYY-MM-DD HH:mm'));\n return {\n blocker,\n split: this._getSplitFromDate(date, d),\n start: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dStart, diffInDays),\n end: (0,date_fns__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dEnd, diffInDays),\Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var date
|
|||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".text-inherit[data-v-c3598ac4] {\\n color: inherit !important;\\n}\\n.event[data-v-c3598ac4] {\\n height: 100%;\\n}\\n.event__office-footer[data-v-c3598ac4] {\\n padding: 5px 15px;\\n}\\n.event__office-footer img[data-v-c3598ac4] {\\n height: 19px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n user-select: none;\\n}\\n.event .custom-event-body[data-v-c3598ac4] {\\n padding: 20px 10px;\\n width: 100%;\\n}\\n.event__footer[data-v-c3598ac4] {\\n flex-flow: row wrap;\\n justify-content: center;\\n alight-items: center;\\n padding-top: 15px;\\n border-top: 1px solid rgba(33, 33, 33, 0.08);\\n}\\n.event__footer__button[data-v-c3598ac4] {\\n box-shadow: none !important;\\n margin-bottom: 8px;\\n padding: 9px !important;\\n min-height: -moz-fit-content;\\n min-height: fit-content;\\n height: -moz-fit-content;\\n height: fit-content;\\n min-width: -moz-fit-content;\\n min-width: fit-content;\\n width: -moz-fit-content;\\n width: fit-content;\\n}\\n.event__footer__button.completed[data-v-c3598ac4] {\\n background: #06dece;\\n}\\n.event__footer__button img[data-v-c3598ac4] {\\n width: 18px;\\n}\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://jandl/./src/plugins/tm@dashboard/_components/a-timeline-event.vue?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-27.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-27.use%5B2%5D!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-27.use%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".text-inherit[data-v-c3598ac4] {\\n color: inherit !important;\\n}\\n.event[data-v-c3598ac4] {\\n height: 100%;\\n}\\n.event__office-footer[data-v-c3598ac4] {\\n padding: 5px 15px;\\n}\\n.event__office-footer img[data-v-c3598ac4] {\\n height: 19px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n user-select: none;\\n}\\n.event .custom-event-body[data-v-c3598ac4] {\\n padding: 20px 10px;\\n width: 100%;\\n}\\n.event__footer-wrapper[data-v-c3598ac4] {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n border-top: 1px solid rgba(33, 33, 33, 0.08);\\n}\\n.event__footer-wrapper__top[data-v-c3598ac4] {\\n padding: 10px 10px 0 10px;\\n}\\n.event__footer[data-v-c3598ac4] {\\n flex-flow: row wrap;\\n justify-content: center;\\n alight-items: center;\\n padding-top: 15px;\\n border-top: 1px solid rgba(33, 33, 33, 0.08);\\n}\\n.event__footer__button[data-v-c3598ac4] {\\n box-shadow: none !important;\\n margin-bottom: 8px;\\n padding: 9px !important;\\n min-height: -moz-fit-content;\\n min-height: fit-content;\\n height: -moz-fit-content;\\n height: fit-content;\\n min-width: -moz-fit-content;\\n min-width: fit-content;\\n width: -moz-fit-content;\\n width: fit-content;\\n}\\n.event__footer__button.completed[data-v-c3598ac4] {\\n background: #06dece;\\n}\\n.event__footer__button img[data-v-c3598ac4] {\\n width: 18px;\\n}\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://jandl/./src/plugins/tm@dashboard/_components/a-timeline-event.vue?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-27.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-27.use%5B2%5D!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-27.use%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vuecal[data-v-367dbc50] {\\n box-shadow: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] {\\n width: 100%;\\n height: 100%;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cells {\\n -ms-overflow-style: none;\\n scrollbar-width: none;\\n border-left: 1px solid rgba(0, 0, 0, 0.1);\\n padding-left: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cells::-webkit-scrollbar {\\n display: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__flex {\\n flex-wrap: nowrap !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column {\\n width: 80px;\\n box-shadow: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column .time-column-line {\\n width: 20px;\\n height: 0;\\n border: 1px solid rgba(33, 33, 33, 0.08);\\n margin-left: 10px;\\n}\\n@media (max-width: 450px) {\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column {\\n width: 70px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column .time-column-line {\\n width: 10px;\\n}\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cell:before {\\n border: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__scrollable-body {\\n position: relative;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__split-days-headers {\\n position: absolute;\\n top: 0;\\n left: 20px;\\n z-index: 999;\\n background: white;\\n padding-bottom: 15px;\\n width: calc(100% - 20px);\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cell-split {\\n margin-right: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header {\\n height: -moz-fit-content;\\n height: fit-content;\\n min-height: 100%;\\n padding-right: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .weekday-label {\\n justify-content: start !important;\\n font-size: 18px;\\n font-weight: 700;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .day-name {\\n text-align: left;\\n font-size: 17px;\\n font-weight: 500;\\n text-transform: capitalize;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time {\\n background: rgba(0, 0, 0, 0.04);\\n border-radius: 24px;\\n padding: 10px 10px;\\n margin-top: 10px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap {\\n width: -moz-min-content;\\n width: min-content;\\n margin-left: 12px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap h1 {\\n font-size: 14px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap p {\\n font-weight: 400;\\n font-size: 15px;\\n line-height: normal;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .unscheduled-time-initials {\\n width: 30px;\\n height: 30px;\\n background: #6200EE;\\n border-radius: 50%;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .unscheduled-time-initials p {\\n font-weight: 400;\\n font-size: 15px;\\n color: white;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body {\\n -ms-overflow-style: none;\\n scrollbar-width: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body::-webkit-scrollbar {\\n display: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__now-line {\\n display: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal:not(.vuecal--day-view) .vuecal__cell--selected:not(.vuecal__cell--today),\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--current:not(.vuecal__cell--today),\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--today,\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--highl
Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vuecal[data-v-367dbc50] {\\n box-shadow: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] {\\n width: 100%;\\n height: 100%;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cells {\\n -ms-overflow-style: none;\\n scrollbar-width: none;\\n border-left: 1px solid rgba(0, 0, 0, 0.1);\\n padding-left: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cells::-webkit-scrollbar {\\n display: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__flex {\\n flex-wrap: nowrap !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column {\\n width: 80px;\\n box-shadow: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column .time-column-line {\\n width: 20px;\\n height: 0;\\n border: 1px solid rgba(33, 33, 33, 0.08);\\n margin-left: 10px;\\n}\\n@media (max-width: 450px) {\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column {\\n width: 70px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__time-column .time-column-line {\\n width: 10px;\\n}\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cell:before {\\n border: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__scrollable-body {\\n position: relative;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__split-days-headers {\\n position: absolute;\\n top: 0;\\n left: 20px;\\n z-index: 999;\\n background: white;\\n padding-bottom: 15px;\\n width: calc(100% - 20px);\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__cell-split {\\n margin-right: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header {\\n height: -moz-fit-content;\\n height: fit-content;\\n min-height: 100%;\\n padding-right: 20px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .weekday-label {\\n justify-content: start !important;\\n font-size: 18px;\\n font-weight: 700;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .day-name {\\n text-align: left;\\n font-size: 17px;\\n font-weight: 500;\\n text-transform: capitalize;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time {\\n background: rgba(0, 0, 0, 0.04);\\n border-radius: 24px;\\n padding: 10px 10px;\\n margin-top: 10px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap {\\n width: -moz-min-content;\\n width: min-content;\\n margin-left: 12px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap h1 {\\n font-size: 14px;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .text-wrap p {\\n font-weight: 400;\\n font-size: 15px;\\n line-height: normal;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .unscheduled-time-initials {\\n width: 30px;\\n height: 30px;\\n background: #6200EE;\\n border-radius: 50%;\\n}\\n.calendar-wrapper[data-v-367dbc50] .day-split-header .unscheduled-time .unscheduled-time-initials p {\\n font-weight: 400;\\n font-size: 15px;\\n color: white;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body {\\n -ms-overflow-style: none;\\n scrollbar-width: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body::-webkit-scrollbar {\\n display: none;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__now-line {\\n display: none !important;\\n}\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal:not(.vuecal--day-view) .vuecal__cell--selected:not(.vuecal__cell--today),\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--current:not(.vuecal__cell--today),\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--today,\\n.calendar-wrapper[data-v-367dbc50] .vuecal__body .vuecal__cell--highl
Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"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: 2,\n class: \"d-flex align-center\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"ml-1\"\n};\nconst _hoisted_11 = {\n key: 3,\n class: \"d-flex align-center mt-1\"\n};\nconst _hoisted_12 = {\n key: 0,\n class: \"event__office-footer\"\n};\nconst _hoisted_13 = [\"src\"];\nconst _hoisted_14 = {\n class: \"event__footer d-flex\"\n};\nconst _hoisted_15 = [\"src\"];\nconst _hoisted_16 = [\"src\"];\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = [\"src\"];\nconst _hoisted_20 = [\"src\"];\nconst _hoisted_21 = [\"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, STYLLine truncated
|
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: \"event__footer-wrapper__top\"\n};\nconst _hoisted_7 = {\n class: \"d-flex align-center event-details event-initials-wrapper\"\n};\nconst _hoisted_8 = {\n class: \"text-inherit\"\n};\nconst _hoisted_9 = {\n class: \"event-initials-date text-inherit\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"d-flex align-center\"\n};\nconst _hoisted_11 = {\n key: 0,\n class: \"ml-1\"\n};\nconst _hoisted_12 = {\n key: 1,\n class: \"d-flex align-center mt-1\"\n};\nconst _hoisted_13 = {\n key: 0,\n class: \"event__office-footer\"\n};\nconst _hoisted_14 = [\"src\"];\nconst _hoisted_15 = {\n class: \"event__footer d-flex\"\n};\nconst _hoisted_16 = [\"src\"];\nconst _hoisted_17 = [\"src\"];\nconst _hoisted_18 = [\"src\"];\nconst _hoisted_19 = [\"src\"];\nconst _hoisted_20 = [\"src\"];\nconst _hoisted_21 = [\"src\"];\nconst _hoisted_22 = [\"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__.toDispLine truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"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\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-367dbc50\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"calendar-wrapper\"\n};\nconst _hoisted_2 = {\n class: \"w-[120px] h-100 d-flex flex-column\"\n};\nconst _hoisted_3 = {\n key: 0,\n class: \"d-flex align-center\"\n};\nconst _hoisted_4 = [\"src\"];\nconst _hoisted_5 = {\n class: \"weekday-label\"\n};\nconst _hoisted_6 = {\n key: 1,\n class: \"d-flex align-center\"\n};\nconst _hoisted_7 = [\"src\"];\nconst _hoisted_8 = {\n class: \"weekday-label\"\n};\nconst _hoisted_9 = {\n key: 2\n};\nconst _hoisted_10 = {\n class: \"day-name\"\n};\nconst _hoisted_11 = {\n class: \"unscheduled-time-initials d-flex align-center justify-center\"\n};\nconst _hoisted_12 = {\n class: \"text-wrap me-4\"\n};\nconst _hoisted_13 = {\n class: \"mb-0 mt-0 unscheduled-time-name\"\n};\nconst _hoisted_14 = {\n class: \"mb-0 mt-0\"\n};\nconst _hoisted_15 = {\n class: \"d-flex justify-center\"\n};\nconst _hoisted_16 = {\n class: \"d-flex justify-center\"\n};\nconst _hoisted_17 = {\n style: {\n \"margin-top\": \"-9px\"\n }\n};\nconst _hoisted_18 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"time-column-line\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_19 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line hour\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_20 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"25px\"\n }\n}, null, -1 /* HOISTED */));\nconst _hoisted_21 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"50px\"\n }\n}, null, -1 /* HOISTED */));\nconst _hoisted_22 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"75px\"\n }\n}, null, -1 /* HOISTED */));\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_A_timeline_event = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"A-timeline-event\");\n const _component_Vue_cal = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"Vue-cal\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Vue_cal, {\n \"hide-view-selector\": true,\n \"hide-title-bar\": true,\n \"disable-views\": ['years', 'year', 'month', 'week'],\n \"active-view\": \"day\",\n \"selected-date\": $props.calConfig.date,\n onEventClick: $options.taskClicked,\n \"editable-events\": $data.vueCalConfig.editing,\n events: $props.calData.tasks,\n unscheduledTime: $props.calData.unscheduled_times,\n \"overlaps-per-time-step\": false,\n showTimeInCells: false,\n \"time-cell-height\": $data.timeCellHeight,\n \"snap-to-time\": 15,\n \"scroll-to-hour\": $props.calConfig.scrollHour,\n \"split-days\": $props.splits,\n \"sticky-split-labels\": true,\n \"min-split-width\": 140,\n onReady: _cache[0] || (_cache[0] = $event => $options.onReady()),\n onViewChange: $options.weekChanged,\n onEventDrop: $options.eventMoved,\n onEventFocus: $options.eventFocused\n }, {\n \"split-label\": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n split\n }) => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [split.date ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_3, [split.isHomeoffice ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 0,\n src: __webpack_require__(/*! @/plugins/app/_img/icons/home.svg */ \"./src/plugins/app/_img/icons/home.svg\"),\n class: \"mr-2\"\n }, null, 8 /* PROPS */, _hoisted_4)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($options.getHeadingDate(split.date)), 1 /* TEXT */)])) : ((0,vue_Line truncated
|
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\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-367dbc50\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"calendar-wrapper\"\n};\nconst _hoisted_2 = {\n class: \"w-[120px] h-100 d-flex flex-column\"\n};\nconst _hoisted_3 = {\n key: 0,\n class: \"d-flex align-center\"\n};\nconst _hoisted_4 = [\"src\"];\nconst _hoisted_5 = {\n class: \"weekday-label\"\n};\nconst _hoisted_6 = {\n key: 1,\n class: \"d-flex align-center\"\n};\nconst _hoisted_7 = [\"src\"];\nconst _hoisted_8 = {\n class: \"weekday-label\"\n};\nconst _hoisted_9 = {\n key: 2\n};\nconst _hoisted_10 = {\n class: \"day-name\"\n};\nconst _hoisted_11 = {\n class: \"unscheduled-time-initials d-flex align-center justify-center\"\n};\nconst _hoisted_12 = {\n class: \"text-wrap me-4\"\n};\nconst _hoisted_13 = {\n class: \"mb-0 mt-0 unscheduled-time-name\"\n};\nconst _hoisted_14 = {\n class: \"mb-0 mt-0\"\n};\nconst _hoisted_15 = {\n class: \"mb-0 mt-0\",\n style: {\n \"font-weight\": \"400\"\n }\n};\nconst _hoisted_16 = {\n class: \"d-flex justify-center\"\n};\nconst _hoisted_17 = {\n class: \"d-flex justify-center\"\n};\nconst _hoisted_18 = {\n style: {\n \"margin-top\": \"-9px\"\n }\n};\nconst _hoisted_19 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"time-column-line\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_20 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line hour\"\n}, null, -1 /* HOISTED */));\nconst _hoisted_21 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"25px\"\n }\n}, null, -1 /* HOISTED */));\nconst _hoisted_22 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"50px\"\n }\n}, null, -1 /* HOISTED */));\nconst _hoisted_23 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"vuecal__time-cell-line\",\n style: {\n \"margin-top\": \"75px\"\n }\n}, null, -1 /* HOISTED */));\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_A_timeline_event = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"A-timeline-event\");\n const _component_Vue_cal = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"Vue-cal\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Vue_cal, {\n \"hide-view-selector\": true,\n \"hide-title-bar\": true,\n \"disable-views\": ['years', 'year', 'month', 'week'],\n \"active-view\": \"day\",\n \"selected-date\": $props.calConfig.date,\n onEventClick: $options.taskClicked,\n \"editable-events\": $data.vueCalConfig.editing,\n events: $props.calData.tasks,\n unscheduledTime: $props.calData.unscheduled_times,\n \"overlaps-per-time-step\": false,\n showTimeInCells: false,\n \"time-cell-height\": $data.timeCellHeight,\n \"snap-to-time\": 15,\n \"scroll-to-hour\": $props.calConfig.scrollHour,\n \"split-days\": $props.splits,\n \"sticky-split-labels\": true,\n \"min-split-width\": 140,\n onReady: _cache[0] || (_cache[0] = $event => $options.onReady()),\n onViewChange: $options.weekChanged,\n onEventDrop: $options.eventMoved,\n onEventFocus: $options.eventFocused\n }, {\n \"split-label\": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(({\n split\n }) => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [split.date ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_3, [split.isHomeoffice ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 0,\n src: __webpack_require__(/*! @/plugins/app/_img/icons/home.svg */ \"./src/plugins/app/_img/icons/home.svg\"),\n class: \"mr-2\"\n }, null, 8 /* PROPS */, _hoisted_4)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", _hoisted_5, (0,vue__WEBPACK_IMPLine truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _plu
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components_a_tasks_filter_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_components/a-tasks-filter.vue */ \"./src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue\");\n/* harmony import */ var _plugins_tm_dashboard_components_z_timeline_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@dashboard/_components/z-timeline.vue */ \"./src/plugins/tm@dashboard/_components/z-timeline.vue\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/subDays/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/addDays/index.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_utils/timeline.utils */ \"./src/plugins/tm@dashboard/tasks/_utils/timeline.utils.ts\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _mixins_Filter_mixin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_mixins/Filter.mixin */ \"./src/plugins/tm@dashboard/_mixins/Filter.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mixins: [_mixins_Filter_mixin__WEBPACK_IMPORTED_MODULE_5__[\"default\"]],\n components: {\n ATaskFilter: _components_a_tasks_filter_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n ZTimeline: _plugins_tm_dashboard_components_z_timeline_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n data() {\n return {\n hideCal: false,\n filter: null,\n subtasks: null,\n config: {\n date: (0,date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(new Date(), 1),\n scrollHour: 7\n }\n };\n },\n computed: {\n ...(0,vuex__WEBPACK_IMPORTED_MODULE_7__.mapGetters)('auth', ['user']),\n splitDays() {\n const days = [];\n const homeoffice = {};\n const schedulesCapacityBySplit = {};\n const now = moment__WEBPACK_IMPORTED_MODULE_3___default()();\n const dailyCapacityMinutes = (this.user.work_end - this.user.work_start) * 60;\n this.timelineData.tasks.forEach(task => {\n if (task.type == 'non-working-hours' || task.subtask?.is_finished || task.blocker?.is_finished) return;\n if (!schedulesCapacityBySplit[task.split]) schedulesCapacityBySplit[task.split] = 0;\n if (now.isAfter(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_end))) {\n // Ignore elapsed task\n return;\n } else if (now.isAfter(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_start)) && now.isBefore(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_end))) {\n // Task in progress\n schedulesCapacityBySplit[task.split] += _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__[\"default\"]._getDifferenceInMinutes(task._real_end, new Date());\n } else {\n // Future task\n schedulesCapacityBySplit[task.split] += _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n }\n });\n schedulesCapacityBySplit[1] = 0; // Set YESTERDAY value to 0\n\n this.timelineData.homeoffices.forEach(task => {\n homeoffice[task.split - 1] = true;\n });\n for (let i = 0; i < 7; i++) {\n if (!schedulesCapacityBySplit[i + 1]) schedulesCapacityBySplit[i + 1] = 0;\n let unscheduledTime;\n const date = moment__WEBPACK_IMPORTED_MODULE_3___default()((0,date_fns__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(this.filter.start, i));\n if (date.isBefore(moment__WEBPACK_IMPORTED_MODULE_3___default()(), 'days')) {\n // Yesterday\n unscheduledTime = 0;\n } else if (date.isSame(moment__WEBPACK_IMPORTED_MODULE_3___default()(), 'days')) {\n // Today\n const elapsedMinutes = now.diff(now.clone().startOf('day'), 'minutes
Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components_a_tasks_filter_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_components/a-tasks-filter.vue */ \"./src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue\");\n/* harmony import */ var _plugins_tm_dashboard_components_z_timeline_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@dashboard/_components/z-timeline.vue */ \"./src/plugins/tm@dashboard/_components/z-timeline.vue\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/subDays/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/esm/addDays/index.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_utils/timeline.utils */ \"./src/plugins/tm@dashboard/tasks/_utils/timeline.utils.ts\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm-bundler.js\");\n/* harmony import */ var _mixins_Filter_mixin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_mixins/Filter.mixin */ \"./src/plugins/tm@dashboard/_mixins/Filter.mixin.ts\");\n/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ \"./node_modules/console-browserify/index.js\");\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mixins: [_mixins_Filter_mixin__WEBPACK_IMPORTED_MODULE_5__[\"default\"]],\n components: {\n ATaskFilter: _components_a_tasks_filter_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n ZTimeline: _plugins_tm_dashboard_components_z_timeline_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n data() {\n return {\n hideCal: false,\n filter: null,\n subtasks: null,\n config: {\n date: (0,date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(new Date(), 1),\n scrollHour: 7\n }\n };\n },\n computed: {\n ...(0,vuex__WEBPACK_IMPORTED_MODULE_7__.mapGetters)('auth', ['user']),\n splitDays() {\n const days = [];\n const homeoffice = {};\n const schedulesCapacityBySplit = {};\n const now = moment__WEBPACK_IMPORTED_MODULE_3___default()();\n const dailyCapacityMinutes = (this.user.work_end - this.user.work_start) * 60;\n this.timelineData.tasks.forEach(task => {\n if (task.type == 'non-working-hours' || task.subtask?.is_finished || task.blocker?.is_finished) return;\n if (!schedulesCapacityBySplit[task.split]) schedulesCapacityBySplit[task.split] = 0;\n if (now.isAfter(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_end))) {\n // Ignore elapsed task\n return;\n } else if (now.isAfter(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_start)) && now.isBefore(moment__WEBPACK_IMPORTED_MODULE_3___default()(task._real_end))) {\n // Task in progress\n schedulesCapacityBySplit[task.split] += _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__[\"default\"]._getDifferenceInMinutes(task._real_end, new Date());\n } else {\n // Future task\n schedulesCapacityBySplit[task.split] += _utils_timeline_utils__WEBPACK_IMPORTED_MODULE_4__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n }\n });\n schedulesCapacityBySplit[1] = 0; // Set YESTERDAY value to 0\n\n this.timelineData.homeoffices.forEach(task => {\n homeoffice[task.split - 1] = true;\n });\n for (let i = 0; i < 7; i++) {\n if (!schedulesCapacityBySplit[i + 1]) schedulesCapacityBySplit[i + 1] = 0;\n let unscheduledTime;\n const date = moment__WEBPACK_IMPORTED_MODULE_3___default()((0,date_fns__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(this.filter.start, i));\n if (date.isBefore(moment__WEBPACK_IMPORTED_MODULE_3___default()(), 'days')) {\n // Yesterday\n unscheduledTime = 0;\n } else if (date.isSame(moment__WEBPACK_IMPORTED_MODULE_3___default()(), 'days')) {\n // Today\n const elapsedMinutes = now.diff(now.clone().startOf('day'), 'minutes
Line truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\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 _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@dashboard/tasks/_utils/timeline.utils */ \"./src/plugins/tm@dashboard/tasks/_utils/timeline.utils.ts\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n computed: {\n calendarData() {\n if (!this.subtasks || !this.blockers) return;\n const blockers = this._generateBlockers();\n return {\n tasks: [...this._generateNonWorking(), ...this._generateTasks(), ...blockers.filter(blocker => blocker.type != 'home_office')],\n homeoffices: [...blockers.filter(blocker => blocker.type == 'home_office')]\n };\n },\n splitDays() {\n const days = [];\n const homeoffice = {};\n const now = moment__WEBPACK_IMPORTED_MODULE_1___default()();\n this.filter.team.employees.forEach((employee, index) => {\n const selectedDate = moment__WEBPACK_IMPORTED_MODULE_1___default()(this.filter.start);\n const capacityMinutes = this._getRemainingWorkCapacityMinutes(employee);\n let scheduledCapacityMinutes = 0;\n this.calendarData.tasks.forEach(task => {\n // console.log(task)\n if (task.subtask?.employee_id != employee.id && task.blocker?.employee?.id != employee.id) return;\n if (task.type == 'non-working-hours' || task.subtask?.is_finished || task.blocker?.is_finished) return;\n if (selectedDate.isBefore(moment__WEBPACK_IMPORTED_MODULE_1___default()(), 'days')) {\n // Past\n return;\n } else if (selectedDate.isSame(moment__WEBPACK_IMPORTED_MODULE_1___default()(), 'days')) {\n // Today\n } else {\n scheduledCapacityMinutes += _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n }\n });\n this.calendarData.homeoffices.forEach(task => {\n if (task.blocker.employee?.id != employee.id) return;\n homeoffice[task.split] = true;\n });\n const unscheduledTime = capacityMinutes - scheduledCapacityMinutes;\n days.push({\n id: index + 1,\n name: employee.name,\n employee_id: employee.id,\n date: this.filter.start,\n fullname: `${employee.name} ${employee.surname}`,\n initials: employee.name.charAt(0).toUpperCase() + employee.surname.charAt(0).toUpperCase(),\n unscheduledTime: unscheduledTime > 0 ? (unscheduledTime / 60).toFixed(1) : 0,\n isHomeoffice: homeoffice[index + 1] ? true : false\n });\n });\n return days;\n }\n },\n methods: {\n _generateNonWorking() {\n const nonWorkingHours = [];\n const date = new Date(this.filter.start);\n let earliestHour = null;\n this.calendarConfig.date = date;\n const {\n start: dayStart,\n end: dayEnd\n } = this._getDayStartEnd();\n this.filter.team.employees.forEach((employee, index) => {\n if (!earliestHour || employee.work_start < earliestHour) earliestHour = employee.work_start;\n nonWorkingHours.push({\n title: \"Non working hours\",\n start: dayStart,\n end: this._setMinutesToDate((employee.work_start + 0.1) * 60),\n split: index + 1,\n type: 'non-working-hours',\n draggable: false\n });\n nonWorkingHours.push({\n title: \"Non working hours\",\n start: this._setMinutesToDate((employee.work_end + 0.1) * 60),\n end: dayEnd,\n split: index + 1,\n type: 'non-working-hours',\n draggable: false\n });\n });\n this.calendarConfig.scrollHour = earliestHour - 1;\n return nonWorkingHours;\n },\n _generateTasks() {\n const tasks = [];\n const calendarDate = moment__WEBPACK_IMPORTED_MODULE_1___default()(this.filter.start).format('DD-MM-YYYY');\n this.subtasks.forEach(subtask => {\n let split = null;\n let employee = null;\n this.filter.team.employees.forEach((e, index) => {\n if (e.id == subtask.employee_id) {\n split = index + 1;\n
Line truncated
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\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 _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/plugins/tm@dashboard/tasks/_utils/timeline.utils */ \"./src/plugins/tm@dashboard/tasks/_utils/timeline.utils.ts\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n computed: {\n calendarData() {\n if (!this.subtasks || !this.blockers) return;\n const blockers = this._generateBlockers();\n return {\n tasks: [...this._generateNonWorking(), ...this._generateTasks(), ...blockers.filter(blocker => blocker.type != 'home_office')],\n homeoffices: [...blockers.filter(blocker => blocker.type == 'home_office')]\n };\n },\n splitDays() {\n const days = [];\n const homeoffice = {};\n const now = moment__WEBPACK_IMPORTED_MODULE_1___default()();\n this.filter.team.employees.forEach((employee, index) => {\n const selectedDate = moment__WEBPACK_IMPORTED_MODULE_1___default()(this.filter.start);\n const capacityMinutes = this._getRemainingWorkCapacityMinutes(employee);\n let scheduledCapacityMinutes = 0;\n let totalScheduledTime = 0;\n this.calendarData.tasks.forEach(task => {\n // console.log(task)\n if (task.subtask?.employee_id != employee.id && task.blocker?.employee?.id != employee.id) return;\n if (task.type == 'non-working-hours' || task.subtask?.is_finished || task.blocker?.is_finished) return;\n if (selectedDate.isBefore(moment__WEBPACK_IMPORTED_MODULE_1___default()(), 'days')) {\n totalScheduledTime += _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n // Past\n return;\n } else if (selectedDate.isSame(moment__WEBPACK_IMPORTED_MODULE_1___default()(), 'days')) {\n totalScheduledTime += _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n // Today\n } else {\n scheduledCapacityMinutes += _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n totalScheduledTime += _plugins_tm_dashboard_tasks_utils_timeline_utils__WEBPACK_IMPORTED_MODULE_2__[\"default\"]._getDifferenceInMinutes(task._real_end, task._real_start);\n }\n });\n this.calendarData.homeoffices.forEach(task => {\n if (task.blocker.employee?.id != employee.id) return;\n homeoffice[task.split] = true;\n });\n const unscheduledTime = capacityMinutes - scheduledCapacityMinutes;\n days.push({\n id: index + 1,\n name: employee.name,\n employee_id: employee.id,\n date: this.filter.start,\n fullname: `${employee.name} ${employee.surname}`,\n initials: employee.name.charAt(0).toUpperCase() + employee.surname.charAt(0).toUpperCase(),\n unscheduledTime: unscheduledTime > 0 ? (unscheduledTime / 60).toFixed(1) : 0,\n scheduledTime: totalScheduledTime > 0 ? (totalScheduledTime / 60).toFixed(1) : 0,\n isHomeoffice: homeoffice[index + 1] ? true : false\n });\n });\n return days;\n }\n },\n methods: {\n _generateNonWorking() {\n const nonWorkingHours = [];\n const date = new Date(this.filter.start);\n let earliestHour = null;\n this.calendarConfig.date = date;\n const {\n start: dayStart,\n end: dayEnd\n } = this._getDayStartEnd();\n this.filter.team.employees.forEach((employee, index) => {\n if (!earliestHour || employee.work_start < earliestHour) earliestHour = employee.work_start;\n nonWorkingHours.push({\n title: \"Non working hours\",\n start: dayStart,\n end: this._setMinutesToDate((employee.work_start + 0.1) * 60),\n split: index + 1,\n type: 'non-working-hours',\n draggable: false\n });\n nonWorkingHours.push({\n title: \"Non working hours\",\n start: this._setMinutLine truncated
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ export default {
|
|||||||
},
|
},
|
||||||
'$route.query': {
|
'$route.query': {
|
||||||
handler(_, oldValue) {
|
handler(_, oldValue) {
|
||||||
if (oldValue?.subtask?.length) {
|
if (oldValue?.subtask?.length && this.mastertask?.id) {
|
||||||
this.loadMastertask(this.mastertask.id);
|
this.loadMastertask(this.mastertask.id);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user