resources.js 7.2 KB

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