@pega/cosmos-react-demos 5.0.0-dev.1.0 → 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 (1008) 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 +3 -3
  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/Banner/Banner.mocks.d.ts +1 -1
  26. package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -1
  27. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  28. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  29. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  30. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  31. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  32. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  33. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +39 -11
  34. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  35. package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  36. package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -3
  37. package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
  38. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  39. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +4 -10
  40. package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
  41. package/jsx/core/ColorPicker/ColorPicker.stories.jsx +1 -2
  42. package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
  43. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  44. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  45. package/jsx/core/ComboBox/{ComboBox.mocks.js → ComboBox.mocks.jsx} +5 -1
  46. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
  47. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  48. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  49. package/jsx/core/ComboBox/ComboBox.stories.jsx +15 -13
  50. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  51. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +2 -2
  52. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  53. package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -1
  54. package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  55. package/jsx/core/CompositeInput/CompositeInput.stories.jsx +1 -3
  56. package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
  57. package/jsx/core/Configuration/Configuration.mocks.d.ts +1 -1
  58. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -1
  59. package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  60. package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -1
  61. package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
  62. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  63. package/jsx/core/Currency/Currency.stories.jsx +0 -1
  64. package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
  65. package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
  66. package/jsx/core/DateTime/DateTime.stories.jsx +0 -10
  67. package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
  68. package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  69. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +10 -5
  70. package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
  71. package/jsx/core/Dialog/FormDialog.mocks.d.ts +3 -3
  72. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  73. package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -1
  74. package/jsx/core/Dialog/InfoDialog.mocks.d.ts +2 -2
  75. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  76. package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -1
  77. package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  78. package/jsx/core/FieldGroup/FieldGroup.stories.jsx +6 -2
  79. package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
  80. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -4
  81. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  82. package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
  83. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +1 -1
  84. package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
  85. package/jsx/core/File/FileDisplay.stories.jsx +3 -1
  86. package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
  87. package/jsx/core/File/FileInput.stories.d.ts +1 -0
  88. package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
  89. package/jsx/core/File/FileInput.stories.jsx +33 -6
  90. package/jsx/core/File/FileInput.stories.jsx.map +1 -1
  91. package/jsx/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  92. package/jsx/core/File/FileService.mock.d.ts.map +1 -0
  93. package/jsx/core/File/FileService.mock.jsx.map +1 -0
  94. package/jsx/core/File/MockFileInput.d.ts +6 -0
  95. package/jsx/core/File/MockFileInput.d.ts.map +1 -0
  96. package/jsx/core/File/MockFileInput.jsx +24 -0
  97. package/jsx/core/File/MockFileInput.jsx.map +1 -0
  98. package/jsx/core/Form/Form.mocks.d.ts +2 -2
  99. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  100. package/jsx/core/Form/Form.mocks.jsx +64 -14
  101. package/jsx/core/Form/Form.mocks.jsx.map +1 -1
  102. package/jsx/core/Icon/Icon.mocks.d.ts +24 -1
  103. package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -1
  104. package/jsx/core/Icon/Icon.mocks.jsx +23 -0
  105. package/jsx/core/Icon/Icon.mocks.jsx.map +1 -1
  106. package/jsx/core/Icon/Icon.stories.d.ts +11 -1
  107. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  108. package/jsx/core/Icon/Icon.stories.jsx +41 -7
  109. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  110. package/jsx/core/Input/Input.stories.d.ts.map +1 -1
  111. package/jsx/core/Input/Input.stories.jsx +0 -1
  112. package/jsx/core/Input/Input.stories.jsx.map +1 -1
  113. package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
  114. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +5 -5
  115. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  116. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
  117. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  118. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  119. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +27 -4
  120. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  121. package/jsx/core/LiveLog/LiveLog.mocks.d.ts +1 -1
  122. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  123. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -1
  124. package/jsx/core/Location/Location.stories.d.ts.map +1 -1
  125. package/jsx/core/Location/Location.stories.jsx +0 -1
  126. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  127. package/jsx/core/Menu/Menu.mocks.d.ts +1 -1
  128. package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -1
  129. package/jsx/core/Menu/Menu.mocks.js.map +1 -1
  130. package/jsx/core/Modal/Modal.mocks.d.ts +1 -1
  131. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  132. package/jsx/core/Modal/Modal.stories.d.ts +1 -0
  133. package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
  134. package/jsx/core/Modal/Modal.stories.jsx +20 -3
  135. package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
  136. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +7 -7
  137. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  138. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
  139. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  140. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  141. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  142. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  143. package/jsx/core/Number/Number.stories.jsx +6 -2
  144. package/jsx/core/Number/Number.stories.jsx.map +1 -1
  145. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  146. package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  147. package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  148. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  149. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -1
  150. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  151. package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
  152. package/jsx/core/Phone/Phone.stories.jsx +0 -1
  153. package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
  154. package/jsx/core/Popover/Popover.mocks.d.ts +2 -2
  155. package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -1
  156. package/jsx/core/Popover/Popover.mocks.jsx.map +1 -1
  157. package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  158. package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -3
  159. package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
  160. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  161. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +4 -10
  162. package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
  163. package/jsx/core/Select/Select.stories.d.ts.map +1 -1
  164. package/jsx/core/Select/Select.stories.jsx +0 -1
  165. package/jsx/core/Select/Select.stories.jsx.map +1 -1
  166. package/jsx/core/Slider/Slider.stories.d.ts +1 -0
  167. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  168. package/jsx/core/Slider/Slider.stories.jsx +24 -4
  169. package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
  170. package/jsx/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  171. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  172. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
  173. package/jsx/core/Table/Table.mocks.d.ts +1 -1
  174. package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
  175. package/jsx/core/TextArea/TextArea.stories.jsx +0 -1
  176. package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
  177. package/jsx/core/Tree/Tree.mocks.js.map +1 -1
  178. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +3 -3
  179. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  180. package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -1
  181. package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -1
  182. package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  183. package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
  184. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +2 -2
  185. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  186. package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -1
  187. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +3 -3
  188. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  189. package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -1
  190. package/jsx/dnd/StandardDragDropList/Popover.d.ts +3 -3
  191. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  192. package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -1
  193. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +4 -4
  194. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  195. package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -1
  196. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  197. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  198. package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
  199. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  200. package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  201. package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -1
  202. package/jsx/rte/Editor/Editor.mocks.d.ts +7 -1
  203. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  204. package/jsx/rte/Editor/Editor.mocks.jsx +0 -1
  205. package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -1
  206. package/jsx/rte/Editor/Editor.stories.d.ts +5 -1
  207. package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
  208. package/jsx/rte/Editor/Editor.stories.jsx +54 -9
  209. package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
  210. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  211. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  212. package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
  213. package/jsx/social/Chat/Chat.mocks.d.ts +5 -17
  214. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  215. package/jsx/social/Chat/Chat.mocks.js +1 -21
  216. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  217. package/jsx/social/Chat/Chat.stories.d.ts +4 -0
  218. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  219. package/jsx/social/Chat/Chat.stories.jsx +100 -42
  220. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  221. package/jsx/social/Email/Email.mocks.d.ts +6 -6
  222. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  223. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  224. package/jsx/social/Email/Email.stories.d.ts +4 -0
  225. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  226. package/jsx/social/Email/Email.stories.jsx +48 -21
  227. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  228. package/jsx/social/Feed/Feed.mocks.d.ts +6 -6
  229. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  230. package/jsx/social/Feed/Feed.mocks.jsx +24 -0
  231. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  232. package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
  233. package/jsx/social/Feed/Feed.stories.jsx +70 -16
  234. package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
  235. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +2 -2
  236. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  237. package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -1
  238. package/jsx/social/Feed/FeedPost.mocks.d.ts +1 -1
  239. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  240. package/jsx/social/Feed/FeedPost.mocks.jsx +32 -17
  241. package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -1
  242. package/jsx/social/Feed/FeedReply.mocks.d.ts +1 -1
  243. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  244. package/jsx/social/Feed/FeedReply.mocks.jsx +24 -17
  245. package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -1
  246. package/jsx/work/Article/Article.mocks.d.ts +4 -0
  247. package/jsx/work/Article/Article.mocks.d.ts.map +1 -1
  248. package/jsx/work/Article/Article.mocks.js +7 -3
  249. package/jsx/work/Article/Article.mocks.js.map +1 -1
  250. package/jsx/work/Article/Article.stories.d.ts +1 -0
  251. package/jsx/work/Article/Article.stories.d.ts.map +1 -1
  252. package/jsx/work/Article/Article.stories.jsx +77 -34
  253. package/jsx/work/Article/Article.stories.jsx.map +1 -1
  254. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  255. package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  256. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +62 -0
  257. package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +1 -0
  258. package/jsx/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  259. package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  260. package/jsx/work/ArticleList/ArticleList.mocks.js +164 -78
  261. package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -1
  262. package/jsx/work/ArticleList/ArticleList.stories.d.ts +1 -0
  263. package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  264. package/jsx/work/ArticleList/ArticleList.stories.jsx +219 -32
  265. package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -1
  266. package/jsx/work/CaseView/Attachments.mocks.d.ts +1 -1
  267. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  268. package/jsx/work/CaseView/Attachments.mocks.jsx +1 -1
  269. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  270. package/jsx/work/CaseView/CaseView.mocks.d.ts +25 -15
  271. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  272. package/jsx/work/CaseView/CaseView.mocks.jsx +69 -14
  273. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  274. package/jsx/work/CaseView/CaseView.stories.d.ts +1 -1
  275. package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
  276. package/jsx/work/CaseView/CaseView.stories.jsx +0 -9
  277. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  278. package/jsx/work/CaseView/Details.mocks.d.ts +1 -1
  279. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
  280. package/jsx/work/CaseView/Pulse.mocks.d.ts +2 -2
  281. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  282. package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
  283. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +6 -6
  284. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -1
  285. package/jsx/work/Details/Details.stories.d.ts +2 -0
  286. package/jsx/work/Details/Details.stories.d.ts.map +1 -1
  287. package/jsx/work/Details/Details.stories.jsx +29 -5
  288. package/jsx/work/Details/Details.stories.jsx.map +1 -1
  289. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  290. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  291. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +2 -252
  292. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  293. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  294. package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  295. package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.jsx +6 -4
  296. package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
  297. package/jsx/work/Predictions/Predictions.mocks.d.ts +1 -1
  298. package/jsx/work/Predictions/Predictions.mocks.d.ts.map +1 -1
  299. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  300. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  301. package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
  302. package/jsx/work/Stages/Stages.mocks.d.ts +1 -1
  303. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +3 -3
  304. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  305. package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
  306. package/jsx/work/Timeline/Timeline.mocks.d.ts +1 -1
  307. package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  308. package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
  309. package/jsx/wss/AppShell/AppShell.mocks.d.ts +3 -3
  310. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
  311. package/jsx/wss/CaseView/CaseView.mocks.d.ts +1 -1
  312. package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  313. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +4 -11
  314. package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  315. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  316. package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  317. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +11 -20
  318. package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
  319. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
  320. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
  321. package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
  322. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
  323. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  324. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  325. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
  326. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
  327. package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
  328. package/lib/core/AIButton/AIButton.mocks.d.ts +1 -1
  329. package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -1
  330. package/lib/core/AIButton/AIButton.mocks.js.map +1 -1
  331. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
  332. package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
  333. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +1 -1
  334. package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
  335. package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
  336. package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  337. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  338. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  339. package/lib/core/Avatar/Avatar.stories.js +1 -2
  340. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  341. package/lib/core/Badges/Status.stories.js +2 -2
  342. package/lib/core/Badges/Status.stories.js.map +1 -1
  343. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  344. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  345. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  346. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  347. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
  348. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  349. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +39 -11
  350. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  351. package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
  352. package/lib/core/Checkbox/Checkbox.stories.js +0 -3
  353. package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
  354. package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  355. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +4 -10
  356. package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
  357. package/lib/core/ColorPicker/ColorPicker.stories.js +1 -2
  358. package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
  359. package/lib/core/ComboBox/ComboBox.mocks.d.ts +3 -1
  360. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  361. package/lib/core/ComboBox/ComboBox.mocks.js +3 -0
  362. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -1
  363. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  364. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  365. package/lib/core/ComboBox/ComboBox.stories.js +15 -13
  366. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  367. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  368. package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  369. package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -1
  370. package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
  371. package/lib/core/CompositeInput/CompositeInput.stories.js +1 -3
  372. package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
  373. package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
  374. package/lib/core/CreditCard/CreditCard.stories.js +0 -1
  375. package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
  376. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  377. package/lib/core/Currency/Currency.stories.js +0 -1
  378. package/lib/core/Currency/Currency.stories.js.map +1 -1
  379. package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
  380. package/lib/core/DateTime/DateTime.stories.js +0 -10
  381. package/lib/core/DateTime/DateTime.stories.js.map +1 -1
  382. package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
  383. package/lib/core/DateTime/DateTimeDisplay.stories.js +10 -5
  384. package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
  385. package/lib/core/Dialog/FormDialog.mocks.d.ts +1 -1
  386. package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  387. package/lib/core/Dialog/FormDialog.mocks.js.map +1 -1
  388. package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  389. package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -1
  390. package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
  391. package/lib/core/FieldGroup/FieldGroup.stories.js +6 -2
  392. package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
  393. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  394. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  395. package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
  396. package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
  397. package/lib/core/File/FileDisplay.stories.js +3 -1
  398. package/lib/core/File/FileDisplay.stories.js.map +1 -1
  399. package/lib/core/File/FileInput.stories.d.ts +1 -0
  400. package/lib/core/File/FileInput.stories.d.ts.map +1 -1
  401. package/lib/core/File/FileInput.stories.js +20 -7
  402. package/lib/core/File/FileInput.stories.js.map +1 -1
  403. package/lib/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
  404. package/lib/core/File/FileService.mock.d.ts.map +1 -0
  405. package/lib/core/File/FileService.mock.js.map +1 -0
  406. package/lib/core/File/MockFileInput.d.ts +6 -0
  407. package/lib/core/File/MockFileInput.d.ts.map +1 -0
  408. package/lib/core/File/MockFileInput.js +25 -0
  409. package/lib/core/File/MockFileInput.js.map +1 -0
  410. package/lib/core/Form/Form.mocks.d.ts.map +1 -1
  411. package/lib/core/Form/Form.mocks.js +48 -3
  412. package/lib/core/Form/Form.mocks.js.map +1 -1
  413. package/lib/core/Icon/Icon.mocks.d.ts +24 -1
  414. package/lib/core/Icon/Icon.mocks.d.ts.map +1 -1
  415. package/lib/core/Icon/Icon.mocks.js +23 -0
  416. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  417. package/lib/core/Icon/Icon.stories.d.ts +11 -1
  418. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  419. package/lib/core/Icon/Icon.stories.js +41 -7
  420. package/lib/core/Icon/Icon.stories.js.map +1 -1
  421. package/lib/core/Input/Input.stories.d.ts.map +1 -1
  422. package/lib/core/Input/Input.stories.js +0 -1
  423. package/lib/core/Input/Input.stories.js.map +1 -1
  424. package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
  425. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
  426. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  427. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
  428. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
  429. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  430. package/lib/core/ListToolbar/ListToolbar.stories.js +14 -5
  431. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  432. package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  433. package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -1
  434. package/lib/core/Location/Location.stories.d.ts.map +1 -1
  435. package/lib/core/Location/Location.stories.js +0 -1
  436. package/lib/core/Location/Location.stories.js.map +1 -1
  437. package/lib/core/Menu/Menu.mocks.d.ts +1 -1
  438. package/lib/core/Menu/Menu.mocks.d.ts.map +1 -1
  439. package/lib/core/Menu/Menu.mocks.js.map +1 -1
  440. package/lib/core/Modal/Modal.stories.d.ts +1 -0
  441. package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
  442. package/lib/core/Modal/Modal.stories.js +14 -3
  443. package/lib/core/Modal/Modal.stories.js.map +1 -1
  444. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
  445. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  446. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
  447. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
  448. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  449. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  450. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  451. package/lib/core/Number/Number.stories.js +6 -2
  452. package/lib/core/Number/Number.stories.js.map +1 -1
  453. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
  454. package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  455. package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
  456. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  457. package/lib/core/PageTemplates/PageTemplates.stories.js +1 -1
  458. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  459. package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
  460. package/lib/core/Phone/Phone.stories.js +0 -1
  461. package/lib/core/Phone/Phone.stories.js.map +1 -1
  462. package/lib/core/Popover/Popover.mocks.d.ts +1 -1
  463. package/lib/core/Popover/Popover.mocks.d.ts.map +1 -1
  464. package/lib/core/Popover/Popover.mocks.js.map +1 -1
  465. package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
  466. package/lib/core/RadioButton/RadioButton.stories.js +0 -3
  467. package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
  468. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
  469. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +4 -10
  470. package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
  471. package/lib/core/Select/Select.stories.d.ts.map +1 -1
  472. package/lib/core/Select/Select.stories.js +0 -1
  473. package/lib/core/Select/Select.stories.js.map +1 -1
  474. package/lib/core/Slider/Slider.stories.d.ts +1 -0
  475. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  476. package/lib/core/Slider/Slider.stories.js +11 -5
  477. package/lib/core/Slider/Slider.stories.js.map +1 -1
  478. package/lib/core/SummaryList/SummaryList.mocks.d.ts +2 -2
  479. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  480. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  481. package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
  482. package/lib/core/TextArea/TextArea.stories.js +0 -1
  483. package/lib/core/TextArea/TextArea.stories.js.map +1 -1
  484. package/lib/core/Tree/Tree.mocks.js.map +1 -1
  485. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
  486. package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  487. package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -1
  488. package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -1
  489. package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
  490. package/lib/dnd/StandardDragDropList/Demo.js.map +1 -1
  491. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  492. package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  493. package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -1
  494. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
  495. package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  496. package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -1
  497. package/lib/dnd/StandardDragDropList/Popover.d.ts +2 -2
  498. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  499. package/lib/dnd/StandardDragDropList/Popover.js.map +1 -1
  500. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
  501. package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  502. package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -1
  503. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
  504. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
  505. package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
  506. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
  507. package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
  508. package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -1
  509. package/lib/rte/Editor/Editor.mocks.d.ts +7 -1
  510. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  511. package/lib/rte/Editor/Editor.mocks.js +0 -1
  512. package/lib/rte/Editor/Editor.mocks.js.map +1 -1
  513. package/lib/rte/Editor/Editor.stories.d.ts +5 -1
  514. package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
  515. package/lib/rte/Editor/Editor.stories.js +40 -9
  516. package/lib/rte/Editor/Editor.stories.js.map +1 -1
  517. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
  518. package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
  519. package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
  520. package/lib/social/Chat/Chat.mocks.d.ts +5 -17
  521. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  522. package/lib/social/Chat/Chat.mocks.js +1 -21
  523. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  524. package/lib/social/Chat/Chat.stories.d.ts +4 -0
  525. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  526. package/lib/social/Chat/Chat.stories.js +101 -38
  527. package/lib/social/Chat/Chat.stories.js.map +1 -1
  528. package/lib/social/Email/Email.mocks.d.ts +5 -5
  529. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  530. package/lib/social/Email/Email.mocks.js.map +1 -1
  531. package/lib/social/Email/Email.stories.d.ts +4 -0
  532. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  533. package/lib/social/Email/Email.stories.js +48 -26
  534. package/lib/social/Email/Email.stories.js.map +1 -1
  535. package/lib/social/Feed/Feed.mocks.d.ts +4 -4
  536. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  537. package/lib/social/Feed/Feed.mocks.js +24 -0
  538. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  539. package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
  540. package/lib/social/Feed/Feed.stories.js +70 -16
  541. package/lib/social/Feed/Feed.stories.js.map +1 -1
  542. package/lib/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  543. package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  544. package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -1
  545. package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  546. package/lib/social/Feed/FeedPost.mocks.js +32 -17
  547. package/lib/social/Feed/FeedPost.mocks.js.map +1 -1
  548. package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  549. package/lib/social/Feed/FeedReply.mocks.js +23 -16
  550. package/lib/social/Feed/FeedReply.mocks.js.map +1 -1
  551. package/lib/work/Article/Article.mocks.d.ts +4 -0
  552. package/lib/work/Article/Article.mocks.d.ts.map +1 -1
  553. package/lib/work/Article/Article.mocks.js +7 -3
  554. package/lib/work/Article/Article.mocks.js.map +1 -1
  555. package/lib/work/Article/Article.stories.d.ts +1 -0
  556. package/lib/work/Article/Article.stories.d.ts.map +1 -1
  557. package/lib/work/Article/Article.stories.js +78 -34
  558. package/lib/work/Article/Article.stories.js.map +1 -1
  559. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
  560. package/lib/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
  561. package/lib/work/ArticleList/ArticleBuddy.stories.js +63 -0
  562. package/lib/work/ArticleList/ArticleBuddy.stories.js.map +1 -0
  563. package/lib/work/ArticleList/ArticleList.mocks.d.ts +39 -20
  564. package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
  565. package/lib/work/ArticleList/ArticleList.mocks.js +164 -78
  566. package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -1
  567. package/lib/work/ArticleList/ArticleList.stories.d.ts +1 -0
  568. package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
  569. package/lib/work/ArticleList/ArticleList.stories.js +219 -32
  570. package/lib/work/ArticleList/ArticleList.stories.js.map +1 -1
  571. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  572. package/lib/work/CaseView/Attachments.mocks.js +1 -1
  573. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  574. package/lib/work/CaseView/CaseView.mocks.d.ts +16 -6
  575. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  576. package/lib/work/CaseView/CaseView.mocks.js +67 -14
  577. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  578. package/lib/work/CaseView/CaseView.stories.d.ts +1 -1
  579. package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
  580. package/lib/work/CaseView/CaseView.stories.js +0 -11
  581. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  582. package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
  583. package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  584. package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
  585. package/lib/work/Details/Details.stories.d.ts +2 -0
  586. package/lib/work/Details/Details.stories.d.ts.map +1 -1
  587. package/lib/work/Details/Details.stories.js +13 -5
  588. package/lib/work/Details/Details.stories.js.map +1 -1
  589. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  590. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  591. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +3 -235
  592. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  593. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
  594. package/lib/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
  595. package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.js +6 -4
  596. package/lib/work/InteractionNotification/InteractionNotification.stories.js.map +1 -0
  597. package/lib/work/SearchResults/SearchResults.mocks.d.ts +3 -3
  598. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  599. package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
  600. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
  601. package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  602. package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
  603. package/lib/work/Timeline/Timeline.mocks.d.ts +1 -1
  604. package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
  605. package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
  606. package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  607. package/lib/wss/PageTemplates/PageTemplates.stories.js +4 -3
  608. package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
  609. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
  610. package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
  611. package/lib/wss/QuickCreate/QuickCreate.stories.js +11 -18
  612. package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
  613. package/package.json +16 -25
  614. package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -44
  615. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  616. package/jsx/build/AppShell/AppShell.mocks.jsx +0 -419
  617. package/jsx/build/AppShell/AppShell.mocks.jsx.map +0 -1
  618. package/jsx/build/AppShell/AppShell.stories.d.ts +0 -20
  619. package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
  620. package/jsx/build/AppShell/AppShell.stories.jsx +0 -201
  621. package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
  622. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  623. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  624. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -101
  625. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  626. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +0 -11
  627. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  628. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +0 -80
  629. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  630. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  631. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  632. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  633. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  634. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  635. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  636. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +0 -344
  637. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +0 -1
  638. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  639. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  640. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  641. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  642. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  643. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  644. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +0 -559
  645. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +0 -1
  646. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  647. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  648. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -501
  649. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
  650. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  651. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  652. package/jsx/build/FlowModeller/FlowModeller.styles.js +0 -8
  653. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  654. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  655. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  656. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  657. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  658. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  659. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  660. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +0 -44
  661. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +0 -1
  662. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  663. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  664. package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  665. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  666. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  667. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  668. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -873
  669. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
  670. package/jsx/build/LifeCycle/utils.d.ts +0 -123
  671. package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
  672. package/jsx/build/LifeCycle/utils.js +0 -302
  673. package/jsx/build/LifeCycle/utils.js.map +0 -1
  674. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  675. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  676. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  677. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  678. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  679. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  680. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx +0 -38
  681. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +0 -1
  682. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  683. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  684. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +0 -78
  685. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +0 -1
  686. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  687. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  688. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -397
  689. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +0 -1
  690. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  691. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  692. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +0 -258
  693. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +0 -1
  694. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  695. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  696. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  697. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  698. package/jsx/build/PageBanner/PageBanner.stories.d.ts +0 -15
  699. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  700. package/jsx/build/PageBanner/PageBanner.stories.jsx +0 -41
  701. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +0 -1
  702. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  703. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  704. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +0 -24
  705. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +0 -1
  706. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  707. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  708. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -49
  709. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
  710. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  711. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  712. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +0 -144
  713. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +0 -1
  714. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  715. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  716. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -255
  717. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  718. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  719. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  720. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +0 -42
  721. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +0 -1
  722. package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
  723. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  724. package/jsx/build/Workbench/Workbench.mocks.js +0 -67
  725. package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
  726. package/jsx/build/Workbench/Workbench.stories.d.ts +0 -11
  727. package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
  728. package/jsx/build/Workbench/Workbench.stories.jsx +0 -288
  729. package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
  730. package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
  731. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  732. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  733. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +0 -432
  734. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +0 -1
  735. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  736. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  737. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +0 -173
  738. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +0 -1
  739. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  740. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  741. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  742. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  743. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  744. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  745. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -330
  746. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
  747. package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
  748. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  749. package/jsx/cs/DialPad/DialPad.stories.jsx +0 -20
  750. package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
  751. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  752. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  753. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  754. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  755. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  756. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  757. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  758. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  759. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  760. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  761. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  762. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  763. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -87
  764. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
  765. package/jsx/cs/Picker/Picker.stories.d.ts +0 -11
  766. package/jsx/cs/Picker/Picker.stories.d.ts.map +0 -1
  767. package/jsx/cs/Picker/Picker.stories.jsx +0 -64
  768. package/jsx/cs/Picker/Picker.stories.jsx.map +0 -1
  769. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  770. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  771. package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -228
  772. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  773. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  774. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  775. package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -420
  776. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
  777. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  778. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  779. package/jsx/cs/TaskManager/TaskManager.styles.js +0 -9
  780. package/jsx/cs/TaskManager/TaskManager.styles.js.map +0 -1
  781. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  782. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  783. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +0 -81
  784. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +0 -1
  785. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  786. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  787. package/jsx/tools/Clipboard/Clipboard.stories.jsx +0 -67
  788. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +0 -1
  789. package/jsx/tools/DevTools/DevTools.mocks.d.ts +0 -3
  790. package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  791. package/jsx/tools/DevTools/DevTools.mocks.js +0 -3
  792. package/jsx/tools/DevTools/DevTools.mocks.js.map +0 -1
  793. package/jsx/tools/DevTools/DevTools.stories.d.ts +0 -10
  794. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  795. package/jsx/tools/DevTools/DevTools.stories.jsx +0 -33
  796. package/jsx/tools/DevTools/DevTools.stories.jsx.map +0 -1
  797. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  798. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  799. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +0 -80
  800. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +0 -1
  801. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  802. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  803. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +0 -184
  804. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +0 -1
  805. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  806. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  807. package/jsx/tools/PreviewShell/PreviewShell.styles.js +0 -6
  808. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  809. package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
  810. package/jsx/work/CaseView/FileService.mock.jsx.map +0 -1
  811. package/lib/build/AppShell/AppShell.mocks.d.ts +0 -44
  812. package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  813. package/lib/build/AppShell/AppShell.mocks.js +0 -419
  814. package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
  815. package/lib/build/AppShell/AppShell.stories.d.ts +0 -20
  816. package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
  817. package/lib/build/AppShell/AppShell.stories.js +0 -200
  818. package/lib/build/AppShell/AppShell.stories.js.map +0 -1
  819. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  820. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  821. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +0 -85
  822. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
  823. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +0 -14
  824. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  825. package/lib/build/DynamicContentEditor/FieldSelector.js +0 -81
  826. package/lib/build/DynamicContentEditor/FieldSelector.js.map +0 -1
  827. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  828. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  829. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  830. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  831. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  832. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  833. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +0 -339
  834. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +0 -1
  835. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  836. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  837. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  838. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  839. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  840. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  841. package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -536
  842. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  843. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  844. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  845. package/lib/build/FlowModeller/FlowModeller.stories.js +0 -481
  846. package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
  847. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  848. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  849. package/lib/build/FlowModeller/FlowModeller.styles.js +0 -8
  850. package/lib/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  851. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  852. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  853. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  854. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  855. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  856. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  857. package/lib/build/ItemLibrary/LibraryPicker.stories.js +0 -39
  858. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +0 -1
  859. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  860. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  861. package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  862. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  863. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  864. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  865. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -870
  866. package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
  867. package/lib/build/LifeCycle/utils.d.ts +0 -123
  868. package/lib/build/LifeCycle/utils.d.ts.map +0 -1
  869. package/lib/build/LifeCycle/utils.js +0 -302
  870. package/lib/build/LifeCycle/utils.js.map +0 -1
  871. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  872. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  873. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  874. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  875. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  876. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  877. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js +0 -39
  878. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +0 -1
  879. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  880. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  881. package/lib/build/ObjectPreview/ObjectPreview.mocks.js +0 -74
  882. package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +0 -1
  883. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  884. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  885. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -370
  886. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +0 -1
  887. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  888. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  889. package/lib/build/ObjectSelect/ObjectSelect.stories.js +0 -240
  890. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +0 -1
  891. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  892. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  893. package/lib/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  894. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  895. package/lib/build/PageBanner/PageBanner.stories.d.ts +0 -15
  896. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  897. package/lib/build/PageBanner/PageBanner.stories.js +0 -42
  898. package/lib/build/PageBanner/PageBanner.stories.js.map +0 -1
  899. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  900. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  901. package/lib/build/PageTemplates/GalleryPage.mocks.js +0 -25
  902. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +0 -1
  903. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  904. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  905. package/lib/build/PageTemplates/GalleryPage.stories.js +0 -50
  906. package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
  907. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  908. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  909. package/lib/build/PageTemplates/PageTemplates.mocks.js +0 -107
  910. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +0 -1
  911. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  912. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  913. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -246
  914. package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
  915. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  916. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  917. package/lib/build/PageTemplates/ShowcasePage.stories.js +0 -43
  918. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +0 -1
  919. package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
  920. package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  921. package/lib/build/Workbench/Workbench.mocks.js +0 -67
  922. package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
  923. package/lib/build/Workbench/Workbench.stories.d.ts +0 -11
  924. package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
  925. package/lib/build/Workbench/Workbench.stories.js +0 -273
  926. package/lib/build/Workbench/Workbench.stories.js.map +0 -1
  927. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  928. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  929. package/lib/cs/CSAppShell/CSAppShell.mocks.js +0 -385
  930. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +0 -1
  931. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  932. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  933. package/lib/cs/CSAppShell/CSAppShell.stories.js +0 -172
  934. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +0 -1
  935. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  936. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  937. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  938. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  939. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  940. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  941. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -331
  942. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
  943. package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
  944. package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  945. package/lib/cs/DialPad/DialPad.stories.js +0 -19
  946. package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
  947. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  948. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  949. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  950. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  951. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  952. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
  953. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  954. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  955. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  956. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  957. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  958. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  959. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -88
  960. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
  961. package/lib/cs/Picker/Picker.stories.d.ts +0 -11
  962. package/lib/cs/Picker/Picker.stories.d.ts.map +0 -1
  963. package/lib/cs/Picker/Picker.stories.js +0 -56
  964. package/lib/cs/Picker/Picker.stories.js.map +0 -1
  965. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  966. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  967. package/lib/cs/TaskManager/TaskManager.mocks.js +0 -228
  968. package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  969. package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  970. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  971. package/lib/cs/TaskManager/TaskManager.stories.js +0 -396
  972. package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
  973. package/lib/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  974. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  975. package/lib/cs/TaskManager/TaskManager.styles.js +0 -9
  976. package/lib/cs/TaskManager/TaskManager.styles.js.map +0 -1
  977. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  978. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  979. package/lib/tools/Clipboard/Clipboard.mocks.js +0 -74
  980. package/lib/tools/Clipboard/Clipboard.mocks.js.map +0 -1
  981. package/lib/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  982. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  983. package/lib/tools/Clipboard/Clipboard.stories.js +0 -74
  984. package/lib/tools/Clipboard/Clipboard.stories.js.map +0 -1
  985. package/lib/tools/DevTools/DevTools.mocks.d.ts +0 -3
  986. package/lib/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  987. package/lib/tools/DevTools/DevTools.mocks.js +0 -3
  988. package/lib/tools/DevTools/DevTools.mocks.js.map +0 -1
  989. package/lib/tools/DevTools/DevTools.stories.d.ts +0 -10
  990. package/lib/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  991. package/lib/tools/DevTools/DevTools.stories.js +0 -29
  992. package/lib/tools/DevTools/DevTools.stories.js.map +0 -1
  993. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  994. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  995. package/lib/tools/PreviewShell/PreviewShell.mocks.js +0 -77
  996. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +0 -1
  997. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  998. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  999. package/lib/tools/PreviewShell/PreviewShell.stories.js +0 -181
  1000. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +0 -1
  1001. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  1002. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  1003. package/lib/tools/PreviewShell/PreviewShell.styles.js +0 -6
  1004. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  1005. package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
  1006. package/lib/work/CaseView/FileService.mock.js.map +0 -1
  1007. /package/jsx/{work/CaseView → core/File}/FileService.mock.jsx +0 -0
  1008. /package/lib/{work/CaseView → core/File}/FileService.mock.js +0 -0
