{"version":3,"sources":["webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?5b63","webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/uikit/Table/TableLabel.vue?b7e1","webpack:///./src/common/documentSection/sectionData.js","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?8c08","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?415d","webpack:///src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue","webpack:///./src/views/Sickleaves/SickleavesMain.vue?054a","webpack:///./src/views/Sickleaves/SickleavesMain.vue?f686","webpack:///src/views/Sickleaves/SickleavesMain.vue","webpack:///./src/views/Sickleaves/SickleavesMain.vue","webpack:///./src/common/documentSection/documentTableHelpers.js","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/DataGrid.vue?4bda","webpack:///./src/components/uikit/UiLoader/index.js","webpack:///./src/components/DataGrid.vue?3c2d","webpack:///./src/common/document/useDocument.js","webpack:///./src/components/WorkflowActions.vue?aea7","webpack:///./src/common/actionCheck.js","webpack:///./src/components/WorkflowActions.vue?feed","webpack:///src/components/WorkflowActions.vue","webpack:///./src/common/device/checkDevice.js","webpack:///./src/components/WorkflowActions.vue","webpack:///./src/components/VTextareaEng.vue?6134","webpack:///./src/components/VTextareaEng.vue?15d3","webpack:///src/components/VTextareaEng.vue","webpack:///./src/components/VTextareaEng.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?4557","webpack:///./src/components/uikit/DragAndDrop/props.js","webpack:///src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?5b64","webpack:///./src/components/uikit/DragAndDrop/useDragAndDrop.js","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/index.js","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?fdb4","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue?7dad","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue?c25d","webpack:///src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue","webpack:///./src/components/WorkflowActions.vue?c6a6","webpack:///./src/components/FileLoader.vue?15e3","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue?8b37","webpack:///src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue?49c2","webpack:///./src/components/FileLoader.vue?889a","webpack:///src/components/FileLoader.vue","webpack:///./src/components/FileLoader.vue","webpack:///./src/common/workflow/workflowHelpers.js","webpack:///./src/common/notification/useNotification.js","webpack:///./src/components/FileLoader.vue?f19b","webpack:///./src/components/uikit/Table/TableLabel.vue?0eb7","webpack:///./src/components/DataGrid.vue?8134","webpack:///./src/components/uikit/Table/TableLabel.vue?25a8","webpack:///src/components/uikit/Table/TableLabel.vue","webpack:///./src/components/uikit/Table/TableLabel.vue","webpack:///./src/components/uikit/Table/TableLabel.vue?8a1f","webpack:///src/components/DataGrid.vue","webpack:///./src/components/DataGrid.vue?d2ad","webpack:///./src/components/DataGrid.vue","webpack:///./src/components/FileLoader.vue?9c55","webpack:///./src/common/paper/useDocumentSign.js"],"names":["module","exports","getSectionData","section","role","dispatch","store","Promise","all","getSectionTypeList","state","app","documentTypes","length","filter","i","object_id","startsWith","components","UiMenu","UiBtn","_vm","this","_h","$createElement","_c","_self","class","$style","Td","attrs","scopedSlots","_u","key","fn","ref","props","_b","BtnBoard","_t","context","locals","name","DataGrid","WorkflowActions","BtnActionGrid","setup","t","tt","getFormattedDate","getDocumentEditableWorkflow","getAvailableWorkflow","data","computed","profile","$store","getters","getProfile","isPowerUser","businessRole","roleHelpers","isHr","paramData","param","businessRoleFlag","isCanCreate","documentTableHelpers","created","own","$route","meta","sub","init","methods","editItem","item","$router","push","params","id","deleteItem","manager_as_employee","responsible_id","commit","changeWorkflow","status_id","workflow","indicators","refreshData","gridPagination","opt","indexOf","$set","itemIncomplete","initFinal","gridModel","initialized","component","on","_v","_s","proxy","start_date","end_date","nativeOn","$event","_e","sectionName","showError","text","color","timeout","debug","checkCanCreateTableItemByStatus","workflowSectionList","roles","getRoleByRouteMeta","Object","keys","workflowList","workflowItem","find","status","object","STATUS_NAME","empty","Number","editable","UiLoader","useDocument","document","useStore","route","useRoute","useLanguage","isRev","rev","requestTypeName","docDescription","statuses","APP_GET_PROP","docStatus","value","statusText","docDate","moment","date","format","docStatusDate","status_date","employeeName","helpers","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","APP_GET_AVAILABLE_WORKFLOW","business_role","all_types","document_type_id","subordination","employee_id","type","check","vacation_schedule","message","callback","console","log","vacation_validate_full_month","next_status_id","vacations","vacation_schedule_period","replaced","replaced_vacation_ids","totalDays","totalWeekendDays","forEach","vacationItem","document_type_name_eng","days","weekendDays","APP_GET_DATEDIFF","startDate","endDate","dailyInfo","allowedWeekendDays","i18n","vacation_validate_unallocated_schedule","vacationLimits","period","limitItem","vacationsByType","reduce","sum","unsaved","norma","checkActionForbiddenPeriod","prepareData","updateItem","registrator_id","workflow_id","creator_id","organization_id","message_text","comment_text","message_text_eng","comment_text_eng","vacation_validate_process_schedule_together","TableService","add","link","router","diff","reject","vacation_correction","vacation2","includes","vacation_validate_unallocated_correction","parentVacations","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","documentType","documentHelpers","getDocumentTypeData","documentTypeCode","code","isForSign","signHelpers","checkIsSignWorkflow","isEng","localeHelpers","comments","comments_eng","commentsEng","validateComment","getTextByAlias","files","checkFileAttached","overtime","docType","isNextWorkflow","detail","checkbox_work_agreement_actioncheck_require","details","work_on_holiday_agreement","checkbox_denial_confirm_actioncheck_require","work_denial_confirm","btrip","warningText","is_weekend_included","isBtripMultiDestination","isBtripRequireExpense","btrip_require_expense","btripDateDisable","btrip_date_disable","docDetails","tripList","trip_destination_requests","tripListLast","lastTripLeaveDate","leave_on","innerText","checkValidDocument","otherBtripsWithoutExpence","dateBtripDateDisable","isAfter","checkDocument","estimate","goalsList","goals","valuationList","valuation","goalsWeight","goalsWeightTotal","planningGoalsWeight","planningGoalsWeightTotal","planningGoalsList","planningGoals","formLayoutTabs","layoutTabList","layout_tab","trim","split","list","element","findTab","isPlanningGoalsTab","isGoalsTab","isTypeYearly","isTypeInterim","isFinal","is_final","isGoalsList","isGoalsWeight","isPlanningGoalsWeight","isPlanGoalsList","isGoalSelfEsteem","isGoalAssessment","isValuationSelfEsteem","isValuationAssessment","isVinyl","client","url","history","current","selfEsteem","self_esteem","assessment","checkSubFields","checkEmployeeFields","material_assistance","absence","absence_validate","sickleave","paramHelpers","paramCheckSickleaveNumberOnClose","statement","statements","errorAlias","dismissalType","VTextareaEng","ModalSigning","FileLoader","String","default","documentName","disabled","Boolean","loading","availableWorkflow","Array","isRejectPrimary","isPrevStepDisabled","isLocalSigning","emits","showErrorNotification","locale","isSignature","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","hooksDocument","watch","submitMessageDialog","val","editableItem","processFinal","workflowColor","getRequestData","request_type_code","requestTypeCode","test","navigator","userAgent","Workflow","_l","$attrs","btnClass","loadingLocal","$vuetify","breakpoint","smAndDown","undefined","handleChangeWorkflow","staticClass","isLocalModalSigning","process","model","$$v","showMessageDialog","expression","modelMessage","text_eng","valueEng","handleFileLoaderClose","downloadOptions","modelValue","setEng","slotAppend","messageText","changeLocale","update","emit","isWebpack","label","hint","apply","arguments","required","isDisabled","items","draggedIndex","onDragStart","event","index","dataTransfer","effectAllowed","setData","onDragOver","draggedItem","splice","onDrop","onDragEnd","newVal","newItems","deep","preventDefault","DragAndDrop","AppTooltip","icon","isArchive","downloadIcon","downloadHelpText","handleClick","e","stopPropagation","tooltipText","ButtonDownloadDoc","ButtonPrint","preview","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","modalTitle","fileOriginalName","handler","newValue","method","oldValue","beforeUnmount","close","showDialog","localUrl","fileName","$emit","download","href","setAttribute","body","appendChild","click","print","iframe","contentWindow","iframePrepare","contentDocument","iframeBody","getElementsByTagName","children","img","tagName","width","style","container","wrapper","card","header","headerTitle","headerButton","inner","iframeScale","content","subtitle","sign","handleOpenModalSigning","getBusinessRole","objectIdDoc","getObjectId","payload","nameRole","objectID","nameTable","table","el","disable_grid_button","a","b","doc","checkIsDeletedWorkflow","delete_allowed","useNotification","errorText","active","iconColor","desc","iconDesc","setColor","setDescIcon","Content","$t","IconSort","title","titleIcon","itemTitle","toolbarModel","Function","disableCreateItem","disableEditItem","disableDeleteItem","ignoreSavedFilters","disableWorkflow","isDisableActions","watchRefresh","Date","isStepBack","isToolbar","compareList","compareArrayName","requiredList","numbersList","StepBack","TableLabel","from","sortModel","propsTitle","sectionIcon","pageTitle","pagePreTitle","defineEng","slotChip","slotHeaders","getDateAndTime","sortModelList","gridHeaderList","filterList","filterOpened","visibleFix","handleFilter","grid","handleApplyFilter","map","filters","formatName","isManager","isAdmin","isAccountant","isSub","isAvailableCSV","filterDefined","headerItem","defined","visibilityModelList","visibilityModel","sortList","itemsPerPage","defaultRowsNumber","dialogConfirmOK","oper","assign","editedItem","rowKey","clearItems","findIndex","parentComponent","initialize","saveLayouts","handleDate","layout","checkModel","beforeRefresh","storeVisib","setTimeout","visible","storeSortModel","dialogEdit","dialogConfirm","dialogClose","isDuplicateError","sortItemClick","sortItem","modelItem","saveModel","visibilityItemClick","visibilityItem","visibilityDraggingEnd","sortDraggingEnd","headerItemPrepared","applySearch","search","exists","searchoptions","multiple","nextMonth","setMonth","getMonth","lastMonth","existsOneFilter","obj","formatStr","edittype","lookupItem","formatValue","itemText","formatoptions","$n","toFixed","jsonmap","filterItem","oneOr","allOr","filterStr","exportToCSV","hidelist","isServiceField","dataItem","prop","disableCSVLookup","dataExport","serviceFields","columns","delimiter","csv","today","setMinutes","getMinutes","getTimezoneOffset","tempLink","encodeURI","updateColModel","objectModel","align","fixed","resizable","sortable","sortorder","sorttype","itemModel","numorder","itemModelDefault","Math","max","hidedlg","editoptions","item_value","item_text","uniqItems","existsItems","elName","operator","itemKey","itemSelected","that","gridModelUpdated","numericRules","Toolbar","BtnBort","mdAndUp","toolbarItem","hidden","visibilityOpened","Card","Subtitle","BtnList","ActiveCard","sortOpened","clearCache","TableLoader","FooterCompactVue2","FooterCompact","itemsPerPageOptions","Top","TextOverflow","Select","raw","CheckBox","disabledItem","disabledChips","Headers","Headers__actions","Headers__status","prependIcon","prependClick","classModule","appendIcon","appendClick","indicatorColor","prependIconColor","p","BtnPlus","staticStyle","indexItem","mask","CardActions","saveItem","actionClose","actionSave","useDocumentSign","checkSignAvailable","file_name","checkFileSigned"],"mappings":"gHACAA,EAAOC,QAAU,CAAC,SAAW,iCAAiC,GAAK,6B,uBCAnED,EAAOC,QAAU,CAAC,SAAW,qC,oCCD7B,oE,mFCEe,KAEPC,eAFO,SAESC,EAASC,GAAM,wHAC3BC,EAAaC,IAAbD,SAD2B,SAG7BE,QAAQC,IAAI,CAChBH,EAAS,qBACTA,EAAS,2BAKTA,EAAS,wBAAyB,CAChCF,UACAC,WAZ+B,8CAiBrCK,mBAnBa,SAmBON,GAAS,MAC3B,UAA+BG,UAA/B,IAA+BA,KAA/B,UAA+BA,IAAOI,aAAtC,aAA+B,EAAcC,KAArCC,qBAAR,MAAwB,GAAxB,EAEA,OAAKT,WAASU,QAAWD,WAAeC,OAIjCD,aAAP,EAAOA,EAAeE,QAAO,SAACC,GAAD,uBAAOA,EAAEC,iBAAT,aAAO,EAAaC,WAAWd,MAHnD,M,sECzBb,I,wBCAoY,ECIpY,CACEe,WAAY,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AjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsB2c,iBAA7B,aAAO,EAAiCne,SAAS","file":"js/chunk-f21a907c.53bbfa32.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"BtnBoard\":\"BtnActionGrid__BtnBoard__FT5Hm\",\"Td\":\"BtnActionGrid__Td__30g-3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Workflow\":\"WorkflowActions__Workflow__12tbm\"};","export { default } from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=style&index=0&lang=scss&module=true&\"","import store from '@/store';\n\nexport default {\n // Получить данные, необходимые при заходе в раздел\n async getSectionData (section, role) {\n const { dispatch } = store\n\n await Promise.all([\n dispatch('APP_PULL_STATUSES'),\n dispatch('APP_PULL_DOCUMENT_TYPES'),\n // dispatch('APP_PULL_SUBORDINATION', {\n // reload: true,\n // select: 'employee_id,employee_name,employee_name_eng,employee_type,manager_id,manager_name,manager_name_eng,organization_id,type,start_date',\n // }),\n dispatch('WORKFLOW_PULL_SECTION', {\n section,\n role,\n }),\n ])\n },\n\n getSectionTypeList (section) {\n const { documentTypes = [] } = store?.state?.app;\n\n if (!section?.length || !documentTypes?.length) {\n return []\n }\n\n return documentTypes?.filter((i) => i.object_id?.startsWith(section));\n },\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{class:_vm.$style.Td},[_c('UiMenu',{attrs:{\"location\":\"left\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('UiBtn',_vm._b({attrs:{\"is-icon\":\"\",\"is-round\":\"\",\"color\":\"eg-secondary\",\"icon\":\"mdi-dots-vertical\",\"size\":\"small\"}},'UiBtn',props,false))]}}])},[_c('div',{class:_vm.$style.BtnBoard},[_vm._t(\"default\")],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BtnActionGrid.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BtnActionGrid.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./BtnActionGrid.vue?vue&type=template&id=7df5b11d&\"\nimport script from \"./BtnActionGrid.vue?vue&type=script&lang=js&\"\nexport * from \"./BtnActionGrid.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BtnActionGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.initialized)?_c('DataGrid',{attrs:{\"title\":\"Sick Leave\",\"grid-model\":_vm.gridModel,\"editable\":_vm.isCanCreate,\"refresh-data\":_vm.refreshData,\"disable-edit-item\":\"\",\"grid-pagination\":_vm.gridPagination},on:{\"onEditItem\":_vm.editItem,\"onDeleteItem\":_vm.deleteItem},scopedSlots:_vm._u([{key:\"header-col1-smAndDown\",fn:function(){return [(!_vm.own)?_c('th',[_vm._v(\" \"+_vm._s(_vm.t(\"Employee\"))+\" / \"+_vm._s(_vm.t(\"Period\"))+\" \")]):_c('th',[_vm._v(\" \"+_vm._s(_vm.t(\"Type\"))+\" / \"+_vm._s(_vm.t(\"Period\"))+\" \")])]},proxy:true},{key:\"item-col1-smAndDown\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[(!_vm.own)?_c('div',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'employee_name'))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'document_type_name'))+\" \")]),_c('small',[_vm._v(\" \"+_vm._s(_vm.getFormattedDate(item.start_date))+\" - \"+_vm._s(_vm.getFormattedDate(item.end_date))+\" \")])])]}},{key:\"item-action\",fn:function(ref){\nvar item = ref.item;\nvar editItem = ref.editItem;\nvar deleteItem = ref.deleteItem;\nreturn [_c('BtnActionGrid',[[_c('UiBtn',{attrs:{\"size\":\"small\",\"variant\":\"tonal\"},nativeOn:{\"click\":function($event){return editItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.own && _vm.getDocumentEditableWorkflow(item) ? _vm.t('Edit') : _vm.t('View'))+\" \")]),(_vm.own || _vm.getDocumentEditableWorkflow(item))?_c('UiBtn',{attrs:{\"size\":\"small\",\"variant\":\"tonal\"},nativeOn:{\"click\":function($event){return deleteItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.t('Delete'))+\" \")]):_vm._e(),_c('WorkflowActions',{attrs:{\"object-id\":item.object_id || _vm.sectionName,\"document\":item,\"available-workflow\":_vm.getAvailableWorkflow(item)},on:{\"input\":function($event){return _vm.changeWorkflow(item, $event)}}})]],2)]}}],null,false,865113268)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SickleavesMain.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SickleavesMain.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./SickleavesMain.vue?vue&type=template&id=22edcbf2&\"\nimport script from \"./SickleavesMain.vue?vue&type=script&lang=js&\"\nexport * from \"./SickleavesMain.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport store from '@/store'\nimport roles from '@/common/role/roleHelpers';\n\nimport { STATUS_NAME } from '@/constants/document/StatusName';\n\nexport default {\n showError (text) {\n store.commit('MSG_SET_ITEM', {\n text,\n color: 'error',\n timeout: 20000,\n debug: true,\n });\n },\n\n checkCanCreateTableItemByStatus (section, role) {\n const { workflowSectionList = {} } = store?.state?.workflow ?? [];\n\n // Использовать полученную роли или получить из роута\n role = role ?? roles.getRoleByRouteMeta();\n\n if (!Object.keys(workflowSectionList)?.length) {\n return false\n }\n\n const workflowList = workflowSectionList?.[section]?.[role] ?? []\n\n // Возможность создания записи в таблице определяется по workflow со стаутом empty\n const workflowItem = workflowList?.find((item) => {\n const { status_id: status = '', object_id: object = '' } = item ?? {};\n\n return status === STATUS_NAME?.empty && object === section\n });\n\n // Если на найден воркфлоу для текущего раздела по роли\n if (!workflowItem) {\n return false\n }\n\n return !!Number(workflowItem?.editable)\n },\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"FileLoader__container__nd7YO\",\"wrapper\":\"FileLoader__wrapper__TyKR0\",\"card\":\"FileLoader__card__PTGwu\",\"header\":\"FileLoader__header__2IPZK\",\"headerTitle\":\"FileLoader__headerTitle__1bxi4\",\"headerButton\":\"FileLoader__headerButton__17HMC\",\"inner\":\"FileLoader__inner__fJO25\",\"document\":\"FileLoader__document__ojE2j\",\"iframe\":\"FileLoader__iframe__1Ho73\",\"content\":\"FileLoader__content__3bbdE\",\"list\":\"FileLoader__list__32maT\",\"item\":\"FileLoader__item__10NjP\",\"subtitle\":\"FileLoader__subtitle__2EgCK\",\"sign\":\"FileLoader__sign__7BR3w\"};","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"","import UiLoader from './UiLoader.vue';\n\nexport default UiLoader;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Toolbar\":\"DataGrid__Toolbar__3v0oQ\",\"BtnBort\":\"DataGrid__BtnBort__CODnh\",\"TableLoader\":\"DataGrid__TableLoader__2HqmL\",\"TextOverflow\":\"DataGrid__TextOverflow__PQ1EI\",\"CardActions\":\"DataGrid__CardActions__fV76P\",\"Subtitle\":\"DataGrid__Subtitle__fBUZM\",\"Card\":\"DataGrid__Card__23IFc\",\"ActiveCard\":\"DataGrid__ActiveCard__3gJ5t\",\"Top\":\"DataGrid__Top__2j3Pd\",\"BtnList\":\"DataGrid__BtnList__2QHlO\",\"Select\":\"DataGrid__Select__1ONKl\",\"CheckBox\":\"DataGrid__CheckBox__2C7z7\",\"Headers__actions\":\"DataGrid__Headers__actions__376cn\",\"Headers__status\":\"DataGrid__Headers__status__nxgx2\",\"Headers\":\"DataGrid__Headers__2ULIv\",\"BtnPlus\":\"DataGrid__BtnPlus__2reqa\",\"FooterCompactVue2\":\"DataGrid__FooterCompactVue2__2LTav\",\"FooterCompact\":\"DataGrid__FooterCompact__2Me8s\"};","import { computed } from '@vue/composition-api';\nimport { useStore } from '@vueblocks/vue-use-vuex';\nimport { useRoute } from 'vue2-helpers/vue-router';\nimport moment from 'moment';\nimport helpers from '@/common/helpers';\nimport useLanguage from '@/common/locale/useLanguage'\n\nexport default function useDocument (document) {\n const { getters } = useStore();\n const route = useRoute();\n const { tt } = useLanguage()\n const isRev = route.meta.rev;\n\n const requestTypeName = computed(\n () => tt(document, 'request_type_name'),\n );\n\n const docDescription = computed(() => tt(document, 'description'));\n\n const statuses = computed(() => getters.APP_GET_PROP('statuses'));\n\n const docStatus = computed(() =>\n statuses.value.find((i) => i.id === document?.status_id),\n );\n\n const statusText = computed(() => tt(docStatus.value, 'name'));\n\n const docDate = computed(() =>\n moment(document?.date).format('YYYY-MM-DD HH:mm:ss'),\n );\n\n const docStatusDate = computed(() =>\n moment(document?.status_date).format('YYYY-MM-DD HH:mm:ss'),\n );\n\n // выбор перевода ФИО сотрудника у документа\n const employeeName = computed(() => {\n const name = tt(document, 'employee_name');\n return helpers.getInitials(name);\n });\n\n const getEmployeeName = (document) => {\n const name = tt(document, 'employee_name');\n return name ? helpers.getInitials(name) : '';\n };\n\n const getStatusDate = (document) => {\n if (!document?.status_date?.length) {\n return ''\n }\n\n return moment(document?.status_date).format('YYYY-MM-DD HH:mm:ss');\n };\n\n const getDocDate = (document) => {\n if (!document?.date?.length) {\n return '';\n }\n\n return moment(document?.date).format('YYYY-MM-DD HH:mm:ss')\n };\n\n const getRequestTypeName = (document) => {\n return tt(document, 'request_type_name') || '';\n };\n\n const getDocDescription = (document) => {\n return tt(document, 'description') ?? '';\n };\n\n const getStatusText = (document) => {\n const docStatus = statuses?.value?.find((i) => i.id === document?.status_id)\n return tt(docStatus, 'name') ?? '';\n };\n\n const getWorkflowList = (objectId = '', role = '', status = '') => {\n return getters?.APP_GET_AVAILABLE_WORKFLOW({\n object_id: objectId,\n business_role: role,\n status_id: status,\n });\n }\n\n return {\n requestTypeName,\n docDescription,\n statusText,\n docDate,\n docStatusDate,\n employeeName,\n isRev,\n getEmployeeName,\n getStatusDate,\n getDocDate,\n getRequestTypeName,\n getDocDescription,\n getStatusText,\n getWorkflowList,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.Workflow},_vm._l((_vm.workflowList),function(workflowItem){return _c('div',{key:workflowItem.id},[_c('VBtn',_vm._b({class:_vm.$attrs.btnClass,attrs:{\"color\":_vm.workflowColor(workflowItem),\"disabled\":_vm.disabled,\"loading\":_vm.loading || _vm.loadingLocal,\"small\":_vm.$vuetify.breakpoint.smAndDown,\"size\":_vm.$vuetify.breakpoint.smAndDown ? 'small' : undefined,\"data-test\":\"workflow-btn\"},on:{\"click\":function($event){return _vm.handleChangeWorkflow(workflowItem)}}},'VBtn',_vm.$attrs,false),[(workflowItem.reject === '1')?_c('VIcon',{staticClass:\"pr-2\",attrs:{\"size\":\"small\"}},[_vm._v(\" mdi-reply \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.tt(workflowItem, 'name'))+\" \"),(workflowItem.reject === '0')?_c('VIcon',{staticClass:\"pl-2\",attrs:{\"size\":\"small\"}},[_vm._v(\" mdi-share \")]):_vm._e()],1),_c('ModalSigning',{attrs:{\"is-local\":\"\",\"is-local-modal-signing\":_vm.isLocalModalSigning,\"is-page-document\":\"\"},on:{\"startProcess\":function($event){return _vm.process(workflowItem)}}})],1)}),0),_c('VDialog',{attrs:{\"max-width\":\"600\"},model:{value:(_vm.showMessageDialog),callback:function ($$v) {_vm.showMessageDialog=$$v},expression:\"showMessageDialog\"}},[_c('VCard',[_c('VCardTitle',{staticClass:\"px-3\"},[_c('span',{staticClass:\"headline text-h5 pl-4\"},[_vm._v(\" \"+_vm._s(_vm.t('Comment'))+\" \")]),_c('VSpacer'),_c('VBtn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog=false}}},[_c('VIcon',[_vm._v(\" mdi-close \")])],1)],1),_c('VCardText',[_c('VTextareaEng',{attrs:{\"outlined\":\"\",\"rows\":\"1\",\"auto-grow\":\"\",\"locale\":_vm.locale,\"message\":_vm.message,\"value-eng\":_vm.modelMessage.text_eng},on:{\"inputEng\":function (valueEng) { return _vm.modelMessage.text_eng = valueEng; }},model:{value:(_vm.modelMessage.text),callback:function ($$v) {_vm.$set(_vm.modelMessage, \"text\", $$v)},expression:\"modelMessage.text\"}})],1),_c('VCardActions',{staticClass:\"pr-4\"},[_c('VSpacer'),_c('VBtn',{attrs:{\"color\":\"secondary\",\"text\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog = false; _vm.showMessageDialog = false;}}},[_vm._v(\" \"+_vm._s(_vm.t('Close'))+\" \")]),_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog = true; _vm.showMessageDialog = false;}}},[_vm._v(\" \"+_vm._s(_vm.t('Submit'))+\" \")])],1)],1)],1),_c('FileLoader',{attrs:{\"preview\":true,\"document\":_vm.fileLoaderDocument,\"is-cards\":\"\",\"role\":_vm.role},on:{\"onClose\":_vm.handleFileLoaderClose},model:{value:(_vm.downloadOptions),callback:function ($$v) {_vm.downloadOptions=$$v},expression:\"downloadOptions\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import store from '@/store'\nimport router from '../router'\nimport i18n from '../plugins/i18n'\nimport { TableService } from '@/common/api.service.js'\nimport moment from 'moment'\nimport documentHelpers from './document/documentHelpers'\nimport localeHelpers from '@/common/locale/localeHelpers';\nimport paramHelpers from '@/common/settings/paramHelpers.js'\nimport signHelpers from '@/common/sign/signHelpers'\nimport { checkActionForbiddenPeriod } from '@/common/documentSection/vacation/vacationHelpers'\n\nconst innerText = (text, message) => {\n return `${message}

${i18n.t(text)}

`;\n};\n\nexport default {\n\n all_types: function (document, workflow) {\n const myDocType = store.state.app.documentTypes.find(i => i.id === document.document_type_id) // get my document type\n const mySubordinateRecord = store.state.app.subordination.find(i => i.employee_id === document.employee_id && i.type === 'direct') // get my direct subordinate\n return [\n {\n name: 'subordinate_check',\n type: 'error',\n check: () => {\n // отключил для отправки workflow в estimate\n const disabled = true // Если захочешь отключить...\n if (disabled) return false\n if (!document || !document.nextManagerWorkflows) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!myDocType || !myDocType.object_id) return false // если нет доктайпа\n if (document.nextManagerWorkflows.length < 1) return false // manager не может ничего поделать со следующим по workflow статусом, выходим\n if (mySubordinateRecord) return false // manager есть - отрубаемся\n return {\n message: i18n.t('The Manager is not verified by the system. Please contact HR department to proceed'),\n }\n },\n },\n ]\n },\n vacation_schedule: function (document, workflow) {\n const paramData = store.state.param.data\n return [\n {\n type: 'error_ex',\n check: () => {\n return { message: 'Error Example' }\n },\n },\n {\n type: 'warning_ex',\n check: () => {\n return { message: 'Будем продолжать?' }\n },\n },\n {\n type: 'warning_ex',\n check: () => {\n return { message: 'Точно будем продолжать?' }\n },\n callback: () => {\n console.log('Решили точно продолжать')\n },\n },\n {\n type: 'confirm_ex',\n check: () => {\n return { message: 'Будет выполнено параллельное действие' }\n },\n callback: () => {\n console.log('Действие')\n },\n },\n {\n name: 'closed_schedule_period',\n type: 'error',\n check: () => {\n const disabled = true // Временно отключим правило\n if (disabled) return false\n // Процессить заявки в график можно только на периоды больше текущего года\n if (document.type !== 'schedule') return false\n // Только при переходе в статус prepared и назад\n if (workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n // С этим периодом действия запрещены\n // const currentYear = new Date().getFullYear()\n // if (document.vacation_schedule_period * 1 <= currentYear) {\n // Сейчас любые действия с документами в график запрещены\n const vacationScheduleStart = paramData.vacation_schedule_start || moment(11, 'MM')\n const vacationScheduleEnd = paramData.vacation_schedule_end || moment(paramData.vacation_schedule_start).endOf('year')\n if (!moment().isBetween(vacationScheduleStart, vacationScheduleEnd)) {\n return {\n message: i18n.t('The vacation schedule period is closed'),\n }\n }\n },\n },\n {\n name: 'full_month',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование заявки в график, если нарушается условие 8 выходных на 28 дней\n if (paramData.vacation_validate_full_month !== '1') return false\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared\n if (workflow.next_status_id !== 'prepared') return false\n // Не будем ограничиваться ежегодным отпуском по document\n // потому что может передаваться на согласование в график отпуск другого типа\n // и валидация process_schedule_togeter отправит их всех вместе уже без проверки\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1') &&\n !i.replaced_vacation_ids,\n )\n // Посчитаем количество выходных\n let totalDays = 0\n let totalWeekendDays = 0\n vacations.forEach(vacationItem => {\n // не будем ограничиваться ежегодным отпуском, будем считать ratio по всем видам отпусков в график одного года\n if (vacationItem.document_type_name_eng !== 'Annual paid vacation') return\n totalDays += vacationItem.days * 1\n const weekendDays = store.getters.APP_GET_DATEDIFF({ startDate: vacationItem.start_date, endDate: vacationItem.end_date, dailyInfo: [1, 0, 0, 0, 0, 0, 1] })\n totalWeekendDays += weekendDays\n })\n\n const allowedWeekendDays = (((totalDays * 1 + 2) / 7) | 0) * 2\n if (totalWeekendDays < allowedWeekendDays) {\n return {\n message: i18n.t('Count of used weekends is less than allowed') +\n ` (${totalWeekendDays} < ${allowedWeekendDays})`,\n }\n }\n return false\n },\n },\n {\n name: 'unallocated_schedule_limits',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование заявки в график, если период не полностью распределен\n if (paramData.vacation_validate_unallocated_schedule !== '1') return false\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared и назад\n if (workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // const vacationLimits = store.getters.APP_GET_VACATION_LIMITS\n const vacationLimits = store.state.app.vacationLimits.filter(i =>\n i.period === document.vacation_schedule_period &&\n i.employee_id === document.employee_id,\n )\n\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1') &&\n !i.replaced_vacation_ids,\n )\n // Выполним проверку по каждому виду отпуска в пределах года\n let message = ''\n vacationLimits.forEach(limitItem => {\n const vacationsByType = vacations.filter(i => i.document_type_id === limitItem.document_type_id)\n let days = 0\n if (vacationsByType.length > 0) {\n days = vacationsByType.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (!days) days = 0\n if (document.unsaved && document.document_type_id === limitItem.document_type_id) days = days + document.days\n if (days * 1 < limitItem.norma * 1) {\n message = message + (message ? '+' : '') + `${limitItem.norma * 1 - days * 1}`\n }\n })\n\n if (message) {\n return {\n message: i18n.t('Annual vacation schedule limits are not completely allocated') +\n ` (${i18n.t('Days Rest')}: ${message})
` +\n i18n.t('Return to save vacation and create other ones'),\n }\n }\n return false\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'process_schedule_together',\n type: 'confirm',\n prepareData (updateItem = false) {\n const vacations = store.state.app.vacations\n const data = []\n const profile = store.getters.getProfile\n vacations.forEach(item => {\n if (item.employee_id === document.employee_id &&\n item.type === 'schedule' &&\n item.vacation_schedule_period === document.vacation_schedule_period &&\n (!item.replaced || !(item.replaced === '1')) &&\n !item.replaced_vacation_ids &&\n (\n (workflow.status_id === 'prepared' && item.status_id === 'prepared') ||\n (workflow.status_id === 'draft' && item.status_id === 'draft') ||\n (\n workflow.next_status_id === 'prepared' &&\n (\n item.status_id === 'empty' ||\n item.status_id === 'draft' ||\n item.status_id === 'declined'\n )\n )\n ) &&\n item.type === document.type\n ) {\n data.push({\n object_id: 'vacation_schedule',\n registrator_id: item.id,\n workflow_id: workflow.id,\n status_id: workflow.next_status_id,\n creator_id: profile.id,\n organization_id: item.organization_id,\n message_text: document.comment_text,\n message_text_eng: document.comment_text_eng,\n })\n if (updateItem) {\n item.workflow_id = workflow.id\n item.status_id = workflow.next_status_id\n item.indicators = workflow.indicators\n }\n }\n })\n return data\n },\n check () {\n const {\n business_role: role = '',\n status_id: status = '',\n } = workflow ?? {}\n\n // Сотрудник и руководитель может отправлять заявки в график только все вместе\n if (paramData.vacation_validate_process_schedule_together !== '1') return false\n if (document.type !== 'schedule' || (workflow.business_role !== 'employee' && workflow.business_role !== 'manager')) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n // Только при переходе в статус prepared и назад для сотрудника\n if (workflow.business_role === 'employee' && workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // Только для согласования и отклонения для руководителя\n if (\n role === 'manager' &&\n !(\n status === 'prepared' || // FALSE\n status === 'draft'\n )\n ) {\n return false\n }\n\n const data = this.prepareData()\n if (data.length <= (document.unsaved ? 0 : 1)) return false\n return { message: i18n.t('This action will be applied to all the vacation parts. Would you like to continue?') }\n },\n async callback () {\n const data = this.prepareData(true)\n if (data.length > 0) {\n await TableService.add({ object: 'document_status', data })\n\n let link = ''\n\n switch (workflow.business_role) {\n case 'employee':\n link = 'uvacations-own';\n break;\n case 'manager':\n link = 'uvacations-sub';\n break;\n case 'hr':\n link = 'uvacations';\n break;\n\n default:\n link = 'home';\n break;\n }\n\n router.push({ name: link });\n // Обновим статусы в сторе\n // const vacations = store.state.app.vacations\n // data.forEach(item => {\n // const vacation = vacations.find(v => v.id === item.registrator_id)\n // vacation.status_id = item.status_id\n // })\n }\n },\n },\n {\n name: 'early_confirm',\n type: 'warning',\n check: () => {\n // Проверим, если сотрудник подтверждает отпуск, до которого больше 2 месяцев, предупредим чтобы не спешил\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return false\n if (workflow.next_status_id !== 'confirmed') return false\n const leftMonths = moment(document.start_date).diff(moment(), 'months')\n if (leftMonths < 2) return false\n return { message: i18n.t('It is recommended to confirm the document just before the event. Continue anyway?') }\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n vacation_correction: function (document, workflow) {\n const paramData = store.state.param.data\n return [\n {\n name: 'full_month',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование корректировку в график, если нарушается условие 8 выходных на 28 дней\n if (paramData.vacation_validate_full_month !== '1') return false\n if (document.type !== 'correction' || !document.replaced_vacation_ids) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared\n if (workflow.next_status_id !== 'prepared') return false\n\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1'),\n // (!i.replaced_vacation_ids || i.id === document.id) &&\n // !document.replaced_vacation_ids.includes(i.id)\n )\n // Исключим из выборки отпуска, который заместились корректировками\n const vacation2 = vacations.filter((vacationItem) =>\n !vacations.find((i) => (i.replaced_vacation_ids || '').includes(vacationItem.id)),\n )\n // Посчитаем количество выходных\n let totalDays = 0\n let totalWeekendDays = 0\n vacation2.forEach(vacationItem => {\n if (vacationItem.document_type_name_eng !== 'Annual paid vacation') return\n totalDays += vacationItem.days * 1\n const weekendDays = store.getters.APP_GET_DATEDIFF({ startDate: vacationItem.start_date, endDate: vacationItem.end_date, dailyInfo: [1, 0, 0, 0, 0, 0, 1] })\n totalWeekendDays += weekendDays\n })\n\n const allowedWeekendDays = (((totalDays * 1 + 2) / 7) | 0) * 2\n if (totalWeekendDays < allowedWeekendDays) {\n return {\n message: i18n.t('Count of used weekends is less than allowed') +\n ` (${totalWeekendDays} < ${allowedWeekendDays})`,\n }\n }\n return false\n },\n },\n {\n name: 'unallocated_correction_days',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование корректировки, если остаток не полностью распределен\n if (paramData.vacation_validate_unallocated_correction !== '1') return false\n if (document.type !== 'correction' || !document.replaced_vacation_ids) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n // Родительский отпуск\n const parentVacations = store.state.app.vacations\n .filter(i => document.replaced_vacation_ids.indexOf(i.id) > -1)\n let parentDays = 0\n if (parentVacations.length > 0) {\n parentDays = parentVacations.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (parentDays === document.days * 1) return false\n // Ищем все корректировки родительского отпуска\n const childVacations = store.state.app.vacations\n .filter(i => i.replaced_vacation_ids && i.replaced_vacation_ids.indexOf(parentVacations[0].id) > -1)\n let childDays = 0\n if (childVacations.length > 0) {\n childDays = childVacations.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (document.unsaved) childDays = childDays + document.days\n if (parentDays === childDays) return false\n return {\n message: i18n.t('The are vacation days after correction') +\n ` (${i18n.t('Days Rest')}: ${parentDays - childDays})
` +\n i18n.t('Return to save vacation and create other ones'),\n }\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'process_correction_together',\n type: 'confirm',\n prepareData (updateItem = false) {\n const data = []\n const profile = store.getters.getProfile\n\n // Родительский отпуск\n const parentVacations = store.state.app.vacations\n .filter(i => document.replaced_vacation_ids.indexOf(i.id) > -1)\n // Ищем все корректировки родительского отпуска\n const childVacations = store.state.app.vacations\n .filter(i => i.replaced_vacation_ids && i.replaced_vacation_ids.indexOf(parentVacations[0].id) > -1)\n childVacations.forEach(item => {\n data.push({\n object_id: 'vacation_correction',\n registrator_id: item.id,\n workflow_id: workflow.id,\n status_id: workflow.next_status_id,\n creator_id: profile.id,\n organization_id: item.organization_id,\n })\n if (updateItem) {\n item.workflow_id = workflow.id\n item.status_id = workflow.next_status_id\n item.indicators = workflow.indicators\n }\n })\n return data\n },\n check () {\n const { business_role: role = '', next_status_id: nextStatus = '', status_id: status = '' } = workflow ?? {}\n // Сотрудник может отправлять корректировки только все вместе\n if (paramData.vacation_validate_process_correction_together !== '1') return false\n if (document.type !== 'correction') return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n if (\n role !== 'employee' &&\n role !== 'manager' &&\n role !== 'hr'\n ) return false\n // Только при переходе в статус prepared и назад для сотрудника\n if (workflow.business_role === 'employee' && workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // Только для согласования и отклонения для руководителя\n if (\n role === 'manager' &&\n !(\n status === 'prepared' ||\n status === 'draft'\n )\n ) {\n return false\n }\n\n if (\n role === 'hr' &&\n nextStatus !== 'agreed' &&\n status !== 'draft'\n ) return false\n const data = this.prepareData()\n if (data.length <= (document.unsaved ? 0 : 1)) return false\n return { message: i18n.t('All vacation parts to this correction will be sent. Continue?') }\n },\n callback () {\n const data = this.prepareData(true)\n if (data.length > 0) {\n TableService.add({ object: 'document_status', data })\n }\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n vacation: function (document, workflow) {\n const documentType = documentHelpers?.getDocumentTypeData(document)\n const documentTypeCode = documentType?.code ?? ''\n const isForSign = signHelpers.checkIsSignWorkflow(workflow)\n const isEng = localeHelpers.isEng()\n\n return [\n {\n name: 'empty_comment',\n type: 'error',\n check: () => {\n const { comments = '', comments_eng: commentsEng = '' } = document ?? {}\n if (!documentHelpers.validateComment(document, documentType)?.length) return false;\n\n if (isEng && commentsEng?.length) return false\n\n if (!isEng && comments?.length) return false\n\n return {\n message: i18n.t('Fill in the \"Comment\" field'),\n }\n },\n },\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n const message = localeHelpers.getTextByAlias(`attach_require_${documentTypeCode}_hint`)\n\n // Проверять только документы без подписания\n if (!isForSign) {\n if (!document?.files) return false // если что-то не так с файлами\n if (!documentTypeCode) return false // если нет доктайпа\n if (documentType?.object_id !== 'vacation') return false // если мы не в отпусках ¯\\_(ツ)_/¯\n if (workflow?.status_id === 'empty' && workflow?.next_status_id === 'draft') return false // дадим сохранить первый раз\n if (workflow?.next_status_id === 'processed') return false // только для документа, который не на обработку\n if (documentHelpers.checkFileAttached(document)) return false;\n } else {\n return false\n }\n return {\n message,\n }\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n overtime: function (document, workflow) {\n const docType = store?.state?.app?.documentTypes?.find(i => i.id === document?.document_type_id)\n const isNextWorkflow = !Number(workflow?.reject)\n\n return [\n {\n name: 'work_on_holiday_agreement',\n type: 'error',\n check: () => {\n if (docType?.object_id !== 'overtime') return false\n if (\n !workflow?.detail?.checkbox_work_agreement_actioncheck_require ||\n !isNextWorkflow\n ) {\n return false\n }\n\n // Проверка на наличие согласия выхода на работу только для статусов \"Дальше\"\n if (document?.details?.work_on_holiday_agreement) {\n return false\n }\n\n return {\n message: i18n.t('Work on holiday agreement check is mandatory'),\n }\n },\n },\n {\n name: 'work_denial_confirm',\n type: 'error',\n check: () => {\n if (docType?.object_id !== 'overtime') return false\n if (!workflow?.detail?.checkbox_denial_confirm_actioncheck_require) {\n return false\n }\n\n if (document?.details?.work_denial_confirm) {\n return false\n }\n\n return {\n message: i18n.t('Agree to the clause about the right to refuse work'),\n }\n },\n },\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (!document?.files) return false\n if (!docType?.code) return false\n if (docType?.object_id !== 'overtime') return false\n if (!workflow.next_status_id || (workflow.next_status_id !== 'prepared' && workflow.next_status_id !== 'agreed')) return false // только для документа, который отправляется на согласование от сотрудников или для согласованных руководителями\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: i18n.t('The agreement paper has to be submitted for this type of overtime'),\n }\n },\n },\n {\n name: 'sent_to_hr_confirm',\n type: 'alert',\n check: () => {\n if (!document?.files) return false\n if (!docType?.code) return false\n if (docType?.object_id !== 'overtime') return false\n if (!workflow.next_status_id || workflow.next_status_id !== 'prepared' || workflow.reject === '1') return false // только для документа, который отправляется на согласование\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: i18n.t('The original agreement paper has to be sent to HR'),\n }\n },\n },\n ]\n },\n btrip: function (document, workflow) {\n const paramData = store.state.param.data // get some params\n const warningText = `\n

${i18n.t('Please note that the employee has chosen the \"Stay on the weekend\" option.')}

\n

${i18n.t('To confirm the approval - click \"Yes\"')}

\n

${i18n.t('To cancel the approval - click \"No\" and decline the business trip request')}

`\n\n let message = '';\n\n return [\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n // при согласовании если выбран чекбокс \"остаться на выходные\" (только для руководителя)\n if (!document.sub) return false\n if (workflow?.next_status_id !== 'agreed') return false\n if (!document?.details?.is_weekend_included) return false\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: warningText,\n }\n },\n },\n {\n name: 'another_btrips_without_expences',\n type: 'error',\n check: () => {\n const isBtripMultiDestination = !!Number(paramData.isBtripMultiDestination)\n const isBtripRequireExpense = !!Number(paramData.btrip_require_expense);\n // Дата после которой нельзя задать командировку\n const btripDateDisable = paramData.btrip_date_disable;\n const { details: docDetails } = document\n const tripList = docDetails?.trip_destination_requests\n const tripListLast = tripList?.[tripList?.length - 1]\n const lastTripLeaveDate = tripListLast?.leave_on\n // const lastLeaveDate = helpers.getDayOfWeekIndex(lastTripLeaveDate)\n\n const innerText = (text) => {\n return `${message}

${i18n.t(text)}

`\n }\n\n const checkDocument = () => {\n if (workflow?.next_status_id !== 'prepared') {\n return\n }\n\n if (!documentHelpers.checkFileAttached(document)) {\n message = innerText(\n localeHelpers.getTextByAlias('btrip_attach_require_error'),\n );\n }\n\n if (\n isBtripRequireExpense &&\n !document?.otherBtripsWithoutExpence?.length\n ) {\n message = innerText(\n i18n.t(\n 'Submit an expense report for one of your past business trips',\n ),\n );\n }\n\n if (isBtripMultiDestination) {\n // Для нескольких командировок при отправке на согласование должна быть верная заполнена последняя дата\n if (document?.end_date !== lastTripLeaveDate) {\n message = innerText(\n i18n.t(\n 'The end date of the last route has to be equal to the end date of the whole period defined in Main tab.',\n ),\n );\n }\n\n // Причина отключения - добавлена проверка на активацию чекбокса в разделе командировок\n // if (\n // docDetails.is_weekend_included && // выбран чекбокс\n // lastLeaveDate !== 5 // только в пятницу\n // ) {\n // message = innerText(i18n.t('Check in \"Stay on the weekend\" checkbox in case the date of your return ticket doesn\\'t concide with the end of your business trip.'))\n // }\n }\n\n if (btripDateDisable?.length) {\n const dateBtripDateDisable = moment(btripDateDisable);\n\n // Если дата начала больше даты доступной командировки, то показывать сообщение и не отправлять заявку\n if (moment(document?.start_date).isAfter(dateBtripDateDisable)) {\n message = innerText(\n i18n.t(\n localeHelpers.getTextByAlias('btrip_date_disable_message'),\n ),\n );\n }\n }\n }\n\n if (!documentHelpers.checkValidDocument(document, 'btrip')) {\n message = i18n.t('System error. Contact technical support.');\n } else {\n checkDocument();\n }\n\n return {\n message,\n }\n },\n },\n ]\n },\n estimate: function (document, workflow) {\n const {\n goals: goalsList,\n valuation: valuationList,\n goalsWeightTotal: goalsWeight,\n // rating,\n planningGoalsWeightTotal: planningGoalsWeight,\n planningGoals: planningGoalsList,\n formLayoutTabs,\n } = store.state.estimate;\n\n const role = workflow?.business_role ?? '';\n const layoutTabList = document?.layout_tab\n ?.trim()\n .split(';')\n .filter((i) => !!i);\n\n const list = [];\n\n layoutTabList.forEach((element) => {\n const item = formLayoutTabs.find((i) => i.code === element && i.business_role === role);\n\n if (item) {\n list.push(item);\n }\n });\n\n // Найти вкладку у формы\n const findTab = (code) => {\n return !!list.find((i) => i.code === code);\n }\n\n // Проверка на наличие вкладки формы\n const isPlanningGoalsTab = findTab('planning_goals');\n const isGoalsTab = findTab('goals');\n\n // Отключена проверка \"Планирование обучения\" по просьбе заказчика\n // const isPlanEducList = planningEducationList.length >= 1 // минимум 1 запись в таблице\n const isTypeYearly = document.type === '1'; // годовая\n const isTypeInterim = document.type === '2'; // вне периода\n const isTypePlan = document.type === '3'; // планирование\n\n // Итоговая оценка\n const isFinal = !!Number(document?.is_final)\n\n const fullWeight = 100\n\n // Вкладка Цели\n // Заполнены цели\n const isGoalsList = isGoalsTab ? !!goalsList?.length : true;\n // Проверка на вес целей\n const isGoalsWeight = isGoalsTab ? goalsWeight === fullWeight : true; // вес целей должен быть 100\n\n // Вкладка Планирование целей\n // Проверка на вес целей планирования, если есть вкладки Планирование целей\n const isPlanningGoalsWeight = isPlanningGoalsTab ? planningGoalsWeight === fullWeight : true// вес должен быть 100\n // Проверка на наличие целей планирования, если есть вкладки Планирование целей\n const isPlanGoalsList = isPlanningGoalsTab ? planningGoalsList.length >= 3 : true; // минимум 3 записи в таблице\n\n let message = ''\n let isGoalSelfEsteem = true\n let isGoalAssessment = true\n let isValuationSelfEsteem = true\n let isValuationAssessment = true\n\n const innerText = (text) => {\n return `${message}

${i18n.t(text)}

`\n }\n\n const isVinyl = store.state?.param?.client?.code.includes('rusvinyl');\n\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n const { name: url } = router.history?.current\n\n // выполнять проверку только на странице оценочной формы\n if (!url.includes('estimate-grading')) {\n return true;\n }\n\n // проверка записей в таблице Цели\n goalsList.forEach(element => {\n const { self_esteem: selfEsteem, assessment } = element\n // если есть пустое поле с графе \"Самооценка\" для сотрудника\n if (!selfEsteem?.length || Number(selfEsteem) === 0) isGoalSelfEsteem = false\n // если есть пустое поле с графе \"Оценка руководителя\" для руководителя\n if (!assessment?.length || Number(assessment) === 0) isGoalAssessment = false\n })\n\n // проверка записей в таблице Ценности\n valuationList.forEach(element => {\n const { self_esteem: selfEsteem, assessment } = element\n // если есть пустое поле с графе \"Самооценка\" для сотрудника\n if (!selfEsteem?.length) isValuationSelfEsteem = false\n // если есть пустое поле с графе \"Оценка руководителя\" для руководителя\n if (!assessment?.length) isValuationAssessment = false\n })\n\n const checkEmployeeFields = () => {\n // if (isPlanningGoals && isGoalSelfEsteem && isValuationSelfEsteem && isPlanEducList) return false\n if (\n isGoalSelfEsteem &&\n isValuationSelfEsteem &&\n isGoalsList &&\n isPlanningGoalsWeight &&\n isPlanGoalsList\n ) {\n return false;\n }\n\n if (!isGoalsList) {\n message = innerText(i18n.t('Complete the Goals section'));\n }\n\n if (!isPlanGoalsList) {\n message = innerText(\n i18n.t(\n 'At least 3 records have to be submitted in the "New Period Goals" tab',\n ),\n );\n }\n\n if (!isGoalSelfEsteem && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your self-assessments in the "Goals" tab. They have to be above 0',\n ),\n );\n }\n // TODO: У Русвинила про Ценности\n // if (!isValuationSelfEsteem) message = innerText(i18n.t('Check your self-assessments in the "Competencies" tab. They have to be above 0.'))\n if (!isValuationSelfEsteem && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your self-assessments in the "Competencies" tab. They have to be above 0.',\n ),\n );\n }\n }\n\n const checkSubFields = () => {\n if (\n isGoalAssessment &&\n isValuationAssessment &&\n isPlanningGoalsWeight &&\n isPlanGoalsList &&\n isGoalsList &&\n isGoalsWeight\n ) {\n return false;\n }\n\n if (!isPlanningGoalsWeight) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals for the next period must be equal to 100.',\n ),\n );\n }\n\n if (!isPlanGoalsList) {\n message = innerText(\n i18n.t(\n 'At least 3 records have to be submitted in the "New Period Goals" tab',\n ),\n );\n }\n\n if (!isGoalsList) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals must be equal to 100.',\n ),\n );\n }\n\n if (!isGoalsWeight) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals must be equal to 100.',\n ),\n );\n }\n\n if (!isGoalAssessment && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your assessments in the "Goals" tab. They have to be above 0.',\n ),\n );\n }\n\n if (!isValuationAssessment && isFinal) {\n message = innerText(\n // TODO: Для Русвинила\n // i18n.t(\n // 'Check your assessments in the "Valuation" tab. They have to be above 0.',\n // ),\n i18n.t(\n 'Check your assessments in the "Competencies" tab. They have to be above 0.',\n ),\n );\n }\n }\n\n if (url === 'estimate-grading') {\n // if (isPlan) {\n // if (isPlanningGoals && isPlanEducList && isPlanGoalsList) return false\n // }\n\n if (isTypeYearly || isTypeInterim || isVinyl) {\n checkEmployeeFields();\n }\n }\n\n if (url === 'estimate-grading-sub') {\n if (isTypePlan) {\n // if (isPlanningGoals && isPlanEducList && isPlanGoalsList) return false\n // TODO: отключено для конти\n // if (isPlanningGoals && isPlanGoalsList) return false\n // if (isPlanGoalsList) return false\n }\n\n if (isVinyl) {\n checkSubFields();\n }\n\n // TODO: только для Конти\n // попросили отключить проверку\n // if (\n // !rating?.[0]?.performance?.length ||\n // !rating?.[0]?.potential?.length\n // ) {\n // message = innerText(i18n.t('Заполните таблицу Рейтинг'));\n // }\n\n if (isTypeYearly && !isVinyl) {\n checkSubFields();\n }\n\n if (isTypeInterim && !isVinyl) {\n checkSubFields();\n }\n\n // Промежуточная оценка не проверяет планирование\n if (!isTypeInterim) {\n // TODO: отключено для конти\n // if (!isPlanningGoals) {\n // message = innerText(\n // i18n.t(\n // 'The total weight of all the goals for the next period must be equal to 100.'\n // )\n // );\n // }\n // if (!isPlanGoalsList) {\n // message = innerText(\n // i18n.t(\n // 'At least 3 records have to be submitted in the "New Period Goals" tab'\n // )\n // );\n // }\n }\n }\n\n if (url === 'estimate-grading-hr') {\n // hr передвигает без проверок\n return false\n }\n\n // if (!isPlanEducList) message = innerText(i18n.t('At least 1 record has to be submitted in the "New Period Training Plan" tab'))\n\n return {\n message,\n }\n },\n },\n ]\n },\n material_assistance: function (document, workflow) {\n const docType = store.state.app.documentTypes.find(i => i.id === document.document_type_id) // get my document type\n\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!docType?.code) return false; // если нет доктайпа\n if (docType?.object_id !== 'material_assistance') {\n return false; // если мы не в мат. помощи\n }\n if (workflow?.next_status_id !== 'prepared') return false // только для документа, который отправляется на согласование\n if (documentHelpers.checkFileAttached(document)) return false; // есть файлы\n return {\n message: i18n.t('The reason paper has to be submitted for this type of material assistance'),\n }\n },\n },\n ]\n },\n absence: function (document, workflow) {\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (workflow?.next_status_id !== 'prepared') return false\n if (documentHelpers?.checkFileAttached(document)) return false;\n\n return {\n message: i18n.t('Please enclose required documents to your request'),\n }\n },\n },\n ]\n },\n absence_validate: function (document, workflow) {\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (workflow?.next_status_id !== 'prepared') return false\n if (documentHelpers?.checkFileAttached(document)) return false;\n\n return {\n message: i18n.t('Please enclose required documents to your request'),\n }\n },\n },\n ]\n },\n sickleave: function (document, workflow) {\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n // проверка только с closed\n if (workflow.next_status_id !== 'closed') {\n return false\n }\n\n // проверка по параметру\n if (!paramHelpers.paramCheckSickleaveNumberOnClose()) return false\n\n // длина больничного листа должна быть 12\n if (document?.comments?.length === 12) {\n return false\n }\n\n return {\n message: i18n.t('Wrong sick leave number'),\n }\n },\n },\n ]\n },\n statement: function (document, workflow) {\n const { business_role: role } = workflow\n let message = '';\n\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n const { statements, documentTypes } = store?.state?.app ?? [];\n\n if (\n !documentHelpers.checkFileAttached(document) &&\n document?.object_id?.length\n ) {\n const errorAlias = `${document?.object_id}_attach_require_error`;\n\n message = innerText(errorAlias, message);\n }\n\n if (role === 'hr') {\n return false\n }\n\n // Заявление на увольнение\n const dismissalType = documentTypes.find(\n (i) => i.code === 'dismissal',\n );\n\n // Если заявление на увольнение\n if (document?.document_type_id === dismissalType?.id) {\n // Найти любой документ кроме текущего\n const isExist = statements.find(\n (i) =>\n i.document_type_id === dismissalType?.id &&\n i.employee_id === document?.employee_id &&\n i.status_id === 'prepared' &&\n i.id !== document.id,\n );\n\n if (isExist) {\n message = i18n.t('Resignation letter already created');\n }\n }\n\n return {\n message,\n }\n },\n },\n ]\n },\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","export const isMobileDevice = () => {\n return /Mobi|Android/i.test(navigator?.userAgent);\n};\n","import { render, staticRenderFns } from \"./WorkflowActions.vue?vue&type=template&id=2ce55cd2&\"\nimport script from \"./WorkflowActions.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkflowActions.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WorkflowActions.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('VTextarea',_vm._b({attrs:{\"value\":_vm.messageText,\"label\":_vm.isEng ? _vm.t(_vm.$attrs.label, 'en') : _vm.t(_vm.$attrs.label, 'ru'),\"hint\":_vm.isEng ? _vm.t(_vm.$attrs.hint, 'en') : _vm.t(_vm.$attrs.hint, 'ru'),\"data-test\":\"textarea-eng\"},on:{\"input\":function (value) { return _vm.update(value); }},scopedSlots:_vm._u([{key:_vm.slotAppend,fn:function(){return [_c('VBtn',{attrs:{\"text\":\"\",\"color\":\"primary\",\"x-small\":\"\"},nativeOn:{\"click\":function($event){return _vm.changeLocale.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.isEng ? 'en' : 'ru')+\" \")])]},proxy:true}],null,true)},'VTextarea',_vm.$attrs,false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VTextareaEng.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VTextareaEng.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./VTextareaEng.vue?vue&type=template&id=0e0a65b2&\"\nimport script from \"./VTextareaEng.vue?vue&type=script&lang=js&\"\nexport * from \"./VTextareaEng.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.props.isDisabled)?_vm._l((_vm.items),function(item){return _c('div',{key:item.id},[_vm._t(\"default\",null,{\"item\":item})],2)}):_vm._l((_vm.items),function(item,index){return _c('div',{key:item.id,attrs:{\"draggable\":\"true\"},on:{\"dragstart\":function($event){return _vm.onDragStart($event, index)},\"dragover\":function($event){$event.preventDefault();return _vm.onDragOver($event, index)},\"drop\":function($event){return _vm.onDrop($event, index)},\"dragend\":_vm.onDragEnd}},[_vm._t(\"default\",null,{\"item\":item,\"index\":index})],2)})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n list: {\n type: Array,\n required: true,\n },\n isDisabled: {\n type: Boolean,\n default: false,\n },\n};\n","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"","import { ref, watch } from '@vue/composition-api';\n\nexport default function useDragAndDrop (props = {}, { emit }) {\n const items = ref([...props.list]);\n const draggedIndex = ref(null);\n\n const onDragStart = (event, index) => {\n draggedIndex.value = index;\n event.dataTransfer.effectAllowed = 'move';\n event.dataTransfer.setData('text/plain', index);\n // event?.currentTarget?.classList?.add('dragging');\n };\n\n const onDragOver = (event, index) => {\n if (\n draggedIndex.value === null ||\n draggedIndex.value === index\n ) {\n return;\n }\n\n const draggedItem = items.value[draggedIndex.value];\n items.value.splice(draggedIndex.value, 1);\n items.value.splice(index, 0, draggedItem);\n draggedIndex.value = index;\n };\n\n const onDrop = () => {\n draggedIndex.value = null;\n };\n\n const onDragEnd = () => {\n draggedIndex.value = null;\n emit('end', items.value)\n };\n\n watch(\n () => props.list,\n (newVal) => {\n items.value = [...newVal];\n },\n );\n\n watch(\n items,\n (newItems) => {\n emit('input', newItems);\n },\n { deep: true },\n );\n\n return {\n items,\n onDragStart,\n onDragOver,\n onDrop,\n onDragEnd,\n }\n}\n","import { render, staticRenderFns } from \"./DragAndDrop.vue?vue&type=template&id=2d8562ec&\"\nimport script from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\nexport * from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import DragAndDrop from './DragAndDrop.vue';\n\nexport default DragAndDrop;\n","export { default } from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BtnActionGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BtnActionGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppTooltip',{attrs:{\"text\":_vm.downloadHelpText}},[_c('VBtn',{attrs:{\"icon\":\"\",\"disabled\":_vm.isDisabled},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleClick($event)}}},[_c('VIcon',{attrs:{\"size\":\"30\"}},[_vm._v(\" \"+_vm._s(_vm.downloadIcon)+\" \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonDownloadDoc.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonDownloadDoc.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./ButtonDownloadDoc.vue?vue&type=template&id=7c47eb8e&\"\nimport script from \"./ButtonDownloadDoc.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonDownloadDoc.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=style&index=0&lang=scss&module=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('VProgressLinear',{attrs:{\"absolute\":\"\",\"bottom\":\"\",\"location\":\"bottom\",\"indeterminate\":\"\",\"active\":_vm.loading}}),_c('VDialog',{attrs:{\"content-class\":_vm.$style.container,\"max-width\":\"1200\",\"persistent\":\"\"},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}},[_c('div',{class:_vm.$style.wrapper},[_c('VCard',{class:_vm.$style.card},[_c('VCardTitle',{staticClass:\"px-4\",class:_vm.$style.header},[_c('div',{class:_vm.$style.headerTitle},[_vm._v(\" \"+_vm._s(_vm.modalTitle)+\" \")]),_c('div',{class:_vm.$style.headerButton},[(_vm.isFileSigned)?_c('ButtonDownloadDoc',{attrs:{\"is-archive\":\"\"},on:{\"click\":function($event){return _vm.process(false, 'zip')}}}):_vm._e(),_c('ButtonDownloadDoc',{on:{\"click\":function($event){return _vm.process(false, 'pdf')}}}),_c('ButtonPrint',{on:{\"click\":_vm.print}}),_c('VBtn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.close}},[_c('VIcon',[_vm._v(\" mdi-close \")])],1)],1)]),_c('div',{class:_vm.$style.inner},[_c('VCardText',{class:_vm.$style.document},[_c('iframe',{class:_vm.$style.iframe,style:((\"transform: scale(\" + _vm.iframeScale + \");\")),attrs:{\"id\":\"frame\",\"src\":_vm.localUrl,\"frameborder\":\"0\",\"crossorigin\":\"anonymous\",\"onload\":_vm.iframePrepare}})]),(_vm.isCards)?_c('div',{class:_vm.$style.content},[_c('ul',{class:_vm.$style.list},[_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Request Type'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.requestTypeName)+\" \")])]),_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Status'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.statusText)+\" \")])]),_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Create Date'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.docDate)+\" \")])]),(_vm.isFileSigned)?_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Date of Signing'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.docStatusDate)+\" \")])]):_vm._e(),(_vm.isRev)?_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Employee'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.employeeName)+\" \")])]):_vm._e(),(_vm.docDescription)?_c('li',{class:_vm.$style.item},[_c('span',{class:_vm.$style.subtitle},[_vm._v(\" \"+_vm._s(_vm.t('Comment'))+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.docDescription)+\" \")])]):_vm._e()]),_c('VBtn',{class:_vm.$style.sign,attrs:{\"color\":\"primary\",\"block\":\"\",\"disabled\":!_vm.isSignAvailable},on:{\"click\":_vm.handleOpenModalSigning}},[_vm._v(\" \"+_vm._s(_vm.t('Sign'))+\" \")])],1):_vm._e()],1)],1)],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonPrint.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonPrint.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./ButtonPrint.vue?vue&type=template&id=563e9136&\"\nimport script from \"./ButtonPrint.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonPrint.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppTooltip',{attrs:{\"text\":_vm.tooltipText}},[_c('VBtn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.handleClick()}}},[_c('VIcon',[_vm._v(\" mdi-printer \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=script&lang=js&\"","\n\n\n\n\n\n\n\n","import { render, staticRenderFns } from \"./FileLoader.vue?vue&type=template&id=5267f090&\"\nimport script from \"./FileLoader.vue?vue&type=script&lang=js&\"\nexport * from \"./FileLoader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileLoader.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./FileLoader.vue?vue&type=style&index=1&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style1.locals || style1)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { useStore } from '@vueblocks/vue-use-vuex';\nimport roleHelpers from '@/common/role/roleHelpers.js'\n\nexport const getDocumentEditableWorkflow = (document = {}, workflowList = []) => {\n const { object_id: objectId = '', status_id: status = '' } = document ?? {}\n\n // исключения для hr\n if (roleHelpers?.getBusinessRole() === 'hr') return true\n\n // если workflowList не указан, то заполним его через функцию\n const workflow = workflowList?.length ? workflowList : getAvailableWorkflow(document)\n\n // если в документе нет object_id, то найдем его\n const objectIdDoc = objectId?.length ? objectId : getObjectId(document)\n\n const workflowItem = workflow?.find((i) => {\n return (\n i?.reject === '0' &&\n i?.object_id === objectIdDoc &&\n i?.status_id === status\n )\n })\n\n return !!Number(workflowItem?.editable) ?? false\n}\n\n// находим кнопки для workflow по документу (item, {role, table, objectID})\nexport const getAvailableWorkflow = (item, payload) => {\n if (!item) return []\n const { state } = useStore()\n\n // если pole не указана, то заполняем\n const nameRole = payload?.role ?? roleHelpers?.getBusinessRole()\n\n // если objectID не указана, то заполняем. (в документе может не быть object_id)\n let objectID = payload?.objectID ?? item?.object_id\n\n // если нету objectID то найдем его\n if (!objectID) {\n objectID = getObjectId(item)\n }\n // если в названии таблице содержится \"_\" то нужно передать table и в getDocumentEditableWorkflow передать getAvailableWorkflow\n let nameTable = payload?.table\n\n // если table не указана, то вычислим из objectID\n if (!nameTable && objectID) {\n nameTable = objectID?.split('_')[0]\n }\n\n const workflowList = state?.workflow?.workflowSectionList?.[nameTable]?.[nameRole]\n\n const workflow = workflowList?.filter((el) =>\n el?.object_id === objectID &&\n el?.status_id === item?.status_id &&\n !Number(el?.detail?.disable_grid_button),\n )\n if (workflow?.length > 1) {\n workflow.sort((a, b) => b?.reject - a?.reject)\n }\n return workflow\n}\n\n// для получения object_id\nexport const getObjectId = (item) => {\n const { state } = useStore()\n const doc = state?.app?.documentTypes\n return doc?.find((el) => el?.id === item?.document_type_id)?.object_id\n}\n\nexport const checkIsDeletedWorkflow = (document) => {\n const { state } = useStore()\n\n if (!document) {\n return false\n }\n\n const { object_id: objectId = '', status_id: status = '' } = document ?? {}\n const { workflow: workflowList = [] } = state?.app ?? {}\n\n const workflow = workflowList?.find((i) => {\n return (\n i?.reject === '0' &&\n i?.object_id === objectId &&\n i?.status_id === status\n )\n })\n\n return workflow?.delete_allowed === '1'\n}\n","import { useStore } from '@vueblocks/vue-use-vuex';\n\nexport default function useNotification () {\n const { commit } = useStore();\n\n const showErrorNotification = (errorText = '') => {\n if (typeof errorText !== 'string') {\n return\n }\n\n const text = errorText?.length ? errorText : 'Error saving document. Close the window and try again or contact technical support.'\n\n commit('MODAL_NOTIFICATION_OPEN', { text })\n }\n\n return {\n showErrorNotification,\n };\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Content\":\"TableLabel__Content__1WX7A\",\"IconSort\":\"TableLabel__IconSort__2vAtR\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.Toolbar},[(_vm.isStepBack)?_c('StepBack',{attrs:{\"pre-title\":_vm.pagePreTitle,\"title\":_vm.pageTitle,\"icon\":_vm.sectionIcon}}):_vm._e(),_c('VSpacer'),_c('div',{class:_vm.$style.BtnBort},[_vm._t(\"header-btn\"),(_vm.editable && !_vm.disableCreateItem && _vm.$vuetify.breakpoint.mdAndUp)?_c('AppTooltip',{attrs:{\"text\":\"Add a new request\"}},[_c('VBtn',{attrs:{\"icon\":\"\",\"large\":\"\",\"variant\":\"text\",\"color\":\"primary\",\"data-test\":\"add-document\"},on:{\"click\":function($event){return _vm.editItem()}}},[_c('VIcon',[_vm._v(\" mdi-note-plus \")])],1)],1):_vm._e(),_vm._l((_vm.toolbarModel),function(toolbarItem){return _c('div',{key:toolbarItem.name},[(!toolbarItem.hidden)?_c('div',[(toolbarItem.type === 'button')?_c('AppTooltip',{attrs:{\"text\":toolbarItem.label}},[_c('VBtn',{class:toolbarItem.class,attrs:{\"icon\":\"\",\"large\":\"\",\"variant\":\"text\",\"color\":\"primary\"},on:{\"click\":toolbarItem.click}},[_c('VIcon',[_vm._v(\" \"+_vm._s(toolbarItem.icon)+\" \")])],1)],1):_vm._e()],1):_vm._e()])}),_c('AppTooltip',{attrs:{\"text\":\"Export to Excel\"}},[_c('VBtn',{attrs:{\"icon\":\"\",\"large\":\"\",\"variant\":\"text\",\"color\":\"primary\"},on:{\"click\":_vm.exportToCSV}},[_c('VIcon',[_vm._v(\" mdi-microsoft-excel \")])],1)],1),(_vm.visibilityModel && _vm.visibilityModel.length > 0 && _vm.$vuetify.breakpoint.mdAndUp)?_c('UiMenu',{attrs:{\"is-not-close\":\"\",\"min-width\":\"150\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('AppTooltip',{attrs:{\"text\":\"Visibility options\"}},[_c('VBtn',_vm._b({attrs:{\"icon\":\"\",\"large\":\"\"}},'VBtn',props,false),[_c('VIcon',[_vm._v(\" mdi-tune \")])],1)],1)]}}],null,false,4103355721),model:{value:(_vm.visibilityOpened),callback:function ($$v) {_vm.visibilityOpened=$$v},expression:\"visibilityOpened\"}},[_c('div',{class:_vm.$style.Card},[_c('span',{class:_vm.$style.Subtitle},[_vm._v(\" \"+_vm._s(_vm.$t('Visibility'))+\" \")]),_c('DragAndDrop',{attrs:{\"list\":_vm.visibilityModel},on:{\"end\":_vm.visibilityDraggingEnd},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.name !== 'indicators')?_c('UiBtn',{class:_vm.$style.BtnList,attrs:{\"variant\":\"tonal\",\"size\":\"small\",\"icon\":\"mdi-drag-horizontal\",\"color\":item.active ? 'primary' : 'darkgrey'},nativeOn:{\"click\":function($event){return _vm.visibilityItemClick(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(item.label))+\" \")]):_vm._e()]}}],null,false,4199443394)}),_c('div',{class:_vm.$style.ActiveCard},[_c('UiBtn',{attrs:{\"color\":\"accent\",\"variant\":\"tonal\",\"size\":\"small\"},nativeOn:{\"click\":function($event){_vm.visibilityOpened = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('Ok'))+\" \")])],1)],1)]):_vm._e(),(_vm.sortModel && _vm.sortModel.length > 0 && _vm.$vuetify.breakpoint.mdAndUp)?_c('UiMenu',{attrs:{\"is-not-close\":\"\",\"min-width\":\"150\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('AppTooltip',{attrs:{\"text\":\"Sort by\"}},[_c('VBtn',_vm._b({attrs:{\"icon\":\"\",\"large\":\"\"}},'VBtn',props,false),[_c('v-icon',[_vm._v(\" mdi-sort-alphabetical-variant \")])],1)],1)]}}],null,false,926051892),model:{value:(_vm.sortOpened),callback:function ($$v) {_vm.sortOpened=$$v},expression:\"sortOpened\"}},[_c('div',{class:_vm.$style.Card},[_c('span',{class:_vm.$style.Subtitle},[_vm._v(\" \"+_vm._s(_vm.$t('Sort'))+\" \")]),_c('DragAndDrop',{attrs:{\"list\":_vm.sortModel},on:{\"end\":_vm.sortDraggingEnd},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('UiBtn',{class:_vm.$style.BtnList,attrs:{\"variant\":\"tonal\",\"size\":\"small\",\"icon\":\"mdi-drag-horizontal\",\"color\":item.active ? 'primary' : 'darkgrey'},nativeOn:{\"click\":function($event){return _vm.sortItemClick(item)}}},[_c('VIcon',{attrs:{\"color\":item.active ? 'primary' : 'grey lighten-1'}},[_vm._v(\" \"+_vm._s(item.active ? (item.desc ? 'mdi-menu-up' : 'mdi-menu-down') : 'mdi-menu-swap')+\" \")]),_vm._v(\" \"+_vm._s(_vm.$t(item.label))+\" \")],1)]}}],null,false,1648152434)}),_c('div',{class:_vm.$style.ActiveCard},[_c('UiBtn',{attrs:{\"color\":\"accent\",\"variant\":\"tonal\",\"size\":\"small\"},nativeOn:{\"click\":function($event){_vm.sortOpened = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('Ok'))+\" \")])],1)],1)]):_vm._e(),(_vm.$vuetify.breakpoint.mdAndUp)?_c('UiMenu',{attrs:{\"is-not-close\":\"\",\"width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('AppTooltip',{attrs:{\"text\":\"Search\"}},[_c('VBtn',_vm._b({attrs:{\"icon\":\"\",\"large\":\"\"}},'VBtn',props,false),[_c('VIcon',{attrs:{\"color\":_vm.search > '' ? 'primary' : ''}},[_vm._v(\" mdi-magnify \")])],1)],1)]}}],null,false,3881112640)},[_c('div',{class:_vm.$style.Card},[_c('VTextField',{attrs:{\"append-icon\":\"mdi-check\",\"label\":_vm.$t('Search'),\"outlined\":\"\",\"variant\":\"outlined\",\"hide-details\":\"\",\"clearable\":\"\"},on:{\"click:append\":_vm.applySearch,\"click:clear\":function($event){_vm.search = null; _vm.applySearch()}},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1)]):_vm._e(),_c('AppTooltip',{attrs:{\"text\":\"Reload the data\"}},[_c('VBtn',{attrs:{\"icon\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.beforeRefresh({clearCache: true})}}},[_c('VIcon',[_vm._v(\" mdi-refresh \")])],1)],1)],2)],1),(!_vm.gridModelUpdated)?_c('UiLoader',{class:_vm.$style.TableLoader}):_vm._e(),(_vm.gridModelUpdated)?_c('VDataTable',{class:[_vm.isWebpack ? [_vm.$style.FooterCompactVue2] : [_vm.$style.FooterCompact]],attrs:{\"items\":_vm.items,\"headers\":_vm.gridHeaderList,\"search-input\":_vm.search,\"item-key\":_vm.rowKey,\"hide-default-header\":_vm.isWebpack ? true : false,\"focusable\":\"\",\"hover\":\"\",\"multi-sort\":\"\",\"mobile-breakpoint\":\"0\",\"items-per-page\":_vm.itemsPerPage,\"sort-by\":_vm.sortModelList,\"sort-desc\":Array.from(_vm.sortModel, function (i) { return i.active ? i.desc : null; }),\"footer-props\":{ itemsPerPageOptions: [10, 25, 50, 100, -1] }},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [(_vm.gridModel.filter(function (i) { return i.search === true; } ).length > 0)?_c('div',{class:_vm.$style.Top},[_c('UiMenu',{attrs:{\"is-not-close-outside\":\"\",\"is-not-close\":\"\",\"location\":\"right\",\"width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('UiBtn',_vm._b({attrs:{\"is-round\":\"\",\"is-icon\":\"\",\"color\":_vm.filterDefined ? 'eg-color' : 'eg-secondary',\"icon\":\"mdi-filter-outline\",\"size\":\"large\"},nativeOn:{\"click\":function($event){return _vm.handleFilter()}}},'UiBtn',props,false))]}}],null,false,1450550638),model:{value:(_vm.filterOpened),callback:function ($$v) {_vm.filterOpened=$$v},expression:\"filterOpened\"}},[_c('div',{class:_vm.$style.Card},[_c('span',{class:_vm.$style.Subtitle},[_vm._v(\" \"+_vm._s(_vm.$t('Filter'))+\" \")]),_vm._l((_vm.filterList),function(headerItem){return _c('div',{key:headerItem.name},[(headerItem.edittype === 'name')?_c('VAutocomplete',{key:headerItem.name,attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"item-disabled\":\"false\",\"item-props.disabled\":\"\",\"multiple\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"chips\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"clearable\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"variant\":\"outlined\"},scopedSlots:_vm._u([(headerItem.searchoptions && headerItem.searchoptions.multiple)?{key:\"selection\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('VChip',{attrs:{\"label\":\"\",\"outlined\":\"\",\"color\":\"primary\"}},[_c('span',{class:_vm.$style.TextOverflow},[_vm._v(\" \"+_vm._s(_vm.tt(item, headerItem.editoptions.item_text))+\" \")])])]}}:null],null,true),model:{value:(headerItem.filters),callback:function ($$v) {_vm.$set(headerItem, \"filters\", $$v)},expression:\"headerItem.filters\"}}):_vm._e(),(headerItem.edittype === 'select')?_c('VSelect',{key:headerItem.name,class:_vm.$style.Select,attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"multiple\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"chips\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"item-disabled\":\"false\",\"item-props.disabled\":\"false\",\"clearable\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"variant\":\"outlined\"},scopedSlots:_vm._u([(headerItem.searchoptions && headerItem.searchoptions.multiple)?{key:_vm.slotChip,fn:function(ref){\nvar item = ref.item;\nreturn [_c('VChip',{attrs:{\"label\":\"\",\"outlined\":\"\",\"variant\":\"outlined\",\"color\":\"primary\"}},[_c('span',{class:_vm.$style.TextOverflow},[_vm._v(\" \"+_vm._s(_vm.isWebpack ? item[_vm.defineEng(headerItem.editoptions.item_text)] : _vm.tt(item.raw, 'name'))+\" \")])])]}}:null],null,true),model:{value:(headerItem.filters),callback:function ($$v) {_vm.$set(headerItem, \"filters\", $$v)},expression:\"headerItem.filters\"}}):_vm._e(),(headerItem.edittype === 'autocomplete')?_c('VAutocomplete',{key:headerItem.name,attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"multiple\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"chips\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"item-disabled\":\"false\",\"item-props.disabled\":\"\",\"clearable\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"variant\":\"outlined\"},scopedSlots:_vm._u([(headerItem.searchoptions && headerItem.searchoptions.multiple)?{key:_vm.slotChip,fn:function(ref){\nvar item = ref.item;\nreturn [_c('VChip',{attrs:{\"label\":\"\",\"outlined\":\"\",\"variant\":\"outlined\",\"color\":\"primary\"}},[_c('span',{class:_vm.$style.TextOverflow},[_vm._v(\" \"+_vm._s(_vm.isWebpack ? item[_vm.defineEng(headerItem.editoptions.item_text)] : _vm.tt(item.raw, 'name'))+\" \")])])]}}:null],null,true),model:{value:(headerItem.filters),callback:function ($$v) {_vm.$set(headerItem, \"filters\", $$v)},expression:\"headerItem.filters\"}}):_vm._e(),(headerItem.edittype === 'checkbox' && !(headerItem.searchoptions && headerItem.searchoptions.items))?_c('VCheckbox',{key:headerItem.name,class:_vm.$style.CheckBox,attrs:{\"hide-details\":\"\",\"density\":\"compact\",\"color\":\"primary\",\"label\":_vm.$t(headerItem.label),\"disabled\":headerItem.disabledItem},model:{value:(headerItem.filters),callback:function ($$v) {_vm.$set(headerItem, \"filters\", $$v)},expression:\"headerItem.filters\"}}):_vm._e(),(headerItem.format === 'date' || (headerItem.edittype === 'checkbox' && headerItem.searchoptions && headerItem.searchoptions.items))?_c('VSelect',{key:headerItem.name,attrs:{\"item-disabled\":\"false\",\"item-props.disabled\":\"\",\"hide-details\":\"\",\"items\":headerItem.searchoptions.items,\"item-value\":headerItem.searchoptions.item_value,\"item-title\":_vm.defineEng(headerItem.searchoptions.item_text),\"item-text\":_vm.defineEng(headerItem.searchoptions.item_text),\"label\":_vm.$t(headerItem.label),\"multiple\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"chips\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"clearable\":\"\",\"outlined\":\"\",\"variant\":\"outlined\"},on:{\"change\":function($event){return _vm.handleDate(headerItem)}},scopedSlots:_vm._u([(headerItem.searchoptions && headerItem.searchoptions.multiple)?{key:_vm.slotChip,fn:function(ref){\nvar item = ref.item;\nreturn [_c('VChip',{attrs:{\"label\":\"\",\"variant\":\"outlined\",\"outlined\":\"\",\"color\":\"primary\"}},[_c('span',[_vm._v(_vm._s(item.name))])])]}}:null],null,true),model:{value:(headerItem.filters),callback:function ($$v) {_vm.$set(headerItem, \"filters\", $$v)},expression:\"headerItem.filters\"}}):_vm._e()],1)}),_c('div',{class:_vm.$style.ActiveCard},[_c('VBtn',{attrs:{\"color\":\"error\",\"variant\":\"text\",\"text\":\"\"},on:{\"click\":function($event){_vm.filterOpened = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('Cancel'))+\" \")]),_c('VBtn',{attrs:{\"color\":\"accent\",\"variant\":\"text\",\"text\":\"\"},on:{\"click\":function($event){_vm.handleApplyFilter(_vm.filterList); _vm.applySearch();}}},[_vm._v(\" \"+_vm._s(_vm.$t('Apply'))+\" \")])],1)],2)]),_vm._l((_vm.gridModel.filter(function (i) { return (i.filters && !i.disabledChips && (i.searchoptions.multiple === false || i.filters.length > 0)); })),function(headerItem){return _c('div',{key:headerItem.name},_vm._l(((headerItem.searchoptions.multiple ? headerItem.filters : [headerItem.filters])),function(label,index){return _c('VChip',{key:label + index,staticClass:\"ma-1\",attrs:{\"label\":\"\",\"variant\":\"outlined\",\"outlined\":\"\",\"close\":\"\",\"closable\":\"\",\"disabled\":_vm.gridPagination,\"color\":\"primary\"},on:{\"click:close\":function($event){headerItem.filters = (headerItem.searchoptions.multiple ? headerItem.filters.filter(function (i){ return i !== label; }) : null); _vm.applySearch(); _vm.handleDate();}}},[(headerItem.edittype === 'name')?_c('div',[_vm._v(\" \"+_vm._s(_vm.formatName(headerItem))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s((headerItem.edittype === 'checkbox' && label === true) ? _vm.$t(headerItem.label) : headerItem.formatStr(label))+\" \")])])}),1)})],2):_vm._e()]},proxy:true},{key:_vm.slotHeaders,fn:function(ref){\nvar props = ref.props;\nreturn [(_vm.$vuetify.breakpoint.mdAndUp)?_vm._t(\"header-mdAndUp\",function(){return [(_vm.clearItems.length > 0)?_c('tr',[_vm._l((_vm.gridHeaderList),function(headerItem){return _c('th',{key:headerItem.name,class:_vm.$style.Headers,on:{\"click\":function($event){_vm.sortItemClick(_vm.sortModel.find(function (i) { return i.name === headerItem.name; }))}}},[_c('TableLabel',{attrs:{\"item\":Object.assign({}, headerItem)}})],1)}),(!_vm.isDisableActions)?_c('th',{class:_vm.$style.Headers__actions},[_vm._v(\" \"+_vm._s(_vm.$t(\"Actions\"))+\" \")]):_vm._e()],2):_vm._e()]},null,{ props: props }):_vm._e(),(_vm.$vuetify.breakpoint.smAndDown)?_vm._t(\"header-smAndDown\",function(){return [_c('tr',[_c('th',{class:_vm.$style.Headers},[_vm._t(\"header-col1-smAndDown\",function(){return [_vm._v(\" \"+_vm._s(_vm.$t(\"Employee\"))+\" / \"+_vm._s(_vm.$t('Type'))+\" \")]})],2),_c('th',{class:_vm.$style.Headers__status},[_vm._t(\"header-col2-smAndDown\",function(){return [_vm._v(\" \"+_vm._s(_vm.$t(\"Status\"))+\" \")]})],2),(!_vm.isDisableActions)?_c('th',{class:_vm.$style.Headers__actions},[_c('samp')]):_vm._e()])]},null,{ props: props }):_vm._e()]}},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [(_vm.$vuetify.breakpoint.mdAndUp)?_vm._t(\"item-mdAndUp\",function(){return [_c('tr',{on:{\"dblclick\":function($event){return _vm.editItem(item)}}},[_vm._l((_vm.gridHeaderList.filter(function (i) { return i.edittype !== 'indicators'; })),function(headerItem){return _c('td',{key:headerItem.name},[_vm._t('item-' + headerItem.name,function(){return [(headerItem.edittype === 'checkbox')?_c('VCheckbox',{staticClass:\"mt-0 pt-0\",attrs:{\"true-value\":\"1\",\"false-value\":\"0\",\"disabled\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(item[headerItem.name]),callback:function ($$v) {_vm.$set(item, headerItem.name, $$v)},expression:\"item[headerItem.name]\"}}):[_c('div',{staticClass:\"d-flex\"},[(headerItem.prependIcon && headerItem.prependIcon(item))?_c('VBtn',{attrs:{\"icon\":\"\",\"x-small\":\"\",\"size\":\"x-small\"},on:{\"click\":function($event){headerItem.prependClick ? headerItem.prependClick(item) : null}}},[_c('VIcon',[_vm._v(\" \"+_vm._s(headerItem.prependIcon(item))+\" \")])],1):_vm._e(),_c('div',{class:[headerItem.classModule ? [_vm.$style[headerItem.classModule]] : headerItem.class],on:{\"click\":function($event){headerItem.click ? headerItem.click(item) : null}}},[_vm._v(\" \"+_vm._s(headerItem.formatStr(_vm.tt(item, headerItem.name)))+\" \")]),(headerItem.appendIcon && headerItem.appendIcon(item))?_c('VBtn',{attrs:{\"icon\":\"\",\"x-small\":\"\",\"size\":\"x-small\"},on:{\"click\":function($event){headerItem.appendClick ? headerItem.appendClick(item) : null}}},[_c('VIcon',[_vm._v(\" \"+_vm._s(headerItem.appendIcon(item))+\" \")])],1):_vm._e()],1)]]},null,{ item: item, items: _vm.items })],2)}),_vm._t(\"item-indicators\",function(){return _vm._l((_vm.gridHeaderList.filter(function (i) { return i.edittype === 'indicators'; })),function(headerItem){return _c('td',{key:headerItem.name},[(item.indicators)?_c('div',{staticClass:\"d-inline text-no-wrap\"},_vm._l((item.indicators.split(/;|,/)),function(indicatorColor,index){return _c('VIcon',{key:index,attrs:{\"color\":headerItem.prependIconColor(item)[index]}},[_vm._v(\" \"+_vm._s(headerItem.prependIcon(item)[index])+\" \")])}),1):_vm._e()])})},null,{ item: item }),(!_vm.isDisableActions)?_vm._t(\"item-action\",function(){return [_c('td',{staticClass:\"text-center\"},[_c('div',{staticClass:\"d-inline text-no-wrap\"},[_c('VIcon',{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.editItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.editable && !_vm.disableEditItem ? 'mdi-pencil' : 'mdi-eye-settings')+\" \")]),(_vm.editable && !_vm.disableDeleteItem)?_c('VIcon',{attrs:{\"small\":\"\",\"color\":\"primary\",\"disabled\":!_vm.disableWorkflow && item.status_id !== 'draft'},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\" mdi-delete \")]):_vm._e()],1)])]},null,{ item: item, editItem: _vm.editItem, deleteItem: _vm.deleteItem }):_vm._e()],2)]},null,{ item: item, gridHeaderList: _vm.gridHeaderList }):_vm._e(),(_vm.$vuetify.breakpoint.smAndDown)?_vm._t(\"item-smAndDown\",function(){return [_c('tr',{on:{\"dblclick\":function($event){return _vm.editItem(item)}}},[_c('td',[_vm._t(\"item-col1-smAndDown\",function(){return [_vm._v(\" \"+_vm._s(_vm.tt(item, 'employee_name'))+\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'document_type_name')))])]},null,{ item: item, gridHeaderList: _vm.gridHeaderList })],2),(item.status_id)?_c('td',{staticClass:\"px-1\"},[_vm._t(\"item-col2-smAndDown\",function(){return [_c('div',[_vm._v(\" \"+_vm._s(_vm.gridModel.find(function (p) { return p.name === 'status_id'; }).formatStr(item.status_id))+\" \")]),(item.indicators)?_c('div',{staticClass:\"d-inline text-no-wrap\"},_vm._l((item.indicators.split(/;|,/)),function(indicatorColor,index){return _c('VIcon',{key:index,attrs:{\"small\":\"\",\"color\":_vm.gridHeaderList.find(function (p) { return p.name === 'indicators'; }).prependIconColor(item)[index]}},[_vm._v(\" \"+_vm._s(_vm.gridHeaderList.find(function (p) { return p.name === 'indicators'; }).prependIcon(item)[index])+\" \")])}),1):_vm._e()]},null,{ item: item, gridHeaderList: _vm.gridHeaderList })],2):_c('td',[_c('span')]),(!_vm.isDisableActions)?_vm._t(\"item-action\",null,null,{ item: item, editItem: _vm.editItem, deleteItem: _vm.deleteItem }):_vm._e()],2)]}):_vm._e()]}},(_vm.gridPagination)?{key:\"no-data\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.$t('Set filter by employee or manager'))+\" \")]},proxy:true}:null],null,true)}):_vm._e(),(_vm.editable && _vm.$vuetify.breakpoint.smAndDown)?_c('UiBtn',{class:_vm.$style.BtnPlus,attrs:{\"is-round\":\"\",\"is-icon\":\"\",\"size\":\"x_large\",\"variant\":\"flat\",\"icon\":\"mdi-plus\",\"color\":\"secondary\",\"data-test\":\"add-document-mobile\"},nativeOn:{\"click\":function($event){return _vm.editItem()}}}):_vm._e(),(!_vm.disableEditItem)?_c('VDialog',{attrs:{\"max-width\":_vm.$vuetify.breakpoint.mdAndUp ? '800' : '400',\"scrollable\":\"\"},model:{value:(_vm.dialogEdit),callback:function ($$v) {_vm.dialogEdit=$$v},expression:\"dialogEdit\"}},[_vm._t(\"editDialog\",function(){return [_c('VCard',{staticClass:\"pa-2\"},[_c('VCardTitle',{staticClass:\"d-flex\"},[_c('span',{staticClass:\"pl-4\"},[_vm._v(\" \"+_vm._s(_vm.itemTitle)+\" \")]),_c('VSpacer'),_c('VBtn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.dialogClose}},[_c('VIcon',[_vm._v(\" mdi-close \")])],1)],1),_c('VCardText',{staticStyle:{\"height\":\"400px\"}},[_c('VContainer',[_c('VRow',_vm._l((_vm.gridModel.filter(function (i) { return !i.hidedlg; })),function(headerItem,indexItem){return _c('div',{key:indexItem,style:(_vm.$vuetify.breakpoint.mdAndUp ? 'width: 50%;' : 'width:100%;')},[_c('VCol',{staticClass:\"py-1\"},[(headerItem.edittype === 'name')?_c('VAutocomplete',{attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"hide-details\":\"\",\"clearable\":\"\",\"readonly\":!headerItem.editable,\"multiple\":!headerItem.searchoptions || headerItem.searchoptions.multiple,\"chips\":!headerItem.searchoptions || headerItem.searchoptions.multiple},model:{value:(_vm.editedItem[headerItem.name]),callback:function ($$v) {_vm.$set(_vm.editedItem, headerItem.name, $$v)},expression:\"editedItem[headerItem.name]\"}}):(headerItem.edittype === 'select')?_c('VSelect',{attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"hide-details\":\"\",\"clearable\":\"\",\"readonly\":!headerItem.editable},model:{value:(_vm.editedItem[headerItem.name]),callback:function ($$v) {_vm.$set(_vm.editedItem, headerItem.name, $$v)},expression:\"editedItem[headerItem.name]\"}}):(headerItem.edittype === 'autocomplete')?_c('VAutocomplete',{attrs:{\"items\":headerItem.editoptions.items,\"item-value\":headerItem.editoptions.item_value,\"item-text\":_vm.defineEng(headerItem.editoptions.item_text),\"item-title\":_vm.defineEng(headerItem.editoptions.item_text),\"label\":_vm.$t(headerItem.label),\"hide-details\":\"\",\"clearable\":\"\",\"readonly\":!headerItem.editable},model:{value:(_vm.editedItem[headerItem.name]),callback:function ($$v) {_vm.$set(_vm.editedItem, headerItem.name, $$v)},expression:\"editedItem[headerItem.name]\"}}):(headerItem.edittype === 'checkbox')?_c('VCheckbox',{attrs:{\"true-value\":\"1\",\"false-value\":\"0\",\"hide-details\":\"\",\"density\":\"compact\",\"color\":\"primary\",\"label\":_vm.$t(headerItem.label),\"readonly\":!headerItem.editable},model:{value:(_vm.editedItem[headerItem.name]),callback:function ($$v) {_vm.$set(_vm.editedItem, headerItem.name, $$v)},expression:\"editedItem[headerItem.name]\"}}):_c('VTextField',{attrs:{\"label\":_vm.$t(headerItem.label),\"mask\":headerItem.mask,\"hide-details\":\"auto\",\"readonly\":!headerItem.editable,\"rules\":_vm.numericRules(headerItem)},model:{value:(_vm.editedItem[headerItem.name]),callback:function ($$v) {_vm.$set(_vm.editedItem, headerItem.name, (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"editedItem[headerItem.name]\"}})],1)],1)}),0)],1),(_vm.isDuplicateError)?_c('VAlert',{attrs:{\"border\":\"left\",\"colored-border\":\"\",\"type\":\"error\",\"elevation\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.$t('This entry already exists'))+\" \")]):_vm._e()],1),_c('VCardActions',{class:_vm.$style.CardActions},[(!_vm.disableWorkflow)?_vm._l((_vm.availableWorkflow(_vm.editedItem.status_id)),function(workflowItem){return _c('UiBtn',{key:workflowItem.id,attrs:{\"color\":workflowItem.reject ==='1' ? 'secondary' : 'primary',\"variant\":\"flat\"},nativeOn:{\"click\":function($event){return _vm.process(workflowItem)}}},[(workflowItem.reject ==='1')?_c('VIcon',{attrs:{\"small\":\"\",\"size\":\"small\"}},[_vm._v(\" mdi-reply \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.tt(workflowItem, 'name'))+\" \"),(workflowItem.reject ==='0')?_c('VIcon',{attrs:{\"small\":\"\",\"size\":\"small\"}},[_vm._v(\" mdi-share \")]):_vm._e()],1)}):_vm._e(),_c('UiBtn',{attrs:{\"color\":\"secondary\"},nativeOn:{\"click\":function($event){return _vm.dialogClose.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Cancel'))+\" \")]),_c('UiBtn',{attrs:{\"color\":\"primary\",\"disabled\":!_vm.editable},nativeOn:{\"click\":function($event){return _vm.saveItem.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Save'))+\" \")])],2)],1)]},null,{ editedItem: _vm.editedItem, actionClose: _vm.dialogClose, actionSave: _vm.saveItem })],2):_vm._e(),_c('VDialog',{attrs:{\"max-width\":\"330\"},model:{value:(_vm.dialogConfirm),callback:function ($$v) {_vm.dialogConfirm=$$v},expression:\"dialogConfirm\"}},[_c('VCard',[_c('VCardText',{staticClass:\"pt-4\"},[_vm._v(\" \"+_vm._s(_vm.$t('Please confirm the action'))+\" \")]),_c('VCardActions',[_c('VSpacer'),_c('UiBtn',{attrs:{\"color\":\"secondary\"},nativeOn:{\"click\":function($event){_vm.dialogConfirmOK = false; _vm.dialogConfirm = false;}}},[_vm._v(\" \"+_vm._s(_vm.$t('Cancel'))+\" \")]),_c('UiBtn',{attrs:{\"color\":\"primary\"},nativeOn:{\"click\":function($event){_vm.dialogConfirmOK = true; _vm.dialogConfirm = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('Submit'))+\" \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./TableLabel.vue?vue&type=template&id=0c2b7afd&\"\nimport script from \"./TableLabel.vue?vue&type=script&lang=js&\"\nexport * from \"./TableLabel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TableLabel.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.Content},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(_vm.item.label))+\" \")]),(_vm.item.sortable)?_c('VIcon',{class:_vm.$style.IconSort,attrs:{\"color\":_vm.iconColor}},[_vm._v(\" \"+_vm._s(_vm.item.active ? (_vm.iconDesc) : 'mdi-menu-swap')+\" \")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n {{ isWebpack ? item[defineEng(headerItem.editoptions.item_text)] : tt(item.raw, 'name') }}\n \n \n \n \n \n \n \n \n {{ item.name }}\n \n \n \n \n

\n \n {{ $t('Cancel') }}\n \n \n {{ $t('Apply') }}\n \n
\n \n \n\n \n (i.filters && !i.disabledChips && (i.searchoptions.multiple === false || i.filters.length > 0)))\"\n :key=\"headerItem.name\"\n >\n i !== label) : null); applySearch(); handleDate();\"\n >\n
\n {{ formatName(headerItem) }}\n
\n
\n {{ (headerItem.edittype === 'checkbox' && label === true) ? $t(headerItem.label) : headerItem.formatStr(label) }}\n
\n \n \n \n \n\n \n \n\n \n \n\n \n {{ $t('Set filter by employee or manager') }}\n \n \n \n \n \n \n \n \n \n {{ itemTitle }}\n \n \n \n \n mdi-close\n \n \n \n \n \n \n !i.hidedlg)\"\n :key=\"indexItem\"\n :style=\"$vuetify.breakpoint.mdAndUp ? 'width: 50%;' : 'width:100%;'\"\n >\n \n \n \n \n \n \n \n \n \n \n \n {{ $t('This entry already exists') }}\n \n \n \n \n \n {{ $t('Cancel') }}\n \n \n {{ $t('Save') }}\n \n \n \n \n \n\n \n \n \n \n {{ $t('Please confirm the action') }}\n \n \n \n \n {{ $t('Cancel') }}\n \n \n {{ $t('Submit') }}\n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DataGrid.vue?vue&type=template&id=05e4e5cc&\"\nimport script from \"./DataGrid.vue?vue&type=script&lang=js&\"\nexport * from \"./DataGrid.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DataGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=style&index=1&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=style&index=1&lang=scss&module=true&\"","import { computed } from '@vue/composition-api';\nimport { useStore } from '@vueblocks/vue-use-vuex';\nimport signHelpers from '@/common/sign/signHelpers';\n\nexport default function useDocumentSign (document) {\n const { commit } = useStore();\n\n const isSignAvailable = computed(() =>\n signHelpers.checkSignAvailable(document),\n );\n\n const isFileSigned = computed(() =>\n document?.files?.[0]?.file_name?.includes('_visual'),\n );\n\n const checkFileSigned = (document) => {\n return document?.files?.[0]?.file_name?.includes('_visual');\n };\n\n const checkSignAvailable = (document) => {\n return signHelpers.checkSignAvailable(document)\n };\n\n const handleOpenModalSigning = (document) => {\n commit('openModalSigning', {\n document,\n method: 'add',\n });\n };\n\n return {\n isSignAvailable,\n isFileSigned,\n handleOpenModalSigning,\n checkSignAvailable,\n checkFileSigned,\n };\n}\n"],"sourceRoot":""}