1
0

resources.js 5.3 KB

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