@@ -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,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;QACf,UAAU,EAAE;YACV,IAAI,EAAE,gBAAgB;SACvB;QACD,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,qDAAqD;KAC/D;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,wBAAwB;KAClC;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,mBAAmB;KAC7B;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,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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, 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;QACf,UAAU,EAAE;YACV,IAAI,EAAE,gBAAgB;SACvB;QACD,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,qDAAqD;KAC/D;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,wBAAwB;KAClC;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,mBAAmB;KAC7B;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,iEAAiE;QAC1E,SAAS,EAAE,SAAS;KACrB;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,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;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"]}
@@ -35,12 +35,14 @@ interface SuggestedReplyPickerDemoProps {
35
35
  showNotification?: boolean;
36
36
  singleSuggestedReply?: boolean;
37
37
  noSuggestedReplies?: boolean;
38
+ disableButton?: boolean;
38
39
  }
39
40
  export declare const SuggestedReplyPickerDemo: StoryFn<SuggestedReplyPickerDemoProps>;
40
41
  /** *************************** SuggestedReplyPicker component - END ****************** */
41
42
  /** ******************************* ChatComposer component - START ************************ */
42
43
  interface ChatComposerDemoProps {
43
44
  maxAttachments?: number;
45
+ showSuggestReplyButton?: boolean;
44
46
  }
