{"version":3,"sources":["webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/VTextFieldEng.vue?e0fc","webpack:///./src/components/VTextFieldEng.vue?4bf6","webpack:///src/components/VTextFieldEng.vue","webpack:///./src/components/VTextFieldEng.vue","webpack:///./src/components/EgDocument.vue?af97","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?059f","webpack:///./src/common/hooks.js","webpack:///./src/views/UpdAgreement/UpdAgreement.vue?211e","webpack:///./src/views/UpdAgreement/UpdAgreement.vue?1241","webpack:///src/views/UpdAgreement/UpdAgreement.vue","webpack:///./src/views/UpdAgreement/UpdAgreement.vue","webpack:///./src/components/uikit/Alert/UiAlert/index.js","webpack:///./src/common/documentSection/documentTableHelpers.js","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/EgDocument.vue?b4d8","webpack:///./src/common/document/useDocument.js","webpack:///./src/components/WorkflowActions.vue?aea7","webpack:///./src/common/actionCheck.js","webpack:///./src/components/WorkflowActions.vue?feed","webpack:///src/components/WorkflowActions.vue","webpack:///./src/common/device/checkDevice.js","webpack:///./src/components/WorkflowActions.vue","webpack:///./src/components/VTextFieldEng.vue?e451","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/PrintManager.vue?6904","webpack:///./src/components/PrintManager.vue?fc7a","webpack:///src/components/PrintManager.vue","webpack:///./src/components/PrintManager.vue","webpack:///./src/components/FileUploader.vue?9191","webpack:///./src/components/FileUploader.vue?64cb","webpack:///src/components/FileUploader.vue","webpack:///./src/components/FileUploader.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue?3411","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue?3295","webpack:///src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/index.js","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?0a01","webpack:///./src/components/EgDocument.vue?3c91","webpack:///./src/components/EgDocument.vue?134b","webpack:///src/components/EgDocument.vue","webpack:///./src/components/EgDocument.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/components/PrintManager.vue?8a67","webpack:///./src/common/notification/useNotification.js","webpack:///./src/components/EgDocument.vue?6c28","webpack:///./src/components/FileLoader.vue?f19b","webpack:///./src/components/EgDocument.vue?c09d","webpack:///./src/components/FileLoader.vue?9c55","webpack:///./src/common/paper/useDocumentSign.js","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?4187","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue"],"names":["module","exports","name","props","data","eng","watch","locale","mounted","setTimeout","methods","setEng","this","changeLocale","update","$emit","value","updateCombobox","item","itemText","component","_vm","_h","$createElement","_c","_self","_b","attrs","valueEng","$t","$attrs","label","hint","on","scopedSlots","_u","key","fn","ref","_g","staticClass","_v","_l","index","$event","_s","_e","nativeOn","apply","arguments","proxy","checkRoleGF","store","state","param","auth","paramGF","gf_manager_as_manager","roles","profile","isGF","Number","includes","getDocumentsCrosscheckExclude","category","docsExclude","documents_crosscheck_exclude","objectsData","app","docs","timesheets","length","categoryData","filter","i","layout","excludeDocsList","split","map","element","trim","uniqueList","helpers","getUniqueValue","some","list","forEach","object_table","push","checkDomesticBTrip","doc","paramCIS","btrip_CIS_typelist","find","getRoleByRouteMeta","meta","sub","hr","rev","components","EgDocument","setup","model","documentTypes","viewName","tableName","afterInit","start_date","statement_date","callback","$$v","expression","UiAlert","showError","text","commit","color","timeout","debug","checkCanCreateTableItemByStatus","section","role","workflow","workflowSectionList","Object","keys","workflowList","workflowItem","status_id","status","object_id","object","STATUS_NAME","empty","editable","useDocument","document","getters","useStore","route","useRoute","tt","useLanguage","isRev","requestTypeName","computed","docDescription","statuses","APP_GET_PROP","docStatus","id","statusText","docDate","moment","date","format","docStatusDate","status_date","employeeName","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","APP_GET_AVAILABLE_WORKFLOW","business_role","all_types","document_type_id","subordination","employee_id","type","check","vacation_schedule","paramData","message","console","log","vacation_validate_full_month","next_status_id","vacations","vacation_schedule_period","replaced","replaced_vacation_ids","totalDays","totalWeekendDays","vacationItem","document_type_name_eng","days","weekendDays","APP_GET_DATEDIFF","startDate","endDate","end_date","dailyInfo","allowedWeekendDays","i18n","t","vacation_validate_unallocated_schedule","vacationLimits","period","limitItem","vacationsByType","reduce","sum","unsaved","norma","checkActionForbiddenPeriod","prepareData","updateItem","getProfile","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","link","router","diff","reject","vacation_correction","vacation2","vacation_validate_unallocated_correction","parentVacations","indexOf","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","documentType","documentHelpers","getDocumentTypeData","documentTypeCode","code","isForSign","signHelpers","checkIsSignWorkflow","isEng","localeHelpers","comments","comments_eng","commentsEng","validateComment","getTextByAlias","files","checkFileAttached","overtime","docType","isNextWorkflow","detail","checkbox_work_agreement_actioncheck_require","details","work_on_holiday_agreement","checkbox_denial_confirm_actioncheck_require","work_denial_confirm","btrip","warningText","is_weekend_included","isBtripMultiDestination","isBtripRequireExpense","btrip_require_expense","btripDateDisable","btrip_date_disable","docDetails","tripList","trip_destination_requests","tripListLast","lastTripLeaveDate","leave_on","innerText","checkValidDocument","otherBtripsWithoutExpence","dateBtripDateDisable","isAfter","checkDocument","estimate","goalsList","goals","valuationList","valuation","goalsWeight","goalsWeightTotal","planningGoalsWeight","planningGoalsWeightTotal","planningGoalsList","planningGoals","formLayoutTabs","layoutTabList","layout_tab","findTab","isPlanningGoalsTab","isGoalsTab","isTypeYearly","isTypeInterim","isFinal","is_final","isGoalsList","isGoalsWeight","isPlanningGoalsWeight","isPlanGoalsList","isGoalSelfEsteem","isGoalAssessment","isValuationSelfEsteem","isValuationAssessment","isVinyl","client","url","history","current","selfEsteem","self_esteem","assessment","checkSubFields","checkEmployeeFields","material_assistance","absence","absence_validate","sickleave","paramHelpers","paramCheckSickleaveNumberOnClose","statement","statements","errorAlias","dismissalType","VTextareaEng","ModalSigning","FileLoader","String","default","documentName","disabled","Boolean","loading","availableWorkflow","Array","isRejectPrimary","isPrevStepDisabled","isLocalSigning","emits","showErrorNotification","$store","isSignature","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","hooksDocument","submitMessageDialog","val","editableItem","processFinal","workflowColor","getRequestData","dispatch","request_type_code","requestTypeCode","test","navigator","userAgent","class","$style","Workflow","btnClass","loadingLocal","$vuetify","breakpoint","smAndDown","undefined","handleChangeWorkflow","isLocalModalSigning","process","showMessageDialog","modelMessage","text_eng","$set","handleFileLoaderClose","downloadOptions","context","locals","modelValue","slotAppend","messageText","emit","isWebpack","documentId","pdfSelected","pdfItems","selectedItems","singleSelect","created","disable_xlsx","formats","init","show","showDialog","close","showFrame","reportUrl","then","headers","print","preview","loaderOptions","method","file","template","title","name_eng","items","isSelected","select","formatItem","bus","listFiles","$on","save","onFilePicked","fr","addEventListener","count","size","uploadMaxFilesize","readAsArrayBuffer","submitFiles","submittedFiles","fileInList","deleted","formData","append","f","response","filesToAdd","filesToDel","findIndex","directives","rawName","outlined","$refs","fileInput","click","icon","isHover","buttonColor","iconColor","handleButtonAdd","stopPropagation","ButtonPlus","documentNameSpecial","documentsName","titleIcon","showAdjust","tabs","validatedItems","actionItems","types","rules","hints","showPeriod","periodRange","showDays","showHours","showReason","author","calendarAllowedDates","calendarMinDate","calendarMaxDate","calendarDaysType","calendarLabel","businessRole","isSpecialRole","beforeSave","Function","isAvailableChangeWorkflow","persistantPeriodHint","persistantPeriodHintText","documentTypeAlertText","documentCountsOnDate","isButtonNewDocument","isEmployeeFieldDisabled","isWorkflowVisible","VTextFieldEng","WorkflowActions","PrintManager","FileUploader","StepBack","UiLoader","number","hours","employee_name","employee_name_eng","own","refMessages","getMessages","tab","sectionIcon","pageTitle","createInfoText","isCreateInfoText","paramCommentLength","getFormattedDate","getDateWithHoursAndMinutes","businessRoleInSetup","messagesList","refDocuments","messageItems","isLoadingMessages","handleClose","queryPath","path","query","step","back","tabsLocal","modelPeriodStart","modelPeriod","modelPeriodEnd","calendars","employee","getEmployee","businessRoleLocal","isHr","isReviewer","isManager","manager_id","manager_as_employee","isCandidate","hooks","isEmployee","commentHint","documentTypeHint","isDocumentTypeHint","editableWorkflow","w","responsible_id","periodFormatted","calendarDays","modelHints","reason","docsCrosscheckExclude","modelRules","empty_document_type","empty_employee","empty_comment","correct_type","other_documents_exists","documents","myString","validated","validateArr","isEditableEmployee","minDate","maxDate","calendarLabelText","isNewDocAvailable","documentTableHelpers","employeeFilter","changePeriod","modelPeriodTemp","menuPeriod","getManager","manager","changeDocumentType","document_type","functionEvents","calendarItem","extIcon","downloadFile","client_code","clientCode","extension","clickAdjust","allowedDates","handleSetComment","handleSetCommentEng","getTimesheet","handleCreate","$router","sm","md","lg","mdAndUp","attach_for_all_workflow","tabItem","_t","AlertText","domProps","subordinationItems","changeEmployee","Avatar","photo_link","maxHeight","reason_eng","eventHistoryItems","eventHistoryHeaders","create_date","staticStyle","messageHeaders","hash","original_name","Actions","isLoadingSave","visible","actionItem","changeWorkflow","$slots","ActionAlert","AppTooltip","isDisabled","isArchive","downloadIcon","downloadHelpText","handleClick","e","tooltipText","ButtonDownloadDoc","ButtonPrint","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","modalTitle","fileOriginalName","handler","newValue","oldValue","beforeUnmount","localUrl","fileName","download","href","setAttribute","body","appendChild","iframe","contentWindow","iframePrepare","contentDocument","iframeBody","getElementsByTagName","children","img","tagName","width","style","container","wrapper","card","header","headerTitle","headerButton","inner","iframeScale","content","subtitle","sign","handleOpenModalSigning","useNotification","errorText","useDocumentSign","checkSignAvailable","file_name","checkFileSigned","Content"],"mappings":"+FACAA,EAAOC,QAAU,CAAC,SAAW,qC,oCCD7B,ICAuV,EC8DvV,CACEC,KAAM,gBACNC,MAAO,CAAC,SAAU,QAAS,WAAY,WAAY,QAAS,YAAa,YACzEC,KAAM,WACJ,MAAO,CACLC,KAAK,IAGTC,MAAO,CACLC,OAAQ,UAEVC,QAXF,WAWA,WAKIC,YAAW,WACT,EAAN,WACA,IAEEC,QAAS,CACPC,OADJ,WAEMC,KAAKP,IAAX,OAAiB,KAAjB,0FAEIQ,aAJJ,WAKMD,KAAKP,KAAOO,KAAKP,KAEnBS,OAPJ,SAOA,GACUF,KAAKP,IAAKO,KAAKG,MAAM,WAAYC,aAA3C,YACA,uBAEIC,eAXJ,SAWA,GACML,KAAKG,MAAM,QAASG,EAAKN,KAAKO,WAC9BP,KAAKG,MAAM,WAAYG,EAAKN,KAAKO,SAAW,Y,wBCvF9CC,EAAY,YACd,GHTW,WAAa,IAAIC,EAAIT,KAASU,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAeH,EAAIK,GAAG,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OE,EAAG,SAAS,CAACG,MAAM,CAAC,OAAS,OAAO,iBAAiB,GAAG,KAAO,OAAO,MAAQ,UAAU,UAAY,MAAM,CAACH,EAAG,MAAM,CAAC8V,MAAnL1W,KAA6L2W,OAAOgT,SAAS,CAA7M3pB,KAAkN0kB,GAAG,YAAY,OAC7O,ICkBpB,GAZF,SAAuB9M,GAErB5X,KAAa,OAAK,UAAO6X,QAAU,YAYnC,KACA,MAIa,IAAArX,E","file":"js/chunk-855be7e2.f90becfb.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"Workflow\":\"WorkflowActions__Workflow__12tbm\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',_vm._b({attrs:{\"value\":_vm.eng ? _vm.valueEng : _vm.value,\"label\":_vm.eng ? _vm.$t(_vm.$attrs.label, 'en') : _vm.$t(_vm.$attrs.label, 'ru'),\"hint\":_vm.eng ? _vm.$t(_vm.$attrs.hint, 'en') : _vm.$t(_vm.$attrs.hint, 'ru')},on:{\"input\":function (value) { return _vm.update(value); }},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [(_vm.combobox)?_c('v-menu',{attrs:{\"offset-y\":\"\",\"left\":\"\",\"origin\":\"center center\",\"nudge-bottom\":-40},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mt-1\",attrs:{\"text\":\"\",\"color\":\"primary\",\"x-small\":\"\"}},on),[_c('v-icon',[_vm._v(\"mdi-menu-down\")])],1)]}}],null,false,1714166371)},[_c('v-list',{staticClass:\"overflow-y-auto\",attrs:{\"dense\":\"\",\"max-height\":\"300\",\"max-width\":\"600\"}},_vm._l((_vm.items),function(item,index){return _c('v-list-item',{key:index,on:{\"click\":function($event){return _vm.updateCombobox(item)}}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm.eng ? item[_vm.itemText + '_eng'] : item[_vm.itemText]))])],1)],1)}),1)],1):_vm._e(),_c('v-btn',{staticClass:\"mt-1\",attrs:{\"text\":\"\",\"color\":\"primary\",\"x-small\":\"\"},nativeOn:{\"click\":function($event){return _vm.changeLocale.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.eng ? 'en' : 'ru'))])]},proxy:true}])},'v-text-field',_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!./VTextFieldEng.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!./VTextFieldEng.vue?vue&type=script&lang=js&\"","\n\n\n\n\n\n","import { render, staticRenderFns } from \"./VTextFieldEng.vue?vue&type=template&id=77cf4628&scoped=true&\"\nimport script from \"./VTextFieldEng.vue?vue&type=script&lang=js&\"\nexport * from \"./VTextFieldEng.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VTextFieldEng.vue?vue&type=style&index=0&id=77cf4628&scoped=true&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 \"77cf4628\",\n null\n \n)\n\nexport default component.exports","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!./EgDocument.vue?vue&type=style&index=1&lang=css&\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Content\":\"UiAlert__Content__2rMNb\"};","import store from '@/store'\nimport helpers from './helpers'\n\nexport default {\n // проверка на роль gf_manager\n checkRoleGF () {\n const { param, auth } = store.state\n const { gf_manager_as_manager: paramGF } = param.data\n const { roles } = auth.profile\n const isGF = !!Number(paramGF)\n\n // если не указаны роли или нет параметра, то выходим\n if (!roles || !isGF) {\n return false\n }\n\n // если указано роль и выставлен параметр, то применяются права\n return roles.includes('gf_manager');\n },\n\n getDocumentsCrosscheckExclude (category) {\n const { documents_crosscheck_exclude: docsExclude } = store.state?.param?.data\n const { objectsData } = store.state.app\n // let docs = store.getters.getDocuments\n let docs = store.state.app.timesheets\n // теперь timesheet грузит больше документов, чем нужно, фильтруем по сотруднику\n // docs = docs.filter(i => i.employee_id === store?.state?.auth?.profile?.employee_id)\n\n // если не указана категория или нет параметра или не указаны категории в параметре, то вернуть все документы\n if (!category || !docsExclude?.length) {\n return docs\n }\n\n // найти все названия документов текущей категории\n const categoryData = objectsData.filter((i) => i.layout === category)\n\n // если несколько записей у параметра, то разбиваем и удаляем пробелы\n const excludeDocsArray = docsExclude.split(';')\n const excludeDocsList = excludeDocsArray.map(element => element.trim())\n\n // уникальные названия документов из списка категорий. У некоторых категорий несколько документов\n const uniqueList = helpers.getUniqueValue(categoryData, 'id')\n\n // проверка на наличие элемента с списке исключаемых\n const isCategoryExist = excludeDocsList.some((i) => i === category)\n\n // если есть в списке исключаемых, возвращаются только документы этой категории\n if (isCategoryExist) {\n const list = []\n\n docs.forEach(element => {\n if (uniqueList.includes(element.object_table)) {\n list.push(element)\n }\n })\n\n return list\n }\n\n // убираем документы равные перечисленным разделам в параметре\n excludeDocsList.forEach(element => {\n docs = docs.filter((i) => i.object_table !== element)\n })\n\n return docs\n },\n\n // проверка на внутреннюю поездку\n checkDomesticBTrip (doc) {\n const { btrip_CIS_typelist: paramCIS } = store.state?.param.data\n\n // если нет параметра, то выводим все страны\n if (!paramCIS) return false\n\n const dicTripArray = paramCIS.split(/;|,/)\n const isExistType = dicTripArray.find((i) => i === doc)\n\n if (!isExistType) {\n return false\n }\n\n return true\n },\n\n // Получить роль по данным в роуте\n getRoleByRouteMeta (meta) {\n const { sub, hr, rev } = meta\n\n if (sub) {\n return 'manager';\n }\n\n if (hr) {\n return 'hr';\n }\n\n if (rev) {\n return 'reviewer';\n }\n\n return 'employee';\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('EgDocument',{attrs:{\"title\":\"Agreement\",\"document-name\":_vm.tableName,\"document-name-special\":_vm.viewName,\"documents-name\":_vm.viewName,\"object-id\":_vm.viewName,\"types\":_vm.documentTypes,\"show-period\":false,\"show-days\":false,\"period-range\":false},on:{\"afterInit\":_vm.afterInit},model:{value:(_vm.model),callback:function ($$v) {_vm.model=$$v},expression:\"model\"}})}\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!./UpdAgreement.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!./UpdAgreement.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./UpdAgreement.vue?vue&type=template&id=07647a60&\"\nimport script from \"./UpdAgreement.vue?vue&type=script&lang=js&\"\nexport * from \"./UpdAgreement.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 UiAlert from './UiAlert.vue';\n\nexport default UiAlert;\n","\nimport store from '@/store'\nimport roles from '@/common/role/roleHelpers';\n\nimport { STATUS_NAME } from '@/constants/document/StatusName';\n\nexport default {\n showError (text) {\n store.commit('MSG_SET_ITEM', {\n text,\n color: 'error',\n timeout: 20000,\n debug: true,\n });\n },\n\n checkCanCreateTableItemByStatus (section, role) {\n const { workflowSectionList = {} } = store?.state?.workflow ?? [];\n\n // Использовать полученную роли или получить из роута\n role = role ?? roles.getRoleByRouteMeta();\n\n if (!Object.keys(workflowSectionList)?.length) {\n return false\n }\n\n const workflowList = workflowSectionList?.[section]?.[role] ?? []\n\n // Возможность создания записи в таблице определяется по workflow со стаутом empty\n const workflowItem = workflowList?.find((item) => {\n const { status_id: status = '', object_id: object = '' } = item ?? {};\n\n return status === STATUS_NAME?.empty && object === section\n });\n\n // Если на найден воркфлоу для текущего раздела по роли\n if (!workflowItem) {\n return false\n }\n\n return !!Number(workflowItem?.editable)\n },\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"FileLoader__container__nd7YO\",\"wrapper\":\"FileLoader__wrapper__TyKR0\",\"card\":\"FileLoader__card__PTGwu\",\"header\":\"FileLoader__header__2IPZK\",\"headerTitle\":\"FileLoader__headerTitle__1bxi4\",\"headerButton\":\"FileLoader__headerButton__17HMC\",\"inner\":\"FileLoader__inner__fJO25\",\"document\":\"FileLoader__document__ojE2j\",\"iframe\":\"FileLoader__iframe__1Ho73\",\"content\":\"FileLoader__content__3bbdE\",\"list\":\"FileLoader__list__32maT\",\"item\":\"FileLoader__item__10NjP\",\"subtitle\":\"FileLoader__subtitle__2EgCK\",\"sign\":\"FileLoader__sign__7BR3w\"};","export * 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!./EgDocument.vue?vue&type=style&index=0&lang=css&\"","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","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!./VTextFieldEng.vue?vue&type=style&index=0&id=77cf4628&scoped=true&lang=css&\"","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',[_c('v-tooltip',{attrs:{\"top\":\"\"},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('v-btn',{class:_vm.$attrs.class,attrs:{\"text\":\"\",\"outlined\":\"\",\"color\":\"secondary\",\"disabled\":_vm.$attrs.disabled === true},on:{\"click\":_vm.show}},[_c('v-icon',[_vm._v(\"mdi-printer-settings\")])],1)],1)]}}])},[(_vm.$attrs.disabled !== true)?_c('span',[_vm._v(_vm._s(_vm.$t('Print documents')))]):_vm._e(),(_vm.$attrs.disabled === true)?_c('span',[_vm._v(_vm._s(_vm.$t('Fill and save the form before print')))]):_vm._e()]),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"700px\"},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"px-3\"},[_c('span',{staticClass:\"headline pl-4\"},[_vm._v(_vm._s(_vm.$t('Print Manager')))]),_c('v-spacer'),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.close}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1),_c('v-card-text',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"hide-default-footer\":\"\",\"hide-default-header\":\"\",\"disable-sort\":\"\",\"show-select\":\"\",\"single-select\":_vm.singleSelect},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nvar isSelected = ref.isSelected;\nvar select = ref.select;\nreturn [_c('tr',[_c('td',{attrs:{\"width\":\"64\"}},[_c('v-checkbox',{attrs:{\"value\":isSelected},on:{\"change\":function($event){return select($event)}}})],1),_c('td',[_vm._v(\" \"+_vm._s(_vm.tt(item, 'name'))+\" \")]),_c('td',{staticClass:\"text-end\"},[_c('v-menu',{attrs:{\"disabled\":_vm.formats.length <= 1},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"text\":\"\",\"small\":\"\"}},on),[_vm._v(\" \"+_vm._s(item.format)+\" \")])]}}],null,true)},[_c('v-card',[_c('v-col',{staticClass:\"d-flex flex-column\"},_vm._l((_vm.formats),function(formatItem){return _c('v-btn',{key:formatItem,staticClass:\"ma-1 mr-2 justify-start\",attrs:{\"text\":\"\",\"small\":\"\"},on:{\"click\":function($event){item.format = formatItem}}},[_vm._v(\" \"+_vm._s(formatItem)+\" \")])}),1)],1)],1)],1)])]}}]),model:{value:(_vm.selectedItems),callback:function ($$v) {_vm.selectedItems=$$v},expression:\"selectedItems\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"secondary\",\"text\":\"\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t('Cancel')))]),_c('v-btn',{attrs:{\"disabled\":!_vm.selectedItems || _vm.selectedItems.length === 0 || _vm.selectedItems.length > 1,\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){return _vm.print(true)}}},[_c('v-icon',[_vm._v(\"mdi-printer-search\")]),_vm._v(\" \"+_vm._s(_vm.$t('Preview'))+\" \")],1),_c('v-btn',{attrs:{\"disabled\":!_vm.selectedItems || _vm.selectedItems.length === 0,\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){return _vm.print(false)}}},[_c('v-icon',[_vm._v(\"mdi-download\")]),_vm._v(\" \"+_vm._s(_vm.$t('Download'))+\" \")],1)],1),_c('file-loader',{attrs:{\"preview\":_vm.preview},model:{value:(_vm.loaderOptions),callback:function ($$v) {_vm.loaderOptions=$$v},expression:\"loaderOptions\"}})],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!./PrintManager.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!./PrintManager.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./PrintManager.vue?vue&type=template&id=2f6e911a&\"\nimport script from \"./PrintManager.vue?vue&type=script&lang=js&\"\nexport * from \"./PrintManager.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PrintManager.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('input',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],ref:\"fileInput\",attrs:{\"type\":\"file\",\"multiple\":\"multiple\",\"accept\":\"image/*,application/zip,application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document;capture=camera\"},on:{\"change\":_vm.onFilePicked}}),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({class:_vm.$attrs.class,attrs:{\"disabled\":_vm.disabled,\"text\":\"\",\"outlined\":_vm.$attrs.outlined,\"color\":\"secondary\"},on:{\"click\":function($event){return _vm.$refs.fileInput.click()}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(_vm.$attrs.icon))]),_c('span',[_vm._v(_vm._s(_vm.$attrs.title ? _vm.$attrs.title : ''))])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t('Upload Scans')))])])],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!./FileUploader.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!./FileUploader.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./FileUploader.vue?vue&type=template&id=9a39ea08&\"\nimport script from \"./FileUploader.vue?vue&type=script&lang=js&\"\nexport * from \"./FileUploader.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('VTooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('VBtn',_vm._g({staticClass:\"mx-2 ButtonPlus\",attrs:{\"fab\":\"\",\"dark\":\"\",\"small\":\"\",\"color\":_vm.buttonColor,\"disabled\":_vm.disabled},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleButtonAdd.apply(null, arguments)}}},on),[_c('VIcon',{attrs:{\"color\":_vm.iconColor}},[_vm._v(\" mdi-plus \")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(_vm.text)))])])}\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!./ButtonPlus.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!./ButtonPlus.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./ButtonPlus.vue?vue&type=template&id=7f63525c&\"\nimport script from \"./ButtonPlus.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonPlus.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 ButtonPlus from './ButtonPlus.vue';\n\nexport default ButtonPlus;\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!./UiAlert.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!./UiAlert.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',[(_vm.isLoading)?_c('div',{staticClass:\"pt-4\"},[_c('UiLoader')],1):_c('VRow',{attrs:{\"no-gutters\":\"\",\"justify\":\"center\"}},[_c('v-col',{attrs:{\"col\":\"12\",\"sm\":_vm.$attrs.sm || 10,\"md\":_vm.$attrs.md || 8,\"lg\":_vm.$attrs.lg || 6}},[_c('v-card',{staticClass:\"ma-2\",class:_vm.$vuetify.breakpoint.mdAndUp ? 'elevation-1' : 'elevation-0'},[_c('v-card-subtitle',{staticClass:\"pl-1 d-flex\"},[_c('StepBack',{attrs:{\"title\":_vm.pageTitle,\"icon\":_vm.sectionIcon}}),_c('v-spacer'),(_vm.isNewDocAvailable)?_c('div',{staticClass:\"pr-1\"},[_c('VTooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('VBtn',_vm._g(_vm._b({attrs:{\"text\":\"\",\"outlined\":\"\",\"color\":\"secondary\",\"disabled\":_vm.model.unsaved},on:{\"click\":function($event){return _vm.handleCreate()}}},'VBtn',attrs,false),on),[_c('VIcon',[_vm._v(\"mdi-note-plus\")])],1)]}}],null,false,3417861102)},[_c('span',[_vm._v(_vm._s(_vm.$t('Add a new request')))])])],1):_vm._e(),_c('file-uploader',{staticClass:\"pr-1\",attrs:{\"icon\":\"mdi-camera\",\"outlined\":\"\",\"object-id\":_vm.objectId || _vm.documentName,\"document-id\":_vm.model.id,\"bus\":_vm.bus,\"disabled\":!_vm.editableWorkflow && _vm.paramData.attach_for_all_workflow !== '1'},on:{\"onPicked\":function($event){_vm.tab = 3 + _vm.tabsLocal.length}},model:{value:(_vm.model.files),callback:function ($$v) {_vm.$set(_vm.model, \"files\", $$v)},expression:\"model.files\"}}),_c('print-manager',{staticClass:\"pr-1\",attrs:{\"object-id\":this.objectId || this.documentName,\"document-type-code\":_vm.documentType ? _vm.documentType.code : null,\"document-id\":_vm.model ? _vm.model.id : null,\"disabled\":_vm.model.unsaved === true}}),(_vm.showAdjust)?_c('v-btn',{attrs:{\"text\":\"\",\"outlined\":\"\",\"color\":\"secondary\"},on:{\"click\":_vm.clickAdjust}},[_c('v-icon',[_vm._v(\"mdi-cog\")])],1):_vm._e()],1),_c('v-tabs',{attrs:{\"color\":\"primary\",\"centered\":_vm.$vuetify.breakpoint.mdAndUp,\"left\":_vm.$vuetify.breakpoint.smAndDown,\"show-arrows\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',[_vm._v(_vm._s(_vm.$t('Main')))]),_vm._l((_vm.tabsLocal),function(tabItem){return _c('v-tab',{key:tabItem.title},[_vm._v(_vm._s(_vm.$t(tabItem.title)))])}),_c('v-tab',[_vm._v(_vm._s(_vm.$t('Event History')))]),(_vm.$vuetify.breakpoint.mdAndUp)?_c('VTab',{ref:\"refMessages\"},[_vm._v(\" \"+_vm._s(_vm.$t('Messages'))+\" \")]):_vm._e(),(_vm.model.files && _vm.model.files.length > 0)?_c('VTab',{ref:\"refDocuments\"},[_vm._v(\" \"+_vm._s(_vm.$t('Documents'))+\" \")]):_vm._e()],2),(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-divider'):_vm._e(),_c('div',{staticClass:\"px-4\"},[_c('v-row',[_c('v-col',{staticClass:\"pl-11 pb-0\"},[_c('v-text-field',{attrs:{\"label\":_vm.$t('Date'),\"value\":_vm.getFormattedDate(_vm.model.date),\"disabled\":\"\"}})],1),(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-col',{staticClass:\"pb-0\"},[_c('v-text-field',{attrs:{\"label\":_vm.$t('Number'),\"value\":_vm.model.number,\"disabled\":\"\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pb-0\"},[_c('v-select',{attrs:{\"items\":_vm.statuses,\"item-value\":\"id\",\"item-text\":_vm.locale === 'en' ? 'name_eng' : 'name',\"label\":_vm.$t('Status'),\"disabled\":\"\"},model:{value:(_vm.model.status_id),callback:function ($$v) {_vm.$set(_vm.model, \"status_id\", $$v)},expression:\"model.status_id\"}})],1)],1)],1),_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',[_vm._t(\"tabItem-main\",function(){return [_c('v-card-text',{ref:\"main\"},[(_vm.isCreateInfoText)?_c('VRow',[_c('VCol',[_c('UiAlert',[_c('div',{class:_vm.$style.AlertText,domProps:{\"innerHTML\":_vm._s(_vm.createInfoText)}})])],1)],1):_vm._e(),_vm._t(\"main-employee\",function(){return [_c('v-row',[_c('v-col',{staticClass:\"py-0\"},[(_vm.isEditableEmployee)?_c('VAutocomplete',{attrs:{\"items\":_vm.subordinationItems,\"item-value\":\"employee_id\",\"item-text\":_vm.locale === 'en' ? 'employee_name_eng' : 'employee_name',\"label\":_vm.$t('Employee'),\"prepend-icon\":\"mdi-account\",\"readonly\":!_vm.editableWorkflow,\"persistent-hint\":\"\",\"disabled\":_vm.isEmployeeFieldDisabled,\"error-messages\":[_vm.modelRules.empty_employee].filter(function (i) { return !i || !!i(); })},on:{\"change\":function($event){_vm.changeEmployee(_vm.subordinationItems.find(function (i) { return i.employee_id === _vm.model.employee_id; }))}},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{class:_vm.$style.Avatar},[(item.photo_link)?_c('VImg',{attrs:{\"src\":item.photo_link}}):_c('VIcon',{attrs:{\"color\":\"secondary\"}},[_vm._v(\" mdi-account \")])],1),_vm._v(\" \"+_vm._s(item.employee_name)+\" \")]}}],null,false,3875914867),model:{value:(_vm.model.employee_id),callback:function ($$v) {_vm.$set(_vm.model, \"employee_id\", $$v)},expression:\"model.employee_id\"}}):_c('VTextField',{attrs:{\"label\":_vm.$t('Employee'),\"value\":_vm.tt(_vm.model, 'employee_name'),\"prepend-icon\":\"mdi-account\",\"disabled\":\"\"}})],1)],1),(_vm.isGF)?_c('v-row',[_c('v-col',[_c('VTextField',{attrs:{\"label\":_vm.$t('Manager'),\"value\":_vm.tt(_vm.model, 'manager_name'),\"prepend-icon\":\"mdi-account-supervisor\",\"disabled\":\"\",\"hide-details\":\"\"}})],1)],1):_vm._e()]},null,{ model: _vm.model, editableWorkflow: _vm.editableWorkflow }),_vm._t(\"main-documentType\",function(){return [_c('v-row',[_c('v-col',{staticClass:\"py-0\"},[_c('VSelect',{attrs:{\"items\":_vm.documentTypes,\"item-value\":\"id\",\"item-text\":_vm.locale === 'en' ? 'name_eng' : 'name',\"label\":_vm.$t('Type'),\"prepend-icon\":\"mdi-format-list-bulleted-type\",\"readonly\":!_vm.editableWorkflow,\"menu-props\":{ maxHeight: '500' },\"persistent-hint\":\"\",\"hint\":_vm.modelHints.document_type_id(),\"error-messages\":[_vm.modelRules.correct_type, _vm.modelRules.empty_document_type].filter(function (i) { return !i || !!i(); }),\"data-test\":\"doc-type-select\"},on:{\"change\":function($event){return _vm.changeDocumentType(_vm.documentType)}},model:{value:(_vm.model.document_type_id),callback:function ($$v) {_vm.$set(_vm.model, \"document_type_id\", $$v)},expression:\"model.document_type_id\"}}),(_vm.isDocumentTypeHint)?_c('UiAlert',[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.$t(_vm.documentTypeHint))}})]):_vm._e()],1)],1)]},null,{ model: _vm.model, documentType: _vm.documentType, documentTypes: _vm.documentTypes, editableWorkflow: _vm.editableWorkflow }),_vm._t(\"main-document-type-info\"),_vm._t(\"main-period\",function(){return [_c('v-row',[(_vm.showPeriod)?_c('VCol',{staticClass:\"py-0\",attrs:{\"cols\":\"12\",\"md\":_vm.showDays ? 6 : 12,\"sm\":\"12\"}},[_c('div',[_c('v-menu',{ref:\"menu\",attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"value\":_vm.periodFormatted,\"label\":_vm.$t(_vm.calendarLabelText),\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\",\"persistent-hint\":_vm.persistantPeriodHint,\"hint\":_vm.persistantPeriodHintText,\"error-count\":\"2\",\"error-messages\":[_vm.modelRules.period, _vm.modelRules.other_documents_exists].filter(function (i) { return !i || !!i(); })},on:{\"click\":function($event){_vm.modelPeriodTemp = _vm.modelPeriod}}},on))]}}],null,false,2525899379),model:{value:(_vm.menuPeriod),callback:function ($$v) {_vm.menuPeriod=$$v},expression:\"menuPeriod\"}},[_c('v-date-picker',{attrs:{\"first-day-of-week\":\"1\",\"range\":_vm.periodRange,\"no-title\":\"\",\"color\":\"primary\",\"readonly\":!_vm.editableWorkflow,\"events\":_vm.functionEvents,\"allowed-dates\":_vm.allowedDates,\"min\":_vm.minDate,\"max\":_vm.maxDate},model:{value:(_vm.modelPeriodTemp),callback:function ($$v) {_vm.modelPeriodTemp=$$v},expression:\"modelPeriodTemp\"}},[_c('v-spacer'),_c('v-btn',{attrs:{\"text\":\"\",\"color\":\"secondary\"},on:{\"click\":_vm.changePeriod}},[_vm._v(\"OK\")])],1)],1)],1)]):_vm._e(),(_vm.showDays)?_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\",\"md\":\"6\",\"sm\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":_vm.$t('Days'),\"value\":_vm.calendarDays,\"readonly\":\"\",\"prepend-icon\":\"mdi-counter\",\"error-messages\":[_vm.modelRules.days].filter(function (i) { return !i || !!i(); })}})],1):_vm._e(),(_vm.showHours)?_c('v-col',{staticClass:\"py-0\"},[_c('v-text-field',{attrs:{\"label\":_vm.$t('Hours'),\"prepend-icon\":\"mdi-clock-outline\",\"error-messages\":[_vm.modelRules.hours].filter(function (i) { return !i || !!i(); })},model:{value:(_vm.model.hours),callback:function ($$v) {_vm.$set(_vm.model, \"hours\", $$v)},expression:\"model.hours\"}})],1):_vm._e()],1)]},null,{ model: _vm.model, editableWorkflow: _vm.editableWorkflow, calendarDays: _vm.calendarDays }),_vm._t(\"main-comments\",function(){return [_c('v-row',[_c('v-col',{staticClass:\"py-0\"},[_c('VTextFieldEng',{attrs:{\"label\":\"Comments\",\"valueEng\":_vm.model.comments_eng,\"prepend-icon\":\"mdi-comment-processing-outline\",\"readonly\":!_vm.editableWorkflow,\"locale\":_vm.locale,\"autocomplete\":\"new-password\",\"maxLength\":_vm.paramCommentLength,\"counter\":_vm.paramCommentLength,\"error-messages\":[_vm.modelRules.empty_comment].filter(function (i) { return !i || !!i(); }),\"hint\":_vm.commentHint},on:{\"input\":_vm.handleSetComment,\"inputEng\":_vm.handleSetCommentEng},model:{value:(_vm.model.comments),callback:function ($$v) {_vm.$set(_vm.model, \"comments\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"model.comments\"}})],1)],1)]},null,{ model: _vm.model, editableWorkflow: _vm.editableWorkflow }),_vm._t(\"main-reason\",function(){return [(_vm.showReason)?_c('v-row',[_c('v-col',{staticClass:\"py-0\"},[_c('v-text-field-eng',{attrs:{\"label\":\"Reason\",\"prepend-icon\":\"mdi-comment-alert-outline\",\"readonly\":!_vm.editableWorkflow,\"locale\":_vm.locale,\"valueEng\":_vm.model.reason_eng,\"hint\":_vm.modelHints.reason(),\"error-messages\":[_vm.modelRules.reason].filter(function (i) { return !i || !!i(); }),\"autocomplete\":\"new-password\"},on:{\"inputEng\":function (valueEng) { return _vm.model.reason_eng = valueEng; }},model:{value:(_vm.model.reason),callback:function ($$v) {_vm.$set(_vm.model, \"reason\", $$v)},expression:\"model.reason\"}})],1)],1):_vm._e()]},null,{ model: _vm.model, documentType: _vm.documentType, editableWorkflow: _vm.editableWorkflow })],2)]},null,{ model: _vm.model, documentType: _vm.documentType, documentTypes: _vm.documentTypes, editableWorkflow: _vm.editableWorkflow, calendarDays: _vm.calendarDays })],2),_vm._l((_vm.tabsLocal),function(tabItem){return _c('v-tab-item',{key:tabItem.title},[_vm._t((\"tabItem-\" + (tabItem.name)),null,null,{ model: _vm.model, documentType: _vm.documentType, editableWorkflow: _vm.editableWorkflow })],2)}),_c('v-tab-item',[_vm._t(\"tabItem-history\",function(){return [_c('v-data-table',{ref:\"history\",staticClass:\"pl-8 pr-3 pb-4\",attrs:{\"items\":_vm.eventHistoryItems,\"headers\":_vm.eventHistoryHeaders,\"focusable\":\"\",\"disable-filtering\":\"\",\"disable-pagination\":\"\",\"disable-sort\":\"\",\"hide-default-footer\":\"\",\"hide-default-header\":\"\"},scopedSlots:_vm._u([{key:\"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)]}}])})]})],2),(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-tab-item',[_vm._t(\"tabItem-messages\",function(){return [(_vm.isLoadingMessages)?_c('UiLoader'):_c('v-data-table',{ref:\"message\",staticClass:\"pl-8 pr-3 pb-4\",attrs:{\"items\":_vm.messageItems,\"headers\":_vm.messageHeaders,\"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'))+\" \")])])]}}],null,false,568473000)})]})],2):_vm._e(),(_vm.model.files && _vm.model.files.length > 0)?_c('v-tab-item',[_c('v-card-text',{ref:\"documents\"},[_c('v-row',[_c('v-col',{staticClass:\"py-0\"},_vm._l((_vm.model.files.filter(function (i) { return !i.deleted; })),function(file){return _c('v-list-item',{key:file.hash},[_c('v-chip',{attrs:{\"close\":_vm.editableWorkflow,\"label\":\"\",\"outlined\":!file.unsaved,\"text-color\":\"secondary\"},on:{\"click\":function($event){return _vm.downloadFile(file)},\"click:close\":function($event){file.deleted = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(_vm._s(_vm.extIcon(file.original_name)))]),_vm._v(\" \"+_vm._s(file.original_name)+\" \")],1)],1)}),1)],1)],1)],1):_vm._e()],2),_c('v-card-actions',{ref:\"actions\",staticClass:\"px-4 pb-3\"},[_vm._t(\"actions\",function(){return [_c('div',{class:_vm.$style.Actions},[(!_vm.model.unsaved)?_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"secondary\",\"loading\":_vm.isLoadingSave,\"small\":_vm.$vuetify.breakpoint.smAndDown,\"disabled\":_vm.validated.length > 0 || (!_vm.editableWorkflow && _vm.model.files && _vm.model.files.filter(function (i) { return !!i.unsaved; }).length === 0)},on:{\"click\":function($event){return _vm.save(false)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Save'))+\" \")]):_vm._e(),(_vm.actionItems)?_vm._l((_vm.actionItems.filter(function (i) { return !!i.visible && (typeof (i.visible) !== 'function' || i.visible()); })),function(actionItem){return _c('v-btn',{key:actionItem.name,attrs:{\"outlined\":\"\",\"color\":\"secondary\",\"small\":_vm.$vuetify.breakpoint.smAndDown,\"disabled\":actionItem.disabled === 'editableWorkflow' && _vm.editableWorkflow || actionItem.disabled === '!editableWorkflow' && !_vm.editableWorkflow},on:{\"click\":function($event){return actionItem.click()}}},[_vm._v(_vm._s(_vm.$t(actionItem.title))+\" \")])}):_vm._e(),(_vm.tab >= (_vm.tabs && _vm.tabsLocal.length > 0 ? _vm.tabsLocal.length : 0))?[(_vm.isWorkflowVisible)?_c('WorkflowActions',{attrs:{\"object-id\":_vm.objectId || _vm.documentName,\"document-name\":_vm.documentName,\"document\":_vm.model,\"available-workflow\":_vm.availableWorkflow,\"disabled\":_vm.validated.length > 0 || !_vm.isAvailableChangeWorkflow,\"document-type\":_vm.documentType,\"is-local-signing\":\"\",\"role\":_vm.businessRoleLocal},on:{\"input\":_vm.changeWorkflow,\"onSave\":_vm.save}}):_vm._e(),(_vm.isButtonNewDocument)?_c('ButtonPlus',{attrs:{\"text\":\"Add a new request\",\"disabled\":!_vm.isButtonNewDocument},on:{\"click\":function($event){return _vm.handleCreate()}}}):_vm._e()]:_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.tab = _vm.tab +1}}},[_vm._v(_vm._s(_vm.$t('Next'))+\" \")]),_c('VSpacer'),_c('VBtn',{attrs:{\"outlined\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.handleClose()}}},[_vm._v(\" \"+_vm._s(_vm.$t('Close'))+\" \")])],2)]})],2),(_vm.$slots.actionAlert)?_c('div',{class:_vm.$style.ActionAlert},[_c('UiAlert',[_vm._t(\"actionAlert\")],2)],1):_vm._e(),_c('file-loader',{attrs:{\"preview\":true},model:{value:(_vm.downloadOptions),callback:function ($$v) {_vm.downloadOptions=$$v},expression:\"downloadOptions\"}})],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!./EgDocument.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!./EgDocument.vue?vue&type=script&lang=js&\"","\n\n\n\n\n\n\n\n\n","import { render, staticRenderFns } from \"./EgDocument.vue?vue&type=template&id=6da876bc&\"\nimport script from \"./EgDocument.vue?vue&type=script&lang=js&\"\nexport * from \"./EgDocument.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EgDocument.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./EgDocument.vue?vue&type=style&index=1&lang=css&\"\nimport style2 from \"./EgDocument.vue?vue&type=style&index=2&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style2.locals || style2)\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","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!./PrintManager.vue?vue&type=style&index=0&lang=css&\"","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!./EgDocument.vue?vue&type=style&index=2&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!./EgDocument.vue?vue&type=style&index=2&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 = {\"Actions\":\"EgDocument__Actions__3UXFz\",\"AlertText\":\"EgDocument__AlertText__2RkxX\",\"AdditionalAction\":\"EgDocument__AdditionalAction__2v6vr\",\"ActionAlert\":\"EgDocument__ActionAlert__2aWPu\",\"Avatar\":\"EgDocument__Avatar__25D1F\"};","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=style&index=1&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileLoader.vue?vue&type=style&index=1&lang=scss&module=true&\"","import { computed } from '@vue/composition-api';\nimport { useStore } from '@vueblocks/vue-use-vuex';\nimport signHelpers from '@/common/sign/signHelpers';\n\nexport default function useDocumentSign (document) {\n const { commit } = useStore();\n\n const isSignAvailable = computed(() =>\n signHelpers.checkSignAvailable(document),\n );\n\n const isFileSigned = computed(() =>\n document?.files?.[0]?.file_name?.includes('_visual'),\n );\n\n const checkFileSigned = (document) => {\n return document?.files?.[0]?.file_name?.includes('_visual');\n };\n\n const checkSignAvailable = (document) => {\n return signHelpers.checkSignAvailable(document)\n };\n\n const handleOpenModalSigning = (document) => {\n commit('openModalSigning', {\n document,\n method: 'add',\n });\n };\n\n return {\n isSignAvailable,\n isFileSigned,\n handleOpenModalSigning,\n checkSignAvailable,\n checkFileSigned,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('VAlert',{attrs:{\"border\":\"left\",\"colored-border\":\"\",\"type\":\"info\",\"color\":\"primary\",\"elevation\":\"2\"}},[_c('div',{class:_vm.$style.Content},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./UiAlert.vue?vue&type=template&id=0612183f&\"\nvar script = {}\nimport style0 from \"./UiAlert.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"],"sourceRoot":""}