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kBACA,eACA,YACA,eACA,YACA,eACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,cACA,iBACA,eACA,kBACA,eACA,kBACA,YACA,eACA,YACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,YACA,eACA,WACA,cACA,WACA,cACA,YACA,eACA,aACA,gBACA,YACA,eACA,YACA,eACA,kBACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,qBACA,kBACA,qBACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,eACA,kBACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,WACA,cACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,kBACA,eACA,WACA,cACA,YACA,eACA,UACA,aACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,eACA,kBACA,cACA,iBACA,YACA,eACA,YACA,eACA,kBACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,WACA,iBACA,oBACA,cACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,YACA,eACA,aACA,gBACA,YACA,eACA,YACA,eACA,YACA,eACA,eACA,kBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,eACA,kBACA,YACA,eACA,YACA,eACA,YACA,iBACA,oBACA,eACA,UACA,aACA,iBACA,oBACA,WACA,cACA,eACA,kBACA,eACA,kBACA,eACA,kBACA,eACA,mBAIA,SAAA4zG,EAAAC,GACA,IAAA9yJ,EAAA+yJ,GAAAD,GACA,OAAAE,EAAAhzJ,EACA,CACA,SAAA+yJ,GAAAD,GACA,IAAAE,EAAAC,EAAAh0G,GAAA6zG,GAAA,CACA,IAAAzmG,EAAA,IAAA6mG,MAAA,uBAAAJ,EAAA,KACA,MAAAzmG,EAAA8mG,KAAA,mBACA9mG,CACA,CACA,OAAApN,GAAA6zG,EACA,CACAD,EAAA1rE,KAAA,WACA,OAAAD,OAAAC,KAAAloC,GACA,EACA4zG,EAAAO,QAAAL,GACAM,GAAAC,QAAAT,EACAA,EAAA7yJ,GAAA","names":["CommonConstants","this","TokenType","DiscardEnvelopeFailed","UserPlanFailed","TokenValidatedMsg","SessionTimedOutMsg","PrefillNotation","AppKey","DragItems","title","originalTitle","id","guid","viewBox","svgPath1","svgPath2","svgPath3","langGuid","ControlsObj","signatureProperties","initialsProperties","datetimeProperties","nameProperties","titleProperties","companyProperties","emailProperties","dropdownProperties","checkboxProperties","radioProperties","dateProperties","textProperties","labelProperties","hyperlinkProperties","stampProperties","ZoomPercentage","zoomVal50","zoomVal75","zoomVal100","zoomVal125","zoomVal150","zoomVal175","zoomVal200","Checkboxoptions","label","value","viewValue","Validationsoptions","ValidationsText","AdditionalValidation","viewname","AdditionalValidationType","ValidationsZipOptions","ValidationsDateOptions","Dateformat","dateFormatId","DateformatValue","DefaultColorPicker","ReceipentColorArr","ControlNameArray","Sign","Initials","DateTimeStamp","Name","Title","Company","Email","Dropdown","Checkbox","Radio","Date","Text","Label","Hyperlink","Stamp","ControlProperty","Required","Bold","Underline","Italics","FontType","FontSize","FontColor","DateFormat","ValidationType","Length","NameLength","CheckRequired","PreSelected","Size","IsDefaultRequired","AdlnName","AdlnOption","CheckboxGroup","FontTypeMeasurement","LabelControlValue","DependencyColorCodes","ID","Color","CopiedTtoClipboard","DataIsSavedSuccessfully","DataIsRemovedSuccessfully","NoBrandingMessage","ReceipentListArr","name","order","RuleConfig","RuleText","TextRuleConfig","CheckBoxRuleConfig","ControlListArr","ControlId","ControlClassName","ControlName","controllingFieldArray","hyperlinkWarningMessage","Control","DropDown","Signature","BehaviourRuleConfig","VisibleRequired","VisibleNotRequired","TextRuleCondtionsConfig","AnyText","SpecificText","ContainsText","Empty","ControlResourceKeys","ControlConfig","Existing","Duplicate","PasswordType","Select","Endtoend","RequiredToOpenSigned","SignerIdentity","FinalContractOptions","Aspose","FromImages","iText","SignatureRequestReplyAddress","SenderMailRpostNet","NoReply","RecipientType","CC","Signer","Sender","Prefill","ActionTypes","Review","RSignStage","InitializeEnvelope","PrepareEnvelope","InitializeDraft","PrepareDraft","InitializeTemplate","PrepareTemplate","InitializeRule","PrepareRule","InitializeEditTemplate","PrepareEditTemplate","InitializeEditRule","PrepareEditRule","InitializeUseTemplate","PrepareUseTemplate","InitializeUseRule","PrepareUseRule","SignEnvelope","UpdateAndResend","ProcessGroup","Typography","SetTypography","GetTypography","EnvelopeType","Envelope","Draft","Template","TemplateRule","MessageTemplate","DocumentGroup","NavigateURLS","StagingURL","StagingSFURL","StagingSignURL","StagingIOURL","StagingSFIOURL","ProdComURL","ProdOrgURL","ProdSFURL","ProdSFOrgURL","Localhost","EmailAddressFormat","ValidEmail","ApiUrlConfig","DecryptValidateTokenUrl","GetRedirectURL","GetEnvelopeDetailsUrl","GetTemplateDetailsUrl","GetEnvelopeImages","GetTemplateImages","GetEnvelopeSettingDetailsUrl","GetTemplateSettingDetailsUrl","SendEnvelope","GetLanguageTranslationsUrl","GetUserPlanDetails","DiscardEnvelope","SaveAsDraftEnvelope","ViewPdf","RefreshToken","OpenEnvelope","SaveDefaultSettings","SaveAsTemplate","ViewTemplatePdf","GetMultibrandingByCompanyId","GetEnvelopeDocumentImageDetailsUrl","GetTemplateDocumentImageDetailsUrl","NavigateUrlConfig","Home","Send","Settings","Translations","UserDetails","Stats","LogOff","GetOutOfOfficeDetails","LogOn","DocumentPackage","TranslationsObj","environment","ServicesError","constructor","handleError","err","appError","AppError","errorStatusText","statusText","error","errorMsg","msgId","undefined","Message","Array","isArray","MessageId","error_description","originalError","message","of","factory","ɵfac","providedIn","SessionStorageService","intializePrepareDetails","PreparePageUrl","SourceUrlType","PrepareType","EnvelopeID","EmailId","PageName","Token","EnvelopeOrTemplateId","SourceURL","userPlanDetails","UserPlanType","UserPlanRange","UpgradeLink","UserPlanName","UserUnits","setCulture","Culture","getCulture","setValidationsDateOptions","getValidationsDateOptions","setDateformat","getDateformat","setDateformatValue","getDateformatValue","setDefaultControlStyles","defaultControlStyles","getDefaultControlStyles","setIntializePrepareDetails","key","getIntializePrepareDetails","setDisableTabOptions","disableTabOptions","getDisableTabOptions","setAllImagesProcessed","allImagesProcessed","getAllImagesProcessed","setAllImagesArray","allImagesArray","getAllImagesArray","setIsEnvelopeEditable","isEnvelopeEditable","getIsEnvelopeEditable","setEnableDependenciesFeature","enableDependenciesFeature","getEnableDependenciesFeature","setDisplayMessage","displayMessage","getDisplayMessage","setCurrentClickedDroppedControl","currentClickedDroppedControl","getCurrentClickedDroppedControl","setArrCopyPasteCtrl","arrCopyPasteCtrl","getArrCopyPasteCtrl","setArrUndoRedoCtrl","arrUndoRedoCtrl","getArrUndoRedoCtrl","setArrCopyPasteCtrlsTemp","arrCopyPasteCtrlsTemp","getArrCopyPasteCtrlsTemp","setIsCopiedSelecteditems","isCopiedSelecteditems","getIsCopiedSelecteditems","setAllImageControls","allImageControls","getAllImageControls","setControlDependencyFieldsArray","controlDependencyFieldsArray","getControlDependencyFieldsArray","setControlPageGuidNumArray","controlPageGuidNumArray","getControlPageGuidNumArray","setIsSendEnvelope","isSendEnvelope","getIsSendEnvelope","setUserPlanDetails","getUserPlanDetails","setSelecteditemsLength","selecteditemsLength","getSelecteditemsLength","setArrUndoCtrlsCount","arrUndoCtrlsCount","getArrUndoCtrlsCount","setCurrentPagination","currentPagination","getCurrentPagination","setClickedSignMeOut","clickedSignMeOut","getClickedSignMeOut","setUserDetails","userDetails","getUserDetails","setDependCtrlMoved","dependCtrlMoved","getDependCtrlMoved","setRecipientDetails","recipientDetails","getRecipientDetails","setRecipientColorDetails","recipientColorDetails","getRecipientColorDetails","setTokenDetails","setDashBoardDetailed","dashBoardDetails","getDashBoardDetailed","getUserSettings","userSettings","setUserSettings","AuthService","http","sessionStorageService","baseUrl","validateToken","authToken","userPrepareUrl","PrepareUrl","headers","HttpHeaders","post","pipe","catchError","setEnvelopeTokenDetails","prepareType","envelopeOrTemplateId","localStorage","setItem","userInfo","JSON","stringify","parse","getDetails","tokendata","token","getToken","envelopeTokenDetails","setEnvelopeOrTemplateDetails","resp","getEnvelopeOrTemplateDetails","envelopeOrTemplateDetails","getItem","recpDetails","recpColorDetails","setLanguageKeyTranslations","languageKeyTranslations","sessionStorage","isTokenExists","tokenInfo","userSettingsObj","i0","i1","i2","i3","APIService","authService","requestOptions","Authorization","Accept","get","url","viewPdf","apiEnvelopeControls","delete","GetRefreshToken","tokenModel","getRedirectURL","saveSettings","SettingsPrepareModal","SaveTemplateRuleUrl","apiTemplateControls","viewTemplatePdf","getBrandingDetails","companyId","openEnvelopeUrl","params","HttpParams","set","reqObj","TranslationService","router","apiService","laungaueTransalation","translationsConstants","getLanguageTranslationVal","resourceKeyId","toLowerCase","getLanguageTranslations","culture","languageCode","subscribe","success","languageKeyDetails","i4","CommonService","translationService","toastrService","commonConstants","previewObjectSubject","Subject","previewObject$","asObservable","redirectUrl","_previewObject","selectedItems","callParentShowControlFieldsSubject","callParentShowControlFields$","callOnRecipentChangeSubject","callOnRecipentChange$","callRemoveControlComponentSubject","callRemoveControlComponent$","callOpenDependencyPopupSubject","callOpenDependencyPopup$","setTextOrNameAreaSettingSubject","setTextOrNameAreaSetting$","callOnMouseOverRecipentChangeSubject","callOnMouseOverRecipentChange$","callOpenCreateDuplicateControlSubject","callOpenCreateDuplicateControl$","callUpdateSignerMultipleControlsSubject","callUpdateSignerMultipleControl$","selectedRightClickOptionSubject","selectedRightClickOption$","callDependencyPopupSubject","callDependencyPopupFields$","callAddDependentFieldRowSubject","callAddDependentFields$","callMultiDocumentsPreviewSubject","callMultiDocumentsPreview$","getLabelTranslationValCached","getImageDispalyValCached","getDisableNavBtnsSubject","getDisableNavBtns$","updateHeaderSubject","updateHeaderSubject$","openContextMenuListSubject","openContextMenuList$","removeBorderAppendChildSubject","removeBorderAppendChild$","imageElement","previewObject","updatePrevObject","updatedObject","next","callDependencyPopupFields","data","callAddDependentFields","callParentShowControlFields","event","callRemoveControlComponent","callOpenDependencyPopup","callOpenCreateDuplicateControl","callUpdateSignerMultipleControls","GenerateMaskedEmail","emailAddr","emailArray","split","arraylastPaststr","maskedString1","substring","lastDotPosition","lastIndexOf","redirectTo","type","window","open","callOnRecipentChange","callOnMouseOverRecipentChange","recipentObj","generateUUID","d","getTime","performance","now","replace","c","r","Math","random","floor","toString","getId","round","getControlName","ctrlName","ctrlClassName","length","controlListArrayObj","filter","getControlNameBasedOnGuid","getGuid","controlName","controlClassName","getTranslatedText","resourceKey","getHoverControlText","controlString","setTextOrNameAreaSetting","selectedRightClickOption","setSelectedItems","getSelectedItems","getLabelTranslationVal","transVal","getLabelTranslationValCompute","redirect","location","href","openInNewTab","getDateFormat","day","month","year","df","dmonth","dateRetVal","callMultiDocumentsPreview","imgArr","getDisableNavBtns","updateHeader","encrypt","appKey","CryptoJS","Utf8","iv","keySize","mode","CBC","padding","Pkcs7","decrypt","generateDomainRediRectURL","sourceUrlType","redirectToMainApp","sourceURL","removePaginationDisabledClass","paginationLoader","document","getElementsByClassName","from","forEach","eleChild","style","display","paginationContainer","classList","remove","addPaginationDisabledClass","add","removeButtonDisabledClass","setTimeout","disabledSendCtrl","dropdownContenttemp","expandDropdownWidth","resizable_DropdownControlField","selectDropdownControlField","optionLongText","contains","opnText","fakeEl","createElement","visibility","textContent","fontFamily","fontSize","body","appendChild","existingWidth","width","drpWidth","offsetWidth","$fakeEl","openContextMenuList","nav","navRef","ref","_navRef","setImageElement","element","getImageElement","removeBorderAppendChild","ControlComponent","commonService","htmlContent","height","left","top","minwidth","ctrlObj","ngOnInit","getControllingFieldClass","dataGuid","controllingFieldClass","controllingArrayObj","className","selectors","inputs","placeholder","decls","vars","consts","template","rf","ctx","dataDocumentContentId","pageNo","ctrlNumber","list_r3","option","$event","_r13","$implicit","editValue","ctx_r14","cancelEdit","_r22","ctx_r20","enableEditMode","ctx_r23","deleteOption","_r27","ctx_r25","saveOption","ctx_r28","AddDropdownListComponent_tr_21_td_7_ng_container_1_Template","AddDropdownListComponent_tr_21_td_7_ng_template_2_Template","editMode","_r18","AddDropdownListComponent_tr_21_span_3_Template","AddDropdownListComponent_tr_21_ng_container_4_Template","AddDropdownListComponent_tr_21_ng_template_5_Template","AddDropdownListComponent_tr_21_td_7_Template","_c2","_r7","AddDropdownListComponent","modalRef","dropdownListObj","dropdownListChangesMade","EventEmitter","dropDownList","inputValue","dropDownListOptions","currentDropDownControlId","index","push","ruleId","getElementById","focus","inputControl","nativeElement","onLoad","setAttribute","addOption","trim","arrayObj","obj","showWarning","element1","indexOf","splice","list","onSave","optionArray","optionVal","sort","a","b","finalCurrentControlDropDownOptions","controlId","emit","hide","onClose","drop","controlEle1","currentIndex","getAttribute","moveItemInArray","previousIndex","ngAfterViewInit","warning","viewQuery","AddDropdownListComponent_label_17_Template","AddDropdownListComponent_tr_21_Template","ResourceKeys","GeneralSettings","AdvancedSettings","AdminSettings","SystemSettings","PrivacySettings","ExpiresIn","SendFirstReminderIn","ThenSendFollowUpRemindersEvery","SendFinalReminderBeforeExpiration","EnvelopeExpirationRemindertoSender","lang_Y","lang_N","SendReminderTillExpiration","AccessAuthentication","lang_none","EmailAccessCode","Unchecked","Checked","IncludeStaticTemplates","RequiresSignersConfirmationonFinalSubmit","SendIndividualNotifications","AddSignatureCertificate","Sequence","DownloadLinkOnManage","IncludeTransparencyDocument","SignerAttachmentOptions","AdditionalAttachments","IsDefaultSignatureRequiredForStaticTemplate","SendConfirmationEmail","SeparateMultipleDocumentsAfterSigning","AttachXMLDocument","StoreSignatureCertificate","DeleteOriginalDocument","StoreOriginalDocument","EnableFileReview","EnableAutoFillTextControls","FinalContractConversion","AttachSignedPdf","EnableCcOptions","ElectronicSignatureIndication","EnableRecipientLanguage","EnableSendingMessagesToMobile","TimeZone","PrivateMode","DataMasking","DeleteData","CompanySettings","SignatureCapture","TypeSignature","HandDrawn","UploadSignature","HeaderFooterSettings","DeleteSignedContracts","ReferenceCode","FormFieldAlignment","EnvelopesPostSigningUrl","SetAsDefault","StoreEmailBody","DeleteEmailBody","SignatureControlDefaultRequired","SendingConfirmationEmail","TermsOfService","TermsServiceOncertificate","DocumentsCombinedInOneEnvelope","SendInvitationEmailToSigner","SigningCertificatePaperSize","SenderEmail","StampWatermarkSetting","SelectDigitalCertificate","Auto","Manual","Weeks","Days","Page","DraftIt","ViewSettings","ViewPDF","Back","AcceptandContinue","ResendEmail","DistributeVertically","DistributeHorizontally","title_Alignselectedcontrolstoleft","title_Alignselectedcontrolstocenter","title_Alignselectedcontrolstoright","AlignTop","AlignMiddle","AlignBottom","Planname","UnitsRemaining","SignatureControl","lang_dateTimeStamp","lang_email","lang_dropdown","lang_checkbox","lang_radio","lang_Text","FilesReview","Description","FirstLineBlank","preSelected","checkboxGroupsOptional","lang_defaultDateSigned","TextModalHeaderP","URL","TextColor","GroupName","Preview","FixedWidth","EntityFields","OnlycharactersAndnumbers","Delete","lang_confirmation","lang_savedefault","Copy","lang_addControllingField","lang_BackConfirmationP1","lang_BackConfirmationP2","lang_BackConfirmationP3","No","Yes","title_redoselectedControl","title_undoselectedControl","lang_stillProceed","Cancel","OKText","Keyboardshortcuts","UseKeyboardshortcuts","Paste","Undo","Cut","Redo","SearchFields","Fields","DocumentPreview","Clearallcontrols","permanentlydeletesenvelope","PlanDetails","lang_BackConfirmation","lang_BackConfirmationNo","lang_BackConfirmationYes","ModifySelectedGroupSettingsTitle","Update","LearnMoreTextOnly","freeTrial","RSignMakesESignatureText","EnableMultipleBranding","SignatureCertificateType","Old","NewBasic","lang_Session_Timeout_Redirecting","lang_Session_TimeOut","SendTab","Envelopes","Templates","Hello","HideResipientDetailsInEmail","Rules","SaveAs","Save","AlignSelectedControls","EnvelopeAutoSaveSuccess","EnvelopeAutoSaveFailed","TemplateAutoSaveFailed","TemplateAutoSaveSuccess","Lang_DocumentExpiredGDPR","Lang_FinalDocument","Lang_DownloadFinalDocument","DocumentDetails","FilesReviewed","Recipients","ReferenceEmail","emailBody","title_viewEmailBody","ReasonForDecline","ctx_r7","getLanguageTranslationValue","resourceKeys","customSetting","senderReminderDays","ctx_r8","ctx_r9","finalSendReminderTillExpiration","ctx_r10","ctx_r11","envelopeAdditionalDetails","accessAuthentication","ctx_r12","ctx_r48","ctx_r49","ViewSettingComponent_div_35_div_1_tr_55_td_4_Template","ViewSettingComponent_div_35_div_1_tr_55_td_5_Template","ctx_r13","envelopeSettingDetails","accessAuthenticationId","passwordType","isAccessCodeSendToSignerEnabled","ctx_r15","ctx_r16","ctx_r17","ctx_r18","ctx_r19","ctx_r21","ctx_r22","ctx_r24","ctx_r26","ctx_r27","ctx_r51","ctx_r52","ViewSettingComponent_div_35_div_1_tr_97_td_4_Template","ViewSettingComponent_div_35_div_1_tr_97_td_5_Template","ViewSettingComponent_div_35_div_1_tr_97_td_6_Template","additionalAttachments","ctx_r53","ctx_r54","ViewSettingComponent_div_35_div_1_tr_98_td_4_Template","ViewSettingComponent_div_35_div_1_tr_98_td_5_Template","ctx_r29","includeDefaultSignReqForStaticTemplate","ctx_r30","ctx_r31","ctx_r32","ctx_r33","ctx_r34","ctx_r35","ctx_r36","ctx_r37","ctx_r38","ctx_r39","ctx_r40","ctx_r41","ctx_r42","ctx_r43","ctx_r44","ctx_r45","ctx_r46","ctx_r47","ViewSettingComponent_div_35_div_1_td_41_Template","ViewSettingComponent_div_35_div_1_td_42_Template","ViewSettingComponent_div_35_div_1_td_47_Template","ViewSettingComponent_div_35_div_1_td_48_Template","ViewSettingComponent_div_35_div_1_td_53_Template","ViewSettingComponent_div_35_div_1_td_54_Template","ViewSettingComponent_div_35_div_1_tr_55_Template","ViewSettingComponent_div_35_div_1_td_57_Template","ViewSettingComponent_div_35_div_1_td_58_Template","ViewSettingComponent_div_35_div_1_td_59_Template","ViewSettingComponent_div_35_div_1_td_60_Template","ViewSettingComponent_div_35_div_1_td_65_Template","ViewSettingComponent_div_35_div_1_td_66_Template","ViewSettingComponent_div_35_div_1_td_71_Template","ViewSettingComponent_div_35_div_1_td_72_Template","ViewSettingComponent_div_35_div_1_td_77_Template","ViewSettingComponent_div_35_div_1_td_78_Template","ViewSettingComponent_div_35_div_1_td_83_Template","ViewSettingComponent_div_35_div_1_td_84_Template","ViewSettingComponent_div_35_div_1_td_89_Template","ViewSettingComponent_div_35_div_1_td_90_Template","ViewSettingComponent_div_35_div_1_tr_97_Template","ViewSettingComponent_div_35_div_1_tr_98_Template","ViewSettingComponent_div_35_div_1_td_103_Template","ViewSettingComponent_div_35_div_1_td_104_Template","ViewSettingComponent_div_35_div_1_td_109_Template","ViewSettingComponent_div_35_div_1_td_110_Template","ViewSettingComponent_div_35_div_1_td_115_Template","ViewSettingComponent_div_35_div_1_td_116_Template","ViewSettingComponent_div_35_div_1_td_121_Template","ViewSettingComponent_div_35_div_1_td_122_Template","ViewSettingComponent_div_35_div_1_td_127_Template","ViewSettingComponent_div_35_div_1_td_128_Template","ViewSettingComponent_div_35_div_1_td_133_Template","ViewSettingComponent_div_35_div_1_td_134_Template","ViewSettingComponent_div_35_div_1_td_139_Template","ViewSettingComponent_div_35_div_1_td_140_Template","ViewSettingComponent_div_35_div_1_td_145_Template","ViewSettingComponent_div_35_div_1_td_146_Template","ViewSettingComponent_div_35_div_1_td_151_Template","ViewSettingComponent_div_35_div_1_td_152_Template","ctx_r2","dateFormat","expiresIn","sendReminderInstr","thenReminderInstr","finalReminderDaysInstr","isEnvelopeExpirationRemindertoSender","isSendReminderTillExpiration","enableSendingMessagesToMobile","source","requiresSignersConfirmationonFinalSubmit","sendIndividualSignatureNotifications","includeSignedCertificateOnSignedPDF","signInSequenceDesc","storedSignedPDF","includeTransparencyDoc","signerAttachmentOptions","includeSignerAttachFile","includeCreateStaticLink","currentSetting","sendConfirmationEmail","separateMultipleDocumentsAfterSigning","includeAddXMLData","storeSignatureCertificate","deleteOriginalDocument","storeOriginalDocument","enableFileReview","enableAutoFillTextControls","hideOthersEmailAddresses","ctx_r58","ctx_r59","ctx_r60","ctx_r61","ctx_r62","ctx_r63","ctx_r64","ctx_r65","ctx_r66","brandName","ctx_r67","brandLogo","ctx_r68","ctx_r69","ViewSettingComponent_div_35_div_2_td_11_Template","ViewSettingComponent_div_35_div_2_td_12_Template","ViewSettingComponent_div_35_div_2_td_13_Template","ViewSettingComponent_div_35_div_2_td_24_Template","ViewSettingComponent_div_35_div_2_td_25_Template","ViewSettingComponent_div_35_div_2_td_36_Template","ViewSettingComponent_div_35_div_2_td_37_Template","ViewSettingComponent_div_35_div_2_td_42_Template","ViewSettingComponent_div_35_div_2_td_43_Template","ViewSettingComponent_div_35_div_2_td_48_Template","ViewSettingComponent_div_35_div_2_td_49_Template","ViewSettingComponent_div_35_div_2_tr_50_Template","ViewSettingComponent_div_35_div_2_tr_51_Template","ViewSettingComponent_div_35_div_2_td_56_Template","ViewSettingComponent_div_35_div_2_td_57_Template","ctx_r3","finalContractOptionID","finalContractOptions","attachSignedPdf","enableCcOptions","electronicSignatureOption","enableRecipientLanguage","enableMultipleBranding","signatureCertificateType","ctx_r70","ctx_r71","ctx_r72","ctx_r73","ctx_r74","envelopePostSigningPageUrl","ctx_r75","ctx_r76","ctx_r77","ctx_r78","ctx_r79","ctx_r80","ctx_r81","ctx_r82","ctx_r83","ctx_r84","ctx_r85","ctx_r86","ctx_r87","ctx_r88","ctx_r89","ctx_r90","ctx_r91","signatureRequestReplyAddress","ctx_r92","ctx_r93","ctx_r94","ViewSettingComponent_div_35_div_3_td_17_Template","ViewSettingComponent_div_35_div_3_td_18_Template","ViewSettingComponent_div_35_div_3_td_29_Template","ViewSettingComponent_div_35_div_3_td_30_Template","ViewSettingComponent_div_35_div_3_td_35_Template","ViewSettingComponent_div_35_div_3_td_36_Template","ViewSettingComponent_div_35_div_3_td_41_Template","ViewSettingComponent_div_35_div_3_td_42_Template","ViewSettingComponent_div_35_div_3_td_47_Template","ViewSettingComponent_div_35_div_3_td_48_Template","ViewSettingComponent_div_35_div_3_td_53_Template","ViewSettingComponent_div_35_div_3_td_54_Template","ViewSettingComponent_div_35_div_3_td_59_Template","ViewSettingComponent_div_35_div_3_td_60_Template","ViewSettingComponent_div_35_div_3_td_65_Template","ViewSettingComponent_div_35_div_3_td_66_Template","ViewSettingComponent_div_35_div_3_td_71_Template","ViewSettingComponent_div_35_div_3_td_72_Template","ViewSettingComponent_div_35_div_3_td_77_Template","ViewSettingComponent_div_35_div_3_td_78_Template","ViewSettingComponent_div_35_div_3_td_89_Template","ViewSettingComponent_div_35_div_3_td_90_Template","ViewSettingComponent_div_35_div_3_td_91_Template","ViewSettingComponent_div_35_div_3_td_96_Template","ViewSettingComponent_div_35_div_3_td_97_Template","ctx_r4","headerAndFooterDescription","isDeleteSignedContracts","referenceCodeSetting","isFormFieldAlignmentEnabled","storeEmailBody","allowUserToDeleteEmailBody","signatureControlRequired","receiveSendingEmailConfirmation","isDisclaimerEnabled","isDisclaimerInCertificate","signMultipleDocumentIndependently","documentPaperSize","signReqReplyAddSettingsID","stampOnSignerCopySetting","digitalCertificateOption","ctx_r95","ctx_r96","ctx_r97","ctx_r98","ViewSettingComponent_div_35_div_4_td_11_Template","ViewSettingComponent_div_35_div_4_td_12_Template","ViewSettingComponent_div_35_div_4_td_13_Template","ViewSettingComponent_div_35_div_4_td_14_Template","ctx_r5","signatureCaptureType","signatureCaptureHanddrawn","uploadSignature","selectedTimeZone","ctx_r99","ctx_r100","ctx_r101","ctx_r102","ctx_r103","isDataDeleted","ctx_r104","ViewSettingComponent_div_35_div_5_td_11_Template","ViewSettingComponent_div_35_div_5_td_12_Template","ViewSettingComponent_div_35_div_5_td_19_Template","ViewSettingComponent_div_35_div_5_td_20_Template","ViewSettingComponent_div_35_div_5_td_27_Template","ViewSettingComponent_div_35_div_5_td_28_Template","ctx_r6","isPrivateMode","isDataMasking","isDataDeletedValue","ViewSettingComponent_div_35_div_1_Template","ViewSettingComponent_div_35_div_2_Template","ViewSettingComponent_div_35_div_3_Template","ViewSettingComponent_div_35_div_4_Template","ViewSettingComponent_div_35_div_5_Template","ctx_r0","filterBy","ViewSettingComponent","showLoader","isResponseLoaded","hostListenerStatus","tokenDetails","getSettingsUrl","statusCode","envelopeViewSettingDetails","currentSettingsDetail","envelopeSettingsDetail","signInSequence","includes","weeksVal","daysVal","reminderDays","sendReminderIn","sendReminderInDropdownSelected","thenReminderDays","thenSendReminderIn","thenSendReminderInDropdownSelected","finalReminderDays","sendFinalReminderBeforeExp","sendFinalReminderBeforeExpDropdownSelected","finalSenderReminderDays","envelopeExpirationRemindertoSenderReminderDays","SenderReminderDays","envelopeExpirationRemindertoSender","sendReminderTillExpiration","isAdditionalAttachement","onFilterApply","searchtext","tblSettings","querySelectorAll","ele","firstTd","children","innerText","secondTd","applyFilterCondition","target","resourcekeyId","redirectRSignLogOnPage","info","sourceUrl","navigate","i5","i6","i7","i8","ViewSettingComponent_div_35_Template","ViewSettingComponent_div_39_Template","ControlHtmlService","getSignatureHtml","getInitialHtml","getDateTimeStampHtml","getNameHtml","getEmailHtml","getTitleHtml","getCompanyHtml","getDateHtml","getTextHtml","getRadioHtml","getCheckboxHtml","getDropdownHtml","getLabelHtml","getHyperlinkHtml","ControlPropertyService","controlHtmlService","arrControlIdNumber","controlFieldDependenceControlArray","asteriskOriginalText","hiddenText","dateformatValue","keyboardEventSubject","keyboardEvent$","applyCheckboxRadioGroupName","textAreaVal","currentSelectedControl","resizableCurrentSelectedControl","attr_id","checked","spnCurrentSelectedControl","inputGroupNameCtrl","inputGroupCtrl","checkTooltipIsApplicable","cName","cId","controlEle","controlTooltipEle","removeControlAttributes","getParentWidthAndHeight","currentEle","response","imgWidth","imgHeight","imgElement","parentNode","tagName","offsetHeight","Width","Height","getElePositions","ctrlId","Left","Top","parseFloat","getDuplicateHeightWidth","getDimensionBasedOnFontSizeAndStyle","applyClickedProperty","parentCtrl","charInputLimitId","inputLengthId","maxCharLimit","charInputLimit","hideCtrlCharLimitInput","inputLength","showCtrlLengthInput","maxlengthallowedValue","dataValidationType","controlTypeMap","text","controlType","controlInfo","hideCtrlLengthInput","showCtrlCharLimitInput","isRequired","docContentId","removeColorForItem","querySelector","childControlsArray","item","v","childDocContentId","removeAttributes","removeAttribute","setAttributes","dependentItem","selectedControlFieldType","currentPanelContrlID","ControlID","ConditionID","SupportText","updateDependecyForDependentControls","currentControlId","ctrlContentId","ControlDependencyFieldsString","allImageControlsString","allImageControlsArray","conditionalControlsDetailsArray","existingParentIdCtrl","attr_docContentId","removeElementColor","showHideDependenciesButton","displayDependenciesButton","btnGlblAddRules","divGlblAddRules","controllingFieldClassArray","count","i","parseInt","updateColorCode","groupColorCode","controlID","attribute_id","isParentPresent","isChildrenPresent","groupCode","colorForElement","applyColorCodeForParent","getChildsForParent","removeParentColor","elementColor","getChilds","applyColorCodeForChild","colorCode","isChildExists","applyColorCodeForItem","resizableItem","background","divItem","spnItem","parentElement","isParPresent","attr_parent_id","childElement","data_guid","mainParentEle","controlGroupCode","updateTextAreaText","textInput","ctrlEle","oldValue","isHideTextWithAsterisk","toggleHideTextWithAsterisks","integrationType","entityValue","entityField","validValue","repeat","innerHTML","applyTextPrefillData","applyIdAndHtmlId","parentEle","dataDocumentContentVal","addCtrlHtmlId","addDefaultRequiredField","isRequiredChecked","chkRequiredSelectedEle","isControlingField","applyControlProperties","chRequiredSelected","chkPreSelected","chkRadioRequiredSelected","checkboxgroup","dataIsGroupChecked","attr_data_groupname","attr_name","prefillDateCheckbox","drpFirstLineBlank","radioPrefill","radioDisplayLabel","checkboxHideText","setProperty","addDefaultFixedWidth","hideFixedwidthCheckbox","isFixedWidthChecked","pCtrlEle","isFixedWidth","checkFixedWidthFalseAndMaxCharLimit","checkFixedWidthTrueAndMaxCharLimit","applyPrefillDefaultDateProperty","applyRadioGroup","applyFirstLineBlank","applyLabelName","applyHyperLinkURL","spnControlEle","test","applyNewContentId","applyRadioAndCheckBoxSizes","defaultSize","applyRadioCheckboxSizes","getRadioCheckBoxSize","getRadioCheckBoxSizeVal","applyDefaultDateFormat","defaultDateFormat","getDateFormatInnerHtmlVal","dateArrayObj","getDateFormatVal","defaultDateFormatVal","getDefaultDateOption","dateFormatID","dateformatArray","getTextTypeValue","textType","returnTypeVal","getFontFamilyId","returnId","applyFontSizePxOrPt","selectedValue","fontSizeSelect","setTypographyConversionValue","getTypographyConversionValue","applyFontStyles","styleObj","fontWeight","isBold","fontStyle","isItalic","textDecoration","isUnderlined","applyTextAlign","textAlign","hyperCurrentSelectedControl","applyColorPicker","color","updateDefaultFontFamilyId","applyTextTypeDecimal","selectedVal","valueToFind","additionalValidationItem","find","applyTextTypeDecimalOption","applyTextTypeDate","applyTextTypeZip","checkContolAttribuesData","typeEnvelopeOrTemplate","regex","docGuid","attr_data_texttype_Guid","isValid","controlArray","resultObj","documentImagesControlsArray","imgDocumentId","attr_int_control_id","attr_contentId","attr_pageNo","attr_doc_pageNo","docImgAttr","Guid","attr_ctrlNum","attr_ctrlName","attr_group_code","attr_data_condition_id","attr_data_parent_id","attr_is_parent_present","attr_data_parent_rule_id","attr_is_child_present","attr_supportText","attr_data_guid","attr_title","attr_data_rcptid","attr_data_original_rcptid","attr_controlValue","attr_data_typography","attr_data_selected","attr_data_selected1","attr_data_customtooltip","attr_data_original_title","attr_data_additional_validation_name","attr_data_additional_validation_option","attr_data_isfixedwidth","attr_data_prefill","attr_maxlengthallowed","attr_maxcharallowed","attr_maxemailcharallowed","attr_data_isHideTextWithAsterisk","attr_data_asteriskOriginalText","attr_style","attr_font_family_id","attr_spn_style","senderControlValue","labelValue","groupname","localControlStyle","selectControl","dependencies","attr_data_texttype","attr_data_size","attr_data_defaultdate","styelAttr","styles","st","aux","matches","exec","result","rgb","map","x","slice","FontID","FontFamily","IsBold","IsItalic","IsUnderline","AdditionalValidationName","AdditionalValidationOption","ControlHeight","ControlWidth","TextAlign","currentStyle","controlHeight","controlWidth","parentHeight","controlPositions","controlLeftPosition","controlTopPosition","controlBottom","imgEle","imageWidth","imageHeight","ZCoordinate","originalWidth","naturalWidth","originalHeight","naturalHeight","ratioWidth","ratioHeight","controlHtml","attr_data_hyperlink","selectOptionString","options","OptionText","Order","attr_data_isGroupChecked","match","isPrefill","rawDependentControlsOnDocument","ritem","ControlParentID","ConditionText","GroupCode","entityType","entityTypeText","validationOption","ctrl","defaultDateFormatValue","updateDateFormatNameAndOptions","checkNull","outline","old_attr_data_addTextAreaText","ctrlType","tempControlValue","getTextControlType","entityFieldValue","DocumentID","RecipientID","ControlHtmlID","IntControlId","DocumentPageNumber","PageNumber","XCoordinate","YCoordinate","ControlValue","ControlHtmlData","RecipientName","getRecipientName","IsControlDeleted","ControlType","SenderControlValue","ControlStyle","Options","Dependencies","ParentHeight","ImageOriginalHeight","ImageHeight","ImageOriginalWidth","ImageWidth","OrignalPageFormat","CustomToolTip","IsFixedWidth","IsHideTextWithAsterisk","recipientId","recpId","receipentLists","receipentListsDetails","recObj","rec","getControlOriginalTitle","placeHolderText","resizableCurrentControl","docControl","data_selected","depenencyCurrentControl","setdefaultTextValidation","textValidationsoptions","textTypeDecimal","textTypeDecimalOptions","textZipOptions","textDateOptions","textInputTypeEle","val","defaultVal","applyRecipientDetailsOnMouseOverChange","recipient","titleText","updateRecipientsInStorage","getSameControlNumberCount","ctrlGuid","pageNum","arryCtrlPageNum","sameCtrlArray","createControlOnDocument","newcomponentRef","dynamicComponentRefs","appRef","isInitialCtrl","imageCtrl","attr_data_recp_color","defaultWidth","defaultHeight","minWidth","minHeight","ctrlBgColor","controlDateFormat","controlResourceKeys","defaultDate","resizableControl","instance","contentId","bgColor","outlineColor","recpColor","typography","recipientsObj","selectedRecipentName","selectedRecipentColor","textFormatting","attachView","hostView","domElem","rootNodes","console","log","updateJsonArrays","arrControlIdNumbers","ctrlIdEle","ctrlNum","DataDocumentContentId","PageNo","DataGuid","CtrlNumber","RecipientId","controlDependencyFieldsString","arrControlFieldDependenceControls","updateDuplicateControlProperties","newControlId","oldControlId","oldResizableControlEle","newResizableControlEle","old_attr_title","old_attr_controlValue","old_attr_data_typography","old_attr_data_selected","old_attr_data_selected1","old_attr_data_customtooltip","old_attr_data_isfixedwidth","old_attr_maxlengthallowed","old_attr_maxcharallowed","old_attr_maxemailcharallowed","old_attr_maxcharlimit","oldSpnControlEle","newSpnControlEle","old_attr_data_defaultformat","old_attr_data_defaultdate","old_attr_data_confirm_submit","old_attr_data_isGroupChecked","old_attr_data_groupname","old_attr_data_size","old_attr_data_texttype","old_attr_data_validation_type","old_attr_data_additional_validation_name","old_attr_data_hidetextwithasterisk","old_attr_data_data_asteriskOriginalText","old_attr_data_additional_validation_option","old_attr_data_prefill","old_attr_data_hyperlink","old_attr_fromParentInitialCtrl","old_attr_font_family_id","old_name","old_innerText","old_attr_spn_style","hyperlinkEle","link","old_attr_data_firstlineblank","oldSelectDropdownControlField","newSelectDropdownControlField","insertAdjacentHTML","old_attr_data_isupdated","radioDependencieArray","radioItem","ind","showRequiredIcon","updateExistingControlProperties","newControlObj","oldControlObj","integrationResp","iscopyEnvelopeId","newControlEle","e","controlHtmlData","htmlConvertedIntoDom","childNodes","hideTextWithAsterisk","controlStyleAttr","originaltitleAttr","controlstitleAttr","groupCodeAttr","defaultdateAttr","sizeAttr","maxlengthallowedAttr","maxcharallowedAttr","maxemailcharallowedAttr","parentidAttr","parentruleidAttr","supporttextcontentAttr","groupnameAttr","expandedAttr","ischildpresentAttr","contenttitleAttr","isparentpresentAttr","isdisabledClassExists","grpNameAttr","textAlignAttr","contentStyleAttr","fontfamilyidAttr","innerHtmlAttr","controInfoAttr","guidAttr","rcptidAttr","prefillAttr","displayLabelAttr","texttypeAttr","selectedAttr","selected1Attr","customtooltipAttr","hyperlinkAttr","fontfamilyAttr","addedAsChildAttr","typographyAttr","confirmsubmitAttr","originalrcptidAttr","isfixedwidthAttr","controlvalAttr","mainSpnCtrlStyle","spnControlStyle","spnStyle","styleAttr","ctrlnumAttr","controlidAttr","conditionidAttr","conditionalControlsDetails","controllingFieldID","controllingConditionID","controllingSupportText","stylesArray","colorcode","hyperControl","removeChild","controlValue","addTextAreaVal","DOMParser","parseFromString","setTextAttributes","validationType","controlStyle","additionalValidationName","additionalValidationOptionName","additionalValidationOption","isPrefillText","isAsteriskOriginalText","externalIntegrationType","getKeyByValue","customToolTip","entityFieldsList","envelopeStage","entityList","ctrlLabel","selectControlOptions","optionText","dateFormatAttr","updateExistingControlDependencyFields","documentDetails","documentContentDetails","docContentItem","dependentFields","depenItem","childDependentItem","conditionID","parentItem","parent_groupCode","child_groupCode","resizableControlItem","controlHtmlID","attr_dataGuid","toLocaleLowerCase","controlItem","disableUndoButtons","undoBtn","arrCopyPasteCtrlArray","arrUndoRedoCtrlArrTemp","arrUndoRedoCtrlArrayTemp","disableRedoButtons","redoBtn","arrUndoCtrlsCountArray","undo","ctrlIdArr","arrUndoRedoCtrlArray","temp","reverse","updateUndoRedoCopyPasteControlArray","copyPasteItem","ParentControl","Action","enableShowControlId","setHideFixedwidthCheckbox","getHideFixedwidthCheckbox","inputLenth","ctrlInputLength","ctrlCharInputLimit","isFixedWidthContainer","isFixedWidthNameContainer","isFixedWidthEle","isFixedWidthCont","selectedRecipentId","controlEleItem","ctrlParentId","isHavingDependentFieldsArray","removeColorForDependentFields","ctrlParentDocumentContentId","docContentid","resetTextToTextArea","ctrlSpnEle","resetTextAreaInputs","attr_guid","attr_texttype","disableInputField","attr_integrationType","resetEntityFields","getValueByKey","Value","Key","msg","entityFieldsValues","dateOnly","parsedDate","detectAndParseDate","getFullYear","getMonth","getDate","dateStr","dateMatch","first","second","third","parsed","isNaN","moveSelectedItems","deltaX","deltaY","containerWidth","containerHeight","imageControlEle","positions","selectionBorderIdEle","currentLeft","currentTop","newLeft","newTop","updateGropuDependenciesToolTips","checkeInitOnEachPageProperties","resizableEle","chInitRequiredContainer","updateBgColorDateTimeStampAndLabel","selectedCtrlEle","isChildPresent","controlParentId","parentGrpCode","attr_dataSelected","spnCtrlEle","removePreviousControlSelection","ctrlAndClickedControlsArr","spnSelectEle","restrictMouseEvents","eventTargetId","isClassExists","returnRestrcition","handleKeyboardEvent","preventDefault","removeCtrlSelectionBgColor","spnresizable","removeControlActiveClass","controlActiveCtrls","spnEle","tempGroupCode","bcolor","setRadioCheckBoxGroupChecked","textFormattingCheckboxGroup","checkboxGroup","checkboxName","checkboxGroupName","generateRandomString","removeSameRadioNamePreselected","expandAllProp","button","accordionHeaders","accordionCollapses","header","collapse","applyPrefillLabelTextProp","checkbox_HideText","addTextTextarea","isCheckboxDisabled","isCheckBoxChecked","originalText","toggleAllAccordions","some","accordaionExapand","acrdionbutton","newresizableControlEle","resizableControlEle","disableOrEnableClearAllIcon","ctrlsTotalCount","clearAllDiv","clearAllImage","requiredCurrentSelectedControl","recipentColor","isNumber","str","Number","validateEmail","email","isValidDateCustom","dateValue","toUpperCase","isValid1","moment","isValid2","applyTextPrefillValidations","data_textType","myMask","txtName","textInputLength","textCharInputLimit","isNumericValue","number","dotlen","l","commalen","regExpNumber","dateFormatToPass","maxcharallowed","maxemailcharallowed","isChecked","trimmedText","asterisks","removeContextMenuList","menuNavEle","groupTargetEle","ctrlPositions","containerWidthVal","selectionBorderIdEleWidth","tooltipWidth","updateLeftAndRightValues","right","_r10","addAdditionalDependentRow","eve_r11","isSelected","eve_r17","isDisabled","eve_r18","eve_r19","i_r13","_r21","addTextField","AddDependenciesComponent_tr_43_option_3_Template","checkIsAlreadyAddedAsDependent","AddDependenciesComponent_tr_43_option_8_Template","AddDependenciesComponent_tr_43_option_11_Template","restoredCtx","rowItem_r12","deleteAdditionalDependentRow","rIndex","controllingdependentConditionsSelectList","controllingDependentFieldSelectList","controllingDependentActionSelectList","_r25","viewAllDependecies","closeDependecies","saveDependentFields","_r30","showDependenciesPopUp","AddDependenciesComponent","controlPropertyService","addDependencieschangesMade","dependencyColorCodes","controllingFields","dependencyFieldsArray","controllingFieldSelectList","eligibleDependentControlsArray","tempDependencyControls","isDefaultSelected","constStaticControllingName","appendOtherDependentRowsList","controlColorCode","controlColorCodeIndex","selectedParentControlTypeID","selectedParentControlID","selectedParentControlFieldRequired","addedAsDependentFields","isViewAll","isSaveDependentFieldsClicked","addClass","addTopClass","addcontrolClass","allDependencySelectedControls","showDependenciesPopUpModal","groupCodeArrayUpdated","ngUnsubscribe","dependecieClose","takeUntil","dependencyIconClickedObj","addNewDependenctCtrlClickedObj","addSelectedControlRowToExistingRows","divAddDependency","divAddDependencyItem","divViewAll","childelements","childelementsArray","parentChildelementsArray","resizable_ele","getControllingFieldsFromDocuments","showHideFirstRowDependentDropdowns","showHideAllOtherDependencyDropdowns","showExistingContent","constControllingName","rcpId","bindControllingFieldSelectList","bindDependentFieldSelectList","curSelectedControl","grpColorCode","parentColor","bindExistingSelectedControlFieldDependeyData","isPushToArrReq","chekDataSelected","isDataSelected","textControlText","appendConditionsAndActionsLists","getExistingDependencyData","resizableCtrl","childelementItem","childattr_docContentId","child_controlID","child_condtionID","child_supportText","child_attr_id","child_resizableCtrl","child_attr_dataGuid","child_dataSelectedVal","child_dataSelected","child_dataPageNumber","child_dataControlName","child_dataControlNum","child_textControlText","childDisplayName","getDisplayName","condition","getCondtion","ContentId","Id","ConditionId","DataGUID","SuportText","ControlNum","IsRequired","DisplayName","Condition","ParentDataGUID","ParentControlContentID","ParentID","parentControlField","selectedParentItem","dependentFieldArray","checkBoxDependentCondiitons","textBoxDependentCondiitons","getRequiredConditionForDependencyControl","rowIndex","currentDependentSelectCtrl","selectedIndex","currentConditionSelectCtrl","textField","currentBehaviourSelectCtrl","isErrorToProceed","controlTypeID","slControlingField","currentDrpCtrl","dataSelectOptionAttrId","enableDisableConditionsList","spnCurrentTextControl","isRequiredCtrl","checkBoxDependentAction","currentDependentConditionsSelect","showTextField","hideTextField","rowindex","currentSelectOption","opt","currentControllingFieldSelectCtrl","controlFielddataDocumentContentId","configId","tdAddTextField","txtTextField","thAddTextField","findFirstItemFromListByPropAndValue","inArr","prop","getConditionId","arryList","slField","updateAllDependentDropdowns","currentSelectCtrl","arrLength","pop","dguid","slControlingFieldObj","rindex","slIndex","selectedChildItem","rowDependentFields","removeColorAndAttributes","parentControlId","dependentControlId","childItemField","parentItemField","parentDivField","curItem","checkIsParentToOtherControlsArray","isParentParentPresent","back_color","res_attr_id","valIndex","tobeDeletedDependentItem","dependentControlsToParentControlsArray","dataPageNumber","dataControlname","dataControlNum","typeId","condtionId","dropDownControls","drpItem","attr_drpId","found","hideExistingContent","cancelDependencyBtn","cursor","saveDependencyBtn","staticBackdropLabel","ccontrolFieldText","copt","isDependentFault","dependents","existingColorValue","dependentFieldSelectClassArray","dependentField","dopt","dependentDocumentContentId","dcontrolFieldText","conditionVal","conditionValTextContent","conditionIdCtrl","condsel","supportTextVal","behaviourVal","behaviourCtrl","spnSupportTextCtl","elem","existingColorCode","ControllingFieldID","ControllingConditionID","ControllingSupportText","EnvelopeStage","DependentFields","dependentParentId","childChildDependentControl","checkIsHavingDependentFields","k","ctrlContentItem","tableViewAllBody","rowHTML","isChildPresentArray","hasChildren","displayName","closePopUp","presentValue","csel","dependentControlsToParentControls","resizableParentItem","slVal","childDependentItemObj","updateClassDependentField","updateClassAction","updateClassBehaviour","updateClasscontrollingField","updatedObj","currentDependentSelectedControl","isAddedAlreadyObj","dependentSlCtrl","deptitle","findIndex","String","deleteRowIndex","currenctrlContentId","populateControlFromDropdown","addedAsDependentFieldsArray","max","currentSelectedControlElement","outputs","AddDependenciesComponent_span_6_Template","AddDependenciesComponent_button_8_Template","AddDependenciesComponent_span_9_Template","AddDependenciesComponent_option_31_Template","AddDependenciesComponent_tr_43_Template","AddDependenciesComponent_div_59_Template","AddDependenciesComponent_div_60_Template","AddDependenciesComponent_div_61_Template","AddDependenciesComponent_div_62_Template","ClearallControlsComponent","clearallChangesMade","onOk","NavigationService","reloadPage","reload","DiscardEnvelopeComponent","navigationService","discardEnvelopChangesMade","onCheckDiscardEnvelope","unloadHandler","PostCall","beforeUnloadHander","ClickedSignMeOut","onDiscardEnvelope","status","envelopeDetail","showToastrSuccess","rsignUrl","showToastrWarning","onDiscardCancel","hostBindings","DiscardEnvelopeComponent_div_20_Template","GotoStepOneComponent","gotoStepOneChangesMade","yesMessage","onGotoStepOne","KeyboardShortcutsComponent","keyboardShortcutsChangesMade","onDone","ContextualMenu","action","disabled","visible","active","icon","index_r3","slide_r2","isDefault","IsDefault","base64String","Base64String","BrandName","_r5","MultiBrandingComponent_div_0_slide_11_Template","itemsPerSlide","slides","isEnvlpEdited","MultiBrandingComponent","noWrapSlides","showIndicator","shouldBeChecked","multiBrandingChangesMade","mobileDevice","sliderChecked","navigator","userAgent","features","provide","CarouselConfig","useValue","interval","noPause","showIndicators","MultiBrandingComponent_div_0_Template","NumberArrayPipe","transform","res","pure","pagenum_r2","onPaginateChange","FILTER_PAG_REGEX","PaginationComponent","cdRef","page","collectionSize","documentData","documentDataLength","pageVal","pageCurrentVal","isLastPage","pagenationDropdown","handlePasteEvent","pastedText","clipboardData","getData","inputElement","pageNumber","totalImagesCount","pages","addEventListener","formatInput","input","onPageSelection","pageCount","idValue","currentPageValue","firstPageNoAttr","$","offset","pageNoAttr","scrollTo","abs","animate","scrollTop","updatePageNumber","detectChanges","totalControls","tempTotalCountPerPage","getPreviewSelected","p","pcard","prevPageEle","onPaste","inputVal","updatedPageNoOnScroll","pageno","ngOnDestroy","removeEventListener","_r6","_r0","PaginationComponent_li_13_Template","_c0","recipent_r1","MultipleSignerUpdateComponent","multipleSignerUpdateChangesMade","receipentListArr","receipentColorArr","selectedControlsForGroupEdit","selectedRequiredValue","selectedSignerValue","activeControlId","receipentColorArray","selectedItemsObj","applyRequiredCondition","currentTarget","applySignerCondition","saveGroupEditModifications","popUpStatus","recIndex","recipent","selectedColor","isRequiredText","attrGuid","updateControlDependencyProperties","ctrlDocContentId","MultipleSignerUpdateComponent_option_15_Template","InitialsCreationComponent","initialStateObj","initialsChangesMade","selectedOption","firstInputval","secondInputval","onSelectedOption","fromPageNumber","toPageNumber","createTypeOfInitialsApply","showToastrWarningMsg","totalImages","checkRange","numericValue","InitialsCreationComponent_div_30_Template","GroupControlsBorderComponent","selectedPanelRecipentId","selectedPanelRecipentName","selectedPanelRecipentColor","onCtrlMouseOver","ul","li","colorPallete","selectedRecid","selectedListItem","onRecipentSelect","deleteControl","selectionBorderEle","border","createDuplicateControl","selectedItemsList","onRecipentChange","complete","AlignControlsService","request","Type","Controls","maxLeft","minLeftWithControl","distWidth","selectedCntrlAndWidth","pageWidth","fnRightAlign","arrLeft","RightPoint","selectedControlElements","eleRef","posObj","elementRef","rightValue","control","getControlProperty","DocumentContentID","fnLeftAlign","minLeft","Infinity","min","fnCenterAlign","arrWidth","centerPoint","maxWidth","fnTopAlign","arrTop","minTop","fnBottomAlign","arrBottom","BottomPoint","bottom","fnMiddleAlign","arrHeight","maxHeight","fnDistributeHorizontal","maxLeftWithControl","selectedControl","cntrlLeft","allCntrlWidth","apply","y","controlLeft","controlLeftPos","prevCntrlLeft","getImgIndex","ctrlWidth","fnDistributeVertical","minTopWithControl","maxTop","maxTopWithControl","DistHeight","selectedCntrlAndHeight","cntrlTop","allCntrlHeight","controlTop","controlTopPos","prevCntrlTop","pageHeight","ctrlHeight","applyAlignChanges","selectedOptionVal","selectedDocumentImage","container","DefaultControlStyleService","latestSaveAsDefaultData","controlSaveAsObj","validationsDateOptions","dict","sign","saveAsDefault","required","lineHeight","adlnName","adlnOption","size","fontTypeMeasurement","firstLineBlank","labelControlValue","initials","datetimestamp","company","date","hyperlink","dropdown","checkbox","radio","updateDictionary","getDictionaryByKey","getCtrlBasedSaveAsDefaultValue","getDefaultControlTextObject","getRequiredFields","updateSaveAsDefaultPayload","spnctrlEle","fontFamilyWithoutQuotes","resizableCtrlEle","controlEleName","hexColor","rgbToHex","Values","dataSize","dataAdditionalValidationName","dataAdditionalValidationOption","dataValidationTypeValue","newData","existingItemIndex","existingItem","removeLowercaseDefaultStyles","parseDefaultControlProperty","updatedDefaultControlProperty","getSaveAsDefaultData","updateSaveAsDefaultData","rgbArray","g","padStart","getControlSaveAsObj","updatedSaveAsDefaultSavedData","defaultControlProperty","envelopeCultureInfo","dateFormaVal","saveAsDefaultSaveSettings","ctrlsObj","SettingDetails","ShowOnSettingsTab","SettingValue","IsLock","IsOverride","IsLockChanged","userSettingsData","SettingsFor","UserEmail","emailID","SettingsForType","TabId","userId","userID","CashedService","getDisplayStyleCached","controlTitleCache","getDisplayStyleWidthCached","getDisplayStyleCachedCompute","cacheKey","generateControlTitleCacheKey","UndoRedoStackService","undoStack","redoStack","redo","redoCtrlResetCtrlBgs","payload","updateCtrlBgColors","resetBgColorAndActiveClass","displayType","disableNavigationBar","StatsUrl","ctx_r1","TranslationsUrl","OutOfOfficeMode","_r9","HeaderComponent_div_67_li_19_Template","HeaderComponent_div_67_li_24_Template","HomeUrl","SendUrl","EnvelopeUrl","TemplateUrl","displayStats","SettingsUrl","isLanguageTranslator","HeaderComponent","userName","UserDetailsUrl","ngUnsubscribeNavBtns","ngUpdateHeaderSubject","displayOutOfOfficeLabel","disableButtonStr","splitDisableButtonArr","DisableNavigationBar","sendNavigation","templateNavigation","userTypeID","uname","lastName","firstName","divFlagIcon","outOfOfficeLabel","path","bindURLs","rsignURL","logout","clear","redirectCorporateURL","OpenType","StatusCode","toggleMenu","HeaderComponent_li_25_Template","HeaderComponent_li_30_Template","HeaderComponent_a_33_Template","HeaderComponent_a_50_Template","HeaderComponent_div_67_Template","HeaderComponent_div_68_Template","FooterComponent","documentList","prev_r3","prevInd_r4","onPreviewImage","PreviewViewComponent_li_12_span_9_Template","isActive","getPageCount","group_r8","details","_r17","prev_r13","prevInd_r14","i_r9","getPageNumber","PreviewViewComponent_div_15_li_12_span_9_Template","expand","PreviewViewComponent_div_15_span_8_Template","PreviewViewComponent_div_15_li_12_Template","_c1","totalCount","PreviewViewComponent","groupedDocuments","prevObj","updateMultiDocumentsPreviewData","documents","allimagesLoaded","transformDocuments","grouped","doc","controlsCount","Object","keys","detail","prevInd","resetGroupedDocumentsCount","previewObj","PreviewViewComponent_span_7_Template","PreviewViewComponent_li_12_Template","PreviewViewComponent_div_15_Template","documentName","_r4","recipient_r1","i_r2","RecipientsComponent","RecipientsComponent_li_8_Template","element_r2","onSelectElement","i_r3","isDisableRedoUndoButtons","imagesArr","keysArr","ContextualMenuComponent","mouseouver","setInactive","elements","keyUp","documentClick","documentRClick","isLeft","isTop","offsetX","offsetY","ctrlSelectable","allImagesWidth","allImagesHeight","clickedImgControlId","selectedImg","tempHeight","documentImages","eleTemp","controlInfoObj","showMenuList","pasteBtnDisabled","transformOrigin","ctrlKey","iconsArr","show","showHideContextMenu","menunavEle","checkClassIsAdded","checkRedoClassIsAdded","ContextualMenuComponent_li_3_Template","ContextualMenuDirective","makes","appContextualMenu","contextElements","fullPlanName","planName","unit","planType","upgradeLink","unitsRemaining","planRange","_r24","applyZoomChanges","zoom_r21","reviewItem_r26","showReviewItem","EnvelopePrepareComponent_div_100_li_8_Template","filesReviewCount","filesReview","_r29","openModal","_r31","sendEnvelope","_r33","_r35","item_r36","EnvelopePrepareComponent_li_150_div_13_div_1_Template","EnvelopePrepareComponent_li_150_div_15_div_1_Template","EnvelopePrepareComponent_li_150_div_17_div_1_Template","EnvelopePrepareComponent_li_150_div_19_div_1_Template","EnvelopePrepareComponent_li_150_div_21_div_1_Template","EnvelopePrepareComponent_li_150_div_23_input_1_Template","EnvelopePrepareComponent_li_150_div_25_input_1_Template","EnvelopePrepareComponent_li_150_div_27_div_1_Template","EnvelopePrepareComponent_li_150_div_29_div_1_Template","EnvelopePrepareComponent_li_150_div_31_div_1_Template","EnvelopePrepareComponent_li_150_div_33_div_1_Template","EnvelopePrepareComponent_li_150_div_35_div_1_Template","EnvelopePrepareComponent_li_150_div_37_div_1_Template","_r78","onDragStarted","EnvelopePrepareComponent_li_150__svg_path_8_Template","EnvelopePrepareComponent_li_150__svg_circle_9_Template","EnvelopePrepareComponent_li_150_label_10_Template","EnvelopePrepareComponent_li_150_label_11_Template","EnvelopePrepareComponent_li_150_div_13_Template","EnvelopePrepareComponent_li_150_div_15_Template","EnvelopePrepareComponent_li_150_div_17_Template","EnvelopePrepareComponent_li_150_div_19_Template","EnvelopePrepareComponent_li_150_div_21_Template","EnvelopePrepareComponent_li_150_div_23_Template","EnvelopePrepareComponent_li_150_div_25_Template","EnvelopePrepareComponent_li_150_div_27_Template","EnvelopePrepareComponent_li_150_div_29_Template","EnvelopePrepareComponent_li_150_div_31_Template","EnvelopePrepareComponent_li_150_div_33_Template","EnvelopePrepareComponent_li_150_div_35_Template","EnvelopePrepareComponent_li_150_div_37_Template","computeDragRenderPos","dragIndex_r37","activeCtrlId","dragItemBgColor","_r82","item_r79","idx_r80","updateImageSrc","getDisplayStyle","docPageNo","documentId","_r125","ctx_r124","_r127","ctx_r126","isdrpFirstLineBlank","_r129","ctx_r128","isRadioRequiredChecked","_r131","ctx_r130","isChkPreSelected","_r133","ctx_r132","applyCheckboxGroup","ischeckboxGroup","_r135","ctx_r134","_r140","recipent_r137","i_r138","ctx_r139","_c3","ctx_r136","EnvelopePrepareComponent_ng_container_170_div_29_li_13_Template","_r143","ctx_r142","_r145","ctx_r144","ctx_r146","showHiddenTextATFocusIn","ctx_r147","ctx_r148","EnvelopePrepareComponent_ng_container_170_div_30_label_20_Template","ctx_r105","selectedPanelRecipentTextAreaText","_r150","ctx_r149","updateControlTooltip","ctx_r151","_r153","ctx_r152","ctx_r107","_r155","ctx_r154","ctx_r108","_r157","ctx_r156","ctx_r109","_r159","ctx_r158","defaultColorPicker","ctx_r160","ctx_r110","exampleForm","ctx_r161","ctx_r162","_r164","ctx_r163","EnvelopePrepareComponent_ng_container_170_div_36_label_12_Template","EnvelopePrepareComponent_ng_container_170_div_36_label_13_Template","ctx_r165","ctx_r111","controlsObj","item_r167","_r169","ctx_r168","selectDefaultSizeValue","ctx_r170","radiocheckboxSizes","EnvelopePrepareComponent_ng_container_170_div_37_option_8_Template","ctx_r112","checkboxoptions","_r178","drpItem_r173","ctx_r176","deleteDropdownOption","EnvelopePrepareComponent_ng_container_170_div_38_div_10_li_6_span_4_Template","_r180","ctx_r179","EnvelopePrepareComponent_ng_container_170_div_38_div_10_li_6_Template","ctx_r171","slDropDownControlItems","_r182","ctx_r181","ctx_r183","EnvelopePrepareComponent_ng_container_170_div_38_div_10_Template","ctx_r113","_r187","ctx_r186","ctx_r185","_r189","ctx_r188","restrictInputLengthToThree","ctx_r190","updateControlNameOrTextLength","_r184","ctx_r191","checkNumberLength","ctx_r192","updateCharInputLimit","EnvelopePrepareComponent_ng_container_170_div_39_div_10_Template","ctx_r114","lengthOrMaxCharLimitLabel","_r196","ctx_r195","ctx_r194","_r198","ctx_r197","ctx_r199","_r193","ctx_r200","ctx_r201","EnvelopePrepareComponent_ng_container_170_div_40_div_10_Template","ctx_r115","option_r204","_r206","_r202","ctx_r205","applyExternalTextOptions","EnvelopePrepareComponent_ng_container_170_div_41_option_9_Template","ctx_r116","externalEntityList","option_r209","_r211","_r207","ctx_r210","applyExternalTextOptionsFields","EnvelopePrepareComponent_ng_container_170_div_42_option_9_Template","ctx_r117","userSelectedEntity","externalEntityFieldList","itemlist_r216","_r218","ctx_r217","ctx_r215","_r220","ctx_r219","selectValidation","ctx_r221","ctx_r222","applyTextTypeControl","EnvelopePrepareComponent_ng_container_170_div_43_option_8_Template","_r213","ctx_r223","ctx_r224","_r214","ctx_r225","ctx_r226","EnvelopePrepareComponent_ng_container_170_div_43_div_16_Template","ctx_r118","validationsoptions","textCtrlMaxValidation","itemoption_r235","itemoption_r236","itemoption_r237","addtionaloption_r238","_r240","ctx_r239","selectAddtionalValidation","_r227","ctx_r241","EnvelopePrepareComponent_ng_container_170_ng_container_44_option_10_Template","_r229","ctx_r242","EnvelopePrepareComponent_ng_container_170_ng_container_44_option_20_Template","_r231","ctx_r243","EnvelopePrepareComponent_ng_container_170_ng_container_44_option_30_Template","_r233","ctx_r244","EnvelopePrepareComponent_ng_container_170_ng_container_44_option_37_Template","_c4","ctx_r119","showTextFieldsContainer","showTextDecimalType","additionalValidation","showTextZipFormat","validationsZipOptions","showTextDateFormat","showTextDecimalOptions","additionalValidationType","_r248","ctx_r247","applyFontFamily","ctx_r249","defaultFontFamily","ctx_r250","defaultFontSize","_r245","ctx_r251","applyFontSize","ctx_r252","defaultTypographySize","_r246","ctx_r253","ctx_r254","checkBold","ctx_r255","checkItalic","ctx_r256","checkUnderline","ctx_r257","checkAlignLeft","ctx_r258","checkAlignMiddle","ctx_r259","checkAlignRight","ctx_r260","ctx_r261","ctx_r120","isAlignleft","isAlignmiddle","isAlignright","dateoption_r263","_r265","ctx_r264","selectDefaultDateFormat","ctx_r266","EnvelopePrepareComponent_ng_container_170_div_46_option_8_Template","ctx_r121","dateformat","_r270","_r267","ctx_r269","copyInputMessage","ctx_r271","_r268","ctx_r272","ctx_r122","_r274","ctx_r273","onInitRequired","EnvelopePrepareComponent_ng_container_170_ng_container_4_Template","EnvelopePrepareComponent_ng_container_170_ng_container_5_Template","EnvelopePrepareComponent_ng_container_170_ng_container_6_Template","EnvelopePrepareComponent_ng_container_170_ng_container_7_Template","EnvelopePrepareComponent_ng_container_170_ng_container_8_Template","EnvelopePrepareComponent_ng_container_170_ng_container_9_Template","EnvelopePrepareComponent_ng_container_170_ng_container_10_Template","EnvelopePrepareComponent_ng_container_170_ng_container_11_Template","EnvelopePrepareComponent_ng_container_170_ng_container_12_Template","EnvelopePrepareComponent_ng_container_170_ng_container_13_Template","EnvelopePrepareComponent_ng_container_170_ng_container_14_Template","EnvelopePrepareComponent_ng_container_170_ng_container_15_Template","EnvelopePrepareComponent_ng_container_170_ng_container_16_Template","EnvelopePrepareComponent_ng_container_170_ng_container_17_Template","EnvelopePrepareComponent_ng_container_170_ng_container_18_Template","_r276","ctx_r275","EnvelopePrepareComponent_ng_container_170_div_23_Template","EnvelopePrepareComponent_ng_container_170_div_24_Template","EnvelopePrepareComponent_ng_container_170_div_25_Template","EnvelopePrepareComponent_ng_container_170_div_26_Template","EnvelopePrepareComponent_ng_container_170_div_27_Template","EnvelopePrepareComponent_ng_container_170_div_28_Template","EnvelopePrepareComponent_ng_container_170_div_29_Template","EnvelopePrepareComponent_ng_container_170_div_30_Template","EnvelopePrepareComponent_ng_container_170_div_31_Template","EnvelopePrepareComponent_ng_container_170_div_32_Template","EnvelopePrepareComponent_ng_container_170_div_33_Template","EnvelopePrepareComponent_ng_container_170_div_34_Template","EnvelopePrepareComponent_ng_container_170_div_35_Template","EnvelopePrepareComponent_ng_container_170_div_36_Template","EnvelopePrepareComponent_ng_container_170_div_37_Template","EnvelopePrepareComponent_ng_container_170_div_38_Template","EnvelopePrepareComponent_ng_container_170_div_39_Template","EnvelopePrepareComponent_ng_container_170_div_40_Template","EnvelopePrepareComponent_ng_container_170_div_41_Template","EnvelopePrepareComponent_ng_container_170_div_42_Template","EnvelopePrepareComponent_ng_container_170_div_43_Template","EnvelopePrepareComponent_ng_container_170_ng_container_44_Template","EnvelopePrepareComponent_ng_container_170_div_45_Template","EnvelopePrepareComponent_ng_container_170_div_46_Template","EnvelopePrepareComponent_ng_container_170_div_47_Template","ctx_r277","ctx_r278","updateSaveAsDefaultChecked","EnvelopePrepareComponent_ng_container_170_div_52_Template","ctx_r279","removeControlComponent","isClose","isStoreControlId","checkboxText","EnvelopePrepareComponent","componentFactoryResolver","injector","modalService","renderer2","fb","alignControlsService","defaultControlStyleService","activatedRoute","titleService","cashedService","undoRedoStackService","el","textzoom","Map","delay","hidePagesViewSection","hideControlView","displayProperties","isVisited","isfont","displayGroupCheckBox","displayGroupRadio","showRemove","showSave","ZoomPercentageObj","searchText","checkboxSizeControl","FormControl","form","FormGroup","checkboxsize","dragItems","table","zoomList","percentageValue","imageSize","zoomValue","showTextZipFormatOptions","showTextDateFormatOptions","integrationResponse","isSelecting","selectionBox","HTMLElement","showUpgradeLink","textareaEdited","isDataLoaded","isEnvelopeEdited","isPrefillExists","filesShowDiv","defaultUserSettingsTypographySize","hideControlViewSection","disableBackArrowButton","disableSaveDraftButton","enableFieldAlignmentClass","isPageLoadingFirstTime","bodyElement","hideDependencies","depenciestatus","enableMultiBranding","isCtrlAndControlMouseSelection","isPortrait","isLandscape","conversionIteration","undoRedoItems","allControlsArr","undoFlag","redoFlag","isMultipleControlsActionFlag","copyPastedcontrolsArr","copyPastedcontrolsArrFlag","temptotalControlCount","deleteCtrlItemsFlag","IsHideTextWithAsteriskChecked","groupDynamicComponentRefs","onClick","onClickOutsideSelectionArea","onSingleClick","clickTimeout","clearTimeout","handleSingleClick","onDoubleClick","handleDoubleClick","CurrentClickedControl","spncontrolEle","resizablecontrolEle","clickedAttribute","handleClickEvent","targetElement","offsetParent","startsWith","pickerCtrl","setTitle","enableProdMode","resetPaginationCount","group","valueChangesSubscription","controls","valueChanges","debounceTime","getDefaultValues","getEnvelopeDetails","preparePageUrlData","getDetailsUrl","toLocaleString","envelopeDetails","userViewModel","disableOptions","cultureInfo","modifiedValidationsDateOptions","replaceAll","modifiedDateFormatOptions","modifiedDateFormatValueOptions","envelope","envelopeId","envelopeImageInfo","eDisplayCode","isEdited","documentImageConversionMaxLimit","envelopeImageDetails","conversionInitialImagesArray","imagePathUrl","envelopeID","uncPath","isTemplateDatedBeforePortraitLandscapeFeature","dimension","imageId","isVisible","checkForAllImagesLoaded","totalDocPageImagesCount","initialImagesArrayLength","imgIndex","currentImgItem","imgObj","documentObj","imgControl","retriveConversionImages","updateLocalStorageInfo","recipientList","recipientTypeID","prefillRecpDetails","precp","recipientName","recp","DisableBackArrow","DisableSaveDraft","isAdddropBorder","defaultControlStyle","isTemplateEditable","autoSaveEnvasDraft","handleConfigureDataEvents","updateTempTotalCountPerPage","userEmail","authMessage","getDragActiveID","previousSelectedControl","updateRecipientPanelControlProperties","showControlFields","depencieContainerResponsive","applyStylesToSelectedRecipient","updateSaveAsDefaultCheckedOrNot","updateLengthOrMaxCharLimitLabel","dataPrefill","destroy","resetCopyPasteUndoRedoList","showDependenciesFields","onRecipentOverSelect","createControl","which","isMyclassPresent","deleteItems","removeControl","updateUndoCtrlsCount","createDupicateControl","onCopyFun","undoCtrl","redoCtrl","removeSelectedBorderDiv","controlSelection","updateEnvelopeDocumentControlInformation","docSignName","documentElement","actionType","documentDetailsList","docItem","document_id","cindex","documentImagesArray","imagDocPageNo","imagePage_No","documentPageNo","documentID","recpColorIndex","recipientID","isUndefinedOrNull","fontColor","fontID","fontName","isUnderline","controlObj","topIndex","leftIndex","controlData","filesReviewInfoDetails","showSuccess","onShowRemove","toggleFilesReview","onPreviewPagesView","updateExtendDocumentWidth","select","execCommand","setSelectionRange","fadeInOut","rotate","srcElement","selectedColor1","applyRecipientDetailsToControl","updateCtrlTextFormatting","getControls","properties","trueProperties","ctrlNameProperties","labelText","setShowTextFiledToNone","updateCtrlDateFormat","tempData","onOptionsSelected","datacount","onAdditionalValidation","pos","DragRef","previousContainer","componentRef","resolveComponentFactory","create","controlTopAdjustmentDiff","controlLeftAdjustmentDiff","saveAsDefaultVal","topBoundaryDiff","tempTop","bottomBoundaryDiff","updateSaveAsDefault","checkLengthNameAndTextControl","curFontSize","finalFontSize","validationTypeText","fontSizePtOrPxSelect","isRequiredCheckedVal","drpFirstLineBlankEle","isChkPreSelectedEle","spanCurrentSelectedControl","resizablCurrentSelectedControl","ischeckboxGroupEle","addTextTextareaEle","updateAlignments","updateTextFormattingStyles","resetChangesForIntegration","radioCheckboxSize","performUndoRedoAction","f","getControlsCount","ctrlPageNumber","totalControlCount","ctrlObjId","pgNumber","pNumber","exited","currentIdx","entered","cNamePropertiesMap","signature","newinitials","stamp","fromEntries","propertyKey","isAddColumnSpace","checkTextFields","dataEntityField","dataEntity","updateIntegrationFields","array","removeDuplicates","property","self","onScroll","images","topImageIndex","image","offsetTop","paginationComponent","unsubscribe","addDropdownOption","dropdownListEle","isFirstLineBlank","drpOptionLongText","modalName","initialState","keyboard","backdrop","class","content","drpOptions","ditem","removeParentRuleItem","dropdownControlField","isEmptyOptionExists","mainDropdownControlField","data_document_content_id","dependencyObj","clearAllControls","branding","selectedControlItemsObj","tobeDeletedCtrl","currentObj","recpArrayObj","addtextareaval","isClicked","dataguid","dataSizeVal","inputHyperlinkText","inputHyperLinkURL","inputLabel","divSelectedControl","spnStrlEle","OriginalText","zoomText","setStyle","documentPageContainer","ctelEle","closeDependecie","ctrlname","newFontSize","setControlHeight","titleInputVal","nameCharLengthId","textCharLengthId","nameOrTextInputLengthEle","setNameOrTextControlDimension","aprxLength","getApproximateCharateLength","updatedNameOrTextInputLengthEle","spnPaddingLeft","paddingLeft","clientWidth","clientHeight","allDeleteCtrlsList","idEle","isSaveAsDefault","charLength","selControl","isSingleCharacter","dim","dimW","ceil","parentWidth","controlTotalWidth","newheight","cHeight","cWidth","ismultipleline","calcHeight","setControlLocation","leftscroll","finalPosition","controlTotolWidth","updateLeftValue","ctrlSpanEle","cW","cH","floorWidthWord","floorHeightWord","nameOrTextInputLengthEleVal","isFixedWidthVal","divEle","isFixedWidthTextContainer","validateCharLimit","foundOption","validationname","labelOrHyperlink","spaControlEle","textWrap","getEachControlValidation","senderCompanyId","userProfileName","companyID","EnvelopeId","getEnvelopeStage","IsPrefill","Branding","SenderCompanyId","CultureInfo","UserProfileName","returnUrl","isPrefillUserExists","postSendingNavigationPage","isFromLockUnits","isDraft","isEnvelopeComplete","controlInfoType","characterAllowed","updateNameOrTextInputLength","isInitialCtrlFlag","arrUndoRedoCtrlCtrl","integrationValues","copyEnvelopeId","currentctrlele","dataEntityFieldValue","itemsToCopy","j","updateCopyAndPasteControls","conversionImagesArray","imgItem","notProcessedImages","newImage","Image","src","imageObj","fromIndex","DocId","DocumentName","TemplateID","templateID","DocumentContentDetails","requestObj","UncPath","DocumentImageDetails","RecipientList","RoleList","CreatedDateTime","createdDateTime","imgEleCollection","slBox","nullImageEleCollection","currentControlEle","openDropdownPicker","uplan","uplanrange","usageRemaining","resultContent","userUsageRemainingDetails","externalTextoptions","entityFieldsValue","getKeyValue","inputLengthControl","tooltipControl","onSaveDraft","Savetype","transText","IsSaveControl","defaultBranding","finalLength","inputId","dynamicComponentRef","childCtrlObj","enableFieldAlignment","getAllControlsCount","isAlignmentFieldOpen","isEnvEditable","checkSpnTextFormattingValues","base64FileData","binaryString","atob","bytes","Uint8Array","charCodeAt","blob","Blob","buffer","createObjectURL","revokeObjectURL","isApplicalSaveAs","dataDefaultformat","checkSaveAsDefaultisChecked","ctrlid","dataSaveasdefault","addmiddleClass","depencieChanges","updateExtendDependecieWidth","file","fileName","fileNameWithoutExtension","fileExtension","desiredFormat","dateFormatObject","format","redoItem","paginationInput","maxCharLimitVal","nameCharInputLimit","dataHperlink","resetExternalTextoptions","selectableElement","selectable","selectedIds","selecting","ui","css","selected","each","attr","removeClass","stop","appendDivToImage","onPasteFun","onRedoFun","controlGuid","controlGrpName","brandingTemparray","brandingDetails","addInitialCtrlOnEachPage","currentPageNo","currentCtrlEle","currentCtrlPageNum","currentCtrlPageWidth","currentCtrlHeight","currentCtrlWidth","placeOnEachPageOfTheDocument","initialsCtrl","currentCtrlELe","currentCtrlEleResizable","spnCtrlEleResizable","ids","deletedItemsArr","delEle","imgPath","getTopLeftWidthheight","leftArr","topArr","leftWithWidth","topWithHeight","eleCtrl","leftValue","topValue","componentFactory","newDiv","extraSapceWidthOrHeight","borderAppendedChild","menuListWidth","parentdiv","draggable","containment","start","dataset","initialLeft","initialTop","drag","position","originalPosition","i9","i10","i11","i12","i13","i14","EnvelopePrepareComponent_p_15_Template","EnvelopePrepareComponent_p_16_Template","EnvelopePrepareComponent_p_17_Template","EnvelopePrepareComponent_p_18_Template","EnvelopePrepareComponent_li_47_Template","EnvelopePrepareComponent_div_100_Template","EnvelopePrepareComponent_li_101_Template","EnvelopePrepareComponent_li_127_Template","EnvelopePrepareComponent_button_136_Template","EnvelopePrepareComponent_button_137_Template","EnvelopePrepareComponent_button_138_Template","EnvelopePrepareComponent_li_150_Template","EnvelopePrepareComponent_div_151_Template","EnvelopePrepareComponent_div_163_Template","EnvelopePrepareComponent_ng_container_170_Template","EnvelopePrepareComponent_div_171_Template","_c5","_c6","_c7","_c8","_r15","_c9","_c10","InitializePrepareComponent","preparePageUrl","urlToken","statusCodeResult","translationDetails","languageKeyTranslation","originalSource","encryptedValue","queryParams","InitializePrepareComponent_div_0_Template","idx_r2","item_r1","ViewPdfComponent","bodyClick","goBackToPrevPage","back","ViewPdfComponent_div_51_Template","GlobalErrorComponent","isApplicationErrorFlag","onPopState","behavior","htmlFooterString","pagename","currentMonth","getUTCMonth","currentDate","getUTCDate","DateTimeMessage1","getUTCFullYear","getUTCHours","getUTCMinutes","getUTCMilliseconds","maskedEmailString","DateTimeMessage2","clearStorage","GlobalErrorComponent_div_83_Template","InfoComponent","InfoComponent_div_33_Template","zoom_r19","reviewItem_r24","TemplatePrepareComponent_div_100_li_8_Template","saveTemplateOrRule","_r34","_r36","TemplatePrepareComponent_div_117_div_5_a_7_Template","isStaticTemplate","isCreateRules","_r38","TemplatePrepareComponent_div_117_button_4_Template","TemplatePrepareComponent_div_117_div_5_Template","isDisplayTemplateRule","TemplatePrepareComponent_li_129_div_13_div_1_Template","TemplatePrepareComponent_li_129_div_15_div_1_Template","item_r39","TemplatePrepareComponent_li_129_div_17_div_1_Template","TemplatePrepareComponent_li_129_div_19_div_1_Template","TemplatePrepareComponent_li_129_div_21_div_1_Template","TemplatePrepareComponent_li_129_div_23_input_1_Template","TemplatePrepareComponent_li_129_div_25_input_1_Template","TemplatePrepareComponent_li_129_div_27_div_1_Template","TemplatePrepareComponent_li_129_div_29_div_1_Template","TemplatePrepareComponent_li_129_div_31_div_1_Template","TemplatePrepareComponent_li_129_div_33_div_1_Template","TemplatePrepareComponent_li_129_div_35_div_1_Template","_r75","TemplatePrepareComponent_li_129__svg_path_8_Template","TemplatePrepareComponent_li_129__svg_circle_9_Template","TemplatePrepareComponent_li_129_div_13_Template","TemplatePrepareComponent_li_129_div_15_Template","TemplatePrepareComponent_li_129_div_17_Template","TemplatePrepareComponent_li_129_div_19_Template","TemplatePrepareComponent_li_129_div_21_Template","TemplatePrepareComponent_li_129_div_23_Template","TemplatePrepareComponent_li_129_div_25_Template","TemplatePrepareComponent_li_129_div_27_Template","TemplatePrepareComponent_li_129_div_29_Template","TemplatePrepareComponent_li_129_div_31_Template","TemplatePrepareComponent_li_129_div_33_Template","TemplatePrepareComponent_li_129_div_35_Template","dragIndex_r40","_r79","item_r76","idx_r77","_r16","_r121","_r123","_r136","recipent_r133","i_r134","ctx_r135","TemplatePrepareComponent_ng_container_149_div_28_li_13_Template","_r139","ctx_r138","_r141","ctx_r140","ctx_r143","TemplatePrepareComponent_ng_container_149_div_29_label_20_Template","_r146","ctx_r145","_r149","_r151","ctx_r150","ctx_r106","ctx_r157","_r160","ctx_r159","TemplatePrepareComponent_ng_container_149_div_35_label_12_Template","TemplatePrepareComponent_ng_container_149_div_35_label_13_Template","item_r163","_r165","ctx_r164","ctx_r166","TemplatePrepareComponent_ng_container_149_div_36_option_8_Template","_r174","drpItem_r169","ctx_r172","TemplatePrepareComponent_ng_container_149_div_37_div_10_li_6_span_4_Template","_r176","ctx_r175","TemplatePrepareComponent_ng_container_149_div_37_div_10_li_6_Template","ctx_r167","ctx_r177","TemplatePrepareComponent_ng_container_149_div_37_div_10_Template","_r183","ctx_r182","_r185","ctx_r184","ctx_r187","TemplatePrepareComponent_ng_container_149_div_38_div_10_Template","_r192","_r194","ctx_r193","ctx_r196","TemplatePrepareComponent_ng_container_149_div_39_div_10_Template","option_r200","TemplatePrepareComponent_ng_container_149_div_40_option_9_Template","option_r205","_r203","ctx_r206","TemplatePrepareComponent_ng_container_149_div_41_option_9_Template","itemlist_r212","ctx_r213","ctx_r211","_r216","ctx_r218","TemplatePrepareComponent_ng_container_149_div_42_option_8_Template","_r209","ctx_r220","_r210","TemplatePrepareComponent_ng_container_149_div_42_div_16_Template","itemoption_r231","itemoption_r232","itemoption_r233","addtionaloption_r234","_r236","ctx_r235","_r223","ctx_r237","TemplatePrepareComponent_ng_container_149_ng_container_43_option_10_Template","_r225","ctx_r238","TemplatePrepareComponent_ng_container_149_ng_container_43_option_20_Template","TemplatePrepareComponent_ng_container_149_ng_container_43_option_30_Template","ctx_r240","TemplatePrepareComponent_ng_container_149_ng_container_43_option_37_Template","_r244","ctx_r245","ctx_r246","_r241","ctx_r248","_r242","dateoption_r259","_r261","ctx_r262","TemplatePrepareComponent_ng_container_149_div_45_option_8_Template","_r266","_r263","ctx_r265","ctx_r267","_r264","ctx_r268","TemplatePrepareComponent_ng_container_149_ng_container_4_Template","TemplatePrepareComponent_ng_container_149_ng_container_5_Template","TemplatePrepareComponent_ng_container_149_ng_container_6_Template","TemplatePrepareComponent_ng_container_149_ng_container_7_Template","TemplatePrepareComponent_ng_container_149_ng_container_8_Template","TemplatePrepareComponent_ng_container_149_ng_container_9_Template","TemplatePrepareComponent_ng_container_149_ng_container_10_Template","TemplatePrepareComponent_ng_container_149_ng_container_11_Template","TemplatePrepareComponent_ng_container_149_ng_container_12_Template","TemplatePrepareComponent_ng_container_149_ng_container_13_Template","TemplatePrepareComponent_ng_container_149_ng_container_14_Template","TemplatePrepareComponent_ng_container_149_ng_container_15_Template","TemplatePrepareComponent_ng_container_149_ng_container_16_Template","TemplatePrepareComponent_ng_container_149_ng_container_17_Template","_r272","TemplatePrepareComponent_ng_container_149_div_22_Template","TemplatePrepareComponent_ng_container_149_div_23_Template","TemplatePrepareComponent_ng_container_149_div_24_Template","TemplatePrepareComponent_ng_container_149_div_25_Template","TemplatePrepareComponent_ng_container_149_div_26_Template","TemplatePrepareComponent_ng_container_149_div_27_Template","TemplatePrepareComponent_ng_container_149_div_28_Template","TemplatePrepareComponent_ng_container_149_div_29_Template","TemplatePrepareComponent_ng_container_149_div_30_Template","TemplatePrepareComponent_ng_container_149_div_31_Template","TemplatePrepareComponent_ng_container_149_div_32_Template","TemplatePrepareComponent_ng_container_149_div_33_Template","TemplatePrepareComponent_ng_container_149_div_34_Template","TemplatePrepareComponent_ng_container_149_div_35_Template","TemplatePrepareComponent_ng_container_149_div_36_Template","TemplatePrepareComponent_ng_container_149_div_37_Template","TemplatePrepareComponent_ng_container_149_div_38_Template","TemplatePrepareComponent_ng_container_149_div_39_Template","TemplatePrepareComponent_ng_container_149_div_40_Template","TemplatePrepareComponent_ng_container_149_div_41_Template","TemplatePrepareComponent_ng_container_149_div_42_Template","TemplatePrepareComponent_ng_container_149_ng_container_43_Template","TemplatePrepareComponent_ng_container_149_div_44_Template","TemplatePrepareComponent_ng_container_149_div_45_Template","TemplatePrepareComponent_ng_container_149_div_46_Template","ctx_r274","TemplatePrepareComponent_ng_container_149_div_51_Template","TemplatePrepareComponent","signatureControlRequiredForStaticTemplate","isTemplate","isTemplateSaveDropdown","routeEnvelopeQueryParam","routeEnvelopeId","originalSourceType","getTemplateDetails","templateCode","isStatic","roleList","roleDetails","roleTypeID","roleName","isAutoSave","isValidateSignatureAndEmail","isStaticLinkDisabled","IsAllowMultiSigner","allowMultiSigners","Source","IsAutoSave","EnvelopeTypeId","statusMessage","returnURL","saveAndContinue","Stage","encryptedEnvelopeID","getTemplateOrEnvelopeClass","openTemplateSaveDropdown","closeTemplateSaveDropdown","i15","TemplatePrepareComponent_p_15_Template","TemplatePrepareComponent_p_16_Template","TemplatePrepareComponent_p_17_Template","TemplatePrepareComponent_p_18_Template","TemplatePrepareComponent_li_47_Template","TemplatePrepareComponent_div_100_Template","TemplatePrepareComponent_li_101_Template","TemplatePrepareComponent_li_112_Template","TemplatePrepareComponent_div_117_Template","TemplatePrepareComponent_li_129_Template","TemplatePrepareComponent_div_130_Template","TemplatePrepareComponent_div_142_Template","TemplatePrepareComponent_ng_container_149_Template","TemplatePrepareComponent_div_150_Template","AuthenticationApiurls","AuthenticateUserV3","ResetPassword","RegisterUser","AuthenticationService","validateLogin","updatePassword","registerUser","language_r2","selectedLanguage","UserHeaderComponent","authenticationService","languages","onLanguageChange","signupClick","onSigInClick","UserHeaderComponent_option_12_Template","UserHeaderComponent_div_13_Template","LoginComponent","isPasswordVisible","userPassword","GoogleCaptchaSiteKey","isCaptchaValid","signInForm","Validators","minLength","rememberMe","rememberPassword","togglePasswordVisibility","onSignupClick","recaptchaCallback","captchaResponse","onSigInSUbmit","invalid","emailAddress","password","jwtEnabled","browserName","userObject","accessToken","usersettings","state","RegisterComponent","rsignRegisterForm","phoneNumber","pattern","reTypePassword","userFirstName","userLastName","userTimeZone","termsAndCondition","requiredTrue","onSigUpSUbmit","registerUserObj","emailId","comparePassword","language","timeZone","ipAddress","onSignInRedirect","ForgotPasswordComponent","forgetPasswordForm","onSendMeLink","SettingConstants","ExpiryTypeList","description","DateFormatList","SendReminderInDisplayOption","ThenSendReminderdropdown","SendFinalReminderdropdown","AccessAuthenticationList","None","EndToEnd","SignerVerification","opt_r7","eday_r8","sendRemainder_r9","sendReminder_r10","sendReminder","accessOpt_r12","SettingDetailsComponent","authSerive","sidebarShow","settingConstants","dateFormatList","selectedDateFormat","expiryTypeList","selectedExpiryType","sendReminderInDisplayOption","thenSendReminderdropdown","thenSendReminder","accessAuthenticationList","accessAuthenticationType","accessPassword","handleLeftSectionDropdowns","isPopoverVisible","noButton","yesButton","initSettingsStepOne","expiresInID","setActiveandViewOnlySettings","onChangeAccessAuthList","placeHolder","accessPasswordEye","accessPasswordEyeStyle","accessPasswordEle","showPopover","hidePopover","openLearnMore","initializeLeftSectionDropdownInStepOne","dropDownIndex","toggleClasses","SettingDetailsComponent_option_15_Template","SettingDetailsComponent_option_28_Template","SettingDetailsComponent_option_42_Template","SettingDetailsComponent_option_56_Template","SettingDetailsComponent_option_70_Template","SettingDetailsComponent_option_84_Template","DocumentUploadComponent","onCheckDocumentUpload","onChange","files","fileSource","fileSize","loadGoogleDrive","loadDropBox","loadOneDrive","_r2","click","DocumentUploadComponent_div_33_Template","RuleComponent","tsoastrService","onCheckRule","RuleComponent_div_14_Template","TemplateGroupComponent","onCheckGroupTemplate","TemplateGroupComponent_div_14_Template","StepOneConstants","SubjectCannotBeBlank","MessageBodyCannotBeBlank","StepOneAPIS","GetConsumableListForEnvelope","StepOneService","getConsumableListForEnvelope","activeTabData","template_r2","isMasterSelected","onCheckboxChange","TemplateComponent","stepOneService","onCheckTemplate","templates","filteredTemplates","paginatedTemplates","selectedFilter","searchTerm","selectedType","itemsPerPage","currentPage","pageSizeOptions","selectedTemplates","totalItems","fetchTemplates","userData","buildUserData","totalTempRowsCount","TypeId","PageSize","SortBy","mapFilterToSortBy","Search","IsForTemplateAndRule","TemplateType","IntegrationType","EntityType","UserID","CompanyID","IgnoreTemplateId","applyFilter","updatePaginatedTemplates","onPageChange","pageIndex","pageSize","toggleTemplateType","t","TemplateComponent_mat_list_item_27_Template","TemplateComponent_div_30_Template","doc_r12","doc_r13","sourceName","doc_r14","showFileSize","i_r17","_r19","removeDoc","AddDocumentComponent","displayedColumns","docList","dataSource","MatTableDataSource","selectedDrive","onDriveClick","driveName","fileInput","sizeVal","formatBytes","decimals","dm","pow","toFixed","openModalPopup","popupType","dStatus","tStatus","rStatus","tgroupStatus","ontemplateGroup","AddDocumentComponent_mat_header_cell_37_Template","AddDocumentComponent_mat_cell_38_Template","AddDocumentComponent_mat_header_cell_40_Template","AddDocumentComponent_mat_cell_41_Template","AddDocumentComponent_mat_header_cell_43_Template","AddDocumentComponent_mat_cell_44_Template","AddDocumentComponent_mat_header_cell_46_Template","AddDocumentComponent_mat_cell_47_Template","AddDocumentComponent_mat_header_cell_49_Template","AddDocumentComponent_mat_cell_50_Template","AddDocumentComponent_mat_header_row_51_Template","AddDocumentComponent_mat_row_52_Template","ContactDetailsComponent","onContactDetailsComponent","ContactDetailsComponent_div_14_Template","DeliveryModeComponent","onDeliveryModeComponent","DeliveryModeComponent_div_14_Template","i_r19","selectedRecipients","row_r20","row_r24","_r26","openContactPopup","row_r28","country_r33","row_r31","countryCode","AddRecipientsComponent_td_22_mat_option_3_Template","countryCodes","row_r36","mobile","lang_r41","_r43","row_r39","AddRecipientsComponent_td_28_mat_option_3_Template","i_r46","_r48","removeRecipient","AddRecipientsComponent","recipients","addRecipient","updateTable","addMe","openDeliveryModePopup","AddRecipientsComponent_th_9_Template","AddRecipientsComponent_td_10_Template","AddRecipientsComponent_th_12_Template","AddRecipientsComponent_td_13_Template","AddRecipientsComponent_th_15_Template","AddRecipientsComponent_td_16_Template","AddRecipientsComponent_th_18_Template","AddRecipientsComponent_td_19_Template","AddRecipientsComponent_th_21_Template","AddRecipientsComponent_td_22_Template","AddRecipientsComponent_th_24_Template","AddRecipientsComponent_td_25_Template","AddRecipientsComponent_th_27_Template","AddRecipientsComponent_td_28_Template","AddRecipientsComponent_th_30_Template","AddRecipientsComponent_td_31_Template","AddRecipientsComponent_tr_32_Template","AddRecipientsComponent_tr_33_Template","UploadImageLogoComponent","imageUploadService","imageUploaded","onCheckuploadImageLogo","imageSelected","previewImage","selectedImage","maxFileSize","onFileSelected","reader","FileReader","onload","img","imgWidthEle","imgHeightEle","readAsDataURL","insertImage","onCKEditorReady","editor","ckEditorInstance","localImageUploadComponent","imgFile","saveFlag","imageUrl","emitImageUploaded","UploadImageLogoComponent_div_35_Template","ImageUploadService","openImageUploadSubject","openImageUpload$","imageUploaded$","openImageUploadModal","triggerOpenModal","AddSubjectComponent","signatureData","stepOneConstants","selectedMsgTemplate","editorData","selectedSignatureId","signatureDropdown","translanguageCode","CKEDITOR","editorConfig","resize_enabled","removePlugins","extraPlugins","toolbar","groups","items","enterMode","ENTER_BR","shiftEnterMode","ENTER_P","autoParagraph","on","instanceReady","evt","bind","insertHtml","onChangeMessageTemplate","onNextClick","myForm","messageSubjectEle","messageSubjectValue","valid","_r1","element_r14","element_r17","element_r20","additionalInfo","element_r23","assignedTo","element_r26","_r28","i_r30","_r32","removeRow","AttachmentRequestComponent","attachments","addRow","currentData","AttachmentRequestComponent_th_16_Template","AttachmentRequestComponent_td_17_Template","AttachmentRequestComponent_th_19_Template","AttachmentRequestComponent_td_20_Template","AttachmentRequestComponent_th_22_Template","AttachmentRequestComponent_td_23_Template","AttachmentRequestComponent_th_25_Template","AttachmentRequestComponent_td_26_Template","AttachmentRequestComponent_th_28_Template","AttachmentRequestComponent_td_29_Template","AttachmentRequestComponent_th_32_Template","AttachmentRequestComponent_td_33_Template","AttachmentRequestComponent_tr_34_Template","AttachmentRequestComponent_tr_35_Template","SendComponent","onSaveAsDraft","onNext","toggle","SendComponent_div_31_Template","PostForgotPasswordComponent","ResetPasswordComponent","newPassword","confirmPassword","passwordMismatch","passwordMatch","hasUpperCase","hasLowerCase","hasNumber","hasSpecialChar","hasMinLength","resetPasswordForm","onPasswordKeyup","CheckPasswordList","onResetPassword","oldPassword","resetCode","formIsValid","ResetPasswordComponent_i_13_Template","ResetPasswordComponent_i_14_Template","ResetPasswordComponent_i_19_Template","ResetPasswordComponent_i_20_Template","ResetPasswordComponent_i_25_Template","ResetPasswordComponent_i_26_Template","ResetPasswordComponent_i_31_Template","ResetPasswordComponent_i_32_Template","ResetPasswordComponent_i_37_Template","ResetPasswordComponent_i_38_Template","PostRegisterComponent","ReviewDetailsComponent","ReviewDetailsComponent_div_69_Template","DashBoardRowAppendDropdowns","HomeAPIS","GetDashboardSummary","GetDashboardDetails","GetEnvelopeHistoryByEnvelopeId","commonColumns","GenerateDashBoardActiveTableRows","inbox","drafts","sent","completed","deleted","waitingforothers","expiringsoon","DsahBoardRowEpxandData","HomeService","callactiveTabsRowDetails","callactiveTabsRowData$","callactiveTabsRowData","dashBoardObj","getDashboardSummary","activitySummary","getDashBoardDetails","getEnvelopeHistoryByEnvelopeId","ActivitySummaryComponent","envFilterDaysRange","defaultSelectedDays","onSelected","days","refreshDashboardSummary","dashBoardSummary","signed","signedPercentage","viewed","viewPercentage","pending","pendingPercentage","expired","expiredPercentage","completedTimes","avgTimes","DownloadExcelComponent","dashBoardExcelColumn","ExportTOExcel","paginator","startIndex","visibleRows","filteredData","SelectedAction","ExpandedData","rowdata","workbook","Sheets","Data","XLSX","json_to_sheet","SheetNames","excelBuffer","bookType","download","timeOut","defaultdexpiringDays","coldata_r21","element_r25","DashboardDetailsComponent_ng_container_11_th_1_Template","DashboardDetailsComponent_ng_container_11_td_2_Template","element_r27","toggleRowExpansion","expandedElement","setAllCheckboxesChecked","selection","hasValue","setSingleRowCheckboxSelection","stopPropagation","row_r32","opts_r38","_r40","DashboardDetailsComponent_td_20_mat_option_3_Template","dashBoardDropDown","dataNotFound","DashboardDetailsComponent","homeService","columnsToDisplay","SelectionModel","dashBoardExcelData","rowFormattedData","columnsWithSelect","sentTabActive","expiringSoonTab","expandedColumns","tabDetails","dashBoardRowData","inboxes","senderEmail","subject","envelopeStatus","recNames","createdDateTimeTimezoneStr","setActiveTabsRowData","col","From","Recipient","Status","Received","To","Sent","row","fetchExpandedData","EnvelopeCode","IsSequential","EnvelopeCodeDisplay","Completed","DocumentList","ActionType","RecipientNameList","AllRecipientNameList","RecipientsDetail","RecipientTypeID","DelegateTo","DelegateFrom","StatusDateTime","FormattedSentDate","IsAllowSignerstoDownloadFinalContract","EnvelopeEmailBody","DashboardDetailsComponent_ng_container_5_Template","DashboardDetailsComponent_ng_container_6_Template","DashboardDetailsComponent_ng_container_11_Template","DashboardDetailsComponent_th_13_Template","DashboardDetailsComponent_td_14_Template","DashboardDetailsComponent_th_16_Template","DashboardDetailsComponent_td_17_Template","DashboardDetailsComponent_th_19_Template","DashboardDetailsComponent_td_20_Template","DashboardDetailsComponent_tr_21_Template","DashboardDetailsComponent_tr_22_Template","DashboardDetailsComponent_div_23_Template","FolderComponent","dashboardFolders","createFolderonDashoboard","folderName","FolderComponent_div_18_Template","DashboardLeftsectionComponent","activeInboxTabs","activeTabText","aiAutolock","defaultDashBoard","sendTab","navigateByUrl","setActiveTab","tabs","activeTab","searchCol","sender","referenceCode","startDate","endDate","sortObj","sortCol","sortOrder","pagingObj","activePage","folderId","envelopeIds","modifiedDateTime","filters","filterOption","flag","envelopeStatusId","userTimezone","isFilterApplied","archivingWithInDays","allowUsersToDeleteValue","activeTabTextContent","waitingForYou","waitingForOthers","expiringSoon","updateDashBoardActivitySummary","DashboardComponent","rules","languageKeyText","masterTemplates","masterRules","userFolders","isDeleted","ActiveInboxDetails","setActiveTabText","tabtext","dashBoardActivitySummary","isLoadTempateLangAndOthers","isUpdateStatistics","DashboardComponent_div_8_Template","DashboardComponent_div_9_Template","DashboardComponent_div_10_Template","ViewSettingsComponent","onDownload","onPrint","modalId","modal","printContent","outerHTML","newWindow","write","close","print","ViewSettingsComponent_th_24_Template","envelopeCode","activityLogData_r2","lastUpdated","ViewActivityLogComponent_tbody_27_tr_1_Template","viewActivityLogData","ViewActivityLogComponent","standalone","ViewActivityLogComponent_tbody_27_Template","CommonModule","hiddenValues_r1","ViewControlsComponent","hiddenValuesData","viewControlsElement","loadHiddenValues","ViewControlsComponent_tr_20_Template","EnvelopesAPIUrls","DocumentPackageIndex","GetEnvelopesBySubmit","EnvelopesService","documentPackageIndex","getEnvelopesBySubmit","searchObj","getEnvelopeStatus","statusId","showToastrError","showToastrInfo","column_r2","selectColumn","selectedAvailableColumn","column_r5","selectedSelectedColumn","CustomColumnLayoutComponent","envelopesService","availableColumns","selectedColumns","mandatoryColumns","column","moveRight","moveLeft","moveUp","moveDown","save","every","CustomColumnLayoutComponent_li_17_Template","CustomColumnLayoutComponent_li_25_Template","CdkDetailRowDirective","expended","opened","appCdkDetailRow","tRef","vcRef","closest","render","createEmbeddedView","hostVars","toggleExpand","expandedRows","has","element_r29","element_r30","element_r31","EnvelopesComponent_mat_cell_66_i_2_Template","element_r34","element_r35","element_r36","element_r37","element_r38","noEnvelopesMessage","_r46","element_r40","getActiveTab","_r53","togglePopover","ctx_r55","ctx_r56","EnvelopesComponent_ng_template_86_div_82_Template","EnvelopesComponent_ng_template_86_table_84_Template","EnvelopesComponent_ng_template_86_table_85_Template","isSequential","EnvelopesComponent","eRef","cdr","renderer","selectedStatus","selectedTab","archivalMessage","sequenceActiveTab","model","Set","fromDateFilter","today","setHours","selectedDate","getDay","selectedFromDate","toDateFilter","selectedToDate","isExpandedRow","sequenceActiveTabs","loadUserData","clearFilters","_updateChangeSubscription","envelopeCodeDisplay","currentStatus","envelopeStatusDescription","expiryDate","isFinalDocLinkReq","isTransparencyDocReq","modifiedDate","templateKey","isDataMasked","totalRecords","userEnvelopeGridPreferencesModal","getEnvelopeData","pagesize","GetDataType","CompanyId","onSubmitEnvelopes","fromDate","toDate","showData","IsExportToExcel","envelopeArichiveData","filterValue","filterPredicate","getArchivalData","tab","customColumnLayoutElement","downloadEnvelopesData","popover","rect","getBoundingClientRect","scrollY","MatSort","MatPaginator","EnvelopesComponent_mat_header_cell_56_Template","EnvelopesComponent_mat_cell_57_Template","EnvelopesComponent_mat_header_cell_59_Template","EnvelopesComponent_mat_cell_60_Template","EnvelopesComponent_mat_header_cell_62_Template","EnvelopesComponent_mat_cell_63_Template","EnvelopesComponent_mat_header_cell_65_Template","EnvelopesComponent_mat_cell_66_Template","EnvelopesComponent_mat_header_cell_68_Template","EnvelopesComponent_mat_cell_69_Template","EnvelopesComponent_mat_header_cell_71_Template","EnvelopesComponent_mat_cell_72_Template","EnvelopesComponent_mat_header_cell_74_Template","EnvelopesComponent_mat_cell_75_Template","EnvelopesComponent_mat_header_cell_77_Template","EnvelopesComponent_mat_cell_78_Template","EnvelopesComponent_mat_header_cell_80_Template","EnvelopesComponent_mat_cell_81_Template","EnvelopesComponent_mat_header_row_82_Template","EnvelopesComponent_mat_row_83_Template","EnvelopesComponent_div_84_Template","EnvelopesComponent_ng_template_86_Template","EnvelopesComponent_div_108_Template","stat_r5","StatsComponent_mat_grid_tile_12_mat_card_header_2_Template","StatsComponent_mat_grid_tile_12_mat_card_header_3_Template","cardIndex_r6","card_r10","routes","component","PostResetPasswordComponent","StatsComponent","statsDetails","statsDetails2","firstRowCards","secondRowCards","getStatsDetails","onStatsSubmit","txtCompanyName","txtUserName","_r12","StatsComponent_mat_grid_tile_12_Template","StatsComponent_mat_grid_tile_14_Template","StatsComponent_div_16_Template","AppRoutingModule","RouterModule","forRoot","AppComponent","idleMaxTimerCount","idleCounter","sessionTimeoutVal","popupShowCounter","AllowSignersDownloadFinalContract","sessionTimeOutMinutes","idleTimerMinsValue","idleTimerSecondsValue","timer","timerWorker","Worker","showSessionExpireModalDailog","isSessionPopupOpen","noSignMeOutBtnClicked","handleIdleTime","yesKeepMeSignedIn","setInterval","getRefreshToken","postMessage","onmessage","noSignMeOut","checkIdleMaxTimerCount","addZero","sessionTimeReset","resumeTimer","refreshTokenModelDetails","tokenModelObj","EmailAddress","AuthToken","refreshToken","RefreshExpires","refreshExpires","AccessTokenExpires","accessTokenExpires","BrowserName","getBrowserName","IsFirstTime","userTokenModel","StatusMessage","agent","opr","chrome","AppComponent_div_30_Template","MaterialModule","MatButtonModule","MatCheckboxModule","MatDatepickerModule","MatDialogModule","MatFormFieldModule","MatIconModule","MatInputModule","MatListModule","MatMenuModule","MatPaginatorModule","MatProgressBarModule","MatRadioModule","MatSelectModule","MatSidenavModule","MatSliderModule","MatSnackBarModule","MatTableModule","MatToolbarModule","MatTooltipModule","MatChipsModule","MatAutocompleteModule","MatBadgeModule","MatDividerModule","MatExpansionModule","MatGridListModule","MatProgressSpinnerModule","MatTabsModule","MatNativeDateModule","MatSortModule","MatCardModule","recipient_r23","i_r24","ResizableDraggableComponent_ng_container_3_div_3_li_7_Template","updateSignerMultipleControls","openDependencyPopup","disableDependencyIconsClass","ResizableDraggableComponent_ng_container_3_span_9_i_3_Template","ResizableDraggableComponent_ng_container_3_span_9_i_4_Template","ResizableDraggableComponent_ng_container_3_div_3_Template","ResizableDraggableComponent_ng_container_3_span_4_Template","ResizableDraggableComponent_ng_container_3_span_5_Template","ResizableDraggableComponent_ng_container_3_span_6_Template","ResizableDraggableComponent_ng_container_3_span_9_Template","showUpdateSignerEditIcon","showHideDependenciesIconDisplay","_r39","setStatus","_r41","ResizableDraggableComponent","borderWidthDiff","borderHeightDiff","isHidden","showDepencieIcons","isShowAddIcon","box","ElementRef","controlTitle","parsedRecipientDetails","parsedRecipientColorDetails","loadBox","loadContainer","showHideDependenciesIcon","disableDependencyIcon","boxPosition","containerPos","mouseClick","clientX","clientY","onMouseMove","getTextType","resizable","handles","getResizeDirection","resize","updateNameOrTextLength","labelAutoAlignment","updateDependenciesToolTips","resCtrlId","leftAndTopPositions","handleDirection","onMouseOver","zIndex","recId","addDependencyIcon","onMouseLeave","toActive","onClickDroppedControl","isTooltipValue","isLength","nameorTextInputLength","isfixedwidthEle","checkIsFixedWidth","getControllingStyle","ctrlHoverOrSelected","dependencyCurrentControl","currentLabel","currentLabelSpn","currentLabelResize","labelSpanHeight","labelSpanWidth","labelDivWidth","labelDivHeight","mxCharVal","onDblClickDroppedControl","ResizableDraggableComponent_ng_container_3_Template","ResizableDraggableComponent_span_5_Template","ResizableDraggableComponent_div_6_Template","ResizableDraggableComponent_div_7_Template","ResizableDraggableComponent_div_8_Template","ResizableDraggableComponent_div_9_Template","ResizableDraggableComponent_div_10_Template","ResizableDraggableComponent_div_11_Template","ResizableDraggableComponent_div_12_Template","ResizableDraggableComponent_div_13_Template","ResizableDraggableComponent_span_14_Template","ResizableDraggableComponent_span_15_Template","ResizableDraggableComponent_input_16_Template","ResizableDraggableComponent_input_17_Template","ResizableDraggableComponent_div_18_Template","ResizableDraggableComponent_div_19_Template","AppModule","bootstrap","BsModalRef","imports","BrowserModule","FormsModule","ReactiveFormsModule","BrowserAnimationsModule","CKEditorModule","NgxColorsModule","CarouselModule","RecaptchaModule","ToastrModule","closeButton","progressBar","positionClass","preventDuplicates","newestOnTop","DragDropModule","ModalModule","HttpClientModule","__NgCli_bootstrap_1","bootstrapModule","catch","webpackContext","req","webpackContextResolve","__webpack_require__","o","Error","code","resolve","module","exports"],"sourceRoot":"webpack:///","sources":["./src/app/constants/common-constants.ts","./src/app/constants/common-apiurls.ts","./src/app/constants/translations.ts","./src/environments/environment.qa.ts","./src/app/services/services.error.ts","./src/app/services/session-storage.service.ts","./src/app/services/auth.service.ts","./src/app/services/api.service.ts","./src/app/services/translation.service.ts","./src/app/services/common.service.ts","./src/app/components/control/control.component.ts","./src/app/components/control/control.component.html","./src/app/modals/add-dropdown-list/add-dropdown-list.component.html","./src/app/modals/add-dropdown-list/add-dropdown-list.component.ts","./src/app/constants/resourcekeys.ts","./src/app/modals/view-setting/view-setting.component.html","./src/app/modals/view-setting/view-setting.component.ts","./src/app/services/control-html.service.ts","./src/app/services/control.properties.service.ts","./src/app/modals/add-dependencies/add-dependencies.component.html","./src/app/modals/add-dependencies/add-dependencies.component.ts","./src/app/modals/clearall-controls/clearall-controls.component.ts","./src/app/modals/clearall-controls/clearall-controls.component.html","./src/app/services/navigation.service.ts","./src/app/modals/discard-envelope/discard-envelope.component.html","./src/app/modals/discard-envelope/discard-envelope.component.ts","./src/app/modals/goto-step-one/goto-step-one.component.ts","./src/app/modals/goto-step-one/goto-step-one.component.html","./src/app/modals/keyboard-shortcuts/keyboard-shortcuts.component.ts","./src/app/modals/keyboard-shortcuts/keyboard-shortcuts.component.html","./src/app/components/contextual-menu/contextual-menu.ts","./src/app/modals/multi-branding/multi-branding.component.html","./src/app/modals/multi-branding/multi-branding.component.ts","./src/app/pipe/number-array.pipe.ts","./src/app/shared/pagination/pagination.component.html","./src/app/shared/pagination/pagination.component.ts","./src/app/modals/multiple-signer-update/multiple-signer-update.component.html","./src/app/modals/multiple-signer-update/multiple-signer-update.component.ts","./src/app/modals/initials-creation/initials-creation.component.html","./src/app/modals/initials-creation/initials-creation.component.ts","./src/app/components/group-controls-border/group-controls-border.component.ts","./src/app/components/group-controls-border/group-controls-border.component.html","./src/app/services/align-controls.service.ts","./src/app/services/default-control-style.service.ts","./src/app/services/cashed.service.ts","./src/app/services/undo-redo-stack.service.ts","./src/app/shared/header/header.component.html","./src/app/shared/header/header.component.ts","./src/app/shared/footer/footer.component.ts","./src/app/shared/footer/footer.component.html","./src/app/components/preview-view/preview-view.component.html","./src/app/components/preview-view/preview-view.component.ts","./src/app/components/recipients/recipients.component.html","./src/app/components/recipients/recipients.component.ts","./src/app/components/contextual-menu/contextual-menu.component.html","./src/app/components/contextual-menu/contextual-menu.component.ts","./src/app/components/contextual-menu/contextual-menu.directive.ts","./src/app/components/envelope-prepare/envelope-prepare.component.html","./src/app/components/envelope-prepare/envelope-prepare.component.ts","./src/app/components/initialize-prepare/initialize-prepare.component.html","./src/app/components/initialize-prepare/initialize-prepare.component.ts","./src/app/components/view-pdf/view-pdf.component.html","./src/app/components/view-pdf/view-pdf.component.ts","./src/app/components/global-error/global-error.component.html","./src/app/components/global-error/global-error.component.ts","./src/app/components/info/info.component.html","./src/app/components/info/info.component.ts","./src/app/components/template-prepare/template-prepare.component.html","./src/app/components/template-prepare/template-prepare.component.ts","./src/app/constants/authentication/authentication-apiurls.ts","./src/app/services/authentication/authentication.service.ts","./src/app/components/authentication/user-header/user-header.component.html","./src/app/components/authentication/user-header/user-header.component.ts","./src/app/components/authentication/login/login.component.ts","./src/app/components/authentication/login/login.component.html","./src/app/components/authentication/register/register.component.ts","./src/app/components/authentication/register/register.component.html","./src/app/components/authentication/forgot-password/forgot-password.component.ts","./src/app/components/authentication/forgot-password/forgot-password.component.html","./src/app/constants/step-one/setting-constants.ts","./src/app/components/step-one/setting-details/setting-details.component.html","./src/app/components/step-one/setting-details/setting-details.component.ts","./src/app/modals/step-one/document-upload/document-upload.component.html","./src/app/modals/step-one/document-upload/document-upload.component.ts","./src/app/modals/step-one/rule/rule.component.html","./src/app/modals/step-one/rule/rule.component.ts","./src/app/modals/step-one/template-group/template-group.component.html","./src/app/modals/step-one/template-group/template-group.component.ts","./src/app/constants/step-one/step-one-constants.ts","./src/app/services/step-one/step-one.service.ts","./src/app/modals/step-one/template/template.component.html","./src/app/modals/step-one/template/template.component.ts","./src/app/components/step-one/add-document/add-document.component.html","./src/app/components/step-one/add-document/add-document.component.ts","./src/app/modals/step-one/contact-details/contact-details.component.html","./src/app/modals/step-one/contact-details/contact-details.component.ts","./src/app/modals/step-one/delivery-mode/delivery-mode.component.html","./src/app/modals/step-one/delivery-mode/delivery-mode.component.ts","./src/app/components/step-one/add-recipients/add-recipients.component.html","./src/app/components/step-one/add-recipients/add-recipients.component.ts","./src/app/modals/step-one/upload-image-logo/upload-image-logo.component.html","./src/app/modals/step-one/upload-image-logo/upload-image-logo.component.ts","./src/app/services/image-upload.service.ts","./src/app/components/step-one/add-subject/add-subject.component.ts","./src/app/components/step-one/add-subject/add-subject.component.html","./src/app/components/step-one/attachment-request/attachment-request.component.html","./src/app/components/step-one/attachment-request/attachment-request.component.ts","./src/app/components/step-one/send/send.component.html","./src/app/components/step-one/send/send.component.ts","./src/app/components/authentication/post-forgot-password/post-forgot-password.component.ts","./src/app/components/authentication/post-forgot-password/post-forgot-password.component.html","./src/app/components/authentication/reset-password/reset-password.component.html","./src/app/components/authentication/reset-password/reset-password.component.ts","./src/app/components/authentication/post-register/post-register.component.ts","./src/app/components/authentication/post-register/post-register.component.html","./src/app/components/authentication/review-details/review-details.component.html","./src/app/components/authentication/review-details/review-details.component.ts","./src/app/constants/home/home.ts","./src/app/services/home/home.service.ts","./src/app/components/home/activity-summary/activity-summary.component.ts","./src/app/components/home/activity-summary/activity-summary.component.html","./src/app/components/home/download-excel/download-excel.component.ts","./src/app/components/home/download-excel/download-excel.component.html","./src/app/components/home/dashboard-details/dashboard-details.component.html","./src/app/components/home/dashboard-details/dashboard-details.component.ts","./src/app/modals/home/folder/folder.component.html","./src/app/modals/home/folder/folder.component.ts","./src/app/components/home/dashboard-leftsection/dashboard-leftsection.component.ts","./src/app/components/home/dashboard-leftsection/dashboard-leftsection.component.html","./src/app/components/home/dashboard/dashboard.component.html","./src/app/components/home/dashboard/dashboard.component.ts","./src/app/modals/envelopes/view-settings/view-settings.component.html","./src/app/modals/envelopes/view-settings/view-settings.component.ts","./src/app/modals/envelopes/view-activity-log/view-activity-log.component.html","./src/app/modals/envelopes/view-activity-log/view-activity-log.component.ts","./src/app/modals/envelopes/view-controls/view-controls.component.html","./src/app/modals/envelopes/view-controls/view-controls.component.ts","./src/app/constants/envelopes/envelopes.ts","./src/app/services/envelopes/envelopes.service.ts","./src/app/modals/envelopes/custom-column-layout/custom-column-layout.component.html","./src/app/modals/envelopes/custom-column-layout/custom-column-layout.component.ts","./src/app/directives/cdkDetails/cdk-detail-row.directive.ts","./src/app/components/envelopes/envelopes.component.html","./src/app/components/envelopes/envelopes.component.ts","./src/app/components/stats/stats.component.html","./src/app/app-routing.module.ts","./src/app/components/authentication/post-reset-password/post-reset-password.component.ts","./src/app/components/authentication/post-reset-password/post-reset-password.component.html","./src/app/components/stats/stats.component.ts","./src/app/app.component.html","./src/app/app.component.ts","./src/app/material.module.ts","./src/app/components/resizable-draggable/resizable-draggable.component.html","./src/app/components/resizable-draggable/resizable-draggable.component.ts","./src/app/app.module.ts","./src/main.ts","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["export class CommonConstants {\r\n public static TokenType: any = 'Bearer ';\r\n public static DiscardEnvelopeFailed: any = 'Error while discarding envelope.';\r\n public static UserPlanFailed: any = 'Unable to get user plan details.';\r\n public static TokenValidatedMsg: any = 'Token not validated.';\r\n public static SessionTimedOutMsg: any = 'Session time ended. Redirecting ...';\r\n public static PrefillNotation: any = \"(P)\";\r\n public static AppKey: any = \"esignapp\";\r\n\r\n public static DragItems: any = [\r\n {\r\n title: 'Signature',\r\n originalTitle: 'Signature',\r\n id: 1,\r\n guid: 'E294C207-13FD-4508-95FC-90C5D9C555FA',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M16 16H0v-1h16zM13.8.3c.4.4.4 1 0 1.4L11 4.5c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4L12.4.3c.3-.4 1-.4 1.4 0zM1.4 9.9 0 14.1l4.2-1.4z',\r\n svgPath2: 'M4.9 12 11 5.9l.5-.5.9-.9c.4-.4.4-1 0-1.4L11 1.7c-.4-.4-1-.4-1.4 0l-.9.9-6.6 6.6L4.9 12z',\r\n svgPath3: '',\r\n langGuid: 'bc8d52d8-c6a9-43c6-b578-84c03bbf8024'\r\n },\r\n\r\n {\r\n //title: 'Initials', originalTitle: 'Initials',\r\n title: 'NewInitials', originalTitle: 'Initials',\r\n id: 2,\r\n guid: 'BBB41561-0426-4D1F-9887-15D7DFC7C5A2',\r\n viewBox: '0 0 134 132',\r\n svgPath1: 'M18.5 63c0 22.3.1 31.4.2 20.3.2-11.2.2-29.4 0-40.5-.1-11.2-.2-2.1-.2 20.2z',\r\n svgPath2: 'M17.4 108.4c-.3.8-.4 2.7-.2 4.3l.3 2.8h99v-8l-49.3-.3c-41.9-.2-49.3 0-49.8 1.2zm98.6 3.1v3.5H18v-7h98v3.5z',\r\n svgPath3: 'M19 63.5V103h9V66h11.8l6.8 18.5 6.9 18.5h9.3l-6-15.3c-9.8-24.9-9.4-21.8-4.1-26.2 11.7-9.7 10.1-28.4-2.9-34.9-4.8-2.4-6.2-2.6-18-2.6H19v39.5zm26.8-30.6c3.6 1.9 6.2 7 6.2 12.1 0 9.6-5.3 14-16.6 14H28V31.1l4.3-.3c5.2-.4 10.4.4 13.5 2.1zm39.7-7.2C74.8 31.3 71 43.8 77.1 53.6c1.1 1.8 6.4 6.5 11.7 10.4 15.9 11.6 16.1 11.7 16.8 15.6 1.7 9.1-3.7 15.4-13.1 15.4C84.7 95 80 90.1 80 82c0-2.9-.2-3-4.1-3h-4.1l.4 5.5c1.7 20.7 32.3 25.2 40.3 6 4.6-10.8 1.6-18.5-10-26.3-19.4-13.1-23-18.2-18.9-26.8 4.7-9.9 18.6-7.6 20.1 3.3.6 4.3.6 4.3 4.9 4.3 4.3 0 4.3 0 3.7-3.8-1.9-13.6-15.5-21.5-26.8-15.5zM18 111.5v3.5h98v-7H18v3.5z',\r\n langGuid: '36d9a011-b2f9-477d-b5c3-9313677c3c12'\r\n },\r\n {\r\n // title: 'Date & Time Stamp', originalTitle: 'Date & Time Stamp',\r\n title: 'DateTimeStamp', originalTitle: 'Date & Time Stamp',\r\n id: 3,\r\n guid: '6AFCF199-51CB-4938-B106-AF8F24674C99',\r\n // viewBox: '0 0 16 16',\r\n viewBox: '0 0 512 512',\r\n // svgPath1: 'M14 2H2C.9 2 0 2.9 0 4v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM2 14V6h12v8H2zM3 0h2v2H3zm8 0h2v2h-2z',\r\n svgPath1: 'M236 230h40v40h-40z',\r\n svgPath2: 'M452 40h-24V0h-40v40H124V0H84v40H60C26.916 40 0 66.916 0 100v352c0 33.084 26.916 60 60 60h205.762a176.385 176.385 0 0 1-35.663-40H60c-11.028 0-20-8.972-20-20V188h432v42.099a176.43 176.43 0 0 1 40 35.663V100c0-33.084-26.916-60-60-60zm20 108H40v-48c0-11.028 8.972-20 20-20h24v40h40V80h264v40h40V80h24c11.028 0 20 8.972 20 20v48z',\r\n svgPath3: 'M377 242c-74.439 0-135 60.561-135 135s60.561 135 135 135 135-60.561 135-135-60.561-135-135-135zm0 230c-52.383 0-95-42.617-95-95s42.617-95 95-95 95 42.617 95 95-42.617 95-95 95z',\r\n langGuid: 'a022376b-9495-4eaa-8cfe-b3293618bebe'\r\n },\r\n {\r\n title: 'Name', originalTitle: 'Name',\r\n id: 4,\r\n guid: '582F9ACF-353F-4B99-90F4-333189D2D5C9',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M8 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c4 0 8 2 8 4v3H0v-3c0-2 4-4 8-4z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: '391ff1f4-6a14-4782-a7c9-0fa49f36a104'\r\n },\r\n {\r\n title: 'Title', originalTitle: 'Title',\r\n id: 5,\r\n guid: '82ECB881-E947-473C-BC93-E7D378928975',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M14.5 4H12V2c0-1.1-.9-2-2-2H6C4.9 0 4 .9 4 2v2H1.5C.7 4 0 4.7 0 5.5v8c0 .8.7 1.5 1.5 1.5h13c.8 0 1.5-.7 1.5-1.5v-8c0-.8-.7-1.5-1.5-1.5zM6 2h4v2H6V2z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: 'a17fc9d6-ca82-4e80-9f6b-9974aa1709f7'\r\n },\r\n {\r\n title: 'Company', originalTitle: 'Company',\r\n id: 6,\r\n guid: '7EFDBC3E-9F56-4532-9B73-16934C5CD0DD',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M2 0v16h4v-4h4v4h4V0H2zm4 10H4V8h2v2zm0-3H4V5h2v2zm0-3H4V2h2v2zm3 6H7V8h2v2zm0-3H7V5h2v2zm0-3H7V2h2v2zm3 6h-2V8h2v2zm0-3h-2V5h2v2zm0-3h-2V2h2v2z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: '78348d80-2c99-4c2a-9a19-3483966a5ad6'\r\n },\r\n {\r\n title: 'Email', originalTitle: 'Email',\r\n id: 7,\r\n guid: 'BB801D80-4EC8-4506-B080-A9980CE0AB1A',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M8 7.8 16 3c0-1.1-.9-2-2-2H2C.9 1 0 1.9 0 3v.1l8 4.7z',\r\n svgPath2: 'M8 10.2 0 5.4V13c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V5.3l-8 4.9z',\r\n svgPath3: '',\r\n langGuid: '982a95ab-6fe0-4764-a8e1-b5760121ccbc'\r\n },\r\n {\r\n title: 'Dropdown', originalTitle: 'Dropdown',\r\n id: 8,\r\n guid: 'DE56E81A-89AE-4D1B-8194-37D9A68A5191',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M4.5 5.6h7L8 10.9z',\r\n svgPath2: 'M13.7 2c.2 0 .3.1.3.3v11.4c0 .2-.1.3-.3.3H2.3c-.2 0-.3-.1-.3-.3V2.3c0-.2.1-.3.3-.3h11.4m0-2H2.3C1 0 0 1 0 2.3v11.4C0 15 1 16 2.3 16h11.4c1.3 0 2.3-1 2.3-2.3V2.3C16 1 15 0 13.7 0z',\r\n svgPath3: '',\r\n langGuid: '92ac70a4-9f89-4bbe-a819-3709353363d9'\r\n },\r\n {\r\n title: 'Checkbox', originalTitle: 'Checkbox',\r\n id: 9,\r\n guid: '2CE0EF43-5736-44B4-AC5C-08B2008DBEB9',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M13.7 2c.2 0 .3.1.3.3v11.4c0 .2-.1.3-.3.3H2.3c-.2 0-.3-.1-.3-.3V2.3c0-.2.1-.3.3-.3h11.4m0-2H2.3C1 0 0 1 0 2.3v11.4C0 15 1 16 2.3 16h11.4c1.3 0 2.3-1 2.3-2.3V2.3C16 1 15 0 13.7 0z',\r\n svgPath2: 'm13 5.5-1.4-1.4L6.7 9 4.4 6.8 3 8.2l3.7 3.7z',\r\n svgPath3: '',\r\n langGuid: 'a207142e-d7ab-4a43-9dd6-cc6164b93bf3'\r\n },\r\n {\r\n title: 'Radio', originalTitle: 'Radio',\r\n id: 10,\r\n guid: '2B02B483-B876-4483-92E4-63E6A5740A37',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M8 2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-2C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: '3ad53391-9106-4cef-bbc5-8e6a95565db3'\r\n },\r\n {\r\n title: 'Date', originalTitle: 'Date',\r\n id: 11,\r\n guid: '27A278AE-F886-4420-B0D1-0DCBAC62A867',\r\n viewBox: '0 0 34 34',\r\n // svgPath1: 'M14 2H2C.9 2 0 2.9 0 4v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM2 14V6h12v8H2zM3 0h2v2H3zm8 0h2v2h-2z',\r\n svgPath1: 'M29.6 2h-3v3c0 .6-.5 1-1 1s-1-.4-1-1V2h-16v3c0 .6-.5 1-1 1s-1-.4-1-1V2h-3C2.1 2 1 3.3 1 5v3.6h32V5c0-1.7-1.8-3-3.4-3zM1 10.7V29c0 1.8 1.1 3 2.7 3h26c1.6 0 3.4-1.3 3.4-3V10.7zm8.9 16.8H7.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8H10c.4 0 .8.3.8.8v2.5c-.1.5-.4.8-.9.8zm0-9H7.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8H10c.4 0 .8.3.8.8v2.5c-.1.5-.4.8-.9.8zm8 9h-2.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8h2.5c.4 0 .8.3.8.8v2.5c0 .5-.3.8-.8.8zm0-9h-2.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8h2.5c.4 0 .8.3.8.8v2.5c0 .5-.3.8-.8.8zm8 9h-2.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8h2.5c.4 0 .8.3.8.8v2.5c0 .5-.3.8-.8.8zm0-9h-2.5c-.4 0-.8-.3-.8-.8v-2.5c0-.4.3-.8.8-.8h2.5c.4 0 .8.3.8.8v2.5c0 .5-.3.8-.8.8z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: 'dfe91424-b65a-453c-a6ce-cb32c645b7ae'\r\n },\r\n\r\n {\r\n title: 'Text', originalTitle: 'Text',\r\n id: 12,\r\n guid: '76597505-F0DE-47EE-AF59-F721BE198242',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M7 2h2v12H7z',\r\n svgPath2: 'M2 2h12v2H2zm3 10h6v2H5z',\r\n svgPath3: 'M2 2h2v4H2zm10 0h2v4h-2z',\r\n langGuid: 'cb5f06cb-ffd6-4e4b-ad47-d2de3944dfdb'\r\n },\r\n {\r\n title: 'Label', originalTitle: 'Label',\r\n id: 13,\r\n guid: '9A0B1230-CDC4-49E7-AEEA-990F415FB89E',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M14 1H2C.9 1 0 1.9 0 3v10c0 1.1.9 2 2 2h10l4-4V3c0-1.1-.9-2-2-2zm-5 9H4V9h5v1zm3-2H4V7h8v1zm0-2H4V5h8v1z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: '735bf0e9-fc01-40a6-82a3-5a037a3ff9b5'\r\n },\r\n {\r\n title: 'HyperLink', originalTitle: 'Hyperlink',\r\n id: 14,\r\n guid: 'B731C98D-74C3-4983-BC06-A0DEF7C306F7',\r\n viewBox: '0 0 16 16',\r\n svgPath1: 'M8 14.8c-1.6 1.6-4.2 1.6-5.8 0S.6 10.6 2.2 9L10.3.9c1.2-1.2 3.1-1.2 4.2 0s1.2 3.1 0 4.2l-7 7c-.7.7-1.9.7-2.7 0s-.7-1.9 0-2.7L11.3 3l.8.8-6.5 6.5c-.3.3-.3.8 0 1.1s.8.3 1.1 0l7-7c.7-.7.7-1.9 0-2.7s-1.9-.7-2.7 0L3 9.8C1.8 11 1.8 12.9 3 14s3.1 1.2 4.2 0l7.5-7.5.8.8L8 14.8z',\r\n svgPath2: '',\r\n svgPath3: '',\r\n langGuid: '93d87429-c34a-4810-b3f1-570f6511bb26'\r\n }\r\n // ,{\r\n // title: 'Stamp', originalTitle: 'Stamp',\r\n // id: 15,\r\n // guid: 'B731C98D-74C3-4983-BC06-A0DEF7C306F7',\r\n // viewBox: '0 0 512 512',\r\n // svgPath1: 'M61 467v30c0 8.28 6.72 15 15 15h360c8.28 0 15-6.72 15-15v-30zM332.44 176.98c23.06-24.48 32.84-57.75 26.82-91.29C350.56 37.15 307.28 0 256 0c-51.87 0-94.68 37.77-103.26 85.69-6.02 33.54 3.76 66.81 26.82 91.29 15.61 16.58 21.39 37.79 23.49 52.66 4.41 31.27-5.07 54.9-16.96 72.36h139.84c-11.9-17.46-21.38-41.11-16.98-72.36 2.1-14.87 7.88-36.08 23.49-52.66zM466 437H46c-8.284 0-15-6.716-15-15v-15c0-41.355 33.645-75 75-75h300c41.355 0 75 33.645 75 75v15c0 8.284-6.716 15-15 15z',\r\n // svgPath2: '',\r\n // svgPath3: '',\r\n // langGuid: '93d87429-c34a-4810-b3f1-570f6511bb26'\r\n // }\r\n ];\r\n\r\n public static ControlsObj: any = {\r\n signatureProperties: false,\r\n initialsProperties: false,\r\n datetimeProperties: false,\r\n nameProperties: false,\r\n titleProperties: false,\r\n companyProperties: false,\r\n emailProperties: false,\r\n dropdownProperties: false,\r\n checkboxProperties: false,\r\n radioProperties: false,\r\n dateProperties: false,\r\n textProperties: false,\r\n labelProperties: false,\r\n hyperlinkProperties: false,\r\n stampProperties: false\r\n };\r\n\r\n public static ZoomPercentage: any = {\r\n zoomVal50: false,\r\n zoomVal75: false,\r\n zoomVal100: true,\r\n zoomVal125: false,\r\n zoomVal150: false,\r\n zoomVal175: false,\r\n zoomVal200: false,\r\n };\r\n\r\n public static Checkboxoptions: any = [\r\n { label: 'Small 16px X 16px', value: 1, viewValue: 'Small' },\r\n { label: 'Standard 18px X 18px', value: 2, viewValue: 'Standard' },\r\n { label: 'Large 20px X 20px', value: 3, viewValue: 'Large' },\r\n { label: 'Extra Large 22px X 22px', value: 4, viewValue: 'Extra Large' }\r\n ];\r\n\r\n public static Validationsoptions: any = [\r\n { label: 'Text', value: 1 },\r\n { label: 'Numeric', value: 2 },\r\n { label: 'Alphabet', value: 3 },\r\n { label: 'SSN', value: 4 },\r\n { label: 'Zip', value: 5 },\r\n { label: 'Date', value: 6 },\r\n { label: 'Email', value: 7 }\r\n ];\r\n\r\n public static ValidationsText: any = [\r\n { id: '1', label: 'Text', value: '26C0ACEA-3CC8-43D6-A255-A870A8524A77' },\r\n { id: '2', label: 'Numeric', value: 'B0443A47-89C3-4826-BECC-378D81738D03' },\r\n { id: '3', label: 'Alphabet', value: '88A0B11E-5810-4ABF-A8B6-856C436E7C49' },\r\n { id: '4', label: 'SSN', value: 'DCBBE75C-FDEC-472C-AE25-2C42ADFB3F5D' },\r\n { id: '5', label: 'Zip', value: '5121246A-D9AB-49F4-8717-4EF4CAAB927B' },\r\n { id: '6', label: 'Date', value: '8348E5CD-59EA-4A77-8436-298553D286BD' },\r\n { id: '7', label: 'Email', value: '1AD2D4EC-4593-435E-AFDD-F8A90426DE96' }\r\n ];\r\n\r\n public static AdditionalValidation: any = [\r\n { value: '1', viewname: 'Number' },\r\n { value: '2', viewname: 'Decimal' }\r\n ];\r\n\r\n public static AdditionalValidationType: any = [\r\n { value: '1', viewValue: 'Both',label: 'Both' },\r\n { value: '2', viewValue: 'Comma',label: 'Comma' },\r\n { value: '3', viewValue: 'Period',label: 'Period' }\r\n ];\r\n\r\n public static ValidationsZipOptions: any = [\r\n { label: 'Zip', value: '1', viewname: 'Zip' },\r\n { label: 'Zip + 4', value: '2', viewname: 'Zip + 4' }\r\n ];\r\n\r\n public static ValidationsDateOptions: any = [\r\n { label: 'mm/dd/yyyy', value: '1' },\r\n { label: 'dd/mm/yyyy', value: '2' },\r\n { label: 'yyyy/mm/dd', value: '3' },\r\n { label: 'dd-mmm-yyyy', value: '4' }\r\n ];\r\n\r\n public static Dateformat: any = [\r\n { value: '1', viewValue: 'US: mm/dd/yyyy', dateFormatId: 'E3DAD8D9-E16F-40F5-B112-BBA204538136' },\r\n { value: '2', viewValue: 'US: mm-dd-yyyy', dateFormatId: '9FC73C2B-34D7-42A1-B2A6-702ED2FD312B' },\r\n { value: '3', viewValue: 'US: mm.dd.yyyy', dateFormatId: 'BDA0023F-AFC1-46E5-A134-884EDCA48799' },\r\n { value: '4', viewValue: 'US: dd-mmm-yyyy', dateFormatId: '7F472F00-CD12-443E-B38D-085F8872115F' },\r\n { value: '5', viewValue: 'EU: dd/mm/yyyy', dateFormatId: '577D1738-6891-45DE-8481-E3353EB6A963' },\r\n { value: '6', viewValue: 'EU: dd-mm-yyyy', dateFormatId: '6685D1ED-60D2-4028-94E9-BC875C2E551D' },\r\n { value: '7', viewValue: 'EU: dd.mm.yyyy', dateFormatId: '374FE10E-4313-4541-B3CB-627310A14499' },\r\n { value: '8', viewValue: 'EU: yyyy.mm.dd.', dateFormatId: '8FAC284C-AB19-456C-BC73-1CE0D66D7220' }\r\n ];\r\n\r\n public static DateformatValue: any = [\r\n { value: '1', viewValue: 'mm/dd/yyyy' },\r\n { value: '2', viewValue: 'mm-dd-yyyy' },\r\n { value: '3', viewValue: 'mm.dd.yyyy' },\r\n { value: '4', viewValue: 'dd-mmm-yyyy' },\r\n { value: '5', viewValue: 'dd/mm/yyyy' },\r\n { value: '6', viewValue: 'dd-mm-yyyy' },\r\n { value: '7', viewValue: 'dd.mm.yyyy' },\r\n { value: '8', viewValue: 'yyyy.mm.dd.' }\r\n ];\r\n\r\n public static DefaultColorPicker: string = '#172b4d';\r\n\r\n public static ReceipentColorArr: any = ['#3ab16d', '#2486fc', '#ff9c16', '#9b870c', '#0000cd', '#002e63', '#7f00ff', '#367588', '#800080', '#00FF00', '#008080', '#0000FF',\r\n '#800000', '#FF0000', '#FFA500', '#FFFF00', '#808000', '#008000', '#FF7F50', '#BDB76B', '#FF4500', '#FFD700', '#8B008B', '#4B0082', '#000080', '#D2691E', '#A52A2A', '#87CEFA', '#4682B4',\r\n '#7FFFD4', '#00008B', '#BA55D3', '#FFDAB9', '#566D7E', '#AA6C39', '#3B9C9C', '#00CED1', '#8467D7', '#737CA1', '#045D5D', '#827839', '#728FCE', '#1F6357', '#A0522D', '#2F539B', '#123456',\r\n '#3090C7', '#14A3C7', '#659EC7', '#87AFC7', '#EED202', '#DA70D6', '#95B9C7', '#6495ED', '#EE9A4D', '#967BB6', '#6698FF', '#6667AB', '#C25283', '#56A5EC', '#AFDCEC', '#FCDFFF', '#9AFEFF',\r\n '#50EBEC', '#F0E68C', '#8EEBEC', '#22CE83', '#81D8D0', '#7BCCB5', '#FFE87C', '#66CDAA', '#93E9BE', '#01F9C6', '#8E7618', '#728C00', '#FBB117', '#08A04B', '#B5A642', '#FBD5AB', '#B1907F',\r\n '#EDC9AF', '#B041FF', '#E0B0FF', '#F3E8EA', '#FFF9E3', '#E238EC', '#FFCBA4', '#7E354D', '#E78A61', '#CC6600', '#654321', '#C58917', '#C8B560', '#FED8B1', '#B5EAAA', '#ADF802', '#00827F',\r\n '#93FFE8', '#3BB9FF', '#34282C']; //100 count\r\n\r\n //FFDAB9 -33\r\n public static ControlNameArray: any = {\r\n Sign: \"Sign\", Initials: \"newInitials\", DateTimeStamp: \"DateTimeStamp\", Name: \"Name\", Title: \"Title\", Company: \"Company\",\r\n Email: \"Email\", Dropdown: \"Dropdown\", Checkbox: \"Checkbox\", Radio: \"Radio\", Date: \"Date\", Text: \"Text\", Label: \"Label\", Hyperlink: \"Hyperlink\"\r\n , Stamp: \"Stamp\"\r\n }; //14 count\r\n\r\n public static ControlProperty: any = {\r\n Required: \"Required\", Bold: \"Bold\", Underline: \"Underline\", Italics: \"Italics\", FontType: \"FontType\", FontSize: \"FontSize\",\r\n FontColor: \"FontColor\", DateFormat: \"DateFormat\", ValidationType: \"ValidationType\", Length: \"Length\", NameLength: \"NameLength\",\r\n CheckRequired: \"CheckRequired\", PreSelected: \"PreSelected\", Size: \"Size\", IsDefaultRequired: \"IsDefaultRequired\",\r\n AdlnName: \"AdlnName\", AdlnOption: \"AdlnOption\", CheckboxGroup: \"CheckboxGroup\", FontTypeMeasurement: \"FontTypeMeasurement\", LabelControlValue: \"LabelControlValue\"\r\n };\r\n\r\n public static DependencyColorCodes: any = [\r\n { ID: 0, Color: '#00FFFF' }, { ID: 1, Color: '#9900CC' }, { ID: 2, Color: '#FF00FF' }, { ID: 3, Color: '#FFFF33' }, { ID: 4, Color: '#FF6666' },\r\n { ID: 5, Color: '#E18942' }, { ID: 6, Color: '#009999' }, { ID: 7, Color: '#99CCFF' }, { ID: 8, Color: '#993300' }, { ID: 9, Color: '#9966CC' }];\r\n\r\n // Toastr Messages\r\n public static CopiedTtoClipboard: string = 'Copied to clipboard.';\r\n public static DataIsSavedSuccessfully: string = 'Default values saved successfully.';\r\n public static DataIsRemovedSuccessfully: string = 'Default values removed successfully.';\r\n public static NoBrandingMessage: string = 'No branding is added or enabled in RPortal. Please contact your company administrator.';\r\n\r\n public static ReceipentListArr: any = [\r\n { id: '725CE971-7D65-4739-B7CB-863234267731', name: 'Smith Emily', order: 1 },\r\n { id: 'BB8C26BF-43B9-4FA6-8830-6F7C6F8CFD46', name: 'Johnsan Valle', order: 2 },\r\n { id: '179A3391-20F2-4C0D-AC22-BC8478537111', name: 'Diana Graft', order: 3 },\r\n { id: '785F6E8F-5A3D-4232-BDEB-665505824F00', name: 'Anderson lab', order: 4 },\r\n { id: 'C297FB2B-4707-4AD2-A929-F7E6160295BC', name: 'Butler Jus', order: 5 },\r\n { id: 'E76A9A14-80E0-40B7-83BF-DD64E5AF99C0', name: 'Smith Stevin', order: 6 },\r\n { id: '854F5C64-56A4-4C28-8DF1-8640EEA4F59A', name: 'Robinson Kale', order: 7 },\r\n { id: '73472421-A0BD-4455-B34F-0EF117384C1A', name: 'Jemes Chen', order: 8 }\r\n ];\r\n\r\n public static RuleConfig: any = [\r\n { ID: '1765014E-6611-4C9A-9268-833E7D853D1A', RuleText: 'Checked' },\r\n { ID: 'E6FC0258-FBD1-4B11-99A7-138193AF2E64', RuleText: 'Unchecked' },\r\n { ID: '2380C0B0-4A55-4B33-9E22-A93C55A78CC3', RuleText: 'Initialed' },\r\n { ID: '7B108AA4-B5F9-489D-930B-2AEB90811518', RuleText: 'Notinitialed' },\r\n { ID: 'B7101FBE-F33B-4FCD-A65F-9A44E5A8A354', RuleText: 'Signed' },\r\n { ID: '11B6EDCC-70A4-4EC9-AA57-BD7C59ABF9F8', RuleText: 'Unsigned' },\r\n { ID: '8E2B3EC5-6CD1-4F3E-8025-4FDC7D6E35E3', RuleText: 'SpecificText' },\r\n { ID: 'E8351007-1A7E-449C-B3FD-AFE619CFFA8D', RuleText: 'AnyText' },\r\n { ID: '68569338-7AEA-481F-988C-B70D13607E81', RuleText: 'ContainsText' },\r\n { ID: '0B069009-E271-4534-8C8B-21D876CC31DE', RuleText: 'Empty' },\r\n ];\r\n\r\n public static TextRuleConfig: any = [\r\n { ID: 'E8351007-1A7E-449C-B3FD-AFE619CFFA8D', RuleText: 'Any Text' },\r\n { ID: '8E2B3EC5-6CD1-4F3E-8025-4FDC7D6E35E3', RuleText: 'Specific Text' },\r\n { ID: '68569338-7AEA-481F-988C-B70D13607E81', RuleText: 'Contains Text' },\r\n { ID: '0B069009-E271-4534-8C8B-21D876CC31DE', RuleText: 'Empty' },\r\n ];\r\n\r\n public static CheckBoxRuleConfig: any = [\r\n { ID: '1765014E-6611-4C9A-9268-833E7D853D1A', RuleText: 'Checked' },\r\n { ID: 'E6FC0258-FBD1-4B11-99A7-138193AF2E64', RuleText: 'Unchecked' },\r\n ];\r\n\r\n public static ControlListArr: any = [\r\n { ControlId: 'E294C207-13FD-4508-95FC-90C5D9C555FA', ControlClassName: 'sign', ControlName: 'Signature' },\r\n { ControlId: '76597505-F0DE-47EE-AF59-F721BE198242', ControlClassName: 'text', ControlName: 'Text' },\r\n { ControlId: '582F9ACF-353F-4B99-90F4-333189D2D5C9', ControlClassName: 'name', ControlName: 'Name' },\r\n { ControlId: '82ECB881-E947-473C-BC93-E7D378928975', ControlClassName: 'title', ControlName: 'Title' },\r\n { ControlId: '7EFDBC3E-9F56-4532-9B73-16934C5CD0DD', ControlClassName: 'company', ControlName: 'Company' },\r\n { ControlId: '27A278AE-F886-4420-B0D1-0DCBAC62A867', ControlClassName: 'date', ControlName: 'Date' },\r\n { ControlId: 'BB801D80-4EC8-4506-B080-A9980CE0AB1A', ControlClassName: 'email', ControlName: 'Email' },\r\n { ControlId: '2CE0EF43-5736-44B4-AC5C-08B2008DBEB9', ControlClassName: 'checkbox', ControlName: 'Checkbox' },\r\n { ControlId: '9A0B1230-CDC4-49E7-AEEA-990F415FB89E', ControlClassName: 'label', ControlName: 'Label' },\r\n { ControlId: '2B02B483-B876-4483-92E4-63E6A5740A37', ControlClassName: 'radio', ControlName: 'Radio' },\r\n { ControlId: 'DE56E81A-89AE-4D1B-8194-37D9A68A5191', ControlClassName: 'dropdown', ControlName: 'Dropdown' },\r\n { ControlId: '6AFCF199-51CB-4938-B106-AF8F24674C99', ControlClassName: 'datetimestamp', ControlName: 'DateTimeStamp' },\r\n { ControlId: 'B731C98D-74C3-4983-BC06-A0DEF7C306F7', ControlClassName: 'hyperlink', ControlName: 'Hyperlink' },\r\n { ControlId: 'BBB41561-0426-4D1F-9887-15D7DFC7C5A2', ControlClassName: 'initials', ControlName: 'NewInitials' }\r\n ,{ ControlId: 'C731C98D-74C3-4983-BC06-A0DEF7C306F7', ControlClassName: 'stamp', ControlName: 'Stamp' }\r\n ];\r\n\r\n public static controllingFieldArray: any = [\"DE56E81A-89AE-4D1B-8194-37D9A68A5191\", \"2CE0EF43-5736-44B4-AC5C-08B2008DBEB9\", \"2B02B483-B876-4483-92E4-63E6A5740A37\", \"76597505-F0DE-47EE-AF59-F721BE198242\",]\r\n\r\n //Toastr warning messages\r\n public static hyperlinkWarningMessage: string = 'Please enter a URL in the format: https://www.domain.com in the hyperlink control.'\r\n}\r\nexport class Control {\r\n public static Text: string = '76597505-F0DE-47EE-AF59-F721BE198242';\r\n public static Label: string = '9A0B1230-CDC4-49E7-AEEA-990F415FB89E';\r\n public static Hyperlink: string = 'B731C98D-74C3-4983-BC06-A0DEF7C306F7';\r\n public static DateTimeStamp: string = '6AFCF199-51CB-4938-B106-AF8F24674C99';\r\n public static Checkbox: string = '2CE0EF43-5736-44B4-AC5C-08B2008DBEB9';\r\n public static DropDown: string = 'DE56E81A-89AE-4D1B-8194-37D9A68A5191';\r\n public static Radio: string = '2B02B483-B876-4483-92E4-63E6A5740A37';\r\n public static Date: string = '27A278AE-F886-4420-B0D1-0DCBAC62A867';\r\n public static Signature: string = 'E294C207-13FD-4508-95FC-90C5D9C555FA';\r\n public static Initials: string = 'BBB41561-0426-4D1F-9887-15D7DFC7C5A2';\r\n public static Company: string = '7EFDBC3E-9F56-4532-9B73-16934C5CD0DD';\r\n public static Name: string = '582F9ACF-353F-4B99-90F4-333189D2D5C9';\r\n public static Email: string = 'BB801D80-4EC8-4506-B080-A9980CE0AB1A';\r\n public static Title: string = '82ECB881-E947-473C-BC93-E7D378928975';\r\n public static Stamp: string = 'C731C98D-74C3-4983-BC06-A0DEF7C306F7';\r\n}\r\nexport class BehaviourRuleConfig {\r\n public static VisibleRequired: string = 'Visible & Required';\r\n public static VisibleNotRequired: string = 'Visible & Not Required';\r\n}\r\nexport class TextRuleCondtionsConfig {\r\n public static AnyText: string = 'E8351007-1A7E-449C-B3FD-AFE619CFFA8D';\r\n public static SpecificText: string = '8E2B3EC5-6CD1-4F3E-8025-4FDC7D6E35E3';\r\n public static ContainsText: string = '68569338-7AEA-481F-988C-B70D13607E81';\r\n public static Empty: string = '0B069009-E271-4534-8C8B-21D876CC31DE';\r\n}\r\n\r\nexport class ControlResourceKeys {\r\n public static Text: string = 'CB5F06CB-FFD6-4E4B-AD47-D2DE3944DFDB';\r\n public static Label: string = '735BF0E9-FC01-40A6-82A3-5A037A3FF9B5';\r\n public static Hyperlink: string = '93D87429-C34A-4810-B3F1-570F6511BB26';\r\n public static DateTimeStamp: string = 'A022376B-9495-4EAA-8CFE-B3293618BEBE';\r\n public static Checkbox: string = 'B5D83695-8B5B-4475-BAE0-0FC873C77DA1';\r\n public static DropDown: string = '81C0A7D6-88B4-4BB2-85C8-91F88022BB71';\r\n public static Radio: string = '582A741D-F1E4-4E2C-A81A-CA3D1407F0CF';\r\n public static Date: string = '0EAB0BE2-0420-4D2D-AC8E-34FF54A73A3A';\r\n public static Signature: string = 'D6BA71C2-91A4-41CE-ABE8-6AD9CD5F757A';\r\n public static Initials: string = '0F001FA1-C71F-490B-93CF-6E5A55ABAAD5';\r\n public static Company: string = '78348D80-2C99-4C2A-9A19-3483966A5AD6';\r\n public static Name: string = '391FF1F4-6A14-4782-A7C9-0FA49F36A104';\r\n public static Email: string = '982A95AB-6FE0-4764-A8E1-B5760121CCBC';\r\n public static Title: string = 'A17FC9D6-CA82-4E80-9F6B-9974AA1709F7';\r\n public static Stamp: string = 'D13FC9D6-CA82-4E80-9F6B-9974AA170957';\r\n}\r\n\r\nexport class ControlConfig {\r\n public static Existing: string = 'Existing';\r\n public static Duplicate: string = 'Duplicate';\r\n}\r\n\r\nexport class PasswordType {\r\n public static Select: string = '3702FE94-D7DB-45F4-86D7-8CC4791F7677';\r\n public static Endtoend: string = 'FC14F65B-6FE9-4211-90FB-A03F241A55BE';\r\n public static RequiredToOpenSigned: string = '5D8162DA-C7A7-40BE-9CF1-442FB2524CA3';\r\n public static SignerIdentity: string = '6F95605F-AC41-4423-99EB-4FA9B1C24EDE';\r\n}\r\n\r\nexport class FinalContractOptions {\r\n public static Aspose: Number = 1;\r\n public static FromImages: Number = 2;\r\n public static iText: Number = 3;\r\n}\r\n\r\nexport class SignatureRequestReplyAddress {\r\n public static SenderMailRpostNet: string = \"Sender's Email (@rsign.rpost.net)\";\r\n public static NoReply: string = 'no-reply@r1.rsign.net';\r\n}\r\n\r\nexport class RecipientType {\r\n public static CC: string = \"63ea73c2-4b64-4974-a7d5-0312b49d29d0\";\r\n public static Signer: string = 'c20c350e-1c6d-4c03-9154-2cc688c099cb';\r\n public static Sender: string = '26e35c91-5ee1-4abf-b421-3b631a34f677';\r\n public static Prefill: string = '712f1a0b-1ac6-4013-8d74-aac4a9bf5568';\r\n}\r\n\r\nexport class ActionTypes {\r\n public static Sign: string = \"Sign\";\r\n public static Review: string = 'Review';\r\n}\r\n\r\nexport class RSignStage {\r\n //Envelope\r\n public static InitializeEnvelope: string = \"InitializeEnvelope\";\r\n public static PrepareEnvelope: string = \"PrepareEnvelope\";\r\n //Draft\r\n public static InitializeDraft: string = \"InitializeDraft\";\r\n public static PrepareDraft: string = \"PrepareDraft\";\r\n //TemplateCreate\r\n public static InitializeTemplate: string = \"InitializeTemplate\";\r\n public static PrepareTemplate: string = \"PrepareTemplate\";\r\n //RuleCreate\r\n public static InitializeRule: string = \"InitializeRule\";\r\n public static PrepareRule: string = \"PrepareRule\";\r\n //TemplateEdit\r\n public static InitializeEditTemplate: string = \"InitializeEditTemplate\";\r\n public static PrepareEditTemplate: string = \"PrepareEditTemplate\";\r\n //RuleEdit\r\n public static InitializeEditRule: string = \"InitializeEditRule\";\r\n public static PrepareEditRule: string = \"PrepareEditRule\";\r\n //TemplateUse\r\n public static InitializeUseTemplate: string = \"InitializeUseTemplate\";\r\n public static PrepareUseTemplate: string = \"PrepareUseTemplate\";\r\n //RuleUse\r\n public static InitializeUseRule: string = \"InitializeUseRule\";\r\n public static PrepareUseRule: string = \"PrepareUseRule\";\r\n //Signing\r\n public static SignEnvelope: string = \"SignEnvelope\";\r\n public static UpdateAndResend: string = \"UpdateAndResend\";\r\n public static ProcessGroup: string = \"ProcessGroup\";\r\n}\r\n\r\nexport class Typography {\r\n //8px = 11pt\r\n //19pt = 14px\r\n public static SetTypography: any = { 8: '11', 10: '13', 11: '15', 12: '16', 14: '19', 16: '21', 18: '24', 24: '32', 36: '48', 48: '64', 60: '80' };\r\n public static GetTypography: any = { 11: '8', 13: '10', 15: '11', 16: '12', 19: '14', 21: '16', 24: '18', 32: '24', 48: '36', 64: '48', 80: '60' };\r\n}\r\n\r\nexport class EnvelopeType {\r\n public static Envelope: string = 'E6F16AED-8544-4DCC-AEB4-639478761F4A';\r\n public static Draft: string = 'E6D863B3-846D-4B05-9005-67A9DEF17BF6';\r\n public static Template: string = '3420959A-BAC9-4912-A9D2-5472BC08C27D';\r\n public static TemplateRule: string = '6B3650FA-D25F-4E31-AB0A-11AE71FEDFC1';\r\n public static MessageTemplate: string = 'ad63ab58-c067-4de9-ac14-c84c284e48b8';\r\n public static DocumentGroup: string = '37EE6ADC-78C5-44D5-BF6A-2A468DBBA531';\r\n}\r\n\r\nexport class NavigateURLS{\r\n public static StagingURL: string = \"https://app3.use.rsign.com/\";\r\n public static StagingSFURL: string = \"https://sfapp.use.rsign.com/\";\r\n public static StagingSignURL: string = \"https://sign.use.rsign.com/\";\r\n public static StagingIOURL: string = \"https://app.s1.rsign.io/\";\r\n public static StagingSFIOURL: string = \"https://sfapp.s1.rsign.io/\";\r\n public static ProdComURL: string = \"https://app.rsign.com/\";\r\n public static ProdOrgURL: string = \"https://app.rsign.org/\";\r\n public static ProdSFURL: string = \"https://sfapp.rsign.com/\";\r\n public static ProdSFOrgURL: string = \"https://sfapp.rsign.org/\";\r\n public static Localhost: string = \"http://localhost:10236/\";\r\n}\r\nexport class EmailAddressFormat {\r\n public static ValidEmail = /^(?!\\.)+(?!.*?\\.\\.)+([a-zåäöÅÄÖ\\d_!#$&%'*+-/=?^{}`|~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+(\\.[a-zåäöÅÄÖ\\d_!#$&%'*.+-/=?^{}`|~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+)*|\"((([ \\t]*\\r\\n)?[ \\t]+)?([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))*(([ \\t]*\\r\\n)?[ \\t]+)?\")@(([a-zåäöÅÄÖ\\d\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|[a-zåäöÅÄÖ\\d\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF][a-zåäöÅÄÖ\\d\\-._~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]*[a-zåäöÅÄÖ\\d\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])\\.)+([a-zåäöÅÄÖ\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|[a-zåäöÅÄÖ\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF][a-zåäöÅÄÖ\\d\\-._~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]*[a-zåäöÅÄÖ\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])\\.?$/i;\r\n}\r\n\r\n","export class ApiUrlConfig {\r\n public static DecryptValidateTokenUrl: string = 'api/v1/Auth/DecryptValidateToken';\r\n public static GetRedirectURL: string = 'api/V1/Envelope/GetRedirectURL';\r\n public static GetEnvelopeDetailsUrl: string = 'api/v1/Envelope/GetEnvelopeDetails';\r\n public static GetTemplateDetailsUrl: string = 'api/v1/Template/GetTemplateDetails';\r\n public static GetEnvelopeImages: string = 'api/v1/Envelope/GetImages';\r\n public static GetTemplateImages: string = 'api/v1/Template/GetImages';\r\n\tpublic static GetEnvelopeSettingDetailsUrl: string = 'api/v1/Envelope/GetEnvelopeSettingsDetails';\r\n public static GetTemplateSettingDetailsUrl: string = 'api/v1/Template/GetTemplateSettingsDetails';\r\n\tpublic static SendEnvelope: string = 'api/v1/Envelope/SendEnvelope';\r\n public static GetLanguageTranslationsUrl: string = 'api/v1/Auth/GetLanguageKeyDetails';\r\n public static GetUserPlanDetails: string = 'api/v1/User/GetUserPlanDetails';\r\n public static DiscardEnvelope: string = 'api/v1/Envelope/Discard';\r\n public static SaveAsDraftEnvelope: string = 'api/v1/Envelope/SaveDraftEnvelope';\r\n public static ViewPdf:string='api/v1/Pdf/ViewPdf';\r\n public static RefreshToken:string='api/v1/Auth/RefreshToken';\r\n public static OpenEnvelope: string = 'api/v1/Envelope/OpenEnvelope';\r\n public static SaveDefaultSettings: string = 'api/v1/Settings/SaveSettings';\r\n public static SaveAsTemplate: string = 'api/v1/Template/SaveTemplateOrRule';\r\n public static ViewTemplatePdf:string = 'api/v1/Pdf/ViewTemplatePdf';\r\n public static GetMultibrandingByCompanyId: string = 'api/v1/Settings/GetMultibrandingByCompanyId';\r\n public static GetEnvelopeDocumentImageDetailsUrl: string = 'api/v1/Envelope/GetDocumentImageDetails';\r\n public static GetTemplateDocumentImageDetailsUrl: string = 'api/v1/Template/GetDocumentImageDetails';\r\n}\r\n\r\nexport class NavigateUrlConfig {\r\n public static Home: string = 'Home/Index';\r\n public static Send: string = 'Envelope/EnvelopeIndex';\r\n public static Envelope: string = 'DocumentPackage/DocumentPackageIndex';\r\n public static Template: string = 'Template/Index';\r\n public static Settings: string = 'Settings/Index';\r\n public static Translations: string = 'Translations/Index';\r\n public static UserDetails: string = 'Settings/UserDetails';\r\n public static Stats: string = 'Home/Stats';\r\n public static LogOff: string = 'Account/LogOff';\r\n public static GetOutOfOfficeDetails: string = 'Settings/GetOutOfOfficeDetails';\r\n public static LogOn: string = 'Account/LogOn';\r\n public static DocumentPackage: string = 'DocumentPackage/DocumentPackageList';\r\n}","export class Translations {\r\n public static TranslationsObj: any =\r\n {\"c2a4afa8-ad47-4f3f-a705-0012a06ebf24\":\"Set automated reminders to prod busy signers.\",\"c86ca854-92a6-45da-adbb-004d464065f6\":\"Next\",\"cf1b673c-20a4-442a-91f8-0050c598348f\":\"Confirm files reviewed\",\"259bd804-d461-44de-a45a-0073d281bdb6\":\"Drag and drop signature file here\",\"ac9b5cbc-9214-4116-85fb-008567a3338d\":\"Are you sure want to delete option\",\"39b3a2fa-7c03-42f1-a097-0088a1781673\":\"Enter Job Title\",\"1b4c429d-f3fd-4f58-95ba-00b18d720583\":\"Action\",\"816d417a-b3b0-4a54-a738-00bd7b8c99ee\":\"Add recipients\",\"b952a746-8db2-470c-b53c-010a7e3d6d67\":\"Sign from RSign website\",\"0411f925-ee3a-436a-a94c-011548a8e38a\":\"Auto locked\",\"e7599cad-30c1-49ba-811b-014569a75e89\":\"Template Name\",\"65e0a063-bda0-4bc6-97ef-0173b00b28b6\":\"Document Password\",\"358298d1-59a7-41ab-b7b7-017d1221ce81\":\"Get Libraries\",\"0ab920a5-1b21-41b1-ab11-01895ef311f1\":\"When enabled, RSign™ displays \\\"Electronically Signed by:\\\" and envelope ID to indicate that it was electronically signed.\",\"8eb6bedb-2727-4b2b-adaa-018eaeaa8512\":\"Are you sure you want to decline the access request?\",\"189e5ae6-1aa9-4f5f-bf6d-01b69f6758b9\":\"Please select two or more Templates to create a Template group.\",\"9698ea13-8b85-497e-ae9b-01c1574de59d\":\"RSign: Access to document granted for 24 hours. Click the link below to access the document.\",\"306f60e2-ff4b-48e2-a528-02001ea7212f\":\"Multiple Emails are not allowed\",\"a1603172-ccd8-4844-9a29-02165ecb918f\":\"When enabled, users can send emails in bulk from the RSign™ homepage.\",\"6b4027a8-072c-4529-bb82-02315f27cace\":\"Allow Users to Delete Signed Contracts\",\"b9d51c87-87bb-4a0a-bb01-02360567e29f\":\"Session Expired. Please click on the email link again\",\"19e3e879-ef3e-45f0-88a0-025553006fab\":\"Enter Company Name\",\"f50ffa81-3992-43ce-9d80-0273f965bff9\":\"Access code required to open signed document\",\"29f725d7-0c91-433c-9141-02c5095176f6\":\"Envelope Status\",\"ff8b9ee8-ad55-4c68-8453-02cd7a3055c4\":\"Updated By\",\"363945cd-0687-4d74-87c0-02e5ec5ffe67\":\"No file was uploaded\",\"30db9e3d-f43f-4cd3-870c-03256d5a3395\":\"options\",\"6d65e856-6a61-480a-b7ab-03320e91ecb1\":\"Including one capital letter and one digit.\",\"8bfd205c-ac9c-4632-823a-034bd6763f46\":\"Name is required\",\"92a97526-adce-4bd2-89c2-037575173802\":\"Create account\",\"ebbf75fc-c885-4340-a373-037927c184c7\":\"Feature-Rich eSignatures, elegantly and easy, and surprisingly affordable!\",\"c344955e-874a-4b46-9ed0-03897dcc67fe\":\"Reject\",\"ed788190-a3cf-4385-bae4-038c91fd0f33\":\"Default Landing Page\",\"4c467266-fa37-4dc5-a7a9-039b904e8c8f\":\"Field is required\",\"71ca5feb-c532-4a43-8869-03b36fdfecc3\":\"Rejected by\",\"9da713af-2ea7-4536-a5a6-03c1bbf31908\":\"Select all\",\"05c07e4c-7265-4e95-ab07-03f48dc6bbb4\":\"Activity Assignation\",\"5ba869da-438a-4285-b50d-03fa48b286da\":\"Mode: View Only\",\"aa70a8d5-bca6-4914-8224-04232a689cc9\":\"Align Top\",\"e593bd02-c8ba-45de-8546-0441f6f146aa\":\"Dropbox\",\"5f0e321f-03ed-4f1f-8017-045c68bc36e3\":\"Invalid floating decimal number\",\"68fd5876-629c-49ed-ac72-0468dfeb0dbf\":\"Enable Recipient Language Selection\",\"258dbe19-9f81-4d8d-913f-0469ae78b324\":\"Preview\",\"0ecd9345-a042-4d42-b0c8-048a6dc4f2ae\":\"Loading Contacts\",\"9f9c6226-a319-4ed7-8a46-04977005521d\":\"Enable Enterprise Workflow Management\",\"e626aefb-4d77-4d23-96ff-04bf184c6979\":\"The size of the control can be increased by selecting and dragging the control from its right corner.\",\"a0bc5fec-b337-4b15-b8eb-04cac4f163a9\":\"Message Signature Text\",\"cb015116-7bf7-4c81-9194-05205241ff13\":\"Add Date to Signed Document Name\",\"1c9a5e6c-f79c-4e47-8ae8-05475a4a4508\":\"Please enter the exact email address of the user and click the search icon.\",\"0625327b-7dbe-47ff-ac01-0566fc2a34ef\":\"Request Access\",\"85a0417f-8888-417f-929a-058a9f006ed3\":\"RSign\",\"29ade289-ec1f-461a-aafd-0591f8f32fbe\":\"Enable Click to Sign\",\"2a03ef70-c758-4c3a-a28e-0596a0df6710\":\"To upload files, click\",\"7b5dd33d-6547-447d-8c9b-05a38c50e0cc\":\"Choose Image\",\"635e2e77-c49a-4f7f-9e69-05ab0fdb2d8f\":\"Requires each signer to enter an access code sent to their email or mobile before clicking on the submit button.\",\"f8b3af9c-9f7f-4270-998d-05f24a9b0f0c\":\"User is not registered with company. Cannot change usertype to admin\",\"9ded0eae-94d2-4edd-9c1f-06089261602c\":\"Reroutes electronic signature requests, electronic signature verification code, electronic signature password notifications.\",\"8a1a9e59-df7f-4be1-8512-063bef607c21\":\"De-Register\",\"83a42615-9388-4849-a5c0-06474e5e5ac8\":\"Manual\",\"f7626579-ebbf-492a-9ea0-0647bf08be63\":\"Are you sure you want to De-Register?\",\"0c77df44-b203-4d4a-9305-068cc8d03f2b\":\"DOCUMENT SECURITY & DRM\",\"4a2ec881-0fe2-4c06-a1b6-068eb958a1ac\":\"Address to reroute delivery emails\",\"7a21ff91-7c2a-4dd8-b515-069b645bb1c6\":\"Add Item Group\",\"a9f3f208-6481-46c4-b6f1-06a26750d9e5\":\"Someone is signing the envelope, so envelope cannot be updated.\",\"4867ae81-ec7b-49c9-8fed-06a2f8adb66c\":\"Click on this to go to Page 2/3 without saving current changes.\",\"1d2e6002-1e3e-40f1-bb42-06a4ba8f05e8\":\"Password Required\",\"1372287a-f6dd-49ba-ab90-06cad1eb6bc0\":\"False\",\"494a747a-2a41-4f23-aea3-06d12699d807\":\"The maximum emails you can send in this plan\",\"6ec5a6b7-84e9-475e-a3c1-06d3b9cd6625\":\"Recipient Role\",\"807a5edd-dc74-4730-b983-06e549cc068d\":\"Download the certificate of completion indicating the declined envelope by clicking the download icon or download it later from the Completed folder of your RSign account.\",\"4e9e254a-22ac-499c-b14a-06f5b531a9e4\":\"Envelope Rejected\",\"52986ede-182b-4cc4-86b8-07390707c53b\":\"eDOCS InfoCenter\",\"b7419c17-59b4-40ce-b8a4-074d30597012\":\"This setting captures the base address for API calls to get documents, upload documents, select folders, etc.\",\"da8fb791-2d44-4778-b4d9-07501625cdfd\":\"Copies sending confirmations.\",\"e21f27c8-1b02-483c-bb40-076190d5ad4e\":\"This envelope is archived. Please contact RSign customer support for more information.\",\"45ad3108-2229-4f74-ba93-077088f0d585\":\"Stamp Watermark onto Signers Completed Document\",\"505a7b89-a01c-485e-a342-077d8798f6e8\":\"Redo\",\"381076fe-7a67-4287-a510-078020e0c6c7\":\"Provided user is either Admin with another company or not registered with RPost.\",\"fa034064-961c-406b-9ace-07974408484a\":\"Country Code\",\"cc207874-d065-46ad-8c51-07b00bafa1eb\":\"Success\",\"5fe387e8-1304-49cf-a6b4-07b47a1fc3b3\":\"Accept and Sign\",\"72d31789-bcb4-49b5-8fca-07e952011c97\":\"Controlling Field\",\"d6254986-674b-467b-bd7a-0812046d99ad\":\"Displays an ID button when adding or editing a fillable control field that uniquely identifies them.\",\"4743e1d7-e9fb-472c-b455-0845e946cdae\":\"Email cannot resend.\",\"d189b69f-b75c-469d-a105-08494ee27e04\":\"No data to display\",\"4685685d-e170-405b-9e74-085bab9454f8\":\"Subject and Current Status are mandatory columns\",\"ae074e48-b69b-4e92-a6be-0864e66bc3c2\":\"Select the option you would like to perform and click Submit\",\"a1f67f2a-c9ac-4342-bd58-087a0148d2b9\":\"Sr.No.\",\"9a7abc49-9829-4a5e-9e9c-0883197b100a\":\"Uploading in progress\",\"b0a506af-f98c-49d6-a8fc-08bfa594b945\":\"The email address was not found in the envelopes sent during the past 60 days. Please increase the duration beyond 60 days from the dropdown below and search again.\",\"4faa67b6-3847-4b02-a122-08daf97ba966\":\"Terminated\",\"8b220555-ed98-4891-a0a6-08e58865af2d\":\"Your request has been approved.\",\"ef7ee932-45a8-4d24-8308-08eaf4417170\":\"Please select at least one signature type\",\"40f9bd65-7670-420e-a464-08ffca6e7210\":\"Displays a popup after signing the documents allowing signers to login to RSign™ to retrieve the final signed document or download it by clicking the download icon.\",\"e2f03764-2bdd-404f-ae83-090602b6cf8e\":\"Select a colour code to customize the appearance of the buttons on the new signer's interface.\",\"958ee23f-6e23-4aeb-8b8d-091934aee2d0\":\"Back\",\"c875780a-b5d9-4f60-87a1-0933b179fe09\":\"Open\",\"0f2f1b37-cb4b-4d46-9448-0965ade8a944\":\"Fixed Width\",\"aa072dc9-c2b4-4085-b4e6-097d893be651\":\"Download the final signed document by clicking the download button\",\"a4539c35-c491-4435-ba4c-09891fef2e77\":\"Numeric\",\"bd2861f5-3133-4701-9a85-09b45dec2a3f\":\"Save & Continue\",\"bee75fa4-6e22-453f-b1f5-09c4e64d66a2\":\"Mobile Number is required.\",\"3011b997-417a-4b26-bc4f-0a02cdbd76d2\":\"Period\",\"288b4a95-10ca-463c-a8d3-0a02e5e2e7d4\":\"Unsigned and Signed - Both the unsigned and signed PDF are emailed to the Cc recipient.\",\"f29e2be1-53c9-420e-b6c5-0a3242cb817d\":\"RSign: Access to document granted. Click the link below to access the document.\",\"237203b1-ebd0-425f-914f-0a3ac44f73cb\":\"Select the option you would like to perform and click submit\",\"f20ed49a-f9ce-4a38-9f88-0a481bc1b501\":\"Create Static Link for Template\",\"3047a16a-b81e-4a0b-84ba-0a5d8a065115\":\"Loading Columns\",\"ad8bdb06-7d28-4250-9af0-0a6b8549506e\":\"Path of the folder in iManage or NetDocuments where final signed documents should be stored.\",\"0c543830-76c8-4eb6-a2b4-0a73915fc5a0\":\"CC recipients email addresses should be unique.\",\"3331d5dd-e50e-454e-be8e-0a8a877930e4\":\"Client Secret\",\"404bb6e4-c6b2-4a8e-b46f-0aa37d5a5687\":\"Maximum value is\",\"3a57835b-8eb0-43b1-b1e3-0aa51e2ef5f2\":\"Copies declined electronic signature request.\",\"c5586342-7cc3-42cf-96d9-0aa744580566\":\"We’ve made it easy to access your signed record anytime, anywhere.\",\"e1707e32-2185-4a4a-93af-0ab48a3cda69\":\"Selected envelopes restored successfully\",\"40f9bccb-c636-4e76-9302-0abf6d5b552b\":\"Contacts\",\"30943731-7825-4d7c-b9fd-0ac04c7964cc\":\"API id\",\"4e4b4b48-d07c-49c3-bdee-0acc07da4e0a\":\"Loading Template data...\",\"3b527488-baa3-4373-8152-0adeec608cbf\":\"Please purchase an SMS add-on package to enable this feature.\",\"86e66ead-12f0-4fdb-8b95-0b5d114f95d6\":\"This action will permanently delete this envelope.\",\"cc6cae7e-99ca-4c5f-8a4b-0b63e4c964c2\":\"Please Enter Description For Attachment\",\"6549183c-75f4-4d9d-9996-0b801e9f6ae4\":\"Same Folder as the Original File Location\",\"4bf68076-bf6a-470d-9312-0b985f2193a5\":\"Webinars\",\"2ba2dc5b-32b5-4efd-90a8-0bb014a67ef7\":\"Originator Email Address\",\"cc76b3b1-9bfb-4690-8614-0bb32fa307cb\":\"Password is invalid\",\"26fbe34a-6a4b-442d-b353-0bbf5234444f\":\"Select Signature\",\"02db7641-a475-433b-bb88-0c3712a07d35\":\"File formats supported are xls, doc, ppt and pdf\",\"4a6aaa43-3279-4082-b2fb-0c5bd8c16f40\":\"Profile saved successfully\",\"82ef8edf-64d9-4203-8130-0c5dbdd673bf\":\"An SMS has been sent to your mobile number with an access code. Please locate the SMS, enter it below, and click Submit to continue.\",\"d2d38bd1-e1c3-48b8-8ece-0c917b011cb1\":\"Enable this feature to convert the checked-in signed document to the Official Version for the versioning signed documents in the NetDocuments.\",\"8a4589b4-7b1b-44b0-b0ad-0ce30d1eadc4\":\"Decline would terminate all documents that are in Pending status\",\"ad0ae861-4027-4913-ade6-0ce5fde93b22\":\"Button Color\",\"ff838bd8-d0c6-4347-9050-0ce7e4154b2d\":\"Notifications Only - Only notifications of sending and signing are emailed to Cc recipients, but not the PDF.\",\"fd33f192-fee5-485d-8389-0d019a761989\":\"Email sent successfully\",\"166f5919-7b0e-4a7e-916b-0d0811eb2d63\":\"Initials\",\"f09d694f-c854-47df-b5d9-0d23d1839507\":\"New envelope has been initialized.\",\"28453d53-a86e-4097-b9c6-0d6a171e8958\":\"Company Name already registered.\",\"663779fc-d693-4c10-8091-0d6c7eb2f4ba\":\"Setting Name\",\"040c1768-4ab3-41f5-8620-0d7b82c35e6b\":\"Select Contact\",\"ef529659-7036-4772-982c-0d7ef54a51f2\":\"RSign makes e-signatures simple with drag-and-drop document preparation, shareable templates, reporting, document access, and more. It has everything advanced users and administrators need in an e-signature service.\",\"645a3f42-1078-4aa8-9c01-0d8188b27fbb\":\"The current session has been idle for the past 20 minutes and will time out after the next 5 minutes. Please click the Continue button now to continue editing your document, or click Finish Later to continue editing the saved document later.\",\"66e777df-365d-4de4-9188-0da8eef29108\":\"Envelope Data\",\"6c9696ac-5bb5-41c0-bdc0-0dd3b06879aa\":\"Only visible to Super Admins. Once enabled, RSign™ displays the Webhook subtab. Company Admins can then add or edit webhooks to receive RSign™ event notifications, such as Envelope Status, Document Signed, Signer Status, and Envelope Completed.\",\"779b7fb8-a247-47d2-8b08-0ddd81fd2d37\":\"en\",\"ca55c39e-4446-4585-a408-0df17dee4a38\":\"Select the color theme to be applied on the new signers interface.\",\"86727ccf-011a-43be-b411-0e0e7a429c88\":\"Sequence Order is Incorrect as First Order Missing\",\"dbc21a45-fe01-41a7-800f-0e7bc7ed1149\":\"Audit Trail\",\"5d53e5ce-ad61-49b8-bb24-0e9a317cf638\":\"There are currently no items in the Drafts folder.\",\"a088af8b-f6f1-453a-891d-0e9b0bda9e36\":\"Enter Company\",\"786fa05c-0018-4f4c-b6b4-0f0dfaf25b2e\":\"Units Remaining\",\"2f3f7ad1-c571-4f0d-8887-0f2421d397c8\":\"Disable Download Option On Signers Page\",\"e1402a31-c813-4ea1-b14f-0f2979a97028\":\"Sign\",\"8aeea3a2-3183-4e26-8ed3-0f3d45750148\":\"Signed Document Re-Route Address\",\"1fa50861-ca0e-41dd-8a6f-0f3ece2458e3\":\"Signed Doc\",\"bee7c9e8-55fa-4ddd-9fdc-0f6e714a1c9e\":\"Defaults the 'Required' property to 'Yes' when the signature control is added to the document.\",\"f23a87ad-c34b-4856-9dee-0f741f7b64ed\":\"to review your information...\",\"0f8ae1a8-b2f5-46d7-871e-0f76e8d63e5f\":\"Default Signed Document Location\",\"ae84e713-2606-46f9-aa84-0f91fc0eaabf\":\"Signature\",\"391ff1f4-6a14-4782-a7c9-0fa49f36a104\":\"Name\",\"bbbaa225-9330-4200-a954-0fabab6c377f\":\"Default Font Size Measurement\",\"b5d83695-8b5b-4475-bae0-0fc873c77da1\":\"Checkbox\",\"3bbe8be3-4b62-42e7-8299-0fdca79b17f1\":\"Indicates how the signer receives the document for signing. The dropdown contains two values: Invitation Email, Inbox Only\",\"6b4597d8-ead8-4725-a689-0fed9d40e74d\":\"Signup to download the final signed document from the Completed folder of your RSign account.\",\"c74d4056-36f4-4be5-b6d9-0ffd50d9bc53\":\"Your request to access this document has been declined.\",\"a22ca1f9-f7ed-4412-9f55-1019105cd264\":\"Confirm Email Address\",\"4a8c6d07-f4ca-41b5-bcd1-102cae6615ae\":\"Templates\",\"f1098702-4bc8-40ce-acca-103246e668d5\":\"Select time zone\",\"e247d100-a697-44e4-aa95-104c988fcd04\":\"Download Final Document\",\"5143475f-2e29-4fe6-a061-10677239546c\":\"Success stories\",\"72aacb0a-f652-4f39-b4a2-106b21fc4a52\":\"Allows users to specify an email address where to send a copy of signed documents.\",\"c971aa23-fee1-4d69-91b0-10aa08cd4b8a\":\"SMS units exhausted. Unable to send message to the mobile. Please change delivery mode to Email.\",\"22b062b3-e204-47b5-b179-10ae944565d7\":\"Width\",\"d1fe87bd-d7e2-4797-a9ca-10c93bdf57bc\":\"Type 3 letters to search cabinets\",\"08156d3f-8197-4db3-b82e-11008376009d\":\"The contact does not have a country code or phone number. You will not be able to send messages on mobile. Are you sure you want to continue?\",\"1b1f8664-9269-46f2-87e9-11e52cfb8cc0\":\"Details\",\"3ef9abaa-8972-4f7d-ae84-121d2049237c\":\"Error occurred while retrieving templates.\",\"6c178e3c-69aa-4932-a352-122ea46290ca\":\"max\",\"374a1f92-0e4d-4b51-9579-123fe371d9a9\":\"Optional\",\"fd68ec1a-5b3b-48a6-82cf-126528d60363\":\"Enable Out of Office Mode\",\"31ade655-7050-41e6-8fdc-12875bcb19db\":\"Number of emails sent by you to date. One unit equals one email.\",\"14230ac4-78b0-4247-9ba3-12878317ce88\":\"Are you sure you want to cancel this transaction?\",\"d9c0bcda-b359-4a67-97d7-128bab99a523\":\"Send Invitation Email To Signer\",\"a91b4801-31c7-4280-baf6-12a086fcf2fd\":\"Shared Rule Code\",\"79761b5a-ba3d-4fc4-b997-12a554eb53d2\":\"Signed Document Copy Address\",\"de3d178a-e3a3-4607-b3fc-12aa42187b37\":\"Email resent to\",\"f8b977d4-467a-4223-b55a-12dd42a44072\":\"Email Verification\",\"3b1099db-a54b-4db9-89c7-13020ad13ee1\":\"Awaiting My Signature\",\"f4b6ac3b-006c-48d7-a085-13098a8818b3\":\"Contains Text\",\"1fa6128b-aa5d-4ded-acd4-13178c8e5412\":\"Enable this feature to store the final signed documents and signature certificates in your Vincere account.\",\"c1841288-a024-42c4-868c-134a33c92b2c\":\"Address\",\"dc10d115-5c0f-469b-b1f2-139e5373d958\":\"Default Signature set successfully\",\"3a49107f-bb94-4561-bbd6-13c74e9b05ff\":\"No envelopes were found with the given search criteria.\",\"275fa3a1-55ab-4b74-8e95-13ce30b08c24\":\"Vincere base URL of the integrated Vincere instance used. The expected format is: https://XXXXX.vincere.io.\",\"0ff8ad2a-c414-4a9d-bdc6-13d42a0ba723\":\"When enabled, RSign would restrict the sender, on the SEND tab, to select and add the contacts uploaded by their company's administrator. Sender's contacts uploaded in the SETTING->Contacts subtab would not be shown when they click the contacts icon in the add recipients table on the SEND tab.\",\"ca3d34fd-f0c3-41df-971c-13e602786ec6\":\"Drive\",\"bf785fe7-28b2-4e9f-b7df-142544f7d1d1\":\"Thanks\",\"6308473c-b431-4241-a588-142c5b69ca6a\":\"Please select an option\",\"25c87bae-b3d3-4a71-80e4-1450213f7276\":\"AI Auto Lock\",\"4253d8a9-2169-4080-9bae-146ab4789e6a\":\"Signing In\",\"60f32579-edc7-4ce7-a4b2-146cfce7bde7\":\"Select Color\",\"fc3a03d3-d98b-4258-a617-14804a25b595\":\"Forgot your password?\",\"74930bed-819c-4652-b13c-14c8d7b84a0b\":\"Are you sure you want to restore envelopes?\",\"ed6580c8-8278-4c51-b37d-14c9b16d44e1\":\"RClick Key\",\"df8e836b-8917-48a8-9863-14ce75033f5a\":\"Are you sure you want to delete the template with Template Name=\",\"2e0d2d91-7be2-4948-98e0-14e0259907fa\":\"Select at least one of the options of Allow Sharing of Templates/Rules to update settings\",\"72c42eb0-f203-4456-83db-14edb767dbdc\":\"Type Signature\",\"dab12bfb-6d5a-48d0-aed6-1521e2ed8802\":\"Same user as the original creator of the envelope\",\"08f02c00-cc7f-451a-920c-157eb7a36158\":\"Download and review the files attached and confirm that they are reviewed.\",\"1494f113-aa0a-4697-9510-158079af6d18\":\"Log in\",\"e3335b7f-1999-480a-8597-1597b33d82a2\":\"Invalid Date\",\"a4add2aa-6370-4a1e-a1ea-15c0ddc220ff\":\"Let's get started!\",\"a305e065-f8c5-4ebf-a7ff-15ea43845a56\":\"When enabled, text control fields assigned to the same signer with the same label will be auto populated for them after the first field is completed.\",\"7a4e788a-d0f3-475f-b8ce-1625f2185419\":\"Archiving Soon\",\"2822f398-5a1f-4e43-b7d0-163580cb7a0f\":\"Secure 20-digit code that the client web application should send to RSign during the web API calls.\",\"54ccaaef-a269-4963-8553-16565458ff1b\":\"Recipient\",\"58914dd3-ccf1-4af2-bc33-169c03206a79\":\"Defaults the delivery of e-signature request and access code to the option selected.\",\"f2a4c744-beb9-48ed-9c41-16ba46502b11\":\"Much More\",\"9acad4fb-b72a-46a9-9fbd-16d4f6b6ba4f\":\"Please enter required fields\",\"2391c14e-a914-4761-ba1e-16f27602b156\":\"This document has already been signed and returned to the sender.\",\"87c71d7a-888d-43b4-9389-171ce36213f7\":\"Envelope Deleted Successfully\",\"e937c40f-4572-40f3-b261-1736689cbc09\":\"Delete selected controls\",\"ad1d84ce-4adc-4b80-a8d0-17583cbf6f47\":\"Open the signed document attached or click the link below to view, download or print the signed document.\",\"48ee783e-dfdb-440e-991c-1762d5bc44a4\":\"Please check your email. Remember to look in your spam folder.\",\"ea1c0d3b-80a7-499c-95d3-17c5cea1e737\":\"Enable RClick\",\"3c8f88ea-839e-483d-9237-18306821978f\":\"Enter Last Name\",\"f4632619-f687-4cf9-b3fd-1830d8f4fdaa\":\"When enabled, it allows users to edit a rule after it has been created. This setting can be enabled only when the setting 'Allow Users to Create and Use Rules' is enabled.\",\"4f7d016d-14ab-4f7d-abff-183867e545bc\":\"Transaction Identifiers\",\"7113f77f-baa7-4a98-99f3-183cff9f76c0\":\"Access Denied.\",\"cbd33e2d-8f50-4a92-b934-183d03d0ee34\":\"Submit\",\"8f807bbb-29a1-4230-8656-1842057e7dcc\":\"RSign: Access to document granted for one-time use. Click the link below to access the document.\",\"2aee8212-e535-48dd-9c58-1849b4ed311a\":\"AI Auto Lock Activity\",\"c8b78d3b-623a-40c0-8976-185cb8039e38\":\"Pending Attachments\",\"985e933c-1b04-455b-a0af-18d8ca9150ab\":\"Logged in user's NetDocuments user name, and email are displayed.\",\"2b7f2dde-f94e-45fe-a795-1903df9a3912\":\"Reminder Email\",\"e8a2eb91-980e-4c0d-9431-19293dccdd19\":\"You must fill one of the following fields\",\"7691a71d-fa99-47d1-8e80-194339cc464d\":\"The system will apply the changes to the settings after re-login.\",\"8c91184d-447f-443f-9914-194f3ce03e42\":\"Radio Button\",\"eb327189-2d5d-4e58-9377-198365a7f439\":\"Shared Rule Name\",\"d74e8cd2-b5b3-4cf0-8ec4-19ad5ffb144f\":\"Files Reviewed\",\"e440bf9c-e8fa-4727-b5ca-19b9d463bbd0\":\"Signer Name\",\"fcaed700-04b8-41b9-aba3-19d2cef2265f\":\"Envelope drafted successfully\",\"0313fe81-7ee0-4271-b12d-1a2634d77b1e\":\". Please follow instructions in the email to change your password.\",\"acce125a-b620-4b8f-96f3-1a3ee7308f68\":\"Move\",\"2184af57-96f8-4f78-b0b9-1a42190df5fa\":\"Please select workflow.\",\"88694cd8-88c9-4a5c-bb06-1a5141c936e3\":\"Numeric only\",\"d6b591b8-6de3-4460-b48a-1a7c42ffb764\":\"Data Masking\",\"b0f7717e-b627-4aad-9d5c-1a8359bf494f\":\"Paste selected controls\",\"f10734c1-189f-4545-a2f0-1a8848ab1056\":\"Default Signature\",\"cf6892fc-e102-457a-b640-1a8b5faaaaf8\":\"Shared Template Name\",\"25624b46-dc6e-4d49-aa55-1ab32404b419\":\"Upload Signature\",\"333851f9-10d6-484a-83b6-1ab5a940ea26\":\"Message\",\"f54dea9b-e74e-4280-b543-1ac466c16a79\":\"I Agree\",\"12f9936d-8b5f-4633-864e-1b3d90297283\":\"Approximately \\\"Replace\\\" characters or control boundry.\",\"364e245f-fa63-4142-90fd-1b4d43ce3706\":\"Sign me in\",\"7dd50a01-1520-424f-a168-1b89c905b18a\":\"Personal Message Templates\",\"97bcde00-f341-4e4c-b3cf-1b91ea093f4b\":\"NOTE: You have selected a record from Vincere #entity. You can send an envelope to this record, or create or edit a template for Vincere #entity.\",\"553133c6-3d00-4de6-bc40-1ba68ef06d52\":\"Sign Document\",\"c2cb8495-bfba-4f89-aaac-1bb67a4e5207\":\"Declining Envelope\",\"181670b1-ba07-48e9-a5b7-1bbc585c96ca\":\"Resend\",\"b3f8dd41-ae77-47e0-8eff-1bc19b03ce5d\":\"The copy of this document will be sent to your email address when completed by all signers. You can also download or print using the icons above.\",\"aa572d60-f701-437d-902b-1bc8a4b4c16e\":\"Changes have been saved and would apply after re-login.\",\"6c159427-17df-4ab1-a717-1c091e9150ca\":\"The following message is copied to you by\",\"acc3d802-ec47-42a3-b049-1c47de76d80f\":\"Pending by\",\"7a35cd13-7d31-4007-a846-1c516f7111f7\":\"You are not authorised to sign this envelope. Please contact Sender.\",\"5b159333-a72b-4a05-b6d3-1c7c079e9772\":\"Activity\",\"2e5dd5d3-672b-493e-8a8a-1c83c1903b9c\":\"netdocuments\",\"c0aeba7a-84a8-4cbc-8965-1ca33208b22a\":\"Click here to sort by envelope subject\",\"d90e1dcf-8e8a-4daa-84d9-1cbe9c21ce8e\":\"Document Submitted\",\"9ffb6833-124b-4d47-b2ae-1d00394238c8\":\"Access Request Sent\",\"bc74be20-d79e-49e9-af09-1d27ebca78f0\":\"Specify who should receive the final signed document and signature certificate.\",\"fc9f6a02-7979-4660-bb6a-1d291440f3d7\":\"Service Plan\",\"f311a251-e8d3-4c0a-904d-1d467230b578\":\"Previous Data\",\"32ca8890-7461-4d00-aa28-1d49886ddc23\":\"Selected Brand Name\",\"32502d86-7080-4d47-b2fb-1d57b2819e01\":\"Draw\",\"65777238-dd71-4453-9d32-1d673b15dd5a\":\"Open the Envelope XML attached or click the link below to view, download the Envelope XML.\",\"c3f372f9-af7b-4fdf-bacb-1d687aca6c98\":\"Let’s go\",\"f1601df5-5c75-40b1-a648-1d76ee7cf592\":\"Choose Initials\",\"aee49ced-b361-450b-94b2-1d896fe9d18a\":\"This displays logged in user details including user name, email, iManage platform, iManage Version, and iManage Server URL.\",\"52258aae-cc2f-4ed1-b8fc-1d8dcdf177f2\":\"Checkbox Groups (optional)\",\"27fbe8c2-064b-4b06-ac29-1dbfed70fde3\":\"Specifies how many days or weeks before the document expiration date the recipient will be sent a reminder to e-sign.\",\"56fdb6a4-bd39-47ab-8935-1de34cd0accf\":\"Message Template Code\",\"632f68a2-5f8a-4744-a1fb-1de41b40587c\":\"Select Action\",\"b838349c-bd18-4933-9ea6-1dea92617d95\":\"View Document\",\"eded3e0c-d6cb-4e72-90b8-1e05b570cb4a\":\"Reroutes electronic signature carbon copy, expiration reminder, final document carbon copy.\",\"eb3e4bb9-ee79-4348-b11b-1e31cdcf5165\":\"Default Country Code\",\"7097bc1d-513d-4a51-a25b-1e5325932fae\":\"Select PMTA sever through which emails should be routed to the recipient.\",\"0fd9dabd-d58f-4e22-b4da-1e85abf2e760\":\"Company Name\",\"e9aa8151-b3c7-4be1-9ef9-1e8b05c816fd\":\"Open the signed document attached or click the link below to view, download or print the document.\",\"59812941-81c0-488a-861c-1eab6a5bb11c\":\"Different user\",\"113e2ba8-f40a-47cc-9384-1f1e8cb58368\":\"{0:MM/dd/yyyy HH:mm tt}\",\"345a6f27-05ac-4b5c-9651-1f2070d39740\":\"Add Me\",\"351645d0-b7ba-4880-b5f2-1f2c26f4a6fc\":\"Timeout Refresh\",\"faad2ada-0e04-4d3c-acda-1f4fb62b3c48\":\"An application error has occurred\",\"5a870858-6bb7-4ef9-8889-1f51a637d04e\":\"Text\",\"01501a6e-9b89-4ab1-ac82-1f5ed45be41a\":\"An error occurred\",\"8510ec25-a8a9-4979-ae5c-1f76a05eae60\":\"Please review your account information and plan details. If everything looks correct,\\r\\n please click on \\\"Continue\\\" button to start using the service. You only need to do this one time.\",\"79810927-83b8-4198-a038-1f8bd0303471\":\"UPGRADE\",\"d1c66038-8687-406a-811f-1f96470ecfad\":\"Activation Required!\",\"a8f2400b-7cc1-4415-b92c-1fc0a6d08007\":\"Updating user settings..\",\"c7f0ad86-06cc-42f5-8b33-1fd48954a1f9\":\"Note\",\"157139c6-ff15-454a-aaa3-1fe3bf6439fe\":\"Please set the Allow Rule Editing to No as Allow Users to Create and Use Rules is No\",\"b899bf6c-2bf4-4856-97c0-200de7dbbc35\":\"Already signed\",\"3a1044ca-0807-4857-a7a5-202ef6e748a7\":\"You will be logged out of the system.\",\"eb421bc0-73d6-4acd-a868-2051593b657c\":\"Hide Tags\",\"85965cf8-f230-42fa-b2e6-20518aa6c115\":\"Type your name\",\"85cd8d03-f493-4d1c-be70-2066e6ad5643\":\"Authentication Key\",\"e28556c2-e755-48f8-9c28-20845c302701\":\"My Plan\",\"b582c532-41d5-4ffe-afae-2086701ca87f\":\"Upload Image/Logo\",\"84bbeebe-1ce2-45d2-925f-20950274b4cb\":\"When sending an e-signature request, the sender receives a Sending Confirmation email from RSign™.\",\"5abd5325-304d-490f-a877-209a477be3ed\":\"Applied Epic provides an integration key to its customers to identify their vendors. Contact your Applied Epic representative to get the Integration key\",\"3bff00ab-8523-4167-bf3f-209abfdacdd2\":\"Shared Templates and Rules\",\"9042c47f-c8a9-4038-9dd6-20b4f06131e1\":\"ACTIVATION LINK\",\"696309f4-2e8d-4e3b-a5cf-20bdc0a9c7af\":\"Deleting the Role, controls assigned related to this role will also be deleted. Do you still want to delete the role?\",\"a1df25b9-f0a7-4d97-86d1-213706acdfdf\":\"Click here to edit profile\",\"96e9ea7d-13c9-47a7-9eca-214b7fbf662d\":\"Add Message\",\"a18eb82b-5e01-473f-ad69-2158d843983e\":\"When enabled, it allows users to embed the RSign signature block in their webpage.\",\"033b5f51-e04d-4316-83d3-217b612c573d\":\"Group Name should be only characters and numbers.\",\"dba7bff6-5bc4-4000-8cc1-21c3d937b10d\":\"Loading Data..\",\"a0900bf4-2439-47c9-af81-21c488be4503\":\"To enable the sign-in sequence checkbox, disable static templates and set the Sign-in sequence setting in SETTINGS-> Sending subtab to Active.\",\"573d1858-2cd8-44b5-8655-21de1d5e98b6\":\"Enter Text for Sender\",\"70867372-e374-499f-ad74-2239fccc01ee\":\"Enable this feature to store the final signed documents and signature certificate in your eDOCS account.\",\"6e16f07c-1761-4269-ac84-225527627cd2\":\"What's new and cool in RSign\",\"a02a4edc-13ff-4da2-b400-226f998f4434\":\"Link\",\"77458387-996c-46b8-86de-228a3e6bcd32\":\"Invalid file\",\"fda3a303-39eb-4569-b10d-22cbb3e53ec5\":\"signature-en\",\"b418aca3-0114-4bb3-b05e-2302c74cb791\":\"Please enter label text.\",\"8c158773-2426-4c59-becf-230b92bd447b\":\"Unshare\",\"4c13c666-b884-446b-b887-231095a6846a\":\"Expand\",\"15195a7c-7bb4-4e13-91bd-234717e5faf1\":\"Please select one or more Templates to\",\"3223a2b8-b98f-4f6f-a0ef-234aeae6d4a7\":\"Password\",\"e9cc051a-29f2-4ef9-b3ce-234afefd8dde\":\"Envelope Data (XML)\",\"ef3ee8c7-aff8-40d9-b1d3-236ff519fe4a\":\"Regenerate and send the final signed document\",\"b9cec1c9-9cc5-4cd4-a67c-23878a55fa37\":\"There are additional signers required to sign this document. Please click the ‘Invite Signers’ button to invite all the required signers to complete this document.\",\"24b7610c-989e-480e-ac85-238a1e9e51c7\":\"Assigned To\",\"e718ef8a-561d-44b9-82f1-238d4b9f997b\":\"resent to\",\"3bab1783-8249-4fe8-b36e-239803f5ef35\":\"Rule Version History\",\"2465b554-9531-43e7-a63d-23b0125a9ed3\":\"Loading RSign dashboard please wait...\",\"b7200d82-1d62-4b3e-b4a5-23bc2550a92a\":\"This text is automatically added to the bottom of the message text box displayed on the SEND tab, and is shown in the email sent to the signer.\",\"1de80ddf-57b9-418f-8db0-23c3cfec694d\":\"Your signatures are recorded. You will receive an email from RSign with instructions to access the signed document\",\"a4bfe463-f7dd-484f-8cfe-23d13ac78479\":\"Banner Color\",\"200b9721-e350-46c7-b31b-23d5e8d94dbf\":\"Template Group\",\"3d73da10-38a7-4f14-ab57-23d6915fa1d8\":\"This setting is visible only to super admins and should be used when the text on the documents is not rendering properly.\",\"58c4b043-85d6-4542-ac8f-23e0b69a4b89\":\"RSign: Your access request is declined.\",\"c71b874f-1eca-48a5-859a-23ee82fd4974\":\"RClick Id\",\"d4be3e6c-1aa3-4a6c-91a9-2468420ffed4\":\"Electronic Signatures Made Simple\",\"7985d3b9-3596-49bc-8c32-247e0a193bc5\":\"1px = 0.75pt\",\"4444f44a-9d7f-4a16-8b1e-24842e797fee\":\"Error occurred while retrieving recipients\",\"abf046e2-06cf-4e42-bf65-24a488446413\":\"Specifies if the Applied Epic activities created by RSign should be closed once the eSignature transaction is completed.\",\"65a22287-ed2c-4163-b5d2-24accd692863\":\"Personal\",\"38562864-fad1-410e-a54e-24b88d26cf1d\":\"Delegated by\",\"d3c56440-6a50-4259-b24e-24bd9a0693be\":\"Y\",\"e6326efe-e8fe-495b-9d0f-24c80ad83117\":\"Value already exists\",\"0aaf35c9-b823-4504-b203-25065af7ee4b\":\"This file type is invalid\",\"e2dc7642-7991-4795-ab8b-2521a7a200bd\":\"Name and Email fields are required\",\"ee0583ce-968e-4bcc-b32a-25252c31e152\":\"Hi\",\"8153a5aa-62e4-4e1e-a3af-252fed2a800f\":\"The envelope cannot be delegated to the email address, as the email address is already a part of the envelope.\",\"8c003c86-320c-4df7-8ce8-253cfc397bef\":\"Select Template\",\"c8c6f521-3ab4-4834-b9ca-253e0ef06337\":\"Banner Text Color\",\"230ab9f8-52ee-4f8b-924f-25839d9d4a4c\":\"Please Select Template.\",\"33c8d394-b5a9-4d8c-8032-259f4fcf99d0\":\"Your document has been sent.\",\"597e6e7e-888e-4f4e-914a-25ac8ab7a9a1\":\"Available Columns\",\"283a7b5d-edec-4908-8338-25c00c2898b2\":\"Aging\",\"f19ebf72-f694-4565-b008-25cfa06657b4\":\"Privacy\",\"dd2a2d57-cbf0-419f-8e48-25d449e313ed\":\"This envelope is declined, and is not available for signing.\",\"defbe49a-9589-4b67-98d7-26001f05db02\":\"Expiring within 6-days\",\"d8e1641e-1b0d-476c-8407-262268e45d13\":\"Error occurred while resending activation link.\",\"81b44929-b7d5-46d5-89d9-262a30cec5dd\":\"Allows senders to specify the name of the merged file or zip file when multiple documents are added to an envelope.\",\"74e81348-3f0d-409a-bff9-2640bcb99492\":\"Allows administrators to upload their company logo, displayed on the right side of the email banner.\",\"d5dd0c37-9eb3-4430-986c-26b15a487f52\":\"Do you want to remove the logo?\",\"f0e1dc46-f352-4d69-a2fe-26bc4740c96f\":\"Drafts\",\"e9efadac-3086-4b5c-8ee6-26bfd1be206f\":\"Note for Recipient\",\"35d17835-2468-430a-a5bb-2702d34bde45\":\"Friendlier to work with.\",\"1a5739e3-2870-4c6b-8ea8-271fb508fc64\":\"Effective Dates\",\"fbb25a2c-df10-4d31-afdd-27593fe63830\":\"Start Date\",\"049e8599-6c90-4df4-b82b-2778e989896b\":\"Allow Users to Use Rules\",\"079c808a-58bb-4395-bf3f-27f120302dbc\":\"You will be automatically logged out.Log in to complete the new language setting\",\"aa8644b1-f249-4393-8b24-27fb117e3109\":\"The document is no longer available to download. Please contact the sender for more information.\",\"1830c3ae-1ebf-49e1-8249-285342a73af1\":\"Email or SMS successfully sent.\",\"e1d5b882-a547-498c-ac7d-2872178ede78\":\"You will be logged out in\",\"0a065a6d-b244-4100-af87-28848df0bae3\":\"RSign Password Notice\",\"e408dd44-8006-4c03-9796-28944aef3e9f\":\"Invalid password\",\"02169a30-ac59-482a-8c9f-28c1c0465eb7\":\"Click here to download CSV to upload contacts\",\"074490b9-972a-41c6-974f-28d9aab5583d\":\"Now you can proceed and Click on submit to complete the signing\",\"66c9d9f0-ec72-4aec-8886-28f5701af892\":\"Legal Notice\",\"9fa748b8-dd24-41f1-8bd8-291708718c9e\":\"The logged-in user's eDocs username, InfoCenter server URL, and library are displayed.\",\"4439d035-d4a1-43a0-945f-291a42240733\":\"Sub Header Color\",\"527eda87-5534-4f68-8c0e-29459509f57a\":\"RSign will send a confirmation email to your email address or an SMS with a link to your mobile number, based on your selection below. Please locate the email or SMS and click the confirmation link to complete the signer's verification. RSign will invite other signers after you verify yourself.\",\"25d3dd1c-6200-409d-aa4d-297e43476158\":\"Return to login\",\"ad15db0d-85b0-45aa-97ac-2998d4e57dc0\":\"There are currently no shared templates\",\"f2635463-16de-4c38-bd24-2a0acc2360aa\":\"The envelope data is obfuscated. In addition, it prevents users from downloading documents except the initiator of the transaction and customer admins.\",\"78f254f2-6687-4729-8f50-2a2af57ee482\":\"Please\",\"c9b74143-3425-4544-9873-2a316b56ca12\":\"Remove reroute all option to add other options\",\"b4158b5a-2b68-4d1c-944d-2a9e9318e0cc\":\"An administrator changed your company information. Please review your account information and plan details listed below. If everything is looking correct, please click on the \\\"Continue\\\" button to start using the service. You only need to do this one time.\",\"daba451d-f985-42bf-9c2d-2af7c62f5996\":\"RSign Final Document\",\"87922e84-6f1c-430a-a23c-2b2e2cc6e087\":\"RSign eSign CC\",\"778b0409-cff0-4c62-9015-2b38d19525ad\":\"Prefill information is not complete on the envelope. Please complete the prefill information for further processing.\",\"f34056d4-4e41-4a08-a710-2b5373e5e047\":\"Good\",\"12b18d24-4726-40fb-aa06-2b7f2d52b637\":\"The envelopes with the status “Waiting for Signature” will appear in the deleted folder with an updated status “Transaction Cancelled” after deletion.

Are you sure you want to delete these envelopes?\",\"ccb8b51c-3a15-43a3-bcab-2bd942f0b541\":\"Address to reroute signature reminder emails\",\"44cdc1e6-1e05-439d-a106-2bf11201a1cc\":\"Length can be changed by resizing the textbox.\",\"f292001b-aa91-49e1-82dc-2bfcd0b9280d\":\"Required: To complete the process, check the SMS messages on your mobile and click the confirmation link in the SMS.\",\"dd5a6e8a-04f9-4cb1-8814-2c552b21cb7a\":\"Duplicate email address\",\"de3f7d3c-4887-4806-ac77-2c5e0d456aeb\":\"Terms & Conditions\",\"9cf517c6-eb48-496b-88ae-2c5e9afe85d1\":\"From Date:\",\"29f04a74-e857-403f-9994-2c70d42f144c\":\"Numeric\",\"5036967f-6516-43a2-91dd-2c7bbb6950f5\":\"Then send reminder every\",\"57c4f3df-4eda-420d-bdfc-2c7e0531be5f\":\"Provided email details are not matched email entered earlier. Close this browser tab and click the link again to continue.\",\"806105c9-4d67-4a32-9862-2c93f44b17da\":\"Document Hash\",\"1191ca87-3be6-439a-ac86-2ca6f07cd5f8\":\"Specifies how Applied Epic activities created by RSign will be assigned.\",\"c20c350e-1c6d-4c03-9154-2cc688c099cb\":\"Signer\",\"05166f76-b258-476c-908a-2cc76cacc89e\":\"Allow Users to Delete Original Documents\",\"4670fe7e-0df6-4234-964f-2cd6b7985373\":\"This mobile number\",\"4ee21c4e-c0d7-4267-9b54-2d18dd2897ee\":\"Data Controls\",\"1dfc1fa9-fc98-4ed1-b421-2d1c291bdfb6\":\"GENERAL SETTINGS:\",\"2aac8072-985d-478b-823f-2d4571bd204d\":\"Copies electronic signature carbon copy, expiration reminder, final document carbon copy.\",\"ef045314-31d0-4581-aba3-2d48c48983e8\":\"Header Color\",\"41b83da5-a96b-4968-b490-2d5714392437\":\"Message Signature name must be between 1-20 characters.\",\"05295426-130f-47e5-8d53-2d661b3b803f\":\"Company Name cannot be blank\",\"db1298ee-5fcc-4c5a-af15-2d671015d45b\":\"Requires Signer Verification\",\"ccef3a06-a0ce-4ffd-b4cc-2d8304e87353\":\"Copies electronic signature requests, electronic signature verification code, electronic signature password notifications.\",\"90fdbcfb-15ee-4ae7-a2c6-2db3ab0a5c30\":\"This document is already delegated\",\"363d9101-8682-41fc-8f6b-2df61bd78984\":\"Days Between Reminders\",\"c9b03242-f53c-406b-8cdb-2dfbe1b8496f\":\"Domain Name cannot be blank\",\"be86ea1c-698f-4dbb-91dd-2e0d4423cf4e\":\"Inbox\",\"9c07343e-11a8-4dfb-9c68-2e1d6334dffb\":\"Admin Email\",\"e91661bc-6f33-44ce-b86a-2e320e23983c\":\"Draw signature\",\"7b7767a6-117b-41b7-bde4-2e6d5c291667\":\"Selection of atleast one option is required\",\"01640738-fb59-4efa-874f-2e6dbab33f70\":\"The email entered here does not match with the email entered earlier. Close this browser tab and click the link again to continue.\",\"438f4cc9-47d8-40d6-898a-2e8f1f9e1f38\":\"True\",\"d9c0b425-df0e-434d-b47f-2ea414a2b36c\":\"Document Download\",\"39238eb3-fd49-4e8d-8b06-2eb5196571e5\":\"Please select controling field to save conditions\",\"e88d164c-fc11-4a31-a7d8-2ec06c6ee4f9\":\"account. Please log in to view it.\",\"db3f20ab-7654-4354-9d5a-2ec35449ddc1\":\"Duplicate email ids not allowed.\",\"06e9c7f1-c1eb-438a-95ce-2eca5e4d1c11\":\"Send a Confirmation Email to Validate First Signer\",\"1046f972-1a33-415b-8746-2ef40d5f217b\":\"Restricts envelope data access to only the sender of the e-signature request. Transaction data is hidden and no download option is displayed for non-senders.\",\"fe5bfe9a-386a-4100-8c78-2eff4b672670\":\"Invalid Email\",\"2b05b26e-825b-42c3-b73e-2f0d4851b94d\":\"User Signature text deleted successfully\",\"c4a8103a-573b-42a4-860e-2f33688a5050\":\"Invalid username or password\",\"f2b00780-00b9-4971-aa67-2f9bba73dc3d\":\"Static Template\",\"103975a3-efbc-480a-8f3f-2fc77df2bf7a\":\"Approved\",\"a264b5c8-53c9-482c-8dff-2fed0fd88e87\":\"RPost technologies.\",\"ac16b6a3-a21d-4510-a23a-300a066a809b\":\"Visit us at\",\"77429167-8afc-47a6-ab72-305ec0cccba3\":\"RSign Verification Code\",\"406a4102-85c7-4f45-a5fb-30746f88866c\":\"Read the blogs\",\"09eb67ba-4ff7-49aa-8728-3091428e6757\":\"Allow Users to Create and Use Rules\",\"ccc52bc4-49ae-4b89-8fcc-30a749e2c7f4\":\"Library\",\"f09aba05-c4bb-4383-b382-30ae01f812a4\":\"Upload Signature\",\"98b7b450-c67b-4989-83c6-30b6a67e544d\":\"Weak\",\"0f2bbe16-e8f5-4dd3-a109-30b6f060924d\":\"When enabled, the Out of Office Mode label appears in the header for the user.\",\"c1bf45d6-4da0-4f90-aa63-317b8ba15bac\":\"Check Out Comments\",\"013710ab-5eb8-488d-ae07-319854850f67\":\"Report\",\"a78aebb7-9848-4f2f-ace4-319afed2b1b7\":\"Transaction Name\",\"151498c4-dbd1-4976-9532-319db1bcf14d\":\"COMPLETE\",\"74c263de-af18-4cfe-88bf-31f0552bab0d\":\"Re-Send\",\"ffb00dc1-9994-4a70-8465-320b870b277b\":\"Envelope/Template Code\",\"7dda3a1d-ba8a-455f-a368-320ebee6e0c0\":\"Allow Template Post-Signing Landing Page\",\"0ba50979-6531-4b41-a524-3255e32e5336\":\"Allow Template Editing\",\"4b9f2716-5ede-4857-8289-3277a5234c1b\":\"Out-of-Office\",\"08530191-8ca2-464a-9b45-32c7116fcc6e\":\"Template successfully created.\",\"d7fd00e1-62af-402c-9a66-32f3fd3d17bd\":\"Add Contact\",\"0c7e0314-8a0c-4c83-9da7-32f43723ff87\":\"Welcome back!\",\"2fbebccf-bf8e-413b-bb30-32f55c2a5350\":\"When the signed document location setting is set to Same Folder as the Original File Location and the uploaded file does not belong to any entity it folder it would be stored in the path specified in this setting.\",\"8f887b15-f8f6-40c6-bb6f-3303723c322f\":\"Create Folder\",\"b77c9677-7217-4e21-9422-330c0ca983a1\":\"Home\",\"8089d5c0-08cb-4752-b6ec-3333a4f5ea45\":\"Decline Envelope\",\"18455f21-d554-4101-be4d-33408c6799a7\":\"The Authentication Key is the password to access the Epic SDK URL. Contact your Applied Epic representative to get the Authentication key.\",\"ec8ea356-9a18-4d1e-b029-3388f80d6138\":\"Exception occurred while retrieving dashboard details\",\"e0bb7985-04e1-4366-b7c9-339b2c45dcf9\":\"The sender has cancelled the envelope. For further information, please contact the sender.\",\"ffd64b83-8e49-464f-90eb-33a2d0fbf31f\":\"signature-en-us\",\"1a907522-f079-4c14-ba01-33b4759fabb0\":\"Loading Waiting For Others.....\",\"562fdec3-33cf-4985-bbe4-343c85e8ec43\":\"Sent for\",\"815f46bc-7abc-4ee8-a6f2-34574d29a769\":\"Awaiting My\",\"78348d80-2c99-4c2a-9a19-3483966a5ad6\":\"Company\",\"a2fc0d69-e98e-4972-8407-34a3a939a491\":\"Apps\",\"a9bc0db5-7aad-41ea-b713-34c3f0121976\":\"A six-digit access code is emailed to the signer when the “View & Sign Document” is pressed\",\"823f8e04-2456-4aee-8bf4-34c934d37682\":\"Folder renamed successfully\",\"397faaf6-b930-42f5-bd22-34ca28b41647\":\"application\",\"45359abc-23fc-4b40-8883-34dba307c58b\":\"Align Right\",\"0eab0be2-0420-4d2d-ac8e-34ff54a73a3a\":\"Date\",\"a91f0ba8-4711-438a-abad-35012e00958d\":\"Try RSign Now Free\",\"644932fb-d919-42c7-99dd-351fa28822fc\":\"RSign Signed CC\",\"a42bd520-a8b4-4020-a0fb-35464ad4826a\":\"Select your signing role, and then confirm your email address to begin.\",\"ae83da86-e4fe-4356-a249-355bf994b8a9\":\"Address to reroute signature emails\",\"93668f73-7023-4e26-abe7-356b620da9f5\":\"Enter email address\",\"8da068cf-9e61-4c8f-9ca8-357a32032822\":\"Save as Default\",\"7725111d-3a1a-4765-a5c6-359813ca0231\":\"New-Basic\",\"5754294f-2851-4a3b-a90f-35b8ccfb54ab\":\"Application Client ID\",\"11c4f434-45e4-4534-8da8-35e28187e4c5\":\"Supported Format (gif, png, jpg, jpeg) & Max Size 50Kb.\",\"399e5b37-4b3d-4ea3-9174-35e8de01f95e\":\"Redirect URI\",\"33da69e7-1dcc-4917-85f1-3618a0e9dad7\":\"The copy of this document has been saved to your\",\"99ef7eb6-22db-417a-ad08-362e6a363b9d\":\"Show RSign Logo\",\"bf2ae972-1ac0-45da-bfdc-367290a5aaaf\":\"Underline\",\"b8ee7347-f40b-4c57-87f5-369e44565adb\":\"Documents\",\"68529375-b4cc-44dc-9a66-36a16469bbae\":\"Confirm your email to proceed\",\"d296ac02-7d15-48c8-830e-36bf5b24ed91\":\"Display Terms of Service in the Signed PDF Signature Certificate\",\"9d9dbec3-bf4f-489f-9a62-36cb488df029\":\"No Thanks\",\"24cb2438-319c-476c-b36a-36d37fbe8836\":\"Select the banner color from the predefined list of colors available in the drop-down list or specify a custom color in the text input field.\",\"9976e351-10b4-4e75-a7fd-36f930cc37fc\":\"There are no controls in the document\",\"739cac92-f905-48bd-b805-37042b3fbba0\":\"This digital certificate serves as an audit trail for activities by all participants in the e-sign transaction, providing proof of secure information transmission and delivery to the intended recipient.\",\"92ac70a4-9f89-4bbe-a819-3709353363d9\":\"Dropdown\",\"3a7564e2-9b90-4dd0-b967-370b9bfaeca0\":\"These comments are displayed in the iManage or NetDocuments user interface while documents are selected to be sent to RSign.\",\"4134c9b7-5d87-43dd-9a37-372502a0af8d\":\"Click on Color Box or Enter Hexadecimal Color Code in the Textbox.\",\"b3134c8d-770a-440a-bcbc-37840852472c\":\"User registered successsfully.\",\"555d976c-ff5c-417c-9d4c-37855905df7f\":\"Attachment Request\",\"60c13a20-b7b0-4206-845a-37a5def0a6a8\":\"Override one time\",\"7c918afb-7ad4-4fe3-8c5a-37bd1315038f\":\"Align selected controls\",\"42ac6ae0-7f68-4c7d-b813-37e017b86bce\":\"Please enter initial\",\"b832e543-d93c-4432-bd10-38139130966a\":\"Upload Signed Document\",\"f31db518-621a-4171-9fd3-381fa9d506ef\":\"Send To RSign\",\"66674093-9f44-47d4-bf24-3835085e4964\":\"My details\",\"94de36b8-6b82-40ee-b3e1-384a00aa357b\":\"Enables creation of templates with static URLs (also known as RForms). It allows single and multiple signers.\",\"165d1962-c0c9-4913-a5c8-384c9f32318d\":\"Envelope Setting\",\"691e1244-fedb-437d-94c6-389365ea48d3\":\"Type name\",\"07a75514-ec57-42b0-b38c-38aee36d2c82\":\"Confirm your email address to begin.\",\"4896a9e7-244d-44b8-b816-38c35a68dd3b\":\"For creating a new template associated with this record type click on \\\"Create Template or Rule\\\", or select an existing template in the dropdown to edit it.\",\"bf9b7dcc-950e-4a00-8877-38d06770e2e1\":\"Days Before Expiration Reminder\",\"a188b1d6-3f61-4e63-bcfe-38d2889f7374\":\"Copies electronic signature reminders.\",\"552a067f-e157-426c-9caa-38f85ed192e4\":\"For Creating Envelope add at least one signer of order 1 and upload at least one document.\",\"78ac958f-4bf8-4ef6-b7be-39152c04f8cb\":\"Email is required\",\"5a62dc25-a68f-4e92-b7de-396364e50923\":\"Are you sure, you want to go to Send Document page?\",\"b1b24221-879a-4998-9b26-39741b9d8e03\":\"To Use Template Feature Please Remove All The Uploaded Documents.\",\"8e857f1b-072d-47f1-b79e-399b21e3f1de\":\"Controls\",\"274fdd6e-8caf-43ac-8e4e-399e5a17851c\":\"Redo selected controls\",\"fb1a24bd-3b96-4eb7-946c-39bb7ec789fe\":\"You can download the final signed document from the Completed folder of your RSign account.\",\"394be551-6883-4ad6-9067-39dd88731473\":\"Change Password\",\"ec6e3aef-0b72-4f3b-a41f-39e8b723b20c\":\"Role change notice\",\"27fb7ced-b229-4f49-86c2-39f50cbe1016\":\"Client Secret\",\"9ed8db87-8b5b-40ab-a3a9-3a0233a1fd2c\":\"Resend to this recipient only\",\"b0e1080c-4b0b-4ffb-9d22-3a05da1ff594\":\"Current Recipient\",\"5ebe0307-9020-4956-91cc-3a07faa74865\":\"Remove Default\",\"675f5d17-1605-4144-b0c9-3a4961f133a0\":\"Insert Link\",\"b8c5a1ae-53ff-4b9d-a867-3a5ec7fd0d13\":\"A4\",\"3648818f-e116-4bd9-afde-3a7395b3850d\":\"Address to reroute termination emails\",\"1288385d-1c40-407e-9eb1-3a916647c260\":\"Last Active Superuser Role cannot be updated.\",\"557033b5-3ad6-4179-9a46-3aa61346b535\":\"Selected file is get duplicated.\",\"fc4bf904-da31-4eea-b263-3aefc10472d1\":\"When enabled, this setting allows the sender to send unsupported files, such as audio or video, through the RSign™ system for signers to review them and place their signatures in a document that is sent separately. With this feature, senders can also send supported files for review.\",\"e67b2090-2e27-456c-9494-3af5609bd12c\":\"Are you sure you want to delete Signature?\",\"1bc914fc-4536-4d31-a292-3b2eae835cc2\":\"Signed - Only the signed PDF is emailed to the Cc recipient.\",\"26e35c91-5ee1-4abf-b421-3b631a34f677\":\"Sender\",\"4a592e63-18c3-4bb6-aafd-3c11f78c79b7\":\"Export as CSV\",\"c9b2da42-7f93-4732-883b-3c17608c38db\":\"Please download the XLS or CSV template (click on below icon), fill in the required data, and upload or drag and drop the file\",\"3024edb1-914d-4935-86e4-3c17e4839f3b\":\"Easy & Guided.\",\"7f56c81f-6e2c-4ea5-bdfd-3c23c2cf16fa\":\"Move left\",\"3c8ab98a-e18c-486b-b66d-3c5f335288ae\":\"Number of Documents\",\"00824a11-b93b-4f1c-b0e5-3c9fbcd0fb09\":\"Default Message To/Code To\",\"019b6574-170f-4d26-b785-3ca7989f0cc0\":\"Select Brand\",\"07560bb4-8ea7-4679-85bd-3ccfd0f6837d\":\"- At least 8 characters in length\",\"ed5a475d-ab62-4cdb-bf2e-3cd1bdf9544e\":\"Final Document Carbon Copy\",\"5c5ded51-4697-4958-8c45-3cee2439d225\":\"Select Template To Edit\",\"665c2646-9818-455e-9d1f-3cf909077640\":\"Please enter\",\"19ea02e8-9ed6-4dc9-8de0-3d15cb06dd02\":\"Allows users to configure where the sender is to be directed after sending an e-signature request.  \",\"7fa6b06b-1faf-41ae-9207-3d2260e70fc7\":\"Cancelling transaction is in progress\",\"f15b38b3-3f79-4648-89ba-3d415806aa66\":\"Expiring within 2-days\",\"ffeccd49-fd8e-4b87-bf9f-3d7495b3110d\":\"Document Preview\",\"43937716-1e32-4212-bf6a-3d893b090dfa\":\"Ask a question\",\"b1bd1a05-c015-43da-a7dd-3da343d0c6cd\":\"Activity Summary\",\"bf37a7c2-44b5-4071-ab82-3da7d9ac7551\":\"Enable Integration Access\",\"083925c6-48f6-4890-965d-3e82179ca3c9\":\"Profile saved successfully.\",\"e02ff794-35ac-4be8-9b4e-3ea19cd329fc\":\"Signature\",\"ffe08e94-4af3-4f70-b147-3eb0ac2f52a5\":\"Resend to All\",\"deef2985-6f2c-4dfd-b224-3ecec024cb5e\":\"Domain cannot be duplicated.\",\"79f83826-ba58-45f7-8ca2-3ed169722984\":\"Click the link below to view, download or print the transparency document.\",\"1ead8cd2-d88e-41fd-b436-3ed5b13c733e\":\"There are no controls to be cleared in this document\",\"2f71da25-2bce-4d84-bfe8-3ef6d345d03e\":\"Add Email Address\",\"b5c303e2-85a0-47ba-ae07-3f1c6c5b0251\":\"Signer Details\",\"c4f375b8-e46c-410d-a774-3f1c8b72a2e7\":\"Yes, Keep me signed in\",\"97bf4f13-b20c-4084-b3f3-3f45f5d1e5c9\":\"Database Name\",\"46397b51-d70d-435f-91c6-3f50d55eb59f\":\"Role Name\",\"b29f5dbd-ec89-411a-84d2-3f544cf0b952\":\"Please add at least one signature control for the signer.\",\"f53ee39e-5bb2-4c44-8989-3f5b7090546d\":\"Expiring within\",\"69d32a88-f79c-4f51-ac8e-3f69f40799b1\":\"Cancelled Doc\",\"91b45531-858c-4cd0-a5d4-3f936d83bb11\":\"to add reroute all option.\",\"838cdf08-2c6b-4eda-bff4-3fa9b89ac615\":\"Product videos\",\"1006cb52-2cda-405b-9d2d-3fb854e6da7a\":\"Default Value\",\"ac26926b-eef4-4db4-81be-3fc2723c431d\":\"Envelope details saved to 'Drafts' folder successfully. You will be able to return to this page by clicking on the drafts folder located on the home page, or\",\"19574b35-1829-49a8-afc8-3fcbb0a2c481\":\"Generate web links for common e-sign forms.\",\"a965b8fb-52a4-4065-9b30-4035e9b71f2f\":\"Enter Password\",\"d99c9555-a9db-4da1-8010-405ebdfef386\":\"The\",\"1bd2c2a3-eb87-4813-b79d-406d9258e6f5\":\"RSign Sending Confirmation\",\"420a66d3-7091-4c2d-80cc-407f25f2d94c\":\"Error while deleting folder.\",\"2a38b9a7-6491-4548-b5df-40813597a0b1\":\"Add Domain Name\",\"ba3bf005-1271-4a85-a03e-40b1071ef567\":\"Minimum\",\"143b8f70-3b64-45df-8fa3-40cfdfa53e16\":\"Contact deleted successfully.\",\"4792a16c-90c6-4d01-94f4-414a78eb78d5\":\"Add Additional Info\",\"c1f08281-3b92-4341-bb36-416389523afc\":\"This invite will expire in\",\"820f4c15-84c6-4281-b788-416392325641\":\"After you click the\",\"9bf6abab-fab9-4b1a-9408-4169a77f0762\":\"Please select checkbox\",\"cc7aa9dd-e63d-446b-a21e-4178ceabf0c4\":\"control assigned to\",\"ce9d14f1-96ab-444d-b66b-417eb8f48758\":\"Please fill in the Prefill details in the next step to send the envelope.\",\"894bb07d-e934-431b-b055-41a4bc0b74e6\":\"Enable Multiple Branding\",\"744c3245-3bec-4fd9-a732-41b7e83c83c0\":\"US Legal (8.5\\\" x 14\\\")\",\"e566d1e3-d9b3-4529-a739-41bb1c3346a7\":\"Select Digital Certificate\",\"7de04548-f7a4-4791-b4f1-41c4f57773c5\":\"RSign Takes Electronic Signatures to the Next Level.\",\"5ee4d0f5-cdee-463c-b2fa-41db22854615\":\"RPost Activation Email\",\"b34edc79-e91c-4f43-a397-420e119adb16\":\"Help\",\"33ee694b-a073-4305-ad94-42135f7b0274\":\"Shared By\",\"2ee6667e-0d3c-400c-82c5-424dfc9e9f6f\":\"Envelope details saved successfully\",\"82e38999-a032-4be8-b707-428d2744e763\":\"Edit\",\"2f6d3774-b2b8-4bb0-bb07-42c3280ba309\":\"Error occurred. Please Try Again.\",\"2a24cf5d-ecf5-417d-8627-42c5e15e121c\":\"This envelope has been discarded, please contact to sender.\",\"f9c6fe71-b8ef-4683-811c-42ca3d6bd249\":\"Allow Single Signer\",\"e09856fb-3d73-4ef6-bd6a-42d55561feb7\":\"Manage Domain\",\"9e5fa6a3-7e05-447c-ba76-42f4b3fbb615\":\"RSign Auto Lock Notice\",\"b56b1324-8e06-4da6-ac9c-42f68c169fc6\":\"Template Details\",\"b2822ac0-dcef-4a9d-afb0-42fe9aa695cd\":\"Please select a value from the 'Message To/Code To' dropdown that does not have 'None' as a suffix, if the setting access authentication is enabled and re-verify each signer on final submit is set to Y.\",\"d44a9528-9621-407e-8b33-430970ed6501\":\"All signers has signed the document\",\"41dd01f5-a8c1-47c2-b01f-4339ddecd1b8\":\"Enable this feature to store the status of the envelope as an activity in your Vincere account.\",\"42cc063d-71b7-4543-82d9-43594431ece1\":\"Update and Re-send\",\"1725a930-b618-4a31-8f6a-43610f66b776\":\"Last Day\",\"7d1efba2-b38f-44a7-a5be-4366c56951e4\":\"Share\",\"25ee3a5e-5d2d-487d-9db5-4377530e8798\":\"Sign into Your Account\",\"49a49bb9-379c-41bd-b303-4382313d0f87\":\"View Activity Log\",\"626c7f9e-b167-424f-b195-43c99c4bcc3e\":\"Terms of Service\",\"d69d05fb-61d2-4bac-ac8c-43c9fc8e238a\":\"When enabled, RSign™ stores the email body and lets the user download it from the Envelopes tab. When disabled, RSign™ does not store the email body.\",\"5085a8d2-b2a9-4958-bde1-43d2f353c33d\":\"Restore Defaults\",\"c0b4bb8d-7dbc-4173-abea-43da1f178862\":\"Yes, Keep me signed in\",\"c261d390-527b-4806-9d09-44660620e27e\":\"You now have one-time access to the document\",\"92d1441d-0c7d-4b72-9412-446acd67b8cf\":\"Please select a value from the 'Message To/Code To' dropdown that does not have 'None' as a suffix, if the setting access authentication is enabled.\",\"9c308f1f-012f-4c7e-8d15-44b979036975\":\"Your draft has been deleted\",\"328b1961-ecbb-4ac9-849b-44bcd2c0aa2e\":\"Enter Application password\",\"5e901b5b-588b-4fde-b373-44de1b02aa86\":\"This envelope is already declined.\",\"03301be2-dae7-49de-851e-44e441beae38\":\"Signature Request Reply Address\",\"86e81ac3-98fd-42cf-baa7-44faf4a6f37a\":\"Next\",\"5f3d08a4-5384-4d56-b094-452171bf8eb5\":\"Draft successfully saved\",\"147760ad-7edc-42a9-be65-4532a49c7ff8\":\"Waiting for Others\",\"ed16d09a-d1f3-498b-91d2-453c28de1c26\":\"Type 3 letters to search clients\",\"a7344641-9ce0-4db9-87dc-45419036ffd9\":\"please select the RSign service to log in to get started.\",\"3fefe8be-0021-48fe-a1b2-455f0213c979\":\"Your envelopes created before {Date1} will be archived on {Date2}. To download the envelopes, click “Archiving Soon”\",\"a7a9192b-ffa8-4e97-9964-45e7f3b2e295\":\"Click the link below to view, download or print the signed document.\",\"d749d834-0d69-4b9b-a2f9-46303eb93a56\":\"Shared as Master/Copy\",\"a4f06696-9150-4f93-bf4f-464fd08dab68\":\"Please enter the email address of the user to view their settings, or click on search without entering anything to view company settings.\",\"1911745d-db10-41e9-a6a3-465de82553c6\":\"Type\",\"f643aff9-00ef-4975-9d45-466ab068286a\":\"was recently used to update this document.\",\"af83e84b-291d-4855-ad1b-4689f23f8754\":\"Last name\",\"b3ea7cd5-2fe0-458e-83e0-4692be68e5a6\":\"Day\",\"38b19751-59fd-4d13-b53f-469438c36295\":\"E-Disclosure\",\"c9a8cd06-4640-4839-8be0-469881922d8e\":\"Doc./Certificate Security\",\"fd33222e-06e4-47ae-b7de-4699593e845a\":\"Template Details should not be empty. Please upload the CSV document\",\"a98d0140-b3c6-4d84-8f6c-46c0a654cd7a\":\"Uploaded Date\",\"c78d921d-c6fb-48a6-b931-46c17299dd78\":\"No envelopes found.\",\"fc06967e-6dac-4af6-a0ff-46d05533f872\":\"User Authentication\",\"64ae8d33-c9a0-44e8-94dc-47046e236698\":\"Senders can specify the language for each recipient when preparing the signature request. The selected language will be used for notifications and their user interface.\",\"a03d776e-5520-4d09-8c3c-470974d0b395\":\"An activation link was sent to your email address, please check your inbox\",\"08f53d0f-00ec-4a6a-82ef-470aafcfa7d8\":\"Cannot be empty\",\"53384cc3-1ad6-4e75-8c1e-47121ae47491\":\"Envelope\",\"668508f6-ed2b-41d8-8530-4733116e4537\":\"User is not activated yet.\",\"d96a5866-e541-45c3-88ce-473cf512b4ba\":\"Other\",\"8a2879ee-e0ff-44d7-afd9-4748cdfe5abf\":\"Template Data\",\"ec1803db-67aa-4afa-bcc9-474b647107a5\":\"mta11.d1.rpost.info\",\"433b4c60-be01-4c88-bf09-474ec1499d2b\":\"View All\",\"55d6f2ca-e2a9-4e5b-b41c-47562d45e8b6\":\"Email address is not part of envelope\",\"ddb305e3-4d72-4d84-8e48-47628ddb01d9\":\"One of the files has larger name.\",\"03674af3-ba66-4b74-9494-476fe2209594\":\"Cannot send access code to email and mobile as the setting Access Authentication and Re-verify Each Signer Before Document Submit is disabled.\",\"7b4dc04c-f3e3-4260-83fb-47ad03a27e46\":\"Please complete all the required fields before submitting the document\",\"1365a2f8-7665-430a-8ff1-47d0383c73be\":\"% of total sent\",\"c222c3d9-6c2c-4b9c-8e9b-4809c103c40d\":\"Send Individual Signature Notifications\",\"1da95824-ee7f-4da5-8e3d-48322b8f2d88\":\"Store Signature Certificate\",\"b0a1cd86-0248-4695-bb27-4854af5ca93c\":\"Your signatures are recorded. You will receive SMS from RSign with instructions to access the signed document.\",\"4452381f-7f50-445b-914b-486a44a8cd8b\":\"News\",\"b8079c9d-d1e9-4506-a12b-48ae6f7093b2\":\"Additional Info\",\"a007827a-9bda-438f-8bbd-48b043705b64\":\"Please purchase an SMS add-on package to continue sending SMS.\",\"e70eb727-19c2-40df-bc78-48b047d0550f\":\"Load More\",\"16d991c1-aa81-4614-814c-48b8d5499404\":\"This Template is already been deleted.\",\"a8398865-dcdf-4f69-baf8-48ba11bb9a6c\":\"Multiple signers are required. Press the Invite Signers button and update the necessary information.\",\"a69529b5-bc00-4c99-8744-48bbc408b686\":\"More Actions\",\"72d9cac8-2414-48e9-aa3e-48bd66c5663e\":\"MY PROFILE\",\"babf8dc9-a66b-45da-85e7-48c2bce32175\":\"Align Left\",\"63608730-c115-40db-93a3-48cc0b9ebf5b\":\"Reroutes electronic signature reminders.\",\"7fa3e417-0d94-41bd-a6c0-48fb891f65ae\":\"Welcome to RSign!\",\"133a6e20-bb14-4b49-990e-492d8d6283fa\":\"Provide correct domain ID\",\"969a143f-1637-40a4-9d60-4942c443a0ee\":\"The contract has already been transferred to other signer, in case you have any query please contact sender.\",\"36ad1580-7f22-4bd8-b84b-4951be47530c\":\"Upload\",\"0162fd3c-957d-410f-97f4-497103ba2a8b\":\"Allow Post-Signing Landing Page\",\"7cab3989-c219-47aa-94f6-4971370af44b\":\"Click to pin the control panel to left\",\"e002a8f0-355e-4bc2-a282-49a73ba1eac0\":\"Rule Unshared Successfully\",\"0cd94071-976a-4da0-95ba-49b7be46e36f\":\"Company name or user email address is required.\",\"976a77cc-5eae-45d5-b3f1-49fd323b18e6\":\"The document you are trying to sign is out of date. Please look in your inbox for the updated email.\",\"b396310a-b977-4664-98e2-4a232c80277a\":\"Static Template Link Enabled Successfully.\",\"94389a85-87b2-4bd2-8324-4a5440f8c754\":\"Reason for Decline\",\"8f3110f5-a42e-4ac8-828e-4a5dd8d977dc\":\"Enter contact name or email to search\",\"560129b3-d5c3-45e3-bb0b-4a686ab4c238\":\"RSign eSign Request\",\"830a86ae-de81-4635-a14c-4a782215a3cb\":\"SENT\",\"7957d9e3-6a7f-4957-aac6-4a99c107dada\":\"Signup RPostOne\",\"76bee30e-f1e4-4850-b22c-4aaa66a06fe9\":\"Invalid File size or format.\",\"2fdfeb3b-3db9-4738-b284-4ab8d9181480\":\"Either one of the file was duplicated or file format not supported.\",\"8fdec67a-917f-4848-b83c-4af849b8e51d\":\"This is a Controlling Field\",\"5d1a71af-2ada-41c2-b0c1-4b1ffad0deeb\":\"Columns not saved successfully\",\"bcab0613-30a5-43a5-b054-4b345338275d\":\"Following duplicate contacts exist in the file, please delete duplicates and upload the file.\",\"5a1f1dd1-7fd4-43b8-9d3a-4b65a21a8f62\":\"View History\",\"d2cc05b0-b4e5-4f57-a17a-4b6853b8fd1c\":\"Sign in with\",\"32128ed5-531a-4ab1-ace6-4b8953c70d13\":\"Recipient\",\"1f1987ed-02b3-47ba-b418-4b9d48c46add\":\"Update Statistics\",\"6f91a002-b625-4744-a49e-4b9d547267fc\":\"Feature Rich.\",\"b261de90-0b4d-4b9d-97a6-4bc018f06a2b\":\"Email address where emails received from RSign™ should be copied.\",\"dfa3c5ff-27f5-41f2-a118-4bcc746b5f81\":\"Specify the suffix that should be added to the merged file or the zip file when multiple documents are uploaded to an envelope.\",\"e3edd14c-1a42-43fa-800c-4bce1a9b5d26\":\"Address to Re-Route All RSign Emails\",\"eae861db-6882-4824-b407-4bfbca307e38\":\"Past 7-days\",\"545b6542-7415-4792-8d22-4bfef02d629d\":\"Date Time Range\",\"6ac5ff7e-d965-41fd-8d98-4c4a470954e8\":\"Move down\",\"ad204cd3-22e2-4cd6-b4cc-4c64879d224b\":\"Please download the CSV template (Click on below icon), fill in required data and upload the CSV.\",\"1ad1b3ab-354f-4aae-8a26-4cbe7d070d21\":\"Enter the terms of service to be displayed to the signer in a popup before they sign the document.\",\"95253969-a90d-4e39-9511-4cdb8947ee6a\":\"To complete the registration process, please click the\",\"5fc1af01-90ee-4637-ab16-4cdf8d9a83a9\":\"Please enter the valid password\",\"c00df3a2-b131-4cf4-a413-4cf3a96e767d\":\"Enable iManage Access\",\"2eadafc9-0378-4849-85f0-4d20c9c87210\":\"minutes\",\"49e0579d-9fe2-4b81-8c5d-4d286f692f10\":\"Final Step\",\"f6e922f6-a4b5-4d01-96e0-4d2cb1bb3f93\":\"Enter Folder Name\",\"32a60723-ae8f-439a-86de-4d40772814b9\":\"Message template body cannot be blank\",\"ca4f7024-9fa0-46b3-91b5-4d494877046b\":\"Signed\",\"8272be28-6205-484d-9d66-4d82d9b140e6\":\"Click here to download XLS to upload contacts\",\"9fff1c64-e629-473b-8c32-4dc2b9a8ccd0\":\"Either one of the file was duplicated or not compatible with paper size/file format\",\"a22131b1-be90-4a2c-8cb1-4dfc4971b53f\":\"Allow Multiple Signers\",\"6a80203d-d572-49b9-a967-4e0e666bb328\":\"Redirecting\",\"810e7abd-0325-4238-96d0-4e12f08b40d1\":\"Status Date\",\"3a93df17-52ee-4c47-acff-4e2aadb0a5c2\":\"View this document as a PDF\",\"b7a6de04-1834-4b1e-91f8-4e55ad93dcc5\":\"Contact you are trying to add is a duplicate contact. Do you want to overwrite?\",\"9e6663bd-92e9-4194-8822-4e61af07faca\":\"Signer Attachment Options\",\"5a1de24b-acd1-41bd-a300-4e646d5dece8\":\"View PDF\",\"d3458bbc-6262-4605-917e-4e97ac651edb\":\"N/A\",\"aecae4ac-3dff-476c-84f7-4ea9160d18e3\":\"Store Signed PDF\",\"9cf12d05-b77a-4a7d-931b-4eaaf60c29f3\":\"Do you want to delete the document.\",\"6ebe22f5-5f9a-476e-89a5-4ec946edd096\":\"All the signers have not signed on this document. Are you sure you want to continue without capturing signatures from other signers?\",\"293d1da7-910b-4f9e-81b6-4edccf430465\":\"and other service and legal notices\",\"a01bb9fc-8c79-4cc7-ae8b-4ee6710fc482\":\"History is not available.\",\"d5e2fe24-93cb-480e-b1e4-4eeb4aeabcb4\":\"Please enter Signature text\",\"91a62df0-ec1b-4446-91ce-4eec33366af4\":\"Users\",\"2e4df021-1399-4531-9302-4ef4fe08d204\":\"Access code to open signed document\",\"9574a292-d570-43e5-9ef9-4f1adcbf800c\":\"Completed\",\"9a31e562-b980-490f-af8b-4f1f7c9d9715\":\"This user is already taken\",\"ca117f9e-0d73-4f67-8e5a-4f298d857e72\":\"This envelope is already submitted.\",\"56b5f353-1cdb-4cf0-b782-4f4db88ef84d\":\"Created\",\"7dcb707a-56aa-49b6-9cb7-4fe9cb4412b4\":\"Sign out\",\"e446f305-b910-4163-ba56-50158958e8a7\":\"Documents Available for Signature.\",\"ecaa2cd8-358c-4637-80eb-5027140b083f\":\"Delete Data\",\"d03254b3-eca0-4dd4-8b44-503c66ee77b3\":\"Email is required\",\"e273049d-e34b-4571-b219-504cca3d7855\":\"Back to Login\",\"5244a0b1-d1b9-4d6c-8ff4-5081d9c049f4\":\"Please upload a valid csv or excel file\",\"9e055c4f-033e-4ac1-b71b-50a6e15e5e43\":\"When enabled, all signed documents are available for download as individual files. When disabled, all files are merged into a single file.\",\"b8f31c47-9a7e-4e0c-b440-50bf03341339\":\"RSign eSign Complete\",\"4e5bb8c5-4f02-45ce-9f86-510e38e6f13d\":\"Select Reference Code\",\"164d12a8-df2c-4745-b247-515b0e9d6963\":\"Override\",\"a1921ec5-2708-4163-9b04-518611042f57\":\"Enable the File Review\",\"13af4ece-c831-4e7b-a89d-518d58f0ca8f\":\"Receive Sending Confirmation Email\",\"5939ae92-7dd9-4a78-bf58-51c554aefdda\":\"Current\",\"009fd9a1-0df9-4e4f-b460-51d5cb75b27c\":\"Fields do not match\",\"756661bb-2461-45c2-8113-5201eb58ebe5\":\"Local\",\"fa422594-753a-422e-b2c5-522a64db65a2\":\"Add More\",\"783832bd-c4ff-42a7-b414-528a29e8b2df\":\"To specify the region where the data center is located. It has the following values:\\r\\nUNITED STATES US\\r\\nUNITED KINGDOM \\t EU \\r\\nAUSTRALIA \\t\\t AU\\r\\nGERMANY DE\",\"363f7ad5-57be-42f5-9214-52a24ce083e6\":\"Certificate Authentication & Expiration\",\"c607560e-54f0-48f1-91ed-52d032b57962\":\"Template Code\",\"3bca6ea3-e26b-412d-a50a-52f3c14ebee5\":\"Save as Draft\",\"e115e028-fdf2-4121-833a-52f784f561b2\":\"No, Sign me out\",\"84bf7a8a-076a-4e2f-88e7-53310812078b\":\"Recipient IP Address\",\"446d3b3a-7456-4631-8cef-533175259676\":\"Please select any one of the contacts\",\"dae62d63-0742-4127-b341-53398c84612d\":\"RSign Access Request\",\"1789531d-417f-48a1-acd4-5342f30c3a47\":\"Clear\",\"9473f326-c53f-407c-b7ed-5349c3469f79\":\"Expired\",\"3732efa8-67a2-4af3-bd06-53a603252431\":\"Add \\\"Other\\\" with Text Fields\",\"cafdb262-e11b-4ca7-a718-53db7009e23e\":\"- At least one number\",\"a43b475a-1180-4117-965c-53e65b4c1b82\":\"Please wait… you will be redirected to post signing landing page in\",\"bb8db71b-f9db-4dbb-aad9-53f516c9ab13\":\"Date prior to\",\"0f0a397b-746f-48a8-b2d0-5401b34a62fd\":\"User is not activated. please click on activation link sent in email while registration.\",\"120f50fa-fdab-4d8d-99e3-540e462b3bbf\":\"Days Before First Reminder\",\"9e0f0314-54a8-43ff-9bc4-54196064a65d\":\"Security\",\"a12096ae-2f2f-4243-9ba8-541e0ccc7425\":\"Update Selected Controls Properties\",\"f0e0417a-2482-45fd-89b0-54269409999e\":\"Yes\",\"6620f440-1c15-4595-a1a0-5426aa7d268b\":\"Enter the Applied Epic database name. Contact your applied epic representative to get the database name.\",\"d2310d65-4645-4131-81c6-544548aa8ce1\":\"Location\",\"1195da6f-7724-4b43-ba23-5446d225c6ac\":\"Finish Button Color\",\"9d006199-cad9-4d92-9497-546f9a64802d\":\"Move envelopes by reference code\",\"cd952510-6fbe-4888-a659-547a561810bb\":\"Declined\",\"570085bc-05a8-45e5-8aaf-547e6d44ec20\":\"Please review and click on Continue below to go to the RSign dashboard...\",\"b35ac153-4dde-4e98-91a5-5492e1762aac\":\"Final Contract Conversion Option\",\"f1766cb3-525b-4e86-ab15-54cbb3800c5d\":\"Sends a summary of the reasons behind declined envelopes.\",\"ce42e1e3-745b-4765-82c9-54e4db94350a\":\"RSign will send a confirmation email to your email address shown below. Please check your inbox and click the ‘Confirm your email’ button in the email.\",\"03bb8c92-eec5-4884-917e-5545e0d8fbd1\":\"Thank you for completing the verification step. Your signatures have been recorded. You will receive instructions to download the final signed document after all the signers have signed the document on your chosen mode of delivery.\",\"f59858a5-7106-49fd-b05d-555b2e225585\":\"Reason\",\"8d204a00-f778-4740-9180-558c409ba3bd\":\"Are you sure you want to restore your settings to the original defaults?\",\"f124c92d-31d0-4d96-9aee-55ccd72d07aa\":\"Envelope saved to Drafts\",\"d1202e65-2741-4571-aa76-55f26e6c3be7\":\"Enable this feature to store the final signed documents and signature certificates in your Bullhorn account.\",\"d9704be0-9921-4e8d-ae53-5611b48af62c\":\"Address to reroute notification emails\",\"7b5eb3c8-ea00-44a6-910f-56798a47b327\":\"Please enter valid server url.\",\"e948c454-b0a1-47b6-9f5e-56e02f18e69a\":\"Dependent Field\",\"e5e629b9-ff91-4dd9-b6e0-56e2b76d40ee\":\"Preview of brand\",\"568dff59-f6d3-4c05-af24-56f89ac61e4c\":\"Please enter password.\",\"0a9aefec-d052-4bb7-a440-570239536a8e\":\"Enter mobile number\",\"93d87429-c34a-4810-b3f1-570f6511bb26\":\"Hyperlink\",\"1a177d36-4d1c-42e6-a908-5717ccda94d7\":\"Select Rule\",\"ab176de6-7501-4f4f-8dd5-5742bd68da04\":\"Specifies the comments to be shown in the iManage or NetDocuments user interface to indicate the completion of the signing process.\",\"5e917f61-9697-4918-ab67-57506fc6e65c\":\"Log In\",\"0c9b679e-7165-4fcc-85f2-578bb264872a\":\"Static Link for Template\",\"dfeec95d-9bdd-4e49-b710-57af70707015\":\"Choose a file\",\"04d946da-58a8-4e69-8b60-57b902280e88\":\"Update in progress\",\"18a883be-e773-4b49-a107-57e19159f356\":\"Message Template Saving...\",\"01c61630-abf3-4e28-bb0e-57e7f869c7bc\":\"No, Sign me out\",\"04540c64-04d5-4c3a-907b-57ffdb58f9a6\":\"Access request declined failed.\",\"be2eabaf-9096-4027-be83-5802b8f3a50b\":\"Password\",\"959930b9-4354-48ce-86c2-580315f8961f\":\"No Print\",\"d9a0cca5-038c-4a97-b23a-5805b93c2bc6\":\"Waiting Recipients\",\"00cbe5d0-1393-46e6-ae4a-5806b45b0b1c\":\"- Click the Legal Notice link to view general terms & conditions, service level agreements, privacy notices, patent and trademark lists, and legal notices. Services run on\",\"11f8b179-0d81-4e2e-b697-580f7ae3199a\":\"Attach Signed PDF for these Recipients\",\"e3aec0eb-7b9f-4842-a747-5835b38848ce\":\"External Drives\",\"6bb0ada2-e324-4a22-87c3-587004f0c470\":\"Date & Time Stamp\",\"f2a0ba80-b91a-4a66-bdcc-5880312f9a32\":\"Restoring Envelope from Folder\",\"c1823b8f-3d5d-41b8-87c2-588530368ef0\":\"When enabled, the user can either copy or re-route their emails to a different email address.\",\"223a5e36-564e-4680-b6a5-588d7bfe2c5b\":\"Copy to Clipboard Successful.\",\"05a92a47-2471-4c9f-b084-58974e095e02\":\"Signers of RForms are not required to provide both, email and mobile number. If only one is provided, messages and access codes will be sent to the available option. If the setting is disabled, signers will need to provide both, an email and mobile number.\",\"a99d3bff-cf0e-4add-af44-58b5cb29d9db\":\"Enter reason for rejection\",\"54d9e3b9-f24d-49a9-b487-58d8eb8c3564\":\"Add Name\",\"db5c97c5-061e-4a35-8155-58debcc28b17\":\"Select a colour code to customize the appearance of the button text on the new signer's interface.\",\"487216b1-420e-47dc-bcb2-58e122385abf\":\"Search clients\",\"4b934fbe-5ab1-467c-a0f9-58f1c453f4f3\":\"Application URL\",\"d864af10-a1a0-458d-bd5f-58f6625a8c45\":\"AI Auto Lock Notice\",\"ba163b4e-1c8a-47de-bc49-5904afa039c8\":\"Access is denied due to security configurations by the sender.\",\"3747d0fe-1021-4bcf-b22a-590779c19799\":\"Sign in sequence\",\"05985821-7ed3-4581-b982-5973d3cb8f01\":\"Checklist\",\"d8d732c6-129d-4984-976b-5975d32ea4d2\":\"Provides the ability to attach files from the selected drives. \",\"c2800372-86e8-43af-85dd-59a7b1126b7b\":\"Filing Options for Final Signed Documents\",\"e2c10ec8-06b9-4cea-b6ea-59bae0b9bd63\":\"Is Active\",\"961c9750-4d31-422c-99c8-59c874fb951e\":\"Default Repository\",\"18bf6a56-6c0f-48fc-b16f-59d02c988a65\":\"files are supported\",\"3dd981bb-da90-4b12-a3c9-59d856295920\":\"Reason for requesting access\",\"1f473762-d287-401a-8c33-59e7251aafaf\":\"This email contains a secure link to sign the document inside the RSign portal. Please do not share this email, links, or access code with others.\",\"735bf0e9-fc01-40a6-82a3-5a037a3ff9b5\":\"Label\",\"337d37e1-07d2-41e2-b85d-5a0e67f8e544\":\"DELETED\",\"95f81600-5de3-404c-aeeb-5a32a1de7b3f\":\"Days\",\"74cc2315-c9a6-4d46-af56-5a3aa63735b0\":\"Warning\",\"44075b63-4b42-4a6f-95a9-5a5403702f82\":\"Reference Key\",\"275ae3f7-5996-4fa0-bba6-5a7cf835ea1f\":\"Activation link has been sent.\",\"a79aac55-cd5c-4b18-8cdd-5a86f5aa0409\":\"Auto\",\"ffd945d7-261a-4492-8954-5a96b8f51760\":\"Signing\",\"3dedc552-7091-487e-ac6d-5a9e7c72d013\":\"Specify the type of signature certificate to be generated and added to the final signed document.\",\"e7360619-3eef-4caf-aa8d-5ac368b7051a\":\"Track. Prove. eSign.\",\"d3c9243e-b5f5-4b0f-ab65-5acb2abdd952\":\"Specifies the currency format for uploaded Excel. Y Applies the selected currency format to the currency in the uploaded Excel file. N Uses the server's default currency format for all currency in the uploaded Excel file.\",\"19758131-5e12-46da-aa6b-5accd8ad03ee\":\"Certificate Pages\",\"03c5da63-5440-4f9e-9624-5af0c2a1afb6\":\"You now have one week access to the document.\",\"cfec36b0-083a-4b77-ae18-5af19482d555\":\"Autosaving...\",\"411cece9-2884-423d-a83b-5b02aad11ed7\":\"This document has already been signed and returned to the sender.\",\"6b3ed4de-bea4-43b1-84d6-5b36b51f9fd8\":\"Please Select Language.\",\"a5870cf3-fc18-4eec-a690-5b4138a0a281\":\"Days\",\"9903d0ad-7b1d-4f07-ae04-5b8629c6ccc0\":\"Saving Contacts\",\"7f158550-3bce-4930-a8a9-5b89c3e52818\":\"LOG IN\",\"2ecbe31c-72ce-4dac-97fd-5b8a5ab420ac\":\"Confirm Email Address or Mobile Number\",\"1054fa5e-6ead-47e4-bb2b-5b8e7f914c81\":\"When enabled, the envelope record in the Envelopes tab shows a trash icon to allow users to delete the email body.\",\"cc8f7e49-e9cf-41a2-9d7b-5bbc4759d9ca\":\"Signature\",\"de10a163-f49b-4d5c-a983-5c002303ef27\":\"Select the banner text color from the predefined list of colors available in the dropdown list or specify a custom text color in the text input field.\",\"e219fe4b-e6d4-4992-b786-5c10c1596415\":\"Created By\",\"0ec91345-ead4-47b3-b689-5c3440dd74dc\":\"Number of SMS messages sent by you to date. One unit equals one SMS message.\",\"30d1948b-84af-4076-8351-5c3af87d0eff\":\"Delete\",\"7c5b0d20-775b-49a9-b107-5c55908749bd\":\"Please select any columns\",\"0ef04c0a-48f0-44bb-b3b3-5c82aebf1755\":\"The email address that entered is already registered in the system.\",\"95106bff-97c8-4df4-88be-5cd8e4928095\":\"Already signed up?\",\"4a4f3de3-83ab-4c93-b479-5ce912a511e1\":\"Move all selected envelopes to one of the following folders\",\"7e851868-367a-40dc-8eba-5cf158bbfd48\":\"Required: To complete the process, check the messages received from RSign on your mobile phone or check the email received from RSign in your inbox, and click the confirmation link to verify your signature.\",\"c14245af-ad8c-4f86-ade8-5cf48b594e1f\":\"Message Signature Text should not have blank space.\",\"ae38bc5d-35ac-49be-92cd-5d05555c1bed\":\"ASSIGN ORDER\",\"7b03b002-fedb-4e5b-aa77-5d1524867571\":\"Company\",\"7fd82cf2-6413-418a-b3a7-5d2400ce1808\":\"Local Machine\",\"117327b1-c2b6-4d7b-8700-5d252d9d1822\":\"The envelope is completed.\",\"c4bf6ecb-d741-4f1f-b1cc-5d80a066f2f8\":\"Download\",\"dd6980af-b09d-4b68-ac9a-5d98ea21e2eb\":\"Contacts uploaded successfully\",\"f9cbb171-437f-4cda-9246-5dc5855eb0f8\":\"Title Text\",\"c03bbadb-16d0-4f6d-825a-5dd01358ad3a\":\"Rule Details\",\"2bb3ac8d-00a0-4fa1-9832-5e0466d86be8\":\"UpdatedBy\",\"583fdb07-ca29-4431-acb0-5e2b7ac6961f\":\"Ok, got it\",\"bad02a17-381e-40d9-a35e-5e37d2bb0f3b\":\"Avg. Time (hrs.) of Completion\",\"1e027b9b-a507-47d8-aa60-5e5dcf4b3898\":\"Preparing\",\"7f1c3276-3e45-4fdc-b8c3-5e9df9ccc93d\":\"Please Enter Name For Attachment\",\"a1e86660-4235-451e-8914-5e9f6d8cc702\":\"Dimensions\",\"cabae1b4-52eb-4cd3-a7d9-5eb1a286370b\":\"Days\",\"9e150d17-7290-4dde-8d73-5eef08379cf0\":\"To send messages to mobile phone, change the value of setting ‘Enable Sending Messages’ to Y from Settings-> Sending subtab.\",\"954ce0d6-abb9-4dc9-a61f-5f05604045de\":\"Sequential Signing\",\"00d85a80-ea48-4a0e-bd36-5f3c699fbb8c\":\"Enable Cc Options\",\"cb9cd333-6e7a-4b6e-9c51-5f6dbf6c51a7\":\"Value must be greater than\",\"d3935da7-590e-4ef2-927d-5fa618efbb42\":\"Specifies the date format for uploaded Excel. Y Applies the selected date format to the dates in the uploaded Excel file. N Uses the server's default date format for all dates in the uploaded Excel file.\",\"b56a57e9-7ef8-4d10-a20b-5fb0a08450ae\":\"Uploaded By\",\"6c374c58-5ead-4ba4-ad53-5fd5e0cc6c80\":\"RSign Support\",\"36d9ace4-5679-4ec5-b90e-600ff3c56b80\":\"Sent to Me\",\"b0a03a47-2f45-4ed5-b181-602cd44585af\":\"Domain Name cannot be blank.\",\"52ae55ce-aeca-4537-ae1c-602d22855a67\":\"Edit Profile\",\"a4e832b8-d0d8-4c7b-9a47-603b2e0fafb5\":\"To Date:\",\"ac5d4b86-61f6-457e-a4af-603c075884db\":\"Past 30-days\",\"04f496b6-4135-42f9-b2c0-604c569b0d0c\":\"Email Address\",\"0223e425-0fb8-430e-8d11-605ccfb411c8\":\"Specifies the nomenclature of the final signed document.\",\"d400d7ff-7d1f-4ee7-8f9c-607602a61d49\":\"Data is removed successfully\",\"fe1c80c7-e56b-4ef3-a15a-607e63d9652f\":\"Email Access Code\",\"79a6075c-5313-404c-93a5-6099751e823c\":\"Information\",\"ce9ac2a5-0650-4c76-b278-609a7671b5c4\":\"Default PMTA Server\",\"a27880c0-e9df-4ade-8c9c-60e177f38aad\":\"When enabled, RSign™ stores the signature certificate and lets the user download it from the Envelopes tab. When disabled, RSign™ does not store the signature certificate.\",\"453c12e1-20ad-4e6d-8afd-60fb430760ea\":\"Do you want to enable static link?\",\"d5f6ebfd-87e1-4ce3-92c6-610b7310078e\":\"Shared as Master\",\"d7620213-2905-42bf-9160-61103c54f50d\":\"There are currently no message templates created\",\"38ae42e3-11a1-41a6-8414-61162bc635dd\":\"Access code required to sign\",\"a21c17b5-64bb-4dcf-8b5a-612d5cef828a\":\"Sign Up\",\"699d9c5c-715b-4f36-a582-612dcb65a8bd\":\"Get Started Here\",\"ac499f3f-28ea-4e7f-b49d-613207b0cd1b\":\"Auto populates the signature stored in your personal profile on the document signing page wherever the signature control field is added.\",\"48c710c8-9f49-410a-a6ad-6132e5c35927\":\"iManage\",\"8498d703-854a-4230-a716-613b9b10a8ce\":\"Cancel\",\"746dac18-b81c-449d-9cb1-615581f44c12\":\"Branding\",\"00733b05-1e1b-4d82-a8ab-61630f4ebd19\":\"This name is already taken\",\"a6fd5c43-bf20-49c5-a321-616dd7adc006\":\"Buy Now\",\"f926897e-a8cd-460c-a1f0-617ff37239a1\":\"Remind Me Later\",\"846dfa0d-1d76-4b3c-baa9-61a0804a16c5\":\"Message template created successfully\",\"e5472fa7-7adf-48ed-888b-61a1b457c1bd\":\"Send 2 free agreements for e-signature on a monthly basis\",\"bc4fbc11-b499-48b2-b82c-61f16fe77f29\":\"Envelope signed\",\"7d5ebf97-49dd-4a70-8d2b-620ee152eda9\":\"Time Zone\",\"53f81332-aeb1-4e3c-b885-621dbefbb105\":\"Error occurred while cancel transaction\",\"9cddd110-12f4-45a7-9535-627c605b5933\":\"Enable the Dependencies Feature\",\"f756a843-ea16-4585-b403-62b207136a0b\":\"The envelope content could not be found.\",\"2a44e9c8-0b06-4055-b773-62bf0879aebe\":\"These comments are displayed in the iManage or NetDocuments user interface after documents are saved on that platform.\",\"c47bcee2-5757-4460-a97e-62cb01ddea82\":\"Select a brand\",\"02a5c222-c735-4886-8623-62e7b9ac65be\":\"Role name is required\",\"a0cc7bb7-cc45-498a-bd6d-62f9a7da224f\":\"Address to copy delivery status emails\",\"98b58b6b-7b15-4418-951e-63061903d032\":\"Enter Activity Code configured in Applied Epic\",\"1b627c82-5e57-4267-9de1-6306206b7676\":\"Page Size\",\"263ec80e-94ef-46c5-900f-6311592ce5e2\":\"Retrieving dashboard details...\",\"206a8dd0-a138-4453-b142-631d33f724b9\":\"Unique key assigned to a reseller application. It is required to determine the units consumed by each customer for a given application.\",\"3c90d90c-14ac-45df-879d-6332e8c4a648\":\"Dependencies saved successfully\",\"c5a535b8-2b64-4206-878f-635081599076\":\"Final contract deleted successfully.\",\"04cf54cd-15c0-4d6c-96b8-6392eabd8350\":\"Thank you for verifying your email address. Your signatures have been recorded. You will receive an email with instructions to download the final signed document after all the signers have signed the document.\",\"1c8d3e7f-8632-4eaf-b874-6395edaa5b30\":\"User updated successfully.\",\"b8af9d7b-7d57-47ca-b751-63e9c3aa9a44\":\"A copy of your signed record is waiting for you in your RSign free account. Set it up and you can access it online in the RSign “Completed” folder. Go ahead and get started below.\",\"f59f2e25-6673-46d6-95e4-6405c665c8fa\":\"When enabled, senders can choose the company logo on the RSign prepare page, to apply it on the document signing page as well as the email banner in the recipient's inbox.\",\"90dffc51-53f3-4135-a426-641d10f7bcf0\":\"Specifies the nomenclature of the signature certificate.\",\"bfad21ad-512c-4c06-bfe8-643e52fec8a2\":\"Updating user settings\",\"ae2454eb-95a0-4aa1-b6c9-644e4402b973\":\"Files for Review:\",\"057dc8ab-1b98-4e88-8fdb-6473cca54346\":\"Finish\",\"8ea7ed1b-ecb1-4cab-b85e-6499c455381f\":\"Visible & Required\",\"e9d13197-def1-45f5-910b-64a7e31fa655\":\"Click on Finish to Complete the Envelope\",\"b7bf71b5-9074-42d6-9e61-64a8d60378e0\":\"Once overridden, you will not be able to decline later. Are you sure you want to override the access request?\",\"e474057c-ceb4-427a-a3cf-64d77c90193e\":\"Your document has been successfully submitted.\",\"4daa3da4-ef2a-4bd6-b9f5-650ea828c947\":\"Blogs\",\"fef3fbd0-e03f-4ac1-b400-6517feeee23f\":\"Delete\",\"e59a1a1d-6c8d-45d0-b143-652ec53c280b\":\"Waiting for me\",\"0131c211-927d-4a02-9c5d-6541736f2211\":\"Address to copy final documents\",\"787ecf41-0b2c-4a9d-9c74-65443d7591a3\":\"Are you sure you want to share/unshare the rule with Name =\",\"0a2a4c06-a2bf-446f-97d9-655b281b63cb\":\"Sign up\",\"7d268697-2847-41c3-a48f-658c5475ebc2\":\"Reroutes declined electronic signature request.\",\"c09e3c0b-3272-4e15-9df9-659da6a89f2f\":\"Please enter a URL starting with http:// or https://\",\"179f55fd-aaf0-4961-bea0-659f02625428\":\"Do you want to retain created Group for future use?\",\"ad015c70-e514-471d-862d-65a4e7fd4028\":\"Confirm your name, initials and signature to click to sign these fields in the document\",\"f728b953-7988-4a8b-8fb8-65f9ef1f006f\":\"Please select either company or user.\",\"0cb83fe0-13d3-4838-95a2-6604ba81e385\":\"Enter Username\",\"59897347-4cbb-4d2c-8bbf-66079da635dd\":\"Session Timeout:\",\"30b08a89-259f-4927-9888-660fda431095\":\"Expiring Soon\",\"9a8528ab-8eff-45e9-bdfd-663fd378060e\":\"Final Document\",\"b50bbc95-d622-4c6c-94ff-664629f1c524\":\"Finish Later\",\"7b6b87a6-491f-4ffc-aa28-665897019d10\":\"This envelope is delegated, and is not available for signing.\",\"76be755f-a451-42b7-8417-665d55867920\":\"This envelope has expired. If you have any questions, please contact the sender.\",\"41f3bfd7-0241-43fe-ad56-66671ac2071b\":\"Are you sure, you do not want to sign the document?\",\"f9aeaa1d-4d56-435e-b9ee-66aeebb7b7d4\":\"Start new e-sign requests, free.\",\"cd5a23df-9fcf-49ca-816a-66b2e7a0e422\":\"Print Terms of Service\",\"2e4496f4-677b-4b24-9b8c-66cabddc4ced\":\"Rejected\",\"8dd14289-8267-4133-94ec-66d0ea22a203\":\"RSign generates AuthToken for the reseller when Integration EMail, API key, and API id are passed as parameters to the reseller authentication API. Integration Email is added after the new reseller is created in RPortal.\",\"0aa274df-d8cf-4ea3-9e54-66d572d3a2fe\":\"Email Routing\",\"7be08f16-4661-499b-8442-670b7851e1b1\":\"Please remove duplicate email addresses.\",\"4feb8761-3f73-46ce-9636-672755254901\":\"General Terms & Legal Notices\",\"e42114a8-1d3f-4ba7-bad6-676401a8c257\":\"Resend to all current signing order recipients.\",\"5bb2ba85-0873-4878-bb9a-6767a76a83c1\":\"Please enter Document Name and Description\",\"39eef668-309e-42f0-94c8-6772ecf64599\":\"Regenerate final signed document\",\"b541d007-96f3-4cec-96d5-67789ea29a5f\":\"Please enter email address.\",\"d2848bb3-cc74-4301-af00-6779bdeeaf2d\":\"Updated Date\",\"54010589-9302-42bf-888e-677d763ac631\":\"Height\",\"92a74f30-9164-4021-86f3-67813094f4e0\":\"Select a colour code to customize the appearance of the Finish button on the new signer's interface.\",\"8502fc44-e624-4c26-b0cc-67b47aade6e5\":\"Signed Document Profile\",\"ae12971b-b970-4fa6-8562-67e5690c851e\":\"Enter company name\",\"3e37fe99-b960-46ea-aa54-680414de400b\":\"Click the link below to view, download the Envelope XML.\",\"99eba0c7-3d59-4b2d-bc64-681b7967d6b2\":\"Click to pin the control panel to Right\",\"039b28e3-d2f5-403d-ab46-685e65463410\":\"Allows users to add control fields on RSign™ documents whose behavior depend on other control field values.\",\"2e4e3ac7-eb60-44d8-a126-686d5a017730\":\"Are you sure, you want to update settings?\",\"15a8c1cf-51ca-410c-a6d9-688d26e5313b\":\"Allow Changing Email Subject while Update and Resending Envelope\",\"7bfcbd48-0a4b-4de1-b4b9-688e96eda2ae\":\"Incomplete And Expired Doc\",\"d7842720-beb0-416e-95bc-689cba3b03b6\":\"From\",\"5b375a19-7224-4877-895d-68c6b0fa5b33\":\"Current eMAIL Id\",\"c9e845a4-abf5-4d37-b82b-68c87015308d\":\"Enable Sending Messages to Mobile\",\"1b26376d-ab62-4354-89cb-68db71659f09\":\"Allow Rules Editing\",\"51d69a43-a8bd-4297-8aef-6902039823b2\":\"Sharing\",\"d362f62f-ca4e-4880-8f1e-6903cdba5892\":\"Sign now\",\"ace132a6-3f58-4b3b-be82-691446c0a0b8\":\"Signature Request Availability\",\"7693beca-2972-42d4-8a5f-6919833319ba\":\"More Options\",\"c4262fc3-9e83-47d5-a12e-69460431fb20\":\"Originator IP Address\",\"d27ca932-6095-4f9a-8918-694729c1f9ea\":\"Upload New\",\"627a03aa-9ca4-48fa-badb-6947e415d53c\":\"URL\",\"7eee4f8d-9c3e-4242-9b9f-696349eb879e\":\"Select From/To\",\"7576727a-3630-45a5-911a-696c32ccbe20\":\"Secure delivery with AI autolock\",\"71cce528-6fc1-45af-95ae-6980862d14e7\":\"Document Events\",\"0f5c6a8e-882e-4008-b078-699e41583361\":\"S.No\",\"c7bea010-070a-4c71-b26f-69f8fea1bae0\":\"Required\",\"8148f302-d2b8-42e8-919f-6a02008c7ffd\":\"Envelope is not found in current tab. Do you want to search for envelope older than tweleve months?\",\"8a6aac8a-96a6-4079-aed6-6a0af366c469\":\"Storage\",\"cf1b69fc-6e9a-4267-a1d1-6a494f393781\":\"Saving control details\",\"521d25b0-083a-4c3d-bf3b-6a56552fc478\":\"Click on this to go to Page 1/2 without saving current changes.\",\"2d0f6f50-eecb-4a84-a76a-6a58c82fc66e\":\"Personal Templates\",\"0bddbe34-8a67-48e9-a90b-6a95b63e2781\":\"Specifies the URL of a destination page where signers are redirected after electronically signing documents.\",\"09d88cdf-7416-45e1-b626-6aae7fda9edc\":\"patented\",\"d291245f-5c98-46b1-bb29-6ac823a3bab4\":\"Prepare\",\"d6ba71c2-91a4-41ce-abe8-6ad9cd5f757a\":\"Sign\",\"a48c87cb-4806-49c7-ae34-6ae2f598a7d1\":\"Api Key\",\"43bdc4eb-e59d-4a48-ab00-6b04002160e6\":\"Old Link is no longer valid.\",\"b54874f5-d17b-4458-8018-6b0e9a22e759\":\"Max Character Limit\",\"b6ecfff9-1214-45d1-ac99-6b4e240d6821\":\"Different Folder Location\",\"3c7e200d-f695-47af-bb2c-6ba852b2821b\":\"REMOVE\",\"d75b431d-85c5-46b1-be20-6bc0e28f0fff\":\"Maximum 250 characters allowed\",\"759bd7cf-089f-4b93-98ee-6bf5843335fe\":\"Company updated successfully.\",\"5aecf4ba-facb-4bbf-a836-6c027db8bfd5\":\"Old\",\"9cfa5e95-2b85-46d1-886c-6c0f34534e12\":\"Value should be less than\",\"6a980bc9-4f49-4275-8abc-6c15d13b36b2\":\"Please select valid signature or click on +New Signature\",\"95266884-7c92-46fc-8a32-6c31d078ef6d\":\"Separate Multiple Documents after Signing\",\"4e224173-7a15-4074-8381-6c52ac5669c1\":\"Country\",\"83444a8f-d1f5-4c55-bec0-6ca32b51b386\":\"Bottom\",\"a5e6b5ba-36fd-44a2-8eb9-6cad7f494e58\":\"When enabled, it allows users to edit a template after it has been created.\",\"5b231422-ef40-4d50-9dbe-6cc43be46b9c\":\"The following message is re-routed to you by\",\"8d828bad-4ee3-4059-abbe-6cc680a67d70\":\"Problem Description\",\"c3e476fc-1d96-46b2-a3e1-6ce2ae38b57a\":\"Expiring within 3-days\",\"6bd0c3e7-da7e-4727-8bf3-6ce8f49c0398\":\"Italic\",\"04380f78-9009-4573-96e4-6cf3ffd72d10\":\"Recommended\",\"bf384411-1b3d-4e3f-a5b5-6cfbbeb34c64\":\"Show Settings Tab to End Users\",\"15b93935-8750-4f3f-8333-6d2b1c31252b\":\"Specify a Time Zone\",\"67fe0b83-c563-4240-9e8e-6d3a39385cef\":\"An email containing an access code has been sent to your email address. Please locate the email, enter the access code below, and submit to continue.\",\"44ea2491-41d8-4641-aa4f-6d67dd083ef2\":\"eDOCS InfoCenter REST API URL\",\"59dc22bf-21a1-42b9-bbd1-6d700686ac2e\":\"Record has been updated\",\"24dabd5c-c5f6-4bbd-bbe0-6d72d701cbcd\":\"Upload Image\",\"8c2f49bd-d038-485c-8e9a-6d82aad2a565\":\"Text to Display\",\"b77bcafe-de2a-4395-8e0c-6d853dd418eb\":\"Export\",\"afe3e372-3b08-42cb-b7b9-6d8ad510cd71\":\"Applied Epic\",\"2f0f2682-822a-4805-95e0-6db08d67ff52\":\"Address to reroute all emails\",\"c50dda04-9e80-46ca-a9bd-6df4953f5f53\":\"Initialed\",\"93f9ce7c-3295-4b61-aa5b-6e116bc5f078\":\"Required\",\"6eb1298a-fab8-43c9-b8b8-6e17934a09b5\":\"Pending Documents\",\"32b07189-be7c-4eb0-8676-6e3b4809770c\":\"Thank you for registering for the RSign service.\",\"827f657a-8e71-4ef0-8a7c-6e4ec0c6e135\":\"Add Workflow\",\"cb9af93a-a8b3-46cc-8c16-6e5799a71c3a\":\"Remember password\",\"0f001fa1-c71f-490b-93cf-6e5a55abaad5\":\"Initials\",\"12112dd8-1de8-4a74-ad5d-6e5bfc1102e9\":\"Message Subject\",\"cb69c681-64b3-41ec-b49c-6e65a4921b0f\":\"Are you sure you want to copy selected Rule?\",\"3e116d0c-dedc-4f2d-a881-6e7bff4b1f49\":\"Confirm your mobile number to begin.\",\"2e9825ff-ef67-4434-8e48-6e9fe3b1c051\":\"Search folders\",\"9e9e0e40-b6a3-414a-888e-6ea320e58daa\":\"Document Delegated\",\"de0fbc51-8940-4062-a097-6ea9effe302f\":\"Updated\",\"e99f3d36-d42c-4634-abaa-6eae51892b95\":\"Validate Signer\",\"2ba77314-ad49-40db-8781-6eb7f76eaf8b\":\"Unable to create XML file\",\"b9aff649-82ee-4110-84db-6eca0807e5ba\":\"Name\",\"f2e70afd-b4dc-4ae7-b8f9-6ed98c291fa3\":\"Enables the click to sign feature, which allows the signer to configure their signature and initials once, and then apply them by simply clicking on the signature or initials control fields.\",\"6b6b062e-5564-4739-b455-6edaf9b23e4a\":\"Enterprise Workflow Management\",\"e47f90ad-032e-47d6-bac0-6edbb2bdb8a8\":\"You are pre-registered by your IT administrator. Use your Single Sign-On to access the application. Your IT administrator has restricted other forms of registration.\",\"e2d60f47-5df5-472b-b7fd-6ee82328a7cb\":\"Transaction Fingerprint Checksum\",\"1faacfa4-4e49-4ea0-b022-6f016d94944a\":\"You are viewing current envelopes.\",\"64c1c12a-4edf-4a32-97b4-6f0ea29b8dc7\":\"The envelope cannot be delegated to the mentioned user as he/she is already part of envelope\",\"b7743f69-c687-4473-8c61-6f463dc94bec\":\"Company Description\",\"64c6dfe9-b452-433f-85e6-6f5dfab9a62c\":\"NO THANKS\",\"1833f3dc-ae47-4abe-b058-6fb0a6cc0d63\":\"Reminder days should be less than\",\"9d30b519-47ff-463a-82a5-6fbb42a57e5a\":\"OK\",\"f90fed0f-08bd-45f3-b18d-6fbcfb249876\":\"Assigned To All\",\"dae0f7e6-eb61-4836-8543-6fe69e286aa0\":\"Final\",\"4c62df09-5eeb-4752-a6ab-6fee985a1065\":\"Client Id\",\"4928284e-950f-4d13-9a0e-6ff7b444870c\":\"Audittrail\",\"09bfd4bd-565e-4c73-973a-7001c7e48ee7\":\"Delivered to Mail Server\",\"01f49749-708a-40a5-ad31-7009ea8f515b\":\"Different Folder Location\",\"061ee9e3-0439-41a2-98ba-7015fa726271\":\"(ranges between 1px to 256px)\",\"7d75f530-fd9e-4858-8f38-703c6f708b31\":\"Expiring within 5-days\",\"516a0711-4a96-46cc-ac2d-7056136b3c85\":\"Please select country code.\",\"a0141799-69f7-4ffd-a37c-70831640649b\":\"Other options\",\"b61a1dd0-96f2-4301-a81d-708b187de010\":\"User Name\",\"38ffdb00-9c9c-4a4b-b7a9-70a8747a5a37\":\"or drag & drop files here\",\"1f451bc4-8095-4979-afff-70cd92c8eb6f\":\"Disclaimer\",\"f2f87d04-30b4-4eec-83ee-70d0195b371f\":\"Review and respond to the request via\",\"23e38de2-0d04-418f-9d2a-70d1dd14da49\":\"The email address that was entered is already registered in the system\",\"b5cec461-4dd2-4a0a-8e50-70dce9e0895e\":\"Validation Type:\",\"f503d101-ba86-415a-93a1-70df61c44932\":\"Loading Company Settings...\",\"4f3f27d4-7715-478f-941e-70effafb9960\":\"Please verify input dimension range & try again\",\"345c89c3-1b11-4c56-86e3-71016015e65b\":\"Move\",\"2841c7ed-d1be-4a8e-8671-7131446d837b\":\"Address to Copy All RSign Emails\",\"64f9cc80-e2fc-4518-a721-7140976c87a5\":\"Current Settings\",\"996bfc5b-b51e-4b8e-a122-7167ceeef69e\":\"Use these shortcut keys to perform common operations on recipient fields after selecting them.\",\"b2499f5f-6402-4133-9bb3-717c718b3eec\":\"Click to Delete\",\"fc291dbd-58e6-432f-85a3-717c7bf3f3ca\":\"The reason for changing the signer\",\"4af0fefd-8ee9-44e0-b240-717d59072231\":\"Job Title\",\"4e2211d9-cde5-46a8-aa15-71a746d0f53f\":\"Review\",\"69b937ca-25d9-49a5-901b-71aa0562864a\":\"Optional\",\"a130f81d-8dbc-465e-9912-71eb4ed4f96e\":\"Enter Signature Name\",\"ce4b0a63-d065-4476-9163-71ed55af8448\":\"Opening an envelope to edit...\",\"4da35121-888a-488c-a466-71f7c8d8b22a\":\"Choose a Signature\",\"a3f10be9-dc3b-49ec-8238-722382888830\":\"Your browser does not support dropbox file dialog\",\"fa2c9bca-8a76-49eb-87bd-72565d0eb343\":\"Custom Color\",\"40083db3-a4b8-490a-8efc-727bb59dd3e4\":\"Learn more about RSign\",\"18f45d61-3c7b-49ee-be1f-727db83baca8\":\"Resending activation email...\",\"4f164c4d-9408-4bdb-8ced-72fbe60a4efb\":\"View on-demand signoff status.\",\"10e71507-efaf-4dbd-b1a6-73454ab9dd19\":\"Rule Data\",\"eba32940-11a8-4815-92c5-734f90e68307\":\"Send me the link\",\"1308b3b1-ffae-4d22-8422-7350d0aee050\":\"lisa\",\"5ad8935e-32c4-4c0a-ae16-738053932f3e\":\"Pre-selected\",\"e9ef5b2b-54af-4ebb-ac77-73ab382be16a\":\"Automatically Detect\",\"38b4b6b8-eb89-4d77-9494-73bbeecc2103\":\"Pending\",\"ba96a64f-b8c7-43bf-9ca9-73bd4f1ec4e6\":\"Folders\",\"e0a8ca12-6733-4b55-8eee-73c9d5497bf9\":\"The user name or password is incorrect.\",\"cd63eac1-9d46-4798-ab1e-73f374b82fd6\":\"Do not attach standard confirmation template\",\"e4a01305-48ec-4906-8a66-73f84e71908b\":\"Invalid Date or Date Format\",\"49932454-c83e-4c3f-aaff-740260382e4f\":\"Customize application as per your needs\",\"a87f40f5-2b31-4090-80e0-747bde9fbca5\":\"Validating, please wait\",\"8c3371fd-8c8d-418f-abe0-748911174755\":\"Created On\",\"b3d145dc-2add-4551-9618-74ac63cd59b7\":\"User Signature text Saved Successfully.\",\"bf73691a-c8e4-45f8-a459-74d59ccd7516\":\"This setting captures the application URL to build the login page URL in personal settings.\",\"765d0e22-bfee-469b-b7ef-75133e8bf292\":\"No file selected\",\"db5fae8a-c60a-4c74-89d6-7531063262bc\":\"Phone number\",\"715b8173-7b8f-42aa-9a3b-75498a72ddaa\":\"If you need to modify the document or have questions about the document, please contact the sender by email or by calling them directly.\",\"f4455b03-f8fa-4dac-92ab-75510f70befa\":\"Specifies how the final signed document and the signature certificate should be stored in eDOCS InfoCenter.\",\"47405858-d240-4264-b4a0-757c5eb376c6\":\"Your IT administrator has restricted resetting passwords directly on this application for your domain. Please use your Single Sign-On methods to reset your password, or reach out to your IT administrator for assistance.\",\"99accb6e-0617-46da-a539-75ab0f047ed6\":\"Save\",\"efbe0156-fe26-4883-acf7-75c7e82d7653\":\"Sent for Signature\",\"9ecf474a-193c-45d5-b1dd-760b5d1c32a8\":\"Processing\",\"b88f8f74-e13f-416b-8285-7613ef3f7fd0\":\"Add Dependencies\",\"06547d5e-8427-4956-a8a3-76211e98b1c7\":\"Add\",\"086ab8e7-14fd-488f-ab63-763d92184f7a\":\"Specifies how many days or weeks will go by before a new reminder to e-sign is sent.\",\"7de4ab94-982c-4aff-8a56-7649333d80c4\":\"Align Center\",\"01e9d0aa-88cd-4229-a02e-7654260ad6d6\":\"Master\",\"48a3b600-751a-4bdc-acdf-765d82a72edb\":\"Reroutes declined electronic signature request, electronic signature carbon copy, electronic signature password notifications, electronic signature reminder, electronic signature requests, electronic signature verification code, expiration reminder, final document carbon copy, final signed document, sending confirmation.\",\"5e43d64d-de1d-4c76-902b-7667b6e597e9\":\"Add App Key\",\"c5a722de-af63-4425-867e-7679d37f419b\":\"Integration Email\",\"a70bff36-2625-47aa-99af-767c629f84f6\":\"View Email Body\",\"e9289eca-fc95-4d65-9af4-76cffc94e05c\":\"Cannot insert duplicate Emails.\",\"e3f79a7b-469d-456a-9a1e-76f2ea11af35\":\"Weeks\",\"ecbac9eb-37a9-4d64-95b7-7731c258bb6d\":\"The envelope is successfully delegated to\",\"0f467e35-051b-4b15-9970-7733350c68c2\":\"Refresh\",\"af749a4a-696a-4b00-b992-776913ab800b\":\"Text for All Other\",\"b509672c-c7d1-4273-96e1-778f0f4515a1\":\"Data is saved successfully\",\"50709256-16df-48f4-9452-77a1c93fe7a8\":\"Your request has been declined.\",\"d041c7ab-5391-4cab-bfe5-77b535bdca01\":\"Recipient Name\",\"8de2c367-e551-4e08-bbee-77c4cc5a54eb\":\"Please Select envelopes\",\"a039742d-d825-412d-a081-77c94f8c5404\":\"Select Rule To Edit\",\"40abcd00-81b1-45f4-87ad-77f979253312\":\"Allows users to specify an alternate email address where to re-route signed documents.\",\"4afdf497-6289-42d0-ba49-77f9959b07e4\":\"Your template has been deleted\",\"dd299130-d5ff-4d0b-b0fd-7843d544a7ef\":\"Expected Format\",\"3728abe7-3343-4049-8887-7867b198e31c\":\"Please try again in\",\"ea216ab3-4549-4c24-8c01-7885b0e8e026\":\"Select Sign now to invite signers to sign in person or invite them by email, mobile, or both to sign offline.\",\"3d4277e0-0cee-4d03-9e9d-789264c89cd0\":\"Sync\",\"2dd6973f-914d-4173-a587-78a08b84d74f\":\"Your message template has been deleted\",\"72a2ad10-f2d9-402d-b76d-78a5278e1979\":\"Display Bullhorn Contacts\",\"ab487229-7874-49e3-8be4-78d27541aec3\":\"User is Deactivated. Cannot change Usertype.\",\"34f77774-b946-4c25-9d34-790eb961f2f7\":\"No data found\",\"a022cff9-1efe-489b-914b-792d0b6096d2\":\"Allows users to create an envelope using multiple templates.\",\"29918858-b944-4b22-b81c-794761145a45\":\"Document Type\",\"22ae37d8-f388-4101-adb0-7948fe8015e8\":\"Add controlling field to the document and add dependencies\",\"ea6786c6-80f0-4c10-bf4d-7952aae7292c\":\"No Uploads from device type\",\"9fe7e787-2eb9-4127-8cf7-79621f734b00\":\"Update and Resends\",\"78956660-33be-4cb4-ac63-798e0b015f19\":\"Send the final signed document\",\"1f1ed7e5-112c-40fa-84ab-7993f55819ab\":\"Allows users to share their personal templates and rules with other users.\",\"40ca02ce-fce2-4e94-aa5a-79a2c71d8d98\":\"Create auto-reminders for your e-sign requests.\",\"1ca3e6c7-136e-45cd-af07-79ec3d3b3e62\":\"If selected, RSign™ emails the password to sign and view the document to the signer.\",\"c8c1d755-0abf-40c4-be27-79ef8ddf5c08\":\"Envelope details saved successfully. You may return to the email anytime to continue the signing process from where you have left off, or\",\"9a2d4fd9-f877-44db-a554-79f40eb686f4\":\"Are you sure you want to restore these envelopes from folder?\",\"4c70c532-730c-4c21-871b-79fefa3f1d06\":\"Actions\",\"15c94239-0a42-404e-b4df-7a3d0cc8de23\":\"Enabling Integration Access displays the Reference Keys, also referred to as account id. All users under the company share the same reference key. It is used along with username/password to generate AuthToken while invoking RSign™ Authentication API.\",\"fdeea25e-55e9-4ca9-a0cc-7a4340221794\":\"Share documents and templates among a team or work group.\",\"743e2355-cb89-4296-87b7-7a554fcbd5e2\":\"Signing as\",\"a879e79e-9210-4d11-907e-7a6c8d62c15d\":\"Template group added successfully\",\"f4753d16-9cea-4938-bf07-7ab4ac721bab\":\"Final Reminder\",\"c9840872-0cd7-4f18-95e9-7ac8c57a56c1\":\"No Cabinet was found with the given search criteria.\",\"a689e316-be9d-4957-b6a1-7ad8ef3f9e21\":\"Allows users to share message templates.\",\"954d609b-e686-4168-ad10-7ae8da06c110\":\"Entity Fields\",\"e3ec426d-fff7-49e7-bf0c-7b208ca4c3bd\":\"Selected Columns\",\"e75c13b9-c06f-4971-b653-7b317f327674\":\"Display\",\"5b0e5841-7c67-40d0-98e7-7b501f1edc48\":\"Template Editable\",\"d85b8727-0e5d-4634-a178-7b5a85523656\":\"An error occurred trying to delete the file\",\"72bf5e2c-c7ea-4f94-9d79-7b67d0fb7565\":\"No Matter was found with the given search criteria.\",\"a5b5c9cb-a383-4540-b909-7b7d52ecbf9c\":\"Prefill documents with custom content prior to sending.\",\"c14e6de2-5ac8-4628-b17a-7b9011c4302c\":\"Please enter the company name and click the search icon to view the company settings or enter the exact email address of the user and click the search icon to view the user’s settings.\",\"b958cc49-3d6a-457f-af32-7ba34a423ebe\":\"Select a colour code to customize the appearance of the header on the new signer's interface.\",\"1e280f12-87be-4691-b47f-7ba5be461dd6\":\"Re-Generate and Send Final Document\",\"6a5e581b-eddf-4b73-8904-7ba729e888b5\":\"iManage Platform\",\"c55d26c1-bd07-4417-a234-7bd41c50e5b3\":\"Delete this document\",\"cea7d4c5-14c4-44b6-9b42-7be91a40ff61\":\"Sent\",\"63e3b49f-3111-4f58-a07c-7bec4f441809\":\"SMS Provider\",\"6fb06c1e-0291-418a-a668-7bed3373e3e5\":\"Enable\",\"6ab802a5-2d79-425c-b6b0-7c21605308db\":\"Template Version History\",\"16406fec-e895-4c5e-b740-7c234c383fad\":\"Rule created/updated successfully\",\"b4c7cde2-e31b-4ea5-8875-7c2f2666d8b7\":\"Terminated Doc\",\"2eff7e2b-7da7-44f5-b403-7c38f0c54f39\":\"No Client was found with the given search criteria.\",\"4a9329fc-b0e0-4c56-833a-7c459decb559\":\"Provided user not exists in Company -\",\"2197dbd8-2769-4f7b-ac17-7c574e0eb11a\":\"Save document in the Drafts tab\",\"70303eb9-3e6e-4884-ae85-7c671c11157d\":\"There are currently no rule created.\",\"bdce2b56-4ce3-4607-94ab-7c891c039d9c\":\"Provides the ability to select the time zone used on sent and signed envelopes.\",\"04831fbc-8571-4380-8c41-7c8bfa8077d2\":\"Requested By\",\"e589efc1-51e7-47b0-870c-7cc37f975948\":\"Analyze advanced reporting of productivity metrics.\",\"47df468c-adcf-49a1-b47d-7cca13d416cc\":\"No Rules available. Rules can be created within the Templates tab.\",\"7676b253-5fe6-4e77-81b1-7cca9a55afcd\":\"Enter Initials\",\"179d3e7b-bcd7-452b-a6d9-7cf07cd49470\":\"Add Suffix To File Name\",\"de49519b-c69e-4742-91c8-7d013fbffa9b\":\"Why do you want to reject this document?\",\"d196f1b1-3f99-4de0-999d-7d4d8a778992\":\"Error occurred while retrieving rules.\",\"3c81ba1e-1bf3-4d5d-9ab3-7d70926f9fac\":\"Final Signed Document Naming For Multiple Documents\",\"2217eb22-37a9-46c4-ad76-7d75493966d1\":\"Restrict recipients to the contacts in the company\",\"683ae1b5-9c78-4809-8db5-7da62fc221af\":\"You will receive a notification once the sender approves or declines your request. If approved, follow the instructions in the notification to continue.\",\"55e4ac4a-43dd-4803-b5a1-7db28ae9b517\":\"click here\",\"a5264e84-31f8-4be2-8d65-7dd36c239b3b\":\"AI Auto Lock Override\",\"c6ed4d22-da13-4e93-8667-7dda01053c3f\":\"Deleting a document in an envelope will also delete the controls associated with the document. Do you still want to delete the document?\",\"d1ff9ae7-9131-4e10-919f-7ddbb0fd326c\":\"Bold\",\"e7407f14-541b-4449-a1b1-7e17775df87f\":\"Loading Envelopes...\",\"9c2a99c8-df21-4fcf-9968-7e2f5a8629bc\":\"Envelope ID\",\"981497d4-eee6-4730-bb9d-7e52e723d313\":\"Please enter valid value\",\"ac6ae96b-ed23-44f2-9f60-7e765addfe28\":\"Provide correct company ID\",\"db886a03-0476-44e5-a4f0-7e9cd5a6d662\":\"Contact us\",\"7ddd3262-d913-46a0-936e-7ec509307e80\":\"Comments should not be greater than 250 characters\",\"62cbfd98-2adf-41ea-8579-7edb7f6f163a\":\"Please select at least one drive\",\"6e90b110-5ac8-4b23-a086-7eeac8f41154\":\"Text Type\",\"b3ad215f-11ea-4f19-b164-7fd8e81a0d24\":\"Plan Details\",\"5a5ac3ca-77bc-497b-b74e-7ffba0677567\":\"If you still can't log in, contact your administrator.\",\"5692bff0-7b40-48bb-a782-80012535ad3f\":\"Template can not be deleted, as it is linked in a group.\",\"ccdf0d57-d38f-4b2a-85b2-8006876bfecd\":\"Application Default Repository\",\"c2d79d51-e607-489c-8ca3-802068dea247\":\"Share\",\"605a516e-8873-4622-ad32-804ad827e5d4\":\"Envelope details saved as a draft. You will be able to return to this page by clicking on the drafts folder located on the home page\",\"78f7e70a-5f8a-4df9-9f90-805cc8e20634\":\"Rule Code\",\"9d822970-b5ae-4cc8-9977-806bf8eebf19\":\"Allows the signer to enter their signature by typing or electronically writing their signature on the document using their touchpad/mouse or other devices or upload an image of their hand signatures.\",\"29faa277-105e-479c-a654-80b67d62af91\":\"Invite by email\",\"0e9cddc4-25bf-4bf0-ad53-80d8c89e185d\":\"No\",\"66700478-3851-42e3-98bb-811c271ffd72\":\"This setting captures the application URL to build the login page URL in personal settings.\",\"27833374-f166-4c5e-862c-8136b7dcf23f\":\"Create Company\",\"0c64b5c6-c2c0-4dec-baeb-8137a02e22d8\":\"You now have 24-hours access to the document.\",\"0a228a72-5c3a-49e6-b41e-8153b16770aa\":\"No options added for dropdown\",\"372911e5-1069-4b28-960f-8165be0ce01d\":\"Please enter value\",\"502d3e84-7273-4e8b-869c-8192e6b3d88d\":\"Display Applied Epic Contacts\",\"628b51b0-035b-42be-a6aa-81c538becf99\":\"Different Folder\",\"256b08a7-aa2b-4507-a735-81d0a7c1de86\":\"Provided company not exists.\",\"145cc8e3-4032-447b-a1b1-81d6e4d304f9\":\"When CC recipients are added, the sender can specify when to cc them and whether a copy of the document should be included.\",\"202c3883-4018-4eb8-9461-81edbaf4d8f8\":\"Specifies whether the signer should be allowed or required to upload attachments or not.\",\"e48befc1-e152-44ab-8ebb-82223c148a42\":\"Copy selected controls\",\"77d40282-883b-476d-b7fa-82244fa391eb\":\"Max file size 40KB\",\"af677c19-831f-416b-a632-830a14340fd1\":\"Add Prefix To File Name\",\"5edcf1a1-8734-474f-8485-830a32fab993\":\"Click to Edit\",\"25b27318-817c-4aa8-9972-837de7d41e92\":\"The document sent for signature is expired.\",\"2fa3250e-7c3e-4319-910c-83ba77d7bb23\":\"to learn more about RPost services.\",\"98d8401a-98d6-4231-8cf9-843870fedfae\":\"Translations\",\"01ca051c-3af3-4a86-9683-844edc10857b\":\"Not enough units available\",\"90b2bd0a-18b5-466c-b80d-8453ce4067f7\":\"has Signed your Document.\",\"93e1e588-acb2-4d44-85eb-846c150bbee8\":\"Template Unshared Successfully\",\"206f81cc-1d4c-4559-85c8-848b2e0a967b\":\"Envelope creation in progress...\",\"ab0ccd8b-4ffc-46c0-9be4-84b582715338\":\"Settings\",\"bc8d52d8-c6a9-43c6-b578-84c03bbf8024\":\"Signature\",\"eda2981d-2c52-4da6-8e68-84d125bd6271\":\"Default PMTA Server Tool Tip\",\"e4807faa-76c7-4487-adf2-84d34263dd23\":\"Export To PDF\",\"545621fb-31bc-4dfe-87e8-84de8ae7e508\":\"Conversion In Progress\",\"1fc446b7-0c38-4a82-bc99-84e5d3117094\":\"Copied from\",\"31b51ec3-6028-4da2-b3b7-84ef3cb18179\":\"Same Location as the Original File Location\",\"85879fe5-d232-416a-b3da-851f0ec0c1ce\":\"Preview signature\",\"1344176f-ad22-466d-84b0-8526a2671f1b\":\"Displays where the code or message is sent to the recipient. If send message/code to the available Email or Mobile is set to Y and email or mobile is missing, all communication will be sent to the available email or mobile.\",\"d204a056-8685-4a2b-a4aa-8549216a3116\":\"Folder with same name already exists.\",\"c4b3c951-cd94-46fe-b655-854feea14e53\":\"When enabled, the email addresses of other recipients will be hidden in the emails received.\",\"911112d1-305d-41d2-b750-8555a1617fe5\":\"Select a colour code to customize the appearance of the Finish button on the new signer's interface.\",\"f32f80d9-c8fe-4907-8fc6-856b41059174\":\"Password\",\"3f4386b1-91ca-4d6a-ba91-8570fd1904c5\":\"Failed to delete final contract.\",\"b4ee5ef8-dbe9-488f-b3b2-8575f046873e\":\"Override for 24 hours\",\"4b7072b6-5e67-4719-b649-859b8716d15b\":\"Search matters\",\"d4f33217-9ac7-4dd4-83dc-860230bb9b79\":\"Reset Password\",\"1fd671a4-754b-49ac-a0f1-861f3f5f575a\":\"Download preview\",\"15d6ef00-2823-4f56-997d-864cb2ecea2c\":\"spam\",\"6b112c1a-5ab3-4274-b0ad-86697d5b2ef4\":\"Sign as\",\"77299e86-3ace-4386-94e5-866986307e40\":\"Re-verify Each Signer for Static Templates\",\"7c89b3bb-9097-4815-baae-868010fafca4\":\"Download Terms of Service\",\"5ce733b2-a1b0-4cea-a90c-868a4590b427\":\"Click here to sort by template name\",\"a5f1954d-c956-4d28-8a41-86d9a78daf49\":\"Delegated to\",\"04c148f5-e4b8-4ee7-a7b8-87152953e8aa\":\"Your session is about to expire\",\"5dc6a45b-9ca5-425c-adc8-873534538124\":\"Actions\",\"6092a97b-bcb6-4f09-835d-875bea1ae10e\":\"Logged in User\",\"264976a0-132e-4507-afe2-875d1648e3a0\":\"View\",\"88b3dd71-b838-41a3-9252-87675d8c19c5\":\"Code Via\",\"a3499e71-e713-4821-9f90-877b09767c60\":\"You are Viewing Personal Setting History\",\"bc9fc450-934e-4941-860e-877ce083bbba\":\"Enter a private access code or leave blank to generate a random, system generated access code.\",\"a5829edd-75eb-43ae-ba6d-87aa2c1f5376\":\"Standard Confirmation Template\",\"ef51757f-f0f7-4f29-a74e-87b02b8e9f8e\":\"Post-Signing Landing Page\",\"386be4a1-af8c-4a88-a159-87b55fb72bcb\":\"Download the final signed document by clicking the download icon or download it later from the Completed folder of your RSign account.\",\"700361d4-36e6-434a-8925-87b68710395c\":\"Include Signature Certificate on PDF\",\"0ab02912-ca20-4080-a89c-87ce3213c6fa\":\"No Folder was found with the given search criteria.\",\"d399c5d8-ed8c-438d-be2f-87d360dc23cf\":\"When enabled, it allows the sender to view and download an XML file of an envelope within the ENVELOPES tab\",\"4870257d-34b3-48a9-b252-87d7ecc36421\":\"Step 1 of 2 is complete. You will receive an email from RSign to verify your email. Please check your email and confirm to complete the step 2 of the transaction.\",\"66822ecc-1df6-49ab-b1f3-88538cf1440f\":\"Envelopes\",\"ac91fec8-14e4-418e-904c-886bcb551888\":\"Save\",\"9f72b75a-1f21-4d96-a94f-88768331ade8\":\"Average\",\"850be5ac-79ac-474a-8a97-888c35028266\":\"Max file size 40 KB\",\"7123e18d-1b88-414f-836b-8894d36e9436\":\"Document submission is in progress\",\"1af71911-9dc1-427c-8801-88b9b2fdb017\":\"Please try searching after changing the period value from the drop-down shown at the bottom of the page.\",\"c12d2e29-56b4-4be5-93c2-88de3b9bfbf5\":\"Changes the RSign™ user interface language. The default language is English.\",\"396c579d-0f68-4f06-8a7b-891b5397dc0e\":\"Expiring within 7-days\",\"dd882899-f945-42ae-bd28-89239bffc183\":\"Envelope has been signed, now it can not be Declined or Terminated.\",\"37f09eb9-bad9-4c42-96eb-89314d297677\":\"Plan Details\",\"f9507739-1c3c-4e92-a132-89355ffc9bf0\":\"If this setting is set to \\\"Y\\\", then only valid App Keys are received through the RSign API. If the setting is set to \\\"N\\\", then RSign will take the App Key configured from the Company settings if an invalid App Key is received through the RSign API.\",\"41b582ae-b4f0-46c8-8ad4-8942973557af\":\"Transaction Cancelled\",\"bd55d09e-eafd-4d84-9cff-899263bf1253\":\"SAMPLE DOCUMENT TO SHOW FORM FIELD LOCATIONS\",\"a7d0fa98-2d01-44b7-9af7-899892366028\":\"Move right\",\"52268279-60c8-4366-886c-899ab9b890f7\":\"When enabled, the RForm (Template accessible through a static URL) must contain a signature control field for each signer. When disabled, the signature control fields are optional.\",\"2aeb7505-2bb0-4d98-9340-89e668d0da8f\":\"patent, trademark\",\"98ba06e4-e05e-4cc4-b161-8a065f0b9ad9\":\"Saving\",\"0924b054-2e88-4e0b-9f26-8a3dbd2121ad\":\"Template\",\"525ea046-801d-4195-93b8-8a48c299fed4\":\"SMS Access Code\",\"551b6fae-22d4-4cbc-bf4f-8a4a03bccb83\":\"- At least one lower case letter\",\"897806e7-7044-4a66-97a9-8a67c816a6a2\":\"Regenerate Final Document\",\"d06a0f25-fd8b-478c-86aa-8a6cad8fd536\":\"Username\",\"80a13fcc-4900-44c2-94e2-8a840733feaa\":\"This envelope is delegated, and is not available for signing.\",\"117e105a-d32b-4423-84ac-8ab816fe020f\":\"Confirm Your Identity\",\"aacb5446-fd2e-41ad-b069-8adfa73155c0\":\"Requested Date\",\"95a3df22-5a12-4eff-bda9-8ae647ea345a\":\"Invalid\",\"77c49fb6-cbe8-4b7c-9443-8aecea2b9354\":\"Specifies the nomenclature of the signature certificate.\",\"6ab28736-5353-4b90-ad65-8b042966e3d5\":\"This username is available\",\"47abcadc-8541-4662-8067-8b46742eb688\":\"All Templates\",\"e4fcd335-539f-4a13-ae60-8b4f98d1caa3\":\"Forgot password?\",\"15abae70-e2cb-4edf-99dd-8b5b3228c8ae\":\"PLEASE WAIT\",\"5f2140eb-6923-43f2-8ed4-8b5cb3a0164e\":\"Prev\",\"9506a039-df8d-4650-8552-8b650c9889b1\":\"Int.\",\"13864a68-da9f-4282-a2d5-8b735536ee3a\":\"Paste\",\"2b501a77-5a69-4dd2-85f3-8b8b87eb5217\":\"Original Recipient\",\"e5cdbbf9-1358-45a3-afc0-8b8ee349ddb8\":\"Feature\",\"32b40711-1b71-4cd8-90d4-8bf2ee1fb75f\":\"File type you are trying to upload is not supported. Supported file types: xls, xlsx, csv\",\"f700a67e-d619-435a-b307-8c09d90f96f3\":\"Disables the Decline option on the signer’s page and in the recipient’s inbox on the RSign homepage.\",\"c91bc834-d590-4d35-b05d-8c17dd9b4b7a\":\"Contracts\",\"f874b17e-f1e9-4195-8687-8c4d0c6067f5\":\"All\",\"eb97fe21-81d1-4ca8-8105-8c62bd7962bb\":\"Include Envelope Data (XML) in the Envelope Tab\",\"98b9b546-78b6-42c8-8e29-8c647788b911\":\"to go to the RSign dashboard...\",\"10ea367d-6a8f-4adc-8179-8c70ce26385b\":\"Envelope Session is not set\",\"23930417-0123-4aab-8b7f-8cd783fdd770\":\"Document\",\"4e06d936-6a9f-4168-95b1-8cfddace7624\":\"Please save the newly added Signature Name.\",\"685e0af0-e86e-4e05-956d-8d0fa77fc29f\":\"When disabled, the delete button is disabled on the RSign Homepage to prevent deletion of the envelope.\",\"a8822828-7e19-4297-a959-8d49cd584760\":\"I agree that the mobile number as indicated is the address associated with me and is acceptable for use for the purpose of creating a record of this electronic transaction, for receiving confirmations related to this transaction, and for receiving records and notices associated with this transaction.\",\"1593ced0-6f85-4ca3-87cc-8d52050c3772\":\"RSign Email Verification\",\"9bef9e87-7ccd-4a91-825c-8d6c289b9249\":\"View how-to-guides, videos, and other training content\",\"66736c91-24d1-4b1a-bfeb-8db3095505a8\":\"Delegating Envelope\",\"d3aae763-85da-475a-bac2-8dc21d5a025d\":\"Fill, sign, share, or comment on any document\",\"be3f22bf-d20d-4f5c-897b-8dc348556bc4\":\"Click here to sort by sent date time\",\"3b1f4201-52dd-4501-bfad-8ddacd240f68\":\"Confirm\",\"485b1c6b-59db-470d-a4c8-8ddb2552b738\":\"Button Text Color\",\"7cd34ae9-e97c-48ce-a131-8ded64fe2ed8\":\"Please Select Rule.\",\"155a9150-3948-4721-b623-8e01621f3f93\":\"Please upload the image.\",\"294c464d-7eaf-4884-a92b-8e1317bfc7d0\":\"Sorting templates and rules...\",\"3cc5d6ba-a0ba-422c-b0d9-8e22c124662b\":\"GDPR\",\"6fd5c521-61a7-445a-93c1-8e28ff8b62d7\":\"HUMANIZING EMAIL SECURITY\",\"91df60fd-c9bc-4fef-9331-8e372675f310\":\"An Application error occurred. Please try again or contact adminstrator.\",\"ab013e50-a9c4-464e-a758-8e516c72561c\":\"Unit: hh:mm:ss\",\"3ad53391-9106-4cef-bbc5-8e6a95565db3\":\"Radio\",\"48ea56f3-8705-4b74-92ee-8f1c8f9f26bd\":\"Do you want to proceed?\",\"9687c9a5-a28f-41cc-9370-8f1fa33fc359\":\"Timeout Redirect\",\"065b6265-ff70-46c4-b893-8f6b4ce4dd36\":\"Enable Out of Office Label\",\"10203b8e-a992-404b-a801-8fb0ff013f7c\":\"Enable this feature to store the final signed documents and signature certificates in your Applied Epic account.\",\"fd82add2-72ea-4cd9-8484-8fcd0b32a7f8\":\"Your session is about to expire!\",\"75a108e1-b8d9-4b6c-8d58-8fce2c3496d5\":\"Process is incomplete for this envelope.\",\"aa0c3458-d155-42ec-bd3c-8fce5c810ddd\":\"Alternate Signing Option\",\"e396654a-501e-4562-ba0b-8fe221823841\":\"Session Time Out\",\"7d9e2f1c-b048-44db-9c07-9014e2d54ec4\":\"Company Registration Successful\",\"288c5b6c-146b-4661-858d-903ca09e859b\":\"Error occurred while sending Emails\",\"5bdce09d-0711-4470-8cf8-906955432494\":\"Reroutes final signed document.\",\"81459ae7-b38a-47a3-94e2-9073b127f9db\":\"Provided mobile details are not matched with mobile entered earlier. Close this browser tab and click the link again to continue.\",\"43673d7a-4753-4471-8ddb-90b04795cb1f\":\"Override for a week\",\"d9a49384-f463-4e3c-acee-91169fd95726\":\"Address to copy all emails\",\"1d0f49af-bce5-49fd-bc9d-91451c1919f3\":\"Email address does not exist.\",\"4ae24e94-6d93-44bd-a20c-914c34d6284f\":\"Download the certificate of completion indicating the declined envelope by clicking the download button or download it later from the Completed folder of your RSign account.\",\"1fc42b6e-4539-4a9c-9131-91548b2f797e\":\"SMS Provider\",\"568d8350-89ec-489a-bd8b-91a8a8978c9e\":\"Any\",\"17286b4c-8888-4e8e-9939-91c0d7750e5f\":\"Sent Documents\",\"1a6c975f-77ab-4000-b98e-91c3491402bf\":\"There are currently no shared message templates\",\"5a4ad709-4b08-46aa-9856-91c9317ef59b\":\"Disable Finish Later Option on Signers Page\",\"81c0a7d6-88b4-4bb2-85c8-91f88022bb71\":\"Dropdown\",\"65347815-79ba-4e57-9ac5-921289ee098d\":\"Attach XML\",\"bbc80e5c-4aed-4b54-ab44-92606b19b28b\":\"Expiring within 1-day\",\"30b210b7-8c22-4d94-88bf-9266de8f7347\":\"Action Required\",\"bfebe496-868f-4823-b03c-92727c1007d0\":\"First Line Blank\",\"06faa940-4879-47c3-afce-927894dee691\":\"Document History\",\"4c983255-3604-4c21-84d0-92990960941e\":\"I agree that the email address as indicated is the address associated with me and is acceptable for use for the purpose of creating a record of this electronic transaction, for receiving confirmations related to this transaction, and for receiving records and notices associated with this transaction.\",\"bdea933f-9664-43a4-ab54-92a0468997cc\":\"Can edit\",\"69d1a0a1-d02f-4d31-a5dd-92dc2cec75fe\":\"Envelope details saved successfully. You may return to the mobile anytime to continue the signing process from where you have left off, or\",\"771f1ced-6b1d-4d45-9416-92fc4603c738\":\"This template may only be edited by the template creator.\",\"36d9a011-b2f9-477d-b5c3-9313677c3c12\":\"Initials\",\"39cf1e4d-0bd0-4bfe-a5e5-9327fb4ce07e\":\"Message To - Specifies where the e-sign request should be sent. Code To - Specifies where the access code for two-factor authentication should be sent. Code Should be set to None when the setting Access Authentication and Reverify Signer is N, as no code is sent to the signer.\",\"775b86a4-1137-4254-94c5-93430df5b4c3\":\"Enable Webhook\",\"ae6fb199-4d4d-4117-8bfd-93471d739726\":\"No envelopes found in the History tab. Do you want to search for envelope in the current tab?\",\"2e96f0a1-1bb4-4d27-a8de-934bc0bee1c6\":\"\",\"214bc3f5-a028-4728-b200-93635e5f5189\":\"Click here to sort\",\"b2c2cea8-104d-4212-824a-936c950a886c\":\"Finish Button Text Color\",\"bb0c81dd-8766-4aeb-92c6-93bc7f6131db\":\"You can download the final signed document from the completed folder of your RSign account after all the signers have signed.\",\"9eaca382-0670-4b6e-ad5e-93bf4e0ed929\":\"Deleted\",\"353ae8e6-440e-4ddc-965d-93c2673b6503\":\"Delegate Envelope\",\"7490ad04-03d8-46a8-bef7-93cb0402d909\":\"Signature Certificate Document Name Format\",\"0a4e48f2-e290-4ccf-a9c0-943a719df3b3\":\"Enter signer details\",\"3ff0df03-a755-453f-98b2-945e5494ed7d\":\"Delete Contact\",\"5680ed93-3666-4994-b8e2-947245b06a69\":\"Company Profile\",\"9e4bdbce-c6b7-418b-80d1-94aba20f524b\":\"characters or control boundary.\",\"f6da02fb-3f84-4318-a5ca-94cbf6d39059\":\"Process is complete for this envelope.\",\"aec45ea8-8e51-414c-98ff-951d43243526\":\"Viewed by\",\"6ca51fb2-7e65-4936-b34c-9521c6872022\":\"Create Envelope\",\"c072655b-4172-45d7-93d2-9547a2425b57\":\"Signatory Roles & Authentication\",\"a385ceef-62d6-4c19-818c-957e5b5bf6e4\":\"Date Range\",\"d93cf3d0-0a9d-4a25-93df-95b6aaf44566\":\"Advance\",\"4793d115-1a63-4484-aad0-95b6b2a9ec1d\":\"Don't show me again\",\"d85b9268-6131-4c8a-9805-95b748d8ae05\":\"Both\",\"decf0237-e4f7-4e5a-b8ea-95d7b6c3cc67\":\"Template Details\",\"e8454089-d286-422b-9066-95e75b10497e\":\"Specify the date after which the link for the static template would be inaccessible to the sender and the signer.\",\"814feef9-b6dc-4bb7-81ed-964e46ee93cb\":\"Dropdown options list\",\"638e56b9-36d5-4069-96eb-9687e817ba90\":\"Invalid tags found on documents:\",\"ac67c213-d705-475b-93b7-96960d1cf900\":\"Last Updated\",\"a983f157-5788-4f47-9723-96db485186ff\":\"Check your email\",\"a09c93b2-837f-494d-a953-9714b05dffb6\":\"Enable Attachment Request\",\"25e5ff6e-2387-4d1e-bb34-97584799feb5\":\"There are currently no templates created.\",\"ef286951-843b-4749-9ac4-9768f74f6ef9\":\"App Key\",\"4eb4a717-c991-4904-a102-981723494c8d\":\"Opening a rule to edit\",\"1d8864da-0515-4573-adca-982c70683ae7\":\"First Day\",\"1d9b5881-c488-4371-b119-9859db934959\":\"Company Name cannot be blank.\",\"2450f2b5-c3ab-4f3f-bd69-986d677cffcf\":\"Do you want to stay signed in?\",\"53e5ec53-bdb9-412e-84ae-987afb08ba48\":\"File Name\",\"d709f8b3-2dae-4198-bcc1-989396d3cb10\":\"Rule added successfully\",\"a22a28a2-32e8-476d-b8a0-989dcc03366b\":\"Control panel pinned to left\",\"52359b52-984e-42ab-88ba-98cd47229bb5\":\"Reference codes are used while integrating RSign™ with other applications. When enabled, RSign™ displays them on the SEND tab and the Envelope Data(XML) file. The SEND tabs show either 'Reference Code,' 'Reference Email,' or both, depending on the value selected.\",\"5f3665f1-3e35-4d4e-9f4e-99023cbebf34\":\"RSign will send a confirmation email to your email address shown below. Please check your inbox and click the ‘Confirm your email’ button in the email. RSign will invite other signers after you verify your email.\",\"1e29e18d-44c0-49f8-a92e-9910e4525927\":\"Private Mode\",\"328c96e3-0ff7-4254-80ed-9924a59344bb\":\"A signature is needed\",\"1694d5e7-6ae6-4758-b9d8-9934d0692361\":\"There is a problem with validating enterprise SSO. Please try again or contact support.\",\"ca0b41ab-be2a-4284-acbf-993b9ca0eda9\":\"Confirm your email address and signing role.\",\"e622f6e9-a7ab-4741-81e6-99644cd68cd3\":\"Same Folder as the Original File Location\",\"c55681a4-0e36-4f64-94e7-997385a4a68a\":\"Download the final signed document by clicking the download button or download it later from the Completed folder of your RSign account.\",\"a17fc9d6-ca82-4e80-9f6b-9974aa1709f7\":\"Title\",\"b91213fd-953d-4957-9903-998af97878b7\":\"You are viewing your personal settings.\",\"cf5dc542-b906-4acf-bbd4-99b550132331\":\"Save time by creating e-sign templates.\",\"32407470-2f58-4374-af6c-99cae7ded8ee\":\"I acknowledge this setting may make some workflows less secure.\",\"fe7daae7-6ab7-419b-b59c-99ea8adadc67\":\"Browse\",\"214424f5-0f7d-4f30-91e9-9a52dd9c477e\":\"Send message/code to available Email or Mobile\",\"30daef26-a701-4cb4-8c9d-9a63e5d760db\":\"Learn More\",\"2de80c4e-760b-41df-9d79-9aaa3d8432cb\":\"Allows users to specify the font size in Points or Pixels. Changing the size can help better align or render the text entered in control fields.\",\"613839dc-a896-4288-b080-9ab9a298ee62\":\"The content within the control may extend beyond the page boundary please reposition the controls placed near the page boundaries.\",\"62f34dc5-a897-4db6-afcf-9ad1f15af2da\":\"This field is required\",\"ab3ebe92-341c-4eb0-9deb-9ade24dd37b1\":\"These comments are displayed in the eDOCS InfoCenter user interface after documents are saved on that platform.\",\"f0daa2df-1862-413f-a4cc-9aef981db1d5\":\"Editing Recipient\",\"923a337f-3d8c-4ed5-a0bc-9b0312885ccd\":\"Primary MTA\",\"9e0dcbc1-ea14-4c41-a144-9b42ee7dc511\":\"The mobile number entered here does not match with the mobile number entered earlier. Close this browser tab and click the link again to continue.\",\"3110518e-61be-43d7-929a-9b50c6049639\":\"Coming soon!\",\"568906ae-68fb-475b-9275-9b62e38341b1\":\"Email address is not part of envelope.\",\"e61f4ff1-926a-4d81-99ee-9b69853a864e\":\"Send Document\",\"0c68a8e3-e085-4b0b-a196-9b915247ebf3\":\"Select a Workflow\",\"b50de0f3-9048-4b8c-b780-9ba1df610654\":\"Preview Document\",\"fda13640-4f8c-47fb-a201-9bc6325df25b\":\"API key\",\"2e2d10eb-9e9a-4e9a-9466-9bdb682d6ef6\":\"Download files\",\"de84f6cc-1c5a-46b3-8d0a-9c2a787ab4cd\":\"Master Rules\",\"6e3df55d-dd10-4794-b5f9-9c45edfac7de\":\"Re-Send Confirmation Email\",\"eecd1225-ed24-45e8-993d-9c687cb8dc21\":\"- At least one upper case letter\",\"bdc91145-b75d-4c12-9d2d-9c6fbcb5694a\":\"Document Name\",\"5cbaa26f-bc91-402d-8cbc-9c72a4059cfa\":\"Display on Send Tab\",\"82933370-3865-4411-8719-9c73450be77c\":\"Document Retrieval\",\"73bed3fb-4eaf-46f7-867f-9c7979741564\":\"Only one recipient is allowed for template with static link feature.\",\"f00a27ca-2e8a-4cab-aa92-9ca579847348\":\"Language\",\"5c40037b-ea83-45f4-9b84-9cc7020d4e28\":\"US Letter (8.5\\\" x 11\\\")\",\"164cbafe-659d-4201-bf1a-9cc7a00f2095\":\"Include Signature Certificate in the signed PDF\",\"2d569ed9-38e0-4e7f-85a2-9cca8c84b8ed\":\"An access code has been sent to your email address and mobile number. Please locate the SMS or email, enter the code below, and click continue to proceed.\",\"81870e93-d039-4b10-984f-9ccbd0effbc5\":\"Click on this to go to Page 1/2 after saving all the changes.\",\"e62bb4d7-9857-43ca-a632-9cdd9a2a1821\":\"Lock Settings\",\"a9c12ebd-c781-4af0-9eae-9d111e762237\":\"Date past\",\"c6d06e82-6c10-40ea-9d64-9d24855c2a5d\":\"iManage Version\",\"d7a727f6-25ae-4ff7-880c-9d27bc0e2bd8\":\"Custom Entity\",\"a8bb729a-4a47-48bb-bdf1-9d3601c9a459\":\"Confirm your email address, mobile number, or both to begin.\",\"8336357a-d384-4c9c-a74f-9d61474429a3\":\"Show Control ID\",\"2b305e57-6b4e-48e9-aeee-9db348ceeaea\":\"Folder deleted successfully\",\"c4e2d154-fdc3-4d6d-9ed0-9db46e9f3f29\":\"SIGN UP\",\"2d0f2d10-aa18-4718-bfb2-9dc0ec663926\":\"Your final document has been downloaded to the ‘Downloads’ folder on your computer.\",\"95f2ebc1-008f-442a-ba40-9dc8fe2cbbda\":\"Signed Documents\",\"9bac9cfb-7ec4-4c2b-88e1-9dcc65d430be\":\"Comments\",\"bd0839f3-440e-4b8d-8f02-9de67761e68f\":\"Filter\",\"2d498d13-a7a8-4522-977d-9df9306afd0c\":\"Clear document of controls\",\"7097c780-41a7-48e1-86ad-9e083f4ddc12\":\"SMS plan will expire in a week. Please renew to continue sending SMS.\",\"65b5bccd-85b4-4941-8b3b-9e0c6676ecdb\":\"An email has been sent to\",\"025bbd2f-4048-4e45-abe7-9e2069c471d1\":\"Signature Certificate Paper Size\",\"e0d1c766-c952-409f-beaa-9e3c38ecbcf5\":\"Template Shared Successfully.\",\"711e4774-9989-4739-bf6d-9e43fa5902b7\":\"Supported Files: PDF, Word, Excel, PowerPoint, Image, HTML, Text Document of version 2010 or later.\",\"5b0e58d1-7966-4d31-af13-9e4aa2648974\":\"There are currently no templates or rules created.\",\"5f1d3c69-7092-4c44-898a-9e77a413524d\":\"Default\",\"7ceb184d-4eb5-4267-bbb3-9e7e8e2ae28a\":\"Select Columns\",\"bc625635-7c50-4b37-81b5-9e9dcb9b6505\":\"Transparency\",\"0dba7da0-6ebb-434e-b440-9ead2574b111\":\"At least one signer is needed\",\"002f3e87-22f2-4985-919c-9eaec3492868\":\"Envelopes moved successfully\",\"ee4dd575-7e33-4d6f-b511-9ebc63831c1e\":\"Add Recipient Name\",\"5f6f78de-43b3-4159-b49c-9ebd1ad664f1\":\"Don’t have an\",\"386390a3-d7bc-4911-9ce5-9eca49a3da60\":\"Encrypt. Certify. Protect.\",\"f82129cd-dc7b-4a9b-887f-9eee4638c866\":\"Uniquely identifies client web application.\",\"ca3c3b74-5e6d-428a-ab31-9efd46d83d2a\":\"Select your signing role, and then confirm your email address, mobile number, or both to begin.\",\"32fd915d-00b0-407d-a545-9f09fd967548\":\"Folder cannot be deleted as it contains envelopes\",\"fb9ea4c5-6c0f-4c9f-ac51-9f1ff0fec1bf\":\"Please enter your email address and we’ll send you a link to reset your password.\",\"7707a730-ab5e-41a5-8a2e-9f27e78367d5\":\"Reason for Request\",\"13296701-1ee6-471e-8e5e-9f3bdc1368aa\":\"Deleting a document in a template will also delete the controls associated with the document. Do you still want to delete the document?\",\"8f3f154a-d26b-4b47-9a9a-9f6580a78cdd\":\"This envelope has expired. If you have any questions, please contact the sender.\",\"24612708-0781-44ef-a89e-9f73d2b6076b\":\"Address to copy signature reminder emails\",\"2c248150-2e80-4979-8a71-9f854648bbd9\":\"The envelope cannot be delegated to the mobile number, as the mobile number is already a part of the envelope.\",\"51267b84-2fe9-4d35-a860-9fda147d6793\":\"Your rule has been deleted\",\"1a3dd958-2dae-45c9-a325-9fed99cdc964\":\"Attaches the signature certificate to the final signed and completed document.\",\"cdcbf7ea-367c-4496-a27f-a009c505b864\":\"The URL of the envelope is incorrect.\",\"2110472e-1524-465e-86ca-a01118588cad\":\"Cancelled\",\"e2e4ea3c-ab63-4ac5-a4e1-a02e419ebe0d\":\"Every signer in an RForm will be required to enter an access code sent to their email or mobile after they click the submit button.\",\"473e44bc-133c-4924-8844-a04a6f1d3161\":\"Disable\",\"c195d0ea-ddf6-4f40-bcff-a057588ec686\":\"Waiting for you\",\"ed0bdfe8-d1bd-468f-a346-a090c72095cb\":\"Rename the File To\",\"87afbd2a-300b-4953-a404-a09eefff14c5\":\"Provided user does not exist\",\"2270cf18-a94b-4300-a00f-a0abf9bf299d\":\"Carbon Copy Events\",\"952e067e-c763-4bff-a749-a0d9779c6e7d\":\"Final Signed Document Name Format\",\"4ed695fc-6d5b-4aa0-9a58-a0df8a4f18b7\":\"Set the order at which recipients sign.\",\"56899ddc-6186-4524-8028-a0e3c0a3e717\":\"Template & Rule Search...\",\"2435ac30-718e-44b0-ab84-a0fb5ef7835d\":\"Rejection\",\"7542e821-5b80-4955-9ad8-a119d3db6016\":\"When enabled, the the envelope record in the Envelopes tab shows a trash icon to allow users to delete the original document.\",\"9a66765d-6b28-4700-bcbe-a1640fbefad8\":\"External Drives Setup\",\"22fbf1a2-01a9-48f7-8ee6-a172ac67452c\":\"Delivery Status\",\"d286ff04-ef35-44fd-ab06-a186501e8d20\":\"Are you sure you want to delete the draft with Draft Name\",\"a447aa98-bd0b-460d-a851-a1b7ed82aed5\":\"Either selected user is last ADMIN or ACTIVE.\",\"8357f427-9fd2-48cd-9735-a1e4b9d89db0\":\"Rule Editable\",\"36bbd481-ea7b-44e1-b7ff-a1f072cbdb19\":\"Past 14-days\",\"7e70886b-54d8-4bc4-b059-a1fa0593f28a\":\"Envelope Expiration Reminder to Sender\",\"4e6bdf69-3586-4b8b-a591-a2073680f675\":\"Select the date range when the workflow should take effect\",\"0d302e16-0448-46b4-9fb5-a229ae9b726e\":\"Documents submitted successfully.\",\"d4bbfb45-6956-4993-9b99-a22b63ace089\":\"Dropdown List\",\"15afb0a6-4ffd-4a77-9c04-a241935b5ebf\":\"Template added successfully\",\"864fcae9-35cc-4157-9a06-a2797386a3f9\":\"Provided email is not registered or is inactive.\",\"1a1f136d-2557-4b42-a596-a2a8ba81e02d\":\"Enter Application Client Secret\",\"e76a046d-4aab-4b89-92ca-a31b1e9a5efe\":\"You will be automatically logged out. Log in to complete the new language setting\",\"1753bf7c-351c-49ad-82e7-a31da4a8baf0\":\"All\",\"fb16579f-7002-4d54-8538-a346eb88380b\":\"Files must have some content\",\"338ab3a4-fcdb-4d15-a3ab-a350ab150494\":\"Name of the reseller associated with the searched company.\",\"47621c76-e9b9-4919-b076-a370eebc7e97\":\"Click on this arrow to move the control panel to left\",\"b20205f1-85c8-4b77-a7e6-a397598f12d9\":\"Data\",\"a4611279-bf66-48cd-bec6-a39aac695fbf\":\"Create templates, rules & forms\",\"07242036-e178-498c-bc8a-a39d3c85c30a\":\"Specifies for how long the document is available to be signed before expiring.\",\"c5197180-05eb-46bd-a64f-a3a03e575e3f\":\"Add New\",\"d47a53f1-a7e1-4b94-b057-a3a8774621ce\":\"the user settings:\",\"bfb9b9bf-d468-49c4-bc41-a3d0447f0ae4\":\"Allow Users to Delete Email Body\",\"c13fb96e-3e4a-4006-a857-a3fec0e5da95\":\"RSign will send a confirmation email to your mobile number below. Please locate the SMS on your mobile phone and click the confirmation link. RSign will invite other signers after you complete the signer's verification.\",\"896312c6-9b8c-44e3-8a4f-a416dbcdb64e\":\"Signature Controls\",\"16fb1e05-7525-4f90-b44c-a42ffffbd64b\":\"Sent to Others\",\"a7c8cacf-995c-4920-abf0-a435de4b007d\":\"Company Logo\",\"2d5064d0-9a7a-4486-b61d-a45cf9668565\":\"Exporting to CSV..\",\"8a8a0b45-6e8d-4b4a-b7cc-a46d0a179823\":\"Radio Name\",\"39c12bb5-2480-4d5d-9b03-a4b40e7f04ca\":\"Drag & drop signature file here\",\"086a4018-381b-4d14-9bd6-a4c858ad8950\":\"Please add atleast 1 Email Control as Parent for Static Template.\",\"79f874cc-c8a4-45cd-8627-a4ce12bf33af\":\"Application Redirect URI\",\"2d98ab06-b1fa-424a-adca-a4f75ce508b7\":\"Master Rules are not available\",\"41f007d6-5931-439e-be5b-a4fa9a63f535\":\"Some thing went wrong\",\"d9e51a47-e30e-481a-af30-a4fc4cc1e271\":\"Required controls cannont add dependencies\",\"3f29d0d7-c911-4574-b37a-a50dfe75dc99\":\"Confirm Password\",\"466a8951-281f-4eb3-bbc2-a554877e6209\":\"Allow Sharing of Message Template\",\"df9dd0e3-5bcb-48ff-8686-a5551c9b9f49\":\"Allow Template Editing\",\"41497bee-b2c6-43a9-be45-a562ccad894f\":\"Select at least one company.\",\"ba6234ea-15f9-41b4-91da-a597a2057294\":\"Past 48-hours\",\"b6a92d68-1d6c-437b-94be-a5a17016df95\":\"Password should contain at least 8 characters\",\"56804266-61f4-4c07-8d85-a5af88dfb4d2\":\"Hide other recipients' email addresses in e-sign emails\",\"8c8ca552-782c-4951-9236-a5bcd3b11f25\":\"Sign another Document\",\"bb292a01-5ef2-43f2-a081-a5cad6eb9879\":\"Selected envelopes cannot be restored.\",\"a0ed1113-4b47-4793-b33a-a601abb091e5\":\"Thank you for registering for the RSign service. Please check your Inbox for a confirmation email and activation link.\",\"918ccbed-c91c-49bc-a90a-a61f8dc72550\":\"Expires on\",\"cb2310fb-87f6-4a5e-abb0-a6425fe30699\":\"I agree to\",\"c994f0b8-2f98-4052-86c2-a67db99e8545\":\"iManage Server URL\",\"cfb6bbc0-3e57-4dee-a0a9-a69e9059b06f\":\"Maximum\",\"879fcb96-aeea-4d67-97d9-a6a961d56b7c\":\"Specific Text\",\"ccb10156-e38f-4122-8180-a6b72b044738\":\"Confirm Override\",\"7f9b48dd-4faf-4a8a-a1d4-a6baf6c1ef7b\":\"Saving settings...\",\"9afc556b-adf1-4362-8d00-a6cd4f695b94\":\"The email has been resent\",\"9a01bcd1-20c3-48be-a6d0-a6e9d644c77e\":\"Both date range fields are required\",\"0f0e0477-02ce-4597-a20d-a6f6c7a1b8b6\":\"Signing in as\",\"05b398c1-e49c-4b63-92a0-a71c9fc8b84f\":\"Please select Radio\",\"8837a168-0727-4ef7-9763-a745799a2f0f\":\"Recipients name and email address cannot be blank.\",\"fc08afda-7dca-4d83-90a7-a75a63364ab3\":\"Your request is under review, you will be notified once it is completed.\",\"3a1c3430-da4c-4c72-9eb4-a782b084d16b\":\"Confirm Deletion\",\"ac51402a-c01e-4007-bd05-a78c97149dab\":\"Add On Details\",\"286d47da-5ccb-4c20-8892-a7a75aacc742\":\"Share Master\",\"3675ad3f-acbc-45ef-b124-a7a87f9df22e\":\"Version No\",\"0d7c3f91-882e-4648-b084-a7b8dc4366e1\":\"Please select dependent field to save conditions\",\"b80c9381-14e6-49c4-9671-a7be05531d08\":\"Click here to sort envelope code\",\"c2b717c8-1d91-436e-b325-a7c59ef68884\":\"Units Sent\",\"6fbda172-1c83-448d-8614-a7d88c3dae19\":\"New subscription plans have been added to the RSign service. Please review your account information and plan details.\\r\\n If everything looks correct, please click on \\\"Continue\\\" button to start using the service. You only need to do this one time.\",\"e6b7f0f1-fc4e-44dc-9356-a7eac317f095\":\"Reminder checkbox is required.\",\"3a271db4-c2f1-43a8-81e7-a7ef5bc220b7\":\"Envelope Time/Date Stamp Location\",\"92db27c8-00fe-43e0-999f-a7f9f895c1f2\":\"When Override User Settings is set to ‘Yes’, any of the settings modified and saved within a tab would override corresponding settings values for all users within the company\",\"e1b30131-0d14-4374-9640-a805693899a8\":\"Event\",\"ca7cb620-5618-4645-9d28-a80d66f28948\":\"Enter email address (Empty search will get Company Settings)\",\"69875c08-e4b4-4a9b-b485-a80ecaace18b\":\"Specifies the date format to be used for the RSign™ user interface and the signed document.\",\"032b231f-3a83-4061-b726-a85046a17329\":\"Click here to sort by current status\",\"80a9eda9-cda6-433e-b083-a868f4e58f71\":\"Only one Prefill is allowed.\",\"11dcf693-84db-46d8-b26c-a8703d56d191\":\"Displays Personal settings to users. When set to No, only the Profile settings will be displayed.\",\"58a4da5f-bce4-4660-8a7e-a88b3ce0944e\":\"Please close this browser tab and open the link in a new tab.\",\"4fc99518-ef53-44f3-8bb5-a893c574c7dd\":\"Access Authentication\",\"d65763c4-61ed-4257-b11f-a8bbb3f21a9e\":\"Click here to download a PDF of the signature certificate\",\"467dfea1-063f-47e5-897b-a8be8e25172d\":\"Add signature\",\"5315364d-5d9e-45d2-8488-a8c66b79e39a\":\"RSign will send a confirmation email to your mobile number shown below. Please locate the SMS on your mobile phone and click the confirmation link.\",\"1cb5e303-3853-4f7b-a7d1-a8f7c26dcb8d\":\"Step\",\"b23c46c3-8b8f-4a2f-adce-a8fd1d1f755c\":\"The contract has been\",\"c230ea3f-8ae1-4e43-9e8c-a96a1dd5046b\":\"When enabled, the envelope record in the Envelopes tab shows a trash icon to allow users to delete the signed contract.\",\"bb9c9736-3ae7-4005-84f7-a97bebe90fa8\":\"Search All\",\"7a530b73-7f32-436d-93a0-a994c78dd9d5\":\"Last Modified Date\",\"419e6238-6561-43c9-90bc-a9a445ab9652\":\"Restore\",\"ffbe3506-7b5f-4023-bd26-a9fa68b03224\":\"Profile\",\"f2e6c452-6515-493d-8aca-aa2a6e77994f\":\"Signed by\",\"93df9dee-3736-46aa-b497-aa3e4ff6a7cb\":\"Specifies if the final signed document should be stored with or without a certificate.\",\"179855dd-ad43-4652-ab0c-aa7db53c130b\":\"Add Domain Name\",\"34495a43-cd31-456e-bd13-aaa170db05f3\":\"If this setting is set to Y, RSign will restrict users to authenticate using SSO or iManage Server depending on the configuration in the iManage platform.\\r\\n\\tIf this setting is set to N, RSign users can login into RSign with their RSign credentials or authenticate via RSign SSO. Login via Other option to authenticate against the iManage server will not be allowed.\",\"712f1a0b-1ac6-4013-8d74-aac4a9bf5568\":\"Prefill\",\"13a632c3-4010-422c-a490-aace57abe492\":\"Signers will be requested to sign in the order they were added to the recipients table: Only after the first recipient signs, can the following recipient sign, and so on.\",\"66b1dc00-482b-4980-8710-aafc3dada3c3\":\"Cancel\",\"4eb37d0e-f33f-4429-ba59-ab1f7f04ee4f\":\"Company registered successfully.\",\"97736e5f-2913-41d2-8b10-ab2b8ccec8ed\":\"Personal\",\"2da85de3-8616-48e1-860c-ab88bcb294bb\":\"Invalid date, must be in YYYY-MM-DD format\",\"6f5167df-90bf-4546-84d3-ab8e2dbb86ee\":\"No contacts are available\",\"b31655e5-e726-4eb8-81d8-abbd612110fa\":\"Send Reminder Until Expiration to Sender\",\"a074ea02-274c-41f2-882d-abe24954bf65\":\"Maximum 16 characters allowed\",\"f97a6596-577e-4fad-9eca-abe680d1e4e0\":\"Please add signature controls for all the signers to create a Static Template.\",\"6e70d70f-62eb-4b9e-a79f-ac116854835c\":\"Create Message Template\",\"6f1ae2d4-8120-4a04-982d-ac3278b135f8\":\"The document you are trying to sign has been terminated by the sender.\",\"db1dcff0-ab5e-451c-a313-ac5ad571d740\":\"Network\",\"8e282745-387e-49ed-84dc-ac79886373ca\":\"File formats supported are csv, xls and xlsx\",\"544da935-e2c2-49c0-b666-aca1d7a70d81\":\"Please enter username.\",\"57a8ea2b-246a-4491-944b-acc90ce67ce6\":\"Update\",\"c5b2a978-405d-45da-ad89-acdaa169b7c1\":\"Please select time zone.\",\"b114968a-ebc9-4e8e-af0b-ace901edcf40\":\"Reroutes sending confirmation.\",\"972d3628-57d4-4cd5-91b9-acfbf770eaff\":\"Access email sent.\",\"56e27613-ff86-4267-9803-ad0ca55691d8\":\"Files\",\"d04991cf-d54b-404c-8878-ad2768f180de\":\"Plan Name\",\"b622ce31-23a1-49e3-b94a-ad2dd3976f20\":\"Please enter valid Mobile Number.\",\"77814eba-65d7-4bd1-b892-ad3a99bdd74f\":\"individual\",\"3367d21b-93c0-48f7-b299-ad51327dd48c\":\"seconds\",\"083be54a-c836-4794-965d-ad6853da5dbd\":\"Undo selected controls\",\"9f009b86-9fac-45d3-9329-ad795181b873\":\"Disables the Change Signer option on the signer’s page and in the recipient’s inbox on the RSign homepage.\",\"b5b17abd-c6fa-46e9-b203-ad92ad9f8627\":\"Soon\",\"763cb6a4-7ad3-4037-8376-ad9bc0c035ab\":\"Only 50 characters allowed for signature\",\"d0e30cfa-955e-430c-bb21-ade421fc934b\":\"{0:dd/MM/yyyy HH:mm tt}\",\"1c6b0b1b-205c-490f-a4cd-ade9a1c65d5a\":\"Send reminder in\",\"fe18bfab-9da2-4905-81a6-adf74687b91b\":\"with worldwide coverage. Neither RPost nor any offeror of these services provides legal advice. RPOST®, RMAIL®, RSIGN®, RFORMS™, (R)®, (R)EGISTERED EMAIL(TM), REGISTERED EMAIL(TM), REGISTERED RECEIPT(TM), LEGAL PROOF®, ESIGNOFF®, SIDENOTE®, and CERTIFIED EMAIL(TM) are among RPost’s registered and unregistered trademarks in the United States and registered and unregistered trademarks in countries worldwide. Various other companies and products are referred to by their trade names and logos on web site pages associated with this web site. In most, if not all cases, the respective companies claim these designations as trademarks or registered trademarks. The use of these trade names and logos on this website is for illustrative purposes only.\",\"d1b91c22-f004-494d-89d5-ae05b255734b\":\"Not initialed\",\"4265731c-5c72-4b6f-b323-ae1f0468638d\":\"Select the date after which RSign™ should stop copying or re-routing emails sent to you.\",\"5e3595b8-9d82-47cf-b491-ae23a4e57893\":\"File size must be under 25MB\",\"c88c2043-e52f-40cd-9dcb-ae4188766703\":\"RSign has everything needed for one-off document electronic signatures to advanced and workflow efficiencies.\",\"4b81f695-2ec1-4bff-bbac-ae5d736c46e2\":\"Print Settings\",\"67837e88-1969-482b-8c6f-ae66b03f8f6d\":\"Export Result in Current View\",\"4c4ccc38-a365-4e97-8ac3-ae74d3870989\":\"Field cannot be blank or 0.\",\"db6ecfe0-abe6-44e2-aa3b-ae8819f0c5c3\":\"Date Format\",\"4114cb3e-3a91-41c3-81d8-ae9068fe23bb\":\"Are you sure you want to delete the message template with Message template Name\",\"f33ad0c7-f55e-4e4e-8906-ae9d109723d4\":\"User successfully authenticated\",\"5ac9d2c0-b471-4f9c-ab57-aeab6d9d43c3\":\"Prep documents with signature fields, text fields, check boxes, pulldowns and MORE.\",\"82669e74-787a-48c2-806d-aeb4f1c93c85\":\"Align Middle\",\"9d45adb4-df15-4140-aa93-aed0f568b862\":\"Email Body\",\"91297659-8ab1-47ed-86bc-aed2ba4e6916\":\"Documents uploaded successfully\",\"e8820d1c-758c-4f63-b0b5-aef806843dbd\":\"Static Link Expiry Date\",\"3ab2cfc4-dde0-4757-a263-af3cf5bcf5a4\":\"No envelopes were found with the given search criteria.\",\"2c729465-d818-4c62-b262-af4f3e182d9b\":\"Click to Copy\",\"786ef75c-6da6-47c8-910f-af7f18cb2ea8\":\"Out For\",\"6475d52a-43a3-4071-8b2b-afa43c212e6d\":\"Any Text\",\"6a943d8e-1fb6-4272-b0c2-afdb8e222958\":\"Ready to start using RSign?\",\"2b629fd7-9566-47d1-a821-afef7c057bcc\":\"One of the files is in invalid format.\",\"41036a50-aaa3-410c-8723-b0057f037609\":\"Option\",\"e4a389c4-3cd0-44bf-856a-b02672941bcf\":\"Region\",\"854afde3-ecc5-45a8-89a4-b02701bfb951\":\"The maximum SMS messages you can send in this plan.\",\"ef46aff8-4ffe-4139-960b-b030e70e80c6\":\"Signatures must have a unique name.\",\"3c813629-7918-4cec-b03f-b05da26dc4a8\":\"Password protected documents are not supported\",\"948b60ea-096f-4e35-bcea-b088d4dd3817\":\"Admin Email Id is not valid\",\"f8e1c87e-d04d-4b65-9013-b094b4b58d6e\":\"Please enter signature\",\"b9f3c67e-80ff-430c-bdd0-b0ab619325cb\":\"At least provide one domain.\",\"b1fecdfe-ae54-41a5-ade8-b0ac06eb5b06\":\"Expiring\",\"cb76ace2-eff0-48af-a01a-b0e7e5355e76\":\"Yellow\",\"cafd9e78-1ca7-4a80-9af1-b11c35e77dc6\":\"Only characters and numbers. No spaces.\",\"50f63be1-6fce-46e2-8000-b135f7950a96\":\"Numbers only\",\"0ebf7088-e4b7-4692-8dbe-b14a6100850c\":\"Status\",\"91ad82e0-619d-4ec0-a6ba-b16f323e08b7\":\"Completed folder contains a link to download the final signed documents. Drafts folder stores saved documents. The expiring soon folder contains envelopes expiring within seven days.\",\"f24e025d-cd12-4e5b-9289-b17338c71a54\":\"Letters only\",\"5c7f6c25-c0be-488b-bf09-b1e77bed56c0\":\"Timezone Help\",\"e380fc43-4ab6-444b-96b3-b1edafac36b7\":\"Waiting for Signature\",\"763b9eea-5af1-4752-8d26-b1f0084e1235\":\"Please select override option.\",\"f3cb62d3-5eee-4302-b906-b249cabc9eb7\":\"Shared Template Code\",\"f4fa3044-360d-4cb8-94fc-b24a428f1009\":\"No special characters allowed\",\"86b264b3-1045-42a8-bb41-b25f87eabd08\":\"Profile Picture\",\"270af09c-1215-47c5-a749-b27d681d8639\":\"Allows the sender to send an e-signature request to the signer on their mobile phone provided they have purchased SMS units and have sufficient unit balance in their account.\",\"9d85a8de-e9a7-4edc-bae1-b29d383cb641\":\"Return\",\"7ff8fb13-80a7-426a-bb56-b2c84f661f1a\":\"When enabled, the Terms of Services are included in the signature certificate of the signed document.\",\"41fde2fe-700d-4a67-960d-b2c92f4c17f8\":\"already exists\",\"205f728d-b5f2-4b68-a7a8-b2e4316e3601\":\"Error occurred while delegating envelope\",\"8e6285db-16be-4987-8d9f-b30ca463172f\":\"Invalid mobile number.\",\"7ea5e590-fc03-4d80-91b3-b312177dd486\":\"Code\",\"7a5dea09-d62e-4687-a44e-b31490f3d468\":\"Control panel pinned to bottom\",\"157f519d-455a-4c71-a8bf-b3217ad074f4\":\"First name\",\"a022376b-9495-4eaa-8cfe-b3293618bebe\":\"Date & Time Stamp\",\"1269b6e7-e2da-4cfe-b458-b330cb279e21\":\"Drives\",\"479880d6-d8de-4124-937c-b338718bf3e8\":\"Enter Text for All Other\",\"68d7b67f-0bc1-4458-b96d-b339ddd1ff2c\":\"To proceed, upload at least one document or template.\",\"9f112364-4747-463d-adc0-b3ac36fc7c0a\":\"Not you?\",\"d1766f62-e2ea-42a9-ad89-b3c14b9784cd\":\"to resend activation link.\",\"38f7ec6a-02d4-4d13-8498-b3f089ab057e\":\"Continue\",\"e12b961f-e3df-4585-ad43-b400dcd98217\":\"Please select a value from the 'Message To/Code To' dropdown that has 'None' as a suffix, if the settings access authentication or re-verify each signer before final submit is set to none.\",\"663feade-1ef3-48cb-a0bc-b4275820e6c3\":\"Signer Attached Files\",\"9239e788-c484-4c9c-911b-b428b0bc110e\":\"Specifies the nomenclature for the signature certificate when stored as a separate document in eDOCS InfoCenter. This setting is disabled if setting Sending -> Include Signature Certificate on PDF is set to Y.\",\"23ee52a0-41eb-485c-aec3-b446768c8f8c\":\"None\",\"44b55505-ea2c-4d63-ba92-b44d73621ae5\":\"You have clicked on the back button. There are unsaved changes on the page. Choose an option to proceed.\",\"3353cb17-3c92-4462-b503-b46d9cd55089\":\"Create Template Group\",\"a2ab70d9-cbc9-4f21-a110-b46dec8d4f77\":\"Allow users to align form fields\",\"e7ea90d9-36f1-438f-83ca-b490cf733bf7\":\"Search cabinets\",\"4ff1d94c-aeb3-4bcc-af63-b4a6a5b352ca\":\"The country code entered here does not match with the code entered earlier. Close this browser tab and click the link again to continue.\",\"d70f5da6-64ec-41ec-af96-b4e0469c3a19\":\"This envelope is no longer available as per RPost data storage policy.\",\"d2c1e19c-ae7f-4a4e-87a6-b5216c55ada5\":\"Appoint administrator to manage templates, and view aggregate reporting data.\",\"d3d9bc71-671c-45d2-baec-b5308a0794ea\":\"Company name already registered\",\"37c496a2-a0fa-4eda-b0c9-b544b4549f4c\":\"Please review the bulk upload details before sending\",\"0a038a9d-2607-41ad-b270-b5524de0bcc0\":\"Select where the user will land when logging into RSign.\",\"0a365feb-fa3c-4241-86ae-b5544ae960ff\":\"This name is available\",\"2feadb24-4972-415f-8446-b557df54dd90\":\"Cut\",\"3d35ee0e-891b-4420-b14d-b55cb24c9a96\":\"Enter Email\",\"982a95ab-6fe0-4764-a8e1-b5760121ccbc\":\"Email\",\"3606ef5a-daa6-423e-828d-b586aefa3aa5\":\"Following is the waiting period for\",\"0b4f39fe-b55f-4768-afc0-b5921541094a\":\"Add/Edit signature\",\"a61514d9-e0a3-4168-8d21-b5a51fa9bafa\":\"Text control assigned to\",\"a521c3a5-5aef-4e26-bfbd-b5d6b3e1054d\":\"Subject\",\"53e588cd-6293-4825-8b41-b5ddda4822b4\":\"Confirm Mobile Number\",\"2794a634-47a4-4e52-9844-b607c2cb38d6\":\"Template created/updated successfully\",\"a78ec28b-9b89-4e50-92cc-b61853a9fb10\":\"Envelope Sent\",\"fd00ba81-d7d2-42c2-914d-b61967aeb499\":\"Access request declined successfully.\",\"d052e338-5447-4619-b07a-b61d6f31ea25\":\"Access code\",\"18ce2312-4d51-4518-8a8f-b643a21b0d80\":\"Show Tags\",\"c6661ae6-8e62-4165-92c4-b650ee2accb1\":\"User\",\"2f281e46-24a4-4154-85f2-b66c3a657c41\":\"There are currently no items in the Drafts folder.\",\"67feccb8-4e22-4d8a-a248-b6b3fdd7f326\":\"Allows senders to choose the size of the signature certificate that is included with a signed and completed RSign™ document.\",\"ca7577ed-1d2b-43d3-afb4-b6ba32b014fe\":\"Sorting shared templates and rules...\",\"a059912a-892b-4b5e-9c8b-b6d253bd7878\":\"Document submission failed. Please try again.\",\"95483640-1100-4e46-beb2-b6fce404357e\":\"Signature should not be blank\",\"1d620a39-47d2-4d0f-818b-b71880e07015\":\"Invalid phone number\",\"894e96b5-9428-4226-92fa-b768b6e75c4c\":\"ALL ROLES\",\"191ddb81-c976-4381-b40b-b76d42a506be\":\"Hand-drawn\",\"fde5f9f6-266f-4b35-b605-b7965ddd0f87\":\"Domain Name is invalid.\",\"15ddc912-fde1-4d4a-8753-b7b989a3ec97\":\"Retrieving Templates...\",\"3ce5e19d-e6cb-4596-afcd-b7c8a3bd95b9\":\"Disables the Finish Later option on the signer’s page and in the recipient’s inbox on the RSign homepage.\",\"e9f13916-6d4d-43c0-be79-b7e7538a05d9\":\"Vincere\",\"c9cfcca3-3686-4f91-93d0-b7fda0f76786\":\"This field is required\",\"1178b156-7f13-46e3-9e73-b81242d602a9\":\"Master Templates\",\"bf50cd37-1949-493e-8a73-b833b6a9b6e4\":\"Available time before session expires\",\"e32c44b7-19e8-4b87-ba9d-b857ce2343aa\":\"Disable Change Signer on Signers Page\",\"b42d8a7f-b057-46dd-8802-b85f561271e2\":\"Error occurred while resetting your password.\",\"c55fc3e2-e284-4146-bd2e-b874c01dbc22\":\"Vincere Client ID provided by Vincere when enabling the integration on the Vincere side.\",\"3cf741a7-7eae-4f93-bbaf-b87c5a7dfa42\":\"Deleting signed contract is in progress\",\"9ed198c0-a1cd-4855-a6bb-b883ea3d4153\":\"Attach Files\",\"d3cd7352-5a9d-46e2-b17b-b8866d176806\":\"Text to Display\",\"825ac9b5-d5fb-417f-86d2-b88d73907063\":\"folder\",\"da9b9765-5116-4291-aaf7-b8ad40b0fe97\":\"The document is getting generated. Please wait or download the document later from the completed folder of your RSign account.\",\"67361109-6f8d-4d1e-925b-b8c5161131bf\":\"Setting\",\"e69bfea4-a78f-4785-a4c2-b8d6a0d6ab6b\":\"Message To/Code To\",\"48950e01-cf08-45a2-92c6-b8da67d02091\":\"Please select company to sync users\",\"79fdb8a5-8ec4-4bc1-8853-b94849f260dc\":\"Fields remaining\",\"5cd65b79-c563-46e9-84c9-b971e34170bb\":\"No Templates available. Templates can be created within the Templates tab.\",\"e794f8db-7d20-43c4-b541-b990e40b81ec\":\"Alternate Email Address\",\"de66e7b7-c2f3-45b0-8513-b99bebe53ecf\":\"Page was not set\",\"e38bb040-48aa-417d-99f9-b99c6cc38e3e\":\"Indicates the specific user interface that should be shown to the signers.\",\"c5f1a5c7-11a2-424c-9186-b9d23a1cbfa6\":\"Recipients\",\"5979cbe6-6a72-484e-bab1-ba20b800745d\":\"Enterprise Workflow\",\"34775c2f-431a-4655-a7b4-ba217fdd8a72\":\"Re-verify Each Signer Before Document Submit\",\"c340a9bc-622a-4c39-85d4-ba311056d212\":\"Mobile Number\",\"e5ca3ec5-5b0d-422d-8e27-ba59ca1efc2b\":\"Please fill all the mandatory fields\",\"dc5821ba-d39e-4912-b40a-ba63de32cdd2\":\"New to RSign?\",\"d1bfa64c-a0a4-40b3-895b-ba859c971eb1\":\"Type Initials\",\"0f24bb34-8862-484c-abec-ba8e2aedb0bf\":\"Signer Signatures\",\"7ca44903-e9bd-4e2b-a1ff-ba97cb5499bf\":\"Recipient Email\",\"470a616f-09e8-4f47-b65b-baa7e04f0a9b\":\"Provided Company ID is not found\",\"c36e85ab-74b5-420b-9838-baee73da499a\":\"Enter Name\",\"02838c2a-f916-445f-94b1-bb5b0cc5f6d9\":\"Manage Contacts\",\"969f6eff-90a9-443b-88ff-bb62c36787ce\":\"Digital Transaction Certificate\",\"ea0ff30f-6545-4d0d-a66b-bb96a99bca4b\":\"Include Transparency Document\",\"a1d2a72b-f130-4da4-9e99-bb9d7a70ab0a\":\"Visible & Not Required\",\"a2b9797e-4120-4ebb-b602-bba2d1f25f00\":\"Hello\",\"67cd4916-3562-4eec-b698-bc0d542670c0\":\"Drag and drop documents here to get started\",\"46de6ea8-de0b-4378-bf3d-bc398ed4ac20\":\"Enable Sender UI Tool Tip\",\"683c2554-3ff9-4e5a-bbc0-bc5259ecae4c\":\"Attention\",\"f9a49289-1ef8-438e-9af2-bc61b08c2f81\":\"Email / Mobile\",\"47ae9d46-c5c8-4650-89ad-bc77de51e19b\":\"Not Selected\",\"621000af-e774-4ef4-841f-bc789009e583\":\"Adds the date and time stamp in the document name while saving it to prevent documents from being overwritten when stored locally.\",\"51ff8695-5716-4992-8322-bc7eaab83d4d\":\"Filing Options for Final Signed Documents & Certificate\",\"435c586f-a6bd-4749-a1e9-bca4d11526e9\":\"Overriden\",\"a51ee5e2-3dfe-45e2-b939-bcc5a5d21d78\":\"Updated Data\",\"55f90a82-195d-4cc0-ae59-bcd9623c0a22\":\"Sending frequency\",\"3b1f67ed-aded-4a83-a4df-bcd9d4d0ed90\":\"Unshare\",\"92318e8d-6398-459c-9893-bcdb8aeeefec\":\"Contact is not exists.\",\"81ed36c3-647c-41ce-98c9-bcf771279945\":\"DateTimeStampForMultipleDocSettingsForSufix\",\"8f6dd6b3-972b-4597-a520-bd0ebfa734ae\":\"Maximum 10 files are allowed\",\"50612d76-f786-4bbb-b3a2-bd2a0b985317\":\"Select From/To\",\"11903802-ee20-4f1f-bd60-bd3bea4316ff\":\"Enter the company name to view company settings\",\"01be21db-176d-4b63-933b-bd4dc2ed8cdc\":\"At least one signer role is needed\",\"f108be6e-23b5-4d45-8906-bd5c3c2dcddd\":\"When enabled, the 'Create Message Template' button is displayed on the Templates tab to let the user create a message template.\",\"70bda8dd-06b4-4b95-84a2-be1bed3c8d8a\":\"mobile number\",\"ebac6db2-7ab1-41fc-ad23-be2e516e2b3c\":\"Display Vincere Contacts\",\"982b5394-7ac1-4f01-bd1b-be87860324a8\":\"Loading Settings\",\"28c8783a-09c4-4dc1-a0b6-bee67d32d072\":\"Enter the exact User Code\",\"8176e650-0674-4a65-84f5-bee813a753cc\":\"Please input HELLO\",\"0879562f-c034-489e-9aed-bee8b96c0e7e\":\"Select Folder - netdocuments\",\"e2ccd302-9357-46df-8a09-befecfc3eb84\":\"Personal Rules\",\"10b664da-28fc-40ee-ba3a-bf062946b182\":\"App Key\",\"03e10dda-4252-4f21-a398-bf136851342b\":\"Enables you to specify the destination for rerouting or copying received RSign emails within a chosen date range.\",\"6b8ad2ab-000f-4e48-86f0-bf59eb353637\":\"Click here to sort by\",\"c6a371b6-ab1e-4d97-9318-bf78d9b4368b\":\"Send Time\",\"a35c77ba-29cb-47fd-9f6e-bf92b84dde85\":\"Shared Option\",\"f29d9abf-f4bf-4d09-92e8-bf9f04f2f9da\":\"Retrieving Rules...\",\"d5aa0eb1-9d3d-4282-9eeb-bfba0932d735\":\"Click here to download a CSV for Bulk Sending\",\"c02e81e3-c100-432d-beb2-c01729e713ae\":\"Enter First Name\",\"1d948078-af18-4140-8c41-c01bc3adec78\":\"UserContinueTheSessionByScroll\",\"51b71c5c-12b9-4cd3-a222-c039261d26bc\":\"Please\",\"afc6a891-a4ba-43de-9737-c05995a7f746\":\"Declined:\",\"497b1187-af8f-4347-8c5a-c0814df36e5e\":\"Error\",\"d9aa6f04-e337-4332-9d81-c0a1ddf0f635\":\"Accepted\",\"ddb75538-a9b4-40f9-8187-c0d96438435e\":\"Manage Final Document\",\"02c3d450-5471-4b49-ba7d-c0f3337f18a2\":\"All RSign Envelopes\",\"ed060c78-d8a4-4bd0-986e-c0fbb0f218a4\":\"Responses\",\"b10f7b58-2044-4e49-b32a-c0fe7951e29a\":\"Allow Recipient to Attach Files while Signing\",\"2bdc9e02-047e-4626-b6fd-c12cc5fc12e9\":\"Cancel Transaction\",\"1d504526-617e-41af-a20e-c132a57dae5c\":\"Register\",\"3dad5dbe-c374-4434-b4c5-c13c3ee32f5d\":\"One Drive\",\"62dad5c4-b215-45b8-a3fc-c14a87e8f985\":\"Attach standard confirmation template\",\"c94d452a-1f65-47e3-924e-c18d71775143\":\"Download Final Document\",\"f6d56928-87ca-4d80-9ab2-c1a74a888cfa\":\"View History\",\"0fe5bde6-f0bc-45e0-b987-c1b72aaf30c4\":\"Please sign all available documents and press the Finish button. The sender will receive each document as soon as it is completed and signed\",\"df144bc3-6b43-4c99-8f02-c25bcbba3727\":\"Enable Sender UI\",\"408e9a04-e87f-49c6-a494-c27123b5ba10\":\"Much More Affordable.\",\"cd829ec5-9b46-430f-a10a-c27aa54bc049\":\"Are you sure you want to delete the domain?\",\"0d0e1a54-cdb5-464f-a04d-c2a278839c08\":\"Default Settings\",\"f2fb594b-bf9a-4a70-955a-c30f0412edfa\":\"Please select Sign as.\",\"c7c99bd1-d59e-49f5-a74d-c33124a43bf2\":\"Advanced\",\"49bb6191-3f3e-46e0-8437-c33772c46934\":\"I agree that the email address or mobile number as indicated is the address associated with me and is acceptable for use for the purpose of creating a record of this electronic transaction, for receiving confirmations related to this transaction, and for receiving records and notices associated with this transaction.\",\"e21bf7f2-0773-4f2f-9e80-c33a4c8e8f99\":\"You may lose the changes. Do you want to save?\",\"61f98795-6dfc-4a84-8155-c34ec1112738\":\"Options\",\"bc8245d4-bd12-441d-8891-c35b95791da7\":\"Profile to be used for uploading the final signed document.\",\"43eca13e-38d1-4b22-af44-c36ec3772d8a\":\"Opening a draft\",\"bbbf4d1e-5d42-447a-89c5-c38786059840\":\"Enter country name to select\",\"ef15eaaf-aa53-4cb6-9119-c387c8f1eb5b\":\"Resending Envelope\",\"ef5d8459-bda5-44a4-8547-c395a6d6e47c\":\"Submitting draft\",\"1b176c04-2add-4a4b-8c68-c3ac4722c8fd\":\"New Password\",\"09122de2-bf2f-46a3-a89b-c3b0f3093a55\":\"IP Address\",\"117692a5-b579-4d1f-9ad9-c3f34101fcf5\":\"System\",\"87274578-d3db-4098-af4d-c416fe8dcd03\":\"Empty\",\"f5a30473-b183-474b-ac40-c41e7b6f0aeb\":\"Loading Personal Settings...\",\"ab518504-515a-442f-91a5-c43719e84215\":\"Users can enter text that will be shown where the \\\"Disclaimer Location\\\" setting indicates.\",\"bb396584-d382-43c2-9b0f-c455e68f0f35\":\"All\",\"c41ce504-9781-45b7-84cd-c45953f380f8\":\"Please select minimum 4 columns\",\"8ccdcabc-0c62-4f29-b421-c46222c6e871\":\"RSign generates AuthToken for the reseller when Integration Email, API key and API id are passed as parameters to the reseller authentication API. API id and API key are generated for a reseller when the new reseller is created in RPortal.\",\"1cecae56-9139-49df-886d-c46d3833ce60\":\"Minimum value is\",\"d0ba0856-2fae-4312-81f4-c4b58389f94b\":\"New User Registration\",\"fa7f87ee-809a-44cb-8ec2-c4ea3617ab35\":\"Domain is not valid.\",\"28dc8b18-b94e-436c-a1ef-c50b2a941a3c\":\"Please resolve the problems identified in the uploaded file.\",\"ef407cf3-c515-4ec1-89a0-c52670ddefb4\":\"Click to Unshare\",\"088813d1-491a-4b9c-a353-c53028d57c89\":\"Please contact\",\"096e1695-0ecd-4690-9c09-c5538c9ad64e\":\"Search User\",\"c374f9b7-d23d-4e69-985d-c561b345eada\":\"ADVANCED SETTINGS:\",\"cbdf0959-1f3a-477d-865d-c567ba19bd40\":\"- At least one special character\",\"7fcb754e-1785-4272-9544-c58689ddbdfb\":\"option is already selected.\",\"573773fd-6bed-4449-ace1-c59888faa26b\":\"Spreadsheet Date Format\",\"bed40ad3-dd9b-4264-9a66-c5a01726d55e\":\"Specifies the URL of a destination page where users are redirected after electronically signing template documents.\",\"86491a87-b882-4eee-8b08-c5a131d674aa\":\"History\",\"e8de6ce6-448b-4af6-a67a-c5c3eaf0afbc\":\"RSign Sending Password Notice\",\"b698c905-7766-4dcd-b2a2-c5c8f333aaa0\":\"Sender's Email\",\"50d28a33-a64d-437a-863b-c5cc65bc6ccb\":\"in the confirmation email sent to your address. If you do not see the activation email in your inbox, please check your spam or junk mailbox.\",\"bd971750-67e3-4d58-8af2-c5ce6cbb426b\":\"Incomplete and Expired\",\"d33216cb-bb76-4523-9c8a-c61d1ea7e937\":\"Create a new account\",\"1396734f-7f33-45e8-b9f2-c625567952bd\":\"Bulk Send\",\"65dac88e-6f34-4022-9e9f-c64ca4d60b9f\":\"Are you sure you want to permanently delete the item ?\",\"71cbc401-30fc-4c5a-8a93-c6639424784e\":\"Enable Signers UI\",\"17327e90-a7dc-4537-b32b-c6ad99192f19\":\"Activity Code\",\"9b4d2b05-a4bb-4822-af93-c6b5a10636fa\":\"Add Name\",\"4139ecf4-dab0-46a5-ae86-c6cb8ee3556b\":\"Allow Signers to Download Final Contract\",\"5bd2da46-3b6f-47e8-a477-c6df972b3c6c\":\"Enter Application Client Secret\",\"3bd4ff77-8caf-44d3-b9b2-c6ed54cd0a86\":\"Final Document\",\"fb2cc272-5d30-43f1-9858-c6f148ad4a01\":\"Add Mobile Number\",\"9bb3b7d9-6842-482c-bab6-c6fbd824f201\":\"Features\",\"6ad865eb-db35-469d-ad2e-c731e67f17fb\":\"Your IT administrator has restricted direct login to this application for your domain. Please use your Single Sign-On to login to the application.\",\"be494177-324d-46e6-8cce-c74a06da9f7d\":\"Click to view service level terms, conditions, privacy,\",\"1aa8a98b-8369-4023-abbd-c75283e3c8c0\":\"Click here to sort sender\",\"e76175e5-93e8-44bf-8e5a-c7cc2f2eaa59\":\"Allows you to determine whether and when envelope data should be purged from the system. Note that once data is deleted, it cannot be reversed.\",\"4aae5631-b7a0-4659-95df-c7faab6b680a\":\"Attach Document Data (XML) to Email with Signed Contract (Sender Only)\",\"e5e3a1f6-4738-4daf-8b3d-c84f1a59c06b\":\"Overridden\",\"b911b922-cf49-4192-86d9-c86cafd2218a\":\"Type 3 letters to search matters\",\"5ca56dbd-eafa-4fda-968d-c86e212ae6d8\":\"Edit Contact\",\"065c7475-82ad-423e-8e8c-c8a1f9683f72\":\"Configure automated workflows.\",\"6a568247-9816-4d32-9d48-c903365233c3\":\"Enter Application Client ID\",\"b8707434-57ae-4a31-b874-c92792598874\":\"Enable this feature to store the status of the envelope as an activity in your Applied Epic.\",\"14b0012c-6e59-47a1-a3a7-c948328c632b\":\"Signing Process Complete Comments\",\"c9cc6c6e-6f8e-4a88-8549-c95bd6efca2f\":\"Reference Code\",\"ea688cd4-86a5-4e82-a6ee-c9c88a15fbee\":\"Unchecked\",\"39d0d3c2-86f0-4f74-b5e8-c9de2d1217c1\":\"Invalid URL\",\"b747c922-d37c-4439-8173-c9ef33832f81\":\"Override always\",\"c8f0d7cb-1684-4a2c-854e-ca04aadcc41f\":\"Please click to add signature\",\"c0115b40-cf6e-4b18-b52b-ca30ed32a0a7\":\"Are you sure you want to cancel this Update?\",\"4905825e-5df3-4ee7-9793-ca3973aa2f00\":\"Past 90-days\",\"582a741d-f1e4-4e2c-a81a-ca3d1407f0cf\":\"Radio\",\"01acfc1d-b0e5-47fa-9dea-ca7336cc68ed\":\"Not a valid integer\",\"3fcf2e80-d207-4b3d-83d2-ca96e8873343\":\"Selected\",\"87262d2c-dfd5-4471-b07e-ca98af4b1bce\":\"Sign in\",\"56083321-92ba-44e0-96ab-cad3b5792b1c\":\"Conditions\",\"f149d06a-059a-4e06-9e0e-cadbd270fc09\":\"User is not valid\",\"03ebc3d3-cf56-4feb-8973-cae9be4d3ffd\":\"Send to:\",\"e269f298-3de5-406f-bc12-cb11d10c8a75\":\"Message Template\",\"f2a82987-7ac2-418d-89e5-cb133c8dfcfe\":\"Enter email address or mobile number\",\"dfe91424-b65a-453c-a6ce-cb32c645b7ae\":\"Date\",\"e11ce2b1-c308-46cc-a977-cb485c603f9e\":\"Add Dependencies\",\"d2dbf537-3143-464d-bc9b-cb7291b20caa\":\"Are you sure you want to submit the document? Click Yes to submit\",\"135b52e0-4ed1-413d-85cc-cbc8ff02d365\":\"eDOCS InfoCenter - Log In\",\"9d26a374-659d-4bca-ae3e-cbe522d3d893\":\"Path of the folder where final signed documents should be stored.\",\"a207142e-d7ab-4a43-9dd6-cc6164b93bf3\":\"Checkbox\",\"d2ad2f05-3712-4c42-a55c-cc6a70ba0c5e\":\"Email not added succesfully, please try again\",\"2593be31-db08-44c6-a7f2-cc927bf4047b\":\"Vincere API Key provided by Vincere when enabling the integration on the Vincere side.\",\"25094ffc-1d63-4593-b80c-cc9aeda85850\":\"To\",\"bfa01c85-a0f8-4341-afdc-ccce660c1d30\":\"Electronic Signature Indication\",\"76eb4582-6a3d-4c64-b2a2-cceac0306af6\":\"Move envelopes by reference address\",\"6f52e523-3ed4-4da6-bd06-cd081e474b7a\":\"Rule\",\"42c1674d-e06b-4701-ac15-cd5fe2796e9b\":\"Today\",\"9a7a298f-f1e2-4065-a21d-cd92c718c02e\":\"Transaction Completed\",\"9a87a712-8d4b-4ea9-b7cf-cd9d23ee5da1\":\"Add Description\",\"8408a21d-3fc1-4488-a77f-cdc1b86c4d23\":\"Cannot send access code to email as the setting Access Authentication and Re-verify Each Signer Before Document Submit is disabled.\",\"240ab332-2664-4b18-837c-cdcd7b5871a5\":\"Enter the user’s email to view user settings\",\"b05d9be9-f3b0-48e2-b67c-ce0c2eb5777e\":\"Specify the prefix that should be added to the merged file or the zip file when multiple documents are uploaded to an envelope.\",\"d1d63f89-faad-43c2-9764-ce115fc7441d\":\"Attachments\",\"e1664050-4eda-4942-a100-ce3334cdc8fe\":\"Resend me the most recent document to review and sign.\",\"551a0915-3a18-4296-8538-ce53cb77a3da\":\"Best\",\"923d267a-17df-4b08-b254-ce6b4cc736b8\":\"When enabled, RSign™ stores the signed document and lets the user download it from the Envelopes tab. When disabled, RSign™ does not store the signed document.\",\"79d71697-27e3-46a9-862e-ce9280f28ac2\":\"This address\",\"0ee1a83c-5bf2-409b-bf38-ce9b9c16d9f2\":\"Template saved\",\"04204601-dd44-4562-ab7f-ceaf6f751903\":\"When enabled, the '+ Rule' button is displayed for users to use rules.\",\"9609b8d6-4743-4c9c-927e-cec2a531fab2\":\"RPost Copyright 1999 - 2014 All Rights Reserved. Legal Notice - View general terms & conditions, service level agreements, privacy, legal, patent, and trademark notices at www.rpost.com. RPost does not provide legal advice. RPost technology is patented with worldwide coverage. REGISTERED EMAIL®, RPOST®, RMAIL®, (R)®, (R)EGISTERED EMAIL®, LEGAL PROOF®, ESIGNOFF®, SIDENOTE®, CERTIFIED EMAIL(TM), and SECURMAIL(TM) are among RPost’s registered trademarks in the United States and registered and unregistered trademarks in countries worldwide.\",\"29aa35d0-e6b9-4905-af1c-ced802b04d1f\":\"Please allocate units to the SMS plan to enable this feature.\",\"936abf1e-cabc-473c-b518-cee9c84680d4\":\"Integration Key\",\"da1c0070-c10a-41f7-8fea-cef52453b5a8\":\"Enter Application password\",\"2da77939-c4ca-4a8c-ab1f-cf2bfbf031fc\":\"(no subject)\",\"559ed877-8853-4921-bfa9-cf30e4bb9366\":\"Changing the font size measurement may affect alignment of controls on existing Templates/Rules. Do you want to continue?\",\"af65f94a-3318-41b6-a4bd-cf413df208ec\":\"This action will permanently delete entire envelope you have created now.\",\"f7b28788-2575-4d7c-9d1a-cf9171af35d6\":\"Please select\",\"e5f5a126-833f-4e9f-8439-d007f942feac\":\"View and Sign\",\"5ccf1dab-4ba2-4abb-bdf7-d01d53112cb3\":\"Master Templates are not available\",\"e084395f-8a7c-4ce1-8e8d-d02e54bfabae\":\"Are you sure you want to override the access request?\",\"0bd626d0-aaed-4c5e-816d-d0320e25e84d\":\"Name of your RSign™ subscription plan\",\"cd5f9303-bd9f-48a6-b907-d0540e1d38d2\":\"Would you like to save the changes?\",\"6359ff55-24f8-490d-ba8a-d06522a6fd80\":\"Allowed Units\",\"731108f6-0e31-413b-b708-d0855f962f6f\":\"Discard Envelope\",\"a936eb37-a890-4141-9eec-d086b6205b3d\":\"Updated Status Date\",\"1f1728bc-8711-4ecd-b62e-d08c4d4b5a94\":\"Page\",\"fa893233-9099-4c8a-9a5f-d0e779eeff8d\":\"Personal Controls\",\"f6d5dea2-27f0-48cd-96f1-d12a54148310\":\"Cannot send access code to mobile as the setting Access Authentication and Re-verify Each Signer Before Document Submit is disabled.\",\"9525c4b8-2324-43c0-8415-d17ef42f23d8\":\"Error Occurred\",\"1a625344-d5ae-41ad-98a4-d17f56f4dea2\":\"Fields\",\"5e40128d-bfe2-4f8d-b7da-d187079f52c8\":\"Best and average time taken to complete an envelope.\",\"ce3b29ee-2920-42c1-ad33-d1ab2aba811b\":\"Remarks\",\"229a92ee-8558-4f28-a225-d1adf9136697\":\"Manage Envelope\",\"d2e7d631-07bc-40c7-9d43-d1ed7c03d200\":\"Shared Message Templates\",\"fcb0ef2d-be1c-4108-9178-d26b6cabe435\":\"Distribute Vertically\",\"431484af-6ebb-4414-9210-d2937b4b46c9\":\"Custom Tooltip\",\"1b222ea6-ca49-423b-83c3-d2a278df3aa3\":\"The envelope has been deleted.\",\"919c7ae5-4d31-48ec-b43e-d2ab4f87e583\":\"Static Template Link Disabled Successfully.\",\"6880f76b-6136-423e-8da4-d2b6e9d26ba1\":\"After clicking on Next button, you will be able to invite additional signers by clicking the invite signer button on the document signing page.\",\"af79dae0-0e1e-4c68-b44a-d2d66fae6512\":\"Received\",\"cb5f06cb-ffd6-4e4b-ad47-d2de3944dfdb\":\"Text\",\"f7bb5f89-0df4-4ac9-8754-d2fac65c140b\":\"Welcome\",\"e7ad650d-ee00-4c34-8c4b-d30e09bf8418\":\"Allow users to delete envelopes\",\"a62137e3-73c2-4c64-a0aa-d339b2c3e892\":\"Step 1 of 2 is complete. You will receive a SMS message from RSign on your mobile with a verification link, and an email with a link in your inbox. Please check and click any one of the links and confirm to complete step 2 of the transaction.\",\"b30dd448-89c7-4660-b69a-d33a8fe6a091\":\"Create templates for commonly used documents.\",\"4b7e5148-828f-4d61-b33f-d33b2020a618\":\"Specifies how the final signed documents should be stored in iManage and NetDocuments. The versioning option stores the final signed document in the same folder as the original document but as a new version number. The new documents (no versioning) option allows you to choose the folder location within iManage or NetDocuments.\",\"f77af692-0768-4b62-a6c8-d354b7bcc624\":\"OR\",\"b4a638bb-5ac0-4873-b1bd-d3b7f299b874\":\"For required attachments recipients cannot be Any\",\"a16b1aee-39ec-427e-9b82-d3d9742f81e9\":\"Old Password\",\"65ed1bc3-818c-480f-838d-d3f7363295f2\":\"Admin\",\"d9662136-c27f-4521-8b61-d40c68b43bc2\":\"Past 24-hours\",\"477f3a62-a926-4253-90ce-d4114c095ffe\":\"New Static Link is Created.\",\"b7a1194d-6d07-4dc2-893d-d41a9e981751\":\"Vincere Base URL\",\"ecf50bd1-f8d2-493c-9096-d43160d5a2b3\":\"mta31.use.rpost.net\",\"2deb715a-6b4c-4a7b-91ac-d456e709e62e\":\"Confirm to Begin\",\"e639e119-fe6d-4462-9e12-d49148b7d86c\":\"When enabled, the XML document is attached to the final signed and completed document.\",\"9d2cd908-a40b-4862-ba7b-d49ea4e94b40\":\"New Folder\",\"ed5d9508-8da5-4feb-9786-d4d9eec3ed26\":\"Access request approved failed.\",\"a45646ee-20bd-4ff7-a14e-d4f06bbee196\":\"When enabled, the icon to download the unsigned document will be hidden on the document signing page\",\"3376b4bd-6293-47d9-afda-d516945f7b08\":\"UserContinueSessionByClickingOnPopUp\",\"1608af1f-8382-4af9-a457-d536069f6622\":\"Address to copy termination emails\",\"9892c1bf-8233-443f-8505-d53f2529ceed\":\"Specify the location of the disclaimer within the email body. Top of email body places the disclaimer above the email message. Below email body places the disclaimer below the email message. Bottom of email places the text at the end of the email.\",\"bcd4d6d2-430c-48e6-b718-d542ba475a9c\":\"Access code to sign document\",\"986cc792-4868-4a68-928d-d553da4df61a\":\"Specifies how frequently the senders should be reminded about expiring envelopes.\",\"aa6ddfc1-7bfc-453c-b499-d55d0dbaf0f6\":\"The final signed document can be downloaded from the Completed folder. It also enables the last signer to download the final document after submitting their signature.\",\"af28f566-6ce0-473f-8b6f-d5730406f2c9\":\"Then reminder days should be less than\",\"2245b299-51d3-4877-9699-d58b994a24df\":\"Discard\",\"5c04c08b-ad43-4985-9013-d59606290bce\":\"Are you sure you want to copy selected Template?\",\"f793cb37-2985-484f-addf-d5afe40f602e\":\"Single Sign-on (SSO)\",\"e8256aad-fa93-4201-8e3b-d5cdd3d23872\":\"SMS successfully sent.\",\"a387aea4-b7ff-43b4-9045-d5cfb2e0f8a6\":\"has already confirmed the contract.\",\"3bf3c9a4-e16e-4893-b627-d5e40f0d6592\":\"Are you sure you want to permanently delete the item ?\",\"d219eb75-b9f2-4b0d-b949-d678c2cbbe19\":\"Back to Documents\",\"0d3e0743-51dc-4c14-a9cc-d68b9eea8fb2\":\"Accept Terms of Service and continue to signing process….\",\"2d6d49a8-780c-42bb-ba66-d68f38015194\":\"Maximum of 10 emails are allowed\",\"060ac0d1-5713-4def-8ffd-d6a910de6e1b\":\"Bullhorn\",\"04c7fefd-eadd-4e1f-b9b5-d6ab57bf8827\":\"Exit\",\"27587ae1-6894-4aa2-80fe-d6bd8888efa2\":\"Personal Templates and Rules\",\"87b80e98-7f9f-4fe0-bd4a-d6e51ac28470\":\"Cannot be blank\",\"8b131774-a5ea-46c3-ae51-d709071ca59e\":\"The final signed document will be sent based on the value of the setting Attach a Signed PDF for these recipients for this envelope. The values of the setting and its implications are explained below.\",\"ec597424-5893-441b-9418-d71ccd256891\":\"Click on this to cancel the operation.\",\"44cbc6f2-c35c-4a26-a5ae-d7644288558f\":\"Password requirements\",\"6b56b859-7d8d-4630-a270-d79e4c4cb1a5\":\"File you are trying to upload contains duplicate contacts. Do you want to overwrite existing contacts?\",\"81fe0e72-95ef-450f-947b-d7bc8f73fb6c\":\"Duplicate\",\"910af869-2ffe-4394-bc99-d7beb9c32b20\":\"Error occurred while declining envelope\",\"1dca1a7e-38f8-4308-8467-d7c17a0dd2a7\":\"Saving Columns\",\"1e190c7d-b9e1-4ada-b9df-d7f9b0826a53\":\"Are you sure you want to delete the rule with Rule Name\",\"4be08cad-58c9-4d0e-b7dc-d80bb27cad82\":\"End date should be greater than start date.\",\"bdd3e3c1-4e27-4b46-a1f7-d819a9203eb9\":\"You have already confirmed the contract.\",\"1bd2bc63-a357-47cf-ad81-d82ed4177fa2\":\"Close Activity\",\"c04fd53a-3f61-4b13-adb6-d838baa4383b\":\"Enter the Applied Epic SDK URL. It’s a unique endpoint given to Applied epic customers who have purchased their SDK licence. Contact your applied epic representative to get the SDK URL.\",\"0aff8db3-873d-47c8-a41d-d89249ce09e7\":\"Is Sequential\",\"186b9b81-7370-45dc-940d-d8c2309a62d6\":\"Opening a template to edit\",\"a4497d9c-81fd-4dd1-b154-d9053d423405\":\"Clear all controls\",\"4fa6e50e-5d2b-43e8-8162-d90eab4ffe55\":\"Spreadsheet Currency Format\",\"989b5b6d-d6c2-41d1-9ddb-d93e1d9a17f8\":\"Coordinated Universal Time\",\"07e2ba10-b31b-4fda-bf53-d9606e1c9e0c\":\"Click on this arrow to move the control panel to right\",\"a3bb1519-a122-41fc-81d4-d980119e9611\":\"Allow Users to Create Message Templates\",\"9c978ee2-d034-4d94-9577-d99a0640073f\":\"This document has already been signed and returned to the sender.\\r\\n\\r\\n\",\"dc9f7807-85d6-44ef-93e8-d9a24009cf65\":\"Drag the document in the order you would like them to appear for the signer\",\"18b52d31-0f84-429e-aab8-d9dc01332627\":\"Click to pin the control panel to bottom\",\"73d05c4f-1ec9-4280-a646-da8c66757ea7\":\"Allows users to customize the envelope signature declination reasons.\",\"ee03c1c0-99e8-4819-8ed6-da8d62e4ea81\":\"This is a company level setting only. Envelope level setting is displayed for information purpose.\",\"16de5081-f3ab-45bf-ac41-daa8d1681ac5\":\"Allow Copy\",\"a4d497b7-451e-4c09-b218-dab384572cc5\":\"Strong\",\"096dd340-6003-4770-90cb-dac0a0001541\":\"Days\",\"c72f708e-2bc7-4d01-bdcf-db0eed922cd0\":\"Click here to over write\",\"c23de2ac-cfcf-4f8c-bb27-db30288bcbd2\":\"Please select Cabinets to drill down to select folder\",\"e2fd5a60-d72c-4224-9d26-dbcb8b568614\":\"History\",\"cd9eb753-a7fd-404c-bbdd-dbd7a7429f93\":\"Or review all RSign envelopes sent from Vincere by clicking on the \\\"All RSign Envelopes\\\" button.\",\"989c2b87-c7ed-4f6d-a58f-dbda175c9837\":\"Post Sending Navigation Page\",\"57b4fa1a-83da-4a86-9388-dbfa2b8c0826\":\"Draft Type\",\"7be057a2-1aa6-4b37-9bcd-dc0022513a67\":\"Allows companies to hide or show the RSign™ logo in email banners. This change must be done by the RSign™ Customer Success team only.\",\"bd13aad1-5dc9-4751-9a2a-dc042951456d\":\"Current Status\",\"0e5765a3-bbe5-42a8-9a12-dc0c84a98855\":\"You are seeing the selected {0} envelopes\",\"d0565066-0abd-40da-a9f8-dc769e6d4f48\":\"Select\",\"03b2d7c5-cdbd-402f-b0ac-dc793a0db00c\":\"ACCESS MANAGEMENT\",\"9f47a993-d028-4ba8-99a6-dc7a12ac3178\":\"Specifies the nomenclature of the signature certificate when stored as a separate document in NetDocuments or iManage. This setting is disabled if setting Sending -> Include Signature Certificate on PDF is set to Y.\",\"380ef85a-e330-4516-8675-dc7dfe285257\":\"Copy\",\"fab6febe-d631-461d-8236-dcd3d2b19c47\":\"Specifies the nomenclature of the signature certificate.\",\"c350c9f2-a49d-4f27-93ce-dd164b55bd04\":\"Reference Email\",\"90161e80-8ba1-42aa-9c13-dd31b59354e6\":\"Enter the exact folder name\",\"a7526e23-ef86-4500-ba6b-dd4ec1b7c174\":\"User is not associated with company and hence cannot be Admin.\",\"f6f51558-dd59-401d-ada4-ddbfe5325ef1\":\"At least one company must be active.\",\"85ea0989-bc6d-45c3-883b-ddccd63d57c5\":\"When enabled, RSign™ displays icons to align control fields on the document.\",\"4dacc35e-cf9c-4d28-b91f-ddce0e78831a\":\"Click the link below to view, download the signer attached document.\",\"dd570012-ab78-4269-8045-dde21a7778ae\":\"Auto-Populate Signature While Signing\",\"3331aead-348e-4b4f-8c8f-de02526b9ab3\":\"Source\",\"96858daf-3f15-4e1f-aaf5-de1287218c4f\":\"Created Date\",\"c12eceea-842e-4efe-a33a-de1d559f734e\":\"InfoCenter Server URL\",\"340cbec0-f5ad-4b89-8fe0-de2331568983\":\"Add On Name\",\"c7dff58e-530e-4fa5-ab39-de2c6d0f04ea\":\"Thank you for verifying your mobile number. Your signatures have been recorded. You will receive an SMS on your mobile with instructions to download the final signed document after all the signers have signed the document.\",\"0d2a9429-9dc0-4c10-8b3a-de894aa50eab\":\"Error occurred while updating user.\",\"7741b070-1f28-4af2-87e0-de8aaa628f6a\":\"Create Roles\",\"fc9aa510-7abc-449d-b260-de9f1a81b634\":\"Order\",\"e9271f1c-cc93-4278-b3b6-debac430707f\":\"Enter Username\",\"e8a1dd0b-1e20-440a-bcba-dec03d2476e8\":\"Account\",\"9de8fc9e-cb48-40fb-a6aa-dec33d98650a\":\"Enter phone number\",\"95c106c9-f93d-4be1-8ef6-dece953c7e3b\":\"Information\",\"f1fa7068-b6ae-4dc4-b637-dedb1fcf13b3\":\"Loading Files\",\"e91cb2f4-16ce-4063-8026-defe0c22096e\":\"Export All Results\",\"67bcceb1-7bc0-4542-8d47-df0b5d8554fe\":\"When enabled, the sender receives an attachment called the \\\"Transparency PDF\\\" once all parties have signed a document. The \\\"Transparency PDF\\\" is sent to the sender and the final signed contract. It contains only the information the signers added to the form fields during the signing process.\",\"aed1bc9d-dd4f-4711-90b3-df4dfaae3192\":\"Specifies how long (in days) before the document expiration date will the sender be first reminded there are documents awaiting to be signed.\",\"15323032-af08-49c7-932d-df700adb7c56\":\"Email access code to recipient\",\"8fe127fa-68c9-43a8-a389-df724f049af8\":\"Select a colour code to customize the appearance of the subheader on the new signer's interface.\",\"5eaaa101-eeb9-4df2-8bca-df920e0ddef4\":\"Click here to load envelope history\",\"39214709-9e4d-46de-b68d-dfbae0a6940c\":\"Reset\",\"b4d34862-aa04-41e1-a8bc-dfd73137feec\":\"Address to reroute final documents\",\"6021d655-0062-4198-a24f-dff809c7de51\":\"Signature Control Required for Static Template\",\"7c201da6-43b4-4fb9-9b1f-e02ca94dc183\":\"Retrieving recipients\",\"d2616c14-8d9f-4f87-b5a6-e03f9854bcee\":\"Move envelopes by sender\",\"0b495bac-f3db-4c98-9107-e04c9403a0ef\":\"UserName\",\"9a1545ef-6663-458d-bc14-e06d924b9845\":\"Email Banner\",\"862fad9d-9101-4cdc-a4c7-e0a55c6613ab\":\"Envelope Code\",\"e3950879-ffe2-42aa-9bf2-e0df2320f549\":\"The copy of this document has been saved to your RSign account. Please select from the options below, how would you like to proceed further?\",\"06c0667c-2026-41ac-9656-e0fa601bcc9a\":\"Align Bottom\",\"e590ba40-0e59-43d9-8917-e126576f0767\":\"You will be logged out in\",\"20daed3d-39d0-48df-8050-e126ba0b17d3\":\"Send Decline Report\",\"4acbb5b0-b418-43dc-a2e8-e13e6421454b\":\"Distribute Horizontally\",\"908bc191-6129-40dd-9018-e168245475fc\":\"Click to Sign\",\"a47b2ce1-bee1-4bd2-9f3c-e19c686ca617\":\"Create Template\",\"69a5e504-6ab5-4871-887b-e1a5f3530ad5\":\"Send me a copy of the email to download the final signed document.\",\"e0f9f98a-c3c3-4981-ae77-e1e6a2623cff\":\"Field cannot be blank\",\"4bb2ad02-19b9-44fb-b710-e208dfaee597\":\"Search Fields\",\"5c78379a-c472-47b8-98fa-e23f8e61f846\":\"Invalid email address\",\"0449f1cb-5552-420b-beb4-e27be4cd1b29\":\"Domain Name already registered.\",\"04fae8ab-9f2d-493f-ab95-e285ad628026\":\"Specify whether the reminder should be sent to recipients mobile number or email address.\",\"6e4105bb-7646-49a2-9aad-e289b69cbc13\":\"API server URL\",\"665b8d7e-5a99-4165-aacc-e2b566d5c46e\":\"Access of copy of e-signed records.\",\"dd1e831e-f9c0-4883-a0e8-e2d5dc34c588\":\"Expiring within 4-days\",\"5bec15db-3543-410c-ad4c-e3498bedaff3\":\"Shared as Copy\",\"60f23e27-8e50-44f6-bbea-e353313d2a04\":\"My List\",\"869faf5c-fc11-4632-be95-e37a7aa3a937\":\"Old Email Id\",\"35dd7f87-604f-4974-8f5f-e391edbfd14c\":\"Title\",\"18a22a55-42cd-4a7f-93cf-e39c0070803d\":\"NOTE: You have selected a record from Bullhorn #entity. You can send an envelope to this record, or create or edit a template for Bullhorn #entity.\",\"15651090-39cb-4b68-a739-e3c70070a6d9\":\"Keyboard shortcuts\",\"b776e314-5228-4a64-811f-e3f4c1f07a6c\":\"Optional\",\"2c00ee85-1e58-4ee4-a534-e3fede6f90a8\":\"Email and Alternate Email Address cannot be same.\",\"dcfabef0-dd61-4758-a997-e461b12328fa\":\"Add Level\",\"3591f8f3-99e5-45f5-bd4d-e47b0fd07852\":\"Add Role\",\"fda1a39c-d184-4a7d-a0be-e4aa4ca50765\":\"Envelope details saved successfully. You may return to the email or mobile anytime to continue the signing process from where you have left off, or\",\"a4270a37-ee64-477e-ab2a-e4aae53d0c29\":\"Delivery Mode\",\"d5cbca7e-9968-4fcb-9422-e4d5bd50859d\":\"Are you sure you want to permanently delete the item ?\",\"d9eb6f68-7ebf-48ca-88e5-e4e09ed50649\":\"You can add the same recipient email more than once only in the case of ‘Sign in Sequence’ option\",\"b8282538-e9cc-4672-93a2-e4f3ac860120\":\"Read the news\",\"f8fa7589-3d2a-425a-9f5a-e5079428fbd5\":\"Delegate\",\"c98253b0-1622-4a58-ac36-e51de88f1e1c\":\"Type 3 letters to search folders\",\"fb5da801-4c4a-48c9-abc4-e526c3ada39b\":\"Unsigned\",\"2e3d2d8a-89e7-4c11-a244-e553e66f26e0\":\"Store Email Body\",\"414bd99e-881d-46c6-9039-e5b54356f5b2\":\"Are you sure you want to delete the Template group with group Name\",\"5bd3066a-501e-4227-9d1e-e5c1c477b436\":\"Your signatures are recorded. You will receive an email or SMS from RSign with instructions to access the signed document.\",\"2740974c-7f98-4993-903f-e5f605508090\":\"Text For Sender\",\"e5bfb06e-c1d4-4ede-8fd6-e5f6c062830f\":\"Company Logo\",\"262c2751-a4ca-467e-b2b4-e6611e02edff\":\"Move up\",\"cbabcf00-8558-416e-9091-e6649b5ccba7\":\"Settings saved successfully\",\"456b7672-3ce5-4503-a139-e66c959f52ad\":\"Deleted on\",\"4354f5d0-81fc-433b-a238-e6734ba12610\":\"Upload a picture of your signature\",\"bfe5e953-d6af-41e7-b8eb-e67f0c847485\":\"Override User Settings\",\"689a469f-75a1-48e5-9d56-e68c49f34c67\":\"Enter email of the user to view their settings (to view company settings click search with no text).\",\"bea82f29-5434-40cc-9069-e6f38e98985a\":\"Some of the emails not added successfully,Please try again.\",\"455933d4-cb43-4fd8-9ee1-e6fbf8061a27\":\"Deleting file\",\"b0767269-9a9f-40b5-85b8-e710e9fcf61c\":\"does not exist.\",\"c9033aae-3ac6-48e5-aa24-e711399eaf2b\":\"When enabled, RSign™ stores the original document and lets the user download it from the Envelopes tab. When disabled, RSign™ does not store the original document.\",\"52f4b2c9-0845-4a2f-a0c5-e743638cb873\":\"Cancel Update\",\"b396b48b-a0bb-4442-aa33-e76752ca1323\":\"Specifies after how many days the first reminder to e-sign will be sent.\",\"ffe7be56-8287-4500-8298-e7902d449269\":\"Invalid credit card number\",\"112bb3ac-dd18-49a7-a772-e7f9589e9e14\":\"Notifications and Signed – Notifications and both unsigned and signed PDFs are emailed to the CC recipient.\",\"be98ede7-e68e-4c97-a3ce-e8083aa67c90\":\"You are viewing company setting history\",\"18ecaafd-e4c7-4dce-9386-e81548d76da7\":\"Re-type password\",\"9a76fb60-3de2-4c4e-9326-e81eb4ce9292\":\"Settings\",\"24dc9e44-cdcc-4caf-b504-e83a3919c609\":\"Document Deleted successfully\",\"ed57f769-ea90-473f-9dfe-e87773385026\":\"Checked\",\"4df1dc15-1f45-48b2-b430-e8c0882f66d1\":\"Example: Manager, Owner, Tenant, etc.\",\"57792b3f-73cf-4343-9c80-e8d6e61b1e56\":\"Rule Shared Successfully.\",\"f42df6c3-b200-4264-a9ef-e8f343161071\":\"Delete\",\"773a5c51-c1d4-45f4-9f77-e8fb6f24162d\":\"Upload a picture of your signature (PNG, JPEG, JPG, BMP)\",\"1833b5b4-f202-4c19-b906-e9175389df0a\":\"Advanced Controls\",\"360d9224-a9f0-46f2-91dd-e93bc0f7c324\":\"Official Version\",\"036d6d77-2ce1-4734-80bb-e95a683fc456\":\"Registering\",\"9b9b0547-8e8d-4a44-95f7-e95b69501f16\":\"Address to copy signature emails\",\"548a19e7-de15-40dd-b461-e96f4fda5a49\":\"Close\",\"79ec7cef-036d-45bf-9449-e977d27ef3f5\":\"Please create a folder first.\",\"d6982534-219a-4f56-9718-e9894b9fee29\":\"Color Theme\",\"7f0f35b8-32ce-416d-816c-e9b3b0059a52\":\"Address to copy notification emails\",\"51a6eda9-2b97-4b96-8181-e9e7d120d39d\":\"Error occurred while Resending Mails\",\"68f4a856-8c3f-4702-9970-ea3731a2b664\":\"Service Language\",\"17e3e69c-6538-446a-8884-ea3c2e937371\":\"Sending\",\"d6340425-388d-4c58-9550-ea50963defa2\":\"You can close this pop up and change the email to complete this form.\",\"f7c5f55b-eabc-460e-a10a-ea7c92a39dcc\":\"Copies declined electronic signature request, electronic signature carbon copy, electronic signature password notifications, electronic signature reminder, electronic signature requests, electronic signature verification code, expiration reminder, final document carbon copy, final signed document, sending confirmation.\",\"26a5ba46-7667-4c1c-a85b-eaa369d2d63c\":\"Error occurred while deleting document\",\"53c85604-2ceb-476e-80a5-eab99cd53520\":\"Document expired based on GDPR rules\",\"cccfe347-55a3-40cd-9ae4-eaec59c92667\":\"Not a valid decimal\",\"bcb4603c-ea9a-4de8-99d9-eaf26ee03bfc\":\"Read Only\",\"baa601a7-5c72-4272-b351-eb00650c6377\":\"Create New Password\",\"784fc921-b967-4d4b-974f-eb19e69422a3\":\"Decline\",\"eaf470ab-f047-4314-a704-eb2d30c7d7e8\":\"eSign Complete\",\"90349bed-5015-4cef-bece-eb34b44fa29f\":\"Refresh\",\"5d86e565-f701-4a16-9515-eb3dc7738961\":\"Envelope has been delegated\",\"435424f7-2ef0-4a54-a9b4-eb479f1f4a43\":\"Please contact the sender for more information or to have them resend an updated version.\",\"eb7125fd-7bba-4986-818a-eb4947ddcd80\":\"Cannot be blank\",\"bb02fe46-0f26-4679-bf85-eb50129dcb71\":\"Remove Email Body Row\",\"9a7e13ce-4a1d-41bc-8809-eb5718ba8c94\":\"Are you sure you want to share/unshare the template with Name =\",\"a9b4453e-fd57-4826-aa4d-eb9ce3555c39\":\"This envelope was declined, and an email has been sent to the sender.\",\"99d5ce62-cd39-46d1-80cb-eba4ef59b5c9\":\"Original Document\",\"6885b4b4-45e4-4088-9554-eba78260640b\":\"It seems to be user is already registered, but not yet been activated.\",\"c3c02fe6-8605-4fc9-a053-ebb08c215d5a\":\"Create Template or Rule\",\"e84630f3-d113-4589-ab7d-ebb53acce50e\":\"RSign: Access to document granted for one week. Click the link below to access the document.\",\"8cc40b98-f0eb-4e09-a42d-ebdefbaeeb28\":\"General terms and legal notices – Click to view service level terms, conditions, privacy, patent, trademarks, and other services and legal notices.\",\"561733e2-0d02-4804-b113-ebf7904f6e2e\":\"Add More Dependencies\",\"1ce1860b-143a-4958-99a4-ec0967b21ffe\":\"Send\",\"23e7af66-c0fa-4708-841a-ec2796766f96\":\"Delegated\",\"77daa084-2020-438b-84d8-ec36532fb622\":\"Error occurred while uploading files from skydrive\",\"73e30b2a-9bd8-477a-9397-ec88355f3376\":\"When both the company name and email address are entered, the search shows user settings within the given company.\",\"91cca461-c020-4cec-aa89-ec998d45a08f\":\"Please enter email address or mobile number or both.\",\"fecc825b-91ec-4a8b-b8bb-eca44be44a63\":\"Rule List\",\"d67bbb5a-3ee7-43be-a868-eca81ba5b140\":\"Expires today\",\"ac25246a-9213-4e7d-b2e5-ecb7ca2c391e\":\"Select the range of dates during which the workflow will be active. The workflow ends at midnight of the end date in your time zone. Leave the field for the end date empty if the workflow should execute perpetually.\",\"451a8df9-b7ab-449e-a11b-ecbbef2a62aa\":\"Select\",\"8e9d6844-5904-4c08-83ce-ecc621b36daf\":\"Description\",\"7e3f5140-08e5-4096-ae2a-eccccabd6943\":\"Specifies the default email reply-to address to be shown in the 'To' field when the recipient replies to the e-signature request email.\",\"4b066eb4-d11d-4763-afc7-ece40bba52b5\":\"Please accept terms and conditions\",\"5e8b95dc-d593-41bf-916f-ed53ac4ab6dd\":\"There are currently no templates created.\",\"618bccf7-ad3e-41c0-b688-ed721b22a12b\":\"The selected country code value is defaulted on the SEND tab when the sender selects their contacts.\",\"913128de-1d41-4e8e-898c-ed8f51e51fd6\":\"Character\",\"0686e939-a2e0-45a1-8f30-ed8fc5563119\":\"Uploading Files\",\"498a50d5-2fbc-406d-83ef-edcd335f80eb\":\"Message body cannot be blank\",\"2804a8cc-82d1-4648-b2bd-edeed06db630\":\"Please provide valid url for Post-Signing Landing Page\",\"ea7b8d77-572d-481c-bf91-edf5e77e4e5a\":\"Email successfully sent\",\"dab3a97b-dae6-4778-8e4e-ee0ef055e7e1\":\"Enable Post Signing Login Popup\",\"aa68ae3a-c156-4e12-b647-ee29c96b2ae5\":\"Access request approved successfully.\",\"3fc7221a-cee4-4fdc-8777-ee494f343450\":\"Please select a value from the 'Message To/Code To' dropdown that does not have 'None' as a suffix, if the setting re-verify each signer before final submit is set to Y.\",\"7c787fcd-241b-4f40-b4be-ee4d75624a5c\":\"Following contacts contain invalid email addresses, please correct and upload.\",\"99e9faf8-1622-435e-889b-ee5c19314104\":\"Maximum 10 files with combined attachment size of 15MB allowed\",\"50236229-3305-4244-8a62-ee72c6a6f3d1\":\"+New Signature\",\"dab925f0-3fb9-4f57-8b82-ee9bb2a68910\":\"Size\",\"20a606b3-7bb9-4219-a31f-eebf4ab103e5\":\"You are viewing older envelopes.\",\"9025bf59-d718-4ff2-8e48-eed1842ebdf3\":\"Remember me\",\"87a93899-d79a-441a-9946-eef365e28b2f\":\"Domain Name\",\"b8056141-d4de-4cb3-8849-ef22ad6199ea\":\"Send document encrypted\",\"b7b69363-7e52-4c81-ac38-ef257c78eeac\":\"Enable this feature to store the final signed documents and signature certificate in your iManage or NetDocuments accounts.\",\"7108ee13-8d3b-4cca-a544-ef27f383e250\":\"Document Downloaded\",\"ce92beb6-0d2a-4869-ba84-ef3209a2011b\":\"Are you sure you want to delete these envelopes?\",\"d2f93cc2-5d17-4636-a110-ef44b4e8345b\":\"Storage Drives Available\",\"f52023fc-c3d5-48f8-b20d-ef681f921ea0\":\"Check-In Comments\",\"31fecc0b-ff60-40db-a724-ef68f9f2282e\":\"Time\",\"3c931fd8-b605-46ed-a5be-efa17f740a56\":\"Sets where the date and time are to be displayed in the signature certificate.\",\"44af109a-2111-4c15-ac3f-efa71d10e9cf\":\"approximately\",\"7564aa3c-97b7-4b26-9fc6-efcdf17dd41c\":\"Viewed\",\"58dac415-7575-445c-9cd1-efd5ccfdbd35\":\"Are you sure want to delete the contact?\",\"d4254e74-aa24-47cc-b363-efdb4f9de2ce\":\"Save As\",\"d300901a-f359-455a-bd7e-f01c575478e1\":\"Enable Auto Fill Text Controls of Same Label\",\"5f737299-6cd9-42d9-b7f9-f025d500ef84\":\"When enabled, RSign™ stamps a watermark onto the signed document.\",\"9d0d9c19-75a6-4c27-b3ec-f0329bfa92a2\":\"View All Dependencies\",\"cb04eb61-b1fa-48cb-a9af-f05e5ad3eb77\":\"RPortal Status\",\"cad2cc7f-f62c-443e-a402-f064e2453d47\":\"Disable Decline Option on Signers Page\",\"a7ff94bc-0836-4aea-9dad-f072f866dd00\":\"Allow signers to add additional attachments\",\"db55c7d7-2882-44a2-bac9-f08e5ff2f730\":\"Search Envelope\",\"47a8c53c-93a3-4841-856e-f0bcc8afb7e5\":\"Deleted by\",\"8d142c1b-8171-41f6-9312-f0ce8d26f106\":\"Allow Sharing of Templates/Rules\",\"fb88e754-3e06-4500-9c9e-f0d7256fbc15\":\"Email address where email received from RSign™ should be routed.\",\"c0544551-2b5f-49ec-9df8-f1099c3e38c2\":\"Warning\",\"6fffbb7e-3c69-4d3e-931a-f10ad559b3e7\":\"Role Type\",\"cc147cc8-ed00-47ce-939c-f120cc6894b8\":\"View Settings\",\"1342d97c-743c-4f29-ad78-f12a16743009\":\"Remove\",\"053ef560-9e37-490c-9b02-f130885c9309\":\"This action will remove all document controls. Do you want to proceed?\",\"9c56fd65-81f8-492c-b7fa-f15d6f788981\":\"Disclaimer Location\",\"c46815da-40ea-49a6-83dd-f1787793be58\":\"Roles\",\"ada247f1-648f-4815-af82-f1b00f93a8ee\":\"End Date\",\"f6ebd287-254b-42ab-baad-f1b5f5a2db0c\":\"When enabled, an email is sent to the first signer of an RForm (a template accessible for signature through a static URL) for authentication purposes.\",\"a4898b06-d587-4a12-984f-f1bad1b39119\":\"Signature Certificate\",\"550185f6-9745-4628-ac65-f1c51f937098\":\"Envelope expired based on GDPR settings\",\"6301e0d8-ca73-4ed6-a2fb-f1c825f16b89\":\"sent to the recipient below was locked and they may not have access to it.\",\"6b5ea176-af22-42fc-90cc-f1e0a0bd5809\":\"Select\",\"1059e8e5-fcf5-4a9a-88bb-f1e311cdcd1a\":\"Please select the options below for sharing.\",\"625d5467-9614-457f-a888-f202c88dd17f\":\"Create reusable templates\",\"0fefc2ea-a363-422b-8fdd-f228e384a44c\":\"Settings help\",\"2c91aa05-3bdb-4f22-9698-f26263ce318b\":\"Group Name\",\"1ddc6ab4-c61a-4617-8d88-f27a5bfeabc1\":\"Next\",\"56587859-d747-4b5a-89ba-f27c09027b16\":\"Your document has been successfully submitted\",\"c661ae59-ae82-4848-ba40-f29a52168d68\":\"Control panel pinned to right\",\"809ee023-7906-4ad9-9232-f2a13c24190e\":\"Shared Templates\",\"2e57f2f2-5b10-4c6d-82ac-f2b2da70d0e4\":\"REQUIRED: To complete this process, check your inbox and click the confirmation link in the signature verification email.\",\"659ffd2e-f36c-4a3b-8fea-f2c152dfcab0\":\"Change Signer's Name\",\"38b22c3e-f7c9-4f79-98ae-f2c8b8fd9073\":\"Failed to fetch libraries. Please check the provided details.\",\"007ddda4-68b0-447d-9eb2-f2e636caf1cf\":\"Apply\",\"5ed5544d-ea51-459d-979d-f2fe2a5694a3\":\"Click to Share\",\"dc9184cc-a094-4768-8e25-f33647007490\":\"This is a company level setting only. Envelope level setting is displayed for information purpose.\",\"917a063d-10b0-4c66-b191-f3439688b8fc\":\"Signature Certificate Type\",\"c089f7c2-4258-4b4d-afc7-f35516d4ccb9\":\"Red\",\"e3c35303-4894-4871-b18f-f36071c46a35\":\"Open the transparency document attached or click the link below to view, download or print the transparency document.\",\"e361b76e-b1f5-4439-a480-f3baf336be55\":\"Enforce API App Key Validation\",\"1bedf125-345f-48b9-b297-f3c0e6c75031\":\"This checkbox is required\",\"b7c92495-5f50-4d67-ad3d-f3e83a68f71f\":\"Learn more…\",\"4ebbef78-a894-42f6-a263-f3f45629715a\":\"Click to Add\",\"91886562-af78-481c-9b80-f3fce23b53ac\":\"ADMIN SETTINGS:\",\"97c864a2-653c-4830-8187-f42b6376b194\":\"Prefill Current Date for the Signer\",\"207f5702-5817-4380-9358-f470f77ab4f0\":\"We are unable to attach the documents due to size constraints.\",\"80793863-aa6e-40f6-95f6-f47bd7719036\":\"if you have any questions.\",\"f850745d-45d9-42c2-b629-f48f29f80396\":\"Signature Name\",\"a5f19d7f-fb5c-4451-9db2-f499fe9ac583\":\"N\",\"96a2b245-e49c-44a9-9b2c-f4ba2d9ba080\":\"Text formatting\",\"eab96917-942f-41b3-ae29-f4db07f97c99\":\"options allowed\",\"77cdff27-79ba-41e6-9aac-f4f6d87212c4\":\"Updated Date\",\"18ce629b-e294-4237-8533-f585f0ce088f\":\"Recipient Role\",\"6927a498-e2fe-498d-a904-f5bd36de64c7\":\"Edit\",\"0618e9ba-c3ed-42de-a0dd-f5bec675846c\":\"Please, enter the password\",\"ce950e8d-4bb0-48b1-93e7-f5c68d073f34\":\"Password Window\",\"ee9ab6bf-3969-468c-8689-f5e87e6be5c8\":\"RSign Expiration Reminder\",\"24ec9ea9-bcd0-40c6-bf3f-f603541ad285\":\"Store Original Document\",\"91f4b022-3ed5-4e95-8d75-f62650124915\":\"Custom Column Layout\",\"7901f979-e191-49d8-b525-f62df1fc5d8c\":\"Please enter phone number\",\"f4a168b9-a7bc-4f77-b8ec-f6317ec0ff1f\":\"or\",\"51e912d4-3e07-40e9-805d-f644d709d3fa\":\"characters allowed\",\"bfcbe8f1-d5d2-42ed-80ef-f6815784eecb\":\"Why do you want to decline this document\",\"4b78bc92-a10d-4a29-bda7-f68750eedff8\":\"Back to Send Document\",\"62c261f7-dddf-476c-a094-f68a162be74c\":\"Unsigned - Only the unsigned PDF is emailed to the Cc recipient.\",\"b0ebb263-b423-45fd-beb0-f6a6a900b6d4\":\"Select Days\",\"3b36b907-d2cd-4878-92e9-f6c3d382faba\":\"Please click to add initials\",\"8f5f9bdf-04d7-4152-860a-f6d65c6b6da2\":\"Signed Document Location\",\"1bbbab56-d8d5-4f84-9396-f6dd50abe600\":\"Text Color\",\"4fbf0f57-48e8-4db2-8943-f6e70097b75d\":\"The attachment will be sent using the RSign File Review feature to allow the recipient to download, review and confirm that they have reviewed the content.\",\"0abc205d-d1ee-46b7-938c-f6f199d3914e\":\"Please select any one Invite signer/Sign Now\",\"4469bc07-5c24-4796-876a-f720d09ab182\":\"Privacy Policy\",\"619550aa-5ab1-4ee2-95df-f752eef08460\":\"Manage\",\"e67c9564-988d-4a6e-a4a4-f75c7a06d448\":\"Available Options for Signature Capture\",\"264e4be0-26ab-4d49-9f9c-f7a182d36b45\":\"Please specify where the verification code should be delivered.\",\"5ee6b225-d6ac-443a-9471-f7adf62d7b37\":\"MANAGE ADMIN\",\"653a728f-12df-4ee7-8e75-f7b2774f3d75\":\"User not authorized to access the Dashboard details.\",\"5849e15f-88ff-4f33-be52-f7d3ef977faf\":\"Add Recipient Role\",\"89726913-c134-4940-b62b-f81f5d388ca0\":\"Rule Name\",\"0421863f-545b-4991-84c7-f84d0aabde33\":\"Columns saved successfully\",\"a1544a83-f345-48f5-8ea6-f856b5ddab38\":\"Show Company Logo\",\"98189b0e-13c4-43ad-a7a8-f87d5b86c641\":\"Remember to look in your\",\"e8b6d88b-f56f-449e-9bf3-f889ecdb6835\":\"Please upload the requested mandatory documents.\",\"b352717b-2b1a-4017-a69e-f8a23ecf9b6c\":\"The sender is updating the document at this time. Please try again shortly.\",\"f67664f7-38a1-487c-9c06-f8acfb2df977\":\"When enabled, administrators and users can create new rules and use existing rules.\",\"d2709b8d-b480-40a8-99bd-f8bdb80d2c97\":\"Session time ended. Redirecting ...\",\"c72bf008-ec8c-408b-b8ef-f91f41a5bb2f\":\"Deleting draft is in progress\",\"b704594e-7af5-4ba6-ba18-f92e73675524\":\"Transaction ID\",\"11a13b84-cd79-4af8-a2e5-f93a1e84f01d\":\"Same recipients for all templates\",\"5878154d-6a20-4e41-ac52-f94801406d7d\":\"Send confirmation email to complete the process\",\"dfcf3fbb-d227-48ef-bfc9-f978ad029031\":\"You are viewing settings\",\"dc0d8411-06eb-4f0d-8d1d-f98f2cb6c78a\":\"Set Default Signature Control Value to \\\"Required\\\"\",\"5965ee72-4a75-4668-8f89-f9ba93f9a458\":\"Review and confirm\",\"4a835791-060b-4ca5-9581-f9ceb759a433\":\"Copy Link\",\"9dd29819-46e4-4695-9037-fa1db2c82b7f\":\"Specifies whether a password should be used to sign and/or view the final document.\",\"c1f054b7-7fe1-48b0-946d-fa2f84dbe1cb\":\"Step 1 of 2 is complete. You will receive a SMS message from RSign on your mobile to verify your mobile number. Please check the message and confirm to complete step 2 of the transaction.\",\"6ffb6d88-9782-4158-a945-fa3df164ba47\":\"When enabled, the sender/Cc receives an email notification each time a recipient signs the document. When disabled, RSign™ notifies the sender/Cc once after all the signers have signed the document.\",\"3cf152e1-5163-44d8-8a55-fa539c17ebe3\":\"User already added.\",\"bfefec19-5256-4a37-a408-fa547af5b89b\":\"Do you want to stay signed in\",\"e113ef52-d985-4b8c-8d91-fa65e7d8f053\":\"Add Row\",\"7716d373-5c3c-4722-b14a-fa9f4c824192\":\"For sending an envelope to the selected record click on \\\"Send Envelope\\\".\",\"01836db4-a221-4ca2-b154-fac798ef9fef\":\"At least one signer input field is outside the margin of the page. Please review the signer input fields on pages X to move it inside the margin.\",\"7abea5e1-3930-4694-9e89-fb17b75e0437\":\"Questions about the document?\",\"6b42a347-3a22-43d6-8070-fb29d3b693e3\":\"Add controlling field on the document, to add dependencies\",\"3b7b4232-17b4-4362-b57f-fb4b29121349\":\"Will allow editing of the Message template, Email subject and Email body while updating and resending the envelope.\",\"1c5fca60-7099-4ebe-8f61-fb8262ef1efd\":\"Requests\",\"470fe3bf-5361-4767-a328-fb9f30e05c51\":\"Reseller Name\",\"fcb3dff0-6f92-4437-a452-fbd4a9be62b2\":\"Click on this to go to Page 2/3 after saving all the changes.\",\"73e6b25b-41fd-4896-ac1b-fc17a0ff5826\":\"If this setting is set to Y, users under your company will be able to authenticate themselves against the iManage authentication server from the RSign Homepage by clicking the ‘Other options’ button to access the RSign application. Enabling this setting will show the same setting at the personal level to allow users to select if they prefer to access RSign with RSign credentials or iManage Authentication mechanism (SSO or iManage credentials). Moreover, if SSO is enabled at RPortal for your company and a domain is configured, new users navigating to RSign from iManage will be auto-created and placed under your Company account.\\r\\nIf this setting is set to N, new users navigating to RSign from iManage will be auto-created under a default account.\",\"ec73441c-eede-40e0-ad1d-fc35a0755ff3\":\"Manage Folder\",\"18312638-4f1a-48d9-9b32-fc51c9829c7d\":\"The email address was not found in the envelopes.\",\"e3f93499-ad60-4df5-8c0e-fc7ee0fc400c\":\"Invite Signers\",\"c9831830-35b0-41e6-8af5-fc979d2f940a\":\"Copies final signed document.\",\"1091a590-02c1-4419-ba35-fca75367c64b\":\"RPost technologies are\",\"e390a331-46a5-4013-a7ed-fcafbb49a6cc\":\"Enter Access Code or Leave Blank\",\"d86ad7f7-68d1-46e4-9bcd-fcb1157c0d45\":\"Stats\",\"d0f7d3f7-42aa-4a47-ba58-fcde4364fb4e\":\"Free Trial\",\"5243e6a3-1860-4c27-b718-fcf44f4c5933\":\"Role\",\"3455d49f-fff3-4236-9d1c-fd1b4c8fdb57\":\"Enter country name to search\",\"56efeadd-1124-4f24-834a-fd51ae6c39b7\":\"Approx\",\"022a044a-6d1c-4409-a477-fd5578cc4c05\":\"Edit Recipient\",\"6598064b-33fd-450d-a982-fdaca94b1f57\":\"Change Signer\",\"f5366463-f56b-4edf-b981-fdaea8c6d7cf\":\"Click here to view envelopes sent one year ago and earlier.\",\"62b5e1f1-eb6a-41e9-b603-fdcd15863500\":\"Click the link below to view, download or print the document.\",\"d65eb200-d15b-443a-a0e1-fde471d31907\":\"RSign will send a confirmation email to your email address or an SMS with a link to your mobile number, based on your selection below. Please locate the email or SMS and click the confirmation link to complete the signer's verification.\",\"5458dc49-a9f4-40ca-846c-fdeba283aa5f\":\"Google Drive\",\"335206ba-ae45-4265-9f71-fdf2596364ef\":\"Enable Activity\",\"dba33721-35c8-405e-99b5-fdfaa0914e3a\":\"Length\",\"bddeecee-25b9-40b2-9672-fe0e93b9aca8\":\"Contact saved successfully.\",\"a6ebef12-7aef-4082-bc87-fe29042430d7\":\"Confirmation\",\"3cb8114b-f89e-4823-84a2-fe30e3f9ca77\":\"Content\",\"39421f57-bc74-4f71-85c2-fe54dd2dbc4a\":\"Review Details\",\"6e2a82cb-316f-47e1-b2dc-fe62aad915e9\":\"Green\",\"35a18579-f298-4131-9ddf-fe6ad600d26f\":\"Email\",\"4ea9b13e-4747-437f-a448-fe6e9475df18\":\"RSign eSign Reminder\",\"81938c0a-696c-493a-9b31-fe8c81efbd18\":\"Clear\",\"f7e5511f-ded4-41ba-a668-fe947218fd8a\":\"The signed contract is deleted from RSign server.\",\"fc2e25d4-d073-43b9-8fc6-fe999eb64b6f\":\"Invalid IP address\",\"4b2ff617-685f-4069-919a-fec0f243c124\":\"Modify Selected Group Settings\",\"0afacd47-3d60-4d35-b907-fed5a8acf886\":\"Resending confirmation email...\",\"73132718-1076-41d2-9202-fee24c1b24e8\":\"Waiting\",\"88add6e5-816b-43a3-9795-fef20cb22737\":\"There are currently no Companies created.\",\"565d2e4b-cc1d-4250-a8bb-fef920a29d39\":\"Undo\",\"e5bd2380-f8e2-4ee3-b171-ff02e3f60fc3\":\"Search\",\"1f4233db-a409-4059-9aae-ff4c7ecdd853\":\"DateTimeStampForMultipleDocSettingsForPrefix\",\"7d65443d-0899-4311-9705-ff5796c492cf\":\"Specifies how the final signed documents should be stored in eDOCS InfoCenter. The “Versioning” option stores the final signed document as the original document but as a new version number. The “New documents (no versioning)” option stores the final signed document as a new document on all folders and workspaces where the original document is referenced.\",\"855b2fac-96cf-4a6a-8552-ff5e1bd83649\":\"Please Select\",\"dcde76ba-9a2d-49a3-83ab-ff612f79773e\":\"Allow Bulk Sending\",\"4d57a42a-6b53-4681-823c-ff7f2e8aeeb7\":\"Auto Lock Activity Log\",\"ef96db0f-e5d9-43db-ae84-ffa75e1caba6\":\"Enter Application Client ID\",\"f154a9dd-2de9-4ed4-821f-ffed4ec90d62\":\"Allow Users to Create and Use Template Groups\",\"91879639-3784-4cc1-ac67-fff435b0823d\":\"Confirm to Access\",\"e45075ff-b234-48c9-b753-fff5428541dc\":\"Open the Signer attached document or click the link below to view, download the signer attached document.\"};\r\n}","export const environment = {\r\n production: false,\r\n uiAngularBaseUrl: 'https://send.use.rsign.com/',\r\n apiBaseUrl: 'https://sendapi.use.rsign.com/',\r\n brandUrl: 'https://webapi.s1.rpost.info/api/v1/brand',\r\n sessionTimeOut: 1200,\r\n sessionInActivity: 300,\r\n rsignUrl: 'https://app3.use.rsign.com/',\r\n rsignSFAppUrl: 'https://sfapp.use.rsign.com/',\r\n corporateURLApiBaseUrl: 'https://signapi.use.rsign.com',\r\n GoogleCaptchaSiteKey: '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI'\r\n};","import { HttpErrorResponse } from \"@angular/common/http\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { Injectable } from \"@angular/core\";\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ServicesError {\r\n\r\n constructor() { }\r\n\r\n handleError(err: HttpErrorResponse): Observable {\r\n const appError = new AppError(err);\r\n const errorStatus = err.status;\r\n const errorStatusText = err.statusText;\r\n const error: any = err.error;\r\n let errorMsg = '';\r\n let msgId = '';\r\n\r\n if (error && error.Message !== undefined && Array.isArray(error.Message)) {\r\n errorMsg = err.error.Message[0].Message;\r\n msgId = err.error.Message[0].MessageId;\r\n } else {\r\n if (error && error.error_description) {\r\n errorMsg = error.error_description;\r\n } else {\r\n if (error && error.Message) {\r\n errorMsg = error.Message;\r\n msgId = (error.MessageId) ? error.MessageId : '';\r\n } else {\r\n errorMsg = errorStatusText;\r\n }\r\n }\r\n }\r\n\r\n if(errorMsg != ''){\r\n errorMsg = appError.originalError?.message;\r\n }\r\n\r\n const retMsg = 'Error (${errorStatus}): ${errorMsg}';\r\n appError.Message = retMsg;\r\n appError.MessageId = msgId;\r\n\r\n return of(appError);\r\n }\r\n}\r\nexport class AppError {\r\n constructor(public originalError?: any) { } \r\n Message: any;\r\n MessageId: any;\r\n }\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SessionStorageService {\r\n\r\n constructor() { }\r\n\r\n intializePrepareDetails: any = {\r\n 'PreparePageUrl': '',\r\n 'SourceUrlType': '',\r\n 'PrepareType': '',\r\n 'EnvelopeID': '',\r\n 'EmailId': '',\r\n 'PageName': '',\r\n 'Token': '',\r\n 'EnvelopeOrTemplateId': '',\r\n 'SourceURL': ''\r\n };\r\n disableTabOptions: any;\r\n allImagesProcessed: any;\r\n allImagesArray: any;\r\n isEnvelopeEditable: any;\r\n enableDependenciesFeature: any;\r\n displayMessage: any;\r\n currentClickedDroppedControl: any;\r\n arrCopyPasteCtrl: any;\r\n arrUndoRedoCtrl: any;\r\n arrCopyPasteCtrlsTemp: any;\r\n isCopiedSelecteditems: any;\r\n allImageControls: any;\r\n controlDependencyFieldsArray: any;\r\n controlPageGuidNumArray: any;\r\n isSendEnvelope: any;\r\n userPlanDetails: any = {\r\n 'UserPlanType': '',\r\n 'UserPlanRange': '',\r\n 'UpgradeLink': '',\r\n 'UserPlanName': '',\r\n 'UserUnits': ''\r\n };\r\n selecteditemsLength: any;\r\n arrUndoCtrlsCount: any;\r\n currentPagination: any;\r\n clickedSignMeOut: any;\r\n userDetails: any;\r\n dependCtrlMoved: any;\r\n recipientDetails: any;\r\n recipientColorDetails: any;\r\n defaultControlStyles: any;\r\n ValidationsDateOptions: any;\r\n Dateformat: any;\r\n DateformatValue: any;\r\n Culture: any;\r\n dashBoardDetails:any;\r\n userSettings: any;\r\n\r\n\r\n setCulture(value: any) {\r\n this.Culture = value;\r\n }\r\n\r\n getCulture() {\r\n return this.Culture;\r\n }\r\n\r\n setValidationsDateOptions(value: any) {\r\n this.ValidationsDateOptions = value;\r\n }\r\n\r\n getValidationsDateOptions() {\r\n return this.ValidationsDateOptions;\r\n }\r\n\r\n setDateformat(value: any) {\r\n this.Dateformat = value;\r\n }\r\n\r\n getDateformat() {\r\n return this.Dateformat;\r\n }\r\n\r\n setDateformatValue(value: any) {\r\n this.DateformatValue = value;\r\n }\r\n\r\n getDateformatValue() {\r\n return this.DateformatValue;\r\n }\r\n\r\n setDefaultControlStyles(value: any) {\r\n this.defaultControlStyles = value;\r\n }\r\n\r\n getDefaultControlStyles() {\r\n return this.defaultControlStyles;\r\n }\r\n\r\n setIntializePrepareDetails(key: any, value: any) {\r\n this.intializePrepareDetails[key] = value;\r\n }\r\n\r\n getIntializePrepareDetails() {\r\n return this.intializePrepareDetails;\r\n }\r\n\r\n setDisableTabOptions(value: any) {\r\n this.disableTabOptions = value;\r\n }\r\n\r\n getDisableTabOptions() {\r\n return this.disableTabOptions;\r\n }\r\n\r\n setAllImagesProcessed(value: any) {\r\n this.allImagesProcessed = value;\r\n }\r\n\r\n getAllImagesProcessed() {\r\n return this.allImagesProcessed;\r\n }\r\n\r\n setAllImagesArray(value: any) {\r\n this.allImagesArray = value;\r\n }\r\n\r\n getAllImagesArray() {\r\n return this.allImagesArray;\r\n }\r\n\r\n setIsEnvelopeEditable(value: any) {\r\n this.isEnvelopeEditable = value;\r\n }\r\n\r\n getIsEnvelopeEditable() {\r\n return this.isEnvelopeEditable;\r\n }\r\n\r\n setEnableDependenciesFeature(value: any) {\r\n this.enableDependenciesFeature = value;\r\n }\r\n\r\n getEnableDependenciesFeature() {\r\n return this.enableDependenciesFeature;\r\n }\r\n\r\n setDisplayMessage(value: any) {\r\n this.displayMessage = value;\r\n }\r\n\r\n getDisplayMessage() {\r\n return this.displayMessage;\r\n }\r\n\r\n setCurrentClickedDroppedControl(value: any) {\r\n this.currentClickedDroppedControl = value;\r\n }\r\n\r\n getCurrentClickedDroppedControl() {\r\n return this.currentClickedDroppedControl;\r\n }\r\n\r\n setArrCopyPasteCtrl(value: any) {\r\n this.arrCopyPasteCtrl = value;\r\n }\r\n\r\n getArrCopyPasteCtrl() {\r\n return this.arrCopyPasteCtrl;\r\n }\r\n\r\n setArrUndoRedoCtrl(value: any) {\r\n this.arrUndoRedoCtrl = value;\r\n }\r\n\r\n getArrUndoRedoCtrl() {\r\n return this.arrUndoRedoCtrl;\r\n }\r\n\r\n setArrCopyPasteCtrlsTemp(value: any) {\r\n this.arrCopyPasteCtrlsTemp = value;\r\n }\r\n\r\n getArrCopyPasteCtrlsTemp() {\r\n return this.arrCopyPasteCtrlsTemp;\r\n }\r\n\r\n setIsCopiedSelecteditems(value: any) {\r\n this.isCopiedSelecteditems = value;\r\n }\r\n\r\n getIsCopiedSelecteditems() {\r\n return this.isCopiedSelecteditems;\r\n }\r\n\r\n setAllImageControls(value: any) {\r\n this.allImageControls = value;\r\n }\r\n\r\n getAllImageControls() {\r\n return this.allImageControls;\r\n }\r\n\r\n setControlDependencyFieldsArray(value: any) {\r\n this.controlDependencyFieldsArray = value;\r\n }\r\n\r\n getControlDependencyFieldsArray() {\r\n return this.controlDependencyFieldsArray;\r\n }\r\n\r\n setControlPageGuidNumArray(value: any) {\r\n this.controlPageGuidNumArray = value;\r\n }\r\n\r\n getControlPageGuidNumArray() {\r\n return this.controlPageGuidNumArray;\r\n }\r\n\r\n setIsSendEnvelope(value: any) {\r\n this.isSendEnvelope = value;\r\n }\r\n\r\n getIsSendEnvelope() {\r\n return this.isSendEnvelope;\r\n }\r\n\r\n setUserPlanDetails(key: any, value: any) {\r\n this.userPlanDetails[key] = value;\r\n }\r\n\r\n getUserPlanDetails() {\r\n return this.userPlanDetails;\r\n }\r\n\r\n setSelecteditemsLength(value: any) {\r\n this.selecteditemsLength = value;\r\n }\r\n\r\n getSelecteditemsLength() {\r\n return this.selecteditemsLength;\r\n }\r\n\r\n setArrUndoCtrlsCount(value: any) {\r\n this.arrUndoCtrlsCount = value;\r\n }\r\n\r\n getArrUndoCtrlsCount() {\r\n return this.arrUndoCtrlsCount;\r\n }\r\n\r\n setCurrentPagination(value: any) {\r\n this.currentPagination = value;\r\n }\r\n\r\n getCurrentPagination() {\r\n return this.currentPagination;\r\n }\r\n\r\n setClickedSignMeOut(value: any) {\r\n this.clickedSignMeOut = value;\r\n }\r\n\r\n getClickedSignMeOut() {\r\n return this.clickedSignMeOut;\r\n }\r\n\r\n setUserDetails(value: any) {\r\n this.userDetails = value;\r\n }\r\n\r\n getUserDetails() {\r\n return this.userDetails;\r\n }\r\n\r\n setDependCtrlMoved(value: any) {\r\n this.dependCtrlMoved = value;\r\n }\r\n\r\n getDependCtrlMoved() {\r\n return this.dependCtrlMoved;\r\n }\r\n\r\n setRecipientDetails(value: any) {\r\n this.recipientDetails = value;\r\n }\r\n\r\n getRecipientDetails() {\r\n return this.recipientDetails;\r\n }\r\n\r\n setRecipientColorDetails(value: any) {\r\n this.recipientColorDetails = value;\r\n }\r\n\r\n getRecipientColorDetails() {\r\n return this.recipientColorDetails;\r\n }\r\n\r\n setTokenDetails(value: any) {\r\n this.userDetails = value;\r\n }\r\n\r\n setDashBoardDetailed(value: any) {\r\n this.dashBoardDetails = value;\r\n }\r\n\r\n getDashBoardDetailed() {\r\n return this.dashBoardDetails;\r\n }\r\n getUserSettings(){\r\n return this.userSettings;\r\n }\r\n\r\n setUserSettings(value: any){\r\n this.userSettings = value;\r\n }\r\n\r\n}\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable, catchError, map, of } from 'rxjs';\r\nimport { ApiUrlConfig } from '../constants/common-apiurls';\r\nimport { ServicesError } from './services.error';\r\nimport { environment } from 'src/environments/environment';\r\nimport { SessionStorageService } from '../services/session-storage.service';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\tbaseUrl = environment.apiBaseUrl;\r\n\r\n\tconstructor(\r\n\t\tprivate http: HttpClient,\r\n\t\tprivate error: ServicesError,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) { }\r\n\r\n\tvalidateToken(authToken: any) {\r\n\t\tlet userPrepareUrl: any = { 'PrepareUrl': authToken };\r\n\t\tconst headers = new HttpHeaders({ 'Content-Type': 'application/json' });\r\n\t\treturn this.http.post(this.baseUrl + ApiUrlConfig.DecryptValidateTokenUrl, userPrepareUrl, { headers }).pipe(catchError(this.error.handleError));\r\n\t}\r\n\r\n\tsetEnvelopeTokenDetails(authToken: string, prepareType: string, envelopeOrTemplateId: string): void {\r\n\t\tlocalStorage.setItem('Token', authToken);\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('Token', authToken);\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('PrepareType', prepareType);\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('EnvelopeOrTemplateId', envelopeOrTemplateId);\r\n\t}\r\n\r\n\tsetUserDetails(userInfo: any): void {\r\n\t\tthis.sessionStorageService.setUserDetails(JSON.stringify(userInfo));\r\n\t}\r\n\r\n\tgetUserDetails() {\r\n\t\tlet userInfo: any = this.sessionStorageService.getUserDetails();\r\n\t\tif (userInfo) {\r\n\t\t\treturn JSON.parse(userInfo);\r\n\t\t}\r\n\t}\r\n\r\n\tgetDetails() {\r\n\t\tlet tokendata: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tlet details: any = { \"token\": tokendata.Token, \"prepareType\": tokendata.PrepareType, \"envelopeOrTemplateId\": tokendata.EnvelopeOrTemplateId };\r\n\t\treturn JSON.stringify(details);\r\n\t}\r\n\r\n\tgetToken() {\r\n\t\tlet envelopeTokenDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (envelopeTokenDetails) { return envelopeTokenDetails.Token; }\r\n\t}\r\n\r\n\tsetEnvelopeOrTemplateDetails(resp: any) {\r\n\t\tlocalStorage.setItem(\"envelopeOrTemplateDetails\", JSON.stringify(resp));\r\n\t}\r\n\r\n\tgetEnvelopeOrTemplateDetails() {\r\n\t\tlet envelopeOrTemplateDetails: any = localStorage.getItem(\"envelopeOrTemplateDetails\");\r\n\t\tif (envelopeOrTemplateDetails) return envelopeOrTemplateDetails;\r\n\t}\r\n\r\n\tsetRecipientDetails(recpDetails: any) {\r\n\t\tthis.sessionStorageService.setRecipientDetails(JSON.stringify(recpDetails));\r\n\t}\r\n\r\n\tgetRecipientDetails() {\r\n\t\tlet recipientDetails: any = this.sessionStorageService.getRecipientDetails();\r\n\t\tif (recipientDetails) return recipientDetails;\r\n\t}\r\n\r\n\tsetRecipientColorDetails(recpColorDetails: any) {\r\n\t\tthis.sessionStorageService.setRecipientColorDetails(JSON.stringify(recpColorDetails));\r\n\t}\r\n\r\n\tgetRecipientColorDetails() {\r\n\t\tlet recpColorDetails: any = this.sessionStorageService.getRecipientColorDetails();\r\n\t\tif (recpColorDetails) return recpColorDetails;\r\n\t}\r\n\r\n\tsetLanguageKeyTranslations(languageKeyTranslations: any): void {\r\n\t\tsessionStorage.setItem(\"LanguageTransalation\", JSON.stringify(languageKeyTranslations));\r\n\t}\r\n\r\n\tisTokenExists() {\r\n\t\tlet tokenInfo = localStorage.getItem('Token');\r\n\t\tif (tokenInfo && tokenInfo != \"\" && tokenInfo != undefined && tokenInfo != \"undefined\" && tokenInfo != null && tokenInfo != \"null\") return \"true\";\r\n\t\telse return \"false\";\r\n\t}\r\n\tsetUserSettings(userSettingsObj: any): void {\r\n this.sessionStorageService.setUserSettings(JSON.stringify(userSettingsObj));\r\n }\r\n\r\n getUserSettings() {\r\n let userSettingsObj: any = this.sessionStorageService.getUserSettings();\r\n if (userSettingsObj) {\r\n return JSON.parse(userSettingsObj);\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n","import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ServicesError } from './services.error';\r\nimport { ApiUrlConfig } from '../constants/common-apiurls';\r\nimport { CommonConstants } from '../constants/common-constants';\r\nimport { AuthService } from './auth.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class APIService {\r\n baseUrl = environment.apiBaseUrl;\r\n\r\n constructor(private http: HttpClient, private error: ServicesError, private authService: AuthService) { }\r\n\r\n get requestOptions() {\r\n return {\r\n headers: new HttpHeaders({\r\n 'Authorization': CommonConstants.TokenType + this.authService.getToken(), \r\n 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Accept': 'application/json;'\r\n })\r\n };\r\n }\r\n\r\n get(url: any) {\r\n return this.http.get(this.baseUrl + url, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n viewPdf(apiEnvelopeControls: any) {\r\n let viewPdfUrl = ApiUrlConfig.ViewPdf;\r\n return this.http.post(this.baseUrl + viewPdfUrl, apiEnvelopeControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n SendEnvelope(apiEnvelopeControls: any) {\r\n let sendEnvelopeUrl = ApiUrlConfig.SendEnvelope;\r\n return this.http.post(this.baseUrl + sendEnvelopeUrl, apiEnvelopeControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n delete(url: any) {\r\n return this.http.delete(this.baseUrl + url, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n SaveAsDraftEnvelope(apiEnvelopeControls: any) {\r\n let saveAsDraftEnvelopeUrl = ApiUrlConfig.SaveAsDraftEnvelope;\r\n return this.http.post(this.baseUrl + saveAsDraftEnvelopeUrl, apiEnvelopeControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n GetRefreshToken(tokenModel: any) {\r\n let getRefreshTokenUrl = ApiUrlConfig.RefreshToken;\r\n return this.http.post(this.baseUrl + getRefreshTokenUrl, tokenModel, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n OpenEnvelope(apiEnvelopeControls: any) {\r\n let openEnvelopeUrl = ApiUrlConfig.OpenEnvelope;\r\n return this.http.post(this.baseUrl + openEnvelopeUrl, apiEnvelopeControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n getRedirectURL(url: any) {\r\n const headers = new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n })\r\n return this.http.get(url, { headers }).pipe(\r\n catchError(this.error.handleError)\r\n );\r\n }\r\n\r\n saveSettings(SettingsPrepareModal: any) {\r\n let saveSettingsUrl = ApiUrlConfig.SaveDefaultSettings;\r\n return this.http.post(this.baseUrl + saveSettingsUrl, SettingsPrepareModal, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n SaveTemplateRuleUrl(apiTemplateControls:any){\r\n let SaveTemplateRuleUrl=ApiUrlConfig.SaveAsTemplate;\r\n return this.http.post(this.baseUrl + SaveTemplateRuleUrl, apiTemplateControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n viewTemplatePdf(apiEnvelopeControls: any) {\r\n let viewPdfUrl = ApiUrlConfig.ViewTemplatePdf;\r\n return this.http.post(this.baseUrl + viewPdfUrl, apiEnvelopeControls, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n getBrandingDetails(companyId: any) {\r\n let openEnvelopeUrl = ApiUrlConfig.GetMultibrandingByCompanyId;\r\n const params = new HttpParams().set('companyId', companyId);\r\n return this.http.get(this.baseUrl + openEnvelopeUrl, { params })\r\n .pipe(catchError(this.error.handleError));\r\n }\r\n\r\n post(url: any, reqObj:any ) {\r\n return this.http.post(this.baseUrl + url, reqObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { APIService } from './api.service';\r\nimport { ApiUrlConfig } from '../constants/common-apiurls';\r\nimport { AuthService } from './auth.service';\r\nimport { Translations } from '../constants/translations';\r\nimport { SessionStorageService } from './session-storage.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TranslationService {\r\n laungaueTransalation = [];\r\n translationsConstants = Translations;\r\n constructor(private router: Router, private apiService: APIService, private authService: AuthService,\r\n private sessionStorageService: SessionStorageService) { }\r\n\r\n getLanguageTranslationVal(resourceKeyId: any) {\r\n // if (this.laungaueTransalation != null && this.laungaueTransalation.length > 0) {\r\n // return this.laungaueTransalation[resourceKeyId.toLowerCase()];\r\n // }\r\n // else {\r\n // let sessionLanguageTransalationTranslation: any = sessionStorage.getItem(\"LanguageTransalation\");\r\n // if (sessionLanguageTransalationTranslation != null) {\r\n // this.laungaueTransalation = JSON.parse(sessionLanguageTransalationTranslation);\r\n // if (this.laungaueTransalation != null) {\r\n // return this.laungaueTransalation[resourceKeyId.toLowerCase()];\r\n // }\r\n // else return '';\r\n // }\r\n // else {\r\n // return this.getLanguageTranslations(resourceKeyId);\r\n // }\r\n // }\r\n\r\n return this.translationsConstants.TranslationsObj[resourceKeyId.toLowerCase()];\r\n }\r\n\r\n getLanguageTranslations(resourceKeyId: any) {\r\n if (sessionStorage.getItem('LanguageTransalation') == null || sessionStorage.getItem('LaungaueTransalation') == undefined) {\r\n let culture: any = \"en-us\";\r\n let userDetails: any = this.authService.getUserDetails();\r\n if (userDetails && userDetails != '' && userDetails != null && userDetails.languageCode != '' && userDetails.languageCode != null)\r\n culture = userDetails.languageCode;\r\n\r\n let getLanguageTranslationsUrl = ApiUrlConfig.GetLanguageTranslationsUrl + \"?languageCode=\" + culture;\r\n this.apiService.get(getLanguageTranslationsUrl).subscribe(\r\n (resp: any) => {\r\n if (resp && resp.success == 200) {\r\n if (resp.languageKeyDetails != null) {\r\n this.authService.setLanguageKeyTranslations(resp.languageKeyDetails);\r\n return resp.languageKeyDetails[resourceKeyId.toLowerCase()];\r\n }\r\n }\r\n })\r\n }\r\n }\r\n\r\n}\r\n","import { ElementRef, Injectable } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport { CommonConstants, NavigateURLS } from '../constants/common-constants';\r\nimport { TranslationService } from 'src/app/services/translation.service';\r\nimport * as CryptoJS from 'crypto-js';\r\nimport { environment } from 'src/environments/environment';\r\nimport { NavigateUrlConfig } from '../constants/common-apiurls';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CommonService {\r\n commonConstants = CommonConstants;\r\n ControlListArr: any = this.commonConstants.ControlListArr;\r\n private previewObjectSubject = new Subject();\r\n previewObject$ = this.previewObjectSubject.asObservable();\r\n redirectUrl: any = \"\";\r\n //private getDisplayStyleCached: { [key: string]: any } = {};\r\n\r\n private _previewObject: any = {};\r\n selectedItems: any[] = [];\r\n\r\n private callParentShowControlFieldsSubject = new Subject<{ event: any; data: any; }>();\r\n callParentShowControlFields$ = this.callParentShowControlFieldsSubject.asObservable();\r\n\r\n private callOnRecipentChangeSubject = new Subject();\r\n callOnRecipentChange$ = this.callOnRecipentChangeSubject.asObservable();\r\n\r\n private callRemoveControlComponentSubject = new Subject<{ data: any; label: any; }>();\r\n callRemoveControlComponent$ = this.callRemoveControlComponentSubject.asObservable();\r\n\r\n private callOpenDependencyPopupSubject = new Subject();\r\n callOpenDependencyPopup$ = this.callOpenDependencyPopupSubject.asObservable();\r\n\r\n private setTextOrNameAreaSettingSubject = new Subject();\r\n setTextOrNameAreaSetting$ = this.setTextOrNameAreaSettingSubject.asObservable();\r\n\r\n private callOnMouseOverRecipentChangeSubject = new Subject();\r\n callOnMouseOverRecipentChange$ = this.callOnMouseOverRecipentChangeSubject.asObservable();\r\n\r\n private callOpenCreateDuplicateControlSubject = new Subject();\r\n callOpenCreateDuplicateControl$ = this.callOpenCreateDuplicateControlSubject.asObservable();\r\n\r\n private callUpdateSignerMultipleControlsSubject = new Subject();\r\n callUpdateSignerMultipleControl$ = this.callUpdateSignerMultipleControlsSubject.asObservable();\r\n\r\n //right click,\r\n private selectedRightClickOptionSubject = new Subject<{ data: any; label: any; }>();\r\n selectedRightClickOption$ = this.selectedRightClickOptionSubject.asObservable();\r\n\r\n private callDependencyPopupSubject = new Subject();\r\n callDependencyPopupFields$ = this.callDependencyPopupSubject.asObservable();\r\n\r\n private callAddDependentFieldRowSubject = new Subject();\r\n callAddDependentFields$ = this.callAddDependentFieldRowSubject.asObservable();\r\n\r\n private callMultiDocumentsPreviewSubject = new Subject();\r\n callMultiDocumentsPreview$ = this.callMultiDocumentsPreviewSubject.asObservable();\r\n\r\n private getLabelTranslationValCached: { [key: string]: any } = {};\r\n\r\n private getImageDispalyValCached: { [key: string]: any } = {};\r\n\r\n private getDisableNavBtnsSubject = new Subject();\r\n getDisableNavBtns$ = this.getDisableNavBtnsSubject.asObservable();\r\n\r\n private updateHeaderSubject = new Subject();\r\n updateHeaderSubject$ = this.updateHeaderSubject.asObservable();\r\n\r\n private openContextMenuListSubject = new Subject<{ data: any; nav: any; }>();\r\n openContextMenuList$ = this.openContextMenuListSubject.asObservable();\r\n\r\n private removeBorderAppendChildSubject = new Subject();\r\n removeBorderAppendChild$ = this.removeBorderAppendChildSubject.asObservable();\r\n private _navRef: ElementRef | undefined;\r\n\r\n constructor(private translationService: TranslationService, private toastrService: ToastrService) { }\r\n\r\n get previewObject(): any {\r\n return this._previewObject;\r\n }\r\n\r\n updatePrevObject(updatedObject: any): void {\r\n this._previewObject = { ...this._previewObject, ...updatedObject };\r\n this.previewObjectSubject.next(this._previewObject);\r\n }\r\n\r\n callDependencyPopupFields(data: any) {\r\n this.callDependencyPopupSubject.next(data);\r\n }\r\n\r\n callAddDependentFields(data: any) {\r\n this.callAddDependentFieldRowSubject.next(data);\r\n }\r\n\r\n callParentShowControlFields(event: any, data: any) {\r\n this.callParentShowControlFieldsSubject.next({ event: event, data: data });\r\n }\r\n\r\n callRemoveControlComponent(data: any, label: any) {\r\n this.callRemoveControlComponentSubject.next({ data: data, label: label });\r\n }\r\n\r\n callOpenDependencyPopup(data: any) {\r\n this.callOpenDependencyPopupSubject.next(data);\r\n }\r\n\r\n callOpenCreateDuplicateControl(data: any) {\r\n this.callOpenCreateDuplicateControlSubject.next(data);\r\n }\r\n\r\n callUpdateSignerMultipleControls() {\r\n this.callUpdateSignerMultipleControlsSubject.next();\r\n }\r\n\r\n GenerateMaskedEmail(emailAddr: any) {\r\n let emailArray = emailAddr.split('@');\r\n let arrayfirstPartstr = emailArray[0];\r\n let arraylastPaststr = emailArray[1];\r\n\r\n var firstDigits = arrayfirstPartstr.substring(0, 3);\r\n var maskedString1 = firstDigits + \"***\" + \"@\";\r\n\r\n let lastDotPosition = arraylastPaststr.lastIndexOf('.');\r\n let firstLastPart = arraylastPaststr.substring(0, lastDotPosition);\r\n let firstLastPartDigits = firstLastPart.substring(0, 3);\r\n var maskedString2 = firstLastPartDigits + \"***\";\r\n\r\n let lastPart = arraylastPaststr.substring(lastDotPosition + 1);\r\n let maskedString3 = maskedString1 + maskedString2 + \".\" + lastPart;\r\n return maskedString3;\r\n }\r\n\r\n redirectTo(type: any) {\r\n switch (type) {\r\n case \"Features\":\r\n window.open(\"https://rsign.com/product/electronic-signature\", \"_blank\");\r\n break;\r\n case \"CustomerSuccess\":\r\n window.open(\"https://rsign.com/customer-success\", \"_blank\");\r\n break;\r\n case \"Webinars\":\r\n window.open(\"https://rsign.com/webinars\", \"_blank\");\r\n break;\r\n case \"Videos\":\r\n window.open(\"https://rsign.com/product-video-playlist\", \"_blank\");\r\n break;\r\n case \"Apps\":\r\n window.open(\"https://rsign.com/apps\", \"_blank\");\r\n break;\r\n case \"Blogs\":\r\n window.open(\"https://rsign.com/blog\", \"_blank\");\r\n break;\r\n case \"News\":\r\n window.open(\"https://rsign.com/news\", \"_blank\");\r\n break;\r\n case \"ContactUs\":\r\n window.open(\"https://rsign.com/contact/questions\", \"_blank\");\r\n break;\r\n case \"Support\":\r\n window.open(\"https://support.rpost.com/hc/en-us\", \"_blank\");\r\n break;\r\n }\r\n }\r\n\r\n callOnRecipentChange(data: any) {\r\n this.callOnRecipentChangeSubject.next(data);\r\n }\r\n\r\n callOnMouseOverRecipentChange(recipentObj: any) {\r\n this.callOnMouseOverRecipentChangeSubject.next(recipentObj);\r\n }\r\n\r\n generateUUID() {\r\n var d = new Date().getTime();\r\n if (window.performance && typeof window.performance.now === \"function\") {\r\n d += performance.now();; //use high-precision timer if available\r\n }\r\n var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n var r = (d + Math.random() * 16) % 16 | 0;\r\n d = Math.floor(d / 16);\r\n return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16);\r\n });\r\n return uuid;\r\n };\r\n\r\n getId() {\r\n return Math.round(1 + Math.floor(Math.random() * 100000));\r\n }\r\n\r\n getControlName(ctrlName: any, ctrlClassName: any) {\r\n if (this.ControlListArr && this.ControlListArr.length) {\r\n let controlListArrayObj: any[] = this.ControlListArr.filter((c: any) => c && c.ControlClassName && c.ControlClassName.toLowerCase() == ctrlClassName && ctrlClassName.toLowerCase());\r\n if (controlListArrayObj && controlListArrayObj.length && controlListArrayObj.length > 0) {\r\n return controlListArrayObj[0].ControlName;\r\n }\r\n }\r\n }\r\n\r\n getControlNameBasedOnGuid(guid: any) {\r\n let controlListArrayObj = this.ControlListArr.filter((c: any) => c.ControlId.toLowerCase() == guid.toLowerCase());\r\n if (controlListArrayObj.length > 0) {\r\n return controlListArrayObj[0].ControlName;\r\n }\r\n }\r\n\r\n getGuid(controlName: any, controlClassName: any) {\r\n let controlListArrayObj = this.ControlListArr.filter((c: any) => c.ControlClassName.toLowerCase() == controlClassName.toLowerCase());\r\n if (controlListArrayObj.length > 0) {\r\n return controlListArrayObj[0].ControlId;\r\n }\r\n else return \"\";\r\n }\r\n\r\n getTranslatedText(controlName: any, resourceKey: any) {\r\n return controlName;\r\n }\r\n\r\n getHoverControlText(controlString: any) {\r\n switch (controlString) {\r\n case \"Signature\":\r\n return \"Signature\";\r\n case \"Text\":\r\n return \"Text\";\r\n case \"Name\":\r\n return \"Name\";\r\n case \"Email\":\r\n return \"Email\";\r\n case \"Title\":\r\n return \"Title\";\r\n case \"Company\":\r\n return \"Company\";\r\n case \"Date\":\r\n return \"Date\";\r\n case \"Checkbox\":\r\n return \"Checkbox\";\r\n case \"Initials\":\r\n case \"NewInitials\":\r\n case \"newInitials\":\r\n return 'Initials'; //lang_initials;\r\n case \"Radio\":\r\n return \"Radio\";\r\n case \"DropDown\":\r\n return \"Dropdown\";\r\n case \"DateTimeStamp\":\r\n return 'Date & Time Stamp';\r\n case \"Hyperlink\":\r\n return \"Hyperlink\";\r\n }\r\n return controlString;\r\n }\r\n\r\n setTextOrNameAreaSetting(data: any) {\r\n this.setTextOrNameAreaSettingSubject.next(data);\r\n }\r\n\r\n selectedRightClickOption(data: any, label: any) {\r\n // console.log('selectedRightClickOption', data, label);\r\n this.selectedRightClickOptionSubject.next({ data: data, label: label });\r\n }\r\n\r\n setSelectedItems(selectedItems: any) {\r\n this.selectedItems = selectedItems;\r\n }\r\n\r\n getSelectedItems() {\r\n return this.selectedItems;\r\n }\r\n\r\n getLabelTranslationVal(resourceKeyId: any) {\r\n const key = resourceKeyId;\r\n if (!this.getLabelTranslationValCached[key]) {\r\n let transVal: any = this.getLabelTranslationValCompute(resourceKeyId);\r\n if (transVal && transVal != '') {\r\n this.getLabelTranslationValCached[key] = transVal;\r\n }\r\n }\r\n return this.getLabelTranslationValCached[key];\r\n }\r\n\r\n private getLabelTranslationValCompute(resourceKeyId: any) {\r\n return this.translationService.getLanguageTranslationVal(resourceKeyId);\r\n }\r\n\r\n redirect(url: string): void {\r\n window.location.href = url;\r\n }\r\n\r\n openInNewTab(url: string) {\r\n window.open(url, '_blank');\r\n }\r\n\r\n getDateFormat(day: any, month: any, year: any, df: any, dmonth: any) {\r\n var dateRetVal = null;\r\n switch (df) {\r\n case 'dd/mm/yyyy':case 'dd/mm/aaaa':\r\n dateRetVal = '' + day + '/' + month + '/' + year; // '01/09/2023'\r\n break;\r\n case 'mm/dd/yyyy':\r\n case 'mm/dd/aaaa':\r\n dateRetVal = '' + month + '/' + day + '/' + year; // '01/09/2023'\r\n break;\r\n case 'mm-dd-yyyy': case 'mm-dd-aaaa':\r\n dateRetVal = '' + month + '-' + day + '-' + year; //'01-09-2023'\r\n break;\r\n case 'mm.dd.yyyy': case 'mm.dd.aaaa':\r\n dateRetVal = '' + month + '.' + day + '.' + year; //'01.09.2023'\r\n break;\r\n case 'dd-mmm-yyyy': case 'dd-mmm-aaaa':\r\n let monthsArr = ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\r\n dateRetVal = '' + day + '-' + monthsArr[dmonth] + '-' + year;\r\n break;\r\n case 'dd-mm-yyyy': case 'dd-mm-aaaa':\r\n dateRetVal = '' + day + '-' + month + '-' + year;\r\n break;\r\n case 'dd.mm.yyyy': case 'dd.mm.aaaa':\r\n dateRetVal = '' + day + '.' + month + '.' + year;\r\n break;\r\n case 'yyyy.mm.dd.':case 'aaaa.mm.dd.':\r\n dateRetVal = '' + year + '.' + month + '.' + day + '.';\r\n break;\r\n case 'yyyy/mm/dd': case 'aaaa/mm/dd':\r\n dateRetVal = '' + year + '/' + month + '/' + day;\r\n break;\r\n }\r\n return dateRetVal;\r\n }\r\n\r\n callMultiDocumentsPreview(imgArr: any) {\r\n this.callMultiDocumentsPreviewSubject.next(imgArr);\r\n }\r\n\r\n getDisableNavBtns(data: any) {\r\n this.getDisableNavBtnsSubject.next(data);\r\n }\r\n\r\n updateHeader() {\r\n this.updateHeaderSubject.next();\r\n }\r\n\r\n encrypt(value: any) {\r\n let appKey = CommonConstants.AppKey;\r\n var key = CryptoJS.enc.Utf8.parse(appKey);\r\n var iv = CryptoJS.enc.Utf8.parse(appKey);\r\n var encrypted = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(value.toString()), key,\r\n {\r\n keySize: 128 / 8,\r\n iv: iv,\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7\r\n });\r\n\r\n return encrypted.toString();\r\n }\r\n\r\n decrypt(value: any) {\r\n let appKey = CommonConstants.AppKey;\r\n var key = CryptoJS.enc.Utf8.parse(appKey);\r\n var iv = CryptoJS.enc.Utf8.parse(appKey);\r\n var decrypted = CryptoJS.AES.decrypt(value, key, {\r\n keySize: 128 / 8,\r\n iv: iv,\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7\r\n });\r\n\r\n return decrypted.toString(CryptoJS.enc.Utf8);\r\n }\r\n\r\n generateDomainRediRectURL(sourceUrlType: any) {\r\n let redirectUrl: any = \"\";\r\n if (sourceUrlType && sourceUrlType != \"\") {\r\n if (sourceUrlType == \"1\") redirectUrl = NavigateURLS.Localhost;\r\n else if (sourceUrlType == \"2\") redirectUrl = NavigateURLS.ProdComURL;\r\n else if (sourceUrlType == \"3\") redirectUrl = NavigateURLS.ProdOrgURL;\r\n else if (sourceUrlType == \"4\") redirectUrl = NavigateURLS.ProdSFURL;\r\n else if (sourceUrlType == \"5\") redirectUrl = NavigateURLS.StagingURL;\r\n else if (sourceUrlType == \"6\") redirectUrl = NavigateURLS.StagingSFURL;\r\n else if (sourceUrlType == \"7\") redirectUrl = NavigateURLS.StagingIOURL;\r\n else if (sourceUrlType == \"8\") redirectUrl = NavigateURLS.StagingSFIOURL;\r\n else if (sourceUrlType == \"9\") redirectUrl = NavigateURLS.StagingSignURL;\r\n else if (sourceUrlType == \"10\") redirectUrl = NavigateURLS.ProdSFOrgURL;\r\n else redirectUrl = NavigateURLS.ProdComURL;\r\n }\r\n else redirectUrl = NavigateURLS.ProdComURL;\r\n return redirectUrl;\r\n }\r\n\r\n redirectToMainApp(sourceURL: any) {\r\n this.redirectUrl = sourceURL;\r\n\r\n // this.toastrService.info(CommonConstants.SessionTimedOutMsg, 'Attention');\r\n // setTimeout(() => {\r\n // if (this.redirectUrl == \"\") {\r\n // this.redirectUrl = environment.rsignUrl;\r\n // }\r\n // console.log(\"redirectUrl:\" + this.redirectUrl);\r\n // window.location.href = this.redirectUrl + NavigateUrlConfig.LogOn;\r\n // }, 1000);\r\n }\r\n\r\n removePaginationDisabledClass() {\r\n let paginationLoader: any = document.getElementsByClassName('spinner-border');\r\n if (paginationLoader && paginationLoader.length > 0) {\r\n Array.from(paginationLoader as HTMLCollectionOf).forEach((eleChild: any) => { eleChild.style.display = 'none'; })\r\n }\r\n\r\n let paginationContainer: any = document.getElementsByClassName('pagination-disabled');\r\n if (paginationContainer && paginationContainer.length > 0) {\r\n Array.from(paginationContainer as HTMLCollectionOf).forEach((eleChild: any) => { eleChild.classList.remove('pagination-disabled'); })\r\n }\r\n }\r\n\r\n addPaginationDisabledClass() {\r\n let paginationLoader: any = document.getElementsByClassName('spinner-border');\r\n if (paginationLoader && paginationLoader.length > 0) {\r\n Array.from(paginationLoader as HTMLCollectionOf).forEach((eleChild: any) => { eleChild.style.display = 'block'; })\r\n }\r\n\r\n let paginationContainer: any = document.getElementsByClassName('pagination-disabled');\r\n if (paginationContainer && paginationContainer.length > 0) {\r\n Array.from(paginationContainer as HTMLCollectionOf).forEach((eleChild: any) => { eleChild.classList.add('pagination-disabled'); })\r\n }\r\n }\r\n\r\n removeButtonDisabledClass() {\r\n setTimeout(() => {\r\n let disabledSendCtrl: any = document.getElementsByClassName(\"disabledSendCtrl\");\r\n if (disabledSendCtrl && disabledSendCtrl.length > 0) {\r\n Array.from(disabledSendCtrl as HTMLCollectionOf).forEach((eleChild: any) => {\r\n eleChild.classList.remove('disabledSendCtrl');\r\n })\r\n }\r\n\r\n let dropdownContenttemp: any = document.getElementsByClassName(\"dropdown-contenttemp\");\r\n if (dropdownContenttemp && dropdownContenttemp.length > 0) {\r\n Array.from(dropdownContenttemp as HTMLCollectionOf).forEach((eleChild: any) => {\r\n eleChild.style.display = '';\r\n })\r\n }\r\n }, 1500);\r\n }\r\n\r\n expandDropdownWidth(resizable_DropdownControlField:any, selectDropdownControlField:any, optionLongText:any){\r\n if (resizable_DropdownControlField?.classList.contains('expanded') == false) {\r\n let opnText: any = optionLongText;\r\n var fakeEl: any = document.createElement('pre');\r\n fakeEl.id = 'hdnTextArea';\r\n fakeEl.style.display = 'inline-block';\r\n fakeEl.style.visibility = 'hidden';\r\n fakeEl.textContent = opnText;\r\n fakeEl.style.fontFamily = 'Courier';\r\n fakeEl.style.fontSize = '14px';\r\n\r\n document.body.appendChild(fakeEl);\r\n\r\n let existingWidth: any = resizable_DropdownControlField.style['width'];\r\n if (existingWidth) existingWidth = existingWidth.replace('px', '');\r\n let drpWidth: any = fakeEl.offsetWidth;\r\n if (drpWidth > existingWidth) {\r\n var $fakeEl: any = document.createElement('pre');\r\n $fakeEl.id = 'hdnTextAreaPre';\r\n $fakeEl.style.fontFamily = 'Courier';\r\n $fakeEl.style.fontSize = '14px';\r\n $fakeEl.textContent = 'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWXYZ';\r\n $fakeEl.style.display = 'inline-block';\r\n $fakeEl.style.visibility = 'hidden';\r\n document.body.appendChild($fakeEl);\r\n\r\n var avgCharWidth = ($fakeEl.offsetWidth / $fakeEl.textContent.length);\r\n drpWidth = drpWidth + (2 * avgCharWidth);\r\n\r\n resizable_DropdownControlField.style['width'] = drpWidth + \"px\";\r\n resizable_DropdownControlField.style['min-width'] = drpWidth + \"px\";\r\n selectDropdownControlField.style['width'] = drpWidth + \"px\";\r\n selectDropdownControlField.style['min-width'] = drpWidth + \"px\";\r\n $fakeEl.remove();\r\n }\r\n resizable_DropdownControlField.classList.add('expanded');\r\n fakeEl.remove();\r\n }\r\n }\r\n\r\n openContextMenuList(data: any, nav: any) {\r\n this.openContextMenuListSubject.next({ data: data, nav: nav });\r\n }\r\n\r\n set navRef(ref: ElementRef | undefined) {\r\n this._navRef = ref;\r\n }\r\n\r\n get navRef(): ElementRef | undefined {\r\n return this._navRef;\r\n }\r\n\r\n private imageElement: ElementRef | null = null;\r\n\r\n setImageElement(element: ElementRef) {\r\n this.imageElement = element;\r\n }\r\n\r\n getImageElement(): ElementRef | null {\r\n return this.imageElement;\r\n }\r\n\r\n removeBorderAppendChild(){\r\n this.removeBorderAppendChildSubject.next();\r\n }\r\n\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { CommonConstants } from 'src/app/constants/common-constants';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n\tselector: 'app-control',\r\n\ttemplateUrl: './control.component.html',\r\n\tstyleUrls: ['./control.component.scss']\r\n})\r\nexport class ControlComponent {\r\n\t@Input() htmlContent: string = '';\r\n\t@Input() width: number = 100;\r\n\t@Input() height: number = 100;\r\n\t@Input() left: number = 0;\r\n\t@Input() top: number = 0;\r\n\t@Input() minwidth: number = 100;\r\n\t@Input() placeholder: any;\r\n\t@Input() ctrlObj: any = {};\r\n\tmouse!: { x: number; y: number; };\r\n\tcommonConstants = CommonConstants;\r\n\r\n\tconstructor(private commonService: CommonService) { }\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.ctrlObj = this.ctrlObj;\r\n\t}\r\n\r\n\tgetControllingFieldClass(dataGuid:any) {\r\n\t\tlet controllingFieldClass = \"nonControllingField\";\r\n\t\tlet controllingFieldArray:any[] = this.commonConstants.controllingFieldArray;\r\n\t\tlet controllingArrayObj:any[] = [];\r\n\r\n\t\tif(controllingFieldArray && controllingFieldArray.length){\r\n\t\t\tcontrollingArrayObj = controllingFieldArray.filter((c: any) => c && c.toLowerCase() === (dataGuid && dataGuid.toLowerCase()));\r\n\t\t}\r\n\r\n\t\tif (controllingArrayObj && controllingArrayObj.length > 0) {\r\n\t\t\tcontrollingFieldClass = \"controllingField\";\r\n\t\t}\r\n\r\n\t\tif(controllingArrayObj && controllingArrayObj.length > 0 && controllingArrayObj[0] && controllingArrayObj[0].toLowerCase() == \"de56e81a-89ae-4d1b-8194-37d9a68a5191\" ){\r\n\t\t\tcontrollingFieldClass = \"controllingField dropdownItem\";\r\n\t\t}\r\n\t\treturn controllingFieldClass;\r\n\t}\r\n\r\n\tgetControlName(ctrlName: any, className:any){\r\n\t\treturn this.commonService.getControlName(ctrlName, className);\r\n\t}\r\n}\r\n","
\r\n \r\n
\r\n","
\r\n\t
\r\n\t\t
\r\n\t\t\tDropdown List\r\n\t\t
\r\n\t\t
\r\n\t\t\tclose\r\n\t\t
\r\n\t
\r\n\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\tadd_box\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tdrag_indicator\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{{ list.option }}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tclear\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tdelete_outline\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tsave\r\n\t\t\t\t\t\t\t\t\tdelete_outline\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\t\r\n
\r\n","import { Component, ElementRef, EventEmitter, HostListener, Input, Output, ViewChild, AfterViewInit, ViewChildren, QueryList, } from '@angular/core';\r\nimport { moveItemInArray, CdkDragDrop } from '@angular/cdk/drag-drop';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n\tselector: 'app-add-dropdown-list',\r\n\ttemplateUrl: './add-dropdown-list.component.html',\r\n\tstyleUrls: ['./add-dropdown-list.component.scss']\r\n})\r\nexport class AddDropdownListComponent {\r\n\t@Input() dropdownListObj: any = {};\r\n\t@Output() dropdownListChangesMade: EventEmitter = new EventEmitter();\r\n\t@ViewChild(\"controlFocus\") inputControl: ElementRef;\r\n\t// @ViewChild('userName') userName: ElementRef;\r\n\t@ViewChildren('userName') searchInput: QueryList;\r\n\r\n\tdropDownList: any[] = [];\r\n\tinputValue: string = '';\r\n\tfinalCurrentControlDropDownOptions: any;\r\n\tdropDownListOptions: any[] = [];\r\n\tcurrentDropDownControlId: any;\r\n\r\n\tconstructor(\r\n\t\tpublic modalRef: BsModalRef,\r\n\t\tprivate toastrService: ToastrService,\r\n\t\tprivate commonService: CommonService\r\n\t) { }\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.dropdownListObj) {\r\n\t\t\tthis.currentDropDownControlId = this.dropdownListObj.currentDropDownControlId;\r\n\t\t}\r\n\t\tif (this.dropdownListObj && this.dropdownListObj.option && this.dropdownListObj.option !== '' && Array.isArray(this.dropdownListObj.option)) {\r\n\t\t\tfor (let index = 0; index < this.dropdownListObj.option.length; index++) {\r\n\t\t\t\tconst element = this.dropdownListObj.option[index];\r\n\t\t\t\tthis.dropDownList.push({ option: element.value, editMode: false, editValue: '',ruleId: element.ruleId });\r\n\t\t\t}\r\n\t\t}\r\n\t\tlet element: any = (document.getElementById('dropDownItemList')) as HTMLSelectElement;\r\n\t\telement.classList.add(\"mystyle\");\r\n\t\telement.focus();\r\n\t\tif (this.inputControl && this.inputControl.nativeElement) {\r\n\t\t\tthis.inputControl.nativeElement.focus();\r\n\t\t}\r\n\t}\r\n\t// ngAfterViewInit() {\r\n\t// \tthis.userName.nativeElement.focus();\r\n\t// }\r\n\r\n\t@HostListener('window:load')\r\n\tonLoad() {\r\n\t\tlet element1: any = (document.getElementById('dropDownItemList')) as HTMLSelectElement;\r\n\t\telement1.setAttribute(\"autofocus\", \"\");\r\n\t}\r\n\r\n\taddOption() {\r\n\t\tif (this.inputValue.trim() !== '') {\r\n\t\t\tif (this.dropDownList && this.dropDownList.length > 0) {\r\n\t\t\t\tlet arrayObj: any = this.dropDownList.filter((obj: any) => obj.option.toLowerCase() == this.inputValue.toLowerCase());\r\n\t\t\t\tif (arrayObj && arrayObj.length > 0) {\r\n\t\t\t\t\tthis.showWarning('Value already exists.', 'Warning'); return false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlet element1: any = (document.getElementById('dropDownItemList')) as HTMLSelectElement;\r\n\t\t\telement1.setAttribute(\"autofocus\", \"true\");\r\n\t\t\telement1.focus();\r\n\r\n\t\t\tthis.dropDownList.push({ option: this.inputValue.trim(), editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\tthis.inputValue = ''; // Clear the input field\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.showWarning('Please provide a value', 'Warning'); return false;\r\n\t\t}\r\n\t}\r\n\r\n\tdeleteOption(option: any): void {\r\n\t\t// Find the index of the option in the array\r\n\t\tconst index = this.dropDownList.indexOf(option);\r\n\r\n\t\t// Check if the option is found\r\n\t\tif (index !== -1) {\r\n\t\t\t// Remove the option from the array\r\n\t\t\tthis.dropDownList.splice(index, 1);\r\n\t\t}\r\n\t}\r\n\r\n\tenableEditMode(list: any): void {\r\n\t\tlist.editMode = true;\r\n\t\tlist.editValue = list.option;\r\n\t}\r\n\r\n\tsaveOption(list: any): void {\r\n\t\tif (list.editValue != '') {\r\n\t\t\tlist.option = list.editValue;\r\n\t\t\tlist.editMode = false;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.showWarning('Please provide a value', 'Warning');\r\n\t\t}\r\n\t}\r\n\r\n\tcancelEdit(list: any): void {\r\n\t\tlist.editMode = false;\r\n\t}\r\n\r\n\tonSave(obj: any) {\r\n\t\tif (this.dropDownList && this.dropDownList.length > 0) {\r\n\t\t\tlet optionArray: any = [];\r\n\t\t\tthis.dropDownListOptions = [];\r\n\t\t\tfor (let index = 0; index < this.dropDownList.length; index++) {\r\n\t\t\t\tlet element: any = this.dropDownList[index];\r\n\t\t\t\telement.ruleId = (element.ruleId != null && element.ruleId != \"\") ? element.ruleId : this.commonService.generateUUID();\r\n\t\t\t\tthis.dropDownListOptions.push({ optionVal: element.option, id: element.ruleId });\r\n\t\t\t\toptionArray.push(element.option);\r\n\t\t\t}\r\n\r\n\t\t\toptionArray = optionArray.sort((a: any, b: any) => a.length < b.length ? 1 : -1);\r\n\r\n\t\t\tthis.finalCurrentControlDropDownOptions = {\r\n\t\t\t\tcontrolId: this.currentDropDownControlId,\r\n\t\t\t\tdropDownListOptions: this.dropDownListOptions,\r\n\t\t\t\toptionLongText: optionArray && optionArray.length > 0 ? optionArray[0] : ''\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tthis.dropDownListOptions = [];\r\n\t\t\tthis.finalCurrentControlDropDownOptions = {\r\n\t\t\t\tcontrolId: this.currentDropDownControlId,\r\n\t\t\t\tdropDownListOptions: this.dropDownListOptions,\r\n\t\t\t\toptionLongText: ''\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.dropdownListChangesMade.emit(this);\r\n\t\tthis.modalRef.hide();\r\n\t}\r\n\r\n\tonClose() {\r\n\t\tif (this.dropdownListObj && this.dropdownListObj.option.length > 0) {\r\n\t\t\tlet optionArray: any = [];\r\n\t\t\tthis.dropDownListOptions = [];\r\n\t\t\tfor (let index = 0; index < this.dropdownListObj.option.length; index++) {\r\n\t\t\t\tlet element: any = this.dropdownListObj.option[index];\r\n\t\t\t\telement.ruleId = (element.ruleId != null && element.ruleId != \"\") ? element.ruleId : this.commonService.generateUUID();\r\n\t\t\t\tthis.dropDownListOptions.push({ optionVal: element.value, id: element.ruleId });\r\n\t\t\t\toptionArray.push(element.option);\r\n\t\t\t}\r\n\r\n\t\t\toptionArray = optionArray.sort((a: any, b: any) => a.length < b.length ? 1 : -1);\r\n\r\n\t\t\tthis.finalCurrentControlDropDownOptions = {\r\n\t\t\t\tcontrolId: this.currentDropDownControlId,\r\n\t\t\t\tdropDownListOptions: this.dropDownListOptions,\r\n\t\t\t\toptionLongText: optionArray && optionArray.length > 0 ? optionArray[0] : ''\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tthis.dropDownListOptions = [];\r\n\t\t\tthis.finalCurrentControlDropDownOptions = {\r\n\t\t\t\tcontrolId: this.currentDropDownControlId,\r\n\t\t\t\tdropDownListOptions: this.dropDownListOptions,\r\n\t\t\t\toptionLongText: ''\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.dropdownListChangesMade.emit(this);\r\n\t\tthis.modalRef.hide();\r\n\t}\r\n\r\n\tdrop(event: CdkDragDrop): void {\r\n\r\n\t\tlet controlEle1: any = (document.getElementById('resizable_' + this.currentDropDownControlId))\r\n\t\tif (event.currentIndex == 0 && controlEle1.getAttribute('data-firstlineblank') == \"true\") {\r\n\r\n\t\t}\r\n\t\telse{\r\n\t\t\tmoveItemInArray(this.dropDownList, event.previousIndex, event.currentIndex);\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit() {\r\n\r\n\t}\r\n\r\n\tshowWarning(value:string, type:string){\r\n\t\tthis.toastrService.warning(value,type);\r\n\t}\r\n\r\n}\r\n","export class ResourceKeys {\r\n public static GeneralSettings: string = \"1DFC1FA9-FC98-4ED1-B421-2D1C291BDFB6\";\r\n public static AdvancedSettings: string = \"C374F9B7-D23D-4E69-985D-C561B345EADA\";\r\n public static AdminSettings: string = \"91886562-AF78-481C-9B80-F3FCE23B53AC\";\r\n public static SystemSettings: string = \"117692A5-B579-4D1F-9AD9-C3F34101FCF5\";\r\n public static PrivacySettings: string = \"F19EBF72-F694-4565-B008-25CFA06657B4\";\r\n public static DateFormat: string = \"DB6ECFE0-ABE6-44E2-AA3B-AE8819F0C5C3\";\r\n public static ExpiresIn: string = \"ACE132A6-3F58-4B3B-BE82-691446C0A0B8\";\r\n public static SendFirstReminderIn: string = \"120F50FA-FDAB-4D8D-99E3-540E462B3BBF\";\r\n public static ThenSendFollowUpRemindersEvery: string = \"363D9101-8682-41FC-8F6B-2DF61BD78984\";\r\n public static SendFinalReminderBeforeExpiration: string = \"BF9B7DCC-950E-4A00-8877-38D06770E2E1\";\r\n public static EnvelopeExpirationRemindertoSender: string = \"7E70886B-54D8-4BC4-B059-A1FA0593F28A\";\r\n public static lang_Y: string = \"D3C56440-6A50-4259-B24E-24BD9A0693BE\";\r\n public static lang_N: string = \"A5F19D7F-FB5C-4451-9DB2-F499FE9AC583\";\r\n public static SendReminderTillExpiration: string = \"B31655E5-E726-4EB8-81D8-ABBD612110FA\";\r\n public static AccessAuthentication: string = \"4FC99518-EF53-44F3-8BB5-A893C574C7DD\";\r\n public static lang_none: string = \"23EE52A0-41EB-485C-AEC3-B446768C8F8C\";\r\n public static EmailAccessCode: string = \"FE1C80C7-E56B-4EF3-A15A-607E63D9652F\";\r\n public static Unchecked: string = \"EA688CD4-86A5-4E82-A6EE-C9C88A15FBEE\";\r\n public static Checked: string = \"ED57F769-EA90-473F-9DFE-E87773385026\";\r\n public static IncludeStaticTemplates: string = \"77299E86-3ACE-4386-94E5-866986307E40\";\r\n public static RequiresSignersConfirmationonFinalSubmit: string = \"34775C2F-431A-4655-A7B4-BA217FDD8A72\";\r\n public static SendIndividualNotifications: string = \"c222c3d9-6c2c-4b9c-8e9b-4809c103c40d\";\r\n public static AddSignatureCertificate: string = \"700361D4-36E6-434A-8925-87B68710395C\";\r\n public static Sequence: string = \"3747D0FE-1021-4BCF-B22A-590779C19799\";\r\n public static DownloadLinkOnManage: string = \"AECAE4AC-3DFF-476C-84F7-4EA9160D18E3\";\r\n public static IncludeTransparencyDocument: string = \"EA0FF30F-6545-4D0D-A66B-BB96A99BCA4B\";\r\n public static SignerAttachmentOptions: string = \"9E6663BD-92E9-4194-8822-4E61AF07FACA\";\r\n public static AdditionalAttachments: string = \"A7FF94BC-0836-4AEA-9DAD-F072F866DD00\";\r\n public static IsDefaultSignatureRequiredForStaticTemplate: string = \"6021D655-0062-4198-A24F-DFF809C7DE51\";\r\n public static SendConfirmationEmail: string = \"06E9C7F1-C1EB-438A-95CE-2ECA5E4D1C11\";\r\n public static SeparateMultipleDocumentsAfterSigning: string = \"95266884-7C92-46FC-8A32-6C31D078EF6D\";\r\n public static AttachXMLDocument: string = \"4AAE5631-B7A0-4659-95DF-C7FAAB6B680A\";\r\n public static StoreSignatureCertificate: string = \"1DA95824-EE7F-4DA5-8E3D-48322B8F2D88\";\r\n public static DeleteOriginalDocument: string = \"05166F76-B258-476C-908A-2CC76CACC89E\";\r\n public static StoreOriginalDocument: string = \"24EC9EA9-BCD0-40C6-BF3F-F603541AD285\";\r\n public static EnableFileReview: string = \"A1921EC5-2708-4163-9B04-518611042F57\";\r\n public static EnableAutoFillTextControls: string = \"D300901A-F359-455A-BD7E-F01C575478E1\";\r\n public static FinalContractConversion: string = \"B35AC153-4DDE-4E98-91A5-5492E1762AAC\";\r\n public static AttachSignedPdf: string = \"11F8B179-0D81-4E2E-B697-580F7AE3199A\";\r\n public static EnableCcOptions: string = \"00D85A80-EA48-4A0E-BD36-5F3C699FBB8C\";\r\n public static ElectronicSignatureIndication: string = \"BFA01C85-A0F8-4341-AFDC-CCCE660C1D30\";\r\n public static EnableRecipientLanguage: string = \"68fd5876-629c-49ed-ac72-0468dfeb0dbf\";\r\n public static EnableSendingMessagesToMobile: string = \"C9E845A4-ABF5-4D37-B82B-68C87015308D\";\r\n public static TimeZone: string = \"7D5EBF97-49DD-4A70-8D2B-620EE152EDA9\";\r\n public static PrivateMode: string = \"1E29E18D-44C0-49F8-A92E-9910E4525927\";\r\n public static DataMasking: string = \"D6B591B8-6DE3-4460-B48A-1A7C42FFB764\";\r\n public static DeleteData: string = \"ECAA2CD8-358C-4637-80EB-5027140B083F\";\r\n public static CompanySettings: string = \"DC9184CC-A094-4768-8E25-F33647007490\";\r\n public static SignatureCapture: string = \"E67C9564-988D-4A6E-A4A4-F75C7A06D448\";\r\n public static TypeSignature: string = \"72C42EB0-F203-4456-83DB-14EDB767DBDC\";\r\n public static HandDrawn: string = \"191DDB81-C976-4381-B40B-B76D42A506BE\";\r\n public static UploadSignature: string = \"F09ABA05-C4BB-4383-B382-30AE01F812A4\";\r\n public static HeaderFooterSettings: string = \"3A271DB4-C2F1-43A8-81E7-A7EF5BC220B7\";\r\n public static DeleteSignedContracts: string = \"6B4027A8-072C-4529-BB82-02315F27CACE\";\r\n public static ReferenceCode: string = \"C9CC6C6E-6F8E-4A88-8549-C95BD6EFCA2F\";\r\n public static FormFieldAlignment: string = \"A2AB70D9-CBC9-4F21-A110-B46DEC8D4F77\";\r\n public static EnvelopesPostSigningUrl: string = \"0162FD3C-957D-410F-97F4-497103BA2A8B\";\r\n public static SetAsDefault: string = \"5F1D3C69-7092-4C44-898A-9E77A413524D\";\r\n public static StoreEmailBody: string = \"2E3D2D8A-89E7-4C11-A244-E553E66F26E0\";\r\n public static DeleteEmailBody: string = \"BFB9B9BF-D468-49C4-BC41-A3D0447F0AE4\";\r\n public static SignatureControlDefaultRequired: string = \"DC0D8411-06EB-4F0D-8D1D-F98F2CB6C78A\";\r\n public static SendingConfirmationEmail: string = \"13AF4ECE-C831-4E7B-A89D-518D58F0CA8F\";\r\n public static TermsOfService: string = \"626C7F9E-B167-424F-B195-43C99C4BCC3E\";\r\n public static TermsServiceOncertificate: string = \"D296AC02-7D15-48C8-830E-36BF5B24ED91\";\r\n public static DocumentsCombinedInOneEnvelope: string = \"F154A9DD-2DE9-4ED4-821F-FFED4EC90D62\";\r\n public static SendInvitationEmailToSigner: string = \"D9C0BCDA-B359-4A67-97D7-128BAB99A523\";\r\n public static SigningCertificatePaperSize: string = \"025BBD2F-4048-4E45-ABE7-9E2069C471D1\";\r\n public static SignatureRequestReplyAddress: string = \"03301BE2-DAE7-49DE-851E-44E441BEAE38\";\r\n public static SenderEmail: string = \"B698C905-7766-4DCD-B2A2-C5C8F333AAA0\";\r\n public static StampWatermarkSetting: string = \"45AD3108-2229-4F74-BA93-077088F0D585\";\r\n public static SelectDigitalCertificate: string = \"E566D1E3-D9B3-4529-A739-41BB1C3346A7\";\r\n public static Auto: string = \"A79AAC55-CD5C-4B18-8CDD-5A86F5AA0409\";\r\n public static Manual: string = \"83A42615-9388-4849-A5C0-06474E5E5AC8\";\r\n public static Weeks: string = \"e3f79a7b-469d-456a-9a1e-76f2ea11af35\";\r\n public static Days: string = \"096DD340-6003-4770-90CB-DAC0A0001541\";\r\n public static Page: string = \"1F1728BC-8711-4ECD-B62E-D08C4D4B5A94\";\r\n public static DraftIt: string = \"3BCA6EA3-E26B-412D-A50A-52F3C14EBEE5\";\r\n public static ViewSettings: string = \"CC147CC8-ED00-47CE-939C-F120CC6894B8\";\r\n public static ViewPDF: string = \"5A1DE24B-ACD1-41BD-A300-4E646D5DECE8\";\r\n public static Back: string = \"958EE23F-6E23-4AEB-8B8D-091934AEE2D0\";\r\n public static Send: string = \"CBD33E2D-8F50-4A92-B934-183D03D0EE34\";\r\n public static AcceptandContinue: string = \"CBD33E2D-8F50-4A92-B934-183D03D0EE34\";\r\n public static ResendEmail: string = \"181670B1-BA07-48E9-A5B7-1BBC585C96CA\";\r\n public static DistributeVertically: string = \"FCB0EF2D-BE1C-4108-9178-D26B6CABE435\";\r\n public static DistributeHorizontally: string = \"4ACBB5B0-B418-43DC-A2E8-E13E6421454B\";\r\n public static title_Alignselectedcontrolstoleft: string = \"BABF8DC9-A66B-45DA-85E7-48C2BCE32175\";\r\n public static title_Alignselectedcontrolstocenter: string = \"7DE4AB94-982C-4AFF-8A56-7649333D80C4\";\r\n public static title_Alignselectedcontrolstoright: string = \"45359ABC-23FC-4B40-8883-34DBA307C58B\";\r\n public static AlignTop: string = \"AA70A8D5-BCA6-4914-8224-04232A689CC9\";\r\n public static AlignMiddle: string = \"82669E74-787A-48C2-806D-AEB4F1C93C85\";\r\n public static AlignBottom: string = \"06C0667C-2026-41AC-9656-E0FA601BCC9A\";\r\n public static Planname: string = \"D04991CF-D54B-404C-8878-AD2768F180DE\";\r\n public static UnitsRemaining: string = \"786FA05C-0018-4F4C-B6B4-0F0DFAF25B2E\";\r\n public static SignatureControl: string = \"E02FF794-35AC-4BE8-9B4E-3EA19CD329FC\";\r\n public static Initials: string = \"0f001fa1-c71f-490b-93cf-6e5a55abaad5\";\r\n public static lang_dateTimeStamp: string = \"6BB0ADA2-E324-4A22-87C3-587004F0C470\";\r\n public static Name: string = \"391FF1F4-6A14-4782-A7C9-0FA49F36A104\";\r\n public static Title: string = \"A17FC9D6-CA82-4E80-9F6B-9974AA1709F7\";\r\n public static Company: string = \"78348D80-2C99-4C2A-9A19-3483966A5AD6\";\r\n public static lang_email: string = \"35A18579-F298-4131-9DDF-FE6AD600D26F\";\r\n public static lang_dropdown: string = \"92AC70A4-9F89-4BBE-A819-3709353363D9\";\r\n public static lang_checkbox: string = \"A207142E-D7AB-4A43-9DD6-CC6164B93BF3\";\r\n public static lang_radio: string = \"3AD53391-9106-4CEF-BBC5-8E6A95565DB3\";\r\n public static Date: string = \"0EAB0BE2-0420-4D2D-AC8E-34FF54A73A3A\";\r\n public static lang_Text: string = \"5A870858-6BB7-4EF9-8889-1F51A637D04E\";\r\n public static Label: string = \"735BF0E9-FC01-40A6-82A3-5A037A3FF9B5\";\r\n public static Hyperlink: string = \"93D87429-C34A-4810-B3F1-570F6511BB26\";\r\n public static FilesReview: string = \"AE2454EB-95A0-4AA1-B6C9-644E4402B973\";\r\n public static Description: string = \"8E9D6844-5904-4C08-83CE-ECC621B36DAF\";\r\n public static FirstLineBlank: string = \"BFEBE496-868F-4823-B03C-92727C1007D0\";\r\n public static Required: string = \"93F9CE7C-3295-4B61-AA5B-6E116BC5F078\";\r\n public static preSelected: string = \"5AD8935E-32C4-4C0A-AE16-738053932F3E\";\r\n public static checkboxGroupsOptional: string = \"52258AAE-CC2F-4ED1-B8FC-1D8DCDF177F2\";\r\n public static lang_defaultDateSigned: string = \"97C864A2-653C-4830-8187-F42B6376B194\";\r\n public static Signer: string = \"C20C350E-1C6D-4C03-9154-2CC688C099CB\";\r\n public static TextModalHeaderP: string = \"E626AEFB-4D77-4D23-96FF-04BF184C6979\";\r\n public static URL: string = \"627A03AA-9CA4-48FA-BADB-6947E415D53C\";\r\n public static TextColor: string = \"1BBBAB56-D8D5-4F84-9396-F6DD50ABE600\";\r\n public static GroupName: string = \"2C91AA05-3BDB-4F22-9698-F26263CE318B\";\r\n public static Size: string = \"DAB925F0-3FB9-4F57-8B82-EE9BB2A68910\";\r\n public static Preview: string = \"258DBE19-9F81-4D8D-913F-0469AE78B324\";\r\n public static FixedWidth: string = \"0F2F1B37-CB4B-4D46-9448-0965ADE8A944\";\r\n public static EntityFields: string = \"954D609B-E686-4168-AD10-7AE8DA06C110\";\r\n public static OnlycharactersAndnumbers: string = \"CAFD9E78-1CA7-4A80-9AF1-B11C35E77DC6\";\r\n public static Delete: string = \"F42DF6C3-B200-4264-A9EF-E8F343161071\";\r\n public static lang_confirmation: string = \"A6EBEF12-7AEF-4082-BC87-FE29042430D7\";\r\n public static lang_savedefault: string = \"8DA068CF-9E61-4C8F-9CA8-357A32032822\";\r\n public static Copy: string = \"380EF85A-E330-4516-8675-DC7DFE285257\";\r\n public static lang_addControllingField: string = \"22AE37D8-F388-4101-ADB0-7948FE8015E8\";\r\n public static lang_BackConfirmationP1: string = \"44B55505-EA2C-4D63-BA92-B44D73621AE5\";\r\n public static lang_BackConfirmationP2: string = \"81870E93-D039-4B10-984F-9CCBD0EFFBC5\";\r\n public static lang_BackConfirmationP3: string = \"521D25B0-083A-4C3D-BF3B-6A56552FC478\";\r\n public static No: string = \"0E9CDDC4-25BF-4BF0-AD53-80D8C89E185D\";\r\n public static Yes: string = \"F0E0417A-2482-45FD-89B0-54269409999E\";\r\n public static title_redoselectedControl: string = \"274FDD6E-8CAF-43AC-8E4E-399E5A17851C\";\r\n public static title_undoselectedControl: string = \"083BE54A-C836-4794-965D-AD6853DA5DBD\";\r\n public static lang_stillProceed: string = \"48EA56F3-8705-4B74-92EE-8F1C8F9F26BD\";\r\n public static Cancel: string = \"66B1DC00-482B-4980-8710-AAFC3DADA3C3\";\r\n public static OKText: string = \"9D30B519-47FF-463A-82A5-6FBB42A57E5A\";\r\n public static DiscardEnvelope: string = \"731108F6-0E31-413B-B708-D0855F962F6F\";\r\n public static Keyboardshortcuts: string = \"15651090-39CB-4B68-A739-E3C70070A6D9\";\r\n public static UseKeyboardshortcuts: string = \"996BFC5B-B51E-4B8E-A122-7167CEEEF69E\";\r\n public static Duplicate: string = \"81FE0E72-95EF-450F-947B-D7BC8F73FB6C\";\r\n public static Paste: string = \"13864A68-DA9F-4282-A2D5-8B735536EE3A\";\r\n public static Undo: string = \"565D2E4B-CC1D-4250-A8BB-FEF920A29D39\";\r\n public static Cut: string = \"2FEADB24-4972-415F-8446-B557DF54DD90\";\r\n public static Redo: string = \"505A7B89-A01C-485E-A342-077D8798F6E8\";\r\n public static SearchFields: string = \"4BB2AD02-19B9-44FB-B710-E208DFAEE597\";\r\n public static Fields: string = \"1A625344-D5AE-41AD-98A4-D17F56F4DEA2\";\r\n public static DocumentPreview: string = \"FFECCD49-FD8E-4B87-BF9F-3D7495B3110D\";\r\n public static Clearallcontrols: string = \"A4497D9C-81FD-4DD1-B154-D9053D423405\";\r\n public static permanentlydeletesenvelope: string = \"86E66EAD-12F0-4FDB-8B95-0B5D114F95D6\";\r\n public static PlanDetails: string = \"37F09EB9-BAD9-4C42-96EB-89314D297677\";\r\n\r\n public static lang_BackConfirmation: string = \"A1740045-2FB2-4C8E-BE8C-29436FBC4962\";\r\n public static lang_BackConfirmationNo: string = \"DB428375-4AAB-4B9E-AA2D-85F919305008\";\r\n public static lang_BackConfirmationYes: string = \"2EFEB645-2CD2-4D8F-A948-543A064848CA\";\r\n\r\n public static ModifySelectedGroupSettingsTitle: string = \"A12096AE-2F2F-4243-9BA8-541E0CCC7425\";\r\n public static Update: string = \"57A8EA2B-246A-4491-944B-ACC90CE67CE6\";\r\n public static LearnMoreTextOnly: any = \"30DAEF26-A701-4CB4-8C9D-9A63E5D760DB\";\r\n public static freeTrial: any = \"A6FD5C43-BF20-49C5-A321-616DD7ADC006\";\r\n public static RSignMakesESignatureText: any = \"EF529659-7036-4772-982C-0D7EF54A51F2\";\r\n public static EnableMultipleBranding: string = \"894BB07D-E934-431B-B055-41A4BC0B74E6\";\r\n public static SignatureCertificateType: string = \"917A063D-10B0-4C66-B191-F3439688B8FC\";\r\n public static Old: string = \"5AECF4BA-FACB-4BBF-A836-6C027DB8BFD5\";\r\n public static NewBasic: string = \"7725111D-3A1A-4765-A5C6-359813CA0231\";\r\n\r\n public static lang_Session_Timeout_Redirecting: string = \"D2709B8D-B480-40A8-99BD-F8BDB80D2C97\";\r\n public static lang_Session_TimeOut: string = \"E396654A-501E-4562-BA0B-8FE221823841\";\r\n\r\n public static Home: string = \"B77C9677-7217-4E21-9422-330C0CA983A1\";\r\n public static SendTab: string = \"1CE1860B-143A-4958-99A4-EC0967B21FFE\";\r\n public static Envelopes: string = \"66822ECC-1DF6-49AB-B1F3-88538CF1440F\";\r\n public static Templates: string = \"4A8C6D07-F4CA-41B5-BCD1-102CAE6615AE\";\r\n public static Stats: string = \"D86AD7F7-68D1-46E4-9BCD-FCB1157C0D45\";\r\n public static Settings: string = \"9A76FB60-3DE2-4C4E-9326-E81EB4CE9292\";\r\n public static Translations: string = \"98D8401A-98D6-4231-8CF9-843870FEDFAE\";\r\n public static Hello: string = \"A2B9797E-4120-4EBB-B602-BBA2D1F25F00\";\r\n public static HideResipientDetailsInEmail: string = \"56804266-61F4-4C07-8D85-A5AF88DFB4D2\";\r\n\r\n public static Template: string = \"0924B054-2E88-4E0B-9F26-8A3DBD2121AD\";\r\n public static Rules: string = \"6F52E523-3ED4-4DA6-BD06-CD081E474B7A\";\r\n public static SaveAs: string = \"D4254E74-AA24-47CC-B363-EFDB4F9DE2CE\";\r\n public static Save: string = \"99ACCB6E-0617-46DA-A539-75AB0F047ED6\";\r\n\r\n public static AlignSelectedControls: string = \"7c918afb-7ad4-4fe3-8c5a-37bd1315038f\";\r\n public static EnvelopeAutoSaveSuccess: string = 'DCAC28AB-5784-428B-9DB2-C63D997EF67A';\r\n public static EnvelopeAutoSaveFailed: string = 'EA7730B7-FA76-4B55-AFE2-4D22106E24D6';\r\n public static TemplateAutoSaveFailed: string = 'F6734271-6BA7-473A-873F-E1D4C31B6FDC';\r\n public static TemplateAutoSaveSuccess: string = '3B3C3F16-5524-4FB2-AF15-FBC22209BE72';\r\n //dashboard\r\n public static EnvelopeID: string = '9C2A99C8-DF21-4FCF-9968-7E2F5A8629BC';\r\n public static Lang_DocumentExpiredGDPR: string = '53C85604-2CEB-476E-80A5-EAB99CD53520';\r\n public static Lang_FinalDocument: string = '9A8528AB-8EFF-45E9-BDFD-663FD378060E';\r\n public static Lang_DownloadFinalDocument: string = 'C94D452A-1F65-47E3-924E-C18D71775143';\r\n public static DocumentDetails: string = 'BDC91145-B75D-4C12-9D2D-9C6FBCB5694A';\r\n public static FilesReviewed: string = 'D74E8CD2-B5B3-4CF0-8EC4-19AD5FFB144F';\r\n public static Sender: string = '26E35C91-5EE1-4ABF-B421-3B631A34F677';\r\n public static Recipients: string = 'C5F1A5C7-11A2-424C-9186-B9D23A1CBFA6';\r\n public static ReferenceEmail: string = 'C350C9F2-A49D-4F27-93CE-DD164B55BD04';\r\n public static emailBody: string = '9D45ADB4-DF15-4140-AA93-AED0F568B862';\r\n public static title_viewEmailBody: string = 'A70BFF36-2625-47AA-99AF-767C629F84F6';\r\n public static ReasonForDecline: string = '94389A85-87B2-4BD2-8324-4A5440F8C754';\r\n\r\n\r\n}","
\r\n
\r\n
View Settings
\r\n
close
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
SENDING
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{envelopeAdditionalDetails.dateFormat}}
\r\n \r\n {{envelopeAdditionalDetails.expiresIn}}
\r\n \r\n {{customSetting.sendReminderInstr}}
\r\n \r\n {{customSetting.thenReminderInstr}}
\r\n \r\n {{customSetting.finalReminderDaysInstr}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}}\r\n {{customSetting.senderReminderDays}}\r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}}\r\n {{customSetting.finalSendReminderTillExpiration}}\r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{envelopeAdditionalDetails.accessAuthentication}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_none)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Checked)}}\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Unchecked)}}
\r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.signerAttachmentOptions}}
\r\n \r\n N/A \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
ADVANCED SETTINGS
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n Aspose \r\n Images \r\n iText
\r\n \r\n {{envelopeAdditionalDetails.attachSignedPdf}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.electronicSignatureOption}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.brandName}}
\r\n \r\n \r\n \"brand\r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Old)}}\r\n {{getLanguageTranslationValue(resourceKeys.NewBasic)}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
ADMIN SETTINGS
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n {{envelopeAdditionalDetails.headerAndFooterDescription}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.referenceCodeSetting}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{envelopeSettingDetails.envelopePostSigningPageUrl}} \r\n {{getLanguageTranslationValue(resourceKeys.SetAsDefault)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.documentPaperSize}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.SenderEmail)}} \r\n {{signatureRequestReplyAddress.SenderMailRpostNet}}\r\n {{signatureRequestReplyAddress.NoReply}}
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n \r\n {{envelopeAdditionalDetails.digitalCertificateOption}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
SYSTEM
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.TypeSignature)}},\r\n {{getLanguageTranslationValue(resourceKeys.HandDrawn)}},\r\n {{getLanguageTranslationValue(resourceKeys.UploadSignature)}} \r\n {{getLanguageTranslationValue(resourceKeys.TypeSignature)}},\r\n {{getLanguageTranslationValue(resourceKeys.HandDrawn)}}\r\n \r\n {{getLanguageTranslationValue(resourceKeys.TypeSignature)}},\r\n {{getLanguageTranslationValue(resourceKeys.UploadSignature)}} \r\n {{getLanguageTranslationValue(resourceKeys.HandDrawn)}},\r\n {{getLanguageTranslationValue(resourceKeys.UploadSignature)}}
\r\n \r\n {{envelopeSettingDetails.selectedTimeZone}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
PRIVACY
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
{{getLanguageTranslationValue(resourceKeys.DataMasking)}}CS\r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}} \r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
{{getLanguageTranslationValue(resourceKeys.DeleteData)}}CS\r\n {{getLanguageTranslationValue(resourceKeys.lang_Y)}}\r\n {{envelopeAdditionalDetails.isDataDeleted}}\r\n {{getLanguageTranslationValue(resourceKeys.lang_N)}}
\r\n

CS: \r\n {{getLanguageTranslationValue(resourceKeys.CompanySettings)}}

\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, HostListener } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { CommonConstants, FinalContractOptions, PasswordType, SignatureRequestReplyAddress } from 'src/app/constants/common-constants';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { TranslationService } from 'src/app/services/translation.service';\r\n\r\n@Component({\r\n\tselector: 'app-view-setting',\r\n\ttemplateUrl: './view-setting.component.html',\r\n\tstyleUrls: ['./view-setting.component.scss']\r\n})\r\nexport class ViewSettingComponent {\r\n\tfilterBy = 'all';\r\n\tshowLoader: boolean = false;\r\n\tsource: any;\r\n\tcurrentSetting: any;\r\n\tenvelopeSettingDetails: any;\r\n\tsettingAdditionalDetails: any;\r\n\tenvelopeAdditionalDetails: any;\r\n\tcustomSetting: any = {};\r\n\tlabelTranslation: any;\r\n\tresourceKeys = ResourceKeys;\r\n\tpasswordType = PasswordType;\r\n\tfinalContractOptions = FinalContractOptions;\r\n\tsignatureRequestReplyAddress = SignatureRequestReplyAddress;\r\n\tsignInSequenceDesc: boolean = false;\r\n\tisResponseLoaded: boolean = false;\r\n\tadditionalAttachments: any;\r\n\tenvelopeTokenDetails: any;\r\n\tgetSettingsUrl: any;\r\n\thostListenerStatus: any = false;\r\n\r\n\tconstructor(\r\n\t\tpublic modalRef: BsModalRef,\r\n\t\tprivate authService: AuthService,\r\n\t\tprivate toastrService: ToastrService,\r\n\t\tprivate apiService: APIService,\r\n\t\tprivate translationService: TranslationService,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService,\r\n\t\tprivate router: Router,\r\n\t) { }\r\n\r\n\t// @HostListener('window:unload', ['$event'])\r\n // unloadHandler(event: Event) {\r\n // this.PostCall(event);\r\n // }\r\n\r\n // PostCall(event: any) {\r\n\r\n // }\r\n\r\n // @HostListener('window:beforeunload', ['$event'])\r\n // beforeUnloadHander(event: Event) {\r\n // let ClickedSignMeOut: any = this.sessionStorageService.getClickedSignMeOut();\r\n // if (this.hostListenerStatus == true || ClickedSignMeOut == \"true\") {\r\n // this.PostCall(event);\r\n // return true;\r\n // }\r\n // else {\r\n // return false;\r\n // }\r\n // }\r\n\r\n\tngOnInit(): void {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\telse {\r\n\t\t\tthis.envelopeTokenDetails = this.authService.getDetails();\r\n\t\t\tif (this.envelopeTokenDetails) {\r\n\t\t\t\tlet tokenDetails = JSON.parse(this.envelopeTokenDetails);\r\n\t\t\t\tlet prepareType: any = '', envelopeOrTemplateId: any;\r\n\t\t\t\tif (tokenDetails) {\r\n\t\t\t\t\tprepareType = tokenDetails.prepareType;\r\n\t\t\t\t\tenvelopeOrTemplateId = tokenDetails.envelopeOrTemplateId;\r\n\t\t\t\t\tthis.source = prepareType != '' && prepareType.toLowerCase() == \"envelope\" ? \"envelope\" : prepareType != '' && prepareType.toLowerCase() == \"template\" ? \"template\" : \"\";\r\n\t\t\t\t\tif (prepareType != '' && prepareType.toLowerCase() == \"envelope\") this.getSettingsUrl = ApiUrlConfig.GetEnvelopeSettingDetailsUrl + \"/\" + envelopeOrTemplateId + \"/0\";\r\n\t\t\t\t\telse if (prepareType != '' && prepareType.toLowerCase() == \"template\") this.getSettingsUrl = ApiUrlConfig.GetTemplateSettingDetailsUrl + \"/\" + envelopeOrTemplateId + \"/0\";\r\n\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\tthis.apiService.get(this.getSettingsUrl).subscribe(\r\n\t\t\t\t\t\t(resp: any) => {\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tif (resp && resp.statusCode == 200 && resp.envelopeViewSettingDetails != null) {\r\n\t\t\t\t\t\t\t\t//console.log(resp);\r\n\t\t\t\t\t\t\t\tthis.currentSetting = resp.envelopeViewSettingDetails.currentSettingsDetail;\r\n\t\t\t\t\t\t\t\tthis.envelopeSettingDetails = resp.envelopeViewSettingDetails.envelopeSettingsDetail;\r\n\t\t\t\t\t\t\t\tthis.envelopeAdditionalDetails = resp.envelopeViewSettingDetails.envelopeAdditionalDetails;\r\n\r\n\t\t\t\t\t\t\t\tvar signInSequenceDesc: any = '';\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.signInSequenceDesc != '' && this.envelopeSettingDetails.signInSequenceDesc != null) {\r\n\t\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.signInSequenceDesc == \"Auto\") signInSequenceDesc = \" (\" + this.translationService.getLanguageTranslationVal(this.resourceKeys.Auto) + \")\";\r\n\t\t\t\t\t\t\t\t\telse signInSequenceDesc = \" (\" + this.translationService.getLanguageTranslationVal(this.resourceKeys.Manual) + \")\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse signInSequenceDesc = \"\";\r\n\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.signInSequence == true && (signInSequenceDesc != '' && signInSequenceDesc != null) &&\r\n\t\t\t\t\t\t\t\t\t(signInSequenceDesc.includes(\"Manual\") || signInSequenceDesc.includes(\"Auto\"))) {\r\n\t\t\t\t\t\t\t\t\tthis.signInSequenceDesc = true;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\tlet weeksVal: any = this.translationService.getLanguageTranslationVal(this.resourceKeys.Weeks);\r\n\t\t\t\t\t\t\t\tlet daysVal: any = this.translationService.getLanguageTranslationVal(this.resourceKeys.Days);\r\n\r\n\t\t\t\t\t\t\t\tvar reminderDays = this.envelopeSettingDetails.sendReminderIn != null ? this.envelopeSettingDetails.sendReminderIn : 0;\r\n\t\t\t\t\t\t\t\tlet sendReminderInstr = \"\";\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.sendReminderInDropdownSelected == \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\" ||\r\n\t\t\t\t\t\t\t\t\tthis.envelopeSettingDetails.sendReminderInDropdownSelected == \"08e957db-5ca5-4f1d-ac65-eeabbb7ce6fd\")\r\n\t\t\t\t\t\t\t\t\tsendReminderInstr = reminderDays + \" \" + weeksVal;\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\tsendReminderInstr = reminderDays + \" \" + daysVal;\r\n\t\t\t\t\t\t\t\tthis.customSetting.sendReminderInstr = sendReminderInstr;\r\n\r\n\t\t\t\t\t\t\t\tvar thenReminderDays = this.envelopeSettingDetails.thenSendReminderIn != null ? this.envelopeSettingDetails.thenSendReminderIn : 0;\r\n\t\t\t\t\t\t\t\tlet thenReminderInstr = \"\";\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.thenSendReminderInDropdownSelected == \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\" ||\r\n\t\t\t\t\t\t\t\t\tthis.envelopeSettingDetails.thenSendReminderInDropdownSelected == \"08e957db-5ca5-4f1d-ac65-eeabbb7ce6fd\")\r\n\t\t\t\t\t\t\t\t\tthenReminderInstr = thenReminderDays + \" \" + weeksVal + \" (3 max)\";\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\tthenReminderInstr = thenReminderDays + \" \" + daysVal + \" (3 max)\";\r\n\t\t\t\t\t\t\t\tthis.customSetting.thenReminderInstr = thenReminderInstr;\r\n\r\n\t\t\t\t\t\t\t\tvar finalReminderDays = this.envelopeSettingDetails.sendFinalReminderBeforeExp != null ? this.envelopeSettingDetails.sendFinalReminderBeforeExp : 0;\r\n\t\t\t\t\t\t\t\tlet finalReminderDaysInstr = \"\";\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.sendFinalReminderBeforeExpDropdownSelected == \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\" ||\r\n\t\t\t\t\t\t\t\t\tthis.envelopeSettingDetails.sendFinalReminderBeforeExpDropdownSelected == \"08e957db-5ca5-4f1d-ac65-eeabbb7ce6fd\")\r\n\t\t\t\t\t\t\t\t\tfinalReminderDaysInstr = finalReminderDays + \" \" + weeksVal;\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\tfinalReminderDaysInstr = finalReminderDays + \" \" + daysVal;\r\n\t\t\t\t\t\t\t\tthis.customSetting.finalReminderDaysInstr = finalReminderDaysInstr;\r\n\r\n\t\t\t\t\t\t\t\tvar finalSenderReminderDays = this.envelopeAdditionalDetails.envelopeExpirationRemindertoSenderReminderDays != 0 ? this.envelopeAdditionalDetails.envelopeExpirationRemindertoSenderReminderDays : 0;\r\n\t\t\t\t\t\t\t\tlet SenderReminderDays = \"\";\r\n\t\t\t\t\t\t\t\tif (this.envelopeAdditionalDetails.isEnvelopeExpirationRemindertoSender == 1) {\r\n\t\t\t\t\t\t\t\t\tif (this.envelopeAdditionalDetails.envelopeExpirationRemindertoSender == \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\" ||\r\n\t\t\t\t\t\t\t\t\t\tthis.envelopeAdditionalDetails.envelopeExpirationRemindertoSender == \"08e957db-5ca5-4f1d-ac65-eeabbb7ce6fd\")\r\n\t\t\t\t\t\t\t\t\t\tSenderReminderDays = \" \" + finalSenderReminderDays + \" \" + weeksVal;\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\tSenderReminderDays = \" \" + finalSenderReminderDays + \" \" + daysVal;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.customSetting.senderReminderDays = SenderReminderDays;\r\n\r\n\t\t\t\t\t\t\t\tlet finalSendReminderTillExpiration = \"\";\r\n\t\t\t\t\t\t\t\tif (this.envelopeAdditionalDetails.isSendReminderTillExpiration == 1)\r\n\t\t\t\t\t\t\t\t\tfinalSendReminderTillExpiration = \" \" + this.envelopeAdditionalDetails.sendReminderTillExpiration;\r\n\t\t\t\t\t\t\t\tthis.customSetting.finalSendReminderTillExpiration = finalSendReminderTillExpiration;\r\n\r\n\t\t\t\t\t\t\t\tif (this.envelopeSettingDetails.includeSignerAttachFile == 2 || this.envelopeSettingDetails.includeSignerAttachFile == 0) {\r\n\t\t\t\t\t\t\t\t\tthis.additionalAttachments = \"\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if (this.envelopeAdditionalDetails.isAdditionalAttachement != null && this.envelopeAdditionalDetails.isAdditionalAttachement == true) {\r\n\t\t\t\t\t\t\t\t\tthis.additionalAttachments = \"true\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if (this.envelopeAdditionalDetails.isAdditionalAttachement != null && this.envelopeAdditionalDetails.isAdditionalAttachement == false) {\r\n\t\t\t\t\t\t\t\t\tthis.additionalAttachments = \"false\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.isResponseLoaded = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t// else if(resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\t\t// \tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\t\tthis.toastrService.warning('Unable to get envelope settings.', 'Warning');\r\n\t\t\t\t\t\t\t\tthis.isResponseLoaded = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\tthis.toastrService.warning(\"Unable to get envelope settings.\", 'Warning');\r\n\t\t\t\t\tthis.isResponseLoaded = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.showLoader = false;\r\n\t\t\t\tthis.toastrService.warning(\"Unable to get envelope settings.\", 'Warning');\r\n\t\t\t\tthis.isResponseLoaded = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonFilterApply() {\r\n\t\tlet searchInputTextField: any = document.getElementById(\"searchtext\");\r\n\t\tlet searchtext: string = searchInputTextField.value;\r\n\t\tlet tblSettings: any = document.querySelectorAll(\"tr.controlshadow\");\r\n\t\tlet tRowCount = tblSettings.length;\r\n\t\tif (searchtext != '' && searchtext && searchtext.length > 0) {\r\n\t\t\tif (tRowCount > 0) {\r\n\t\t\t\tArray.from(tblSettings).forEach((element: any, index: any) => {\r\n\t\t\t\t\tlet ele = tblSettings[index];\r\n\t\t\t\t\tlet firstTd = ele.children[0] != undefined ? ele.children[0].innerText : \"\";\r\n\t\t\t\t\tlet secondTd = ele.children[1] != undefined ? ele.children[1].innerText : \"\";\r\n\t\t\t\t\tif ((firstTd && firstTd.toLowerCase().includes(searchtext.toLowerCase())) || (secondTd && secondTd.toLowerCase().includes(searchtext.toLowerCase())))\r\n\t\t\t\t\t\telement.style.display = \"table-row\";\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\telement.style.display = \"none\";\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tArray.from(tblSettings).forEach((element: any, index: any) => {\r\n\t\t\t\telement.style.display = \"\";\r\n\t\t\t\telement.style.display = \"table-row\";\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tapplyFilterCondition(event: any) {\r\n\t\tlet selectedVal: any = event.target.value;\r\n\t\tthis.filterBy = selectedVal;\r\n\t}\r\n\r\n\tgetLanguageTranslationValue(resourcekeyId: any) {\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t}\r\n\r\n\tredirectRSignLogOnPage(){\r\n\t\tthis.hostListenerStatus = true;\r\n this.showLoader = false;\r\n this.toastrService.info(CommonConstants.SessionTimedOutMsg, 'Info');\r\n this.sessionStorageService.setIntializePrepareDetails('EnvelopeID', '');\r\n this.sessionStorageService.setIntializePrepareDetails('EmailId', '');\r\n this.sessionStorageService.setIntializePrepareDetails('PageName', '');\r\n\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrl + NavigateUrlConfig.LogOn;\r\n }\r\n else {\r\n this.router.navigate(['/global-error']);\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class ControlHtmlService {\r\n\r\n constructor() { }\r\n\r\n getSignatureHtml() {\r\n return '
Signature
';\r\n }\r\n\r\n getInitialHtml() {\r\n return '
Initials
';\r\n }\r\n\r\n getDateTimeStampHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getNameHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getEmailHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getTitleHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getCompanyHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getDateHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getTextHtml() {\r\n return '
 
#placeHolder
';\r\n }\r\n\r\n getRadioHtml() {\r\n return '
';\r\n }\r\n\r\n getCheckboxHtml() {\r\n return '
';\r\n }\r\n\r\n getDropdownHtml() {\r\n return '
';\r\n }\r\n\r\n getLabelHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n getHyperlinkHtml() {\r\n return '
#placeHolder
';\r\n }\r\n\r\n}\r\n","import { EmbeddedViewRef, Injectable } from '@angular/core';\r\nimport { CommonConstants, Control, ControlConfig, ControlResourceKeys, EmailAddressFormat, Typography } from '../constants/common-constants';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ControlHtmlService } from './control-html.service';\r\nimport { CommonService } from './common.service';\r\nimport { AuthService } from './auth.service';\r\nimport { Guid } from \"typescript-guid\";\r\nimport { SessionStorageService } from './session-storage.service';\r\nimport { Subject } from 'rxjs';\r\nimport * as moment from 'moment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ControlPropertyService {\r\n commonConstants = CommonConstants;\r\n arrControlIdNumber: any = [];\r\n controlFieldDependenceControlArray: any = [];\r\n hideFixedwidthCheckbox: any;\r\n isCheckboxDisabled: boolean;\r\n asteriskOriginalText: string = ''; // related to hide text with asterisks.\r\n hiddenText: string = '';\r\n dateFormat: any = [];\r\n dateformatValue: any = [];\r\n\r\n constructor(private toastrService: ToastrService,\r\n private controlHtmlService: ControlHtmlService,\r\n private commonService: CommonService,\r\n private authService: AuthService,\r\n private sessionStorageService: SessionStorageService\r\n ) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n this.dateformatValue = this.sessionStorageService.getDateformatValue();\r\n }\r\n\r\n applyCheckboxRadioGroupName(textAreaVal: any, type: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let resizableCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\r\n if (resizableCurrentSelectedControl) {\r\n if (textAreaVal == '' || textAreaVal == null) {\r\n let attr_id: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n if (attr_id.toLowerCase() == Control.Radio.toLowerCase()) {\r\n let chkRadioRequiredSelected: any = (document.getElementById(\"chkRadioRequiredSelected\"));\r\n if (chkRadioRequiredSelected.checked) {\r\n if (type == \"1\") {\r\n resizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n //this.toastrService.warning('Please enter valid radio group value.', 'Warning');\r\n this.showWarning('Please enter valid radio group value.', 'Warning')\r\n return false;\r\n }\r\n else if (type == \"2\") {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('name', '');\r\n }\r\n this.toastrService.warning('Radio group name cannot be blank.', 'Warning');\r\n return false;\r\n }\r\n }\r\n }\r\n else if (attr_id.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let checkboxgroup: any = (document.getElementById(\"checkboxgroup\"));\r\n if (checkboxgroup.checked) {\r\n if (type == \"1\") {\r\n resizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n this.toastrService.warning('Please enter valid checkbox group value.', 'Warning');\r\n return false;\r\n }\r\n else if (type == \"2\") {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('name', '');\r\n }\r\n this.toastrService.warning('Checkbox group name cannot be blank.', 'Warning');\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (type == \"1\") {\r\n let spnCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('data-groupname', textAreaVal);\r\n }\r\n\r\n let inputGroupNameCtrl: any = (document.getElementById(\"inputGroupNameCtrl\"));\r\n if (inputGroupNameCtrl && inputGroupNameCtrl.value != '') {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('name', inputGroupNameCtrl.value);\r\n }\r\n }\r\n }\r\n else if (type == \"2\") {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('name', textAreaVal);\r\n }\r\n\r\n let inputGroupCtrl: any = (document.getElementById(\"inputGroupCtrl\"));\r\n if (inputGroupCtrl && inputGroupCtrl.value != '') {\r\n let spnCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl?.setAttribute('data-groupname', inputGroupCtrl.value);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n checkTooltipIsApplicable(cName: any, cId: any) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + cId));\r\n if (controlEle) {\r\n let tooltip: any = controlEle.getAttribute('data-customtooltip');\r\n if (tooltip === null) {\r\n let controlTooltipEle: any = document.getElementById('controlInputTooltip');\r\n if (controlTooltipEle) {\r\n controlTooltipEle.value = '';\r\n }\r\n }\r\n\r\n let guid: any = controlEle.getAttribute('data-guid');\r\n this.removeControlAttributes(controlEle, guid);\r\n }\r\n }\r\n\r\n getParentWidthAndHeight(currentEle: any) {\r\n let response: any;\r\n let imgId: any = currentEle.parentNode.parentNode.id;\r\n let imgControlElement: any = document.getElementById(imgId);\r\n let imgWidth: any = null;\r\n let imgHeight: any = null;\r\n // Access the first child element (assuming it is the img tag)\r\n var imgElement = imgControlElement.children[0];\r\n\r\n // Check if the child element is an img tag\r\n if (imgElement.tagName.toLowerCase() === 'img') {\r\n // Set the CSS style width property\r\n imgWidth = imgElement.offsetWidth;\r\n imgHeight = imgElement.offsetHeight;\r\n }\r\n response = { 'Width': imgWidth, 'Height': imgHeight };\r\n return response;\r\n }\r\n\r\n getElePositions(ctrlId: any) {\r\n let response: any = { 'Left': 0, 'Top': 0 };\r\n // if (ctrlId && ctrlId.style) {\r\n // var transformString = ctrlId.style.transform;\r\n // // Regular expression to match the numbers within the translate3d function\r\n // var regex = /translate3d\\(([-\\d.]+)px,\\s+([-\\d.]+)px,\\s+([-\\d.]+)px\\)/;\r\n\r\n // // Match the values using the regex\r\n // var match = transformString.match(regex);\r\n\r\n // // Check if there is a match\r\n // if (match) {\r\n // // Extract the left, top, and third value (z-axis, not used in this case)\r\n // var leftValue = parseFloat(match[1]);\r\n // var topValue = parseFloat(match[2]);\r\n // response = { 'Left': leftValue, 'Top': topValue };\r\n // }\r\n // return response;\r\n // }\r\n if (ctrlId && ctrlId.style) {\r\n response = { 'Left': parseFloat(ctrlId.style.left.replace('px', '')), 'Top': parseFloat(ctrlId.style.top.replace('px', '')) };\r\n }\r\n return response;\r\n }\r\n\r\n getDuplicateHeightWidth(fontFamily: any, fontSize: any) {\r\n var fakeEl = document.createElement('pre');\r\n fakeEl.id = 'hdnTextArea';\r\n fakeEl.style.display = 'inline-block';\r\n fakeEl.style.visibility = 'hidden';\r\n document.body.appendChild(fakeEl);\r\n\r\n fakeEl.textContent = 'abcdefghijklmnopqrstuvwxyz0123456789';\r\n fakeEl.style.fontFamily = fontFamily;\r\n fakeEl.style.fontSize = fontSize + 'px';\r\n\r\n var response = { 'Width': (fakeEl.offsetWidth / fakeEl.textContent.length), 'Height': fakeEl.offsetHeight };\r\n\r\n fakeEl.remove();\r\n\r\n if (response.Height === 260 && fontFamily === \"Courier\") {\r\n response.Height = 130;\r\n }\r\n\r\n // Now you can use 'response' object as needed.\r\n return response;\r\n }\r\n\r\n getDimensionBasedOnFontSizeAndStyle(fontFamily: any, fontSize: any) {\r\n var fakeEl = document.createElement('pre');\r\n fakeEl.id = 'hdnTextArea';\r\n fakeEl.style.display = 'inline-block';\r\n fakeEl.style.visibility = 'hidden';\r\n document.body.appendChild(fakeEl);\r\n\r\n fakeEl.textContent = 'ABCDEFGHIJKLMNOPQRSTUVWWWWWWWWWWWWWWWWWWWWWWWXYZ';\r\n fakeEl.style.fontFamily = fontFamily;\r\n fakeEl.style.fontSize = fontSize + 'px';\r\n\r\n var width = (fontSize === 60) ? 53 : (fakeEl.offsetWidth / fakeEl.textContent.length);\r\n var height = fakeEl.offsetHeight;\r\n\r\n var response = { 'Width': width, 'Height': height };\r\n\r\n fakeEl.remove();\r\n return response;\r\n }\r\n\r\n applyClickedProperty(checked: any, type: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let spnCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n let parentCtrl: any = document.getElementById(currentSelectedControl);\r\n let ctrlName: any = '';\r\n if (parentCtrl) {\r\n ctrlName = parentCtrl.getAttribute('data-controlname');\r\n }\r\n if (spnCurrentSelectedControl) {\r\n if (type == \"1\") {\r\n if (checked)\r\n spnCurrentSelectedControl?.setAttribute('data-selected', 'true');\r\n else\r\n spnCurrentSelectedControl?.setAttribute('data-selected', 'false');\r\n }\r\n else if (type == \"2\") {\r\n if (checked)\r\n spnCurrentSelectedControl?.setAttribute('data-selected1', 'true');\r\n else\r\n spnCurrentSelectedControl?.setAttribute('data-selected1', 'false');\r\n }\r\n else if (type === '3') {\r\n if (checked) {\r\n spnCurrentSelectedControl?.setAttribute('data-isfixedwidth', 'true');\r\n let maxCharLimit = '';\r\n switch (ctrlName.toLowerCase()) {\r\n case 'name':\r\n maxCharLimit = '100';\r\n break;\r\n case 'title':\r\n maxCharLimit = '100';\r\n break;\r\n case 'text':\r\n maxCharLimit = spnCurrentSelectedControl.getAttribute('data-validation-type') && spnCurrentSelectedControl.getAttribute('data-validation-type').toLowerCase() === 'email' ? '100' : '4000';\r\n break;\r\n }\r\n\r\n let charInputLimitId: string;\r\n let inputLengthId: string;\r\n\r\n if (ctrlName.toLowerCase() === 'text') {\r\n charInputLimitId = 'textCharInputLimit';\r\n inputLengthId = 'textInputLength';\r\n } else {\r\n charInputLimitId = ctrlName.toLowerCase() + 'CharInputLimit';\r\n inputLengthId = ctrlName.toLowerCase() + 'InputLength';\r\n }\r\n\r\n spnCurrentSelectedControl.setAttribute('data-maxcharlimit', maxCharLimit);\r\n\r\n let charInputLimit = document.getElementById(charInputLimitId);\r\n if (charInputLimit) {\r\n this.hideCtrlCharLimitInput(charInputLimit);\r\n }\r\n\r\n let inputLength: any = document.getElementById(inputLengthId);\r\n if (inputLength) {\r\n this.showCtrlLengthInput(inputLength);\r\n inputLength.value = 20;\r\n spnCurrentSelectedControl.style.width = '167px';\r\n\r\n if (ctrlName.toLowerCase() === 'title') {\r\n let maxlengthallowedValue: any = spnCurrentSelectedControl.getAttribute('maxlengthallowed');\r\n if (maxlengthallowedValue) {\r\n inputLength.value = maxlengthallowedValue;\r\n } else {\r\n inputLength.value = '20';\r\n spnCurrentSelectedControl.style.width = '167px';\r\n }\r\n }\r\n if (ctrlName.toLowerCase() === 'text') {\r\n spnCurrentSelectedControl.style.height = '20px';\r\n }\r\n }\r\n\r\n if (ctrlName.toLowerCase() === 'text') {\r\n let dataValidationType: any = spnCurrentSelectedControl.getAttribute('data-validation-type');\r\n if (dataValidationType && dataValidationType.toLowerCase() === 'ssn' || dataValidationType.toLowerCase() === 'zip' || dataValidationType.toLowerCase() === 'date' ||\r\n dataValidationType.toLowerCase() === 'email') {\r\n setTimeout(() => {\r\n inputLength.setAttribute('disabled', true);\r\n }, 0);\r\n }\r\n }\r\n }\r\n else {\r\n spnCurrentSelectedControl?.setAttribute('data-isfixedwidth', 'false');\r\n let dataValidationType: any = '';\r\n if (ctrlName.toLowerCase() === 'text') {\r\n dataValidationType = spnCurrentSelectedControl.getAttribute('data-validation-type');\r\n }\r\n let controlTypeMap: any = {\r\n 'name': { inputLengthId: 'nameInputLength', charInputLimitId: 'nameCharInputLimit', maxCharLimit: 100 },\r\n 'title': { inputLengthId: 'titleInputLength', charInputLimitId: 'titleCharInputLimit', maxCharLimit: 100 },\r\n 'text': { inputLengthId: 'textInputLength', charInputLimitId: 'textCharInputLimit', maxCharLimit: (dataValidationType.toLowerCase() === 'email') ? 100 : 4000 }\r\n };\r\n\r\n let controlType: any = ctrlName.toLowerCase();\r\n const controlInfo = controlTypeMap[controlType];\r\n\r\n if (controlInfo) {\r\n let inputLength: any = document.getElementById(controlInfo.inputLengthId);\r\n if (inputLength) {\r\n this.hideCtrlLengthInput(inputLength);\r\n }\r\n\r\n let charInputLimit: any = document.getElementById(controlInfo.charInputLimitId);\r\n if (charInputLimit) {\r\n this.showCtrlCharLimitInput(charInputLimit);\r\n const maxCharLimit = controlInfo.maxCharLimit;\r\n charInputLimit.value = controlInfo.maxCharLimit;\r\n spnCurrentSelectedControl.style.width = '167px';\r\n if (controlType === 'text') {\r\n spnCurrentSelectedControl.style.height = '20px';\r\n }\r\n\r\n if (charInputLimit.value && charInputLimit.value <= maxCharLimit) {\r\n spnCurrentSelectedControl.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n charInputLimit.value = charInputLimit.value;\r\n } else {\r\n charInputLimit.value = maxCharLimit.toString();\r\n spnCurrentSelectedControl.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n }\r\n }\r\n }\r\n }\r\n\r\n }\r\n\r\n //remove dependency if checkbox is required control\r\n let guid: any = spnCurrentSelectedControl.getAttribute('data-guid');\r\n if (guid.toLowerCase() == Control.Checkbox.toLowerCase() && type == \"1\") {\r\n let isRequired: any = spnCurrentSelectedControl?.getAttribute('data-selected');\r\n if (isRequired && isRequired.toLowerCase() === 'true') {\r\n let spnControl = (document.getElementById(currentSelectedControl));\r\n let docContentId: any = spnControl.getAttribute('data-document-content-id');\r\n this.removeColorForItem(currentSelectedControl);\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-child-present', '');\r\n\r\n let childControlsArray: any = document.querySelectorAll('[data-parent-id=\"' + docContentId + '\"]');\r\n if (childControlsArray && childControlsArray.length > 0) {\r\n Array.from(childControlsArray).forEach((item: any, v: any) => {\r\n let attr_id: any = item?.getAttribute('id');\r\n let childDocContentId: any = item.getAttribute('data-document-content-id');\r\n this.removeColorForItem(attr_id);\r\n this.removeAttributes(childDocContentId);\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n removeAttributes(docContentId: any) {\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('data-parent-id', '');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.classList.remove('is-parent-present');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('data-parent-rule-id', '');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('data-parent-support-text-content', '');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.classList.remove('alreadyDependentField');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.classList.remove('addedAsChild');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-parent-present', '');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-child-present', '');\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.removeAttribute('group-code');\r\n }\r\n\r\n setAttributes(dependentItem: any, selectedControlFieldType: any, currentPanelContrlID: any) {\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('data-condition-id', dependentItem.ID);\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('data-parent-id', currentPanelContrlID);\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('is-parent-present', 'true');\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('data-parent-rule-id', dependentItem.ConditionID);\r\n if (selectedControlFieldType && selectedControlFieldType.toLowerCase() == Control.Text.toLowerCase()) {\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('data-parent-support-text-content', dependentItem.SupportText);\r\n }\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.classList.add('alreadyDependentField');\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.classList.add('addedAsChild');\r\n }\r\n\r\n updateDependecyForDependentControls(currentControlId: any, ctrlContentId: any) {\r\n // let ControlDependencyFieldsString: any = localStorage.getItem('ControlDependencyFieldsArray');\r\n let ControlDependencyFieldsString: any = this.sessionStorageService.getControlDependencyFieldsArray();\r\n if (ControlDependencyFieldsString) {\r\n let controlDependencyFieldsArray = JSON.parse(ControlDependencyFieldsString);\r\n controlDependencyFieldsArray = controlDependencyFieldsArray.filter((obj: any) => { return obj.ControlId.toLowerCase() != currentControlId.toLowerCase() });\r\n // localStorage.setItem('ControlDependencyFieldsArray', JSON.stringify(controlDependencyFieldsArray));\r\n this.sessionStorageService.setControlDependencyFieldsArray(JSON.stringify(controlDependencyFieldsArray));\r\n }\r\n\r\n // let allImageControlsString: any = localStorage.getItem('AllImageControls');\r\n let allImageControlsString: any = this.sessionStorageService.getAllImageControls();\r\n if (allImageControlsString) {\r\n let allImageControlsArray = JSON.parse(allImageControlsString);\r\n allImageControlsArray = allImageControlsArray.filter((obj: any) => { return obj.ControlId.toLowerCase() != currentControlId.toLowerCase() });\r\n // localStorage.setItem('AllImageControls', JSON.stringify(allImageControlsArray));\r\n this.sessionStorageService.setAllImageControls(JSON.stringify(allImageControlsArray));\r\n }\r\n\r\n //todo update dependencies fot this control if it is parent to othercontrol data-parent-id\r\n let conditionalControlsDetailsArray: any = document.querySelectorAll('[data-parent-id=\"' + ctrlContentId + '\"]');\r\n if (conditionalControlsDetailsArray && conditionalControlsDetailsArray.length > 0) {\r\n Array.from(conditionalControlsDetailsArray).forEach((existingParentIdCtrl: any, v: any) => {\r\n let attr_docContentId: any = existingParentIdCtrl.getAttribute('data-document-content-id');\r\n this.removeAttributes(attr_docContentId);\r\n this.removeElementColor(attr_docContentId);\r\n });\r\n }\r\n }\r\n\r\n showHideDependenciesButton() {\r\n let displayDependenciesButton: boolean = false;\r\n let btnGlblAddRules: any = document.getElementById(\"btnGlblAddRules\");\r\n let divGlblAddRules: any = document.getElementById(\"divGlblAddRules\");\r\n let controllingFieldClassArray: any = document.getElementsByClassName(\"controllingField\");\r\n\r\n let count: any = 0;\r\n for (let i = 0; i < controllingFieldClassArray.length; i++) {\r\n if (controllingFieldClassArray[i]) {\r\n let attr_id: any = controllingFieldClassArray[i].getAttribute('id');\r\n let controlEle: any = (document.getElementById(\"resizable_\" + attr_id));\r\n if (controlEle && controlEle.style.display !== \"none\") {\r\n count = parseInt(count) + 1;\r\n }\r\n }\r\n }\r\n let className: any = 'disabledCtrl';\r\n if (count > 0) {\r\n displayDependenciesButton = true;\r\n if (btnGlblAddRules) {\r\n btnGlblAddRules.classList.remove(\"disabledCtrl\");\r\n btnGlblAddRules.setAttribute('title', \"Add Dependencies\");\r\n if (divGlblAddRules) {\r\n divGlblAddRules.setAttribute('title', \"Add Dependencies\");\r\n divGlblAddRules.classList.add(\"enabledCtrl\");\r\n divGlblAddRules.classList.remove(\"disabledPrepareCtrl\");\r\n }\r\n className = 'enabledCtrl';\r\n }\r\n }\r\n else {\r\n displayDependenciesButton = false;\r\n btnGlblAddRules.classList.remove(\"enabledCtrl\");\r\n btnGlblAddRules.setAttribute('title', \"Add controlling field to the document and add dependencies\");\r\n if (divGlblAddRules) {\r\n divGlblAddRules.setAttribute('title', \"Add controlling field to the document and add dependencies\");\r\n divGlblAddRules.classList.add(\"disabledPrepareCtrl\");\r\n divGlblAddRules.classList.remove(\"enabledCtrl\");\r\n }\r\n\r\n className = 'disabledCtrl';\r\n }\r\n return { className: className, displayDependenciesButton: displayDependenciesButton };\r\n }\r\n\r\n updateColorCode(groupColorCode: any) {\r\n let controllingFieldArray: any = document.querySelectorAll('.controllingField');\r\n if (controllingFieldArray && controllingFieldArray.length > 0) {\r\n Array.from(controllingFieldArray).forEach((item: any, v: any) => {\r\n let controlID: any = item.getAttribute('data-document-content-id');\r\n let attribute_id: any = item.getAttribute('id');\r\n var isParentPresent = item.getAttribute('is-parent-present');\r\n var isChildrenPresent = item.getAttribute('is-child-present');\r\n\r\n if (controlID != \"\") {\r\n if (isParentPresent == \"false\" && isChildrenPresent == \"true\") {\r\n var groupCode = item.getAttribute('group-code');\r\n var attr_id = item.getAttribute('id');\r\n if (typeof groupCode != 'undefined') {\r\n var colorForElement = this.commonConstants.DependencyColorCodes[parseInt(groupCode) % 10].Color;\r\n this.applyColorCodeForParent(attr_id, colorForElement, isChildrenPresent);\r\n this.getChildsForParent(controlID, colorForElement);\r\n groupColorCode = parseInt(groupCode) > groupColorCode ? parseInt(groupCode) : groupColorCode;\r\n }\r\n }\r\n this.removeParentColor(controlID, attribute_id);\r\n }\r\n });\r\n }\r\n groupColorCode = groupColorCode + 1;\r\n return groupColorCode;\r\n }\r\n\r\n getChildsForParent(id: any, elementColor: any) {\r\n let getChilds = document.querySelectorAll('[data-parent-id=\"' + id + '\"]');\r\n Array.from(getChilds).forEach((item: any, v: any) => {\r\n var attr_id = item.getAttribute('id');\r\n this.applyColorCodeForChild(attr_id, elementColor);\r\n let isChildPresentForCurrent = item.getAttribute('is-child-present');\r\n if (isChildPresentForCurrent == \"true\") {\r\n let docContentId = item.getAttribute('data-document-content-id');\r\n this.getChildsForParent(docContentId, elementColor);\r\n this.removeParentColor(docContentId, attr_id);\r\n }\r\n })\r\n }\r\n\r\n applyColorCodeForParent(attr_id: any, colorCode: any, isChildExists: any) {\r\n if (isChildExists == \"false\" || isChildExists == undefined) {\r\n this.applyColorCodeForItem(attr_id, colorCode);\r\n }\r\n }\r\n\r\n applyColorCodeForChild(attr_id: any, colorCode: any) {\r\n this.applyColorCodeForItem(attr_id, colorCode);\r\n }\r\n\r\n applyColorCodeForItem(attr_id: any, colorCode: any) {\r\n let resizableItem: any = document.getElementById(\"resizable_\" + attr_id);\r\n if (resizableItem) {\r\n let guid: any = resizableItem.getAttribute('data-guid');\r\n if (guid && guid.toLowerCase() != Control.Checkbox.toLowerCase() && guid.toLowerCase() != Control.Radio.toLowerCase()) {\r\n resizableItem.classList.remove('control-active-bg-color');\r\n resizableItem.style[\"background-color\"] = '';\r\n resizableItem.style[\"background\"] = colorCode;\r\n resizableItem.style[\"background-color\"] = colorCode;\r\n resizableItem.style[\"border-width\"] = '';\r\n }\r\n }\r\n let divItem: any = document.getElementById(\"div\" + attr_id);\r\n if (divItem) { divItem.style[\"border-color\"] = \"transparent transparent transparent \" + colorCode; }\r\n let spnItem: any = document.getElementById(\"spn\" + attr_id);\r\n if (spnItem) {\r\n spnItem.style[\"background-color\"] = colorCode;\r\n }\r\n }\r\n\r\n removeParentColor(docContentId: any, attr_id: any) {\r\n let parentElement: any = document.querySelector('[data-document-content-id=\"' + docContentId + '\"]');\r\n if (docContentId != \"\" && parentElement) {\r\n var isChildrenPresent = parentElement?.getAttribute('is-child-present');\r\n var isParPresent = parentElement?.getAttribute('is-parent-present');\r\n var attr_parent_id = parentElement?.getAttribute('id');\r\n let data_guid: any = '';\r\n if ((isChildrenPresent == 'false' || typeof isChildrenPresent == 'undefined') && (isParPresent == 'false' || typeof isParPresent == 'undefined')) {\r\n this.removeColorForItem(attr_parent_id);\r\n }\r\n }\r\n }\r\n\r\n removeElementColor(docContentId: any) {\r\n let childElement: any = document.querySelector('[data-document-content-id=\"' + docContentId + '\"]');\r\n if (childElement != \"\" && childElement) {\r\n var attr_id = childElement?.getAttribute('id');\r\n this.removeColorForItem(attr_id);\r\n }\r\n }\r\n\r\n removeColorForItem(attr_id: any) {\r\n let data_guid: any = '';\r\n let resizableItem: any = document.getElementById(\"resizable_\" + attr_id);\r\n if (resizableItem) {\r\n data_guid = resizableItem.getAttribute('data-guid');\r\n if (data_guid && data_guid.toLowerCase() != Control.Checkbox.toLowerCase() && data_guid.toLowerCase() != Control.Radio.toLowerCase()) {\r\n let selectionBorderIdEle: any = document.getElementById('selectionBorderId');\r\n if (selectionBorderIdEle === null) {\r\n resizableItem.style[\"background-color\"] = 'rgb(255, 255, 255)';\r\n }\r\n }\r\n }\r\n\r\n let divItem: any = document.getElementById(\"div\" + attr_id);\r\n if (divItem) {\r\n // let divItem: any = document.getElementById(\"div\" + attr_id);\r\n if (data_guid) {\r\n if (data_guid.toLowerCase() == Control.DropDown.toLowerCase())\r\n divItem.style[\"border-color\"] = \"transparent transparent transparent #fff\";\r\n else divItem.style[\"border-color\"] = \"transparent transparent transparent #eee\";\r\n }\r\n }\r\n let spnItem: any = document.getElementById(\"spn\" + attr_id);\r\n if (data_guid && data_guid.toLowerCase() == Control.Checkbox.toLowerCase() || data_guid.toLowerCase() != Control.Radio.toLowerCase()) {\r\n if (resizableItem && resizableItem.getAttribute('data-selected1') == \"true\") {\r\n let mainParentEle: any = document.getElementById(attr_id);\r\n if (mainParentEle) {\r\n spnItem.classList.add('checked-visible');\r\n spnItem.setAttribute('checked', 'true');\r\n let isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n let isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n if (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n let controlGroupCode: any = mainParentEle.getAttribute('group-code');\r\n if (controlGroupCode != null && controlGroupCode != \"null\" && controlGroupCode != undefined && controlGroupCode != \"undefined\" && controlGroupCode != \"\") {\r\n if (controlGroupCode != \"0\" && controlGroupCode != 0) {\r\n let colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(controlGroupCode) % 10].Color;\r\n this.applyColorCodeForParent(attr_id, colorCode, \"false\");\r\n }\r\n }\r\n }\r\n else {\r\n spnItem.style[\"background-color\"] = 'green';\r\n }\r\n }\r\n }\r\n else {\r\n if (spnItem) { spnItem.style[\"background-color\"] = ''; }\r\n }\r\n }\r\n else {\r\n if (spnItem) { spnItem.style[\"background-color\"] = ''; }\r\n }\r\n }\r\n\r\n updateTextAreaText(textAreaVal: any, currentSelectedControl: any) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n let textInput: any = document.getElementById('addTextTextarea');\r\n let checkbox: any = document.getElementById('checkboxHideText');\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrlEle && !textAreaVal.includes('*')) {\r\n //ctrlEle.setAttribute('data-isHideTextWithAsterisk', (checkbox != null && (checkbox.checked == 'true' || checkbox.checked == true)) ? 'true' : 'false');\r\n ctrlEle.setAttribute('data-isHideTextWithAsterisk', ctrlEle.getAttribute('data-isHideTextWithAsterisk'));\r\n let oldValue: any = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n ctrlEle.setAttribute('data-asteriskOriginalText', textAreaVal.includes('*') ? oldValue !== \"null\" ? oldValue : '' : textAreaVal);\r\n }\r\n // Call toggleHideTextWithAsterisks if the checkbox is checked\r\n let isHideTextWithAsterisk: any = ctrlEle.getAttribute('data-isHideTextWithAsterisk');\r\n if (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true) {\r\n this.toggleHideTextWithAsterisks(true, currentSelectedControl);\r\n }\r\n // Save the text only if not empty (but we handle asterisks separately)\r\n let integrationType: any = ctrlEle.getAttribute('data-IntegrationType');\r\n if (integrationType === 'Bullhorn' || integrationType === 'Vincere') {\r\n let entityValue: any = ctrlEle?.getAttribute('data-EntityFieldValue');\r\n let entityField: any = ctrlEle?.getAttribute('data-entityfield');\r\n let validValue: any = entityValue && entityValue !== 'null' && entityValue !== 'undefined' ? entityValue : entityField && entityField !== 'null' && entityField !== 'undefined' ? entityField : textAreaVal;\r\n ctrlEle.setAttribute('data-addtextareaval', validValue && validValue === \"*\".repeat(validValue.length) ? ctrlEle?.getAttribute('data-addtextareaval') : validValue);\r\n ctrlEle.setAttribute('data-asteriskoriginaltext', validValue && validValue === \"*\".repeat(validValue.length) ? ctrlEle?.getAttribute('data-addtextareaval') : validValue);\r\n spnCurrentSelectedControl.innerHTML = validValue.replace(/\\n/g, ' ');\r\n if (isHideTextWithAsterisk === true || isHideTextWithAsterisk === 'true') {\r\n spnCurrentSelectedControl.innerHTML = '*'.repeat(spnCurrentSelectedControl.innerHTML.length);\r\n }\r\n }\r\n else {\r\n spnCurrentSelectedControl.innerHTML = textAreaVal.replace(/\\n/g, ' ');\r\n }\r\n spnCurrentSelectedControl.classList.add('add-text-ellipsis');\r\n if (textInput) {\r\n spnCurrentSelectedControl.setAttribute('data-addtextareaval', textInput.value);\r\n ctrlEle.setAttribute('data-addtextareaval', textInput.value);\r\n }\r\n this.applyTextPrefillData(currentSelectedControl);\r\n }\r\n }\r\n\r\n applyIdAndHtmlId(ctrlObj: any) {\r\n let parentEle: any = document.getElementById(ctrlObj.id);\r\n if (parentEle) {\r\n let ctrlId: any = parentEle.getAttribute('data-int-control-id');\r\n let dataDocumentContentVal: any = parentEle.getAttribute('data-document-content-id');\r\n let dataDocumentContentId: any = document.getElementById('dataDocumentContent');\r\n let addCtrlHtmlId: any = document.getElementById('ctrlHtmlId');\r\n if (dataDocumentContentId) {\r\n dataDocumentContentId.value = dataDocumentContentVal;\r\n }\r\n if (addCtrlHtmlId) {\r\n addCtrlHtmlId.value = ctrlId;\r\n }\r\n }\r\n }\r\n\r\n //byDefault required field checked, unchecked\r\n addDefaultRequiredField(obj: any, isRequiredChecked: any) {\r\n let ctrlEle: any = document.getElementById('resizable_' + obj.id);\r\n if (ctrlEle) {\r\n ctrlEle.setAttribute('data-selected', isRequiredChecked);\r\n }\r\n\r\n let chkRequiredSelectedEle: any = document.getElementById('chkRequiredSelected');\r\n if (obj.className.toLowerCase() === 'radio') {\r\n chkRequiredSelectedEle = document.getElementById('chkRadioRequiredSelected');\r\n }\r\n if (chkRequiredSelectedEle) {\r\n chkRequiredSelectedEle.checked = isRequiredChecked;\r\n }\r\n }\r\n\r\n isControlingField(currentControlId: any) {\r\n let isControlingField = false;\r\n if (currentControlId != '' && currentControlId != null && currentControlId != undefined) {\r\n let item: any = document.getElementById('resizable_' + currentControlId);\r\n if (item) {\r\n let data_guid: any = item.getAttribute('data-guid');\r\n if ((data_guid != null && data_guid != '' && data_guid != undefined) &&\r\n (data_guid.toLowerCase() == Control.Text.toLowerCase() || data_guid.toLowerCase() == Control.DropDown.toLowerCase() ||\r\n data_guid.toLowerCase() == Control.Checkbox.toLowerCase() || data_guid.toLowerCase() == Control.Radio.toLowerCase())) {\r\n isControlingField = true;\r\n }\r\n }\r\n }\r\n return isControlingField;\r\n }\r\n\r\n applyControlProperties(currentSelectedControl: any, resizableCurrentSelectedControl: any, attr_id: any) {\r\n setTimeout(() => {\r\n let chRequiredSelected: any = (document.getElementById(\"chRequiredSelected\"));\r\n if (chRequiredSelected) { //required\r\n if (resizableCurrentSelectedControl?.getAttribute('data-selected') == \"true\") chRequiredSelected.checked = true; else chRequiredSelected.checked = false;\r\n }\r\n\r\n let chkPreSelected: any = (document.getElementById(\"chkPreSelected\"));\r\n if (chkPreSelected) { //preselected\r\n if (resizableCurrentSelectedControl?.getAttribute('data-selected1') == \"true\") chkPreSelected.checked = true; else chkPreSelected.checked = false;\r\n }\r\n\r\n let chkRadioRequiredSelected: any = (document.getElementById(\"chkRadioRequiredSelected\"));\r\n if (chkRadioRequiredSelected) { //radio required\r\n if (resizableCurrentSelectedControl?.getAttribute('data-selected') == \"true\") chkRadioRequiredSelected.checked = true; else chkRadioRequiredSelected.checked = false;\r\n }\r\n\r\n let checkboxgroup: any = (document.getElementById(\"checkboxgroup\"));\r\n let dataIsGroupChecked: any = resizableCurrentSelectedControl.getAttribute('data-isgroupchecked');\r\n if (checkboxgroup) { if (dataIsGroupChecked == \"true\") checkboxgroup.checked = true; else checkboxgroup.checked = false; }\r\n\r\n let inputGroupCtrl: any = (document.getElementById(\"inputGroupCtrl\"));\r\n let inputGroupNameCtrl: any = (document.getElementById(\"inputGroupNameCtrl\"));\r\n if (inputGroupCtrl) {\r\n let attr_data_groupname: any = resizableCurrentSelectedControl.getAttribute('data-groupname');\r\n if (attr_data_groupname != '' && attr_data_groupname != null) {\r\n inputGroupCtrl.value = attr_data_groupname;\r\n }\r\n else inputGroupCtrl.value = '';\r\n }\r\n\r\n if (inputGroupNameCtrl) {\r\n let spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n if (spnCurrentSelectedControl) {\r\n let attr_name: any = spnCurrentSelectedControl.getAttribute('name');\r\n if (attr_name != '' && attr_name != null) {\r\n inputGroupNameCtrl.value = attr_name;\r\n }\r\n else if (attr_id.toLowerCase() == Control.Radio.toLowerCase()) {\r\n inputGroupNameCtrl.value = 'Radio';\r\n }\r\n else if (attr_id.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n inputGroupNameCtrl.value = 'Checkbox';\r\n }\r\n }\r\n }\r\n\r\n if (attr_id && attr_id.toLowerCase() == Control.Date.toLowerCase() && resizableCurrentSelectedControl) {\r\n let prefillDateCheckbox: any = document.getElementById(\"prefillDateCheckbox\");\r\n if (prefillDateCheckbox) {\r\n if (resizableCurrentSelectedControl.getAttribute('data-defaultdate') == \"true\") prefillDateCheckbox.checked = true;\r\n else prefillDateCheckbox.checked = false;\r\n }\r\n }\r\n\r\n if (attr_id && attr_id.toLowerCase() == Control.DropDown.toLowerCase() && resizableCurrentSelectedControl) {\r\n let drpFirstLineBlank: any = document.getElementById(\"drpFirstLineBlank\");\r\n if (drpFirstLineBlank) {\r\n if (resizableCurrentSelectedControl.getAttribute('data-firstlineblank') == \"true\") drpFirstLineBlank.checked = true;\r\n else drpFirstLineBlank.checked = false;\r\n }\r\n }\r\n\r\n if (attr_id && attr_id.toLowerCase() == Control.Text.toLowerCase() && resizableCurrentSelectedControl) {\r\n let radioPrefill: any = document.getElementById(\"radioPrefill\");\r\n let radioDisplayLabel: any = document.getElementById(\"radioDisplayLabel\");\r\n let checkboxHideText: any = document.getElementById(\"checkboxHideText\");\r\n if (checkboxHideText) checkboxHideText.checked = resizableCurrentSelectedControl.getAttribute('data-isHideTextWithAsterisk') == \"true\" ? true : false;\r\n checkboxHideText?.style.setProperty('background', '');\r\n if (resizableCurrentSelectedControl.getAttribute('data-prefill') == \"true\") {\r\n if (radioPrefill) radioPrefill.checked = true;\r\n if (radioDisplayLabel) radioDisplayLabel.checked = false;\r\n }\r\n else {\r\n resizableCurrentSelectedControl.setAttribute('data-prefill', 'false');\r\n resizableCurrentSelectedControl.setAttribute('data-displayLabel', 'true');\r\n checkboxHideText.checked = (checkboxHideText.checked === true || checkboxHideText.checked === 'true') ? true : false;\r\n if (radioPrefill) radioPrefill.checked = false;\r\n if (radioDisplayLabel) radioDisplayLabel.checked = true;\r\n }\r\n }\r\n\r\n this.removeControlAttributes(resizableCurrentSelectedControl, resizableCurrentSelectedControl?.getAttribute('data-guid'));\r\n }, 15);\r\n }\r\n\r\n //byDefault is fixed width field checked\r\n addDefaultFixedWidth(obj: any, hideFixedwidthCheckbox: any, isFixedWidthChecked: any) {\r\n let pCtrlEle: any = document.getElementById(obj.id);\r\n let ctrlName: any = '';\r\n if (pCtrlEle) {\r\n ctrlName = pCtrlEle.getAttribute('data-controlname');\r\n }\r\n if (hideFixedwidthCheckbox === false) {\r\n let ctrlEle: any = document.getElementById('resizable_' + obj.id);\r\n if (ctrlEle) {\r\n ctrlEle.setAttribute('data-isfixedwidth', isFixedWidthChecked);\r\n if (ctrlName.toLowerCase() === 'text') {\r\n ctrlEle.setAttribute('data-maxcharlimit', '4000');\r\n ctrlEle.setAttribute('maxcharallowed', '4000');\r\n ctrlEle.setAttribute('maxemailcharallowed', '4000');\r\n } else {\r\n ctrlEle.setAttribute('data-maxcharlimit', '100');\r\n }\r\n obj.isFixedWidth = isFixedWidthChecked;\r\n }\r\n\r\n if (ctrlName.toLowerCase() === 'name') {\r\n this.checkFixedWidthFalseAndMaxCharLimit(ctrlName, 'nameInputLength', 'nameCharInputLimit', 'isFixedWidthNameContainer', isFixedWidthChecked);\r\n }\r\n else if (ctrlName.toLowerCase() === 'title') {\r\n this.checkFixedWidthFalseAndMaxCharLimit(ctrlName, 'titleInputLength', 'titleCharInputLimit', 'isFixedWidthTitleContainer', isFixedWidthChecked);\r\n }\r\n else if (ctrlName.toLowerCase() === 'text') {\r\n this.checkFixedWidthFalseAndMaxCharLimit(ctrlName, 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer', isFixedWidthChecked);\r\n }\r\n } else {\r\n setTimeout(() => {\r\n if (ctrlName.toLowerCase() === 'name') {\r\n this.checkFixedWidthTrueAndMaxCharLimit(ctrlName.toLowerCase(), 'nameInputLength', 'nameCharInputLimit', 'isFixedWidthNameContainer');\r\n }\r\n else if (ctrlName.toLowerCase() === 'title') {\r\n this.checkFixedWidthTrueAndMaxCharLimit(ctrlName.toLowerCase(), 'titleInputLength', 'titleCharInputLimit', 'isFixedWidthTitleContainer');\r\n }\r\n else if (ctrlName.toLowerCase() === 'text') {\r\n this.checkFixedWidthTrueAndMaxCharLimit(ctrlName.toLowerCase(), 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer');\r\n }\r\n }, 200);\r\n }\r\n }\r\n\r\n applyPrefillDefaultDateProperty(event: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById('resizable_' + currentControlId))\r\n if (event.target.checked) controlEle.setAttribute('data-defaultdate', \"true\");\r\n else controlEle.setAttribute('data-defaultdate', \"false\");\r\n }\r\n\r\n applyRadioGroup(event: any, currentControlId: any) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentControlId));\r\n if (spnCurrentSelectedControl) {\r\n if (event.target.checked)\r\n spnCurrentSelectedControl?.setAttribute('data-selected', 'true');\r\n else\r\n spnCurrentSelectedControl?.setAttribute('data-selected', 'false');\r\n }\r\n }\r\n\r\n applyFirstLineBlank(event: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById('resizable_' + currentControlId))\r\n if (controlEle) {\r\n if (event.target.checked) controlEle.setAttribute('data-firstlineblank', \"true\");\r\n else controlEle.setAttribute('data-firstlineblank', \"false\");\r\n }\r\n }\r\n\r\n applyLabelName(event: any, currentControlId: any, type: any) {\r\n let controlEle: any = (document.getElementById('spn' + currentControlId))\r\n if (controlEle) {\r\n if (event.target.value) {\r\n controlEle.innerHTML = event.target.value;\r\n controlEle.setAttribute('isupdated', \"true\");\r\n controlEle.setAttribute('data-label-text', event.target.value);\r\n }\r\n else {\r\n controlEle.innerHTML = ''; controlEle.setAttribute('isupdated', \"false\");\r\n if (type === 'label') { this.toastrService.warning('Please enter a label for the label control.', 'Warning'); return false; }\r\n //else {this.toastrService.warning('Please enter a label for the hyperlink control.', 'Warning'); return false;}\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n applyHyperLinkURL(event: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById(currentControlId))\r\n if (controlEle) {\r\n if (event.target.value) {\r\n let spnControlEle: any = (document.getElementById(\"spn\" + currentControlId));\r\n if (/^(http|https|ftp):\\/\\/[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/i.test(event.target.value)) {\r\n controlEle.setAttribute('data-hyperlink', event.target.value);\r\n // let spnControlEle: any = (document.getElementById(\"spn\" + currentControlId));\r\n if (spnControlEle) {\r\n if (spnControlEle.getAttribute('isupdated') == null || spnControlEle.getAttribute('isupdated') == \"false\") {\r\n spnControlEle.innerHTML = event.target.value;\r\n spnControlEle.setAttribute('isupdated', \"true\");\r\n }\r\n }\r\n }\r\n else {\r\n event.target.value = '';\r\n spnControlEle.setAttribute('isupdated', \"false\");\r\n controlEle.setAttribute('data-hyperlink', '');\r\n this.toastrService.warning(this.commonConstants.hyperlinkWarningMessage, 'Warning'); return false;\r\n }\r\n }\r\n else {\r\n controlEle.setAttribute('data-hyperlink', '');\r\n this.toastrService.warning(this.commonConstants.hyperlinkWarningMessage, 'Warning'); return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n applyNewContentId(event: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById(currentControlId))\r\n if (controlEle) {\r\n if (event.target.value) controlEle.setAttribute('data-int-control-id', event.target.value);\r\n else {\r\n this.toastrService.warning('Field cannot be blank.', 'Warning'); return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n applyRadioAndCheckBoxSizes(defaultSize: any, controlEle: any, spnControlEle: any) {\r\n controlEle.style[\"padding-top\"] = \"0px\";\r\n if (defaultSize == \"1\") {\r\n if (controlEle) {\r\n controlEle.style.width = \"20px\";\r\n controlEle.style.height = \"20px\";\r\n }\r\n if (spnControlEle) {\r\n spnControlEle.style.width = \"16px\";\r\n spnControlEle.style.height = \"16px\";\r\n }\r\n }\r\n else if (defaultSize == \"2\") {\r\n if (controlEle) {\r\n controlEle.style.width = \"22px\";\r\n controlEle.style.height = \"22px\";\r\n }\r\n if (spnControlEle) {\r\n spnControlEle.style.width = \"18px\";\r\n spnControlEle.style.height = \"18px\";\r\n }\r\n }\r\n else if (defaultSize == \"3\") {\r\n if (controlEle) {\r\n controlEle.style.width = \"24px\";\r\n controlEle.style.height = \"24px\";\r\n }\r\n if (spnControlEle) {\r\n spnControlEle.style.width = \"20px\";\r\n spnControlEle.style.height = \"20px\";\r\n }\r\n }\r\n else if (defaultSize == \"4\") {\r\n if (controlEle) {\r\n controlEle.style.width = \"26px\";\r\n controlEle.style.height = \"26px\";\r\n }\r\n if (spnControlEle) {\r\n spnControlEle.style.width = \"22px\";\r\n spnControlEle.style.height = \"22px\";\r\n }\r\n }\r\n else {\r\n if (controlEle) {\r\n controlEle.style.width = \"22px\";\r\n controlEle.style.height = \"22px\";\r\n }\r\n if (spnControlEle) {\r\n spnControlEle.style.width = \"18px\";\r\n spnControlEle.style.height = \"18px\";\r\n }\r\n }\r\n }\r\n\r\n applyRadioCheckboxSizes(defaultSize: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById('resizable_' + currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('data-size', this.getRadioCheckBoxSize(defaultSize));\r\n let spnControlEle: any = (document.getElementById('spn' + currentControlId));\r\n this.applyRadioAndCheckBoxSizes(defaultSize, controlEle, spnControlEle);\r\n }\r\n return true;\r\n }\r\n\r\n getRadioCheckBoxSize(defaultSize: any) {\r\n if (defaultSize == \"1\") { return \"Small\"; }\r\n else if (defaultSize == \"2\") { return \"Standard\"; }\r\n else if (defaultSize == \"3\") { return \"Large\"; }\r\n else if (defaultSize == \"4\") { return \"Extra Large\"; }\r\n else return \"Standard\";\r\n }\r\n\r\n getRadioCheckBoxSizeVal(defaultSize: any) {\r\n if (defaultSize == \"Small\") { return \"1\"; }\r\n else if (defaultSize == \"Standard\") { return \"2\"; }\r\n else if (defaultSize == \"Large\") { return \"3\"; }\r\n else if (defaultSize == \"Extra Large\") { return \"4\"; }\r\n else return \"2\";\r\n }\r\n\r\n applyDefaultDateFormat(defaultDateFormat: any, currentControlId: any) {\r\n let controlEle: any = (document.getElementById('resizable_' + currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('data-defaultFormat', this.getDateFormat(defaultDateFormat));\r\n }\r\n let spnControlEle: any = (document.getElementById('spn' + currentControlId))\r\n if (spnControlEle) {\r\n spnControlEle.innerHTML = this.getDateFormatInnerHtmlVal(defaultDateFormat);\r\n }\r\n return true;\r\n }\r\n\r\n getDateFormat(defaultDateFormat: any) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n let dateformatArray: any = this.dateFormat;\r\n let dateArrayObj: any = dateformatArray.filter((obj: any) => obj.value == defaultDateFormat);\r\n if (dateArrayObj && dateArrayObj.length > 0)\r\n return dateArrayObj[0].viewValue;\r\n else return this.dateFormat[0].viewValue;\r\n }\r\n\r\n getDateFormatInnerHtmlVal(defaultDateFormat: any) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n this.dateformatValue = this.sessionStorageService.getDateformatValue();\r\n let dateformatArray: any = this.dateformatValue;\r\n let dateArrayObj: any = dateformatArray.filter((obj: any) => obj.value == defaultDateFormat);\r\n if (dateArrayObj && dateArrayObj.length > 0) {\r\n return dateArrayObj[0].viewValue;\r\n }\r\n else {\r\n return this.dateFormat[0].viewValue;\r\n }\r\n }\r\n\r\n getDateFormatVal(defaultDateFormatVal: any) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n let dateformatArray: any = this.dateFormat;\r\n let dateArrayObj: any = dateformatArray.filter((obj: any) => obj.viewValue == defaultDateFormatVal);\r\n if (dateArrayObj && dateArrayObj.length > 0) {\r\n return dateArrayObj[0].value;\r\n }\r\n else {\r\n return this.dateFormat[0].value;\r\n }\r\n }\r\n\r\n getDefaultDateOption(dateFormatID: any) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n let dateformatArray: any = this.sessionStorageService.getDateformat();\r\n if (dateformatArray && dateformatArray.length) {\r\n let dateArrayObj: any = dateformatArray.filter((obj: any) => obj.dateFormatId.toLowerCase() == dateFormatID.toLowerCase());\r\n if (dateArrayObj && dateArrayObj.length > 0) {\r\n return dateArrayObj[0].value;\r\n }\r\n else {\r\n return '1';\r\n }\r\n } else {\r\n return '1';\r\n }\r\n }\r\n\r\n getTextTypeValue(textType: any) {\r\n let returnTypeVal: any = '';\r\n switch (textType.toLowerCase()) {\r\n case 'text':\r\n returnTypeVal = '26C0ACEA-3CC8-43D6-A255-A870A8524A77';\r\n break;\r\n case 'numeric':\r\n returnTypeVal = 'B0443A47-89C3-4826-BECC-378D81738D03';\r\n break;\r\n case 'alphabet':\r\n returnTypeVal = '88A0B11E-5810-4ABF-A8B6-856C436E7C49';\r\n break;\r\n case 'ssn':\r\n returnTypeVal = 'DCBBE75C-FDEC-472C-AE25-2C42ADFB3F5D';\r\n break;\r\n case 'zip':\r\n returnTypeVal = '5121246A-D9AB-49F4-8717-4EF4CAAB927B';\r\n break;\r\n case 'date':\r\n returnTypeVal = '8348E5CD-59EA-4A77-8436-298553D286BD';\r\n break;\r\n case 'email':\r\n returnTypeVal = '1AD2D4EC-4593-435E-AFDD-F8A90426DE96';\r\n break;\r\n }\r\n return returnTypeVal;\r\n }\r\n\r\n getFontFamilyId(fontFamily: any) {\r\n let returnId: any = 'D4A45ECD-3865-448A-92FA-929C2295EA34'; //default courier\r\n switch (fontFamily.toLowerCase()) {\r\n case 'arial':\r\n returnId = '1AB25FA7-A294-405E-A04A-3B731AD795AC';\r\n break;\r\n case 'cambria':\r\n returnId = '1875C58D-52BD-498A-BE6D-433A8858357E';\r\n break;\r\n case 'courier':\r\n returnId = 'D4A45ECD-3865-448A-92FA-929C2295EA34';\r\n break;\r\n case 'times new roman':\r\n returnId = '956D8FD3-BB0F-4E30-8E55-D860DEABB346';\r\n break;\r\n }\r\n return returnId;\r\n }\r\n\r\n applyFontSizePxOrPt(currentControlId: any, selectedValue: any) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentControlId));\r\n if (spnCurrentSelectedControl) {\r\n let fontSizeSelect: any = (document.getElementById('fontSizeSelect'));\r\n if (selectedValue && fontSizeSelect && fontSizeSelect.value) {\r\n spnCurrentSelectedControl.style.fontSize = fontSizeSelect.value + '' + selectedValue;\r\n }\r\n }\r\n }\r\n\r\n setTypographyConversionValue(fontSize: any) {\r\n let fontSizeVal: any = Typography.SetTypography[fontSize];\r\n return fontSizeVal;\r\n }\r\n\r\n getTypographyConversionValue(fontSize: any) {\r\n let fontSizeVal: any = Typography.GetTypography[fontSize];\r\n return fontSizeVal;\r\n }\r\n\r\n applyFontStyles(currentControlId: any, styleObj: any) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentControlId));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.style.fontWeight = styleObj.isBold ? 'bold' : 'normal';\r\n spnCurrentSelectedControl.style.fontStyle = styleObj.isItalic ? 'italic' : 'normal';\r\n spnCurrentSelectedControl.style.textDecoration = styleObj.isUnderlined ? 'underline' : 'none';\r\n }\r\n }\r\n\r\n applyTextAlign(currentControlId: any, type: any) {\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"spn\" + currentControlId));\r\n if (resizableCurrentSelectedControl) {\r\n resizableCurrentSelectedControl.style.textAlign = type;\r\n resizableCurrentSelectedControl.setAttribute('data-textAlign', type);\r\n\r\n let hyperCurrentSelectedControl: any = (document.getElementById(\"hyper_\" + currentControlId));\r\n if (hyperCurrentSelectedControl) {\r\n hyperCurrentSelectedControl.style.textAlign = type;\r\n }\r\n }\r\n }\r\n\r\n applyColorPicker(currentControlId: any, color: any) {\r\n setTimeout(() => {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentControlId));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.style.color = color;\r\n }\r\n }, 300);\r\n }\r\n\r\n //Updating Font Family Id based on selection\r\n updateDefaultFontFamilyId(id: any, fontFamily: any) {\r\n let spnCurrentSelectedControl = (document.getElementById('spn' + id));\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.style.fontFamily = fontFamily;\r\n spnCurrentSelectedControl.setAttribute('font-family-id', this.getFontFamilyId(fontFamily));\r\n }\r\n }\r\n\r\n //Numeric --> Number or Decimal\r\n applyTextTypeDecimal(currentControlId: any, selectedVal: any) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentControlId));\r\n if (controlEle) {\r\n const valueToFind = selectedVal;\r\n const additionalValidationItem = this.commonConstants.AdditionalValidation.find((item: { value: any; }) => item.value === valueToFind);\r\n if (additionalValidationItem) {\r\n controlEle.removeAttribute('data-additional-validation-option');\r\n controlEle.setAttribute('data-additional-validation-name', additionalValidationItem.viewname);\r\n if (selectedVal === '2' || selectedVal === 2) {\r\n controlEle.setAttribute('data-additional-validation-option', '1');\r\n }\r\n }\r\n }\r\n }\r\n\r\n //Numeric --> Decimal options are Both,Comma and Period\r\n applyTextTypeDecimalOption(currentControlId: any, selectedVal: any) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('data-additional-validation-option', selectedVal);\r\n }\r\n }\r\n\r\n applyTextTypeDate(currentControlId: any, selectedVal: any) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('data-additional-validation-option', selectedVal);\r\n controlEle.setAttribute('data-texttype', this.getTextTypeValue('date'));\r\n }\r\n }\r\n\r\n applyTextTypeZip(currentControlId: any, selectedVal: any) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('data-additional-validation-option', selectedVal);\r\n controlEle.setAttribute('data-texttype', this.getTextTypeValue('zip'));\r\n }\r\n }\r\n\r\n checkContolAttribuesData(type: any, typeEnvelopeOrTemplate: any) {\r\n const regex = /^[0-9a-zA-Z\\ _]+$/;\r\n let isValid: any = true;\r\n let controlArray: any = [];\r\n let resultObj: any = {};\r\n let docGuid: any;\r\n let attr_data_texttype_Guid: any;\r\n let documentImagesControlsArray: any = document.querySelectorAll('.signControl');\r\n if (documentImagesControlsArray && documentImagesControlsArray.length > 0) {\r\n let totalControlCount = documentImagesControlsArray.length;\r\n Array.from(documentImagesControlsArray).forEach((ele: any) => {\r\n if (ele && isValid == true) {\r\n let attr_id: any = ele?.getAttribute('id');\r\n //resizable\r\n let controlEle: any = (document.getElementById(\"resizable_\" + attr_id));\r\n if (controlEle && controlEle.style.display !== \"none\") {\r\n //Main parent div\r\n let attr_int_control_id: any = ele?.getAttribute('data-int-control-id');\r\n let attr_contentId: any = ele?.getAttribute('data-document-content-id');\r\n let attr_pageNo: any = ele?.getAttribute('data-pageno');\r\n let attr_doc_pageNo: any = ele?.getAttribute('docpageno');\r\n let docImgAttr: any = document.getElementById(\"selectionBox\" + attr_pageNo);\r\n let imgDocumentId: any;\r\n if (docImgAttr && docImgAttr != null) {\r\n imgDocumentId = docImgAttr?.getAttribute('img-document-id');\r\n docGuid = Guid.parse(imgDocumentId);\r\n docGuid = docGuid.value;\r\n attr_doc_pageNo = docImgAttr?.getAttribute('docpageno');\r\n }\r\n let attr_ctrlNum: any = ele?.getAttribute('data-ctrlnum');\r\n let attr_ctrlName: any = ele?.getAttribute('data-controlname');\r\n let attr_group_code: any = ele?.getAttribute('group-code');\r\n let attr_data_condition_id: any = ele?.getAttribute('data-condition-id');\r\n let attr_data_parent_id: any = ele?.getAttribute('data-parent-id');\r\n let attr_is_parent_present: any = ele?.getAttribute('is-parent-present');\r\n let attr_data_parent_rule_id: any = ele?.getAttribute('data-parent-rule-id');\r\n let attr_is_child_present: any = ele?.getAttribute('is-child-present');\r\n let attr_supportText: any = ele?.getAttribute('data-parent-support-text-content');\r\n\r\n //Resizable div\r\n\r\n let attr_data_guid: any = controlEle?.getAttribute('data-guid');\r\n let attr_title: any = controlEle?.getAttribute('title');\r\n let attr_data_rcptid: any = controlEle?.getAttribute('data-rcptid');\r\n let attr_data_original_rcptid: any = controlEle?.getAttribute('data-original-rcptid');\r\n let attr_controlValue: any = controlEle?.getAttribute('data-control-val');\r\n // let attr_data_recp_color: any = controlEle?.getAttribute('data-recp-color');\r\n // let attr_pageno: any = controlEle?.getAttribute('pageno');\r\n let attr_data_typography: any = controlEle?.getAttribute('data-typography');\r\n let attr_data_selected: any = controlEle?.getAttribute('data-selected');\r\n let attr_data_selected1: any = controlEle?.getAttribute('data-selected1');\r\n let attr_data_customtooltip: any = controlEle?.getAttribute('data-customtooltip');\r\n let attr_data_original_title: any = controlEle?.getAttribute('data-original-title');\r\n let attr_data_additional_validation_name: any = controlEle?.getAttribute('data-additional-validation-name');\r\n let attr_data_additional_validation_option: any = controlEle?.getAttribute('data-additional-validation-option');\r\n let attr_data_isfixedwidth: any = controlEle?.getAttribute('data-isfixedwidth');\r\n let attr_data_prefill: any = controlEle?.getAttribute('data-prefill');\r\n let attr_data_displayLabel: any = controlEle?.getAttribute('data-displayLabel');\r\n\r\n let attr_maxlengthallowed: any = controlEle?.getAttribute('maxlengthallowed');\r\n let attr_maxcharallowed: any = \"\";\r\n let attr_maxemailcharallowed: any = \"\";\r\n let attr_data_isHideTextWithAsterisk: any = controlEle?.getAttribute('data-isHideTextWithAsterisk');\r\n let attr_data_asteriskOriginalText: any = controlEle?.getAttribute('data-asteriskOriginalText');\r\n\r\n if (attr_data_isfixedwidth == false || attr_data_isfixedwidth == \"false\") {\r\n attr_maxcharallowed = controlEle?.getAttribute('data-maxcharlimit');\r\n if (attr_maxcharallowed == null) {\r\n attr_maxcharallowed = controlEle?.getAttribute('maxcharallowed');\r\n }\r\n\r\n attr_maxemailcharallowed = controlEle?.getAttribute('data-maxcharlimit');\r\n if (attr_maxemailcharallowed == null) {\r\n attr_maxemailcharallowed = controlEle?.getAttribute('maxemailcharallowed');\r\n }\r\n }\r\n else {\r\n attr_maxcharallowed = controlEle?.getAttribute('maxlengthallowed');\r\n attr_maxemailcharallowed = controlEle?.getAttribute('maxlengthallowed');\r\n }\r\n\r\n if (attr_data_additional_validation_name != '' && attr_data_additional_validation_name != null) {\r\n if (attr_data_additional_validation_name == 'Zip' || attr_data_additional_validation_name == \"Zip Format\") {\r\n if (attr_data_additional_validation_option != '' && attr_data_additional_validation_option != null) {\r\n if (attr_data_additional_validation_option == '1')\r\n attr_data_additional_validation_option = 'Zip';\r\n else if (attr_data_additional_validation_option == '2')\r\n attr_data_additional_validation_option = 'Zip+4';\r\n }\r\n else attr_data_additional_validation_option = 'Zip';\r\n }\r\n else if (attr_data_additional_validation_name == 'Decimal') {\r\n if (attr_data_additional_validation_option != '' && attr_data_additional_validation_option != null) {\r\n if (attr_data_additional_validation_option == '1')\r\n attr_data_additional_validation_option = 'Both';\r\n else if (attr_data_additional_validation_option == '2')\r\n attr_data_additional_validation_option = 'Comma';\r\n else if (attr_data_additional_validation_option == '3')\r\n attr_data_additional_validation_option = 'Period';\r\n }\r\n else attr_data_additional_validation_option = 'Both';\r\n }\r\n else if (attr_data_additional_validation_name == 'Date Format') {\r\n if (attr_data_additional_validation_option != '' && attr_data_additional_validation_option != null) {\r\n if (attr_data_additional_validation_option == '1')\r\n attr_data_additional_validation_option = 'mm/dd/yyyy';\r\n else if (attr_data_additional_validation_option == '2')\r\n attr_data_additional_validation_option = 'dd/mm/yyyy';\r\n else if (attr_data_additional_validation_option == '3')\r\n attr_data_additional_validation_option = 'yyyy/mm/dd';\r\n else if (attr_data_additional_validation_option == '4')\r\n attr_data_additional_validation_option = 'dd-mmm-yyyy';\r\n }\r\n else attr_data_additional_validation_option = 'mm/dd/yyyy';\r\n }\r\n }\r\n\r\n let attr_style: any = controlEle?.getAttribute('style');\r\n //Spn div\r\n let spnControlEle: any = (document.getElementById(\"spn\" + attr_id));\r\n let attr_font_family_id: any = spnControlEle?.getAttribute('font-family-id');\r\n if (attr_font_family_id == null || attr_font_family_id == \"null\" || attr_font_family_id == \"\" || attr_font_family_id == undefined) attr_font_family_id = 'd4a45ecd-3865-448a-92fa-929c2295ea34';\r\n let attr_spn_style: any = spnControlEle?.getAttribute('style');\r\n let textAlign: any = spnControlEle?.getAttribute('data-textAlign');\r\n if (attr_data_guid && attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) { textAlign = 'left'; }\r\n\r\n let innerText: any = attr_ctrlName, name: any = '', color: any = '', senderControlValue: any = '', labelValue: any = '', groupname: any = null, localControlStyle: any = null;\r\n let selectControl: any = [], dependencies: any = [];\r\n let attr_data_texttype: any = '', attr_data_size: any = '', attr_data_defaultdate: any = false;\r\n\r\n let style: any = {};\r\n var styelAttr = attr_spn_style;\r\n if (typeof styelAttr !== 'undefined' && styelAttr !== false) {\r\n var styles = styelAttr.split(';');\r\n for (var st in styles) {\r\n var aux = (styles[st]).trim().split(':');\r\n if (aux[1] && aux[1] != '' && aux[1].trim() != 'undefined')\r\n style[(aux[0]).trim()] = (aux[1].trim());\r\n }\r\n }\r\n\r\n if (!(attr_title == \"Checkbox\" || attr_title == \"Radio\" || attr_title == \"Dropdown\")) {\r\n color = style['color'] || \"#000000\";\r\n if (color.indexOf('rgb') > -1) {\r\n var regExp = /\\(([^)]+)\\)/;\r\n var matches: any = regExp.exec(color);\r\n let result: any, rgb: any;\r\n if (matches[1]) {\r\n result = matches[1].replace(/\\s/g, '').split(',');\r\n }\r\n rgb = result.map(function (x: any) { return parseInt(x); });\r\n color = \"#\" + ((1 << 24) + (rgb[0] << 16) + (rgb[1] << 8) + rgb[2]).toString(16).slice(1);\r\n }\r\n\r\n localControlStyle = {\r\n FontColor: color || \"#000000\",\r\n FontID: attr_font_family_id != null && attr_font_family_id != \"null\" ? attr_font_family_id.toLowerCase() : '',\r\n FontFamily: style['font-family'] != null && style['font-family'] != 'null' && style['font-family'] != undefined ? style['font-family'] : 'Courier',\r\n FontSize: (style['font-size']) ? style['font-size'].replace('px', '') : 14,\r\n IsBold: (style['font-weight']) ? (style['font-weight'] === 'bold' || style['font-weight'] === '600') ? true : false : false,\r\n IsItalic: (style['font-style']) ? style['font-style'] === 'italic' ? true : false : false,\r\n IsUnderline: (style['text-decoration']) ? style['text-decoration'] === 'underline' ? true : false : false,\r\n AdditionalValidationName: attr_data_additional_validation_name != null ? attr_data_additional_validation_name : '',\r\n AdditionalValidationOption: attr_data_additional_validation_option != null ? attr_data_additional_validation_option : '',\r\n ControlHeight: (style['height']) ? style['height'].replace('px', '') : 18,\r\n ControlWidth: (style['width']) ? style['width'].replace('px', '') : 18,\r\n TextAlign: textAlign != null && textAlign != \"null\" && textAlign != '' && textAlign != undefined ? textAlign : 'left'\r\n };\r\n }\r\n\r\n var currentStyle: any = {};\r\n var styelAttr = attr_style;\r\n if (typeof styelAttr !== 'undefined' && styelAttr !== false) {\r\n var styles = styelAttr.split(';');\r\n for (var st in styles) {\r\n var aux = styles[st].trim().split(':');\r\n if (aux[1] && aux[1] != 'undefined')\r\n currentStyle[aux[0].trim()] = aux[1].trim();\r\n }\r\n }\r\n\r\n var controlHeight = controlEle.offsetHeight;\r\n var controlWidth = controlEle.offsetWidth;\r\n if ((attr_title == \"Checkbox\" || attr_title == \"Radio\") && currentStyle) {\r\n controlHeight = currentStyle.height ? parseFloat(currentStyle.height.replace('px', '')) : controlHeight;\r\n controlWidth = currentStyle.width ? parseFloat(currentStyle.width.replace('px', '')) : controlWidth;\r\n }\r\n\r\n let selControl: any = document.getElementById(attr_id);\r\n let parentHeight: any = selControl.parentNode.parentNode.offsetHeight; //'imgControl_' + attr_pageNo\r\n let controlPositions: any = this.getElePositions(controlEle);\r\n let controlLeftPosition: any = parseFloat(controlPositions.Left);\r\n let controlTopPosition: any = parseFloat(controlPositions.Top);\r\n // let outerHeight: any = controlEle.style.height.split('px')[0];\r\n let controlBottom: any = parseInt(parentHeight) - (controlTopPosition + parseInt(controlHeight));\r\n\r\n let imgEle: any = document.getElementById(attr_pageNo);\r\n var imageWidth = imgEle.width;\r\n var imageHeight = imgEle.height;\r\n let originalWidth: any = imgEle.naturalWidth;\r\n let originalHeight: any = imgEle.naturalHeight;\r\n let ratioWidth: any = 1 / (imageWidth / originalWidth);\r\n let ratioHeight: any = 1 / (imageHeight / originalHeight);\r\n\r\n let ZCoordinate: any; //need to check once again\r\n if ((controlBottom * ratioHeight) <= 0) ZCoordinate = 1;\r\n else ZCoordinate = (controlBottom * ratioHeight);\r\n\r\n senderControlValue = (attr_data_selected1 == null || attr_data_selected1 == \"false\" || attr_data_selected1 == false) ? \"\" : attr_data_selected1;\r\n let controlHtml: any = '', attr_data_hyperlink: any = '', selectOptionString: any = '';\r\n if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Signature.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getSignatureHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Initials.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getInitialHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.DateTimeStamp.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getDateTimeStampHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Title.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getTitleHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Company.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getCompanyHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Email.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getEmailHtml();\r\n let attr_data_confirm_submit: any = controlEle.getAttribute('data-confirm-submit');\r\n senderControlValue = attr_data_confirm_submit;\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Name.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getNameHtml();\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getDropdownHtml();\r\n // let attr_data_defaultdate: any = controlEle?.getAttribute('data-firstlineblank');\r\n let selectDropdownControlField: any = (document.getElementById('spn' + attr_id)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n var value = selectDropdownControlField.options[index]?.getAttribute('value');\r\n selectControl.push({ ID: ruleId, OptionText: text, Order: value });\r\n\r\n var option = '';\r\n if (index == 0) option = '';\r\n else option = '';\r\n selectOptionString = selectOptionString + option;\r\n }\r\n\r\n if (selectOptionString == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning('Please add list items for the dropdown control.', 'Warning'); return isValid; }\r\n }\r\n }\r\n else {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning('Please add list items for the dropdown control.', 'Warning'); return isValid; }\r\n }\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getCheckboxHtml();\r\n let attr_data_isGroupChecked: any = controlEle?.getAttribute('data-isGroupChecked');\r\n let attr_data_groupname: any = controlEle?.getAttribute('data-groupname');\r\n groupname = attr_data_groupname;\r\n if (spnControlEle) name = spnControlEle.getAttribute('name');\r\n if (attr_data_isGroupChecked != null && attr_data_isGroupChecked == 'true') {\r\n if (attr_data_groupname == null || attr_data_groupname == '') {\r\n if (type == \"send\") {\r\n isValid = false; this.toastrService.warning('Please enter checkbox control group name field value.', 'Warning'); return isValid;\r\n }\r\n }\r\n else if (attr_data_groupname != \"\" && attr_data_groupname.length > 50) {\r\n if (type == \"send\") {\r\n isValid = false; this.toastrService.warning(\"Group Name should not be more than 50 characters.\", 'Warning'); return isValid;\r\n }\r\n }\r\n else if (attr_data_groupname != \"\" && !attr_data_groupname.match(regex)) {\r\n if (type == \"send\") {\r\n isValid = false; this.toastrService.warning(\"Group Name should be only characters and numbers.\", 'Warning'); return isValid;\r\n }\r\n }\r\n else if (name == null || name == '') {\r\n if (type == \"send\") {\r\n isValid = false; this.toastrService.warning('Please enter checkbox control name field value.', 'Warning'); return isValid;\r\n }\r\n }\r\n }\r\n attr_data_size = controlEle?.getAttribute('data-size');\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getRadioHtml();\r\n attr_data_size = controlEle?.getAttribute('data-size');\r\n let attr_data_groupname: any = controlEle?.getAttribute('data-groupname');\r\n groupname = attr_data_groupname;\r\n if (spnControlEle) name = spnControlEle.getAttribute('name');\r\n if (attr_data_groupname == null || attr_data_groupname == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning('Please enter radio control group name field value.', 'Warning'); return isValid; }\r\n }\r\n else if (attr_data_groupname != \"\" && attr_data_groupname.length > 50) {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning(\"Group Name should not be more than 50 characters.\", 'Warning'); return isValid; }\r\n }\r\n else if (attr_data_groupname != \"\" && !attr_data_groupname.match(regex)) {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning(\"Group Name should be only characters and numbers.\", 'Warning'); return isValid; }\r\n }\r\n else if (name == null || name == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning('Please enter radio control name field value.', 'Warning'); return isValid; }\r\n }\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Date.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getDateHtml();\r\n attr_data_defaultdate = controlEle?.getAttribute('data-defaultdate');\r\n // let attr_data_defaultformat: any = controlEle?.getAttribute('data-defaultformat');\r\n if (spnControlEle) innerText = spnControlEle.innerHTML;\r\n senderControlValue = (attr_data_selected1 == null || attr_data_selected1 == \"false\" || attr_data_selected1 == false) ? \"\" : attr_data_selected1;\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getTextHtml();\r\n if (spnControlEle) innerText = spnControlEle.innerText; // data-prefill\r\n if (innerText == null || innerText == '') {\r\n let isPrefill: any = controlEle?.getAttribute('data-prefill');\r\n if (type == \"send\" && (isPrefill === true || isPrefill === 'true')) { isValid = false; this.toastrService.warning('Please enter a value for the text control.', 'Warning'); return isValid; }\r\n }\r\n\r\n attr_data_texttype = (controlEle?.getAttribute('data-texttype') != null && controlEle?.getAttribute('data-texttype') != '') ? Guid.parse(controlEle?.getAttribute('data-texttype')) : null;\r\n if (attr_data_texttype) attr_data_texttype_Guid = attr_data_texttype.value;\r\n else attr_data_texttype_Guid = null;\r\n\r\n // let attr_data_validation_type: any = controlEle?.getAttribute('data-validation-type');\r\n // let attr_data_additional_validation_name: any = controlEle?.getAttribute('data-additional-validation-name');\r\n // let attr_data_additional_validation_option: any = controlEle?.getAttribute('data-additional-validation-option');\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Label.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getLabelHtml();\r\n if (spnControlEle) innerText = spnControlEle.innerText;\r\n if (spnControlEle.getAttribute('isupdated') == null || spnControlEle.getAttribute('isupdated') == \"false\") {\r\n innerText = '';\r\n }\r\n if (innerText == null || innerText == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning(\"Please enter a label in the label control.\", 'Warning'); return isValid; }\r\n }\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n controlHtml = this.controlHtmlService.getHyperlinkHtml();\r\n attr_data_hyperlink = ele?.getAttribute('data-hyperlink');\r\n senderControlValue = attr_data_hyperlink;\r\n if (spnControlEle) innerText = spnControlEle.innerText;\r\n if (spnControlEle.getAttribute('isupdated') == null || spnControlEle.getAttribute('isupdated') == \"false\") {\r\n innerText = '';\r\n }\r\n if (innerText == null || innerText == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning('Please enter a label for the hyperlink control.', 'Warning'); return isValid; }\r\n }\r\n else if (attr_data_hyperlink == null || attr_data_hyperlink == '') {\r\n if (type == \"send\") { isValid = false; this.toastrService.warning(this.commonConstants.hyperlinkWarningMessage, 'Warning'); return isValid; }\r\n }\r\n }\r\n\r\n let rawDependentControlsOnDocument: any = document.querySelectorAll('[data-parent-id=\"' + attr_contentId + '\"]');\r\n if (rawDependentControlsOnDocument != undefined && rawDependentControlsOnDocument != null && rawDependentControlsOnDocument.length > 0) {\r\n Array.from(rawDependentControlsOnDocument).forEach((ritem: any, index: any) => {\r\n dependencies.push({\r\n ControlID: ritem.getAttribute('data-document-content-id').toLowerCase(),\r\n ControlParentID: attr_contentId.toLowerCase(),\r\n ConditionID: ritem.getAttribute('data-parent-rule-id').toLowerCase(),\r\n ConditionText: ritem.getAttribute('data-parent-support-text-content') == undefined ? null : ritem.getAttribute('data-parent-support-text-content'),\r\n GroupCode: attr_group_code\r\n });\r\n });\r\n }\r\n\r\n labelValue = innerText || attr_data_original_title;\r\n //todo integration type\r\n let entityValue: any = '';\r\n let integrationType: any = controlEle?.getAttribute('data-IntegrationType');\r\n if (typeEnvelopeOrTemplate === \"envelope\" && integrationType != \"undefined\" && integrationType != \"null\" && integrationType != undefined && integrationType != null && integrationType != '' &&\r\n (integrationType === 'Bullhorn' || integrationType === 'Vincere') && controlEle?.getAttribute('data-Entity') != 'Select' && controlEle?.getAttribute('data-EntityFieldValue') != 'Select') {\r\n let entityType: any = controlEle?.getAttribute('data-EntityField');\r\n entityValue = controlEle?.getAttribute('data-EntityFieldValue');\r\n if (controlEle.id.includes('resizable_textControl')) {\r\n let entityTypeText: any = entityType.toLowerCase();\r\n if (entityTypeText && (entityTypeText.includes('date') || entityTypeText.toLowerCase() == 'availability start')) {\r\n let ctrl: any = document.getElementById(controlEle.id);\r\n let validationOption: any;\r\n let defaultDateFormatValue = \"mm/dd/yyyy\";\r\n if (this.sessionStorageService.getCulture() === \"es-es\") defaultDateFormatValue = \"mm/dd/aaaa\";\r\n validationOption = (attr_data_additional_validation_option && attr_data_additional_validation_option != \"null\" && attr_data_additional_validation_option != \"undefined\") ? attr_data_additional_validation_option : defaultDateFormatValue;\r\n\r\n if (ctrl) {\r\n this.updateDateFormatNameAndOptions(ctrl, validationOption);\r\n }\r\n entityValue = controlEle?.getAttribute('data-entityfielddateformatedvalue');\r\n controlEle.setAttribute('data-asteriskoriginaltext', entityValue);\r\n }\r\n }\r\n senderControlValue = '';\r\n }\r\n else {\r\n entityValue = controlEle?.getAttribute('data-EntityFieldValue');\r\n }\r\n\r\n senderControlValue = this.checkNull(entityValue, senderControlValue);\r\n if(!entityValue && attr_data_prefill && attr_data_prefill == \"true\")\r\n {\r\n if(attr_data_isHideTextWithAsterisk === true || attr_data_isHideTextWithAsterisk === 'true'){\r\n senderControlValue = attr_data_asteriskOriginalText;\r\n }else{\r\n senderControlValue = labelValue;\r\n }\r\n }\r\n if (isValid == false) return false;\r\n else {\r\n controlHtml = controlHtml.replace(\"#id\", attr_id);\r\n controlHtml = controlHtml.replace(\"#ctrlNumber\", attr_ctrlNum);\r\n controlHtml = controlHtml.replace(\"#left\", controlLeftPosition + \"px\");\r\n controlHtml = controlHtml.replace(\"#top\", controlTopPosition + \"px\");\r\n\r\n if (attr_data_guid.toLowerCase() != Control.Radio.toLowerCase() && attr_data_guid.toLowerCase() != Control.Checkbox.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#width\", controlWidth + \"px\");\r\n controlHtml = controlHtml.replace(\"#height\", controlHeight + \"px\");\r\n }\r\n\r\n controlHtml = controlHtml.replace(\"#contentId\", attr_contentId);\r\n controlHtml = controlHtml.replace(\"#controlId\", attr_int_control_id);\r\n controlHtml = controlHtml.replace(\"#groupCode\", attr_group_code == null ? '' : attr_group_code);\r\n controlHtml = controlHtml.replace(\"#conditionId\", attr_data_condition_id == null ? '' : attr_data_condition_id.toLowerCase());\r\n controlHtml = controlHtml.replace(\"#borderColor\", currentStyle.outline == null ? '' : currentStyle.outline);\r\n\r\n if (ele?.classList.contains('addedAsChild') == true || (attr_is_child_present != null && attr_is_child_present != \"null\" && attr_is_child_present != \"\") ||\r\n (attr_is_parent_present != null && attr_is_parent_present != \"null\" && attr_is_parent_present != \"\")) {\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase())\r\n controlHtml = controlHtml.replace(\"#backGroundColor\", (style && style['background-color'] != null) ? style['background-color'] : currentStyle.background);\r\n else\r\n controlHtml = controlHtml.replace(\"#backGroundColor\", currentStyle.background == null ? '' : currentStyle.background);\r\n }\r\n else {\r\n controlHtml = controlHtml.replace(\"#backGroundColor\", \"rgba(220, 220, 220, 1)\");\r\n }\r\n\r\n // controlHtml = controlHtml.replace(\"#backGroundColor\", \"rgba(220, 220, 220, 1)\");\r\n // controlHtml.replace(\"#backGroundColor\", currentStyle.background == null ? '' : currentStyle.background);\r\n controlHtml = controlHtml.replace(\"#originalTitle\", attr_data_original_title == null || attr_data_original_title == 'null' ? '' : attr_data_original_title);\r\n controlHtml = controlHtml.replace(\"#title\", attr_title == null ? '' : attr_title);\r\n controlHtml = controlHtml.replace(\"#parentId\", attr_data_parent_id == null || attr_data_parent_id == 'null' ? '' : attr_data_parent_id.toLowerCase());\r\n controlHtml = controlHtml.replace(\"#parentRuleId\", attr_data_parent_rule_id == null || attr_data_parent_rule_id == 'null' ? '' : attr_data_parent_rule_id.toLowerCase());\r\n controlHtml = controlHtml.replace(\"#supportText\", attr_supportText == null || attr_supportText == 'null' ? '' : attr_supportText);\r\n controlHtml = controlHtml.replace(\"#color\", color == null ? \"#000000\" : color);\r\n controlHtml = controlHtml.replace(\"#guid\", attr_data_guid == null ? '' : attr_data_guid.toLowerCase());\r\n controlHtml = controlHtml.replace(\"#recipientId\", attr_data_rcptid == null || attr_data_rcptid == 'null' ? '' : attr_data_rcptid.toLowerCase());\r\n controlHtml = controlHtml.replace(\"#required\", (attr_data_selected == undefined || attr_data_selected == \"false\" || attr_data_selected == null) ? \"false\" : \"true\");\r\n\r\n controlHtml = controlHtml.replace(\"#customTooltip\", attr_data_customtooltip == null ? '' : attr_data_customtooltip);\r\n controlHtml = controlHtml.replace(\"#originalRecipientId\", attr_data_original_rcptid == null ? '' : attr_data_original_rcptid.toLowerCase());\r\n\r\n if (attr_data_guid.toLowerCase() != Control.Radio.toLowerCase() && attr_data_guid.toLowerCase() != Control.Checkbox.toLowerCase() && attr_data_guid.toLowerCase() != Control.DropDown.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#fontFamily\", localControlStyle.FontFamily);\r\n controlHtml = controlHtml.replace(\"#fontWeight\", localControlStyle.IsBold);\r\n controlHtml = controlHtml.replace(\"#textDecoration\", localControlStyle.IsUnderline);\r\n controlHtml = controlHtml.replace(\"#fontstyle\", localControlStyle.IsItalic);\r\n controlHtml = controlHtml.replace(\"#fontsize\", localControlStyle.FontSize + \"px\");\r\n controlHtml = controlHtml.replace(\"#textAlign\", localControlStyle.TextAlign);\r\n controlHtml = controlHtml.replace(\"#lineHeight\", (style['line-height']) ? style['line-height'] : localControlStyle.FontSize + \"px\");\r\n controlHtml = controlHtml.replace(\"#fontFamilyId\", attr_font_family_id != null ? attr_font_family_id.toLowerCase() : '');\r\n controlHtml = controlHtml.replace(\"#placeHolder\", spnControlEle == null ? attr_title : spnControlEle.innerHTML);\r\n }\r\n\r\n if (attr_data_guid.toLowerCase() != Control.Radio.toLowerCase() && attr_data_guid.toLowerCase() != Control.Checkbox.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#width\", controlWidth + \"px\");\r\n controlHtml = controlHtml.replace(\"#height\", controlHeight + \"px\");\r\n }\r\n\r\n controlHtml = controlHtml.replace(\"#borderColor\", currentStyle.outline == null ? '' : currentStyle.outline);\r\n controlHtml = controlHtml.replace(\"#backGroundColor\", currentStyle.background == null ? '' : currentStyle.background);\r\n\r\n if (attr_data_guid.toLowerCase() == Control.Date.toLowerCase()) controlHtml = controlHtml.replace(\"#preselected\", (attr_data_defaultdate == undefined || attr_data_defaultdate == \"false\" || attr_data_defaultdate == null) ? \"false\" : \"true\");\r\n else controlHtml = controlHtml.replace(\"#preselected\", (attr_data_selected1 == undefined || attr_data_selected1 == \"false\" || attr_data_selected1 == null) ? \"false\" : \"true\");\r\n\r\n if (attr_data_guid.toLowerCase() == Control.Name.toLowerCase() || attr_data_guid.toLowerCase() == Control.Text.toLowerCase() || attr_data_guid.toLowerCase() == Control.Title.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#isfixedwidth\", (attr_data_isfixedwidth == false || attr_data_isfixedwidth == \"false\") ? false : true);\r\n if ((attr_data_isfixedwidth == false || attr_data_isfixedwidth == \"false\")) {\r\n // controlHtml = controlHtml.replace(\"#maxlengthallowed\", '20');\r\n controlHtml = controlHtml.replace(\"#maxcharallowed\", attr_maxcharallowed != null && attr_maxcharallowed != 'null' ? attr_maxcharallowed : '');\r\n controlHtml = controlHtml.replace(\"#maxemailcharallowed\", attr_maxemailcharallowed != null && attr_maxemailcharallowed != 'null' ? attr_maxemailcharallowed : '');\r\n controlHtml = controlHtml.replace(\"#maxlengthallowed\", attr_maxlengthallowed != null && attr_maxlengthallowed != 'null' ? attr_maxlengthallowed : '20');\r\n }\r\n else {\r\n if (attr_data_guid.toLowerCase() == Control.Name.toLowerCase() || attr_data_guid.toLowerCase() == Control.Title.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#maxcharallowed\", '100');\r\n controlHtml = controlHtml.replace(\"#maxemailcharallowed\", '100');\r\n }\r\n else {\r\n controlHtml = controlHtml.replace(\"#maxcharallowed\", '4000');\r\n controlHtml = controlHtml.replace(\"#maxemailcharallowed\", '100');\r\n }\r\n controlHtml = controlHtml.replace(\"#maxlengthallowed\", attr_maxlengthallowed != null && attr_maxlengthallowed != 'null' ? attr_maxlengthallowed : '4000');\r\n }\r\n controlHtml = controlHtml.replace(\"#dataIsHideTextWithAsterisk\", (attr_data_isHideTextWithAsterisk == false || attr_data_isHideTextWithAsterisk == undefined || attr_data_isHideTextWithAsterisk == null || attr_data_isHideTextWithAsterisk == \"false\") ? false : true);\r\n\r\n }\r\n else {\r\n controlHtml = controlHtml.replace(\"#isfixedwidth\", true);\r\n controlHtml = controlHtml.replace(\"#maxlengthallowed\", '20');\r\n controlHtml = controlHtml.replace(\"#maxcharallowed\", '20');\r\n controlHtml = controlHtml.replace(\"#maxemailcharallowed\", '20');\r\n }\r\n\r\n if (attr_data_guid.toLowerCase() == Control.Hyperlink.toLowerCase()) controlHtml = controlHtml.replace(\"#attr_data_hyperlink\", attr_data_hyperlink);\r\n if (attr_data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#textType\", attr_data_texttype == null ? '' : attr_data_texttype);\r\n let old_attr_data_addTextAreaText: any = spnControlEle?.getAttribute('data-addtextareaval');\r\n if (old_attr_data_addTextAreaText != undefined && old_attr_data_addTextAreaText != null && old_attr_data_addTextAreaText != \"null\" && old_attr_data_addTextAreaText != \"undefined\") controlHtml = controlHtml.replace(\"#dataAddTextAreaVal\", old_attr_data_addTextAreaText);\r\n else controlHtml = controlHtml.replace(\"#dataAddTextAreaVal\", '');\r\n\r\n //Setting AddTextArea attribute dataAddTextAreaVal\r\n // let addTextTextareaEle: any = document.getElementById('addTextTextarea');\r\n // if (addTextTextareaEle) {\r\n // controlHtml = controlHtml.replace(\"#dataAddTextAreaVal\", old_attr_data_addTextAreaText == null ? '' : old_attr_data_addTextAreaText);\r\n // }\r\n }\r\n\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase() || attr_data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (ele?.classList.contains('addedAsChild') == true) controlHtml = controlHtml.replace(\"#addedAsChild\", 'parentBorder addedAsChild');\r\n else controlHtml = controlHtml.replace(\"#addedAsChild\", '');\r\n\r\n controlHtml = controlHtml.replace(\"#isChildPresent\", attr_is_child_present == null ? \"false\" : attr_is_child_present);\r\n controlHtml = controlHtml.replace(\"#isParentPresent\", attr_is_parent_present == null ? \"false\" : attr_is_parent_present);\r\n }\r\n\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#groupName\", (groupname == null || groupname == '') ? \"\" : groupname);\r\n controlHtml = controlHtml.replace(\"#size\", attr_data_size == null ? '' : attr_data_size);\r\n controlHtml = controlHtml.replace(\"#name\", name == null ? '' : name);\r\n controlHtml = controlHtml.replace(\"#width\", style['width']);\r\n controlHtml = controlHtml.replace(\"#height\", style['height']);\r\n if (attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (attr_data_selected == \"true\") controlHtml = controlHtml.replace(\"#disabled\", 'disabled');\r\n else controlHtml = controlHtml.replace(\"#disabled\", '');\r\n labelValue = (name == null || name == '') ? 'Checkbox' : name;\r\n name = (name == null || name == '') ? 'Checkbox' : name;\r\n }\r\n }\r\n\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n controlHtml = controlHtml.replace(\"#isChildPresent\", attr_is_child_present == null ? \"false\" : attr_is_child_present);\r\n controlHtml = controlHtml.replace(\"#isParentPresent\", attr_is_parent_present == null ? \"false\" : attr_is_parent_present);\r\n\r\n if (controlEle?.classList.contains('expanded') == true) controlHtml = controlHtml.replace(\"#expanded\", 'expanded');\r\n else controlHtml = controlHtml.replace(\"#expanded\", '');\r\n\r\n if (ele?.classList.contains('addedAsChild') == true) controlHtml = controlHtml.replace(\"#addedAsChild1\", 'parentBorder addedAsChild');\r\n else controlHtml = controlHtml.replace(\"#addedAsChild1\", '');\r\n\r\n controlHtml = controlHtml.replace(\"#fontFamily\", style['font-family']);\r\n controlHtml = controlHtml.replace(\"#fontFamily1\", style['font-family']);\r\n controlHtml = controlHtml.replace(\"#backGroundColor1\", currentStyle.background == null ? '' : currentStyle.background);\r\n controlHtml = controlHtml.replace(\"#selectOptions\", selectOptionString);\r\n }\r\n\r\n if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Initials.toLowerCase()) {\r\n labelValue = \"Initials\";\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.DateTimeStamp.toLowerCase()) {\r\n labelValue = \"Date & Time Stamp\";\r\n }\r\n\r\n if (attr_data_guid && (attr_data_guid.toLowerCase() == Control.Title.toLowerCase()\r\n || attr_data_guid.toLowerCase() == Control.DateTimeStamp.toLowerCase() || attr_data_guid.toLowerCase() == Control.Label.toLowerCase() ||\r\n attr_data_guid.toLowerCase() == Control.Name.toLowerCase() || attr_data_guid.toLowerCase() == Control.Signature.toLowerCase() ||\r\n attr_data_guid.toLowerCase() == Control.Initials.toLowerCase() || attr_data_guid.toLowerCase() == Control.Company.toLowerCase()\r\n )) {\r\n senderControlValue = \"\";\r\n }\r\n\r\n let ctrlType: any = '00000000-0000-0000-0000-000000000000';\r\n if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n ctrlType = (attr_data_texttype == undefined || attr_data_texttype == null) ? '00000000-0000-0000-0000-000000000000' : attr_data_texttype_Guid;\r\n }\r\n\r\n if (ele?.classList.contains('addedAsChild') == true) controlHtml = controlHtml.replace(\"#addedAsChild\", 'alreadyDependentField addedAsChild');\r\n else controlHtml = controlHtml.replace(\"#addedAsChild\", '');\r\n\r\n controlHtml = controlHtml.replace(\"#data-typography\", (attr_data_typography == null || attr_data_typography == undefined || attr_data_typography == '') ? 'px' : attr_data_typography);\r\n\r\n if (attr_data_prefill && attr_data_prefill == \"true\") {\r\n controlHtml = controlHtml.replace(\"#dataPrefill\", \"true\");\r\n controlHtml = controlHtml.replace(\"#dataDisplayLabel\", \"false\");\r\n }\r\n else {\r\n controlHtml = controlHtml.replace(\"#dataPrefill\", \"false\");\r\n controlHtml = controlHtml.replace(\"#dataDisplayLabel\", \"true\");\r\n }\r\n\r\n //console.log(\"attr_id:\" + controlHtml);\r\n let tempControlValue: any = \"\";\r\n if (attr_controlValue != undefined && attr_controlValue != null && attr_controlValue != '') {\r\n tempControlValue = attr_controlValue;\r\n }\r\n else if (((attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase() || attr_data_guid.toLowerCase() == Control.Radio.toLowerCase()) && senderControlValue != undefined && senderControlValue != '')) {\r\n tempControlValue = senderControlValue;\r\n }\r\n else if (integrationType != \"undefined\" && integrationType != \"null\" && integrationType != undefined && integrationType != null && integrationType != ''\r\n && senderControlValue != \"undefined\" && senderControlValue != \"null\" && senderControlValue != undefined && senderControlValue != null && senderControlValue != '') {\r\n tempControlValue = senderControlValue;\r\n }\r\n else if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Text.toLowerCase() && attr_data_prefill && attr_data_prefill == \"true\") {\r\n if (spnControlEle) tempControlValue = spnControlEle.innerHTML;\r\n else tempControlValue = '';\r\n }\r\n\r\n if (attr_data_guid && attr_data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n if ((ctrlType != undefined && ctrlType != null)) {\r\n if (attr_data_prefill && attr_data_prefill == \"true\") {\r\n labelValue = this.getTextControlType(ctrlType);\r\n tempControlValue = (attr_data_isHideTextWithAsterisk == false || attr_data_isHideTextWithAsterisk == \"false\" || attr_data_isHideTextWithAsterisk == null || attr_data_isHideTextWithAsterisk == undefined) ? tempControlValue : attr_data_asteriskOriginalText;\r\n } else {\r\n labelValue = (attr_data_isHideTextWithAsterisk == false || attr_data_isHideTextWithAsterisk == \"false\" || attr_data_isHideTextWithAsterisk == null || attr_data_isHideTextWithAsterisk == undefined) ? labelValue : (attr_data_asteriskOriginalText === '' || attr_data_asteriskOriginalText == null || attr_data_asteriskOriginalText == 'null') ? '' : attr_data_asteriskOriginalText;\r\n }\r\n }\r\n\r\n if (integrationType && integrationType != \"undefined\" && integrationType != \"null\" && (integrationType === 'Bullhorn' || integrationType === 'Vincere') &&\r\n controlEle?.getAttribute('data-Entity') != 'Select' &&\r\n controlEle?.getAttribute('data-EntityFieldValue') != 'Select') {\r\n let entityFieldValue: any = controlEle?.getAttribute('data-EntityField');\r\n if (entityFieldValue && entityFieldValue != \"null\" && entityFieldValue != \"undefined\") {\r\n labelValue = entityFieldValue;\r\n }\r\n }\r\n }\r\n\r\n controlArray.push({\r\n ID: attr_contentId.toLowerCase(),\r\n ControlID: attr_data_guid.toLowerCase(),\r\n DocumentID: docGuid,\r\n RecipientID: (attr_data_guid.toLowerCase() == Control.Label.toLowerCase() || attr_data_guid.toLowerCase() == Control.Hyperlink.toLowerCase()) ? '00000000-0000-0000-0000-000000000000' : attr_data_rcptid.toLowerCase(),\r\n ControlHtmlID: attr_id,\r\n IntControlId: attr_int_control_id,\r\n Required: (attr_data_selected == undefined || attr_data_selected == \"true\") ? true : false,\r\n DocumentPageNumber: attr_doc_pageNo,\r\n PageNumber: attr_pageNo,\r\n XCoordinate: parseInt((controlLeftPosition * ratioWidth).toString()),\r\n YCoordinate: parseInt((controlTopPosition * ratioHeight).toString()),\r\n ZCoordinate: parseInt((ZCoordinate).toString()), //need to check once again\r\n ControlValue: tempControlValue,\r\n //Label: attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() ? name : attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase() ? name : attr_data_guid.toLowerCase() == Control.Text.toLowerCase() ? attr_data_asteriskOriginalText : labelValue,\r\n Label: attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() ? name : attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase() ? name : labelValue,\r\n Height: controlHeight,\r\n Width: controlWidth,\r\n GroupName: attr_data_guid.toLowerCase() != Control.Checkbox.toLowerCase() ? (groupname == undefined ? null : groupname) : (groupname != undefined && groupname != null && groupname != \"\" ? groupname : null),\r\n ControlHtmlData: controlHtml,\r\n RecipientName: (attr_data_guid.toLowerCase() == Control.Label.toLowerCase() || attr_data_guid.toLowerCase() == Control.Hyperlink.toLowerCase()) ? '' : this.getRecipientName(attr_data_rcptid),\r\n IsControlDeleted: false,\r\n ControlType: ctrlType,\r\n Left: parseFloat(controlLeftPosition),\r\n Top: parseFloat(controlTopPosition),\r\n SenderControlValue: senderControlValue,\r\n ControlStyle: localControlStyle,\r\n Options: selectControl,\r\n Dependencies: dependencies,\r\n ParentHeight: parentHeight,\r\n ImageOriginalHeight: originalHeight,\r\n ImageHeight: imageHeight,\r\n ImageOriginalWidth: originalWidth,\r\n ImageWidth: imageWidth,\r\n OrignalPageFormat: imageWidth > imageHeight ? \"landscape\" : \"portrait\",\r\n Size: attr_data_size == null ? null : attr_data_size,\r\n IsDefaultRequired: (attr_data_guid.toLowerCase() == Control.Date.toLowerCase()) ? attr_data_defaultdate == \"true\" ? true : false : false,\r\n CustomToolTip: attr_data_customtooltip == null || attr_data_customtooltip == 0 || attr_data_customtooltip == \"0\" ? '' : attr_data_customtooltip,\r\n FontTypeMeasurement: (attr_data_typography == null || attr_data_typography == undefined || attr_data_typography == '') ? 'px' : attr_data_typography,\r\n IsFixedWidth: (attr_data_isfixedwidth == false || attr_data_isfixedwidth == \"false\") ? false : true,\r\n IsHideTextWithAsterisk: (attr_data_isHideTextWithAsterisk == false || attr_data_isHideTextWithAsterisk == null || attr_data_isHideTextWithAsterisk == \"false\") ? false : true\r\n });\r\n };\r\n }\r\n }\r\n });\r\n }\r\n\r\n resultObj = {\r\n isValid: isValid,\r\n controlArray: controlArray\r\n };\r\n //console.log(\"resultObj:\" + resultObj);\r\n return resultObj;\r\n }\r\n\r\n getRecipientName(recipientId: any) {\r\n let name: any = '';\r\n if (recipientId) {\r\n let recpId: any = recipientId;\r\n let receipentLists: any = this.authService.getRecipientDetails();\r\n if (receipentLists) {\r\n let receipentListsDetails: any = JSON.parse(receipentLists);\r\n if (receipentListsDetails && receipentListsDetails.length > 0) {\r\n let recObj: any = receipentListsDetails.filter((rec: any) => rec.id.toLowerCase() == recpId.toLowerCase());\r\n if (recObj && recObj.length > 0) {\r\n name = recObj[0].name;\r\n }\r\n }\r\n }\r\n }\r\n return name;\r\n }\r\n\r\n getControlOriginalTitle(recipientId: any, currentSelectedControl: any) {\r\n let name: any = '', placeHolderText: any = '';\r\n let resizableCurrentControl: any = document.getElementById(currentSelectedControl);\r\n if (resizableCurrentControl) {\r\n let docControl: any = document.getElementById(\"resizable_\" + currentSelectedControl)\r\n let data_guid: any = docControl?.getAttribute('data-guid');\r\n let data_selected: any = docControl?.getAttribute('data-selected');\r\n if (data_guid && (data_guid.toLowerCase() == Control.Label.toLowerCase() || data_guid.toLowerCase() == Control.Hyperlink.toLowerCase())) {\r\n resizableCurrentControl?.removeAttribute('data-original-title');\r\n resizableCurrentControl?.setAttribute('title', '');\r\n return '';\r\n }\r\n else {\r\n if (recipientId) {\r\n let recpId: any = recipientId;\r\n let receipentLists: any = this.authService.getRecipientDetails();\r\n if (receipentLists) {\r\n let receipentListsDetails: any = JSON.parse(receipentLists);\r\n if (receipentListsDetails && receipentListsDetails.length > 0) {\r\n let recObj: any = receipentListsDetails.filter((rec: any) => rec.id.toLowerCase() == recpId.toLowerCase());\r\n if (recObj && recObj.length > 0) {\r\n name = recObj[0].name;\r\n }\r\n }\r\n }\r\n if (resizableCurrentControl) {\r\n placeHolderText = resizableCurrentControl.getAttribute('data-controlname');\r\n placeHolderText = this.commonService.getHoverControlText(placeHolderText);\r\n }\r\n }\r\n if (data_guid && (data_guid.toLowerCase() == Control.Checkbox.toLowerCase())) {\r\n let depenencyCurrentControl: any = document.getElementById(\"dependency_\" + currentSelectedControl);\r\n if (depenencyCurrentControl && data_selected && data_selected == \"true\") {\r\n depenencyCurrentControl?.setAttribute('title', \"Required checkbox controls can not add dependencies.\");\r\n }\r\n }\r\n return placeHolderText + \" control assigned to \" + name;\r\n }\r\n }\r\n else return '';\r\n }\r\n\r\n setdefaultTextValidation() {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '1';\r\n }\r\n\r\n let textTypeDecimal: any = (document.getElementById('textTypeDecimal'));\r\n if (textTypeDecimal) {\r\n textTypeDecimal.value = '1';\r\n }\r\n\r\n let textTypeDecimalOptions: any = (document.getElementById('textTypeDecimalOptions'));\r\n if (textTypeDecimalOptions) {\r\n textTypeDecimalOptions.value = '1';\r\n }\r\n\r\n let textZipOptions: any = (document.getElementById('textZipOptions'));\r\n if (textZipOptions) {\r\n textZipOptions.value = '1';\r\n }\r\n\r\n let textDateOptions: any = (document.getElementById('textDateOptions'));\r\n if (textDateOptions) {\r\n textDateOptions.value = '1';\r\n }\r\n\r\n let textInputTypeEle: any = document.getElementById('textInputLength');\r\n if (textInputTypeEle) {\r\n textInputTypeEle.removeAttribute('disabled');\r\n }\r\n }\r\n\r\n checkNull(val: any, defaultVal: any) {\r\n if (val && val.trim() != '' && val != \"undefined\" && val != \"null\" && val != null && val != undefined) { return val; }\r\n else { return defaultVal; }\r\n }\r\n\r\n applyRecipientDetailsOnMouseOverChange(recipient: any, color: any, currentSelectedControl: any) {\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n if (resizableCurrentControl) {\r\n resizableCurrentControl.setAttribute('data-rcptid', recipient.id);\r\n resizableCurrentControl.setAttribute('data-original-rcptid', recipient.id);\r\n resizableCurrentControl.setAttribute('data-recp-color', color);\r\n resizableCurrentControl.style.outline = 'none';\r\n resizableCurrentControl.style.outline = color + ' solid 3px';\r\n let titleText: any = this.getControlOriginalTitle(recipient.id, currentSelectedControl);\r\n resizableCurrentControl.setAttribute('data-original-title', titleText);\r\n resizableCurrentControl.setAttribute('title', titleText);\r\n this.updateRecipientsInStorage(currentSelectedControl, recipient.id);\r\n }\r\n }\r\n\r\n getSameControlNumberCount(ctrlGuid: any, pageNum: any, id: any) {\r\n let arryCtrlPageNum: any = [];\r\n // let controlPageGuidNumArray: any = localStorage.getItem('ControlPageGuidNumArray');\r\n let controlPageGuidNumArray: any = this.sessionStorageService.getControlPageGuidNumArray();\r\n if (controlPageGuidNumArray) {\r\n arryCtrlPageNum = JSON.parse(controlPageGuidNumArray);\r\n }\r\n\r\n if (arryCtrlPageNum && arryCtrlPageNum.length > 0) {\r\n let sameCtrlArray: any = arryCtrlPageNum.filter(function (obj: any) { return obj.dataGuid.toLowerCase() == ctrlGuid.toLowerCase() && obj.pageNo == pageNum });\r\n if (sameCtrlArray && sameCtrlArray.length > 0)\r\n return sameCtrlArray.length + 1;\r\n else return 1;\r\n }\r\n else return 1;\r\n }\r\n\r\n createControlOnDocument(newcomponentRef: any, dynamicComponentRefs: any, appRef: any, ctrlObj: any, type: any, isInitialCtrl: any) {\r\n let arryCtrlPageNum: any = [];\r\n let imageCtrl: any = document.getElementById('imgControl_' + ctrlObj.pageNo);\r\n if (imageCtrl) {\r\n // Set input properties as needed\r\n let controlClassName: any = ctrlObj.controlName.toLowerCase();\r\n let controlId: any = controlClassName;\r\n let controlName: any = ctrlObj.controlName;\r\n let placeHolderText: any = controlName;\r\n let pageNum: any = ctrlObj.pageNo;\r\n\r\n let defaultWidth: any = 100;\r\n let defaultHeight: any = 20;\r\n let minWidth: any = 100;\r\n let minHeight: any = 10;\r\n let ctrlBgColor: any = '#fff';\r\n let controlDateFormat: any = '';\r\n let controlResourceKeys: any = '';\r\n let defaultDate: boolean = false;\r\n let originalTitle: any = '';\r\n let data_guid: any;\r\n let attr_data_rcptid: any;\r\n let attr_data_recp_color: any;\r\n let controlTopPosition: any;\r\n let controlLeftPosition: any;\r\n let controlHeight: any = '';\r\n let controlWidth: any = ''\r\n\r\n let resizableControl: any = document.getElementById('resizable_' + ctrlObj.id);\r\n if (resizableControl) {\r\n data_guid = resizableControl?.getAttribute('data-guid');\r\n attr_data_rcptid = resizableControl?.getAttribute('data-rcptid');\r\n attr_data_recp_color = resizableControl?.getAttribute('data-recp-color');\r\n let controlPositions: any = this.getElePositions(resizableControl);\r\n controlHeight = resizableControl?.offsetHeight;\r\n controlWidth = resizableControl?.offsetWidth;\r\n if (controlWidth === 0) {\r\n controlWidth = ctrlObj.controlWidth\r\n }\r\n if (controlHeight === 0) {\r\n controlHeight = ctrlObj.controlHeight;\r\n }\r\n // controlLeftPosition = parseInt(controlPositions.Left) + 15;\r\n // controlTopPosition = parseInt(controlPositions.Top) + controlHeight + 7;\r\n\r\n if (isInitialCtrl === 'true') {\r\n controlLeftPosition = parseInt(controlPositions.Left);\r\n controlTopPosition = parseInt(controlPositions.Top);\r\n } else {\r\n controlLeftPosition = parseInt(controlPositions.Left) + 15;\r\n controlTopPosition = parseInt(controlPositions.Top) + controlHeight + 7;\r\n }\r\n }\r\n else {\r\n data_guid = ctrlObj.data_guid;\r\n attr_data_rcptid = ctrlObj.attr_data_rcptid;\r\n attr_data_recp_color = ctrlObj.attr_data_recp_color;\r\n controlTopPosition = ctrlObj.controlTopPosition;\r\n controlLeftPosition = ctrlObj.controlLeftPosition;\r\n controlHeight = ctrlObj.controlHeight;\r\n controlWidth = ctrlObj.controlWidth;\r\n }\r\n\r\n //Checking is the control go beyond the page boundaries\r\n let imageWidth: any = imageCtrl.offsetWidth;\r\n let imageHeight: any = imageCtrl.offsetHeight;\r\n // console.log(\"Height:\" + imageHeight + \" : \" + (controlTopPosition + controlHeight))\r\n // console.log(\"Width:\" + imageWidth + \" : \" + (controlLeftPosition + controlWidth))\r\n\r\n if (type != ControlConfig.Existing && imageHeight < (controlTopPosition + controlHeight)) {\r\n this.toastrService.warning('The control may extend beyond the page boundary.', 'Warning'); return false;\r\n }\r\n else if (type != ControlConfig.Existing && imageWidth < (controlLeftPosition + controlWidth)) {\r\n this.toastrService.warning('The control may extend beyond the page boundary.', 'Warning'); return false;\r\n }\r\n\r\n if (data_guid.toLowerCase() === Control.Signature.toLowerCase()) {\r\n controlClassName = 'sign';\r\n controlName = 'Signature';\r\n controlId = 'sign';\r\n defaultWidth = 215;\r\n defaultHeight = 35;\r\n minWidth = 100;\r\n minHeight = 35;\r\n placeHolderText = 'Sign';\r\n controlResourceKeys = ControlResourceKeys.Signature;\r\n originalTitle = 'Signature';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n controlClassName = 'initials';\r\n controlId = 'newInitials';\r\n defaultWidth = 47;\r\n defaultHeight = 22;\r\n minWidth = 47;\r\n controlName = 'NewInitials';\r\n placeHolderText = 'Initials';\r\n controlResourceKeys = ControlResourceKeys.Initials; //translations text\r\n originalTitle = 'Initials';\r\n }\r\n else if (data_guid.toLowerCase() === Control.DateTimeStamp.toLowerCase()) {\r\n controlClassName = 'datetimestamp';\r\n controlName = 'DateTimeStamp';\r\n controlId = 'dateTimeStamp';\r\n defaultWidth = 150;\r\n ctrlBgColor = 'yellow';\r\n placeHolderText = 'Date & Time Stamp';\r\n controlResourceKeys = ControlResourceKeys.DateTimeStamp;\r\n originalTitle = 'Date & Time Stamp';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Name.toLowerCase()) {\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 0;\r\n controlClassName = 'name';\r\n controlResourceKeys = ControlResourceKeys.Name;\r\n originalTitle = 'Name';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 0;\r\n controlClassName = 'text';\r\n controlResourceKeys = ControlResourceKeys.Text;\r\n originalTitle = 'Text';\r\n }\r\n else if (data_guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n controlClassName = 'dropdown';\r\n controlId = 'dropDown';\r\n defaultWidth = controlWidth;\r\n minWidth = controlWidth;\r\n controlResourceKeys = ControlResourceKeys.DropDown;\r\n originalTitle = 'DropDown';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n controlDateFormat = this.getDateFormatInnerHtmlVal(\"2\"); //'mm/dd/yyyy';\r\n controlName = 'Date';\r\n controlClassName = 'date';\r\n defaultDate = false;\r\n originalTitle = 'Date';\r\n defaultHeight = 16;\r\n }\r\n else if (data_guid.toLowerCase() === Control.Label.toLowerCase()) {\r\n ctrlBgColor = 'yellow';\r\n controlClassName = 'label';\r\n controlResourceKeys = ControlResourceKeys.Label;\r\n originalTitle = 'Label';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n defaultWidth = 22;\r\n defaultHeight = 22;\r\n minWidth = 18;\r\n minHeight = 18;\r\n ctrlBgColor = 'white';\r\n controlClassName = 'radio';\r\n controlResourceKeys = ControlResourceKeys.Radio;\r\n originalTitle = 'Radio';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n defaultWidth = 22;\r\n defaultHeight = 22;\r\n minWidth = 18;\r\n minHeight = 18;\r\n ctrlBgColor = 'white';\r\n controlClassName = 'checkbox';\r\n controlResourceKeys = ControlResourceKeys.Checkbox;\r\n originalTitle = 'Checkbox';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Company.toLowerCase()) {\r\n controlClassName = 'company';\r\n controlResourceKeys = ControlResourceKeys.Company;\r\n originalTitle = 'Company';\r\n defaultWidth = 100;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n }\r\n else if (data_guid.toLowerCase() === Control.Title.toLowerCase()) {\r\n controlClassName = 'title';\r\n controlResourceKeys = ControlResourceKeys.Title;\r\n originalTitle = 'Title';\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n }\r\n else if (data_guid.toLowerCase() === Control.Hyperlink.toLowerCase()) {\r\n controlClassName = 'hyperlink';\r\n controlResourceKeys = ControlResourceKeys.Hyperlink;\r\n originalTitle = 'Hyperlink';\r\n ctrlBgColor = 'yellow';\r\n }\r\n else if (data_guid.toLowerCase() === Control.Email.toLowerCase()) {\r\n controlClassName = 'email';\r\n controlResourceKeys = ControlResourceKeys.Email;\r\n originalTitle = 'Email';\r\n defaultWidth = 100;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n }\r\n\r\n // let controlPageGuidNumArray: any = localStorage.getItem('ControlPageGuidNumArray');\r\n let controlPageGuidNumArray: any = this.sessionStorageService.getControlPageGuidNumArray();\r\n if (controlPageGuidNumArray) {\r\n arryCtrlPageNum = JSON.parse(controlPageGuidNumArray);\r\n }\r\n arryCtrlPageNum.push({ dataGuid: data_guid, pageNo: pageNum, id: ctrlObj.id });\r\n // localStorage.setItem('ControlPageGuidNumArray', JSON.stringify(arryCtrlPageNum));\r\n this.sessionStorageService.setControlPageGuidNumArray(JSON.stringify(arryCtrlPageNum));\r\n\r\n placeHolderText = this.commonService.getTranslatedText(placeHolderText, controlResourceKeys);\r\n newcomponentRef.instance.ctrlObj = {\r\n top: controlTopPosition,\r\n left: controlLeftPosition,\r\n width: controlWidth,\r\n height: controlHeight,\r\n controlName: controlName,\r\n className: controlClassName,\r\n id: type == ControlConfig.Duplicate ? controlId + 'Control' + this.commonService.getId() : ctrlObj.id,\r\n dataDocumentContentId: type == ControlConfig.Duplicate ? this.commonService.generateUUID() : ctrlObj.contentId,\r\n dataGuid: data_guid,\r\n title: placeHolderText,\r\n pageNo: pageNum,\r\n minWidth: minWidth,\r\n minHeight: minHeight,\r\n bgColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? ctrlBgColor : ctrlBgColor,\r\n outlineColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? '2px solid ' + attr_data_recp_color : \"2px solid #999\",\r\n recipientId: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? attr_data_rcptid : \"\",\r\n recpColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? attr_data_recp_color : \"1px solid #999\",\r\n ctrlNumber: this.getSameControlNumberCount(data_guid, pageNum, ctrlObj.id),\r\n controlDateFormat: controlDateFormat,\r\n typography: 'px',\r\n placeHolderText: placeHolderText,\r\n recipientsObj: { selectedRecipentName: this.getRecipientName(attr_data_rcptid), selectedRecipentColor: attr_data_recp_color },\r\n originalTitle: originalTitle.toLowerCase(),\r\n defaultDate: defaultDate,\r\n isRequired: ctrlObj.isRequired,\r\n textFormatting: ctrlObj.textFormatting,\r\n isEnvelopeEditable: ctrlObj.isEnvelopeEditable\r\n };\r\n\r\n dynamicComponentRefs.set(newcomponentRef.instance.ctrlObj.id, newcomponentRef);\r\n // Attach the component to the DOM\r\n appRef.attachView(newcomponentRef.hostView);\r\n const domElem = (newcomponentRef.hostView as EmbeddedViewRef).rootNodes[0] as HTMLElement;\r\n imageCtrl?.appendChild(domElem);\r\n return newcomponentRef.instance.ctrlObj;\r\n }\r\n else {\r\n console.log(\"Image is not there for page number:\" + ctrlObj.pageNo);\r\n }\r\n }\r\n\r\n updateJsonArrays(controlName: any, controlClassName: any, ctrlObj: any, data_guid: any) {\r\n let ctrlName = this.commonService.getControlName(controlName, controlClassName);\r\n // let allImageControlsString: any = localStorage.getItem('AllImageControls');\r\n let allImageControlsString: any = this.sessionStorageService.getAllImageControls();\r\n let arrControlIdNumbers: any = [];\r\n if (allImageControlsString) {\r\n arrControlIdNumbers = JSON.parse(allImageControlsString);\r\n }\r\n\r\n let ctrlIdEle: any = document.getElementById(ctrlObj.id);\r\n let ctrlNum: any = ctrlObj.ctrlNumber;\r\n if (ctrlIdEle) {\r\n ctrlNum = ctrlIdEle.getAttribute(\"data-ctrlnum\");\r\n }\r\n\r\n arrControlIdNumbers.push({\r\n Control: ctrlName,\r\n ControlId: ctrlObj.id,\r\n DataDocumentContentId: ctrlObj.dataDocumentContentId,\r\n ConditionID: '00000000-0000-0000-0000-000000000000',\r\n PageNo: ctrlObj.pageNo,\r\n DataGuid: ctrlObj.dataGuid,\r\n ControlName: ctrlName,\r\n CtrlNumber: ctrlNum,\r\n RecipientId: ctrlObj.recipientId,\r\n });\r\n // localStorage.setItem('AllImageControls', JSON.stringify(arrControlIdNumbers));\r\n this.sessionStorageService.setAllImageControls(JSON.stringify(arrControlIdNumbers));\r\n\r\n\r\n // let controlDependencyFieldsString: any = localStorage.getItem('ControlDependencyFieldsArray');\r\n let controlDependencyFieldsString: any = this.sessionStorageService.getControlDependencyFieldsArray();\r\n let arrControlFieldDependenceControls: any = [];\r\n if (controlDependencyFieldsString) {\r\n arrControlFieldDependenceControls = JSON.parse(controlDependencyFieldsString);\r\n }\r\n\r\n if (data_guid.toLowerCase() === Control.Radio.toLowerCase() || data_guid.toLowerCase() === Control.Checkbox.toLowerCase()\r\n || data_guid.toLowerCase() === Control.DropDown.toLowerCase() || data_guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n arrControlFieldDependenceControls.push({\r\n Control: ctrlName,\r\n ControlId: ctrlObj.id,\r\n DataDocumentContentId: ctrlObj.dataDocumentContentId,\r\n ConditionID: '00000000-0000-0000-0000-000000000000',\r\n PageNo: ctrlObj.pageNo,\r\n DataGuid: ctrlObj.dataGuid,\r\n ControlName: ctrlName,\r\n CtrlNumber: ctrlNum,\r\n RecipientId: ctrlObj.recipientId,\r\n });\r\n // localStorage.setItem('ControlDependencyFieldsArray', JSON.stringify(arrControlFieldDependenceControls));\r\n this.sessionStorageService.setControlDependencyFieldsArray(JSON.stringify(arrControlFieldDependenceControls));\r\n }\r\n }\r\n\r\n updateDuplicateControlProperties(newControlId: any, oldControlId: any, data_guid: any) {\r\n let oldControlEle: any = (document.getElementById(oldControlId));\r\n if (!oldControlEle) return;\r\n //Resizable div\r\n let oldResizableControlEle: any = (document.getElementById(\"resizable_\" + oldControlId));\r\n if (!oldResizableControlEle) return;\r\n\r\n let newResizableControlEle: any = (document.getElementById(\"resizable_\" + newControlId));\r\n if (!newResizableControlEle) return;\r\n\r\n let old_attr_title: any = oldResizableControlEle?.getAttribute('title');\r\n if (old_attr_title) newResizableControlEle?.setAttribute('title', old_attr_title);\r\n\r\n let old_attr_controlValue: any = oldResizableControlEle?.getAttribute('data-control-val');\r\n if (old_attr_controlValue) newResizableControlEle?.setAttribute('data-control-val', old_attr_controlValue);\r\n\r\n let old_attr_data_typography: any = oldResizableControlEle?.getAttribute('data-typography');\r\n if (old_attr_data_typography) newResizableControlEle?.setAttribute('data-typography', old_attr_data_typography);\r\n\r\n let old_attr_data_selected: any = oldResizableControlEle?.getAttribute('data-selected');\r\n let old_attr_data_selected1: any = oldResizableControlEle?.getAttribute('data-selected1');\r\n if (old_attr_data_selected1) newResizableControlEle?.setAttribute('data-selected1', old_attr_data_selected1);\r\n\r\n let old_attr_data_customtooltip: any = oldResizableControlEle?.getAttribute('data-customtooltip');\r\n if (old_attr_data_customtooltip) newResizableControlEle?.setAttribute('data-customtooltip', old_attr_data_customtooltip);\r\n\r\n let old_attr_data_isfixedwidth: any = oldResizableControlEle?.getAttribute('data-isfixedwidth');\r\n let old_attr_maxlengthallowed: any = oldResizableControlEle?.getAttribute('maxlengthallowed');\r\n let old_attr_maxcharallowed: any = oldResizableControlEle?.getAttribute('maxcharallowed');\r\n let old_attr_maxemailcharallowed: any = oldResizableControlEle?.getAttribute('maxemailcharallowed');\r\n let old_attr_maxcharlimit: any = oldResizableControlEle?.getAttribute('data-maxcharlimit');\r\n\r\n //Spn div\r\n let oldSpnControlEle: any = (document.getElementById(\"spn\" + oldControlId));\r\n if (!oldSpnControlEle) return;\r\n\r\n let newSpnControlEle: any = (document.getElementById(\"spn\" + newControlId));\r\n if (!newSpnControlEle) return;\r\n\r\n if (data_guid && (data_guid.toLowerCase() == Control.Name.toLowerCase() || data_guid.toLowerCase() == Control.Text.toLowerCase() || data_guid.toLowerCase() == Control.Title.toLowerCase())) {\r\n newResizableControlEle?.setAttribute('maxlengthallowed', old_attr_maxlengthallowed == null || old_attr_maxlengthallowed == 'null' ? '' : old_attr_maxlengthallowed);\r\n newResizableControlEle?.setAttribute('maxcharallowed', old_attr_maxcharallowed == null || old_attr_maxcharallowed == 'null' ? '' : old_attr_maxcharallowed);\r\n if (data_guid && data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('maxemailcharallowed', old_attr_maxemailcharallowed == null ? '' : old_attr_maxemailcharallowed);\r\n }\r\n else {\r\n newResizableControlEle?.setAttribute('data-maxcharlimit', old_attr_maxcharlimit == null ? '20' : old_attr_maxcharlimit);\r\n }\r\n newResizableControlEle?.setAttribute('data-isfixedwidth', (old_attr_data_isfixedwidth == null || old_attr_data_isfixedwidth == true) ? 'true' : old_attr_data_isfixedwidth);\r\n }\r\n else {\r\n if (old_attr_maxlengthallowed) newResizableControlEle?.setAttribute('maxlengthallowed', old_attr_maxlengthallowed == null ? '' : old_attr_maxlengthallowed);\r\n if (old_attr_maxcharallowed) newResizableControlEle?.setAttribute('maxcharallowed', old_attr_maxcharallowed == null ? '' : old_attr_maxcharallowed);\r\n if (data_guid && data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (old_attr_maxemailcharallowed) newResizableControlEle?.setAttribute('maxemailcharallowed', old_attr_maxemailcharallowed == null ? '' : old_attr_maxemailcharallowed);\r\n }\r\n if (old_attr_data_isfixedwidth) newResizableControlEle?.setAttribute('data-isfixedwidth', (old_attr_data_isfixedwidth == null || old_attr_data_isfixedwidth == true) ? 'true' : old_attr_data_isfixedwidth);\r\n }\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Date.toLowerCase()) {\r\n let old_attr_data_defaultformat: any = oldResizableControlEle?.getAttribute('data-defaultformat');\r\n if (old_attr_data_defaultformat) newResizableControlEle?.setAttribute('data-defaultformat', old_attr_data_defaultformat);\r\n\r\n let old_attr_data_defaultdate = oldResizableControlEle?.getAttribute('data-defaultdate');\r\n if (old_attr_data_defaultdate) newResizableControlEle?.setAttribute('data-defaultdate', old_attr_data_defaultdate);\r\n }\r\n\r\n let old_attr_data_confirm_submit: any = oldResizableControlEle.getAttribute('data-confirm-submit');\r\n if (old_attr_data_confirm_submit) newResizableControlEle?.setAttribute('data-confirm-submit', old_attr_data_confirm_submit);\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Radio.toLowerCase() || data_guid && data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let old_attr_data_isGroupChecked: any = oldResizableControlEle?.getAttribute('data-isGroupChecked');\r\n if (old_attr_data_isGroupChecked) newResizableControlEle?.setAttribute('data-isGroupChecked', old_attr_data_isGroupChecked);\r\n\r\n let old_attr_data_groupname: any = oldResizableControlEle?.getAttribute('data-groupname');\r\n if (old_attr_data_groupname) newResizableControlEle?.setAttribute('data-groupname', old_attr_data_groupname);\r\n\r\n let old_attr_data_size = oldResizableControlEle?.getAttribute('data-size');\r\n if (old_attr_data_size) newResizableControlEle?.setAttribute('data-size', old_attr_data_size);\r\n }\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n let old_attr_data_texttype = oldResizableControlEle?.getAttribute('data-texttype');\r\n if (old_attr_data_texttype) newResizableControlEle?.setAttribute('data-texttype', old_attr_data_texttype);\r\n\r\n let old_attr_data_validation_type: any = oldResizableControlEle?.getAttribute('data-validation-type');\r\n if (old_attr_data_validation_type) newResizableControlEle?.setAttribute('data-validation-type', old_attr_data_validation_type);\r\n\r\n let old_attr_data_additional_validation_name: any = oldResizableControlEle?.getAttribute('data-additional-validation-name');\r\n if (old_attr_data_additional_validation_name) newResizableControlEle?.setAttribute('data-additional-validation-name', old_attr_data_additional_validation_name);\r\n\r\n let old_attr_data_hidetextwithasterisk: any = oldResizableControlEle?.getAttribute('data-ishidetextwithasterisk');\r\n if (old_attr_data_hidetextwithasterisk) newResizableControlEle?.setAttribute('data-ishidetextwithasterisk', old_attr_data_hidetextwithasterisk);\r\n\r\n let old_attr_data_data_asteriskOriginalText: any = oldResizableControlEle?.getAttribute('data-asteriskOriginalText');\r\n if (old_attr_data_data_asteriskOriginalText) newResizableControlEle?.setAttribute('data-asteriskOriginalText', old_attr_data_data_asteriskOriginalText);\r\n\r\n let old_attr_data_additional_validation_option: any = oldResizableControlEle?.getAttribute('data-additional-validation-option');\r\n if (old_attr_data_additional_validation_option) newResizableControlEle?.setAttribute('data-additional-validation-option', old_attr_data_additional_validation_option);\r\n\r\n let old_attr_data_prefill: any = oldResizableControlEle?.getAttribute('data-prefill');\r\n let old_attr_data_displayLabel: any = oldResizableControlEle?.getAttribute('data-displayLabel');\r\n if (old_attr_data_prefill && old_attr_data_prefill == \"true\") {\r\n newResizableControlEle?.setAttribute('data-prefill', \"true\");\r\n newResizableControlEle?.setAttribute('data-displayLabel', \"false\");\r\n }\r\n else {\r\n newResizableControlEle?.setAttribute('data-displayLabel', \"true\");\r\n newResizableControlEle?.setAttribute('data-prefill', \"false\");\r\n }\r\n newSpnControlEle.innerText = oldSpnControlEle.innerText;\r\n newResizableControlEle?.setAttribute('data-addtextareaval', oldSpnControlEle.innerText);\r\n newSpnControlEle?.setAttribute('data-addtextareaval', oldSpnControlEle.innerText);\r\n }\r\n\r\n let old_attr_data_hyperlink = oldResizableControlEle?.getAttribute('data-hyperlink');\r\n if (old_attr_data_hyperlink) newResizableControlEle?.setAttribute('data-hyperlink', old_attr_data_hyperlink);\r\n\r\n let old_entity: any = oldResizableControlEle?.getAttribute(\"data-Entity\");\r\n let old_entityType: any = oldResizableControlEle?.getAttribute(\"data-EntityField\");\r\n let old_entityValue = oldResizableControlEle?.getAttribute(\"data-EntityFieldValue\");\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Initials.toLowerCase()) {\r\n let old_attr_fromParentInitialCtrl: any = oldResizableControlEle?.getAttribute('fromParentInitialCtrl');\r\n if (old_attr_fromParentInitialCtrl) newResizableControlEle?.setAttribute('fromParentInitialCtrl', old_attr_fromParentInitialCtrl);\r\n }\r\n\r\n let old_attr_font_family_id: any = oldSpnControlEle?.getAttribute('font-family-id');\r\n if (old_attr_font_family_id) newSpnControlEle?.setAttribute('font-family-id', old_attr_font_family_id);\r\n\r\n let old_name = oldSpnControlEle?.getAttribute('name');\r\n if (old_name) newSpnControlEle?.setAttribute('name', old_name);\r\n\r\n let old_innerText = oldSpnControlEle?.innerHTML;\r\n if (old_innerText) newSpnControlEle.innerHTML = old_innerText;\r\n\r\n let old_attr_spn_style: any = oldSpnControlEle?.getAttribute('style');\r\n newSpnControlEle?.setAttribute('style', '');\r\n //let new_attr_spn_style: any = newSpnControlEle?.getAttribute('style');\r\n if (typeof old_attr_spn_style !== 'undefined' && old_attr_spn_style !== false) {\r\n var styles = old_attr_spn_style.split(';');\r\n for (var st in styles) {\r\n var aux = (styles[st]).trim().split(':');\r\n if (aux[1] && aux[0] && (aux[0]).trim() != \"background-color\")\r\n newSpnControlEle.style[(aux[0]).trim()] = (aux[1].trim());\r\n }\r\n }\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n let hyperlinkEle: any = document.getElementById(oldControlId);\r\n let controlEle: any = (document.getElementById(newControlId));\r\n if (controlEle) {\r\n let link: any = '';\r\n if (hyperlinkEle.getAttribute('data-hyperlink') !== 'null' && hyperlinkEle.getAttribute('data-hyperlink') !== null) {\r\n link = hyperlinkEle.getAttribute('data-hyperlink');\r\n }\r\n controlEle.setAttribute('data-hyperlink', link);\r\n }\r\n\r\n newResizableControlEle.style.background = 'yellow';\r\n newResizableControlEle.style.outline = 'none';\r\n }\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n let old_attr_data_firstlineblank: any = oldResizableControlEle?.getAttribute('data-firstlineblank');\r\n if (old_attr_data_firstlineblank) newResizableControlEle?.setAttribute('data-firstlineblank', old_attr_data_firstlineblank);\r\n\r\n let oldSelectDropdownControlField: any = (document.getElementById('spn' + oldControlId)) as HTMLSelectElement;\r\n let newSelectDropdownControlField: any = (document.getElementById('spn' + newControlId)) as HTMLSelectElement;\r\n newSelectDropdownControlField.options.length = 0;\r\n\r\n if (oldSelectDropdownControlField && oldSelectDropdownControlField.options && oldSelectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < oldSelectDropdownControlField.options.length; index++) {\r\n var text = oldSelectDropdownControlField.options[index].text;\r\n var ruleId = this.commonService.generateUUID(); // oldSelectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n var value = oldSelectDropdownControlField.options[index]?.getAttribute('value');\r\n\r\n var option = '';\r\n if (index == 0) option = '';\r\n else option = '';\r\n newSelectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n }\r\n }\r\n }\r\n\r\n if (data_guid && (data_guid.toLowerCase() == Control.Label.toLowerCase() || data_guid.toLowerCase() == Control.Hyperlink.toLowerCase())) {\r\n let old_attr_data_isupdated: any = oldSpnControlEle?.getAttribute('isupdated');\r\n if (old_attr_data_isupdated && old_attr_data_isupdated != null) {\r\n newSpnControlEle?.setAttribute('isupdated', old_attr_data_isupdated);\r\n }\r\n }\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Radio.toLowerCase() || data_guid && data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (old_attr_data_selected1 != null && old_attr_data_selected1 == \"true\") {\r\n newSpnControlEle.classList.add('checked-visible');\r\n newSpnControlEle.setAttribute('checked', 'true');\r\n newSpnControlEle.style[\"background-color\"] = 'green';\r\n\r\n if (data_guid && data_guid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n oldResizableControlEle.style[\"background-color\"] = '';\r\n oldResizableControlEle.style[\"background-color\"] = 'white';\r\n oldSpnControlEle.classList.remove('checked-visible');\r\n oldSpnControlEle.removeAttribute(\"checked\");\r\n oldResizableControlEle?.setAttribute('data-selected1', \"false\");\r\n\r\n let radioDependencieArray: any = document.querySelectorAll('[data-groupname =\"' + newResizableControlEle.getAttribute('data-groupname') + '\"]'); // document.querySelectorAll('.radio-dependencie');\r\n if (radioDependencieArray && radioDependencieArray.length > 0) {\r\n Array.from(radioDependencieArray).forEach((radioItem: any, ind: any) => {\r\n let id: any = radioItem.getAttribute('id').replace('resizable_', '')\r\n radioItem = document.getElementById(\"spn\" + id);\r\n if (radioItem.getAttribute('id') != newSpnControlEle.getAttribute('id') && radioItem.classList.contains('radio-dependencie')) {\r\n radioItem.style[\"background-color\"] = '';\r\n radioItem.style[\"background-color\"] = 'white';\r\n radioItem.classList.remove('checked-visible');\r\n radioItem.removeAttribute(\"checked\");\r\n radioItem?.setAttribute('data-selected1', \"false\");\r\n }\r\n });\r\n }\r\n }\r\n else if (data_guid && data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n oldSpnControlEle.classList.add('checked-visible');\r\n oldSpnControlEle.setAttribute('checked', 'true');\r\n oldSpnControlEle.style[\"background-color\"] = 'green';\r\n }\r\n }\r\n else {\r\n newSpnControlEle.classList.remove('checked-visible');\r\n newSpnControlEle.removeAttribute(\"checked\");\r\n if (data_guid && data_guid.toLowerCase() == Control.Radio.toLowerCase())\r\n newSpnControlEle.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n\r\n if (old_attr_data_selected) {\r\n newResizableControlEle?.setAttribute('data-selected', old_attr_data_selected);\r\n this.showRequiredIcon(newControlId);\r\n }\r\n this.removeControlAttributes(newResizableControlEle, data_guid);\r\n }\r\n\r\n updateExistingControlProperties(newControlObj: any, oldControlObj: any, integrationResp: any, iscopyEnvelopeId: any, EnvelopeType: any) {\r\n let newControlId: any = newControlObj.id;\r\n let newControlEle: any = (document.getElementById(newControlId));\r\n if (!newControlEle) return;\r\n let newResizableControlEle: any = (document.getElementById(\"resizable_\" + newControlId));\r\n if (!newResizableControlEle) return;\r\n let newSpnControlEle: any = (document.getElementById(\"spn\" + newControlId));\r\n if (!newSpnControlEle) return;\r\n\r\n var e = document.createElement('div');\r\n e.setAttribute('style', 'display: none;');\r\n e.innerHTML = oldControlObj.controlHtmlData.trim();\r\n document.body.appendChild(e);\r\n var htmlConvertedIntoDom: any = e.childNodes;\r\n\r\n let controlStyleAttr: any = '', originaltitleAttr: any = '', controlstitleAttr: any = '', groupCodeAttr: any = '', defaultdateAttr: any = '', sizeAttr: any = '',\r\n maxlengthallowedAttr: any = '', maxcharallowedAttr: any = '', maxemailcharallowedAttr: any = '', parentidAttr: any = '', parentruleidAttr: any = '', supporttextcontentAttr: any = '', groupnameAttr: any = '', expandedAttr: any = '',\r\n ischildpresentAttr: any = '', contenttitleAttr: any = '', isparentpresentAttr: any = '', isdisabledClassExists: any = '', grpNameAttr: any = '', textAlignAttr: any = 'left',\r\n contentStyleAttr: any = '', fontfamilyidAttr: any = '', innerHtmlAttr: any = '', controInfoAttr: any = '', guidAttr: any = '', rcptidAttr: any = '', prefillAttr: any = '', displayLabelAttr: any = '',\r\n texttypeAttr: any = '', selectedAttr: any = '', selected1Attr: any = '', customtooltipAttr: any = '', hyperlinkAttr: any = '', fontfamilyAttr: any = '', addedAsChildAttr: any = '',\r\n typographyAttr: any = '', confirmsubmitAttr: any = '', originalrcptidAttr: any = '', isfixedwidthAttr: any = '', controlvalAttr: any = '', mainSpnCtrlStyle: any = {}, spnControlStyle: any = {}, spnStyle: any = {}, hideTextWithAsterisk: any, asteriskOriginalText: any;\r\n\r\n if (htmlConvertedIntoDom && htmlConvertedIntoDom[0]) {\r\n let id: any = htmlConvertedIntoDom[0]?.getAttribute('id');\r\n let styleAttr: any = htmlConvertedIntoDom[0].getAttribute('style');\r\n let controlnameAttr: any = htmlConvertedIntoDom[0].getAttribute('data-controlname');\r\n let ctrlnumAttr: any = htmlConvertedIntoDom[0].getAttribute('data-ctrlnum');\r\n let contentidAttr: any = htmlConvertedIntoDom[0].getAttribute('data-document-content-id');\r\n let controlidAttr: any = htmlConvertedIntoDom[0].getAttribute('data-int-control-id');\r\n let conditionidAttr: any = htmlConvertedIntoDom[0].getAttribute('data-condition-id');\r\n groupCodeAttr = htmlConvertedIntoDom[0].getAttribute('group-code');\r\n hyperlinkAttr = htmlConvertedIntoDom[0].getAttribute('data-hyperlink');\r\n groupnameAttr = htmlConvertedIntoDom[0].getAttribute('data-groupname');\r\n\r\n if (htmlConvertedIntoDom[0].querySelector('.controls')) {\r\n controlStyleAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('style');\r\n originaltitleAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('data-original-title');\r\n controlstitleAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('title');\r\n maxlengthallowedAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('maxlengthallowed');\r\n maxcharallowedAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('maxcharallowed');\r\n maxemailcharallowedAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('maxemailcharallowed');\r\n parentidAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('data-parent-id');\r\n parentruleidAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('data-parent-rule-id');\r\n supporttextcontentAttr = htmlConvertedIntoDom[0].querySelector('.controls').getAttribute('data-parent-support-text-content');\r\n expandedAttr = htmlConvertedIntoDom[0].classList.contains('expanded');\r\n addedAsChildAttr = htmlConvertedIntoDom[0].classList.contains('addedAsChild');\r\n }\r\n\r\n if (htmlConvertedIntoDom[0].querySelector('.content')) {\r\n contentStyleAttr = htmlConvertedIntoDom[0].querySelector('.content').getAttribute('style');\r\n fontfamilyidAttr = htmlConvertedIntoDom[0].querySelector('.content').getAttribute('font-family-id');\r\n innerHtmlAttr = htmlConvertedIntoDom[0].querySelector('.content').innerHTML;\r\n }\r\n\r\n if (htmlConvertedIntoDom[0].querySelector('.controlDrpDown')) {\r\n fontfamilyAttr = htmlConvertedIntoDom[0].querySelector('.controlDrpDown').getAttribute('font-family');\r\n }\r\n if (htmlConvertedIntoDom[0].querySelector('.ctnRadio')) {\r\n grpNameAttr = htmlConvertedIntoDom[0].querySelector('.ctnRadio').getAttribute('name');\r\n }\r\n if (htmlConvertedIntoDom[0].querySelector('.ctnCheckbox')) {\r\n grpNameAttr = htmlConvertedIntoDom[0].querySelector('.ctnCheckbox').getAttribute('name');\r\n }\r\n\r\n if (htmlConvertedIntoDom[0].querySelector('.conditionControl')) {\r\n ischildpresentAttr = htmlConvertedIntoDom[0].querySelector('.conditionControl').getAttribute('is-child-present');\r\n contenttitleAttr = htmlConvertedIntoDom[0].querySelector('.conditionControl').getAttribute('title');\r\n isparentpresentAttr = htmlConvertedIntoDom[0].querySelector('.conditionControl').getAttribute('is-parent-present');\r\n isdisabledClassExists = htmlConvertedIntoDom[0].querySelector('.conditionControl ').classList.contains('disabled');\r\n }\r\n\r\n if (htmlConvertedIntoDom[0].querySelector('.control-info')) {\r\n controInfoAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('title');\r\n guidAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-guid');\r\n rcptidAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-rcptid');\r\n texttypeAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-texttype');\r\n selectedAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-selected');\r\n selected1Attr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-selected1');\r\n defaultdateAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-defaultdate');\r\n customtooltipAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-customtooltip');\r\n typographyAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-typography');\r\n confirmsubmitAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-confirm-submit');\r\n originalrcptidAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-original-rcptid');\r\n isfixedwidthAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-isfixedwidth');\r\n controlvalAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-control-val');\r\n hyperlinkAttr = htmlConvertedIntoDom[0].getAttribute('data-hyperlink');\r\n sizeAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-size');\r\n textAlignAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-textAlign');\r\n prefillAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-prefill');\r\n displayLabelAttr = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-displayLabel');\r\n hideTextWithAsterisk = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-isHideTextWithAsterisk');\r\n asteriskOriginalText = htmlConvertedIntoDom[0].querySelector('.control-info').getAttribute('data-asteriskOriginalText');\r\n }\r\n newControlEle?.setAttribute('data-isHideTextWithAsterisk', hideTextWithAsterisk != null ? hideTextWithAsterisk : '');\r\n newControlEle?.setAttribute('data-asteriskOriginalText', asteriskOriginalText != null ? asteriskOriginalText : '');\r\n newControlEle?.setAttribute('data-int-control-id', controlidAttr != null ? controlidAttr : '');\r\n newControlEle?.setAttribute('group-code', groupCodeAttr != null ? groupCodeAttr : '');\r\n newControlEle?.setAttribute('data-condition-id', conditionidAttr != null ? conditionidAttr : '');\r\n\r\n newControlEle?.setAttribute('data-parent-id', oldControlObj.conditionalControlsDetails.controllingFieldID);\r\n newControlEle?.setAttribute('data-parent-rule-id', oldControlObj.conditionalControlsDetails.controllingConditionID);\r\n newControlEle?.setAttribute('data-parent-support-text-content', oldControlObj.conditionalControlsDetails.controllingSupportText);\r\n\r\n newControlEle?.setAttribute('is-parent-present', isparentpresentAttr != null ? isparentpresentAttr : 'false');\r\n newControlEle?.setAttribute('is-child-present', ischildpresentAttr != null ? ischildpresentAttr : 'false');\r\n newControlEle?.setAttribute('data-parent-support-text-content', supporttextcontentAttr != null ? supporttextcontentAttr : '');\r\n newControlEle?.setAttribute('data-ctrlnum', (ctrlnumAttr != null && ctrlnumAttr != null && ctrlnumAttr != \"null\" && ctrlnumAttr != \"\") ? ctrlnumAttr : newControlEle?.getAttribute('data-ctrlnum'));\r\n\r\n newResizableControlEle?.setAttribute('data-selected', selectedAttr != null ? selectedAttr : 'false');\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Radio.toLowerCase() || newControlObj.dataGuid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('data-selected1', selected1Attr != null ? selected1Attr : 'false');\r\n if (selected1Attr != null && selected1Attr == \"true\") {\r\n newSpnControlEle.classList.add('checked-visible');\r\n newSpnControlEle.setAttribute('checked', 'true');\r\n newSpnControlEle.style[\"background-color\"] = \"green\";\r\n }\r\n else {\r\n newSpnControlEle.classList.remove('checked-visible');\r\n newSpnControlEle.removeAttribute(\"checked\");\r\n newSpnControlEle.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n newResizableControlEle?.setAttribute('data-customtooltip', (customtooltipAttr != null && customtooltipAttr != '') ? customtooltipAttr : '');\r\n newResizableControlEle?.setAttribute('data-control-val', controlvalAttr != null ? controlvalAttr : '');\r\n newResizableControlEle?.setAttribute('data-typography', typographyAttr != null ? typographyAttr : '');\r\n newResizableControlEle?.setAttribute('data-placeholder', controInfoAttr != null ? controInfoAttr : '');\r\n newResizableControlEle?.setAttribute('data-original-title', originaltitleAttr != null ? originaltitleAttr : '');\r\n //newResizableControlEle?.setAttribute('title', originaltitleAttr != null ? originaltitleAttr : '');\r\n newResizableControlEle?.setAttribute('data-confirm-submit', confirmsubmitAttr != null ? confirmsubmitAttr : '');\r\n\r\n if (typeof styleAttr !== 'undefined' && styleAttr !== false && styleAttr != null) {\r\n var stylesArray = styleAttr.split(';');\r\n for (var st in stylesArray) {\r\n var aux = (stylesArray[st]).trim().split(':');\r\n if (aux[1])\r\n mainSpnCtrlStyle[(aux[0]).trim()] = (aux[1].trim());\r\n }\r\n }\r\n\r\n if (mainSpnCtrlStyle) {\r\n let left: any = mainSpnCtrlStyle['left'].replace('px', '');\r\n let top: any = mainSpnCtrlStyle['top'].replace('px', '');\r\n // newResizableControlEle.style.transform = `translate3d(${left}px, ${top}px, ${0}px)`;\r\n newResizableControlEle.style.left = left + 'px';\r\n newResizableControlEle.style.top = top + 'px';\r\n }\r\n\r\n if (typeof controlStyleAttr !== 'undefined' && controlStyleAttr !== false && controlStyleAttr != null) {\r\n var styles = controlStyleAttr.split(';');\r\n for (var st in styles) {\r\n var aux = (styles[st]).trim().split(':');\r\n if (aux[1])\r\n spnControlStyle[(aux[0]).trim()] = (aux[1].trim());\r\n }\r\n }\r\n\r\n if (spnControlStyle) {\r\n // If this is applied then old UI control back ground color grey color applied\r\n if (spnControlStyle['background-color'] == \"rgba(220, 220, 220, 1)\" || spnControlStyle['background-color'] == \"rgba(220, 220, 220)\") {\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Radio.toLowerCase() || newControlObj.dataGuid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (selected1Attr == null || selected1Attr == \"false\" || selected1Attr == undefined) {\r\n this.applyColorCodeForItem(newControlId, \"rgb(255, 255, 255)\");\r\n }\r\n }\r\n else this.applyColorCodeForItem(newControlId, \"rgb(255, 255, 255)\");\r\n\r\n let spnItem: any = document.getElementById(\"spn\" + newControlId);\r\n if (spnItem) {\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Radio.toLowerCase() || newControlObj.dataGuid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (selected1Attr == null || selected1Attr == \"false\" || selected1Attr == undefined) {\r\n newSpnControlEle.classList.remove('checked-visible');\r\n newSpnControlEle.removeAttribute(\"checked\");\r\n newSpnControlEle.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n else {\r\n spnItem.style[\"background-color\"] = '';\r\n spnItem.style[\"background\"] = '';\r\n }\r\n }\r\n }\r\n else {\r\n if (newControlObj.dataGuid.toLowerCase() != Control.Label.toLowerCase() && newControlObj.dataGuid.toLowerCase() != Control.DateTimeStamp.toLowerCase()\r\n && newControlObj.dataGuid.toLowerCase() != Control.Hyperlink.toLowerCase()) {\r\n this.applyColorCodeForItem(newControlId, \"rgb(255, 255, 255)\");\r\n let colorcode: any = spnControlStyle['background-color'];\r\n if (spnControlStyle['background-color'] == undefined) {\r\n colorcode = \"rgb(255, 255, 255)\";\r\n }\r\n\r\n this.applyColorCodeForItem(newControlId, colorcode);\r\n if (colorcode == \"rgb(255, 255, 255)\") {\r\n let spnItem: any = document.getElementById(\"spn\" + newControlId);\r\n if (spnItem) {\r\n spnItem.style[\"background-color\"] = '';\r\n spnItem.style[\"background\"] = '';\r\n }\r\n }\r\n }\r\n\r\n }\r\n }\r\n\r\n if (typeof contentStyleAttr !== 'undefined' && contentStyleAttr !== false && contentStyleAttr != null) {\r\n var styles = contentStyleAttr.split(';');\r\n\r\n for (var st in styles) {\r\n var aux = (styles[st]).trim().split(':');\r\n if (aux[1])\r\n spnStyle[(aux[0]).trim()] = (aux[1].trim());\r\n }\r\n }\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.DateTimeStamp.toLowerCase()) { textAlignAttr = 'left'; }\r\n if (spnStyle) {\r\n newSpnControlEle.style['color'] = spnStyle['color'];\r\n newSpnControlEle.style['font-family'] = spnStyle['font-family'] && spnStyle['font-family'] != 'null' && spnStyle['font-family'] != 'undefind' ? spnStyle['font-family'] : 'courier';\r\n newSpnControlEle.style['font-weight'] = spnStyle['font-weight'];\r\n newSpnControlEle.style['text-decoration'] = spnStyle['text-decoration']; //underline\r\n newSpnControlEle.style['font-style'] = spnStyle['font-style']; //italic\r\n newSpnControlEle.style['font-size'] = spnStyle['font-size'];\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Date.toLowerCase()) { newSpnControlEle.style['line-height'] = spnStyle['font-size']; }\r\n\r\n newSpnControlEle.style['text-align'] = textAlignAttr && textAlignAttr != '' && textAlignAttr != 'null' && textAlignAttr != 'undefind' ? textAlignAttr : 'left';\r\n newSpnControlEle?.setAttribute('data-textAlign', newSpnControlEle.style['text-align']);\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n let hyperControl: any = document.getElementById(\"hyper_\" + newControlObj.id);\r\n if (hyperControl) {\r\n hyperControl.style['text-align'] = newSpnControlEle.style['text-align'];\r\n }\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() != Control.Date.toLowerCase()) {\r\n newSpnControlEle.style['line-height'] = spnStyle['font-size'];\r\n }\r\n }\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n newSpnControlEle?.setAttribute('font-family', 'courier');\r\n newSpnControlEle?.setAttribute('font-family-id', 'D4A45ECD-3865-448A-92FA-929C2295EA34')\r\n }\r\n else {\r\n newSpnControlEle?.setAttribute('font-family-id', fontfamilyidAttr != null && fontfamilyidAttr != 'null' ? fontfamilyidAttr : 'D4A45ECD-3865-448A-92FA-929C2295EA34');\r\n }\r\n }\r\n document.body.removeChild(e);\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Name.toLowerCase() || newControlObj.dataGuid.toLowerCase() == Control.Title.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('maxlengthallowed', maxlengthallowedAttr);\r\n newResizableControlEle?.setAttribute('maxcharallowed', maxcharallowedAttr);\r\n newResizableControlEle?.setAttribute('data-isfixedwidth', isfixedwidthAttr);\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Text.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('maxlengthallowed', maxlengthallowedAttr);\r\n newResizableControlEle?.setAttribute('maxcharallowed', maxcharallowedAttr);\r\n newResizableControlEle?.setAttribute('maxemailcharallowed', maxemailcharallowedAttr);\r\n newResizableControlEle?.setAttribute('data-isfixedwidth', isfixedwidthAttr);\r\n newResizableControlEle?.setAttribute('data-texttype', texttypeAttr);\r\n newResizableControlEle?.setAttribute('data-isHideTextWithAsterisk', oldControlObj.isHideTextWithAsterisk);\r\n newResizableControlEle?.setAttribute('data-asteriskOriginalText', oldControlObj.controlValue !== '' || oldControlObj.controlValue === null || oldControlObj.controlValue === undefined ? oldControlObj.controlValue : oldControlObj.label);\r\n\r\n const parser = new DOMParser();\r\n const doc = parser.parseFromString(oldControlObj.controlHtmlData, 'text/html');\r\n const copyAddTextAreaVal = doc?.querySelector('span[data-addtextareaval]');\r\n let addTextAreaVal: any = copyAddTextAreaVal?.getAttribute('data-addtextareaval');\r\n newResizableControlEle?.setAttribute('data-addtextareaval', addTextAreaVal);\r\n newSpnControlEle?.setAttribute('data-addtextareaval', addTextAreaVal);\r\n\r\n this.setTextAttributes(newResizableControlEle, maxcharallowedAttr, maxemailcharallowedAttr, isfixedwidthAttr, texttypeAttr);\r\n\r\n let validationType: any = '';\r\n let validationsTextArray: any = this.commonConstants.ValidationsText;\r\n let arrayObj: any = validationsTextArray.filter((obj: any) => obj.value.toLowerCase() == texttypeAttr.toLowerCase());\r\n if (arrayObj && arrayObj.length > 0)\r\n validationType = arrayObj[0].label;\r\n newResizableControlEle?.setAttribute('data-validation-type', validationType);\r\n\r\n newResizableControlEle?.setAttribute('data-additional-validation-name', oldControlObj.controlStyle.additionalValidationName);\r\n let additionalValidationOptionName: any = oldControlObj.controlStyle.additionalValidationOption;\r\n if (oldControlObj.controlStyle.additionalValidationName != '' && oldControlObj.controlStyle.additionalValidationName != null) {\r\n if (oldControlObj.controlStyle.additionalValidationName == 'Zip' || oldControlObj.controlStyle.additionalValidationName == \"Zip Format\") {\r\n if (oldControlObj.controlStyle.additionalValidationOption != '' && oldControlObj.controlStyle.additionalValidationOption != null) {\r\n if (oldControlObj.controlStyle.additionalValidationOption == 'Zip')\r\n oldControlObj.controlStyle.additionalValidationOption = '1';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'Zip+4')\r\n oldControlObj.controlStyle.additionalValidationOption = '2';\r\n }\r\n }\r\n else if (oldControlObj.controlStyle.additionalValidationName == 'Decimal') {\r\n if (oldControlObj.controlStyle.additionalValidationOption != '' && oldControlObj.controlStyle.additionalValidationOption != null) {\r\n if (oldControlObj.controlStyle.additionalValidationOption == 'Both')\r\n oldControlObj.controlStyle.additionalValidationOption = '1';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'Comma')\r\n oldControlObj.controlStyle.additionalValidationOption = '2';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'Period')\r\n oldControlObj.controlStyle.additionalValidationOption = '3';\r\n }\r\n }\r\n else if (oldControlObj.controlStyle.additionalValidationName == 'Date Format') {\r\n if (oldControlObj.controlStyle.additionalValidationOption != '' && oldControlObj.controlStyle.additionalValidationOption != null) {\r\n if (oldControlObj.controlStyle.additionalValidationOption == 'mm/dd/yyyy')\r\n oldControlObj.controlStyle.additionalValidationOption = '1';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'dd/mm/yyyy')\r\n oldControlObj.controlStyle.additionalValidationOption = '2';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'yyyy/mm/dd')\r\n oldControlObj.controlStyle.additionalValidationOption = '3';\r\n else if (oldControlObj.controlStyle.additionalValidationOption == 'dd-mmm-yyyy')\r\n oldControlObj.controlStyle.additionalValidationOption = '4';\r\n }\r\n }\r\n }\r\n\r\n newResizableControlEle?.setAttribute('data-additional-validation-option', oldControlObj.controlStyle.additionalValidationOption);\r\n if (oldControlObj.isHideTextWithAsterisk) {\r\n let isPrefillText: any;\r\n\r\n if (oldControlObj.controlHtmlData) {\r\n const parser = new DOMParser();\r\n const doc = parser.parseFromString(oldControlObj.controlHtmlData, 'text/html');\r\n const prefillAttr = doc?.querySelector('span[data-prefill]');\r\n isPrefillText = prefillAttr?.getAttribute('data-prefill');\r\n }\r\n let controlValue = oldControlObj.controlValue;\r\n let label = oldControlObj.label;\r\n let integrationType: any = '';\r\n if (integrationResp && integrationResp.integrationType) {\r\n integrationType = integrationResp.integrationType;\r\n }\r\n\r\n if (((integrationType && integrationType.toLowerCase()) === 'bullhorn' || (integrationType && integrationType.toLowerCase()) === 'vincere')) {\r\n if (EnvelopeType === 'envelope') {\r\n newSpnControlEle.innerHTML = controlValue !== null && controlValue !== '' ? ('*'.repeat(controlValue.length)) : label !== null && label !== '' ? ('*'.repeat(label.length)) : label;\r\n } else if (EnvelopeType === 'template') {\r\n newSpnControlEle.innerHTML = controlValue !== null && controlValue !== '' ? ('*'.repeat(controlValue.length)) : label !== null && label !== '' ? ('*'.repeat(label.length)) : label;\r\n }\r\n }\r\n else if (iscopyEnvelopeId === true && EnvelopeType === 'envelope') {\r\n newSpnControlEle.innerHTML = (isPrefillText === true || isPrefillText === 'true') ? (controlValue || label) : (controlValue === 'null' || controlValue === '' ? label : controlValue);\r\n } else if (EnvelopeType === 'envelope' && (isPrefillText === false || isPrefillText === 'false') && integrationType === '') {\r\n newSpnControlEle.innerHTML = controlValue === 'null' || controlValue === '' ? (label ? '*'.repeat(label.length) : label) : controlValue;\r\n }\r\n else if (EnvelopeType === 'template') {\r\n newSpnControlEle.innerHTML = (isPrefillText === true || isPrefillText === 'true') ? (controlValue ? '*'.repeat(controlValue.length) : label) : (controlValue === 'null' || controlValue === '' ? (label ? '*'.repeat(label.length) : label) : controlValue);\r\n }\r\n else {\r\n newSpnControlEle.innerHTML = controlValue ? '*'.repeat(controlValue.length) : label;\r\n }\r\n\r\n const isAsteriskOriginalText = (isPrefillText === true || isPrefillText === 'true')\r\n ? controlValue || newSpnControlEle.innerHTML\r\n : label || newSpnControlEle.innerHTML;\r\n\r\n newResizableControlEle?.setAttribute(\r\n 'data-ishidetextwithasterisk',\r\n iscopyEnvelopeId === true && EnvelopeType === 'envelope' ? 'false' : 'true'\r\n );\r\n newResizableControlEle?.setAttribute('data-asteriskOriginalText', isAsteriskOriginalText);\r\n } else {\r\n newSpnControlEle.innerHTML = innerHtmlAttr;\r\n }\r\n let externalIntegrationType: any = integrationResp.integrationType; //Vincere, Bullhorn\r\n newResizableControlEle.setAttribute('data-IntegrationType', externalIntegrationType);\r\n if (externalIntegrationType && (externalIntegrationType.toLowerCase() === 'vincere')) {\r\n let entityFieldValue: any = this.getKeyByValue(oldControlObj.customToolTip, integrationResp.entityFieldsList);\r\n if (integrationResp.envelopeStage && (integrationResp.envelopeStage == \"PrepareEditTemplate\" || integrationResp.envelopeStage == \"PrepareTemplate\")) {\r\n let ctrlLabel: any = newResizableControlEle.innerText;\r\n newResizableControlEle?.setAttribute(\"data-Entity\", integrationResp.entityList[1].key);\r\n newResizableControlEle?.setAttribute(\"EntityField\", ctrlLabel);\r\n newResizableControlEle?.setAttribute(\"data-EntityField\", ctrlLabel);\r\n if (ctrlLabel === '*'.repeat(newResizableControlEle.innerText.length) || ctrlLabel === '') {\r\n ctrlLabel = oldControlObj.controlValue;\r\n }\r\n entityFieldValue = this.getKeyByValue(ctrlLabel, integrationResp.entityFieldsList);\r\n newResizableControlEle?.setAttribute(\"data-EntityFieldValue\", entityFieldValue);\r\n newResizableControlEle?.setAttribute('data-asteriskoriginaltext', entityFieldValue);\r\n prefillAttr = \"false\";\r\n }\r\n else {\r\n newResizableControlEle?.setAttribute(\"data-Entity\", integrationResp.entityList[1].value);\r\n newResizableControlEle?.setAttribute(\"data-EntityField\", oldControlObj.customToolTip);\r\n newResizableControlEle?.setAttribute(\"data-EntityFieldValue\", this.checkNull(entityFieldValue, \"\"));\r\n newResizableControlEle?.setAttribute('data-asteriskoriginaltext', this.checkNull(entityFieldValue, \"\"));\r\n if (entityFieldValue !== '' && entityFieldValue !== undefined && entityFieldValue !== null) {\r\n newSpnControlEle.innerHTML = entityFieldValue;\r\n prefillAttr = \"true\";\r\n }\r\n else {\r\n prefillAttr = \"false\";\r\n }\r\n }\r\n\r\n let defaultDateFormatValue = \"mm/dd/yyyy\";\r\n if (this.sessionStorageService.getCulture() === \"es-es\") defaultDateFormatValue = \"mm/dd/aaaa\";\r\n if (newResizableControlEle?.getAttribute('data-Entity') != 'Select' && newResizableControlEle?.getAttribute('data-EntityFieldValue') != 'Select') {\r\n let entityType: any = newResizableControlEle?.getAttribute('data-EntityField');\r\n entityFieldValue = newResizableControlEle?.getAttribute('data-EntityFieldValue');\r\n if (newResizableControlEle.id.includes('resizable_textControl')) {\r\n if ((integrationResp.envelopeStage != \"PrepareEditTemplate\" && integrationResp.envelopeStage != \"PrepareTemplate\") && entityType && (entityType.toLowerCase().includes('date') || entityType.toLowerCase() === 'availability start')) {\r\n let attr_data_additional_validation_option: any = additionalValidationOptionName;\r\n let validationOption: any = (attr_data_additional_validation_option && attr_data_additional_validation_option != \"null\" && attr_data_additional_validation_option != \"undefined\") ? attr_data_additional_validation_option : defaultDateFormatValue;\r\n if (newResizableControlEle) {\r\n this.updateDateFormatNameAndOptions(newResizableControlEle, validationOption);\r\n entityFieldValue = newResizableControlEle?.getAttribute('data-entityfielddateformatedvalue');\r\n newResizableControlEle?.setAttribute(\"data-EntityField\", entityType);\r\n newResizableControlEle?.setAttribute(\"data-EntityFieldValue\", entityFieldValue);\r\n newResizableControlEle?.setAttribute('data-asteriskoriginaltext', entityFieldValue);\r\n newSpnControlEle.innerHTML = entityFieldValue;\r\n }\r\n }\r\n }\r\n }\r\n this.updateTextAreaText(innerHtmlAttr, newControlId);\r\n } else {\r\n newResizableControlEle?.setAttribute(\"data-Entity\", '');\r\n newResizableControlEle?.setAttribute(\"data-EntityField\", '');\r\n newResizableControlEle?.setAttribute(\"data-EntityFieldValue\", '');\r\n }\r\n\r\n if (prefillAttr == \"true\") {\r\n newResizableControlEle?.setAttribute('data-prefill', 'true');\r\n newResizableControlEle?.setAttribute('data-displayLabel', 'false');\r\n }\r\n else {\r\n newResizableControlEle?.setAttribute('data-prefill', 'false');\r\n newResizableControlEle?.setAttribute('data-displayLabel', 'true');\r\n }\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Radio.toLowerCase() || newControlObj.dataGuid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('data-size', sizeAttr);\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('data-groupname', groupnameAttr);\r\n newSpnControlEle?.setAttribute('name', grpNameAttr);\r\n }\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('data-isGroupChecked', '');\r\n if (groupnameAttr != null && groupnameAttr != '' && grpNameAttr != null && grpNameAttr != '') {\r\n newResizableControlEle?.setAttribute('data-groupname', groupnameAttr);\r\n newSpnControlEle?.setAttribute('name', grpNameAttr);\r\n newResizableControlEle?.setAttribute('data-isGroupChecked', 'true');\r\n }\r\n else newResizableControlEle?.setAttribute('data-isGroupChecked', 'false');\r\n }\r\n newSpnControlEle?.setAttribute('font-family-id', 'D4A45ECD-3865-448A-92FA-929C2295EA34');\r\n let defaultSize: any = this.getRadioCheckBoxSizeVal(sizeAttr);\r\n this.applyRadioAndCheckBoxSizes(defaultSize, newResizableControlEle, newSpnControlEle);\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('data-firstlineblank', 'false');\r\n let newSelectDropdownControlField: any = (document.getElementById('spn' + newControlId)) as HTMLSelectElement;\r\n if (oldControlObj && oldControlObj.selectControlOptions && oldControlObj.selectControlOptions.length > 0) {\r\n oldControlObj.selectControlOptions = oldControlObj.selectControlOptions.sort((a: any, b: any) => a.order > b.order ? 1 : -1);\r\n for (let index = 0; index < oldControlObj.selectControlOptions.length; index++) {\r\n var text = oldControlObj.selectControlOptions[index].optionText;\r\n var ruleId = oldControlObj.selectControlOptions[index]?.id;\r\n var value = oldControlObj.selectControlOptions[index]?.order;\r\n\r\n if (value == \"0\" && text == '') {\r\n newResizableControlEle?.setAttribute('data-firstlineblank', 'true');\r\n }\r\n\r\n var option = '';\r\n if (index == 0) option = '';\r\n else option = '';\r\n newSelectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n }\r\n }\r\n if (expandedAttr == true || expandedAttr == \"true\")\r\n newResizableControlEle.classList.add('expanded');\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Label.toLowerCase()) {\r\n newSpnControlEle.innerHTML = innerHtmlAttr;\r\n newSpnControlEle?.setAttribute('isupdated', 'true');\r\n newSpnControlEle?.setAttribute('data-label-text', innerHtmlAttr);\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n newControlEle?.setAttribute('data-hyperlink', hyperlinkAttr);\r\n newSpnControlEle.innerHTML = innerHtmlAttr;\r\n newSpnControlEle?.setAttribute('isupdated', 'true');\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Date.toLowerCase()) {\r\n this.dateFormat = this.sessionStorageService.getDateformat();\r\n this.dateformatValue = this.sessionStorageService.getDateformatValue();\r\n newResizableControlEle?.setAttribute('data-defaultdate', defaultdateAttr);\r\n newSpnControlEle.innerHTML = innerHtmlAttr;\r\n let dateFormatAttr: any = '';\r\n let dateformatArray: any = this.dateformatValue;\r\n let dateArrayObj: any = dateformatArray.filter((obj: any) => obj.viewValue == innerHtmlAttr);\r\n if (dateArrayObj && dateArrayObj.length > 0)\r\n dateFormatAttr = dateArrayObj[0].value;\r\n else dateFormatAttr = this.dateFormat[0].value;\r\n\r\n dateformatArray = this.dateFormat;\r\n dateArrayObj = dateformatArray.filter((obj: any) => obj.value == dateFormatAttr);\r\n if (dateArrayObj && dateArrayObj.length > 0)\r\n dateFormatAttr = dateArrayObj[0].viewValue;\r\n else dateFormatAttr = this.dateFormat[0].viewValue;\r\n\r\n newResizableControlEle?.setAttribute('data-defaultformat', dateFormatAttr);\r\n }\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Company.toLowerCase() ||\r\n newControlObj.dataGuid.toLowerCase() == Control.Email.toLowerCase() ||\r\n newControlObj.dataGuid.toLowerCase() == Control.DateTimeStamp.toLowerCase()) {\r\n newResizableControlEle?.setAttribute('maxlengthallowed', '');\r\n newResizableControlEle?.setAttribute('maxcharallowed', '');\r\n newResizableControlEle?.setAttribute('maxemailcharallowed', '');\r\n newResizableControlEle?.setAttribute('data-isfixedwidth', 'true');\r\n }\r\n\r\n if (newControlObj.dataGuid.toLowerCase() == Control.Initials.toLowerCase()) {\r\n let newResizableControlEle: any = (document.getElementById('resizable_' + newControlObj.id));\r\n newResizableControlEle?.setAttribute('fromParentInitialCtrl', 'true');\r\n }\r\n\r\n this.showRequiredIcon(newControlId);\r\n this.removeControlAttributes(newResizableControlEle, newControlObj.dataGuid);\r\n }\r\n\r\n updateExistingControlDependencyFields(documentDetails: any) {\r\n if (documentDetails && documentDetails.length > 0) {\r\n for (let index = 0; index < documentDetails.length; index++) {\r\n const documentElement = documentDetails[index];\r\n let documentContentDetails: any = documentElement.documentContentDetails;\r\n if (documentContentDetails && documentContentDetails.length > 0) {\r\n for (let index = 0; index < documentContentDetails.length; index++) {\r\n const docContentItem: any = documentContentDetails[index];\r\n if (docContentItem.conditionalControlsDetails && docContentItem.conditionalControlsDetails.dependentFields && docContentItem.conditionalControlsDetails.dependentFields.length > 0) {\r\n let dependenciesItemsArray: any = docContentItem.conditionalControlsDetails.dependentFields;\r\n Array.from(dependenciesItemsArray).forEach((depenItem: any, v: any) => {\r\n let childDependentItem: any = document.querySelector('[data-document-content-id=\"' + depenItem.controlID + '\"]');\r\n if (childDependentItem) {\r\n childDependentItem.setAttribute('data-parent-id', docContentItem.id);\r\n childDependentItem.setAttribute('data-parent-rule-id', depenItem.conditionID);\r\n childDependentItem.setAttribute('is-parent-present', \"true\");\r\n\r\n let parentItem: any = document.querySelector('[data-document-content-id=\"' + docContentItem.id + '\"]');\r\n let parent_groupCode: any = parentItem.getAttribute('group-code');\r\n let child_groupCode: any = childDependentItem.getAttribute('group-code');\r\n if (child_groupCode != '' || parent_groupCode != '') {\r\n //parent control\r\n if (parent_groupCode == null || parent_groupCode == '') {\r\n if (child_groupCode != null && child_groupCode != \"\" && child_groupCode != \"null\" && child_groupCode != undefined)\r\n parentItem.setAttribute('group-code', child_groupCode);\r\n }\r\n else if (child_groupCode == '' || child_groupCode == null || child_groupCode == 'null' || child_groupCode == undefined) {\r\n //child control\r\n if (parent_groupCode != null && parent_groupCode != \"\" && parent_groupCode != \"null\" && parent_groupCode != undefined) {\r\n childDependentItem.setAttribute('group-code', parent_groupCode);\r\n child_groupCode = parent_groupCode;\r\n }\r\n }\r\n //child control\r\n if (child_groupCode != null && child_groupCode != \"\" && child_groupCode != \"null\" && child_groupCode != undefined) {\r\n if (child_groupCode != 0 && child_groupCode != \"0\") {\r\n let colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(child_groupCode) % 10].Color;\r\n this.applyColorCodeForItem(childDependentItem.getAttribute('id'), colorCode);\r\n childDependentItem?.classList.add('alreadyDependentField');\r\n childDependentItem?.classList.add('addedAsChild');\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n let resizableControlItem: any = document.getElementById(\"resizable_\" + docContentItem.controlHtmlID);\r\n if (resizableControlItem) {\r\n let mainControlItem: any = document.getElementById(docContentItem.controlHtmlID);\r\n let attr_isParentPresent: any = mainControlItem.getAttribute('is-parent-present');\r\n if (attr_isParentPresent != \"true\") {\r\n let attr_dataGuid: any = resizableControlItem.getAttribute('data-guid');\r\n if (attr_dataGuid && (attr_dataGuid.toLowerCase() == Control.Text.toLocaleLowerCase() || attr_dataGuid.toLowerCase() == Control.Radio.toLocaleLowerCase() ||\r\n attr_dataGuid.toLowerCase() == Control.Checkbox.toLocaleLowerCase() || attr_dataGuid.toLowerCase() == Control.DropDown.toLocaleLowerCase())) {\r\n\r\n if (attr_dataGuid.toLowerCase() == Control.Radio.toLocaleLowerCase() || attr_dataGuid.toLowerCase() == Control.Checkbox.toLocaleLowerCase()) {\r\n let attr_dataSelected: any = resizableControlItem.getAttribute('data-selected1');\r\n if (attr_dataSelected != \"true\")\r\n this.removeColorForItem(docContentItem.controlHtmlID);\r\n } else {\r\n this.removeColorForItem(docContentItem.controlHtmlID);\r\n }\r\n\r\n let controlItem: any = document.getElementById(docContentItem.controlHtmlID);\r\n this.removeAttributes(controlItem.getAttribute('data-document-content-id'));\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n disableUndoButtons(isEnvelopeEditable: any) {\r\n let className: any = 'disabledCtrl';\r\n if (isEnvelopeEditable == false) return className;\r\n let undoBtn: any = document.getElementById(\"undoBtn\");\r\n // let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n let arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n if (arrCopyPasteCtrl) {\r\n let arrCopyPasteCtrlArray: any = JSON.parse(arrCopyPasteCtrl);\r\n // let arrUndoRedoCtrlArrTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n let arrUndoRedoCtrlArrTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n if (arrUndoRedoCtrlArrTemp !== '') {\r\n let arrUndoRedoCtrlArrayTemp: any = JSON.parse(arrUndoRedoCtrlArrTemp);\r\n if ((arrCopyPasteCtrlArray && arrCopyPasteCtrlArray.length > 0) &&\r\n (arrUndoRedoCtrlArrayTemp && arrUndoRedoCtrlArrayTemp.length > 0)) {\r\n undoBtn.classList.remove(\"disabledCtrl\");\r\n className = 'enabledCtrl';\r\n }\r\n }\r\n }\r\n return className;\r\n }\r\n\r\n disableRedoButtons(isEnvelopeEditable: any) {\r\n let className: any = 'disabledCtrl';\r\n if (isEnvelopeEditable == false) return className;\r\n let redoBtn: any = document.getElementById(\"redoBtn\");\r\n // let arrUndoCtrlsCount: any = localStorage.getItem('arrUndoCtrlsCount');\r\n let arrUndoCtrlsCount: any = this.sessionStorageService.getArrUndoCtrlsCount();\r\n if (arrUndoCtrlsCount) {\r\n let arrUndoCtrlsCountArray: any = JSON.parse(arrUndoCtrlsCount);\r\n if (arrUndoCtrlsCountArray && arrUndoCtrlsCountArray.length > 0) {\r\n redoBtn.classList.remove(\"disabledCtrl\");\r\n className = 'enabledCtrl';\r\n }\r\n }\r\n return className;\r\n }\r\n\r\n undo() {\r\n let ctrlIdArr: any[] = [];\r\n // let arrUndoRedoCtrl: any = localStorage.getItem('ArrUndoRedoCtrl');\r\n let arrUndoRedoCtrl: any = this.sessionStorageService.getArrUndoRedoCtrl();\r\n\r\n // let arrUndoRedoCtrlArrTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n let arrUndoRedoCtrlArrTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n if (arrUndoRedoCtrlArrTemp) {\r\n let arrUndoRedoCtrlArrayTemp: any = JSON.parse(arrUndoRedoCtrlArrTemp);\r\n // console.log('arrUndoRedoCtrlArrayTemp', arrUndoRedoCtrlArrayTemp);\r\n if (arrUndoRedoCtrl) {\r\n let arrUndoRedoCtrlArray: any = JSON.parse(arrUndoRedoCtrl);\r\n if (arrUndoRedoCtrlArrayTemp && arrUndoRedoCtrlArrayTemp.length > 0) {\r\n if (arrUndoRedoCtrlArray && arrUndoRedoCtrlArray.length > 0) {\r\n arrUndoRedoCtrlArrayTemp.forEach((ele: any, index: any) => {\r\n let undoCtrl: any = arrUndoRedoCtrlArrayTemp[index];\r\n ctrlIdArr.push(undoCtrl.Control.id);\r\n arrUndoRedoCtrlArray = arrUndoRedoCtrlArray.filter(function (item: any) { return item.Control.id !== ele.Control.id; });\r\n // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(arrUndoRedoCtrlArray));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(arrUndoRedoCtrlArray));\r\n })\r\n\r\n arrUndoRedoCtrlArrayTemp = [];\r\n let temp: any = arrUndoRedoCtrlArray.reverse();\r\n // let selecteditemsLength: any = localStorage.getItem('selecteditemsLength');\r\n let selecteditemsLength: any = this.sessionStorageService.getSelecteditemsLength();\r\n if (temp && temp.length) {\r\n temp.forEach((ele: any, index: any) => {\r\n if (index <= parseInt(selecteditemsLength) - 1) {\r\n arrUndoRedoCtrlArrayTemp.push(ele);\r\n }\r\n })\r\n }\r\n // localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(arrUndoRedoCtrlArrayTemp));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(arrUndoRedoCtrlArrayTemp));\r\n }\r\n }\r\n }\r\n }\r\n\r\n return ctrlIdArr;\r\n }\r\n\r\n //when delete the control while doing undo redo\r\n updateUndoRedoCopyPasteControlArray(ctrlId: any) {\r\n // let arrUndoRedoCtrl: any = localStorage.getItem('ArrUndoRedoCtrl');\r\n // let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n\r\n let arrUndoRedoCtrl: any = this.sessionStorageService.getArrUndoRedoCtrl();\r\n let arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n\r\n let arrUndoRedoCtrlArray: any = JSON.parse(arrUndoRedoCtrl);\r\n if (arrUndoRedoCtrlArray && arrUndoRedoCtrlArray.length > 0) {\r\n arrUndoRedoCtrlArray = arrUndoRedoCtrlArray.filter(function (item: any) { return item.Control.id !== ctrlId; });\r\n // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(arrUndoRedoCtrlArray));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(arrUndoRedoCtrlArray));\r\n if (arrUndoRedoCtrlArray && arrUndoRedoCtrlArray.length > 0) {\r\n let copyPasteItem: any = arrUndoRedoCtrlArray[arrUndoRedoCtrlArray.length - 1];\r\n arrCopyPasteCtrl = [];\r\n arrCopyPasteCtrl.push({ ParentControl: copyPasteItem.ParentControl, Control: copyPasteItem.Control, Action: 'P' });\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(arrCopyPasteCtrl));\r\n }\r\n }\r\n if (arrUndoRedoCtrlArray && arrUndoRedoCtrlArray.length == 0) {\r\n // let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n let arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n arrCopyPasteCtrl = [];\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(arrCopyPasteCtrl));\r\n }\r\n }\r\n\r\n removeControlAttributes(newResizableControlEle: any, data_guid: any) {\r\n if (data_guid && data_guid.toLowerCase() == Control.Signature.toLowerCase() || data_guid.toLowerCase() == Control.Initials.toLowerCase() ||\r\n data_guid && data_guid.toLowerCase() == Control.Radio.toLowerCase() || data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n newResizableControlEle?.removeAttribute('data-defaultdate');\r\n newResizableControlEle?.removeAttribute('data-placeholder');\r\n newResizableControlEle?.removeAttribute('data-typography');\r\n newResizableControlEle?.removeAttribute('data-confirm-submit');\r\n newResizableControlEle?.removeAttribute('data-isfixedwidth');\r\n newResizableControlEle?.removeAttribute('maxlengthallowed');\r\n newResizableControlEle?.removeAttribute('maxcharallowed');\r\n newResizableControlEle?.removeAttribute('maxemailcharallowed');\r\n }\r\n else if (data_guid && data_guid.toLowerCase() == Control.Date.toLowerCase()) {\r\n newResizableControlEle?.removeAttribute('maxlengthallowed');\r\n newResizableControlEle?.removeAttribute('maxcharallowed');\r\n newResizableControlEle?.removeAttribute('maxemailcharallowed');\r\n newResizableControlEle?.removeAttribute('data-isfixedwidth');\r\n }\r\n else if (data_guid && data_guid.toLowerCase() != Control.Email.toLowerCase()) {\r\n newResizableControlEle?.removeAttribute('data-confirm-submit');\r\n }\r\n else if (data_guid.toLowerCase() != Control.DropDown.toLowerCase()) {\r\n newResizableControlEle?.removeAttribute('data-firstlineblank');\r\n }\r\n else if (data_guid && (data_guid.toLowerCase() == Control.Label.toLowerCase() || data_guid.toLowerCase() == Control.Hyperlink.toLowerCase())) {\r\n newResizableControlEle?.removeAttribute('data-defaultdate');\r\n newResizableControlEle?.removeAttribute('data-confirm-submit');\r\n newResizableControlEle?.removeAttribute('data-isfixedwidth');\r\n newResizableControlEle?.removeAttribute('maxlengthallowed');\r\n newResizableControlEle?.removeAttribute('maxcharallowed');\r\n newResizableControlEle?.removeAttribute('maxemailcharallowed');\r\n newResizableControlEle?.removeAttribute('data-customtooltip');\r\n newResizableControlEle?.removeAttribute('data-original-title');\r\n newResizableControlEle?.setAttribute('title', '');\r\n }\r\n else if (data_guid && (\r\n data_guid.toLowerCase() != Control.Text.toLowerCase() &&\r\n data_guid.toLowerCase() != Control.Name.toLowerCase() &&\r\n data_guid.toLowerCase() != Control.Title.toLowerCase())) {\r\n newResizableControlEle?.removeAttribute('data-isfixedwidth');\r\n }\r\n }\r\n\r\n enableShowControlId(val: any) {\r\n if (val && val != null && (val == \"True\" || val == \"true\")) return \"block\";\r\n else return \"none\";\r\n }\r\n\r\n setHideFixedwidthCheckbox(val: any) {\r\n this.hideFixedwidthCheckbox = val;\r\n }\r\n\r\n getHideFixedwidthCheckbox() {\r\n return this.hideFixedwidthCheckbox;\r\n }\r\n\r\n hideCtrlCharLimitInput(charInputLimit: any) {\r\n if (charInputLimit) {\r\n charInputLimit.style.display = 'none';\r\n }\r\n }\r\n\r\n showCtrlCharLimitInput(charInputLimit: any) {\r\n if (charInputLimit) {\r\n charInputLimit.style.display = 'block';\r\n }\r\n }\r\n\r\n hideCtrlLengthInput(inputLenth: any) {\r\n if (inputLenth) {\r\n inputLenth.style.display = 'none';\r\n }\r\n }\r\n\r\n showCtrlLengthInput(inputLenth: any) {\r\n if (inputLenth) {\r\n inputLenth.style.display = 'block';\r\n }\r\n }\r\n\r\n checkFixedWidthFalseAndMaxCharLimit(ctrlName: any, ctrlInputLength: string, ctrlCharInputLimit: string, isFixedWidthContainer: string, isFixedWidthChecked: any) {\r\n let inputLength: any = document.getElementById(ctrlInputLength);\r\n if (inputLength) {\r\n this.hideCtrlLengthInput(inputLength);\r\n }\r\n let charInputLimit: any = document.getElementById(ctrlCharInputLimit);\r\n if (charInputLimit) {\r\n this.showCtrlCharLimitInput(charInputLimit);\r\n charInputLimit.value = (ctrlName.toLowerCase() === 'text') ? '4000' : '100';\r\n }\r\n let isFixedWidthNameContainer: any = document.getElementById(isFixedWidthContainer);\r\n if (isFixedWidthNameContainer && isFixedWidthNameContainer.children && isFixedWidthNameContainer.children[0]) {\r\n let isFixedWidthEle: any = document.getElementById(isFixedWidthNameContainer.children[0].id)\r\n if (isFixedWidthEle) {\r\n isFixedWidthEle.checked = isFixedWidthChecked;\r\n let fixedWidthDisplayOrNot: any = this.getHideFixedwidthCheckbox();\r\n if (fixedWidthDisplayOrNot !== true) {\r\n isFixedWidthNameContainer.style.display = 'block';\r\n }\r\n else {\r\n isFixedWidthNameContainer.style.display = 'none';\r\n }\r\n }\r\n }\r\n }\r\n\r\n checkFixedWidthTrueAndMaxCharLimit(ctrlName: any, ctrlInputLength: string, ctrlCharInputLimit: string, isFixedWidthContainer: string) {\r\n let inputLength: any = document.getElementById(ctrlInputLength);\r\n if (inputLength) {\r\n this.showCtrlLengthInput(inputLength);\r\n inputLength.value = '20';\r\n }\r\n let charInputLimit: any = document.getElementById(ctrlCharInputLimit);\r\n if (charInputLimit) {\r\n this.hideCtrlCharLimitInput(charInputLimit);\r\n }\r\n\r\n let isFixedWidthCont: any = document.getElementById(isFixedWidthContainer);\r\n if (this.hideFixedwidthCheckbox === true) {\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'none';\r\n }\r\n } else {\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'block';\r\n }\r\n }\r\n }\r\n\r\n updateRecipientsInStorage(currentSelectedControl: any, selectedRecipentId: any) {\r\n // let allImageControlsString: any = localStorage.getItem('AllImageControls');\r\n let allImageControlsString: any = this.sessionStorageService.getAllImageControls();\r\n let arrControlIdNumbers: any = [];\r\n if (allImageControlsString) {\r\n arrControlIdNumbers = JSON.parse(allImageControlsString);\r\n for (let index = 0; index < arrControlIdNumbers.length; index++) {\r\n const element = arrControlIdNumbers[index];\r\n if (element.ControlId.toLowerCase() === currentSelectedControl.toLowerCase()) {\r\n element.RecipientId = selectedRecipentId;\r\n }\r\n }\r\n }\r\n\r\n // localStorage.setItem('AllImageControls', JSON.stringify(arrControlIdNumbers));\r\n this.sessionStorageService.setAllImageControls(JSON.stringify(arrControlIdNumbers));\r\n\r\n // let controlDependencyFieldsString: any = localStorage.getItem('ControlDependencyFieldsArray');\r\n let controlDependencyFieldsString: any = this.sessionStorageService.getControlDependencyFieldsArray();\r\n let arrControlFieldDependenceControls: any = [];\r\n if (controlDependencyFieldsString) {\r\n arrControlFieldDependenceControls = JSON.parse(controlDependencyFieldsString);\r\n for (let index = 0; index < arrControlFieldDependenceControls.length; index++) {\r\n const element = arrControlFieldDependenceControls[index];\r\n if (element.ControlId.toLowerCase() === currentSelectedControl.toLowerCase()) {\r\n element.RecipientId = selectedRecipentId;\r\n }\r\n }\r\n }\r\n\r\n // localStorage.setItem('ControlDependencyFieldsArray', JSON.stringify(arrControlFieldDependenceControls));\r\n this.sessionStorageService.setControlDependencyFieldsArray(JSON.stringify(arrControlFieldDependenceControls));\r\n\r\n setTimeout(() => {\r\n let controlEleItem: any = document.getElementById(currentSelectedControl);\r\n let ctrlParentId: any = controlEleItem.getAttribute(\"data-parent-id\");\r\n if (ctrlParentId && ctrlParentId != null && ctrlParentId != \"null\") {\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + ctrlParentId + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length == 1) {\r\n var parentElement: any = document.querySelector('[data-document-content-id=\"' + ctrlParentId + '\"]');\r\n var isParentPresent = parentElement?.getAttribute('is-parent-present');\r\n if ((isParentPresent == \"false\" || isParentPresent == \"\" || isParentPresent == \"null\" || isParentPresent == null || typeof isParentPresent == \"undefined\")) {\r\n this.removeColorForItem(parentElement?.getAttribute('id'));\r\n }\r\n }\r\n }\r\n\r\n let childDependentList: any = controlEleItem.getAttribute(\"is-child-present\");\r\n if (childDependentList == \"true\") {\r\n this.removeColorForDependentFields(controlEleItem.getAttribute(\"data-document-content-id\"));\r\n }\r\n\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n let data_guid = resizableCurrentControl.getAttribute(\"data-guid\");\r\n if (data_guid.toLowerCase() != Control.DateTimeStamp.toLowerCase() && data_guid.toLowerCase() != Control.Label.toLowerCase() && data_guid.toLowerCase() != Control.Hyperlink.toLowerCase()) {\r\n this.removeColorForItem(currentSelectedControl);\r\n }\r\n\r\n let ctrlParentDocumentContentId: any = controlEleItem.getAttribute(\"data-document-content-id\");\r\n this.removeAttributes(ctrlParentDocumentContentId);\r\n }, 1);\r\n }\r\n\r\n removeColorForDependentFields(docContentId: any) {\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + docContentId + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItem: any, ind: any) => {\r\n let docContentid: any = childDependentItem.getAttribute('data-document-content-id');\r\n this.removeAttributes(docContentid);\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-child-present', '');\r\n this.removeColorForItem(childDependentItem.getAttribute('id'));\r\n this.removeColorForDependentFields(childDependentItem);\r\n });\r\n }\r\n }\r\n\r\n resetTextToTextArea(id: any) {\r\n // let resetAddTextArea: any = document.getElementById('addTextTextarea');\r\n // if (resetAddTextArea) {\r\n // resetAddTextArea.value = 'Text';\r\n // }\r\n let ctrlSpnEle: any = document.getElementById('spn' + id);\r\n if (ctrlSpnEle) {\r\n ctrlSpnEle.innerText = 'Text';\r\n }\r\n }\r\n\r\n resetTextAreaInputs() {\r\n let currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentControlId);\r\n if (ctrlEle) {\r\n let attr_guid: any = ctrlEle.getAttribute('data-guid');\r\n let attr_texttype: any = ctrlEle.getAttribute('data-texttype');\r\n let disableInputField: any = document.getElementById('textInputLength');\r\n if (attr_guid && attr_guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (attr_texttype && (attr_texttype != \"5121246A-D9AB-49F4-8717-4EF4CAAB927B\" && attr_texttype != \"DCBBE75C-FDEC-472C-AE25-2C42ADFB3F5D\" &&\r\n attr_texttype != \"8348E5CD-59EA-4A77-8436-298553D286BD\")) {\r\n if (disableInputField) {\r\n disableInputField.classList.remove('disabled');\r\n }\r\n }\r\n else {\r\n if (disableInputField) {\r\n disableInputField.classList.add('disabled');\r\n }\r\n }\r\n }\r\n\r\n let attr_integrationType: any = ctrlEle.getAttribute('data-integrationtype');\r\n if (attr_integrationType && attr_integrationType != \"undefined\" && attr_integrationType != \"null\" && attr_integrationType.toLowerCase() !== 'vincere') {\r\n let textValidationsoptions: any = document.getElementById('textValidationsoptions');\r\n if (textValidationsoptions) {\r\n textValidationsoptions.classList.remove('disabled');\r\n }\r\n }\r\n let resetEntityFields: any = document.getElementById('entityFields');\r\n if (resetEntityFields) {\r\n resetEntityFields.value = 'Select';\r\n }\r\n }\r\n }\r\n\r\n getValueByKey(value: any, list: any) {\r\n if (value) {\r\n for (let i = 0; i < list.length; i++) {\r\n let item: any = list[i] && (list[i].value ? list[i].value : list[i].Value);\r\n if (item && (item.toLowerCase() === value.toLowerCase() || item.toLowerCase() === value.toLowerCase())) {\r\n return (list[i].Value || list[i].value);\r\n }\r\n }\r\n }\r\n return null; // If the value is not found, return null\r\n }\r\n\r\n //passing value here and getting key value based on value\r\n getKeyByValue(value: any, list: any) {\r\n if (value) {\r\n for (let i = 0; i < list.length; i++) {\r\n let item: any = list[i] && (list[i].value ? list[i].value : list[i].Value);\r\n if (item && (item.toLowerCase() === value.toLowerCase() || item.toLowerCase() === value.toLowerCase())) {\r\n return (list[i].Key || list[i].key);\r\n }\r\n }\r\n }\r\n return null; // If the value is not found, return null\r\n }\r\n\r\n showWarning(msg: any, type: any) {\r\n this.toastrService.warning(msg, type);\r\n }\r\n\r\n updateDateFormatNameAndOptions(ctrl: any, validationOption: any) {\r\n let entityFieldsValues: any = ctrl.getAttribute('data-entityfieldvalue');\r\n let entityField: any = ctrl.getAttribute('data-entityfield');\r\n ctrl.setAttribute('data-entityfielddateformatedvalue', '');\r\n if((entityField && (entityField.toLowerCase().includes('date') || entityField.toLowerCase() === 'availability start'))){\r\n ctrl?.setAttribute('data-validation-type', 'Date');\r\n ctrl?.setAttribute('data-texttype', this.getTextTypeValue('date'));\r\n }\r\n if (entityFieldsValues) { // Avoid short/invalid values\r\n // Extract only the date part (ignore time if present)\r\n let dateOnly = entityFieldsValues.split(' ')[0]; // Remove time like \"00:00:00\"\r\n\r\n // Detect and parse the date\r\n let parsedDate: any = this.detectAndParseDate(dateOnly);\r\n ctrl?.setAttribute('data-validation-type', 'Date');\r\n\r\n if (parsedDate && parsedDate != 'Invalid Date') {\r\n let year = parsedDate.getFullYear();\r\n let month = ('0' + (parsedDate.getMonth() + 1)).slice(-2); // Ensure 2-digit month\r\n let day = ('0' + parsedDate.getDate()).slice(-2); // Ensure 2-digit day\r\n let dmonth = parseInt(month, 10);\r\n let df: any = validationOption;\r\n // Step 3: Convert to desired format\r\n let dateRetVal: any = this.commonService.getDateFormat(day, month, year, df, dmonth);\r\n // Step 4: Set attributes\r\n ctrl.setAttribute('data-entityfielddateformatedvalue', dateRetVal);\r\n ctrl.setAttribute('data-asteriskoriginaltext', dateRetVal);\r\n }\r\n else {\r\n ctrl.setAttribute('data-entityfielddateformatedvalue', this.checkNull(entityFieldsValues, \"\"));\r\n ctrl.setAttribute('data-asteriskoriginaltext', this.checkNull(entityFieldsValues, \"\"));\r\n }\r\n } else {\r\n ctrl.setAttribute('data-entityfielddateformatedvalue', entityFieldsValues ?? entityField);\r\n ctrl.setAttribute('data-asteriskoriginaltext', entityFieldsValues ?? entityField);\r\n }\r\n }\r\n // Function to dynamically detect and parse a date based on known formats\r\n detectAndParseDate(dateStr: string): Date | null {\r\n if (!dateStr) return null;\r\n\r\n // Match dates like 10-01-2025, 01/10/2025, 2025-01-10\r\n let dateMatch = dateStr.match(/(\\d{1,4})[-\\/.](\\d{1,2})[-\\/.](\\d{1,4})/);\r\n if (dateMatch) {\r\n let first = parseInt(dateMatch[1], 10);\r\n let second = parseInt(dateMatch[2], 10);\r\n let third = parseInt(dateMatch[3], 10);\r\n // In this case, 10 means decimal (base-10), which is the standard numbering system.If radix was not specified, older JavaScript versions may assume octal (base-8) for numbers starting with 0.Might return NaN in some browsers (treated as octal).\r\n let year, month, day;\r\n\r\n if (first > 31) { // YYYY-MM-DD or YYYY-DD-MM\r\n year = first;\r\n if (second > 12) {\r\n day = second; month = third; // YYYY-DD-MM\r\n } else {\r\n month = second; day = third; // YYYY-MM-DD\r\n }\r\n } else if (third > 31) { // DD-MM-YYYY or MM-DD-YYYY\r\n year = third;\r\n if (second > 12) {\r\n day = first; month = second; // DD-MM-YYYY\r\n } else {\r\n month = first; day = second; // MM-DD-YYYY\r\n }\r\n } else {\r\n day = first; month = second; year = third; // Default to DD-MM-YYYY\r\n }\r\n\r\n return new Date(`${year}-${month}-${day}`);\r\n }\r\n\r\n // Try JavaScript's Date parser for natural formats\r\n let parsed = new Date(dateStr);\r\n if (!isNaN(parsed.getTime())) return parsed;\r\n\r\n return null; // if no valid date detected\r\n }\r\n\r\n moveSelectedItems(selectedItems: any, deltaX: number, deltaY: number) {\r\n let containerWidth: any = 0;\r\n let containerHeight: any = 0;\r\n let pageNo: any = 1;\r\n if (selectedItems && selectedItems.length > 0) {\r\n selectedItems.forEach((ctrl: any) => {\r\n let ctrlEle: any = document.getElementById(ctrl);\r\n let checkBGColor: any = ctrlEle.style.background;\r\n if (ctrlEle && checkBGColor === 'bisque') {\r\n pageNo = ctrlEle.getAttribute('pageno');\r\n let imageControlEle: any = document.getElementById('imgControl_' + parseInt(pageNo));\r\n if (imageControlEle) {\r\n containerWidth = (imageControlEle.offsetWidth);\r\n containerHeight = (imageControlEle.offsetHeight);\r\n }\r\n\r\n let positions: any = this.getElePositions(ctrlEle);\r\n let width: any = ctrlEle.style.width.split('px')[0];\r\n let height: any = ctrlEle.style.height.split('px')[0];\r\n let newTransformValue: any = 0;\r\n if (deltaX === 1 && (parseFloat(positions.Left) + parseFloat(width) + 10) <= containerWidth) {\r\n //newTransformValue = `translate3d(${positions.Left + deltaX}px, ${positions.Top + deltaY}px, 0px)`;\r\n ctrlEle.style.left = (parseFloat(positions.Left) + deltaX) + \"px\";\r\n ctrlEle.style.top = (parseFloat(positions.Top) + deltaY) + \"px\";\r\n }\r\n else if (deltaX === -1 && (parseFloat(positions.Left) > 10)) {\r\n //newTransformValue = `translate3d(${positions.Left + deltaX}px, ${positions.Top + deltaY}px, 0px)`;\r\n ctrlEle.style.left = (parseFloat(positions.Left) + deltaX) + \"px\";\r\n ctrlEle.style.top = (parseFloat(positions.Top) + deltaY) + \"px\";\r\n }\r\n else if (deltaY === 1 && (parseFloat(positions.Top) + parseFloat(height) + 10) <= containerHeight) {\r\n //newTransformValue = `translate3d(${positions.Left + deltaX}px, ${positions.Top + deltaY}px, 0px)`;\r\n ctrlEle.style.left = (parseFloat(positions.Left) + deltaX) + \"px\";\r\n ctrlEle.style.top = (parseFloat(positions.Top) + deltaY) + \"px\";\r\n }\r\n else if (deltaY === -1 && (parseFloat(positions.Top) > 8)) {\r\n //newTransformValue = `translate3d(${positions.Left + deltaX}px, ${positions.Top + deltaY}px, 0px)`;\r\n ctrlEle.style.left = (parseFloat(positions.Left) + deltaX) + \"px\";\r\n ctrlEle.style.top = (parseFloat(positions.Top) + deltaY) + \"px\";\r\n }\r\n }\r\n });\r\n\r\n //movine red border div based on arrows and restricting the document width and hegiht\r\n let selectionBorderIdEle: any = document.getElementById('selectionBorderId');\r\n if (selectionBorderIdEle) {\r\n // Get the current position of the selection border\r\n let currentLeft = parseFloat(selectionBorderIdEle.style.left.split('px')[0]) || 0;\r\n let currentTop = parseFloat(selectionBorderIdEle.style.top.split('px')[0]) || 0;\r\n\r\n // Calculate the new position after applying deltaX and deltaY\r\n let newLeft = currentLeft + deltaX;\r\n let newTop = currentTop + deltaY;\r\n\r\n // Restrict the left position (ensure it's within the container's width)\r\n if (newLeft < 0) {\r\n newLeft = 0; // Don't let the left go past 0\r\n } else if (newLeft + selectionBorderIdEle.offsetWidth > containerWidth) {\r\n newLeft = containerWidth - selectionBorderIdEle.offsetWidth; // Don't let the right side go past the container\r\n }\r\n\r\n // Restrict the top position (ensure it's within the container's height)\r\n if (newTop < 0) {\r\n newTop = 0; // Don't let the top go past 0\r\n } else if (newTop + selectionBorderIdEle.offsetHeight > containerHeight) {\r\n newTop = containerHeight - selectionBorderIdEle.offsetHeight; // Don't let the bottom go past the container\r\n }\r\n\r\n // Apply the new restricted position to the selection border\r\n selectionBorderIdEle.style.left = newLeft + \"px\";\r\n selectionBorderIdEle.style.top = newTop + \"px\";\r\n }\r\n\r\n this.updateGropuDependenciesToolTips(pageNo);\r\n\r\n // let selectionBorderIdEle:any = document.getElementById('selectionBorderId');\r\n // if (selectionBorderIdEle) {\r\n // selectionBorderIdEle.style.left = (parseFloat(selectionBorderIdEle.style.left.split('px')[0]) + deltaX) + \"px\";\r\n // selectionBorderIdEle.style.top = (parseFloat(selectionBorderIdEle.style.top.split('px')[0]) + deltaY) + \"px\";\r\n // }\r\n }\r\n }\r\n\r\n checkeInitOnEachPageProperties(ctrlId: any) {\r\n let resizableEle: any = document.getElementById('resizable_' + ctrlId);\r\n if (resizableEle) {\r\n let fromParentInitialCtrl: any = resizableEle.getAttribute('fromParentInitialCtrl');\r\n if (fromParentInitialCtrl === 'true') {\r\n let chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n if (chInitRequiredContainer) {\r\n chInitRequiredContainer.classList.add('place-on-initials-btn');\r\n }\r\n } else {\r\n let chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n if (chInitRequiredContainer) {\r\n chInitRequiredContainer.classList.remove('place-on-initials-btn');\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n updateBgColorDateTimeStampAndLabel(ele: any, selectedCtrlEle: any) {\r\n let ctrlEle: any = document.getElementById(ele.replace('resizable_', ''));\r\n let controlName: any = '', isParentPresent: any = '', isChildPresent: any = '', controlGroupCode: any = '', controlParentId: any = '';\r\n if (ctrlEle) {\r\n controlName = ctrlEle.getAttribute('data-controlname');\r\n controlGroupCode = ctrlEle.getAttribute('group-code');\r\n controlParentId = ctrlEle.getAttribute('data-parent-id');\r\n isParentPresent = ctrlEle.getAttribute('is-parent-present');\r\n isChildPresent = ctrlEle.getAttribute('is-child-present');\r\n\r\n if (controlGroupCode == null && controlParentId != \"null\" && controlParentId != \"\" && controlParentId != null) {\r\n let parentGrpCode: any = document.querySelector('[data-document-content-id=\"' + controlParentId + '\"]')?.getAttribute('group-code');\r\n if (parentGrpCode != null && parentGrpCode != \"\") {\r\n controlGroupCode = parentGrpCode;\r\n }\r\n }\r\n\r\n if (controlName === 'DateTimeStamp' || controlName === 'Label' || controlName === 'Hyperlink') {\r\n selectedCtrlEle.style.background = '#ffff00';\r\n }\r\n else {\r\n if ((controlParentId == null || controlParentId == \"null\" || controlParentId == undefined || controlParentId == \"undefined\" || controlParentId == \"\") &&\r\n (isChildPresent == \"false\" || isChildPresent == undefined || isChildPresent == \"undefined\" || isChildPresent == null || isChildPresent == \"null\" || isChildPresent == \"\")) {\r\n\r\n if (selectedCtrlEle.style.background == \"bisque\") {\r\n selectedCtrlEle.style.background = '#ffffff';\r\n }\r\n\r\n let attr_guid: any = document.getElementById(ele)!.getAttribute('data-guid');\r\n if (attr_guid && attr_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let attr_dataSelected: any = document.getElementById(ele)!.getAttribute('data-selected1');\r\n let spnCtrlEle: any = document.getElementById(ele.replace('resizable_', 'spn'));\r\n if (spnCtrlEle && attr_dataSelected && attr_dataSelected == \"true\") {\r\n spnCtrlEle.style[\"background-color\"] = 'green';\r\n }\r\n //spnCtrlEle.style[\"background-color\"] = '#ffffff';\r\n }\r\n else {\r\n let divItem: any = document.getElementById(ele.replace('resizable_', 'div'));\r\n if (divItem) {\r\n if (attr_guid && attr_guid.toLowerCase() == Control.DropDown.toLowerCase())\r\n divItem.style[\"border-color\"] = \"transparent transparent transparent #fff\";\r\n else divItem.style[\"border-color\"] = \"transparent transparent transparent #eee\";\r\n }\r\n }\r\n }\r\n else {\r\n if (controlGroupCode != null && controlGroupCode != \"null\" && controlGroupCode != undefined && controlGroupCode != \"undefined\" && controlGroupCode != \"\") {\r\n if (controlGroupCode != \"0\" && controlGroupCode != 0) {\r\n let colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(controlGroupCode) % 10].Color;\r\n this.applyColorCodeForParent(ele.replace('resizable_', ''), colorCode, \"false\");\r\n\r\n }\r\n }\r\n else {\r\n selectedCtrlEle.style.background = '#ffffff';\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n removePreviousControlSelection(ctrlAndClickedControlsArr: any) {\r\n // if (this.dynamicComponentRefs) {\r\n // \tthis.dynamicComponentRefs.forEach((value, key) => {\r\n // \t\tlet ctrlKeyVal: any = `${key}`;\r\n // \t\tlet selectedCtrlEle: any = document.getElementById('resizable_' + ctrlKeyVal);\r\n // \t\tif (selectedCtrlEle) {\r\n // \t\t\tthis.controlPropertyService.updateBgColorDateTimeStampAndLabel(ele, selectedCtrlEle);\r\n // \t\t\tlet attr_data_guid: any = selectedCtrlEle.getAttribute('data-guid');\r\n // \t\t\tif (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n // \t\t\t\tlet spnSelectEle: any = document.getElementById('spn' + ctrlKeyVal);\r\n // \t\t\t\tspnSelectEle.classList.remove('mouse-selected');\r\n // \t\t\t\t//spnSelectEle.style.background = '#ffffff';\r\n // \t\t\t\tspnSelectEle.style.background = selectedCtrlEle.style.background;\r\n // \t\t\t}\r\n // \t\t}\r\n // \t});\r\n // }\r\n\r\n //console.log('ctrlAndClickedControlsArr', this.ctrlAndClickedControlsArr);\r\n\r\n if (ctrlAndClickedControlsArr && ctrlAndClickedControlsArr.length > 0) {\r\n ctrlAndClickedControlsArr.forEach((ele: any) => {\r\n let selectedCtrlEle: any = document.getElementById(ele);\r\n if (selectedCtrlEle) {\r\n this.updateBgColorDateTimeStampAndLabel(ele, selectedCtrlEle);\r\n let attr_data_guid: any = selectedCtrlEle.getAttribute('data-guid');\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n let spnSelectEle: any = document.getElementById('spn' + ele.replace('resizable_', ''));\r\n spnSelectEle.classList.remove('mouse-selected');\r\n spnSelectEle.style.background = selectedCtrlEle.style.background;\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n restrictMouseEvents(event: KeyboardEvent) {\r\n let eventTargetId: any = event.target;\r\n let idsArr: any = ['controlInputTooltip', 'nameInputLength', 'nameCharInputLimit', 'ctrlHtmlId', 'dropdownList', 'dropDownItemList', 'inputLabel', 'inputHyperlinkText', 'inputHyperLinkURL', 'addTextTextarea', 'textCharInputLimit', 'textInputLength', 'inputGroupCtrl', 'inputGroupNameCtrl', 'inpTextColor', 'searchtext', 'paginationInput', 'titleInputLength','titleCharInputLimit'];\r\n let classArr: any = ['dropdownEditOption', 'dropdownCancel', 'dropdownDelete', 'txtDepSpecificText', 'show'];\r\n let isClassExists: boolean = false;\r\n classArr.forEach((element: any) => {\r\n if (eventTargetId?.classList.contains(element)) {\r\n isClassExists = true;\r\n }\r\n });\r\n\r\n let returnRestrcition: boolean = false;\r\n if (event && eventTargetId && !idsArr.includes(eventTargetId.id) && !isClassExists) {\r\n returnRestrcition = true;\r\n }\r\n return returnRestrcition;\r\n }\r\n\r\n // Subject to emit keyboard events\r\n private keyboardEventSubject = new Subject();\r\n keyboardEvent$ = this.keyboardEventSubject.asObservable();\r\n handleKeyboardEvent(event: KeyboardEvent, selectedItems: any[]) {\r\n if (event && event.target) {\r\n if (this.restrictMouseEvents(event)) {\r\n switch (event.key) {\r\n case 'ArrowUp':\r\n this.moveSelectedItems(selectedItems, 0, -1);\r\n break;\r\n case 'ArrowDown':\r\n this.moveSelectedItems(selectedItems, 0, 1);\r\n break;\r\n case 'ArrowLeft':\r\n this.moveSelectedItems(selectedItems, -1, 0);\r\n break;\r\n case 'ArrowRight':\r\n this.moveSelectedItems(selectedItems, 1, 0);\r\n break;\r\n }\r\n\r\n // Prevent the default action for arrow keys\r\n if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {\r\n event.preventDefault();\r\n }\r\n }\r\n }\r\n }\r\n\r\n removeCtrlSelectionBgColor(selectedItems: any) {\r\n selectedItems.forEach((ele: any) => {\r\n let selectedCtrlEle: any = document.getElementById(ele);\r\n if (selectedCtrlEle) {\r\n this.updateBgColorDateTimeStampAndLabel(ele, selectedCtrlEle);\r\n let attr_data_guid: any = selectedCtrlEle.getAttribute('data-guid');\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n let spnSelectEle: any = document.getElementById('spn' + ele.replace('resizable_', ''));\r\n spnSelectEle.classList.remove('mouse-selected');\r\n\r\n let isParentPresent: any = '', isChildPresent: any = '';\r\n isParentPresent = selectedCtrlEle.getAttribute('is-parent-present');\r\n isChildPresent = selectedCtrlEle.getAttribute('is-child-present');\r\n if (isParentPresent == \"false\" || isChildPresent == \"false\") {\r\n selectedCtrlEle.style.background = '#ffffff';\r\n }\r\n }\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let spnresizable: any = document.getElementById(ele);\r\n if (spnresizable.getAttribute('data-selected1') != \"true\") {\r\n spnresizable.style.background = \"white\";\r\n }\r\n }\r\n\r\n this.showRequiredIcon(ele.replace('resizable_', ''));\r\n }\r\n })\r\n }\r\n\r\n removeControlActiveClass(type: any) {\r\n let controlActiveCtrls: any = document.querySelectorAll('.control-active');\r\n if (controlActiveCtrls && controlActiveCtrls.length > 0) {\r\n for (let index = 0; index < controlActiveCtrls.length; index++) {\r\n controlActiveCtrls[index].classList.remove('control-active');\r\n controlActiveCtrls[index].style.outline = 'none';\r\n controlActiveCtrls[index].style.outline = controlActiveCtrls[index].getAttribute('data-recp-color') + ' solid 2px';\r\n\r\n let attr_guid: any = controlActiveCtrls[index].getAttribute('data-guid');\r\n let attr_id: any = controlActiveCtrls[index].getAttribute('id');\r\n if (attr_guid.toLowerCase() == Control.Radio.toLowerCase() || attr_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (controlActiveCtrls[index].getAttribute('data-selected1') == \"true\") {\r\n controlActiveCtrls[index].classList.remove('control-active-bg-color');\r\n let spnEle: any = document.getElementById(attr_id.replace('resizable_', 'spn'));\r\n if (spnEle) {\r\n let mainParentEle: any = document.getElementById(attr_id.replace('resizable_', ''));\r\n if (mainParentEle) {\r\n let isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n let isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n let tempGroupCode: any = mainParentEle.getAttribute('temp-group-code');\r\n if (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n controlActiveCtrls[index].style.background = 'white';\r\n let bcolor: any = spnEle.style[\"background-color\"];\r\n if (bcolor == null || bcolor == '') {\r\n let groupCode: any = mainParentEle.getAttribute('group-code');\r\n if (groupCode == null || groupCode == '' || groupCode == \"null\" || groupCode == undefined) {\r\n if (tempGroupCode && tempGroupCode != \"\" && tempGroupCode != null && tempGroupCode != undefined) {\r\n groupCode = tempGroupCode;\r\n }\r\n }\r\n var colorForElement = this.commonConstants.DependencyColorCodes[parseInt(groupCode) % 10].Color;\r\n this.applyColorCodeForItem(attr_id.replace('resizable_', ''), colorForElement);\r\n }\r\n }\r\n else if (tempGroupCode && tempGroupCode != \"\" && tempGroupCode != null && tempGroupCode != undefined) {\r\n\r\n }\r\n else {\r\n let resizableEle: any = document.getElementById(attr_id);\r\n if (resizableEle) {\r\n if (resizableEle.getAttribute('data-selected1') == \"true\") {\r\n spnEle.style[\"background-color\"] = \"green\";\r\n }\r\n else spnEle.style[\"background-color\"] = \"white\";\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else controlActiveCtrls[index].classList.remove('control-active-bg-color');\r\n }\r\n else {\r\n let mainParentEle: any = document.getElementById(attr_id.replace('resizable_', ''));\r\n if (mainParentEle) {\r\n let isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n let isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n let groupCode: any = mainParentEle.getAttribute('group-code');\r\n let tempGroupCode: any = mainParentEle.getAttribute('temp-group-code');\r\n if (groupCode == null || groupCode == '' || groupCode == \"null\" || groupCode == undefined) {\r\n if (tempGroupCode && tempGroupCode != \"\" && tempGroupCode != null && tempGroupCode != undefined) {\r\n groupCode = tempGroupCode;\r\n }\r\n }\r\n if (groupCode == null || groupCode == '' || groupCode == \"null\" || groupCode == undefined) {\r\n controlActiveCtrls[index].classList.remove('control-active-bg-color');\r\n }\r\n else {\r\n controlActiveCtrls[index].classList.remove('control-active-bg-color');\r\n if (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n if (type != \"clicked\") {\r\n var colorForElement = this.commonConstants.DependencyColorCodes[parseInt(groupCode) % 10].Color;\r\n this.applyColorCodeForItem(attr_id.replace('resizable_', ''), colorForElement);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n this.showRequiredIcon(attr_id.replace('resizable_', ''));\r\n }\r\n }\r\n }\r\n\r\n setRadioCheckBoxGroupChecked(currentSelectedControl: any, textFormatting: any) {\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n let spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n setTimeout(() => {\r\n if (resizableCurrentSelectedControl) {\r\n let textFormattingCheckboxGroup: any = textFormatting ? textFormatting.checkboxGroup : true ;\r\n let attr_data_groupname: any = resizableCurrentSelectedControl.getAttribute('data-groupname');\r\n let inputGroupCtrl: any = (document.getElementById(\"inputGroupCtrl\"));\r\n let inputGroupNameCtrl: any = (document.getElementById(\"inputGroupNameCtrl\"));\r\n let attr_data_guid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n if (inputGroupNameCtrl) {\r\n inputGroupNameCtrl.value = 'Radio';\r\n if (textFormatting != null && textFormatting.checkboxName != \"\") {\r\n inputGroupNameCtrl.value = textFormatting.checkboxName;\r\n }\r\n spnCurrentSelectedControl.setAttribute('name', inputGroupNameCtrl.value);\r\n }\r\n }\r\n else if (attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let checkboxgroup: any = (document.getElementById(\"checkboxgroup\"));\r\n if (textFormattingCheckboxGroup == false) {\r\n resizableCurrentSelectedControl.setAttribute('data-isGroupChecked', 'false');\r\n if (checkboxgroup) checkboxgroup.checked = false;\r\n }\r\n else {\r\n resizableCurrentSelectedControl.setAttribute('data-isGroupChecked', 'true');\r\n if (checkboxgroup) checkboxgroup.checked = true;\r\n }\r\n\r\n if (inputGroupNameCtrl) {\r\n inputGroupNameCtrl.value = 'Checkbox';\r\n if (textFormatting != null && textFormatting.checkboxName != \"\") {\r\n inputGroupNameCtrl.value = textFormatting.checkboxName;\r\n }\r\n spnCurrentSelectedControl.setAttribute('name', inputGroupNameCtrl.value);\r\n }\r\n }\r\n\r\n if (attr_data_groupname != '' && attr_data_groupname != null && inputGroupCtrl) {\r\n inputGroupCtrl.value = attr_data_groupname;\r\n }\r\n else if (inputGroupCtrl) {\r\n if (textFormatting != null && textFormatting.checkboxGroupName != \"\") {\r\n inputGroupCtrl.value = textFormatting.checkboxGroupName;\r\n }\r\n else {\r\n if(attr_data_guid.toLowerCase() == Control.Checkbox.toLowerCase()){\r\n if(textFormattingCheckboxGroup == true) inputGroupCtrl.value = this.generateRandomString();\r\n else inputGroupCtrl.value = '';\r\n }\r\n else inputGroupCtrl.value = this.generateRandomString();\r\n }\r\n resizableCurrentSelectedControl.setAttribute('data-groupname', inputGroupCtrl.value);\r\n }\r\n if (spnCurrentSelectedControl && inputGroupNameCtrl) {\r\n let attr_name: any = spnCurrentSelectedControl.getAttribute('name');\r\n if (attr_name != '' && attr_name != null) {\r\n inputGroupNameCtrl.value = attr_name;\r\n }\r\n }\r\n\r\n setTimeout(() => {\r\n if (attr_data_guid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n this.removeSameRadioNamePreselected(currentSelectedControl);\r\n }\r\n }, 10);\r\n }\r\n }, 50);\r\n }\r\n\r\n generateRandomString() {\r\n return \"Group\" + (Math.random() + 1).toString(36).substring(8) + \"\" + (Math.random() + 1).toString(36).substring(8);\r\n };\r\n\r\n expandAllProp() {\r\n let button: any = document.getElementById(\"collapseAll\");\r\n let accordionHeaders: any = document.querySelectorAll(\".custAccordion-head button\");\r\n let accordionCollapses: any = document.querySelectorAll(\".custAccord-collap\");\r\n if (button && accordionHeaders && accordionCollapses) {\r\n button.innerHTML = \"keyboard_double_arrow_down\";\r\n button.setAttribute('title', 'Expand all');\r\n accordionHeaders.forEach((header: any) => {\r\n header.classList.remove(\"collapsed\");\r\n });\r\n accordionCollapses.forEach((collapse: any) => {\r\n collapse.classList.add(\"show\");\r\n });\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.expandAllProp();\r\n console.log(\"Expanding from 2nd time\");\r\n }, 20);\r\n }\r\n }\r\n\r\n getTextControlType(textType: any) {\r\n let returnTypeVal: any = 'Text';\r\n switch (textType) {\r\n case '26C0ACEA-3CC8-43D6-A255-A870A8524A77':\r\n returnTypeVal = 'Text';\r\n break;\r\n case 'B0443A47-89C3-4826-BECC-378D81738D03':\r\n returnTypeVal = 'Numeric';\r\n break;\r\n case '88A0B11E-5810-4ABF-A8B6-856C436E7C49':\r\n returnTypeVal = 'Alphabet';\r\n break;\r\n case 'DCBBE75C-FDEC-472C-AE25-2C42ADFB3F5D':\r\n returnTypeVal = 'SSN';\r\n break;\r\n case '5121246A-D9AB-49F4-8717-4EF4CAAB927B':\r\n returnTypeVal = 'Zip';\r\n break;\r\n case '8348E5CD-59EA-4A77-8436-298553D286BD':\r\n returnTypeVal = 'Date';\r\n break;\r\n case '1AD2D4EC-4593-435E-AFDD-F8A90426DE96':\r\n returnTypeVal = 'Email';\r\n break;\r\n }\r\n return returnTypeVal;\r\n }\r\n\r\n applyPrefillLabelTextProp(currentSelectedControl: any, type: any) {\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n let checkboxHideText: any = document.getElementById(\"checkboxHideText\");\r\n let checkbox_HideText: any = document.getElementById('checkbox-HideText');\r\n if (resizableCurrentSelectedControl) {\r\n let spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n if (type == 1) {\r\n resizableCurrentSelectedControl.setAttribute('data-prefill', 'false');\r\n resizableCurrentSelectedControl.setAttribute('data-displayLabel', 'true');\r\n\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n if (addTextTextarea) {\r\n if (addTextTextarea.value && addTextTextarea.value.trim().length > 400) {\r\n addTextTextarea.value = addTextTextarea.value.substring(0, 400);\r\n }\r\n addTextTextarea.setAttribute('maxlength', '400');\r\n }\r\n\r\n this.isCheckboxDisabled = false;\r\n let isCheckBoxChecked: any = resizableCurrentSelectedControl.getAttribute('data-ishidetextwithasterisk');\r\n if (checkboxHideText && checkboxHideText !== undefined && checkboxHideText !== null && checkboxHideText !== 'null') {\r\n checkboxHideText.style.setProperty('background', '');\r\n checkboxHideText.checked = isCheckBoxChecked === \"true\" ? true : false;\r\n }\r\n let originalText: any = resizableCurrentSelectedControl.getAttribute('data-asteriskOriginalText');\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.textContent = (checkboxHideText && checkboxHideText.checked) ? addTextTextarea.value : (originalText && originalText !== \"null\") ? originalText : '';\r\n }\r\n }\r\n else if (type == 2) {\r\n resizableCurrentSelectedControl.setAttribute('data-prefill', 'true');\r\n resizableCurrentSelectedControl.setAttribute('data-displayLabel', 'false');\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n if (addTextTextarea) addTextTextarea.setAttribute('maxlength', '4000');\r\n this.applyTextPrefillData(currentSelectedControl);\r\n resizableCurrentSelectedControl.setAttribute('data-prefill', 'true');\r\n resizableCurrentSelectedControl.setAttribute('data-displayLabel', 'false');\r\n let isCheckBoxChecked: any = resizableCurrentSelectedControl.getAttribute('data-ishidetextwithasterisk');\r\n if (checkboxHideText && checkboxHideText !== undefined && checkboxHideText !== null && checkboxHideText !== 'null') {\r\n checkboxHideText.style.setProperty('background', '');\r\n checkboxHideText.checked = isCheckBoxChecked === \"true\" ? true : false;\r\n }\r\n checkbox_HideText?.style.setProperty('cursor', 'pointer');\r\n this.isCheckboxDisabled = false;\r\n checkboxHideText?.removeAttribute(\"disabled\");\r\n }\r\n }\r\n }\r\n\r\n toggleAllAccordions() {\r\n let button: any = document.getElementById(\"collapseAll\");\r\n let accordionHeaders: any = document.querySelectorAll(\".custAccordion-head button\");\r\n let accordionCollapses: any = document.querySelectorAll(\".custAccord-collap\");\r\n\r\n let isCollapsed = Array.from(accordionHeaders).some((header: any) => {\r\n return !header.classList.contains(\"collapsed\");\r\n });\r\n\r\n if (isCollapsed) {\r\n button.innerHTML = \"keyboard_double_arrow_up\";\r\n button.setAttribute('title', 'Collapse all');\r\n accordionHeaders.forEach((header: any) => {\r\n header.classList.add(\"collapsed\");\r\n });\r\n accordionCollapses.forEach((collapse: any) => {\r\n collapse.classList.remove(\"show\");\r\n });\r\n }\r\n else {\r\n button.innerHTML = \"keyboard_double_arrow_down\";\r\n button.setAttribute('title', 'Expand all');\r\n accordionHeaders.forEach((header: any) => {\r\n header.classList.remove(\"collapsed\");\r\n });\r\n accordionCollapses.forEach((collapse: any) => {\r\n collapse.classList.add(\"show\");\r\n });\r\n }\r\n }\r\n\r\n accordaionExapand() {\r\n let acrdionbutton: any = document.getElementById(\"depencieclose\");\r\n if (acrdionbutton && acrdionbutton.classList.contains(\"collapsed\")) {\r\n let accordionCollapses: any = document.getElementById(\"collapseDependence\");\r\n acrdionbutton.classList.remove(\"collapsed\");\r\n accordionCollapses.classList.add(\"show\");\r\n }\r\n }\r\n\r\n removeSameRadioNamePreselected(controlId: any) {\r\n let newSpnControlEle: any = document.getElementById(\"spn\" + controlId);\r\n let newresizableControlEle: any = document.getElementById(\"resizable_\" + controlId);\r\n if (newresizableControlEle) {\r\n let radioDependencieArray: any = document.querySelectorAll('[data-groupname =\"' + newresizableControlEle.getAttribute('data-groupname') + '\"]');\r\n if (radioDependencieArray && radioDependencieArray.length > 0) {\r\n Array.from(radioDependencieArray).forEach((radioItem: any, ind: any) => {\r\n let id: any = radioItem.getAttribute('id').replace('resizable_', '')\r\n radioItem = document.getElementById(\"spn\" + id);\r\n if (radioItem.getAttribute('id') != newSpnControlEle.getAttribute('id') && radioItem.classList.contains('radio-dependencie')) {\r\n radioItem.style[\"background-color\"] = '';\r\n let mainParentEle: any = document.getElementById(radioItem.getAttribute('id').replace('spn', ''));\r\n let resizableControlEle: any = document.getElementById('resizable_' + radioItem.getAttribute('id').replace('spn', ''));\r\n if (mainParentEle) {\r\n let isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n let isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n let tempGroupCode: any = mainParentEle.getAttribute('temp-group-code');\r\n if (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n resizableControlEle.classList.remove('control-active-bg-color');\r\n let spnEle: any = document.getElementById(radioItem.getAttribute('id'));\r\n let bcolor: any = spnEle.style[\"background-color\"];\r\n //if (bcolor == null || bcolor == '') {\r\n let groupCode: any = mainParentEle.getAttribute('group-code');\r\n if (groupCode == null || groupCode == '' || groupCode == \"null\" || groupCode == undefined) {\r\n if (tempGroupCode && tempGroupCode != \"\" && tempGroupCode != null && tempGroupCode != undefined) {\r\n groupCode = tempGroupCode;\r\n }\r\n }\r\n var colorForElement = this.commonConstants.DependencyColorCodes[parseInt(groupCode) % 10].Color;\r\n this.applyColorCodeForItem(radioItem.getAttribute('id').replace('spn', ''), colorForElement);\r\n //}\r\n }\r\n else {\r\n radioItem.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n radioItem.classList.remove('checked-visible');\r\n radioItem.removeAttribute(\"checked\");\r\n radioItem?.setAttribute('data-selected1', \"false\");\r\n\r\n if (resizableControlEle) {\r\n resizableControlEle.setAttribute('data-selected1', \"false\");\r\n //radioItem.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n disableOrEnableClearAllIcon(ctrlsTotalCount: any) {\r\n let clearAllDiv: any = document.getElementById('clearAllDiv');\r\n let clearAllImage: any = document.getElementById('clearAllImage');\r\n if (ctrlsTotalCount === 0) {\r\n if (clearAllDiv) {\r\n clearAllDiv.classList.add('wrapper-cursor');\r\n }\r\n if (clearAllImage) {\r\n clearAllImage.classList.add('pointer-events-none');\r\n }\r\n } else {\r\n if (clearAllDiv) {\r\n clearAllDiv.classList.remove('wrapper-cursor');\r\n }\r\n if (clearAllImage) {\r\n clearAllImage.classList.remove('pointer-events-none');\r\n }\r\n }\r\n }\r\n\r\n //Show requird * when control is required control\r\n showRequiredIcon(id: any) {\r\n let resizableEle: any = document.getElementById('resizable_' + id);\r\n if (resizableEle) {\r\n let dataGuid: any = resizableEle.getAttribute('data-guid');\r\n if (dataGuid && (dataGuid.toLowerCase() !== Control.DateTimeStamp.toLowerCase() && dataGuid.toLowerCase() !== Control.Label.toLowerCase() && dataGuid.toLowerCase() != Control.Hyperlink.toLowerCase())) {\r\n //required code\r\n let requiredCurrentSelectedControl: any = document.getElementById('req' + id);\r\n if (resizableEle) {\r\n let isRequired: any = resizableEle.getAttribute('data-selected');\r\n let recipentColor: any = resizableEle.getAttribute('data-recp-color');\r\n if (requiredCurrentSelectedControl && isRequired == \"true\") {\r\n requiredCurrentSelectedControl.style.display = \"block\";\r\n if (recipentColor) {\r\n resizableEle.style.outline = 'none';\r\n resizableEle.style.outline = recipentColor + ' solid 3px';\r\n }\r\n }\r\n else if (requiredCurrentSelectedControl) {\r\n requiredCurrentSelectedControl.style.display = \"none\";\r\n if (recipentColor) {\r\n resizableEle.style.outline = 'none';\r\n resizableEle.style.outline = recipentColor + ' solid 2px';\r\n }\r\n }\r\n }\r\n //required code\r\n }\r\n }\r\n }\r\n\r\n //Prefill text property validations start here\r\n //check the given value is number or not\r\n isNumber(str: string): boolean {\r\n if (typeof str !== 'string') return false;\r\n if (str.trim() === '') return false;\r\n return !Number.isNaN(Number(str));\r\n }\r\n ////check the given email is valid email or not\r\n validateEmail(email: any) {\r\n var re = EmailAddressFormat.ValidEmail;\r\n return re.test(email);\r\n }\r\n ////check the given date is valid format or not\r\n isValidDateCustom(dateValue: any, dateFormat: any) {\r\n var dateFormat = dateFormat.toUpperCase();\r\n var isValid1 = moment(dateValue, dateFormat, true).isValid();\r\n var isValid2 = moment(dateValue, dateFormat.replace(\"YY\", \"YYYY\"), true).isValid();\r\n return isValid1 || isValid2;\r\n }\r\n\r\n ////check for prefill text validations\r\n applyTextPrefillData(currentSelectedControl: any) { //will do in next sprint\r\n let type: any = 1;\r\n let radioPrefill: any = document.getElementById('radioPrefill');\r\n if (radioPrefill && radioPrefill.checked == true) {\r\n type = 2;\r\n }\r\n // this.applyTextPrefillValidations(currentSelectedControl, type);\r\n }\r\n\r\n //check prefill text validations and show toaster if they are invalid\r\n applyTextPrefillValidations(currentSelectedControl: any, type: any) {\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n if (resizableCurrentSelectedControl) {\r\n let data_textType: any = resizableCurrentSelectedControl.getAttribute('data-texttype');\r\n let textType: any = this.getTextControlType(data_textType);\r\n //console.log(textType + \" type: \" + type);\r\n\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n if (addTextTextarea && addTextTextarea.value && type == 2) {\r\n let additionalValidationName: any = resizableCurrentSelectedControl.getAttribute('data-additional-validation-name');\r\n let additionalValidationOption: any = resizableCurrentSelectedControl.getAttribute('data-additional-validation-option');\r\n\r\n let inputLength: any = '', myMask: any = '', ctrlType: any = '', txtName: any = '';\r\n let isFixedWidth: any = \"false\";\r\n let isNewSignersUIEnabled: any = this.getHideFixedwidthCheckbox();\r\n if (isNewSignersUIEnabled != \"true\") {\r\n isFixedWidth = resizableCurrentSelectedControl.getAttribute('data-isfixedwidth');\r\n }\r\n\r\n if (isFixedWidth == \"true\") {\r\n let textInputLength: any = document.getElementById('textInputLength');\r\n if (textInputLength)\r\n inputLength = textInputLength.value;\r\n }\r\n else {\r\n let textCharInputLimit: any = document.getElementById('textCharInputLimit');\r\n if (textCharInputLimit)\r\n inputLength = textCharInputLimit.value;\r\n }\r\n\r\n if (textType == \"Text\") {\r\n\r\n }\r\n else if (textType == \"Alphabet\") {\r\n let value: any = addTextTextarea.value.trim();\r\n var regExp = /^[a-zA-Z ]+$/;\r\n if (!regExp.test(value)) {\r\n this.toastrService.warning('*Only Characters allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n else if (textType == \"Numeric\") { // Number\r\n var isNumericValue: any = addTextTextarea.value;\r\n if (additionalValidationName && additionalValidationName == \"Decimal\") {\r\n txtName = '';\r\n if (additionalValidationOption && additionalValidationOption == \"1\") { //Both\r\n txtName = \"Both\";\r\n }\r\n else if (additionalValidationOption && additionalValidationOption == \"2\") { //Comma\r\n txtName = \"Comma\"\r\n }\r\n else if (additionalValidationOption && additionalValidationOption == \"3\") { //Period\r\n txtName = \"Period\";\r\n }\r\n\r\n var regExpComma = /^[0-9,]+$/;\r\n var regExpPeriod = /^[0-9.]+$/;\r\n var regExpPeriodComma = /^[0-9.,]+$/;\r\n if (txtName == \"Comma\") {\r\n if (!regExpComma.test(isNumericValue)) {\r\n this.toastrService.warning('*Numeric 0 to 9 only and comma.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (isNumericValue.split(\",\").length - 1 > 1) {\r\n this.toastrService.warning('*Only one comma allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n else if (txtName == \"Period\") {\r\n if (!regExpPeriod.test(isNumericValue)) {\r\n this.toastrService.warning('*Numeric 0 to 9 only and period.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (isNumericValue.split(\".\").length - 1 > 1) {\r\n this.toastrService.warning('*Only one decimal allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n\r\n if (isNumericValue && isNumericValue.indexOf(\".\") > -1) {\r\n var regEx = /^\\d+(?:\\.\\d{1,2})?$/;\r\n if (!regEx.test(isNumericValue)) {\r\n this.toastrService.warning('*Only two digits allowed after decimal.', 'Warning');\r\n }\r\n }\r\n }\r\n else if (txtName == \"Both\") {\r\n var number = isNumericValue.split('.');\r\n let dotlen: any = [...isNumericValue].filter(l => l === '.').length;\r\n let commalen: any = [...isNumericValue].filter(l => l === ',').length;\r\n if (dotlen > 1) {\r\n this.toastrService.warning('*Only one decimal allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (number[1] && number[1].length > 2) {\r\n this.toastrService.warning('*Only two digits allowed after decimal.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (commalen > 1) {\r\n this.toastrService.warning('*Only one comma allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (!regExpPeriodComma.test(isNumericValue)) {\r\n this.toastrService.warning('*Numeric 0 to 9 only with comma and decimal.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n else if (!this.isNumber(isNumericValue)) {\r\n this.toastrService.warning('*Only numbers allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n else {\r\n if (isNumericValue && !this.isNumber(isNumericValue)) {\r\n this.toastrService.warning('*Only numbers allowed.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n }\r\n else if (textType == \"SSN\" || textType == \"Zip\") {\r\n if (textType == \"SSN\") {\r\n myMask = '___-__-____'; //123-34-567 //XXX-XX-XXXXX\r\n ctrlType = \"SSN\";\r\n }\r\n else if (textType == \"Zip\") {\r\n if (additionalValidationOption && additionalValidationOption == \"1\") {\r\n myMask = \"_____\"; //12345 //XXXXX\r\n ctrlType = \"Zip\";\r\n }\r\n else if (additionalValidationOption && additionalValidationOption == \"2\") {\r\n myMask = \"_____-____\"; //12345-56789 //XXXXX-XXXXX\r\n ctrlType = \"Zip+4\";\r\n }\r\n }\r\n\r\n let value: any = addTextTextarea.value;\r\n if (value.indexOf('_') > 0 || value.indexOf('_') > -1 || value.indexOf('-') > 5) {\r\n if (ctrlType === 'Zip' || ctrlType === \"Zip+4\") {\r\n this.toastrService.warning('*Invalid Zip.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (ctrlType === 'SSN') {\r\n this.toastrService.warning('*Invalid SSN.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n else {\r\n var regExpNumber = /^[0-9]+$/; //for zip\r\n if (ctrlType !== 'Zip') regExpNumber = /^[0-9-]*$/; //for ssn and zip4\r\n if (!regExpNumber.test(value)) {\r\n if (ctrlType === 'Zip' || ctrlType === \"Zip+4\") {\r\n this.toastrService.warning('*Invalid Zip.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n else if (ctrlType === 'SSN') {\r\n this.toastrService.warning('*Invalid SSN.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n }\r\n }\r\n else if (textType == \"Date\") {\r\n inputLength = 10;\r\n let dateFormatToPass: any = \"mm/dd/yyyy\";\r\n if (additionalValidationOption == \"1\") { // mm/dd/yyyy\r\n dateFormatToPass = \"mm/dd/yyyy\";\r\n }\r\n else if (additionalValidationOption == \"2\") { // dd/mm/yyyy\r\n dateFormatToPass = \"dd/mm/yyyy\";\r\n }\r\n else if (additionalValidationOption == \"3\") { // yyyy/mm/dd\r\n dateFormatToPass = \"yyyy/mm/dd\";\r\n }\r\n else if (additionalValidationOption == \"4\") { //dd-mmm-yyyy\r\n inputLength = 11;\r\n dateFormatToPass = \"dd-mmm-yyyy\";\r\n }\r\n\r\n if (!this.isValidDateCustom(addTextTextarea.value, dateFormatToPass)) {\r\n this.toastrService.warning('*Invalid date format.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n // else if (addTextTextarea.value && addTextTextarea.value.length == inputLength) {\r\n // this.toastrService.warning('*Invalid date format.', 'Warning');\r\n // addTextTextarea.value = '';\r\n // }\r\n }\r\n else if (textType == \"Email\") {\r\n if (addTextTextarea.value != '' && !this.validateEmail(addTextTextarea.value)) {\r\n this.toastrService.warning('*Invalid email.', 'Warning');\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n }\r\n }\r\n }\r\n //Prefill text property validations end here\r\n\r\n setTextAttributes(newResizableControlEle: any, maxcharallowed: any, maxemailcharallowed: any, isfixedwidthAttr: any, texttypeAttr: any) {\r\n let isFixedWidthChecked: boolean = (isfixedwidthAttr === true || isfixedwidthAttr === 'true') ? true : false;\r\n let textType: any = this.getTextControlType(texttypeAttr);\r\n if (maxcharallowed == \"\" || maxcharallowed == null || maxcharallowed == \"null\" || maxcharallowed == \"undefined\") {\r\n if (textType == \"Text\" || textType == \"Numeric\" || textType == \"Alphabet\") {\r\n if (isFixedWidthChecked) { maxcharallowed = \"20\"; maxemailcharallowed = \"20\"; }\r\n else { maxcharallowed = \"4000\"; maxemailcharallowed = \"4000\"; }\r\n }\r\n else if (textType == \"SSN\" || textType == \"Zip\" || textType == \"Date\") {\r\n maxcharallowed = \"10\"; maxemailcharallowed = \"10\";\r\n }\r\n else if (textType == \"Email\") {\r\n if (isFixedWidthChecked) { maxcharallowed = \"20\"; maxemailcharallowed = \"20\"; }\r\n else { maxcharallowed = \"100\"; maxemailcharallowed = \"100\"; }\r\n }\r\n\r\n newResizableControlEle?.setAttribute('maxcharallowed', maxcharallowed);\r\n newResizableControlEle?.setAttribute('maxemailcharallowed', maxemailcharallowed);\r\n }\r\n }\r\n\r\n toggleHideTextWithAsterisks(isChecked: any, currentSelectedControl: any) {\r\n const textInput: any = document.getElementById('addTextTextarea');\r\n if (textInput == null || textInput == undefined) {\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n this.asteriskOriginalText = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n }\r\n else {\r\n this.asteriskOriginalText = textInput.value.trim();\r\n }\r\n if (isChecked) {\r\n const trimmedText = this.asteriskOriginalText.trim(); // Trim extra spaces\r\n const asterisks = '*'.repeat(trimmedText.length); // Replace text with asterisks\r\n this.hiddenText = asterisks; // Store asterisks as the original value\r\n } else {\r\n textInput.value = this.asteriskOriginalText; // Restore original text (not asterisks)\r\n }\r\n }\r\n\r\n removeContextMenuList(){\r\n\t\tlet menuNavEle: any = document.getElementsByClassName('menu-nav');\r\n\t\tif (menuNavEle && menuNavEle[0]) {\r\n\t\t\tmenuNavEle[0].style.display = 'none';\r\n\t\t}\r\n\t}\r\n\r\n //Multi selection border\r\n //hover the dropped control, adjusting to left, right and top positions for tooltips elements\r\n updateGropuDependenciesToolTips(pageNo:any) {\r\n\t\tlet imageControlEle: any = document.getElementById('imgControl_' + parseInt(pageNo));\r\n\t\tlet containerHeight: any = 0;\r\n\t\tlet containerWidth: any = 0;\r\n let borderWidthDiff: any = 10;\r\n\t\tlet borderHeightDiff: any = 7;\r\n if (imageControlEle) {\r\n containerHeight = (imageControlEle.offsetHeight - borderHeightDiff);\r\n\t\t\tcontainerWidth = (imageControlEle.offsetWidth - borderWidthDiff);\r\n }\r\n\t\tlet selectionBorderIdEle: any = document.getElementById('selectionBorderId');\r\n let groupTargetEle: any = document.getElementById('groupTarget');\r\n let ctrlPositions: any = this.getElePositions(selectionBorderIdEle);\r\n let containerHeightVal: any = 50;\r\n\t\tlet containerWidthVal: any = containerWidth/2;\r\n if (selectionBorderIdEle && ctrlPositions) {\r\n let selectionBorderIdEleWidth:any = selectionBorderIdEle.style.width.split('px')[0];\r\n let tooltipWidth:any = 0;\r\n if(groupTargetEle){\r\n tooltipWidth = groupTargetEle.offsetWidth;\r\n }\r\n if(parseFloat(selectionBorderIdEleWidth) < tooltipWidth){\r\n if (containerWidthVal > ctrlPositions.Left) {\r\n //params are control element, left and right\r\n this.updateLeftAndRightValues(selectionBorderIdEle,'-3px', 'auto');\r\n }\r\n else if (containerWidthVal < ctrlPositions.Left) {\r\n this.updateLeftAndRightValues(selectionBorderIdEle, 'auto', '-3px');\r\n }\r\n }\r\n\r\n if (containerHeightVal > ctrlPositions.Top) {\r\n if (selectionBorderIdEle && selectionBorderIdEle.childNodes[0] && selectionBorderIdEle.childNodes[0].style) {\r\n let height: any = selectionBorderIdEle.style.height.split('px')[0];\r\n selectionBorderIdEle.childNodes[0].style.top = parseInt(height) + 2 + 'px';\r\n }\r\n }\r\n else if (containerHeightVal < ctrlPositions.Top) {\r\n if (selectionBorderIdEle && selectionBorderIdEle.childNodes[0] && selectionBorderIdEle.childNodes[0].style) {\r\n selectionBorderIdEle.childNodes[0].style.top = '-40px';\r\n }\r\n }\r\n }\r\n }\r\n\r\n\tupdateLeftAndRightValues(resizableCurrentControl: any, left: any, right: any) {\r\n if (resizableCurrentControl && resizableCurrentControl.childNodes[0] && resizableCurrentControl.childNodes[0].style) {\r\n resizableCurrentControl.childNodes[0].style.left = left;\r\n resizableCurrentControl.childNodes[0].style.right = right;\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
Dependencies:
\r\n Specify how an action on the controlling field determines the behavior of\r\n the\r\n dependent field.\r\n
\r\n
\r\n \r\n |\r\n

\r\n \r\n

\r\n |\r\n
close\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Select a controlling field
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Select its action Select dependent field Select its behaviour
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
Controlling field Action Dependent fieldBehaviour
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { Subject, takeUntil } from 'rxjs';\r\nimport { BehaviourRuleConfig, CommonConstants, Control, TextRuleCondtionsConfig } from 'src/app/constants/common-constants';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\n\r\n@Component({\r\n selector: 'app-add-dependencies',\r\n templateUrl: './add-dependencies.component.html',\r\n styleUrls: ['./add-dependencies.component.scss']\r\n})\r\nexport class AddDependenciesComponent {\r\n @Input() dependencyIconClickedObj: any;\r\n @Output() addDependencieschangesMade: EventEmitter = new EventEmitter();\r\n commonConstants = CommonConstants;\r\n showLoader: boolean = false;\r\n dependencyColorCodes: any = []\r\n controllingFields: any = [];\r\n controlDependencyFieldsArray: any = [];\r\n dependencyFieldsArray: any = [];\r\n controllingFieldSelectList: any = [];\r\n controllingDependentFieldSelectList: any = [];\r\n controllingdependentConditionsSelectList: any = [];\r\n controllingDependentActionSelectList: any = [];\r\n eligibleDependentControlsArray: any = [];\r\n tempDependencyControls: any = [];\r\n isDefaultSelected: boolean = false;\r\n constStaticControllingName = 'Page' + ' #PageNo: #ControlType, #ControlName';\r\n appendOtherDependentRowsList: any = [];\r\n controlColorCode: any = 0;\r\n controlColorCodeIndex: any = 0;\r\n selectedParentControlTypeID: any = '';\r\n selectedParentControlID: any = '';\r\n selectedParentControlFieldRequired: boolean = false;\r\n addedAsDependentFields: any = [];\r\n isViewAll: boolean = false;\r\n isSaveDependentFieldsClicked: boolean = false;\r\n addClass: boolean = false;\r\n addTopClass: boolean = false;\r\n addcontrolClass: boolean = false;\r\n allDependencySelectedControls: any = [];\r\n showDependenciesPopUpModal: boolean = false;\r\n addDependenctCtrlClickedObj: any;\r\n addNewDependenctCtrlClickedObj: any;\r\n groupCodeArrayUpdated: any = [];\r\n\r\n private ngUnsubscribe = new Subject();\r\n @Output() dependecieClose = new EventEmitter();\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private commonService: CommonService,\r\n private controlPropertyService: ControlPropertyService,\r\n private sessionStorageService: SessionStorageService\r\n ) {\r\n this.commonService.callDependencyPopupFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((updatedObject) => {\r\n this.dependencyIconClickedObj = updatedObject;\r\n this.ngOnInit();\r\n });\r\n\r\n this.commonService.callAddDependentFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((updatedObject) => {\r\n this.addNewDependenctCtrlClickedObj = updatedObject;\r\n this.addSelectedControlRowToExistingRows(this.addNewDependenctCtrlClickedObj);\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = true;\r\n this.isViewAll = false;\r\n this.allDependencySelectedControls = [];\r\n this.appendOtherDependentRowsList = [];\r\n this.addedAsDependentFields = [];\r\n let divAddDependency: any = document.getElementsByClassName(\"divAddDependency\");\r\n if (divAddDependency && divAddDependency.length > 0) {\r\n Array.from(divAddDependency).forEach((divAddDependencyItem: any, index: any) => {\r\n divAddDependencyItem.style.display = 'block';\r\n })\r\n }\r\n\r\n let divViewAll: any = document.getElementById(\"divViewAll\");\r\n if (divViewAll) divViewAll.style.display = 'none';\r\n\r\n this.showDependenciesPopUpModal = false;\r\n this.dependencyColorCodes = this.commonConstants.DependencyColorCodes;\r\n\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n //FIND MAX COLOR CODE\r\n this.updateColorCode(currentSelectedControl);\r\n\r\n if (this.dependencyIconClickedObj && this.dependencyIconClickedObj.type == \"1\") {\r\n currentSelectedControl = '';\r\n }\r\n let childelements: any = document.getElementById(currentSelectedControl);\r\n if (currentSelectedControl != '' && childelements) {\r\n let docContentId: any = childelements.getAttribute('data-document-content-id');\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + docContentId + '\"]');\r\n let parentChildelementsArray: any = [];\r\n for (let index = 0; index < childelementsArray.length; index++) {\r\n let ele: any = childelementsArray[index].id;\r\n let resizable_ele: any = document.getElementById('resizable_' + ele);\r\n if (resizable_ele && resizable_ele.style[\"display\"] != 'none') {\r\n parentChildelementsArray.push(resizable_ele);\r\n }\r\n }\r\n if (parentChildelementsArray && parentChildelementsArray.length > 0) {\r\n for (let index = 0; index < parentChildelementsArray.length; index++) {\r\n this.appendOtherDependentRowsList.push({ rIndex: index, });\r\n }\r\n }\r\n this.allDependencySelectedControls.push(docContentId);\r\n }\r\n this.addAdditionalDependentRow(0);\r\n\r\n setTimeout(() => {\r\n this.getControllingFieldsFromDocuments();\r\n this.showHideFirstRowDependentDropdowns();\r\n this.showLoader = false;\r\n }, 50); //100\r\n\r\n //This is to be do once Dependency icon added to the control\r\n if (this.dependencyIconClickedObj && this.dependencyIconClickedObj.type == \"1\") {\r\n this.showHideAllOtherDependencyDropdowns();\r\n }\r\n this.showExistingContent();\r\n }\r\n\r\n getControllingFieldsFromDocuments() {\r\n this.showLoader = true;\r\n let constControllingName = this.constStaticControllingName;\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n if (this.dependencyIconClickedObj && this.dependencyIconClickedObj.type == \"1\") {\r\n currentSelectedControl = '';\r\n }\r\n\r\n let rcpId: any = '';\r\n if (currentSelectedControl != '') {\r\n let ctrl: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrl) rcpId = ctrl.getAttribute('data-rcptid');\r\n }\r\n\r\n this.bindControllingFieldSelectList(currentSelectedControl, constControllingName);\r\n this.bindDependentFieldSelectList(currentSelectedControl, constControllingName, rcpId);\r\n if (this.dependencyIconClickedObj && this.dependencyIconClickedObj.type == \"\") { //todo uncomment this one once icon added\r\n // if (this.dependencyIconClickedObj.isControlingField == true) {\r\n let curSelectedControl: any = document.getElementById(currentSelectedControl);\r\n if (currentSelectedControl != '' && curSelectedControl) {\r\n let grpColorCode: any = curSelectedControl.getAttribute('group-code');\r\n let parentItemField: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n let parentColor: any = parentItemField.style['background-color'];\r\n let colorCode: any = '';\r\n if (parentColor != '' && parentColor != null) {\r\n colorCode = (grpColorCode != null && grpColorCode != '' && grpColorCode != undefined) ? parentColor : this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color;\r\n }\r\n else {\r\n colorCode = (grpColorCode != null && grpColorCode != '' && grpColorCode != undefined) ? this.commonConstants.DependencyColorCodes[parseInt(grpColorCode) % 10].Color : this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color;\r\n }\r\n this.controlColorCode = colorCode;\r\n this.controlColorCodeIndex = (grpColorCode != null && grpColorCode != '' && grpColorCode != undefined) ? grpColorCode : this.controlColorCodeIndex;\r\n if (grpColorCode != null && grpColorCode != '' && grpColorCode != undefined) {\r\n this.controlPropertyService.applyColorCodeForParent(currentSelectedControl, colorCode, \"false\");\r\n }\r\n }\r\n // }\r\n }\r\n\r\n setTimeout(() => {\r\n this.bindExistingSelectedControlFieldDependeyData();\r\n this.showLoader = false;\r\n }, 10);\r\n }\r\n\r\n showHideAllOtherDependencyDropdowns() {\r\n this.controllingDependentFieldSelectList = [];\r\n this.controllingdependentConditionsSelectList = [];\r\n this.controllingDependentActionSelectList = [];\r\n this.appendOtherDependentRowsList = [];\r\n }\r\n\r\n bindControllingFieldSelectList(currentSelectedControl: any, constControllingName: any) {\r\n this.showLoader = true;\r\n // let ControlDependencyFieldsString: any = localStorage.getItem('ControlDependencyFieldsArray');\r\n let ControlDependencyFieldsString: any = this.sessionStorageService.getControlDependencyFieldsArray();\r\n if (ControlDependencyFieldsString && ControlDependencyFieldsString != null && ControlDependencyFieldsString != undefined) {\r\n this.controlDependencyFieldsArray = JSON.parse(ControlDependencyFieldsString);\r\n this.controlDependencyFieldsArray = this.controlDependencyFieldsArray.sort((a: any, b: any) => a.PageNo > b.PageNo ? 1 : -1);\r\n this.controllingFieldSelectList = [];\r\n\r\n if (this.controlDependencyFieldsArray && this.controlDependencyFieldsArray.length > 0) {\r\n for (let index = 0; index < this.controlDependencyFieldsArray.length; index++) {\r\n const element = this.controlDependencyFieldsArray[index];\r\n let isPushToArrReq: boolean = true;\r\n if (element.DataGuid.toLowerCase() == Control.Checkbox.toLocaleLowerCase()) {\r\n let chekDataSelected = (document.getElementById(\"resizable_\" + element.ControlId));\r\n if (chekDataSelected) {\r\n let isDataSelected: any = chekDataSelected.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") isPushToArrReq = false;\r\n }\r\n }\r\n\r\n if (isPushToArrReq) {\r\n let textControlText = \"\";\r\n if (element.DataGuid.toLowerCase() == Control.Text.toLocaleLowerCase()) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + element.ControlId));\r\n if (spnCurrentSelectedControl) {\r\n textControlText = (document.getElementById(\"spn\" + element.ControlId)).innerHTML;\r\n }\r\n }\r\n\r\n this.controllingFieldSelectList.push({\r\n conditionID: element.ConditionID,\r\n value: element.DataDocumentContentId,\r\n title: element.ControlId,\r\n dataGuid: element.DataGuid,\r\n text: constControllingName.replace('#PageNo', element.PageNo)\r\n .replace('#ControlType', this.commonService.getHoverControlText(element.ControlName))\r\n .replace('#ControlName', (element.DataGuid.toLowerCase() == Control.Text.toLocaleLowerCase() ? textControlText : element.CtrlNumber)),\r\n isSelected: element.ControlId == currentSelectedControl ? true : false\r\n });\r\n }\r\n }\r\n this.appendConditionsAndActionsLists(currentSelectedControl);\r\n }\r\n\r\n if (this.controllingFieldSelectList && this.controllingFieldSelectList.length > 0) {\r\n this.isDefaultSelected = true;\r\n }\r\n }\r\n this.showLoader = false;\r\n }\r\n\r\n bindDependentFieldSelectList(currentSelectedControl: any, constControllingName: any, rcpId: any) {\r\n this.showLoader = true;\r\n this.getExistingDependencyData(currentSelectedControl);\r\n // let allImageControlsArray: any = localStorage.getItem('AllImageControls');\r\n let allImageControlsArray: any = this.sessionStorageService.getAllImageControls();\r\n if (allImageControlsArray != null) {\r\n this.dependencyFieldsArray = JSON.parse(allImageControlsArray);\r\n this.dependencyFieldsArray = this.dependencyFieldsArray.sort((a: any, b: any) => a.PageNo > b.PageNo ? 1 : -1);\r\n this.controllingDependentFieldSelectList = [];\r\n\r\n if (this.dependencyFieldsArray && this.dependencyFieldsArray.length > 0) {\r\n for (let index = 0; index < this.dependencyFieldsArray.length; index++) {\r\n const element = this.dependencyFieldsArray[index];\r\n\r\n if (rcpId != '' && element.RecipientId.toLowerCase() == rcpId.toLowerCase()) {\r\n if (element.ControlId != currentSelectedControl && (element.DataGuid.toLowerCase() != Control.Label.toLocaleLowerCase() && element.DataGuid.toLowerCase() != Control.Hyperlink.toLocaleLowerCase() && element.DataGuid.toLowerCase() != Control.DateTimeStamp.toLocaleLowerCase())) {\r\n let textControlText = \"\";\r\n if (element.DataGuid.toLowerCase() == Control.Text.toLocaleLowerCase()) {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + element.ControlId));\r\n if (spnCurrentSelectedControl) {\r\n textControlText = (document.getElementById(\"spn\" + element.ControlId)).innerHTML;\r\n }\r\n }\r\n this.controllingDependentFieldSelectList.push({\r\n conditionID: element.ConditionID,\r\n value: element.DataDocumentContentId,\r\n title: element.ControlId,\r\n dataGuid: element.DataGuid,\r\n text: constControllingName.replace('#PageNo', element.PageNo)\r\n .replace('#ControlType', this.commonService.getHoverControlText(element.ControlName))\r\n .replace('#ControlName', (element.DataGuid.toLowerCase() == Control.Text.toLocaleLowerCase() ? textControlText : element.CtrlNumber)),\r\n isSelected: false\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n this.showLoader = false;\r\n }\r\n\r\n getExistingDependencyData(currentSelectedControl: any) {\r\n let childelements: any = document.getElementById(currentSelectedControl);\r\n if (currentSelectedControl != '' && childelements) {\r\n let docContentId: any = childelements.getAttribute('data-document-content-id');\r\n let attr_id: any = childelements.getAttribute('id');\r\n let resizableCtrl: any = document.getElementById('resizable_' + attr_id);\r\n let attr_dataGuid: any = '';\r\n if (resizableCtrl)\r\n attr_dataGuid = resizableCtrl.getAttribute('data-guid');\r\n\r\n this.eligibleDependentControlsArray = [];\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + docContentId + '\"]');\r\n Array.from(childelementsArray).forEach((childelementItem: any, v: any) => {\r\n let childattr_docContentId: any = childelementItem.getAttribute('data-document-content-id');\r\n let child_controlID: any = childattr_docContentId;\r\n let child_condtionID = childelementItem.getAttribute('data-parent-rule-id');\r\n let child_supportText = (childelementItem.getAttribute('data-parent-support-text-content') == null || childelementItem.getAttribute('data-parent-support-text-content') == undefined) ? '' : childelementItem.getAttribute('data-parent-support-text-content');\r\n let child_attr_id: any = childelementItem.getAttribute('id');\r\n let child_resizableCtrl: any = document.getElementById('resizable_' + child_attr_id);\r\n\r\n if (child_resizableCtrl && child_resizableCtrl.style['display'] != 'none') {\r\n let child_attr_dataGuid: any = ''; let child_dataSelectedVal: any = '';\r\n if (child_resizableCtrl) {\r\n child_attr_dataGuid = child_resizableCtrl.getAttribute('data-guid');\r\n let child_dataSelected = child_resizableCtrl.getAttribute('data-selected');\r\n if (child_dataSelected && child_dataSelected != null) child_dataSelectedVal = child_dataSelected.toLowerCase()\r\n else child_dataSelectedVal = '';\r\n }\r\n\r\n let child_dataPageNumber: any = childelementItem.getAttribute('data-pageno');\r\n let child_dataControlName: any = childelementItem.getAttribute('data-controlname');\r\n let child_dataControlNum: any = childelementItem.getAttribute('data-ctrlnum');\r\n\r\n let isRequired = (child_attr_dataGuid == Control.DropDown.toLowerCase() || child_attr_dataGuid == Control.Radio.toLowerCase()) ? BehaviourRuleConfig.VisibleNotRequired :\r\n (child_dataSelectedVal == 'true') ? BehaviourRuleConfig.VisibleRequired : BehaviourRuleConfig.VisibleNotRequired;\r\n\r\n let child_textControlText = \"\";\r\n if (child_attr_dataGuid.toLowerCase() == Control.Text.toLocaleLowerCase()) {\r\n let child_spnControl = (document.getElementById(\"spn\" + child_attr_id));\r\n if (child_spnControl) {\r\n child_textControlText = (document.getElementById(\"spn\" + child_attr_id)).innerHTML;\r\n }\r\n }\r\n\r\n var childDisplayName = this.getDisplayName(child_attr_dataGuid, child_dataPageNumber, child_dataControlName, child_dataControlNum, child_textControlText);\r\n var condition = this.getCondtion(attr_dataGuid, child_condtionID, docContentId)\r\n this.eligibleDependentControlsArray.push({\r\n 'ContentId': childattr_docContentId,\r\n 'ControlId': child_controlID,\r\n 'Id': child_attr_id,\r\n 'ConditionId': child_condtionID,\r\n 'DataGUID': child_attr_dataGuid,\r\n 'SuportText': child_supportText,\r\n 'PageNumber': child_dataPageNumber,\r\n 'ControlName': child_dataControlName,\r\n 'ControlNum': child_dataControlNum,\r\n 'IsRequired': isRequired,\r\n 'DisplayName': childDisplayName,\r\n 'Condition': condition,\r\n 'ParentDataGUID': attr_dataGuid,\r\n 'ParentControlContentID': docContentId,\r\n 'ParentID': attr_id\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n bindExistingSelectedControlFieldDependeyData() {\r\n let isControlingField: any = false;\r\n if (this.dependencyIconClickedObj.currentControlId == \"\" || this.dependencyIconClickedObj.currentControlId == null || this.dependencyIconClickedObj.currentControlId == undefined) {\r\n isControlingField = false;\r\n }\r\n let parentControlField: any = document.getElementById(\"slControllingFieldSelectList\");\r\n if (parentControlField) {\r\n let selectedParentItem = parentControlField.value;\r\n if (selectedParentItem != \"0\" && selectedParentItem != \"\" && selectedParentItem != null && selectedParentItem != undefined) {\r\n isControlingField = true;\r\n }\r\n\r\n if (isControlingField == true) {\r\n let dependentFieldArray: any = document.querySelectorAll('.dependentFieldSelectList');\r\n if (dependentFieldArray && dependentFieldArray.length > 0) {\r\n let checkBoxDependentCondiitons = this.commonConstants.CheckBoxRuleConfig;\r\n let textBoxDependentCondiitons = this.commonConstants.TextRuleConfig;\r\n for (let index = 0; index < dependentFieldArray.length; index++) {\r\n let resultObj: any = this.getRequiredConditionForDependencyControl(index);\r\n if (resultObj && resultObj != null) {\r\n this.addedAsDependentFields.push({ parentItem: resultObj.ParentControlContentID, title: resultObj.Id, value: resultObj.ContentId, rowIndex: index });\r\n\r\n //dependentField\r\n let currentDependentSelectCtrl: any = (document.getElementById(\"slDependentFieldSelectList_\" + index)) as HTMLSelectElement;\r\n if (currentDependentSelectCtrl && currentDependentSelectCtrl.options.length > 0) {\r\n for (let index = 0; index < currentDependentSelectCtrl.options.length; index++) {\r\n const element = currentDependentSelectCtrl.options[index];\r\n if (element.value.toLowerCase() == resultObj.ContentId.toLowerCase()) {\r\n currentDependentSelectCtrl.options[index]?.setAttribute('Selected', 'selected');\r\n currentDependentSelectCtrl.selectedIndex = index;\r\n currentDependentSelectCtrl.options[index]?.setAttribute('conditionid', resultObj.ConditionId);\r\n }\r\n }\r\n }\r\n\r\n //Condition\r\n let currentConditionSelectCtrl: any = (document.getElementById(\"slDependentConditionsSelectList_\" + index)) as HTMLSelectElement;\r\n if (currentConditionSelectCtrl) {\r\n if (resultObj.ParentDataGUID.toLowerCase() == Control.Radio.toLowerCase()) {\r\n currentConditionSelectCtrl.options[0]?.setAttribute('Selected', 'selected');\r\n currentConditionSelectCtrl.selectedIndex = 0;\r\n currentDependentSelectCtrl.options[index]?.setAttribute('conditionid', resultObj.ConditionId);\r\n }\r\n else if (resultObj.ParentDataGUID.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n for (let index = 0; index < checkBoxDependentCondiitons.length; index++) {\r\n if (resultObj.ConditionId.toLowerCase() == checkBoxDependentCondiitons[index].ID.toLowerCase()) {\r\n currentConditionSelectCtrl.options[index]?.setAttribute('Selected', 'selected');\r\n currentConditionSelectCtrl.selectedIndex = index;\r\n currentConditionSelectCtrl.options[index]?.setAttribute('conditionid', resultObj.ConditionId.toLowerCase());\r\n }\r\n }\r\n }\r\n else if (resultObj.ParentDataGUID.toLowerCase() == Control.Text.toLowerCase()) {\r\n let textField: any = document.getElementById(\"txtTextField_\" + index);\r\n for (let index = 0; index < textBoxDependentCondiitons.length; index++) {\r\n if (resultObj.ConditionId.toLowerCase() == textBoxDependentCondiitons[index].ID.toLowerCase()) {\r\n currentConditionSelectCtrl.options[index]?.setAttribute('Selected', 'selected');\r\n currentConditionSelectCtrl.selectedIndex = index;\r\n currentConditionSelectCtrl.options[index]?.setAttribute('conditionid', resultObj.ConditionId.toLowerCase());\r\n if (index == 1 || index == 2) {\r\n if (textField) {\r\n textField.value = resultObj.SuportText; textField.removeAttribute('disabled');\r\n }\r\n }\r\n else if (index == 3) {\r\n if (textField) { textField.value = textBoxDependentCondiitons[index].RuleText; }\r\n }\r\n }\r\n }\r\n }\r\n else if (resultObj.ParentDataGUID.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n if (currentConditionSelectCtrl && currentConditionSelectCtrl.options.length > 0) {\r\n for (let index = 0; index < currentConditionSelectCtrl.options.length; index++) {\r\n const element = currentConditionSelectCtrl.options[index];\r\n if (element.value.toLowerCase() == resultObj.ConditionId.toLowerCase()) {\r\n currentConditionSelectCtrl.options[index]?.setAttribute('Selected', 'selected');\r\n currentConditionSelectCtrl.selectedIndex = index;\r\n currentConditionSelectCtrl.options[index]?.setAttribute('conditionid', resultObj.ConditionId.toLowerCase());\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n //Behaviour\r\n let currentBehaviourSelectCtrl: any = (document.getElementById(\"slDependentActionSelectList_\" + index)) as HTMLSelectElement;\r\n if (currentBehaviourSelectCtrl) {\r\n if (resultObj.IsRequired.toLowerCase() == BehaviourRuleConfig.VisibleRequired.toLowerCase()) {\r\n currentBehaviourSelectCtrl.options[0]?.setAttribute('Selected', 'selected');\r\n currentBehaviourSelectCtrl.selectedIndex = 0;\r\n }\r\n else if (resultObj.IsRequired.toLowerCase() == BehaviourRuleConfig.VisibleNotRequired.toLowerCase()) {\r\n currentBehaviourSelectCtrl.options[1]?.setAttribute('Selected', 'selected');\r\n currentBehaviourSelectCtrl.selectedIndex = 1;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n getRequiredConditionForDependencyControl(index: any) {\r\n let result: any;\r\n if (this.eligibleDependentControlsArray && this.eligibleDependentControlsArray.length > 0) {\r\n let resultObj: any = this.eligibleDependentControlsArray[index];\r\n if (resultObj) {\r\n result = resultObj;\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n appendConditionsAndActionsLists(title: any) {\r\n let isErrorToProceed: boolean = false;\r\n let controlTypeID = \"\";\r\n let controlID = \"\";\r\n let contentId = \"\";\r\n let slControlingField: any = this.controlDependencyFieldsArray.filter(function (obj: any) { return obj.ControlId.toLowerCase() == title.toLowerCase() });\r\n if (slControlingField && slControlingField.length > 0) {\r\n controlTypeID = slControlingField[0].DataGuid;\r\n controlID = slControlingField[0].ControlId;\r\n contentId = slControlingField[0].DataDocumentContentId;\r\n }\r\n\r\n this.controllingdependentConditionsSelectList = [];\r\n this.controllingDependentActionSelectList = [];\r\n\r\n if (controlTypeID.toLowerCase() == Control.DropDown.toLowerCase()) { //DROPDOWN\r\n let currentDrpCtrl: any = (document.getElementById(\"spn\" + controlID)) as HTMLSelectElement;\r\n if (currentDrpCtrl && currentDrpCtrl.options && currentDrpCtrl.options.length > 0) {\r\n for (let index = 0; index < currentDrpCtrl.options.length; index++) {\r\n const element = currentDrpCtrl.options[index];\r\n let dataSelectOptionAttrId: any = currentDrpCtrl.options[index]?.getAttribute('data-select-option-id');\r\n let isSelected = false;\r\n if (index == 0) {\r\n isSelected = true;\r\n }\r\n this.controllingdependentConditionsSelectList.push({ conditionID: '', value: dataSelectOptionAttrId, title: 'Selected', text: element.text, isSelected: isSelected, isDisabled: false });\r\n }\r\n }\r\n else {\r\n isErrorToProceed = true;\r\n this.toastrService.warning(\"Please add options for the selected dropdown control.\", 'Warning'); this.showLoader = false;\r\n }\r\n if (!isErrorToProceed) this.enableDisableConditionsList(controlTypeID, false);\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.Radio.toLowerCase()) { //RADIO\r\n this.controllingdependentConditionsSelectList.push({ conditionID: '', value: contentId, title: 'Selected', text: 'Selected', isSelected: true, isDisabled: false });\r\n this.enableDisableConditionsList(controlTypeID, false);\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.Checkbox.toLowerCase()) {//CHECKBOX\r\n let checkBoxDependentCondiitons = this.commonConstants.CheckBoxRuleConfig;\r\n for (let index = 0; index < checkBoxDependentCondiitons.length; index++) {\r\n let element = checkBoxDependentCondiitons[index];\r\n let isSelected = false;\r\n if (element.RuleText == 'Checked') { isSelected = true; }\r\n this.controllingdependentConditionsSelectList.push({ conditionID: '', value: element.ID, title: element.RuleText, text: element.RuleText, isSelected: isSelected, isDisabled: false });\r\n }\r\n this.enableDisableConditionsList(controlTypeID, false);\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.Text.toLowerCase()) { //Text\r\n let textBoxDependentCondiitons = this.commonConstants.TextRuleConfig;\r\n let spnCurrentTextControl = (document.getElementById(\"resizable_\" + controlID));\r\n let isRequiredCtrl = false;\r\n if (spnCurrentTextControl) {\r\n let isDataSelected: any = spnCurrentTextControl.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") { isRequiredCtrl = true; }\r\n\r\n for (let index = 0; index < textBoxDependentCondiitons.length; index++) {\r\n let element = textBoxDependentCondiitons[index];\r\n let isSelected = false; let isDisabled = false;\r\n if (element.RuleText == 'Any Text') { isSelected = true; isDisabled = isRequiredCtrl ? true : false }\r\n else if (element.RuleText == 'Specific Text' && isRequiredCtrl) { isSelected = true; }\r\n else if (element.RuleText == 'Empty') { isDisabled = isRequiredCtrl ? true : false }\r\n this.controllingdependentConditionsSelectList.push({ conditionID: '', value: element.ID, title: element.RuleText, text: element.RuleText, isSelected: isSelected, isDisabled: isDisabled });\r\n }\r\n\r\n this.enableDisableConditionsList(controlTypeID, isRequiredCtrl);\r\n }\r\n }\r\n\r\n if (!isErrorToProceed) {\r\n let checkBoxDependentAction = [BehaviourRuleConfig.VisibleRequired, BehaviourRuleConfig.VisibleNotRequired];\r\n for (let index = 0; index < checkBoxDependentAction.length; index++) {\r\n let element = checkBoxDependentAction[index];\r\n let isSelected = false;\r\n if (element == BehaviourRuleConfig.VisibleRequired) { isSelected = true; }\r\n this.controllingDependentActionSelectList.push({ conditionID: '', value: element, title: element, text: element, isSelected: isSelected });\r\n }\r\n }\r\n }\r\n\r\n enableDisableConditionsList(controlTypeID: any, isRequiredCtrl: boolean) {\r\n for (let index = 0; index < this.appendOtherDependentRowsList.length; index++) {\r\n let currentDependentConditionsSelect: any = (document.getElementById(\"slDependentConditionsSelectList_\" + index)) as HTMLSelectElement;\r\n if (controlTypeID.toLowerCase() == Control.DropDown.toLowerCase() || controlTypeID.toLowerCase() == Control.Checkbox.toLowerCase() || controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.removeAttribute('disabled');\r\n if (controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (isRequiredCtrl) this.showTextField('Specific Text', index, TextRuleCondtionsConfig.SpecificText);\r\n else this.showTextField('Any Text', index, TextRuleCondtionsConfig.AnyText);\r\n }\r\n else\r\n this.hideTextField(controlTypeID, index);\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.Radio.toLowerCase()) {\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.setAttribute('disabled', 'disabled');\r\n this.hideTextField(controlTypeID, index);\r\n }\r\n }\r\n }\r\n\r\n addTextField(event: any, rowindex: any) {\r\n let currentSelectOption: any = (document.getElementById(\"slDependentConditionsSelectList_\" + rowindex)) as HTMLSelectElement;\r\n let sel = currentSelectOption.selectedIndex;\r\n let opt = currentSelectOption.options[sel];\r\n let value = (opt).value; //DataDocumentContentId\r\n let title = (opt).title;\r\n\r\n let currentControllingFieldSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentControllingFieldSelectCtrl) {\r\n let csel = currentControllingFieldSelectCtrl.selectedIndex;\r\n let copt = currentControllingFieldSelectCtrl.options[csel];\r\n let controlFielddataDocumentContentId = (copt).value; //DataDocumentContentId\r\n\r\n let slControlingField: any = this.controllingFieldSelectList.filter(function (obj: any) { return obj.value.toLowerCase() == controlFielddataDocumentContentId.toLowerCase() });\r\n if (slControlingField && slControlingField.length > 0) {\r\n if (slControlingField[0].dataGuid.toLowerCase() != Control.Text.toLowerCase())\r\n this.hideTextField(title, rowindex);\r\n else this.showTextField(title, rowindex, value);\r\n }\r\n }\r\n }\r\n\r\n showTextField(title: any, rowindex: any, configId: any) {\r\n let tdAddTextField: any = document.getElementById(\"tdAddTextField_\" + rowindex);\r\n if (tdAddTextField) tdAddTextField.style.display = 'block';\r\n let txtTextField: any = document.getElementById(\"txtTextField_\" + rowindex);\r\n if (txtTextField) txtTextField.setAttribute('placeholder', title);\r\n let thAddTextField: any = document.getElementById(\"thAddTextField\");\r\n if (thAddTextField) thAddTextField.style.display = 'block';\r\n if (configId == TextRuleCondtionsConfig.Empty || configId == TextRuleCondtionsConfig.AnyText) {\r\n if (txtTextField) {\r\n txtTextField.setAttribute('disabled', 'disabled');\r\n txtTextField.value = '';\r\n }\r\n }\r\n else {\r\n if (txtTextField) txtTextField.removeAttribute('disabled');\r\n }\r\n }\r\n\r\n hideTextField(controlTypeID: any, rowindex: any) {\r\n let tdAddTextField: any = document.getElementById(\"tdAddTextField_\" + rowindex);\r\n if (tdAddTextField) tdAddTextField.style.display = 'none';\r\n let txtTextField: any = document.getElementById(\"txtTextField_\" + rowindex);\r\n if (txtTextField) {\r\n txtTextField.setAttribute('placeholder', '');\r\n txtTextField.val = '';\r\n }\r\n let thAddTextField: any = document.getElementById(\"thAddTextField\");\r\n if (thAddTextField) thAddTextField.style.display = 'none';\r\n }\r\n\r\n findFirstItemFromListByPropAndValue(inArr: any, prop: any, value: any) {\r\n if (inArr != null && inArr != undefined) {\r\n for (let i = 0; i < inArr.length; i++) {\r\n if (inArr[i][prop] == value) {\r\n return inArr[i];\r\n }\r\n }\r\n }\r\n return undefined;\r\n }\r\n\r\n getConditionId(contentId: any, arryList: any) {\r\n let conditionID = \"\";\r\n let slField: any = arryList.filter(function (obj: any) { return obj.value.toLowerCase() == contentId.toLowerCase() });\r\n if (slField && slField.length > 0 && slField[0].conditionID != '00000000-0000-0000-0000-000000000000') conditionID = slField[0].conditionID;\r\n else conditionID = this.commonService.generateUUID();\r\n return (conditionID != '' && conditionID != null) ? conditionID.toLocaleLowerCase() : conditionID;\r\n }\r\n\r\n updateAllDependentDropdowns() {\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex; //event.target.selectedIndex\r\n let opt = currentSelectCtrl.options[sel];\r\n let value = (opt).value; //DataDocumentContentId\r\n let title = (opt).title;\r\n // if (title) {\r\n // let controlName = title.replace(/\\d+/g, '');\r\n // if (controlName == 'dropDownControl' || controlName == 'checkboxControl' || controlName == 'radioControl') {\r\n // this.addClass = true;\r\n // this.addcontrolClass = false;\r\n // this.addTopClass = false;\r\n // }\r\n // else if (controlName == 'textControl') {\r\n // this.addcontrolClass = true;\r\n // this.addClass = false;\r\n // this.addTopClass = true;\r\n // }\r\n // else {\r\n // this.addClass = false;\r\n // this.addcontrolClass = false;\r\n // this.addTopClass = false;\r\n // }\r\n // }\r\n if (title && title !== '') {\r\n let controlTypeID = \"\";\r\n let controlID = \"\";\r\n let slControlingField: any = this.controlDependencyFieldsArray.filter(function (obj: any) { return obj.ControlId.toLowerCase() == title.toLowerCase() });\r\n if (slControlingField && slControlingField.length > 0) {\r\n controlTypeID = slControlingField[0].DataGuid;\r\n controlID = slControlingField[0].ControlId;\r\n }\r\n let spnCurrentTextControl = (document.getElementById(\"resizable_\" + controlID));\r\n let isRequiredCtrl = false;\r\n if (spnCurrentTextControl) {\r\n let isDataSelected: any = spnCurrentTextControl.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") { isRequiredCtrl = true; }\r\n }\r\n\r\n this.selectedParentControlTypeID = controlTypeID;\r\n this.selectedParentControlID = controlID;\r\n this.selectedParentControlFieldRequired = isRequiredCtrl;\r\n\r\n let rcpId: any = spnCurrentTextControl.getAttribute('data-rcptid');\r\n this.bindDependentFieldSelectList(title, this.constStaticControllingName, rcpId);\r\n if (this.appendOtherDependentRowsList.length == 0) {\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + value + '\"]');\r\n let parentChildelementsArray: any = [];\r\n for (let index = 0; index < childelementsArray.length; index++) {\r\n let ele: any = childelementsArray[index].id;\r\n let resizable_ele: any = document.getElementById('resizable_' + ele);\r\n if (resizable_ele && resizable_ele.style[\"display\"] != 'none') {\r\n parentChildelementsArray.push(resizable_ele);\r\n }\r\n }\r\n // parentChildelementsArray = childelementsArray;\r\n\r\n if (parentChildelementsArray && parentChildelementsArray.length > 0) {\r\n for (let index = 0; index < parentChildelementsArray.length; index++) {\r\n this.appendOtherDependentRowsList.push({ rIndex: index, });\r\n }\r\n }\r\n else {\r\n this.addAdditionalDependentRow(0);\r\n }\r\n }\r\n else if (this.appendOtherDependentRowsList.length > 0) {\r\n this.appendOtherDependentRowsList = [];\r\n\r\n if (this.eligibleDependentControlsArray && this.eligibleDependentControlsArray.length > 0) {\r\n for (let index = 0; index < this.eligibleDependentControlsArray.length; index++) {\r\n this.addAdditionalDependentRow(1); //if selected control has many dependent fields then add that rows\r\n }\r\n }\r\n else {\r\n this.addAdditionalDependentRow(0);\r\n }\r\n }\r\n setTimeout(() => {\r\n this.appendConditionsAndActionsLists(title);\r\n if (this.eligibleDependentControlsArray && this.eligibleDependentControlsArray.length == 0) {\r\n this.controlPropertyService.applyColorCodeForItem(title, this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color);\r\n }\r\n setTimeout(() => {\r\n this.bindExistingSelectedControlFieldDependeyData();\r\n }, 10);\r\n }, 20); //50\r\n }\r\n else {\r\n this.showHideAllOtherDependencyDropdowns();\r\n // if (this.addedAsDependentFields && this.addedAsDependentFields.length > 0) {\r\n // for (let index = 0; index < this.addedAsDependentFields.length; index++) {\r\n // const element = this.addedAsDependentFields[index];\r\n // this.removeColorAndAttributes(element.title, element.value);\r\n // }\r\n // }\r\n }\r\n\r\n this.allDependencySelectedControls.push(value);\r\n }\r\n }\r\n\r\n addAdditionalDependentRow(type: any) {\r\n let arrLength: any;\r\n arrLength = this.appendOtherDependentRowsList.length + 1;\r\n if (this.appendOtherDependentRowsList.length == 0 || type == 1) this.appendOtherDependentRowsList.push({ rIndex: arrLength });\r\n setTimeout(() => {\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let value = (opt).value; //DataDocumentContentId\r\n let title = (opt).title;\r\n if (title && title !== '') {\r\n let controlTypeID = \"\";\r\n let controlID = \"\";\r\n let slControlingField: any = this.controlDependencyFieldsArray.filter(function (obj: any) { return obj.ControlId.toLowerCase() == title.toLowerCase() });\r\n if (slControlingField && slControlingField.length > 0) {\r\n controlTypeID = slControlingField[0].DataGuid;\r\n controlID = slControlingField[0].ControlId;\r\n let currentDependentConditionsSelect: any = (document.getElementById(\"slDependentConditionsSelectList_\" + (arrLength - 1))) as HTMLSelectElement;\r\n if (controlTypeID.toLowerCase() == Control.Radio.toLowerCase()) { //RADIO\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.setAttribute('disabled', 'disabled');\r\n this.hideTextField(controlTypeID, (arrLength - 1));\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.DropDown.toLowerCase() || controlTypeID.toLowerCase() == Control.Checkbox.toLowerCase() || controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.removeAttribute('disabled');\r\n if (controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n let spnCurrentTextControl = (document.getElementById(\"resizable_\" + controlID));\r\n let isRequiredCtrl = false;\r\n if (spnCurrentTextControl) {\r\n let isDataSelected: any = spnCurrentTextControl.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") { isRequiredCtrl = true; }\r\n }\r\n if (isRequiredCtrl) this.showTextField('Specific Text', (arrLength - 1), TextRuleCondtionsConfig.SpecificText);\r\n else this.showTextField('Any Text', (arrLength - 1), TextRuleCondtionsConfig.AnyText);\r\n }\r\n else\r\n this.hideTextField(controlTypeID, (arrLength - 1));\r\n }\r\n }\r\n return true;\r\n }\r\n else {\r\n if (type == \"1\") {\r\n this.appendOtherDependentRowsList.pop();\r\n this.showLoader = false;\r\n this.toastrService.warning(\"Please select a controlling field.\", 'Warning'); return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }, 15);\r\n }\r\n\r\n showHideFirstRowDependentDropdowns() {\r\n let arrLength: any = this.appendOtherDependentRowsList.length - 1;\r\n if (this.controllingFieldSelectList && this.controllingFieldSelectList.length > 0) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n if (this.dependencyIconClickedObj.type == \"1\") { currentSelectedControl = ''; }\r\n if (currentSelectedControl != '') {\r\n let dguid: any = '';\r\n let slControlingFieldObj: any = this.controllingFieldSelectList.filter(function (obj: any) { return obj.title.toLowerCase() == currentSelectedControl.toLowerCase() });\r\n if (slControlingFieldObj && slControlingFieldObj.length > 0) {\r\n dguid = slControlingFieldObj[0].dataGuid;\r\n }\r\n if (dguid.toLowerCase() == Control.Text.toLowerCase()) {\r\n let spnCurrentTextControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n let isRequiredCtrl = false;\r\n if (spnCurrentTextControl) {\r\n let isDataSelected: any = spnCurrentTextControl.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") { isRequiredCtrl = true; }\r\n }\r\n if (isRequiredCtrl) this.showTextField('Specific Text', arrLength, TextRuleCondtionsConfig.SpecificText);\r\n else this.showTextField('Any Text', arrLength, TextRuleCondtionsConfig.AnyText);\r\n }\r\n }\r\n }\r\n }\r\n\r\n checkIsAlreadyAddedAsDependent(rindex: any, slIndex: any) {\r\n let parentControlField: any = document.getElementById(\"slControllingFieldSelectList\");\r\n let selectedParentItem = parentControlField.value;\r\n let currentSelectCtrl: any = (document.getElementById(\"slDependentFieldSelectList_\" + rindex)) as HTMLSelectElement;\r\n let title: any = '';\r\n\r\n if (currentSelectCtrl) {\r\n if (slIndex != 0 && slIndex != undefined) {\r\n currentSelectCtrl.selectedIndex = slIndex;\r\n }\r\n let selectedChildItem = (currentSelectCtrl.options[currentSelectCtrl.selectedIndex]).value; //DataDocumentContentId\r\n title = (currentSelectCtrl.options[currentSelectCtrl.selectedIndex]).title;\r\n let rowDependentFields: any = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.title.toLowerCase() == title.toLowerCase() });\r\n //let rowDependentFields: any = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.rowIndex == rindex });\r\n if (title && title !== '') {\r\n if (document.querySelector('[data-int-control-id=\"' + title + '\"]')?.classList.contains('dropdownItem') == true) {\r\n let selectDropdownControlField: any = (document.getElementById('spn' + title)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n this.toastrService.warning(\"Please add list items for the selected dropdown control.\", 'Warning'); this.showLoader = false; return false;\r\n }\r\n }\r\n\r\n if (document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.contains('addedAsChild') == true) {\r\n currentSelectCtrl.options[0]?.setAttribute('Selected', 'selected');\r\n currentSelectCtrl.selectedIndex = 0;\r\n if (rowDependentFields && rowDependentFields.length > 0) {\r\n this.removeColorAndAttributes(rowDependentFields[0].title, rowDependentFields[0].value);\r\n\r\n //remove dependency\r\n this.controlPropertyService.removeAttributes(rowDependentFields[0].value);\r\n\r\n this.addedAsDependentFields = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.rowIndex != rindex })\r\n }\r\n this.toastrService.warning(\"The selected value is an existing dependent control.\", 'Warning'); this.showLoader = false; return false;\r\n }\r\n else {\r\n document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.add('alreadyDependentField');\r\n document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.add('addedAsChild');\r\n //this.removePreviousControlColorIndex(selectedChildItem, rindex);\r\n if (rowDependentFields && rowDependentFields.length > 0) {\r\n this.removeColorAndAttributes(rowDependentFields[0].title, rowDependentFields[0].value);\r\n this.addedAsDependentFields = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.rowIndex != rindex });\r\n }\r\n this.addedAsDependentFields.push({ parentItem: selectedParentItem, title: title, value: selectedChildItem, rowIndex: rindex });\r\n this.tempDependencyControls.push({ parentControlId: selectedParentItem, dependentControlId: selectedChildItem });\r\n\r\n //Apply color to child\r\n let isChildrenPresent: any;\r\n let parentColor: any = '';\r\n let childItemField: any = document.getElementById(title);\r\n if (childItemField) {\r\n isChildrenPresent = childItemField.getAttribute('is-child-present');\r\n }\r\n let slControlingFieldObj: any = this.controllingFieldSelectList.filter(function (obj: any) { return obj.value.toLowerCase() == selectedParentItem.toLowerCase() });\r\n if (slControlingFieldObj && slControlingFieldObj.length > 0) {\r\n let parentItemField: any = document.getElementById(\"spn\" + slControlingFieldObj[0].title);\r\n let parentDivField: any = document.getElementById(slControlingFieldObj[0].title);\r\n parentColor = parentItemField.style['background-color'];\r\n if (parentColor != '' && parentColor != \"rgba(220, 220, 220, 1)\" && parentColor != \"rgb(220, 220, 220)\" && parentColor != 'rgb(255, 255, 255)') {\r\n this.controlPropertyService.applyColorCodeForItem(title, parentColor);\r\n }\r\n else {\r\n let controlGroupCode: any = parentDivField.getAttribute('group-code');\r\n if (controlGroupCode != null && controlGroupCode != \"\" && controlGroupCode != undefined && controlGroupCode != \"null\") this.controlColorCodeIndex = controlGroupCode;\r\n\r\n //getting error color\r\n this.controlPropertyService.applyColorCodeForItem(title, this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color);\r\n this.controlPropertyService.applyColorCodeForItem(slControlingFieldObj[0].title, this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color);\r\n }\r\n if (isChildrenPresent == 'true') {\r\n let resizableItem: any = document.getElementById(\"resizable_\" + title);\r\n resizableItem.style[\"border-width\"] = '';\r\n }\r\n }\r\n }\r\n }\r\n else if (title == '' || title == null) {\r\n let curItem: any = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.rowIndex == rindex });\r\n if (curItem && curItem.length > 0) {\r\n this.removeColorAndAttributes(curItem[0].title, curItem[0].value);\r\n }\r\n this.addedAsDependentFields = this.addedAsDependentFields.filter(function (obj: any) { return obj.parentItem == selectedParentItem && obj.rowIndex != rindex });\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n removeColorAndAttributes(title: any, contentId: any) {\r\n //Check for any dependent controls are exists for parent to assign the back ground color.\r\n //This comes because\r\n //for a controlling filed X, assigned other control Y as dependent\r\n //Now this controlling filed X selected from dependent dropdown, Then reassign the color.\r\n let checkIsParentToOtherControlsArray: any = document.querySelectorAll('[data-parent-id=\"' + contentId + '\"]');\r\n if (checkIsParentToOtherControlsArray && checkIsParentToOtherControlsArray.length > 0) {\r\n //get the first dependent field\r\n let attr_id: any = checkIsParentToOtherControlsArray[0]?.getAttribute('id');\r\n var isChildrenPresent = checkIsParentToOtherControlsArray[0]?.getAttribute('is-child-present');\r\n var isParentPresent = checkIsParentToOtherControlsArray[0]?.getAttribute('is-parent-present');\r\n let parentItem: any = document.querySelector('[data-document-content-id=\"' + contentId + '\"]');\r\n if (parentItem) {\r\n let isParentParentPresent = parentItem.getAttribute('is-parent-present');\r\n if (attr_id && (isChildrenPresent == \"false\" || isChildrenPresent == null) && (isParentPresent == \"true\") && (isParentParentPresent == \"false\" || isParentParentPresent == null)) {\r\n //find the parent dependent field\r\n let resizableItem: any = document.getElementById(\"resizable_\" + attr_id);\r\n if (resizableItem) {\r\n //get the dependent control background-color style\r\n let back_color: any = resizableItem.style[\"background-color\"];\r\n //find the parent controlling field\r\n let parentResizableItem: any = document.querySelector('[data-document-content-id=\"' + contentId + '\"]');\r\n let res_attr_id: any = parentResizableItem?.getAttribute('id');\r\n //reassigning the color\r\n this.controlPropertyService.applyColorCodeForItem(res_attr_id, back_color);\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n this.controlPropertyService.removeColorForItem(title);\r\n }\r\n document.querySelector('[data-document-content-id=\"' + contentId + '\"]')?.classList.remove('addedAsChild');\r\n document.querySelector('[data-document-content-id=\"' + contentId + '\"]')?.classList.remove('alreadyDependentField');\r\n document.querySelector('[data-document-content-id=\"' + contentId + '\"]')?.classList.remove('is-parent-present');\r\n }\r\n\r\n deleteAdditionalDependentRow(rowIndex: any, valIndex: any) {\r\n let tobeDeletedDependentItem: any = document.getElementById(\"slDependentFieldSelectList_\" + rowIndex);\r\n if (tobeDeletedDependentItem) {\r\n let selectedChildItem = tobeDeletedDependentItem.value;\r\n if (selectedChildItem) {\r\n this.controlPropertyService.removeAttributes(selectedChildItem);\r\n this.controlPropertyService.removeElementColor(selectedChildItem);\r\n }\r\n //to bind the remaining dependent rows\r\n this.appendOtherDependentRowsList = this.appendOtherDependentRowsList.filter((c: any) => { return c.rIndex !== valIndex });\r\n //to get the remaining dependent rows\r\n this.addedAsDependentFields = this.addedAsDependentFields.filter(function (obj: any) { return obj.value.toLowerCase() != selectedChildItem.toLowerCase() });\r\n\r\n if (this.addedAsDependentFields && this.addedAsDependentFields.length == 0) {\r\n let parentControlField: any = document.getElementById(\"slControllingFieldSelectList\");\r\n let selectedParentItem = parentControlField.value;\r\n let dependentControlsToParentControlsArray: any = document.querySelectorAll('[data-parent-id=\"' + selectedParentItem + '\"]');\r\n if (selectedParentItem) {\r\n if (dependentControlsToParentControlsArray != null && dependentControlsToParentControlsArray.length == 0) {\r\n this.controlPropertyService.removeElementColor(selectedParentItem);\r\n this.controlPropertyService.removeAttributes(selectedParentItem);\r\n }\r\n document.querySelector('[data-document-content-id=\"' + selectedParentItem + '\"]')?.setAttribute('is-child-present', '');\r\n }\r\n }\r\n }\r\n }\r\n\r\n getDisplayName(attr_dataGuid: any, dataPageNumber: any, dataControlname: any, dataControlNum: any, textControlText: any) {\r\n var constControllingName = 'Page' + ' #PageNo: #ControlType, #ControlName';\r\n var displayName = constControllingName.replace('#PageNo', dataPageNumber)\r\n .replace('#ControlType', this.commonService.getHoverControlText(dataControlname))\r\n .replace('#ControlName', (attr_dataGuid.toLowerCase() == Control.Text.toLowerCase() ? textControlText : dataControlNum));\r\n return displayName;\r\n }\r\n\r\n getCondtion(typeId: any, condtionId: any, controlId: any) {\r\n var condition = '';\r\n let dropDownControls: any = document.querySelectorAll('[data-document-content-id=\"' + controlId + '\"]');\r\n if (typeId.toLowerCase() == Control.DropDown.toLocaleLowerCase()) {\r\n if (dropDownControls && dropDownControls.length > 0) {\r\n Array.from(dropDownControls).forEach((drpItem: any, v: any) => {\r\n let attr_drpId: any = drpItem.getAttribute('id');\r\n let selectDropdownControlField: any = (document.getElementById('spn' + attr_drpId)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n if (ruleId.toLowerCase() == condtionId.toLowerCase()) {\r\n condition = text;\r\n break;\r\n }\r\n }\r\n }\r\n })\r\n }\r\n }\r\n else if (typeId.toLowerCase() == Control.Radio.toLocaleLowerCase()) {\r\n condition = \"Selected\";\r\n }\r\n else {\r\n var found = this.commonConstants.RuleConfig.filter(function (item: any) { return item.ID === condtionId.toUpperCase(); })\r\n condition = found[0].RuleText;\r\n }\r\n return condition;\r\n }\r\n\r\n hideExistingContent() {\r\n this.isViewAll = true;\r\n let cancelDependencyBtn: any = document.getElementById(\"cancelDependencyBtn\");\r\n if (cancelDependencyBtn) {\r\n cancelDependencyBtn.cursor = 'no-drop';\r\n cancelDependencyBtn.setAttribute('disabled', 'disabled');\r\n }\r\n\r\n let saveDependencyBtn: any = document.getElementById(\"saveDependencyBtn\");\r\n if (saveDependencyBtn) {\r\n saveDependencyBtn.cursor = 'no-drop';\r\n saveDependencyBtn.setAttribute('disabled', 'disabled');\r\n }\r\n\r\n let staticBackdropLabel: any = document.getElementById(\"staticBackdropLabel\");\r\n if (staticBackdropLabel) {\r\n staticBackdropLabel.innerHTML = 'View Dependencies';\r\n }\r\n }\r\n\r\n showExistingContent() {\r\n this.isViewAll = false;\r\n let cancelDependencyBtn: any = document.getElementById(\"cancelDependencyBtn\");\r\n if (cancelDependencyBtn) {\r\n cancelDependencyBtn.cursor = 'pointer';\r\n cancelDependencyBtn.removeAttribute('disabled');\r\n }\r\n\r\n let saveDependencyBtn: any = document.getElementById(\"saveDependencyBtn\");\r\n if (saveDependencyBtn) {\r\n saveDependencyBtn.cursor = 'pointer';\r\n saveDependencyBtn.removeAttribute('disabled');\r\n }\r\n\r\n let staticBackdropLabel: any = document.getElementById(\"staticBackdropLabel\");\r\n if (staticBackdropLabel) {\r\n staticBackdropLabel.innerHTML = 'Dependencies:';\r\n }\r\n }\r\n\r\n saveDependentFields() {\r\n this.showLoader = true;\r\n let ccontrolFieldText: any = '';\r\n let selectedControlFieldType: any = '';\r\n let controlFielddataDocumentContentId: any = '';\r\n //Parent Controlling Field\r\n let currentControllingFieldSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentControllingFieldSelectCtrl) {\r\n let csel = currentControllingFieldSelectCtrl.selectedIndex;\r\n let copt = currentControllingFieldSelectCtrl.options[csel];\r\n controlFielddataDocumentContentId = (copt).value; //DataDocumentContentId\r\n ccontrolFieldText = (copt).textContent;\r\n let slControlingFieldObj: any = this.controllingFieldSelectList.filter(function (obj: any) { return obj.value.toLowerCase() == controlFielddataDocumentContentId.toLowerCase() });\r\n if (slControlingFieldObj && slControlingFieldObj.length > 0) {\r\n selectedControlFieldType = slControlingFieldObj[0].dataGuid.toLowerCase();\r\n }\r\n }\r\n\r\n if (ccontrolFieldText == \"\" || (ccontrolFieldText != '' && ccontrolFieldText.trim().toLowerCase() == \"select\")) {\r\n isDependentFault = true; this.showLoader = false;\r\n this.toastrService.warning(\"Please select a controlling field.\", 'Warning'); return false;\r\n }\r\n\r\n var isDependentFault = false;\r\n var dependents: any = [];\r\n let existingColorValue: any;\r\n let isChildPresent = \"false\";\r\n //Getting all added dependent rows\r\n let dependentFieldSelectClassArray: any = (document.getElementsByClassName(\"dependentFieldSelectList\")) as HTMLSelectElement;\r\n if (dependentFieldSelectClassArray && dependentFieldSelectClassArray.length > 0) {\r\n Array.from(dependentFieldSelectClassArray).forEach((dependentField: any, index: any) => {\r\n //Dependent Control\r\n let dsel = dependentField.selectedIndex;\r\n let dopt = dependentField.options[dsel];\r\n let dependentDocumentContentId = (dopt).value; //DataDocumentContentId\r\n let dcontrolFieldText: any = (dopt).textContent;\r\n\r\n if (dependentDocumentContentId == '0' || dcontrolFieldText == '' || dcontrolFieldText.toLowerCase() == \"select\") {\r\n isDependentFault = true;\r\n this.isSaveDependentFieldsClicked = false; this.showLoader = false;\r\n this.toastrService.warning(\"Please select dependent field to save conditions.\", 'Warning');\r\n return false;\r\n }\r\n else {\r\n //Condition\r\n let conditionVal = \"\";\r\n let conditionValTextContent = \"\";\r\n let conditionIdCtrl: any = (document.getElementById(\"slDependentConditionsSelectList_\" + index)) as HTMLSelectElement;\r\n if (conditionIdCtrl) {\r\n let condsel = conditionIdCtrl.selectedIndex;\r\n let condopt = conditionIdCtrl.options[condsel];\r\n conditionValTextContent = conditionIdCtrl.options[condsel].textContent;\r\n conditionVal = (condopt).value;\r\n }\r\n\r\n //Behaviour\r\n let behaviourVal = \"\";\r\n let behaviourCtrl: any = (document.getElementById(\"slDependentActionSelectList_\" + index)) as HTMLSelectElement;\r\n if (behaviourCtrl) {\r\n let behsel = behaviourCtrl.selectedIndex;\r\n let behopt = behaviourCtrl.options[behsel];\r\n behaviourVal = (behopt).value;\r\n }\r\n\r\n //Support Text\r\n let supportTextVal: any;\r\n if (selectedControlFieldType && selectedControlFieldType.toLowerCase() == Control.Text.toLowerCase()) {\r\n let spnSupportTextCtl = (document.getElementById(\"txtTextField_\" + index));\r\n if (spnSupportTextCtl) {\r\n if (spnSupportTextCtl.value != '') supportTextVal = spnSupportTextCtl.value;\r\n else if (conditionVal.toUpperCase() != '0B069009-E271-4534-8C8B-21D876CC31DE' && conditionVal.toUpperCase() != 'E8351007-1A7E-449C-B3FD-AFE619CFFA8D') {\r\n //Empty and Any Text\r\n isDependentFault = true; this.toastrService.warning(conditionValTextContent + \" cannot be blank.\", 'Warning'); this.showLoader = false; return false;\r\n }\r\n }\r\n }\r\n\r\n //Pushing dependent row data to array\r\n dependents.push({\r\n ID: this.getConditionId(dependentDocumentContentId, this.controllingDependentFieldSelectList),\r\n ControlID: (dependentDocumentContentId != \"\" && dependentDocumentContentId != null) ? dependentDocumentContentId.toLocaleLowerCase() : dependentDocumentContentId,\r\n ConditionID: (conditionVal != \"\" && conditionVal != null) ? conditionVal.toLocaleLowerCase() : conditionVal,\r\n SupportText: (supportTextVal == undefined || supportTextVal == '') ? null : supportTextVal,\r\n GroupCode: null,\r\n IsRequired: behaviourVal == BehaviourRuleConfig.VisibleRequired ? true : false\r\n });\r\n }\r\n return true;\r\n });\r\n isChildPresent = \"true\";\r\n }\r\n else {\r\n isDependentFault = true;\r\n this.isSaveDependentFieldsClicked = false; this.showLoader = false;\r\n this.toastrService.warning(\"Please select dependent field to save conditions.\", 'Warning'); return false;\r\n }\r\n\r\n if (isDependentFault) {\r\n dependents = []; return false;\r\n }\r\n\r\n //todo color code pending\r\n let currentPanelContrlID = (controlFielddataDocumentContentId != \"\" && controlFielddataDocumentContentId != null) ? controlFielddataDocumentContentId.toLocaleLowerCase() : controlFielddataDocumentContentId;\r\n\r\n //existingColorCodeValue\r\n const elem = document.querySelector('[data-document-content-id=\"' + currentPanelContrlID + '\"]');\r\n if (elem) {\r\n let groupCode = elem?.getAttribute('group-code');\r\n if (groupCode != null && groupCode != '') {\r\n existingColorValue = groupCode;\r\n }\r\n }\r\n let existingColorCode = existingColorValue;\r\n\r\n //Bind all dependent data to parent controls - conditionalControlsDetails\r\n var conditionalControlsDetails = {\r\n ID: this.getConditionId(currentPanelContrlID, this.controllingFieldSelectList),\r\n EnvelopeID: '', //To do $('#PrepareGlobalEnvelopeID').val(),\r\n ControlID: currentPanelContrlID,\r\n ControllingFieldID: '',\r\n ControllingConditionID: '',\r\n ControllingSupportText: '',\r\n EnvelopeStage: '', //To do\r\n DependentFields: dependents,\r\n GroupCode: (existingColorCode != null && existingColorCode != '' && existingColorCode != undefined) ? parseInt(existingColorCode) : this.dependencyColorCodes[(parseInt(this.controlColorCodeIndex) > 0 ? parseInt(this.controlColorCodeIndex) : 0) % 10].ID,\r\n };\r\n\r\n //increasing color code\r\n if (existingColorCode == null || existingColorCode == '' || existingColorCode == undefined) {\r\n this.controlColorCodeIndex = parseInt(this.controlColorCodeIndex) + 1;\r\n }\r\n\r\n //Set group-code and data-condition-id to parent control field\r\n document.querySelector('[data-document-content-id=\"' + currentPanelContrlID + '\"]')?.setAttribute('group-code', conditionalControlsDetails.GroupCode)\r\n document.querySelector('[data-document-content-id=\"' + currentPanelContrlID + '\"]')?.setAttribute('data-condition-id', conditionalControlsDetails.ID)\r\n document.querySelector('[data-document-content-id=\"' + currentPanelContrlID + '\"]')?.setAttribute('is-child-present', isChildPresent)\r\n\r\n //assigning group code to all dependent fields\r\n if (dependentFieldSelectClassArray && dependentFieldSelectClassArray.length > 0) {\r\n Array.from(dependentFieldSelectClassArray).forEach((dependentField: any, index: any) => {\r\n let dsel = dependentField.selectedIndex;\r\n let dopt = dependentField.options[dsel];\r\n let dependentDocumentContentId = (dopt).value; //DataDocumentContentId\r\n document.querySelector('[data-document-content-id=\"' + dependentDocumentContentId + '\"]')?.setAttribute('group-code', conditionalControlsDetails.GroupCode);\r\n let dependentParentId: any = document.querySelector('[data-document-content-id=\"' + dependentDocumentContentId + '\"]')?.getAttribute('id');\r\n\r\n //Reassign the color\r\n let colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(conditionalControlsDetails.GroupCode) % 10].Color;\r\n this.controlPropertyService.applyColorCodeForItem(dependentParentId, colorCode);\r\n\r\n //selected dependent field having child dependent fields or not\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + dependentDocumentContentId + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItem: any, ind: any) => {\r\n childDependentItem.setAttribute('group-code', conditionalControlsDetails.GroupCode);\r\n this.controlPropertyService.removeColorForItem(childDependentItem.getAttribute('id'));\r\n let childChildDependentControl: any = document.getElementById(\"spn\" + dependentParentId);\r\n this.controlPropertyService.applyColorCodeForItem(childDependentItem.getAttribute('id'), childChildDependentControl?.style['background-color']);\r\n\r\n this.checkIsHavingDependentFields(childDependentItem, conditionalControlsDetails.GroupCode);\r\n });\r\n }\r\n if (dependentParentId) {\r\n let ctrlItem: any = document.getElementById(dependentParentId);\r\n ctrlItem.setAttribute('group-code', conditionalControlsDetails.GroupCode);\r\n }\r\n });\r\n }\r\n\r\n //assign conditionid to selected option for parentControlField\r\n let parentControlField: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (parentControlField) {\r\n parentControlField.options[parentControlField.options.selectedIndex]?.setAttribute('conditionid', conditionalControlsDetails.ID);\r\n }\r\n\r\n //updating the dependency for existing data-parent-id\r\n let conditionalControlsDetailsArray: any = document.querySelectorAll('[data-parent-id=\"' + conditionalControlsDetails.ControlID + '\"]');\r\n if (conditionalControlsDetailsArray && conditionalControlsDetailsArray.length > 0) {\r\n Array.from(conditionalControlsDetailsArray).forEach((existingParentIdCtrl: any, v: any) => {\r\n let attr_docContentId: any = existingParentIdCtrl.getAttribute('data-document-content-id');\r\n var item = this.findFirstItemFromListByPropAndValue(conditionalControlsDetails.DependentFields, 'ControlID', attr_docContentId);\r\n if (item != undefined || item != null) {\r\n this.controlPropertyService.removeAttributes(attr_docContentId);\r\n document.querySelector('[data-document-content-id=\"' + attr_docContentId + '\"]')?.removeAttribute('is-child-present');\r\n }\r\n });\r\n }\r\n\r\n //set data-parent-id, data-parent-rule-id and data-parent-support-text-content for DependentFields\r\n if (conditionalControlsDetails && conditionalControlsDetails != null && conditionalControlsDetails.DependentFields && conditionalControlsDetails.DependentFields.length > 0) {\r\n Array.from(conditionalControlsDetails.DependentFields).forEach((dependentItem: any, k: any) => {\r\n document.querySelector('select.controllingFieldSelectList option[value=\"' + dependentItem.ControlID + '\"]')?.setAttribute('conditionid', dependentItem.ID);\r\n document.querySelector('select.dependentFieldSelectList option[value=\"' + dependentItem.ControlID + '\"]')?.setAttribute('conditionid', dependentItem.ID);\r\n\r\n this.controlPropertyService.setAttributes(dependentItem, selectedControlFieldType, currentPanelContrlID);\r\n if (dependentItem.ControlID) {\r\n let parentGrpCode: any = document.querySelector('[data-document-content-id=\"' + currentPanelContrlID + '\"]')?.getAttribute('group-code');\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('group-code', parentGrpCode);\r\n }\r\n\r\n Array.from(conditionalControlsDetails.DependentFields).forEach((value: any, index: any) => {\r\n if (dependentItem.ControlID == value.ControlID) {\r\n let ctrlContentItem = document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]');\r\n if (ctrlContentItem) {\r\n let ctrlId = ctrlContentItem?.getAttribute('id');\r\n let resizableCtrl = \"resizable_\" + ctrlId;\r\n if (value.IsRequired == true) {\r\n document.querySelector('[id=\"' + resizableCtrl + '\"]')?.setAttribute('data-selected', 'true');\r\n let ctrl_attr_guid: any = document.querySelector('[id=\"' + resizableCtrl + '\"]')?.getAttribute('data-guid');\r\n if (ctrl_attr_guid.toLocaleLowerCase() == Control.Checkbox.toLocaleLowerCase()) {\r\n document.querySelector('[data-document-content-id=\"' + dependentItem.ControlID + '\"]')?.setAttribute('is-child-present', '');\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + dependentItem.ControlID + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItem: any, ind: any) => {\r\n let docContentId: any = childDependentItem.getAttribute('data-document-content-id');\r\n this.controlPropertyService.removeAttributes(docContentId);\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-child-present', '');\r\n this.controlPropertyService.removeColorForItem(childDependentItem.getAttribute('id'));\r\n this.removeColorForDependentFields(docContentId);\r\n });\r\n }\r\n }\r\n }\r\n else document.querySelector('[id=\"' + resizableCtrl + '\"]')?.setAttribute('data-selected', 'false');\r\n }\r\n }\r\n });\r\n });\r\n }\r\n\r\n this.tempDependencyControls = [];\r\n this.isSaveDependentFieldsClicked = true;\r\n this.controlColorCode = Number(this.controlColorCodeIndex);\r\n this.eligibleDependentControlsArray = [];\r\n this.showLoader = false;\r\n this.toastrService.success('Dependencies saved successfully.', 'Success');\r\n this.addDependencieschangesMade.emit(this);\r\n this.modalRef.hide();\r\n return true;\r\n }\r\n\r\n viewAllDependecies() {\r\n this.isViewAll = true;\r\n this.showLoader = true;\r\n let tableViewAllBody: any = document.getElementById(\"tableViewAllBody\");\r\n if (tableViewAllBody) tableViewAllBody.innerHTML = '';\r\n let divViewAll: any = document.getElementById(\"divViewAll\");\r\n if (divViewAll) divViewAll.style.display = 'block';\r\n\r\n let divAddDependency: any = document.getElementsByClassName(\"divAddDependency\");\r\n if (divAddDependency && divAddDependency.length > 0) {\r\n Array.from(divAddDependency).forEach((divAddDependencyItem: any, index: any) => {\r\n divAddDependencyItem.style.display = 'none';\r\n })\r\n }\r\n\r\n let rowHTML = \"\";\r\n let isChildPresentArray: any = document.querySelectorAll('[is-child-present=\"' + true + '\"]');\r\n if (isChildPresentArray && isChildPresentArray.length > 0) {\r\n let controllingFieldArray: any = document.querySelectorAll('.controllingField');\r\n if (controllingFieldArray && controllingFieldArray.length > 0) {\r\n Array.from(controllingFieldArray).forEach((item: any, v: any) => {\r\n let controlID: any = item.getAttribute('data-document-content-id');\r\n let attr_id: any = item.getAttribute('id');\r\n let resizableCtrl: any = document.getElementById('resizable_' + attr_id);\r\n let attr_dataGuid: any = '';\r\n if (resizableCtrl) attr_dataGuid = resizableCtrl.getAttribute('data-guid');\r\n let dataPageNumber: any = item.getAttribute('data-pageno');\r\n let dataControlname: any = item.getAttribute('data-controlname');\r\n let dataControlNum: any = item.getAttribute('data-ctrlnum');\r\n let hasChildren: any = item.getAttribute('is-child-present');\r\n\r\n let textControlText = \"\";\r\n if (attr_dataGuid.toLowerCase() == Control.Text.toLocaleLowerCase()) {\r\n let spnControl = (document.getElementById(\"spn\" + attr_id));\r\n if (spnControl) {\r\n textControlText = (document.getElementById(\"spn\" + attr_id)).innerHTML;\r\n }\r\n }\r\n\r\n if (hasChildren == \"true\") {\r\n let displayName = this.getDisplayName(attr_dataGuid, dataPageNumber, dataControlname, dataControlNum, textControlText);\r\n rowHTML += '

' + displayName + '

';\r\n\r\n let count = 0;\r\n //Get the all dependencied fields to this parent controlling field\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + controlID + '\"]');\r\n if (childelementsArray && childelementsArray.length > 0) {\r\n Array.from(childelementsArray).forEach((childelementItem: any, v: any) => {\r\n // let childattr_docContentId: any = childelementItem.getAttribute('data-document-content-id');\r\n // let child_controlID: any = childelementItem.getAttribute('data-document-content-id');\r\n let child_attr_id: any = childelementItem.getAttribute('id');\r\n let child_resizableCtrl: any = document.getElementById('resizable_' + child_attr_id);\r\n if (child_resizableCtrl && child_resizableCtrl.style[\"display\"] != 'none') {\r\n let child_attr_dataGuid: any = ''; let child_dataSelectedVal: any = '';\r\n if (child_resizableCtrl) {\r\n child_attr_dataGuid = child_resizableCtrl.getAttribute('data-guid');\r\n let child_dataSelected = child_resizableCtrl.getAttribute('data-selected');\r\n if (child_dataSelected && child_dataSelected != null) child_dataSelectedVal = child_dataSelected.toLowerCase()\r\n else child_dataSelectedVal = '';\r\n }\r\n\r\n let child_dataPageNumber: any = childelementItem.getAttribute('data-pageno');\r\n let child_dataControlName: any = childelementItem.getAttribute('data-controlname');\r\n let child_dataControlNum: any = childelementItem.getAttribute('data-ctrlnum');\r\n let child_condtionID = childelementItem.getAttribute('data-parent-rule-id');\r\n\r\n let child_supportText = (childelementItem.getAttribute('data-parent-support-text-content') == null || childelementItem.getAttribute('data-parent-support-text-content') == undefined) ? '' : childelementItem.getAttribute('data-parent-support-text-content');\r\n let isRequired = (child_attr_dataGuid == Control.DropDown.toLowerCase() || child_attr_dataGuid == Control.Radio.toLowerCase()) ? BehaviourRuleConfig.VisibleNotRequired :\r\n (child_dataSelectedVal == 'true') ? BehaviourRuleConfig.VisibleRequired : BehaviourRuleConfig.VisibleNotRequired;\r\n\r\n let child_textControlText = \"\";\r\n if (child_attr_dataGuid.toLowerCase() == Control.Text.toLocaleLowerCase()) {\r\n let child_spnControl = (document.getElementById(\"spn\" + child_attr_id));\r\n if (child_spnControl) {\r\n child_textControlText = (document.getElementById(\"spn\" + child_attr_id)).innerHTML;\r\n }\r\n }\r\n\r\n var childDisplayName = this.getDisplayName(child_attr_dataGuid, child_dataPageNumber, child_dataControlName, child_dataControlNum, child_textControlText);\r\n var condition = this.getCondtion(attr_dataGuid, child_condtionID, controlID)\r\n if (count == 0) { //add first child\r\n rowHTML += '

' + condition + '

';\r\n rowHTML += '

' + childDisplayName + '

';\r\n rowHTML += '

' + isRequired + '

';\r\n if (child_supportText != '' && child_supportText != \"null\" && child_supportText != null) {\r\n rowHTML += '

' + child_supportText + '

';\r\n }\r\n count++;\r\n }\r\n else { //Add next childs\r\n rowHTML += '';\r\n rowHTML += '' + \"\" + '';\r\n rowHTML += '

' + condition + '

';\r\n rowHTML += '

' + childDisplayName + '

';\r\n rowHTML += '

' + isRequired + '

';\r\n if (child_supportText != '' && child_supportText != \"null\" && child_supportText != null) {\r\n rowHTML += '

' + child_supportText + '

';\r\n }\r\n }\r\n rowHTML += \"\"\r\n }\r\n });\r\n }\r\n }\r\n });\r\n tableViewAllBody.innerHTML = rowHTML;\r\n this.hideExistingContent();\r\n this.showLoader = false;\r\n }\r\n }\r\n else {\r\n rowHTML += '

There are no dependencies added for the controls.

';\r\n tableViewAllBody.innerHTML = rowHTML;\r\n this.hideExistingContent();\r\n this.showLoader = false;\r\n }\r\n }\r\n\r\n closePopUp() {\r\n // this.isViewAll = false;\r\n this.showLoader = true;\r\n let currentControllingFieldSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n let presentValue: any = \"\";\r\n if (currentControllingFieldSelectCtrl) {\r\n let csel = currentControllingFieldSelectCtrl.selectedIndex;\r\n let copt = currentControllingFieldSelectCtrl.options[csel];\r\n let ccontrolFieldText: any = (copt).textContent;\r\n presentValue = (copt && copt.value && copt.value != \"\") ? copt.value : \"\";\r\n if (ccontrolFieldText != \"\" && ccontrolFieldText.trim().toLowerCase() != \"select\") {\r\n if (this.isSaveDependentFieldsClicked == false) {\r\n //Remove color and other attributes to selected parent and child controls\r\n Array.from(this.tempDependencyControls).forEach((item: any, index: any) => {\r\n var controlID = item.dependentControlId;\r\n var dependentControlsToParentControls: any = document.querySelectorAll('[data-parent-id=\"' + controlID + '\"]');\r\n if (dependentControlsToParentControls && dependentControlsToParentControls.length == 0) {\r\n //let $controlObj = document.querySelector('[data-document-content-id=\"' + controlID + '\"]');\r\n this.controlPropertyService.removeAttributes(controlID);\r\n this.controlPropertyService.removeElementColor(controlID);\r\n }\r\n else {\r\n let parentElement = document.querySelector('[data-document-content-id=\"' + controlID + '\"]');\r\n if (parentElement) {\r\n let resizableParentItem: any = document.getElementById(\"resizable_\" + dependentControlsToParentControls[0].id);\r\n if (resizableParentItem) {\r\n this.controlPropertyService.applyColorCodeForItem(parentElement.getAttribute('id'), resizableParentItem.style[\"background-color\"]);\r\n }\r\n this.controlPropertyService.removeAttributes(controlID);\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n if (this.tempDependencyControls && this.tempDependencyControls.length > 0) {\r\n var controllingFieldID = this.tempDependencyControls[0];\r\n var dependentControlsToParentControls: any = document.querySelectorAll('[data-parent-id=\"' + controllingFieldID.parentControlId + '\"]');\r\n if (dependentControlsToParentControls && dependentControlsToParentControls.length == 0) {\r\n var parentElement: any = document.querySelector('[data-document-content-id=\"' + controllingFieldID.parentControlId + '\"]');\r\n var isParentPresent = parentElement?.getAttribute('is-parent-present');\r\n if ((isParentPresent == \"false\" || isParentPresent == null || isParentPresent == \"null\" || typeof isParentPresent == \"undefined\" || isParentPresent == \"\")) {\r\n this.controlPropertyService.removeColorForItem(parentElement?.getAttribute('id'));\r\n }\r\n }\r\n this.tempDependencyControls = [];\r\n }\r\n else {\r\n if (currentControllingFieldSelectCtrl.options[csel] && currentControllingFieldSelectCtrl.options[csel].value != \"\" && currentControllingFieldSelectCtrl.options[csel].value != null) {\r\n var parentElement: any = document.querySelector('[data-document-content-id=\"' + presentValue + '\"]');\r\n var isParentPresent = parentElement?.getAttribute('is-parent-present');\r\n var isChildPresent = parentElement?.getAttribute('is-child-present');\r\n if ((isParentPresent == \"false\" || isParentPresent == null || typeof isParentPresent == \"undefined\" || isParentPresent == '') &&\r\n (isChildPresent == \"false\" || isChildPresent == null || typeof isChildPresent == \"undefined\" || isChildPresent == '')) {\r\n this.controlPropertyService.removeElementColor(currentControllingFieldSelectCtrl.options[csel].value);\r\n }\r\n }\r\n }\r\n\r\n\r\n this.isSaveDependentFieldsClicked = false;\r\n }\r\n if (this.allDependencySelectedControls && this.allDependencySelectedControls.length > 0) {\r\n Array.from(this.allDependencySelectedControls).forEach((slVal: any, ind: any) => {\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + slVal + '\"]');\r\n if (slVal != presentValue && isHavingDependentFieldsArray && isHavingDependentFieldsArray.length == 0) {\r\n var parentElement: any = document.querySelector('[data-document-content-id=\"' + slVal + '\"]');\r\n var isParentPresent = parentElement?.getAttribute('is-parent-present');\r\n var isChildPresent = parentElement?.getAttribute('is-child-present');\r\n if ((isParentPresent == \"false\" || isParentPresent == null || typeof isParentPresent == \"undefined\") &&\r\n (isChildPresent == \"false\" || isChildPresent == null || typeof isChildPresent == \"undefined\")) {\r\n this.controlPropertyService.removeColorForItem(parentElement?.getAttribute('id'));\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.showLoader = false;\r\n // this.addDependencieschangesMade.emit(this);\r\n // this.modalRef.hide();\r\n }\r\n\r\n checkIsHavingDependentFields(childDependentItem: any, groupCode: any) {\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + childDependentItem.getAttribute('data-document-content-id') + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItemObj: any, ind: any) => {\r\n childDependentItemObj.setAttribute('group-code', groupCode);\r\n this.controlPropertyService.removeColorForItem(childDependentItemObj.getAttribute('id'));\r\n let childChildDependentControl: any = document.getElementById(\"spn\" + childDependentItem.getAttribute('id'));\r\n this.controlPropertyService.applyColorCodeForItem(childDependentItemObj.getAttribute('id'), childChildDependentControl?.style['background-color']);\r\n\r\n this.checkIsHavingDependentFields(childDependentItemObj, groupCode);\r\n });\r\n }\r\n }\r\n\r\n removeColorForDependentFields(docContentId: any) {\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + docContentId + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItem: any, ind: any) => {\r\n let docContentid: any = childDependentItem.getAttribute('data-document-content-id');\r\n this.controlPropertyService.removeAttributes(docContentid);\r\n document.querySelector('[data-document-content-id=\"' + docContentId + '\"]')?.setAttribute('is-child-present', '');\r\n this.controlPropertyService.removeColorForItem(childDependentItem.getAttribute('id'));\r\n this.removeColorForDependentFields(childDependentItem);\r\n });\r\n }\r\n }\r\n\r\n updateClassDependentField() {\r\n let className: any = 'th2';\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let title = (opt).title;\r\n if (title) {\r\n let controlName = title.replace(/\\d+/g, '');\r\n if (controlName == 'dropDownControl' || controlName == 'checkboxControl' || controlName == 'radioControl') {\r\n className = 'condition-th2';\r\n }\r\n else if (controlName == 'textControl') {\r\n className = 'ml-n8';\r\n }\r\n }\r\n return className;\r\n }\r\n }\r\n\r\n updateClassAction() {\r\n let className: any = 'th3';\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let title = (opt).title;\r\n if (title) {\r\n let controlName = title.replace(/\\d+/g, '');\r\n if (controlName == 'checkboxControl' || controlName == 'radioControl') {\r\n className = 'condition-th3';\r\n }\r\n else if (controlName == 'textControl') {\r\n className = 'ml-8p';\r\n }\r\n }\r\n return className;\r\n }\r\n }\r\n\r\n updateClassBehaviour() {\r\n let className: any = 'th4';\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let title = (opt).title;\r\n if (title) {\r\n let controlName = title.replace(/\\d+/g, '');\r\n if (controlName == 'checkboxControl' || controlName == 'radioControl') {\r\n className = 'condition-th4';\r\n }\r\n else if (controlName == 'textControl') {\r\n className = 'd-content';\r\n }\r\n }\r\n return className;\r\n }\r\n }\r\n\r\n updateClasscontrollingField() {\r\n let className: any = '';\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let title = (opt).title;\r\n if (title) {\r\n let controlName = title.replace(/\\d+/g, '');\r\n if (controlName == 'checkboxControl' || controlName == 'radioControl') {\r\n className = '';\r\n }\r\n else if (controlName == 'textControl') {\r\n className = 'top-n3';\r\n }\r\n }\r\n return className;\r\n }\r\n }\r\n\r\n showDependenciesPopUp() {\r\n // this.showDependenciesPopUpModal = true;\r\n // this.dependecieClose.emit(true);\r\n let divAddDependency: any = document.getElementsByClassName(\"divAddDependency\");\r\n if (divAddDependency && divAddDependency.length > 0) {\r\n Array.from(divAddDependency).forEach((divAddDependencyItem: any, index: any) => {\r\n divAddDependencyItem.style.display = 'block';\r\n })\r\n }\r\n\r\n let divViewAll: any = document.getElementById(\"divViewAll\");\r\n if (divViewAll) divViewAll.style.display = 'none';\r\n this.showExistingContent();\r\n }\r\n\r\n closeDependecies() {\r\n this.closePopUp();\r\n this.dependecieClose.emit(false);\r\n let button: any = document.getElementById(\"depencieclose\");\r\n if (button.classList.contains(\"collapsed\")) {\r\n let accordionCollapses: any = document.getElementById(\"collapseDependence\");\r\n button.classList.remove(\"collapsed\");\r\n accordionCollapses.classList.add(\"show\");\r\n }\r\n }\r\n\r\n addSelectedControlRowToExistingRows(updatedObj: any) {\r\n // let depCtrlMoved: any = localStorage.getItem('dependCtrlMoved');\r\n let depCtrlMoved: any = this.sessionStorageService.getDependCtrlMoved();\r\n if (depCtrlMoved !== 'true') {\r\n let currentSelectCtrl: any = (document.getElementById(\"slControllingFieldSelectList\")) as HTMLSelectElement;\r\n if (currentSelectCtrl) {\r\n let sel = currentSelectCtrl.selectedIndex;\r\n let opt = currentSelectCtrl.options[sel];\r\n let title = (opt).title;\r\n let currentDependentSelectedControl: any = updatedObj.currentDependentSelectedControl;\r\n let isAddedAlreadyObj: any = [];\r\n if (title && title !== '') {\r\n let docContentId = \"\";\r\n let controlTypeID = \"\";\r\n let controlID = \"\";\r\n let currentParentControl: any = document.getElementById(title);\r\n let selectedParentItem: any = currentParentControl.getAttribute('data-document-content-id');\r\n let slControlingField: any = this.controlDependencyFieldsArray.filter(function (obj: any) { return obj.ControlId.toLowerCase() == title.toLowerCase() });\r\n if (slControlingField && slControlingField.length > 0) {\r\n let arrLength: any = this.appendOtherDependentRowsList.length;\r\n if (arrLength != 0) {\r\n let dependentSlCtrl: any = (document.getElementById(\"slDependentFieldSelectList_\" + (arrLength - 1))) as HTMLSelectElement;\r\n let depopt = dependentSlCtrl.options[dependentSlCtrl.selectedIndex];\r\n let deptitle = (depopt).title;\r\n isAddedAlreadyObj = this.addedAsDependentFields.filter(function (obj: any) { return obj.title.toLowerCase() == currentDependentSelectedControl.toLowerCase() });\r\n if (currentDependentSelectedControl != deptitle && isAddedAlreadyObj != null && isAddedAlreadyObj.length == 0) {\r\n if (dependentSlCtrl) {\r\n if (deptitle != \"\" && deptitle != null && deptitle != undefined) {\r\n if (currentDependentSelectedControl != title) {\r\n this.appendOtherDependentRowsList.push({ rIndex: arrLength + 1 });\r\n }\r\n arrLength = this.appendOtherDependentRowsList.length;\r\n }\r\n }\r\n }\r\n else {\r\n if (isAddedAlreadyObj != null && isAddedAlreadyObj.length > 0) {\r\n let findIndex: any = '';\r\n for (let index = 0; index < this.addedAsDependentFields.length; index++) {\r\n const element = this.addedAsDependentFields[index];\r\n if (element.rowIndex == isAddedAlreadyObj[0].rowIndex) {\r\n findIndex = String(index);\r\n break;\r\n }\r\n }\r\n\r\n if (findIndex != '') {\r\n let deleteRowIndex: any = document.getElementById(\"hdnDelete_\" + (findIndex));\r\n if (deleteRowIndex) {\r\n let data_valueIndex: any = deleteRowIndex.value;\r\n this.deleteAdditionalDependentRow(findIndex, parseInt(data_valueIndex));\r\n let currenctrl: any = document.getElementById(currentDependentSelectedControl);\r\n let currenctrlContentId: any = currenctrl.getAttribute('data-document-content-id');\r\n this.controlPropertyService.removeAttributes(currenctrlContentId);\r\n this.controlPropertyService.removeElementColor(currenctrlContentId);\r\n }\r\n }\r\n }\r\n }\r\n\r\n setTimeout(() => {\r\n if (isAddedAlreadyObj != null && isAddedAlreadyObj.length == 0 && currentDependentSelectedControl != title) {\r\n this.populateControlFromDropdown(arrLength, updatedObj.contentId, slControlingField, \"1\");\r\n }\r\n }, 70);\r\n }\r\n else {\r\n this.appendOtherDependentRowsList.push({ rIndex: 1 });\r\n arrLength = this.appendOtherDependentRowsList.length;\r\n if (currentDependentSelectedControl) {\r\n let currentSlControl: any = document.getElementById(currentDependentSelectedControl);\r\n let selectedChildItem = currentSlControl.getAttribute('data-document-content-id');\r\n let title = currentDependentSelectedControl;\r\n if (document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.contains('addedAsChild') == true) {\r\n // currentSelectCtrl.options[0]?.setAttribute('Selected', 'selected');\r\n // currentSelectCtrl.selectedIndex = 0;\r\n this.toastrService.warning(\"The selected value is an existing dependent control.\", 'Warning');\r\n }\r\n else {\r\n document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.add('alreadyDependentField');\r\n document.querySelector('[data-document-content-id=\"' + selectedChildItem + '\"]')?.classList.add('addedAsChild');\r\n let addedAsDependentFieldsArray = this.addedAsDependentFields.filter(function (obj: any) { return obj.value == selectedChildItem });\r\n if (addedAsDependentFieldsArray != null && addedAsDependentFieldsArray.length == 0) {\r\n this.addedAsDependentFields.push({ parentItem: selectedParentItem, title: title, value: selectedChildItem, rowIndex: 0 });\r\n }\r\n this.tempDependencyControls.push({ parentControlId: selectedParentItem, dependentControlId: selectedChildItem });\r\n\r\n //Apply color to child\r\n let isChildrenPresent: any;\r\n let parentColor: any = '';\r\n let childItemField: any = document.getElementById(currentDependentSelectedControl);\r\n if (childItemField) {\r\n isChildrenPresent = childItemField.getAttribute('is-child-present');\r\n }\r\n\r\n let slControlingFieldObj: any = this.controllingFieldSelectList.filter(function (obj: any) { return obj.value.toLowerCase() == selectedParentItem.toLowerCase() });\r\n if (slControlingFieldObj && slControlingFieldObj.length > 0) {\r\n let parentItemField: any = document.getElementById(\"spn\" + slControlingFieldObj[0].title);\r\n let parentDivField: any = document.getElementById(slControlingFieldObj[0].title);\r\n parentColor = parentItemField.style['background-color'];\r\n if (parentColor != '' && parentColor != \"rgba(220, 220, 220, 1)\" && parentColor != \"rgb(220, 220, 220)\" && parentColor != 'rgb(255, 255, 255)') {\r\n this.controlPropertyService.applyColorCodeForItem(title, parentColor);\r\n }\r\n else {\r\n let controlGroupCode: any = parentDivField.getAttribute('group-code');\r\n if (controlGroupCode != null && controlGroupCode != \"\" && controlGroupCode != undefined && controlGroupCode != \"null\") this.controlColorCodeIndex = controlGroupCode;\r\n else this.updateColorCode(null);\r\n this.controlPropertyService.applyColorCodeForItem(title, this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color);\r\n this.controlPropertyService.applyColorCodeForItem(slControlingFieldObj[0].title, this.commonConstants.DependencyColorCodes[parseInt(this.controlColorCodeIndex) % 10].Color);\r\n }\r\n if (isChildrenPresent == 'true') {\r\n let resizableItem: any = document.getElementById(\"resizable_\" + title);\r\n resizableItem.style[\"border-width\"] = '';\r\n }\r\n setTimeout(() => {\r\n this.populateControlFromDropdown(arrLength, selectedChildItem, slControlingField, \"0\");\r\n }, 70);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // localStorage.setItem('dependCtrlMoved', 'false');\r\n this.sessionStorageService.setDependCtrlMoved('false');\r\n }\r\n }\r\n\r\n populateControlFromDropdown(arrLength: any, selectedChildItem: any, slControlingField: any, type: any) {\r\n let controlTypeID = \"\";\r\n let controlID = \"\";\r\n let currentDependentSelectCtrl: any = (document.getElementById(\"slDependentFieldSelectList_\" + (arrLength - 1))) as HTMLSelectElement;\r\n let slIndex: any;\r\n if (currentDependentSelectCtrl && currentDependentSelectCtrl.options.length > 0) {\r\n for (let index = 0; index < currentDependentSelectCtrl.options.length; index++) {\r\n const element = currentDependentSelectCtrl.options[index];\r\n if (element.value.toLowerCase() == selectedChildItem.toLowerCase()) {\r\n currentDependentSelectCtrl.options[index]?.setAttribute('Selected', 'selected');\r\n currentDependentSelectCtrl.selectedIndex = index;\r\n currentDependentSelectCtrl.options[index]?.setAttribute('conditionid', '00000000-0000-0000-0000-000000000000');\r\n slIndex = index;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n controlTypeID = slControlingField[0].DataGuid;\r\n controlID = slControlingField[0].ControlId;\r\n let currentDependentConditionsSelect: any = (document.getElementById(\"slDependentConditionsSelectList_\" + (arrLength - 1))) as HTMLSelectElement;\r\n if (controlTypeID.toLowerCase() == Control.Radio.toLowerCase()) { //RADIO\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.setAttribute('disabled', 'disabled');\r\n this.hideTextField(controlTypeID, (arrLength - 1));\r\n }\r\n else if (controlTypeID.toLowerCase() == Control.DropDown.toLowerCase() || controlTypeID.toLowerCase() == Control.Checkbox.toLowerCase() || controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n if (currentDependentConditionsSelect) currentDependentConditionsSelect.removeAttribute('disabled');\r\n if (controlTypeID.toLowerCase() == Control.Text.toLowerCase()) {\r\n let spnCurrentTextControl = (document.getElementById(\"resizable_\" + controlID));\r\n let isRequiredCtrl = false;\r\n if (spnCurrentTextControl) {\r\n let isDataSelected: any = spnCurrentTextControl.getAttribute('data-selected');\r\n if (isDataSelected == true || isDataSelected == \"true\") { isRequiredCtrl = true; }\r\n }\r\n if (isRequiredCtrl) this.showTextField('Specific Text', (arrLength - 1), TextRuleCondtionsConfig.SpecificText);\r\n else this.showTextField('Any Text', (arrLength - 1), TextRuleCondtionsConfig.AnyText);\r\n }\r\n else\r\n this.hideTextField(controlTypeID, (arrLength - 1));\r\n }\r\n\r\n if (type == \"1\")\r\n this.checkIsAlreadyAddedAsDependent(arrLength - 1, slIndex);\r\n }\r\n\r\n updateColorCode(currentSelectedControl: any) {\r\n // let groupCodeArrayUpdated: any = [];\r\n let isChildPresentArray: any = document.querySelectorAll('[is-child-present=\"' + true + '\"]');\r\n if (isChildPresentArray && isChildPresentArray.length > 0) {\r\n let controllingFieldArray: any = document.querySelectorAll('.controllingField');\r\n if (controllingFieldArray && controllingFieldArray.length > 0) {\r\n Array.from(controllingFieldArray).forEach((item: any, v: any) => {\r\n let attr_group_code: any = item.getAttribute('group-code');\r\n if (attr_group_code && attr_group_code != '' && attr_group_code != 'null' && attr_group_code != undefined) {\r\n if (!this.groupCodeArrayUpdated.includes(parseInt(attr_group_code))) {\r\n this.groupCodeArrayUpdated.push(parseInt(attr_group_code));\r\n }\r\n }\r\n });\r\n\r\n if (this.groupCodeArrayUpdated.length == 0) this.controlColorCodeIndex = 1;\r\n else this.controlColorCodeIndex = Math.max(...this.groupCodeArrayUpdated) + 1;\r\n\r\n this.groupCodeArrayUpdated.push(this.controlColorCodeIndex);\r\n }\r\n }\r\n else {\r\n this.controlColorCodeIndex = this.dependencyIconClickedObj?.groupColorCode;\r\n }\r\n\r\n if (currentSelectedControl) {\r\n let currentSelectedControlElement: any = document.getElementById(currentSelectedControl);\r\n if (currentSelectedControlElement)\r\n currentSelectedControlElement.setAttribute(\"temp-group-code\", this.controlColorCodeIndex);\r\n }\r\n }\r\n}\r\n","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\n\r\n@Component({\r\n selector: 'app-clearall-controls',\r\n templateUrl: './clearall-controls.component.html',\r\n styleUrls: ['./clearall-controls.component.scss']\r\n})\r\nexport class ClearallControlsComponent {\r\n @Output() clearallChangesMade: EventEmitter = new EventEmitter();\r\n\r\n constructor(\r\n\t\tpublic modalRef: BsModalRef\r\n\t) {}\r\n\r\n\tngOnInit(): void {\r\n\t}\r\n\r\n onOk(){\r\n this.clearallChangesMade.emit(this);\r\n this.modalRef.hide();\r\n }\r\n}\r\n","
\r\n
\r\n
Confirmation
\r\n
close
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n

\r\n This action will remove all document controls.\r\n \r\n \r\n Do you want to proceed?\r\n

\r\n
\r\n \r\n
","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationService {\r\n\r\n reloadPage() {\r\n window.location.reload();\r\n }\r\n\r\n redirect(url: string): void {\r\n window.location.href = url;\r\n }\r\n}\r\n","
\r\n
\r\n
{{getLanguageTranslationValue(resourceKeys.lang_confirmation)}}
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n

\r\n {{getLanguageTranslationValue(resourceKeys.permanentlydeletesenvelope)}}\r\n {{getLanguageTranslationValue(resourceKeys.lang_stillProceed)}}\r\n \r\n

\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, HostListener, Output } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { CommonConstants } from 'src/app/constants/common-constants';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { NavigationService } from 'src/app/services/navigation.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-discard-envelope',\r\n templateUrl: './discard-envelope.component.html',\r\n styleUrls: ['./discard-envelope.component.scss']\r\n})\r\nexport class DiscardEnvelopeComponent {\r\n resourceKeys = ResourceKeys;\r\n @Output() discardEnvelopChangesMade: EventEmitter = new EventEmitter();\r\n showLoader: boolean = false;\r\n public onCheckDiscardEnvelope: EventEmitter = new EventEmitter();\r\n hostListenerStatus: any = false;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private authService: AuthService,\r\n private commonService: CommonService,\r\n private apiService: APIService,\r\n private navigationService: NavigationService,\r\n private sessionStorageService: SessionStorageService,\r\n private router: Router,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n @HostListener('window:unload', ['$event'])\r\n unloadHandler(event: Event) {\r\n this.PostCall(event);\r\n }\r\n\r\n PostCall(event: any) {\r\n //event.preventDefault();\r\n }\r\n\r\n @HostListener('window:beforeunload', ['$event'])\r\n beforeUnloadHander(event: Event) {\r\n let ClickedSignMeOut: any = this.sessionStorageService.getClickedSignMeOut();\r\n if (this.hostListenerStatus == true || ClickedSignMeOut == \"true\") {\r\n this.PostCall(event);\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n onDiscardEnvelope() {\r\n let popUpStatus = {\r\n status: 'ok'\r\n };\r\n this.onCheckDiscardEnvelope.next(popUpStatus);\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n else {\r\n let getUserDetails: any = this.authService.getDetails();\r\n if (getUserDetails) {\r\n let envelopeDetail: any = JSON.parse(getUserDetails);\r\n if (envelopeDetail) {\r\n this.showLoader = true;\r\n let apiUrl = ApiUrlConfig.DiscardEnvelope + \"?envelopeId=\" + envelopeDetail.envelopeOrTemplateId;\r\n this.apiService.delete(apiUrl).subscribe((resp: any) => {\r\n this.showLoader = false;\r\n if (resp && resp.statusCode == 200) {\r\n this.modalRef.hide();\r\n this.showToastrSuccess(resp.message);\r\n setTimeout(() => {\r\n let rsignUrl: any = environment.rsignUrl;\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n rsignUrl = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n }\r\n this.navigationService.redirect(rsignUrl + NavigateUrlConfig.Home);\r\n }, 1000);\r\n }\r\n else if(resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n if (resp.message != null && resp.message != '')\r\n this.showToastrWarning(resp.message);\r\n else\r\n this.showToastrWarning(CommonConstants.DiscardEnvelopeFailed);\r\n }\r\n });\r\n }\r\n else {\r\n this.showToastrWarning(CommonConstants.DiscardEnvelopeFailed);\r\n }\r\n }\r\n else {\r\n this.showToastrWarning(CommonConstants.DiscardEnvelopeFailed);\r\n }\r\n }\r\n }\r\n\r\n onDiscardCancel() {\r\n let popUpStatus = {\r\n status: 'cancel'\r\n };\r\n this.onCheckDiscardEnvelope.next(popUpStatus);\r\n this.modalRef.hide();\r\n }\r\n\r\n getLanguageTranslationValue(resourcekeyId: any) {\r\n return this.commonService.getLabelTranslationVal(resourcekeyId);\r\n }\r\n\r\n showToastrWarning(msg: any) {\r\n this.toastrService.warning(msg, 'Warning');\r\n }\r\n\r\n showToastrSuccess(message: any) {\r\n this.toastrService.success(message, 'Success');\r\n }\r\n\r\n redirectRSignLogOnPage(){\r\n this.hostListenerStatus = true;\r\n this.showLoader = false;\r\n this.toastrService.info(CommonConstants.SessionTimedOutMsg, 'Info');\r\n this.sessionStorageService.setIntializePrepareDetails('EnvelopeID', '');\r\n this.sessionStorageService.setIntializePrepareDetails('EmailId', '');\r\n this.sessionStorageService.setIntializePrepareDetails('PageName', '');\r\n\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrl + NavigateUrlConfig.LogOn;\r\n }\r\n else {\r\n this.router.navigate(['/global-error']);\r\n }\r\n }\r\n}\r\n","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { SessionStorageService} from '../../services/session-storage.service';\r\n\r\n@Component({\r\n\tselector: 'app-goto-step-one',\r\n\ttemplateUrl: './goto-step-one.component.html',\r\n\tstyleUrls: ['./goto-step-one.component.scss']\r\n})\r\nexport class GotoStepOneComponent {\r\n\tresourceKeys = ResourceKeys;\r\n\t@Output() gotoStepOneChangesMade: EventEmitter = new EventEmitter();\r\n\tyesMessage:string = '';\r\n\r\n\tconstructor(\r\n\t\tpublic modalRef: BsModalRef,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) { }\r\n\r\n\tngOnInit(): void {\r\n\t\tlet prepareType:any = this.sessionStorageService.intializePrepareDetails.PrepareType;\r\n\t\tthis.yesMessage = '';\r\n\t\tif(prepareType.toLowerCase() === 'template'){\r\n\t\t\tthis.yesMessage = 'Goes to the previous step after saving changes.';\r\n\t\t} else {\r\n\t\t\tthis.yesMessage = 'Goes to the previous step after saving documents to the Drafts folder on the home page.';\r\n\t\t}\r\n\t}\r\n\r\n\tgetLanguageTranslationValue(resourcekeyId: any) {\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t}\r\n\r\n\tonGotoStepOne(type:any){\r\n\t\tlet popUpStatus = {status: type};\r\n this.gotoStepOneChangesMade.next(popUpStatus);\r\n\t\tthis.modalRef.hide();\r\n\t}\r\n}\r\n","
\r\n
\r\n
{{getLanguageTranslationValue(resourceKeys.lang_confirmation)}}
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n

\r\n \r\n

\r\n

\r\n \r\n

\r\n
\r\n \r\n
\r\n","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\n\r\n@Component({\r\n selector: 'app-keyboard-shortcuts',\r\n templateUrl: './keyboard-shortcuts.component.html',\r\n styleUrls: ['./keyboard-shortcuts.component.scss']\r\n})\r\nexport class KeyboardShortcutsComponent {\r\n resourceKeys = ResourceKeys;\r\n @Output() keyboardShortcutsChangesMade: EventEmitter = new EventEmitter();\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private commonService: CommonService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n onDone(){\r\n this.modalRef.hide();\r\n }\r\n\r\n getLanguageTranslationValue(resourcekeyId: any) {\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t}\r\n}\r\n","
\r\n
\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.Keyboardshortcuts)}}\r\n
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n

\r\n {{getLanguageTranslationValue(resourceKeys.UseKeyboardshortcuts)}}\r\n \r\n

\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Copy)}}\r\n
\r\n
\r\n Ctrl+C \r\n
\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Paste)}}\r\n
\r\n
\r\n Ctrl+V \r\n
\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Cut)}}\r\n
\r\n
\r\n Ctrl+X \r\n
\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Delete)}}\r\n
\r\n
\r\n Delete \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Duplicate)}}\r\n
\r\n
\r\n Ctrl+D \r\n
\r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Undo)}}\r\n
\r\n
\r\n Ctrl+Z \r\n
\r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Redo)}}\r\n
\r\n
\r\n Ctrl+Y \r\n
\r\n
\r\n \r\n \r\n Select all\r\n
\r\n
\r\n Ctrl+A \r\n
\r\n
\r\n
\r\n
\r\n \r\n
","export class ContextualMenu {\r\n\r\n label: string;\r\n action: () => void;\r\n submenu: ContextualMenu[];\r\n disabled: boolean;\r\n visible: boolean; // only used to hide or show sub menu\r\n active: boolean;\r\n icon: string;\r\n\r\n constructor(\r\n label: string,\r\n action: () => void | null,\r\n // submenu: ContextualMenu[] = null,\r\n disabled = false,\r\n visible = false,\r\n active = false,\r\n icon = ''\r\n ) {\r\n this.label = label;\r\n this.action = action;\r\n // this.submenu = submenu;\r\n this.disabled = disabled;\r\n this.visible = visible;\r\n this.active = active;\r\n this.icon = '';\r\n }\r\n}","
0\" class=\"modal-content\">\r\n
\r\n
Select Brand
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { CarouselConfig } from 'ngx-bootstrap/carousel';\r\n@Component({\r\n selector: 'app-multi-branding',\r\n templateUrl: './multi-branding.component.html',\r\n providers: [\r\n { provide: CarouselConfig, useValue: { interval: false, noPause: false, showIndicators: false } }\r\n ],\r\n styleUrls: ['./multi-branding.component.scss']\r\n})\r\nexport class MultiBrandingComponent {\r\n noWrapSlides:boolean = false;\r\n showIndicator:boolean = true;\r\n shouldBeChecked:boolean = false;\r\n slides: any[] = [];\r\n @Output() multiBrandingChangesMade: EventEmitter = new EventEmitter();\r\n\r\n // slides = [\r\n // { image: '../../../assets/images/slide1.png', text: 'FedEx', id: 1 },\r\n // { image: '../../../assets/images/slide2.png', text: 'Nike Red', id: 2 },\r\n // { image: '../../../assets/images/slide3.png', text: 'Jungheinrich', id: 3 },\r\n // { image: '../../../assets/images/slide4.png', text: 'Nike Black', id: 4 },\r\n // { image: 'https://valor-software.com/ngx-bootstrap/assets/images/nature/1.jpg', text: 'First', id: 5 },\r\n // { image: 'https://valor-software.com/ngx-bootstrap/assets/images/nature/2.jpg', text: 'Second', id: 6 },\r\n // { image: 'https://valor-software.com/ngx-bootstrap/assets/images/nature/3.jpg', text: 'Third', id: 7 },\r\n // { image: 'https://valor-software.com/ngx-bootstrap/assets/images/nature/4.jpg', text: 'Fourth', id: 8 }\r\n // ];\r\n itemsPerSlide: any;\r\n isEnvlpEdited: any;\r\n\r\n constructor(\r\n public modalRef: BsModalRef\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.itemsPerSlide = this.mobileDevice() ? 2 : 3;\r\n }\r\n\r\n onOk() {\r\n this.modalRef.hide();\r\n this.slides.forEach((ele: any, index: any) => {\r\n let sliderChecked: any = document.getElementById('slider' + (index + 1));\r\n if (sliderChecked && sliderChecked.checked === true) {\r\n ele.isDefault = sliderChecked.checked;\r\n } else {\r\n ele.isDefault = false;\r\n }\r\n });\r\n this.multiBrandingChangesMade.emit(this);\r\n }\r\n\r\n private mobileDevice(): boolean {\r\n return navigator.userAgent.match(/Android/i)\r\n || navigator.userAgent.match(/webOS/i)\r\n || navigator.userAgent.match(/iPhone/i)\r\n || navigator.userAgent.match(/iPad/i)\r\n || navigator.userAgent.match(/iPod/i)\r\n || navigator.userAgent.match(/BlackBerry/i)\r\n || navigator.userAgent.match(/Windows Phone/i)\r\n ? true : false;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'numberArray'\r\n})\r\nexport class NumberArrayPipe implements PipeTransform {\r\n transform(value:any) : any {\r\n let res = [];\r\n for (let i = 1; i <= value; i++) {\r\n res.push(i);\r\n }\r\n return res;\r\n }\r\n}\r\n","
\r\n\t
    \r\n\t\t
  • \r\n\r\n\t\t
  • \r\n\t\t
  • \r\n\t
\r\n\r\n\t
\r\n\t\t\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t  of   {{documentDataLength}} arrow_drop_down\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t
  • \r\n\t\t\t\t\t{{pagenum}}\r\n\t\t\t\t
  • \r\n\t\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t
\r\n\r\n\t
\r\n
\r\n\r\n
","import { Component, OnInit, Input, HostListener, ChangeDetectorRef } from '@angular/core';\r\nconst FILTER_PAG_REGEX = /[^0-9]/g;\r\nimport * as $ from 'jquery';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { NumberArrayPipe } from '../../pipe/number-array.pipe';\r\nimport { SessionStorageService} from '../../services/session-storage.service';\r\n\r\n@Component({\r\n\tselector: 'app-pagination',\r\n\ttemplateUrl: './pagination.component.html',\r\n\tstyleUrls: ['./pagination.component.scss']\r\n})\r\nexport class PaginationComponent implements OnInit {\r\n\tpage: any = 1;\r\n\tcollectionSize: any = 10;\r\n\t@Input() documentData: any = {};\r\n\tdocumentDataLength: any = 1;\r\n\tpageVal: any = 1;\r\n\tpageCurrentVal: any = 1;\r\n\tisLastPage: boolean = false;\r\n\tpreviewObject: any = {};\r\n\tpagenationDropdown: any = [\"1\", \"2\", \"3\", \"4\"];\r\n\tprivate inputElement: HTMLInputElement;\r\n\r\n\tconstructor(\r\n\t\tprivate cdRef: ChangeDetectorRef,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) {\r\n\t\tthis.commonService.previewObject$.subscribe((previewObject) => {\r\n\t\t\tthis.previewObject = previewObject;\r\n\t\t\tthis.pageVal = this.previewObject.pageNumber;\r\n\t\t\tthis.collectionSize = this.previewObject.totalImagesCount * 10;\r\n\t\t\tthis.documentDataLength = this.previewObject.totalImagesCount;\r\n\t\t});\r\n\r\n\t\t//In input tag, To restrict the characters when user copy the some text and paste to input tag\r\n\t\t// document.addEventListener(\"DOMContentLoaded\", function() {\r\n\t\t// \tlet numericInput:any = document.getElementById('paginationInput');\r\n\r\n\t\t// \t// Listen for the paste event\r\n\t\t// \tnumericInput.addEventListener('paste', function(event:any) {\r\n\t\t// \t\t// Prevent the default paste action\r\n\t\t// \t\t// event.preventDefault();\r\n\r\n\t\t// \t\t// Get the pasted text\r\n\t\t// \t\tvar clipboardData = event.clipboardData;\r\n\t\t// \t\tvar pastedText = clipboardData.getData('text');\r\n\r\n\t\t// \t\t// Check if the pasted text contains only numeric characters\r\n\t\t// \t\tif (/^\\d+$/.test(pastedText)) {\r\n\t\t// \t\t\t// If it contains only numeric characters, allow pasting\r\n\t\t// \t\t\tnumericInput.value += pastedText;\r\n\t\t// \t\t} else {\r\n\t\t// \t\t\t// If it contains non-numeric characters, do not allow pasting\r\n\t\t// \t\t\t//console.log(\"Only numeric text is allowed!\");\r\n\t\t// \t\t}\r\n\t\t// \t});\r\n\t\t// });\r\n\t}\r\n\r\n\t// @HostListener('document:wheel', ['$event'])\r\n\t// onDocumentWheelEvent(event: WheelEvent) {\r\n\t// \tif (event && event.target && (event.target as HTMLElement).classList.contains('dispImg')) {\r\n\t// \t\tthis.pageVal = parseInt((event.target as HTMLElement).id);\r\n\t// \t\tlocalStorage.setItem('currentPagination', this.pageVal);\r\n\t// \t\tthis.updatePageNumber(this.pageVal);\r\n\t// \t\tthis.cdRef.detectChanges();\r\n\t// \t}\r\n\t// }\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.documentData && this.documentData.pages && this.documentData.pages.length) {\r\n\t\t\tthis.collectionSize = this.documentData.totalImagesCount * 10; //this.documentData.pages.length * 10;\r\n\t\t\tthis.documentDataLength = this.documentData.totalImagesCount; //this.documentData.pages.length;\r\n\t\t} else {\r\n\t\t\tthis.collectionSize = 10;\r\n\t\t\tthis.documentDataLength = 1;\r\n\t\t}\r\n\t\tthis.page = 1;\r\n\t\t// localStorage.setItem('currentPagination', this.page);\r\n\t\tthis.sessionStorageService.setCurrentPagination(this.page);\r\n\t\tthis.pageVal = this.page;\r\n\r\n\t\t// Ensure the DOM is fully loaded before accessing elements\r\n\t\tthis.inputElement = document.getElementById('paginationInput') as HTMLInputElement;\r\n\r\n\t\tif (this.inputElement) {\r\n\t\t\tthis.inputElement.addEventListener('paste', this.handlePasteEvent);\r\n\t\t}\r\n\t}\r\n\r\n\tformatInput(input: HTMLInputElement) {\r\n\t\tinput.value = input.value.replace(FILTER_PAG_REGEX, '');\r\n\t}\r\n\r\n\t// forRestrictNumbers(evt: any) {\r\n\t// \tvar charCode = (evt.which) ? evt.which : evt.keyCode\r\n\t// \tif (charCode > 31 && (charCode < 48 || charCode > 57))\r\n\t// \t\treturn false;\r\n\t// \treturn true;\r\n\t// }\r\n\r\n\tonPageSelection(event: any, type: any) {\r\n\t\t// let pageCount: any = localStorage.getItem('currentPagination');\r\n\t\tlet pageCount: any = this.sessionStorageService.getCurrentPagination();\r\n\t\tthis.page = parseInt(pageCount);\r\n\t\tif (type === 'paginationInput') {\r\n\t\t\tlet idValue: any = parseInt(event.target.value);\r\n\t\t\tif (idValue !== 0 && idValue <= this.documentData.pages.length) {\r\n\t\t\t\t// localStorage.setItem('currentPagination', idValue);\r\n\t\t\t\tthis.sessionStorageService.setCurrentPagination(idValue);\r\n\t\t\t\tthis.pageVal = idValue;\r\n\t\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t\t} else {\r\n\t\t\t\t// let currentPagination: any = localStorage.getItem('currentPagination');\r\n\t\t\t\tlet currentPagination: any = this.sessionStorageService.getCurrentPagination();\r\n\t\t\t\tlet currentPageValue: any = parseInt(currentPagination);\r\n\t\t\t\tif (idValue === 0 || idValue > this.documentData.pages.length) {\r\n\t\t\t\t\tthis.pageVal = currentPageValue;\r\n\t\t\t\t\tevent.target.value = currentPageValue;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// localStorage.setItem('currentPagination', this.pageVal);\r\n\t\t\t\tthis.sessionStorageService.setCurrentPagination(this.pageVal);\r\n\t\t\t\tthis.pageVal = this.pageVal;\r\n\t\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (type === 'first') {\r\n\t\t\tthis.page = 1;\r\n\t\t\t// localStorage.setItem('currentPagination', this.page);\r\n\t\t\tthis.sessionStorageService.setCurrentPagination(this.page);\r\n\t\t\tthis.pageVal = this.page;\r\n\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t}\r\n\t\tif (type === 'prev') {\r\n\t\t\tif (this.page > 1) {\r\n\t\t\t\tthis.page = this.page - 1;\r\n\t\t\t\t// localStorage.setItem('currentPagination', this.page);\r\n\t\t\t\tthis.sessionStorageService.setCurrentPagination( this.page);\r\n\t\t\t\tthis.pageVal = this.page;\r\n\t\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (type === 'next') {\r\n\t\t\tif (this.page < this.documentData.pages.length) {\r\n\t\t\t\tthis.page = this.page + 1;\r\n\t\t\t\t// localStorage.setItem('currentPagination', this.page);\r\n\t\t\t\tthis.sessionStorageService.setCurrentPagination(this.page);\r\n\t\t\t\tthis.pageVal = this.page;\r\n\t\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (type === 'last') {\r\n\t\t\tthis.page = this.documentData.pages.length;\r\n\t\t\t// localStorage.setItem('currentPagination', this.page);\r\n\t\t\tthis.sessionStorageService.setCurrentPagination(this.page);\r\n\t\t\tthis.pageVal = this.page;\r\n\t\t\tthis.onPaginateChange(this.pageVal);\r\n\t\t}\r\n\t}\r\n\r\n\tonPaginateChange(id: any) {\r\n\t\tif (id !== undefined && (id <= this.documentData.pages.length)) {\r\n\t\t\tlet firstPageElement = $('img.imgControl[page-no=\"1\"]');\r\n\t\t\tlet firstPageNoAttr = firstPageElement.offset()?.top;\r\n\r\n\t\t\tlet pageNoElement = $('img.imgControl[page-no=\"' + id + '\"]');\r\n\t\t\tlet pageNoAttr = pageNoElement.offset()?.top;\r\n\r\n\t\t\tif (firstPageNoAttr !== undefined && pageNoAttr !== undefined) {\r\n\t\t\t\tlet scrollTo = Math.abs(pageNoAttr - firstPageNoAttr) - 20;\r\n\t\t\t\t$('.docImages').animate({ scrollTop: scrollTo }, 'slow');\r\n\t\t\t\t//this.getPreviewSelected(id);\r\n\t\t\t\tthis.updatePageNumber(id);\r\n\t\t\t\tthis.cdRef.detectChanges();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdatePageNumber(id: any) {\r\n\t\tthis.commonService.updatePrevObject({\r\n\t\t\t'totalControls': this.previewObject.totalControls,\r\n\t\t\t'pageNumber': parseInt(id),\r\n\t\t\t'tempTotalCountPerPage': this.previewObject.tempTotalCountPerPage\r\n\t\t\t//'documentList': this.previewObject.documentList\r\n\t\t});\r\n\t}\r\n\r\n\tgetPreviewSelected(p: any) {\r\n\t\tArray.from(document.getElementsByClassName(\"thumbnails-page-btn\") as HTMLCollectionOf)\r\n\t\t\t.forEach((pcard: any, index: any) => {\r\n\t\t\t\tlet ele: any = document.getElementById(pcard.id);\r\n\t\t\t\tif (ele.classList.contains('active-preview')) {\r\n\t\t\t\t\tele.classList.remove('active-preview')\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\tlet prevPageEle: any = document.getElementById('pageCountColor' + p);\r\n\t\tif (prevPageEle && prevPageEle.classList) {\r\n\t\t\tprevPageEle.classList.add('active-preview');\r\n\t\t}\r\n\t}\r\n\r\n\tonPaste(event: ClipboardEvent) {\r\n\t\t// Handle the paste event here\r\n\t\t//const pastedText = event.clipboardData?.getData('text');\r\n\t\t//console.log('Pasted text:', pastedText);\r\n\t\tlet inputVal: any = document.getElementById('paginationInput');\r\n\t\tif (inputVal) {\r\n\t\t\tinputVal.value = inputVal.value.replace(FILTER_PAG_REGEX, '');\r\n\t\t}\r\n\t}\r\n\r\n\t//calling this method from parent component, when user scroll the div vertical scroll\r\n\tupdatedPageNoOnScroll(event: any, pageno: any) {\r\n\t\tthis.pageVal = pageno;\r\n\t\t// localStorage.setItem('currentPagination', this.pageVal);\r\n\t\tthis.sessionStorageService.setCurrentPagination( this.pageVal);\r\n\t\tthis.updatePageNumber(this.pageVal);\r\n\t\tthis.cdRef.detectChanges();\r\n\t}\r\n\r\n\tprivate handlePasteEvent = (event: ClipboardEvent): void => {\r\n\t\t// Prevent the default paste action\r\n\t\tevent.preventDefault();\r\n\r\n\t\t// Get the pasted text\r\n\t\tconst clipboardData = event.clipboardData || (window as any).clipboardData;\r\n\t\tconst pastedText = clipboardData.getData('text');\r\n\r\n\t\t// Check if the pasted text contains only numeric characters\r\n\t\tif (/^\\d+$/.test(pastedText)) {\r\n\t\t\t// If it contains only numeric characters, update the input value\r\n\t\t\tthis.inputElement.value += pastedText;\r\n\t\t} else {\r\n\t\t\t// Optionally handle non-numeric text\r\n\t\t\tconsole.log(\"Only numeric text is allowed!\");\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\t// Remove the event listener to avoid memory leaks\r\n\t\tif (this.inputElement) {\r\n\t\t\tthis.inputElement.removeEventListener('paste', this.handlePasteEvent);\r\n\t\t}\r\n\t}\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.ModifySelectedGroupSettingsTitle)}}
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { Control } from 'src/app/constants/common-constants';\r\n\r\n@Component({\r\n selector: 'app-multiple-signer-update',\r\n templateUrl: './multiple-signer-update.component.html',\r\n styleUrls: ['./multiple-signer-update.component.scss']\r\n})\r\nexport class MultipleSignerUpdateComponent {\r\n @Input() selectedItemsObj: any;\r\n @Output() multipleSignerUpdateChangesMade: EventEmitter = new EventEmitter();\r\n resourceKeys = ResourceKeys;\r\n receipentListArr: any = [];\r\n receipentColorArr: any = [];\r\n selectedControlsForGroupEdit: any = [];\r\n selectedRequiredValue: any = \"-1\";\r\n selectedSignerValue: any = \"-1\";\r\n activeControlId: any = '';\r\n\r\n constructor(\r\n public modalRef: BsModalRef, private commonService: CommonService, private authService: AuthService,\r\n private toastrService: ToastrService, private controlPropertyService: ControlPropertyService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let receipentLists: any = this.authService.getRecipientDetails();\r\n if (receipentLists) {\r\n this.receipentListArr = JSON.parse(receipentLists);\r\n }\r\n let receipentColorArray: any = this.authService.getRecipientColorDetails();\r\n if (receipentColorArray) {\r\n this.receipentColorArr = JSON.parse(receipentColorArray);\r\n }\r\n this.selectedControlsForGroupEdit = this.selectedItemsObj?.selectedItems;\r\n this.activeControlId = this.selectedItemsObj?.currentControlId;\r\n }\r\n\r\n getLanguageTranslationValue(resourcekeyId: any) {\r\n return this.commonService.getLabelTranslationVal(resourcekeyId);\r\n }\r\n\r\n applyRequiredCondition(event: any) {\r\n this.selectedRequiredValue = event.currentTarget.value;\r\n }\r\n\r\n applySignerCondition(event: any) {\r\n this.selectedSignerValue = event.currentTarget.value;\r\n }\r\n\r\n saveGroupEditModifications(type: any) {\r\n let popUpStatus = { status: type };\r\n if (type != \"0\") {\r\n if ((this.selectedSignerValue == \"-1\" || this.selectedSignerValue == \"\") && this.selectedRequiredValue == \"-1\") {\r\n this.showWarning('Please select either signer or required option.', 'Warning');\r\n }\r\n else {\r\n Array.from(this.selectedControlsForGroupEdit).forEach((ele: any, index: any) => {\r\n let ctrlId: any = ele.replace(\"resizable_\", '');\r\n\r\n if (this.selectedSignerValue != \"-1\" && this.selectedSignerValue != \"\") {\r\n let recIndex: any = this.receipentListArr.findIndex((rec: any) => rec.id == this.selectedSignerValue);\r\n let recipent: any = { name: this.receipentListArr[recIndex].name, id: this.selectedSignerValue };\r\n this.controlPropertyService.applyRecipientDetailsOnMouseOverChange(recipent, this.receipentColorArr[recIndex], ctrlId);\r\n\r\n if (this.activeControlId == ctrlId) {\r\n let recipentObj: any = { recipent: recipent, selectedColor: this.receipentColorArr[recIndex] };\r\n this.commonService.callOnMouseOverRecipentChange(recipentObj);\r\n }\r\n }\r\n\r\n if (this.selectedRequiredValue != \"-1\") {\r\n var isRequiredText = 'true'; //1 for yes\r\n if (this.selectedRequiredValue == \"0\") { //0 for no\r\n isRequiredText = 'false';\r\n }\r\n let spnCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + ctrlId));\r\n spnCurrentSelectedControl?.setAttribute('data-selected', isRequiredText);\r\n let requiredCurrentSelectedControl: any = document.getElementById('req' + ctrlId);\r\n if (requiredCurrentSelectedControl && isRequiredText == \"true\") {\r\n requiredCurrentSelectedControl.style.display = \"block\";\r\n }\r\n else if (requiredCurrentSelectedControl) {\r\n requiredCurrentSelectedControl.style.display = \"none\";\r\n }\r\n }\r\n\r\n let resizableControl: any = (document.getElementById(\"resizable_\" + ctrlId));\r\n let attrGuid: any = resizableControl.getAttribute('data-guid');\r\n if (this.selectedSignerValue != \"-1\" && this.selectedSignerValue != \"\") {\r\n this.updateControlDependencyProperties(ctrlId);\r\n }\r\n else {\r\n //check for checkbox required or not. if required remove all dependency\r\n let data_selected: any = resizableControl.getAttribute('data-selected');\r\n if (attrGuid.toLowerCase() === Control.Checkbox.toLowerCase() && data_selected == \"true\") {\r\n this.updateControlDependencyProperties(ctrlId);\r\n }\r\n }\r\n\r\n if (attrGuid.toLowerCase() === Control.DateTimeStamp.toLowerCase() || attrGuid.toLowerCase() === Control.Label.toLowerCase() || attrGuid.toLowerCase() === Control.Hyperlink.toLowerCase()) {\r\n resizableControl.style.background = '#ffff00';\r\n }\r\n\r\n });\r\n this.modalRef.hide();\r\n this.multipleSignerUpdateChangesMade.next(popUpStatus);\r\n }\r\n }\r\n else {\r\n this.modalRef.hide();\r\n this.multipleSignerUpdateChangesMade.next(popUpStatus);\r\n }\r\n }\r\n\r\n updateControlDependencyProperties(ctrlId: any) {\r\n //current selected controls\r\n let spnCurrentSelectedControl: any = (document.getElementById(ctrlId));\r\n let ctrlDocContentId: any = spnCurrentSelectedControl.getAttribute('data-document-content-id');\r\n this.controlPropertyService.removeAttributes(ctrlDocContentId);\r\n this.controlPropertyService.removeColorForItem(ctrlId);\r\n\r\n //dependent controls\r\n let isHavingDependentFieldsArray: any = document.querySelectorAll('[data-parent-id=\"' + ctrlDocContentId + '\"]');\r\n if (isHavingDependentFieldsArray && isHavingDependentFieldsArray.length > 0) {\r\n Array.from(isHavingDependentFieldsArray).forEach((childDependentItem: any, ind: any) => {\r\n this.controlPropertyService.removeColorForItem(childDependentItem.getAttribute('id'));\r\n this.controlPropertyService.removeAttributes(childDependentItem.getAttribute('data-document-content-id'));\r\n });\r\n }\r\n document.querySelector('[data-document-content-id=\"' + ctrlDocContentId + '\"]')?.setAttribute('is-child-present', '');\r\n }\r\n\r\n showWarning(value: string, type: string) {\r\n this.toastrService.warning(value, type);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n Auto-Place Fields
\r\n
\r\n close\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n

    Specify the page range to auto place initial controls on uploaded documents.

    \r\n
  • \r\n
  • \r\n \r\n \r\n
  • \r\n
  • \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
  • \r\n
\r\n
\r\n \r\n
\r\n
","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n@Component({\r\n selector: 'app-initials-creation',\r\n templateUrl: './initials-creation.component.html',\r\n styleUrls: ['./initials-creation.component.scss']\r\n})\r\nexport class InitialsCreationComponent {\r\n\r\n @Input() initialStateObj: any = {};\r\n @Output() initialsChangesMade: EventEmitter = new EventEmitter();\r\n selectedOption: any = 'Place On All Pages';\r\n firstInputval: any = 0;\r\n secondInputval: any = 0;\r\n showLoader:boolean = false;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService\r\n ) { }\r\n\r\n onSelectedOption(option: any) {\r\n this.selectedOption = option;\r\n if (this.selectedOption === 'Place On All Pages') {\r\n let fromPageNumber: any = document.getElementById('fromPageNumber');\r\n if(fromPageNumber){\r\n fromPageNumber.value = '';\r\n }\r\n let toPageNumber: any = document.getElementById('toPageNumber');\r\n if(toPageNumber){\r\n toPageNumber.value = '';\r\n }\r\n }\r\n }\r\n\r\n createTypeOfInitialsApply() {\r\n let fromPageNumber: any = document.getElementById('fromPageNumber');\r\n let toPageNumber: any = document.getElementById('toPageNumber');\r\n this.firstInputval = 0;\r\n this.secondInputval = 0;\r\n if (this.selectedOption !== 'Place On All Pages') {\r\n if (fromPageNumber && toPageNumber && fromPageNumber.value != '' && toPageNumber.value != '') {\r\n this.firstInputval = parseInt(fromPageNumber.value);\r\n this.secondInputval = parseInt(toPageNumber.value);\r\n }\r\n\r\n if (this.firstInputval === 0 || this.secondInputval === 0) {\r\n this.showToastrWarningMsg(\"The From and To page values shouldn't be blank.\");\r\n }\r\n else if (this.firstInputval !== this.initialStateObj.totalImages && this.secondInputval !== this.initialStateObj.totalImages && this.firstInputval >= this.initialStateObj.totalImages && this.initialStateObj.totalImages <= this.secondInputval) {\r\n this.showToastrWarningMsg('The From and To page range should be 1 to '+ this.initialStateObj.totalImages +' only.');\r\n }\r\n else if (this.secondInputval < this.firstInputval) {\r\n this.showToastrWarningMsg('Start page must be less than end page.');\r\n }\r\n else if (this.secondInputval > this.initialStateObj.totalImages) {\r\n this.showToastrWarningMsg('The From and To page range should be 1 to '+ this.initialStateObj.totalImages +' only.');\r\n }\r\n else if (this.firstInputval > this.initialStateObj.totalImages) {\r\n this.showToastrWarningMsg('The From and To page range should be 1 to '+ this.initialStateObj.totalImages +' only.');\r\n }\r\n else {\r\n this.showLoader = true;\r\n this.initialsChangesMade.next(this);\r\n this.modalRef.hide();\r\n }\r\n } else {\r\n this.showLoader = true;\r\n this.secondInputval = this.initialStateObj.totalImages;\r\n this.initialsChangesMade.next(this);\r\n this.modalRef.hide();\r\n }\r\n }\r\n\r\n checkRange(event: Event) {\r\n const input = event.target as HTMLInputElement;\r\n let value = input.value;\r\n\r\n // Limit to 3 digits\r\n if (value.length) {\r\n value = value.replace(/\\D/g, '');\r\n value = value.substring(0, 3); // Take only the first 3 characters\r\n input.value = value; // Update the input value\r\n }\r\n\r\n // Convert to number for range checking\r\n const numericValue = Number(value);\r\n\r\n // Enforce min and max range\r\n if (numericValue < 1) {\r\n input.value = '';\r\n } else if (numericValue > 999) {\r\n input.value = '999';\r\n }\r\n }\r\n\r\n showToastrWarningMsg(msg:string){\r\n this.toastrService.warning(msg, 'Warning');\r\n }\r\n\r\n}\r\n","import { ChangeDetectorRef, Component, Input, Output } from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { CommonConstants, Control } from '../../constants/common-constants';\nimport { CommonService } from 'src/app/services/common.service';\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\ndeclare var $: any;\n\n@Component({\n selector: 'app-group-controls-border',\n templateUrl: './group-controls-border.component.html',\n styleUrls: ['./group-controls-border.component.scss']\n})\nexport class GroupControlsBorderComponent {\n @Input() ctrlObj: any = {};\n\tselectedRecipentName: string = '';\n\tselectedRecipentColor: string = '';\n\tselectedRecipentId: string = '';\n\tselectedPanelRecipentId: string = '';\n\tselectedPanelRecipentName: string = '';\n\tselectedPanelRecipentColor: string = '';\n\n\tarrCopyPasteCtrl: any = [];\n\tarrUndoRedoCtrl: any = [];\n\tcommonConstants = CommonConstants;\n\t@Output() receipentListArr: any = this.commonConstants.ReceipentListArr;\n\t@Output() receipentColorArr: any = this.commonConstants.ReceipentColorArr;\n\t@Output() recipientsObj: any = {};\n\tprivate ngUnsubscribe = new Subject();\n\tonCtrlMouseOver: string = '';\n\trenderer2: any;\n\n\tconstructor(\n\t\tprivate commonService: CommonService,\n\t\tprivate controlPropertyService: ControlPropertyService\n\t) { }\n\n\tngOnInit(): void {\n\t\tthis.ctrlObj = this.ctrlObj;\n\t\tthis.selectedRecipentName = this.receipentListArr[0].name;\n\t\tthis.selectedRecipentColor = this.receipentColorArr[0];\n\t\tthis.selectedPanelRecipentName = this.receipentListArr[0].name;\n\t\tthis.selectedPanelRecipentColor = this.receipentColorArr[0];\n\t\tthis.selectedRecipentId = this.receipentListArr[0].id;\n\t\tthis.selectedPanelRecipentId = this.receipentListArr[0].id;\n\t\tthis.recipientsObj = {\n\t\t\tselectedRecipentName: this.selectedRecipentName,\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\n\t\t}\n\n var ul: any = document.getElementById('recipientGroupControlList');\n for (let i = 0; i < this.receipentListArr.length; i++) {\n let rec = this.receipentListArr[i];\n let li: any = document.createElement('li');\n let colorPallete: any = this.receipentColorArr[i];\n let liText: any = ' square ' + rec.name + '';\n li.innerHTML = liText;\n li.setAttribute('id', 'listItem_' + rec.id);\n li.setAttribute('listItemColor', colorPallete);\n li.setAttribute('listItemName', rec.name);\n\n li.addEventListener('click', (e: any) => {\n if (e && e.currentTarget && e.currentTarget != '' && e.currentTarget.id) {\n let selectedRecid: any = e.currentTarget.id.replace('spn_', '').replace('recipient_', '').replace('rectextWrap_', '').replace('listItem_', '');\n console.log(selectedRecid);\n let selectedListItem:any = document.getElementById('listItem_' + selectedRecid);\n if(selectedListItem){\n let selectedColor:any = selectedListItem.getAttribute('listItemColor');\n let recpName:any = selectedListItem.getAttribute('listItemName');\n let recipent: any = { name: recpName, id: selectedRecid };\n this.onRecipentSelect(recipent, selectedColor);\n }\n }\n });\n\n ul.appendChild(li);\n }\n\n\t\t// this.commonService.callOnRecipentChange$\n\t\t// \t.pipe(takeUntil(this.ngUnsubscribe))\n\t\t// \t.subscribe((data: any) => {\n\t\t// \t\tthis.onRecipentChange(data);\n\t\t// \t});\n\t}\n\n\tdeleteControl(event: any) {\n this.commonService.selectedRightClickOption(event, 'Delete');\n\n\t\tsetTimeout(() => {\n\t\t\tlet selectionBorderEle:any = document.getElementById('selectionBorderId');\n\t\t\tif(selectionBorderEle && selectionBorderEle.children && selectionBorderEle.children.length){\n\t\t\t\tselectionBorderEle.children[0].remove();\n\t\t\t\tselectionBorderEle.style.border = '';\n\t\t\t\tselectionBorderEle.style.outline = '';\n\t\t\t}\n\t\t}, 100);\n\t}\n\n\tcreateDuplicateControl(event: any) {\n\t\tthis.commonService.selectedRightClickOption(event, 'Duplicate');\n\t\tsetTimeout(() => {\n\t\t\tthis.commonService.removeBorderAppendChild();\n\t\t}, 100);\n\t}\n\n\tonRecipentSelect(recipient: any, selectedColor: any) {\n\t\tthis.selectedRecipentName = recipient.name;\n\t\tthis.selectedRecipentColor = selectedColor;\n\t\tlet recipent: any = { name: recipient.name, id: recipient.id };\n\t\tlet recipentObj: any = { recipent: recipent, selectedColor: selectedColor };\n\t\tlet list:any = localStorage.getItem('selectedList');\n\t\tlet selectedItemsList:any = JSON.parse(list);\n\t\tif(selectedItemsList && selectedItemsList.length > 0){\n\t\t\tselectedItemsList.forEach((ele:any)=>{\n\t\t\t\tthis.controlPropertyService.applyRecipientDetailsOnMouseOverChange(recipient, selectedColor, ele.replace('resizable_',''));\n\t\t\t})\n\t\t}\n\t}\n\n\tonRecipentChange(recipentObj: any) {\n\t\tthis.selectedRecipentName = recipentObj.recipent.name;\n\t\tthis.selectedRecipentId = recipentObj.recipent.id;\n\t\tthis.selectedRecipentColor = recipentObj.selectedColor;\n\t\tthis.recipientsObj = {\n\t\t\tselectedRecipentName: this.selectedRecipentName,\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\n\t\t}\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.ngUnsubscribe.complete();\n\t}\n\n}\n","
\n
\n
\n \n
    \n
\n \n
\n |\n library_add \n\n |\n delete\n
\n
\n
","import { Injectable } from '@angular/core';\r\nimport { ControlPropertyService } from '../services/control.properties.service';\r\nimport { Control } from '../constants/common-constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AlignControlsService {\r\n request: any = { // Initialize request object with appropriate structure\r\n Type: '',\r\n Controls: []\r\n };\r\n\r\n maxLeft:any = 0;\r\n minLeftWithControl: any = 0;\r\n distWidth: any = 0;\r\n selectedCntrlAndWidth: any[] = [];\r\n pageWidth:any = 0;\r\n\r\n constructor(\r\n private controlPropertyService: ControlPropertyService\r\n ) { }\r\n\r\n\r\n fnRightAlign(selectedItems: any) {\r\n const arrLeft: number[] = [];\r\n let RightPoint: any = 0;\r\n const selectedControlElements = selectedItems;\r\n\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n // Parse the value to get the numeric value\r\n const left = parseFloat(posObj.Left) + eleRef.offsetWidth;\r\n arrLeft.push(left);\r\n });\r\n\r\n RightPoint = Math.max(...arrLeft);\r\n\r\n let request: any = {\r\n // EnvelopeID: document.getElementById('PrepareGlobalEnvelopeID').getAttribute('value'),\r\n // EnvelopeStage: document.getElementById('EnvelopeStage').getAttribute('value'),\r\n Type: 'RightAlign',\r\n Controls: []\r\n };\r\n\r\n selectedControlElements.forEach((elementRef: any) => {\r\n let element: any = document.getElementById(elementRef);\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n let rightValue: any = (RightPoint - element.offsetWidth)\r\n const newTransformValue = `translate3d(${rightValue}px, ${posObj.Top}px, 0px)`;\r\n element.style.left = rightValue+'px';\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n // element.style.left = (RightPoint - element.offsetWidth) + 'px';\r\n element.style.right = 'inherit';\r\n const control = this.getControlProperty(elementRef);\r\n request.Controls.push({\r\n ID: control.DocumentContentID,\r\n XCoordinate: control.XCoordinate,\r\n YCoordinate: control.YCoordinate,\r\n ZCoordinate: control.ZCoordinate,\r\n Left: control.Left,\r\n Top: control.Top,\r\n Width: control.Width,\r\n Height: control.Height\r\n });\r\n });\r\n }\r\n\r\n fnLeftAlign(selectedItems: any) {\r\n const arrLeft: number[] = [];\r\n let minLeft = Infinity;\r\n const selectedControlElements = selectedItems;\r\n\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n // Parse the value to get the numeric value\r\n const left = parseFloat(posObj.Left);\r\n arrLeft.push(left);\r\n });\r\n\r\n minLeft = Math.min(...arrLeft);\r\n\r\n let request: any = {\r\n // EnvelopeID: this.elementRef.nativeElement.querySelector('#PrepareGlobalEnvelopeID').value,\r\n // EnvelopeStage: this.elementRef.nativeElement.querySelector('#EnvelopeStage').value,\r\n Type: 'LeftAlign',\r\n Controls: []\r\n };\r\n\r\n selectedControlElements.forEach((elementRef: any) => {\r\n let element: any = document.getElementById(elementRef);\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n //const newTransformValue = `translate3d(${minLeft}px, ${posObj.Top}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.left = minLeft+'px';\r\n element.style.right = 'inherit';\r\n const control = this.getControlProperty(elementRef);\r\n request.Controls.push({\r\n ID: control.DocumentContentID,\r\n XCoordinate: control.XCoordinate,\r\n YCoordinate: control.YCoordinate,\r\n ZCoordinate: control.ZCoordinate,\r\n Left: control.Left,\r\n Top: control.Top,\r\n Width: control.Width,\r\n Height: control.Height\r\n });\r\n });\r\n }\r\n\r\n fnCenterAlign(selectedItems: any) {\r\n const arrLeft: number[] = [];\r\n const arrWidth: number[] = [];\r\n let minLeft = Infinity;\r\n let centerPoint = 0;\r\n let maxWidth = 0;\r\n const selectedControlElements = selectedItems;\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n // Parse the value to get the numeric value\r\n const left = parseFloat(posObj.Left);\r\n arrLeft.push(left);\r\n arrWidth.push(left + eleRef.offsetWidth);\r\n });\r\n\r\n minLeft = Math.min(...arrLeft);\r\n maxWidth = Math.max(...arrWidth);\r\n centerPoint = minLeft + ((maxWidth - minLeft) / 2);\r\n\r\n let request: any = {\r\n // EnvelopeID: this.elementRef.nativeElement.querySelector('#PrepareGlobalEnvelopeID').value,\r\n // EnvelopeStage: this.elementRef.nativeElement.querySelector('#EnvelopeStage').value,\r\n Type: 'CenterAlign',\r\n Controls: []\r\n };\r\n\r\n selectedControlElements.forEach((elementRef: any) => {\r\n let element: any = document.getElementById(elementRef);\r\n //let posObj: any = this.controlPropertyService.getElePositions(element);\r\n let left: any = (centerPoint - (element.offsetWidth / 2));\r\n //const newTransformValue = `translate3d(${left}px, ${posObj.Top}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.left = left+'px';\r\n // element.style.top = element+'px';\r\n element.style.right = 'inherit';\r\n const control = this.getControlProperty(elementRef);\r\n request.Controls.push({\r\n ID: control.DocumentContentID,\r\n XCoordinate: control.XCoordinate,\r\n YCoordinate: control.YCoordinate,\r\n ZCoordinate: control.ZCoordinate,\r\n Left: control.Left,\r\n Top: control.Top,\r\n Width: control.Width,\r\n Height: control.Height\r\n });\r\n });\r\n }\r\n\r\n fnTopAlign(selectedItems: any) {\r\n const arrTop: number[] = [];\r\n let minTop = Infinity;\r\n const selectedControlElements = selectedItems;\r\n\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n // Parse the value to get the numeric value\r\n const top = parseFloat(posObj.Top);\r\n arrTop.push(top);\r\n });\r\n\r\n minTop = Math.min(...arrTop);\r\n\r\n selectedControlElements.forEach((elementRef: any) => {\r\n let element: any = document.getElementById(elementRef);\r\n // let posObj: any = this.controlPropertyService.getElePositions(element);\r\n //const newTransformValue = `translate3d(${posObj.Left}px, ${minTop}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.top = minTop+'px';\r\n element.style.right = 'inherit';\r\n });\r\n }\r\n\r\n fnBottomAlign(selectedItems: any) {\r\n const arrBottom: number[] = [];\r\n let BottomPoint = 0;\r\n const selectedControlElements = selectedItems;\r\n\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n // Parse the value to get the numeric value\r\n const top = (parseFloat(posObj.Top) + eleRef.offsetHeight);\r\n arrBottom.push(top);\r\n });\r\n\r\n BottomPoint = Math.max(...arrBottom);\r\n\r\n selectedControlElements.forEach((ele: any) => {\r\n let getdataControlname: any = document.getElementById(ele.replace('resizable_', ''));\r\n const controlName = getdataControlname.getAttribute('data-controlname');\r\n\r\n let element: any = document.getElementById(ele);\r\n //let posObj: any = this.controlPropertyService.getElePositions(element);\r\n //let newTransformValue: any = `translate3d(${posObj.Left}px, ${posObj.Top}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n\r\n // if (controlName === 'Signature') {\r\n // //ele.style.top = (BottomPoint - ele.querySelector('.labelWrap').offsetHeight) + 'px';\r\n // let topVal: any = (BottomPoint - element.offsetHeight);\r\n // newTransformValue = `translate3d(${posObj.Left}px, ${topVal}px, 0px)`;\r\n // } else {\r\n // }\r\n let topVal: any = (BottomPoint - element.offsetHeight);\r\n //newTransformValue = `translate3d(${posObj.Left}px, ${topVal}px, 0px)`;\r\n //element.style.transform = newTransformValue;\r\n element.style.top = topVal+'px';\r\n element.style.bottom = 'inherit';\r\n });\r\n }\r\n\r\n fnMiddleAlign(selectedItems: any) {\r\n const arrTop: number[] = [];\r\n const arrHeight: number[] = [];\r\n let minTop = Infinity;\r\n let centerPoint = 0;\r\n let maxHeight = 0;\r\n const selectedControlElements = selectedItems;\r\n selectedControlElements.forEach((ele: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n const top = parseFloat(posObj.Top);\r\n arrTop.push(top);\r\n arrHeight.push(top + eleRef.offsetHeight);\r\n });\r\n\r\n minTop = Math.min(...arrTop);\r\n maxHeight = Math.max(...arrHeight);\r\n centerPoint = minTop + ((maxHeight - minTop) / 2);\r\n\r\n selectedControlElements.forEach((elementRef: any) => {\r\n let element: any = document.getElementById(elementRef);\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n let top: any = (centerPoint - (element.offsetHeight / 2));\r\n // const newTransformValue = `translate3d(${posObj.Left}px, ${top}px, 0px)`;\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.left = posObj.Left +'px';\r\n element.style.top = top +'px';\r\n element.style.bottom = 'inherit';\r\n });\r\n }\r\n\r\n fnDistributeHorizontal(selectedItems: any) {\r\n let arrLeft: any[] = [];\r\n let arrWidth: any[] = [];\r\n let minLeft: any = 0;\r\n //let minLeftWithControl: any = 0;\r\n // let maxLeft: any = 0;\r\n let maxLeftWithControl: any = 0;\r\n this.distWidth = 0;\r\n this.selectedCntrlAndWidth = [];\r\n\r\n let selectedControl: any = selectedItems;\r\n\r\n if (selectedControl.length > 2) {\r\n let cntrlLeft: any = 0;\r\n let allCntrlWidth: any = 0;\r\n selectedControl.forEach((ele: any, i: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n cntrlLeft = parseFloat(posObj.Left);\r\n this.selectedCntrlAndWidth.push({ \"Control\": ele, \"Left\": cntrlLeft });\r\n arrLeft.push(cntrlLeft);\r\n\r\n allCntrlWidth += eleRef.offsetWidth;\r\n arrWidth.push(parseFloat(cntrlLeft) + eleRef.offsetWidth);\r\n });\r\n\r\n this.minLeftWithControl = Math.min.apply(null, arrWidth);\r\n maxLeftWithControl = Math.max.apply(null, arrWidth);\r\n minLeft = Math.min.apply(null, arrLeft);\r\n this.maxLeft = Math.max.apply(null, arrLeft);\r\n\r\n if (this.maxLeft > this.minLeftWithControl) {\r\n this.distWidth = ((maxLeftWithControl - minLeft) - allCntrlWidth) / (selectedControl.length - 1);\r\n }\r\n\r\n if (this.distWidth != 0) {\r\n this.selectedCntrlAndWidth = this.selectedCntrlAndWidth.sort(function (x, y) { return ((x.Left > y.Left) ? 1 : (x.Left < y.Left) ? -1 : 0) });\r\n\r\n let controlLeft: any = 0;\r\n let controlLeftPos: any = 0;\r\n let prevCntrlLeft: any = this.minLeftWithControl;\r\n this.pageWidth = 0;\r\n\r\n this.selectedCntrlAndWidth.forEach((ctrl: any, i: any) => {\r\n let eleRef: any = document.getElementById(ctrl.Control);\r\n // if (!eleRef) return;\r\n if (eleRef) {\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n controlLeft = parseFloat(posObj.Left);\r\n let imgEle: any = document.getElementsByClassName('dispImg');\r\n let getImgIndex: any = parseInt(eleRef.getAttribute('pageno'));\r\n if(imgEle && imgEle.length && getImgIndex){\r\n this.pageWidth = imgEle[getImgIndex - 1].offsetWidth;\r\n let ctrlWidth: any = document.getElementById(ctrl.Control);\r\n if (this.minLeftWithControl != (controlLeft + ctrlWidth.offsetWidth)) {\r\n controlLeftPos = controlLeft + (this.distWidth - (controlLeft - prevCntrlLeft));\r\n prevCntrlLeft = controlLeftPos + ctrlWidth.offsetWidth;\r\n\r\n if (this.pageWidth > prevCntrlLeft) {\r\n let element: any = document.getElementById(ctrl.Control);\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n //const newTransformValue = `translate3d(${controlLeftPos}px, ${posObj.Top}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.left = controlLeftPos+'px';\r\n element.style.top = posObj.Top+'px';\r\n element.style.right = 'inherit';\r\n } else {\r\n prevCntrlLeft = (controlLeft + ctrlWidth.offsetWidth);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n fnDistributeVertical(selectedItems: any) {\r\n let arrTop: any[] = [];\r\n let arrHeight: any[] = [];\r\n let minTop: any = 0;\r\n let minTopWithControl: any = 0;\r\n let maxTop: any = 0;\r\n let maxTopWithControl: any = 0;\r\n let DistHeight: any = 0;\r\n let selectedCntrlAndHeight: any[] = [];\r\n\r\n let selectedControl: any = selectedItems;\r\n\r\n if (selectedControl.length > 2) {\r\n let cntrlTop: any = 0;\r\n let allCntrlHeight: any = 0;\r\n\r\n selectedControl.forEach((ele: any, i: any) => {\r\n let eleRef: any = document.getElementById(ele);\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n cntrlTop = parseFloat(posObj.Top);\r\n selectedCntrlAndHeight.push({ \"Control\": ele, \"Top\": cntrlTop });\r\n arrTop.push(cntrlTop);\r\n\r\n allCntrlHeight += eleRef.offsetHeight;\r\n arrHeight.push(parseFloat(cntrlTop) + eleRef.offsetHeight);\r\n });\r\n\r\n minTopWithControl = Math.min.apply(null, arrHeight);\r\n maxTopWithControl = Math.max.apply(null, arrHeight);\r\n minTop = Math.min.apply(null, arrTop);\r\n maxTop = Math.max.apply(null, arrTop);\r\n\r\n if (maxTop > minTopWithControl) {\r\n DistHeight = ((maxTopWithControl - minTop) - allCntrlHeight) / (selectedControl.length - 1);\r\n }\r\n\r\n if (DistHeight != 0) {\r\n selectedCntrlAndHeight = selectedCntrlAndHeight.sort(function (x, y) { return ((x.Top > y.Top) ? 1 : (x.Top < y.Top) ? -1 : 0) });\r\n\r\n let controlTop: any = 0;\r\n let controlTopPos: any = 0;\r\n let prevCntrlTop: any = minTopWithControl;\r\n let pageHeight: any = 0;\r\n selectedCntrlAndHeight.forEach((ctrl: any, i: any) => {\r\n let eleRef: any = document.getElementById(ctrl.Control);\r\n if (eleRef) {\r\n let posObj: any = this.controlPropertyService.getElePositions(eleRef);\r\n controlTop = parseFloat(posObj.Top);\r\n let imgEle: any = document.getElementsByClassName('dispImg');\r\n let getImgIndex: any = parseInt(eleRef.getAttribute('pageno'));\r\n if(imgEle && imgEle.length && getImgIndex){\r\n pageHeight = imgEle[getImgIndex - 1].offsetHeight;\r\n let ctrlHeight: any = document.getElementById(ctrl.Control);\r\n if (minTopWithControl != (controlTop + ctrlHeight.offsetHeight)) {\r\n controlTopPos = controlTop + (DistHeight - (controlTop - prevCntrlTop));\r\n prevCntrlTop = controlTopPos + ctrlHeight.offsetHeight;\r\n\r\n if (pageHeight > prevCntrlTop) {\r\n let element: any = document.getElementById(ctrl.Control);\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n //const newTransformValue = `translate3d(${posObj.Left}px, ${controlTopPos}px, 0px)`;\r\n\r\n // Set the new transform value to the element's style\r\n // element.style.transform = newTransformValue;\r\n element.style.left = posObj.Left+'px';\r\n element.style.top = controlTopPos+'px';\r\n element.style.bottom = 'inherit';\r\n } else {\r\n prevCntrlTop = (controlTop + ctrlHeight.offsetHeight);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n getControlProperty(id: string) {\r\n // Implement your logic to fetch control properties based on its ID\r\n return {\r\n DocumentContentID: 'sampleID',\r\n XCoordinate: 0,\r\n YCoordinate: 0,\r\n ZCoordinate: 0,\r\n Left: 0,\r\n Top: 0,\r\n Width: 0,\r\n Height: 0\r\n };\r\n }\r\n\r\n applyAlignChanges(selectedOptionVal: any, selectedItems: any, selectedDocumentImage: any, container: any) {\r\n switch (selectedOptionVal) {\r\n case 'left':\r\n this.fnLeftAlign(selectedItems);\r\n break;\r\n case 'center':\r\n this.fnCenterAlign(selectedItems);\r\n break;\r\n case 'right':\r\n this.fnRightAlign(selectedItems);\r\n break;\r\n case 'top':\r\n this.fnTopAlign(selectedItems);\r\n break;\r\n case 'middle':\r\n this.fnMiddleAlign(selectedItems);\r\n break;\r\n case 'bottom':\r\n this.fnBottomAlign(selectedItems);\r\n break;\r\n case 'distributehorizontally':\r\n this.fnDistributeHorizontal(selectedItems);\r\n break;\r\n case 'distributevertically':\r\n this.fnDistributeVertical(selectedItems);\r\n break;\r\n }\r\n\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { CommonConstants } from '../constants/common-constants';\r\nimport { SessionStorageService } from './session-storage.service';\r\n\r\n// Define an interface for the control text object\r\ninterface ControlTextObject {\r\n\tsaveAsDefault: any,\r\n\trequired: any,\r\n\tfontFamily: string;\r\n\tfontWeight: any;\r\n\ttextDecoration: string;\r\n\tfontStyle: string;\r\n\tfontSize: string;\r\n\tcolor: string;\r\n\ttextAlign: string;\r\n\tlineHeight: string;\r\n\tvalidationType: string\r\n\tadlnName: string,\r\n\tadlnOption: string,\r\n\tpreSelected: any,\r\n\tcheckboxGroup: any,\r\n\tcheckboxGroupName: any,\r\n\tcheckboxName: any,\r\n\tdateFormat: string,\r\n\tsize: string,\r\n\tfontTypeMeasurement: string,\r\n\tfirstLineBlank: any,\r\n\tlabelControlValue: string\r\n}\r\n\r\n// Define an interface for the dictionary containing control text objects\r\ninterface Dictionary {\r\n\t[key: string]: ControlTextObject;\r\n}\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class DefaultControlStyleService {\r\n\r\n\tcommonConstants = CommonConstants;\r\n\tlatestSaveAsDefaultData: any[] = [];\r\n\tcontrolSaveAsObj: any = {};\r\n\tvalidationsDateOptions: any[] = [];\r\n\r\n\t// Initialize dictionaries with default text properties for each control\r\n\tdict: Dictionary = {\r\n\t\t'sign': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'initials': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'datetimestamp': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: false,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'name': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'title': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'company': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'email': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'date': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'label': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'hyperlink': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'text': {\r\n\t\t\tsaveAsDefault: undefined,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: 'text',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'dropdown': {\r\n\t\t\tsaveAsDefault: true,\r\n\t\t\trequired: false,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: '',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'checkbox': {\r\n\t\t\tsaveAsDefault: true,\r\n\t\t\trequired: false,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: 'standard',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t},\r\n\t\t'radio': {\r\n\t\t\tsaveAsDefault: true,\r\n\t\t\trequired: false,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: 'standard',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t}\r\n\t};\r\n\r\n\tconstructor(private sessionStorageService: SessionStorageService,) {\r\n\t\tthis.validationsDateOptions = this.sessionStorageService.getValidationsDateOptions();\r\n\t }\r\n\r\n\t// Function to update a specific dictionary based on its key\r\n\tupdateDictionary(key: string, data: ControlTextObject): void {\r\n\t\tif (key.toLowerCase() === 'signature') {\r\n\t\t\tkey = 'sign';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'datetime' || key.toLowerCase() === 'datetimestamp') {\r\n\t\t\tkey = 'datetimestamp';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'newinitials') {\r\n\t\t\tkey = 'initials';\r\n\t\t}\r\n\r\n\t\tif (key in this.dict) {\r\n\t\t\tthis.dict[key] = data;\r\n\t\t\t// Here you can add code to save the updated data\r\n\t\t} else {\r\n\t\t\tconsole.log(\"Invalid key.\");\r\n\t\t}\r\n\t}\r\n\r\n\t// Function to get the dictionary based on a key\r\n\tgetDictionaryByKey(key: string): ControlTextObject {\r\n\t\treturn this.dict[key]; //|| this.getDefaultControlTextObject();\r\n\t}\r\n\r\n\tgetCtrlBasedSaveAsDefaultValue(key: string) {\r\n\t\tif (key.toLowerCase() === 'signature') {\r\n\t\t\tkey = 'sign';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'datetime' || key.toLowerCase() === 'datetimestamp') {\r\n\t\t\tkey = 'datetimestamp';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'newinitials') {\r\n\t\t\tkey = 'initials';\r\n\t\t}\r\n\t\treturn this.dict[key].saveAsDefault;\r\n\t}\r\n\r\n\tgetDefaultControlTextObject() {\r\n\t\treturn {\r\n\t\t\tsaveAsDefault: true,\r\n\t\t\trequired: true,\r\n\t\t\tfontFamily: 'Courier',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tfontStyle: 'normal',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tcolor: '#000',\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tlineHeight: '12px',\r\n\t\t\tvalidationType: '',\r\n\t\t\tadlnName: '',\r\n\t\t\tadlnOption: '',\r\n\t\t\tpreSelected: false,\r\n\t\t\tcheckboxGroup: false,\r\n\t\t\tcheckboxGroupName: '',\r\n\t\t\tcheckboxName: '',\r\n\t\t\tdateFormat: '',\r\n\t\t\tsize: 'standard',\r\n\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\tfirstLineBlank: false,\r\n\t\t\tlabelControlValue: ''\r\n\t\t};\r\n\t}\r\n\r\n\tgetRequiredFields(key: string) {\r\n\t\tif (key.toLowerCase() === 'signature') {\r\n\t\t\tkey = 'sign';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'datetime' || key.toLowerCase() === 'datetimestamp') {\r\n\t\t\tkey = 'datetimestamp';\r\n\t\t}\r\n\t\tif (key.toLowerCase() === 'newinitials') {\r\n\t\t\tkey = 'initials';\r\n\t\t}\r\n\t\treturn this.dict[key].required;\r\n\t}\r\n\r\n\r\n\tupdateSaveAsDefaultPayload(currentSelectedControl: any, ctrlName: any, spnctrlEle: any, fontFamilyWithoutQuotes: any, isRequiredChecked: any, typography: any) {\r\n\t\tlet resizableCtrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tlet controlEleName: any = '';\r\n\t\tif (ctrlName.toLowerCase() === 'signature') { ctrlName = 'sign'; controlEleName = \"Sign\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'datetime' || ctrlName.toLowerCase() === 'datetimestamp') { ctrlName = 'datetimestamp'; controlEleName = \"DateTimeStamp\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'newinitials') { ctrlName = 'initials'; controlEleName = \"newInitials\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'hyperlink') { controlEleName = \"Hyperlink\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'name') { controlEleName = \"Name\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'title') { controlEleName = \"Title\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'company') { controlEleName = \"Company\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'email') { controlEleName = \"Email\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'text') { controlEleName = \"Text\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'radio') { controlEleName = \"Radio\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'checkbox') { controlEleName = \"Checkbox\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'dropdown') { controlEleName = \"Dropdown\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'date') { controlEleName = \"Date\"; }\r\n\t\tif (ctrlName.toLowerCase() === 'label') { controlEleName = \"Label\"; }\r\n\r\n\t\tlet hexColor: any = this.rgbToHex(spnctrlEle.style.color);\r\n\t\tif (ctrlName.toLowerCase() === 'sign' || ctrlName.toLowerCase() === 'initials') {\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Required': isRequiredChecked\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'datetimestamp' || ctrlName.toLowerCase() === 'hyperlink') {\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Bold': spnctrlEle.style.fontWeight ? (spnctrlEle.style.fontWeight === 'bold' || spnctrlEle.style.fontWeight === '600') ? true : false : false,\r\n\t\t\t\t\t'Underline': spnctrlEle.style.textDecoration ? (spnctrlEle.style.textDecoration === 'underline') ? true : false : false,\r\n\t\t\t\t\t'Italics': spnctrlEle.style.fontStyle ? (spnctrlEle.style.fontStyle === 'italic') ? true : false : false,\r\n\t\t\t\t\t'FontType': fontFamilyWithoutQuotes != null && fontFamilyWithoutQuotes != 'null' && fontFamilyWithoutQuotes != undefined ? fontFamilyWithoutQuotes : '',\r\n\t\t\t\t\t'FontSize': spnctrlEle.style.fontSize ? spnctrlEle.style.fontSize.split('px')[0] : 12,\r\n\t\t\t\t\t'FontTypeMeasurement': typography && typography != '' && typography != null ? typography : 'px',\r\n\t\t\t\t\t'TextAlign': spnctrlEle.style.textAlign ? spnctrlEle.style.textAlign : 'left'\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'name' || ctrlName.toLowerCase() === 'title' || ctrlName.toLowerCase() === 'company' || ctrlName.toLowerCase() === 'email') {\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Required': isRequiredChecked,\r\n\t\t\t\t\t'Bold': spnctrlEle.style.fontWeight ? (spnctrlEle.style.fontWeight === 'bold' || spnctrlEle.style.fontWeight === '600') ? true : false : false,\r\n\t\t\t\t\t'Underline': spnctrlEle.style.textDecoration ? (spnctrlEle.style.textDecoration === 'underline') ? true : false : false,\r\n\t\t\t\t\t'Italics': spnctrlEle.style.fontStyle ? (spnctrlEle.style.fontStyle === 'italic') ? true : false : false,\r\n\t\t\t\t\t'FontType': fontFamilyWithoutQuotes != null && fontFamilyWithoutQuotes != 'null' && fontFamilyWithoutQuotes != undefined ? fontFamilyWithoutQuotes : '',\r\n\t\t\t\t\t'FontSize': spnctrlEle.style.fontSize ? spnctrlEle.style.fontSize.split('px')[0] : 12,\r\n\t\t\t\t\t'FontTypeMeasurement': typography && typography != '' && typography != null ? typography : 'px',\r\n\t\t\t\t\t'TextAlign': spnctrlEle.style.textAlign ? spnctrlEle.style.textAlign : 'left'\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'label') {\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Bold': spnctrlEle.style.fontWeight ? (spnctrlEle.style.fontWeight === 'bold' || spnctrlEle.style.fontWeight === '600') ? true : false : false,\r\n\t\t\t\t\t'Underline': spnctrlEle.style.textDecoration ? (spnctrlEle.style.textDecoration === 'underline') ? true : false : false,\r\n\t\t\t\t\t'Italics': spnctrlEle.style.fontStyle ? (spnctrlEle.style.fontStyle === 'italic') ? true : false : false,\r\n\t\t\t\t\t'FontType': fontFamilyWithoutQuotes != null && fontFamilyWithoutQuotes != 'null' && fontFamilyWithoutQuotes != undefined ? fontFamilyWithoutQuotes : '',\r\n\t\t\t\t\t'FontSize': spnctrlEle.style.fontSize ? spnctrlEle.style.fontSize.split('px')[0] : 12,\r\n\t\t\t\t\t'FontTypeMeasurement': typography && typography != '' && typography != null ? typography : 'px',\r\n\t\t\t\t\t'TextAlign': spnctrlEle.style.textAlign ? spnctrlEle.style.textAlign : 'left',\r\n\t\t\t\t\t'LabelControlValue': spnctrlEle.innerText ? spnctrlEle.innerText : ''\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'date') {\r\n\t\t\tlet prefillDateCheckbox: any = document.getElementById('prefillDateCheckbox');\r\n\t\t\tif (resizableCtrlEle && prefillDateCheckbox) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-defaultdate') == 'true') {\r\n\t\t\t\t\tprefillDateCheckbox.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tprefillDateCheckbox.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Required': isRequiredChecked,\r\n\t\t\t\t\t'Bold': spnctrlEle.style.fontWeight ? (spnctrlEle.style.fontWeight === 'bold' || spnctrlEle.style.fontWeight === '600') ? true : false : false,\r\n\t\t\t\t\t'Underline': spnctrlEle.style.textDecoration ? (spnctrlEle.style.textDecoration === 'underline') ? true : false : false,\r\n\t\t\t\t\t'Italics': spnctrlEle.style.fontStyle ? (spnctrlEle.style.fontStyle === 'italic') ? true : false : false,\r\n\t\t\t\t\t'FontType': fontFamilyWithoutQuotes != null && fontFamilyWithoutQuotes != 'null' && fontFamilyWithoutQuotes != undefined ? fontFamilyWithoutQuotes : '',\r\n\t\t\t\t\t'FontSize': spnctrlEle.style.fontSize ? spnctrlEle.style.fontSize.split('px')[0] : 12,\r\n\t\t\t\t\t'FontTypeMeasurement': typography && typography != '' && typography != null ? typography : 'px',\r\n\t\t\t\t\t'TextAlign': spnctrlEle.style.textAlign ? spnctrlEle.style.textAlign : 'left',\r\n\t\t\t\t\t'IsDefaultRequired': prefillDateCheckbox ? prefillDateCheckbox.checked : false,\r\n\t\t\t\t\t'DateFormat': spnctrlEle.innerText ? spnctrlEle.innerText : ''\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'dropdown') {\r\n\t\t\tlet drpFirstLineBlank: any = document.getElementById('drpFirstLineBlank');\r\n\t\t\tif (resizableCtrlEle && drpFirstLineBlank) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-firstlineblank') == 'true') {\r\n\t\t\t\t\tdrpFirstLineBlank.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdrpFirstLineBlank.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Required': isRequiredChecked,\r\n\t\t\t\t\t'PreSelected': drpFirstLineBlank ? drpFirstLineBlank.checked : false\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'checkbox') {\r\n\t\t\tlet chkPreSelected: any = document.getElementById('chkPreSelected');\r\n\t\t\tif (resizableCtrlEle && chkPreSelected) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-selected1') == 'true') {\r\n\t\t\t\t\tchkPreSelected.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tchkPreSelected.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet checkboxgroup: any = document.getElementById('checkboxgroup');\r\n\t\t\tif (resizableCtrlEle && checkboxgroup) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-isgroupchecked') == 'true') {\r\n\t\t\t\t\tcheckboxgroup.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcheckboxgroup.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet dataSize: any = resizableCtrlEle.getAttribute('data-size');\r\n\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Required': isRequiredChecked,\r\n\t\t\t\t\t'PreSelected': chkPreSelected ? chkPreSelected.checked : false,\r\n\t\t\t\t\t'CheckboxGroup': checkboxgroup ? checkboxgroup.checked : false,\r\n\t\t\t\t\t'Size': dataSize ? dataSize : 'standard'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'radio') {\r\n\t\t\tlet chkRadioRequiredSelected: any = document.getElementById('chkRadioRequiredSelected');\r\n\t\t\tif (resizableCtrlEle && chkRadioRequiredSelected) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-selected') == 'true') {\r\n\t\t\t\t\tchkRadioRequiredSelected.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tchkRadioRequiredSelected.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet chkPreSelected: any = document.getElementById('chkPreSelected');\r\n\t\t\tif (resizableCtrlEle && chkPreSelected) {\r\n\t\t\t\tif (resizableCtrlEle.getAttribute('data-selected1') == 'true') {\r\n\t\t\t\t\tchkPreSelected.checked = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tchkPreSelected.checked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet dataSize: any = resizableCtrlEle.getAttribute('data-size');\r\n\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Required': chkRadioRequiredSelected ? chkRadioRequiredSelected.checked : false,\r\n\t\t\t\t\t'PreSelected': chkPreSelected ? chkPreSelected.checked : false,\r\n\t\t\t\t\t'Size': dataSize ? dataSize : 'standard'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (ctrlName.toLowerCase() === 'text') {\r\n\t\t\tlet dataValidationType: any;\r\n\t\t\tlet dataAdditionalValidationName: string = '';\r\n\t\t\tlet dataAdditionalValidationOption: string = '';\r\n\t\t\tlet validationOption: any = '';\r\n\r\n\t\t\tdataValidationType = resizableCtrlEle.getAttribute('data-validation-type');\r\n\t\t\tdataAdditionalValidationName = resizableCtrlEle.getAttribute('data-additional-validation-name');\r\n\t\t\tdataAdditionalValidationOption = resizableCtrlEle.getAttribute('data-additional-validation-option');\r\n\r\n\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'zip' && dataAdditionalValidationOption) {\r\n\t\t\t\tvalidationOption = this.commonConstants.ValidationsZipOptions[parseInt(dataAdditionalValidationOption) - 1].viewname;\r\n\t\t\t}\r\n\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'numeric' && dataAdditionalValidationOption) {\r\n\t\t\t\tvalidationOption = this.commonConstants.AdditionalValidationType[parseInt(dataAdditionalValidationOption) - 1].viewValue;\r\n\t\t\t}\r\n\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'date' && dataAdditionalValidationOption) {\r\n\t\t\t\tthis.validationsDateOptions = this.sessionStorageService.getValidationsDateOptions();\r\n\t\t\t\tvalidationOption = this.validationsDateOptions[parseInt(dataAdditionalValidationOption) - 1].label;\r\n\t\t\t}\r\n\r\n\t\t\tlet dataValidationTypeValue: any = this.commonConstants.ValidationsText[0].value;\r\n\t\t\tif (this.commonConstants.ValidationsText) {\r\n\t\t\t\tthis.commonConstants.ValidationsText.forEach((ele: any) => {\r\n\t\t\t\t\tif (ele.label.toLowerCase() === dataValidationType.toLowerCase()) {\r\n\t\t\t\t\t\tdataValidationTypeValue = ele.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\r\n\t\t\tthis.controlSaveAsObj = {\r\n\t\t\t\t'Control': controlEleName,\r\n\t\t\t\t'Values': {\r\n\t\t\t\t\t'Color': hexColor,\r\n\t\t\t\t\t'Required': isRequiredChecked,\r\n\t\t\t\t\t'Bold': spnctrlEle.style.fontWeight ? (spnctrlEle.style.fontWeight === 'bold' || spnctrlEle.style.fontWeight === '600') ? true : false : false,\r\n\t\t\t\t\t'Underline': spnctrlEle.style.textDecoration ? (spnctrlEle.style.textDecoration === 'underline') ? true : false : false,\r\n\t\t\t\t\t'Italics': spnctrlEle.style.fontStyle ? (spnctrlEle.style.fontStyle === 'italic') ? true : false : false,\r\n\t\t\t\t\t'FontType': fontFamilyWithoutQuotes != null && fontFamilyWithoutQuotes != 'null' && fontFamilyWithoutQuotes != undefined ? fontFamilyWithoutQuotes : '',\r\n\t\t\t\t\t'FontSize': spnctrlEle.style.fontSize ? spnctrlEle.style.fontSize.split('px')[0] : 12,\r\n\t\t\t\t\t'FontTypeMeasurement': typography && typography != '' && typography != null ? typography : 'px',\r\n\t\t\t\t\t'TextAlign': spnctrlEle.style.textAlign ? spnctrlEle.style.textAlign : 'left',\r\n\t\t\t\t\t'ValidationType': dataValidationTypeValue ? dataValidationTypeValue : '',\r\n\t\t\t\t\t'AdlnName': dataAdditionalValidationName ? dataAdditionalValidationName : '',\r\n\t\t\t\t\t'AdlnOption': validationOption ? validationOption : ''\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.latestSaveAsDefaultData = this.sessionStorageService.getDefaultControlStyles();\r\n\t\tif (this.latestSaveAsDefaultData == undefined || this.latestSaveAsDefaultData == null) this.latestSaveAsDefaultData = [];\r\n\t\telse {\r\n\t\t\t// this.latestSaveAsDefaultData = this.latestSaveAsDefaultData.filter((f) => f.Control != ctrlName.toLowerCase());\r\n\t\t\tthis.latestSaveAsDefaultData.push(this.controlSaveAsObj);\r\n\t\t}\r\n\r\n\t\tlet newData: any = [];\r\n\t\tthis.latestSaveAsDefaultData.forEach((item: { Control: any; Values: any; }) => {\r\n\t\t\tconst existingItemIndex = newData.findIndex((existingItem: { Control: any; }) => existingItem.Control === item.Control);\r\n\t\t\tif (existingItemIndex !== -1) {\r\n\t\t\t\t// If item already exists, update its values\r\n\t\t\t\tnewData[existingItemIndex].Values = item.Values;\r\n\t\t\t} else {\r\n\t\t\t\t// If item doesn't exist, push it\r\n\t\t\t\tnewData.push(item);\r\n\t\t\t}\r\n\t\t});\r\n\t\tthis.latestSaveAsDefaultData = newData;\r\n\t\tthis.sessionStorageService.setDefaultControlStyles(this.latestSaveAsDefaultData);\r\n\t\treturn newData;\r\n\t}\r\n\r\n\tremoveLowercaseDefaultStyles(parseDefaultControlProperty: any) {\r\n\t\tlet updatedDefaultControlProperty: any = [];\r\n\t\tif(parseDefaultControlProperty){\r\n\t\t\tArray.from(parseDefaultControlProperty).forEach((ele: any, index: any) => {\r\n\t\t\t\tif (ele.Control == 'sign' || ele.Control == 'datetimestamp' || ele.Control == 'initials' || ele.Control == 'newinitials' ||\r\n\t\t\t\t\tele.Control == 'hyperlink' || ele.Control == 'name' || ele.Control == 'title' ||\r\n\t\t\t\t\tele.Control == 'company' || ele.Control == 'email' || ele.Control == 'text' ||\r\n\t\t\t\t\tele.Control == 'radio' || ele.Control == 'checkbox' || ele.Control == 'dropdown' ||\r\n\t\t\t\t\tele.Control == 'date' || ele.Control == 'label' || ele.Control == 'stamp') { }\r\n\t\t\t\telse {\r\n\t\t\t\t\tupdatedDefaultControlProperty.push(ele);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn updatedDefaultControlProperty;\r\n\t}\r\n\r\n\tgetSaveAsDefaultData() {\r\n\t\treturn this.latestSaveAsDefaultData;\r\n\t}\r\n\r\n\tupdateSaveAsDefaultData(data: any) {\r\n\t\tthis.latestSaveAsDefaultData = data;\r\n\t}\r\n\r\n\trgbToHex(rgb: any) {\r\n\t\t// Extracting the RGB components\r\n\t\tlet hexColor: any = rgb;\r\n\t\tlet rgbArray: any = rgb.match(/\\d+/g);\r\n\t\tif (rgbArray) {\r\n\t\t\tlet r: any = parseInt(rgbArray[0]);\r\n\t\t\tlet g: any = parseInt(rgbArray[1]);\r\n\t\t\tlet b: any = parseInt(rgbArray[2]);\r\n\r\n\t\t\t// Converting each component to hexadecimal\r\n\t\t\tlet rHex: any = r.toString(16).padStart(2, '0');\r\n\t\t\tlet gHex: any = g.toString(16).padStart(2, '0');\r\n\t\t\tlet bHex: any = b.toString(16).padStart(2, '0');\r\n\r\n\t\t\t// Constructing the hexadecimal color code\r\n\t\t\thexColor = '#' + rHex + gHex + bHex;\r\n\r\n\t\t}\r\n\t\treturn hexColor;\r\n\t}\r\n\r\n\tgetControlSaveAsObj() {\r\n\t\treturn this.controlSaveAsObj;\r\n\t}\r\n\r\n\tupdatedSaveAsDefaultSavedData(defaultControlProperty: any, envelopeCultureInfo:any) {\r\n\t\tif (defaultControlProperty && defaultControlProperty.length) {\r\n\t\t\tlet dateFormaVal:any = 'mm/dd/yyyy';\r\n\t\t\tif(envelopeCultureInfo == \"es-es\"){\r\n\t\t\t\tdateFormaVal = \"mm/dd/aaaa\";\r\n\t\t\t}\r\n\t\t\tdefaultControlProperty.forEach((ele: any) => {\r\n\t\t\t\tif(ele.Control){\r\n\t\t\t\t\tthis.updateDictionary(ele.Control.toLowerCase(), {\r\n\t\t\t\t\t\tsaveAsDefault: true,\r\n\t\t\t\t\t\trequired: ele.Values.Required ? ele.Values.Required : false,\r\n\t\t\t\t\t\tfontFamily: ele.Values.FontType ? ele.Values.FontType : 'Courier',\r\n\t\t\t\t\t\tfontWeight: ele.Values.Bold ? ele.Values.Bold : 'normal',\r\n\t\t\t\t\t\ttextDecoration: ele.Values.Underline ? ele.Values.Underline : 'none',\r\n\t\t\t\t\t\tfontStyle: ele.Values.Italics ? ele.Values.Italics : 'normal',\r\n\t\t\t\t\t\tfontSize: ele.Values.FontSize ? ele.Values.FontSize : '12px',\r\n\t\t\t\t\t\tcolor: ele.Values.Color,\r\n\t\t\t\t\t\ttextAlign: ele.Values.TextAlign ? ele.Values.TextAlign : 'left',\r\n\t\t\t\t\t\tlineHeight: (ele.Control.toLowerCase() === 'date') ? '' : ele.Values.FontSize,\r\n\t\t\t\t\t\tvalidationType: (ele.Control.toLowerCase() === 'text') ? ele.Values.ValidationType : '',\r\n\t\t\t\t\t\tadlnName: (ele.Control.toLowerCase() === 'text') ? ele.Values.AdlnName : '',\r\n\t\t\t\t\t\tadlnOption: (ele.Control.toLowerCase() === 'text') ? ele.Values.AdlnOption : '',\r\n\t\t\t\t\t\tpreSelected: ele.Values.PreSelected ? ele.Values.PreSelected : false,\r\n\t\t\t\t\t\tcheckboxGroup: ele.Values.CheckboxGroup ? ele.Values.CheckboxGroup : false,\r\n\t\t\t\t\t\tcheckboxGroupName: '',\r\n\t\t\t\t\t\tcheckboxName: '',\r\n\t\t\t\t\t\tdateFormat: (ele.Control.toLowerCase() === 'date') ? ele.Values.DateFormat : 'mm/dd/yyyy',\r\n\t\t\t\t\t\tsize: ele.Values.Size ? ele.Values.Size : 'standard',\r\n\t\t\t\t\t\tfontTypeMeasurement: ele.Values.FontTypeMeasurement,\r\n\t\t\t\t\t\tfirstLineBlank: (ele.Control.toLowerCase() === 'dropdown') ? ele.Values.PreSelected : false,\r\n\t\t\t\t\t\tlabelControlValue: (ele.Control.toLowerCase() === 'label') ? ele.Values.LabelControlValue : ''\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tsaveAsDefaultSaveSettings(userDetails: any, ctrlsObj: any) {\r\n\t\tlet SettingDetails: any = {};\r\n\t\tSettingDetails[\"02E3C230-7F06-4ED3-8B03-F9EB40D6F80B\"] = {\r\n\t\t\t'ShowOnSettingsTab': \"2\",\r\n\t\t\t'SettingValue': JSON.stringify(ctrlsObj),\r\n\t\t\t'IsLock': false,\r\n\t\t\t'IsOverride': false,\r\n\t\t\t'IsLockChanged': false,\r\n\t\t}\r\n\t\tlet apiSettings: any = {\r\n\t\t\t\"SettingsFor\": \"00000000-0000-0000-0000-000000000000\",\r\n\t\t\t\"UserEmail\": userDetails.emailID,\r\n\t\t\t\"SettingsForType\": \"User\",\r\n\t\t\t\"SettingDetails\": SettingDetails,\r\n\t\t\t\"TabId\": 0,\r\n\t\t\t\"CompanySettings\": {}\r\n\t\t};\r\n\r\n\t\tlet SettingsPrepareModal: any = {\r\n\t\t\tuserSettingsData: JSON.stringify(apiSettings),\r\n\t\t\tuserId: userDetails.userID\r\n\t\t};\r\n\r\n\t\treturn SettingsPrepareModal;\r\n\t}\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ControlPropertyService } from './control.properties.service';\r\nimport { Observable, of } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CashedService {\r\n\r\n private getDisplayStyleCached: { [key: string]: any } = {};\r\n private controlTitleCache: { [key: string]: string } = {};\r\n\r\n constructor(\r\n private controlPropertyService: ControlPropertyService\r\n ) { }\r\n\r\n // cashe method\r\n getDisplayStyleWidthCached(item: any, getAllImagesProcessed:any) {\r\n const key = item.id; //JSON.stringify(item);\r\n if (!this.getDisplayStyleCached[key]) {\r\n this.getDisplayStyleCached[key] = this.getDisplayStyleCachedCompute(item);\r\n }\r\n\r\n return this.getDisplayStyleCached[key];\r\n }\r\n\r\n private getDisplayStyleCachedCompute(item: any) {\r\n let defaultWidth: any = '915px';\r\n if (item && item.width != null && item.width != '' && item.width != undefined) {\r\n defaultWidth = item.width;\r\n }\r\n\r\n return { 'width': defaultWidth };\r\n }\r\n\r\n getControlOriginalTitle(recipientId: string, currentSelectedControl: string): Observable {\r\n const cacheKey = this.generateControlTitleCacheKey(recipientId, currentSelectedControl); // Generate a unique cache key\r\n // Check if the value is already cached\r\n if (this.controlTitleCache[cacheKey]) {\r\n return of(this.controlTitleCache[cacheKey]); // Return cached value as an observable\r\n }\r\n\r\n // If not cached, simulate any other fetching logic)\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n if (resizableCurrentControl) {\r\n recipientId = resizableCurrentControl.getAttribute('data-rcptid');\r\n }\r\n\r\n const result = this.controlPropertyService.getControlOriginalTitle(recipientId, currentSelectedControl);\r\n\r\n // Cache the result\r\n this.controlTitleCache[cacheKey] = result;\r\n\r\n // console.log('Returning fresh value');\r\n return of(result); // Return the fresh value as an observable\r\n }\r\n\r\n // Helper method to generate a unique cache key\r\n private generateControlTitleCacheKey(recipientId: string, currentSelectedControl: string): string {\r\n return `${recipientId}_${currentSelectedControl}`;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Control } from '../constants/common-constants';\r\n\r\ninterface Action {\r\n // Define the shape of your action\r\n type: string;\r\n payload: any;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UndoRedoStackService {\r\n\r\n private undoStack: Action[] = [];\r\n private redoStack: Action[] = [];\r\n\r\n constructor() { }\r\n\r\n push(action: Action) {\r\n this.undoStack.push(action);\r\n }\r\n\r\n undo(): Action | null {\r\n const action = this.undoStack.pop();\r\n if (action) {\r\n this.redoStack.push(action);\r\n return action;\r\n }\r\n return null; // Return null if no action\r\n }\r\n\r\n redo(): Action | null {\r\n const action = this.redoStack.pop();\r\n if (action) {\r\n this.undoStack.push(action);\r\n return action;\r\n }\r\n return null; // Return null if no action\r\n }\r\n\r\n // canUndo(): boolean {\r\n // return this.undoStack.length > 0;\r\n // }\r\n\r\n // canRedo(): boolean {\r\n // return this.redoStack.length > 0;\r\n // }\r\n\r\n redoCtrlResetCtrlBgs(action:any, isEnvelopeEditable:any){\r\n for(let i= 0;i\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t \r\n\r\n\r\n\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { CommonConstants } from '../../constants/common-constants';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Subject, takeUntil } from 'rxjs';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\n\r\n@Component({\r\n\tselector: 'app-header',\r\n\ttemplateUrl: './header.component.html',\r\n\tstyleUrls: ['./header.component.scss']\r\n})\r\nexport class HeaderComponent implements OnInit {\r\n\tuserName: any = '';\r\n\tcommonConstants = CommonConstants;\r\n\tresourceKeys = ResourceKeys;\r\n\tHomeUrl: string = '';\r\n\tSendUrl: string = '';\r\n\tEnvelopeUrl: string = '';\r\n\tTemplateUrl: string = '';\r\n\tSettingsUrl: string = '';\r\n\tTranslationsUrl: string = '';\r\n\tUserDetailsUrl: string = '';\r\n\tStatsUrl: string = '';\r\n\tshowLoader: boolean = false;\r\n\tdisableNavigationBar: any = 'false';\r\n\tprivate ngUnsubscribeNavBtns = new Subject();\r\n\tprivate ngUpdateHeaderSubject = new Subject();\r\n\tdisplayOutOfOfficeLabel: boolean = false;\r\n\trsignUrl: any = environment.rsignUrl;\r\n\tisLanguageTranslator: boolean = false;\r\n\tdisplayStats: boolean = false;\r\n\t//hiding info box\r\n\tvisible:boolean = false;\r\n\r\n\tconstructor(\r\n\t\tprivate apiService: APIService,\r\n\t\tprivate authService: AuthService,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) {\r\n\t\tthis.commonService.getDisableNavBtns$.pipe(takeUntil(this.ngUnsubscribeNavBtns)).subscribe((disableButtonStr: any) => {\r\n\t\t\tif (disableButtonStr && disableButtonStr != '' && disableButtonStr != null) {\r\n\t\t\t\tlet splitDisableButtonArr: any = JSON.parse(disableButtonStr);\r\n\t\t\t\tif (splitDisableButtonArr) {\r\n\t\t\t\t\tif (splitDisableButtonArr.DisableNavigationBar == true) {\r\n\t\t\t\t\t\tthis.disableNavigationBar = 'true';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.commonService.updateHeaderSubject$.pipe(takeUntil(this.ngUpdateHeaderSubject)).subscribe((data: any) => {\r\n\t\t\tthis.updateHeader();\r\n\t\t});\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.updateHeader();\r\n\r\n\t\t// let disableButtonStr: any = localStorage.getItem(\"DisableStr\");\r\n\t\tlet disableButtonStr: any = this.sessionStorageService.getDisableTabOptions();\r\n\t\tif (disableButtonStr && disableButtonStr != '' && disableButtonStr != null) {\r\n\t\t\tlet splitDisableButtonArr: any = JSON.parse(disableButtonStr);\r\n\t\t\tif (splitDisableButtonArr) {\r\n\t\t\t\tif (splitDisableButtonArr.DisableNavigationBar == true) this.disableNavigationBar = 'true';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t// let prepareType: any = localStorage.getItem('prepareType');\r\n\t\tlet prepareType: any = getIntializePrepareDetails.PrepareType;\r\n\t\tlet sendNavigation: any = document.getElementById('sendNav');\r\n\t\tlet templateNavigation: any = document.getElementById('templateNav');\r\n\t\tif (prepareType && prepareType.toLowerCase() === 'envelope') {\r\n\t\t\tif (templateNavigation && templateNavigation.classList.contains('active')) {\r\n\t\t\t\ttemplateNavigation.classList.remove('active');\r\n\t\t\t}\r\n\t\t\tif (sendNavigation && sendNavigation.classList) {\r\n\t\t\t\tsendNavigation.classList.add('active');\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (prepareType && prepareType.toLowerCase() === 'template') {\r\n\t\t\tif (sendNavigation && sendNavigation.classList.contains('active')) {\r\n\t\t\t\tsendNavigation.classList.remove('active');\r\n\t\t\t}\r\n\t\t\tif (templateNavigation && templateNavigation.classList) {\r\n\t\t\t\ttemplateNavigation.classList.add('active');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateHeader() {\r\n\t\tthis.rsignUrl = environment.rsignUrl;\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\tthis.rsignUrl = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t}\r\n\t\tlet userInfo: any = this.authService.getUserDetails();\r\n\t\tif (userInfo) {\r\n\t\t\tthis.isLanguageTranslator = userInfo.isLanguageTranslator;\r\n\t\t\tif (userInfo.userTypeID && userInfo.userTypeID != null && userInfo.userTypeID.toLowerCase() != \"5c9bd2ac-b92b-4bdb-b6d6-2ed65fe9f420\") { //user role = '5c9bd2ac-b92b-4bdb-b6d6-2ed65fe9f420'\r\n\t\t\t\tthis.displayStats = true; //showing stats for these roles Customer Admin, RSign Support Manager, RSign Support Rep\r\n\t\t\t}\r\n\t\t\tlet uname: any = '';\r\n\t\t\tif (userInfo.lastName) uname = userInfo.firstName;\r\n\t\t\tif (userInfo.lastName) uname = uname + \" \" + userInfo.lastName;\r\n\t\t\tthis.userName = uname;\r\n\t\t\tlet divFlagIcon: any = document.getElementById('divFlagIcon');\r\n\t\t\tif (userInfo.languageCode == 'en-us') divFlagIcon.classList.add('englishIcon');\r\n\t\t\tif (userInfo.languageCode == 'es-es') divFlagIcon.classList.add('spanishIcon');\r\n\t\t\tif (userInfo.languageCode == 'de-de') divFlagIcon.classList.add('germanIcon');\r\n\t\t\tif (userInfo.languageCode == 'fr-fr') divFlagIcon.classList.add('frenchIcon');\r\n\t\t\tif (userInfo.languageCode == 'pt-pt') divFlagIcon.classList.add('portugueseIcon');\r\n\t\t\tif (userInfo.languageCode == 'nl-nl') divFlagIcon.classList.add('dutchIcon');\r\n\t\t\tif (userInfo.languageCode == 'lv-lv') divFlagIcon.classList.add('latvianIcon');\r\n\t\t\tif (userInfo.languageCode == 'lt-lt') divFlagIcon.classList.add('lithuaniaIcon');\r\n\t\t\tif (userInfo.languageCode == 'pl-pl') divFlagIcon.classList.add('polishIcon');\r\n\t\t\tif (userInfo.languageCode == 'da-dk') divFlagIcon.classList.add('danishIcon');\r\n\t\t\tif (userInfo.languageCode == 'it-it') divFlagIcon.classList.add('italianIcon');\r\n\t\t\tif (userInfo.languageCode == 'hu-hu') divFlagIcon.classList.add('hungarianIcon');\r\n\t\t\tif (userInfo.languageCode == 'no-na') divFlagIcon.classList.add('norwegianIcon');\r\n\t\t\tif (userInfo.languageCode == 'ro-ro') divFlagIcon.classList.add('romanianIcon');\r\n\r\n\t\t\tif (userInfo.outOfOfficeLabel == true) this.displayOutOfOfficeLabel = true;\r\n\t\t\tif (userInfo.emailID) {\r\n\t\t\t\tlet path: any = this.rsignUrl + 'Account/RSignDetailsNewSigners?ru=' + userInfo.emailID + \"&rpk=\" + this.authService.getToken();\r\n\t\t\t\tthis.HomeUrl = path + '&redirect=Home';\r\n\t\t\t\tthis.SendUrl = path + '&redirect=Send';\r\n\t\t\t\tthis.EnvelopeUrl = path + '&redirect=Envelopes';\r\n\t\t\t\tthis.TemplateUrl = path + '&redirect=Templates';\r\n\t\t\t\tthis.SettingsUrl = path + '&redirect=Settings';\r\n\t\t\t\tthis.TranslationsUrl = path + '&redirect=Translations';\r\n\t\t\t\tthis.UserDetailsUrl = this.rsignUrl + NavigateUrlConfig.UserDetails;\r\n\t\t\t\tthis.StatsUrl = path + '&redirect=Stats';\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.bindURLs();\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.bindURLs();\r\n\t\t}\r\n\t}\r\n\r\n\tbindURLs() {\r\n\t\tthis.HomeUrl = this.rsignUrl + NavigateUrlConfig.Home;\r\n\t\tthis.SendUrl = this.rsignUrl + NavigateUrlConfig.Send;\r\n\t\tthis.EnvelopeUrl = this.rsignUrl + NavigateUrlConfig.Envelope;\r\n\t\tthis.TemplateUrl = this.rsignUrl + NavigateUrlConfig.Template;\r\n\t\tthis.SettingsUrl = this.rsignUrl + NavigateUrlConfig.Settings;\r\n\t\tthis.TranslationsUrl = this.rsignUrl + NavigateUrlConfig.Translations;\r\n\t\tthis.UserDetailsUrl = this.rsignUrl + NavigateUrlConfig.UserDetails;\r\n\t\tthis.StatsUrl = this.rsignUrl + NavigateUrlConfig.Stats;\r\n\t}\r\n\r\n\tredirectTo(type: any) {\r\n\t\tlet rsignURL: any = this.rsignUrl;\r\n\t\tswitch (type) {\r\n\t\t\tcase \"Home\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Home;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Send\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Send;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Envelopes\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Envelope;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Templates\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Template;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Settings\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Settings;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Translations\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.Translations;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"UserDetails\":\r\n\t\t\t\twindow.location.href = rsignURL + NavigateUrlConfig.UserDetails;\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\r\n\tlogout() {\r\n\t\tthis.showLoader = true;\r\n\t\tlocalStorage.clear();\r\n\t\tsessionStorage.clear();\r\n\t\twindow.location.href = this.rsignUrl + NavigateUrlConfig.LogOff;\r\n\t}\r\n\r\n\tredirectCorporateURL(PageName: any, OpenType: any) {\r\n let getRedirectUrl = environment.corporateURLApiBaseUrl + \"/\" + ApiUrlConfig.GetRedirectURL + \"/\" + PageName;\r\n this.apiService.getRedirectURL(getRedirectUrl).subscribe(\r\n (resp: any) => {\r\n if (resp && resp.StatusCode == 200) {\r\n if (resp.Message != null) {\r\n OpenType == 'self' ? this.commonService.redirect(resp.Message) : this.commonService.openInNewTab(resp.Message);\r\n }\r\n }\r\n })\r\n }\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.ngUnsubscribeNavBtns.next();\r\n\t\tthis.ngUnsubscribeNavBtns.complete();\r\n\t}\r\n\r\n\tOutOfOfficeMode() {\r\n\t\twindow.location.href = this.rsignUrl + NavigateUrlConfig.GetOutOfOfficeDetails;\r\n\t}\r\n\r\n\tgetLanguageTranslationValue(resourcekeyId: any) {\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t}\r\n\r\n\t //onclick toggling button\r\n\t toggleMenu()\r\n\t {\r\n\t this.visible = !this.visible\r\n\t }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n\tselector: 'app-footer',\r\n\ttemplateUrl: './footer.component.html',\r\n\tstyleUrls: ['./footer.component.scss']\r\n})\r\nexport class FooterComponent implements OnInit {\r\n\r\n\tconstructor() { }\r\n\r\n\tngOnInit(): void {\r\n\t}\r\n\r\n}\r\n","","
\r\n
\r\n
\r\n
\r\n \"image\"\r\n {{previewObj?.documentName}}\r\n
\r\n

\r\n {{getLanguageTranslationValue(resourceKeys.Page)}}: {{previewObject.documentList.length}}\r\n {{getLanguageTranslationValue(resourceKeys.Fields)}}: {{previewObject.totalControls}}\r\n

\r\n
\r\n
\r\n
    \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n

\r\n \r\n {{getLanguageTranslationValue(resourceKeys.Page)}}: {{ getPageCount(group.details)\r\n }}\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Fields)}}: {{group.totalCount}}\r\n \r\n

\r\n
    \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, Input } from '@angular/core';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\nimport * as $ from 'jquery';\r\nimport { TranslationService } from 'src/app/services/translation.service';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { SessionStorageService } from '../../services/session-storage.service';\r\ninterface DocumentDetail {\r\n\tid: number;\r\n\tpath: string;\r\n\tdocPageNo: number;\r\n\tpageNo: number;\r\n\tdimension: {\r\n\t\theight: number;\r\n\t\twidth: number;\r\n\t};\r\n\tdocument: {\r\n\t\tid: string;\r\n\t\tname: string;\r\n\t};\r\n\tisTemplateDatedBeforePortraitLandscapeFeature: boolean;\r\n\tisActive: boolean;\r\n\tcontrolsCount: number;\r\n}\r\n\r\ninterface GroupedDocument {\r\n\tname: string;\r\n\ttotalCount: number;\r\n\tdetails: DocumentDetail[];\r\n}\r\n\r\n@Component({\r\n\tselector: 'app-preview-view',\r\n\ttemplateUrl: './preview-view.component.html',\r\n\tstyleUrls: ['./preview-view.component.scss']\r\n})\r\nexport class PreviewViewComponent {\r\n\tresourceKeys = ResourceKeys;\r\n\tprivate ngUnsubscribe = new Subject();\r\n\tpreviewObject: any = {};\r\n\t@Input() previewObj: any;\r\n\tgroupedByDocumentName: any;\r\n\tgroupedDocuments: GroupedDocument[] = [];\r\n\tcurrentIndex: any = 0;\r\n\r\n\tconstructor(\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate translationService: TranslationService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) {\r\n\t\tthis.commonService.previewObject$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((updatedObject) => {\r\n\t\t\t\t// Handle the updated object\r\n\t\t\t\tthis.previewObject = updatedObject;\r\n\t\t\t\t// this.resetGroupedDocumentsCount();\r\n\t\t\t\t// for(let i=0;i {\r\n\t\t\t\tlet documents: any = imgArr;\r\n\t\t\t\tthis.previewObject.documentList = imgArr;\r\n\t\t\t\t// this.updateMultiDocumentsPreviewData(documents);\r\n\t\t\t});\r\n\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t}\r\n\r\n\tonPreviewImage(prevObj:any, id:any){\r\n\t\t// this.commonService.updatePrevObject({\r\n\t\t// \t'totalControls': this.previewObject.totalControls,\r\n\t\t// \t'pageNumber': parseInt(id),\r\n\t\t// \t'documentList': this.previewObject.documentList\r\n\t\t// });\r\n\r\n\t\tif (id !== undefined) {\r\n\t\t\tlet firstPageElement:any = $('img.imgControl[page-no=\"1\"]');\r\n\t\t\tlet firstPageNoAttr:any = firstPageElement.offset()?.top;\r\n\t\t\tlet pageNoAttr:any = 0;\r\n\t\t\tlet pageNoElement:any = $('img.imgControl[page-no=\"' + id + '\"]');\r\n\t\t\tpageNoAttr = pageNoElement.offset()?.top;\r\n\r\n\t\t\tif (firstPageNoAttr !== undefined && pageNoAttr !== undefined) {\r\n\t\t\t\tlet scrollTo:any = Math.abs(pageNoAttr - firstPageNoAttr) - 20;\r\n\t\t\t\t$('.docImages').animate({ scrollTop: scrollTo }, 'slow');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tgetLanguageTranslationValue(resourcekeyId: any) {\r\n\t\t//return this.translationService.getLanguageTranslationVal(resourcekeyId);\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t\t// return this.styleService.getCtrlDisplayStyle(controlingFieldId, '', 'signer');\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.ngUnsubscribe.complete();\r\n\t}\r\n\r\n\tupdateMultiDocumentsPreviewData(documents:any){\r\n\t\t// let allimagesLoaded:any = localStorage.getItem('AllImagesProcessed');\r\n\t\tlet allimagesLoaded:any = this.sessionStorageService.getAllImagesProcessed();\r\n\t\tif(allimagesLoaded === 'true' || allimagesLoaded === true){\r\n\t\t\tconsole.log('allimagesLoaded', allimagesLoaded);\r\n\t\t\tif(documents && documents.length > 0){\r\n\t\t\t\tthis.groupedDocuments = this.transformDocuments(documents);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\ttransformDocuments(documents: DocumentDetail[]): GroupedDocument[] {\r\n\t\t// Group documents by their name and accumulate controlsCount\r\n\t\tconst grouped: { [key: string]: { totalCount: number, details: DocumentDetail[] } } = {};\r\n\r\n\t\tdocuments.forEach(doc => {\r\n\t\t\tconst name = doc.document.name;\r\n\t\t\tif (!grouped[name]) {\r\n\t\t\t\tgrouped[name] = { totalCount: 0, details: [] };\r\n\t\t\t}\r\n\t\t\tgrouped[name].details.push(doc);\r\n\t\t\tgrouped[name].totalCount += doc.controlsCount;\r\n\t\t});\r\n\r\n\t\t// Create an array of grouped documents with sequential IDs\r\n\t\treturn Object.keys(grouped).map(name => {\r\n\t\t\tconst { details, totalCount } = grouped[name];\r\n\r\n\t\t\t// Ensure IDs are sequential within each group\r\n\t\t\tdetails.sort((a, b) => a.id - b.id);\r\n\r\n\t\t\t// Generate new IDs if needed, or just sort by existing IDs\r\n\t\t\tdetails.forEach((detail, index) => {\r\n\t\t\t\tdetail.id = index + 1; // Adjust ID to be sequential within the group\r\n\t\t\t});\r\n\r\n\t\t\treturn {\r\n\t\t\t\tname,\r\n\t\t\t\ttotalCount, // Ensure totalCount is included\r\n\t\t\t\tdetails\r\n\t\t\t};\r\n\t\t});\r\n\t}\r\n\r\n\t// total document pages count method\r\n\tgetPageCount(pages: DocumentDetail[]): number {\r\n\t\treturn pages.length;\r\n\t}\r\n\r\n\texpand(index: any) {\r\n\t\tif (this.currentIndex === index) {\r\n\t\t\tthis.currentIndex = null;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.currentIndex = index;\r\n\t}\r\n\r\n\t// Method to calculate the page number for the current document\r\n\tgetPageNumber(index: number, prevInd: number): number {\r\n\t\tlet pageNumber = 1;\r\n\t\tfor (let i = 0; i < index; i++) {\r\n\t\t\tpageNumber += this.groupedDocuments[i].details.length;\r\n\t\t}\r\n\t\treturn pageNumber + prevInd;\r\n\t}\r\n\r\n\tresetGroupedDocumentsCount(){\r\n\t\tthis.groupedDocuments.forEach(doc => {\r\n\t\t\tdoc.totalCount = 0;\r\n\t\t});\r\n\t}\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
","import { Component, Input } from '@angular/core';\r\nimport { CommonService } from '../../services/common.service';\r\n\r\n@Component({\r\n selector: 'app-recipients',\r\n templateUrl: './recipients.component.html',\r\n styleUrls: ['./recipients.component.scss']\r\n})\r\nexport class RecipientsComponent {\r\n @Input() receipentListArr: any;\r\n @Input() receipentColorArr: any;\r\n @Input() recipientsObj: any = {};\r\n\r\n constructor(\r\n private commonService: CommonService\r\n ) {\r\n this.commonService.callOnRecipentChange$.subscribe((recipientsObj) => {\r\n this.recipientsObj = recipientsObj;\r\n });\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n onRecipentChange(recipent: any, receipentColorArr: any) {\r\n let obj: any = {\r\n 'recipent': recipent,\r\n 'selectedColor': receipentColorArr\r\n }\r\n this.commonService.callOnRecipentChange(obj);\r\n }\r\n\r\n}\r\n","","import { Component, OnInit, Input, HostListener, ViewChild, ElementRef } from '@angular/core';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\nimport { ContextualMenu } from './contextual-menu';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\n@Component({\r\n\tselector: 'app-contextual-menu',\r\n\ttemplateUrl: './contextual-menu.component.html',\r\n\tstyleUrls: ['./contextual-menu.component.scss']\r\n})\r\nexport class ContextualMenuComponent implements OnInit {\r\n\t@ViewChild('nav') public navRef: ElementRef;\r\n\t@Input() public elements: any;\r\n\tcheckClassIsAdded: any;\r\n\tcheckRedoClassIsAdded: any;\r\n\r\n\t@HostListener('mouseover', ['$event'])\r\n\tpublic mouseouver(): void {\r\n\t\tthis.setInactive(this.elements);\r\n\t}\r\n\r\n\t@HostListener('document:keyup', ['$event'])\r\n\tpublic keyUp(event: KeyboardEvent): void {\r\n\t\tif (event.key === 'Delete') {\r\n\t\t\tif (this.controlPropertyService.restrictMouseEvents(event)) {\r\n\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Delete');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@HostListener('document:click', ['$event'])\r\n\tpublic documentClick(): void {\r\n\t\t// console.log('contextmenu', event);\r\n\t\tthis.elements.forEach((e: any) => this.hide(e))\r\n\t}\r\n\r\n\t@HostListener('document:contextmenu', ['$event'])\r\n\tpublic documentRClick(event: MouseEvent): void {\r\n\t\tif (!this.elements || !this.navRef) return;\r\n\r\n\t\tlet isLeft = true;\r\n\t\tlet isTop = true;\r\n\r\n\t\t// const x = event.pageX;\r\n\t\t// const y = event.pageY;\r\n\r\n\t\tconst x = event.offsetX;\r\n\t\tconst y = event.offsetY;\r\n\r\n\t\tlet ctrlSelectable: any = document.getElementById('ctrlSelectable');\r\n\t\tlet allImagesWidth: any = 0;\r\n\t\tlet allImagesHeight: any = 0;\r\n\t\tif (ctrlSelectable) {\r\n\t\t\tallImagesWidth = ctrlSelectable.offsetWidth;\r\n\t\t\tallImagesHeight = ctrlSelectable.offsetHeight;\r\n\t\t}\r\n\r\n\t\tlet clickedImgControlId: any = event.target;\r\n\t\tlet selectedImg: any = document.getElementById('imgControl_' + clickedImgControlId.id);\r\n\t\tlet tempHeight: any = 0;\r\n\t\tif (selectedImg) {\r\n\t\t\tlet documentImages: any = document.querySelectorAll('.img-control');\r\n\t\t\tif (documentImages && documentImages.length > 0) {\r\n\t\t\t\tArray.from(documentImages).forEach((ele: any, index: any) => {\r\n\t\t\t\t\tif (index > 0 && index < parseInt(clickedImgControlId.id)) {\r\n\t\t\t\t\t\tlet eleTemp: any = document.getElementById(ele.id);\r\n\t\t\t\t\t\ttempHeight += eleTemp.offsetHeight + 8;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t\t//console.log('tempHeight', tempHeight);\r\n\t\t}\r\n\r\n\t\tconst nav = this.navRef.nativeElement;\r\n\r\n\t\tthis.top = `${tempHeight + y}px`;\r\n\t\tthis.left = `${x}px`;\r\n\r\n\t\tif (this.controlInfoObj.totalControls > 0) {\r\n\t\t\tthis.showMenuList = 'block';\r\n\t\t\tthis.visible = true;\r\n\t\t\tlet pasteBtnDisabled: any = document.getElementById('Paste_Btn');\r\n\t\t\t// let selecteditemsLength:any = localStorage.getItem('selecteditemsLength');\r\n\t\t\tlet selecteditemsLength: any = this.sessionStorageService.getSelecteditemsLength();\r\n\t\t\t// let isCopiedSelecteditems:any = localStorage.getItem('isCopiedSelecteditems');\r\n\t\t\tlet isCopiedSelecteditems: any = this.sessionStorageService.getIsCopiedSelecteditems();\r\n\t\t\tif ((selecteditemsLength && parseInt(selecteditemsLength) === 0) || (isCopiedSelecteditems === 'false' || isCopiedSelecteditems === false)) {\r\n\t\t\t\tif (pasteBtnDisabled) {\r\n\t\t\t\t\tpasteBtnDisabled.classList.add('disabled3');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.showMenuList = 'none';\r\n\t\t\tthis.visible = false;\r\n\t\t}\r\n\r\n\t\tif (nav.offsetWidth + x > allImagesWidth) {\r\n\t\t\tthis.left = `${x - nav.offsetWidth}px`;\r\n\t\t\tisLeft = false;\r\n\t\t}\r\n\r\n\t\tif (nav.offsetHeight + y > allImagesHeight) {\r\n\t\t\tthis.top = `${y - nav.offsetHeight}px`;\r\n\t\t\tisTop = false;\r\n\t\t}\r\n\r\n\t\t//animation\r\n\t\tif (isTop) {\r\n\t\t\tnav.style.transformOrigin = isLeft ? 'top left' : 'top right';\r\n\t\t} else {\r\n\t\t\tnav.style.transformOrigin = isLeft ? 'bottom left' : 'bottom right';\r\n\t\t}\r\n\t}\r\n\r\n\t@HostListener('document:keydown', ['$event'])\r\n\thandleKeyboardEvent(event: KeyboardEvent) {\r\n\t\tif (this.controlPropertyService.restrictMouseEvents(event)) {\r\n\t\t\tif (event.ctrlKey && event.key.toLowerCase() === 'd') {\r\n\t\t\t\t// Handle Ctrl+D shortcut here\r\n\t\t\t\t//console.log('Ctrl+D pressed');\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Duplicate');\r\n\t\t\t}\r\n\t\t\tif (event.ctrlKey && event.key.toLowerCase() === 'y') { //Redo\r\n\t\t\t\t// Handle Ctrl+Y shortcut here\r\n\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Redo');\r\n\t\t\t}\r\n\t\t\tif (event.ctrlKey && event.key.toLowerCase() === 'z') { //Undo\r\n\t\t\t\t// Handle Ctrl+Z shortcut here\r\n\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Undo');\r\n\t\t\t}\r\n\t\t\tif (event.ctrlKey && event.key.toLowerCase() === 'c') { //Copy\r\n\t\t\t\t// Handle Ctrl+C shortcut here\r\n\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Copy');\r\n\t\t\t}\r\n\t\t\tif (event.ctrlKey && event.key.toLowerCase() === 'v') { //Paste\r\n\t\t\t\t// Handle Ctrl+V shortcut here\r\n\t\t\t\tlet selectedItems: any = this.commonService.getSelectedItems();\r\n\t\t\t\tlet pasteBtnDisabled: any = document.getElementById('Paste_Btn');\r\n\t\t\t\t// console.log('selectedItems menu', selectedItems);\r\n\t\t\t\tif (selectedItems && selectedItems.length === 0) {\r\n\t\t\t\t\tif (pasteBtnDisabled) {\r\n\t\t\t\t\t\tpasteBtnDisabled.classList.add('disabled3');\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.commonService.selectedRightClickOption(event, 'Paste');\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tvisible = false;\r\n\tshowMenuList: any = 'none';\r\n\ttop = '0';\r\n\tleft = '0';\r\n\ticonsArr: any[] = ['content_copy', 'content_paste', 'content_cut', 'content_copy', 'clear']; //'undo', 'redo',\r\n\tkeysArr: any[] = [' Ctrl+C ', ' Ctrl+V', ' Ctrl+D', 'Delete']; //' Ctrl+X', 'Ctrl+Z', ' Ctrl+Y ',\r\n\t// fontIconArr: any[] = ['fa-undo', 'fa-repeat', 'fa-clone font-w600', 'fa-clipboard', 'fa-scissors font-w600 rotate270', 'fa-files-o font-w600', 'fa-trash-o font-16'];\r\n\timagesArr: any[] = [\r\n\t\t// { path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Undo.svg', name:'undo', id: 1 },\r\n\t\t// { path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Redo.svg', name:'redo', id: 2 },\r\n\t\t{ path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Copy.svg', name: 'copy', id: 3 },\r\n\t\t{ path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Paste.svg', name: 'paste', id: 4 },\r\n\t\t{ path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Cut.svg', name: 'cut', id: 5 },\r\n\t\t{ path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Duplicate.svg', name: 'duplicate', id: 6 },\r\n\t\t{ path: '../../../assets/images/icons/KeyboardIcons/KeyBoard_Shortcuts_Delete.svg', name: 'delete', id: 7 },\r\n\t];\r\n\r\n\t@ViewChild('context') context!: ElementRef;\r\n\tcontrolInfoObj: any = {};\r\n\tprivate ngUnsubscribe = new Subject();\r\n\r\n\tconstructor(\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService,\r\n\t\tprivate controlPropertyService: ControlPropertyService\r\n\t) {\r\n\t\tthis.commonService.previewObject$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((updatedObject) => {\r\n\t\t\t\t// Handle the updated object\r\n\t\t\t\tthis.controlInfoObj = updatedObject;\r\n\t\t\t});\r\n\t}\r\n\r\n\tngOnInit() {\r\n\r\n\t}\r\n\r\n\tonSelectElement(event: any, ele: any) {\r\n\t\tif (ele.label === 'Delete' || ele.label === 'Duplicate' || ele.label === 'Undo' || ele.label === 'Redo' ||\r\n\t\t\tele.label === 'Copy' || ele.label === 'Paste') {\r\n\t\t\tthis.commonService.selectedRightClickOption(event, ele.label);\r\n\t\t}\r\n\t\tthis.hide(ele);\r\n\t}\r\n\r\n\tshow(elements: ContextualMenu[] | null) {\r\n\t\t// Called by directive\r\n\t\t//this.visible = true;\r\n\t\tthis.showHideContextMenu();\r\n\t\tif (elements) this.elements = elements;\r\n\t}\r\n\r\n\thide(element: ContextualMenu) {\r\n\t\telement.visible = false;\r\n\r\n\t\t// if(element && element.submenu) {\r\n\t\t// element.submenu.forEach(e => this.hide(e));\r\n\t\t// }\r\n\r\n\t\tthis.showMenuList = 'none';\r\n\t\tthis.visible = false;\r\n\t}\r\n\r\n\tsetInactive(elements: ContextualMenu[]) {\r\n\t\telements.forEach(element => {\r\n\t\t\telement.active = false;\r\n\t\t\t// if(!element.submenu) return;\r\n\t\t\t// this.setInactive(element.submenu);\r\n\t\t})\r\n\t}\r\n\r\n\tshowHideContextMenu() {\r\n\t\t// let isEnvelopeEditable:any = localStorage.getItem(\"isEnvelopeEditable\");\r\n\t\tlet isEnvelopeEditable: any = this.sessionStorageService.getIsEnvelopeEditable();\r\n\t\tif (isEnvelopeEditable === \"true\") {\r\n\t\t\t\tthis.showMenuList = 'block';\r\n\t\t\t\tlet menunavEle:any = document.getElementsByClassName('menu-nav');\r\n\t\t\t\tif(menunavEle && menunavEle[0]){\r\n\t\t\t\t\tmenunavEle[0].style.display = 'block';\r\n\t\t\t\t}\r\n\t\t\tthis.visible = true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.showMenuList = 'none';\r\n\t\t\tthis.visible = false;\r\n\t\t}\r\n\t}\r\n\r\n\tisDisableRedoUndoButtons() {\r\n\t\tthis.checkClassIsAdded = document.getElementById('undoBtn');\r\n\t\tif (this.checkClassIsAdded && this.checkClassIsAdded.classList) {\r\n\t\t\tdocument.getElementById('Undo_Btn')?.classList.remove('disabledUndoAndRedoLabel');\r\n\t\t\tif (this.checkClassIsAdded.classList.contains('disabledCtrl')) {\r\n\t\t\t\tdocument.getElementById('Undo_Btn')?.classList.add('disabledUndoAndRedoLabel');\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.checkRedoClassIsAdded = document.getElementById('redoBtn');\r\n\t\tif (this.checkRedoClassIsAdded && this.checkRedoClassIsAdded.classList) {\r\n\t\t\tdocument.getElementById('Redo_Btn')?.classList.remove('disabledUndoAndRedoLabel');\r\n\t\t\tif (this.checkRedoClassIsAdded.classList.contains('disabledCtrl')) {\r\n\t\t\t\tdocument.getElementById('Redo_Btn')?.classList.add('disabledUndoAndRedoLabel');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n}\r\n","import { Directive, HostListener, Input } from '@angular/core';\r\nimport { ContextualMenuComponent } from './contextual-menu.component';\r\nimport { ContextualMenu } from './contextual-menu';\r\n\r\n@Directive({\r\n selector: '[appContextualMenu]'\r\n})\r\nexport class ContextualMenuDirective {\r\n\r\n makes: any[] = [];\r\n constructor() {\r\n this.makes = [];\r\n }\r\n @HostListener('contextmenu', ['$event'])\r\n public documentRClick(event: MouseEvent): void {\r\n event.preventDefault();\r\n this.appContextualMenu.show(this.contextElements);\r\n }\r\n\r\n @Input() appContextualMenu: ContextualMenuComponent;\r\n @Input() contextElements: ContextualMenu[];\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"image\"\r\n\r\n \r\n
\r\n
\r\n |\r\n\r\n \r\n\r\n \r\n\r\n
\r\n \"image\"\r\n
\r\n\r\n
\r\n \"image\"\r\n
\r\n\r\n\r\n |\r\n \r\n
\r\n \r\n
\r\n |\r\n play_arrow \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n |\r\n
\r\n \r\n {{ zoomValue }}\r\n %\r\n arrow_drop_down\r\n \r\n
    \r\n
  • \r\n {{ zoom\r\n }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n |\r\n
\r\n \"image\"/\r\n
\r\n\r\n |\r\n
\r\n \"Image\"\r\n
    \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstoleft)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstocenter)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstoright)}}\r\n
  • \r\n
  • \r\n
    \r\n
  • \r\n\r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignTop)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignMiddle)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignBottom)}}\r\n
  • \r\n\r\n
  • \r\n
    \r\n
  • \r\n\r\n
  • \r\n \r\n \"Image\"/\r\n {{getLanguageTranslationValue(resourceKeys.DistributeHorizontally)}}\r\n
  • \r\n
  • \r\n \r\n \"Image\"/\r\n {{getLanguageTranslationValue(resourceKeys.DistributeVertically)}}\r\n
  • \r\n
\r\n
\r\n
\r\n\r\n |\r\n
\r\n
\r\n \"image\"/\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \"image\"/\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {{item.title}}
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n {{item.title}}
    \r\n
\r\n \r\n \r\n \r\n
\r\n {{item.title}}
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n dd/mm/yyyy
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n

Stamp

\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n \"image\"\r\n

No fields found

\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"images\"\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.SignatureControl)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Initials)}}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_dateTimeStamp)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Name)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Title)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Company)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_email)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_dropdown)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_checkbox)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_radio)}}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Date)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Text)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Label)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Hyperlink)}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n keyboard_double_arrow_down \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.checkboxGroupsOptional)}}\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n square\r\n \r\n {{ selectedPanelRecipentName }}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.TextModalHeaderP)}}\r\n
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n Group Name should be\r\n only characters and\r\n numbers\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n add_box\r\n \r\n
\r\n
0\">\r\n \r\n \r\n \r\n
\r\n
    \r\n
  • \r\n \r\n \r\n delete_outline\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n format_bold \r\n
\r\n
\r\n format_italic \r\n
\r\n
\r\n \r\n format_underlined\r\n \r\n
\r\n
\r\n \r\n format_align_left\r\n \r\n
\r\n\r\n
\r\n \r\n format_align_justify\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n format_align_right\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n content_copy\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n content_copy\r\n \r\n
\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.OnlycharactersAndnumbers)}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
1 \" style=\"padding-left: 8px;\">\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
","import { ApplicationRef, Component, ComponentFactoryResolver, ComponentRef, ElementRef, EmbeddedViewRef, Injector, OnInit, Output, QueryList, Renderer2, ViewChild, ViewChildren, enableProdMode } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder } from '@angular/forms';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { Subject, Subscription, debounceTime, takeUntil } from 'rxjs';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ActionTypes, CommonConstants, Control, ControlConfig, ControlResourceKeys, NavigateURLS, RSignStage, RecipientType } from '../../constants/common-constants';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { ControlComponent } from '../../components/control/control.component';\r\nimport { AddDropdownListComponent } from '../../modals/add-dropdown-list/add-dropdown-list.component';\r\nimport { ViewSettingComponent } from '../../modals/view-setting/view-setting.component';\r\nimport { AddDependenciesComponent } from '../../modals/add-dependencies/add-dependencies.component';\r\nimport { ClearallControlsComponent } from '../../modals/clearall-controls/clearall-controls.component';\r\nimport { DiscardEnvelopeComponent } from '../../modals/discard-envelope/discard-envelope.component';\r\nimport { GotoStepOneComponent } from '../../modals/goto-step-one/goto-step-one.component';\r\nimport { KeyboardShortcutsComponent } from '../../modals/keyboard-shortcuts/keyboard-shortcuts.component';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { AlignControlsService } from '../../services/align-controls.service';\r\nimport { ContextualMenu } from '../contextual-menu/contextual-menu';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { ActivatedRoute, NavigationStart, Router } from '@angular/router';\r\nimport { DefaultControlStyleService } from '../../services/default-control-style.service';\r\nimport { HostListener } from '@angular/core';\r\nimport { MultiBrandingComponent } from 'src/app/modals/multi-branding/multi-branding.component';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { PaginationComponent } from 'src/app/shared/pagination/pagination.component';\r\nimport { MultipleSignerUpdateComponent } from 'src/app/modals/multiple-signer-update/multiple-signer-update.component';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { InitialsCreationComponent } from 'src/app/modals/initials-creation/initials-creation.component';\r\nimport { CashedService } from 'src/app/services/cashed.service';\r\nimport { UndoRedoStackService } from 'src/app/services/undo-redo-stack.service';\r\nimport { GroupControlsBorderComponent } from '../group-controls-border/group-controls-border.component';\r\ndeclare var $: any;\r\n\r\ntype IMenu = {\r\n\ttitle: string;\r\n\tid: number,\r\n\tsvgPath1: any;\r\n\tsvgPath2: any;\r\n\tsvgPath3: any;\r\n\tviewBox: any;\r\n\ttemp?: boolean;\r\n\tlangGuid: any;\r\n};\r\n@Component({\r\n\tselector: 'app-envelope-prepare',\r\n\ttemplateUrl: './envelope-prepare.component.html',\r\n\tstyleUrls: ['./envelope-prepare.component.scss']\r\n})\r\nexport class EnvelopePrepareComponent implements OnInit {\r\n\tbaseUrl = environment.apiBaseUrl;\r\n\tshowLoader: boolean = false;\r\n\tcommonConstants = CommonConstants;\r\n\tresourceKeys = ResourceKeys;\r\n\t@Output() documentData: any;\r\n\t@Output() receipentListArr: any = this.commonConstants.ReceipentListArr;\r\n\t@Output() receipentColorArr: any = this.commonConstants.ReceipentColorArr;\r\n\t@Output() recipientsObj: any;\r\n\t@Output() dependencyIconClickedObj: any;\r\n\r\n\t@ViewChild('documentPageContainer', { static: false })\r\n\tdocumentPageContainer!: ElementRef;\r\n\ttextzoom = parseInt('100%');\r\n\r\n\tprivate ngUnsubscribe = new Subject();\r\n\tprivate dynamicComponentRefs: Map> = new Map();\r\n\tprivate clickTimeout: any;\r\n\tprivate delay = 300; // Adjust the delay time as needed\r\n\thidePagesViewSection: boolean = false;\r\n\thideControlView: boolean = false;\r\n\tdisplayProperties: boolean = true;\r\n\tisVisited: boolean = false;\r\n\tisUnderlined: boolean = false;\r\n\tisItalic: boolean = false;\r\n\tisBold: boolean = false;\r\n\tisAlignleft: boolean = false;\r\n\tisAlignmiddle: boolean = false;\r\n\tisAlignright: boolean = false;\r\n\tisfont: boolean = false;\r\n\tdisplayGroupCheckBox: boolean = false;\r\n\tdisplayGroupRadio: boolean = false;\r\n\tshowRemove: boolean = false;\r\n\tshowSave: boolean = true;\r\n\tisClose: boolean = false;\r\n\tisActive: boolean = false;\r\n\tselectDefaultSizeValue: any;\r\n\tselectDefaultDateFormat: any;\r\n\tselectValidation: any;\r\n\tselectAddtionalValidation: any;\r\n\tdatacount: any;\r\n\tactiveCtrlId: any;\r\n\tcheckboxoptions = this.commonConstants.Checkboxoptions;\r\n\tvalidationsoptions = this.commonConstants.Validationsoptions;\r\n\tadditionalValidation = this.commonConstants.AdditionalValidation;\r\n\tadditionalValidationType = this.commonConstants.AdditionalValidationType;\r\n\tvalidationsZipOptions = this.commonConstants.ValidationsZipOptions;\r\n\tvalidationsDateOptions = this.commonConstants.ValidationsDateOptions;\r\n\tdateformat = this.commonConstants.Dateformat;\r\n\tdateformatValue = this.commonConstants.DateformatValue;\r\n\tcontrolsObj = this.commonConstants.ControlsObj;\r\n\tdefaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n\tZoomPercentageObj = this.commonConstants.ZoomPercentage;\r\n\tgroupColorCode: any = 1;\r\n\thostListenerStatus: any = false;\r\n\tselectedRecipentId: string = '';\r\n\tselectedPanelRecipentId: string = '';\r\n\tselectedRecipentName: string = '';\r\n\tselectedRecipentColor: string = '';\r\n\tselectedPanelRecipentName: string = '';\r\n\tselectedPanelRecipentColor: string = '';\r\n\tsearchText = '';\r\n\tselectedPanelRecipentTextAreaText: string = '';\r\n\tcheckboxText: string = 'Save as Default';\r\n\tcheckboxSizeControl = new FormControl(3);\r\n\r\n\tform = new FormGroup({\r\n\t\tcheckboxsize: this.checkboxSizeControl\r\n\t});\r\n\r\n\t// dragAnddrop code starts\r\n\tdragItems: Array = this.commonConstants.DragItems;\r\n\ttable: Array = [];\r\n\timagesArr: any[] = [];\r\n\t// dragAnddrop code ends\r\n\tdocumentName: any;\r\n\tpreviewObj: any;\r\n\tdragItemBgColor: any;\r\n\tcurrentControlId: any;\r\n\tzoomList: any[] = [];\r\n\tpercentageValue: string = '100%';\r\n\timageSize: any = '100%';\r\n\tarrControlIdNumber: any = [];\r\n\tcontrolFieldDependenceControlArray: any = [];\r\n\tdisplayDependenciesButton: boolean = false;\r\n\tzoomValue: any = 100;\r\n\texampleForm: FormGroup;\r\n\tslDropDownControlItems: any = [];\r\n\tisRequiredChecked: boolean = false;\r\n\tisFixedWidthChecked: boolean = false;\r\n\tshowTextFieldsContainer: any = 'none';\r\n\tshowTextDecimalType: any = 'none';\r\n\tshowTextDecimalOptions: any = 'none';\r\n\tshowTextZipFormat: any = 'none';\r\n\tshowTextZipFormatOptions: any = 'none';\r\n\tshowTextDateFormat: any = 'none';\r\n\tshowTextDateFormatOptions: any = 'none';\r\n\tarrCopyPasteCtrl: any = [];\r\n\tarrUndoRedoCtrl: any = [];\r\n\tenvelope: any;\r\n\tenvelopeCultureInfo: any;\r\n\tintegrationResponse: any = {};\r\n\tisSelecting: boolean = false;\r\n\tselectionBox: any = HTMLElement;\r\n\t@ViewChild('container') container!: ElementRef;\r\n\r\n\tstartPointX: any;\r\n\tstartPointY: any;\r\n\tendPointX: any;\r\n\tendPointY: any;\r\n\tselectedItems: any[] = [];\r\n\tselectedDocumentImage: any; //to get the document image id\r\n\tplanType: any = '';\r\n\tplanRange: any = '';\r\n\tplanName: any = '';\r\n\tfullPlanName: any = '';\r\n\tunit: any = '';\r\n\tunitsRemaining: any = '';\r\n\tupgradeLink: any = '';\r\n\tshowUpgradeLink: boolean = false;\r\n\tallImagesProcessed: boolean = false;\r\n\tlastImageId: any;\r\n\ttotalDocPageImagesCount: any;\r\n\tsubscription: any;\r\n\tPageZoomClass: any;\r\n\ttextareaEdited: boolean = false;\r\n\tisDataLoaded: boolean = false;\r\n\tisEnvelopeEdited: boolean = false;\r\n\texternalIntegrationType = '';\r\n\texternalEntityList: any[] = [];\r\n\texternalEntityFieldList: any[] = [];\r\n\tuserSelectedEntity: boolean = true;\r\n\tisPrefillExists: boolean = false;\r\n\tenableDependenciesFeature: boolean = false;\r\n\tisStoreControlId: boolean = false;\r\n\tisEnvelopeEditable: boolean = true;\r\n\tsignatureControlRequired: boolean = true;\r\n\tenableFileReview: boolean = false;\r\n\tfilesShowDiv: boolean = true;\r\n\tfilesReviewCount: number = 0;\r\n\tfilesReview: any[] = [];\r\n\thideFixedwidthCheckbox: any = true;\r\n\tlengthOrMaxCharLimitLabel: string = 'Length';\r\n\t// saveAsDefaultCheckbox: boolean = true;\r\n\tdefaultFontFamily: string = 'Courier';\r\n\tdefaultTypographySize: string = \"px\";\r\n\tdefaultUserSettingsTypographySize: string = \"px\";\r\n\tdefaultFontSize: any = 12;\r\n\tupdateSaveAsDefaultChecked: any = true;\r\n\tisRadioRequiredChecked: boolean = false;\r\n\tisdrpFirstLineBlank: boolean = false;\r\n\tisChkPreSelected: boolean = false;\r\n\tischeckboxGroup: boolean = false;\r\n\tcheckboxGroupName: any = '';\r\n\tcheckboxName: any = '';\r\n\thideControlViewSection: boolean = true;\r\n\tarrCopyPasteCtrlsTemp: any[] = [];\r\n\tisSendEnvelope: boolean = false;\r\n\ttextCtrlMaxValidation: any = 4000;\r\n\tuserToken: any;\r\n\tdisableNavigationBar: any = 'false';\r\n\tdisableBackArrowButton: any = 'false';\r\n\tdisableSaveDraftButton: any = 'false';\r\n\tenableFieldAlignmentClass: any = \"false\";\r\n\t@ViewChild(PaginationComponent) paginationComponent: PaginationComponent;\r\n\tisPageLoadingFirstTime: any = true;\r\n\tisAddColumnSpace: any;\r\n\tbodyElement: HTMLElement = document.body;\r\n\tisCopiedSelecteditems: boolean = false;\r\n\thideDependencies: any = true;\r\n\tdependecieClose: any;\r\n\tarrUndoCtrlsCount: any[] = [];\r\n\tprivate valueChangesSubscription: Subscription;\r\n\tdepenciestatus: boolean = false;\r\n\tenableMultiBranding: boolean = true;\r\n\tbranding: any;\r\n\tdefaultBranding: any;\r\n\tslides: any[] = [];\r\n\ttempTotalCountPerPage: any[] = [];\r\n\tisCtrlAndControlMouseSelection: any = false;\r\n\tctrlAndClickedControlsArr: any = [];\r\n\tisPortrait: boolean = false;\r\n\tisLandscape: boolean = false;\r\n\tconversionIteration: number = 0;\r\n\t//undo and redo variables starts\r\n\tundoRedoItems: any[] = [];\r\n\tcopiedContent: any;\r\n\tallControlsArr: any[] = [];\r\n\tundoFlag: any = 'false';\r\n\tredoFlag: any = 'false';\r\n\tisMultipleControlsActionFlag: boolean = false;\r\n\tcopyPastedcontrolsArr: any[] = [];\r\n\tcopyPastedcontrolsArrFlag: any = false;\r\n\tparseDefaultControlProperty: any;\r\n\ttemptotalControlCount: any = 0;\r\n\tdeleteCtrlItemsFlag: boolean = false;\r\n\tasteriskOriginalText: string = ''; // related to hide text with asterisks.\r\n\thiddenText: string = '';\r\n\tIsHideTextWithAsteriskChecked: boolean = false;\r\n\tisCheckboxDisabled: boolean = false;\r\n\t//undo redo variables ends\r\n\tprivate groupDynamicComponentRefs: ComponentRef | null = null;\r\n\tborderAppendedChild: any; //after selection showing border\r\n\tcontainerHeight: any = 0;\r\n\tcontainerWidth: any = 0;\r\n\r\n\tconstructor(\r\n\t\tprivate componentFactoryResolver: ComponentFactoryResolver,\r\n\t\tprivate injector: Injector,\r\n\t\tprivate appRef: ApplicationRef,\r\n\t\tpublic modalService: BsModalService,\r\n\t\tprivate toastrService: ToastrService,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate renderer2: Renderer2,\r\n\t\tprivate fb: FormBuilder,\r\n\t\tprivate controlPropertyService: ControlPropertyService,\r\n\t\tprivate authService: AuthService,\r\n\t\tprivate alignControlsService: AlignControlsService,\r\n\t\tprivate apiService: APIService,\r\n\t\tprivate router: Router,\r\n\t\tprivate defaultControlStyleService: DefaultControlStyleService,\r\n\t\tprivate sessionStorageService: SessionStorageService,\r\n\t\tprivate activatedRoute: ActivatedRoute,\r\n\t\tprivate titleService: Title,\r\n\t\tprivate cashedService: CashedService,\r\n\t\tprivate undoRedoStackService: UndoRedoStackService,\r\n\t\tprivate el: ElementRef,\r\n\t) {\r\n\r\n\t}\r\n\r\n\t@HostListener('window:unload', ['$event'])\r\n\tunloadHandler(event: Event) {\r\n\t\tthis.PostCall(event);\r\n\t}\r\n\r\n\t@HostListener('window:beforeunload', ['$event'])\r\n\tbeforeUnloadHander(event: Event) {\r\n\t\tlet ClickedSignMeOut: any = this.sessionStorageService.getClickedSignMeOut();\r\n\t\tif (this.hostListenerStatus == true || ClickedSignMeOut == \"true\") {\r\n\t\t\tthis.PostCall(event);\r\n\t\t\t//localStorage.clear();\r\n\t\t\t//sessionStorage.clear();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\r\n\t@HostListener('click', ['$event.target']) onClick(e: any) {\r\n\t\tif (e && e.className && e.className.includes('dispImg')) {\r\n\t\t\tthis.onClickOutsideSelectionArea();\r\n\t\t}\r\n\t}\r\n\t@HostListener('document:click', ['$event'])\r\n\tonSingleClick(event: KeyboardEvent) {\r\n\t\tif (this.clickTimeout) {\r\n\t\t\tclearTimeout(this.clickTimeout);\r\n\t\t\tthis.clickTimeout = null;\r\n\t\t}\r\n\r\n\t\tthis.clickTimeout = setTimeout(() => {\r\n\t\t\tthis.handleSingleClick(event);\r\n\t\t\tthis.clickTimeout = null;\r\n\t\t}, this.delay);\r\n\t}\r\n\r\n\t@HostListener('document:dblclick', ['$event'])\r\n\tonDoubleClick(event: KeyboardEvent) {\r\n\t\tif (this.clickTimeout) {\r\n\t\t\tclearTimeout(this.clickTimeout);\r\n\t\t\tthis.clickTimeout = null;\r\n\t\t\tthis.handleDoubleClick(event);\r\n\t\t}\r\n\t}\r\n\r\n\thandleSingleClick(event: KeyboardEvent) {\r\n\t\tif (event && event.target != null) {\r\n\t\t\tconst targetElement = event.target as HTMLElement;\r\n\t\t\tlet CurrentClickedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\tlet spncontrolEle: any = (document.getElementById(\"spn\" + CurrentClickedControl));\r\n\t\t\tlet resizablecontrolEle: any = (document.getElementById(\"resizable_\" + CurrentClickedControl));\r\n\t\t\tif (spncontrolEle && resizablecontrolEle) {\r\n\t\t\t\tlet originalText: any = resizablecontrolEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\tlet clickedAttribute: any = spncontrolEle.getAttribute('data-clickedAttribute');\r\n\t\t\t\tlet isHideTextWithAsterisk: any = resizablecontrolEle.getAttribute('data-isHideTextWithAsterisk');\r\n\t\t\t\tif (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n\t\t\t\t\tif (originalText) {\r\n\t\t\t\t\t\tconst asterisks = '*'.repeat(originalText.length); // Replace text with asterisks\r\n\t\t\t\t\t\tif (spncontrolEle.innerHTML !== '*'.repeat(originalText.length)) {\r\n\t\t\t\t\t\t\t//spncontrolEle.innerHTML = asterisks;\r\n\t\t\t\t\t\t\tspncontrolEle.textContent = asterisks;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tspncontrolEle.classList.add('add-text-ellipsis');\r\n\t\t\t\t\t\tif (!clickedAttribute && (clickedAttribute == 'false' || clickedAttribute == false)) {\r\n\t\t\t\t\t\t\tspncontrolEle.setAttribute('data-clickedAttribute', true);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\thandleDoubleClick(event: KeyboardEvent) {\r\n\t}\r\n\r\n\t@HostListener('document:click', ['$event'])\r\n\thandleClickEvent(event: KeyboardEvent) {\r\n\t\tif (this.clickTimeout) {\r\n\t\t\tclearTimeout(this.clickTimeout);\r\n\t\t\tthis.clickTimeout = null;\r\n\t\t}\r\n\t\tthis.clickTimeout = setTimeout(() => {\r\n\t\t\tthis.handleSingleClick(event);\r\n\t\t\tthis.clickTimeout = null;\r\n\t\t}, this.delay);\r\n\t\tif (event.ctrlKey && event.target != null) {\r\n\t\t\tif (this.isCtrlAndControlMouseSelection === true && event.ctrlKey != true) {\r\n\t\t\t\tthis.selectedItems = [];\r\n\t\t\t\tthis.commonService.selectedItems = [];\r\n\t\t\t\tthis.ctrlAndClickedControlsArr = [];\r\n\t\t\t}\r\n\t\t\tconst targetElement = event.target as HTMLElement;\r\n\t\t\tif (targetElement.offsetParent) {\r\n\t\t\t\tconst id = (targetElement.offsetParent as HTMLElement).id;\r\n\t\t\t\tif (id && id.startsWith('resizable_')) {\r\n\t\t\t\t\tthis.selectedItems.push(id);\r\n\t\t\t\t\tthis.ctrlAndClickedControlsArr.push(id);\r\n\t\t\t\t\tthis.isCtrlAndControlMouseSelection = false;\r\n\t\t\t\t\tlet resizableEle: any = document.getElementById(id);\r\n\t\t\t\t\tif (resizableEle) {\r\n\t\t\t\t\t\tresizableEle.style.background = 'bisque';\r\n\t\t\t\t\t\tlet length: any = this.selectedItems.length;\r\n\t\t\t\t\t\t// localStorage.setItem('selecteditemsLength', length);\r\n\t\t\t\t\t\tthis.sessionStorageService.setSelecteditemsLength(length);\r\n\t\t\t\t\t\tlet attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n\t\t\t\t\t\tlet spnSelectEle: any = document.getElementById('spn' + id.replace('resizable_', ''));\r\n\t\t\t\t\t\tif (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\t\tspnSelectEle.classList.add('mouse-selected');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tspnSelectEle.style.background = '';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@HostListener('window:keydown', ['$event'])\r\n\thandleKeyboardEvent(event: KeyboardEvent) {\r\n\t\tthis.controlPropertyService.handleKeyboardEvent(event, this.selectedItems);\r\n\t}\r\n\r\n\tPostCall(event: any) {\r\n\t\t//event.preventDefault();\r\n\t}\r\n\r\n\tget pickerCtrl() {\r\n\t\treturn this.exampleForm.get('pickerCtrl') as FormControl;\r\n\t}\r\n\r\n\t@Output() elements: ContextualMenu[] = [\r\n\t\t// new ContextualMenu('Undo', () => console.log('test 1')),\r\n\t\t// new ContextualMenu('Redo', () => console.log('test 2')),\r\n\t\tnew ContextualMenu('Copy', () => console.log('test 3')),\r\n\t\tnew ContextualMenu('Paste', () => console.log('test 4')),\r\n\t\t// new ContextualMenu('Cut', () => console.log('test 5')),\r\n\t\tnew ContextualMenu('Duplicate', () => console.clear()),\r\n\t\tnew ContextualMenu('Delete', () => console.clear()),\r\n\t];\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.titleService.setTitle(\"RSign | Prepare Envelope\");\r\n\t\tthis.showLoader = true;\r\n\t\tlet routeEnvelopeQueryParam: any = '';\r\n\t\tlet routeEnvelopeId: any = '', originalSourceType: any = '';\r\n\r\n\t\t////Need to uncomment\r\n\t\t// this.activatedRoute.queryParams.subscribe(params => {\r\n\t\t// \tlet paramsId: any = params['id'];\r\n\t\t// \tif (paramsId == undefined) {\r\n\t\t// \t\twindow.location.href = environment.rsignUrl + NavigateUrlConfig.Send;\r\n\t\t// \t}\r\n\t\t// \telse {\r\n\t\t// \t\trouteEnvelopeQueryParam = this.commonService.decrypt(params['id']);\r\n\t\t// \t\trouteEnvelopeId = routeEnvelopeQueryParam.split('&')[0];\r\n\t\t// \t\tlet originalDomainVal = routeEnvelopeQueryParam.split('&')[1];\r\n\t\t// \t\toriginalSourceType = originalDomainVal.split('=')[1];\r\n\t\t// \t\t//console.log('OriginalSourceType==>', originalSourceType);\r\n\t\t// \t\tthis.sessionStorageService.setIntializePrepareDetails('Token', localStorage.getItem(\"Token\"));\r\n\t\t// \t\tthis.sessionStorageService.setIntializePrepareDetails('PrepareType', \"Envelope\");\r\n\t\t// \t\tthis.sessionStorageService.setIntializePrepareDetails('EnvelopeOrTemplateId', routeEnvelopeId);\r\n\t\t// \t\tthis.sessionStorageService.setIntializePrepareDetails('SourceUrlType', originalSourceType);\r\n\t\t// \t\tlet sourceURL: any = this.commonService.generateDomainRediRectURL(originalSourceType);\r\n\t\t// \t\tthis.sessionStorageService.setIntializePrepareDetails('SourceURL', sourceURL);\r\n\t\t// \t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t// \t\t\tthis.hostListenerStatus = true;\r\n\t\t// \t\t\tthis.commonService.redirectToMainApp(sourceURL);\r\n\t\t// \t\t}\r\n\t\t// \t\telse {\r\n\t\t// \t\t\tenableProdMode();\r\n\t\t// \t\t\tthis.selectedRecipentColor = this.receipentColorArr[0];\r\n\t\t// \t\t\tthis.selectedPanelRecipentColor = this.receipentColorArr[0];\r\n\t\t// \t\t\tthis.dragItemBgColor = this.receipentColorArr[0];\r\n\t\t// \t\t\tthis.selectDefaultSizeValue = '2';\r\n\t\t// \t\t\tthis.selectValidation = '1';\r\n\t\t// \t\t\tthis.selectAddtionalValidation = '1';\r\n\t\t// \t\t\tthis.resetPaginationCount();\r\n\t\t// \t\t\tthis.recipientsObj = { selectedRecipentName: '', selectedRecipentColor: this.selectedRecipentColor }\r\n\r\n\t\t// \t\t\tthis.dependencyIconClickedObj = {\r\n\t\t// \t\t\t\ttype: '1',\r\n\t\t// \t\t\t\tgroupColorCode: this.groupColorCode,\r\n\t\t// \t\t\t\tcurrentControlId: '',\r\n\t\t// \t\t\t\tisControlingField: true\r\n\t\t// \t\t\t};\r\n\r\n\t\t// \t\t\tthis.exampleForm = this.fb.group({\r\n\t\t// \t\t\t\tpickerCtrl: [this.defaultColorPicker]\r\n\t\t// \t\t\t});\r\n\r\n\t\t// \t\t\tthis.valueChangesSubscription = this.exampleForm.controls['pickerCtrl'].valueChanges.pipe(\r\n\t\t// \t\t\t\tdebounceTime(300)\r\n\t\t// \t\t\t).subscribe(color => {\r\n\t\t// \t\t\t\tthis.applyColorPicker(color);\r\n\t\t// \t\t\t});\r\n\t\t// \t\t\t// enableProdMode();\r\n\r\n\t\t// \t\t\tthis.getEnvelopeDetails();\r\n\t\t// \t\t}\r\n\t\t// \t}\r\n\t\t// });\r\n\r\n\t\tenableProdMode();\r\n\t\tthis.selectedRecipentColor = this.receipentColorArr[0];\r\n\t\tthis.selectedPanelRecipentColor = this.receipentColorArr[0];\r\n\t\tthis.dragItemBgColor = this.receipentColorArr[0];\r\n\t\tthis.selectDefaultSizeValue = '2';\r\n\t\tthis.selectValidation = '1';\r\n\t\tthis.selectAddtionalValidation = '1';\r\n\t\tthis.resetPaginationCount();\r\n\t\tthis.recipientsObj = { selectedRecipentName: '', selectedRecipentColor: this.selectedRecipentColor }\r\n\r\n\t\tthis.dependencyIconClickedObj = {\r\n\t\t\ttype: '1',\r\n\t\t\tgroupColorCode: this.groupColorCode,\r\n\t\t\tcurrentControlId: '',\r\n\t\t\tisControlingField: true\r\n\t\t};\r\n\r\n\t\tthis.exampleForm = this.fb.group({\r\n\t\t\tpickerCtrl: [this.defaultColorPicker]\r\n\t\t});\r\n\r\n\t\tthis.valueChangesSubscription = this.exampleForm.controls['pickerCtrl'].valueChanges.pipe(\r\n\t\t\tdebounceTime(300)\r\n\t\t).subscribe(color => {\r\n\t\t\tthis.applyColorPicker(color);\r\n\t\t});\r\n\t\tthis.getDefaultValues();\r\n\t}\r\n\r\n\tgetEnvelopeDetails() {\r\n\t\tlet preparePageUrlData = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (preparePageUrlData && preparePageUrlData.PreparePageUrl) {\r\n\t\t\tconsole.log(\"Envelope Prepare:\" + preparePageUrlData.PreparePageUrl)\r\n\t\t}\r\n\t\tlet envelopeTokenDetails: any = this.authService.getDetails();\r\n\t\tif (envelopeTokenDetails) {\r\n\t\t\tlet tokenDetails = JSON.parse(envelopeTokenDetails);\r\n\t\t\tlet prepareType: any = '', envelopeOrTemplateId: any;\r\n\t\t\tif (tokenDetails) {\r\n\t\t\t\tprepareType = tokenDetails.prepareType;\r\n\t\t\t\tenvelopeOrTemplateId = tokenDetails.envelopeOrTemplateId;\r\n\t\t\t\tlet getDetailsUrl: any = ApiUrlConfig.GetEnvelopeDetailsUrl + \"?envelopeId=\" + envelopeOrTemplateId;\r\n\t\t\t\tconsole.log(\"Calling GetEnvelopeDetails API:\" + new Date().toLocaleString());\r\n\t\t\t\tthis.apiService.get(getDetailsUrl).subscribe(\r\n\t\t\t\t\t(resp: any) => {\r\n\t\t\t\t\t\tif (resp && resp.statusCode == 200) {\r\n\t\t\t\t\t\t\tconsole.log(\"GetEnvelopeDetails response loaded:\" + new Date().toLocaleString());\r\n\t\t\t\t\t\t\tif (resp && resp != '' && resp.envelopeDetails) {\r\n\t\t\t\t\t\t\t\tthis.authService.setUserDetails(resp.envelopeDetails.userViewModel);\r\n\t\t\t\t\t\t\t\tthis.commonService.updateHeader();\r\n\r\n\t\t\t\t\t\t\t\tif (resp.envelopeDetails.disableOptions) {\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDisableTabOptions(resp.envelopeDetails.disableOptions);\r\n\t\t\t\t\t\t\t\t\tthis.commonService.getDisableNavBtns(resp.envelopeDetails.disableOptions);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setCulture(resp.envelopeDetails.cultureInfo)\r\n\t\t\t\t\t\t\t\tif (resp.envelopeDetails.cultureInfo == \"es-es\") {\r\n\t\t\t\t\t\t\t\t\tlet modifiedValidationsDateOptions: any[] = [];\r\n\t\t\t\t\t\t\t\t\tfor (let index = 0; index < this.validationsDateOptions.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\tmodifiedValidationsDateOptions.push({ label: this.validationsDateOptions[index].label.replaceAll('y', 'a'), value: index + 1 });\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.validationsDateOptions = \"\";\r\n\t\t\t\t\t\t\t\t\tthis.validationsDateOptions = modifiedValidationsDateOptions;\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setValidationsDateOptions(this.validationsDateOptions);\r\n\r\n\t\t\t\t\t\t\t\t\tlet modifiedDateFormatOptions: any[] = [];\r\n\t\t\t\t\t\t\t\t\tfor (let index = 0; index < this.dateformat.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\tmodifiedDateFormatOptions.push({\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.dateformat[index].value,\r\n\t\t\t\t\t\t\t\t\t\t\tviewValue: this.dateformat[index].viewValue.replaceAll('y', 'a').replaceAll('US', 'EEUU'),\r\n\t\t\t\t\t\t\t\t\t\t\tdateFormatId: this.dateformat[index].dateFormatId\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.dateformat = \"\";\r\n\t\t\t\t\t\t\t\t\tthis.dateformat = modifiedDateFormatOptions;\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDateformat(this.dateformat);\r\n\r\n\t\t\t\t\t\t\t\t\tlet modifiedDateFormatValueOptions: any[] = [];\r\n\t\t\t\t\t\t\t\t\tfor (let index = 0; index < this.dateformatValue.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\tmodifiedDateFormatValueOptions.push({\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.dateformatValue[index].value,\r\n\t\t\t\t\t\t\t\t\t\t\tviewValue: this.dateformatValue[index].viewValue.replaceAll('y', 'a')\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.dateformatValue = \"\";\r\n\t\t\t\t\t\t\t\t\tthis.dateformatValue = modifiedDateFormatValueOptions;\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDateformatValue(this.dateformatValue);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tthis.validationsDateOptions = this.commonConstants.ValidationsDateOptions;\r\n\t\t\t\t\t\t\t\t\tthis.dateformat = this.commonConstants.Dateformat;\r\n\t\t\t\t\t\t\t\t\tthis.dateformatValue = this.commonConstants.DateformatValue;\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setValidationsDateOptions(this.validationsDateOptions);\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDateformat(this.dateformat);\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDateformatValue(this.dateformatValue);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.envelope = resp;\r\n\t\t\t\t\t\t\t\t// if (resp.envelopeDetails.tokenViewModel) {\r\n\t\t\t\t\t\t\t\t// \tlocalStorage.setItem(\"RefreshTokenModel\", JSON.stringify(resp.envelopeDetails.tokenViewModel));\r\n\t\t\t\t\t\t\t\t// }\r\n\r\n\t\t\t\t\t\t\t\tif (this.envelope && this.envelope.envelopeId != null && this.envelope.envelopeId != '' && this.envelope.envelopeDetails && this.envelope.envelopeDetails.envelopeImageInfo) {\r\n\t\t\t\t\t\t\t\t\tconsole.log(this.envelope.envelopeId != null && this.envelope.envelopeId != '' ? \"EnvelopeId:\" + this.envelope.envelopeId.toLowerCase() : '')\r\n\t\t\t\t\t\t\t\t\tconsole.log(\"EDisplayCode:\" + this.envelope.envelopeDetails.eDisplayCode);\r\n\r\n\t\t\t\t\t\t\t\t\tthis.hideFixedwidthCheckbox = this.envelope.envelopeDetails.hideFixedwidthCheckbox;\r\n\t\t\t\t\t\t\t\t\tthis.controlPropertyService.setHideFixedwidthCheckbox(this.hideFixedwidthCheckbox);\r\n\t\t\t\t\t\t\t\t\tthis.integrationResponse = this.envelope;\r\n\t\t\t\t\t\t\t\t\tthis.isEnvelopeEdited = (this.envelope.envelopeDetails.isEdited != null && this.envelope.envelopeDetails.isEdited != false) ? true : false; //Update and Resend\r\n\r\n\t\t\t\t\t\t\t\t\tlet documentImageConversionMaxLimit: any = this.envelope.envelopeDetails.documentImageConversionMaxLimit; //CommonConstants.DocumentImageConversionMaxLimit\r\n\r\n\t\t\t\t\t\t\t\t\t//debugger;\r\n\t\t\t\t\t\t\t\t\t//when refreshing the browser\r\n\t\t\t\t\t\t\t\t\t// let allImagesProcessed: any = localStorage.getItem(\"AllImagesProcessed\");\r\n\t\t\t\t\t\t\t\t\tlet allImagesProcessed: any = this.sessionStorageService.getAllImagesProcessed();\r\n\t\t\t\t\t\t\t\t\tif (allImagesProcessed == null || allImagesProcessed == \"false\") this.allImagesProcessed = false;\r\n\t\t\t\t\t\t\t\t\telse if (allImagesProcessed && allImagesProcessed != null && allImagesProcessed == \"true\") this.allImagesProcessed = false;\r\n\r\n\t\t\t\t\t\t\t\t\t// if (this.allImagesProcessed == true) {\r\n\t\t\t\t\t\t\t\t\t// \t// let allImagesArray: any = localStorage.getItem(\"AllImagesArray\");\r\n\t\t\t\t\t\t\t\t\t// \tlet allImagesArray: any = this.sessionStorageService.getAllImagesArray();\r\n\t\t\t\t\t\t\t\t\t// \tallImagesArray = JSON.parse(allImagesArray);\r\n\t\t\t\t\t\t\t\t\t// \tif (allImagesArray && allImagesArray.length > 0) {\r\n\t\t\t\t\t\t\t\t\t// \t\tthis.imagesArr = [];\r\n\t\t\t\t\t\t\t\t\t// \t\tthis.totalDocPageImagesCount = allImagesArray.length;\r\n\t\t\t\t\t\t\t\t\t// \t\tthis.imagesArr.length = this.totalDocPageImagesCount - 1;\r\n\t\t\t\t\t\t\t\t\t// \t\tlet conversionImagesArray: any = [];\r\n\t\t\t\t\t\t\t\t\t// \t\tallImagesArray.forEach((element: any) => {\r\n\t\t\t\t\t\t\t\t\t// \t\t\tlet path: any = \"?id=\" + element.id + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n\t\t\t\t\t\t\t\t\t// \t\t\tlet imgPath: any = this.baseUrl + ApiUrlConfig.GetEnvelopeImages + path;\r\n\r\n\t\t\t\t\t\t\t\t\t// \t\t\tif (element.id <= documentImageConversionMaxLimit) {\r\n\r\n\t\t\t\t\t\t\t\t\t// \t\t\t}\r\n\t\t\t\t\t\t\t\t\t// \t\t\telse {\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\tconversionImagesArray.push({\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\timagePathUrl: imgPath, id: element.id, documentId: element.documentId, width: element.width, height: element.height, isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: element.docPageNo, document: {\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\t\tid: element.document.id,\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\t\tname: element.document.name\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\tcontrolsCount: 0\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t// \t\t\t}\r\n\t\t\t\t\t\t\t\t\t// \t\t\tthis.imagesArr[element.id - 1] = {\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\tpath: imgPath, isActive: false, id: element.id, imageId: element.id, documentId: element.documentId, width: element.width, height: element.height, isVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: element.docPageNo, document: {\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\tid: element.document.id,\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t\tname: element.document.name\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t// \t\t\t\tcontrolsCount: 0\r\n\t\t\t\t\t\t\t\t\t// \t\t\t};\r\n\t\t\t\t\t\t\t\t\t// \t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t// \t\tif (conversionImagesArray && conversionImagesArray.length > 0) {\r\n\t\t\t\t\t\t\t\t\t// \t\t\tthis.addPaginationDisabledClass();\r\n\t\t\t\t\t\t\t\t\t// \t\t\tthis.allImagesProcessed = false;\r\n\t\t\t\t\t\t\t\t\t// \t\t\tthis.checkForAllImagesLoaded(conversionImagesArray, documentImageConversionMaxLimit, \"fromrefresh\");\r\n\t\t\t\t\t\t\t\t\t// \t\t}\r\n\t\t\t\t\t\t\t\t\t// \t\telse {\r\n\t\t\t\t\t\t\t\t\t// \t\t\tthis.updateLocalStorageInfo();\r\n\t\t\t\t\t\t\t\t\t// \t\t\t//this.updateEnvelopeDocumentControlInformation();\r\n\t\t\t\t\t\t\t\t\t// \t\t}\r\n\t\t\t\t\t\t\t\t\t// \t}\r\n\t\t\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t\t\t\t//else {\r\n\t\t\t\t\t\t\t\t\t//Get envelope Image Information\r\n\r\n\t\t\t\t\t\t\t\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.envelopeImageInfo) {\r\n\t\t\t\t\t\t\t\t\t\tlet envelopeImageDetails: any = this.envelope.envelopeDetails.envelopeImageInfo;\r\n\t\t\t\t\t\t\t\t\t\tif (envelopeImageDetails.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tthis.imagesArr = [];\r\n\t\t\t\t\t\t\t\t\t\t\tlet conversionInitialImagesArray: any = [];\r\n\t\t\t\t\t\t\t\t\t\t\tfor (let index = 0; index < envelopeImageDetails.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconst element = envelopeImageDetails[index];\r\n\t\t\t\t\t\t\t\t\t\t\t\t//initially get documentImageConversionMaxLimit pages only for get the correct order of images\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet width: any = '';\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (element.id <= documentImageConversionMaxLimit) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet path: any = \"?id=\" + element.id + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet imagePathUrl: any = this.baseUrl + ApiUrlConfig.GetEnvelopeImages + path;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (element.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (element.dimension.width > element.dimension.height) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth = \"1015px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.isLandscape = true;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.isPortrait = true;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth = \"915px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\telse if (element.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth = '950px';\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.isLandscape = true;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.imagesArr.push({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpath: imagePathUrl, isActive: false, id: index + 1, imageId: element.id, documentId: element.document.id, width: width, height: element.dimension.height,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tisVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocPageNo: element.docPageNo,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument: {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: element.document.id,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname: element.document.name\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolsCount: 0\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (element.id > 10) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tconversionInitialImagesArray.push({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\timagePathUrl: imagePathUrl, id: index + 1, imageId: element.id, documentId: element.document.id, width: width, height: element.dimension.height,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocPageNo: element.docPageNo,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument: {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: element.document.id,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname: element.document.name\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolsCount: 0\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (index == 0) { this.previewObj = { 'documentName': element.document.name != '' ? element.document.name : '' } }\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (conversionInitialImagesArray && conversionInitialImagesArray.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.addPaginationDisabledClass();\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.allImagesProcessed = false;\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.checkForAllImagesLoaded(conversionInitialImagesArray, documentImageConversionMaxLimit, \"InitalLoad\");\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tthis.totalDocPageImagesCount = this.envelope.envelopeDetails.totalDocPageImagesCount;\r\n\t\t\t\t\t\t\t\t\tif (this.imagesArr && this.imagesArr.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\tif (this.totalDocPageImagesCount != this.imagesArr.length && this.allImagesProcessed == false) {\r\n\t\t\t\t\t\t\t\t\t\t\tthis.allImagesProcessed = false;\r\n\t\t\t\t\t\t\t\t\t\t\tif (this.allImagesProcessed == false) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet initialImagesArrayLength = this.imagesArr.length;\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.imagesArr.length = this.totalDocPageImagesCount - 1;\r\n\t\t\t\t\t\t\t\t\t\t\t\tfor (let index = initialImagesArrayLength; index <= this.totalDocPageImagesCount - 1; index++) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet imgIndex: Number = Number(index) + 1;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet path: any = \"?id=\" + imgIndex + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet imagePathUrl: any = this.baseUrl + ApiUrlConfig.GetEnvelopeImages + path;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tvar currentImgItem: any = this.envelope.envelopeDetails.envelopeImageInfo[index];\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet width: any = '100%', height: any = '', imgObj: any, documentId: any = '', docPageNo: any = '', isTemplateDatedBeforePortraitLandscapeFeature = false;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet documentObj: any = { id: '', name: '' };\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (currentImgItem) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (currentImgItem.dimension.width > currentImgItem.dimension.height) width = \"1015px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\telse width = \"915px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse if (currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth = '950px';\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\theight = currentImgItem.dimension.height;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocumentId = currentImgItem.document.id;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature = currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocPageNo = currentImgItem.docPageNo;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocumentObj = { id: currentImgItem.document.id, name: currentImgItem.document.name };\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\timgObj = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpath: imagePathUrl, isActive: false, id: imgIndex, imageId: imgIndex, documentId: documentId, width: width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: height, isVisible: false, isTemplateDatedBeforePortraitLandscapeFeature: isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: docPageNo,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument: documentObj,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolsCount: 0\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.imagesArr[index] = imgObj;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlet imgControl: any = document.getElementById(\"imgControl_\" + imgIndex);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (imgControl && imgControl != null) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\timgControl.style.display = 'none';\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}, 20);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t//console.log(\"All \" + this.totalDocPageImagesCount + \" images are not loaded\");\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.addPaginationDisabledClass();\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet timeoutVal: any = this.totalDocPageImagesCount.length >= 50 ? 10000 : 3000;\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.retriveConversionImages(initialImagesArrayLength);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}, timeoutVal);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.updateLocalStorageInfo();\r\n\t\t\t\t\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//}\r\n\r\n\t\t\t\t\t\t\t\t\tthis.isPrefillExists = false;\r\n\t\t\t\t\t\t\t\t\t//Get envelope recipients Information\r\n\t\t\t\t\t\t\t\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.recipientList) {\r\n\t\t\t\t\t\t\t\t\t\tlet recpDetails: any = this.envelope.envelopeDetails.recipientList.filter((rec: any) => (rec.recipientTypeID.toLowerCase() == RecipientType.Signer || rec.recipientTypeID.toLowerCase() == RecipientType.Prefill));\r\n\t\t\t\t\t\t\t\t\t\tif (recpDetails && recpDetails.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tif (recpDetails.length > 100) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tfor (let index = 101; index <= recpDetails.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.receipentColorArr.push(this.receipentColorArr[Math.round(Math.random() * 24)]);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tthis.receipentListArr = [];\r\n\t\t\t\t\t\t\t\t\t\t\tlet prefillRecpDetails: any = this.envelope.envelopeDetails.recipientList.filter((rec: any) => (rec.recipientTypeID.toLowerCase() == RecipientType.Prefill));\r\n\t\t\t\t\t\t\t\t\t\t\tif (prefillRecpDetails && prefillRecpDetails.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tprefillRecpDetails.forEach((precp: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet recpName = precp.recipientName + this.commonConstants.PrefillNotation;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.receipentListArr.push({ id: precp.id, name: recpName, order: precp.order });\r\n\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.isPrefillExists = true;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\trecpDetails.forEach((recp: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (recp.recipientTypeID.toLowerCase() != RecipientType.Prefill) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.receipentListArr.push({ id: recp.id, name: recp.recipientName, order: recp.order });\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tthis.authService.setRecipientColorDetails(this.receipentColorArr);\r\n\t\t\t\t\t\t\t\t\t\t\tthis.authService.setRecipientDetails(this.receipentListArr);\r\n\t\t\t\t\t\t\t\t\t\t\tthis.selectedRecipentName = this.receipentListArr[0].name;\r\n\t\t\t\t\t\t\t\t\t\t\tthis.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n\t\t\t\t\t\t\t\t\t\t\tthis.selectedRecipentId = this.receipentListArr[0].id;\r\n\t\t\t\t\t\t\t\t\t\t\tthis.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n\t\t\t\t\t\t\t\t\t\t\tthis.recipientsObj = {\r\n\t\t\t\t\t\t\t\t\t\t\t\tselectedRecipentName: this.selectedRecipentName,\r\n\t\t\t\t\t\t\t\t\t\t\t\tselectedRecipentColor: this.selectedRecipentColor\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t// let disableButtonStr: any = localStorage.getItem(\"DisableStr\");\r\n\t\t\t\t\t\t\t\t\tlet disableButtonStr: any = this.sessionStorageService.getDisableTabOptions();\r\n\t\t\t\t\t\t\t\t\tif (disableButtonStr && disableButtonStr != '' && disableButtonStr != null) {\r\n\t\t\t\t\t\t\t\t\t\tlet splitDisableButtonArr: any = JSON.parse(disableButtonStr);\r\n\t\t\t\t\t\t\t\t\t\tif (splitDisableButtonArr) {\r\n\t\t\t\t\t\t\t\t\t\t\tif (splitDisableButtonArr.DisableNavigationBar == true) this.disableNavigationBar = 'true';\r\n\t\t\t\t\t\t\t\t\t\t\tif (splitDisableButtonArr.DisableBackArrow == true) this.disableBackArrowButton = 'true';\r\n\t\t\t\t\t\t\t\t\t\t\tif (splitDisableButtonArr.DisableSaveDraft == true) this.disableSaveDraftButton = 'true';\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t//Branding api call\r\n\t\t\t\t\t\t\t\t\tthis.enableMultiBranding = this.envelope.envelopeDetails.enableMultiBranding;\r\n\t\t\t\t\t\t\t\t\tif (this.enableMultiBranding) {\r\n\t\t\t\t\t\t\t\t\t\tthis.getBrandingDetails();\r\n\t\t\t\t\t\t\t\t\t\tlet isAdddropBorder: any = document.getElementById('isAdddropBorder');\r\n\t\t\t\t\t\t\t\t\t\tif (isAdddropBorder) {\r\n\t\t\t\t\t\t\t\t\t\t\tisAdddropBorder.classList.add('drop-border');\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t//Get envelope details\r\n\t\t\t\t\t\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n\t\t\t\t\t\t\t\t\tthis.envelopeCultureInfo = this.envelope.envelopeDetails.cultureInfo;\r\n\r\n\t\t\t\t\t\t\t\t\t// this.updateEnvelopeInformation();\r\n\t\t\t\t\t\t\t\t\tlet defaultControlProperty: any = this.envelope.envelopeDetails.defaultControlStyle;\r\n\t\t\t\t\t\t\t\t\tif (defaultControlProperty && defaultControlProperty !== '') {\r\n\t\t\t\t\t\t\t\t\t\tthis.parseDefaultControlProperty = JSON.parse(defaultControlProperty);\r\n\t\t\t\t\t\t\t\t\t\tthis.parseDefaultControlProperty = this.defaultControlStyleService.removeLowercaseDefaultStyles(this.parseDefaultControlProperty);\r\n\t\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDefaultControlStyles(this.parseDefaultControlProperty);\r\n\t\t\t\t\t\t\t\t\t\tthis.updatedSaveAsDefaultSavedData(this.parseDefaultControlProperty, this.envelopeCultureInfo);\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tthis.isEnvelopeEditable = (this.envelope.envelopeDetails.isTemplateEditable != null && this.envelope.envelopeDetails.isTemplateEditable != false) ? true : false;\r\n\t\t\t\t\t\t\t\t\tthis.enableDependenciesFeature = this.envelope.envelopeDetails.enableDependenciesFeature;\r\n\t\t\t\t\t\t\t\t\tthis.isStoreControlId = this.envelope.envelopeDetails.isStoreControlId;\r\n\t\t\t\t\t\t\t\t\tthis.enableFileReview = this.envelope.envelopeDetails.enableFileReview;\r\n\t\t\t\t\t\t\t\t\tthis.controlPropertyService.enableShowControlId(this.isStoreControlId);\r\n\t\t\t\t\t\t\t\t\tthis.defaultUserSettingsTypographySize = this.envelope.envelopeDetails.typography;\r\n\t\t\t\t\t\t\t\t\tthis.defaultTypographySize = this.envelope.envelopeDetails.typography;\r\n\t\t\t\t\t\t\t\t\tif (this.envelope.envelopeDetails.typography == null || this.envelope.envelopeDetails.typography == undefined) this.defaultTypographySize = \"px\";\r\n\t\t\t\t\t\t\t\t\telse this.defaultTypographySize = this.envelope.envelopeDetails.typography;\r\n\t\t\t\t\t\t\t\t\tthis.autoSaveEnvasDraft();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.signatureControlRequired = this.envelope.envelopeDetails.signatureControlRequired;\r\n\r\n\t\t\t\t\t\t\t\t\t// localStorage.setItem(\"isEnvelopeEditable\", this.isEnvelopeEditable == true ? \"true\" : \"false\");\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setIsEnvelopeEditable(this.isEnvelopeEditable == true ? 'true' : 'false');\r\n\t\t\t\t\t\t\t\t\t//localStorage.setItem(\"enableDependenciesFeature\", this.enableDependenciesFeature == true ? \"true\" : \"false\");\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setEnableDependenciesFeature(this.enableDependenciesFeature == true ? 'true' : 'false');\r\n\t\t\t\t\t\t\t\t\tthis.handleConfigureDataEvents();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\t\tlet sourceUrlType: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t\t\twindow.location.href = sourceUrlType + NavigateUrlConfig.Send;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\twindow.location.href = environment.rsignUrl + NavigateUrlConfig.Send;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\tlet sourceUrlType: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t\twindow.location.href = sourceUrlType + NavigateUrlConfig.Send;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\twindow.location.href = environment.rsignUrl + NavigateUrlConfig.Send;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.documentData = { pages: this.imagesArr, totalImagesCount: this.totalDocPageImagesCount };\r\n\t\t\t\t\t\t\tthis.updateTempTotalCountPerPage();\r\n\t\t\t\t\t\t\tthis.commonService.updatePrevObject(\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t'totalControls': 0,\r\n\t\t\t\t\t\t\t\t\t'pageNumber': 1,\r\n\t\t\t\t\t\t\t\t\t'tempTotalCountPerPage': this.tempTotalCountPerPage,\r\n\t\t\t\t\t\t\t\t\t// 'documentList': this.imagesArr,\r\n\t\t\t\t\t\t\t\t\t'totalImagesCount': this.totalDocPageImagesCount\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\t\t\t\t\t\tlet userEmail: any = '';\r\n\t\t\t\t\t\t\tif (getUserDetails && getUserDetails.emailID) { userEmail = getUserDetails.emailID; }\r\n\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('EnvelopeID', envelopeOrTemplateId);\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('EmailId', userEmail);\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('PageName', \"initialize prepare envelope\");\r\n\r\n\t\t\t\t\t\t\tif (resp.authMessage) this.toastrService.warning(resp.authMessage, 'Warning');\r\n\t\t\t\t\t\t\telse if (resp.message) {\r\n\t\t\t\t\t\t\t\tif (resp.message == \"Access denied due to security reasons. Please close your browser tabs and re-login again.\") {\r\n\t\t\t\t\t\t\t\t\t// localStorage.setItem(\"DisplayMessage\", resp.message);\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setDisplayMessage(resp.message);\r\n\t\t\t\t\t\t\t\t\tthis.router.navigate(['/info']);\r\n\t\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tthis.toastrService.warning(resp.message, 'Warning'); this.router.navigate(['/global-error']);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse this.toastrService.warning(CommonConstants.TokenValidatedMsg, 'Warning');\r\n\t\t\t\t\t\t\tthis.router.navigate(['/global-error']);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\thandleConfigureDataEvents() {\r\n\t\t// Getting control fields\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.activeCtrlId = this.getDragActiveID(data);\r\n\t\t\t\tlet previousSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl()\r\n\t\t\t\tif (previousSelectedControl) {\r\n\t\t\t\t\tlet spncontrolEle: any = (document.getElementById(\"spn\" + previousSelectedControl));\r\n\t\t\t\t\tlet resizablecontrolEle: any = (document.getElementById(\"resizable_\" + previousSelectedControl));\r\n\t\t\t\t\tlet originalText: any = resizablecontrolEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\t\tlet clickedAttribute: any = spncontrolEle.getAttribute('data-clickedAttribute');\r\n\t\t\t\t\tlet isHideTextWithAsterisk: any = resizablecontrolEle.getAttribute('data-isHideTextWithAsterisk');\r\n\t\t\t\t\tif (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n\t\t\t\t\t\tif (originalText) {\r\n\t\t\t\t\t\t\tconst asterisks = '*'.repeat(originalText.length); // Replace text with asterisks\r\n\t\t\t\t\t\t\tif (spncontrolEle.innerHTML !== '*'.repeat(originalText.length)) {\r\n\t\t\t\t\t\t\t\tspncontrolEle.innerHTML = asterisks;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tspncontrolEle.classList.add('add-text-ellipsis');\r\n\t\t\t\t\t\t\tif (!clickedAttribute && (clickedAttribute == 'false' || clickedAttribute == false)) {\r\n\t\t\t\t\t\t\t\tspncontrolEle.setAttribute('data-clickedAttribute', true);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.sessionStorageService.setCurrentClickedDroppedControl(data.id);\r\n\t\t\t\tthis.updateRecipientPanelControlProperties();\r\n\t\t\t\tthis.showControlFields(data.originalTitle.toLowerCase());\r\n\t\t\t\tlet depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\r\n\t\t\t\tif (event.ctrlKey === false) {\r\n\t\t\t\t\tthis.controlPropertyService.removePreviousControlSelection(this.ctrlAndClickedControlsArr);\r\n\t\t\t\t\tthis.selectedItems = [];\r\n\t\t\t\t\tthis.commonService.selectedItems = [];\r\n\t\t\t\t\tthis.selectedItems.push('resizable_' + data.id);\r\n\t\t\t\t\tthis.ctrlAndClickedControlsArr = [];\r\n\t\t\t\t\tthis.ctrlAndClickedControlsArr.push('resizable_' + data.id);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.applyStylesToSelectedRecipient(this.selectedPanelRecipentId, \"2\", \"clicked\");\r\n\t\t\t\t\tthis.controlPropertyService.applyIdAndHtmlId(data);\r\n\t\t\t\t\tthis.updateSaveAsDefaultCheckedOrNot(data.id);\r\n\t\t\t\t\tthis.hidePagesViewSection = true;\r\n\t\t\t\t\tif (this.isClose === false && this.hideDependencies == false) {\r\n\t\t\t\t\t\tdepencieContainerResponsive.classList.remove('depencie-W');\r\n\t\t\t\t\t\tdepencieContainerResponsive.classList.add('depencie-AdjustW');\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.updateLengthOrMaxCharLimitLabel();\r\n\r\n\t\t\t\t\t//updated init controle is checked or not based on attribute\r\n\t\t\t\t\tif (data && data.dataGuid && data.dataGuid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n\t\t\t\t\t\tthis.controlPropertyService.checkeInitOnEachPageProperties(data.id);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (data && data.dataGuid && data.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\t\t\t\tlet resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + data.id);\r\n\t\t\t\t\t\tlet addTextTextarea: any = document.getElementById('addTextTextarea');\r\n\t\t\t\t\t\tlet dataPrefill: any = resizableCurrentSelectedControl.getAttribute('data-prefill');\r\n\t\t\t\t\t\tlet datadisplayLabel: any = resizableCurrentSelectedControl.getAttribute('data-displayLabel');\r\n\t\t\t\t\t\tif (dataPrefill == \"true\") {\r\n\t\t\t\t\t\t\tif (addTextTextarea) addTextTextarea.setAttribute('maxlength', '4000');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tif (addTextTextarea) addTextTextarea.setAttribute('maxlength', '400');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 100);\r\n\t\t\t});\r\n\r\n\t\t//remove control\r\n\t\tthis.commonService.callRemoveControlComponent$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { data: any; label: any; }) => {\r\n\t\t\t\tconst { data, label } = value;\r\n\t\t\t\tlet currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\t\tif (label === 'ctrlHover') {\r\n\t\t\t\t\tlet isMyclassPresent = document.getElementsByClassName('selectionBorderId');\r\n\t\t\t\t\tif (isMyclassPresent) {\r\n\t\t\t\t\t\tlet list: any = localStorage.getItem('selectedList');\r\n\t\t\t\t\t\tlet selectedItemsList: any = JSON.parse(list);\r\n\t\t\t\t\t\tif (selectedItemsList && selectedItemsList.length > 0) {\r\n\t\t\t\t\t\t\tselectedItemsList.forEach((ele: any) => {\r\n\t\t\t\t\t\t\t\tthis.removeControlComponent(value, ele.replace('resizable_', ''));\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tthis.groupDynamicComponentRefs?.destroy();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.removeControlComponent(value, currentControlId);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (this.selectedItems && this.selectedItems.length > 0) {\r\n\t\t\t\t\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\t\t\t\t\tconst dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n\t\t\t\t\t\t\tif (dynamicComponentRef) {\r\n\t\t\t\t\t\t\t\tthis.removeControlComponent(value, ele.replace('resizable_', ''));\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tthis.removeControlComponent(value, currentControlId);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.removeControlComponent(value, currentControlId);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.resetCopyPasteUndoRedoList();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t//open dependency modal\r\n\t\tthis.commonService.callOpenDependencyPopup$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((event: any) => {\r\n\t\t\t\t// this.openModal('', 'adddependencies', '');\r\n\t\t\t\tthis.showDependenciesFields('');\r\n\t\t\t});\r\n\r\n\t\t// Getting recipent obj\r\n\t\tthis.commonService.callOnRecipentChange$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tthis.onRecipentChange(data);\r\n\t\t\t});\r\n\r\n\t\t//onmouseover changiing the recipient\r\n\t\tthis.commonService.callOnMouseOverRecipentChange$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tthis.onRecipentOverSelect(data.recipent, data.selectedColor);\r\n\t\t\t});\r\n\r\n\t\t//creating duplicate control event\r\n\t\tthis.commonService.callOpenCreateDuplicateControl$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tthis.copyPastedcontrolsArr = [];\r\n\t\t\t\tthis.createControl(data, ControlConfig.Duplicate, 'false');\r\n\t\t\t});\r\n\r\n\t\tthis.commonService.callUpdateSignerMultipleControl$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tthis.openModal('', 'multiplesignerupdate', '')\r\n\t\t\t});\r\n\r\n\t\tthis.zoomList = ['50', '75', '100', '125', '150', '175', '200'];\r\n\t\t//Check show or hide Dependencies Button\r\n\t\tthis.showHideDependenciesButton();\r\n\t\tthis.updateColorCode(this.groupColorCode);\r\n\r\n\t\t//Disable Redo and Undo Buttons\r\n\t\tthis.arrCopyPasteCtrl = [];\r\n\t\tthis.arrUndoRedoCtrl = [];\r\n\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\tthis.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\r\n\t\tthis.disableRedoButtons();\r\n\t\tthis.disableUndoButtons();\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.applyStylesToSelectedRecipient(this.selectedRecipentId, \"1\", \"\");\r\n\t\t}, 100);\r\n\r\n\r\n\t\tthis.showLoader = false;\r\n\t\tthis.commonService.setTextOrNameAreaSetting$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.setTextOrNameAreaSetting(data);\r\n\t\t\t\t}, 300);\r\n\t\t\t})\r\n\r\n\t\t//right click and if user select delete option\r\n\t\tthis.commonService.selectedRightClickOption$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { data: any; label: any; }) => {\r\n\t\t\t\tconst { data, label } = value;\r\n\t\t\t\tif (data.which != 3) {\r\n\t\t\t\t\tlet isMyclassPresent = document.getElementById('selectionBorderId');\r\n\t\t\t\t\tif (isMyclassPresent) {\r\n\t\t\t\t\t\tlet list: any = localStorage.getItem('selectedList');\r\n\t\t\t\t\t\tthis.selectedItems = JSON.parse(list);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\t\t\tif (label === 'Delete') {\r\n\t\t\t\t\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\t\t\t\t\tthis.deleteItems(this.selectedItems);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\t\t\t\t\t\tif (ele) {\r\n\t\t\t\t\t\t\t\t\tconst dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n\t\t\t\t\t\t\t\t\tif (dynamicComponentRef) {\r\n\t\t\t\t\t\t\t\t\t\tthis.removeControl(ele.replace('resizable_', ''), data);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.updateUndoCtrlsCount();\r\n\t\t\t\t\t\t\t\tthis.arrCopyPasteCtrl = [];\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\t\t\t\t\t\t\tthis.disableRedoButtons();\r\n\t\t\t\t\t\t\t\tthis.disableUndoButtons();\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else if (label === 'Duplicate') {\r\n\t\t\t\t\t\t\tthis.copyPastedcontrolsArr = [];\r\n\t\t\t\t\t\t\tthis.createDupicateControl(data);\r\n\t\t\t\t\t\t\tthis.onClickOutsideSelectionArea();\r\n\t\t\t\t\t\t\tthis.updateUndoCtrlsCount();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Copy') {\r\n\t\t\t\t\t\t\tthis.onCopyFun();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Undo') {\r\n\t\t\t\t\t\t\t// this.undo(data);\r\n\t\t\t\t\t\t\tthis.undoCtrl(data);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Redo') {\r\n\t\t\t\t\t\t\t// this.onRedoFun({});\r\n\t\t\t\t\t\t\tthis.redoCtrl(data);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Paste') {\r\n\t\t\t\t\t\t\t// this.onPasteFun(data);\r\n\t\t\t\t\t\t\tthis.onPaste();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif (label === 'Undo') {\r\n\t\t\t\t\t\t\t// this.undo(data);\r\n\t\t\t\t\t\t\tthis.undoCtrl(data);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Redo') {\r\n\t\t\t\t\t\t\t// this.onRedoFun(data);\r\n\t\t\t\t\t\t\tthis.redoCtrl(data);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Copy') {\r\n\t\t\t\t\t\t\tthis.onCopyFun();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (label === 'Paste') {\r\n\t\t\t\t\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\t\t\t\t\t// this.onPasteFun(data);\r\n\t\t\t\t\t\t\t\tthis.onPaste();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (isMyclassPresent) {\r\n\t\t\t\t\t\tthis.removeSelectedBorderDiv();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t// Mouse selection controls\r\n\t\tthis.controlSelection();\r\n\t}\r\n\r\n\tupdateEnvelopeDocumentControlInformation() {\r\n\t\t//Get envelope sign and review document and controls Information\r\n\t\tlet docSignName = \"\";\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.showLoader = true;\r\n\t\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.documentDetails) {\r\n\t\t\t\tlet documentDetails: any = this.envelope.envelopeDetails.documentDetails;\r\n\t\t\t\tif (documentDetails && documentDetails.length > 0) {\r\n\t\t\t\t\tdocumentDetails = documentDetails.sort((a: any, b: any) => a.order > b.order ? 1 : -1);\r\n\t\t\t\t\tfor (let index = 0; index < documentDetails.length; index++) {\r\n\t\t\t\t\t\tconst documentElement = documentDetails[index];\r\n\t\t\t\t\t\tif (documentElement.actionType != \"Review\" && docSignName == \"\") {\r\n\t\t\t\t\t\t\tdocSignName = documentElement.documentName != '' ? documentElement.documentName : '';\r\n\t\t\t\t\t\t\tthis.previewObj = { 'documentName': docSignName };\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet documentDetailsList = documentDetails;\r\n\t\t\t\tif (documentDetailsList && documentDetailsList.length > 0) {\r\n\t\t\t\t\tfor (let index = 0; index < documentDetailsList.length; index++) {\r\n\t\t\t\t\t\tconst docItem: any = documentDetailsList[index];\r\n\t\t\t\t\t\tlet document_id: any = docItem.id;\r\n\t\t\t\t\t\tlet documentContentDetails: any = docItem.documentContentDetails;\r\n\t\t\t\t\t\tif (documentContentDetails && documentContentDetails.length > 0) {\r\n\t\t\t\t\t\t\tfor (let cindex = 0; cindex < documentContentDetails.length; cindex++) {\r\n\t\t\t\t\t\t\t\tconst docContentItem: any = documentContentDetails[cindex];\r\n\t\t\t\t\t\t\t\t// let documentImagesArray: any = document.querySelectorAll('[id=\"' + docContentItem.pageNo + '\"]');\r\n\t\t\t\t\t\t\t\tlet documentImagesArray: any = document.querySelectorAll('[img-doc-id=\"' + document_id + '\"]');\r\n\t\t\t\t\t\t\t\tArray.from(documentImagesArray).forEach((ele: any, index: any) => {\r\n\t\t\t\t\t\t\t\t\tlet imagDocPageNo: any = ele.getAttribute('docpageno');\r\n\t\t\t\t\t\t\t\t\tlet imagePage_No: any = ele.getAttribute('page-no');\r\n\t\t\t\t\t\t\t\t\tlet img_document_id: any = ele.getAttribute('img-doc-id');\r\n\t\t\t\t\t\t\t\t\tif (docContentItem.documentPageNo == imagDocPageNo && docContentItem.documentID == document_id && imagePage_No != null) {\r\n\t\t\t\t\t\t\t\t\t\tlet recpColorIndex: any = '';\r\n\t\t\t\t\t\t\t\t\t\tfor (let index = 0; index < this.receipentListArr.length; index++) {\r\n\t\t\t\t\t\t\t\t\t\t\tconst element = this.receipentListArr[index];\r\n\t\t\t\t\t\t\t\t\t\t\tif ((docContentItem.controlID.toLowerCase() != Control.Label.toLowerCase() && docContentItem.controlID.toLowerCase() != Control.Hyperlink.toLowerCase())\r\n\t\t\t\t\t\t\t\t\t\t\t\t&& docContentItem.recipientID && (element.id.toLowerCase() == docContentItem.recipientID.toLowerCase())) {\r\n\t\t\t\t\t\t\t\t\t\t\t\trecpColorIndex = index;\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\telse if (this.receipentListArr && this.receipentListArr.length == 1) {\r\n\t\t\t\t\t\t\t\t\t\t\t\trecpColorIndex = 0;\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tlet textFormatting: any = {};\r\n\t\t\t\t\t\t\t\t\t\tif (docContentItem && docContentItem.controlStyle && docContentItem.controlStyle != null) {\r\n\t\t\t\t\t\t\t\t\t\t\ttextFormatting = {\r\n\t\t\t\t\t\t\t\t\t\t\t\tcolor: this.isUndefinedOrNull(docContentItem.controlStyle.fontColor, 1),\r\n\t\t\t\t\t\t\t\t\t\t\t\tfontID: this.isUndefinedOrNull(docContentItem.controlStyle.fontID, 2),\r\n\t\t\t\t\t\t\t\t\t\t\t\tfontFamily: this.isUndefinedOrNull(docContentItem.controlStyle.fontName, 3),\r\n\t\t\t\t\t\t\t\t\t\t\t\tfontSize: this.isUndefinedOrNull(docContentItem.controlStyle.fontSize, 4),\r\n\t\t\t\t\t\t\t\t\t\t\t\tfontWeight: docContentItem.controlStyle.isBold == true ? 'bold' : 'normal',\r\n\t\t\t\t\t\t\t\t\t\t\t\ttextDecoration: docContentItem.controlStyle.isUnderline == true ? 'underline' : 'none',\r\n\t\t\t\t\t\t\t\t\t\t\t\tfontStyle: docContentItem.controlStyle.isItalic == true ? 'italic' : 'normal',\r\n\t\t\t\t\t\t\t\t\t\t\t\tlineHeight: this.isUndefinedOrNull(docContentItem.controlStyle.fontSize, 5),\r\n\t\t\t\t\t\t\t\t\t\t\t\ttextAlign: 'left'\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tlet controlObj: any = {\r\n\t\t\t\t\t\t\t\t\t\t\tid: docContentItem.controlHtmlID,\r\n\t\t\t\t\t\t\t\t\t\t\tcontrolName: this.commonService.getControlNameBasedOnGuid(docContentItem.controlID),\r\n\t\t\t\t\t\t\t\t\t\t\tpageNo: imagePage_No,\r\n\t\t\t\t\t\t\t\t\t\t\tdataDocumentContentId: docContentItem.id,\r\n\t\t\t\t\t\t\t\t\t\t\tdataGuid: docContentItem.controlID,\r\n\t\t\t\t\t\t\t\t\t\t\trecipientId: (this.receipentListArr && this.receipentListArr.length == 1) ? this.receipentListArr[0].id : docContentItem.recipientID,\r\n\t\t\t\t\t\t\t\t\t\t\trecpColor: (docContentItem.controlID.toLowerCase() != Control.Label.toLowerCase() && docContentItem.controlID.toLowerCase() != Control.Hyperlink.toLowerCase()) ? this.receipentColorArr[recpColorIndex] : \"#d21513\",\r\n\t\t\t\t\t\t\t\t\t\t\ttop: docContentItem.topIndex,\r\n\t\t\t\t\t\t\t\t\t\t\tleft: docContentItem.leftIndex,\r\n\t\t\t\t\t\t\t\t\t\t\theight: docContentItem.height,\r\n\t\t\t\t\t\t\t\t\t\t\twidth: (docContentItem.controlID.toLowerCase() == Control.DateTimeStamp.toLowerCase() && docContentItem.width == '122') ? 150 : docContentItem.width,\r\n\t\t\t\t\t\t\t\t\t\t\tcontrolData: docContentItem,\r\n\t\t\t\t\t\t\t\t\t\t\ttextFormatting: textFormatting\r\n\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\tthis.createControl(controlObj, ControlConfig.Existing, 'false');\r\n\t\t\t\t\t\t\t\t\t\tthis.isPageLoadingFirstTime = false;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\tthis.controlPropertyService.updateExistingControlDependencyFields(documentDetails);\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t}, 1000);\r\n\r\n\t\t\t\t//File Review\r\n\t\t\t\tif (this.enableFileReview == true) {\r\n\t\t\t\t\tlet filesReviewInfoDetails = this.envelope.envelopeDetails.documentDetails.filter((rec: any) => (rec.actionType == ActionTypes.Review));\r\n\t\t\t\t\tif (filesReviewInfoDetails && filesReviewInfoDetails.length > 0) {\r\n\t\t\t\t\t\tthis.filesReviewCount = filesReviewInfoDetails.length;\r\n\t\t\t\t\t\tfor (let index = 0; index < filesReviewInfoDetails.length; index++) {\r\n\t\t\t\t\t\t\tconst filesReviewItem: any = filesReviewInfoDetails[index];\r\n\t\t\t\t\t\t\tthis.filesReview.push(filesReviewItem.documentName);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.showLoader = false;\r\n\t\t}, 300); //500\r\n\t}\r\n\r\n\tgetDefaultValues() {\r\n\t\t//need to remove else block once developement is done\r\n\t\tthis.documentName = 'Sample Document';\r\n\t\tthis.previewObj = {\r\n\t\t\t'documentName': this.documentName\r\n\t\t}\r\n\r\n\t\tthis.authService.setRecipientColorDetails(this.receipentColorArr);\r\n\t\tthis.authService.setRecipientDetails(this.receipentListArr); //need to comment\r\n\t\tthis.selectedRecipentName = this.receipentListArr[0].name;\r\n\t\tthis.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n\t\tthis.selectedRecipentId = this.receipentListArr[0].id;\r\n\t\tthis.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n\t\tthis.recipientsObj = {\r\n\t\t\tselectedRecipentName: this.selectedRecipentName,\r\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\r\n\t\t}\r\n\t\tthis.imagesArr = [\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/1.jpg', isActive: false, id: 1, documentId: '17e9fe80-60cf-4583-99a8-dab600cae715', width: '915px',\r\n\t\t\t\tdocument: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/2.jpg', isActive: false, id: 2, documentId: '17e9fe80-60cf-4583-99a8-dab600cae715', width: '915px',\r\n\t\t\t\tdocument: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/3.jpg', isActive: false, id: 3, documentId: '17e9fe80-60cf-4583-99a8-dab600cae715', width: '915px',\r\n\t\t\t\tdocument: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/4.jpg', isActive: false, id: 4, documentId: 'a0482889-7d6c-4270-8f94-bd790e2214c7', width: '915px',\r\n\t\t\t\tdocument: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c7', name: 'Sample Document1.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/5.jpg', isActive: false, id: 5, documentId: 'a0482889-7d6c-4270-8f94-bd790e2214c7', width: '915px',\r\n\t\t\t\tdocument: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c7', name: 'Sample Document1.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/6.jpg', isActive: false, id: 6, documentId: 'a0482889-7d6c-4270-8f94-bd790e2214c8', width: '915px',\r\n\t\t\t\tdocument: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c8', name: 'Sample Document2.pdf' },\r\n\t\t\t\tcontrolsCount: 0\r\n\t\t\t}\r\n\t\t\t// ,\r\n\t\t\t// {\r\n\t\t\t// \tpath: 'https://sendapi.use.rsign.com/api/v1/Envelope/GetImages?id=28&envelopeId=91ec75e3-3e84-427d-8825-f341910aa81d&uncPath=1', isActive: false, id: 7, documentId: 'a0482889-7d6c-4270-8f94-bd790e2214c8', width: '915px',\r\n\t\t\t// \tdocument: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c8', name: 'Sample Document2.pdf' },\r\n\t\t\t// \tcontrolsCount: 0\r\n\t\t\t// }\r\n\t\t];\r\n\t\tthis.selectDefaultDateFormat = '1';\r\n\t\tthis.hideFixedwidthCheckbox = false;\r\n\t\tthis.controlPropertyService.setHideFixedwidthCheckbox(this.hideFixedwidthCheckbox);\r\n\r\n\t\tthis.removePaginationDisabledClass();\r\n\t\tthis.totalDocPageImagesCount = this.imagesArr.length;\r\n\t\t// localStorage.setItem(\"isEnvelopeEditable\", this.isEnvelopeEditable == true ? \"true\" : \"true\");\r\n\t\tthis.sessionStorageService.setIsEnvelopeEditable(this.isEnvelopeEditable == true ? 'true' : 'false');\r\n\r\n\t\tthis.handleConfigureDataEvents();\r\n\r\n\t\tthis.documentData = { pages: this.imagesArr, totalImagesCount: this.totalDocPageImagesCount };\r\n\t\tthis.updateTempTotalCountPerPage();\r\n\t\tthis.commonService.updatePrevObject(\r\n\t\t\t{\r\n\t\t\t\t'totalControls': 0,\r\n\t\t\t\t'pageNumber': 1,\r\n\t\t\t\t'tempTotalCountPerPage': this.tempTotalCountPerPage,\r\n\t\t\t\t// 'documentList': this.imagesArr,\r\n\t\t\t\t'totalImagesCount': this.totalDocPageImagesCount\r\n\t\t\t});\r\n\r\n\t\tthis.showLoader = false;\r\n\t\tthis.sessionStorageService.setAllImagesProcessed('true');\r\n\t\tthis.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n\t\tthis.commonService.removeButtonDisabledClass();\r\n\t}\r\n\r\n\tpublic showSuccess(): void {\r\n\t\tthis.showSave = false;\r\n\t\tthis.showRemove = !this.showRemove;\r\n\t\tthis.toastrService.success(this.commonConstants.DataIsSavedSuccessfully, 'Success');\r\n\t}\r\n\r\n\tonShowRemove() {\r\n\t\tthis.showRemove = false;\r\n\t\tthis.showSave = !this.showSave;\r\n\t\tthis.toastrService.info(this.commonConstants.DataIsRemovedSuccessfully, 'Success');\r\n\t}\r\n\ttoggleFilesReview() {\r\n\t\tthis.filesShowDiv = !this.filesShowDiv;\r\n\t}\r\n\r\n\tonPreviewPagesView() {\r\n\t\tthis.hidePagesViewSection = !this.hidePagesViewSection;\r\n\t\tthis.isClose = true;\r\n\t\tthis.depenciestatus = this.hidePagesViewSection;\r\n\t\tthis.activeCtrlId = 0;\r\n\t\tthis.hideControlViewSection = this.isClose;\r\n\t\tthis.controlPropertyService.removeControlActiveClass(\"\");\r\n\t\tthis.updateExtendDocumentWidth();\r\n\r\n\t\tlet depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\t\tif (this.hideDependencies == false && this.hidePagesViewSection === true) {\r\n\t\t\tdepencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n\t\t\tdepencieContainerResponsive.classList.add('depencie-W');\r\n\t\t}\r\n\t\tif (this.hideDependencies == false && this.hidePagesViewSection === false) {\r\n\t\t\tdepencieContainerResponsive.classList.remove('depencie-W');\r\n\t\t\tdepencieContainerResponsive.classList.add('depencie-AdjustW');\r\n\t\t}\r\n\t}\r\n\r\n\t/* To copy Text from Textbox */\r\n\tcopyInputMessage(inputElement: any) {\r\n\t\tinputElement.select();\r\n\t\tdocument.execCommand('copy');\r\n\t\tinputElement.setSelectionRange(0, 0);\r\n\t\tthis.toastrService.success(this.commonConstants.CopiedTtoClipboard, 'Success');\r\n\t}\r\n\r\n\tfadeInOut(event: any) {\r\n\t\tthis.isClose = !this.isClose;\r\n\t\tthis.activeCtrlId = 0;\r\n\t\tthis.controlPropertyService.removeControlActiveClass(\"\");\r\n\t\tthis.hidePagesViewSection = !this.hidePagesViewSection;\r\n\t\tthis.hideControlViewSection = this.isClose;\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.updateExtendDocumentWidth();\r\n\t\t}, 100);\r\n\t}\r\n\r\n\tcheckBold() {\r\n\t\tthis.isBold = !this.isBold;\r\n\t\tthis.applyFontStyles();\r\n\t}\r\n\r\n\tcheckItalic() {\r\n\t\tthis.isItalic = !this.isItalic;\r\n\t\tthis.applyFontStyles();\r\n\t}\r\n\r\n\tcheckUnderline() {\r\n\t\tthis.isUnderlined = !this.isUnderlined;\r\n\t\tthis.applyFontStyles();\r\n\t}\r\n\r\n\tcheckAlignLeft() {\r\n\t\tthis.isAlignleft = true;\r\n\t\tthis.isAlignmiddle = false;\r\n\t\tthis.isAlignright = false;\r\n\t\tthis.applyTextAlign('left');\r\n\t}\r\n\r\n\tcheckAlignMiddle() {\r\n\t\tthis.isAlignleft = false;\r\n\t\tthis.isAlignmiddle = true;\r\n\t\tthis.isAlignright = false;\r\n\t\tthis.applyTextAlign('center');\r\n\t}\r\n\r\n\tcheckAlignRight() {\r\n\t\tthis.isAlignleft = false;\r\n\t\tthis.isAlignmiddle = false;\r\n\t\tthis.isAlignright = true;\r\n\t\tthis.applyTextAlign('right');\r\n\t}\r\n\r\n\trotate(event: any) {\r\n\t\tthis.isVisited = !this.isVisited;\r\n\t\tif (!this.isVisited === false) {\r\n\t\t\tevent.srcElement.classList.remove('rotate');\r\n\t\t}\r\n\t\telse {\r\n\t\t\tevent.srcElement.classList.add('rotate');\r\n\t\t}\r\n\t}\r\n\r\n\tonRecipentChange(recipentObj: any) {\r\n\t\tthis.selectedRecipentName = recipentObj.recipent.name;\r\n\t\tthis.selectedRecipentId = recipentObj.recipent.id;\r\n\t\tthis.selectedRecipentColor = recipentObj.selectedColor;\r\n\t\tthis.dragItemBgColor = recipentObj.selectedColor;\r\n\r\n\t\tthis.recipientsObj = {\r\n\t\t\tselectedRecipentName: this.selectedRecipentName,\r\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\r\n\t\t}\r\n\t\tthis.applyStylesToSelectedRecipient(recipentObj.recipent.id, \"1\", '');\r\n\t}\r\n\r\n\tonRecipentSelect(recipient: any, selectedColor1: any) {\r\n\t\tthis.selectedPanelRecipentName = recipient.name;\r\n\t\tthis.selectedPanelRecipentColor = selectedColor1;\r\n\t\tthis.selectedPanelRecipentId = recipient.id;\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.applyRecipientDetailsToControl(currentSelectedControl);\r\n\t\tthis.applyStylesToSelectedRecipient(recipient.id, \"2\", '');\r\n\t}\r\n\r\n\tonRecipentOverSelect(recipient: any, selectedColor: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyRecipientDetailsOnMouseOverChange(recipient, selectedColor, currentSelectedControl);\r\n\t\tthis.selectedPanelRecipentName = recipient.name;\r\n\t\tthis.selectedPanelRecipentColor = selectedColor;\r\n\t}\r\n\r\n\t//Apply styles to the control which is clicked or dropped\r\n\tapplyCheckboxGroup(event: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tif (event.target.checked == true) { //apply\r\n\t\t\tthis.displayGroupCheckBox = true;\r\n\t\t\tthis.controlPropertyService.setRadioCheckBoxGroupChecked(currentSelectedControl, null);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n\t\t\tlet spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n\t\t\tlet inputGroupCtrl: any = (document.getElementById(\"inputGroupCtrl\"));\r\n\t\t\tlet inputGroupNameCtrl: any = (document.getElementById(\"inputGroupNameCtrl\"));\r\n\r\n\t\t\tif (inputGroupCtrl) inputGroupCtrl.value = '';\r\n\t\t\tif (inputGroupNameCtrl) inputGroupNameCtrl.value = '';\r\n\t\t\tif (resizableCurrentSelectedControl) {\r\n\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-groupname', '');\r\n\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-isGroupChecked', 'false');\r\n\t\t\t}\r\n\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\tspnCurrentSelectedControl.setAttribute('name', '');\r\n\t\t\t}\r\n\t\t\tthis.displayGroupCheckBox = false;\r\n\t\t}\r\n\r\n\t\tthis.ischeckboxGroup = event.target.checked;\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tgetControls(properties: any) {\r\n\t\tlet trueProperties: any[] = [];\r\n\t\tfor (const prop in properties) {\r\n\t\t\tif (properties[prop] === true) {\r\n\t\t\t\ttrueProperties.push(prop);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn trueProperties[0];\r\n\t}\r\n\r\n\tsaveAsDefault(event: any, controlsObj: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\r\n\t\t// Below code is to get control name\r\n\t\tlet ctrlNameProperties: any = this.getControls(controlsObj);\r\n\t\tlet ctrlName: any = '';\r\n\t\tif (ctrlNameProperties && ctrlNameProperties.length) {\r\n\t\t\tctrlName = ctrlNameProperties.split('P')[0];\r\n\t\t\tif (ctrlName.toLowerCase() === 'signature') {\r\n\t\t\t\tctrlName = 'sign';\r\n\t\t\t}\r\n\t\t\tif (ctrlName.toLowerCase() === 'newinitials') {\r\n\t\t\t\tctrlName = 'initials';\r\n\t\t\t}\r\n\t\t\tif (ctrlName.toLowerCase() === 'datetime' || ctrlName.toLowerCase() === 'datetimestamp') {\r\n\t\t\t\tctrlName = 'datetimestamp';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlet spnctrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\tlet labelControlValue: any = '';\r\n\t\tif (ctrlName.toLowerCase() === 'label' || ctrlName.toLowerCase() === 'hyperlink') {\r\n\t\t\tlet labelText: any = spnctrlEle.getAttribute('data-label-text');\r\n\t\t\tlabelControlValue = (labelText === 'null') ? '' : labelText;\r\n\t\t}\r\n\r\n\t\tif (event.target.checked == true) {\r\n\t\t\tthis.toastrService.clear();\r\n\t\t\tthis.toastrService.success(this.commonConstants.DataIsSavedSuccessfully, 'Success');\r\n\t\t\t// this.checkboxText = 'Save as Default';\r\n\r\n\t\t\tif (spnctrlEle) {\r\n\t\t\t\tspnctrlEle.setAttribute('data-saveasdefault', true);\r\n\t\t\t\tthis.updateSaveAsDefaultChecked = true;\r\n\t\t\t\tthis.defaultControlStyleService.updateDictionary(ctrlName, {\r\n\t\t\t\t\tsaveAsDefault: true,\r\n\t\t\t\t\trequired: ctrlEle.getAttribute('data-selected'),\r\n\t\t\t\t\tfontFamily: spnctrlEle.style.fontFamily,\r\n\t\t\t\t\tfontWeight: spnctrlEle.style.fontWeight,\r\n\t\t\t\t\ttextDecoration: spnctrlEle.style.textDecoration,\r\n\t\t\t\t\tfontStyle: spnctrlEle.style.fontStyle,\r\n\t\t\t\t\tfontSize: spnctrlEle.style.fontSize,\r\n\t\t\t\t\tcolor: spnctrlEle.style.color,\r\n\t\t\t\t\ttextAlign: spnctrlEle.style.textAlign,\r\n\t\t\t\t\tlineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n\t\t\t\t\tvalidationType: '',\r\n\t\t\t\t\tadlnName: '',\r\n\t\t\t\t\tadlnOption: '',\r\n\t\t\t\t\tpreSelected: ctrlEle.getAttribute('data-selected1'),\r\n\t\t\t\t\tcheckboxGroup: ctrlEle.getAttribute('data-isgroupchecked'),\r\n\t\t\t\t\tcheckboxGroupName: ctrlEle.getAttribute('data-groupname'),\r\n\t\t\t\t\tcheckboxName: spnctrlEle.getAttribute('name'),\r\n\t\t\t\t\tdateFormat: this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat),\r\n\t\t\t\t\tsize: 'standard',\r\n\t\t\t\t\tfontTypeMeasurement: this.defaultTypographySize,\r\n\t\t\t\t\tfirstLineBlank: this.isdrpFirstLineBlank,\r\n\t\t\t\t\tlabelControlValue: labelControlValue\r\n\t\t\t\t})\r\n\r\n\t\t\t\tlet newData = this.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, spnctrlEle.style.fontFamily, this.isRequiredChecked, this.defaultTypographySize);\r\n\t\t\t\t//console.log('save as default true', newData);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// this.checkboxText = 'Remove Default';\r\n\t\t\tthis.toastrService.clear();\r\n\t\t\tthis.toastrService.success(this.commonConstants.DataIsRemovedSuccessfully, 'Success');\r\n\t\t\tif (spnctrlEle) {\r\n\t\t\t\tthis.defaultControlStyleService.updateDictionary(ctrlName, {\r\n\t\t\t\t\tsaveAsDefault: false,\r\n\t\t\t\t\trequired: (ctrlName.toLowerCase() === 'dropdown' || ctrlName.toLowerCase() === 'checkbox' || ctrlName.toLowerCase() === 'radio') ? false : (ctrlName.toLowerCase() === 'sign') ? this.signatureControlRequired : true,\r\n\t\t\t\t\tfontFamily: 'Courier',\r\n\t\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\t\ttextDecoration: 'none',\r\n\t\t\t\t\tfontStyle: 'normal',\r\n\t\t\t\t\tfontSize: '12px',\r\n\t\t\t\t\tcolor: '#000',\r\n\t\t\t\t\ttextAlign: 'left',\r\n\t\t\t\t\tlineHeight: ctrlName.toLowerCase() === 'date' ? '' : '12px',\r\n\t\t\t\t\tvalidationType: '',\r\n\t\t\t\t\tadlnName: '',\r\n\t\t\t\t\tadlnOption: '',\r\n\t\t\t\t\tpreSelected: false,\r\n\t\t\t\t\tcheckboxGroup: false,\r\n\t\t\t\t\tcheckboxGroupName: '',\r\n\t\t\t\t\tcheckboxName: '',\r\n\t\t\t\t\tdateFormat: '',\r\n\t\t\t\t\tsize: 'standard',\r\n\t\t\t\t\tfontTypeMeasurement: this.defaultUserSettingsTypographySize,\r\n\t\t\t\t\tfirstLineBlank: false,\r\n\t\t\t\t\tlabelControlValue: labelControlValue\r\n\t\t\t\t})\r\n\r\n\t\t\t\tspnctrlEle.setAttribute('data-saveasdefault', false);\r\n\t\t\t\tif (ctrlName.toLowerCase() === 'initials' || ctrlName.toLowerCase() === 'name' || ctrlName.toLowerCase() === 'title' ||\r\n\t\t\t\t\tctrlName.toLowerCase() === 'company' || ctrlName.toLowerCase() === 'email' ||\r\n\t\t\t\t\tctrlName.toLowerCase() === 'date' || ctrlName.toLowerCase() === 'text') {\r\n\t\t\t\t\tthis.isRequiredChecked = true;\r\n\t\t\t\t\tctrlEle.setAttribute('data-selected', true);\r\n\t\t\t\t}\r\n\t\t\t\telse if (ctrlName.toLowerCase() === 'dropdown' || ctrlName.toLowerCase() === 'checkbox' || ctrlName.toLowerCase() === 'radio') {\r\n\t\t\t\t\tthis.isRequiredChecked = false;\r\n\t\t\t\t\tctrlEle.setAttribute('data-selected', false);\r\n\t\t\t\t}\r\n\t\t\t\telse if (ctrlName.toLowerCase() === 'sign') {\r\n\t\t\t\t\tlet chRequiredSelected: any = (document.getElementById(\"chRequiredSelected\"));\r\n\t\t\t\t\tif (chRequiredSelected) {\r\n\t\t\t\t\t\tchRequiredSelected.checked = this.signatureControlRequired;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.isRequiredChecked = this.signatureControlRequired;\r\n\t\t\t\t\tctrlEle.setAttribute('data-selected', this.signatureControlRequired);\r\n\t\t\t\t\tthis.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//Assign Default Property\r\n\t\t\t\tif (ctrlName.toLowerCase() === 'text') {\r\n\t\t\t\t\tthis.setShowTextFiledToNone();\r\n\t\t\t\t\tthis.selectValidation = '1';\r\n\t\t\t\t\tthis.applyTextTypeControl(\"1\");\r\n\t\t\t\t}\r\n\t\t\t\t//Assign Default Property\r\n\r\n\t\t\t\tthis.defaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n\t\t\t\tspnctrlEle.style.color = this.defaultColorPicker;\r\n\t\t\t\tspnctrlEle.style.fontFamily = 'Courier';\r\n\t\t\t\tspnctrlEle.style.fontWeight = 'normal';\r\n\t\t\t\tspnctrlEle.style.textDecoration = 'none';\r\n\t\t\t\tspnctrlEle.style.fontStyle = 'normal';\r\n\t\t\t\tspnctrlEle.style.fontSize = '12px';\r\n\t\t\t\tspnctrlEle.style.textAlign = 'Left';\r\n\t\t\t\tspnctrlEle.style.lineHeight = '12px';\r\n\r\n\t\t\t\tif (ctrlEle && ctrlName.toLowerCase() === 'date') {\r\n\t\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n\t\t\t\t\tspnctrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n\t\t\t\t\tthis.updateCtrlDateFormat(currentSelectedControl, 1, '');\r\n\t\t\t\t\tctrlEle.style.height = '16px';\r\n\t\t\t\t\tctrlEle.setAttribute('data-defaultFormat', this.controlPropertyService.getDateFormat(this.selectDefaultDateFormat));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.isBold = false;\r\n\t\t\t\tthis.isItalic = false;\r\n\t\t\t\tthis.isUnderlined = false;\r\n\t\t\t\tthis.isAlignleft = false;\r\n\t\t\t\tthis.isAlignmiddle = false;\r\n\t\t\t\tthis.isAlignright = false;\r\n\t\t\t\tthis.defaultFontSize = '12';\r\n\t\t\t\tthis.defaultFontFamily = 'Courier';\r\n\t\t\t\tthis.defaultTypographySize = this.defaultUserSettingsTypographySize; //get based on usersettings\r\n\r\n\t\t\t\tthis.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, 'Courier', this.isRequiredChecked, this.defaultUserSettingsTypographySize);\r\n\r\n\t\t\t\tlet tempData: any = this.defaultControlStyleService.getSaveAsDefaultData();\r\n\t\t\t\tif (tempData && tempData.length) {\r\n\t\t\t\t\ttempData = tempData.filter(function (el: any) { return (el.Control != '' && el.Control.toLowerCase()) != (ctrlName != '' && ctrlName.toLowerCase()); });\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.defaultControlStyleService.updateSaveAsDefaultData(tempData);\r\n\t\t\t\tctrlEle.setAttribute(\"data-typography\", this.defaultTypographySize);\r\n\t\t\t\t// this.applyFontSize(this.defaultFontSize, 0);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonOptionsSelected(value: any) {\r\n\t\tthis.selectDefaultSizeValue = value;\r\n\t\tthis.datacount = this.checkboxSizeControl.value;\r\n\t}\r\n\r\n\tradiocheckboxSizes() {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyRadioCheckboxSizes(this.selectDefaultSizeValue, this.currentControlId);\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tvalidationType() {\r\n\t\t//console.log('user selection', this.selectValidation);\r\n\t}\r\n\r\n\tonAdditionalValidation() {\r\n\t\t//console.log('user selection', this.selectAddtionalValidation);\r\n\t}\r\n\r\n\t// setting cursor positions\r\n\tcomputeDragRenderPos(pos: any, DragRef: any) {\r\n\t\t// console.log('DragRef',DragRef.data.data.title);\r\n\t\tlet x: any = pos.x;\r\n\t\tlet y: any = pos.y - 12;\r\n\r\n\t\tif (DragRef && DragRef.data && DragRef.data.data) {\r\n\t\t\tif (DragRef.data.data.title === 'Checkbox' || DragRef.data.data.title === 'Radio') {\r\n\t\t\t\ty = pos.y - 6;\r\n\t\t\t\tx = pos.x - 6;\r\n\t\t\t} else {\r\n\t\t\t\ty = pos.y - 12;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn { x: x, y: y };\r\n\t}\r\n\r\n\t//Getting random id and adding as control id\r\n\tgetId() {\r\n\t\treturn Math.round(1 + Math.floor(Math.random() * 100000));\r\n\t}\r\n\r\n\tonDragStarted(e: any) {\r\n\t\tthis.bodyElement.style.cursor = 'move';\r\n\t\tif (e && e.source && e.source.data && e.source.data.id) {\r\n\t\t\tthis.activeCtrlId = e.source.data.id;\r\n\t\t}\r\n\t}\r\n\r\n\tdrop(event: any) {\r\n\t\tthis.hideDependencies = true;\r\n\t\t//console.log('Item dropped on the document page:', event.event.target.id);\r\n\t\tthis.bodyElement.style.cursor = 'unset';\r\n\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t// console.log(\"selectedItems:\"+ this.selectedItems);\r\n\t\t// console.log(\"dropped:\"+this.sessionStorageService.getCurrentClickedDroppedControl());\r\n\t\tthis.setShowTextFiledToNone();\r\n\t\tthis.controlPropertyService.setdefaultTextValidation();\r\n\t\t// this.onClickOutsideSelectionArea();\r\n\t\tthis.resetCopyPasteUndoRedoList();\r\n\t\tthis.isCopiedSelecteditems = false;\r\n\t\tthis.updateUndoCtrlsCount();\r\n\t\t// localStorage.setItem('isCopiedSelecteditems', 'false');\r\n\t\tthis.sessionStorageService.setIsCopiedSelecteditems('false');\r\n\r\n\t\tif (event && event.previousContainer !== event.container) {\r\n\t\t\tif (event && event.item && event.item.data) {\r\n\t\t\t\tlet imageCtrl: any = document.getElementById('imgControl_' + event.event.target.id);\r\n\t\t\t\tlet componentType: any = ControlComponent; //this.getComponentType(event.item.data.title);\r\n\t\t\t\tif (imageCtrl) {\r\n\t\t\t\t\tconst componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\r\n\t\t\t\t\tconst componentRef: any = componentFactory.create(this.injector);\r\n\t\t\t\t\t// Set input properties as needed\r\n\t\t\t\t\tlet controlTopAdjustmentDiff: any = 10;\r\n\t\t\t\t\tlet controlLeftAdjustmentDiff: any = 0;\r\n\t\t\t\t\tlet imageWidth: any = imageCtrl.offsetWidth;\r\n\t\t\t\t\tlet imageHeight: any = imageCtrl.offsetHeight;\r\n\t\t\t\t\tlet controlClassName: any = event.item.data.title.toLowerCase();\r\n\t\t\t\t\tlet controlName: any = event.item.data.title;\r\n\t\t\t\t\tlet controlId: any = event.item.data.title.toLowerCase();\r\n\t\t\t\t\tlet defaultWidth: any = 100;\r\n\t\t\t\t\tlet defaultHeight: any = 20;\r\n\t\t\t\t\tlet minWidth: any = 100;\r\n\t\t\t\t\tlet minHeight: any = 10;\r\n\t\t\t\t\t// let ctrlBgColor: any = '#eee';\r\n\t\t\t\t\tlet ctrlBgColor: any = '#fff';\r\n\t\t\t\t\tlet controlDateFormat: any = '';\r\n\t\t\t\t\tlet placeHolderText: any = event.item.data.originalTitle;\r\n\t\t\t\t\tlet controlResourceKeys: any = '';\r\n\t\t\t\t\tlet defaultDate: boolean = false;\r\n\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Signature.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'sign';\r\n\t\t\t\t\t\tcontrolName = 'Signature';\r\n\t\t\t\t\t\tcontrolId = 'sign';\r\n\t\t\t\t\t\tdefaultWidth = 215;\r\n\t\t\t\t\t\t// defaultHeight = 37;\r\n\t\t\t\t\t\tdefaultHeight = 35;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t\t// minHeight = 37;\r\n\t\t\t\t\t\tminHeight = 35;\r\n\t\t\t\t\t\t// controlTopAdjustmentDiff = 27;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 12;\r\n\t\t\t\t\t\tplaceHolderText = 'Sign';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Signature;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'initials';\r\n\t\t\t\t\t\tcontrolId = 'newInitials';\r\n\t\t\t\t\t\tdefaultWidth = 47;\r\n\t\t\t\t\t\tdefaultHeight = 23;\r\n\t\t\t\t\t\tminWidth = 47;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 12;\r\n\t\t\t\t\t\tcontrolName = 'NewInitials';\r\n\t\t\t\t\t\tplaceHolderText = 'Initials';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Initials; //translations text\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Name.toLowerCase()) {\r\n\t\t\t\t\t\tdefaultWidth = 167;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminWidth = 0;\r\n\t\t\t\t\t\tcontrolClassName = 'name';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Name;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\t\t\t\tdefaultWidth = 167;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminHeight = 18;\r\n\t\t\t\t\t\tminWidth = 0;\r\n\t\t\t\t\t\tcontrolClassName = 'text';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Text;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'dropdown';\r\n\t\t\t\t\t\tcontrolId = 'dropDown';\r\n\t\t\t\t\t\tdefaultWidth = 100;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.DropDown;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolDateFormat = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat); //'mm/dd/yyyy';\r\n\t\t\t\t\t\tcontrolName = 'Date';\r\n\t\t\t\t\t\tcontrolClassName = 'date';\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 9;\r\n\t\t\t\t\t\tdefaultDate = false;\r\n\t\t\t\t\t\tdefaultHeight = 16;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.DateTimeStamp.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'datetimestamp';\r\n\t\t\t\t\t\tcontrolName = 'DateTimeStamp';\r\n\t\t\t\t\t\tcontrolId = 'dateTimeStamp';\r\n\t\t\t\t\t\tdefaultWidth = 135;\r\n\t\t\t\t\t\tminHeight = 15;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 9;\r\n\t\t\t\t\t\tctrlBgColor = 'yellow';\r\n\t\t\t\t\t\tplaceHolderText = 'Date & Time Stamp';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.DateTimeStamp;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Label.toLowerCase()) {\r\n\t\t\t\t\t\tctrlBgColor = 'yellow';\r\n\t\t\t\t\t\tcontrolClassName = 'label';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Label;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t\tdefaultWidth = 100;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 12;\r\n\t\t\t\t\t\tminHeight = 20;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n\t\t\t\t\t\tdefaultWidth = 22;\r\n\t\t\t\t\t\tdefaultHeight = 22;\r\n\t\t\t\t\t\tminWidth = 18;\r\n\t\t\t\t\t\tminHeight = 18;\r\n\t\t\t\t\t\t// controlTopAdjustmentDiff = 8;\r\n\t\t\t\t\t\t// controlLeftAdjustmentDiff = 6;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 11;\r\n\t\t\t\t\t\tcontrolLeftAdjustmentDiff = 12;\r\n\t\t\t\t\t\tctrlBgColor = 'white';\r\n\t\t\t\t\t\tcontrolClassName = 'radio';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Radio;\r\n\t\t\t\t\t\tthis.isRadioRequiredChecked = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n\t\t\t\t\t\tdefaultWidth = 22;\r\n\t\t\t\t\t\tdefaultHeight = 22;\r\n\t\t\t\t\t\tminWidth = 18;\r\n\t\t\t\t\t\tminHeight = 18;\r\n\t\t\t\t\t\t// controlTopAdjustmentDiff = 8;\r\n\t\t\t\t\t\t// controlLeftAdjustmentDiff = 6;\r\n\t\t\t\t\t\tcontrolTopAdjustmentDiff = 12;\r\n\t\t\t\t\t\tcontrolLeftAdjustmentDiff = 12;\r\n\t\t\t\t\t\tctrlBgColor = 'white';\r\n\t\t\t\t\t\tcontrolClassName = 'checkbox';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Checkbox;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Company.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'company';\r\n\t\t\t\t\t\tdefaultWidth = 100;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Company;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Title.toLowerCase()) {\r\n\t\t\t\t\t\tdefaultWidth = 167;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t\tcontrolClassName = 'title';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Title;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Hyperlink.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'hyperlink';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Hyperlink;\r\n\t\t\t\t\t\tctrlBgColor = 'yellow';\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Email.toLowerCase()) {\r\n\t\t\t\t\t\tcontrolClassName = 'email';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Email;\r\n\t\t\t\t\t\tdefaultWidth = 100;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminWidth = 100;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.item.data.guid.toLowerCase() === Control.Stamp.toLowerCase()) {\r\n\t\t\t\t\t\tconsole.log(\"Stamp destails:\", event.item.data.guid.toLowerCase());\r\n\t\t\t\t\t\tcontrolClassName = 'stamp';\r\n\t\t\t\t\t\tcontrolResourceKeys = ControlResourceKeys.Stamp;\r\n\t\t\t\t\t\tctrlBgColor = 'yellow';\r\n\t\t\t\t\t\tdefaultWidth = 75;\r\n\t\t\t\t\t\tdefaultHeight = 20;\r\n\t\t\t\t\t\tminWidth = 75;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tplaceHolderText = this.commonService.getTranslatedText(placeHolderText, controlResourceKeys);\r\n\t\t\t\t\tlet ctrlGuid: any = this.commonService.getGuid(controlName, controlClassName);\r\n\t\t\t\t\tlet saveAsDefaultVal: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue(controlClassName);\r\n\t\t\t\t\tcomponentRef.instance.ctrlObj = {\r\n\t\t\t\t\t\ttop: (event.event.offsetY - controlTopAdjustmentDiff),\r\n\t\t\t\t\t\tleft: (event.event.offsetX - controlLeftAdjustmentDiff),\r\n\t\t\t\t\t\twidth: defaultWidth,\r\n\t\t\t\t\t\theight: defaultHeight,\r\n\t\t\t\t\t\tcontrolName: controlName,\r\n\t\t\t\t\t\tclassName: controlClassName,\r\n\t\t\t\t\t\tid: controlId + 'Control' + this.getId(),\r\n\t\t\t\t\t\ttitle: placeHolderText,\r\n\t\t\t\t\t\tpageNo: event.event.target.id,\r\n\t\t\t\t\t\tminWidth: minWidth,\r\n\t\t\t\t\t\tminHeight: minHeight,\r\n\t\t\t\t\t\tbgColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? ctrlBgColor : ctrlBgColor,\r\n\t\t\t\t\t\toutlineColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? '2px solid ' + this.selectedRecipentColor : \"2px solid #999\",\r\n\t\t\t\t\t\trecipientId: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? this.selectedRecipentId : \"\",\r\n\t\t\t\t\t\trecpColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? this.selectedRecipentColor : \"1px solid #999\",\r\n\t\t\t\t\t\tdataGuid: ctrlGuid,\r\n\t\t\t\t\t\tdataDocumentContentId: this.commonService.generateUUID(), //this is different UUID\r\n\t\t\t\t\t\tctrlNumber: this.getSameControlNumberCount(ctrlGuid, event.event.target.id),\r\n\t\t\t\t\t\tcontrolDateFormat: controlDateFormat,\r\n\t\t\t\t\t\ttypography: this.defaultUserSettingsTypographySize,\r\n\t\t\t\t\t\tplaceHolderText: placeHolderText,\r\n\t\t\t\t\t\trecipientsObj: this.recipientsObj,\r\n\t\t\t\t\t\toriginalTitle: event.item.data.originalTitle.toLowerCase(),\r\n\t\t\t\t\t\tdefaultDate: false,\r\n\t\t\t\t\t\tisRequired: this.isRequiredChecked == true ? \"true\" : \"false\",\r\n\t\t\t\t\t\ttextFormatting: (saveAsDefaultVal === false || saveAsDefaultVal === 'false' || saveAsDefaultVal === true || saveAsDefaultVal === 'true') ? this.defaultControlStyleService.getDictionaryByKey(controlClassName) : this.defaultControlStyleService.getDefaultControlTextObject(),\r\n\t\t\t\t\t\tisEnvelopeEditable: this.isEnvelopeEditable\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\tif (saveAsDefaultVal === true || saveAsDefaultVal === 'true') {\r\n\t\t\t\t\t\tcomponentRef.instance.ctrlObj.typography = componentRef.instance.ctrlObj.textFormatting.fontTypeMeasurement;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//console.log('Outline color:', componentRef.instance.outlineColor);\r\n\t\t\t\t\tif ((event.event.offsetX + defaultWidth) > imageWidth) {\r\n\t\t\t\t\t\tlet tempLeft: any = (event.event.offsetX + defaultWidth) - imageWidth;\r\n\t\t\t\t\t\tlet rightBoundaryDiff: any = 6;\r\n\t\t\t\t\t\tcomponentRef.instance.ctrlObj.left = (event.event.offsetX - (tempLeft + rightBoundaryDiff));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (event.event.offsetY <= 5) {\r\n\t\t\t\t\t\tlet topBoundaryDiff: any = 6;\r\n\t\t\t\t\t\tcomponentRef.instance.ctrlObj.top = 0;\r\n\t\t\t\t\t\tcomponentRef.instance.ctrlObj.top = topBoundaryDiff;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif ((event.event.offsetY + defaultHeight) > imageHeight) {\r\n\t\t\t\t\t\tlet tempTop: any = (event.event.offsetY + defaultHeight) - imageHeight;\r\n\t\t\t\t\t\tlet bottomBoundaryDiff: any = 6;\r\n\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Signature.toLowerCase()) {\r\n\t\t\t\t\t\t\tbottomBoundaryDiff = 9;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcomponentRef.instance.ctrlObj.top = (event.event.offsetY - (tempTop + bottomBoundaryDiff));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tthis.dynamicComponentRefs.set(componentRef.instance.ctrlObj.id, componentRef);\r\n\t\t\t\t\tthis.currentControlId = componentRef.instance.ctrlObj.id;\r\n\t\t\t\t\t// localStorage.setItem('CurrentClickedDroppedControl', componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\tthis.sessionStorageService.setCurrentClickedDroppedControl(componentRef.instance.ctrlObj.id);\r\n\r\n\t\t\t\t\t// Attach the component to the DOM\r\n\t\t\t\t\tthis.appRef.attachView(componentRef.hostView);\r\n\t\t\t\t\tconst domElem = (componentRef.hostView as EmbeddedViewRef).rootNodes[0] as HTMLElement;\r\n\t\t\t\t\timageCtrl?.appendChild(domElem);\r\n\t\t\t\t\tthis.selectedItems = [];\r\n\t\t\t\t\tthis.commonService.selectedItems = [];\r\n\t\t\t\t\tthis.selectedItems.push('resizable_' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\tthis.ctrlAndClickedControlsArr = [];\r\n\t\t\t\t\tthis.ctrlAndClickedControlsArr.push('resizable_' + componentRef.instance.ctrlObj.id);\r\n\r\n\t\t\t\t\tif (event.item.data.guid) {\r\n\t\t\t\t\t\tthis.showControlFields(event.item.data.originalTitle.toLowerCase());\r\n\t\t\t\t\t\tthis.selectedPanelRecipentName = this.selectedRecipentName;\r\n\t\t\t\t\t\tthis.selectedPanelRecipentColor = this.selectedRecipentColor;\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tthis.defaultColorPicker = componentRef.instance.ctrlObj.textFormatting.color;\r\n\t\t\t\t\t\t\tthis.updateSaveAsDefault(componentRef.instance.ctrlObj);\r\n\t\t\t\t\t\t\tthis.isdrpFirstLineBlank = componentRef.instance.ctrlObj.textFormatting.firstLineBlank;\r\n\t\t\t\t\t\t\tthis.isChkPreSelected = componentRef.instance.ctrlObj.textFormatting.preSelected;\r\n\t\t\t\t\t\t\tthis.ischeckboxGroup = componentRef.instance.ctrlObj.textFormatting.checkboxGroup;\r\n\t\t\t\t\t\t\tthis.checkboxGroupName = componentRef.instance.ctrlObj.textFormatting.checkboxGroupName;\r\n\t\t\t\t\t\t\tthis.checkboxName = componentRef.instance.ctrlObj.textFormatting.checkboxName;\r\n\t\t\t\t\t\t\tthis.applyStylesToSelectedRecipient(this.selectedRecipentId, \"2\", '');\r\n\t\t\t\t\t\t\tthis.checkTooltipIsApplicable(event.item.data.title.toLowerCase(), componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\tthis.controlPropertyService.applyIdAndHtmlId(componentRef.instance.ctrlObj);\r\n\t\t\t\t\t\t\tthis.checkLengthNameAndTextControl(componentRef.instance.ctrlObj);\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tthis.updateCtrlDateFormat(componentRef.instance.ctrlObj.id, 0, componentRef.instance.ctrlObj.textFormatting);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Label.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tif (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'true') {\r\n\t\t\t\t\t\t\t\t\tlet spnSelectEle: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t\t\tif (spnSelectEle) {\r\n\t\t\t\t\t\t\t\t\t\tspnSelectEle.setAttribute('data-label-text', componentRef.instance.ctrlObj.textFormatting.labelControlValue);\r\n\t\t\t\t\t\t\t\t\t\tspnSelectEle.setAttribute('isupdated', true);\r\n\t\t\t\t\t\t\t\t\t\tspnSelectEle.innerText = componentRef.instance.ctrlObj.textFormatting.labelControlValue;\r\n\t\t\t\t\t\t\t\t\t\tif (componentRef.instance.ctrlObj.textFormatting.labelControlValue === '') {\r\n\t\t\t\t\t\t\t\t\t\t\tspnSelectEle.innerText = 'Label';\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() !== Control.Radio.toLowerCase() &&\r\n\t\t\t\t\t\t\t\tevent.item.data.guid.toLowerCase() !== Control.Checkbox.toLowerCase() &&\r\n\t\t\t\t\t\t\t\tevent.item.data.guid.toLowerCase() !== Control.Signature.toLowerCase() &&\r\n\t\t\t\t\t\t\t\tevent.item.data.guid.toLowerCase() !== Control.Initials.toLowerCase() &&\r\n\t\t\t\t\t\t\t\tevent.item.data.guid.toLowerCase() !== Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tlet fontSize = componentRef.instance.ctrlObj.textFormatting.fontSize;\r\n\t\t\t\t\t\t\t\tlet curFontSize: any;\r\n\t\t\t\t\t\t\t\tif (!Number.isNaN(componentRef.instance.ctrlObj.textFormatting.fontSize)) {\r\n\t\t\t\t\t\t\t\t\tcurFontSize = componentRef.instance.ctrlObj.textFormatting.fontSize\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tcurFontSize = componentRef.instance.ctrlObj.textFormatting.fontSize.split('px')[0];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tlet finalFontSize: any;\r\n\t\t\t\t\t\t\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + componentRef.instance.ctrlObj.id));\r\n\t\t\t\t\t\t\t\tif (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n\t\t\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tlet adlnOption: any = componentRef.instance.ctrlObj.textFormatting.adlnOption;\r\n\t\t\t\t\t\t\t\t\t\tlet adlnName: any = componentRef.instance.ctrlObj.textFormatting.adlnName;\r\n\t\t\t\t\t\t\t\t\t\tlet validationType: any = componentRef.instance.ctrlObj.textFormatting.validationType;\r\n\t\t\t\t\t\t\t\t\t\tif (adlnName && adlnName != \"null\" && adlnName != \"undefined\") {\r\n\t\t\t\t\t\t\t\t\t\t\tlet additionalValidationItem: any = \"\";\r\n\t\t\t\t\t\t\t\t\t\t\tif (adlnName == \"Zip Format\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (adlnOption == \"Zip+4\") adlnOption = \"Zip + 4\";\r\n\t\t\t\t\t\t\t\t\t\t\t\tadditionalValidationItem = this.commonConstants.ValidationsZipOptions.find((item: { label: any; }) => item.label === adlnOption);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\telse if (adlnName == \"Decimal\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tadditionalValidationItem = this.commonConstants.AdditionalValidationType.find((item: { label: any; }) => item.label === adlnOption);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\telse if (adlnName == \"Date Format\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tadditionalValidationItem = this.validationsDateOptions.find((item: { label: any; }) => item.label === adlnOption);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (additionalValidationItem && additionalValidationItem.value)\r\n\t\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-additional-validation-option', additionalValidationItem.value);\r\n\t\t\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-additional-validation-option', \"1\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (validationType) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet validationTypeText: any = 'Text';\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet arrayObj: any = this.commonConstants.ValidationsText.filter((obj: any) => obj.value.toLowerCase() == validationType.toLowerCase());\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (arrayObj && arrayObj.length > 0) validationTypeText = arrayObj[0].label;\r\n\t\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-validation-type', validationTypeText);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-validation-type', \"Text\"); //text\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-additional-validation-name', adlnName);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (adlnName == \"Number\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.removeAttribute('data-additional-validation-option');\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-additional-validation-name', \"\");\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tlet fontSizePtOrPxSelect: any = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n\t\t\t\t\t\t\t\t\tif (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n\t\t\t\t\t\t\t\t\t\tfinalFontSize = this.controlPropertyService.getTypographyConversionValue(curFontSize);\r\n\t\t\t\t\t\t\t\t\t\tif (finalFontSize == undefined) finalFontSize = curFontSize;\r\n\t\t\t\t\t\t\t\t\t\tthis.defaultTypographySize = \"pt\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\tthis.defaultTypographySize = \"px\";\r\n\t\t\t\t\t\t\t\t\t\tfinalFontSize = curFontSize;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.applyFontSize(finalFontSize, 0);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'true') {\r\n\t\t\t\t\t\t\t\tthis.updateSaveAsDefaultChecked = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'false') {\r\n\t\t\t\t\t\t\t\tthis.updateSaveAsDefaultChecked = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() !== Control.DateTimeStamp.toLowerCase() && event.item.data.guid.toLowerCase() !== Control.Label.toLowerCase() && event.item.data.guid.toLowerCase() !== Control.Hyperlink.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tlet isRequiredCheckedVal: any = this.isRequiredChecked;\r\n\t\t\t\t\t\t\t\tif (componentRef.instance.ctrlObj.textFormatting.required !== undefined) {\r\n\t\t\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tthis.isRadioRequiredChecked = componentRef.instance.ctrlObj.textFormatting.required;\r\n\t\t\t\t\t\t\t\t\t\tisRequiredCheckedVal = componentRef.instance.ctrlObj.textFormatting.required;\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tthis.isRequiredChecked = componentRef.instance.ctrlObj.textFormatting.required;\r\n\t\t\t\t\t\t\t\t\t\tisRequiredCheckedVal = componentRef.instance.ctrlObj.textFormatting.required;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.controlPropertyService.addDefaultRequiredField(componentRef.instance.ctrlObj, isRequiredCheckedVal);\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tlet drpFirstLineBlankEle: any = document.getElementById('drpFirstLineBlank');\r\n\t\t\t\t\t\t\t\t\t\tif (drpFirstLineBlankEle) {\r\n\t\t\t\t\t\t\t\t\t\t\tdrpFirstLineBlankEle.checked = this.isdrpFirstLineBlank;\r\n\t\t\t\t\t\t\t\t\t\t\tlet controlEle: any = (document.getElementById('resizable_' + this.currentControlId))\r\n\t\t\t\t\t\t\t\t\t\t\tif (controlEle) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (this.isdrpFirstLineBlank == true) controlEle.setAttribute('data-firstlineblank', \"true\");\r\n\t\t\t\t\t\t\t\t\t\t\t\telse if (this.isdrpFirstLineBlank == false) controlEle.setAttribute('data-firstlineblank', \"false\");\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tlet isChkPreSelectedEle: any = document.getElementById('chkPreSelected');\r\n\t\t\t\t\t\t\t\t\t\tif (isChkPreSelectedEle) {\r\n\t\t\t\t\t\t\t\t\t\t\tisChkPreSelectedEle.checked = this.isChkPreSelected;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (this.isChkPreSelected) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet spanCurrentSelectedControl: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet resizablCurrentSelectedControl: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (spanCurrentSelectedControl) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.classList.add('checked-visible');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.setAttribute('checked', 'true');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tresizablCurrentSelectedControl.setAttribute('data-selected1', 'true');\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tlet ischeckboxGroupEle: any = document.getElementById('checkboxgroup');\r\n\t\t\t\t\t\t\t\t\t\tif (ischeckboxGroupEle) {\r\n\t\t\t\t\t\t\t\t\t\t\tischeckboxGroupEle.checked = this.ischeckboxGroup;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tthis.commonConstants.Checkboxoptions.forEach((ele: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\tif (ele && ele.viewValue.toLowerCase() === componentRef.instance.ctrlObj.textFormatting.size.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.selectDefaultSizeValue = ele.value;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tlet isChkPreSelectedEle: any = document.getElementById('chkPreSelected');\r\n\t\t\t\t\t\t\t\t\t\tif (isChkPreSelectedEle) {\r\n\t\t\t\t\t\t\t\t\t\t\tisChkPreSelectedEle.checked = this.isChkPreSelected;\r\n\t\t\t\t\t\t\t\t\t\t\tif (this.isChkPreSelected) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet spanCurrentSelectedControl: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t\t\t\t\t\tlet resizablCurrentSelectedControl: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (spanCurrentSelectedControl) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.classList.add('checked-visible');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.setAttribute('checked', 'true');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tspanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tresizablCurrentSelectedControl.setAttribute('data-selected1', 'true');\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tthis.commonConstants.Checkboxoptions.forEach((ele: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\tif (ele && ele.viewValue.toLowerCase() === componentRef.instance.ctrlObj.textFormatting.size.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.selectDefaultSizeValue = ele.value;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}, 200);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Name.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Title.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tif (this.hideFixedwidthCheckbox == false || this.hideFixedwidthCheckbox == 'false') {\r\n\t\t\t\t\t\t\t\t\t\tthis.lengthOrMaxCharLimitLabel = 'Max Character Limit';\r\n\t\t\t\t\t\t\t\t\t\tthis.isFixedWidthChecked = false;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tlet addTextTextareaEle: any = document.getElementById('addTextTextarea');\r\n\t\t\t\t\t\t\t\t\tif (addTextTextareaEle) {\r\n\t\t\t\t\t\t\t\t\t\taddTextTextareaEle.value = '';\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.controlPropertyService.addDefaultFixedWidth(componentRef.instance.ctrlObj, this.hideFixedwidthCheckbox, this.isFixedWidthChecked);\r\n\t\t\t\t\t\t\t\t}, 200);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.controlPropertyService.updateDefaultFontFamilyId(this.currentControlId, componentRef.instance.ctrlObj.textFormatting.fontFamily);\r\n\t\t\t\t\t\t\tthis.updateAlignments(controlClassName);\r\n\t\t\t\t\t\t\tthis.updateTextFormattingStyles(componentRef.instance.ctrlObj);\r\n\r\n\t\t\t\t\t\t\tif (this.externalIntegrationType !== '' && componentRef.instance.ctrlObj.controlName === 'Text') {\r\n\t\t\t\t\t\t\t\tthis.resetChangesForIntegration(componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tlet resizableEle: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\tlet spnSelectEle: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n\t\t\t\t\t\t\tif (this.isEnvelopeEditable) {\r\n\t\t\t\t\t\t\t\tif (resizableEle) {\r\n\t\t\t\t\t\t\t\t\tresizableEle.style.background = 'bisque';\r\n\t\t\t\t\t\t\t\t\tlet attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n\t\t\t\t\t\t\t\t\tif (spnSelectEle && attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\tspnSelectEle.classList.add('mouse-selected');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif (spnSelectEle) spnSelectEle.style.background = '';\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tlet length: any = this.selectedItems.length;\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setSelecteditemsLength(length);\r\n\t\t\t\t\t\t\t\tthis.commonService.setSelectedItems(this.selectedItems);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tlet chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n\t\t\t\t\t\t\t\tif (chInitRequiredContainer) {\r\n\t\t\t\t\t\t\t\t\tchInitRequiredContainer.classList.remove('place-on-initials-btn');\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n\t\t\t\t\t\t\t\tthis.controlPropertyService.setRadioCheckBoxGroupChecked(componentRef.instance.ctrlObj.id, componentRef.instance.ctrlObj.textFormatting);\r\n\t\t\t\t\t\t\t\tlet radioCheckboxSize: any = componentRef.instance.ctrlObj.textFormatting.size;\r\n\t\t\t\t\t\t\t\tif (radioCheckboxSize) {\r\n\t\t\t\t\t\t\t\t\tlet defaultSize: any = this.controlPropertyService.getRadioCheckBoxSizeVal(radioCheckboxSize);\r\n\t\t\t\t\t\t\t\t\tthis.controlPropertyService.applyRadioAndCheckBoxSizes(defaultSize, resizableEle, spnSelectEle);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.controlPropertyService.showRequiredIcon(componentRef.instance.ctrlObj.id);\r\n\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tthis.updateCtrlTextFormatting(componentRef.instance.ctrlObj.id, '0');\r\n\t\t\t\t\t\t\t}, 250);\r\n\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.updateJsonArrays(controlName, controlClassName, componentRef.instance.ctrlObj, componentRef.instance.ctrlObj.dataGuid);\r\n\t\t\t\t\t//console.log('performUndoRedoAction', componentRef.instance.ctrlObj);\r\n\t\t\t\t\tthis.performUndoRedoAction('ADD_ITEM', [componentRef.instance.ctrlObj]);\r\n\t\t\t\t\tthis.allControlsArr.push(componentRef.instance.ctrlObj);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (event.previousContainer.data) {\r\n\t\t\tthis.dragItems = this.dragItems.filter((f) => !f.temp);\r\n\t\t}\r\n\t\tthis.getControlsCount(event, '', '');\r\n\r\n\t\tthis.slDropDownControlItems = [];\r\n\t\tif (event && event.item && event.item.data && event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n\t\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.dateFormatID) {\r\n\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n\t\t\t} else {\r\n\t\t\t\tthis.selectDefaultDateFormat = \"1\";\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.selectedPanelRecipentTextAreaText = '';\r\n\t\tthis.arrCopyPasteCtrl = [];\r\n\t\tthis.arrUndoRedoCtrl = [];\r\n\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\tthis.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.hidePagesViewSection = true;\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.controlPropertyService.expandAllProp();\r\n\t\t\t//if (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n\t\t\t//this.openModal('', 'dropdownlist', ''); //will do in next sprint\r\n\t\t\t//}\r\n\r\n\t\t\tif (event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\t\tlet addTextTextarea: any = document.getElementById('addTextTextarea');\r\n\t\t\t\taddTextTextarea.setAttribute('maxlength', '400');\r\n\t\t\t}\r\n\t\t}, 50);\r\n\t}\r\n\r\n\tupdateJsonArrays(controlName: any, controlClassName: any, ctrlObj: any, data_guid: any) {\r\n\t\tthis.controlPropertyService.updateJsonArrays(controlName, controlClassName, ctrlObj, data_guid);\r\n\t\tif (data_guid.toLowerCase() === Control.Radio.toLowerCase() || data_guid.toLowerCase() === Control.Checkbox.toLowerCase()\r\n\t\t\t|| data_guid.toLowerCase() === Control.DropDown.toLowerCase() || data_guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\tthis.showHideDependenciesButton();\r\n\t\t}\r\n\t}\r\n\r\n\tgetSameControlNumberCount(ctrlGuid: any, pageNum: any) {\r\n\t\t// let allImageControlsString: any = localStorage.getItem('AllImageControls');\r\n\t\tlet allImageControlsString: any = this.sessionStorageService.getAllImageControls();\r\n\t\tif (allImageControlsString) {\r\n\t\t\tthis.arrControlIdNumber = JSON.parse(allImageControlsString);\r\n\t\t}\r\n\r\n\t\tlet sameCtrlArray: any = this.arrControlIdNumber.filter(function (obj: any) { return obj.DataGuid.toLowerCase() == ctrlGuid.toLowerCase() && obj.PageNo == pageNum });\r\n\r\n\t\tif (sameCtrlArray && sameCtrlArray.length > 0) return sameCtrlArray.length + 1;\r\n\t\telse return 1;\r\n\t}\r\n\r\n\tgetControlsCount(e: any, ctrlPageNumber: any, type: any) {\r\n\t\tlet id: any;\r\n\t\tif (e && e.event && e.event.target && e.event.target.id) id = e.event.target.id;\r\n\t\telse if (ctrlPageNumber && ctrlPageNumber != '') id = ctrlPageNumber;\r\n\r\n\t\tlet totalControlCount: any = 0;\r\n\t\tlet count: any = 0;\r\n\t\tlet documentImages: any = document.querySelectorAll('.img-control');\r\n\t\tArray.from(documentImages).forEach((ele: any, index: any) => {\r\n\t\t\tif (ele.id.split('_')[0] === 'imgControl') {\r\n\t\t\t\tlet imgCtrl: any = document.getElementById('imgControl_' + ele.id.split('_')[1]);\r\n\t\t\t\tlet signerCtrls: any = imgCtrl.getElementsByClassName('signControl');\r\n\t\t\t\tcount = signerCtrls.length;\r\n\t\t\t\tif (count > 0) {\r\n\t\t\t\t\tthis.imagesArr[index].isActive = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.imagesArr[index].isActive = false;\r\n\t\t\t\t}\r\n\t\t\t\tthis.imagesArr[index].controlsCount = count;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tlet documentImagesControlsArray: any = document.querySelectorAll('.signControl');\r\n\t\tlet temptotalControlCount: any = 0;\r\n\t\tsetTimeout(() => {\r\n\t\t\tif (documentImagesControlsArray && documentImagesControlsArray.length > 0) {\r\n\t\t\t\tdocumentImagesControlsArray.forEach((ele: any, index: any) => {\r\n\t\t\t\t\tlet resizableCtrlEle: any = document.getElementById('resizable_' + ele.id);\r\n\t\t\t\t\tif (resizableCtrlEle && resizableCtrlEle.style.display !== 'none') {\r\n\t\t\t\t\t\ttemptotalControlCount = temptotalControlCount + 1;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t\ttotalControlCount = temptotalControlCount;\r\n\t\t\t\tthis.temptotalControlCount = temptotalControlCount;\r\n\t\t\t\tif (this.deleteCtrlItemsFlag === false) {\r\n\t\t\t\t\tif (this.allControlsArr.length === 0 && temptotalControlCount === 0) {\r\n\t\t\t\t\t\tthis.undoFlag = 'false';\r\n\t\t\t\t\t} else if (temptotalControlCount > 0) {\r\n\t\t\t\t\t\tthis.undoFlag = 'true';\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.undoFlag = 'false';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.controlPropertyService.disableOrEnableClearAllIcon(temptotalControlCount);\r\n\t\t\t}\r\n\t\t\t//checking id is getting NaN, then updating page number which is last dropped control page\r\n\t\t\tif (isNaN(parseInt(id))) {\r\n\t\t\t\tfor (const [ctrlObjId, componentRef] of this.dynamicComponentRefs) {\r\n\t\t\t\t\tif (componentRef.instance && componentRef.instance.ctrlObj && componentRef.instance.ctrlObj.pageNo) {\r\n\t\t\t\t\t\tid = parseInt(componentRef.instance.ctrlObj.pageNo);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet pgNumber: any = parseInt(id);\r\n\t\t\tif (type === ControlConfig.Existing) {\r\n\t\t\t\tpgNumber = 1;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif (isNaN(parseInt(id))) {\r\n\t\t\t\t\t// let pNumber: any = localStorage.getItem('currentPagination');\r\n\t\t\t\t\tlet pNumber: any = this.sessionStorageService.getCurrentPagination();\r\n\t\t\t\t\tpgNumber = parseInt(pNumber);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.updateTempTotalCountPerPage();\r\n\t\t\tthis.commonService.updatePrevObject({\r\n\t\t\t\t'totalControls': totalControlCount,\r\n\t\t\t\t'pageNumber': pgNumber,\r\n\t\t\t\t'tempTotalCountPerPage': this.tempTotalCountPerPage\r\n\t\t\t\t// 'documentList': this.imagesArr\r\n\t\t\t});\r\n\t\t}, 200);\r\n\t}\r\n\r\n\texited(event: any) {\r\n\t\tconst currentIdx = event.container.data.findIndex(\r\n\t\t\t(f: any) => f.id === event.item.data.id\r\n\t\t);\r\n\t\tthis.dragItems.splice(currentIdx + 1, 0, {\r\n\t\t\t...event.item.data,\r\n\t\t\ttemp: true,\r\n\t\t});\r\n\t}\r\n\r\n\tentered() {\r\n\t\tthis.dragItems = this.dragItems.filter((f) => !f.temp);\r\n\t}\r\n\r\n\tshowControlFields(cName: any) {\r\n\t\tthis.isClose = false;\r\n\t\t// Map between control name values and properties\r\n\t\tconst cNamePropertiesMap: any = {\r\n\t\t\t'signature': 'signatureProperties',\r\n\t\t\t'initials': 'initialsProperties',\r\n\t\t\t'newinitials': 'initialsProperties',\r\n\t\t\t'date & time stamp': 'datetimeProperties',\r\n\t\t\t'datetimestamp': 'datetimeProperties',\r\n\t\t\t'name': 'nameProperties',\r\n\t\t\t'title': 'titleProperties',\r\n\t\t\t'company': 'companyProperties',\r\n\t\t\t'email': 'emailProperties',\r\n\t\t\t'dropdown': 'dropdownProperties',\r\n\t\t\t'checkbox': 'checkboxProperties',\r\n\t\t\t'radio': 'radioProperties',\r\n\t\t\t'date': 'dateProperties',\r\n\t\t\t'text': 'textProperties',\r\n\t\t\t'label': 'labelProperties',\r\n\t\t\t'hyperlink': 'hyperlinkProperties'\r\n\t\t\t, 'stamp': 'stampProperties'\r\n\t\t};\r\n\r\n\t\t// Initialize all properties to false\r\n\t\tthis.controlsObj = Object.fromEntries(Object.keys(cNamePropertiesMap).map(key => [cNamePropertiesMap[key], false]));\r\n\r\n\t\t// Set the corresponding property to true based on control name\r\n\t\tconst propertyKey = cNamePropertiesMap[cName];\r\n\t\tif (propertyKey) {\r\n\t\t\tthis.controlsObj[propertyKey] = true;\r\n\t\t}\r\n\r\n\t\tthis.hideControlViewSection = false;\r\n\t\tif (this.isAddColumnSpace === true) {\r\n\t\t\tthis.hideControlViewSection = true;\r\n\t\t}\r\n\t\tthis.updateExtendDocumentWidth();\r\n\r\n\t\tif (cName === 'text') {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.checkTextFields();\r\n\r\n\t\t\t\tthis.controlPropertyService.resetTextAreaInputs();\r\n\r\n\t\t\t\tif (this.integrationResponse && this.integrationResponse.envelopeDetails) {\r\n\t\t\t\t\tthis.externalIntegrationType = this.integrationResponse.envelopeDetails.integrationType; //Vincere, Bullhorn\r\n\t\t\t\t\tif (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t// let currentControlId: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\t\t\t\t\t\tlet currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\t\t\t\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentControlId);\r\n\t\t\t\t\t\t\tlet dataEntityField: string = '';\r\n\t\t\t\t\t\t\tlet dataEntity: string = '';\r\n\t\t\t\t\t\t\tif (ctrlEle) {\r\n\t\t\t\t\t\t\t\tdataEntityField = ctrlEle.getAttribute('data-EntityField');\r\n\t\t\t\t\t\t\t\tdataEntity = ctrlEle.getAttribute('data-Entity');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (dataEntity && dataEntityField) {\r\n\t\t\t\t\t\t\t\tthis.updateIntegrationFields(dataEntity, dataEntityField);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}, 10);\r\n\t\t\t\t\t\tthis.externalEntityList = this.integrationResponse.envelopeDetails.entityList;\r\n\t\t\t\t\t\tthis.externalEntityFieldList = this.integrationResponse.envelopeDetails.entityFieldsList;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.externalIntegrationType = '';\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.externalIntegrationType = '';\r\n\t\t\t\t}\r\n\r\n\t\t\t}, 300);\r\n\t\t}\r\n\t}\r\n\r\n\t//search functionalty\r\n\tonFilterApply(event: any) {\r\n\t\tlet array: any[] = this.commonConstants.DragItems;\r\n\t\tlet searchtext: string;\r\n\r\n\t\tlet inputVal: any = document.getElementById('search-text');\r\n\t\tif (inputVal && inputVal.value.length) {\r\n\t\t\tsearchtext = inputVal.value;\r\n\t\t\t// this.dragItems = array.filter(item => item['title'].toLowerCase().includes(searchtext.toLowerCase()));\r\n\t\t\tthis.dragItems = array.filter(item => this.getLanguageTranslationValue(item.langGuid).toLowerCase().includes(searchtext.toLowerCase()));\r\n\t\t} else {\r\n\t\t\tthis.dragItems = this.commonConstants.DragItems;\r\n\t\t}\r\n\r\n\t\tconst removeDuplicates = (arr: any[], property: string) => {\r\n\t\t\treturn arr.filter((value, index, self) => {\r\n\t\t\t\treturn self.findIndex((v) => v[property] === value[property]) === index;\r\n\t\t\t});\r\n\t\t};\r\n\r\n\t\t// Use the function to remove duplicates\r\n\t\tthis.dragItems = removeDuplicates(this.dragItems, 'title');\r\n\t}\r\n\r\n\t//Method to be called when scrolling\r\n\tonScroll(event: any) {\r\n\t\tlet scrollTop: any = event?.target.scrollTop; // Scroll top value\r\n\t\tconst images = document.querySelectorAll('.img-control');\r\n\r\n\t\tif (images && images.length) {\r\n\t\t\t// Initialize a variable to store the index of the topmost visible image\r\n\t\t\tlet topImageIndex = images.length;\r\n\t\t\tlet pageVal: any = -1;\r\n\r\n\t\t\t// Iterate over the images to find the topmost visible image\r\n\t\t\tfor (let i = 0; i <= images.length; i++) {\r\n\t\t\t\tconst image: any = images[i];\r\n\t\t\t\t// Check if the top of the image is within the visible area of the container\r\n\t\t\t\tif (image && image.offsetTop && image.offsetTop > (scrollTop + 200)) {\r\n\t\t\t\t\ttopImageIndex = i;\r\n\t\t\t\t\tpageVal = topImageIndex;\r\n\t\t\t\t\tthis.paginationComponent.updatedPageNoOnScroll(event, pageVal);\r\n\t\t\t\t\tbreak; // Once we find the topmost visible image, we can stop iterating\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (pageVal == -1) {\r\n\t\t\t\t\t\tthis.paginationComponent.updatedPageNoOnScroll(event, images.length);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.ngUnsubscribe.next();\r\n\t\tthis.ngUnsubscribe.complete();\r\n\r\n\t\t// Remove click event listener from document body\r\n\t\tdocument.body.removeEventListener('click', this.onClickOutsideSelectionArea);\r\n\r\n\t\tif (this.valueChangesSubscription) {\r\n\t\t\tthis.valueChangesSubscription.unsubscribe();\r\n\t\t}\r\n\t}\r\n\r\n\tisControlingField(currentControlId: any) {\r\n\t\treturn this.controlPropertyService.isControlingField(currentControlId);\r\n\t}\r\n\r\n\taddDropdownOption() {\r\n\t\tlet dropdownListEle: any = document.getElementById('dropdownList');\r\n\t\tlet dropDownList: any = [];\r\n\t\tlet isFirstLineBlank: any = \"false\";\r\n\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n\t\tlet resizable_DropdownControlField: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\tif (resizable_DropdownControlField) {\r\n\t\t\tisFirstLineBlank = resizable_DropdownControlField.getAttribute('data-firstlineblank');\r\n\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\t\tfor (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n\t\t\t\t\tvar text = selectDropdownControlField.options[index].text;\r\n\t\t\t\t\tvar ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n\t\t\t\t\tdropDownList.push({ value: text, editMode: false, editValue: '', ruleId: ruleId });\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (isFirstLineBlank == \"true\") {\r\n\t\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n\t\t\t\t\tif (arrayObj && arrayObj.length == 0) { //add empty filed\r\n\t\t\t\t\t\tdropDownList.splice(0, 0, { value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t//remove empty filed\r\n\t\t\t\t\tdropDownList = dropDownList.filter((obj: any) => obj.value.toLowerCase().trim() != '');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif (isFirstLineBlank == \"true\") {\r\n\t\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n\t\t\t\t\tif (arrayObj && arrayObj.length == 0) { //add empty filed\r\n\t\t\t\t\t\tdropDownList.push({ value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (dropdownListEle && dropdownListEle.value && dropdownListEle.value != '' && dropdownListEle.value.trim() != '') {\r\n\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == dropdownListEle.value.toLowerCase());\r\n\t\t\t\tif (arrayObj && arrayObj.length == 0) {\r\n\t\t\t\t\tdropDownList.push({ value: dropdownListEle.value, editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t\tdropdownListEle.value = '';\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tdropdownListEle.value = ''; this.toastrService.warning('Value already exists.', 'Warning'); return;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.toastrService.warning(\"Value should not be empty or blank.\", 'Warning'); return;\r\n\t\t\t}\r\n\r\n\t\t\t//Now append new options to exisitng options\r\n\t\t\tthis.slDropDownControlItems = [];\r\n\t\t\tif (selectDropdownControlField && selectDropdownControlField.options) { selectDropdownControlField.options.length = 0; }\r\n\t\t\tfor (var i = 0; i < dropDownList.length; i++) {\r\n\t\t\t\tvar option = '';\r\n\t\t\t\tif (selectDropdownControlField)\r\n\t\t\t\t\tselectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n\t\t\t\tthis.slDropDownControlItems.push({ value: dropDownList[i].ruleId, text: dropDownList[i].value });\r\n\t\t\t}\r\n\r\n\t\t\tdropDownList = dropDownList.sort((a: any, b: any) => a.value.length < b.value.length ? 1 : -1);\r\n\t\t\tlet drpOptionLongText: any = dropDownList && dropDownList.length > 0 ? dropDownList[0] : ''\r\n\r\n\t\t\tif (drpOptionLongText) {\r\n\t\t\t\tthis.commonService.expandDropdownWidth(resizable_DropdownControlField, selectDropdownControlField, drpOptionLongText.value);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\topenModal(e: any, modalName: any, type: any) {\r\n\t\t// this.inputControl.nativeElement.focus();\r\n\t\t//this.currentControlId = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tif (e) {\r\n\t\t\te.preventDefault();\r\n\t\t}\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t\t// localStorage.setItem('CurrentClickedDroppedControl', this.currentControlId);\r\n\t\t\t\tthis.sessionStorageService.setCurrentClickedDroppedControl(this.currentControlId);\r\n\t\t\t});\r\n\r\n\t\tif (modalName === 'dropdownlist') {\r\n\t\t\tlet dropdownListEle: any = document.getElementById('dropdownList');\r\n\t\t\t// let textFocus:any = document.getElementById('text-focus');\r\n\t\t\t// textFocus.focus();\r\n\t\t\tlet dropDownList: any = [];\r\n\t\t\tlet isFirstLineBlank: any = \"false\";\r\n\t\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n\t\t\tlet resizable_DropdownControlField: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\t\tif (resizable_DropdownControlField) {\r\n\t\t\t\tisFirstLineBlank = resizable_DropdownControlField.getAttribute('data-firstlineblank');\r\n\t\t\t}\r\n\r\n\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\t\tfor (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n\t\t\t\t\tvar text = selectDropdownControlField.options[index].text;\r\n\t\t\t\t\tvar ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n\t\t\t\t\tdropDownList.push({ value: text, editMode: false, editValue: '', ruleId: ruleId });\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (isFirstLineBlank == \"true\") {\r\n\t\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n\t\t\t\t\tif (arrayObj && arrayObj.length == 0) { //add empty filed\r\n\t\t\t\t\t\tdropDownList.splice(0, 0, { value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t//remove empty filed\r\n\t\t\t\t\tdropDownList = dropDownList.filter((obj: any) => obj.value.toLowerCase().trim() != '');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif (isFirstLineBlank == \"true\") {\r\n\t\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n\t\t\t\t\tif (arrayObj && arrayObj.length == 0) { //add empty filed\r\n\t\t\t\t\t\tdropDownList.push({ value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (dropdownListEle && dropdownListEle.value && dropdownListEle.value != '') {\r\n\t\t\t\tlet arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == dropdownListEle.value.toLowerCase());\r\n\t\t\t\tif (arrayObj && arrayObj.length == 0) {\r\n\t\t\t\t\tdropDownList.push({ value: dropdownListEle.value, editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n\t\t\t\t}\r\n\t\t\t\tdropdownListEle.value = '';\r\n\t\t\t}\r\n\r\n\t\t\tlet dropdownListObj: any = {\r\n\t\t\t\toption: dropDownList.length > 0 ? dropDownList : '',\r\n\t\t\t\tcurrentDropDownControlId: this.currentControlId\r\n\t\t\t}\r\n\t\t\tlet bsModalDropdownlistRef: any = this.modalService.show(AddDropdownListComponent, {\r\n\t\t\t\tinitialState: { dropdownListObj: dropdownListObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw'\r\n\t\t\t});\r\n\r\n\t\t\tbsModalDropdownlistRef.content.dropdownListChangesMade.subscribe((data: any) => {\r\n\t\t\t\t// Update parent component based on the changes\r\n\t\t\t\tif (data && data.finalCurrentControlDropDownOptions && data.finalCurrentControlDropDownOptions.dropDownListOptions && data.finalCurrentControlDropDownOptions.dropDownListOptions.length > 0) {\r\n\t\t\t\t\tlet drpOptions = data.finalCurrentControlDropDownOptions.dropDownListOptions;\r\n\t\t\t\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + data.currentDropDownControlId)) as HTMLSelectElement;\r\n\r\n\t\t\t\t\t//Get the existing option values for this control. If any new option is not there in existing option then remove that option which is set as 'data-parent-rule-id'\r\n\t\t\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\t\t\t\tfor (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n\t\t\t\t\t\t\tvar text = selectDropdownControlField.options[index].text;\r\n\t\t\t\t\t\t\tvar ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n\t\t\t\t\t\t\tvar ditem = drpOptions.filter((i: any) => { if (i.optionVal == text) { return i; } });\r\n\t\t\t\t\t\t\tif (ditem && ditem.length == 0) {\r\n\t\t\t\t\t\t\t\tlet removeParentRuleItem: any = document.querySelectorAll('[data-parent-rule-id=\"' + ruleId + '\"]');\r\n\t\t\t\t\t\t\t\tif (removeParentRuleItem && removeParentRuleItem.length > 0) {\r\n\t\t\t\t\t\t\t\t\tArray.from(removeParentRuleItem).forEach((ritem: any, index: any) => {\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-id', '');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-rule-id', '');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-support-text-content', '');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-select-option-id', '');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('is-parent-present', '');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('alreadyDependentField');\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('addedAsChild');\r\n\t\t\t\t\t\t\t\t\t\tthis.controlPropertyService.removeColorForItem(ritem.getAttribute('id'));\r\n\t\t\t\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.removeAttribute('group-code');\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t//remove all existing options\r\n\t\t\t\t\t\tselectDropdownControlField.options.length = 0;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//Now append new options to exisitng options\r\n\t\t\t\t\tthis.slDropDownControlItems = [];\r\n\t\t\t\t\tfor (var i = 0; i < drpOptions.length; i++) {\r\n\t\t\t\t\t\tvar option = '';\r\n\t\t\t\t\t\tif (selectDropdownControlField)\r\n\t\t\t\t\t\t\tselectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n\t\t\t\t\t\tthis.slDropDownControlItems.push({ value: drpOptions[i].id, text: drpOptions[i].optionVal });\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tlet dropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n\t\t\t\t\tif (dropdownControlField && dropdownControlField.options) {\r\n\t\t\t\t\t\tdropdownControlField.options.length = 0;\r\n\t\t\t\t\t\tthis.slDropDownControlItems = [];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (data && data.finalCurrentControlDropDownOptions && data.finalCurrentControlDropDownOptions.optionLongText) {\r\n\t\t\t\t\tthis.commonService.expandDropdownWidth(resizable_DropdownControlField, selectDropdownControlField, data.finalCurrentControlDropDownOptions.optionLongText);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet isEmptyOptionExists: any = this.slDropDownControlItems.filter((obj: any) => obj.text.toLowerCase() == '');\r\n\t\t\t\tif (isEmptyOptionExists && isEmptyOptionExists.length == 0) {\r\n\t\t\t\t\tif (resizable_DropdownControlField) {\r\n\t\t\t\t\t\tresizable_DropdownControlField.setAttribute('data-firstlineblank', \"false\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//if no dependencies are available then delete attribute and color\r\n\t\t\t\tlet mainDropdownControlField: any = (document.getElementById(this.currentControlId)) as HTMLSelectElement;\r\n\t\t\t\tlet data_document_content_id: any = mainDropdownControlField.getAttribute('data-document-content-id');\r\n\t\t\t\tlet childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + data_document_content_id + '\"]');\r\n\t\t\t\tif (childelementsArray && childelementsArray.length == 0) {\r\n\t\t\t\t\tthis.controlPropertyService.removeAttributes(data_document_content_id);\r\n\t\t\t\t\tthis.controlPropertyService.removeColorForItem(mainDropdownControlField.getAttribute('id'));\r\n\t\t\t\t}\r\n\t\t\t\t//console.log('Changes from modal:', data);\r\n\t\t\t});\r\n\r\n\t\t}\r\n\t\telse if (modalName === 'adddependencies') {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tif (this.displayDependenciesButton == true) {\r\n\t\t\t\t\tlet isValid: boolean = true;\r\n\t\t\t\t\tif (document.querySelector('[data-int-control-id=\"' + this.currentControlId + '\"]')?.classList.contains('dropdownItem') == true) {\r\n\t\t\t\t\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n\t\t\t\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n\t\t\t\t\t\t\tthis.toastrService.warning(\"Please add list items for the selected dropdown control.\", 'Warning');\r\n\t\t\t\t\t\t\tisValid = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (isValid) {\r\n\t\t\t\t\t\tlet dependencyObj: any = {\r\n\t\t\t\t\t\t\ttype: type == '1' ? '1' : '',\r\n\t\t\t\t\t\t\tgroupColorCode: this.groupColorCode,\r\n\t\t\t\t\t\t\tcurrentControlId: this.currentControlId,\r\n\t\t\t\t\t\t\tisControlingField: this.isControlingField(this.currentControlId)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlet bsModalAddDependenciesRef: any = this.modalService.show(AddDependenciesComponent, {\r\n\t\t\t\t\t\t\tinitialState: { dependencyIconClickedObj: dependencyObj }, keyboard: false, backdrop: 'static', class: 'modal-xl modal-mt'\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tbsModalAddDependenciesRef.content.addDependencieschangesMade.subscribe((data: any) => {\r\n\t\t\t\t\t\t\t// Update your parent component based on the changes\r\n\t\t\t\t\t\t\tthis.groupColorCode = data.controlColorCodeIndex;\r\n\t\t\t\t\t\t\tlet showDependenciesPopUpModal: boolean = data.showDependenciesPopUpModal;\r\n\t\t\t\t\t\t\tif (showDependenciesPopUpModal == true) {\r\n\t\t\t\t\t\t\t\tthis.openModal('', 'adddependencies', '1');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t//console.log('Changes from modal:', data);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}, 350); //300\r\n\t\t}\r\n\t\telse if (modalName === 'viewsetting') {\r\n\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.modalService.show(ViewSettingComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-lg modal-mt' });\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (modalName === 'clearallcontrols') {\r\n\t\t\tif (this.isEnvelopeEditable == true) {\r\n\t\t\t\tlet bsModalClearallControlsRef: any = this.modalService.show(ClearallControlsComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\t\t\tbsModalClearallControlsRef.content.clearallChangesMade.subscribe((data: any) => {\r\n\t\t\t\t\tthis.clearAllControls(data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (modalName === 'discardenvelope') {\r\n\t\t\tif (this.isEnvelopeEdited != true) {\r\n\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tconst modalRef = this.modalService.show(DiscardEnvelopeComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\t\t\t\tmodalRef.content?.onCheckDiscardEnvelope.subscribe((popUpStatus: any) => {\r\n\t\t\t\t\t\tif (popUpStatus.status.toLowerCase() === 'ok') this.hostListenerStatus = true;\r\n\t\t\t\t\t\telse this.hostListenerStatus = false;\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (modalName === 'keybordKeys') {\r\n\t\t\tthis.modalService.show(KeyboardShortcutsComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\t}\r\n\t\telse if (modalName === 'backModal') {\r\n\t\t\tif (this.disableBackArrowButton == \"false\") {\r\n\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tlet modalRef: any = this.modalService.show(GotoStepOneComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\t\t\t\tmodalRef.content?.gotoStepOneChangesMade.subscribe((popUpStatus: any) => {\r\n\t\t\t\t\t\tthis.onGotoStepOne(popUpStatus.status);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (modalName === 'branding') {\r\n\t\t\tif (this.slides != null && this.slides != undefined && this.slides.length > 0) {\r\n\t\t\t\tlet bsModalbrandingRef: any = this.modalService.show(MultiBrandingComponent, { initialState: { slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw branding' });\r\n\t\t\t\tbsModalbrandingRef.content.multiBrandingChangesMade.subscribe((data: any) => {\r\n\t\t\t\t\t// Update your parent component based on the changes\r\n\t\t\t\t\tdata.slides.map((item: any) => {\r\n\t\t\t\t\t\tif (item.isDefault) {\r\n\t\t\t\t\t\t\tthis.branding = `[${JSON.stringify(item)}]`;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tthis.toastrService.warning(this.commonConstants.NoBrandingMessage, 'Attention');\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if (modalName === 'multiplesignerupdate') {\r\n\t\t\tif (this.selectedItems && this.selectedItems.length > 1) {\r\n\t\t\t\tlet selectedControlItemsObj: any = {\r\n\t\t\t\t\tselectedItems: this.selectedItems,\r\n\t\t\t\t\tcurrentControlId: this.currentControlId,\r\n\t\t\t\t}\r\n\t\t\t\tlet modalRef: any = this.modalService.show(MultipleSignerUpdateComponent, { initialState: { selectedItemsObj: selectedControlItemsObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\t\t\tmodalRef.content?.multipleSignerUpdateChangesMade.subscribe((popUpStatus: any) => {\r\n\t\t\t\t\tif (popUpStatus.status == \"1\") {\r\n\t\t\t\t\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t\t\t\t\tthis.selectedItems = [];\r\n\t\t\t\t\t\tthis.commonService.selectedItems = [];\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tremoveControl(ctrlId: any, event: any) {\r\n\t\tconst dynamicComponentRef = this.dynamicComponentRefs.get(ctrlId);\r\n\t\tif (dynamicComponentRef) {\r\n\t\t\tlet ctrlContentId: any = '';\r\n\t\t\tlet tobeDeletedCtrl = (document.getElementById(ctrlId));\r\n\t\t\tlet ctrlPageNumber: any;\r\n\t\t\tif (tobeDeletedCtrl) {\r\n\t\t\t\tctrlPageNumber = tobeDeletedCtrl.getAttribute('data-pageno');\r\n\t\t\t\tctrlContentId = tobeDeletedCtrl.getAttribute('data-document-content-id');\r\n\t\t\t}\r\n\r\n\t\t\t// dynamicComponentRef.destroy();\r\n\t\t\t// this.dynamicComponentRefs.delete(ctrlId);\r\n\t\t\tthis.isClose = true;\r\n\t\t\tthis.hideControlViewSection = this.isClose;\r\n\t\t\tthis.activeCtrlId = 0;\r\n\t\t\t// this.selectedItems = [];\r\n\t\t\tif (this.selectedItems && this.selectedItems.length > 0) {\r\n\t\t\t\tthis.selectedItems = this.selectedItems.filter(item => item !== 'resizable_' + ctrlId);\r\n\t\t\t}\r\n\t\t\tif (this.ctrlAndClickedControlsArr && this.ctrlAndClickedControlsArr.length > 0) {\r\n\t\t\t\tthis.ctrlAndClickedControlsArr = this.ctrlAndClickedControlsArr.filter((item: any) => item !== 'resizable_' + ctrlId);\r\n\t\t\t}\r\n\r\n\t\t\t//Delete the control from local storage arrays\r\n\t\t\tthis.controlPropertyService.updateDependecyForDependentControls(ctrlId, ctrlContentId);\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.showHideDependenciesButton();\r\n\t\t\t\tthis.getControlsCount(event, ctrlPageNumber, '');\r\n\t\t\t\t//this.controlPropertyService.updateUndoRedoCopyPasteControlArray(ctrlId);\r\n\t\t\t\tthis.updateExtendDocumentWidth();\r\n\t\t\t}, 10); //50\r\n\t\t}\r\n\t}\r\n\r\n\tremoveControlComponent(event: any, id: any) {\r\n\t\tthis.isAddColumnSpace = this.hideControlViewSection;\r\n\t\tif (id === '') {\r\n\t\t\t// id = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\t\tid = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t}\r\n\r\n\t\tsetTimeout(() => {\r\n\t\t\tconst dynamicComponentRef = this.dynamicComponentRefs.get(id);\r\n\t\t\tif (dynamicComponentRef) {\r\n\t\t\t\t// this.removeControl(id, event);\r\n\t\t\t\tthis.deleteItems(['resizable_' + id]);\r\n\t\t\t\tthis.deleteItems(['resizable_' + id]);\r\n\r\n\t\t\t\tthis.isClose = true;\r\n\t\t\t\tthis.activeCtrlId = 0;\r\n\t\t\t\tthis.hidePagesViewSection = false;\r\n\t\t\t\tthis.hideControlViewSection = this.isClose;\r\n\t\t\t}\r\n\t\t}, 25);\r\n\t}\r\n\r\n\tgetDragActiveID(currentObj: any) {\r\n\t\treturn this.dragItems.findIndex((item) => item.title === currentObj.controlName) + 1;\r\n\t}\r\n\r\n\tapplyRecipientDetailsToControl(currentSelectedControl: any) {\r\n\t\tlet resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n\t\tif (resizableCurrentControl) {\r\n\t\t\tresizableCurrentControl.setAttribute('data-rcptid', this.selectedPanelRecipentId);\r\n\t\t\tresizableCurrentControl.setAttribute('data-original-rcptid', this.selectedPanelRecipentId);\r\n\t\t\tresizableCurrentControl.setAttribute('data-recp-color', this.selectedPanelRecipentColor);\r\n\t\t\tresizableCurrentControl.style.outline = 'none';\r\n\t\t\tresizableCurrentControl.style.outline = this.selectedPanelRecipentColor + ' solid 1px';\r\n\t\t\tresizableCurrentControl.setAttribute('data-original-title', this.controlPropertyService.getControlOriginalTitle(this.selectedPanelRecipentId, currentSelectedControl));\r\n\r\n\t\t\tthis.controlPropertyService.updateRecipientsInStorage(currentSelectedControl, this.selectedPanelRecipentId);\r\n\t\t}\r\n\t}\r\n\r\n\t//Apply Recipient details\r\n\tupdateRecipientPanelControlProperties() {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n\t\tif (resizableCurrentControl) {\r\n\t\t\tlet recpId: any = resizableCurrentControl.getAttribute(\"data-rcptid\");\r\n\t\t\tlet recpColor: any = resizableCurrentControl.getAttribute(\"data-recp-color\");\r\n\t\t\tlet dataGuid: any = resizableCurrentControl.getAttribute(\"data-guid\");\r\n\t\t\tif (dataGuid.toLowerCase() == Control.Text.toLowerCase()) {\r\n\t\t\t\tthis.selectedPanelRecipentColor = recpColor;\r\n\t\t\t\tlet recpArrayObj = this.receipentListArr.filter((c: any) => c.id == recpId);\r\n\t\t\t\tif (recpArrayObj.length > 0) {\r\n\t\t\t\t\tthis.selectedPanelRecipentName = recpArrayObj[0].name;\r\n\t\t\t\t\tthis.selectedPanelRecipentId = recpArrayObj[0].id;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tlet spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n\t\t\t\t\tlet innerText: any = spnCurrentSelectedControl?.innerHTML;\r\n\t\t\t\t\tlet addTextTextarea: any = document.getElementById(\"addTextTextarea\");\r\n\t\t\t\t\tlet addtextareaval: any = resizableCurrentControl.getAttribute('data-addtextareaval');\r\n\t\t\t\t\tif (addtextareaval === null || addtextareaval === undefined || addtextareaval === '') {\r\n\t\t\t\t\t\taddTextTextarea.value = '';\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif (spnCurrentSelectedControl && innerText != undefined && innerText != null && innerText != '' && innerText.toLowerCase() != 'text') {\r\n\t\t\t\t\t\t\tthis.selectedPanelRecipentTextAreaText = innerText.toLowerCase() != 'text' ? innerText : '';\r\n\t\t\t\t\t\t\taddTextTextarea.value = resizableCurrentControl.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tthis.selectedPanelRecipentTextAreaText = '';\r\n\t\t\t\t\t\t\tif (resizableCurrentControl && resizableCurrentControl.getAttribute('data-asteriskOriginalText')) {\r\n\t\t\t\t\t\t\t\taddTextTextarea.value = resizableCurrentControl.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\taddTextTextarea.value = '';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 500);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tapplyStylesToSelectedRecipient(recipientId: any, type: any, isClicked: any) {\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t\t// localStorage.setItem('CurrentClickedDroppedControl', this.currentControlId);\r\n\t\t\t\tthis.sessionStorageService.setCurrentClickedDroppedControl(this.currentControlId);\r\n\t\t\t});\r\n\r\n\t\t//apply other styles\r\n\t\tsetTimeout(() => {\r\n\t\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\tlet resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n\t\t\tlet spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n\t\t\tif (resizableCurrentSelectedControl) {\r\n\t\t\t\tthis.selectedPanelRecipentName = this.controlPropertyService.getRecipientName(resizableCurrentSelectedControl.getAttribute('data-rcptid'));\r\n\t\t\t\tthis.selectedPanelRecipentColor = resizableCurrentSelectedControl.getAttribute('data-recp-color');\r\n\t\t\t\tthis.controlPropertyService.removeControlActiveClass(\"clicked\");\r\n\r\n\t\t\t\tresizableCurrentSelectedControl.style.outline = 'none';\r\n\t\t\t\tresizableCurrentSelectedControl.style.outline = this.selectedPanelRecipentColor + ' solid 3px';\r\n\t\t\t\tresizableCurrentSelectedControl.classList.add('control-active');\r\n\t\t\t\tif (this.isEnvelopeEditable) {\r\n\t\t\t\t\tresizableCurrentSelectedControl.classList.add('control-active-bg-color');\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet dataguid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n\t\t\t\tif (dataguid.toLowerCase() == Control.Label.toLowerCase() || dataguid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n\t\t\t\t\tresizableCurrentSelectedControl.style.outline = 'none';\r\n\t\t\t\t\tresizableCurrentSelectedControl.style.outline = '#d21513 solid 3px';\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet attr_id: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n\t\t\t\tif (attr_id.toLowerCase() == Control.Radio.toLowerCase()) {//display group secion\r\n\t\t\t\t\tthis.displayGroupRadio = true; this.displayGroupCheckBox = false;\r\n\t\t\t\t}\r\n\t\t\t\telse if (attr_id.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n\t\t\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\t\t\tlet attr_name: any = spnCurrentSelectedControl.getAttribute('name');\r\n\t\t\t\t\t\tlet checkboxgroup: any = (document.getElementById(\"checkboxgroup\"));\r\n\t\t\t\t\t\tif (attr_name == '' || attr_name == null) {\r\n\t\t\t\t\t\t\tthis.displayGroupCheckBox = false; this.displayGroupRadio = false;\r\n\t\t\t\t\t\t\tif (checkboxgroup) checkboxgroup.checked = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tthis.displayGroupCheckBox = true; this.displayGroupRadio = false;\r\n\t\t\t\t\t\t\tif (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n\t\t\t\t\t\t\t\tif (checkboxgroup) { checkboxgroup.checked = false; }\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tif (checkboxgroup) { checkboxgroup.checked = true; }\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t//if (checkboxgroup) { checkboxgroup.checked = true; }\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse { this.displayGroupCheckBox = false; this.displayGroupRadio = false; }\r\n\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.controlPropertyService.expandAllProp();\r\n\r\n\t\t\t\t\t//If it is dropdown control then add existing options\r\n\t\t\t\t\tif (attr_id && attr_id.toLowerCase() == Control.DropDown.toLowerCase() && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\t//Now append new options to exisitng options\r\n\t\t\t\t\t\tthis.slDropDownControlItems = [];\r\n\t\t\t\t\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + currentSelectedControl)) as HTMLSelectElement;\r\n\t\t\t\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\t\t\t\t\tfor (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n\t\t\t\t\t\t\t\tvar text = selectDropdownControlField.options[index].text;\r\n\t\t\t\t\t\t\t\tvar ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n\t\t\t\t\t\t\t\tthis.slDropDownControlItems.push({ value: ruleId, text: text });\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//Applying radio and checkbox sizes\r\n\t\t\t\t\tif (attr_id && (attr_id.toLowerCase() == Control.Checkbox.toLowerCase() || attr_id.toLowerCase() == Control.Radio.toLowerCase()) && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\tlet dataSizeVal: any = resizableCurrentSelectedControl.getAttribute('data-size');\r\n\t\t\t\t\t\tif (dataSizeVal) this.selectDefaultSizeValue = this.controlPropertyService.getRadioCheckBoxSizeVal(dataSizeVal);\r\n\t\t\t\t\t\telse resizableCurrentSelectedControl.setAttribute('data-size', this.controlPropertyService.getRadioCheckBoxSize(this.selectDefaultSizeValue));\r\n\r\n\t\t\t\t\t\tif (attr_id && attr_id.toLowerCase() == Control.Checkbox.toLowerCase() && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\t\tlet dataIsGroupChecked: any = resizableCurrentSelectedControl.getAttribute('data-isgroupchecked');\r\n\t\t\t\t\t\t\tif (dataIsGroupChecked == \"true\" || this.ischeckboxGroup == true) {\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-isgroupchecked', \"true\");\r\n\t\t\t\t\t\t\t\tthis.displayGroupCheckBox = true;\r\n\t\t\t\t\t\t\t\tif (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n\t\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-groupname', this.checkboxGroupName == null || this.checkboxGroupName == undefined ? '' : this.checkboxGroupName);\r\n\t\t\t\t\t\t\t\t\tspnCurrentSelectedControl.setAttribute('name', this.checkboxName == null || this.checkboxName == undefined ? '' : this.checkboxName);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tthis.ischeckboxGroup = false;\r\n\t\t\t\t\t\t\t\tthis.displayGroupCheckBox = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (attr_id && attr_id.toLowerCase() == Control.Radio.toLowerCase() && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\t\tif (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-groupname', this.checkboxGroupName == null || this.checkboxGroupName == undefined ? '' : this.checkboxGroupName);\r\n\t\t\t\t\t\t\t\tspnCurrentSelectedControl.setAttribute('name', this.checkboxName == null || this.checkboxName == undefined ? '' : this.checkboxName);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//Applying Date default format\r\n\t\t\t\t\tif (attr_id && attr_id.toLowerCase() == Control.Date.toLowerCase() && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\tlet dateFormat: any = resizableCurrentSelectedControl.getAttribute('data-defaultFormat');\r\n\t\t\t\t\t\tif (dateFormat) {\r\n\t\t\t\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDateFormatVal(dateFormat);\r\n\t\t\t\t\t\t\tlet spnControlEle: any = (document.getElementById('spn' + currentSelectedControl))\r\n\t\t\t\t\t\t\tif (spnControlEle) {\r\n\t\t\t\t\t\t\t\tspnControlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse resizableCurrentSelectedControl.setAttribute('data-defaultFormat', this.controlPropertyService.getDateFormat(this.selectDefaultDateFormat));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//Applying for Label or Hyperlink\r\n\t\t\t\t\tif (attr_id && (attr_id.toLowerCase() == Control.Label.toLowerCase() || attr_id.toLowerCase() == Control.Hyperlink.toLowerCase()) && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\tlet spnControlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n\t\t\t\t\t\tlet inputHyperlinkText: any = (document.getElementById('inputHyperlinkText'));\r\n\t\t\t\t\t\tlet inputHyperLinkURL: any = (document.getElementById('inputHyperLinkURL'));\r\n\r\n\t\t\t\t\t\tlet inputLabel: any = (document.getElementById('inputLabel'));\r\n\t\t\t\t\t\tif (spnControlEle) {\r\n\t\t\t\t\t\t\tif (spnControlEle.getAttribute('isupdated') == \"true\") {\r\n\t\t\t\t\t\t\t\tlet labelText: any = spnControlEle.getAttribute('data-label-text');\r\n\t\t\t\t\t\t\t\tif (inputHyperlinkText) inputHyperlinkText.value = spnControlEle.innerHTML;\r\n\t\t\t\t\t\t\t\t//if (inputLabel) inputLabel.value = spnControlEle.innerHTML;\r\n\t\t\t\t\t\t\t\tif (spnControlEle.innerHTML !== '') {\r\n\t\t\t\t\t\t\t\t\tif (inputLabel) inputLabel.value = labelText;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tif (inputLabel) inputLabel.value = (labelText === 'null') ? '' : labelText;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tif (inputLabel) inputLabel.value = '';\r\n\t\t\t\t\t\t\t\tif (inputHyperlinkText) inputHyperlinkText.value = '';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (inputHyperLinkURL) {\r\n\t\t\t\t\t\t\tlet spnControlEle: any = (document.getElementById(currentSelectedControl));\r\n\t\t\t\t\t\t\tif (spnControlEle) {\r\n\t\t\t\t\t\t\t\tif (spnControlEle.getAttribute('data-hyperlink')) inputHyperLinkURL.value = spnControlEle.getAttribute('data-hyperlink');\r\n\t\t\t\t\t\t\t\telse inputHyperLinkURL.value = '';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//Applying radio and checkbox sizes\r\n\t\t\t\t\tif (attr_id && attr_id.toLowerCase() == Control.Email.toLowerCase()) {\r\n\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-confirm-submit', \"0\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.controlPropertyService.applyControlProperties(currentSelectedControl, resizableCurrentSelectedControl, attr_id);\r\n\t\t\t\t\tif (this.hideDependencies == false) {\r\n\t\t\t\t\t\tif (attr_id && attr_id.toLowerCase() != Control.Label.toLowerCase()\r\n\t\t\t\t\t\t\t&& attr_id.toLowerCase() != Control.Hyperlink.toLowerCase()\r\n\t\t\t\t\t\t\t&& attr_id.toLowerCase() != Control.DateTimeStamp.toLowerCase()\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\tlet divSelectedControl: any = document.getElementById(currentSelectedControl);\r\n\t\t\t\t\t\t\tif (divSelectedControl) {\r\n\t\t\t\t\t\t\t\tlet dependencyObj: any = {\r\n\t\t\t\t\t\t\t\t\tcurrentDependentSelectedControl: currentSelectedControl,\r\n\t\t\t\t\t\t\t\t\tcontentId: divSelectedControl.getAttribute('data-document-content-id'),\r\n\t\t\t\t\t\t\t\t\tisControlingField: this.isControlingField(currentSelectedControl)\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\tthis.commonService.callAddDependentFields(dependencyObj);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 10);\r\n\t\t\t}\r\n\t\t}, 100); //150\r\n\t}\r\n\r\n\tshowHideDependenciesButton() {\r\n\t\tlet className: any = 'disabledCtrl';\r\n\t\tif (this.enableDependenciesFeature == true) {\r\n\t\t\tlet resultObj: any = this.controlPropertyService.showHideDependenciesButton();\r\n\t\t\tthis.displayDependenciesButton = resultObj.displayDependenciesButton;\r\n\t\t\treturn className = resultObj.className;\r\n\t\t}\r\n\t\telse return className;\r\n\t}\r\n\r\n\tupdateTextAreaText(event: any): void {\r\n\t\tlet textAreaVal: string = event.target.value.trim(); // Trim spaces\r\n\t\tlet currentSelectedControl: any = this.currentControlId;\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tlet spnStrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\tif (ctrlEle && textAreaVal !== \"\") {\r\n\t\t\tlet textInput: any = document.getElementById('addTextTextarea');\r\n\t\t\tlet checkbox: any = document.getElementById('checkboxHideText');\r\n\t\t\tlet OriginalText: any = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\tlet integrationType: any = null;\r\n\t\t\tif (this.integrationResponse && this.integrationResponse.envelopeDetails && this.integrationResponse.envelopeDetails.integrationType) {\r\n\t\t\t\tintegrationType = this.integrationResponse.envelopeDetails.integrationType;\r\n\t\t\t}\r\n\t\t\tif (ctrlEle && OriginalText && !textAreaVal.includes('*')) {\r\n\t\t\t\tif (OriginalText !== textAreaVal && !integrationType) {\r\n\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', textAreaVal);\r\n\t\t\t\t\ttextAreaVal = textAreaVal;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', OriginalText);\r\n\t\t\t\t\ttextAreaVal = OriginalText;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (ctrlEle && !textAreaVal.includes('*')) {\r\n\t\t\t\tctrlEle.setAttribute('data-isHideTextWithAsterisk', (checkbox && checkbox != null && (checkbox.checked == 'true' || checkbox.checked == true)) ? 'true' : 'false');\r\n\t\t\t\tlet oldValue: any = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', textAreaVal.includes('*') ? oldValue !== \"null\" ? oldValue : '' : textAreaVal);\r\n\t\t\t}\r\n\t\t\t// Call toggleHideTextWithAsterisks if the checkbox is checked\r\n\t\t\tlet isHideTextWithAsterisk: any = ctrlEle.getAttribute('data-isHideTextWithAsterisk');\r\n\t\t\tif (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n\t\t\t\tthis.toggleHideTextWithAsterisks(true);\r\n\t\t\t}\r\n\t\t\t//textAreaVal = (textAreaVal == this.hiddenText) ? this.asteriskOriginalText : textAreaVal;\r\n\t\t\tif (textInput) {\r\n\t\t\t\ttextInput.value = textAreaVal;\r\n\t\t\t}\r\n\t\t\t// Save the text only if not empty (but we handle asterisks separately)\r\n\t\t\tthis.controlPropertyService.updateTextAreaText(isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true ? this.hiddenText : textAreaVal, currentSelectedControl);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (ctrlEle && spnStrlEle) {\r\n\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', '');\r\n\t\t\t\tctrlEle.setAttribute('data-addtextareaval', '');\r\n\t\t\t\tspnStrlEle.innerText = '';\r\n\t\t\t\tspnStrlEle.setAttribute('data-addtextareaval', '');\r\n\t\t\t\tthis.asteriskOriginalText = '';\r\n\t\t\t\tthis.hiddenText = '';\r\n\t\t\t}\r\n\t\t\tthis.toastrService.warning('Add text value cannot be blank.', 'Warning');\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tapplyZoomChanges(e: any) {\r\n\t\tlet zoomText: any = '100';\r\n\t\tif (e && e.target && e.target.text) {\r\n\t\t\tzoomText = e.target.text;\r\n\t\t}\r\n\t\telse if (e && e.target && e.target.innerHTML) {\r\n\t\t\tzoomText = e.target.innerHTML;\r\n\t\t}\r\n\t\telse if (e && e.target && e.target.innerText) {\r\n\t\t\tzoomText = e.target.innerText;\r\n\t\t}\r\n\r\n\t\tif (zoomText) {\r\n\t\t\tthis.imageSize = parseInt(zoomText) / 100;\r\n\t\t\tthis.zoomValue = parseInt(zoomText);\r\n\t\t\tlet element: any = (document.getElementById('zoompage')) as HTMLSelectElement;\r\n\t\t\tif (this.imageSize === 0.5) {\r\n\t\t\t\tthis.isActive = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.add(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t\telement.classList.remove(\"zoom-more\");\r\n\t\t\t}\r\n\t\t\telse if (this.imageSize === 0.75) {\r\n\t\t\t\tthis.isActive = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.add(\"zoom-75\");\r\n\t\t\t\telement.classList.remove(\"zoom-more\");\r\n\t\t\t}\r\n\t\t\telse if (this.imageSize === 1) {\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t}\r\n\t\t\telse if (this.imageSize === 1.25) {\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t\telement.classList.add(\"zoom-more\");\r\n\t\t\t}\r\n\t\t\telse if (this.imageSize === 1.5) {\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t\telement.classList.add(\"zoom-more\");\r\n\t\t\t}\r\n\t\t\telse if (this.imageSize === 1.75) {\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = true;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t\telement.classList.add(\"zoom-more\");\r\n\t\t\t\tthis.isActive = false;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal50 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal75 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal100 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal125 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal150 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal175 = false;\r\n\t\t\t\tthis.ZoomPercentageObj.zoomVal200 = true;\r\n\t\t\t\tthis.isActive = false;\r\n\t\t\t\telement.classList.remove(\"zoom-50\");\r\n\t\t\t\telement.classList.remove(\"zoom-75\");\r\n\t\t\t\telement.classList.add(\"zoom-more\");\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tthis.renderer2.setStyle(this.documentPageContainer.nativeElement, 'transform', `scale(${this.imageSize}, ${this.imageSize})`);\r\n\t}\r\n\r\n\tapplyClickedProperty(event: any, type: any) {\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t});\r\n\r\n\t\tlet currentSelectedControl: any = this.currentControlId; //localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tthis.controlPropertyService.applyClickedProperty(event.target.checked, type);\r\n\t\tlet spanCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\t\tif (resizableCurrentSelectedControl) {\r\n\t\t\tlet guid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n\r\n\t\t\tif (type === '1') {\r\n\t\t\t\tthis.isRequiredChecked = event.target.checked;\r\n\r\n\t\t\t\t//required code\r\n\t\t\t\tthis.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n\t\t\t\t//required code\r\n\t\t\t}\r\n\t\t\telse if (type === '2') {\r\n\t\t\t\tthis.isChkPreSelected = event.target.checked;\r\n\t\t\t\tif (this.isChkPreSelected == true) {\r\n\t\t\t\t\tlet mainParentEle: any = document.getElementById(currentSelectedControl);\r\n\t\t\t\t\tif (mainParentEle) {\r\n\t\t\t\t\t\tspanCurrentSelectedControl.classList.add('checked-visible');\r\n\t\t\t\t\t\tspanCurrentSelectedControl.setAttribute('checked', 'true');\r\n\t\t\t\t\t\tlet isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n\t\t\t\t\t\tlet isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n\t\t\t\t\t\tif (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n\t\t\t\t\t\t\tlet controlGroupCode: any = mainParentEle.getAttribute('group-code');\r\n\t\t\t\t\t\t\tif (controlGroupCode != null && controlGroupCode != \"null\" && controlGroupCode != undefined && controlGroupCode != \"undefined\" && controlGroupCode != \"\") {\r\n\t\t\t\t\t\t\t\tif (controlGroupCode != \"0\" && controlGroupCode != 0) {\r\n\t\t\t\t\t\t\t\t\tlet colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(controlGroupCode) % 10].Color;\r\n\t\t\t\t\t\t\t\t\tthis.controlPropertyService.applyColorCodeForParent(currentSelectedControl, colorCode, \"false\");\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tspanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.controlPropertyService.removeSameRadioNamePreselected(currentSelectedControl);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tspanCurrentSelectedControl.classList.remove('checked-visible');\r\n\t\t\t\t\tspanCurrentSelectedControl.removeAttribute(\"checked\");\r\n\t\t\t\t\tspanCurrentSelectedControl.style[\"background-color\"] = 'white';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (type === '3') {\r\n\t\t\t\tthis.isFixedWidthChecked = event.target.checked;\r\n\t\t\t\tif (event.target.checked === false || event.target.checked === 'false') {\r\n\t\t\t\t\tlet ctelEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\t\t\tif (ctelEle) {\r\n\t\t\t\t\t\tctelEle.setAttribute('maxlengthallowed', 20);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (type === '4') {\r\n\t\t\t\tconst textAreaVal: any = document.getElementById('addTextTextarea');\r\n\t\t\t\ttextAreaVal.value = textAreaVal.value == this.hiddenText ? this.asteriskOriginalText != 'null' ? this.asteriskOriginalText : '' : textAreaVal.value;\r\n\t\t\t\tif (event && event.target) {\r\n\t\t\t\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\t\t\tif (ctrlEle) {\r\n\t\t\t\t\t\tthis.asteriskOriginalText = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\t\t\t\tctrlEle.setAttribute('data-isHideTextWithAsterisk', event.target.checked);\r\n\t\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', this.asteriskOriginalText !== '' ? this.asteriskOriginalText : textAreaVal.value);\r\n\r\n\t\t\t\t\t\tif (event.target.checked) {\r\n\t\t\t\t\t\t\tthis.toggleHideTextWithAsterisks(event.target.checked);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (textAreaVal !== null || textAreaVal !== \"\") {\r\n\t\t\t\t\t\t\tthis.controlPropertyService.updateTextAreaText(event.target.checked ? this.hiddenText : this.asteriskOriginalText != 'null' ? this.asteriskOriginalText : '', currentSelectedControl);\r\n\t\t\t\t\t\t\ttextAreaVal.value = this.asteriskOriginalText;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.toastrService.warning('Add text value cannot be blank.', 'Warning');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (type === '1' || type === '2') {\r\n\t\t\t\tif (guid.toLowerCase() == Control.Checkbox.toLowerCase() && type == \"1\" && event.target.checked == true) {\r\n\t\t\t\t\tthis.closeDependecie(event);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t\tif (type === '3') {\r\n\t\t\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tapplyCheckboxRadioGroupName(event: any, type: any) {\r\n\t\tvar textAreaVal: any = event.target.value;\r\n\t\tconst regex = /^[0-9a-zA-Z\\ _]+$/;\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet resizableCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\t\tif (event.target.value == \"\") {\r\n\t\t\tresizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n\t\t\tthis.toastrService.warning(\"Group Name should not be empty.\", 'Warning');\r\n\t\t}\r\n\t\telse if (event.target.value != \"\" && event.target.value.length > 50) {\r\n\t\t\tresizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n\t\t\tthis.toastrService.warning(\"Group Name should not be more than 50 characters.\", 'Warning');\r\n\t\t}\r\n\t\telse if (event.target.value != \"\" && !textAreaVal.match(regex)) {\r\n\t\t\tresizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n\t\t\tthis.toastrService.warning(\"Group Name should be only characters and numbers.\", 'Warning');\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.controlPropertyService.applyCheckboxRadioGroupName(textAreaVal, type);\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t}\r\n\t}\r\n\r\n\tupdateControlTooltip(e: any) {\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t});\r\n\r\n\t\tlet controlTooltipEle: any = document.getElementById('controlInputTooltip');\r\n\t\tlet resizableCurrentSelectedControl = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\tif (e && e.target && e.target.value && resizableCurrentSelectedControl) {\r\n\t\t\tresizableCurrentSelectedControl.setAttribute('data-customtooltip', e.target.value);\r\n\t\t}\r\n\t}\r\n\r\n\tcheckTooltipIsApplicable(cName: any, cId: any) {\r\n\t\tthis.controlPropertyService.checkTooltipIsApplicable(cName, cId);\r\n\t}\r\n\r\n\tapplyFontFamily(e: any) {\r\n\t\tlet fontFamily: any = e.target.value;\r\n\t\tthis.defaultFontFamily = e.target.value;\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.updateDefaultFontFamilyId(currentSelectedControl, fontFamily);\r\n\r\n\t\tlet fontSizeSelect: any = (document.getElementById('fontSizeSelect'));\r\n\t\tthis.applyFontSize(fontSizeSelect.value, 1);\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyFontSize(fontSize: any, type: any) {\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t});\r\n\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tfontSize = parseInt(fontSize);\r\n\t\tlet currentControlEle: any = (document.getElementById(this.currentControlId));\r\n\t\tlet ctrlname: any = this.currentControlId.split('Control')[0];\r\n\t\tlet spnCurrentSelectedControl = (document.getElementById(\"spn\" + this.currentControlId));\r\n\t\tlet fontSizePtOrPxSelect: any;\r\n\t\tif (spnCurrentSelectedControl) {\r\n\t\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\t\tlet newFontSize: any, lineHeight: any;\r\n\t\t\tif (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n\t\t\t\tfontSizePtOrPxSelect = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n\t\t\t\tif (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n\t\t\t\t\tnewFontSize = this.controlPropertyService.setTypographyConversionValue(fontSize);\r\n\t\t\t\t\tlineHeight = parseInt(newFontSize) + 2;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tnewFontSize = fontSize;\r\n\t\t\t\t\tlineHeight = fontSize;\r\n\t\t\t\t}\r\n\t\t\t\tfontSize = newFontSize;\r\n\t\t\t\tspnCurrentSelectedControl.style.fontSize = fontSize + '' + \"px\";\r\n\r\n\t\t\t\t//if (ctrlname.toLowerCase() !== 'date') {\r\n\t\t\t\tspnCurrentSelectedControl.style.lineHeight = lineHeight + '' + \"px\";\r\n\t\t\t\t//}\r\n\t\t\t}\r\n\r\n\t\t\tif (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-typography', fontSizePtOrPxSelect);\r\n\t\t\t\tlet fontFamily: any = spnCurrentSelectedControl.style.fontFamily;\r\n\t\t\t\tthis.setControlHeight(this.currentControlId);\r\n\t\t\t\tif (ctrlname === 'text' || ctrlname === 'name' || ctrlname === 'title') {\r\n\t\t\t\t\tlet charLength: any = 20;\r\n\t\t\t\t\tlet leftscroll: any = 0;\r\n\t\t\t\t\tif (fontSize >= 16) {\r\n\t\t\t\t\t\tlet d: any = this.getDuplicateHeightWidth(fontFamily, fontSize);\r\n\t\t\t\t\t\tresizableCurrentSelectedControl.style.height = d.Height + 'px';\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tlet nameCharLengthId: any = document.getElementById('nameInputLength');\r\n\t\t\t\t\tlet textCharLengthId: any = document.getElementById('textInputLength');\r\n\t\t\t\t\tlet nameOrTextInputLengthEle: any = (ctrlname === 'text') ? textCharLengthId : nameCharLengthId;\r\n\t\t\t\t\tlet titleInputVal: any;\r\n\t\t\t\t\tif (ctrlname === 'title') {\r\n\t\t\t\t\t\tnameOrTextInputLengthEle = document.getElementById('titleInputLength');\r\n\t\t\t\t\t\tif (nameOrTextInputLengthEle == null || nameOrTextInputLengthEle == undefined) {\r\n\t\t\t\t\t\t\ttitleInputVal = \"20\";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\ttitleInputVal = parseInt(nameOrTextInputLengthEle.value);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\ttitleInputVal = parseInt(nameOrTextInputLengthEle.value);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (resizableCurrentSelectedControl.offsetHeight <= 20) {\r\n\t\t\t\t\t\tif (nameOrTextInputLengthEle != null)\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(titleInputVal));\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tlet aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n\t\t\t\t\t\t\tlet updatedNameOrTextInputLengthEle: any = resizableCurrentSelectedControl.getAttribute('maxlengthallowed');\r\n\t\t\t\t\t\t\tif (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n\t\t\t\t\t\t\t\tlet errmsg: any = 'Control size out of bounds :' + ctrlname.toLowerCase() + ' control length reduced to ' + aprxLength + \" characters.\";\r\n\t\t\t\t\t\t\t\t//this.toastrService.warning(errmsg, 'Warning');\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('maxlengthallowed', aprxLength);\r\n\t\t\t\t\t\t\t\tnameOrTextInputLengthEle.value = aprxLength;\r\n\r\n\t\t\t\t\t\t\t\tlet title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.setAttribute('title', title);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}, 500);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif (titleInputVal) {\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(titleInputVal));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tif (spnCurrentSelectedControl && resizableCurrentSelectedControl) {\r\n\t\t\t\t\t\tif (ctrlname === 'hyperlink') {\r\n\t\t\t\t\t\t\tlet spnPaddingLeft: any = parseInt(spnCurrentSelectedControl.style.paddingLeft.split('px')[0]);\r\n\t\t\t\t\t\t\tresizableCurrentSelectedControl.style.width = (spnCurrentSelectedControl.offsetWidth + spnPaddingLeft) + 'px';\r\n\t\t\t\t\t\t\tresizableCurrentSelectedControl.style.height = spnCurrentSelectedControl.offsetHeight + 'px';\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tresizableCurrentSelectedControl.style.width = spnCurrentSelectedControl.clientWidth + 'px';\r\n\t\t\t\t\t\t\tif ((ctrlname == \"email\" || ctrlname == \"company\") && type == \"0\" && fontSize == 12)\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.style.height = '20px';\r\n\t\t\t\t\t\t\telse if ((ctrlname == \"date\") && type == \"0\" && fontSize == 12)\r\n\t\t\t\t\t\t\t\tresizableCurrentSelectedControl.style.height = '16px';\r\n\t\t\t\t\t\t\telse resizableCurrentSelectedControl.style.height = spnCurrentSelectedControl.clientHeight + 'px';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t}\r\n\t}\r\n\r\n\tapplyFontSizePxOrPt(selectedValue: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n\t\tif (spnCurrentSelectedControl) {\r\n\t\t\tlet fontSizeSelect: any = (document.getElementById('fontSizeSelect'));\r\n\t\t\tif (selectedValue && fontSizeSelect && fontSizeSelect.value) {\r\n\t\t\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\t\t\tresizableCurrentSelectedControl.setAttribute('data-typography', selectedValue);\r\n\r\n\t\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t\t\tthis.applyFontSize(fontSizeSelect.value, 1);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t// common function for fontWeight,fontStyle and textDecoration\r\n\tapplyFontStyles() {\r\n\t\tlet styleObj: any = {\r\n\t\t\tisBold: this.isBold,\r\n\t\t\tisItalic: this.isItalic,\r\n\t\t\tisUnderlined: this.isUnderlined\r\n\t\t}\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyFontStyles(currentSelectedControl, styleObj);\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyTextAlign(type: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyTextAlign(currentSelectedControl, type);\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyColorPicker(color: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyColorPicker(currentSelectedControl, color);\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tupdateColorCode(groupColorCode: any) {\r\n\t\t//let grpCode: any = this.controlPropertyService.updateColorCode(groupColorCode);\r\n\t\t//this.groupColorCode = grpCode;\r\n\t}\r\n\r\n\tgetDimensionBasedOnFontSizeAndStyle(fontFamily: any, fontSize: any) {\r\n\t\treturn this.controlPropertyService.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n\t};\r\n\r\n\tgetDuplicateHeightWidth(fontFamily: any, fontSize: any) {\r\n\t\treturn this.controlPropertyService.getDuplicateHeightWidth(fontFamily, fontSize);\r\n\t};\r\n\r\n\tgetElePositions(ctrlId: any) {\r\n\t\treturn this.controlPropertyService.getElePositions(ctrlId);\r\n\t}\r\n\r\n\tgetParentWidthAndHeight(currentEle: any) {\r\n\t\tlet response: any;\r\n\t\tif (currentEle && currentEle.parentNode && currentEle.parentNode.parentNode && currentEle.parentNode.parentNode.id) {\r\n\t\t\tresponse = this.controlPropertyService.getParentWidthAndHeight(currentEle);\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n\r\n\tclearAllControls(data: any) {\r\n\t\tlet allDeleteCtrlsList: any = [];\r\n\t\tfor (const [ctrlObjId, componentRef] of this.dynamicComponentRefs) {\r\n\t\t\tlet resizableEle: any = document.getElementById('resizable_' + ctrlObjId);\r\n\t\t\tif (resizableEle) {\r\n\t\t\t\tresizableEle.style.background = '#ffffff';\r\n\t\t\t\tif (resizableEle.style.display != 'none') {\r\n\t\t\t\t\tallDeleteCtrlsList.push('resizable_' + ctrlObjId);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.deleteItems(allDeleteCtrlsList);\r\n\t\tthis.isClose = true;\r\n\t\tthis.hideControlViewSection = true;\r\n\t\tthis.updateExtendDocumentWidth();\r\n\t\tthis.activeCtrlId = 0;\r\n\t\tlet pageNumber: any = 1;\r\n\r\n\t\tif (data && data.modalRef && data.modalRef.content && data.modalRef.content.commonService && data.modalRef.content.commonService._previewObject &&\r\n\t\t\tdata.modalRef.content.commonService._previewObject.pageNumber) {\r\n\t\t\tpageNumber = data.modalRef.content.commonService._previewObject.pageNumber;\r\n\t\t}\r\n\r\n\t\tthis.onClickOutsideSelectionArea();\r\n\t\tthis.selectedItems = [];\r\n\t\tthis.commonService.selectedItems = [];\r\n\t\tthis.imagesArr.forEach((item: any) => {\r\n\t\t\titem.isActive = false;\r\n\t\t\titem.controlsCount = 0;\r\n\t\t})\r\n\r\n\t\tthis.updateTempTotalCountPerPage();\r\n\t\tthis.commonService.updatePrevObject({\r\n\t\t\t'totalControls': 0,\r\n\t\t\t'pageNumber': parseInt(pageNumber),\r\n\t\t\t'tempTotalCountPerPage': this.tempTotalCountPerPage\r\n\t\t\t//,\r\n\t\t\t// 'documentList': this.imagesArr\r\n\t\t});\r\n\t\tthis.sessionStorageService.setAllImageControls('');\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrl('');\r\n\t\tthis.sessionStorageService.setArrUndoRedoCtrl('');\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp('');\r\n\t\tthis.sessionStorageService.setControlDependencyFieldsArray('');\r\n\t\tthis.sessionStorageService.setControlPageGuidNumArray('');\r\n\t}\r\n\r\n\tcheckLengthNameAndTextControl(ctrlObj: any) {\r\n\t\tif (ctrlObj.dataGuid.toLowerCase() === Control.Name.toLowerCase() || ctrlObj.dataGuid.toLowerCase() === Control.Title.toLowerCase() || ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\tlet controlEle: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\t\tif (controlEle) {\r\n\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', 20);\r\n\t\t\t\tlet title: any = 'approximately ' + 20 + ' characters or control boundary.';\r\n\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\tlet idEle: any = 'nameInputLength';\r\n\t\t\t\tif ((ctrlObj.dataGuid.toLowerCase() === Control.Title.toLowerCase())) {\r\n\t\t\t\t\tidEle = 'titleInputLength';\r\n\t\t\t\t}\r\n\t\t\t\telse if ((ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase())) {\r\n\t\t\t\t\tidEle = 'textInputLength';\r\n\t\t\t\t}\r\n\t\t\t\tlet inputLength: any = (document.getElementById(idEle));\r\n\t\t\t\tif (inputLength) {\r\n\t\t\t\t\tinputLength.value = 20;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n\t\t\t\t\tcontrolEle.setAttribute('data-texttype', this.controlPropertyService.getTextTypeValue('text'));\r\n\t\t\t\t\tcontrolEle.setAttribute('data-validation-type', 'Text');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tapplyRadioGroup(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyRadioGroup(event, currentSelectedControl);\r\n\t\tlet isSaveAsDefault: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue('radio');\r\n\t\tif (isSaveAsDefault === true || isSaveAsDefault === 'true') {\r\n\t\t\tthis.isRadioRequiredChecked = event.target.checked;\r\n\t\t} else {\r\n\t\t\tthis.isRadioRequiredChecked = false;\r\n\t\t}\r\n\t\t//required code\r\n\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\t\tlet guid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n\t\tthis.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n\t\t//required code\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tsetNameOrTextControlDimension(charLength: any) {\r\n\t\tlet selControl: any = document.getElementById(this.currentControlId);\r\n\t\tlet leftscroll: any = 0;\r\n\t\tlet fontFamily: any;\r\n\t\tlet fontSize: any;\r\n\t\tlet spnCurrentSelectedControl = (document.getElementById('spn' + this.currentControlId));\r\n\t\tif (spnCurrentSelectedControl) {\r\n\t\t\tfontFamily = spnCurrentSelectedControl.style.fontFamily;\r\n\t\t\tfontSize = parseInt(spnCurrentSelectedControl.style.fontSize.split('px')[0]);\r\n\t\t}\r\n\t\tlet isSingleCharacter: any = charLength > 1 ? false : true;\r\n\r\n\t\tlet dim: any = fontSize < 16 ? this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize) : this.getDuplicateHeightWidth(fontFamily, fontSize);\r\n\t\tlet dimW: any = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n\t\tlet Width: any = parseInt(Math.floor(Math.ceil(dimW.Width) * charLength) + dimW.Width);\r\n\t\tlet parentWidth: any = parseInt(selControl.parentNode.parentNode.offsetWidth + leftscroll);\r\n\t\tlet parentHeight: any = parseInt(selControl.parentNode.parentNode.offsetHeight);\r\n\r\n\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\tlet controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n\t\tlet controlTopPosition: any = parseInt(controlPositions.Top);\r\n\t\tlet controlLeftPosition: any = parseInt(controlPositions.Left);\r\n\t\tlet controlTotalWidth: any = (controlLeftPosition + Width);\r\n\t\tlet newheight: any = 0;\r\n\t\tlet cHeight = parseInt(resizableCurrentSelectedControl.style.height);\r\n\t\tlet cWidth = parseInt(resizableCurrentSelectedControl.style.width);\r\n\t\tlet ismultipleline: any = Math.floor(cHeight / dim.Height) > 1 ? 'true' : 'false';\r\n\t\tlet calcHeight: any = (ismultipleline == 'true') ? (charLength * Math.ceil(dimW.Width) * dim.Height) / (cWidth) : (dim.Height);\r\n\t\tcalcHeight = calcHeight < dim.Height ? dim.Height : calcHeight;\r\n\t\tif (isSingleCharacter) {\r\n\t\t\tif (fontSize === 60) {\r\n\t\t\t\tresizableCurrentSelectedControl.style.width = (fontSize - 5) + 'px';\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tresizableCurrentSelectedControl.style.width = (fontSize + 2) + 'px';\r\n\t\t\t}\r\n\t\t\tnewheight = fontSize >= 16 ? (Math.ceil(calcHeight / dim.Height) * dim.Height) : 22 - 2;\r\n\t\t\tresizableCurrentSelectedControl.style.height = newheight + 'px';\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (ismultipleline == 'false') {\r\n\t\t\t\tif (parentWidth < controlTotalWidth) {\r\n\t\t\t\t\tresizableCurrentSelectedControl.style.width = (parentWidth - controlLeftPosition) + 'px';\r\n\t\t\t\t\tthis.setControlLocation(this.currentControlId, 0);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tresizableCurrentSelectedControl.style.width = Width + 'px';\r\n\t\t\t\tnewheight = fontSize >= 16 ? (Math.ceil(calcHeight / dim.Height) * dim.Height) : 22 - 2;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t//let nameCharLengthId: any = document.getElementById('nameInputLength');\r\n\t\t\t\t//let textCharLengthId: any = document.getElementById('textInputLength');\r\n\t\t\t\t//let ctrlname: any = this.currentControlId.split('Control')[0];\r\n\t\t\t\t//if (ctrlname === 'title') {\r\n\t\t\t\t\t//nameCharLengthId = document.getElementById('titleInputLength');\r\n\t\t\t\t//}\r\n\r\n\t\t\t\t//let textMaxLength: any = (ctrlname === 'text') ? parseInt(textCharLengthId.value) : parseInt(nameCharLengthId.value);\r\n\t\t\t\t//let textFontSize: any = spnCurrentSelectedControl.style.fontSize.split('px')[0];\r\n\t\t\t\t//let textFontFamily: any = spnCurrentSelectedControl.style.fontFamily;\r\n\t\t\t\t// if (textMaxLength != charLength || textFontSize != fontSize || textFontFamily != fontFamily) {\r\n\t\t\t\t// \tnewheight = (Math.ceil(calcHeight / dim.Height) * dim.Height) + (Math.ceil(calcHeight / dim.Height) * 2);\r\n\t\t\t\t// }\r\n\t\t\t\t// else {\r\n\t\t\t\t// \tlet dataGuid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n\t\t\t\t// \tif (dataGuid.toLowerCase() == Control.Text.toLowerCase()) this.textareaEdited = true;\r\n\r\n\t\t\t\t// \tif (dataGuid.toLowerCase() == Control.Text.toLowerCase() ||\r\n\t\t\t\t// \t\tdataGuid.toLowerCase() == Control.Name.toLowerCase() ||\r\n\t\t\t\t// \t\tdataGuid.toLowerCase() == Control.Title.toLowerCase()) {\r\n\t\t\t\t// \t\tnewheight = 20;\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\r\n\t\t\t\tnewheight = (Math.ceil(calcHeight / dim.Height) * dim.Height) + (Math.ceil(calcHeight / dim.Height) * 2);\r\n\t\t\t\tif (Width <= cWidth) {\r\n\t\t\t\t\tresizableCurrentSelectedControl.style.width = Width + 'px';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (parentHeight < (newheight + controlTopPosition))\r\n\t\t\t\tresizableCurrentSelectedControl.style.height = (parentHeight - controlTopPosition) + 'px';\r\n\t\t\telse\r\n\t\t\t\tresizableCurrentSelectedControl.style.height = (newheight) + 'px';\r\n\t\t}\r\n\t}\r\n\r\n\tsetControlLocation(ctrlId: any, leftscroll: any) {\r\n\t\tlet selControl: any = document.getElementById(ctrlId);\r\n\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\tlet parentWidth: any = parseInt(selControl.parentNode.parentNode.offsetWidth + leftscroll);\r\n\t\tlet controlWidth: any = parseInt(resizableCurrentSelectedControl.style.width);\r\n\t\tlet controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n\t\tlet controlLeftPosition: any = parseInt(controlPositions.Left);\r\n\t\tlet controlTotolWidth: any = (controlLeftPosition + controlWidth);\r\n\t\tlet finalPosition: any;\r\n\t\tif (parentWidth <= controlTotolWidth) {\r\n\t\t\tfinalPosition = controlLeftPosition - (controlTotolWidth - parentWidth);\r\n\t\t\tthis.updateLeftValue(resizableCurrentSelectedControl, finalPosition);\r\n\t\t}\r\n\t\tlet pageNumber: any = parseInt(resizableCurrentSelectedControl.getAttribute('pageno'));\r\n\t\tlet imgEle: any = document.getElementById('imgControl_' + pageNumber);\r\n\t\tvar imageWidth = imgEle.offsetWidth;\r\n\t\tvar imageHeight = imgEle.offsetHeight;\r\n\t\tif (imageWidth < imageHeight) {\r\n\t\t\tif ((controlLeftPosition + controlWidth) >= imageWidth) {\r\n\t\t\t\tlet maxLeft: any = imageWidth - 5;\r\n\t\t\t\tlet newPosition: any = (maxLeft - controlWidth);\r\n\t\t\t\tthis.updateLeftValue(resizableCurrentSelectedControl, newPosition);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tgetApproximateCharateLength(ctrlId: any) {\r\n\t\tlet ctrlSpanEle: any = document.getElementById('spn' + this.currentControlId);\r\n\t\tlet fontFamily: any = ctrlSpanEle.style.fontFamily;\r\n\t\tlet fontSize: any = ctrlSpanEle.style.fontSize.split('px')[0];\r\n\t\tlet controlEle: any = (document.getElementById('resizable_' + this.currentControlId));\r\n\t\tlet cW: any = controlEle.offsetWidth;\r\n\t\tlet cH: any = controlEle.offsetHeight;\r\n\t\tvar d = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, parseInt(fontSize));\r\n\t\tvar floorWidthWord = cW / Math.ceil(d.Width);\r\n\t\tvar floorHeightWord = Math.floor(cH / Math.ceil(d.Height));\r\n\t\tfloorHeightWord = floorHeightWord == 0 ? 1 : floorHeightWord;\r\n\r\n\t\t// For handling character count less than one.\r\n\t\tvar charLength = Math.floor(floorWidthWord * floorHeightWord);\r\n\r\n\t\tif ((Math.floor(floorWidthWord * floorHeightWord)) < 1)\r\n\t\t\treturn 1;\r\n\t\treturn Math.floor(charLength);\r\n\t}\r\n\r\n\tupdateLeftValue(resizableCurrentSelectedControl: any, left: any) {\r\n\t\tconst transformString = resizableCurrentSelectedControl.style.transform;\r\n\t\tconst regex = /translate3d\\(([-\\d.]+)px,\\s+([-\\d.]+)px,\\s+([-\\d.]+)px\\)/;\r\n\t\tlet match = transformString.match(regex);\r\n\t\tlet translateX = 0;\r\n\t\tlet translateY = 0;\r\n\t\tlet translateZ = 0;\r\n\r\n\t\tif (match) {\r\n\t\t\ttranslateX = parseFloat(match[1]);\r\n\t\t\ttranslateY = parseFloat(match[2]);\r\n\t\t\ttranslateZ = parseFloat(match[3]);\r\n\t\t}\r\n\r\n\t\tlet element: any = document.getElementById(resizableCurrentSelectedControl.getAttribute(\"id\"));\r\n\t\tlet posObj: any = this.controlPropertyService.getElePositions(element);\r\n\t\telement.style.left = posObj.Left + 'px';\r\n\t\telement.style.top = posObj.Top + 'px';\r\n\r\n\t\t//resizableCurrentSelectedControl.style.transform = `translate3d(${left}px, ${translateY}px, ${translateZ}px)`;\r\n\t}\r\n\r\n\tupdateControlNameOrTextLength(e: any, type: any) {\r\n\t\tthis.commonService.callParentShowControlFields$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((value: { event: any; data: any; }) => {\r\n\t\t\t\tconst { event, data } = value;\r\n\t\t\t\tthis.currentControlId = data.id;\r\n\t\t\t});\r\n\r\n\t\tlet controlEle: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n\t\tif (controlEle) {\r\n\t\t\tlet maxlengthallowed: any = controlEle.getAttribute('maxlengthallowed');\r\n\t\t\tlet nameOrTextInputLengthEle: any = document.getElementById(type + 'InputLength');\r\n\t\t\tif (nameOrTextInputLengthEle && nameOrTextInputLengthEle.value) {\r\n\t\t\t\tlet nameOrTextInputLengthEleVal: any = parseInt(nameOrTextInputLengthEle.value);\r\n\t\t\t\tif (type === 'name' || type === 'title') {\r\n\t\t\t\t\tif (nameOrTextInputLengthEleVal > 100) {\r\n\t\t\t\t\t\tthis.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', 20);\r\n\t\t\t\t\t\tnameOrTextInputLengthEleVal = 20;\r\n\t\t\t\t\t\tnameOrTextInputLengthEle.value = 100;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\tif (controlEle.offsetHeight <= 20) {\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\t\tlet title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tlet aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n\t\t\t\t\t\t\t\tlet updatedNameOrTextInputLengthEle: any = controlEle.getAttribute('maxlengthallowed');\r\n\t\t\t\t\t\t\t\tif (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n\t\t\t\t\t\t\t\t\tlet errmsg: any = 'Control size out of bounds :' + type + ' control length reduced to ' + aprxLength + \" characters.\"\r\n\t\t\t\t\t\t\t\t\tthis.toastrService.warning(errmsg, 'Warning');\r\n\t\t\t\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', aprxLength);\r\n\t\t\t\t\t\t\t\t\tnameOrTextInputLengthEle.value = aprxLength;\r\n\r\n\t\t\t\t\t\t\t\t\tlet title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n\t\t\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, 500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\t\tlet title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse if (type === 'text') {\r\n\t\t\t\t\tif (nameOrTextInputLengthEleVal > 999) {\r\n\t\t\t\t\t\tthis.toastrService.warning('Value should be less than 1000.', 'Warning');\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', 20);\r\n\t\t\t\t\t\tnameOrTextInputLengthEleVal = 20;\r\n\t\t\t\t\t\tnameOrTextInputLengthEle.value = 999;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\tif (controlEle.offsetHeight <= 20) {\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\t\tlet title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tlet aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n\t\t\t\t\t\t\t\tlet updatedNameOrTextInputLengthEle: any = controlEle.getAttribute('maxlengthallowed');\r\n\t\t\t\t\t\t\t\tif (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n\t\t\t\t\t\t\t\t\tlet errmsg: any = 'Control size out of bounds : text control length reduced to ' + aprxLength + \" characters.\"\r\n\t\t\t\t\t\t\t\t\tthis.toastrService.warning(errmsg, 'Warning');\r\n\t\t\t\t\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', aprxLength);\r\n\t\t\t\t\t\t\t\t\tnameOrTextInputLengthEle.value = aprxLength;\r\n\r\n\t\t\t\t\t\t\t\t\tlet title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n\t\t\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, 500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t\t\t\t\tlet title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n\t\t\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tapplyTextTypeControl(value: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet controlEle: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\t\tlet textInputTypeEle: any = document.getElementById('textInputLength');\r\n\t\tlet defaultLength: any = 20;\r\n\t\tlet tenCharsLength: any = 10;\r\n\t\tlet title: any = 'approximately ' + defaultLength + ' characters or control boundary.';\r\n\t\tlet isFixedWidthVal: any = controlEle.getAttribute('data-isfixedwidth');\r\n\t\tif (controlEle) {\r\n\t\t\tif (value === '1' || value === '3' || value === '4' || value === '7') {\r\n\t\t\t\tcontrolEle.removeAttribute('data-additional-validation-name');\r\n\t\t\t\tcontrolEle.removeAttribute('data-additional-validation-option');\r\n\t\t\t}\r\n\r\n\t\t\t//controlEle.removeAttribute('data-additional-validation-name', '');\r\n\t\t\tlet divEle: any = document.getElementById('div' + currentSelectedControl);\r\n\t\t\tif (divEle) {\r\n\t\t\t\tdivEle.classList.add('resize-action');\r\n\t\t\t}\r\n\t\t\tlet isFixedWidthTextContainer: any = document.getElementById('isFixedWidthTextContainer');\r\n\t\t\tif (isFixedWidthTextContainer) {\r\n\t\t\t\tisFixedWidthTextContainer.style.display = 'block';\r\n\t\t\t}\r\n\t\t\t//4-SSN, 5-Zip, 6-Date\r\n\t\t\tif (value === '4' || value === '5' || value === '6') {\r\n\t\t\t\tif (textInputTypeEle) {\r\n\t\t\t\t\ttextInputTypeEle.value = tenCharsLength;\r\n\t\t\t\t\ttextInputTypeEle.setAttribute('disabled', true);\r\n\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', tenCharsLength);\r\n\t\t\t\t\tcontrolEle.setAttribute('data-maxcharlimit', tenCharsLength);\r\n\t\t\t\t\tcontrolEle.style.width = '87px';\r\n\t\t\t\t\tcontrolEle.style.height = '20px';\r\n\t\t\t\t\ttitle = 'approximately ' + textInputTypeEle.value + ' characters or control boundary.';\r\n\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\tif (divEle) {\r\n\t\t\t\t\t\tdivEle.classList.remove('resize-action');\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.validateCharLimit();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (value === '7') { // Email\r\n\t\t\t\tif (textInputTypeEle) {\r\n\t\t\t\t\ttextInputTypeEle.value = defaultLength;\r\n\t\t\t\t\tcontrolEle.style.width = '167px';\r\n\t\t\t\t\ttextInputTypeEle.setAttribute('disabled', true);\r\n\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', defaultLength);\r\n\t\t\t\t\ttitle = 'approximately ' + textInputTypeEle.value + ' characters or control boundary.';\r\n\t\t\t\t\tcontrolEle.setAttribute('title', title);\r\n\t\t\t\t\tcontrolEle.setAttribute('data-maxcharlimit', '100');\r\n\t\t\t\t\tif (isFixedWidthVal === false || isFixedWidthVal === 'false') {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxcharallowed', '100');\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxemailcharallowed', '100');\r\n\t\t\t\t\t\tthis.controlPropertyService.checkFixedWidthFalseAndMaxCharLimit('Email', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer', this.isFixedWidthChecked);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttextInputTypeEle.removeAttribute('disabled');\r\n\t\t\t\t\t\ttextInputTypeEle.classList.remove('disabled');\r\n\t\t\t\t\t\tthis.controlPropertyService.checkFixedWidthTrueAndMaxCharLimit('Email', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse { //Text, Alphabet, Numeric\r\n\t\t\t\tif (textInputTypeEle) {\r\n\t\t\t\t\ttextInputTypeEle.value = defaultLength;\r\n\t\t\t\t\ttextInputTypeEle.removeAttribute('disabled');\r\n\t\t\t\t\ttextInputTypeEle.classList.remove('disabled');\r\n\t\t\t\t\tcontrolEle.setAttribute('maxlengthallowed', defaultLength);\r\n\t\t\t\t\tcontrolEle.setAttribute('data-maxcharlimit', '4000');\r\n\t\t\t\t\tcontrolEle.style.width = '167px';\r\n\t\t\t\t\tif (isFixedWidthVal === false || isFixedWidthVal === 'false') {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxcharallowed', '4000');\r\n\t\t\t\t\t\tcontrolEle.setAttribute('maxemailcharallowed', '4000');\r\n\t\t\t\t\t\tthis.controlPropertyService.checkFixedWidthFalseAndMaxCharLimit('Text', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer', this.isFixedWidthChecked);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.controlPropertyService.checkFixedWidthTrueAndMaxCharLimit('Text', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tconst valueToFind = parseInt(value); // The value you want to search for\r\n\t\t\tconst foundOption = this.commonConstants.Validationsoptions.find((option: { value: number; }) => option.value === valueToFind);\r\n\r\n\t\t\tif (foundOption && foundOption.label) {\r\n\t\t\t\tcontrolEle.setAttribute('data-validation-type', foundOption.label);\r\n\t\t\t\t// controlEle.removeAttribute('data-additional-validation-option');\r\n\t\t\t\tthis.showTextFieldsContainer = 'none';\r\n\t\t\t\tthis.showTextDecimalType = 'none';\r\n\t\t\t\tthis.showTextDecimalOptions = 'none';\r\n\t\t\t\tthis.showTextZipFormat = 'none';\r\n\t\t\t\tthis.showTextZipFormatOptions = 'none';\r\n\t\t\t\tthis.showTextDateFormat = 'none';\r\n\t\t\t\tthis.showTextDateFormatOptions = 'none';\r\n\r\n\t\t\t\tif (value === '2') {\r\n\t\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\t\tthis.showTextDecimalType = 'block';\r\n\t\t\t\t\tlet validationname: any = controlEle.getAttribute('data-additional-validation-name');\r\n\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-name', validationname);\r\n\r\n\t\t\t\t\tif (validationname && validationname == \"Number\") {\r\n\t\t\t\t\t\tcontrolEle.removeAttribute('data-additional-validation-option');\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (validationname && validationname == \"Decimal\") {\r\n\t\t\t\t\t\tthis.showTextDecimalOptions = 'block';\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-name', 'Number');\r\n\t\t\t\t\t\tcontrolEle.removeAttribute('data-additional-validation-option');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse if (value === '5') {\r\n\t\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\t\tthis.showTextZipFormat = 'block';\r\n\t\t\t\t\tthis.showTextZipFormatOptions = 'block';\r\n\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-name', 'Zip Format');\r\n\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-option', '1');\r\n\t\t\t\t}\r\n\t\t\t\telse if (value === '6') {\r\n\t\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\t\tthis.showTextDateFormat = 'block';\r\n\t\t\t\t\tthis.showTextDateFormatOptions = 'block';\r\n\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-name', 'Date Format');\r\n\t\t\t\t\tlet isCheckDataAdditionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n\t\t\t\t\tif (isCheckDataAdditionalValidationOption === null) {\r\n\t\t\t\t\t\tcontrolEle.setAttribute('data-additional-validation-option', '1');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tcontrolEle.setAttribute('data-texttype', this.controlPropertyService.getTextTypeValue(foundOption.label));\r\n\t\t\t}\r\n\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\r\n\t\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t\t}\r\n\t}\r\n\r\n\tapplyPrefillDefaultDateProperty(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyPrefillDefaultDateProperty(event, currentSelectedControl);\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyFirstLineBlank(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.currentControlId = currentSelectedControl;\r\n\t\tlet retunVal: any = this.controlPropertyService.applyFirstLineBlank(event, this.currentControlId);\r\n\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\tthis.openModal('', 'dropdownlist', '');\r\n\t\t}\r\n\r\n\t\tthis.isdrpFirstLineBlank = event.target.checked;\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyLabelName(event: any, labelOrHyperlink: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyLabelName(event, currentSelectedControl, labelOrHyperlink);\r\n\r\n\t\tlet controlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n\t\tlet spaControlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n\r\n\t\tlet pageNo: any = controlEle.getAttribute('pageno');\r\n\t\tlet imageControlEle: any = document.getElementById('imgControl_' + parseInt(pageNo));\r\n\t\tlet containerWidth: any = 0;\r\n\t\tlet containerHeight: any = 0;\r\n\t\tif (imageControlEle) {\r\n\t\t\tcontainerHeight = (imageControlEle.offsetHeight - 7);\r\n\t\t\tcontainerWidth = (imageControlEle.offsetWidth - 20);\r\n\t\t}\r\n\r\n\t\tif (controlEle && controlEle.style && controlEle.style.width) {\r\n\t\t\tif (spaControlEle && spaControlEle.offsetWidth && spaControlEle.offsetWidth <= containerWidth) {\r\n\t\t\t\tspaControlEle.style.textWrap = 'nowrap';\r\n\t\t\t\tcontrolEle.style.width = spaControlEle.offsetWidth + 5 + 'px';\r\n\t\t\t} else {\r\n\t\t\t\tcontrolEle.style.width = containerWidth + 'px';\r\n\t\t\t\tspaControlEle.style.textWrap = 'wrap';\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.setControlLocation(currentSelectedControl, 0);\r\n\t\tif (labelOrHyperlink === 'label') {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tif (controlEle && controlEle.style && controlEle.style.height) {\r\n\t\t\t\t\tif (spaControlEle && spaControlEle.offsetHeight) {\r\n\t\t\t\t\t\tcontrolEle.style.height = spaControlEle.offsetHeight + 'px';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}, 100);\r\n\r\n\t\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\t}\r\n\t}\r\n\r\n\tapplyHyperLinkURL(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyHyperLinkURL(event, currentSelectedControl);\r\n\t}\r\n\r\n\tapplyNewContentId(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyNewContentId(event, currentSelectedControl);\r\n\t}\r\n\r\n\tapplyDefaultDateFormat(event: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyDefaultDateFormat(this.selectDefaultDateFormat, currentSelectedControl);\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t}\r\n\r\n\tapplyTextTypeZip(selectedVal: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyTextTypeZip(currentSelectedControl, selectedVal);\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t}\r\n\r\n\tapplyTextTypeDate(selectedVal: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyTextTypeDate(currentSelectedControl, selectedVal);\r\n\t\tif (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n\t\t\tlet ctrl: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\tlet validationOption: any = this.validationsDateOptions[parseInt(selectedVal) - 1].label;\r\n\t\t\tif (ctrl) {\r\n\t\t\t\tthis.controlPropertyService.updateDateFormatNameAndOptions(ctrl, validationOption);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t}\r\n\r\n\tapplyTextTypeDecimal(selectedVal: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tif (selectedVal === '1') {\r\n\t\t\tthis.showTextDecimalOptions = 'none';\r\n\t\t} else if (selectedVal === '2') {\r\n\t\t\tthis.showTextDecimalOptions = 'block';\r\n\t\t}\r\n\t\tthis.controlPropertyService.applyTextTypeDecimal(currentSelectedControl, selectedVal);\r\n\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\r\n\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t}\r\n\r\n\tapplyTextTypeDecimalOption(selectedVal: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyTextTypeDecimalOption(currentSelectedControl, selectedVal);\r\n\t\tthis.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\t\tthis.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n\t}\r\n\r\n\tgetEachControlValidation(type: any) {\r\n\t\tlet resultObj: any = this.controlPropertyService.checkContolAttribuesData(type, 'envelope');\r\n\t\tif (resultObj.isValid == true) {\r\n\t\t\tlet finalControlArrayFilter: any = resultObj.controlArray.filter((c: any) => (c.XCoordinate === 0 && c.YCoordinate === 0 && c.ZCoordinate === 0));\r\n\t\t\tif (finalControlArrayFilter.length > 0) {\r\n\t\t\t\tthis.toastrService.warning(\"Control's Coordinates are not valid. Please draft it and try again.\", \"Warning\");\r\n\t\t\t\tresultObj.isValid == false;\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn resultObj;\r\n\t}\r\n\r\n\tsendEnvelope() {\r\n\t\tthis.isSendEnvelope = true;\r\n\t\tthis.sessionStorageService.setIsSendEnvelope('1');\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\tlet senderCompanyId: any = '', cultureInfo: any = 'en-us', userProfileName: any = '';\r\n\t\tif (getUserDetails && getUserDetails.companyID) {\r\n\t\t\tsenderCompanyId = getUserDetails.companyID;\r\n\t\t\tcultureInfo = getUserDetails.languageCode;\r\n\t\t\tuserProfileName = getUserDetails.firstName + \" \" + getUserDetails.lastName;\r\n\t\t}\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.showLoader = true;\r\n\t\t\t\tlet resultObj: any = this.getEachControlValidation(\"send\");\r\n\t\t\t\tif (resultObj.isValid == true) {\r\n\t\t\t\t\tlet controlArray = resultObj.controlArray;\r\n\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\tlet apiEnvelopeControls: any = {\r\n\t\t\t\t\t\tEnvelopeId: this.envelope.envelopeDetails.envelopeID,\r\n\t\t\t\t\t\tControls: controlArray,\r\n\t\t\t\t\t\tEnvelopeStage: this.isEnvelopeEdited == true ? RSignStage.UpdateAndResend : this.getEnvelopeStage(),\r\n\t\t\t\t\t\tIsPrefill: this.isPrefillExists == true ? true : false,\r\n\t\t\t\t\t\tEnableMultipleBranding: this.enableMultiBranding,\r\n\t\t\t\t\t\tBranding: this.branding,\r\n\t\t\t\t\t\tSourceUrlType: getIntializePrepareDetails.SourceUrlType,\r\n\t\t\t\t\t\tSenderCompanyId: senderCompanyId,\r\n\t\t\t\t\t\tCultureInfo: (cultureInfo != \"\" && cultureInfo != null) ? cultureInfo : \"en-us\",\r\n\t\t\t\t\t\tUserProfileName: userProfileName\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\tthis.apiService.SendEnvelope(apiEnvelopeControls).subscribe((data: any) => {\r\n\t\t\t\t\t\tif (data && data.statusCode == 200) {\r\n\t\t\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\t\t\tif (data.returnUrl && data.returnUrl != \"\" && data.returnUrl != null && data.isPrefillUserExists == true)\r\n\t\t\t\t\t\t\t\tthis.toastrService.info(data.message, 'Info');\r\n\t\t\t\t\t\t\telse this.toastrService.success(data.message, 'Success');\r\n\t\t\t\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\t\t\t\t// console.log(\"returnUrl:\" + data.returnUrl);\r\n\t\t\t\t\t\t\t// console.log(\"isPrefillUserExists:\" + data.isPrefillUserExists);\r\n\t\t\t\t\t\t\t// console.log(\"postSendingNavigationPage:\" + data.postSendingNavigationPage);\r\n\r\n\t\t\t\t\t\t\tif (data.returnUrl && data.returnUrl != \"\" && data.returnUrl != null && data.isPrefillUserExists == true) {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t//this.showLoader = false;\r\n\t\t\t\t\t\t\t\t\twindow.location.href = data.returnUrl; //prefill navigation signing url\r\n\t\t\t\t\t\t\t\t\t//this.showLoader = false;\r\n\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse if (data.returnUrl && data.returnUrl != \"\" && data.returnUrl != null && data.isPrefillUserExists == false) {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tif (data.postSendingNavigationPage && data.postSendingNavigationPage != \"\" && data.postSendingNavigationPage != null) {\r\n\t\t\t\t\t\t\t\t\t\twindow.location.href = data.postSendingNavigationPage;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\tlet rsignUrl: any = environment.rsignUrl;\r\n\t\t\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\t\t\tlet rsignUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t\t\t\twindow.location.href = rsignUrl + data.returnUrl;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\telse window.location.href = rsignUrl + data.returnUrl; //return to Home or Envelopes tab based on postSendingNavigationPage setting\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//this.showLoader = false;\r\n\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse if (data.postSendingNavigationPage && data.postSendingNavigationPage != \"\" && data.isPrefillUserExists == false) {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tif (data.postSendingNavigationPage && data.postSendingNavigationPage != \"\") {\r\n\t\t\t\t\t\t\t\t\t\twindow.location.href = data.postSendingNavigationPage;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//this.showLoader = false;\r\n\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (data && data.statusCode == 403 && data.isFromLockUnits == true && data.message) {\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tthis.toastrService.warning(data.message, 'Warning');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (data && data.statusCode == 400 && data.message == \"Envelope already sent.\") {\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tthis.toastrService.warning(data.message, 'Warning');\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\t\t\t\t\tlet rsignUrl: any = environment.rsignUrl;\r\n\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\tlet rsignUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\twindow.location.href = rsignUrl + NavigateUrlConfig.DocumentPackage;\r\n\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tthis.toastrService.warning(\"Unable to send eSign requests. Please inform RPost support.\", 'Warning');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t}\r\n\t\t\t}, 500);\r\n\t\t}\r\n\t}\r\n\r\n\tgetEnvelopeStage() {\r\n\t\tlet envelope: any = this.envelope.envelopeDetails;\r\n\t\tlet envelopeStage: any = envelope.isDraft == true ? RSignStage.PrepareDraft : ((envelope.isEnvelopeComplete == false || (envelope.isEnvelopeComplete == true && envelope.isEdited == true)) ? RSignStage.PrepareEnvelope : RSignStage.PrepareEditTemplate);\r\n\t\treturn envelopeStage;\r\n\t}\r\n\r\n\tcheckTextFields() {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet controlEle: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n\t\tlet controlSpnEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n\t\t// if (controlSpnEle) {\r\n\t\t// \tlet addTextTextarea: any = document.getElementById('addTextTextarea');\r\n\t\t// \tif (addTextTextarea)\r\n\t\t// \t\taddTextTextarea.value = controlSpnEle.innerHTML;\r\n\t\t// }\r\n\t\tif (controlEle) {\r\n\t\t\tthis.setShowTextFiledToNone();\r\n\t\t\tlet textInputTypeEle: any = document.getElementById('textInputLength');\r\n\t\t\tif (textInputTypeEle) {\r\n\t\t\t\ttextInputTypeEle.removeAttribute('disabled');\r\n\t\t\t}\r\n\t\t\tlet attr_texttype: any = controlEle.getAttribute('data-texttype');\r\n\t\t\tlet textType: any = this.controlPropertyService.getTextControlType(attr_texttype);\r\n\t\t\tlet attr_integrationType: any = controlEle.getAttribute('data-integrationtype');\r\n\t\t\tlet dataValidationType: any = (attr_integrationType && attr_integrationType != \"undefined\" && attr_integrationType != \"null\" && attr_integrationType.toLowerCase() === 'vincere') ? textType : controlEle.getAttribute('data-validation-type');\r\n\t\t\t// let dataValidationType: any = controlEle.getAttribute('data-validation-type');\r\n\t\t\tif (dataValidationType === 'Text') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '1';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'Numeric') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '2';\r\n\t\t\t\t}\r\n\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\tthis.showTextDecimalType = 'block';\r\n\t\t\t\tlet additionalValidationName: any = controlEle.getAttribute('data-additional-validation-name');\r\n\t\t\t\tif (additionalValidationName === 'Number') {\r\n\t\t\t\t\tthis.showTextDecimalOptions = 'none';\r\n\t\t\t\t\tlet textTypeDecimal: any = (document.getElementById('textTypeDecimal'));\r\n\t\t\t\t\tif (textTypeDecimal) {\r\n\t\t\t\t\t\ttextTypeDecimal.value = '1';\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (additionalValidationName === 'Decimal') {\r\n\t\t\t\t\tthis.showTextDecimalOptions = 'block';\r\n\t\t\t\t\tlet additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n\t\t\t\t\tif (additionalValidationOption) {\r\n\r\n\t\t\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\t\t\ttextValidationsoptions.value = '2';\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tlet textTypeDecimal: any = (document.getElementById('textTypeDecimal'));\r\n\t\t\t\t\t\tif (textTypeDecimal) {\r\n\t\t\t\t\t\t\ttextTypeDecimal.value = '2';\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tconst valueToFind = additionalValidationOption;\r\n\t\t\t\t\t\tconst additionalValidationItem = this.commonConstants.AdditionalValidationType.find((item: { value: any; }) => item.value === valueToFind);\r\n\t\t\t\t\t\tif (additionalValidationItem) {\r\n\t\t\t\t\t\t\tlet textTypeDecimalOptions: any = (document.getElementById('textTypeDecimalOptions'));\r\n\t\t\t\t\t\t\tif (textTypeDecimalOptions) {\r\n\t\t\t\t\t\t\t\ttextTypeDecimalOptions.value = additionalValidationOption;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'Alphabet') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '3';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'SSN') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '4';\r\n\t\t\t\t}\r\n\t\t\t\tlet textInputTypeEle: any = document.getElementById('textInputLength');\r\n\t\t\t\tif (textInputTypeEle) {\r\n\t\t\t\t\ttextInputTypeEle.setAttribute('disabled', true);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'Zip') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '5';\r\n\t\t\t\t}\r\n\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\tthis.showTextZipFormat = 'block';\r\n\t\t\t\tthis.showTextZipFormatOptions = 'block';\r\n\t\t\t\tlet additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n\t\t\t\tif (additionalValidationOption) {\r\n\t\t\t\t\tlet textZipOptions: any = (document.getElementById('textZipOptions'));\r\n\t\t\t\t\tif (textZipOptions) {\r\n\t\t\t\t\t\tconst valueToFind = additionalValidationOption;\r\n\t\t\t\t\t\tconst additionalValidationItem = this.commonConstants.ValidationsZipOptions.find((item: { value: any; }) => item.value === valueToFind);\r\n\t\t\t\t\t\tif (additionalValidationItem) {\r\n\t\t\t\t\t\t\ttextZipOptions.value = additionalValidationOption;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'Date') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '6';\r\n\t\t\t\t}\r\n\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\tthis.showTextDateFormat = 'block';\r\n\t\t\t\tthis.showTextDateFormatOptions = 'block';\r\n\t\t\t\tlet additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n\t\t\t\tif (additionalValidationOption) {\r\n\t\t\t\t\tlet textDateOptions: any = (document.getElementById('textDateOptions'));\r\n\t\t\t\t\tif (textDateOptions) {\r\n\t\t\t\t\t\tconst valueToFind = additionalValidationOption;\r\n\t\t\t\t\t\tfor (let index = 0; index < this.validationsDateOptions.length; index++) {\r\n\t\t\t\t\t\t\tconst element = this.validationsDateOptions[index];\r\n\t\t\t\t\t\t\tif (element.value == valueToFind) {\r\n\t\t\t\t\t\t\t\ttextDateOptions.value = additionalValidationOption;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// const additionalValidationItem = this.validationsDateOptions.find((item: { value: any; }) => item.value === valueToFind);\r\n\t\t\t\t\t\t// if (additionalValidationItem) {\r\n\t\t\t\t\t\t// \ttextDateOptions.value = additionalValidationOption;\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (dataValidationType === 'Email') {\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '7';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tsetShowTextFiledToNone() {\r\n\t\tthis.showTextFieldsContainer = 'none';\r\n\t\tthis.showTextDecimalType = 'none';\r\n\t\tthis.showTextDecimalOptions = 'none';\r\n\t\tthis.showTextZipFormat = 'none';\r\n\t\tthis.showTextZipFormatOptions = 'none';\r\n\t\tthis.showTextDateFormat = 'none';\r\n\t\tthis.showTextDateFormatOptions = 'none';\r\n\t}\r\n\r\n\tsetTextOrNameAreaSetting(ctrlObj: any) {\r\n\t\tvar controlInfoType = ctrlObj.controlName;\r\n\t\tif (controlInfoType === 'Text' || controlInfoType === 'Name' || controlInfoType === 'Title') {\r\n\t\t\tlet ctrlSpanEle: any = document.getElementById('spn' + ctrlObj.id);\r\n\t\t\tlet fontFamily: any = '';\r\n\t\t\tlet fontSize: any = '';\r\n\t\t\tif (ctrlSpanEle && ctrlSpanEle.style && ctrlSpanEle.style.fontFamily) {\r\n\t\t\t\tfontFamily = ctrlSpanEle.style.fontFamily;\r\n\t\t\t\tfontSize = ctrlSpanEle.style.fontSize;\r\n\t\t\t}\r\n\t\t\tlet d: any = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n\t\t\tlet controlEle: any = document.getElementById('resizable_' + ctrlObj.id)\r\n\t\t\tvar containerWidth = controlEle.offsetWidth;\r\n\t\t\tvar containerHeight = controlEle.offsetHeight;\r\n\r\n\t\t\tvar floorWidthWord = containerWidth / Math.ceil(d.Width);\r\n\t\t\tvar floorHeightWord = Math.floor(containerHeight / Math.ceil(d.Height));\r\n\t\t\tfloorHeightWord = floorHeightWord === 0 ? 1 : floorHeightWord;\r\n\t\t\tlet characterAllowed: any = Math.floor(floorWidthWord * floorHeightWord);\r\n\t\t\tcontrolEle.setAttribute('maxlength', characterAllowed);\r\n\t\t\tcontrolEle.setAttribute('maxlengthallowed', characterAllowed);\r\n\t\t\tcontrolEle.setAttribute('title', 'approximately ' + characterAllowed + ' characters or control boundary.');\r\n\t\t\tlet updateNameOrTextInputLength: any = document.getElementById('nameInputLength');\r\n\t\t\tif (controlInfoType === 'Text') {\r\n\t\t\t\tupdateNameOrTextInputLength = document.getElementById('textInputLength');\r\n\t\t\t} else if (controlInfoType === 'Title') {\r\n\t\t\t\tupdateNameOrTextInputLength = document.getElementById('titleInputLength');\r\n\t\t\t}\r\n\t\t\tif (updateNameOrTextInputLength) {\r\n\t\t\t\tupdateNameOrTextInputLength.value = characterAllowed;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tdeleteDropdownOption(event: any, slVal: any) {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + currentSelectedControl)) as HTMLSelectElement;\r\n\r\n\t\tthis.slDropDownControlItems = [];\r\n\t\t//Get the existing option values for this control. If any new option is not there in existing option then remove that option which is set as 'data-parent-rule-id'\r\n\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n\t\t\tfor (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n\t\t\t\tvar text = selectDropdownControlField.options[index].text;\r\n\t\t\t\tvar ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n\t\t\t\tif (ruleId && ruleId == slVal) {\r\n\t\t\t\t\tlet removeParentRuleItem: any = document.querySelectorAll('[data-parent-rule-id=\"' + ruleId + '\"]');\r\n\t\t\t\t\tif (removeParentRuleItem && removeParentRuleItem.length > 0) {\r\n\t\t\t\t\t\tArray.from(removeParentRuleItem).forEach((ritem: any, index: any) => {\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-id', '');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-rule-id', '');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-support-text-content', '');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-select-option-id', '');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('is-parent-present', '');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('alreadyDependentField');\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('addedAsChild');\r\n\t\t\t\t\t\t\tthis.controlPropertyService.removeColorForItem(ritem.getAttribute('id'));\r\n\t\t\t\t\t\t\tdocument.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.removeAttribute('group-code');\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.slDropDownControlItems.push({ value: ruleId, text: text });\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t//remove all existing options\r\n\t\t\tselectDropdownControlField.options.length = 0;\r\n\r\n\t\t\tfor (var i = 0; i < this.slDropDownControlItems.length; i++) {\r\n\t\t\t\tvar text = this.slDropDownControlItems[i].text;\r\n\t\t\t\tvar ruleId = this.slDropDownControlItems[i]?.value;\r\n\t\t\t\tvar option = '';\r\n\t\t\t\tselectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n\t\t\t}\r\n\r\n\t\t\t//if no dependencies are available then delete attribute and color\r\n\t\t\tlet mainDropdownControlField: any = (document.getElementById(currentSelectedControl)) as HTMLSelectElement;\r\n\t\t\tlet data_document_content_id: any = mainDropdownControlField.getAttribute('data-document-content-id');\r\n\t\t\tlet childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + data_document_content_id + '\"]');\r\n\t\t\tif (childelementsArray && childelementsArray.length == 0) {\r\n\t\t\t\tthis.controlPropertyService.removeAttributes(data_document_content_id);\r\n\t\t\t\tthis.controlPropertyService.removeColorForItem(mainDropdownControlField.getAttribute('id'));\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tcreateControl(ctrlObj: any, type: any, isInitialCtrlFlag: any) {\r\n\t\tthis.showLoader = true;\r\n\t\t//console.log(ctrlObj);\r\n\t\tlet controlObj: any = {\r\n\t\t\tid: ctrlObj.id,\r\n\t\t\tcontrolName: ctrlObj.controlName,\r\n\t\t\tpageNo: ctrlObj.pageNo,\r\n\t\t\tcontentId: ctrlObj.dataDocumentContentId,\r\n\t\t\tdata_guid: ctrlObj.dataGuid,\r\n\t\t\tattr_data_rcptid: ctrlObj.recipientId,\r\n\t\t\tattr_data_recp_color: ctrlObj.recpColor,\r\n\t\t\tcontrolTopPosition: ctrlObj.top,\r\n\t\t\tcontrolLeftPosition: ctrlObj.left,\r\n\t\t\tcontrolHeight: ctrlObj.height,\r\n\t\t\tcontrolWidth: ctrlObj.width,\r\n\t\t\tisRequired: (ctrlObj.required == true || ctrlObj.required == \"true\") ? \"true\" : \"false\",\r\n\t\t\ttextFormatting: ctrlObj.textFormatting,\r\n\t\t\tctrlNumber: this.getSameControlNumberCount(ctrlObj.dataGuid, ctrlObj.pageNo),\r\n\t\t\tisEnvelopeEditable: this.isEnvelopeEditable\r\n\t\t};\r\n\t\t//console.log(controlObj);\r\n\r\n\t\tlet componentType: any = ControlComponent; //this.getComponentType(ctrlObj.controlName);\r\n\t\tconst componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\r\n\t\tconst newcomponentRef: any = componentFactory.create(this.injector);\r\n\r\n\t\tlet newControlObj: any = this.controlPropertyService.createControlOnDocument(newcomponentRef, this.dynamicComponentRefs, this.appRef, controlObj, type, isInitialCtrlFlag);\r\n\t\t//console.log(newControlObj);\r\n\t\tif (newControlObj && newControlObj != false) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.showLoader = true;\r\n\t\t\t\tif (type == ControlConfig.Duplicate) {\r\n\t\t\t\t\tthis.controlPropertyService.updateDuplicateControlProperties(newControlObj.id, ctrlObj.id, ctrlObj.dataGuid);\r\n\t\t\t\t\tif (ctrlObj.controlName === 'NewInitials') {\r\n\t\t\t\t\t\tlet newResizableControlEle: any = (document.getElementById('resizable_' + newControlObj.id));\r\n\t\t\t\t\t\tnewResizableControlEle?.setAttribute('fromParentInitialCtrl', 'true');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// if (isInitialCtrlFlag != 'true') {\r\n\t\t\t\t\t//if (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length == 0) {\r\n\t\t\t\t\tthis.arrCopyPasteCtrl = [];\r\n\t\t\t\t\t// }\r\n\t\t\t\t\tthis.arrCopyPasteCtrl.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'P' });\r\n\t\t\t\t\t// localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\t\t\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\r\n\t\t\t\t\t// let arrUndoRedoCtrlCtrl: any = localStorage.getItem('ArrUndoRedoCtrl');\r\n\t\t\t\t\tlet arrUndoRedoCtrlCtrl: any = this.sessionStorageService.getArrUndoRedoCtrl();\r\n\t\t\t\t\tif (arrUndoRedoCtrlCtrl) {\r\n\t\t\t\t\t\tthis.arrUndoRedoCtrl = JSON.parse(arrUndoRedoCtrlCtrl);\r\n\t\t\t\t\t\tif (this.arrUndoRedoCtrl && this.arrUndoRedoCtrl.length == 0) {\r\n\t\t\t\t\t\t\tthis.arrUndoRedoCtrl = [];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.arrUndoRedoCtrl.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'U' });\r\n\t\t\t\t\t\t// localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\t\t\t\t\tthis.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// arrCopyPasteCtrlsTemp\r\n\t\t\t\t\t// let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n\t\t\t\t\tlet arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n\t\t\t\t\tif (arrCopyPasteCtrlsTemp) {\r\n\t\t\t\t\t\tthis.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n\t\t\t\t\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length == 0) {\r\n\t\t\t\t\t\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.arrCopyPasteCtrlsTemp.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'P' });\r\n\t\t\t\t\t\t// localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\t\t\t\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tthis.allControlsArr.push(newControlObj);\r\n\t\t\t\t\tthis.copyPastedcontrolsArr.push(newControlObj);\r\n\t\t\t\t\tthis.copyPastedcontrolsArrFlag = true;\r\n\t\t\t\t\t// }\r\n\t\t\t\t}\r\n\t\t\t\telse if (type == ControlConfig.Existing) { //Copy envelope or Update and resend from Manage Envelope\r\n\t\t\t\t\tlet integrationValues: any = '';\r\n\t\t\t\t\tif (this.integrationResponse && this.integrationResponse.envelopeDetails) {\r\n\t\t\t\t\t\tthis.externalIntegrationType = this.integrationResponse.envelopeDetails.integrationType; //Vincere, Bullhorn\r\n\t\t\t\t\t\tif (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n\t\t\t\t\t\t\tintegrationValues = this.integrationResponse.envelopeDetails;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlet iscopyEnvelopeId: any = this.envelope?.envelopeDetails?.copyEnvelopeId !== null ? true : false;\r\n\t\t\t\t\tthis.controlPropertyService.updateExistingControlProperties(newControlObj, ctrlObj.controlData, integrationValues, iscopyEnvelopeId, 'envelope');\r\n\t\t\t\t\tif (this.externalIntegrationType && this.externalIntegrationType.toLowerCase() === 'vincere') {\r\n\t\t\t\t\t\tthis.currentControlId = newControlObj.id;\r\n\t\t\t\t\t\tlet currentctrlele: any = document.getElementById('resizable_' + newControlObj.id);\r\n\t\t\t\t\t\tif (currentctrlele) {\r\n\t\t\t\t\t\t\tlet dataEntityFieldValue: any = currentctrlele.getAttribute(\"data-EntityFieldValue\");\r\n\t\t\t\t\t\t\tif (dataEntityFieldValue && currentctrlele && dataEntityFieldValue != 'null') {\r\n\t\t\t\t\t\t\t\tcurrentctrlele.setAttribute('data-customtooltip', ctrlObj.controlData.customToolTip);\r\n\t\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(dataEntityFieldValue.length + 2);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.allControlsArr.push(newControlObj);\r\n\t\t\t\t\tthis.copyPastedcontrolsArr.push(newControlObj);\r\n\t\t\t\t\tthis.copyPastedcontrolsArrFlag = true;\r\n\t\t\t\t}\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tif (this.copyPastedcontrolsArrFlag === true) {\r\n\t\t\t\t\t\tlet itemsToCopy: any = [];\r\n\t\t\t\t\t\tif (this.copyPastedcontrolsArr && this.copyPastedcontrolsArr.length) {\r\n\t\t\t\t\t\t\tfor (let i = 0; i < this.copyPastedcontrolsArr.length; i++) {\r\n\t\t\t\t\t\t\t\tfor (let j = 0; j < this.allControlsArr.length; j++) {\r\n\t\t\t\t\t\t\t\t\tif (this.copyPastedcontrolsArr[i].id === this.allControlsArr[j].id) {\r\n\t\t\t\t\t\t\t\t\t\titemsToCopy.push(this.allControlsArr[j])\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.performUndoRedoAction('ADD_ITEM', itemsToCopy);\r\n\t\t\t\t\t\tthis.copyPastedcontrolsArrFlag = false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tthis.updateJsonArrays(newControlObj.controlName, newControlObj.className.toLowerCase(), newControlObj, newControlObj.dataGuid);\r\n\t\t\t\t\tthis.getControlsCount(event, ctrlObj.pageNo, type);\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t}, 10);\r\n\t\t\t\tthis.showLoader = false;\r\n\t\t\t}, 20);\r\n\t\t}\r\n\t\tthis.showLoader = false;\r\n\t}\r\n\r\n\tundo(event: any) {\r\n\t\tlet ctrlIdArr: any = this.controlPropertyService.undo();\r\n\t\tif (ctrlIdArr && ctrlIdArr.length > 0) {\r\n\t\t\tthis.arrUndoCtrlsCount.push(ctrlIdArr);\r\n\t\t\tthis.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n\t\t\tctrlIdArr.forEach((ele: any) => {\r\n\t\t\t\tthis.removeControl(ele, event);\r\n\t\t\t});\r\n\t\t\tthis.disableRedoButtons();\r\n\t\t\tthis.disableUndoButtons();\r\n\t\t}\r\n\t}\r\n\r\n\tredo() {\r\n\t\tlet arrUndoCtrlsCount: any = this.sessionStorageService.getArrUndoCtrlsCount();\r\n\t\tthis.arrUndoCtrlsCount = JSON.parse(arrUndoCtrlsCount);\r\n\t\tif (this.arrUndoCtrlsCount && this.arrUndoCtrlsCount.length > 0) {\r\n\t\t\tthis.arrUndoCtrlsCount.pop();\r\n\t\t\tthis.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n\t\t\tlet arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n\t\t\tthis.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n\t\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n\t\t\t\tthis.updateCopyAndPasteControls();\r\n\t\t\t} else {\r\n\t\t\t\tthis.createDupicateControl({});\r\n\t\t\t}\r\n\t\t\tthis.disableRedoButtons();\r\n\t\t\tthis.disableUndoButtons();\r\n\t\t}\r\n\t}\r\n\r\n\t// mouse selection to control and apply alignments -- starts\r\n\tapplyAlignChanges(selectedOptionVal: any) {\r\n\t\tif (this.isEnvelopeEditable == true) {\r\n\t\t\tthis.alignControlsService.applyAlignChanges(selectedOptionVal, this.selectedItems, this.selectedDocumentImage, this.container)\r\n\t\t\tthis.onClickOutsideSelectionArea();\r\n\t\t\tthis.selectedItems = [];\r\n\t\t\tthis.commonService.selectedItems = [];\r\n\t\t}\r\n\t}\r\n\t// mouse selection to control and apply alignments -- ends\r\n\r\n\t//Getting Conversion Images\r\n\tretriveConversionImages(initialImagesArrayLength: any) {\r\n\t\tif (this.allImagesProcessed == false) {\r\n\t\t\tlet fromIndex: any = initialImagesArrayLength + 1;\r\n\t\t\tlet conversionImagesArray: any = [];\r\n\t\t\tfor (let index = fromIndex; index <= this.totalDocPageImagesCount; index++) {\r\n\t\t\t\tlet imgItem: any = this.imagesArr[index - 1];\r\n\t\t\t\tlet path: any = \"?id=\" + index + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n\t\t\t\tlet imgPath: any = this.baseUrl + ApiUrlConfig.GetEnvelopeImages + path;\r\n\t\t\t\tconversionImagesArray.push({\r\n\t\t\t\t\timagePathUrl: imgPath, id: index, documentId: imgItem.documentId, width: imgItem.width, height: imgItem.height,\r\n\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature: imgItem.isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\tdocPageNo: imgItem.docPageNo,\r\n\t\t\t\t\tdocument: {\r\n\t\t\t\t\t\tid: imgItem.document.id,\r\n\t\t\t\t\t\tname: imgItem.document.name\r\n\t\t\t\t\t},\r\n\t\t\t\t\tcontrolsCount: 0\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (conversionImagesArray && conversionImagesArray.length > 0) {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.checkForAllImagesLoaded(conversionImagesArray, initialImagesArrayLength, '')\r\n\t\t\t\t}, 1000);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.updateLocalStorageInfo();\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.updateLocalStorageInfo();\r\n\t\t}\r\n\t}\r\n\r\n\tcheckForAllImagesLoaded(conversionImagesArray: any, initialImagesArrayLength: any, source: any) {\r\n\t\tlet notProcessedImages: any = [];\r\n\t\tif (this.allImagesProcessed == false) {\r\n\t\t\tfor (var i = 0; i < conversionImagesArray.length; i++) {\r\n\t\t\t\tvar newImage = new Image();\r\n\t\t\t\tif (conversionImagesArray[i] != null && conversionImagesArray[i] != undefined) {\r\n\t\t\t\t\tnewImage.src = conversionImagesArray[i].imagePathUrl;\r\n\t\t\t\t\tlet ind: number = i;\r\n\t\t\t\t\tif (!newImage.complete) {\r\n\t\t\t\t\t\t//console.log(\"Not Loaded Id:\"+ conversionImagesArray[ind].id);\r\n\t\t\t\t\t\tnotProcessedImages.push({\r\n\t\t\t\t\t\t\timagePathUrl: conversionImagesArray[ind].imagePathUrl, id: conversionImagesArray[ind].id, documentId: conversionImagesArray[ind].documentId,\r\n\t\t\t\t\t\t\twidth: conversionImagesArray[ind].width, height: conversionImagesArray[ind].height,\r\n\t\t\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature: conversionImagesArray[ind].isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\t\t\tdocPageNo: conversionImagesArray[ind].docPageNo,\r\n\t\t\t\t\t\t\tdocument: { id: conversionImagesArray[ind].document.id, name: conversionImagesArray[ind].document.name }, controlsCount: 0\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (newImage.complete) { // actual height 21 but keeping 30\r\n\t\t\t\t\t\tif (newImage.width > 0 && newImage.height > 30) {\r\n\t\t\t\t\t\t\tlet imageObj: any = conversionImagesArray[ind];\r\n\t\t\t\t\t\t\t//console.log(\"Id:\"+ imageObj.id+ \" and height is:\" + newImage.height + \" and width is:\"+ newImage.width );\r\n\t\t\t\t\t\t\tthis.imagesArr[imageObj.id - 1] = {\r\n\t\t\t\t\t\t\t\tpath: imageObj.imagePathUrl, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: imageObj.documentId, width: imageObj.width, height: imageObj.height,\r\n\t\t\t\t\t\t\t\tisVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: imageObj.isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\t\t\t\tdocPageNo: imageObj.docPageNo,\r\n\t\t\t\t\t\t\t\tdocument: { id: imageObj.document.id, name: imageObj.document.name }, controlsCount: 0\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tif (source == '') {\r\n\t\t\t\t\t\t\t\t\tlet imgControl: any = document.getElementById(\"imgControl_\" + imageObj.id);\r\n\t\t\t\t\t\t\t\t\tif (imgControl && imgControl != null) {\r\n\t\t\t\t\t\t\t\t\t\timgControl.style.display = '';\r\n\t\t\t\t\t\t\t\t\t\timgControl.style.display = 'none';\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, 10);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tnotProcessedImages.push({\r\n\t\t\t\t\t\t\t\timagePathUrl: conversionImagesArray[ind].imagePathUrl, id: conversionImagesArray[ind].id, documentId: conversionImagesArray[ind].documentId, width: conversionImagesArray[ind].width, height: conversionImagesArray[ind].height,\r\n\t\t\t\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature: conversionImagesArray[ind].isTemplateDatedBeforePortraitLandscapeFeature,\r\n\t\t\t\t\t\t\t\tdocPageNo: conversionImagesArray[ind].docPageNo,\r\n\t\t\t\t\t\t\t\tdocument: { id: conversionImagesArray[ind].document.id, name: conversionImagesArray[ind].document.name }, controlsCount: 0\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tconsole.log(\"Image not loaded and id is:\" + conversionImagesArray[ind].id);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (notProcessedImages && notProcessedImages.length > 0) {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.allImagesProcessed = false;\r\n\t\t\t\t\tthis.checkForAllImagesLoaded(notProcessedImages, initialImagesArrayLength, source);\r\n\t\t\t\t}, 2000);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tlet fromIndex: any = initialImagesArrayLength + 1;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tfor (let index = fromIndex; index <= this.totalDocPageImagesCount; index++) {\r\n\t\t\t\t\t\tlet imgControl: any = document.getElementById(\"imgControl_\" + index);\r\n\t\t\t\t\t\tif (imgControl && imgControl != null) {\r\n\t\t\t\t\t\t\timgControl.style.display = '';\r\n\t\t\t\t\t\t\timgControl.style.display = 'block';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (source == '') {\r\n\t\t\t\t\t\tthis.updateLocalStorageInfo();\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 10);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateLocalStorageInfo() {\r\n\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.documentDetails && this.envelope.envelopeDetails.documentDetails.length > 0) {\r\n\t\t\tlet documentDetails: any = this.envelope.envelopeDetails.documentDetails;\r\n\t\t\tdocumentDetails = documentDetails.sort((a: any, b: any) => a.order > b.order ? 1 : -1);\r\n\t\t\tvar dict = [];\r\n\t\t\tfor (let index = 0; index < documentDetails.length; index++) {\r\n\t\t\t\tconst documentElement = documentDetails[index];\r\n\t\t\t\tif (documentElement.actionType != \"Review\" && documentElement.documentName != '') {\r\n\t\t\t\t\tdict.push({\r\n\t\t\t\t\t\tID: documentElement.id,\r\n\t\t\t\t\t\tDocId: documentElement.id,\r\n\t\t\t\t\t\tDocumentName: documentElement.documentName,\r\n\t\t\t\t\t\tOrder: documentElement.order,\r\n\t\t\t\t\t\tTemplateID: documentElement.templateID,\r\n\t\t\t\t\t\tDocumentContentDetails: documentElement.documentContentDetails\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//this.showLoader = true;\r\n\t\t\tlet requestObj: any = {\r\n\t\t\t\tEnvelopeID: this.envelope.envelopeDetails.envelopeID,\r\n\t\t\t\tUncPath: this.envelope.envelopeDetails.uncPath,\r\n\t\t\t\tDocumentImageDetails: dict,\r\n\t\t\t\tRecipientList: this.envelope.envelopeDetails.recipientList,\r\n\t\t\t\tRoleList: null,\r\n\t\t\t\tCreatedDateTime: this.envelope.envelopeDetails.createdDateTime\r\n\t\t\t}\r\n\t\t\tlet url = ApiUrlConfig.GetEnvelopeDocumentImageDetailsUrl;\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.conversionIteration = this.conversionIteration + 1;\r\n\t\t\t\tif (this.conversionIteration <= 5) {\r\n\t\t\t\t\tthis.apiService.post(url, requestObj).subscribe(\r\n\t\t\t\t\t\t(resp: any) => {\r\n\t\t\t\t\t\t\tlet imgEleCollection: any = document.getElementsByClassName('dispImg');\r\n\t\t\t\t\t\t\tif (resp && resp.statusCode == 200 && imgEleCollection && resp.data != null && resp.data.length == imgEleCollection.length) {\r\n\t\t\t\t\t\t\t\tif (imgEleCollection && imgEleCollection.length > 0) {\r\n\t\t\t\t\t\t\t\t\tArray.from(imgEleCollection).forEach((eleChild: any) => {\r\n\t\t\t\t\t\t\t\t\t\tlet id: any = eleChild.getAttribute('id');\r\n\t\t\t\t\t\t\t\t\t\tlet recObj: any = resp.data.filter((rec: any) => (rec.id == id));\r\n\t\t\t\t\t\t\t\t\t\tif (recObj && recObj.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\trecObj = recObj[0];\r\n\t\t\t\t\t\t\t\t\t\t\teleChild.setAttribute('img-document-id', recObj.document.id);\r\n\t\t\t\t\t\t\t\t\t\t\teleChild.setAttribute('img-doc-id', recObj.document.id);\r\n\t\t\t\t\t\t\t\t\t\t\teleChild.setAttribute('docpageno', recObj.docPageNo);\r\n\t\t\t\t\t\t\t\t\t\t\tlet slBox: any = document.getElementById(\"selectionBox\" + id);\r\n\t\t\t\t\t\t\t\t\t\t\tif (slBox) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tslBox.setAttribute('img-document-id', recObj.document.id);\r\n\t\t\t\t\t\t\t\t\t\t\t\tslBox.setAttribute('docpageno', recObj.docPageNo);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tlet imageObj: any = this.imagesArr[parseInt(id) - 1];\r\n\t\t\t\t\t\t\t\t\t\t\tif (recObj.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (recObj.dimension.width > recObj.dimension.height) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\timageObj.width = \"1015px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.isLandscape = true;\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\timageObj.width = \"915px\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.isPortrait = true;\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\telse if (recObj.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n\t\t\t\t\t\t\t\t\t\t\t\timageObj.width = '950px';\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.isLandscape = true;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\teleChild.style.width = imageObj.width;\r\n\t\t\t\t\t\t\t\t\t\t\tlet imgEle: any = document.getElementById('imgControl_' + id);\r\n\t\t\t\t\t\t\t\t\t\t\tif (imgEle) imgEle.style.width = imageObj.width;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (imageObj.id > 10) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.imagesArr[parseInt(id) - 1] = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tpath: imageObj.path, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: recObj.document.id, width: imageObj.width, height: recObj.dimension.height, isVisible: true,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tisTemplateDatedBeforePortraitLandscapeFeature: recObj.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: recObj.docPageNo,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tdocument: { id: recObj.document.id, name: recObj.document.name }, controlsCount: 0\r\n\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\tthis.updateEnvelopeDocumentControlInformation();\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setAllImagesProcessed('true');\r\n\t\t\t\t\t\t\t\t\tthis.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tthis.removePaginationDisabledClass();\r\n\t\t\t\t\t\t\t\t\t\tthis.allImagesProcessed = true;\r\n\t\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setAllImagesArray(JSON.stringify(this.imagesArr));\r\n\t\t\t\t\t\t\t\t\t\tthis.commonService.removeButtonDisabledClass();\r\n\t\t\t\t\t\t\t\t\t}, 50);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\"Retriving images from Second Iteration\");\r\n\t\t\t\t\t\t\t\t\tthis.updateLocalStorageInfo();\r\n\t\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.conversionIteration = 0;\r\n\t\t\t\t\tconsole.log(\"Removing images which are not loaded.\");\r\n\t\t\t\t\tlet nullImageEleCollection: any = document.getElementsByClassName('dispImg');\r\n\t\t\t\t\tif (nullImageEleCollection && nullImageEleCollection.length > 0) {\r\n\t\t\t\t\t\tArray.from(nullImageEleCollection).forEach((eleChild: any) => {\r\n\t\t\t\t\t\t\tlet id: any = eleChild.getAttribute('id');\r\n\t\t\t\t\t\t\tlet imgItem: any = document.getElementById(\"imgControl_\" + id);\r\n\t\t\t\t\t\t\teleChild.style.display = \"none\";\r\n\t\t\t\t\t\t\tif (imgItem) imgItem.style.display = \"none\";\r\n\r\n\t\t\t\t\t\t\tthis.imagesArr = this.imagesArr.filter(function (el: any) { return el.id != id; });\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tthis.updateEnvelopeDocumentControlInformation();\r\n\t\t\t\t\t\tthis.sessionStorageService.setAllImagesProcessed('true');\r\n\r\n\r\n\t\t\t\t\t\tthis.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tthis.removePaginationDisabledClass();\r\n\t\t\t\t\t\t\tthis.allImagesProcessed = true;\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setAllImagesArray(JSON.stringify(this.imagesArr));\r\n\t\t\t\t\t\t\tthis.commonService.removeButtonDisabledClass();\r\n\t\t\t\t\t\t}, 50);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}, 1500);\r\n\t\t}\r\n\t}\r\n\r\n\tremovePaginationDisabledClass() {\r\n\t\tthis.commonService.removePaginationDisabledClass();\r\n\t}\r\n\r\n\taddPaginationDisabledClass() {\r\n\t\tthis.commonService.addPaginationDisabledClass();\r\n\t}\r\n\t//Getting Conversion Images\r\n\r\n\tsetControlHeight(currentControlId: any) {\r\n\t\tlet currentControlEle: any = (document.getElementById(currentControlId));\r\n\t\tlet parentWidthAndheight: any = this.getParentWidthAndHeight(currentControlEle);\r\n\t\tvar parentHeight = parentWidthAndheight.Height;\r\n\t\tlet spnCurrentSelectedControl: any = (document.getElementById('spn' + currentControlId));\r\n\t\tvar controlHeight = parseInt(spnCurrentSelectedControl.offsetHeight);\r\n\t\tlet resizableCurrentSelectedControl: any = (document.getElementById('resizable_' + this.currentControlId));\r\n\t\tlet controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n\t\tlet controlTopPosition: any = controlPositions.Top;\r\n\t\tvar controlTotolHeight = (controlTopPosition + controlHeight);\r\n\r\n\t\tif (parentHeight < controlTotolHeight) {\r\n\t\t\tvar finalPosition = controlTopPosition - (controlTotolHeight - parentHeight);\r\n\t\t}\r\n\t}\r\n\r\n\tgetDisplayStyle(item: any) {\r\n\t\tif (this.sessionStorageService.getAllImagesProcessed() == \"true\" || this.sessionStorageService.getAllImagesProcessed() == true) {\r\n\t\t\t//console.log(item.id)\r\n\t\t\treturn this.cashedService.getDisplayStyleWidthCached(item, this.sessionStorageService.getAllImagesProcessed());\r\n\t\t}\r\n\t\telse {\r\n\t\t\t//console.log(\"defaultWidth:\"+item.id)\r\n\t\t\tlet defaultWidth: any = '915px';\r\n\t\t\tif (item && item.width != null && item.width != '' && item.width != undefined) {\r\n\t\t\t\tdefaultWidth = item.width;\r\n\t\t\t}\r\n\t\t\treturn { 'width': defaultWidth };\r\n\t\t}\r\n\t}\r\n\r\n\r\n\topenDropdownPicker() {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet userPlanDetails: any = this.sessionStorageService.getUserPlanDetails();\r\n\t\t\tlet uplan = userPlanDetails.UserPlanType;\r\n\t\t\tlet uplanrange = userPlanDetails.UserPlanRange;\r\n\t\t\tlet upgradeLink = userPlanDetails.UpgradeLink;\r\n\t\t\tlet planName = userPlanDetails.UserPlanName;\r\n\t\t\tlet unit = userPlanDetails.UserUnits;\r\n\t\t\tif (uplan && uplan != null && uplan != \"\" && uplanrange && uplanrange != null && uplanrange != \"\") {\r\n\t\t\t\tthis.showLoader = true;\r\n\t\t\t\tthis.isDataLoaded = true;\r\n\t\t\t\tthis.planType = uplan;\r\n\t\t\t\tthis.planRange = uplanrange;\r\n\t\t\t\t//if (planName != null && planName != \"\" && planName.length > 21) this.planName = planName.substring(0, 20) + \"...\";\r\n\t\t\t\t//else\r\n\t\t\t\tthis.planName = planName;\r\n\t\t\t\tthis.fullPlanName = planName;\r\n\t\t\t\tthis.unit = unit;\r\n\t\t\t\tif (upgradeLink != null) this.upgradeLink = upgradeLink;\r\n\t\t\t\tthis.showLoader = false;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t//Get user plan and upgrade details\r\n\t\t\t\tthis.isDataLoaded = false;\r\n\t\t\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\t\t\tif (getUserDetails && getUserDetails.emailID) {\r\n\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\tlet apiUrl = ApiUrlConfig.GetUserPlanDetails + \"?userEmail=\" + getUserDetails.emailID;\r\n\t\t\t\t\tthis.apiService.get(apiUrl).subscribe((resp: any) => {\r\n\t\t\t\t\t\tthis.isDataLoaded = true;\r\n\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\tif (resp && resp.statusCode == 200) {\r\n\t\t\t\t\t\t\tif (resp.usageRemaining && resp.usageRemaining.resultContent && resp.usageRemaining.resultContent != null) {\r\n\t\t\t\t\t\t\t\tlet userUsageRemainingDetails: any = resp.usageRemaining.resultContent;\r\n\t\t\t\t\t\t\t\tthis.planType = userUsageRemainingDetails.planType;\r\n\t\t\t\t\t\t\t\tthis.planRange = userUsageRemainingDetails.planRange;\r\n\t\t\t\t\t\t\t\t//localStorage.setItem(\"UserPlanType\", this.planType);\r\n\t\t\t\t\t\t\t\t// localStorage.setItem(\"UserPlanRange\", this.planRange);\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setUserPlanDetails('UserPlanType', this.planType);\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setUserPlanDetails('UserPlanRange', this.planRange);\r\n\t\t\t\t\t\t\t\tif (userUsageRemainingDetails.unitsRemaining && userUsageRemainingDetails.unitsRemaining != null) {\r\n\t\t\t\t\t\t\t\t\tthis.unitsRemaining = userUsageRemainingDetails.unitsRemaining;\r\n\t\t\t\t\t\t\t\t\tthis.upgradeLink = userUsageRemainingDetails.upgradeLink;\r\n\t\t\t\t\t\t\t\t\tif (this.upgradeLink && this.upgradeLink != '') {\r\n\t\t\t\t\t\t\t\t\t\tif (this.upgradeLink.startsWith(\"https://\") == false)\r\n\t\t\t\t\t\t\t\t\t\t\tthis.upgradeLink = \"https://\" + this.upgradeLink;\r\n\t\t\t\t\t\t\t\t\t\tthis.showUpgradeLink = true;\r\n\t\t\t\t\t\t\t\t\t\t// localStorage.setItem(\"UpgradeLink\", this.upgradeLink);\r\n\t\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setUserPlanDetails('UpgradeLink', this.upgradeLink);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t//if (resp.planName != null && resp.planName != \"\" && resp.planName.length > 21) this.planName = resp.planName.substring(0, 20) + \"...\";\r\n\t\t\t\t\t\t\t//else\r\n\t\t\t\t\t\t\tthis.planName = resp.planName;\r\n\t\t\t\t\t\t\tthis.fullPlanName = resp.planName;\r\n\t\t\t\t\t\t\tthis.unit = resp.unit;\r\n\t\t\t\t\t\t\t// localStorage.setItem(\"UserPlanName\", resp.planName);\r\n\t\t\t\t\t\t\t// localStorage.setItem(\"UserUnits\", this.unit);\r\n\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setUserPlanDetails('UserPlanName', resp.planName);\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setUserPlanDetails('UserUnits', this.unit);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\tthis.toastrService.warning(this.commonConstants.UserPlanFailed, 'Warning');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tapplyExternalTextOptions(e: any, externalTextoptions: any) {\r\n\t\t// console.log('applyExternalTextOptions',externalTextoptions);\r\n\t\tif (externalTextoptions != 'Select') {\r\n\t\t\tthis.userSelectedEntity = false;\r\n\t\t} else {\r\n\t\t\tthis.userSelectedEntity = true;\r\n\t\t\tthis.controlPropertyService.resetTextAreaInputs();\r\n\t\t\tthis.applyExternalTextOptionsFields(e, 'Select');\r\n\t\t}\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tif (ctrlEle) {\r\n\t\t\tctrlEle.setAttribute('data-Entity', externalTextoptions);\r\n\t\t\tctrlEle.setAttribute('data-IntegrationType', this.externalIntegrationType);\r\n\t\t\tctrlEle.setAttribute('data-EntityField', '');\r\n\t\t\tctrlEle.setAttribute('data-EntityFieldValue', '');\r\n\t\t\tthis.controlPropertyService.resetTextToTextArea(currentSelectedControl);\r\n\t\t}\r\n\t}\r\n\r\n\tapplyExternalTextOptionsFields(e: any, entityFieldsValue: any) {\r\n\t\tif (entityFieldsValue != 'Select') {\r\n\t\t\tlet addTextTextarea: any = document.getElementById('addTextTextarea');\r\n\t\t\tif (addTextTextarea) {\r\n\t\t\t\taddTextTextarea.value = entityFieldsValue;\r\n\t\t\t}\r\n\t\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\tlet spnCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\tspnCurrentSelectedControl.innerText = entityFieldsValue;\r\n\t\t\t}\r\n\t\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\tlet integrationType: any = ctrlEle.getAttribute('data-IntegrationType');\r\n\t\t\tif (ctrlEle) {\r\n\t\t\t\tconst getKeyValue = this.controlPropertyService.getKeyByValue(entityFieldsValue, this.externalEntityFieldList);\r\n\t\t\t\tctrlEle.setAttribute('data-EntityField', entityFieldsValue);\r\n\t\t\t\tctrlEle.setAttribute('data-EntityFieldValue', (getKeyValue && (getKeyValue === 'null' || getKeyValue === 'undefined')) ? '' : getKeyValue);\r\n\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', (getKeyValue && (getKeyValue === 'null' || getKeyValue === 'undefined')) ? '' : getKeyValue);\r\n\t\t\t\tctrlEle.setAttribute('data-addtextareaval', (getKeyValue && getKeyValue != 'null' && getKeyValue != 'undefined') ? getKeyValue : entityFieldsValue);\r\n\t\t\t\tspnCurrentSelectedControl.setAttribute('data-addtextareaval', (getKeyValue && getKeyValue != 'null' && getKeyValue != 'undefined') ? getKeyValue : entityFieldsValue);\r\n\t\t\t\tif (integrationType && integrationType.toLowerCase() === 'vincere' && getKeyValue) {\r\n\t\t\t\t\taddTextTextarea.value = getKeyValue;\r\n\t\t\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\t\t\tspnCurrentSelectedControl.innerHTML = getKeyValue;\r\n\t\t\t\t\t\tlet radioPrefill: any = document.getElementById('radioPrefill');\r\n\t\t\t\t\t\tif (radioPrefill) {\r\n\t\t\t\t\t\t\tradioPrefill.checked = true;\r\n\t\t\t\t\t\t\tthis.applyPrefillLabelTextProp(2);\r\n\t\t\t\t\t\t\tlet inputLengthControl: any = document.getElementById('textInputLength');\r\n\t\t\t\t\t\t\tif (inputLengthControl) {\r\n\t\t\t\t\t\t\t\tinputLengthControl.value = getKeyValue.length;\r\n\t\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(getKeyValue.length + 2);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', entityFieldsValue);\r\n\t\t\t\t\tthis.applyPrefillLabelTextProp(1);\r\n\t\t\t\t}\r\n\t\t\t\tif (entityFieldsValue && ctrlEle) {\r\n\t\t\t\t\tctrlEle.setAttribute('data-customtooltip', entityFieldsValue);\r\n\t\t\t\t\tlet tooltipControl: any = document.getElementById('controlInputTooltip');\r\n\t\t\t\t\tif (tooltipControl) {\r\n\t\t\t\t\t\ttooltipControl.value = entityFieldsValue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tlet disableInputField: any = document.getElementById('textInputLength');\r\n\t\t\t\tif (disableInputField) {\r\n\t\t\t\t\tdisableInputField.classList.add('disabled');\r\n\t\t\t\t}\r\n\t\t\t\tlet textValidationsoptions: any = document.getElementById('textValidationsoptions');\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.classList.add('disabled');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (entityFieldsValue && (entityFieldsValue.toLowerCase().includes('date') || entityFieldsValue.toLowerCase() === 'availability start')) {\r\n\t\t\t\tthis.showTextDateFormat = 'block';\r\n\t\t\t\tthis.showTextFieldsContainer = 'block';\r\n\t\t\t\tif (ctrlEle) {\r\n\t\t\t\t\tctrlEle.setAttribute('data-additional-validation-name', 'Date Format');\r\n\t\t\t\t\tlet validationOption: any = this.validationsDateOptions[0].value;\r\n\t\t\t\t\tctrlEle.setAttribute('data-additional-validation-option', validationOption);\r\n\t\t\t\t\t//5 Means Date of Text Control\r\n\t\t\t\t\tlet validationsTextOption: any = this.commonConstants.ValidationsText[5].value;\r\n\t\t\t\t\tctrlEle.setAttribute('data-texttype', validationsTextOption);\r\n\t\t\t\t\tlet validationOptionlabel: any = this.validationsDateOptions[0].label;\r\n\t\t\t\t\tthis.controlPropertyService.updateDateFormatNameAndOptions(ctrlEle, validationOptionlabel);\r\n\t\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\t\ttextValidationsoptions.value = '6';\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (integrationType && integrationType.toLowerCase() === 'vincere') {\r\n\t\t\t\t\t\tctrlEle.setAttribute('data-EntityFieldValue', spnCurrentSelectedControl.innerText);\r\n\t\t\t\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\t\t\t\tspnCurrentSelectedControl.innerText = ctrlEle.getAttribute('data-entityfielddateformatedvalue');\r\n\t\t\t\t\t\t\tspnCurrentSelectedControl.innerHTML = spnCurrentSelectedControl.innerText;\r\n\t\t\t\t\t\t\tctrlEle.setAttribute('data-EntityFieldValue', spnCurrentSelectedControl.innerText);\r\n\t\t\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', spnCurrentSelectedControl.innerHTML);\r\n\t\t\t\t\t\t\taddTextTextarea.value = spnCurrentSelectedControl.innerText;\r\n\t\t\t\t\t\t\tlet radioPrefill: any = document.getElementById('radioPrefill');\r\n\t\t\t\t\t\t\tif (addTextTextarea.value && addTextTextarea.value !== '' && addTextTextarea.value !== 'null' && radioPrefill) {\r\n\t\t\t\t\t\t\t\tradioPrefill.checked = true;\r\n\t\t\t\t\t\t\t\tthis.applyPrefillLabelTextProp(2);\r\n\t\t\t\t\t\t\t\tlet inputLengthControl: any = document.getElementById('textInputLength');\r\n\t\t\t\t\t\t\t\tif (inputLengthControl) {\r\n\t\t\t\t\t\t\t\t\tinputLengthControl.value = (spnCurrentSelectedControl.innerText.length !== 0) ? spnCurrentSelectedControl.innerText.length : entityFieldsValue.length;\r\n\t\t\t\t\t\t\t\t\tthis.setNameOrTextControlDimension(parseInt(inputLengthControl.value));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', entityFieldsValue);\r\n\t\t\t\t\t\tthis.applyPrefillLabelTextProp(1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.showTextDateFormat = 'none';\r\n\t\t\t\tthis.showTextFieldsContainer = 'none';\r\n\t\t\t\tthis.userSelectedEntity = false;\r\n\t\t\t\tctrlEle.setAttribute('data-additional-validation-name', '');\r\n\t\t\t\tlet validationOption: any = this.validationsDateOptions[0].value;\r\n\t\t\t\tctrlEle.setAttribute('data-additional-validation-option', validationOption);\r\n\t\t\t\t//5 Means Date of Text Control\r\n\t\t\t\tlet validationsTextOption: any = this.commonConstants.ValidationsText[0].value;\r\n\t\t\t\tctrlEle.setAttribute('data-texttype', validationsTextOption);\r\n\t\t\t\tlet textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\ttextValidationsoptions.value = '1';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.updateTextAreaText(e);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.controlPropertyService.resetTextAreaInputs();\r\n\t\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\t\tlet spnCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\tlet integrationType: any = ctrlEle.getAttribute('data-IntegrationType');\r\n\t\t\tif (integrationType && integrationType.toLowerCase() === 'vincere') {\r\n\t\t\t\tctrlEle.setAttribute('data-EntityField', '');\r\n\t\t\t\tctrlEle.setAttribute('data-EntityFieldValue', '');\r\n\t\t\t\tctrlEle.setAttribute('data-customtooltip', '');\r\n\t\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', '');\r\n\t\t\t\tctrlEle.setAttribute('data-addtextareaval', '');\r\n\t\t\t\tspnCurrentSelectedControl.setAttribute('data-addtextareaval', '');\r\n\t\t\t\tif (spnCurrentSelectedControl) {\r\n\t\t\t\t\tspnCurrentSelectedControl.innerText = 'Text';\r\n\t\t\t\t}\r\n\t\t\t\tlet addTextTextarea: any = document.getElementById('addTextTextarea');\r\n\t\t\t\tif (addTextTextarea) {\r\n\t\t\t\t\taddTextTextarea.value = '';\r\n\t\t\t\t}\r\n\t\t\t\tlet tooltipControl: any = document.getElementById('controlInputTooltip');\r\n\t\t\t\tif (tooltipControl) {\r\n\t\t\t\t\ttooltipControl.value = '';\r\n\t\t\t\t}\r\n\t\t\t\tthis.applyTextTypeControl(1);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonSaveDraft(type: any) {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (this.disableSaveDraftButton == \"false\" || type == 1) {\r\n\t\t\t\tconsole.log(\"Envelope Save Draft:\" + new Date().toLocaleString());\r\n\t\t\t\tif (type != 1) {\r\n\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t}\r\n\t\t\t\tlet resultObj: any = this.getEachControlValidation(\"draft\");\r\n\t\t\t\t//console.log('onSaveDraft', resultObj);\r\n\t\t\t\tif (resultObj.isValid == true) {\r\n\t\t\t\t\tlet controlArray = resultObj.controlArray;\r\n\t\t\t\t\tlet apiEnvelopeControls: any = {\r\n\t\t\t\t\t\tEnvelopeId: this.envelope.envelopeDetails.envelopeID,\r\n\t\t\t\t\t\tControls: controlArray,\r\n\t\t\t\t\t\tEnvelopeStage: this.isEnvelopeEdited == true ? RSignStage.UpdateAndResend : this.getEnvelopeStage(),\r\n\t\t\t\t\t\tSavetype: type,\r\n\t\t\t\t\t\tEnableMultipleBranding: this.enableMultiBranding,\r\n\t\t\t\t\t\tBranding: this.branding,\r\n\t\t\t\t\t};\r\n\t\t\t\t\tthis.apiService.SaveAsDraftEnvelope(apiEnvelopeControls).subscribe((data: any) => {\r\n\t\t\t\t\t\tif (data && data.statusCode == 200) {\r\n\t\t\t\t\t\t\t//this.showLoader = false;\r\n\t\t\t\t\t\t\tconsole.log(\"SaveAsDraftEnvelope 200 \" + new Date().toLocaleString());\r\n\t\t\t\t\t\t\t// this.toastrService.success(\"Envelope saved as draft successfully.\", 'Success');\r\n\t\t\t\t\t\t\tlet transText: any = this.getLanguageTranslationValue(ResourceKeys.EnvelopeAutoSaveSuccess);\r\n\t\t\t\t\t\t\tif (transText) this.toastrService.success(transText, 'Success');\r\n\t\t\t\t\t\t\telse this.toastrService.success(\"Envelope saved to Drafts on RSign Home page.\", 'Success');\r\n\r\n\t\t\t\t\t\t\tif (type === 0) this.hostListenerStatus = true;\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tif (type === 0) {\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tlet rsignUrl: any = environment.rsignUrl;\r\n\t\t\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\t\t\tlet rsignUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t\t\t\twindow.location.href = rsignUrl + 'Account/RSignDetailsNewSigners?ru=' + this.authService.getUserDetails().emailID + \"&rpk=\" + this.authService.getToken() + '&redirect=Home';\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\twindow.location.href = rsignUrl + 'Account/RSignDetailsNewSigners?ru=' + this.authService.getUserDetails().emailID + \"&rpk=\" + this.authService.getToken() + '&redirect=Home';\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\t\t\t\t\t}, 10);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (type === 1) {\r\n\t\t\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tif (this.isSendEnvelope == false) {\r\n\t\t\t\t\t\t\t\t\t\t\tthis.autoSaveEnvasDraft();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tconsole.log(\"SaveAsDraftEnvelope FAILED 400 \" + new Date().toLocaleString());\r\n\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\tlet transText: any = this.getLanguageTranslationValue(ResourceKeys.EnvelopeAutoSaveFailed);\r\n\t\t\t\t\t\t\tif (transText) this.toastrService.warning(transText, 'Warning');\r\n\t\t\t\t\t\t\telse this.toastrService.warning(\"Could not save Envelope to Drafts.\", 'Warning');\r\n\t\t\t\t\t\t\tif (type === 1) {\r\n\t\t\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tif (this.isSendEnvelope == false) {\r\n\t\t\t\t\t\t\t\t\t\tthis.autoSaveEnvasDraft();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonGotoStepOne(type: any) {\r\n\t\tthis.showLoader = true;\r\n\t\tlet resultObj: any = this.getEachControlValidation('draft');\r\n\t\tlet IsSaveControl: boolean = type === \"1\" ? true : false;\r\n\t\tif (resultObj.isValid == true) {\r\n\t\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\t\tlet senderCompanyId: any = '', cultureInfo: any = 'en-us', userProfileName: any = '';\r\n\t\t\tif (getUserDetails && getUserDetails.companyID) {\r\n\t\t\t\tsenderCompanyId = getUserDetails.companyID;\r\n\t\t\t\tcultureInfo = getUserDetails.languageCode;\r\n\t\t\t\tuserProfileName = getUserDetails.firstName + \" \" + getUserDetails.lastName;\r\n\t\t\t}\r\n\r\n\t\t\tlet controlArray = resultObj.controlArray;\r\n\t\t\tlet apiEnvelopeControls: any = {\r\n\t\t\t\tEnvelopeID: this.envelope.envelopeDetails.envelopeID,\r\n\t\t\t\tEnvelopeStage: this.isEnvelopeEdited == true ? RSignStage.PrepareEnvelope : this.getEnvelopeStage(),\r\n\t\t\t\tControls: IsSaveControl ? controlArray : null,\r\n\t\t\t\tIsSaveControl: IsSaveControl,\r\n\t\t\t\tEnableMultipleBranding: (IsSaveControl === true) ? (this.enableMultiBranding == true ? true : this.branding != '' ? true : false) : false,\r\n\t\t\t\tBranding: IsSaveControl === true ? (this.branding != '' ? this.branding : this.defaultBranding) : '',\r\n\t\t\t\tSenderCompanyId: senderCompanyId,\r\n\t\t\t\tCultureInfo: (cultureInfo != \"\" && cultureInfo != null) ? cultureInfo : \"en-us\",\r\n\t\t\t};\r\n\r\n\t\t\tthis.apiService.OpenEnvelope(apiEnvelopeControls).subscribe((data: any) => {\r\n\t\t\t\tif (data && data.statusCode == 200) {\r\n\t\t\t\t\tthis.hostListenerStatus = true;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tlet userInfo: any = this.authService.getUserDetails();\r\n\t\t\t\t\t\tif (userInfo && userInfo.emailID) {\r\n\t\t\t\t\t\t\tlet rsignUrl: any = environment.rsignUrl;\r\n\t\t\t\t\t\t\tthis.externalIntegrationType = this.integrationResponse && this.integrationResponse.envelopeDetails.integrationType ? this.integrationResponse.envelopeDetails.integrationType : ''; //Vincere, Bullhorn\r\n\t\t\t\t\t\t\tif (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n\t\t\t\t\t\t\t\trsignUrl = environment.rsignSFAppUrl;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\t\t\t\t\t\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\t\t\t\t\t\t\trsignUrl = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse rsignUrl = environment.rsignUrl;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tlet path: any = rsignUrl + 'Account/RSignDetailsNewSigners?ru=' + userInfo.emailID + \"&rpk=\" + this.authService.getToken();\r\n\t\t\t\t\t\t\twindow.location.href = path + '&redirect=SendDraft' + '&redirecturl=' + data.returnUrl;\r\n\t\t\t\t\t\t\tthis.showLoader = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t}\r\n\t\t\t\telse if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\tlet transText: any = this.getLanguageTranslationValue(ResourceKeys.EnvelopeAutoSaveFailed);\r\n\t\t\t\t\tif (transText) this.toastrService.warning(transText, 'Warning');\r\n\t\t\t\t\telse this.toastrService.warning(\"Could not save Envelope to Drafts.\", 'Warning');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.showLoader = false;\r\n\t\t}\r\n\t}\r\n\r\n\tcheckNumberLength(ctrlName: any, input: any) {\r\n\t\tlet finalLength: any = (ctrlName === 'text') ? 4 : 3;\r\n\t\tif (this.selectValidation === '7') { //email of text\r\n\t\t\tthis.textCtrlMaxValidation = 100;\r\n\t\t\tfinalLength = 3;\r\n\t\t\tif (parseInt(input.value) > 100) {\r\n\t\t\t\tinput.value = 100;\r\n\t\t\t}\r\n\t\t\tif (input.value.length > finalLength) {\r\n\t\t\t\tinput.value = input.value.slice(0, finalLength); // Limiting to 3\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (input.value.length > finalLength) {\r\n\t\t\t\tinput.value = input.value.slice(0, finalLength); // Limiting to 3 or 4 digits\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateCharInputLimit(inputId: any, ctrlName: any) {\r\n\t\tlet charInputLimit: any = document.getElementById(inputId);\r\n\t\t// let currentControlId: any = localStorage.getItem('CurrentClickedDroppedControl');s\r\n\t\tlet currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentControlId);\r\n\t\tlet dataValidationType: any = ctrlEle.getAttribute('data-validation-type');\r\n\t\tif (charInputLimit && charInputLimit.value) {\r\n\t\t\tlet val: any = parseInt(charInputLimit.value);\r\n\t\t\tif (dataValidationType && dataValidationType === 'Email' && ctrlName === 'text') {\r\n\t\t\t\tif (val > 100) {\r\n\t\t\t\t\tcharInputLimit.value = 100;\r\n\t\t\t\t\tthis.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n\t\t\t\t}\r\n\t\t\t} else if (ctrlName === 'text') {\r\n\t\t\t\tif (val > 4000) {\r\n\t\t\t\t\tcharInputLimit.value = 4000;\r\n\t\t\t\t\tthis.toastrService.warning('Value should be less than or equal to 4000.', 'Warning');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif (val > 100) {\r\n\t\t\t\t\tcharInputLimit.value = 100;\r\n\t\t\t\t\tthis.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tvalidateCharLimit() {\r\n\t\tlet charInputLimit: any = document.getElementById('textCharInputLimit');\r\n\t\tif (charInputLimit) {\r\n\t\t\tthis.controlPropertyService.hideCtrlCharLimitInput(charInputLimit);\r\n\t\t}\r\n\t\tlet inputLength: any = document.getElementById('textInputLength');\r\n\t\tif (inputLength) {\r\n\t\t\tthis.controlPropertyService.showCtrlLengthInput(inputLength);\r\n\t\t}\r\n\t\tlet isFixedWidthTextContainer: any = document.getElementById('isFixedWidthTextContainer');\r\n\t\tif (isFixedWidthTextContainer) {\r\n\t\t\tisFixedWidthTextContainer.style.display = 'none';\r\n\t\t}\r\n\t}\r\n\r\n\tautoSaveEnvasDraft() {\r\n\t\t// console.log(\"Auto Save Draft:\" + new Date().toLocaleString());\r\n\t\tlet timeOutValue: any = 120000; //120000 (It means 2 mins)\r\n\t\tsetTimeout(() => {\r\n\t\t\tif (this.isSendEnvelope == false && this.sessionStorageService.getAllImagesProcessed() == \"true\") {\r\n\t\t\t\tthis.onSaveDraft(1);\r\n\t\t\t}\r\n\t\t}, timeOutValue);\r\n\t}\r\n\r\n\tcreateDupicateControl(e: any) {\r\n\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\tif (ele) {\r\n\t\t\t\tconst dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n\t\t\t\tif (dynamicComponentRef && dynamicComponentRef.instance && dynamicComponentRef.instance.ctrlObj) {\r\n\t\t\t\t\tlet ctrlObj: any = dynamicComponentRef.instance.ctrlObj;\r\n\t\t\t\t\tif (ctrlObj.className == \"dropdown\") {\r\n\t\t\t\t\t\tlet selectDropdownControlField: any = (document.getElementById('spn' + ctrlObj.id)) as HTMLSelectElement;\r\n\t\t\t\t\t\tif (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n\t\t\t\t\t\t\tthis.toastrService.warning('Please add the options for dropdown control.', 'Warning');\r\n\t\t\t\t\t\t\t//return false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n\t\t\t\t\tlet arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n\t\t\t\t\tlet childCtrlObj: any = ctrlObj;\r\n\t\t\t\t\tif (arrCopyPasteCtrl) {\r\n\t\t\t\t\t\tthis.arrCopyPasteCtrl = JSON.parse(arrCopyPasteCtrl);\r\n\t\t\t\t\t\tif (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length > 0) {\r\n\t\t\t\t\t\t\tif (this.arrCopyPasteCtrl[0].ParentControl.dataGuid == ctrlObj.dataGuid) {\r\n\t\t\t\t\t\t\t\tchildCtrlObj = this.arrCopyPasteCtrl[0].Control;\r\n\t\t\t\t\t\t\t\tif (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length === 0) {\r\n\t\t\t\t\t\t\t\t\tthis.arrCopyPasteCtrl = [];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.arrCopyPasteCtrl.push({ ParentControl: ctrlObj, Control: childCtrlObj, Action: 'P' });\r\n\t\t\t\t\t\t\t\t// localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tthis.arrUndoRedoCtrl = [];\r\n\t\t\t\t\t\t\t\t// localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\t\t\t\t\t\t\tthis.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.createControl(dynamicComponentRef.instance.ctrlObj, ControlConfig.Duplicate, 'false');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tenableFieldAlignment() {\r\n\t\tlet totalControlCount = this.getAllControlsCount();\r\n\t\tif (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.isFormFieldAlignmentEnabled) {\r\n\t\t\tif (this.isEnvelopeEditable == false) { return 'disabledCtrl' }\r\n\t\t\telse {\r\n\t\t\t\tif (totalControlCount > 1 && this.selectedItems.length > 1) return 'enabledCtrl';\r\n\t\t\t\telse return 'disabledCtrl';\r\n\t\t\t}\r\n\t\t}\r\n\t\telse return 'disabledCtrl'\r\n\t}\r\n\r\n\tisAlignmentFieldOpen() {\r\n\t\tif (this.isEnvelopeEditable == false) return false;\r\n\t\telse return true;\r\n\t}\r\n\r\n\tisEnvEditable() {\r\n\t\tlet totalControlCount = this.getAllControlsCount();\r\n\t\tif (this.isEnvelopeEditable == false || totalControlCount == 0) return 'disabledCtrl';\r\n\t\telse return 'enabledCtrl';\r\n\t}\r\n\r\n\tupdateAlignments(ctrlName: any) {\r\n\t\tlet textFormatting: any = this.defaultControlStyleService.getDictionaryByKey(ctrlName);\r\n\t\t// let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyTextAlign(currentSelectedControl, textFormatting.textAlign);\r\n\r\n\t\tlet controlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n\t\tlet spnctrlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n\t\tif (controlEle) {\r\n\t\t\tlet nameOrTextInputLengthEle: any = document.getElementById(ctrlName.toLowerCase() + 'InputLength');\r\n\t\t\tif (nameOrTextInputLengthEle && nameOrTextInputLengthEle.value) {\r\n\t\t\t\tthis.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//console.log('textFormatting', textFormatting);\r\n\t\tif (textFormatting && textFormatting.saveAsDefault == undefined && spnctrlEle) {\r\n\t\t\tthis.defaultControlStyleService.updateDictionary(ctrlName, {\r\n\t\t\t\tsaveAsDefault: true,\r\n\t\t\t\trequired: true,\r\n\t\t\t\tfontFamily: spnctrlEle.style.fontFamily,\r\n\t\t\t\tfontWeight: spnctrlEle.style.fontWeight,\r\n\t\t\t\ttextDecoration: spnctrlEle.style.textDecoration,\r\n\t\t\t\tfontStyle: spnctrlEle.style.fontStyle,\r\n\t\t\t\tfontSize: spnctrlEle.style.fontSize,\r\n\t\t\t\tcolor: spnctrlEle.style.color,\r\n\t\t\t\ttextAlign: spnctrlEle.style.textAlign,\r\n\t\t\t\tlineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n\t\t\t\tvalidationType: '',\r\n\t\t\t\tadlnName: '',\r\n\t\t\t\tadlnOption: '',\r\n\t\t\t\tpreSelected: false,\r\n\t\t\t\tcheckboxGroup: false,\r\n\t\t\t\tcheckboxGroupName: '',\r\n\t\t\t\tcheckboxName: '',\r\n\t\t\t\tdateFormat: '',\r\n\t\t\t\tsize: 'standard',\r\n\t\t\t\tfontTypeMeasurement: 'px',\r\n\t\t\t\tfirstLineBlank: false,\r\n\t\t\t\tlabelControlValue: ''\r\n\t\t\t})\r\n\t\t\tthis.updateSaveAsDefaultChecked = true;\r\n\t\t}\r\n\t}\r\n\r\n\tupdateTextFormattingStyles(ctrlObj: any) {\r\n\t\tlet ctrlEle: any = document.getElementById('spn' + ctrlObj.id);\r\n\t\tif (ctrlEle && ctrlEle.style) {\r\n\t\t\tif (ctrlEle && ctrlEle.style) {\r\n\t\t\t\tctrlEle.style.fontWeight = (ctrlObj.textFormatting.fontWeight === true || ctrlObj.textFormatting.fontWeight === 'bold') ? 'bold' : 'normal';\r\n\t\t\t\tif (ctrlObj.controlName.toLowerCase() === 'hyperlink') {\r\n\t\t\t\t\tctrlEle.style.fontStyle = (ctrlObj.textFormatting.fontStyle === true || ctrlObj.textFormatting.fontStyle === 'italic') ? 'italic' : 'normal';\r\n\t\t\t\t\tctrlEle.style.textDecoration = (ctrlObj.textFormatting.textDecoration === true || ctrlObj.textFormatting.textDecoration === 'underline') ? 'underline' : 'normal';\r\n\t\t\t\t\tctrlEle.style.color = (ctrlObj.textFormatting.color === 'rgb(0, 0, 0)') ? 'rgb(0, 0, 0)' : ctrlObj.textFormatting.color;\r\n\t\t\t\t\tctrlEle.style.textAlign = 'left';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.checkSpnTextFormattingValues(ctrlEle, ctrlObj.id);\r\n\t\t\tif (ctrlObj.textFormatting.validationType) {\r\n\t\t\t\tthis.commonConstants.ValidationsText.forEach((rec: any) => {\r\n\t\t\t\t\tif (rec.value === ctrlObj.textFormatting.validationType) {\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tlet textValidationsoptions: any = document.getElementById('textValidationsoptions');\r\n\t\t\t\t\t\t\tif (textValidationsoptions) {\r\n\t\t\t\t\t\t\t\ttextValidationsoptions.value = rec.id;\r\n\t\t\t\t\t\t\t\tthis.applyTextTypeControl(rec.id);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}, 300);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateSaveAsDefault(ctrlObj: any) {\r\n\t\tlet saveAsDefaultVal: any = ctrlObj.textFormatting.saveAsDefault;\r\n\r\n\t\tlet spnCtrlEle: any = document.getElementById('spn' + ctrlObj.id);\r\n\t\tif (spnCtrlEle) {\r\n\t\t\tspnCtrlEle.setAttribute('data-saveasdefault', saveAsDefaultVal);\r\n\t\t}\r\n\t\tthis.updateSaveAsDefaultChecked = saveAsDefaultVal;\r\n\t\tthis.defaultControlStyleService.updateDictionary(ctrlObj.className,\r\n\t\t\tctrlObj.textFormatting\r\n\t\t)\r\n\t}\r\n\r\n\tviewPdf() {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.showLoader = true;\r\n\t\t\tlet resultObj: any = this.getEachControlValidation(\"draft\");\r\n\t\t\tif (resultObj.isValid == true) {\r\n\t\t\t\tlet controlArray = resultObj.controlArray;\r\n\t\t\t\tlet apiEnvelopeControls: any = {\r\n\t\t\t\t\tEnvelopeId: this.envelope.envelopeDetails.envelopeID,\r\n\t\t\t\t\tControls: controlArray,\r\n\t\t\t\t\tEnvelopeStage: this.isEnvelopeEdited == true ? RSignStage.UpdateAndResend : this.getEnvelopeStage(),\r\n\t\t\t\t};\r\n\t\t\t\tthis.apiService.viewPdf(apiEnvelopeControls).subscribe((resp: any) => {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t//console.log('dataresponse', resp.value);\r\n\t\t\t\t\tif (resp && resp.statusCode == 200 && resp.value && resp.value != null && resp.value.base64FileData) {\r\n\t\t\t\t\t\tconst binaryString = window.atob(resp.value.base64FileData);\r\n\t\t\t\t\t\tconst bytes = new Uint8Array(binaryString.length);\r\n\t\t\t\t\t\tfor (let i = 0; i < binaryString.length; i++) { bytes[i] = binaryString.charCodeAt(i); }\r\n\t\t\t\t\t\t//Create a Blob from the Uint8Array\r\n\t\t\t\t\t\tconst blob = new Blob([bytes.buffer],\r\n\t\t\t\t\t\t\t{ type: 'application/pdf' }); // Create a URL for the Blob\r\n\t\t\t\t\t\tconst url = URL.createObjectURL(blob);\r\n\t\t\t\t\t\t// Open the URL in a new window\r\n\t\t\t\t\t\twindow.open(url, '_blank');\r\n\t\t\t\t\t\t// Release the URL object when the window is closed\r\n\t\t\t\t\t\twindow.addEventListener('unload', () => { URL.revokeObjectURL(url); });\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n\t\t\t\t\t\tthis.redirectRSignLogOnPage();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t\tthis.toastrService.warning('Unable to view the pdf document.', 'Warning');\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.showLoader = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateCtrlTextFormatting(currentSelectedControl: any, isApplicalSaveAs: any) {\r\n\t\tlet resizableCtrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tlet ctrlEle: any = document.getElementById(currentSelectedControl);\r\n\t\tlet spnctrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\tlet dataValidationType: any;\r\n\t\tlet dataAdditionalValidationName: string = '';\r\n\t\tlet dataAdditionalValidationOption: string = '';\r\n\r\n\t\tlet dataDefaultformat: any;\r\n\t\tlet ctrlName: any;\r\n\t\tlet typography: any;\r\n\t\tif (resizableCtrlEle) {\r\n\t\t\ttypography = resizableCtrlEle.getAttribute('data-typography');\r\n\t\t}\r\n\t\tif (ctrlEle) {\r\n\t\t\tctrlName = ctrlEle.getAttribute('data-controlname');\r\n\t\t\tlet checkSaveAsDefaultisChecked: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue(ctrlName.toLowerCase());\r\n\t\t\tif (checkSaveAsDefaultisChecked === 'true') {\r\n\t\t\t\tthis.updateSaveAsDefaultChecked = true;\r\n\t\t\t}\r\n\t\t\tif (checkSaveAsDefaultisChecked === 'false') {\r\n\t\t\t\tthis.updateSaveAsDefaultChecked = false;\r\n\t\t\t}\r\n\t\t\tif (checkSaveAsDefaultisChecked === true || checkSaveAsDefaultisChecked === 'true') {\r\n\t\t\t\tif (resizableCtrlEle && spnctrlEle) {\r\n\t\t\t\t\tdataDefaultformat = resizableCtrlEle.getAttribute('data-defaultformat');\r\n\t\t\t\t\tdataValidationType = resizableCtrlEle.getAttribute('data-validation-type');\r\n\t\t\t\t\tdataAdditionalValidationName = resizableCtrlEle.getAttribute('data-additional-validation-name');\r\n\t\t\t\t\tdataAdditionalValidationOption = resizableCtrlEle.getAttribute('data-additional-validation-option');\r\n\t\t\t\t\tlet validationOption: any = '';\r\n\t\t\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'zip' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n\t\t\t\t\t\tvalidationOption = this.commonConstants.ValidationsZipOptions[parseInt(dataAdditionalValidationOption) - 1].viewname;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'numeric' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n\t\t\t\t\t\tvalidationOption = this.commonConstants.AdditionalValidationType[parseInt(dataAdditionalValidationOption) - 1].viewValue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (dataValidationType && dataValidationType.toLowerCase() === 'date' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n\t\t\t\t\t\tvalidationOption = this.validationsDateOptions[parseInt(dataAdditionalValidationOption) - 1].label;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tlet labelControlValue: any = '';\r\n\t\t\t\t\tif (ctrlName.toLowerCase() === 'label' || ctrlName.toLowerCase() === 'hyperlink') {\r\n\t\t\t\t\t\tlet labelText: any = spnctrlEle.getAttribute('data-label-text');\r\n\t\t\t\t\t\tlabelControlValue = (labelText === 'null' || labelText === null) ? '' : labelText;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tconst fontFamilyWithQuotes = spnctrlEle.style.fontFamily;\r\n\t\t\t\t\tconst fontFamilyWithoutQuotes = fontFamilyWithQuotes.replace(/\"/g, '');\r\n\t\t\t\t\tthis.defaultControlStyleService.updateDictionary(ctrlName.toLowerCase(), {\r\n\t\t\t\t\t\tsaveAsDefault: spnctrlEle.getAttribute('data-saveasdefault'),\r\n\t\t\t\t\t\trequired: (ctrlName.toLowerCase() === 'radio') ? this.isRadioRequiredChecked : this.isRequiredChecked,\r\n\t\t\t\t\t\tfontFamily: fontFamilyWithoutQuotes,\r\n\t\t\t\t\t\tfontWeight: spnctrlEle.style.fontWeight,\r\n\t\t\t\t\t\ttextDecoration: spnctrlEle.style.textDecoration,\r\n\t\t\t\t\t\tfontStyle: spnctrlEle.style.fontStyle,\r\n\t\t\t\t\t\tfontSize: spnctrlEle.style.fontSize,\r\n\t\t\t\t\t\tcolor: spnctrlEle.style.color,\r\n\t\t\t\t\t\ttextAlign: spnctrlEle.style.textAlign,\r\n\t\t\t\t\t\tlineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n\t\t\t\t\t\tvalidationType: ctrlName.toLowerCase() === 'text' ? this.controlPropertyService.getTextTypeValue(dataValidationType) : '',\r\n\t\t\t\t\t\tadlnName: ctrlName.toLowerCase() === 'text' ? dataAdditionalValidationName : '',\r\n\t\t\t\t\t\tadlnOption: ctrlName.toLowerCase() === 'text' ? validationOption : '',\r\n\t\t\t\t\t\tpreSelected: this.isChkPreSelected ? this.isChkPreSelected : false,\r\n\t\t\t\t\t\tcheckboxGroup: this.ischeckboxGroup ? this.ischeckboxGroup : false,\r\n\t\t\t\t\t\tcheckboxGroupName: resizableCtrlEle.getAttribute('data-groupname'),\r\n\t\t\t\t\t\tcheckboxName: spnctrlEle.getAttribute('name'),\r\n\t\t\t\t\t\tdateFormat: dataDefaultformat ? dataDefaultformat : '',\r\n\t\t\t\t\t\tsize: this.commonConstants.Checkboxoptions[parseInt(this.selectDefaultSizeValue) - 1].viewValue,\r\n\t\t\t\t\t\tfontTypeMeasurement: typography == null || typography == undefined || typography == '' ? \"px\" : typography,\r\n\t\t\t\t\t\tlabelControlValue: labelControlValue,\r\n\t\t\t\t\t\tfirstLineBlank: (ctrlName.toLowerCase() === 'dropdown') ? this.isdrpFirstLineBlank : false\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tlet newData = this.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, fontFamilyWithoutQuotes, this.isRequiredChecked, typography);\r\n\r\n\t\t\t\t\tif (isApplicalSaveAs === '1') {\r\n\t\t\t\t\t\tthis.saveAsDefaultSaveSettings(newData);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tisUndefinedOrNull(val: any, type: any) {\r\n\t\tif (val != null || val != undefined || val != '' || val != \"null\" || val != \"undefined\") {\r\n\t\t\tif (type == 1) return \"#000000\";\r\n\t\t\telse if (type == 2) return \"d4a45ecd-3865-448a-92fa-929c2295ea34\";\r\n\t\t\telse if (type == 3) return \"Courier\";\r\n\t\t\telse if (type == 4) return \"12\";\r\n\t\t\telse if (type == 5) return \"12px\";\r\n\t\t}\r\n\t\telse return val;\r\n\t}\r\n\r\n\tgetAllControlsCount() {\r\n\t\tlet totalControlCount = 0;\r\n\t\tlet documentImagesControlsArray: any = document.querySelectorAll('.signControl');\r\n\t\tif (documentImagesControlsArray && documentImagesControlsArray.length > 0) {\r\n\t\t\ttotalControlCount = documentImagesControlsArray.length;\r\n\t\t}\r\n\t\treturn totalControlCount;\r\n\t}\r\n\r\n\tupdateSaveAsDefaultCheckedOrNot(ctrlid: any) {\r\n\t\tlet spnCtrlEle: any = document.getElementById('spn' + ctrlid);\r\n\t\tif (spnCtrlEle) {\r\n\t\t\tlet dataSaveasdefault: any = spnCtrlEle.getAttribute('data-saveasdefault');\r\n\t\t\tif (dataSaveasdefault) {\r\n\t\t\t\tif (dataSaveasdefault === 'true') {\r\n\t\t\t\t\tthis.updateSaveAsDefaultChecked = true;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.updateSaveAsDefaultChecked = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.defaultColorPicker = spnCtrlEle.style.color;\r\n\t\t\tthis.checkSpnTextFormattingValues(spnCtrlEle, ctrlid);\r\n\t\t}\r\n\t}\r\n\r\n\tupdateExtendDocumentWidth() {\r\n\t\tlet addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n\t\tlet depencieChanges: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\t\tif (this.hidePagesViewSection == false || this.hideControlViewSection == false) {\r\n\t\t\taddmiddleClass.classList.remove('col-lg-10');\r\n\t\t\taddmiddleClass.classList.add('col-lg-8');\r\n\t\t}\r\n\r\n\t\tif (this.hidePagesViewSection === true && this.hideControlViewSection === true) {\r\n\t\t\taddmiddleClass.classList.remove('col-lg-8');\r\n\t\t\taddmiddleClass.classList.add('col-lg-10');\r\n\t\t}\r\n\t\tif (this.hidePagesViewSection === false && this.hideControlViewSection === false && this.hideDependencies == true) {\r\n\t\t\tdepencieChanges.classList.remove('depencie-AdjustW');\r\n\t\t\tdepencieChanges.classList.add('depencie-W');\r\n\t\t}\r\n\t\tif (this.hidePagesViewSection === false && this.hideControlViewSection === false && this.hideDependencies == false) {\r\n\t\t\tdepencieChanges.classList.remove('depencie-W');\r\n\t\t\tdepencieChanges.classList.add('depencie-AdjustW');\r\n\t\t}\r\n\t\t// &&\r\n\t\tthis.isAddColumnSpace = false;\r\n\t\t// this.updateExtendDependecieWidth();\r\n\t}\r\n\tupdateExtendDependecieWidth() {\r\n\t\tlet depencieChanges: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\t\tif (this.depenciestatus == false && this.hidePagesViewSection === false) {\r\n\t\t\tdepencieChanges.classList.add(' depencie-AdjustW');\r\n\t\t\tdepencieChanges.classList.remove(' depencie-W');\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t//Truncated filename\r\n\tshowReviewItem(file: any) {\r\n\t\tlet charactersToDisplay: any = 16;\r\n\t\tif (file) {\r\n\t\t\tlet fileName: any = file.split('.');\r\n\t\t\tlet fileNameWithoutExtension: any = fileName[0];\r\n\t\t\tlet fileExtension: any = fileName[1];\r\n\t\t\tlet truncatedFileName: any = fileNameWithoutExtension.length >= 16 ? fileNameWithoutExtension.substring(0, charactersToDisplay) + '...' + fileExtension : file;\r\n\t\t\treturn truncatedFileName;\r\n\t\t}\r\n\t\treturn;\r\n\t}\r\n\r\n\tcheckSpnTextFormattingValues(spnCtrlEle: any, id: any) {\r\n\t\tthis.isAlignleft = false;\r\n\t\tthis.isAlignmiddle = false;\r\n\t\tthis.isAlignright = false;\r\n\t\tthis.isItalic = false;\r\n\t\tthis.isUnderlined = false;\r\n\t\tthis.isBold = false;\r\n\r\n\t\tif (spnCtrlEle.style.fontStyle != 'normal') {\r\n\t\t\tthis.isItalic = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.textDecoration != 'none') {\r\n\t\t\tthis.isUnderlined = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.fontWeight == 600 || spnCtrlEle.style.fontWeight == 'bold') {\r\n\t\t\tthis.isBold = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.textAlign === 'left') {\r\n\t\t\tthis.isAlignleft = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.textAlign === 'center') {\r\n\t\t\tthis.isAlignmiddle = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.textAlign === 'right') {\r\n\t\t\tthis.isAlignright = true;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.color === '#000' || spnCtrlEle.style.color === 'rgb(0, 0, 0)') {\r\n\t\t\tthis.defaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.fontSize !== '') {\r\n\t\t\tlet newFontSize: any = spnCtrlEle.style.fontSize.split('px')[0];\r\n\t\t\tlet resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + id));\r\n\t\t\tif (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n\t\t\t\tlet fontSizePtOrPxSelect: any = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n\t\t\t\tif (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n\t\t\t\t\tnewFontSize = this.controlPropertyService.getTypographyConversionValue(newFontSize);\r\n\t\t\t\t\tthis.defaultTypographySize = \"pt\";\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.defaultTypographySize = \"px\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.defaultFontSize = newFontSize;\r\n\t\t}\r\n\t\tif (spnCtrlEle.style.fontFamily !== '') {\r\n\t\t\tconst fontFamilyWithQuotes = spnCtrlEle.style.fontFamily;\r\n\t\t\tconst fontFamilyWithoutQuotes = fontFamilyWithQuotes.replace(/\"/g, '');\r\n\t\t\tthis.defaultFontFamily = fontFamilyWithoutQuotes;\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tupdateCtrlDateFormat(ctrlId: any, type: any, textFormatting: any) {\r\n\t\tlet spnCtrlEle: any = document.getElementById('spn' + ctrlId);\r\n\t\tif (spnCtrlEle) {\r\n\t\t\t// Find the object with the desired date format\r\n\t\t\tconst desiredFormat = spnCtrlEle.innerText;\r\n\t\t\tlet dateFormatObject: any = this.dateformat.find((format: any) => format.viewValue.includes(desiredFormat));\r\n\r\n\t\t\t// Retrieve the value if the format is found\r\n\t\t\tif (type === 0 && textFormatting != '') {\r\n\t\t\t\t//console.log('textFormatting', textFormatting.dateFormat);\r\n\t\t\t\tif (textFormatting.dateFormat === '' && this.envelope && this.envelope.envelopeDetails) {\r\n\t\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n\t\t\t\t\tspnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdateFormatObject = this.dateformat.find((format: any) => format.viewValue.includes(textFormatting.dateFormat));\r\n\t\t\t\t\tthis.selectDefaultDateFormat = dateFormatObject.value;\r\n\t\t\t\t\tspnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(dateFormatObject.value);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif (this.envelope && this.envelope.envelopeDetails) {\r\n\t\t\t\t\tthis.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n\t\t\t\t\tspnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tupdateCopyAndPasteControls() {\r\n\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length) {\r\n\t\t\tthis.arrCopyPasteCtrlsTemp.forEach((ele: any, index: any) => {\r\n\t\t\t\tlet redoItem: any = this.arrCopyPasteCtrlsTemp[index];\r\n\t\t\t\tif (redoItem && redoItem.Control) {\r\n\t\t\t\t\tthis.createControl(redoItem.Control, ControlConfig.Duplicate, 'false');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\t// localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t}\r\n\r\n\trestrictInputLengthToThree(e: any) {\r\n\t\tif (e && e.target && e.target.value && e.target.value.length > 3) {\r\n\t\t\treturn e.target.value = e.target.value.slice(0, 3); // Limit input to 3 characters\r\n\t\t}\r\n\t}\r\n\r\n\tgetLanguageTranslationValue(resourcekeyId: any) {\r\n\t\treturn this.commonService.getLabelTranslationVal(resourcekeyId);\r\n\t}\r\n\r\n\tresetPaginationCount() {\r\n\t\tthis.isPageLoadingFirstTime = true;\r\n\t\tlet paginationInput: any = document.getElementById('paginationInput');\r\n\t\tif (paginationInput) {\r\n\t\t\tpaginationInput.value = 1;\r\n\t\t\t// localStorage.setItem('currentPagination', '1');\r\n\t\t\tthis.sessionStorageService.setCurrentPagination('1');\r\n\t\t}\r\n\t}\r\n\r\n\tupdateLengthOrMaxCharLimitLabel() {\r\n\t\t// let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tif (currentSelectedControl) {\r\n\t\t\tlet controlEle: any = (document.getElementById(currentSelectedControl));\r\n\t\t\tlet resizableCtrlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n\t\t\tif (controlEle) {\r\n\t\t\t\tlet ctrlName: any = controlEle.getAttribute('data-controlname');\r\n\t\t\t\tif (ctrlName && ctrlName.toLowerCase() === 'name' || ctrlName.toLowerCase() === 'title' || ctrlName.toLowerCase() === 'text') {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tif (this.hideFixedwidthCheckbox == false || this.hideFixedwidthCheckbox == 'false') {\r\n\t\t\t\t\t\t\tthis.lengthOrMaxCharLimitLabel = 'Max Character Limit';\r\n\t\t\t\t\t\t\tif (resizableCtrlEle) {\r\n\t\t\t\t\t\t\t\tlet isFixedWidth: any = resizableCtrlEle.getAttribute('data-isfixedwidth');\r\n\t\t\t\t\t\t\t\tif (isFixedWidth) {\r\n\t\t\t\t\t\t\t\t\tthis.isFixedWidthChecked = (isFixedWidth === true || isFixedWidth === 'true') ? true : false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tthis.isFixedWidthChecked = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// else { //old signer's UI\r\n\t\t\t\t\t\t// \tthis.validateCharLimit();\r\n\t\t\t\t\t\t// }\r\n\r\n\t\t\t\t\t\t// if (resizableCtrlEle) {\r\n\t\t\t\t\t\t// \tthis.controlPropertyService.setTextAttributes(resizableCtrlEle);\r\n\t\t\t\t\t\t// }\r\n\r\n\t\t\t\t\t\t// let addTextTextareaEle: any = document.getElementById('addTextTextarea');\r\n\t\t\t\t\t\t// if (addTextTextareaEle) {\r\n\t\t\t\t\t\t// \taddTextTextareaEle.value = '';\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t}, 200);\r\n\r\n\t\t\t\t\tif (resizableCtrlEle) {\r\n\t\t\t\t\t\tlet maxCharLimitVal: any = resizableCtrlEle.getAttribute('maxcharallowed');\r\n\t\t\t\t\t\tif (maxCharLimitVal == null) {\r\n\t\t\t\t\t\t\tmaxCharLimitVal = resizableCtrlEle.getAttribute('data-maxcharlimit');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlet nameCharInputLimit: any = '';\r\n\r\n\t\t\t\t\t\tif (ctrlName && ctrlName.toLowerCase() === 'name') {\r\n\t\t\t\t\t\t\tnameCharInputLimit = 'nameCharInputLimit';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (ctrlName && ctrlName.toLowerCase() === 'title') {\r\n\t\t\t\t\t\t\tnameCharInputLimit = 'titleCharInputLimit';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (ctrlName && ctrlName.toLowerCase() === 'text') {\r\n\r\n\t\t\t\t\t\t\tnameCharInputLimit = 'textCharInputLimit';\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (nameCharInputLimit) {\r\n\t\t\t\t\t\t\tlet charInputLimit: any = document.getElementById(nameCharInputLimit);\r\n\t\t\t\t\t\t\tif (charInputLimit && maxCharLimitVal && maxCharLimitVal != \"null\") {\r\n\t\t\t\t\t\t\t\tcharInputLimit.value = maxCharLimitVal;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse charInputLimit.value = \"\";\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse if (ctrlName && ctrlName.toLowerCase() === 'hyperlink') {\r\n\t\t\t\t\tlet dataHperlink: any = controlEle.getAttribute('data-hyperlink');\r\n\t\t\t\t\tlet inputHyperlinkText: any = document.getElementById('inputHyperlinkText');\r\n\t\t\t\t\tlet spnControlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\t\t\t\tlet inputHyperLinkURL: any = document.getElementById('inputHyperLinkURL');\r\n\t\t\t\t\tif (spnControlEle) {\r\n\t\t\t\t\t\tif (spnControlEle.getAttribute('isupdated') === 'true' || (spnControlEle.innerHTML != \"\" && spnControlEle.innerHTML != null)) {\r\n\t\t\t\t\t\t\tif (/^(http|https|ftp):\\/\\/[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/i.test(spnControlEle.innerHTML)) {\r\n\t\t\t\t\t\t\t\tif (inputHyperlinkText) inputHyperlinkText.value = spnControlEle.innerHTML;\r\n\t\t\t\t\t\t\t\tspnControlEle.setAttribute('isupdated', \"true\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tif (inputHyperlinkText) inputHyperlinkText.value = \"\";\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tif (inputHyperlinkText) inputHyperlinkText.value = '';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (inputHyperLinkURL && dataHperlink) {\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tinputHyperLinkURL.value = dataHperlink && dataHperlink != \"null\" ? dataHperlink : '';\r\n\t\t\t\t\t\t\t}, 200);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tresetChangesForIntegration(id: any) {\r\n\t\tthis.userSelectedEntity = true;\r\n\t\tthis.controlPropertyService.resetTextAreaInputs();\r\n\t\tlet resetExternalTextoptions: any = document.getElementById('externalTextoptions');\r\n\t\tif (resetExternalTextoptions) {\r\n\t\t\tresetExternalTextoptions.value = 'Select';\r\n\t\t}\r\n\t\tthis.controlPropertyService.resetTextToTextArea(id);\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + id);\r\n\t\tif (ctrlEle) {\r\n\t\t\tctrlEle.setAttribute('data-EntityField', '');\r\n\t\t\tctrlEle.setAttribute('data-EntityFieldValue', '');\r\n\t\t\tctrlEle.setAttribute('data-asteriskOriginalText', '');\r\n\t\t}\r\n\t}\r\n\r\n\t//Selecting controls using mouse selection\r\n\tcontrolSelection() {\r\n\t\tif ($(\"#ctrlSelectable\")) {\r\n\t\t\tlet selectableElement: any = $(\"#ctrlSelectable\").selectable();\r\n\t\t\tlet selectedIds: any = [];\r\n\t\t\tif (this.isEnvelopeEditable) {\r\n\t\t\t\tselectableElement.selectable({\r\n\t\t\t\t\tdelay: 50,\r\n\t\t\t\t\tselecting: (event: any, ui: any) => {\r\n\t\t\t\t\t\tthis.removeSelectedBorderDiv();\r\n\t\t\t\t\t\t// $('.ui-selectable-helper').css('border', '2px dashed #3ab16d');\r\n\t\t\t\t\t\t// $('.ui-selectable-helper').css('background-color', 'rgba(58, 177, 109, 0.1)');\r\n\t\t\t\t\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t\t\t\t\t$('.ui-selectable-helper').css('border', '2px Solid #d21513');\r\n\t\t\t\t\t\tselectedIds = [];\r\n\t\t\t\t\t\tthis.selectedItems = [];\r\n\t\t\t\t\t\tthis.commonService.selectedItems = [];\r\n\t\t\t\t\t},\r\n\t\t\t\t\tselected: (event: any, ui: any) => {\r\n\t\t\t\t\t\t$(ui.selected).each((index: number, element: any) => {\r\n\t\t\t\t\t\t\tconst id = $(element).attr('id');\r\n\t\t\t\t\t\t\tif ($('.ui-selectable-helper') && $('.ui-selectable-helper')[0] && $('.ui-selectable-helper')[0].style.display !== 'none') {\r\n\t\t\t\t\t\t\t\tif (id && id.startsWith('resizable_')) {\r\n\t\t\t\t\t\t\t\t\tselectedIds.push(id);\r\n\t\t\t\t\t\t\t\t\tthis.selectedItems.push(id);\r\n\t\t\t\t\t\t\t\t\tthis.removeSelectedBorderDiv();\r\n\t\t\t\t\t\t\t\t\tthis.ctrlAndClickedControlsArr.push(id);\r\n\t\t\t\t\t\t\t\t\tlet resizableEle: any = document.getElementById(id);\r\n\t\t\t\t\t\t\t\t\tif (resizableEle) {\r\n\t\t\t\t\t\t\t\t\t\tresizableEle.style.background = 'bisque';\r\n\t\t\t\t\t\t\t\t\t\t//resizableEle.style.borderColor = 'rgb(128, 0, 128);';\r\n\r\n\t\t\t\t\t\t\t\t\t\tlet attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n\t\t\t\t\t\t\t\t\t\tlet spnSelectEle: any = document.getElementById('spn' + id.replace('resizable_', ''));\r\n\t\t\t\t\t\t\t\t\t\tif (spnSelectEle) {\r\n\t\t\t\t\t\t\t\t\t\t\tif (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tspnSelectEle.classList.add('mouse-selected');\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tspnSelectEle.style.background = '';\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t//console.log('selectedIds', selectedIds);\r\n\t\t\t\t\t\t\tlet length: any = this.selectedItems.length;\r\n\t\t\t\t\t\t\t//localStorage.setItem('selecteditemsLength', length);\r\n\t\t\t\t\t\t\tthis.sessionStorageService.setSelecteditemsLength(length);\r\n\t\t\t\t\t\t\tthis.commonService.setSelectedItems(this.selectedItems);\r\n\t\t\t\t\t\t\tif (selectedIds && selectedIds.length === 0) {\r\n\t\t\t\t\t\t\t\tselectableElement.children().removeClass('ui-selected');\r\n\t\t\t\t\t\t\t\tthis.onClickOutsideSelectionArea();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t},\r\n\t\t\t\t\tstop: () => {\r\n\t\t\t\t\t\t// Show helper after selection is done\r\n\t\t\t\t\t\t$('.ui-selectable-helper').css('display', 'block');\r\n\t\t\t\t\t\tif (this.selectedItems && this.selectedItems.length && this.selectedItems.length > 0) {\r\n\t\t\t\t\t\t\tlet ele: any = document.getElementById(this.selectedItems[0]);\r\n\t\t\t\t\t\t\tlet pageNumber: any = 1;\r\n\t\t\t\t\t\t\tif (ele) {\r\n\t\t\t\t\t\t\t\tpageNumber = parseInt(ele.getAttribute('pageno'));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.appendDivToImage(pageNumber);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//user click on control outside area\r\n\tonClickOutsideSelectionArea() {\r\n\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t}\r\n\t\telse if (this.ctrlAndClickedControlsArr && this.ctrlAndClickedControlsArr.length) {\r\n\t\t\tthis.controlPropertyService.removePreviousControlSelection(this.ctrlAndClickedControlsArr);\r\n\t\t}\r\n\t\tthis.removeSelectedBorderDiv();\r\n\r\n\t\tthis.ctrlAndClickedControlsArr = [];\r\n\t\tthis.isClose = true;\r\n\t\tthis.activeCtrlId = 0;\r\n\t\tthis.controlPropertyService.removeControlActiveClass(\"\");\r\n\t\tthis.hidePagesViewSection = false;\r\n\t\tthis.hideControlViewSection = this.isClose;\r\n\t\tthis.selectedItems = [];\r\n\t\tthis.commonService.selectedItems = [];\r\n\t\tthis.sessionStorageService.setSelecteditemsLength('0');\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.enableFieldAlignment();\r\n\t\t\tthis.updateExtendDocumentWidth();\r\n\t\t}, 100);\r\n\t};\r\n\r\n\t//After editing integration controls, updating respective fields values\r\n\tupdateIntegrationFields(dataEntity: any, dataEntityField: any) {\r\n\t\tlet resetEntityFields: any = document.getElementById('entityFields');\r\n\t\tlet resetExternalTextoptions: any = document.getElementById('externalTextoptions');\r\n\t\tif (resetExternalTextoptions) {\r\n\t\t\tresetExternalTextoptions.value = dataEntity;\r\n\t\t\tif (resetExternalTextoptions.value !== 'Select' || resetExternalTextoptions.value !== '') {\r\n\t\t\t\tthis.userSelectedEntity = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (resetEntityFields) {\r\n\t\t\tresetEntityFields.value = this.controlPropertyService.getValueByKey(dataEntityField, this.externalEntityFieldList);\r\n\t\t}\r\n\t}\r\n\r\n\tonCopyFun() {\r\n\t\tthis.updateUndoCtrlsCount();\r\n\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\t// localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.commonService.setSelectedItems(this.selectedItems);\r\n\t\tthis.sessionStorageService.setSelecteditemsLength(this.selectedItems.length);\r\n\t\tthis.isCopiedSelecteditems = true;\r\n\t\t// localStorage.setItem('isCopiedSelecteditems', 'true');\r\n\t\tthis.sessionStorageService.setIsCopiedSelecteditems('true');\r\n\t\tlet pasteBtnDisabled: any = document.getElementById('Paste_Btn');\r\n\t\tif (pasteBtnDisabled) {\r\n\t\t\tpasteBtnDisabled.classList.remove('disabled3');\r\n\t\t}\r\n\t\tthis.isCtrlAndControlMouseSelection = true;\r\n\t}\r\n\r\n\tonPasteFun(data: any) {\r\n\t\tif (this.isCopiedSelecteditems === true) {\r\n\t\t\t// let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n\t\t\tlet arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n\t\t\tthis.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n\t\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n\t\t\t\tthis.updateCopyAndPasteControls();\r\n\t\t\t} else {\r\n\t\t\t\tthis.createDupicateControl(data);\r\n\t\t\t}\r\n\t\t\tthis.isCtrlAndControlMouseSelection = true;\r\n\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tonRedoFun(data: any) {\r\n\t\t// let arrUndoCtrlsCount: any = localStorage.getItem('arrUndoCtrlsCount');\r\n\t\tlet arrUndoCtrlsCount: any = this.sessionStorageService.getArrUndoCtrlsCount();\r\n\t\tthis.arrUndoCtrlsCount = JSON.parse(arrUndoCtrlsCount);\r\n\t\t// let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n\t\tif (this.arrUndoCtrlsCount && this.arrUndoCtrlsCount.length > 0) {\r\n\t\t\tthis.arrUndoCtrlsCount.pop();\r\n\t\t\tlet arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n\t\t\tthis.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n\t\t\t// localStorage.setItem('arrUndoCtrlsCount', JSON.stringify(this.arrUndoCtrlsCount));\r\n\t\t\tthis.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n\t\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n\t\t\t\tthis.updateCopyAndPasteControls();\r\n\t\t\t} else {\r\n\t\t\t\tthis.createDupicateControl(data);\r\n\t\t\t}\r\n\t\t\tthis.disableRedoButtons();\r\n\t\t\tthis.disableUndoButtons();\r\n\t\t}\r\n\t}\r\n\r\n\tresetCopyPasteUndoRedoList() {\r\n\t\tthis.sessionStorageService.setSelecteditemsLength('0');\r\n\t\tthis.arrCopyPasteCtrlsTemp = [];\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.arrUndoRedoCtrl = [];\r\n\t\tthis.arrCopyPasteCtrl = [];\r\n\t\tthis.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\tthis.selectedItems = [];\r\n\t\tthis.commonService.selectedItems = [];\r\n\t}\r\n\r\n\tapplyPrefillLabelTextProp(type: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tthis.controlPropertyService.applyPrefillLabelTextProp(currentSelectedControl, type);\r\n\t}\r\n\r\n\tshowDependenciesFields(type: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n\t\tlet depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tif (ctrlEle) {\r\n\t\t\tlet controlGuid = ctrlEle.getAttribute('data-guid');\r\n\t\t\tif (controlGuid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n\t\t\t\tlet currentDrpCtrl: any = (document.getElementById(\"spn\" + currentSelectedControl)) as HTMLSelectElement;\r\n\t\t\t\tif (currentDrpCtrl && currentDrpCtrl.options && currentDrpCtrl.options.length == 0) {\r\n\t\t\t\t\tthis.toastrService.warning(\"Please add options for the selected dropdown control.\", 'Warning'); return;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (controlGuid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n\t\t\t\tlet controlGrpName: any = ctrlEle.getAttribute('data-groupname');\r\n\t\t\t\tif (controlGrpName == undefined || controlGrpName == \"\" || controlGrpName == null || controlGrpName == \"null\") {\r\n\t\t\t\t\tthis.toastrService.warning(\"Please add group name for selected radio control.\", 'Warning'); return;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.dependencyIconClickedObj = {\r\n\t\t\ttype: type == '1' ? '1' : '',\r\n\t\t\tgroupColorCode: this.groupColorCode,\r\n\t\t\tcurrentControlId: this.currentControlId,\r\n\t\t\tisControlingField: this.isControlingField(this.currentControlId)\r\n\t\t}\r\n\t\tthis.commonService.callDependencyPopupFields(this.dependencyIconClickedObj);\r\n\t\tthis.hideDependencies = !this.hideDependencies;\r\n\t\t// if(depencieContainerResponsive){\r\n\t\t// \tdepencieContainerResponsive.classList.add('depencie-W');\r\n\t\t// }\r\n\t\tif (this.isClose === false && this.hideDependencies == false) {\r\n\t\t\t// depencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n\t\t\tdepencieContainerResponsive.classList.add('depencie-W');\r\n\t\t\tthis.onPreviewPagesView();\r\n\t\t}\r\n\r\n\t\tif (this.hidePagesViewSection == true || this.hideControlViewSection == true) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tlet divItem: any = document.getElementById(\"div\" + this.currentControlId);\r\n\t\t\t\tif (divItem) {\r\n\t\t\t\t\tdivItem.style[\"border-color\"] = \"transparent transparent transparent bisque\";\r\n\t\t\t\t}\r\n\t\t\t\tthis.hidePagesViewSection = true;\r\n\t\t\t\tthis.isClose = true;\r\n\t\t\t\tthis.hideControlViewSection = this.isClose;\r\n\t\t\t\taddmiddleClass.classList.remove('col-lg-8');\r\n\t\t\t\taddmiddleClass.classList.add('col-lg-10');\r\n\t\t\t\tdepencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n\t\t\t\tdepencieContainerResponsive.classList.add('depencie-W');\r\n\t\t\t}, 100);\r\n\t\t}\r\n\r\n\t\tthis.accordaionExapand();\r\n\t\t// this.onPreviewPagesView();\r\n\t}\r\n\r\n\tcloseDependecie($event: any) {\r\n\t\tthis.dependecieClose = $event;\r\n\t\tlet addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n\t\tif (this.dependecieClose == false || this.hidePagesViewSection == false) {\r\n\t\t\tthis.hideDependencies = !this.hideDependencies;\r\n\t\t\tthis.hidePagesViewSection = false;\r\n\t\t\tif (this.hidePagesViewSection == false || this.hideControlViewSection == true) {\r\n\t\t\t\taddmiddleClass.classList.remove('col-lg-10');\r\n\t\t\t\taddmiddleClass.classList.add('col-lg-8');\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.accordaionExapand();\r\n\t}\r\n\r\n\ttoggleAllAccordions() {\r\n\t\tthis.controlPropertyService.toggleAllAccordions();\r\n\t}\r\n\taccordaionExapand() {\r\n\t\tthis.controlPropertyService.accordaionExapand();\r\n\t}\r\n\r\n\tupdatedSaveAsDefaultSavedData(defaultControlProperty: any, envelopeCultureInfo: any) {\r\n\t\tthis.defaultControlStyleService.updatedSaveAsDefaultSavedData(defaultControlProperty, envelopeCultureInfo);\r\n\t}\r\n\r\n\tsaveAsDefaultSaveSettings(ctrlsObj: any) {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet userDetails: any = this.authService.getUserDetails();\r\n\t\t\tlet SettingsPrepareModal: any = this.defaultControlStyleService.saveAsDefaultSaveSettings(userDetails, ctrlsObj);\r\n\t\t\tthis.apiService.saveSettings(SettingsPrepareModal).subscribe((data: any) => {\r\n\t\t\t\t//console.log(\"dsf\");\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tupdateUndoCtrlsCount() {\r\n\t\tthis.arrUndoCtrlsCount = [];\r\n\t\tthis.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n\t}\r\n\r\n\tdisableUndoButtons() {\r\n\t\treturn this.controlPropertyService.disableUndoButtons(this.isEnvelopeEditable);\r\n\t}\r\n\r\n\tdisableRedoButtons() {\r\n\t\treturn this.controlPropertyService.disableRedoButtons(this.isEnvelopeEditable);\r\n\t}\r\n\r\n\tgetBrandingDetails() {\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.hostListenerStatus = true;\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\t\tlet companyId: any = getUserDetails.companyID;\r\n\t\t\tthis.apiService.getBrandingDetails(companyId).subscribe((resp: any) => {\r\n\t\t\t\tif (resp) {\r\n\t\t\t\t\tlet brandingTemparray: any[] = [];\r\n\t\t\t\t\tif (this.envelope.envelopeDetails.branding == null) {\r\n\t\t\t\t\t\tthis.slides = resp;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tlet brandingDetails: any = JSON.parse(this.envelope.envelopeDetails.branding);\r\n\t\t\t\t\t\tif (brandingDetails[0].isDefault === false) {\r\n\t\t\t\t\t\t\tbrandingDetails[0].isDefault = true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (brandingDetails[0].IsDefault === false) {\r\n\t\t\t\t\t\t\tbrandingDetails[0].IsDefault = true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tbrandingTemparray.push(brandingDetails[0]);\r\n\t\t\t\t\t\tresp.forEach((ele: any) => {\r\n\t\t\t\t\t\t\tif (ele.id != (brandingDetails[0].id || brandingDetails[0].ID)) {\r\n\t\t\t\t\t\t\t\tele.isDefault = false;\r\n\t\t\t\t\t\t\t\tbrandingTemparray.push(ele);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.slides = brandingTemparray;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tthis.slides.map((item: any) => {\r\n\t\t\t\t\t\tif (item.isDefault || item.IsDefault) {\r\n\t\t\t\t\t\t\tthis.branding = `[${JSON.stringify(item)}]`;\r\n\t\t\t\t\t\t\tthis.defaultBranding = `[${JSON.stringify(item)}]`;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tupdateTempTotalCountPerPage() {\r\n\t\tthis.tempTotalCountPerPage = [];\r\n\t\tfor (let i = 0; i < this.imagesArr.length; i++) {\r\n\t\t\tthis.tempTotalCountPerPage.push({ id: i, controlsCount: this.imagesArr[i].controlsCount, documentId: this.imagesArr[i].documentId });\r\n\t\t}\r\n\t}\r\n\r\n\taddInitialCtrlOnEachPage(ctrlObj: any, data: any) {\r\n\t\t//console.log('ctrlObj', ctrlObj);\r\n\t\tthis.copyPastedcontrolsArr = [];\r\n\t\tlet left: any = ctrlObj.left;\r\n\t\tlet top: any = ctrlObj.top;\r\n\t\tlet currentPageNo: any = ctrlObj.pageNo;\r\n\t\tlet ctrlEle: any = document.getElementById(ctrlObj.pageNo);\r\n\t\tif (ctrlEle && ctrlEle.getAttribute('img-document-id')) {\r\n\t\t\tlet currentCtrlEle: any = document.getElementById('resizable_' + ctrlObj.id);\r\n\t\t\tif (currentCtrlEle) {\r\n\t\t\t\tlet positions: any = this.controlPropertyService.getElePositions(currentCtrlEle);\r\n\t\t\t\tleft = parseFloat(positions.Left);\r\n\t\t\t\ttop = parseFloat(positions.Top);\r\n\t\t\t}\r\n\t\t\tlet documentImages: any = document.querySelectorAll('.img-control');\r\n\t\t\tlet length: any = data.secondInputval;\r\n\t\t\tlet currentCtrlPageNum: any = parseInt(currentCtrlEle.getAttribute('pageno'));\r\n\t\t\tlet currentCtrlPageEle: any = document.getElementById(currentCtrlPageNum);\r\n\t\t\tlet currentCtrlPageWidth: any = currentCtrlPageEle.width;\r\n\r\n\t\t\t//let currentCtrlPageHeight:any = currentCtrlPageEle.height;\r\n\t\t\tArray.from(documentImages).forEach((ele: any, index: any) => {\r\n\t\t\t\tif (data.selectedOption === 'Place From Here') {\r\n\t\t\t\t\t// index = parseInt(currentPageNo);\r\n\t\t\t\t\tindex = data.firstInputval;\r\n\t\t\t\t}\r\n\t\t\t\tif (ele) {\r\n\t\t\t\t\tlet imgEle: any = document.getElementById(ele.id.split('_')[1]);\r\n\t\t\t\t\tctrlObj.pageNo = parseInt(ele.id.split('_')[1]);\r\n\t\t\t\t\tlet currentCtrlHeight: any = (top + currentCtrlEle.offsetHeight);\r\n\t\t\t\t\tlet currentCtrlWidth: any = (left + currentCtrlEle.offsetWidth);\r\n\r\n\t\t\t\t\t// imgEle.getAttribute('img-document-id') === ctrlEle.getAttribute('img-document-id') &&\r\n\t\t\t\t\tif (ctrlObj.pageNo >= index && imgEle && parseInt(currentPageNo) != ctrlObj.pageNo && ctrlObj.pageNo <= length &&\r\n\t\t\t\t\t\tcurrentCtrlHeight < imgEle.height && currentCtrlWidth < imgEle.width && currentCtrlPageWidth === imgEle.width) {\r\n\t\t\t\t\t\tthis.createControl(ctrlObj, ControlConfig.Duplicate, 'true');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tctrlObj.pageNo = currentPageNo;\r\n\r\n\t\tlet chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n\t\tif (chInitRequiredContainer) {\r\n\t\t\tchInitRequiredContainer.classList.add('place-on-initials-btn');\r\n\t\t}\r\n\t\tthis.onClickOutsideSelectionArea();\r\n\t}\r\n\r\n\tonInitRequired(e: any) {\r\n\t\tlet currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\t\tlet resizableEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tlet placeOnEachPageOfTheDocument: any = resizableEle.getAttribute('placeOnEachPageOfTheDocument');\r\n\t\tlet initialStateObj: any = {\r\n\t\t\tinitialsCtrl: currentSelectedControl,\r\n\t\t\ttotalImages: this.imagesArr.length\r\n\t\t}\r\n\t\tlet modalRef: any = this.modalService.show(InitialsCreationComponent, { initialState: { initialStateObj: initialStateObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\t\tmodalRef.content?.initialsChangesMade.subscribe((data: any) => {\r\n\t\t\tif (currentSelectedControl && placeOnEachPageOfTheDocument != 'true') {\r\n\t\t\t\tthis.showLoader = true;\r\n\t\t\t}\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tif (currentSelectedControl && placeOnEachPageOfTheDocument != 'true') {\r\n\t\t\t\t\tlet currentCtrlELe: any = document.getElementById(currentSelectedControl);\r\n\t\t\t\t\tlet currentCtrlEleResizable: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\t\t\t\tlet spnCtrlEleResizable: any = document.getElementById('spn' + currentSelectedControl);\r\n\t\t\t\t\tlet ctrlPositions = this.controlPropertyService.getElePositions(currentCtrlEleResizable);\r\n\t\t\t\t\tif (currentCtrlELe && currentCtrlEleResizable && spnCtrlEleResizable) {\r\n\t\t\t\t\t\tcurrentCtrlEleResizable.setAttribute('placeOnEachPageOfTheDocument', true);\r\n\t\t\t\t\t\tcurrentCtrlEleResizable.setAttribute('isCheckedInitEachPage', true);\r\n\t\t\t\t\t\tcurrentCtrlEleResizable.setAttribute('fromParentInitialCtrl', true);\r\n\t\t\t\t\t\tlet textFormatting: any = {\r\n\t\t\t\t\t\t\tcolor: spnCtrlEleResizable.style.color,\r\n\t\t\t\t\t\t\tfontID: spnCtrlEleResizable.getAttribute('font-family-id'),\r\n\t\t\t\t\t\t\tfontFamily: spnCtrlEleResizable.style.fontFamily,\r\n\t\t\t\t\t\t\tfontSize: spnCtrlEleResizable.style.fontSize,\r\n\t\t\t\t\t\t\tfontWeight: spnCtrlEleResizable.fontWeight,\r\n\t\t\t\t\t\t\ttextDecoration: spnCtrlEleResizable.fontWeight,\r\n\t\t\t\t\t\t\tfontStyle: spnCtrlEleResizable.fontWeight,\r\n\t\t\t\t\t\t\tlineHeight: spnCtrlEleResizable.style.fontSize,\r\n\t\t\t\t\t\t\ttextAlign: 'left'\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\tlet controlObj: any = {\r\n\t\t\t\t\t\t\tid: currentSelectedControl,\r\n\t\t\t\t\t\t\tcontrolName: currentCtrlELe.getAttribute('data-controlname'),\r\n\t\t\t\t\t\t\tpageNo: currentCtrlELe.getAttribute('data-pageno'),\r\n\t\t\t\t\t\t\tdataDocumentContentId: currentCtrlELe.getAttribute('data-document-content-id'),\r\n\t\t\t\t\t\t\tdataGuid: currentCtrlEleResizable.getAttribute('data-guid'),\r\n\t\t\t\t\t\t\trecipientId: currentCtrlEleResizable.getAttribute('data-rcptid'),\r\n\t\t\t\t\t\t\trecpColor: currentCtrlEleResizable.getAttribute('data-recp-color'),\r\n\t\t\t\t\t\t\ttop: ctrlPositions.Top,\r\n\t\t\t\t\t\t\tleft: ctrlPositions.Left,\r\n\t\t\t\t\t\t\theight: currentCtrlEleResizable.style.height,\r\n\t\t\t\t\t\t\twidth: currentCtrlEleResizable.style.width,\r\n\t\t\t\t\t\t\tisRequired: currentCtrlEleResizable.getAttribute('data-guid'),\r\n\t\t\t\t\t\t\ttextFormatting: textFormatting\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tthis.addInitialCtrlOnEachPage(controlObj, data);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\tif (data.selectedOption === 'Place On All Pages') {\r\n\t\t\t\t\t\tif (this.isPortrait == true && this.isLandscape == true) {\r\n\t\t\t\t\t\t\tthis.toastrService.info('Controls placed on all pages that have the same orientation.', 'Info');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse this.toastrService.info('Controls placed on all pages.', 'Info');\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (this.isPortrait == true && this.isLandscape == true) {\r\n\t\t\t\t\t\t\tthis.toastrService.info('Controls placed on selected page range ' + data.firstInputval + ' to ' + data.secondInputval + ' that have the same orientation.', 'Info');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse this.toastrService.info('Controls placed on selected page range ' + data.firstInputval + ' to ' + data.secondInputval + '.', 'Info');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse this.showLoader = false;\r\n\t\t\t}, 10);\r\n\t\t});\r\n\t}\r\n\r\n\t// Start redirecting user to RSign LogOn Page operation\r\n\tredirectRSignLogOnPage() {\r\n\t\tthis.hostListenerStatus = true;\r\n\t\tthis.showLoader = false;\r\n\t\tthis.toastrService.info(CommonConstants.SessionTimedOutMsg, 'Info');\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('EnvelopeID', '');\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('EmailId', '');\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('PageName', '');\r\n\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\tlet sourceUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\twindow.location.href = sourceUrl + NavigateUrlConfig.LogOn;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.router.navigate(['/global-error']);\r\n\t\t}\r\n\t}\r\n\t// End redirecting user to RSign LogOn Page operation\r\n\r\n\t// Start Handle control drop and undo operation\r\n\tperformUndoRedoAction(actionType: string, payload: any) {\r\n\t\tthis.undoRedoItems.push(payload);\r\n\t\t// Push the action onto the undo stack\r\n\t\tthis.undoRedoStackService.push({ type: actionType, payload });\r\n\t}\r\n\t// End Handle control drop and undo operation\r\n\r\n\t// Start Handle control delete operation\r\n\tdeleteItems(ids: any) {\r\n\t\tthis.deleteCtrlItemsFlag = true;\r\n\t\tthis.undoFlag = 'true';\r\n\t\tlet deletedItemsArr: any = [];\r\n\t\tfor (let i = 0; i < ids.length; i++) {\r\n\t\t\tlet delEle: any = document.getElementById(ids[i]);\r\n\t\t\tlet tobeDeletedCtrl: any = (document.getElementById(ids[i].replace('resizable_', '')));\r\n\t\t\tif (delEle) {\r\n\t\t\t\tlet ctrlContentId: any = tobeDeletedCtrl.getAttribute('data-document-content-id');\r\n\t\t\t\tdelEle.style.display = 'none';\r\n\r\n\t\t\t\t//Delete the control from local storage arrays\r\n\t\t\t\tthis.controlPropertyService.updateDependecyForDependentControls(ids[i].replace('resizable_', ''), ctrlContentId);\r\n\t\t\t}\r\n\t\t\tif (this.allControlsArr && this.allControlsArr.length > 0) {\r\n\t\t\t\tthis.allControlsArr.forEach((ele: any) => {\r\n\t\t\t\t\tif (ele.id === ids[i].replace('resizable_', '')) {\r\n\t\t\t\t\t\tdeletedItemsArr.push(ele);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Push the delete action to the undo stack\r\n\t\tthis.undoRedoStackService.push({\r\n\t\t\ttype: 'DELETE_ITEM',\r\n\t\t\tpayload: [{\r\n\t\t\t\tindex: this.undoRedoStackService['undoStack'].length,\r\n\t\t\t\titem: deletedItemsArr,\r\n\t\t\t}],\r\n\t\t});\r\n\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.showHideDependenciesButton();\r\n\t\t\tthis.updateExtendDocumentWidth();\r\n\t\t}, 10); //50\r\n\r\n\t\tthis.getControlsCount(event, '', '');\r\n\t}\r\n\t// End Handle control delete operation\r\n\r\n\t// Start Handle control undo operation\r\n\tundoCtrl(event: any) {\r\n\t\tlet action: any = this.undoRedoStackService.undo();\r\n\t\tthis.arrCopyPasteCtrl = [];\r\n\t\tthis.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\t\tif (action) {\r\n\t\t\tthis.redoFlag = 'true';\r\n\t\t\t// Revert state based on the action\r\n\t\t\tif (action && action.type === 'DELETE_ITEM' && action.payload && action.payload[0].item) {\r\n\t\t\t\tfor (let i = 0; i < action.payload[0].item.length; i++) {\r\n\t\t\t\t\tthis.undoRedoStackService.resetBgColorAndActiveClass(action.payload[0].item[i].id, this.isEnvelopeEditable, 'block');\r\n\t\t\t\t\tthis.undoRedoItems.splice(action.payload[0].index, 0, action.payload[0].item[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (action && action.type === 'ADD_ITEM') {\r\n\t\t\t\tif (action && action.payload && action.payload && action.payload.length) {\r\n\t\t\t\t\tfor (let i = 0; i < action.payload.length; i++) {\r\n\t\t\t\t\t\tthis.undoRedoStackService.resetBgColorAndActiveClass(action.payload[i].id, this.isEnvelopeEditable, 'none');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tthis.getControlsCount(event, '', '');\r\n\t\t}\r\n\t\tthis.undo({});\r\n\t}\r\n\t// End Handle control undo operation\r\n\r\n\t// Start Handle control redo operation\r\n\tredoCtrl(event: any) {\r\n\t\tlet action: any = this.undoRedoStackService.redo();\r\n\t\tif (action) {\r\n\t\t\t// Reapply state based on the action\r\n\t\t\tif (action && action.type === 'DELETE_ITEM' && action.payload && action.payload[0].item) {\r\n\t\t\t\tfor (let i = 0; i < action.payload[0].item.length; i++) {\r\n\t\t\t\t\tthis.undoRedoStackService.resetBgColorAndActiveClass(action.payload[0].item[i].id, this.isEnvelopeEditable, 'none');\r\n\t\t\t\t\tthis.undoRedoItems.splice(action.payload[0].index, 0, action.payload[0].item[i]);\r\n\t\t\t\t}\r\n\t\t\t\tconst index = action.payload[0].index;\r\n\t\t\t\tthis.undoRedoItems.splice(index, 1);\r\n\t\t\t}\r\n\r\n\t\t\tif (action && action.payload) {\r\n\t\t\t\tif (action && action.payload && action.payload && action.payload.length) {\r\n\t\t\t\t\tthis.undoRedoStackService.redoCtrlResetCtrlBgs(action, this.isEnvelopeEditable);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.redoFlag = 'false';\r\n\t\t}\r\n\t\tthis.getControlsCount(event, '', '');\r\n\t}\r\n\t// End Handle control redo operation\r\n\r\n\t// Start Handle control paste operation\r\n\tonPaste(): void {\r\n\t\tif (this.isCopiedSelecteditems === true) {\r\n\t\t\tlet arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n\t\t\tthis.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n\t\t\tthis.copyPastedcontrolsArr = [];\r\n\t\t\tif (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n\t\t\t\tthis.updateCopyAndPasteControls();\r\n\t\t\t} else {\r\n\t\t\t\tlet data: any = {};\r\n\t\t\t\tthis.createDupicateControl(data);\r\n\t\t\t}\r\n\t\t\tthis.isCtrlAndControlMouseSelection = true;\r\n\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\tthis.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t// End Handle control paste operation\r\n\r\n\t//Start If broken image is there then reload the image again\r\n\tupdateImageSrc(imgPath: any, id: any) {\r\n\t\tif (parseInt(id) <= parseInt(this.envelope.envelopeDetails.documentImageConversionMaxLimit)) {\r\n\t\t\tconsole.log(\"updateImageSrc ----> imgPath:\" + imgPath);\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tvar newImage = new Image();\r\n\t\t\t\tnewImage.src = imgPath;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tif (!newImage.complete) {\r\n\t\t\t\t\t\tconsole.log(\"updateImageSrc ----> Image not completed and path is:\" + newImage.src);\r\n\t\t\t\t\t\tif (newImage.src) {\r\n\t\t\t\t\t\t\tlet imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n\t\t\t\t\t\t\tif (imageId) {\r\n\t\t\t\t\t\t\t\tthis.updateImageSrc(newImage.src, imageId);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (newImage && newImage.complete && newImage.width > 0 && newImage.height > 30) { // actual height 21 but keeping 30\r\n\t\t\t\t\t\tlet imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n\t\t\t\t\t\tif (imageId) {\r\n\t\t\t\t\t\t\tlet imageObj: any = this.imagesArr[parseInt(imageId) - 1];\r\n\t\t\t\t\t\t\tif (imageObj && parseInt(imageObj.id) == parseInt(imageId)) {\r\n\t\t\t\t\t\t\t\tthis.imagesArr[parseInt(imageId) - 1] = {\r\n\t\t\t\t\t\t\t\t\tpath: imageObj.path, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: imageObj.documentId, width: imageObj.width, height: imageObj.height, isVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: imageObj.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: imageObj.docPageNo,\r\n\t\t\t\t\t\t\t\t\tdocument: { id: imageObj.document.id, name: imageObj.document.name }, controlsCount: 0\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\tlet imgControl: any = document.getElementById(\"imgControl_\" + imageObj.id);\r\n\t\t\t\t\t\t\t\tif (imgControl && imgControl != null) {\r\n\t\t\t\t\t\t\t\t\timgControl.style.display = '';\r\n\t\t\t\t\t\t\t\t\timgControl.style.display = 'block';\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tconsole.log(\"updateImageSrc ----> Image completed and path is:\" + imgPath);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tconsole.log(\"updateImageSrc ----> Image not loaded and path is:\" + imgPath);\r\n\t\t\t\t\t\tif (newImage.src) {\r\n\t\t\t\t\t\t\tlet imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n\t\t\t\t\t\t\tif (imageId) {\r\n\t\t\t\t\t\t\t\tthis.updateImageSrc(newImage.src, imageId);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 15);\r\n\t\t\t}, 30);\r\n\t\t}\r\n\t}\r\n\t//End If broken image is there then reload the image again\r\n\ttoggleHideTextWithAsterisks(isChecked: any): void {\r\n\t\tconst textInput: any = document.getElementById('addTextTextarea');\r\n\t\tthis.asteriskOriginalText = textInput.value.trim();\r\n\t\tif (isChecked) {\r\n\t\t\tconst trimmedText = textInput.value.trim(); // Trim extra spaces\r\n\t\t\tconst asterisks = '*'.repeat(trimmedText.length); // Replace text with asterisks\r\n\t\t\tthis.hiddenText = asterisks; // Store asterisks as the original value\r\n\t\t} else {\r\n\t\t\ttextInput.value = this.asteriskOriginalText; // Restore original text (not asterisks)\r\n\t\t}\r\n\t}\r\n\r\n\tshowHiddenTextATFocusIn(event: any): void {\r\n\t\tconst textInput: HTMLTextAreaElement = document.getElementById('addTextTextarea');\r\n\t\tconst textAreaVal: string = event.target.value.trim();\r\n\t\tconst checkbox: HTMLInputElement = document.getElementById('checkboxHideText');\r\n\t\tlet currentSelectedControl: any = this.currentControlId;\r\n\t\tlet ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n\t\tif (ctrlEle) {\r\n\t\t\tthis.asteriskOriginalText = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n\t\t\tlet addtextareaval: any = ctrlEle.getAttribute('data-addtextareaval');\r\n\t\t\tif (addtextareaval === null || addtextareaval === undefined || addtextareaval === '') {\r\n\t\t\t\tthis.asteriskOriginalText = addtextareaval;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Show original text only there's a value\r\n\t\tif (this.asteriskOriginalText != 'null') {\r\n\t\t\ttextInput.value = this.asteriskOriginalText;\r\n\t\t}\r\n\t}\r\n\r\n\tgetTopLeftWidthheight() {\r\n\t\tlet response: any = { 'left': 0, 'top': 0 };\r\n\t\tlet leftArr: any[] = [];\r\n\t\tlet topArr: any[] = [];\r\n\t\tlet leftWithWidth: any[] = [];\r\n\t\tlet topWithHeight: any[] = [];\r\n\t\tlet minLeft = Infinity;\r\n\t\tlet minTop = Infinity;\r\n\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\t\tlet eleCtrl: any = document.getElementById(ele);\r\n\t\t\t\tif (eleCtrl) {\r\n\t\t\t\t\tlet leftValue: any = parseInt(eleCtrl.style.left.split('px')[0]);\r\n\t\t\t\t\tlet topValue: any = parseInt(eleCtrl.style.top.split('px')[0]);\r\n\t\t\t\t\tleftArr.push(leftValue);\r\n\t\t\t\t\ttopArr.push(topValue);\r\n\t\t\t\t\tleftWithWidth.push(leftValue + parseInt(eleCtrl.style.width.split('px')[0]));\r\n\t\t\t\t\ttopWithHeight.push(topValue + parseInt(eleCtrl.style.height.split('px')[0]));\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tminLeft = Math.min(...leftArr);\r\n\t\tminTop = Math.min(...topArr);\r\n\r\n\t\tresponse = {\r\n\t\t\t'minLeft': minLeft,\r\n\t\t\t'leftWithWidth': Math.max(...leftWithWidth) - minLeft,\r\n\t\t\t'minTop': minTop,\r\n\t\t\t'topWithHeight': Math.max(...topWithHeight) - minTop\r\n\t\t};\r\n\t\treturn response;\r\n\t}\r\n\r\n\tappendDivToImage(imageId: any) {\r\n\t\tlet positions: any = this.getTopLeftWidthheight();\r\n\t\tthis.groupDynamicComponentRefs?.destroy();\r\n\t\tif (imageId) {\r\n\t\t\tlet selectedItemsList: any = this.selectedItems;\r\n\t\t\tlocalStorage.setItem('selectedList', JSON.stringify(selectedItemsList));\r\n\r\n\t\t\tconst componentFactory = this.componentFactoryResolver.resolveComponentFactory(GroupControlsBorderComponent);\r\n\t\t\tthis.groupDynamicComponentRefs = componentFactory.create(this.injector);\r\n\t\t\tlet imageCtrl: any = document.getElementById('imgControl_' + imageId);\r\n\t\t\tthis.appRef.attachView(this.groupDynamicComponentRefs.hostView);\r\n\t\t\tconst domElem = (this.groupDynamicComponentRefs.hostView as EmbeddedViewRef).rootNodes[0] as HTMLElement;\r\n\t\t\timageCtrl?.appendChild(domElem);\r\n\r\n\t\t\t// Create a new div element\r\n\t\t\tconst newDiv = this.renderer2.createElement('div');\r\n\t\t\tlet extraSapceWidthOrHeight: any = 10;\r\n\r\n\t\t\t// giving 5px is extra for both width and height\r\n\t\t\tlet width: any = positions.leftWithWidth + extraSapceWidthOrHeight + 1 + 'px';\r\n\t\t\tlet height: any = positions.topWithHeight + extraSapceWidthOrHeight + 1 + 'px';\r\n\r\n\t\t\t// Set styles for the new div (example styles)\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'position', 'absolute');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'top', (positions.minTop - 5) + 'px');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'left', (positions.minLeft - 6) + 'px');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'width', width);\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'height', height);\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'border', '1px solid #c3272e');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'outline', '1px solid #c3272e');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'color', '#fff');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'font-size', '16px');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'border-radius', '3px');\r\n\t\t\tthis.renderer2.setAttribute(newDiv, 'id', 'selectionBorderId');\r\n\t\t\tthis.renderer2.setStyle(newDiv, 'cursor', 'move');\r\n\r\n\t\t\t// Append the new div to the image element\r\n\t\t\tthis.renderer2.appendChild(imageCtrl, newDiv);\r\n\t\t\tthis.borderAppendedChild = newDiv;\r\n\r\n\t\t\tlet docWidth: any = imageCtrl.clientWidth;\r\n\t\t\tlet menuListWidth: any = 188;\r\n\r\n\t\t\t//After adding border, showing context menu start\r\n\t\t\tlet event = {\r\n\t\t\t\toffsetX: (positions.minLeft + positions.leftWithWidth + extraSapceWidthOrHeight),\r\n\t\t\t\toffsetY: positions.minTop\r\n\t\t\t} as MouseEvent;\r\n\r\n\t\t\tif ((positions.minLeft + positions.leftWithWidth + menuListWidth) > docWidth) {\r\n\t\t\t\tevent = {\r\n\t\t\t\t\toffsetX: (positions.minLeft - menuListWidth),\r\n\t\t\t\t\toffsetY: positions.minTop\r\n\t\t\t\t} as MouseEvent\r\n\t\t\t}\r\n\r\n\t\t\tif (event.offsetX < 0) {\r\n\t\t\t\tevent = {\r\n\t\t\t\t\toffsetX: (positions.minLeft + positions.leftWithWidth + extraSapceWidthOrHeight) - menuListWidth,\r\n\t\t\t\t\toffsetY: positions.minTop + positions.topWithHeight + extraSapceWidthOrHeight\r\n\t\t\t\t} as MouseEvent\r\n\t\t\t}\r\n\r\n\t\t\t// this.commonService.openContextMenuList(event, this.commonService.navRef);\r\n\t\t\t//After adding border, showing context menu end\r\n\r\n\t\t\tlet isMyclassPresent = document.getElementsByClassName('selectionBorderId');\r\n\t\t\tif (isMyclassPresent) {\r\n\t\t\t\tlet parentdiv = this.el.nativeElement.querySelector('#groupTarget')\r\n\t\t\t\tthis.renderer2.appendChild(this.el.nativeElement.querySelector('#selectionBorderId'), parentdiv);\r\n\t\t\t} else {\r\n\t\t\t\tconsole.log('Not found the class name');\r\n\t\t\t}\r\n\r\n\t\t\t$('#selectionBorderId').draggable({\r\n\t\t\t\tcontainment: \".imgDocumentId_\" + imageId,\r\n\t\t\t\tstart: (event: any, ui: any) => {\r\n\t\t\t\t\t// Track the initial positions of the selected items when dragging starts\r\n\t\t\t\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\t\t\t\tlet eleRef: any = document.getElementById(ele);\r\n\t\t\t\t\t\tif (eleRef) {\r\n\t\t\t\t\t\t\teleRef.dataset.initialLeft = eleRef.style.left;\r\n\t\t\t\t\t\t\teleRef.dataset.initialTop = eleRef.style.top;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\tdrag: (event: any, ui: any) => {\r\n\t\t\t\t\tif (this.selectedItems && this.selectedItems.length) {\r\n\t\t\t\t\t\t// Get the delta movement of the border box\r\n\t\t\t\t\t\tlet deltaX = ui.position.left - ui.originalPosition.left;\r\n\t\t\t\t\t\tlet deltaY = ui.position.top - ui.originalPosition.top;\r\n\r\n\t\t\t\t\t\tthis.selectedItems.forEach((ele: any) => {\r\n\t\t\t\t\t\t\tlet eleRef: any = document.getElementById(ele);\r\n\t\t\t\t\t\t\tif (eleRef) {\r\n\t\t\t\t\t\t\t\t// Get the initial position of each item\r\n\t\t\t\t\t\t\t\tlet initialLeft = parseFloat(eleRef.dataset.initialLeft || '0');\r\n\t\t\t\t\t\t\t\tlet initialTop = parseFloat(eleRef.dataset.initialTop || '0');\r\n\r\n\t\t\t\t\t\t\t\t// Update the position by adding the delta movement to the initial position\r\n\t\t\t\t\t\t\t\teleRef.style.left = (initialLeft + deltaX) + 'px';\r\n\t\t\t\t\t\t\t\teleRef.style.top = (initialTop + deltaY) + 'px';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.controlPropertyService.updateGropuDependenciesToolTips(imageId);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tremoveSelectedBorderDiv() {\r\n\t\tlet selectionBorderEle:any = document.getElementById('selectionBorderId');\r\n\t\tif(selectionBorderEle){\r\n\t\t\tselectionBorderEle.remove();\r\n\t\t}\r\n\t\tthis.controlPropertyService.removeContextMenuList();\r\n\t}\r\n}\r\n","
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuthService } from '../../services/auth.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { Router } from '@angular/router';\r\nimport { CommonConstants } from 'src/app/constants/common-constants';\r\nimport { TranslationService } from 'src/app/services/translation.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service'\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n\tselector: 'app-initialize-prepare',\r\n\ttemplateUrl: './initialize-prepare.component.html',\r\n\tstyleUrls: ['./initialize-prepare.component.scss']\r\n})\r\nexport class InitializePrepareComponent implements OnInit {\r\n\tpreparePageUrl: any;\r\n\turlToken: any;\r\n\tauthToken: any;\r\n\tshowLoader: boolean = false;\r\n\tresp: any;\r\n\r\n\tconstructor(private router: Router, private authService: AuthService,\r\n\t\tprivate toastrService: ToastrService, private apiService: APIService,\r\n\t\tprivate controlPropertyService: ControlPropertyService,\r\n\t\tprivate translationService: TranslationService,\r\n\t\tprivate sessionStorageService: SessionStorageService,\r\n\t\tprivate commonService: CommonService\r\n\t) { }\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.showLoader = true;\r\n\t\tthis.preparePageUrl = window.location.href;\r\n\t\tthis.urlToken = this.preparePageUrl.substring(this.preparePageUrl.indexOf(\"?\") + 1);\r\n\t\tthis.authToken = this.urlToken.substring(0, this.urlToken.length - 1);\r\n\t\tthis.sessionStorageService.setIntializePrepareDetails('PreparePageUrl', this.preparePageUrl);\r\n\t\tthis.validateToken(this.authToken);\r\n\t}\r\n\r\n\tvalidateToken(authToken: any) {\r\n\t\tthis.authService.validateToken(authToken).subscribe(\r\n\t\t\t(resp: any) => {\r\n\t\t\t\t//console.log('Token api response:', resp);\r\n\r\n\t\t\t\tif (resp && resp.statusCodeResult == 200) {\r\n\t\t\t\t\tlet authToken: any = resp.authToken;\r\n\t\t\t\t\tlet envelopeOrTemplateId: any = resp.envelopeId;\r\n\t\t\t\t\tlet prepareType: string = resp.prepareType;\r\n\t\t\t\t\tlet userID: any = '';\r\n\t\t\t\t\tlet userEmail: any = '';\r\n\t\t\t\t\tif (resp.userViewModel) {\r\n\t\t\t\t\t\tuserID = resp.userViewModel.userID;\r\n\t\t\t\t\t\tuserEmail = resp.userViewModel.emailID;\r\n\t\t\t\t\t\tthis.authService.setUserDetails(resp.userViewModel);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// if (resp.tokenViewModel) {\r\n\t\t\t\t\t// \tlocalStorage.setItem(\"RefreshTokenModel\", JSON.stringify(resp.tokenViewModel));\r\n\t\t\t\t\t// }\r\n\r\n\t\t\t\t\tthis.authService.setEnvelopeTokenDetails(authToken, prepareType, envelopeOrTemplateId);\r\n\t\t\t\t\tif (resp.translationDetails != null && resp.translationDetails.languageKeyTranslation != null) {\r\n\t\t\t\t\t\tthis.authService.setLanguageKeyTranslations(resp.translationDetails.languageKeyTranslation);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t//console.log(\"sourceUrlType: \" + resp.sourceUrlType);\r\n\t\t\t\t\tlet originalSource: any = \"2\";\r\n\t\t\t\t\tif (resp.sourceUrlType && resp.sourceUrlType != \"\" && resp.sourceUrlType != null && resp.sourceUrlType != \"null\" && resp.sourceUrlType != undefined && resp.sourceUrlType != \" \") originalSource = resp.sourceUrlType;\r\n\t\t\t\t\t//localStorage.setItem('SourceUrlType', originalSource);\r\n\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('SourceUrlType', originalSource);\r\n\t\t\t\t\t//localStorage.setItem('prepareType', prepareType);\r\n\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('PrepareType', prepareType);\r\n\t\t\t\t\t//call envelope details API\r\n\t\t\t\t\tif (this.controlPropertyService.checkNull(envelopeOrTemplateId, '') != '') {\r\n\t\t\t\t\t\tlet encryptedValue: any = this.commonService.encrypt(envelopeOrTemplateId + \"&od=\" + originalSource);\r\n\t\t\t\t\t\tif (prepareType.toLowerCase() === 'envelope') {\r\n\t\t\t\t\t\t\tthis.router.navigate(['/envelope-prepare'], { queryParams: { id: encryptedValue } },);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (prepareType.toLowerCase() === 'template') {\r\n\t\t\t\t\t\t\tthis.router.navigate(['/template-prepare'], { queryParams: { id: encryptedValue } });\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.showLoader = false;\r\n\t\t\t\t\t// if (resp.authMessage) this.toastrService.warning(resp.authMessage, 'Warning');\r\n\t\t\t\t\t// else this.toastrService.warning(CommonConstants.TokenValidatedMsg, 'Warning');\r\n\r\n\t\t\t\t\tthis.toastrService.warning(CommonConstants.SessionTimedOutMsg, 'Warning');\r\n\r\n\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('EnvelopeID', '');\r\n\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('EmailId', '');\r\n\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('PageName', 'validating token');\r\n\r\n\t\t\t\t\tif (resp.sourceUrlType && resp.sourceUrlType != \"\" && resp.sourceUrlType != null && resp.sourceUrlType != \"null\"\r\n\t\t\t\t\t\t&& resp.sourceUrlType != undefined && resp.sourceUrlType != \" \") {\r\n\t\t\t\t\t\tlet sourceUrl: any = this.commonService.generateDomainRediRectURL(resp.sourceUrlType);\r\n\t\t\t\t\t\twindow.location.href = sourceUrl + NavigateUrlConfig.LogOn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tthis.router.navigate(['/global-error']);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t}\r\n\r\n}\r\n\r\n\r\n\r\n","
\r\n\t\r\n
\r\n\r\n
\r\n\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\tfirst_page\r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\tchevron_left\r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t

    / {{6}}

    \r\n\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t navigate_next \r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\tlast_page\r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n \r\n\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\"Image\"\r\n\t\t\t\t\t\t\t\t\tsrc=\"{{item.path}}\"\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\r\n
\r\n
\r\n ","import { Component, OnInit, Output,HostListener } from '@angular/core';\r\nimport { CommonConstants } from '../../constants/common-constants';\r\nimport { Location } from '@angular/common';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { Subject, takeUntil } from 'rxjs';\r\n\r\n@Component({\r\n\tselector: 'app-view-pdf',\r\n\ttemplateUrl: './view-pdf.component.html',\r\n\tstyleUrls: ['./view-pdf.component.scss']\r\n})\r\nexport class ViewPdfComponent implements OnInit {\r\n\tcommonConstants = CommonConstants;\r\n\t@Output() receipentListArr: any = this.commonConstants.ReceipentListArr;\r\n\t@Output() receipentColorArr: any = this.commonConstants.ReceipentColorArr;\r\n\t@Output() recipientsObj: any = {};\r\n\r\n\r\n\tshowLoader: boolean = false;\r\n\tselectedRecipentId: string = '';\r\n\tselectedPanelRecipentId: string = '';\r\n\tselectedRecipentName: string = '';\r\n\tselectedRecipentColor: string = '';\r\n\tselectedPanelRecipentName: string = '';\r\n\tselectedPanelRecipentColor: string = '';\r\n\r\n\timagesArr: any[] = [];\r\n\tbodyClick: boolean = true;\r\n\tprivate ngUnsubscribe = new Subject();\r\n\r\n\tconstructor(private location: Location, private commonService: CommonService) { }\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.selectedRecipentName = this.receipentListArr[0].name;\r\n\t\tthis.selectedRecipentColor = this.receipentColorArr[0];\r\n\t\tthis.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n\t\tthis.selectedPanelRecipentColor = this.receipentColorArr[0];\r\n\t\tthis.selectedRecipentId = this.receipentListArr[0].id;\r\n\t\tthis.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n\t\tthis.recipientsObj = {\r\n\t\t\tselectedRecipentName: this.selectedRecipentName,\r\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\r\n\t\t}\r\n\t\tthis.imagesArr = [\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/1.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 1\r\n\t\t\t}\r\n\r\n\t\t\t, {\r\n\t\t\t\tpath: '../assets/images/2.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 2\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/3.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 3\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/4.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 4\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/5.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 5\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '../assets/images/6.jpg',\r\n\t\t\t\tisActive: false,\r\n\t\t\t\tid: 6\r\n\t\t\t}\r\n\t\t];\r\n\t\t// Getting recipent obj\r\n\t\tthis.commonService.callOnRecipentChange$\r\n\t\t\t.pipe(takeUntil(this.ngUnsubscribe))\r\n\t\t\t.subscribe((data: any) => {\r\n\t\t\t\tthis.onRecipentChange(data);\r\n\t\t\t});\r\n\t}\r\n\r\n\tgoBackToPrevPage(): void {\r\n\t\tthis.location.back();\r\n\t}\r\n\r\n\t@HostListener('window:load')\r\n\tonLoad() {\r\n\t\tlet element: any = (document.getElementById('body-view')) as HTMLSelectElement;\r\n\t\telement.classList.add(\"mystyle\");\r\n\t}\r\n\r\n\tonRecipentChange(recipentObj: any) {\r\n\t\tthis.selectedRecipentName = recipentObj.recipent.name;\r\n\t\tthis.selectedRecipentId = recipentObj.recipent.id;\r\n\t\tthis.selectedRecipentColor = recipentObj.selectedColor;\r\n\t\tthis.recipientsObj = {\r\n\t\t\tselectedRecipentName: this.selectedRecipentName,\r\n\t\t\tselectedRecipentColor: this.selectedRecipentColor\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.ngUnsubscribe.complete();\r\n\t}\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Oops! We are having trouble processing your\r\n request. Please try again.\r\n
\r\n\r\n
If the problem\r\n persists, please share the error\r\n code shown below with RSign Support
\r\n \r\n
\r\n

\r\n \r\n {{this.DateTimeMessage1}}\r\n {{this.DateTimeMessage2}}\r\n \r\n\r\n

\r\n
\r\n
\r\n In the meantime, you may want to check the following resources.\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
Features
\r\n Learn more\r\n
\r\n\r\n
\r\n
\r\n
Success stories
\r\n Learn more\r\n
\r\n\r\n
\r\n
\r\n
Webinars
\r\n Learn more\r\n
\r\n\r\n
\r\n
\r\n
Product videos
\r\n Learn\r\n more\r\n
\r\n\r\n
\r\n
\r\n
Apps
\r\n Let’s go\r\n
\r\n\r\n
\r\n
\r\n
Blogs
\r\n Read the Blogs\r\n
\r\n\r\n
\r\n
\r\n
News
\r\n Read the News\r\n
\r\n\r\n
\r\n
\r\n
Contact Us
\r\n Ask a question\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
","import { Component, HostListener, OnInit } from '@angular/core';\r\n// import { Router } from '@angular/router';\r\n// import { EnvelopeStatusText, MessageTypes, ResourceKeys } from 'src/app/constants/common-constants';\r\n// import { SignerLandingService } from '../../services/signer-landing.service';\r\n// import { CommonConstants } from '../../constants/common-constants';\r\nimport { DomSanitizer, Title } from '@angular/platform-browser';\r\n// import { TranslationsService } from '../../services/translations.service';\r\n// import { environment } from 'src/environments/environment';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { NavigationService } from 'src/app/services/navigation.service';\r\nimport { SessionStorageService } from '../../services/session-storage.service';\r\n@Component({\r\n\tselector: 'app-global-error',\r\n\ttemplateUrl: './global-error.component.html',\r\n\tstyleUrls: ['./global-error.component.scss']\r\n})\r\nexport class GlobalErrorComponent implements OnInit {\r\n\ttitle = 'RSign | Global Error';\r\n\r\n\tshowLoader: boolean = false;\r\n\tisApplicationErrorFlag: boolean = true;\r\n\thtmlFooterString: any;\r\n\tDateTimeMessage1: any;\r\n\tDateTimeMessage2: any;\r\n\r\n\tconstructor(private commonService: CommonService, private titleService: Title,\r\n\t\tprivate NavigationService: NavigationService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\r\n\t) { }\r\n\r\n\t@HostListener('window:popstate', ['$event'])\r\n\tonPopState() {\r\n\t\t//window.location.reload();\r\n\t\tthis.NavigationService.reloadPage();\r\n\t}\r\n\r\n\t@HostListener('window:load')\r\n\tonLoad() {\r\n\t\tlet element: any = (document.getElementById('body-view')) as HTMLSelectElement;\r\n\t\telement.classList.add(\"global-page\");\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.titleService.setTitle(this.title);\r\n\t\tthis.showLoader = true;\r\n\t\twindow.scrollTo({ top: 0, behavior: 'smooth' });\r\n\r\n\t\tthis.htmlFooterString = '

' +\r\n\t\t\t'General Terms & Legal Notices: Click to view service level terms, conditions, privacy, ' +\r\n\t\t\t' patent, trademark, and other service and legal notices. ' +\r\n\t\t\t'

';\r\n\r\n\t\t// let envelopeId:any = localStorage.getItem(\"EnvelopeID\");\r\n\t\t// let emailAddr:any = localStorage.getItem(\"EmailId\");\r\n\t\t//let pagename: any = localStorage.getItem(\"PageName\");\r\n\r\n\t\tlet intializePrepareDetails:any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tlet envelopeId:any = intializePrepareDetails.EnvelopeID;\r\n\t\tlet emailAddr:any = intializePrepareDetails.EmailId;\r\n\t\tlet pagename:any = intializePrepareDetails.PageName;\r\n\r\n\t\tlet date = new Date();\r\n\t\tlet currentMonth: string = (date.getUTCMonth() + 1).toString();\r\n\t\tlet currentDate: string = date.getUTCDate().toString();\r\n\t\tif (currentMonth.length == 1) currentMonth = \"0\" + currentMonth;\r\n\t\tif (currentDate.length == 1) currentDate = \"0\" + currentDate;\r\n\r\n\t\tthis.DateTimeMessage1 = currentMonth + currentDate + date.getUTCFullYear() + date.getUTCHours() + date.getUTCMinutes() + date.getUTCMilliseconds();\r\n\r\n\t\tif (envelopeId != null && envelopeId != \"null\" && envelopeId != \"\" && envelopeId != undefined) {\r\n\t\t\tthis.DateTimeMessage1 = this.DateTimeMessage1 + \"|\" + envelopeId;\r\n\t\t}\r\n\t\tthis.DateTimeMessage1 = this.DateTimeMessage1 + \"|\";\r\n\t\tif (emailAddr != null && emailAddr != \"null\" && emailAddr != \"\" && emailAddr != undefined\r\n\t\t\t&& pagename != null && pagename != \"\" && pagename != \"null\" && pagename != undefined) {\r\n\r\n\t\t\tlet maskedEmailString = this.commonService.GenerateMaskedEmail(emailAddr);\r\n\t\t\tthis.DateTimeMessage2 = maskedEmailString + \"|\" + pagename;\r\n\t\t}\r\n\t\telse if (emailAddr != null && emailAddr != \"null\" && emailAddr != \"\" && emailAddr != undefined) {\r\n\t\t\tlet maskedEmailString = this.commonService.GenerateMaskedEmail(emailAddr);\r\n\t\t\tthis.DateTimeMessage2 = maskedEmailString;\r\n\t\t}\r\n\t\telse if (pagename != null && pagename != \"\" && pagename != \"null\" && pagename != undefined) {\r\n\t\t\tthis.DateTimeMessage2 = pagename;\r\n\t\t}\r\n\r\n\t\tthis.showLoader = false;\r\n\t\tthis.clearStorage();\r\n\t}\r\n\r\n\tredirectTo(type: any) {\r\n\t\tthis.clearStorage();\r\n\t\tthis.commonService.redirectTo(type);\r\n\t}\r\n\r\n\tclearStorage(){\t\t\r\n\t\tlet userInfo: any = this.sessionStorageService.getUserDetails();\t\t\r\n\t\tsessionStorage.clear();\t\t\r\n\t\tthis.sessionStorageService.setUserDetails(userInfo);\r\n\t}\r\n}\r\n","
\r\n\t\r\n\t\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
{{displayMessage}}
\r\n
\r\n\r\n
\r\n

\r\n {{RSignMakesESignatureText}}\r\n

\r\n
\r\n
\r\n\r\n
\r\n

\r\n   {{LearnMoreTextOnly}} \r\n

\r\n\r\n

\r\n   {{freeTrial}} \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, HostListener, OnInit } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ApiUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { NavigationService } from 'src/app/services/navigation.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-info',\r\n templateUrl: './info.component.html',\r\n styleUrls: ['./info.component.scss']\r\n})\r\nexport class InfoComponent implements OnInit {\r\n title = 'RSign | Info';\r\n showLoader: boolean = false;\r\n displayMessage: any;\r\n htmlFooterString: any;\r\n LearnMoreTextOnly: any;\r\n freeTrial: any;\r\n RSignMakesESignatureText: any;\r\n\r\n constructor(private titleService: Title, private apiService: APIService, private commonService: CommonService,\r\n private NavigationService: NavigationService,\r\n private sessionStorageService: SessionStorageService\r\n ) { }\r\n\r\n @HostListener('window:popstate', ['$event'])\r\n onPopState(event: any) {\r\n console.log('Back button pressed');\r\n this.NavigationService.reloadPage();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = true;\r\n this.titleService.setTitle(this.title);\r\n window.scrollTo({ top: 0, behavior: 'smooth' });\r\n this.htmlFooterString = '

' +\r\n 'General Terms & Legal Notices: Click to view service level terms, conditions, privacy, ' +\r\n ' patent, trademark, and other service and legal notices. ' +\r\n '

';\r\n \r\n this.displayMessage = this.sessionStorageService.getDisplayMessage();\r\n if (this.displayMessage == \"null\" || this.displayMessage == null || this.displayMessage == undefined || this.displayMessage == \"undefined\") this.displayMessage = \"\";\r\n\r\n this.LearnMoreTextOnly = this.commonService.getLabelTranslationVal(ResourceKeys.LearnMoreTextOnly.toLowerCase());\r\n this.freeTrial = this.commonService.getLabelTranslationVal(ResourceKeys.freeTrial.toLowerCase());\r\n this.RSignMakesESignatureText = this.commonService.getLabelTranslationVal(ResourceKeys.RSignMakesESignatureText.toLowerCase());\r\n this.showLoader = false;\r\n }\r\n\r\n redirectCorporateURL(PageName: any, OpenType: any) {\r\n let getRedirectUrl = environment.corporateURLApiBaseUrl + \"/\" + ApiUrlConfig.GetRedirectURL + \"/\" + PageName;\r\n this.apiService.getRedirectURL(getRedirectUrl).subscribe(\r\n (resp: any) => { \r\n if (resp && resp.StatusCode == 200) {\r\n if (resp.Message != null) { \r\n OpenType == 'self' ? this.commonService.redirect(resp.Message) : this.commonService.openInNewTab(resp.Message);\r\n }\r\n }\r\n })\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n |\r\n\r\n
\r\n \"image\"\r\n
\r\n\r\n
\r\n \"image\"\r\n
\r\n\r\n\r\n |\r\n \r\n
\r\n \r\n
\r\n |\r\n play_arrow\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n |\r\n
\r\n \r\n {{ zoomValue }}\r\n %\r\n arrow_drop_down\r\n \r\n
    \r\n
  • \r\n {{ zoom\r\n }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n |\r\n
\r\n \r\n
\r\n\r\n |\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstoleft)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstocenter)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.title_Alignselectedcontrolstoright)}}\r\n
  • \r\n
  • \r\n
    \r\n
  • \r\n\r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignTop)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignMiddle)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.AlignBottom)}}\r\n
  • \r\n\r\n
  • \r\n
    \r\n
  • \r\n\r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.DistributeHorizontally)}}\r\n
  • \r\n
  • \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.DistributeVertically)}}\r\n
  • \r\n
\r\n
\r\n
\r\n\r\n |\r\n
\r\n
\r\n \r\n
    \r\n
    0\"\r\n class=\"my-1 ps-3 font15 d-flex flex-column subdropdown\">\r\n
    \r\n {{getLanguageTranslationValue(resourceKeys.FilesReview)}}\r\n {{filesReviewCount}}\r\n
    \r\n
    \r\n
      \r\n
    • \r\n description\r\n \r\n {{showReviewItem(reviewItem)}} \r\n
    • \r\n
    \r\n
    \r\n
    \r\n
  • 0\">\r\n
    \r\n
  • \r\n\r\n
  • \r\n \r\n \"image\"\r\n {{getLanguageTranslationValue(resourceKeys.ViewPDF)}}\r\n \r\n
  • \r\n
  • \r\n \r\n \"image\"\r\n\r\n {{getLanguageTranslationValue(resourceKeys.ViewSettings)}}\r\n \r\n
  • \r\n
  • \r\n \r\n \"branding\r\n Branding\r\n \r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.SaveAs)}}\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
\r\n \r\n \r\n \r\n
\r\n {{item.title}}
\r\n
\r\n \r\n \r\n \r\n
\r\n {{item.title}}
\r\n
\r\n \r\n \r\n \r\n
\r\n {{item.title}}
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n dd/mm/yyyy
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title}}
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n

No fields found

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"images\"\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.SignatureControl)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Initials)}}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_dateTimeStamp)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Name)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Title)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Company)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_email)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_dropdown)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_checkbox)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_radio)}}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Date)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.lang_Text)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Label)}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{getLanguageTranslationValue(resourceKeys.Hyperlink)}}\r\n \r\n
\r\n keyboard_double_arrow_down \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {{getLanguageTranslationValue(resourceKeys.checkboxGroupsOptional)}}\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n square\r\n \r\n {{ selectedPanelRecipentName }}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.TextModalHeaderP)}}\r\n
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n Group Name should be\r\n only characters and\r\n numbers\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n add_box\r\n \r\n
\r\n
0\">\r\n \r\n \r\n \r\n
\r\n
    \r\n
  • \r\n \r\n \r\n delete_outline\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n format_bold \r\n
\r\n
\r\n format_italic \r\n
\r\n
\r\n \r\n format_underlined\r\n \r\n
\r\n
\r\n \r\n format_align_left\r\n \r\n
\r\n\r\n
\r\n \r\n format_align_justify\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n format_align_right\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n content_copy\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n content_copy\r\n \r\n
\r\n
\r\n {{getLanguageTranslationValue(resourceKeys.OnlycharactersAndnumbers)}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
1\"\r\n style=\"padding-left: 8px;\">\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
","import { ApplicationRef, Component, ComponentFactoryResolver, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, Injector, OnInit, Output, Renderer2, TemplateRef, ViewChild, AfterViewInit, enableProdMode } from '@angular/core';\r\nimport { FormGroup, FormControl, FormBuilder } from '@angular/forms';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { Subject, Subscription, debounceTime, fromEvent, takeUntil } from 'rxjs';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { LocationStrategy, PlatformLocation } from '@angular/common';\r\nimport { ActionTypes, CommonConstants, Control, ControlConfig, ControlResourceKeys, EnvelopeType, RSignStage, RecipientType } from '../../constants/common-constants';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { ControlComponent } from '../../components/control/control.component';\r\nimport { AddDropdownListComponent } from '../../modals/add-dropdown-list/add-dropdown-list.component';\r\nimport { ViewSettingComponent } from '../../modals/view-setting/view-setting.component';\r\nimport { AddDependenciesComponent } from '../../modals/add-dependencies/add-dependencies.component';\r\nimport { ClearallControlsComponent } from '../../modals/clearall-controls/clearall-controls.component';\r\nimport { DiscardEnvelopeComponent } from '../../modals/discard-envelope/discard-envelope.component';\r\nimport { GotoStepOneComponent } from '../../modals/goto-step-one/goto-step-one.component';\r\nimport { KeyboardShortcutsComponent } from '../../modals/keyboard-shortcuts/keyboard-shortcuts.component';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { AlignControlsService } from '../../services/align-controls.service';\r\nimport { ContextualMenu } from '../contextual-menu/contextual-menu';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DefaultControlStyleService } from '../../services/default-control-style.service';\r\nimport { HostListener, isDevMode } from '@angular/core';\r\nimport { MultiBrandingComponent } from 'src/app/modals/multi-branding/multi-branding.component';\r\nimport { TranslationService } from 'src/app/services/translation.service';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\nimport { PaginationComponent } from 'src/app/shared/pagination/pagination.component';\r\nimport { MultipleSignerUpdateComponent } from 'src/app/modals/multiple-signer-update/multiple-signer-update.component';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { InitialsCreationComponent } from 'src/app/modals/initials-creation/initials-creation.component';\r\nimport { CashedService } from 'src/app/services/cashed.service';\r\nimport { UndoRedoStackService } from 'src/app/services/undo-redo-stack.service';\r\ndeclare var $: any;\r\n\r\ntype IMenu = {\r\n title: string;\r\n id: number,\r\n svgPath1: any;\r\n svgPath2: any;\r\n svgPath3: any;\r\n viewBox: any;\r\n temp?: boolean;\r\n langGuid: any;\r\n};\r\n\r\n@Component({\r\n selector: 'app-template-prepare',\r\n templateUrl: './template-prepare.component.html',\r\n styleUrls: ['./template-prepare.component.scss']\r\n})\r\nexport class TemplatePrepareComponent {\r\n baseUrl = environment.apiBaseUrl;\r\n showLoader: boolean = false;\r\n commonConstants = CommonConstants;\r\n resourceKeys = ResourceKeys;\r\n @Output() documentData: any;\r\n @Output() receipentListArr: any = this.commonConstants.ReceipentListArr;\r\n @Output() receipentColorArr: any = this.commonConstants.ReceipentColorArr;\r\n @Output() recipientsObj: any;\r\n @Output() dependencyIconClickedObj: any;\r\n\r\n @ViewChild('documentPageContainer', { static: false })\r\n documentPageContainer!: ElementRef;\r\n textzoom = parseInt('100%');\r\n\r\n private ngUnsubscribe = new Subject();\r\n private dynamicComponentRefs: Map> = new Map();\r\n private clickTimeout: any;\r\n private delay = 300; // Adjust the delay time as needed\r\n hidePagesViewSection: boolean = false;\r\n hideControlView: boolean = false;\r\n displayProperties: boolean = true;\r\n isVisited: boolean = false;\r\n isUnderlined: boolean = false;\r\n isItalic: boolean = false;\r\n isBold: boolean = false;\r\n isAlignleft: boolean = false;\r\n isAlignmiddle: boolean = false;\r\n isAlignright: boolean = false;\r\n isfont: boolean = false;\r\n displayGroupCheckBox: boolean = false;\r\n displayGroupRadio: boolean = false;\r\n showRemove: boolean = false;\r\n showSave: boolean = true;\r\n isClose: boolean = false;\r\n isActive: boolean = false;\r\n\r\n selectDefaultSizeValue: any;\r\n selectDefaultDateFormat: any;\r\n selectValidation: any;\r\n selectAddtionalValidation: any;\r\n datacount: any;\r\n activeCtrlId: any;\r\n\r\n checkboxoptions = this.commonConstants.Checkboxoptions;\r\n validationsoptions = this.commonConstants.Validationsoptions;\r\n additionalValidation = this.commonConstants.AdditionalValidation;\r\n additionalValidationType = this.commonConstants.AdditionalValidationType;\r\n validationsZipOptions = this.commonConstants.ValidationsZipOptions;\r\n validationsDateOptions = this.commonConstants.ValidationsDateOptions;\r\n dateformat = this.commonConstants.Dateformat;\r\n dateformatValue = this.commonConstants.DateformatValue;\r\n controlsObj = this.commonConstants.ControlsObj;\r\n defaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n ZoomPercentageObj = this.commonConstants.ZoomPercentage;\r\n groupColorCode: any = 1;\r\n hostListenerStatus: any = false;\r\n\r\n selectedRecipentId: string = '';\r\n selectedPanelRecipentId: string = '';\r\n selectedRecipentName: string = '';\r\n selectedRecipentColor: string = '';\r\n selectedPanelRecipentName: string = '';\r\n selectedPanelRecipentColor: string = '';\r\n searchText = '';\r\n selectedPanelRecipentTextAreaText: string = '';\r\n checkboxText: string = 'Save as Default';\r\n\r\n checkboxSizeControl = new FormControl(3);\r\n\r\n form = new FormGroup({\r\n checkboxsize: this.checkboxSizeControl\r\n });\r\n\r\n // dragAnddrop code starts\r\n dragItems: Array = this.commonConstants.DragItems;\r\n table: Array = [];\r\n imagesArr: any[] = [];\r\n // dragAnddrop code ends\r\n documentName: any;\r\n previewObj: any;\r\n dragItemBgColor: any;\r\n currentControlId: any;\r\n zoomList: any[] = [];\r\n percentageValue: string = '100%';\r\n imageSize: any = '100%';\r\n arrControlIdNumber: any = [];\r\n controlFieldDependenceControlArray: any = [];\r\n displayDependenciesButton: boolean = false;\r\n zoomValue: any = 100;\r\n exampleForm: FormGroup;\r\n slDropDownControlItems: any = [];\r\n isRequiredChecked: boolean = false;\r\n isFixedWidthChecked: boolean = false;\r\n showTextFieldsContainer: any = 'none';\r\n showTextDecimalType: any = 'none';\r\n showTextDecimalOptions: any = 'none';\r\n showTextZipFormat: any = 'none';\r\n showTextZipFormatOptions: any = 'none';\r\n showTextDateFormat: any = 'none';\r\n showTextDateFormatOptions: any = 'none';\r\n arrCopyPasteCtrl: any = [];\r\n arrUndoRedoCtrl: any = [];\r\n envelope: any;\r\n envelopeCultureInfo: any;\r\n integrationResponse: any = {};\r\n isSelecting: boolean = false;\r\n selectionBox: any = HTMLElement;\r\n @ViewChild('container') container!: ElementRef;\r\n\r\n startPointX: any;\r\n startPointY: any;\r\n endPointX: any;\r\n endPointY: any;\r\n selectedItems: any[] = [];\r\n selectedDocumentImage: any; //to get the document image id\r\n\r\n planType: any = '';\r\n planRange: any = '';\r\n planName: any = '';\r\n fullPlanName: any = '';\r\n unit: any = '';\r\n unitsRemaining: any = '';\r\n upgradeLink: any = '';\r\n showUpgradeLink: boolean = false;\r\n allImagesProcessed: boolean = false;\r\n lastImageId: any;\r\n totalDocPageImagesCount: any;\r\n subscription: any;\r\n PageZoomClass: any;\r\n textareaEdited: boolean = false;\r\n isDataLoaded: boolean = false;\r\n isEnvelopeEdited: boolean = false;\r\n signatureControlRequiredForStaticTemplate: any = \"false\";\r\n isCreateRules: any = \"false\";\r\n envelopeStage: any = 'PrepareEditTemplate';\r\n isDisplayTemplateRule: any = \"false\";\r\n externalIntegrationType = '';\r\n externalEntityList: any[] = [];\r\n externalEntityFieldList: any[] = [];\r\n userSelectedEntity: boolean = true;\r\n isPrefillExists: boolean = false;\r\n enableDependenciesFeature: boolean = false;\r\n isStoreControlId: boolean = false;\r\n isEnvelopeEditable: boolean = true;\r\n signatureControlRequired: boolean = true;\r\n enableFileReview: boolean = false;\r\n filesShowDiv: boolean = true;\r\n filesReviewCount: number = 0;\r\n filesReview: any[] = [];\r\n hideFixedwidthCheckbox: any = true;\r\n lengthOrMaxCharLimitLabel: string = 'Length';\r\n // saveAsDefaultCheckbox: boolean = true;\r\n defaultFontFamily: string = 'Courier';\r\n defaultTypographySize: string = \"px\";\r\n defaultUserSettingsTypographySize: string = \"px\";\r\n defaultFontSize: any = 12;\r\n updateSaveAsDefaultChecked: any = true;\r\n isRadioRequiredChecked: boolean = false;\r\n isdrpFirstLineBlank: boolean = false;\r\n isChkPreSelected: boolean = false;\r\n ischeckboxGroup: boolean = false;\r\n checkboxGroupName: any = '';\r\n checkboxName: any = '';\r\n hideControlViewSection: boolean = true;\r\n arrCopyPasteCtrlsTemp: any[] = [];\r\n isSendEnvelope: boolean = false;\r\n textCtrlMaxValidation: any = 4000;\r\n userToken: any;\r\n disableNavigationBar: any = 'false';\r\n disableBackArrowButton: any = 'false';\r\n disableSaveDraftButton: any = 'false';\r\n enableFieldAlignmentClass: any = \"false\";\r\n @ViewChild(PaginationComponent) paginationComponent: PaginationComponent;\r\n isPageLoadingFirstTime: any = true;\r\n isAddColumnSpace: any;\r\n bodyElement: HTMLElement = document.body;\r\n isTemplate: boolean = false;\r\n isCopiedSelecteditems: boolean = false;\r\n hideDependencies: any = true;\r\n dependecieClose: any;\r\n arrUndoCtrlsCount: any[] = [];\r\n isTemplateSaveDropdown: boolean = false;\r\n private valueChangesSubscription: Subscription;\r\n depenciestatus: boolean = false;\r\n isStaticTemplate: any = false;\r\n enableMultiBranding: boolean = true;\r\n branding: any;\r\n defaultBranding: any;\r\n slides: any[] = [];\r\n tempTotalCountPerPage: any[] = [];\r\n isCtrlAndControlMouseSelection: any = false;\r\n ctrlAndClickedControlsArr: any = [];\r\n isPortrait: boolean = false;\r\n isLandscape: boolean = false;\r\n conversionIteration: number = 0;\r\n //undo and redo variables starts\r\n undoRedoItems: any[] = [];\r\n copiedContent: any;\r\n allControlsArr: any[] = [];\r\n undoFlag: any = 'false';\r\n redoFlag: any = 'false';\r\n isMultipleControlsActionFlag: boolean = false;\r\n copyPastedcontrolsArr: any[] = [];\r\n copyPastedcontrolsArrFlag: any = false;\r\n parseDefaultControlProperty: any;\r\n temptotalControlCount: any = 0;\r\n deleteCtrlItemsFlag: boolean = false;\r\n //undo redo variables ends\r\n asteriskOriginalText: string = ''; // related to hide text with asterisks.\r\n hiddenText: string = '';\r\n isCheckboxDisabled: boolean = false\r\n\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private injector: Injector,\r\n private appRef: ApplicationRef,\r\n public modalService: BsModalService,\r\n private toastrService: ToastrService,\r\n private commonService: CommonService,\r\n private renderer2: Renderer2,\r\n private fb: FormBuilder,\r\n private controlPropertyService: ControlPropertyService,\r\n private authService: AuthService,\r\n private alignControlsService: AlignControlsService,\r\n private location: PlatformLocation,\r\n private apiService: APIService,\r\n private router: Router,\r\n private defaultControlStyleService: DefaultControlStyleService,\r\n private sessionStorageService: SessionStorageService,\r\n private activatedRoute: ActivatedRoute,\r\n private titleService: Title,\r\n private cashedService: CashedService,\r\n private undoRedoStackService: UndoRedoStackService\r\n ) { }\r\n\r\n @HostListener('window:unload', ['$event'])\r\n unloadHandler(event: Event) {\r\n this.PostCall(event);\r\n }\r\n\r\n @HostListener('window:beforeunload', ['$event'])\r\n beforeUnloadHander(event: Event) {\r\n // let ClickedSignMeOut:any = localStorage.getItem(\"ClickedSignMeOut\");\r\n let ClickedSignMeOut: any = this.sessionStorageService.getClickedSignMeOut();\r\n if (this.hostListenerStatus == true || ClickedSignMeOut == \"true\") {\r\n this.PostCall(event);\r\n //localStorage.clear();\r\n //sessionStorage.clear();\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event.target']) onClick(e: any) {\r\n if (e && e.className && e.className.includes('dispImg')) {\r\n this.onClickOutsideSelectionArea();\r\n }\r\n }\r\n @HostListener('document:click', ['$event'])\r\n onSingleClick(event: KeyboardEvent) {\r\n if (this.clickTimeout) {\r\n clearTimeout(this.clickTimeout);\r\n this.clickTimeout = null;\r\n }\r\n\r\n this.clickTimeout = setTimeout(() => {\r\n this.handleSingleClick(event);\r\n this.clickTimeout = null;\r\n }, this.delay);\r\n }\r\n\r\n @HostListener('document:dblclick', ['$event'])\r\n onDoubleClick(event: KeyboardEvent) {\r\n if (this.clickTimeout) {\r\n clearTimeout(this.clickTimeout);\r\n this.clickTimeout = null;\r\n this.handleDoubleClick(event);\r\n }\r\n }\r\n\r\n handleSingleClick(event: KeyboardEvent) {\r\n if (event && event.target != null) {\r\n let CurrentClickedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let spncontrolEle: any = (document.getElementById(\"spn\" + CurrentClickedControl));\r\n let resizablecontrolEle: any = (document.getElementById(\"resizable_\" + CurrentClickedControl));\r\n if (spncontrolEle && resizablecontrolEle) {\r\n let originalText: any = resizablecontrolEle.getAttribute('data-asteriskOriginalText');\r\n let clickedAttribute: any = spncontrolEle.getAttribute('data-clickedAttribute');\r\n let isHideTextWithAsterisk: any = resizablecontrolEle.getAttribute('data-isHideTextWithAsterisk');\r\n if (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n if (originalText) {\r\n const asterisks = '*'.repeat(originalText.length); // Replace text with asterisks\r\n if (spncontrolEle.innerHTML !== '*'.repeat(originalText.length)) {\r\n spncontrolEle.innerHTML = asterisks;\r\n }\r\n spncontrolEle.classList.add('add-text-ellipsis');\r\n if (!clickedAttribute && (clickedAttribute == 'false' || clickedAttribute == false)) {\r\n spncontrolEle.setAttribute('data-clickedAttribute', true);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n handleDoubleClick(event: KeyboardEvent) {\r\n }\r\n @HostListener('document:click', ['$event'])\r\n handleClickEvent(event: KeyboardEvent) {\r\n if (this.clickTimeout) {\r\n clearTimeout(this.clickTimeout);\r\n this.clickTimeout = null;\r\n }\r\n this.clickTimeout = setTimeout(() => {\r\n this.handleSingleClick(event);\r\n this.clickTimeout = null;\r\n }, this.delay);\r\n if (event.ctrlKey && event.target != null) {\r\n const targetElement = event.target as HTMLElement;\r\n if (this.isCtrlAndControlMouseSelection === true && event.ctrlKey != true) {\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n this.ctrlAndClickedControlsArr = [];\r\n }\r\n if (targetElement.offsetParent) {\r\n const id = (targetElement.offsetParent as HTMLElement).id;\r\n if (id && id.startsWith('resizable_')) {\r\n this.selectedItems.push(id);\r\n this.isCtrlAndControlMouseSelection = false;\r\n this.ctrlAndClickedControlsArr.push(id);\r\n let resizableEle: any = document.getElementById(id);\r\n if (resizableEle) {\r\n resizableEle.style.background = 'bisque';\r\n let length: any = this.selectedItems.length;\r\n // localStorage.setItem('selecteditemsLength', length);\r\n this.sessionStorageService.setSelecteditemsLength(length);\r\n let attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n let spnSelectEle: any = document.getElementById('spn' + id.replace('resizable_', ''));\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n spnSelectEle.classList.add('mouse-selected');\r\n }\r\n spnSelectEle.style.background = '';\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:keydown', ['$event'])\r\n handleKeyboardEvent(event: KeyboardEvent) {\r\n this.controlPropertyService.handleKeyboardEvent(event, this.selectedItems);\r\n }\r\n\r\n PostCall(event: any) {\r\n //event.preventDefault();\r\n }\r\n\r\n get pickerCtrl() {\r\n return this.exampleForm.get('pickerCtrl') as FormControl;\r\n }\r\n\r\n @Output() elements: ContextualMenu[] = [\r\n // new ContextualMenu('Undo', () => console.log('test 1')),\r\n // new ContextualMenu('Redo', () => console.log('test 2')),\r\n new ContextualMenu('Copy', () => console.log('test 3')),\r\n new ContextualMenu('Paste', () => console.log('test 4')),\r\n // new ContextualMenu('Cut', () => console.log('test 5')),\r\n new ContextualMenu('Duplicate', () => console.clear()),\r\n new ContextualMenu('Delete', () => console.clear()),\r\n ];\r\n\r\n ngOnInit(): void {\r\n this.titleService.setTitle(\"RSign | Prepare Template\");\r\n this.showLoader = true;\r\n\r\n let routeEnvelopeQueryParam: any = '';\r\n let routeEnvelopeId: any = '', originalSourceType: any = '';\r\n this.activatedRoute.queryParams.subscribe(params => {\r\n // console.log('encrypted==>', params['id']);\r\n let paramsId: any = params['id'];\r\n if (paramsId == undefined) {\r\n window.location.href = environment.rsignUrl + NavigateUrlConfig.Send;\r\n }\r\n else {\r\n routeEnvelopeQueryParam = this.commonService.decrypt(params['id']);\r\n routeEnvelopeId = routeEnvelopeQueryParam.split('&')[0];\r\n let originalDomainVal = routeEnvelopeQueryParam.split('&')[1];\r\n originalSourceType = originalDomainVal.split('=')[1];\r\n\r\n //console.log('decrypt==>', routeEnvelopeId);\r\n //console.log('OriginalSourceType==>', originalSourceType);\r\n\r\n this.sessionStorageService.setIntializePrepareDetails('Token', localStorage.getItem(\"Token\"));\r\n this.sessionStorageService.setIntializePrepareDetails('PrepareType', \"Template\");\r\n this.sessionStorageService.setIntializePrepareDetails('EnvelopeOrTemplateId', routeEnvelopeId);\r\n this.sessionStorageService.setIntializePrepareDetails('SourceUrlType', originalSourceType);\r\n let sourceURL: any = this.commonService.generateDomainRediRectURL(originalSourceType);\r\n this.sessionStorageService.setIntializePrepareDetails('SourceURL', sourceURL);\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(sourceURL);\r\n }\r\n else {\r\n enableProdMode();\r\n this.selectedRecipentColor = this.receipentColorArr[0];\r\n this.selectedPanelRecipentColor = this.receipentColorArr[0];\r\n this.dragItemBgColor = this.receipentColorArr[0];\r\n this.selectDefaultSizeValue = '2';\r\n this.selectValidation = '1';\r\n this.selectAddtionalValidation = '1';\r\n this.resetPaginationCount();\r\n this.recipientsObj = { selectedRecipentName: '', selectedRecipentColor: this.selectedRecipentColor }\r\n\r\n this.dependencyIconClickedObj = {\r\n type: '1',\r\n groupColorCode: this.groupColorCode,\r\n currentControlId: '',\r\n isControlingField: true\r\n }\r\n\r\n this.exampleForm = this.fb.group({\r\n pickerCtrl: [this.defaultColorPicker]\r\n });\r\n\r\n this.valueChangesSubscription = this.exampleForm.controls['pickerCtrl'].valueChanges.pipe(\r\n debounceTime(300)\r\n ).subscribe(color => {\r\n //console.log('Picker control value changed:', color);\r\n this.applyColorPicker(color);\r\n });\r\n\r\n this.getTemplateDetails();\r\n\r\n // todo: need to remove else block once developement is done\r\n //this.getDefaultValues();\r\n }\r\n }\r\n });\r\n }\r\n\r\n getTemplateDetails() {\r\n this.isTemplate = true;\r\n let preparePageUrlData = this.sessionStorageService.getIntializePrepareDetails();\r\n if (preparePageUrlData && preparePageUrlData.PreparePageUrl) {\r\n console.log(\"Template Prepare:\" + preparePageUrlData.PreparePageUrl)\r\n }\r\n let envelopeTokenDetails: any = this.authService.getDetails();\r\n if (envelopeTokenDetails) {\r\n let tokenDetails = JSON.parse(envelopeTokenDetails);\r\n let prepareType: any = '', envelopeOrTemplateId: any;\r\n if (tokenDetails) {\r\n prepareType = tokenDetails.prepareType;\r\n envelopeOrTemplateId = tokenDetails.envelopeOrTemplateId;\r\n let getDetailsUrl: any = ApiUrlConfig.GetTemplateDetailsUrl + \"?templateId=\" + envelopeOrTemplateId;\r\n console.log(\"Calling GetTemplateDetails API:\" + new Date().toLocaleString());\r\n //setTimeout(() => {\r\n this.apiService.get(getDetailsUrl).subscribe(\r\n (resp: any) => {\r\n if (resp && resp.statusCode == 200) {\r\n console.log(\"GetTemplateDetails response loaded:\" + new Date().toLocaleString());\r\n\r\n let dropdownContenttemp: any = document.getElementsByClassName(\"dropdown-contenttemp\");\r\n if (dropdownContenttemp && dropdownContenttemp.length > 0) {\r\n Array.from(dropdownContenttemp as HTMLCollectionOf).forEach((eleChild: any) => {\r\n eleChild.style.display = 'none';\r\n })\r\n }\r\n\r\n if (resp && resp != '') {\r\n this.authService.setUserDetails(resp.envelopeDetails.userViewModel);\r\n this.commonService.updateHeader();\r\n\r\n // if (resp.envelopeDetails.tokenViewModel) {\r\n // localStorage.setItem(\"RefreshTokenModel\", JSON.stringify(resp.envelopeDetails.tokenViewModel));\r\n // }\r\n\r\n if (resp.envelopeDetails.disableOptions) {\r\n this.sessionStorageService.setDisableTabOptions(resp.envelopeDetails.disableOptions);\r\n this.commonService.getDisableNavBtns(resp.envelopeDetails.disableOptions);\r\n }\r\n this.sessionStorageService.setCulture(resp.envelopeDetails.cultureInfo)\r\n if (resp.envelopeDetails.cultureInfo == \"es-es\") {\r\n let modifiedValidationsDateOptions: any[] = [];\r\n for (let index = 0; index < this.validationsDateOptions.length; index++) {\r\n modifiedValidationsDateOptions.push({ label: this.validationsDateOptions[index].label.replaceAll('y', 'a'), value: index + 1 });\r\n }\r\n this.validationsDateOptions = \"\";\r\n this.validationsDateOptions = modifiedValidationsDateOptions;\r\n console.log(this.validationsDateOptions);\r\n this.sessionStorageService.setValidationsDateOptions(this.validationsDateOptions);\r\n\r\n let modifiedDateFormatOptions: any[] = [];\r\n for (let index = 0; index < this.dateformat.length; index++) {\r\n modifiedDateFormatOptions.push({\r\n value: this.dateformat[index].value,\r\n viewValue: this.dateformat[index].viewValue.replaceAll('y', 'a').replaceAll('US', 'EEUU'),\r\n dateFormatId: this.dateformat[index].dateFormatId\r\n });\r\n }\r\n this.dateformat = \"\";\r\n this.dateformat = modifiedDateFormatOptions;\r\n this.sessionStorageService.setDateformat(this.dateformat);\r\n\r\n\r\n let modifiedDateFormatValueOptions: any[] = [];\r\n for (let index = 0; index < this.dateformatValue.length; index++) {\r\n modifiedDateFormatValueOptions.push({\r\n value: this.dateformatValue[index].value,\r\n viewValue: this.dateformatValue[index].viewValue.replaceAll('y', 'a')\r\n });\r\n }\r\n this.dateformatValue = \"\";\r\n this.dateformatValue = modifiedDateFormatValueOptions;\r\n\r\n console.log(this.dateformat);\r\n console.log(this.dateformatValue);\r\n this.sessionStorageService.setDateformatValue(this.dateformatValue);\r\n }\r\n else {\r\n this.validationsDateOptions = this.commonConstants.ValidationsDateOptions;\r\n this.dateformat = this.commonConstants.Dateformat;\r\n this.dateformatValue = this.commonConstants.DateformatValue;\r\n this.sessionStorageService.setValidationsDateOptions(this.validationsDateOptions);\r\n this.sessionStorageService.setDateformat(this.dateformat);\r\n this.sessionStorageService.setDateformatValue(this.dateformatValue);\r\n }\r\n\r\n this.envelope = resp;\r\n if (this.envelope && this.envelope.envelopeId != null && this.envelope.envelopeId != '' && this.envelope.envelopeDetails && this.envelope.envelopeDetails.envelopeImageInfo) {\r\n console.log(this.envelope.envelopeId != null && this.envelope.envelopeId != '' ? \"TemplateId:\" + this.envelope.envelopeId.toLowerCase() : '')\r\n console.log(\"TemplateCode:\" + this.envelope.envelopeDetails.templateCode);\r\n\r\n this.isStaticTemplate = this.envelope.envelopeDetails.isStatic;\r\n this.hideFixedwidthCheckbox = this.envelope.envelopeDetails.hideFixedwidthCheckbox;\r\n this.controlPropertyService.setHideFixedwidthCheckbox(this.hideFixedwidthCheckbox);\r\n this.integrationResponse = this.envelope;\r\n this.isEnvelopeEdited = (this.envelope.envelopeDetails.isEdited != null && this.envelope.envelopeDetails.isEdited != false) ? true : false; //Update and Resend\r\n this.signatureControlRequiredForStaticTemplate = this.envelope.envelopeDetails.signatureControlRequiredForStaticTemplate;\r\n //console.log(\"signatureControlRequiredForStaticTemplate:\" + this.signatureControlRequiredForStaticTemplate);\r\n this.isCreateRules = this.envelope.envelopeDetails.isCreateRules;\r\n this.envelopeStage = this.envelope.envelopeDetails.envelopeStage;\r\n let documentImageConversionMaxLimit: any = this.envelope.envelopeDetails.documentImageConversionMaxLimit; //CommonConstants.DocumentImageConversionMaxLimit\r\n\r\n if (this.envelopeStage == \"PrepareEditTemplate\" && (this.isStaticTemplate == true || this.isCreateRules == 'false'))\r\n this.isDisplayTemplateRule = \"true\";\r\n else this.isDisplayTemplateRule = \"false\";\r\n\r\n //when refreshing the browser\r\n // let allImagesProcessed: any = localStorage.getItem(\"AllImagesProcessed\");\r\n let allImagesProcessed: any = this.sessionStorageService.getAllImagesProcessed();\r\n if (allImagesProcessed == null || allImagesProcessed == \"false\") this.allImagesProcessed = false;\r\n else if (allImagesProcessed && allImagesProcessed != null && allImagesProcessed == \"true\") this.allImagesProcessed = false;\r\n\r\n // if (this.allImagesProcessed == true) {\r\n // // let allImagesArray: any = localStorage.getItem(\"AllImagesArray\");\r\n // let allImagesArray: any = this.sessionStorageService.getAllImagesArray();\r\n // allImagesArray = JSON.parse(allImagesArray);\r\n // if (allImagesArray && allImagesArray.length > 0) {\r\n // this.imagesArr = [];\r\n // this.totalDocPageImagesCount = allImagesArray.length;\r\n // this.imagesArr.length = this.totalDocPageImagesCount - 1;\r\n // let conversionImagesArray: any = [];\r\n // allImagesArray.forEach((element: any) => {\r\n // let path: any = \"?id=\" + element.id + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n // let imgPath: any = this.baseUrl + ApiUrlConfig.GetTemplateImages + path;\r\n\r\n // if (element.id <= documentImageConversionMaxLimit) {\r\n\r\n // }\r\n // else {\r\n // conversionImagesArray.push({\r\n // imagePathUrl: imgPath,\r\n // id: element.id,\r\n // documentId: element.documentId,\r\n // width: element.width,\r\n // height: element.height,\r\n // isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n // docPageNo: element.docPageNo,\r\n // document: {\r\n // id: element.document.id,\r\n // name: element.document.name\r\n // },\r\n // controlsCount: 0\r\n // });\r\n // }\r\n // this.imagesArr[element.id - 1] = {\r\n // path: imgPath,\r\n // isActive: false,\r\n // id: element.id,\r\n // imageId: element.id,\r\n // documentId: element.documentId,\r\n // width: element.width,\r\n // height: element.height,\r\n // isVisible: true,\r\n // isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n // docPageNo: element.docPageNo,\r\n // document: {\r\n // id: element.document.id,\r\n // name: element.document.name\r\n // },\r\n // controlsCount: 0\r\n // };\r\n // });\r\n\r\n // if (conversionImagesArray && conversionImagesArray.length > 0) {\r\n // this.addPaginationDisabledClass();\r\n // this.allImagesProcessed = false;\r\n // this.checkForAllImagesLoaded(conversionImagesArray, documentImageConversionMaxLimit, \"fromrefresh\");\r\n // }\r\n // else {\r\n // this.updateLocalStorageInfo();\r\n // //this.updateEnvelopeDocumentControlInformation();\r\n // }\r\n // }\r\n // }\r\n //else {\r\n //Get envelope Image Information\r\n\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.envelopeImageInfo) {\r\n let envelopeImageDetails: any = this.envelope.envelopeDetails.envelopeImageInfo;\r\n if (envelopeImageDetails.length > 0) {\r\n this.imagesArr = [];\r\n let conversionInitialImagesArray: any = [];\r\n for (let index = 0; index < envelopeImageDetails.length; index++) {\r\n const element = envelopeImageDetails[index];\r\n //initially get documentImageConversionMaxLimit pages only for get the correct order of images\r\n let width: any = '';\r\n if (element.id <= documentImageConversionMaxLimit) {\r\n let path: any = \"?id=\" + element.id + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n let imagePathUrl: any = this.baseUrl + ApiUrlConfig.GetTemplateImages + path;\r\n\r\n if (element.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n if (element.dimension.width > element.dimension.height) {\r\n width = \"1015px\";\r\n this.isLandscape = true;\r\n }\r\n else {\r\n this.isPortrait = true;\r\n width = \"915px\";\r\n }\r\n }\r\n else if (element.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n width = '950px';\r\n this.isLandscape = true;\r\n }\r\n this.imagesArr.push({\r\n path: imagePathUrl, isActive: false, id: index + 1, imageId: element.id, documentId: element.document.id, width: width, height: element.dimension.height,\r\n isVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n docPageNo: element.docPageNo,\r\n document: {\r\n id: element.document.id,\r\n name: element.document.name\r\n },\r\n controlsCount: 0\r\n });\r\n\r\n if (element.id > 10) {\r\n conversionInitialImagesArray.push({\r\n imagePathUrl: imagePathUrl, id: index + 1, imageId: element.id, documentId: element.document.id, width: width, height: element.dimension.height,\r\n isTemplateDatedBeforePortraitLandscapeFeature: element.isTemplateDatedBeforePortraitLandscapeFeature,\r\n docPageNo: element.docPageNo,\r\n document: {\r\n id: element.document.id,\r\n name: element.document.name\r\n },\r\n controlsCount: 0\r\n });\r\n }\r\n }\r\n if (index == 0) { this.previewObj = { 'documentName': element.document.name != '' ? element.document.name : '' } }\r\n }\r\n\r\n if (conversionInitialImagesArray && conversionInitialImagesArray.length > 0) {\r\n this.addPaginationDisabledClass();\r\n this.allImagesProcessed = false;\r\n this.checkForAllImagesLoaded(conversionInitialImagesArray, documentImageConversionMaxLimit, \"InitalLoad\");\r\n }\r\n }\r\n }\r\n\r\n this.totalDocPageImagesCount = this.envelope.envelopeDetails.totalDocPageImagesCount;\r\n if (this.imagesArr && this.imagesArr.length > 0) {\r\n if (this.totalDocPageImagesCount != this.imagesArr.length && this.allImagesProcessed == false) {\r\n this.allImagesProcessed = false;\r\n if (this.allImagesProcessed == false) {\r\n let initialImagesArrayLength = this.imagesArr.length;\r\n this.imagesArr.length = this.totalDocPageImagesCount - 1;\r\n for (let index = initialImagesArrayLength; index <= this.totalDocPageImagesCount - 1; index++) {\r\n let imgIndex: Number = Number(index) + 1;\r\n let path: any = \"?id=\" + imgIndex + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n let imagePathUrl: any = this.baseUrl + ApiUrlConfig.GetTemplateImages + path;\r\n\r\n var currentImgItem: any = this.envelope.envelopeDetails.envelopeImageInfo[index];\r\n let width: any = '100%', height: any = '', imgObj: any, documentId: any = '', docPageNo: any = '', isTemplateDatedBeforePortraitLandscapeFeature = false;\r\n let documentObj: any = { id: '', name: '' };\r\n\r\n if (currentImgItem) {\r\n if (currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n if (currentImgItem.dimension.width > currentImgItem.dimension.height) width = \"1015px\";\r\n else width = \"915px\";\r\n }\r\n else if (currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n width = '950px';\r\n }\r\n height = currentImgItem.dimension.height;\r\n documentId = currentImgItem.document.id;\r\n isTemplateDatedBeforePortraitLandscapeFeature = currentImgItem.isTemplateDatedBeforePortraitLandscapeFeature;\r\n docPageNo = currentImgItem.docPageNo;\r\n documentObj = { id: currentImgItem.document.id, name: currentImgItem.document.name };\r\n }\r\n\r\n imgObj = {\r\n path: imagePathUrl, isActive: false, id: imgIndex, imageId: imgIndex, documentId: documentId, width: width,\r\n height: height, isVisible: false, isTemplateDatedBeforePortraitLandscapeFeature: isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: docPageNo,\r\n document: documentObj,\r\n controlsCount: 0\r\n };\r\n\r\n this.imagesArr[index] = imgObj;\r\n\r\n setTimeout(() => {\r\n let imgControl: any = document.getElementById(\"imgControl_\" + imgIndex);\r\n if (imgControl && imgControl != null) {\r\n imgControl.style.display = 'none';\r\n }\r\n }, 20);\r\n }\r\n // console.log(\"All \" + this.totalDocPageImagesCount + \" images are not loaded\");\r\n this.addPaginationDisabledClass();\r\n let timeoutVal: any = this.totalDocPageImagesCount.length >= 50 ? 10000 : 3000;\r\n setTimeout(() => {\r\n this.retriveConversionImages(initialImagesArrayLength);\r\n }, timeoutVal);\r\n }\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.updateLocalStorageInfo();\r\n }, 1500);\r\n }\r\n }\r\n //}\r\n\r\n this.isPrefillExists = false;\r\n // get template roles\r\n if (this.isTemplate && this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.roleList) {\r\n let roleDetails: any = this.envelope.envelopeDetails.roleList.filter((rec: any) => (rec.roleTypeID.toLowerCase() == RecipientType.Signer || rec.roleTypeID.toLowerCase() == RecipientType.Prefill));\r\n if (roleDetails && roleDetails.length > 0) {\r\n if (roleDetails.length > 100) {\r\n for (let index = 101; index <= roleDetails.length; index++) {\r\n this.receipentColorArr.push(this.receipentColorArr[Math.round(Math.random() * 24)]);\r\n }\r\n }\r\n }\r\n\r\n this.receipentListArr = [];\r\n let prefillRecpDetails: any = this.envelope.envelopeDetails.roleList.filter((rec: any) => (rec.roleTypeID.toLowerCase() == RecipientType.Prefill));\r\n if (prefillRecpDetails && prefillRecpDetails.length > 0) {\r\n prefillRecpDetails.forEach((precp: any) => {\r\n let recpName = precp.roleName + this.commonConstants.PrefillNotation;\r\n this.receipentListArr.push({ id: precp.id, name: recpName, order: precp.order });\r\n });\r\n this.isPrefillExists = true;\r\n }\r\n\r\n roleDetails.forEach((recp: any) => {\r\n if (recp.roleTypeID.toLowerCase() != RecipientType.Prefill) {\r\n this.receipentListArr.push({ id: recp.id, name: recp.roleName, order: recp.order });\r\n }\r\n });\r\n\r\n this.authService.setRecipientColorDetails(this.receipentColorArr);\r\n this.authService.setRecipientDetails(this.receipentListArr);\r\n this.selectedRecipentName = this.receipentListArr[0].name;\r\n this.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n this.selectedRecipentId = this.receipentListArr[0].id;\r\n this.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n this.recipientsObj = {\r\n selectedRecipentName: this.selectedRecipentName,\r\n selectedRecipentColor: this.selectedRecipentColor\r\n }\r\n }\r\n //Get envelope recipients Information\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.recipientList) {\r\n let recpDetails: any = this.envelope.envelopeDetails.recipientList.filter((rec: any) => (rec.recipientTypeID.toLowerCase() == RecipientType.Signer || rec.recipientTypeID.toLowerCase() == RecipientType.Prefill));\r\n if (recpDetails && recpDetails.length > 0) {\r\n if (recpDetails.length > 100) {\r\n for (let index = 101; index <= recpDetails.length; index++) {\r\n this.receipentColorArr.push(this.receipentColorArr[Math.round(Math.random() * 24)]);\r\n }\r\n }\r\n\r\n this.receipentListArr = [];\r\n let prefillRecpDetails: any = this.envelope.envelopeDetails.recipientList.filter((rec: any) => (rec.recipientTypeID.toLowerCase() == RecipientType.Prefill));\r\n if (prefillRecpDetails && prefillRecpDetails.length > 0) {\r\n prefillRecpDetails.forEach((precp: any) => {\r\n let recpName = precp.recipientName + this.commonConstants.PrefillNotation;\r\n this.receipentListArr.push({ id: precp.id, name: recpName, order: precp.order });\r\n });\r\n this.isPrefillExists = true;\r\n }\r\n\r\n recpDetails.forEach((recp: any) => {\r\n if (recp.recipientTypeID.toLowerCase() != RecipientType.Prefill) {\r\n this.receipentListArr.push({ id: recp.id, name: recp.recipientName, order: recp.order });\r\n }\r\n });\r\n\r\n this.authService.setRecipientColorDetails(this.receipentColorArr);\r\n this.authService.setRecipientDetails(this.receipentListArr);\r\n this.selectedRecipentName = this.receipentListArr[0].name;\r\n this.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n this.selectedRecipentId = this.receipentListArr[0].id;\r\n this.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n this.recipientsObj = {\r\n selectedRecipentName: this.selectedRecipentName,\r\n selectedRecipentColor: this.selectedRecipentColor\r\n }\r\n }\r\n }\r\n\r\n // let disableButtonStr: any = localStorage.getItem(\"DisableStr\");\r\n let disableButtonStr: any = this.sessionStorageService.getDisableTabOptions();\r\n if (disableButtonStr && disableButtonStr != '' && disableButtonStr != null) {\r\n let splitDisableButtonArr: any = JSON.parse(disableButtonStr);\r\n if (splitDisableButtonArr) {\r\n if (splitDisableButtonArr.DisableNavigationBar == true) this.disableNavigationBar = 'true';\r\n if (splitDisableButtonArr.DisableBackArrow == true) this.disableBackArrowButton = 'true';\r\n if (splitDisableButtonArr.DisableSaveDraft == true) this.disableSaveDraftButton = 'true';\r\n }\r\n }\r\n this.enableMultiBranding = this.envelope.envelopeDetails.enableMultiBranding;\r\n if (this.enableMultiBranding) {\r\n this.getBrandingDetails();\r\n let isAdddropBorder: any = document.getElementById('isAdddropBorder');\r\n if (isAdddropBorder) {\r\n isAdddropBorder.classList.add('drop-border');\r\n }\r\n }\r\n\r\n //Get envelope details\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n this.envelopeCultureInfo = this.envelope.envelopeDetails.cultureInfo;\r\n\r\n // this.updateEnvelopeInformation();\r\n let defaultControlProperty: any = this.envelope.envelopeDetails.defaultControlStyle;\r\n if (defaultControlProperty && defaultControlProperty !== '') {\r\n this.parseDefaultControlProperty = JSON.parse(defaultControlProperty);\r\n this.parseDefaultControlProperty = this.defaultControlStyleService.removeLowercaseDefaultStyles(this.parseDefaultControlProperty);\r\n this.sessionStorageService.setDefaultControlStyles(this.parseDefaultControlProperty);\r\n this.updatedSaveAsDefaultSavedData(this.parseDefaultControlProperty, this.envelopeCultureInfo);\r\n }\r\n\r\n this.isEnvelopeEditable = true; //this.envelope.envelopeDetails.isTemplateEditable === true ? true : false;\r\n this.enableDependenciesFeature = this.envelope.envelopeDetails.enableDependenciesFeature;\r\n this.isStoreControlId = this.envelope.envelopeDetails.isStoreControlId;\r\n this.enableFileReview = this.envelope.envelopeDetails.enableFileReview;\r\n this.controlPropertyService.enableShowControlId(this.isStoreControlId);\r\n this.defaultUserSettingsTypographySize = this.envelope.envelopeDetails.typography;\r\n this.defaultTypographySize = this.envelope.envelopeDetails.typography;\r\n if (this.envelope.envelopeDetails.typography == null || this.envelope.envelopeDetails.typography == undefined) this.defaultTypographySize = \"px\";\r\n else this.defaultTypographySize = this.envelope.envelopeDetails.typography;\r\n this.autoSaveEnvasDraft();\r\n this.signatureControlRequired = this.envelope.envelopeDetails.signatureControlRequired;\r\n // localStorage.setItem(\"isEnvelopeEditable\", this.isEnvelopeEditable == true ? \"true\" : \"false\");\r\n this.sessionStorageService.setIsEnvelopeEditable(this.isEnvelopeEditable == true ? 'true' : 'false');\r\n this.sessionStorageService.setEnableDependenciesFeature(this.enableDependenciesFeature == true ? 'true' : 'false');\r\n //localStorage.setItem(\"enableDependenciesFeature\", this.enableDependenciesFeature == true ? \"true\" : \"false\");\r\n this.handleConfigureDataEvents();\r\n }\r\n else {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrlType: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrlType + NavigateUrlConfig.Template;\r\n }\r\n else {\r\n window.location.href = environment.rsignUrl + NavigateUrlConfig.Template;\r\n }\r\n }\r\n }\r\n else {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrlType: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrlType + NavigateUrlConfig.Template;\r\n }\r\n else {\r\n window.location.href = environment.rsignUrl + NavigateUrlConfig.Template;\r\n }\r\n }\r\n\r\n this.documentData = { pages: this.imagesArr, totalImagesCount: this.totalDocPageImagesCount };\r\n this.updateTempTotalCountPerPage();\r\n this.commonService.updatePrevObject(\r\n {\r\n 'totalControls': 0, 'pageNumber': 1,\r\n 'tempTotalCountPerPage': this.tempTotalCountPerPage,\r\n // 'documentList': this.imagesArr,\r\n 'totalImagesCount': this.totalDocPageImagesCount\r\n });\r\n this.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n this.showLoader = false;\r\n }\r\n else if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n this.showLoader = false;\r\n let getUserDetails: any = this.authService.getUserDetails();\r\n let userEmail: any = '';\r\n if (getUserDetails && getUserDetails.emailID) {\r\n userEmail = getUserDetails.emailID;\r\n }\r\n if (resp.authMessage) this.toastrService.warning(resp.authMessage, 'Warning');\r\n else this.toastrService.warning(CommonConstants.TokenValidatedMsg, 'Warning');\r\n this.sessionStorageService.setIntializePrepareDetails('EnvelopeID', envelopeOrTemplateId);\r\n this.sessionStorageService.setIntializePrepareDetails('EmailId', userEmail);\r\n this.sessionStorageService.setIntializePrepareDetails('PageName', 'initialize prepare template');\r\n\r\n this.router.navigate(['/global-error']);\r\n }\r\n });\r\n //}, 10);\r\n }\r\n }\r\n }\r\n\r\n handleConfigureDataEvents() {\r\n\r\n // Getting control fields\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.activeCtrlId = this.getDragActiveID(data);\r\n let previousSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl()\r\n if (previousSelectedControl) {\r\n let spncontrolEle: any = (document.getElementById(\"spn\" + previousSelectedControl));\r\n let resizablecontrolEle: any = (document.getElementById(\"resizable_\" + previousSelectedControl));\r\n let originalText: any = resizablecontrolEle.getAttribute('data-asteriskOriginalText');\r\n let clickedAttribute: any = spncontrolEle.getAttribute('data-clickedAttribute');\r\n let isHideTextWithAsterisk: any = resizablecontrolEle.getAttribute('data-isHideTextWithAsterisk');\r\n if (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n if (originalText) {\r\n const asterisks = '*'.repeat(originalText.length); // Replace text with asterisks\r\n if (spncontrolEle.innerHTML !== '*'.repeat(originalText.length)) {\r\n spncontrolEle.innerHTML = asterisks;\r\n }\r\n spncontrolEle.classList.add('add-text-ellipsis');\r\n if (!clickedAttribute && (clickedAttribute == 'false' || clickedAttribute == false)) {\r\n spncontrolEle.setAttribute('data-clickedAttribute', true);\r\n }\r\n }\r\n }\r\n }\r\n // localStorage.setItem('CurrentClickedDroppedControl', data.id);\r\n this.sessionStorageService.setCurrentClickedDroppedControl(data.id);\r\n this.updateRecipientPanelControlProperties();\r\n this.showControlFields(data.originalTitle.toLowerCase());\r\n let depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n if (event.ctrlKey === false) {\r\n this.controlPropertyService.removePreviousControlSelection(this.ctrlAndClickedControlsArr);\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n this.selectedItems.push('resizable_' + data.id);\r\n this.ctrlAndClickedControlsArr = [];\r\n this.ctrlAndClickedControlsArr.push('resizable_' + data.id);\r\n }\r\n setTimeout(() => {\r\n this.applyStylesToSelectedRecipient(this.selectedPanelRecipentId, \"2\", \"clicked\");\r\n this.controlPropertyService.applyIdAndHtmlId(data);\r\n this.updateSaveAsDefaultCheckedOrNot(data.id);\r\n this.hidePagesViewSection = true;\r\n if (this.isClose === false && this.hideDependencies == false) {\r\n depencieContainerResponsive.classList.remove('depencie-W');\r\n depencieContainerResponsive.classList.add('depencie-AdjustW');\r\n }\r\n this.updateLengthOrMaxCharLimitLabel();\r\n\r\n //updated init controle is checked or not based on attribute\r\n if (data && data.dataGuid && data.dataGuid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n this.controlPropertyService.checkeInitOnEachPageProperties(data.id);\r\n }\r\n if (data && data.dataGuid && data.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + data.id);\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n let dataPrefill: any = resizableCurrentSelectedControl.getAttribute('data-prefill');\r\n let datadisplayLabel: any = resizableCurrentSelectedControl.getAttribute('data-displayLabel');\r\n if (dataPrefill == \"true\") {\r\n if (addTextTextarea) addTextTextarea.setAttribute('maxlength', '4000');\r\n }\r\n else {\r\n if (addTextTextarea) addTextTextarea.setAttribute('maxlength', '400');\r\n }\r\n }\r\n }, 100);\r\n });\r\n\r\n //remove control\r\n this.commonService.callRemoveControlComponent$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { data: any; label: any; }) => {\r\n const { data, label } = value;\r\n // let currentControlId: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n if (label === 'ctrlHover') {\r\n this.removeControlComponent(value, currentControlId);\r\n } else {\r\n if (this.selectedItems && this.selectedItems.length > 0) {\r\n this.selectedItems.forEach((ele: any) => {\r\n const dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n if (dynamicComponentRef) {\r\n this.removeControlComponent(value, ele.replace('resizable_', ''));\r\n } else {\r\n this.removeControlComponent(value, currentControlId);\r\n }\r\n })\r\n } else {\r\n this.removeControlComponent(value, currentControlId);\r\n }\r\n this.resetCopyPasteUndoRedoList();\r\n }\r\n });\r\n\r\n //open dependency modal\r\n this.commonService.callOpenDependencyPopup$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((event: any) => {\r\n // this.openModal('', 'adddependencies', '');\r\n this.showDependenciesFields('');\r\n });\r\n\r\n // Getting recipent obj\r\n this.commonService.callOnRecipentChange$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((data: any) => {\r\n this.onRecipentChange(data);\r\n });\r\n\r\n //onmouseover changiing the recipient\r\n this.commonService.callOnMouseOverRecipentChange$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((data: any) => {\r\n this.onRecipentOverSelect(data.recipent, data.selectedColor);\r\n });\r\n\r\n //creating duplicate control event\r\n this.commonService.callOpenCreateDuplicateControl$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((data: any) => {\r\n this.copyPastedcontrolsArr = [];\r\n this.createControl(data, ControlConfig.Duplicate, 'false');\r\n });\r\n\r\n this.commonService.callUpdateSignerMultipleControl$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((data: any) => {\r\n this.openModal('', 'multiplesignerupdate', '')\r\n });\r\n\r\n this.zoomList = ['50', '75', '100', '125', '150', '175', '200'];\r\n //Check show or hide Dependencies Button\r\n this.showHideDependenciesButton();\r\n this.updateColorCode(this.groupColorCode);\r\n\r\n //Disable Redo and Undo Buttons\r\n this.arrCopyPasteCtrl = [];\r\n this.arrUndoRedoCtrl = [];\r\n this.arrCopyPasteCtrlsTemp = [];\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n // localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n\r\n this.disableRedoButtons();\r\n this.disableUndoButtons();\r\n setTimeout(() => {\r\n this.applyStylesToSelectedRecipient(this.selectedRecipentId, \"1\", \"\");\r\n }, 100);\r\n\r\n //localStorage.setItem('ReceipentLists', JSON.stringify(this.receipentListArr));\r\n this.showLoader = false;\r\n\r\n this.commonService.setTextOrNameAreaSetting$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((data: any) => {\r\n setTimeout(() => {\r\n this.setTextOrNameAreaSetting(data);\r\n }, 300);\r\n })\r\n\r\n //right click and if user select delete option\r\n this.commonService.selectedRightClickOption$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { data: any; label: any; }) => {\r\n const { data, label } = value;\r\n if (data.which != 3) {\r\n if (this.selectedItems && this.selectedItems.length) {\r\n if (label === 'Delete') {\r\n if (this.selectedItems && this.selectedItems.length) {\r\n this.deleteItems(this.selectedItems);\r\n }\r\n this.selectedItems.forEach((ele: any) => {\r\n if (ele) {\r\n const dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n if (dynamicComponentRef) {\r\n this.removeControl(ele.replace('resizable_', ''), data);\r\n }\r\n }\r\n this.updateUndoCtrlsCount();\r\n this.arrCopyPasteCtrl = [];\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n this.disableRedoButtons();\r\n this.disableUndoButtons();\r\n });\r\n } else if (label === 'Duplicate') {\r\n this.copyPastedcontrolsArr = [];\r\n this.createDupicateControl(data);\r\n this.onClickOutsideSelectionArea();\r\n // this.resetCopyPasteUndoRedoList();\r\n this.updateUndoCtrlsCount();\r\n }\r\n else if (label === 'Copy') {\r\n this.onCopyFun();\r\n }\r\n else if (label === 'Undo') {\r\n // this.undo(data);\r\n this.undoCtrl(data);\r\n }\r\n else if (label === 'Redo') {\r\n // this.onRedoFun({});\r\n this.redoCtrl(data);\r\n }\r\n else if (label === 'Paste') {\r\n // this.onPasteFun(data);\r\n this.onPaste();\r\n }\r\n }\r\n else {\r\n if (label === 'Undo') {\r\n // this.undo(data);\r\n this.undoCtrl(data);\r\n }\r\n else if (label === 'Redo') {\r\n // this.onRedoFun(data);\r\n this.redoCtrl(data);\r\n }\r\n else if (label === 'Copy') {\r\n this.onCopyFun();\r\n }\r\n else if (label === 'Paste') {\r\n if (this.selectedItems && this.selectedItems.length) {\r\n // this.onPasteFun(data);\r\n this.onPaste();\r\n }\r\n }\r\n }\r\n }\r\n });\r\n\r\n // Mouse selection controls\r\n this.controlSelection();\r\n }\r\n\r\n updateEnvelopeDocumentControlInformation() {\r\n //Get template sign and review document and controls Information\r\n let docSignName = \"\";\r\n setTimeout(() => {\r\n this.showLoader = true;\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.documentDetails) {\r\n let documentDetails: any = this.envelope.envelopeDetails.documentDetails;\r\n if (documentDetails && documentDetails.length > 0) {\r\n documentDetails = documentDetails.sort((a: any, b: any) => a.order > b.order ? 1 : -1);\r\n for (let index = 0; index < documentDetails.length; index++) {\r\n const documentElement = documentDetails[index];\r\n if (documentElement.actionType != \"Review\" && docSignName == \"\") {\r\n docSignName = documentElement.documentName != '' ? documentElement.documentName : '';\r\n this.previewObj = { 'documentName': docSignName };\r\n }\r\n }\r\n }\r\n\r\n let documentDetailsList = documentDetails;\r\n if (documentDetailsList && documentDetailsList.length > 0) {\r\n for (let index = 0; index < documentDetailsList.length; index++) {\r\n const docItem: any = documentDetailsList[index];\r\n let document_id: any = docItem.id;\r\n let documentContentDetails: any = docItem.documentContentDetails;\r\n if (documentContentDetails && documentContentDetails.length > 0) {\r\n for (let cindex = 0; cindex < documentContentDetails.length; cindex++) {\r\n const docContentItem: any = documentContentDetails[cindex];\r\n //let documentImagesArray: any = document.querySelectorAll('[id=\"' + docContentItem.pageNo + '\"]');\r\n let documentImagesArray: any = document.querySelectorAll('[img-doc-id=\"' + document_id + '\"]');\r\n Array.from(documentImagesArray).forEach((ele: any, index: any) => {\r\n let imagDocPageNo: any = ele.getAttribute('docpageno');\r\n let imagePage_No: any = ele.getAttribute('page-no');\r\n let img_document_id: any = ele.getAttribute('img-doc-id');\r\n if (docContentItem.documentPageNo == imagDocPageNo && docContentItem.documentID == document_id && imagePage_No != null) {\r\n let recpColorIndex: any = '';\r\n for (let index = 0; index < this.receipentListArr.length; index++) {\r\n const element = this.receipentListArr[index];\r\n if ((docContentItem.controlID.toLowerCase() != Control.Label.toLowerCase() && docContentItem.controlID.toLowerCase() != Control.Hyperlink.toLowerCase())\r\n && docContentItem.recipientID && (element.id.toLowerCase() == docContentItem.recipientID.toLowerCase())) {\r\n recpColorIndex = index;\r\n break;\r\n }\r\n else if (this.receipentListArr && this.receipentListArr.length == 1) {\r\n recpColorIndex = 0;\r\n break;\r\n }\r\n }\r\n\r\n let textFormatting: any = {};\r\n if (docContentItem && docContentItem.controlStyle && docContentItem.controlStyle != null) {\r\n textFormatting = {\r\n color: this.isUndefinedOrNull(docContentItem.controlStyle.fontColor, 1),\r\n fontID: this.isUndefinedOrNull(docContentItem.controlStyle.fontID, 2),\r\n fontFamily: this.isUndefinedOrNull(docContentItem.controlStyle.fontName, 3),\r\n fontSize: this.isUndefinedOrNull(docContentItem.controlStyle.fontSize, 4),\r\n fontWeight: docContentItem.controlStyle.isBold == true ? 'bold' : 'normal',\r\n textDecoration: docContentItem.controlStyle.isUnderline == true ? 'underline' : 'none',\r\n fontStyle: docContentItem.controlStyle.isItalic == true ? 'italic' : 'normal',\r\n lineHeight: this.isUndefinedOrNull(docContentItem.controlStyle.fontSize, 5),\r\n textAlign: 'left'\r\n }\r\n }\r\n\r\n let controlObj: any = {\r\n id: docContentItem.controlHtmlID,\r\n controlName: this.commonService.getControlNameBasedOnGuid(docContentItem.controlID),\r\n pageNo: imagePage_No,\r\n dataDocumentContentId: docContentItem.id,\r\n dataGuid: docContentItem.controlID,\r\n recipientId: (this.receipentListArr && this.receipentListArr.length == 1) ? this.receipentListArr[0].id : docContentItem.recipientID,\r\n recpColor: (docContentItem.controlID.toLowerCase() != Control.Label.toLowerCase() && docContentItem.controlID.toLowerCase() != Control.Hyperlink.toLowerCase()) ? this.receipentColorArr[recpColorIndex] : \"#d21513\",\r\n top: docContentItem.topIndex,\r\n left: docContentItem.leftIndex,\r\n height: docContentItem.height,\r\n width: (docContentItem.controlID.toLowerCase() == Control.DateTimeStamp.toLowerCase() && docContentItem.width == '122') ? 150 : docContentItem.width,\r\n controlData: docContentItem,\r\n textFormatting: textFormatting\r\n };\r\n this.createControl(controlObj, ControlConfig.Existing, 'false');\r\n this.isPageLoadingFirstTime = false;\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n setTimeout(() => {\r\n this.showLoader = true;\r\n this.controlPropertyService.updateExistingControlDependencyFields(documentDetails);\r\n this.showLoader = false;\r\n }, 1000);\r\n\r\n //File Review\r\n if (this.enableFileReview == true) {\r\n let filesReviewInfoDetails = this.envelope.envelopeDetails.documentDetails.filter((rec: any) => (rec.actionType == ActionTypes.Review));\r\n if (filesReviewInfoDetails && filesReviewInfoDetails.length > 0) {\r\n this.filesReviewCount = filesReviewInfoDetails.length;\r\n for (let index = 0; index < filesReviewInfoDetails.length; index++) {\r\n const filesReviewItem: any = filesReviewInfoDetails[index];\r\n this.filesReview.push(filesReviewItem.documentName);\r\n }\r\n }\r\n }\r\n }\r\n this.showLoader = false;\r\n }, 300); //500\r\n }\r\n\r\n getDefaultValues() {\r\n //need to remove else block once developement is done\r\n this.documentName = 'Sample Document';\r\n this.previewObj = {\r\n 'documentName': this.documentName\r\n }\r\n\r\n this.authService.setRecipientColorDetails(this.receipentColorArr);\r\n this.authService.setRecipientDetails(this.receipentListArr); //need to comment\r\n this.selectedRecipentName = this.receipentListArr[0].name;\r\n this.selectedPanelRecipentName = this.receipentListArr[0].name;\r\n this.selectedRecipentId = this.receipentListArr[0].id;\r\n this.selectedPanelRecipentId = this.receipentListArr[0].id;\r\n this.recipientsObj = {\r\n selectedRecipentName: this.selectedRecipentName,\r\n selectedRecipentColor: this.selectedRecipentColor\r\n }\r\n this.imagesArr = [\r\n {\r\n path: '../assets/images/1.jpg', isActive: false, id: 1, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n controlsCount: 0\r\n },\r\n {\r\n path: '../assets/images/2.jpg', isActive: false, id: 2, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n controlsCount: 0\r\n },\r\n {\r\n path: '../assets/images/3.jpg', isActive: false, id: 3, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: '17e9fe80-60cf-4583-99a8-dab600cae715', name: 'Sample Doc.pdf' },\r\n controlsCount: 0\r\n },\r\n {\r\n path: '../assets/images/4.jpg', isActive: false, id: 4, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c7', name: 'Sample Document1.pdf' },\r\n controlsCount: 0\r\n },\r\n {\r\n path: '../assets/images/5.jpg', isActive: false, id: 5, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c7', name: 'Sample Document1.pdf' },\r\n controlsCount: 0\r\n },\r\n {\r\n path: '../assets/images/6.jpg', isActive: false, id: 6, documentId: '372D0338-B464-457E-8E93-2A8FC80EC504', width: '915px',\r\n document: { id: 'a0482889-7d6c-4270-8f94-bd790e2214c7', name: 'Sample Document2.pdf' },\r\n controlsCount: 0\r\n }\r\n ];\r\n this.selectDefaultDateFormat = '1';\r\n this.hideFixedwidthCheckbox = false;\r\n this.controlPropertyService.setHideFixedwidthCheckbox(this.hideFixedwidthCheckbox);\r\n\r\n this.removePaginationDisabledClass();\r\n this.totalDocPageImagesCount = this.imagesArr.length;\r\n // localStorage.setItem(\"isEnvelopeEditable\", this.isEnvelopeEditable == true ? \"true\" : \"true\");\r\n this.sessionStorageService.setIsEnvelopeEditable(this.isEnvelopeEditable == true ? 'true' : 'false');\r\n this.handleConfigureDataEvents();\r\n this.updateTempTotalCountPerPage();\r\n this.commonService.updatePrevObject(\r\n {\r\n 'totalControls': 0,\r\n 'pageNumber': 1,\r\n 'tempTotalCountPerPage': this.tempTotalCountPerPage,\r\n // 'documentList': this.imagesArr,\r\n 'totalImagesCount': this.totalDocPageImagesCount\r\n });\r\n this.showLoader = false;\r\n // localStorage.setItem(\"AllImagesProcessed\", \"true\");\r\n this.sessionStorageService.setAllImagesProcessed('true');\r\n\r\n this.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n this.commonService.removeButtonDisabledClass();\r\n }\r\n\r\n public showSuccess(): void {\r\n this.showSave = false;\r\n this.showRemove = !this.showRemove;\r\n this.toastrService.success(this.commonConstants.DataIsSavedSuccessfully, 'Success');\r\n }\r\n\r\n onShowRemove() {\r\n this.showRemove = false;\r\n this.showSave = !this.showSave;\r\n this.toastrService.info(this.commonConstants.DataIsRemovedSuccessfully, 'Success');\r\n }\r\n toggleFilesReview() {\r\n this.filesShowDiv = !this.filesShowDiv;\r\n }\r\n\r\n onPreviewPagesView() {\r\n this.hidePagesViewSection = !this.hidePagesViewSection;\r\n this.isClose = true;\r\n this.depenciestatus = this.hidePagesViewSection;\r\n this.activeCtrlId = 0;\r\n this.hideControlViewSection = this.isClose;\r\n this.controlPropertyService.removeControlActiveClass(\"\");\r\n this.updateExtendDocumentWidth();\r\n // setTimeout(() => {\r\n // \tthis.updateExtendDocumentWidth();\r\n // }, 100);\r\n\r\n let depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n if (this.hideDependencies == false && this.hidePagesViewSection === true) {\r\n depencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n depencieContainerResponsive.classList.add('depencie-W');\r\n }\r\n if (this.hideDependencies == false && this.hidePagesViewSection === false) {\r\n depencieContainerResponsive.classList.remove('depencie-W');\r\n depencieContainerResponsive.classList.add('depencie-AdjustW');\r\n }\r\n\r\n }\r\n\r\n // onControlIdView() {\r\n // this.hideControlView = !this.hideControlView;\r\n // }\r\n\r\n /* To copy Text from Textbox */\r\n copyInputMessage(inputElement: any) {\r\n inputElement.select();\r\n document.execCommand('copy');\r\n inputElement.setSelectionRange(0, 0);\r\n this.toastrService.success(this.commonConstants.CopiedTtoClipboard, 'Success');\r\n }\r\n\r\n fadeInOut(event: any) {\r\n this.isClose = !this.isClose;\r\n this.activeCtrlId = 0;\r\n this.controlPropertyService.removeControlActiveClass(\"\");\r\n this.hidePagesViewSection = !this.hidePagesViewSection;\r\n this.hideControlViewSection = this.isClose;\r\n setTimeout(() => {\r\n this.updateExtendDocumentWidth();\r\n }, 100);\r\n }\r\n\r\n checkBold() {\r\n this.isBold = !this.isBold;\r\n this.applyFontStyles();\r\n }\r\n\r\n checkItalic() {\r\n this.isItalic = !this.isItalic;\r\n this.applyFontStyles();\r\n }\r\n\r\n checkUnderline() {\r\n this.isUnderlined = !this.isUnderlined;\r\n this.applyFontStyles();\r\n }\r\n\r\n checkAlignLeft() {\r\n this.isAlignleft = true;\r\n this.isAlignmiddle = false;\r\n this.isAlignright = false;\r\n this.applyTextAlign('left');\r\n }\r\n\r\n checkAlignMiddle() {\r\n this.isAlignleft = false;\r\n this.isAlignmiddle = true;\r\n this.isAlignright = false;\r\n this.applyTextAlign('center');\r\n }\r\n\r\n checkAlignRight() {\r\n this.isAlignleft = false;\r\n this.isAlignmiddle = false;\r\n this.isAlignright = true;\r\n this.applyTextAlign('right');\r\n }\r\n\r\n rotate(event: any) {\r\n this.isVisited = !this.isVisited;\r\n if (!this.isVisited === false) {\r\n event.srcElement.classList.remove('rotate');\r\n }\r\n else {\r\n event.srcElement.classList.add('rotate');\r\n }\r\n }\r\n\r\n onRecipentChange(recipentObj: any) {\r\n this.selectedRecipentName = recipentObj.recipent.name;\r\n this.selectedRecipentId = recipentObj.recipent.id;\r\n this.selectedRecipentColor = recipentObj.selectedColor;\r\n this.dragItemBgColor = recipentObj.selectedColor;\r\n\r\n this.recipientsObj = {\r\n selectedRecipentName: this.selectedRecipentName,\r\n selectedRecipentColor: this.selectedRecipentColor\r\n }\r\n this.applyStylesToSelectedRecipient(recipentObj.recipent.id, \"1\", '');\r\n }\r\n\r\n onRecipentSelect(recipient: any, selectedColor1: any) {\r\n this.selectedPanelRecipentName = recipient.name;\r\n this.selectedPanelRecipentColor = selectedColor1;\r\n this.selectedPanelRecipentId = recipient.id;\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.applyRecipientDetailsToControl(currentSelectedControl);\r\n this.applyStylesToSelectedRecipient(recipient.id, \"2\", '');\r\n }\r\n\r\n onRecipentOverSelect(recipient: any, selectedColor: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyRecipientDetailsOnMouseOverChange(recipient, selectedColor, currentSelectedControl);\r\n this.selectedPanelRecipentName = recipient.name;\r\n this.selectedPanelRecipentColor = selectedColor;\r\n }\r\n\r\n\r\n //Apply styles to the control which is clicked or dropped\r\n applyCheckboxGroup(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n\r\n if (event.target.checked == true) { //apply\r\n this.displayGroupCheckBox = true;\r\n this.controlPropertyService.setRadioCheckBoxGroupChecked(currentSelectedControl, null);\r\n }\r\n else {\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n let spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n let inputGroupCtrl: any = (document.getElementById(\"inputGroupCtrl\"));\r\n let inputGroupNameCtrl: any = (document.getElementById(\"inputGroupNameCtrl\"));\r\n\r\n if (inputGroupCtrl) inputGroupCtrl.value = '';\r\n if (inputGroupNameCtrl) inputGroupNameCtrl.value = '';\r\n if (resizableCurrentSelectedControl) {\r\n resizableCurrentSelectedControl.setAttribute('data-groupname', '');\r\n resizableCurrentSelectedControl.setAttribute('data-isGroupChecked', 'false');\r\n }\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.setAttribute('name', '');\r\n }\r\n this.displayGroupCheckBox = false;\r\n }\r\n\r\n this.ischeckboxGroup = event.target.checked;\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n getControls(properties: any) {\r\n let trueProperties: any[] = [];\r\n for (const prop in properties) {\r\n if (properties[prop] === true) {\r\n trueProperties.push(prop);\r\n }\r\n }\r\n return trueProperties[0];\r\n }\r\n\r\n saveAsDefault(event: any, controlsObj: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n //this.saveAsDefaultCheckbox = (event.target.checked == true) ? true : false;\r\n\r\n // Below code is to get control name\r\n let ctrlNameProperties: any = this.getControls(controlsObj);\r\n let ctrlName: any = '';\r\n if (ctrlNameProperties && ctrlNameProperties.length) {\r\n ctrlName = ctrlNameProperties.split('P')[0];\r\n if (ctrlName.toLowerCase() === 'signature') {\r\n ctrlName = 'sign';\r\n }\r\n if (ctrlName.toLowerCase() === 'newinitials') {\r\n ctrlName = 'initials';\r\n }\r\n if (ctrlName.toLowerCase() === 'datetime' || ctrlName.toLowerCase() === 'datetimestamp') {\r\n ctrlName = 'datetimestamp';\r\n }\r\n }\r\n\r\n let spnctrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n if (event.target.checked == true) {\r\n this.toastrService.clear();\r\n this.toastrService.success(this.commonConstants.DataIsSavedSuccessfully, 'Success');\r\n // this.checkboxText = 'Save as Default';\r\n\r\n if (spnctrlEle) {\r\n spnctrlEle.setAttribute('data-saveasdefault', true);\r\n this.updateSaveAsDefaultChecked = true;\r\n this.defaultControlStyleService.updateDictionary(ctrlName, {\r\n saveAsDefault: true,\r\n required: ctrlEle.getAttribute('data-selected'),\r\n fontFamily: spnctrlEle.style.fontFamily,\r\n fontWeight: spnctrlEle.style.fontWeight,\r\n textDecoration: spnctrlEle.style.textDecoration,\r\n fontStyle: spnctrlEle.style.fontStyle,\r\n fontSize: spnctrlEle.style.fontSize,\r\n color: spnctrlEle.style.color,\r\n textAlign: spnctrlEle.style.textAlign,\r\n lineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n validationType: '',\r\n adlnName: '',\r\n adlnOption: '',\r\n preSelected: ctrlEle.getAttribute('data-selected1'),\r\n checkboxGroup: ctrlEle.getAttribute('data-isgroupchecked'),\r\n checkboxGroupName: ctrlEle.getAttribute('data-groupname'),\r\n checkboxName: spnctrlEle.getAttribute('name'),\r\n dateFormat: this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat),\r\n size: 'standard',\r\n fontTypeMeasurement: this.defaultTypographySize,\r\n firstLineBlank: this.isdrpFirstLineBlank,\r\n labelControlValue: spnctrlEle.innerText ? spnctrlEle.innerText : ''\r\n })\r\n\r\n let newData = this.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, spnctrlEle.style.fontFamily, this.isRequiredChecked, this.defaultTypographySize);\r\n // console.log('save as default true', newData);\r\n }\r\n }\r\n else {\r\n // this.checkboxText = 'Remove Default';\r\n this.toastrService.clear();\r\n this.toastrService.success(this.commonConstants.DataIsRemovedSuccessfully, 'Success');\r\n if (spnctrlEle) {\r\n this.defaultControlStyleService.updateDictionary(ctrlName, {\r\n saveAsDefault: false,\r\n required: (ctrlName.toLowerCase() === 'dropdown' || ctrlName.toLowerCase() === 'checkbox' || ctrlName.toLowerCase() === 'radio') ? false : (ctrlName.toLowerCase() === 'sign') ? this.signatureControlRequired : true,\r\n fontFamily: 'Courier',\r\n fontWeight: 'normal',\r\n textDecoration: 'none',\r\n fontStyle: 'normal',\r\n fontSize: '12px',\r\n color: '#000',\r\n textAlign: 'left',\r\n lineHeight: ctrlName.toLowerCase() === 'date' ? '' : '12px',\r\n validationType: '',\r\n adlnName: '',\r\n adlnOption: '',\r\n preSelected: false,\r\n checkboxGroup: false,\r\n checkboxGroupName: '',\r\n checkboxName: '',\r\n dateFormat: '',\r\n size: 'standard',\r\n fontTypeMeasurement: this.defaultUserSettingsTypographySize,\r\n firstLineBlank: false,\r\n labelControlValue: spnctrlEle.innerText ? spnctrlEle.innerText : ''\r\n })\r\n\r\n spnctrlEle.setAttribute('data-saveasdefault', false);\r\n if (ctrlName.toLowerCase() === 'initials' || ctrlName.toLowerCase() === 'name' || ctrlName.toLowerCase() === 'title' ||\r\n ctrlName.toLowerCase() === 'company' || ctrlName.toLowerCase() === 'email' ||\r\n ctrlName.toLowerCase() === 'date' || ctrlName.toLowerCase() === 'text') {\r\n this.isRequiredChecked = true;\r\n ctrlEle.setAttribute('data-selected', true);\r\n }\r\n else if (ctrlName.toLowerCase() === 'dropdown' || ctrlName.toLowerCase() === 'checkbox' || ctrlName.toLowerCase() === 'radio') {\r\n this.isRequiredChecked = false;\r\n ctrlEle.setAttribute('data-selected', false);\r\n }\r\n else if (ctrlName.toLowerCase() === 'sign') {\r\n let chRequiredSelected: any = (document.getElementById(\"chRequiredSelected\"));\r\n if (chRequiredSelected) {\r\n chRequiredSelected.checked = this.signatureControlRequired;\r\n }\r\n this.isRequiredChecked = this.signatureControlRequired;\r\n ctrlEle.setAttribute('data-selected', this.signatureControlRequired);\r\n this.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n }\r\n\r\n //Assign Default Property\r\n if (ctrlName.toLowerCase() === 'text') {\r\n this.setShowTextFiledToNone();\r\n this.selectValidation = '1';\r\n this.applyTextTypeControl(\"1\");\r\n }\r\n //Assign Default Property\r\n\r\n this.defaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n spnctrlEle.style.color = this.defaultColorPicker;\r\n spnctrlEle.style.fontFamily = 'Courier';\r\n spnctrlEle.style.fontWeight = 'normal';\r\n spnctrlEle.style.textDecoration = 'none';\r\n spnctrlEle.style.fontStyle = 'normal';\r\n spnctrlEle.style.fontSize = '12px';\r\n spnctrlEle.style.textAlign = 'Left';\r\n spnctrlEle.style.lineHeight = '12px';\r\n\r\n if (ctrlEle && ctrlName.toLowerCase() === 'date') {\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n spnctrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n this.updateCtrlDateFormat(currentSelectedControl, 1, '');\r\n ctrlEle.style.height = '16px';\r\n ctrlEle.setAttribute('data-defaultFormat', this.controlPropertyService.getDateFormat(this.selectDefaultDateFormat));\r\n }\r\n\r\n this.isBold = false;\r\n this.isItalic = false;\r\n this.isUnderlined = false;\r\n this.isAlignleft = false;\r\n this.isAlignmiddle = false;\r\n this.isAlignright = false;\r\n this.defaultFontSize = '12';\r\n this.defaultFontFamily = 'Courier';\r\n this.defaultTypographySize = this.defaultUserSettingsTypographySize; //get based on usersettings\r\n\r\n this.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, 'Courier', this.isRequiredChecked, this.defaultUserSettingsTypographySize);\r\n\r\n let tempData: any = this.defaultControlStyleService.getSaveAsDefaultData();\r\n if (tempData && tempData.length) {\r\n tempData = tempData.filter(function (el: any) { return el.Control != ctrlName.toLowerCase(); });\r\n }\r\n\r\n this.defaultControlStyleService.updateSaveAsDefaultData(tempData);\r\n ctrlEle.setAttribute(\"data-typography\", this.defaultTypographySize);\r\n this.applyFontSize(this.defaultFontSize, 0);\r\n }\r\n }\r\n }\r\n\r\n onOptionsSelected(value: any) {\r\n //console.log('The selected value is ' + value);\r\n this.selectDefaultSizeValue = value;\r\n this.datacount = this.checkboxSizeControl.value;\r\n //console.log('Default value:', this.datacount);\r\n }\r\n\r\n radiocheckboxSizes() {\r\n //console.log('user selection', this.selectDefaultSizeValue);\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyRadioCheckboxSizes(this.selectDefaultSizeValue, this.currentControlId);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n validationType() {\r\n //console.log('user selection', this.selectValidation);\r\n }\r\n\r\n onAdditionalValidation() {\r\n //console.log('user selection', this.selectAddtionalValidation);\r\n }\r\n\r\n // dragAnddrop funtionlaity starts\r\n\r\n // setting cursor positions\r\n computeDragRenderPos(pos: any, DragRef: any) {\r\n // console.log('DragRef',DragRef.data.data.title);\r\n let x: any = pos.x;\r\n let y: any = pos.y - 12;\r\n\r\n if (DragRef && DragRef.data && DragRef.data.data) {\r\n if (DragRef.data.data.title === 'Checkbox' || DragRef.data.data.title === 'Radio') {\r\n y = pos.y - 6;\r\n x = pos.x - 6;\r\n } else {\r\n y = pos.y - 12;\r\n }\r\n }\r\n return { x: x, y: y };\r\n }\r\n\r\n //Getting random id and adding as control id\r\n getId() {\r\n return Math.round(1 + Math.floor(Math.random() * 100000));\r\n }\r\n\r\n onDragStarted(e: any) {\r\n this.bodyElement.style.cursor = 'move';\r\n if (e && e.source && e.source.data && e.source.data.id) {\r\n this.activeCtrlId = e.source.data.id;\r\n }\r\n }\r\n\r\n drop(event: any) {\r\n this.hideDependencies = true;\r\n //console.log('Item dropped on the document page:', event.event.target.id);\r\n this.bodyElement.style.cursor = 'unset';\r\n this.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n this.setShowTextFiledToNone();\r\n this.controlPropertyService.setdefaultTextValidation();\r\n // this.onClickOutsideSelectionArea();\r\n this.resetCopyPasteUndoRedoList();\r\n this.isCopiedSelecteditems = false;\r\n this.updateUndoCtrlsCount();\r\n // localStorage.setItem('isCopiedSelecteditems', 'false');\r\n this.sessionStorageService.setIsCopiedSelecteditems('false');\r\n // this.commonService.setSelectedItems([]);\r\n\r\n if (event && event.previousContainer !== event.container) {\r\n if (event && event.item && event.item.data) {\r\n let imageCtrl: any = document.getElementById('imgControl_' + event.event.target.id);\r\n let componentType: any = ControlComponent; //this.getComponentType(event.item.data.title);\r\n if (imageCtrl) {\r\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\r\n const componentRef: any = componentFactory.create(this.injector);\r\n // Set input properties as needed\r\n let controlTopAdjustmentDiff: any = 10;\r\n let controlLeftAdjustmentDiff: any = 0;\r\n let imageWidth: any = imageCtrl.offsetWidth;\r\n let imageHeight: any = imageCtrl.offsetHeight;\r\n let controlClassName: any = event.item.data.title.toLowerCase();\r\n let controlName: any = event.item.data.title;\r\n let controlId: any = event.item.data.title.toLowerCase();\r\n let defaultWidth: any = 100;\r\n let defaultHeight: any = 20;\r\n let minWidth: any = 100;\r\n let minHeight: any = 10;\r\n // let ctrlBgColor: any = '#eee';\r\n let ctrlBgColor: any = '#fff';\r\n let controlDateFormat: any = '';\r\n let placeHolderText: any = event.item.data.originalTitle;\r\n let controlResourceKeys: any = '';\r\n let defaultDate: boolean = false;\r\n if (event.item.data.guid.toLowerCase() === Control.Signature.toLowerCase()) {\r\n controlClassName = 'sign';\r\n controlName = 'Signature';\r\n controlId = 'sign';\r\n defaultWidth = 215;\r\n // defaultHeight = 37;\r\n defaultHeight = 35;\r\n minWidth = 100;\r\n // minHeight = 37;\r\n minHeight = 35;\r\n // controlTopAdjustmentDiff = 27;\r\n controlTopAdjustmentDiff = 12;\r\n placeHolderText = 'Sign';\r\n controlResourceKeys = ControlResourceKeys.Signature;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n controlClassName = 'initials';\r\n controlId = 'newInitials';\r\n defaultWidth = 47;\r\n defaultHeight = 23;\r\n minWidth = 47;\r\n controlTopAdjustmentDiff = 12;\r\n controlName = 'NewInitials';\r\n placeHolderText = 'Initials';\r\n controlResourceKeys = ControlResourceKeys.Initials; //translations text\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Name.toLowerCase()) {\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 0;\r\n controlClassName = 'name';\r\n controlResourceKeys = ControlResourceKeys.Name;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 0;\r\n controlClassName = 'text';\r\n controlResourceKeys = ControlResourceKeys.Text;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n controlClassName = 'dropdown';\r\n controlId = 'dropDown';\r\n defaultWidth = 100;\r\n minWidth = 100;\r\n controlResourceKeys = ControlResourceKeys.DropDown;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n controlDateFormat = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat); //'mm/dd/yyyy';\r\n controlName = 'Date';\r\n controlClassName = 'date';\r\n controlTopAdjustmentDiff = 9;\r\n defaultDate = false;\r\n defaultHeight = 16;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.DateTimeStamp.toLowerCase()) {\r\n controlClassName = 'datetimestamp';\r\n controlName = 'DateTimeStamp';\r\n controlId = 'dateTimeStamp';\r\n defaultWidth = 135;\r\n minHeight = 15;\r\n controlTopAdjustmentDiff = 9;\r\n ctrlBgColor = 'yellow';\r\n placeHolderText = 'Date & Time Stamp';\r\n controlResourceKeys = ControlResourceKeys.DateTimeStamp;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Label.toLowerCase()) {\r\n ctrlBgColor = 'yellow';\r\n controlClassName = 'label';\r\n controlResourceKeys = ControlResourceKeys.Label;\r\n minWidth = 100;\r\n defaultWidth = 100;\r\n controlTopAdjustmentDiff = 12;\r\n minHeight = 20;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n defaultWidth = 22;\r\n defaultHeight = 22;\r\n minWidth = 18;\r\n minHeight = 18;\r\n // controlTopAdjustmentDiff = 8;\r\n // controlLeftAdjustmentDiff = 6;\r\n controlTopAdjustmentDiff = 11;\r\n controlLeftAdjustmentDiff = 12;\r\n ctrlBgColor = 'white';\r\n controlClassName = 'radio';\r\n controlResourceKeys = ControlResourceKeys.Radio;\r\n this.isRadioRequiredChecked = false;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n defaultWidth = 22;\r\n defaultHeight = 22;\r\n minWidth = 18;\r\n minHeight = 18;\r\n // controlTopAdjustmentDiff = 8;\r\n // controlLeftAdjustmentDiff = 6;\r\n controlTopAdjustmentDiff = 12;\r\n controlLeftAdjustmentDiff = 12;\r\n ctrlBgColor = 'white';\r\n controlClassName = 'checkbox';\r\n controlResourceKeys = ControlResourceKeys.Checkbox;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Company.toLowerCase()) {\r\n controlClassName = 'company';\r\n defaultWidth = 100;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n controlResourceKeys = ControlResourceKeys.Company;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Title.toLowerCase()) {\r\n defaultWidth = 167;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n controlClassName = 'title';\r\n controlResourceKeys = ControlResourceKeys.Title;\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Hyperlink.toLowerCase()) {\r\n controlClassName = 'hyperlink';\r\n controlResourceKeys = ControlResourceKeys.Hyperlink;\r\n ctrlBgColor = 'yellow';\r\n }\r\n else if (event.item.data.guid.toLowerCase() === Control.Email.toLowerCase()) {\r\n controlClassName = 'email';\r\n controlResourceKeys = ControlResourceKeys.Email;\r\n defaultWidth = 100;\r\n defaultHeight = 20;\r\n minWidth = 100;\r\n }\r\n\r\n placeHolderText = this.commonService.getTranslatedText(placeHolderText, controlResourceKeys);\r\n let ctrlGuid: any = this.commonService.getGuid(controlName, controlClassName);\r\n let saveAsDefaultVal: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue(controlClassName);\r\n componentRef.instance.ctrlObj = {\r\n top: (event.event.offsetY - controlTopAdjustmentDiff),\r\n left: (event.event.offsetX - controlLeftAdjustmentDiff),\r\n width: defaultWidth,\r\n height: defaultHeight,\r\n controlName: controlName,\r\n className: controlClassName,\r\n id: controlId + 'Control' + this.getId(),\r\n title: placeHolderText,\r\n pageNo: event.event.target.id,\r\n minWidth: minWidth,\r\n minHeight: minHeight,\r\n bgColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? ctrlBgColor : ctrlBgColor,\r\n outlineColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? '2px solid ' + this.selectedRecipentColor : \"2px solid #999\",\r\n recipientId: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? this.selectedRecipentId : \"\",\r\n recpColor: (controlClassName != \"label\" && controlClassName != \"hyperlink\") ? this.selectedRecipentColor : \"1px solid #999\",\r\n dataGuid: ctrlGuid,\r\n dataDocumentContentId: this.commonService.generateUUID(), //this is different UUID\r\n ctrlNumber: this.getSameControlNumberCount(ctrlGuid, event.event.target.id),\r\n controlDateFormat: controlDateFormat,\r\n typography: this.defaultUserSettingsTypographySize,\r\n placeHolderText: placeHolderText,\r\n recipientsObj: this.recipientsObj,\r\n originalTitle: event.item.data.originalTitle.toLowerCase(),\r\n defaultDate: false,\r\n isRequired: this.isRequiredChecked == true ? \"true\" : \"false\",\r\n textFormatting: (saveAsDefaultVal === false || saveAsDefaultVal === 'false' || saveAsDefaultVal === true || saveAsDefaultVal === 'true') ? this.defaultControlStyleService.getDictionaryByKey(controlClassName) : this.defaultControlStyleService.getDefaultControlTextObject(),\r\n isEnvelopeEditable: this.isEnvelopeEditable\r\n };\r\n\r\n if (saveAsDefaultVal === true || saveAsDefaultVal === 'true') {\r\n componentRef.instance.ctrlObj.typography = componentRef.instance.ctrlObj.textFormatting.fontTypeMeasurement;\r\n }\r\n\r\n //console.log('Outline color:', componentRef.instance.outlineColor);\r\n if ((event.event.offsetX + defaultWidth) > imageWidth) {\r\n let tempLeft: any = (event.event.offsetX + defaultWidth) - imageWidth;\r\n let rightBoundaryDiff: any = 6;\r\n componentRef.instance.ctrlObj.left = (event.event.offsetX - (tempLeft + rightBoundaryDiff));\r\n }\r\n\r\n if (event.event.offsetY <= 5) {\r\n let topBoundaryDiff: any = 6;\r\n componentRef.instance.ctrlObj.top = 0;\r\n componentRef.instance.ctrlObj.top = topBoundaryDiff;\r\n }\r\n if ((event.event.offsetY + defaultHeight) > imageHeight) {\r\n let tempTop: any = (event.event.offsetY + defaultHeight) - imageHeight;\r\n let bottomBoundaryDiff: any = 6;\r\n if (event.item.data.guid.toLowerCase() === Control.Signature.toLowerCase()) {\r\n bottomBoundaryDiff = 9;\r\n }\r\n componentRef.instance.ctrlObj.top = (event.event.offsetY - (tempTop + bottomBoundaryDiff));\r\n }\r\n\r\n this.dynamicComponentRefs.set(componentRef.instance.ctrlObj.id, componentRef);\r\n this.currentControlId = componentRef.instance.ctrlObj.id;\r\n // localStorage.setItem('CurrentClickedDroppedControl', componentRef.instance.ctrlObj.id);\r\n this.sessionStorageService.setCurrentClickedDroppedControl(componentRef.instance.ctrlObj.id);\r\n\r\n // Attach the component to the DOM\r\n this.appRef.attachView(componentRef.hostView);\r\n const domElem = (componentRef.hostView as EmbeddedViewRef).rootNodes[0] as HTMLElement;\r\n imageCtrl?.appendChild(domElem);\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n this.selectedItems.push('resizable_' + componentRef.instance.ctrlObj.id);\r\n this.ctrlAndClickedControlsArr = [];\r\n this.ctrlAndClickedControlsArr.push('resizable_' + componentRef.instance.ctrlObj.id);\r\n\r\n if (event.item.data.guid) {\r\n this.showControlFields(event.item.data.originalTitle.toLowerCase());\r\n this.selectedPanelRecipentName = this.selectedRecipentName;\r\n this.selectedPanelRecipentColor = this.selectedRecipentColor;\r\n setTimeout(() => {\r\n this.defaultColorPicker = componentRef.instance.ctrlObj.textFormatting.color;\r\n this.updateSaveAsDefault(componentRef.instance.ctrlObj);\r\n this.applyStylesToSelectedRecipient(this.selectedRecipentId, \"2\", '');\r\n this.checkTooltipIsApplicable(event.item.data.title.toLowerCase(), componentRef.instance.ctrlObj.id);\r\n this.controlPropertyService.applyIdAndHtmlId(componentRef.instance.ctrlObj);\r\n this.checkLengthNameAndTextControl(componentRef.instance.ctrlObj);\r\n this.isdrpFirstLineBlank = componentRef.instance.ctrlObj.textFormatting.firstLineBlank;\r\n this.isChkPreSelected = componentRef.instance.ctrlObj.textFormatting.preSelected;\r\n this.ischeckboxGroup = componentRef.instance.ctrlObj.textFormatting.checkboxGroup;\r\n this.checkboxGroupName = componentRef.instance.ctrlObj.textFormatting.checkboxGroupName;\r\n this.checkboxName = componentRef.instance.ctrlObj.textFormatting.checkboxName;\r\n\r\n if (event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n this.updateCtrlDateFormat(componentRef.instance.ctrlObj.id, 0, componentRef.instance.ctrlObj.textFormatting);\r\n }\r\n if (event.item.data.guid.toLowerCase() === Control.Label.toLowerCase()) {\r\n if (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'true') {\r\n let spnSelectEle: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n if (spnSelectEle) {\r\n spnSelectEle.setAttribute('data-label-text', componentRef.instance.ctrlObj.textFormatting.labelControlValue);\r\n spnSelectEle.setAttribute('isupdated', true);\r\n spnSelectEle.innerText = componentRef.instance.ctrlObj.textFormatting.labelControlValue;\r\n if (componentRef.instance.ctrlObj.textFormatting.labelControlValue === '') {\r\n spnSelectEle.innerText = 'Label';\r\n }\r\n }\r\n }\r\n }\r\n if (event.item.data.guid.toLowerCase() !== Control.Radio.toLowerCase() &&\r\n event.item.data.guid.toLowerCase() !== Control.Checkbox.toLowerCase() &&\r\n event.item.data.guid.toLowerCase() !== Control.Signature.toLowerCase() &&\r\n event.item.data.guid.toLowerCase() !== Control.Initials.toLowerCase() &&\r\n event.item.data.guid.toLowerCase() !== Control.DropDown.toLowerCase()) {\r\n let fontSize = componentRef.instance.ctrlObj.textFormatting.fontSize;\r\n let curFontSize: any;\r\n if (!Number.isNaN(componentRef.instance.ctrlObj.textFormatting.fontSize)) {\r\n curFontSize = componentRef.instance.ctrlObj.textFormatting.fontSize\r\n }\r\n else {\r\n curFontSize = componentRef.instance.ctrlObj.textFormatting.fontSize.split('px')[0];\r\n }\r\n let finalFontSize: any;\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + componentRef.instance.ctrlObj.id));\r\n if (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n if (event.item.data.guid.toLowerCase() == Control.Text.toLowerCase()) {\r\n let adlnOption: any = componentRef.instance.ctrlObj.textFormatting.adlnOption;\r\n let adlnName: any = componentRef.instance.ctrlObj.textFormatting.adlnName;\r\n let validationType: any = componentRef.instance.ctrlObj.textFormatting.validationType;\r\n if (adlnName && adlnName != \"null\" && adlnName != \"undefined\") {\r\n let additionalValidationItem: any = \"\";\r\n if (adlnName == \"Zip Format\") {\r\n if (adlnOption == \"Zip+4\") adlnOption = \"Zip + 4\";\r\n additionalValidationItem = this.commonConstants.ValidationsZipOptions.find((item: { label: any; }) => item.label === adlnOption);\r\n }\r\n else if (adlnName == \"Decimal\") {\r\n additionalValidationItem = this.commonConstants.AdditionalValidationType.find((item: { label: any; }) => item.label === adlnOption);\r\n }\r\n else if (adlnName == \"Date Format\") {\r\n additionalValidationItem = this.validationsDateOptions.find((item: { label: any; }) => item.label === adlnOption);\r\n }\r\n if (additionalValidationItem && additionalValidationItem.value)\r\n resizableCurrentSelectedControl.setAttribute('data-additional-validation-option', additionalValidationItem.value);\r\n else\r\n resizableCurrentSelectedControl.setAttribute('data-additional-validation-option', \"1\");\r\n\r\n if (validationType) {\r\n let validationTypeText: any = 'Text';\r\n let arrayObj: any = this.commonConstants.ValidationsText.filter((obj: any) => obj.value.toLowerCase() == validationType.toLowerCase());\r\n if (arrayObj && arrayObj.length > 0) validationTypeText = arrayObj[0].label;\r\n resizableCurrentSelectedControl.setAttribute('data-validation-type', validationTypeText);\r\n }\r\n else\r\n resizableCurrentSelectedControl.setAttribute('data-validation-type', \"Text\"); //text\r\n\r\n resizableCurrentSelectedControl.setAttribute('data-additional-validation-name', adlnName);\r\n\r\n if (adlnName == \"Number\") {\r\n resizableCurrentSelectedControl.removeAttribute('data-additional-validation-option');\r\n }\r\n }\r\n else {\r\n resizableCurrentSelectedControl.setAttribute('data-additional-validation-name', \"\");\r\n }\r\n }\r\n\r\n let fontSizePtOrPxSelect: any = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n if (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n finalFontSize = this.controlPropertyService.getTypographyConversionValue(curFontSize);\r\n if (finalFontSize == undefined) finalFontSize = curFontSize;\r\n this.defaultTypographySize = \"pt\";\r\n }\r\n else {\r\n this.defaultTypographySize = \"px\";\r\n finalFontSize = curFontSize;\r\n }\r\n }\r\n this.applyFontSize(finalFontSize, 0);\r\n }\r\n if (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'true') {\r\n this.updateSaveAsDefaultChecked = true;\r\n }\r\n if (componentRef.instance.ctrlObj.textFormatting.saveAsDefault === 'false') {\r\n this.updateSaveAsDefaultChecked = false;\r\n }\r\n if (event.item.data.guid.toLowerCase() !== Control.DateTimeStamp.toLowerCase() && event.item.data.guid.toLowerCase() !== Control.Label.toLowerCase() && event.item.data.guid.toLowerCase() !== Control.Hyperlink.toLowerCase()) {\r\n let isRequiredCheckedVal: any = this.isRequiredChecked;\r\n if (componentRef.instance.ctrlObj.textFormatting.required !== undefined) {\r\n if (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n this.isRadioRequiredChecked = componentRef.instance.ctrlObj.textFormatting.required;\r\n isRequiredCheckedVal = componentRef.instance.ctrlObj.textFormatting.required;\r\n } else {\r\n this.isRequiredChecked = componentRef.instance.ctrlObj.textFormatting.required;\r\n isRequiredCheckedVal = componentRef.instance.ctrlObj.textFormatting.required;\r\n }\r\n }\r\n this.controlPropertyService.addDefaultRequiredField(componentRef.instance.ctrlObj, isRequiredCheckedVal);\r\n setTimeout(() => {\r\n if (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n let drpFirstLineBlankEle: any = document.getElementById('drpFirstLineBlank');\r\n if (drpFirstLineBlankEle) {\r\n drpFirstLineBlankEle.checked = this.isdrpFirstLineBlank;\r\n let controlEle: any = (document.getElementById('resizable_' + this.currentControlId))\r\n if (controlEle) {\r\n if (this.isdrpFirstLineBlank == true) controlEle.setAttribute('data-firstlineblank', \"true\");\r\n else if (this.isdrpFirstLineBlank == false) controlEle.setAttribute('data-firstlineblank', \"false\");\r\n }\r\n }\r\n }\r\n if (event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n let isChkPreSelectedEle: any = document.getElementById('chkPreSelected');\r\n if (isChkPreSelectedEle) {\r\n isChkPreSelectedEle.checked = this.isChkPreSelected;\r\n if (this.isChkPreSelected) {\r\n let resizablCurrentSelectedControl: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n let spanCurrentSelectedControl: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n if (spanCurrentSelectedControl) {\r\n spanCurrentSelectedControl.classList.add('checked-visible');\r\n spanCurrentSelectedControl.setAttribute('checked', 'true');\r\n spanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n resizablCurrentSelectedControl.setAttribute('data-selected1', 'true');\r\n }\r\n }\r\n }\r\n let ischeckboxGroupEle: any = document.getElementById('checkboxgroup');\r\n if (ischeckboxGroupEle) {\r\n ischeckboxGroupEle.checked = this.ischeckboxGroup;\r\n }\r\n\r\n this.commonConstants.Checkboxoptions.forEach((ele: any) => {\r\n if (ele && ele.viewValue.toLowerCase() === componentRef.instance.ctrlObj.textFormatting.size.toLowerCase()) {\r\n this.selectDefaultSizeValue = ele.value;\r\n }\r\n });\r\n }\r\n if (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase()) {\r\n let isChkPreSelectedEle: any = document.getElementById('chkPreSelected');\r\n if (isChkPreSelectedEle) {\r\n isChkPreSelectedEle.checked = this.isChkPreSelected;\r\n if (this.isChkPreSelected) {\r\n let resizablCurrentSelectedControl: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n let spanCurrentSelectedControl: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n if (spanCurrentSelectedControl) {\r\n spanCurrentSelectedControl.classList.add('checked-visible');\r\n spanCurrentSelectedControl.setAttribute('checked', 'true');\r\n spanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n resizablCurrentSelectedControl.setAttribute('data-selected1', 'true');\r\n }\r\n }\r\n }\r\n\r\n this.commonConstants.Checkboxoptions.forEach((ele: any) => {\r\n if (ele && ele.viewValue.toLowerCase() === componentRef.instance.ctrlObj.textFormatting.size.toLowerCase()) {\r\n this.selectDefaultSizeValue = ele.value;\r\n }\r\n });\r\n }\r\n }, 200);\r\n }\r\n if (event.item.data.guid.toLowerCase() === Control.Name.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Title.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n setTimeout(() => {\r\n if (this.hideFixedwidthCheckbox == false || this.hideFixedwidthCheckbox == 'false') {\r\n this.lengthOrMaxCharLimitLabel = 'Max Character Limit';\r\n this.isFixedWidthChecked = false;\r\n }\r\n let addTextTextareaEle: any = document.getElementById('addTextTextarea');\r\n if (addTextTextareaEle) {\r\n addTextTextareaEle.value = '';\r\n }\r\n this.controlPropertyService.addDefaultFixedWidth(componentRef.instance.ctrlObj, this.hideFixedwidthCheckbox, this.isFixedWidthChecked);\r\n }, 200);\r\n }\r\n this.controlPropertyService.updateDefaultFontFamilyId(this.currentControlId, componentRef.instance.ctrlObj.textFormatting.fontFamily);\r\n this.updateAlignments(controlClassName);\r\n this.updateTextFormattingStyles(componentRef.instance.ctrlObj);\r\n\r\n if (this.externalIntegrationType !== '' && componentRef.instance.ctrlObj.controlName === 'Text') {\r\n this.resetChangesForIntegration(componentRef.instance.ctrlObj.id);\r\n }\r\n\r\n let resizableEle: any = document.getElementById('resizable_' + componentRef.instance.ctrlObj.id);\r\n let spnSelectEle: any = document.getElementById('spn' + componentRef.instance.ctrlObj.id);\r\n if (resizableEle) {\r\n resizableEle.style.background = 'bisque';\r\n let attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n if (spnSelectEle && attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n spnSelectEle.classList.add('mouse-selected');\r\n }\r\n if (spnSelectEle) spnSelectEle.style.background = '';\r\n }\r\n let length: any = this.selectedItems.length;\r\n this.sessionStorageService.setSelecteditemsLength(length);\r\n this.commonService.setSelectedItems(this.selectedItems);\r\n\r\n if (event.item.data.guid.toLowerCase() === Control.Initials.toLowerCase()) {\r\n let chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n if (chInitRequiredContainer) {\r\n chInitRequiredContainer.classList.remove('place-on-initials-btn');\r\n }\r\n }\r\n\r\n if (event.item.data.guid.toLowerCase() === Control.Radio.toLowerCase() || event.item.data.guid.toLowerCase() === Control.Checkbox.toLowerCase()) {\r\n this.controlPropertyService.setRadioCheckBoxGroupChecked(componentRef.instance.ctrlObj.id, componentRef.instance.ctrlObj.textFormatting);\r\n\r\n let radioCheckboxSize: any = componentRef.instance.ctrlObj.textFormatting.size;\r\n if (radioCheckboxSize) {\r\n let defaultSize: any = this.controlPropertyService.getRadioCheckBoxSizeVal(radioCheckboxSize);\r\n this.controlPropertyService.applyRadioAndCheckBoxSizes(defaultSize, resizableEle, spnSelectEle);\r\n }\r\n }\r\n\r\n this.controlPropertyService.showRequiredIcon(componentRef.instance.ctrlObj.id);\r\n setTimeout(() => {\r\n this.updateCtrlTextFormatting(componentRef.instance.ctrlObj.id, '0');\r\n }, 250);\r\n }, 100);\r\n }\r\n this.updateJsonArrays(controlName, controlClassName, componentRef.instance.ctrlObj, componentRef.instance.ctrlObj.dataGuid);\r\n this.performUndoRedoAction('ADD_ITEM', [componentRef.instance.ctrlObj]);\r\n this.allControlsArr.push(componentRef.instance.ctrlObj);\r\n }\r\n }\r\n }\r\n if (event.previousContainer.data) {\r\n this.dragItems = this.dragItems.filter((f) => !f.temp);\r\n }\r\n this.getControlsCount(event, '', '');\r\n\r\n this.slDropDownControlItems = [];\r\n if (event && event.item && event.item.data && event.item.data.guid.toLowerCase() === Control.Date.toLowerCase()) {\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.dateFormatID) {\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n } else {\r\n this.selectDefaultDateFormat = \"1\";\r\n }\r\n }\r\n this.selectedPanelRecipentTextAreaText = '';\r\n this.arrCopyPasteCtrl = [];\r\n this.arrUndoRedoCtrl = [];\r\n this.arrCopyPasteCtrlsTemp = [];\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.hidePagesViewSection = true;\r\n setTimeout(() => {\r\n this.controlPropertyService.expandAllProp();\r\n //if (event.item.data.guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n //this.openModal('', 'dropdownlist', ''); //will do in next sprint\r\n //}\r\n if (event.item.data.guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n addTextTextarea.setAttribute('maxlength', '400');\r\n }\r\n }, 50);\r\n }\r\n\r\n updateJsonArrays(controlName: any, controlClassName: any, ctrlObj: any, data_guid: any) {\r\n this.controlPropertyService.updateJsonArrays(controlName, controlClassName, ctrlObj, data_guid);\r\n if (data_guid.toLowerCase() === Control.Radio.toLowerCase() || data_guid.toLowerCase() === Control.Checkbox.toLowerCase()\r\n || data_guid.toLowerCase() === Control.DropDown.toLowerCase() || data_guid.toLowerCase() === Control.Text.toLowerCase()) {\r\n this.showHideDependenciesButton();\r\n }\r\n }\r\n\r\n getSameControlNumberCount(ctrlGuid: any, pageNum: any) {\r\n // let allImageControlsString: any = localStorage.getItem('AllImageControls');\r\n let allImageControlsString: any = this.sessionStorageService.getAllImageControls();\r\n if (allImageControlsString) {\r\n this.arrControlIdNumber = JSON.parse(allImageControlsString);\r\n }\r\n\r\n let sameCtrlArray: any = this.arrControlIdNumber.filter(function (obj: any) { return obj.DataGuid.toLowerCase() == ctrlGuid.toLowerCase() && obj.PageNo == pageNum });\r\n\r\n if (sameCtrlArray && sameCtrlArray.length > 0) return sameCtrlArray.length + 1;\r\n else return 1;\r\n }\r\n\r\n getControlsCount(e: any, ctrlPageNumber: any, type: any) {\r\n let id: any;\r\n if (e && e.event && e.event.target && e.event.target.id) id = e.event.target.id;\r\n else if (ctrlPageNumber && ctrlPageNumber != '') id = ctrlPageNumber;\r\n\r\n let totalControlCount: any = 0;\r\n let count: any = 0;\r\n let documentImages: any = document.querySelectorAll('.img-control');\r\n Array.from(documentImages).forEach((ele: any, index: any) => {\r\n if (ele.id.split('_')[0] === 'imgControl') {\r\n let imgCtrl: any = document.getElementById('imgControl_' + ele.id.split('_')[1]);\r\n let signerCtrls: any = imgCtrl.getElementsByClassName('signControl');\r\n count = signerCtrls.length;\r\n if (count > 0) {\r\n this.imagesArr[index].isActive = true;\r\n } else {\r\n this.imagesArr[index].isActive = false;\r\n }\r\n this.imagesArr[index].controlsCount = count;\r\n }\r\n });\r\n\r\n let documentImagesControlsArray: any = document.querySelectorAll('.signControl');\r\n let temptotalControlCount: any = 0;\r\n setTimeout(() => {\r\n if (documentImagesControlsArray && documentImagesControlsArray.length > 0) {\r\n documentImagesControlsArray.forEach((ele: any, index: any) => {\r\n let resizableCtrlEle: any = document.getElementById('resizable_' + ele.id);\r\n if (resizableCtrlEle && resizableCtrlEle.style.display !== 'none') {\r\n temptotalControlCount = temptotalControlCount + 1;\r\n }\r\n })\r\n totalControlCount = temptotalControlCount;\r\n this.temptotalControlCount = temptotalControlCount;\r\n if (this.deleteCtrlItemsFlag === false) {\r\n if (this.allControlsArr.length === 0 && temptotalControlCount === 0) {\r\n this.undoFlag = 'false';\r\n } else if (temptotalControlCount > 0) {\r\n this.undoFlag = 'true';\r\n } else {\r\n this.undoFlag = 'false';\r\n }\r\n }\r\n\r\n this.controlPropertyService.disableOrEnableClearAllIcon(temptotalControlCount);\r\n }\r\n //checking id is getting NaN, then updating page number which is last dropped control page\r\n if (isNaN(parseInt(id))) {\r\n for (const [ctrlObjId, componentRef] of this.dynamicComponentRefs) {\r\n if (componentRef.instance && componentRef.instance.ctrlObj && componentRef.instance.ctrlObj.pageNo) {\r\n id = parseInt(componentRef.instance.ctrlObj.pageNo);\r\n }\r\n }\r\n }\r\n\r\n let pgNumber: any = parseInt(id);\r\n if (type === ControlConfig.Existing) {\r\n pgNumber = 1;\r\n }\r\n else {\r\n if (isNaN(parseInt(id))) {\r\n // let pNumber: any = localStorage.getItem('currentPagination');\r\n let pNumber: any = this.sessionStorageService.getCurrentPagination();\r\n pgNumber = parseInt(pNumber);\r\n }\r\n }\r\n this.updateTempTotalCountPerPage();\r\n this.commonService.updatePrevObject({\r\n 'totalControls': totalControlCount,\r\n 'pageNumber': pgNumber,\r\n 'tempTotalCountPerPage': this.tempTotalCountPerPage\r\n // 'documentList': this.imagesArr\r\n });\r\n }, 200);\r\n }\r\n\r\n exited(event: any) {\r\n const currentIdx = event.container.data.findIndex(\r\n (f: any) => f.id === event.item.data.id\r\n );\r\n this.dragItems.splice(currentIdx + 1, 0, {\r\n ...event.item.data,\r\n temp: true,\r\n });\r\n }\r\n\r\n entered() {\r\n this.dragItems = this.dragItems.filter((f) => !f.temp);\r\n }\r\n\r\n showControlFields(cName: any) {\r\n this.isClose = false;\r\n\r\n // Map between control name values and properties\r\n const cNamePropertiesMap: any = {\r\n 'signature': 'signatureProperties',\r\n 'initials': 'initialsProperties',\r\n 'newinitials': 'initialsProperties',\r\n 'date & time stamp': 'datetimeProperties',\r\n 'datetimestamp': 'datetimeProperties',\r\n 'name': 'nameProperties',\r\n 'title': 'titleProperties',\r\n 'company': 'companyProperties',\r\n 'email': 'emailProperties',\r\n 'dropdown': 'dropdownProperties',\r\n 'checkbox': 'checkboxProperties',\r\n 'radio': 'radioProperties',\r\n 'date': 'dateProperties',\r\n 'text': 'textProperties',\r\n 'label': 'labelProperties',\r\n 'hyperlink': 'hyperlinkProperties'\r\n };\r\n\r\n // Initialize all properties to false\r\n this.controlsObj = Object.fromEntries(Object.keys(cNamePropertiesMap).map(key => [cNamePropertiesMap[key], false]));\r\n\r\n // Set the corresponding property to true based on control name\r\n const propertyKey = cNamePropertiesMap[cName];\r\n if (propertyKey) {\r\n this.controlsObj[propertyKey] = true;\r\n }\r\n\r\n this.hideControlViewSection = false;\r\n if (this.isAddColumnSpace === true) {\r\n this.hideControlViewSection = true;\r\n }\r\n this.updateExtendDocumentWidth();\r\n\r\n if (cName === 'text') {\r\n setTimeout(() => {\r\n this.checkTextFields();\r\n\r\n this.controlPropertyService.resetTextAreaInputs();\r\n\r\n if (this.integrationResponse && this.integrationResponse.envelopeDetails) {\r\n this.externalIntegrationType = this.integrationResponse.envelopeDetails.integrationType; //Vincere, Bullhorn\r\n if (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n setTimeout(() => {\r\n // let currentControlId: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentControlId);\r\n let dataEntityField: string = '';\r\n let dataEntity: string = '';\r\n if (ctrlEle) {\r\n dataEntityField = ctrlEle.getAttribute('data-EntityField');\r\n dataEntity = ctrlEle.getAttribute('data-Entity');\r\n }\r\n if (dataEntity && dataEntityField) {\r\n this.updateIntegrationFields(dataEntity, dataEntityField);\r\n }\r\n }, 10);\r\n this.externalEntityList = this.integrationResponse.envelopeDetails.entityList;\r\n this.externalEntityFieldList = this.integrationResponse.envelopeDetails.entityFieldsList;\r\n } else {\r\n this.externalIntegrationType = '';\r\n }\r\n } else {\r\n this.externalIntegrationType = '';\r\n }\r\n\r\n }, 300);\r\n }\r\n }\r\n\r\n //search functionalty\r\n onFilterApply(event: any) {\r\n let array: any[] = this.commonConstants.DragItems;\r\n let searchtext: string;\r\n\r\n let inputVal: any = document.getElementById('search-text');\r\n if (inputVal && inputVal.value.length) {\r\n searchtext = inputVal.value;\r\n // this.dragItems = array.filter(item => item['title'].toLowerCase().includes(searchtext.toLowerCase()));\r\n this.dragItems = array.filter(item => this.getLanguageTranslationValue(item.langGuid).toLowerCase().includes(searchtext.toLowerCase()));\r\n } else {\r\n this.dragItems = this.commonConstants.DragItems;\r\n }\r\n\r\n const removeDuplicates = (arr: any[], property: string) => {\r\n return arr.filter((value, index, self) => {\r\n return self.findIndex((v) => v[property] === value[property]) === index;\r\n });\r\n };\r\n\r\n // Use the function to remove duplicates\r\n this.dragItems = removeDuplicates(this.dragItems, 'title');\r\n }\r\n\r\n //Method to be called when scrolling\r\n onScroll(event: any) {\r\n let scrollTop: any = event?.target.scrollTop; // Scroll top value\r\n const images = document.querySelectorAll('.img-control');\r\n\r\n if (images && images.length) {\r\n // Initialize a variable to store the index of the topmost visible image\r\n let topImageIndex = images.length;\r\n let pageVal: any = -1;\r\n\r\n // Iterate over the images to find the topmost visible image\r\n for (let i = 0; i <= images.length; i++) {\r\n const image: any = images[i];\r\n // Check if the top of the image is within the visible area of the container\r\n if (image && image.offsetTop && image.offsetTop > (scrollTop + 200)) {\r\n topImageIndex = i;\r\n pageVal = topImageIndex;\r\n this.paginationComponent.updatedPageNoOnScroll(event, pageVal);\r\n break; // Once we find the topmost visible image, we can stop iterating\r\n } else {\r\n if (pageVal == -1) {\r\n this.paginationComponent.updatedPageNoOnScroll(event, images.length);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this.ngUnsubscribe.next();\r\n this.ngUnsubscribe.complete();\r\n\r\n // Remove click event listener from document body\r\n document.body.removeEventListener('click', this.onClickOutsideSelectionArea);\r\n\r\n if (this.valueChangesSubscription) {\r\n this.valueChangesSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n isControlingField(currentControlId: any) {\r\n return this.controlPropertyService.isControlingField(currentControlId);\r\n }\r\n\r\n addDropdownOption() {\r\n let dropdownListEle: any = document.getElementById('dropdownList');\r\n let dropDownList: any = [];\r\n let isFirstLineBlank: any = \"false\";\r\n let selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n let resizable_DropdownControlField: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n if (resizable_DropdownControlField) {\r\n isFirstLineBlank = resizable_DropdownControlField.getAttribute('data-firstlineblank');\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n dropDownList.push({ value: text, editMode: false, editValue: '', ruleId: ruleId });\r\n }\r\n\r\n if (isFirstLineBlank == \"true\") {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n if (arrayObj && arrayObj.length == 0) { //add empty filed\r\n dropDownList.splice(0, 0, { value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n }\r\n }\r\n else {\r\n //remove empty filed\r\n dropDownList = dropDownList.filter((obj: any) => obj.value.toLowerCase().trim() != '');\r\n }\r\n }\r\n else {\r\n if (isFirstLineBlank == \"true\") {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n if (arrayObj && arrayObj.length == 0) { //add empty filed\r\n dropDownList.push({ value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n }\r\n }\r\n }\r\n\r\n if (dropdownListEle && dropdownListEle.value && dropdownListEle.value != '' && dropdownListEle.value.trim() != '') {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == dropdownListEle.value.toLowerCase());\r\n if (arrayObj && arrayObj.length == 0) {\r\n dropDownList.push({ value: dropdownListEle.value, editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n dropdownListEle.value = '';\r\n }\r\n else {\r\n dropdownListEle.value = ''; this.toastrService.warning('Value already exists.', 'Warning'); return;\r\n }\r\n }\r\n else {\r\n this.toastrService.warning(\"Value should not be empty or blank.\", 'Warning'); return;\r\n }\r\n\r\n //Now append new options to exisitng options\r\n this.slDropDownControlItems = [];\r\n if (selectDropdownControlField && selectDropdownControlField.options) { selectDropdownControlField.options.length = 0; }\r\n for (var i = 0; i < dropDownList.length; i++) {\r\n var option = '';\r\n if (selectDropdownControlField)\r\n selectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n this.slDropDownControlItems.push({ value: dropDownList[i].ruleId, text: dropDownList[i].value });\r\n }\r\n\r\n dropDownList = dropDownList.sort((a: any, b: any) => a.value.length < b.value.length ? 1 : -1);\r\n let drpOptionLongText: any = dropDownList && dropDownList.length > 0 ? dropDownList[0] : ''\r\n\r\n if (drpOptionLongText) {\r\n this.commonService.expandDropdownWidth(resizable_DropdownControlField, selectDropdownControlField, drpOptionLongText.value);\r\n }\r\n }\r\n }\r\n\r\n openModal(e: any, modalName: any, type: any) {\r\n // this.inputControl.nativeElement.focus();\r\n //this.currentControlId = localStorage.getItem('CurrentClickedDroppedControl');\r\n if (e) {\r\n e.preventDefault();\r\n }\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.currentControlId = data.id;\r\n // localStorage.setItem('CurrentClickedDroppedControl', this.currentControlId);\r\n this.sessionStorageService.setCurrentClickedDroppedControl(this.currentControlId);\r\n });\r\n\r\n if (modalName === 'dropdownlist') {\r\n let dropdownListEle: any = document.getElementById('dropdownList');\r\n // let textFocus:any = document.getElementById('text-focus');\r\n // textFocus.focus();\r\n let dropDownList: any = [];\r\n let isFirstLineBlank: any = \"false\";\r\n let selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n let resizable_DropdownControlField: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n if (resizable_DropdownControlField) {\r\n isFirstLineBlank = resizable_DropdownControlField.getAttribute('data-firstlineblank');\r\n }\r\n\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n dropDownList.push({ value: text, editMode: false, editValue: '', ruleId: ruleId });\r\n }\r\n\r\n if (isFirstLineBlank == \"true\") {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n if (arrayObj && arrayObj.length == 0) { //add empty filed\r\n dropDownList.splice(0, 0, { value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n }\r\n }\r\n else {\r\n //remove empty filed\r\n dropDownList = dropDownList.filter((obj: any) => obj.value.toLowerCase().trim() != '');\r\n }\r\n }\r\n else {\r\n if (isFirstLineBlank == \"true\") {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == '');\r\n if (arrayObj && arrayObj.length == 0) { //add empty filed\r\n dropDownList.push({ value: '', editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n }\r\n }\r\n }\r\n\r\n if (dropdownListEle && dropdownListEle.value && dropdownListEle.value != '') {\r\n let arrayObj: any = dropDownList.filter((obj: any) => obj.value.toLowerCase() == dropdownListEle.value.toLowerCase());\r\n if (arrayObj && arrayObj.length == 0) {\r\n dropDownList.push({ value: dropdownListEle.value, editMode: false, editValue: '', ruleId: this.commonService.generateUUID() });\r\n }\r\n dropdownListEle.value = '';\r\n }\r\n\r\n let dropdownListObj: any = {\r\n option: dropDownList.length > 0 ? dropDownList : '',\r\n currentDropDownControlId: this.currentControlId\r\n }\r\n let bsModalDropdownlistRef: any = this.modalService.show(AddDropdownListComponent, {\r\n initialState: { dropdownListObj: dropdownListObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw'\r\n });\r\n\r\n bsModalDropdownlistRef.content.dropdownListChangesMade.subscribe((data: any) => {\r\n // Update parent component based on the changes\r\n if (data && data.finalCurrentControlDropDownOptions && data.finalCurrentControlDropDownOptions.dropDownListOptions && data.finalCurrentControlDropDownOptions.dropDownListOptions.length > 0) {\r\n let drpOptions = data.finalCurrentControlDropDownOptions.dropDownListOptions;\r\n let selectDropdownControlField: any = (document.getElementById('spn' + data.currentDropDownControlId)) as HTMLSelectElement;\r\n\r\n //Get the existing option values for this control. If any new option is not there in existing option then remove that option which is set as 'data-parent-rule-id'\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n var ditem = drpOptions.filter((i: any) => { if (i.optionVal == text) { return i; } });\r\n if (ditem && ditem.length == 0) {\r\n let removeParentRuleItem: any = document.querySelectorAll('[data-parent-rule-id=\"' + ruleId + '\"]');\r\n if (removeParentRuleItem && removeParentRuleItem.length > 0) {\r\n Array.from(removeParentRuleItem).forEach((ritem: any, index: any) => {\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-rule-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-support-text-content', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-select-option-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('is-parent-present', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('alreadyDependentField');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('addedAsChild');\r\n this.controlPropertyService.removeColorForItem(ritem.getAttribute('id'));\r\n });\r\n }\r\n }\r\n }\r\n\r\n //remove all existing options\r\n selectDropdownControlField.options.length = 0;\r\n }\r\n\r\n //Now append new options to exisitng options\r\n this.slDropDownControlItems = [];\r\n for (var i = 0; i < drpOptions.length; i++) {\r\n var option = '';\r\n if (selectDropdownControlField)\r\n selectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n this.slDropDownControlItems.push({ value: drpOptions[i].id, text: drpOptions[i].optionVal });\r\n }\r\n }\r\n else {\r\n let dropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n if (dropdownControlField && dropdownControlField.options) {\r\n dropdownControlField.options.length = 0;\r\n this.slDropDownControlItems = [];\r\n }\r\n }\r\n\r\n if (data && data.finalCurrentControlDropDownOptions && data.finalCurrentControlDropDownOptions.optionLongText) {\r\n this.commonService.expandDropdownWidth(resizable_DropdownControlField, selectDropdownControlField, data.finalCurrentControlDropDownOptions.optionLongText);\r\n }\r\n\r\n let isEmptyOptionExists: any = this.slDropDownControlItems.filter((obj: any) => obj.text.toLowerCase() == '');\r\n if (isEmptyOptionExists && isEmptyOptionExists.length == 0) {\r\n if (resizable_DropdownControlField) {\r\n resizable_DropdownControlField.setAttribute('data-firstlineblank', \"false\");\r\n }\r\n }\r\n\r\n //if no dependencies are available then delete attribute and color\r\n let mainDropdownControlField: any = (document.getElementById(this.currentControlId)) as HTMLSelectElement;\r\n let data_document_content_id: any = mainDropdownControlField.getAttribute('data-document-content-id');\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + data_document_content_id + '\"]');\r\n if (childelementsArray && childelementsArray.length == 0) {\r\n this.controlPropertyService.removeAttributes(data_document_content_id);\r\n this.controlPropertyService.removeColorForItem(mainDropdownControlField.getAttribute('id'));\r\n }\r\n\r\n //console.log('Changes from modal:', data);\r\n });\r\n\r\n }\r\n else if (modalName === 'adddependencies') {\r\n setTimeout(() => {\r\n if (this.displayDependenciesButton == true) {\r\n let isValid: boolean = true;\r\n if (document.querySelector('[data-int-control-id=\"' + this.currentControlId + '\"]')?.classList.contains('dropdownItem') == true) {\r\n let selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n this.toastrService.warning(\"Please add list items for the selected dropdown control.\", 'Warning');\r\n isValid = false;\r\n }\r\n }\r\n\r\n if (isValid) {\r\n let dependencyObj: any = {\r\n type: type == '1' ? '1' : '',\r\n groupColorCode: this.groupColorCode,\r\n currentControlId: this.currentControlId,\r\n isControlingField: this.isControlingField(this.currentControlId)\r\n }\r\n let bsModalAddDependenciesRef: any = this.modalService.show(AddDependenciesComponent, {\r\n initialState: { dependencyIconClickedObj: dependencyObj }, keyboard: false, backdrop: 'static', class: 'modal-xl modal-mt'\r\n });\r\n\r\n bsModalAddDependenciesRef.content.addDependencieschangesMade.subscribe((data: any) => {\r\n // Update your parent component based on the changes\r\n this.groupColorCode = data.controlColorCodeIndex;\r\n let showDependenciesPopUpModal: boolean = data.showDependenciesPopUpModal;\r\n if (showDependenciesPopUpModal == true) {\r\n this.openModal('', 'adddependencies', '1');\r\n }\r\n //console.log('Changes from modal:', data);\r\n });\r\n }\r\n }\r\n }, 350); //300\r\n }\r\n else if (modalName === 'viewsetting') {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n this.modalService.show(ViewSettingComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-lg modal-mt' });\r\n }\r\n }\r\n else if (modalName === 'clearallcontrols') {\r\n if (this.isEnvelopeEditable == true) {\r\n let bsModalClearallControlsRef: any = this.modalService.show(ClearallControlsComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n bsModalClearallControlsRef.content.clearallChangesMade.subscribe((data: any) => {\r\n this.clearAllControls(data);\r\n });\r\n }\r\n }\r\n // else if (modalName === 'discardenvelope') {\r\n // if (this.isEnvelopeEdited != true) {\r\n // const modalRef = this.modalService.show(DiscardEnvelopeComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n\r\n // modalRef.content?.onCheckDiscardEnvelope.subscribe((popUpStatus: any) => {\r\n // //console.log(\"onCheckDiscardEnvelope\", popUpStatus.status);\r\n // if (popUpStatus.status.toLowerCase() === 'ok') {\r\n // this.hostListenerStatus = true;\r\n // }\r\n // else {\r\n // this.hostListenerStatus = false;\r\n // }\r\n // });\r\n // }\r\n // }\r\n else if (modalName === 'keybordKeys') {\r\n this.modalService.show(KeyboardShortcutsComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n }\r\n else if (modalName === 'backModal') {\r\n if (this.disableBackArrowButton == \"false\") {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n let modalRef: any = this.modalService.show(GotoStepOneComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n modalRef.content?.gotoStepOneChangesMade.subscribe((popUpStatus: any) => {\r\n this.onGotoStepOne(popUpStatus.status);\r\n });\r\n }\r\n }\r\n }\r\n else if (modalName === 'branding') {\r\n if (this.slides != null && this.slides != undefined && this.slides.length > 0) {\r\n let bsModalbrandingRef: any = this.modalService.show(MultiBrandingComponent, { initialState: { slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw branding' });\r\n bsModalbrandingRef.content.multiBrandingChangesMade.subscribe((data: any) => {\r\n // Update your parent component based on the changes\r\n data.slides.map((item: any) => {\r\n if (item.isDefault) {\r\n this.branding = `[${JSON.stringify(item)}]`;\r\n }\r\n })\r\n });\r\n } else {\r\n this.toastrService.warning(this.commonConstants.NoBrandingMessage, 'Attention');\r\n }\r\n }\r\n else if (modalName === 'multiplesignerupdate') {\r\n let selectedControlItemsObj: any = {\r\n selectedItems: this.selectedItems,\r\n currentControlId: this.currentControlId,\r\n }\r\n let modalRef: any = this.modalService.show(MultipleSignerUpdateComponent, { initialState: { selectedItemsObj: selectedControlItemsObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n modalRef.content?.multipleSignerUpdateChangesMade.subscribe((popUpStatus: any) => {\r\n if (popUpStatus.status == \"1\") {\r\n this.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n // this.alignControlsService.applyAlignChanges('', this.selectedItems, this.selectedDocumentImage, this.container)\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n }\r\n });\r\n }\r\n }\r\n\r\n removeControl(ctrlId: any, event: any) {\r\n const dynamicComponentRef = this.dynamicComponentRefs.get(ctrlId);\r\n if (dynamicComponentRef) {\r\n let ctrlContentId: any = '';\r\n let tobeDeletedCtrl = (document.getElementById(ctrlId));\r\n let ctrlPageNumber: any;\r\n if (tobeDeletedCtrl) {\r\n ctrlPageNumber = tobeDeletedCtrl.getAttribute('data-pageno');\r\n ctrlContentId = tobeDeletedCtrl.getAttribute('data-document-content-id');\r\n }\r\n\r\n // dynamicComponentRef.destroy();\r\n // this.dynamicComponentRefs.delete(ctrlId);\r\n this.isClose = true;\r\n this.hideControlViewSection = this.isClose;\r\n this.activeCtrlId = 0;\r\n // this.selectedItems = [];\r\n if (this.selectedItems && this.selectedItems.length > 0) {\r\n this.selectedItems = this.selectedItems.filter(item => item !== 'resizable_' + ctrlId);\r\n }\r\n if (this.ctrlAndClickedControlsArr && this.ctrlAndClickedControlsArr.length > 0) {\r\n this.ctrlAndClickedControlsArr = this.ctrlAndClickedControlsArr.filter((item: any) => item !== 'resizable_' + ctrlId);\r\n }\r\n\r\n //Delete the control from local storage arrays\r\n this.controlPropertyService.updateDependecyForDependentControls(ctrlId, ctrlContentId);\r\n setTimeout(() => {\r\n this.showHideDependenciesButton();\r\n this.getControlsCount(event, ctrlPageNumber, '');\r\n //this.controlPropertyService.updateUndoRedoCopyPasteControlArray(ctrlId);\r\n this.updateExtendDocumentWidth();\r\n }, 10); //50\r\n }\r\n }\r\n\r\n removeControlComponent(event: any, id: any) {\r\n this.isAddColumnSpace = this.hideControlViewSection;\r\n if (id === '') {\r\n // id = localStorage.getItem('CurrentClickedDroppedControl');\r\n id = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n }\r\n\r\n setTimeout(() => {\r\n const dynamicComponentRef = this.dynamicComponentRefs.get(id);\r\n if (dynamicComponentRef) {\r\n // this.removeControl(id, event);\r\n this.deleteItems(['resizable_' + id]);\r\n\r\n this.isClose = true;\r\n this.activeCtrlId = 0;\r\n this.hidePagesViewSection = false;\r\n this.hideControlViewSection = this.isClose;\r\n }\r\n }, 25);\r\n }\r\n\r\n getDragActiveID(currentObj: any) {\r\n return this.dragItems.findIndex((item) => item.title === currentObj.controlName) + 1;\r\n }\r\n\r\n applyRecipientDetailsToControl(currentSelectedControl: any) {\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n if (resizableCurrentControl) {\r\n resizableCurrentControl.setAttribute('data-rcptid', this.selectedPanelRecipentId);\r\n resizableCurrentControl.setAttribute('data-original-rcptid', this.selectedPanelRecipentId);\r\n resizableCurrentControl.setAttribute('data-recp-color', this.selectedPanelRecipentColor);\r\n resizableCurrentControl.style.outline = 'none';\r\n resizableCurrentControl.style.outline = this.selectedPanelRecipentColor + ' solid 1px';\r\n resizableCurrentControl.setAttribute('data-original-title', this.controlPropertyService.getControlOriginalTitle(this.selectedPanelRecipentId, currentSelectedControl));\r\n\r\n this.controlPropertyService.updateRecipientsInStorage(currentSelectedControl, this.selectedPanelRecipentId);\r\n }\r\n }\r\n\r\n //Apply Recipient details\r\n updateRecipientPanelControlProperties() {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n if (resizableCurrentControl) {\r\n let recpId: any = resizableCurrentControl.getAttribute(\"data-rcptid\");\r\n let recpColor: any = resizableCurrentControl.getAttribute(\"data-recp-color\");\r\n let dataGuid: any = resizableCurrentControl.getAttribute(\"data-guid\");\r\n if (dataGuid.toLowerCase() == Control.Text.toLowerCase()) {\r\n this.selectedPanelRecipentColor = recpColor;\r\n let recpArrayObj = this.receipentListArr.filter((c: any) => c.id == recpId);\r\n if (recpArrayObj.length > 0) {\r\n this.selectedPanelRecipentName = recpArrayObj[0].name;\r\n this.selectedPanelRecipentId = recpArrayObj[0].id;\r\n }\r\n\r\n setTimeout(() => {\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n let innerText: any = spnCurrentSelectedControl?.innerHTML;\r\n let addTextTextarea: any = document.getElementById(\"addTextTextarea\");\r\n let addtextareaval: any = resizableCurrentControl.getAttribute('data-addtextareaval');\r\n if (addtextareaval === null || addtextareaval === undefined || addtextareaval === '') {\r\n addTextTextarea.value = '';\r\n }\r\n else {\r\n if (spnCurrentSelectedControl && innerText != undefined && innerText != null && innerText != '' && innerText.toLowerCase() != 'text') {\r\n this.selectedPanelRecipentTextAreaText = innerText.toLowerCase() != 'text' ? innerText : '';\r\n addTextTextarea.value = resizableCurrentControl.getAttribute('data-asteriskOriginalText');\r\n }\r\n else {\r\n this.selectedPanelRecipentTextAreaText = '';\r\n if (resizableCurrentControl && resizableCurrentControl.getAttribute('data-asteriskOriginalText')) {\r\n addTextTextarea.value = resizableCurrentControl.getAttribute('data-asteriskOriginalText');\r\n } else {\r\n addTextTextarea.value = '';\r\n }\r\n }\r\n }\r\n }, 500);\r\n }\r\n }\r\n }\r\n\r\n applyStylesToSelectedRecipient(recipientId: any, type: any, isClicked: any) {\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.currentControlId = data.id;\r\n // localStorage.setItem('CurrentClickedDroppedControl', this.currentControlId);\r\n this.sessionStorageService.setCurrentClickedDroppedControl(this.currentControlId);\r\n });\r\n\r\n //apply other styles\r\n setTimeout(() => {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let resizableCurrentSelectedControl: any = document.getElementById(\"resizable_\" + currentSelectedControl);\r\n let spnCurrentSelectedControl: any = document.getElementById(\"spn\" + currentSelectedControl);\r\n if (resizableCurrentSelectedControl) {\r\n this.selectedPanelRecipentName = this.controlPropertyService.getRecipientName(resizableCurrentSelectedControl.getAttribute('data-rcptid'));\r\n this.selectedPanelRecipentColor = resizableCurrentSelectedControl.getAttribute('data-recp-color');\r\n this.controlPropertyService.removeControlActiveClass(\"clicked\");\r\n\r\n resizableCurrentSelectedControl.style.outline = 'none';\r\n resizableCurrentSelectedControl.style.outline = this.selectedPanelRecipentColor + ' solid 3px';\r\n resizableCurrentSelectedControl.classList.add('control-active');\r\n if (this.isEnvelopeEditable) {\r\n resizableCurrentSelectedControl.classList.add('control-active-bg-color');\r\n }\r\n\r\n let dataguid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n if (dataguid.toLowerCase() == Control.Label.toLowerCase() || dataguid.toLowerCase() == Control.Hyperlink.toLowerCase()) {\r\n resizableCurrentSelectedControl.style.outline = 'none';\r\n resizableCurrentSelectedControl.style.outline = '#d21513 solid 3px';\r\n }\r\n\r\n let attr_id: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n if (attr_id.toLowerCase() == Control.Radio.toLowerCase()) {//display group secion\r\n this.displayGroupRadio = true; this.displayGroupCheckBox = false;\r\n }\r\n else if (attr_id.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (spnCurrentSelectedControl) {\r\n let attr_name: any = spnCurrentSelectedControl.getAttribute('name');\r\n let checkboxgroup: any = (document.getElementById(\"checkboxgroup\"));\r\n if (attr_name == '' || attr_name == null) {\r\n this.displayGroupCheckBox = false; this.displayGroupRadio = false;\r\n if (checkboxgroup) checkboxgroup.checked = false;\r\n }\r\n else {\r\n this.displayGroupCheckBox = true; this.displayGroupRadio = false;\r\n if (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n if (checkboxgroup) { checkboxgroup.checked = false; }\r\n }\r\n else {\r\n if (checkboxgroup) { checkboxgroup.checked = true; }\r\n }\r\n //if (checkboxgroup) { checkboxgroup.checked = true; }\r\n }\r\n }\r\n }\r\n else { this.displayGroupCheckBox = false; this.displayGroupRadio = false; }\r\n\r\n setTimeout(() => {\r\n this.controlPropertyService.expandAllProp();\r\n //If it is dropdown control then add existing options\r\n if (attr_id && attr_id.toLowerCase() == Control.DropDown.toLowerCase() && resizableCurrentSelectedControl) {\r\n //Now append new options to exisitng options\r\n this.slDropDownControlItems = [];\r\n let selectDropdownControlField: any = (document.getElementById('spn' + currentSelectedControl)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n this.slDropDownControlItems.push({ value: ruleId, text: text });\r\n }\r\n }\r\n }\r\n\r\n //Applying radio and checkbox sizes\r\n if (attr_id && (attr_id.toLowerCase() == Control.Checkbox.toLowerCase() || attr_id.toLowerCase() == Control.Radio.toLowerCase()) && resizableCurrentSelectedControl) {\r\n let dataSizeVal: any = resizableCurrentSelectedControl.getAttribute('data-size');\r\n if (dataSizeVal) this.selectDefaultSizeValue = this.controlPropertyService.getRadioCheckBoxSizeVal(dataSizeVal);\r\n else resizableCurrentSelectedControl.setAttribute('data-size', this.controlPropertyService.getRadioCheckBoxSize(this.selectDefaultSizeValue));\r\n\r\n if (attr_id && attr_id.toLowerCase() == Control.Checkbox.toLowerCase() && resizableCurrentSelectedControl) {\r\n let dataIsGroupChecked: any = resizableCurrentSelectedControl.getAttribute('data-isgroupchecked');\r\n if (dataIsGroupChecked == \"true\" || this.ischeckboxGroup == true) {\r\n resizableCurrentSelectedControl.setAttribute('data-isgroupchecked', \"true\");\r\n this.displayGroupCheckBox = true;\r\n if (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n resizableCurrentSelectedControl.setAttribute('data-groupname', this.checkboxGroupName == null || this.checkboxGroupName == undefined ? '' : this.checkboxGroupName);\r\n spnCurrentSelectedControl.setAttribute('name', this.checkboxName == null || this.checkboxName == undefined ? '' : this.checkboxName);\r\n }\r\n\r\n }\r\n else {\r\n this.ischeckboxGroup = false;\r\n this.displayGroupCheckBox = false;\r\n }\r\n }\r\n\r\n if (attr_id && attr_id.toLowerCase() == Control.Radio.toLowerCase() && resizableCurrentSelectedControl) {\r\n if (resizableCurrentSelectedControl.getAttribute('data-groupname') == null || resizableCurrentSelectedControl.getAttribute('data-groupname') == '') {\r\n resizableCurrentSelectedControl.setAttribute('data-groupname', this.checkboxGroupName == null || this.checkboxGroupName == undefined ? '' : this.checkboxGroupName);\r\n spnCurrentSelectedControl.setAttribute('name', this.checkboxName == null || this.checkboxName == undefined ? '' : this.checkboxName);\r\n }\r\n }\r\n }\r\n\r\n //Applying Date default format\r\n if (attr_id && attr_id.toLowerCase() == Control.Date.toLowerCase() && resizableCurrentSelectedControl) {\r\n let dateFormat: any = resizableCurrentSelectedControl.getAttribute('data-defaultFormat');\r\n if (dateFormat) {\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDateFormatVal(dateFormat);\r\n let spnControlEle: any = (document.getElementById('spn' + currentSelectedControl))\r\n if (spnControlEle) {\r\n spnControlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n }\r\n }\r\n else resizableCurrentSelectedControl.setAttribute('data-defaultFormat', this.controlPropertyService.getDateFormat(this.selectDefaultDateFormat));\r\n }\r\n\r\n //Applying for Label or Hyperlink\r\n if (attr_id && (attr_id.toLowerCase() == Control.Label.toLowerCase() || attr_id.toLowerCase() == Control.Hyperlink.toLowerCase()) && resizableCurrentSelectedControl) {\r\n let spnControlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n let inputHyperlinkText: any = (document.getElementById('inputHyperlinkText'));\r\n let inputHyperLinkURL: any = (document.getElementById('inputHyperLinkURL'));\r\n\r\n let inputLabel: any = (document.getElementById('inputLabel'));\r\n if (spnControlEle) {\r\n if (spnControlEle.getAttribute('isupdated') == \"true\") {\r\n if (inputHyperlinkText) inputHyperlinkText.value = spnControlEle.innerHTML;\r\n if (inputLabel) inputLabel.value = spnControlEle.innerHTML;\r\n }\r\n else {\r\n if (inputLabel) inputLabel.value = '';\r\n if (inputHyperlinkText) inputHyperlinkText.value = '';\r\n }\r\n }\r\n\r\n if (inputHyperLinkURL) {\r\n let spnControlEle: any = (document.getElementById(currentSelectedControl));\r\n if (spnControlEle) {\r\n if (spnControlEle.getAttribute('data-hyperlink')) inputHyperLinkURL.value = spnControlEle.getAttribute('data-hyperlink');\r\n else inputHyperLinkURL.value = '';\r\n }\r\n }\r\n }\r\n\r\n //Applying radio and checkbox sizes\r\n if (attr_id && attr_id.toLowerCase() == Control.Email.toLowerCase()) {\r\n resizableCurrentSelectedControl.setAttribute('data-confirm-submit', \"0\");\r\n }\r\n this.controlPropertyService.applyControlProperties(currentSelectedControl, resizableCurrentSelectedControl, attr_id);\r\n if (this.hideDependencies == false) {\r\n if (attr_id && attr_id.toLowerCase() != Control.Label.toLowerCase()\r\n && attr_id.toLowerCase() != Control.Hyperlink.toLowerCase()\r\n && attr_id.toLowerCase() != Control.DateTimeStamp.toLowerCase()\r\n ) {\r\n let divSelectedControl: any = document.getElementById(currentSelectedControl);\r\n if (divSelectedControl) {\r\n let dependencyObj: any = {\r\n currentDependentSelectedControl: currentSelectedControl,\r\n contentId: divSelectedControl.getAttribute('data-document-content-id'),\r\n isControlingField: this.isControlingField(currentSelectedControl)\r\n };\r\n this.commonService.callAddDependentFields(dependencyObj);\r\n }\r\n }\r\n }\r\n\r\n }, 10);\r\n }\r\n }, 100); //150\r\n }\r\n\r\n showHideDependenciesButton() {\r\n let className: any = 'disabledCtrl';\r\n if (this.enableDependenciesFeature == true) {\r\n let resultObj: any = this.controlPropertyService.showHideDependenciesButton();\r\n this.displayDependenciesButton = resultObj.displayDependenciesButton;\r\n return className = resultObj.className;\r\n }\r\n else return className;\r\n }\r\n\r\n updateTextAreaText(event: any): void {\r\n let textAreaVal: string = event.target.value.trim(); // Trim spaces\r\n let currentSelectedControl: any = this.currentControlId;\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n let spnStrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n if (ctrlEle && textAreaVal !== \"\") {\r\n let textInput: any = document.getElementById('addTextTextarea');\r\n let checkbox: any = document.getElementById('checkboxHideText');\r\n let OriginalText: any = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n if (ctrlEle && OriginalText && !textAreaVal.includes('*')) {\r\n if (OriginalText !== textAreaVal) {\r\n ctrlEle.setAttribute('data-asteriskOriginalText', textAreaVal);\r\n textAreaVal = textAreaVal;\r\n }\r\n else {\r\n ctrlEle.setAttribute('data-asteriskOriginalText', OriginalText);\r\n textAreaVal = OriginalText;\r\n }\r\n }\r\n if (ctrlEle && !textAreaVal.includes('*')) {\r\n ctrlEle.setAttribute('data-isHideTextWithAsterisk', (checkbox && checkbox != null && (checkbox.checked == 'true' || checkbox.checked == true)) ? 'true' : 'false');\r\n let oldValue: any = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n ctrlEle.setAttribute('data-asteriskOriginalText', textAreaVal.includes('*') ? oldValue !== \"null\" ? oldValue : '' : textAreaVal);\r\n }\r\n // Call toggleHideTextWithAsterisks if the checkbox is checked\r\n let isHideTextWithAsterisk: any = ctrlEle.getAttribute('data-isHideTextWithAsterisk');\r\n if (isHideTextWithAsterisk && (isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true)) {\r\n this.toggleHideTextWithAsterisks(true);\r\n }\r\n //textAreaVal = (textAreaVal == this.hiddenText) ? this.asteriskOriginalText : textAreaVal;\r\n if (textInput) {\r\n textInput.value = textAreaVal;\r\n }\r\n // Save the text only if not empty (but we handle asterisks separately)\r\n this.controlPropertyService.updateTextAreaText(isHideTextWithAsterisk == 'true' || isHideTextWithAsterisk == true ? this.hiddenText : textAreaVal, currentSelectedControl);\r\n }\r\n else {\r\n if (ctrlEle && spnStrlEle) {\r\n ctrlEle.setAttribute('data-asteriskOriginalText', '');\r\n ctrlEle.setAttribute('data-addtextareaval', '');\r\n spnStrlEle.innerText = '';\r\n spnStrlEle.setAttribute('data-addtextareaval', '');\r\n this.asteriskOriginalText = '';\r\n this.hiddenText = '';\r\n }\r\n this.toastrService.warning('Add text value cannot be blank.', 'Warning');\r\n }\r\n }\r\n\r\n applyZoomChanges(e: any) {\r\n let zoomText: any = '100';\r\n if (e && e.target && e.target.text) {\r\n zoomText = e.target.text;\r\n }\r\n else if (e && e.target && e.target.innerHTML) {\r\n zoomText = e.target.innerHTML;\r\n }\r\n else if (e && e.target && e.target.innerText) {\r\n zoomText = e.target.innerText;\r\n }\r\n\r\n if (zoomText) {\r\n this.imageSize = parseInt(zoomText) / 100;\r\n this.zoomValue = parseInt(zoomText);\r\n let element: any = (document.getElementById('zoompage')) as HTMLSelectElement;\r\n if (this.imageSize === 0.5) {\r\n this.isActive = true;\r\n this.ZoomPercentageObj.zoomVal50 = true;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.add(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n element.classList.remove(\"zoom-more\");\r\n }\r\n else if (this.imageSize === 0.75) {\r\n this.isActive = true;\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = true;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.add(\"zoom-75\");\r\n element.classList.remove(\"zoom-more\");\r\n }\r\n else if (this.imageSize === 1) {\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = true;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n }\r\n else if (this.imageSize === 1.25) {\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = true;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n element.classList.add(\"zoom-more\");\r\n }\r\n else if (this.imageSize === 1.5) {\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = true;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n element.classList.add(\"zoom-more\");\r\n }\r\n else if (this.imageSize === 1.75) {\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = true;\r\n this.ZoomPercentageObj.zoomVal200 = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n element.classList.add(\"zoom-more\");\r\n this.isActive = false;\r\n }\r\n else {\r\n this.ZoomPercentageObj.zoomVal50 = false;\r\n this.ZoomPercentageObj.zoomVal75 = false;\r\n this.ZoomPercentageObj.zoomVal100 = false;\r\n this.ZoomPercentageObj.zoomVal125 = false;\r\n this.ZoomPercentageObj.zoomVal150 = false;\r\n this.ZoomPercentageObj.zoomVal175 = false;\r\n this.ZoomPercentageObj.zoomVal200 = true;\r\n this.isActive = false;\r\n element.classList.remove(\"zoom-50\");\r\n element.classList.remove(\"zoom-75\");\r\n element.classList.add(\"zoom-more\");\r\n }\r\n\r\n }\r\n this.renderer2.setStyle(this.documentPageContainer.nativeElement, 'transform', `scale(${this.imageSize}, ${this.imageSize})`);\r\n }\r\n\r\n applyClickedProperty(event: any, type: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyClickedProperty(event.target.checked, type);\r\n let spanCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n let guid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n if (type === '1') {\r\n this.isRequiredChecked = event.target.checked;\r\n\r\n //required code\r\n this.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n //required code\r\n }\r\n else if (type === '2') {\r\n this.isChkPreSelected = event.target.checked;\r\n if (this.isChkPreSelected == true) {\r\n let mainParentEle: any = document.getElementById(currentSelectedControl);\r\n if (mainParentEle) {\r\n spanCurrentSelectedControl.classList.add('checked-visible');\r\n spanCurrentSelectedControl.setAttribute('checked', 'true');\r\n let isChildrenPresent: any = mainParentEle.getAttribute('is-child-present');\r\n let isParentPresent: any = mainParentEle.getAttribute('is-parent-present');\r\n if (isParentPresent == \"true\" || isChildrenPresent == \"true\") {\r\n let controlGroupCode: any = mainParentEle.getAttribute('group-code');\r\n if (controlGroupCode != null && controlGroupCode != \"null\" && controlGroupCode != undefined && controlGroupCode != \"undefined\" && controlGroupCode != \"\") {\r\n if (controlGroupCode != \"0\" && controlGroupCode != 0) {\r\n let colorCode: any = this.commonConstants.DependencyColorCodes[parseInt(controlGroupCode) % 10].Color;\r\n this.controlPropertyService.applyColorCodeForParent(currentSelectedControl, colorCode, \"false\");\r\n }\r\n }\r\n }\r\n else {\r\n spanCurrentSelectedControl.style[\"background-color\"] = 'green';\r\n }\r\n this.controlPropertyService.removeSameRadioNamePreselected(currentSelectedControl);\r\n }\r\n }\r\n else {\r\n spanCurrentSelectedControl.classList.remove('checked-visible');\r\n spanCurrentSelectedControl.removeAttribute(\"checked\");\r\n spanCurrentSelectedControl.style[\"background-color\"] = 'white';\r\n }\r\n }\r\n else if (type === '3') {\r\n this.isFixedWidthChecked = event.target.checked;\r\n if (event.target.checked === false || event.target.checked === 'false') {\r\n let ctelEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctelEle) {\r\n ctelEle.setAttribute('maxlengthallowed', 20);\r\n }\r\n\r\n }\r\n }\r\n else if (type === '4') {\r\n const textAreaVal: any = document.getElementById('addTextTextarea');\r\n textAreaVal.value = textAreaVal.value == this.hiddenText ? this.asteriskOriginalText != 'null' ? this.asteriskOriginalText : '' : textAreaVal.value;\r\n if (event && event.target) {\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrlEle) {\r\n this.asteriskOriginalText = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n ctrlEle.setAttribute('data-isHideTextWithAsterisk', event.target.checked);\r\n ctrlEle.setAttribute('data-asteriskOriginalText', this.asteriskOriginalText !== '' ? this.asteriskOriginalText : textAreaVal.value);\r\n\r\n if (event.target.checked) {\r\n this.toggleHideTextWithAsterisks(event.target.checked);\r\n }\r\n if (textAreaVal !== null || textAreaVal !== \"\") {\r\n this.controlPropertyService.updateTextAreaText(event.target.checked ? this.hiddenText : this.asteriskOriginalText != 'null' ? this.asteriskOriginalText : '', currentSelectedControl);\r\n textAreaVal.value = this.asteriskOriginalText;\r\n } else {\r\n this.toastrService.warning('Add text value cannot be blank.', 'Warning');\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (type === '1' || type === '2') {\r\n if (guid.toLowerCase() == Control.Checkbox.toLowerCase() && type == \"1\" && event.target.checked == true) {\r\n this.closeDependecie(event);\r\n }\r\n }\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\r\n if (type === '3') {\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n }\r\n\r\n applyCheckboxRadioGroupName(event: any, type: any) {\r\n var textAreaVal: any = event.target.value;\r\n const regex = /^[0-9a-zA-Z\\ _]+$/;\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let resizableCurrentSelectedControl = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n if (event.target.value == \"\") {\r\n resizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n this.toastrService.warning(\"Group Name should not be empty.\", 'Warning');\r\n }\r\n else if (event.target.value != \"\" && event.target.value.length > 50) {\r\n resizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n this.toastrService.warning(\"Group Name should not be more than 50 characters.\", 'Warning');\r\n }\r\n else if (event.target.value != \"\" && !textAreaVal.match(regex)) {\r\n resizableCurrentSelectedControl?.setAttribute('data-groupname', '');\r\n this.toastrService.warning(\"Group Name should be only characters and numbers.\", 'Warning');\r\n }\r\n else {\r\n this.controlPropertyService.applyCheckboxRadioGroupName(textAreaVal, type);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n }\r\n\r\n updateControlTooltip(e: any) {\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.currentControlId = data.id;\r\n });\r\n\r\n let controlTooltipEle: any = document.getElementById('controlInputTooltip');\r\n let resizableCurrentSelectedControl = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n if (e && e.target && e.target.value && resizableCurrentSelectedControl) {\r\n resizableCurrentSelectedControl.setAttribute('data-customtooltip', e.target.value);\r\n }\r\n }\r\n\r\n checkTooltipIsApplicable(cName: any, cId: any) {\r\n this.controlPropertyService.checkTooltipIsApplicable(cName, cId);\r\n }\r\n\r\n applyFontFamily(e: any) {\r\n let fontFamily: any = e.target.value;\r\n this.defaultFontFamily = e.target.value;\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.updateDefaultFontFamilyId(currentSelectedControl, fontFamily);\r\n\r\n let fontSizeSelect: any = (document.getElementById('fontSizeSelect'));\r\n this.applyFontSize(fontSizeSelect.value, 1);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyFontSize(fontSize: any, type: any) {\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.currentControlId = data.id;\r\n });\r\n\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n fontSize = parseInt(fontSize);\r\n let currentControlEle: any = (document.getElementById(this.currentControlId));\r\n let ctrlname: any = this.currentControlId.split('Control')[0];\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + this.currentControlId));\r\n let fontSizePtOrPxSelect: any;\r\n if (spnCurrentSelectedControl) {\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n let newFontSize: any, lineHeight: any;\r\n if (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n fontSizePtOrPxSelect = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n if (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n newFontSize = this.controlPropertyService.setTypographyConversionValue(fontSize);\r\n lineHeight = parseInt(newFontSize) + 2;\r\n }\r\n else {\r\n newFontSize = fontSize;\r\n lineHeight = fontSize;\r\n }\r\n fontSize = newFontSize;\r\n spnCurrentSelectedControl.style.fontSize = fontSize + '' + \"px\";\r\n\r\n if (ctrlname.toLowerCase() === 'name') {\r\n spnCurrentSelectedControl.style.lineHeight = '';\r\n }\r\n else {\r\n spnCurrentSelectedControl.style.lineHeight = lineHeight + '' + \"px\";\r\n }\r\n }\r\n\r\n if (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n resizableCurrentSelectedControl.setAttribute('data-typography', fontSizePtOrPxSelect);\r\n let fontFamily: any = spnCurrentSelectedControl.style.fontFamily;\r\n this.setControlHeight(this.currentControlId);\r\n if (ctrlname === 'text' || ctrlname === 'name' || ctrlname === 'title') {\r\n let charLength: any = 20;\r\n let leftscroll: any = 0;\r\n if (fontSize >= 16) {\r\n let d: any = this.getDuplicateHeightWidth(fontFamily, fontSize);\r\n resizableCurrentSelectedControl.style.height = d.Height + 'px';\r\n }\r\n\r\n let nameCharLengthId: any = document.getElementById('nameInputLength');\r\n let textCharLengthId: any = document.getElementById('textInputLength');\r\n let nameOrTextInputLengthEle: any = (ctrlname === 'text') ? textCharLengthId : nameCharLengthId;\r\n let titleInputVal: any;\r\n if (ctrlname === 'title') {\r\n nameOrTextInputLengthEle = document.getElementById('titleInputLength');\r\n if (nameOrTextInputLengthEle == null || nameOrTextInputLengthEle == undefined) {\r\n titleInputVal = \"20\";\r\n }\r\n else {\r\n titleInputVal = parseInt(nameOrTextInputLengthEle.value);\r\n }\r\n }\r\n else {\r\n titleInputVal = parseInt(nameOrTextInputLengthEle.value);\r\n }\r\n if (resizableCurrentSelectedControl.offsetHeight <= 20) {\r\n if (nameOrTextInputLengthEle != null)\r\n this.setNameOrTextControlDimension(parseInt(titleInputVal));\r\n setTimeout(() => {\r\n let aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n let updatedNameOrTextInputLengthEle: any = resizableCurrentSelectedControl.getAttribute('maxlengthallowed');\r\n if (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n let errmsg: any = 'Control size out of bounds :' + ctrlname.toLowerCase() + ' control length reduced to ' + aprxLength + \" characters.\";\r\n // this.toastrService.warning(errmsg, 'Warning');\r\n resizableCurrentSelectedControl.setAttribute('maxlengthallowed', aprxLength);\r\n nameOrTextInputLengthEle.value = aprxLength;\r\n\r\n let title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n resizableCurrentSelectedControl.setAttribute('title', title);\r\n }\r\n }, 500);\r\n }\r\n else {\r\n if (titleInputVal) {\r\n this.setNameOrTextControlDimension(parseInt(titleInputVal));\r\n }\r\n }\r\n }\r\n else {\r\n if (spnCurrentSelectedControl && resizableCurrentSelectedControl) {\r\n if (ctrlname === 'hyperlink') {\r\n let spnPaddingLeft: any = parseInt(spnCurrentSelectedControl.style.paddingLeft.split('px')[0]);\r\n resizableCurrentSelectedControl.style.width = (spnCurrentSelectedControl.offsetWidth + spnPaddingLeft) + 'px';\r\n resizableCurrentSelectedControl.style.height = spnCurrentSelectedControl.offsetHeight + 'px';\r\n } else {\r\n resizableCurrentSelectedControl.style.width = spnCurrentSelectedControl.clientWidth + 'px';\r\n if ((ctrlname == \"email\" || ctrlname == \"company\") && type == \"0\" && fontSize == 12)\r\n resizableCurrentSelectedControl.style.height = '20px';\r\n else if ((ctrlname == \"date\") && type == \"0\" && fontSize == 12)\r\n resizableCurrentSelectedControl.style.height = '16px';\r\n else resizableCurrentSelectedControl.style.height = spnCurrentSelectedControl.clientHeight + 'px';\r\n }\r\n }\r\n }\r\n }\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n }\r\n\r\n applyFontSizePxOrPt(selectedValue: any) {\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();;\r\n let spnCurrentSelectedControl = (document.getElementById(\"spn\" + currentSelectedControl));\r\n if (spnCurrentSelectedControl) {\r\n let fontSizeSelect: any = (document.getElementById('fontSizeSelect'));\r\n if (selectedValue && fontSizeSelect && fontSizeSelect.value) {\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n resizableCurrentSelectedControl.setAttribute('data-typography', selectedValue);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n this.applyFontSize(fontSizeSelect.value, 1);\r\n }\r\n }\r\n\r\n }\r\n\r\n // common function for fontWeight,fontStyle and textDecoration\r\n applyFontStyles() {\r\n let styleObj: any = {\r\n isBold: this.isBold,\r\n isItalic: this.isItalic,\r\n isUnderlined: this.isUnderlined\r\n }\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyFontStyles(currentSelectedControl, styleObj);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyTextAlign(type: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyTextAlign(currentSelectedControl, type);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyColorPicker(color: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyColorPicker(currentSelectedControl, color);\r\n setTimeout(() => {\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }, 500);\r\n }\r\n\r\n updateColorCode(groupColorCode: any) {\r\n //let grpCode: any = this.controlPropertyService.updateColorCode(groupColorCode);\r\n //this.groupColorCode = grpCode;\r\n }\r\n\r\n getDimensionBasedOnFontSizeAndStyle(fontFamily: any, fontSize: any) {\r\n return this.controlPropertyService.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n };\r\n\r\n getDuplicateHeightWidth(fontFamily: any, fontSize: any) {\r\n return this.controlPropertyService.getDuplicateHeightWidth(fontFamily, fontSize);\r\n };\r\n\r\n getElePositions(ctrlId: any) {\r\n return this.controlPropertyService.getElePositions(ctrlId);\r\n }\r\n\r\n getParentWidthAndHeight(currentEle: any) {\r\n let response: any;\r\n if (currentEle && currentEle.parentNode && currentEle.parentNode.parentNode && currentEle.parentNode.parentNode.id) {\r\n response = this.controlPropertyService.getParentWidthAndHeight(currentEle);\r\n }\r\n return response;\r\n }\r\n\r\n clearAllControls(data: any) {\r\n let allDeleteCtrlsList: any = [];\r\n for (const [ctrlObjId, componentRef] of this.dynamicComponentRefs) {\r\n let resizableEle: any = document.getElementById('resizable_' + ctrlObjId);\r\n if (resizableEle) {\r\n resizableEle.style.background = '#ffffff';\r\n if (resizableEle.style.display != 'none') {\r\n allDeleteCtrlsList.push('resizable_' + ctrlObjId);\r\n }\r\n }\r\n }\r\n this.deleteItems(allDeleteCtrlsList);\r\n this.isClose = true;\r\n this.hideControlViewSection = true;\r\n this.updateExtendDocumentWidth();\r\n this.activeCtrlId = 0;\r\n let pageNumber: any = 1;\r\n\r\n if (data && data.modalRef && data.modalRef.content && data.modalRef.content.commonService && data.modalRef.content.commonService._previewObject &&\r\n data.modalRef.content.commonService._previewObject.pageNumber) {\r\n pageNumber = data.modalRef.content.commonService._previewObject.pageNumber;\r\n }\r\n\r\n this.onClickOutsideSelectionArea();\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n this.imagesArr.forEach((item: any) => {\r\n item.isActive = false;\r\n item.controlsCount = 0;\r\n })\r\n\r\n this.updateTempTotalCountPerPage();\r\n this.commonService.updatePrevObject({\r\n 'totalControls': 0,\r\n 'pageNumber': parseInt(pageNumber),\r\n 'tempTotalCountPerPage': this.tempTotalCountPerPage\r\n // 'documentList': this.imagesArr\r\n });\r\n this.sessionStorageService.setAllImageControls('');\r\n this.sessionStorageService.setArrCopyPasteCtrl('');\r\n this.sessionStorageService.setArrUndoRedoCtrl('');\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp('');\r\n this.sessionStorageService.setControlDependencyFieldsArray('');\r\n this.sessionStorageService.setControlPageGuidNumArray('');\r\n }\r\n\r\n checkLengthNameAndTextControl(ctrlObj: any) {\r\n if (ctrlObj.dataGuid.toLowerCase() === Control.Name.toLowerCase() || ctrlObj.dataGuid.toLowerCase() === Control.Title.toLowerCase() || ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n let controlEle: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n if (controlEle) {\r\n controlEle.setAttribute('maxlengthallowed', 20);\r\n let title: any = 'approximately ' + 20 + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n let idEle: any = 'nameInputLength';\r\n if ((ctrlObj.dataGuid.toLowerCase() === Control.Title.toLowerCase())) {\r\n idEle = 'titleInputLength';\r\n }\r\n else if ((ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase())) {\r\n idEle = 'textInputLength';\r\n }\r\n let inputLength: any = (document.getElementById(idEle));\r\n if (inputLength) {\r\n inputLength.value = 20;\r\n }\r\n\r\n if (ctrlObj.dataGuid.toLowerCase() === Control.Text.toLowerCase()) {\r\n controlEle.setAttribute('data-texttype', this.controlPropertyService.getTextTypeValue('text'));\r\n controlEle.setAttribute('data-validation-type', 'Text');\r\n }\r\n }\r\n }\r\n }\r\n\r\n applyRadioGroup(event: any) {\r\n //let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyRadioGroup(event, currentSelectedControl);\r\n let isSaveAsDefault: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue('radio');\r\n if (isSaveAsDefault === true || isSaveAsDefault === 'true') {\r\n this.isRadioRequiredChecked = event.target.checked;\r\n } else {\r\n this.isRadioRequiredChecked = false;\r\n }\r\n //required code\r\n this.controlPropertyService.showRequiredIcon(currentSelectedControl);\r\n //required code\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n setNameOrTextControlDimension(charLength: any) {\r\n let selControl: any = document.getElementById(this.currentControlId);\r\n let leftscroll: any = 0;\r\n let fontFamily: any;\r\n let fontSize: any;\r\n let spnCurrentSelectedControl = (document.getElementById('spn' + this.currentControlId));\r\n if (spnCurrentSelectedControl) {\r\n fontFamily = spnCurrentSelectedControl.style.fontFamily;\r\n fontSize = parseInt(spnCurrentSelectedControl.style.fontSize.split('px')[0]);\r\n }\r\n let isSingleCharacter: any = charLength > 1 ? false : true;\r\n\r\n let dim: any = fontSize < 16 ? this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize) : this.getDuplicateHeightWidth(fontFamily, fontSize);\r\n let dimW: any = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n let Width: any = parseInt(Math.floor(Math.ceil(dimW.Width) * charLength) + dimW.Width);\r\n let parentWidth: any = parseInt(selControl.parentNode.parentNode.offsetWidth + leftscroll);\r\n let parentHeight: any = parseInt(selControl.parentNode.parentNode.offsetHeight);\r\n\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n let controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n let controlTopPosition: any = parseInt(controlPositions.Top);\r\n let controlLeftPosition: any = parseInt(controlPositions.Left);\r\n let controlTotalWidth: any = (controlLeftPosition + Width);\r\n let newheight: any = 0;\r\n let cHeight = parseInt(resizableCurrentSelectedControl.style.height);\r\n let cWidth = parseInt(resizableCurrentSelectedControl.style.width);\r\n let ismultipleline: any = Math.floor(cHeight / dim.Height) > 1 ? 'true' : 'false';\r\n let calcHeight: any = (ismultipleline == 'true') ? (charLength * Math.ceil(dimW.Width) * dim.Height) / (cWidth) : (dim.Height);\r\n calcHeight = calcHeight < dim.Height ? dim.Height : calcHeight;\r\n if (isSingleCharacter) {\r\n if (fontSize === 60) {\r\n resizableCurrentSelectedControl.style.width = (fontSize - 5) + 'px';\r\n }\r\n else {\r\n resizableCurrentSelectedControl.style.width = (fontSize + 2) + 'px';\r\n }\r\n newheight = fontSize >= 16 ? (Math.ceil(calcHeight / dim.Height) * dim.Height) : 22 - 2;\r\n resizableCurrentSelectedControl.style.height = newheight + 'px';\r\n }\r\n else {\r\n if (ismultipleline == 'false') {\r\n if (parentWidth < controlTotalWidth) {\r\n resizableCurrentSelectedControl.style.width = (parentWidth - controlLeftPosition) + 'px';\r\n this.setControlLocation(this.currentControlId, 0);\r\n }\r\n else\r\n resizableCurrentSelectedControl.style.width = Width + 'px';\r\n newheight = fontSize >= 16 ? (Math.ceil(calcHeight / dim.Height) * dim.Height) : 22 - 2;\r\n }\r\n else {\r\n // let nameCharLengthId: any = document.getElementById('nameInputLength');\r\n // let textCharLengthId: any = document.getElementById('textInputLength');\r\n // let ctrlname: any = this.currentControlId.split('Control')[0];\r\n // if (ctrlname === 'title') {\r\n // nameCharLengthId = document.getElementById('titleInputLength');\r\n // }\r\n // let textMaxLength: any = (ctrlname === 'text') ? parseInt(textCharLengthId.value) : parseInt(nameCharLengthId.value);\r\n // let textFontSize: any = spnCurrentSelectedControl.style.fontSize.split('px')[0];\r\n // let textFontFamily: any = spnCurrentSelectedControl.style.fontFamily;\r\n\r\n // if (textMaxLength != charLength || textFontSize != fontSize || textFontFamily != fontFamily) {\r\n // newheight = (Math.ceil(calcHeight / dim.Height) * dim.Height) + (Math.ceil(calcHeight / dim.Height) * 2);\r\n // } else {\r\n // let dataGuid: any = resizableCurrentSelectedControl.getAttribute('data-guid');\r\n // if (dataGuid.toLowerCase() == Control.Text.toLowerCase()) this.textareaEdited = true;\r\n\r\n // if (dataGuid.toLowerCase() == Control.Text.toLowerCase() ||\r\n // dataGuid.toLowerCase() == Control.Name.toLowerCase() ||\r\n // dataGuid.toLowerCase() == Control.Title.toLowerCase()) {\r\n // newheight = 20;\r\n // }\r\n // }\r\n newheight = (Math.ceil(calcHeight / dim.Height) * dim.Height) + (Math.ceil(calcHeight / dim.Height) * 2);\r\n if (Width <= cWidth) {\r\n resizableCurrentSelectedControl.style.width = Width + 'px';\r\n }\r\n }\r\n\r\n if (parentHeight < (newheight + controlTopPosition))\r\n resizableCurrentSelectedControl.style.height = (parentHeight - controlTopPosition) + 'px';\r\n else\r\n resizableCurrentSelectedControl.style.height = (newheight) + 'px';\r\n }\r\n }\r\n\r\n setControlLocation(ctrlId: any, leftscroll: any) {\r\n let selControl: any = document.getElementById(ctrlId);\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n let parentWidth: any = parseInt(selControl.parentNode.parentNode.offsetWidth + leftscroll);\r\n let controlWidth: any = parseInt(resizableCurrentSelectedControl.style.width);\r\n let controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n let controlLeftPosition: any = parseInt(controlPositions.Left);\r\n let controlTotolWidth: any = (controlLeftPosition + controlWidth);\r\n let finalPosition: any;\r\n if (parentWidth <= controlTotolWidth) {\r\n finalPosition = controlLeftPosition - (controlTotolWidth - parentWidth);\r\n this.updateLeftValue(resizableCurrentSelectedControl, finalPosition);\r\n }\r\n let pageNumber: any = parseInt(resizableCurrentSelectedControl.getAttribute('pageno'));\r\n let imgEle: any = document.getElementById('imgControl_' + pageNumber);\r\n var imageWidth = imgEle.offsetWidth;\r\n var imageHeight = imgEle.offsetHeight;\r\n if (imageWidth < imageHeight) {\r\n if ((controlLeftPosition + controlWidth) >= imageWidth) {\r\n let maxLeft: any = imageWidth - 5;\r\n let newPosition: any = (maxLeft - controlWidth);\r\n this.updateLeftValue(resizableCurrentSelectedControl, newPosition);\r\n }\r\n }\r\n }\r\n\r\n getApproximateCharateLength(ctrlId: any) {\r\n let ctrlSpanEle: any = document.getElementById('spn' + this.currentControlId);\r\n let fontFamily: any = ctrlSpanEle.style.fontFamily;\r\n let fontSize: any = ctrlSpanEle.style.fontSize.split('px')[0];\r\n let controlEle: any = (document.getElementById('resizable_' + this.currentControlId));\r\n let cW: any = controlEle.offsetWidth;\r\n let cH: any = controlEle.offsetHeight;\r\n var d = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, parseInt(fontSize));\r\n var floorWidthWord = cW / Math.ceil(d.Width);\r\n var floorHeightWord = Math.floor(cH / Math.ceil(d.Height));\r\n floorHeightWord = floorHeightWord == 0 ? 1 : floorHeightWord;\r\n\r\n // For handling character count less than one.\r\n var charLength = Math.floor(floorWidthWord * floorHeightWord);\r\n\r\n if ((Math.floor(floorWidthWord * floorHeightWord)) < 1)\r\n return 1;\r\n return Math.floor(charLength);\r\n }\r\n\r\n updateLeftValue(resizableCurrentSelectedControl: any, left: any) {\r\n const transformString = resizableCurrentSelectedControl.style.transform;\r\n const regex = /translate3d\\(([-\\d.]+)px,\\s+([-\\d.]+)px,\\s+([-\\d.]+)px\\)/;\r\n let match = transformString.match(regex);\r\n let translateX = 0;\r\n let translateY = 0;\r\n let translateZ = 0;\r\n\r\n if (match) {\r\n translateX = parseFloat(match[1]);\r\n translateY = parseFloat(match[2]);\r\n translateZ = parseFloat(match[3]);\r\n }\r\n\r\n let element: any = document.getElementById(resizableCurrentSelectedControl.getAttribute(\"id\"));\r\n let posObj: any = this.controlPropertyService.getElePositions(element);\r\n element.style.left = posObj.Left + 'px';\r\n element.style.top = posObj.Top + 'px';\r\n\r\n // resizableCurrentSelectedControl.style.transform = `translate3d(${left}px, ${translateY}px, ${translateZ}px)`;\r\n }\r\n\r\n updateControlNameOrTextLength(e: any, type: any) {\r\n this.commonService.callParentShowControlFields$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { event: any; data: any; }) => {\r\n const { event, data } = value;\r\n this.currentControlId = data.id;\r\n });\r\n\r\n let controlEle: any = (document.getElementById(\"resizable_\" + this.currentControlId));\r\n if (controlEle) {\r\n let maxlengthallowed: any = controlEle.getAttribute('maxlengthallowed');\r\n let nameOrTextInputLengthEle: any = document.getElementById(type + 'InputLength');\r\n if (nameOrTextInputLengthEle && nameOrTextInputLengthEle.value) {\r\n let nameOrTextInputLengthEleVal: any = parseInt(nameOrTextInputLengthEle.value);\r\n if (type === 'name' || type === 'title') {\r\n if (nameOrTextInputLengthEleVal > 100) {\r\n this.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n controlEle.setAttribute('maxlengthallowed', 20);\r\n nameOrTextInputLengthEleVal = 20;\r\n nameOrTextInputLengthEle.value = 100;\r\n } else {\r\n controlEle.setAttribute('maxlengthallowed', parseInt(nameOrTextInputLengthEle.value));\r\n if (controlEle.offsetHeight <= 20) {\r\n this.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n let title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n\r\n setTimeout(() => {\r\n let aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n let updatedNameOrTextInputLengthEle: any = controlEle.getAttribute('maxlengthallowed');\r\n if (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n let errmsg: any = 'Control size out of bounds :' + type + ' control length reduced to ' + aprxLength + \" characters.\"\r\n this.toastrService.warning(errmsg, 'Warning');\r\n controlEle.setAttribute('maxlengthallowed', aprxLength);\r\n nameOrTextInputLengthEle.value = aprxLength;\r\n\r\n let title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n }\r\n }, 500);\r\n } else {\r\n this.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n let title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n }\r\n }\r\n }\r\n else if (type === 'text') {\r\n if (nameOrTextInputLengthEleVal > 999) {\r\n this.toastrService.warning('Value should be less than 1000.', 'Warning');\r\n controlEle.setAttribute('maxlengthallowed', 20);\r\n nameOrTextInputLengthEleVal = 20;\r\n nameOrTextInputLengthEle.value = 999;\r\n } else {\r\n controlEle.setAttribute('maxlengthallowed', parseInt(nameOrTextInputLengthEle.value));\r\n if (controlEle.offsetHeight <= 20) {\r\n this.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n let title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n\r\n setTimeout(() => {\r\n let aprxLength: any = this.getApproximateCharateLength(this.currentControlId);\r\n let updatedNameOrTextInputLengthEle: any = controlEle.getAttribute('maxlengthallowed');\r\n if (aprxLength != parseInt(updatedNameOrTextInputLengthEle)) {\r\n let errmsg: any = 'Control size out of bounds : text control length reduced to ' + aprxLength + \" characters.\"\r\n this.toastrService.warning(errmsg, 'Warning');\r\n controlEle.setAttribute('maxlengthallowed', aprxLength);\r\n nameOrTextInputLengthEle.value = aprxLength;\r\n\r\n let title: any = 'approximately ' + aprxLength + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n }\r\n }, 500);\r\n } else {\r\n this.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n let title: any = 'approximately ' + parseInt(nameOrTextInputLengthEle.value) + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n applyTextTypeControl(value: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n let textInputTypeEle: any = document.getElementById('textInputLength');\r\n let defaultLength: any = 20;\r\n let tenCharsLength: any = 10;\r\n let title: any = 'approximately ' + defaultLength + ' characters or control boundary.';\r\n let isFixedWidthVal: any = controlEle.getAttribute('data-isfixedwidth');\r\n if (controlEle) {\r\n if (value === '1' || value === '3' || value === '4' || value === '7') { //TEXT ALPHABET SSN EMAIL\r\n controlEle.removeAttribute('data-additional-validation-name');\r\n controlEle.removeAttribute('data-additional-validation-option');\r\n }\r\n\r\n //controlEle.removeAttribute('data-additional-validation-name', '');\r\n let divEle: any = document.getElementById('div' + currentSelectedControl);\r\n if (divEle) {\r\n divEle.classList.add('resize-action');\r\n }\r\n let isFixedWidthTextContainer: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthTextContainer) {\r\n isFixedWidthTextContainer.style.display = 'block';\r\n }\r\n //4-SSN, 5-Zip, 6-Date\r\n if (value === '4' || value === '5' || value === '6') {\r\n if (textInputTypeEle) {\r\n textInputTypeEle.value = tenCharsLength;\r\n textInputTypeEle.setAttribute('disabled', true);\r\n controlEle.setAttribute('maxlengthallowed', tenCharsLength);\r\n controlEle.setAttribute('data-maxcharlimit', tenCharsLength);\r\n controlEle.style.width = '87px';\r\n controlEle.style.height = '20px';\r\n title = 'approximately ' + textInputTypeEle.value + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n if (divEle) {\r\n divEle.classList.remove('resize-action');\r\n }\r\n this.validateCharLimit();\r\n }\r\n }\r\n else if (value === '7') { // Email\r\n if (textInputTypeEle) {\r\n textInputTypeEle.value = defaultLength;\r\n controlEle.style.width = '167px';\r\n textInputTypeEle.setAttribute('disabled', true);\r\n controlEle.setAttribute('maxlengthallowed', defaultLength);\r\n title = 'approximately ' + textInputTypeEle.value + ' characters or control boundary.';\r\n controlEle.setAttribute('title', title);\r\n controlEle.setAttribute('data-maxcharlimit', '100');\r\n if (isFixedWidthVal === false || isFixedWidthVal === 'false') {\r\n controlEle.setAttribute('maxcharallowed', '100');\r\n controlEle.setAttribute('maxemailcharallowed', '100');\r\n this.controlPropertyService.checkFixedWidthFalseAndMaxCharLimit('Email', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer', this.isFixedWidthChecked);\r\n } else {\r\n textInputTypeEle.removeAttribute('disabled');\r\n textInputTypeEle.classList.remove('disabled');\r\n this.controlPropertyService.checkFixedWidthTrueAndMaxCharLimit('Email', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer');\r\n }\r\n }\r\n }\r\n else { //Text, Alphabet, Numeric\r\n if (textInputTypeEle) {\r\n textInputTypeEle.value = defaultLength;\r\n textInputTypeEle.removeAttribute('disabled');\r\n textInputTypeEle.classList.remove('disabled');\r\n controlEle.setAttribute('maxlengthallowed', defaultLength);\r\n controlEle.setAttribute('data-maxcharlimit', '4000');\r\n controlEle.style.width = '167px';\r\n if (isFixedWidthVal === false || isFixedWidthVal === 'false') {\r\n controlEle.setAttribute('maxcharallowed', '4000');\r\n controlEle.setAttribute('maxemailcharallowed', '4000');\r\n this.controlPropertyService.checkFixedWidthFalseAndMaxCharLimit('Text', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer', this.isFixedWidthChecked);\r\n } else {\r\n this.controlPropertyService.checkFixedWidthTrueAndMaxCharLimit('Text', 'textInputLength', 'textCharInputLimit', 'isFixedWidthTextContainer');\r\n }\r\n }\r\n }\r\n\r\n const valueToFind = parseInt(value); // The value you want to search for\r\n const foundOption = this.commonConstants.Validationsoptions.find((option: { value: number; }) => option.value === valueToFind);\r\n\r\n if (foundOption && foundOption.label) {\r\n controlEle.setAttribute('data-validation-type', foundOption.label);\r\n // controlEle.removeAttribute('data-additional-validation-option');\r\n this.showTextFieldsContainer = 'none';\r\n this.showTextDecimalType = 'none';\r\n this.showTextDecimalOptions = 'none';\r\n this.showTextZipFormat = 'none';\r\n this.showTextZipFormatOptions = 'none';\r\n this.showTextDateFormat = 'none';\r\n this.showTextDateFormatOptions = 'none';\r\n\r\n if (value === '2') {\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextDecimalType = 'block';\r\n let validationname: any = controlEle.getAttribute('data-additional-validation-name');\r\n controlEle.setAttribute('data-additional-validation-name', validationname);\r\n\r\n if (validationname && validationname == \"Number\") {\r\n controlEle.removeAttribute('data-additional-validation-option');\r\n }\r\n else if (validationname && validationname == \"Decimal\") {\r\n this.showTextDecimalOptions = 'block';\r\n }\r\n else {\r\n controlEle.setAttribute('data-additional-validation-name', 'Number');\r\n controlEle.removeAttribute('data-additional-validation-option');\r\n }\r\n }\r\n else if (value === '5') {\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextZipFormat = 'block';\r\n this.showTextZipFormatOptions = 'block';\r\n controlEle.setAttribute('data-additional-validation-name', 'Zip Format');\r\n controlEle.setAttribute('data-additional-validation-option', '1');\r\n }\r\n else if (value === '6') {\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextDateFormat = 'block';\r\n this.showTextDateFormatOptions = 'block';\r\n controlEle.setAttribute('data-additional-validation-name', 'Date Format');\r\n let isCheckDataAdditionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n if (isCheckDataAdditionalValidationOption === null) {\r\n controlEle.setAttribute('data-additional-validation-option', '1');\r\n }\r\n }\r\n controlEle.setAttribute('data-texttype', this.controlPropertyService.getTextTypeValue(foundOption.label));\r\n }\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n }\r\n\r\n applyPrefillDefaultDateProperty(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyPrefillDefaultDateProperty(event, currentSelectedControl);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyFirstLineBlank(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.currentControlId = currentSelectedControl;\r\n let retunVal: any = this.controlPropertyService.applyFirstLineBlank(event, this.currentControlId);\r\n let selectDropdownControlField: any = (document.getElementById('spn' + this.currentControlId)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n this.openModal('', 'dropdownlist', '');\r\n }\r\n\r\n this.isdrpFirstLineBlank = event.target.checked;\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyLabelName(event: any, labelOrHyperlink: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyLabelName(event, currentSelectedControl, labelOrHyperlink);\r\n\r\n let controlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n let spaControlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n\r\n let pageNo: any = controlEle.getAttribute('pageno');\r\n let imageControlEle: any = document.getElementById('imgControl_' + parseInt(pageNo));\r\n let containerWidth: any = 0;\r\n let containerHeight: any = 0;\r\n if (imageControlEle) {\r\n containerHeight = (imageControlEle.offsetHeight - 7);\r\n containerWidth = (imageControlEle.offsetWidth - 20);\r\n }\r\n\r\n if (controlEle && controlEle.style && controlEle.style.width) {\r\n if (spaControlEle && spaControlEle.offsetWidth && spaControlEle.offsetWidth <= containerWidth) {\r\n spaControlEle.style.textWrap = 'nowrap';\r\n controlEle.style.width = spaControlEle.offsetWidth + 5 + 'px';\r\n } else {\r\n controlEle.style.width = containerWidth + 'px';\r\n spaControlEle.style.textWrap = 'wrap';\r\n }\r\n }\r\n this.setControlLocation(currentSelectedControl, 0);\r\n if (labelOrHyperlink === 'label') {\r\n setTimeout(() => {\r\n if (controlEle && controlEle.style && controlEle.style.height) {\r\n if (spaControlEle && spaControlEle.offsetHeight) {\r\n controlEle.style.height = spaControlEle.offsetHeight + 'px';\r\n }\r\n }\r\n }, 100);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n }\r\n\r\n applyHyperLinkURL(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyHyperLinkURL(event, currentSelectedControl);\r\n }\r\n\r\n applyNewContentId(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyNewContentId(event, currentSelectedControl);\r\n }\r\n\r\n applyDefaultDateFormat(event: any) {\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyDefaultDateFormat(this.selectDefaultDateFormat, currentSelectedControl);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n }\r\n\r\n applyTextTypeZip(selectedVal: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyTextTypeZip(currentSelectedControl, selectedVal);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n\r\n applyTextTypeDate(selectedVal: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyTextTypeDate(currentSelectedControl, selectedVal);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n\r\n applyTextTypeDecimal(selectedVal: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n if (selectedVal === '1') {\r\n this.showTextDecimalOptions = 'none';\r\n } else if (selectedVal === '2') {\r\n this.showTextDecimalOptions = 'block';\r\n }\r\n this.controlPropertyService.applyTextTypeDecimal(currentSelectedControl, selectedVal);\r\n\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n\r\n applyTextTypeDecimalOption(selectedVal: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyTextTypeDecimalOption(currentSelectedControl, selectedVal);\r\n this.updateCtrlTextFormatting(currentSelectedControl, '1');\r\n this.controlPropertyService.applyTextPrefillData(currentSelectedControl);\r\n }\r\n\r\n getEachControlValidation(type: any, isAutoSave: any) {\r\n let resultObj: any = this.controlPropertyService.checkContolAttribuesData(type, 'template');\r\n let isValidateSignatureAndEmail: boolean = true;\r\n let isStaticLinkDisabled: any = this.envelope.envelopeDetails.isStatic;\r\n let IsAllowMultiSigner: any = this.envelope.envelopeDetails.allowMultiSigners;\r\n if (isStaticLinkDisabled && IsAllowMultiSigner) { //multi signer static template\r\n if (resultObj.controlArray.length != 0) {\r\n this.envelope.envelopeDetails.roleList.forEach((item: any) => {\r\n const s = resultObj.controlArray.filter((rec: any) =>\r\n (rec.ControlID) != null &&\r\n (rec.ControlID) === 'e294c207-13fd-4508-95fc-90c5d9c555fa' &&\r\n (rec.RecipientID) === item.id\r\n )\r\n if (s.length === 0) {\r\n isValidateSignatureAndEmail = false;\r\n }\r\n });\r\n }\r\n else {\r\n isValidateSignatureAndEmail = false;\r\n }\r\n }\r\n else if (isStaticLinkDisabled && (IsAllowMultiSigner == \"false\" || IsAllowMultiSigner == false) && this.signatureControlRequiredForStaticTemplate == \"true\") { //signle signer static template\r\n if (resultObj.controlArray.length != 0) {\r\n this.envelope.envelopeDetails.roleList.forEach((item: any) => {\r\n const s = resultObj.controlArray.filter((rec: any) =>\r\n (rec.ControlID) != null &&\r\n (rec.ControlID) === 'e294c207-13fd-4508-95fc-90c5d9c555fa' &&\r\n (rec.RecipientID) === item.id\r\n )\r\n if (s.length === 0) {\r\n isValidateSignatureAndEmail = false;\r\n }\r\n });\r\n }\r\n else {\r\n isValidateSignatureAndEmail = false;\r\n }\r\n }\r\n\r\n\r\n if (resultObj.isValid == true) {\r\n let finalControlArrayFilter: any = resultObj.controlArray.filter((c: any) => (c.XCoordinate === 0 && c.YCoordinate === 0 && c.ZCoordinate === 0));\r\n if (!isValidateSignatureAndEmail && isStaticLinkDisabled && IsAllowMultiSigner && isAutoSave) {\r\n this.toastrService.warning(\"Please add signature controls for all the signer(s).\", \"Warning\");\r\n resultObj.isValid == false;\r\n return false;\r\n }\r\n else if (!isValidateSignatureAndEmail && isStaticLinkDisabled && (IsAllowMultiSigner == \"false\" || IsAllowMultiSigner == false) && isAutoSave) {\r\n this.toastrService.warning(\"Please add at least one signature control for the signer.\", \"Warning\");\r\n resultObj.isValid == false;\r\n return false;\r\n }\r\n }\r\n return resultObj;\r\n }\r\n\r\n saveTemplateOrRule(type: any) {\r\n this.isSendEnvelope = true;\r\n this.sessionStorageService.setIsSendEnvelope('1');\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.showLoader = true;\r\n var Source = 'Save';\r\n var isAutoSave = false;\r\n\r\n let resultObj: any = this.getEachControlValidation(\"send\", true);\r\n if (resultObj.isValid == true) {\r\n let controlArray = resultObj.controlArray;\r\n let apiEnvelopeControls: any = {\r\n TemplateID: this.envelope.envelopeDetails.envelopeID,\r\n Controls: controlArray,\r\n EnvelopeStage: RSignStage.InitializeTemplate,\r\n IsPrefill: this.isPrefillExists == true ? true : false,\r\n Source: Source,\r\n IsAutoSave: isAutoSave,\r\n EnvelopeTypeId: type == 'Rule' ? EnvelopeType.TemplateRule : EnvelopeType.Template,\r\n EnableMultipleBranding: this.enableMultiBranding,\r\n Branding: this.branding\r\n //IsSFSend: false\r\n };\r\n this.apiService.SaveTemplateRuleUrl(apiEnvelopeControls).subscribe((data: any) => {\r\n if (data && data.statusCode == 200) {\r\n this.showLoader = true;\r\n this.toastrService.success(data.statusMessage, 'Success');\r\n this.hostListenerStatus = true;\r\n if (data.returnURL && data.returnURL != \"\") {\r\n setTimeout(() => {\r\n const containsUrl = data.returnURL.includes('http://') || data.returnURL.includes('https://');\r\n if (containsUrl) {\r\n window.location.href = data.returnURL;\r\n }\r\n else {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrl + data.returnURL;\r\n }\r\n else {\r\n let rsignUrl: any = environment.rsignUrl;\r\n window.location.href = rsignUrl + data.returnURL;\r\n }\r\n }\r\n this.showLoader = false;\r\n }, 1000);\r\n }\r\n }\r\n else if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.toastrService.warning(\"Unable to save template. Please inform RPost support.\", 'Warning');\r\n }\r\n });\r\n }\r\n else {\r\n this.showLoader = false;\r\n }\r\n }, 500);\r\n }\r\n }\r\n\r\n saveAndContinue() {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.showLoader = true;\r\n var Source = 'Save';\r\n var isAutoSave = false;\r\n var EnvelopeTypeId = '';\r\n let resultObj: any = this.getEachControlValidation(\"send\", false);\r\n if (resultObj.isValid == true) {\r\n let controlArray = resultObj.controlArray;\r\n let apiEnvelopeControls: any = {\r\n TemplateID: this.envelope.envelopeDetails.envelopeID,\r\n Controls: controlArray,\r\n EnvelopeStage: RSignStage.InitializeTemplate,\r\n IsPrefill: this.isPrefillExists == true ? true : false,\r\n Source: Source,\r\n IsAutoSave: isAutoSave,\r\n Stage: 'PrepareEditTemplate'\r\n //IsSFSend: false\r\n };\r\n\r\n this.apiService.SaveTemplateRuleUrl(apiEnvelopeControls).subscribe((data: any) => {\r\n if (data && data.statusCode == 200) {\r\n //TO Do create a popup and hide\r\n if (isAutoSave == true)\r\n this.showLoader = false;\r\n // $(\"#dvAutoSave\").html(\"\").hide();\r\n else if (Source == 'Back') {\r\n setTimeout(() => {\r\n //this.showLoader = false;\r\n window.location.href = data.ReturnURL; //prefill navigation signing url\r\n this.showLoader = false;\r\n }, 1000);\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.toastrService.success(data.statusMessage, 'Success');\r\n }\r\n }\r\n else if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n if (isAutoSave == true)\r\n this.showLoader = false;\r\n //$(\"#dvAutoSave\").html('auto-save failed').show().delay(4000).fadeOut();\r\n else {\r\n this.showLoader = true;\r\n this.toastrService.warning(data.message, 'Warning');\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n this.showLoader = false;\r\n }\r\n }, 500);\r\n }\r\n }\r\n\r\n getEnvelopeStage() {\r\n let envelope: any = this.envelope.envelopeDetails;\r\n let envelopeStage: any = envelope.isDraft == true ? RSignStage.PrepareDraft : ((envelope.isEnvelopeComplete == false || (envelope.isEnvelopeComplete == true && envelope.isEdited == true)) ? RSignStage.PrepareEnvelope : RSignStage.PrepareEditTemplate);\r\n return envelopeStage;\r\n }\r\n\r\n checkTextFields() {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let controlEle: any = (document.getElementById(\"resizable_\" + currentSelectedControl));\r\n let controlSpnEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n // if (controlSpnEle) {\r\n // let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n // if (addTextTextarea)\r\n // addTextTextarea.value = controlSpnEle.innerHTML;\r\n // }\r\n if (controlEle) {\r\n this.setShowTextFiledToNone();\r\n let textInputTypeEle: any = document.getElementById('textInputLength');\r\n if (textInputTypeEle) {\r\n textInputTypeEle.removeAttribute('disabled');\r\n }\r\n let attr_texttype: any = controlEle.getAttribute('data-texttype');\r\n let textType: any = this.controlPropertyService.getTextControlType(attr_texttype);\r\n let attr_integrationType: any = controlEle.getAttribute('data-integrationtype');\r\n let dataValidationType: any = (attr_integrationType && attr_integrationType != \"undefined\" && attr_integrationType != \"null\" && attr_integrationType.toLowerCase() === 'vincere') ? textType : controlEle.getAttribute('data-validation-type');\r\n // let dataValidationType: any = controlEle.getAttribute('data-validation-type');\r\n if (dataValidationType === 'Text') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '1';\r\n }\r\n }\r\n else if (dataValidationType === 'Numeric') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '2';\r\n }\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextDecimalType = 'block';\r\n let additionalValidationName: any = controlEle.getAttribute('data-additional-validation-name');\r\n if (additionalValidationName === 'Number') {\r\n this.showTextDecimalOptions = 'none';\r\n let textTypeDecimal: any = (document.getElementById('textTypeDecimal'));\r\n if (textTypeDecimal) {\r\n textTypeDecimal.value = '1';\r\n }\r\n } else if (additionalValidationName === 'Decimal') {\r\n this.showTextDecimalOptions = 'block';\r\n let additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n if (additionalValidationOption) {\r\n\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '2';\r\n }\r\n\r\n let textTypeDecimal: any = (document.getElementById('textTypeDecimal'));\r\n if (textTypeDecimal) {\r\n textTypeDecimal.value = '2';\r\n }\r\n\r\n const valueToFind = additionalValidationOption;\r\n const additionalValidationItem = this.commonConstants.AdditionalValidationType.find((item: { value: any; }) => item.value === valueToFind);\r\n if (additionalValidationItem) {\r\n let textTypeDecimalOptions: any = (document.getElementById('textTypeDecimalOptions'));\r\n if (textTypeDecimalOptions) {\r\n textTypeDecimalOptions.value = additionalValidationOption;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else if (dataValidationType === 'Alphabet') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '3';\r\n }\r\n }\r\n else if (dataValidationType === 'SSN') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '4';\r\n }\r\n let textInputTypeEle: any = document.getElementById('textInputLength');\r\n if (textInputTypeEle) {\r\n textInputTypeEle.setAttribute('disabled', true);\r\n }\r\n }\r\n else if (dataValidationType === 'Zip') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '5';\r\n }\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextZipFormat = 'block';\r\n this.showTextZipFormatOptions = 'block';\r\n let additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n if (additionalValidationOption) {\r\n let textZipOptions: any = (document.getElementById('textZipOptions'));\r\n if (textZipOptions) {\r\n const valueToFind = additionalValidationOption;\r\n const additionalValidationItem = this.commonConstants.ValidationsZipOptions.find((item: { value: any; }) => item.value === valueToFind);\r\n if (additionalValidationItem) {\r\n textZipOptions.value = additionalValidationOption;\r\n }\r\n }\r\n }\r\n }\r\n else if (dataValidationType === 'Date') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '6';\r\n }\r\n this.showTextFieldsContainer = 'block';\r\n this.showTextDateFormat = 'block';\r\n this.showTextDateFormatOptions = 'block';\r\n let additionalValidationOption: any = controlEle.getAttribute('data-additional-validation-option');\r\n if (additionalValidationOption) {\r\n let textDateOptions: any = (document.getElementById('textDateOptions'));\r\n if (textDateOptions) {\r\n const valueToFind = additionalValidationOption;\r\n for (let index = 0; index < this.validationsDateOptions.length; index++) {\r\n const element = this.validationsDateOptions[index];\r\n if (element.value == valueToFind) {\r\n textDateOptions.value = additionalValidationOption;\r\n break;\r\n }\r\n }\r\n // const additionalValidationItem = this.validationsDateOptions.find((item: { value: any; }) => item.value === valueToFind);\r\n // if (additionalValidationItem) {\r\n // textDateOptions.value = additionalValidationOption;\r\n // }\r\n }\r\n }\r\n }\r\n else if (dataValidationType === 'Email') {\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '7';\r\n }\r\n }\r\n }\r\n }\r\n\r\n setShowTextFiledToNone() {\r\n this.showTextFieldsContainer = 'none';\r\n this.showTextDecimalType = 'none';\r\n this.showTextDecimalOptions = 'none';\r\n this.showTextZipFormat = 'none';\r\n this.showTextZipFormatOptions = 'none';\r\n this.showTextDateFormat = 'none';\r\n this.showTextDateFormatOptions = 'none';\r\n }\r\n\r\n setTextOrNameAreaSetting(ctrlObj: any) {\r\n var controlInfoType = ctrlObj.controlName;\r\n if (controlInfoType === 'Text' || controlInfoType === 'Name' || controlInfoType === 'Title') {\r\n let ctrlSpanEle: any = document.getElementById('spn' + ctrlObj.id);\r\n let fontFamily: any = '';\r\n let fontSize: any = '';\r\n if (ctrlSpanEle && ctrlSpanEle.style && ctrlSpanEle.style.fontFamily) {\r\n fontFamily = ctrlSpanEle.style.fontFamily;\r\n fontSize = ctrlSpanEle.style.fontSize;\r\n }\r\n let d: any = this.getDimensionBasedOnFontSizeAndStyle(fontFamily, fontSize);\r\n let controlEle: any = document.getElementById('resizable_' + ctrlObj.id)\r\n var containerWidth = controlEle.offsetWidth;\r\n var containerHeight = controlEle.offsetHeight;\r\n\r\n var floorWidthWord = containerWidth / Math.ceil(d.Width);\r\n var floorHeightWord = Math.floor(containerHeight / Math.ceil(d.Height));\r\n floorHeightWord = floorHeightWord === 0 ? 1 : floorHeightWord;\r\n let characterAllowed: any = Math.floor(floorWidthWord * floorHeightWord);\r\n controlEle.setAttribute('maxlength', characterAllowed);\r\n controlEle.setAttribute('maxlengthallowed', characterAllowed);\r\n controlEle.setAttribute('title', 'approximately ' + characterAllowed + ' characters or control boundary.');\r\n let updateNameOrTextInputLength: any = document.getElementById('nameInputLength');\r\n if (controlInfoType === 'Text') {\r\n updateNameOrTextInputLength = document.getElementById('textInputLength');\r\n } else if (controlInfoType === 'Title') {\r\n updateNameOrTextInputLength = document.getElementById('titleInputLength');\r\n }\r\n if (updateNameOrTextInputLength) {\r\n updateNameOrTextInputLength.value = characterAllowed;\r\n }\r\n }\r\n }\r\n\r\n deleteDropdownOption(event: any, slVal: any) {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let selectDropdownControlField: any = (document.getElementById('spn' + currentSelectedControl)) as HTMLSelectElement;\r\n\r\n this.slDropDownControlItems = [];\r\n //Get the existing option values for this control. If any new option is not there in existing option then remove that option which is set as 'data-parent-rule-id'\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length > 0) {\r\n for (let index = 0; index < selectDropdownControlField.options.length; index++) {\r\n var text = selectDropdownControlField.options[index].text;\r\n var ruleId = selectDropdownControlField.options[index]?.getAttribute('data-select-option-id');\r\n if (ruleId && ruleId == slVal) {\r\n let removeParentRuleItem: any = document.querySelectorAll('[data-parent-rule-id=\"' + ruleId + '\"]');\r\n if (removeParentRuleItem && removeParentRuleItem.length > 0) {\r\n Array.from(removeParentRuleItem).forEach((ritem: any, index: any) => {\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-rule-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-parent-support-text-content', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('data-select-option-id', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.setAttribute('is-parent-present', '');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('alreadyDependentField');\r\n document.querySelector('[id=\"' + ritem.getAttribute('id') + '\"]')?.classList.remove('addedAsChild');\r\n this.controlPropertyService.removeColorForItem(ritem.getAttribute('id'));\r\n });\r\n }\r\n }\r\n else {\r\n this.slDropDownControlItems.push({ value: ruleId, text: text });\r\n }\r\n }\r\n\r\n //remove all existing options\r\n selectDropdownControlField.options.length = 0;\r\n\r\n for (var i = 0; i < this.slDropDownControlItems.length; i++) {\r\n var text = this.slDropDownControlItems[i].text;\r\n var ruleId = this.slDropDownControlItems[i]?.value;\r\n var option = '';\r\n selectDropdownControlField.insertAdjacentHTML('beforeend', option);\r\n }\r\n\r\n //if no dependencies are available then delete attribute and color\r\n let mainDropdownControlField: any = (document.getElementById(currentSelectedControl)) as HTMLSelectElement;\r\n let data_document_content_id: any = mainDropdownControlField.getAttribute('data-document-content-id');\r\n let childelementsArray: any = document.querySelectorAll('[data-parent-id=\"' + data_document_content_id + '\"]');\r\n if (childelementsArray && childelementsArray.length == 0) {\r\n this.controlPropertyService.removeAttributes(data_document_content_id);\r\n this.controlPropertyService.removeColorForItem(mainDropdownControlField.getAttribute('id'));\r\n }\r\n }\r\n }\r\n\r\n createControl(ctrlObj: any, type: any, isInitialCtrlFlag: any) {\r\n this.showLoader = true;\r\n //console.log(ctrlObj);\r\n let controlObj: any = {\r\n id: ctrlObj.id,\r\n controlName: ctrlObj.controlName,\r\n pageNo: ctrlObj.pageNo,\r\n contentId: ctrlObj.dataDocumentContentId,\r\n data_guid: ctrlObj.dataGuid,\r\n attr_data_rcptid: ctrlObj.recipientId,\r\n attr_data_recp_color: ctrlObj.recpColor,\r\n controlTopPosition: ctrlObj.top,\r\n controlLeftPosition: ctrlObj.left,\r\n controlHeight: ctrlObj.height,\r\n controlWidth: ctrlObj.width,\r\n isRequired: (ctrlObj.required == true || ctrlObj.required == \"true\") ? \"true\" : \"false\",\r\n textFormatting: ctrlObj.textFormatting,\r\n ctrlNumber: this.getSameControlNumberCount(ctrlObj.dataGuid, ctrlObj.pageNo),\r\n isEnvelopeEditable: this.isEnvelopeEditable\r\n };\r\n //console.log(controlObj);\r\n\r\n let componentType: any = ControlComponent; //this.getComponentType(ctrlObj.controlName);\r\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\r\n const newcomponentRef: any = componentFactory.create(this.injector);\r\n\r\n let newControlObj: any = this.controlPropertyService.createControlOnDocument(newcomponentRef, this.dynamicComponentRefs, this.appRef, controlObj, type, isInitialCtrlFlag);\r\n //console.log(newControlObj);\r\n if (newControlObj && newControlObj != false) {\r\n setTimeout(() => {\r\n this.showLoader = true;\r\n if (type == ControlConfig.Duplicate) {\r\n this.controlPropertyService.updateDuplicateControlProperties(newControlObj.id, ctrlObj.id, ctrlObj.dataGuid);\r\n if (ctrlObj.controlName === 'NewInitials') {\r\n let newResizableControlEle: any = (document.getElementById('resizable_' + newControlObj.id));\r\n newResizableControlEle?.setAttribute('fromParentInitialCtrl', 'true');\r\n }\r\n\r\n // if (isInitialCtrlFlag != 'true') {\r\n //if (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length == 0) {\r\n this.arrCopyPasteCtrl = [];\r\n //}\r\n this.arrCopyPasteCtrl.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'P' });\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n\r\n // let arrUndoRedoCtrlCtrl: any = localStorage.getItem('ArrUndoRedoCtrl');\r\n let arrUndoRedoCtrlCtrl: any = this.sessionStorageService.getArrUndoRedoCtrl();\r\n if (arrUndoRedoCtrlCtrl) {\r\n this.arrUndoRedoCtrl = JSON.parse(arrUndoRedoCtrlCtrl);\r\n if (this.arrUndoRedoCtrl && this.arrUndoRedoCtrl.length == 0) {\r\n this.arrUndoRedoCtrl = [];\r\n }\r\n this.arrUndoRedoCtrl.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'U' });\r\n // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n }\r\n\r\n // arrCopyPasteCtrlsTemp\r\n // let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n let arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n if (arrCopyPasteCtrlsTemp) {\r\n this.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n if (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length == 0) {\r\n this.arrCopyPasteCtrlsTemp = [];\r\n }\r\n this.arrCopyPasteCtrlsTemp.push({ ParentControl: ctrlObj, Control: newcomponentRef.instance.ctrlObj, Action: 'P' });\r\n // localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n }\r\n\r\n this.allControlsArr.push(newControlObj);\r\n this.copyPastedcontrolsArr.push(newControlObj);\r\n this.copyPastedcontrolsArrFlag = true;\r\n // }\r\n }\r\n else if (type == ControlConfig.Existing) { //Copy envelope or Update and resend from Manage Envelope\r\n let integrationValues: any = '';\r\n if (this.integrationResponse && this.integrationResponse.envelopeDetails) {\r\n this.externalIntegrationType = this.integrationResponse.envelopeDetails.integrationType; //Vincere, Bullhorn\r\n if (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n integrationValues = this.integrationResponse.envelopeDetails;\r\n }\r\n }\r\n let iscopyEnvelopeId: any = true;\r\n this.controlPropertyService.updateExistingControlProperties(newControlObj, ctrlObj.controlData, integrationValues, iscopyEnvelopeId, 'template');\r\n if (this.externalIntegrationType && this.externalIntegrationType.toLowerCase() === 'vincere') {\r\n this.currentControlId = newControlObj.id;\r\n let currentctrlele: any = document.getElementById('resizable_' + newControlObj.id);\r\n if (currentctrlele) {\r\n let dataEntityFieldValue: any = currentctrlele.getAttribute(\"data-EntityFieldValue\");\r\n if (dataEntityFieldValue && currentctrlele && dataEntityFieldValue != 'null') {\r\n //currentctrlele.setAttribute('data-customtooltip', ctrlObj.controlData.customToolTip);\r\n currentctrlele.setAttribute('data-customtooltip', (ctrlObj.controlData.customToolTip && (ctrlObj.controlData.customToolTip == 'null' || ctrlObj.controlData.customToolTip == '') ? ctrlObj.controlData.customToolTip : dataEntityFieldValue));\r\n this.setNameOrTextControlDimension(dataEntityFieldValue.length + 2);\r\n }\r\n }\r\n }\r\n this.allControlsArr.push(newControlObj);\r\n this.copyPastedcontrolsArr.push(newControlObj);\r\n this.copyPastedcontrolsArrFlag = true;\r\n }\r\n setTimeout(() => {\r\n if (this.copyPastedcontrolsArrFlag === true) {\r\n let itemsToCopy: any = [];\r\n if (this.copyPastedcontrolsArr && this.copyPastedcontrolsArr.length) {\r\n for (let i = 0; i < this.copyPastedcontrolsArr.length; i++) {\r\n for (let j = 0; j < this.allControlsArr.length; j++) {\r\n if (this.copyPastedcontrolsArr[i].id === this.allControlsArr[j].id) {\r\n itemsToCopy.push(this.allControlsArr[j])\r\n }\r\n }\r\n }\r\n }\r\n this.performUndoRedoAction('ADD_ITEM', itemsToCopy);\r\n this.copyPastedcontrolsArrFlag = false;\r\n }\r\n\r\n this.updateJsonArrays(newControlObj.controlName, newControlObj.className.toLowerCase(), newControlObj, newControlObj.dataGuid);\r\n this.getControlsCount(event, ctrlObj.pageNo, type);\r\n this.showLoader = false;\r\n }, 10);\r\n this.showLoader = false;\r\n }, 20);\r\n }\r\n this.showLoader = false;\r\n }\r\n\r\n undo(event: any) {\r\n let ctrlIdArr: any = this.controlPropertyService.undo();\r\n if (ctrlIdArr && ctrlIdArr.length > 0) {\r\n this.arrUndoCtrlsCount.push(ctrlIdArr);\r\n this.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n ctrlIdArr.forEach((ele: any) => {\r\n this.removeControl(ele, event);\r\n });\r\n this.disableRedoButtons();\r\n this.disableUndoButtons();\r\n }\r\n }\r\n\r\n redo() {\r\n let arrUndoCtrlsCount: any = this.sessionStorageService.getArrUndoCtrlsCount();\r\n this.arrUndoCtrlsCount = JSON.parse(arrUndoCtrlsCount);\r\n if (this.arrUndoCtrlsCount && this.arrUndoCtrlsCount.length > 0) {\r\n this.arrUndoCtrlsCount.pop();\r\n this.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n let arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n this.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n if (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n this.updateCopyAndPasteControls();\r\n } else {\r\n this.createDupicateControl({});\r\n }\r\n this.disableRedoButtons();\r\n this.disableUndoButtons();\r\n }\r\n }\r\n\r\n // mouse selection to control and apply alignments -- starts\r\n applyAlignChanges(selectedOptionVal: any) {\r\n if (this.isEnvelopeEditable == true) {\r\n this.alignControlsService.applyAlignChanges(selectedOptionVal, this.selectedItems, this.selectedDocumentImage, this.container)\r\n this.onClickOutsideSelectionArea();\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n }\r\n }\r\n // mouse selection to control and apply alignments -- ends\r\n\r\n //Getting Conversion Images\r\n retriveConversionImages(initialImagesArrayLength: any) {\r\n if (this.allImagesProcessed == false) {\r\n let fromIndex: any = initialImagesArrayLength + 1;\r\n let conversionImagesArray: any = [];\r\n for (let index = fromIndex; index <= this.totalDocPageImagesCount; index++) {\r\n let imgItem: any = this.imagesArr[index - 1];\r\n let path: any = \"?id=\" + index + \"&envelopeId=\" + this.envelope.envelopeDetails.envelopeID + \"&uncPath=\" + this.envelope.envelopeDetails.uncPath;\r\n let imgPath: any = this.baseUrl + ApiUrlConfig.GetTemplateImages + path;\r\n conversionImagesArray.push({\r\n imagePathUrl: imgPath, id: index, documentId: imgItem.documentId, width: imgItem.width, height: imgItem.height, isTemplateDatedBeforePortraitLandscapeFeature: imgItem.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: imgItem.docPageNo, document: {\r\n id: imgItem.document.id,\r\n name: imgItem.document.name\r\n },\r\n controlsCount: 0\r\n });\r\n }\r\n\r\n if (conversionImagesArray && conversionImagesArray.length > 0) {\r\n setTimeout(() => {\r\n this.checkForAllImagesLoaded(conversionImagesArray, initialImagesArrayLength, '')\r\n }, 1000);\r\n }\r\n else {\r\n this.updateLocalStorageInfo();\r\n }\r\n }\r\n else {\r\n this.updateLocalStorageInfo();\r\n }\r\n }\r\n\r\n checkForAllImagesLoaded(conversionImagesArray: any, initialImagesArrayLength: any, source: any) {\r\n let notProcessedImages: any = [];\r\n if (this.allImagesProcessed == false) {\r\n for (var i = 0; i < conversionImagesArray.length; i++) {\r\n var newImage = new Image();\r\n if (conversionImagesArray[i] != null && conversionImagesArray[i] != undefined) {\r\n newImage.src = conversionImagesArray[i].imagePathUrl;\r\n let ind: number = i;\r\n if (!newImage.complete) {\r\n notProcessedImages.push({\r\n imagePathUrl: conversionImagesArray[ind].imagePathUrl, id: conversionImagesArray[ind].id, documentId: conversionImagesArray[ind].documentId, width: conversionImagesArray[ind].width, height: conversionImagesArray[ind].height, isTemplateDatedBeforePortraitLandscapeFeature: conversionImagesArray[ind].isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: conversionImagesArray[ind].docPageNo,\r\n document: { id: conversionImagesArray[ind].document.id, name: conversionImagesArray[ind].document.name }, controlsCount: 0\r\n });\r\n }\r\n else if (newImage.complete) {\r\n if (newImage.width > 0 && newImage.height > 30) {\r\n let imageObj: any = conversionImagesArray[ind];\r\n this.imagesArr[imageObj.id - 1] = {\r\n path: imageObj.imagePathUrl, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: imageObj.documentId, width: imageObj.width, height: imageObj.height, isVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: imageObj.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: imageObj.docPageNo,\r\n document: { id: imageObj.document.id, name: imageObj.document.name }, controlsCount: 0\r\n };\r\n setTimeout(() => {\r\n if (source == '') {\r\n let imgControl: any = document.getElementById(\"imgControl_\" + imageObj.id);\r\n if (imgControl && imgControl != null) {\r\n imgControl.style.display = '';\r\n imgControl.style.display = 'none';\r\n }\r\n }\r\n }, 10);\r\n }\r\n else {\r\n notProcessedImages.push({\r\n imagePathUrl: conversionImagesArray[ind].imagePathUrl, id: conversionImagesArray[ind].id, documentId: conversionImagesArray[ind].documentId, width: conversionImagesArray[ind].width, height: conversionImagesArray[ind].height, isTemplateDatedBeforePortraitLandscapeFeature: conversionImagesArray[ind].isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: conversionImagesArray[ind].docPageNo,\r\n document: { id: conversionImagesArray[ind].document.id, name: conversionImagesArray[ind].document.name }, controlsCount: 0\r\n });\r\n }\r\n }\r\n else {\r\n console.log(\"Image not loaded and id is:\" + conversionImagesArray[ind].id);\r\n }\r\n }\r\n }\r\n\r\n if (notProcessedImages && notProcessedImages.length > 0) {\r\n setTimeout(() => {\r\n this.allImagesProcessed = false;\r\n this.checkForAllImagesLoaded(notProcessedImages, initialImagesArrayLength, source);\r\n }, 2000);\r\n }\r\n else {\r\n let fromIndex: any = initialImagesArrayLength + 1;\r\n setTimeout(() => {\r\n for (let index = fromIndex; index <= this.totalDocPageImagesCount; index++) {\r\n let imgControl: any = document.getElementById(\"imgControl_\" + index);\r\n if (imgControl && imgControl != null) {\r\n imgControl.style.display = '';\r\n imgControl.style.display = 'block';\r\n }\r\n }\r\n\r\n if (source == '') {\r\n this.updateLocalStorageInfo();\r\n }\r\n }, 10);\r\n }\r\n }\r\n }\r\n\r\n updateLocalStorageInfo() {\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.documentDetails && this.envelope.envelopeDetails.documentDetails.length > 0) {\r\n let documentDetails: any = this.envelope.envelopeDetails.documentDetails;\r\n documentDetails = documentDetails.sort((a: any, b: any) => a.order > b.order ? 1 : -1);\r\n var dict = [];\r\n for (let index = 0; index < documentDetails.length; index++) {\r\n const documentElement = documentDetails[index];\r\n if (documentElement.actionType != \"Review\" && documentElement.documentName != '') {\r\n dict.push({\r\n ID: documentElement.id,\r\n DocId: documentElement.id,\r\n DocumentName: documentElement.documentName,\r\n Order: documentElement.order,\r\n TemplateID: documentElement.templateID,\r\n DocumentContentDetails: documentElement.documentContentDetails\r\n });\r\n }\r\n }\r\n //this.showLoader = true;\r\n let requestObj: any = {\r\n EnvelopeID: this.envelope.envelopeDetails.envelopeID,\r\n UncPath: this.envelope.envelopeDetails.uncPath,\r\n DocumentImageDetails: dict,\r\n RecipientList: null,\r\n RoleList: this.envelope.envelopeDetails.roleList,\r\n CreatedDateTime: this.envelope.envelopeDetails.createdDateTime\r\n }\r\n let url = ApiUrlConfig.GetTemplateDocumentImageDetailsUrl;\r\n setTimeout(() => {\r\n this.conversionIteration = this.conversionIteration + 1;\r\n if (this.conversionIteration <= 5) {\r\n this.apiService.post(url, requestObj).subscribe(\r\n (resp: any) => {\r\n let imgEleCollection: any = document.getElementsByClassName('dispImg');\r\n if (resp && resp.statusCode == 200 && imgEleCollection && resp.data != null && resp.data.length == imgEleCollection.length) {\r\n if (imgEleCollection && imgEleCollection.length > 0) {\r\n Array.from(imgEleCollection).forEach((eleChild: any) => {\r\n let id: any = eleChild.getAttribute('id');\r\n let recObj: any = resp.data.filter((rec: any) => (rec.id == id));\r\n if (recObj && recObj.length > 0) {\r\n recObj = recObj[0];\r\n eleChild.setAttribute('img-document-id', recObj.document.id);\r\n eleChild.setAttribute('img-doc-id', recObj.document.id);\r\n eleChild.setAttribute('docpageno', recObj.docPageNo);\r\n let slBox: any = document.getElementById(\"selectionBox\" + id);\r\n if (slBox) {\r\n slBox.setAttribute('img-document-id', recObj.document.id);\r\n slBox.setAttribute('docpageno', recObj.docPageNo);\r\n }\r\n\r\n let imageObj: any = this.imagesArr[parseInt(id) - 1];\r\n if (recObj.isTemplateDatedBeforePortraitLandscapeFeature == false) {\r\n if (recObj.dimension.width > recObj.dimension.height) {\r\n imageObj.width = \"1015px\";\r\n this.isLandscape = true;\r\n }\r\n else {\r\n imageObj.width = \"915px\";\r\n this.isPortrait = true;\r\n }\r\n }\r\n else if (recObj.isTemplateDatedBeforePortraitLandscapeFeature == true) {\r\n imageObj.width = '950px';\r\n this.isLandscape = true;\r\n }\r\n\r\n eleChild.style.width = imageObj.width;\r\n let imgEle: any = document.getElementById('imgControl_' + id);\r\n if (imgEle) imgEle.style.width = imageObj.width;\r\n\r\n if (imageObj.id > 10) {\r\n this.imagesArr[parseInt(id) - 1] = {\r\n path: imageObj.path, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: recObj.document.id, width: imageObj.width, height: recObj.dimension.height, isVisible: true,\r\n isTemplateDatedBeforePortraitLandscapeFeature: recObj.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: recObj.docPageNo,\r\n document: { id: recObj.document.id, name: recObj.document.name }, controlsCount: 0\r\n };\r\n }\r\n }\r\n });\r\n\r\n this.updateEnvelopeDocumentControlInformation();\r\n this.sessionStorageService.setAllImagesProcessed('true');\r\n this.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n setTimeout(() => {\r\n this.removePaginationDisabledClass();\r\n this.allImagesProcessed = true;\r\n this.sessionStorageService.setAllImagesArray(JSON.stringify(this.imagesArr));\r\n this.commonService.removeButtonDisabledClass();\r\n }, 50);\r\n }\r\n }\r\n else {\r\n setTimeout(() => {\r\n console.log(\"Retriving images from Second Iteration\");\r\n this.updateLocalStorageInfo();\r\n }, 1500);\r\n }\r\n });\r\n }\r\n else {\r\n this.conversionIteration = 0;\r\n console.log(\"Removing images which are not loaded.\");\r\n let nullImageEleCollection: any = document.getElementsByClassName('dispImg');\r\n if (nullImageEleCollection && nullImageEleCollection.length > 0) {\r\n Array.from(nullImageEleCollection).forEach((eleChild: any) => {\r\n let id: any = eleChild.getAttribute('id');\r\n let imgItem: any = document.getElementById(\"imgControl_\" + id);\r\n eleChild.style.display = \"none\";\r\n if (imgItem) imgItem.style.display = \"none\";\r\n\r\n this.imagesArr = this.imagesArr.filter(function (el: any) { return el.id != id; });\r\n });\r\n\r\n this.updateEnvelopeDocumentControlInformation();\r\n this.sessionStorageService.setAllImagesProcessed('true');\r\n this.commonService.callMultiDocumentsPreview(this.imagesArr);\r\n setTimeout(() => {\r\n this.removePaginationDisabledClass();\r\n this.allImagesProcessed = true;\r\n this.sessionStorageService.setAllImagesArray(JSON.stringify(this.imagesArr));\r\n this.commonService.removeButtonDisabledClass();\r\n }, 50);\r\n }\r\n }\r\n }, 1500);\r\n }\r\n }\r\n\r\n removePaginationDisabledClass() {\r\n this.commonService.removePaginationDisabledClass();\r\n }\r\n\r\n addPaginationDisabledClass() {\r\n this.commonService.addPaginationDisabledClass();\r\n }\r\n //Getting Conversion Images\r\n\r\n setControlHeight(currentControlId: any) {\r\n let currentControlEle: any = (document.getElementById(currentControlId));\r\n let parentWidthAndheight: any = this.getParentWidthAndHeight(currentControlEle);\r\n var parentHeight = parentWidthAndheight.Height;\r\n let spnCurrentSelectedControl: any = (document.getElementById('spn' + currentControlId));\r\n var controlHeight = parseInt(spnCurrentSelectedControl.offsetHeight);\r\n let resizableCurrentSelectedControl: any = (document.getElementById('resizable_' + this.currentControlId));\r\n let controlPositions: any = this.getElePositions(resizableCurrentSelectedControl);\r\n let controlTopPosition: any = controlPositions.Top;\r\n var controlTotolHeight = (controlTopPosition + controlHeight);\r\n\r\n if (parentHeight < controlTotolHeight) {\r\n var finalPosition = controlTopPosition - (controlTotolHeight - parentHeight);\r\n }\r\n }\r\n\r\n getDisplayStyle(item: any) {\r\n if (this.sessionStorageService.getAllImagesProcessed() == \"true\" || this.sessionStorageService.getAllImagesProcessed() == true) {\r\n //console.log(item.id)\r\n return this.cashedService.getDisplayStyleWidthCached(item, this.sessionStorageService.getAllImagesProcessed());\r\n }\r\n else {\r\n //console.log(\"defaultWidth:\"+item.id)\r\n let defaultWidth: any = '915px';\r\n if (item && item.width != null && item.width != '' && item.width != undefined) {\r\n defaultWidth = item.width;\r\n }\r\n return { 'width': defaultWidth };\r\n }\r\n }\r\n\r\n openDropdownPicker() {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n let userPlanDetails: any = this.sessionStorageService.getUserPlanDetails();\r\n let uplan = userPlanDetails.UserPlanType;\r\n let uplanrange = userPlanDetails.UserPlanRange;\r\n let upgradeLink = userPlanDetails.UpgradeLink;\r\n let planName = userPlanDetails.UserPlanName;\r\n let unit = userPlanDetails.UserUnits;\r\n\r\n if (uplan && uplan != null && uplan != \"\" && uplanrange && uplanrange != null && uplanrange != \"\") {\r\n this.showLoader = true;\r\n this.isDataLoaded = true;\r\n this.planType = uplan;\r\n this.planRange = uplanrange;\r\n //if (planName != null && planName != \"\" && planName.length > 21) this.planName = planName.substring(0, 20) + \"...\";\r\n //else\r\n this.planName = planName;\r\n this.fullPlanName = planName;\r\n this.unit = unit;\r\n if (upgradeLink != null) this.upgradeLink = upgradeLink;\r\n this.showLoader = false;\r\n }\r\n else {\r\n //Get user plan and upgrade details\r\n this.isDataLoaded = false;\r\n let getUserDetails: any = this.authService.getUserDetails();\r\n if (getUserDetails && getUserDetails.emailID) {\r\n this.showLoader = true;\r\n let apiUrl = ApiUrlConfig.GetUserPlanDetails + \"?userEmail=\" + getUserDetails.emailID;\r\n this.apiService.get(apiUrl).subscribe((resp: any) => {\r\n this.isDataLoaded = true;\r\n this.showLoader = false;\r\n if (resp && resp.statusCode == 200) {\r\n if (resp.usageRemaining && resp.usageRemaining.resultContent && resp.usageRemaining.resultContent != null) {\r\n let userUsageRemainingDetails: any = resp.usageRemaining.resultContent;\r\n this.planType = userUsageRemainingDetails.planType;\r\n this.planRange = userUsageRemainingDetails.planRange;\r\n // localStorage.setItem(\"UserPlanType\", this.planType);\r\n // localStorage.setItem(\"UserPlanRange\", this.planRange);\r\n this.sessionStorageService.setUserPlanDetails('UserPlanType', this.planType);\r\n this.sessionStorageService.setUserPlanDetails('UserPlanRange', this.planRange);\r\n if (userUsageRemainingDetails.unitsRemaining && userUsageRemainingDetails.unitsRemaining != null) {\r\n this.unitsRemaining = userUsageRemainingDetails.unitsRemaining;\r\n this.upgradeLink = userUsageRemainingDetails.upgradeLink;\r\n if (this.upgradeLink && this.upgradeLink != '') {\r\n if (this.upgradeLink.startsWith(\"https://\") == false)\r\n this.upgradeLink = \"https://\" + this.upgradeLink;\r\n this.showUpgradeLink = true;\r\n // localStorage.setItem(\"UpgradeLink\", this.upgradeLink);\r\n this.sessionStorageService.setUserPlanDetails('UpgradeLink', this.upgradeLink);\r\n }\r\n }\r\n }\r\n\r\n //if (resp.planName != null && resp.planName != \"\" && resp.planName.length > 21) this.planName = resp.planName.substring(0, 20) + \"...\";\r\n //else\r\n this.planName = resp.planName;\r\n this.fullPlanName = resp.planName;\r\n this.unit = resp.unit;\r\n // localStorage.setItem(\"UserPlanName\", resp.planName);\r\n // localStorage.setItem(\"UserUnits\", this.unit);\r\n\r\n this.sessionStorageService.setUserPlanDetails('UserPlanName', resp.planName);\r\n this.sessionStorageService.setUserPlanDetails('UserUnits', this.unit);\r\n }\r\n else if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n });\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.toastrService.warning(this.commonConstants.UserPlanFailed, 'Warning');\r\n }\r\n }\r\n }\r\n }\r\n\r\n applyExternalTextOptions(e: any, externalTextoptions: any) {\r\n // console.log('applyExternalTextOptions',externalTextoptions);\r\n if (externalTextoptions != 'Select') {\r\n this.userSelectedEntity = false;\r\n } else {\r\n this.userSelectedEntity = true;\r\n this.controlPropertyService.resetTextAreaInputs();\r\n this.applyExternalTextOptionsFields(e, 'Select');\r\n }\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrlEle) {\r\n ctrlEle.setAttribute('data-Entity', externalTextoptions);\r\n ctrlEle.setAttribute('data-IntegrationType', this.externalIntegrationType);\r\n ctrlEle.setAttribute('data-EntityField', '');\r\n ctrlEle.setAttribute('data-EntityFieldValue', '');\r\n this.controlPropertyService.resetTextToTextArea(currentSelectedControl);\r\n }\r\n }\r\n\r\n applyExternalTextOptionsFields(e: any, entityFieldsValue: any) {\r\n // console.log('applyExternalTextOptionsFields',entityFieldsValue);\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (entityFieldsValue != 'Select') {\r\n if (entityFieldsValue && (entityFieldsValue.toLowerCase().includes('date') || entityFieldsValue.toLowerCase() === 'availability start')) {\r\n ctrlEle.setAttribute('data-asteriskOriginalText', entityFieldsValue);\r\n this.showTextDateFormat = 'block';\r\n this.showTextFieldsContainer = 'block';\r\n ctrlEle.setAttribute('data-additional-validation-name', 'Date Format');\r\n let validationOption: any = this.validationsDateOptions[0].value;\r\n ctrlEle.setAttribute('data-additional-validation-option', validationOption);\r\n //5 Means Date of Text Control\r\n let validationsTextOption: any = this.commonConstants.ValidationsText[5].value;\r\n ctrlEle.setAttribute('data-texttype', validationsTextOption);\r\n this.controlPropertyService.updateDateFormatNameAndOptions(ctrlEle, validationOption);\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '6';\r\n }\r\n } else {\r\n this.showTextDateFormat = 'none';\r\n this.showTextFieldsContainer = 'none';\r\n this.userSelectedEntity = false;\r\n ctrlEle.setAttribute('data-additional-validation-name', '');\r\n let validationOption: any = this.validationsDateOptions[0].value;\r\n ctrlEle.setAttribute('data-additional-validation-option', validationOption);\r\n //5 Means Date of Text Control\r\n let validationsTextOption: any = this.commonConstants.ValidationsText[0].value;\r\n ctrlEle.setAttribute('data-texttype', validationsTextOption);\r\n let textValidationsoptions: any = (document.getElementById('textValidationsoptions'));\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = '1';\r\n }\r\n }\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n let isHideTextWithAsterisk: any = ctrlEle.getAttribute('data-ishidetextwithasterisk');\r\n if (addTextTextarea) {\r\n addTextTextarea.value = entityFieldsValue;\r\n }\r\n\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let spnCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.innerText = (isHideTextWithAsterisk === true || isHideTextWithAsterisk === 'true') ? '*'.repeat(entityFieldsValue.length) : entityFieldsValue;\r\n }\r\n if (ctrlEle) {\r\n const getKeyValue = this.controlPropertyService.getKeyByValue(entityFieldsValue, this.externalEntityFieldList);\r\n ctrlEle.setAttribute('data-EntityField', entityFieldsValue);\r\n ctrlEle.setAttribute('data-EntityFieldValue', getKeyValue);\r\n ctrlEle.setAttribute('data-customtooltip', entityFieldsValue);\r\n ctrlEle.setAttribute('data-asteriskOriginalText', getKeyValue);\r\n ctrlEle.setAttribute('data-addtextareaval', getKeyValue);\r\n spnCurrentSelectedControl.setAttribute('data-addtextareaval', getKeyValue);\r\n let tooltipControl: any = document.getElementById('controlInputTooltip');\r\n if (tooltipControl) {\r\n tooltipControl.value = entityFieldsValue;\r\n }\r\n let disableInputField: any = document.getElementById('textInputLength');\r\n if (disableInputField) {\r\n disableInputField.classList.add('disabled');\r\n }\r\n let textValidationsoptions: any = document.getElementById('textValidationsoptions');\r\n if (textValidationsoptions) {\r\n textValidationsoptions.classList.add('disabled');\r\n }\r\n }\r\n }\r\n else {\r\n this.controlPropertyService.resetTextAreaInputs();\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let spnCurrentSelectedControl: any = document.getElementById('spn' + currentSelectedControl);\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n let integrationType: any = ctrlEle.getAttribute('data-IntegrationType');\r\n if (integrationType && integrationType.toLowerCase() === 'vincere') {\r\n ctrlEle.setAttribute('data-EntityField', '');\r\n ctrlEle.setAttribute('data-EntityFieldValue', '');\r\n ctrlEle.setAttribute('data-customtooltip', '');\r\n ctrlEle.setAttribute('data-asteriskOriginalText', '');\r\n ctrlEle.setAttribute('data-addtextareaval', '');\r\n spnCurrentSelectedControl.setAttribute('data-addtextareaval', '');\r\n if (spnCurrentSelectedControl) {\r\n spnCurrentSelectedControl.innerText = 'Text';\r\n }\r\n let addTextTextarea: any = document.getElementById('addTextTextarea');\r\n if (addTextTextarea) {\r\n addTextTextarea.value = '';\r\n }\r\n let tooltipControl: any = document.getElementById('controlInputTooltip');\r\n if (tooltipControl) {\r\n tooltipControl.value = '';\r\n }\r\n this.applyTextTypeControl(1);\r\n }\r\n }\r\n this.applyTextTypeControl(1);\r\n }\r\n\r\n onSaveDraft(type: any) {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n if (this.disableSaveDraftButton == \"false\" || type == 1) {\r\n console.log(\"Template Save Draft:\" + new Date().toLocaleString());\r\n if (type != 1) {\r\n this.showLoader = true;\r\n }\r\n let resultObj: any = this.getEachControlValidation(\"draft\", false);\r\n //console.log('onSaveDraft', resultObj);\r\n if (resultObj.isValid == true) {\r\n let controlArray = resultObj.controlArray;\r\n let apiEnvelopeControls: any = {\r\n TemplateID: this.envelope.envelopeDetails.envelopeID,\r\n Controls: controlArray,\r\n EnvelopeStage: RSignStage.PrepareEditTemplate,\r\n Savetype: type,\r\n Source: 'Save',\r\n IsAutoSave: true,\r\n EnvelopeTypeId: EnvelopeType.Template,\r\n EnableMultipleBranding: this.enableMultiBranding,\r\n Branding: this.branding,\r\n };\r\n this.apiService.SaveTemplateRuleUrl(apiEnvelopeControls).subscribe((data: any) => {\r\n if (data && data.statusCode == 200) {\r\n //this.showLoader = false;\r\n console.log(\"SaveAsDraftTemplate 200 \" + new Date().toLocaleString());\r\n // this.toastrService.success('Template/Rule auto saved successfully.', 'Success'); //Envelope saved to Drafts\r\n let transText: any = this.getLanguageTranslationValue(ResourceKeys.TemplateAutoSaveSuccess);\r\n if (transText) this.toastrService.success(transText, 'Success');\r\n else this.toastrService.success(\"Template/Rule saved successfully.\", 'Success');\r\n\r\n if (type === 0) this.hostListenerStatus = true;\r\n setTimeout(() => {\r\n if (type === 1) {\r\n this.showLoader = false;\r\n setTimeout(() => {\r\n if (this.isSendEnvelope == false) {\r\n this.autoSaveEnvasDraft();\r\n }\r\n }, 1000);\r\n }\r\n }, 100);\r\n }\r\n else if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n console.log(\"SaveAsDraftTemplate FAILED 400 \" + new Date().toLocaleString());\r\n this.showLoader = false;\r\n let transText: any = this.getLanguageTranslationValue(ResourceKeys.TemplateAutoSaveFailed);\r\n if (transText) this.toastrService.warning(transText, 'Warning');\r\n else this.toastrService.warning(\"Could not save Template/Rule.\", 'Warning');\r\n if (type === 1) {\r\n this.showLoader = false;\r\n setTimeout(() => {\r\n if (this.isSendEnvelope == false) {\r\n this.autoSaveEnvasDraft();\r\n }\r\n }, 1000);\r\n }\r\n }\r\n })\r\n }\r\n else {\r\n this.showLoader = false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n onGotoStepOne(type: any) {\r\n this.showLoader = true;\r\n let IsSaveControl: boolean = type === \"1\" ? true : false;\r\n let resultObj: any = this.getEachControlValidation('draft', IsSaveControl);\r\n if (resultObj.isValid == true) {\r\n let controlArray = resultObj.controlArray;\r\n let apiEnvelopeControls: any = {\r\n TemplateID: this.envelope.envelopeDetails.envelopeID,\r\n EnvelopeStage: this.isEnvelopeEdited == true ? RSignStage.PrepareEnvelope : this.getEnvelopeStage(),\r\n Controls: IsSaveControl ? controlArray : null,\r\n IsSaveControl: IsSaveControl,\r\n Source: 'Back',\r\n IsAutoSave: true,\r\n EnvelopeTypeId: EnvelopeType.Template,\r\n EnableMultipleBranding: (IsSaveControl === true) ? (this.enableMultiBranding == true ? true : this.branding != '' ? true : false) : false,\r\n Branding: IsSaveControl === true ? (this.branding != '' ? this.branding : this.defaultBranding) : '',\r\n };\r\n\r\n this.apiService.SaveTemplateRuleUrl(apiEnvelopeControls).subscribe((data: any) => {\r\n if (data && data.statusCode == 200) {\r\n this.hostListenerStatus = true;\r\n setTimeout(() => {\r\n this.showLoader = false;\r\n let rsignUrl: any;\r\n this.externalIntegrationType = this.integrationResponse && this.integrationResponse.envelopeDetails.integrationType ? this.integrationResponse.envelopeDetails.integrationType : ''; //Vincere, Bullhorn\r\n if (this.externalIntegrationType && (this.externalIntegrationType.toLowerCase() === 'vincere' || this.externalIntegrationType.toLowerCase() === 'bullhorn')) {\r\n rsignUrl = environment.rsignSFAppUrl;\r\n }\r\n else {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n rsignUrl = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n }\r\n else rsignUrl = environment.rsignUrl;\r\n }\r\n window.location.href = rsignUrl + data.returnURL + '?' + data.encryptedEnvelopeID;\r\n }, 1000);\r\n }\r\n else if (data && data.originalError && data.originalError.statusText && data.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n this.showLoader = false;\r\n let transText: any = this.getLanguageTranslationValue(ResourceKeys.TemplateAutoSaveFailed);\r\n if (transText) this.toastrService.warning(transText, 'Warning');\r\n else this.toastrService.warning(\"Could not save Template/Rule.\", 'Warning');\r\n }\r\n });\r\n }\r\n else {\r\n this.showLoader = false;\r\n }\r\n }\r\n checkNumberLength(ctrlName: any, input: any) {\r\n let finalLength: any = (ctrlName === 'text') ? 4 : 3;\r\n if (this.selectValidation === '7') { //email of text\r\n this.textCtrlMaxValidation = 100;\r\n finalLength = 3;\r\n if (parseInt(input.value) > 100) {\r\n input.value = 100;\r\n }\r\n if (input.value.length > finalLength) {\r\n input.value = input.value.slice(0, finalLength); // Limiting to 3\r\n }\r\n } else {\r\n if (input.value.length > finalLength) {\r\n input.value = input.value.slice(0, finalLength); // Limiting to 3 or 4 digits\r\n }\r\n }\r\n }\r\n\r\n updateCharInputLimit(inputId: any, ctrlName: any) {\r\n let charInputLimit: any = document.getElementById(inputId);\r\n // let currentControlId: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentControlId: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let ctrlEle: any = document.getElementById('resizable_' + currentControlId);\r\n let dataValidationType: any = ctrlEle.getAttribute('data-validation-type');\r\n if (charInputLimit && charInputLimit.value) {\r\n let val: any = parseInt(charInputLimit.value);\r\n if (dataValidationType && dataValidationType === 'Email' && ctrlName === 'text') {\r\n if (val > 100) {\r\n charInputLimit.value = 100;\r\n this.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n } else {\r\n ctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n }\r\n } else if (ctrlName === 'text') {\r\n if (val > 4000) {\r\n charInputLimit.value = 4000;\r\n this.toastrService.warning('Value should be less than or equal to 4000.', 'Warning');\r\n } else {\r\n ctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n }\r\n } else {\r\n if (val > 100) {\r\n charInputLimit.value = 100;\r\n this.toastrService.warning('Value should be less than or equal to 100.', 'Warning');\r\n } else {\r\n ctrlEle.setAttribute('data-maxcharlimit', charInputLimit.value);\r\n }\r\n }\r\n }\r\n }\r\n\r\n validateCharLimit() {\r\n let charInputLimit: any = document.getElementById('textCharInputLimit');\r\n if (charInputLimit) {\r\n this.controlPropertyService.hideCtrlCharLimitInput(charInputLimit);\r\n }\r\n let inputLength: any = document.getElementById('textInputLength');\r\n if (inputLength) {\r\n this.controlPropertyService.showCtrlLengthInput(inputLength);\r\n }\r\n let isFixedWidthTextContainer: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthTextContainer) {\r\n isFixedWidthTextContainer.style.display = 'none';\r\n }\r\n }\r\n\r\n autoSaveEnvasDraft() {\r\n // console.log(\"Auto Save Draft:\" + new Date().toLocaleString());\r\n let timeOutValue: any = 120000; //120000 (It means 2 mins)\r\n setTimeout(() => {\r\n if (this.isSendEnvelope == false && this.sessionStorageService.getAllImagesProcessed() == \"true\") {\r\n this.onSaveDraft(1);\r\n }\r\n }, timeOutValue);\r\n }\r\n\r\n createDupicateControl(e: any) {\r\n this.selectedItems.forEach((ele: any) => {\r\n if (ele) {\r\n const dynamicComponentRef = this.dynamicComponentRefs.get(ele.replace('resizable_', ''));\r\n if (dynamicComponentRef && dynamicComponentRef.instance && dynamicComponentRef.instance.ctrlObj) {\r\n let ctrlObj: any = dynamicComponentRef.instance.ctrlObj;\r\n if (ctrlObj.className == \"dropdown\") {\r\n let selectDropdownControlField: any = (document.getElementById('spn' + ctrlObj.id)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n this.toastrService.warning('Please add the options for dropdown control.', 'Warning');\r\n //return false;\r\n }\r\n }\r\n\r\n // let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n let arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n let childCtrlObj: any = ctrlObj;\r\n if (arrCopyPasteCtrl) {\r\n this.arrCopyPasteCtrl = JSON.parse(arrCopyPasteCtrl);\r\n if (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length > 0) {\r\n if (this.arrCopyPasteCtrl[0].ParentControl.dataGuid == ctrlObj.dataGuid) {\r\n childCtrlObj = this.arrCopyPasteCtrl[0].Control;\r\n if (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length === 0) {\r\n this.arrCopyPasteCtrl = [];\r\n }\r\n this.arrCopyPasteCtrl.push({ ParentControl: ctrlObj, Control: childCtrlObj, Action: 'P' });\r\n // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n }\r\n else {\r\n this.arrUndoRedoCtrl = [];\r\n // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n }\r\n }\r\n }\r\n this.createControl(dynamicComponentRef.instance.ctrlObj, ControlConfig.Duplicate, 'false');\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n enableFieldAlignment() {\r\n let totalControlCount = this.getAllControlsCount();\r\n if (this.envelope && this.envelope.envelopeDetails && this.envelope.envelopeDetails.isFormFieldAlignmentEnabled) {\r\n if (this.isEnvelopeEditable == false) { return 'disabledCtrl' }\r\n else {\r\n if (totalControlCount > 1 && this.selectedItems.length > 1) return 'enabledCtrl';\r\n else return 'disabledCtrl';\r\n }\r\n }\r\n else return 'disabledCtrl'\r\n }\r\n\r\n isAlignmentFieldOpen() {\r\n if (this.isEnvelopeEditable == false) return false;\r\n else return true;\r\n }\r\n\r\n isEnvEditable() {\r\n let totalControlCount = this.getAllControlsCount();\r\n if (this.isEnvelopeEditable == false || totalControlCount == 0) return 'disabledCtrl';\r\n else return 'enabledCtrl';\r\n }\r\n\r\n updateAlignments(ctrlName: any) {\r\n let textFormatting: any = this.defaultControlStyleService.getDictionaryByKey(ctrlName);\r\n // let currentSelectedControl: any = localStorage.getItem(\"CurrentClickedDroppedControl\");\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyTextAlign(currentSelectedControl, textFormatting.textAlign);\r\n\r\n let controlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n let spnctrlEle: any = (document.getElementById('spn' + currentSelectedControl));\r\n if (controlEle) {\r\n let nameOrTextInputLengthEle: any = document.getElementById(ctrlName.toLowerCase() + 'InputLength');\r\n if (nameOrTextInputLengthEle && nameOrTextInputLengthEle.value) {\r\n this.setNameOrTextControlDimension(parseInt(nameOrTextInputLengthEle.value));\r\n }\r\n }\r\n\r\n //console.log('textFormatting', textFormatting);\r\n if (textFormatting && textFormatting.saveAsDefault == undefined && spnctrlEle) {\r\n this.defaultControlStyleService.updateDictionary(ctrlName, {\r\n saveAsDefault: true,\r\n required: true,\r\n fontFamily: spnctrlEle.style.fontFamily,\r\n fontWeight: spnctrlEle.style.fontWeight,\r\n textDecoration: spnctrlEle.style.textDecoration,\r\n fontStyle: spnctrlEle.style.fontStyle,\r\n fontSize: spnctrlEle.style.fontSize,\r\n color: spnctrlEle.style.color,\r\n textAlign: spnctrlEle.style.textAlign,\r\n lineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n validationType: '',\r\n adlnName: '',\r\n adlnOption: '',\r\n preSelected: false,\r\n checkboxGroup: false,\r\n checkboxGroupName: '',\r\n checkboxName: '',\r\n dateFormat: '',\r\n size: 'standard',\r\n fontTypeMeasurement: 'px',\r\n firstLineBlank: false,\r\n labelControlValue: ''\r\n })\r\n this.updateSaveAsDefaultChecked = true;\r\n }\r\n }\r\n\r\n updateTextFormattingStyles(ctrlObj: any) {\r\n let ctrlEle: any = document.getElementById('spn' + ctrlObj.id);\r\n if (ctrlEle && ctrlEle.style) {\r\n this.checkSpnTextFormattingValues(ctrlEle, ctrlObj.id);\r\n if (ctrlObj.textFormatting.validationType) {\r\n this.commonConstants.ValidationsText.forEach((rec: any) => {\r\n if (rec.value === ctrlObj.textFormatting.validationType) {\r\n setTimeout(() => {\r\n let textValidationsoptions: any = document.getElementById('textValidationsoptions');\r\n if (textValidationsoptions) {\r\n textValidationsoptions.value = rec.id;\r\n this.applyTextTypeControl(rec.id);\r\n }\r\n }, 300);\r\n }\r\n })\r\n }\r\n }\r\n }\r\n\r\n updateSaveAsDefault(ctrlObj: any) {\r\n let saveAsDefaultVal: any = ctrlObj.textFormatting.saveAsDefault;\r\n\r\n let spnCtrlEle: any = document.getElementById('spn' + ctrlObj.id);\r\n if (spnCtrlEle) {\r\n spnCtrlEle.setAttribute('data-saveasdefault', saveAsDefaultVal);\r\n }\r\n this.updateSaveAsDefaultChecked = saveAsDefaultVal;\r\n this.defaultControlStyleService.updateDictionary(ctrlObj.className,\r\n ctrlObj.textFormatting\r\n )\r\n }\r\n\r\n viewPdf() {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n this.showLoader = true;\r\n let resultObj: any = this.getEachControlValidation(\"viewPdf\", false);\r\n if (resultObj.isValid == true) {\r\n let controlArray = resultObj.controlArray;\r\n let apiEnvelopeControls: any = {\r\n EnvelopeId: this.envelope.envelopeDetails.envelopeID,\r\n Controls: controlArray,\r\n EnvelopeStage: RSignStage.PrepareEditTemplate,\r\n };\r\n this.apiService.viewTemplatePdf(apiEnvelopeControls).subscribe((resp: any) => {\r\n this.showLoader = false;\r\n console.log('dataresponse', resp.value);\r\n if (resp && resp.statusCode == 200 && resp.base64FileData) {\r\n const binaryString = window.atob(resp.base64FileData);\r\n const bytes = new Uint8Array(binaryString.length);\r\n for (let i = 0; i < binaryString.length; i++) { bytes[i] = binaryString.charCodeAt(i); }\r\n //Create a Blob from the Uint8Array\r\n const blob = new Blob([bytes.buffer],\r\n { type: 'application/pdf' }); // Create a URL for the Blob\r\n const url = URL.createObjectURL(blob);\r\n // Open the URL in a new window\r\n window.open(url, '_blank');\r\n // Release the URL object when the window is closed\r\n window.addEventListener('unload', () => { URL.revokeObjectURL(url); });\r\n }\r\n else if (resp && resp.originalError && resp.originalError.statusText && resp.originalError.statusText == \"Unauthorized\") {\r\n this.redirectRSignLogOnPage();\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.toastrService.warning('Unable to view the pdf document.', 'Warning');\r\n }\r\n })\r\n }\r\n else {\r\n this.showLoader = false;\r\n }\r\n }\r\n }\r\n\r\n updateCtrlTextFormatting(currentSelectedControl: any, isApplicalSaveAs: any) {\r\n let resizableCtrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n let ctrlEle: any = document.getElementById(currentSelectedControl);\r\n let spnctrlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n let dataValidationType: any;\r\n let dataAdditionalValidationName: string = '';\r\n let dataAdditionalValidationOption: string = '';\r\n let dataDefaultformat: any;\r\n let ctrlName: any;\r\n let typography: any;\r\n if (resizableCtrlEle) {\r\n typography = resizableCtrlEle.getAttribute('data-typography');\r\n }\r\n if (ctrlEle) {\r\n ctrlName = ctrlEle.getAttribute('data-controlname');\r\n let checkSaveAsDefaultisChecked: any = this.defaultControlStyleService.getCtrlBasedSaveAsDefaultValue(ctrlName.toLowerCase());\r\n if (checkSaveAsDefaultisChecked === 'true') {\r\n this.updateSaveAsDefaultChecked = true;\r\n }\r\n if (checkSaveAsDefaultisChecked === 'false') {\r\n this.updateSaveAsDefaultChecked = false;\r\n }\r\n if (checkSaveAsDefaultisChecked === true || checkSaveAsDefaultisChecked === 'true') {\r\n if (resizableCtrlEle && spnctrlEle) {\r\n dataDefaultformat = resizableCtrlEle.getAttribute('data-defaultformat');\r\n dataValidationType = resizableCtrlEle.getAttribute('data-validation-type');\r\n dataAdditionalValidationName = resizableCtrlEle.getAttribute('data-additional-validation-name');\r\n dataAdditionalValidationOption = resizableCtrlEle.getAttribute('data-additional-validation-option');\r\n let validationOption: any = '';\r\n if (dataValidationType && dataValidationType.toLowerCase() === 'zip' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n validationOption = this.commonConstants.ValidationsZipOptions[parseInt(dataAdditionalValidationOption) - 1].viewname;\r\n }\r\n if (dataValidationType && dataValidationType.toLowerCase() === 'numeric' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n validationOption = this.commonConstants.AdditionalValidationType[parseInt(dataAdditionalValidationOption) - 1].viewValue;\r\n }\r\n if (dataValidationType && dataValidationType.toLowerCase() === 'date' && dataAdditionalValidationOption && dataAdditionalValidationOption != \"null\" && dataAdditionalValidationOption != \"undefined\") {\r\n validationOption = this.validationsDateOptions[parseInt(dataAdditionalValidationOption) - 1].label;\r\n }\r\n\r\n const fontFamilyWithQuotes = spnctrlEle.style.fontFamily;\r\n const fontFamilyWithoutQuotes = fontFamilyWithQuotes.replace(/\"/g, '');\r\n this.defaultControlStyleService.updateDictionary(ctrlName.toLowerCase(), {\r\n saveAsDefault: spnctrlEle.getAttribute('data-saveasdefault'),\r\n required: (ctrlName.toLowerCase() === 'radio') ? this.isRadioRequiredChecked : this.isRequiredChecked,\r\n fontFamily: fontFamilyWithoutQuotes,\r\n fontWeight: spnctrlEle.style.fontWeight,\r\n textDecoration: spnctrlEle.style.textDecoration,\r\n fontStyle: spnctrlEle.style.fontStyle,\r\n fontSize: spnctrlEle.style.fontSize,\r\n color: spnctrlEle.style.color,\r\n textAlign: spnctrlEle.style.textAlign,\r\n lineHeight: ctrlName.toLowerCase() === 'date' ? '' : spnctrlEle.style.fontSize,\r\n validationType: ctrlName.toLowerCase() === 'text' ? this.controlPropertyService.getTextTypeValue(dataValidationType) : '',\r\n adlnName: ctrlName.toLowerCase() === 'text' ? dataAdditionalValidationName : '',\r\n adlnOption: ctrlName.toLowerCase() === 'text' ? validationOption : '',\r\n preSelected: this.isChkPreSelected ? this.isChkPreSelected : false,\r\n checkboxGroup: this.ischeckboxGroup ? this.ischeckboxGroup : false,\r\n checkboxGroupName: resizableCtrlEle.getAttribute('data-groupname'),\r\n checkboxName: spnctrlEle.getAttribute('name'),\r\n dateFormat: dataDefaultformat ? dataDefaultformat : '',\r\n size: this.commonConstants.Checkboxoptions[parseInt(this.selectDefaultSizeValue) - 1].viewValue,\r\n fontTypeMeasurement: typography == null || typography == undefined || typography == '' ? \"px\" : typography,\r\n labelControlValue: spnctrlEle.innerText ? spnctrlEle.innerText : '',\r\n firstLineBlank: (ctrlName.toLowerCase() === 'dropdown') ? this.isdrpFirstLineBlank : false\r\n });\r\n\r\n let newData = this.defaultControlStyleService.updateSaveAsDefaultPayload(currentSelectedControl, ctrlName, spnctrlEle, fontFamilyWithoutQuotes, this.isRequiredChecked, typography);\r\n //console.log('saveAsDefaultData', newData);\r\n\r\n if (isApplicalSaveAs === '1') {\r\n this.saveAsDefaultSaveSettings(newData);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n isUndefinedOrNull(val: any, type: any) {\r\n if (val != null || val != undefined || val != '' || val != \"null\" || val != \"undefined\") {\r\n if (type == 1) return \"#000000\";\r\n else if (type == 2) return \"d4a45ecd-3865-448a-92fa-929c2295ea34\";\r\n else if (type == 3) return \"Courier\";\r\n else if (type == 4) return \"12\";\r\n else if (type == 5) return \"12px\";\r\n }\r\n else return val;\r\n }\r\n\r\n getAllControlsCount() {\r\n let totalControlCount = 0;\r\n let documentImagesControlsArray: any = document.querySelectorAll('.signControl');\r\n if (documentImagesControlsArray && documentImagesControlsArray.length > 0) {\r\n totalControlCount = documentImagesControlsArray.length;\r\n }\r\n return totalControlCount;\r\n }\r\n\r\n updateSaveAsDefaultCheckedOrNot(ctrlid: any) {\r\n let spnCtrlEle: any = document.getElementById('spn' + ctrlid);\r\n if (spnCtrlEle) {\r\n let dataSaveasdefault: any = spnCtrlEle.getAttribute('data-saveasdefault');\r\n if (dataSaveasdefault) {\r\n if (dataSaveasdefault === 'true') {\r\n this.updateSaveAsDefaultChecked = true;\r\n }\r\n else {\r\n this.updateSaveAsDefaultChecked = false;\r\n }\r\n }\r\n\r\n // this.defaultFontSize = spnCtrlEle.style.fontSize;\r\n this.defaultColorPicker = spnCtrlEle.style.color;\r\n this.checkSpnTextFormattingValues(spnCtrlEle, ctrlid);\r\n }\r\n }\r\n\r\n updateExtendDocumentWidth() {\r\n let addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n let depencieChanges: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n if (this.hidePagesViewSection == false || this.hideControlViewSection == false) {\r\n addmiddleClass.classList.remove('col-lg-10');\r\n addmiddleClass.classList.add('col-lg-8');\r\n }\r\n\r\n if (this.hidePagesViewSection === true && this.hideControlViewSection === true) {\r\n addmiddleClass.classList.remove('col-lg-8');\r\n addmiddleClass.classList.add('col-lg-10');\r\n }\r\n if (this.hidePagesViewSection === false && this.hideControlViewSection === false && this.hideDependencies == true) {\r\n depencieChanges.classList.remove('depencie-AdjustW');\r\n depencieChanges.classList.add('depencie-W');\r\n }\r\n if (this.hidePagesViewSection === false && this.hideControlViewSection === false && this.hideDependencies == false) {\r\n depencieChanges.classList.remove('depencie-W');\r\n depencieChanges.classList.add('depencie-AdjustW');\r\n }\r\n // &&\r\n this.isAddColumnSpace = false;\r\n // this.updateExtendDependecieWidth();\r\n }\r\n\r\n updateExtendDependecieWidth() {\r\n let depencieChanges: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n if (this.depenciestatus == false && this.hidePagesViewSection === false) {\r\n depencieChanges.classList.add(' depencie-AdjustW');\r\n depencieChanges.classList.remove(' depencie-W');\r\n }\r\n\r\n }\r\n\r\n //Truncated filename\r\n showReviewItem(file: any) {\r\n let charactersToDisplay: any = 16;\r\n if (file) {\r\n let fileName: any = file.split('.');\r\n let fileNameWithoutExtension: any = fileName[0];\r\n let fileExtension: any = fileName[1];\r\n let truncatedFileName: any = fileNameWithoutExtension.length >= 16 ? fileNameWithoutExtension.substring(0, charactersToDisplay) + '...' + fileExtension : file;\r\n return truncatedFileName;\r\n }\r\n return;\r\n }\r\n\r\n checkSpnTextFormattingValues(spnCtrlEle: any, id: any) {\r\n this.isAlignleft = false;\r\n this.isAlignmiddle = false;\r\n this.isAlignright = false;\r\n this.isItalic = false;\r\n this.isUnderlined = false;\r\n this.isBold = false;\r\n\r\n if (spnCtrlEle.style.fontStyle != 'normal') {\r\n this.isItalic = true;\r\n }\r\n if (spnCtrlEle.style.textDecoration != 'none') {\r\n this.isUnderlined = true;\r\n }\r\n if (spnCtrlEle.style.fontWeight == 600 || spnCtrlEle.style.fontWeight == 'bold') {\r\n this.isBold = true;\r\n }\r\n if (spnCtrlEle.style.textAlign === 'left') {\r\n this.isAlignleft = true;\r\n }\r\n if (spnCtrlEle.style.textAlign === 'center') {\r\n this.isAlignmiddle = true;\r\n }\r\n if (spnCtrlEle.style.textAlign === 'right') {\r\n this.isAlignright = true;\r\n }\r\n if (spnCtrlEle.style.color === '#000' || spnCtrlEle.style.color === 'rgb(0, 0, 0)') {\r\n this.defaultColorPicker = this.commonConstants.DefaultColorPicker;\r\n }\r\n if (spnCtrlEle.style.fontSize !== '') {\r\n let newFontSize: any = spnCtrlEle.style.fontSize.split('px')[0];\r\n let resizableCurrentSelectedControl: any = (document.getElementById(\"resizable_\" + id));\r\n if (resizableCurrentSelectedControl && resizableCurrentSelectedControl.style) {\r\n let fontSizePtOrPxSelect: any = resizableCurrentSelectedControl.getAttribute('data-typography');\r\n if (fontSizePtOrPxSelect && fontSizePtOrPxSelect == \"pt\") {\r\n newFontSize = this.controlPropertyService.getTypographyConversionValue(newFontSize);\r\n this.defaultTypographySize = \"pt\";\r\n }\r\n else {\r\n this.defaultTypographySize = \"px\";\r\n }\r\n }\r\n\r\n this.defaultFontSize = newFontSize;\r\n }\r\n if (spnCtrlEle.style.fontFamily !== '') {\r\n const fontFamilyWithQuotes = spnCtrlEle.style.fontFamily;\r\n const fontFamilyWithoutQuotes = fontFamilyWithQuotes.replace(/\"/g, '');\r\n this.defaultFontFamily = fontFamilyWithoutQuotes;\r\n }\r\n }\r\n\r\n\r\n updateCtrlDateFormat(ctrlId: any, type: any, textFormatting: any) {\r\n let spnCtrlEle: any = document.getElementById('spn' + ctrlId);\r\n if (spnCtrlEle) {\r\n // Find the object with the desired date format\r\n const desiredFormat = spnCtrlEle.innerText;\r\n let dateFormatObject: any = this.commonConstants.Dateformat.find((format: any) => format.viewValue.includes(desiredFormat));\r\n\r\n // Retrieve the value if the format is found\r\n if (type === 0 && textFormatting != '') {\r\n //console.log('textFormatting', textFormatting.dateFormat);\r\n if (textFormatting.dateFormat === '' && this.envelope && this.envelope.envelopeDetails) {\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n spnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n } else {\r\n dateFormatObject = this.commonConstants.Dateformat.find((format: any) => format.viewValue.includes(textFormatting.dateFormat));\r\n this.selectDefaultDateFormat = dateFormatObject.value;\r\n spnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(dateFormatObject.value);\r\n }\r\n }\r\n else {\r\n if (this.envelope && this.envelope.envelopeDetails) {\r\n this.selectDefaultDateFormat = this.controlPropertyService.getDefaultDateOption(this.envelope.envelopeDetails.dateFormatID);\r\n spnCtrlEle.innerHTML = this.controlPropertyService.getDateFormatInnerHtmlVal(this.selectDefaultDateFormat);\r\n }\r\n }\r\n }\r\n }\r\n\r\n updateCopyAndPasteControls() {\r\n this.arrCopyPasteCtrlsTemp.forEach((ele: any, index: any) => {\r\n let redoItem: any = this.arrCopyPasteCtrlsTemp[index];\r\n if (redoItem && redoItem.Control) {\r\n this.createControl(redoItem.Control, ControlConfig.Duplicate, 'false');\r\n }\r\n })\r\n this.arrCopyPasteCtrlsTemp = [];\r\n // localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify([]));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n }\r\n\r\n restrictInputLengthToThree(e: any) {\r\n if (e && e.target && e.target.value && e.target.value.length > 3) {\r\n return e.target.value = e.target.value.slice(0, 3); // Limit input to 3 characters\r\n }\r\n }\r\n\r\n getLanguageTranslationValue(resourcekeyId: any) {\r\n return this.commonService.getLabelTranslationVal(resourcekeyId);\r\n }\r\n\r\n resetPaginationCount() {\r\n this.isPageLoadingFirstTime = true;\r\n let paginationInput: any = document.getElementById('paginationInput');\r\n if (paginationInput) {\r\n paginationInput.value = 1;\r\n // localStorage.setItem('currentPagination', '1');\r\n this.sessionStorageService.setCurrentPagination('1');\r\n }\r\n }\r\n\r\n updateLengthOrMaxCharLimitLabel() {\r\n // let currentSelectedControl: any = localStorage.getItem('CurrentClickedDroppedControl');\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n if (currentSelectedControl) {\r\n let controlEle: any = (document.getElementById(currentSelectedControl));\r\n let resizableCtrlEle: any = (document.getElementById('resizable_' + currentSelectedControl));\r\n if (controlEle) {\r\n let ctrlName: any = controlEle.getAttribute('data-controlname');\r\n if (ctrlName && ctrlName.toLowerCase() === 'name' || ctrlName.toLowerCase() === 'title' || ctrlName.toLowerCase() === 'text') {\r\n setTimeout(() => {\r\n if (this.hideFixedwidthCheckbox == false || this.hideFixedwidthCheckbox == 'false') {\r\n this.lengthOrMaxCharLimitLabel = 'Max Character Limit';\r\n if (resizableCtrlEle) {\r\n let isFixedWidth: any = resizableCtrlEle.getAttribute('data-isfixedwidth');\r\n if (isFixedWidth) {\r\n this.isFixedWidthChecked = (isFixedWidth === true || isFixedWidth === 'true') ? true : false;\r\n }\r\n\r\n }\r\n else {\r\n this.isFixedWidthChecked = false;\r\n }\r\n }\r\n // else { //old signer's UI\r\n // this.validateCharLimit();\r\n // }\r\n\r\n // if (resizableCtrlEle) {\r\n // \tthis.controlPropertyService.setTextAttributes(resizableCtrlEle);\r\n // }\r\n\r\n // let addTextTextareaEle: any = document.getElementById('addTextTextarea');\r\n // if (addTextTextareaEle) {\r\n // addTextTextareaEle.value = '';\r\n // }\r\n }, 200);\r\n\r\n if (resizableCtrlEle) {\r\n let maxCharLimitVal: any = resizableCtrlEle.getAttribute('maxcharallowed');\r\n if (maxCharLimitVal == null) {\r\n maxCharLimitVal = resizableCtrlEle.getAttribute('data-maxcharlimit');\r\n }\r\n let nameCharInputLimit: any = '';\r\n\r\n if (ctrlName && ctrlName.toLowerCase() === 'name') {\r\n nameCharInputLimit = 'nameCharInputLimit';\r\n }\r\n else if (ctrlName && ctrlName.toLowerCase() === 'title') {\r\n nameCharInputLimit = 'titleCharInputLimit';\r\n }\r\n else if (ctrlName && ctrlName.toLowerCase() === 'text') {\r\n\r\n nameCharInputLimit = 'textCharInputLimit';\r\n }\r\n\r\n if (nameCharInputLimit) {\r\n let charInputLimit: any = document.getElementById(nameCharInputLimit);\r\n if (charInputLimit && maxCharLimitVal && maxCharLimitVal != \"null\") {\r\n charInputLimit.value = maxCharLimitVal;\r\n }\r\n else charInputLimit.value = \"\";\r\n }\r\n\r\n }\r\n }\r\n else if (ctrlName && ctrlName.toLowerCase() === 'hyperlink') {\r\n let dataHperlink: any = controlEle.getAttribute('data-hyperlink');\r\n let inputHyperlinkText: any = document.getElementById('inputHyperlinkText');\r\n let spnControlEle: any = document.getElementById('spn' + currentSelectedControl);\r\n let inputHyperLinkURL: any = document.getElementById('inputHyperLinkURL');\r\n if (spnControlEle) {\r\n if (spnControlEle.getAttribute('isupdated') === 'true' || (spnControlEle.innerHTML != \"\" && spnControlEle.innerHTML != null)) {\r\n if (/^(http|https|ftp):\\/\\/[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/i.test(spnControlEle.innerHTML)) {\r\n if (inputHyperlinkText) inputHyperlinkText.value = spnControlEle.innerHTML;\r\n spnControlEle.setAttribute('isupdated', \"true\");\r\n }\r\n else {\r\n if (inputHyperlinkText) inputHyperlinkText.value = \"\";\r\n }\r\n }\r\n else {\r\n if (inputHyperlinkText) inputHyperlinkText.value = '';\r\n }\r\n if (inputHyperLinkURL && dataHperlink) {\r\n setTimeout(() => {\r\n inputHyperLinkURL.value = dataHperlink && dataHperlink != \"null\" ? dataHperlink : '';\r\n }, 200);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n resetChangesForIntegration(id: any) {\r\n this.userSelectedEntity = true;\r\n this.controlPropertyService.resetTextAreaInputs();\r\n let resetExternalTextoptions: any = document.getElementById('externalTextoptions');\r\n if (resetExternalTextoptions) {\r\n resetExternalTextoptions.value = 'Select';\r\n }\r\n this.controlPropertyService.resetTextToTextArea(id);\r\n let ctrlEle: any = document.getElementById('resizable_' + id);\r\n if (ctrlEle) {\r\n ctrlEle.setAttribute('data-EntityField', '');\r\n ctrlEle.setAttribute('data-EntityFieldValue', '');\r\n }\r\n }\r\n\r\n //Selecting controls using mouse selection\r\n controlSelection() {\r\n let selectableElement: any = $(\"#ctrlSelectable\").selectable();\r\n let selectedIds: any = [];\r\n if (this.isEnvelopeEditable) {\r\n selectableElement.selectable({\r\n delay: 150,\r\n selecting: (event: any, ui: any) => {\r\n $('.ui-selectable-helper').css('border', '2px dashed #3ab16d');\r\n $('.ui-selectable-helper').css('background-color', 'rgba(58, 177, 109, 0.1)');\r\n selectedIds = [];\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n },\r\n selected: (event: any, ui: any) => {\r\n $(ui.selected).each((index: number, element: any) => {\r\n const id = $(element).attr('id');\r\n if ($('.ui-selectable-helper') && $('.ui-selectable-helper')[0] && $('.ui-selectable-helper')[0].style.display !== 'none') {\r\n if (id && id.startsWith('resizable_')) {\r\n selectedIds.push(id);\r\n this.selectedItems.push(id);\r\n this.ctrlAndClickedControlsArr.push(id);\r\n let resizableEle: any = document.getElementById(id);\r\n if (resizableEle) {\r\n resizableEle.style.background = 'bisque';\r\n //resizableEle.style.borderColor = 'rgb(128, 0, 128);';\r\n\r\n let attr_data_guid: any = resizableEle.getAttribute('data-guid');\r\n let spnSelectEle: any = document.getElementById('spn' + id.replace('resizable_', ''));\r\n if (spnSelectEle) {\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n spnSelectEle.classList.add('mouse-selected');\r\n }\r\n spnSelectEle.style.background = '';\r\n }\r\n }\r\n }\r\n }\r\n\r\n //console.log('selectedIds', selectedIds);\r\n let length: any = this.selectedItems.length;\r\n // localStorage.setItem('selecteditemsLength', length);\r\n this.sessionStorageService.setSelecteditemsLength(length);\r\n this.commonService.setSelectedItems(this.selectedItems);\r\n if (selectedIds && selectedIds.length === 0) {\r\n selectableElement.children().removeClass('ui-selected');\r\n this.onClickOutsideSelectionArea();\r\n }\r\n });\r\n },\r\n stop: function (event: any, ui: any) {\r\n // Show helper after selection is done\r\n $('.ui-selectable-helper').css('display', 'block');\r\n }\r\n });\r\n }\r\n }\r\n\r\n //user click on control outside area\r\n onClickOutsideSelectionArea() {\r\n if (this.selectedItems && this.selectedItems.length) {\r\n this.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n }\r\n else if (this.ctrlAndClickedControlsArr && this.ctrlAndClickedControlsArr.length) {\r\n this.controlPropertyService.removePreviousControlSelection(this.ctrlAndClickedControlsArr);\r\n }\r\n\r\n this.ctrlAndClickedControlsArr = [];\r\n this.isClose = true;\r\n this.activeCtrlId = 0;\r\n this.controlPropertyService.removeControlActiveClass(\"\");\r\n this.hidePagesViewSection = false;\r\n this.hideControlViewSection = this.isClose;\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n this.sessionStorageService.setSelecteditemsLength('0');\r\n setTimeout(() => {\r\n this.enableFieldAlignment();\r\n this.updateExtendDocumentWidth();\r\n }, 100);\r\n };\r\n\r\n //After editing integration controls, updating respective fields values\r\n updateIntegrationFields(dataEntity: any, dataEntityField: any) {\r\n let resetEntityFields: any = document.getElementById('entityFields');\r\n let resetExternalTextoptions: any = document.getElementById('externalTextoptions');\r\n if (resetExternalTextoptions) {\r\n resetExternalTextoptions.value = dataEntity;\r\n if (resetExternalTextoptions.value !== 'Select' || resetExternalTextoptions.value !== '') {\r\n this.userSelectedEntity = false;\r\n }\r\n }\r\n if (resetEntityFields) {\r\n resetEntityFields.value = this.controlPropertyService.getValueByKey(dataEntityField, this.externalEntityFieldList);\r\n }\r\n }\r\n\r\n getTemplateOrEnvelopeClass() {\r\n let className: string = 'col-lg-8 col-md-8'\r\n console.log('getTemplateOrEnvelopeClass class invoked');\r\n if (this.isTemplate) {\r\n className = 'col-lg-6 col-md-6';\r\n }\r\n return className;\r\n }\r\n\r\n onCopyFun() {\r\n this.updateUndoCtrlsCount();\r\n this.arrCopyPasteCtrlsTemp = [];\r\n // localStorage.setItem('arrCopyPasteCtrlsTemp', JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.commonService.setSelectedItems(this.selectedItems);\r\n this.sessionStorageService.setSelecteditemsLength(this.selectedItems.length);\r\n this.isCopiedSelecteditems = true;\r\n // localStorage.setItem('isCopiedSelecteditems', 'true');\r\n this.sessionStorageService.setIsCopiedSelecteditems('true');\r\n let pasteBtnDisabled: any = document.getElementById('Paste_Btn');\r\n if (pasteBtnDisabled) {\r\n pasteBtnDisabled.classList.remove('disabled3');\r\n }\r\n this.isCtrlAndControlMouseSelection = true;\r\n }\r\n\r\n onPasteFun(data: any) {\r\n if (this.isCopiedSelecteditems === true) {\r\n // let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n let arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n this.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n if (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n this.updateCopyAndPasteControls();\r\n } else {\r\n this.createDupicateControl(data);\r\n }\r\n this.isCtrlAndControlMouseSelection = true;\r\n if (this.selectedItems && this.selectedItems.length) {\r\n this.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n }\r\n }\r\n }\r\n\r\n onRedoFun(data: any) {\r\n // let arrUndoCtrlsCount: any = localStorage.getItem('arrUndoCtrlsCount');\r\n let arrUndoCtrlsCount: any = this.sessionStorageService.getArrUndoCtrlsCount();\r\n this.arrUndoCtrlsCount = JSON.parse(arrUndoCtrlsCount);\r\n // let arrCopyPasteCtrlsTemp: any = localStorage.getItem('arrCopyPasteCtrlsTemp');\r\n let arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n this.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n if (this.arrUndoCtrlsCount && this.arrUndoCtrlsCount.length > 0) {\r\n this.arrUndoCtrlsCount.pop();\r\n // localStorage.setItem('arrUndoCtrlsCount', JSON.stringify(this.arrUndoCtrlsCount));\r\n this.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n if (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n this.updateCopyAndPasteControls();\r\n } else {\r\n this.createDupicateControl(data);\r\n }\r\n this.disableRedoButtons();\r\n this.disableUndoButtons();\r\n }\r\n }\r\n\r\n resetCopyPasteUndoRedoList() {\r\n this.sessionStorageService.setSelecteditemsLength('0');\r\n this.arrCopyPasteCtrlsTemp = [];\r\n this.sessionStorageService.setArrCopyPasteCtrlsTemp(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.arrUndoRedoCtrl = [];\r\n this.arrCopyPasteCtrl = [];\r\n this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrCopyPasteCtrlsTemp));\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n this.selectedItems = [];\r\n this.commonService.selectedItems = [];\r\n }\r\n\r\n applyPrefillLabelTextProp(type: any) {\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n this.controlPropertyService.applyPrefillLabelTextProp(currentSelectedControl, type);\r\n }\r\n\r\n showDependenciesFields(type: any) {\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n let depencieContainerResponsive: any = (document.getElementById('depencieChanges')) as HTMLSelectElement;\r\n\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrlEle) {\r\n let controlGuid = ctrlEle.getAttribute('data-guid');\r\n if (controlGuid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n let currentDrpCtrl: any = (document.getElementById(\"spn\" + currentSelectedControl)) as HTMLSelectElement;\r\n if (currentDrpCtrl && currentDrpCtrl.options && currentDrpCtrl.options.length == 0) {\r\n this.toastrService.warning(\"Please add options for the selected dropdown control.\", 'Warning'); return;\r\n }\r\n }\r\n else if (controlGuid.toLowerCase() == Control.Radio.toLowerCase()) {\r\n let controlGrpName: any = ctrlEle.getAttribute('data-groupname');\r\n if (controlGrpName == undefined || controlGrpName == \"\" || controlGrpName == null || controlGrpName == \"null\") {\r\n this.toastrService.warning(\"Please add group name for selected radio control.\", 'Warning'); return;\r\n }\r\n }\r\n }\r\n\r\n this.dependencyIconClickedObj = {\r\n type: type == '1' ? '1' : '',\r\n groupColorCode: this.groupColorCode,\r\n currentControlId: this.currentControlId,\r\n isControlingField: this.isControlingField(this.currentControlId)\r\n }\r\n this.commonService.callDependencyPopupFields(this.dependencyIconClickedObj);\r\n this.hideDependencies = !this.hideDependencies;\r\n // if(depencieContainerResponsive){\r\n // \tdepencieContainerResponsive.classList.add('depencie-W');\r\n // }\r\n if (this.isClose === false && this.hideDependencies == false) {\r\n // depencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n depencieContainerResponsive.classList.add('depencie-W');\r\n this.onPreviewPagesView();\r\n }\r\n\r\n if (this.hidePagesViewSection == true || this.hideControlViewSection == true) {\r\n setTimeout(() => {\r\n let divItem: any = document.getElementById(\"div\" + this.currentControlId);\r\n if (divItem) {\r\n divItem.style[\"border-color\"] = \"transparent transparent transparent bisque\";\r\n }\r\n this.hidePagesViewSection = true;\r\n this.isClose = true;\r\n this.hideControlViewSection = this.isClose;\r\n addmiddleClass.classList.remove('col-lg-8');\r\n addmiddleClass.classList.add('col-lg-10');\r\n depencieContainerResponsive.classList.remove('depencie-AdjustW');\r\n depencieContainerResponsive.classList.add('depencie-W');\r\n }, 100);\r\n }\r\n this.accordaionExapand();\r\n // this.onPreviewPagesView();\r\n }\r\n\r\n closeDependecie($event: any) {\r\n this.dependecieClose = $event;\r\n let addmiddleClass: any = (document.getElementById('middle-section')) as HTMLSelectElement;\r\n if (this.dependecieClose == false || this.hidePagesViewSection == false) {\r\n this.hideDependencies = !this.hideDependencies;\r\n this.hidePagesViewSection = false;\r\n if (this.hidePagesViewSection == false || this.hideControlViewSection == true) {\r\n addmiddleClass.classList.remove('col-lg-10');\r\n addmiddleClass.classList.add('col-lg-8');\r\n }\r\n }\r\n this.accordaionExapand();\r\n }\r\n\r\n openTemplateSaveDropdown() {\r\n this.isTemplateSaveDropdown = true;\r\n }\r\n\r\n toggleAllAccordions() {\r\n this.controlPropertyService.toggleAllAccordions();\r\n }\r\n\r\n accordaionExapand() {\r\n this.controlPropertyService.accordaionExapand();\r\n }\r\n\r\n closeTemplateSaveDropdown() {\r\n this.isTemplateSaveDropdown = true;\r\n }\r\n\r\n updatedSaveAsDefaultSavedData(defaultControlProperty: any, envelopeCultureInfo: any) {\r\n this.defaultControlStyleService.updatedSaveAsDefaultSavedData(defaultControlProperty, envelopeCultureInfo);\r\n }\r\n\r\n saveAsDefaultSaveSettings(ctrlsObj: any) {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n let userDetails: any = this.authService.getUserDetails();\r\n let SettingsPrepareModal: any = this.defaultControlStyleService.saveAsDefaultSaveSettings(userDetails, ctrlsObj);\r\n this.apiService.saveSettings(SettingsPrepareModal).subscribe((data: any) => {\r\n //console.log(\"dsf\");\r\n });\r\n }\r\n }\r\n\r\n updateUndoCtrlsCount() {\r\n this.arrUndoCtrlsCount = [];\r\n this.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(this.arrUndoCtrlsCount));\r\n }\r\n\r\n disableUndoButtons() {\r\n return this.controlPropertyService.disableUndoButtons(this.isEnvelopeEditable);\r\n }\r\n\r\n disableRedoButtons() {\r\n return this.controlPropertyService.disableRedoButtons(this.isEnvelopeEditable);\r\n }\r\n getBrandingDetails() {\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (this.authService.isTokenExists() == \"false\") {\r\n this.hostListenerStatus = true;\r\n this.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n }\r\n else {\r\n let getUserDetails: any = this.authService.getUserDetails();\r\n let companyId: any = getUserDetails.companyID;\r\n this.apiService.getBrandingDetails(companyId).subscribe((resp: any) => {\r\n if (resp) {\r\n let brandingTemparray: any[] = [];\r\n if (this.envelope.envelopeDetails.branding == null) {\r\n this.slides = resp;\r\n }\r\n else {\r\n let brandingDetails: any = JSON.parse(this.envelope.envelopeDetails.branding);\r\n if (brandingDetails[0].isDefault === false) {\r\n brandingDetails[0].isDefault = true;\r\n }\r\n\r\n if (brandingDetails[0].IsDefault === false) {\r\n brandingDetails[0].IsDefault = true;\r\n }\r\n\r\n brandingTemparray.push(brandingDetails[0]);\r\n resp.forEach((ele: any) => {\r\n if (ele.id != (brandingDetails[0].id || brandingDetails[0].ID)) {\r\n ele.isDefault = false;\r\n brandingTemparray.push(ele);\r\n }\r\n\r\n });\r\n this.slides = brandingTemparray;\r\n }\r\n\r\n this.slides.map((item: any) => {\r\n if (item.isDefault || item.IsDefault) {\r\n this.branding = `[${JSON.stringify(item)}]`;\r\n this.defaultBranding = `[${JSON.stringify(item)}]`;\r\n }\r\n })\r\n }\r\n });\r\n }\r\n }\r\n\r\n updateTempTotalCountPerPage() {\r\n this.tempTotalCountPerPage = [];\r\n for (let i = 0; i < this.imagesArr.length; i++) {\r\n this.tempTotalCountPerPage.push({ id: i, controlsCount: this.imagesArr[i].controlsCount, documentId: this.imagesArr[i].documentId });\r\n }\r\n }\r\n\r\n addInitialCtrlOnEachPage(ctrlObj: any, data: any) {\r\n //console.log('ctrlObj', ctrlObj);\r\n this.copyPastedcontrolsArr = [];\r\n let left: any = ctrlObj.left;\r\n let top: any = ctrlObj.top;\r\n let currentPageNo: any = ctrlObj.pageNo;\r\n let ctrlEle: any = document.getElementById(ctrlObj.pageNo);\r\n if (ctrlEle && ctrlEle.getAttribute('img-document-id')) {\r\n let currentCtrlEle: any = document.getElementById('resizable_' + ctrlObj.id);\r\n if (currentCtrlEle) {\r\n let positions: any = this.controlPropertyService.getElePositions(currentCtrlEle);\r\n left = parseFloat(positions.Left);\r\n top = parseFloat(positions.Top);\r\n }\r\n let documentImages: any = document.querySelectorAll('.img-control');\r\n let length: any = data.secondInputval;\r\n let currentCtrlPageNum: any = parseInt(currentCtrlEle.getAttribute('pageno'));\r\n let currentCtrlPageEle: any = document.getElementById(currentCtrlPageNum);\r\n let currentCtrlPageWidth: any = currentCtrlPageEle.width;\r\n\r\n //let currentCtrlPageHeight:any = currentCtrlPageEle.height;\r\n Array.from(documentImages).forEach((ele: any, index: any) => {\r\n if (data.selectedOption === 'Place From Here') {\r\n // index = parseInt(currentPageNo);\r\n index = data.firstInputval;\r\n }\r\n if (ele) {\r\n let imgEle: any = document.getElementById(ele.id.split('_')[1]);\r\n ctrlObj.pageNo = parseInt(ele.id.split('_')[1]);\r\n let currentCtrlHeight: any = (top + currentCtrlEle.offsetHeight);\r\n let currentCtrlWidth: any = (left + currentCtrlEle.offsetWidth);\r\n\r\n // imgEle.getAttribute('img-document-id') === ctrlEle.getAttribute('img-document-id') &&\r\n if (ctrlObj.pageNo >= index && imgEle && parseInt(currentPageNo) != ctrlObj.pageNo && ctrlObj.pageNo <= length &&\r\n currentCtrlHeight < imgEle.height && currentCtrlWidth < imgEle.width && currentCtrlPageWidth === imgEle.width) {\r\n this.createControl(ctrlObj, ControlConfig.Duplicate, 'true');\r\n }\r\n }\r\n })\r\n }\r\n ctrlObj.pageNo = currentPageNo;\r\n\r\n let chInitRequiredContainer: any = document.getElementById('chInitRequiredContainer');\r\n if (chInitRequiredContainer) {\r\n chInitRequiredContainer.classList.add('place-on-initials-btn');\r\n }\r\n this.onClickOutsideSelectionArea();\r\n }\r\n\r\n onInitRequired(e: any) {\r\n let currentSelectedControl: any = this.sessionStorageService.getCurrentClickedDroppedControl();\r\n let resizableEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n let placeOnEachPageOfTheDocument: any = resizableEle.getAttribute('placeOnEachPageOfTheDocument');\r\n let initialStateObj: any = {\r\n initialsCtrl: currentSelectedControl,\r\n totalImages: this.imagesArr.length\r\n }\r\n let modalRef: any = this.modalService.show(InitialsCreationComponent, { initialState: { initialStateObj: initialStateObj }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n modalRef.content?.initialsChangesMade.subscribe((data: any) => {\r\n if (currentSelectedControl && placeOnEachPageOfTheDocument != 'true') {\r\n this.showLoader = true;\r\n }\r\n setTimeout(() => {\r\n if (currentSelectedControl && placeOnEachPageOfTheDocument != 'true') {\r\n let currentCtrlELe: any = document.getElementById(currentSelectedControl);\r\n let currentCtrlEleResizable: any = document.getElementById('resizable_' + currentSelectedControl);\r\n let spnCtrlEleResizable: any = document.getElementById('spn' + currentSelectedControl);\r\n let ctrlPositions = this.controlPropertyService.getElePositions(currentCtrlEleResizable);\r\n if (currentCtrlELe && currentCtrlEleResizable && spnCtrlEleResizable) {\r\n currentCtrlEleResizable.setAttribute('placeOnEachPageOfTheDocument', true);\r\n currentCtrlEleResizable.setAttribute('isCheckedInitEachPage', true);\r\n currentCtrlEleResizable.setAttribute('fromParentInitialCtrl', true);\r\n let textFormatting: any = {\r\n color: spnCtrlEleResizable.style.color,\r\n fontID: spnCtrlEleResizable.getAttribute('font-family-id'),\r\n fontFamily: spnCtrlEleResizable.style.fontFamily,\r\n fontSize: spnCtrlEleResizable.style.fontSize,\r\n fontWeight: spnCtrlEleResizable.fontWeight,\r\n textDecoration: spnCtrlEleResizable.fontWeight,\r\n fontStyle: spnCtrlEleResizable.fontWeight,\r\n lineHeight: spnCtrlEleResizable.style.fontSize,\r\n textAlign: 'left'\r\n };\r\n\r\n let controlObj: any = {\r\n id: currentSelectedControl,\r\n controlName: currentCtrlELe.getAttribute('data-controlname'),\r\n pageNo: currentCtrlELe.getAttribute('data-pageno'),\r\n dataDocumentContentId: currentCtrlELe.getAttribute('data-document-content-id'),\r\n dataGuid: currentCtrlEleResizable.getAttribute('data-guid'),\r\n recipientId: currentCtrlEleResizable.getAttribute('data-rcptid'),\r\n recpColor: currentCtrlEleResizable.getAttribute('data-recp-color'),\r\n top: ctrlPositions.Top,\r\n left: ctrlPositions.Left,\r\n height: currentCtrlEleResizable.style.height,\r\n width: currentCtrlEleResizable.style.width,\r\n isRequired: currentCtrlEleResizable.getAttribute('data-guid'),\r\n textFormatting: textFormatting\r\n };\r\n this.addInitialCtrlOnEachPage(controlObj, data);\r\n }\r\n this.showLoader = false;\r\n if (data.selectedOption === 'Place On All Pages') {\r\n if (this.isPortrait == true && this.isLandscape == true) {\r\n this.toastrService.info('Controls placed on all pages that have the same orientation.', 'Info');\r\n }\r\n else this.toastrService.info('Controls placed on all pages.', 'Info');\r\n } else {\r\n if (this.isPortrait == true && this.isLandscape == true) {\r\n this.toastrService.info('Controls placed on selected page range ' + data.firstInputval + ' to ' + data.secondInputval + ' that have the same orientation.', 'Info');\r\n }\r\n else this.toastrService.info('Controls placed on selected page range ' + data.firstInputval + ' to ' + data.secondInputval + '.', 'Info');\r\n }\r\n }\r\n else this.showLoader = false;\r\n }, 10);\r\n });\r\n }\r\n\r\n // Start redirecting user to RSign LogOn Page operation\r\n redirectRSignLogOnPage() {\r\n this.hostListenerStatus = true;\r\n this.showLoader = false;\r\n this.toastrService.info(CommonConstants.SessionTimedOutMsg, 'Info');\r\n this.sessionStorageService.setIntializePrepareDetails('EnvelopeID', '');\r\n this.sessionStorageService.setIntializePrepareDetails('EmailId', '');\r\n this.sessionStorageService.setIntializePrepareDetails('PageName', '');\r\n\r\n let getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n if (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n let sourceUrl: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n window.location.href = sourceUrl + NavigateUrlConfig.LogOn;\r\n }\r\n else {\r\n this.router.navigate(['/global-error']);\r\n }\r\n }\r\n // End redirecting user to RSign LogOn Page operation\r\n\r\n // Start Handle control drop and undo operation\r\n performUndoRedoAction(actionType: string, payload: any) {\r\n this.undoRedoItems.push(payload);\r\n // Push the action onto the undo stack\r\n this.undoRedoStackService.push({ type: actionType, payload });\r\n }\r\n // End Handle control drop and undo operation\r\n\r\n // Start Handle control delete operation\r\n deleteItems(ids: any) {\r\n this.deleteCtrlItemsFlag = true;\r\n this.undoFlag = 'true';\r\n let deletedItemsArr: any = [];\r\n for (let i = 0; i < ids.length; i++) {\r\n let delEle: any = document.getElementById(ids[i]);\r\n let tobeDeletedCtrl: any = (document.getElementById(ids[i].replace('resizable_', '')));\r\n if (delEle) {\r\n let ctrlContentId: any = tobeDeletedCtrl.getAttribute('data-document-content-id');\r\n delEle.style.display = 'none';\r\n\r\n //Delete the control from local storage arrays\r\n this.controlPropertyService.updateDependecyForDependentControls(ids[i].replace('resizable_', ''), ctrlContentId);\r\n }\r\n if (this.allControlsArr && this.allControlsArr.length > 0) {\r\n this.allControlsArr.forEach((ele: any) => {\r\n if (ele.id === ids[i].replace('resizable_', '')) {\r\n deletedItemsArr.push(ele);\r\n }\r\n })\r\n }\r\n }\r\n\r\n // Push the delete action to the undo stack\r\n this.undoRedoStackService.push({\r\n type: 'DELETE_ITEM',\r\n payload: [{\r\n index: this.undoRedoStackService['undoStack'].length,\r\n item: deletedItemsArr,\r\n }],\r\n });\r\n\r\n setTimeout(() => {\r\n this.showHideDependenciesButton();\r\n this.updateExtendDocumentWidth();\r\n }, 10); //50\r\n\r\n this.getControlsCount(event, '', '');\r\n }\r\n // End Handle control delete operation\r\n\r\n // Start Handle control undo operation\r\n undoCtrl(event: any) {\r\n let action: any = this.undoRedoStackService.undo();\r\n this.arrCopyPasteCtrl = [];\r\n this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n if (action) {\r\n this.redoFlag = 'true';\r\n // Revert state based on the action\r\n if (action && action.type === 'DELETE_ITEM' && action.payload && action.payload[0].item) {\r\n for (let i = 0; i < action.payload[0].item.length; i++) {\r\n this.undoRedoStackService.resetBgColorAndActiveClass(action.payload[0].item[i].id, this.isEnvelopeEditable, 'block');\r\n this.undoRedoItems.splice(action.payload[0].index, 0, action.payload[0].item[i]);\r\n }\r\n }\r\n else if (action && action.type === 'ADD_ITEM') {\r\n if (action && action.payload && action.payload && action.payload.length) {\r\n for (let i = 0; i < action.payload.length; i++) {\r\n this.undoRedoStackService.resetBgColorAndActiveClass(action.payload[i].id, this.isEnvelopeEditable, 'none');\r\n }\r\n }\r\n }\r\n\r\n this.getControlsCount(event, '', '');\r\n }\r\n this.undo({});\r\n }\r\n // End Handle control undo operation\r\n\r\n // Start Handle control redo operation\r\n redoCtrl(event: any) {\r\n let action: any = this.undoRedoStackService.redo();\r\n if (action) {\r\n // Reapply state based on the action\r\n if (action && action.type === 'DELETE_ITEM' && action.payload && action.payload[0].item) {\r\n for (let i = 0; i < action.payload[0].item.length; i++) {\r\n this.undoRedoStackService.resetBgColorAndActiveClass(action.payload[0].item[i].id, this.isEnvelopeEditable, 'none');\r\n this.undoRedoItems.splice(action.payload[0].index, 0, action.payload[0].item[i]);\r\n }\r\n const index = action.payload[0].index;\r\n this.undoRedoItems.splice(index, 1);\r\n }\r\n\r\n if (action && action.payload) {\r\n if (action && action.payload && action.payload && action.payload.length) {\r\n this.undoRedoStackService.redoCtrlResetCtrlBgs(action, this.isEnvelopeEditable);\r\n }\r\n }\r\n } else {\r\n this.redoFlag = 'false';\r\n }\r\n this.getControlsCount(event, '', '');\r\n }\r\n // End Handle control redo operation\r\n\r\n // Start Handle control paste operation\r\n onPaste(): void {\r\n if (this.isCopiedSelecteditems === true) {\r\n let arrCopyPasteCtrlsTemp: any = this.sessionStorageService.getArrCopyPasteCtrlsTemp();\r\n this.arrCopyPasteCtrlsTemp = JSON.parse(arrCopyPasteCtrlsTemp);\r\n this.copyPastedcontrolsArr = [];\r\n if (this.arrCopyPasteCtrlsTemp && this.arrCopyPasteCtrlsTemp.length > 0) {\r\n this.updateCopyAndPasteControls();\r\n } else {\r\n let data: any = {};\r\n this.createDupicateControl(data);\r\n }\r\n this.isCtrlAndControlMouseSelection = true;\r\n if (this.selectedItems && this.selectedItems.length) {\r\n this.controlPropertyService.removeCtrlSelectionBgColor(this.selectedItems);\r\n }\r\n }\r\n\r\n }\r\n // End Handle control paste operation\r\n\r\n //Start If broken image is there then reload the image again\r\n updateImageSrc(imgPath: any, id: any) {\r\n if (parseInt(id) <= parseInt(this.envelope.envelopeDetails.documentImageConversionMaxLimit)) {\r\n console.log(\"updateImageSrc ----> imgPath:\" + imgPath);\r\n setTimeout(() => {\r\n var newImage = new Image();\r\n newImage.src = imgPath;\r\n setTimeout(() => {\r\n if (!newImage.complete) {\r\n console.log(\"updateImageSrc ----> Image not completed and path is:\" + newImage.src);\r\n if (newImage.src) {\r\n let imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n if (imageId) {\r\n this.updateImageSrc(newImage.src, imageId);\r\n }\r\n }\r\n }\r\n else if (newImage && newImage.complete && newImage.width > 0 && newImage.height > 30) {\r\n let imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n if (imageId) {\r\n let imageObj: any = this.imagesArr[parseInt(imageId) - 1];\r\n if (imageObj && parseInt(imageObj.id) == parseInt(imageId)) {\r\n this.imagesArr[parseInt(imageId) - 1] = {\r\n path: imageObj.path, isActive: false, id: imageObj.id, imageId: imageObj.id, documentId: imageObj.documentId, width: imageObj.width, height: imageObj.height, isVisible: true, isTemplateDatedBeforePortraitLandscapeFeature: imageObj.isTemplateDatedBeforePortraitLandscapeFeature, docPageNo: imageObj.docPageNo,\r\n document: { id: imageObj.document.id, name: imageObj.document.name }, controlsCount: 0\r\n };\r\n let imgControl: any = document.getElementById(\"imgControl_\" + imageObj.id);\r\n if (imgControl && imgControl != null) {\r\n imgControl.style.display = '';\r\n imgControl.style.display = 'block';\r\n }\r\n console.log(\"updateImageSrc ----> Image completed and path is:\" + imgPath);\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"updateImageSrc ----> Image not loaded and path is:\" + imgPath);\r\n if (newImage.src) {\r\n let imageId: any = newImage.src.split('=')[1].split('&')[0];\r\n if (imageId) {\r\n this.updateImageSrc(newImage.src, imageId);\r\n }\r\n }\r\n }\r\n }, 15);\r\n }, 30);\r\n }\r\n }\r\n //End If broken image is there then reload the image again\r\n toggleHideTextWithAsterisks(isChecked: any): void {\r\n const textInput: any = document.getElementById('addTextTextarea');\r\n this.asteriskOriginalText = textInput.value.trim();\r\n if (isChecked) {\r\n const trimmedText = textInput.value.trim(); // Trim extra spaces\r\n const asterisks = '*'.repeat(trimmedText.length); // Replace text with asterisks\r\n this.hiddenText = asterisks; // Store asterisks as the original value\r\n } else {\r\n textInput.value = this.asteriskOriginalText; // Restore original text (not asterisks)\r\n }\r\n }\r\n showHiddenTextATFocusIn(event: any): void {\r\n const textInput: HTMLTextAreaElement = document.getElementById('addTextTextarea');\r\n const textAreaVal: string = event.target.value.trim();\r\n const checkbox: HTMLInputElement = document.getElementById('checkboxHideText');\r\n let currentSelectedControl: any = this.currentControlId;\r\n let ctrlEle: any = document.getElementById('resizable_' + currentSelectedControl);\r\n if (ctrlEle) {\r\n this.asteriskOriginalText = ctrlEle.getAttribute('data-asteriskOriginalText');\r\n let addtextareaval: any = ctrlEle.getAttribute('data-addtextareaval');\r\n if (addtextareaval === null || addtextareaval === undefined || addtextareaval === '') {\r\n this.asteriskOriginalText = addtextareaval;\r\n }\r\n }\r\n // Show original text only there's a value\r\n if (this.asteriskOriginalText != 'null') {\r\n textInput.value = this.asteriskOriginalText;\r\n }\r\n }\r\n}","export class AuthenticationApiurls {\r\n public static AuthenticateUserV3: string = 'api/v1/Auth/AuthenticateUserV3';\r\n public static ResetPassword: string = 'api/v1/Auth/ResetPassword';\r\n public static RegisterUser: string ='api/v1/Account/RegisterUser';\r\n}\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ServicesError } from '../services.error';\r\nimport { AuthService } from '../auth.service';\r\nimport { CommonConstants } from '../../constants/common-constants';\r\nimport { catchError } from 'rxjs';\r\nimport { AuthenticationApiurls } from '../../constants/authentication/authentication-apiurls';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthenticationService {\r\n\r\n baseUrl = environment.apiBaseUrl;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private error: ServicesError,\r\n private authService: AuthService) { }\r\n\r\n get requestOptions() {\r\n return {\r\n headers: new HttpHeaders({\r\n 'Authorization': CommonConstants.TokenType + this.authService.getToken(),\r\n 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Accept': 'application/json;'\r\n })\r\n };\r\n }\r\n\r\n //reference\r\n // get(url: any) {\r\n // return this.http.get(this.baseUrl + url, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n // }\r\n\r\n //POST Method\r\n validateLogin(reqObj: any) {\r\n let URL = AuthenticationApiurls.AuthenticateUserV3;\r\n return this.http.post(this.baseUrl + URL, reqObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n //Reset-Password\r\n updatePassword(reqObj: any) {\r\n let URL = AuthenticationApiurls.ResetPassword;\r\n return this.http.post(this.baseUrl + URL, reqObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n //Register\r\n registerUser(reqObj: any) {\r\n let URL = AuthenticationApiurls.RegisterUser;\r\n return this.http.post(this.baseUrl + URL, reqObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { AuthenticationService } from '../../../services/authentication/authentication.service';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-user-header',\r\n templateUrl: './user-header.component.html',\r\n styleUrls: ['./user-header.component.scss']\r\n})\r\nexport class UserHeaderComponent {\r\n languages = [\r\n { value: 'da', label: 'Danish' },\r\n { value: 'nl', label: 'Dutch' },\r\n { value: 'en', label: 'English' },\r\n { value: 'fr', label: 'French' },\r\n { value: 'de', label: 'German' },\r\n { value: 'hu', label: 'Hungarian' },\r\n { value: 'it', label: 'Italian' },\r\n { value: 'lv', label: 'Latvian' },\r\n { value: 'lt', label: 'Lithuanian' },\r\n { value: 'no', label: 'Norwegian' },\r\n { value: 'pl', label: 'Polish' },\r\n { value: 'pt', label: 'Portuguese' },\r\n { value: 'ro', label: 'Romanian' },\r\n { value: 'es', label: 'Spanish' },\r\n ];\r\n\r\n selectedLanguage: string = 'en';\r\n loginForm: FormGroup;\r\n\r\n constructor(\r\n private router: Router,\r\n private authenticationService:AuthenticationService\r\n ) { }\r\n\r\n onLanguageChange(event: any): void {\r\n const selectedLang = event.target.value;\r\n console.log('Selected language:', selectedLang);\r\n }\r\n\r\n signupClick() {\r\n this.router.navigate(['/register']);\r\n }\r\n\r\n onSigInClick() {\r\n this.router.navigate(['/login']);\r\n }\r\n}\r\n","import { Component, EnvironmentInjector } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { AuthenticationService } from '../../../services/authentication/authentication.service';\r\nimport { Router } from '@angular/router';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { environment } from 'src/environments/environment';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.scss']\r\n})\r\nexport class LoginComponent {\r\n title = 'RSign | Authentication';\r\n\r\n signInForm: FormGroup;\r\n isPasswordVisible: boolean = false;\r\n userPassword: string = '';\r\n GoogleCaptchaSiteKey: string = environment.GoogleCaptchaSiteKey;\r\n isCaptchaValid: boolean = false;\r\n\r\n constructor(\r\n private router: Router,\r\n private fb: FormBuilder,\r\n private toastrService: ToastrService,\r\n private authenticationService: AuthenticationService,\r\n private sessionStorageService: SessionStorageService,\r\n private authService: AuthService\r\n ) {\r\n this.signInForm = this.fb.group({\r\n email: ['', [Validators.required, Validators.email]],\r\n userPassword: ['', [Validators.required, Validators.minLength(8)]],\r\n rememberMe: [false],\r\n rememberPassword: [false]\r\n });\r\n }\r\n\r\n // onSigInSUbmit(): void {\r\n // console.log('Form Data:', this.signInForm);\r\n // if (this.signInForm.invalid) {\r\n // // Show error if form is invalid\r\n // if (this.signInForm.get('email')?.invalid) {\r\n // this.toastrService.warning(\"Please enter a valid email address.\", 'Warning');\r\n // }\r\n // if (this.signInForm.get('UserPassword')?.invalid) {\r\n // this.toastrService.warning(\"Password must be at least 6 characters long.\", 'Warning');\r\n // }\r\n // return;\r\n // }\r\n // }\r\n\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n\r\n onSignupClick() {\r\n this.router.navigate(['/register']);\r\n }\r\n\r\n onSigInClick() {\r\n this.router.navigate(['/login']);\r\n }\r\n\r\n recaptchaCallback(captchaResponse: any): void {\r\n if (captchaResponse) {\r\n this.isCaptchaValid = true;\r\n } else {\r\n this.isCaptchaValid = false;\r\n }\r\n }\r\n\r\n\r\n\r\n onSigInSUbmit(): void {\r\n //console.log('Form Data:', this.signInForm);\r\n if (this.signInForm.invalid) {\r\n // Show error if form is invalid\r\n if (this.signInForm.get('email')?.invalid) {\r\n this.toastrService.warning(\"Please enter a valid email address.\", 'Warning');\r\n }\r\n if (this.signInForm.get('userPassword')?.invalid) {\r\n this.toastrService.warning(\"Password must be at least 6 characters long.\", 'Warning');\r\n }\r\n return;\r\n }\r\n else {\r\n let authParamsObj: any = {\r\n \"emailAddress\": this.signInForm.value.email,\r\n \"password\": this.signInForm.value.userPassword,\r\n \"source\": \"\",\r\n \"jwtEnabled\": true,\r\n \"browserName\": \"chrome\", //TODO: add browser name dynamically.\r\n \"returnUrl\": \"\"\r\n }\r\n\r\n this.authenticationService.validateLogin(authParamsObj).subscribe(\r\n (resp: any) => {\r\n console.log('Response ', resp);\r\n if (resp && resp.statusCode == 200) {\r\n //this.router.navigate(['/send'], { state: { data: resp } });\r\n let userObject: any = resp;\r\n //console.log('statusCode:', userObject);\r\n localStorage.setItem(\"Response\", JSON.stringify(resp));\r\n localStorage.setItem('Token', userObject.accessToken);\r\n this.sessionStorageService.setIntializePrepareDetails('Token', userObject.accessToken);\r\n this.authService.setUserSettings(userObject.usersettings);\r\n // this.authService.setCompanySettings(userObject.companySettings);\r\n this.router.navigate(['/envelopes'], { state: { data: resp } });\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n

Welcome back!

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Forgot\r\n password?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

or Sign in with

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
or Sign up
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
","import { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { AuthenticationService } from '../../../services/authentication/authentication.service';\r\nimport { Router } from '@angular/router';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { environment } from 'src/environments/environment';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\n\r\n@Component({\r\n selector: 'app-register',\r\n templateUrl: './register.component.html',\r\n styleUrls: ['./register.component.scss']\r\n})\r\nexport class RegisterComponent {\r\n title = 'RSign | Authentication';\r\n\r\n rsignRegisterForm: FormGroup;\r\n GoogleCaptchaSiteKey:string = environment.GoogleCaptchaSiteKey;\r\n constructor(\r\n private router: Router,\r\n private fb: FormBuilder,\r\n private toastrService: ToastrService,\r\n private authenticationService: AuthenticationService,\r\n private sessionStorageService: SessionStorageService,\r\n private authService: AuthService\r\n ) {\r\n this.rsignRegisterForm = this.fb.group({\r\n email: ['', [Validators.required, Validators.email]],\r\n password: ['', [Validators.required, Validators.minLength(6)]],\r\n phoneNumber:['', [Validators.required, Validators.pattern(/^\\d{10}$/)]],\r\n reTypePassword: ['', [Validators.required]],\r\n userFirstName: ['', [Validators.required, Validators.pattern(/^[a-zA-Z]+$/)]],\r\n userLastName: ['', [Validators.required, Validators.pattern(/^[a-zA-Z]+$/)]],\r\n userTimeZone:['', [Validators.required]],\r\n termsAndCondition:[false, [Validators.requiredTrue]],\r\n });\r\n }\r\n\r\n onSigUpSUbmit(): void {\r\n console.log('Form Data:', this.rsignRegisterForm);\r\n if (this.rsignRegisterForm.invalid) {\r\n // Show error if form is invalid\r\n if (this.rsignRegisterForm.get('email')?.invalid) {\r\n this.toastrService.warning(\"Please enter a valid email address.\", 'Warning');\r\n }\r\n if (this.rsignRegisterForm.get('password')?.invalid) {\r\n this.toastrService.warning(\"Password must be at least 6 characters long.\", 'Warning');\r\n }\r\n return;\r\n }\r\n else{\r\n let registerUserObj: any = {\r\n \"firstName\": this.rsignRegisterForm.get('userFirstName'),\r\n \"lastName\": this.rsignRegisterForm.get('userLastName'),\r\n \"emailId\": this.rsignRegisterForm.get('email'),\r\n \"password\": this.rsignRegisterForm.get('password'),\r\n \"phoneNumber\": this.rsignRegisterForm.get('phoneNumber'),\r\n \"comparePassword\": this.rsignRegisterForm.get('reTypePassword'),\r\n \"language\": \"en-us\",\r\n \"timeZone\":this.rsignRegisterForm.get('userTimeZone'),\r\n \"ipAddress\": \":1\"\r\n }\r\n\r\n this.authenticationService.validateLogin(registerUserObj).subscribe(\r\n (resp: any) => {\r\n console.log('Response ', resp);\r\n if (resp && resp.statusCode == 200) {\r\n this.router.navigate(['/post-register']);\r\n }\r\n });\r\n }\r\n }\r\n\r\n onSignInRedirect() {\r\n this.router.navigate(['/login']);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n

Let's get started!

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
or Sign in
\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { AuthenticationService } from 'src/app/services/authentication/authentication.service';\r\n\r\n@Component({\r\n selector: 'app-forgot-password',\r\n templateUrl: './forgot-password.component.html',\r\n styleUrls: ['./forgot-password.component.scss']\r\n})\r\nexport class ForgotPasswordComponent {\r\n title = 'RSign | Authentication';\r\n\r\n forgetPasswordForm: FormGroup;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private toastrService: ToastrService,\r\n private authenticationService: AuthenticationService\r\n ) {\r\n this.forgetPasswordForm = this.fb.group({\r\n email: ['', [Validators.required, Validators.email]],\r\n });\r\n }\r\n\r\n onSendMeLink(): void {\r\n console.log('Form Data:', this.forgetPasswordForm);\r\n // Show error if form is invalid\r\n if (this.forgetPasswordForm.get('email')?.invalid) {\r\n this.toastrService.warning(\"Please enter a valid email address.\", 'Warning');\r\n }\r\n return;\r\n }\r\n}\r\n","\r\n
\r\n \r\n
\r\n
\r\n
\r\n
Forgot your password?
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Email address is not registered. Please Sign up from RSign application.\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
","export class SettingConstants {\r\n\r\n\r\n public static ExpiryTypeList: any = [\r\n {\r\n \"id\": \"25b259e0-5c43-4724-b215-406aad6000c1\",\r\n \"description\": \"1 Day\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"2bd241a0-7196-45e7-a980-f887e823fc63\",\r\n \"description\": \"2 Days\",\r\n \"order\": 2\r\n },\r\n {\r\n \"id\": \"9c7a85d8-2bc1-487d-93f6-3356d670c867\",\r\n \"description\": \"3 Days\",\r\n \"order\": 3\r\n },\r\n {\r\n \"id\": \"a6b7b576-46bf-4cfd-95e1-030179fa89ad\",\r\n \"description\": \"4 Days\",\r\n \"order\": 4\r\n },\r\n {\r\n \"id\": \"b1451de4-cc89-46ce-8098-41e2c9d3618f\",\r\n \"description\": \"5 Days\",\r\n \"order\": 5\r\n },\r\n {\r\n \"id\": \"cabc31e9-fcf1-45bb-b2f3-ab0bd0df46e1\",\r\n \"description\": \"6 Days\",\r\n \"order\": 6\r\n },\r\n {\r\n \"id\": \"44e03b8a-2e73-473c-b453-b8643d09910b\",\r\n \"description\": \"7 Days\",\r\n \"order\": 7\r\n },\r\n {\r\n \"id\": \"c0f07aae-47dc-4530-ae38-0b5a0f7dacc8\",\r\n \"description\": \"10 Days\",\r\n \"order\": 8\r\n },\r\n {\r\n \"id\": \"5a6ad6bf-564b-4306-93e7-1563da6db649\",\r\n \"description\": \"14 Days\",\r\n \"order\": 9\r\n },\r\n {\r\n \"id\": \"ee01fd0a-b72e-4f62-b434-7081db5bb1db\",\r\n \"description\": \"30 Days\",\r\n \"order\": 10\r\n },\r\n {\r\n \"id\": \"67cdb85f-8cd3-4d92-ab9a-8bc7dfea28a7\",\r\n \"description\": \"60 Days\",\r\n \"order\": 11\r\n },\r\n {\r\n \"id\": \"8dfda0d8-5fdf-41b8-8455-6a63791e4130\",\r\n \"description\": \"3 Months\",\r\n \"order\": 12\r\n }\r\n ];\r\n\r\n public static DateFormatList = [\r\n {\r\n \"id\": \"e3dad8d9-e16f-40f5-b112-bba204538136\",\r\n \"description\": \"US: mm/dd/yyyy\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"9fc73c2b-34d7-42a1-b2a6-702ed2fd312b\",\r\n \"description\": \"US: mm-dd-yyyy\",\r\n \"order\": 2\r\n },\r\n {\r\n \"id\": \"bda0023f-afc1-46e5-a134-884edca48799\",\r\n \"description\": \"US: mm.dd.yyyy\",\r\n \"order\": 3\r\n },\r\n {\r\n \"id\": \"7f472f00-cd12-443e-b38d-085f8872115f\",\r\n \"description\": \"US: dd-mmm-yyyy\",\r\n \"order\": 4\r\n },\r\n {\r\n \"id\": \"577d1738-6891-45de-8481-e3353eb6a963\",\r\n \"description\": \"EU: dd/mm/yyyy\",\r\n \"order\": 5\r\n },\r\n {\r\n \"id\": \"6685d1ed-60d2-4028-94e9-bc875c2e551d\",\r\n \"description\": \"EU: dd-mm-yyyy\",\r\n \"order\": 6\r\n },\r\n {\r\n \"id\": \"374fe10e-4313-4541-b3cb-627310a14499\",\r\n \"description\": \"EU: dd.mm.yyyy\",\r\n \"order\": 7\r\n },\r\n {\r\n \"id\": \"8fac284c-ab19-456c-bc73-1ce0d66d7220\",\r\n \"description\": \"EU: yyyy.mm.dd.\",\r\n \"order\": 8\r\n }\r\n ];\r\n\r\n public static SendReminderInDisplayOption = [\r\n {\r\n \"id\": \"23821383-563D-4EE4-8F34-3595E8A469D1\",\r\n \"description\": \"Days\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\",\r\n \"description\": \"Weeks\",\r\n \"order\": 2\r\n }\r\n ];\r\n\r\n public static ThenSendReminderdropdown = [\r\n {\r\n \"id\": \"23821383-563D-4EE4-8F34-3595E8A469D1\",\r\n \"description\": \"Days (3 max)\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\",\r\n \"description\": \"Weeks (3 max)\",\r\n \"order\": 2\r\n }\r\n ];\r\n\r\n public static SendFinalReminderdropdown = [\r\n {\r\n \"id\": \"23821383-563D-4EE4-8F34-3595E8A469D1\",\r\n \"description\": \"Days (3 max)\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"08E957DB-5CA5-4F1D-AC65-EEABBB7CE6FD\",\r\n \"description\": \"Weeks (3 max)\",\r\n \"order\": 2\r\n }\r\n ];\r\n\r\n public static AccessAuthenticationList = [\r\n {\r\n \"id\": \"3702fe94-d7db-45f4-86d7-8cc4791f7677\",\r\n \"description\": \"None\",\r\n \"order\": 1\r\n },\r\n {\r\n \"id\": \"fc14f65b-6fe9-4211-90fb-a03f241a55be\",\r\n \"description\": \"End-to-End\",\r\n \"order\": 2\r\n },\r\n {\r\n \"id\": \"5d8162da-c7a7-40be-9cf1-442fb2524ca3\",\r\n \"description\": \"Required to Open Signed\",\r\n \"order\": 3\r\n },\r\n {\r\n \"id\": \"6f95605f-ac41-4423-99eb-4fa9b1c24ede\",\r\n \"description\": \"Signer Verification\",\r\n \"order\": 4\r\n }\r\n ];\r\n\r\n //Title string valuess\r\n public static None: any = '';\r\n public static EndToEnd: any = 'Enter a private access code or leave blank to generate a random, system generated access code.';\r\n public static RequiredToOpenSigned: any = 'Enter a private access code or leave blank to generate a random, system generated access code.';\r\n public static SignerVerification: any = 'A six-digit access code is emailed to the signer when the “View & Sign Document” is pressed';\r\n\r\n\r\n}\r\n","
\r\n
Options
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Email Access Code\r\n
\r\n \r\n
\r\n \r\n If selected, RSign™ emails the password to sign and view the\r\n document to the signer.
\r\n Learn\r\n more…\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n\r\n \r\n Y\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n\r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n\r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n N\r\n \r\n \r\n Y\r\n \r\n
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { SettingConstants } from '../../../constants/step-one/setting-constants';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { UrlSegment } from '@angular/router';\r\n@Component({\r\n selector: 'app-setting-details',\r\n templateUrl: './setting-details.component.html',\r\n styleUrls: ['./setting-details.component.scss']\r\n})\r\nexport class SettingDetailsComponent {\r\n sidebarShow: boolean = false;\r\n settingConstants: any = SettingConstants; //constantans\r\n dateFormatList: any = this.settingConstants.DateFormatList;\r\n selectedDateFormat: any = this.settingConstants?.DateFormatList[0].id;\r\n expiryTypeList: any = this.settingConstants.ExpiryTypeList;\r\n selectedExpiryType: any = this.settingConstants?.ExpiryTypeList[0].id;\r\n sendReminderInDisplayOption: any = this.settingConstants.SendReminderInDisplayOption;\r\n sendReminder = this.settingConstants.SendReminderInDisplayOption[0].id;\r\n thenSendReminderdropdown: any = this.settingConstants.ThenSendReminderdropdown;\r\n thenSendReminder: any = this.settingConstants.ThenSendReminderdropdown[0].id;\r\n accessAuthenticationList: any = this.settingConstants.AccessAuthenticationList;\r\n accessAuthenticationType: any = this.settingConstants.AccessAuthenticationList[0].id;\r\n accessPassword: string = '';\r\n isPasswordVisible: boolean = false;\r\n userSettings: any;\r\n handleLeftSectionDropdowns: { key: string; value: string }[] = [];\r\n // Variable to control the visibility of the popover\r\n isPopoverVisible: boolean = false;\r\n noButton: boolean[] = [false, false, false,false, false, false,false];\r\n yesButton: boolean[] = [true, true, true, true, true, true, true];\r\n\r\n constructor(private authSerive: AuthService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.userSettings = this.authSerive.getUserSettings();\r\n // this.initSettingsStepOne(this.userSettings);\r\n this.selectedDateFormat = '7f472f00-cd12-443e-b38d-085f8872115f';\r\n this.selectedExpiryType = '9c7a85d8-2bc1-487d-93f6-3356d670c867';\r\n this.sendReminder = '23821383-563D-4EE4-8F34-3595E8A469D1';\r\n this.thenSendReminder = '23821383-563D-4EE4-8F34-3595E8A469D1';\r\n this.accessAuthenticationType = '3702fe94-d7db-45f4-86d7-8cc4791f7677';\r\n this.accessPassword = '';\r\n }\r\n\r\n\r\n initSettingsStepOne(usersettings: any) {\r\n this.selectedDateFormat = usersettings.dateFormatID;\r\n this.selectedExpiryType = usersettings.expiresInID;\r\n this.sendReminder = usersettings.sendReminderInDropdownSelected;\r\n this.thenSendReminder = usersettings.thenSendReminderInDropdownSelected;\r\n this.accessAuthenticationType = usersettings.accessAuthenticationId;\r\n }\r\n setActiveandViewOnlySettings() {\r\n }\r\n\r\n onChangeAccessAuthList(value: any) {\r\n console.log('onChangeAccessAuthList', value);\r\n let title: string = '';\r\n let placeHolder: string = 'Enter Access Code or Leave Blank';\r\n let accessPasswordEye: any = document.getElementById('accessPasswordEye');\r\n let bgColor: string = '';\r\n let color: string = '';\r\n let isDisabled: boolean = true;\r\n let accessPasswordEyeStyle: any = 'none';\r\n if (value === '3702fe94-d7db-45f4-86d7-8cc4791f7677') { //None\r\n this.accessPassword = this.settingConstants.None;\r\n }\r\n else if (value === 'fc14f65b-6fe9-4211-90fb-a03f241a55be') { //End To End\r\n title = this.settingConstants.EndToEnd;\r\n this.accessPassword = '123'; //Add Dynamically\r\n accessPasswordEyeStyle = 'block';\r\n bgColor = '#272f3b';\r\n color = 'white';\r\n isDisabled = false;\r\n }\r\n else if (value === '5d8162da-c7a7-40be-9cf1-442fb2524ca3') { //Required To OpenSigned\r\n title = this.settingConstants.RequiredToOpenSigned;\r\n this.accessPassword = '123'; //Add Dynamically\r\n accessPasswordEyeStyle = 'block';\r\n bgColor = '#272f3b';\r\n color = 'white';\r\n isDisabled = false;\r\n }\r\n else if (value === '6f95605f-ac41-4423-99eb-4fa9b1c24ede') { //Signer Verification\r\n title = this.settingConstants.SignerVerification;\r\n placeHolder = 'Requires Signer Verification';\r\n this.accessPassword = '';\r\n }\r\n\r\n let accessPasswordEle: any = document.getElementById('accessPassword');\r\n if (accessPasswordEle) {\r\n accessPasswordEle.setAttribute('title', title);\r\n accessPasswordEle.setAttribute('value', this.accessPassword);\r\n accessPasswordEle.setAttribute('placeholder', placeHolder);\r\n accessPasswordEle.style.background = bgColor;\r\n accessPasswordEle.style.color = color;\r\n if (isDisabled) {\r\n accessPasswordEle.setAttribute('disabled', isDisabled);\r\n } else {\r\n accessPasswordEle.removeAttribute('disabled', isDisabled);\r\n }\r\n }\r\n\r\n if (accessPasswordEye) {\r\n accessPasswordEye.style.display = accessPasswordEyeStyle;\r\n }\r\n }\r\n\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n let accessPasswordEye: any = document.getElementById('accessPasswordEye');\r\n if (this.isPasswordVisible && accessPasswordEye) {\r\n accessPasswordEye.classList.remove('fa-eye');\r\n accessPasswordEye.classList.add('fa-eye-slash');\r\n } else {\r\n accessPasswordEye.classList.remove('fa-eye-slash');\r\n accessPasswordEye.classList.add('fa-eye');\r\n }\r\n }\r\n\r\n // Show the popover when the mouse enters the icon\r\n showPopover(): void {\r\n this.isPopoverVisible = true;\r\n }\r\n\r\n // Hide the popover when the mouse leaves the icon\r\n hidePopover(): void {\r\n this.isPopoverVisible = false;\r\n }\r\n\r\n // Handle \"Learn More\" click\r\n openLearnMore(url: any): void {\r\n window.open('https://www.example.com', '_blank'); // Replace with your actual link\r\n }\r\n\r\n initializeLeftSectionDropdownInStepOne(key: string, value: string) {\r\n const dropDownIndex = this.handleLeftSectionDropdowns.findIndex(item => item.key === key);\r\n if (dropDownIndex > -1) {\r\n this.handleLeftSectionDropdowns[dropDownIndex].value = value;\r\n } else {\r\n this.handleLeftSectionDropdowns.push({ key, value });\r\n }\r\n console.log('hii', this.handleLeftSectionDropdowns);\r\n }\r\n\r\n // onSaveLeftSection() {\r\n // }\r\n\r\n toggleClasses(type: number, index: number) {\r\n if (type === 1) {\r\n // If 'No' button is clicked\r\n this.noButton[index] = true;\r\n this.yesButton[index] = false;\r\n } else if (type === 2) {\r\n // If 'Yes' button is clicked\r\n this.noButton[index] = false;\r\n this.yesButton[index] = true;\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
Drives
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \"Local\r\n Local Machine\r\n \r\n \r\n \r\n \r\n \r\n \r\n \"Google\r\n Google Drive\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \"Dropbox\"\r\n Dropbox\r\n \r\n \r\n \r\n \r\n \r\n \"OneDrive\"\r\n Microsoft OneDrive\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
","import { Component, EventEmitter, Output, ViewChild, ElementRef } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from '../../../services/common.service';\r\nimport { ResourceKeys } from 'src/app/constants/resourcekeys';\r\n\r\n@Component({\r\n selector: 'app-document-upload',\r\n templateUrl: './document-upload.component.html',\r\n styleUrls: ['./document-upload.component.scss']\r\n})\r\nexport class DocumentUploadComponent {\r\n resourceKeys = ResourceKeys;\r\n @Output() onCheckDocumentUpload: EventEmitter = new EventEmitter();\r\n showLoader: boolean = false;\r\n\r\n @ViewChild('fileUpload') fileUpload!: ElementRef; // Reference to file input\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private commonService: CommonService\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n // Handle local file upload\r\n onChange(event: Event): void {\r\n const input = event.target as HTMLInputElement;\r\n if (input.files && input.files.length > 0) {\r\n const file = input.files[0];\r\n if (file.size < 15728640) { // 15MB limit\r\n this.showLoader = true;\r\n // Simulate file upload process\r\n setTimeout(() => {\r\n this.onCheckDocumentUpload.emit({ fileSource: file, fileName: file.name, fileSize: file.size });\r\n this.toastrService.success('File uploaded successfully!', 'Success');\r\n this.showLoader = false;\r\n this.modalRef.hide(); // Close modal after success\r\n }, 1000); // Simulated delay\r\n } else {\r\n this.toastrService.warning('Maximum file size of 15MB allowed.', 'Warning');\r\n }\r\n }\r\n }\r\n\r\n // Trigger Google Drive picker\r\n loadGoogleDrive(): void {\r\n this.showLoader = true;\r\n // Placeholder for Google Drive integration\r\n // Replace with actual Google Drive API logic\r\n setTimeout(() => {\r\n this.toastrService.info('Google Drive integration not implemented yet.', 'Info');\r\n this.showLoader = false;\r\n }, 1000); // Simulated delay\r\n }\r\n\r\n // Trigger Dropbox picker\r\n loadDropBox(): void {\r\n this.showLoader = true;\r\n // Placeholder for Dropbox integration (commented original logic simplified)\r\n // Example: Uncomment and adapt if Dropbox SDK is included\r\n /*\r\n const options = {\r\n success: (files: any[]) => {\r\n const file = files[0];\r\n if (file.bytes < 15728640) {\r\n this.onCheckDocumentUpload.emit({ fileSource: file.link, fileName: file.name, fileSize: file.bytes });\r\n this.toastrService.success('Dropbox file selected!', 'Success');\r\n this.modalRef.hide();\r\n } else {\r\n this.toastrService.warning('Maximum file size of 15MB allowed.', 'Warning');\r\n }\r\n this.showLoader = false;\r\n },\r\n cancel: () => {\r\n this.showLoader = false;\r\n },\r\n linkType: 'direct',\r\n multiselect: false\r\n };\r\n Dropbox.choose(options);\r\n */\r\n setTimeout(() => {\r\n this.toastrService.info('Dropbox integration not implemented yet.', 'Info');\r\n this.showLoader = false;\r\n }, 1000); // Simulated delay\r\n }\r\n\r\n // Trigger Microsoft OneDrive picker\r\n loadOneDrive(): void {\r\n this.showLoader = true;\r\n // Placeholder for OneDrive integration\r\n // Replace with actual OneDrive API logic\r\n setTimeout(() => {\r\n this.toastrService.info('OneDrive integration not implemented yet.', 'Info');\r\n this.showLoader = false;\r\n }, 1000); // Simulated delay\r\n }\r\n\r\n // Utility for translation (if needed)\r\n getLanguageTranslationValue(resourcekeyId: any): string {\r\n return this.commonService.getLabelTranslationVal(resourcekeyId);\r\n }\r\n}","
\r\n
\r\n
Rule
\r\n
close
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n selector: 'app-rule',\r\n templateUrl: './rule.component.html',\r\n styleUrls: ['./rule.component.scss']\r\n})\r\nexport class RuleComponent {\r\n @Output() onCheckRule: EventEmitter = new EventEmitter();\r\n showLoader: boolean = true;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private tsoastrService: ToastrService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n onOk(){\r\n\r\n }\r\n}\r\n","
\r\n
\r\n
Create Template Group
\r\n
close
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n selector: 'app-template-group',\r\n templateUrl: './template-group.component.html',\r\n styleUrls: ['./template-group.component.scss']\r\n})\r\nexport class TemplateGroupComponent {\r\n @Output() onCheckGroupTemplate: EventEmitter = new EventEmitter();\r\n showLoader: boolean = true;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private tsoastrService: ToastrService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n onOk(){\r\n\r\n }\r\n}\r\n","export class StepOneConstants {\r\n public static SubjectCannotBeBlank: any = 'Subject cannot be blank';\r\n public static MessageBodyCannotBeBlank: any = 'Message body cannot be blank';\r\n}\r\n\r\nexport class StepOneAPIS {\r\n public static GetConsumableListForEnvelope: string = 'api/v1/Template/GetConsumableListForEnvelope';\r\n}\r\n\r\n//interface object\r\nexport class Template {\r\n id: string;\r\n hashID: string;\r\n code: number;\r\n name: string;\r\n description: string | null;\r\n typeName: string;\r\n documentNameString: string | null;\r\n createdDateTime: string;\r\n userName: string | null;\r\n userEmailId: string | null;\r\n isMasterSelected: boolean;\r\n}","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { CommonConstants } from 'src/app/constants/common-constants';\nimport { environment } from 'src/environments/environment';\nimport { catchError, Subject } from 'rxjs';\nimport { ServicesError } from '../services.error';\nimport { SessionStorageService } from '../session-storage.service';\nimport { AuthService } from '../auth.service';\nimport { StepOneAPIS } from 'src/app/constants/step-one/step-one-constants';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class StepOneService {\n baseUrl = environment.apiBaseUrl;\n StepOneAPIS = StepOneAPIS;\n\n constructor(\n private http: HttpClient,\n private error: ServicesError,\n private sessionStorageService: SessionStorageService,\n private authService: AuthService\n ) { }\n\n get requestOptions() {\n return {\n headers: new HttpHeaders({\n 'Authorization': CommonConstants.TokenType + \"YCKo0gfauubdi7NgnAhgROL9U5W4XlshKCjueP5GpNU8HEPmBoa9fXEZtVwFv73uhyR8SyyLGYxYIkpPEWY6kMZNo1cKdT5-ME44P4_ecpn5WMLB5_Bu18jQUoReDEXYrBoLm_ExIBRl8v9lgj1jDHiuQx62VmHuntVJzAMqszp9xLhvORUv-HCxtgZ7lB4Azy83PhorGA2tdIwjambycysIBmafKmQg-p1wD8UT6AaD5yUK65jfSGO-iGlg1I77g-Jy_dYMeIfWQBxLCPCpnQUSX3yEHvzk2qovb90pKHoGSEQgCt5nsyoUybYWJejiabNsZFtIPMJv7OjZDNUAu3AcaDKtqzTdXd3m7If6XXkluKK43jn6ceQOEgbxiQujJQHbbnbxWEvFV8z-FMhBCU8ZH_t48ldafH4i_d_jkGlazLPGLKbgtJPnz0dB1FBT6kbWuZCo6K8SwiSEBYUoDHqUD6BEm3rX_9XxsUGSd_cnPKgEJNfc9ND2C_tcjjLoXLgH1QSUcTlCE2IXelVGoO3ZZh0\",\n //'Authorization': CommonConstants.TokenType + this.authService.getToken(),\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n 'Accept': 'application/json;'\n })\n };\n }\n\n //POST method\n getConsumableListForEnvelope(activeTabData: any) {\n let url: any = this.StepOneAPIS.GetConsumableListForEnvelope;\n return this.http.post(this.baseUrl + url, activeTabData, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\n }\n}\n","
\r\n
\r\n
Templates
\r\n \r\n \r\n A-Z\r\n Z-A\r\n Newest to Oldest\r\n Oldest to Newest\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{ template.name }}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
","import { Component, EventEmitter, Output, OnInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { PageEvent } from '@angular/material/paginator';\r\nimport { StepOneService } from 'src/app/services/step-one/step-one.service';\r\nimport { Template } from 'src/app/constants/step-one/step-one-constants';\r\n\r\n@Component({\r\n selector: 'app-template',\r\n templateUrl: './template.component.html',\r\n styleUrls: ['./template.component.scss']\r\n})\r\nexport class TemplateComponent implements OnInit {\r\n @Output() onCheckTemplate: EventEmitter = new EventEmitter();\r\n\r\n showLoader = false;\r\n templates: Template[] = [];\r\n filteredTemplates: Template[] = [];\r\n paginatedTemplates: Template[] = [];\r\n selectedFilter: string = 'A-Z';\r\n searchTerm: string = '';\r\n selectedType: 'personal' | 'master' = 'personal';\r\n itemsPerPage = 25;\r\n currentPage = 0;\r\n pageSizeOptions = [25, 50, 75];\r\n selectedTemplates: Template[] = [];\r\n totalItems = 0;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private commonService: CommonService,\r\n private stepOneService: StepOneService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.fetchTemplates();\r\n }\r\n\r\n fetchTemplates(): void {\r\n this.showLoader = true;\r\n \r\n const userData = this.buildUserData();\r\n this.stepOneService.getConsumableListForEnvelope(userData).subscribe({\r\n next: (res: any) => {\r\n if (res && res.statusCode === 200) {\r\n this.templates = res.templates || [];\r\n this.totalItems = res.totalTempRowsCount || this.templates.length;\r\n this.paginatedTemplates = [...this.templates]; // Directly use API response\r\n this.filteredTemplates = [...this.templates]; // Keep filteredTemplates for reference\r\n } else {\r\n this.toastrService.error(`Failed to load ${this.selectedType} templates.`, 'Error');\r\n }\r\n this.showLoader = false;\r\n },\r\n error: () => {\r\n this.toastrService.error(`An error occurred while fetching ${this.selectedType} templates.`, 'Error');\r\n this.showLoader = false;\r\n }\r\n });\r\n }\r\n\r\n buildUserData(): any {\r\n return {\r\n \"TypeId\": \"3420959A-BAC9-4912-A9D2-5472BC08C27D\",\r\n \"PageSize\": this.itemsPerPage,\r\n \"Page\": this.currentPage + 1,\r\n \"SortBy\": this.mapFilterToSortBy(this.selectedFilter),\r\n \"Search\": this.searchTerm,\r\n \"IsForTemplateAndRule\": false,\r\n \"TemplateType\": this.selectedType === 'personal' ? 'Personal' : 'Master',\r\n \"IntegrationType\": \"\",\r\n \"EntityType\": \"\",\r\n \"UserID\": \"2380c2d2-7fbd-49ca-ad96-c1c55e3867cf\",\r\n \"CompanyID\": \"23f58095-bc96-43c2-9c61-b5fec41b6334\",\r\n \"CultureInfo\": \"en-us\",\r\n \"IgnoreTemplateId\": \"\"\r\n };\r\n }\r\n\r\n mapFilterToSortBy(filter: string): string {\r\n switch (filter) {\r\n case 'A-Z': return 'A-Z';\r\n case 'Z-A': return 'Z-A';\r\n case 'newest-oldest': return 'Newest-Oldest';\r\n case 'oldest-newest': return 'Oldest-Newest';\r\n default: return 'A-Z';\r\n }\r\n }\r\n\r\n applyFilter(): void {\r\n this.currentPage = 0;\r\n this.fetchTemplates();\r\n }\r\n\r\n updatePaginatedTemplates(): void {\r\n // No slicing needed; paginatedTemplates is set directly from API response in fetchTemplates\r\n this.paginatedTemplates = [...this.templates];\r\n }\r\n\r\n onPageChange(event: PageEvent): void {\r\n this.currentPage = event.pageIndex; // Increments from 0 to 1 on \"Next\"\r\n this.itemsPerPage = event.pageSize;\r\n this.fetchTemplates(); // Fetch next page from API\r\n }\r\n\r\n toggleTemplateType(type: 'personal' | 'master'): void {\r\n this.selectedType = type;\r\n this.currentPage = 0;\r\n this.selectedTemplates = [];\r\n this.fetchTemplates();\r\n }\r\n\r\n onCheckboxChange(template: Template): void {\r\n if (template.isMasterSelected) {\r\n this.selectedTemplates.push(template);\r\n } else {\r\n this.selectedTemplates = this.selectedTemplates.filter(t => t.id !== template.id);\r\n }\r\n }\r\n\r\n onOk(): void {\r\n if (this.selectedTemplates.length === 0) {\r\n this.toastrService.warning('Please select at least one template.');\r\n return;\r\n }\r\n this.onCheckTemplate.emit(this.selectedTemplates);\r\n this.modalRef.hide();\r\n }\r\n}","\r\n \r\n \r\n \r\n Add Documents\r\n\r\n \r\n info\r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n File Name\r\n \r\n\r\n \r\n drag_indicator\r\n\r\n {{ doc.name }}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n Source\r\n \r\n\r\n \r\n {{ doc.sourceName }}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n Size\r\n \r\n\r\n \r\n {{ doc.showFileSize }}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n Action\r\n \r\n\r\n \r\n \r\n\r\n \r\n Sign\r\n\r\n Review\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\n// import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\n// import { Component } from '@angular/core';\r\nimport { event } from 'jquery';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { DocumentUploadComponent } from 'src/app/modals/step-one/document-upload/document-upload.component';\r\nimport { RuleComponent } from 'src/app/modals/step-one/rule/rule.component';\r\nimport { TemplateGroupComponent } from 'src/app/modals/step-one/template-group/template-group.component';\r\nimport { TemplateComponent } from 'src/app/modals/step-one/template/template.component';\r\n\r\nexport interface DocumentItem {\r\n name: string;\r\n sourceName: string;\r\n showFileSize: string;\r\n}\r\n\r\n@Component({\r\n selector: 'app-add-document',\r\n templateUrl: './add-document.component.html',\r\n styleUrls: ['./add-document.component.scss']\r\n})\r\nexport class AddDocumentComponent {\r\n displayedColumns: string[] = ['name', 'source', 'size', 'action', 'delete'];\r\n docList: DocumentItem[] = [\r\n { name: 'Document1.pdf', sourceName: 'Google Drive', showFileSize: '2MB' },\r\n { name: 'Document2.docx', sourceName: 'Local System', showFileSize: '1MB' }\r\n ];\r\n \r\n // Wrap docList in a MatTableDataSource for easier change detection\r\n dataSource = new MatTableDataSource(this.docList);\r\n \r\n source: string = '';\r\n selectedDrive: string = '';\r\n\r\n constructor(\r\n public modalService: BsModalService\r\n\r\n) { }\r\n\r\n onDriveClick(driveName: string): void {\r\n this.selectedDrive = driveName;\r\n console.log('Selected Drive:', this.selectedDrive);\r\n this.source = driveName;\r\n const fileInput = document.getElementById('fileUploadInput') as HTMLInputElement;\r\n if (fileInput) {\r\n fileInput.value = ''; // Clear previous selection so change event fires\r\n fileInput.click();\r\n }\r\n }\r\n\r\n onChange(event: Event): void {\r\n const input = event.target as HTMLInputElement;\r\n if (input.files && input.files.length > 0) {\r\n const file = input.files[0];\r\n const sizeVal = this.formatBytes(file.size, 2);\r\n const doc: DocumentItem = {\r\n name: file.name,\r\n sourceName: this.source || 'Uploaded',\r\n showFileSize: sizeVal\r\n };\r\n this.docList.push(doc);\r\n // Update the dataSource so the table refreshes\r\n this.dataSource.data = [...this.docList];\r\n console.log('File added:', doc);\r\n }\r\n }\r\n\r\n removeDoc(index: number): void {\r\n this.docList.splice(index, 1);\r\n this.dataSource.data = [...this.docList];\r\n }\r\n\r\n drop(event: CdkDragDrop): void {\r\n moveItemInArray(this.docList, event.previousIndex, event.currentIndex);\r\n this.dataSource.data = [...this.docList];\r\n }\r\n\r\n formatBytes(bytes: number, decimals = 2): string {\r\n if (!+bytes) return '0 Bytes';\r\n const k = 1024;\r\n const dm = decimals < 0 ? 0 : decimals;\r\n const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];\r\n const i = Math.floor(Math.log(bytes) / Math.log(k));\r\n return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;\r\n }\r\n\r\n // Stub functions for modal and grouping actions\r\n openModalPopup(popupType: string) {\r\n if (popupType === 'document') {\r\n //{ slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }\r\n const modalRef = this.modalService.show(DocumentUploadComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n console.log('dStatus');\r\n });\r\n }\r\n else if (popupType === 'template') {\r\n //{ slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }\r\n const modalRef = this.modalService.show(TemplateComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n modalRef.content?.onCheckTemplate.subscribe((tStatus: any) => {\r\n console.log('tStatus');\r\n });\r\n }\r\n else if (popupType === 'rule') {\r\n //{ slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }\r\n const modalRef = this.modalService.show(RuleComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n modalRef.content?.onCheckRule.subscribe((rStatus: any) => {\r\n console.log('rStatus');\r\n });\r\n }\r\n else if (popupType === 'template group') {\r\n let templateGroupContainer: any = document.getElementById('templateGroupContainer');\r\n //{ slides: this.slides, isEnvlpEdited: this.isEnvelopeEdited }\r\n const modalRef = this.modalService.show(TemplateGroupComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n modalRef.content?.onCheckGroupTemplate.subscribe((tgroupStatus: any) => {\r\n console.log('tgroupStatus');\r\n });\r\n }\r\n}\r\n\r\n ontemplateGroup(): void {\r\n console.log('Group Template clicked');\r\n }\r\n}\r\n","
\r\n
\r\n
Select Contact
\r\n
close
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n selector: 'app-contact-details',\r\n templateUrl: './contact-details.component.html',\r\n styleUrls: ['./contact-details.component.scss']\r\n})\r\nexport class ContactDetailsComponent {\r\n @Output() onContactDetailsComponent: EventEmitter = new EventEmitter();\r\n showLoader: boolean = true;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private tsoastrService: ToastrService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n onOk() {\r\n\r\n }\r\n}\r\n","
\r\n
\r\n
Deliver Message or Code To
\r\n
close
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-delivery-mode',\r\n templateUrl: './delivery-mode.component.html',\r\n styleUrls: ['./delivery-mode.component.scss']\r\n})\r\nexport class DeliveryModeComponent {\r\n @Output() onDeliveryModeComponent: EventEmitter = new EventEmitter();\r\n showLoader: boolean = true;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private tsoastrService: ToastrService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n onOk() {\r\n\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n Add Recipients\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
Order \r\n \r\n \r\n \r\n Type \r\n \r\n \r\n Signer\r\n CC\r\n Prefill\r\n \r\n \r\n Name *\r\n \r\n \r\n person\r\n \r\n Email * \r\n \r\n \r\n \r\n Country Code \r\n \r\n \r\n \r\n {{ country.label }}\r\n \r\n \r\n \r\n Mobile \r\n \r\n \r\n phone\r\n \r\n Language \r\n \r\n \r\n \r\n {{ lang.label }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n Sign in sequence\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ContactDetailsComponent } from 'src/app/modals/step-one/contact-details/contact-details.component';\r\nimport { DeliveryModeComponent } from 'src/app/modals/step-one/delivery-mode/delivery-mode.component';\r\n\r\n@Component({\r\n selector: 'app-add-recipients',\r\n templateUrl: './add-recipients.component.html',\r\n styleUrls: ['./add-recipients.component.scss']\r\n})\r\nexport class AddRecipientsComponent {\r\n displayedColumns: string[] = ['order', 'type', 'name', 'email', 'countryCode', 'mobile', 'language', 'actions'];\r\n\r\n recipients: any[] = [{ name: '', email: '', mobile: '', type: 'Signer', countryCode: '+91', language: 'EN' }];\r\n dataSource = new MatTableDataSource(this.recipients); // Bind MatTableDataSource\r\n\r\n signInSequence: boolean = false;\r\n\r\n languages = [\r\n { value: 'EN', label: 'English' },\r\n { value: 'FR', label: 'French' },\r\n { value: 'ES', label: 'Spanish' },\r\n ];\r\n\r\n countryCodes = [\r\n { value: '+91', label: 'IN (+91)' },\r\n { value: '+1', label: 'USA (+1)' },\r\n { value: '+44', label: 'UK (+44)' },\r\n ];\r\n // Set the default selected value\r\n selectedLanguage: string = 'EN'; // Default to 'English'\r\n selectedRecipients: string = 'Signer'; // Default to 'Signer'\r\n\r\n constructor(private modalService: BsModalService) {}\r\n\r\n addRecipient() {\r\n this.recipients.push({ name: '', email: '', mobile: '', type: 'Signer', countryCode: '+91', language: 'EN' });\r\n this.updateTable();\r\n }\r\n\r\n removeRecipient(index: number) {\r\n this.recipients.splice(index, 1);\r\n this.updateTable();\r\n }\r\n\r\n addMe() {\r\n this.recipients.push({ name: 'Pravallika', email: 'pravallika.si@rpostlabs.com', mobile: '9381206360' });\r\n this.updateTable();\r\n }\r\n\r\n openContactPopup() {\r\n this.modalService.show(ContactDetailsComponent);\r\n }\r\n\r\n openDeliveryModePopup() {\r\n this.modalService.show(DeliveryModeComponent);\r\n }\r\n\r\n updateTable() {\r\n this.dataSource.data = [...this.recipients]; // Force table refresh\r\n }\r\n}\r\n","
\r\n
\r\n
Upload Image/Logo
\r\n
close
\r\n
\r\n
\r\n
\r\n
\r\n Supported Format (gif, png, jpg, jpeg) & Max Size 500Kb.\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n Height\r\n
\r\n \r\n
\r\n
\r\n
\r\n Width\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
","import { Component, ElementRef, EventEmitter, Output, ViewChild } from '@angular/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { ImageUploadService } from 'src/app/services/image-upload.service';\r\n\r\n@Component({\r\n selector: 'app-upload-image-logo',\r\n templateUrl: './upload-image-logo.component.html',\r\n styleUrls: ['./upload-image-logo.component.scss']\r\n})\r\nexport class UploadImageLogoComponent {\r\n @Output() imageUploaded = new EventEmitter();\r\n @Output() onCheckuploadImageLogo: EventEmitter = new EventEmitter();\r\n @Output() imageSelected = new EventEmitter(); // Emits the image URL (base64 or file path)\r\n previewImage: string | ArrayBuffer | null = null;\r\n selectedImage: File | null = null;\r\n showLoader: boolean = true;\r\n @ViewChild('imageUploadModal') imageUploadModal!: ElementRef;\r\n\r\n ckEditorInstance: any;\r\n imageWidth: number = 0;\r\n imageHeight: number = 0;\r\n // Max allowed file size in bytes (500 KB = 500 * 1024 bytes)\r\n maxFileSize: number = 500 * 1024; // 500 KB\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private commonService: CommonService,\r\n public modalService: BsModalService,\r\n private imageUploadService: ImageUploadService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n onFileSelected(event: Event) {\r\n const input = event.target as HTMLInputElement;\r\n if (input.files && input.files.length > 0) {\r\n const file = input.files[0];\r\n\r\n if (file.size > this.maxFileSize) {\r\n // alert('File size must be less than 500 KB.');\r\n this.toastrService.warning('File size must be less than 500 KB.', 'Warning');\r\n input.value = '';\r\n return; // Exit if the file is too large\r\n }\r\n\r\n // Supported formats\r\n const allowedFormats = ['image/gif', 'image/png', 'image/jpg', 'image/jpeg'];\r\n\r\n // Check format\r\n if (!allowedFormats.includes(file.type)) {\r\n this.toastrService.warning('Invalid File size or format.', 'Warning');\r\n input.value = ''; // Reset file input\r\n return;\r\n }\r\n\r\n // Create a new FileReader to read the image\r\n const reader = new FileReader();\r\n reader.onload = (e) => {\r\n if (e.target && e.target.result) {\r\n // Emit the base64 string to parent component\r\n this.imageUploaded.emit(e.target.result as string);\r\n\r\n // Create an image element to extract width and height\r\n const img = new Image();\r\n img.onload = () => {\r\n // Get image dimensions\r\n this.imageWidth = img.width;\r\n this.imageHeight = img.height;\r\n\r\n console.log('Image Width:', this.imageWidth);\r\n console.log('Image Height:', this.imageHeight);\r\n let imgWidthEle: any = document.getElementById('imgWidth');\r\n if (imgWidthEle) {\r\n imgWidthEle.value = this.imageWidth\r\n }\r\n let imgHeightEle: any = document.getElementById('imgHeight');\r\n if (imgHeightEle) {\r\n imgHeightEle.value = this.imageHeight\r\n }\r\n };\r\n img.src = e.target.result as string; // Set the base64 string as the image source\r\n }\r\n };\r\n reader.readAsDataURL(file); // Read the file as a base64 string\r\n }\r\n }\r\n\r\n insertImage() {\r\n if (this.previewImage) {\r\n this.imageSelected.emit(this.previewImage as string); // Emit the selected image\r\n }\r\n }\r\n\r\n onCKEditorReady(editor: any) {\r\n this.ckEditorInstance = editor;\r\n this.ckEditorInstance.localImageUploadComponent = this;\r\n }\r\n\r\n onSave() {\r\n let imgFile: any = document.getElementById('imgFile') as HTMLInputElement;\r\n // const imgFileInput = document.getElementById('imgFile') as HTMLInputElement;\r\n let imgWidthEle: any = document.getElementById('imgWidth');\r\n let imgHeightEle: any = document.getElementById('imgHeight');\r\n let saveFlag: boolean = true;\r\n if (imgFile && imgFile.files.length === 0) {\r\n this.toastrService.warning('Please upload the image.', 'Warning');\r\n saveFlag = false;\r\n }\r\n else if (imgHeightEle && imgHeightEle.value === '') {\r\n this.toastrService.warning('Please verify input dimension range & try again', 'Warning');\r\n saveFlag = false;\r\n }\r\n else if (imgWidthEle && imgWidthEle.value === '') {\r\n this.toastrService.warning('Please verify input dimension range & try again', 'Warning');\r\n saveFlag = false;\r\n }\r\n if (saveFlag === true) {\r\n let imageObj: any = {\r\n imgFile: imgFile.files[0], // You should save the actual file object\r\n imgHeight: imgHeightEle.value,\r\n imgWidth: imgWidthEle.value\r\n };\r\n //console.log('imageObj', imageObj);\r\n\r\n const file = imgFile.files[0];\r\n if (file.size > 500 * 1024) {\r\n // alert('File size exceeds 500KB. Please upload a smaller file.');\r\n this.toastrService.warning('File size exceeds 500KB. Please upload a smaller file.', 'Warning');\r\n return;\r\n }\r\n\r\n const reader = new FileReader();\r\n reader.onload = (e) => {\r\n if (e.target && e.target.result) {\r\n // Emit the base64 string\r\n let imageUrl: any = e.target.result as string;\r\n if (imageUrl) {\r\n this.imageUploadService.emitImageUploaded(imageUrl, imageObj);\r\n this.modalService.hide(); // Close the modal\r\n }\r\n\r\n }\r\n };\r\n reader.readAsDataURL(file);\r\n //on save method call here\r\n }\r\n\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { UploadImageLogoComponent } from 'src/app/modals/step-one/upload-image-logo/upload-image-logo.component';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImageUploadService {\r\n private openImageUploadSubject = new Subject(); // Subject to trigger modal opening\r\n openImageUpload$ = this.openImageUploadSubject.asObservable();\r\n\r\n private imageUploaded = new Subject<{imageUrl: string, imgObj:any;}>();\r\n imageUploaded$ = this.imageUploaded.asObservable();\r\n\r\n emitImageUploaded(imageUrl: string, imgObj:any): void {\r\n this.imageUploaded.next({imageUrl: imageUrl, imgObj:imgObj});\r\n }\r\n\r\n constructor(private modalService: BsModalService) { }\r\n\r\n openImageUploadModal(): void {\r\n const modalRef = this.modalService.show(UploadImageLogoComponent, {\r\n initialState: {},\r\n keyboard: false,\r\n backdrop: 'static',\r\n class: 'modal-mt modal-mw'\r\n });\r\n\r\n //modalRef.content?.imageUploaded.subscribe((imageUrl: string) => {\r\n //this.insertImageIntoEditor(imageUrl);\r\n // modalRef.hide();\r\n //});\r\n }\r\n\r\n // Method to be called from CKEditor plugin to insert the image\r\n // insertImageIntoEditor(imageUrl: string): void {\r\n // if (this.ckEditorInstance) {\r\n // const imgTag = `\"Uploaded`;\r\n // this.ckEditorInstance.insertHtml(imgTag); // Inserts the image into the editor\r\n // console.log('Image inserted into CKEditor:', imgTag);\r\n // } else {\r\n // console.error('CKEditor instance is not initialized.');\r\n // }\r\n // }\r\n\r\n triggerOpenModal(): void {\r\n this.openImageUploadSubject.next();\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Component, Input, ViewChild } from '@angular/core';\r\n// import '../../../../../src/assets/workers/ckeditor.js';\r\nimport { CKEditorComponent } from 'ng2-ckeditor';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { Subject, takeUntil } from 'rxjs';\r\nimport { StepOneConstants } from 'src/app/constants/step-one/step-one-constants';\r\nimport { UploadImageLogoComponent } from 'src/app/modals/step-one/upload-image-logo/upload-image-logo.component';\r\nimport { ImageUploadService } from 'src/app/services/image-upload.service';\r\n\r\ndeclare global {\r\n interface Window {\r\n openImageUploadModal: () => void;\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-add-subject',\r\n templateUrl: './add-subject.component.html',\r\n styleUrls: ['./add-subject.component.scss']\r\n})\r\nexport class AddSubjectComponent {\r\n @Input() signatureData: any[] = [];\r\n stepOneConstants = StepOneConstants;\r\n @ViewChild(\"myckeditor\") ckeditor: CKEditorComponent;\r\n selectedMsgTemplate: any = '';\r\n editorData = {\r\n 'selectedSignatureId': '0'\r\n };\r\n signatureDropdown: any[] = [];\r\n editorConfig: any;\r\n languageCode: any = 'en-us';\r\n translanguageCode: any;\r\n ckEditorInstance: any;\r\n private ngUnsubscribe = new Subject();\r\n\r\n constructor(\r\n private toastrService: ToastrService,\r\n public modalService: BsModalService,\r\n private imageUploadService: ImageUploadService,\r\n private http: HttpClient\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.selectedMsgTemplate = 'Message Template';\r\n if (this.translanguageCode != 'undefined' && this.translanguageCode != null && this.translanguageCode != '') {\r\n this.languageCode = 'en-us';\r\n }\r\n if (typeof CKEDITOR !== 'undefined') {\r\n this.editorConfig = {\r\n resize_enabled: false,\r\n removePlugins: 'elementspath, magicline',\r\n extraPlugins: 'image, colorbutton, panelbutton, floatpanel, panel, button, justify, localImageUpload, signatureDropdown', // Load the custom plugin customdropdown\r\n toolbar: [\r\n { name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },\r\n { name: 'links', items: ['Link', 'Unlink'] },\r\n { name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Strike', '-', 'RemoveFormat'] },\r\n { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },\r\n { name: 'styles', items: ['Styles', 'Format'] },\r\n { name: 'colors', items: ['TextColor', 'BGColor'] },\r\n { name: 'insert', items: ['Image'] },\r\n { name: 'insert', items: ['localImageUpload', 'signatureDropdown'] }\r\n ],\r\n // Add any other CKEditor configuration if needed\r\n enterMode: CKEDITOR.ENTER_BR,\r\n shiftEnterMode: CKEDITOR.ENTER_P,\r\n autoParagraph: false,\r\n language: this.languageCode,\r\n on: {\r\n instanceReady: (evt: any) => {\r\n this.onCKEditorReady(evt.editor);\r\n }\r\n }\r\n };\r\n } else {\r\n console.error('CKEditor is not loaded');\r\n }\r\n\r\n window.openImageUploadModal = this.openImageUploadModal.bind(this);\r\n\r\n this.imageUploadService.imageUploaded$\r\n .pipe(takeUntil(this.ngUnsubscribe))\r\n .subscribe((value: { imageUrl: any; imgObj: any; }) => {\r\n const { imageUrl, imgObj } = value;\r\n if (this.ckEditorInstance) {\r\n // Define the desired dimensions (you can adjust these)\r\n const editorWidth = imgObj.imgWidth + 'px'; // Set to fit CKEditor width\r\n const editorMaxHeight = imgObj.imgHeight + 'px'; // Example maximum height\r\n\r\n // const imgTag = `\"Uploaded`;\r\n const imgTag = `\"Uploaded`;\r\n this.ckEditorInstance.insertHtml(imgTag); // Insert the styled image\r\n // console.log('Image inserted into CKEditor:', imgTag);\r\n } else {\r\n console.error('CKEditor instance is not initialized.');\r\n }\r\n });\r\n }\r\n\r\n onCKEditorReady(editor: any): void {\r\n this.ckEditorInstance = editor;\r\n\r\n // Attach the Angular component reference through the service\r\n editor.localImageUploadComponent = this.imageUploadService;\r\n }\r\n\r\n openImageUploadModal(): void {\r\n this.imageUploadService.openImageUploadModal();\r\n }\r\n\r\n\r\n onChangeMessageTemplate(e: any, value: any) {\r\n console.log('onChangeMessageTemplate', value);\r\n }\r\n\r\n onNextClick(myForm: any) {\r\n let messageSubjectEle: any = document.getElementById('messageSubject');\r\n let messageSubjectValue: any = '';\r\n if (messageSubjectEle) {\r\n messageSubjectValue = messageSubjectEle.value\r\n }\r\n if (messageSubjectValue && myForm.valid) {\r\n console.log('in');\r\n } else {\r\n if (messageSubjectValue === '') {\r\n this.toastrService.warning(this.stepOneConstants.SubjectCannotBeBlank, 'Warning');\r\n } else if (myForm.valid === false) {\r\n this.toastrService.warning(this.stepOneConstants.MessageBodyCannotBeBlank, 'Warning');\r\n }\r\n }\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n Add Message\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n","
\r\n \r\n \r\n \r\n Attachment Request\r\n \r\n\r\n \r\n \r\n
\r\n Allow signers to add additional attachments:\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n -->\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Name \r\n \r\n \r\n \r\n Description \r\n \r\n \r\n \r\n Additional Info \r\n \r\n \r\n \r\n Assigned To \r\n \r\n \r\n Any\r\n \r\n \r\n \r\n Required \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\n\r\ninterface Attachment {\r\n name: string;\r\n description: string;\r\n additionalInfo: string;\r\n assignedTo: string;\r\n required: boolean;\r\n}\r\n\r\n@Component({\r\n selector: 'app-attachment-request',\r\n templateUrl: './attachment-request.component.html',\r\n styleUrls: ['./attachment-request.component.scss']\r\n})\r\nexport class AttachmentRequestComponent implements OnInit {\r\n attachments = new MatTableDataSource([]);\r\n displayedColumns: string[] = ['name', 'description', 'additionalInfo', 'assignedTo', 'required', 'actions'];\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n\r\n addRow() {\r\n const newRow: Attachment = {\r\n name: '',\r\n description: '',\r\n additionalInfo: '',\r\n assignedTo: 'any',\r\n required: false\r\n };\r\n this.attachments.data = [...this.attachments.data, newRow];\r\n }\r\n\r\n removeRow(index: number) {\r\n const currentData = this.attachments.data;\r\n currentData.splice(index, 1);\r\n this.attachments.data = [...currentData];\r\n }\r\n}\r\n","
\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n Step 1/2: Envelope\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-send',\r\n templateUrl: './send.component.html',\r\n styleUrls: ['./send.component.scss']\r\n})\r\nexport class SendComponent {\r\n public sidebarShow: boolean = false;\r\n showLoader: boolean = true;\r\n\r\n ngOnInit() {\r\n // Simulate loading\r\n this.showLoader = false;\r\n }\r\n\r\n onSaveAsDraft() {\r\n console.log('onSaveAsDraft');\r\n // Additional logic here\r\n }\r\n\r\n onNext() {\r\n console.log('onNext');\r\n // Additional logic here\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-post-forgot-password',\r\n templateUrl: './post-forgot-password.component.html',\r\n styleUrls: ['./post-forgot-password.component.scss']\r\n})\r\nexport class PostForgotPasswordComponent {\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Check your email

\r\n
Remember to look in your spam folder
\r\n
If you still can't log in, contact your administrator.
\r\n
\r\n
\r\n
Ready to start using RSign? Sign in
\r\n
New to RSign? View how-to-guides, videos, and other training content
\r\n
\r\n
\r\n
\r\n \r\n
","\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Create New Password

\r\n
\r\n
\r\n

Password requirements:

\r\n
    \r\n
  • \r\n \r\n \r\n \r\n \r\n At least one upper case letter\r\n \r\n \r\n
  • \r\n
  • \r\n \r\n \r\n \r\n \r\n At least one lower case letter\r\n \r\n \r\n
  • \r\n
  • \r\n \r\n \r\n \r\n \r\n At least one number\r\n \r\n \r\n
  • \r\n
  • \r\n \r\n \r\n \r\n \r\n At least one special character\r\n \r\n \r\n
  • \r\n
  • \r\n \r\n \r\n \r\n \r\n At least 8 characters in length\r\n \r\n \r\n
  • \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
or Sign in
\r\n
\r\n
\r\n \r\n
","import { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { AuthenticationService } from '../../../services/authentication/authentication.service';\r\nimport { Router } from '@angular/router';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { environment } from 'src/environments/environment';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\n\r\n@Component({\r\n\tselector: 'app-reset-password',\r\n\ttemplateUrl: './reset-password.component.html',\r\n\tstyleUrls: ['./reset-password.component.scss']\r\n})\r\nexport class ResetPasswordComponent {\r\n\r\n\tresetPasswordForm: FormGroup;\r\n\tnewPassword: string = '';\r\n\tconfirmPassword: string = '';\r\n\tisPasswordVisible: boolean = false;\r\n\tpasswordMismatch: boolean = false;\r\n\tpasswordMatch: boolean = false;\r\n\thasUpperCase: boolean = false;\r\n\thasLowerCase: boolean = false;\r\n\thasNumber: boolean = false;\r\n\thasSpecialChar: boolean = false;\r\n\thasMinLength: boolean = false;\r\n\r\n\tconstructor(\r\n\t\tprivate router: Router,\r\n\t\tprivate fb: FormBuilder,\r\n\t\tprivate toastrService: ToastrService,\r\n\t\tprivate authenticationService: AuthenticationService\r\n\t) {\r\n\t\tthis.resetPasswordForm = this.fb.group({\r\n\t\t\tnewPassword: ['', [Validators.required, Validators.minLength(8)]],\r\n\t\t\tconfirmPassword: ['', [Validators.required, Validators.minLength(8)]],\r\n\t\t});\r\n\t}\r\n\r\n\tonPasswordKeyup() {\r\n\t\tconst password = this.resetPasswordForm.get('newPassword')?.value || '';\r\n\t\tthis.hasUpperCase = /[A-Z]/.test(password);\r\n\t\tthis.hasNumber = /[0-9]/.test(password);\r\n\t\tthis.hasLowerCase = /[a-z]/.test(password);\r\n\t\tthis.hasMinLength = password.length >= 8;\r\n\t\tthis.hasSpecialChar = /[!@#$%^&*(),.?\":{}|<>]/.test(password);\r\n\t}\r\n\r\n\ttogglePasswordVisibility() {\r\n\t\tthis.isPasswordVisible = !this.isPasswordVisible;\r\n\t}\r\n\r\n\tCheckPasswordList() {\r\n\r\n\t}\r\n\r\n\tonResetPassword() {\r\n\t\tconsole.log('Form Data:', this.resetPasswordForm);\r\n\t\tif (this.newPassword && this.confirmPassword) {\r\n\t\t\tif (this.newPassword === this.confirmPassword) {\r\n\t\t\t\tlet passwordUpdateObj: any = {\r\n\t\t\t\t\t\"emailId\": \"\",\r\n\t\t\t\t\t\"oldPassword\": \"\",\r\n\t\t\t\t\t\"password\": this.newPassword,\r\n\t\t\t\t\t\"comparePassword\": this.confirmPassword,\r\n\t\t\t\t\t\"resetCode\": \"e237d7a7-a978-41fe-996a-830de3b14b63\",\r\n\t\t\t\t\t\"language\": \"\"\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.authenticationService.updatePassword(passwordUpdateObj).subscribe(\r\n\t\t\t\t\t(resp: any) => {\r\n\t\t\t\t\t\tconsole.log('Response ', resp);\r\n\t\t\t\t\t\tif (resp && resp.statusCode == 200) {\r\n\t\t\t\t\t\t\tthis.toastrService.success(\"Password updated sucessfully\", 'success');\r\n\t\t\t\t\t\t\tthis.router.navigate(['/post-reset-password']);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tthis.toastrService.info(\"Password not updated.\", 'Warning');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.passwordMismatch = true;\r\n\t\t\t\tthis.passwordMatch = false;\r\n\t\t\t\tthis.toastrService.info('Fields do not match', 'Warning');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tformIsValid() {\r\n\t\treturn this.newPassword && this.confirmPassword && this.newPassword === this.confirmPassword;\r\n\t}\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-post-register',\r\n templateUrl: './post-register.component.html',\r\n styleUrls: ['./post-register.component.scss']\r\n})\r\nexport class PostRegisterComponent {\r\n\r\n}\r\n","
\r\n\r\n
\r\n
\r\n

Final Step!

\r\n
\r\n
To complete the registration process, please click the ACTIVATION LINK in the confirmation email sent to your address. If you do not see the activation email in your inbox, please check your spam or junk mailbox.
\r\n
\r\n
\r\n From: support@rpost.com
\r\n Subject: RPost Activation Email\r\n
\r\n
\r\n
After you click the ACTIVATION LINK, please select the RSign service to log in to get started.
\r\n
\r\n
\r\n
Visit us at www.rsign.com to learn more about RPost services.
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n","
\r\n \r\n
\r\n
\r\n
\r\n

Review Details RSign Account

\r\n
\r\n
\r\n Welcome RSign User, \r\n
\r\n \r\n
\r\n

An administrator changed your company information. Please review your account information and plan details listed below.\r\n If everything is looking correct, please click on the \"Continue\" button to start using the service. You only need to do this one time.

\r\n

Please contact RSign Support if you have any questions.

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Email\r\n \r\n \r\n signer1test@yahoo.com\r\n
\r\n First name\r\n \r\n \r\n RSign User\r\n
\r\n Last name\r\n \r\n \r\n S\r\n
\r\n Phone number\r\n \r\n \r\n XXXXXXXX60\r\n
\r\n Time zone\r\n \r\n \r\n (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi\r\n
\r\n Plan name\r\n \r\n \r\n RSign Annual 100k (5000 senders max)\r\n
\r\n Company\r\n \r\n \r\n RSignTestLabCS\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-review-details',\r\n templateUrl: './review-details.component.html',\r\n styleUrls: ['./review-details.component.scss']\r\n})\r\nexport class ReviewDetailsComponent {\r\n showLoader: boolean = true;\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit() {\r\n this.showLoader = false;\r\n }\r\n}\r\n","\r\nexport class Home {\r\n\r\n public static DashBoardRowAppendDropdowns = [\r\n {\r\n \"id\": \"0\",\r\n \"description\": \"Select Action\"\r\n },\r\n {\r\n \"id\": \"88a6639f-ed04-40af-99ca-fad0e196f46d\",\r\n \"description\": \"Sign\"\r\n },\r\n {\r\n \"id\": \"4f54e5db-7fd5-4551-bcbf-9f22de811160\",\r\n \"description\": \"Decline\"\r\n },\r\n {\r\n \"id\": \"f9dcfb52-2b8e-4d9f-96c7-6d02dcdddee3\",\r\n \"description\": \"Delegate\"\r\n },\r\n {\r\n \"id\": \"11f52f5c-ebf1-4507-aab2-6f9f1831385f\",\r\n \"description\": \"Audit Trail\"\r\n },\r\n {\r\n \"id\": \"a5e44fbc-e014-4598-814b-d89b296785a9\",\r\n \"description\": \"Move\"\r\n },\r\n ]\r\n}\r\n\r\nexport class HomeAPIS {\r\n public static GetDashboardSummary: string = 'api/v1/Dashboard/GetDashboardSummary';\r\n public static GetDashboardDetails: string = 'api/v1/Dashboard/GetDashboardDetails';\r\n public static GetEnvelopeHistoryByEnvelopeId: string = 'api/v1/Dashboard/GetEnvelopeHistoryByEnvelopeId';\r\n}\r\n\r\nconst commonColumns = [\r\n { key: 'to', value: 'To' },\r\n { key: 'subject', value: 'Subject' },\r\n { key: 'status', value: 'Status' },\r\n { key: 'sent', value: 'Sent' },\r\n];\r\n\r\nexport const GenerateDashBoardActiveTableRows = {\r\n inbox: [\r\n { key: 'from', value: 'From' },\r\n { key: 'subject', value: 'Subject' },\r\n { key: 'recipient', value: 'Recipient' },\r\n { key: 'status', value: 'Status' },\r\n { key: 'received', value: 'Received' },\r\n ],\r\n\r\n drafts: [\r\n { key: 'from', value: 'From' },\r\n { key: 'subject', value: 'Subject' },\r\n { key: 'draftType', value: 'Draft Type' },\r\n { key: 'createdOn', value: 'Created On' },\r\n ],\r\n\r\n sent: commonColumns,\r\n completed: commonColumns,\r\n deleted: commonColumns,\r\n waitingforothers: commonColumns,\r\n expiringsoon: commonColumns\r\n};\r\n\r\nexport class DashboardRows {\r\n From?: string;\r\n To?: string;\r\n Subject?: string;\r\n Recipient?: string;\r\n Status?: string;\r\n Sent?: string;\r\n Received?: string;\r\n DraftType?: string;\r\n CreatedOn?: string;\r\n EnvelopeId?: string;\r\n ExpandedData?: DsahBoardRowEpxandData[] = [];\r\n SelectedAction?: string = '0';\r\n}\r\n\r\nexport class DsahBoardRowEpxandData {\r\n EnvelopeCodeDisplay: string;\r\n //EnvelopeID?: string;\r\n DocumentName: string;\r\n //FilesReviewed?: string;\r\n Sender: string;\r\n AllRecipientNameList: string;\r\n //ReferenceEmail?: string;\r\n IsSequential: boolean;\r\n EnvelopeEmailBody: string;\r\n //FinalDocument?: string;\r\n}\r\n\r\nexport class AIAutoLock {\r\n EDisplayCode: string;\r\n IPAddress: string;\r\n RequestAccessReason: string;\r\n Network: string;\r\n Location: string;\r\n}\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { ServicesError } from '../services.error';\r\nimport { SessionStorageService } from '../session-storage.service';\r\nimport { catchError, Subject } from 'rxjs';\r\nimport { HomeAPIS } from '../../constants/home/home';\r\nimport { AuthService } from '../auth.service';\r\nimport { CommonConstants } from '../../constants/common-constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HomeService {\r\n baseUrl = environment.apiBaseUrl\r\n HomeAPIS = HomeAPIS;\r\n constructor(\r\n private http: HttpClient,\r\n private error: ServicesError,\r\n private sessionStorageService: SessionStorageService,\r\n private authService: AuthService\r\n ) { }\r\n\r\n\r\n // Service as an intermediatry communication.\r\n\r\n private callactiveTabsRowDetails = new Subject<{ data: any; }>();\r\n callactiveTabsRowData$ = this.callactiveTabsRowDetails.asObservable();\r\n\r\n callactiveTabsRowData(data: any) {\r\n this.callactiveTabsRowDetails.next({ data: data });\r\n }\r\n\r\n //All get Methods:\r\n\r\n get requestOptions() {\r\n return {\r\n headers: new HttpHeaders({\r\n 'Authorization': CommonConstants.TokenType + \"rN3WmpTAZPKKwb4aJ9proyQ_TjHCYb0UBnwfkRftfSQa2RKcNVtviMcfOsbR817gncxI3ABwm2n8x7b4j8PZPcH03FiJt-9yDQXQBhzBl76pYbya-nsxj8uUdkfu0JEVnlpSkbpu6u_Nlf7A7NcXwvpuJnUxBMiZb6ajlqANG6wPdm-L21YpSvJ4mPVDlNiXjRMst1rZQeu9EE7gvU6pYkv143UgEnoGvEz3c3FG4GbR4o80rRNW1A0Xg66FN0uiupD7CuUpQBmJQ7EzsnNaoAx3cyKzVAKPmED96tezThcoXHsLe8ewX_JxSV9tjaeFk5rFLxpwKk7HY29DHSp287OROtmsz5E9XT_9EUHcJkPkDl5ptoqqEIEUlOtCaOe3nHmObbVj98HHWyl-JpVQ7jWwfyyiXIGJHQx4ssuVrQYeVIxHMYz6fptwH2mnRP5AYIiUyVIcy6zpphOlVww3L2sZG0vXm6jRTtyiZCZ-L4xBryReB9llGgdMzEhl14S8QI9Qv0wNWl_ceSknDE_joObs_sM\",\r\n //'Authorization': CommonConstants.TokenType + this.authService.getToken(),\r\n 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Accept': 'application/json;'\r\n })\r\n };\r\n }\r\n\r\n getDashBoardDetailed() {\r\n let dashBoardObj: any = this.sessionStorageService.getDashBoardDetailed();\r\n if (dashBoardObj) {\r\n return JSON.parse(dashBoardObj);\r\n }\r\n }\r\n\r\n getDashboardSummary(activitySummary: any) {\r\n let url: any = this.HomeAPIS.GetDashboardSummary;\r\n return this.http.post(this.baseUrl + url, activitySummary, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n getDashBoardDetails(activeTabData: any) {\r\n let url: any = this.HomeAPIS.GetDashboardDetails;\r\n return this.http.post(this.baseUrl + url, activeTabData, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n getEnvelopeHistoryByEnvelopeId(activeTabData: any) {\r\n let url: any = this.HomeAPIS.GetEnvelopeHistoryByEnvelopeId;\r\n return this.http.post(this.baseUrl + url, activeTabData, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n //All set Methods\r\n setDashBoardDetailed(dashBoardObj: any): void {\r\n this.sessionStorageService.setDashBoardDetailed(JSON.stringify(dashBoardObj));\r\n }\r\n\r\n}\r\n\r\n\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-activity-summary',\r\n templateUrl: './activity-summary.component.html',\r\n styleUrls: ['./activity-summary.component.scss']\r\n})\r\nexport class ActivitySummaryComponent {\r\n @Output() envFilterDaysRange = new EventEmitter();\r\n @Input() dashBoardSummary: any;\r\n defaultSelectedDays: string = '30';\r\n\r\n openLearnMore(url: any): void {\r\n window.open('https://www.example.com', '_blank'); // Replace with your actual link\r\n }\r\n\r\n onSelected(days: string) {\r\n this.envFilterDaysRange.emit(Number(days));\r\n }\r\n\r\n refreshDashboardSummary(days: string) {\r\n this.envFilterDaysRange.emit(Number(days));\r\n this.defaultSelectedDays = '30';\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Past 30-days\r\n Today\r\n Past 24-hours\r\n Past 48-hours\r\n Past 7-days\r\n Past 14-days\r\n \r\n \r\n
    \r\n
  • \r\n
    \r\n Sent: {{dashBoardSummary.sent}}\r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
    Signed:
    \r\n
    \r\n {{dashBoardSummary.signed}}{{dashBoardSummary.signedPercentage}}% of total\r\n sent
    \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
    Viewed:
    \r\n
    \r\n {{dashBoardSummary.viewed}}{{dashBoardSummary.viewPercentage}}% of total\r\n sent
    \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
    pending:
    \r\n
    \r\n {{dashBoardSummary.pending}}{{dashBoardSummary.pendingPercentage}}% of total\r\n sent
    \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
    Expired:
    \r\n
    \r\n {{dashBoardSummary.expired}}{{dashBoardSummary.expiredPercentage}}% of total\r\n sent
    \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
    Time:
    \r\n
    \r\n {{dashBoardSummary.completedTimes}}: Best\r\n {{dashBoardSummary.avgTimes}}: Averages
    \r\n
    \r\n
  • \r\n
\r\n
\r\n
","import { Component, ElementRef, Input, ViewChild } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport * as XLSX from \"xlsx\";\r\n\r\n@Component({\r\n selector: 'app-download-excel',\r\n templateUrl: './download-excel.component.html',\r\n styleUrls: ['./download-excel.component.scss']\r\n})\r\nexport class DownloadExcelComponent {\r\n @Input() dataSource: MatTableDataSource;\r\n @Input() dashBoardExcelColumn: string[] = [];\r\n\r\n constructor(private tsoastrService: ToastrService) { }\r\n\r\n ExportTOExcel() {\r\n if (this.dataSource && this.dataSource.paginator) {\r\n const startIndex = this.dataSource.paginator.pageIndex * this.dataSource.paginator.pageSize;\r\n const endIndex = startIndex + this.dataSource.paginator.pageSize;\r\n let visibleRows = this.dataSource.filteredData.slice(startIndex, endIndex);\r\n if (visibleRows.length > 0) {\r\n visibleRows = visibleRows.map(({ EnvelopeId, SelectedAction, ExpandedData, ...rowdata }) => rowdata)\r\n const worksheet: XLSX.WorkSheet = XLSX.utils.json_to_sheet(visibleRows, {\r\n header: this.dashBoardExcelColumn,\r\n });\r\n const workbook: XLSX.WorkBook = { Sheets: { 'Data': worksheet }, SheetNames: ['Data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'csv', type: 'array' });\r\n const blob: Blob = new Blob([excelBuffer], { type: 'application/octet-stream' });\r\n const link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = 'CSVFile.csv';\r\n link.click();\r\n }\r\n else {\r\n this.tsoastrService.warning('No Data!.', 'Warning', { timeOut: 1500 });\r\n }\r\n }\r\n\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n
","
\r\n
\r\n
{{tabDetails}}
\r\n
\r\n \r\n \r\n \r\n Past 30-days\r\n Today\r\n Past 24-hours\r\n Past 48-hours\r\n Past 7-days\r\n Past 14-days\r\n \r\n \r\n \r\n \r\n \r\n \r\n Expiring within 7-days\r\n Expiring within 6-days\r\n Expiring within 5-days\r\n Expiring within 4-days\r\n Expiring within 3-days\r\n Expiring within 2-days\r\n Expiring within 1-days\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{ coldata }} {{ element[coldata] }} \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ opts.description }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {{ dataNotFound }}\r\n
\r\n
\r\n \r\n
\r\n
","import { SelectionModel } from '@angular/cdk/collections';\r\nimport { Component, Input, ViewChild } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { DashboardRows, DsahBoardRowEpxandData, GenerateDashBoardActiveTableRows, Home } from 'src/app/constants/home/home';\r\nimport { HomeService } from 'src/app/services/home/home.service';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-dashboard-details',\r\n templateUrl: './dashboard-details.component.html',\r\n styleUrls: ['./dashboard-details.component.scss']\r\n})\r\nexport class DashboardDetailsComponent {\r\n @Input() tabDetails: string;\r\n @ViewChild('paginator') paginator: MatPaginator;\r\n dataNotFound: string;\r\n columnsToDisplay: string[] = [];\r\n dataSource = new MatTableDataSource([]);\r\n selection = new SelectionModel(true, []);\r\n dashBoardRowData: any;\r\n dashBoardExcelData: any[] = [];\r\n rowExpandObj: any;\r\n rowFormattedData: DashboardRows[] = [];\r\n columnsWithSelect: string[] = [];\r\n dashBoardDropDown: any = Home.DashBoardRowAppendDropdowns;\r\n expandedElement: DashboardRows | null;\r\n defaultSelectedDays: string = '30';\r\n sentTabActive: boolean = false;\r\n expiringSoonTab: boolean = false;\r\n defaultdexpiringDays: string = '6';\r\n expandedColumns: string[] = Object.keys(new DsahBoardRowEpxandData());\r\n\r\n constructor(private homeService: HomeService, private tsoastrService: ToastrService,\r\n private sessionStorageService: SessionStorageService\r\n ) { }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.paginator = this.paginator;\r\n }\r\n\r\n ngOnInit() {\r\n // static data\r\n // this.tabDetails = 'Inbox';\r\n if (this.tabDetails) {\r\n this.sentTabActive = this.tabDetails === 'Sent';\r\n this.expiringSoonTab = this.tabDetails === 'Expiring Soon';\r\n //static data\r\n let res: any = { \"statusCode\": 200, \"data\": { \"inboxes\": [{ \"senderEmail\": \"gangadhara.va@rpostlabs.com\", \"subject\": \"testing-01\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Giri\", \"createdDateTimeTimezoneStr\": \"11-02-2025 09:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"pravallika.si@rpostlabs.com\", \"subject\": \"color Thems\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"johnderaj1435@yahoo.com\", \"subject\": \"translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"giri123@myyahoo.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"Yadagiri.no@rpostlabs.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"manikantagompa610@yahoo.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"Yadagiri.no@rpostlabs.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"Yadagiri.no@rpostlabs.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"Yadagiri.no@rpostlabs.com\", \"subject\": \"Spanish translations\", \"envelopeStatus\": \"Waiting For Signature\", \"recNames\": \"Yadagiri N\", \"createdDateTimeTimezoneStr\": \"10-02-2025 05:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }], \"sent\": [{ \"senderEmail\": \"nyadagiri@myyahoo.com\", \"subject\": \"testing\", \"envelopeStatus\": \"Waiting For Signature\", \"createdDateTimeTimezoneStr\": \"07-02-2025 9:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"nyadagiri@myyahoo.com\", \"subject\": \"123\", \"envelopeStatus\": \"Waiting For Signature\", \"createdDateTimeTimezoneStr\": \"06-02-2025 8:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"nyadagiri@myyahoo.com\", \"subject\": \"template\", \"envelopeStatus\": \"Waiting For Signature\", \"createdDateTimeTimezoneStr\": \"05-02-2025 6:00 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }], \"drafts\": [{ \"senderEmail\": \"nyadagiri@myyahoo.com\", \"subject\": \"23\", \"envelopeStatus\": \"Send\", \"createdDateTimeTimezoneStr\": \"05-02-2025 8:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }, { \"senderEmail\": \"nyadagiri@myyahoo.com\", \"subject\": \"testing\", \"envelopeStatus\": \"Send\", \"createdDateTimeTimezoneStr\": \"04-02-2025 7:43 UTC\", \"envelopeID\": \"2aed2b97-4aa1-46f2-b6a5-90dfe83a10e6\" }] } }\r\n this.dashBoardRowData = res.data;\r\n this.setActiveTabsRowData(this.tabDetails.toLowerCase().replace(/\\s+/g, ''));\r\n }\r\n }\r\n\r\n //dynamic data\r\n // setActiveTabsRowData(tabDetails: string) {\r\n // let dashBoardRowData: any = this.homeService.getDashBoardDetailed();\r\n // console.log('hii', dashBoardRowData);\r\n // if (tabDetails in GenerateDashBoardActiveTableRows) {\r\n // let rowFormattedData: any[] = [];\r\n // let displayTabColHeader: any = GenerateDashBoardActiveTableRows[tabDetails as keyof typeof GenerateDashBoardActiveTableRows] ?? [];\r\n // this.columnsWithSelect = ['expand', 'select', ...this.columnsToDisplay, 'dropdown'];\r\n // this.columnsToDisplay = displayTabColHeader.map((col: { value: any; }) => col.value);\r\n // if (dashBoardRowData && dashBoardRowData.dashboardDetails && Array.isArray(dashBoardRowData.dashboardDetails) && dashBoardRowData.dashboardDetails.length > 0) {\r\n // switch (tabDetails) {\r\n // case 'inbox':\r\n // rowFormattedData = dashBoardRowData.dashboardDetails.map((item: any) => ({\r\n // From: item.senderEmail,\r\n // Subject: item.subject,\r\n // Recipient: item.recNames,\r\n // Status: item.envelopeStatus,\r\n // Received: item.createdDateTimeTimezoneStr,\r\n // EnvelopeId: item.envelopeID,\r\n // ExpandedData: [],\r\n // SelectedAction: '0'\r\n // }));\r\n // break;\r\n // case 'drafts':\r\n // rowFormattedData = dashBoardRowData.dashboardDetails.map((item: any) => ({\r\n // From: item.senderEmail,\r\n // Subject: item.subject,\r\n // DraftType: item.envelopeStatus,\r\n // CreatedOn: item.createdDateTimeTimezoneStr,\r\n // EnvelopeId: item.envelopeID,\r\n // ExpandedData: [],\r\n // SelectedAction: '0'\r\n // }));\r\n // break;\r\n // case 'sent':\r\n // case 'completed':\r\n // case 'deleted':\r\n // case 'waiting for others':\r\n // case 'expiring soon':\r\n // rowFormattedData = dashBoardRowData.dashboardDetails.map((item: any) => ({\r\n // To: item.senderEmail,\r\n // Subject: item.subject,\r\n // Status: item.envelopeStatus,\r\n // Sent: item.createdDateTimeTimezoneStr,\r\n // EnvelopeId: item.envelopeID,\r\n // ExpandedData: [],\r\n // SelectedAction: '0'\r\n // }));\r\n // break;\r\n // default:\r\n // rowFormattedData = [];\r\n // }\r\n // }\r\n // if (rowFormattedData.length === 0) {\r\n // rowFormattedData = [];\r\n // this.dataNotFound = 'Data Not Found';\r\n // }\r\n // this.dataSource = new MatTableDataSource(rowFormattedData);\r\n // }\r\n // }\r\n\r\n //static data\r\n setActiveTabsRowData(tabDetails: string) {\r\n if (tabDetails in GenerateDashBoardActiveTableRows) {\r\n let displayTabColHeader: any = GenerateDashBoardActiveTableRows[tabDetails as keyof typeof GenerateDashBoardActiveTableRows] ?? [];\r\n this.columnsToDisplay = displayTabColHeader.map((col: { value: any; }) => col.value);\r\n this.columnsWithSelect = ['expand', 'select', ...this.columnsToDisplay, 'dropdown'];\r\n if (this.dashBoardRowData && Object.keys(this.dashBoardRowData.length > 0)) {\r\n switch (tabDetails) {\r\n case 'inbox':\r\n this.rowFormattedData = this.dashBoardRowData.inboxes.map((item: any) => ({\r\n From: item.senderEmail,\r\n Subject: item.subject,\r\n Recipient: item.recNames,\r\n Status: item.envelopeStatus,\r\n Received: item.createdDateTimeTimezoneStr,\r\n EnvelopeId: item.envelopeID,\r\n ExpandedData: [],\r\n SelectedAction: '0'\r\n }));\r\n break;\r\n case 'drafts':\r\n this.rowFormattedData = this.dashBoardRowData.drafts.map((item: any) => ({\r\n From: item.senderEmail,\r\n Subject: item.subject,\r\n 'Draft Type': item.envelopeStatus,\r\n 'Created On': item.createdDateTimeTimezoneStr,\r\n EnvelopeId: item.envelopeID,\r\n ExpandedData: [],\r\n SelectedAction: '0'\r\n }));\r\n break;\r\n case 'sent':\r\n case 'completed':\r\n case 'deleted':\r\n case 'waiting for others':\r\n case 'expiring soon':\r\n this.rowFormattedData = this.dashBoardRowData.sent.map((item: any) => ({\r\n To: item.senderEmail,\r\n Subject: item.subject,\r\n Status: item.envelopeStatus,\r\n Sent: item.createdDateTimeTimezoneStr,\r\n EnvelopeId: item.envelopeID,\r\n ExpandedData: [],\r\n SelectedAction: '0'\r\n }));\r\n break;\r\n default:\r\n this.rowFormattedData = [];\r\n }\r\n }\r\n if (this.rowFormattedData.length === 0) {\r\n this.rowFormattedData = [];\r\n this.dataNotFound = 'Data Not Found';\r\n }\r\n this.dataSource = new MatTableDataSource(this.rowFormattedData);\r\n }\r\n }\r\n\r\n setSingleRowCheckboxSelection() {\r\n const singleRowSelected = this.selection.selected.length;\r\n const allRowsSelected = this.dataSource.data.length;\r\n return singleRowSelected === allRowsSelected;\r\n }\r\n\r\n setAllCheckboxesChecked() {\r\n this.setSingleRowCheckboxSelection() ? this.selection.clear() : this.dataSource.data.forEach(row => this.selection.select(row));\r\n }\r\n\r\n toggleRowExpansion(element: DashboardRows) {\r\n if (this.expandedElement === element) {\r\n this.expandedElement = null;\r\n } else {\r\n this.expandedElement = element;\r\n if (!element.ExpandedData || element.ExpandedData.length === 0) {\r\n this.fetchExpandedData(element);\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n fetchExpandedData(row: DashboardRows) {\r\n let resp: any = { \"EnvelopeCode\": \"52506765-3899-CAFE-9481-CEAE\", \"IsSequential\": false, \"EnvelopeCodeDisplay\": \"ENV52506765-3899-CAFE-9481-CEAE\", \"Sent\": \"2/19/2025 1:19:21 PM\", \"Completed\": null, \"DocumentList\": [{ \"ID\": \"0ce82bf0-b804-4721-b636-c6c73c026f85\", \"DocumentName\": \"Screenshot (1).png\", \"EnvelopeID\": \"01c08ba7-61e6-4478-a43d-159618281ddf\", \"ActionType\": \"Sign\" }, { \"ID\": \"9e300273-e393-4c14-ac0c-2132841a5995\", \"DocumentName\": \"Screenshot (4).png\", \"EnvelopeID\": \"01c08ba7-61e6-4478-a43d-159618281ddf\", \"ActionType\": \"Review\" }], \"Sender\": \"Yadagiri N\", \"RecipientNameList\": \"rani, vani\", \"AllRecipientNameList\": \"rani, vani\", \"RecipientsDetail\": [{ \"ID\": \"00000000-0000-0000-0000-000000000000\", \"RecipientID\": \"026fb3b4-35f2-4c46-83c9-8bdf0b63a3b1\", \"RecipientTypeID\": \"26e35c91-5ee1-4abf-b421-3b631a34f677\", \"DelegateTo\": null, \"DelegateFrom\": null, \"Name\": \"Yadagiri N\" }, { \"ID\": \"00000000-0000-0000-0000-000000000000\", \"StatusDateTime\": null, \"RecipientTypeID\": \"c20c350e-1c6d-4c03-9154-2cc688c099cb\", \"Name\": \"rani\" }, { \"ID\": \"00000000-0000-0000-0000-000000000000\", \"Description\": \"Pending\", \"DelegateTo\": \"vani\", \"DelegateFrom\": null, \"Name\": \"vani\" }], \"FormattedSentDate\": \"02/19/2025 13:19 PM\", \"ReferenceCode\": null, \"ReferenceEmail\": null, \"IsAllowSignerstoDownloadFinalContract\": true, \"EnvelopeEmailBody\": \"rsign and review\" }\r\n row.ExpandedData = [resp];\r\n }\r\n\r\n // this.homeService.getEnvelopeHistoryByEnvelopeId(row.EnvelopeId).subscribe((resp: any) => {\r\n // if (resp && resp.statusCode == 200) {\r\n // row.ExpandedData = resp;\r\n // }\r\n // });\r\n\r\n onSelected(days: string) {\r\n // we need to check this one\r\n // let activeDaysInSent: any = this.sessionStorageService.getDashBoardDetailed();\r\n // this.homeService.getDashBoardDetails(activeDaysInSent).subscribe((resp: any) => {\r\n // if (resp && resp.statusCode == 200) {\r\n // this.rowFormattedData = [];\r\n // let sendActiveTabData: any = resp.data.dashBoardDetails;\r\n // this.dataSource = sendActiveTabData;\r\n // }\r\n // });\r\n }\r\n\r\n // expandedRows = new Set();\r\n\r\n // toggleExpand(element: any): void {\r\n // if (this.expandedRows.has(element)) {\r\n // this.expandedRows.delete(element);\r\n // } else {\r\n // this.expandedRows.add(element);\r\n // }\r\n // }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n","
\r\n
\r\n
Create Folder
\r\n
close
\r\n
\r\n
\r\n
\r\n New Folder\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Component({\r\n selector: 'app-folder',\r\n templateUrl: './folder.component.html',\r\n styleUrls: ['./folder.component.scss']\r\n})\r\nexport class FolderComponent {\r\n @Output() dashboardFolders = new EventEmitter();\r\n showLoader: boolean = true;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private tsoastrService: ToastrService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showLoader = false;\r\n }\r\n\r\n createFolderonDashoboard(folderName: string) {\r\n if (folderName?.trim()) {\r\n this.dashboardFolders.emit(folderName.trim());\r\n console.log(folderName);\r\n }\r\n else {\r\n this.tsoastrService.warning('Folder name cannot be empty!.', 'Warning', { timeOut: 1500 });\r\n }\r\n }\r\n}\r\n","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { FolderComponent } from 'src/app/modals/home/folder/folder.component';\r\nimport { HomeService } from './../../../services/home/home.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\n\r\n@Component({\r\n selector: 'app-dashboard-leftsection',\r\n templateUrl: './dashboard-leftsection.component.html',\r\n styleUrls: ['./dashboard-leftsection.component.scss']\r\n})\r\nexport class DashboardLeftsectionComponent {\r\n @Output() activeInboxTabs = new EventEmitter();\r\n @Output() activeTabText = new EventEmitter();\r\n aiAutolock: boolean = true;\r\n activeTab: string;\r\n defaultDashBoard: boolean = false;\r\n\r\n constructor(\r\n private router: Router,\r\n private modalService: BsModalService,\r\n private homeService: HomeService,\r\n private toastrService: ToastrService,\r\n private sessionStorageService: SessionStorageService\r\n ) { }\r\n\r\n openLearnMore(url: any): void {\r\n window.open('https://www.example.com', '_blank');\r\n }\r\n\r\n sendTab() {\r\n this.router.navigateByUrl(\"/send\");\r\n }\r\n\r\n openModalPopup(popupType: string) {\r\n if (popupType === 'folder') {\r\n const modalRef = this.modalService.show(FolderComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n modalRef.content?.dashboardFolders.subscribe((dStatus: any) => {\r\n console.log('dStatus');\r\n });\r\n }\r\n }\r\n\r\n setActiveTab(tabs: string) {\r\n this.activeTab = tabs;\r\n if (this.activeTab === 'Inbox' || this.activeTab === 'Sent' || this.activeTab === 'Completed' || this.activeTab === 'Drafts' || this.activeTab === 'Deleted' || this.activeTab === 'Waiting For Others' || this.activeTab === 'Expiring Soon') {\r\n this.activeInboxTabs.emit(true);\r\n this.activeTabText.emit(this.activeTab);\r\n let activeTabsObj: any = {\r\n searchText: null,\r\n searchCol: null,\r\n sender: null,\r\n subject: null,\r\n referenceCode: null,\r\n startDate: '2025-01-28T00:00:00',\r\n endDate: '2025-02-11T00:00:00',\r\n envelopeStatus: null,\r\n // activeTab: 'Inbox',\r\n activeTab: this.activeTab,\r\n sortObj: {\r\n sortCol: 'Sent',\r\n sortOrder: 'DESC'\r\n },\r\n pagingObj: {\r\n pageSize: 25,\r\n activePage: 1\r\n },\r\n folderId: 0,\r\n languageCode: null,\r\n envelopeIds: null,\r\n createdDateTime: null,\r\n modifiedDateTime: null,\r\n filters: null,\r\n filterOption: null,\r\n flag: null,\r\n envelopeStatusId: null,\r\n userTimezone: 'India Standard Time',\r\n folderName: null,\r\n isFilterApplied: 0,\r\n archivingWithInDays: 0,\r\n allowUsersToDeleteValue: true,\r\n companyId: '00000000-0000-0000-0000-000000000000'\r\n }\r\n this.homeService.getDashBoardDetails(activeTabsObj).subscribe((resp: any) => {\r\n if (resp && resp.statusCode == 200) {\r\n this.sessionStorageService.setDashBoardDetailed(resp.data);\r\n // this.homeService.callactiveTabsRowData(res.data);\r\n // localStorage.setItem('dashBoardData', JSON.stringify(resp.data));\r\n if (resp.data) {\r\n // this.activeTabText.emit(activeTab);\r\n console.log('hii', resp.data);\r\n }\r\n }\r\n else {\r\n // this.toastrService.warning(\"Some fields are missing or incorrect.\", 'Warning');\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Inbox\r\n \r\n \r\n \r\n \r\n Sent\r\n \r\n \r\n \r\n \r\n Completed\r\n \r\n \r\n \r\n Template\r\n \r\n \r\n \r\n \r\n Drafts\r\n \r\n \r\n \r\n \r\n Deleted\r\n \r\n \r\n \r\n \r\n
\r\n

ACCESS MANAGEMENT

\r\n \r\n \r\n \r\n AI Auto Lock\r\n \r\n \r\n \r\n
\r\n
\r\n

ACTION REQUIRED

\r\n \r\n \r\n \r\n Waiting for Others\r\n \r\n \r\n \r\n \r\n Expiring Soon\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
","
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
WAITING FOR YOU\r\n {{dashBoardSummary.waitingForYou}}\r\n
\r\n
\r\n
\r\n
WAITING FOR OTHERS\r\n {{dashBoardSummary.waitingForOthers}}\r\n
\r\n
\r\n
\r\n
EXPIRING SOON\r\n {{dashBoardSummary.expiringSoon}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Drag and drop documents here to get started

\r\n
\r\n
\r\n \r\n
or
\r\n
\r\n
\r\n \r\n \r\n Rsign\r\n GroupTemplate\r\n WhatsAppIntegration\r\n StaticTemplate\r\n \r\n \r\n
or
\r\n
\r\n
\r\n \r\n \r\n withoutEid\r\n M/M\r\n StaticLink\r\n Rule-01\r\n \r\n \r\n
or
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
","import { Component } from '@angular/core';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { DocumentUploadComponent } from 'src/app/modals/step-one/document-upload/document-upload.component';\r\nimport { HomeService } from './../../../services/home/home.service';\r\nimport { HomeAPIS } from './../../../constants/home/home'\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\n\r\n@Component({\r\n selector: 'app-dashboard',\r\n templateUrl: './dashboard.component.html',\r\n styleUrls: ['./dashboard.component.scss']\r\n})\r\nexport class DashboardComponent {\r\n defaultDashBoard: boolean = false;\r\n HomeAPIS = HomeAPIS;\r\n dashBoardSummary: any;\r\n days: number = 30;\r\n activeTabTextContent: any;\r\n constructor(\r\n public modalService: BsModalService,\r\n private homeService: HomeService,\r\n private sessionStorageService: SessionStorageService\r\n ) { }\r\n\r\n ngOnInit() {\r\n // this.dashBoardActivitySummary(this.days);\r\n let resp: any = { \"statusCode\": 200, \"data\": { \"waitingForYou\": 3, \"waitingForOthers\": 4, \"expiringSoon\": 4, \"sent\": 4, \"viewed\": 1, \"viewPercentage\": 25, \"pending\": 4, \"pendingPercentage\": 100, \"signed\": 0, \"signedPercentage\": 0, \"expired\": 0, \"expiredPercentage\": 0, \"completedTimes\": \"00:00:00\", \"avgTimes\": \"00:00:00\", \"templates\": null, \"rules\": null, \"languageKeyText\": null, \"masterTemplates\": null, \"masterRules\": null, \"userFolders\": [{ \"id\": 264, \"userId\": \"2a2d82f4-c0a1-45ec-beb2-f77d77a28d5e\", \"folderName\": \"giri\", \"isDeleted\": false, \"createdDateTime\": \"2025-02-05T18:05:37.273\", \"modifiedDateTime\": \"2025-02-05T18:05:37.273\" }, { \"id\": 265, \"userId\": \"2a2d82f4-c0a1-45ec-beb2-f77d77a28d5e\", \"folderName\": \"mani\", \"isDeleted\": false, \"createdDateTime\": \"2025-02-05T18:05:44.313\", \"modifiedDateTime\": \"2025-02-05T18:05:44.313\" }] } }\r\n this.dashBoardSummary = resp.data;\r\n }\r\n\r\n\r\n openModalPopup(popupType: string) {\r\n if (popupType === 'sendDocument') {\r\n const modalRef = this.modalService.show(DocumentUploadComponent, { initialState: {}, keyboard: false, backdrop: 'static', class: 'modal-mt modal-mw' });\r\n modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n console.log('dStatus');\r\n });\r\n }\r\n }\r\n\r\n ActiveInboxDetails(isActive: boolean) {\r\n if (isActive) {\r\n this.defaultDashBoard = isActive;\r\n let dMiddleSection: any = document.getElementById('dMiddleSection');\r\n dMiddleSection.classList.replace('col-sm-8', 'col-sm-10');\r\n }\r\n }\r\n\r\n setActiveTabText(tabtext: any) {\r\n this.activeTabTextContent = tabtext;\r\n }\r\n\r\n dashBoardActivitySummary(days: number) {\r\n //static request data\r\n let userData: any = {\r\n userID: '2a2d82f4-c0a1-45ec-beb2-f77d77a28d5e',\r\n companyID: '23F58095-BC96-43C2-9C61-B5FEC41B6334',\r\n userEmail: 'nyadagiri@myyahoo.com',\r\n days: days,\r\n languageCode: \"en-us\",\r\n isLoadTempateLangAndOthers: true,\r\n isUpdateStatistics: true\r\n };\r\n\r\n //dynamic request data\r\n // let userDetails: any = this.sessionStorageService.getUserDetails();\r\n // let userData: any = {\r\n // userID: userDetails.userID,\r\n // companyID: userDetails.companyID,\r\n // userEmail: userDetails.EmailId,\r\n // days: days,\r\n // languageCode: userDetails.CultureInfo,\r\n // isLoadTempateLangAndOthers: true,\r\n // isUpdateStatistics: true\r\n // }\r\n\r\n this.homeService.getDashboardSummary(userData).subscribe((res: any) => {\r\n if (res && res.statusCode == 200) {\r\n this.dashBoardSummary = res.data;\r\n }\r\n // else {\r\n\r\n // }\r\n });\r\n }\r\n\r\n updateDashBoardActivitySummary(days: number) {\r\n this.dashBoardActivitySummary(days)\r\n }\r\n}\r\n","
\r\n
\r\n
Envelope ID: ENV{{element.envelopeCode}}
\r\n
\r\n
\r\n
\r\n \r\n Current Settings\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n close\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Setting NameEnvelope SettingCurrent Settings
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { APIService } from 'src/app/services/api.service';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { NavigationService } from 'src/app/services/navigation.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\n\r\n@Component({\r\n selector: 'app-view-settings',\r\n templateUrl: './view-settings.component.html',\r\n styleUrls: ['./view-settings.component.scss']\r\n})\r\nexport class ViewSettingsComponent {\r\n element: any;\r\n\r\n constructor(\r\n public modalRef: BsModalRef,\r\n private toastrService: ToastrService,\r\n private authService: AuthService,\r\n private commonService: CommonService,\r\n private apiService: APIService,\r\n private navigationService: NavigationService,\r\n private sessionStorageService: SessionStorageService,\r\n private router: Router,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.element = this.element;\r\n console.log(\"view1\", this.element)\r\n }\r\n\r\n onDownload() {\r\n\r\n }\r\n\r\n onPrint(modalId: string) {\r\n let modal = document.getElementById(modalId);\r\n if (!modal) return;\r\n\r\n // Select the specific elements to print\r\n let modalTitle = modal.querySelector('h5')?.outerHTML || '';\r\n let modalBody = modal.querySelector('.modal-body')?.outerHTML || '';\r\n\r\n // Create new content with only selected elements\r\n let printContent = `\r\n \r\n \r\n Print\r\n \r\n \r\n \r\n ${modalTitle}\r\n ${modalBody}\r\n \r\n `;\r\n\r\n // Open a new window, write content, and print\r\n let newWindow = window.open('', '_self');\r\n if (newWindow) {\r\n newWindow.document.write(printContent);\r\n newWindow.document.close();\r\n newWindow.print();\r\n }\r\n }\r\n\r\n // onPrint(modalId: string) {\r\n // let modal = document.getElementById(modalId);\r\n // if (!modal) return;\r\n\r\n // let titleElement = modal.querySelector('h5');\r\n // let bodyElement = modal.querySelector('.modal-body');\r\n // let elementsToHide = modal.querySelectorAll('.modalposition'); // Hide 'Current Settings' section\r\n\r\n // // Temporarily hide unwanted elements\r\n // elementsToHide.forEach((el:any) => (el.style.display = 'none'));\r\n\r\n // // Trigger print\r\n // window.print();\r\n\r\n // // Restore hidden elements after printing\r\n // setTimeout(() => {\r\n // elementsToHide.forEach((el:any) => (el.style.display = ''));\r\n // }, 500);\r\n // }\r\n\r\n // old for reference\r\n // function PrintEnvelopeSettingsClick(e) {\r\n\r\n // var envelopeId = $(this).closest('div.modalHeaderbutton').attr('data-envelopeid');\r\n\r\n // var data = document.getElementById(\"setting\" + envelopeId).outerHTML;\r\n // var $data = $(data);\r\n // $data.find('#chkCurrentSetting' + envelopeId).next('span').css({ 'display': 'none' });\r\n // $data.find('#chkCurrentSetting' + envelopeId).css({ 'display': 'none' });\r\n // $data.find('.envelope-table table td').css({ 'font-size': '12px' });\r\n // $data.find('.envelope-table table td label, .envelope-table table th label').css({ 'font-size': '12px' });\r\n // $data.find('.envelope-table table th').css({ 'text-align': 'left' });\r\n // $data.find('.divCompanySettingIcon').css({ 'margin-top': '5px' });\r\n // $data.find('.companySettingIcon').css({ 'font-weight': 'bold', 'margin-left': '10px', 'color': '#d21513' });\r\n // data = $data[0].outerHTML;\r\n // var thePopup = window.open('', 'Envelope Settings', 'menubar=0,location=0,height=700,width=850', false);\r\n // try {\r\n // thePopup.document.body.innerHTML = data;\r\n // } catch (err) {\r\n // }\r\n // //envelopeSettings.modal('hide');\r\n // thePopup.print();\r\n // }\r\n}\r\n","
\n
\n
\n Auto Lock Activity Log - {{viewActivityLogData?.envelopeCode}}\n
\n
\n close\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
EventFeatureRecipientTime (UTC)IPLocationCountryNetwork
Auto lockedView and Sign{{activityLogData.Recipient}}{{activityLogData.lastUpdated}}14.195.146.190Mumbai, MHIndiaTata Teleservices ISP AS
\n
\n
\n
","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { BsModalRef } from 'ngx-bootstrap/modal';\nimport { ToastrService } from 'ngx-toastr';\nimport { APIService } from 'src/app/services/api.service';\nimport { AuthService } from 'src/app/services/auth.service';\nimport { CommonService } from 'src/app/services/common.service';\nimport { NavigationService } from 'src/app/services/navigation.service';\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'app-view-activity-log',\n templateUrl: './view-activity-log.component.html',\n styleUrls: ['./view-activity-log.component.scss'],\n standalone: true,\n imports: [CommonModule]\n})\nexport class ViewActivityLogComponent {\n viewActivityLogData: any;\n\n constructor(\n private router: Router,\n public modalRef: BsModalRef,\n private toastrService: ToastrService,\n private authService: AuthService,\n private commonService: CommonService,\n private apiService: APIService,\n private navigationService: NavigationService,\n private sessionStorageService: SessionStorageService\n ) { }\n\n ngOnInit(): void {\n this.viewActivityLogData = this.viewActivityLogData;\n console.log(\"ViewActivityLogComponent\", this.viewActivityLogData)\n }\n}\n","
\n
\n
View Controls
\n
\n close\n
\n
\n
\n
\n

\n The table enlists masked text, entered as a prefilled value by the sender or masked values entered by\n the signers.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n
Control NameValueAssigned To
{{hiddenValues.controlName}}{{hiddenValues.controlValue}}{{hiddenValues.emailAddress}}
\n
\n
\n
","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { BsModalRef } from 'ngx-bootstrap/modal';\nimport { ToastrService } from 'ngx-toastr';\nimport { APIService } from 'src/app/services/api.service';\nimport { AuthService } from 'src/app/services/auth.service';\nimport { CommonService } from 'src/app/services/common.service';\nimport { NavigationService } from 'src/app/services/navigation.service';\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\nimport { CommonModule } from '@angular/common';\n\nexport interface hiddenValues {\n controlName: any,\n controlValue: any,\n emailAddress: any\n}\n\n@Component({\n selector: 'app-view-controls',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './view-controls.component.html',\n styleUrls: ['./view-controls.component.scss']\n})\nexport class ViewControlsComponent {\n viewControlsElement: any;\n hiddenValuesData: hiddenValues[] = [];\n\n constructor(\n private router: Router,\n public modalRef: BsModalRef,\n private toastrService: ToastrService,\n private authService: AuthService,\n private commonService: CommonService,\n private apiService: APIService,\n private navigationService: NavigationService,\n private sessionStorageService: SessionStorageService\n ) { }\n\n ngOnInit(): void {\n console.log(\"ViewControlsComponent\", this.viewControlsElement)\n this.viewControlsElement = this.viewControlsElement;\n this.loadHiddenValues();\n }\n\n loadHiddenValues() {\n this.hiddenValuesData = [\n {\n \"controlName\": \"Text\",\n \"controlValue\": \"\",\n \"emailAddress\": \"john.th@rpostlabs.com\"\n },\n {\n \"controlName\": \"Text\",\n \"controlValue\": \"Signer 2 prefill\",\n \"emailAddress\": \"Ranjithprince123@yahoo.com\"\n }\n ];\n }\n}\n\n","export class Envelopes {\r\n}\r\n\r\nexport class EnvelopesAPIUrls {\r\n public static DocumentPackageIndex: string = 'api/v1/DocumentPackage/DocumentPackageIndex';\r\n public static GetEnvelopesBySubmit: string = 'api/v1/DocumentPackage/GetEnvelopesBySubmit';\r\n}\r\n","\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { catchError } from 'rxjs';\r\nimport { EnvelopesAPIUrls } from 'src/app/constants/envelopes/envelopes';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ServicesError } from '../services.error';\r\nimport { CommonConstants } from '../../constants/common-constants';\r\nimport { SessionStorageService } from '../session-storage.service';\r\nimport { AuthService } from '../auth.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class EnvelopesService {\r\n baseUrl = environment.apiBaseUrl;\r\n\r\n constructor(private http: HttpClient,\r\n private error: ServicesError,\r\n private toastrService: ToastrService,\r\n private authService: AuthService,\r\n // private sessionStorageService: SessionStorageService,\r\n // private envelopeService: EnvelopesService\r\n ) { }\r\n\r\n get requestOptions() {\r\n return {\r\n headers: new HttpHeaders({\r\n //'Authorization': CommonConstants.TokenType + this.authService.getToken(),\r\n 'Authorization': \"Bearer \" + this.authService.getToken(),\r\n 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Accept': 'application/json;'\r\n })\r\n };\r\n }\r\n\r\n // POST method to get Envelopes data\r\n documentPackageIndex(reqObj: any) {\r\n let URL = EnvelopesAPIUrls.DocumentPackageIndex;\r\n return this.http.post(this.baseUrl + URL, reqObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n // POST method to get Searched data for Envelopes\r\n getEnvelopesBySubmit(searchObj: any) {\r\n let URL = EnvelopesAPIUrls.GetEnvelopesBySubmit;\r\n return this.http.post(this.baseUrl + URL, searchObj, { ...this.requestOptions }).pipe(catchError(this.error.handleError));\r\n }\r\n\r\n getEnvelopeStatus(statusId: any) {\r\n let envelopeStatus: any = '';\r\n switch (statusId.toUpperCase()) {\r\n case \"63E17398-AFDC-48C7-B9EC-90582CFEB562\":\r\n envelopeStatus = 'WaitingForSignature';\r\n break;\r\n case \"C9596319-6F6B-4840-B49D-85010206C7C7\":\r\n envelopeStatus = 'Completed';\r\n break;\r\n case \"2A8C3F8D-B512-43A6-8579-00BFF4EFE546\":\r\n envelopeStatus = 'Incomplete And Expired'\r\n break;\r\n case \"EB0BB5BD-DADA-4C37-AD2F-704CE4992E1C\":\r\n envelopeStatus = 'Terminated';\r\n break;\r\n case \"3AC65996-8529-4415-B895-54F27B3CC609\":\r\n envelopeStatus = 'Cancelled Transaction';\r\n break;\r\n }\r\n return envelopeStatus;\r\n }\r\n\r\n showToastrWarning(msg: any) {\r\n this.toastrService.warning(msg, 'Warning');\r\n }\r\n\r\n showToastrSuccess(message: any) {\r\n this.toastrService.success(message, 'Success');\r\n }\r\n\r\n showToastrError(msg: any) {\r\n this.toastrService.error(msg, 'Error');\r\n }\r\n\r\n showToastrInfo(message: any) {\r\n this.toastrService.info(message, 'Info');\r\n }\r\n}","\n\n
\n
\n
Select Columns
\n
\n
\n close\n
\n
\n
\n\n
\n
\n Available Columns\n Selected Columns\n
\n
\n \n
\n
    \n
  • \n {{ column }}\n
  • \n
\n
\n\n \n
\n \n \n \n
\n\n \n
\n
    \n
  • \n {{ column }}\n
  • \n
\n
\n\n \n
\n \n \n \n
\n
\n\n \n

\n * Subject and Current Status are mandatory columns\n

\n\n \n
\n \n\n \n
","import { CommonModule } from '@angular/common';\nimport { Component } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { BsModalRef } from 'ngx-bootstrap/modal';\nimport { ToastrService } from 'ngx-toastr';\nimport { APIService } from 'src/app/services/api.service';\nimport { AuthService } from 'src/app/services/auth.service';\nimport { CommonService } from 'src/app/services/common.service';\nimport { EnvelopesService } from 'src/app/services/envelopes/envelopes.service';\nimport { NavigationService } from 'src/app/services/navigation.service';\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\n\n@Component({\n selector: 'app-custom-column-layout',\n templateUrl: './custom-column-layout.component.html',\n styleUrls: ['./custom-column-layout.component.scss'],\n standalone: true,\n imports: [CommonModule]\n})\nexport class CustomColumnLayoutComponent {\n\n customColumnLayoutElement: any;\n\n constructor(\n private router: Router,\n public modalRef: BsModalRef,\n private toastrService: ToastrService,\n private authService: AuthService,\n private commonService: CommonService,\n private apiService: APIService,\n private navigationService: NavigationService,\n private sessionStorageService: SessionStorageService,\n private envelopesService: EnvelopesService\n ) { }\n\n availableColumns: string[] = ['Envelope ID', 'Completed', 'Sender'];\n selectedColumns: string[] = ['Subject', 'Current Status', 'Recipient', 'Last Updated', 'Sent'];\n\n selectedAvailableColumn: string | null = null;\n selectedSelectedColumn: string | null = null;\n\n // Mandatory columns\n mandatoryColumns: string[] = ['Subject', 'Current Status'];\n\n // Select a column from either list\n selectColumn(column: string, type: any) {\n if (type === 'available') {\n this.selectedAvailableColumn = column;\n this.selectedSelectedColumn = null;\n } else {\n this.selectedSelectedColumn = column;\n this.selectedAvailableColumn = null;\n }\n }\n\n // Move item to selected list\n moveRight() {\n if (this.selectedAvailableColumn) {\n this.selectedColumns.push(this.selectedAvailableColumn);\n this.availableColumns = this.availableColumns.filter(col => col !== this.selectedAvailableColumn);\n this.selectedAvailableColumn = null;\n }\n else {\n this.envelopesService.showToastrInfo('Please select any columns');\n }\n }\n\n // Move item back to available list (except mandatory ones)\n moveLeft() {\n // if (this.selectedSelectedColumn && !this.mandatoryColumns.includes(this.selectedSelectedColumn)) {\n if (this.selectedSelectedColumn) {\n this.availableColumns.push(this.selectedSelectedColumn);\n this.selectedColumns = this.selectedColumns.filter(col => col !== this.selectedSelectedColumn);\n this.selectedSelectedColumn = null;\n }\n else {\n this.envelopesService.showToastrInfo('Please select any columns');\n }\n }\n\n // Move item up in selected list\n moveUp() {\n if (this.selectedSelectedColumn) {\n let index = this.selectedColumns.indexOf(this.selectedSelectedColumn);\n if (index > 0) {\n [this.selectedColumns[index], this.selectedColumns[index - 1]] = [this.selectedColumns[index - 1], this.selectedColumns[index]];\n }\n }\n else {\n this.envelopesService.showToastrInfo('Please select any columns');\n }\n }\n\n // Move item down in selected list\n moveDown() {\n if (this.selectedSelectedColumn) {\n let index = this.selectedColumns.indexOf(this.selectedSelectedColumn);\n if (index < this.selectedColumns.length - 1) {\n [this.selectedColumns[index], this.selectedColumns[index + 1]] =\n [this.selectedColumns[index + 1], this.selectedColumns[index]];\n }\n }\n else {\n this.envelopesService.showToastrInfo('Please select any columns');\n }\n }\n\n // Save button action\n save() {\n let hasMandatoryColumns: any = this.mandatoryColumns.every(column => this.selectedColumns.includes(column));\n if (!hasMandatoryColumns) {\n this.envelopesService.showToastrWarning('Subject and Current Status are mandatory columns');\n }\n else {\n this.envelopesService.showToastrSuccess('Columns saved successfully');\n this.modalRef.hide();\n }\n }\n\n}\n","import { Directive, HostBinding, HostListener, Input, TemplateRef, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[appCdkDetailRow]'\n})\nexport class CdkDetailRowDirective {\n\n private row: any;\n private tRef: TemplateRef;\n private opened: boolean;\n\n @HostBinding('class.expanded')\n get expended(): boolean {\n return this.opened;\n }\n\n @Input()\n set appCdkDetailRow(value: any) {\n if (value !== this.row) {\n this.row = value;\n // this.render();\n }\n }\n\n @Input('appCdkDetailRowTpl')\n set template(value: TemplateRef) {\n if (value !== this.tRef) {\n this.tRef = value;\n // this.render();\n }\n }\n\n constructor(public vcRef: ViewContainerRef) { }\n\n // @HostListener('click')\n // onClick(): void {\n // this.toggle();\n // }\n\n @HostListener('click', ['$event'])\n onClick(event: Event): void {\n const targetElement = event.target as HTMLElement;\n\n // Check if the clicked element is inside the first cell (expansion icon column)\n if (targetElement.closest('.expansion-icon')) {\n this.toggle();\n }\n }\n\n toggle(): void {\n if (this.opened) {\n this.vcRef.clear();\n } else {\n this.render();\n }\n this.opened = this.vcRef.length > 0;\n }\n\n private render(): void {\n this.vcRef.clear();\n if (this.tRef && this.row) {\n this.vcRef.createEmbeddedView(this.tRef, { $implicit: this.row });\n }\n }\n}\n","
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n {{ archivalMessage }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n All\r\n Awaiting My Signature\r\n Completed\r\n Expiring Soon\r\n Incomplete and Expired\r\n Waiting for Signature\r\n Terminated\r\n Transaction Cancelled\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \"envelope-column-image\"\r\n\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n {{ expandedRows.has(element) ? 'expand_less' : 'expand_more' }}\r\n \r\n\r\n \r\n \r\n\r\n \r\n Envelope Id\r\n \r\n \r\n {{ element.envelopeCode }}\r\n \r\n \r\n\r\n \r\n Subject\r\n \r\n {{element.subject}} \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n {{ element.status }}\r\n\r\n \r\n \r\n \r\n\r\n \r\n Sent\r\n \r\n {{element.sent}} \r\n \r\n\r\n \r\n Completed\r\n \r\n {{element.completed}} \r\n \r\n\r\n \r\n Sender\r\n \r\n {{element.sender}} \r\n \r\n\r\n \r\n Recipient\r\n \r\n {{element.recipient}} \r\n \r\n\r\n \r\n LastUpdated\r\n \r\n {{element.lastUpdated}} \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n {{ noEnvelopesMessage }}\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \"envelope-manage-image\"\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Envelope Data
Envelope ID{{ 'ENV' + element.envelopeCode }}
Sender{{ element.sender }}
Recipient{{ element.recipient }}
Sign in sequenceNo
Access AuthenticationNone
Envelope SettingsView Settings
Auto Lock Activity LogView Activity Log
Hidden Control ValuesView Controls
Reference Code#$RTE
Reference Email{{ element.recipient }}
Rule/TemplateNone
Password
Password123
Access code to open signed document123
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n Details\r\n
  • \r\n
  • \r\n Waiting Recipients\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Date & Time StampStatusRecipient\r\n \r\n Original RecipientUpdated ByIP AddressDelivery Status
{{ element.lastUpdated }}{{ element.sent }}{{ element.recipient }}----115.98.45.204Delivered to Mail Server
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
StatusRecipientOrder
{{ element.status === 'Waiting for Signature' ?\r\n 'Waiting' : element.status }}{{ element.recipient }}2
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Re-Send\r\n
\r\n \r\n \r\n
\r\n Copy\r\n
\r\n
\r\n More Actions\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
","import { Component, ViewChild, OnInit, AfterViewInit, ElementRef, HostListener, ChangeDetectorRef, Renderer2 } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { EnvelopesService } from 'src/app/services/envelopes/envelopes.service';\r\nimport { NgbDatepicker, NgbInputDatepicker, NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ViewSettingsComponent } from 'src/app/modals/envelopes/view-settings/view-settings.component';\r\nimport { ViewActivityLogComponent } from 'src/app/modals/envelopes/view-activity-log/view-activity-log.component';\r\nimport { ViewControlsComponent } from 'src/app/modals/envelopes/view-controls/view-controls.component';\r\nimport { NgbDate, NgbDateStruct, NgbCalendar, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CustomColumnLayoutComponent } from 'src/app/modals/envelopes/custom-column-layout/custom-column-layout.component';\r\nimport * as XLSX from \"xlsx\";\r\n\r\nexport interface UserData {\r\n envelopeCode: any;\r\n isSequential: any;\r\n envelopeCodeDisplay: any;\r\n subject: any;\r\n currentStatus: any;\r\n sent: any;\r\n completed: any;\r\n envelopeStatusDescription: any;\r\n statusId: any;\r\n envelopeId: any;\r\n expiryDate: any;\r\n isFinalDocLinkReq: any;\r\n isTransparencyDocReq: any;\r\n userID: any;\r\n senderEmail: any;\r\n createdDateTime: any;\r\n modifiedDate: any;\r\n recipientID: any;\r\n templateKey: any;\r\n dateFormatID: any;\r\n recipientList: any;\r\n isDataMasked: any;\r\n totalRecords: any;\r\n senderCompanyId: any;\r\n isDataDeleted: any;\r\n isPrivateMode: any;\r\n userEnvelopeGridPreferencesModal: any;\r\n\r\n status: any;\r\n sender: any;\r\n recipient: any;\r\n lastUpdated: any;\r\n}\r\n\r\n@Component({\r\n selector: 'app-envelopes',\r\n templateUrl: './envelopes.component.html',\r\n styleUrls: ['./envelopes.component.scss']\r\n})\r\nexport class EnvelopesComponent implements OnInit, AfterViewInit {\r\n company: any = 'Landing page, Customer.';\r\n sender: any;\r\n recipient: any;\r\n subject: any;\r\n envelopeCode: any;\r\n selectedStatus: any = 'All';\r\n\r\n showLoader: boolean = true;\r\n displayedColumns: string[] = ['e', 'envelopeCode', 'subject', 'status', 'sent', 'completed', 'sender', 'recipient', 'lastUpdated'];\r\n dataSource = new MatTableDataSource([]);\r\n expandedElement: UserData | null = null;\r\n selectedValue: string = '';\r\n selectedFromDate: any;\r\n filteredData: UserData[];\r\n noEnvelopesMessage: string;\r\n selectedTab: number = 0; // Default to \"Current\" tab\r\n archivalMessage: string = 'You are viewing current envelopes.'; // Default message\r\n sequenceActiveTab: string = 'details';\r\n selectedFilter: string = 'lessThan60'; // Default selection\r\n model: NgbDateStruct | null = null;\r\n expandedRows = new Set(); // Store expanded rows\r\n startDateModel: NgbDateStruct;\r\n endDateModel: NgbDateStruct;\r\n fromDate: NgbDateStruct;\r\n toDate: NgbDateStruct;\r\n isPopoverVisible: boolean = false;\r\n @ViewChild('d', { static: false }) datepicker!: NgbInputDatepicker;\r\n @ViewChild(MatSort) sort: MatSort;\r\n @ViewChild(MatPaginator) paginator: MatPaginator;\r\n @ViewChild('popover', { static: false }) popover: ElementRef;\r\n\r\n constructor(\r\n private envelopesService: EnvelopesService,\r\n private eRef: ElementRef,\r\n private modalService: BsModalService,\r\n private cdr: ChangeDetectorRef,\r\n private renderer: Renderer2\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.showLoader = false;\r\n this.loadUserData(); // Static data\r\n //this.getEnvelopeData();\r\n // this.processDateValue();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator; // ✅ Connect paginator to table data source\r\n // this.changeDetector.detach();\r\n }\r\n\r\n clearFilters() {\r\n this.showLoader = true;\r\n this.company = '';\r\n this.sender = '';\r\n this.recipient = '';\r\n this.subject = '';\r\n this.envelopeCode = '';\r\n this.selectedStatus = 'All';\r\n this.loadUserData(); // Static data\r\n setTimeout(() => {\r\n this.showLoader = false;\r\n this.dataSource.paginator = this.paginator; // Re-assign paginator\r\n this.dataSource.sort = this.sort;\r\n this.dataSource._updateChangeSubscription(); // ✅ Ensures table refresh\r\n this.cdr.detectChanges();\r\n console.log(\"Data after clearing filters:\", this.dataSource.data);\r\n }, 200);\r\n }\r\n\r\n /** Load Data */\r\n loadUserData() {\r\n const users: UserData[] = [\r\n {\r\n envelopeId: '80524147-3119-BECE-0024-ABEC',\r\n subject: 'S3_189_S3_3933_TS01_TC01',\r\n status: 'Terminated',\r\n sent: '07/02/2025 22:56 IST',\r\n completed: '07/02/2025 23:39 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919963336712)...',\r\n lastUpdated: '07/02/2025 23:39 IST',\r\n envelopeCode: '80524147-3119-BECE-0024-ABEC',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '16550416-3374-DFBB-0383-DFFB',\r\n subject: 'Dutch-02',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 21:15 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 21:15 IST',\r\n envelopeCode: '16550416-3374-DFBB-0383-DFFB',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '56099418-7021-FDEA-9064-BFBD',\r\n subject: 'Dutch-02',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 21:09 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 21:10 IST',\r\n envelopeCode: '56099418-7021-FDEA-9064-BFBD',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '14185855-7553-CFBD-0167-AFED',\r\n subject: 'spanish-01',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 19:28 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 19:28 IST',\r\n envelopeCode: '14185855-7553-CFBD-0167-AFED',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '44468043-7915-DDFA-7995-EFAB',\r\n subject: 'Dutch Template',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 19:17 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 19:17 IST',\r\n envelopeCode: '44468043-7915-DDFA-7995-EFAB',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '14759478-0535-ABDA-0572-FEFA',\r\n subject: 'dutch template',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 19:06 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 19:06 IST',\r\n envelopeCode: '14759478-0535-ABDA-0572-FEFA',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '15691758-2252-FCFE-5676-CDBF',\r\n subject: 'spanish translations',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 18:51 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'johnderaj1435@yahoo.com...',\r\n lastUpdated: '07/02/2025 18:51 IST',\r\n envelopeCode: '15691758-2252-FCFE-5676-CDBF',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '17628774-6325-FEDB-4450-ADDA',\r\n subject: 'Decline e-Sign Request',\r\n status: 'Terminated',\r\n sent: '07/02/2025 17:51 IST',\r\n completed: '07/02/2025 20:14 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919703026572)...',\r\n lastUpdated: '07/02/2025 20:14 IST',\r\n envelopeCode: '17628774-6325-FEDB-4450-ADDA',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '98565684-3641-BFDD-9680-BBFF',\r\n subject: 'Template Vincere 189',\r\n status: 'Waiting for Signature',\r\n sent: '07/02/2025 16:47 IST',\r\n completed: 'Expires on 09/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'john.th@rpostlabs.com',\r\n lastUpdated: '07/02/2025 16:47 IST',\r\n envelopeCode: '98565684-3641-BFDD-9680-BBFF',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '65256368-5836-CDFA-8754-CFBA',\r\n subject: 'Decline e-Sign Request',\r\n status: 'Waiting for Signature',\r\n sent: '06/02/2025 17:52 IST',\r\n completed: 'Expires on 08/03/2025 05:29 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919703026572)...',\r\n lastUpdated: '06/02/2025 17:52 IST',\r\n envelopeCode: '65256368-5836-CDFA-8754-CFBA',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '71565472-6404-ABDE-8137-CDBE',\r\n subject: 'Decline e-Sign Request',\r\n status: 'Terminated',\r\n sent: '06/02/2025 16:42 IST',\r\n completed: '06/02/2025 17:12 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919703026572)...',\r\n lastUpdated: '06/02/2025 17:12 IST',\r\n envelopeCode: '71565472-6404-ABDE-8137-CDBE',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '49254459-7822-AEBD-6712-ACFD',\r\n subject: 'Decline e-Sign Request',\r\n status: 'Waiting for Signature',\r\n sent: '06/02/2025 16:36 IST',\r\n completed: 'Expires on 08/03/2025 05:29 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919703026572)...',\r\n lastUpdated: '06/02/2025 16:36 IST',\r\n envelopeCode: '49254459-7822-AEBD-6712-ACFD',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '39075549-2518-BEBD-2976-BAFE',\r\n subject: 'Decline e-Sign Request',\r\n status: 'Waiting for Signature',\r\n sent: '06/02/2025 16:27 IST',\r\n completed: 'Expires on 08/03/2025 05:29 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919703026572)...',\r\n lastUpdated: '06/02/2025 16:27 IST',\r\n envelopeCode: '39075549-2518-BEBD-2976-BAFE',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '89062454-3920-DBAF-8825-FBBB',\r\n subject: 'Job template 2',\r\n status: 'Waiting for Signature',\r\n sent: '06/02/2025 14:53 IST',\r\n completed: 'Expires on 08/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'john.th@rpostlabs.com',\r\n lastUpdated: '06/02/2025 14:54 IST',\r\n envelopeCode: '89062454-3920-DBAF-8825-FBBB',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '27711510-9203-EDEA-7494-ACCA',\r\n subject: 'Vincere Job Template',\r\n status: 'Waiting for Signature',\r\n sent: '06/02/2025 14:43 IST',\r\n completed: 'Expires on 08/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'john.th@rpostlabs.com',\r\n lastUpdated: '06/02/2025 14:44 IST',\r\n envelopeCode: '27711510-9203-EDEA-7494-ACCA',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '50987623-1234-ABCD-5678-EFGH',\r\n subject: 'Project Agreement',\r\n status: 'Waiting for Signature',\r\n sent: '08/02/2025 10:15 IST',\r\n completed: 'Expires on 10/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'john.th@rpostlabs.com',\r\n lastUpdated: '08/02/2025 10:16 IST',\r\n envelopeCode: '50987623-1234-ABCD-5678-EFGH',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '98765432-5678-WXYZ-4321-HJKL',\r\n subject: 'Service Contract',\r\n status: 'Completed',\r\n sent: '08/02/2025 09:30 IST',\r\n completed: '08/02/2025 11:45 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919812345678)...',\r\n lastUpdated: '08/02/2025 11:45 IST',\r\n envelopeCode: '98765432-5678-WXYZ-4321-HJKL',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '65432198-2345-MNOP-6789-QRST',\r\n subject: 'Consulting Agreement',\r\n status: 'Waiting for Signature',\r\n sent: '08/02/2025 12:20 IST',\r\n completed: 'Expires on 11/03/2025 05:29 IST',\r\n sender: 'ranjith.kumar@rpostlabs.com',\r\n recipient: 'sanjith.price@yahoo.com',\r\n lastUpdated: '08/02/2025 12:21 IST',\r\n envelopeCode: '65432198-2345-MNOP-6789-QRST',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '21098765-8901-ZYXW-3456-UTSR',\r\n subject: 'Employee NDA',\r\n status: 'Terminated',\r\n sent: '07/02/2025 18:45 IST',\r\n completed: '07/02/2025 20:00 IST',\r\n sender: 'gangadhara.va@rpostlabs.com',\r\n recipient: '(+919700112233)...',\r\n lastUpdated: '07/02/2025 20:00 IST',\r\n envelopeCode: '21098765-8901-ZYXW-3456-UTSR',\r\n isSequential: true,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n },\r\n {\r\n envelopeId: '11223344-5566-GHIJ-7788-KLMN',\r\n subject: 'Freelancer Contract',\r\n status: 'Waiting for Signature',\r\n sent: '08/02/2025 14:30 IST',\r\n completed: 'Expires on 12/03/2025 05:29 IST',\r\n sender: 'johnderaj1435@yahoo.com',\r\n recipient: 'john.th@rpostlabs.com',\r\n lastUpdated: '08/02/2025 14:31 IST',\r\n envelopeCode: '11223344-5566-GHIJ-7788-KLMN',\r\n isSequential: false,\r\n envelopeCodeDisplay: undefined,\r\n currentStatus: undefined,\r\n envelopeStatusDescription: undefined,\r\n statusId: undefined,\r\n expiryDate: undefined,\r\n isFinalDocLinkReq: undefined,\r\n isTransparencyDocReq: undefined,\r\n userID: undefined,\r\n senderEmail: undefined,\r\n createdDateTime: undefined,\r\n modifiedDate: undefined,\r\n recipientID: undefined,\r\n templateKey: undefined,\r\n dateFormatID: undefined,\r\n recipientList: undefined,\r\n isDataMasked: undefined,\r\n totalRecords: undefined,\r\n senderCompanyId: undefined,\r\n isDataDeleted: undefined,\r\n isPrivateMode: undefined,\r\n userEnvelopeGridPreferencesModal: undefined\r\n }\r\n ];\r\n\r\n this.dataSource.data = users;\r\n }\r\n\r\n getEnvelopeStatus(statusId: any) {\r\n return this.envelopesService.getEnvelopeStatus(statusId);\r\n }\r\n\r\n getEnvelopeData() {\r\n let authParamsObj: any = {\r\n \"page\": 1,\r\n \"pagesize\": 25,\r\n \"GetDataType\": 0,\r\n \"CompanyId\": \"23F58095- BC96 - 43C2-9C61 - B5FEC41B6334\"\r\n }\r\n\r\n this.envelopesService.documentPackageIndex(authParamsObj).subscribe(\r\n (resp: any) => {\r\n console.log('Envelopes ', resp);\r\n if (resp && resp.statusCode == 200) {\r\n console.log('statusCode:');\r\n //this.router.navigate(['/send'], { state: { data: resp } });\r\n localStorage.setItem(\"Response\", JSON.stringify(resp));\r\n console.log(\"EnvelopeData\", resp);\r\n }\r\n })\r\n }\r\n\r\n onSubmitEnvelopes() {\r\n console.log(\"onSubmitEnvelopes\");\r\n this.getEnvelopesBySubmit();\r\n }\r\n\r\n getEnvelopesBySubmit() {\r\n let searchObj: any = {\r\n //\"userId\":\"00000000-0000-0000-0000-000000000000\",\r\n //\"id\": null,\r\n //\"UserID\": null,\r\n //\"CompanyId\": null,\r\n \"fromDate\": \"1/23/2025\",\r\n \"toDate\": \"1/24/2025\",\r\n // \"eCount\": \"\",\r\n // \"displayCode\": \"\",\r\n \"page\": 1,\r\n \"pagesize\": 25,\r\n //\"sortBy\":null,\r\n //\"Recipient\": \"sa@in.com\",\r\n \"subject\": \"Testing for Cancel Old Senders\",\r\n \"showData\": 0,\r\n \"IsExportToExcel\": false,\r\n \"envelopeArichiveData\": 0,\r\n //\"SenderEmail\": null,\r\n \"GetDataType\": 0\r\n }\r\n\r\n this.envelopesService.getEnvelopesBySubmit(searchObj).subscribe(\r\n (resp: any) => {\r\n console.log('getEnvelopesBySubmit ', resp);\r\n if (resp && resp.statusCode == 200) {\r\n console.log('statusCode:');\r\n localStorage.setItem(\"Response\", JSON.stringify(resp));\r\n console.log(\"getEnvelopesBySubmit\", resp);\r\n }\r\n })\r\n }\r\n\r\n toggleExpand(element: any): void {\r\n this.showLoader = true;\r\n if (this.expandedRows.has(element)) {\r\n this.expandedRows.delete(element); // Collapse only if explicitly clicked again\r\n } else {\r\n this.expandedRows.add(element); // Expand the row and persist its state\r\n }\r\n setTimeout(() => {\r\n this.showLoader = false;\r\n }, 300);\r\n }\r\n\r\n applyFilter(event: Event, column: string) {\r\n const filterValue = (event.target as HTMLInputElement).value.trim().toLowerCase();\r\n\r\n if (!filterValue) {\r\n this.dataSource.filter = '';\r\n this.noEnvelopesMessage = ''; // Clear message when filter is empty\r\n return;\r\n }\r\n\r\n this.dataSource.filterPredicate = (data: any, filter: string) => {\r\n if (column === 'sender') {\r\n // Show message only if 'sender' column is empty\r\n return data.sender && data.sender.toLowerCase().includes(filter);\r\n }\r\n if (column === 'recipient') {\r\n return data.recipient && data.recipient.toLowerCase().includes(filterValue);\r\n }\r\n if (column === 'subject') {\r\n return data.subject && data.subject.toLowerCase().includes(filterValue);\r\n }\r\n if (column === 'envelope Code') {\r\n return data.envelopeCode && data.envelopeCode.toLowerCase().includes(filterValue);\r\n }\r\n return data[column]?.toLowerCase().includes(filter);\r\n };\r\n\r\n this.dataSource.filter = filterValue;\r\n\r\n // Show \"No Envelopes found.\" message if there are no filtered results\r\n if (this.dataSource.filteredData.length === 0) {\r\n this.noEnvelopesMessage = 'No Envelopes found.';\r\n } else {\r\n this.noEnvelopesMessage = '';\r\n }\r\n }\r\n\r\n fromDateFilter = (d: Date | null): boolean => {\r\n const today = new Date();\r\n today.setHours(0, 0, 0, 0); // Reset time to midnight for accurate comparison\r\n\r\n const selectedDate = d ? new Date(d) : new Date();\r\n selectedDate.setHours(0, 0, 0, 0);\r\n\r\n const day = selectedDate.getDay();\r\n\r\n // Store full selected date instead of just the day\r\n this.selectedFromDate = selectedDate;\r\n\r\n // Disable if the date is greater than today\r\n return selectedDate <= today;\r\n };\r\n\r\n toDateFilter = (d: Date | null): boolean => {\r\n if (!this.selectedFromDate) {\r\n return false; // If no \"From Date\" is selected, disable all dates\r\n }\r\n const today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n const selectedToDate = d ? new Date(d) : new Date();\r\n selectedToDate.setHours(0, 0, 0, 0);\r\n\r\n // Allow only dates that are on or after the selected \"From Date\"\r\n return selectedToDate >= this.selectedFromDate && selectedToDate <= today;\r\n };\r\n\r\n // Function to determine if a row is expanded\r\n isExpandedRow = (index: number, row: any) => {\r\n return this.expandedElement === row;\r\n }\r\n\r\n /* getArchivalData is used to get current & older envelopes based oin id.\r\n If id = '0' => current envelopes\r\n If id = '1' => Older envelopes(history) */\r\n getArchivalData(id: number) {\r\n this.showLoader = true;\r\n this.selectedTab = id;\r\n setTimeout(() => {\r\n this.showLoader = false;\r\n this.archivalMessage = id === 0 ? 'You are viewing current envelopes.' : 'You are viewing older envelopes.';\r\n }, 500);\r\n }\r\n\r\n sequenceActiveTabs: { [key: string]: string } = {}; // Object to track active tabs per envelopeCode\r\n\r\n setActiveTab(tab: string, envelopeCode: any) {\r\n this.sequenceActiveTabs[envelopeCode] = tab; // Set the active tab for the given envelopeCode\r\n }\r\n\r\n getActiveTab(envelopeCode: any): string {\r\n return this.sequenceActiveTabs[envelopeCode] || 'details'; // Default to 'details' if not set\r\n }\r\n\r\n openModalPopup(popupType: string, element: any) { //Custom Column Layout\r\n console.log(\"View settings\", element)\r\n if (popupType === 'View Settings') {\r\n const modalRef = this.modalService.show(ViewSettingsComponent, { initialState: { element: element }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n // modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n // console.log('dStatus');\r\n // });\r\n }\r\n else if (popupType === 'View Activity Log') {\r\n const modalRef = this.modalService.show(ViewActivityLogComponent, { initialState: { viewActivityLogData: element }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n // modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n // console.log('dStatus');\r\n // });\r\n }\r\n else if (popupType === 'View Controls') {\r\n const modalRef = this.modalService.show(ViewControlsComponent, { initialState: { viewControlsElement: element }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-lg' });\r\n // modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n // console.log('dStatus');\r\n // });\r\n }\r\n else if (popupType === 'Custom Column Layout') {\r\n const modalRef = this.modalService.show(CustomColumnLayoutComponent, { initialState: { customColumnLayoutElement: element }, keyboard: false, backdrop: 'static', class: 'modal-mt modal-md' });\r\n // modalRef.content?.onCheckDocumentUpload.subscribe((dStatus: any) => {\r\n // console.log('dStatus');\r\n // });\r\n }\r\n }\r\n\r\n downloadEnvelopesData() {\r\n if (this.dataSource && this.dataSource.data && this.dataSource.paginator) {\r\n const startIndex = this.dataSource.paginator.pageIndex * this.dataSource.paginator.pageSize;\r\n const endIndex = startIndex + this.dataSource.paginator.pageSize;\r\n let visibleRows = this.dataSource.filteredData.slice(startIndex, endIndex);\r\n if (visibleRows.length > 0) {\r\n const worksheet: XLSX.WorkSheet = XLSX.utils.json_to_sheet(visibleRows, {\r\n header: this.displayedColumns,\r\n });\r\n const workbook: XLSX.WorkBook = { Sheets: { 'Data': worksheet }, SheetNames: ['Data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'csv', type: 'array' });\r\n const blob: Blob = new Blob([excelBuffer], { type: 'application/octet-stream' });\r\n const link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = 'CSVFile.csv';\r\n link.click();\r\n }\r\n else {\r\n this.envelopesService.showToastrWarning('No Data.');\r\n }\r\n }\r\n }\r\n\r\n togglePopover(event: MouseEvent) {\r\n this.isPopoverVisible = !this.isPopoverVisible;\r\n\r\n if (this.isPopoverVisible && this.popover) {\r\n const icon = event.target as HTMLElement;\r\n const popover = this.popover.nativeElement;\r\n\r\n // Get icon position\r\n const rect = icon.getBoundingClientRect();\r\n\r\n // Position the popover next to the icon\r\n this.renderer.setStyle(popover, 'top', `${rect.top + window.scrollY}px`);\r\n this.renderer.setStyle(popover, 'left', `${rect.left + rect.width + 10}px`);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \"Building
\r\n
\r\n \r\n {{ stat.value }}\r\n \r\n \r\n

{{ stat.title }}

\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n {{ card.value }}\r\n \r\n \r\n

{{ card.title }}

\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n\r\n
\r\n\r\n
","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { EnvelopePrepareComponent } from './components/envelope-prepare/envelope-prepare.component';\r\nimport { InitializePrepareComponent } from './components/initialize-prepare/initialize-prepare.component';\r\nimport { ViewPdfComponent } from './components/view-pdf/view-pdf.component';\r\nimport { GlobalErrorComponent } from './components/global-error/global-error.component';\r\nimport { InfoComponent } from './components/info/info.component';\r\nimport { TemplatePrepareComponent } from './components/template-prepare/template-prepare.component';\r\nimport { LoginComponent } from './components/authentication/login/login.component';\r\nimport { RegisterComponent } from './components/authentication/register/register.component';\r\nimport { ForgotPasswordComponent } from './components/authentication/forgot-password/forgot-password.component';\r\nimport { SendComponent } from './components/step-one/send/send.component';\r\nimport { PostForgotPasswordComponent } from './components/authentication/post-forgot-password/post-forgot-password.component';\r\nimport { ResetPasswordComponent } from './components/authentication/reset-password/reset-password.component';\r\nimport { PostRegisterComponent } from './components/authentication/post-register/post-register.component';\r\nimport { ReviewDetailsComponent } from './components/authentication/review-details/review-details.component';\r\nimport { DashboardComponent } from './components/home/dashboard/dashboard.component';\r\nimport { EnvelopesComponent } from './components/envelopes/envelopes.component';\r\nimport { StatsComponent } from './components/stats/stats.component';\r\nimport { PostResetPasswordComponent } from './components/authentication/post-reset-password/post-reset-password.component';\r\n\r\nconst routes: Routes = [\r\n\t{ path: '', component: LoginComponent },\r\n\t// { path: '', component: SendComponent },\r\n\t{ path: 'login', component: LoginComponent },\r\n\t{ path: 'register', component: RegisterComponent },\r\n\t{ path: 'forgot-password', component: ForgotPasswordComponent },\r\n\t{ path: 'post-forgot-password', component: PostForgotPasswordComponent },\r\n\t{ path: 'reset-password', component: ResetPasswordComponent },\r\n\t{ path: 'post-register', component: PostRegisterComponent },\r\n\t{ path: 'review-details', component: ReviewDetailsComponent },\r\n\t{ path: 'post-reset-password', component: PostResetPasswordComponent },\r\n\t{ path: 'home', component: DashboardComponent},\r\n\t{ path: 'send', component: SendComponent },\r\n\t{ path: 'envelopes', component: EnvelopesComponent },\r\n\t{ path: 'stats', component: StatsComponent },\r\n\r\n\t{ path: 'envelope-prepare', component: EnvelopePrepareComponent },\r\n\t{ path: 'initialize-prepare', component: InitializePrepareComponent },\r\n\t{ path: 'viewpdf', component: ViewPdfComponent },\r\n\t{ path: 'global-error', component: GlobalErrorComponent },\r\n\t{ path: 'info', component: InfoComponent },\r\n\t{ path: 'template-prepare', component: TemplatePrepareComponent }\r\n];\r\n\r\n@NgModule({\r\n\timports: [RouterModule.forRoot(routes)],\r\n\texports: [RouterModule],\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-post-reset-password',\n templateUrl: './post-reset-password.component.html',\n styleUrls: ['./post-reset-password.component.scss']\n})\nexport class PostResetPasswordComponent {\n\n}\n","
\n \n
\n
\n
\n \n
\n
\n

Your password has been reset!

\n
\n
\n
Ready to start using RSign? Sign in
\n
New to RSign? View how-to-guides, videos, and other training content
\n
\n
\n
\n \n
","import { Component } from '@angular/core';\r\n\r\nexport interface statsData {\r\n envelopeCode: any;\r\n isSequential: any;\r\n envelopeCodeDisplay: any;\r\n subject: any;\r\n currentStatus: any;\r\n sent: any;\r\n completed: any;\r\n envelopeStatusDescription: any;\r\n statusId: any;\r\n envelopeId: any;\r\n expiryDate: any;\r\n isFinalDocLinkReq: any;\r\n isTransparencyDocReq: any;\r\n userID: any;\r\n senderEmail: any;\r\n createdDateTime: any;\r\n modifiedDate: any;\r\n recipientID: any;\r\n templateKey: any;\r\n dateFormatID: any;\r\n recipientList: any;\r\n isDataMasked: any;\r\n totalRecords: any;\r\n senderCompanyId: any;\r\n isDataDeleted: any;\r\n isPrivateMode: any;\r\n userEnvelopeGridPreferencesModal: any;\r\n}\r\n@Component({\r\n selector: 'app-stats',\r\n templateUrl: './stats.component.html',\r\n styleUrls: ['./stats.component.scss']\r\n})\r\nexport class StatsComponent {\r\n showLoader: boolean = true;\r\n statsDetails: any[] = [];\r\n statsDetails2: any[] = [];\r\n firstRowCards = ['RCS-CU.', 'Expiring Soon','Terminated', 'Sent for Signature', 'Completed']; // 5 cards for the first row\r\n secondRowCards = [6, 7, 8, 9, 10, 11, 12]; // 7 cards for the second row\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.showLoader = false;\r\n this.getStatsDetails();\r\n }\r\n\r\n getStatsDetails() {\r\n let resp: any = { \"statusCode\": 200, \"data\": { \"waitingForYou\": 3, \"waitingForOthers\": 4, \"expiringSoon\": 4, \"sent\": 4, \"viewed\": 1, \"viewPercentage\": 25, \"pending\": 4, \"pendingPercentage\": 100, \"signed\": 0, \"signedPercentage\": 0, \"expired\": 0, \"expiredPercentage\": 0, \"completedTimes\": \"00:00:00\", \"avgTimes\": \"00:00:00\", \"templates\": null, \"rules\": null, \"languageKeyText\": null, \"masterTemplates\": null, \"masterRules\": null, \"userFolders\": [{ \"id\": 264, \"userId\": \"2a2d82f4-c0a1-45ec-beb2-f77d77a28d5e\", \"folderName\": \"giri\", \"isDeleted\": false, \"createdDateTime\": \"2025-02-05T18:05:37.273\", \"modifiedDateTime\": \"2025-02-05T18:05:37.273\" }, { \"id\": 265, \"userId\": \"2a2d82f4-c0a1-45ec-beb2-f77d77a28d5e\", \"folderName\": \"mani\", \"isDeleted\": false, \"createdDateTime\": \"2025-02-05T18:05:44.313\", \"modifiedDateTime\": \"2025-02-05T18:05:44.313\" }] } }\r\n let respData = resp.data;\r\n\r\n this.statsDetails = [\r\n { title: \"RCS-CU\", value: '' },\r\n { title: \"Expiring Soon\", value: respData.expiringSoon },\r\n { title: \"Sent for Signature\", value: respData.sent },\r\n { title: \"Terminated\", value: 122 },\r\n { title: \"Completed\", value: 961 }\r\n ];\r\n\r\n this.statsDetails2 = [\r\n { title: \"Viewed\", value: \"25.00%\" },\r\n { title: \"Expired\", value: \"72.00%\" },\r\n { title: \"Signed\", value: \"32.00%\" },\r\n { title: \"Sent Documents\", value: 2667 },\r\n { title: \"Signed Documents\", value: 961 },\r\n { title: \"Pending Documents\", value: 599 },\r\n { title: \"Avg. Completion Time\", value: \"7.00 hrs\" }\r\n ];\r\n\r\n console.log('this.statsDetails', this.statsDetails);\r\n\r\n }\r\n\r\n onStatsSubmit(txtCompanyName:any, txtUserName:any){\r\n let txtCompanyNameValue:any = txtCompanyName;\r\n let txtUserNameValue:any = txtUserName\r\n console.log('onStatsSubmit', txtCompanyNameValue, txtUserNameValue);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
Your session is about to expire!
\r\n
\r\n\r\n
\r\n
\r\n \"image\"\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\t\r\n
\r\n\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ApiUrlConfig, NavigateUrlConfig } from 'src/app/constants/common-apiurls';\r\nimport { APIService } from './services/api.service';\r\nimport { AuthService } from './services/auth.service';\r\nimport { CommonService } from './services/common.service';\r\nimport { SessionStorageService } from './services/session-storage.service';\r\n\r\n@Component({\r\n\tselector: 'app-root',\r\n\ttemplateUrl: './app.component.html',\r\n\tstyleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n\tidleTimer: any;\r\n\tidleMaxTimerCount: any = environment.sessionTimeOut;\r\n\tidleCounter: any = environment.sessionTimeOut;\r\n\tsessionTimeoutVal: any = (Math.floor(this.idleMaxTimerCount / 60)).toString() + ' M';\r\n\tpopupShowCounter: any = environment.sessionInActivity;\r\n\tAllowSignersDownloadFinalContract: boolean = false;\r\n\tsessionTimeOutMinutes: any = (Math.floor(this.idleMaxTimerCount / 60)).toString();\r\n\tidleTimerMinsValue: any = (Math.floor(this.idleMaxTimerCount / 60)).toString();\r\n\tidleTimerSecondsValue: any = '00';\r\n\ttimer = 0;\r\n\ttimerWorker: any = new Worker('../../../assets/workers/timer-worker.js');\r\n\tshowSessionExpireModalDailog: string = 'none';\r\n\tshowLoader: boolean = false;\r\n\tisSessionPopupOpen: boolean = false;\r\n\tnoSignMeOutBtnClicked: boolean = false;\r\n\r\n\tconstructor(private apiService: APIService, private authService: AuthService,\r\n\t\tprivate commonService: CommonService,\r\n\t\tprivate sessionStorageService: SessionStorageService\r\n\t) {\r\n\t\t//check idle time\r\n\t\tthis.sessionTimeoutVal = (Math.floor(this.idleMaxTimerCount / 60)).toString() + \" M\";\r\n\t\tthis.handleIdleTime();\r\n\r\n\t\t// Reset the idle timer when the user interacts.\r\n\t\tdocument.addEventListener('mousemove', () => {\r\n\t\t\tif (this.showSessionExpireModalDailog === 'none') {\r\n\t\t\t\t//reset Timer\r\n\t\t\t\tthis.yesKeepMeSignedIn('move');\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// let timeOutValue: any = 6000; //120000 (It means 2 mins)\r\n\t\t// setTimeout(() => {\r\n\t\t// \tthis.getRefreshToken();\r\n\t\t// }, timeOutValue);\r\n\r\n\t\tsetInterval(() => {\r\n\t\t\tconsole.log(\"RefreshToken:\" + new Date().toLocaleString());\r\n\t\t\tthis.getRefreshToken();\r\n\t\t}, 120000);\r\n\t}\r\n\r\n\thandleIdleTime() {\r\n\t\tlet sessionInActivity: any = environment.sessionInActivity;\r\n\t\tthis.timerWorker.postMessage({ action: 'startTimer', value: (this.idleMaxTimerCount + sessionInActivity) });\r\n\r\n\t\t// Listen for messages from the Web Worker\r\n\t\tif (this.timerWorker && this.noSignMeOutBtnClicked === false) {\r\n\t\t\tthis.timerWorker.onmessage = (e: any) => {\r\n\t\t\t\tthis.timer = e.data.value;\r\n\t\t\t\t// console.log('11111111', this.timer);\r\n\t\t\t\tif (this.timer && this.noSignMeOutBtnClicked === false) {\r\n\t\t\t\t\tif (this.timer === -1 || this.timer < 0) {\r\n\t\t\t\t\t\tthis.showSessionExpireModalDailog = 'none';\r\n\t\t\t\t\t\tthis.isSessionPopupOpen = false;\r\n\t\t\t\t\t\tthis.timerWorker.postMessage({ action: 'stopTimer' });\r\n\t\t\t\t\t\tthis.sessionTimeoutVal = '';\r\n\t\t\t\t\t\tthis.noSignMeOut();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (this.timer <= this.popupShowCounter) {\r\n\t\t\t\t\t\tthis.showSessionExpireModalDailog = 'block';\r\n\t\t\t\t\t\tthis.isSessionPopupOpen = true;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tthis.checkIdleMaxTimerCount();\r\n\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\tcheckIdleMaxTimerCount() {\r\n\t\tif (this.timer < 0) {\r\n\t\t\tthis.showSessionExpireModalDailog = 'none';\r\n\t\t\tthis.isSessionPopupOpen = false;\r\n\t\t}\r\n\t\telse if (this.timer >= this.idleMaxTimerCount) {\r\n\t\t\tthis.sessionTimeoutVal = (Math.floor(this.idleMaxTimerCount / 60)).toString() + ' M';\r\n\t\t\tthis.isSessionPopupOpen = false;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.idleTimerMinsValue = (Math.floor(this.timer / 60)).toString();\r\n\t\t\tthis.idleTimerSecondsValue = this.addZero(Math.floor((this.timer % 60))).toString();\r\n\t\t\tthis.sessionTimeoutVal = (Math.floor(this.timer / 60)).toString() + ':' + this.addZero(Math.floor((this.timer % 60))).toString() + \" M\";\r\n\t\t\tthis.isSessionPopupOpen = true;\r\n\t\t}\r\n\t}\r\n\r\n\taddZero(i: any) {\r\n\t\tif (i < 10) {\r\n\t\t\ti = '0' + i;\r\n\t\t}\r\n\t\treturn i;\r\n\t}\r\n\r\n\tyesKeepMeSignedIn(type: any) {\r\n\t\tthis.showSessionExpireModalDailog = 'none';\r\n\t\tthis.idleTimerMinsValue = (Math.floor(this.idleMaxTimerCount / 60)).toString();\r\n\t\tthis.idleTimerSecondsValue = '00';\r\n\t\tthis.sessionTimeReset();\r\n\t\tthis.resumeTimer();\r\n\t\tif (type == 'clicked') {\r\n\t\t\tthis.isSessionPopupOpen = false;\r\n\t\t\tthis.getRefreshToken();\r\n\t\t}\r\n\t}\r\n\r\n\tnoSignMeOut() {\r\n\t\tthis.noSignMeOutBtnClicked = true;\r\n\t\tthis.showLoader = true;\r\n\t\tthis.showSessionExpireModalDailog = 'none';\r\n\t\tthis.isSessionPopupOpen = true;\r\n\t\tthis.idleTimerMinsValue = (Math.floor(this.idleMaxTimerCount / 60)).toString();\r\n\t\tthis.idleTimerSecondsValue = '00';\r\n\t\tthis.sessionTimeReset();\r\n\t\tthis.sessionStorageService.setClickedSignMeOut('true');\r\n\t\tlet rsignURL: any = environment.rsignUrl;\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (getIntializePrepareDetails && getIntializePrepareDetails != null && getIntializePrepareDetails.SourceUrlType && getIntializePrepareDetails.SourceUrlType != \"\") {\r\n\t\t\tlet sourceUrlType: any = this.commonService.generateDomainRediRectURL(getIntializePrepareDetails.SourceUrlType);\r\n\t\t\trsignURL = sourceUrlType + NavigateUrlConfig.LogOff;\r\n\t\t}\r\n\t\telse {\r\n\t\t\trsignURL = rsignURL + NavigateUrlConfig.LogOff;\r\n\t\t}\r\n\t\tlocalStorage.clear();\r\n\t\tsessionStorage.clear();\r\n\t\tthis.commonService.redirect(rsignURL);\r\n\t\tthis.showLoader = false;\r\n\t}\r\n\r\n\tsessionTimeReset() {\r\n\t\tthis.sessionTimeoutVal = '';\r\n\t\tthis.sessionTimeoutVal = (Math.floor(this.idleMaxTimerCount / 60)).toString() + ' M';\r\n\t}\r\n\r\n\tresumeTimer() {\r\n\t\t// Send a message to the Web Worker to reset the timers\r\n\t\tthis.timerWorker.postMessage({ action: 'resetTimer' });\r\n\t\t// Start the timer again\r\n\t\tthis.handleIdleTime();\r\n\t}\r\n\r\n\tgetRefreshToken() {\r\n\t\t//console.log(\"Is session popup open:\" + this.showSessionExpireModalDailog);\r\n\t\tlet getIntializePrepareDetails: any = this.sessionStorageService.getIntializePrepareDetails();\r\n\t\tif (this.authService.isTokenExists() == \"false\") {\r\n\t\t\tthis.sessionStorageService.setClickedSignMeOut('true');\r\n\t\t\tthis.commonService.redirectToMainApp(getIntializePrepareDetails.SourceURL);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (this.showSessionExpireModalDailog === 'none') { //&& this.isSessionPopupOpen == false\r\n\t\t\t\tlet getUserDetails: any = this.authService.getUserDetails();\r\n\t\t\t\tlet refreshTokenModelDetails: any = localStorage.getItem(\"RefreshTokenModel\");\r\n\t\t\t\trefreshTokenModelDetails = JSON.parse(refreshTokenModelDetails);\r\n\t\t\t\tif (getUserDetails && getUserDetails.emailID) {\r\n\t\t\t\t\tlet tokenModelObj: any = {\r\n\t\t\t\t\t\tEmailAddress: getUserDetails.emailID,\r\n\t\t\t\t\t\tAuthToken: this.authService.getToken(),\r\n\t\t\t\t\t\tRefreshToken: refreshTokenModelDetails != null ? refreshTokenModelDetails.refreshToken : \"\",\r\n\t\t\t\t\t\tRefreshExpires: refreshTokenModelDetails != null ? refreshTokenModelDetails.refreshExpires : \"\",\r\n\t\t\t\t\t\tAccessTokenExpires: refreshTokenModelDetails != null ? refreshTokenModelDetails.accessTokenExpires : \"\",\r\n\t\t\t\t\t\tBrowserName: this.getBrowserName(),\r\n\t\t\t\t\t\tIsFirstTime: refreshTokenModelDetails != null ? false : true\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\tlet isSendEnvelopeClicked: any = this.sessionStorageService.getIsSendEnvelope();\r\n\t\t\t\t\tif (isSendEnvelopeClicked != \"1\") {\r\n\t\t\t\t\t\tconsole.log(\"Calling RefreshToken API\" + new Date().toLocaleString());\r\n\t\t\t\t\t\tthis.apiService.GetRefreshToken(tokenModelObj).subscribe((data: any) => {\r\n\t\t\t\t\t\t\tif (data && data.statusCode == 200) {\r\n\t\t\t\t\t\t\t\tconsole.log(\"Success-Response from GetRefreshToken API: \" + new Date().toLocaleString());\r\n\t\t\t\t\t\t\t\tif (data.userTokenModel && data.userTokenModel != \"\") {\r\n\t\t\t\t\t\t\t\t\tlocalStorage.setItem(\"RefreshTokenModel\", JSON.stringify(data.userTokenModel));\r\n\t\t\t\t\t\t\t\t\tlocalStorage.setItem('Token', data.userTokenModel.authToken);\r\n\t\t\t\t\t\t\t\t\tthis.sessionStorageService.setIntializePrepareDetails('Token', data.userTokenModel.authToken);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse if (data && data.StatusMessage == \"ServiceUnavailable\") {\r\n\t\t\t\t\t\t\t\tconsole.log(\"Failed-Error Response from GetRefreshToken API: \" + data.Message);\r\n\t\t\t\t\t\t\t\tconsole.log(\"Failed-Response from GetRefreshToken API: \" + new Date().toLocaleString());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getBrowserName() {\r\n\t\tconst agent = window.navigator.userAgent.toLowerCase();\r\n\t\tswitch (true) {\r\n\t\t\tcase agent.indexOf('edge') > -1:\r\n\t\t\t\treturn 'edge';\r\n\t\t\tcase agent.indexOf('opr') > -1 && !!(window).opr:\r\n\t\t\t\treturn 'opera';\r\n\t\t\tcase agent.indexOf('chrome') > -1 && !!(window).chrome:\r\n\t\t\t\treturn 'chrome';\r\n\t\t\tcase agent.indexOf('trident') > -1:\r\n\t\t\t\treturn 'ie';\r\n\t\t\tcase agent.indexOf('firefox') > -1:\r\n\t\t\t\treturn 'firefox';\r\n\t\t\tcase agent.indexOf('safari') > -1:\r\n\t\t\t\treturn 'safari';\r\n\t\t\tdefault:\r\n\t\t\t\treturn 'other';\r\n\t\t}\r\n\t}\r\n}\r\n","// src/app/material.module.ts\r\n\r\nimport { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n// Import all Material modules you need\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSliderModule } from '@angular/material/slider';\r\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatBadgeModule } from '@angular/material/badge';\r\nimport { MatDividerModule } from '@angular/material/divider';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatNativeDateModule } from '@angular/material/core';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatCardModule } from '@angular/material/card';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatButtonModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatRadioModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSnackBarModule,\r\n MatTableModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatChipsModule,\r\n MatAutocompleteModule,\r\n MatBadgeModule,\r\n MatDividerModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatProgressSpinnerModule,\r\n MatTabsModule,\r\n MatNativeDateModule,\r\n MatSortModule,\r\n MatCardModule\r\n ],\r\n exports: [\r\n MatButtonModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatRadioModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSnackBarModule,\r\n MatTableModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatChipsModule,\r\n MatAutocompleteModule,\r\n MatBadgeModule,\r\n MatDividerModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatProgressSpinnerModule,\r\n MatTabsModule,\r\n MatSortModule,\r\n MatCardModule,\r\n\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n |\r\n\r\n edit \r\n |\r\n\r\n library_add \r\n\r\n \r\n |\r\n \r\n \r\n \r\n |\r\n delete\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n *\r\n\r\n
\r\n
\r\n\r\n
\r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n \r\n
\r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n
\r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n
\r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n
\r\n {{ctrlObj.controlDateFormat}}\r\n
\r\n\r\n
\r\n \r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n
\r\n {{ctrlObj.placeHolderText}}\r\n
\r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n

{{ctrlObj.placeHolderText}}

\r\n
\r\n
\r\n\r\n
\r\n
","import { Component, OnInit, Input, ViewChild, ElementRef, AfterViewInit, EventEmitter, Directive, HostBinding, HostListener, ComponentRef } from '@angular/core';\r\nimport { CommonService } from '../../services/common.service';\r\nimport { ControlPropertyService } from 'src/app/services/control.properties.service';\r\nimport { CommonConstants, Control } from '../../constants/common-constants';\r\nimport { ControlComponent } from '../control/control.component';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { AuthService } from 'src/app/services/auth.service';\r\nimport { SessionStorageService } from 'src/app/services/session-storage.service';\r\nimport { CashedService } from 'src/app/services/cashed.service';\r\ndeclare var $: any;\r\n\r\nconst enum Status {\r\n OFF = 0,\r\n RESIZE = 1,\r\n MOVE = 2\r\n}\r\n\r\n@Component({\r\n selector: 'app-resizable-draggable',\r\n templateUrl: './resizable-draggable.component.html',\r\n styleUrls: ['./resizable-draggable.component.scss']\r\n})\r\nexport class ResizableDraggableComponent implements OnInit, AfterViewInit {\r\n commonConstants = CommonConstants;\r\n @Input('width') public width: number = 0;\r\n @Input('height') public height: number = 0;\r\n @Input('left') public left: number = 0;\r\n @Input('top') public top: number = 0;\r\n @Input('bottom') public bottom: number = 0;\r\n @ViewChild('box') public box: ElementRef;\r\n @Input('ctrlObj') public ctrlObj: any = {};\r\n @Input('minWidth') public minWidth: number = 0;\r\n @Input('minHeight') public minHeight: number = 0;\r\n\r\n private boxPosition!: { left: number, top: number };\r\n private containerPos!: { left: number, top: number, right: number, bottom: number };\r\n public mouse!: { x: number, y: number }\r\n public status: Status = Status.OFF;\r\n mouseClick!: { x: number, y: number, left: number, top: number }\r\n private dynamicComponentRefs: Map> = new Map();\r\n\r\n borderWidthDiff: any = 10;\r\n borderHeightDiff: any = 7;\r\n containerWidth: any = 0;\r\n containerHeight: any = 0;\r\n\r\n recipientsObj: any;\r\n selectedRecipentName: string = '';\r\n selectedRecipentColor: string = '';\r\n receipentColorArr: any = [];\r\n receipentListArr: any = [];\r\n arrCopyPasteCtrl: any = [];\r\n arrUndoRedoCtrl: any = [];\r\n\r\n changeText: any;\r\n isHidden = false;\r\n showDepencieIcons: boolean = false;\r\n isActive: boolean = false;\r\n onCtrlMouseOver: string = '';\r\n showUpdateSignerEditIcon: boolean = false;\r\n isEnvelopeEditable: boolean;\r\n isShowAddIcon: boolean = true;\r\n controlTitle: string;\r\n showHideDependenciesIconDisplay: any = '';\r\n disableDependencyIconsClass: any;\r\n\r\n constructor(\r\n private commonService: CommonService,\r\n private controlPropertyService: ControlPropertyService,\r\n private toastrService: ToastrService,\r\n private authService: AuthService,\r\n private sessionStorageService: SessionStorageService,\r\n private cashedService: CashedService,\r\n ) {\r\n this.box = new ElementRef(null);\r\n }\r\n\r\n ngOnInit() {\r\n // localStorage.setItem('dependCtrlMoved', 'false');\r\n this.sessionStorageService.setDependCtrlMoved('false');\r\n if (this.ctrlObj) {\r\n this.width = this.ctrlObj.width || 0;\r\n this.height = this.ctrlObj.height || 0;\r\n this.left = this.ctrlObj.left || 0;\r\n this.top = this.ctrlObj.top || 0;\r\n this.minWidth = this.ctrlObj.minWidth || 0;\r\n this.minHeight = this.ctrlObj?.minHeight || 0;\r\n this.recipientsObj = this.ctrlObj.recipientsObj;\r\n this.isEnvelopeEditable = (this.ctrlObj.isEnvelopeEditable == \"true\" || this.ctrlObj.isEnvelopeEditable == true) ? true : false;\r\n this.isShowAddIcon = (this.ctrlObj.isEnvelopeEditable == \"true\" || this.ctrlObj.isEnvelopeEditable == true) ? true : false;\r\n }\r\n // $('.ui-resizable-handle').css('opacity', '0');\r\n\r\n this.cashedService.getControlOriginalTitle(this.ctrlObj.recipientId, this.ctrlObj.id).subscribe((result: any) => {\r\n this.controlTitle = result; // Store the result in the component property\r\n });\r\n\r\n const recipientDetails = this.authService.getRecipientDetails();\r\n if (recipientDetails) {\r\n try {\r\n const parsedRecipientDetails = JSON.parse(recipientDetails);\r\n this.receipentListArr = parsedRecipientDetails;\r\n }\r\n catch (error) {\r\n console.error('Error parsing recipient details:', error);\r\n }\r\n }\r\n\r\n const recipientColorDetails = this.authService.getRecipientColorDetails();\r\n if (recipientColorDetails) {\r\n try {\r\n const parsedRecipientColorDetails = JSON.parse(recipientColorDetails);\r\n this.receipentColorArr = parsedRecipientColorDetails;\r\n }\r\n catch (error) {\r\n console.error('Error parsing recipient color details:', error);\r\n }\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n let imageControlEle: any = document.getElementById('imgControl_' + parseInt(this.ctrlObj.pageNo));\r\n if (imageControlEle) {\r\n this.containerHeight = (imageControlEle.offsetHeight - this.borderHeightDiff);\r\n this.containerWidth = (imageControlEle.offsetWidth - this.borderWidthDiff);\r\n }\r\n this.loadBox();\r\n this.loadContainer();\r\n this.showHideDependenciesIcon();\r\n this.disableDependencyIconsClass = this.disableDependencyIcon(this.ctrlObj);\r\n }\r\n\r\n private loadBox() {\r\n if (this.box && this.box.nativeElement) {\r\n const { left, top } = this.box?.nativeElement.getBoundingClientRect();\r\n this.boxPosition = { left, top };\r\n }\r\n }\r\n\r\n private loadContainer() {\r\n const left = this.boxPosition.left - this.left;\r\n const top = this.boxPosition.top - this.top;\r\n const right = left + this.containerWidth;\r\n const bottom = top + this.containerHeight;\r\n this.containerPos = { left, top, right, bottom };\r\n }\r\n\r\n setStatus(event: MouseEvent, status: number) {\r\n if (status === 1) event.stopPropagation();\r\n else if (status === 2) this.mouseClick = { x: event.clientX, y: event.clientY, left: this.left, top: this.top };\r\n else this.loadBox();\r\n this.status = status;\r\n }\r\n\r\n onMouseMove(event: MouseEvent) {\r\n if (this.showHideContextMenu() == true) {\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + this.ctrlObj.id);\r\n if (resizableCurrentControl) {\r\n let data_guid = resizableCurrentControl.getAttribute(\"data-guid\");\r\n let getTextType: any = resizableCurrentControl.getAttribute('data-validation-type');\r\n if (data_guid.toLowerCase() != Control.Date.toLowerCase() && data_guid.toLowerCase() != Control.Radio.toLowerCase() && data_guid.toLowerCase() != Control.Checkbox.toLowerCase() && (getTextType !== 'SSN' && getTextType !== 'Zip' && getTextType !== 'Date')) {\r\n $(\"#resizable_\" + this.ctrlObj.id).resizable();\r\n $(\"#resizable_\" + this.ctrlObj.id).resizable('enable');\r\n $(\"#resizable_\" + this.ctrlObj.id).resizable({\r\n handles: this.getResizeDirection(\"resizable_\" + this.ctrlObj.id),\r\n containment: \".imgDocumentId_\" + $(\"#resizable_\" + this.ctrlObj.id).attr('pageno'),\r\n minHeight: 22,\r\n create: (event: any, ui: any) => {\r\n },\r\n resize: (event: any, ui: any) => {\r\n if (this.ctrlObj.controlName === 'Text' || this.ctrlObj.controlName === 'Name' || this.ctrlObj.controlName === 'Title') {\r\n getTextType = resizableCurrentControl.getAttribute('data-validation-type');\r\n if (getTextType !== 'SSN' && getTextType !== 'Zip' && getTextType !== 'Date') {\r\n this.updateNameOrTextLength();\r\n }\r\n }\r\n if (this.ctrlObj.controlName === 'Label') {\r\n this.labelAutoAlignment(this.ctrlObj);\r\n }\r\n },\r\n stop: (event: any, ui: any) => {\r\n\r\n },\r\n });\r\n }\r\n else {\r\n $(\"#resizable_\" + this.ctrlObj.id).resizable();\r\n $(\"#resizable_\" + this.ctrlObj.id).resizable('disable');\r\n }\r\n $(\"#resizable_\" + this.ctrlObj.id).draggable({\r\n containment: \".imgDocumentId_\" + $(\"#resizable_\" + this.ctrlObj.id).attr('pageno')\r\n });\r\n }\r\n this.updateDependenciesToolTips(resizableCurrentControl);\r\n }\r\n }\r\n\r\n getResizeDirection(resCtrlId: any) {\r\n let resizableCurrentControl: any = document.getElementById(resCtrlId);\r\n let leftAndTopPositions: any = this.controlPropertyService.getElePositions(resizableCurrentControl);\r\n this.ctrlObj.left = leftAndTopPositions.Left;\r\n this.ctrlObj.top = leftAndTopPositions.Top;\r\n this.left = leftAndTopPositions.Left;\r\n this.top = leftAndTopPositions.Top;\r\n let handleDirection = 'se';\r\n let data_guid = resizableCurrentControl.getAttribute(\"data-guid\");\r\n if (data_guid.toLowerCase() != Control.Date.toLowerCase() &&\r\n data_guid.toLowerCase() != Control.Radio.toLowerCase() &&\r\n data_guid.toLowerCase() != Control.Checkbox.toLowerCase()) {\r\n if (data_guid.toLowerCase() === Control.Name.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.Hyperlink.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.DateTimeStamp.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.Title.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.Company.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.Email.toLowerCase() ||\r\n data_guid.toLowerCase() === Control.DropDown.toLowerCase()) {\r\n handleDirection = 'e';\r\n }\r\n else {\r\n handleDirection = 'se';\r\n }\r\n }\r\n return handleDirection;\r\n }\r\n\r\n onMouseOver() {\r\n // console.log('aaaaaaaaaaaaaaaaaaaaaaaaaaa', document.getElementById('selectionBorderId'));\r\n let selectionBorderIdEle: any = document.getElementById('selectionBorderId');\r\n if (selectionBorderIdEle === null) {\r\n if (this.showHideContextMenu() == true) {\r\n this.showDepencieIcons = true;\r\n }\r\n let ctrlEle: any = document.getElementById(this.ctrlObj.id);\r\n this.onCtrlMouseOver = 'ctrlHover';\r\n this.showUpdateSignerEditIcon = this.commonService.selectedItems && this.commonService.selectedItems.length > 1 ? true : false;\r\n if (ctrlEle) {\r\n ctrlEle.style.zIndex = 999;\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + this.ctrlObj.id);\r\n if (resizableCurrentControl) {\r\n let recId: any = resizableCurrentControl.getAttribute('data-rcptid');\r\n this.selectedRecipentName = this.controlPropertyService.getRecipientName(recId);\r\n this.selectedRecipentColor = resizableCurrentControl.getAttribute('data-recp-color');\r\n\r\n this.updateDependenciesToolTips(resizableCurrentControl);\r\n let isRequired: any = resizableCurrentControl.getAttribute('data-selected');\r\n let guid: any = resizableCurrentControl.getAttribute('data-guid');\r\n setTimeout(() => {\r\n if (guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n let addDependencyIcon: any = document.getElementById(\"dependency_\" + this.ctrlObj.id);\r\n if (addDependencyIcon) {\r\n if (isRequired == true || isRequired == \"true\") {\r\n addDependencyIcon.classList.remove('text-black');\r\n addDependencyIcon.classList.remove('font21');\r\n addDependencyIcon.classList.remove('pointer');\r\n addDependencyIcon.classList.add('disabledCheckboxCtrl');\r\n addDependencyIcon.setAttribute('title','Required checkbox control can not add dependencies.');\r\n }\r\n else {\r\n addDependencyIcon.classList.remove('disabledCheckboxCtrl');\r\n addDependencyIcon.classList.remove('disabledCtrl');\r\n addDependencyIcon.classList.add('text-black');\r\n addDependencyIcon.classList.add('font21');\r\n addDependencyIcon.classList.add('pointer');\r\n addDependencyIcon.setAttribute('title','Add dependencies.');\r\n }\r\n }\r\n }\r\n }, 30);\r\n }\r\n }\r\n }\r\n }\r\n\r\n @HostListener('mouseleave', ['$event'])\r\n onMouseLeave(event: MouseEvent) {\r\n this.showDepencieIcons = false;\r\n let ctrlEle: any = document.getElementById(this.ctrlObj.id);\r\n if (ctrlEle) {\r\n ctrlEle.style.zIndex = 0;\r\n }\r\n this.status = 0;\r\n }\r\n\r\n @HostListener('click') toActive() {\r\n this.isActive = !this.isActive;\r\n }\r\n\r\n onClickDroppedControl(event: any, ctrlObj: any) {\r\n setTimeout(() => {\r\n // localStorage.setItem('CurrentClickedDroppedControl', ctrlObj.id);\r\n this.sessionStorageService.setCurrentClickedDroppedControl(ctrlObj.id);\r\n let controlTooltipEle: any = document.getElementById('controlInputTooltip');\r\n let controlEle: any = (document.getElementById(\"resizable_\" + ctrlObj.id));\r\n if (controlEle) {\r\n controlEle.style.background = 'bisque';\r\n let attr_data_guid: any = controlEle.getAttribute('data-guid');\r\n let spnSelectEle: any = document.getElementById('spn' + ctrlObj.id);\r\n if (attr_data_guid.toLowerCase() == Control.DropDown.toLowerCase()) {\r\n spnSelectEle.classList.add('mouse-selected');\r\n }\r\n if (spnSelectEle) {\r\n spnSelectEle.style.background = '';\r\n }\r\n\r\n //checking tooltip field\r\n if (controlTooltipEle) {\r\n controlTooltipEle.value = '';\r\n }\r\n let isTooltipValue: any = controlEle.getAttribute('data-customtooltip');\r\n if (isTooltipValue !== '') {\r\n if (controlTooltipEle) {\r\n controlTooltipEle.value = isTooltipValue;\r\n }\r\n }\r\n\r\n //checking required field\r\n let isRequired: any = controlEle.getAttribute('data-selected');\r\n let chkRequiredSelectedEle: any = document.getElementById('chkRequiredSelected');\r\n if (chkRequiredSelectedEle) {\r\n chkRequiredSelectedEle.checked = false;\r\n if (isRequired === 'true' || isRequired === true) {\r\n chkRequiredSelectedEle.checked = isRequired;\r\n }\r\n }\r\n\r\n //check Name/text control length fields\r\n let isLength: any = controlEle.getAttribute('maxlengthallowed');\r\n let nameorTextInputLength: any = (document.getElementById('nameInputLength'));\r\n if (ctrlObj.controlName === 'Text') {\r\n nameorTextInputLength = (document.getElementById('textInputLength'));\r\n }\r\n if (isLength) {\r\n if (nameorTextInputLength) {\r\n nameorTextInputLength.value = isLength;\r\n }\r\n }\r\n\r\n // check Name/text control is-fixed-width\r\n let isFixedWidth: any = controlEle.getAttribute('data-isfixedwidth');\r\n let isfixedwidthEle: any = (document.getElementById('isFixedWidth'));\r\n if (isfixedwidthEle) {\r\n isfixedwidthEle.checked = false;\r\n if (isFixedWidth === 'true' || isFixedWidth === true) {\r\n isfixedwidthEle.checked = isFixedWidth;\r\n }\r\n }\r\n\r\n this.checkIsFixedWidth(ctrlObj, isFixedWidth);\r\n }\r\n }, 150);\r\n this.commonService.callParentShowControlFields(event, ctrlObj);\r\n }\r\n\r\n getControllingStyle(ctrlname: any) {\r\n if (ctrlname == \"Text\" || ctrlname == 'Name' || ctrlname == 'Title') {\r\n return 'overflowClass';\r\n }\r\n else return '';\r\n }\r\n\r\n onRecipentSelect(event: any, recipient: any, selectedColor: any, ctrlId: any) {\r\n this.selectedRecipentName = recipient.name;\r\n this.selectedRecipentColor = selectedColor;\r\n let recipent: any = { name: recipient.name, id: recipient.id };\r\n let recipentObj: any = { recipent: recipent, selectedColor: selectedColor };\r\n this.commonService.callOnMouseOverRecipentChange(recipentObj);\r\n }\r\n\r\n deleteControl(event: any) {\r\n if (this.commonService.selectedItems && this.commonService.selectedItems.length) {\r\n let selecteditemsLength: any = this.sessionStorageService.getSelecteditemsLength();\r\n if (selecteditemsLength && parseInt(selecteditemsLength) > 1) {\r\n this.commonService.selectedRightClickOption(event, 'Delete');\r\n this.onClickOutsideSelectionArea(this.commonService.selectedItems);\r\n this.sessionStorageService.setSelecteditemsLength('0');\r\n }\r\n\r\n this.commonService.selectedItems.forEach((ele: any) => {\r\n let selectedCtrlEle: any = document.getElementById(ele);\r\n if (selectedCtrlEle) {\r\n if (selectedCtrlEle.style.background === 'bisque') {\r\n this.onCtrlMouseOver = 'selected';\r\n }\r\n }\r\n })\r\n let arrUndoCtrlsCount: any = [];\r\n // localStorage.setItem('arrUndoCtrlsCount', JSON.stringify(arrUndoCtrlsCount));\r\n this.sessionStorageService.setArrUndoCtrlsCount(JSON.stringify(arrUndoCtrlsCount));\r\n }\r\n let ctrlHoverOrSelected: any = this.onCtrlMouseOver;\r\n setTimeout(() => {\r\n this.onClickOutsideSelectionArea(this.commonService.selectedItems);\r\n this.commonService.callRemoveControlComponent(event, ctrlHoverOrSelected);\r\n }, 200);\r\n }\r\n\r\n openDependencyPopup(event: any, ctrlObj: any) {\r\n // let enableDependenciesFeature: any = localStorage.getItem(\"enableDependenciesFeature\");\r\n let enableDependenciesFeature: any = this.sessionStorageService.getEnableDependenciesFeature();\r\n if (enableDependenciesFeature != \"false\") {\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + ctrlObj.id);\r\n if (resizableCurrentControl) {\r\n let isRequired: any = resizableCurrentControl.getAttribute('data-selected');\r\n let guid: any = resizableCurrentControl.getAttribute('data-guid');\r\n if (guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (isRequired != true && isRequired != \"true\") {\r\n this.sessionStorageService.setCurrentClickedDroppedControl(ctrlObj.id);\r\n this.commonService.callOpenDependencyPopup(event);\r\n }\r\n }\r\n else {\r\n this.sessionStorageService.setCurrentClickedDroppedControl(ctrlObj.id);\r\n this.commonService.callOpenDependencyPopup(event);\r\n }\r\n }\r\n }\r\n }\r\n\r\n updateNameOrTextLength() {\r\n this.commonService.setTextOrNameAreaSetting(this.ctrlObj);\r\n }\r\n\r\n createDuplicateControl(event: any, ctrlObj: any) {\r\n let selecteditemsLength: any = this.sessionStorageService.getSelecteditemsLength();\r\n if (selecteditemsLength && parseInt(selecteditemsLength) > 1) {\r\n this.commonService.selectedRightClickOption(event, 'Duplicate');\r\n this.onClickOutsideSelectionArea(this.commonService.selectedItems);\r\n this.sessionStorageService.setSelecteditemsLength('0');\r\n }\r\n else {\r\n if (ctrlObj.className == \"dropdown\") {\r\n let selectDropdownControlField: any = (document.getElementById('spn' + ctrlObj.id)) as HTMLSelectElement;\r\n if (selectDropdownControlField && selectDropdownControlField.options && selectDropdownControlField.options.length == 0) {\r\n this.toastrService.warning('Please add the options for dropdown control.', 'Warning');\r\n return false;\r\n }\r\n }\r\n\r\n // let arrCopyPasteCtrl: any = localStorage.getItem('ArrCopyPasteCtrl');\r\n let arrCopyPasteCtrl: any = this.sessionStorageService.getArrCopyPasteCtrl();\r\n let childCtrlObj: any = ctrlObj;\r\n // if (arrCopyPasteCtrl) {\r\n // this.arrCopyPasteCtrl = JSON.parse(arrCopyPasteCtrl);\r\n // if (this.arrCopyPasteCtrl && this.arrCopyPasteCtrl.length > 0) {\r\n // if (this.arrCopyPasteCtrl[0].ParentControl.dataGuid == ctrlObj.dataGuid) {\r\n // childCtrlObj = this.arrCopyPasteCtrl[0].Control;\r\n // this.arrCopyPasteCtrl = [];\r\n // this.arrCopyPasteCtrl.push({ ParentControl: ctrlObj, Control: childCtrlObj, Action: 'P' });\r\n // // localStorage.setItem('ArrCopyPasteCtrl', JSON.stringify(this.arrCopyPasteCtrl));\r\n // this.sessionStorageService.setArrCopyPasteCtrl(JSON.stringify(this.arrCopyPasteCtrl));\r\n // }\r\n // else {\r\n // this.arrUndoRedoCtrl = [];\r\n // // localStorage.setItem('ArrUndoRedoCtrl', JSON.stringify(this.arrUndoRedoCtrl));\r\n // this.sessionStorageService.setArrUndoRedoCtrl(JSON.stringify(this.arrUndoRedoCtrl));\r\n // }\r\n // }\r\n // }\r\n\r\n this.commonService.callOpenCreateDuplicateControl(childCtrlObj);\r\n return true;\r\n }\r\n\r\n\r\n return;\r\n }\r\n\r\n disableDependencyIcon(ctrlObj: any) {\r\n //let enableDependenciesFeature: any = localStorage.getItem(\"enableDependenciesFeature\");\r\n let enableDependenciesFeature: any = this.sessionStorageService.getEnableDependenciesFeature();\r\n if (enableDependenciesFeature != \"false\") {\r\n let resizableCurrentControl: any = document.getElementById(\"resizable_\" + this.ctrlObj.id);\r\n if (resizableCurrentControl) {\r\n let recId: any = resizableCurrentControl.getAttribute('data-rcptid');\r\n this.selectedRecipentName = this.controlPropertyService.getRecipientName(recId);\r\n let isRequired: any = resizableCurrentControl.getAttribute('data-selected');\r\n let guid: any = resizableCurrentControl.getAttribute('data-guid');\r\n let dependencyCurrentControl: any = document.getElementById(\"dependency_\" + this.ctrlObj.id);\r\n if (guid.toLowerCase() == Control.Checkbox.toLowerCase()) {\r\n if (isRequired == true || isRequired == \"true\") {\r\n if(dependencyCurrentControl)\r\n dependencyCurrentControl.setAttribute('title','Required controls cannont add dependencies.');\r\n return \"fa fa-puzzle-piece top-n2 px-5p disabledCheckboxCtrl\";\r\n }\r\n else {\r\n if(dependencyCurrentControl)\r\n dependencyCurrentControl.setAttribute('title','Add dependencies.');\r\n return \"fa fa-puzzle-piece font21 text-black top-n2 px-5p pointer\";\r\n }\r\n }\r\n else return \"fa fa-puzzle-piece font21 text-black top-n2 px-5p pointer\";\r\n }\r\n return \"fa fa-puzzle-piece top-n2 px-5p disabledCheckboxCtrl\";\r\n }\r\n else {\r\n return \"fa fa-puzzle-piece top-n2 px-5p disabledCheckboxCtrl\";\r\n }\r\n }\r\n\r\n showHideDependenciesIcon() {\r\n let enableDependenciesFeature: any = this.sessionStorageService.getEnableDependenciesFeature();\r\n if (enableDependenciesFeature == \"true\") this.showHideDependenciesIconDisplay = \"true\";\r\n else this.showHideDependenciesIconDisplay = \"false\";\r\n }\r\n\r\n labelAutoAlignment(ctrlObj: any) {\r\n let currentLabel: any = document.getElementById(ctrlObj.id);\r\n if (currentLabel) {\r\n if (currentLabel) {\r\n let currentLabelSpn: any = document.getElementById('spn' + ctrlObj.id);\r\n let currentLabelResize: any = document.getElementById('resizable_' + ctrlObj.id);\r\n let labelSpanHeight = currentLabelSpn.offsetHeight;\r\n let labelSpanWidth = currentLabelSpn.offsetWidth;\r\n let labelDivWidth = parseFloat(currentLabelResize.style.width.split('px')[0]);\r\n let labelDivHeight = parseFloat(currentLabelResize.style.height.split('px')[0]);\r\n if (labelSpanHeight > labelDivHeight) {\r\n setTimeout(() => {\r\n currentLabelResize.style.height = (labelSpanHeight + 3) + 'px';\r\n }, 200);\r\n }\r\n\r\n if (labelSpanWidth > labelDivWidth) {\r\n setTimeout(() => {\r\n currentLabelResize.style.width = (labelSpanWidth + 3) + 'px';\r\n }, 200);\r\n }\r\n }\r\n }\r\n }\r\n\r\n // getTransformScale() {\r\n // const element = document.querySelector('.scroll-style');\r\n // if (!element) return { scaleX: 1, scaleY: 1 }; // Default scale values if element not found\r\n\r\n // const style = window.getComputedStyle(element);\r\n // const transform = style.transform; //|| style.webkitTransform || style.mozTransform;\r\n\r\n // let mat = transform.match(/^matrix\\((.+)\\)$/);\r\n // let scaleX, scaleY;\r\n\r\n // if (mat) {\r\n // const values = mat[1].split(', ').map(parseFloat);\r\n // scaleX = values[0];\r\n // scaleY = values[3];\r\n // } else {\r\n // scaleX = 1; // No scaling applied, default to 1\r\n // scaleY = 1; // No scaling applied, default to 1\r\n // }\r\n\r\n // return scaleX;\r\n // }\r\n\r\n checkIsFixedWidth(ctrlObj: any, isFixedWidth: any) {\r\n let hideFixedwidthCheckbox: any = this.controlPropertyService.getHideFixedwidthCheckbox();\r\n let spnCurrentSelectedControl: any = (document.getElementById('resizable_' + ctrlObj.id));\r\n let dataValidationType: any = spnCurrentSelectedControl.getAttribute('data-validation-type');\r\n const controlName = ctrlObj.controlName.toLowerCase();\r\n const inputLengthId = controlName + 'InputLength';\r\n const charInputLimitId = controlName + 'CharInputLimit';\r\n let inputLength: any = document.getElementById(inputLengthId);\r\n let charInputLimit: any = document.getElementById(charInputLimitId);\r\n if (inputLength) {\r\n inputLength.removeAttribute('disabled', true);\r\n }\r\n if (isFixedWidth === 'false' || isFixedWidth === false) {\r\n if (charInputLimit) {\r\n if (controlName === 'text' && dataValidationType && (dataValidationType.toLowerCase() === 'ssn' || dataValidationType.toLowerCase() === 'zip' || dataValidationType.toLowerCase() === 'date')) {\r\n this.controlPropertyService.hideCtrlCharLimitInput(charInputLimit);\r\n } else {\r\n this.controlPropertyService.showCtrlCharLimitInput(charInputLimit);\r\n if (spnCurrentSelectedControl) {\r\n let mxCharVal = spnCurrentSelectedControl.getAttribute('data-maxcharlimit');\r\n if (mxCharVal) {\r\n if (controlName === 'text' && dataValidationType && (dataValidationType.toLowerCase() === 'email')) {\r\n if (mxCharVal <= 100) {\r\n charInputLimit.value = mxCharVal;\r\n } else {\r\n charInputLimit.value = '100';\r\n }\r\n } else {\r\n charInputLimit.value = mxCharVal;\r\n }\r\n }\r\n }\r\n let isFixedWidthCont: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'block';\r\n }\r\n }\r\n }\r\n if (controlName === 'text' && dataValidationType && (dataValidationType.toLowerCase() === 'ssn' || dataValidationType.toLowerCase() === 'zip' || dataValidationType.toLowerCase() === 'date')) {\r\n if (inputLength) {\r\n this.controlPropertyService.showCtrlLengthInput(inputLength);\r\n setTimeout(() => {\r\n inputLength.setAttribute('disabled', true);\r\n }, 0);\r\n let isFixedWidthCont: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'none';\r\n }\r\n }\r\n } else {\r\n if (inputLength) {\r\n this.controlPropertyService.hideCtrlLengthInput(inputLength);\r\n }\r\n }\r\n } else {\r\n if (inputLength) {\r\n if (controlName === 'text' && dataValidationType && (dataValidationType.toLowerCase() === 'ssn' || dataValidationType.toLowerCase() === 'zip' || dataValidationType.toLowerCase() === 'date' || dataValidationType.toLowerCase() === 'email')) {\r\n setTimeout(() => {\r\n inputLength.setAttribute('disabled', true);\r\n }, 0);\r\n }\r\n this.controlPropertyService.showCtrlLengthInput(inputLength);\r\n if (controlName === 'title') {\r\n let maxlengthallowedValue: any = spnCurrentSelectedControl.getAttribute('maxlengthallowed');\r\n if (maxlengthallowedValue) {\r\n inputLength.value = maxlengthallowedValue;\r\n } else {\r\n inputLength.value = '20';\r\n }\r\n }\r\n }\r\n if (charInputLimit) {\r\n this.controlPropertyService.hideCtrlCharLimitInput(charInputLimit);\r\n }\r\n if (hideFixedwidthCheckbox === true) {\r\n let isFixedWidthCont: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'none';\r\n }\r\n } else {\r\n let isFixedWidthCont: any = document.getElementById('isFixedWidthTextContainer');\r\n if (isFixedWidthCont) {\r\n isFixedWidthCont.style.display = 'block';\r\n }\r\n }\r\n }\r\n }\r\n\r\n showHideContextMenu() {\r\n let isEnvelopeEditable: any = this.sessionStorageService.getIsEnvelopeEditable()\r\n if (isEnvelopeEditable == \"true\") return true;\r\n else return false;\r\n }\r\n\r\n //hover the dropped control, adjusting to left, right and top positions for tooltips elements\r\n updateDependenciesToolTips(resizableCurrentControl: any) {\r\n let ctrlPositions: any = this.controlPropertyService.getElePositions(resizableCurrentControl);\r\n let containerWidthVal: any = this.containerWidth / 2;\r\n let containerHeightVal: any = 50;\r\n if (ctrlPositions) {\r\n if (containerWidthVal > ctrlPositions.Left) {\r\n //params are control element, left and right\r\n this.updateLeftAndRightValues(resizableCurrentControl, '-3px', 'auto');\r\n }\r\n else if (containerWidthVal < ctrlPositions.Left) {\r\n this.updateLeftAndRightValues(resizableCurrentControl, 'auto', '-3px');\r\n }\r\n\r\n if (containerHeightVal > ctrlPositions.Top) {\r\n if (resizableCurrentControl && resizableCurrentControl.childNodes[0] && resizableCurrentControl.childNodes[0].style) {\r\n let height: any = resizableCurrentControl.style.height.split('px')[0];\r\n resizableCurrentControl.childNodes[0].style.top = parseInt(height) + 2 + 'px';\r\n }\r\n }\r\n else if (containerHeightVal < ctrlPositions.Top) {\r\n if (resizableCurrentControl && resizableCurrentControl.childNodes[0] && resizableCurrentControl.childNodes[0].style) {\r\n resizableCurrentControl.childNodes[0].style.top = '-40px';\r\n }\r\n }\r\n }\r\n }\r\n\r\n updateLeftAndRightValues(resizableCurrentControl: any, left: any, right: any) {\r\n if (resizableCurrentControl && resizableCurrentControl.childNodes[0] && resizableCurrentControl.childNodes[0].style) {\r\n resizableCurrentControl.childNodes[0].style.left = left;\r\n resizableCurrentControl.childNodes[0].style.right = right;\r\n }\r\n }\r\n\r\n onClickOutsideSelectionArea(list: any) {\r\n if (list && list.length) {\r\n list.forEach((ele: any) => {\r\n let selectedCtrlEle: any = document.getElementById(ele);\r\n if (selectedCtrlEle) {\r\n selectedCtrlEle.style.background = '#ffffff';\r\n }\r\n })\r\n }\r\n }\r\n\r\n updateSignerMultipleControls(event: any) {\r\n if (this.commonService.selectedItems && this.commonService.selectedItems.length) {\r\n this.commonService.callUpdateSignerMultipleControls();\r\n }\r\n }\r\n onDblClickDroppedControl(event: any, ctrlObj: any){\r\n if (ctrlObj.controlName === 'Text') {\r\n this.sessionStorageService.setCurrentClickedDroppedControl(ctrlObj.id);\r\n let controlEle: any = (document.getElementById(\"resizable_\" + ctrlObj.id));\r\n if (controlEle) {\r\n let originalText: any = controlEle.getAttribute('data-asteriskOriginalText');\r\n let spncontrolEle: any = (document.getElementById(\"spn\" + ctrlObj.id));\r\n if (spncontrolEle) {\r\n spncontrolEle.innerHTML = originalText.replace(/\\n/g, ' ');\r\n spncontrolEle.setAttribute('data-clickedAttribute',false);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\n\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { ToastrModule } from 'ngx-toastr';\r\nimport { NgxColorsModule } from 'ngx-colors';\r\nimport { AppComponent } from './app.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ModalModule } from 'ngx-bootstrap/modal';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { CarouselModule } from 'ngx-bootstrap/carousel';\r\nimport { RecaptchaModule } from 'ng-recaptcha';\r\nimport { CKEditorModule } from 'ng2-ckeditor';\r\nimport { MaterialModule } from './material.module';\r\n\r\nimport { HeaderComponent } from './shared/header/header.component';\r\nimport { FooterComponent } from './shared/footer/footer.component';\r\n\r\nimport { PaginationComponent } from './shared/pagination/pagination.component';\r\nimport { ControlComponent } from './components/control/control.component';\r\nimport { ResizableDraggableComponent } from './components/resizable-draggable/resizable-draggable.component';\r\nimport { EnvelopePrepareComponent } from './components/envelope-prepare/envelope-prepare.component';\r\nimport { TemplatePrepareComponent } from './components/template-prepare/template-prepare.component';\r\nimport { PreviewViewComponent } from './components/preview-view/preview-view.component';\r\nimport { AddDropdownListComponent} from './modals/add-dropdown-list/add-dropdown-list.component';\r\nimport { AddDependenciesComponent } from './modals/add-dependencies/add-dependencies.component';\r\nimport { ViewSettingComponent } from './modals/view-setting/view-setting.component';\r\nimport { KeyboardShortcutsComponent } from './modals/keyboard-shortcuts/keyboard-shortcuts.component';\r\nimport { GotoStepOneComponent } from './modals/goto-step-one/goto-step-one.component';\r\nimport { DiscardEnvelopeComponent } from './modals/discard-envelope/discard-envelope.component';\r\nimport { ClearallControlsComponent } from './modals/clearall-controls/clearall-controls.component';\r\nimport { GlobalErrorComponent } from './components/global-error/global-error.component';\r\nimport { InitializePrepareComponent } from './components/initialize-prepare/initialize-prepare.component';\r\nimport { RecipientsComponent } from './components/recipients/recipients.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { AuthService } from './services/auth.service';\r\nimport { ViewPdfComponent } from './components/view-pdf/view-pdf.component';\r\nimport { ContextualMenuComponent } from './components/contextual-menu/contextual-menu.component';\r\nimport { ContextualMenuDirective } from './components/contextual-menu/contextual-menu.directive';\r\nimport { NumberArrayPipe } from './pipe/number-array.pipe';\r\nimport { TranslationService } from './services/translation.service';\r\nimport { MultiBrandingComponent } from './modals/multi-branding/multi-branding.component';\r\nimport { MultipleSignerUpdateComponent } from './modals/multiple-signer-update/multiple-signer-update.component';\r\nimport { APIService } from './services/api.service';\r\nimport { InfoComponent } from './components/info/info.component';\r\nimport { InitialsCreationComponent } from './modals/initials-creation/initials-creation.component';\r\n\r\nimport { LoginComponent } from './components/authentication/login/login.component';\r\nimport { RegisterComponent } from './components/authentication/register/register.component';\r\nimport { ForgotPasswordComponent } from './components/authentication/forgot-password/forgot-password.component';\r\nimport { UserHeaderComponent } from './components/authentication/user-header/user-header.component';\r\nimport { SendComponent} from './components/step-one/send/send.component';\r\nimport { SettingDetailsComponent } from './components/step-one/setting-details/setting-details.component';\r\nimport { AddDocumentComponent } from './components/step-one/add-document/add-document.component';\r\nimport { AddRecipientsComponent } from './components/step-one/add-recipients/add-recipients.component';\r\nimport { AddSubjectComponent } from './components/step-one/add-subject/add-subject.component';\r\nimport { ResetPasswordComponent } from './components/authentication/reset-password/reset-password.component';\r\nimport { PostForgotPasswordComponent } from './components/authentication/post-forgot-password/post-forgot-password.component';\r\nimport { DocumentUploadComponent } from './modals/step-one/document-upload/document-upload.component';\r\nimport { TemplateComponent } from './modals/step-one/template/template.component';\r\nimport { RuleComponent } from './modals/step-one/rule/rule.component';\r\nimport { TemplateGroupComponent } from './modals/step-one/template-group/template-group.component';\r\nimport { PostRegisterComponent } from './components/authentication/post-register/post-register.component';\r\nimport { UploadImageLogoComponent } from './modals/step-one/upload-image-logo/upload-image-logo.component';\r\nimport { ReviewDetailsComponent } from './components/authentication/review-details/review-details.component';\r\nimport { DeliveryModeComponent } from './modals/step-one/delivery-mode/delivery-mode.component';\r\nimport { ContactDetailsComponent } from './modals/step-one/contact-details/contact-details.component';\r\nimport { AttachmentRequestComponent } from './components/step-one/attachment-request/attachment-request.component';\r\nimport { ActivitySummaryComponent } from './components/home/activity-summary/activity-summary.component';\r\nimport { DashboardComponent } from './components/home/dashboard/dashboard.component';\r\nimport { DashboardDetailsComponent } from './components/home/dashboard-details/dashboard-details.component';\r\nimport { DashboardLeftsectionComponent } from './components/home/dashboard-leftsection/dashboard-leftsection.component';\r\nimport { FolderComponent } from './modals/home/folder/folder.component';\r\nimport { EnvelopesComponent } from './components/envelopes/envelopes.component';\r\nimport { StatsComponent } from './components/stats/stats.component';\r\nimport { DownloadExcelComponent } from './components/home/download-excel/download-excel.component';\r\nimport { CdkDetailRowDirective } from './directives/cdkDetails/cdk-detail-row.directive';\r\nimport { PostResetPasswordComponent } from './components/authentication/post-reset-password/post-reset-password.component';\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n HeaderComponent,\r\n FooterComponent,\r\n PaginationComponent,\r\n ControlComponent,\r\n ResizableDraggableComponent,\r\n EnvelopePrepareComponent,\r\n TemplatePrepareComponent,\r\n PreviewViewComponent,\r\n AddDropdownListComponent,\r\n AddDependenciesComponent,\r\n ViewSettingComponent,\r\n KeyboardShortcutsComponent,\r\n GotoStepOneComponent,\r\n DiscardEnvelopeComponent,\r\n ClearallControlsComponent,\r\n GlobalErrorComponent,\r\n InitializePrepareComponent,\r\n RecipientsComponent,\r\n ViewPdfComponent,\r\n ContextualMenuComponent,\r\n ContextualMenuDirective,\r\n NumberArrayPipe,\r\n MultiBrandingComponent,\r\n MultipleSignerUpdateComponent,\r\n InfoComponent,\r\n InitialsCreationComponent,\r\n LoginComponent,\r\n RegisterComponent,\r\n ForgotPasswordComponent,\r\n UserHeaderComponent,\r\n PostForgotPasswordComponent,\r\n ResetPasswordComponent,\r\n SendComponent,\r\n SettingDetailsComponent,\r\n AddDocumentComponent,\r\n AddRecipientsComponent,\r\n AddSubjectComponent,\r\n DocumentUploadComponent,\r\n TemplateComponent,\r\n RuleComponent,\r\n TemplateGroupComponent,\r\n PostRegisterComponent,\r\n UploadImageLogoComponent,\r\n ReviewDetailsComponent,\r\n DeliveryModeComponent,\r\n ContactDetailsComponent,\r\n AttachmentRequestComponent,\r\n ActivitySummaryComponent,\r\n DashboardComponent,\r\n DashboardDetailsComponent,\r\n DashboardLeftsectionComponent,\r\n FolderComponent,\r\n EnvelopesComponent,\r\n StatsComponent,\r\n DownloadExcelComponent,\r\n CdkDetailRowDirective,\r\n PostResetPasswordComponent\r\n\r\n ],\r\n imports: [\r\n BrowserModule, FormsModule, ReactiveFormsModule, BrowserAnimationsModule,CKEditorModule,\r\n AppRoutingModule, NgxColorsModule, CarouselModule.forRoot(),RecaptchaModule,MaterialModule,\r\n ToastrModule.forRoot({\r\n timeOut: 3000,\r\n closeButton: true,\r\n progressBar: false,\r\n positionClass:'toast-top-right',\r\n preventDuplicates: true,\r\n newestOnTop:true\r\n }),\r\n DragDropModule,\r\n ModalModule.forRoot(),\r\n HttpClientModule\r\n ],\r\n providers: [BsModalRef, AuthService, TranslationService, APIService],\r\n exports: [NumberArrayPipe],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\n\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n","var map = {\n\t\"./af\": 5637,\n\t\"./af.js\": 5637,\n\t\"./ar\": 6777,\n\t\"./ar-dz\": 4508,\n\t\"./ar-dz.js\": 4508,\n\t\"./ar-kw\": 7504,\n\t\"./ar-kw.js\": 7504,\n\t\"./ar-ly\": 5373,\n\t\"./ar-ly.js\": 5373,\n\t\"./ar-ma\": 2412,\n\t\"./ar-ma.js\": 2412,\n\t\"./ar-ps\": 8823,\n\t\"./ar-ps.js\": 8823,\n\t\"./ar-sa\": 6670,\n\t\"./ar-sa.js\": 6670,\n\t\"./ar-tn\": 6448,\n\t\"./ar-tn.js\": 6448,\n\t\"./ar.js\": 6777,\n\t\"./az\": 3009,\n\t\"./az.js\": 3009,\n\t\"./be\": 8299,\n\t\"./be.js\": 8299,\n\t\"./bg\": 4685,\n\t\"./bg.js\": 4685,\n\t\"./bm\": 1171,\n\t\"./bm.js\": 1171,\n\t\"./bn\": 3590,\n\t\"./bn-bd\": 5841,\n\t\"./bn-bd.js\": 5841,\n\t\"./bn.js\": 3590,\n\t\"./bo\": 4309,\n\t\"./bo.js\": 4309,\n\t\"./br\": 4130,\n\t\"./br.js\": 4130,\n\t\"./bs\": 8033,\n\t\"./bs.js\": 8033,\n\t\"./ca\": 5294,\n\t\"./ca.js\": 5294,\n\t\"./cs\": 3028,\n\t\"./cs.js\": 3028,\n\t\"./cv\": 5807,\n\t\"./cv.js\": 5807,\n\t\"./cy\": 342,\n\t\"./cy.js\": 342,\n\t\"./da\": 8269,\n\t\"./da.js\": 8269,\n\t\"./de\": 1489,\n\t\"./de-at\": 2123,\n\t\"./de-at.js\": 2123,\n\t\"./de-ch\": 7757,\n\t\"./de-ch.js\": 7757,\n\t\"./de.js\": 1489,\n\t\"./dv\": 8152,\n\t\"./dv.js\": 8152,\n\t\"./el\": 7687,\n\t\"./el.js\": 7687,\n\t\"./en-au\": 6668,\n\t\"./en-au.js\": 6668,\n\t\"./en-ca\": 6798,\n\t\"./en-ca.js\": 6798,\n\t\"./en-gb\": 3615,\n\t\"./en-gb.js\": 3615,\n\t\"./en-ie\": 1364,\n\t\"./en-ie.js\": 1364,\n\t\"./en-il\": 9907,\n\t\"./en-il.js\": 9907,\n\t\"./en-in\": 533,\n\t\"./en-in.js\": 533,\n\t\"./en-nz\": 3190,\n\t\"./en-nz.js\": 3190,\n\t\"./en-sg\": 1096,\n\t\"./en-sg.js\": 1096,\n\t\"./eo\": 3962,\n\t\"./eo.js\": 3962,\n\t\"./es\": 5345,\n\t\"./es-do\": 5010,\n\t\"./es-do.js\": 5010,\n\t\"./es-mx\": 3654,\n\t\"./es-mx.js\": 3654,\n\t\"./es-us\": 9043,\n\t\"./es-us.js\": 9043,\n\t\"./es.js\": 5345,\n\t\"./et\": 5343,\n\t\"./et.js\": 5343,\n\t\"./eu\": 728,\n\t\"./eu.js\": 728,\n\t\"./fa\": 787,\n\t\"./fa.js\": 787,\n\t\"./fi\": 1771,\n\t\"./fi.js\": 1771,\n\t\"./fil\": 5335,\n\t\"./fil.js\": 5335,\n\t\"./fo\": 9761,\n\t\"./fo.js\": 9761,\n\t\"./fr\": 1670,\n\t\"./fr-ca\": 8991,\n\t\"./fr-ca.js\": 8991,\n\t\"./fr-ch\": 7280,\n\t\"./fr-ch.js\": 7280,\n\t\"./fr.js\": 1670,\n\t\"./fy\": 4203,\n\t\"./fy.js\": 4203,\n\t\"./ga\": 9858,\n\t\"./ga.js\": 9858,\n\t\"./gd\": 8605,\n\t\"./gd.js\": 8605,\n\t\"./gl\": 7365,\n\t\"./gl.js\": 7365,\n\t\"./gom-deva\": 3896,\n\t\"./gom-deva.js\": 3896,\n\t\"./gom-latn\": 5587,\n\t\"./gom-latn.js\": 5587,\n\t\"./gu\": 7950,\n\t\"./gu.js\": 7950,\n\t\"./he\": 2029,\n\t\"./he.js\": 2029,\n\t\"./hi\": 1897,\n\t\"./hi.js\": 1897,\n\t\"./hr\": 9816,\n\t\"./hr.js\": 9816,\n\t\"./hu\": 2253,\n\t\"./hu.js\": 2253,\n\t\"./hy-am\": 8196,\n\t\"./hy-am.js\": 8196,\n\t\"./id\": 1307,\n\t\"./id.js\": 1307,\n\t\"./is\": 5474,\n\t\"./is.js\": 5474,\n\t\"./it\": 3099,\n\t\"./it-ch\": 8188,\n\t\"./it-ch.js\": 8188,\n\t\"./it.js\": 3099,\n\t\"./ja\": 9127,\n\t\"./ja.js\": 9127,\n\t\"./jv\": 182,\n\t\"./jv.js\": 182,\n\t\"./ka\": 758,\n\t\"./ka.js\": 758,\n\t\"./kk\": 3444,\n\t\"./kk.js\": 3444,\n\t\"./km\": 2034,\n\t\"./km.js\": 2034,\n\t\"./kn\": 6223,\n\t\"./kn.js\": 6223,\n\t\"./ko\": 3064,\n\t\"./ko.js\": 3064,\n\t\"./ku\": 8714,\n\t\"./ku-kmr\": 961,\n\t\"./ku-kmr.js\": 961,\n\t\"./ku.js\": 8714,\n\t\"./ky\": 2062,\n\t\"./ky.js\": 2062,\n\t\"./lb\": 4796,\n\t\"./lb.js\": 4796,\n\t\"./lo\": 9279,\n\t\"./lo.js\": 9279,\n\t\"./lt\": 106,\n\t\"./lt.js\": 106,\n\t\"./lv\": 1840,\n\t\"./lv.js\": 1840,\n\t\"./me\": 2240,\n\t\"./me.js\": 2240,\n\t\"./mi\": 3588,\n\t\"./mi.js\": 3588,\n\t\"./mk\": 5518,\n\t\"./mk.js\": 5518,\n\t\"./ml\": 7823,\n\t\"./ml.js\": 7823,\n\t\"./mn\": 8657,\n\t\"./mn.js\": 8657,\n\t\"./mr\": 1285,\n\t\"./mr.js\": 1285,\n\t\"./ms\": 3014,\n\t\"./ms-my\": 6253,\n\t\"./ms-my.js\": 6253,\n\t\"./ms.js\": 3014,\n\t\"./mt\": 167,\n\t\"./mt.js\": 167,\n\t\"./my\": 7940,\n\t\"./my.js\": 7940,\n\t\"./nb\": 14,\n\t\"./nb.js\": 14,\n\t\"./ne\": 9023,\n\t\"./ne.js\": 9023,\n\t\"./nl\": 4208,\n\t\"./nl-be\": 1412,\n\t\"./nl-be.js\": 1412,\n\t\"./nl.js\": 4208,\n\t\"./nn\": 1354,\n\t\"./nn.js\": 1354,\n\t\"./oc-lnc\": 870,\n\t\"./oc-lnc.js\": 870,\n\t\"./pa-in\": 389,\n\t\"./pa-in.js\": 389,\n\t\"./pl\": 7342,\n\t\"./pl.js\": 7342,\n\t\"./pt\": 4774,\n\t\"./pt-br\": 3003,\n\t\"./pt-br.js\": 3003,\n\t\"./pt.js\": 4774,\n\t\"./ro\": 5333,\n\t\"./ro.js\": 5333,\n\t\"./ru\": 3451,\n\t\"./ru.js\": 3451,\n\t\"./sd\": 3921,\n\t\"./sd.js\": 3921,\n\t\"./se\": 9682,\n\t\"./se.js\": 9682,\n\t\"./si\": 582,\n\t\"./si.js\": 582,\n\t\"./sk\": 4348,\n\t\"./sk.js\": 4348,\n\t\"./sl\": 5337,\n\t\"./sl.js\": 5337,\n\t\"./sq\": 9358,\n\t\"./sq.js\": 9358,\n\t\"./sr\": 683,\n\t\"./sr-cyrl\": 9382,\n\t\"./sr-cyrl.js\": 9382,\n\t\"./sr.js\": 683,\n\t\"./ss\": 1156,\n\t\"./ss.js\": 1156,\n\t\"./sv\": 9855,\n\t\"./sv.js\": 9855,\n\t\"./sw\": 8536,\n\t\"./sw.js\": 8536,\n\t\"./ta\": 7754,\n\t\"./ta.js\": 7754,\n\t\"./te\": 7809,\n\t\"./te.js\": 7809,\n\t\"./tet\": 1297,\n\t\"./tet.js\": 1297,\n\t\"./tg\": 2527,\n\t\"./tg.js\": 2527,\n\t\"./th\": 5862,\n\t\"./th.js\": 5862,\n\t\"./tk\": 9331,\n\t\"./tk.js\": 9331,\n\t\"./tl-ph\": 4387,\n\t\"./tl-ph.js\": 4387,\n\t\"./tlh\": 3592,\n\t\"./tlh.js\": 3592,\n\t\"./tr\": 9732,\n\t\"./tr.js\": 9732,\n\t\"./tzl\": 9570,\n\t\"./tzl.js\": 9570,\n\t\"./tzm\": 3553,\n\t\"./tzm-latn\": 80,\n\t\"./tzm-latn.js\": 80,\n\t\"./tzm.js\": 3553,\n\t\"./ug-cn\": 5674,\n\t\"./ug-cn.js\": 5674,\n\t\"./uk\": 9974,\n\t\"./uk.js\": 9974,\n\t\"./ur\": 5773,\n\t\"./ur.js\": 5773,\n\t\"./uz\": 2738,\n\t\"./uz-latn\": 7135,\n\t\"./uz-latn.js\": 7135,\n\t\"./uz.js\": 2738,\n\t\"./vi\": 43,\n\t\"./vi.js\": 43,\n\t\"./x-pseudo\": 767,\n\t\"./x-pseudo.js\": 767,\n\t\"./yo\": 150,\n\t\"./yo.js\": 150,\n\t\"./zh-cn\": 1828,\n\t\"./zh-cn.js\": 1828,\n\t\"./zh-hk\": 6644,\n\t\"./zh-hk.js\": 6644,\n\t\"./zh-mo\": 9305,\n\t\"./zh-mo.js\": 9305,\n\t\"./zh-tw\": 1860,\n\t\"./zh-tw.js\": 1860\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5358;"],"x_google_ignoreList":[156]}