@pega/cosmos-react-demos 4.1.1 → 5.0.0-dev.10.0

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 (984) hide show
  1. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
  2. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
  3. package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
  4. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
  5. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  6. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  7. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
  8. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  9. package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  10. package/jsx/core/AIButton/AIButton.mocks.d.ts +1 -1
  11. package/jsx/core/AIButton/AIButton.mocks.d.ts.map +1 -1
  12. package/jsx/core/AIButton/AIButton.mocks.js.map +1 -1
  13. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
  14. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  15. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +1 -1
  16. package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
  17. package/jsx/core/AppShell/AppShell.mocks.d.ts +1 -1
  18. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  19. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  20. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  21. package/jsx/core/Avatar/Avatar.stories.jsx +1 -2
  22. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  23. package/jsx/core/Badges/Status.stories.jsx +2 -2
  24. package/jsx/core/Badges/Status.stories.jsx.map +1 -1
  25. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  26. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  27. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  28. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  29. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  30. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  31. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +39 -11
  32. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  33. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  34. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -3
  35. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  36. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  37. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +4 -10
  38. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  39. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +1 -2
  40. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  41. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  42. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  43. package/jsx/core/ComboBox/{ComboBox.mocks.js → ComboBox.mocks.jsx} +5 -1
  44. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
  45. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  46. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  47. package/jsx/core/ComboBox/ComboBox.stories.jsx +15 -13
  48. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  49. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  50. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  51. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -1
  52. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  53. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +1 -3
  54. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
  55. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  56. package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -1
  57. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
  58. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  59. package/jsx/core/Currency/Currency.stories.jsx +0 -1
  60. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  61. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  62. package/jsx/core/DateTime/DateTime.stories.jsx +0 -10
  63. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  64. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  65. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +10 -5
  66. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
  67. package/jsx/core/Dialog/FormDialog.mocks.d.ts +1 -1
  68. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  69. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -1
  70. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  71. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -1
  72. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  73. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +6 -2
  74. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  75. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  76. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  77. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  78. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  79. package/jsx/core/File/FileDisplay.stories.jsx +3 -1
  80. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  81. package/jsx/core/File/FileInput.stories.d.ts +1 -0
  82. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  83. package/jsx/core/File/FileInput.stories.jsx +33 -6
  84. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  85. package/jsx/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  86. package/jsx/core/File/FileService.mock.d.ts.map +1 -0
  87. package/jsx/core/File/FileService.mock.jsx.map +1 -0
  88. package/jsx/core/File/MockFileInput.d.ts +6 -0
  89. package/jsx/core/File/MockFileInput.d.ts.map +1 -0
  90. package/jsx/core/File/MockFileInput.jsx +24 -0
  91. package/jsx/core/File/MockFileInput.jsx.map +1 -0
  92. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  93. package/jsx/core/Form/Form.mocks.jsx +64 -14
  94. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  95. package/jsx/core/Icon/Icon.mocks.d.ts +24 -1
  96. package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -1
  97. package/jsx/core/Icon/Icon.mocks.jsx +23 -0
  98. package/jsx/core/Icon/Icon.mocks.jsx.map +1 -1
  99. package/jsx/core/Icon/Icon.stories.d.ts +11 -1
  100. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  101. package/jsx/core/Icon/Icon.stories.jsx +41 -7
  102. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  103. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  104. package/jsx/core/Input/Input.stories.jsx +0 -1
  105. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  106. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  107. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
  108. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  109. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
  110. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  111. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  112. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +27 -4
  113. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  114. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  115. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -1
  116. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  117. package/jsx/core/Location/Location.stories.jsx +0 -1
  118. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  119. package/jsx/core/Menu/Menu.mocks.d.ts +1 -1
  120. package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -1
  121. package/jsx/core/Menu/Menu.mocks.js.map +1 -1
  122. package/jsx/core/Modal/Modal.stories.d.ts +1 -0
  123. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  124. package/jsx/core/Modal/Modal.stories.jsx +20 -3
  125. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  126. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
  127. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  128. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
  129. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  130. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  131. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  132. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  133. package/jsx/core/Number/Number.stories.jsx +6 -2
  134. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  135. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  136. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  137. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  138. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  139. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -1
  140. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  141. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  142. package/jsx/core/Phone/Phone.stories.jsx +0 -1
  143. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  144. package/jsx/core/Popover/Popover.mocks.d.ts +1 -1
  145. package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -1
  146. package/jsx/core/Popover/Popover.mocks.jsx.map +1 -1
  147. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  148. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -3
  149. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  150. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  151. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +4 -10
  152. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  153. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  154. package/jsx/core/Select/Select.stories.jsx +0 -1
  155. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  156. package/jsx/core/Slider/Slider.stories.d.ts +1 -0
  157. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  158. package/jsx/core/Slider/Slider.stories.jsx +24 -4
  159. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  160. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  161. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  162. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
  163. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  164. package/jsx/core/TextArea/TextArea.stories.jsx +0 -1
  165. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  166. package/jsx/core/Tree/Tree.mocks.js.map +1 -1
  167. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
  168. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  169. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -1
  170. package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -1
  171. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  172. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
  173. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  174. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  175. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -1
  176. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
  177. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  178. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -1
  179. package/jsx/dnd/StandardDragDropList/Popover.d.ts +2 -2
  180. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  181. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -1
  182. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
  183. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  184. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -1
  185. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  186. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  187. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  188. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  189. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  190. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -1
  191. package/jsx/rte/Editor/Editor.mocks.d.ts +7 -1
  192. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  193. package/jsx/rte/Editor/Editor.mocks.jsx +0 -1
  194. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -1
  195. package/jsx/rte/Editor/Editor.stories.d.ts +5 -1
  196. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  197. package/jsx/rte/Editor/Editor.stories.jsx +54 -9
  198. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  199. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  200. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  201. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  202. package/jsx/social/Chat/Chat.mocks.d.ts +5 -17
  203. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  204. package/jsx/social/Chat/Chat.mocks.js +1 -21
  205. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  206. package/jsx/social/Chat/Chat.stories.d.ts +4 -0
  207. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  208. package/jsx/social/Chat/Chat.stories.jsx +100 -42
  209. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  210. package/jsx/social/Email/Email.mocks.d.ts +5 -5
  211. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  212. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  213. package/jsx/social/Email/Email.stories.d.ts +4 -0
  214. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  215. package/jsx/social/Email/Email.stories.jsx +48 -21
  216. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  217. package/jsx/social/Feed/Feed.mocks.d.ts +4 -4
  218. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  219. package/jsx/social/Feed/Feed.mocks.jsx +24 -0
  220. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  221. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  222. package/jsx/social/Feed/Feed.stories.jsx +70 -16
  223. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  224. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  225. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  226. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -1
  227. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  228. package/jsx/social/Feed/FeedPost.mocks.jsx +32 -17
  229. package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -1
  230. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  231. package/jsx/social/Feed/FeedReply.mocks.jsx +24 -17
  232. package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -1
  233. package/jsx/work/Article/Article.mocks.d.ts +4 -0
  234. package/jsx/work/Article/Article.mocks.d.ts.map +1 -1
  235. package/jsx/work/Article/Article.mocks.js +7 -3
  236. package/jsx/work/Article/Article.mocks.js.map +1 -1
  237. package/jsx/work/Article/Article.stories.d.ts +1 -0
  238. package/jsx/work/Article/Article.stories.d.ts.map +1 -1
  239. package/jsx/work/Article/Article.stories.jsx +77 -34
  240. package/jsx/work/Article/Article.stories.jsx.map +1 -1
  241. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  242. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  243. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +62 -0
  244. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +1 -0
  245. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  246. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  247. package/jsx/work/ArticleList/ArticleList.mocks.js +164 -78
  248. package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -1
  249. package/jsx/work/ArticleList/ArticleList.stories.d.ts +1 -0
  250. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  251. package/jsx/work/ArticleList/ArticleList.stories.jsx +219 -32
  252. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -1
  253. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  254. package/jsx/work/CaseView/Attachments.mocks.jsx +1 -1
  255. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  256. package/jsx/work/CaseView/CaseView.mocks.d.ts +16 -6
  257. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  258. package/jsx/work/CaseView/CaseView.mocks.jsx +69 -14
  259. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  260. package/jsx/work/CaseView/CaseView.stories.d.ts +1 -1
  261. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  262. package/jsx/work/CaseView/CaseView.stories.jsx +0 -9
  263. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  264. package/jsx/work/CaseView/Pulse.mocks.d.ts +1 -1
  265. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  266. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  267. package/jsx/work/Details/Details.stories.d.ts +2 -0
  268. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  269. package/jsx/work/Details/Details.stories.jsx +29 -5
  270. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  271. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  272. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  273. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +2 -252
  274. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  275. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  276. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  277. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.jsx +6 -4
  278. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
  279. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  280. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  281. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
  282. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
  283. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  284. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  285. package/jsx/work/Timeline/Timeline.mocks.d.ts +1 -1
  286. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  287. package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
  288. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  289. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +4 -11
  290. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  291. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  292. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  293. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +11 -20
  294. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
  295. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
  296. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
  297. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
  298. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
  299. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  300. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  301. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
  302. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  303. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  304. package/lib/core/AIButton/AIButton.mocks.d.ts +1 -1
  305. package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -1
  306. package/lib/core/AIButton/AIButton.mocks.js.map +1 -1
  307. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
  308. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  309. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +1 -1
  310. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
  311. package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
  312. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  313. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  314. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  315. package/lib/core/Avatar/Avatar.stories.js +1 -2
  316. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  317. package/lib/core/Badges/Status.stories.js +2 -2
  318. package/lib/core/Badges/Status.stories.js.map +1 -1
  319. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  320. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  321. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  322. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  323. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  324. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  325. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +39 -11
  326. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  327. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  328. package/lib/core/Checkbox/Checkbox.stories.js +0 -3
  329. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  330. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  331. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +4 -10
  332. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  333. package/lib/core/ColorPicker/ColorPicker.stories.js +1 -2
  334. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  335. package/lib/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  336. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  337. package/lib/core/ComboBox/ComboBox.mocks.js +3 -0
  338. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -1
  339. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  340. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  341. package/lib/core/ComboBox/ComboBox.stories.js +15 -13
  342. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  343. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  344. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  345. package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -1
  346. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  347. package/lib/core/CompositeInput/CompositeInput.stories.js +1 -3
  348. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
  349. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  350. package/lib/core/CreditCard/CreditCard.stories.js +0 -1
  351. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
  352. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  353. package/lib/core/Currency/Currency.stories.js +0 -1
  354. package/lib/core/Currency/Currency.stories.js.map +1 -1
  355. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  356. package/lib/core/DateTime/DateTime.stories.js +0 -10
  357. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  358. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  359. package/lib/core/DateTime/DateTimeDisplay.stories.js +10 -5
  360. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  361. package/lib/core/Dialog/FormDialog.mocks.d.ts +1 -1
  362. package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  363. package/lib/core/Dialog/FormDialog.mocks.js.map +1 -1
  364. package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  365. package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -1
  366. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  367. package/lib/core/FieldGroup/FieldGroup.stories.js +6 -2
  368. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  369. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  370. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  371. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  372. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  373. package/lib/core/File/FileDisplay.stories.js +3 -1
  374. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  375. package/lib/core/File/FileInput.stories.d.ts +1 -0
  376. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  377. package/lib/core/File/FileInput.stories.js +20 -7
  378. package/lib/core/File/FileInput.stories.js.map +1 -1
  379. package/lib/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  380. package/lib/core/File/FileService.mock.d.ts.map +1 -0
  381. package/lib/core/File/FileService.mock.js.map +1 -0
  382. package/lib/core/File/MockFileInput.d.ts +6 -0
  383. package/lib/core/File/MockFileInput.d.ts.map +1 -0
  384. package/lib/core/File/MockFileInput.js +25 -0
  385. package/lib/core/File/MockFileInput.js.map +1 -0
  386. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  387. package/lib/core/Form/Form.mocks.js +48 -3
  388. package/lib/core/Form/Form.mocks.js.map +1 -1
  389. package/lib/core/Icon/Icon.mocks.d.ts +24 -1
  390. package/lib/core/Icon/Icon.mocks.d.ts.map +1 -1
  391. package/lib/core/Icon/Icon.mocks.js +23 -0
  392. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  393. package/lib/core/Icon/Icon.stories.d.ts +11 -1
  394. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  395. package/lib/core/Icon/Icon.stories.js +41 -7
  396. package/lib/core/Icon/Icon.stories.js.map +1 -1
  397. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  398. package/lib/core/Input/Input.stories.js +0 -1
  399. package/lib/core/Input/Input.stories.js.map +1 -1
  400. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  401. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
  402. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  403. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
  404. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  405. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  406. package/lib/core/ListToolbar/ListToolbar.stories.js +14 -5
  407. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  408. package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  409. package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -1
  410. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  411. package/lib/core/Location/Location.stories.js +0 -1
  412. package/lib/core/Location/Location.stories.js.map +1 -1
  413. package/lib/core/Menu/Menu.mocks.d.ts +1 -1
  414. package/lib/core/Menu/Menu.mocks.d.ts.map +1 -1
  415. package/lib/core/Menu/Menu.mocks.js.map +1 -1
  416. package/lib/core/Modal/Modal.stories.d.ts +1 -0
  417. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  418. package/lib/core/Modal/Modal.stories.js +14 -3
  419. package/lib/core/Modal/Modal.stories.js.map +1 -1
  420. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
  421. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  422. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
  423. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  424. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  425. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  426. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  427. package/lib/core/Number/Number.stories.js +6 -2
  428. package/lib/core/Number/Number.stories.js.map +1 -1
  429. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  430. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  431. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  432. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  433. package/lib/core/PageTemplates/PageTemplates.stories.js +1 -1
  434. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  435. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  436. package/lib/core/Phone/Phone.stories.js +0 -1
  437. package/lib/core/Phone/Phone.stories.js.map +1 -1
  438. package/lib/core/Popover/Popover.mocks.d.ts +1 -1
  439. package/lib/core/Popover/Popover.mocks.d.ts.map +1 -1
  440. package/lib/core/Popover/Popover.mocks.js.map +1 -1
  441. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  442. package/lib/core/RadioButton/RadioButton.stories.js +0 -3
  443. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  444. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  445. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +4 -10
  446. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  447. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  448. package/lib/core/Select/Select.stories.js +0 -1
  449. package/lib/core/Select/Select.stories.js.map +1 -1
  450. package/lib/core/Slider/Slider.stories.d.ts +1 -0
  451. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  452. package/lib/core/Slider/Slider.stories.js +11 -5
  453. package/lib/core/Slider/Slider.stories.js.map +1 -1
  454. package/lib/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  455. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  456. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  457. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  458. package/lib/core/TextArea/TextArea.stories.js +0 -1
  459. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  460. package/lib/core/Tree/Tree.mocks.js.map +1 -1
  461. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
  462. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  463. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -1
  464. package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -1
  465. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  466. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -1
  467. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  468. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  469. package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -1
  470. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
  471. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  472. package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -1
  473. package/lib/dnd/StandardDragDropList/Popover.d.ts +2 -2
  474. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  475. package/lib/dnd/StandardDragDropList/Popover.js.map +1 -1
  476. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
  477. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  478. package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -1
  479. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  480. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  481. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  482. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  483. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  484. package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -1
  485. package/lib/rte/Editor/Editor.mocks.d.ts +7 -1
  486. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  487. package/lib/rte/Editor/Editor.mocks.js +0 -1
  488. package/lib/rte/Editor/Editor.mocks.js.map +1 -1
  489. package/lib/rte/Editor/Editor.stories.d.ts +5 -1
  490. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  491. package/lib/rte/Editor/Editor.stories.js +40 -9
  492. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  493. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  494. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  495. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  496. package/lib/social/Chat/Chat.mocks.d.ts +5 -17
  497. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  498. package/lib/social/Chat/Chat.mocks.js +1 -21
  499. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  500. package/lib/social/Chat/Chat.stories.d.ts +4 -0
  501. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  502. package/lib/social/Chat/Chat.stories.js +101 -38
  503. package/lib/social/Chat/Chat.stories.js.map +1 -1
  504. package/lib/social/Email/Email.mocks.d.ts +5 -5
  505. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  506. package/lib/social/Email/Email.mocks.js.map +1 -1
  507. package/lib/social/Email/Email.stories.d.ts +4 -0
  508. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  509. package/lib/social/Email/Email.stories.js +48 -26
  510. package/lib/social/Email/Email.stories.js.map +1 -1
  511. package/lib/social/Feed/Feed.mocks.d.ts +4 -4
  512. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  513. package/lib/social/Feed/Feed.mocks.js +24 -0
  514. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  515. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  516. package/lib/social/Feed/Feed.stories.js +70 -16
  517. package/lib/social/Feed/Feed.stories.js.map +1 -1
  518. package/lib/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  519. package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  520. package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -1
  521. package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  522. package/lib/social/Feed/FeedPost.mocks.js +32 -17
  523. package/lib/social/Feed/FeedPost.mocks.js.map +1 -1
  524. package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  525. package/lib/social/Feed/FeedReply.mocks.js +23 -16
  526. package/lib/social/Feed/FeedReply.mocks.js.map +1 -1
  527. package/lib/work/Article/Article.mocks.d.ts +4 -0
  528. package/lib/work/Article/Article.mocks.d.ts.map +1 -1
  529. package/lib/work/Article/Article.mocks.js +7 -3
  530. package/lib/work/Article/Article.mocks.js.map +1 -1
  531. package/lib/work/Article/Article.stories.d.ts +1 -0
  532. package/lib/work/Article/Article.stories.d.ts.map +1 -1
  533. package/lib/work/Article/Article.stories.js +78 -34
  534. package/lib/work/Article/Article.stories.js.map +1 -1
  535. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  536. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  537. package/lib/work/ArticleList/ArticleBuddy.stories.js +63 -0
  538. package/lib/work/ArticleList/ArticleBuddy.stories.js.map +1 -0
  539. package/lib/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  540. package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  541. package/lib/work/ArticleList/ArticleList.mocks.js +164 -78
  542. package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -1
  543. package/lib/work/ArticleList/ArticleList.stories.d.ts +1 -0
  544. package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  545. package/lib/work/ArticleList/ArticleList.stories.js +219 -32
  546. package/lib/work/ArticleList/ArticleList.stories.js.map +1 -1
  547. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  548. package/lib/work/CaseView/Attachments.mocks.js +1 -1
  549. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  550. package/lib/work/CaseView/CaseView.mocks.d.ts +16 -6
  551. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  552. package/lib/work/CaseView/CaseView.mocks.js +67 -14
  553. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  554. package/lib/work/CaseView/CaseView.stories.d.ts +1 -1
  555. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  556. package/lib/work/CaseView/CaseView.stories.js +0 -11
  557. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  558. package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
  559. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  560. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  561. package/lib/work/Details/Details.stories.d.ts +2 -0
  562. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  563. package/lib/work/Details/Details.stories.js +13 -5
  564. package/lib/work/Details/Details.stories.js.map +1 -1
  565. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  566. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  567. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +3 -235
  568. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  569. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  570. package/lib/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  571. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.js +6 -4
  572. package/lib/work/InteractionNotification/InteractionNotification.stories.js.map +1 -0
  573. package/lib/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  574. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  575. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  576. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
  577. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  578. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  579. package/lib/work/Timeline/Timeline.mocks.d.ts +1 -1
  580. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  581. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  582. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  583. package/lib/wss/PageTemplates/PageTemplates.stories.js +4 -3
  584. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
  585. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  586. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  587. package/lib/wss/QuickCreate/QuickCreate.stories.js +11 -18
  588. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
  589. package/package.json +16 -25
  590. package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -44
  591. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  592. package/jsx/build/AppShell/AppShell.mocks.jsx +0 -419
  593. package/jsx/build/AppShell/AppShell.mocks.jsx.map +0 -1
  594. package/jsx/build/AppShell/AppShell.stories.d.ts +0 -20
  595. package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
  596. package/jsx/build/AppShell/AppShell.stories.jsx +0 -201
  597. package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
  598. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  599. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  600. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -101
  601. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  602. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +0 -11
  603. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  604. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +0 -80
  605. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  606. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  607. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  608. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  609. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  610. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  611. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  612. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +0 -344
  613. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +0 -1
  614. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  615. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  616. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  617. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  618. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  619. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  620. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +0 -559
  621. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +0 -1
  622. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  623. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  624. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -501
  625. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
  626. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  627. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  628. package/jsx/build/FlowModeller/FlowModeller.styles.js +0 -8
  629. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  630. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  631. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  632. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  633. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  634. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  635. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  636. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +0 -44
  637. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +0 -1
  638. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  639. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  640. package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  641. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  642. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  643. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  644. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -873
  645. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
  646. package/jsx/build/LifeCycle/utils.d.ts +0 -123
  647. package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
  648. package/jsx/build/LifeCycle/utils.js +0 -302
  649. package/jsx/build/LifeCycle/utils.js.map +0 -1
  650. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  651. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  652. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  653. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  654. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  655. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  656. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx +0 -38
  657. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +0 -1
  658. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  659. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  660. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +0 -78
  661. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +0 -1
  662. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  663. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  664. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -397
  665. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +0 -1
  666. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  667. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  668. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +0 -258
  669. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +0 -1
  670. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  671. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  672. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  673. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  674. package/jsx/build/PageBanner/PageBanner.stories.d.ts +0 -15
  675. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  676. package/jsx/build/PageBanner/PageBanner.stories.jsx +0 -41
  677. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +0 -1
  678. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  679. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  680. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +0 -24
  681. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +0 -1
  682. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  683. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  684. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -49
  685. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
  686. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  687. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  688. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +0 -144
  689. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +0 -1
  690. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  691. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  692. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -255
  693. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  694. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  695. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  696. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +0 -42
  697. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +0 -1
  698. package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
  699. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  700. package/jsx/build/Workbench/Workbench.mocks.js +0 -67
  701. package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
  702. package/jsx/build/Workbench/Workbench.stories.d.ts +0 -11
  703. package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
  704. package/jsx/build/Workbench/Workbench.stories.jsx +0 -288
  705. package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
  706. package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
  707. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  708. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  709. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +0 -432
  710. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +0 -1
  711. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  712. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  713. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +0 -173
  714. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +0 -1
  715. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  716. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  717. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  718. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  719. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  720. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  721. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -330
  722. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
  723. package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
  724. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  725. package/jsx/cs/DialPad/DialPad.stories.jsx +0 -20
  726. package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
  727. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  728. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  729. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  730. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  731. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  732. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  733. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  734. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  735. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  736. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  737. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  738. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  739. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -87
  740. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
  741. package/jsx/cs/Picker/Picker.stories.d.ts +0 -11
  742. package/jsx/cs/Picker/Picker.stories.d.ts.map +0 -1
  743. package/jsx/cs/Picker/Picker.stories.jsx +0 -64
  744. package/jsx/cs/Picker/Picker.stories.jsx.map +0 -1
  745. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  746. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  747. package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -228
  748. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  749. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  750. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  751. package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -420
  752. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
  753. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  754. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  755. package/jsx/cs/TaskManager/TaskManager.styles.js +0 -9
  756. package/jsx/cs/TaskManager/TaskManager.styles.js.map +0 -1
  757. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  758. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  759. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +0 -81
  760. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +0 -1
  761. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  762. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  763. package/jsx/tools/Clipboard/Clipboard.stories.jsx +0 -67
  764. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +0 -1
  765. package/jsx/tools/DevTools/DevTools.mocks.d.ts +0 -3
  766. package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  767. package/jsx/tools/DevTools/DevTools.mocks.js +0 -3
  768. package/jsx/tools/DevTools/DevTools.mocks.js.map +0 -1
  769. package/jsx/tools/DevTools/DevTools.stories.d.ts +0 -10
  770. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  771. package/jsx/tools/DevTools/DevTools.stories.jsx +0 -33
  772. package/jsx/tools/DevTools/DevTools.stories.jsx.map +0 -1
  773. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  774. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  775. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +0 -80
  776. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +0 -1
  777. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  778. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  779. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +0 -184
  780. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +0 -1
  781. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  782. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  783. package/jsx/tools/PreviewShell/PreviewShell.styles.js +0 -6
  784. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  785. package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
  786. package/jsx/work/CaseView/FileService.mock.jsx.map +0 -1
  787. package/lib/build/AppShell/AppShell.mocks.d.ts +0 -44
  788. package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  789. package/lib/build/AppShell/AppShell.mocks.js +0 -419
  790. package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
  791. package/lib/build/AppShell/AppShell.stories.d.ts +0 -20
  792. package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
  793. package/lib/build/AppShell/AppShell.stories.js +0 -200
  794. package/lib/build/AppShell/AppShell.stories.js.map +0 -1
  795. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  796. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  797. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +0 -85
  798. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
  799. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +0 -14
  800. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  801. package/lib/build/DynamicContentEditor/FieldSelector.js +0 -81
  802. package/lib/build/DynamicContentEditor/FieldSelector.js.map +0 -1
  803. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  804. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  805. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  806. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  807. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  808. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  809. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +0 -339
  810. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +0 -1
  811. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  812. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  813. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  814. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  815. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  816. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  817. package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -536
  818. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  819. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  820. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  821. package/lib/build/FlowModeller/FlowModeller.stories.js +0 -481
  822. package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
  823. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  824. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  825. package/lib/build/FlowModeller/FlowModeller.styles.js +0 -8
  826. package/lib/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  827. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  828. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  829. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  830. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  831. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  832. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  833. package/lib/build/ItemLibrary/LibraryPicker.stories.js +0 -39
  834. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +0 -1
  835. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  836. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  837. package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  838. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  839. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  840. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  841. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -870
  842. package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
  843. package/lib/build/LifeCycle/utils.d.ts +0 -123
  844. package/lib/build/LifeCycle/utils.d.ts.map +0 -1
  845. package/lib/build/LifeCycle/utils.js +0 -302
  846. package/lib/build/LifeCycle/utils.js.map +0 -1
  847. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  848. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  849. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  850. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  851. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  852. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  853. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js +0 -39
  854. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +0 -1
  855. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  856. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  857. package/lib/build/ObjectPreview/ObjectPreview.mocks.js +0 -74
  858. package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +0 -1
  859. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  860. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  861. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -370
  862. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +0 -1
  863. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  864. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  865. package/lib/build/ObjectSelect/ObjectSelect.stories.js +0 -240
  866. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +0 -1
  867. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  868. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  869. package/lib/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  870. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  871. package/lib/build/PageBanner/PageBanner.stories.d.ts +0 -15
  872. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  873. package/lib/build/PageBanner/PageBanner.stories.js +0 -42
  874. package/lib/build/PageBanner/PageBanner.stories.js.map +0 -1
  875. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  876. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  877. package/lib/build/PageTemplates/GalleryPage.mocks.js +0 -25
  878. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +0 -1
  879. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  880. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  881. package/lib/build/PageTemplates/GalleryPage.stories.js +0 -50
  882. package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
  883. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  884. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  885. package/lib/build/PageTemplates/PageTemplates.mocks.js +0 -107
  886. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +0 -1
  887. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  888. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  889. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -246
  890. package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
  891. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  892. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  893. package/lib/build/PageTemplates/ShowcasePage.stories.js +0 -43
  894. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +0 -1
  895. package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
  896. package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  897. package/lib/build/Workbench/Workbench.mocks.js +0 -67
  898. package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
  899. package/lib/build/Workbench/Workbench.stories.d.ts +0 -11
  900. package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
  901. package/lib/build/Workbench/Workbench.stories.js +0 -273
  902. package/lib/build/Workbench/Workbench.stories.js.map +0 -1
  903. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  904. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  905. package/lib/cs/CSAppShell/CSAppShell.mocks.js +0 -385
  906. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +0 -1
  907. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  908. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  909. package/lib/cs/CSAppShell/CSAppShell.stories.js +0 -172
  910. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +0 -1
  911. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  912. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  913. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  914. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  915. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  916. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  917. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -331
  918. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
  919. package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
  920. package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  921. package/lib/cs/DialPad/DialPad.stories.js +0 -19
  922. package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
  923. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  924. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  925. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  926. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  927. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  928. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
  929. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  930. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  931. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  932. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  933. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  934. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  935. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -88
  936. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
  937. package/lib/cs/Picker/Picker.stories.d.ts +0 -11
  938. package/lib/cs/Picker/Picker.stories.d.ts.map +0 -1
  939. package/lib/cs/Picker/Picker.stories.js +0 -56
  940. package/lib/cs/Picker/Picker.stories.js.map +0 -1
  941. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  942. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  943. package/lib/cs/TaskManager/TaskManager.mocks.js +0 -228
  944. package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  945. package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  946. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  947. package/lib/cs/TaskManager/TaskManager.stories.js +0 -396
  948. package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
  949. package/lib/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  950. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  951. package/lib/cs/TaskManager/TaskManager.styles.js +0 -9
  952. package/lib/cs/TaskManager/TaskManager.styles.js.map +0 -1
  953. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  954. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  955. package/lib/tools/Clipboard/Clipboard.mocks.js +0 -74
  956. package/lib/tools/Clipboard/Clipboard.mocks.js.map +0 -1
  957. package/lib/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  958. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  959. package/lib/tools/Clipboard/Clipboard.stories.js +0 -74
  960. package/lib/tools/Clipboard/Clipboard.stories.js.map +0 -1
  961. package/lib/tools/DevTools/DevTools.mocks.d.ts +0 -3
  962. package/lib/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  963. package/lib/tools/DevTools/DevTools.mocks.js +0 -3
  964. package/lib/tools/DevTools/DevTools.mocks.js.map +0 -1
  965. package/lib/tools/DevTools/DevTools.stories.d.ts +0 -10
  966. package/lib/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  967. package/lib/tools/DevTools/DevTools.stories.js +0 -29
  968. package/lib/tools/DevTools/DevTools.stories.js.map +0 -1
  969. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  970. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  971. package/lib/tools/PreviewShell/PreviewShell.mocks.js +0 -77
  972. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +0 -1
  973. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  974. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  975. package/lib/tools/PreviewShell/PreviewShell.stories.js +0 -181
  976. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +0 -1
  977. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  978. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  979. package/lib/tools/PreviewShell/PreviewShell.styles.js +0 -6
  980. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  981. package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
  982. package/lib/work/CaseView/FileService.mock.js.map +0 -1
  983. /package/jsx/{work/CaseView → core/File}/FileService.mock.jsx +0 -0
  984. /package/lib/{work/CaseView → core/File}/FileService.mock.js +0 -0
