resources.js 6.2 KB

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