resources.js 7.4 KB

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