@elliemae/ds-chat 2.2.0-next.4 → 2.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/cjs/ChatDataTestids.js +54 -26
  2. package/cjs/ChatDataTestids.js.map +7 -0
  3. package/cjs/index.d.js +27 -2
  4. package/cjs/index.d.js.map +7 -0
  5. package/cjs/index.js +69 -44
  6. package/cjs/index.js.map +7 -0
  7. package/cjs/parts/bubble/ChatBubble.js +74 -64
  8. package/cjs/parts/bubble/ChatBubble.js.map +7 -0
  9. package/cjs/parts/bubble/ChatBubbleArrow.js +96 -79
  10. package/cjs/parts/bubble/ChatBubbleArrow.js.map +7 -0
  11. package/cjs/parts/bubble/config/useValidateProps.js +47 -24
  12. package/cjs/parts/bubble/config/useValidateProps.js.map +7 -0
  13. package/cjs/parts/bubble/index.js +38 -12
  14. package/cjs/parts/bubble/index.js.map +7 -0
  15. package/cjs/parts/bubble/props.js +60 -48
  16. package/cjs/parts/bubble/props.js.map +7 -0
  17. package/cjs/parts/bubble/styled.js +141 -48
  18. package/cjs/parts/bubble/styled.js.map +7 -0
  19. package/cjs/parts/chat-card/ChatCard.js +55 -39
  20. package/cjs/parts/chat-card/ChatCard.js.map +7 -0
  21. package/cjs/parts/chat-card/config/useValidateProps.js +36 -9
  22. package/cjs/parts/chat-card/config/useValidateProps.js.map +7 -0
  23. package/cjs/parts/chat-card/index.js +36 -10
  24. package/cjs/parts/chat-card/index.js.map +7 -0
  25. package/cjs/parts/chat-card/props.js +39 -12
  26. package/cjs/parts/chat-card/props.js.map +7 -0
  27. package/cjs/parts/chat-card/styled.js +71 -36
  28. package/cjs/parts/chat-card/styled.js.map +7 -0
  29. package/cjs/parts/chat-composer/ChatContainerComposer.js +92 -98
  30. package/cjs/parts/chat-composer/ChatContainerComposer.js.map +7 -0
  31. package/cjs/parts/chat-composer/config/useValidateProps.js +36 -9
  32. package/cjs/parts/chat-composer/config/useValidateProps.js.map +7 -0
  33. package/cjs/parts/chat-composer/index.js +36 -10
  34. package/cjs/parts/chat-composer/index.js.map +7 -0
  35. package/cjs/parts/chat-composer/props.js +73 -36
  36. package/cjs/parts/chat-composer/props.js.map +7 -0
  37. package/cjs/parts/chat-composer/styled.js +102 -34
  38. package/cjs/parts/chat-composer/styled.js.map +7 -0
  39. package/cjs/parts/chat-container/ChatContainer.js +122 -140
  40. package/cjs/parts/chat-container/ChatContainer.js.map +7 -0
  41. package/cjs/parts/chat-container/config/useValidateProps.js +36 -9
  42. package/cjs/parts/chat-container/config/useValidateProps.js.map +7 -0
  43. package/cjs/parts/chat-container/index.js +36 -10
  44. package/cjs/parts/chat-container/index.js.map +7 -0
  45. package/cjs/parts/chat-container/props.js +85 -42
  46. package/cjs/parts/chat-container/props.js.map +7 -0
  47. package/cjs/parts/chat-container/styled.js +104 -23
  48. package/cjs/parts/chat-container/styled.js.map +7 -0
  49. package/cjs/parts/chat-container-header/ChatContainerHeader.js +48 -30
  50. package/cjs/parts/chat-container-header/ChatContainerHeader.js.map +7 -0
  51. package/cjs/parts/chat-container-header/helpers.js +38 -25
  52. package/cjs/parts/chat-container-header/helpers.js.map +7 -0
  53. package/cjs/parts/chat-container-header/styled.js +59 -24
  54. package/cjs/parts/chat-container-header/styled.js.map +7 -0
  55. package/cjs/parts/chat-container-messages-list/ChatContainerMessagesList.js +163 -225
  56. package/cjs/parts/chat-container-messages-list/ChatContainerMessagesList.js.map +7 -0
  57. package/cjs/parts/chat-container-messages-list/config/useValidateProps.js +36 -9
  58. package/cjs/parts/chat-container-messages-list/config/useValidateProps.js.map +7 -0
  59. package/cjs/parts/chat-container-messages-list/index.js +36 -10
  60. package/cjs/parts/chat-container-messages-list/index.js.map +7 -0
  61. package/cjs/parts/chat-container-messages-list/props.js +62 -24
  62. package/cjs/parts/chat-container-messages-list/props.js.map +7 -0
  63. package/cjs/parts/chat-container-messages-list/styled.js +100 -38
  64. package/cjs/parts/chat-container-messages-list/styled.js.map +7 -0
  65. package/cjs/parts/chat-empty-state/ChatEmptyState.js +58 -42
  66. package/cjs/parts/chat-empty-state/ChatEmptyState.js.map +7 -0
  67. package/cjs/parts/chat-empty-state/config/useValidateProps.js +36 -9
  68. package/cjs/parts/chat-empty-state/config/useValidateProps.js.map +7 -0
  69. package/cjs/parts/chat-empty-state/props.js +39 -12
  70. package/cjs/parts/chat-empty-state/props.js.map +7 -0
  71. package/cjs/parts/chat-empty-state/styled.js +47 -21
  72. package/cjs/parts/chat-empty-state/styled.js.map +7 -0
  73. package/cjs/parts/chat-sidebar/SideBarChat.js +82 -81
  74. package/cjs/parts/chat-sidebar/SideBarChat.js.map +7 -0
  75. package/cjs/parts/chat-sidebar/config/useValidateProps.js +36 -9
  76. package/cjs/parts/chat-sidebar/config/useValidateProps.js.map +7 -0
  77. package/cjs/parts/chat-sidebar/index.js +36 -10
  78. package/cjs/parts/chat-sidebar/index.js.map +7 -0
  79. package/cjs/parts/chat-sidebar/props.js +72 -30
  80. package/cjs/parts/chat-sidebar/props.js.map +7 -0
  81. package/cjs/parts/chat-sidebar/styled.js +56 -20
  82. package/cjs/parts/chat-sidebar/styled.js.map +7 -0
  83. package/cjs/parts/floating-button/FloatingButton.js +47 -34
  84. package/cjs/parts/floating-button/FloatingButton.js.map +7 -0
  85. package/cjs/parts/floating-button/index.js +28 -9
  86. package/cjs/parts/floating-button/index.js.map +7 -0
  87. package/cjs/parts/floating-button/props.js +42 -15
  88. package/cjs/parts/floating-button/props.js.map +7 -0
  89. package/cjs/parts/floating-button/styled.js +63 -17
  90. package/cjs/parts/floating-button/styled.js.map +7 -0
  91. package/cjs/parts/floating-container/styled.js +47 -17
  92. package/cjs/parts/floating-container/styled.js.map +7 -0
  93. package/cjs/parts/grid-influencer/InfluencerContainer.js +41 -21
  94. package/cjs/parts/grid-influencer/InfluencerContainer.js.map +7 -0
  95. package/cjs/parts/grid-influencer/styled.js +56 -21
  96. package/cjs/parts/grid-influencer/styled.js.map +7 -0
  97. package/cjs/parts/message-delimiter/MessageDelimiter.js +53 -39
  98. package/cjs/parts/message-delimiter/MessageDelimiter.js.map +7 -0
  99. package/cjs/parts/message-delimiter/config/useValidateProps.js +36 -9
  100. package/cjs/parts/message-delimiter/config/useValidateProps.js.map +7 -0
  101. package/cjs/parts/message-delimiter/index.js +36 -10
  102. package/cjs/parts/message-delimiter/index.js.map +7 -0
  103. package/cjs/parts/message-delimiter/props.js +44 -19
  104. package/cjs/parts/message-delimiter/props.js.map +7 -0
  105. package/cjs/parts/message-delimiter/styled.js +53 -24
  106. package/cjs/parts/message-delimiter/styled.js.map +7 -0
  107. package/cjs/parts/sidebar-button/SidebarButton.js +52 -53
  108. package/cjs/parts/sidebar-button/SidebarButton.js.map +7 -0
  109. package/cjs/parts/sidebar-button/index.js +20 -2
  110. package/cjs/parts/sidebar-button/index.js.map +7 -0
  111. package/cjs/parts/sidebar-button/props.js +49 -26
  112. package/cjs/parts/sidebar-button/props.js.map +7 -0
  113. package/cjs/parts/sidebar-button/styled.js +68 -24
  114. package/cjs/parts/sidebar-button/styled.js.map +7 -0
  115. package/cjs/parts/system-message/SystemMessage.js +55 -40
  116. package/cjs/parts/system-message/SystemMessage.js.map +7 -0
  117. package/cjs/parts/system-message/config/useValidateProps.js +36 -9
  118. package/cjs/parts/system-message/config/useValidateProps.js.map +7 -0
  119. package/cjs/parts/system-message/index.js +36 -10
  120. package/cjs/parts/system-message/index.js.map +7 -0
  121. package/cjs/parts/system-message/props.js +42 -15
  122. package/cjs/parts/system-message/props.js.map +7 -0
  123. package/cjs/parts/system-message/style.js +75 -32
  124. package/cjs/parts/system-message/style.js.map +7 -0
  125. package/cjs/parts/tile-button/TileButton.js +98 -68
  126. package/cjs/parts/tile-button/TileButton.js.map +7 -0
  127. package/cjs/parts/tile-button/config/useValidateProps.js +36 -9
  128. package/cjs/parts/tile-button/config/useValidateProps.js.map +7 -0
  129. package/cjs/parts/tile-button/index.js +36 -10
  130. package/cjs/parts/tile-button/index.js.map +7 -0
  131. package/cjs/parts/tile-button/props.js +83 -45
  132. package/cjs/parts/tile-button/props.js.map +7 -0
  133. package/cjs/parts/tile-button/styled.js +229 -77
  134. package/cjs/parts/tile-button/styled.js.map +7 -0
  135. package/cjs/prop-types.js +53 -26
  136. package/cjs/prop-types.js.map +7 -0
  137. package/cjs/styled.js +42 -14
  138. package/cjs/styled.js.map +7 -0
  139. package/cjs/tests/utils.js +66 -0
  140. package/cjs/tests/utils.js.map +7 -0
  141. package/esm/ChatDataTestids.js +25 -22
  142. package/esm/ChatDataTestids.js.map +7 -0
  143. package/esm/index.d.js +2 -1
  144. package/esm/index.d.js.map +7 -0
  145. package/esm/index.js +40 -14
  146. package/esm/index.js.map +7 -0
  147. package/esm/parts/bubble/ChatBubble.js +51 -51
  148. package/esm/parts/bubble/ChatBubble.js.map +7 -0
  149. package/esm/parts/bubble/ChatBubbleArrow.js +67 -71
  150. package/esm/parts/bubble/ChatBubbleArrow.js.map +7 -0
  151. package/esm/parts/bubble/config/useValidateProps.js +17 -19
  152. package/esm/parts/bubble/config/useValidateProps.js.map +7 -0
  153. package/esm/parts/bubble/index.js +9 -2
  154. package/esm/parts/bubble/index.js.map +7 -0
  155. package/esm/parts/bubble/props.js +30 -36
  156. package/esm/parts/bubble/props.js.map +7 -0
  157. package/esm/parts/bubble/styled.js +112 -32
  158. package/esm/parts/bubble/styled.js.map +7 -0
  159. package/esm/parts/chat-card/ChatCard.js +23 -27
  160. package/esm/parts/chat-card/ChatCard.js.map +7 -0
  161. package/esm/parts/chat-card/config/useValidateProps.js +6 -4
  162. package/esm/parts/chat-card/config/useValidateProps.js.map +7 -0
  163. package/esm/parts/chat-card/index.js +7 -1
  164. package/esm/parts/chat-card/index.js.map +7 -0
  165. package/esm/parts/chat-card/props.js +10 -8
  166. package/esm/parts/chat-card/props.js.map +7 -0
  167. package/esm/parts/chat-card/styled.js +42 -23
  168. package/esm/parts/chat-card/styled.js.map +7 -0
  169. package/esm/parts/chat-composer/ChatContainerComposer.js +65 -83
  170. package/esm/parts/chat-composer/ChatContainerComposer.js.map +7 -0
  171. package/esm/parts/chat-composer/config/useValidateProps.js +6 -4
  172. package/esm/parts/chat-composer/config/useValidateProps.js.map +7 -0
  173. package/esm/parts/chat-composer/index.js +7 -1
  174. package/esm/parts/chat-composer/index.js.map +7 -0
  175. package/esm/parts/chat-composer/props.js +37 -24
  176. package/esm/parts/chat-composer/props.js.map +7 -0
  177. package/esm/parts/chat-composer/styled.js +73 -22
  178. package/esm/parts/chat-composer/styled.js.map +7 -0
  179. package/esm/parts/chat-container/ChatContainer.js +88 -122
  180. package/esm/parts/chat-container/ChatContainer.js.map +7 -0
  181. package/esm/parts/chat-container/config/useValidateProps.js +6 -4
  182. package/esm/parts/chat-container/config/useValidateProps.js.map +7 -0
  183. package/esm/parts/chat-container/index.js +7 -1
  184. package/esm/parts/chat-container/index.js.map +7 -0
  185. package/esm/parts/chat-container/props.js +52 -31
  186. package/esm/parts/chat-container/props.js.map +7 -0
  187. package/esm/parts/chat-container/styled.js +79 -16
  188. package/esm/parts/chat-container/styled.js.map +7 -0
  189. package/esm/parts/chat-container-header/ChatContainerHeader.js +22 -21
  190. package/esm/parts/chat-container-header/ChatContainerHeader.js.map +7 -0
  191. package/esm/parts/chat-container-header/helpers.js +9 -17
  192. package/esm/parts/chat-container-header/helpers.js.map +7 -0
  193. package/esm/parts/chat-container-header/styled.js +30 -14
  194. package/esm/parts/chat-container-header/styled.js.map +7 -0
  195. package/esm/parts/chat-container-messages-list/ChatContainerMessagesList.js +138 -210
  196. package/esm/parts/chat-container-messages-list/ChatContainerMessagesList.js.map +7 -0
  197. package/esm/parts/chat-container-messages-list/config/useValidateProps.js +6 -4
  198. package/esm/parts/chat-container-messages-list/config/useValidateProps.js.map +7 -0
  199. package/esm/parts/chat-container-messages-list/index.js +10 -1
  200. package/esm/parts/chat-container-messages-list/index.js.map +7 -0
  201. package/esm/parts/chat-container-messages-list/props.js +31 -17
  202. package/esm/parts/chat-container-messages-list/props.js.map +7 -0
  203. package/esm/parts/chat-container-messages-list/styled.js +71 -25
  204. package/esm/parts/chat-container-messages-list/styled.js.map +7 -0
  205. package/esm/parts/chat-empty-state/ChatEmptyState.js +25 -29
  206. package/esm/parts/chat-empty-state/ChatEmptyState.js.map +7 -0
  207. package/esm/parts/chat-empty-state/config/useValidateProps.js +6 -4
  208. package/esm/parts/chat-empty-state/config/useValidateProps.js.map +7 -0
  209. package/esm/parts/chat-empty-state/props.js +10 -7
  210. package/esm/parts/chat-empty-state/props.js.map +7 -0
  211. package/esm/parts/chat-empty-state/styled.js +18 -11
  212. package/esm/parts/chat-empty-state/styled.js.map +7 -0
  213. package/esm/parts/chat-sidebar/SideBarChat.js +50 -67
  214. package/esm/parts/chat-sidebar/SideBarChat.js.map +7 -0
  215. package/esm/parts/chat-sidebar/config/useValidateProps.js +6 -4
  216. package/esm/parts/chat-sidebar/config/useValidateProps.js.map +7 -0
  217. package/esm/parts/chat-sidebar/index.js +7 -1
  218. package/esm/parts/chat-sidebar/index.js.map +7 -0
  219. package/esm/parts/chat-sidebar/props.js +39 -21
  220. package/esm/parts/chat-sidebar/props.js.map +7 -0
  221. package/esm/parts/chat-sidebar/styled.js +27 -11
  222. package/esm/parts/chat-sidebar/styled.js.map +7 -0
  223. package/esm/parts/floating-button/FloatingButton.js +18 -26
  224. package/esm/parts/floating-button/FloatingButton.js.map +7 -0
  225. package/esm/parts/floating-button/index.js +3 -1
  226. package/esm/parts/floating-button/index.js.map +7 -0
  227. package/esm/parts/floating-button/props.js +11 -8
  228. package/esm/parts/floating-button/props.js.map +7 -0
  229. package/esm/parts/floating-button/styled.js +34 -9
  230. package/esm/parts/floating-button/styled.js.map +7 -0
  231. package/esm/parts/floating-container/styled.js +18 -9
  232. package/esm/parts/floating-container/styled.js.map +7 -0
  233. package/esm/parts/grid-influencer/InfluencerContainer.js +12 -12
  234. package/esm/parts/grid-influencer/InfluencerContainer.js.map +7 -0
  235. package/esm/parts/grid-influencer/styled.js +27 -12
  236. package/esm/parts/grid-influencer/styled.js.map +7 -0
  237. package/esm/parts/message-delimiter/MessageDelimiter.js +20 -26
  238. package/esm/parts/message-delimiter/MessageDelimiter.js.map +7 -0
  239. package/esm/parts/message-delimiter/config/useValidateProps.js +6 -4
  240. package/esm/parts/message-delimiter/config/useValidateProps.js.map +7 -0
  241. package/esm/parts/message-delimiter/index.js +10 -1
  242. package/esm/parts/message-delimiter/index.js.map +7 -0
  243. package/esm/parts/message-delimiter/props.js +15 -14
  244. package/esm/parts/message-delimiter/props.js.map +7 -0
  245. package/esm/parts/message-delimiter/styled.js +24 -14
  246. package/esm/parts/message-delimiter/styled.js.map +7 -0
  247. package/esm/parts/sidebar-button/SidebarButton.js +22 -41
  248. package/esm/parts/sidebar-button/SidebarButton.js.map +7 -0
  249. package/esm/parts/sidebar-button/index.js +2 -1
  250. package/esm/parts/sidebar-button/index.js.map +7 -0
  251. package/esm/parts/sidebar-button/props.js +18 -15
  252. package/esm/parts/sidebar-button/props.js.map +7 -0
  253. package/esm/parts/sidebar-button/styled.js +39 -14
  254. package/esm/parts/sidebar-button/styled.js.map +7 -0
  255. package/esm/parts/system-message/SystemMessage.js +22 -27
  256. package/esm/parts/system-message/SystemMessage.js.map +7 -0
  257. package/esm/parts/system-message/config/useValidateProps.js +6 -4
  258. package/esm/parts/system-message/config/useValidateProps.js.map +7 -0
  259. package/esm/parts/system-message/index.js +7 -1
  260. package/esm/parts/system-message/index.js.map +7 -0
  261. package/esm/parts/system-message/props.js +13 -10
  262. package/esm/parts/system-message/props.js.map +7 -0
  263. package/esm/parts/system-message/style.js +46 -20
  264. package/esm/parts/system-message/style.js.map +7 -0
  265. package/esm/parts/tile-button/TileButton.js +75 -54
  266. package/esm/parts/tile-button/TileButton.js.map +7 -0
  267. package/esm/parts/tile-button/config/useValidateProps.js +6 -4
  268. package/esm/parts/tile-button/config/useValidateProps.js.map +7 -0
  269. package/esm/parts/tile-button/index.js +7 -1
  270. package/esm/parts/tile-button/index.js.map +7 -0
  271. package/esm/parts/tile-button/props.js +47 -33
  272. package/esm/parts/tile-button/props.js.map +7 -0
  273. package/esm/parts/tile-button/styled.js +200 -60
  274. package/esm/parts/tile-button/styled.js.map +7 -0
  275. package/esm/prop-types.js +19 -16
  276. package/esm/prop-types.js.map +7 -0
  277. package/esm/styled.js +13 -5
  278. package/esm/styled.js.map +7 -0
  279. package/esm/tests/utils.js +37 -0
  280. package/esm/tests/utils.js.map +7 -0
  281. package/package.json +10 -10
  282. package/types/parts/bubble/ChatBubble.d.ts +1 -1
  283. package/types/parts/chat-card/ChatCard.d.ts +1 -1
  284. package/types/parts/chat-composer/ChatContainerComposer.d.ts +1 -1
  285. package/types/parts/chat-container/ChatContainer.d.ts +1 -1
  286. package/types/parts/chat-container-messages-list/ChatContainerMessagesList.d.ts +1 -1
  287. package/types/parts/chat-empty-state/ChatEmptyState.d.ts +1 -1
  288. package/types/parts/chat-sidebar/SideBarChat.d.ts +1 -1
  289. package/types/parts/message-delimiter/MessageDelimiter.d.ts +1 -1
  290. package/types/parts/system-message/SystemMessage.d.ts +1 -1
  291. package/types/parts/tile-button/TileButton.d.ts +1 -1
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-container-messages-list/props.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Ref } from 'react';\nimport { PropTypes } from 'react-desc';\nimport { noop } from 'lodash';\nimport { BubbleProps } from '../bubble/props';\n\ninterface ActionRef {\n scrollToIndex: (n: number, b: { align: 'end' | 'center' | 'start' }) => void;\n getMessagesInView: () => number[];\n}\nexport interface ChatContainerMessagesListProps {\n messages: BubbleProps[];\n actionRef: any;\n onScrollEnds: (indexList: number[]) => number[];\n isLoading?: 'top' | 'bottom';\n hasMoreItems?: 'top' | 'bottom';\n getMoreMessages: PropTypes.func;\n sendingMessages?: Array<string | number>;\n sendingText: string;\n bannerPosition?: 'top' | 'bottom';\n bannerRef: React.MutableRefObject<{\n focusOnWrapper: (...args: any[]) => void;\n focusOnLink: (...args: any[]) => void;\n }>;\n}\n\nexport const defaultProps: ChatContainerMessagesListProps = {\n messages: [],\n actionRef: noop,\n onScrollEnds: () => [],\n getMoreMessages: noop,\n sendingMessages: undefined,\n sendingText: 'Sending',\n bannerPosition: undefined,\n bannerRef: undefined,\n};\n\nexport const listProps = {\n messages: PropTypes.arrayOf(PropTypes.object)\n .description('The array of out-of-the-box items you want to render inside the ChatMessageList')\n .defaultValue(defaultProps.messages),\n actionRef: PropTypes.object\n .description(\n `Reference: \n { \n scrollToIndex: (n: number) => void,\n getMessagesInView: () => number[],\n focusToIndex: (n: number) => void,\n focusToIndexWithoutScroll: (n: number) => void,\n focusToList: () => void,\n focusToComposer: () => void,\n focusToSend: () => void,\n }\n \n `,\n )\n .defaultValue(defaultProps.actionRef),\n onScrollEnds: PropTypes.func.description(`Called when the scroll stops.`),\n isLoading: PropTypes.oneOf(['top', 'bottom', undefined]).description(\n 'Keeps the load more space while the loading is in progress',\n ),\n hasMoreItems: PropTypes.oneOf(['top', 'bottom', undefined]).description(\n 'Show Load More button at the `top` or `bottom` of the container',\n ),\n getMoreMessages: PropTypes.func\n .description('Called when the user clicks on load more')\n .defaultValue(defaultProps.getMoreMessages),\n sendingMessages: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.arrayOf(PropTypes.number)])\n .description('Array of ids of sending messages')\n .defaultValue(defaultProps.sendingMessages),\n sendingText: PropTypes.string\n .description('Label description for messages in sending status')\n .defaultValue(defaultProps.sendingText),\n};\n"],
5
+ "mappings": "AAAA;ACCA;AACA;AAuBO,MAAM,eAA+C;AAAA,EAC1D,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc,MAAM;AAAA,EACpB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,WAAW;AAAA;AAGN,MAAM,YAAY;AAAA,EACvB,UAAU,UAAU,QAAQ,UAAU,QACnC,YAAY,mFACZ,aAAa,aAAa;AAAA,EAC7B,WAAW,UAAU,OAClB,YACC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAaD,aAAa,aAAa;AAAA,EAC7B,cAAc,UAAU,KAAK,YAAY;AAAA,EACzC,WAAW,UAAU,MAAM,CAAC,OAAO,UAAU,SAAY,YACvD;AAAA,EAEF,cAAc,UAAU,MAAM,CAAC,OAAO,UAAU,SAAY,YAC1D;AAAA,EAEF,iBAAiB,UAAU,KACxB,YAAY,4CACZ,aAAa,aAAa;AAAA,EAC7B,iBAAiB,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,SAAS,UAAU,QAAQ,UAAU,UACpG,YAAY,oCACZ,aAAa,aAAa;AAAA,EAC7B,aAAa,UAAU,OACpB,YAAY,oDACZ,aAAa,aAAa;AAAA;",
6
+ "names": []
7
+ }
@@ -1,25 +1,71 @@
1
- import styled from 'styled-components';
2
- import '../bubble/ChatBubble.js';
3
- import { BUBBLE_TYPES } from '../bubble/props.js';
4
-
5
- const StyledWrapper = /*#__PURE__*/styled.div.withConfig({
6
- componentId: "sc-1jhprzr-0"
7
- })(["width:100%;height:100%;"]); // list
8
-
9
- const StyledWrapperListItem = /*#__PURE__*/styled.div.withConfig({
10
- componentId: "sc-1jhprzr-1"
11
- })(["min-width:100%;", ";", ";", ";"], props => props.type === BUBBLE_TYPES.SENDER && "padding: ".concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " 13%\n "), props => props.type === BUBBLE_TYPES.RECIPIENT && "padding: ".concat(props.theme.space.xxs, " 13% ").concat(props.theme.space.xxs, "\n ").concat(props.theme.space.xxs, "\n "), props => props.type === BUBBLE_TYPES.SYSTEM && "padding: ".concat(props.theme.space.xxs, " 0px\n "));
12
- const StyledChatContainerContentList = /*#__PURE__*/styled.div.withConfig({
13
- componentId: "sc-1jhprzr-2"
14
- })(["width:100%;height:100%;padding:", ";padding-bottom:0;overflow-y:auto;overflow-x:hidden;"], props => props.theme.space.xs);
15
- const StyledChatContainerContentListScroll = /*#__PURE__*/styled.div.withConfig({
16
- componentId: "sc-1jhprzr-3"
17
- })(["width:100%;height:", ";position:relative;"], props => props.height);
18
- const StyledLoadMoreContainer = /*#__PURE__*/styled.div.withConfig({
19
- componentId: "sc-1jhprzr-4"
20
- })(["position:absolute;width:calc(100% + ", ");padding:", ";left:-", ";right:-", ";display:grid;justify-content:center;align-items:center;", " ", ""], props => props.theme.space.xxs, props => props.theme.space.xxs, props => props.theme.space.xxs, props => props.theme.space.xxs, props => props.hasMoreItems === 'top' ? 'top: 0;' : '', props => props.hasMoreItems === 'bottom' ? 'bottom: 0;' : '');
21
- const ListItem = /*#__PURE__*/styled.div.withConfig({
22
- componentId: "sc-1jhprzr-5"
23
- })(["&:focus,&:focus-visible{outline:none;&:after{content:'';display:block;position:absolute;top:0;left:-", ";pointer-events:none;border-radius:2px;background-color:#ebedf0;width:calc(100% + 24px);border:2px solid #1e79c2;height:100%;z-index:-1;}}"], props => props.theme.space.xxs);
24
-
25
- export { ListItem, StyledChatContainerContentList, StyledChatContainerContentListScroll, StyledLoadMoreContainer, StyledWrapper, StyledWrapperListItem };
1
+ import * as React from "react";
2
+ import styled from "styled-components";
3
+ import { BUBBLE_TYPES } from "../bubble/index";
4
+ const StyledWrapper = styled.div`
5
+ width: 100%;
6
+ height: 100%;
7
+ `;
8
+ const StyledWrapperListItem = styled.div`
9
+ min-width: 100%;
10
+ ${(props) => props.type === BUBBLE_TYPES.SENDER && `padding: ${props.theme.space.xxs} ${props.theme.space.xxs} ${props.theme.space.xxs} 13%
11
+ `};
12
+ ${(props) => props.type === BUBBLE_TYPES.RECIPIENT && `padding: ${props.theme.space.xxs} 13% ${props.theme.space.xxs}
13
+ ${props.theme.space.xxs}
14
+ `};
15
+ ${(props) => props.type === BUBBLE_TYPES.SYSTEM && `padding: ${props.theme.space.xxs} 0px
16
+ `};
17
+ `;
18
+ const StyledChatContainerContentList = styled.div`
19
+ width: 100%;
20
+ height: 100%;
21
+ padding: ${(props) => props.theme.space.xs};
22
+ padding-bottom: 0;
23
+ overflow-y: auto;
24
+ overflow-x: hidden;
25
+ `;
26
+ const StyledChatContainerContentListScroll = styled.div`
27
+ width: 100%;
28
+ height: ${(props) => props.height};
29
+ position: relative;
30
+ `;
31
+ const StyledLoadMoreContainer = styled.div`
32
+ position: absolute;
33
+ width: calc(100% + ${(props) => props.theme.space.xxs});
34
+ padding: ${(props) => props.theme.space.xxs};
35
+ left: -${(props) => props.theme.space.xxs};
36
+ right: -${(props) => props.theme.space.xxs};
37
+ display: grid;
38
+ justify-content: center;
39
+ align-items: center;
40
+ ${(props) => props.hasMoreItems === "top" ? "top: 0;" : ""}
41
+ ${(props) => props.hasMoreItems === "bottom" ? "bottom: 0;" : ""}
42
+ `;
43
+ const ListItem = styled.div`
44
+ &:focus,
45
+ &:focus-visible {
46
+ outline: none;
47
+ &:after {
48
+ content: '';
49
+ display: block;
50
+ position: absolute;
51
+ top: 0;
52
+ left: -${(props) => props.theme.space.xxs};
53
+ pointer-events: none;
54
+ border-radius: 2px;
55
+ background-color: #ebedf0;
56
+ width: calc(100% + 24px);
57
+ border: 2px solid #1e79c2;
58
+ height: 100%;
59
+ z-index: -1;
60
+ }
61
+ }
62
+ `;
63
+ export {
64
+ ListItem,
65
+ StyledChatContainerContentList,
66
+ StyledChatContainerContentListScroll,
67
+ StyledLoadMoreContainer,
68
+ StyledWrapper,
69
+ StyledWrapperListItem
70
+ };
71
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-container-messages-list/styled.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import styled from 'styled-components';\nimport { BUBBLE_TYPES } from '../bubble/index';\nimport { BubbleProps } from '../bubble/props';\n\nexport const StyledWrapper = styled.div`\n width: 100%;\n height: 100%;\n`;\n\n// list\nexport const StyledWrapperListItem = styled.div<Partial<BubbleProps>>`\n min-width: 100%;\n ${(props) =>\n props.type === BUBBLE_TYPES.SENDER &&\n `padding: ${props.theme.space.xxs} ${props.theme.space.xxs} ${props.theme.space.xxs} 13%\n `};\n ${(props) =>\n props.type === BUBBLE_TYPES.RECIPIENT &&\n `padding: ${props.theme.space.xxs} 13% ${props.theme.space.xxs}\n ${props.theme.space.xxs}\n `};\n ${(props) =>\n props.type === BUBBLE_TYPES.SYSTEM &&\n `padding: ${props.theme.space.xxs} 0px\n `};\n`;\n\nexport const StyledChatContainerContentList = styled.div`\n width: 100%;\n height: 100%;\n padding: ${(props) => props.theme.space.xs};\n padding-bottom: 0;\n overflow-y: auto;\n overflow-x: hidden;\n`;\nexport const StyledChatContainerContentListScroll = styled.div<{ height: string }>`\n width: 100%;\n height: ${(props) => props.height};\n position: relative;\n`;\n\nexport const StyledLoadMoreContainer = styled.div<{ hasMoreItems?: 'top' | 'bottom' }>`\n position: absolute;\n width: calc(100% + ${(props) => props.theme.space.xxs});\n padding: ${(props) => props.theme.space.xxs};\n left: -${(props) => props.theme.space.xxs};\n right: -${(props) => props.theme.space.xxs};\n display: grid;\n justify-content: center;\n align-items: center;\n ${(props) => (props.hasMoreItems === 'top' ? 'top: 0;' : '')}\n ${(props) => (props.hasMoreItems === 'bottom' ? 'bottom: 0;' : '')}\n`;\nexport const ListItem = styled.div`\n &:focus,\n &:focus-visible {\n outline: none;\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: -${(props) => props.theme.space.xxs};\n pointer-events: none;\n border-radius: 2px;\n background-color: #ebedf0;\n width: calc(100% + 24px);\n border: 2px solid #1e79c2;\n height: 100%;\n z-index: -1;\n }\n }\n`;\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AAGO,MAAM,gBAAgB,OAAO;AAAA;AAAA;AAAA;AAM7B,MAAM,wBAAwB,OAAO;AAAA;AAAA,IAExC,CAAC,UACD,MAAM,SAAS,aAAa,UAC5B,YAAY,MAAM,MAAM,MAAM,OAAO,MAAM,MAAM,MAAM,OAAO,MAAM,MAAM,MAAM;AAAA;AAAA,IAEhF,CAAC,UACD,MAAM,SAAS,aAAa,aAC5B,YAAY,MAAM,MAAM,MAAM,WAAW,MAAM,MAAM,MAAM;AAAA,MACzD,MAAM,MAAM,MAAM;AAAA;AAAA,IAEpB,CAAC,UACD,MAAM,SAAS,aAAa,UAC5B,YAAY,MAAM,MAAM,MAAM;AAAA;AAAA;AAI3B,MAAM,iCAAiC,OAAO;AAAA;AAAA;AAAA,aAGxC,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAKnC,MAAM,uCAAuC,OAAO;AAAA;AAAA,YAE/C,CAAC,UAAU,MAAM;AAAA;AAAA;AAItB,MAAM,0BAA0B,OAAO;AAAA;AAAA,uBAEvB,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,aACvC,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,WAC/B,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,YAC5B,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA,IAIrC,CAAC,UAAW,MAAM,iBAAiB,QAAQ,YAAY;AAAA,IACvD,CAAC,UAAW,MAAM,iBAAiB,WAAW,eAAe;AAAA;AAE1D,MAAM,WAAW,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAShB,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,45 +1,41 @@
1
- import _jsx from '@babel/runtime/helpers/esm/jsx';
2
- import 'core-js/modules/web.url.to-json.js';
3
- import { useMemo } from 'react';
4
- import { describe } from 'react-desc';
5
- import { Grid } from '@elliemae/ds-grid';
6
- import { Communications } from '@elliemae/ds-icons';
7
- import { emptyStateProps, defaultProps } from './props.js';
8
- import { MessageWrapper, ChatEmptyStateWrapper } from './styled.js';
9
- import { useValidateProps } from './config/useValidateProps.js';
10
-
11
- const ChatEmptyState = props => {
12
- var _Grid, _Grid2;
13
-
1
+ import * as React from "react";
2
+ import React2, { useMemo } from "react";
3
+ import { describe } from "react-desc";
4
+ import { Grid } from "@elliemae/ds-grid";
5
+ import { Communications } from "@elliemae/ds-icons";
6
+ import { emptyStateProps, defaultProps } from "./props";
7
+ import { ChatEmptyStateWrapper, MessageWrapper } from "./styled";
8
+ import { useValidateProps } from "./config/useValidateProps";
9
+ const ChatEmptyState = (props) => {
14
10
  useValidateProps(props, ChatEmptyStateListWithSchema.toJSON());
15
- const {
16
- label,
17
- action
18
- } = props;
19
- const MainContent = useMemo(() => /*#__PURE__*/_jsx(Grid, {
11
+ const { label, action } = props;
12
+ const MainContent = useMemo(() => /* @__PURE__ */ React2.createElement(Grid, {
20
13
  alignItems: "center",
21
14
  justifyContent: "center"
22
- }, void 0, /*#__PURE__*/_jsx(Grid, {
15
+ }, /* @__PURE__ */ React2.createElement(Grid, {
23
16
  alignItems: "center",
24
17
  justifyContent: "center"
25
- }, void 0, /*#__PURE__*/_jsx(Communications, {
18
+ }, /* @__PURE__ */ React2.createElement(Communications, {
26
19
  size: "xxl",
27
- color: ['neutral', 400]
28
- })), _Grid || (_Grid = /*#__PURE__*/_jsx(Grid, {
20
+ color: ["neutral", 400]
21
+ })), /* @__PURE__ */ React2.createElement(Grid, {
29
22
  alignItems: "center",
30
23
  justifyContent: "center"
31
- }, void 0, /*#__PURE__*/_jsx(MessageWrapper, {}, void 0, label))), _Grid2 || (_Grid2 = /*#__PURE__*/_jsx(Grid, {
24
+ }, /* @__PURE__ */ React2.createElement(MessageWrapper, null, label)), /* @__PURE__ */ React2.createElement(Grid, {
32
25
  alignItems: "center",
33
26
  justifyContent: "center"
34
- }, void 0, action))), [label, action]);
35
- return /*#__PURE__*/_jsx(ChatEmptyStateWrapper, {
27
+ }, action)), [label, action]);
28
+ return /* @__PURE__ */ React2.createElement(ChatEmptyStateWrapper, {
36
29
  alignItems: "center",
37
30
  justifyContent: "center"
38
- }, void 0, MainContent);
31
+ }, MainContent);
39
32
  };
40
-
33
+ ChatEmptyState.propTypes = emptyStateProps;
41
34
  ChatEmptyState.defaultProps = defaultProps;
42
35
  const ChatEmptyStateListWithSchema = describe(ChatEmptyState);
43
36
  ChatEmptyStateListWithSchema.propTypes = emptyStateProps;
44
-
45
- export { ChatEmptyState, ChatEmptyStateListWithSchema };
37
+ export {
38
+ ChatEmptyState,
39
+ ChatEmptyStateListWithSchema
40
+ };
41
+ //# sourceMappingURL=ChatEmptyState.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-empty-state/ChatEmptyState.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useMemo } from 'react';\nimport { describe } from 'react-desc';\nimport { Grid } from '@elliemae/ds-grid';\nimport { Communications } from '@elliemae/ds-icons';\nimport { ChatEmptyStateProps, emptyStateProps, defaultProps } from './props';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst ChatEmptyState = (props: ChatEmptyStateProps): JSX.Element => {\n useValidateProps(props, ChatEmptyStateListWithSchema.toJSON());\n const { label, action } = props;\n const MainContent = useMemo(\n () => (\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Communications size=\"xxl\" color={['neutral', 400]} />\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <MessageWrapper>{label}</MessageWrapper>\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n {action}\n </Grid>\n </Grid>\n ),\n [label, action],\n );\n return (\n <ChatEmptyStateWrapper alignItems=\"center\" justifyContent=\"center\">\n {MainContent}\n </ChatEmptyStateWrapper>\n );\n};\n\nChatEmptyState.propTypes = emptyStateProps;\nChatEmptyState.defaultProps = defaultProps;\nconst ChatEmptyStateListWithSchema = describe(ChatEmptyState);\nChatEmptyStateListWithSchema.propTypes = emptyStateProps;\n\nexport { ChatEmptyState, ChatEmptyStateListWithSchema };\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,iBAAiB,CAAC,UAA4C;AAClE,mBAAiB,OAAO,6BAA6B;AACrD,QAAM,EAAE,OAAO,WAAW;AAC1B,QAAM,cAAc,QAClB,MACE,qCAAC,MAAD;AAAA,IAAM,YAAW;AAAA,IAAS,gBAAe;AAAA,KACvC,qCAAC,MAAD;AAAA,IAAM,YAAW;AAAA,IAAS,gBAAe;AAAA,KACvC,qCAAC,gBAAD;AAAA,IAAgB,MAAK;AAAA,IAAM,OAAO,CAAC,WAAW;AAAA,OAEhD,qCAAC,MAAD;AAAA,IAAM,YAAW;AAAA,IAAS,gBAAe;AAAA,KACvC,qCAAC,gBAAD,MAAiB,SAEnB,qCAAC,MAAD;AAAA,IAAM,YAAW;AAAA,IAAS,gBAAe;AAAA,KACtC,UAIP,CAAC,OAAO;AAEV,SACE,qCAAC,uBAAD;AAAA,IAAuB,YAAW;AAAA,IAAS,gBAAe;AAAA,KACvD;AAAA;AAKP,eAAe,YAAY;AAC3B,eAAe,eAAe;AAC9B,MAAM,+BAA+B,SAAS;AAC9C,6BAA6B,YAAY;",
6
+ "names": []
7
+ }
@@ -1,7 +1,9 @@
1
- import { useValidatePropTypes } from '@elliemae/ds-props-helpers';
2
-
1
+ import * as React from "react";
2
+ import { useValidatePropTypes } from "@elliemae/ds-props-helpers";
3
3
  const useValidateProps = (props, schema) => {
4
4
  useValidatePropTypes(props, schema);
5
5
  };