@@ -1,25 +1,13 @@
1
- import { FieldValueListProps, MenuProps } from '@pega/cosmos-react-core';
2
- import { ChatBodyProps } from '@pega/cosmos-react-social';
1
+ import type { FieldValueListProps, FileUploadItemProps, MenuProps } from '@pega/cosmos-react-core';
2
+ import type { ChatBodyListItemProps, ChatBodyProps, SuggestedReply } from '@pega/cosmos-react-social';
3
3
  export declare const BotConversation: ChatBodyProps['liveChat'];
4
4
  export declare const ClaimsAgentConversation: ChatBodyProps['liveChat'];
5
5
  export declare const LiveChatConversation: ChatBodyProps['liveChat'];
6
6
  export declare const SimulatedConversation: ChatBodyProps['liveChat'];
7
7
  export declare const ChatMockData: {
8
- chatMessages: import("@pega/cosmos-react-social").ChatBodyListItemProps[];
9
- defaultAttachments: ({
10
- name: string;
11
- progress: number;
12
- onDelete: () => void;
13
- } | {
14
- name: string;
15
- onDelete: () => void;
16
- progress?: undefined;
17
- })[];
18
- suggestedReplies: {
19
- id: string;
20
- message: string;
21
- confidence: number;
22
- }[];
8
+ chatMessages: ChatBodyListItemProps[];
9
+ defaultAttachments: FileUploadItemProps[];
10
+ suggestedReplies: SuggestedReply[];
23
11
  };
