{"version":3,"sources":["webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/uikit/Table/TableLabel.vue?b7e1","webpack:///./src/common/documentSection/sectionData.js","webpack:///./src/common/documentSection/documentTableHelpers.js","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/DataGrid.vue?4bda","webpack:///./src/views/UpdAgreement/UpdAgreementMain.vue?af29","webpack:///./src/views/UpdAgreement/UpdAgreementMain.vue?8778","webpack:///src/views/UpdAgreement/UpdAgreementMain.vue","webpack:///./src/views/UpdAgreement/UpdAgreementMain.vue","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/views/UpdAgreement/UpdAgreementMain.vue?56ee","webpack:///./src/views/UpdAgreement/UpdAgreementMain.vue?334d","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","showError","text","commit","color","timeout","debug","checkCanCreateTableItemByStatus","workflow","workflowSectionList","roles","getRoleByRouteMeta","Object","keys","workflowList","workflowItem","find","item","status_id","status","object","STATUS_NAME","empty","Number","editable","components","DataGrid","WorkflowActions","UiMenu","UiBtn","setup","init","refreshData","t","tt","gridModel","isOwn","isHr","viewName","isCanCreate","getFormattedDate","availableWorkflow","editableWorkflow","editItem","router","push","name","params","id","own","deleteItem","tableName","data","changeWorkflow","event","indicators","component","_vm","this","_h","$createElement","_c","_self","attrs","on","scopedSlots","_u","key","fn","_v","_s","proxy","ref","class","$style","TdItemTitle","TdItemSubTitle","start_date","end_date","TdActions","props","_b","BtnBoard","nativeOn","$event","_e","context","locals","UiLoader","useDocument","document","getters","useStore","route","useRoute","useLanguage","isRev","meta","rev","requestTypeName","computed","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","paramData","param","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","profile","getProfile","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","diff","reject","vacation_correction","vacation2","includes","vacation_validate_unallocated_correction","parentVacations","indexOf","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","sub","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","Array","isRejectPrimary","isPrevStepDisabled","isLocalSigning","emits","showErrorNotification","locale","$store","isSignature","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","hooksDocument","watch","submitMessageDialog","val","editableItem","processFinal","methods","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","$set","handleFileLoaderClose","downloadOptions","modelValue","setEng","slotAppend","messageText","changeLocale","update","emit","isWebpack","label","hint","apply","arguments","required","isDisabled","items","draggedIndex","onDragStart","index","dataTransfer","effectAllowed","setData","onDragOver","draggedItem","splice","onDrop","onDragEnd","newVal","newItems","deep","_t","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","getDocumentEditableWorkflow","roleHelpers","getBusinessRole","getAvailableWorkflow","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","gridPagination","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","isPowerUser","isManager","isAdmin","isAccountant","isSub","isAvailableCSV","filterDefined","headerItem","defined","visibilityModelList","visibilityModel","sortList","itemsPerPage","defaultRowsNumber","dialogConfirmOK","oper","assign","editedItem","rowKey","clearItems","findIndex","created","parentComponent","$route","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","opt","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,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,oCCxBb,wCAKe,KACbe,UADa,SACFC,GACTb,IAAMc,OAAO,eAAgB,CAC3BD,OACAE,MAAO,QACPC,QAAS,IACTC,OAAO,KAIXC,gCAVa,SAUoBrB,EAASC,GAAM,gBAC9C,oBAAqCE,UAArC,IAAqCA,KAArC,UAAqCA,IAAOI,aAA5C,aAAqC,EAAce,gBAAnD,QAA+D,IAAvDC,2BAAR,MAA8B,GAA9B,EAKA,GAFAtB,EAAI,UAAGA,SAAH,QAAWuB,IAAMC,qBAEjB,UAACC,OAAOC,KAA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,OAAOla,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,WAAWoB,SAAS,CAAC,MAAQ,SAASC,GAAQ3B,EAAIie,iBAAkB,EAAMje,EAAIsf,eAAgB,KAAS,CAACtf,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIsa,GAAG,WAAW,QAAQ,IAAI,IAAI,IAAI,KACtrT,IOLpB,GAZF,SAAuBzY,GAErB5B,KAAa,OAAK,UAAO6B,QAAU,YAYnC,KACA,MAIa,M,2CC3Bf,oE,kCCAA,0EAIe,SAASklB,EAAiB/kB,GACvC,IAAQvF,EAAWyF,cAAXzF,OAyBR,MAAO,CACLmZ,gBAxBsBlT,aAAS,kBAC/BwG,IAAY8d,mBAAmBhlB,MAwB/B6T,aArBmBnT,aAAS,4BAC5BV,SAD4B,UAC5BA,EAAU2H,aADkB,iBAC5B,EAAkB,UADU,iBAC5B,EAAsBsd,iBADM,aAC5B,EAAiC/e,SAAS,cAqB1CuQ,uBAV6B,SAACzW,GAC9BvF,EAAO,mBAAoB,CACzBuF,WACAoU,OAAQ,SAQV4Q,mBAfyB,SAAChlB,GAC1B,OAAOkH,IAAY8d,mBAAmBhlB,IAetCklB,gBApBsB,SAACllB,GAAa,UACpC,OAAOA,SAAP,UAAOA,EAAU2H,aAAjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsBsd,iBAA7B,aAAO,EAAiC/e,SAAS","file":"js/chunk-73b5b620.b6d5347f.js","sourcesContent":["// 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","\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&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('DataGrid',{attrs:{\"title\":\"Agreement\",\"grid-model\":_vm.gridModel,\"editable\":_vm.isCanCreate,\"refresh-data\":_vm.refreshData,\"disable-edit-item\":\"\"},on:{\"onEditItem\":_vm.editItem,\"onDeleteItem\":_vm.deleteItem},scopedSlots:_vm._u([{key:\"header-col1-smAndDown\",fn:function(){return [(_vm.isHr)?_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.isHr)?_c('div',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'employee_name'))+\" \")]):_c('div',{class:_vm.$style.TdItemTitle},[_vm._v(\" \"+_vm._s(_vm.tt(item, 'document_type_name'))+\" \")]),_c('div',{class:_vm.$style.TdItemSubTitle},[_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('td',{class:_vm.$style.TdActions},[_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))]}}],null,true)},[_c('div',{class:_vm.$style.BtnBoard},[_c('UiBtn',{attrs:{\"size\":\"small\",\"variant\":\"tonal\"},nativeOn:{\"click\":function($event){return editItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.isOwn && _vm.editableWorkflow(item) ? _vm.t('Edit') : _vm.t('View'))+\" \")]),(_vm.editableWorkflow(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.viewName,\"document\":item,\"available-workflow\":_vm.availableWorkflow(item)},on:{\"input\":function($event){return _vm.changeWorkflow(item, $event)}}})],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!./UpdAgreementMain.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!./UpdAgreementMain.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./UpdAgreementMain.vue?vue&type=template&id=a24012e4&\"\nimport script from \"./UpdAgreementMain.vue?vue&type=script&lang=js&\"\nexport * from \"./UpdAgreementMain.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UpdAgreementMain.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","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","// extracted by mini-css-extract-plugin\nmodule.exports = {\"BtnBoard\":\"UpdAgreementMain__BtnBoard__1v1VF\",\"TdActions\":\"UpdAgreementMain__TdActions__1AD_9\",\"TdItemTitle\":\"UpdAgreementMain__TdItemTitle__eXnoK\",\"TdItemSubTitle\":\"UpdAgreementMain__TdItemSubTitle__3Zlit\"};","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!./UpdAgreementMain.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!./UpdAgreementMain.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":""}