45
47
  export declare const ChatComposerDemo: StoryFn<ChatComposerDemoProps>;
46
48
  /** *********************************** ChatComposer component - END ********************** */
@@ -59,6 +61,8 @@ interface StandardChatProps {
59
61
  maxLength?: number;
60
62
  loading?: boolean;
61
63
  typingIndicator?: boolean;
64
+ showAttachments?: boolean;
65
+ genAIErrorState?: string;
62
66
  }
63
67
  export declare const StandardChat: StoryFn<StandardChatProps>;
64
68
  /** *************************** Standard Chat component - END ************************ */
@@ -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;AAEV,mFAAmF;AACnF,UAAU,mBACR,SAAQ,UAAU,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;CAAG;AAE7E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,mBAAmB,CAiCvD,CAAC;AAeF,mFAAmF;AAEnF,qFAAqF;AAErF,UAAU,gBAAiB,SAAQ,UAAU,CAAC,YAAY,EAAE,UAAU,GAAG,eAAe,CAAC;IACvF,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACvC,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,gBAAgB,CAuEjD,CAAC;AAsCF,oFAAoF;AAEpF,qFAAqF;AACrF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,kBAAkB,CAEzD,CAAC;AAaF,uFAAuF;AAEvF,uFAAuF;AACvF,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;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AAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,6BAA6B,CA4B3E,CAAC;AAeF,0FAA0F;AAE1F,8FAA8F;AAC9F,UAAU,qBAAqB;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,qBAAqB,CAY3D,CAAC;AAWF,8FAA8F;AAE9F,+FAA+F;AAC/F,UAAU,iBAAiB;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAmkBnD,CAAC;AA0CF,yFAAyF"}
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
3
3
  import { action } from '@storybook/addon-actions';
4
- 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';
4
+ 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';
5
5
  import * as arrowMicroDownIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/arrow-micro-down.icon';
6
6
  import * as replyIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply.icon';
7
7
  import * as replyAllIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply-all.icon';
8
8
  import * as forwardIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/forward.icon';
9
- import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator } from '@pega/cosmos-react-social';
10
- import { ChatMockData, phrasesDisplayNames, phrasesMessages, pagePushList, contextItems as contextItemsMock, BotConversation, ClaimsAgentConversation, LiveChatConversation } from './Chat.mocks';
9
+ import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator, isReplyErrorState, isReplyLoadingState } from '@pega/cosmos-react-social';
10
+ import { ChatMockData, phrasesDisplayNames, phrasesMessages, contextItems as contextItemsMock, BotConversation, ClaimsAgentConversation, LiveChatConversation } from './Chat.mocks';
11
11
  registerIcon(forwardIcon, replyIcon, replyAllIcon, arrowMicroDownIcon);
12
12
  export default {
13
13
  title: 'Social/Chat',
@@ -162,27 +162,32 @@ export const SuggestedReplyPickerDemo = (args) => {
162
162
  ? [ChatMockData.suggestedReplies[0]]
163
163
  : ChatMockData.suggestedReplies;
164
164
  return (_jsx(SuggestedReplyPicker, { replies: args.noSuggestedReplies ? [] : renderReplies, onSelect: suggestedReply => {
165
- action(`Suggested reply picked ${suggestedReply.message}`)();
165
+ if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
166
+ action(`Suggested reply picked ${suggestedReply.message}`)();
166
167
  }, collapsed: suggestedRepliesCollapsed, onExpandCollapse: () => {
167
168
  setSuggestedRepliesCollapsed(prev => !prev);
168
- }, currentReplyId: currentReplyId, onReplyChange: setCurrentReplyId, showNotification: args.showNotification, onSend: () => action('Send suggested reply') }));
169
+ }, currentReplyId: currentReplyId, onReplyChange: setCurrentReplyId, showNotification: args.showNotification, onSend: () => action('Send suggested reply'), disabled: args.disableButton }));
169
170
  };