24
12
  export declare const phrasesDisplayNames: MenuProps['items'];
25
13
  export declare const phrasesMessages: {
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.mocks.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,mBAAmB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,UAAU,CAwGrD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC,UAAU,CAqG7D,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,UAAU,CAqG1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,UAAU,CA2N3D,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAyCxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,SAAS,CAAC,OAAO,CAyDlD,CAAC;AAEF,eAAO,MAAM,eAAe;;;GAqC3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4DxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC,QAAQ,CAyBtD,CAAC"}
1
+ {"version":3,"file":"Chat.mocks.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACnG,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EACb,cAAc,EACf,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,UAAU,CAwGrD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC,UAAU,CAqG7D,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,UAAU,CAqG1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,UAAU,CA2N3D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE;IACzB,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,kBAAkB,EAAE,mBAAmB,EAAE,CAAC;IAC1C,gBAAgB,EAAE,cAAc,EAAE,CAAC;CAqBpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,SAAS,CAAC,OAAO,CAyDlD,CAAC;AAEF,eAAO,MAAM,eAAe;;;GAqC3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4DxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC,QAAQ,CAyBtD,CAAC"}
@@ -536,30 +536,10 @@ export const ChatMockData = {
536
536
  }
537
537
  ],
538
538
  suggestedReplies: [
539
- {
540
- id: createUID(),
541
- message: 'Hello, Good morning Ginger Ventura. How can I help you today',
542
- confidence: 94
543
- },
544
- {
545
- id: createUID(),
546
- message: 'Sorry to hear that. I will surely help you resolve the issue. Can you please provide the policy id, so that I can get more details',
547
- confidence: 75
548
- },
549
- {
550
- id: 'suggested_reply_3',
551
- message: 'Hello! How can I assist you today?',
552
- confidence: 40
553
- },
554
539
  {
555
540
  id: 'suggested_reply_4',
556
541
  message: 'Thanks for contacting our support team',
557
- confidence: 20
558
- },
559
- {
560
- id: createUID(),
561
- message: 'Happy to help. Is there anything else I can help with?',
562
- confidence: 75
542
+ type: 'dialogue'
563
543
  }
564
544
  ]
