{"version":3,"sources":["webpack:///./src/components/uikit/Indicators.vue?dd09","webpack:///./src/components/uikit/Indicators.vue?20b3","webpack:///src/components/uikit/Indicators.vue","webpack:///./src/components/uikit/Indicators.vue","webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/uikit/Table/TableLabel.vue?b7e1","webpack:///./src/views/Estimate/Create/EstimateCreateStructure.vue?02d7","webpack:///./src/common/hooks.js","webpack:///./src/components/Layout/LayoutInput/LayoutInput.vue?1fe0","webpack:///./src/components/Layout/LayoutInput/props.js","webpack:///./src/components/Layout/LayoutInput/LayoutInput.vue?c81e","webpack:///src/components/Layout/LayoutInput/LayoutInput.vue","webpack:///./src/components/Layout/LayoutInput/LayoutInput.vue","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue?e087","webpack:///./src/common/estimate/estimateFormModalProps.js","webpack:///./src/components/Estimate/EstimateTable.vue?09af","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/Layout/LayoutDropdown/LayoutDropdown.vue?3515","webpack:///./src/components/DataGrid.vue?4bda","webpack:///./src/components/Estimate/Tables/EstimateAssessmentForms.vue?a342","webpack:///./src/components/uikit/UiLoader/index.js","webpack:///./src/common/layout/useLayoutField.js","webpack:///./src/components/Estimate/Modals/EstimateModalHistory.vue?5a73","webpack:///./src/components/Estimate/Modals/EstimateModalHistory.vue?1f5c","webpack:///src/components/Estimate/Modals/EstimateModalHistory.vue","webpack:///./src/components/Estimate/Modals/EstimateModalHistory.vue","webpack:///./src/components/Layout/LayoutDropdown/LayoutDropdown.vue?1a81","webpack:///./src/components/Layout/LayoutDropdown/props.js","webpack:///./src/components/Layout/LayoutDropdown/LayoutDropdown.vue?7af1","webpack:///src/components/Layout/LayoutDropdown/LayoutDropdown.vue","webpack:///./src/components/Layout/LayoutDropdown/LayoutDropdown.vue","webpack:///./src/components/DataGrid.vue?3c2d","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue?bdd2","webpack:///./src/components/TreeviewSubordination/props.js","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue?899e","webpack:///src/components/TreeviewSubordination/TreeviewSubordination.vue","webpack:///./src/components/TreeviewSubordination/useTreeSubordination.js","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue","webpack:///./src/components/Layout/LayoutInput/LayoutInput.vue?ee23","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/common/estimate/helpers.js","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/Estimate/Tables/EstimateValuation.vue?d054","webpack:///./src/components/Estimate/Modals/EstimateModalValuation.vue?ed79","webpack:///src/components/Estimate/Modals/EstimateModalValuation.vue","webpack:///./src/components/Estimate/Modals/EstimateModalValuation.vue","webpack:///./src/components/Estimate/Modals/EstimateModalValuation.vue?9fa8","webpack:///./src/components/Estimate/Tables/EstimateValuation.vue?75a8","webpack:///src/components/Estimate/Tables/EstimateValuation.vue","webpack:///./src/components/Estimate/Tables/EstimateValuation.vue","webpack:///./src/components/Estimate/Tables/EstimateAssessmentForms.vue?6648","webpack:///./src/components/Estimate/Modals/EstimateModalMessages.vue?ed92","webpack:///src/components/Estimate/Modals/EstimateModalMessages.vue","webpack:///./src/components/Estimate/Modals/EstimateModalMessages.vue","webpack:///./src/components/Estimate/Modals/EstimateModalMessages.vue?47eb","webpack:///./src/components/Estimate/EstimateResults.vue?22c3","webpack:///src/components/Estimate/EstimateResults.vue","webpack:///./src/components/Estimate/EstimateResults.vue","webpack:///./src/components/Estimate/EstimateResults.vue?8b6e","webpack:///./src/components/Estimate/Tables/EstimateAssessmentForms.vue?b5d6","webpack:///src/components/Estimate/Tables/EstimateAssessmentForms.vue","webpack:///./src/components/Estimate/Tables/EstimateAssessmentForms.vue","webpack:///./src/components/Estimate/Modals/EstimateModal.vue?b134","webpack:///./src/components/Estimate/Modals/EstimateModal.vue?23f2","webpack:///src/components/Estimate/Modals/EstimateModal.vue","webpack:///./src/components/Estimate/Modals/EstimateModal.vue","webpack:///./src/components/Estimate/Modals/EstimateFormsList.vue?6ba1","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/common/inputHooks.js","webpack:///./src/common/layout/useLayoutData.js","webpack:///./src/components/Estimate/EstimateTable.vue?711f","webpack:///./src/components/Estimate/Modals/EstimateFormsList.vue?c97b","webpack:///src/components/Estimate/Modals/EstimateFormsList.vue","webpack:///./src/components/Estimate/Modals/EstimateFormsList.vue","webpack:///./src/components/Estimate/Modals/EstimateFormsList.vue?4e34","webpack:///./src/views/Estimate/Create/EstimateCreateStructure.vue?ebbd","webpack:///src/views/Estimate/Create/EstimateCreateStructure.vue","webpack:///./src/views/Estimate/Create/EstimateCreateStructure.vue","webpack:///./src/views/Estimate/Create/EstimateCreateStructure.vue?9870","webpack:///./src/components/Estimate/Modals/EstimateModalEmployeeStructure.vue?e13b","webpack:///src/components/Estimate/Modals/EstimateModalEmployeeStructure.vue","webpack:///./src/components/Estimate/Modals/EstimateModalEmployeeStructure.vue","webpack:///./src/components/Estimate/Modals/EstimateModalEmployeeStructure.vue?22bc","webpack:///./src/components/Estimate/EstimateTable.vue?c35a","webpack:///src/components/Estimate/EstimateTable.vue","webpack:///./src/components/Estimate/EstimateTable.vue","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/notification/useNotification.js","webpack:///./src/components/Estimate/EstimateTable.vue?ba0a","webpack:///./src/common/estimate/estimateFormTableProps.js","webpack:///./src/components/FileLoader.vue?f19b","webpack:///./src/components/uikit/Table/TableLabel.vue?0eb7","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue?930d","webpack:///./src/common/estimate/useEstimateTable.js","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/components/Estimate/Modals/EstimateModal.vue?6d97","webpack:///./src/common/paper/useDocumentSign.js"],"names":["props","list","type","String","default","title","listItems","value","split","component","_vm","this","_h","$createElement","_c","_self","staticClass","_l","item","index","key","attrs","_v","_s","_e","module","exports","checkRoleGF","store","state","param","auth","paramGF","data","gf_manager_as_manager","roles","profile","isGF","Number","includes","getDocumentsCrosscheckExclude","category","docsExclude","documents_crosscheck_exclude","objectsData","app","docs","timesheets","length","categoryData","filter","i","layout","excludeDocsList","map","element","trim","uniqueList","helpers","getUniqueValue","some","forEach","object_table","push","checkDomesticBTrip","doc","paramCIS","btrip_CIS_typelist","find","getRoleByRouteMeta","meta","sub","hr","rev","modelValue","fieldData","Object","rules","Array","isTextarea","Boolean","disabled","disabledSpecial","hint","components","TooltipIcon","setup","label","isHint","fieldHint","isVisible","isDisabled","fieldRules","fieldType","onInput","emit","event","icon","on","slot","dataList","isOpen","role","dbTable","required","isEditAvailable","fieldsList","UiLoader","useLayoutField","tt","useLanguage","getLayoutFieldData","name","fieldList","code","checkLayoutFieldDisabled","is_editable","getLayoutFieldTitle","document","mounted","headers","computed","isOpened","get","set","closeModal","methods","$emit","handleSave","isLoading","getDateWithHoursAndMinutes","model","callback","$$v","expression","$t","staticStyle","ref","scopedSlots","_u","fn","$vuetify","breakpoint","create_date","itemValue","itemText","handleChange","$event","blockingList","isCurrentUser","emits","useStore","dispatch","getters","treeItemList","getProfile","subordination","items","isExist","employee_id","estimate","getStructureSubordination","setTree","a","emp","e","APP_GET_STRUCTURE_TREE","employeeId","rootCurrentUser","onMounted","selection","getLanguageField","watch","onUpdateSelection","newValue","clearSelection","handleSearch","val","allOpened","lastOpen","open","$refs","tree","updateAll","class","$style","Content","Section","Search","search","Tree","selectionType","locked","unassigned","node","id","EmployeePosition","context","locals","useDocument","route","useRoute","isRev","requestTypeName","docDescription","statuses","APP_GET_PROP","docStatus","status_id","statusText","docDate","moment","date","format","docStatusDate","status_date","employeeName","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","status","APP_GET_AVAILABLE_WORKFLOW","object_id","business_role","all_types","workflow","documentTypes","document_type_id","check","vacation_schedule","paramData","message","console","log","vacation_validate_full_month","next_status_id","vacations","vacation_schedule_period","replaced","replaced_vacation_ids","totalDays","totalWeekendDays","vacationItem","document_type_name_eng","days","weekendDays","APP_GET_DATEDIFF","startDate","start_date","endDate","end_date","dailyInfo","allowedWeekendDays","i18n","t","vacation_validate_unallocated_schedule","vacationLimits","period","limitItem","vacationsByType","reduce","sum","unsaved","norma","checkActionForbiddenPeriod","prepareData","updateItem","registrator_id","workflow_id","creator_id","organization_id","message_text","comment_text","message_text_eng","comment_text_eng","indicators","vacation_validate_process_schedule_together","TableService","add","object","link","router","diff","reject","vacation_correction","vacation2","vacation_validate_unallocated_correction","parentVacations","indexOf","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","documentType","documentHelpers","getDocumentTypeData","documentTypeCode","isForSign","signHelpers","checkIsSignWorkflow","isEng","localeHelpers","comments","comments_eng","commentsEng","validateComment","getTextByAlias","files","checkFileAttached","overtime","docType","isNextWorkflow","detail","checkbox_work_agreement_actioncheck_require","details","work_on_holiday_agreement","checkbox_denial_confirm_actioncheck_require","work_denial_confirm","btrip","warningText","is_weekend_included","isBtripMultiDestination","isBtripRequireExpense","btrip_require_expense","btripDateDisable","btrip_date_disable","docDetails","tripList","trip_destination_requests","tripListLast","lastTripLeaveDate","leave_on","innerText","text","checkValidDocument","otherBtripsWithoutExpence","dateBtripDateDisable","isAfter","checkDocument","goalsList","goals","valuationList","valuation","goalsWeight","goalsWeightTotal","planningGoalsWeight","planningGoalsWeightTotal","planningGoalsList","planningGoals","formLayoutTabs","layoutTabList","layout_tab","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","documentName","loading","availableWorkflow","isRejectPrimary","isPrevStepDisabled","isLocalSigning","showErrorNotification","locale","$store","isSignature","workflowList","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","hooksDocument","submitMessageDialog","editableItem","processFinal","workflowColor","getRequestData","request_type_code","requestTypeCode","test","navigator","userAgent","Workflow","workflowItem","_b","$attrs","btnClass","loadingLocal","smAndDown","undefined","handleChangeWorkflow","isLocalModalSigning","process","showMessageDialog","modelMessage","text_eng","valueEng","$set","handleFileLoaderClose","downloadOptions","checkFormAvailable","formId","routeName","$route","isAvailable","form","getForm","checkRole","editable","checkDeadline","Date","toISOString","slice","checkTableFilter","user","year","currentEstimate","checkUrlId","checkPeriodId","checkFieldAvailable","fieldRole","formAvailable","setArchiveList","forms","currentYear","getCurrentYear","menu","path","archiveList","b","uniqueYears","subMenu","menuItemIndex","findIndex","estimate_name","calculatePrize","dictionary","grade","gradeDicItem","count","totalWeight","prize","weight","goalMark","description","goal_mark","toFixed","final_mark","checkZeroValue","estimateList","estimateAll","getMaxSortValue","payload","root","manager_id","resChildren","recursiveChildren","level","c","resGrandChildren","isPowerUser","gc","employee_name","name_eng","employee_name_eng","photo_name","children","extend","hide","resMe","resStructure","manager_name","manager_name_eng","isManager","unattachedEmployees","resUnassignedChildren","resUnassignedEmployees","commit","debug","getActualForms","period_status","saveFormTableData","table","routeId","currentForm","showError","error","edit","createGuid","estimate_id","checkFormIsFinal","isClientVinyl","isClientConti","setEng","slotAppend","messageText","changeLocale","update","isWebpack","nativeOn","apply","arguments","proxy","EstimateModal","LayoutDropdown","LayoutInput","isEdit","dicValuationFiltered","dicValuation","setDataList","setInitialState","then","assign","setScale","field","setValuation","checkField","handleSetDictionary","getTooltipText","tooltipText","textRespect","textBehavior","textTeam","textClients","textEducation","textCredentials","isSaveLoading","valuationField","selfEsteemField","assessmentField","competenceIndicator","valid","scaleList","EstimateTable","EstimateModalValuation","params","updateData","isModalCreateOpen","tableRef","openModal","modalData","modalRef","setSpecialKeys","itemSelf","selfEsteem_text","itemAssessment","assessment_text","itemVal","valuation_text","tableTitleField","tableGridModel","modalTitle","pullAction","messagesList","finalMark","DataGrid","EstimateModalHistory","EstimateModalMessages","EstimateResults","isOwnPage","estimateResult","visible","isGradeResultCount","edittype","editoptions","item_value","item_text","width","sortable","prependIcon","prependIconColor","gridModel","isTableLoaded","isModalHistory","isModalMessages","showModalError","refreshData","response","Promise","editItem","resultDoc","gridPagination","_g","isInfoModal","isScrollable","scrollable","_t","draggedIndex","onDragStart","dataTransfer","effectAllowed","setData","onDragOver","draggedItem","splice","onDrop","onDragEnd","newVal","newItems","deep","preventDefault","DragAndDrop","checkIsEng","lang","checkFieldVisible","is_visible","getFieldLabel","eng","title_eng","getFieldHint","ru","hint_eng","getRules","checkFieldDisabled","checkFieldMandatory","getFieldType","checkFieldHint","keys","is_mandatory","findField","useLayoutData","hooks","tabFieldList","tabFields","getLayoutFieldList","fieldName","tabId","fields","layout_tab_id","tab_code","EstimateAssessmentForms","TreeviewSubordination","isAuthorizedRoles","caseSensitive","created","init","structure","radioGroup","handleUpdateSelection","modalConfirm","handleModalConfirm","EstimateCreateStructure","periodId","documents","periodData","WorkflowActions","Indicators","EstimateModalEmployeeStructure","EstimateFormsList","isCanCreate","isStepBack","isEmployee","isCanDelete","isDisabledDelete","tableFilter","isDisabledCreate","isPreviewDisabled","isLocalTable","isCanClose","isEditItem","forceUpdate","getFormattedDate","businessRole","own","isArchive","beforeRefresh","inlineEdit","closeModalFormsList","isModalFormsList","employeeModalData","closeModalEmpStructure","isModalStructure","statusName","showItem","$router","closeItem","changeWorkflow","editableWorkflow","w","toolbarModel","ignoreSavedFilters","deleteItem","menuButtons","AppTooltip","downloadIcon","downloadHelpText","handleClick","stopPropagation","ButtonDownloadDoc","ButtonPrint","preview","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","fileOriginalName","handler","method","oldValue","beforeUnmount","close","showDialog","localUrl","fileName","download","href","setAttribute","body","appendChild","click","print","iframe","contentWindow","iframePrepare","contentDocument","iframeBody","getElementsByTagName","img","tagName","style","container","wrapper","card","header","headerTitle","headerButton","inner","iframeScale","content","subtitle","sign","handleOpenModalSigning","useNotification","errorText","tabInfo","useEstimateTable","setEstimateTable","active","iconColor","desc","iconDesc","setColor","setDescIcon","IconSort","titleIcon","itemTitle","Function","disableCreateItem","disableEditItem","disableDeleteItem","disableWorkflow","isDisableActions","watchRefresh","isToolbar","compareList","compareArrayName","requiredList","numbersList","StepBack","TableLabel","UiMenu","UiBtn","from","sortModel","propsTitle","sectionIcon","pageTitle","pagePreTitle","defineEng","slotChip","slotHeaders","getDateAndTime","sortModelList","gridHeaderList","filterList","filterOpened","visibleFix","handleFilter","grid","handleApplyFilter","filters","el","formatName","isAdmin","isAccountant","isHr","isSub","isAvailableCSV","filterDefined","headerItem","defined","visibilityModelList","visibilityModel","sortList","itemsPerPage","defaultRowsNumber","dialogConfirmOK","oper","editedItem","rowKey","clearItems","parentComponent","initialize","saveLayouts","handleDate","checkModel","storeVisib","setTimeout","storeSortModel","dialogEdit","dialogConfirm","dialogClose","isDuplicateError","sortItemClick","sortItem","modelItem","saveModel","visibilityItemClick","visibilityItem","visibilityDraggingEnd","sortDraggingEnd","headerItemPrepared","applySearch","exists","searchoptions","multiple","nextMonth","setMonth","getMonth","lastMonth","existsOneFilter","obj","formatStr","lookupItem","formatValue","formatoptions","$n","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","sortorder","sorttype","itemModel","numorder","itemModelDefault","Math","max","hidedlg","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","prependClick","classModule","appendIcon","appendClick","indicatorColor","p","BtnPlus","indexItem","mask","CardActions","saveItem","actionClose","actionSave","useDocumentSign","checkSignAvailable","file_name","checkFileSigned"],"mappings":"sJAAA,I,YCAyM,ECsB1L,YAAgB,CAC7BA,MAAO,CACLC,KAAM,CACJC,KAAMC,OACNC,QAAS,IAEXC,MAAO,CACLH,KAAMC,OACNC,QAAS,KAGb,MAAOJ,GACL,MAAMC,EAAO,YAAS,IAAMD,EAAMC,MASlC,MAAO,CACLK,UATgB,YAAS,IACN,KAAfL,EAAKM,MACA,MAGFN,EAAKM,MAAMC,MAAM,U,YCjC1BC,EAAY,YACd,GHRW,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,CAACE,YAAY,yBAAyBN,EAAIO,GAAIP,EAAa,WAAE,SAASQ,EAAKC,GAAO,OAAOL,EAAG,SAAS,CAACM,IAAID,EAAME,MAAM,CAAC,MAAQH,IAAO,CAACR,EAAIY,GAAG,qBAAoB,GAAIZ,EAAS,MAAEI,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACN,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIL,OAAO,OAAOK,EAAIc,SACzX,IGUpB,EACA,KACA,KACA,MAIa,IAAAf,E,gCCjBfgB,EAAOC,QAAU,CAAC,SAAW,qC,oCCD7B,oE,oCCAA,W,oCCAA,4BAGe,KAEbC,YAFa,WAGX,MAAwBC,IAAMC,MAAtBC,EAAR,EAAQA,MAAOC,EAAf,EAAeA,KACgBC,EAAYF,EAAMG,KAAzCC,sBACAC,EAAUJ,EAAKK,QAAfD,MACFE,IAASC,OAAON,GAGtB,SAAKG,IAAUE,IAKRF,EAAMI,SAAS,eAGxBC,8BAjBa,SAiBkBC,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B,SAACppB,GAC9BoZ,EAAO,mBAAoB,CACzBpZ,WACAknB,OAAQ,SAQViO,mBAfyB,SAACn1B,GAC1B,OAAO4L,IAAYupB,mBAAmBn1B,IAetCq1B,gBApBsB,SAACr1B,GAAa,UACpC,OAAOA,SAAP,UAAOA,EAAUqM,aAAjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsB+oB,iBAA7B,aAAO,EAAiCn6B,SAAS","file":"js/chunk-602c3702.c5c21220.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"d-inline text-no-wrap\"},_vm._l((_vm.listItems),function(item,index){return _c('v-icon',{key:index,attrs:{\"color\":item}},[_vm._v(\" mdi-circle \")])}),1),(_vm.title)?_c('div',{staticClass:\"ml-2\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Indicators.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Indicators.vue?vue&type=script&lang=ts&\"","\n\n\n","import { render, staticRenderFns } from \"./Indicators.vue?vue&type=template&id=c24c1996&\"\nimport script from \"./Indicators.vue?vue&type=script&lang=ts&\"\nexport * from \"./Indicators.vue?vue&type=script&lang=ts&\"\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","// 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&\"","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!./EstimateCreateStructure.vue?vue&type=style&index=0&lang=css&\"","import store from '@/store'\nimport helpers from './helpers'\n\nexport default {\n // проверка на роль gf_manager\n checkRoleGF () {\n const { param, auth } = store.state\n const { gf_manager_as_manager: paramGF } = param.data\n const { roles } = auth.profile\n const isGF = !!Number(paramGF)\n\n // если не указаны роли или нет параметра, то выходим\n if (!roles || !isGF) {\n return false\n }\n\n // если указано роль и выставлен параметр, то применяются права\n return roles.includes('gf_manager');\n },\n\n getDocumentsCrosscheckExclude (category) {\n const { documents_crosscheck_exclude: docsExclude } = store.state?.param?.data\n const { objectsData } = store.state.app\n // let docs = store.getters.getDocuments\n let docs = store.state.app.timesheets\n // теперь timesheet грузит больше документов, чем нужно, фильтруем по сотруднику\n // docs = docs.filter(i => i.employee_id === store?.state?.auth?.profile?.employee_id)\n\n // если не указана категория или нет параметра или не указаны категории в параметре, то вернуть все документы\n if (!category || !docsExclude?.length) {\n return docs\n }\n\n // найти все названия документов текущей категории\n const categoryData = objectsData.filter((i) => i.layout === category)\n\n // если несколько записей у параметра, то разбиваем и удаляем пробелы\n const excludeDocsArray = docsExclude.split(';')\n const excludeDocsList = excludeDocsArray.map(element => element.trim())\n\n // уникальные названия документов из списка категорий. У некоторых категорий несколько документов\n const uniqueList = helpers.getUniqueValue(categoryData, 'id')\n\n // проверка на наличие элемента с списке исключаемых\n const isCategoryExist = excludeDocsList.some((i) => i === category)\n\n // если есть в списке исключаемых, возвращаются только документы этой категории\n if (isCategoryExist) {\n const list = []\n\n docs.forEach(element => {\n if (uniqueList.includes(element.object_table)) {\n list.push(element)\n }\n })\n\n return list\n }\n\n // убираем документы равные перечисленным разделам в параметре\n excludeDocsList.forEach(element => {\n docs = docs.filter((i) => i.object_table !== element)\n })\n\n return docs\n },\n\n // проверка на внутреннюю поездку\n checkDomesticBTrip (doc) {\n const { btrip_CIS_typelist: paramCIS } = store.state?.param.data\n\n // если нет параметра, то выводим все страны\n if (!paramCIS) return false\n\n const dicTripArray = paramCIS.split(/;|,/)\n const isExistType = dicTripArray.find((i) => i === doc)\n\n if (!isExistType) {\n return false\n }\n\n return true\n },\n\n // Получить роль по данным в роуте\n getRoleByRouteMeta (meta) {\n const { sub, hr, rev } = meta\n\n if (sub) {\n return 'manager';\n }\n\n if (hr) {\n return 'hr';\n }\n\n if (rev) {\n return 'reviewer';\n }\n\n return 'employee';\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',[(_vm.isTextarea)?_c('VTextarea',{attrs:{\"label\":_vm.label,\"value\":_vm.value,\"prepend-icon\":_vm.fieldData.icon,\"disabled\":_vm.isDisabled,\"no-resize\":\"\",\"rows\":\"3\",\"rules\":_vm.fieldRules},on:{\"input\":_vm.onInput}},[(_vm.isHint)?_c('TooltipIcon',{attrs:{\"slot\":\"append-outer\"},slot:\"append-outer\"},[_vm._v(\" \"+_vm._s(_vm.fieldHint)+\" \")]):_vm._e()],1):_c('VTextField',{attrs:{\"label\":_vm.label,\"value\":_vm.value,\"prepend-icon\":_vm.fieldData.icon,\"disabled\":_vm.isDisabled,\"rules\":_vm.fieldRules,\"type\":_vm.fieldType},on:{\"input\":_vm.onInput}},[(_vm.isHint)?_c('TooltipIcon',{attrs:{\"slot\":\"append-outer\"},slot:\"append-outer\"},[_vm._v(\" \"+_vm._s(_vm.fieldHint)+\" \")]):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n value: {\n type: [String, Number],\n },\n modelValue: {\n type: String,\n },\n fieldData: {\n type: Object,\n default () {\n return {};\n },\n },\n rules: {\n type: Array,\n },\n isTextarea: {\n type: Boolean,\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n disabledSpecial: {\n type: Boolean,\n default: false,\n },\n hint: {\n type: Object,\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!./LayoutInput.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!./LayoutInput.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./LayoutInput.vue?vue&type=template&id=85f32f14&scoped=true&\"\nimport script from \"./LayoutInput.vue?vue&type=script&lang=js&\"\nexport * from \"./LayoutInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LayoutInput.vue?vue&type=style&index=0&id=85f32f14&lang=scss&scoped=true&\"\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 \"85f32f14\",\n null\n \n)\n\nexport default component.exports","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Content\":\"TreeviewSubordination__Content__HfeH4\",\"Section\":\"TreeviewSubordination__Section__2AVde\",\"Search\":\"TreeviewSubordination__Search__2vut4\",\"EmployeePosition\":\"TreeviewSubordination__EmployeePosition__2JQ8M\",\"Tree\":\"TreeviewSubordination__Tree__778Ea\"};","export default {\n dataList: {\n type: [Array, Object],\n },\n isOpen: {\n type: Boolean,\n default: false,\n },\n role: {\n type: String,\n },\n dbTable: {\n type: String,\n required: true,\n },\n isEditAvailable: {\n type: Boolean,\n required: false,\n },\n fieldsList: {\n type: Array,\n },\n title: {\n type: String,\n },\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu\":\"EstimateTable__menu__1e3fy\",\"menuButtons\":\"EstimateTable__menuButtons__330Ed\"};","// 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 * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LayoutDropdown.vue?vue&type=style&index=0&id=2fff84f0&lang=scss&scoped=true&\"","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&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EstimateAssessmentForms.vue?vue&type=style&index=0&id=6b33c679&lang=scss&scoped=true&\"","import UiLoader from './UiLoader.vue';\n\nexport default UiLoader;\n","import useLanguage from '@/common/locale/useLanguage'\n\nexport default function useLayoutField () {\n const { tt } = useLanguage()\n const getLayoutFieldData = (name, fieldList) => {\n return fieldList?.find((i) => i.code === name) ?? {};\n };\n\n // Проверка на возможность редактирования\n const checkLayoutFieldDisabled = (\n item,\n disabled,\n disabledSpecial = false,\n ) => {\n // item - настройки поля\n // disabled - блокировка поля перед проверкой настроек\n // disabledSpecial - отдельная блокировка после настроек в layout\n\n // Если принудительно заблокирован\n if (disabled) {\n return true;\n }\n\n // Проверка по атрибуту поля\n if (item?.is_editable === '0') {\n return true;\n }\n\n return disabledSpecial;\n };\n\n const getLayoutFieldTitle = (item) => {\n return tt(item, 'title');\n };\n\n return {\n getLayoutFieldData,\n checkLayoutFieldDisabled,\n getLayoutFieldTitle,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"800\"},model:{value:(_vm.isOpened),callback:function ($$v) {_vm.isOpened=$$v},expression:\"isOpened\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5\"},[_vm._v(_vm._s(_vm.$t('Event History')))]),_c('v-card-text',{staticStyle:{\"max-height\":\"500px\"}},[(_vm.isLoading)?_c('UiLoader'):_c('v-data-table',{ref:\"history\",attrs:{\"items\":_vm.list,\"headers\":_vm.headers,\"focusable\":\"\",\"disable-filtering\":\"\",\"disable-pagination\":\"\",\"disable-sort\":\"\",\"hide-default-footer\":\"\",\"hide-default-header\":\"\"},scopedSlots:_vm._u([{key:\"history-item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('tr',[(_vm.$vuetify.breakpoint.mdAndUp)?[_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, \"status_name\"))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, \"user_name\"))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(item.create_date ? _vm.getDateWithHoursAndMinutes(item.create_date) : \"\")+\" \")])]:[_c('td',{staticClass:\"pr-1\"},[_c('div',[_vm._v(_vm._s(_vm.tt(item, \"status_name\")))]),_c('div',{staticClass:\"grey--text d-inline text-no-wrap\",staticStyle:{\"margin-top\":\"-6px\"}},[_vm._v(\" \"+_vm._s(item.create_date ? _vm.getDateWithHoursAndMinutes(item.create_date) : \"\")+\" \")])]),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, \"user_name\"))+\" \")])]],2)]}}])})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":_vm.closeModal}},[_vm._v(_vm._s(_vm.$t('Close')))])],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!./EstimateModalHistory.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!./EstimateModalHistory.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateModalHistory.vue?vue&type=template&id=21b4c310&\"\nimport script from \"./EstimateModalHistory.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateModalHistory.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 (_vm.isVisible)?_c('div',[_c('VSelect',{attrs:{\"label\":_vm.label,\"value\":_vm.value,\"items\":_vm.list,\"prepend-icon\":_vm.fieldData.icon,\"item-text\":_vm.itemText,\"item-value\":_vm.itemValue,\"disabled\":_vm.isDisabled},on:{\"change\":function($event){return _vm.handleChange($event)}}},[(_vm.isHint)?_c('TooltipIcon',{attrs:{\"slot\":\"append-outer\"},slot:\"append-outer\"},[_vm._v(\" \"+_vm._s(_vm.fieldHint)+\" \")]):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n value: {\n type: [String, Number],\n },\n modelValue: {\n type: String,\n },\n fieldData: {\n type: Object,\n default () {\n return {};\n },\n },\n rules: {\n type: Array,\n },\n list: {\n type: Array,\n default () {\n return [];\n },\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n hint: {\n type: Object,\n },\n // Названия поля по которому отображать значение списка\n itemValue: {\n type: String,\n default: 'id',\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!./LayoutDropdown.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!./LayoutDropdown.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./LayoutDropdown.vue?vue&type=template&id=2fff84f0&scoped=true&\"\nimport script from \"./LayoutDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./LayoutDropdown.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LayoutDropdown.vue?vue&type=style&index=0&id=2fff84f0&lang=scss&scoped=true&\"\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 \"2fff84f0\",\n null\n \n)\n\nexport default component.exports","// 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\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isLoading)?_c('UiLoader'):_c('div',{class:_vm.$style.Content},[_c('div',{class:_vm.$style.Section},[_c('div',{class:_vm.$style.Search},[_c('VTextField',{attrs:{\"label\":_vm.$t('Search'),\"hide-details\":\"\",\"clearable\":\"\",\"clear-icon\":\"mdi-close-circle-outline\"},on:{\"input\":_vm.handleSearch},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('VTreeview',{ref:\"tree\",class:_vm.$style.Tree,attrs:{\"items\":_vm.treeItemList,\"search\":_vm.search,\"selectable\":\"\",\"selection-type\":_vm.selectionType,\"return-object\":\"\",\"open-on-click\":\"\",\"item-disabled\":\"locked\",\"open\":_vm.open},on:{\"update:open\":function($event){_vm.open=$event},\"update\":_vm.onUpdateSelection},scopedSlots:_vm._u([{key:\"prepend\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.locked && !item.unassigned)?_c('VIcon',[_vm._v(\" mdi-checkbox-marked \")]):_vm._e(),(item.unassigned)?_c('VIcon',[_vm._v(\" mdi-folder-account-outline \")]):_vm._e()]}},{key:\"label\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.getLanguageField(item, 'name'))+\" \")]}}]),model:{value:(_vm.selection),callback:function ($$v) {_vm.selection=$$v},expression:\"selection\"}})],1),_c('div',{class:_vm.$style.Section},[(!_vm.selection.length)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('Pick the employees'))+\" \")]):_vm._l((_vm.selection),function(node){return _c('div',{key:node.id},[_c('div',[_vm._v(_vm._s(_vm.getLanguageField(node, 'name')))]),_c('div',{class:_vm.$style.EmployeePosition},[_vm._v(\" \"+_vm._s(_vm.getLanguageField(node, 'position'))+\" \")])])})],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n list: {\n type: Array,\n default: () => [],\n },\n blockingList: {\n type: Array,\n default: () => [],\n },\n // Отображать дерево текущего пользователю. Иначе от гендира\n isCurrentUser: {\n type: Boolean,\n default: false,\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!./TreeviewSubordination.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!./TreeviewSubordination.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { useStore } from '@vueblocks/vue-use-vuex';\nimport { ref, computed, onMounted } from '@vue/composition-api';\n\nimport estimate from '@/common/estimate/helpers';\n\nexport default function useTreeSubordination (props, { emit }) {\n const { state, dispatch, getters } = useStore();\n\n const isLoading = ref(true);\n const treeItemList = ref([]);\n\n const profile = computed(() => getters?.getProfile);\n const subordination = computed(() => state?.app?.subordination);\n\n const items = computed(() => {\n // Если совпадает с блокирующим списком, то отмечать эти элементы\n if (props.blockingList.length) {\n // Построить новый список без изменения данных в стейте\n const list = []\n\n subordination.value.forEach(element => {\n const isExist = props.blockingList.find((i) => i === element.employee_id)\n\n // Блокировать совпадения и очищать созданные\n const item = {\n ...element,\n disabled: !!isExist,\n }\n\n list.push(item)\n });\n\n return estimate.getStructureSubordination(list)\n }\n\n return estimate.getStructureSubordination(subordination.value)\n });\n\n const setTree = async () => {\n const list = subordination?.value.map(emp => ({\n ...emp,\n disabled: !!props?.blockingList.some(e => e.employee_id === emp.employee_id),\n }));\n\n return await getters.APP_GET_STRUCTURE_TREE({\n employeeId: profile?.value?.employee_id,\n data: list,\n rootCurrentUser: true,\n });\n }\n\n onMounted(async () => {\n if (props?.isCurrentUser) {\n treeItemList.value = await setTree()\n }\n\n if (!subordination?.value?.length) {\n await dispatch('APP_PULL_SUBORDINATION');\n }\n\n isLoading.value = false;\n });\n\n return {\n items,\n treeItemList,\n isLoading,\n };\n}\n","import { render, staticRenderFns } from \"./TreeviewSubordination.vue?vue&type=template&id=2d44757f&\"\nimport script from \"./TreeviewSubordination.vue?vue&type=script&lang=js&\"\nexport * from \"./TreeviewSubordination.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TreeviewSubordination.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 * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LayoutInput.vue?vue&type=style&index=0&id=85f32f14&lang=scss&scoped=true&\"","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","import { TableService } from '@/common/api.service.js';\nimport store from '@/store';\nimport helpers from '@/common/helpers';\nimport router from '@/router';\n\nexport default {\n checkFormAvailable (formId, role) {\n const { app: { workflow } } = store.state\n const { name: routeName } = router.app.$route;\n\n // роуты без проверки\n const availableList = ['estimate-period-edit', 'estimate']\n // роуты без редактирования\n const disabledList = ['estimate-form']\n\n const isAvailable = availableList.find(i => i === routeName);\n const isDisabled = disabledList.find(i => i === routeName);\n\n if (isAvailable) {\n return true;\n }\n\n if (isDisabled) {\n return false;\n }\n\n const form = this.getForm(formId);\n\n if (!form) {\n return false;\n }\n\n // Если роль не пришла, то получить из данных роута\n if (!role) {\n const routeRole = this.checkRole(router.app.$route.meta);\n\n switch (routeRole) {\n case 'sub':\n role = 'manager';\n break;\n case 'hr':\n role = 'hr';\n break;\n default:\n role = 'employee';\n break;\n }\n }\n\n const workflowItem = workflow.find((i) => {\n return i.object_id === 'estimate' &&\n i.business_role === role &&\n i.status_id === form.status_id\n })\n\n if (workflowItem?.editable === '1') {\n return true\n }\n\n return false;\n },\n checkDeadline (value) {\n const currentDate = new Date().toISOString().slice(0, 10); // текущая дата (обрезанная до год-месяц-день)\n return value < currentDate;\n },\n checkTableFilter (user, list, year) {\n let filter = '';\n\n if (year) {\n const currentEstimate = list.find(i => Number(i.year) === Number(year));\n filter = `estimate_id = '${currentEstimate?.id}'`;\n } else {\n filter = `estimate_id = '${user?.id}'`;\n }\n\n return filter;\n },\n checkUrlId (id) {\n return !!id;\n },\n checkPeriodId (route, period) {\n if (route.id) {\n return route.id;\n }\n\n return period.id;\n },\n checkRole (meta) {\n if (meta.sub) {\n return 'sub';\n }\n if (meta.hr) {\n return 'hr';\n }\n return 'own';\n },\n checkFieldAvailable (role, fieldRole, formAvailable) {\n if (role === 'hr') {\n return false;\n }\n\n if (!formAvailable) {\n return true;\n }\n\n if (role === 'sub' && fieldRole === 'sub') {\n return false;\n }\n\n if (role === 'own' && fieldRole === 'own') {\n return false;\n }\n\n return true;\n },\n setArchiveList (forms, role) {\n const currentYear = helpers.getCurrentYear();\n const menu = [];\n let path = null;\n const archiveList = forms.filter(i => Number(i.year) < currentYear);\n\n archiveList.sort((a, b) => Number(b.year) - Number(a.year));\n\n const uniqueYears = helpers.getUniqueValue(archiveList, 'year');\n\n switch (role) {\n case 'hr':\n path = '/estimate/';\n break;\n case 'sub':\n path = '/estimate-sub/';\n break;\n default:\n path = '/estimate-own/';\n break;\n }\n\n if (role === 'hr' || role === 'sub') {\n uniqueYears.forEach(item => {\n menu.push({\n title: item,\n route: `${path}${item}/forms`,\n });\n });\n\n return menu;\n }\n\n // создать меню с уникальным годом\n uniqueYears.forEach(item => {\n menu.push({\n title: item,\n subMenu: [],\n });\n });\n\n archiveList.forEach(item => {\n const menuItemIndex = menu.findIndex(\n i => Number(i.title) === Number(item.year),\n );\n\n menu[menuItemIndex].subMenu.push({\n title: item.estimate_name,\n route: `${path}${item.year}/form/${item.id}`,\n });\n });\n\n return menu;\n },\n calculatePrize (user) {\n const { goals, dictionary } = store.state.estimate;\n\n if (!user) return;\n\n const { grade = null } = user;\n\n if (grade === null || grade === '' || Number(grade) === 0) {\n return;\n }\n\n const gradeDicItem = dictionary.grade.find(i => {\n return grade <= Number(i.name) && grade >= Number(i.sort);\n });\n let count = 0;\n let totalWeight = 0;\n let prize = null;\n\n goals.forEach(element => {\n let { assessment = '', weight = '' } = element;\n assessment = Number(assessment);\n weight = Number(weight);\n\n // не учитываются оценки меньше или равно 50\n if (assessment <= 50) {\n assessment = 0;\n }\n\n count = count + assessment * weight;\n totalWeight = totalWeight + weight;\n });\n\n const goalMark = count / totalWeight;\n\n if (gradeDicItem) {\n prize = (goalMark * Number(gradeDicItem.description)) / 100;\n }\n\n const data = {\n id: user.id,\n goal_mark: goalMark.toFixed(2),\n final_mark: prize.toFixed(2),\n };\n\n return data;\n },\n checkZeroValue (list, item) {\n list.forEach(element => {\n if (item[element] === '.00') {\n item[element] = '0.00';\n }\n });\n\n return item;\n },\n getForm (id) {\n const { estimateList, estimateAll } = store.state.estimate;\n let form = null;\n\n form = estimateList.find(i => i.id === id);\n\n if (!form) {\n form = estimateAll.find(i => i.id === id);\n }\n\n if (!form) {\n return\n }\n\n return form;\n },\n getMaxSortValue (list) {\n return list.sort((a, b) => Number(b.sort) - Number(a.sort))[0].sort;\n },\n getStructureSubordination (list, payload) {\n // Если нужно дерево руководителей, тогда предварительно удалим строки сотрудников, которым никто не подчиняется\n const data = list.filter(i => i.type === 'direct' && !i.end_date?.length);\n const root = data.find(e => e.employee_id === e.manager_id);\n\n if (!root) {\n store.commit('MSG_SET_ITEM', {\n text: 'Ошибка построения списка',\n debug: true,\n });\n return;\n }\n\n // Первые потомки\n const children = data.filter(\n e =>\n e.manager_id === root.employee_id && e.employee_id !== root.employee_id,\n );\n\n // Рекурсивно обойдём строки и сформируем дерево\n // Если полноправный юзер, то всё дерево, иначе до вторых потомков\n const recursiveChildren = (items, level) => {\n const resChildren = [];\n\n if (!items || items.length === 0) return [];\n\n level = level + 1;\n\n items.forEach(c => {\n let resGrandChildren;\n\n if (!c.employee_id) return;\n\n if (store.getters.isPowerUser || level < 2) {\n resGrandChildren = recursiveChildren(\n data.filter(gc => gc.manager_id === c.employee_id),\n level,\n );\n }\n\n resChildren.push({\n id: c.employee_id,\n name: c.employee_name,\n name_eng: c.employee_name_eng,\n photo_name: c.photo_name,\n children: resGrandChildren,\n extend: false,\n hide: false,\n locked: c.disabled,\n start_date: c.start_date,\n manager_id: c.manager_id,\n });\n });\n\n return resChildren;\n };\n const resChildren = recursiveChildren(children, 0);\n\n const resMe = {\n id: root.employee_id,\n name: root.employee_name, // me\n name_eng: root.employee_name_eng,\n photo_name: root.photo_name,\n children: resChildren,\n hide: false,\n locked: root.disabled,\n start_date: root.start_date,\n manager_id: root.manager_id,\n };\n\n const resStructure = [];\n\n if (root.manager_id !== root.employee_id) {\n // Если это не генеральный\n resStructure.push({\n id: root.manager_id,\n name: root.manager_name, // my manager\n name_eng: root.manager_name_eng,\n isManager: true,\n photo_name: '',\n children: [resMe],\n });\n } else {\n // Добавим к генеральному директору сотрудников, которые не прикреплены\n const unattachedEmployees = data.filter(e => !e.manager_id);\n\n if (unattachedEmployees.length > 0) {\n const resUnassignedChildren = [];\n const resUnassignedEmployees = {\n id: 'UnassignedEmployees',\n name: 'Нераспределенные сотрудники',\n name_eng: 'Unassigned Employees',\n children: resUnassignedChildren,\n hide: false,\n locked: true,\n unassigned: true,\n };\n\n unattachedEmployees.forEach(i => {\n resUnassignedChildren.push({\n id: i.employee_id,\n name: i.employee_name,\n name_eng: i.employee_name_eng,\n children: [],\n locked: i.disabled,\n });\n });\n\n resMe.children.push(resUnassignedEmployees);\n }\n\n resStructure.push(resMe);\n }\n\n return resStructure;\n },\n // Получить актуальные формы\n getActualForms (forms) {\n return forms.filter(i => i.period_status === '1');\n },\n\n // Сохранить данные в таблицах формы\n async saveFormTableData (table, dataList, form, routeId) {\n const currentForm = this.getForm(routeId);\n let data = null;\n\n const showError = (text) => {\n data.error = text;\n store.commit('MSG_SET_ITEM', {\n text,\n debug: true,\n });\n\n return data;\n };\n\n if (!currentForm) {\n showError('Оценка: Ошибка определения формы');\n return data;\n }\n\n // Редактирование записи\n if (dataList?.id) {\n try {\n data = await TableService.edit({ object: table, data: form });\n\n return data\n } catch (error) {\n return showError('Оценка: Ошибка редактирования записи');\n }\n }\n\n // Создание новой записи\n form.id = helpers.createGuid();\n form.estimate_id = currentForm?.id;\n\n try {\n data = await TableService.add({ object: table, data: form });\n } catch (error) {\n return showError('Оценка: Ошибка добавления записи');\n }\n\n return data\n },\n\n // Проверка, что форма в финальном периоде\n checkFormIsFinal (form) {\n return !!Number(form?.is_final)\n },\n\n isClientVinyl () {\n return store.state?.param?.client?.code.includes('rusvinyl');\n },\n\n isClientConti () {\n return store.state?.param?.client?.code.includes('conti');\n },\n};\n","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.isLoading)?_c('UiLoader',{staticClass:\"pt-4\"}):[_c('EstimateTable',{ref:\"tableRef\",attrs:{\"title\":_vm.year ? ((_vm.$t('Competencies')) + \" \" + _vm.year) : '',\"tableGridModel\":_vm.tableGridModel,\"pullAction\":_vm.pullAction,\"dbTable\":_vm.dbTable,\"isCanCreate\":\"\"},on:{\"openModal\":_vm.openModal,\"setSpecialKeys\":_vm.setSpecialKeys}}),_c('EstimateModalValuation',{ref:\"modalRef\",attrs:{\"title\":_vm.modalTitle,\"isOpen\":_vm.isModalCreateOpen,\"dataList\":_vm.modalData,\"role\":_vm.role,\"dbTable\":_vm.dbTable,\"fieldsList\":_vm.fieldList,\"isEditAvailable\":_vm.isEditAvailable,\"document\":\"valuation\",\"editFunctionName\":\"APP_EDIT_ESTIMATE\"},on:{\"closeModal\":_vm.closeModal,\"updateData\":_vm.updateData}})]],2)}\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!./EstimateModalValuation.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!./EstimateModalValuation.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateModalValuation.vue?vue&type=template&id=553cbbc6&\"\nimport script from \"./EstimateModalValuation.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateModalValuation.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('EstimateModal',{attrs:{\"title\":_vm.title,\"isOpen\":_vm.isOpen,\"isSaveLoading\":_vm.isSaveLoading,\"isEditAvailable\":_vm.isEditAvailable},on:{\"closeModal\":_vm.closeModal,\"handleSave\":function($event){return _vm.handleSave()}}},[_c('VForm',{ref:\"form\",attrs:{\"lazy-validation\":\"\"},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('LayoutDropdown',{attrs:{\"fieldData\":_vm.valuationField,\"list\":_vm.dicValuationFiltered,\"disabled\":!_vm.isEditAvailable},on:{\"change\":function($event){return _vm.setValuation($event, 'valuation')}},model:{value:(_vm.form.valuation),callback:function ($$v) {_vm.$set(_vm.form, \"valuation\", $$v)},expression:\"form.valuation\"}}),_c('LayoutDropdown',{attrs:{\"fieldData\":_vm.selfEsteemField,\"list\":_vm.scaleList,\"itemValue\":\"description\",\"disabled\":!_vm.isEditAvailable},on:{\"change\":function($event){return _vm.setScale($event, 'self_esteem')}},model:{value:(_vm.form.self_esteem),callback:function ($$v) {_vm.$set(_vm.form, \"self_esteem\", $$v)},expression:\"form.self_esteem\"}}),_c('LayoutDropdown',{attrs:{\"fieldData\":_vm.assessmentField,\"list\":_vm.scaleList,\"itemValue\":\"description\",\"disabled\":!_vm.isEditAvailable},on:{\"change\":function($event){return _vm.setScale($event, 'assessment')}},model:{value:(_vm.form.assessment),callback:function ($$v) {_vm.$set(_vm.form, \"assessment\", $$v)},expression:\"form.assessment\"}}),_c('LayoutInput',{attrs:{\"fieldData\":_vm.competenceIndicator,\"isTextarea\":\"\",\"disabled\":!_vm.isEditAvailable},model:{value:(_vm.form.description),callback:function ($$v) {_vm.$set(_vm.form, \"description\", $$v)},expression:\"form.description\"}})],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!./EstimateValuation.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!./EstimateValuation.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateValuation.vue?vue&type=template&id=13bfacab&\"\nimport script from \"./EstimateValuation.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateValuation.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.isTableLoaded)?_c('UiLoader'):_vm._e(),(_vm.isTableLoaded)?[_c('DataGrid',{staticClass:\"mb-5\",attrs:{\"grid-model\":_vm.gridModel,\"refresh-data\":_vm.refreshData,\"disable-edit-item\":\"\",\"grid-pagination\":_vm.gridPagination,\"isStepBack\":false,\"isToolbar\":false},on:{\"onEditItem\":_vm.editItem},scopedSlots:_vm._u([{key:\"item-action\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"pl-1 text-end\"},[_c('v-menu',{scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":\"\"}},on),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,true)},[_c('v-card',[_c('v-col',{staticClass:\"estimateTable__menu d-flex flex-column\"},[_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.editItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"View\"))+\" \")]),_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.openModal('history', item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Event History\"))+\" \")]),_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.openModal('messages', item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Messages\"))+\" \")])],1)],1)],1)],1)]}}],null,false,76053898)}),(_vm.isGradeResultCount)?_c('div',{staticClass:\"EstimateAssessmentFormsResult\"},[(_vm.resultDoc)?_c('div',{staticClass:\"subtitle-1 mb-1\"},[_vm._v(\" \"+_vm._s(((_vm.$t('Results for')) + \" \" + (_vm.resultDoc.year) + \" \" + (_vm.$t('year')) + \":\"))+\" \")]):_vm._e(),_c('EstimateResults',{attrs:{\"document\":_vm.resultDoc}})],1):_vm._e()]:_vm._e(),_c('EstimateModalHistory',{attrs:{\"isOpen\":_vm.isModalHistory,\"document\":_vm.document},on:{\"closeModal\":_vm.closeModal}}),_c('EstimateModalMessages',{attrs:{\"isOpen\":_vm.isModalMessages,\"document\":_vm.document},on:{\"closeModal\":_vm.closeModal}})],2)}\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!./EstimateModalMessages.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!./EstimateModalMessages.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateModalMessages.vue?vue&type=template&id=2c02c2c1&\"\nimport script from \"./EstimateModalMessages.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateModalMessages.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('v-dialog',{attrs:{\"max-width\":\"800\",\"scrollable\":\"\"},model:{value:(_vm.isOpened),callback:function ($$v) {_vm.isOpened=$$v},expression:\"isOpened\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5\"},[_vm._v(_vm._s(_vm.$t('Messages')))]),_c('v-card-text',{staticStyle:{\"max-height\":\"500px\"}},[(_vm.isLoading)?_c('UiLoader'):_c('v-data-table',{ref:\"message\",attrs:{\"items\":_vm.messagesList,\"headers\":_vm.headers,\"focusable\":\"\",\"disable-filtering\":\"\",\"disable-pagination\":\"\",\"disable-sort\":\"\",\"hide-default-footer\":\"\"},scopedSlots:_vm._u([{key:\"messages-item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('tr',[_c('td',[_vm._v(\" \"+_vm._s(item.create_date ? _vm.getDateWithHoursAndMinutes(item.create_date) : '')+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'name'))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'subject'))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'text'))+\" \")])])]}}])})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":_vm.closeModal}},[_vm._v(_vm._s(_vm.$t('Close')))])],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!./EstimateResults.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!./EstimateResults.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateResults.vue?vue&type=template&id=cd7873fc&\"\nimport script from \"./EstimateResults.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateResults.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('VRow',[_c('VCol',{attrs:{\"cols\":\"12\",\"sm\":\"3\"}},[_c('VTextField',{attrs:{\"label\":_vm.$t('Goals Achievement Total'),\"value\":_vm.goalMark,\"prepend-icon\":\"mdi-flag-checkered\",\"readonly\":\"\",\"hide-details\":\"\"}})],1),_c('VCol',{attrs:{\"cols\":\"12\",\"sm\":\"3\"}},[_c('VTextField',{attrs:{\"label\":_vm.$t('Bonus Percentage'),\"value\":_vm.finalMark,\"prepend-icon\":\"mdi-seal\",\"readonly\":\"\",\"hide-details\":\"\"}})],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!./EstimateAssessmentForms.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!./EstimateAssessmentForms.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./EstimateAssessmentForms.vue?vue&type=template&id=6b33c679&scoped=true&\"\nimport script from \"./EstimateAssessmentForms.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateAssessmentForms.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EstimateAssessmentForms.vue?vue&type=style&index=0&id=6b33c679&lang=scss&scoped=true&\"\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 \"6b33c679\",\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('VDialog',{attrs:{\"max-width\":_vm.width,\"scrollable\":_vm.isScrollable,\"closeModal\":_vm.closeModal},model:{value:(_vm.isOpened),callback:function ($$v) {_vm.isOpened=$$v},expression:\"isOpened\"}},[_c('VCard',[_c('VCardTitle',{staticClass:\"text-h5\"},[_vm._v(_vm._s(_vm.$t(_vm.title)))]),_c('VCardText',{class:{ scrollable: _vm.isScrollable }},[_vm._t(\"default\")],2),_c('VCardActions',[_c('VSpacer'),_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){return _vm.closeModal()}}},[_vm._v(\" \"+_vm._s(_vm.$t('Close'))+\" \")]),(!_vm.isInfoModal)?_c('VBtn',{attrs:{\"color\":\"primary\",\"link\":\"\",\"disabled\":!_vm.isEditAvailable,\"loading\":_vm.isSaveLoading},on:{\"click\":function($event){return _vm.handleSave()}}},[_vm._v(\" \"+_vm._s(_vm.$t('Save'))+\" \")]):_vm._e()],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!./EstimateModal.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!./EstimateModal.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./EstimateModal.vue?vue&type=template&id=9b75c0ba&scoped=true&\"\nimport script from \"./EstimateModal.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EstimateModal.vue?vue&type=style&index=0&id=9b75c0ba&lang=scss&scoped=true&\"\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 \"9b75c0ba\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EstimateFormsList.vue?vue&type=style&index=0&id=fa1636a2&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.props.isDisabled)?_vm._l((_vm.items),function(item){return _c('div',{key:item.id},[_vm._t(\"default\",null,{\"item\":item})],2)}):_vm._l((_vm.items),function(item,index){return _c('div',{key:item.id,attrs:{\"draggable\":\"true\"},on:{\"dragstart\":function($event){return _vm.onDragStart($event, index)},\"dragover\":function($event){$event.preventDefault();return _vm.onDragOver($event, index)},\"drop\":function($event){return _vm.onDrop($event, index)},\"dragend\":_vm.onDragEnd}},[_vm._t(\"default\",null,{\"item\":item,\"index\":index})],2)})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n list: {\n type: Array,\n required: true,\n },\n isDisabled: {\n type: Boolean,\n default: false,\n },\n};\n","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"","import { ref, watch } from '@vue/composition-api';\n\nexport default function useDragAndDrop (props = {}, { emit }) {\n const items = ref([...props.list]);\n const draggedIndex = ref(null);\n\n const onDragStart = (event, index) => {\n draggedIndex.value = index;\n event.dataTransfer.effectAllowed = 'move';\n event.dataTransfer.setData('text/plain', index);\n // event?.currentTarget?.classList?.add('dragging');\n };\n\n const onDragOver = (event, index) => {\n if (\n draggedIndex.value === null ||\n draggedIndex.value === index\n ) {\n return;\n }\n\n const draggedItem = items.value[draggedIndex.value];\n items.value.splice(draggedIndex.value, 1);\n items.value.splice(index, 0, draggedItem);\n draggedIndex.value = index;\n };\n\n const onDrop = () => {\n draggedIndex.value = null;\n };\n\n const onDragEnd = () => {\n draggedIndex.value = null;\n emit('end', items.value)\n };\n\n watch(\n () => props.list,\n (newVal) => {\n items.value = [...newVal];\n },\n );\n\n watch(\n items,\n (newItems) => {\n emit('input', newItems);\n },\n { deep: true },\n );\n\n return {\n items,\n onDragStart,\n onDragOver,\n onDrop,\n onDragEnd,\n }\n}\n","import { render, staticRenderFns } from \"./DragAndDrop.vue?vue&type=template&id=2d8562ec&\"\nimport script from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\nexport * from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import DragAndDrop from './DragAndDrop.vue';\n\nexport default DragAndDrop;\n","export default {\n checkIsEng (lang) {\n return lang === 'en';\n },\n\n // Проверка на видимость\n checkFieldVisible (item) {\n return !!Number(item?.is_visible);\n },\n\n // Получить лейбл\n getFieldLabel (item, eng) {\n return eng ? item?.title_eng : item?.title;\n },\n\n // Получить подсказку\n getFieldHint (item, eng, hint) {\n // Вставить подсказку не из бд\n if (hint) {\n return eng ? hint?.eng : hint?.ru;\n }\n\n return eng ? item?.hint_eng : item?.hint;\n },\n\n // Получить правила для заполнения\n getRules (item, rules) {\n // Получить передаваемые значение\n if (rules) {\n return rules;\n }\n\n const rulesLocal = {\n required: (value) => !!value,\n };\n\n // Не проверять заполнение у заблокированного поля\n if (this.checkFieldDisabled(item)) {\n return []\n }\n\n // Иначе проверка по атрибуту поля\n return this.checkFieldMandatory(item) ? [rulesLocal.required] : [];\n },\n\n // Получить тип поля\n getFieldType (item) {\n return item?.type;\n },\n\n // Проверка на наличие подсказки\n checkFieldHint (item, eng, hint) {\n if (hint) {\n return !!Object.keys(hint).length;\n }\n\n return eng ? !!item?.hint_eng?.length : !!item?.hint?.length;\n },\n\n // Проверка на обязательность заполнения\n checkFieldMandatory (item) {\n return !!Number(item?.is_mandatory);\n },\n\n // Проверка на возможность редактирования\n checkFieldDisabled (item, disabled, disabledSpecial) {\n // item - настройки поля\n // disabled - блокировка поля перед проверкой настроек\n // disabledSpecial - отдельная блокировка после настроек в layout\n\n // Если принудительно заблокирован\n if (disabled) {\n return true;\n }\n\n // Проверка по атрибуту поля\n if (item?.is_editable === '0') {\n return true\n }\n\n return disabledSpecial\n },\n\n // Получить поле\n findField (name, fieldsList) {\n return fieldsList?.find((i) => i.code === name);\n },\n};\n","import { useStore } from '@vueblocks/vue-use-vuex';\nimport { useRoute } from 'vue2-helpers/vue-router';\nimport { computed } from '@vue/composition-api';\nimport hooks from '@/common/hooks';\n\nexport default function useLayoutData (props) {\n const { state } = useStore();\n const route = useRoute();\n\n const role = computed(() => hooks.getRoleByRouteMeta(route.meta));\n\n const tabFieldList = computed(() => state?.layout?.tabFields);\n\n const getLayoutFieldList = (fieldName, tabId) => {\n let fields = tabFieldList?.value?.filter(\n (i) => i.layout_tab_id === tabId && i.business_role === role.value,\n );\n\n // Если не найдено, искать по фиксированному полю имени\n if (!fields?.length) {\n fields = tabFieldList?.value?.filter(\n (i) => i.tab_code === fieldName && i.business_role === role.value,\n );\n }\n\n return fields;\n };\n\n return {\n getLayoutFieldList,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isLoading)?_c('div',{staticClass:\"pt-4\"},[_c('UiLoader')],1):_c('DataGrid',{ref:\"tableRef\",attrs:{\"title\":_vm.title,\"grid-model\":_vm.gridModel,\"toolbar-model\":_vm.toolbarModel,\"refresh-data\":_vm.refreshData,\"disable-edit-item\":\"\",\"editable\":_vm.isCanCreate && !_vm.isDisabledCreate && _vm.isEditAvailable,\"ignore-saved-filters\":_vm.ignoreSavedFilters,\"grid-pagination\":_vm.gridPagination,\"isStepBack\":_vm.isStepBack},on:{\"onEditItem\":_vm.editItem,\"onDeleteItem\":_vm.deleteItem},scopedSlots:_vm._u([{key:\"header-col1-smAndDown\",fn:function(){return [(_vm.sub)?_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-checked\",fn:function(ref){\nvar item = ref.item;\nvar items = ref.items;\nreturn [_c('VCheckbox',{attrs:{\"true-value\":\"1\",\"false-value\":\"0\"},on:{\"change\":function($event){return _vm.inlineEdit(item, items)}},model:{value:(item.checked),callback:function ($$v) {_vm.$set(item, \"checked\", $$v)},expression:\"item.checked\"}})]}},{key:\"item-col1-smAndDown\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"pr-1\"},[(_vm.sub)?_c('div',[_vm._v(_vm._s(_vm.tt(item, 'employee_name')))]):_c('div',{staticClass:\"text-truncate d-inline-block\",staticStyle:{\"max-width\":\"160px\"}},[_vm._v(_vm._s(_vm.tt(_vm.documentTypes.find(function (i) { return i.id === item.document_type_id; }), 'name')))]),_c('div',{staticClass:\"grey--text\",staticStyle:{\"margin-top\":\"-6px\"}},[_vm._v(\" \"+_vm._s(_vm.getFormattedDate(item.start_date))+\" - \"+_vm._s(_vm.getFormattedDate(item.end_date))+\" \")])])]}},{key:\"item-indicators\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.indicators)?_c('td',[_c('VTooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('Indicators',{attrs:{\"list\":item.indicators}})],1)]}}],null,true)},[_c('span',[_vm._v(_vm._s(_vm.statusName(item)))])])],1):_vm._e()]}},{key:\"item-action\",fn:function(ref){\nvar item = ref.item;\nvar editItem = ref.editItem;\nvar deleteItem = ref.deleteItem;\nreturn [_c('td',{staticClass:\"pl-1 text-end\"},[(_vm.availableWorkflow(item.status_id, item.type))?_c('v-menu',{scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('VBtn',_vm._g({attrs:{\"icon\":\"\"}},on),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,true)},[_c('VCard',{class:_vm.$style.menu},[_c('div',{class:_vm.$style.menuButtons},[(!_vm.isPreviewDisabled)?_c('VBtn',{attrs:{\"text\":\"\",\"small\":\"\",\"depressed\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return editItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t('View'))+\" \")]):_vm._e(),(_vm.isEditItem)?_c('VBtn',{attrs:{\"text\":\"\",\"small\":\"\",\"depressed\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.showItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Edit'))+\" \")]):_vm._e(),((_vm.sub || _vm.isCanDelete) && !_vm.isDisabledDelete && _vm.isEditAvailable)?_c('VBtn',{attrs:{\"text\":\"\",\"small\":\"\",\"depressed\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return deleteItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Delete'))+\" \")]):_vm._e(),(_vm.isCanClose && item.status === '1')?_c('VBtn',{attrs:{\"text\":\"\",\"small\":\"\",\"depressed\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.closeItem(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Close'))+\" \")]):_vm._e()],1),_c('WorkflowActions',{staticClass:\"d-flex flex-column\",attrs:{\"document\":item,\"available-workflow\":_vm.availableWorkflow(item.status_id),\"text\":\"\",\"small\":\"\",\"depressed\":\"\",\"outlined\":\"\",\"btnClass\":\"ma-1 justify-start\"},on:{\"input\":function($event){return _vm.changeWorkflow(item, $event)}}})],1)],1):_vm._e()],1)]}}])}),(_vm.employeeModalData)?[_c('EstimateFormsList',{attrs:{\"isOpen\":_vm.isModalFormsList,\"dataList\":_vm.employeeModalData},on:{\"closeModal\":_vm.closeModalFormsList}})]:_vm._e(),_c('EstimateModalEmployeeStructure',{ref:\"modalErrorRef\",attrs:{\"isOpen\":_vm.isModalStructure},on:{\"updateData\":_vm.updateData,\"closeModal\":_vm.closeModalEmpStructure}})],2)}\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!./EstimateFormsList.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!./EstimateFormsList.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./EstimateFormsList.vue?vue&type=template&id=fa1636a2&scoped=true&\"\nimport script from \"./EstimateFormsList.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateFormsList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EstimateFormsList.vue?vue&type=style&index=0&id=fa1636a2&lang=scss&scoped=true&\"\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 \"fa1636a2\",\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('EstimateModal',{attrs:{\"title\":_vm.$t('Performance Assessments'),\"isOpen\":_vm.isOpen,\"width\":\"1200\",\"isInfoModal\":\"\"},on:{\"closeModal\":_vm.closeModal}},[_c('EstimateAssessmentForms',{attrs:{\"dataList\":_vm.dataList}})],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!./EstimateCreateStructure.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!./EstimateCreateStructure.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./EstimateCreateStructure.vue?vue&type=template&id=70847d6d&\"\nimport script from \"./EstimateCreateStructure.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateCreateStructure.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EstimateCreateStructure.vue?vue&type=style&index=0&lang=css&\"\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',[_c('div',{staticClass:\"pb-6\"},[(!_vm.isEdit)?_c('VRadioGroup',{staticClass:\"pl-2\",model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},_vm._l((_vm.radioList),function(item){return _c('VRadio',{key:item.id,attrs:{\"label\":_vm.$t(item.text),\"value\":item.id}})}),1):_vm._e(),(_vm.radioGroup === 2 || _vm.isEdit)?[(_vm.isLoading)?_c('div',{staticClass:\"d-flex justify-center py-4\"},[_c('UiLoader')],1):_c('TreeviewSubordination',{ref:\"structure\",attrs:{\"blockingList\":_vm.blockingList},on:{\"update-selection\":_vm.handleUpdateSelection}})]:_vm._e()],2),_c('VDialog',{attrs:{\"width\":\"500\"},model:{value:(_vm.modalConfirm),callback:function ($$v) {_vm.modalConfirm=$$v},expression:\"modalConfirm\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$t('Confirmation'))+\" \")]),_c('v-card-text',[_vm._v(\" \"+_vm._s(_vm.$t('Are you sure to start the process of creation of Assessment Forms?'))+\" \")]),_c('v-divider'),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){_vm.modalConfirm = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('No'))+\" \")]),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.handleModalConfirm}},[_vm._v(\" \"+_vm._s(_vm.$t('Yes'))+\" \")])],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!./EstimateModalEmployeeStructure.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!./EstimateModalEmployeeStructure.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateModalEmployeeStructure.vue?vue&type=template&id=90d67c24&\"\nimport script from \"./EstimateModalEmployeeStructure.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateModalEmployeeStructure.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('EstimateModal',{attrs:{\"title\":_vm.$t('Create an Assessment'),\"isOpen\":_vm.isOpen,\"width\":\"1200\",\"isSaveLoading\":_vm.isSaveLoading,\"isScrollable\":\"\",\"isEditAvailable\":\"\"},on:{\"closeModal\":_vm.closeModal,\"handleSave\":function($event){return _vm.handleSave()}}},[_c('EstimateCreateStructure',{ref:\"structure\",on:{\"onUpdateSelection\":_vm.onUpdateSelection}})],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!./EstimateTable.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!./EstimateTable.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./EstimateTable.vue?vue&type=template&id=7db4f706&\"\nimport script from \"./EstimateTable.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateTable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EstimateTable.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('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';\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 { 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!./EstimateTable.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!./EstimateTable.vue?vue&type=style&index=0&lang=scss&module=true&\"","export default {\n tabId: {\n type: String,\n },\n tabInfo: {\n type: Object,\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\"};","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!./TreeviewSubordination.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!./TreeviewSubordination.vue?vue&type=style&index=0&lang=scss&module=true&\"","import { useRoute } from 'vue2-helpers/vue-router';\nimport { computed, ref } from '@vue/composition-api';\nimport estimate from '@/common/estimate/helpers';\nimport hooks from '@/common/hooks'\nimport useLanguage from '@/common/locale/useLanguage'\n\nexport default function useEstimateTable (props) {\n const { isEng, tt } = useLanguage();\n const route = useRoute();\n const tableGridModel = ref([{}]);\n\n const role = computed(() => hooks.getRoleByRouteMeta(route.meta));\n\n const isEditAvailable = computed(() => {\n return estimate.checkFormAvailable(route?.params?.id);\n });\n\n const tableTitleField = computed(() => isEng.value ? 'title_eng' : 'title');\n\n const modalTitle = computed(\n () => tt(props?.tabInfo, 'name') ?? '',\n );\n\n // Использовать с await, чтобы дождаться отображения перерендера таблицы.\n // Без этого некорректно отображаются переводы при переключении языка, т.к. перевод при лаяуте идёт из разных полей\n const setEstimateTable = (list) => {\n return list ?? []\n };\n\n return {\n tableGridModel,\n tableTitleField,\n isEditAvailable,\n setEstimateTable,\n role,\n modalTitle,\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.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&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EstimateModal.vue?vue&type=style&index=0&id=9b75c0ba&lang=scss&scoped=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":""}