@pega/cosmos-react-demos 4.0.0-dev.10.0 → 4.0.0-dev.11.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 (97) hide show
  1. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  2. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -2
  3. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -1
  4. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  5. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -2
  6. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  7. package/jsx/core/DateTime/DateTimePicker.stories.jsx +1 -1
  8. package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -1
  9. package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  10. package/jsx/core/SummaryList/SummaryList.mocks.jsx +3 -1
  11. package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
  12. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +1 -1
  13. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +1 -1
  14. package/jsx/social/Chat/Chat.mocks.d.ts +14 -392
  15. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  16. package/jsx/social/Chat/Chat.mocks.js +518 -583
  17. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  18. package/jsx/social/Chat/Chat.stories.d.ts +13 -17
  19. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  20. package/jsx/social/Chat/Chat.stories.jsx +167 -188
  21. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  22. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  23. package/jsx/social/Email/Email.stories.jsx +9 -7
  24. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  25. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -1
  26. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  27. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +1 -4
  28. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +1 -1
  29. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  30. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +3 -6
  31. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -1
  32. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  33. package/jsx/work/CaseView/Attachments.mocks.jsx +1 -0
  34. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  35. package/jsx/work/CaseView/CaseView.mocks.jsx +4 -4
  36. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  37. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  38. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -2
  39. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -1
  40. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  41. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -2
  42. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  43. package/lib/core/DateTime/DateTimePicker.stories.js +1 -1
  44. package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
  45. package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
  46. package/lib/core/SummaryList/SummaryList.mocks.js +3 -1
  47. package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
  48. package/lib/cs/CSAppShell/CSAppShell.stories.js +1 -1
  49. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +1 -1
  50. package/lib/social/Chat/Chat.mocks.d.ts +14 -392
  51. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  52. package/lib/social/Chat/Chat.mocks.js +518 -583
  53. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  54. package/lib/social/Chat/Chat.stories.d.ts +14 -24
  55. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  56. package/lib/social/Chat/Chat.stories.js +177 -173
  57. package/lib/social/Chat/Chat.stories.js.map +1 -1
  58. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  59. package/lib/social/Email/Email.stories.js +9 -7
  60. package/lib/social/Email/Email.stories.js.map +1 -1
  61. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -1
  62. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  63. package/lib/tools/PreviewShell/PreviewShell.mocks.js +1 -2
  64. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +1 -1
  65. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  66. package/lib/tools/PreviewShell/PreviewShell.stories.js +4 -5
  67. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -1
  68. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  69. package/lib/work/CaseView/Attachments.mocks.js +1 -0
  70. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  71. package/lib/work/CaseView/CaseView.mocks.js +4 -4
  72. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  73. package/package.json +9 -9
  74. package/jsx/social/Chat/RepeatingView.mocks.d.ts +0 -14
  75. package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +0 -1
  76. package/jsx/social/Chat/RepeatingView.mocks.js +0 -11
  77. package/jsx/social/Chat/RepeatingView.mocks.js.map +0 -1
  78. package/jsx/social/Chat/RepeatingView.stories.d.ts +0 -9
  79. package/jsx/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  80. package/jsx/social/Chat/RepeatingView.stories.jsx +0 -60
  81. package/jsx/social/Chat/RepeatingView.stories.jsx.map +0 -1
  82. package/jsx/social/Chat/RepeatingView.styles.d.ts +0 -2
  83. package/jsx/social/Chat/RepeatingView.styles.d.ts.map +0 -1
  84. package/jsx/social/Chat/RepeatingView.styles.js +0 -22
  85. package/jsx/social/Chat/RepeatingView.styles.js.map +0 -1
  86. package/lib/social/Chat/RepeatingView.mocks.d.ts +0 -14
  87. package/lib/social/Chat/RepeatingView.mocks.d.ts.map +0 -1
  88. package/lib/social/Chat/RepeatingView.mocks.js +0 -11
  89. package/lib/social/Chat/RepeatingView.mocks.js.map +0 -1
  90. package/lib/social/Chat/RepeatingView.stories.d.ts +0 -9
  91. package/lib/social/Chat/RepeatingView.stories.d.ts.map +0 -1
  92. package/lib/social/Chat/RepeatingView.stories.js +0 -59
  93. package/lib/social/Chat/RepeatingView.stories.js.map +0 -1
  94. package/lib/social/Chat/RepeatingView.styles.d.ts +0 -2
  95. package/lib/social/Chat/RepeatingView.styles.d.ts.map +0 -1
  96. package/lib/social/Chat/RepeatingView.styles.js +0 -22
  97. package/lib/social/Chat/RepeatingView.styles.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.mocks.js","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,WAAW,EAAE;QACX;YACE,EAAE,EAAE,gBAAgB;YACpB,KAAK,EAAE,KAAK;YACZ,kBAAkB,EAAE,IAAI;YACxB,IAAI,EAAE;gBACJ;oBACE,EAAE,EAAE,YAAY;oBAChB,IAAI,EAAE,YAAY;oBAClB,SAAS,EAAE,UAAU;oBACrB,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,uEAAuE;oBAChF,SAAS,EACP,6FAA6F;iBAChG;gBACD;oBACE,EAAE,EAAE,WAAW;oBACf,IAAI,EAAE,YAAY;oBAClB,SAAS,EAAE,UAAU;oBACrB,OAAO,EAAE,MAAM;oBACf,OAAO,EAAE,gBAAgB;oBACzB,UAAU,EAAE;wBACV,IAAI,EAAE,YAAY;qBACnB;oBACD,cAAc,EAAE;wBACd,OAAO,EAAE,cAAc;qBACxB;oBACD,SAAS,EAAE,6DAA6D;iBACzE;gBACD;oBACE,E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E,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 { FieldValueListItemProps, MenuProps } from '@pega/cosmos-react-core';\n\nexport const ChatMockData = {\n transcripts: [\n {\n id: 'botTranscripts',\n title: 'Bot',\n earlierTranscripts: true,\n data: [\n {\n id: '2499167349',\n type: 'transcript',\n timeStamp: '01:20 PM',\n variant: 'bot',\n message: 'Hello… This is bot. How can I help you? Please select your category. ',\n ariaLabel:\n 'Bot said Hello… This is bot. How can I help you? Please select your category. at 01:20 PM'\n },\n {\n id: '414918079',\n type: 'transcript',\n timeStamp: '01:21 PM',\n variant: 'user',\n message: 'Policy details',\n avatarInfo: {\n name: 'Sara Davis'\n },\n messagePrivacy: {\n privacy: 'PUBLIC TWEET'\n },\n ariaLabel: 'Sara Davis said Policy details at 01:21 PM via Public Tweet'\n },\n {\n id: '4750473261',\n type: 'transcript',\n timeStamp: '01:22 PM',\n variant: 'bot',\n message: 'Please select what would you like to know about your policy. 😃😃',\n ariaLabel:\n 'Bot said Please select what would you like to know about your policy. at 01:22 PM'\n },\n {\n id: '925521127',\n type: 'transcript',\n timeStamp: '01:23 PM',\n variant: 'user',\n message: 'Policy terms and conditions',\n messagePrivacy: {\n privacy: 'PUBLIC TWEET'\n },\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel: 'Sara Davis said Policy terms and conditions at 01:23 PM'\n }\n ]\n },\n {\n id: 'preChatTranscript',\n title: 'Questionnaire',\n earlierTranscripts: false,\n data: [\n {\n id: '1457969897',\n type: 'transcript',\n timeStamp: '01:23 PM',\n variant: 'question',\n message: 'Could you please enter your query',\n ariaLabel: 'Customer was asked for Could you please enter your query at 01:23 PM'\n },\n {\n id: '4633052071',\n type: 'transcript',\n timeStamp: '01:23 PM',\n variant: 'user',\n message: 'I would like to know my policy terms and conditions',\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel:\n 'Sara Davis said I would like to know my policy terms and conditions at 01:23 PM'\n },\n {\n id: '3105885518',\n type: 'transcript',\n timeStamp: '01:23 PM',\n variant: 'question',\n message: 'Could you please select the policy',\n ariaLabel: 'Customer was asked for Could you please select the policy at 01:23 PM'\n },\n {\n id: '3008407298',\n type: 'transcript',\n timeStamp: '01:23 PM',\n variant: 'user',\n message: 'Insurance policy - 5545456668555',\n messagePrivacy: {\n privacy: 'PUBLIC TWEET'\n },\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel:\n 'Sara Davis said Insurance policy - 5545456668555 at 01:23 PM via Public Tweet'\n },\n {\n id: '4700050925',\n type: 'system',\n message: 'Chat escalated to live agent',\n timeStamp: '01:23 PM'\n },\n {\n id: '3608004939',\n type: 'system',\n message: 'Agent Fred joined the chat',\n timeStamp: '01:24 PM'\n }\n ]\n },\n {\n id: 'csrTranscript',\n earlierTranscripts: false,\n title: 'Transcripts: Agent Fred and Jim',\n data: [\n {\n id: '4713954822',\n type: 'transcript',\n timeStamp: '01:24 PM',\n messagePrivacy: {\n privacy: 'PUBLIC TWEET'\n },\n variant: 'user',\n message: 'Hello, Welcome to U-Plus. How can I help you?',\n avatarInfo: {\n name: 'Jim'\n },\n ariaLabel:\n 'Jim said Hello, Welcome to U-Plus. How can I help you? at 01:24 PM via Public Tweet'\n },\n {\n id: '2582654831',\n type: 'transcript',\n timeStamp: '01:25 PM',\n variant: 'user',\n message: 'Hi, I would like to know my policy terms and condition',\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel:\n 'Sara Davis said Hi, I would like to know my policy terms and condition at 01:25 PM'\n },\n {\n id: '4422603601',\n type: 'transcript',\n timeStamp: '01:26 PM',\n messagePrivacy: {\n privacy: 'PUBLIC TWEET'\n },\n variant: 'user',\n message: 'You can refer this article to know more',\n avatarInfo: {\n name: 'Jim'\n },\n ariaLabel:\n 'Jim said You can refer this article to know more at 01:26 PM via Public Tweet'\n },\n {\n id: '973978246',\n type: 'system',\n message: 'Customer opened knowledge article',\n timeStamp: '01:26 PM'\n },\n {\n id: '44764769',\n type: 'transcript',\n timeStamp: '01:26 PM',\n variant: 'user',\n message: 'Also I would like to know my policy validity',\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel: 'Sara Davis said Also I would like to know my policy validity at 01:26 PM'\n },\n {\n id: '1052005901',\n type: 'transcript',\n timeStamp: '01:27 PM',\n variant: 'user',\n message: 'Is that fine if I can transfer your chat to serve better? ',\n avatarInfo: {\n name: 'Jim'\n },\n ariaLabel:\n 'Jim said Is that fine if I can transfer your chat to serve better? at 01:27 PM'\n },\n {\n id: '474082342',\n type: 'transcript',\n timeStamp: '01:27 PM',\n variant: 'user',\n message: 'Yeah Sure',\n avatarInfo: {\n name: 'Sara Davis'\n },\n ariaLabel: 'Sara Davis said Yeah Sure at 01:27 PM'\n },\n {\n id: '2128368768',\n type: 'system',\n message: 'Chat has been transferred',\n timeStamp: '01:27 PM'\n }\n ]\n }\n ],\n participants: {\n transcriptUser1: {\n avatarInfo: {\n name: 'Jim'\n }\n },\n transcriptUser2: {\n avatarInfo: {\n name: 'Fred'\n }\n },\n sender: {\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n }\n },\n sender2: {\n variant: 'sender',\n direction: 'out'\n },\n receiver: {\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n }\n },\n other: {\n variant: 'other',\n direction: 'in',\n avatarInfo: {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n }\n }\n },\n chatMessages: [\n {\n id: '4276065002',\n type: 'system',\n message: 'John brown has joined',\n timeStamp: '01:44 PM'\n },\n {\n id: '88365643',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n timeStamp: '1:44 PM',\n status: 'sent',\n attachments: [\n {\n id: '2499167340',\n name: 'Location',\n icon: 'document',\n meta: 'PNG 0.1 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n },\n {\n id: '2499167341',\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB'\n }\n ],\n ariaLabel:\n 'John Brown said Hi, Welcome to u-plus. How can I help you ? at 1:44 PM with 2 attachments'\n },\n {\n id: '3245595973',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'You may also reach us via',\n timeStamp: '1:45 PM',\n pagePushLinks: [\n {\n id: '2499167349',\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 ariaLabel: 'John Brown said You may also reach us via at 1:45 PM with 1 link'\n },\n {\n id: '3865379335',\n type: 'message',\n variant: 'receiver',\n messagePrivacy: 'PUBLIC TWEET',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'Hi, I would like to know the validity of my policy',\n ariaLabel:\n 'Sara Davis said Hi, I would like to know the validity of my policy via Public Tweet'\n },\n {\n id: '777315059',\n type: 'message',\n variant: 'receiver',\n messagePrivacy: 'PUBLIC TWEET',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'Could you please help',\n timeStamp: '1:45 PM',\n ariaLabel: 'Sara Davis said Could you please help at 1:45 PM via Public Tweet'\n },\n {\n id: '4001121034',\n type: 'system',\n message: 'Pegasystems has joined'\n },\n {\n id: '779591083',\n type: 'message',\n variant: 'other',\n direction: 'in',\n avatarInfo: {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n },\n message: 'Great, our CSR will help you with that',\n timeStamp: '1:46 PM',\n ariaLabel: 'Pegasystems said Great, our CSR will help you with that at 1:46 PM'\n },\n {\n id: '2683629622',\n type: 'message',\n variant: 'sender',\n messagePrivacy: 'PUBLIC REPLY',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Sure',\n timeStamp: '1:48 PM',\n status: 'delivered',\n ariaLabel: 'John Brown said Sure at 1:48 PM via Public Tweet'\n },\n {\n id: '2748689942',\n type: 'message',\n variant: 'other',\n direction: 'in',\n avatarInfo: {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n },\n message: ' Carry on',\n timeStamp: '1:49 PM',\n attachments: [\n {\n id: '2499167343',\n name: 'Departments mapping',\n icon: 'document-doc',\n meta: 'PDF 0.1 MB'\n }\n ],\n ariaLabel: 'Pegasystems said Carry on at 1:49 PM with 1 attachment'\n },\n {\n id: '4110947991',\n type: 'message',\n variant: 'other',\n direction: 'in',\n messagePrivacy: 'PUBLIC REPLY',\n avatarInfo: {\n name: 'Pegasystems',\n imageSrc: 'https://www.pega.com/sites/default/files/media/images/2018-12/Pega.com-og.png'\n },\n message: ' Refer these documents for more FAQ',\n timeStamp: '1:49 PM',\n attachments: [\n {\n id: '2499167345',\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-doc',\n meta: 'PDF 0.7 MB'\n },\n {\n id: '2499167346',\n name: 'Privacy policy',\n icon: 'document-doc',\n meta: 'WORD 0.1 MB'\n }\n ],\n ariaLabel:\n 'Pegasystems said Refer these documents for more FAQ at 1:49 PM with 2 attachments via Public Tweet'\n },\n {\n id: '2549273884',\n type: 'system',\n message: 'Pegasystems has left'\n },\n {\n id: '3375453344',\n type: 'message',\n variant: 'sender',\n messagePrivacy: 'PUBLIC REPLY',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Could you please help me with your account num',\n timeStamp: '1:50 PM',\n attachments: [\n {\n id: '2499167347',\n name: 'Security policy',\n icon: 'document-pdf',\n meta: 'PDF 6.1 MB'\n }\n ],\n ariaLabel:\n 'John Brown said Could you please help me with your account num at 1:50 PM with 1 attachment via Public Tweet'\n },\n {\n id: '1868448522',\n type: 'message',\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'Yeah, sure please give me a second',\n ariaLabel: 'Sara Davis said Yeah, sure please give me a second '\n },\n {\n id: '1295058543',\n type: 'message',\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n timeStamp: '1:50 PM',\n attachments: [\n {\n id: '2499167348',\n name: 'Vehicle insurance',\n icon: 'document-doc',\n meta: 'WORD 1.1 MB'\n }\n ],\n ariaLabel: 'Sara Davis said 5588-8899-45-89 at 1:50 PM with 1 attachment'\n },\n {\n id: '2690247642',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Let me pick your details',\n status: 'delivered',\n ariaLabel: 'John Brown said Let me pick your details '\n },\n {\n id: '1208949065',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Can I please transfer your chat request to concerned department please ?',\n timeStamp: '1:51 PM',\n ariaLabel:\n 'John Brown said Can I please transfer your chat request to concerned department please ? at 1:51 PM'\n },\n {\n id: '4302656892',\n type: 'message',\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'Sure',\n timeStamp: '1:51 PM',\n ariaLabel: 'Sara Davis said Sure at 1:51 PM'\n },\n {\n id: '658052414',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Please give me a moment',\n timeStamp: '1:51 PM',\n ariaLabel: 'John Brown said Please give me a moment at 1:51 PM'\n },\n {\n id: '719933419',\n type: 'system',\n message: 'Mike has joined'\n },\n {\n id: '679831597',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n message:\n 'Hi Sara. This is Mike. John has discussed with me. I will be helping you out with the required details',\n timeStamp: '1:51 PM',\n ariaLabel:\n 'You said Hi Sara. This is Mike. John has discussed with me. I will be helping you out with the required details at 1:51 PM'\n },\n {\n id: '2785439809',\n type: 'system',\n message: 'John brown has left'\n },\n {\n id: '85859690',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n message: 'Ok, your insurance is valid until Dec 21, 2020 11:00 AM',\n timeStamp: '1:52 PM',\n ariaLabel: 'You said Ok, your insurance is valid until Dec 21, 2020 11:00 AM at 1:52 PM'\n },\n {\n id: '2484793043',\n type: 'message',\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'Thanks',\n timeStamp: '1:52 PM',\n ariaLabel: 'Sara Davis said Thanks at 1:52 PM'\n },\n {\n id: '352967030',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n message: 'Is there anything I can help you with',\n timeStamp: '1:52 PM',\n ariaLabel: 'You said Is there anything I can help you with at 1:52 PM'\n },\n {\n id: '3432757116',\n type: 'message',\n variant: 'receiver',\n direction: 'in',\n avatarInfo: {\n name: 'Sara Davis'\n },\n message: 'I am good.😃',\n timeStamp: '1:53 PM',\n ariaLabel: 'Sara Davis said I am good 😃. at 1:53 PM'\n },\n {\n id: '2432461831',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n message: 'Thanks for contacting us, have a great day',\n timeStamp: '1:53 PM',\n ariaLabel: 'You said Thanks for contacting us, have a great day at 1:53 PM',\n status: 'undelivered'\n },\n {\n id: '2965626280',\n type: 'system',\n message: 'Chat has been ended'\n }\n ],\n defaultAttachments: [\n {\n id: '4455774588',\n name: '03/2020 statement.pdf'\n },\n {\n id: '44557745889',\n name: 'Policy T&C.pdf'\n }\n ],\n suggestedReplies: [\n {\n id: 'suggested_reply_1',\n message: 'Hello, Good morning Sara. How can I help you today',\n confidence: 94\n },\n {\n id: 'suggested_reply_2',\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};\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. Sara J Connor 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.Connor. 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: '3245595454',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'You may also reach us via',\n timeStamp: '1:45 PM',\n pagePushLinks: [\n {\n id: '2499167349',\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 ariaLabel: 'John Brown said You may also reach us via at 1:45 PM with 1 link'\n },\n {\n id: '3245596782',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Online Portal',\n timeStamp: '1:45 PM',\n pagePushLinks: [\n {\n id: '2499167349',\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ],\n ariaLabel: 'John Brown said Online portal at 1:45 PM with 1 link'\n },\n {\n id: '3245556754',\n type: 'message',\n variant: 'sender',\n direction: 'out',\n avatarInfo: {\n name: 'John Brown'\n },\n message: 'Contact center',\n timeStamp: '1:45 PM',\n pagePushLinks: [\n {\n id: '2499167349',\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ],\n ariaLabel: 'John Brown said Contact center at 1:45 PM with 1 link'\n }\n];\n\nexport const contextItems: FieldValueListItemProps[] = [\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,EAAsC,MAAM,yBAAyB,CAAC;AAGxF,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,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S,EAAE;gBACf,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,gBAAgB;aACxB;SACF;KACF;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,OAAO;QACnB,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE;YACV,IAAI,EAAE,cAAc;SACrB;QACD,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,SAAS;QACpB,cAAc,EAAE;YACd;gBACE,EAAE,EAAE,SAAS,EAAE;gBACf,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,gBAAgB;aACxB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA8B;IACrD;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, FieldValueListItemProps, 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\nexport const ChatMockData = {\n chatMessages: SimulatedConversation,\n defaultAttachments: [\n {\n id: createUID(),\n name: '03/2020 statement.pdf'\n },\n {\n id: createUID(),\n name: 'Policy T&C.pdf'\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};\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: FieldValueListItemProps[] = [\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,7 +1,6 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import { OmitStrict } from '@pega/cosmos-react-core';
3
- import { ChatHeaderProps, MessageProps, SystemMessageProps, TranscriptMessageProps, MessageListProps } from '@pega/cosmos-react-social';
4
- import { TranscriptHeaderProps } from '@pega/cosmos-react-social/lib/components/Chat/TranscriptMessage';
3
+ import { ChatHeaderProps, MessageProps, SystemMessageProps, MessageHeaderProps } from '@pega/cosmos-react-social';
5
4
  declare const _default: Meta<import("@storybook/react").Args>;
6
5
  export default _default;
7
6
  /** *********************** ChatHeader component - START *********************** */
@@ -9,14 +8,18 @@ interface ChatHeaderDemoProps extends OmitStrict<ChatHeaderProps, 'actions' | 's
9
8
  }
10
9
  export declare const ChatHeaderDemo: Story<ChatHeaderDemoProps>;
11
10
  /** ***************************** ChatHeader component - END ******************* */
12
- /** **************************** MessageList component - START ************************* */
13
- export interface MessageListDemoProps {
14
- onScrollToButtonClick?: MessageListProps['onScrollToButtonClick'];
15
- }
16
- export declare const MessageListDemo: Story<MessageListDemoProps>;
17
- /** **************************** MessageList component - END **************************** */
18
11
  /** ***************************** Message component - START ********************** */
19
- export declare const MessageDemo: Story<MessageProps>;
12
+ interface MessageDemoProps extends OmitStrict<MessageProps, 'senderId' | 'messageHeader'> {
13
+ showTimestamp: boolean;
14
+ showStatus: boolean;
15
+ showHeader: boolean;
16
+ headerContent: MessageHeaderProps['content'];
17
+ headerMeta: MessageHeaderProps['meta'];
18
+ showAvatarImage: boolean;
19
+ showAttachments: boolean;
20
+ showMediaPageLinks: boolean;
21
+ }
22
+ export declare const MessageDemo: Story<MessageDemoProps>;
20
23
  /** ***************************** Message component - END *********************** */
21
24
  /** **************************** SystemMessage component - START ***************** */
22
25
  export declare const SystemMessageDemo: Story<SystemMessageProps>;
@@ -27,21 +30,6 @@ interface TypeIndicatorDemoProps {
27
30
  }
28
31
  export declare const TypeIndicatorDemo: Story<TypeIndicatorDemoProps>;
29
32
  /** *************************** TypeIndicator component - END *********************** */
30
- /** ************************** ChatTranscripts component - START ********************* */
31
- export declare const ChatTranscriptsDemo: Story;
32
- /** **************************** ChatTranscripts component - END ************************ */
33
- /** *************************** TranscriptMessage component - START ****************** */
34
- export interface TranscriptMessageDemoProps {
35
- message: TranscriptMessageProps['message'];
36
- variant: TranscriptMessageProps['variant'];
37
- timeStamp: TranscriptMessageProps['timeStamp'];
38
- transcriptHeaderContent?: TranscriptHeaderProps['content'];
39
- transcriptHeaderMeta?: TranscriptHeaderProps['meta'];
40
- avatarInfoName?: string;
41
- avatarInfoImageSrc?: string;
42
- }
43
- export declare const TranscriptMessageDemo: Story<TranscriptMessageDemoProps>;
44
- /** *************************** TranscriptMessage component - END ******************** */
45
33
  /** *************************** SuggestedReplyPicker component - START ****************** */
46
34
  export declare const SuggestedReplyPickerDemo: Story;
47
35
  /** *************************** SuggestedReplyPicker component - END ****************** */
@@ -55,6 +43,7 @@ export declare const ChatComposerDemo: Story<ChatComposerDemoProps>;
55
43
  interface StandardChatProps {
56
44
  maxAttachments?: number;
57
45
  chatWidth?: string;
46
+ chatHeight?: string;
58
47
  selectedChannel?: string;
59
48
  showChatBanner?: boolean;
60
49
  disableChat?: boolean;
@@ -63,6 +52,7 @@ interface StandardChatProps {
63
52
  placeholder?: string;
64
53
  defaultMessage?: string;
65
54
  maxLength?: number;
55
+ loading?: boolean;
66
56
  }
67
57
  export declare const StandardChat: Story<StandardChatProps>;
68
58
  /** *************************** Standard Chat component - END ************************ */
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EA8BL,UAAU,EACX,MAAM,yBAAyB,CAAC;AAKjC,OAAO,EAIL,eAAe,EAMf,YAAY,EASZ,kBAAkB,EAElB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