@pega/cosmos-react-demos 3.0.0-dev.3.0 → 3.0.0-dev.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsx/build/AppShell/AppShell.mocks.d.ts +17 -0
- package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/jsx/build/AppShell/AppShell.mocks.js +15 -0
- package/jsx/build/AppShell/AppShell.mocks.js.map +1 -1
- package/jsx/build/AppShell/AppShell.stories.d.ts +2 -0
- package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/build/AppShell/AppShell.stories.jsx +2 -17
- package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +4 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +18 -2
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
- package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
- package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
- package/jsx/build/FlowModeller/{FlowModeller.mocks.js → FlowModeller.mocks.jsx} +71 -7
- package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +1 -0
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +2 -7
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
- package/jsx/build/FlowModeller/FlowModeller.stories.jsx +14 -100
- package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
- package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
- package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
- package/jsx/build/FlowModeller/FlowModeller.styles.js +8 -0
- package/jsx/build/FlowModeller/FlowModeller.styles.js.map +1 -0
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +2 -5
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +2 -4
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +40 -0
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +315 -0
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -0
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +9 -0
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
- package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +137 -0
- package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -0
- package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
- package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
- package/jsx/build/ObjectSelect/ObjectSelect.styles.js +27 -0
- package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
- package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +45 -0
- package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
- package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +78 -0
- package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -0
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +1 -0
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
- package/jsx/build/PageTemplates/GalleryPage.stories.jsx +3 -79
- package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
- package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +11 -0
- package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
- package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +129 -0
- package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -0
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +1 -0
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/build/PageTemplates/PageTemplates.stories.jsx +4 -129
- package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
- package/jsx/build/Workbench/Workbench.stories.jsx +3 -14
- package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +59 -56
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
- package/jsx/core/AppShell/AppShell.stories.d.ts +1 -0
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/core/AppShell/AppShell.stories.jsx +3 -1
- package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/core/Button/Button.stories.jsx +6 -6
- package/jsx/core/Button/Button.stories.jsx.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx +2 -10
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
- package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
- package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
- package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
- package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
- package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
- package/jsx/core/Configuration/Configuration.stories.jsx +2 -18
- package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
- package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
- package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
- package/jsx/core/Configuration/Configuration.styles.js +12 -0
- package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTime.stories.jsx +1 -0
- package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +2 -0
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx +8 -4
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +70 -2
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +51 -88
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
- package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/jsx/core/File/FileDisplay.stories.jsx +16 -38
- package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
- package/jsx/core/HTML/HTML.stories.d.ts +6 -0
- package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
- package/jsx/core/HTML/HTML.stories.jsx +13 -0
- package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
- package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.stories.jsx +5 -27
- package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
- package/jsx/core/Icon/Icon.styles.d.ts +4 -0
- package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
- package/jsx/core/Icon/Icon.styles.js +25 -0
- package/jsx/core/Icon/Icon.styles.js.map +1 -0
- package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
- package/jsx/core/Link/Link.stories.d.ts +1 -11
- package/jsx/core/Link/Link.stories.d.ts.map +1 -1
- package/jsx/core/Link/Link.stories.jsx.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +71 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +7 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx +87 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
- package/jsx/core/Number/Number.stories.d.ts.map +1 -1
- package/jsx/core/Number/Number.stories.jsx +2 -0
- package/jsx/core/Number/Number.stories.jsx.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -11
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
- package/jsx/core/Tooltip/Tooltip.stories.d.ts +2 -5
- package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
- package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
- package/jsx/core/Tree/Tree.stories.jsx +2 -2
- package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
- package/jsx/cs/Article/Article.stories.d.ts +2 -10
- package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
- package/jsx/cs/Article/Article.stories.jsx.map +1 -1
- package/jsx/cs/ArticleList/ArticleList.stories.d.ts +2 -11
- package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/jsx/cs/ArticleList/ArticleList.stories.jsx +2 -1
- package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
- package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts +2 -36
- package/jsx/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
- package/jsx/cs/CSCaseView/CSAppShell.stories.jsx +6 -33
- package/jsx/cs/CSCaseView/CSAppShell.stories.jsx.map +1 -1
- package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
- package/jsx/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
- package/jsx/cs/CSCaseView/{CSCaseView.mocks.js → CSCaseView.mocks.jsx} +30 -1
- package/jsx/cs/CSCaseView/CSCaseView.mocks.jsx.map +1 -0
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +2 -2
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +4 -4
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
- package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +2 -8
- package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx +3 -3
- package/jsx/cs/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +13 -5
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +2 -7
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +6 -30
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
- package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.mocks.js +7 -0
- package/jsx/cs/TaskManager/TaskManager.mocks.js.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts +6 -5
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.stories.jsx +25 -29
- package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.styles.d.ts +3 -0
- package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
- package/jsx/cs/TaskManager/TaskManager.styles.js +8 -0
- package/jsx/cs/TaskManager/TaskManager.styles.js.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx +14 -78
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
- package/jsx/rte/Editor/Editor.mocks.d.ts +6 -0
- package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
- package/jsx/rte/Editor/Editor.mocks.jsx +20 -0
- package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
- package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/jsx/rte/Editor/Editor.stories.jsx +2 -20
- package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
- package/jsx/social/Chat/RepeatingView.mocks.d.ts +14 -0
- package/jsx/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
- package/jsx/social/Chat/RepeatingView.mocks.js +11 -0
- package/jsx/social/Chat/RepeatingView.mocks.js.map +1 -0
- package/jsx/social/Chat/RepeatingView.stories.d.ts +6 -17
- package/jsx/social/Chat/RepeatingView.stories.d.ts.map +1 -1
- package/jsx/social/Chat/RepeatingView.stories.jsx +16 -46
- package/jsx/social/Chat/RepeatingView.stories.jsx.map +1 -1
- package/jsx/social/Chat/RepeatingView.styles.d.ts +2 -0
- package/jsx/social/Chat/RepeatingView.styles.d.ts.map +1 -0
- package/jsx/social/Chat/RepeatingView.styles.js +22 -0
- package/jsx/social/Chat/RepeatingView.styles.js.map +1 -0
- package/jsx/social/Email/Email.mocks.d.ts +155 -2
- package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
- package/jsx/social/Email/Email.mocks.jsx +756 -0
- package/jsx/social/Email/Email.mocks.jsx.map +1 -0
- package/jsx/social/Email/Email.stories.d.ts +14 -14
- package/jsx/social/Email/Email.stories.d.ts.map +1 -1
- package/jsx/social/Email/Email.stories.jsx +115 -407
- package/jsx/social/Email/Email.stories.jsx.map +1 -1
- package/jsx/social/Email/Email.styles.d.ts +4 -0
- package/jsx/social/Email/Email.styles.d.ts.map +1 -0
- package/jsx/social/Email/Email.styles.js +14 -0
- package/jsx/social/Email/Email.styles.js.map +1 -0
- package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.stories.jsx +23 -18
- package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedPost.stories.jsx +30 -20
- package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedReply.stories.jsx +21 -16
- package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
- package/jsx/work/CaseView/MobileCaseView.stories.d.ts +2 -7
- package/jsx/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
- package/jsx/work/CaseView/MobileCaseView.stories.jsx.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +2 -6
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +2 -174
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
- package/jsx/work/Timeline/Timeline.stories.d.ts +2 -0
- package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
- package/jsx/work/Timeline/Timeline.stories.jsx +28 -1
- package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
- package/lib/build/AppShell/AppShell.mocks.d.ts +17 -0
- package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/lib/build/AppShell/AppShell.mocks.js +16 -0
- package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
- package/lib/build/AppShell/AppShell.stories.d.ts +2 -0
- package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/build/AppShell/AppShell.stories.js +3 -18
- package/lib/build/AppShell/AppShell.stories.js.map +1 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +4 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +18 -2
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +19 -2
- package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.mocks.js +58 -6
- package/lib/build/FlowModeller/FlowModeller.mocks.js.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts +2 -7
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.stories.js +15 -90
- package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.styles.d.ts +2 -0
- package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +1 -0
- package/lib/build/FlowModeller/FlowModeller.styles.js +8 -0
- package/lib/build/FlowModeller/FlowModeller.styles.js.map +1 -0
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +2 -5
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
- package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts +2 -4
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
- package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
- package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +40 -0
- package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -0
- package/lib/build/ObjectSelect/ObjectSelect.mocks.js +272 -0
- package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -0
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +9 -0
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -0
- package/lib/build/ObjectSelect/ObjectSelect.stories.js +123 -0
- package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -0
- package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +4 -0
- package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +1 -0
- package/lib/build/ObjectSelect/ObjectSelect.styles.js +27 -0
- package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +1 -0
- package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +45 -0
- package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -0
- package/lib/build/PageTemplates/GalleryPage.mocks.js +79 -0
- package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -0
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts +1 -0
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
- package/lib/build/PageTemplates/GalleryPage.stories.js +3 -79
- package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
- package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +11 -0
- package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
- package/lib/build/PageTemplates/PageTemplates.mocks.js +96 -0
- package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -0
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts +1 -0
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/build/PageTemplates/PageTemplates.stories.js +5 -95
- package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
- package/lib/build/Workbench/Workbench.stories.js +3 -14
- package/lib/build/Workbench/Workbench.stories.js.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +13 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +16 -8
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +56 -54
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
- package/lib/core/AppShell/AppShell.stories.d.ts +1 -0
- package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.stories.js +3 -1
- package/lib/core/AppShell/AppShell.stories.js.map +1 -1
- package/lib/core/Button/Button.stories.js +2 -2
- package/lib/core/Button/Button.stories.js.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.stories.js +2 -10
- package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
- package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
- package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
- package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
- package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
- package/lib/core/Configuration/Configuration.mocks.js +6 -0
- package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
- package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
- package/lib/core/Configuration/Configuration.stories.js +3 -15
- package/lib/core/Configuration/Configuration.stories.js.map +1 -1
- package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
- package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
- package/lib/core/Configuration/Configuration.styles.js +12 -0
- package/lib/core/Configuration/Configuration.styles.js.map +1 -0
- package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTime.stories.js +2 -0
- package/lib/core/DateTime/DateTime.stories.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts +2 -0
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.js +7 -3
- package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -0
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.js +47 -3
- package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +9 -8
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.js +52 -65
- package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
- package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/lib/core/File/FileDisplay.stories.js +17 -29
- package/lib/core/File/FileDisplay.stories.js.map +1 -1
- package/lib/core/HTML/HTML.stories.d.ts +6 -0
- package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
- package/lib/core/HTML/HTML.stories.js +14 -0
- package/lib/core/HTML/HTML.stories.js.map +1 -0
- package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
- package/lib/core/Icon/Icon.stories.js +6 -29
- package/lib/core/Icon/Icon.stories.js.map +1 -1
- package/lib/core/Icon/Icon.styles.d.ts +4 -0
- package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
- package/lib/core/Icon/Icon.styles.js +25 -0
- package/lib/core/Icon/Icon.styles.js.map +1 -0
- package/lib/core/IconPicker/IconPicker.stories.js +1 -1
- package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
- package/lib/core/Link/Link.stories.d.ts +1 -11
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/Link.stories.js.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.js +50 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts +7 -0
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.stories.js +79 -0
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
- package/lib/core/Number/Number.stories.d.ts.map +1 -1
- package/lib/core/Number/Number.stories.js +2 -0
- package/lib/core/Number/Number.stories.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js +1 -11
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts +1 -0
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
- package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
- package/lib/core/Tooltip/Tooltip.stories.d.ts +2 -5
- package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
- package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
- package/lib/core/Tree/Tree.stories.js +2 -2
- package/lib/core/Tree/Tree.stories.js.map +1 -1
- package/lib/cs/Article/Article.stories.d.ts +2 -10
- package/lib/cs/Article/Article.stories.d.ts.map +1 -1
- package/lib/cs/Article/Article.stories.js.map +1 -1
- package/lib/cs/ArticleList/ArticleList.stories.d.ts +2 -11
- package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/lib/cs/ArticleList/ArticleList.stories.js +2 -1
- package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
- package/lib/cs/CSCaseView/CSAppShell.stories.d.ts +2 -36
- package/lib/cs/CSCaseView/CSAppShell.stories.d.ts.map +1 -1
- package/lib/cs/CSCaseView/CSAppShell.stories.js +6 -19
- package/lib/cs/CSCaseView/CSAppShell.stories.js.map +1 -1
- package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts +9 -0
- package/lib/cs/CSCaseView/CSCaseView.mocks.d.ts.map +1 -1
- package/lib/cs/CSCaseView/CSCaseView.mocks.js +16 -0
- package/lib/cs/CSCaseView/CSCaseView.mocks.js.map +1 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +2 -2
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.js +4 -4
- package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
- package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts +2 -8
- package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js +3 -3
- package/lib/cs/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +7 -6
- package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.js +13 -5
- package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +11 -0
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +1 -0
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +29 -0
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +1 -0
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +2 -7
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
- package/lib/cs/InteractionTimer/InteractionTimer.stories.js +6 -30
- package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
- package/lib/cs/TaskManager/TaskManager.mocks.d.ts +6 -0
- package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +1 -1
- package/lib/cs/TaskManager/TaskManager.mocks.js +7 -0
- package/lib/cs/TaskManager/TaskManager.mocks.js.map +1 -1
- package/lib/cs/TaskManager/TaskManager.stories.d.ts +6 -5
- package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
- package/lib/cs/TaskManager/TaskManager.stories.js +25 -29
- package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
- package/lib/cs/TaskManager/TaskManager.styles.d.ts +3 -0
- package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +1 -0
- package/lib/cs/TaskManager/TaskManager.styles.js +8 -0
- package/lib/cs/TaskManager/TaskManager.styles.js.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts +8 -9
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.stories.js +14 -85
- package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
- package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
- package/lib/rte/Editor/Editor.mocks.d.ts +6 -0
- package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
- package/lib/rte/Editor/Editor.mocks.js +23 -0
- package/lib/rte/Editor/Editor.mocks.js.map +1 -0
- package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/rte/Editor/Editor.stories.js +2 -22
- package/lib/rte/Editor/Editor.stories.js.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +2 -3
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
- package/lib/social/Chat/RepeatingView.mocks.d.ts +14 -0
- package/lib/social/Chat/RepeatingView.mocks.d.ts.map +1 -0
- package/lib/social/Chat/RepeatingView.mocks.js +11 -0
- package/lib/social/Chat/RepeatingView.mocks.js.map +1 -0
- package/lib/social/Chat/RepeatingView.stories.d.ts +6 -17
- package/lib/social/Chat/RepeatingView.stories.d.ts.map +1 -1
- package/lib/social/Chat/RepeatingView.stories.js +16 -46
- package/lib/social/Chat/RepeatingView.stories.js.map +1 -1
- package/lib/social/Chat/RepeatingView.styles.d.ts +2 -0
- package/lib/social/Chat/RepeatingView.styles.d.ts.map +1 -0
- package/lib/social/Chat/RepeatingView.styles.js +22 -0
- package/lib/social/Chat/RepeatingView.styles.js.map +1 -0
- package/lib/social/Email/Email.mocks.d.ts +155 -2
- package/lib/social/Email/Email.mocks.d.ts.map +1 -1
- package/lib/social/Email/Email.mocks.js +361 -0
- package/lib/social/Email/Email.mocks.js.map +1 -1
- package/lib/social/Email/Email.stories.d.ts +14 -14
- package/lib/social/Email/Email.stories.d.ts.map +1 -1
- package/lib/social/Email/Email.stories.js +117 -423
- package/lib/social/Email/Email.stories.js.map +1 -1
- package/lib/social/Email/Email.styles.d.ts +4 -0
- package/lib/social/Email/Email.styles.d.ts.map +1 -0
- package/lib/social/Email/Email.styles.js +14 -0
- package/lib/social/Email/Email.styles.js.map +1 -0
- package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
- package/lib/social/Feed/Feed.stories.js +23 -18
- package/lib/social/Feed/Feed.stories.js.map +1 -1
- package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedPost.stories.js +30 -20
- package/lib/social/Feed/FeedPost.stories.js.map +1 -1
- package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedReply.stories.js +21 -16
- package/lib/social/Feed/FeedReply.stories.js.map +1 -1
- package/lib/work/CaseView/MobileCaseView.stories.d.ts +2 -7
- package/lib/work/CaseView/MobileCaseView.stories.d.ts.map +1 -1
- package/lib/work/CaseView/MobileCaseView.stories.js.map +1 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +2 -6
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +2 -172
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
- package/lib/work/Timeline/Timeline.stories.d.ts +2 -0
- package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/work/Timeline/Timeline.stories.js +22 -2
- package/lib/work/Timeline/Timeline.stories.js.map +1 -1
- package/package.json +16 -17
- package/jsx/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
- package/jsx/cs/CSCaseView/CSCaseView.mocks.js.map +0 -1
- package/jsx/social/Email/Email.mocks.js +0 -395
- package/jsx/social/Email/Email.mocks.js.map +0 -1
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
import { createRef } from 'react';
|
|
2
|
+
import { createUID, hasProp, MenuButton, Modal } from '@pega/cosmos-react-core';
|
|
3
|
+
import { EmailComposer } from '@pega/cosmos-react-social';
|
|
4
|
+
export const emailBodyContent = '<div>Hi, <br /> <br /><div>Can you please change my address in the SSN.</div> <br /> <br />Regards, <br />Sara Davis </div>';
|
|
5
|
+
export const emailAttachments = [
|
|
6
|
+
{
|
|
7
|
+
name: 'Policy.doc',
|
|
8
|
+
progress: 100
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: 'E-Ticket',
|
|
12
|
+
thumbnail: 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg'
|
|
13
|
+
}
|
|
14
|
+
];
|
|
15
|
+
export const participants = [
|
|
16
|
+
{ emailAddress: 'Vernon.Lee@example.com', fullName: 'Vernon Lee', shortName: 'Vernon' },
|
|
17
|
+
{ emailAddress: 'Eula.Morales@example.com', fullName: 'Eula Morales', shortName: 'Eula' },
|
|
18
|
+
{ emailAddress: 'Paul.Smith@example.com', fullName: 'Paul Smith', shortName: 'Paul' },
|
|
19
|
+
{ emailAddress: 'Frank.Walker@example.com', fullName: 'Frank Walker', shortName: 'Frank' },
|
|
20
|
+
{ emailAddress: 'Edward.Green@example.com', fullName: 'Edward Green', shortName: 'Edward' },
|
|
21
|
+
{ emailAddress: 'John.Smith@example.com', fullName: 'John Smith', shortName: 'John' },
|
|
22
|
+
{ emailAddress: 'Olivia.Cockburn@example.com', fullName: 'Olivia Cockburn', shortName: 'Olivia' },
|
|
23
|
+
{ emailAddress: 'Peter.Hernandez@example.com', fullName: 'Peter Hernandez', shortName: 'Peter' },
|
|
24
|
+
{ emailAddress: 'Helena.Johnson@example.com', fullName: 'Helena Johnson', shortName: 'Helena' },
|
|
25
|
+
{
|
|
26
|
+
emailAddress: 'Katheryn.Hudson@example.com',
|
|
27
|
+
fullName: 'Katheryn Hudson',
|
|
28
|
+
shortName: 'Katheryn'
|
|
29
|
+
},
|
|
30
|
+
{ emailAddress: 'Mia.Hershel@example.com', fullName: 'Mia Hershel', shortName: 'Mia' },
|
|
31
|
+
{ emailAddress: 'Ann.Mitchell@example.com', fullName: 'Ann Mitchell', shortName: 'Ann' },
|
|
32
|
+
{ emailAddress: 'Rafael.Bottom@example.com', fullName: 'Rafael Bottom', shortName: 'Rafael' },
|
|
33
|
+
{
|
|
34
|
+
emailAddress: 'Christopher.Gatsby@example.com',
|
|
35
|
+
fullName: 'Christopher Gatsby',
|
|
36
|
+
shortName: 'Christopher'
|
|
37
|
+
},
|
|
38
|
+
{ emailAddress: 'Julianne.Moore@example.com', fullName: 'Julianne Moore', shortName: 'Julianne' },
|
|
39
|
+
{ emailAddress: 'Emily.Stone@example.com', fullName: 'Emily Stone', shortName: 'Emily' },
|
|
40
|
+
{ emailAddress: 'Richard.Wiles@example.com', fullName: 'Richard Wiles', shortName: 'Richard' },
|
|
41
|
+
{ emailAddress: 'Ella.Connor@example.com', fullName: 'Ella Connor', shortName: 'Ella' },
|
|
42
|
+
{ emailAddress: 'Robyn.Fenton@example.com', fullName: 'Robyn Fenton', shortName: 'Robyn' },
|
|
43
|
+
{ emailAddress: 'Lucille.Hale@example.com', fullName: 'Lucille Hale', shortName: 'Lucille' },
|
|
44
|
+
{ emailAddress: 'Angelina.Pitt@example.com', fullName: 'Angelina Pitt', shortName: 'Angelina' },
|
|
45
|
+
{ emailAddress: 'Tanya.Robinson@example.com', fullName: 'Tanya Robinson', shortName: 'Tanya' },
|
|
46
|
+
{ emailAddress: 'Laura.Horowitz@example.com', fullName: 'Laura Horowitz', shortName: 'Laura' }
|
|
47
|
+
];
|
|
48
|
+
export const toParticipants = participants
|
|
49
|
+
.slice(1, 3)
|
|
50
|
+
.map((participant) => participant.emailAddress);
|
|
51
|
+
export const ccParticipants = participants
|
|
52
|
+
.slice(9, 11)
|
|
53
|
+
.map((participant) => participant.emailAddress);
|
|
54
|
+
export const bccParticipants = participants
|
|
55
|
+
.slice(4, 9)
|
|
56
|
+
.map((participant) => participant.emailAddress);
|
|
57
|
+
export const EntityListMockData = [
|
|
58
|
+
{
|
|
59
|
+
name: 'Ticket number',
|
|
60
|
+
value: [
|
|
61
|
+
{
|
|
62
|
+
id: '1',
|
|
63
|
+
entity: {
|
|
64
|
+
value: '7546383',
|
|
65
|
+
type: 'system',
|
|
66
|
+
name: 'Ticket number',
|
|
67
|
+
variant: 3
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: '2',
|
|
72
|
+
entity: {
|
|
73
|
+
value: '7546383',
|
|
74
|
+
type: 'system',
|
|
75
|
+
name: 'Ticket number',
|
|
76
|
+
variant: 3,
|
|
77
|
+
icon: 'paper-clip'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'Name',
|
|
84
|
+
value: [
|
|
85
|
+
{
|
|
86
|
+
id: '1',
|
|
87
|
+
entity: {
|
|
88
|
+
value: 'Robert stanton',
|
|
89
|
+
type: 'system',
|
|
90
|
+
name: 'Name',
|
|
91
|
+
variant: 1
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: '2',
|
|
96
|
+
entity: {
|
|
97
|
+
value: 'Sara Davis',
|
|
98
|
+
type: 'system',
|
|
99
|
+
name: 'Name',
|
|
100
|
+
variant: 1
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: '3',
|
|
105
|
+
entity: {
|
|
106
|
+
value: 'Cindy',
|
|
107
|
+
type: 'system',
|
|
108
|
+
name: 'Name',
|
|
109
|
+
variant: 1
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: '4',
|
|
114
|
+
entity: {
|
|
115
|
+
value: 'Dean',
|
|
116
|
+
type: 'system',
|
|
117
|
+
name: 'Name',
|
|
118
|
+
variant: 1
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: '5',
|
|
123
|
+
entity: {
|
|
124
|
+
value: 'Joe Stevens',
|
|
125
|
+
type: 'system',
|
|
126
|
+
name: 'Name',
|
|
127
|
+
variant: 1
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'Email',
|
|
134
|
+
value: [
|
|
135
|
+
{
|
|
136
|
+
id: '1',
|
|
137
|
+
entity: {
|
|
138
|
+
value: 'robert.stanton@example.com',
|
|
139
|
+
type: 'system',
|
|
140
|
+
name: 'Email',
|
|
141
|
+
variant: 2
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: '2',
|
|
146
|
+
entity: {
|
|
147
|
+
value: 'robert.stanton@example.com',
|
|
148
|
+
type: 'system',
|
|
149
|
+
name: 'Email',
|
|
150
|
+
variant: 2,
|
|
151
|
+
icon: 'paper-clip'
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: '3',
|
|
156
|
+
entity: {
|
|
157
|
+
value: 'cindy.turner@example.com',
|
|
158
|
+
type: 'system',
|
|
159
|
+
name: 'Email',
|
|
160
|
+
variant: 2
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: '4',
|
|
165
|
+
entity: {
|
|
166
|
+
value: 'dean.thomas@example.com',
|
|
167
|
+
type: 'system',
|
|
168
|
+
name: 'Email',
|
|
169
|
+
variant: 2
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
id: '5',
|
|
174
|
+
entity: {
|
|
175
|
+
value: 'joe.stevens@example.com',
|
|
176
|
+
type: 'system',
|
|
177
|
+
name: 'Email',
|
|
178
|
+
variant: 2
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'Date',
|
|
185
|
+
value: [
|
|
186
|
+
{
|
|
187
|
+
id: '1',
|
|
188
|
+
entity: {
|
|
189
|
+
value: 'Dec 5,2021 9.05 AM',
|
|
190
|
+
type: 'system',
|
|
191
|
+
name: 'Date',
|
|
192
|
+
variant: 4
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'Flight Number',
|
|
199
|
+
value: [
|
|
200
|
+
{
|
|
201
|
+
id: '1',
|
|
202
|
+
entity: {
|
|
203
|
+
value: 'FL-JK-403',
|
|
204
|
+
type: 'system',
|
|
205
|
+
name: 'Flight Number',
|
|
206
|
+
variant: 5
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'Address',
|
|
213
|
+
value: [
|
|
214
|
+
{
|
|
215
|
+
id: '1',
|
|
216
|
+
entity: {
|
|
217
|
+
value: 'Nagercoil,Hyderabad',
|
|
218
|
+
type: 'system',
|
|
219
|
+
name: 'Address',
|
|
220
|
+
variant: 15
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'Location',
|
|
227
|
+
value: [
|
|
228
|
+
{
|
|
229
|
+
id: '1',
|
|
230
|
+
entity: {
|
|
231
|
+
value: 'Hyderabad',
|
|
232
|
+
type: 'system',
|
|
233
|
+
name: 'Location',
|
|
234
|
+
variant: 8
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
];
|
|
240
|
+
export const EmailMockData = {
|
|
241
|
+
emails: {
|
|
242
|
+
'Sara Davis': {
|
|
243
|
+
fullName: 'Sara Davis',
|
|
244
|
+
shortName: 'Sara',
|
|
245
|
+
emailAddress: 'saraConnor@example.com'
|
|
246
|
+
},
|
|
247
|
+
'John Brown': {
|
|
248
|
+
fullName: 'John Brown',
|
|
249
|
+
shortName: 'John',
|
|
250
|
+
emailAddress: 'john@example.com'
|
|
251
|
+
},
|
|
252
|
+
'Hugh Phillips': {
|
|
253
|
+
fullName: 'Hugh Phillips',
|
|
254
|
+
shortName: 'Hugh',
|
|
255
|
+
emailAddress: 'Hugh@example.com'
|
|
256
|
+
},
|
|
257
|
+
'Laura Stevens': {
|
|
258
|
+
fullName: 'Laura Stevens',
|
|
259
|
+
shortName: 'Laura',
|
|
260
|
+
emailAddress: 'laurastevens@example.com',
|
|
261
|
+
avatarProps: {
|
|
262
|
+
icon: 'headset'
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
'Joe Stevens': {
|
|
266
|
+
fullName: 'Joe Stevens',
|
|
267
|
+
shortName: 'Joe',
|
|
268
|
+
emailAddress: 'Joe@example.com'
|
|
269
|
+
},
|
|
270
|
+
'Adam Gillchrist': {
|
|
271
|
+
fullName: 'Adam Gillchrist',
|
|
272
|
+
shortName: 'Adam',
|
|
273
|
+
emailAddress: 'adam@example.com'
|
|
274
|
+
},
|
|
275
|
+
'John Paul': {
|
|
276
|
+
fullName: 'John, Paul',
|
|
277
|
+
shortName: 'Paul',
|
|
278
|
+
emailAddress: 'John.Paul@example.com'
|
|
279
|
+
},
|
|
280
|
+
'Oran Jacob': {
|
|
281
|
+
fullName: 'Oran, Jacob',
|
|
282
|
+
shortName: 'Jacob',
|
|
283
|
+
emailAddress: 'jacob@example.com'
|
|
284
|
+
},
|
|
285
|
+
'Tyson Mike': {
|
|
286
|
+
fullName: 'Tyson, Mike',
|
|
287
|
+
shortName: 'Mike',
|
|
288
|
+
emailAddress: 'mike@example.com'
|
|
289
|
+
},
|
|
290
|
+
'John Cent': {
|
|
291
|
+
fullName: 'John, Cent',
|
|
292
|
+
shortName: 'John',
|
|
293
|
+
emailAddress: 'John.cena@example.com'
|
|
294
|
+
},
|
|
295
|
+
'Mystery Rey': {
|
|
296
|
+
fullName: 'Mystery, Rey',
|
|
297
|
+
shortName: 'Rey',
|
|
298
|
+
emailAddress: 'rey619@example.com'
|
|
299
|
+
},
|
|
300
|
+
'Anton, Randy': {
|
|
301
|
+
fullName: 'Anton, Randy',
|
|
302
|
+
shortName: 'Randy',
|
|
303
|
+
emailAddress: 'Randy.ortan@example.com'
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
suggestedReplies: [
|
|
307
|
+
{
|
|
308
|
+
id: 'thank-you',
|
|
309
|
+
title: 'Thank you',
|
|
310
|
+
content: 'Thank you'
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
id: 'clarification',
|
|
314
|
+
title: 'Clarification',
|
|
315
|
+
content: 'Can you please provide more clarification'
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
id: 'apologies',
|
|
319
|
+
title: 'Apologies',
|
|
320
|
+
content: 'Apologies for the inconvenience'
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
id: 'we_will_help',
|
|
324
|
+
title: 'We will help',
|
|
325
|
+
content: 'We will help'
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
emailBodyTemplates: [
|
|
329
|
+
{
|
|
330
|
+
id: 'thank-you',
|
|
331
|
+
title: 'Thank you',
|
|
332
|
+
content: 'Thank you'
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
id: 'clarification',
|
|
336
|
+
title: 'Clarification',
|
|
337
|
+
content: 'Can you please provide more clarification'
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
id: 'apologies',
|
|
341
|
+
title: 'Apologies',
|
|
342
|
+
content: 'Apologies for the inconvenience'
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: 'we_will_help',
|
|
346
|
+
title: 'We will help',
|
|
347
|
+
content: 'We will help'
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
};
|
|
351
|
+
export const viewAnalysisEmailHeaderMock = [
|
|
352
|
+
{
|
|
353
|
+
name: 'Sender email',
|
|
354
|
+
value: 'robert.stanton@hotmail.com'
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: 'Sender name',
|
|
358
|
+
value: 'Robert stanton'
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
name: 'Subject',
|
|
362
|
+
value: 'I have a quick question on travel'
|
|
363
|
+
}
|
|
364
|
+
];
|
|
365
|
+
export const topicListMock = [
|
|
366
|
+
{
|
|
367
|
+
id: '1',
|
|
368
|
+
primary: 'Missing ticket',
|
|
369
|
+
secondary: {
|
|
370
|
+
indicator: 'Confidence',
|
|
371
|
+
value: '50%'
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
id: '2',
|
|
376
|
+
primary: 'Missing baggage',
|
|
377
|
+
secondary: {
|
|
378
|
+
indicator: 'Confidence',
|
|
379
|
+
value: '80%'
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
id: '3',
|
|
384
|
+
primary: 'Ticket booking',
|
|
385
|
+
secondary: {
|
|
386
|
+
indicator: 'Confidence',
|
|
387
|
+
value: '30%'
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
id: '4',
|
|
392
|
+
primary: 'Language',
|
|
393
|
+
secondary: {
|
|
394
|
+
indicator: 'Confidence'
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
];
|
|
398
|
+
export const handleExternalEntry = (filterValue) => {
|
|
399
|
+
const pattern = /^[\w.\-_]+@[a-zA-Z]+(\.[a-zA-Z]{2,3}){1,2}$/;
|
|
400
|
+
const matched = filterValue.match(pattern);
|
|
401
|
+
return !!matched?.input;
|
|
402
|
+
};
|
|
403
|
+
export const templates = EmailMockData.emailBodyTemplates.map(({ id, title }) => {
|
|
404
|
+
return {
|
|
405
|
+
id,
|
|
406
|
+
title
|
|
407
|
+
};
|
|
408
|
+
});
|
|
409
|
+
export const baseComposerProps = {
|
|
410
|
+
progress: false,
|
|
411
|
+
participants,
|
|
412
|
+
externalValidator: handleExternalEntry,
|
|
413
|
+
to: {
|
|
414
|
+
reply: toParticipants.slice(0, 1),
|
|
415
|
+
replyAll: toParticipants
|
|
416
|
+
},
|
|
417
|
+
cc: ccParticipants,
|
|
418
|
+
subject: '',
|
|
419
|
+
bodyContent: '',
|
|
420
|
+
onSend: () => { },
|
|
421
|
+
onCancel: () => { },
|
|
422
|
+
templates
|
|
423
|
+
};
|
|
424
|
+
export var LaunchAction;
|
|
425
|
+
(function (LaunchAction) {
|
|
426
|
+
LaunchAction[LaunchAction["REPLY"] = 0] = "REPLY";
|
|
427
|
+
LaunchAction[LaunchAction["REPLYALL"] = 1] = "REPLYALL";
|
|
428
|
+
LaunchAction[LaunchAction["SUGGESTION"] = 2] = "SUGGESTION";
|
|
429
|
+
LaunchAction[LaunchAction["FORWARD"] = 3] = "FORWARD";
|
|
430
|
+
})(LaunchAction || (LaunchAction = {}));
|
|
431
|
+
export const composerModals = {};
|
|
432
|
+
export const getCompositeId = (id, launchAction) => {
|
|
433
|
+
return `${id}-${launchAction}`;
|
|
434
|
+
};
|
|
435
|
+
export const handleComposerCancel = (compositeID) => {
|
|
436
|
+
composerModals[compositeID]?.dismissModal();
|
|
437
|
+
composerModals[compositeID]?.unMountModal();
|
|
438
|
+
delete composerModals[compositeID];
|
|
439
|
+
};
|
|
440
|
+
export const ComposerModalComponent = ({ compositeId, composerProps, composerRef, progress }) => {
|
|
441
|
+
return (<Modal heading={composerProps.subject} options={{ id: { compositeId } }}>
|
|
442
|
+
<EmailComposer {...composerProps} ref={composerRef} onCancel={() => handleComposerCancel(compositeId)} progress={progress}/>
|
|
443
|
+
</Modal>);
|
|
444
|
+
};
|
|
445
|
+
export const launchEmailComposer = (id, launchAction, composerProps, create) => {
|
|
446
|
+
const compositeId = getCompositeId(id, launchAction);
|
|
447
|
+
const composerRef = createRef();
|
|
448
|
+
const composerPropsWithOnSend = {
|
|
449
|
+
...composerProps,
|
|
450
|
+
onSend: () => {
|
|
451
|
+
composerModals[compositeId]?.updateModal({
|
|
452
|
+
progress: {
|
|
453
|
+
message: 'Sending..'
|
|
454
|
+
}
|
|
455
|
+
});
|
|
456
|
+
setTimeout(() => {
|
|
457
|
+
composerModals[compositeId]?.dismissModal();
|
|
458
|
+
composerModals[compositeId]?.unMountModal();
|
|
459
|
+
}, 3000);
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
const modalControls = create(ComposerModalComponent, {
|
|
463
|
+
compositeId,
|
|
464
|
+
composerProps: composerPropsWithOnSend,
|
|
465
|
+
composerRef,
|
|
466
|
+
progress: composerProps.progress
|
|
467
|
+
}, { minimizable: true, maximizable: true, dockable: true });
|
|
468
|
+
composerModals[compositeId] = {
|
|
469
|
+
dismissModal: modalControls.dismiss,
|
|
470
|
+
unMountModal: modalControls.unmount,
|
|
471
|
+
updateModal: modalControls.update,
|
|
472
|
+
composerRef
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
export const emailActions = (<MenuButton text='Email actions' variant='simple' icon='more' iconOnly menu={{
|
|
476
|
+
items: [
|
|
477
|
+
{
|
|
478
|
+
primary: 'Reply'
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
primary: 'Reply all'
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
primary: 'Forward'
|
|
485
|
+
}
|
|
486
|
+
].map((item, i) => ({ ...item, id: `item_${i}` }))
|
|
487
|
+
}}/>);
|
|
488
|
+
export const emailDemoActions = (create, subject, onTemplateChange) => {
|
|
489
|
+
const id = createUID();
|
|
490
|
+
return (<MenuButton text='Email actions' variant='simple' icon='more' iconOnly menu={{
|
|
491
|
+
items: [
|
|
492
|
+
{
|
|
493
|
+
primary: 'Reply',
|
|
494
|
+
onClick: () => launchEmailComposer(id, LaunchAction.REPLY, {
|
|
495
|
+
...baseComposerProps,
|
|
496
|
+
onTemplateChange,
|
|
497
|
+
responseType: 'reply',
|
|
498
|
+
subject: `Re-${subject}` || ''
|
|
499
|
+
}, create)
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
primary: 'Reply all',
|
|
503
|
+
onClick: () => launchEmailComposer(id, LaunchAction.REPLYALL, {
|
|
504
|
+
...baseComposerProps,
|
|
505
|
+
onTemplateChange,
|
|
506
|
+
responseType: 'replyAll',
|
|
507
|
+
cc: [],
|
|
508
|
+
subject: `Re-${subject}` || ''
|
|
509
|
+
}, create)
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
primary: 'Forward',
|
|
513
|
+
onClick: () => launchEmailComposer(id, LaunchAction.FORWARD, {
|
|
514
|
+
...baseComposerProps,
|
|
515
|
+
onTemplateChange,
|
|
516
|
+
responseType: 'forward',
|
|
517
|
+
subject: `Fw-${subject}` || ''
|
|
518
|
+
}, create)
|
|
519
|
+
}
|
|
520
|
+
].map((item, i) => ({ ...item, id: `item_${i}` }))
|
|
521
|
+
}}/>);
|
|
522
|
+
};
|
|
523
|
+
export const mockEmails = EmailMockData.emails;
|
|
524
|
+
export const mockSuggestedReplies = EmailMockData.suggestedReplies;
|
|
525
|
+
export const mockEmailBodyTemplates = EmailMockData.emailBodyTemplates;
|
|
526
|
+
export const generateEmailConversationParticipants = (emails, fields) => {
|
|
527
|
+
let l;
|
|
528
|
+
if (fields) {
|
|
529
|
+
l = [...fields];
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
l = ['from', 'to', 'cc', 'bcc'];
|
|
533
|
+
}
|
|
534
|
+
const emailUsers = emails.map(emailItem => {
|
|
535
|
+
return l.map(n => {
|
|
536
|
+
if (hasProp(emailItem, n)) {
|
|
537
|
+
return emailItem[n];
|
|
538
|
+
}
|
|
539
|
+
return [];
|
|
540
|
+
});
|
|
541
|
+
});
|
|
542
|
+
return [...new Set(Array.from(emailUsers).flat(2))];
|
|
543
|
+
};
|
|
544
|
+
export const sentiment = {
|
|
545
|
+
variant: 'negative',
|
|
546
|
+
labelHidden: true
|
|
547
|
+
};
|
|
548
|
+
export const emailSummaryItems = [
|
|
549
|
+
{
|
|
550
|
+
activeParticipants: [
|
|
551
|
+
{ shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
|
|
552
|
+
{ shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' }
|
|
553
|
+
],
|
|
554
|
+
message: 'I have a quick question on travel',
|
|
555
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
556
|
+
topic: 'Travel request',
|
|
557
|
+
sentiment,
|
|
558
|
+
active: true,
|
|
559
|
+
urgency: 85,
|
|
560
|
+
unreadEmailCount: 4
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
activeParticipants: [
|
|
564
|
+
{
|
|
565
|
+
shortName: 'Nathan',
|
|
566
|
+
fullName: 'Nathan Swanson',
|
|
567
|
+
emailAddress: 'nathan.swanson@example.com'
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
message: 'My luggage did not drive!',
|
|
571
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
572
|
+
topic: 'Missing Luggage',
|
|
573
|
+
sentiment,
|
|
574
|
+
urgency: 10,
|
|
575
|
+
unreadEmailCount: 2
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
activeParticipants: [
|
|
579
|
+
{ shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
|
|
580
|
+
],
|
|
581
|
+
message: 'Re: How much is a flight to Florida. Is there a discount going on?',
|
|
582
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
583
|
+
topic: 'Travel request',
|
|
584
|
+
sentiment,
|
|
585
|
+
urgency: 65,
|
|
586
|
+
unreadEmailCount: 1
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
activeParticipants: [
|
|
590
|
+
{ shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
|
|
591
|
+
],
|
|
592
|
+
message: 'Re: Should I purchase travel insurance? How often do we need it?',
|
|
593
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
594
|
+
topic: 'Travel request',
|
|
595
|
+
sentiment,
|
|
596
|
+
urgency: 85,
|
|
597
|
+
unreadEmailCount: 6
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
activeParticipants: [
|
|
601
|
+
{ shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
|
|
602
|
+
],
|
|
603
|
+
message: 'My next vacation',
|
|
604
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
605
|
+
topic: 'Travel request',
|
|
606
|
+
sentiment,
|
|
607
|
+
urgency: 45
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
activeParticipants: [
|
|
611
|
+
{ shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
|
|
612
|
+
{ shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
|
|
613
|
+
{ shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
|
|
614
|
+
],
|
|
615
|
+
message: 'Airport questions',
|
|
616
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
617
|
+
topic: 'Travel request',
|
|
618
|
+
sentiment,
|
|
619
|
+
urgency: 35
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
activeParticipants: [
|
|
623
|
+
{ shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
|
|
624
|
+
{ shortName: 'Robert', fullName: 'Robert ', emailAddress: 'robert.downey@example.com' }
|
|
625
|
+
],
|
|
626
|
+
message: 'I have a quick question on travel',
|
|
627
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
628
|
+
topic: 'Travel request',
|
|
629
|
+
sentiment,
|
|
630
|
+
urgency: 85
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
activeParticipants: [
|
|
634
|
+
{
|
|
635
|
+
shortName: 'Nathan',
|
|
636
|
+
fullName: 'Nathan Swanson',
|
|
637
|
+
emailAddress: 'nathan.swanson@example.com'
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
message: 'My luggage did not drive!',
|
|
641
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
642
|
+
topic: 'Missing Luggage',
|
|
643
|
+
sentiment,
|
|
644
|
+
urgency: 10
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
activeParticipants: [
|
|
648
|
+
{ shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
|
|
649
|
+
],
|
|
650
|
+
message: 'Re: How much is a flight to Florida',
|
|
651
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
652
|
+
topic: 'Travel request',
|
|
653
|
+
sentiment,
|
|
654
|
+
urgency: 65
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
activeParticipants: [
|
|
658
|
+
{ shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
|
|
659
|
+
],
|
|
660
|
+
message: 'Re: Should I purchase travel insurance',
|
|
661
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
662
|
+
topic: 'Travel request',
|
|
663
|
+
sentiment,
|
|
664
|
+
urgency: 85
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
activeParticipants: [
|
|
668
|
+
{ shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
|
|
669
|
+
],
|
|
670
|
+
message: 'My next vacation',
|
|
671
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
672
|
+
topic: 'Travel request',
|
|
673
|
+
sentiment,
|
|
674
|
+
urgency: 45
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
activeParticipants: [
|
|
678
|
+
{ shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
|
|
679
|
+
{ shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
|
|
680
|
+
{ shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
|
|
681
|
+
],
|
|
682
|
+
message: 'Airport questions',
|
|
683
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
684
|
+
topic: 'Travel request',
|
|
685
|
+
sentiment,
|
|
686
|
+
urgency: 35
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
activeParticipants: [
|
|
690
|
+
{ shortName: 'Robert', fullName: 'Robert Downer', emailAddress: 'robert.downey@example.com' },
|
|
691
|
+
{ shortName: 'Robert', fullName: 'Robert ', emailAddress: 'robert.downey@example.com' }
|
|
692
|
+
],
|
|
693
|
+
message: 'I have a quick question on travel',
|
|
694
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
695
|
+
topic: 'Travel request',
|
|
696
|
+
sentiment,
|
|
697
|
+
urgency: 85
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
activeParticipants: [
|
|
701
|
+
{
|
|
702
|
+
shortName: 'Nathan',
|
|
703
|
+
fullName: 'Nathan Swanson',
|
|
704
|
+
emailAddress: 'nathan.swanson@example.com'
|
|
705
|
+
}
|
|
706
|
+
],
|
|
707
|
+
message: 'My luggage did not drive!',
|
|
708
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
709
|
+
topic: 'Missing Luggage',
|
|
710
|
+
sentiment,
|
|
711
|
+
urgency: 10
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
activeParticipants: [
|
|
715
|
+
{ shortName: 'Simpson', fullName: 'Glenn Simpson', emailAddress: 'glenn.simpson@example.com' }
|
|
716
|
+
],
|
|
717
|
+
message: 'Re: How much is a flight to Florida',
|
|
718
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
719
|
+
topic: 'Travel request',
|
|
720
|
+
sentiment,
|
|
721
|
+
urgency: 65
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
activeParticipants: [
|
|
725
|
+
{ shortName: 'Green', fullName: 'Ralph Green', emailAddress: 'ralph.green@example.com' }
|
|
726
|
+
],
|
|
727
|
+
message: 'Re: Should I purchase travel insurance',
|
|
728
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
729
|
+
topic: 'Travel request',
|
|
730
|
+
sentiment,
|
|
731
|
+
urgency: 85
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
activeParticipants: [
|
|
735
|
+
{ shortName: 'Greene', fullName: 'Fred Greene', emailAddress: 'Fred.greene@example.com' }
|
|
736
|
+
],
|
|
737
|
+
message: 'My next vacation',
|
|
738
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
739
|
+
topic: 'Travel request',
|
|
740
|
+
sentiment,
|
|
741
|
+
urgency: 45
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
activeParticipants: [
|
|
745
|
+
{ shortName: 'Smith', fullName: 'Aya Smith', emailAddress: 'aya.smith@example.com' },
|
|
746
|
+
{ shortName: 'Support', fullName: 'Support', emailAddress: 'support@example.com' },
|
|
747
|
+
{ shortName: 'Downer', fullName: 'Robert Downer', emailAddress: 'robert.downer@example.com' }
|
|
748
|
+
],
|
|
749
|
+
message: 'Airport questions',
|
|
750
|
+
timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)),
|
|
751
|
+
topic: 'Travel request',
|
|
752
|
+
sentiment,
|
|
753
|
+
urgency: 35
|
|
754
|
+
}
|
|
755
|
+
].map((item, i) => ({ ...item, id: `item_${i}` }));
|
|
756
|
+
//# sourceMappingURL=Email.mocks.jsx.map
|