config.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import RtmClient from 'assets/js/rtm-client.js';
  2. export class CONFIG {
  3. // For Developemet version
  4. public static domainUrl: string = "https://hyper-m.cygnusa.in/";
  5. public static _url: string = CONFIG.domainUrl+"_api/web/en_us/";
  6. //Common variables//
  7. public static _loggedIn: boolean;
  8. public static _user_mobile: any='';
  9. public static _active_url:any='';
  10. public static forgot_cont:boolean = false;
  11. public static forgot_user:any;
  12. public static forgot_mobile_no:any;
  13. public static configyearval:any='';
  14. public static configmonthval:any='';
  15. public static configtempval:any='';
  16. public static selecteddsename:any='';
  17. public static selecteddsecity:any='';
  18. public static page_change:boolean;
  19. public static am_page_change:boolean;
  20. // messages
  21. public static enter_new_password: string = "Please fill the new password";
  22. public static image360Sources:any=[];
  23. public static rtcobj = {
  24. client: null,
  25. joined: false,
  26. published: false,
  27. localStream: null,
  28. screenStream:null,
  29. remoteStreams: [],
  30. params: {},
  31. role : 'host',
  32. isPresentSomeOne : false,
  33. isScreenshare : false
  34. };
  35. public static share_enable = {
  36. "canPresent": 6,
  37. "date": '',
  38. "id": 'All',
  39. "isRequesPresent": false,
  40. "isRequesProfile": false,
  41. "isRequest": false,
  42. "isResponse": true,
  43. "isResponsePresent": true,
  44. "isResponseProfile": false,
  45. "message": "",
  46. "name": '',
  47. "profile": ''
  48. }
  49. public static share_disable = {
  50. "canPresent": 7,
  51. "date": '',
  52. "id": 'All',
  53. "isRequesPresent": false,
  54. "isRequesProfile": false,
  55. "isRequest": false,
  56. "isResponse": true,
  57. "isResponsePresent": true,
  58. "isResponseProfile": false,
  59. "message": "",
  60. "name": '',
  61. "profile": ''
  62. }
  63. public static rtm = new RtmClient();
  64. constructor() { }
  65. }