@pega/cosmos-react-demos 5.0.0-dev.1.0 → 5.0.0-dev.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
- package/jsx/core/AIButton/AIButton.mocks.d.ts +1 -1
- package/jsx/core/AIButton/AIButton.mocks.d.ts.map +1 -1
- package/jsx/core/AIButton/AIButton.mocks.js.map +1 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +1 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
- package/jsx/core/AppShell/AppShell.mocks.d.ts +3 -3
- package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
- package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
- package/jsx/core/Avatar/Avatar.stories.jsx +1 -2
- package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
- package/jsx/core/Badges/Status.stories.jsx +2 -2
- package/jsx/core/Badges/Status.stories.jsx.map +1 -1
- package/jsx/core/Banner/Banner.mocks.d.ts +1 -1
- package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +39 -11
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -3
- package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +4 -10
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx +1 -2
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts +3 -1
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
- package/jsx/core/ComboBox/{ComboBox.mocks.js → ComboBox.mocks.jsx} +5 -1
- package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
- package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
- package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
- package/jsx/core/ComboBox/ComboBox.stories.jsx +15 -13
- package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +2 -2
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx +1 -3
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
- package/jsx/core/Configuration/Configuration.mocks.d.ts +1 -1
- package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -1
- package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
- package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -1
- package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
- package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
- package/jsx/core/Currency/Currency.stories.jsx +0 -1
- package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTime.stories.jsx +0 -10
- package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +10 -5
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
- package/jsx/core/Dialog/FormDialog.mocks.d.ts +3 -3
- package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
- package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -1
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts +2 -2
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
- package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx +6 -2
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +4 -4
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -1
- package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +1 -1
- package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/jsx/core/File/FileDisplay.stories.jsx +3 -1
- package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
- package/jsx/core/File/FileInput.stories.d.ts +1 -0
- package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
- package/jsx/core/File/FileInput.stories.jsx +33 -6
- package/jsx/core/File/FileInput.stories.jsx.map +1 -1
- package/jsx/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
- package/jsx/core/File/FileService.mock.d.ts.map +1 -0
- package/jsx/core/File/FileService.mock.jsx.map +1 -0
- package/jsx/core/File/MockFileInput.d.ts +6 -0
- package/jsx/core/File/MockFileInput.d.ts.map +1 -0
- package/jsx/core/File/MockFileInput.jsx +24 -0
- package/jsx/core/File/MockFileInput.jsx.map +1 -0
- package/jsx/core/Form/Form.mocks.d.ts +2 -2
- package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
- package/jsx/core/Form/Form.mocks.jsx +64 -14
- package/jsx/core/Form/Form.mocks.jsx.map +1 -1
- package/jsx/core/Icon/Icon.mocks.d.ts +24 -1
- package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.mocks.jsx +23 -0
- package/jsx/core/Icon/Icon.mocks.jsx.map +1 -1
- package/jsx/core/Icon/Icon.stories.d.ts +11 -1
- package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.stories.jsx +41 -7
- package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
- package/jsx/core/Input/Input.stories.d.ts.map +1 -1
- package/jsx/core/Input/Input.stories.jsx +0 -1
- package/jsx/core/Input/Input.stories.jsx.map +1 -1
- package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +5 -5
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx +27 -4
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts +1 -1
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
- package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -1
- package/jsx/core/Location/Location.stories.d.ts.map +1 -1
- package/jsx/core/Location/Location.stories.jsx +0 -1
- package/jsx/core/Location/Location.stories.jsx.map +1 -1
- package/jsx/core/Menu/Menu.mocks.d.ts +1 -1
- package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -1
- package/jsx/core/Menu/Menu.mocks.js.map +1 -1
- package/jsx/core/Modal/Modal.mocks.d.ts +1 -1
- package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
- package/jsx/core/Modal/Modal.stories.d.ts +1 -0
- package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
- package/jsx/core/Modal/Modal.stories.jsx +20 -3
- package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +7 -7
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
- package/jsx/core/Number/Number.stories.d.ts.map +1 -1
- package/jsx/core/Number/Number.stories.jsx +6 -2
- package/jsx/core/Number/Number.stories.jsx.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
- package/jsx/core/Phone/Phone.stories.jsx +0 -1
- package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
- package/jsx/core/Popover/Popover.mocks.d.ts +2 -2
- package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -1
- package/jsx/core/Popover/Popover.mocks.jsx.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -3
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +4 -10
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
- package/jsx/core/Select/Select.stories.d.ts.map +1 -1
- package/jsx/core/Select/Select.stories.jsx +0 -1
- package/jsx/core/Select/Select.stories.jsx.map +1 -1
- package/jsx/core/Slider/Slider.stories.d.ts +1 -0
- package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
- package/jsx/core/Slider/Slider.stories.jsx +24 -4
- package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts +2 -2
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
- package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -1
- package/jsx/core/Table/Table.mocks.d.ts +1 -1
- package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
- package/jsx/core/TextArea/TextArea.stories.jsx +0 -1
- package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
- package/jsx/core/Tree/Tree.mocks.js.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +3 -3
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +2 -2
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +3 -3
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/Popover.d.ts +3 -3
- package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +4 -4
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
- package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -1
- package/jsx/rte/Editor/Editor.mocks.d.ts +7 -1
- package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
- package/jsx/rte/Editor/Editor.mocks.jsx +0 -1
- package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -1
- package/jsx/rte/Editor/Editor.stories.d.ts +5 -1
- package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/jsx/rte/Editor/Editor.stories.jsx +54 -9
- package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -1
- package/jsx/social/Chat/Chat.mocks.d.ts +5 -17
- package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
- package/jsx/social/Chat/Chat.mocks.js +1 -21
- package/jsx/social/Chat/Chat.mocks.js.map +1 -1
- package/jsx/social/Chat/Chat.stories.d.ts +4 -0
- package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
- package/jsx/social/Chat/Chat.stories.jsx +100 -42
- package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
- package/jsx/social/Email/Email.mocks.d.ts +6 -6
- package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
- package/jsx/social/Email/Email.mocks.jsx.map +1 -1
- package/jsx/social/Email/Email.stories.d.ts +4 -0
- package/jsx/social/Email/Email.stories.d.ts.map +1 -1
- package/jsx/social/Email/Email.stories.jsx +48 -21
- package/jsx/social/Email/Email.stories.jsx.map +1 -1
- package/jsx/social/Feed/Feed.mocks.d.ts +6 -6
- package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.mocks.jsx +24 -0
- package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
- package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.stories.jsx +70 -16
- package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts +2 -2
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -1
- package/jsx/social/Feed/FeedPost.mocks.d.ts +1 -1
- package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/FeedPost.mocks.jsx +32 -17
- package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -1
- package/jsx/social/Feed/FeedReply.mocks.d.ts +1 -1
- package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/FeedReply.mocks.jsx +24 -17
- package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -1
- package/jsx/work/Article/Article.mocks.d.ts +4 -0
- package/jsx/work/Article/Article.mocks.d.ts.map +1 -1
- package/jsx/work/Article/Article.mocks.js +7 -3
- package/jsx/work/Article/Article.mocks.js.map +1 -1
- package/jsx/work/Article/Article.stories.d.ts +1 -0
- package/jsx/work/Article/Article.stories.d.ts.map +1 -1
- package/jsx/work/Article/Article.stories.jsx +77 -34
- package/jsx/work/Article/Article.stories.jsx.map +1 -1
- package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
- package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +62 -0
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +1 -0
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts +39 -20
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
- package/jsx/work/ArticleList/ArticleList.mocks.js +164 -78
- package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -1
- package/jsx/work/ArticleList/ArticleList.stories.d.ts +1 -0
- package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/jsx/work/ArticleList/ArticleList.stories.jsx +219 -32
- package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -1
- package/jsx/work/CaseView/Attachments.mocks.d.ts +1 -1
- package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
- package/jsx/work/CaseView/Attachments.mocks.jsx +1 -1
- package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
- package/jsx/work/CaseView/CaseView.mocks.d.ts +25 -15
- package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/jsx/work/CaseView/CaseView.mocks.jsx +69 -14
- package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.d.ts +1 -1
- package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.jsx +0 -9
- package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
- package/jsx/work/CaseView/Details.mocks.d.ts +1 -1
- package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
- package/jsx/work/CaseView/Pulse.mocks.d.ts +2 -2
- package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
- package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +6 -6
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -1
- package/jsx/work/Details/Details.stories.d.ts +2 -0
- package/jsx/work/Details/Details.stories.d.ts.map +1 -1
- package/jsx/work/Details/Details.stories.jsx +29 -5
- package/jsx/work/Details/Details.stories.jsx.map +1 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +2 -252
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
- package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
- package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
- package/jsx/{cs → work}/InteractionNotification/InteractionNotification.stories.jsx +6 -4
- package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +1 -0
- package/jsx/work/Predictions/Predictions.mocks.d.ts +1 -1
- package/jsx/work/Predictions/Predictions.mocks.d.ts.map +1 -1
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts +3 -3
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
- package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
- package/jsx/work/Stages/Stages.mocks.d.ts +1 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +3 -3
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
- package/jsx/work/Timeline/Timeline.mocks.d.ts +1 -1
- package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
- package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
- package/jsx/wss/AppShell/AppShell.mocks.d.ts +3 -3
- package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/jsx/wss/CaseView/CaseView.mocks.d.ts +1 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +4 -11
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +11 -20
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +1 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
- package/lib/core/AIButton/AIButton.mocks.d.ts +1 -1
- package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -1
- package/lib/core/AIButton/AIButton.mocks.js.map +1 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +2 -2
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +1 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
- package/lib/core/AppShell/AppShell.mocks.d.ts +1 -1
- package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
- package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
- package/lib/core/Avatar/Avatar.stories.js +1 -2
- package/lib/core/Avatar/Avatar.stories.js.map +1 -1
- package/lib/core/Badges/Status.stories.js +2 -2
- package/lib/core/Badges/Status.stories.js.map +1 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +39 -11
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.js +0 -3
- package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +4 -10
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.stories.js +1 -2
- package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
- package/lib/core/ComboBox/ComboBox.mocks.d.ts +3 -1
- package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
- package/lib/core/ComboBox/ComboBox.mocks.js +3 -0
- package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -1
- package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
- package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
- package/lib/core/ComboBox/ComboBox.stories.js +15 -13
- package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.stories.js +1 -3
- package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
- package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
- package/lib/core/CreditCard/CreditCard.stories.js +0 -1
- package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
- package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
- package/lib/core/Currency/Currency.stories.js +0 -1
- package/lib/core/Currency/Currency.stories.js.map +1 -1
- package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTime.stories.js +0 -10
- package/lib/core/DateTime/DateTime.stories.js.map +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.js +10 -5
- package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
- package/lib/core/Dialog/FormDialog.mocks.d.ts +1 -1
- package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
- package/lib/core/Dialog/FormDialog.mocks.js.map +1 -1
- package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
- package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.js +6 -2
- package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -1
- package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/lib/core/File/FileDisplay.stories.js +3 -1
- package/lib/core/File/FileDisplay.stories.js.map +1 -1
- package/lib/core/File/FileInput.stories.d.ts +1 -0
- package/lib/core/File/FileInput.stories.d.ts.map +1 -1
- package/lib/core/File/FileInput.stories.js +20 -7
- package/lib/core/File/FileInput.stories.js.map +1 -1
- package/lib/{work/CaseView → core/File}/FileService.mock.d.ts +2 -2
- package/lib/core/File/FileService.mock.d.ts.map +1 -0
- package/lib/core/File/FileService.mock.js.map +1 -0
- package/lib/core/File/MockFileInput.d.ts +6 -0
- package/lib/core/File/MockFileInput.d.ts.map +1 -0
- package/lib/core/File/MockFileInput.js +25 -0
- package/lib/core/File/MockFileInput.js.map +1 -0
- package/lib/core/Form/Form.mocks.d.ts.map +1 -1
- package/lib/core/Form/Form.mocks.js +48 -3
- package/lib/core/Form/Form.mocks.js.map +1 -1
- package/lib/core/Icon/Icon.mocks.d.ts +24 -1
- package/lib/core/Icon/Icon.mocks.d.ts.map +1 -1
- package/lib/core/Icon/Icon.mocks.js +23 -0
- package/lib/core/Icon/Icon.mocks.js.map +1 -1
- package/lib/core/Icon/Icon.stories.d.ts +11 -1
- package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
- package/lib/core/Icon/Icon.stories.js +41 -7
- package/lib/core/Icon/Icon.stories.js.map +1 -1
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js +0 -1
- package/lib/core/Input/Input.stories.js.map +1 -1
- package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +3 -3
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts +1 -0
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.stories.js +14 -5
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
- package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
- package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -1
- package/lib/core/Location/Location.stories.d.ts.map +1 -1
- package/lib/core/Location/Location.stories.js +0 -1
- package/lib/core/Location/Location.stories.js.map +1 -1
- package/lib/core/Menu/Menu.mocks.d.ts +1 -1
- package/lib/core/Menu/Menu.mocks.d.ts.map +1 -1
- package/lib/core/Menu/Menu.mocks.js.map +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +1 -0
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.js +14 -3
- package/lib/core/Modal/Modal.stories.js.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +2 -2
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
- package/lib/core/Number/Number.stories.d.ts.map +1 -1
- package/lib/core/Number/Number.stories.js +6 -2
- package/lib/core/Number/Number.stories.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +1 -1
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
- package/lib/core/Phone/Phone.stories.js +0 -1
- package/lib/core/Phone/Phone.stories.js.map +1 -1
- package/lib/core/Popover/Popover.mocks.d.ts +1 -1
- package/lib/core/Popover/Popover.mocks.d.ts.map +1 -1
- package/lib/core/Popover/Popover.mocks.js.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.js +0 -3
- package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +4 -10
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js +0 -1
- package/lib/core/Select/Select.stories.js.map +1 -1
- package/lib/core/Slider/Slider.stories.d.ts +1 -0
- package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
- package/lib/core/Slider/Slider.stories.js +11 -5
- package/lib/core/Slider/Slider.stories.js.map +1 -1
- package/lib/core/SummaryList/SummaryList.mocks.d.ts +2 -2
- package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -1
- package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -1
- package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
- package/lib/core/TextArea/TextArea.stories.js +0 -1
- package/lib/core/TextArea/TextArea.stories.js.map +1 -1
- package/lib/core/Tree/Tree.mocks.js.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +1 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/Demo.js.map +1 -1
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -1
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +2 -2
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -1
- package/lib/dnd/StandardDragDropList/Popover.d.ts +2 -2
- package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/Popover.js.map +1 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +3 -3
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +2 -2
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +3 -3
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -1
- package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -1
- package/lib/rte/Editor/Editor.mocks.d.ts +7 -1
- package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
- package/lib/rte/Editor/Editor.mocks.js +0 -1
- package/lib/rte/Editor/Editor.mocks.js.map +1 -1
- package/lib/rte/Editor/Editor.stories.d.ts +5 -1
- package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/rte/Editor/Editor.stories.js +40 -9
- package/lib/rte/Editor/Editor.stories.js.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -1
- package/lib/social/Chat/Chat.mocks.d.ts +5 -17
- package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
- package/lib/social/Chat/Chat.mocks.js +1 -21
- package/lib/social/Chat/Chat.mocks.js.map +1 -1
- package/lib/social/Chat/Chat.stories.d.ts +4 -0
- package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
- package/lib/social/Chat/Chat.stories.js +101 -38
- package/lib/social/Chat/Chat.stories.js.map +1 -1
- package/lib/social/Email/Email.mocks.d.ts +5 -5
- package/lib/social/Email/Email.mocks.d.ts.map +1 -1
- package/lib/social/Email/Email.mocks.js.map +1 -1
- package/lib/social/Email/Email.stories.d.ts +4 -0
- package/lib/social/Email/Email.stories.d.ts.map +1 -1
- package/lib/social/Email/Email.stories.js +48 -26
- package/lib/social/Email/Email.stories.js.map +1 -1
- package/lib/social/Feed/Feed.mocks.d.ts +4 -4
- package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
- package/lib/social/Feed/Feed.mocks.js +24 -0
- package/lib/social/Feed/Feed.mocks.js.map +1 -1
- package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
- package/lib/social/Feed/Feed.stories.js +70 -16
- package/lib/social/Feed/Feed.stories.js.map +1 -1
- package/lib/social/Feed/FeedNewPost.mocks.d.ts +1 -1
- package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -1
- package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedPost.mocks.js +32 -17
- package/lib/social/Feed/FeedPost.mocks.js.map +1 -1
- package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedReply.mocks.js +23 -16
- package/lib/social/Feed/FeedReply.mocks.js.map +1 -1
- package/lib/work/Article/Article.mocks.d.ts +4 -0
- package/lib/work/Article/Article.mocks.d.ts.map +1 -1
- package/lib/work/Article/Article.mocks.js +7 -3
- package/lib/work/Article/Article.mocks.js.map +1 -1
- package/lib/work/Article/Article.stories.d.ts +1 -0
- package/lib/work/Article/Article.stories.d.ts.map +1 -1
- package/lib/work/Article/Article.stories.js +78 -34
- package/lib/work/Article/Article.stories.js.map +1 -1
- package/lib/work/ArticleList/ArticleBuddy.stories.d.ts +11 -0
- package/lib/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -0
- package/lib/work/ArticleList/ArticleBuddy.stories.js +63 -0
- package/lib/work/ArticleList/ArticleBuddy.stories.js.map +1 -0
- package/lib/work/ArticleList/ArticleList.mocks.d.ts +39 -20
- package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
- package/lib/work/ArticleList/ArticleList.mocks.js +164 -78
- package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -1
- package/lib/work/ArticleList/ArticleList.stories.d.ts +1 -0
- package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/lib/work/ArticleList/ArticleList.stories.js +219 -32
- package/lib/work/ArticleList/ArticleList.stories.js.map +1 -1
- package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
- package/lib/work/CaseView/Attachments.mocks.js +1 -1
- package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
- package/lib/work/CaseView/CaseView.mocks.d.ts +16 -6
- package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/lib/work/CaseView/CaseView.mocks.js +67 -14
- package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
- package/lib/work/CaseView/CaseView.stories.d.ts +1 -1
- package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/lib/work/CaseView/CaseView.stories.js +0 -11
- package/lib/work/CaseView/CaseView.stories.js.map +1 -1
- package/lib/work/CaseView/Pulse.mocks.d.ts +1 -1
- package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -1
- package/lib/work/CaseView/Pulse.mocks.js.map +1 -1
- package/lib/work/Details/Details.stories.d.ts +2 -0
- package/lib/work/Details/Details.stories.d.ts.map +1 -1
- package/lib/work/Details/Details.stories.js +13 -5
- package/lib/work/Details/Details.stories.js.map +1 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +3 -235
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
- package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.d.ts +1 -0
- package/lib/work/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -0
- package/lib/{cs → work}/InteractionNotification/InteractionNotification.stories.js +6 -4
- package/lib/work/InteractionNotification/InteractionNotification.stories.js.map +1 -0
- package/lib/work/SearchResults/SearchResults.mocks.d.ts +3 -3
- package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
- package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +2 -2
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
- package/lib/work/Timeline/Timeline.mocks.d.ts +1 -1
- package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
- package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.js +4 -3
- package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +4 -3
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.js +11 -18
- package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
- package/package.json +16 -25
- package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -44
- package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/jsx/build/AppShell/AppShell.mocks.jsx +0 -419
- package/jsx/build/AppShell/AppShell.mocks.jsx.map +0 -1
- package/jsx/build/AppShell/AppShell.stories.d.ts +0 -20
- package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
- package/jsx/build/AppShell/AppShell.stories.jsx +0 -201
- package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -101
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
- package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +0 -11
- package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
- package/jsx/build/DynamicContentEditor/FieldSelector.jsx +0 -80
- package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +0 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +0 -344
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +0 -1
- package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
- package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
- package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
- package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
- package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +0 -559
- package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -501
- package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
- package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
- package/jsx/build/FlowModeller/FlowModeller.styles.js +0 -8
- package/jsx/build/FlowModeller/FlowModeller.styles.js.map +0 -1
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +0 -44
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +0 -1
- package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
- package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
- package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1256
- package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -873
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
- package/jsx/build/LifeCycle/utils.d.ts +0 -123
- package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
- package/jsx/build/LifeCycle/utils.js +0 -302
- package/jsx/build/LifeCycle/utils.js.map +0 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx +0 -38
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +0 -1
- package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
- package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
- package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +0 -78
- package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -397
- package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +0 -258
- package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
- package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
- package/jsx/build/ObjectSelect/ObjectSelect.styles.js +0 -27
- package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
- package/jsx/build/PageBanner/PageBanner.stories.d.ts +0 -15
- package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
- package/jsx/build/PageBanner/PageBanner.stories.jsx +0 -41
- package/jsx/build/PageBanner/PageBanner.stories.jsx.map +0 -1
- package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
- package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
- package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +0 -24
- package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +0 -1
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
- package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -49
- package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
- package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
- package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
- package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +0 -144
- package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +0 -1
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -255
- package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
- package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
- package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
- package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +0 -42
- package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +0 -1
- package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
- package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
- package/jsx/build/Workbench/Workbench.mocks.js +0 -67
- package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
- package/jsx/build/Workbench/Workbench.stories.d.ts +0 -11
- package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
- package/jsx/build/Workbench/Workbench.stories.jsx +0 -288
- package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
- package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
- package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
- package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
- package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +0 -432
- package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +0 -1
- package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
- package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
- package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +0 -173
- package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +0 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
- package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
- package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -330
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
- package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
- package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
- package/jsx/cs/DialPad/DialPad.stories.jsx +0 -20
- package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
- package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
- package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
- package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
- package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
- package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -87
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
- package/jsx/cs/Picker/Picker.stories.d.ts +0 -11
- package/jsx/cs/Picker/Picker.stories.d.ts.map +0 -1
- package/jsx/cs/Picker/Picker.stories.jsx +0 -64
- package/jsx/cs/Picker/Picker.stories.jsx.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
- package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -228
- package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -15
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -420
- package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.styles.d.ts +0 -3
- package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
- package/jsx/cs/TaskManager/TaskManager.styles.js +0 -9
- package/jsx/cs/TaskManager/TaskManager.styles.js.map +0 -1
- package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
- package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
- package/jsx/tools/Clipboard/Clipboard.mocks.jsx +0 -81
- package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +0 -1
- package/jsx/tools/Clipboard/Clipboard.stories.d.ts +0 -6
- package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
- package/jsx/tools/Clipboard/Clipboard.stories.jsx +0 -67
- package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +0 -1
- package/jsx/tools/DevTools/DevTools.mocks.d.ts +0 -3
- package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
- package/jsx/tools/DevTools/DevTools.mocks.js +0 -3
- package/jsx/tools/DevTools/DevTools.mocks.js.map +0 -1
- package/jsx/tools/DevTools/DevTools.stories.d.ts +0 -10
- package/jsx/tools/DevTools/DevTools.stories.d.ts.map +0 -1
- package/jsx/tools/DevTools/DevTools.stories.jsx +0 -33
- package/jsx/tools/DevTools/DevTools.stories.jsx.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
- package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +0 -80
- package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
- package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +0 -184
- package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
- package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
- package/jsx/tools/PreviewShell/PreviewShell.styles.js +0 -6
- package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
- package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
- package/jsx/work/CaseView/FileService.mock.jsx.map +0 -1
- package/lib/build/AppShell/AppShell.mocks.d.ts +0 -44
- package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/lib/build/AppShell/AppShell.mocks.js +0 -419
- package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
- package/lib/build/AppShell/AppShell.stories.d.ts +0 -20
- package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
- package/lib/build/AppShell/AppShell.stories.js +0 -200
- package/lib/build/AppShell/AppShell.stories.js.map +0 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +0 -85
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
- package/lib/build/DynamicContentEditor/FieldSelector.d.ts +0 -14
- package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
- package/lib/build/DynamicContentEditor/FieldSelector.js +0 -81
- package/lib/build/DynamicContentEditor/FieldSelector.js.map +0 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +0 -339
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +0 -1
- package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
- package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
- package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
- package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
- package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -536
- package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.stories.js +0 -481
- package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
- package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
- package/lib/build/FlowModeller/FlowModeller.styles.js +0 -8
- package/lib/build/FlowModeller/FlowModeller.styles.js.map +0 -1
- package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
- package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
- package/lib/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
- package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
- package/lib/build/ItemLibrary/LibraryPicker.stories.js +0 -39
- package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +0 -1
- package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
- package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
- package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1256
- package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
- package/lib/build/LifeCycle/LifeCycle.stories.js +0 -870
- package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
- package/lib/build/LifeCycle/utils.d.ts +0 -123
- package/lib/build/LifeCycle/utils.d.ts.map +0 -1
- package/lib/build/LifeCycle/utils.js +0 -302
- package/lib/build/LifeCycle/utils.js.map +0 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
- package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
- package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js +0 -39
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +0 -1
- package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
- package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
- package/lib/build/ObjectPreview/ObjectPreview.mocks.js +0 -74
- package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
- package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -370
- package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.stories.js +0 -240
- package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
- package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
- package/lib/build/ObjectSelect/ObjectSelect.styles.js +0 -27
- package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
- package/lib/build/PageBanner/PageBanner.stories.d.ts +0 -15
- package/lib/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
- package/lib/build/PageBanner/PageBanner.stories.js +0 -42
- package/lib/build/PageBanner/PageBanner.stories.js.map +0 -1
- package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
- package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
- package/lib/build/PageTemplates/GalleryPage.mocks.js +0 -25
- package/lib/build/PageTemplates/GalleryPage.mocks.js.map +0 -1
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
- package/lib/build/PageTemplates/GalleryPage.stories.js +0 -50
- package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
- package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
- package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
- package/lib/build/PageTemplates/PageTemplates.mocks.js +0 -107
- package/lib/build/PageTemplates/PageTemplates.mocks.js.map +0 -1
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/lib/build/PageTemplates/PageTemplates.stories.js +0 -246
- package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
- package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
- package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
- package/lib/build/PageTemplates/ShowcasePage.stories.js +0 -43
- package/lib/build/PageTemplates/ShowcasePage.stories.js.map +0 -1
- package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
- package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
- package/lib/build/Workbench/Workbench.mocks.js +0 -67
- package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
- package/lib/build/Workbench/Workbench.stories.d.ts +0 -11
- package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
- package/lib/build/Workbench/Workbench.stories.js +0 -273
- package/lib/build/Workbench/Workbench.stories.js.map +0 -1
- package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
- package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
- package/lib/cs/CSAppShell/CSAppShell.mocks.js +0 -385
- package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +0 -1
- package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
- package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
- package/lib/cs/CSAppShell/CSAppShell.stories.js +0 -172
- package/lib/cs/CSAppShell/CSAppShell.stories.js.map +0 -1
- package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
- package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
- package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
- package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -331
- package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
- package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
- package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
- package/lib/cs/DialPad/DialPad.stories.js +0 -19
- package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
- package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
- package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
- package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
- package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
- package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
- package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -88
- package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
- package/lib/cs/Picker/Picker.stories.d.ts +0 -11
- package/lib/cs/Picker/Picker.stories.d.ts.map +0 -1
- package/lib/cs/Picker/Picker.stories.js +0 -56
- package/lib/cs/Picker/Picker.stories.js.map +0 -1
- package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
- package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
- package/lib/cs/TaskManager/TaskManager.mocks.js +0 -228
- package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
- package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -15
- package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
- package/lib/cs/TaskManager/TaskManager.stories.js +0 -396
- package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
- package/lib/cs/TaskManager/TaskManager.styles.d.ts +0 -3
- package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
- package/lib/cs/TaskManager/TaskManager.styles.js +0 -9
- package/lib/cs/TaskManager/TaskManager.styles.js.map +0 -1
- package/lib/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
- package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
- package/lib/tools/Clipboard/Clipboard.mocks.js +0 -74
- package/lib/tools/Clipboard/Clipboard.mocks.js.map +0 -1
- package/lib/tools/Clipboard/Clipboard.stories.d.ts +0 -6
- package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
- package/lib/tools/Clipboard/Clipboard.stories.js +0 -74
- package/lib/tools/Clipboard/Clipboard.stories.js.map +0 -1
- package/lib/tools/DevTools/DevTools.mocks.d.ts +0 -3
- package/lib/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
- package/lib/tools/DevTools/DevTools.mocks.js +0 -3
- package/lib/tools/DevTools/DevTools.mocks.js.map +0 -1
- package/lib/tools/DevTools/DevTools.stories.d.ts +0 -10
- package/lib/tools/DevTools/DevTools.stories.d.ts.map +0 -1
- package/lib/tools/DevTools/DevTools.stories.js +0 -29
- package/lib/tools/DevTools/DevTools.stories.js.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
- package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.mocks.js +0 -77
- package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
- package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.stories.js +0 -181
- package/lib/tools/PreviewShell/PreviewShell.stories.js.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
- package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
- package/lib/tools/PreviewShell/PreviewShell.styles.js +0 -6
- package/lib/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
- package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
- package/lib/work/CaseView/FileService.mock.js.map +0 -1
- /package/jsx/{work/CaseView → core/File}/FileService.mock.jsx +0 -0
- /package/lib/{work/CaseView → core/File}/FileService.mock.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.mocks.js","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkC,MAAM,yBAAyB,CAAC;AAGpF,MAAM,CAAC,MAAM,eAAe,GAA8B;IACxD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,6CAA6C;QACtD,SAAS,EAAE,SAAS;KACrB;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,IAAI;QACf,UAAU,EAAE;YACV,IAAI,EAAE,gBAAgB;SACvB;QACD,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,qDAAqD;KAC/D;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,wBAAwB;KAClC;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,mBAAmB;KAC7B;IACD;QACE,EA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QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE;YACV,IAAI,EAAE,cAAc;SACrB;QACD,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,SAAS;QACpB,cAAc,EAAE;YACd;gBACE,EAAE,EAAE,SAAS,EAAE;gBACf,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,gBAAgB;aACxB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,oBAAoB;QAC3B,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,kCAAkC;QACzC,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC","sourcesContent":["import { createUID, FieldValueListProps, MenuProps } from '@pega/cosmos-react-core';\nimport { ChatBodyProps } from '@pega/cosmos-react-social';\n\nexport const BotConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n timestamp: '1:44 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:45 PM',\n senderId: 'gingerVentura',\n message: 'Hi, I would like to know the validity of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'You have two policies.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: '1457589, 1473284.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Which among these policies do you want to know the validity of?',\n timestamp: '1:45 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:47 PM',\n senderId: 'gingerVentura',\n message: 'Please give me validity of policy with number 1457589.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:48 PM',\n message: 'Policy with number 1457589 is expiring on 12th December, 2023.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:49 PM',\n message: 'Is there anything else that you need help with?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:51 PM',\n senderId: 'gingerVentura',\n message: 'Yes, I would like to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:52 PM',\n message: 'Sure, I am transferring this chat to the concerned department.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:52 PM',\n message: 'Chat routed to a live agent.'\n }\n];\n\nexport const ClaimsAgentConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:54 PM',\n message: 'John Brown joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Hi Ginger Ventura, I see that you want to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Please go to link to get detailed information about claims process.',\n timestamp: '1:55 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'UPlus - Claims process'\n }\n ]\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:56 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message:\n 'Hi Ginger Ventura, I am the supervisor. You may also contact the nearest branch for a physical copy of the claims process.',\n timestamp: '1:57 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:57 PM',\n senderId: 'gingerVentura',\n message:\n 'Thanks for the information. I would also like to update the mobile number of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Sure, I need to transfer you to a specialist to get you the needed help.',\n timestamp: '1:58 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:58 PM',\n senderId: 'gingerVentura',\n message: 'Okay.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:59 PM',\n message: 'Transfer request initiated'\n }\n];\nexport const LiveChatConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:01 PM',\n message: 'Edward Green joined the conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Hi Ginger Ventura, Please provide your phone number that needs to be updated.',\n timestamp: '2:02PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:03 PM',\n senderId: 'gingerVentura',\n message: 'Please update the policy with 9812764132.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Your mobile number is updated successfully.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'This number will be used for all communcation regarding your policy',\n timestamp: '2:05 PM',\n status: 'delivered'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:04 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Please download the updated policy',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n },\n {\n id: createUID(),\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB'\n }\n ],\n timestamp: '2:05 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:06 PM',\n senderId: 'gingerVentura',\n message: 'Thank you'\n }\n];\n\nexport const SimulatedConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You are welcome, Is there anything else you need help with?',\n timestamp: '2:07 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:09 PM',\n senderId: 'gingerVentura',\n message: 'Can you please let me know the information about the newly launched policies?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'We have new plans in term insurance and health insurance.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Do you want me to share the information on both?',\n timestamp: '2:10 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Yes, please.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'I am also interested in knowing endowment plans as well.',\n timestamp: '2:11 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Okay, Let me find the relevant information for you.',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'We have a newly launched pension plan as well. Would you be interested in it?',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message:\n 'I am not looking for a pension plan at the moment. However, share the details of this plan also.',\n timestamp: '2:13 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Sure, I share the details in a moment.',\n timestamp: '2:14 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You can find details of the term insurance in this link',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-promo-1.jpg',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Health insurance details can be found here',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/offer.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Visit this link for details on pension plan',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/retail_bank/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/retail_bank/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Here are the details of endowment plans',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n }\n ],\n timestamp: '2:16 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Great, Thank you',\n timestamp: '2:17 PM'\n },\n {\n id: createUID(),\n type: 'system',\n message: 'Customer left this conversation',\n timestamp: '2:19 PM'\n }\n];\n\nexport const ChatMockData = {\n chatMessages: SimulatedConversation,\n defaultAttachments: [\n {\n name: 'Policy.doc',\n progress: 100,\n onDelete: () => {}\n },\n {\n name: 'E-Ticket',\n onDelete: () => {}\n }\n ],\n suggestedReplies: [\n {\n id: createUID(),\n message: 'Hello, Good morning Ginger Ventura. How can I help you today',\n confidence: 94\n },\n {\n id: createUID(),\n message:\n 'Sorry to hear that. I will surely help you resolve the issue. Can you please provide the policy id, so that I can get more details',\n confidence: 75\n },\n {\n id: 'suggested_reply_3',\n message: 'Hello! How can I assist you today?',\n confidence: 40\n },\n {\n id: 'suggested_reply_4',\n message: 'Thanks for contacting our support team',\n confidence: 20\n },\n {\n id: createUID(),\n message: 'Happy to help. Is there anything else I can help with?',\n confidence: 75\n }\n ]\n};\n\nexport const phrasesDisplayNames: MenuProps['items'] = [\n {\n id: '1',\n primary: 'Account',\n items: [\n {\n id: '1-1',\n primary: 'Account balance'\n }\n ]\n },\n {\n id: '2',\n primary: 'Agreement',\n items: [\n {\n id: '2-1',\n primary: 'End of a case/interaction'\n },\n {\n id: '2-2',\n primary: 'Mid interaction'\n }\n ]\n },\n {\n id: '3',\n primary: 'Apologize',\n items: [\n {\n id: '3-1',\n primary: 'Apologize - ask customer to'\n },\n {\n id: '3-2',\n primary: 'Thanks for patience'\n }\n ]\n },\n {\n id: '4',\n primary: 'Ask for transfer',\n items: [\n {\n id: '4-1',\n primary: 'Agent not available'\n },\n {\n id: '4-2',\n primary: 'Agent not available - call back'\n },\n {\n id: '4-3',\n primary: 'Agent not available - stall'\n }\n ]\n }\n];\n\nexport const phrasesMessages = [\n {\n id: '1-1',\n message: 'Ms. Ginger ventura your account balance is $5226.32'\n },\n {\n id: '2-1',\n message: 'My pleasure! Is there anything else I can do for you today?'\n },\n {\n id: '2-2',\n message: 'You are welcome!'\n },\n {\n id: '3-1',\n message:\n \"Ms.Ventura. We do not respond to that kind of language. I'm doing my best to help you. Please be civil.\"\n },\n {\n id: '3-2',\n message: 'Thanks for your patience. I am working on your request. I will be with you shortly.'\n },\n {\n id: '4-1',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n },\n {\n id: '4-2',\n message:\n \"The agent I was looking to transfer you to isn't available. Would it be possible for us to call you when a specialist is available?\"\n },\n {\n id: '4-3',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n }\n];\n\nexport const pagePushList = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'You may also reach us via',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Online Portal',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Contact center',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n }\n];\n\nexport const contextItems: FieldValueListProps['fields'] = [\n {\n id: 'Location',\n name: 'Location',\n value: 'New York, NY',\n variant: 'inline'\n },\n {\n id: 'Initiated from',\n name: 'Initiated from',\n value: 'Uplus.com/Products',\n variant: 'inline'\n },\n {\n id: 'Shopping cart',\n name: 'Shopping cart',\n value: '$155.25',\n variant: 'inline'\n },\n {\n id: 'Items in shopping cart',\n name: 'Items in shopping cart',\n value: 'Product name 01, Product name 02',\n variant: 'inline'\n }\n];\n"]}
|
|
1
|
+
{"version":3,"file":"Chat.mocks.js","sourceRoot":"","sources":["../../../src/social/Chat/Chat.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAQpD,MAAM,CAAC,MAAM,eAAe,GAA8B;IACxD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,6CAA6C;QACtD,SAAS,EAAE,SAAS;KACrB;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,IAAI;QACf,UAAU,EAAE;YACV,IAAI,EAAE,gBAAgB;SACvB;QACD,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,qDAAqD;KAC/D;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,wBAAwB;KAClC;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,mBAAmB;KAC7B;IACD;QACE,EAAE,EAAE,SAAS,EAAE;QACf,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,iEAAiE;QAC1E,SAAS,EAAE,SAAS;KACrB;IACD;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;KAClB;IACD;QACE,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,QAAQ;KAClB;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,kCAAkC;QACzC,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC","sourcesContent":["import { createUID } from '@pega/cosmos-react-core';\nimport type { FieldValueListProps, FileUploadItemProps, MenuProps } from '@pega/cosmos-react-core';\nimport type {\n ChatBodyListItemProps,\n ChatBodyProps,\n SuggestedReply\n} from '@pega/cosmos-react-social';\n\nexport const BotConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n timestamp: '1:44 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:45 PM',\n senderId: 'gingerVentura',\n message: 'Hi, I would like to know the validity of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'You have two policies.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: '1457589, 1473284.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n message: 'Which among these policies do you want to know the validity of?',\n timestamp: '1:45 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:47 PM',\n senderId: 'gingerVentura',\n message: 'Please give me validity of policy with number 1457589.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:48 PM',\n message: 'Policy with number 1457589 is expiring on 12th December, 2023.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:49 PM',\n message: 'Is there anything else that you need help with?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:51 PM',\n senderId: 'gingerVentura',\n message: 'Yes, I would like to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'bot',\n direction: 'in',\n senderId: 'bot1',\n timestamp: '1:52 PM',\n message: 'Sure, I am transferring this chat to the concerned department.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:52 PM',\n message: 'Chat routed to a live agent.'\n }\n];\n\nexport const ClaimsAgentConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:54 PM',\n message: 'John Brown joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Hi Ginger Ventura, I see that you want to know about the claims process.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Please go to link to get detailed information about claims process.',\n timestamp: '1:55 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'UPlus - Claims process'\n }\n ]\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:56 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message:\n 'Hi Ginger Ventura, I am the supervisor. You may also contact the nearest branch for a physical copy of the claims process.',\n timestamp: '1:57 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:57 PM',\n senderId: 'gingerVentura',\n message:\n 'Thanks for the information. I would also like to update the mobile number of my policy.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'John Brown'\n },\n senderId: 'agent1',\n message: 'Sure, I need to transfer you to a specialist to get you the needed help.',\n timestamp: '1:58 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '1:58 PM',\n senderId: 'gingerVentura',\n message: 'Okay.'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '1:59 PM',\n message: 'Transfer request initiated'\n }\n];\nexport const LiveChatConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:01 PM',\n message: 'Edward Green joined the conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Hi Ginger Ventura, Please provide your phone number that needs to be updated.',\n timestamp: '2:02PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:03 PM',\n senderId: 'gingerVentura',\n message: 'Please update the policy with 9812764132.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Your mobile number is updated successfully.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'This number will be used for all communcation regarding your policy',\n timestamp: '2:05 PM',\n status: 'delivered'\n },\n {\n id: createUID(),\n type: 'system',\n timestamp: '2:04 PM',\n message: 'Vernon Lee joined this conversation'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Please download the updated policy',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n },\n {\n id: createUID(),\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB'\n }\n ],\n timestamp: '2:05 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:06 PM',\n senderId: 'gingerVentura',\n message: 'Thank you'\n }\n];\n\nexport const SimulatedConversation: ChatBodyProps['liveChat'] = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You are welcome, Is there anything else you need help with?',\n timestamp: '2:07 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n timestamp: '2:09 PM',\n senderId: 'gingerVentura',\n message: 'Can you please let me know the information about the newly launched policies?'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'We have new plans in term insurance and health insurance.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Do you want me to share the information on both?',\n timestamp: '2:10 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Yes, please.'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'I am also interested in knowing endowment plans as well.',\n timestamp: '2:11 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Okay, Let me find the relevant information for you.',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'We have a newly launched pension plan as well. Would you be interested in it?',\n timestamp: '2:12 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message:\n 'I am not looking for a pension plan at the moment. However, share the details of this plan also.',\n timestamp: '2:13 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Sure, I share the details in a moment.',\n timestamp: '2:14 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'You can find details of the term insurance in this link',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-promo-1.jpg',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Health insurance details can be found here',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/insurance/offer.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/insurance/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'in',\n avatarInfo: {\n name: 'Vernon Lee'\n },\n senderId: 'agent2',\n message: 'Visit this link for details on pension plan',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://pegasystems.github.io/uplus-wss/retail_bank/index.html',\n thumbnail: 'https://pegasystems.github.io/uplus-wss/retail_bank/img/offer-main.jpg',\n title: 'Ask the expert'\n }\n ],\n timestamp: '2:15 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n senderId: 'agent3',\n message: 'Here are the details of endowment plans',\n attachments: [\n {\n id: createUID(),\n name: 'Policy',\n icon: 'document-pdf',\n meta: 'PDF 1.2 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg'\n }\n ],\n timestamp: '2:16 PM'\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'customer',\n direction: 'in',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n senderId: 'gingerVentura',\n message: 'Great, Thank you',\n timestamp: '2:17 PM'\n },\n {\n id: createUID(),\n type: 'system',\n message: 'Customer left this conversation',\n timestamp: '2:19 PM'\n }\n];\n\nexport const ChatMockData: {\n chatMessages: ChatBodyListItemProps[];\n defaultAttachments: FileUploadItemProps[];\n suggestedReplies: SuggestedReply[];\n} = {\n chatMessages: SimulatedConversation,\n defaultAttachments: [\n {\n name: 'Policy.doc',\n progress: 100,\n onDelete: () => {}\n },\n {\n name: 'E-Ticket',\n onDelete: () => {}\n }\n ],\n suggestedReplies: [\n {\n id: 'suggested_reply_4',\n message: 'Thanks for contacting our support team',\n type: 'dialogue'\n }\n ]\n};\n\nexport const phrasesDisplayNames: MenuProps['items'] = [\n {\n id: '1',\n primary: 'Account',\n items: [\n {\n id: '1-1',\n primary: 'Account balance'\n }\n ]\n },\n {\n id: '2',\n primary: 'Agreement',\n items: [\n {\n id: '2-1',\n primary: 'End of a case/interaction'\n },\n {\n id: '2-2',\n primary: 'Mid interaction'\n }\n ]\n },\n {\n id: '3',\n primary: 'Apologize',\n items: [\n {\n id: '3-1',\n primary: 'Apologize - ask customer to'\n },\n {\n id: '3-2',\n primary: 'Thanks for patience'\n }\n ]\n },\n {\n id: '4',\n primary: 'Ask for transfer',\n items: [\n {\n id: '4-1',\n primary: 'Agent not available'\n },\n {\n id: '4-2',\n primary: 'Agent not available - call back'\n },\n {\n id: '4-3',\n primary: 'Agent not available - stall'\n }\n ]\n }\n];\n\nexport const phrasesMessages = [\n {\n id: '1-1',\n message: 'Ms. Ginger ventura your account balance is $5226.32'\n },\n {\n id: '2-1',\n message: 'My pleasure! Is there anything else I can do for you today?'\n },\n {\n id: '2-2',\n message: 'You are welcome!'\n },\n {\n id: '3-1',\n message:\n \"Ms.Ventura. We do not respond to that kind of language. I'm doing my best to help you. Please be civil.\"\n },\n {\n id: '3-2',\n message: 'Thanks for your patience. I am working on your request. I will be with you shortly.'\n },\n {\n id: '4-1',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n },\n {\n id: '4-2',\n message:\n \"The agent I was looking to transfer you to isn't available. Would it be possible for us to call you when a specialist is available?\"\n },\n {\n id: '4-3',\n message:\n 'It looks like the agent we were looking to transfer you to will not be available. One moment please while I see whether someone else can assist.'\n }\n];\n\nexport const pagePushList = [\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'You may also reach us via',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Online Portal',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n },\n {\n id: createUID(),\n type: 'message',\n senderType: 'agent',\n senderId: 'agent3',\n direction: 'out',\n avatarInfo: {\n name: 'Edward green'\n },\n message: 'Contact center',\n timestamp: '1:45 PM',\n mediaPageLinks: [\n {\n id: createUID(),\n href: 'https://collaborate.pega.com/',\n title: 'Ask the expert'\n }\n ]\n }\n];\n\nexport const contextItems: FieldValueListProps['fields'] = [\n {\n id: 'Location',\n name: 'Location',\n value: 'New York, NY',\n variant: 'inline'\n },\n {\n id: 'Initiated from',\n name: 'Initiated from',\n value: 'Uplus.com/Products',\n variant: 'inline'\n },\n {\n id: 'Shopping cart',\n name: 'Shopping cart',\n value: '$155.25',\n variant: 'inline'\n },\n {\n id: 'Items in shopping cart',\n name: 'Items in shopping cart',\n value: 'Product name 01, Product name 02',\n variant: 'inline'\n }\n];\n"]}
|
|
@@ -35,12 +35,14 @@ interface SuggestedReplyPickerDemoProps {
|
|
|
35
35
|
showNotification?: boolean;
|
|
36
36
|
singleSuggestedReply?: boolean;
|
|
37
37
|
noSuggestedReplies?: boolean;
|
|
38
|
+
disableButton?: boolean;
|
|
38
39
|
}
|
|
39
40
|
export declare const SuggestedReplyPickerDemo: StoryFn<SuggestedReplyPickerDemoProps>;
|
|
40
41
|
/** *************************** SuggestedReplyPicker component - END ****************** */
|
|
41
42
|
/** ******************************* ChatComposer component - START ************************ */
|
|
42
43
|
interface ChatComposerDemoProps {
|
|
43
44
|
maxAttachments?: number;
|
|
45
|
+
showSuggestReplyButton?: boolean;
|
|
44
46
|
}
|
|
45
47
|
export declare const ChatComposerDemo: StoryFn<ChatComposerDemoProps>;
|
|
46
48
|
/** *********************************** ChatComposer component - END ********************** */
|
|
@@ -59,6 +61,8 @@ interface StandardChatProps {
|
|
|
59
61
|
maxLength?: number;
|
|
60
62
|
loading?: boolean;
|
|
61
63
|
typingIndicator?: boolean;
|
|
64
|
+
showAttachments?: boolean;
|
|
65
|
+
genAIErrorState?: string;
|
|
62
66
|
}
|
|
63
67
|
export declare const StandardChat: StoryFn<StandardChatProps>;
|
|
64
68
|
/** *************************** Standard Chat component - END ************************ */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA6BtD,OAAO,KAAK,EAIV,UAAU,EACX,MAAM,yBAAyB,CAAC;AAiBjC,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EAIZ,kBAAkB,EAKlB,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;;AAcnC,wBAGU;AAEV,mFAAmF;AACnF,UAAU,mBACR,SAAQ,UAAU,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;CAAG;AAE7E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,mBAAmB,CAiCvD,CAAC;AAeF,mFAAmF;AAEnF,qFAAqF;AAErF,UAAU,gBAAiB,SAAQ,UAAU,CAAC,YAAY,EAAE,UAAU,GAAG,eAAe,CAAC;IACvF,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,kBAAkB,CAAC,MAAM,CAAC,CA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AAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAmkBnD,CAAC;AA0CF,yFAAyF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { action } from '@storybook/addon-actions';
|
|
4
|
-
import { Button, Icon, registerIcon, Text, MenuButton, Flex, Popover, Link, EmojiContext, createUID, useOuterEvent, Select, Option, useElement, useModalManager, useModalContext, Modal, SummaryItem, useToaster, SearchInput, menuHelpers, VisuallyHiddenText, Menu, useEscape } from '@pega/cosmos-react-core';
|
|
4
|
+
import { Button, Icon, registerIcon, Text, MenuButton, Flex, Popover, Link, EmojiContext, createUID, useOuterEvent, Select, Option, useElement, useModalManager, useModalContext, Modal, SummaryItem, useToaster, SearchInput, menuHelpers, VisuallyHiddenText, Menu, useEscape, usePrevious } from '@pega/cosmos-react-core';
|
|
5
5
|
import * as arrowMicroDownIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/arrow-micro-down.icon';
|
|
6
6
|
import * as replyIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply.icon';
|
|
7
7
|
import * as replyAllIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply-all.icon';
|
|
8
8
|
import * as forwardIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/forward.icon';
|
|
9
|
-
import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator } from '@pega/cosmos-react-social';
|
|
10
|
-
import { ChatMockData, phrasesDisplayNames, phrasesMessages,
|
|
9
|
+
import { Chat, ChatHeader, ChatComposer, Message, NewMessageSeparatorId, SuggestedReplyPicker, SystemMessage, TypeIndicator, isReplyErrorState, isReplyLoadingState } from '@pega/cosmos-react-social';
|
|
10
|
+
import { ChatMockData, phrasesDisplayNames, phrasesMessages, contextItems as contextItemsMock, BotConversation, ClaimsAgentConversation, LiveChatConversation } from './Chat.mocks';
|
|
11
11
|
registerIcon(forwardIcon, replyIcon, replyAllIcon, arrowMicroDownIcon);
|
|
12
12
|
export default {
|
|
13
13
|
title: 'Social/Chat',
|
|
@@ -162,27 +162,32 @@ export const SuggestedReplyPickerDemo = (args) => {
|
|
|
162
162
|
? [ChatMockData.suggestedReplies[0]]
|
|
163
163
|
: ChatMockData.suggestedReplies;
|
|
164
164
|
return (_jsx(SuggestedReplyPicker, { replies: args.noSuggestedReplies ? [] : renderReplies, onSelect: suggestedReply => {
|
|
165
|
-
|
|
165
|
+
if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
|
|
166
|
+
action(`Suggested reply picked ${suggestedReply.message}`)();
|
|
166
167
|
}, collapsed: suggestedRepliesCollapsed, onExpandCollapse: () => {
|
|
167
168
|
setSuggestedRepliesCollapsed(prev => !prev);
|
|
168
|
-
}, currentReplyId: currentReplyId, onReplyChange: setCurrentReplyId, showNotification: args.showNotification, onSend: () => action('Send suggested reply') }));
|
|
169
|
+
}, currentReplyId: currentReplyId, onReplyChange: setCurrentReplyId, showNotification: args.showNotification, onSend: () => action('Send suggested reply'), disabled: args.disableButton }));
|
|
169
170
|
};
|
|
170
171
|
SuggestedReplyPickerDemo.args = {
|
|
171
172
|
showNotification: false,
|
|
172
173
|
singleSuggestedReply: false,
|
|
173
|
-
noSuggestedReplies: false
|
|
174
|
+
noSuggestedReplies: false,
|
|
175
|
+
disableButton: false
|
|
174
176
|
};
|
|
175
177
|
SuggestedReplyPickerDemo.argTypes = {
|
|
176
178
|
showNotification: { type: 'boolean' },
|
|
177
179
|
singleSuggestedReply: { type: 'boolean' },
|
|
178
|
-
noSuggestedReplies: { type: 'boolean' }
|
|
180
|
+
noSuggestedReplies: { type: 'boolean' },
|
|
181
|
+
disableButton: { type: 'boolean' }
|
|
179
182
|
};
|
|
180
|
-
export const ChatComposerDemo = (args) => (_jsxs(ChatComposer, { maxAttachments: args.maxAttachments, attachments: ChatMockData.defaultAttachments, maxLength: 256, placeholder: 'Type here to send message', onSend: () => { }, children: [_jsx(MenuButton, { text: 'Phrases', menu: { items: [] } }), _jsx(MenuButton, { text: 'Page Push', menu: { items: [] } })] }));
|
|
183
|
+
export const ChatComposerDemo = (args) => (_jsxs(ChatComposer, { maxAttachments: args.maxAttachments, attachments: ChatMockData.defaultAttachments, maxLength: 256, placeholder: 'Type here to send message', onSend: () => { }, onSuggestReplyClick: args.showSuggestReplyButton ? action('Suggest reply clicked') : undefined, children: [_jsx(MenuButton, { text: 'Phrases', menu: { items: [] } }), _jsx(MenuButton, { text: 'Page Push', menu: { items: [] } })] }));
|
|
181
184
|
ChatComposerDemo.args = {
|
|
182
|
-
maxAttachments: 2
|
|
185
|
+
maxAttachments: 2,
|
|
186
|
+
showSuggestReplyButton: false
|
|
183
187
|
};
|
|
184
188
|
ChatComposerDemo.argTypes = {
|
|
185
|
-
maxAttachments: { control: { type: 'number' } }
|
|
189
|
+
maxAttachments: { control: { type: 'number' } },
|
|
190
|
+
showSuggestReplyButton: { control: { type: 'boolean' } }
|
|
186
191
|
};
|
|
187
192
|
export const StandardChat = (args) => {
|
|
188
193
|
const ChatMockDataClone = useMemo(() => {
|
|
@@ -283,6 +288,7 @@ export const StandardChat = (args) => {
|
|
|
283
288
|
const [contextItems, setContextItems] = useState([]);
|
|
284
289
|
const [contextLoading, setContextLoading] = useState(false);
|
|
285
290
|
const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState(false);
|
|
291
|
+
const [disableSuggestReply, setDisableSuggestReply] = useState(false);
|
|
286
292
|
const onDeleteAttachment = useCallback((name) => {
|
|
287
293
|
setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));
|
|
288
294
|
}, [setAttachments]);
|
|
@@ -294,6 +300,17 @@ export const StandardChat = (args) => {
|
|
|
294
300
|
};
|
|
295
301
|
}));
|
|
296
302
|
}, [defaultAttachments]);
|
|
303
|
+
const prevState = usePrevious(chatMessages);
|
|
304
|
+
useEffect(() => {
|
|
305
|
+
if (chatMessages &&
|
|
306
|
+
prevState &&
|
|
307
|
+
chatMessages.filter(({ senderType }) => senderType === 'customer').length >
|
|
308
|
+
prevState.filter(({ senderType }) => senderType === 'customer').length)
|
|
309
|
+
setDisableSuggestReply(false);
|
|
310
|
+
}, [chatMessages]);
|
|
311
|
+
useEffect(() => {
|
|
312
|
+
setDisableSuggestReply(false);
|
|
313
|
+
}, [args.genAIErrorState]);
|
|
297
314
|
const appendMessage = (message) => {
|
|
298
315
|
const incrementUnreadMessageCount = conversationRef.current?.isScrolledToLatest();
|
|
299
316
|
setChatMessages(prevChatMessages => {
|
|
@@ -420,6 +437,7 @@ export const StandardChat = (args) => {
|
|
|
420
437
|
const [buttonEl, setButtonEl] = useElement(null);
|
|
421
438
|
const [popoverEl, setPopoverEl] = useElement(null);
|
|
422
439
|
const [currentReply, setCurrentReply] = useState(suggestedReplies?.[0]?.id || '');
|
|
440
|
+
const [replies, setReplies] = useState(suggestedReplies);
|
|
423
441
|
useOuterEvent('mousedown', [popoverEl, buttonEl], () => {
|
|
424
442
|
setIsOpen(false);
|
|
425
443
|
setSearch('');
|
|
@@ -427,41 +445,20 @@ export const StandardChat = (args) => {
|
|
|
427
445
|
useEscape(() => {
|
|
428
446
|
setIsOpen(false);
|
|
429
447
|
});
|
|
430
|
-
const pagePushItemsRender = useMemo(() => {
|
|
431
|
-
return pagePushList.map(item => {
|
|
432
|
-
return { id: item.id, primary: item.message };
|
|
433
|
-
});
|
|
434
|
-
}, [pagePushList]);
|
|
435
448
|
const composerChildren = (_jsxs(_Fragment, { children: [_jsx(Button, { ref: setButtonEl, onClick: () => setIsOpen(cur => !cur), variant: 'secondary', disabled: args.disableChat, children: _jsxs(Flex, { container: { alignItems: 'center', gap: 1 }, children: [_jsx(Text, { children: "Phrases" }), _jsx(Icon, { name: 'arrow-micro-down' })] }) }), _jsx(Popover, { show: isOpen, ref: setPopoverEl, target: buttonEl, children: _jsx(Menu, { id: menuID, listId: menuListID, mode: 'action', variant: 'flyout', items: itemsToRender, role: 'listbox', onItemClick: id => {
|
|
436
449
|
insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);
|
|
437
450
|
setAnnouncement('Phrase inserted');
|
|
438
451
|
setIsOpen(false);
|
|
439
452
|
setSearch('');
|
|
440
|
-
}, accent: search ? searchRegex : undefined, focusControlEl: searchEleRef.current || undefined, footer: _jsx(SearchInput, { ref: searchEleRef, onSearchChange: setSearch, value: search, role: 'searchbox', searchInputAriaLabel: 'Start typing to search.' }) }) })
|
|
441
|
-
id: menuID,
|
|
442
|
-
listId: menuListID,
|
|
443
|
-
mode: 'action',
|
|
444
|
-
variant: 'flyout',
|
|
445
|
-
items: pagePushItemsRender,
|
|
446
|
-
role: 'listbox',
|
|
447
|
-
onItemClick: id => {
|
|
448
|
-
setAnnouncement('Link inserted');
|
|
449
|
-
setChatMessages(prevChatMessages => [
|
|
450
|
-
...prevChatMessages,
|
|
451
|
-
pagePushList.filter(item => item.id === id)[0]
|
|
452
|
-
]);
|
|
453
|
-
}
|
|
454
|
-
} }), _jsx(Popover, { show: mountPopover, target: chatComposerImperativeHandleRef?.current?.textAreaRef?.current, placement: 'top-start', children: _jsx(Menu, { scrollAt: 20, items: itemsToRender, onItemClick: id => {
|
|
455
|
-
insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);
|
|
456
|
-
setAnnouncement('Phrase inserted');
|
|
457
|
-
}, focusControlEl: chatComposerImperativeHandleRef?.current?.textAreaRef?.current }) })] }));
|
|
453
|
+
}, accent: search ? searchRegex : undefined, focusControlEl: searchEleRef.current || undefined, footer: _jsx(SearchInput, { ref: searchEleRef, onSearchChange: setSearch, value: search, role: 'searchbox', searchInputAriaLabel: 'Start typing to search.' }) }) })] }));
|
|
458
454
|
const composerProps = {
|
|
459
455
|
ref: chatComposerImperativeHandleRef,
|
|
460
456
|
maxAttachments: args.maxAttachments,
|
|
461
|
-
attachments,
|
|
457
|
+
attachments: args.showAttachments ? attachments : [],
|
|
462
458
|
specialKeysConfig,
|
|
463
459
|
showEmoji: true,
|
|
464
460
|
disabled: args.disableChat,
|
|
461
|
+
disableSuggestReply,
|
|
465
462
|
onAddAttachment: () => {
|
|
466
463
|
setAttachments([
|
|
467
464
|
...attachments,
|
|
@@ -488,12 +485,71 @@ export const StandardChat = (args) => {
|
|
|
488
485
|
timeStamp: '2:08'
|
|
489
486
|
});
|
|
490
487
|
},
|
|
488
|
+
onSuggestReplyClick: () => {
|
|
489
|
+
const newReplyId = 'genAI';
|
|
490
|
+
setDisableSuggestReply(true);
|
|
491
|
+
setSuggestedRepliesCollapsed(false);
|
|
492
|
+
setCurrentReply(newReplyId);
|
|
493
|
+
setReplies(prev => {
|
|
494
|
+
return [
|
|
495
|
+
{
|
|
496
|
+
id: newReplyId,
|
|
497
|
+
loading: true,
|
|
498
|
+
type: 'genAIReply'
|
|
499
|
+
},
|
|
500
|
+
...prev.filter(reply => reply.type !== 'genAIReply')
|
|
501
|
+
];
|
|
502
|
+
});
|
|
503
|
+
setTimeout(() => {
|
|
504
|
+
if (args.genAIErrorState === 'No suggestions') {
|
|
505
|
+
setReplies(prev => {
|
|
506
|
+
return [
|
|
507
|
+
{
|
|
508
|
+
id: newReplyId,
|
|
509
|
+
message: 'No suggestions',
|
|
510
|
+
errorType: 'noSuggestions',
|
|
511
|
+
type: 'genAIReply'
|
|
512
|
+
},
|
|
513
|
+
...prev.filter(reply => reply.type !== 'genAIReply')
|
|
514
|
+
];
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
else if (args.genAIErrorState === 'Error') {
|
|
518
|
+
setReplies(prev => {
|
|
519
|
+
return [
|
|
520
|
+
{
|
|
521
|
+
id: newReplyId,
|
|
522
|
+
message: 'Failed to retrieve the data',
|
|
523
|
+
errorType: 'error',
|
|
524
|
+
type: 'genAIReply'
|
|
525
|
+
},
|
|
526
|
+
...prev.filter(reply => reply.type !== 'genAIReply')
|
|
527
|
+
];
|
|
528
|
+
});
|
|
529
|
+
setDisableSuggestReply(false);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
setReplies(prev => {
|
|
533
|
+
return [
|
|
534
|
+
{
|
|
535
|
+
id: newReplyId,
|
|
536
|
+
message: 'Happy to help. Is there anything else I can help with?',
|
|
537
|
+
confidence: 75,
|
|
538
|
+
type: 'genAIReply'
|
|
539
|
+
},
|
|
540
|
+
...prev.filter(reply => reply.type !== 'genAIReply')
|
|
541
|
+
];
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
}, 1000);
|
|
545
|
+
},
|
|
491
546
|
children: composerChildren
|
|
492
547
|
};
|
|
493
548
|
const suggestedReplyPickerProps = {
|
|
494
|
-
replies
|
|
549
|
+
replies,
|
|
495
550
|
onSelect: (suggestedReply) => {
|
|
496
|
-
|
|
551
|
+
if (!isReplyErrorState(suggestedReply) && !isReplyLoadingState(suggestedReply))
|
|
552
|
+
chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');
|
|
497
553
|
},
|
|
498
554
|
collapsed: suggestedRepliesCollapsed,
|
|
499
555
|
onExpandCollapse: () => {
|
|
@@ -562,10 +618,13 @@ StandardChat.args = {
|
|
|
562
618
|
placeholder: 'Enter message',
|
|
563
619
|
defaultMessage: 'Greetings! Hope you are having a great time, Please reach out to us for any help, Thanks!',
|
|
564
620
|
maxLength: 280,
|
|
565
|
-
loading: false
|
|
621
|
+
loading: false,
|
|
622
|
+
showAttachments: true,
|
|
623
|
+
genAIErrorState: 'No error'
|
|
566
624
|
};
|
|
567
625
|
StandardChat.argTypes = {
|
|
568
626
|
maxAttachments: { control: { type: 'number' } },
|
|
627
|
+
showAttachments: { control: { type: 'boolean' } },
|
|
569
628
|
selectedChannel: { options: ['LiveChat', 'Twitter', 'Facebook'], control: { type: 'select' } },
|
|
570
629
|
showChatBanner: { control: { type: 'boolean' } },
|
|
571
630
|
disableChat: { control: { type: 'boolean' } },
|
|
@@ -575,7 +634,11 @@ StandardChat.argTypes = {
|
|
|
575
634
|
placeholder: { control: { type: 'text' } },
|
|
576
635
|
defaultMessage: { control: { type: 'text' } },
|
|
577
636
|
maxLength: { control: { type: 'number' } },
|
|
578
|
-
loading: { control: { type: 'boolean' } }
|
|
637
|
+
loading: { control: { type: 'boolean' } },
|
|
638
|
+
genAIErrorState: {
|
|
639
|
+
options: ['No error', 'No suggestions', 'Error'],
|
|
640
|
+
control: { type: 'select' }
|
|
641
|
+
}
|
|
579
642
|
};
|
|
580
643
|
StandardChat.parameters = {
|
|
581
644
|
layout: 'fullscreen'
|