6
-
7
- export { useValidateProps };
6
+ export {
7
+ useValidateProps
8
+ };
9
+ //# sourceMappingURL=useValidateProps.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../../src/parts/chat-empty-state/config/useValidateProps.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useValidatePropTypes } from '@elliemae/ds-props-helpers';\nimport { ChatEmptyStateProps } from '../props';\n\nexport const useValidateProps = (props: ChatEmptyStateProps, schema: unknown): void => {\n useValidatePropTypes(props, schema);\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAGO,MAAM,mBAAmB,CAAC,OAA4B,WAA0B;AACrF,uBAAqB,OAAO;AAAA;",
6
+ "names": []
7
+ }
@@ -1,12 +1,15 @@
1
- import { PropTypes } from 'react-desc';
2
-
1
+ import * as React from "react";
2
+ import { PropTypes } from "react-desc";
3
3
  const defaultProps = {
4
- label: 'No Messages Yet',
4
+ label: "No Messages Yet",
5
5
  action: null
6
6
  };
7
7
  const emptyStateProps = {
8
- label: PropTypes.arrayOf(PropTypes.string).description('No Message to show text helper').defaultValue(defaultProps.label),
9
- action: PropTypes.node.description('action element').defaultValue(defaultProps.action)
8
+ label: PropTypes.arrayOf(PropTypes.string).description("No Message to show text helper").defaultValue(defaultProps.label),
9
+ action: PropTypes.node.description("action element").defaultValue(defaultProps.action)
10
10
  };