565
545
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.mocks.js","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkC,MAAM,yBAAyB,CAAC;AAGpF,MAAM,CAAC,MAAM,eAAe,GAA8B;IACxD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAA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Ae;QACrB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,kCAAkC;QACzC,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC","sourcesContent":["import { createUID, FieldValueListProps, MenuProps } from '@pega/cosmos-react-core';\nimport { ChatBodyProps } from '@pega/cosmos-react-social';\n\nexport const BotConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n timestamp: '1:44 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:45 PM',\n senderId: 'gingerVentura',\n message: 'Hi, I would like to know the validity of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'You have two policies.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: '1457589, 1473284.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Which among these policies do you want to know the validity of?',\n timestamp: '1:45 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:47 PM',\n senderId: 'gingerVentura',\n message: 'Please give me validity of policy with number 1457589.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:48 PM',\n message: 'Policy with number 1457589 is expiring on 12th December, 2023.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:49 PM',\n message: 'Is there anything else that you need help with?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:51 PM',\n senderId: 'gingerVentura',\n message: 'Yes, I would like to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:52 PM',\n message: 'Sure, I am transferring this chat to the concerned department.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:52 PM',\n message: 'Chat routed to a live agent.'\n }\n];\n\nexport const ClaimsAgentConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:54 PM',\n message: 'John Brown joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Hi Ginger Ventura, I see that you want to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Please go to link to get detailed information about claims process.',\n timestamp: '1:55 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'UPlus - Claims process'\n }\n ]\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:56 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message:\n 'Hi Ginger Ventura, I am the supervisor. You may also contact the nearest branch for a physical copy of the claims process.',\n timestamp: '1:57 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:57 PM',\n senderId: 'gingerVentura',\n message:\n 'Thanks for the information. I would also like to update the mobile number of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Sure, I need to transfer you to a specialist to get you the needed help.',\n timestamp: '1:58 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:58 PM',\n senderId: 'gingerVentura',\n message: 'Okay.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:59 PM',\n message: 'Transfer request initiated'\n }\n];\nexport const LiveChatConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:01 PM',\n message: 'Edward Green joined the conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Hi Ginger Ventura, Please provide your phone number that needs to be updated.',\n timestamp: '2:02PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:03 PM',\n senderId: 'gingerVentura',\n message: 'Please update the policy with 9812764132.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Your mobile number is updated successfully.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'This number will be used for all communcation regarding your policy',\n timestamp: '2:05 PM',\n status: 'delivered'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:04 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Please download the updated policy',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n },\n {\n id: createUID(),\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB'\n }\n ],\n timestamp: '2:05 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:06 PM',\n senderId: 'gingerVentura',\n message: 'Thank you'\n }\n];\n\nexport const SimulatedConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You are welcome, Is there anything else you need help with?',\n timestamp: '2:07 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:09 PM',\n senderId: 'gingerVentura',\n message: 'Can you please let me know the information about the newly launched policies?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'We have new plans in term insurance and health insurance.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Do you want me to share the information on both?',\n timestamp: '2:10 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Yes, please.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'I am also interested in knowing endowment plans as well.',\n timestamp: '2:11 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Okay, Let me find the relevant information for you.',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'We have a newly launched pension plan as well. Would you be interested in it?',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message:\n 'I am not looking for a pension plan at the moment. However, share the details of this plan also.',\n timestamp: '2:13 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Sure, I share the details in a moment.',\n timestamp: '2:14 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You can find details of the term insurance in this link',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-promo-1.jpg',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Health insurance details can be found here',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/offer.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Visit this link for details on pension plan',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/retail_bank/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/retail_bank/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Here are the details of endowment plans',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n }\n ],\n timestamp: '2:16 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Great, Thank you',\n timestamp: '2:17 PM'\n },\n {\n id: createUID(),\n type: 'system',\n message: 'Customer left this conversation',\n timestamp: '2:19 PM'\n }\n];\n\nexport const ChatMockData = {\n chatMessages: SimulatedConversation,\n defaultAttachments: [\n {\n name: 'Policy.doc',\n progress: 100,\n onDelete: () => {}\n },\n {\n name: 'E-Ticket',\n onDelete: () => {}\n }\n ],\n suggestedReplies: [\n {\n id: createUID(),\n message: 'Hello, Good morning Ginger Ventura. How can I help you today',\n confidence: 94\n },\n {\n id: createUID(),\n message:\n 'Sorry to hear that. I will surely help you resolve the issue. Can you please provide the policy id, so that I can get more details',\n confidence: 75\n },\n {\n id: 'suggested_reply_3',\n message: 'Hello! How can I assist you today?',\n confidence: 40\n },\n {\n id: 'suggested_reply_4',\n message: 'Thanks for contacting our support team',\n confidence: 20\n },\n {\n id: createUID(),\n message: 'Happy to help. Is there anything else I can help with?',\n confidence: 75\n }\n ]\n};\n\nexport const phrasesDisplayNames: MenuProps['items'] = [\n {\n id: '1',\n primary: 'Account',\n items: [\n {\n id: '1-1',\n primary: 'Account balance'\n }\n ]\n },\n {\n id: '2',\n primary: 'Agreement',\n items: [\n {\n id: '2-1',\n primary: 'End of a case/interaction'\n },\n {\n id: '2-2',\n primary: 'Mid interaction'\n }\n ]\n },\n {\n id: '3',\n primary: 'Apologize',\n items: [\n {\n id: '3-1',\n primary: 'Apologize - ask customer to'\n },\n {\n id: '3-2',\n primary: 'Thanks for patience'\n }\n ]\n },\n {\n id: '4',\n primary: 'Ask for transfer',\n items: [\n {\n id: '4-1',\n primary: 'Agent not available'\n },\n {\n id: '4-2',\n primary: 'Agent not available - call back'\n },\n {\n id: '4-3',\n primary: 'Agent not available - stall'\n }\n ]\n }\n];\n\nexport const phrasesMessages = [\n {\n id: '1-1',\n message: 'Ms. Ginger ventura your account balance is $5226.32'\n },\n {\n id: '2-1',\n message: 'My pleasure! Is there anything else I can do for you today?'\n },\n {\n id: '2-2',\n message: 'You are welcome!'\n },\n {\n id: '3-1',\n message:\n \"Ms.Ventura. We do not respond to that kind of language. I'm doing my best to help you. Please be civil.\"\n },\n {\n id: '3-2',\n message: 'Thanks for your patience. I am working on your request. I will be with you shortly.'\n },\n {\n id: '4-1',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n },\n {\n id: '4-2',\n message:\n \"The agent I was looking to transfer you to isn't available. Would it be possible for us to call you when a specialist is available?\"\n },\n {\n id: '4-3',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n }\n];\n\nexport const pagePushList = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'You may also reach us via',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Online Portal',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Contact center',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n }\n];\n\nexport const contextItems: FieldValueListProps['fields'] = [\n {\n id: 'Location',\n name: 'Location',\n value: 'New York, NY',\n variant: 'inline'\n },\n {\n id: 'Initiated from',\n name: 'Initiated from',\n value: 'Uplus.com/Products',\n variant: 'inline'\n },\n {\n id: 'Shopping cart',\n name: 'Shopping cart',\n value: '$155.25',\n variant: 'inline'\n },\n {\n id: 'Items in shopping cart',\n name: 'Items in shopping cart',\n value: 'Product name 01, Product name 02',\n variant: 'inline'\n }\n];\n"]}
1
+ {"version":3,"file":"Chat.mocks.js","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAQpD,MAAM,CAAC,MAAM,eAAe,GAA8B;IACxD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,6CAA6C;QACtD,SAAS,EAAE,SAAS;KACrB;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,IAAI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EAAE,gBAAgB;aACxB;SACF;KACF;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,OAAO;QACnB,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE;YACV,IAAI,EAAE,cAAc;SACrB;QACD,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,SAAS;QACpB,cAAc,EAAE;YACd;gBACE,EAAE,EAAE,SAAS,EAAE;gBACf,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,gBAAgB;aACxB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,oBAAoB;QAC3B,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,kCAAkC;QACzC,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC","sourcesContent":["import { createUID } from '@pega/cosmos-react-core';\nimport type { FieldValueListProps, FileUploadItemProps, MenuProps } from '@pega/cosmos-react-core';\nimport type {\n ChatBodyListItemProps,\n ChatBodyProps,\n SuggestedReply\n} from '@pega/cosmos-react-social';\n\nexport const BotConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n timestamp: '1:44 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:45 PM',\n senderId: 'gingerVentura',\n message: 'Hi, I would like to know the validity of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'You have two policies.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: '1457589, 1473284.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Which among these policies do you want to know the validity of?',\n timestamp: '1:45 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:47 PM',\n senderId: 'gingerVentura',\n message: 'Please give me validity of policy with number 1457589.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:48 PM',\n message: 'Policy with number 1457589 is expiring on 12th December, 2023.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:49 PM',\n message: 'Is there anything else that you need help with?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:51 PM',\n senderId: 'gingerVentura',\n message: 'Yes, I would like to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:52 PM',\n message: 'Sure, I am transferring this chat to the concerned department.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:52 PM',\n message: 'Chat routed to a live agent.'\n }\n];\n\nexport const ClaimsAgentConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:54 PM',\n message: 'John Brown joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Hi Ginger Ventura, I see that you want to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Please go to link to get detailed information about claims process.',\n timestamp: '1:55 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'UPlus - Claims process'\n }\n ]\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:56 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message:\n 'Hi Ginger Ventura, I am the supervisor. You may also contact the nearest branch for a physical copy of the claims process.',\n timestamp: '1:57 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:57 PM',\n senderId: 'gingerVentura',\n message:\n 'Thanks for the information. I would also like to update the mobile number of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Sure, I need to transfer you to a specialist to get you the needed help.',\n timestamp: '1:58 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:58 PM',\n senderId: 'gingerVentura',\n message: 'Okay.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:59 PM',\n message: 'Transfer request initiated'\n }\n];\nexport const LiveChatConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:01 PM',\n message: 'Edward Green joined the conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Hi Ginger Ventura, Please provide your phone number that needs to be updated.',\n timestamp: '2:02PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:03 PM',\n senderId: 'gingerVentura',\n message: 'Please update the policy with 9812764132.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Your mobile number is updated successfully.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'This number will be used for all communcation regarding your policy',\n timestamp: '2:05 PM',\n status: 'delivered'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:04 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Please download the updated policy',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n },\n {\n id: createUID(),\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB'\n }\n ],\n timestamp: '2:05 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:06 PM',\n senderId: 'gingerVentura',\n message: 'Thank you'\n }\n];\n\nexport const SimulatedConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You are welcome, Is there anything else you need help with?',\n timestamp: '2:07 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:09 PM',\n senderId: 'gingerVentura',\n message: 'Can you please let me know the information about the newly launched policies?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'We have new plans in term insurance and health insurance.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Do you want me to share the information on both?',\n timestamp: '2:10 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Yes, please.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'I am also interested in knowing endowment plans as well.',\n timestamp: '2:11 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Okay, Let me find the relevant information for you.',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'We have a newly launched pension plan as well. Would you be interested in it?',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message:\n 'I am not looking for a pension plan at the moment. However, share the details of this plan also.',\n timestamp: '2:13 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Sure, I share the details in a moment.',\n timestamp: '2:14 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You can find details of the term insurance in this link',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-promo-1.jpg',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Health insurance details can be found here',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/offer.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Visit this link for details on pension plan',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/retail_bank/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/retail_bank/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Here are the details of endowment plans',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n }\n ],\n timestamp: '2:16 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Great, Thank you',\n timestamp: '2:17 PM'\n },\n {\n id: createUID(),\n type: 'system',\n message: 'Customer left this conversation',\n timestamp: '2:19 PM'\n }\n];\n\nexport const ChatMockData: {\n chatMessages: ChatBodyListItemProps[];\n defaultAttachments: FileUploadItemProps[];\n suggestedReplies: SuggestedReply[];\n} = {\n chatMessages: SimulatedConversation,\n defaultAttachments: [\n {\n name: 'Policy.doc',\n progress: 100,\n onDelete: () => {}\n },\n {\n name: 'E-Ticket',\n onDelete: () => {}\n }\n ],\n suggestedReplies: [\n {\n id: 'suggested_reply_4',\n message: 'Thanks for contacting our support team',\n type: 'dialogue'\n }\n ]\n};\n\nexport const phrasesDisplayNames: MenuProps['items'] = [\n {\n id: '1',\n primary: 'Account',\n items: [\n {\n id: '1-1',\n primary: 'Account balance'\n }\n ]\n },\n {\n id: '2',\n primary: 'Agreement',\n items: [\n {\n id: '2-1',\n primary: 'End of a case/interaction'\n },\n {\n id: '2-2',\n primary: 'Mid interaction'\n }\n ]\n },\n {\n id: '3',\n primary: 'Apologize',\n items: [\n {\n id: '3-1',\n primary: 'Apologize - ask customer to'\n },\n {\n id: '3-2',\n primary: 'Thanks for patience'\n }\n ]\n },\n {\n id: '4',\n primary: 'Ask for transfer',\n items: [\n {\n id: '4-1',\n primary: 'Agent not available'\n },\n {\n id: '4-2',\n primary: 'Agent not available - call back'\n },\n {\n id: '4-3',\n primary: 'Agent not available - stall'\n }\n ]\n }\n];\n\nexport const phrasesMessages = [\n {\n id: '1-1',\n message: 'Ms. Ginger ventura your account balance is $5226.32'\n },\n {\n id: '2-1',\n message: 'My pleasure! Is there anything else I can do for you today?'\n },\n {\n id: '2-2',\n message: 'You are welcome!'\n },\n {\n id: '3-1',\n message:\n \"Ms.Ventura. We do not respond to that kind of language. I'm doing my best to help you. Please be civil.\"\n },\n {\n id: '3-2',\n message: 'Thanks for your patience. I am working on your request. I will be with you shortly.'\n },\n {\n id: '4-1',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n },\n {\n id: '4-2',\n message:\n \"The agent I was looking to transfer you to isn't available. Would it be possible for us to call you when a specialist is available?\"\n },\n {\n id: '4-3',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n }\n];\n\nexport const pagePushList = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'You may also reach us via',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Online Portal',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Contact center',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n }\n];\n\nexport const contextItems: FieldValueListProps['fields'] = [\n {\n id: 'Location',\n name: 'Location',\n value: 'New York, NY',\n variant: 'inline'\n },\n {\n id: 'Initiated from',\n name: 'Initiated from',\n value: 'Uplus.com/Products',\n variant: 'inline'\n },\n {\n id: 'Shopping cart',\n name: 'Shopping cart',\n value: '$155.25',\n variant: 'inline'\n },\n {\n id: 'Items in shopping cart',\n name: 'Items in shopping cart',\n value: 'Product name 01, Product name 02',\n variant: 'inline'\n }\n];\n"]}
@@ -26,10 +26,12 @@ interface SuggestedReplyPickerDemoProps {
26
26
  showNotification?: boolean;
27
27
  singleSuggestedReply?: boolean;
28
28
  noSuggestedReplies?: boolean;
29
+ disableButton?: boolean;
29
30
  }
