@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
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { FC, Ref, RefObject } from 'react';
|
|
2
|
+
import { FieldValueListProps, SentimentProps } from '@pega/cosmos-react-core';
|
|
3
|
+
import { ModalManagerContextValue, ModalMethods } from '@pega/cosmos-react-core/lib/components/Modal/Modal.types';
|
|
4
|
+
import { EmailComposerProps, EmailProps, EmailUser, EntityListProps } from '@pega/cosmos-react-social';
|
|
3
5
|
export declare const emailBodyContent = "<div>Hi, <br /> <br /><div>Can you please change my address in the SSN.</div> <br /> <br />Regards, <br />Sara Davis </div>";
|
|
4
6
|
export declare const emailAttachments: EmailComposerProps['attachments'];
|
|
5
7
|
export declare const participants: EmailComposerProps['participants'];
|
|
@@ -100,4 +102,155 @@ export declare const topicListMock: ({
|
|
|
100
102
|
value?: undefined;
|
|
101
103
|
};
|
|
102
104
|
})[];
|
|
105
|
+
export declare const handleExternalEntry: (filterValue: string) => boolean;
|
|
106
|
+
export declare const templates: {
|
|
107
|
+
id: string;
|
|
108
|
+
title: string;
|
|
109
|
+
}[];
|
|
110
|
+
export declare const baseComposerProps: EmailComposerProps;
|
|
111
|
+
export declare enum LaunchAction {
|
|
112
|
+
REPLY = 0,
|
|
113
|
+
REPLYALL = 1,
|
|
114
|
+
SUGGESTION = 2,
|
|
115
|
+
FORWARD = 3
|
|
116
|
+
}
|
|
117
|
+
export declare const composerModals: {
|
|
118
|
+
[key: string]: {
|
|
119
|
+
dismissModal: () => void;
|
|
120
|
+
unMountModal: () => void;
|
|
121
|
+
updateModal: ModalMethods['update'];
|
|
122
|
+
composerRef: Ref<HTMLDivElement>;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export declare const getCompositeId: (id: string, launchAction: LaunchAction) => string;
|
|
126
|
+
export declare const handleComposerCancel: (compositeID: string) => void;
|
|
127
|
+
export declare const ComposerModalComponent: FC<{
|
|
128
|
+
compositeId: string;
|
|
129
|
+
composerProps: EmailComposerProps;
|
|
130
|
+
composerRef: RefObject<HTMLDivElement>;
|
|
131
|
+
progress: EmailComposerProps['progress'];
|
|
132
|
+
}>;
|
|
133
|
+
export declare const launchEmailComposer: (id: string, launchAction: LaunchAction, composerProps: EmailComposerProps, create: ModalManagerContextValue['create']) => void;
|
|
134
|
+
export declare const emailActions: EmailProps['actions'];
|
|
135
|
+
export declare const emailDemoActions: (create: ModalManagerContextValue['create'], subject: EmailProps['subject'], onTemplateChange: EmailComposerProps['onTemplateChange']) => JSX.Element;
|
|
136
|
+
export declare const mockEmails: {
|
|
137
|
+
'Sara Davis': {
|
|
138
|
+
fullName: string;
|
|
139
|
+
shortName: string;
|
|
140
|
+
emailAddress: string;
|
|
141
|
+
};
|
|
142
|
+
'John Brown': {
|
|
143
|
+
fullName: string;
|
|
144
|
+
shortName: string;
|
|
145
|
+
emailAddress: string;
|
|
146
|
+
};
|
|
147
|
+
'Hugh Phillips': {
|
|
148
|
+
fullName: string;
|
|
149
|
+
shortName: string;
|
|
150
|
+
emailAddress: string;
|
|
151
|
+
};
|
|
152
|
+
'Laura Stevens': {
|
|
153
|
+
fullName: string;
|
|
154
|
+
shortName: string;
|
|
155
|
+
emailAddress: string;
|
|
156
|
+
avatarProps: {
|
|
157
|
+
icon: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
'Joe Stevens': {
|
|
161
|
+
fullName: string;
|
|
162
|
+
shortName: string;
|
|
163
|
+
emailAddress: string;
|
|
164
|
+
};
|
|
165
|
+
'Adam Gillchrist': {
|
|
166
|
+
fullName: string;
|
|
167
|
+
shortName: string;
|
|
168
|
+
emailAddress: string;
|
|
169
|
+
};
|
|
170
|
+
'John Paul': {
|
|
171
|
+
fullName: string;
|
|
172
|
+
shortName: string;
|
|
173
|
+
emailAddress: string;
|
|
174
|
+
};
|
|
175
|
+
'Oran Jacob': {
|
|
176
|
+
fullName: string;
|
|
177
|
+
shortName: string;
|
|
178
|
+
emailAddress: string;
|
|
179
|
+
};
|
|
180
|
+
'Tyson Mike': {
|
|
181
|
+
fullName: string;
|
|
182
|
+
shortName: string;
|
|
183
|
+
emailAddress: string;
|
|
184
|
+
};
|
|
185
|
+
'John Cent': {
|
|
186
|
+
fullName: string;
|
|
187
|
+
shortName: string;
|
|
188
|
+
emailAddress: string;
|
|
189
|
+
};
|
|
190
|
+
'Mystery Rey': {
|
|
191
|
+
fullName: string;
|
|
192
|
+
shortName: string;
|
|
193
|
+
emailAddress: string;
|
|
194
|
+
};
|
|
195
|
+
'Anton, Randy': {
|
|
196
|
+
fullName: string;
|
|
197
|
+
shortName: string;
|
|
198
|
+
emailAddress: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
export declare const mockSuggestedReplies: {
|
|
202
|
+
id: string;
|
|
203
|
+
title: string;
|
|
204
|
+
content: string;
|
|
205
|
+
}[];
|
|
206
|
+
export declare const mockEmailBodyTemplates: {
|
|
207
|
+
id: string;
|
|
208
|
+
title: string;
|
|
209
|
+
content: string;
|
|
210
|
+
}[];
|
|
211
|
+
export declare const generateEmailConversationParticipants: (emails: EmailProps[], fields?: string[] | undefined) => EmailUser[];
|
|
212
|
+
export declare const sentiment: SentimentProps;
|
|
213
|
+
export declare const emailSummaryItems: ({
|
|
214
|
+
id: string;
|
|
215
|
+
activeParticipants: {
|
|
216
|
+
shortName: string;
|
|
217
|
+
fullName: string;
|
|
218
|
+
emailAddress: string;
|
|
219
|
+
}[];
|
|
220
|
+
message: string;
|
|
221
|
+
timeStamp: Date;
|
|
222
|
+
topic: string;
|
|
223
|
+
sentiment: SentimentProps;
|
|
224
|
+
active: boolean;
|
|
225
|
+
urgency: number;
|
|
226
|
+
unreadEmailCount: number;
|
|
227
|
+
} | {
|
|
228
|
+
id: string;
|
|
229
|
+
activeParticipants: {
|
|
230
|
+
shortName: string;
|
|
231
|
+
fullName: string;
|
|
232
|
+
emailAddress: string;
|
|
233
|
+
}[];
|
|
234
|
+
message: string;
|
|
235
|
+
timeStamp: Date;
|
|
236
|
+
topic: string;
|
|
237
|
+
sentiment: SentimentProps;
|
|
238
|
+
urgency: number;
|
|
239
|
+
unreadEmailCount: number;
|
|
240
|
+
active?: undefined;
|
|
241
|
+
} | {
|
|
242
|
+
id: string;
|
|
243
|
+
activeParticipants: {
|
|
244
|
+
shortName: string;
|
|
245
|
+
fullName: string;
|
|
246
|
+
emailAddress: string;
|
|
247
|
+
}[];
|
|
248
|
+
message: string;
|
|
249
|
+
timeStamp: Date;
|
|
250
|
+
topic: string;
|
|
251
|
+
sentiment: SentimentProps;
|
|
252
|
+
urgency: number;
|
|
253
|
+
active?: undefined;
|
|
254
|
+
unreadEmailCount?: undefined;
|
|
255
|
+
})[];
|
|
103
256
|
//# sourceMappingURL=Email.mocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Email.mocks.d.ts","sourceRoot":"","sources":["../../../src/social/Email/Email.mocks.
|
|
1
|
+
{"version":3,"file":"Email.mocks.d.ts","sourceRoot":"","sources":["../../../src/social/Email/Email.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,mBAAmB,EAInB,cAAc,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EACxB,YAAY,EACb,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAEL,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,gBAAgB,gIACkG,CAAC;AAEhI,eAAO,MAAM,gBAAgB,EAAE,kBAAkB,CAAC,aAAa,CAS9D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAgC3D,CAAC;AAEF,eAAO,MAAM,cAAc,UAEiC,CAAC;AAC7D,eAAO,MAAM,cAAc,UAEiC,CAAC;AAC7D,eAAO,MAAM,eAAe,UAEgC,CAAC;AAE7D,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,SAAS,CAsLzD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GzB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,mBAAmB,CAAC,QAAQ,CAarE,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;IAgCzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,gBAAiB,MAAM,YAItD,CAAC;AAEF,eAAO,MAAM,SAAS;;;GAKpB,CAAC;AAEH,eAAO,MAAM,iBAAiB,EAAE,kBAc/B,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,IAAA;IACL,QAAQ,IAAA;IACR,UAAU,IAAA;IACV,OAAO,IAAA;CACR;AAED,eAAO,MAAM,cAAc,EAAE;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;QACpC,WAAW,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;KAClC,CAAC;CACE,CAAC;AAEP,eAAO,MAAM,cAAc,OAAQ,MAAM,gBAAgB,YAAY,KAAG,MAEvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,MAAM,SAIvD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,kBAAkB,CAAC;IAClC,WAAW,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACvC,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;CAC1C,CAWA,CAAC;AAEF,eAAO,MAAM,mBAAmB,OAC1B,MAAM,gBACI,YAAY,iBACX,kBAAkB,UACzB,wBAAwB,CAAC,QAAQ,CAAC,SAqC3C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,SAAS,CAoB9C,CAAC;AAEF,eAAO,MAAM,gBAAgB,WACnB,wBAAwB,CAAC,QAAQ,CAAC,WACjC,UAAU,CAAC,SAAS,CAAC,oBACZ,kBAAkB,CAAC,kBAAkB,CAAC,gBA6DzD,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,oBAAoB;;;;GAAiC,CAAC;AACnE,eAAO,MAAM,sBAAsB;;;;GAAmC,CAAC;AAEvE,eAAO,MAAM,qCAAqC,WAAY,UAAU,EAAE,+CAkBzE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,cAGvB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+MoB,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createRef } from 'react';
|
|
3
|
+
import { createUID, hasProp, MenuButton, Modal } from '@pega/cosmos-react-core';
|
|
4
|
+
import { EmailComposer } from '@pega/cosmos-react-social';
|
|
1
5
|
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>';
|
|
2
6
|
export const emailAttachments = [
|
|
3
7
|
{
|
|
@@ -392,4 +396,361 @@ export const topicListMock = [
|
|
|
392
396
|
}
|
|
393
397
|
}
|
|
394
398
|
];
|
|
399
|
+
export const handleExternalEntry = (filterValue) => {
|
|
400
|
+
const pattern = /^[\w.\-_]+@[a-zA-Z]+(\.[a-zA-Z]{2,3}){1,2}$/;
|
|
401
|
+
const matched = filterValue.match(pattern);
|
|
402
|
+
return !!matched?.input;
|
|
403
|
+
};
|
|
404
|
+
export const templates = EmailMockData.emailBodyTemplates.map(({ id, title }) => {
|
|
405
|
+
return {
|
|
406
|
+
id,
|
|
407
|
+
title
|
|
408
|
+
};
|
|
409
|
+
});
|
|
410
|
+
export const baseComposerProps = {
|
|
411
|
+
progress: false,
|
|
412
|
+
participants,
|
|
413
|
+
externalValidator: handleExternalEntry,
|
|
414
|
+
to: {
|
|
415
|
+
reply: toParticipants.slice(0, 1),
|
|
416
|
+
replyAll: toParticipants
|
|
417
|
+
},
|
|
418
|
+
cc: ccParticipants,
|
|
419
|
+
subject: '',
|
|
420
|
+
bodyContent: '',
|
|
421
|
+
onSend: () => { },
|
|
422
|
+
onCancel: () => { },
|
|
423
|
+
templates
|
|
424
|
+
};
|
|
425
|
+
export var LaunchAction;
|
|
426
|
+
(function (LaunchAction) {
|
|
427
|
+
LaunchAction[LaunchAction["REPLY"] = 0] = "REPLY";
|
|
428
|
+
LaunchAction[LaunchAction["REPLYALL"] = 1] = "REPLYALL";
|
|
429
|
+
LaunchAction[LaunchAction["SUGGESTION"] = 2] = "SUGGESTION";
|
|
430
|
+
LaunchAction[LaunchAction["FORWARD"] = 3] = "FORWARD";
|
|
431
|
+
})(LaunchAction || (LaunchAction = {}));
|
|
432
|
+
export const composerModals = {};
|
|
433
|
+
export const getCompositeId = (id, launchAction) => {
|
|
434
|
+
return `${id}-${launchAction}`;
|
|
435
|
+
};
|
|
436
|
+
export const handleComposerCancel = (compositeID) => {
|
|
437
|
+
composerModals[compositeID]?.dismissModal();
|
|
438
|
+
composerModals[compositeID]?.unMountModal();
|
|
439
|
+
delete composerModals[compositeID];
|
|
440
|
+
};
|
|
441
|
+
export const ComposerModalComponent = ({ compositeId, composerProps, composerRef, progress }) => {
|
|
442
|
+
return (_jsx(Modal, { heading: composerProps.subject, options: { id: { compositeId } }, children: _jsx(EmailComposer, { ...composerProps, ref: composerRef, onCancel: () => handleComposerCancel(compositeId), progress: progress }, void 0) }, void 0));
|
|
443
|
+
};
|
|
444
|
+
export const launchEmailComposer = (id, launchAction, composerProps, create) => {
|
|
445
|
+
const compositeId = getCompositeId(id, launchAction);
|
|
446
|
+
const composerRef = createRef();
|
|
447
|
+
const composerPropsWithOnSend = {
|
|
448
|
+
...composerProps,
|
|
449
|
+
onSend: () => {
|
|
450
|
+
composerModals[compositeId]?.updateModal({
|
|
451
|
+
progress: {
|
|
452
|
+
message: 'Sending..'
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
setTimeout(() => {
|
|
456
|
+
// Mimics an api call
|
|
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 = (_jsx(MenuButton, { text: 'Email actions', variant: 'simple', icon: 'more', iconOnly: true, 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
|
+
} }, void 0));
|
|
488
|
+
export const emailDemoActions = (create, subject, onTemplateChange) => {
|
|
489
|
+
const id = createUID();
|
|
490
|
+
return (_jsx(MenuButton, { text: 'Email actions', variant: 'simple', icon: 'more', iconOnly: true, 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
|
+
} }, void 0));
|
|
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}` }));
|
|
395
756
|
//# sourceMappingURL=Email.mocks.js.map
|