1
0

resources.js 8.2 KB

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