30
31
  export declare const SuggestedReplyPickerDemo: StoryFn<SuggestedReplyPickerDemoProps>;
31
32
  interface ChatComposerDemoProps {
32
33
  maxAttachments?: number;
34
+ showSuggestReplyButton?: boolean;
33
35
  }
34
36
  export declare const ChatComposerDemo: StoryFn<ChatComposerDemoProps>;
35
37
  interface StandardChatProps {
@@ -46,6 +48,8 @@ interface StandardChatProps {
46
48
  maxLength?: number;
47
49
  loading?: boolean;
48
50
  typingIndicator?: boolean;
51
+ showAttachments?: boolean;
52
+ genAIErrorState?: string;
49
53
  }
50
54
  export declare const StandardChat: StoryFn<StandardChatProps>;
51
55
  //# sourceMappingURL=Chat.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA4BtD,OAAO,KAAK,EAIV,UAAU,EACX,MAAM,yBAAyB,CAAC;AAejC,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EAIZ,kBAAkB,EAKlB,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;;AAenC,wBAGU;AAGV,UAAU,mBACR,SAAQ,UAAU,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;CAAG;AAE7E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,mBAAmB,CAiCvD,CAAC;AAmBF,UAAU,gBAAiB,SAAQ,UAAU,CAAC,YAAY,EAAE,UAAU,GAAG,eAAe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
2
2
  import { action } from '@storybook/addon-actions';
3
- import { Button, Icon, registerIcon, Text, MenuButton, Flex, Popover, Link, EmojiContext, createUID, useOuterEvent, Select, Option, useElement, useModalManager, useModalContext, Modal, SummaryItem, useToaster, SearchInput, menuHelpers, VisuallyHiddenText, Menu, useEscape } from '@pega/cosmos-react-core';
3
+ import { Button, Icon, registerIcon, Text, MenuButton, Flex, Popover, Link, EmojiContext, createUID, useOuterEvent, Select, Option, useElement, useModalManager, useModalContext, Modal, SummaryItem, useToaster, SearchInput, menuHelpers, VisuallyHiddenText, Menu, useEscape, usePrevious } from '@pega/cosmos-react-core';
4
4
  import * as arrowMicroDownIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/arrow-micro-down.icon';
5
5
  import * as replyIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply.icon';
6
6
  import * as replyAllIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply-all.icon';
7
7
  import * as forwardIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/forward.icon';
8
- import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator } from '@pega/cosmos-react-social';
9
- import { ChatMockData, phrasesDisplayNames, phrasesMessages, pagePushList, contextItems as contextItemsMock, BotConversation, ClaimsAgentConversation, LiveChatConversation } from './Chat.mocks';
8
+ import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator, isReplyErrorState, isReplyLoadingState } from '@pega/cosmos-react-social';
9
+ import { ChatMockData, phrasesDisplayNames, phrasesMessages, contextItems as contextItemsMock, BotConversation, ClaimsAgentConversation, LiveChatConversation } from './Chat.mocks';
10
10
  registerIcon(forwardIcon, replyIcon, replyAllIcon, arrowMicroDownIcon);
