403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/js/im/v2/component/message/sign/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/im/v2/component/message/sign/dist/sign.bundle.min.js
this.BX=this.BX||{};this.BX.Messenger=this.BX.Messenger||{};this.BX.Messenger.v2=this.BX.Messenger.v2||{};this.BX.Messenger.v2.Component=this.BX.Messenger.v2.Component||{};(function(e,t,E,_,o,s,S,M){"use strict";const I=Object.freeze({inviteCompany:"inviteCompany",inviteCompanyWithInitiator:"inviteCompanyWithInitiator",inviteEmployeeSes:"inviteEmployeeSes",inviteEmployeeSesWithInitiator:"inviteEmployeeSesWithInitiator",inviteEmployeeGosKey:"inviteEmployeeGosKey",inviteEmployeeGosKeyV2:"inviteEmployeeGosKeyV2",inviteEmployeeGosKeyWithInitiator:"inviteEmployeeGosKeyWithInitiator",inviteReviewer:"inviteReviewer",inviteReviewerWithInitiator:"inviteReviewerWithInitiator",inviteEditor:"inviteEditor",inviteEditorWithInitiator:"inviteEditorWithInitiator",inviteB2bDocumentSigning:"inviteB2bDocumentSigning",byEmployeeInviteCompany:"byEmployeeInviteCompany",byEmployeeInviteReviewer:"byEmployeeInviteReviewer",byEmployeeInviteEmployee:"byEmployeeInviteEmployee",byEmployeeSignedByEmployee:"byEmployeeSignedByEmployee"});const n=Object.freeze({doneCompany:"doneCompany",doneEmployee:"doneEmployee",doneEmployeeGosKey:"doneEmployeeGosKey",doneFromAssignee:"doneFromAssignee",doneFromEditor:"doneFromEditor",doneFromReviewer:"doneFromReviewer",byEmployeeDoneEmployee:"byEmployeeDoneEmployee",byEmployeeDoneEmployeeM:"byEmployeeDoneEmployeeM",byEmployeeDoneEmployeeF:"byEmployeeDoneEmployeeF",byEmployeeDoneCompany:"byEmployeeDoneCompany",doneB2bDocumentSigning:"doneB2bDocumentSigning"});const i=Object.freeze({refusedCompanyV2:"refusedCompanyV2",refusedCompanyV2M:"refusedCompanyV2M",refusedCompanyV2F:"refusedCompanyV2F",employeeStoppedToCompanyV2:"employeeStoppedToCompanyV2",employeeStoppedToCompanyV2M:"employeeStoppedToCompanyV2M",employeeStoppedToCompanyV2F:"employeeStoppedToCompanyV2F",documentExpiredToCompany:"documentExpiredToCompany",documentStoppedToInitiator:"documentStoppedToInitiator",documentStoppedToInitiatorM:"documentStoppedToInitiatorM",documentStoppedToInitiatorF:"documentStoppedToInitiatorF",documentStoppedToAssignee:"documentStoppedToAssignee",documentStoppedToAssigneeM:"documentStoppedToAssigneeM",documentStoppedToAssigneeF:"documentStoppedToAssigneeF",documentStoppedToReviewer:"documentStoppedToReviewer",documentStoppedToReviewerM:"documentStoppedToReviewerM",documentStoppedToReviewerF:"documentStoppedToReviewerF",documentStoppedToEditor:"documentStoppedToEditor",documentStoppedToEditorM:"documentStoppedToEditorM",documentStoppedToEditorF:"documentStoppedToEditorF",refusedCompany:"refusedCompany",employeeStoppedToCompany:"employeeStoppedToCompany",documentStopped:"documentStopped",documentCancelled:"documentCancelled",stoppedToEmployee:"stoppedToEmployee",stoppedToEmployeeM:"stoppedToEmployeeM",stoppedToEmployeeF:"stoppedToEmployeeF",signingError:"signingError",repeatSigning:"repeatSigning",byEmployeeStoppedToEmployee:"byEmployeeStoppedToEmployee",byEmployeeStoppedToEmployeeM:"byEmployeeStoppedToEmployeeM",byEmployeeStoppedToEmployeeF:"byEmployeeStoppedToEmployeeF",byEmployeeExpiredToEmployee:"byEmployeeExpiredToEmployee"});const T={[I.inviteCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteCompanyWithInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_TITLE_INITIATOR"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_DESCRIPTION_INITIATOR"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_COMPANY_BUTTON_TEXT_INITIATOR"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteEmployeeSes]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_DESCRIPTION_MSGVER_2"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteEmployeeSesWithInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_DESCRIPTION_INITIATOR_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_SES_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteEmployeeGosKey]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_TITLE_MSGVER_1"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_DESCRIPTION_MSGVER_1"),button:null},[I.inviteEmployeeGosKeyV2]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_TITLE_MSGVER_1"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_V2_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_V2_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[I.inviteEmployeeGosKeyWithInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_TITLE_MSGVER_1"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_V2_INITIATOR_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EMPLOYEE_GOS_KEY_V2_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[I.inviteReviewer]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteReviewerWithInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_TITLE_INITIATOR"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_DESCRIPTION_INITIATOR"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_REVIEWER_BUTTON_TEXT_INITIATOR"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteEditor]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.inviteEditorWithInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_TITLE_INITIATOR"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_DESCRIPTION_INITIATOR"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_EDITOR_BUTTON_TEXT_INITIATOR"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.byEmployeeInviteCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_COMPANY_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_COMPANY_BUTTON_TEXT"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.byEmployeeInviteReviewer]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_REVIEWER_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_REVIEWER_BUTTON_TEXT"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.byEmployeeInviteEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_EMPLOYEE_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_INVITE_EMPLOYEE_BUTTON_TEXT"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[I.byEmployeeSignedByEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_SIGNED_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_SIGNED_EMPLOYEE_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_SIGNED_EMPLOYEE_BUTTON_TEXT"),callback:({initiator:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[I.inviteB2bDocumentSigning]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_B2B_DOCUMENT_SIGNING_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_INVITE_B2B_DOCUMENT_SIGNING_DESCRIPTION"),button:null},[n.doneCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_COMPANY_TITLE_MSGVER_1"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_COMPANY_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,false)},color:M.ButtonColor.PrimaryBorder}},[n.doneEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[n.doneEmployeeGosKey]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_GOS_KEY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_GOS_KEY_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_EMPLOYEE_GOS_KEY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[n.doneFromAssignee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_ASSIGNEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_ASSIGNEE_DESCRIPTION"),button:null},[n.doneFromEditor]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_EDITOR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_EDITOR_DESCRIPTION"),button:null},[n.doneFromReviewer]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_FROM_REVIEWER_DESCRIPTION_MSGVER_1"),button:null},[n.doneB2bDocumentSigning]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_B2B_DOCUMENT_SIGNING_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DONE_B2B_DOCUMENT_SIGNING_DESCRIPTION"),button:null},[n.byEmployeeDoneEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[n.byEmployeeDoneEmployeeM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_DESCRIPTIONM"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[n.byEmployeeDoneEmployeeF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_DESCRIPTIONF"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.PrimaryBorder}},[n.byEmployeeDoneCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_DONE_COMPANY_DESCRIPTION")},[i.refusedCompanyV2]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.refusedCompanyV2M]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_DESCRIPTIONM_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.refusedCompanyV2F]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_DESCRIPTIONF_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.stoppedToEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTION")},[i.stoppedToEmployeeM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTIONM")},[i.stoppedToEmployeeF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTIONF")},[i.byEmployeeExpiredToEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_EXPIRED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_EXPIRED_TO_EMPLOYEE_TITLE_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_EXPIRED_TO_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.LightBorder}},[i.byEmployeeStoppedToEmployee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.LightBorder}},[i.byEmployeeStoppedToEmployeeM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTIONM"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.LightBorder}},[i.byEmployeeStoppedToEmployeeF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_TITLE_DESCRIPTIONF"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_BY_EMPLOYEE_STOPPED_TO_EMPLOYEE_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.LightBorder}},[i.employeeStoppedToCompanyV2]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.employeeStoppedToCompanyV2M]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_DESCRIPTIONM_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.employeeStoppedToCompanyV2F]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_DESCRIPTIONF_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.documentStoppedToAssignee]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_DESCRIPTION")},[i.documentStoppedToAssigneeM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_DESCRIPTIONM")},[i.documentStoppedToAssigneeF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_ASSIGNEE_DESCRIPTIONF")},[i.documentStoppedToReviewer]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_DESCRIPTION")},[i.documentStoppedToReviewerM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_DESCRIPTIONM")},[i.documentStoppedToReviewerF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_REVIEWER_DESCRIPTIONF")},[i.documentStoppedToEditor]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_DESCRIPTION")},[i.documentStoppedToEditorM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_DESCRIPTIONM")},[i.documentStoppedToEditorF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TO_EDITOR_DESCRIPTIONF")},[i.documentStoppedToInitiator]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_DESCRIPTION_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.documentStoppedToInitiatorM]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_DESCRIPTIONM_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.documentStoppedToInitiatorF]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_DESCRIPTIONF_MSGVER_1"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.documentExpiredToCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_EXPIRED_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_EXPIRED_COMPANY_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_EXPIRED_COMPANY_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.refusedCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_REFUSED_COMPANY_DESCRIPTION")},[i.employeeStoppedToCompany]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_EMPLOYEE_STOPPED_TO_COMPANY_DESCRIPTION")},[i.documentStopped]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_STOPPED_DESCRIPTION")},[i.documentCancelled]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_CANCELLED_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_CANCELLED_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_CANCELLED_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.signingError]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_SIGNING_ERROR_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_SIGNING_ERROR_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_SIGNING_ERROR_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}},[i.repeatSigning]:{title:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_REPEAT_TITLE"),description:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_REPEAT_DESCRIPTION"),button:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_DOCUMENT_REPEAT_BUTTON_TEXT"),callback:({user:e,document:t})=>{r(t,true)},color:M.ButtonColor.Primary}}};function r(e,t=false){if(e.link!==undefined){if(!S.Browser.isMobile()&&t){a(e.link)}else{window.open(e.link)}}}function a(e){if(!c(e)){return BX.Runtime.loadExtension("sign.v2.b2e.sign-link").then((()=>BX.SidePanel.Instance.open(e,{extensions:["sign.v2.b2e.sign-link"]})))}return BX.SidePanel.Instance.open("sign:stub:sign-link",{width:900,cacheable:false,allowCrossOrigin:true,allowCrossDomain:true,allowChangeHistory:false,newWindowUrl:e,copyLinkLabel:true,newWindowLabel:true,loader:"/bitrix/js/intranet/sidepanel/bindings/images/sign_mask.svg",label:{text:S.Loc.getMessage("IM_MESSAGE_SIGN_SIDEPANEL_BTN_SIGN"),bgColor:"#C48300"},contentCallback(t){return BX.Runtime.loadExtension("sign.v2.b2e.sign-link").then((E=>{const _=/\/sign\/link\/member\/(\d+)\//i.exec(e);return new E.SignLink({memberId:_[1],slider:t}).render()}))}})}function c(e){return/^\/sign\/link\/member\/\d+\/$/.test(e)}const l={STAGE_ID:"stageId",USER:"user",INITIATOR:"initiator",DOCUMENT:"document",HELP_ARTICLE:"helpArticle"};const O={name:"SignMessage",components:{ChatButton:M.ChatButton,BaseMessage:_.BaseMessage,DefaultMessage:s.DefaultMessage,MessageStatus:o.MessageStatus},props:{item:{type:Object,required:true},dialogId:{type:String,required:true}},computed:{message(){return this.item},ButtonSize:()=>M.ButtonSize,componentParams(){return this.message.componentParams},stageId(){var e;return(e=this.componentParams[l.STAGE_ID])!=null?e:""},user(){return this.componentParams[l.USER]},initiator(){return this.componentParams[l.INITIATOR]},document(){return this.componentParams[l.DOCUMENT]},helpArticle(){var e;return(e=this.componentParams[l.HELP_ARTICLE])!=null?e:""},signData(){const e=T[this.stageId];if(!e){console.error("SignMessage: signData is undefined.")}return e},title(){var e,t;return(e=(t=this.signData)==null?void 0:t.title)!=null?e:""},description(){var e,t;return(e=(t=this.signData)==null?void 0:t.description)!=null?e:""},button(){var e;return(e=this.signData)==null?void 0:e.button},isAwaitSign(){return Object.values(I).includes(this.stageId)},isSuccessSign(){return Object.values(n).includes(this.stageId)},isFailureSign(){return Object.values(i).includes(this.stageId)},isSelfMessage(){return this.message.authorId===t.Core.getUserId()},containerClasses(){return{"--self":this.isSelfMessage,"--await":this.isAwaitSign,"--success":this.isSuccessSign,"--failure":this.isFailureSign}}},methods:{replacePhrase(e){var t,_,o,s,M;let I=e!=null?e:"";const n=E.Utils.user.getProfileLink((t=this.user)==null?void 0:t.id);const i=E.Utils.user.getProfileLink((_=this.initiator)==null?void 0:_.id);const T=`BX.Helper?.show('redirect=detail&code=${this.helpArticle}')`;const r="bx-im-message-sign__link";const a="bx-im-message-sign__document";const c={"#DOCUMENT_NAME#":`<span class="${a}">${S.Text.encode((o=this.document)==null?void 0:o.name)}</span>`,"#USER_LINK#":`<a href="${n}" class="${r}">${S.Text.encode((s=this.user)==null?void 0:s.name)}</a>`,"#INITIATOR_LINK#":`<a href="${i}" class="${r}">${S.Text.encode((M=this.initiator)==null?void 0:M.name)}</a>`,"[helpdesklink]":`<a onclick="${T}" class="${r}">`,"[/helpdesklink]":"</a>"};Object.keys(c).forEach((e=>{I=I.replaceAll(e,c[e])}));return I}},template:`\n\t\t<DefaultMessage v-if="!signData" :item="item" :dialogId="dialogId" />\n\t\t<BaseMessage\n\t\t\tv-else\n\t\t\t:dialogId="dialogId"\n\t\t\t:item="item"\n\t\t\t:withContextMenu="false"\n\t\t\t:withReactions="false"\n\t\t\t:withBackground="false"\n\t\t\tclass="bx-im-message-sign__scope"\n\t\t>\n\t\t\t<div :class="['bx-im-message-sign__container', containerClasses]">\n\t\t\t\t<div class="bx-im-message-sign__image" />\n\t\t\t\t<div class="bx-im-message-sign__content">\n\t\t\t\t\t<div class="bx-im-message-sign__title">\n\t\t\t\t\t\t{{ title }}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="bx-im-message-sign__description" v-html="replacePhrase(description)" />\n\t\t\t\t\t<div class="bx-im-message-sign__buttons_container">\n\t\t\t\t\t\t<ChatButton\n\t\t\t\t\t\t\tv-if="button"\n\t\t\t\t\t\t\t:size="ButtonSize.L"\n\t\t\t\t\t\t\tisRounded\n\t\t\t\t\t\t\t:text="button.text"\n\t\t\t\t\t\t\t:color="button.color"\n\t\t\t\t\t\t\t@click="button.callback({ user, document })"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="bx-im-message-sign__status_container">\n\t\t\t\t\t<MessageStatus :item="message" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</BaseMessage>\n\t`};e.SignMessage=O;e.Await=I;e.Success=n;e.Failure=i})(this.BX.Messenger.v2.Component.Message=this.BX.Messenger.v2.Component.Message||{},BX.Messenger.v2.Application,BX.Messenger.v2.Lib,BX.Messenger.v2.Component.Message,BX.Messenger.v2.Component.Message,BX.Messenger.v2.Component.Message,BX,BX.Messenger.v2.Component.Elements);
//# sourceMappingURL=sign.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit