resources.js 7.4 KB

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