11
11
  export default {
12
12
  title: 'Social/Chat',
@@ -159,30 +159,35 @@ export const SuggestedReplyPickerDemo = (args) => {
159
159
  ? [ChatMockData.suggestedReplies[0]]
160
160
  : ChatMockData.suggestedReplies;
161
161
  return (<SuggestedReplyPicker replies={args.noSuggestedReplies ? [] : renderReplies} onSelect={suggestedReply => {
162
- action(`Suggested reply picked ${suggestedReply.message}`)();
162
+ if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
163
+ action(`Suggested reply picked ${suggestedReply.message}`)();
163
164
  }} collapsed={suggestedRepliesCollapsed} onExpandCollapse={() => {
164
165
  setSuggestedRepliesCollapsed(prev => !prev);
165
- }} currentReplyId={currentReplyId} onReplyChange={setCurrentReplyId} showNotification={args.showNotification} onSend={() => action('Send suggested reply')}/>);
166
+ }} currentReplyId={currentReplyId} onReplyChange={setCurrentReplyId} showNotification={args.showNotification} onSend={() => action('Send suggested reply')} disabled={args.disableButton}/>);
166
167
  };
167
168
  SuggestedReplyPickerDemo.args = {
168
169
  showNotification: false,
169
170
  singleSuggestedReply: false,
170
- noSuggestedReplies: false
171
+ noSuggestedReplies: false,
172
+ disableButton: false
171
173
  };
