resources.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. var R = {
  2. id: {
  3. chanList: "chanList",
  4. context: "chatCtx",
  5. chatList: "chatList",
  6. mainSection: "chatSystemContainer",
  7. currentRoom: {
  8. title: "currentRoomTitle",
  9. starButton: "currentRoomStar",
  10. content: "chatWindow"
  11. },
  12. typing: "whoistyping",
  13. message: {
  14. form: "msgForm",
  15. slashComplete: "slashList",
  16. input: "msgInput",
  17. replyTo: "replyToContainer",
  18. file: {
  19. bt: "attachFile",
  20. formContainer: "fileUploadContainer",
  21. fileInput: "fileUploadInput",
  22. form: "fileUploadForm",
  23. error: "fileUploadError",
  24. cancel: "fileUploadCancel"
  25. },
  26. emoji: "emojiButton"
  27. },
  28. settings: {
  29. wrapper: "settings",
  30. menu: {
  31. list: "settingMenuItems"
  32. },
  33. services: {
  34. addButton: "settings-serviceAddButton",
  35. addSection: "settings-serviceAddSection",
  36. serviceProviderList: "settings-serviceAddServiceList",
  37. serviceAddConfirm: "settings-serviceAddConfirm"
  38. }
  39. },
  40. favicon: "linkFavicon"
  41. },
  42. klass: {
  43. selected: "selected",
  44. hidden: "hidden",
  45. button: "button",
  46. buttonContainer: "button-container",
  47. noRoomSelected: "no-room-selected",
  48. noNetwork: "no-network",
  49. starred: "starred",
  50. unread: "unread",
  51. unreadHi: "unreadHi",
  52. replyingTo: "replyingTo",
  53. presenceAway: "away",
  54. typing: {
  55. container: "typing-container",
  56. dot1: "typing-dot1",
  57. dot2: "typing-dot2",
  58. dot3: "typing-dot3"
  59. },
  60. emoji: {
  61. emoji: "emoji",
  62. small: "emoji-small",
  63. medium: "emoji-medium",
  64. custom: "emoji-custom"
  65. },
  66. commands: {
  67. item: "chat-command-item",
  68. header: "chat-command-header",
  69. name: "chat-command-name",
  70. usage: "chat-command-usage",
  71. desc: "chat-command-desc"
  72. },
  73. emojibar: {
  74. container: "emojibar",
  75. emojis: "emojibar-emojis",
  76. close: "emojibar-close",
  77. header: "emojibar-header",
  78. list: "emojibar-list",
  79. item: "emojibar-list-item",
  80. search: "emojibar-search",
  81. overlay: "emojibar-overlay",
  82. detail: {
  83. container: "emojibar-detail",
  84. img: "emojibar-detail-img",
  85. name: "emojibar-detail-name"
  86. }
  87. },
  88. chatList: {
  89. entry: "chat-context-room",
  90. typeChannel: "chat-channel",
  91. typePrivate: "chat-group",
  92. typeDirect: "chat-ims",
  93. typing: "chat-context-typing"
  94. },
  95. msg: {
  96. item: "chatmsg-item",
  97. notice: "chatmsg-notice",
  98. firstUnread: "chatmsg-first-unread",
  99. content: "chatmsg-content",
  100. meMessage: "chatmsg-me_message",
  101. ts: "chatmsg-ts",
  102. author: "chatmsg-author",
  103. authorname: "chatmsg-author-name",
  104. authorAvatar: "chatmsg-author-img",
  105. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  106. authorMessages: "chatmsg-author-messages",
  107. msg: "chatmsg-msg",
  108. editedStatus: "edited",
  109. edited: "chatmsg-edited",
  110. authorGroup: "chatmsg-authorGroup",
  111. sameTs: "chatmsg-same-ts",
  112. hover: {
  113. container: "chatmsg-hover",
  114. reply: "chatmsg-hover-reply",
  115. reaction: "chatmsg-hover-reaction",
  116. edit: "chatmsg-hover-edit",
  117. remove: "chatmsg-hover-remove"
  118. },
  119. replyTo: {
  120. close: "replyto-close"
  121. },
  122. link: "chatmsg-link",
  123. linkuser: "chatmsg-link-user",
  124. linkchan: "chatmsg-link-chan",
  125. attachment: {
  126. container: "chatmsg-attachment",
  127. list: "chatmsg-attachments",
  128. hasThumb: "has-thumb",
  129. pretext: "chatmsg-attachment-pretext",
  130. block: "chatmsg-attachment-block",
  131. title: "chatmsg-attachment-title",
  132. content: "chatmsg-attachment-content",
  133. text: "chatmsg-attachment-text",
  134. thumbImg: "chatmsg-attachment-thumb",
  135. img: "chatmsg-attachment-img",
  136. actions: "chatmsg-attachment-actions",
  137. actionItem: "chatmsg-attachment-actions-item",
  138. field: {
  139. container: "chatmsg-attachment-fields",
  140. item: "field",
  141. title: "field-title",
  142. text: "field-text",
  143. longField: "field-long"
  144. },
  145. footer: "chatmsg-attachment-footer",
  146. footerText: "chatmsg-attachment-footer-text",
  147. footerIcon: "chatmsg-attachment-footer-icon"
  148. },
  149. reactions: {
  150. container: "chatmsg-reactions",
  151. item: "chatmsg-reaction-item"
  152. },
  153. style: {
  154. bold: "chatmsg-style-bold",
  155. code: "chatmsg-style-code",
  156. longCode: "chatmsg-style-longcode",
  157. italic: "chatmsg-style-italic",
  158. strike: "chatmsg-style-strike",
  159. quote: "chatmsg-style-quote"
  160. }
  161. },
  162. dialog: {
  163. container: "dialog",
  164. overlay: "dialog-overlay",
  165. title: "dialog-title",
  166. titleLabel: "dialog-title-label",
  167. closeButton: "dialog-title-close",
  168. body: "dialog-body",
  169. buttonBar: "dialog-footer"
  170. },
  171. map: {
  172. container: "OSM-wrapper",
  173. canvas: "OSM-canvas",
  174. buttonContainer: "OSM-controls",
  175. buttonM: "OSM-controls-zoomMin",
  176. buttonP: "OSM-controls-zoomPlus"
  177. }
  178. }
  179. };