1
0

resources.js 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. presenceIndicator: "presence-indicator",
  53. starred: "starred",
  54. unread: "unread",
  55. unreadHi: "unreadHi",
  56. replyingTo: "replyingTo",
  57. presenceAway: "presence-away",
  58. typing: {
  59. container: "typing-container",
  60. dot1: "typing-dot1",
  61. dot2: "typing-dot2",
  62. dot3: "typing-dot3"
  63. },
  64. emoji: {
  65. emoji: "emoji",
  66. small: "emoji-small",
  67. medium: "emoji-medium",
  68. custom: "emoji-custom"
  69. },
  70. commands: {
  71. item: "chat-command-item",
  72. header: "chat-command-header",
  73. name: "chat-command-name",
  74. usage: "chat-command-usage",
  75. desc: "chat-command-desc"
  76. },
  77. emojibar: {
  78. container: "emojibar",
  79. emojis: "emojibar-emojis",
  80. close: "emojibar-close",
  81. header: "emojibar-header",
  82. list: "emojibar-list",
  83. item: "emojibar-list-item",
  84. search: "emojibar-search",
  85. overlay: "emojibar-overlay",
  86. detail: {
  87. container: "emojibar-detail",
  88. img: "emojibar-detail-img",
  89. name: "emojibar-detail-name"
  90. }
  91. },
  92. chatList: {
  93. entry: "chat-context-room",
  94. typeChannel: "chat-channel",
  95. typePrivate: "chat-group",
  96. typeDirect: "chat-ims",
  97. typing: "chat-context-typing",
  98. roomInfo: {
  99. container: "chat-context-roominfo",
  100. title: "roominfo-title",
  101. presence: "roominfo-presence",
  102. topic: "roominfo-topic",
  103. topicCreator: "roominfo-topic-creator",
  104. purpose: "roominfo-purpose",
  105. purposeCreator: "roominfo-purpose-creator",
  106. userCount: "roominfo-usercount",
  107. userList: "roominfo-userlist",
  108. pinCount: "roominfo-pincount",
  109. pinList: "roominfo-pinlist",
  110. pinItem: "roominfo-pinlist-item",
  111. unpin: "roominfo-unpin",
  112. author: "roominfo-author",
  113. phone: "roominfo-phone",
  114. type: {
  115. channel: "roominfo-channel",
  116. user: "roominfo-user"
  117. }
  118. }
  119. },
  120. msg: {
  121. item: "chatmsg-item",
  122. notice: "chatmsg-notice",
  123. firstUnread: "chatmsg-first-unread",
  124. content: "chatmsg-content",
  125. meMessage: "chatmsg-me_message",
  126. ts: "chatmsg-ts",
  127. author: "chatmsg-author",
  128. authorname: "chatmsg-author-name",
  129. authorAvatar: "chatmsg-author-img",
  130. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  131. authorMessages: "chatmsg-author-messages",
  132. msg: "chatmsg-msg",
  133. editedStatus: "edited",
  134. edited: "chatmsg-edited",
  135. authorGroup: "chatmsg-authorGroup",
  136. sameTs: "chatmsg-same-ts",
  137. hover: {
  138. container: "chatmsg-hover",
  139. reply: "chatmsg-hover-reply",
  140. reaction: "chatmsg-hover-reaction",
  141. edit: "chatmsg-hover-edit",
  142. star: "chatmsg-hover-star",
  143. pin: "chatmsg-hover-pin",
  144. remove: "chatmsg-hover-remove"
  145. },
  146. replyTo: {
  147. close: "replyto-close"
  148. },
  149. link: "chatmsg-link",
  150. linkuser: "chatmsg-link-user",
  151. linkchan: "chatmsg-link-chan",
  152. attachment: {
  153. container: "chatmsg-attachment",
  154. list: "chatmsg-attachments",
  155. hasThumb: "has-thumb",
  156. pretext: "chatmsg-attachment-pretext",
  157. block: "chatmsg-attachment-block",
  158. title: "chatmsg-attachment-title",
  159. content: "chatmsg-attachment-content",
  160. text: "chatmsg-attachment-text",
  161. thumbImg: "chatmsg-attachment-thumb",
  162. img: "chatmsg-attachment-img",
  163. actions: "chatmsg-attachment-actions",
  164. actionItem: "chatmsg-attachment-actions-item",
  165. field: {
  166. container: "chatmsg-attachment-fields",
  167. item: "field",
  168. title: "field-title",
  169. text: "field-text",
  170. longField: "field-long"
  171. },
  172. footer: "chatmsg-attachment-footer",
  173. footerText: "chatmsg-attachment-footer-text",
  174. footerIcon: "chatmsg-attachment-footer-icon"
  175. },
  176. reactions: {
  177. container: "chatmsg-reactions",
  178. item: "chatmsg-reaction-item"
  179. },
  180. style: {
  181. bold: "chatmsg-style-bold",
  182. code: "chatmsg-style-code",
  183. longCode: "chatmsg-style-longcode",
  184. italic: "chatmsg-style-italic",
  185. strike: "chatmsg-style-strike",
  186. quote: "chatmsg-style-quote"
  187. }
  188. },
  189. dialog: {
  190. container: "dialog",
  191. overlay: "dialog-overlay",
  192. title: "dialog-title",
  193. titleLabel: "dialog-title-label",
  194. closeButton: "dialog-title-close",
  195. body: "dialog-body",
  196. buttonBar: "dialog-footer"
  197. },
  198. map: {
  199. container: "OSM-wrapper",
  200. canvas: "OSM-canvas",
  201. buttonContainer: "OSM-controls",
  202. buttonM: "OSM-controls-zoomMin",
  203. buttonP: "OSM-controls-zoomPlus"
  204. }
  205. }
  206. };