172
174
  SuggestedReplyPickerDemo.argTypes = {
173
175
  showNotification: { type: 'boolean' },
174
176
  singleSuggestedReply: { type: 'boolean' },
175
- noSuggestedReplies: { type: 'boolean' }
177
+ noSuggestedReplies: { type: 'boolean' },
178
+ disableButton: { type: 'boolean' }
176
179
  };
177
- export const ChatComposerDemo = (args) => (<ChatComposer maxAttachments={args.maxAttachments} attachments={ChatMockData.defaultAttachments} maxLength={256} placeholder='Type here to send message' onSend={() => { }}>
180
+ export const ChatComposerDemo = (args) => (<ChatComposer maxAttachments={args.maxAttachments} attachments={ChatMockData.defaultAttachments} maxLength={256} placeholder='Type here to send message' onSend={() => { }} onSuggestReplyClick={args.showSuggestReplyButton ? action('Suggest reply clicked') : undefined}>
178
181
  <MenuButton text='Phrases' menu={{ items: [] }}/>
179
182
  <MenuButton text='Page Push' menu={{ items: [] }}/>
180
183
  </ChatComposer>);
181
184
  ChatComposerDemo.args = {
182
- maxAttachments: 2
185
+ maxAttachments: 2,
186
+ showSuggestReplyButton: false
183
187
  };
184
188
  ChatComposerDemo.argTypes = {
185
- maxAttachments: { control: { type: 'number' } }
189
+ maxAttachments: { control: { type: 'number' } },
190
+ showSuggestReplyButton: { control: { type: 'boolean' } }
186
191
  };
187
192
  export const StandardChat = (args) => {
188
193
  const ChatMockDataClone = useMemo(() => {
@@ -301,6 +306,7 @@ export const StandardChat = (args) => {
301
306
  const [contextItems, setContextItems] = useState([]);
302
307
  const [contextLoading, setContextLoading] = useState(false);
303
308
  const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState(false);
309
+ const [disableSuggestReply, setDisableSuggestReply] = useState(false);
304
310
  const onDeleteAttachment = useCallback((name) => {
305
311
  setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));
306
312
  }, [setAttachments]);
@@ -312,6 +318,17 @@ export const StandardChat = (args) => {
312
318
  };
313
319
  }));
