resources.js 8.2 KB

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