11
-
12
- export { defaultProps, emptyStateProps };
11
+ export {
12
+ defaultProps,
13
+ emptyStateProps
14
+ };
15
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-empty-state/props.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from 'react-desc';\n\nexport interface ChatEmptyStateProps {\n label: string;\n action: React.FC;\n}\n\nexport const defaultProps: ChatEmptyStateProps = {\n label: 'No Messages Yet',\n action: null,\n};\n\nexport const emptyStateProps = {\n label: PropTypes.arrayOf(PropTypes.string)\n .description('No Message to show text helper')\n .defaultValue(defaultProps.label),\n action: PropTypes.node.description('action element').defaultValue(defaultProps.action),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAOO,MAAM,eAAoC;AAAA,EAC/C,OAAO;AAAA,EACP,QAAQ;AAAA;AAGH,MAAM,kBAAkB;AAAA,EAC7B,OAAO,UAAU,QAAQ,UAAU,QAChC,YAAY,kCACZ,aAAa,aAAa;AAAA,EAC7B,QAAQ,UAAU,KAAK,YAAY,kBAAkB,aAAa,aAAa;AAAA;",
6
+ "names": []
7
+ }
@@ -1,12 +1,19 @@
1
- import styled from 'styled-components';
2
- import { Grid } from '@elliemae/ds-grid';
3
-
1
+ import * as React from "react";
2
+ import styled from "styled-components";
3
+ import { Grid } from "@elliemae/ds-grid";
4
4
  const CONTAINER_WIDTH = 300;