314
320
  }, [defaultAttachments]);
321
+ const prevState = usePrevious(chatMessages);
322
+ useEffect(() => {
323
+ if (chatMessages &&
324
+ prevState &&
325
+ chatMessages.filter(({ senderType }) => senderType === 'customer').length >
326
+ prevState.filter(({ senderType }) => senderType === 'customer').length)
327
+ setDisableSuggestReply(false);
328
+ }, [chatMessages]);
329
+ useEffect(() => {
330
+ setDisableSuggestReply(false);
331
+ }, [args.genAIErrorState]);
315
332
  const appendMessage = (message) => {
316
333
  const incrementUnreadMessageCount = conversationRef.current?.isScrolledToLatest();
317
334
  setChatMessages(prevChatMessages => {
@@ -438,6 +455,7 @@ export const StandardChat = (args) => {
438
455
  const [buttonEl, setButtonEl] = useElement(null);
439
456
  const [popoverEl, setPopoverEl] = useElement(null);
440
457
  const [currentReply, setCurrentReply] = useState(suggestedReplies?.[0]?.id || '');
458
+ const [replies, setReplies] = useState(suggestedReplies);
441
459
  useOuterEvent('mousedown', [popoverEl, buttonEl], () => {
442
460
  setIsOpen(false);
443
461
  setSearch('');
@@ -445,11 +463,6 @@ export const StandardChat = (args) => {
445
463
  useEscape(() => {
446
464
  setIsOpen(false);
447
465
  });
448
- const pagePushItemsRender = useMemo(() => {
449
- return pagePushList.map(item => {
450
- return { id: item.id, primary: item.message };
451
- });
452
- }, [pagePushList]);
453
466
  const composerChildren = (<>
454
467
  <Button ref={setButtonEl} onClick={() => setIsOpen(cur => !cur)} variant='secondary' disabled={args.disableChat}>
455
468
  <Flex container={{ alignItems: 'center', gap: 1 }}>
@@ -466,36 +479,15 @@ export const StandardChat = (args) => {
466
479
  setSearch('');
467
480
  }} accent={search ? searchRegex : undefined} focusControlEl={searchEleRef.current || undefined} footer={<SearchInput ref={searchEleRef} onSearchChange={setSearch} value={search} role='searchbox' searchInputAriaLabel='Start typing to search.'/>}/>
468
481
  </Popover>
469
-
470
- <MenuButton text='Page push' disabled={args.disableChat} menu={{
471
- id: menuID,
472
- listId: menuListID,
473
- mode: 'action',
474
- variant: 'flyout',
475
- items: pagePushItemsRender,
476
- role: 'listbox',
477
- onItemClick: id => {
478
- setAnnouncement('Link inserted');
479
- setChatMessages(prevChatMessages => [
480
- ...prevChatMessages,
481
- pagePushList.filter(item => item.id === id)[0]
482
- ]);
483
- }
484
- }}/>
485
- <Popover show={mountPopover} target={chatComposerImperativeHandleRef?.current?.textAreaRef?.current} placement='top-start'>
486
- <Menu scrollAt={20} items={itemsToRender} onItemClick={id => {
487
- insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);
488
- setAnnouncement('Phrase inserted');
489
- }} focusControlEl={chatComposerImperativeHandleRef?.current?.textAreaRef?.current}/>
490
- </Popover>
491
482
  </>);
492
483
  const composerProps = {
493
484
  ref: chatComposerImperativeHandleRef,
494
485
  maxAttachments: args.maxAttachments,
495
- attachments,
486
+ attachments: args.showAttachments ? attachments : [],
496
487
  specialKeysConfig,
497
488
  showEmoji: true,
498
489
  disabled: args.disableChat,
490
+ disableSuggestReply,
499
491
  onAddAttachment: () => {
500
492
  setAttachments([
501
493
  ...attachments,
@@ -522,12 +514,71 @@ export const StandardChat = (args) => {
522
514
  timeStamp: '2:08'
523
515
  });
524
516
  },
517
+ onSuggestReplyClick: () => {
518
+ const newReplyId = 'genAI';
519
+ setDisableSuggestReply(true);
520
+ setSuggestedRepliesCollapsed(false);
521
+ setCurrentReply(newReplyId);
522
+ setReplies(prev => {
523
+ return [
524
+ {
525
+ id: newReplyId,
526
+ loading: true,
527
+ type: 'genAIReply'
528
+ },
529
+ ...prev.filter(reply => reply.type !== 'genAIReply')
530
+ ];
531
+ });
532
+ setTimeout(() => {
533
+ if (args.genAIErrorState === 'No suggestions') {
534
+ setReplies(prev => {
535
+ return [
536
+ {
537
+ id: newReplyId,
538
+ message: 'No suggestions',
539
+ errorType: 'noSuggestions',
540
+ type: 'genAIReply'
541
+ },
542
+ ...prev.filter(reply => reply.type !== 'genAIReply')
543
+ ];
544
+ });
545
+ }
546
+ else if (args.genAIErrorState === 'Error') {
547
+ setReplies(prev => {
548
+ return [
549
+ {
550
+ id: newReplyId,
551
+ message: 'Failed to retrieve the data',
552
+ errorType: 'error',
553
+ type: 'genAIReply'
554
+ },
555
+ ...prev.filter(reply => reply.type !== 'genAIReply')
556
+ ];
557
+ });
558
+ setDisableSuggestReply(false);
559
+ }
560
+ else {
561
+ setReplies(prev => {
562
+ return [
563
+ {
564
+ id: newReplyId,
565
+ message: 'Happy to help. Is there anything else I can help with?',
566
+ confidence: 75,
567
+ type: 'genAIReply'
568
+ },
569
+ ...prev.filter(reply => reply.type !== 'genAIReply')
570
+ ];
571
+ });
572
+ }
573
+ }, 1000);
574
+ },
525
575
  children: composerChildren
526
576
  };
527
577
  const suggestedReplyPickerProps = {
528
- replies: suggestedReplies,
578
+ replies,
529
579
  onSelect: (suggestedReply) => {
530
- chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');
580
+ if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
581
+ chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');
531
582
  },
532
583
  collapsed: suggestedRepliesCollapsed,
533
584
  onExpandCollapse: () => {
@@ -601,10 +652,13 @@ StandardChat.args = {
601
652
  placeholder: 'Enter message',
602
653
  defaultMessage: 'Greetings! Hope you are having a great time, Please reach out to us for any help, Thanks!',
603
654
  maxLength: 280,
604
- loading: false
655
+ loading: false,
656
+ showAttachments: true,
657
+ genAIErrorState: 'No error'
605
658
  };
606
659
  StandardChat.argTypes = {
607
660
  maxAttachments: { control: { type: 'number' } },
661
+ showAttachments: { control: { type: 'boolean' } },
608
662
  selectedChannel: { options: ['LiveChat', 'Twitter', 'Facebook'], control: { type: 'select' } },
609
663
  showChatBanner: { control: { type: 'boolean' } },
610
664
  disableChat: { control: { type: 'boolean' } },
@@ -614,7 +668,11 @@ StandardChat.argTypes = {
614
668
  placeholder: { control: { type: 'text' } },
615
669
  defaultMessage: { control: { type: 'text' } },
616
670
  maxLength: { control: { type: 'number' } },
617
- loading: { control: { type: 'boolean' } }
671
+ loading: { control: { type: 'boolean' } },
672
+ genAIErrorState: {
673
+ options: ['No error', 'No suggestions', 'Error'],
674
+ control: { type: 'select' }
675
+ }
618
676
  };
619
677
  StandardChat.parameters = {
620
678
  layout: 'fullscreen'