170
171
  SuggestedReplyPickerDemo.args = {
171
172
  showNotification: false,
172
173
  singleSuggestedReply: false,
173
- noSuggestedReplies: false
174
+ noSuggestedReplies: false,
175
+ disableButton: false
174
176
  };
175
177
  SuggestedReplyPickerDemo.argTypes = {
176
178
  showNotification: { type: 'boolean' },
177
179
  singleSuggestedReply: { type: 'boolean' },
178
- noSuggestedReplies: { type: 'boolean' }
180
+ noSuggestedReplies: { type: 'boolean' },
181
+ disableButton: { type: 'boolean' }
179
182
  };
180
- export const ChatComposerDemo = (args) => (_jsxs(ChatComposer, { maxAttachments: args.maxAttachments, attachments: ChatMockData.defaultAttachments, maxLength: 256, placeholder: 'Type here to send message', onSend: () => { }, children: [_jsx(MenuButton, { text: 'Phrases', menu: { items: [] } }), _jsx(MenuButton, { text: 'Page Push', menu: { items: [] } })] }));
183
+ export const ChatComposerDemo = (args) => (_jsxs(ChatComposer, { maxAttachments: args.maxAttachments, attachments: ChatMockData.defaultAttachments, maxLength: 256, placeholder: 'Type here to send message', onSend: () => { }, onSuggestReplyClick: args.showSuggestReplyButton ? action('Suggest reply clicked') : undefined, children: [_jsx(MenuButton, { text: 'Phrases', menu: { items: [] } }), _jsx(MenuButton, { text: 'Page Push', menu: { items: [] } })] }));
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(() => {
@@ -283,6 +288,7 @@ export const StandardChat = (args) => {
283
288
  const [contextItems, setContextItems] = useState([]);
284
289
  const [contextLoading, setContextLoading] = useState(false);
285
290
  const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState(false);
291
+ const [disableSuggestReply, setDisableSuggestReply] = useState(false);
286
292
  const onDeleteAttachment = useCallback((name) => {
287
293
  setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));
288
294
  }, [setAttachments]);
@@ -294,6 +300,17 @@ export const StandardChat = (args) => {
294
300
  };
295
301
  }));
