resources.js 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. author: "roominfo-author",
  112. phone: "roominfo-phone",
  113. type: {
  114. channel: "roominfo-channel",
  115. user: "roominfo-user"
  116. }
  117. }
  118. },
  119. msg: {
  120. item: "chatmsg-item",
  121. notice: "chatmsg-notice",
  122. firstUnread: "chatmsg-first-unread",
  123. content: "chatmsg-content",
  124. meMessage: "chatmsg-me_message",
  125. ts: "chatmsg-ts",
  126. author: "chatmsg-author",
  127. authorname: "chatmsg-author-name",
  128. authorAvatar: "chatmsg-author-img",
  129. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  130. authorMessages: "chatmsg-author-messages",
  131. msg: "chatmsg-msg",
  132. editedStatus: "edited",
  133. edited: "chatmsg-edited",
  134. authorGroup: "chatmsg-authorGroup",
  135. sameTs: "chatmsg-same-ts",
  136. hover: {
  137. container: "chatmsg-hover",
  138. reply: "chatmsg-hover-reply",
  139. reaction: "chatmsg-hover-reaction",
  140. edit: "chatmsg-hover-edit",
  141. star: "chatmsg-hover-star",
  142. pin: "chatmsg-hover-pin",
  143. remove: "chatmsg-hover-remove"
  144. },
  145. replyTo: {
  146. close: "replyto-close"
  147. },
  148. link: "chatmsg-link",
  149. linkuser: "chatmsg-link-user",
  150. linkchan: "chatmsg-link-chan",
  151. attachment: {
  152. container: "chatmsg-attachment",
  153. list: "chatmsg-attachments",
  154. hasThumb: "has-thumb",
  155. pretext: "chatmsg-attachment-pretext",
  156. block: "chatmsg-attachment-block",
  157. title: "chatmsg-attachment-title",
  158. content: "chatmsg-attachment-content",
  159. text: "chatmsg-attachment-text",
  160. thumbImg: "chatmsg-attachment-thumb",
  161. img: "chatmsg-attachment-img",
  162. actions: "chatmsg-attachment-actions",
  163. actionItem: "chatmsg-attachment-actions-item",
  164. field: {
  165. container: "chatmsg-attachment-fields",
  166. item: "field",
  167. title: "field-title",
  168. text: "field-text",
  169. longField: "field-long"
  170. },
  171. footer: "chatmsg-attachment-footer",
  172. footerText: "chatmsg-attachment-footer-text",
  173. footerIcon: "chatmsg-attachment-footer-icon"
  174. },
  175. reactions: {
  176. container: "chatmsg-reactions",
  177. item: "chatmsg-reaction-item"
  178. },
  179. style: {
  180. bold: "chatmsg-style-bold",
  181. code: "chatmsg-style-code",
  182. longCode: "chatmsg-style-longcode",
  183. italic: "chatmsg-style-italic",
  184. strike: "chatmsg-style-strike",
  185. quote: "chatmsg-style-quote"
  186. }
  187. },
  188. dialog: {
  189. container: "dialog",
  190. overlay: "dialog-overlay",
  191. title: "dialog-title",
  192. titleLabel: "dialog-title-label",
  193. closeButton: "dialog-title-close",
  194. body: "dialog-body",
  195. buttonBar: "dialog-footer"
  196. },
  197. map: {
  198. container: "OSM-wrapper",
  199. canvas: "OSM-canvas",
  200. buttonContainer: "OSM-controls",
  201. buttonM: "OSM-controls-zoomMin",
  202. buttonP: "OSM-controls-zoomPlus"
  203. }
  204. }
  205. };