5
- const ChatEmptyStateWrapper = /*#__PURE__*/styled(Grid).withConfig({
6
- componentId: "sc-1tutmen-0"
7
- })(["height:100%;min-width:", "px;overflow:hidden;background:", ";"], CONTAINER_WIDTH, props => props.theme.colors.neutral['050']);
8
- const MessageWrapper = /*#__PURE__*/styled.p.withConfig({
9
- componentId: "sc-1tutmen-1"
10
- })(["font-size:18px;"]);
11
-
12
- export { CONTAINER_WIDTH, ChatEmptyStateWrapper, MessageWrapper };
5
+ const ChatEmptyStateWrapper = styled(Grid)`
6
+ height: 100%;
7
+ min-width: ${CONTAINER_WIDTH}px;
8
+ overflow: hidden;
9
+ background: ${(props) => props.theme.colors.neutral["050"]};
10
+ `;
11
+ const MessageWrapper = styled.p`
12
+ font-size: 18px;
13
+ `;
14
+ export {
15
+ CONTAINER_WIDTH,
16
+ ChatEmptyStateWrapper,
17
+ MessageWrapper
18
+ };
19
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-empty-state/styled.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import styled from 'styled-components';\nimport { Grid } from '@elliemae/ds-grid';\n\nexport const CONTAINER_WIDTH = 300;\n\nexport const ChatEmptyStateWrapper = styled(Grid)`\n height: 100%;\n min-width: ${CONTAINER_WIDTH}px;\n overflow: hidden;\n background: ${(props) => props.theme.colors.neutral['050']};\n`;\n\nexport const MessageWrapper = styled.p`\n font-size: 18px;\n`;\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AAEO,MAAM,kBAAkB;AAExB,MAAM,wBAAwB,OAAO;AAAA;AAAA,eAE7B;AAAA;AAAA,gBAEC,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAG/C,MAAM,iBAAiB,OAAO;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,45 +1,26 @@
1
- import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
- import _jsx from '@babel/runtime/helpers/esm/jsx';
3
- import 'core-js/modules/web.url.to-json.js';
4
- import 'core-js/modules/esnext.async-iterator.map.js';
5
- import 'core-js/modules/esnext.iterator.map.js';
6
- import 'core-js/modules/esnext.async-iterator.filter.js';
7
- import 'core-js/modules/esnext.iterator.constructor.js';
8
- import 'core-js/modules/esnext.iterator.filter.js';
9
- import 'core-js/modules/esnext.async-iterator.for-each.js';
10
- import 'core-js/modules/esnext.iterator.for-each.js';
11
- import React from 'react';
12
- import { describe } from 'react-desc';
13
- import { MenuCollapse, MenuExpand } from '@elliemae/ds-icons';
14
- import { StyledSideBarContainer, StyledSideBarButtonsContainer } from './styled.js';
15
- import { TileButton } from '../tile-button/TileButton.js';
16
- import { SidebarButton } from '../sidebar-button/SidebarButton.js';
17
- import { chatSidebarProps, defaultProps } from './props.js';
18
- import { useValidateProps } from './config/useValidateProps.js';
19
- import { jsxs, jsx } from 'react/jsx-runtime';
20
-
21
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
-
23
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
-
25
- const FooterChat = _ref => {
26
- let {
27
- expanded,
28
- onFooterClose,
29
- onFooterExpand,
30
- footerButtonExtraProps
31
- } = _ref;
32
- return /*#__PURE__*/_jsx(SidebarButton, {
33
- dsId: "sidebar_footer",
34
- label: null,
35
- Icon: !expanded ? MenuCollapse : MenuExpand,
36
- onClick: expanded ? onFooterClose : onFooterExpand,
37
- "aria-pressed": expanded,
38
- "aria-label": footerButtonExtraProps['aria-label']
39
- });
40
- };
41
-
42
- const SideBarChat = props => {
1
+ import * as React from "react";
2
+ import React2 from "react";
3
+ import { describe } from "react-desc";
4
+ import { MenuCollapse, MenuExpand } from "@elliemae/ds-icons";
5
+ import { StyledSideBarContainer, StyledSideBarButtonsContainer } from "./styled";
6
+ import { TileButton } from "../tile-button";
7
+ import { SidebarButton } from "../sidebar-button/SidebarButton";
8
+ import { defaultProps, chatSidebarProps } from "./props";
9
+ import { useValidateProps } from "./config/useValidateProps";
10
+ const FooterChat = ({
11
+ expanded,
12
+ onFooterClose,
13
+ onFooterExpand,
14
+ footerButtonExtraProps
15
+ }) => /* @__PURE__ */ React2.createElement(SidebarButton, {
16
+ dsId: "sidebar_footer",
17
+ label: null,
18
+ Icon: !expanded ? MenuCollapse : MenuExpand,
19
+ onClick: expanded ? onFooterClose : onFooterExpand,
20
+ "aria-pressed": expanded,
21
+ "aria-label": footerButtonExtraProps["aria-label"]
22
+ });
23
+ const SideBarChat = (props) => {
43
24
  useValidateProps(props, SideBarChatWithSchema.toJSON());
44
25
  const {
45
26
  sidebarItems,
@@ -52,37 +33,39 @@ const SideBarChat = props => {
52
33
  enableTooltipWhenIsClosed,
53
34
  actionRef
54
35
  } = props;
55
- const {
56
- current: listRef
57
- } = React.useRef({});
58
- const registerReference = React.useCallback(ref => {
59
- if (ref) listRef[ref.dataset.key] = ref;
36
+ const { current: listRef } = React2.useRef({});
37
+ const registerReference = React2.useCallback((ref) => {
38
+ if (ref)
39
+ listRef[ref.dataset.key] = ref;
60
40
  }, [listRef]);
61
- React.useEffect(() => {
41
+ React2.useEffect(() => {
62
42
  if (actionRef.current.listRef) {
63
43
  actionRef.current.listRef = listRef;
64
44
  }
65
45
  }, [sidebarItems, expanded, actionRef, listRef]);
66
- return /*#__PURE__*/jsxs(StyledSideBarContainer, {
67
- rows: [1, 'auto'],
68
- ref: listRef,
69
- children: [/*#__PURE__*/_jsx(StyledSideBarButtonsContainer, {}, void 0, sidebarItems.map(p => /*#__PURE__*/jsx(TileButton, _objectSpread(_objectSpread({
70
- innerRef: registerReference
71
- }, p), {}, {
72
- selected: selectedItem === p.dsId,
73
- tooltipPlacement: tooltipPlacement,
74
- disableTooltip: enableTooltipWhenIsClosed ? false : !expanded
75
- }), p.dsId))), /*#__PURE__*/_jsx(FooterChat, {
76
- expanded: expanded,
77
- onFooterClose: onFooterClose,
78
- onFooterExpand: onFooterExpand,
79
- footerButtonExtraProps: footerButtonExtraProps
80
- })]
81
- });
46
+ return /* @__PURE__ */ React2.createElement(StyledSideBarContainer, {
47
+ rows: [1, "auto"],
48
+ ref: listRef
49
+ }, /* @__PURE__ */ React2.createElement(StyledSideBarButtonsContainer, null, sidebarItems.map((p) => /* @__PURE__ */ React2.createElement(TileButton, {
50
+ key: p.dsId,
51
+ innerRef: registerReference,
52
+ ...p,
53
+ selected: selectedItem === p.dsId,
54
+ tooltipPlacement,
55
+ disableTooltip: enableTooltipWhenIsClosed ? false : !expanded
56
+ }))), /* @__PURE__ */ React2.createElement(FooterChat, {
57
+ expanded,
58
+ onFooterClose,
59
+ onFooterExpand,
60
+ footerButtonExtraProps
61
+ }));
82
62
  };
83
-
63
+ SideBarChat.propTypes = chatSidebarProps;
84
64
  SideBarChat.defaultProps = defaultProps;
85
65
  const SideBarChatWithSchema = describe(SideBarChat);
86
66
  SideBarChatWithSchema.propTypes = chatSidebarProps;
87
-
88
- export { SideBarChat, SideBarChatWithSchema };
67
+ export {
68
+ SideBarChat,
69
+ SideBarChatWithSchema
70
+ };
71
+ //# sourceMappingURL=SideBarChat.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-sidebar/SideBarChat.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from 'react-desc';\nimport { MenuCollapse, MenuExpand } from '@elliemae/ds-icons';\nimport { StyledSideBarContainer, StyledSideBarButtonsContainer } from './styled';\nimport { TileButton } from '../tile-button';\nimport { SidebarButton } from '../sidebar-button/SidebarButton';\nimport { CharSidebarProps, defaultProps, chatSidebarProps } from './props';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst FooterChat = ({\n expanded,\n onFooterClose,\n onFooterExpand,\n footerButtonExtraProps,\n}: Pick<CharSidebarProps, 'expanded' | 'onFooterClose' | 'onFooterExpand' | 'footerButtonExtraProps'>) => (\n <SidebarButton\n dsId=\"sidebar_footer\"\n label={null}\n Icon={!expanded ? MenuCollapse : MenuExpand}\n onClick={expanded ? onFooterClose : onFooterExpand}\n aria-pressed={expanded}\n aria-label={footerButtonExtraProps['aria-label']}\n />\n);\n\nconst SideBarChat = (props: CharSidebarProps): JSX.Element => {\n useValidateProps(props, SideBarChatWithSchema.toJSON());\n const {\n sidebarItems,\n expanded,\n onFooterClose,\n onFooterExpand,\n selectedItem,\n footerButtonExtraProps,\n tooltipPlacement,\n enableTooltipWhenIsClosed,\n actionRef,\n } = props;\n const { current: listRef } = React.useRef({});\n const registerReference = React.useCallback(\n (ref: HTMLElement) => {\n if (ref) listRef[ref.dataset.key] = ref;\n },\n [listRef],\n );\n React.useEffect(() => {\n if (actionRef.current.listRef) {\n actionRef.current.listRef = listRef;\n }\n }, [sidebarItems, expanded, actionRef, listRef]);\n\n return (\n <StyledSideBarContainer rows={[1, 'auto']} ref={listRef}>\n <StyledSideBarButtonsContainer>\n {sidebarItems.map((p) => (\n <TileButton\n key={p.dsId}\n innerRef={registerReference}\n {...p}\n selected={selectedItem === p.dsId}\n tooltipPlacement={tooltipPlacement}\n disableTooltip={enableTooltipWhenIsClosed ? false : !expanded}\n />\n ))}\n </StyledSideBarButtonsContainer>\n <FooterChat\n expanded={expanded}\n onFooterClose={onFooterClose}\n onFooterExpand={onFooterExpand}\n footerButtonExtraProps={footerButtonExtraProps}\n />\n </StyledSideBarContainer>\n );\n};\n\nSideBarChat.propTypes = chatSidebarProps;\nSideBarChat.defaultProps = defaultProps;\nconst SideBarChatWithSchema = describe(SideBarChat);\nSideBarChatWithSchema.propTypes = chatSidebarProps;\n\nexport { SideBarChat, SideBarChatWithSchema };\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,aAAa,CAAC;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,MAEA,qCAAC,eAAD;AAAA,EACE,MAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM,CAAC,WAAW,eAAe;AAAA,EACjC,SAAS,WAAW,gBAAgB;AAAA,EACpC,gBAAc;AAAA,EACd,cAAY,uBAAuB;AAAA;AAIvC,MAAM,cAAc,CAAC,UAAyC;AAC5D,mBAAiB,OAAO,sBAAsB;AAC9C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACE;AACJ,QAAM,EAAE,SAAS,YAAY,OAAM,OAAO;AAC1C,QAAM,oBAAoB,OAAM,YAC9B,CAAC,QAAqB;AACpB,QAAI;AAAK,cAAQ,IAAI,QAAQ,OAAO;AAAA,KAEtC,CAAC;AAEH,SAAM,UAAU,MAAM;AACpB,QAAI,UAAU,QAAQ,SAAS;AAC7B,gBAAU,QAAQ,UAAU;AAAA;AAAA,KAE7B,CAAC,cAAc,UAAU,WAAW;AAEvC,SACE,qCAAC,wBAAD;AAAA,IAAwB,MAAM,CAAC,GAAG;AAAA,IAAS,KAAK;AAAA,KAC9C,qCAAC,+BAAD,MACG,aAAa,IAAI,CAAC,MACjB,qCAAC,YAAD;AAAA,IACE,KAAK,EAAE;AAAA,IACP,UAAU;AAAA,OACN;AAAA,IACJ,UAAU,iBAAiB,EAAE;AAAA,IAC7B;AAAA,IACA,gBAAgB,4BAA4B,QAAQ,CAAC;AAAA,QAI3D,qCAAC,YAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAMR,YAAY,YAAY;AACxB,YAAY,eAAe;AAC3B,MAAM,wBAAwB,SAAS;AACvC,sBAAsB,YAAY;",
6
+ "names": []
7
+ }
@@ -1,7 +1,9 @@
1
- import { useValidatePropTypes } from '@elliemae/ds-props-helpers';
2
-
1
+ import * as React from "react";
2
+ import { useValidatePropTypes } from "@elliemae/ds-props-helpers";
3
3
  const useValidateProps = (props, schema) => {
4
4
  useValidatePropTypes(props, schema);
5
5
  };
6
-
7
- export { useValidateProps };
6
+ export {
7
+ useValidateProps
8
+ };
9
+ //# sourceMappingURL=useValidateProps.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../../src/parts/chat-sidebar/config/useValidateProps.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useValidatePropTypes } from '@elliemae/ds-props-helpers';\nimport { CharSidebarProps } from '../props';\n\nexport const useValidateProps = (props: CharSidebarProps, schema: unknown): void => {\n useValidatePropTypes(props, schema);\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAGO,MAAM,mBAAmB,CAAC,OAAyB,WAA0B;AAClF,uBAAqB,OAAO;AAAA;",
6
+ "names": []
7
+ }
@@ -1 +1,7 @@
1
- export { SideBarChat, SideBarChatWithSchema } from './SideBarChat.js';
1
+ import * as React from "react";
2
+ import { SideBarChat, SideBarChatWithSchema } from "./SideBarChat";
3
+ export {
4
+ SideBarChat,
5
+ SideBarChatWithSchema
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-sidebar/index.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { SideBarChat, SideBarChatWithSchema } from './SideBarChat';\n"],
5
+ "mappings": "AAAA;ACAA;",
6
+ "names": []
7
+ }
@@ -1,18 +1,16 @@
1
- import { PropTypes } from 'react-desc';
2
- import { noop } from 'lodash';
3
-
1
+ import * as React from "react";
2
+ import { PropTypes } from "react-desc";
3
+ import { noop } from "lodash";
4
4
  const defaultProps = {
5
5
  expanded: false,
6
- selectedItem: undefined,
6
+ selectedItem: void 0,
7
7
  sidebarItems: [],
8
8
  onFooterExpand: noop,
9
9
  onFooterClose: noop,
10
10
  onHeaderExpand: noop,
11
11
  onHeaderClose: noop,
12
- footerButtonExtraProps: {
13
- 'aria-label': 'expand or collapse button'
14
- },
15
- tooltipPlacement: 'right',
12
+ footerButtonExtraProps: { "aria-label": "expand or collapse button" },
13
+ tooltipPlacement: "right",
16
14
  enableTooltipWhenIsClosed: false,
17
15
  actionRef: {
18
16
  current: {
@@ -21,17 +19,37 @@ const defaultProps = {
21
19
  }
22
20
  };
23
21
  const chatSidebarProps = {
24
- sidebarItems: PropTypes.arrayOf(PropTypes.object).description('The array of out-of-the-box items you want to render inside the sidebar nav of the chat').defaultValue(defaultProps.sidebarItems),
25
- expanded: PropTypes.bool.description('Whether to show the chat expanded or collapsed').defaultValue(defaultProps.expanded),
26
- selectedItem: PropTypes.string.description('The id of the chat item you want to be opened').defaultValue(defaultProps.selectedItem),
27
- tooltipPlacement: PropTypes.oneOf(['top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']).description('start placement preferences, as per popperjs placement option').defaultValue("'right'"),
28
- enableTooltipWhenIsClosed: PropTypes.bool.description('Enable tooltip when is closed').defaultValue(defaultProps.onFooterExpand),
29
- onFooterExpand: PropTypes.func.description('The function to call when the chat is opened via the footer').defaultValue(defaultProps.onFooterExpand),
30
- onFooterClose: PropTypes.func.description('The function to call when the chat is closed via the footer').defaultValue(defaultProps.onFooterClose),
31
- onHeaderExpand: PropTypes.func.description('The function to call when the chat is opened via the header').defaultValue(defaultProps.onHeaderExpand),
32
- onHeaderClose: PropTypes.func.description('The function to call when the chat is closed via the header').defaultValue(defaultProps.onHeaderClose),
33
- footerButtonExtraProps: PropTypes.object.description('Expand/collapse footer button extra props').defaultValue(defaultProps.footerButtonExtraProps),
34
- actionRef: PropTypes.object.description("Action ref for sidebar\n {\n listRef: references to Tiles\n }\n ").defaultValue(defaultProps.actionRef)
22
+ sidebarItems: PropTypes.arrayOf(PropTypes.object).description("The array of out-of-the-box items you want to render inside the sidebar nav of the chat").defaultValue(defaultProps.sidebarItems),
23
+ expanded: PropTypes.bool.description("Whether to show the chat expanded or collapsed").defaultValue(defaultProps.expanded),
24
+ selectedItem: PropTypes.string.description("The id of the chat item you want to be opened").defaultValue(defaultProps.selectedItem),
25
+ tooltipPlacement: PropTypes.oneOf([
26
+ "top-start",
27
+ "top",
28
+ "top-end",
29
+ "right-start",
30
+ "right",
31
+ "right-end",
32
+ "bottom-end",
33
+ "bottom",
34
+ "bottom-start",
35
+ "left-end",
36
+ "left",
37
+ "left-start"
38
+ ]).description("start placement preferences, as per popperjs placement option").defaultValue("'right'"),
39
+ enableTooltipWhenIsClosed: PropTypes.bool.description("Enable tooltip when is closed").defaultValue(defaultProps.onFooterExpand),
40
+ onFooterExpand: PropTypes.func.description("The function to call when the chat is opened via the footer").defaultValue(defaultProps.onFooterExpand),
41
+ onFooterClose: PropTypes.func.description("The function to call when the chat is closed via the footer").defaultValue(defaultProps.onFooterClose),
42
+ onHeaderExpand: PropTypes.func.description("The function to call when the chat is opened via the header").defaultValue(defaultProps.onHeaderExpand),
43
+ onHeaderClose: PropTypes.func.description("The function to call when the chat is closed via the header").defaultValue(defaultProps.onHeaderClose),
44
+ footerButtonExtraProps: PropTypes.object.description("Expand/collapse footer button extra props").defaultValue(defaultProps.footerButtonExtraProps),
45
+ actionRef: PropTypes.object.description(`Action ref for sidebar
46
+ {
47
+ listRef: references to Tiles
48
+ }
49
+ `).defaultValue(defaultProps.actionRef)
50
+ };
51
+ export {
52
+ chatSidebarProps,
53
+ defaultProps
35
54
  };
36
-
37
- export { chatSidebarProps, defaultProps };
55
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/chat-sidebar/props.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from 'react-desc';\nimport { noop } from 'lodash';\nimport { TileButtonProps } from '../tile-button/props';\n\nexport interface CharSidebarProps {\n sidebarItems: TileButtonProps[];\n expanded: boolean;\n selectedItem: undefined;\n onFooterClose: () => void;\n onFooterExpand: () => void;\n onHeaderExpand: () => void;\n onHeaderClose: () => void;\n footerButtonExtraProps: Record<string, any>;\n tooltipPlacement:\n | 'top-start'\n | 'top'\n | 'top-end'\n | 'right-start'\n | 'right'\n | 'right-end'\n | 'bottom-end'\n | 'bottom'\n | 'bottom-start'\n | 'left-end'\n | 'left'\n | 'left-start';\n enableTooltipWhenIsClosed: boolean;\n actionRef: React.MutableRefObject<any>;\n}\n\nexport const defaultProps: CharSidebarProps = {\n expanded: false,\n selectedItem: undefined,\n sidebarItems: [],\n onFooterExpand: noop,\n onFooterClose: noop,\n onHeaderExpand: noop,\n onHeaderClose: noop,\n footerButtonExtraProps: { 'aria-label': 'expand or collapse button' },\n tooltipPlacement: 'right',\n enableTooltipWhenIsClosed: false,\n actionRef: {\n current: {\n listRef: [],\n },\n },\n};\n\nexport const chatSidebarProps = {\n sidebarItems: PropTypes.arrayOf(PropTypes.object)\n .description('The array of out-of-the-box items you want to render inside the sidebar nav of the chat')\n .defaultValue(defaultProps.sidebarItems),\n expanded: PropTypes.bool\n .description('Whether to show the chat expanded or collapsed')\n .defaultValue(defaultProps.expanded),\n selectedItem: PropTypes.string\n .description('The id of the chat item you want to be opened')\n .defaultValue(defaultProps.selectedItem),\n tooltipPlacement: PropTypes.oneOf([\n 'top-start',\n 'top',\n 'top-end',\n 'right-start',\n 'right',\n 'right-end',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'left-end',\n 'left',\n 'left-start',\n ])\n .description('start placement preferences, as per popperjs placement option')\n .defaultValue(\"'right'\"),\n enableTooltipWhenIsClosed: PropTypes.bool\n .description('Enable tooltip when is closed')\n .defaultValue(defaultProps.onFooterExpand),\n onFooterExpand: PropTypes.func\n .description('The function to call when the chat is opened via the footer')\n .defaultValue(defaultProps.onFooterExpand),\n onFooterClose: PropTypes.func\n .description('The function to call when the chat is closed via the footer')\n .defaultValue(defaultProps.onFooterClose),\n onHeaderExpand: PropTypes.func\n .description('The function to call when the chat is opened via the header')\n .defaultValue(defaultProps.onHeaderExpand),\n onHeaderClose: PropTypes.func\n .description('The function to call when the chat is closed via the header')\n .defaultValue(defaultProps.onHeaderClose),\n footerButtonExtraProps: PropTypes.object\n .description('Expand/collapse footer button extra props')\n .defaultValue(defaultProps.footerButtonExtraProps),\n actionRef: PropTypes.object\n .description(\n `Action ref for sidebar\n {\n listRef: references to Tiles\n }\n `,\n )\n .defaultValue(defaultProps.actionRef),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AA6BO,MAAM,eAAiC;AAAA,EAC5C,UAAU;AAAA,EACV,cAAc;AAAA,EACd,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,wBAAwB,EAAE,cAAc;AAAA,EACxC,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,WAAW;AAAA,IACT,SAAS;AAAA,MACP,SAAS;AAAA;AAAA;AAAA;AAKR,MAAM,mBAAmB;AAAA,EAC9B,cAAc,UAAU,QAAQ,UAAU,QACvC,YAAY,2FACZ,aAAa,aAAa;AAAA,EAC7B,UAAU,UAAU,KACjB,YAAY,kDACZ,aAAa,aAAa;AAAA,EAC7B,cAAc,UAAU,OACrB,YAAY,iDACZ,aAAa,aAAa;AAAA,EAC7B,kBAAkB,UAAU,MAAM;AAAA,IAChC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,KAEC,YAAY,iEACZ,aAAa;AAAA,EAChB,2BAA2B,UAAU,KAClC,YAAY,iCACZ,aAAa,aAAa;AAAA,EAC7B,gBAAgB,UAAU,KACvB,YAAY,+DACZ,aAAa,aAAa;AAAA,EAC7B,eAAe,UAAU,KACtB,YAAY,+DACZ,aAAa,aAAa;AAAA,EAC7B,gBAAgB,UAAU,KACvB,YAAY,+DACZ,aAAa,aAAa;AAAA,EAC7B,eAAe,UAAU,KACtB,YAAY,+DACZ,aAAa,aAAa;AAAA,EAC7B,wBAAwB,UAAU,OAC/B,YAAY,6CACZ,aAAa,aAAa;AAAA,EAC7B,WAAW,UAAU,OAClB,YACC;AAAA;AAAA;AAAA;AAAA,KAMD,aAAa,aAAa;AAAA;",
6
+ "names": []
7
+ }