296
302
  }, [defaultAttachments]);
303
+ const prevState = usePrevious(chatMessages);
304
+ useEffect(() => {
305
+ if (chatMessages &&
306
+ prevState &&
307
+ chatMessages.filter(({ senderType }) => senderType === 'customer').length >
308
+ prevState.filter(({ senderType }) => senderType === 'customer').length)
309
+ setDisableSuggestReply(false);
310
+ }, [chatMessages]);
311
+ useEffect(() => {
312
+ setDisableSuggestReply(false);
313
+ }, [args.genAIErrorState]);
297
314
  const appendMessage = (message) => {
298
315
  const incrementUnreadMessageCount = conversationRef.current?.isScrolledToLatest();
299
316
  setChatMessages(prevChatMessages => {
@@ -420,6 +437,7 @@ export const StandardChat = (args) => {
420
437
  const [buttonEl, setButtonEl] = useElement(null);
421
438
  const [popoverEl, setPopoverEl] = useElement(null);
422
439
  const [currentReply, setCurrentReply] = useState(suggestedReplies?.[0]?.id || '');
440
+ const [replies, setReplies] = useState(suggestedReplies);
423
441
  useOuterEvent('mousedown', [popoverEl, buttonEl], () => {
424
442
  setIsOpen(false);
425
443
  setSearch('');
@@ -427,41 +445,20 @@ export const StandardChat = (args) => {
427
445
  useEscape(() => {
428
446
  setIsOpen(false);
429
447
  });
430
- const pagePushItemsRender = useMemo(() => {
431
- return pagePushList.map(item => {
432
- return { id: item.id, primary: item.message };
433
- });
434
- }, [pagePushList]);
435
448
  const composerChildren = (_jsxs(_Fragment, { children: [_jsx(Button, { ref: setButtonEl, onClick: () => setIsOpen(cur => !cur), variant: 'secondary', disabled: args.disableChat, children: _jsxs(Flex, { container: { alignItems: 'center', gap: 1 }, children: [_jsx(Text, { children: "Phrases" }), _jsx(Icon, { name: 'arrow-micro-down' })] }) }), _jsx(Popover, { show: isOpen, ref: setPopoverEl, target: buttonEl, children: _jsx(Menu, { id: menuID, listId: menuListID, mode: 'action', variant: 'flyout', items: itemsToRender, role: 'listbox', onItemClick: id => {
436
449
  insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);
437
450
  setAnnouncement('Phrase inserted');
438
451
  setIsOpen(false);
439
452
  setSearch('');
440
- }, accent: search ? searchRegex : undefined, focusControlEl: searchEleRef.current || undefined, footer: _jsx(SearchInput, { ref: searchEleRef, onSearchChange: setSearch, value: search, role: 'searchbox', searchInputAriaLabel: 'Start typing to search.' }) }) }), _jsx(MenuButton, { text: 'Page push', disabled: args.disableChat, menu: {
441
- id: menuID,
442
- listId: menuListID,
443
- mode: 'action',
444
- variant: 'flyout',
445
- items: pagePushItemsRender,
446
- role: 'listbox',
447
- onItemClick: id => {
448
- setAnnouncement('Link inserted');
449
- setChatMessages(prevChatMessages => [
450
- ...prevChatMessages,
451
- pagePushList.filter(item => item.id === id)[0]
452
- ]);
453
- }
454
- } }), _jsx(Popover, { show: mountPopover, target: chatComposerImperativeHandleRef?.current?.textAreaRef?.current, placement: 'top-start', children: _jsx(Menu, { scrollAt: 20, items: itemsToRender, onItemClick: id => {
455
- insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);
456
- setAnnouncement('Phrase inserted');
457
- }, focusControlEl: chatComposerImperativeHandleRef?.current?.textAreaRef?.current }) })] }));
453
+ }, accent: search ? searchRegex : undefined, focusControlEl: searchEleRef.current || undefined, footer: _jsx(SearchInput, { ref: searchEleRef, onSearchChange: setSearch, value: search, role: 'searchbox', searchInputAriaLabel: 'Start typing to search.' }) }) })] }));
458
454
  const composerProps = {
459
455
  ref: chatComposerImperativeHandleRef,
460
456
  maxAttachments: args.maxAttachments,
461
- attachments,
457
+ attachments: args.showAttachments ? attachments : [],
462
458
  specialKeysConfig,
463
459
  showEmoji: true,
464
460
  disabled: args.disableChat,
461
+ disableSuggestReply,
465
462
  onAddAttachment: () => {
466
463
  setAttachments([
467
464
  ...attachments,
@@ -488,12 +485,71 @@ export const StandardChat = (args) => {
488
485
  timeStamp: '2:08'
489
486
  });
490
487
  },
488
+ onSuggestReplyClick: () => {
489
+ const newReplyId = 'genAI';
490
+ setDisableSuggestReply(true);
491
+ setSuggestedRepliesCollapsed(false);
492
+ setCurrentReply(newReplyId);
493
+ setReplies(prev => {
494
+ return [
495
+ {
496
+ id: newReplyId,
497
+ loading: true,
498
+ type: 'genAIReply'
499
+ },
500
+ ...prev.filter(reply => reply.type !== 'genAIReply')
501
+ ];
502
+ });
503
+ setTimeout(() => {
504
+ if (args.genAIErrorState === 'No suggestions') {
505
+ setReplies(prev => {
506
+ return [
507
+ {
508
+ id: newReplyId,
509
+ message: 'No suggestions',
510
+ errorType: 'noSuggestions',
511
+ type: 'genAIReply'
512
+ },
513
+ ...prev.filter(reply => reply.type !== 'genAIReply')
514
+ ];
515
+ });
516
+ }
517
+ else if (args.genAIErrorState === 'Error') {
518
+ setReplies(prev => {
519
+ return [
520
+ {
521
+ id: newReplyId,
522
+ message: 'Failed to retrieve the data',
523
+ errorType: 'error',
524
+ type: 'genAIReply'
525
+ },
526
+ ...prev.filter(reply => reply.type !== 'genAIReply')
527
+ ];
528
+ });
529
+ setDisableSuggestReply(false);
530
+ }
531
+ else {
532
+ setReplies(prev => {
533
+ return [
534
+ {
535
+ id: newReplyId,
536
+ message: 'Happy to help. Is there anything else I can help with?',
537
+ confidence: 75,
538
+ type: 'genAIReply'
539
+ },
540
+ ...prev.filter(reply => reply.type !== 'genAIReply')
541
+ ];
542
+ });
543
+ }
544
+ }, 1000);
545
+ },
491
546
  children: composerChildren
492
547
  };
493
548
  const suggestedReplyPickerProps = {
494
- replies: suggestedReplies,
549
+ replies,
495
550
  onSelect: (suggestedReply) => {
496
- chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');
551
+ if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
552
+ chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');
497
553
  },
498
554
  collapsed: suggestedRepliesCollapsed,
499
555
  onExpandCollapse: () => {
@@ -562,10 +618,13 @@ StandardChat.args = {
562
618
  placeholder: 'Enter message',
563
619
  defaultMessage: 'Greetings! Hope you are having a great time, Please reach out to us for any help, Thanks!',
564
620
  maxLength: 280,
565
- loading: false
621
+ loading: false,
622
+ showAttachments: true,
623
+ genAIErrorState: 'No error'
566
624
  };
567
625
  StandardChat.argTypes = {
568
626
  maxAttachments: { control: { type: 'number' } },
627
+ showAttachments: { control: { type: 'boolean' } },
569
628
  selectedChannel: { options: ['LiveChat', 'Twitter', 'Facebook'], control: { type: 'select' } },
570
629
  showChatBanner: { control: { type: 'boolean' } },
571
630
  disableChat: { control: { type: 'boolean' } },
@@ -575,7 +634,11 @@ StandardChat.argTypes = {
575
634
  placeholder: { control: { type: 'text' } },
576
635
  defaultMessage: { control: { type: 'text' } },
577
636
  maxLength: { control: { type: 'number' } },
578
- loading: { control: { type: 'boolean' } }
637
+ loading: { control: { type: 'boolean' } },
638
+ genAIErrorState: {
639
+ options: ['No error', 'No suggestions', 'Error'],
640
+ control: { type: 'select' }
641
+ }
579
642
  };
580
643
  StandardChat.parameters = {
581
644
  layout: 'fullscreen'