resources.js 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. menuButton: "ctxMenuSettings",
  30. wrapper: "settings",
  31. menu: {
  32. list: "settingMenuItems"
  33. },
  34. services: {
  35. addButton: "settings-serviceAddButton",
  36. addSection: "settings-serviceAddSection",
  37. serviceProviderList: "settings-serviceAddServiceList",
  38. serviceAddConfirm: "settings-serviceAddConfirm"
  39. }
  40. },
  41. favicon: "linkFavicon"
  42. },
  43. klass: {
  44. selected: "selected",
  45. hidden: "hidden",
  46. button: "button",
  47. buttonContainer: "button-container",
  48. noRoomSelected: "no-room-selected",
  49. noNetwork: "no-network",
  50. starred: "starred",
  51. unread: "unread",
  52. unreadHi: "unreadHi",
  53. replyingTo: "replyingTo",
  54. presenceAway: "away",
  55. typing: {
  56. container: "typing-container",
  57. dot1: "typing-dot1",
  58. dot2: "typing-dot2",
  59. dot3: "typing-dot3"
  60. },
  61. emoji: {
  62. emoji: "emoji",
  63. small: "emoji-small",
  64. medium: "emoji-medium",
  65. custom: "emoji-custom"
  66. },
  67. commands: {
  68. item: "chat-command-item",
  69. header: "chat-command-header",
  70. name: "chat-command-name",
  71. usage: "chat-command-usage",
  72. desc: "chat-command-desc"
  73. },
  74. emojibar: {
  75. container: "emojibar",
  76. emojis: "emojibar-emojis",
  77. close: "emojibar-close",
  78. header: "emojibar-header",
  79. list: "emojibar-list",
  80. item: "emojibar-list-item",
  81. search: "emojibar-search",
  82. overlay: "emojibar-overlay",
  83. detail: {
  84. container: "emojibar-detail",
  85. img: "emojibar-detail-img",
  86. name: "emojibar-detail-name"
  87. }
  88. },
  89. chatList: {
  90. entry: "chat-context-room",
  91. typeChannel: "chat-channel",
  92. typePrivate: "chat-group",
  93. typeDirect: "chat-ims",
  94. typing: "chat-context-typing"
  95. },
  96. msg: {
  97. item: "chatmsg-item",
  98. notice: "chatmsg-notice",
  99. firstUnread: "chatmsg-first-unread",
  100. content: "chatmsg-content",
  101. meMessage: "chatmsg-me_message",
  102. ts: "chatmsg-ts",
  103. author: "chatmsg-author",
  104. authorname: "chatmsg-author-name",
  105. authorAvatar: "chatmsg-author-img",
  106. authorAvatarWrapper: "chatmsg-author-img-wrapper",
  107. authorMessages: "chatmsg-author-messages",
  108. msg: "chatmsg-msg",
  109. editedStatus: "edited",
  110. edited: "chatmsg-edited",
  111. authorGroup: "chatmsg-authorGroup",
  112. sameTs: "chatmsg-same-ts",
  113. hover: {
  114. container: "chatmsg-hover",
  115. reply: "chatmsg-hover-reply",
  116. reaction: "chatmsg-hover-reaction",
  117. edit: "chatmsg-hover-edit",
  118. star: "chatmsg-hover-star",
  119. pin: "chatmsg-hover-pin",
  120. remove: "chatmsg-hover-remove"
  121. },
  122. replyTo: {
  123. close: "replyto-close"
  124. },
  125. link: "chatmsg-link",
  126. linkuser: "chatmsg-link-user",
  127. linkchan: "chatmsg-link-chan",
  128. attachment: {
  129. container: "chatmsg-attachment",
  130. list: "chatmsg-attachments",
  131. hasThumb: "has-thumb",
  132. pretext: "chatmsg-attachment-pretext",
  133. block: "chatmsg-attachment-block",
  134. title: "chatmsg-attachment-title",
  135. content: "chatmsg-attachment-content",
  136. text: "chatmsg-attachment-text",
  137. thumbImg: "chatmsg-attachment-thumb",
  138. img: "chatmsg-attachment-img",
  139. actions: "chatmsg-attachment-actions",
  140. actionItem: "chatmsg-attachment-actions-item",
  141. field: {
  142. container: "chatmsg-attachment-fields",
  143. item: "field",
  144. title: "field-title",
  145. text: "field-text",
  146. longField: "field-long"
  147. },
  148. footer: "chatmsg-attachment-footer",
  149. footerText: "chatmsg-attachment-footer-text",
  150. footerIcon: "chatmsg-attachment-footer-icon"
  151. },
  152. reactions: {
  153. container: "chatmsg-reactions",
  154. item: "chatmsg-reaction-item"
  155. },
  156. style: {
  157. bold: "chatmsg-style-bold",
  158. code: "chatmsg-style-code",
  159. longCode: "chatmsg-style-longcode",
  160. italic: "chatmsg-style-italic",
  161. strike: "chatmsg-style-strike",
  162. quote: "chatmsg-style-quote"
  163. }
  164. },
  165. dialog: {
  166. container: "dialog",
  167. overlay: "dialog-overlay",
  168. title: "dialog-title",
  169. titleLabel: "dialog-title-label",
  170. closeButton: "dialog-title-close",
  171. body: "dialog-body",
  172. buttonBar: "dialog-footer"
  173. },
  174. map: {
  175. container: "OSM-wrapper",
  176. canvas: "OSM-canvas",
  177. buttonContainer: "OSM-controls",
  178. buttonM: "OSM-controls-zoomMin",
  179. buttonP: "OSM-controls-zoomPlus"
  180. }
  181. }
  182. };