resources.js 5.7 KB

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