resources.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. var R = {
  2. id: {
  3. chanList: "chanList",
  4. context: "chatCtx",
  5. chatList: "chatList",
  6. roomInfoPopin: "ctxRoomInfo",
  7. mainSection: "chatSystemContainer",
  8. currentRoom: {
  9. title: "currentRoomTitle",
  10. starButton: "currentRoomStar",
  11. content: "chatWindow"
  12. },
  13. typing: "whoistyping",
  14. chanFilter: "chanSearch",
  15. message: {
  16. form: "msgForm",
  17. slashComplete: "slashList",
  18. input: "msgInput",
  19. replyTo: "replyToContainer",
  20. file: {
  21. bt: "attachFile",
  22. formContainer: "fileUploadContainer",
  23. fileInput: "fileUploadInput",
  24. form: "fileUploadForm",
  25. error: "fileUploadError",
  26. cancel: "fileUploadCancel"
  27. },
  28. emoji: "emojiButton"
  29. },
  30. settings: {
  31. menuButton: "ctxMenuSettings",
  32. wrapper: "settings",
  33. menu: {
  34. list: "settingMenuItems"
  35. },
  36. services: {
  37. addButton: "settings-serviceAddButton",
  38. addSection: "settings-serviceAddSection",
  39. serviceProviderList: "settings-serviceAddServiceList",
  40. serviceAddConfirm: "settings-serviceAddConfirm"
  41. }
  42. },
  43. favicon: "linkFavicon"
  44. },
  45. klass: {
  46. selected: "selected",
  47. hidden: "hidden",
  48. button: "button",
  49. buttonContainer: "button-container",
  50. noRoomSelected: "no-room-selected",
  51. noNetwork: "no-network",
  52. starred: "starred",
  53. unread: "unread",
  54. unreadHi: "unreadHi",
  55. replyingTo: "replyingTo",
  56. presenceAway: "away",
  57. typing: {
  58. container: "typing-container",
  59. dot1: "typing-dot1",
  60. dot2: "typing-dot2",
  61. dot3: "typing-dot3"
  62. },
  63. emoji: {
  64. emoji: "emoji",
  65. small: "emoji-small",
  66. medium: "emoji-medium",
  67. custom: "emoji-custom"
  68. },
  69. commands: {
  70. item: "chat-command-item",
  71. header: "chat-command-header",
  72. name: "chat-command-name",
  73. usage: "chat-command-usage",
  74. desc: "chat-command-desc"
  75. },
  76. emojibar: {
  77. container: "emojibar",
  78. emojis: "emojibar-emojis",
  79. close: "emojibar-close",
  80. header: "emojibar-header",
  81. list: "emojibar-list",
  82. item: "emojibar-list-item",
  83. search: "emojibar-search",
  84. overlay: "emojibar-overlay",
  85. detail: {
  86. container: "emojibar-detail",
  87. img: "emojibar-detail-img",
  88. name: "emojibar-detail-name"
  89. }
  90. },
  91. chatList: {
  92. entry: "chat-context-room",
  93. typeChannel: "chat-channel",
  94. typePrivate: "chat-group",
  95. typeDirect: "chat-ims",
  96. typing: "chat-context-typing"
  97. },
  98. msg: {
  99. item: "chatmsg-item",
  100. notice: "chatmsg-notice",
  101. firstUnread: "chatmsg-first-unread",
  102. content: "chatmsg-content",
  103. meMessage: "chatmsg-me_message",
  104. ts: "chatmsg-ts",
  105. author: "chatmsg-author",
  106. authorname: "chatmsg-author-name",
  107. authorAvatar: "chatmsg-author-img",
  108. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  109. authorMessages: "chatmsg-author-messages",
  110. msg: "chatmsg-msg",
  111. editedStatus: "edited",
  112. edited: "chatmsg-edited",
  113. authorGroup: "chatmsg-authorGroup",
  114. sameTs: "chatmsg-same-ts",
  115. hover: {
  116. container: "chatmsg-hover",
  117. reply: "chatmsg-hover-reply",
  118. reaction: "chatmsg-hover-reaction",
  119. edit: "chatmsg-hover-edit",
  120. star: "chatmsg-hover-star",
  121. pin: "chatmsg-hover-pin",
  122. remove: "chatmsg-hover-remove"
  123. },
  124. replyTo: {
  125. close: "replyto-close"
  126. },
  127. link: "chatmsg-link",
  128. linkuser: "chatmsg-link-user",
  129. linkchan: "chatmsg-link-chan",
  130. attachment: {
  131. container: "chatmsg-attachment",
  132. list: "chatmsg-attachments",
  133. hasThumb: "has-thumb",
  134. pretext: "chatmsg-attachment-pretext",
  135. block: "chatmsg-attachment-block",
  136. title: "chatmsg-attachment-title",
  137. content: "chatmsg-attachment-content",
  138. text: "chatmsg-attachment-text",
  139. thumbImg: "chatmsg-attachment-thumb",
  140. img: "chatmsg-attachment-img",
  141. actions: "chatmsg-attachment-actions",
  142. actionItem: "chatmsg-attachment-actions-item",
  143. field: {
  144. container: "chatmsg-attachment-fields",
  145. item: "field",
  146. title: "field-title",
  147. text: "field-text",
  148. longField: "field-long"
  149. },
  150. footer: "chatmsg-attachment-footer",
  151. footerText: "chatmsg-attachment-footer-text",
  152. footerIcon: "chatmsg-attachment-footer-icon"
  153. },
  154. reactions: {
  155. container: "chatmsg-reactions",
  156. item: "chatmsg-reaction-item"
  157. },
  158. style: {
  159. bold: "chatmsg-style-bold",
  160. code: "chatmsg-style-code",
  161. longCode: "chatmsg-style-longcode",
  162. italic: "chatmsg-style-italic",
  163. strike: "chatmsg-style-strike",
  164. quote: "chatmsg-style-quote"
  165. }
  166. },
  167. dialog: {
  168. container: "dialog",
  169. overlay: "dialog-overlay",
  170. title: "dialog-title",
  171. titleLabel: "dialog-title-label",
  172. closeButton: "dialog-title-close",
  173. body: "dialog-body",
  174. buttonBar: "dialog-footer"
  175. },
  176. map: {
  177. container: "OSM-wrapper",
  178. canvas: "OSM-canvas",
  179. buttonContainer: "OSM-controls",
  180. buttonM: "OSM-controls-zoomMin",
  181. buttonP: "OSM-controls-zoomPlus"
  182. }
  183. }
  184. };