resources.js 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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. star: "chatmsg-hover-star",
  118. pin: "chatmsg-hover-pin",
  119. remove: "chatmsg-hover-remove"
  120. },
  121. replyTo: {
  122. close: "replyto-close"
  123. },
  124. link: "chatmsg-link",
  125. linkuser: "chatmsg-link-user",
  126. linkchan: "chatmsg-link-chan",
  127. attachment: {
  128. container: "chatmsg-attachment",
  129. list: "chatmsg-attachments",
  130. hasThumb: "has-thumb",
  131. pretext: "chatmsg-attachment-pretext",
  132. block: "chatmsg-attachment-block",
  133. title: "chatmsg-attachment-title",
  134. content: "chatmsg-attachment-content",
  135. text: "chatmsg-attachment-text",
  136. thumbImg: "chatmsg-attachment-thumb",
  137. img: "chatmsg-attachment-img",
  138. actions: "chatmsg-attachment-actions",
  139. actionItem: "chatmsg-attachment-actions-item",
  140. field: {
  141. container: "chatmsg-attachment-fields",
  142. item: "field",
  143. title: "field-title",
  144. text: "field-text",
  145. longField: "field-long"
  146. },
  147. footer: "chatmsg-attachment-footer",
  148. footerText: "chatmsg-attachment-footer-text",
  149. footerIcon: "chatmsg-attachment-footer-icon"
  150. },
  151. reactions: {
  152. container: "chatmsg-reactions",
  153. item: "chatmsg-reaction-item"
  154. },
  155. style: {
  156. bold: "chatmsg-style-bold",
  157. code: "chatmsg-style-code",
  158. longCode: "chatmsg-style-longcode",
  159. italic: "chatmsg-style-italic",
  160. strike: "chatmsg-style-strike",
  161. quote: "chatmsg-style-quote"
  162. }
  163. },
  164. dialog: {
  165. container: "dialog",
  166. overlay: "dialog-overlay",
  167. title: "dialog-title",
  168. titleLabel: "dialog-title-label",
  169. closeButton: "dialog-title-close",
  170. body: "dialog-body",
  171. buttonBar: "dialog-footer"
  172. },
  173. map: {
  174. container: "OSM-wrapper",
  175. canvas: "OSM-canvas",
  176. buttonContainer: "OSM-controls",
  177. buttonM: "OSM-controls-zoomMin",
  178. buttonP: "OSM-controls-zoomPlus"
  179. }
  180. }
  181. };