{"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/components/TreeviewSubordination/TreeviewSubordination.vue?e087","webpack:///./src/components/Estimate/EstimateTable.vue?09af","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/DataGrid.vue?4bda","webpack:///./src/components/Estimate/Tables/EstimateAssessmentForms.vue?a342","webpack:///./src/components/uikit/UiLoader/index.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/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/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/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/views/Estimate/HR/EstimateForms.vue?31e0","webpack:///./src/views/Estimate/HR/EstimateForms.vue?36ab","webpack:///src/views/Estimate/HR/EstimateForms.vue","webpack:///./src/views/Estimate/HR/EstimateForms.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?4557","webpack:///./src/components/uikit/DragAndDrop/props.js","webpack:///src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?5b64","webpack:///./src/components/uikit/DragAndDrop/useDragAndDrop.js","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/index.js","webpack:///./src/views/Estimate/EstimateArchiveAll.vue?165e","webpack:///./src/views/Estimate/EstimateArchiveAll.vue?13a3","webpack:///src/views/Estimate/EstimateArchiveAll.vue","webpack:///./src/views/Estimate/EstimateArchiveAll.vue","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/components/FileLoader.vue?f19b","webpack:///./src/components/uikit/Table/TableLabel.vue?0eb7","webpack:///./src/components/TreeviewSubordination/TreeviewSubordination.vue?930d","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","UiLoader","components","document","Object","isOpen","Boolean","data","mounted","headers","computed","isOpened","get","set","closeModal","methods","$emit","handleSave","setup","isLoading","tt","getDateWithHoursAndMinutes","model","callback","$$v","expression","$t","staticStyle","ref","scopedSlots","_u","fn","$vuetify","breakpoint","create_date","on","Array","blockingList","isCurrentUser","emits","emit","useStore","state","dispatch","getters","treeItemList","profile","getProfile","subordination","app","items","length","forEach","element","isExist","find","i","employee_id","disabled","push","estimate","getStructureSubordination","setTree","a","map","emp","some","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","$event","locked","unassigned","node","id","EmployeePosition","context","locals","useDocument","route","useRoute","useLanguage","isRev","meta","rev","requestTypeName","docDescription","statuses","APP_GET_PROP","docStatus","status_id","statusText","docDate","moment","date","format","docStatusDate","status_date","employeeName","name","helpers","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","role","status","APP_GET_AVAILABLE_WORKFLOW","object_id","business_role","all_types","workflow","store","documentTypes","document_type_id","check","vacation_schedule","paramData","param","message","console","log","vacation_validate_full_month","next_status_id","vacations","filter","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","includes","vacation_validate_unallocated_correction","parentVacations","indexOf","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","documentType","documentHelpers","getDocumentTypeData","documentTypeCode","code","isForSign","signHelpers","checkIsSignWorkflow","isEng","localeHelpers","comments","comments_eng","commentsEng","validateComment","getTextByAlias","files","checkFileAttached","overtime","docType","isNextWorkflow","Number","detail","checkbox_work_agreement_actioncheck_require","details","work_on_holiday_agreement","checkbox_denial_confirm_actioncheck_require","work_denial_confirm","btrip","warningText","sub","is_weekend_included","isBtripMultiDestination","isBtripRequireExpense","btrip_require_expense","btripDateDisable","btrip_date_disable","docDetails","tripList","trip_destination_requests","tripListLast","lastTripLeaveDate","leave_on","innerText","text","checkValidDocument","otherBtripsWithoutExpence","dateBtripDateDisable","isAfter","checkDocument","goalsList","goals","valuationList","valuation","goalsWeight","goalsWeightTotal","planningGoalsWeight","planningGoalsWeightTotal","planningGoalsList","planningGoals","formLayoutTabs","layoutTabList","layout_tab","trim","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","isDisabled","form","getForm","checkRole","editable","checkDeadline","Date","toISOString","slice","checkTableFilter","user","year","currentEstimate","checkUrlId","checkPeriodId","hr","checkFieldAvailable","fieldRole","formAvailable","setArchiveList","forms","currentYear","getCurrentYear","menu","path","archiveList","b","uniqueYears","getUniqueValue","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","dataList","routeId","currentForm","showError","error","edit","createGuid","estimate_id","checkFormIsFinal","isClientVinyl","isClientConti","modelValue","setEng","slotAppend","messageText","changeLocale","update","isWebpack","label","hint","nativeOn","apply","arguments","proxy","messagesList","finalMark","DataGrid","EstimateModalHistory","EstimateModalMessages","EstimateResults","isOwnPage","estimateResult","visible","isGradeResultCount","edittype","editoptions","item_value","item_text","width","sortable","prependIcon","prependIconColor","gridModel","isTableLoaded","isModalHistory","isModalMessages","openModal","showModalError","refreshData","response","Promise","then","editItem","params","resultDoc","gridPagination","_g","isSaveLoading","isEditAvailable","isInfoModal","isScrollable","scrollable","_t","EstimateArchiveAll","required","draggedIndex","onDragStart","event","dataTransfer","effectAllowed","setData","onDragOver","draggedItem","splice","onDrop","onDragEnd","newVal","newItems","deep","preventDefault","DragAndDrop","EstimateTable","forceUpdate","pageTitle","created","init","tableGridModel","pullAction","EstimateModal","EstimateAssessmentForms","TreeviewSubordination","isAuthorizedRoles","isEdit","caseSensitive","structure","radioGroup","handleUpdateSelection","modalConfirm","handleModalConfirm","EstimateCreateStructure","periodId","documents","periodData","WorkflowActions","Indicators","EstimateModalEmployeeStructure","EstimateFormsList","dbTable","isCanCreate","isStepBack","isEmployee","isCanDelete","isDisabledDelete","tableFilter","isDisabledCreate","isPreviewDisabled","isLocalTable","isCanClose","isEditItem","getFormattedDate","businessRole","own","isArchive","updateData","tableRef","beforeRefresh","inlineEdit","closeModalFormsList","isModalFormsList","employeeModalData","closeModalEmpStructure","isModalStructure","statusName","showItem","$router","closeItem","changeWorkflow","editableWorkflow","w","toolbarModel","ignoreSavedFilters","deleteItem","menuButtons","AppTooltip","icon","downloadIcon","downloadHelpText","handleClick","stopPropagation","tooltipText","ButtonDownloadDoc","ButtonPrint","preview","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","modalTitle","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","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","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","assign","editedItem","rowKey","clearItems","parentComponent","initialize","saveLayouts","handleDate","layout","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","itemText","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":"uKAAA,I,YCAyM,ECsB1L,YAAgB,CAC7BA,MAAO,CACLC,KAAM,CACJC,KAAMC,OACNC,QAAS,IAEXC,MAAO,CACLH,KAAM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,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAI0C,GAAG,WAAW,QAAQ,IAAI,IAAI,IAAI,KACtrT,IOLpB,GAZF,SAAuB0E,GAErBnH,KAAa,OAAK,UAAOoH,QAAU,YAYnC,KACA,MAIa,M,2CC3Bf,oE,kCCAA,W,kCCAA,0EAIe,SAAS4tB,EAAiB9zB,GACvC,IAAQub,EAAWjZ,cAAXiZ,OAyBR,MAAO,CACLiK,gBAxBsBjlB,aAAS,kBAC/BkN,IAAYsmB,mBAAmB/zB,MAwB/BylB,aArBmBllB,aAAS,4BAC5BP,SAD4B,UAC5BA,EAAUkO,aADkB,iBAC5B,EAAkB,UADU,iBAC5B,EAAsB8lB,iBADM,aAC5B,EAAiCvnB,SAAS,cAqB1Cwb,uBAV6B,SAACjoB,GAC9Bub,EAAO,mBAAoB,CACzBvb,WACA+lB,OAAQ,SAQVgO,mBAfyB,SAAC/zB,GAC1B,OAAOyN,IAAYsmB,mBAAmB/zB,IAetCi0B,gBApBsB,SAACj0B,GAAa,UACpC,OAAOA,SAAP,UAAOA,EAAUkO,aAAjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsB8lB,iBAA7B,aAAO,EAAiCvnB,SAAS","file":"js/chunk-85d7ccb4.1a160c1c.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&\"","// 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\"};","// 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 { 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","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","// 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","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.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',[_c('EstimateArchiveAll',{attrs:{\"title\":_vm.$t('Performance Assessments'),\"forceUpdate\":\"\"}})],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!./EstimateForms.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!./EstimateForms.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateForms.vue?vue&type=template&id=31e522bb&\"\nimport script from \"./EstimateForms.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateForms.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.props.isDisabled)?_vm._l((_vm.items),function(item){return _c('div',{key:item.id},[_vm._t(\"default\",null,{\"item\":item})],2)}):_vm._l((_vm.items),function(item,index){return _c('div',{key:item.id,attrs:{\"draggable\":\"true\"},on:{\"dragstart\":function($event){return _vm.onDragStart($event, index)},\"dragover\":function($event){$event.preventDefault();return _vm.onDragOver($event, index)},\"drop\":function($event){return _vm.onDrop($event, index)},\"dragend\":_vm.onDragEnd}},[_vm._t(\"default\",null,{\"item\":item,\"index\":index})],2)})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n list: {\n type: Array,\n required: true,\n },\n isDisabled: {\n type: Boolean,\n default: false,\n },\n};\n","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDrop.vue?vue&type=script&lang=js&\"","import { ref, watch } from '@vue/composition-api';\n\nexport default function useDragAndDrop (props = {}, { emit }) {\n const items = ref([...props.list]);\n const draggedIndex = ref(null);\n\n const onDragStart = (event, index) => {\n draggedIndex.value = index;\n event.dataTransfer.effectAllowed = 'move';\n event.dataTransfer.setData('text/plain', index);\n // event?.currentTarget?.classList?.add('dragging');\n };\n\n const onDragOver = (event, index) => {\n if (\n draggedIndex.value === null ||\n draggedIndex.value === index\n ) {\n return;\n }\n\n const draggedItem = items.value[draggedIndex.value];\n items.value.splice(draggedIndex.value, 1);\n items.value.splice(index, 0, draggedItem);\n draggedIndex.value = index;\n };\n\n const onDrop = () => {\n draggedIndex.value = null;\n };\n\n const onDragEnd = () => {\n draggedIndex.value = null;\n emit('end', items.value)\n };\n\n watch(\n () => props.list,\n (newVal) => {\n items.value = [...newVal];\n },\n );\n\n watch(\n items,\n (newItems) => {\n emit('input', newItems);\n },\n { deep: true },\n );\n\n return {\n items,\n onDragStart,\n onDragOver,\n onDrop,\n onDragEnd,\n }\n}\n","import { render, staticRenderFns } from \"./DragAndDrop.vue?vue&type=template&id=2d8562ec&\"\nimport script from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\nexport * from \"./DragAndDrop.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import DragAndDrop from './DragAndDrop.vue';\n\nexport default DragAndDrop;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"title mb-2\"},[_vm._v(_vm._s(_vm.pageTitle))]),(_vm.isLoading)?_c('UiLoader'):[_c('EstimateTable',{ref:\"tableRef\",staticClass:\"mb-4\",attrs:{\"tableGridModel\":_vm.tableGridModel,\"pullAction\":_vm.pullAction,\"forceUpdate\":\"\"}})]],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!./EstimateArchiveAll.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!./EstimateArchiveAll.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./EstimateArchiveAll.vue?vue&type=template&id=3c3afcae&\"\nimport script from \"./EstimateArchiveAll.vue?vue&type=script&lang=js&\"\nexport * from \"./EstimateArchiveAll.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('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 * 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&\"","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":""}