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zmC,KAAM,OACN0mC,OAAQ,SACRC,KAAM,OACNC,UAAW,YACXC,OAAQ,SACRC,WAAY,aACZC,YAAa,cACbC,aAAc,eACdv+C,QAAS,UACTw+C,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,WAAY,aACZC,aAAc,eACdC,YAAa,cACbC,cAAe,UACfC,WAAY,aACZC,iBAAkB,mBAClBC,WAAY,cACZC,WAAY,cACZC,YAAa,eAGb3yE,IAAK,MACLyb,KAAM,OACNm3D,aAAc,kBACdC,OAAQ,SACRC,QAAS,WACT7xD,MAAO,QACP7pB,OAAQ,YAGZ27E,KAAmBjG,UACnBkG,KAAgBlG,QAAQ,CACtBmG,gBAAiBjE,KAEjBkE,OAAQ,CACN9D,QAAS+D,KACTC,WAAYvE,GACZwE,KAAM,CAACC,UAGXC,MAAUzG,QAAQ,CAChB18B,OAAQ,CACN6+B,YAAaA,GACbuE,eAAgB,CAAC,iBAAkB,UAAW,WAC9CC,iBAAkB,CAAC,0CAGvBC,MAAoBC,SAAS,iBAAkB,CAC7CC,QAASvuE,EAAYC,WAGrBuuE,qBAAsB,uCAkBf3E,CAAS,KCvQtB4E,OAAyBC,gBAAgB7E,IACtC8E,MAAMv6D,GAAOP,QAAQ9f,MAAMqgB","names":["ApiService","constructor","_http","_route","_cookieService","this","apiPostMethod","URL","body","post","apiGetMethod","get","getRouterLink","localStorage","getItem","setRouterLink","router","setItem","setPermissionByMenu","permission","changedetected","isDetected","getDetectionChanges","logout","document","classList","remove","hasRefreshed","sessionStorage","clear","deleteAll","navigate","static","t","i0","i1","i2","i3","core","Yz7","factory","ɵfac","providedIn","BootstrapBreakpoints","Id","Name","MediaQuery","logoBase64","Notification","id","type","message","classProp","classPropAnimation","timeout","NotificationType","success","warning","error","info","StatusFilter","label","value","TicketCenter","RelevanceFilter","MatchModeOptions","FilterMatchMode","DATE_IS","DATE_BEFORE","DATE_AFTER","ClientTypeList","InternalList","boleanValue","AllSiteList","UserTypeList","FilterLogs","FilterLogsBA007","LanguageFilter","ThemesOptions","metaThemeColor","spinerLoaderColor","spinerBgColor","spiner","Spinkit","skThreeBounce","primengTheme","NAVIGATION","routerLink","iconClass","translate","hasPermission","showInToolbar","showInNavBar","isNew","SubMenu","NotificationService","getHttpError","Subject","showContinue","showLoading","clearSideOptions","getHomeOptions","clickBetContinue","updateHeader","_subject","_idx","getObservable","asObservable","next","init","notifyHttpError","httpError","onHttpError","notifyShowNext","show","onShowNext","notifyShowLoading","onShowLoading","notifyClearSideOptions","onClearSideOptions","notifyHomeOptions","option","onHomeOptions","complete","CounterService","_counterTickets","BehaviorSubject","_Counter","_counterPendingTickets","_CounterPendingTickets","_counterHelpNotifications","_CounterHelpNotifications","_counterInternalNotifications","_CounterInternalNotifications","_counterPartnerNotifications","_CounterPartnerNotifications","_counterDirectNotifications","_CounterDirectNotifications","_actualRouteNotification","_CounterActualRoute","_isNavigationExpanded","_NavigationExpanded","_isNotificationCalled","_IsNotificationCalled","PendingTickets","pCounter","CounterPendingTickets","CounterHelpNotifications","CounterInternalNotifications","CounterPartnerNotifications","CounterDirectNotifications","ActualRoute","pRoute","IsExpandedSideNav","isExpandex","setNotificationsServiceSub","apiGuard","_apiService","_notificationService","_counterService","events","pipe","filter","event","NavigationEnd","subscribe","url","canActivate","state","i4","i5","ConfigByDomain","TicketMessage","SubjectTickets","TicketGeneral","User","OpenTicketDTO","Filters","WebsiteSetup_SiteProfile","NotificationsByTicket","BrandSetup","LoadingService","showLoadingSubject","showLoading$","toggleLoading","currentValue","getValue","getShowLoading","startInterval","callback","clearInterval","_intervalId","setInterval","stopInterval","isIntervalRunning","ThemeService","availableClasses","currentClassIdx","_actualTheme","_ActualTheme","bodyClass","setTheme","theme","push","bodyElement","getNextClassIdx","nextClass","activeClass","getPrevClassIdx","add","getElementById","href","getPrimeNgTheme","content","getMetaColor","ActualTheme","getThemeSelected","length","pTheme","DOCUMENT","MediaService","breakpointObserver","activeBreakpoints","isMobile","findIndex","breakpoint","isTablet","isLandscape","isSmallScreen","getBreakpoints","breakpoints","media","getBreakpointName","breakpointValue","find","subscribeMedia","observe","map","observeResponse","getBreakpointsResponse","getInitState","mediaInfo","MediaResponse","IsMobile","IsTablet","IsLandscape","IsSmallScreen","Object","keys","forEach","key","environment","production","environmentName","ws","SiteName","WebApiUrl","AdminUrl","DefaultHostName","CSId","uploadFilesApi","previousDisplay","transformDate","DatePipe","transform","transformMediumDate","getStatusType","status","isDarkTheme","getThemeFilter","undefined","responseError","esImagenBase64","base64String","test","base64ToBlob","base64Data","contentType","byteCharacters","atob","byteNumbers","Array","i","charCodeAt","byteArray","Uint8Array","Blob","Methods","POST_LOGIN_USER","POST_SEND_ACCESS_TOKEN","POST_SEND_ACCESS_TFA_TOKEN","POST_INSERT_ACCESS_TOKEN","GET_TWO_FACTOR_SETTINGS","UPDATE_ENABLE_TWO_FACTOR","GET_SMART_LOGIN_SELECTION","GET_CONFIG_BY_DOMAIN","UPDATE_SMART_LOGIN","GET_ALL_TICKET_INFO","GET_MENU_ITEM_BY_ID_USER","GET_ALL_SITE_TAGS","GET_MY_TICKETS","GET_ALL_SUBJECTS","GET_DEPARTMENT_LIST","GET_STATUS_LIST","GET_RELEVANCE_LIST","POST_RELEASE_TICKET","GET_USER_INFO_BY_ID","GET_USER_BY_DEPARTMENT","POST_ADD_USER_INTO_TICKET","UPDATE_TICKET_INFORMATION","UPDATE_NOTIFICATION_BY_TICKET","UPDATE_DEPARTMENT_ASSIGNED","POST_ADD_SERVICE_DESK_TICKET","GET_ALL_MESSAGE_BY_TICKET","GET_SHORTCUTS_BY_DEPARTMENT","GET_SUBJECT_FIELD_FOR_CTSADMIN_PROFILE","GET_SUBJECT_FIELD_BY_ID","POST_CREATE_NEW_TICKET","POST_CREATE_NEW_TICKET_MESSAGE","UPDATE_MESSAGE_BY_USER","GET_ALL_USERS","GET_WEBSITE_SETUP_BY_SITE","UPDATE_TICKET_STATUS","GET_SITE_BY_USER","GET_DOMAIN_BY_ID_SITE","UPDATE_DOMAIN_BY_ID_SITE","GET_AGENTS_WEBSITE_SETUP_BY_SITE","UPDATE_WEBSITE_SETUP","UPDATE_ALL_ITEM_WEBSITE_SETUP","UPDATE_ALL_ITEM_CTS_ADMIN_WEBSITES_SETUP","UPDATE_ITEM_CTS_ADMIN_WEBSITE_SETUP","UPDATE_ITEM_WEBSITE_SETUP","UPDATE_ALL_ITEM_AGENT_WEBSITE_SETUP","POST_SAVE_UPDATE_FOR_ALL_SITES","POST_SAVE_UPDATE_FOR_ALL_AGENT_SITES","UPDATE_SORT_AGENT_WEBSITE","UPDATE_SORT_WEBSITE_SETUP","UPDATE_SORT_WEBSITE_FIELD_SETUP","UPDATE_SORT_AGENT_WEBSITE_FIELD_SETUP","GET_SUBJECT_FIELD_BY_SITE","GET_SUBJECT_FIELD_BY_AGENT_SITE","GET_SUBJECT_FIELD_BY_CTS_ADMIN_SITE","UPDATE_SORT_CTS_ADMIN_WEBSITE_FIELD_SETUP","UPDATE_ITEM_WEBSITE_FIELD_SETUP","UPDATE_ITEM_AGENT_WEBSITE_FIELD_SETUP","UPDATE_ALL_ITEM_WEBSITE_FIELD_SETUP","UPDATE_ALL_ITEM_AGENT_WEBSITE_FIELD_SETUP","POST_SAVE_UPDATE_FIELDS_FOR_ALL_SITES","POST_SAVE_UPDATE_FIELDS_FOR_ALL_AGENT_SITES","GET_CTS_ADMINWEBSITE_SETUP_BY_ID_SITE","UPDATE_ITEM_CTS_ADMIN_WEBSITE_FIELD_SETUP","UPDATE_ALL_ITEM_CTS_ADMIN_FIELD_SETUP","UPDATE_SORT_CTS_ADMIN_WEBSITE_SETUP","GET_ALL_WEBSITES_PROFILES_TO_SELECT","POST_INSERT_WEBSITE_CONFIG_BY_PROFILE","GET_EPOS_SETUP_BY_ID_SITE","POST_UPDATE_ALL_ITEM_EPOS_SETUP","UPDATE_ITEM_EPOS_SETUP","GET_SUBJECT_FIELD_BY_EPOS_SITE","UPDATE_SORT_EPOS_FIELD_SETUP","UPDATE_ITEM_EPOS_FIELD_SETUP","UPDATE_ALL_ITEM_EPOS_FIELD_SETUP","UPDATE_SORT_EPOS_SETUP","GET_EPOS_ADMIN_SETUP_BY_ID_SITE","UPDATE_ALL_ITEM_EPOS_ADMIN_SETUP","UPDATE_ITEM_EPOS_ADMIN_SETUP","GET_SUBJET_FIELD_BY_EPOS_ADMIN_SITE","UPDATE_SORT_EPOS_ADMIN_FIELD_SETUP","UPDATE_ITEM_EPOS_ADMIN_FIELD_SETUP","UPDATE_ALL_ITEM_EPOS_ADMIN_FIELD_SETUP","UPDATE_SORT_EPOS_ADMIN_SETUP","GET_ALL_PROFILES","GET_DEPARMENT_BY_USER","DELETE_USER","POST_INSERT_NEW_USER","GET_USER_COMPONET_USER_ADMIN","GET_DEPARTMENT_LIST_BY_IDUSER","UPDATE_USER_INFO","UPDATE_VIEW_ONLY_BY_USER","UPDATE_RELEASE_TICKET_BY_USER","UPDATE_TFA_SELECTION","POST_INSERT_NEW_RELEVANCE_LEVEL","UPDATE_RELEVANCE_LEVEL_ITEM","DELETE_RELEVANCE_ITEM","UPDATE_ALL_ITEM_RELEVANCE_LEVEL","POST_INSERT_NEW_TICKET_STATUS","UPDATE_TICKET_STATUS_ITEM","DELETE_STATUS_ITEM","UPDATE_ALL_TICKET_STATUS_ITEM","POST_INSERT_NEW_DEPARTMENT","UPDATE_DEPARTMENT_ITEM","DELETE_DEPARTMENT_ITEM","UPDATE_ALL_ITEM_DEPARTMENT","POST_INSERT_NEW_USER_BY_SITE","DELETE_SITE_FOR_USER","UPDATE_USER_RIGHTS","UPDATE_DEPARTMENTS_BY_USER","GET_TICKET_LOGS","GET_USER_LOGS","GET_SUBJECT_LOGS","GET_SUBJECT_FIELDS_LOGS","GET_RELEVANCE_LOGS","GET_STATUS_LOGS","GET_DEPARTMENT_LOGS","GET_BRAND_SET_UP_BY_ID_SITE","GET_BRAND_SELECTED_BY_ID_SITE","POST_UPDATE_INSERT_BRAND_SETUP","POST_UPDATE_INSERT_BRAND_SITE","DELETE_SITE_FOR_BRAND","GET_ALL_FORM_TYPE","POST_INSERT_NEW_SUBJECT","UPDATE_SUBJECT_ITEM","DELETE_SUBJECT","POST_INSERT_NEW_SUBJECT_FIELD","UPDATE_SUBJECT_FIELD_ITEM","UPDATE_ALL_SUBJECT_ITEM","UPDATE_ALL_SUBJECT_FIELD_ITEM","DELETE_SUBJET_FIELD","UPDATE_SORT_SUBJECTS","GET_ALL_TASK_NOTES","POST_INSERT_NEW_TASK_NOTE","POST_INSERT_NEW_TASK_NOTE_MESSAGE","UPDATE_TASK_NOTE_INFO","DELETE_TASK_NOTE","GET_USER_NAME_BY_DEPARTMENT","GET_ALL_SHORCUTS","POST_INSERT_NEW_SHORTCUT","DELETE_SHORTCUT","GET_ALL_TASK_NOTE_MESSAGE","UPDATE_SHORT_CUT_INFO","GET_ALL_WEBSITES_PROFILES","UPDATE_PROFILE","POST_INSERT_NEW_SITE_BY_PROFILE","DELETE_SITE_FOR_PROFILE","GET_SITE_TAG_COMPONENTS","POST_INSERT_NEW_PROFILE","POST_INSERT_NEW_SITE_PROFILE","UPDATE_SITE_PROFILE","GET_PERSONAL_WORKLOG_BY_ID","GET_ALL_ISSUES_BY_DEPARTMENT_ID","GET_ALL_USER_BY_DEPARTMENT_ID","GET_SOURCE","GET_PERSONAL_WORKLOG_BY_DATE","POST_INSERT_NEW_PERSONAL_WORKLOG","POST_INSERT_NEW_COMMENT","GET_OPEN_TICKET_STATUS","UPDATE_LANGUAGE_BY_USER","GetMethods","GET_SUBJECTS_BY_CTS_ADMIN_PROFILE","GET_VALIDATION_TWO_FACTOR_TOKEN","GET_TICKETS_COUNTER_BY_ID_USER","GET_USER_PREFERENCE","PostMethods","POST_INSERT_USER_PREFERENCE","POST_PURGE","INSERT_NOTIFICATIONS_BY_TICKET","PutMethods","UPDATE_CLOSE_DATE_TICKETS","UPDATE_ALL_USER_RIGHTS","DeleteMethods","TranslationService","addLangs","lang","use","setTranslate","setDefaultLang","getLangs","currentLang","getTranslate","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_a_1_span_2_Template","_c0","item_r8","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_div_2_a_9_span_6_Template","val_r17","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_div_2_span_3_Template","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_div_2_a_9_Template","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_a_1_Template","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_div_2_Template","NavbarComponent_nav_4_ul_2_li_1_ng_container_1_Template","NavbarComponent_nav_4_ul_2_li_1_Template","ctx_r6","navigation","NavbarComponent_nav_4_ul_2_Template","ctx_r1","item_r21","_r23","$implicit","ctx_r22","langSelected","_r25","ctx_r24","ctx_r26","onSubmit","ctx_r27","ctx_r3","userLogin","name","TranslateText","smartLoginForm","ctx_r4","messageResult","userActive","$event","_r34","ctx_r33","onSearch","target","_r28","filterGlobal","NavbarComponent_p_table_74_ng_template_3_span_2_Template","NavbarComponent_p_table_74_ng_template_3_span_3_Template","ctx_r30","isAccountSelected","_c1","product_r38","ticketInfo","ticketNumber","idPlayer","NavbarComponent_p_table_74_ng_template_4_span_2_Template","NavbarComponent_p_table_74_ng_template_4_small_3_Template","NavbarComponent_p_table_74_ng_template_4_span_4_Template","NavbarComponent_p_table_74_ng_template_4_small_5_Template","_r48","ctx_r47","itemSelected","ctx_r31","NavbarComponent_p_table_74_ng_template_5_span_3_Template","NavbarComponent_p_table_74_ng_template_5_span_4_Template","ctx_r32","NavbarComponent_p_table_74_ng_template_2_Template","NavbarComponent_p_table_74_ng_template_3_Template","NavbarComponent_p_table_74_ng_template_4_Template","NavbarComponent_p_table_74_ng_template_5_Template","ctx_r5","ticketData","_c2","_c3","NavbarComponent","f","controls","_media","_formBuilder","_translationService","_translateService","_themeService","_loadingService","submitted","userName","loading","showTable","mediaSubscription","Media","langFilter","ngOnInit","getModalInit","JSON","parse","domainInfo","cols","ticket","view","group","isSmartLogin","Validators","required","getSmartLogin","getUserPreference","toggleSidebar","console","log","idUser","result","data","smartLogin","setCookiesSession","err","idSite","pItem","langItemSelected","OnSendDataPayload","onSendURLParameter","language","stringify","isSmart","set","toString","getTokenEncoded","smartSelection","btoa","token","adminType","GeneralSearch","generalSearchModal","closeModal","window","location","reload","trim","ticketDataTemp","slice","getTableInfo","pTicket","date1","Date","date2","setDate","getDate","text","instant","item","idSiteType","idTicket","openTicketStatus","assign","protocol","host","removeItem","openTicketUser","getMessageInfo","lan","encriptado","bootstrap","Modal","keyboard","time","setTimeout","i6","i7","i8","i9","i10","Xpm","selectors","inputs","isExpanded","decls","vars","consts","template","rf","ctx","NavbarComponent_button_3_Template","NavbarComponent_nav_4_Template","NavbarComponent_li_50_Template","NavbarComponent_ng_container_55_Template","NavbarComponent_div_73_Template","NavbarComponent_p_table_74_Template","_c4","_r7","handleSidebarToggle","_r9","ctx_r8","CloseToogle","item_r11","icon","ctx_r34","pendingTicketsCount","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_0_span_2_Template","ctx_r28","ctx_r36","helpNotifications","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_1_span_2_Template","ctx_r29","ctx_r38","internalNotifications","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_2_span_2_Template","ctx_r40","partnerNotifications","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_3_span_2_Template","ctx_r42","directNotifications","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_4_span_2_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_0_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_1_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_2_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_3_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_4_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_div_5_Template","idTagComponent","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_container_0_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_ng_template_1_Template","ctx_r17","ctx_r18","ctx_r19","ctx_r20","ctx_r21","ctx_r46","goTo","SideNavComponent_div_8_div_2_ng_container_3_ng_container_3_Template","SideNavComponent_div_8_div_2_ng_container_3_ng_template_4_Template","SideNavComponent_div_8_div_2_ng_container_3_span_9_Template","SideNavComponent_div_8_div_2_ng_container_3_span_10_Template","SideNavComponent_div_8_div_2_ng_container_3_span_11_Template","SideNavComponent_div_8_div_2_ng_container_3_span_12_Template","SideNavComponent_div_8_div_2_ng_container_3_span_13_Template","title","ctx_r14","actualRouter","_r16","SideNavComponent_div_8_div_2_ng_container_3_Template","SideNavComponent_div_8_div_2_Template","ctx_r2","SideNavComponent_ng_container_13_span_1_Template","SideNavComponent_ng_container_14_span_1_Template","SideNavComponent","showSubmenu","itemEl","toggle","el","_title","version","EventEmitter","output","openAccordion","newMessagesCount","offcanvasExample","Offcanvas","count","getMenuItemByUser","UpdateOpenTicketStatus","UpdateCloseDateTickets","isCalled","getTicketsCount","ticketSelected","emit","helpTicketCenter","internalTicketCenter","partnerTicketCenter","directTicketCenter","found","e","setTitle","getActualRoute","checkRoute","val","index","hasSub","route","isExternalRoute","changeDetected","Swal","showCancelButton","confirmButtonColor","cancelButtonColor","confirmButtonText","cancelButtonText","then","isConfirmed","validateTitle","obj","IdTicket","openStatus","hide","ngOnDestroy","unsubscribe","outputs","SideNavComponent_div_5_Template","SideNavComponent_div_6_Template","SideNavComponent_div_8_Template","SideNavComponent_ng_container_12_Template","SideNavComponent_ng_container_13_Template","SideNavComponent_ng_container_14_Template","_c5","_c6","trigger","style","height","AUTO_STYLE","visibility","transition","animate","DEFAULT_DURATION","_r3","sidebarExpanded","ctx_r0","routeState","themeList","opacity","MainLayoutComponent","selectTheme","FormControl","spinkit","themeSelected","valueChanges","MainLayoutComponent_ng_container_1_Template","MainLayoutComponent_ng_http_loader_3_Template","HeaderLayoutComponent","TokenAccess","TwoFactor","LoginComponent_div_15_div_1_Template","email","errors","LoginComponent_div_21_div_1_Template","password","LoginComponent_form_22_div_7_div_1_Template","ctx_r11","j","tokenTFA","_r14","ctx_r13","verifyTwoFactorAuthenticationToken","LoginComponent_form_22_div_7_Template","verifyTFAuthForm","submittedTokenTFA","LoginComponent_form_24_div_5_div_1_Template","ctx_r15","g","_r18","onSubmitEmailToken","LoginComponent_form_24_div_5_Template","verifyForm","submittedToken","_r21","LoginComponent_button_25_div_1_Template","_r24","ctx_r23","LoginComponent_button_26_div_1_Template","_r27","LoginComponent_button_27_div_1_Template","ctx_r7","LoginComponent","_router","_mediaService","isEmailToken","isTwoFactorAuth","tokenAccess","GettokenAccess","_BrandSetup","_configByDomain","loginForm","purge","invalid","GetBrandsSetup","isTFA","Token","IdTokenAccess","ChangeMethod","IpAddress","SendEmail","LoginComponent_div_15_Template","LoginComponent_div_21_Template","LoginComponent_form_22_Template","LoginComponent_div_23_Template","LoginComponent_form_24_Template","LoginComponent_button_25_Template","LoginComponent_button_26_Template","LoginComponent_button_27_Template","LoginComponent_div_28_Template","NotFoundComponent","_location","previousUrl","currentUrl","backToHome","history","back","TicketFormComponent_ng_container_1_div_6_div_1_Template","userSelected","TicketFormComponent_ng_container_1_div_6_Template","allUserList","TicketFormComponent_ng_container_2_div_6_div_1_Template","inputTextName","TicketFormComponent_ng_container_2_div_6_Template","TicketFormComponent_ng_container_3_div_6_div_1_Template","description","TicketFormComponent_ng_container_3_div_6_Template","TicketFormComponent_ng_container_4_div_6_div_1_Template","TicketFormComponent_ng_container_4_div_6_div_2_Template","account","maxlength","TicketFormComponent_ng_container_4_div_6_Template","option_r29","TicketFormComponent_ng_container_5_div_8_div_1_Template","agentPlayer","TicketFormComponent_ng_container_5_ng_template_6_Template","TicketFormComponent_ng_container_5_ng_template_7_Template","TicketFormComponent_ng_container_5_div_8_Template","clientTypeList","option_r35","TicketFormComponent_ng_container_6_ng_template_6_span_3_Template","TicketFormComponent_ng_container_6_div_8_div_1_Template","subject","_r41","onChangeSubjectItemSelected","TicketFormComponent_ng_container_6_ng_template_6_Template","TicketFormComponent_ng_container_6_ng_template_7_Template","TicketFormComponent_ng_container_6_div_8_Template","subjectList","option_r45","TicketFormComponent_ng_container_7_div_8_div_1_Template","ctx_r44","subjectField","TicketFormComponent_ng_container_7_ng_template_6_Template","TicketFormComponent_ng_container_7_ng_template_7_Template","TicketFormComponent_ng_container_7_div_8_Template","SubjectFieldsData","option_r50","idSiteTag","TicketFormComponent_ng_container_8_div_7_div_1_Template","ctx_r49","website","TicketFormComponent_ng_container_8_ng_template_6_Template","TicketFormComponent_ng_container_8_div_7_Template","allSiteTags","option_r55","TicketFormComponent_ng_container_9_div_8_div_1_Template","ctx_r54","relevance","TicketFormComponent_ng_container_9_ng_template_6_Template","TicketFormComponent_ng_container_9_ng_template_7_Template","TicketFormComponent_ng_container_9_div_8_Template","relevanceList","option_r61","idDepartment","TicketFormComponent_ng_container_10_div_8_div_1_Template","ctx_r60","department","TicketFormComponent_ng_container_10_ng_template_6_Template","TicketFormComponent_ng_container_10_ng_template_7_Template","TicketFormComponent_ng_container_10_div_8_Template","ctx_r9","departmentList","TicketFormComponent_ng_container_11_div_6_div_1_Template","ctx_r64","emailSubject","TicketFormComponent_ng_container_11_div_6_Template","ctx_r10","TicketFormComponent_ng_container_12_div_6_div_1_Template","ctx_r66","ticketLink","TicketFormComponent_ng_container_12_div_6_Template","option_r71","toLowerCase","selectedItem_r72","TicketFormComponent_ng_container_13_div_8_div_1_Template","ctx_r70","TicketFormComponent_ng_container_13_ng_template_6_Template","TicketFormComponent_ng_container_13_ng_template_7_Template","TicketFormComponent_ng_container_13_div_8_Template","ctx_r12","statusList","option_r77","TicketFormComponent_ng_container_15_div_8_div_1_Template","ctx_r76","shortcuts","_r81","ctx_r80","onChangeShurtcutMesage","TicketFormComponent_ng_container_15_ng_template_6_Template","TicketFormComponent_ng_container_15_ng_template_7_Template","TicketFormComponent_ng_container_15_div_8_Template","shortCutByDepartment","TicketFormComponent_ng_container_16_div_9_div_1_Template","ctx_r82","_r85","ctx_r84","onPaste","ctx_r86","onChange","TicketFormComponent_ng_container_16_div_9_Template","editor","toolbar","uploader","item_r89","progress","TicketFormComponent_ng_container_17_div_7_tr_18_td_4_Template","_r93","file","ctx_r88","options","isHTML5","isSuccess","isError","TicketFormComponent_ng_container_17_div_7_tr_18_Template","ctx_r87","queue","_r95","ctx_r94","onChangeInput","TicketFormComponent_ng_container_17_div_7_Template","ctx_r16","TicketFormComponent","onCallFormMethod","FileUploader","model","newMessageTicket","newGeneralTicket","attached","heading","Editor","onAfterAddingFile","withCredentials","PreviousImage","isSatusDisabled","formType","messageTextEdition","editItemSelected","setMessage","formTicket","maxLength","replyToEmail","tickerOrTaskName","idStatus","disabled","showForm","getFormType","showUsers","showAccount","showAgentPlayer","showSubject","showSubjetField","showWebsite","showRelevance","showDepartment","showStatus","showReplyToEmail","showShortCuts","showMessage","showAttachment","showInputTextName","showDescription","showEmailSubject","showTicket","formValidation","validateFormControlType","control","setFormValidators","element","inputName","setValidators","updateValueAndValidity","IdSubject","Number","setValue","html","texto","reemplazarImagenBase64ConBlob","regexImg","resultado","exec","src","currentDate","formattedDate","getFullYear","String","getMonth","padStart","getHours","getMinutes","getSeconds","blob","split","fileName","File","lastModified","now","addToQueue","replace","removeImageScreenInEditor","upload","onErrorItem","response","headers","onSuccessItem","responseBanner","Previous","fileUrl","imageInfo","_file","startsWith","submitForm","attachedFileString","attachments","AdjustTextSeparator","CreateNewGeneralTicket","sendGeneralTicketInfo","sendToPlayer","assigned","idAgent","activeAccount","assignedUser","idTypeMessage","sender","sendingUser","casinoProvider","casinoGameName","casinoCategory","OnSendTicketFormType","ClearForm","reset","OnSendFormTypeData","clearQueue","IdSiteType","TicketInfo","ticketType","replyToClient","idTicketMessage","idUserInCharge","initialComment","x","idStatusList","idNote","date","departmentName","position","userInCharge","dateCreated","idShortcut","modifiedHtml","CleanHTML","tempEl","createElement","innerHTML","querySelectorAll","removeAttribute","div","br","ticketCenterType","TicketFormComponent_ng_container_1_Template","TicketFormComponent_ng_container_2_Template","TicketFormComponent_ng_container_3_Template","TicketFormComponent_ng_container_4_Template","TicketFormComponent_ng_container_5_Template","TicketFormComponent_ng_container_6_Template","TicketFormComponent_ng_container_7_Template","TicketFormComponent_ng_container_8_Template","TicketFormComponent_ng_container_9_Template","TicketFormComponent_ng_container_10_Template","TicketFormComponent_ng_container_11_Template","TicketFormComponent_ng_container_12_Template","TicketFormComponent_ng_container_13_Template","TicketFormComponent_ng_container_14_Template","TicketFormComponent_ng_container_15_Template","TicketFormComponent_ng_container_16_Template","TicketFormComponent_ng_container_17_Template","onMarkAsUnread","col_r21","header","TicketMessageInfoComponent_ng_template_5_th_1_Template","columns_r19","ctx_r25","TicketInfo_r22","serviceDeskTicket","TicketMessageInfoComponent_ng_template_6_tr_0_span_25_Template","TicketMessageInfoComponent_ng_template_6_tr_0_button_39_Template","TicketMessageInfoComponent_ng_template_6_tr_0_span_40_Template","site","dateTransaction","timer","TicketMessageInfoComponent_ng_template_6_tr_1_span_25_Template","TicketMessageInfoComponent_ng_template_6_tr_1_button_35_Template","TicketMessageInfoComponent_ng_template_6_tr_1_span_36_Template","TicketMessageInfoComponent_ng_template_6_tr_0_Template","TicketMessageInfoComponent_ng_template_6_tr_1_Template","existsBrandSetup","option_r44","TicketMessageInfoComponent_ng_container_8_ng_container_33_ng_template_7_Template","ticketCenter","_r51","ctx_r50","onSaveTicketChanges","TicketMessageInfoComponent_ng_container_8_div_2_Template","_r53","ctx_r52","onChangeUser","TicketMessageInfoComponent_ng_container_8_ng_template_11_Template","TicketMessageInfoComponent_ng_container_8_ng_template_18_Template","TicketMessageInfoComponent_ng_container_8_ng_template_25_Template","TicketMessageInfoComponent_ng_container_8_ng_template_32_Template","TicketMessageInfoComponent_ng_container_8_ng_container_33_Template","TicketMessageInfoComponent_ng_container_8_div_35_Template","viewOnly","userForm","userList","idUserType","ticketMessagesList","ctx_r55","col_r54","dateTransactionMessage","ctx_r61","att_r62","TicketMessageInfoComponent_div_16_ng_container_6_a_1_Template","attachedFile","_r69","ctx_r68","openReplyOrNewModal","_r71","_r73","ctx_r72","_r76","ctx_r74","TicketMessageInfoComponent_div_16_div_11_button_1_Template","TicketMessageInfoComponent_div_16_div_11_button_2_Template","TicketMessageInfoComponent_div_16_div_11_button_3_Template","TicketMessageInfoComponent_div_16_div_11_button_4_Template","ctx_r58","nickname","TicketMessageInfoComponent_div_16_h6_4_Template","TicketMessageInfoComponent_div_16_h6_5_Template","TicketMessageInfoComponent_div_16_ng_container_6_Template","TicketMessageInfoComponent_div_16_div_11_Template","additionalInfo","_r79","ctx_r78","changeDepartment","_r82","ctx_r81","ctx_r83","TicketNumber","_r86","ctx_r85","isReplyToClientOrNewMessage","TicketMessageInfoComponent_div_105_div_1_Template","showTicketForm","TicketMessageInfoComponent","_sanitizer","onBackBtnEvent","ticketInfoData","notificationsByTicket","brandSetup","ccInputText","serviceDeskInput","reloadSite","validUserChange","columsData","field","idSubject","userAssigned","subjectAssigned","statusAssigned","ticketRelevance","ticketIdSiteType","formModal","disable","getAllMessagesByTicket","getAllUsersList","getUser","isActive","IdDepartment","Description","markAsUnread","onSaveAssignedUser","onSaveTicketServiceDesk","idType","idRelevance","removeTicketObjectWithId","arr","objWithIdIndex","splice","payloadData","departmentSelected","onChangeDepartmentAssigned","newDepartmentName","reopenButton","display","minimizeModal","modalElement","reopenModal","v","bypassSecurityTrustHtml","p","TicketMessageInfoComponent_ng_template_4_Template","TicketMessageInfoComponent_ng_template_5_Template","TicketMessageInfoComponent_ng_template_6_Template","TicketMessageInfoComponent_ng_template_7_Template","TicketMessageInfoComponent_ng_container_8_Template","TicketMessageInfoComponent_div_13_Template","TicketMessageInfoComponent_div_16_Template","TicketMessageInfoComponent_ng_container_33_Template","TicketMessageInfoComponent_ng_container_34_Template","TicketMessageInfoComponent_ng_container_53_Template","TicketMessageInfoComponent_ng_container_54_Template","TicketMessageInfoComponent_small_58_Template","TicketMessageInfoComponent_span_96_Template","TicketMessageInfoComponent_span_97_Template","TicketMessageInfoComponent_span_98_Template","TicketMessageInfoComponent_div_105_Template","_r8","_r2","getGlobalInfo","col_r12","TickerComponent_p_card_0_ng_template_7_th_1_Template","columns_r10","payloadData_r13","TickerComponent_p_card_0_ng_template_8_span_39_Template","_r19","hardRefresh","TickerComponent_p_card_0_ng_template_9_span_2_Template","TickerComponent_p_card_0_ng_template_9_span_3_Template","showHardReloadBtn","TickerComponent_p_card_0_ng_template_6_Template","TickerComponent_p_card_0_ng_template_7_Template","TickerComponent_p_card_0_ng_template_8_Template","TickerComponent_p_card_0_ng_template_9_Template","_r22","onStepChange","TickerComponent_div_1_div_3_Template","showMessageInfo","TickerComponent","primengConfig","_isActiveInterval","_this","_asyncToGenerator","executeIntervalHardRefresh","customExportHeader","ripple","detenerIntervalHardRefresh","onPayloadData","returnUrlParameter","messageTypeErrorText","returnToTicket","transactionType","viewQuery","TickerComponent_p_card_0_Template","TickerComponent_div_1_Template","ExportAsComponent","excelExtension","pdfExtension","downloadExcel","downloadPdf","color","exportPdf","__webpack_require__","bind","jsPDF","Promise","all","doc","default","titleHeader","exportColumns","dataToExport","pdfPayloadData","addImage","autoTable","head","startY","logoHeight","margin","top","left","right","tableWidth","styles","fontSize","overflow","cellPadding","cellWidth","columnStyles","headStyles","fillColor","textColor","save","generateExcel","workbook","Workbook","worksheet","addWorksheet","titleRow","addRow","font","family","size","bold","argb","eachCell","cell","number","fill","pattern","fgColor","bgColor","border","bottom","logo","base64","extension","mergeCells","d","onReturnRowData","exportType","getCell","counter","getColumn","width","footerRow","xlsx","writeBuffer","titleReport","fs","transactionDate","issue","sourceInfo","padTo2Digits","num","option_r16","_r0","TableGenericComponent_4_ng_template_0_ng_container_23_ng_template_4_Template","TableGenericComponent_4_ng_template_0_ng_container_23_ng_template_5_Template","option_r24","option_r26","_r29","TableGenericComponent_4_ng_template_0_ng_container_24_ng_template_4_Template","TableGenericComponent_4_ng_template_0_ng_container_24_ng_template_5_Template","TableGenericComponent_4_ng_template_0_ng_container_24_ng_template_9_Template","TableGenericComponent_4_ng_template_0_ng_container_24_ng_template_10_Template","option_r31","option_r33","_r38","ctx_r41","ctx_r43","DateFilter","ctx_r45","getViewClosedTickets","downloadModal","TableGenericComponent_4_ng_template_0_ng_container_23_Template","TableGenericComponent_4_ng_template_0_ng_container_24_Template","TableGenericComponent_4_ng_template_0_ng_template_28_Template","TableGenericComponent_4_ng_template_0_ng_template_29_Template","TableGenericComponent_4_ng_template_0_ng_template_33_Template","TableGenericComponent_4_ng_template_0_ng_template_34_Template","TableGenericComponent_4_ng_template_0_ng_template_38_Template","TableGenericComponent_4_ng_template_0_ng_template_39_Template","refresh","ctx_r51","isViewClosedTickets","matchModeOptions","TableGenericComponent_4_ng_template_0_Template","col_r55","TableGenericComponent_ng_template_5_th_1_Template","columns_r53","payloadData_r56","countNotification","_r66","ReleaseTicket","ctx_r59","ctx_r62","_r72","ctx_r71","GoFullMessage","TableGenericComponent_ng_template_6_span_5_Template","TableGenericComponent_ng_template_6_a_6_Template","TableGenericComponent_ng_template_6_td_14_Template","TableGenericComponent_ng_template_6_span_18_Template","TableGenericComponent_ng_template_6_td_19_Template","TableGenericComponent_ng_template_6_td_32_Template","releaseTicket","ctx_r75","TableGenericComponent_ng_template_7_span_2_Template","TableGenericComponent_ng_template_7_span_3_Template","TableGenericComponent","config","rowsSave","refreshData","onTicketSelected","filteredData","showHardReload","setRowsPerPage","selectedRowsPerPage","parseInt","onRowsPerPageChange","rows","tabSelected","col","myModal","dataKey","dt","filteredValue","TableGenericComponent_4_Template","TableGenericComponent_ng_template_5_Template","TableGenericComponent_ng_template_6_Template","TableGenericComponent_ng_template_7_Template","_r6","firstTab","_ExistsBrandSetup","secondTab","thirdTab","_r12","getHelpTicketList","TicketGeneralComponent_p_card_0_p_tabPanel_3_Template","TicketGeneralComponent_p_card_0_p_tabPanel_4_Template","TicketGeneralComponent_p_card_0_p_tabPanel_5_Template","_r15","TicketGeneralComponent_div_1_div_3_Template","_r17","TicketGeneralComponent","visible","infoData","step","_listBrandSites","_refreshData","statusFilter","relevanceFilter","GetBrandSites","idBrandSetup","getAllWebsiteList","getAllSujectList","getAllDepartmentList","getStatusList","getRelevanceList","getShortCutsByDepartment","OntabSelected","getWebsitesBrandSetup","isHelp","isPartner","isInternal","isDirect","subjectName","sort","a","b","sendToDepartmentIds","includes","nameA","nameB","localeCompare","loadingWait","showDialog","GetOpenTicketStatus","TicketSelectedStatus","TicketGeneralComponent_p_card_0_Template","TicketGeneralComponent_div_1_Template","HelpTicketCenterComponent","InternalTicketCenterComponent","PartnersTicketCenterComponent","payload","PersonalWorklogComponent_p_card_0_ng_template_5_div_4_ng_container_1_Template","_r26","showRegister","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_8_div_1_Template","Account","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_13_div_1_Template","Issue","option_r37","idSource","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_18_div_1_Template","Source","_r40","ctx_r39","insertNewEvent","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_8_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_ng_template_12_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_13_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_ng_template_17_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_div_18_Template","listIssues","listSource","PersonalWorklogComponent_p_card_0_ng_template_5_div_1_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_2_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_3_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_4_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_5_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_6_Template","PersonalWorklogComponent_p_card_0_ng_template_5_div_7_Template","_r43","user","keyFilterId","showFilter","col_r52","PersonalWorklogComponent_p_card_0_ng_template_6_th_1_Template","columns_r50","PersonalWorklogComponent_p_card_0_ng_template_7_td_11_Template","payloadData_r53","_r56","watchCommentItem","comment","_r60","PersonalWorklogComponent_p_card_0_ng_template_8_span_2_Template","PersonalWorklogComponent_p_card_0_ng_template_8_span_3_Template","_r62","departmentAllList","item_r63","_r65","searchUserLog","itemUserSelected","PersonalWorklogComponent_p_card_0_ng_template_5_Template","PersonalWorklogComponent_p_card_0_ng_template_6_Template","PersonalWorklogComponent_p_card_0_ng_template_7_Template","PersonalWorklogComponent_p_card_0_ng_template_8_Template","PersonalWorklogComponent_p_card_0_ng_container_16_Template","PersonalWorklogComponent_p_card_0_div_18_Template","_c7","showDepartmentFilter","itemCommentSelected","newComment","ctx_r69","_r74","ctx_r73","PersonalWorklogComponent_div_3_h5_2_Template","PersonalWorklogComponent_div_3_h5_3_Template","PersonalWorklogComponent_div_3_p_7_Template","PersonalWorklogComponent_div_3_textarea_8_Template","PersonalWorklogComponent_div_3_button_13_Template","PersonalWorklogComponent","showExtraInfo","clicks","onHeaderColumnTableOptions","onClick","tab","idPersonalWorkLog","source","PersonalWorklogComponent_p_card_0_Template","PersonalWorklogComponent_div_3_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_3_div_4_ng_template_3_Template","option_r19","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_3_div_4_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_3_ng_template_8_Template","identity","col_r25","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_4_th_1_Template","columns_r23","_r31","payloadData_r26","editItem","deleteItem","_r37","ctx_r35","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_5_tr_0_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_5_tr_1_Template","_r44","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_6_span_2_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_6_span_3_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_3_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_4_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_5_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_ng_template_6_Template","_r46","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_p_table_2_Template","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_ng_container_3_Template","item_r5","tabTitle","showNewFormEntry","getTabSelected","ShortcutDeskFilterComponent_p_card_0_p_tabPanel_3_Template","tabPanelData","_r50","_r55","editTaskForm","showExtraInfoForm","ctx_r56","ctx_r57","ShortcutDeskFilterComponent_p_card_2_div_4_div_28_Template","ShortcutDeskFilterComponent_p_card_2_div_4_div_29_Template","ShortcutDeskFilterComponent_p_card_2_div_4_div_30_Template","ShortcutDeskFilterComponent_p_card_2_div_4_div_31_Template","ShortcutDeskFilterComponent_p_card_2_div_4_div_32_Template","ShortcutDeskFilterComponent_p_card_2_div_4_div_33_Template","_r63","ctx_r53","ShortcutDeskFilterComponent_p_card_2_div_2_Template","ShortcutDeskFilterComponent_p_card_2_div_4_Template","ShortcutDeskFilterComponent_p_card_2_ng_container_5_Template","col_r66","SendToPlayer","_r68","ctx_r67","ctx_r65","ShortcutDeskFilterComponent_p_card_3_div_2_Template","_r70","addNewCommentEvent","ShortcutDeskFilterComponent_p_card_3_ng_container_8_Template","commentList","showNewComment","ShortcutDeskFilterComponent","onCallGetInfo","showCommentList","getCommentNotes","idComment","itemSelectedToBeDeleted","allowOutsideClick","deletePostEvent","idEvent","ShortcutDeskFilterComponent_p_card_0_Template","ShortcutDeskFilterComponent_div_1_Template","ShortcutDeskFilterComponent_p_card_2_Template","ShortcutDeskFilterComponent_p_card_3_Template","ServiceDeskLogComponent","showPanel","getAllLogs","getUserList","userInChargeName","ShortcutCenterComponent","getAllShortCuts","orderShortcutsForDepartment","changeViewSites","onFindSiteData","filterData","siteSelected","UpdateAllItemCheckbox","checked","item_r17","title1","title2","title3","item_r19","updateItemByCheckbox","_r32","editOrNewItem","BrandSubjectFilterComponent_p_card_0_ng_container_6_div_1_ng_container_1_div_1_Template","BrandSubjectFilterComponent_p_card_0_ng_container_6_div_1_ng_container_1_span_6_Template","BrandSubjectFilterComponent_p_card_0_ng_container_6_div_1_ng_container_1_button_8_Template","_r35","showCheckbox","BrandSubjectFilterComponent_p_card_0_ng_container_6_div_1_ng_container_1_Template","sortView","BrandSubjectFilterComponent_p_card_0_ng_container_6_div_1_Template","item_r39","dropSubjects","BrandSubjectFilterComponent_p_card_0_ng_container_7_div_1_div_1_Template","ctx_r37","BrandSubjectFilterComponent_p_card_0_ng_container_7_div_1_Template","BrandSubjectFilterComponent_p_card_0_div_24_div_4_div_1_Template","inputTextSelected","BrandSubjectFilterComponent_p_card_0_div_24_div_4_Template","BrandSubjectFilterComponent_p_card_0_div_25_div_6_div_1_Template","BrandSubjectFilterComponent_p_card_0_div_25_div_6_Template","option_r48","BrandSubjectFilterComponent_p_card_0_div_26_div_6_div_1_Template","BrandSubjectFilterComponent_p_card_0_div_26_ng_template_5_Template","BrandSubjectFilterComponent_p_card_0_div_26_div_6_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_3_div_5_div_1_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_3_div_5_Template","listFormType","BrandSubjectFilterComponent_p_card_0_div_27_div_8_div_1_Template","inputTextSpanish","BrandSubjectFilterComponent_p_card_0_div_27_div_13_div_1_Template","inputTextPortuguese","BrandSubjectFilterComponent_p_card_0_div_27_div_1_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_2_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_3_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_8_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_13_Template","BrandSubjectFilterComponent_p_card_0_div_27_div_14_Template","BrandSubjectFilterComponent_p_card_0_button_2_Template","BrandSubjectFilterComponent_p_card_0_div_3_Template","BrandSubjectFilterComponent_p_card_0_div_4_Template","BrandSubjectFilterComponent_p_card_0_div_5_Template","BrandSubjectFilterComponent_p_card_0_ng_container_6_Template","BrandSubjectFilterComponent_p_card_0_ng_container_7_Template","_r61","BrandSubjectFilterComponent_p_card_0_div_24_Template","BrandSubjectFilterComponent_p_card_0_div_25_Template","BrandSubjectFilterComponent_p_card_0_div_26_Template","BrandSubjectFilterComponent_p_card_0_div_27_Template","ctx_r63","createAndUpdateByPayloadData","headerTitle","btnNewText","titleModal","BrandSubjectFilterComponent","onFilterSiteById","isEditOrNewItem","idSelected","internalList","inputTextDescription","IniModal","getAllFormType","modalTitleNewText","modalTitleEditText","spanishTranslation","portugueseTranslation","editOrNewItemModal","returnObjetData","addNewPostEvent","newPostEvent","editPostEvent","isDelete","selectAllCheckbox","deleteItemByPayloadData","idvalue","brandName","lastModification","sserInCharge","idSubjectField","textDescription","moveItemInArray","previousIndex","currentIndex","isErrorActivated","BrandSubjectFilterComponent_p_card_0_Template","_r4","cardHeaderTitle1","formValidateInputs","SubjectsComponent_div_0_app_brand_subject_filter_2_Template","payloadSecondData","checked2","cardHeaderTitle2","formValidateInputs2","SubjectsComponent","identity2","showEdit","allChecked","getSubjectFieldById","SubjectsComponent_div_0_Template","SubjectsComponent_p_card_1_Template","item_r7","CheckboxEditorComponent_div_2_div_9_ng_container_1_span_9_Template","CheckboxEditorComponent_div_2_div_9_ng_container_1_Template","CheckboxEditorComponent_div_2_div_30_div_1_Template","CheckboxEditorComponent_div_2_div_31_div_5_div_1_Template","CheckboxEditorComponent_div_2_div_31_div_5_Template","CheckboxEditorComponent_div_2_div_32_div_6_div_1_Template","CheckboxEditorComponent_div_2_div_32_div_6_Template","isNewCheckboxActive","CheckboxEditorComponent_div_2_div_9_Template","CheckboxEditorComponent_div_2_div_30_Template","CheckboxEditorComponent_div_2_div_31_Template","CheckboxEditorComponent_div_2_div_32_Template","CheckboxEditorComponent_div_2_div_33_Template","CheckboxEditorComponent","emailControl","isInternalControl","numberType","CheckboxEditorComponent_div_2_Template","CheckboxEditorComponent_div_3_Template","RelevanceLevelComponent","RelevanceLevelComponent_app_checkbox_editor_0_Template","StatusListComponent","StatusListComponent_app_checkbox_editor_0_Template","DepartmentComponent","getDepartmentList","DepartmentComponent_app_checkbox_editor_0_Template","option_r12","idSiteProfile","option_r13","item_r14","DeleteSiteToProfile","ConfigProfile","SelectProfile","UseProfile","WebsiteSetupComponent_div_1_ng_template_8_Template","_model","GetIdSiteToProfile","WebsiteSetupComponent_div_1_ng_template_11_Template","WebsiteSetupComponent_div_1_li_13_Template","SaveProfileConfiguration","profile","listAllWebsiteProfiles","_listWebSites","siteList","item_r27","UpdateItemWebsiteFieldSetup","WebsiteSetupComponent_div_6_div_16_div_1_Template","_r36","CloseTableFieldsAnsSaveOrder","UpdateAllItemWebsiteFieldSetup","dropFields","WebsiteSetupComponent_div_6_div_16_Template","SubSelected","_listSubjectFields","UpdateItemCTSAdminWebsiteFieldSetup","WebsiteSetupComponent_div_26_div_1_Template","item_r47","UpdateItemEposWebsiteFieldSetup","WebsiteSetupComponent_div_46_div_1_Template","_r54","_r59","item_r55","UpdateItemEposAdminWebsiteFieldSetup","WebsiteSetupComponent_div_66_div_1_Template","_r67","SelectItemFieldsForAllSites","WebsiteSetupComponent_div_89_div_1_Template","_r92","ctx_r91","ctx_r93","_r96","ctx_r95","_listsUserSites","_r98","ctx_r97","UpdateAllItemWebsiteSetup","_checked","_r105","item_r99","ctx_r103","UpdateItemWebsiteSetup","ctx_r106","GetFieldsBySite","descriptionSubject","item_r110","_r112","ctx_r111","dropWebsite","WebsiteSetupComponent_p_tabView_91_div_11_ng_container_2_div_2_Template","ctx_r102","_listWebSitesTEMP","WebsiteSetupComponent_p_tabView_91_div_11_ng_container_1_Template","WebsiteSetupComponent_p_tabView_91_div_11_ng_container_2_Template","viewSortPlayers","_r114","ctx_r113","onChangeAgentWebsite","ctx_r115","changeViewAgents","ctx_r116","_listAgentWebSites","_r118","ctx_r117","_listsUserAgentSites","_r120","ctx_r119","ctx_r77","_r127","item_r121","ctx_r125","UpdateItemAgentWebsiteSetup","ctx_r128","item_r132","_r134","ctx_r133","drop","WebsiteSetupComponent_p_tabView_91_div_22_ng_container_2_div_2_Template","ctx_r124","_listAgentWebSitesTEMP","WebsiteSetupComponent_p_tabView_91_div_22_ng_container_1_Template","WebsiteSetupComponent_p_tabView_91_div_22_ng_container_2_Template","viewSortAgents","_r136","ctx_r135","onChangeCTSAdmin","ctx_r137","OrderCTSAdmin","ctx_r138","ctx_r79","_listCTSAdminWebSites","_r140","ctx_r139","_listsUserCTSAdminSites","_r142","ctx_r141","UpdateAllItemCtsAdminWebsiteSetup","_r149","item_r143","ctx_r147","UpdateItemCtsAdminWebsiteSetup","ctx_r150","GetFieldsByCTSAdmin","item_r154","_r156","ctx_r155","dropWebsiteCTSAdmin","WebsiteSetupComponent_p_tabView_91_div_32_ng_container_2_div_2_Template","ctx_r146","_listCTSAdminWebSitesTEMP","WebsiteSetupComponent_p_tabView_91_div_32_ng_container_1_Template","WebsiteSetupComponent_p_tabView_91_div_32_ng_container_2_Template","viewSortCTSAdmin","_r158","ctx_r157","onChangeEpos","ctx_r159","OrderEpos","ctx_r160","_listEposWebSites","_r162","ctx_r161","_listsUserEposSites","_r164","ctx_r163","UpdateAllItemEposWebsiteSetup","_checkedEpos","_r171","item_r165","ctx_r169","UpdateItemEposWebsiteSetup","ctx_r172","GetFieldsByEpos","item_r176","_r178","ctx_r177","dropWebsiteEpos","WebsiteSetupComponent_p_tabView_91_div_42_ng_container_2_div_2_Template","ctx_r168","_listEposWebSitesTEMP","WebsiteSetupComponent_p_tabView_91_div_42_ng_container_1_Template","WebsiteSetupComponent_p_tabView_91_div_42_ng_container_2_Template","viewSortEpos","_r180","ctx_r179","onChangeEposAdmin","ctx_r181","OrderEposAdmin","ctx_r182","_listEposAdminWebSites","_r184","ctx_r183","_r186","ctx_r185","UpdateAllItemEposAdminWebsiteSetup","ctx_r89","_r193","item_r187","ctx_r191","UpdateItemEposAdminWebsiteSetup","ctx_r194","GetFieldsByEposAdmin","item_r198","_r200","ctx_r199","dropWebsiteEposAdmin","WebsiteSetupComponent_p_tabView_91_div_52_ng_container_2_div_2_Template","ctx_r190","_listEposAdminWebSitesTEMP","WebsiteSetupComponent_p_tabView_91_div_52_ng_container_1_Template","WebsiteSetupComponent_p_tabView_91_div_52_ng_container_2_Template","ctx_r90","viewSortEposAdmin","_r202","ctx_r201","WebsiteSetupComponent_p_tabView_91_ng_container_5_Template","WebsiteSetupComponent_p_tabView_91_ng_container_6_Template","WebsiteSetupComponent_p_tabView_91_ng_container_10_Template","WebsiteSetupComponent_p_tabView_91_div_11_Template","WebsiteSetupComponent_p_tabView_91_ng_container_16_Template","WebsiteSetupComponent_p_tabView_91_ng_container_17_Template","WebsiteSetupComponent_p_tabView_91_ng_container_21_Template","WebsiteSetupComponent_p_tabView_91_div_22_Template","WebsiteSetupComponent_p_tabView_91_ng_container_26_Template","WebsiteSetupComponent_p_tabView_91_ng_container_27_Template","WebsiteSetupComponent_p_tabView_91_ng_container_31_Template","WebsiteSetupComponent_p_tabView_91_div_32_Template","WebsiteSetupComponent_p_tabView_91_ng_container_36_Template","WebsiteSetupComponent_p_tabView_91_ng_container_37_Template","WebsiteSetupComponent_p_tabView_91_ng_container_41_Template","WebsiteSetupComponent_p_tabView_91_div_42_Template","WebsiteSetupComponent_p_tabView_91_ng_container_46_Template","WebsiteSetupComponent_p_tabView_91_ng_container_47_Template","WebsiteSetupComponent_p_tabView_91_ng_container_51_Template","WebsiteSetupComponent_p_tabView_91_div_52_Template","ctx_r203","onChangeWebsiteTicket","ctx_r204","onChangeDomain","ctx_r205","idDomainSelected","ctx_r206","onHelpTicketChange","ctx_r207","onPartnersTicketChange","ctx_r208","onInternalTicketChange","ctx_r209","onChangeEnglishSelected","ctx_r210","onChangeSpanishSelected","_userInfoCTS","accessAllSites","_listDomains","ticketCenterSelected","englishSelected","spanishSelected","_r212","ctx_r211","WebsiteSetupComponent","load","viewConfigProfile","messageSuccess","messageError","getFieldsAllSites","selectPlayerAgent","_AllSitesToUpdate","_listWebSitesSetup","_listAgentWebSitesSetup","_listCTSAdminWebSitesSetup","_listEposWebSitesSetup","_listEposAdminWebSitesSetup","_listAllSitesToUpdate","_checkedAgentSite","_checkedCTSAdmin","_checkedEposAdmin","_checkedAll","_NewSubject","idSub","idSiteSelected","idAgentSiteSelected","idCtsAdminSiteSelected","idEposSiteSelected","idEposAdminSiteSelected","idWebsiteSelected","languageSelected","newDomainInfo","descriptionA","descriptionCTSAdmin2","descriptionEpos2","descriptionEposAdmin2","GetSubjects","SelectSites","GetAllWebsitesProfiles","getWebsiteDomainInfo","InitModals","SuccessProcess","ErrorProcess","GetAllSites","GetSitesByUser","_listSubjects","CreateListUpdateAllSites","descriptionAgents","descriptionCTSAdmin","descriptionEpos","descriptionEposAdmin","_listsUserEposAdminSites","testAgent","CreateListCTSAdmin","CreateListEpos","CreateListEposAdmin","idConfigByDomain","getDomainInfo","UpdateDomainByIdSite","temp","_NewSTEMP","_WebSetupItemUpdate","idWebsiteSetup","UpdateAllItemAgentWebsiteSetup","SelectAllSitesConfiguration","SelectItemConfigurationForAllSites","SaveChangeToAllSites","onChangeUpdateAllSites","SelectAllAgentSitesConfiguration","SelectItemConfigurationForAllAgentSites","dropFieldAllSite","listFields","changeViewCTSSites","websiteTabModal","selector","isArray","ctsAdminModal","CloseCTSAdminFieldsAnsSaveOrder","SelectAllItemFieldsForAllSites","closeWindow","allSitesModal","SaveChangeFieldsToAllSites","idWebsiteFieldsSetup","EditAllFieldsAllSites","UpdateAllItemCtsAdminFieldSetup","websiteType","idWebsiteType","indexOf","eposModal","CloseEposFieldsAnsSaveOrder","UpdateAllItemEposFieldSetup","eposAdminModal","CloseEposAdminFieldsAnsSaveOrder","UpdateAllItemEposAdminFieldSetup","WebsiteSetupComponent_div_1_Template","WebsiteSetupComponent_div_5_Template","WebsiteSetupComponent_div_6_Template","WebsiteSetupComponent_div_26_Template","WebsiteSetupComponent_div_46_Template","WebsiteSetupComponent_div_66_Template","WebsiteSetupComponent_div_89_Template","WebsiteSetupComponent_p_tabView_91_Template","WebsiteSetupComponent_div_92_Template","UserFormComponent_div_7_div_1_Template","UserFormComponent_div_7_div_2_Template","errorName","UserFormComponent_div_16_div_1_Template","nickName","UserFormComponent_div_25_div_1_Template","UserFormComponent_div_25_div_2_Template","UserFormComponent_div_35_div_1_Template","UserFormComponent_div_42_div_1_Template","UserFormComponent_div_49_div_1_Template","userType","UserFormComponent_div_56_div_1_Template","departments","UserFormComponent","onLoadPayloadUsers","hidePassword","errorEmail","errorNickname","newUserForm","profiles","searchErrors","errorString","returnObjectData","URLPARAMS","returnData","idProfile","tipoUpdate","showPassword","profileList","UserFormComponent_div_7_Template","UserFormComponent_div_9_Template","UserFormComponent_div_16_Template","UserFormComponent_div_18_Template","UserFormComponent_div_25_Template","UserFormComponent_div_27_Template","UserFormComponent_div_35_Template","UserFormComponent_div_42_Template","UserFormComponent_div_49_Template","UserFormComponent_div_56_Template","_r11","col_r14","UserComponent_p_card_0_ng_template_9_th_1_Template","columns_r12","payloadData_r15","getDepartmentByUser","editUser","deleteUser","UserComponent_p_card_0_ng_template_10_span_14_Template","UserComponent_p_card_0_ng_template_10_span_15_Template","UserComponent_p_card_0_ng_template_10_button_34_Template","UserComponent_p_card_0_ng_template_10_button_35_Template","countDepartment","profileName","userTypeName","_r33","UserComponent_p_card_0_ng_template_11_span_2_Template","UserComponent_p_card_0_ng_template_11_span_3_Template","item_r35","UserComponent_p_card_0_div_12_span_9_Template","departmentListByUser","tabOptionSelected","_r39","UserComponent_p_card_0_ng_template_8_Template","UserComponent_p_card_0_ng_template_9_Template","UserComponent_p_card_0_ng_template_10_Template","UserComponent_p_card_0_ng_template_11_Template","UserComponent_p_card_0_div_12_Template","UserComponent_p_card_0_app_user_form_15_Template","_r52","UpdateTableInfo","_r57","item_r59","updateStatus","item_r67","deleteSiteForUser","UserComponent_p_card_2_ng_container_45_div_1_div_1_button_6_Template","UserComponent_p_card_2_ng_container_45_div_1_div_1_Template","listsUserSites","UserComponent_p_card_2_ng_container_45_div_1_Template","item_r72","updateDepartmentChecked","UserComponent_p_card_2_app_user_form_2_Template","getDepartmentListByUser","UserComponent_p_card_2_div_8_Template","UserComponent_p_card_2_div_19_Template","updateAllRights","UserComponent_p_card_2_div_34_Template","UserComponent_p_card_2_div_41_Template","UserComponent_p_card_2_div_42_Template","UserComponent_p_card_2_div_44_Template","UserComponent_p_card_2_ng_container_45_Template","siteTagSelected","UserComponent_p_card_2_div_72_Template","listsUsersMenu","listInternalDepartment","UserComponent","showUserInfo","getAllProfilesList","modalUserDeparmentList","departmentListByIdUser","listInternalDepartmentModal","getAllSitesByIdUser","table","idComponentsByUsers","UserComponent_p_card_0_Template","UserComponent_div_1_Template","UserComponent_p_card_2_Template","_r20","applyAllUsers","item_r28","getSubjectFieldByIdWithoutCall","active","updateCheckbox","EditProfileComponent_ng_container_0_ng_container_15_div_10_div_9_Template","EditProfileComponent_ng_container_0_ng_container_15_div_10_div_10_Template","EditProfileComponent_ng_container_0_ng_container_15_div_10_Template","item_r43","_r45","EditProfileComponent_ng_container_0_ng_container_16_div_2_Template","_r47","allChecked2","item_r49","EditProfileComponent_ng_container_0_ng_container_22_div_1_div_1_Template","EditProfileComponent_ng_container_0_ng_container_22_div_1_div_6_Template","ctx_r48","showSubjectCheckbox","EditProfileComponent_ng_container_0_ng_container_22_div_1_Template","accessSite","EditProfileComponent_ng_container_0_ng_container_23_div_1_Template","EditProfileComponent_ng_container_0_ng_container_25_div_1_Template","_r64","OnAddNewInfo","EditProfileComponent_ng_container_0_div_7_Template","EditProfileComponent_ng_container_0_div_8_Template","EditProfileComponent_ng_container_0_div_9_Template","EditProfileComponent_ng_container_0_h5_12_Template","EditProfileComponent_ng_container_0_h5_13_Template","EditProfileComponent_ng_container_0_button_14_Template","EditProfileComponent_ng_container_0_ng_container_15_Template","EditProfileComponent_ng_container_0_ng_container_16_Template","EditProfileComponent_ng_container_0_h5_18_Template","EditProfileComponent_ng_container_0_h5_19_Template","EditProfileComponent_ng_container_0_h5_20_Template","EditProfileComponent_ng_container_0_div_21_Template","EditProfileComponent_ng_container_0_ng_container_22_Template","EditProfileComponent_ng_container_0_ng_container_23_Template","EditProfileComponent_ng_container_0_ng_container_24_Template","EditProfileComponent_ng_container_0_ng_container_25_Template","EditProfileComponent_ng_container_0_div_26_Template","EditProfileComponent","onGetOutputData","addSite","c","buscarObjetoPorId","array","activeForProfile","idComponent","concat","onDataParams","accessTagComponent","removeInvalidItems","EditProfileComponent_ng_container_0_Template","EditProfileComponent_div_12_Template","_r13","col_r16","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_5_th_1_Template","columns_r14","payloadData_r17","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_6_td_1_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_6_td_2_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_6_td_3_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_7_span_2_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_7_span_3_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_4_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_5_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_6_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_ng_template_7_Template","siteTagList","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_2_Template","ProfileComponent_p_card_0_p_tabPanel_3_ng_container_3_Template","item_r4","showNewRegister","ProfileComponent_p_card_0_p_tabPanel_3_Template","udpateItemInfo","ProfileComponent","newSiteItemArray","getAllWebsiteProfilesList","getSiteTag","getSubjects","payloadData2","ProfileComponent_p_card_0_Template","ProfileComponent_div_1_Template","ProfileComponent_p_card_2_Template","twoFactorSettings","qrCodeSetupImageUrl","manualEntryKey","TwoFactorComponent_div_13_div_1_Template","inputCode","TwoFactorComponent","twoFactorData","twoFactorForm","userInfoCTSData","GetTwoFactorSettings","TwoFactorComponent_h6_1_Template","TwoFactorComponent_h4_2_Template","TwoFactorComponent_img_4_Template","TwoFactorComponent_div_5_Template","TwoFactorComponent_div_13_Template","TwoFactorComponent_span_15_Template","TwoFactorComponent_span_16_Template","TwoFactorComponent_div_17_Template","option_r1","ConfigurationComponent","getSamrtLogin","onSetTheme","ConfigurationComponent_ng_template_10_Template","DirectTicketCenterComponent","BrandSetUpComponent_div_0_app_brand_subject_filter_2_Template","option_r6","onFilterChange","LogsComponent_ng_template_6_ng_template_3_Template","getFilterTypeDa","FilterType","currentDay","col_r17","LogsComponent_ng_template_7_th_1_Template","columns_r15","payloadData_r18","subjectEdited","relevanceName","statusName","fieldEdited","LogsComponent_ng_template_8_span_2_Template","LogsComponent_ng_template_8_span_3_Template","LogsComponent_ng_template_8_span_4_Template","LogsComponent_ng_template_8_span_5_Template","LogsComponent_ng_template_8_span_6_Template","LogsComponent_ng_template_8_span_7_Template","LogsComponent_ng_template_8_span_8_Template","LogsComponent_ng_template_8_td_9_Template","actionName","details","LogsComponent_ng_template_9_span_2_Template","LogsComponent_ng_template_9_span_3_Template","routes","path","component","children","redirectTo","pathMatch","BrandSetUpComponent","getBrandSetUp","getBrandSiteById","BrandSetUpComponent_div_0_Template","BrandSetUpComponent_p_card_1_Template","NotificationComponent","LogsComponent","returnHeaderTableFilter","returURLParamenter","filterType","LogsComponent_ng_template_6_Template","LogsComponent_ng_template_7_Template","LogsComponent_ng_template_8_Template","LogsComponent_ng_template_9_Template","AppRoutingModule","oAB","cJS","RouterModule","forRoot","TokenInterceptor","intercept","request","clonedReq","clone","handle","tap","NotificationsComponent_div_1_ng_container_1_Template","className","notification_r3","_r1","notification_r5","notification","close","NotificationsComponent","_notificationSvc","notifications","_addNotification","_subscription","notif","NotificationsComponent_div_1_Template","NotificationsComponent_ng_template_2_Template","AppComponent","onlineStatusService","themeColor","localTheme","dataselected","GetConfigurationByDomain","domain","Theme","HttpLoaderFactory","http","TranslateHttpLoader","getLang","tokenGetter","AppModule","CookieService","provide","HTTP_INTERCEPTORS","useClass","multi","imports","BrowserModule","FormsModule","ReactiveFormsModule","NgbModule","OnlineStatusModule","HttpClientModule","ScrollTopModule","BadgeModule","TableModule","CalendarModule","SliderModule","DialogModule","MultiSelectModule","ContextMenuModule","DropdownModule","ButtonModule","CardModule","InputTextModule","InputSwitchModule","ProgressBarModule","TabViewModule","CheckboxModule","DragDropModule","FontAwesomeModule","TagModule","BrowserAnimationsModule","FileUploadModule","NgxEditorModule","locals","italic","code","underline","strike","blockquote","bullet_list","ordered_list","h1","h2","h3","h4","h5","h6","align_left","align_center","align_right","align_justify","text_color","background_color","insertLink","removeLink","insertImage","openInNewTab","insert","altText","NgHttpLoaderModule","TranslateModule","defaultLanguage","loader","TranslateLoader","useFactory","deps","HttpClient","JwtModule","allowedDomains","disallowedRoutes","ServiceWorkerModule","register","enabled","registrationStrategy","__NgCli_bootstrap_1","bootstrapModule","catch"],"sourceRoot":"webpack:///","sources":["./src/app/services/api.service.ts","./src/app/common/constants.ts","./src/app/services/notification.service.ts","./src/app/services/counter.service.ts","./src/app/common/guards/api.guard.ts","./src/app/models/models.ts","./src/app/services/loading.service.ts","./src/app/services/theme.service.ts","./src/app/services/media.service.ts","./src/environments/environment.ts","./src/app/common/methods.ts","./src/app/services/translate.service.ts","./src/app/core/components/navbar/navbar.component.html","./src/app/core/components/navbar/navbar.component.ts","./src/app/core/components/sidenav/sidenav.component.html","./src/app/core/components/sidenav/sidenav.component.ts","./src/app/core/layouts/main-layout/main-layout.component.html","./src/app/core/layouts/main-layout/main-layout.component.ts","./src/app/core/layouts/header-layout/header-layout.component.ts","./src/app/core/layouts/header-layout/header-layout.component.html","./src/app/models/auth-model.ts","./src/app/core/components/login/login.component.html","./src/app/core/components/login/login.component.ts","./src/app/core/components/not-found/not-found.component.ts","./src/app/core/components/not-found/not-found.component.html","./src/app/core/components/ticket-form/ticket-form.component.html","./src/app/core/components/ticket-form/ticket-form.component.ts","./src/app/core/components/ticket-message-info/ticket-message-info.component.html","./src/app/core/components/ticket-message-info/ticket-message-info.component.ts","./src/app/core/views/ticker/ticker.component.html","./src/app/core/views/ticker/ticker.component.ts","./src/app/core/components/export-as/export-as.component.ts","./src/app/core/components/export-as/export-as.component.html","./src/app/core/components/table-generic/table-generic.component.html","./src/app/core/components/table-generic/table-generic.component.ts","./src/app/core/components/ticket-general/ticket-general.component.html","./src/app/core/components/ticket-general/ticket-general.component.ts","./src/app/core/views/help-ticket-center/help-ticket-center.component.ts","./src/app/core/views/help-ticket-center/help-ticket-center.component.html","./src/app/core/views/internal-ticket-center/internal-ticket-center.component.ts","./src/app/core/views/internal-ticket-center/internal-ticket-center.component.html","./src/app/core/views/partners-ticket-center/partners-ticket-center.component.ts","./src/app/core/views/partners-ticket-center/partners-ticket-center.component.html","./src/app/core/views/personal-worklog/personal-worklog.component.html","./src/app/core/views/personal-worklog/personal-worklog.component.ts","./src/app/core/components/shortcut-desk-filter/shortcut-desk-filter.component.html","./src/app/core/components/shortcut-desk-filter/shortcut-desk-filter.component.ts","./src/app/core/views/service-desk-log/service-desk-log.component.ts","./src/app/core/views/service-desk-log/service-desk-log.component.html","./src/app/core/views/shortcut-center/shortcut-center.component.ts","./src/app/core/views/shortcut-center/shortcut-center.component.html","./src/app/core/components/brand-subject-filter/brand-subject-filter.component.html","./src/app/core/components/brand-subject-filter/brand-subject-filter.component.ts","./src/app/core/views/subjects/subjects.component.html","./src/app/core/views/subjects/subjects.component.ts","./src/app/core/components/checkbox-editor/checkbox-editor.component.html","./src/app/core/components/checkbox-editor/checkbox-editor.component.ts","./src/app/core/views/relevance-level/relevance-level.component.html","./src/app/core/views/relevance-level/relevance-level.component.ts","./src/app/core/views/status-list/status-list.component.html","./src/app/core/views/status-list/status-list.component.ts","./src/app/core/views/department/department.component.html","./src/app/core/views/department/department.component.ts","./src/app/core/views/website-setup/website-setup.component.html","./src/app/core/views/website-setup/website-setup.component.ts","./src/app/core/components/user-form/user-form.component.html","./src/app/core/components/user-form/user-form.component.ts","./src/app/core/views/user/user.component.html","./src/app/core/views/user/user.component.ts","./src/app/core/components/edit-profile/edit-profile.component.html","./src/app/core/components/edit-profile/edit-profile.component.ts","./src/app/core/views/profile/profile.component.html","./src/app/core/views/profile/profile.component.ts","./src/app/core/components/two-factor/two-factor.component.html","./src/app/core/components/two-factor/two-factor.component.ts","./src/app/core/components/configuration/configuration.component.html","./src/app/core/components/configuration/configuration.component.ts","./src/app/core/views/direct-ticket-center/direct-ticket-center.component.ts","./src/app/core/views/direct-ticket-center/direct-ticket-center.component.html","./src/app/core/views/brand-set-up/brand-set-up.component.html","./src/app/core/views/logs/logs.component.html","./src/app/app-routing.module.ts","./src/app/core/views/brand-set-up/brand-set-up.component.ts","./src/app/core/views/notification/notification.component.ts","./src/app/core/views/notification/notification.component.html","./src/app/core/views/logs/logs.component.ts","./src/app/services/token.interceptor.ts","./src/app/core/components/notifications/notifications.component.html","./src/app/core/components/notifications/notifications.component.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/main.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { ResponseData } from '@models/models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApiService {\r\n\r\n constructor(private _http: HttpClient, private _route: Router, private _cookieService: CookieService) { }\r\n\r\n apiPostMethod(URL: string, body: any): Observable {\r\n return this._http.post(URL, body);\r\n }\r\n\r\n apiGetMethod(URL: string): Observable {\r\n return this._http.get(URL);\r\n }\r\n\r\n getRouterLink() {\r\n return localStorage.getItem('route');\r\n }\r\n\r\n setRouterLink(router: any) {\r\n localStorage.setItem('route', router);\r\n }\r\n\r\n setPermissionByMenu(permission: any) {\r\n localStorage.setItem('permissionByMenu', permission);\r\n }\r\n\r\n changedetected(isDetected: any) {\r\n localStorage.setItem('isDetected', isDetected);\r\n }\r\n\r\n getDetectionChanges() {\r\n return localStorage.getItem('isDetected');\r\n }\r\n\r\n logout() {\r\n if (document.body) {\r\n document.body.classList.remove(localStorage.getItem('theme')!);\r\n }\r\n const hasRefreshed = sessionStorage.getItem('hasRefreshed');\r\n sessionStorage.clear();\r\n if(hasRefreshed !== null){\r\n sessionStorage.setItem('hasRefreshed', hasRefreshed);\r\n }\r\n const storage = localStorage.getItem('isSmartLogin');\r\n if (storage == 'false') {\r\n this._cookieService.deleteAll();\r\n localStorage.clear();\r\n }\r\n\r\n this._route.navigate(['/login']);\r\n }\r\n}\r\n","import { Spinkit } from \"ng-http-loader\";\r\nimport { FilterMatchMode } from \"primeng/api\";\r\n\r\nexport const BootstrapBreakpoints = [\r\n { Id: 0, Name: 'xs', MediaQuery: \"(max-width: 575.98px)\" },\r\n { Id: 1, Name: 'sm', MediaQuery: \"(min-width: 576px) and (max-width: 767.98px)\" },\r\n { Id: 2, Name: 'md', MediaQuery: \"(min-width: 768px) and (max-width: 991.98px)\" },\r\n { Id: 3, Name: 'lg', MediaQuery: \"(min-width: 992px) and (max-width: 1199.98px)\" },\r\n { Id: 4, Name: 'xl', MediaQuery: \"(min-width: 1200px)\" },\r\n { Id: 5, Name: 'landscape', MediaQuery: \"(orientation: landscape)\" }\r\n];\r\n\r\nexport const logoBase64 = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKMAAAAeCAYAAABAOK4rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5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Menu: [5, 15, 20, 30],\r\n rowPerPage: 15,\r\n emptyDataMessage: 'No hay datos disponibles'\r\n}\r\n\r\nexport class Notification {\r\n\r\n constructor(\r\n public id: number,\r\n public type: NotificationType,\r\n public message: string,\r\n public classProp: string,\r\n public classPropAnimation: string,\r\n public timeout: number,\r\n ) { }\r\n}\r\n\r\nexport enum NotificationType {\r\n success = 0,\r\n warning = 1,\r\n error = 2,\r\n info = 3\r\n}\r\n\r\nexport interface Column {\r\n field: string;\r\n header: string;\r\n title?: string;\r\n customExportHeader?: string;\r\n showFilter?: boolean;\r\n}\r\n\r\nexport interface Navigation {\r\n Id: number;\r\n routerLink: string;\r\n iconClass: string;\r\n translate: string;\r\n hasPermission: boolean;\r\n showInToolbar: boolean;\r\n showInNavBar: boolean;\r\n isNew: boolean;\r\n SubMenu: any;\r\n}\r\n\r\nexport interface Filters {\r\n boleanValue?: boolean;\r\n label: string;\r\n metaThemeColor?: string;\r\n spinerLoaderColor?: string;\r\n spinerBgColor?: string;\r\n spiner?: string;\r\n value: any;\r\n primengTheme?: string;\r\n}\r\n\r\nexport const StatusFilter: Filters[] = [\r\n { label: 'In-Progress', value: 'in-progress' },\r\n { label: 'Resolved', value: 'resolved' },\r\n { label: 'Open', value: 'open' },\r\n { label: 'Closed', value: 'closed' }\r\n]\r\n\r\nexport const TicketCenter: Filters[] = [\r\n { label: 'Help Ticket Center', value: '1' },\r\n { label: 'Partners Ticket Center', value: '2' },\r\n { label: 'Internal Ticket Center', value: '3' }\r\n]\r\n\r\nexport const RelevanceFilter: Filters[] = [\r\n { label: 'Low', value: 'low' },\r\n { label: 'Medium', value: 'medium' },\r\n { label: 'High', value: 'high' }\r\n]\r\n\r\nexport const MatchModeOptions: Filters[] = [\r\n {\r\n label: 'Date is',\r\n value: FilterMatchMode.DATE_IS\r\n },\r\n {\r\n label: 'Date is before',\r\n value: FilterMatchMode.DATE_BEFORE\r\n },\r\n {\r\n label: 'Date is after',\r\n value: FilterMatchMode.DATE_AFTER\r\n }\r\n];\r\n\r\nexport const ClientTypeList: Filters[] = [\r\n { label: \"Player\", value: 1 },\r\n { label: \"Agent\", value: 2 }\r\n];\r\n\r\nexport const InternalList: Filters[] = [\r\n { label: \"Internal\", boleanValue: true, value: '' },\r\n { label: \"Partner\", boleanValue: false, value: '' }\r\n];\r\n\r\nexport const AllSiteList: Filters[] = [\r\n { label: 'WebsiteSetup.Set All Websites', value: \"1\" },\r\n { label: 'Agent', value: \"2\" }\r\n];\r\n\r\nexport const UserTypeList: Filters[] = [\r\n { label: 'Super Admin', value: 1 },\r\n { label: 'Admin', value: 2 },\r\n { label: 'Manager', value: 3 },\r\n { label: 'Soprte JazzGS', value: 4 },\r\n { label: 'Account Manager', value: 5 }\r\n];\r\n\r\nexport const FilterLogs: Filters[] = [\r\n { label: 'Tickets', value: 'TicketLog' },\r\n { label: 'Users', value: 'userLog' },\r\n { label: 'Subjects', value: 'SubjectLog' },\r\n { label: 'Fields', value: 'SubjectFieldsLog' },\r\n { label: 'Relevance', value: 'RelevanceLog' },\r\n { label: 'Status', value: 'StatusLog' },\r\n { label: 'Department', value: 'DepartmentLog' }\r\n];\r\n\r\nexport const FilterLogsBA007: Filters[] = [\r\n { label: 'Tickets', value: 'TicketLog' }\r\n];\r\n\r\nexport const LanguageFilter: Filters[] = [\r\n { label: 'English', value: 'en' },\r\n { label: 'Español', value: 'es' },\r\n { label: 'Português', value: 'pt' }\r\n];\r\n\r\nexport const ThemesOptions: Filters[] = [\r\n {\r\n label: 'Theme Light',\r\n value: 'theme-ctsadmin',\r\n metaThemeColor: '#1D4A49',\r\n spinerLoaderColor: '#1D4A49',\r\n spinerBgColor: '#fff',\r\n spiner: Spinkit.skThreeBounce,\r\n primengTheme: 'lara-light-blue.css'\r\n },\r\n {\r\n label: 'Theme Dark',\r\n value: 'theme-default-dark',\r\n metaThemeColor: '#303944',\r\n spinerLoaderColor: '#ff0000',\r\n spinerBgColor: '#000000bf',\r\n spiner: Spinkit.skThreeBounce,\r\n primengTheme: 'lara-light-blue.css'\r\n },\r\n {\r\n label: 'Theme Legacy',\r\n value: 'theme-default-light',\r\n metaThemeColor: '#1D4A49',\r\n spinerLoaderColor: '#1D4A49',\r\n spinerBgColor: '#fff',\r\n spiner: Spinkit.skThreeBounce,\r\n primengTheme: 'lara-light-blue.css'\r\n }\r\n]\r\n\r\nexport const NAVIGATION: Navigation[] = [\r\n {\r\n Id: 11,\r\n routerLink: '/ticker',\r\n iconClass: 'fas fa-home',\r\n translate: 'USER.SIDENAV.TICKER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 12,\r\n routerLink: '/help-ticker-center',\r\n iconClass: 'feather icon-home',\r\n translate: 'USER.SIDENAV.HELP_TICKET_CENTER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 13,\r\n routerLink: '/internal-ticker-center',\r\n iconClass: 'feather icon-activity',\r\n translate: 'USER.SIDENAV.INTERNAL_TICKET_CENTER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 14,\r\n routerLink: '/partners-ticker-center',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.PARTNERS_TICKET_CENTER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 15,\r\n routerLink: '/personal-worlog',\r\n iconClass: 'feather icon-anchor',\r\n translate: 'USER.SIDENAV.PERSONAL_WORKLOG',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n }, {\r\n Id: 16,\r\n routerLink: '/service-desk-log',\r\n iconClass: 'feather icon-monitor',\r\n translate: 'USER.SIDENAV.SERVICE_DESK_LOG',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 17,\r\n routerLink: '/shortcut-center',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.SHORTCUT_CENTER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 18,\r\n routerLink: '/subject',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.SUBJECTS',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 19,\r\n routerLink: '/relevance-level',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.RELEVANCE_LEVEL',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 20,\r\n routerLink: '/status-list',\r\n iconClass: 'feather icon-check-circle',\r\n translate: 'USER.SIDENAV.STATUS_LIST',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 21,\r\n routerLink: '/department',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.DEPARTMENT',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 22,\r\n routerLink: '/website-set-up',\r\n iconClass: 'feather icon-alert-circle',\r\n translate: 'USER.SIDENAV.WEBSITE_SETUP',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 23,\r\n routerLink: '/user',\r\n iconClass: 'fas fa-user',\r\n translate: 'USER.SIDENAV.USER',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n },\r\n {\r\n Id: 24,\r\n routerLink: '/profile',\r\n iconClass: 'feather icon-settings',\r\n translate: 'USER.SIDENAV.PROFILES',\r\n hasPermission: true,\r\n showInToolbar: false,\r\n showInNavBar: true,\r\n isNew: false,\r\n SubMenu: []\r\n }\r\n]\r\n\r\n\r\n//export const NAVIGATION: Navigation[] = [\r\n // {\r\n // Id: 33,\r\n // routerLink: '/sports',\r\n // iconClass: 'fas fa-futbol',\r\n // translate: 'USER.SIDENAV.SPORTS',\r\n // hasPermission: true,\r\n // showInToolbar: false,\r\n // showInNavBar: true,\r\n // isNew: true,\r\n // SubMenu: [\r\n // {\r\n // Id: 34,\r\n // routerLink: '/e-sports',\r\n // iconClass: 'feather icon-settings',\r\n // translate: 'USER.SIDENAV.E_SPORTS',\r\n // hasPermission: true,\r\n // showInToolbar: false,\r\n // showInNavBar: true,\r\n // isNew: false,\r\n // SubMenu: []\r\n // }\r\n // },\r\n//]\r\n","import { Injectable } from '@angular/core';\r\nimport { Subject, Observable } from 'rxjs';\r\nimport { Notification, NotificationType } from \"../common/constants\";\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\n\r\nexport class NotificationService {\r\n\r\n\tprivate getHttpError: Subject = new Subject();\r\n private showContinue: Subject = new Subject();\r\n private showLoading: Subject = new Subject();\r\n private clearSideOptions: Subject = new Subject();\r\n private getHomeOptions: Subject = new Subject();\r\n\tprivate clickBetContinue: Subject = new Subject();\r\n\tprivate updateHeader: Subject = new Subject();\r\n\t\r\n\tprivate _subject = new Subject();\r\n\tprivate _idx = 0;\r\n\r\n\tgetObservable(): Observable {\r\n\t\treturn this._subject.asObservable();\r\n\t}\r\n\t\r\n\tinfo( message: string, classProp: string, classPropAnimation: string, timeout: number) {\r\n\t\tthis._subject.next(new Notification(this._idx++, NotificationType.info, message, classProp, classPropAnimation, timeout));\r\n\t}\r\n\t\r\n\tsuccess( message: string, classProp: string, classPropAnimation: string, timeout: number) {\r\n\t\tthis._subject.next(new Notification(this._idx++, NotificationType.success, message, classProp, classPropAnimation, timeout));\r\n\t}\r\n\t\r\n\twarning( message: string, classProp: string, classPropAnimation: string, timeout: number) {\r\n\t\tthis._subject.next(new Notification(this._idx++, NotificationType.warning, message, classProp, classPropAnimation, timeout));\r\n\t}\r\n\t\r\n\terror( message: string, classProp: string, classPropAnimation: string, timeout = 0) {\r\n\t\tthis._subject.next(new Notification(this._idx++, NotificationType.error, message, classProp, classPropAnimation, timeout));\r\n\t}\r\n\t \r\n\tinit() {\r\n this.getHttpError = new Subject();\r\n this.showContinue = new Subject();\r\n this.showLoading = new Subject();\r\n this.clearSideOptions = new Subject();\r\n this.getHomeOptions = new Subject();\r\n\t\tthis.clickBetContinue = new Subject();\r\n this.updateHeader = new Subject();\r\n\t} \r\n\r\n\r\n\tnotifyHttpError(httpError: number) {\r\n\t\tthis.getHttpError.next(httpError);\r\n\t} \r\n\r\n\tonHttpError() {\r\n\t\treturn this.getHttpError.asObservable();\r\n\t}\r\n\r\n\tnotifyShowNext(show: boolean) {\r\n\t\tthis.showContinue.next(show);\r\n\t} \r\n\r\n\tonShowNext() {\r\n\t\treturn this.showContinue.asObservable();\r\n }\r\n \r\n notifyShowLoading(show: boolean) {\r\n\t\tthis.showLoading.next(show);\r\n\t} \r\n\r\n\tonShowLoading() {\r\n\t\treturn this.showLoading.asObservable();\r\n }\r\n \r\n notifyClearSideOptions(show: boolean) {\r\n\t\tthis.clearSideOptions.next(show);\r\n\t} \r\n\r\n\tonClearSideOptions() {\r\n\t\treturn this.clearSideOptions.asObservable();\r\n }\r\n \r\n notifyHomeOptions(option: number) {\r\n\t\tthis.getHomeOptions.next(option);\r\n\t} \r\n\r\n\tonHomeOptions() {\r\n\t\treturn this.getHomeOptions.asObservable();\r\n }\r\n \r\n\tclear() {\r\n\t\tthis.getHttpError.complete();\r\n this.showContinue.complete();\r\n this.showLoading.complete();\r\n this.clearSideOptions.complete();\r\n\t\tthis.clickBetContinue.complete();\r\n this.updateHeader.complete();\r\n\t}\r\n}","import { Injectable } from '@angular/core';\r\nimport {BehaviorSubject, Observable} from 'rxjs';\r\n\r\n@Injectable()\r\nexport class CounterService{\r\n\r\n private _counterTickets = new BehaviorSubject(null);\r\n _Counter = this._counterTickets.asObservable();\r\n\r\n private _counterPendingTickets = new BehaviorSubject(null);\r\n _CounterPendingTickets = this._counterPendingTickets.asObservable(); \r\n\r\n private _counterHelpNotifications = new BehaviorSubject(null);\r\n _CounterHelpNotifications = this._counterHelpNotifications.asObservable(); \r\n\r\n private _counterInternalNotifications = new BehaviorSubject(null);\r\n _CounterInternalNotifications = this._counterInternalNotifications.asObservable(); \r\n\r\n private _counterPartnerNotifications = new BehaviorSubject(null);\r\n _CounterPartnerNotifications = this._counterPartnerNotifications.asObservable(); \r\n \r\n private _counterDirectNotifications = new BehaviorSubject(null);\r\n _CounterDirectNotifications = this._counterDirectNotifications.asObservable();\r\n\r\n private _actualRouteNotification = new BehaviorSubject(null);\r\n _CounterActualRoute = this._actualRouteNotification.asObservable();\r\n\r\n private _isNavigationExpanded = new BehaviorSubject(null);\r\n _NavigationExpanded = this._isNavigationExpanded.asObservable();\r\n\r\n private _isNotificationCalled = new BehaviorSubject(null);\r\n _IsNotificationCalled = this._isNotificationCalled.asObservable();\r\n \r\n constructor() { }\r\n\r\n PendingTickets(pCounter: number) {\r\n this._counterTickets.next(pCounter)\r\n }\r\n\r\n CounterPendingTickets(pCounter: number) {\r\n this._counterPendingTickets.next(pCounter)\r\n }\r\n\r\n CounterHelpNotifications(pCounter: number) {\r\n this._counterHelpNotifications.next(pCounter)\r\n }\r\n\r\n CounterInternalNotifications(pCounter: number) {\r\n this._counterInternalNotifications.next(pCounter)\r\n }\r\n \r\n CounterPartnerNotifications(pCounter: number) {\r\n this._counterPartnerNotifications.next(pCounter)\r\n }\r\n\r\n CounterDirectNotifications(pCounter: number) {\r\n this._counterDirectNotifications.next(pCounter)\r\n }\r\n\r\n ActualRoute(pRoute: string) {\r\n this._actualRouteNotification.next(pRoute)\r\n }\r\n\r\n IsExpandedSideNav(isExpandex: boolean) {\r\n this._isNavigationExpanded.next(isExpandex)\r\n }\r\n\r\n setNotificationsServiceSub(isExpandex: boolean) {\r\n this._isNotificationCalled.next(isExpandex)\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot, Router, UrlTree, NavigationEnd } from '@angular/router';\r\nimport { Observable, filter } from 'rxjs';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { CounterService } from '@services/counter.service';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class apiGuard {\r\n actualRoute: any;\r\n constructor(public _apiService: ApiService, public router: Router, private _notificationService: NotificationService, private _cookieService: CookieService, private _counterService: CounterService) { \r\n\r\n router.events.pipe(\r\n filter(event => event instanceof NavigationEnd)\r\n ).subscribe((event: any) => {\r\n if (event.url != '/login') {\r\n this._counterService.ActualRoute(event.url);\r\n this._apiService.setRouterLink(event.url);\r\n }\r\n });\r\n \r\n }\r\n canActivate(\r\n next: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): Observable | Promise | UrlTree | boolean {\r\n const cookie = this._cookieService.get(\"token\");\r\n if (cookie == '') {\r\n localStorage.clear();\r\n this._notificationService.warning('GENERICS.ACCESS_DENIED', 'bg-dark', 'animate__backInUp', 6000);\r\n this._apiService.logout();\r\n }\r\n return true;\r\n }\r\n}","\r\nexport class ResponseData {\r\n data: any;\r\n error: string;\r\n errorCode: string;\r\n success: boolean;\r\n}\r\n\r\nexport class ConfigSite {\r\n SiteName: string;\r\n WebApiUrl: string;\r\n AdminUrl: string;\r\n DefaultHostName: string;\r\n CSId: number;\r\n uploadFilesApi: string;\r\n previousDisplay: string;\r\n}\r\n\r\nexport class ConfigByDomain {\r\n idConfigByDomain: number;\r\n domain: string;\r\n idSite: number;\r\n theme: string;\r\n language: string;\r\n idSiteType: number;\r\n token: string;\r\n}\r\n\r\nexport class TicketMessage {\r\n idTicketMessage: number;\r\n idTicket: number;\r\n message: string;\r\n sender: number;\r\n sendingUser: string;\r\n sendToPlayer: boolean;\r\n dateTransactionMessage: Date;\r\n attachedFile: string;\r\n attachedFileString: string;\r\n sendingUserName: string;\r\n idSiteType: number;\r\n replyToClient: boolean;\r\n idStatus: number;\r\n}\r\n\r\nexport class ReturnTokenDto {\r\n Status: boolean;\r\n Token: string;\r\n Player: string;\r\n Email: string;\r\n IdSite: number;\r\n Language: string;\r\n Pw: string;\r\n\r\n IdCurrency: number;\r\n IdCurrencyDgs: number;\r\n CurrencyCode: number;\r\n}\r\n\r\nexport class siteTag {\r\n idSiteTag: number;\r\n description: string;\r\n siteDomain: string;\r\n}\r\n\r\nexport class Ticket {\r\n IdTicket: number;\r\n TicketNumber: number;\r\n IdSite: number;\r\n IdPlayer: string;\r\n IdAgent: string;\r\n Subject: string;\r\n IdType: number;\r\n IdStatus: number;\r\n DateTransaction: Date;\r\n Relevance: number;\r\n Department: TicketDepartment[];\r\n Email: string;\r\n ServiceDeskTicket: string;\r\n AssignedUser: string;\r\n OpenTicketStatus: boolean;\r\n OpenTicketUser: string;\r\n}\r\n\r\nexport class TicketDepartment {\r\n IdTicketDepartment: number;\r\n IdDepartment: number;\r\n IdTicket: number\r\n DepartmentName: string;\r\n IdUser: number;\r\n NewDepartmentName: string;\r\n TicketNumber: number;\r\n}\r\n\r\nexport class PlayerDto {\r\n\r\n IdPlayer: number;\r\n Player: string;\r\n IdAgent: number;\r\n\r\n IdLanguage: number;\r\n Language: string;\r\n\r\n IdCurrency: number;\r\n Currency: string;\r\n\r\n Email: string;\r\n Name: string;\r\n LastName: string;\r\n LastName2: string;\r\n\r\n Address: string;\r\n City: string;\r\n Phone: string;\r\n\r\n CountryCode: string;\r\n StateCode: string;\r\n}\r\n\r\nexport class InternalUsers {\r\n IdUser: number;\r\n UserEmail: string;\r\n UserCompleteName: string;\r\n IsActive: boolean;\r\n}\r\n\r\nexport class MessageStatus {\r\n Id: number;\r\n Description: string;\r\n}\r\n\r\n\r\n// Tickets Objects\r\nexport class SubjectTickets {\r\n\r\n idSubject: number;\r\n subjectName: string;\r\n idDepartment: number;\r\n department: string;\r\n isActive: boolean;\r\n userInCharge: number;\r\n description: string;\r\n spanishTranslation: string;\r\n isHelp: boolean;\r\n isInternal: boolean;\r\n isPartner: boolean;\r\n isDirect: boolean;\r\n}\r\n\r\nexport class SubjectFields {\r\n\r\n idSubjectField: number;\r\n idSubject: number;\r\n name: string;\r\n isActive: boolean;\r\n textDescription: string;\r\n userInCharge: number;\r\n formType: number;\r\n spanishTranslation: string;\r\n idDepartment: number;\r\n portugueseTranslation: string;\r\n}\r\n\r\nexport class ConfigWebsiteFields {\r\n IdSite: number;\r\n IdSub: number;\r\n}\r\n// Relevance Levels\r\n\r\nexport class RelevanceLevel {\r\n\r\n idRelevance: number;\r\n description: string;\r\n isActive: boolean;\r\n userInCharge: number;\r\n}\r\n\r\n// Ticket Status\r\nexport class TicketStatus {\r\n\r\n idStatusList: number;\r\n description: string;\r\n isActive: boolean;\r\n userInCharge: number;\r\n}\r\n\r\n// Department\r\n\r\nexport class Department {\r\n idDepartment: number;\r\n name: string;\r\n email: string;\r\n isActive: boolean;\r\n userInCharge: number;\r\n isInternal: boolean;\r\n}\r\n\r\n// Website setup\r\n\r\nexport class WebsiteSetup {\r\n idWebsiteSetup: number;\r\n idSubject: number;\r\n idSite: number;\r\n isActive: boolean;\r\n position: number;\r\n}\r\n\r\nexport class WebsiteFieldsSetup {\r\n idWebsiteFieldsSetup: number;\r\n idSubjectField: number;\r\n idSubject: number;\r\n idSite: number;\r\n isActive: boolean;\r\n position: number;\r\n name: string;\r\n formType: number;\r\n spanishTranslation: string;\r\n portugueseTranslation: string;\r\n}\r\n\r\nexport class siteTagTEMP {\r\n idSiteTag: number;\r\n description: string;\r\n idSubject: number;\r\n subjectName: string;\r\n isActive: boolean;\r\n position: number;\r\n descriptionSubject: string;\r\n}\r\n\r\nexport class TicketGeneral {\r\n idTicket: number;\r\n ticketNumber: number;\r\n idSite: number;\r\n idPlayer: string;\r\n idAgent: number;\r\n subject: string;\r\n idTypeMessage: number;\r\n idStatus: number;\r\n relevance: number;\r\n assigned: number;\r\n idTicketMessage: number;\r\n message: string;\r\n email: string;\r\n dateTransaction: Date;\r\n sender: number;\r\n sendingUser: string;\r\n sendToPlayer: boolean;\r\n attachments: string;\r\n subjectField: string;\r\n assignedUser: string;\r\n casinoProvider: any;\r\n casinoGameName: any;\r\n casinoCategory: any;\r\n activeAccount: boolean;\r\n idSiteType: number;\r\n}\r\n\r\nexport class User {\r\n idUser: number;\r\n email: string;\r\n password: string;\r\n adminType: number;\r\n name: string;\r\n nickname: string;\r\n isActive: boolean;\r\n isTFA: boolean;\r\n idDepartment: number;\r\n departmentName: string;\r\n userType: number;\r\n idUserType: number;\r\n userTypeName: string;\r\n accessAllSites: boolean;\r\n token: string;\r\n userInCharge: number;\r\n profile: number;\r\n profileName: string;\r\n smartLogin: boolean;\r\n releaseTicket: boolean;\r\n viewOnly: boolean;\r\n}\r\n\r\nexport class ComponentsByUser {\r\n IdComponentsByUsers: number;\r\n IdTagComponent: number;\r\n IdUser: number;\r\n IsActive: boolean;\r\n UserInCharge: number;\r\n All: boolean;\r\n}\r\n\r\nexport class UserBySite {\r\n idUserSite: number;\r\n idUser: number;\r\n idSite: number;\r\n name: string;\r\n isActive: boolean;\r\n}\r\n\r\nexport class TagComponent {\r\n id: number;\r\n title: string;\r\n type: string;\r\n url: string;\r\n classes: string;\r\n icon: string;\r\n ActiveForProfile: boolean;\r\n}\r\n\r\nexport class CountTickets {\r\n idUser: number;\r\n count: number;\r\n}\r\n\r\n// Token access\r\n\r\nexport class TokenAccess {\r\n IdTokenAccess: number;\r\n User: string;\r\n Token: string;\r\n IpAddress: string;\r\n Date: Date;\r\n SendEmail: boolean;\r\n}\r\n\r\n// PLAYER SITE\r\nexport class Topics {\r\n ThemeId: string;\r\n IdSubject: number;\r\n IdSite: number;\r\n Name: string;\r\n IsActive: boolean;\r\n FormType: number;\r\n SpanishTranslation: string;\r\n}\r\n\r\n\r\n// Notifications\r\nexport class NotificationsTicket {\r\n IdNotification: number;\r\n IdTicket: number;\r\n IdUser: number;\r\n NotificationType: number;\r\n Read: string;\r\n TicketNumber: number;\r\n IdSiteType: number;\r\n}\r\n\r\n\r\nexport class NotificationsPlayerAgent {\r\n IdNotification: number;\r\n IdTicket: number;\r\n IdUser: string;\r\n NotificationType: number;\r\n Read: string;\r\n}\r\n\r\nexport class Profile {\r\n IdProfile: number;\r\n ProfileName: string;\r\n UserType: number;\r\n AccessAllSites: boolean;\r\n IsActive: boolean;\r\n AccessSite: siteTag[];\r\n AccessTagComponent: TagComponent[];\r\n ApplyAllUsers: boolean;\r\n}\r\n\r\nexport class FormType {\r\n IdFormType: number;\r\n FormName: string;\r\n}\r\n\r\nexport class InfoDetailsDTO {\r\n idUser: number;\r\n transactionType: number;\r\n startDate: Date;\r\n endDate: Date;\r\n idSiteType: number\r\n}\r\n\r\nexport class PersonalWorkLog {\r\n IdPersonalWorkLog: number;\r\n Account: string;\r\n Issue: string;\r\n Source: number;\r\n User: number;\r\n TransactionDate: Date;\r\n SourceInfo: Source;\r\n Comment: string;\r\n}\r\n\r\nexport class Source {\r\n IdSource: number;\r\n Name: string;\r\n}\r\n\r\nexport class Issues {\r\n IdIssue: number;\r\n Issue: string;\r\n IdDepartment: number;\r\n}\r\nexport class OpenTicketDTO {\r\n IdTicket: number;\r\n openStatus: boolean;\r\n User: number;\r\n}\r\n\r\n\r\nexport class Filters {\r\n Site: string;\r\n Department: string;\r\n Subject: string;\r\n Status: string;\r\n Relevance: string;\r\n Account: string;\r\n Request: string;\r\n Source: string;\r\n User: string;\r\n TicketNumber: string;\r\n Assigned: string;\r\n\r\n IdNotification: string;\r\n Details: string;\r\n}\r\n\r\nexport class SiteProfile {\r\n IdSiteProfile: number;\r\n Name: string;\r\n Subject: SubjectTickets[];\r\n Field: SubjectFields[];\r\n IsActive: boolean;\r\n}\r\n\r\nexport class WebsiteSetup_SiteProfile {\r\n siteList: any[];\r\n idSiteProfile: number;\r\n idWebsiteType: number;\r\n}\r\n\r\n// Notification Center\r\nexport class NotificationCenter {\r\n IdNotification: number;\r\n Account: string;\r\n Details: string;\r\n IdSite: number;\r\n Site: string;\r\n IdStatus: number;\r\n Status: string;\r\n Comment: string;\r\n Assigned: number;\r\n AssignedName: string;\r\n NotificationType: number;\r\n}\r\n\r\nexport class NotificationCenterResponse {\r\n CashierNotifications: NotificationCenter[];\r\n SignupNotifications: NotificationCenter[];\r\n}\r\n\r\nexport class NotificationCenterRequest {\r\n User: User;\r\n StartDate: Date;\r\n EndDate: Date;\r\n}\r\n\r\nexport class Shortcut {\r\n idShurtcut: number;\r\n UserInCharge: number;\r\n DateCreated: Date;\r\n Name: string;\r\n Description: string;\r\n IdDepartment: number;\r\n DepartmentName: string;\r\n UserName: string;\r\n Message: string;\r\n}\r\n\r\nexport class Note {\r\n idNote: number;\r\n date: Date;\r\n tickerOrTaskName: string;\r\n emailSubject: string;\r\n idUserInCharge: number;\r\n userInCharge: string;\r\n status: string;\r\n idDepartment: number;\r\n departmentName: string;\r\n initialComment: string;\r\n}\r\n\r\nexport class NoteComment {\r\n idNote: number;\r\n idMessage: number;\r\n sender: string;\r\n comment: string;\r\n date: Date;\r\n}\r\n\r\nexport class IQUser {\r\n idUserToken: number;\r\n idIQUser: number;\r\n userName: string;\r\n userToken: string;\r\n date: Date;\r\n siteURL: string;\r\n email: string;\r\n idSite: string;\r\n idSiteType: string;\r\n}\r\n\r\nexport class IQSite {\r\n idSite: number;\r\n description: string;\r\n siteDomain: string;\r\n idAgent: number;\r\n lastModification: Date;\r\n}\r\n\r\n\r\n//pablo\r\nexport class LogRequest {\r\n typeRequest: string;\r\n idSite?: number;\r\n startDate: Date;\r\n endDate: Date;\r\n}\r\n\r\nexport class DepartmentsByUser {\r\n IdDepartment: number;\r\n IdUser: number;\r\n IsActive: boolean;\r\n UserInCharge: number;\r\n}\r\n\r\nexport class DepartamentoPorUsuario {\r\n idUser: number;\r\n Department: Department[];\r\n}\r\n\r\nexport class Department2 {\r\n IdDepartment: number;\r\n Name: string;\r\n IsActive: boolean;\r\n}\r\n\r\nexport class TwoFactor {\r\n IdUser: number;\r\n Email: string;\r\n InputCode: string;\r\n IsTFA: boolean;\r\n}\r\n\r\nexport class SmartLogin {\r\n IdUser: number;\r\n SmartSelection: boolean;\r\n}\r\n\r\nexport class NotificationsByTicket {\r\n IdTicket: number;\r\n IdUser: number;\r\n NotificationRead: boolean;\r\n IdSiteType: number;\r\n TransactionDate: Date;\r\n MarkAsUnread: number;\r\n}\r\n\r\nexport class LanguageByUser {\r\n Encriptado: boolean;\r\n IdUser: string;\r\n Lan: string;\r\n IdSite: number;\r\n IdSiteType: number; //1 player, 2 agents, 3 cts admins\r\n}\r\n\r\nexport class SiteByProfile {\r\n idProfile: number;\r\n idSite: number;\r\n isActive?: boolean;\r\n}\r\n\r\nexport class ReleaseByUser {\r\n IdUser: number;\r\n IsActive: boolean;\r\n}\r\n\r\nexport class ViewOnlyByUser {\r\n IdUser: number;\r\n IsActive: boolean;\r\n}\r\n\r\nexport class BrandSetup {\r\n idBrandSetup: number;\r\n brandName: string;\r\n idSite: number;\r\n description: string;\r\n idDepartment: number;\r\n isActive: boolean;\r\n isDelete: boolean;\r\n lastModification: Date;\r\n userInCharge: number;\r\n}\r\n\r\nexport class BrandSite {\r\n idBrandSites: number;\r\n idBrandSetup: number;\r\n idSite: number;\r\n description: string;\r\n isActive: boolean;\r\n isDelete: boolean;\r\n lastModification: Date;\r\n userInCharge: number;\r\n idSiteBrandSetup?: number;\r\n value: string;\r\n label: string;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoadingService {\r\n\r\n private showLoadingSubject = new BehaviorSubject(true);\r\n showLoading$ = this.showLoadingSubject.asObservable();\r\n private _intervalId: any;\r\n\r\n constructor() { }\r\n\r\n toggleLoading() {\r\n const currentValue = this.showLoadingSubject.getValue();\r\n this.showLoadingSubject.next(!currentValue);\r\n }\r\n\r\n getShowLoading(){\r\n return this.showLoadingSubject;\r\n }\r\n\r\n startInterval(callback: () => void): void {\r\n clearInterval(this._intervalId);\r\n this._intervalId = setInterval(callback, 300000);//300000 //3min\r\n }\r\n\r\n stopInterval(): void {\r\n if (this._intervalId) {\r\n clearInterval(this._intervalId);\r\n this._intervalId = null;\r\n }\r\n }\r\n\r\n isIntervalRunning(): boolean {\r\n return !!this._intervalId;\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class ThemeService {\r\n\r\n availableClasses: string[] = [];\r\n currentClassIdx: number = 0;\r\n\r\n bodyClass: string;\r\n\r\n private _actualTheme = new BehaviorSubject(null);\r\n _ActualTheme = this._actualTheme.asObservable();\r\n\r\n constructor(@Inject(DOCUMENT) private document: Document) {\r\n this.bodyClass = this.availableClasses[this.currentClassIdx];\r\n }\r\n\r\n setTheme(theme:any){\r\n this.availableClasses.push(theme);\r\n const bodyElement = document.body;\r\n\r\n if (bodyElement) {\r\n this.currentClassIdx = this.getNextClassIdx();\r\n const nextClass = this.availableClasses[this.currentClassIdx];\r\n const activeClass = this.availableClasses[this.getPrevClassIdx()];\r\n \r\n bodyElement.classList.remove(activeClass);\r\n bodyElement.classList.add(nextClass);\r\n \r\n let themeLink = this.document.getElementById('app-theme') as HTMLLinkElement;\r\n themeLink.href = this.getPrimeNgTheme(theme);\r\n\r\n let metaTheme = this.document.getElementById('meta-color') as HTMLMetaElement;\r\n metaTheme.content = this.getMetaColor(theme);\r\n\r\n this.bodyClass = nextClass;\r\n localStorage.setItem( 'theme' ,this.bodyClass);\r\n this.ActualTheme(this.bodyClass);\r\n }\r\n\r\n }\r\n \r\n getPrimeNgTheme(theme: string){\r\n switch (theme) {\r\n case 'theme-default-light': \r\n case 'theme-ctsadmin': return 'lara-light-blue.css';\r\n case 'theme-default-dark': return 'lara-dark-blue.css';\r\n default: return 'lara-light-blue.css'\r\n }\r\n }\r\n\r\n getMetaColor(theme: string){\r\n switch (theme) {\r\n case 'theme-default-light': \r\n case 'theme-ctsadmin': return '#1D4A49';\r\n case 'theme-default-dark': return '#0a0e1d';\r\n default: return '#1D4A49'\r\n }\r\n }\r\n\r\n getThemeSelected() {\r\n return localStorage.getItem('theme')!;\r\n }\r\n\r\n getPrevClassIdx(): number {\r\n return this.currentClassIdx === 0 ? this.availableClasses.length - 1 : this.currentClassIdx - 1;\r\n }\r\n\r\n getNextClassIdx(): number {\r\n return this.currentClassIdx === this.availableClasses.length - 1 ? 0 : this.currentClassIdx + 1;\r\n }\r\n\r\n ActualTheme(pTheme: any) {\r\n this._actualTheme.next(pTheme)\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BreakpointObserver } from '@angular/cdk/layout';\r\nimport { BootstrapBreakpoints } from '../common/constants';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\n \r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MediaService {\r\n private activeBreakpoints: string[] = [];\r\n private breakpoints: string[];\r\n \r\n constructor(private breakpointObserver: BreakpointObserver) { }\r\n \r\n private isMobile(): boolean {\r\n return this.activeBreakpoints.findIndex(breakpoint => breakpoint === BootstrapBreakpoints[0].Name || breakpoint === BootstrapBreakpoints[1].Name || breakpoint === BootstrapBreakpoints[2].Name) > -1;\r\n }\r\n \r\n private isTablet() {\r\n return this.activeBreakpoints.findIndex(breakpoint => breakpoint === BootstrapBreakpoints[2].Name) > -1;\r\n }\r\n \r\n private isLandscape() {\r\n return this.activeBreakpoints.findIndex(breakpoint => breakpoint === BootstrapBreakpoints[5].Name) > -1;\r\n }\r\n \r\n private isSmallScreen() {\r\n return this.activeBreakpoints.findIndex(breakpoint => breakpoint === BootstrapBreakpoints[0].Name || breakpoint === BootstrapBreakpoints[1].Name) > -1;\r\n }\r\n \r\n private getBreakpoints(): string[] {\r\n this.breakpoints = [];\r\n for (let media of BootstrapBreakpoints)\r\n this.breakpoints.push(media.MediaQuery);\r\n return this.breakpoints;\r\n }\r\n \r\n private getBreakpointName(breakpointValue:any): string | any { \r\n return BootstrapBreakpoints.find(breakpoint => breakpoint.MediaQuery === breakpointValue)?.Name;\r\n }\r\n \r\n subscribeMedia(): Observable {\r\n return this.breakpointObserver\r\n .observe(this.getBreakpoints())\r\n .pipe(map((observeResponse) => this.getBreakpointsResponse(observeResponse.breakpoints)));\r\n }\r\n \r\n getInitState(): MediaResponse {\r\n let mediaInfo: MediaResponse = new MediaResponse();\r\n mediaInfo.IsMobile = this.isMobile();\r\n mediaInfo.IsTablet = this.isTablet();\r\n mediaInfo.IsLandscape = this.isLandscape();\r\n mediaInfo.IsSmallScreen = this.isSmallScreen();\r\n return mediaInfo;\r\n }\r\n \r\n private getBreakpointsResponse(breakpoints:any): MediaResponse {\r\n this.activeBreakpoints = []; \r\n Object.keys(breakpoints).forEach((key:any) => {\r\n if (breakpoints[key])\r\n this.activeBreakpoints.push(this.getBreakpointName(key));\r\n });\r\n let mediaInfo: MediaResponse = new MediaResponse();\r\n mediaInfo.IsMobile = this.isMobile();\r\n mediaInfo.IsTablet = this.isTablet();\r\n mediaInfo.IsLandscape = this.isLandscape();\r\n mediaInfo.IsSmallScreen = this.isSmallScreen();\r\n return mediaInfo;\r\n }\r\n}\r\n \r\nexport class MediaResponse {\r\n IsLandscape: boolean;\r\n IsSmallScreen: boolean;\r\n IsMobile: boolean; \r\n IsTablet: boolean;\r\n \r\n constructor() {\r\n this.IsMobile = false;\r\n this.IsTablet = false;\r\n this.IsLandscape = false;\r\n this.IsSmallScreen = false;\r\n }\r\n}\r\n","export const environment = {\r\n production: true,\r\n environmentName: 'Prod',\r\n ws: 'http://localhost:22814/api/',\r\n SiteName: \"Jazz Tickets\",\r\n WebApiUrl: \"https://api.ctsadmin.com\",\r\n AdminUrl: \"http://localhost:4200/auth/signin\",\r\n DefaultHostName: \"jazzsports\",\r\n CSId: 4,\r\n uploadFilesApi: \"https://images.betimages.com/api/uploadFileContent\",\r\n previousDisplay: \"https://images.betimages.com/CTS/\"\r\n};\r\n","import { inject } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { FileUploader, FileItem, ParsedResponseHeaders } from 'ng2-file-upload';\r\nimport { environment } from 'src/environments/environment';\r\n\r\nexport function getSmartLoginTimeOut() {\r\n return 1\r\n}\r\n\r\nexport function TranslateText(text: string) {\r\n const translateService = inject(TranslateService);\r\n return translateService.instant(text);\r\n}\r\n\r\nexport function transformDate(value: any) {\r\n var datePipe = new DatePipe(\"en-US\");\r\n value = datePipe.transform(value, 'dd/MM/yyyy hh:mm a');\r\n return value;\r\n}\r\n\r\nexport function transformMediumDate(value: any) {\r\n var datePipe = new DatePipe(\"en-US\");\r\n value = datePipe.transform(value, 'yyyy-MM-dd');\r\n return value;\r\n}\r\n\r\nexport function getStatusType(status: string, isDarkTheme: boolean) {\r\n switch (status) {\r\n case \"In-Progress\": return 'text-in-progress';\r\n\r\n case \"Open\": return 'text-open';\r\n\r\n case \"Resolved\": return 'text-resolved';\r\n\r\n default: return isDarkTheme ? 'text-light' : 'text-dark';\r\n }\r\n}\r\n\r\nexport function getThemeFilter(type: any) {\r\n switch (type) {\r\n case '':\r\n case null:\r\n case undefined:\r\n case 'theme-default':\r\n case 'theme-default-light': return 'theme-default-light';\r\n\r\n case 'theme-default-dark': return 'theme-default-dark';\r\n case 'theme-ctsadmin': return 'theme-ctsadmin';\r\n\r\n default: return 'theme-default-light';\r\n }\r\n}\r\n\r\nexport function responseError(type: any) {\r\n switch (type) {\r\n case 0:\r\n case 405:\r\n case 500: return 'An error occurred in the process.';\r\n\r\n case 401: return 'Access denied, login is required to access this page!.';\r\n\r\n\r\n default: return 'An error occurred in the process.';\r\n }\r\n}\r\n\r\n// Función para verificar si un string es una imagen base64\r\nexport function esImagenBase64(base64String) {\r\n return /^data:image\\/(png|jpe?g);base64,/i.test(base64String);\r\n}\r\n\r\n// Función para convertir la imagen base64 a Blob\r\nexport function base64ToBlob(base64Data: string, contentType: string): Blob {\r\n const byteCharacters = atob(base64Data);\r\n const byteNumbers = new Array(byteCharacters.length);\r\n\r\n for (let i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers);\r\n return new Blob([byteArray], { type: contentType });\r\n}\r\n\r\n\r\n// Función para reemplazar la imagen base64 con el Blob\r\nexport function reemplazarImagenBase64ConBlob(texto, uploader: FileUploader) {\r\n\r\n const regexImg = /]+src=\"([^\">]+)\"/g;\r\n let resultado;\r\n while ((resultado = regexImg.exec(texto)) !== null) {\r\n const src = resultado[1];\r\n if (esImagenBase64(src)) {\r\n const currentDate = new Date();\r\n const year = currentDate.getFullYear();\r\n const month = String(currentDate.getMonth() + 1).padStart(2, '0');\r\n const day = String(currentDate.getDate()).padStart(2, '0');\r\n const hours = String(currentDate.getHours()).padStart(2, '0');\r\n const minutes = String(currentDate.getMinutes()).padStart(2, '0');\r\n const seconds = String(currentDate.getSeconds()).padStart(2, '0');\r\n\r\n const formattedDate = `${year}-${month}-${day}-${hours}-${minutes}-${seconds}`;\r\n\r\n const blob = base64ToBlob(src.split(',')[1], 'image/png');\r\n\r\n const fileName = 'screenshot-' + formattedDate + '.png'\r\n\r\n const file: File = new File([blob], fileName, { type: 'image/png', lastModified: Date.now() });\r\n\r\n uploader.addToQueue([file]);\r\n\r\n const newURL = environment.previousDisplay + fileName;\r\n texto = texto.replace(src, newURL);\r\n }\r\n }\r\n return texto;\r\n}\r\n\r\n\r\n\r\nexport function PreviousImage(item: FileItem, uploader: FileUploader) {\r\n\r\n try {\r\n uploader.options.url = environment.uploadFilesApi;\r\n item.url = environment.uploadFilesApi;\r\n item.upload();\r\n uploader.onErrorItem = (item: FileItem, response: string, status: number, headers: ParsedResponseHeaders) =>\r\n onErrorItem(item, response, status, headers)\r\n uploader.onSuccessItem = (item: any, response: any, status: any, headers: any) => {\r\n if (status == 200) {\r\n var responseBanner = JSON.parse(response);\r\n const model: any = [];\r\n model.Previous = true;\r\n model.fileUrl = `${environment.previousDisplay}${responseBanner.name}`;\r\n model.imageInfo = responseBanner;\r\n return model;\r\n } else {\r\n console.log(\"error\");\r\n }\r\n };\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n}\r\n\r\nexport function onErrorItem(\r\n item: FileItem,\r\n response: string,\r\n status: number,\r\n headers: ParsedResponseHeaders\r\n): any {\r\n console.log(item);\r\n console.log(response);\r\n console.log(status);\r\n console.log(headers);\r\n}\r\n\r\n\r\nexport function validateFormControlType(type: number) {\r\n /**\r\n Form Component functions\r\n // 1 HEPL TICKET CENTER\r\n // 2 PARTNERS TICKET CENTER\r\n // 3 INTERNAL TICKET CENTER\r\n // 4 DIRECT TICKET CENTER\r\n // 5 6 7 TICKET MESSAGE INFO // MODAL FORMS New Message\r\n // 8 SERVICE DESK NEW ENTRY\r\n // 9 SERVICE DESK NEW COMMENT\r\n // 10 SERVICE DESK EDIT ENTRY\r\n // 12 SHORCUT CENTER ADD NEW ENTRY\r\n */\r\n switch (type) {\r\n case 1: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: true },\r\n { control: 'agentPlayer', show: true },\r\n { control: 'subject', show: true },\r\n { control: 'subjectField', show: true },\r\n { control: 'website', show: true },\r\n { control: 'relevance', show: true },\r\n { control: 'department', show: true },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'shortcuts', show: true },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 2: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: true },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: true },\r\n { control: 'subjectField', show: true },\r\n { control: 'website', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'shortcuts', show: true },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 3: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: true },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: true },\r\n { control: 'subjectField', show: true },\r\n { control: 'website', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'shortcuts', show: true },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 4: return [\r\n { control: 'userSelected', show: true },\r\n { control: 'account', show: true },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: true },\r\n { control: 'subjectField', show: true },\r\n { control: 'website', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'shortcuts', show: true },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 5:\r\n case 6:\r\n case 7: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: false },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: false },\r\n { control: 'subjectField', show: false },\r\n { control: 'website', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: false },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'shortcuts', show: true },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 8: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: false },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: false },\r\n { control: 'subjectField', show: false },\r\n { control: 'website', show: false },\r\n { control: 'shortcuts', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: true },\r\n { control: 'ticketLink', show: true },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 9: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: false },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: false },\r\n { control: 'subjectField', show: false },\r\n { control: 'website', show: false },\r\n { control: 'shortcuts', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: false },\r\n { control: 'status', show: false },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 10: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: false },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: false },\r\n { control: 'subjectField', show: false },\r\n { control: 'website', show: false },\r\n { control: 'shortcuts', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: true },\r\n { control: 'status', show: true },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'message', show: false },\r\n { control: 'emailSubject', show: true },\r\n { control: 'ticketLink', show: true },\r\n { control: 'inputTextName', show: false },\r\n { control: 'description', show: false }\r\n ]\r\n\r\n case 12:\r\n case 13: return [\r\n { control: 'userSelected', show: false },\r\n { control: 'account', show: false },\r\n { control: 'agentPlayer', show: false },\r\n { control: 'subject', show: false },\r\n { control: 'subjectField', show: false },\r\n { control: 'website', show: false },\r\n { control: 'shortcuts', show: false },\r\n { control: 'relevance', show: false },\r\n { control: 'department', show: true },\r\n { control: 'status', show: false },\r\n { control: 'replyToEmail', show: false },\r\n { control: 'message', show: true },\r\n { control: 'emailSubject', show: false },\r\n { control: 'ticketLink', show: false },\r\n { control: 'inputTextName', show: true },\r\n { control: 'description', show: true }\r\n ]\r\n default: return null;\r\n }\r\n}\r\n\r\nexport function getFormType(type: number) {\r\n /**\r\n Form Component functions\r\n // 1 HEPL TICKET CENTER\r\n // 2 PARTNERS TICKET CENTER\r\n // 3 INTERNAL TICKET CENTER\r\n // 4 DIRECT TICKET CENTER\r\n // 5 and 6 MODAL FORMS TICKET MESSAGE INFO\r\n // 8 SERVICE DESK NEW ENTRY\r\n // 9 SERVICE DESK ADD A COMMENT\r\n // 10 SERVICE DESK EDIT ENTRY\r\n // 12 SHORCUT CENTER ADD NEW ENTRY\r\n // 13 SHORCUT CENTER EDIT ENTRY\r\n */\r\n switch (type) {\r\n case 1: return {\r\n showUsers: false,\r\n showAccount: true,\r\n showAgentPlayer: true,\r\n showSubject: true,\r\n showSubjetField: true,\r\n showWebsite: true,\r\n showRelevance: true,\r\n showDepartment: true,\r\n showStatus: true,\r\n showReplyToEmail: true,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: true,\r\n showInputTextName: false,\r\n showDescription: false\r\n };\r\n\r\n case 2: return {\r\n showUsers: false,\r\n showAccount: true,\r\n showAgentPlayer: false,\r\n showSubject: true,\r\n showSubjetField: true,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: true,\r\n showReplyToEmail: false,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: true,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 3: return {\r\n showUsers: false,\r\n showAccount: true,\r\n showAgentPlayer: false,\r\n showSubject: true,\r\n showSubjetField: true,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: true,\r\n showReplyToEmail: false,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: true,\r\n showInputTextName: false,\r\n showDescription: false\r\n };\r\n\r\n case 4: return {\r\n showUsers: true,\r\n showAccount: true,\r\n showAgentPlayer: false,\r\n showSubject: true,\r\n showSubjetField: true,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: true,\r\n showReplyToEmail: false,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: true,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 6:\r\n case 5: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: false,\r\n showReplyToEmail: false,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: true,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 7: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: false,\r\n showReplyToEmail: false,\r\n showShortCuts: true,\r\n showMessage: true,\r\n showAttachment: false,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 8: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: true,\r\n showEmailSubject: true,\r\n showTicket: true,\r\n showReplyToEmail: false,\r\n showShortCuts: false,\r\n showMessage: true,\r\n showAttachment: false,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 9: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: false,\r\n showStatus: false,\r\n showEmailSubject: false,\r\n showTicket: false,\r\n showReplyToEmail: false,\r\n showShortCuts: false,\r\n showMessage: true,\r\n showAttachment: false,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 10: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: true,\r\n showStatus: true,\r\n showEmailSubject: true,\r\n showTicket: true,\r\n showReplyToEmail: false,\r\n showShortCuts: false,\r\n showMessage: false,\r\n showAttachment: false,\r\n showInputTextName: false,\r\n showDescription: false\r\n }\r\n\r\n case 12:\r\n case 13: return {\r\n showUsers: false,\r\n showAccount: false,\r\n showAgentPlayer: false,\r\n showSubject: false,\r\n showSubjetField: false,\r\n showWebsite: false,\r\n showRelevance: false,\r\n showDepartment: true,\r\n showStatus: false,\r\n showEmailSubject: false,\r\n showTicket: false,\r\n showReplyToEmail: false,\r\n showShortCuts: false,\r\n showMessage: true,\r\n showAttachment: false,\r\n showInputTextName: true,\r\n showDescription: true\r\n }\r\n\r\n default: return null;\r\n }\r\n}\r\n\r\nexport function removeTicketObjectWithId(arr: any, IdTicket: number) {\r\n const objWithIdIndex = arr.findIndex((obj: any) => obj.IdTicket === IdTicket);\r\n if (objWithIdIndex > -1) {\r\n arr.splice(objWithIdIndex, 1);\r\n }\r\n\r\n return arr;\r\n}\r\n\r\n\r\nexport function DeleteUserById(arr: any, IdUser: number) {\r\n const objWithIdIndex = arr.findIndex((obj: any) => obj.IdUser === IdUser);\r\n if (objWithIdIndex > -1) {\r\n arr.splice(objWithIdIndex, 1);\r\n }\r\n\r\n return arr;\r\n}\r\n\r\n\r\nexport enum Methods {\r\n POST_LOGIN_USER = 'Ticket/Login',\r\n POST_SEND_ACCESS_TOKEN = 'Ticket/GetAccessToken',\r\n POST_SEND_ACCESS_TFA_TOKEN = 'Ticket/GetAccessTFA', // no esta en swagger\r\n POST_INSERT_ACCESS_TOKEN = 'Ticket/InsertTokenAccess',\r\n GET_TWO_FACTOR_SETTINGS = 'Ticket/GetSettingsTwoFactor',\r\n UPDATE_ENABLE_TWO_FACTOR = 'Ticket/EnableTwoFactor',\r\n GET_SMART_LOGIN_SELECTION = 'Ticket/GetSmartLoginSelection',\r\n GET_CONFIG_BY_DOMAIN = 'TicketPlayer/GetConfigByDomain',\r\n UPDATE_SMART_LOGIN = 'Ticket/UpdateSmartLoginSelection',\r\n GET_ALL_TICKET_INFO = 'Ticket/GetAllInfo',\r\n GET_MENU_ITEM_BY_ID_USER = 'Ticket/GetMenuItemByUser?idUser=',\r\n GET_ALL_SITE_TAGS = 'Ticket/GetSiteTag',\r\n GET_MY_TICKETS = 'Ticket/GetMyTickets',\r\n GET_ALL_SUBJECTS = 'Ticket/GetSubjects',\r\n GET_DEPARTMENT_LIST = 'Ticket/GetDepartmentList',\r\n GET_STATUS_LIST = 'Ticket/GetStatusList',\r\n GET_RELEVANCE_LIST = 'Ticket/GetRelevanceList',\r\n POST_RELEASE_TICKET = 'Ticket/ReleaseTicket?IdTicket=',\r\n GET_USER_INFO_BY_ID = 'Ticket/GetUserInfoByIdUser?idUser=',\r\n GET_USER_BY_DEPARTMENT = 'Ticket/GetUserByDepartment?ticket=',\r\n POST_ADD_USER_INTO_TICKET = 'Ticket/InsertUpdateAssignedUser',\r\n UPDATE_TICKET_INFORMATION = 'Ticket/UpdateTicketInformation',\r\n UPDATE_NOTIFICATION_BY_TICKET = 'Ticket/UpdateNotificationsByTicket',\r\n UPDATE_DEPARTMENT_ASSIGNED = 'Ticket/ChangeDepartmentAssigned',\r\n POST_ADD_SERVICE_DESK_TICKET = 'Ticket/AddServiceDeskTicketService',\r\n GET_ALL_MESSAGE_BY_TICKET = 'Ticket/GetAllMessageByTicket?idTicket=',\r\n GET_SHORTCUTS_BY_DEPARTMENT = 'Ticket/GetShortcutsByDepartment?IdDepartment=',\r\n GET_SUBJECT_FIELD_FOR_CTSADMIN_PROFILE = 'Ticket/GetSubjectFieldForCTSAdminProfile',\r\n GET_SUBJECT_FIELD_BY_ID = 'Ticket/GetSubjectField?idSub=',\r\n POST_CREATE_NEW_TICKET = 'Ticket/CreateNewTicket',\r\n POST_CREATE_NEW_TICKET_MESSAGE = 'Ticket/CreateNewTicketMessage',\r\n UPDATE_MESSAGE_BY_USER = 'Ticket/EditMessage',\r\n GET_ALL_USERS = 'Ticket/GetAllUsers',\r\n GET_WEBSITE_SETUP_BY_SITE = 'Ticket/GetWebsiteSetupBySite?idSite=',\r\n UPDATE_TICKET_STATUS = 'Ticket/UpdateOpenTicketStatus',\r\n GET_SITE_BY_USER = 'Ticket/GetSiteByUser?IdUser=',\r\n GET_DOMAIN_BY_ID_SITE = 'Ticket/GetDomainBySite?idSite=',\r\n UPDATE_DOMAIN_BY_ID_SITE = 'Ticket/UpdateDomainByIdSite',\r\n GET_AGENTS_WEBSITE_SETUP_BY_SITE = 'Ticket/GetAgentsWebsiteSetupBySite?idSite=',\r\n UPDATE_WEBSITE_SETUP = 'Ticket/UpdateItemWebsiteSetup',\r\n UPDATE_ALL_ITEM_WEBSITE_SETUP = 'Ticket/UpdateAllItemWebsiteSetup',\r\n UPDATE_ALL_ITEM_CTS_ADMIN_WEBSITES_SETUP = 'Ticket/UpdateAllItemCtsAdminWebsiteSetup',\r\n UPDATE_ITEM_CTS_ADMIN_WEBSITE_SETUP = 'Ticket/UpdateItemCtsAdminWebsiteSetup',\r\n UPDATE_ITEM_WEBSITE_SETUP = 'Ticket/UpdateItemAgentWebsiteSetup',\r\n UPDATE_ALL_ITEM_AGENT_WEBSITE_SETUP = 'Ticket/UpdateAllItemAgentWebsiteSetup',\r\n POST_SAVE_UPDATE_FOR_ALL_SITES = 'Ticket/SaveUpdateForAllSites', // no esta en swagger\r\n POST_SAVE_UPDATE_FOR_ALL_AGENT_SITES = 'Ticket/SaveUpdateForAllAgentSites', // no esta en swagger\r\n UPDATE_SORT_AGENT_WEBSITE = 'Ticket/SortAgentWebsite',\r\n UPDATE_SORT_WEBSITE_SETUP = 'Ticket/SortWebsiteSetup',\r\n UPDATE_SORT_WEBSITE_FIELD_SETUP = 'Ticket/SortWebsiteFieldsSetup',\r\n UPDATE_SORT_AGENT_WEBSITE_FIELD_SETUP = 'Ticket/SortAgentWebsiteFieldsSetup',\r\n GET_SUBJECT_FIELD_BY_SITE = 'Ticket/GetSubjectFieldBySite',\r\n GET_SUBJECT_FIELD_BY_AGENT_SITE = 'Ticket/GetSubjectFieldByAgentSite',\r\n GET_SUBJECT_FIELD_BY_CTS_ADMIN_SITE = 'Ticket/GetSubjectFieldByCTSAdminSite',\r\n UPDATE_SORT_CTS_ADMIN_WEBSITE_FIELD_SETUP = 'Ticket/SortCTSAdminWebsiteFieldsSetup',\r\n UPDATE_ITEM_WEBSITE_FIELD_SETUP = 'Ticket/UpdateItemWebsiteFieldSetup',\r\n UPDATE_ITEM_AGENT_WEBSITE_FIELD_SETUP = 'Ticket/UpdateItemAgentWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_WEBSITE_FIELD_SETUP = 'Ticket/UpdateAllItemWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_AGENT_WEBSITE_FIELD_SETUP = 'Ticket/UpdateAllItemAgentWebsiteFieldSetup',\r\n POST_SAVE_UPDATE_FIELDS_FOR_ALL_SITES = 'Ticket/SaveUpdateFieldsForAllSites', // no esta en swagger\r\n POST_SAVE_UPDATE_FIELDS_FOR_ALL_AGENT_SITES = 'Ticket/SaveUpdateFieldsForAllAgentSites', // no esta en swagger\r\n GET_CTS_ADMINWEBSITE_SETUP_BY_ID_SITE = 'Ticket/GetCtsAdminWebsiteSetupBySite?idSite=',\r\n UPDATE_ITEM_CTS_ADMIN_WEBSITE_FIELD_SETUP = 'Ticket/UpdateItemCTSAdminWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_CTS_ADMIN_FIELD_SETUP = 'Ticket/UpdateAllItemCTSadminFieldSetup',\r\n UPDATE_SORT_CTS_ADMIN_WEBSITE_SETUP = 'Ticket/SortCTSAdminWebsiteSetup',\r\n GET_ALL_WEBSITES_PROFILES_TO_SELECT = 'Ticket/GetAllWebsitesProfilesToSelect',\r\n POST_INSERT_WEBSITE_CONFIG_BY_PROFILE = 'Ticket/InsertWebsiteConfigurationByProfile', // no esta en swagger\r\n GET_EPOS_SETUP_BY_ID_SITE = 'Ticket/GetEposSetupBySite?idSite=',\r\n POST_UPDATE_ALL_ITEM_EPOS_SETUP = 'Ticket/UpdateAllItemEposSetup', // no esta en swagger\r\n UPDATE_ITEM_EPOS_SETUP = 'Ticket/UpdateItemEposSetup',\r\n GET_SUBJECT_FIELD_BY_EPOS_SITE = 'Ticket/GetSubjectFieldByEposSite',\r\n UPDATE_SORT_EPOS_FIELD_SETUP = 'Ticket/SortEposFieldsSetup',\r\n UPDATE_ITEM_EPOS_FIELD_SETUP = 'Ticket/UpdateItemEposFieldSetup',\r\n UPDATE_ALL_ITEM_EPOS_FIELD_SETUP = 'Ticket/UpdateAllItemEposFieldSetup',\r\n UPDATE_SORT_EPOS_SETUP = 'Ticket/SortEposSetup',\r\n GET_EPOS_ADMIN_SETUP_BY_ID_SITE = 'Ticket/GetEposAdminSetupBySite?idSite=',\r\n UPDATE_ALL_ITEM_EPOS_ADMIN_SETUP = 'Ticket/UpdateAllItemEposAdminSetup',\r\n UPDATE_ITEM_EPOS_ADMIN_SETUP = 'Ticket/UpdateItemEposAdminSetup',\r\n GET_SUBJET_FIELD_BY_EPOS_ADMIN_SITE = 'Ticket/GetSubjectFieldByEposAdminSite',\r\n UPDATE_SORT_EPOS_ADMIN_FIELD_SETUP = 'Ticket/SortEposAdminFieldsSetup',\r\n UPDATE_ITEM_EPOS_ADMIN_FIELD_SETUP = 'Ticket/UpdateItemEposAdminFieldSetup',\r\n UPDATE_ALL_ITEM_EPOS_ADMIN_FIELD_SETUP = 'Ticket/UpdateAllItemEposAdminFieldSetup',\r\n UPDATE_SORT_EPOS_ADMIN_SETUP = 'Ticket/SortEposAdminSetup',\r\n GET_ALL_PROFILES = 'Ticket/GetAllProfiles',\r\n GET_DEPARMENT_BY_USER = 'Ticket/GetDepartmentsByUser?idUser=',\r\n DELETE_USER = 'Ticket/DeleteUser',\r\n POST_INSERT_NEW_USER = 'Ticket/InsertNewUser',\r\n GET_USER_COMPONET_USER_ADMIN = 'Ticket/GetUserComponentsUserAdmin?idUser=',\r\n GET_DEPARTMENT_LIST_BY_IDUSER = 'Ticket/GetDepartmentListByUser?idUser=',\r\n\r\n UPDATE_USER_INFO = 'Ticket/UpdateUserInfo?TipoUpdate=',\r\n UPDATE_VIEW_ONLY_BY_USER = 'Ticket/UpdateViewOnlyByUser',\r\n UPDATE_RELEASE_TICKET_BY_USER = 'Ticket/UpdateReleaseTicketByUser',\r\n UPDATE_TFA_SELECTION = 'Ticket/UpdateTFASelection',\r\n\r\n POST_INSERT_NEW_RELEVANCE_LEVEL = 'Ticket/InsertNewRelevance',\r\n UPDATE_RELEVANCE_LEVEL_ITEM = 'Ticket/UpdateItemRelevanceLevel',\r\n DELETE_RELEVANCE_ITEM = 'Ticket/DeleteRelevance',\r\n UPDATE_ALL_ITEM_RELEVANCE_LEVEL = 'Ticket/UpdateAllItemRelevanceLevel',\r\n\r\n POST_INSERT_NEW_TICKET_STATUS = 'Ticket/InsertNewTicketStatus',\r\n UPDATE_TICKET_STATUS_ITEM = 'Ticket/UpdateItemTicketStatus',\r\n DELETE_STATUS_ITEM = 'Ticket/DeleteStatus',\r\n UPDATE_ALL_TICKET_STATUS_ITEM = 'Ticket/UpdateAllItemTicketStatus',\r\n\r\n POST_INSERT_NEW_DEPARTMENT = 'Ticket/InsertNewDepartment',\r\n UPDATE_DEPARTMENT_ITEM = 'Ticket/UpdateItemDepartment',\r\n DELETE_DEPARTMENT_ITEM = 'Ticket/DeleteDepartment',\r\n UPDATE_ALL_ITEM_DEPARTMENT = 'Ticket/UpdateAllItemDepartment',\r\n\r\n POST_INSERT_NEW_USER_BY_SITE = 'Ticket/InsertNewUserBySite',\r\n DELETE_SITE_FOR_USER = 'Ticket/DeleteSiteForUser',\r\n UPDATE_USER_RIGHTS = 'Ticket/UpdateUserRights',\r\n UPDATE_DEPARTMENTS_BY_USER = 'Ticket/UpdateDepartmentsByUser',\r\n\r\n GET_TICKET_LOGS = 'Ticket/GetTicketLogs',\r\n GET_USER_LOGS = 'Ticket/GetUserLogs',\r\n GET_SUBJECT_LOGS = 'Ticket/GetSubjectLogs',\r\n GET_SUBJECT_FIELDS_LOGS = 'Ticket/GetSubjectFieldsLogs',\r\n GET_RELEVANCE_LOGS = 'Ticket/GetRelevanceLogs',\r\n GET_STATUS_LOGS = 'Ticket/GetStatusLogs',\r\n GET_DEPARTMENT_LOGS = 'Ticket/GetDepartmentLogs',\r\n\r\n GET_BRAND_SET_UP_BY_ID_SITE = 'Ticket/GetBrandSetup?IdSite=',\r\n GET_BRAND_SELECTED_BY_ID_SITE = 'Ticket/GetBrandSites?IdBrandSetup=',\r\n\r\n POST_UPDATE_INSERT_BRAND_SETUP = 'Ticket/UpdateInsertBrandSetup',\r\n POST_UPDATE_INSERT_BRAND_SITE = 'Ticket/UpdateInsertBrandSite',\r\n DELETE_SITE_FOR_BRAND = 'Ticket/DeleteSiteForBrand',\r\n\r\n GET_ALL_FORM_TYPE = 'Ticket/GetAllFormType',\r\n POST_INSERT_NEW_SUBJECT = 'Ticket/InsertNewSubject',\r\n UPDATE_SUBJECT_ITEM = 'Ticket/UpdateItemSubject',\r\n DELETE_SUBJECT = 'Ticket/DeleteSubject',\r\n POST_INSERT_NEW_SUBJECT_FIELD = 'Ticket/InsertNewSubjectField',\r\n UPDATE_SUBJECT_FIELD_ITEM = 'Ticket/UpdateItemSubjectField',\r\n UPDATE_ALL_SUBJECT_ITEM = 'Ticket/UpdateAllItemSubject',\r\n UPDATE_ALL_SUBJECT_FIELD_ITEM = 'Ticket/UpdateAllItemSubjectFields',\r\n DELETE_SUBJET_FIELD = 'Ticket/DeleteSubjectField',\r\n UPDATE_SORT_SUBJECTS = 'Ticket/SortSubjects',\r\n\r\n GET_ALL_TASK_NOTES = 'Ticket/GetAllTaskNotes?idDepartment=',\r\n POST_INSERT_NEW_TASK_NOTE = 'Ticket/InsertNewTaskNote',\r\n POST_INSERT_NEW_TASK_NOTE_MESSAGE = 'Ticket/InsertNewTaskNoteMessage',\r\n UPDATE_TASK_NOTE_INFO = 'Ticket/UpdateTaskNoteInfo',\r\n DELETE_TASK_NOTE = 'Ticket/DeleteTaskNote',\r\n GET_USER_NAME_BY_DEPARTMENT = 'Ticket/GetUserNameByDepartment?idDepartment=',\r\n\r\n GET_ALL_SHORCUTS = 'Ticket/GetAllShortcuts',\r\n POST_INSERT_NEW_SHORTCUT = 'Ticket/InsertNewShortcut',\r\n DELETE_SHORTCUT = 'Ticket/DeleteShortcut',\r\n GET_ALL_TASK_NOTE_MESSAGE = 'Ticket/GetAllTaskNoteMessages?idNote=',\r\n UPDATE_SHORT_CUT_INFO = 'Ticket/UpdateShortcutInfo',\r\n\r\n GET_ALL_WEBSITES_PROFILES = 'Ticket/GetAllWebsitesProfiles',\r\n UPDATE_PROFILE = 'Ticket/UpdateProfile',\r\n POST_INSERT_NEW_SITE_BY_PROFILE = 'Ticket/InsertNewSiteByProfile',\r\n DELETE_SITE_FOR_PROFILE = 'Ticket/DeleteSiteForProfile',\r\n\r\n GET_SITE_TAG_COMPONENTS = 'Ticket/GetTagComponents',\r\n POST_INSERT_NEW_PROFILE = 'Ticket/InsertNewProfile',\r\n POST_INSERT_NEW_SITE_PROFILE = 'Ticket/CreateNewSiteProfile',\r\n UPDATE_SITE_PROFILE = 'Ticket/UpdateSiteProfile',\r\n\r\n GET_PERSONAL_WORKLOG_BY_ID = 'Ticket/GetPersonalWorkLog?IdUser=',\r\n GET_ALL_ISSUES_BY_DEPARTMENT_ID = 'Ticket/GetAllIssuesByDepartment?idDepartment=',\r\n GET_ALL_USER_BY_DEPARTMENT_ID = 'Ticket/GetAllUserByDepartment?idDepartment=',\r\n GET_SOURCE = 'Ticket/GetSource',\r\n GET_PERSONAL_WORKLOG_BY_DATE = 'Ticket/GetPersonalWorkLogByDate',\r\n POST_INSERT_NEW_PERSONAL_WORKLOG = 'Ticket/InsertPersonalWorkLog',\r\n POST_INSERT_NEW_COMMENT = 'Ticket/SaveNewComment',\r\n\r\n GET_OPEN_TICKET_STATUS = 'Ticket/GetOpenTicketStatus?idTicket=',\r\n UPDATE_LANGUAGE_BY_USER = 'Ticket/UpdateLanguageByUser'\r\n}\r\n\r\nexport enum GetMethods {\r\n GET_CONFIG_BY_DOMAIN = '/api/ConfigByDomain/GetConfigByDomain',\r\n\r\n //BRAND SETUP\r\n GET_BRAND_SET_UP_BY_ID_SITE = '/api/BrandSetup/GetBrandSetup?IdSite=',\r\n GET_BRAND_SELECTED_BY_ID_SITE = '/api/BrandSetup/GetBrandSites?IdBrandSetup=',\r\n\r\n //DEPARTMENT\r\n GET_DEPARTMENT_LIST = '/api/Department/GetDepartmentList',\r\n GET_DEPARTMENT_LOGS = '/api/Department/GetDepartmentLogs?startDate=',\r\n GET_DEPARTMENT_LIST_BY_IDUSER = '/api/Department/GetDepartmentListByUser?idUser=',\r\n\r\n //DGSDATA\r\n GET_ALL_SITE_TAGS = '/api/DGSDATA/GetSiteTags',\r\n\r\n //PERSONALWORKLOG\r\n GET_ALL_USER_BY_DEPARTMENT_ID = '/api/PersonalWorklog/GetAllUserByDepartment?IdDepartment=',\r\n GET_USER_INFO_BY_ID = '/api/PersonalWorklog/GetUserInfoByIdUser?IdUser=',\r\n GET_ALL_ISSUES_BY_DEPARTMENT_ID = '/api/PersonalWorklog/GetAllIssuesByDepartment?IdDepartment=',\r\n GET_PERSONAL_WORKLOG_BY_ID = '/api/PersonalWorklog/GetPersonalWorkLog?IdUser=',\r\n GET_SOURCE = '/api/PersonalWorklog/GetSource',\r\n GET_PERSONAL_WORKLOG_BY_DATE = '/api/PersonalWorklog/GetPersonalWorkLogByDate?IdUser=',\r\n\r\n //RELEVANCE\r\n GET_RELEVANCE_LIST = '/api/Relevance/GetRelevanceList',\r\n GET_RELEVANCE_LOGS = '/api/Relevance/GetRelevanceLogs?startDate=',\r\n\r\n //SERVICE DESK\r\n GET_ALL_TASK_NOTES = '/api/ServiceDesk/GetAllTaskNotes?IdDepartment=',\r\n GET_ALL_TASK_NOTE_MESSAGE = '/api/ServiceDesk/GetAllTaskNoteMessages?IdNote=',\r\n GET_USER_NAME_BY_DEPARTMENT = '/api/ServiceDesk/GetUserNameByDepartment?idDepartment=',\r\n\r\n //STATUS\r\n GET_STATUS_LIST = '/api/Status/GetStatusList',\r\n GET_STATUS_LOGS = '/api/Status/GetStatusLogs',\r\n\r\n //SUBJECT\r\n GET_ALL_SUBJECTS = '/api/Subject/GetSubjects',\r\n GET_SUBJECT_LOGS = '/api/Subject/GetSubjectLogs?startDate=',\r\n GET_ALL_FORM_TYPE = '/api/Subject/GetAllFormType',\r\n GET_SUBJECTS_BY_CTS_ADMIN_PROFILE = '/api/Subject/GetSubjectsByCtsAdminProfile',\r\n\r\n //SUBJECTFIELD\r\n GET_SUBJECT_FIELD_BY_ID = '/api/SubjectField/GetSubjectField?IdSubject=',\r\n GET_SUBJECT_FIELD_BY_SITE = '/api/SubjectField/GetSubjectFieldBySite?IdSite=',\r\n GET_SUBJECT_FIELD_BY_AGENT_SITE = '/api/SubjectField/GetSubjectFieldByAgentSite?IdSite=',\r\n GET_SUBJECT_FIELDS_LOGS = '/api/SubjectField/GetSubjectFieldsLogs?startDate=',\r\n GET_SUBJECT_FIELD_BY_CTS_ADMIN_SITE = '/api/SubjectField/GetSubjectFieldByCTSAdminSite?IdSite=',\r\n GET_SUBJECT_FIELD_FOR_CTSADMIN_PROFILE = '/api/SubjectField/GetSubjectFieldForCTSAdminProfile?IdSite=',\r\n GET_SUBJECT_FIELD_BY_EPOS_SITE = '/api/SubjectField/GetSubjectFieldByEposSite?IdSite=',\r\n GET_SUBJET_FIELD_BY_EPOS_ADMIN_SITE = '/api/SubjectField/GetSubjectFieldByEposAdminSite?IdSite=',\r\n\r\n //TICKET\r\n GET_ALL_TICKET_INFO = '/api/Ticket/GetAllInfo',\r\n GET_MY_TICKETS = '/api/Ticket/GetMyTickets',\r\n GET_ALL_MESSAGE_BY_TICKET = '/api/Ticket/GetAllMessageByTicket?IdTicket=',\r\n GET_OPEN_TICKET_STATUS = '/api/Ticket/GetOpenTicketStatus?IdTicket=',\r\n GET_USER_BY_DEPARTMENT = '/api/Ticket/GetUserByDepartment?ticket=',\r\n\r\n //TWO_FACTOR_AUTHENTICATOR\r\n GET_TWO_FACTOR_SETTINGS = '/api/TwoFactorAuthenticator/GetSettingsTwoFactor',\r\n GET_VALIDATION_TWO_FACTOR_TOKEN = '/api/TwoFactorAuthenticator/ValidateTwoFactorPIN?Email=',\r\n\r\n //USER\r\n GET_ALL_USERS = '/api/User/GetAllUsers',\r\n GET_USER_COMPONET_USER_ADMIN = '/api/User/GetUserComponentsUserAdmin?IdUser=',\r\n GET_DEPARMENT_BY_USER = '/api/User/GetDepartmentsByUser?idUser=',\r\n GET_SITE_BY_USER = '/api/User/GetSiteByUser?IdUser=',\r\n GET_USER_LOGS = '/api/User/GetUserLogs?startDate=',\r\n\r\n //SETTINGS\r\n GET_MENU_ITEM_BY_ID_USER = '/api/Settings/GetMenuItemByUser?IdUser=',\r\n GET_TICKETS_COUNTER_BY_ID_USER = '/api/Ticket/GetTicketsCount?IdUser=',\r\n GET_SMART_LOGIN_SELECTION = '/api/Settings/GetSmartLoginSelection?IdUser=',\r\n GET_USER_PREFERENCE= '/api/Settings/GetUserPreferences?IdUser=',\r\n\r\n //SHORTCUT\r\n GET_ALL_SHORCUTS = '/api/Shortcut/GetAllShortcuts',\r\n GET_SHORTCUTS_BY_DEPARTMENT = '/api/Shortcut/GetShortcutsByDepartment?IdDepartment=',\r\n\r\n //PROFILE\r\n GET_ALL_PROFILES = '/api/Profile/GetAllProfiles',\r\n GET_SITE_TAG_COMPONENTS = '/api/Profile/GetTagComponents',\r\n GET_ALL_WEBSITES_PROFILES = '/api/Profile/GetAllWebsitesProfiles',\r\n\r\n //WEBSITESETUP\r\n GET_WEBSITE_SETUP_BY_SITE = '/api/WebsiteSetup/GetWebsiteSetupBySite?IdSite=',\r\n GET_DOMAIN_BY_ID_SITE = '/api/WebsiteSetup/GetDomainBySite?IdSite=',\r\n GET_AGENTS_WEBSITE_SETUP_BY_SITE = '/api/WebsiteSetup/GetAgentsWebsiteSetupBySite?IdSite=',\r\n GET_CTS_ADMINWEBSITE_SETUP_BY_ID_SITE = '/api/WebsiteSetup/GetCtsAdminWebsiteSetupBySite?IdSite=',\r\n GET_EPOS_SETUP_BY_ID_SITE = '/api/WebsiteSetup/GetEposSetupBySite?IdSite=',\r\n GET_EPOS_ADMIN_SETUP_BY_ID_SITE = '/api/WebsiteSetup/GetEposAdminSetupBySite?IdSite=',\r\n\r\n //LOGS\r\n GET_TICKET_LOGS = '/api/Ticket/GetTicketLogs?startDate=',\r\n\r\n}\r\n\r\nexport enum PostMethods {\r\n //LOGIN\r\n POST_LOGIN_USER = '/api/Login',\r\n POST_INSERT_ACCESS_TOKEN = '/api/Login/InsertTokenAccess',\r\n POST_SEND_ACCESS_TOKEN = '/api/Ticket/GetAccessToken',\r\n\r\n //BRAND SETUP\r\n POST_UPDATE_INSERT_BRAND_SETUP = '/api/BrandSetup/UpdateInsertBrandSetup',\r\n POST_UPDATE_INSERT_BRAND_SITE = '/api/BrandSetup/UpdateInsertBrandSite',\r\n\r\n //DEPARTMENT\r\n POST_INSERT_NEW_DEPARTMENT = '/api/Department/InsertNewDepartment',\r\n\r\n //PERSONALWORKLOG\r\n POST_INSERT_NEW_PERSONAL_WORKLOG = '/api/PersonalWorklog/InsertPersonalWorkLog',\r\n POST_INSERT_NEW_COMMENT = '/api/PersonalWorklog/SaveNewComment',\r\n\r\n //RELEVANCE\r\n POST_INSERT_NEW_RELEVANCE_LEVEL = '/api/Relevance/InsertNewRelevance',\r\n\r\n //STATUS\r\n POST_INSERT_NEW_TICKET_STATUS = '/api/Status/InsertNewTicketStatus',\r\n\r\n //SUBJECT\r\n POST_INSERT_NEW_SUBJECT = '/api/Subject/InsertNewSubject',\r\n\r\n //SERVICE DESK\r\n POST_INSERT_NEW_TASK_NOTE = '/api/ServiceDesk/InsertNewTaskNote',\r\n POST_INSERT_NEW_TASK_NOTE_MESSAGE = '/api/ServiceDesk/InsertNewTaskNoteMessage',\r\n\r\n //SHORTCUT\r\n POST_INSERT_NEW_SHORTCUT = '/api/Shortcut/InsertNewShortcut',\r\n\r\n //SUBJECTFIELD\r\n POST_INSERT_NEW_SUBJECT_FIELD = '/api/SubjectField/InsertNewSubjectField',\r\n\r\n //PROFILE\r\n POST_INSERT_NEW_SITE_BY_PROFILE = '/api/Profile/InsertNewSiteByProfile',\r\n POST_INSERT_NEW_PROFILE = '/api/Profile/InsertNewProfile',\r\n POST_INSERT_NEW_SITE_PROFILE = '/api/Profile/CreateNewSiteProfile',\r\n\r\n //WEBSITESETUP\r\n POST_INSERT_WEBSITE_CONFIG_BY_PROFILE = '/api/WebsiteSetup/InsertWebsiteConfigurationByProfile',\r\n\r\n //TICKET\r\n POST_CREATE_NEW_TICKET = '/api/Ticket/CreateNewTicket',\r\n POST_CREATE_NEW_TICKET_MESSAGE = '/api/Ticket/CreateNewTicketMessage',\r\n POST_RELEASE_TICKET = '/api/Ticket/ReleaseTicket',\r\n POST_ADD_USER_INTO_TICKET = '/api/Ticket/InsertUpdateAssignedUser',\r\n POST_ADD_SERVICE_DESK_TICKET = '/api/Ticket/AddServiceDeskTicketService',\r\n\r\n //USER\r\n POST_INSERT_NEW_USER = '/api/User/InsertNewUser',\r\n POST_INSERT_NEW_USER_BY_SITE = '/api/User/InsertNewUserBySite',\r\n\r\n POST_INSERT_USER_PREFERENCE = '/api/Settings/UpdateInsertUserPreferences',\r\n\r\n POST_PURGE = '/api/ConfigByDomain/Purge',\r\n\r\n INSERT_NOTIFICATIONS_BY_TICKET = '/api/Ticket/InsertNotificationsByTicket',\r\n}\r\n\r\nexport enum PutMethods {\r\n //DEPARTMENT\r\n UPDATE_DEPARTMENT_ITEM = '/api/Department/UpdateItemDepartment',\r\n UPDATE_ALL_ITEM_DEPARTMENT = '/api/Department/UpdateAllItemDepartment',\r\n\r\n //RELEVANCE\r\n UPDATE_RELEVANCE_LEVEL_ITEM = '/api/Relevance/UpdateItemRelevanceLevel',\r\n UPDATE_ALL_ITEM_RELEVANCE_LEVEL = '/api/Relevance/UpdateAllItemRelevanceLevel',\r\n\r\n //STATUS\r\n UPDATE_TICKET_STATUS_ITEM = '/api/Status/UpdateItemTicketStatus',\r\n UPDATE_ALL_TICKET_STATUS_ITEM = '/api/Status/UpdateAllItemTicketStatus',\r\n\r\n //SUBJECT\r\n UPDATE_SUBJECT_ITEM = '/api/Subject/UpdateItemSubject',\r\n UPDATE_ALL_SUBJECT_ITEM = '/api/Subject/UpdateAllItemSubject',\r\n UPDATE_SORT_SUBJECTS = '/api/Subject/SortSubjects',\r\n\r\n //SERVICE DESK\r\n UPDATE_TASK_NOTE_INFO = '/api/ServiceDesk/UpdateTaskNoteInfo',\r\n\r\n //SHORTCUT\r\n UPDATE_SHORT_CUT_INFO = '/api/Shortcut/UpdateShortcutInfo',\r\n\r\n //SUBJECTFIELD\r\n UPDATE_SUBJECT_FIELD_ITEM = '/api/SubjectField/UpdateItemSubjectField',\r\n UPDATE_ALL_SUBJECT_FIELD_ITEM = '/api/SubjectField/UpdateAllItemSubjectFields',\r\n\r\n //TICKET\r\n UPDATE_TICKET_INFORMATION = '/api/Ticket/UpdateTicketInformation',\r\n UPDATE_DEPARTMENT_ASSIGNED = '/api/Ticket/ChangeDepartmentAssigned',\r\n UPDATE_TICKET_STATUS = '/api/Ticket/UpdateOpenTicketStatus',\r\n UPDATE_NOTIFICATION_BY_TICKET = '/api/Ticket/UpdateNotificationsByTicket',\r\n UPDATE_MESSAGE_BY_USER = '/api/Ticket/EditMessage',\r\n\r\n //TWO_FACTOR_AUTHENTICATOR\r\n UPDATE_ENABLE_TWO_FACTOR = '/api/TwoFactorAuthenticator/EnableTwoFactor',\r\n\r\n //SETTINGS\r\n UPDATE_LANGUAGE_BY_USER = '/api/Settings/UpdateLanguageByUser',\r\n UPDATE_SMART_LOGIN = '/api/Settings/UpdateSmartLoginSelection',\r\n\r\n UPDATE_CLOSE_DATE_TICKETS = '/api/Ticket/UpdateCloseDateTickets',\r\n\r\n //PROFILE\r\n UPDATE_PROFILE = '/api/Profile/UpdateProfile',\r\n UPDATE_SITE_PROFILE = '/api/Profile/UpdateSiteProfile',\r\n\r\n //USER\r\n UPDATE_USER_INFO = '/api/User/UpdateUserInfo',\r\n UPDATE_USER_RIGHTS = '/api/User/UpdateUserRights',\r\n UPDATE_ALL_USER_RIGHTS = '/api/User/UpdateAllUserRights',\r\n UPDATE_DEPARTMENTS_BY_USER = '/api/User/UpdateDepartmentsByUser',\r\n UPDATE_VIEW_ONLY_BY_USER = '/api/User/UpdateViewOnlyByUser',\r\n UPDATE_RELEASE_TICKET_BY_USER = '/api/User/UpdateReleaseTicketByUser',\r\n UPDATE_TFA_SELECTION = '/api/User/UpdateTFASelection',\r\n\r\n //WEBSITESETUP\r\n UPDATE_DOMAIN_BY_ID_SITE = '/api/WebsiteSetup/UpdateDomainByIdSite',\r\n UPDATE_WEBSITE_SETUP = '/api/WebsiteSetup/UpdateItemWebsiteSetup',\r\n UPDATE_ALL_ITEM_WEBSITE_SETUP = '/api/WebsiteSetup/UpdateAllItemWebsiteSetup',\r\n UPDATE_ALL_ITEM_CTS_ADMIN_WEBSITES_SETUP = '/api/WebsiteSetup/UpdateAllItemCtsAdminWebsiteSetup',\r\n UPDATE_ITEM_CTS_ADMIN_WEBSITE_SETUP = '/api/WebsiteSetup/UpdateItemCtsAdminWebsiteSetup',\r\n UPDATE_ITEM_WEBSITE_SETUP = '/api/WebsiteSetup/UpdateItemAgentWebsiteSetup',\r\n UPDATE_ALL_ITEM_AGENT_WEBSITE_SETUP = '/api/WebsiteSetup/UpdateAllItemAgentWebsiteSetup',\r\n UPDATE_SORT_AGENT_WEBSITE = '/api/WebsiteSetup/SortAgentWebsite',\r\n UPDATE_SORT_WEBSITE_SETUP = '/api/WebsiteSetup/SortWebsiteSetup',\r\n UPDATE_SORT_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/SortWebsiteFieldsSetup',\r\n UPDATE_SORT_AGENT_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/SortAgentWebsiteFieldsSetup',\r\n UPDATE_SORT_CTS_ADMIN_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/SortCTSAdminWebsiteFieldsSetup',\r\n UPDATE_ITEM_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/UpdateItemWebsiteFieldSetup',\r\n UPDATE_ITEM_AGENT_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/UpdateItemAgentWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/UpdateAllItemWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_AGENT_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/UpdateAllItemAgentWebsiteFieldSetup',\r\n UPDATE_ITEM_CTS_ADMIN_WEBSITE_FIELD_SETUP = '/api/WebsiteSetup/UpdateItemCTSAdminWebsiteFieldSetup',\r\n UPDATE_ALL_ITEM_CTS_ADMIN_FIELD_SETUP = '/api/WebsiteSetup/UpdateAllItemCTSadminFieldSetup',\r\n UPDATE_SORT_CTS_ADMIN_WEBSITE_SETUP = '/api/WebsiteSetup/SortCTSAdminWebsiteSetup',\r\n UPDATE_ITEM_EPOS_SETUP = '/api/WebsiteSetup/UpdateItemEposSetup',\r\n UPDATE_SORT_EPOS_FIELD_SETUP = '/api/WebsiteSetup/SortEposFieldsSetup',\r\n UPDATE_ITEM_EPOS_FIELD_SETUP = '/api/WebsiteSetup/UpdateItemEposFieldSetup',\r\n UPDATE_ALL_ITEM_EPOS_FIELD_SETUP = '/api/WebsiteSetup/UpdateAllItemEposFieldSetup',\r\n UPDATE_SORT_EPOS_SETUP = '/api/WebsiteSetup/SortEposSetup',\r\n UPDATE_ALL_ITEM_EPOS_ADMIN_SETUP = '/api/WebsiteSetup/UpdateAllItemEposAdminSetup',\r\n UPDATE_ITEM_EPOS_ADMIN_SETUP = '/api/WebsiteSetup/UpdateItemEposAdminSetup',\r\n UPDATE_SORT_EPOS_ADMIN_FIELD_SETUP = '/api/WebsiteSetup/SortEposAdminFieldsSetup',\r\n UPDATE_ITEM_EPOS_ADMIN_FIELD_SETUP = 'Ticket/UpdateItemEposAdminFieldSetup',\r\n UPDATE_ALL_ITEM_EPOS_ADMIN_FIELD_SETUP = '/api/WebsiteSetup/UpdateAllItemEposAdminFieldSetup',\r\n UPDATE_SORT_EPOS_ADMIN_SETUP = '/api/WebsiteSetup/SortEposAdminSetup',\r\n\r\n}\r\n\r\nexport enum DeleteMethods {\r\n\r\n //BRAND SETUP\r\n DELETE_SITE_FOR_BRAND = '/api/BrandSetup/DeleteSiteForBrand',\r\n\r\n //PROFILE\r\n DELETE_SITE_FOR_PROFILE = '/api/Profile/DeleteSiteForProfile',\r\n\r\n //DEPARTMENT\r\n DELETE_DEPARTMENT_ITEM = '/api/Department/DeleteDepartment',\r\n\r\n //RELEVANCE\r\n DELETE_RELEVANCE_ITEM = '/api/Relevance/DeleteRelevance',\r\n\r\n //SERVICE DESK\r\n DELETE_TASK_NOTE = '/api/ServiceDesk/DeleteTaskNote',\r\n\r\n //STATUS\r\n DELETE_STATUS_ITEM = '/api/Status/DeleteStatus',\r\n\r\n //SUBJECT\r\n DELETE_SUBJECT = '/api/Subject/DeleteSubject',\r\n\r\n //SUBJECTFIELD\r\n DELETE_SUBJET_FIELD = '/api/SubjectField/DeleteSubjectField',\r\n\r\n //SHORTCUT\r\n DELETE_SHORTCUT = '/api/Shortcut/DeleteShortcut',\r\n\r\n //USER\r\n DELETE_USER = '/api/User/DeleteUser',\r\n DELETE_SITE_FOR_USER = '/api/User/DeleteSiteForUser',\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class TranslationService {\r\n browserLang: any;\r\n\r\n constructor(public translate: TranslateService) {\r\n translate.addLangs(['en', 'es', 'pt']);\r\n // the lang to use, if the lang isn't available, it will use the current loader to get them\r\n const lang = localStorage.getItem('lang')!;\r\n translate.use( lang == null ? 'en' : localStorage.getItem('lang')! );\r\n }\r\n \r\n setTranslate(lang:any){\r\n // this language will be used as a fallback when a translation isn't found in the current language\r\n this.translate.setDefaultLang(lang);\r\n this.translate.use(lang);\r\n localStorage.setItem( 'lang' ,lang);\r\n }\r\n \r\n getLangs() {\r\n return this.translate.getLangs();\r\n }\r\n\r\n currentLang(){\r\n return this.translate.currentLang;\r\n }\r\n\r\n getTranslate() {\r\n return localStorage.getItem('lang');\r\n }\r\n}","
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n\r\n
    \r\n
  • \r\n \r\n
    \r\n
    \r\n
    Notifications
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n New help ticket - Ticket\r\n
    \r\n
    \r\n #67897\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n New help ticket - Ticket\r\n
    \r\n
    \r\n #67897\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n New help ticket - Ticket\r\n
    \r\n
    \r\n #67897\r\n
    \r\n
    \r\n
    \r\n
  • \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{ 'General Search' | translate}}
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n {{messageResult | translate }} {{userActive}}.\r\n
\r\n\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'Ticket' | translate}} \r\n {{'Account' | translate}} \r\n \r\n {{'View' | translate }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ product.ticketInfo.ticketNumber }}\r\n \r\n \r\n {{ product.ticketInfo.idPlayer }}\r\n \r\n \r\n {{ product.ticketInfo.idPlayer }}\r\n \r\n \r\n {{ product.ticketInfo.ticketNumber }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n No ticket account found.\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 { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\nimport { NotificationService } from 'src/app/services/notification.service';\r\nimport { LanguageFilter, NAVIGATION } from \"src/app/common/constants\";\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { GetMethods, Methods, PutMethods, getSmartLoginTimeOut, transformMediumDate } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { Filters } from '@methods/constants';\r\nimport { ConfigByDomain, ResponseData } from '@models/models';\r\nimport { TranslationService } from '@services/translate.service';\r\nimport { CounterService } from '@services/counter.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoadingService } from '@services/loading.service';\r\n\r\ndeclare const bootstrap: any;\r\n\r\ninterface Column {\r\n ticket: string;\r\n view: string;\r\n}\r\n\r\n@Component({\r\n selector: 'app-navbar',\r\n templateUrl: './navbar.component.html'\r\n})\r\nexport class NavbarComponent {\r\n @Input() isExpanded: boolean;\r\n private mediaSubscription: Subscription;\r\n navigation: any = NAVIGATION;\r\n submitted = false;\r\n userName: any = '';\r\n idUser: any;\r\n Media: MediaResponse;\r\n generalSearchModal: any;\r\n userLogin: User;\r\n domainInfo: ConfigByDomain;\r\n loading: boolean = false;\r\n ticketData!: any[];\r\n ticketDataTemp!: any[];\r\n cols!: Column[];\r\n showTable: boolean = false;\r\n isAccountSelected: number = 0;\r\n smartLoginForm: FormGroup;\r\n userActive: string = '';\r\n messageResult: string = \"\";\r\n langFilter: Filters[]\r\n langItemSelected: any;\r\n\r\n get f() { return this.smartLoginForm.controls; }\r\n\r\n\r\n constructor(private _media: MediaService, private _apiService: ApiService, private _formBuilder: FormBuilder, private _cookieService: CookieService,\r\n private router: Router, private _notificationService: NotificationService, private _translationService: TranslationService, private _translateService: TranslateService,\r\n private _themeService: ThemeService, private _loadingService: LoadingService) {\r\n this.mediaSubscription = this._media.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n\r\n this.langFilter = LanguageFilter;\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.getModalInit();\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n\r\n this.cols = [\r\n { ticket: 'ticket', view: 'Ticket' },\r\n { ticket: 'view', view: 'View' },\r\n ];\r\n\r\n this.smartLoginForm = this._formBuilder.group({\r\n isSmartLogin: ['', [Validators.required]]\r\n });\r\n if (this.userLogin) {\r\n this.getSmartLogin();\r\n this.getUserPreference();\r\n }\r\n\r\n }\r\n\r\n toggleSidebar(event) {\r\n console.log(event);\r\n }\r\n\r\n getSmartLogin() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SMART_LOGIN_SELECTION + this.userLogin.idUser}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n //this._cookieService.set('isSmartLogin', result.data.smartLogin)\r\n localStorage.setItem('isSmartLogin', result.data.smartLogin);\r\n this.setCookiesSession(result.data.smartLogin);\r\n this.smartLoginForm = this._formBuilder.group({\r\n isSmartLogin: [result.data.smartLogin, [Validators.required]]\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getUserPreference() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_PREFERENCE + this.userLogin.idUser + '&IdSite=' + this.domainInfo.idSite}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.theme != null) {\r\n this._themeService.setTheme(result.data.theme);\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n langSelected(pItem: Filters) {\r\n this.langItemSelected = pItem;\r\n const data = this.OnSendDataPayload(1);\r\n const URL = `${environment.WebApiUrl + this.onSendURLParameter(1)}`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._translationService.setTranslate(pItem.value);\r\n this.domainInfo.language = pItem.value;\r\n localStorage.setItem(\"DomainCTS\", JSON.stringify(this.domainInfo));\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n setCookiesSession(isSmart: boolean) {\r\n if (isSmart) {\r\n this._cookieService.set(\"IdUser\", this.userLogin.idUser.toString(), getSmartLoginTimeOut());\r\n //this._cookieService.set(\"isSmartLogin\", 'true', getSmartLoginTimeOut());\r\n localStorage.setItem('isSmartLogin', 'true');\r\n this._cookieService.set('token', this.getTokenEncoded(), getSmartLoginTimeOut());\r\n } else {\r\n this._cookieService.set('token', this.getTokenEncoded());\r\n this._cookieService.set('IdUser', this.userLogin.idUser.toString());\r\n }\r\n }\r\n\r\n onSubmit() {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SMART_LOGIN}`;\r\n const data = {\r\n idUser: this.userLogin.idUser,\r\n smartSelection: this.f.isSmartLogin.value,\r\n }\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.getSmartLogin();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getTokenEncoded() {\r\n return btoa(this.userLogin.idUser + \":\" + this.userLogin.token + \":\" + this.userLogin.adminType);\r\n }\r\n\r\n GeneralSearch() {\r\n this._loadingService.stopInterval();\r\n this.generalSearchModal.show();\r\n }\r\n\r\n closeModal(){\r\n this._loadingService.startInterval(() => {\r\n window.location.reload();\r\n });\r\n }\r\n\r\n onSearch(value: string): void {\r\n if (value.trim() === '') {\r\n this.ticketData = this.ticketDataTemp.slice(0, 5)\r\n } else {\r\n this.ticketData = this.ticketDataTemp\r\n }\r\n }\r\n\r\n getTableInfo(pTicket: number) {\r\n this.isAccountSelected = pTicket;\r\n let date1 = new Date();\r\n let date2 = new Date();\r\n date2.setDate(date2.getDate() + 1);\r\n date1.setDate(date1.getDate() - 20);\r\n this.showTable = true;\r\n\r\n this.loading = true;\r\n const data = {\r\n idUser: this.userLogin.idUser,\r\n transactionType: 2,\r\n idSiteType: -1,\r\n startDate: transformMediumDate(date1),\r\n endDate: transformMediumDate(date2),\r\n User: this.userLogin.idUser\r\n }\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_TICKET_INFO + '?idUser=' + data.idUser + '&transactionType=' + data.transactionType + '&startDate=' + data.startDate + '&endDate=' + data.endDate + '&IdSiteType=' + -1}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.ticketData = result.data.slice(0, 5);\r\n this.ticketDataTemp = result.data;\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n logout() {\r\n this._apiService.logout();\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n itemSelected(item) {\r\n sessionStorage.setItem(\"TicketSelected\", JSON.stringify(item));\r\n sessionStorage.setItem(\"IdSiteType\", JSON.stringify(item.ticketInfo.idSiteType));\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_OPEN_TICKET_STATUS + item.idTicket}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.openTicketStatus == false) {\r\n var url = '/dashboard/tickets';\r\n location.assign(location.protocol + '//' + window.location.host + url);\r\n }\r\n else {\r\n sessionStorage.removeItem('TicketSelected');\r\n sessionStorage.removeItem('IdSiteType');\r\n this.userActive = result.data.openTicketUser\r\n this.getMessageInfo(\"EditedMessage\", 3000);\r\n }\r\n } else {\r\n sessionStorage.removeItem('TicketSelected');\r\n sessionStorage.removeItem('IdSiteType');\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n sessionStorage.removeItem('TicketSelected');\r\n sessionStorage.removeItem('IdSiteType');\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n OnSendDataPayload(key: number) {\r\n switch (key) {\r\n case 1: return {\r\n idUser: this.userLogin.idUser.toString(),\r\n lan: this.langItemSelected.value,\r\n idSite: this.domainInfo.idSite,\r\n encriptado: false,\r\n idSiteType: 3\r\n };\r\n default: return null;\r\n }\r\n }\r\n\r\n onSendURLParameter(key: number) {\r\n switch (key) {\r\n case 1: return PutMethods.UPDATE_LANGUAGE_BY_USER;\r\n default: return null;\r\n }\r\n }\r\n\r\n getModalInit() {\r\n this.generalSearchModal = new bootstrap.Modal(document.getElementById('generalSearchModal'), {\r\n keyboard: false\r\n })\r\n }\r\n\r\n getMessageInfo(message: string, time: number) {\r\n this.messageResult = message;\r\n setTimeout(() => {\r\n this.messageResult = '';\r\n }, time);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \"Logo\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
0\" class=\"badge badge-info bg-danger text-sm bage-test\"> {{pendingTicketsCount}}
\r\n
0\" class=\"badge badge-info bg-danger text-sm bage-test\"> {{helpNotifications}}
\r\n
0\" class=\"badge badge-info bg-danger text-sm bage-test\"> {{internalNotifications}}
\r\n
0\" class=\"badge badge-info bg-danger text-sm bage-test\"> {{partnerNotifications}}
\r\n
0\" class=\"badge badge-info bg-danger text-sm bage-test\"> {{directNotifications}}
\r\n
\r\n
\r\n
\r\n\r\n\r\n {{ item.title | translate }}\r\n\r\n {{pendingTicketsCount}}\r\n {{helpNotifications}}\r\n {{internalNotifications}}\r\n {{partnerNotifications}}\r\n {{directNotifications}}\r\n\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, ElementRef, OnInit, OnDestroy } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\nimport { Subscription, filter } from 'rxjs';\r\nimport { MediaResponse, MediaService } from \"src/app/services/media.service\";\r\nimport { AUTO_STYLE, animate, state, style, transition, trigger } from '@angular/animations';\r\nimport { NAVIGATION } from \"src/app/common/constants\";\r\nimport Swal from 'sweetalert2';\r\nimport packageJson from '../../../../../package.json';\r\nimport { TranslateService } from \"@ngx-translate/core\";\r\nimport { ApiService } from \"@services/api.service\";\r\nimport { environment } from \"src/environments/environment\";\r\nimport { GetMethods, Methods, PutMethods } from \"@methods/methods\";\r\nimport { User } from \"@models/auth-model\";\r\nimport { CounterService } from \"@services/counter.service\";\r\nimport { OpenTicketDTO, ResponseData } from \"@models/models\";\r\nimport { Title } from \"@angular/platform-browser\";\r\ndeclare const bootstrap: any;\r\n\r\nconst DEFAULT_DURATION = 200;\r\n\r\n@Component({\r\n selector: 'app-sidenav',\r\n templateUrl: './sidenav.component.html',\r\n animations: [\r\n trigger('collapse', [\r\n state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),\r\n state('true', style({ height: '0', visibility: 'hidden' })),\r\n transition('false => true', animate(DEFAULT_DURATION + 'ms ease-in')),\r\n transition('true => false', animate(DEFAULT_DURATION + 'ms ease-out'))\r\n ])\r\n ]\r\n})\r\n\r\nexport class SideNavComponent implements OnInit, OnDestroy {\r\n public version: string = packageJson.version;\r\n @Input() isExpanded: boolean = false;\r\n @Output() toggleSidebar: EventEmitter = new EventEmitter();\r\n\r\n //handleSidebarToggle = () => this.toggleSidebar.emit(!this.isExpanded);\r\n\r\n output: boolean = false;\r\n openAccordion: any = [];\r\n Media!: MediaResponse;\r\n navigation: any = NAVIGATION;\r\n idUser: string | null = '';\r\n loading: boolean = false;\r\n actualRouter: string | null = '';\r\n hasSub!: [];\r\n changeDetected: any;\r\n nameUser: any;\r\n hidebackdrop: any;\r\n offcanvasExample: any;\r\n\r\n userLogin: User;\r\n\r\n newMessagesCount: number = 0;\r\n pendingTicketsCount: number = 0;\r\n helpNotifications: number = 0;\r\n internalNotifications: number = 0;\r\n partnerNotifications: number = 0;\r\n directNotifications: number = 0;\r\n\r\n private mediaSubscription: Subscription\r\n ticketSelected: any;\r\n idSiteType: any;\r\n\r\n showSubmenu(itemEl: HTMLElement) {\r\n itemEl.classList.toggle(\"showMenu\");\r\n }\r\n\r\n constructor(private el: ElementRef, private _apiService: ApiService, private _media: MediaService, private router: Router, private _translateService: TranslateService, private _counterService: CounterService, private readonly _title: Title) {\r\n this.actualRouter = this._apiService.getRouterLink();\r\n this.mediaSubscription = this._media.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n if (!media.IsMobile) {\r\n this.CloseToogle();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.offcanvasExample = new bootstrap.Offcanvas((document.getElementById(\"offcanvasExample\")), {\r\n keyboard: false\r\n });\r\n\r\n this._counterService._CounterActualRoute.subscribe(data => {\r\n if (data != undefined) {\r\n this.actualRouter = data;\r\n }\r\n })\r\n\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n\r\n this._counterService._Counter.subscribe(count => {\r\n this.newMessagesCount = count;\r\n });\r\n\r\n this._counterService._CounterPendingTickets.subscribe(count => {\r\n this.pendingTicketsCount = count;\r\n });\r\n\r\n this._counterService._CounterHelpNotifications.subscribe(count => {\r\n this.helpNotifications = count;\r\n });\r\n\r\n this._counterService._CounterInternalNotifications.subscribe(count => {\r\n this.internalNotifications = count;\r\n });\r\n\r\n this._counterService._CounterPartnerNotifications.subscribe(count => {\r\n this.partnerNotifications = count;\r\n });\r\n\r\n this._counterService._CounterDirectNotifications.subscribe(count => {\r\n this.directNotifications = count;\r\n });\r\n\r\n if (this.userLogin) {\r\n this.getMenuItemByUser();\r\n this.UpdateOpenTicketStatus();\r\n this.UpdateCloseDateTickets();\r\n }else{\r\n this._apiService.logout();\r\n }\r\n\r\n this._counterService._IsNotificationCalled.subscribe(isCalled => {\r\n if(isCalled){\r\n this.getTicketsCount();\r\n }\r\n });\r\n this.ticketSelected = JSON.parse(sessionStorage.getItem('TicketSelected')!);\r\n this.idSiteType = JSON.parse(sessionStorage.getItem('IdSiteType')!);\r\n\r\n }\r\n\r\n handleSidebarToggle(isExpanded: boolean) {\r\n this._counterService.IsExpandedSideNav(isExpanded);\r\n this.toggleSidebar.emit(isExpanded != isExpanded);\r\n }\r\n\r\n getMenuItemByUser() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_MENU_ITEM_BY_ID_USER + this.userLogin.idUser}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.navigation = result.data;\r\n this.getTicketsCount();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n getTicketsCount(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_TICKETS_COUNTER_BY_ID_USER + this.userLogin.idUser}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._counterService.CounterHelpNotifications(result.data.helpTicketCenter);\r\n this._counterService.CounterInternalNotifications(result.data.internalTicketCenter);\r\n this._counterService.CounterPartnerNotifications(result.data.partnerTicketCenter);\r\n this._counterService.CounterDirectNotifications(result.data.directTicketCenter);\r\n this.pendingTicketsCount = result.data.helpTicketCenter + result.data.internalTicketCenter + result.data.partnerTicketCenter + result.data.directTicketCenter;\r\n this._counterService.PendingTickets(this.pendingTicketsCount);\r\n const found = this.navigation.find(e => e.url == this.actualRouter)?.title;\r\n this._title.setTitle( `${'(' + this.pendingTicketsCount + ') '}` + `${this.TranslateText((found != undefined&&found!= '') ? found : this.actualRouter)} | CTS `);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n toggle(i: any) {\r\n this.openAccordion[i] = !this.openAccordion[i];\r\n }\r\n\r\n getActualRoute() {\r\n this.actualRouter = this._apiService.getRouterLink();\r\n }\r\n\r\n logout() {\r\n this._apiService.logout();\r\n }\r\n\r\n checkRoute(navigation: any) {\r\n const foundRouter = navigation.map((val: any, index: any) => {\r\n if (navigation[index].SubMenu.length > 0) {\r\n this.hasSub = navigation[index].SubMenu.map((item: any) => {\r\n return item.routerLink == this.actualRouter;\r\n })\r\n }\r\n return (this.hasSub.length > 0) ? this.hasSub : val.routerLink == this.actualRouter;\r\n });\r\n if (foundRouter.length == 0) {\r\n if (this.actualRouter != '/profile' && this.actualRouter != '/configuration') {\r\n this.router.navigate([this.navigation[0].routerLink]);\r\n }\r\n }\r\n this._apiService.setPermissionByMenu(true);\r\n }\r\n\r\n goTo(route: any, isExternalRoute: boolean) {\r\n this.changeDetected = (this._apiService.getDetectionChanges() == 'true') ? true : false;\r\n this.UpdateOpenTicketStatus();\r\n if (this.changeDetected) {\r\n Swal.fire({\r\n title: 'Estás seguro?',\r\n text: \"Los cambios no se guardarán y no podrás revertir esto.!\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n confirmButtonColor: '#3085d6',\r\n cancelButtonColor: '#d33',\r\n confirmButtonText: 'Si, salir!',\r\n cancelButtonText: 'Cancelar!'\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n this.CloseToogle();\r\n this.actualRouter = route;\r\n this.router.navigate([route]);\r\n this.validateTitle(route, isExternalRoute);\r\n this._apiService.changedetected(false);\r\n }\r\n })\r\n } else {\r\n this.CloseToogle();\r\n this.validateTitle(route, isExternalRoute);\r\n this.actualRouter = route;\r\n this.router.navigate([route]);\r\n }\r\n }\r\n\r\n /**\r\n UpdateOpenTicketStatus: actualiza el estado del tickete esto con el fin de revisar si alguien esta editando el tickete\r\n */\r\n\r\n UpdateOpenTicketStatus() {\r\n let obj: OpenTicketDTO = new OpenTicketDTO();\r\n obj.IdTicket = 0;\r\n obj.openStatus = false;\r\n obj.User = this.userLogin.idUser;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_TICKET_STATUS}`;\r\n this._apiService.apiPostMethod(URL, obj).subscribe({\r\n next: (result: ResponseData) => {},\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n UpdateCloseDateTickets(){\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_CLOSE_DATE_TICKETS }`;\r\n this._apiService.apiPostMethod(URL, null).subscribe({\r\n next: (result: ResponseData) => {},\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n CloseToogle() {\r\n if (this.offcanvasExample)\r\n this.offcanvasExample.hide();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.mediaSubscription)\r\n this.mediaSubscription.unsubscribe();\r\n }\r\n\r\n validateTitle(route: any, isExternalRoute: boolean) {\r\n if (!isExternalRoute) {\r\n const found = this.navigation.find(el => el.url == route).title;\r\n this._title.setTitle(`${'(' + this.pendingTicketsCount + ') '}` + `${this.TranslateText(found)} | CTS `);\r\n } else {\r\n this._title.setTitle(`${'(' + this.pendingTicketsCount + ') '}` + `${this.TranslateText(route)} | CTS `);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n version {{version}}\r\n
\r\n
\r\n
\r\n","import { Component, OnDestroy } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { ThemeService } from 'src/app/services/theme.service';\r\nimport { FormControl } from '@angular/forms';\r\nimport { BehaviorSubject, Subscription } from 'rxjs';\r\nimport { MediaResponse, MediaService } from \"src/app/services/media.service\";\r\nimport { Spinkit } from 'ng-http-loader';\r\nimport { Filters } from '@models/models';\r\nimport { ThemesOptions } from '@methods/constants';\r\nimport { CounterService } from '@services/counter.service';\r\nimport packageJson from '../../../../../package.json';\r\nimport { LoadingService } from '@services/loading.service';\r\n\r\n@Component({\r\n selector: 'app-main-layout',\r\n templateUrl: './main-layout.component.html',\r\n styleUrls: ['./main-layout.component.scss']\r\n})\r\nexport class MainLayoutComponent implements OnDestroy {\r\n public version: string = packageJson.version;\r\n Media!: MediaResponse;\r\n private mediaSubscription: Subscription;\r\n title: string = '';\r\n sidebarExpanded: boolean = false;\r\n routeState: string = '';\r\n user!: [];\r\n showLoading: BehaviorSubject;\r\n themeList: any = Filters;\r\n selectTheme = new FormControl('theme-default-light');\r\n public spinkit = Spinkit;\r\n\r\n opacity: string = '0.9';\r\n\r\n constructor(private router: Router,private _loadingService: LoadingService, private _themeService: ThemeService, private _media: MediaService, private _counterService: CounterService) {\r\n this.mediaSubscription = this._media.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n this.sidebarExpanded = media.IsMobile ? false : true;\r\n });\r\n\r\n this._themeService._ActualTheme.subscribe(data => {\r\n this.themeList = ThemesOptions.find( theme => theme.value == data );\r\n });\r\n\r\n let themeSelected = this._themeService.getThemeSelected();\r\n if (themeSelected) {\r\n this._themeService.setTheme(themeSelected);\r\n this.selectTheme = new FormControl(themeSelected);\r\n } else {\r\n this._themeService.setTheme('theme-default-light');\r\n }\r\n this.selectTheme.valueChanges.subscribe((value) => {\r\n this._themeService.setTheme(value);\r\n });\r\n // this._counterService.IsExpandedSideNav(this.sidebarExpanded);\r\n }\r\n ngOnInit(): void {\r\n this.showLoading = this._loadingService.getShowLoading();\r\n }\r\n ngOnDestroy() {\r\n if (this.mediaSubscription) {\r\n this.mediaSubscription.unsubscribe();\r\n }\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-header-layout',\r\n templateUrl: './header-layout.component.html'\r\n})\r\nexport class HeaderLayoutComponent {\r\n\r\n}\r\n","\r\n","export class ConfigSite {\r\n SiteName: string;\r\n WebApiUrl: string;\r\n AdminUrl: string;\r\n DefaultHostName: string;\r\n CSId: number;\r\n uploadFilesApi: string;\r\n previousDisplay: string;\r\n}\r\n\r\n// export class User {\r\n// IdUser: number;\r\n// idUser: number;\r\n// email: string;\r\n// password: string;\r\n// adminType: number;\r\n// name: string;\r\n// nickname: string;\r\n// IsActive: boolean;\r\n// isTFA: boolean;\r\n// IdDepartment: number;\r\n// DepartmentName: string;\r\n// UserType: number;\r\n// UserTypeName: string;\r\n// AccessAllSites: boolean;\r\n// token: string;\r\n// UserInCharge: number;\r\n// Profile: number;\r\n// ProfileName: string;\r\n// SmartLogin: boolean;\r\n// ReleaseTicket: boolean;\r\n// ViewOnly: boolean;\r\n// }\r\n\r\n\r\nexport class User {\r\n idUser: number;\r\n email: string;\r\n password: string;\r\n adminType: number;\r\n name: string;\r\n nickname: string;\r\n isActive: boolean;\r\n isTFA: boolean;\r\n idDepartment: number;\r\n departmentName: string;\r\n idUserType: number;\r\n userTypeName: string;\r\n accessAllSites: boolean;\r\n token: string;\r\n userInCharge: number;\r\n profile: number;\r\n profileName: string;\r\n smartLogin: boolean;\r\n releaseTicket: boolean;\r\n viewOnly: boolean;\r\n}\r\n\r\nexport class TagComponent {\r\n id: number;\r\n title: string;\r\n type: string;\r\n url: string;\r\n classes: string;\r\n icon: string;\r\n ActiveForProfile: boolean;\r\n}\r\n\r\nexport class TokenAccess {\r\n IdTokenAccess: number;\r\n User: string;\r\n Token: string;\r\n IpAddress: string;\r\n Date: Date;\r\n SendEmail: boolean;\r\n}\r\n\r\nexport class TwoFactor {\r\n idUser: number;\r\n email: string;\r\n inputCode: string;\r\n isTFA: boolean;\r\n}\r\n\r\nexport class SmartLogin {\r\n IdUser: number;\r\n SmartSelection: boolean;\r\n}","
\r\n
\r\n
\r\n
\r\n \"Image\r\n
\r\n
\r\n

{{'Customer Ticket Service' | translate}}

\r\n
\r\n
\r\n {{ 'UserName' | translate }}\r\n \r\n
\r\n
{{'User is required' | translate}}
\r\n
\r\n
\r\n
\r\n {{ 'Password' | translate }}\r\n \r\n
\r\n
{{'Password is required' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \"2fa-Image\" {{'Two-Factor Authentication Code' | translate}}\r\n \r\n
\r\n
{{ 'Token is required' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

* {{ 'The token was sent to your associated email' | translate}}

\r\n
\r\n\r\n
\r\n
\r\n Token\r\n \r\n
\r\n
{{ 'Token is required' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n \r\n \r\n\r\n
\r\n {{messageResult | translate }}\r\n
\r\n \r\n version: {{version}}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { TagComponent, TokenAccess, User } from '@models/auth-model';\r\nimport { ApiService } from '@services/api.service';\r\nimport { GetMethods, Methods, PostMethods, getSmartLoginTimeOut } from '@methods/methods';\r\nimport { environment } from 'src/environments/environment';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { BrandSetup, ConfigByDomain, ResponseData } from '@models/models';\r\nimport packageJson from '../../../../../package.json';\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html'\r\n})\r\nexport class LoginComponent implements OnInit {\r\n public version: string = packageJson.version;\r\n private mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n\r\n userLogin: User = new User();\r\n loginForm: FormGroup;\r\n verifyForm: FormGroup;\r\n verifyTFAuthForm: FormGroup;\r\n submitted: boolean = false;\r\n submittedToken: boolean = false;\r\n submittedTokenTFA: boolean = false;\r\n messageResult: string = \"\";\r\n isEmailToken: boolean = false;\r\n isTwoFactorAuth: boolean = false;\r\n loading: boolean = false;\r\n\r\n _menuItem: TagComponent[];\r\n _menuItem2: TagComponent[];\r\n\r\n tokenAccess: TokenAccess = new TokenAccess();\r\n GettokenAccess: TokenAccess = new TokenAccess();\r\n\r\n //brandSetup\r\n _BrandSetup: BrandSetup[] = [];\r\n _configByDomain: ConfigByDomain = new ConfigByDomain();\r\n\r\n\r\n constructor(\r\n private _apiService: ApiService,\r\n private _formBuilder: FormBuilder,\r\n private _router: Router,\r\n private _mediaService: MediaService,\r\n private _cookieService: CookieService) {\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.loginForm = this._formBuilder.group({\r\n email: ['', [Validators.required]],\r\n password: ['', [Validators.required]]\r\n });\r\n\r\n this.verifyForm = this._formBuilder.group({\r\n token: ['', [Validators.required]]\r\n });\r\n\r\n this.verifyTFAuthForm = this._formBuilder.group({\r\n tokenTFA: ['', [Validators.required]]\r\n });\r\n this.purge();\r\n\r\n }\r\n get f() { return this.loginForm.controls; }\r\n get g() { return this.verifyForm.controls; }\r\n get j() { return this.verifyTFAuthForm.controls; }\r\n\r\n\r\n onSubmit() { // Inicio de sesion normal\r\n this.submitted = true;\r\n if (this.loginForm.invalid) {\r\n return;\r\n }\r\n this.loading = true;\r\n\r\n const data = {\r\n email: this.f.email.value,\r\n password: this.f.password.value\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_LOGIN_USER }`;\r\n\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n this.loading = false;\r\n if (result.success) {\r\n this.userLogin = result.data;\r\n this.userLogin.adminType = 1;\r\n\r\n if (result.data.smartLogin) {\r\n const resultToken = this._cookieService.get('token');\r\n if (resultToken != '') {\r\n localStorage.setItem('UserAccessCTS', JSON.stringify(this.userLogin));\r\n localStorage.setItem('IdUser', this.userLogin.idUser.toString());\r\n this.GetBrandsSetup();\r\n this._cookieService.set(\"IdUser\", this.userLogin.idUser.toString(), getSmartLoginTimeOut());\r\n localStorage.setItem('isSmartLogin', 'true');\r\n this._cookieService.set('token', this.getTokenEncoded(), getSmartLoginTimeOut());\r\n this._router.navigate(['/dashboard/tickets']);\r\n }\r\n } else {\r\n localStorage.setItem('isSmartLogin', 'false');\r\n }\r\n\r\n if (result.data.isTFA) {\r\n this.isTwoFactorAuth = true;\r\n }\r\n\r\n if(!result.data.isTFA && !result.data.smartLogin || !result.data.isTFA && result.data.smartLogin){\r\n this._cookieService.set('IdUser', this.userLogin.idUser.toString(), getSmartLoginTimeOut());\r\n localStorage.setItem('UserAccessCTS', JSON.stringify(this.userLogin));\r\n this.GetBrandsSetup();\r\n localStorage.setItem('IdUser', this.userLogin.idUser.toString());\r\n this._cookieService.set('token', this.getTokenEncoded(), getSmartLoginTimeOut());\r\n localStorage.setItem('isSmartLogin', 'false');\r\n this._router.navigate(['/dashboard/tickets']);\r\n }\r\n\r\n } else {\r\n this.getMessageInfo(\"Please check your credentials\", 3000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.loading = false;\r\n this.getMessageInfo(\"Something went wrong please try again or contact with you administrator\", 6000);\r\n }\r\n });\r\n }\r\n\r\n getTokenEncoded() {\r\n return btoa(this.userLogin.idUser + \":\" + this.userLogin.token + \":\" + this.userLogin.adminType);\r\n }\r\n\r\n onSubmitEmailToken() {\r\n this.submittedToken = true;\r\n if (this.verifyForm.invalid) {\r\n return;\r\n }\r\n\r\n this._cookieService.set('token', this.getTokenEncoded());\r\n // this._cookieService.set(\"isSmartLogin\", 'false', getSmartLoginTimeOut());\r\n localStorage.setItem('isSmartLogin', 'false');\r\n this._cookieService.set('IdUser', this.userLogin.idUser.toString());\r\n\r\n this.loading = true;\r\n const data = {\r\n Token: this.g.token.value.toString(),\r\n User: this.userLogin.idUser\r\n }\r\n const URL = `${environment.WebApiUrl + Methods.POST_SEND_ACCESS_TOKEN}`;\r\n\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: any) => {\r\n if (result.IdTokenAccess != 0) {\r\n this.loading = false;\r\n // localStorage.setItem('UserAccessCTS', JSON.stringify(this.userLogin));\r\n // localStorage.setItem('IdUser', this.userLogin.idUser.toString());\r\n this.GetBrandsSetup();\r\n this._router.navigate(['/dashboard/tickets']);\r\n } else {\r\n this.loading = false;\r\n this.getMessageInfo('Invalid token', 3000)\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n verifyTwoFactorAuthenticationToken() {\r\n this.submittedTokenTFA = true;\r\n if (this.verifyTFAuthForm.invalid) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_VALIDATION_TWO_FACTOR_TOKEN + this.userLogin.email + '&Inputcode=' + this.j.tokenTFA.value }`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.loading = false;\r\n if(result.data){\r\n this._cookieService.set('token', this.getTokenEncoded(), getSmartLoginTimeOut());\r\n this._cookieService.set('IdUser', this.userLogin.idUser.toString(), getSmartLoginTimeOut());\r\n\r\n localStorage.setItem('UserAccessCTS', JSON.stringify(this.userLogin));\r\n localStorage.setItem('IdUser', this.userLogin.idUser.toString());\r\n this.GetBrandsSetup();\r\n this._router.navigate(['/dashboard/tickets']);\r\n }else{\r\n this.getMessageInfo('Invalid token!', 3000);\r\n }\r\n } else {\r\n this.loading = false;\r\n this.getMessageInfo('Invalid token!', 3000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.loading = false;\r\n this.getMessageInfo('Login Error, please contact with your administrator', 3000);\r\n }\r\n });\r\n }\r\n\r\n\r\n ChangeMethod() {\r\n this.tokenAccess.User = this.userLogin.idUser.toString();\r\n this.tokenAccess.IpAddress = \"10.0.0.1\";\r\n this.tokenAccess.Date = new Date();\r\n this.tokenAccess.SendEmail = true;\r\n const URL = `${environment.WebApiUrl + Methods.POST_INSERT_ACCESS_TOKEN}`;\r\n\r\n this._apiService.apiPostMethod(URL, this.tokenAccess).subscribe(data => {\r\n this.tokenAccess.Token = data.data.token;\r\n this.isTwoFactorAuth = false;\r\n //this.isEmailToken = true;\r\n });\r\n }\r\n\r\n getMessageInfo(message: string, time: number) {\r\n this.messageResult = message;\r\n setTimeout(() => {\r\n this.messageResult = '';\r\n }, time);\r\n }\r\n\r\n purge(){\r\n const hasRefreshed = sessionStorage.getItem('hasRefreshed');\r\n if(!hasRefreshed){\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_PURGE}`;\r\n this._apiService.apiPostMethod(URL, null).subscribe({\r\n next: (result: ResponseData) => {\r\n console.log('purge result', result);\r\n if(result.success){\r\n sessionStorage.setItem('hasRefreshed', 'true');\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log('purge error =>', err);\r\n }\r\n });\r\n }\r\n }\r\n\r\n GetBrandsSetup() {\r\n this._configByDomain = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n this._apiService.apiGetMethod(`${environment.WebApiUrl}${GetMethods.GET_BRAND_SET_UP_BY_ID_SITE}${this._configByDomain.idSite}`).subscribe(data => {\r\n if (data.success) {\r\n this._BrandSetup = data.data;\r\n sessionStorage.setItem('BrandSetup', JSON.stringify(this._BrandSetup[0]));\r\n }\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\nimport { NavigationEnd, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-not-found',\r\n templateUrl: './not-found.component.html'\r\n})\r\nexport class NotFoundComponent {\r\n\r\n previousUrl: string = '';\r\n currentUrl: string = '';\r\n\r\n constructor(private _route: Router ,private _location: Location){\r\n _route.events.subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n this.previousUrl = this.currentUrl;\r\n this.currentUrl = event.url;\r\n };\r\n });\r\n }\r\n\r\n backToHome() {\r\n if (window.history.length > 1) {\r\n this._location.back()\r\n } else {\r\n this._route.navigate([this.previousUrl])\r\n }\r\n }\r\n}\r\n","
\r\n

{{ 'GENERICS.NOT_FOUND_TITLE' | translate }}

\r\n
\r\n

\r\n {{ 'GENERICS.NOT_FOUND_TEXT' | translate }}\r\n

\r\n \"Not\r\n \r\n
\r\n
\r\n","
\r\n\r\n \r\n
{{'Users' | translate}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
{{'Users' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{ 'GlobalForm.Name' | translate }}
\r\n
\r\n \r\n
\r\n
{{ 'GlobalForm.Name' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{ 'GlobalForm.Description' | translate }}
\r\n
\r\n \r\n
\r\n
{{ 'GlobalForm.Description' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
{{'GlobalForm.Account' | translate}}
\r\n
\r\n \r\n
\r\n
{{'GlobalForm.Account' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
You have reached the maximum characters allowed (30).
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
{{'GlobalForm.AgentPlayer' | translate}}
\r\n
\r\n \r\n \r\n {{ option.label | translate }}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.AgentPlayer' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Subject' | translate}}
\r\n
\r\n \r\n \r\n {{option.label | translate}} [{{option.description}}] \r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Subject' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.SubjectField' | translate}}
\r\n
\r\n \r\n \r\n {{option.name | translate}} \r\n \r\n \r\n {{selectedItem.name | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.SubjectField' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Website' | translate}}
\r\n
\r\n \r\n \r\n {{option.label}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Website' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Relevance' | translate}}
\r\n
\r\n \r\n \r\n {{ option.label | translate }}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Relevance' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Department' | translate}}
\r\n
\r\n \r\n \r\n {{option.name | translate}}\r\n \r\n \r\n {{selectedItem.name | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Department' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.EmailSubject' | translate}}
\r\n
\r\n \r\n
\r\n
{{'GlobalForm.EmailSubject' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Ticket' | translate}}
\r\n
\r\n \r\n
\r\n
{{'GlobalForm.Ticket' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Status' | translate}}
\r\n
\r\n \r\n \r\n \r\n {{option.description | translate}}\r\n \r\n \r\n {{selectedItem.description | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Status' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.ReplyToEmail' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Shortcuts' | translate}}
\r\n
\r\n \r\n \r\n {{option.name | translate}}\r\n \r\n \r\n {{selectedItem.name | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Shortcuts' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Message' | translate}}
\r\n
\r\n
\r\n\t\t\t\t \r\n\t\t\t\t\r\n\t\t\t
\r\n
\r\n
{{'GlobalForm.Message' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.UploadAttachment' | translate}}
\r\n
\r\n \r\n\r\n
0\" class=\"form-group row\">\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \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' | translate}}{{'Progress' | translate}}{{'Result' | translate}}{{'Action' | translate}}
{{ item?.file?.name }}\r\n
\r\n
{{item.progress}}%
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\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, OnInit, Output } from '@angular/core';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { Subscription, filter } from 'rxjs';\r\nimport { ClientTypeList, Filters } from '@methods/constants';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { FileUploader, FileItem, ParsedResponseHeaders } from 'ng2-file-upload';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ApiService } from '@services/api.service';\r\nimport { ConfigByDomain, ResponseData, TicketGeneral, TicketMessage, User } from '@models/models';\r\nimport { GetMethods, Methods, PostMethods, PreviousImage, PutMethods, getFormType, reemplazarImagenBase64ConBlob, validateFormControlType } from '@methods/methods';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Editor, Toolbar } from 'ngx-editor';\r\nimport { CounterService } from '@services/counter.service';\r\n\r\n@Component({\r\n selector: 'app-ticket-form',\r\n templateUrl: './ticket-form.component.html'\r\n})\r\nexport class TicketFormComponent implements OnInit {\r\n @Input() subjectList: any;\r\n @Input() allSiteTags: any;\r\n @Input() relevanceList: any;\r\n @Input() departmentList: any;\r\n @Input() shortCutByDepartment: any;\r\n @Input() ticketCenterType: number;\r\n @Input() formType: number;\r\n @Input() showForm: any;\r\n @Input() TicketInfo: any;\r\n @Input() IdSiteType: number;\r\n @Input() allUserList: any;\r\n @Input() formTicket: FormGroup;\r\n @Input() statusList: any;\r\n @Input() editItemSelected: any;\r\n @Output() onCallFormMethod = new EventEmitter();\r\n\r\n uploader: any = FileUploader;\r\n model: any = {};\r\n submitted: boolean = false;\r\n newMessageTicket: TicketMessage = new TicketMessage();\r\n newGeneralTicket: TicketGeneral = new TicketGeneral();\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n clientTypeList: Filters[];\r\n domainInfo: ConfigByDomain;\r\n SubjectFieldsData: any;\r\n userLogin: User;\r\n formValidation: any;\r\n attached: string = '';\r\n data: any;\r\n\r\n editor: Editor;\r\n toolbar: Toolbar = [\r\n ['bold', 'italic'],\r\n ['underline', 'strike'],\r\n ['code', 'blockquote'],\r\n ['ordered_list', 'bullet_list'],\r\n [{ heading: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] }],\r\n ['link', 'image'],\r\n ['text_color', 'background_color'],\r\n ['align_left', 'align_center', 'align_right', 'align_justify'],\r\n ];\r\n\r\n constructor(private _counterService: CounterService, private _mediaService: MediaService, private _formBuilder: FormBuilder, private _apiService: ApiService, private _notificationService: NotificationService) {\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n this.clientTypeList = ClientTypeList;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.uploader = new FileUploader({\r\n url: environment.uploadFilesApi, //url del api\r\n //allowedMimeType: ['image/jpeg', 'image/png', 'image/jpg'],\r\n //maxFileSize: 10 * 1024 * 1024,\r\n isHTML5: true,\r\n });\r\n\r\n this.editor = new Editor();\r\n\r\n this.uploader.onAfterAddingFile = (item: FileItem) => {\r\n item.withCredentials = false;\r\n this.PreviousImage(item);\r\n };\r\n\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n const isSatusDisabled = (this.formType == 1 || this.formType == 2 || this.formType == 3 || this.formType == 4) ? true : false;\r\n let messageTextEdition = (this.editItemSelected?.message != null && this.editItemSelected?.message != undefined) ? this.editItemSelected.message : '';\r\n messageTextEdition = this.setMessage(messageTextEdition);\r\n\r\n this.formTicket = this._formBuilder.group({\r\n userSelected: ['', [Validators.required]],\r\n account: ['', [Validators.required, Validators.maxLength(30)]],\r\n agentPlayer: ['', [Validators.required]],\r\n subject: ['', [Validators.required]],\r\n subjectField: ['', [Validators.required]],\r\n website: [(this.formType == 4) ? -1 : '', [Validators.required]],\r\n relevance: ['', [Validators.required]],\r\n department: [(this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.idDepartment : '', [Validators.required]],\r\n replyToEmail: ['', [Validators.required]],\r\n shortcuts: [''],\r\n message: [messageTextEdition, [Validators.required]],\r\n emailSubject: [(this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.emailSubject : '', [Validators.required]],\r\n ticketLink: [(this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.tickerOrTaskName : '', [Validators.required]],\r\n inputTextName: [(this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.inputTextName : '', [Validators.required]],\r\n description: [(this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.description : '', [Validators.required]],\r\n status: new FormControl({ value: isSatusDisabled ? 3 : (this.editItemSelected != null || this.editItemSelected != undefined) ? this.editItemSelected.idStatus : '', disabled: isSatusDisabled }, Validators.required)\r\n });\r\n this.showForm = getFormType(this.formType);\r\n this.formValidation = validateFormControlType(this.formType);\r\n this.setFormValidators()\r\n }\r\n\r\n setFormValidators() {\r\n Object.keys(this.formTicket.controls).forEach(key => {\r\n this.formValidation.forEach(element => {\r\n if (element.control == key) {\r\n if (!element.show) {\r\n var inputName = this.formTicket.get(key);\r\n inputName?.setValidators(null);\r\n inputName?.updateValueAndValidity();\r\n }\r\n }\r\n });\r\n });\r\n }\r\n\r\n get f() { return this.formTicket.controls; }\r\n\r\n onChangeSubjectItemSelected(IdSubject: any) {\r\n if (IdSubject.value != null) {\r\n let URL: string = ''\r\n if (this.domainInfo.idSite != 0) {\r\n URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_FOR_CTSADMIN_PROFILE + this.domainInfo.idSite + '&IdSubject=' + Number(IdSubject.value)}`;\r\n } else {\r\n URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_ID + IdSubject.value}`;\r\n }\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SubjectFieldsData = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n }\r\n\r\n onChangeShurtcutMesage(message: string) {\r\n this.formTicket.get('message')?.setValue(message);\r\n }\r\n\r\n onChange(html: string) {\r\n if (html == '

') {\r\n this.formTicket.get('message')?.setValue('');\r\n } else {\r\n const expresionRegular = /data:image\\/(?:png|jpg|jpeg);base64,/gi;\r\n const coincidencias = expresionRegular.test(html);\r\n\r\n if (coincidencias) {\r\n const texto = reemplazarImagenBase64ConBlob(html, this.uploader);\r\n setTimeout(() => {\r\n this.formTicket.get('message')?.setValue(texto);\r\n }, 2000);\r\n }\r\n }\r\n }\r\n\r\n onChangeInput(event: any) {\r\n this.removeImageScreenInEditor();\r\n }\r\n\r\n /* UPLOAD ITEM */\r\n PreviousImage(item: FileItem) {\r\n this.model = PreviousImage(item, this.uploader);\r\n this.removeImageScreenInEditor()\r\n }\r\n\r\n removeImageScreenInEditor() {\r\n setTimeout(() => {\r\n const nombreArchivoAEliminar = 'screenshot-';\r\n this.uploader.queue = this.uploader.queue.filter(file => !file._file.name.startsWith(nombreArchivoAEliminar));\r\n }, 2000);\r\n }\r\n\r\n submitForm() {\r\n this.submitted = true;\r\n if (this.formTicket.invalid) {\r\n return;\r\n }\r\n\r\n if (this.uploader?.queue.length > 0) {\r\n this.uploader?.queue.forEach((element: { isSuccess: any; _file: { name: string; }; }) => {\r\n if (element.isSuccess) {\r\n this.attached += element._file.name + \"/\";\r\n }\r\n });\r\n\r\n this.newMessageTicket.attachedFileString = this.attached;\r\n this.newGeneralTicket.attachments = this.attached;\r\n }else{\r\n this.newGeneralTicket.attachments = '';\r\n }\r\n\r\n //agregar
en cada

\r\n this.AdjustTextSeparator(this.formTicket.get('message')?.value);\r\n\r\n if (this.formType == 1 || this.formType == 2 || this.formType == 3 || this.formType == 4) {\r\n // 1 = help ticket center // 2 partners-ticket-center // 3 internal-ticket center // 4 = direct-ticket-center\r\n this.CreateNewGeneralTicket();\r\n } else {\r\n // 5 = New Message // 6 New Internal Message // 7 Edit Message // 8 Service - Desk INSERT NEW\r\n // 9 Service - Desk INSERT NEW COMMENT // 10 Service - Desk EDIT ENTRY // 12 INSERT NEW SHORT CUT\r\n this.sendGeneralTicketInfo();\r\n }\r\n }\r\n\r\n CreateNewGeneralTicket() {\r\n if (this.formType != 3 && this.formType != 2 && this.formType != 4) {\r\n this.newGeneralTicket.sendToPlayer = true;\r\n this.newGeneralTicket.assigned = this.f.department.value;\r\n this.newGeneralTicket.idAgent = this.f.agentPlayer.value;\r\n }\r\n\r\n this.newGeneralTicket.activeAccount = (this.formType == 3 || this.formType == 4) ? false : true;\r\n this.newGeneralTicket.assignedUser = (this.formType == 4) ? this.f.userSelected.value.toString() : \"0\";\r\n // this.newGeneralTicket.assigned = (this.formType != 4) ? \"0\" : this.f.userSelected.value.toString();\r\n this.newGeneralTicket.assigned = 0;\r\n this.newGeneralTicket.email = this.userLogin.email.toString();\r\n this.newGeneralTicket.idPlayer = this.f.account.value;\r\n this.newGeneralTicket.idSite = (this.formType != 4) ? this.domainInfo.idSite : this.f.website.value; //-1 direct ticket\r\n this.newGeneralTicket.idSiteType = this.formType;\r\n this.newGeneralTicket.idStatus = 3; // open\r\n this.newGeneralTicket.idTypeMessage = 1;\r\n this.newGeneralTicket.message = this.f.message.value;\r\n this.newGeneralTicket.relevance = (this.formType == 3 || this.formType == 2 || this.formType == 4) ? 2 : this.f.relevance.value;\r\n this.newGeneralTicket.sender = 1; // Type 1 = user\r\n this.newGeneralTicket.sendingUser = this.userLogin.idUser.toString();\r\n this.newGeneralTicket.subject = this.f.subject.value.toString();\r\n this.newGeneralTicket.subjectField = this.f.subjectField.value.toString();\r\n this.newGeneralTicket.casinoProvider = null;\r\n this.newGeneralTicket.casinoGameName = null;\r\n this.newGeneralTicket.casinoCategory = null;\r\n\r\n const URL = `${environment.WebApiUrl + this.OnSendTicketFormType(this.formType)}`;\r\n this._apiService.apiPostMethod(URL, this.newGeneralTicket).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n this.uploader.queue = [];\r\n this.newGeneralTicket = new TicketGeneral();\r\n this.ClearForm();\r\n this._counterService.setNotificationsServiceSub(true);\r\n this.submitted = false;\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n ClearForm(){\r\n if(this.formTicket!=null){\r\n if(this.formTicket.controls.status!=null){\r\n let tempStatus = this.formTicket.controls.status.value;\r\n this.formTicket.reset({status: tempStatus});\r\n }else{\r\n this.formTicket.reset()\r\n }\r\n }\r\n }\r\n\r\n sendGeneralTicketInfo() {\r\n\r\n this.data = this.OnSendFormTypeData(this.formType);\r\n const URL = `${environment.WebApiUrl + this.OnSendTicketFormType(this.formType)}`;\r\n if (this.formType == 7 || this.formType == 10 || this.formType == 13) {\r\n //metodos de tipo update\r\n this._apiService.apiPostMethod(URL, this.data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n if (this.formType == 5 || this.formType == 6 || this.formType == 7) {\r\n this.uploader.queue = [];\r\n }\r\n if (this.uploader?.queue.length > 0) {\r\n this.uploader?.clearQueue();\r\n }\r\n\r\n if (this.formType == 10 || this.formType == 13) {\r\n this.onCallFormMethod.emit(this.data);\r\n } else {\r\n this.onCallFormMethod.emit(this.formType);\r\n }\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n } else {\r\n this._apiService.apiPostMethod(URL, this.data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n //notificaciones\r\n if(this.formType == 6 || this.IdSiteType == 2){\r\n const data = {\r\n idTicket: this.TicketInfo.idTicket,\r\n idUser: this.userLogin.idUser,\r\n idSiteType: this.IdSiteType\r\n }\r\n this._apiService.apiPostMethod(`${environment.WebApiUrl+PostMethods.INSERT_NOTIFICATIONS_BY_TICKET}`, data).subscribe({\r\n next: (response) => {\r\n //console.log('@@', response);\r\n },\r\n error: (e) => console.log('error insertando notificaciones', e)\r\n });\r\n }\r\n if (this.formType == 5 || this.formType == 6 || this.formType == 7) {\r\n this.uploader.queue = [];\r\n }\r\n if (this.uploader?.queue.length > 0) {\r\n this.uploader?.clearQueue();\r\n }\r\n\r\n if (this.formType == 10 || this.formType == 13) {\r\n this.onCallFormMethod.emit(this.data);\r\n } else {\r\n this.onCallFormMethod.emit(this.formType);\r\n }\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n OnSendFormTypeData(ticketType: number) {\r\n switch (ticketType) {\r\n case 5:\r\n case 6:\r\n case 7: return {\r\n idTicket: this.TicketInfo.idTicket,\r\n idStatus: this.TicketInfo.ticketInfo.idStatus,\r\n idSiteType: this.IdSiteType,\r\n sendToPlayer: this.formType == 5 ? true : false,\r\n sendingUser: this.userLogin.idUser.toString(),\r\n replyToClient: true,\r\n sender: 1,\r\n idTicketMessage: this.TicketInfo.idTicketMessage,\r\n message: this.f.message.value,\r\n attachments: this.attached\r\n }\r\n\r\n case 8: return {\r\n emailSubject: this.f.emailSubject.value,\r\n idDepartment: this.userLogin.idDepartment,\r\n idUserInCharge: this.userLogin.idUser,\r\n initialComment: this.f.message.value,\r\n status: this.statusList.find(x => x.idStatusList == this.f.status.value)?.description,\r\n tickerOrTaskName: this.f.ticketLink.value\r\n }\r\n\r\n case 9: return {\r\n message: this.f.message.value,\r\n idNote: this.editItemSelected.idNote,\r\n idUserInCharge: this.userLogin.idUser\r\n }\r\n\r\n case 10: return {\r\n date: this.editItemSelected.date,\r\n departmentName: this.departmentList.find(x => x.idDepartment == this.f.department.value)?.Name,\r\n emailSubject: this.f.emailSubject.value,\r\n idDepartment: this.f.department.value,\r\n idNote: this.editItemSelected.idNote,\r\n idUserInCharge: this.userLogin.idUser,\r\n initialComment: null,\r\n position: this.editItemSelected.position,\r\n status: this.statusList.find(x => x.idStatusList == this.f.status.value)?.description,\r\n tickerOrTaskName: this.f.ticketLink.value,\r\n userInCharge: this.editItemSelected.userInCharge\r\n }\r\n\r\n case 12: return {\r\n description: this.f.description.value,\r\n idDepartment: this.f.department.value,\r\n message: this.f.message.value,\r\n name: this.f.inputTextName.value,\r\n userInCharge: this.userLogin.idUser\r\n }\r\n\r\n\r\n //SHORTCUT\r\n case 13: return {\r\n dateCreated: this.editItemSelected.editItemSelected,\r\n departmentName: this.departmentList.find(x => x.idDepartment == this.f.department.value)?.name,\r\n description: this.f.description.value,\r\n idDepartment: this.f.department.value,\r\n message: this.f.message.value,\r\n name: this.f.inputTextName.value,\r\n userInCharge: this.userLogin.idUser,\r\n userName: this.editItemSelected.userName,\r\n idShortcut: this.editItemSelected.idShortcut\r\n }\r\n\r\n default: return null;\r\n\r\n }\r\n }\r\n\r\n OnSendTicketFormType(ticketType: number) {\r\n switch (ticketType) {\r\n case 1:\r\n case 2:\r\n case 3:\r\n case 4: return PostMethods.POST_CREATE_NEW_TICKET; //TICKET\r\n case 5:\r\n case 6: return PostMethods.POST_CREATE_NEW_TICKET_MESSAGE; //TICKET\r\n case 7: return PutMethods.UPDATE_MESSAGE_BY_USER; //TICKET\r\n case 8: return PostMethods.POST_INSERT_NEW_TASK_NOTE; //SERVICE DESK ADD NEW\r\n case 9: return PostMethods.POST_INSERT_NEW_TASK_NOTE_MESSAGE; //SERVICE DESK ADD NEW COMMENT\r\n case 10: return PutMethods.UPDATE_TASK_NOTE_INFO; //SERVICE DESK UPDATE TASK\r\n case 12: return PostMethods.POST_INSERT_NEW_SHORTCUT; //SHORTCUT CENTER ADD NEW SHORTCUT\r\n case 13: return PutMethods.UPDATE_SHORT_CUT_INFO; //SHORTCUT CENTER UPDATE SHORTCUT\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n AdjustTextSeparator(html: string){\r\n // Reemplazar cada '

' con '


'\r\n const modifiedHtml = html.replace(/

\\s*<\\/p>/g, '

');\r\n // Establecer el valor del campo 'message' con el HTML modificado\r\n this.formTicket.get('message')?.setValue(modifiedHtml);\r\n }\r\n\r\n CleanHTML(html: string): string {\r\n const tempEl = document.createElement('div');\r\n tempEl.innerHTML = html;\r\n // Eliminar todos los atributos de estilo de todos los elementos\r\n tempEl.querySelectorAll('*').forEach((el) => {\r\n el.removeAttribute('style');\r\n el.removeAttribute('class');\r\n });\r\n\r\n // Retornar el contenido limpio en forma de cadena\r\n return tempEl.innerHTML;\r\n }\r\n\r\n onPaste() {\r\n this.formTicket.get('message')?.setValue(this.CleanHTML(this.formTicket.get('message')?.value));\r\n }\r\n\r\n setMessage(html: string){\r\n\r\n const div = document.createElement('div');\r\n div.innerHTML = html;\r\n const brs = div.querySelectorAll('br');\r\n brs.forEach(br => br.remove());\r\n return div.innerHTML\r\n }\r\n\r\n}\r\n","\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{ col.header | translate}}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n {{TicketInfo.ticketInfo.ticketNumber | translate}} \r\n \r\n \r\n {{TicketInfo.ticketInfo.idPlayer}}\r\n \r\n \r\n {{TicketInfo.subject | translate}}\r\n \r\n \r\n {{TicketInfo.site | translate}}\r\n \r\n \r\n {{TicketInfo.ticketInfo.dateTransaction | date:'short'}} \r\n \r\n \r\n {{TicketInfo.relevance | translate}}\r\n \r\n\r\n \r\n 0\" [ngClass]=\"getStatusType(TicketInfo.status)\">{{TicketInfo.ticketInfo.department[0].departmentName | translate}}\r\n \r\n\r\n \r\n {{TicketInfo.status | translate}}\r\n \r\n\r\n \r\n {{TicketInfo.ticketInfo.subjectField | translate}}\r\n \r\n\r\n \r\n {{TicketInfo.timer }}\r\n \r\n\r\n \r\n \r\n \r\n {{TicketInfo.ticketInfo.serviceDeskTicket}}\r\n \r\n \r\n\r\n \r\n \r\n \r\n {{TicketInfo.ticketInfo.ticketNumber | translate}} \r\n \r\n \r\n {{TicketInfo.ticketInfo.idPlayer}}\r\n \r\n \r\n {{TicketInfo.ticketInfo.dateTransaction | date:'short'}} \r\n \r\n \r\n {{TicketInfo.subject | translate}}\r\n \r\n \r\n {{TicketInfo.ticketInfo.subjectField | translate}}\r\n \r\n \r\n {{TicketInfo.relevance | translate}}\r\n \r\n \r\n 0\" [ngClass]=\"getStatusType(TicketInfo.status)\">{{TicketInfo.ticketInfo.department[0].departmentName | translate}}\r\n \r\n \r\n {{TicketInfo.status | translate}}\r\n \r\n \r\n {{TicketInfo.timer }}\r\n \r\n \r\n \r\n \r\n {{TicketInfo.ticketInfo.serviceDeskTicket}}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {{'No ticket found' | translate}}\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{option.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 {{selectedItem.name | translate}}\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n {{selectedItem.description | translate}}\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n {{selectedItem.description | translate}}\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'TicketSays' | translate}}
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \"user\r\n
\r\n\r\n
\r\n
\r\n {{TicketInfo.ticketInfo.idPlayer}}\r\n \r\n {{'Date' | translate}}\r\n {{col.dateTransactionMessage| date:'short' }}\r\n \r\n
\r\n
\r\n {{col.sendingUser}}\r\n \r\n {{'Date' | translate}}\r\n {{col.dateTransactionMessage| date:'short' }}\r\n \r\n
\r\n\r\n \r\n\r\n {{'View attached file' | translate}}\r\n \r\n\r\n
\r\n\r\n\r\n \r\n
\r\n\r\n\r\n

{{TicketInfo.additionalInfo.casinoProvider}}\r\n {{TicketInfo.additionalInfo.casinoGameName}} {{TicketInfo.additionalInfo.casinoCategory}}

\r\n\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{'Assigned user' | translate}}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{'Send to Department' | translate}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'Ticket' | translate}}\r\n #{{TicketInfo.ticketInfo.TicketNumber}} {{'will now be assigned' | translate}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Service Desk - Ticket Number\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'New Message' | translate}}\r\n {{'New Internal Message' | translate}}\r\n {{'Edit Message' | translate}}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\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, OnInit, Output, } from '@angular/core';\r\nimport { FormBuilder, FormGroup } from '@angular/forms';\r\nimport { TicketCenter, Filters } from '@methods/constants';\r\nimport { GetMethods, Methods, PostMethods, PutMethods, getStatusType, removeTicketObjectWithId } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { BrandSetup, ConfigByDomain, NotificationsByTicket, ResponseData, TicketMessage } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { CounterService } from '@services/counter.service';\r\ndeclare const bootstrap: any;\r\n\r\n@Component({\r\n selector: 'app-ticket-message-info',\r\n templateUrl: './ticket-message-info.component.html'\r\n})\r\nexport class TicketMessageInfoComponent implements OnInit {\r\n @Input() TicketInfo: any;\r\n @Input() IdSiteType: number; /* 1 = Agent and Players Tickets, 2 = Partners Tickets, 3 = Internal Tickets, 4 DirectTicket */\r\n @Input() subjectList: any;\r\n @Input() statusList: any;\r\n @Input() relevanceList: any;\r\n @Input() departmentList: any;\r\n @Input() payloadData: any;\r\n @Input() shortCutByDepartment: any;\r\n @Input() formType: number;\r\n @Output() onBackBtnEvent = new EventEmitter();\r\n\r\n columsData: any;\r\n loading: boolean = false;\r\n ticketInfoData: any = [];\r\n userLogin: User;\r\n domainInfo: ConfigByDomain;\r\n userList: User[];\r\n userForm: FormGroup;\r\n ticketCenter: Filters[];\r\n countries: any[];\r\n userSelected: any;\r\n selectedUserName: string;\r\n departmentSelected: any;\r\n notificationsByTicket: NotificationsByTicket = new NotificationsByTicket();\r\n brandSetup: BrandSetup = new BrandSetup();\r\n existsBrandSetup: boolean = false;\r\n ccInputText: string = '';\r\n serviceDeskInput: string = '';\r\n reloadSite: boolean = false;\r\n ticketMessagesList: TicketMessage[];\r\n environment: any;\r\n isReplyToClientOrNewMessage: number = 0;\r\n formModal: any;\r\n editItemSelected: any;\r\n isDarkTheme: boolean;\r\n showTicketForm: boolean = false;\r\n validUserChange: boolean = false;\r\n constructor(private _translateService: TranslateService, private _apiService: ApiService, private _formBuilder: FormBuilder, private _notificationService: NotificationService, private _sanitizer:DomSanitizer, private _themeService: ThemeService, private _counterService: CounterService){\r\n this.ticketCenter = TicketCenter;\r\n this.environment = environment;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.ticketInfoData.push(this.TicketInfo); // data user info\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n this.brandSetup = JSON.parse(sessionStorage.getItem('BrandSetup')!);\r\n this.isDarkTheme = this._themeService.getThemeSelected() == 'theme-default-dark' ? true : false;\r\n this.existsBrandSetup = this.brandSetup != null ? true: false;\r\n this.columsData = [\r\n { field: 'ticket', header: 'Ticket' },\r\n { field: 'agent', header: 'Agent/Player' },\r\n { field: 'subject', header: 'Subject' },\r\n { field: 'website', header: 'Website' },\r\n { field: 'date', header: 'Date' },\r\n { field: 'priority', header: 'Priority' },\r\n { field: 'department', header: 'Department' },\r\n { field: 'status', header: 'Status' },\r\n { field: 'field', header: 'Field' },\r\n { field: 'time', header: 'Time' },\r\n { field: 'serviceDesk', header: 'Service Desk' },\r\n ];\r\n\r\n if(this.existsBrandSetup){\r\n this.columsData = [\r\n { field: 'ticket', header: 'Ticket' },\r\n { field: 'agent', header: 'Agent/Player' },\r\n { field: 'date', header: 'Date' },\r\n { field: 'subject', header: 'Subject' },\r\n { field: 'field', header: 'Field' },\r\n { field: 'priority', header: 'Priority' },\r\n { field: 'department', header: 'Department' },\r\n { field: 'status', header: 'Status' },\r\n { field: 'time', header: 'Time' },\r\n { field: 'serviceDesk', header: 'Service Desk' },\r\n ];\r\n }\r\n\r\n this.subjectList.forEach((element:any) => {\r\n element.name = element.label,\r\n element.value = element.idSubject.toString()\r\n });\r\n this.statusList;\r\n\r\n this.userForm = this._formBuilder.group({\r\n userAssigned: this.TranslateText(this.TicketInfo.ticketInfo.assignedUser),\r\n subjectAssigned: this.TicketInfo.subject,\r\n statusAssigned: this.TicketInfo.ticketInfo.idStatus,\r\n ticketRelevance : this.TicketInfo.ticketInfo.relevance,\r\n ticketIdSiteType: this.TicketInfo.ticketInfo.idSiteType.toString()\r\n });\r\n\r\n\r\n this.formModal = new bootstrap.Modal(document.getElementById('replyToClientOrNewMessage'), {\r\n keyboard: false\r\n })\r\n\r\n if(this.userLogin.viewOnly){\r\n this.userForm.get('statusAssigned')?.disable();\r\n }\r\n\r\n this.getAllMessagesByTicket();\r\n\r\n if(this.formType == 4 ){\r\n this.getAllUsersList();\r\n }else{\r\n this.getUser();\r\n }\r\n\r\n }\r\n get f() { return this.userForm.controls; }\r\n\r\n getUser(){\r\n this.userList = [];\r\n if(this.existsBrandSetup && this.domainInfo.idSite == 992){\r\n this.userList = [];\r\n this.userList.push(this.userLogin);\r\n return;\r\n }\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_BY_DEPARTMENT + this.TicketInfo.ticketInfo.idTicket}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.userList = result.data;\r\n if(this.TicketInfo.ticketInfo.assignedUser!=undefined){\r\n this.TicketInfo.ticketInfo.assignedUser = this.userList.find(x => x.name === this.TranslateText(this.TicketInfo.ticketInfo.assignedUser))?.idUser\r\n }else{\r\n this.TicketInfo.ticketInfo.assignedUser = 0;\r\n }\r\n\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n getAllUsersList(){\r\n this.userList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_USERS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.filter((x: { isActive: boolean; }) => x.isActive === true);\r\n result.data.forEach((value: any) => {\r\n value.value = value.IdDepartment;\r\n value.label = value.Description;\r\n });\r\n this.userList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllMessagesByTicket(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_MESSAGE_BY_TICKET + this.TicketInfo.ticketInfo.idTicket}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.ticketMessagesList = result.data;\r\n this.ticketMessagesList.forEach(element =>{\r\n element.message = this.setMessage(element.message);\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onMarkAsUnread(){\r\n const data = {\r\n idTicket: this.TicketInfo.idTicket,\r\n markAsUnread: 1\r\n }\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_NOTIFICATION_BY_TICKET }`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n location.reload();\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onChangeUser(event:any) {\r\n this.validUserChange = true;\r\n this.TicketInfo.ticketInfo.assignedUser = this.userList.find(x => x.name === event.value)?.idUser\r\n }\r\n\r\nonSaveAssignedUser() {\r\nconst URL = `${environment.WebApiUrl + PostMethods.POST_ADD_USER_INTO_TICKET }`;\r\nthis._apiService.apiPostMethod(URL, this.TicketInfo.ticketInfo).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n this.TicketInfo.ticketInfo.assignedUser = this.userList.find(x => x.idUser === this.TicketInfo.ticketInfo.assignedUser)?.name\r\n this.userForm.controls['userAssigned'].setValue(this.TicketInfo.ticketInfo.assignedUser)\r\n // this._notificationService.success('GENERICS.UPDATED_SUCCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n});\r\n}\r\n\r\n onSaveTicketServiceDesk() {\r\n this.TicketInfo.ticketInfo.serviceDeskTicket = this.serviceDeskInput.toString();\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_ADD_SERVICE_DESK_TICKET }`;\r\n this._apiService.apiPostMethod(URL, this.TicketInfo.ticketInfo).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onSaveTicketChanges() {\r\n this.TicketInfo.ticketInfo.idType = 5;\r\n this.TicketInfo.ticketInfo.userInCharge = this.userLogin.idUser;\r\n this.TicketInfo.subject = this.f.subjectAssigned.value;\r\n this.TicketInfo.ticketInfo.idStatus = this.f.statusAssigned.value;\r\n this.TicketInfo.ticketInfo.relevance = this.f.ticketRelevance.value;\r\n if(this.f.ticketIdSiteType.value != this.TicketInfo.ticketInfo.idSiteType){\r\n this.reloadSite = true;\r\n }\r\n this.TicketInfo.ticketInfo.idSiteType = this.f.ticketIdSiteType.value;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_TICKET_INFORMATION }`;\r\n this._apiService.apiPostMethod(URL, this.TicketInfo.ticketInfo).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.TicketInfo.relevance = this.relevanceList.find((x:any) => x.idRelevance === this.f.ticketRelevance.value)?.description\r\n this.TicketInfo.status = this.statusList.find((x:any) => x.idStatusList === this.f.statusAssigned.value)?.description\r\n if(this.validUserChange){\r\n this.onSaveAssignedUser();\r\n this.validUserChange = false;\r\n }\r\n this._notificationService.success('GENERICS.UPDATED_SUCCESS', 'bg-success', 'animate__backInUp', 6000);\r\n if(this.reloadSite){\r\n removeTicketObjectWithId(this.payloadData, this.TicketInfo.ticketInfo.idTicket );\r\n //this.onBackBtnEvent.emit(false);\r\n }\r\n\r\n this._counterService.setNotificationsServiceSub(true);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n changeDepartment(event:any){\r\n this.departmentSelected = event.value;\r\n }\r\n\r\n onChangeDepartmentAssigned(){\r\n const data = {\r\n departmentName : this.TicketInfo.ticketInfo.department[0].departmentName,\r\n idUser : this.userLogin.idUser,\r\n idTicket : this.TicketInfo.idTicket,\r\n ticketNumber : this.TicketInfo.ticketInfo.ticketNumber,\r\n idDepartment: this.departmentList.find((x:any) => x.idDepartment === this.departmentSelected)?.idDepartment,\r\n newDepartmentName: this.departmentList.find((x:any) => x.idDepartment === this.departmentSelected)?.name,\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_DEPARTMENT_ASSIGNED }`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: any) => {\r\n if(result != null){\r\n this.TicketInfo.ticketInfo.department[0].departmentName = data.newDepartmentName;\r\n this.TicketInfo.ticketInfo.assignedUser = 0;\r\n this.onSaveAssignedUser();\r\n this.getUser();\r\n this._notificationService.success('GENERICS.UPDATED_SUCCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onCallFormMethod(event:any){\r\n if(event == 5 || event == 6 || event == 7){\r\n this.getAllMessagesByTicket();\r\n this.closeModal();\r\n }\r\n }\r\n\r\n\r\n openReplyOrNewModal (isNew: number, info:any){\r\n this.isReplyToClientOrNewMessage = isNew;\r\n this.editItemSelected = info;\r\n if(isNew == 7){\r\n this.TicketInfo.idTicketMessage = info.idTicketMessage;\r\n }\r\n\r\n this.showTicketForm = false;\r\n setTimeout(() => {\r\n this.showTicketForm = true;\r\n this.formModal.show()\r\n }, 0);\r\n\r\n }\r\n\r\n closeModal(){\r\n this.isReplyToClientOrNewMessage = 0;\r\n this.formModal.hide();\r\n const reopenButton = document.getElementById('reopenButton');\r\n if (reopenButton) {\r\n reopenButton.style.display = 'none';\r\n }\r\n }\r\n\r\n minimizeModal() {\r\n const modalElement = document.getElementById('replyToClientOrNewMessage');\r\n const reopenButton = document.getElementById('reopenButton');\r\n if (modalElement) {\r\n this.formModal.hide();\r\n }\r\n if (reopenButton) {\r\n reopenButton.style.display = 'block';\r\n }\r\n}\r\n\r\n reopenModal() {\r\n const modalElement = document.getElementById('replyToClientOrNewMessage');\r\n const reopenButton = document.getElementById('reopenButton');\r\n\r\n if (modalElement) {\r\n this.formModal.show();\r\n }\r\n if (reopenButton) {\r\n reopenButton.style.display = 'none';\r\n }\r\n}\r\n\r\n\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme);\r\n }\r\n\r\n transform(v:string):SafeHtml {\r\n return this._sanitizer.bypassSecurityTrustHtml(v);\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n setMessage(html: string){\r\n\r\n const div = document.createElement('div');\r\n div.innerHTML = html;\r\n // Encuentra todos los elementos

\r\n const paragraphs = div.querySelectorAll('p');\r\n paragraphs.forEach(p => {\r\n // Si el contenido del

está vacío (o solo contiene espacios en blanco)\r\n if (p.innerHTML.trim() === '') {\r\n // Reemplaza el contenido vacío con
\r\n p.innerHTML = '
';\r\n }\r\n });\r\n\r\n return div.innerHTML\r\n }\r\n}\r\n","\r\n

\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n Ticket\r\n {{payloadData.ticketInfo.ticketNumber}} \r\n \r\n \r\n Account\r\n {{payloadData.ticketInfo.idPlayer | translate}}\r\n \r\n \r\n Subject\r\n {{payloadData.subject | translate}}\r\n \r\n \r\n Website\r\n {{payloadData.site | translate}}\r\n \r\n\r\n \r\n Date\r\n {{payloadData.ticketInfo.dateTransaction | date:'short' }}\r\n \r\n\r\n \r\n Priority\r\n {{payloadData.relevance | translate}}\r\n \r\n\r\n \r\n Assigned To\r\n {{payloadData.ticketInfo.department[0].departmentName}} \r\n \r\n\r\n \r\n Status\r\n {{payloadData.status | translate}}\r\n \r\n\r\n \r\n Assigned\r\n {{payloadData.timer}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{ 'GENERICS.NO_TICKET_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\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, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { GetMethods, Methods, PutMethods, getStatusType, responseError } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ConfigByDomain, OpenTicketDTO, ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { LoadingService } from '@services/loading.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { environment } from 'src/environments/environment';\r\n\r\ninterface Column {\r\n field: string;\r\n header: string;\r\n customExportHeader?: string;\r\n}\r\n@Component({\r\n selector: 'app-ticker',\r\n templateUrl: './ticker.component.html'\r\n})\r\nexport class TickerComponent implements OnInit, OnDestroy {\r\n payloadData!: any;\r\n ticketSelected: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n cols!: Column[];\r\n domainInfo: ConfigByDomain;\r\n showHardReloadBtn: boolean = false;\r\n showMessageInfo: boolean = false;\r\n subjectList: any = [];\r\n departmentList: any = [];\r\n relevanceList: any = [];\r\n statusList: any = [];\r\n idSiteType: number = 0;\r\n isDarkTheme: boolean;\r\n\r\n @ViewChild('dt') table: Table;\r\n\r\n _interval: any;\r\n _isActiveInterval: boolean = false;\r\n\r\n constructor(private _apiService: ApiService, private primengConfig: PrimeNGConfig, private _notificationService: NotificationService, private _loadingService: LoadingService) { }\r\n\r\n async ngOnInit() {\r\n this.executeIntervalHardRefresh();\r\n this.cols = [\r\n { field: 'ticket', header: 'Ticket', customExportHeader: 'Product Code' },\r\n { field: 'account', header: 'Account' },\r\n { field: 'subject', header: 'Subject' },\r\n { field: 'website', header: 'Website' },\r\n { field: 'date', header: 'Date' },\r\n { field: 'priority', header: 'Priority' },\r\n { field: 'assigned', header: 'Assigned To' },\r\n { field: 'status', header: 'Status' },\r\n { field: 'timer', header: 'Timer' },\r\n ];\r\n\r\n this.primengConfig.ripple = true;\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.ticketSelected = JSON.parse(sessionStorage.getItem('TicketSelected')!);\r\n this.idSiteType = JSON.parse(sessionStorage.getItem('IdSiteType')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n\r\n if(this.userLogin){\r\n await this.getUserPreference();\r\n this.getGlobalInfo(0);\r\n if(this.ticketSelected != null && this.ticketSelected != 'null'){\r\n this.detenerIntervalHardRefresh();\r\n this.getGlobalInfo(1);\r\n this.getGlobalInfo(2);\r\n this.getGlobalInfo(3);\r\n this.getGlobalInfo(4);\r\n this.showMessageInfo = true;\r\n }else{\r\n this.showMessageInfo = false;\r\n }\r\n this.UpdateOpenTicketStatus(this.showMessageInfo);\r\n }else{\r\n this.loading = false;\r\n }\r\n\r\n sessionStorage.removeItem('TicketSelected');\r\n sessionStorage.removeItem('IdSiteType');\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.detenerIntervalHardRefresh();\r\n }\r\n\r\n\r\n executeIntervalHardRefresh(){\r\n this._loadingService.startInterval(() => {\r\n window.location.reload();\r\n });\r\n this._isActiveInterval = true;\r\n }\r\n\r\n detenerIntervalHardRefresh(){\r\n this._loadingService.stopInterval();\r\n this._isActiveInterval = false;\r\n }\r\n\r\n getGlobalInfo(key:number) {\r\n const data = this.onPayloadData(key);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(key)}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if(key == 0) {\r\n this.payloadData = result.data;\r\n }\r\n if(key == 1){\r\n result.data.forEach(element => {\r\n element.label = element.name;\r\n element.name = element.name;\r\n });\r\n this.subjectList = result.data;\r\n }\r\n if(key == 2) {\r\n this.departmentList = result.data;\r\n }\r\n if(key == 3){\r\n this.relevanceList = result.data;\r\n }\r\n if(key == 4){\r\n this.statusList = result.data;\r\n }\r\n\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n const messageTypeErrorText = responseError(err.status);\r\n this._notificationService.error(messageTypeErrorText, 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n getUserPreference() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_PREFERENCE + this.userLogin.idUser + '&IdSite=' + this.domainInfo.idSite}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.theme != null) {\r\n this.isDarkTheme = result.data.theme == 'theme-default-dark' ? true : false;\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n}\r\n\r\n onStepChange(returnToTicket: boolean){\r\n if(!this._isActiveInterval)\r\n this.executeIntervalHardRefresh();\r\n sessionStorage.setItem(\"TicketSelected\", 'null');\r\n sessionStorage.setItem(\"IdSiteType\", 'null');\r\n this.showMessageInfo = returnToTicket;\r\n this.getGlobalInfo(0);\r\n this.UpdateOpenTicketStatus(this.showMessageInfo);\r\n }\r\n\r\n UpdateOpenTicketStatus(showMessageInfo: boolean) {\r\n let obj: OpenTicketDTO = new OpenTicketDTO();\r\n obj.IdTicket = this.showMessageInfo ? this.ticketSelected.IdTicket : 0;\r\n obj.openStatus = showMessageInfo;\r\n obj.User = this.userLogin.idUser;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_TICKET_STATUS}`;\r\n this._apiService.apiPostMethod(URL, obj).subscribe({\r\n next: (result: ResponseData) => {},\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme);\r\n }\r\n\r\n returnUrlParameter(key: number){\r\n switch (key) {\r\n case 0: return GetMethods.GET_ALL_TICKET_INFO + '?idUser=' + this.userLogin.idUser + '&transactionType=' + 2 + '&IdSiteType=' + -1;\r\n case 1: return GetMethods.GET_ALL_SUBJECTS;\r\n case 2: return GetMethods.GET_DEPARTMENT_LIST;\r\n case 3: return GetMethods.GET_RELEVANCE_LIST;\r\n case 4: return GetMethods.GET_STATUS_LIST;\r\n default: return null;\r\n }\r\n }\r\n\r\n onPayloadData(key:number){\r\n switch (key) {\r\n case 0: return {\r\n idUser: this.userLogin.idUser,\r\n transactionType: 2,\r\n idSiteType: -1,\r\n }\r\n case 1:\r\n case 2:\r\n case 3:\r\n case 4: return {}\r\n default: return null;\r\n }\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n\r\n}\r\n\r\n","import { Component, Input } from '@angular/core';\r\nimport { Column, logoBase64 } from '@methods/constants';\r\nimport { Workbook } from 'exceljs';\r\nimport { User } from '@models/auth-model';\r\nimport * as fs from 'file-saver';\r\nimport { transformDate } from '@methods/methods';\r\nimport { Subscription } from 'rxjs';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-export-as',\r\n templateUrl: './export-as.component.html'\r\n})\r\nexport class ExportAsComponent {\r\n @Input() payloadData: any;\r\n @Input() exportColumns: any;\r\n @Input() pdfPayloadData: any;\r\n @Input() title: string;\r\n @Input() exportType: number;\r\n\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n userLogin: User;\r\n excelExtension: string = '.xlsx';\r\n pdfExtension:string = '.pdf';\r\n downloadExcel: string = '';\r\n downloadPdf: string = '';\r\n color: string = '';\r\n\r\n constructor(private _mediaService: MediaService, private _translateService: TranslateService){}\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n exportPdf() {\r\n import('jspdf').then((jsPDF) => {\r\n import('jspdf-autotable').then(() => {\r\n const doc = new jsPDF.default('l', 'px', 'a4'); // Modo horizontal\r\n const titleHeader: any[] = this.exportColumns.map(element => this.TranslateText(element.title));\r\n const dataToExport = this.pdfPayloadData.map(item => [\r\n item.ticketInfo?.ticketNumber || '', // Número de ticket\r\n item.ticketInfo?.idPlayer || '', // ID del jugador\r\n item.site || '', // Sitio\r\n item.departmentName || '', // Nombre del departamento\r\n item.ticketInfo.subjectField || '', // Asunto\r\n item.relevance || '', // Relevancia\r\n item.ticketInfo.assignedUser || '', // Asignado\r\n item.status || '', // Estado\r\n transformDate(item.date) || '' // Fecha\r\n ]);\r\n\r\n // Configuración de la imagen y posición en la parte superior izquierda\r\n const logoWidth = 80;\r\n const logoHeight = 30;\r\n doc.addImage(logoBase64, 'PNG', 20, 10, logoWidth, logoHeight);\r\n\r\n // Configuración de la tabla\r\n (doc as any).autoTable({\r\n head: [titleHeader],\r\n body: dataToExport,\r\n startY: logoHeight + 20, // Comienza la tabla debajo de la imagen\r\n margin: { top: 20, left: 20, right: 20 }, // Márgenes ajustados\r\n tableWidth: 'auto',\r\n styles: {\r\n fontSize: 8, // Tamaño de fuente reducido para ajustar más contenido\r\n overflow: 'linebreak',\r\n cellPadding: 4, // Padding en celdas para mejorar la legibilidad\r\n cellWidth: 'wrap',\r\n },\r\n columnStyles: {\r\n 0: { cellWidth: 60 }, // Ajustar ancho para cada columna si es necesario\r\n '*': { cellWidth: 'auto' },\r\n },\r\n headStyles: { fillColor: [22, 160, 133], textColor: [255, 255, 255] }, // Color de cabecera\r\n });\r\n\r\n // Guardar el documento\r\n doc.save(this.downloadPdf);\r\n });\r\n });\r\n}\r\n\r\n\r\n async generateExcel() {\r\n var titleHeader: any = [];\r\n titleHeader = this.exportColumns.map(element => element.title);\r\n // Create workbook and worksheet\r\n const workbook = new Workbook();\r\n const worksheet = workbook.addWorksheet('Tickets Data');\r\n\r\n // Add Row and formatting\r\n const titleRow = worksheet.addRow([this.TranslateText(this.title)]);\r\n titleRow.font = { name: 'Calibri', family: 4, size: 16, bold: true, color: { argb: 'FFFFFF' } };\r\n worksheet.addRow([]);\r\n\r\n titleRow.eachCell((cell, number) => {\r\n cell.fill = {\r\n type: 'pattern',\r\n pattern: 'solid',\r\n fgColor: { argb: '006666' },\r\n bgColor: { argb: 'FFFFFF' }\r\n };\r\n cell.border = { top: { style: 'thin' }, left: { style: 'thin' }, bottom: { style: 'thin' }, right: { style: 'thin' } };\r\n });\r\n\r\n // Add Image\r\n const logo = workbook.addImage({\r\n base64: logoBase64,\r\n extension: 'png',\r\n });\r\n\r\n worksheet.addImage(logo, 'H1:I2');\r\n worksheet.mergeCells('A1:I2');\r\n\r\n // Add Header Row\r\n const headerRow = worksheet.addRow(titleHeader);\r\n\r\n // Cell Style : Fill and Border\r\n headerRow.eachCell((cell, number) => {\r\n cell.fill = {\r\n type: 'pattern',\r\n pattern: 'solid',\r\n fgColor: { argb: 'E0E0E0' },\r\n bgColor: { argb: 'FFFFFF' }\r\n };\r\n cell.border = { top: { style: 'thin' }, left: { style: 'thin' }, bottom: { style: 'thin' }, right: { style: 'thin' } };\r\n });\r\n\r\n // Add Data and Conditional Formatting\r\n this.payloadData.forEach((d:any) => {\r\n const row = worksheet.addRow(this.onReturnRowData(this.exportType, d));\r\n const status = row.getCell(8);\r\n\r\n if (status.value == \"Open\") {\r\n this.color = 'FF9999';\r\n }\r\n\r\n if (status.value == \"In-Progress\") {\r\n this.color = '0080FF';\r\n }\r\n\r\n if (status.value == \"Resolved\") {\r\n this.color = '00CC66';\r\n }\r\n\r\n status.font = { bold: true, color: { argb: this.color } };\r\n\r\n });\r\n let counter = 1;\r\n\r\n while (counter < this.exportType) {\r\n worksheet.getColumn(counter).width = (counter == 1) ? 10 : 20\r\n counter++;\r\n }\r\n worksheet.addRow([]);\r\n\r\n\r\n // Footer Row\r\n const footerRow = worksheet.addRow([ this.TranslateText('HEADER_REPORT.EXCEL_GENERATED') + ' ' +this.userLogin.name+ '.']);\r\n footerRow.getCell(1).fill = {\r\n type: 'pattern',\r\n pattern: 'solid',\r\n fgColor: { argb: 'FFCCFFE5' }\r\n };\r\n footerRow.getCell(1).border = { top: { style: 'thin' }, left: { style: 'thin' }, bottom: { style: 'thin' }, right: { style: 'thin' } };\r\n\r\n // Merge Cells\r\n worksheet.mergeCells(`A${footerRow.number}:I${footerRow.number}`);\r\n\r\n // Generate Excel File with given name\r\n workbook.xlsx.writeBuffer().then((data: any) => {\r\n const blob = new Blob([data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });\r\n const titleReport = this.TranslateText(this.title);\r\n this.downloadExcel = titleReport + '-' + transformDate(new Date()) + this.excelExtension;\r\n this.downloadPdf = titleReport + '-' + transformDate(new Date()) + this.pdfExtension;\r\n fs.saveAs(blob, this.downloadExcel);\r\n });\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n onReturnRowData(key: number, d: any){\r\n switch (key) {\r\n case 10: return [\r\n d?.ticketInfo?.ticketNumber,\r\n d?.ticketInfo?.idPlayer,\r\n d?.site,\r\n d?.ticketInfo.department[0]?.departmentName,\r\n d?.subject,\r\n d?.relevance,\r\n d?.ticketInfo.assignedUser,\r\n d?.status,\r\n transformDate(d?.ticketInfo?.dateTransaction)\r\n ]\r\n case 6: return [\r\n transformDate(d?.transactionDate),\r\n d?.account,\r\n d?.issue,\r\n d?.sourceInfo?.name,\r\n this.userLogin.name\r\n ]\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n padTo2Digits(num:any) {\r\n return num.toString().padStart(2, '0');\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \"Card\"\r\n
\r\n \r\n
\r\n
\r\n
\r\n \"Card\"\r\n
\r\n \r\n
\r\n
",">\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n {{selectedItem.label | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ option.description | translate }}\r\n \r\n \r\n {{selectedItem.description | translate}}\r\n \r\n \r\n
\r\n
\r\n
\r\n {{'Filter' | translate}}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n 0\" class=\"badge bg-danger rounded-pill custom-badge\">{{payloadData.countNotification}}\r\n \r\n \r\n {{payloadData.ticketInfo.ticketNumber}} \r\n \r\n \r\n Account\r\n {{payloadData.ticketInfo.idPlayer}}\r\n \r\n \r\n Website\r\n {{payloadData.site | translate}}\r\n \r\n \r\n Department\r\n 0\" [ngClass]=\"getStatusType(payloadData.status)\"> {{payloadData.ticketInfo.department[0].departmentName | translate}} \r\n \r\n \r\n Subject\r\n {{payloadData.subject | translate}}\r\n \r\n \r\n Field\r\n {{payloadData.ticketInfo.subjectField | translate}}\r\n \r\n\r\n \r\n Priority\r\n {{payloadData.relevance | translate}}\r\n \r\n \r\n Status\r\n {{payloadData.status | translate}}\r\n \r\n \r\n Assigned\r\n {{payloadData.ticketInfo.assignedUser | translate}}\r\n \r\n\r\n \r\n Date\r\n {{payloadData.ticketInfo.dateTransaction | date: 'MM/dd/yyyy' }}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ 'GENERICS.NO_TICKET_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{ 'Download As' | translate }}
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { Filters, MatchModeOptions } from '@methods/constants';\r\nimport { GetMethods, PostMethods, PutMethods, getStatusType, transformMediumDate } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ConfigByDomain, ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\n\r\ndeclare const bootstrap: any;\r\n\r\n@Component({\r\n selector: 'app-table-generic',\r\n templateUrl: './table-generic.component.html'\r\n})\r\nexport class TableGenericComponent implements OnInit {\r\n @Input() ticketCenterType: number; /* 1 = Agent and Players Tickets, 2 = Partners Tickets, 3 = Internal Tickets, 4 = Direct Tickets*/\r\n @Input() payloadData: any;\r\n @Input() columsData: any;\r\n @Input() loading: any;\r\n @Input() allSiteTags: any;\r\n @Input() departmentList: any;\r\n @Input() subjectList: any;\r\n @Input() relevanceList: any;\r\n @Input() statusList: any;\r\n @Input() tabSelected: any;\r\n @Input() showHardReloadBtn: any;\r\n @Input() rowsSave: number = 20;\r\n @Input() existsBrandSetup: boolean = false;\r\n\r\n @Output() refreshData = new EventEmitter();\r\n @Output() onTicketSelected = new EventEmitter();\r\n\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n filteredData: any[] = [];\r\n exportColumns!: any[];\r\n @ViewChild('dt') dt: Table;\r\n date1: Date;\r\n date2: Date;\r\n matchModeOptions: Filters[];\r\n userLogin: User;\r\n isViewClosedTickets: boolean = false;\r\n showHardReload: boolean = false;\r\n isDarkTheme: boolean;\r\n\r\n domainInfo: ConfigByDomain;\r\n\r\n constructor( private _translateService: TranslateService, private _apiService: ApiService, private config: PrimeNGConfig, private _mediaService: MediaService, private _notificationService: NotificationService, private _themeService: ThemeService){\r\n this.date2 = new Date();\r\n this.matchModeOptions = MatchModeOptions;\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.isDarkTheme = this._themeService.getThemeSelected() == 'theme-default-dark' ? true : false;\r\n\r\n\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n setTimeout(() => {\r\n this.matchModeOptions.forEach(e => {\r\n this.TranslateText(e.label);\r\n })\r\n }, 20000);\r\n this.setRowsPerPage();\r\n //this.matchModeOptions.map(x => this._translateService.instant(x.label))\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n\r\n }\r\n\r\nsetRowsPerPage(){\r\n const selectedRowsPerPage = localStorage.getItem(\"selectedRowsPerPage\");\r\n if (selectedRowsPerPage) {\r\n this.rowsSave = parseInt(selectedRowsPerPage);\r\n }\r\n}\r\n\r\n onRowsPerPageChange(event: any) {\r\n const selectedRowsPerPage = event.rows;\r\n localStorage.setItem(\"selectedRowsPerPage\", selectedRowsPerPage);\r\n }\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme);\r\n }\r\n\r\n DateFilter(){\r\n this.payloadData = [];\r\n const data = {\r\n startDate: transformMediumDate(this.date1),\r\n endDate: transformMediumDate(this.date2),\r\n idSiteType: this.ticketCenterType,\r\n idUser: this.userLogin.idUser,\r\n transactionType: this.isViewClosedTickets? 1 : 0\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_TICKET_INFO + '?idUser=' + data.idUser + '&transactionType=' + data.transactionType + '&startDate=' + data.startDate +'&endDate=' + data.endDate + '&IdSiteType=' + data.idSiteType }`;\r\n if(this.date1 != null){\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.payloadData = result.data;\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n }\r\n\r\n getViewClosedTickets(){\r\n // const URL = `${environment.WebApiUrl + Methods.GET_ALL_TICKET_INFO}`;\r\n this.isViewClosedTickets = !this.isViewClosedTickets;\r\n if(this.date1==null){\r\n this.date1 = new Date();\r\n this.date1.setDate(this.date1.getDate() - 4);\r\n }\r\n const data = {\r\n startDate: transformMediumDate(this.date1),\r\n endDate: transformMediumDate(this.date2),\r\n idUser: this.userLogin.idUser,\r\n transactionType: this.isViewClosedTickets? 1 : 0,\r\n idSiteType: this.ticketCenterType,\r\n }\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_TICKET_INFO + '?idUser=' + data.idUser + '&transactionType=' + data.transactionType + '&startDate=' + data.startDate +'&endDate=' + data.endDate + '&IdSiteType=' + data.idSiteType }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.payloadData = result.data;\r\n }else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refresh(){\r\n this.refreshData.emit(this.tabSelected);\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n\r\n GoFullMessage(col:any){\r\n this.onTicketSelected.emit(col);\r\n }\r\n\r\n ReleaseTicket(idTicket:number) {\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_RELEASE_TICKET}`;\r\n const data = {\r\n idTicket\r\n }\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n downloadModal(){\r\n var myModal = new bootstrap.Modal(document.getElementById('downloadAsTable'), {\r\n keyboard: false\r\n })\r\n\r\n this.exportColumns = this.columsData.slice(0, -1).map((col:any) => ({\r\n title: this.TranslateText(col.title),\r\n dataKey: col.field\r\n }));\r\n this.exportColumns.push({\r\n title: this.TranslateText('HEADER_REPORT.STATUS'),\r\n dataKey: 'status'\r\n })\r\n this.exportColumns.push({\r\n title: this.TranslateText('HEADER_REPORT.DATE'),\r\n dataKey: 'date'\r\n })\r\n this.filteredData = this.dt.filteredValue ? this.dt.filteredValue : this.payloadData;\r\n if(this.filteredData.length != 0)\r\n myModal.show()\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{ 'Download As' | translate }}
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild, OnDestroy } from '@angular/core';\r\nimport { GetMethods, Methods, PutMethods, getStatusType, transformMediumDate } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ApiService } from '@services/api.service';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Filters, RelevanceFilter, StatusFilter } from '@methods/constants';\r\nimport { Subscription } from 'rxjs';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BrandSetup, BrandSite, ConfigByDomain, OpenTicketDTO, ResponseData } from '@models/models';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { LoadingService } from '@services/loading.service';\r\n\r\n@Component({\r\n selector: 'app-ticket-general',\r\n templateUrl: './ticket-general.component.html'\r\n})\r\nexport class TicketGeneralComponent implements OnInit, OnDestroy {\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n exportColumns!: any[];\r\n columsData!: any;\r\n statusFilter: Filters[];\r\n relevanceFilter: Filters[];\r\n payloadData!: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n domainInfo: ConfigByDomain;\r\n allSiteTags: Filters[];\r\n subjectList: any;\r\n departmentList: any;\r\n statusList: any;\r\n relevanceList: Filters[];\r\n shortCutByDepartment: Filters[];\r\n allUserList: Filters[];\r\n visible: boolean = false;\r\n tabSelected: number = 0;\r\n infoData: any = [];\r\n userActive: string = \"\";\r\n messageResult: string = \"\";\r\n openTicketStatus: boolean = false;\r\n step: number = 1;\r\n ticketSelected: any;\r\n showMessageInfo: boolean = false;\r\n isDarkTheme: boolean;\r\n @Input() formValidation: any;\r\n @Input() ticketCenterType: number;\r\n @Input() formType: number;\r\n @Input() title: any;\r\n @Input() firstTab: any;\r\n @Input() secondTab: any;\r\n @Input() thirdTab: any;\r\n\r\n\r\n showHardReloadBtn:boolean = false;\r\n\r\n\r\n @ViewChild('dt') table: Table;\r\n\r\n _BrandSetup: BrandSetup = new BrandSetup();\r\n _ExistsBrandSetup: boolean = false;\r\n _listBrandSites: BrandSite[] = [];\r\n _refreshData: boolean = true;\r\n _interval: any;\r\n _isActiveInterval: boolean = false;\r\n\r\n constructor(private _apiService: ApiService,private _loadingService: LoadingService, private primengConfig: PrimeNGConfig, private _mediaService: MediaService, private _translateService: TranslateService, private _themeService: ThemeService, private _notificationService: NotificationService) {\r\n\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.statusFilter = StatusFilter;\r\n this._refreshData = true;\r\n this.relevanceFilter = RelevanceFilter;\r\n\r\n this.columsData = [\r\n { field: 'ticket', header: 'Ticket', title: 'HEADER_REPORT.TICKET', customExportHeader: 'Product Code' },\r\n { field: 'account', header: 'Account', title: 'HEADER_REPORT.ACCOUNT' },\r\n { field: 'site', header: 'Website', title: 'HEADER_REPORT.WEBSITE' },\r\n { field: 'department', header: 'Department', title: 'HEADER_REPORT.DEPARTMENT' },\r\n { field: 'field', header: 'Field', title: 'HEADER_REPORT.FIELD' },\r\n { field: 'priority', header: 'Priority', title: 'HEADER_REPORT.PRIORITY' },\r\n // { field: 'status', header: 'Status', title: 'HEADER_REPORT.STATUS' },\r\n { field: 'assigned', header: 'Assigned', title: 'HEADER_REPORT.ASSIGNED' },\r\n { field: 'date', header: 'Date', title: 'HEADER_REPORT.DATE' }\r\n ];\r\n\r\n this.exportColumns = this.columsData.slice(0, -1).map((col:any) => ({\r\n title: this.TranslateText(col.title),\r\n dataKey: col.field\r\n }));\r\n\r\n this.exportColumns.push({\r\n title: this.TranslateText('HEADER_REPORT.STATUS'),\r\n dataKey: 'status'\r\n })\r\n\r\n this.primengConfig.ripple = true;\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n this._BrandSetup = JSON.parse(sessionStorage.getItem('BrandSetup')!);\r\n this.isDarkTheme = this._themeService.getThemeSelected() == 'theme-default-dark' ? true : false;\r\n\r\n\r\n\r\n if(this._BrandSetup != null){\r\n if(this.domainInfo.idSite == 992){\r\n this.columsData = [\r\n { field: 'ticket', header: 'Ticket', title: 'HEADER_REPORT.TICKET', customExportHeader: 'Product Code' },\r\n { field: 'account', header: 'Account', title: 'HEADER_REPORT.ACCOUNT' },\r\n { field: 'department', header: 'Department', title: 'HEADER_REPORT.DEPARTMENT' },\r\n { field: 'subject', header: 'Subject', title: 'HEADER_REPORT.SUBJECT' },\r\n { field: 'field', header: 'Field', title: 'HEADER_REPORT.FIELD' },\r\n { field: 'priority', header: 'Priority', title: 'HEADER_REPORT.PRIORITY' },\r\n { field: 'status', header: 'Status', title: 'HEADER_REPORT.STATUS' },\r\n { field: 'assigned', header: 'Assigned', title: 'HEADER_REPORT.ASSIGNED' },\r\n { field: 'date', header: 'Date', title: 'HEADER_REPORT.DATE' }\r\n ];\r\n }\r\n this.GetBrandSites(this._BrandSetup.idBrandSetup);\r\n }else{\r\n this.getAllWebsiteList();\r\n }\r\n\r\n if(this.userLogin){\r\n this.getAllSujectList();\r\n this.getAllDepartmentList();\r\n this.getStatusList();\r\n this.getRelevanceList();\r\n this.getHelpTicketList(0);\r\n this.getShortCutsByDepartment();\r\n if(this.formType == 4 ){\r\n // this.getAllUsersList();\r\n }\r\n }\r\n\r\n sessionStorage.removeItem('TicketSelected');\r\n sessionStorage.removeItem('IdSiteType');\r\n\r\n if(this._refreshData){\r\n this.executeIntervalHardRefresh();\r\n }else{\r\n this.detenerIntervalHardRefresh();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.detenerIntervalHardRefresh();\r\n }\r\n\r\n executeIntervalHardRefresh(){\r\n this._loadingService.startInterval(() => {\r\n window.location.reload();\r\n });\r\n this._isActiveInterval = true;\r\n }\r\n\r\n detenerIntervalHardRefresh(){\r\n this._loadingService.stopInterval();\r\n this._isActiveInterval = false;\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n refreshData($event:any){\r\n this.getHelpTicketList($event);\r\n }\r\n\r\n onStepChange(showMessage: boolean){\r\n this.showMessageInfo = showMessage;\r\n this.getHelpTicketList(this.tabSelected);\r\n this._refreshData = false;\r\n this.detenerIntervalHardRefresh();\r\n if(!showMessage){\r\n this._refreshData = true;\r\n this.executeIntervalHardRefresh();\r\n this.UpdateOpenTicketStatus(this.showMessageInfo);\r\n }\r\n }\r\n\r\n onBackBtnEvent(event:any){\r\n //this.onStepChange(event);\r\n this.getHelpTicketList(this.tabSelected);\r\n }\r\n\r\n getHelpTicketList(tabSelected:any) {\r\n if(!this._isActiveInterval && tabSelected == 0 || !this._isActiveInterval && tabSelected == 1){\r\n if(!this._isActiveInterval){\r\n this.executeIntervalHardRefresh();\r\n }\r\n }\r\n if(tabSelected == 2 || tabSelected == 1 && this.thirdTab =='USER.DIRECT_TICKET_CENTER.THIRD_TAB'){//help, partner, internal\r\n if(this._isActiveInterval){\r\n //detener el interval cuando se esta creando un ticket\r\n this.detenerIntervalHardRefresh();\r\n }\r\n }\r\n this.tabSelected = tabSelected;\r\n this.payloadData = [];\r\n const data = {\r\n idUser: this.userLogin.idUser,\r\n transactionType: 0,\r\n idSiteType: this.ticketCenterType,\r\n }\r\n\r\n if(tabSelected<= 1){\r\n const URL = `${environment.WebApiUrl + this.OntabSelected(tabSelected) }`;\r\n this.infoData = [];\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.payloadData = result.data;\r\n\r\n this.payloadData.forEach((d:any) => {\r\n d.date = new Date(d.ticketInfo.dateTransaction);\r\n if(d.ticketInfo.department.length > 0){\r\n d.departmentName = d.ticketInfo.department[0].departmentName;\r\n }else{\r\n d.departmentName = 0\r\n }\r\n\r\n if(this._BrandSetup != null && this.domainInfo.idSite == 992){\r\n const info = [\r\n d.ticketInfo.ticketNumber,\r\n d.ticketInfo.idPlayer,\r\n d.departmentName,\r\n d.subject,\r\n d.ticketInfo.subjectField,\r\n d.relevance,\r\n d.status,\r\n d.ticketInfo.assignedUser,\r\n transformMediumDate(d.ticketInfo.dateTransaction)\r\n ];\r\n this.infoData.push(info);\r\n }\r\n else{\r\n const info = [\r\n d.ticketInfo.ticketNumber,\r\n d.ticketInfo.idPlayer,\r\n d.site,\r\n d.departmentName,\r\n d.subject,\r\n d.relevance,\r\n d.ticketInfo.assignedUser,\r\n d.status,\r\n\r\n transformMediumDate(d.ticketInfo.dateTransaction)\r\n ];\r\n this.infoData.push(info);\r\n }\r\n });\r\n }else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n }\r\n\r\n getWebsitesBrandSetup(){\r\n this._listBrandSites.forEach(e => {\r\n e.value = e.description;\r\n e.label = e.description;\r\n });\r\n this.allSiteTags = this._listBrandSites;\r\n }\r\n\r\n getAllWebsiteList() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.allSiteTags = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllSujectList(){\r\n this.subjectList = [];\r\n var URL: string = '';\r\n if (this.domainInfo != null && this.domainInfo.idSite != 0){\r\n URL = `${environment.WebApiUrl}${GetMethods.GET_SUBJECTS_BY_CTS_ADMIN_PROFILE}?IdSite=${this.domainInfo.idSite}`;\r\n }else {\r\n URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SUBJECTS}`;\r\n }\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n const data: any = []\r\n result.data.forEach((value: any) => {\r\n if (\r\n (this.formType === 1 && value.isHelp) ||\r\n (this.formType === 2 && value.isPartner) ||\r\n (this.formType === 3 && value.isInternal) ||\r\n (this.formType === 4 && value.isDirect)\r\n ) {\r\n if(this.domainInfo.idSite === 0){\r\n value.value = value.subjectName;\r\n value.label = value.subjectName;\r\n }\r\n else{\r\n value.value = value.name;\r\n value.label = value.name;\r\n }\r\n\r\n data.push(value);\r\n }\r\n });\r\n this.subjectList = data.sort((a, b) => a.idSubject - b.idSubject);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList(){\r\n\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.departmentList = result.data.filter((x:any) => x.isActive == true);\r\n if(this._BrandSetup != null){\r\n const sendToDepartmentIds = [this._BrandSetup.idDepartment, 1, 16]\r\n this.departmentList = this.departmentList.filter(x => sendToDepartmentIds.includes(x.idDepartment));\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getStatusList(){\r\n this.statusList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_STATUS_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.statusList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getRelevanceList(){\r\n this.relevanceList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_RELEVANCE_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.relevanceList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getShortCutsByDepartment(){\r\n this.shortCutByDepartment = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SHORTCUTS_BY_DEPARTMENT + this.userLogin.idDepartment}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.idDepartment;\r\n value.label = value.description;\r\n });\r\n this.shortCutByDepartment = result.data;\r\n this.shortCutByDepartment = result.data.sort((a, b) => {\r\n const nameA = a.name.toLowerCase();\r\n const nameB = b.name.toLowerCase();\r\n\r\n return nameA.localeCompare(nameB);\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllUsersList(loadingWait){\r\n this.allUserList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_USERS}`;\r\n if(!loadingWait){\r\n this._loadingService.toggleLoading()\r\n }\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.filter((x: { isActive: boolean; }) => x.isActive === true);\r\n result.data.forEach((value: any) => {\r\n value.value = value.IdDepartment;\r\n value.label = value.Description;\r\n });\r\n this.allUserList = result.data;\r\n if(!loadingWait){\r\n this._loadingService.toggleLoading()\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n\r\n OntabSelected(tabSelected: number){\r\n switch (tabSelected) {\r\n case 0: return GetMethods.GET_ALL_TICKET_INFO + '?idUser=' + this.userLogin.idUser + '&transactionType=' + 0 + '&IdSiteType=' + this.ticketCenterType;\r\n case 1:\r\n if(this.thirdTab =='USER.DIRECT_TICKET_CENTER.THIRD_TAB'){\r\n this.getAllUsersList(false)\r\n return GetMethods.GET_MY_TICKETS + '?idUser=' + this.userLogin.idUser + '&transactionType=' + 0 + '&IdSiteType=' + this.ticketCenterType;\r\n }else{\r\n return GetMethods.GET_MY_TICKETS + '?idUser=' + this.userLogin.idUser + '&transactionType=' + 0 + '&IdSiteType=' + this.ticketCenterType;\r\n }\r\n\r\n\r\n default: return;\r\n }\r\n }\r\n\r\n showDialog() {\r\n this.visible = (this.payloadData.length == 0)? false: true;\r\n }\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme)\r\n }\r\n\r\n onTicketSelected(event:any){\r\n this.GetOpenTicketStatus(event);\r\n }\r\n\r\n TicketSelectedStatus(event: any){\r\n if(!this.openTicketStatus){\r\n this.onStepChange(true);\r\n this.ticketSelected = event;\r\n this.UpdateOpenTicketStatus(this.showMessageInfo);\r\n }\r\n }\r\n\r\n UpdateOpenTicketStatus(showMessageInfo: boolean) {\r\n let obj: OpenTicketDTO = new OpenTicketDTO();\r\n obj.IdTicket = this.showMessageInfo ? this.ticketSelected.idTicket : 0;\r\n obj.openStatus = showMessageInfo;\r\n obj.User = this.userLogin.idUser;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_TICKET_STATUS}`;\r\n this._apiService.apiPostMethod(URL, obj).subscribe({\r\n next: (result: ResponseData) => {},\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n GetOpenTicketStatus(ticket:any) {\r\n let IdTicket = ticket.idTicket;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_OPEN_TICKET_STATUS + IdTicket}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.openTicketStatus == false) {\r\n this.openTicketStatus = false;\r\n this.TicketSelectedStatus(ticket);\r\n const data = {\r\n idTicket: ticket.idTicket,\r\n markAsUnread: 0\r\n }\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_NOTIFICATION_BY_TICKET}`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n ticket.countNotification = 0;\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n else {\r\n this.openTicketStatus = true;\r\n this.userActive = result.data.openTicketUser\r\n this.getMessageInfo(this._translateService.instant('GENERICS.ALERT_USER_EDIT') +' '+ this.userActive, 3000);\r\n }\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getMessageInfo(message: string, time: number) {\r\n this.messageResult = message;\r\n this._notificationService.warning(this.messageResult, 'bg-warning', 'animate__backInUp', 3000);\r\n setTimeout(() => {\r\n this.messageResult = '';\r\n }, time);\r\n }\r\n\r\n\r\n GetBrandSites(idBrandSetup: number) {\r\n this._apiService.apiGetMethod(`${environment.WebApiUrl}${GetMethods.GET_BRAND_SELECTED_BY_ID_SITE}${idBrandSetup}`).subscribe(data => {\r\n if(data.success){\r\n this._listBrandSites = data.data;\r\n if(this._listBrandSites)\r\n this.getWebsitesBrandSetup();\r\n sessionStorage.setItem('BrandSites', JSON.stringify(this._listBrandSites));\r\n this._ExistsBrandSetup = true;\r\n }\r\n });\r\n }\r\n\r\n}\r\n","import { Component} from '@angular/core';\r\n@Component({\r\n selector: 'app-help-ticket-center',\r\n templateUrl: './help-ticket-center.component.html'\r\n})\r\nexport class HelpTicketCenterComponent {\r\n\r\n}","\r\n","import { Component} from '@angular/core';\r\n@Component({\r\n selector: 'app-internal-ticket-center',\r\n templateUrl: './internal-ticket-center.component.html'\r\n})\r\nexport class InternalTicketCenterComponent {\r\n}","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ConfigByDomain } from '@models/models';\r\n@Component({\r\n selector: 'app-partners-ticket-center',\r\n templateUrl: './partners-ticket-center.component.html'\r\n})\r\nexport class PartnersTicketCenterComponent implements OnInit {\r\n domainInfo: ConfigByDomain;\r\n \r\n ngOnInit(): void {\r\n //Called after the constructor, initializing input properties, and the first call to ngOnChanges.\r\n //Add 'implements OnInit' to the class.\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!); \r\n }\r\n}\r\n","\r\n","\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
{{ currentDate | date:'medium'}}
\r\n
\r\n \r\n
\r\n
{{'Account' | translate}} {{'is required' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{option.issue | translate}}\r\n \r\n \r\n
\r\n
{{'Issue' | translate}} {{'is required' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{option.name | translate}}\r\n \r\n \r\n
\r\n
{{'Source' | translate}} {{'is required' | translate}}
\r\n
\r\n
\r\n
{{userLogin.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 \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{ payloadData.transactionDate | date:'medium' }}\r\n {{ payloadData.account }}\r\n {{ payloadData.issue | translate}}\r\n {{ payloadData.sourceInfo.name }}\r\n {{ userLogin.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 {{ 'GENERICS.NO_DATA_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
{{'Choose a User' | translate}}
\r\n \r\n
\r\n
\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.name}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{'Comment' | translate}}
\r\n
{{'New Comment' | translate}}
\r\n \r\n
\r\n
\r\n

{{itemCommentSelected.comment}}

\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{ 'Download As' | translate }}
\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 { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { GetMethods, Methods, PostMethods, transformMediumDate } from '@methods/methods';\r\nimport { ResponseData, User } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\ndeclare const bootstrap: any;\r\n\r\n@Component({\r\n selector: 'app-personal-worklog',\r\n templateUrl: './personal-worklog.component.html'\r\n})\r\nexport class PersonalWorklogComponent implements OnInit {\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n userLogin: User;\r\n user: User = new User();\r\n formTicket: FormGroup;\r\n showHardReloadBtn: boolean = false;\r\n showExtraInfo: boolean = false;\r\n loading: boolean = false;\r\n showRegister: boolean = false;\r\n showFilter: boolean = false;\r\n showDepartmentFilter: boolean = false;\r\n submitted: boolean = false;\r\n columsData: any;\r\n payload: any;\r\n listSource: any;\r\n listIssues: any;\r\n listIssueSelected: any;\r\n listSourceSelected: any;\r\n itemUserSelected: any;\r\n itemCommentSelected: any;\r\n keyFilterId: number = 0;\r\n clicks: number = 0;\r\n idDepartment: number = 1;\r\n departmentList: any;\r\n departmentAllList: any;\r\n userList: any;\r\n date1: Date;\r\n date2: Date = new Date();\r\n currentDate: Date = new Date();\r\n newComment: string = '';\r\n infoData: any = [];\r\n exportColumns!: any[];\r\n\r\n constructor(\r\n private _apiService: ApiService,\r\n private _notificationService: NotificationService,\r\n private _translateService: TranslateService,\r\n private _formBuilder: FormBuilder, private _mediaService:MediaService){\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n\r\n this.formTicket = this._formBuilder.group({\r\n Account: ['', [Validators.required]],\r\n Issue: ['', [Validators.required]],\r\n Source: ['', [Validators.required]],\r\n });\r\n\r\n this.getGlobalInfo(0, false);\r\n this.getGlobalInfo(1, false);\r\n this.getGlobalInfo(2, false);\r\n this.getGlobalInfo(3, false);\r\n this.getGlobalInfo(10, false);\r\n }\r\n\r\n get f() { return this.formTicket.controls; }\r\n\r\n searchUserLog(item:any){\r\n this.itemUserSelected = item;\r\n this.getGlobalInfo(7, false);\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n getGlobalInfo(key:any, showDepartmentFilter: boolean){\r\n this.keyFilterId = key;\r\n this.showDepartmentFilter = showDepartmentFilter;\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(key)}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.showFilter = (key == 4 || key == 6 || key == 7) ? true: false;\r\n this.columsData = this.onHeaderColumnTableOptions((key == 7 ) ? 1 : 0);\r\n if(key == 0 || key == 7) {\r\n this.payload = result.data;\r\n }\r\n\r\n if(key == 1){\r\n this.listIssues = result.data;\r\n }\r\n\r\n if(key == 2){\r\n this.listSource = result.data;\r\n }\r\n\r\n if(key == 3){\r\n this.user = result.data;\r\n }\r\n\r\n if(key == 4 || key == 6){\r\n this.payload = [];\r\n this.userList = result.data;\r\n }\r\n\r\n if(key == 5 ){\r\n this.departmentList = result.data;\r\n if(this.departmentList.length >= 0){\r\n this.getGlobalInfo(6, false);\r\n }\r\n }\r\n\r\n if(key == 8){\r\n this.payload = result.data;\r\n this.loading = false;\r\n }\r\n\r\n if(key == 10) {\r\n this.departmentAllList = result.data;\r\n }\r\n }\r\n\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n this.onClick();\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n watchCommentItem(item:any){\r\n this.itemCommentSelected = item;\r\n }\r\n\r\n onHeaderColumnTableOptions(tab:number){\r\n switch (tab) {\r\n case 0: return [\r\n { field: 'Date', header: 'Date', title: 'HEADER_REPORT.DATE'},\r\n { field: 'Account', header: 'Account', title: 'HEADER_REPORT.ACCOUNT'},\r\n { field: 'Request', header: 'Request', title: 'HEADER_REPORT.REQUEST'},\r\n { field: 'Source', header: 'Source', title: 'HEADER_REPORT.SOURCE'},\r\n { field: 'User', header:'logs.User', title: 'HEADER_REPORT.USER'},\r\n { field: 'Actions', header:'User.Actions'},\r\n ];\r\n\r\n case 1: return [\r\n { field: 'Date', header: 'Date', title: 'HEADER_REPORT.DATE'},\r\n { field: 'Account', header: 'Account', title: 'HEADER_REPORT.ACCOUNT'},\r\n { field: 'Request', header: 'Request', title: 'HEADER_REPORT.REQUEST'},\r\n { field: 'Source', header: 'Source', title: 'HEADER_REPORT.SOURCE'},\r\n { field: 'Comment', header:'Comment'}\r\n ];\r\n\r\n case 2: return [\r\n { field: 'profileName', header: 'Profile.Profile name'},\r\n { field: 'active', header: 'Profile.Active'},\r\n { field: 'action', header: 'Profile.Action' }\r\n ];\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n\r\n downloadModal(){\r\n var myModal = new bootstrap.Modal(document.getElementById('downloadAs'), {\r\n keyboard: false\r\n })\r\n if(this.payload.length != 0){\r\n this.exportColumns = this.columsData.map((col) => {\r\n if (col.title !== undefined) {\r\n return {\r\n title: this.TranslateText(col.title),\r\n dataKey: col.field\r\n };\r\n }\r\n return null;\r\n }).filter((col) => col !== null);\r\n\r\n this.payload.forEach((d:any) => {\r\n const info = [\r\n transformMediumDate(d.transactionDate),\r\n d.account,\r\n d.issue,\r\n d.sourceInfo.name,\r\n this.userLogin.name\r\n ]\r\n this.infoData.push(info);\r\n });\r\n myModal.show();\r\n }\r\n }\r\n\r\n returnUrlParameter(key: number){\r\n switch (key) {\r\n case 0: return GetMethods.GET_PERSONAL_WORKLOG_BY_ID + this.userLogin.idUser;\r\n case 1: return GetMethods.GET_ALL_ISSUES_BY_DEPARTMENT_ID + this.userLogin.idDepartment;\r\n case 2: return GetMethods.GET_SOURCE;\r\n case 3: return GetMethods.GET_USER_INFO_BY_ID + this.userLogin.idUser;\r\n case 4: return GetMethods.GET_ALL_USER_BY_DEPARTMENT_ID + this.userLogin.idDepartment.toString();\r\n case 5:\r\n case 10: return GetMethods.GET_DEPARTMENT_LIST;\r\n case 6: return GetMethods.GET_ALL_USER_BY_DEPARTMENT_ID + this.idDepartment.toString();\r\n case 7: return GetMethods.GET_PERSONAL_WORKLOG_BY_ID + this.itemUserSelected.idUser;\r\n case 8: if(this.date1 == null){ this.date1 = new Date(); this.date1.setDate(this.date1.getDate() - 4)} return GetMethods.GET_PERSONAL_WORKLOG_BY_DATE + this.userLogin.idUser +'&startDate='+ transformMediumDate(this.date1)+ '&endDate=' + transformMediumDate(this.date2);\r\n case 9: return PostMethods.POST_INSERT_NEW_PERSONAL_WORKLOG;\r\n case 11: return PostMethods.POST_INSERT_NEW_COMMENT;\r\n default: return null;\r\n }\r\n }\r\n\r\n departmentSelected(idDepartment: number){\r\n this.idDepartment = idDepartment;\r\n this.getGlobalInfo(6, true);\r\n }\r\n\r\n insertNewEvent(key:number){\r\n if(key == 9) {\r\n this.submitted = true;\r\n if (this.formTicket.invalid) {\r\n return;\r\n }\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(key) }`;\r\n const data = this.onPayloadData(key);\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if(key == 9 || key == 11){\r\n this.getGlobalInfo(0, false);\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n this.formTicket.reset();\r\n this.submitted = false;\r\n }\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n onPayloadData(key:number){\r\n switch (key) {\r\n case 11: return {\r\n comment : this.newComment,\r\n idPersonalWorkLog : this.itemCommentSelected.idPersonalWorkLog\r\n }\r\n case 9: return {\r\n account: this.f.Account.value,\r\n issue: this.f.Issue.value,\r\n source: this.f.Source.value,\r\n transactionDate: this.currentDate,\r\n idUser: this.userLogin.idUser\r\n }\r\n default: return null;\r\n }\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n\r\n onClick() {\r\n this.clicks += 1;\r\n if(this.clicks >= 2){\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n };\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n {{option.label}}\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n {{option.name}}\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{payloadData.idTicket}}\r\n {{payloadData.date | date:'M/d/yy'}}\r\n {{payloadData.emailSubject | translate}}\r\n {{payloadData.tickerOrTaskName | translate}}\r\n {{payloadData.label}}\r\n {{payloadData.status | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{payloadData.idShortcut}}\r\n {{payloadData.name}}\r\n {{payloadData.description | translate}}\r\n {{payloadData.departmentName | translate}}\r\n {{payloadData.dateCreated | date:'M/d/yy, h:mm a'}}\r\n {{payloadData.label | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'GENERICS.NO_DATA_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'DateCreated' | translate}}
\r\n
\r\n {{editItemSelected.date | date:'M/d/yy, h:mm a'}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'CreatedBy' | translate}}
\r\n
\r\n {{editItemSelected.label | translate}} \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'Department' | translate}}
\r\n
\r\n {{editItemSelected.departmentName | translate }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'Status' | translate}}
\r\n
\r\n {{editItemSelected.status | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'Name' | translate}}
\r\n
\r\n {{editItemSelected.name}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'EmailSubject' | translate}}
\r\n
\r\n {{editItemSelected.emailSubject | translate }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'Description' | translate}}
\r\n
\r\n {{editItemSelected.description | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'Ticket' | translate}}
\r\n
\r\n {{editItemSelected.tickerOrTaskName | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'Message' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \"user\r\n
\r\n\r\n
\r\n
\r\n {{col.sender }}\r\n \r\n {{'Date' | translate}}\r\n {{col.date| date:'short' }}\r\n \r\n
\r\n
\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, OnInit, Output } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { DeleteMethods, GetMethods, Methods, getStatusType } from '@methods/methods';\r\nimport { ResponseData, User } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-shortcut-desk-filter',\r\n templateUrl: './shortcut-desk-filter.component.html'\r\n})\r\nexport class ShortcutDeskFilterComponent implements OnInit{\r\n @Input() title: string;\r\n @Input() tabPanelData: any;\r\n @Input() columsData: any;\r\n @Input() payloadData: any;\r\n @Input() loading: boolean;\r\n @Input() identity: number;\r\n @Input() formTicket: any;\r\n @Input() statusList: any;\r\n @Input() showHardReloadBtn: boolean;\r\n @Input() deletePostEvent: number;\r\n @Input() userList: any;\r\n @Input() formValidation: any;\r\n @Input() formType: number;\r\n @Input() departmentList: any;\r\n @Input() editItemSelected: any;\r\n @Output() onCallGetInfo = new EventEmitter();\r\n\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n showExtraInfo: boolean = false;\r\n showNewFormEntry: boolean = false;\r\n showExtraInfoForm: boolean = false;\r\n userLogin: User;\r\n commentList: any;\r\n showCommentList: boolean = false;\r\n showNewComment: boolean = false;\r\n itemSelectedToBeDeleted: any;\r\n isDarkTheme: boolean;\r\n\r\n constructor(private _translateService: TranslateService, private _mediaService: MediaService, private _apiService: ApiService, private _notificationService: NotificationService, private _sanitizer:DomSanitizer, private _themeService: ThemeService){\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.isDarkTheme = this._themeService.getThemeSelected() == 'theme-default-dark' ? true : false;\r\n }\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme)\r\n }\r\n\r\n getTabSelected(event:any){\r\n if(this.showExtraInfoForm){\r\n this.showExtraInfoForm = !this.showExtraInfoForm;\r\n }\r\n this.showNewFormEntry = ( event == 1 ) ? true: false;\r\n this.showExtraInfo = false;\r\n this.showCommentList = false;\r\n }\r\n\r\n editItem(item:any){\r\n this.showExtraInfo = true;\r\n item.idStatus = this.statusList.find(x => x.description == item.status)?.idStatusList;\r\n this.editItemSelected = item;\r\n this.editItemSelected.idTicket = (this.identity == 1) ? this.editItemSelected.idNote : this.editItemSelected.idShortcut;\r\n this.editItemSelected.date = (this.identity == 1) ? this.editItemSelected.date : this.editItemSelected.dateCreated;\r\n this.editItemSelected.title = (this.identity == 1) ? 'SDK.View and Edit Task' : 'SC.ViewShortcut';\r\n this.showNewFormEntry = true;\r\n if(this.identity == 1){\r\n this.getCommentNotes(item.idNote);\r\n }else{\r\n this.editItemSelected.inputTextName = this.editItemSelected.name;\r\n this.editItemSelected.idDepartment = this.editItemSelected.idDepartment;\r\n this.editItemSelected.description = this.editItemSelected.description;\r\n }\r\n }\r\n\r\n editTaskForm(){\r\n this.showExtraInfoForm = !this.showExtraInfoForm;\r\n }\r\n\r\n addNewCommentEvent(){\r\n this.showNewComment = !this.showNewComment;\r\n }\r\n\r\n getCommentNotes(idComment: number){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_TASK_NOTE_MESSAGE + idComment }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.showCommentList = ( result.data.length > 0 ) ? true: false;\r\n this.commentList = result.data;\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n transform(v:string):SafeHtml {\r\n return this._sanitizer.bypassSecurityTrustHtml(v);\r\n }\r\n\r\n deleteItem(item:any){\r\n this.itemSelectedToBeDeleted = item;\r\n Swal.fire({\r\n text: \"Are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.deletePostEvent) }`;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onCallGetInfo.emit(true);\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n })\r\n }\r\n\r\n returnUrlParameter(idEvent: number){\r\n switch (idEvent) {\r\n case 3: return DeleteMethods.DELETE_TASK_NOTE + '?IdNote=' + this.itemSelectedToBeDeleted.idNote;\r\n case 11: return DeleteMethods.DELETE_SHORTCUT + '?IdShortcut=' + this.itemSelectedToBeDeleted.idShortcut;\r\n default: return null;\r\n }\r\n }\r\n\r\n onCallFormMethod(event:any){\r\n if(this.editItemSelected){\r\n if (this.formType == 9) {\r\n this.editItemSelected.message = event.message\r\n this.editItemSelected.departmentName = event.departmentName;\r\n this.editItemSelected.description = event.description;\r\n this.editItemSelected.name = event.name;\r\n }\r\n\r\n if(this.formType == 8){\r\n this.editItemSelected.departmentName = event.departmentName;\r\n this.editItemSelected.emailSubject = event.emailSubject;\r\n this.editItemSelected.status = event.status;\r\n this.editItemSelected.tickerOrTaskName = event.tickerOrTaskName;\r\n this.getCommentNotes(this.editItemSelected.idTicket);\r\n this.onCallGetInfo.emit(true);\r\n }\r\n\r\n if(this.formType == 12){\r\n this.editItemSelected.message = event.message\r\n this.editItemSelected.departmentName = event.departmentName;\r\n this.editItemSelected.description = event.description;\r\n this.editItemSelected.name = event.name;\r\n this.onCallGetInfo.emit(true);\r\n }\r\n\r\n }else{\r\n this.onCallGetInfo.emit(true);\r\n }\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder} from '@angular/forms';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-service-desk-log',\r\n templateUrl: './service-desk-log.component.html'\r\n})\r\nexport class ServiceDeskLogComponent implements OnInit{\r\n tabPanelData: any;\r\n columsData: any;\r\n payloadData: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n statusList: any;\r\n showHardReloadBtn: boolean = false;\r\n userList: any; \r\n departmentList: any;\r\n constructor(private _apiService: ApiService, private _formBuilder: FormBuilder){}\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.tabPanelData = [\r\n {tabTitle: 'SDK.Log', id: 0, showPanel: true},\r\n {tabTitle: 'SDK.NewEntry', id: 1, showPanel: true}\r\n ]\r\n\r\n this.columsData = [\r\n { field: 'id', header: 'ID' },\r\n { field: 'Date', header: 'Date' },\r\n { field: 'Email Subject', header: 'SDK.EmailSubject' },\r\n { field: 'Ticket', header: 'logs.Ticket' },\r\n { field: 'Sender', header: 'SDK.Sender' },\r\n { field: 'Status', header: 'Status' },\r\n { field: 'Options', header: 'User.Actions' }\r\n ]\r\n this.getAllLogs();\r\n this.getStatusList();\r\n this.getUserList();\r\n this.getAllDepartmentList();\r\n }\r\n\r\n getAllLogs(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_TASK_NOTES + this.userLogin.idDepartment}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.userInChargeName;\r\n value.idTicket = value.idNote;\r\n });\r\n this.payloadData = result.data;\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getStatusList(){\r\n this.statusList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_STATUS_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.statusList = result.data;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getUserList(){\r\n this.userList = []\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_NAME_BY_DEPARTMENT + this.userLogin.idDepartment}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.userList = result.data;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList(){\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: any) => {\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.departmentList = result.data.filter((x:any) => x.isActive == true);\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n onCallGetInfo(event:any) {\r\n this.getAllLogs();\r\n }\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { BrandSetup, ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { LoadingService } from '@services/loading.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-shortcut-center',\r\n templateUrl: './shortcut-center.component.html'\r\n})\r\nexport class ShortcutCenterComponent implements OnInit{\r\n tabPanelData: any;\r\n columsData: any;\r\n payloadData: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n statusList: any;\r\n showHardReloadBtn: boolean = false;\r\n userList: any;\r\n departmentList: any;\r\n _BrandSetup: BrandSetup = new BrandSetup();\r\n _ExistsBrandSetup: boolean = false;\r\n\r\n constructor(private _apiService: ApiService, private _loadingService: LoadingService){}\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this._BrandSetup = JSON.parse(sessionStorage.getItem('BrandSetup')!);\r\n this._BrandSetup != null ? this._ExistsBrandSetup = true : this._ExistsBrandSetup = false;\r\n this.tabPanelData = [\r\n {tabTitle: 'ShortcutManager', id: 0, showPanel: true},\r\n {tabTitle: 'NewShortcut', id: 1, showPanel: true}\r\n ]\r\n\r\n this.columsData = [\r\n { field: 'ID', header: 'ID' },\r\n { field: 'Name', header: 'Form.Name' },\r\n { field: 'Description', header: 'Shortcut.Description' },\r\n { field: 'Department', header: 'Shortcut.Department' },\r\n { field: 'Date created', header: 'Date' },\r\n { field: 'Created by user', header: 'Shortcut.Created by user' },\r\n { field: 'Options', header: 'User.Actions' }\r\n ]\r\n\r\n this.getAllShortCuts();\r\n this.getStatusList();\r\n this.getAllDepartmentList();\r\n this.getUserList();\r\n }\r\n\r\n getAllShortCuts(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SHORCUTS }`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.userName;\r\n value.departmentName = value.departmentName\r\n });\r\n this.payloadData = result.data;\r\n if(this._BrandSetup != null)\r\n this.payloadData = this.payloadData.filter(x => x.idDepartment == this._BrandSetup.idDepartment);\r\n this.orderShortcutsForDepartment();\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n\r\n orderShortcutsForDepartment() {\r\n this.payloadData.sort((a, b) => {\r\n if (a.departmentName < b.departmentName) {\r\n return -1;\r\n }\r\n if (a.departmentName > b.departmentName) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n}\r\n\r\n getStatusList(){\r\n this.statusList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_STATUS_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.statusList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getUserList(){\r\n this.userList = []\r\n this._loadingService.toggleLoading();\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_USERS}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.userList = result.data;\r\n if(this._BrandSetup != null)\r\n this.userList = this.userList.filter(x => x.idDepartment == this._BrandSetup.idDepartment);\r\n this._loadingService.toggleLoading();\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList(){\r\n\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.departmentList = result.data;\r\n if(this._BrandSetup != null)\r\n this.departmentList = this.departmentList.filter(x => x.idDepartment == this._BrandSetup.idDepartment);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n onCallGetInfo(event:any) {\r\n this.getAllShortCuts()\r\n }\r\n}\r\n","\r\n","\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{item.title1 | translate}}\r\n
\r\n
\r\n {{item.title2 | translate}}\r\n
\r\n
\r\n {{item.title3 | translate}}\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.label | translate}}\r\n {{item.description | translate}} \r\n \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.label | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{titleModal | translate}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ TranslateText(identity === 1 ? 'GlobalForm.BrandName' : 'GlobalForm.Name') }}
\r\n \r\n
\r\n
{{TranslateText( identity === 1 ? 'GlobalForm.BrandName' : 'GlobalForm.Name' ) + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{ 'GlobalForm.MainSite' | translate }}
\r\n \r\n \r\n
\r\n
{{TranslateText( 'GlobalForm.MainSite' ) + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{ 'GlobalForm.Department in charge' | translate }}
\r\n \r\n \r\n {{option.name | translate}}\r\n \r\n \r\n
\r\n
{{'GlobalForm.Department' | translate}} {{'GlobalForm.IsRequired' | translate}}
\r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n {{ 'Help' | translate }} \r\n
\r\n
\r\n \r\n {{ 'Internal' | translate }} \r\n
\r\n
\r\n \r\n {{ 'Partners' | translate }} \r\n
\r\n
\r\n \r\n {{ 'Direct' | translate }} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{ TranslateText('GlobalForm.Description') }}
\r\n \r\n
\r\n\r\n
\r\n
{{ 'GlobalForm.FormType' | translate }}
\r\n \r\n \r\n
\r\n
{{TranslateText( 'GlobalForm.FormType' ) + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{ TranslateText('GlobalForm.SpanishTranslation') }}
\r\n \r\n
\r\n
{{TranslateText( 'GlobalForm.SpanishTranslation') + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{ TranslateText('GlobalForm.PortugueseTranslation') }}
\r\n \r\n
\r\n
{{TranslateText( 'GlobalForm.PortugueseTranslation') + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n {{ 'Active' | translate }}
\r\n
\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 { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Filters, InternalList } from '@methods/constants';\r\nimport { DeleteMethods, GetMethods, Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { FormType, ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport Swal from 'sweetalert2';\r\ndeclare const bootstrap: any;\r\n@Component({\r\n selector: 'app-brand-subject-filter',\r\n templateUrl: './brand-subject-filter.component.html'\r\n})\r\nexport class BrandSubjectFilterComponent implements OnInit {\r\n @Input() title: any;\r\n @Input() headerTitle: any;\r\n @Input() identity: number; // 1: relevance level // 2 status list // 3 department\r\n @Input() payloadData: any;\r\n @Input() isErrorActivated: boolean;\r\n @Input() modalTitleNewText: string;\r\n @Input() modalTitleEditText: string;\r\n @Input() newPostEvent: number;\r\n @Input() editPostEvent: number;\r\n @Input() deletePostEvent: number;\r\n @Input() selectAllCheckbox: number;\r\n @Input() addNewPostEvent: number;\r\n @Input() checked: boolean;\r\n @Input() filterData: any;\r\n @Input() allSiteTags: any;\r\n @Input() departmentList: any;\r\n @Input() formValidation: any;\r\n @Input() btnNewText: string;\r\n\r\n @Output() refreshData = new EventEmitter();\r\n @Output() onFilterSiteById = new EventEmitter();\r\n\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n sortView: boolean = false;\r\n userLogin: User;\r\n internalList: Filters[];\r\n editOrNewItemModal: any;\r\n isEditOrNewItem: boolean = false;\r\n titleModal: string = '';\r\n itemSelected: any;\r\n userForm: FormGroup;\r\n submitted: boolean = false;\r\n idSelected: number = 1;\r\n listFormType: FormType[];\r\n\r\n constructor(private _apiService: ApiService, private _notificationService: NotificationService, private _formBuilder: FormBuilder, private _translateService: TranslateService, private _mediaService: MediaService){\r\n this.internalList = InternalList;\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.userForm = this._formBuilder.group({\r\n inputTextSelected: ['' , [Validators.required]],\r\n siteSelected: ['', Validators.required],\r\n department: ['', Validators.required],\r\n inputTextDescription: [''],\r\n inputTextSpanish: ['', Validators.required],\r\n inputTextPortuguese: ['', Validators.required],\r\n formType: ['', Validators.required],\r\n isHelp: [false],\r\n isInternal: [false],\r\n isPartner: [false],\r\n isDirect: [false],\r\n isActive: [false],\r\n });\r\n setTimeout(() => {\r\n this.IniModal();\r\n }, 2);\r\n\r\n if(this.identity == 4){\r\n this.getAllFormType();\r\n }\r\n }\r\n\r\n get f() { return this.userForm.controls; }\r\n\r\n getAllFormType(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_FORM_TYPE }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.listFormType = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n editOrNewItem(item:any, isNew: boolean){\r\n this.titleModal = '';\r\n this.itemSelected = item;\r\n this.isEditOrNewItem = isNew;\r\n this.titleModal = (isNew) ? this.modalTitleNewText: this.modalTitleEditText;\r\n this.userForm.get('inputTextSelected')?.setValue(isNew ? '' : item.label);\r\n this.userForm.get('siteSelected')?.setValue(isNew ? '' : item.idSite);\r\n if(this.identity == 3 || this.identity == 4){\r\n this.userForm.get('isHelp')?.setValue(isNew ? false : item.isHelp);\r\n this.userForm.get('isInternal')?.setValue(isNew ? false : item.isInternal);\r\n this.userForm.get('isPartner')?.setValue(isNew ? false : item.isPartner);\r\n this.userForm.get('isDirect')?.setValue(isNew ? false : item.isDirect);\r\n this.userForm.get('isActive')?.setValue(isNew ? false : item.isActive);\r\n this.userForm.get('formType')?.setValue(isNew ? '' : item.formType);\r\n this.userForm.get('department')?.setValue(isNew ? '' : item.idDepartment);\r\n\r\n this.userForm.get('inputTextDescription')?.setValue(isNew ? '' : item.description);\r\n this.userForm.get('inputTextSpanish')?.setValue(isNew ? '' : item.spanishTranslation);\r\n this.userForm.get('inputTextPortuguese')?.setValue(isNew ? '' : item.portugueseTranslation);\r\n }else{\r\n if(this.identity != 2)\r\n this.userForm.get('department')?.setValue(isNew ? '' : item.idDepartment);\r\n }\r\n\r\n Object.keys(this.userForm.controls).forEach(key => {\r\n this.formValidation.forEach(element => {\r\n if(element.control == key){\r\n if(!element.show){\r\n var inputName = this.userForm.get(key);\r\n inputName?.setValidators(null);\r\n inputName?.updateValueAndValidity();\r\n }\r\n }\r\n });\r\n });\r\n this.editOrNewItemModal.show();\r\n }\r\n\r\n closeModal(){\r\n this.titleModal = '';\r\n this.editOrNewItemModal.hide();\r\n }\r\n\r\n createAndUpdateByPayloadData(){\r\n this.submitted = true;\r\n if (this.userForm.invalid) {\r\n return;\r\n }\r\n const numberType = (this.isEditOrNewItem) ? (this.identity === 2 || this.identity === 4) ? this.addNewPostEvent : this.newPostEvent : this.editPostEvent;\r\n const data = this.returnObjetData(numberType);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter((this.isEditOrNewItem) ? (this.identity === 2 || this.identity === 4) ? this.addNewPostEvent : this.newPostEvent : this.editPostEvent) }`;\r\n\r\n if(numberType === 4 || numberType === 8 || numberType === 10 || numberType === 12 || numberType === 14){\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if(this.identity == 1 || this.identity == 3){\r\n this.refreshData.emit(true);\r\n }else{\r\n this.onFilterSiteById.emit(this.idSelected)\r\n }\r\n\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }else{\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if(this.identity == 1 || this.identity == 3){\r\n this.refreshData.emit(true);\r\n }else{\r\n this.onFilterSiteById.emit(this.idSelected)\r\n }\r\n\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n updateItemByCheckbox(event:any, item:any){\r\n item.isActive = event.target.checked;\r\n item.name = item.label;\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.editPostEvent)}`;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if(this.identity == 1 || this.identity == 3){\r\n this.refreshData.emit(true);\r\n }else{\r\n this.onFilterSiteById.emit(this.idSelected)\r\n }\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n deleteItem(item:any){\r\n Swal.fire({\r\n text: \"Are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.deletePostEvent) }`;\r\n if(this.deletePostEvent == 3){\r\n //este endpoint es distinto es para eliminar brand setup creado\r\n item.isDelete = true;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.refreshData.emit(true);\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }else{\r\n item.userInCharge = this.userLogin.idUser;\r\n item.name = item.label;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if(this.identity == 1 || this.identity == 3){\r\n this.refreshData.emit(true);\r\n }else{\r\n this.onFilterSiteById.emit(this.idSelected)\r\n }\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n })\r\n }\r\n\r\n UpdateAllItemCheckbox(event: any){\r\n this.payloadData.forEach(element => {\r\n element.isActive = event.checked;\r\n element.userInCharge = this.userLogin.idUser;\r\n });\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.selectAllCheckbox) }`;\r\n this._apiService.apiPostMethod(URL, this.payloadData).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n deleteItemByPayloadData(arr:any, idvalue: number) {\r\n const objWithIdIndex = arr.findIndex((obj:any) => obj.idvalue === idvalue);\r\n if (objWithIdIndex > -1) {\r\n arr.splice(objWithIdIndex, 1);\r\n }\r\n return arr;\r\n }\r\n\r\n returnUrlParameter(idType: number){\r\n switch (idType) {\r\n case 1:\r\n case 2:\r\n case 3: return PostMethods.POST_UPDATE_INSERT_BRAND_SETUP;\r\n case 4: return PutMethods.UPDATE_ALL_ITEM_RELEVANCE_LEVEL;\r\n case 5: return PostMethods.POST_UPDATE_INSERT_BRAND_SITE;\r\n case 6: return DeleteMethods.DELETE_SITE_FOR_BRAND;\r\n case 7: return PostMethods.POST_INSERT_NEW_SUBJECT;\r\n case 8: return PutMethods.UPDATE_SUBJECT_ITEM;\r\n case 9: return DeleteMethods.DELETE_SUBJECT;\r\n case 10: return PutMethods.UPDATE_ALL_SUBJECT_ITEM;\r\n case 12: return PutMethods.UPDATE_SUBJECT_FIELD_ITEM;\r\n case 13: return DeleteMethods.DELETE_SUBJET_FIELD;\r\n case 14: return PutMethods.UPDATE_ALL_SUBJECT_FIELD_ITEM;\r\n case 15: return PostMethods.POST_INSERT_NEW_SUBJECT_FIELD;\r\n default: return null;\r\n }\r\n }\r\n\r\n returnObjetData(idType: number){\r\n switch (idType) {\r\n case 1: return {\r\n brandName: this.f.inputTextSelected.value,\r\n description: this.allSiteTags.find(x => x.idSiteTag == this.f.siteSelected.value)?.description,\r\n idBrandSetup: -1,\r\n idDepartment: this.f.department.value,\r\n idSite: this.f.siteSelected.value,\r\n isActive: true,\r\n isDelete: false,\r\n userInCharge: this.userLogin.idUser\r\n };\r\n\r\n case 2: return {\r\n brandName: this.f.inputTextSelected.value,\r\n description: this.allSiteTags.find(x => x.idSiteTag == this.f.siteSelected.value)?.description,\r\n idBrandSetup: this.itemSelected.idBrandSetup,\r\n idDepartment: this.f.department.value,\r\n idSite: this.f.siteSelected.value,\r\n isActive: this.itemSelected.isActive,\r\n isDelete: this.itemSelected.isDelete,\r\n lastModification: this.itemSelected.lastModification,\r\n userInCharge: this.userLogin.idUser\r\n }\r\n\r\n // New Site by modal\r\n case 5: return {\r\n description: this.allSiteTags.find(x => x.idSiteTag == this.f.siteSelected.value)?.description,\r\n idBrandSetup: this.idSelected,\r\n idSite: this.f.siteSelected.value,\r\n isActive: true,\r\n isDelete: false,\r\n userInCharge: this.userLogin.idUser\r\n };\r\n\r\n case 7: return {\r\n description: this.f.inputTextDescription.value,\r\n idDepartment: this.f.department.value,\r\n isActive: this.f.isActive.value,\r\n isDirect: this.f.isDirect.value,\r\n isHelp: this.f.isHelp.value,\r\n isInternal: this.f.isInternal.value,\r\n isPartner: this.f.isPartner.value,\r\n name: this.f.inputTextSelected.value,\r\n portugueseTranslation: this.f.inputTextPortuguese.value,\r\n spanishTranslation: this.f.inputTextSpanish.value,\r\n sserInCharge: this.userLogin.idUser\r\n }\r\n\r\n case 8: return {\r\n department: this.departmentList.find(x => x.idDepartment == this.f.department.value)?.name,\r\n description: this.f.inputTextDescription.value,\r\n idDepartment: this.f.department.value,\r\n idSubject: this.itemSelected.idSubject,\r\n isActive: this.f.isActive.value,\r\n isDelete: this.itemSelected.isDelete,\r\n isDirect: this.f.isDirect.value,\r\n isHelp: this.f.isHelp.value,\r\n isInternal: this.f.isInternal.value,\r\n isPartner: this.f.isPartner.value,\r\n name: this.f.inputTextSelected.value,\r\n lastModification: this.itemSelected.lastModification,\r\n portugueseTranslation: this.f.inputTextPortuguese.value,\r\n spanishTranslation: this.f.inputTextSpanish.value,\r\n userInCharge: this.userLogin.idUser,\r\n userInChargeName: null\r\n }\r\n\r\n case 12: return {\r\n formType: this.f.formType.value,\r\n idDepartment: this.f.department.value,\r\n idSubject: this.idSelected,\r\n idSubjectField: this.itemSelected.idSubjectField,\r\n isActive: this.f.isActive.value,\r\n isDelete: this.itemSelected.isDelete,\r\n lastModification: this.itemSelected.lastModification,\r\n name: this.f.inputTextSelected.value,\r\n portugueseTranslation: this.f.inputTextPortuguese.value,\r\n spanishTranslation: this.f.inputTextSpanish.value,\r\n textDescription: null,\r\n userInCharge: this.userLogin.idUser,\r\n userInChargeName: null\r\n }\r\n\r\n case 15: return {\r\n formType: this.f.formType.value,\r\n idSubject: this.idSelected,\r\n isActive: this.f.isActive.value,\r\n name: this.f.inputTextSelected.value,\r\n portugueseTranslation: this.f.inputTextPortuguese.value,\r\n spanishTranslation: this.f.inputTextSpanish.value,\r\n userInCharge: this.userLogin.idUser\r\n }\r\n default: return null;\r\n }\r\n }\r\n\r\n changeViewSites(){\r\n this.sortView = !this.sortView;\r\n if(!this.sortView){\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_SUBJECTS }`;\r\n this._apiService.apiPostMethod(URL, this.payloadData).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n dropSubjects(event: CdkDragDrop) {\r\n moveItemInArray(this.payloadData, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n onFindSiteData(event: any){\r\n this.idSelected = event.value;\r\n this.onFilterSiteById.emit(event.value);\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n IniModal() {\r\n this.editOrNewItemModal = new bootstrap.Modal(document.getElementById('editOrNewItemModal-'+this.identity), {\r\n keyboard: false\r\n });\r\n }\r\n}\r\n","
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \"something\r\n {{'GENERICS.UPDATED_ERROR' | translate}} \r\n \r\n \r\n {{ 'Refresh' | translate }}\r\n \r\n
\r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { Filters, ResponseData, SubjectTickets } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-subjects',\r\n templateUrl: './subjects.component.html'\r\n})\r\nexport class SubjectsComponent implements OnInit {\r\n payloadData: Filters[];\r\n payloadSecondData: any;\r\n isErrorActivated: boolean = false;\r\n identity: number = 3;\r\n identity2: number = 4\r\n checked: boolean = false;\r\n checked2: boolean = false;\r\n cardHeaderTitle1: any;\r\n cardHeaderTitle2: any;\r\n formValidateInputs: any;\r\n formValidateInputs2: any;\r\n departmentList: any;\r\n allSiteTags: any;\r\n\r\n constructor(private _apiService: ApiService, private _notificationService: NotificationService){}\r\n\r\n ngOnInit(): void {\r\n this.cardHeaderTitle1 = []\r\n this.cardHeaderTitle2 = []\r\n this.formValidateInputs = [\r\n { control: 'inputTextSelected', show: true },\r\n { control: 'siteSelected', show: false },\r\n { control: 'departmentSelected', show: true },\r\n { control: 'inputTextDescription', show: true },\r\n { control: 'inputTextSpanish', show: true },\r\n { control: 'inputTextPortuguese', show: true },\r\n { control: 'formType', show: false },\r\n { control: 'isHelp', show: true },\r\n { control: 'isInternal', show: true },\r\n { control: 'isPartner', show: true },\r\n { control: 'isDirect', show: true },\r\n { control: 'isActive', show: true },\r\n ]\r\n\r\n this.formValidateInputs2 = [\r\n { control: 'inputTextSelected', show: true },\r\n { control: 'siteSelected', show: false },\r\n { control: 'departmentSelected', show: false },\r\n { control: 'inputTextDescription', show: false },\r\n { control: 'inputTextSpanish', show: true },\r\n { control: 'inputTextPortuguese', show: true },\r\n { control: 'formType', show: true },\r\n { control: 'isHelp', show: false },\r\n { control: 'isInternal', show: false },\r\n { control: 'isPartner', show: false },\r\n { control: 'isDirect', show: false },\r\n { control: 'isActive', show: true },\r\n ]\r\n this.getAllSujectList();\r\n this.getAllWebsiteList();\r\n this.getAllDepartmentList();\r\n }\r\n\r\n getAllSujectList(){\r\n // this.payloadData = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SUBJECTS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idSubject;\r\n value.label = value.subjectName;\r\n value.showCheckbox = true;\r\n value.showEdit = true;\r\n });\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.checked = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this.payloadData = result.data;\r\n this.getSubjectFieldById(result.data[0].idSubject )\r\n }\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getSubjectFieldById(idSite: any) {\r\n this.payloadSecondData = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_ID + idSite}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idSubjectField;\r\n value.label = value.name;\r\n value.showCheckbox = true;\r\n value.showEdit = false;\r\n });\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.checked2 = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this.payloadSecondData = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllWebsiteList() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.allSiteTags = result.data;\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList(){\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.departmentList = result.data.filter((x:any) => x.isActive == true);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refreshData($event:any){\r\n this.getAllSujectList();\r\n }\r\n\r\n onFilterSiteById(event:any) {\r\n this.getSubjectFieldById(event);\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n}","\r\n
\r\n
\r\n
\r\n \r\n {{'SelectALL' | translate}} \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n {{item.label | translate}}
\r\n {{item.email}} \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{titleModal}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'GlobalForm.Name' | translate}}
\r\n \r\n
\r\n
{{TranslateText('GlobalForm.Name') + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{'GlobalForm.Email' | translate}}
\r\n \r\n
\r\n
{{ TranslateText('GlobalForm.Email') + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n\r\n
\r\n
{{'GlobalForm.TypeDepartment' | translate}}
\r\n
\r\n \r\n \r\n
\r\n
{{ TranslateText('GlobalForm.TypeDepartment') + ' ' + TranslateText('GlobalForm.IsRequired') }}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'Active' | translate }}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"something\r\n {{'GENERICS.UPDATED_ERROR' | translate}} \r\n \r\n \r\n {{ 'Refresh' | translate }}\r\n \r\n
\r\n
\r\n
","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Filters, InternalList } from '@methods/constants';\r\nimport { DeleteMethods, Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport Swal from 'sweetalert2';\r\ndeclare const bootstrap: any;\r\n\r\n\r\n@Component({\r\n selector: 'app-checkbox-editor',\r\n templateUrl: './checkbox-editor.component.html',\r\n})\r\nexport class CheckboxEditorComponent implements OnInit {\r\n @Input() title: any;\r\n @Input() identity: number; // 1: relevance level // 2 status list // 3 department\r\n @Input() payloadData: any;\r\n @Input() isErrorActivated: boolean;\r\n @Input() modalTitleNewText: string;\r\n @Input() modalTitleEditText: string;\r\n @Input() newPostEvent: number;\r\n @Input() editPostEvent: number;\r\n @Input() deletePostEvent: number;\r\n @Input() selectAllCheckbox:number;\r\n @Input() checked: boolean;\r\n @Output() refreshData = new EventEmitter();\r\n\r\n sortView: boolean = false;\r\n userLogin: User;\r\n internalList: Filters[];\r\n editOrNewItemModal: any;\r\n isEditOrNewItem: boolean = false;\r\n titleModal: string = '';\r\n inputTextSelected: string = '';\r\n itemSelected: any;\r\n isNewCheckboxActive: boolean = false;\r\n userForm: FormGroup;\r\n submitted: boolean = false;\r\n\r\n constructor(private _apiService: ApiService, private _notificationService: NotificationService, private _formBuilder: FormBuilder, private _translateService: TranslateService){\r\n this.internalList = InternalList;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.userForm = this._formBuilder.group({\r\n inputTextSelected: ['' , [Validators.required]],\r\n email: ['' , [Validators.email]],\r\n isInternal: [''],\r\n isActive: [false]\r\n });\r\n setTimeout(() => {\r\n this.IniModal();\r\n }, 2);\r\n }\r\n\r\n get f() { return this.userForm.controls; }\r\n\r\n changeViewSites(){\r\n this.sortView = true;\r\n }\r\n\r\n editOrNewItem(item:any, isNew: boolean){\r\n this.titleModal = '';\r\n this.itemSelected = item;\r\n this.isEditOrNewItem = isNew;\r\n this.titleModal = this.TranslateText((isNew) ? this.modalTitleNewText: this.modalTitleEditText);\r\n this.userForm.get('inputTextSelected')?.setValue(isNew ? '' : item.label);\r\n if(this.identity === 3){\r\n this.userForm.get('email')?.setValue(isNew ? '' : item.email);\r\n this.userForm.get('isInternal')?.setValue(isNew ? '' : item.isInternal);\r\n this.userForm.get('isActive')?.setValue(isNew ? '' : item.isActive);\r\n\r\n var emailControl = this.userForm.get('email');\r\n emailControl?.setValidators([Validators.required]);\r\n emailControl?.updateValueAndValidity();\r\n\r\n var isInternalControl = this.userForm.get('isInternal');\r\n isInternalControl?.setValidators([Validators.required]);\r\n isInternalControl?.updateValueAndValidity();\r\n }\r\n this.editOrNewItemModal.show();\r\n }\r\n\r\n closeModal(){\r\n this.titleModal = '';\r\n this.editOrNewItemModal.hide();\r\n }\r\n\r\n createAndUpdateByPayloadData(){\r\n this.submitted = true;\r\n if (this.userForm.invalid) {\r\n return;\r\n }\r\n const numberType = (this.isEditOrNewItem) ? this.newPostEvent : this.editPostEvent;\r\n const data = this.returnObjetData(numberType);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(numberType) }`;\r\n\r\n if(numberType == 1 || numberType == 5 || numberType == 9){\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.refreshData.emit(true);\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n this.submitted = false;\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }else{\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.refreshData.emit(true);\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n updateItemByCheckbox(event:any, item:any){\r\n item.isActive = event.target.checked;\r\n item.userInCharge = this.userLogin.idUser;\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.editPostEvent)}`;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.refreshData.emit(true);\r\n this.userForm.reset();\r\n this.editOrNewItemModal.hide();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n deleteItem(item:any){\r\n Swal.fire({\r\n text: \"Are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.deletePostEvent) }`;\r\n item.userInCharge = this.userLogin.idUser;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.refreshData.emit(true);\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n })\r\n }\r\n\r\n UpdateAllItemCheckbox(event: any){\r\n this.payloadData.forEach(element => {\r\n element.isActive = event.checked;\r\n element.userInCharge = this.userLogin.idUser;\r\n });\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(this.selectAllCheckbox) }`;\r\n this._apiService.apiPostMethod(URL, this.payloadData).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success){\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n deleteItemByPayloadData(arr:any, idvalue: number) {\r\n const objWithIdIndex = arr.findIndex((obj:any) => obj.idvalue === idvalue);\r\n if (objWithIdIndex > -1) {\r\n arr.splice(objWithIdIndex, 1);\r\n }\r\n return arr;\r\n }\r\n\r\n returnUrlParameter(idType: number){\r\n switch (idType) {\r\n case 1 : return PostMethods.POST_INSERT_NEW_RELEVANCE_LEVEL;\r\n\r\n case 2: return PutMethods.UPDATE_RELEVANCE_LEVEL_ITEM;\r\n\r\n case 3: return DeleteMethods.DELETE_RELEVANCE_ITEM;\r\n\r\n case 4: return PutMethods.UPDATE_ALL_ITEM_RELEVANCE_LEVEL;\r\n\r\n case 5: return PostMethods.POST_INSERT_NEW_TICKET_STATUS;\r\n\r\n case 6: return PutMethods.UPDATE_TICKET_STATUS_ITEM;\r\n\r\n case 7: return DeleteMethods.DELETE_STATUS_ITEM;\r\n\r\n case 8: return PutMethods.UPDATE_ALL_TICKET_STATUS_ITEM;\r\n\r\n case 9: return PostMethods.POST_INSERT_NEW_DEPARTMENT;\r\n\r\n case 10: return PutMethods.UPDATE_DEPARTMENT_ITEM;\r\n\r\n case 11: return DeleteMethods.DELETE_DEPARTMENT_ITEM;\r\n\r\n case 12: return PutMethods.UPDATE_ALL_ITEM_DEPARTMENT;\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n returnObjetData(idType: number){\r\n switch (idType) {\r\n // create new in Relevance and status\r\n case 1:\r\n case 5: return {\r\n isActive: this.f.isActive.value,\r\n description: this.f.inputTextSelected.value,\r\n userInCharge: this.userLogin.idUser\r\n };\r\n\r\n case 2: return {\r\n description: this.f.inputTextSelected.value,\r\n idRelevance: this.itemSelected.idvalue,\r\n isActive: this.itemSelected.isActive,\r\n isDelete: this.itemSelected.isDelete,\r\n lastModification: this.itemSelected.lastModification,\r\n userInCharge: this.userLogin.idUser,\r\n userInChargeName: null\r\n }\r\n\r\n case 6: return {\r\n description: this.f.inputTextSelected.value,\r\n idStatusList: this.itemSelected.idvalue,\r\n isActive: this.itemSelected.isActive,\r\n isDelete: this.itemSelected.isDelete,\r\n lastModification: this.itemSelected.lastModification,\r\n userInCharge: this.userLogin.idUser,\r\n userInChargeName: null\r\n }\r\n\r\n // New Department by modal\r\n case 9: return {\r\n email: this.f.email.value,\r\n isActive: this.f.isActive.value,\r\n isInternal: this.f.isInternal.value,\r\n name: this.f.inputTextSelected.value,\r\n userInCharge: this.userLogin.idUser\r\n };\r\n\r\n // Edit Department by modal\r\n case 10: return{\r\n email: this.f.email.value,\r\n idDepartment: this.itemSelected.idDepartment,\r\n isActive: this.f.isActive.value,\r\n isDelete: this.itemSelected.isDelete,\r\n isInternal: this.f.isInternal.value,\r\n lastModification: this.itemSelected.lastModification,\r\n name: this.f.inputTextSelected.value,\r\n userInCharge: this.userLogin.idUser,\r\n userInChargeName : null\r\n }\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n IniModal() {\r\n this.editOrNewItemModal = new bootstrap.Modal(document.getElementById('editOrNewItemModal'), {\r\n keyboard: false\r\n });\r\n }\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Filters } from '@methods/constants';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-relevance-level',\r\n templateUrl: './relevance-level.component.html'\r\n})\r\nexport class RelevanceLevelComponent implements OnInit {\r\n payloadData: Filters[];\r\n isErrorActivated: boolean = false;\r\n identity: number = 1;\r\n checked: boolean = false;\r\n\r\n constructor(private _apiService: ApiService){}\r\n\r\n ngOnInit(): void {\r\n this.getRelevanceList();\r\n }\r\n\r\n getRelevanceList(){\r\n this.payloadData = [];\r\n this.isErrorActivated = false;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_RELEVANCE_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idRelevance;\r\n value.label = value.description;\r\n });\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.checked = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this.payloadData = result.data;\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refreshData($event:any){\r\n this.getRelevanceList();\r\n }\r\n\r\n}\r\n","\r\n","import { Component } from '@angular/core';\r\nimport { Filters } from '@methods/constants';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-status-list',\r\n templateUrl: './status-list.component.html'\r\n})\r\nexport class StatusListComponent {\r\n\r\n payloadData: Filters[];\r\n isErrorActivated: boolean = false;\r\n identity: number = 2;\r\n checked: boolean = false;\r\n\r\n constructor(private _apiService: ApiService){}\r\n\r\n ngOnInit(): void {\r\n this.getStatusList();\r\n }\r\n\r\n getStatusList(){\r\n this.payloadData = [];\r\n this.isErrorActivated = false;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_STATUS_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idStatusList;\r\n value.label = value.description;\r\n });\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.checked = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this.payloadData = result.data;\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refreshData($event:any){\r\n this.getStatusList();\r\n }\r\n\r\n}\r\n","\r\n","import { Component } from '@angular/core';\r\nimport { Filters } from '@methods/constants';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-department',\r\n templateUrl: './department.component.html'\r\n})\r\nexport class DepartmentComponent {\r\n payloadData: Filters[];\r\n isErrorActivated: boolean = false;\r\n identity: number = 3;\r\n checked: boolean = false;\r\n\r\n constructor(private _apiService: ApiService){}\r\n\r\n ngOnInit(): void {\r\n this.getDepartmentList();\r\n }\r\n\r\n getDepartmentList(){\r\n this.payloadData = [];\r\n this.isErrorActivated = false;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idDepartment;\r\n value.label = value.name;\r\n });\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.checked = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this.payloadData = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refreshData($event:any){\r\n this.getDepartmentList();\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{option.name}}\r\n \r\n \r\n \r\n \r\n {{option.description}}\r\n \r\n \r\n\r\n
    \r\n\r\n
  • \r\n {{item.description}}\r\n\r\n \r\n
  • \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n

{{'WebsiteSetup.PLayerListEmpty' | translate}}

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

\r\n \r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}
{{item.descriptionSubject | translate}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

\r\n \r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}
{{item.descriptionSubject | translate}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

\r\n \r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}
{{item.descriptionSubject | translate}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

\r\n \r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}
{{item.descriptionSubject | translate}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

\r\n \r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}
{{item.descriptionSubject | translate}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.subjectName | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n

* {{'WebsiteSetup.Changes are saved automatically' | translate}}

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

{{'Ticket Center' | translate}}

\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'Help Ticket Center' | translate}}\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{'Partners Ticket Center' | translate}}\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{'Internal Ticket Center' | translate}}\r\n
\r\n
\r\n\r\n

{{'Language' | translate}}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'English' | translate}}\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{'Spanish' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
= 5\" class=\"row d-flex align-items-center\">\r\n
\r\n \"something\r\n {{'GENERICS.UPDATED_ERROR' | translate}}\r\n \r\n \r\n {{ 'Refresh' | translate }}\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { GetMethods, Methods, PutMethods, PostMethods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ConfigByDomain, ConfigSite, OpenTicketDTO, ResponseData, SiteProfile, SubjectFields, SubjectTickets, UserBySite, WebsiteFieldsSetup, WebsiteSetup, WebsiteSetup_SiteProfile, siteTag, siteTagTEMP } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { CdkDragDrop, moveItemInArray, CdkDragPlaceholder } from '@angular/cdk/drag-drop';\r\nimport { AllSiteList, ClientTypeList, Filters } from '@methods/constants';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport Swal from 'sweetalert2';\r\ndeclare const bootstrap: any;\r\n\r\n@Component({\r\n selector: 'app-website-setup',\r\n templateUrl: './website-setup.component.html'\r\n})\r\nexport class WebsiteSetupComponent implements OnInit {\r\n public load: boolean = false;\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n userLogin: User;\r\n // -- WEBSITE AND AGENT SITE TAB MODAL --\r\n websiteTabModal: any;\r\n viewConfigProfile: boolean = false;\r\n\r\n ctsAdminModal: any;\r\n eposModal: any;\r\n eposAdminModal: any;\r\n allSitesModal: any;\r\n\r\n AllSiteList: Filters[];\r\n\r\n _configData: ConfigSite;\r\n messageSuccess: boolean = false;\r\n messageError: boolean = false;\r\n\r\n _model: any = {};\r\n getFieldsAllSites: boolean = false;\r\n selectPlayerAgent: boolean = false;\r\n SubSelected: string = \"\";\r\n listFields: SubjectFields[];\r\n\r\n _userInfoCTS: User;\r\n _AllSitesToUpdate: number = 1;\r\n\r\n _listSubjects: SubjectTickets[];\r\n _WebSetupItemUpdate: WebsiteSetup;\r\n\r\n _listWebSites: any;\r\n _listDomains: ConfigByDomain[];\r\n _listAgentWebSites: siteTag[];\r\n _listCTSAdminWebSites: siteTag[];\r\n _listEposWebSites: siteTag[];\r\n _listEposAdminWebSites: siteTag[];\r\n\r\n\r\n _listsUserSites: UserBySite[];\r\n _listsUserAgentSites: UserBySite[];\r\n _listsUserCTSAdminSites: UserBySite[];\r\n _listsUserEposSites: UserBySite[];\r\n _listsUserEposAdminSites: UserBySite[];\r\n\r\n _listWebSitesTEMP: siteTagTEMP[] = [];\r\n _listWebSitesSetup: WebsiteSetup[] = [];\r\n\r\n _listAgentWebSitesTEMP: siteTagTEMP[] = [];\r\n _listAgentWebSitesSetup: WebsiteSetup[] = [];\r\n\r\n _listCTSAdminWebSitesTEMP: siteTagTEMP[] = [];\r\n _listCTSAdminWebSitesSetup: WebsiteSetup[] = [];\r\n\r\n _listEposWebSitesTEMP: siteTagTEMP[] = [];\r\n _listEposWebSitesSetup: WebsiteSetup[] = [];\r\n\r\n _listEposAdminWebSitesTEMP: siteTagTEMP[] = [];\r\n _listEposAdminWebSitesSetup: WebsiteSetup[] = [];\r\n\r\n _listAllSitesToUpdate: siteTagTEMP[] = [];\r\n\r\n _checked: boolean = true;\r\n _checkedAgentSite: boolean = true;\r\n _checkedCTSAdmin: boolean = true;\r\n _checkedEpos: boolean = true;\r\n _checkedEposAdmin: boolean = true;\r\n _checkedAll: boolean = false;\r\n\r\n _NewSubject: SubjectTickets = new SubjectTickets();\r\n _NewSTEMP: siteTagTEMP;\r\n\r\n idSub: any = 1;\r\n idSiteSelected: any = 1;\r\n idAgentSiteSelected: any = 1;\r\n idCtsAdminSiteSelected: any = 1;\r\n idEposSiteSelected: any = 1;\r\n idEposAdminSiteSelected: any = 1;\r\n\r\n description2: any;\r\n description: any = \"Select Site\";\r\n\r\n /* Ticket Center Website Setup */\r\n idWebsiteSelected: any = 0;\r\n idDomainSelected: any = 0;\r\n ticketCenterSelected: any = 0;\r\n languageSelected: any = '';\r\n spanishSelected: boolean;\r\n englishSelected: boolean;\r\n newDomainInfo: ConfigByDomain = new ConfigByDomain;\r\n\r\n descriptionAgents: any;\r\n descriptionA: any = \"Select Site\";\r\n\r\n descriptionCTSAdmin: any;\r\n descriptionCTSAdmin2: any = \"Select Site\";\r\n\r\n descriptionEpos: any;\r\n descriptionEpos2: any = \"Select Site\";\r\n\r\n descriptionEposAdmin: any;\r\n descriptionEposAdmin2: any = \"Select Site\";\r\n\r\n viewSortAgents: boolean = false;\r\n viewSortPlayers: boolean = false;\r\n viewSortCTSAdmin: boolean = false;\r\n viewSortEpos: boolean = false;\r\n viewSortEposAdmin: boolean = false;\r\n\r\n\r\n _listSubjectFields: WebsiteFieldsSetup[] = [];\r\n\r\n UseProfile: WebsiteSetup_SiteProfile = new WebsiteSetup_SiteProfile();\r\n listAllWebsiteProfiles: SiteProfile[] = [];\r\n\r\n clicks: number = 0;\r\n type: any = 'Select option';\r\n\r\n constructor(private _apiService: ApiService, private _mediaService: MediaService, private _notificationService: NotificationService, private _translateService: TranslateService) {\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n\r\n AllSiteList.forEach(e => {\r\n e.label = this.TranslateText(e.label)\r\n })\r\n\r\n this.AllSiteList = AllSiteList;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this._userInfoCTS = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n\r\n this.GetSubjects();\r\n // // verificar que tenga acceso a todos los sitios o solo algunos!!!\r\n this.SelectSites();\r\n this.UpdateOpenTicketStatus();\r\n this.GetAllWebsitesProfiles();\r\n this.UseProfile.siteList = [];\r\n this.getWebsiteDomainInfo(1);\r\n this.InitModals();\r\n }\r\n\r\n SuccessProcess() {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n\r\n tabSelected(event: any) {\r\n\r\n }\r\n\r\n ErrorProcess() {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n\r\n UpdateOpenTicketStatus() {\r\n\r\n let obj: OpenTicketDTO = new OpenTicketDTO();\r\n obj.IdTicket = 0;\r\n obj.openStatus = false;\r\n obj.User = this._userInfoCTS.idUser;\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_TICKET_STATUS}`;\r\n\r\n this._apiService.apiPostMethod(URL, obj).subscribe({\r\n next: (result: ResponseData) => {},\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n }\r\n });\r\n }\r\n\r\n SelectSites() {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.GetAllSites();\r\n }\r\n else {\r\n this.GetSitesByUser();\r\n }\r\n }\r\n\r\n GetSubjects() {\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SUBJECTS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listSubjects = result.data;\r\n this.CreateListUpdateAllSites();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n GetAllSites() {\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listWebSites = this._listAgentWebSites = this._listCTSAdminWebSites = this._listEposWebSites = this._listEposAdminWebSites = result.data;\r\n this.description = this.descriptionAgents = this.descriptionCTSAdmin = this.descriptionEpos = this.descriptionEposAdmin = this._listWebSites[0].description;\r\n this.onChange(\"\", 1);\r\n this.onChangeAgentWebsite(\"\", 1);\r\n this.onChangeCTSAdmin(\"\", 1);\r\n this.onChangeEpos(\"\", 1);\r\n this.onChangeEposAdmin(\"\", 1);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n GetSitesByUser() {\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SITE_BY_USER + this._userInfoCTS.idUser}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n this._listsUserSites = this._listsUserAgentSites = this._listsUserCTSAdminSites = this._listsUserEposSites = this._listsUserEposAdminSites = result.data;\r\n\r\n this.description = this.descriptionAgents = this.descriptionCTSAdmin = this.descriptionEpos = this.descriptionEposAdmin = this._listsUserSites[0].name;\r\n this.onChange(\"\", result.data[0].idSite);\r\n this.onChangeAgentWebsite(\"\", result.data[0].idSite);\r\n this.onChangeCTSAdmin(\"\", result.data[0].idSite);\r\n this.onChangeEpos(\"\", result.data[0].idSite);\r\n this.onChangeEposAdmin(\"\", result.data[0].idSite);\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n CreateListUpdateAllSites() {\r\n this._listSubjects.forEach(element => {\r\n let newItem: siteTagTEMP = {\r\n idSiteTag: this._userInfoCTS.idUser, // enviar en este espacio el idUser para verificar si tiene acceso a todos los sitios\r\n description: element.subjectName,\r\n idSubject: element.idSubject,\r\n subjectName: element.subjectName,\r\n isActive: false,\r\n position: 500,\r\n descriptionSubject: element.description\r\n };\r\n\r\n this._listAllSitesToUpdate.push(newItem);\r\n\r\n });\r\n }\r\n\r\n onChange(event: any, idSite: number) {\r\n\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idSiteSelected = (idSite != 0) ? idSite : this._listWebSites.find((x: { idSiteTag: number; }) => x.idSiteTag == event.value).idSiteTag;\r\n } else {\r\n this.idSiteSelected = (idSite != 0) ? idSite : this._listsUserSites.find(x => x.name == event.value)?.idSite;\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_WEBSITE_SETUP_BY_SITE + this.idSiteSelected}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.length > 0) {\r\n this._listWebSitesSetup = result.data;\r\n this.test(event, this.idSiteSelected);\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n onChangeAgentWebsite(event: any, idSite: number) {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idAgentSiteSelected = (idSite != 0) ? idSite : this._listAgentWebSites.find((x: { idSiteTag: number; }) => x.idSiteTag == event.value)?.idSiteTag;\r\n } else {\r\n this.idAgentSiteSelected = (idSite != 0) ? idSite : this._listsUserAgentSites.find(x => x.name == event)?.idSite;\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_AGENTS_WEBSITE_SETUP_BY_SITE + this.idAgentSiteSelected}`;\r\n //this._apiService.apiPostMethod(URL, this.newDomainInfo).subscribe({\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.length > 0) {\r\n this._listAgentWebSitesSetup = result.data;\r\n this.testAgent(event, this.idAgentSiteSelected);\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n\r\n onChangeCTSAdmin(event: any, idSite: number) {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idCtsAdminSiteSelected = (idSite != 0) ? idSite : this._listCTSAdminWebSites.find((x: { idSiteTag: number; }) => x.idSiteTag == event.value)?.idSiteTag;\r\n } else {\r\n this.idCtsAdminSiteSelected = (idSite != 0) ? idSite : this._listsUserCTSAdminSites.find(x => x.name == event)?.idSite;\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_CTS_ADMINWEBSITE_SETUP_BY_ID_SITE + this.idCtsAdminSiteSelected}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (result.data.length > 0) {\r\n this._listCTSAdminWebSitesSetup = result.data;\r\n this.CreateListCTSAdmin(event, this.idCtsAdminSiteSelected);\r\n }\r\n } else {\r\n this.ErrorProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n onChangeEpos(event: any, idSite: number) {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idEposSiteSelected = (idSite != 0) ? idSite : this._listEposWebSites.find((x: { idSiteTag: number; }) => x.idSiteTag == event.value)?.idSiteTag;\r\n } else {\r\n this.idEposSiteSelected = (idSite != 0) ? idSite : this._listsUserEposSites.find(x => x.name == event)?.idSite;\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_EPOS_SETUP_BY_ID_SITE + this.idEposSiteSelected}`;\r\n //this._apiService.apiPostMethod(URL, this.UseProfile).subscribe({\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listEposWebSitesSetup = result.data;\r\n this.CreateListEpos(event, this.idEposSiteSelected);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onChangeEposAdmin(event, idSite: number) {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idEposAdminSiteSelected = (idSite != 0) ? idSite : this._listEposAdminWebSites.find((x: { idSiteTag: number; }) => x.idSiteTag == event.value)?.idSiteTag;\r\n } else {\r\n this.idEposAdminSiteSelected = (idSite != 0) ? idSite : this._listsUserEposAdminSites.find(x => x.name == event)?.idSite;\r\n }\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_EPOS_ADMIN_SETUP_BY_ID_SITE + this.idEposAdminSiteSelected}`;\r\n //this._apiService.apiPostMethod(URL, this._listEposWebSitesTEMP).subscribe({\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listEposAdminWebSitesSetup = result.data;\r\n this.CreateListEposAdmin(event, this.idEposSiteSelected);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n /* Ticket Center */\r\n getWebsiteDomainInfo(idSite: number) {\r\n this.idWebsiteSelected = idSite;\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DOMAIN_BY_ID_SITE + this.idWebsiteSelected}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listDomains = result.data;\r\n if (this._listDomains.length != 0) {\r\n this._listDomains = result.data;\r\n this.idDomainSelected = this._listDomains[0].idConfigByDomain;\r\n this.getDomainInfo();\r\n } else {\r\n this.getWebsiteDomainInfo(1);\r\n this.ErrorProcess();\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n // this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n getDomainInfo() {\r\n this.ticketCenterSelected = this._listDomains.find(x => x.idConfigByDomain == this.idDomainSelected)?.idSiteType;\r\n this.languageSelected = this._listDomains.find(x => x.idConfigByDomain == this.idDomainSelected)?.language;\r\n\r\n if (this.languageSelected == \"en\") {\r\n this.spanishSelected = false;\r\n this.englishSelected = true;\r\n } else {\r\n this.spanishSelected = true;\r\n this.englishSelected = false;\r\n }\r\n }\r\n\r\n onChangeDomain() {\r\n this.getDomainInfo();\r\n }\r\n\r\n onChangeWebsiteTicket(event: any) {\r\n if (this._userInfoCTS.accessAllSites) {\r\n this.idWebsiteSelected = event.value;\r\n this.getWebsiteDomainInfo(this.idWebsiteSelected);\r\n }\r\n }\r\n\r\n onHelpTicketChange(event: any) {\r\n if (event.target.checked) {\r\n this.ticketCenterSelected = 1;\r\n }\r\n this.UpdateDomainByIdSite();\r\n }\r\n\r\n onPartnersTicketChange(event: any) {\r\n if (event.target.checked) {\r\n this.ticketCenterSelected = 2;\r\n }\r\n this.UpdateDomainByIdSite();\r\n }\r\n\r\n onInternalTicketChange(event: any) {\r\n if (event.target.checked) {\r\n this.ticketCenterSelected = 3;\r\n }\r\n this.UpdateDomainByIdSite();\r\n }\r\n\r\n\r\n onChangeSpanishSelected(event: any) {\r\n if (event.target.checked) {\r\n this.spanishSelected = true;\r\n this.englishSelected = false;\r\n this.languageSelected = \"es\"\r\n } else if (!event.target.checked) {\r\n this.spanishSelected = false;\r\n this.englishSelected = true;\r\n this.languageSelected = \"en\"\r\n }\r\n this.UpdateDomainByIdSite();\r\n }\r\n\r\n onChangeEnglishSelected(event: any) {\r\n if (event.target.checked) {\r\n this.englishSelected = true;\r\n this.spanishSelected = false;\r\n this.languageSelected = \"en\"\r\n } else if (!event.target.checked) {\r\n this.englishSelected = false;\r\n this.spanishSelected = true;\r\n this.languageSelected = \"es\"\r\n }\r\n this.UpdateDomainByIdSite();\r\n }\r\n\r\n UpdateDomainByIdSite() {\r\n this.newDomainInfo.idConfigByDomain = this.idDomainSelected;\r\n this.newDomainInfo.language = this.languageSelected;\r\n this.newDomainInfo.idSiteType = this.ticketCenterSelected;\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_DOMAIN_BY_ID_SITE}`;\r\n this._apiService.apiPostMethod(URL, this.newDomainInfo).subscribe({\r\n\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n /* ********************* */\r\n\r\n\r\n\r\n test(description: any, idSite: number) {\r\n this._listWebSitesTEMP = [];\r\n\r\n if (this._listSubjects.length > 0) {\r\n this._checked = true;\r\n\r\n this._listSubjects.forEach(element => {\r\n\r\n var temp = this._listWebSitesSetup.find(x => x.idSubject == element.idSubject);\r\n\r\n if (temp != undefined && temp != null) {\r\n if (temp.isActive == false) {\r\n this._checked = false;\r\n }\r\n this._NewSTEMP = {\r\n idSiteTag: temp.idSite, description: description,\r\n idSubject: element.idSubject, subjectName: element.subjectName, isActive: temp.isActive,\r\n position: temp.position, descriptionSubject: element.description\r\n }\r\n }\r\n else {\r\n this._checked = false;\r\n this._NewSTEMP = {\r\n idSiteTag: 1, description: description, idSubject: element.idSubject,\r\n subjectName: element.subjectName, isActive: false, position: 500, descriptionSubject: element.description\r\n }\r\n }\r\n this._listWebSitesTEMP.push(this._NewSTEMP);\r\n\r\n\r\n\r\n });\r\n this._listWebSitesTEMP.sort((a, b) => a.position - b.position); // Ascending sort\r\n\r\n }\r\n this.load = true;\r\n }\r\n\r\n\r\n testAgent(description: any, idSite: number) {\r\n this._listAgentWebSitesTEMP = [];\r\n\r\n if (this._listSubjects.length > 0) {\r\n this._checkedAgentSite = true;\r\n\r\n this._listSubjects.forEach(element => {\r\n\r\n var temp = this._listAgentWebSitesSetup.find(x => x.idSubject == element.idSubject);\r\n\r\n if (temp != undefined && temp != null) {\r\n if (temp.isActive == false) {\r\n this._checkedAgentSite = false;\r\n }\r\n this._NewSTEMP = {\r\n idSiteTag: temp.idSite, description: description,\r\n idSubject: element.idSubject, subjectName: element.subjectName, isActive: temp.isActive,\r\n position: temp.position, descriptionSubject: element.description\r\n }\r\n }\r\n else {\r\n this._checkedAgentSite = false;\r\n this._NewSTEMP = {\r\n idSiteTag: 1, description: description, idSubject: element.idSubject,\r\n subjectName: element.subjectName, isActive: false, position: 500, descriptionSubject: element.description\r\n }\r\n }\r\n this._listAgentWebSitesTEMP.push(this._NewSTEMP);\r\n\r\n });\r\n\r\n this._listAgentWebSitesTEMP.sort((a, b) => a.position - b.position); // Ascending sort\r\n\r\n }\r\n this.load = true;\r\n }\r\n\r\n\r\n\r\n CreateListCTSAdmin(description: any, idSite: number) {\r\n this._listCTSAdminWebSitesTEMP = [];\r\n\r\n if (this._listSubjects.length > 0) {\r\n this._checkedCTSAdmin = true;\r\n\r\n this._listSubjects.forEach(element => {\r\n\r\n var temp = this._listCTSAdminWebSitesSetup.find(x => x.idSubject == element.idSubject);\r\n\r\n if (temp != undefined && temp != null) {\r\n if (temp.isActive == false) {\r\n this._checkedCTSAdmin = false;\r\n }\r\n this._NewSTEMP = {\r\n idSiteTag: temp.idSite, description: description,\r\n idSubject: element.idSubject, subjectName: element.subjectName, isActive: temp.isActive,\r\n position: temp.position, descriptionSubject: element.description\r\n }\r\n }\r\n else {\r\n this._checkedCTSAdmin = false;\r\n this._NewSTEMP = {\r\n idSiteTag: 1, description: description, idSubject: element.idSubject,\r\n subjectName: element.subjectName, isActive: false, position: 500, descriptionSubject: element.description\r\n }\r\n }\r\n this._listCTSAdminWebSitesTEMP.push(this._NewSTEMP);\r\n });\r\n this._listCTSAdminWebSitesTEMP.sort((a, b) => a.position - b.position); // Ascending sort\r\n }\r\n this.load = true;\r\n }\r\n\r\n\r\n // Editar para cada uno de los sitios\r\n\r\n UpdateItemWebsiteSetup(event: any, idSite: number, idSubject: number) {\r\n\r\n this._WebSetupItemUpdate = { idWebsiteSetup: 0, idSite: this.idSiteSelected, idSubject: idSubject, isActive: event.checked, position: 0 }\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_WEBSITE_SETUP}`;\r\n //\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n this.onChange(\"\", this.idSiteSelected)\r\n } else {\r\n this.ErrorProcess()\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateAllItemWebsiteSetup(event: any) {\r\n\r\n this._listWebSitesTEMP.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSiteTag = this.idSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_WEBSITE_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n UpdateAllItemCtsAdminWebsiteSetup(event: any) {\r\n this._listCTSAdminWebSitesTEMP.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSiteTag = this.idSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_CTS_ADMIN_WEBSITES_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listCTSAdminWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateItemCtsAdminWebsiteSetup(event: any, idSite: number, idSubject: number) {\r\n this._WebSetupItemUpdate = { idWebsiteSetup: 0, idSite: this.idCtsAdminSiteSelected, idSubject: idSubject, isActive: event.checked, position: 0 }\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_CTS_ADMIN_WEBSITE_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n this.onChangeCTSAdmin(\"\", this.idCtsAdminSiteSelected)\r\n } else {\r\n this.ErrorProcess()\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n\r\n UpdateItemAgentWebsiteSetup(event: any, idSite: number, idSubject: number) {\r\n this._WebSetupItemUpdate = { idWebsiteSetup: 0, idSite: this.idAgentSiteSelected, idSubject: idSubject, isActive: event.checked, position: 0 }\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_WEBSITE_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n this.onChangeAgentWebsite(\"\", this.idAgentSiteSelected)\r\n } else {\r\n this.ErrorProcess()\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateAllItemAgentWebsiteSetup(event: any) {\r\n this._listAgentWebSitesTEMP.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSiteTag = this.idAgentSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_AGENT_WEBSITE_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n } else {\r\n this.ErrorProcess()\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n // Termina el editar para cada uno de los sitios\r\n\r\n // Editar todoos los sitios de una vez\r\n\r\n SelectAllSitesConfiguration(event: any) {\r\n this._listAllSitesToUpdate.forEach(element => {\r\n element.isActive = event.checked;\r\n });\r\n }\r\n\r\n SelectItemConfigurationForAllSites(event: any, idSubject: number) {\r\n this._listAllSitesToUpdate.forEach(element => {\r\n if (element.idSubject == idSubject) {\r\n element.isActive = event.checked;\r\n }\r\n });\r\n }\r\n\r\n SaveChangeToAllSites() { // El id verifica si se editan todos los sites o agent site FALTA EN EL NUEVO API.. // no esta en swagger\r\n\r\n Swal.fire({\r\n text: \"This action will update all sites, are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n\r\n const URLPARAM = (this._AllSitesToUpdate == 1) ? Methods.POST_SAVE_UPDATE_FOR_ALL_SITES : Methods.POST_SAVE_UPDATE_FOR_ALL_AGENT_SITES;\r\n const URL = `${environment.WebApiUrl + URLPARAM}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listAllSitesToUpdate).subscribe({\r\n next: (result: any) => {\r\n if (result == \"1\") {\r\n this.SuccessProcess();\r\n } else {\r\n this.ErrorProcess()\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n })\r\n\r\n }\r\n\r\n onChangeUpdateAllSites(event: any) {\r\n this.type = this.AllSiteList.find(e => e.value == event.value)?.label;\r\n\r\n this._AllSitesToUpdate = event.value;\r\n }\r\n\r\n SelectAllAgentSitesConfiguration(event: boolean) {\r\n this._listAllSitesToUpdate.forEach(element => {\r\n element.isActive = event;\r\n });\r\n }\r\n\r\n SelectItemConfigurationForAllAgentSites(event: boolean, idSubject: number) {\r\n this._listAllSitesToUpdate.forEach(element => {\r\n if (element.idSubject == idSubject) {\r\n element.isActive = event;\r\n }\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n moveItemInArray(this._listAgentWebSitesTEMP, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropWebsite(event: CdkDragDrop) {\r\n moveItemInArray(this._listWebSitesTEMP, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropWebsiteCTSAdmin(event: CdkDragDrop) {\r\n moveItemInArray(this._listCTSAdminWebSitesTEMP, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropFields(event: CdkDragDrop) {\r\n moveItemInArray(this._listSubjectFields, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropFieldAllSite(event: CdkDragDrop) {\r\n moveItemInArray(this.listFields, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropWebsiteEpos(event: CdkDragDrop) {\r\n moveItemInArray(this._listEposWebSitesTEMP, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n dropWebsiteEposAdmin(event: CdkDragDrop) {\r\n moveItemInArray(this._listEposAdminWebSitesTEMP, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n changeViewAgents() {\r\n this.viewSortAgents = !this.viewSortAgents;\r\n if (this.viewSortAgents == false) {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_AGENT_WEBSITE}`;\r\n this._apiService.apiPostMethod(URL, this._listAgentWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n changeViewSites() {\r\n this.viewSortPlayers = !this.viewSortPlayers;\r\n\r\n if (this.viewSortPlayers == false) {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_WEBSITE_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n changeViewCTSSites() {\r\n this.viewSortPlayers = !this.viewSortPlayers;\r\n\r\n if (this.viewSortPlayers == false) {\r\n const URL = `${environment.WebApiUrl + Methods.UPDATE_SORT_WEBSITE_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n //Manipular fields por website\r\n\r\n CloseTableFieldsAnsSaveOrder() {\r\n this.websiteTabModal.hide();\r\n if (this.selectPlayerAgent == true) { // true == player\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_WEBSITE_FIELD_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n if (this.selectPlayerAgent == false) { // false == agent\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_AGENT_WEBSITE_FIELD_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n GetFieldsBySite(item: any, selector: boolean) {\r\n this.selectPlayerAgent = selector;\r\n this.SubSelected = item.subjectName;\r\n\r\n const URL_PARAM = (selector) ? GetMethods.GET_SUBJECT_FIELD_BY_SITE : GetMethods.GET_SUBJECT_FIELD_BY_AGENT_SITE;\r\n const URL = `${environment.WebApiUrl + URL_PARAM + this.idSiteSelected + '&IdSubject=' + item.idSubject}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (Array.isArray(result.data)) {\r\n this._listSubjectFields = result.data;\r\n this.websiteTabModal.show();\r\n }else{\r\n this._listSubjectFields = [];\r\n this.websiteTabModal.show();\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n\r\n GetFieldsByCTSAdmin(item: any) { //IdSubject\r\n this.SubSelected = item.subjectName;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_CTS_ADMIN_SITE + this.idCtsAdminSiteSelected + '&IdSubject=' + item.idSubject}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n\r\n this.ctsAdminModal.show();\r\n this._listSubjectFields = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n CloseCTSAdminFieldsAnsSaveOrder() {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_CTS_ADMIN_WEBSITE_FIELD_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.ctsAdminModal.hide();\r\n this.SuccessProcess();\r\n } else {\r\n this.ErrorProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n UpdateItemWebsiteFieldSetup(event: any, config: WebsiteFieldsSetup) {\r\n config.isActive = event.checked;\r\n\r\n const URL_PARAM = (this.selectPlayerAgent) ? PutMethods.UPDATE_ITEM_WEBSITE_FIELD_SETUP : PutMethods.UPDATE_ITEM_AGENT_WEBSITE_FIELD_SETUP;\r\n const URL = `${environment.WebApiUrl + URL_PARAM}`;\r\n\r\n this._apiService.apiPostMethod(URL, config).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if (this.selectPlayerAgent) {\r\n this.onChange(\"\", this.idSiteSelected)\r\n } else {\r\n this.onChangeAgentWebsite(\"\", this.idAgentSiteSelected);\r\n }\r\n this.SuccessProcess();\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateAllItemWebsiteFieldSetup(event: any) {\r\n if (this.selectPlayerAgent == true) { //true = player\r\n this._listSubjectFields.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSite = this.idSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_WEBSITE_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n if (this.selectPlayerAgent == false) { //false = agent\r\n this._listSubjectFields.forEach(element => {\r\n element.isActive = event;\r\n element.idSite = this.idAgentSiteSelected;\r\n });\r\n const URL = `${environment.WebApiUrl + Methods.UPDATE_ALL_ITEM_AGENT_WEBSITE_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: any) => {\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n }\r\n\r\n SelectAllItemFieldsForAllSites(event: any) {\r\n this.listFields.forEach(element => {\r\n element.isActive = event.checked;\r\n });\r\n\r\n }\r\n\r\n SelectItemFieldsForAllSites(event: any, idSubjectField: number) {\r\n this.listFields.forEach(element => {\r\n if (element.idSubjectField == idSubjectField) {\r\n element.isActive = event.checked;\r\n }\r\n });\r\n }\r\n\r\n closeWindow() {\r\n // this.getFieldsAllSites = false;\r\n this.allSitesModal.hide();\r\n }\r\n\r\n SaveChangeFieldsToAllSites() { // El id verifica si se editan todos los sites o agent site\r\n\r\n // this.getFieldsAllSites = false;\r\n\r\n this._listSubjectFields = [];\r\n this.listFields.forEach(element => {\r\n let newItem: WebsiteFieldsSetup = {\r\n idWebsiteFieldsSetup: 0,\r\n idSite: this._userInfoCTS.idUser, // enviar en este espacio el idUser para verificar si tiene acceso a todos los sitios\r\n idSubjectField: element.idSubjectField,\r\n idSubject: element.idSubject,\r\n isActive: element.isActive,\r\n position: 500,\r\n name: \"\",\r\n formType: element.formType,\r\n spanishTranslation: element.spanishTranslation,\r\n portugueseTranslation: element.portugueseTranslation\r\n };\r\n this._listSubjectFields.push(newItem);\r\n });\r\n\r\n if (this._AllSitesToUpdate == 1) { // Edita los sites\r\n\r\n //FALTA FAVOR DE REVISAR // no esta en swagger\r\n const URL = `${environment.WebApiUrl + Methods.POST_SAVE_UPDATE_FIELDS_FOR_ALL_SITES}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: any) => {\r\n if (result == \"1\") {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n if (this._AllSitesToUpdate == 2) { // Edita los agent sites\r\n //FALTA FAVOR DE REVISAR // no esta en swagger\r\n const URL = `${environment.WebApiUrl + Methods.POST_SAVE_UPDATE_FIELDS_FOR_ALL_AGENT_SITES}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: any) => {\r\n if (result == \"1\") {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n\r\n EditAllFieldsAllSites(item: any, selector: boolean) { //IdSubject\r\n this.SubSelected = item.subjectName;\r\n //ConfigWebsiteFields\r\n // this.getFieldsAllSites = true;\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_ID + item.idSubject}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.allSitesModal.show();\r\n this.listFields = result.data;\r\n this.listFields.forEach(element => {\r\n element.isActive = false;\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateItemCTSAdminWebsiteFieldSetup(event: any, config: WebsiteFieldsSetup) {\r\n config.isActive = event.checked;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_CTS_ADMIN_WEBSITE_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, config).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onChangeCTSAdmin(\"\", this.idSiteSelected)\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n\r\n UpdateAllItemCtsAdminFieldSetup(event: any) {\r\n this._listSubjectFields.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSite = this.idCtsAdminSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + Methods.UPDATE_ALL_ITEM_CTS_ADMIN_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n OrderCTSAdmin() {\r\n this.viewSortCTSAdmin = !this.viewSortCTSAdmin;\r\n if (this.viewSortCTSAdmin == false) {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_CTS_ADMIN_WEBSITE_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listCTSAdminWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n }\r\n // PROFILES\r\n\r\n GetAllWebsitesProfiles() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_WEBSITES_PROFILES}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: any) => {\r\n this.listAllWebsiteProfiles = result.data;\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this.onClick();\r\n //this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n ConfigProfile(websiteType: number) {\r\n this.viewConfigProfile = !this.viewConfigProfile;\r\n this.UseProfile.siteList = [];\r\n this.UseProfile.idWebsiteType = websiteType;\r\n switch (websiteType) {\r\n case 1: {\r\n this._model.profile = \"Website\";\r\n break;\r\n }\r\n case 2: {\r\n this._model.profile = \"Agent Site\";\r\n break;\r\n }\r\n case 3: {\r\n this._model.profile = \"CTS Admin\";\r\n break;\r\n }\r\n case 4: {\r\n this._model.profile = \"Epos\";\r\n break;\r\n }\r\n case 5: {\r\n this._model.profile = \"Epos Admin\";\r\n break;\r\n }\r\n default: {\r\n this._model.profile = \"\";\r\n this._model.site = null;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n\r\n GetIdSiteToProfile() {\r\n if (this._model.site != null) {\r\n this.UseProfile.siteList.push(this._model.site)\r\n }\r\n }\r\n\r\n DeleteSiteToProfile(site: any) {\r\n if (site != null) {\r\n const index: number = this.UseProfile.siteList.indexOf(site);\r\n this.UseProfile.siteList.splice(index, 1);\r\n }\r\n }\r\n\r\n SelectProfile() { }\r\n\r\n SaveProfileConfiguration() { // NO EXISTE FAVOR DE REVISAR // no esta en swagger\r\n if (this.UseProfile != null) {\r\n this.load = false;\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_INSERT_WEBSITE_CONFIG_BY_PROFILE}`;\r\n this._apiService.apiPostMethod(URL, this.UseProfile).subscribe({\r\n next: (result: any) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n this.ConfigProfile(0);\r\n this.SelectSites();\r\n this.load = true;\r\n this.UseProfile.idSiteProfile = 0;\r\n }\r\n else {\r\n this.ErrorProcess();\r\n this.ConfigProfile(0);\r\n this.load = true;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n CreateListEpos(description: any, idSite: number) {\r\n this._listEposWebSitesTEMP = [];\r\n\r\n if (this._listSubjects.length > 0) {\r\n this._checkedEpos = true;\r\n\r\n this._listSubjects.forEach(element => {\r\n\r\n var temp = this._listEposWebSitesSetup.find(x => x.idSubject == element.idSubject);\r\n\r\n if (temp != undefined && temp != null) {\r\n if (temp.isActive == false) {\r\n this._checkedEpos = false;\r\n }\r\n this._NewSTEMP = {\r\n idSiteTag: temp.idSite, description: description,\r\n idSubject: element.idSubject, subjectName: element.subjectName, isActive: temp.isActive,\r\n position: temp.position, descriptionSubject: element.description\r\n }\r\n }\r\n else {\r\n this._checkedEpos = false;\r\n this._NewSTEMP = {\r\n idSiteTag: 1, description: description, idSubject: element.idSubject,\r\n subjectName: element.subjectName, isActive: false, position: 500, descriptionSubject: element.description\r\n }\r\n }\r\n this._listEposWebSitesTEMP.push(this._NewSTEMP);\r\n\r\n\r\n\r\n });\r\n this._listEposWebSitesTEMP.sort((a, b) => a.position - b.position); // Ascending sort\r\n\r\n }\r\n this.load = true;\r\n }\r\n\r\n\r\n UpdateAllItemEposWebsiteSetup(event: any) { //NO EXISTE FAVOR DE REVISAR // no esta en swagger\r\n\r\n this._listEposWebSitesTEMP.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSiteTag = this.idSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + Methods.POST_UPDATE_ALL_ITEM_EPOS_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listEposWebSitesTEMP).subscribe({\r\n next: (result: any) => {\r\n\r\n if (result == \"1\") {\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n UpdateItemEposWebsiteSetup(event: any, idSite: number, idSubject: number) {\r\n\r\n this._WebSetupItemUpdate = { idWebsiteSetup: 0, idSite: this.idEposSiteSelected, idSubject: idSubject, isActive: event.checked, position: 0 }\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_EPOS_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onChangeEpos(\"\", this.idEposSiteSelected)\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n GetFieldsByEpos(item: any) { //IdSubject\r\n //ConfigWebsiteFields\r\n // this._model.getFieldsEpos = true;\r\n this.SubSelected = item.subjectName;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_EPOS_SITE + this.idEposSiteSelected + '&IdSubject=' + item.idSubject}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._listSubjectFields = result.data;\r\n this.eposModal.show();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n CloseEposFieldsAnsSaveOrder() {\r\n // this._model.getFieldsEpos = false;\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_EPOS_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n this.eposModal.hide();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateItemEposWebsiteFieldSetup(event: any, config: WebsiteFieldsSetup) {\r\n config.isActive = event.checked;\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_EPOS_FIELD_SETUP}`;\r\n this._apiService.apiPostMethod(URL, config).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onChangeEpos(\"\", this.idSiteSelected)\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n\r\n UpdateAllItemEposFieldSetup(event) {\r\n this._listSubjectFields.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSite = this.idEposSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_EPOS_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n OrderEpos() {\r\n this.viewSortEpos = !this.viewSortEpos;\r\n if (this.viewSortEpos == false) {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_EPOS_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listEposWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n CreateListEposAdmin(description: any, idSite: number) {\r\n this._listEposAdminWebSitesTEMP = [];\r\n\r\n if (this._listSubjects.length > 0) {\r\n this._checkedEposAdmin = true;\r\n\r\n this._listSubjects.forEach(element => {\r\n\r\n var temp = this._listEposAdminWebSitesSetup.find(x => x.idSubject == element.idSubject);\r\n\r\n if (temp != undefined && temp != null) {\r\n if (temp.isActive == false) {\r\n this._checkedEposAdmin = false;\r\n }\r\n this._NewSTEMP = {\r\n idSiteTag: temp.idSite, description: description,\r\n idSubject: element.idSubject, subjectName: element.subjectName, isActive: temp.isActive,\r\n position: temp.position, descriptionSubject: element.description\r\n }\r\n }\r\n else {\r\n this._checkedEposAdmin = false;\r\n this._NewSTEMP = {\r\n idSiteTag: 1, description: description, idSubject: element.idSubject,\r\n subjectName: element.subjectName, isActive: false, position: 500, descriptionSubject: element.description\r\n }\r\n }\r\n this._listEposAdminWebSitesTEMP.push(this._NewSTEMP);\r\n });\r\n this._listEposAdminWebSitesTEMP.sort((a, b) => a.position - b.position); // Ascending sort\r\n\r\n }\r\n this.load = true;\r\n }\r\n\r\n UpdateAllItemEposAdminWebsiteSetup(event: any) {\r\n\r\n this._listEposAdminWebSitesTEMP.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSiteTag = this.idSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_EPOS_ADMIN_SETUP}`;\r\n this._apiService.apiPostMethod(URL, this._listEposAdminWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateItemEposAdminWebsiteSetup(event: any, idSite: number, idSubject: number) {\r\n this._WebSetupItemUpdate = { idWebsiteSetup: 0, idSite: this.idEposAdminSiteSelected, idSubject: idSubject, isActive: event.checked, position: 0 }\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_EPOS_ADMIN_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._WebSetupItemUpdate).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onChangeEposAdmin(\"\", this.idEposAdminSiteSelected);\r\n this.SuccessProcess();\r\n } else {\r\n this.ErrorProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n GetFieldsByEposAdmin(item: any) { //IdSubject\r\n //ConfigWebsiteFields\r\n // this._model.getFieldsEposAdmin = true;\r\n this.SubSelected = item.subjectName;\r\n\r\n const URL = `${environment.WebApiUrl + Methods.GET_SUBJET_FIELD_BY_EPOS_ADMIN_SITE + this.idEposAdminSiteSelected + '&IdSubject=' + item.idSubject}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.eposAdminModal.show();\r\n this._listSubjectFields = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n CloseEposAdminFieldsAnsSaveOrder() {\r\n // this._model.getFieldsEposAdmin = false;\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_EPOS_ADMIN_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.eposAdminModal.hide();\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateItemEposAdminWebsiteFieldSetup(event: any, config: WebsiteFieldsSetup) {\r\n config.isActive = event.checked;\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ITEM_EPOS_ADMIN_FIELD_SETUP}`;\r\n this._apiService.apiPostMethod(URL, config).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onChangeEposAdmin(\"\", this.idSiteSelected)\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateAllItemEposAdminFieldSetup(event: any) {\r\n this._listSubjectFields.forEach(element => {\r\n element.isActive = event.checked;\r\n element.idSite = this.idEposAdminSiteSelected;\r\n });\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_ITEM_EPOS_ADMIN_FIELD_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listSubjectFields).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n } else {\r\n this.ErrorProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n\r\n }\r\n\r\n OrderEposAdmin() {\r\n this.viewSortEposAdmin = !this.viewSortEposAdmin;\r\n if (this.viewSortEposAdmin == false) {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SORT_EPOS_ADMIN_SETUP}`;\r\n\r\n this._apiService.apiPostMethod(URL, this._listEposAdminWebSitesTEMP).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.SuccessProcess();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n\r\n onClick() {\r\n this.clicks += 1;\r\n if (this.clicks >= 5) {\r\n this.ErrorProcess();\r\n }\r\n };\r\n\r\n hardRefresh() {\r\n location.reload();\r\n }\r\n\r\n InitModals() {\r\n this.websiteTabModal = new bootstrap.Modal(document.getElementById('websiteTabModal'), {\r\n keyboard: false\r\n })\r\n\r\n this.ctsAdminModal = new bootstrap.Modal(document.getElementById('ctsAdminModal'), {\r\n keyboard: false\r\n })\r\n\r\n this.eposModal = new bootstrap.Modal(document.getElementById('eposModal'), {\r\n keyboard: false\r\n })\r\n\r\n this.eposAdminModal = new bootstrap.Modal(document.getElementById('eposAdminModal'), {\r\n keyboard: false\r\n })\r\n\r\n this.allSitesModal = new bootstrap.Modal(document.getElementById('allSitesModal'), {\r\n keyboard: false\r\n })\r\n }\r\n\r\n}\r\n","
\r\n\r\n \r\n
{{'GlobalForm.Name' | translate}}
\r\n
\r\n \r\n
\r\n
{{TranslateText('GlobalForm.Name') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
{{TranslateText('GlobalForm.NameErroDuplicate')}}
\r\n
\r\n
\r\n
{{TranslateText('GlobalForm.NameErroDuplicate')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.NickName' | translate}}
\r\n
\r\n \r\n
\r\n
{{TranslateText('GlobalForm.NickName') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
\r\n
\r\n
{{TranslateText('GlobalForm.NickNameErroDuplicate')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Email' | translate}}
\r\n
\r\n \r\n
\r\n
{{TranslateText('GlobalForm.Email') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
{{TranslateText('GlobalForm.EmailValid')}}
\r\n
\r\n
\r\n
{{TranslateText('GlobalForm.EmailErroDuplicate')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Password' | translate}}
\r\n
\r\n \r\n \r\n
\r\n
{{TranslateText('GlobalForm.Password') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Profile' | translate}}
\r\n
\r\n \r\n \r\n
\r\n
{{ TranslateText('GlobalForm.Profile') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.UserType' | translate}}
\r\n
\r\n \r\n \r\n
\r\n
{{ TranslateText('GlobalForm.UserType') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{'GlobalForm.Department' | translate}}
\r\n
\r\n \r\n \r\n
\r\n
{{ TranslateText('GlobalForm.Department') + ' ' + TranslateText('GlobalForm.IsRequired')}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-user-form',\r\n templateUrl: './user-form.component.html'\r\n})\r\nexport class UserFormComponent implements OnInit{\r\n @Input() userSelected: any;\r\n @Input() profileList: any;\r\n @Input() UserTypeList: any;\r\n @Input() departmentList: any;\r\n @Input() tabSelected: any;\r\n @Output() onLoadPayloadUsers = new EventEmitter();\r\n\r\n userLogin: User;\r\n newUserForm: FormGroup;\r\n submitted: boolean = false;\r\n hidePassword: boolean = true;\r\n errors: { errorName: boolean; errorEmail: boolean; errorNickname: boolean } = {\r\n errorName: false,\r\n errorEmail: false,\r\n errorNickname: false\r\n };\r\n\r\n constructor(private _translateService: TranslateService, private _apiService: ApiService, private _notificationService: NotificationService, private _formBuilder: FormBuilder){}\r\n\r\n ngOnInit(): void {\r\n this.newUserForm = this._formBuilder.group({\r\n userName: [ this.tabSelected == 0? this.userSelected.name : '', [Validators.required]],\r\n nickName: [ this.tabSelected == 0? this.userSelected.nickname : '', [Validators.required]],\r\n email: [ this.tabSelected == 0? this.userSelected.email : '', [Validators.required,Validators.email]],\r\n password : [ this.tabSelected == 0? this.userSelected.password : '', [Validators.required]],\r\n profile : [ this.tabSelected == 0? this.userSelected.profiles : '', [Validators.required]],\r\n userType : [ this.tabSelected == 0? this.userSelected.idUserType : '', [Validators.required]],\r\n departments : [ this.tabSelected == 0? this.userSelected.idDepartment : '', [Validators.required]]\r\n });\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n }\r\n\r\n get f() { return this.newUserForm.controls; }\r\n\r\n\r\n searchErrors(errorString: string): void {\r\n this.errors.errorName = /\\bname\\b/i.test(errorString);\r\n this.errors.errorEmail = /\\bemail\\b/i.test(errorString);\r\n this.errors.errorNickname = /\\bnickname\\b/i.test(errorString);\r\n }\r\n\r\n submitForm(){\r\n this.submitted = true;\r\n\r\n if (this.newUserForm.invalid) {\r\n return;\r\n }\r\n const data = this.returnObjectData(this.tabSelected);\r\n const URLPARAMS = this.returnData(this.tabSelected);\r\n const URL = `${environment.WebApiUrl + URLPARAMS }`;\r\n if(this.tabSelected == 1){\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n if(this.tabSelected == 1){\r\n this.newUserForm.reset();\r\n this.onLoadPayloadUsers.emit(true)\r\n }\r\n this.submitted = false;\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this.searchErrors(result.error);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }else{\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.onLoadPayloadUsers.emit(true)\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this.searchErrors(result.error);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n returnObjectData(idType: number){\r\n switch (idType) {\r\n //Edtar usuario\r\n case 0: return {\r\n idDepartment : this.f.departments.value,\r\n idProfile : this.f.profile.value,\r\n idUserType : this.f.userType.value,\r\n email : this.f.email.value,\r\n name : this.f.userName.value,\r\n nickname : this.f.nickName.value,\r\n password : this.f.password.value,\r\n idUserInCharge : this.userLogin.idUser,\r\n isActive: this.userSelected.isActive,\r\n accessAllSites: this.userSelected.accessAllSites,\r\n idUser: this.userSelected.idUser,\r\n tipoUpdate: 0\r\n };\r\n\r\n //Nuevo usuario\r\n case 1: return {\r\n idDepartment: this.f.departments.value,\r\n name: this.f.userName.value,\r\n nickname: this.f.nickName.value,\r\n email: this.f.email.value,\r\n password : this.f.password.value,\r\n idProfile : this.f.profile.value,\r\n idUserType : this.f.userType.value,\r\n idUserInCharge: this.userLogin.idUser\r\n };\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n returnData(idType: number){\r\n switch (idType) {\r\n case 0: return PutMethods.UPDATE_USER_INFO;\r\n case 1: return PostMethods.POST_INSERT_NEW_USER;\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n showPassword(event: boolean){\r\n this.hidePassword = !event;\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{'User.Active Users' | translate}}\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n Name\r\n {{payloadData.name}} \r\n \r\n \r\n Email\r\n {{payloadData.email}}\r\n \r\n \r\n Department\r\n {{payloadData.departmentName | translate}}\r\n Multidept \r\n \r\n \r\n Profile\r\n {{payloadData.profileName}}\r\n \r\n\r\n \r\n User Type\r\n {{payloadData.userTypeName | translate }}\r\n \r\n\r\n \r\n {{(payloadData.isActive) ? 'Active': 'Inactive'}} \r\n \r\n\r\n \r\n Actions\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'GENERICS.NO_DATA_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Departments
\r\n \r\n
\r\n
\r\n
\r\n {{item.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
\r\n \r\n
\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n {{'User.Active User' | translate}}\r\n
\r\n\r\n
\r\n \r\n {{'View Only' | translate}}\r\n
\r\n\r\n
\r\n \r\n {{'Release Ticket' | translate}}\r\n
\r\n\r\n
\r\n \r\n TFA\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'User.User Rights' | translate}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
{{'Profile.Sites By User' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n {{'User.Active for all sites' | translate}}\r\n
\r\n
\r\n
{{'User.All sites are active' | translate}}
\r\n
\r\n
\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.name | translate }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'User.Site by user' | translate}}
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'User.Site by user' | translate}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.name | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Column, Filters, UserTypeList } from '@methods/constants';\r\nimport { DeleteMethods, DeleteUserById, GetMethods, Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { Department, ResponseData, UserBySite } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { Subscription, filter } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport Swal from 'sweetalert2';\r\ndeclare const bootstrap: any;\r\n\r\n@Component({\r\n selector: 'app-user',\r\n templateUrl: './user.component.html'\r\n})\r\nexport class UserComponent {\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n payloadData!: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n cols!: Column[];\r\n showHardReloadBtn: boolean = false;\r\n checked: boolean = true;\r\n submitted: boolean = false;\r\n newUserForm: FormGroup;\r\n profileList: any;\r\n UserTypeList: Filters[];\r\n allSiteTags: Filters[];\r\n departmentList: any;\r\n departmentListByUser: any;\r\n departmentListByIdUser: any;\r\n listInternalDepartment: Department[] = [];\r\n showUserInfo: boolean = false;\r\n modalUserDeparmentList: any;\r\n listInternalDepartmentModal: any;\r\n userSelected: any;\r\n tabOptionSelected: number = 0;\r\n listsUsersMenu: any;\r\n listsUserSites: any;\r\n siteTagSelected: any;\r\n allChecked: boolean = false;\r\n\r\n @ViewChild('dt') table: Table;\r\n\r\n constructor(\r\n private _apiService: ApiService,\r\n private _mediaService: MediaService,\r\n private primengConfig: PrimeNGConfig,\r\n private _translateService: TranslateService,\r\n private _notificationService: NotificationService) {\r\n this.UserTypeList = UserTypeList;\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.cols = [\r\n { field: 'name', header: 'Name', customExportHeader: 'Product Code' },\r\n { field: 'email', header: 'Email' },\r\n { field: 'department', header: 'Department' },\r\n { field: 'profile', header: 'User Profile' },\r\n { field: 'userType', header: 'User Type' },\r\n { field: 'active', header: 'Is Active', showFilter: true },\r\n { field: 'actions', header: 'Actions' }\r\n ];\r\n\r\n this.primengConfig.ripple = true;\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.getAllUsersList();\r\n this.getAllProfilesList();\r\n this.getAllDepartmentList();\r\n this.getAllWebsiteList();\r\n }\r\n\r\n\r\n getAllUsersList() {\r\n this.payloadData = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_USERS}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.payloadData = result.data;\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllProfilesList() {\r\n this.payloadData = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_PROFILES}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.profileList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList() {\r\n\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n\r\n if(value.isInternal){\r\n const internalDepartment = {\r\n email: value.email,\r\n idDepartment: value.idDepartment,\r\n isActive: value.isActive,\r\n isInternal: value.isInternal,\r\n name: value.name,\r\n userInCharge: value.userInCharge\r\n }\r\n this.listInternalDepartment.push(internalDepartment);\r\n }\r\n });\r\n this.departmentList = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllWebsiteList() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.allSiteTags = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getDepartmentByUser(idUser: number) {\r\n this.departmentListByUser = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARMENT_BY_USER + idUser}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.departmentListByUser = result.data;\r\n this.modalUserDeparmentList = new bootstrap.Modal(document.getElementById('modalUserDeparmentList'), {\r\n keyboard: false\r\n })\r\n this.modalUserDeparmentList.show();\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getDepartmentListByUser() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARMENT_BY_USER + this.userSelected.idUser}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if (result.data.length > 0) {\r\n this.departmentListByIdUser = result.data;\r\n for (let i = 0; i < this.listInternalDepartment.length; i++) {\r\n this.listInternalDepartment[i].isActive = false;\r\n for (let j = 0; j < this.departmentListByIdUser.length; j++) {\r\n if (this.listInternalDepartment[i].idDepartment == this.departmentListByIdUser[j].idDepartment) {\r\n this.listInternalDepartment[i].isActive = true;\r\n }\r\n }\r\n }\r\n this.listInternalDepartmentModal = new bootstrap.Modal(document.getElementById('listInternalDepartmentModal'), {\r\n keyboard: false\r\n })\r\n this.listInternalDepartmentModal.show();\r\n }\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n UpdateTableInfo(event: any, type: number) {\r\n if (event != null) {\r\n this.checked = event.checked;\r\n }\r\n const data = this.returnObjetData(type);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(type)}`;\r\n\r\n if(type == 7) {\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if (type == 7) {\r\n this.getAllSitesByIdUser(data?.idUser)\r\n }\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }else{\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if (type == 4) {\r\n if (this.userSelected.idUser === this.userLogin.idUser) {\r\n this.userLogin.viewOnly = data?.isActive\r\n localStorage.setItem('UserAccessCTS', JSON.stringify(this.userLogin));\r\n }\r\n }\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n returnUrlParameter(idType: number) {\r\n switch (idType) {\r\n case 1:\r\n case 3: return PutMethods.UPDATE_USER_INFO;\r\n case 4: return PutMethods.UPDATE_VIEW_ONLY_BY_USER;\r\n case 5: return PutMethods.UPDATE_RELEASE_TICKET_BY_USER;\r\n case 6: return PutMethods.UPDATE_TFA_SELECTION;\r\n case 7: return PostMethods.POST_INSERT_NEW_USER_BY_SITE;\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n returnObjetData(idType: number) {\r\n switch (idType) {\r\n\r\n case 1: return {\r\n accessAllSites: this.checked,\r\n idUserInCharge: this.userLogin.idUser,\r\n countDepartment: this.userSelected.countDepartment,\r\n departmentName: this.userSelected.departmentName,\r\n idDepartment: this.userSelected.idDepartment,\r\n idUser: this.userSelected.idUser,\r\n isActive: this.userSelected.isActive,\r\n isDelete: this.userSelected.isDelete,\r\n profiles: this.userSelected.profiles,\r\n idProfile: this.userSelected.profiles,\r\n profileName: this.userSelected.profileName,\r\n releaseTicket: this.userSelected.releaseTicket,\r\n smartLogin: this.userSelected.smartLogin,\r\n userType: this.userSelected.userType,\r\n userTypeName: this.userSelected.userTypeName,\r\n viewOnly: this.userSelected.viewOnly,\r\n email: this.userSelected.email,\r\n isTFA: this.userSelected.isTFA,\r\n name: this.userSelected.name,\r\n nickname: this.userSelected.nickname,\r\n password: this.userSelected.password,\r\n token: this.userSelected.token,\r\n };\r\n\r\n case 3: return { // Edit Profile\r\n accessAllSites: this.userSelected.accessAllSites,\r\n countDepartment: this.userSelected.countDepartment,\r\n departmentName: this.userSelected.departmentName,\r\n idDepartment: this.userSelected.idDepartment,\r\n idUser: this.userSelected.idUser,\r\n isActive: this.checked,\r\n isDelete: this.userSelected.isDelete,\r\n profiles: this.userSelected.profiles,\r\n idProfile: this.userSelected.profiles,\r\n profileName: this.userSelected.profileName,\r\n releaseTicket: this.userSelected.releaseTicket,\r\n smartLogin: this.userSelected.smartLogin,\r\n idUserInCharge: this.userLogin.idUser,\r\n userType: this.userSelected.userType,\r\n userTypeName: this.userSelected.userTypeName,\r\n viewOnly: this.userSelected.viewOnly,\r\n email: this.userSelected.email,\r\n isTFA: this.userSelected.isTFA,\r\n name: this.userSelected.name,\r\n nickname: this.userSelected.nickname,\r\n password: this.userSelected.password,\r\n token: this.userSelected.token,\r\n };\r\n\r\n case 4:\r\n case 5: return {\r\n idUser: this.userSelected.idUser,\r\n isActive: this.checked\r\n }\r\n\r\n case 6: return {\r\n idUser: this.userSelected.idUser,\r\n isTFA: this.checked\r\n };\r\n\r\n case 7: return {\r\n idSite: this.siteTagSelected,\r\n idUser: this.userSelected.idUser,\r\n isActive: true\r\n }\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n editUser(user: any) {\r\n this.showUserInfo = true;\r\n this.userSelected = user;\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_COMPONET_USER_ADMIN + user.idUser}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if (result.data.length > 0) {\r\n this.listsUsersMenu = result.data;\r\n var allChecked = result.data.find(x => x.isActive == false);\r\n this.allChecked = (allChecked == null || allChecked == undefined) ? true : false;\r\n this.getAllSitesByIdUser(user.idUser)\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n getAllSitesByIdUser(idUser: number) {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SITE_BY_USER + idUser}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if (result.data.length > 0) {\r\n this.listsUserSites = result.data;\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n deleteUser(user: User) {\r\n Swal.fire({\r\n text: \"Are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n const URL = `${environment.WebApiUrl + DeleteMethods.DELETE_USER}`;\r\n this._apiService.apiPostMethod(URL, user).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n //DeleteUserById(this.payloadData, user.idUser)\r\n this.getAllUsersList();\r\n this.table.reset();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n })\r\n }\r\n\r\n deleteSiteForUser(item: UserBySite) {\r\n const URL = `${environment.WebApiUrl + DeleteMethods.DELETE_SITE_FOR_USER}`;\r\n this._apiService.apiPostMethod(URL, item).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n const objWithIdIndex = this.listsUserSites.findIndex((obj: any) => obj.idSite === item.idSite);\r\n if (objWithIdIndex > -1) {\r\n this.listsUserSites.splice(objWithIdIndex, 1);\r\n }\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n updateStatus(event: any, item: any) {\r\n const data = { idComponentsByUsers: 0, idTagComponent: item.idTagComponent, idUser: item.idUser, isActive: event.target.checked, userInCharge: this.userLogin.idUser, all: false };\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_USER_RIGHTS}`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n const index = this.listsUsersMenu.findIndex((x) => x.idTagComponent === item.idTagComponent);\r\n this.listsUsersMenu[index].isActive = event.target.checked;\r\n var allChecked = this.listsUsersMenu.find(x => x.isActive == false);\r\n this.allChecked = (allChecked == null || allChecked == undefined) ? true : false;\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n updateAllRights(event: any){\r\n var data: { idTagComponent: any, idUser: any, isActive: any, userInCharge: number, all: boolean }[] = [];\r\n this.listsUsersMenu.forEach(e => {\r\n var right = { idTagComponent: e.idTagComponent, idUser: e.idUser, isActive: event.target.checked, userInCharge: this.userLogin.idUser, all: true };\r\n data.push(right);\r\n });\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ALL_USER_RIGHTS}`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.listsUsersMenu.forEach(e => {\r\n e.isActive = event.target.checked;\r\n });\r\n var allChecked = this.listsUsersMenu.find(x => x.isActive == false);\r\n this.allChecked = (allChecked == null || allChecked == undefined) ? true : false;\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n updateDepartmentChecked(event: any, item: any) {\r\n const data = { idDepartment: item.idDepartment, idUser: this.userSelected.idUser, isActive: event.target.checked, idUserInCharge: this.userLogin.idUser };\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_DEPARTMENTS_BY_USER}`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n // const index = this.listsUsersMenu.findIndex((x) => x.IdTagComponent === item.IdTagComponent);\r\n // this.listsUsersMenu[index].isActive = event.target.checked;\r\n // var allChecked = this.listsUsersMenu.find(x => x.isActive == false);\r\n // this.allChecked = ( allChecked == null || allChecked == undefined) ? true : false;\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n onLoadPayloadUsers(event: any) {\r\n if (event) {\r\n this.getAllUsersList();\r\n }\r\n }\r\n\r\n hardRefresh() {\r\n location.reload();\r\n }\r\n\r\n tabSelected(tab: number) {\r\n this.tabOptionSelected = tab;\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n onStepChange(showUserInfo: boolean) {\r\n this.showUserInfo = showUserInfo;\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
{{ 'Profile.Profile name' | translate }}
\r\n \r\n
\r\n\r\n
\r\n \r\n {{'Profile.Apply all changes to all users with this profile' | translate}}\r\n
\r\n\r\n
\r\n \r\n {{'Profile.Active Profile' | translate}}\r\n
\r\n\r\n
\r\n \r\n {{'Profile.Active for all sites' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
{{'User.User Rights' | translate}}
\r\n
{{'Profile.Subjects' | translate}}
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.title | translate}}\r\n
\r\n
\r\n \r\n \r\n \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 | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
{{'Profile.Sites By User' | translate}}
\r\n
{{'Profile.Fields by Subject' | translate}}
\r\n
{{'Profile.Subject Fields' | translate}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{'SelectALL' | translate}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{item.description | translate}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
{{'User.All sites are active' | translate}}
\r\n
\r\n
\r\n \r\n
\r\n
{{'Select the subject you want to view' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
{{'Profile.Site by user' | translate}}
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n {{messageResult | translate }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { DeleteMethods, GetMethods, Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-edit-profile',\r\n templateUrl: './edit-profile.component.html'\r\n})\r\nexport class EditProfileComponent {\r\n\r\n @Input() itemSelected: any;\r\n @Input() tabSelected: number;\r\n @Input() allChecked: boolean;\r\n @Input() allSiteTags: any;\r\n\r\n @Output() onGetOutputData = new EventEmitter();\r\n\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n sortView: boolean = false;\r\n showSubjectCheckbox: boolean = false;\r\n allChecked2: boolean = false;\r\n siteTagSelected: any;\r\n messageResult: string = ''\r\n\r\n constructor(private _mediaService: MediaService, private _apiService: ApiService, private _notificationService: NotificationService, private _translateService: TranslateService){\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n getSubjectFieldById(item:any) {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SUBJECT_FIELD_BY_ID + item.idSubject }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach(element => {\r\n if(this.tabSelected == 3){\r\n element.isActive = false;\r\n }\r\n element.description = element.name;\r\n element.active = false;\r\n });\r\n this.showSubjectCheckbox = true;\r\n this.itemSelected.accessSite = result.data;\r\n if(this.itemSelected.field.length > 0){\r\n this.itemSelected.field.forEach(element => {\r\n this.itemSelected.accessSite.forEach(value => {\r\n if(element.idSubjectField == value.idSubjectField){\r\n value.active = element.active\r\n value.isActive = element.isActive\r\n }\r\n });\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n addSite(key:number) {\r\n var find = this.allSiteTags.find(c => c.idSiteTag == this.siteTagSelected);\r\n if (find != null) {\r\n const found = this.buscarObjetoPorId(this.itemSelected.accessSite, this.siteTagSelected);\r\n if (found) {\r\n this.getMessageInfo('GENERICS.ALREADY_EXIST', 3000);\r\n } else {\r\n find.idSite = find.idSiteTag\r\n this.itemSelected.accessSite.push(find);\r\n if( key == 0){\r\n this.OnAddNewInfo(key);\r\n }\r\n }\r\n }\r\n }\r\n\r\n buscarObjetoPorId(array, id) {\r\n return array.find(value => value.idSiteTag === id);\r\n }\r\n\r\n getSubjectFieldByIdWithoutCall(item:any){\r\n this.itemSelected.accessSite = [];\r\n this.itemSelected.field.forEach(element => {\r\n if(element.idSubject == item.idSubject){\r\n element.description = element.name;\r\n element.active = element.isActive;\r\n this.itemSelected.accessSite.push(element)\r\n }\r\n });\r\n\r\n var allChecked2 = this.itemSelected.accessSite.find(x => x.isActive == false);\r\n this.allChecked2 = ( allChecked2 == null || allChecked2 == undefined) ? true : false;\r\n\r\n this.showSubjectCheckbox = true;\r\n }\r\n\r\n selectAllCheckbox(event:any, key){\r\n if(key == 1){\r\n this.itemSelected.payload.forEach(element => {\r\n if(this.tabSelected == 0 || this.tabSelected == 1){\r\n element.activeForProfile = event.checked;\r\n element.idComponent = element.idTagComponent;\r\n element.active = event.checked;\r\n }\r\n if(this.tabSelected == 2 || this.tabSelected == 3){\r\n element.isActive = event.checked;\r\n element.idComponent = element.idTagComponent;\r\n element.active = event.checked;\r\n }\r\n });\r\n }\r\n if(key == 2){\r\n this.itemSelected.accessSite.forEach(element => {\r\n element.active = event.checked;\r\n element.isActive = event.checked;\r\n });\r\n if (this.itemSelected.field.find(c => c.IdSubject == this.itemSelected.accessSite[0].idSubject) == null) {\r\n this.itemSelected.field = this.itemSelected.field.concat(this.itemSelected.accessSite);\r\n }\r\n }\r\n }\r\n\r\n updateCheckbox(event:any, item:any, key: number){\r\n if(key == 1){\r\n this.itemSelected.payload.forEach(element => {\r\n if (this.tabSelected == 0 || this.tabSelected == 1){\r\n if (element.idTagComponent == item.idTagComponent) {\r\n element.activeForProfile = event.checked;\r\n element.idComponent = element.idTagComponent;\r\n element.active = event.checked;\r\n }\r\n }\r\n\r\n if(this.tabSelected == 2 || this.tabSelected == 3 ){\r\n if(element.idSubject == item.idSubject){\r\n element.isActive = event.checked;\r\n element.active = event.checked;\r\n }\r\n }\r\n });\r\n }\r\n\r\n // verifica en el edit el segundo card con el boton de checkbox\r\n\r\n if(key == 2){\r\n if (this.itemSelected.field.find(c => c.idSubject == this.itemSelected.accessSite[0].idSubject) == null) {\r\n this.itemSelected.field = this.itemSelected.field.concat(this.itemSelected.accessSite);\r\n }\r\n this.itemSelected.field.forEach(element => {\r\n if (element.idSubjectField == item.idSubjectField) {\r\n element.isActive = event.checked;\r\n element.active = event.checked;\r\n }\r\n });\r\n }\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n moveItemInArray(this.itemSelected.payload, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n changeViewSites(){\r\n this.sortView = !this.sortView;\r\n }\r\n\r\n deleteSiteForUser(item:any){\r\n if(this.tabSelected != 1){\r\n Swal.fire({\r\n text: \"Are you sure?\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n cancelButtonText: 'No',\r\n confirmButtonText: 'Yes',\r\n allowOutsideClick: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n const data = {\r\n idProfile: this.itemSelected.idProfile,\r\n idSite: item.idSite\r\n }\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(4) }`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n var find = this.itemSelected.accessSite.find(c => c.idSiteTag == item.idSiteTag);\r\n if (find != null) {\r\n var index = this.itemSelected.accessSite.indexOf(find);\r\n if (index > -1) {\r\n this.itemSelected.accessSite.splice(index, 1);\r\n }\r\n }\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n })\r\n }else{\r\n var find = this.itemSelected.accessSite.find(c => c.idSiteTag == item.idSiteTag);\r\n if (find != null) {\r\n var index = this.itemSelected.accessSite.indexOf(find);\r\n if (index > -1) {\r\n this.itemSelected.accessSite.splice(index, 1);\r\n }\r\n }\r\n }\r\n }\r\n\r\n OnAddNewInfo(key:number){\r\n if(this.itemSelected.profileName != undefined && this.itemSelected.profileName != ''){\r\n const data = this.onDataParams(key);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(key)} `;\r\n\r\n if(key == 0){\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n console.log(err);\r\n }\r\n });\r\n }else{\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.onGetOutputData.emit(this.tabSelected);\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n }else{\r\n Swal.fire('' , this.TranslateText('GENERICS.ADD_A_PROFILE_NAME'), 'warning')\r\n }\r\n }\r\n\r\n onDataParams(key: number){\r\n switch (key) {\r\n case 0: return this.itemSelected; //UpdateProfile\r\n case 1: return {\r\n accessAllSites: (this.itemSelected.accessSite != undefined) ? this.itemSelected.accessAllSites: false,\r\n accessSite: (this.itemSelected.accessSite != undefined) ? this.itemSelected.accessSite : [],\r\n accessTagComponent: this.removeInvalidItems(this.itemSelected.payload),\r\n profileName: this.itemSelected.profileName,\r\n isActive: (this.itemSelected.isActive != undefined ) ? this.itemSelected.isActive : false\r\n };\r\n\r\n case 3: return {\r\n field : this.itemSelected.field,\r\n name : this.itemSelected.profileName,\r\n subject: this.itemSelected.payload\r\n }\r\n default: return null;\r\n }\r\n }\r\n\r\n\r\n returnUrlParameter(key: number){\r\n switch (key) {\r\n case 0: return PutMethods.UPDATE_PROFILE;\r\n case 1: return PostMethods.POST_INSERT_NEW_PROFILE;\r\n case 3: return PostMethods.POST_INSERT_NEW_SITE_PROFILE;\r\n case 4: return DeleteMethods.DELETE_SITE_FOR_PROFILE;\r\n default: return null;\r\n }\r\n }\r\n\r\n removeInvalidItems(arr) {\r\n return arr.filter(item => item.activeForProfile === true);\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n getMessageInfo(message: string, time: number) {\r\n this.messageResult = message;\r\n setTimeout(() => {\r\n this.messageResult = '';\r\n }, time);\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{payloadData.profileName | translate}}\r\n {{payloadData.accessAllSites | translate }}\r\n {{payloadData.name | translate}}\r\n {{payloadData.isActive}} \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'GENERICS.NO_DATA_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\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 { GetMethods, Methods, PostMethods, PutMethods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-profile',\r\n templateUrl: './profile.component.html'\r\n})\r\nexport class ProfileComponent implements OnInit {\r\n mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n payload: any;\r\n payloadData: any;\r\n payloadData2: any;\r\n columsData: any;\r\n tabPanelData: any;\r\n itemSelected: any = [];\r\n allSiteTags: any;\r\n siteTagSelected: any;\r\n siteTagList: any;\r\n subjectList: any;\r\n tabSelected: number = 0;\r\n loading: boolean = false;\r\n showExtraInfo: boolean = false;\r\n allChecked: boolean = false;\r\n showHardReloadBtn: boolean = false;\r\n newSiteItemArray: any = [];\r\n\r\n constructor(private _mediaService: MediaService, private _apiService: ApiService, private _notificationService: NotificationService) {\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.tabPanelData = [\r\n { tabTitle: 'Profile.USER PROFILE MANAGER', id: 0, showTable: true, showNewRegister: false },\r\n { tabTitle: 'Profile.NEW USER PROFILE', id: 1, showTable: false, showNewRegister: true },\r\n { tabTitle: 'Profile.SITE PROFILE MANAGER', id: 2, showTable: true, showNewRegister: false },\r\n { tabTitle: 'Profile.NEW SITE PROFILE', id: 3, showTable: false, showNewRegister: true }\r\n ]\r\n\r\n this.columsData = this.onHeaderColumnTableOptions(this.tabSelected);\r\n\r\n this.getAllProfilesList();\r\n this.getAllWebsiteProfilesList();\r\n this.getAllWebsiteList();\r\n this.getSiteTag();\r\n this.getSubjects();\r\n }\r\n\r\n getTabSelected(tabSelected: number) {\r\n this.tabSelected = tabSelected;\r\n this.showExtraInfo = false;\r\n this.payload = (tabSelected == 0) ? this.payloadData : this.payloadData2;\r\n this.columsData = this.onHeaderColumnTableOptions(this.tabSelected);\r\n }\r\n\r\n getAllProfilesList() {\r\n this.payloadData = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_PROFILES}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.payloadData = result.data;\r\n this.payload = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this.showHardReloadBtn = true;\r\n }\r\n });\r\n }\r\n\r\n getSiteTag() {\r\n this.siteTagList = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SITE_TAG_COMPONENTS}`;\r\n //obtiene la lista en el primer tab del primer card cuando editas el perfil\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.siteTagList.payload = result.data;\r\n this.siteTagList.accessSite = [];\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this.showHardReloadBtn = true;\r\n }\r\n });\r\n }\r\n\r\n getSubjects() {\r\n this.subjectList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SUBJECTS}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n //Esto recibe el nombre en los subjects en el cuarto tab\r\n result.data.forEach(element => {\r\n element.isActive = false;\r\n element.title = element.subjectName\r\n });\r\n this.subjectList.payload = result.data;\r\n this.subjectList.field = [];\r\n this.subjectList.accessSite = [];\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this.showHardReloadBtn = true;\r\n }\r\n });\r\n }\r\n\r\n getAllWebsiteProfilesList() {\r\n this.payloadData2 = []\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_WEBSITES_PROFILES}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.payloadData2 = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n console.log(err);\r\n this.showHardReloadBtn = true;\r\n }\r\n });\r\n }\r\n\r\n getAllWebsiteList() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n result.data.forEach((value: any) => {\r\n value.value = value.description;\r\n value.label = value.description;\r\n });\r\n this.allSiteTags = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n onHeaderColumnTableOptions(tab: number) {\r\n switch (tab) {\r\n case 0: return [\r\n { field: 'profileName', header: 'Profile.Profile name', },\r\n { field: 'access', header: 'Profile.Access All sites' },\r\n { field: 'active', header: 'Profile.Active' },\r\n { field: 'action', header: 'Profile.Action' }\r\n ];\r\n\r\n case 2: return [\r\n { field: 'profileName', header: 'Profile.Profile name', },\r\n { field: 'active', header: 'Profile.Active' },\r\n { field: 'action', header: 'Profile.Action' }\r\n ];\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n editItem(item: any) {\r\n if(item.accessTagComponent){\r\n if(item.accessTagComponent.length == 0){\r\n item.accessTagComponent = this.siteTagList.payload;\r\n }\r\n }\r\n this.itemSelected = item;\r\n this.showExtraInfo = true;\r\n this.itemSelected.payload = (this.tabSelected == 0) ? this.itemSelected.accessTagComponent : this.itemSelected.subject;\r\n this.itemSelected.payload.forEach(element => {\r\n element.title = (this.tabSelected == 0) ? element.title : element.name;\r\n element.active = (this.tabSelected == 0) ? element.activeForProfile : element.isActive;\r\n });\r\n this.itemSelected.profileName = (this.tabSelected == 2) ? item.name : item.profileName;\r\n var allChecked = item.payload.find(x => x.active == false);\r\n this.allChecked = (allChecked == null || allChecked == undefined) ? true : false;\r\n }\r\n\r\n selectAllCheckbox(event: any) {\r\n this.itemSelected.accessTagComponent.forEach(element => {\r\n element.activeForProfile = event.checked;\r\n });\r\n }\r\n\r\n updateCheckbox(event: any, item: any) {\r\n this.itemSelected.accessTagComponent.forEach(element => {\r\n if (element.id == item.id) {\r\n element.activeForProfile = event.checked;\r\n }\r\n });\r\n }\r\n\r\n udpateItemInfo(key: number) {\r\n const data = this.onDataParams(key);\r\n const URL = `${environment.WebApiUrl + this.returnUrlParameter(key)} `;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n if (key == 2) {\r\n this.getAllWebsiteProfilesList();\r\n }\r\n } else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n this.loading = false;\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n hardRefresh() {\r\n location.reload();\r\n }\r\n\r\n onDataParams(key: number) {\r\n switch (key) {\r\n case 0: return this.itemSelected;\r\n\r\n case 1: return {\r\n idProfile: this.itemSelected.idProfile,\r\n isActive: true,\r\n idSite: this.siteTagSelected\r\n }\r\n\r\n case 2: return {\r\n field: this.itemSelected.field,\r\n idSiteProfile: this.itemSelected.idSiteProfile,\r\n isActive: this.itemSelected.isActive,\r\n name: this.itemSelected.profileName,\r\n subject: this.itemSelected.subject\r\n }\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n returnUrlParameter(key: number) {\r\n switch (key) {\r\n case 0: return PutMethods.UPDATE_PROFILE;\r\n case 1: return PostMethods.POST_INSERT_NEW_SITE_BY_PROFILE;\r\n case 2: return PutMethods.UPDATE_SITE_PROFILE;\r\n default: return null;\r\n }\r\n }\r\n\r\n onGetOutputData(event: any) {\r\n if (event == 1) {\r\n this.getAllProfilesList();\r\n }\r\n\r\n if (event == 3) {\r\n this.getAllWebsiteProfilesList();\r\n }\r\n }\r\n}\r\n","
\r\n
{{ 'USER.TWO_FACTOR.TWO_FACTOR_ENABLED' | translate }}
\r\n

{{ 'USER.TWO_FACTOR.TWO_FACTOR_SCAN' | translate }}

\r\n
\r\n \"Qr\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'USER.TWO_FACTOR.TWO_FACTOR_INPUT_CODE' | translate}}\r\n \r\n
\r\n
{{ 'USER.TWO_FACTOR.TWO_FACTOR_IS_REQUIRED' | translate }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n {{messageResult | translate }}\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { GetMethods, Methods, PostMethods, PutMethods, responseError } from '@methods/methods';\r\nimport { TwoFactor, User } from '@models/auth-model';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { MediaResponse, MediaService } from '@services/media.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-two-factor',\r\n templateUrl: './two-factor.component.html'\r\n})\r\nexport class TwoFactorComponent implements OnInit {\r\n private mediaSubscription: Subscription;\r\n Media: MediaResponse;\r\n userInfoCTSData: User;\r\n twoFactorData: TwoFactor = new TwoFactor();\r\n twoFactorSettings: any = {};\r\n twoFactorForm: FormGroup;\r\n submitted: boolean = false;\r\n messageResult: string = '';\r\n actualRouter: string | null = '';\r\n\r\n\r\n constructor(private _apiService: ApiService, private _formBuilder: FormBuilder, private _notificationService: NotificationService, private _mediaService: MediaService) {\r\n this.mediaSubscription = this._mediaService.subscribeMedia().subscribe(media => {\r\n this.Media = media;\r\n });\r\n }\r\n\r\n get f() { return this.twoFactorForm.controls; }\r\n\r\n\r\n ngOnInit(): void {\r\n this.actualRouter = this._apiService.getRouterLink();\r\n this.userInfoCTSData = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n\r\n this.twoFactorForm = this._formBuilder.group({\r\n inputCode: ['' , Validators.required]\r\n });\r\n\r\n if (this.userInfoCTSData)\r\n this.GetTwoFactorSettings();\r\n }\r\n\r\n GetTwoFactorSettings() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_TWO_FACTOR_SETTINGS + '?IdUSer=' +this.userInfoCTSData.idUser + '&Email=' + this.userInfoCTSData.email }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.twoFactorSettings = result.data;\r\n this.twoFactorData.isTFA = this.twoFactorSettings.isTFA\r\n }else{\r\n this.getMessageInfo('USER.TWO_FACTOR.TWO_FACTOR_INVALID');\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n onSubmit() {\r\n this.submitted = true;\r\n if (this.twoFactorForm.invalid) {\r\n return;\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_ENABLE_TWO_FACTOR}`;\r\n const data = {\r\n email: this.userInfoCTSData.email,\r\n idUser: this.userInfoCTSData.idUser,\r\n inputCode: this.f.inputCode.value,\r\n isTFA: this.twoFactorData.isTFA\r\n }\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if(result.data){\r\n this.twoFactorForm.reset();\r\n this.GetTwoFactorSettings();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n this.submitted = false;\r\n }else{\r\n this.getMessageInfo('USER.TWO_FACTOR.TWO_FACTOR_INVALID');\r\n }\r\n } else {\r\n this.getMessageInfo('USER.TWO_FACTOR.TWO_FACTOR_INVALID');\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n const messageTypeErrorText = responseError(err.status);\r\n this._notificationService.error(messageTypeErrorText, 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n getMessageInfo(message: string) {\r\n this.messageResult = message;\r\n setTimeout(() => {\r\n this.messageResult = '';\r\n }, 3000);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.mediaSubscription) {\r\n this.mediaSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'Theme' | translate}}
\r\n \r\n \r\n {{ option.label | translate }}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'Smart Login' | translate}}
\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 { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ThemesOptions } from '@methods/constants';\r\nimport { GetMethods, Methods, PostMethods, PutMethods, getSmartLoginTimeOut } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ConfigByDomain, Filters, ResponseData } from '@models/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-configuration',\r\n templateUrl: './configuration.component.html'\r\n})\r\nexport class ConfigurationComponent implements OnInit {\r\n smartLoginForm: FormGroup;\r\n userLogin: User;\r\n domainInfo: ConfigByDomain;\r\n idUser: any;\r\n themeList: any = Filters;\r\n themeSelected: any = '';\r\n\r\n get f() { return this.smartLoginForm.controls; }\r\n\r\n constructor(private _formBuilder: FormBuilder,\r\n private _apiService: ApiService,\r\n private _notificationService: NotificationService,\r\n private _themeService: ThemeService,\r\n private _title: Title,\r\n private _translateService: TranslateService,\r\n private _cookieService: CookieService) {\r\n this.themeList = ThemesOptions;\r\n\r\n this._title.setTitle(`${this.TranslateText('/configuration')} | CTS `);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n this.idUser = localStorage.getItem('IdUser');\r\n this.themeSelected = this._themeService.getThemeSelected();\r\n this.smartLoginForm = this._formBuilder.group({\r\n isSmartLogin: ['', [Validators.required]]\r\n });\r\n if(this.userLogin){\r\n this.getSamrtLogin();\r\n this.getUserPreference();\r\n }\r\n }\r\n\r\n getSamrtLogin() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_SMART_LOGIN_SELECTION + parseInt(this.idUser)}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n // this._cookieService.set('isSmartLogin', result.data.smartLogin)\r\n localStorage.setItem('isSmartLogin', result.data.smartLogin);\r\n this.setCookiesSession(result.data.smartLogin);\r\n this.smartLoginForm = this._formBuilder.group({\r\n isSmartLogin: [result.data.smartLogin, [Validators.required]]\r\n });\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getUserPreference(){\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_USER_PREFERENCE + this.userLogin.idUser + '&IdSite=' + this.domainInfo.idSite }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if(result.data.theme != null){\r\n this._themeService.setTheme(result.data.theme);\r\n }\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n setCookiesSession(isSmart: boolean) {\r\n if (isSmart) {\r\n this._cookieService.set(\"IdUser\", this.userLogin.idUser.toString(), getSmartLoginTimeOut());\r\n // this._cookieService.set(\"isSmartLogin\", 'true', getSmartLoginTimeOut());\r\n this._cookieService.set('token', this.getTokenEncoded(), getSmartLoginTimeOut());\r\n localStorage.setItem('isSmartLogin', 'true');\r\n\r\n } else {\r\n this._cookieService.set('token', this.getTokenEncoded());\r\n this._cookieService.set('IdUser', this.userLogin.idUser.toString());\r\n }\r\n }\r\n\r\n getTokenEncoded() {\r\n return btoa(this.userLogin.idUser + \":\" + this.userLogin.token + \":\" + this.userLogin.adminType);\r\n }\r\n\r\n TranslateText(text: string) {\r\n return this._translateService.instant(text);\r\n }\r\n\r\n onSetTheme(item) {\r\n this._themeService.setTheme(item.value);\r\n const data = {\r\n idUser: this.userLogin.idUser,\r\n idSite: this.domainInfo.idSite,\r\n theme: item.value\r\n }\r\n const URL = `${environment.WebApiUrl + PostMethods.POST_INSERT_USER_PREFERENCE }`;\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.getUserPreference();\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n\r\n onSubmit() {\r\n const URL = `${environment.WebApiUrl + PutMethods.UPDATE_SMART_LOGIN}`;\r\n const data = {\r\n idUser: parseInt(this.idUser),\r\n smartSelection: this.f.isSmartLogin.value,\r\n }\r\n this._apiService.apiPostMethod(URL, data).subscribe({\r\n next: (result: ResponseData) => {\r\n if (result.success) {\r\n this.getSamrtLogin();\r\n this._notificationService.success('GENERICS.ALERT_SUCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }else {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-direct-ticket-center',\r\n templateUrl: './direct-ticket-center.component.html'\r\n})\r\nexport class DirectTicketCenterComponent{\r\n}\r\n","\r\n\r\n","
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \"something\r\n {{'GENERICS.UPDATED_ERROR' | translate}} \r\n \r\n \r\n {{ 'Refresh' | translate }}\r\n \r\n
\r\n
\r\n
","\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n {{option.label | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ col.header | translate }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ payloadData.idTicket }} \r\n {{ payloadData.userName }} \r\n {{ payloadData.subjectEdited | translate }} \r\n {{ payloadData.subjectName }} \r\n {{ payloadData.relevanceName }} \r\n {{ payloadData.statusName }} \r\n {{ payloadData.departmentName }} \r\n \r\n \r\n {{ payloadData.fieldEdited | translate }}\r\n \r\n \r\n {{ payloadData.actionName | translate}}\r\n \r\n \r\n {{ payloadData.lastModification | date:'short' }}\r\n \r\n \r\n {{ payloadData.userInChargeName }}\r\n \r\n \r\n {{ payloadData.details }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'GENERICS.NO_DATA_FOUND' | translate }} \r\n {{'GENERICS.UPDATED_ERROR' | translate}} {{ 'Refresh' | translate }} \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 { apiGuard } from './common/guards/api.guard';\r\nimport { MainLayoutComponent } from './core/layouts/main-layout/main-layout.component';\r\nimport { HeaderLayoutComponent } from './core/layouts/header-layout/header-layout.component';\r\nimport { LoginComponent } from '@components/login/login.component';\r\nimport { NotFoundComponent } from '@components/not-found/not-found.component';\r\nimport { DashboardComponent } from '@components/dashboard/dashboard.component';\r\nimport { TickerComponent } from '@views/ticker/ticker.component';\r\nimport { HelpTicketCenterComponent } from '@views/help-ticket-center/help-ticket-center.component';\r\nimport { InternalTicketCenterComponent } from '@views/internal-ticket-center/internal-ticket-center.component';\r\nimport { PartnersTicketCenterComponent } from '@views/partners-ticket-center/partners-ticket-center.component';\r\nimport { PersonalWorklogComponent } from '@views/personal-worklog/personal-worklog.component';\r\nimport { ServiceDeskLogComponent } from '@views/service-desk-log/service-desk-log.component';\r\nimport { ShortcutCenterComponent } from '@views/shortcut-center/shortcut-center.component';\r\nimport { SubjectsComponent } from '@views/subjects/subjects.component';\r\nimport { RelevanceLevelComponent } from '@views/relevance-level/relevance-level.component';\r\nimport { StatusListComponent } from '@views/status-list/status-list.component';\r\nimport { DepartmentComponent } from '@views/department/department.component';\r\nimport { WebsiteSetupComponent } from '@views/website-setup/website-setup.component';\r\nimport { UserComponent } from '@views/user/user.component';\r\nimport { ProfileComponent } from '@views/profile/profile.component';\r\nimport { ConfigurationComponent } from '@components/configuration/configuration.component';\r\nimport { TwoFactorComponent } from '@components/two-factor/two-factor.component';\r\nimport { DirectTicketCenterComponent } from '@views/direct-ticket-center/direct-ticket-center.component';\r\nimport { BrandSetUpComponent } from '@views/brand-set-up/brand-set-up.component';\r\nimport { NotificationComponent } from '@views/notification/notification.component';\r\nimport { LogsComponent } from '@views/logs/logs.component';\r\n\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: HeaderLayoutComponent,\r\n children: [\r\n { path: '', redirectTo: 'login', pathMatch: 'full' },\r\n { path: 'login', component: LoginComponent },\r\n ]\r\n },\r\n {\r\n path: '',\r\n component: MainLayoutComponent,\r\n canActivate: [apiGuard],\r\n children: [\r\n { path: '', redirectTo: 'dashboard', pathMatch: 'full' },\r\n // { path: 'dashboard', component: DashboardComponent },\r\n { path: 'dashboard/tickets', component: TickerComponent },\r\n { path: 'dashboard/ticketCenter', component: HelpTicketCenterComponent },\r\n { path: 'dashboard/inTicketCenter', component: InternalTicketCenterComponent },\r\n { path: 'dashboard/pTicketCenter', component: PartnersTicketCenterComponent },\r\n { path: 'dashboard/personalWorkLog', component: PersonalWorklogComponent },\r\n { path: 'dashboard/serviceDeskLog', component: ServiceDeskLogComponent },\r\n { path: 'dashboard/shortcutCenter', component: ShortcutCenterComponent },\r\n { path: 'dashboard/subjects', component: SubjectsComponent },\r\n { path: 'dashboard/relevanceLevels', component: RelevanceLevelComponent },\r\n { path: 'dashboard/statusList', component: StatusListComponent },\r\n { path: 'dashboard/departments', component: DepartmentComponent },\r\n { path: 'dashboard/websiteSetup', component: WebsiteSetupComponent },\r\n { path: 'dashboard/brandSetup', component: BrandSetUpComponent },\r\n { path: 'dashboard/users', component: UserComponent },\r\n { path: 'dashboard/profiles', component: ProfileComponent },\r\n { path: 'dashboard/notificationCenter', component: NotificationComponent },\r\n { path: 'dashboard/DirectTicketCenter', component: DirectTicketCenterComponent },\r\n { path: 'dashboard/logs', component: LogsComponent },\r\n { path: 'dashboard/twofactor', component: TwoFactorComponent },\r\n { path: 'configuration', component: ConfigurationComponent }\r\n ]\r\n },\r\n { path: '404', component: NotFoundComponent },\r\n { path: 'auth/signin', redirectTo: 'login', pathMatch: 'full'},\r\n { path: '**', redirectTo: '/404', pathMatch: 'full' }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Filters } from '@methods/constants';\r\nimport { GetMethods, Methods } from '@methods/methods';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-brand-set-up',\r\n templateUrl: './brand-set-up.component.html'\r\n})\r\nexport class BrandSetUpComponent implements OnInit {\r\n payloadData: Filters[];\r\n payloadSecondData: any;\r\n isErrorActivated: boolean = false;\r\n identity: number = 1;\r\n identity2: number = 2\r\n checked: boolean = false;\r\n cardHeaderTitle1: any;\r\n cardHeaderTitle2: any;\r\n departmentList: any;\r\n allSiteTags: any;\r\n formValidateInputs: any;\r\n formValidateInputs2: any;\r\n\r\n constructor(private _apiService: ApiService){}\r\n\r\n ngOnInit(): void {\r\n this.formValidateInputs = [\r\n { control: 'inputTextSelected', show: true },\r\n { control: 'siteSelected', show: true },\r\n { control: 'department', show: true },\r\n { control: 'inputTextDescription', show: false },\r\n { control: 'inputTextSpanish', show: false },\r\n { control: 'inputTextPortuguese', show: false },\r\n { control: 'formType', show: false },\r\n { control: 'isHelp', show: false },\r\n { control: 'isInternal', show: false },\r\n { control: 'isPartner', show: false },\r\n { control: 'isDirect', show: false },\r\n { control: 'isActive', show: false },\r\n ]\r\n\r\n this.formValidateInputs2 = [\r\n { control: 'inputTextSelected', show: false },\r\n { control: 'siteSelected', show: true },\r\n { control: 'department', show: false },\r\n { control: 'inputTextDescription', show: false },\r\n { control: 'inputTextSpanish', show: false },\r\n { control: 'inputTextPortuguese', show: false },\r\n { control: 'formType', show: false },\r\n { control: 'isHelp', show: false },\r\n { control: 'isInternal', show: false },\r\n { control: 'isPartner', show: false },\r\n { control: 'isDirect', show: false },\r\n { control: 'isActive', show: false },\r\n ]\r\n\r\n this.cardHeaderTitle1 = [\r\n { title1: 'Status', title2: 'Brand Name', title3 : 'Actions' }\r\n ]\r\n\r\n this.cardHeaderTitle2 = [\r\n { title1: 'Website', title2: '', title3 : 'Actions' }\r\n ]\r\n this.getBrandSetUp();\r\n this.getAllWebsiteList();\r\n this.getAllDepartmentList();\r\n }\r\n\r\n getBrandSetUp(){\r\n this.payloadData = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_BRAND_SET_UP_BY_ID_SITE + -1}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idBrandSetup;\r\n value.label = value.brandName;\r\n value.showCheckbox = true;\r\n value.showEdit = true;\r\n });\r\n this.payloadData = result.data;\r\n this.getBrandSiteById(result.data[0].idvalue )\r\n }\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getBrandSiteById(idSite: any) {\r\n this.payloadSecondData = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_BRAND_SELECTED_BY_ID_SITE + idSite}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n result.data.forEach((value: any) => {\r\n value.idvalue = value.idBrandSetup;\r\n value.label = value.description;\r\n value.showCheckbox = false;\r\n value.showEdit = false;\r\n });\r\n this.payloadSecondData = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n this.isErrorActivated = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllWebsiteList() {\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_ALL_SITE_TAGS}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.allSiteTags = result.data;\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n getAllDepartmentList(){\r\n this.departmentList = [];\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_DEPARTMENT_LIST}`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n result.data.forEach((value: any) => {\r\n value.value = value.name;\r\n value.label = value.name;\r\n });\r\n this.departmentList = result.data.filter((x:any) => x.isActive == true);\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n refreshData($event:any){\r\n this.getBrandSetUp();\r\n }\r\n\r\n onFilterSiteById(event:any) {\r\n this.getBrandSiteById(event);\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n}","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-notification',\r\n templateUrl: './notification.component.html'\r\n})\r\nexport class NotificationComponent {\r\n\r\n}\r\n","

notification works!

\r\n","import { Component, ViewChild } from '@angular/core';\r\nimport { FilterLogs, FilterLogsBA007, Filters } from '@methods/constants';\r\nimport { GetMethods, Methods, getStatusType, transformMediumDate } from '@methods/methods';\r\nimport { User } from '@models/auth-model';\r\nimport { ResponseData } from '@models/models';\r\nimport { ApiService } from '@services/api.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { environment } from 'src/environments/environment';\r\n\r\ninterface Column {\r\n field: string;\r\n header: string;\r\n}\r\n@Component({\r\n selector: 'app-logs',\r\n templateUrl: './logs.component.html'\r\n})\r\nexport class LogsComponent {\r\n payloadData!: any;\r\n loading: boolean = true;\r\n userLogin: User;\r\n cols!: Column[];\r\n FilterLogs: Filters[];\r\n FilterLogsBA007: Filters[];\r\n showHardReloadBtn: boolean = false;\r\n domainInfo:any;\r\n date1: Date;\r\n date2: any = new Date();\r\n currentDay: any = new Date();\r\n @ViewChild('dt') table: Table;\r\n FilterType: string = 'TicketLog';\r\n isDarkTheme: boolean;\r\n\r\n constructor(private _apiService: ApiService, private primengConfig: PrimeNGConfig, private _notificationService: NotificationService, private _themeService: ThemeService) {\r\n this.FilterLogs = FilterLogs;\r\n }\r\n\r\n ngOnInit() {\r\n this.primengConfig.ripple = true;\r\n this.userLogin = JSON.parse(localStorage.getItem('UserAccessCTS')!);\r\n this.domainInfo = JSON.parse(localStorage.getItem('DomainCTS')!);\r\n this.isDarkTheme = this._themeService.getThemeSelected() == 'theme-default-dark' ? true : false;\r\n this.getFilterTypeDa(this.FilterType);\r\n if(this.domainInfo.idSite == 992){\r\n this.FilterLogs = FilterLogsBA007;\r\n }\r\n }\r\n\r\n getFilterTypeDa(filter: string ) {\r\n\r\n const data = {\r\n endDate: this.date2,\r\n idSite: this.domainInfo.idSite,\r\n startDate: this.date1,\r\n typeRequest: filter\r\n }\r\n\r\n this.cols = [];\r\n this.cols = this.returnHeaderTableFilter(this.FilterType);\r\n const URL = `${ environment.WebApiUrl + this.returURLParamenter(this.FilterType) }`;\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n this.payloadData = result.data;\r\n }else{\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n }\r\n this.loading = false;\r\n },\r\n error: (err: any) => {\r\n this._notificationService.warning('GENERICS.UPDATED_ERROR', 'bg-dark', 'animate__backInUp', 6000);\r\n this.loading = false;\r\n this.showHardReloadBtn = true;\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n returURLParamenter(filterType: string) {\r\n\r\n if(this.date1 == null){\r\n this.date1 = new Date();\r\n this.date1.setDate(this.date1.getDate() - 4)\r\n }\r\n switch(filterType){\r\n case 'TicketLog' : return GetMethods.GET_TICKET_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date()) + '&IdSite=' + this.domainInfo.idSite;\r\n\r\n case 'userLog' : return GetMethods.GET_USER_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date());\r\n\r\n case 'SubjectLog' : return GetMethods.GET_SUBJECT_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date());\r\n\r\n case 'SubjectFieldsLog' : return GetMethods.GET_SUBJECT_FIELDS_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date());\r\n\r\n case 'RelevanceLog' : return GetMethods.GET_RELEVANCE_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date());\r\n\r\n case 'StatusLog' : return GetMethods.GET_STATUS_LOGS;\r\n\r\n case 'DepartmentLog' : return GetMethods.GET_DEPARTMENT_LOGS + transformMediumDate(this.date1) + '&endDate=' + transformMediumDate(this.date2 != null ? this.date2 : new Date());\r\n\r\n default: return null;\r\n }\r\n }\r\n\r\n returnHeaderTableFilter(filterType: string){\r\n switch (filterType) {\r\n case 'TicketLog' : return [\r\n { field: 'ticket', header: 'Ticket' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'userLog' : return [\r\n { field: 'user', header: 'Users' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'SubjectLog' : return [\r\n { field: 'editedSubject', header: 'Edited Subject' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'SubjectFieldsLog' : return [\r\n { field: 'subject', header: 'Subject' },\r\n { field: 'field', header: 'Field' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'RelevanceLog' : return [\r\n { field: 'relevance', header: 'Relevance' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'StatusLog' : return [\r\n { field: 'ticket', header: 'Ticket' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n\r\n case 'DepartmentLog' : return [\r\n { field: 'department', header: 'Department' },\r\n { field: 'action', header: 'logs.Action' },\r\n { field: 'lastmodification', header: 'logs.Last Modification' },\r\n { field: 'responsible', header: 'logs.Responsable' },\r\n { field: 'details', header: 'logs.Details' }\r\n ]\r\n default: return [];\r\n }\r\n }\r\n\r\n onFilterChange(event:any){\r\n this.FilterType = event.value;\r\n this.getFilterTypeDa(this.FilterType);\r\n }\r\n\r\n DateFilter(){\r\n this.getFilterTypeDa(this.FilterType);\r\n }\r\n\r\n getStatusType(status:string){\r\n return getStatusType(status, this.isDarkTheme)\r\n }\r\n\r\n hardRefresh(){\r\n location.reload();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport { Router } from '@angular/router';\r\nimport { ApiService } from './api.service';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { NotificationService } from './notification.service';\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TokenInterceptor implements HttpInterceptor {\r\n clonedReq: any;\r\n constructor(public _apiService: ApiService, private _cookieService: CookieService, private _notificationService: NotificationService, private _route: Router) {}\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n const token = this._cookieService.get('token');\r\n if (token != null) {\r\n this.clonedReq = request.clone({\r\n headers: request.headers.set('Authorization', this._cookieService.get('token')),\r\n });\r\n\r\n return next.handle(this.clonedReq).pipe(\r\n tap(\r\n {\r\n next: (result: any) => {},\r\n error: (error) => {\r\n if (error.status == 401) {\r\n this._notificationService.warning('GENERICS.TOKEN_EXPIRED', 'bg-dark', 'animate__backInUp', 6000);\r\n this._route.navigate(['/login']);\r\n\r\n }\r\n }\r\n }\r\n )\r\n )\r\n }else{\r\n this._apiService.logout()\r\n return next.handle(request.clone())\r\n }\r\n\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n {{notification.message | translate }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
","import { Component } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { NotificationService } from 'src/app/services/notification.service';\r\nimport { Notification, NotificationType } from \"../../../common/constants\";\r\n\r\n@Component({\r\n selector: 'app-notifications',\r\n templateUrl: './notifications.component.html'\r\n})\r\nexport class NotificationsComponent {\r\n\r\n notifications: Notification[] = [];\r\n private _subscription: Subscription;\r\n show = true;\r\n\r\n constructor(private _notificationSvc: NotificationService) { }\r\n\r\n private _addNotification(notification: Notification) {\r\n this.notifications.push(notification);\r\n if (notification.timeout !== 0) {\r\n setTimeout(() => {\r\n this.close(notification)\r\n }, notification.timeout);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this._subscription = this._notificationSvc.getObservable().subscribe(notification => this._addNotification(notification));\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this._subscription != undefined)\r\n this._subscription.unsubscribe();\r\n }\r\n\r\n close(notification: Notification) {\r\n notification.classPropAnimation = 'animate__backOutDown';\r\n setTimeout(() => {\r\n this.notifications = this.notifications.filter(notif => notif.id !== notification.id);\r\n }, 1000);\r\n }\r\n\r\n\r\n className(notification: Notification): string {\r\n\r\n let style: string;\r\n\r\n switch (notification.type) {\r\n\r\n case NotificationType.success:\r\n style = 'success';\r\n break;\r\n\r\n case NotificationType.warning:\r\n style = 'warning';\r\n break;\r\n\r\n case NotificationType.error:\r\n style = 'error';\r\n break;\r\n\r\n default:\r\n style = 'info';\r\n break;\r\n }\r\n\r\n return style;\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { OnlineStatusService, OnlineStatusType } from 'ngx-online-status';\r\nimport { NotificationService } from './services/notification.service';\r\nimport { ConfigByDomain, ResponseData } from '@models/models';\r\nimport { environment } from '../environments/environment.development';\r\nimport { ApiService } from '@services/api.service';\r\nimport { GetMethods, Methods, PutMethods, getThemeFilter } from '@methods/methods';\r\nimport { ThemeService } from '@services/theme.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent implements OnInit {\r\n title = 'Welcome | Customer Ticke Service';\r\n location: string = window.location.href;\r\n ConfigByDomain: ConfigByDomain = new ConfigByDomain();\r\n themeColor: string = '#1D4A49';\r\n status: OnlineStatusType;\r\n themeSelected: any = '';\r\n localTheme: string = '';\r\n lang: string = ''\r\n\r\n constructor(private onlineStatusService: OnlineStatusService, private _notificationService: NotificationService, private _apiService: ApiService, private _themeService: ThemeService ) {\r\n this.onlineStatusService.status.subscribe((status: OnlineStatusType) => {\r\n this.status = status;\r\n if (this.status == 0) {\r\n this._notificationService.error('GENERICS.CONECTION_LOST', 'bg-dark', 'animate__backInUp', 6000);\r\n } else {\r\n this._notificationService.success('GENERICS.CONNECTION_SUCCESS', 'bg-success', 'animate__backInUp', 6000);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.lang = localStorage.getItem('lang')!;\r\n this.localTheme = this._themeService.getThemeSelected();\r\n const dataselected = getThemeFilter(this.localTheme);\r\n this._themeService.setTheme(dataselected);\r\n this.GetConfigurationByDomain();\r\n console.log('2.0.2');\r\n\r\n }\r\n\r\n GetConfigurationByDomain(){\r\n this.ConfigByDomain.domain = this.location;\r\n\r\n\r\n if (this.ConfigByDomain.domain != environment.AdminUrl){\r\n\r\n if (this.ConfigByDomain.domain.includes('home')){\r\n let split = this.ConfigByDomain.domain.split('home')\r\n this.ConfigByDomain.domain = split[0] + \"home\";\r\n }\r\n\r\n if (this.ConfigByDomain.domain.includes('agentHome')){\r\n let split = this.ConfigByDomain.domain.split('agentHome')\r\n this.ConfigByDomain.domain = split[0] + \"agentHome\";\r\n }\r\n\r\n if (this.ConfigByDomain.domain.includes('eposHome')){\r\n let split = this.ConfigByDomain.domain.split('eposHome')\r\n this.ConfigByDomain.domain = split[0] + \"eposHome\";\r\n }\r\n\r\n if (this.ConfigByDomain.domain.includes('eposAdmin')){\r\n let split = this.ConfigByDomain.domain.split('eposAdmin')\r\n this.ConfigByDomain.domain = split[0] + \"eposAdmin\";\r\n }\r\n\r\n if (!this.ConfigByDomain.domain.includes('agentHome') && !this.ConfigByDomain.domain.includes('home')\r\n && !this.ConfigByDomain.domain.includes('eposHome') && !this.ConfigByDomain.domain.includes('eposAdmin')){\r\n //this.ConfigByDomain.domain = \"ctsadmin.com\";\r\n this.ConfigByDomain.domain = window.location.host;\r\n\r\n }\r\n\r\n const URL = `${environment.WebApiUrl + GetMethods.GET_CONFIG_BY_DOMAIN + '?domain=' + this.ConfigByDomain.domain}`;\r\n\r\n this._apiService.apiGetMethod(URL).subscribe({\r\n next: (result: ResponseData) => {\r\n if(result.success){\r\n if(this.lang != null) {\r\n localStorage.setItem(\"lang\", this.lang);\r\n }else{\r\n localStorage.setItem(\"lang\", result.data.language != null ? result.data.language: 'en');\r\n }\r\n this.localTheme = this._themeService.getThemeSelected();\r\n const dataselected = getThemeFilter(this.localTheme != null ? this.localTheme: result.data.Theme);\r\n this._themeService.setTheme(dataselected);\r\n localStorage.setItem(\"DomainCTS\", JSON.stringify(result.data));\r\n console.log(\"CONFIG BY DOMAIN\", result.data);\r\n }\r\n },\r\n error: (err: any) => {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n","/**\r\nInternal Modules\r\n*/\r\nimport { NgModule, isDevMode } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\n/**\r\nExternal Modules\r\n*/\r\n\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { JwtModule } from \"@auth0/angular-jwt\";\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgHttpLoaderModule } from 'ng-http-loader';\r\nimport { OnlineStatusModule } from 'ngx-online-status';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { NgxEditorModule } from \"ngx-editor\";\r\n\r\n/**\r\n PRIME MODULES\r\n*/ \r\n\r\nimport { TableModule } from 'primeng/table';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { SliderModule } from 'primeng/slider';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { ContextMenuModule } from 'primeng/contextmenu';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { ProgressBarModule } from 'primeng/progressbar';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { CardModule } from 'primeng/card';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { TagModule } from 'primeng/tag';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ScrollTopModule } from 'primeng/scrolltop';\r\nimport { BadgeModule } from 'primeng/badge';\r\n\r\n\r\n/**\r\nServices\r\n*/\r\nimport { ThemeService } from '@services/theme.service';\r\nimport { NotificationService } from '@services/notification.service';\r\nimport { TranslationService } from '@services/translate.service';\r\nimport { ApiService } from '@services/api.service';\r\nimport { TokenInterceptor } from '@services/token.interceptor';\r\nimport { CounterService } from '@services/counter.service';\r\nimport { CookieService } from 'ngx-cookie-service';\r\n\r\n/**\r\nComponents\r\n*/\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { NotificationsComponent } from './core/components/notifications/notifications.component';\r\nimport { LoginComponent } from './core/components/login/login.component';\r\nimport { NotFoundComponent } from './core/components/not-found/not-found.component';\r\nimport { NavbarComponent } from './core/components/navbar/navbar.component';\r\nimport { SideNavComponent } from './core/components/sidenav/sidenav.component';\r\nimport { MainLayoutComponent } from './core/layouts/main-layout/main-layout.component';\r\nimport { HeaderLayoutComponent } from './core/layouts/header-layout/header-layout.component';\r\nimport { DashboardComponent } from './core/components/dashboard/dashboard.component';\r\nimport { ConfigurationComponent } from './core/components/configuration/configuration.component';\r\n\r\n/**\r\nViews\r\n*/\r\n\r\nimport { TickerComponent } from './core/views/ticker/ticker.component';\r\nimport { HelpTicketCenterComponent } from './core/views/help-ticket-center/help-ticket-center.component';\r\nimport { InternalTicketCenterComponent } from './core/views/internal-ticket-center/internal-ticket-center.component';\r\nimport { PartnersTicketCenterComponent } from './core/views/partners-ticket-center/partners-ticket-center.component';\r\nimport { PersonalWorklogComponent } from './core/views/personal-worklog/personal-worklog.component';\r\nimport { ServiceDeskLogComponent } from './core/views/service-desk-log/service-desk-log.component';\r\nimport { ShortcutCenterComponent } from './core/views/shortcut-center/shortcut-center.component';\r\nimport { SubjectsComponent } from './core/views/subjects/subjects.component';\r\nimport { RelevanceLevelComponent } from './core/views/relevance-level/relevance-level.component';\r\nimport { StatusListComponent } from './core/views/status-list/status-list.component';\r\nimport { DepartmentComponent } from './core/views/department/department.component';\r\nimport { WebsiteSetupComponent } from './core/views/website-setup/website-setup.component';\r\nimport { UserComponent } from './core/views/user/user.component';\r\nimport { ProfileComponent } from './core/views/profile/profile.component';\r\nimport { TwoFactorComponent } from './core/components/two-factor/two-factor.component';\r\nimport { DirectTicketCenterComponent } from './core/views/direct-ticket-center/direct-ticket-center.component';\r\nimport { BrandSetUpComponent } from './core/views/brand-set-up/brand-set-up.component';\r\nimport { LogsComponent } from './core/views/logs/logs.component';\r\nimport { NotificationComponent } from './core/views/notification/notification.component';\r\nimport { ExportAsComponent } from './core/components/export-as/export-as.component';\r\nimport { TicketFormComponent } from './core/components/ticket-form/ticket-form.component';\r\nimport { TableGenericComponent } from './core/components/table-generic/table-generic.component';\r\nimport { TicketMessageInfoComponent } from './core/components/ticket-message-info/ticket-message-info.component';\r\nimport { TicketGeneralComponent } from './core/components/ticket-general/ticket-general.component';\r\nimport { FileUploadModule } from 'ng2-file-upload';\r\nimport { UserFormComponent } from './core/components/user-form/user-form.component';\r\nimport { CheckboxEditorComponent } from './core/components/checkbox-editor/checkbox-editor.component';\r\nimport { BrandSubjectFilterComponent } from './core/components/brand-subject-filter/brand-subject-filter.component';\r\nimport { ShortcutDeskFilterComponent } from './core/components/shortcut-desk-filter/shortcut-desk-filter.component';\r\nimport { EditProfileComponent } from './core/components/edit-profile/edit-profile.component';\r\nimport { ServiceWorkerModule } from '@angular/service-worker';\r\nimport { environment } from 'src/environments/environment';\r\n\r\nexport function HttpLoaderFactory(http: HttpClient) {\r\n return new TranslateHttpLoader(http);\r\n}\r\n\r\nexport function getLang(){\r\n const lang = localStorage.getItem('lang')!\r\n return lang != null ? lang : 'en';\r\n}\r\n\r\nexport function tokenGetter() {\r\n return sessionStorage.getItem(\"token\");\r\n}\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NotificationsComponent,\r\n LoginComponent,\r\n NotFoundComponent,\r\n NavbarComponent,\r\n SideNavComponent,\r\n MainLayoutComponent,\r\n HeaderLayoutComponent,\r\n DashboardComponent,\r\n TickerComponent,\r\n HelpTicketCenterComponent,\r\n InternalTicketCenterComponent,\r\n PartnersTicketCenterComponent,\r\n PersonalWorklogComponent,\r\n ServiceDeskLogComponent,\r\n ShortcutCenterComponent,\r\n SubjectsComponent,\r\n RelevanceLevelComponent,\r\n StatusListComponent,\r\n DepartmentComponent,\r\n WebsiteSetupComponent,\r\n UserComponent,\r\n ProfileComponent,\r\n ConfigurationComponent,\r\n TwoFactorComponent,\r\n DirectTicketCenterComponent,\r\n BrandSetUpComponent,\r\n LogsComponent,\r\n NotificationComponent,\r\n ExportAsComponent,\r\n TicketFormComponent,\r\n TableGenericComponent,\r\n TicketMessageInfoComponent,\r\n TicketGeneralComponent,\r\n UserFormComponent,\r\n CheckboxEditorComponent,\r\n BrandSubjectFilterComponent,\r\n ShortcutDeskFilterComponent,\r\n EditProfileComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppRoutingModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NgbModule,\r\n OnlineStatusModule,\r\n HttpClientModule,\r\n ScrollTopModule,\r\n BadgeModule,\r\n TableModule,\r\n CalendarModule,\r\n SliderModule,\r\n DialogModule,\r\n MultiSelectModule,\r\n ContextMenuModule,\r\n DropdownModule,\r\n ButtonModule,\r\n CardModule,\r\n InputTextModule,\r\n InputSwitchModule,\r\n ProgressBarModule,\r\n TabViewModule,\r\n CheckboxModule,\r\n DragDropModule,\r\n FontAwesomeModule,\r\n TagModule,\r\n BrowserAnimationsModule,\r\n FileUploadModule,\r\n NgxEditorModule.forRoot({\r\n locals: {\r\n // menu\r\n bold: 'Bold',\r\n italic: 'Italic',\r\n code: 'Code',\r\n underline: 'Underline',\r\n strike: 'Strike',\r\n blockquote: 'Blockquote',\r\n bullet_list: 'Bullet List',\r\n ordered_list: 'Ordered List',\r\n heading: 'Heading',\r\n h1: 'Header 1',\r\n h2: 'Header 2',\r\n h3: 'Header 3',\r\n h4: 'Header 4',\r\n h5: 'Header 5',\r\n h6: 'Header 6',\r\n align_left: 'Left Align',\r\n align_center: 'Center Align',\r\n align_right: 'Right Align',\r\n align_justify: 'Justify',\r\n text_color: 'Text Color',\r\n background_color: 'Background Color',\r\n insertLink: 'Insert Link',\r\n removeLink: 'Remove Link',\r\n insertImage: 'Insert Image',\r\n \r\n // pupups, forms, others...\r\n url: 'URL',\r\n text: 'Text',\r\n openInNewTab: 'Open in new tab',\r\n insert: 'Insert',\r\n altText: 'Alt Text',\r\n title: 'Title',\r\n remove: 'Remove',\r\n },\r\n }),\r\n NgHttpLoaderModule.forRoot(),\r\n TranslateModule.forRoot({\r\n defaultLanguage: getLang(),\r\n //defaultLanguage: 'en',\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: HttpLoaderFactory,\r\n deps: [HttpClient]\r\n }\r\n }),\r\n JwtModule.forRoot({\r\n config: {\r\n tokenGetter: tokenGetter,\r\n allowedDomains: [\"localhost:3001\", \"foo.com\", \"bar.com\"],\r\n disallowedRoutes: [\"http://example.com/examplebadroute/\"],\r\n },\r\n }),\r\n ServiceWorkerModule.register('ngsw-worker.js', {\r\n enabled: environment.production,\r\n // Register the ServiceWorker as soon as the application is stable\r\n // or after 30 seconds (whichever comes first).\r\n registrationStrategy: 'registerWhenStable:30000'\r\n }),\r\n ],\r\n providers: [\r\n ThemeService,\r\n NotificationService,\r\n CounterService,\r\n TranslationService,\r\n ApiService,\r\n CookieService,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","/// \r\n\r\nimport { 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"],"x_google_ignoreList":[]}