resources.js 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. var R = {
  2. id: {
  3. stylesheet: "customsheet",
  4. chanList: "chanList",
  5. context: "chatCtx",
  6. contextButton: "chatCtxButton",
  7. chatList: "chatList",
  8. roomInfoPopin: "ctxRoomInfo",
  9. mainSection: "chatSystemContainer",
  10. currentRoom: {
  11. header: "chatsystemHeader",
  12. title: "currentRoomTitle",
  13. starButton: "currentRoomStar",
  14. content: "chatWindow"
  15. },
  16. typing: "whoistyping",
  17. chanFilter: "chanSearch",
  18. message: {
  19. form: "msgForm",
  20. submitButton: "msgFormSubmit",
  21. slashComplete: "slashList",
  22. input: "msgInput",
  23. replyTo: "replyToContainer",
  24. file: {
  25. bt: "attachFile",
  26. formContainer: "fileUploadContainer",
  27. fileInput: "fileUploadInput",
  28. form: "fileUploadForm",
  29. error: "fileUploadError",
  30. cancel: "fileUploadCancel"
  31. },
  32. emoji: "emojiButton"
  33. },
  34. settings: {
  35. logout: "ctxMenuLogout",
  36. menuButton: "ctxMenuSettings",
  37. closeButton: "settingDiscardClose",
  38. wrapper: "settings",
  39. commitBt: "settingCommit",
  40. menu: {
  41. list: "settingMenuItems"
  42. },
  43. services: {
  44. addButton: "settings-serviceAddButton",
  45. addSection: "settings-serviceAddSection",
  46. serviceList: "settings-serviceList",
  47. serviceListEmpty: "settings-serviceListEmpty",
  48. serviceProviderList: "settings-serviceAddServiceList",
  49. serviceAddConfirm: "settings-serviceAddConfirm"
  50. },
  51. display: {
  52. emojiProvider: "settings-displayEmojiProvider",
  53. displayAvatar: "settings-displayDisplayAvatar",
  54. colorfulNames: "settings-displayColorfulNames"
  55. }
  56. },
  57. favicon: "linkFavicon"
  58. },
  59. klass: {
  60. selected: "selected",
  61. opened: "opened",
  62. hidden: "hidden",
  63. button: "button",
  64. buttonContainer: "button-container",
  65. noRoomSelected: "no-room-selected",
  66. noNetwork: "no-network",
  67. presenceIndicator: "presence-indicator",
  68. starred: "starred",
  69. unread: "unread",
  70. unreadHi: "unreadHi",
  71. replyingTo: "replyingTo",
  72. presenceAway: "presence-away",
  73. typing: {
  74. container: "typing-container",
  75. dot1: "typing-dot1",
  76. dot2: "typing-dot2",
  77. dot3: "typing-dot3"
  78. },
  79. emoji: {
  80. emoji: "emoji",
  81. small: "emoji-small",
  82. medium: "emoji-medium",
  83. custom: "emoji-custom"
  84. },
  85. commands: {
  86. item: "chat-command-item",
  87. header: "chat-command-header",
  88. name: "chat-command-name",
  89. usage: "chat-command-usage",
  90. desc: "chat-command-desc",
  91. userIcon: "chat-command-userIcon"
  92. },
  93. emojibar: {
  94. container: "emojibar",
  95. emojis: "emojibar-emojis",
  96. close: "emojibar-close",
  97. header: "emojibar-header",
  98. list: "emojibar-list",
  99. item: "emojibar-list-item",
  100. search: "emojibar-search",
  101. overlay: "emojibar-overlay",
  102. detail: {
  103. container: "emojibar-detail",
  104. img: "emojibar-detail-img",
  105. name: "emojibar-detail-name"
  106. }
  107. },
  108. chatList: {
  109. entry: "chat-context-room",
  110. typeChannel: "chat-channel",
  111. typePrivate: "chat-group",
  112. typeDirect: "chat-ims",
  113. typing: "chat-context-typing",
  114. roomInfo: {
  115. container: "chat-context-roominfo",
  116. title: "roominfo-title",
  117. presence: "roominfo-presence",
  118. topic: "roominfo-topic",
  119. topicCreator: "roominfo-topic-creator",
  120. purpose: "roominfo-purpose",
  121. purposeCreator: "roominfo-purpose-creator",
  122. userCount: "roominfo-usercount",
  123. userList: "roominfo-userlist",
  124. pinCount: "roominfo-pincount",
  125. pinList: "roominfo-pinlist",
  126. pinItem: "roominfo-pinlist-item",
  127. unpin: "roominfo-unpin",
  128. author: "roominfo-author",
  129. phone: "roominfo-phone",
  130. type: {
  131. channel: "roominfo-channel",
  132. user: "roominfo-user"
  133. }
  134. }
  135. },
  136. msg: {
  137. item: "chatmsg-item",
  138. pending: "chatmsg-pending",
  139. notice: "chatmsg-notice",
  140. firstUnread: "chatmsg-first-unread",
  141. content: "chatmsg-content",
  142. meMessage: "chatmsg-me_message",
  143. ts: "chatmsg-ts",
  144. author: "chatmsg-author",
  145. authorname: "chatmsg-author-name",
  146. authorAvatar: "chatmsg-author-img",
  147. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  148. authorMessages: "chatmsg-author-messages",
  149. msg: "chatmsg-msg",
  150. editedStatus: "edited",
  151. edited: "chatmsg-edited",
  152. authorGroup: "chatmsg-authorGroup",
  153. sameTs: "chatmsg-same-ts",
  154. hover: {
  155. container: "chatmsg-hover",
  156. reply: "chatmsg-hover-reply",
  157. reaction: "chatmsg-hover-reaction",
  158. edit: "chatmsg-hover-edit",
  159. star: "chatmsg-hover-star",
  160. pin: "chatmsg-hover-pin",
  161. remove: "chatmsg-hover-remove"
  162. },
  163. replyTo: {
  164. close: "replyto-close"
  165. },
  166. link: "chatmsg-link",
  167. linkuser: "chatmsg-link-user",
  168. linkchan: "chatmsg-link-chan",
  169. attachment: {
  170. container: "chatmsg-attachment",
  171. list: "chatmsg-attachments",
  172. hasThumb: "has-thumb",
  173. pretext: "chatmsg-attachment-pretext",
  174. block: "chatmsg-attachment-block",
  175. title: "chatmsg-attachment-title",
  176. content: "chatmsg-attachment-content",
  177. text: "chatmsg-attachment-text",
  178. thumbImg: "chatmsg-attachment-thumb",
  179. img: "chatmsg-attachment-img",
  180. actions: "chatmsg-attachment-actions",
  181. actionItem: "chatmsg-attachment-actions-item",
  182. field: {
  183. container: "chatmsg-attachment-fields",
  184. item: "field",
  185. title: "field-title",
  186. text: "field-text",
  187. longField: "field-long"
  188. },
  189. footer: "chatmsg-attachment-footer",
  190. footerText: "chatmsg-attachment-footer-text",
  191. footerIcon: "chatmsg-attachment-footer-icon"
  192. },
  193. reactions: {
  194. container: "chatmsg-reactions",
  195. item: "chatmsg-reaction-item"
  196. },
  197. style: {
  198. bold: "chatmsg-style-bold",
  199. code: "chatmsg-style-code",
  200. longCode: "chatmsg-style-longcode",
  201. italic: "chatmsg-style-italic",
  202. strike: "chatmsg-style-strike",
  203. quote: "chatmsg-style-quote"
  204. }
  205. },
  206. settings: {
  207. services: {
  208. item: "settings-service-list-item",
  209. provider: "settings-service-list-item-provider",
  210. service: "settings-service-list-item-service"
  211. }
  212. },
  213. dialog: {
  214. container: "dialog",
  215. overlay: "dialog-overlay",
  216. title: "dialog-title",
  217. titleLabel: "dialog-title-label",
  218. closeButton: "dialog-title-close",
  219. body: "dialog-body",
  220. buttonBar: "dialog-footer"
  221. },
  222. map: {
  223. container: "OSM-wrapper",
  224. canvas: "OSM-canvas",
  225. buttonContainer: "OSM-controls",
  226. buttonM: "OSM-controls-zoomMin",
  227. buttonP: "OSM-controls-zoomPlus"
  228. }
  229. }
  230. };