resources.js 7.0 KB

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